@chris-c-brine/form-dialog 1.0.6 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,50 @@
1
1
  import { ReactNode } from "react";
2
- import { FormDialogActionsProps } from "../components";
3
- import { GridProps } from "@mui/material";
4
- type ApplyDefaultFormDialogPropsProps = Pick<FormDialogActionsProps, "resetProps" | "submitProps" | "variant"> & Partial<Pick<FormDialogActionsProps, "cancelProps">> & {
5
- gridProps?: GridProps;
6
- };
2
+ import { ApplyDefaultFormDialogPropsProps } from "../types";
7
3
  export declare function applyDefaultFormDialogProps({ resetProps, submitProps, gridProps, cancelProps, variant }: ApplyDefaultFormDialogPropsProps): {
8
4
  resetButtonProps: {
9
- title?: string | undefined | undefined;
5
+ className?: string | undefined;
6
+ style?: React.CSSProperties | undefined;
10
7
  classes?: (Partial<import("@mui/material").ButtonClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
8
+ action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
9
+ centerRipple?: boolean | undefined;
11
10
  children?: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
12
- className?: string | undefined;
13
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
11
+ disableRipple?: boolean | undefined;
12
+ disableTouchRipple?: boolean | undefined;
13
+ focusRipple?: boolean | undefined;
14
+ focusVisibleClassName?: string | undefined;
15
+ LinkComponent?: React.ElementType | undefined;
16
+ onFocusVisible?: React.FocusEventHandler<any> | undefined;
17
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
18
+ tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]> | undefined;
19
+ TouchRippleProps?: Partial<import("@mui/material").TouchRippleProps> | undefined;
20
+ touchRippleRef?: React.Ref<import("@mui/material").TouchRippleActions> | undefined;
21
+ color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
22
+ content?: string | undefined | undefined;
23
+ translate?: "yes" | "no" | undefined | undefined;
24
+ disableElevation?: boolean | undefined;
25
+ disableFocusRipple?: boolean | undefined;
26
+ endIcon?: ReactNode;
27
+ fullWidth?: boolean | undefined;
28
+ href?: string | undefined;
29
+ loading?: boolean | null | undefined;
30
+ loadingIndicator?: ReactNode;
31
+ loadingPosition?: "start" | "end" | "center" | undefined;
32
+ size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
33
+ startIcon?: ReactNode;
34
+ variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
14
35
  form?: string | undefined | undefined;
15
36
  slot?: string | undefined | undefined;
16
- style?: React.CSSProperties | undefined;
37
+ title?: string | undefined | undefined;
17
38
  ref?: import("react").Ref<HTMLButtonElement> | undefined;
18
39
  key?: import("react").Key | null | undefined;
40
+ formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
41
+ formEncType?: string | undefined | undefined;
42
+ formMethod?: string | undefined | undefined;
43
+ formNoValidate?: boolean | undefined | undefined;
44
+ formTarget?: string | undefined | undefined;
45
+ name?: string | undefined | undefined;
46
+ type?: "submit" | "reset" | "button" | undefined | undefined;
47
+ value?: string | number | readonly string[] | undefined;
19
48
  defaultChecked?: boolean | undefined | undefined;
20
49
  defaultValue?: string | number | readonly string[] | undefined;
21
50
  suppressContentEditableWarning?: boolean | undefined | undefined;
@@ -33,12 +62,9 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
33
62
  lang?: string | undefined | undefined;
34
63
  nonce?: string | undefined | undefined;
35
64
  spellCheck?: (boolean | "false" | "true") | undefined;
36
- tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]> | undefined;
37
- translate?: "yes" | "no" | undefined | undefined;
38
65
  radioGroup?: string | undefined | undefined;
39
66
  role?: import("react").AriaRole | undefined;
40
67
  about?: string | undefined | undefined;
41
- content?: string | undefined | undefined;
42
68
  datatype?: string | undefined | undefined;
43
69
  inlist?: any;
44
70
  prefix?: string | undefined | undefined;
@@ -50,7 +76,6 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
50
76
  vocab?: string | undefined | undefined;
51
77
  autoCorrect?: string | undefined | undefined;
52
78
  autoSave?: string | undefined | undefined;
53
- color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
54
79
  itemProp?: string | undefined | undefined;
55
80
  itemScope?: boolean | undefined | undefined;
56
81
  itemType?: string | undefined | undefined;
@@ -291,35 +316,6 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
291
316
  onTransitionStart?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
292
317
  onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
293
318
  component?: React.ElementType | undefined;
294
- fullWidth?: boolean | undefined;
295
- size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
296
- variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
297
- type?: "submit" | "reset" | "button" | undefined | undefined;
298
- name?: string | undefined | undefined;
299
- value?: string | number | readonly string[] | undefined;
300
- action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
301
- centerRipple?: boolean | undefined;
302
- disableRipple?: boolean | undefined;
303
- disableTouchRipple?: boolean | undefined;
304
- focusRipple?: boolean | undefined;
305
- focusVisibleClassName?: string | undefined;
306
- LinkComponent?: React.ElementType | undefined;
307
- onFocusVisible?: React.FocusEventHandler<any> | undefined;
308
- TouchRippleProps?: Partial<import("@mui/material").TouchRippleProps> | undefined;
309
- touchRippleRef?: React.Ref<import("@mui/material").TouchRippleActions> | undefined;
310
- href?: string | undefined;
311
- disableFocusRipple?: boolean | undefined;
312
- loading?: boolean | null | undefined;
313
- loadingIndicator?: ReactNode;
314
- formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
315
- formEncType?: string | undefined | undefined;
316
- formMethod?: string | undefined | undefined;
317
- formNoValidate?: boolean | undefined | undefined;
318
- formTarget?: string | undefined | undefined;
319
- disableElevation?: boolean | undefined;
320
- endIcon?: ReactNode;
321
- loadingPosition?: "start" | "end" | "center" | undefined;
322
- startIcon?: ReactNode;
323
319
  keepCount: boolean;
324
320
  formKey?: string | undefined;
325
321
  };
@@ -378,11 +374,8 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
378
374
  xl?: import("@mui/material").GridSpacing | null | undefined;
379
375
  }) | undefined;
380
376
  wrap?: import("@mui/material").GridWrap;
381
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
382
- p?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.Padding<string | number> | readonly NonNullable<import("csstype").Property.Padding<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.Padding<string | number> | readonly NonNullable<import("csstype").Property.Padding<string | number> | undefined>[] | undefined>);
383
- color?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<readonly string[] | import("csstype").Property.Color | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<readonly string[] | import("csstype").Property.Color | undefined>);
384
- maxWidth?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MaxWidth<string | number> | readonly NonNullable<import("csstype").Property.MaxWidth<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MaxWidth<string | number> | readonly NonNullable<import("csstype").Property.MaxWidth<string | number> | undefined>[] | undefined>);
385
- border?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<number | "hidden" | (string & {}) | "inset" | "black" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "none" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "transparent" | "turquoise" | "violet" | "wheat" | "white" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "dashed" | "dotted" | "double" | "groove" | "outset" | "ridge" | "solid" | "medium" | "thick" | "thin" | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<number | "hidden" | (string & {}) | "inset" | "black" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "none" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "transparent" | "turquoise" | "violet" | "wheat" | "white" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "dashed" | "dotted" | "double" | "groove" | "outset" | "ridge" | "solid" | "medium" | "thick" | "thin" | undefined>);
377
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
378
+ border?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<number | (string & {}) | "inset" | "hidden" | "black" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "transparent" | "turquoise" | "violet" | "wheat" | "white" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "none" | "dashed" | "dotted" | "double" | "groove" | "outset" | "ridge" | "solid" | "medium" | "thick" | "thin" | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<number | (string & {}) | "inset" | "hidden" | "black" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "transparent" | "turquoise" | "violet" | "wheat" | "white" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "none" | "dashed" | "dotted" | "double" | "groove" | "outset" | "ridge" | "solid" | "medium" | "thick" | "thin" | undefined>);
386
379
  boxShadow?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<number | import("csstype").Property.BoxShadow | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<number | import("csstype").Property.BoxShadow | undefined>);
387
380
  fontWeight?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<string | (string & {}) | (number & {}) | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<string | (string & {}) | (number & {}) | undefined>);
388
381
  zIndex?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<string | (string & {}) | (number & {}) | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<string | (string & {}) | (number & {}) | undefined>);
@@ -391,6 +384,7 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
391
384
  alignSelf?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<readonly string[] | import("csstype").Property.AlignSelf | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<readonly string[] | import("csstype").Property.AlignSelf | undefined>);
392
385
  bottom?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.Bottom<string | number> | readonly NonNullable<import("csstype").Property.Bottom<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.Bottom<string | number> | readonly NonNullable<import("csstype").Property.Bottom<string | number> | undefined>[] | undefined>);
393
386
  boxSizing?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.BoxSizing | readonly NonNullable<import("csstype").Property.BoxSizing | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.BoxSizing | readonly NonNullable<import("csstype").Property.BoxSizing | undefined>[] | undefined>);
387
+ color?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<readonly string[] | import("csstype").Property.Color | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<readonly string[] | import("csstype").Property.Color | undefined>);
394
388
  columnGap: string | number | readonly (import("csstype").Property.ColumnGap<string | number> | readonly NonNullable<import("csstype").Property.ColumnGap<string | number> | undefined>[] | null | undefined)[] | {
395
389
  [key: string]: import("csstype").Property.ColumnGap<string | number> | readonly NonNullable<import("csstype").Property.ColumnGap<string | number> | undefined>[] | null | undefined;
396
390
  } | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.ColumnGap<string | number> | readonly NonNullable<import("csstype").Property.ColumnGap<string | number> | undefined>[] | undefined>);
@@ -427,6 +421,7 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
427
421
  marginRight?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginRight<string | number> | readonly NonNullable<import("csstype").Property.MarginRight<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginRight<string | number> | readonly NonNullable<import("csstype").Property.MarginRight<string | number> | undefined>[] | undefined>);
428
422
  marginTop?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginTop<string | number> | readonly NonNullable<import("csstype").Property.MarginTop<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginTop<string | number> | readonly NonNullable<import("csstype").Property.MarginTop<string | number> | undefined>[] | undefined>);
429
423
  maxHeight?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MaxHeight<string | number> | readonly NonNullable<import("csstype").Property.MaxHeight<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MaxHeight<string | number> | readonly NonNullable<import("csstype").Property.MaxHeight<string | number> | undefined>[] | undefined>);
424
+ maxWidth?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MaxWidth<string | number> | readonly NonNullable<import("csstype").Property.MaxWidth<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MaxWidth<string | number> | readonly NonNullable<import("csstype").Property.MaxWidth<string | number> | undefined>[] | undefined>);
430
425
  minHeight?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MinHeight<string | number> | readonly NonNullable<import("csstype").Property.MinHeight<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MinHeight<string | number> | readonly NonNullable<import("csstype").Property.MinHeight<string | number> | undefined>[] | undefined>);
431
426
  minWidth: string | number | readonly (import("csstype").Property.MinWidth<string | number> | readonly NonNullable<import("csstype").Property.MinWidth<string | number> | undefined>[] | null | undefined)[] | {
432
427
  [key: string]: import("csstype").Property.MinWidth<string | number> | readonly NonNullable<import("csstype").Property.MinWidth<string | number> | undefined>[] | null | undefined;
@@ -470,7 +465,7 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
470
465
  padding?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.Padding<string | number> | readonly NonNullable<import("csstype").Property.Padding<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.Padding<string | number> | readonly NonNullable<import("csstype").Property.Padding<string | number> | undefined>[] | undefined>);
471
466
  paddingBlock?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.PaddingBlock<string | number> | readonly NonNullable<import("csstype").Property.PaddingBlock<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.PaddingBlock<string | number> | readonly NonNullable<import("csstype").Property.PaddingBlock<string | number> | undefined>[] | undefined>);
472
467
  paddingInline?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.PaddingInline<string | number> | readonly NonNullable<import("csstype").Property.PaddingInline<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.PaddingInline<string | number> | readonly NonNullable<import("csstype").Property.PaddingInline<string | number> | undefined>[] | undefined>);
473
- bgcolor?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<readonly string[] | import("csstype").Property.BackgroundColor | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<readonly string[] | import("csstype").Property.BackgroundColor | undefined>);
468
+ bgcolor?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.BackgroundColor | readonly string[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.BackgroundColor | readonly string[] | undefined>);
474
469
  m?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.Margin<string | number> | readonly NonNullable<import("csstype").Property.Margin<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.Margin<string | number> | readonly NonNullable<import("csstype").Property.Margin<string | number> | undefined>[] | undefined>);
475
470
  mt?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginTop<string | number> | readonly NonNullable<import("csstype").Property.MarginTop<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginTop<string | number> | readonly NonNullable<import("csstype").Property.MarginTop<string | number> | undefined>[] | undefined>);
476
471
  mr?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginRight<string | number> | readonly NonNullable<import("csstype").Property.MarginRight<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginRight<string | number> | readonly NonNullable<import("csstype").Property.MarginRight<string | number> | undefined>[] | undefined>);
@@ -480,6 +475,7 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
480
475
  marginX?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginLeft<string | number> | readonly NonNullable<import("csstype").Property.MarginLeft<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginLeft<string | number> | readonly NonNullable<import("csstype").Property.MarginLeft<string | number> | undefined>[] | undefined>);
481
476
  my?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginTop<string | number> | readonly NonNullable<import("csstype").Property.MarginTop<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginTop<string | number> | readonly NonNullable<import("csstype").Property.MarginTop<string | number> | undefined>[] | undefined>);
482
477
  marginY?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginTop<string | number> | readonly NonNullable<import("csstype").Property.MarginTop<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.MarginTop<string | number> | readonly NonNullable<import("csstype").Property.MarginTop<string | number> | undefined>[] | undefined>);
478
+ p?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.Padding<string | number> | readonly NonNullable<import("csstype").Property.Padding<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.Padding<string | number> | readonly NonNullable<import("csstype").Property.Padding<string | number> | undefined>[] | undefined>);
483
479
  pt?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.PaddingTop<string | number> | readonly NonNullable<import("csstype").Property.PaddingTop<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.PaddingTop<string | number> | readonly NonNullable<import("csstype").Property.PaddingTop<string | number> | undefined>[] | undefined>);
484
480
  pr?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.PaddingRight<string | number> | readonly NonNullable<import("csstype").Property.PaddingRight<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.PaddingRight<string | number> | readonly NonNullable<import("csstype").Property.PaddingRight<string | number> | undefined>[] | undefined>);
485
481
  pb: string | number | readonly (import("csstype").Property.PaddingBottom<string | number> | readonly NonNullable<import("csstype").Property.PaddingBottom<string | number> | undefined>[] | null | undefined)[] | {
@@ -494,10 +490,13 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
494
490
  paddingY?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.PaddingTop<string | number> | readonly NonNullable<import("csstype").Property.PaddingTop<string | number> | undefined>[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.PaddingTop<string | number> | readonly NonNullable<import("csstype").Property.PaddingTop<string | number> | undefined>[] | undefined>);
495
491
  typography?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<string | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<string | undefined>);
496
492
  displayPrint?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<readonly string[] | import("csstype").Property.Display | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<readonly string[] | import("csstype").Property.Display | undefined>);
497
- title?: string | undefined;
498
493
  className?: string | undefined;
499
- slot?: string | undefined;
500
494
  style?: import("react").CSSProperties | undefined;
495
+ tabIndex?: number | undefined;
496
+ content?: string | undefined;
497
+ translate?: "yes" | "no" | undefined;
498
+ slot?: string | undefined;
499
+ title?: string | undefined;
501
500
  ref?: import("react").Ref<HTMLDivElement> | undefined;
502
501
  key?: import("react").Key | null | undefined;
503
502
  defaultChecked?: boolean | undefined;
@@ -517,12 +516,9 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
517
516
  lang?: string | undefined;
518
517
  nonce?: string | undefined;
519
518
  spellCheck?: (boolean | "false" | "true") | undefined;
520
- tabIndex?: number | undefined;
521
- translate?: "yes" | "no" | undefined;
522
519
  radioGroup?: string | undefined;
523
520
  role?: import("react").AriaRole | undefined;
524
521
  about?: string | undefined;
525
- content?: string | undefined;
526
522
  datatype?: string | undefined;
527
523
  inlist?: any;
528
524
  prefix?: string | undefined;
@@ -776,16 +772,50 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
776
772
  onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
777
773
  };
778
774
  cancelButtonProps: {
779
- title?: string | undefined;
775
+ className?: string;
776
+ style?: React.CSSProperties;
780
777
  classes?: (Partial<import("@mui/material").ButtonClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
778
+ action?: React.Ref<import("@mui/material").ButtonBaseActions>;
779
+ centerRipple?: boolean;
781
780
  children?: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
782
- className?: string;
783
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
781
+ disabled?: boolean;
782
+ disableRipple?: boolean;
783
+ disableTouchRipple?: boolean;
784
+ focusRipple?: boolean;
785
+ focusVisibleClassName?: string;
786
+ LinkComponent?: React.ElementType;
787
+ onFocusVisible?: React.FocusEventHandler<any>;
788
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
789
+ tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]>;
790
+ TouchRippleProps?: Partial<import("@mui/material").TouchRippleProps>;
791
+ touchRippleRef?: React.Ref<import("@mui/material").TouchRippleActions>;
792
+ color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides>;
793
+ content?: string | undefined;
794
+ translate?: "yes" | "no" | undefined;
795
+ disableElevation?: boolean;
796
+ disableFocusRipple?: boolean;
797
+ endIcon?: React.ReactNode;
798
+ fullWidth?: boolean;
799
+ href?: string;
800
+ loading?: boolean | null;
801
+ loadingIndicator?: React.ReactNode;
802
+ loadingPosition?: "start" | "end" | "center";
803
+ size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides>;
804
+ startIcon?: React.ReactNode;
805
+ variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides>;
784
806
  form?: string | undefined;
785
807
  slot?: string | undefined;
786
- style?: React.CSSProperties;
808
+ title?: string | undefined;
787
809
  ref?: import("react").Ref<HTMLButtonElement> | undefined;
788
810
  key?: import("react").Key | null | undefined;
811
+ formAction?: string | ((formData: FormData) => void | Promise<void>) | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
812
+ formEncType?: string | undefined;
813
+ formMethod?: string | undefined;
814
+ formNoValidate?: boolean | undefined;
815
+ formTarget?: string | undefined;
816
+ name?: string | undefined;
817
+ type?: "submit" | "reset" | "button" | undefined;
818
+ value?: string | readonly string[] | number | undefined;
789
819
  defaultChecked?: boolean | undefined;
790
820
  defaultValue?: string | number | readonly string[] | undefined;
791
821
  suppressContentEditableWarning?: boolean | undefined;
@@ -803,12 +833,9 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
803
833
  lang?: string | undefined;
804
834
  nonce?: string | undefined;
805
835
  spellCheck?: (boolean | "false" | "true") | undefined;
806
- tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]>;
807
- translate?: "yes" | "no" | undefined;
808
836
  radioGroup?: string | undefined;
809
837
  role?: import("react").AriaRole | undefined;
810
838
  about?: string | undefined;
811
- content?: string | undefined;
812
839
  datatype?: string | undefined;
813
840
  inlist?: any;
814
841
  prefix?: string | undefined;
@@ -820,7 +847,6 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
820
847
  vocab?: string | undefined;
821
848
  autoCorrect?: string | undefined;
822
849
  autoSave?: string | undefined;
823
- color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides>;
824
850
  itemProp?: string | undefined;
825
851
  itemScope?: boolean | undefined;
826
852
  itemType?: string | undefined;
@@ -1061,49 +1087,53 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
1061
1087
  onTransitionStart?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
1062
1088
  onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
1063
1089
  component?: React.ElementType;
1064
- fullWidth?: boolean;
1065
- size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides>;
1066
- disabled?: boolean;
1067
- variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides>;
1068
- type?: "submit" | "reset" | "button" | undefined;
1069
- name?: string | undefined;
1070
- value?: string | readonly string[] | number | undefined;
1090
+ keepCount?: boolean;
1091
+ };
1092
+ submitButtonProps: {
1093
+ className?: string;
1094
+ style?: React.CSSProperties;
1095
+ classes?: (Partial<import("@mui/material").ButtonClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
1071
1096
  action?: React.Ref<import("@mui/material").ButtonBaseActions>;
1072
1097
  centerRipple?: boolean;
1098
+ children?: React.ReactNode;
1099
+ disabled?: boolean;
1073
1100
  disableRipple?: boolean;
1074
1101
  disableTouchRipple?: boolean;
1075
1102
  focusRipple?: boolean;
1076
1103
  focusVisibleClassName?: string;
1077
1104
  LinkComponent?: React.ElementType;
1078
1105
  onFocusVisible?: React.FocusEventHandler<any>;
1106
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
1107
+ tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]>;
1079
1108
  TouchRippleProps?: Partial<import("@mui/material").TouchRippleProps>;
1080
1109
  touchRippleRef?: React.Ref<import("@mui/material").TouchRippleActions>;
1081
- href?: string;
1082
- disableFocusRipple?: boolean;
1083
- loading?: boolean | null;
1084
- loadingIndicator?: React.ReactNode;
1085
- formAction?: string | ((formData: FormData) => void | Promise<void>) | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
1086
- formEncType?: string | undefined;
1087
- formMethod?: string | undefined;
1088
- formNoValidate?: boolean | undefined;
1089
- formTarget?: string | undefined;
1110
+ color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides>;
1111
+ content?: string | undefined;
1112
+ translate?: "yes" | "no" | undefined;
1090
1113
  disableElevation?: boolean;
1114
+ disableFocusRipple?: boolean;
1091
1115
  endIcon?: React.ReactNode;
1116
+ fullWidth?: boolean;
1117
+ href?: string;
1118
+ loading?: boolean | undefined;
1119
+ loadingIndicator?: React.ReactNode;
1092
1120
  loadingPosition?: "start" | "end" | "center";
1121
+ size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides>;
1093
1122
  startIcon?: React.ReactNode;
1094
- keepCount?: boolean;
1095
- };
1096
- submitButtonProps: {
1097
- title?: string | undefined;
1098
- classes?: (Partial<import("@mui/material").ButtonClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
1099
- children?: React.ReactNode;
1100
- className?: string;
1101
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
1123
+ variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides>;
1102
1124
  form?: string | undefined;
1103
1125
  slot?: string | undefined;
1104
- style?: React.CSSProperties;
1126
+ title?: string | undefined;
1105
1127
  ref?: import("react").Ref<HTMLButtonElement> | undefined;
1106
1128
  key?: import("react").Key | null | undefined;
1129
+ formAction?: string | ((formData: FormData) => void | Promise<void>) | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
1130
+ formEncType?: string | undefined;
1131
+ formMethod?: string | undefined;
1132
+ formNoValidate?: boolean | undefined;
1133
+ formTarget?: string | undefined;
1134
+ name?: string | undefined;
1135
+ type?: "submit" | "reset" | "button" | undefined;
1136
+ value?: string | readonly string[] | number | undefined;
1107
1137
  defaultChecked?: boolean | undefined;
1108
1138
  defaultValue?: string | number | readonly string[] | undefined;
1109
1139
  suppressContentEditableWarning?: boolean | undefined;
@@ -1121,12 +1151,9 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
1121
1151
  lang?: string | undefined;
1122
1152
  nonce?: string | undefined;
1123
1153
  spellCheck?: (boolean | "false" | "true") | undefined;
1124
- tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]>;
1125
- translate?: "yes" | "no" | undefined;
1126
1154
  radioGroup?: string | undefined;
1127
1155
  role?: import("react").AriaRole | undefined;
1128
1156
  about?: string | undefined;
1129
- content?: string | undefined;
1130
1157
  datatype?: string | undefined;
1131
1158
  inlist?: any;
1132
1159
  prefix?: string | undefined;
@@ -1138,7 +1165,6 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
1138
1165
  vocab?: string | undefined;
1139
1166
  autoCorrect?: string | undefined;
1140
1167
  autoSave?: string | undefined;
1141
- color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning", import("@mui/material").ButtonPropsColorOverrides>;
1142
1168
  itemProp?: string | undefined;
1143
1169
  itemScope?: boolean | undefined;
1144
1170
  itemType?: string | undefined;
@@ -1379,39 +1405,8 @@ export declare function applyDefaultFormDialogProps({ resetProps, submitProps, g
1379
1405
  onTransitionStart?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
1380
1406
  onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
1381
1407
  component?: React.ElementType;
1382
- fullWidth?: boolean;
1383
- size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides>;
1384
- disabled?: boolean;
1385
- variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides>;
1386
- type?: "submit" | "reset" | "button" | undefined;
1387
- name?: string | undefined;
1388
- value?: string | readonly string[] | number | undefined;
1389
- action?: React.Ref<import("@mui/material").ButtonBaseActions>;
1390
- centerRipple?: boolean;
1391
- disableRipple?: boolean;
1392
- disableTouchRipple?: boolean;
1393
- focusRipple?: boolean;
1394
- focusVisibleClassName?: string;
1395
- LinkComponent?: React.ElementType;
1396
- onFocusVisible?: React.FocusEventHandler<any>;
1397
- TouchRippleProps?: Partial<import("@mui/material").TouchRippleProps>;
1398
- touchRippleRef?: React.Ref<import("@mui/material").TouchRippleActions>;
1399
- href?: string;
1400
- disableFocusRipple?: boolean;
1401
- loading?: boolean | undefined;
1402
- loadingIndicator?: React.ReactNode;
1403
- formAction?: string | ((formData: FormData) => void | Promise<void>) | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
1404
- formEncType?: string | undefined;
1405
- formMethod?: string | undefined;
1406
- formNoValidate?: boolean | undefined;
1407
- formTarget?: string | undefined;
1408
- disableElevation?: boolean;
1409
- endIcon?: React.ReactNode;
1410
- loadingPosition?: "start" | "end" | "center";
1411
- startIcon?: React.ReactNode;
1412
1408
  altIcon?: ReactNode;
1413
1409
  showAttempts?: boolean;
1414
1410
  maxAttempts?: number;
1415
1411
  };
1416
1412
  };
1417
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chris-c-brine/form-dialog",
3
- "version": "1.0.6",
3
+ "version": "1.1.1",
4
4
  "description": "Easy Form Dialogs with a persistable state!",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",