2023-03-30 04:01:27 +00:00
|
|
|
type DivFormEventHandler = import('react').FormEventHandler<HTMLDivElement>;
|
|
|
|
type DivFormEventHandlerParameters = Parameters<DivFormEventHandler>;
|
|
|
|
|
2022-11-12 02:47:11 +00:00
|
|
|
type ConfirmDialogOptionalProps = {
|
|
|
|
actionCancelText?: string;
|
2022-11-25 21:16:41 +00:00
|
|
|
closeOnProceed?: boolean;
|
2023-02-18 03:06:28 +00:00
|
|
|
contentContainerProps?: import('../components/FlexBox').FlexBoxProps;
|
2022-11-24 03:55:24 +00:00
|
|
|
dialogProps?: Partial<import('@mui/material').DialogProps>;
|
2023-03-25 03:11:25 +00:00
|
|
|
disableProceed?: boolean;
|
2023-02-18 03:06:28 +00:00
|
|
|
formContent?: boolean;
|
2023-03-25 00:55:52 +00:00
|
|
|
loading?: boolean;
|
2022-11-25 21:56:59 +00:00
|
|
|
loadingAction?: boolean;
|
2022-11-25 21:16:41 +00:00
|
|
|
onActionAppend?: ContainedButtonProps['onClick'];
|
2022-11-23 04:22:58 +00:00
|
|
|
onProceedAppend?: ContainedButtonProps['onClick'];
|
2022-11-12 02:47:11 +00:00
|
|
|
onCancelAppend?: ContainedButtonProps['onClick'];
|
2023-03-30 04:01:27 +00:00
|
|
|
onSubmitAppend?: DivFormEventHandler;
|
2022-11-12 02:47:11 +00:00
|
|
|
openInitially?: boolean;
|
2023-03-03 05:01:45 +00:00
|
|
|
preActionArea?: import('react').ReactNode;
|
2022-11-12 02:47:11 +00:00
|
|
|
proceedButtonProps?: ContainedButtonProps;
|
2022-11-23 04:22:58 +00:00
|
|
|
proceedColour?: 'blue' | 'red';
|
2023-02-18 04:22:01 +00:00
|
|
|
scrollContent?: boolean;
|
|
|
|
scrollBoxProps?: import('@mui/material').BoxProps;
|
2022-11-12 02:47:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
type ConfirmDialogProps = ConfirmDialogOptionalProps & {
|
|
|
|
actionProceedText: string;
|
2023-02-18 04:42:53 +00:00
|
|
|
content: import('react').ReactNode;
|
|
|
|
titleText: import('react').ReactNode;
|
2022-11-12 02:47:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
type ConfirmDialogForwardedRefContent = {
|
|
|
|
setOpen?: (value: boolean) => void;
|
|
|
|
};
|