@applica-software-guru/react-admin 1.0.46 → 1.0.47

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.
Files changed (40) hide show
  1. package/dist/AdminContext.d.ts +5 -10
  2. package/dist/AdminContext.d.ts.map +1 -1
  3. package/dist/ApplicaAdmin.d.ts +51 -17
  4. package/dist/ApplicaAdmin.d.ts.map +1 -1
  5. package/dist/components/@extended/Breadcrumbs.d.ts +1 -0
  6. package/dist/components/@extended/Breadcrumbs.d.ts.map +1 -1
  7. package/dist/components/Layout/Drawer/DrawerHeader/DrawerHeaderStyled.d.ts +1 -1
  8. package/dist/components/Notification.d.ts +2 -2
  9. package/dist/components/ra-forms/TabbedForm.d.ts +2 -2
  10. package/dist/components/ra-lists/Datagrid.d.ts +6 -6
  11. package/dist/contexts/MenuConfigContext.d.ts +34 -12
  12. package/dist/contexts/MenuConfigContext.d.ts.map +1 -1
  13. package/dist/contexts/MenuPropTypes.d.ts +1 -0
  14. package/dist/contexts/MenuPropTypes.d.ts.map +1 -1
  15. package/dist/dev/index.d.ts +1 -2
  16. package/dist/dev/index.d.ts.map +1 -1
  17. package/dist/dev/useCliErrorCatcher.d.ts +57 -29
  18. package/dist/dev/useCliErrorCatcher.d.ts.map +1 -1
  19. package/dist/i18n/useI18nCatcher.d.ts +26 -13
  20. package/dist/i18n/useI18nCatcher.d.ts.map +1 -1
  21. package/dist/react-admin.cjs.js +44 -44
  22. package/dist/react-admin.cjs.js.map +1 -1
  23. package/dist/react-admin.es.js +3890 -3884
  24. package/dist/react-admin.es.js.map +1 -1
  25. package/dist/react-admin.umd.js +44 -44
  26. package/dist/react-admin.umd.js.map +1 -1
  27. package/dist/types.d.ts +54 -0
  28. package/dist/types.d.ts.map +1 -0
  29. package/package.json +1 -1
  30. package/src/AdminContext.tsx +19 -0
  31. package/src/{ApplicaAdmin.jsx → ApplicaAdmin.tsx} +115 -50
  32. package/src/contexts/MenuConfigContext.tsx +117 -0
  33. package/src/contexts/MenuPropTypes.jsx +2 -1
  34. package/src/dev/useCliErrorCatcher.ts +142 -0
  35. package/src/i18n/{useI18nCatcher.jsx → useI18nCatcher.ts} +49 -11
  36. package/src/types.ts +55 -0
  37. package/src/AdminContext.jsx +0 -24
  38. package/src/contexts/MenuConfigContext.jsx +0 -93
  39. package/src/dev/useCliErrorCatcher.jsx +0 -86
  40. /package/src/dev/{index.jsx → index.ts} +0 -0
@@ -1,12 +1,7 @@
1
+ import { CoreAdminContextProps } from 'react-admin';
2
+ declare const AdminContext: {
3
+ ({ children, theme, ...props }: CoreAdminContextProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
1
6
  export default AdminContext;
2
- declare function AdminContext({ children, theme, ...props }: {
3
- [x: string]: any;
4
- children: any;
5
- theme: any;
6
- }): import("react/jsx-runtime").JSX.Element;
7
- declare namespace AdminContext {
8
- const displayName: string;
9
- const defaultProps: any;
10
- const propTypes: any;
11
- }
12
7
  //# sourceMappingURL=AdminContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AdminContext.d.ts","sourceRoot":"","sources":["../../src/AdminContext.jsx"],"names":[],"mappings":";AAKA;;;;4CAMC"}
1
+ {"version":3,"file":"AdminContext.d.ts","sourceRoot":"","sources":["../../src/AdminContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAKtE,QAAA,MAAM,YAAY;oCAAmC,qBAAqB;;CASzE,CAAC;AAIF,eAAe,YAAY,CAAC"}
@@ -1,31 +1,65 @@
1
- export default ApplicaAdmin;
2
- declare function ApplicaAdmin({ theme, apiUrl, defaultLocale, development, logoMain, logoIcon, menu, name, version, dataProvider, authProvider, notification, disableNotification, ...props }: {
3
- [x: string]: any;
1
+ import { AdminProps } from 'react-admin';
2
+ import { MenuProps } from 'src/types';
3
+ export type ApplicaAdminProps = AdminProps & {
4
4
  theme: any;
5
- apiUrl: any;
6
- defaultLocale: any;
7
- development: any;
5
+ apiUrl: string;
6
+ defaultLocale: string;
7
+ development: boolean;
8
8
  logoMain: any;
9
9
  logoIcon: any;
10
- menu: any;
11
- name: any;
12
- version: any;
10
+ menu: MenuProps;
11
+ name: string;
12
+ version: string;
13
13
  dataProvider: any;
14
14
  authProvider: any;
15
- notification: any;
16
- disableNotification: any;
17
- }): import("react/jsx-runtime").JSX.Element | null;
18
- declare namespace ApplicaAdmin {
19
- const defaultProps: {
15
+ notification: string;
16
+ disableNotification: boolean;
17
+ };
18
+ /**
19
+ * Definisce un'applicazione super figa basata su React Admi, Mantis Theme ed il nostro stile.
20
+ * Ogni applicazione che crei dovrebbe partire con un 'C'era una volta un ApplicaAdmin'.
21
+ *
22
+ * @example
23
+ * // Esempio di utilizzo
24
+ * import { ApplicaAdmin } from '@applica-software-guru/react-admin';
25
+ * import { createAuthProvider } from '@applica-software-guru/iam-client';
26
+ * import { createDataProvider } from '@applica-software-guru/crud-client';
27
+ * import * as entities from './entities';
28
+ *
29
+ * const apiUrl = "https://bimbobruno.applica.guru/api";
30
+ * const authProvider = createAuthProvider({ apiUrl });
31
+ * const getToken = async () => await authProvider.getToken();
32
+ * const getHeaders = async () => await authProvider.getHeaders();
33
+ *
34
+ * const dataProvider = createDataProvider({ apiUrl, getToken, getHeaders });
35
+ *
36
+ * const App = () => (
37
+ * <ApplicaAdmin
38
+ * apiUrl="https://api.applica.software-guru.it"
39
+ * dataProvider={dataProvider}
40
+ * authProvider={authProvider}
41
+ * menu={menu}
42
+ * name="Applica Admin"
43
+ * version="1.0.0">
44
+ * <Resource name="entities/user" {...entities.user} />
45
+ * </ApplicaAdmin>
46
+ *
47
+ * @param {ApplicaAdminProps}
48
+ * @returns {React.ReactElement}
49
+ */
50
+ declare const ApplicaAdmin: {
51
+ ({ theme, apiUrl, defaultLocale, development, logoMain, logoIcon, menu, name, version, dataProvider, authProvider, notification, disableNotification, ...props }: ApplicaAdminProps): import("react/jsx-runtime").JSX.Element | null;
52
+ defaultProps: {
20
53
  fileFields: never[];
21
54
  defaultLocale: string;
22
55
  development: boolean;
23
56
  version: string;
24
57
  notification: string;
25
58
  disableNotification: boolean;
26
- store: import("ra-core").Store;
59
+ store: import("react-admin").Store;
27
60
  title: string;
28
61
  };
29
- const propTypes: any;
30
- }
62
+ propTypes: any;
63
+ };
64
+ export default ApplicaAdmin;
31
65
  //# sourceMappingURL=ApplicaAdmin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicaAdmin.d.ts","sourceRoot":"","sources":["../../src/ApplicaAdmin.jsx"],"names":[],"mappings":";AAoCA;;;;;;;;;;;;;;;mDAkGC"}
1
+ {"version":3,"file":"ApplicaAdmin.d.ts","sourceRoot":"","sources":["../../src/ApplicaAdmin.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AA+BtC,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG;IAC3C,KAAK,EAAE,GAAG,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,GAAG,CAAC;IACd,QAAQ,EAAE,GAAG,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,GAAG,CAAC;IAClB,YAAY,EAAE,GAAG,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,QAAA,MAAM,YAAY;sKAsEf,iBAAiB;;;;;;;;;;;;CAmFnB,CAAC;AA6BF,eAAe,YAAY,CAAC"}
@@ -43,6 +43,7 @@ declare namespace Breadcrumbs {
43
43
  url: PropTypes.Requireable<string>;
44
44
  parent: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
45
45
  children: PropTypes.Requireable<any[]>;
46
+ resource: PropTypes.Requireable<boolean>;
46
47
  }> | null | undefined)[]>;
47
48
  const mode_1: PropTypes.Requireable<string>;
48
49
  export { mode_1 as mode };
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/Breadcrumbs.jsx"],"names":[],"mappings":";AA8BA;;;;;;;;;;;;;;;;4CA4OC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAlQqB,YAAY"}
1
+ {"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/Breadcrumbs.jsx"],"names":[],"mappings":";AA8BA;;;;;;;;;;;;;;;;4CA4OC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAlQqB,YAAY"}
@@ -6,5 +6,5 @@ declare const DrawerHeaderStyled: import("@emotion/styled").StyledComponent<impo
6
6
  sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
7
7
  } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
8
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
- }, "children" | "ref" | "sx" | "component" | ("p" | "display" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
9
+ }, "children" | "ref" | "sx" | "component" | ("p" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
10
10
  //# sourceMappingURL=DrawerHeaderStyled.d.ts.map
@@ -1,7 +1,7 @@
1
1
  export default ApplicaStyledNotification;
2
- declare const ApplicaStyledNotification: import("@emotion/styled").StyledComponent<Pick<Pick<import("react-admin").NotificationProps, "children" | "title" | "ref" | "slot" | "style" | "id" | "type" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "anchorOrigin" | "autoHideDuration" | "ClickAwayListenerProps" | "ContentProps" | "disableWindowBlurListener" | "message" | "onClose" | "resumeHideDuration" | "sx" | "TransitionComponent" | "transitionDuration" | "TransitionProps" | "multiLine"> & Pick<import("prop-types").InferProps<{
2
+ declare const ApplicaStyledNotification: import("@emotion/styled").StyledComponent<Pick<Pick<import("react-admin").NotificationProps, "children" | "title" | "ref" | "slot" | "style" | "type" | "id" | "resource" | "lang" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "prefix" | "property" | "rel" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "anchorOrigin" | "autoHideDuration" | "ClickAwayListenerProps" | "ContentProps" | "disableWindowBlurListener" | "message" | "onClose" | "resumeHideDuration" | "sx" | "TransitionComponent" | "transitionDuration" | "TransitionProps" | "multiLine"> & Pick<import("prop-types").InferProps<{
3
3
  type: import("prop-types").Requireable<string>;
4
4
  autoHideDuration: import("prop-types").Requireable<number>;
5
5
  multiLine: import("prop-types").Requireable<boolean>;
6
- }>, never> & Pick<import("react-admin").NotificationProps, "children" | "title" | "ref" | "slot" | "style" | "id" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "anchorOrigin" | "ClickAwayListenerProps" | "ContentProps" | "disableWindowBlurListener" | "key" | "message" | "onClose" | "resumeHideDuration" | "sx" | "TransitionComponent" | "transitionDuration" | "TransitionProps">, keyof import("react-admin").NotificationProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
6
+ }>, never> & Pick<import("react-admin").NotificationProps, "children" | "title" | "ref" | "slot" | "style" | "key" | "id" | "resource" | "lang" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "anchorOrigin" | "ClickAwayListenerProps" | "ContentProps" | "disableWindowBlurListener" | "message" | "onClose" | "resumeHideDuration" | "sx" | "TransitionComponent" | "transitionDuration" | "TransitionProps">, keyof import("react-admin").NotificationProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
7
7
  //# sourceMappingURL=Notification.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export default ApplicaStyledTabbedForm;
2
- declare const ApplicaStyledTabbedForm: import("@emotion/styled").StyledComponent<Pick<Pick<import("react-admin").TabbedFormProps, "children" | "title" | "slot" | "style" | "id" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "toolbar" | "mode" | "values" | "noValidate" | "manifest" | "component" | "record" | "mutationMode" | "reValidateMode" | "resetOptions" | "resolver" | "shouldFocusError" | "shouldUnregister" | "shouldUseNativeValidation" | "progressive" | "criteriaMode" | "delayError" | "formRootPathname" | "warnWhenUnsavedChanges" | "sanitizeEmptyValues" | "validate" | "syncWithLocation" | "tabs"> & Pick<import("prop-types").InferProps<{
2
+ declare const ApplicaStyledTabbedForm: import("@emotion/styled").StyledComponent<Pick<Pick<import("react-admin").TabbedFormProps, "children" | "title" | "slot" | "style" | "values" | "id" | "resource" | "lang" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "prefix" | "property" | "rel" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "toolbar" | "mode" | "noValidate" | "manifest" | "component" | "record" | "mutationMode" | "reValidateMode" | "resetOptions" | "resolver" | "shouldFocusError" | "shouldUnregister" | "shouldUseNativeValidation" | "progressive" | "criteriaMode" | "delayError" | "formRootPathname" | "warnWhenUnsavedChanges" | "sanitizeEmptyValues" | "validate" | "syncWithLocation" | "tabs"> & Pick<import("prop-types").InferProps<{
3
3
  children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
4
4
  defaultValues: import("prop-types").Requireable<object>;
5
5
  formRootPathname: import("prop-types").Requireable<string>;
@@ -7,5 +7,5 @@ declare const ApplicaStyledTabbedForm: import("@emotion/styled").StyledComponent
7
7
  record: import("prop-types").Requireable<object>;
8
8
  saving: import("prop-types").Requireable<boolean>;
9
9
  validate: import("prop-types").Requireable<(...args: any[]) => any>;
10
- }>, "saving" | "defaultValues"> & Pick<import("react-admin").TabbedFormProps, "title" | "slot" | "style" | "id" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "toolbar" | "mode" | "values" | "noValidate" | "manifest" | "component" | "reValidateMode" | "resetOptions" | "resolver" | "context" | "shouldFocusError" | "shouldUnregister" | "shouldUseNativeValidation" | "progressive" | "criteriaMode" | "delayError" | "warnWhenUnsavedChanges" | "sanitizeEmptyValues" | "syncWithLocation" | "tabs">, keyof import("react-admin").TabbedFormProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, {}, {}>;
10
+ }>, "saving" | "defaultValues"> & Pick<import("react-admin").TabbedFormProps, "title" | "slot" | "style" | "values" | "id" | "resource" | "lang" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "toolbar" | "mode" | "noValidate" | "manifest" | "component" | "reValidateMode" | "resetOptions" | "resolver" | "context" | "shouldFocusError" | "shouldUnregister" | "shouldUseNativeValidation" | "progressive" | "criteriaMode" | "delayError" | "warnWhenUnsavedChanges" | "sanitizeEmptyValues" | "syncWithLocation" | "tabs">, keyof import("react-admin").TabbedFormProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, {}, {}>;
11
11
  //# sourceMappingURL=TabbedForm.d.ts.map
@@ -34,7 +34,10 @@ declare namespace Datagrid {
34
34
  slot?: import("react").Validator<string | null | undefined> | undefined;
35
35
  style?: import("react").Validator<import("react").CSSProperties | null | undefined> | undefined;
36
36
  summary?: import("react").Validator<string | null | undefined> | undefined;
37
+ key?: import("react").Validator<import("react").Key | null | undefined> | undefined;
37
38
  id?: import("react").Validator<string | null | undefined> | undefined;
39
+ resource?: import("react").Validator<string | null | undefined> | undefined;
40
+ lang?: import("react").Validator<string | null | undefined> | undefined;
38
41
  defaultChecked?: import("react").Validator<boolean | null | undefined> | undefined;
39
42
  defaultValue?: import("react").Validator<string | number | readonly string[] | null | undefined> | undefined;
40
43
  suppressContentEditableWarning?: import("react").Validator<boolean | null | undefined> | undefined;
@@ -46,7 +49,6 @@ declare namespace Datagrid {
46
49
  dir?: import("react").Validator<string | null | undefined> | undefined;
47
50
  draggable?: import("react").Validator<(boolean | "true" | "false") | null | undefined> | undefined;
48
51
  hidden?: import("react").Validator<boolean | null | undefined> | undefined;
49
- lang?: import("react").Validator<string | null | undefined> | undefined;
50
52
  nonce?: import("react").Validator<string | null | undefined> | undefined;
51
53
  placeholder?: import("react").Validator<string | null | undefined> | undefined;
52
54
  spellCheck?: import("react").Validator<(boolean | "true" | "false") | null | undefined> | undefined;
@@ -61,7 +63,6 @@ declare namespace Datagrid {
61
63
  prefix?: import("react").Validator<string | null | undefined> | undefined;
62
64
  property?: import("react").Validator<string | null | undefined> | undefined;
63
65
  rel?: import("react").Validator<string | null | undefined> | undefined;
64
- resource?: import("react").Validator<string | null | undefined> | undefined;
65
66
  rev?: import("react").Validator<string | null | undefined> | undefined;
66
67
  typeof?: import("react").Validator<string | null | undefined> | undefined;
67
68
  vocab?: import("react").Validator<string | null | undefined> | undefined;
@@ -296,7 +297,6 @@ declare namespace Datagrid {
296
297
  onAnimationIterationCapture?: import("react").Validator<import("react").AnimationEventHandler<HTMLTableElement> | null | undefined> | undefined;
297
298
  onTransitionEnd?: import("react").Validator<import("react").TransitionEventHandler<HTMLTableElement> | null | undefined> | undefined;
298
299
  onTransitionEndCapture?: import("react").Validator<import("react").TransitionEventHandler<HTMLTableElement> | null | undefined> | undefined;
299
- key?: import("react").Validator<import("react").Key | null | undefined> | undefined;
300
300
  sx?: import("react").Validator<import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined> | undefined;
301
301
  border?: import("react").Validator<number | null | undefined> | undefined;
302
302
  width?: import("react").Validator<string | number | null | undefined> | undefined;
@@ -342,7 +342,10 @@ declare namespace Datagrid {
342
342
  slot?: string | undefined;
343
343
  style?: import("react").CSSProperties | undefined;
344
344
  summary?: string | undefined;
345
+ key?: import("react").Key | null | undefined;
345
346
  id?: string | undefined;
347
+ resource?: string | undefined;
348
+ lang?: string | undefined;
346
349
  defaultChecked?: boolean | undefined;
347
350
  defaultValue?: string | number | readonly string[] | undefined;
348
351
  suppressContentEditableWarning?: boolean | undefined;
@@ -354,7 +357,6 @@ declare namespace Datagrid {
354
357
  dir?: string | undefined;
355
358
  draggable?: (boolean | "true" | "false") | undefined;
356
359
  hidden?: boolean | undefined;
357
- lang?: string | undefined;
358
360
  nonce?: string | undefined;
359
361
  placeholder?: string | undefined;
360
362
  spellCheck?: (boolean | "true" | "false") | undefined;
@@ -369,7 +371,6 @@ declare namespace Datagrid {
369
371
  prefix?: string | undefined;
370
372
  property?: string | undefined;
371
373
  rel?: string | undefined;
372
- resource?: string | undefined;
373
374
  rev?: string | undefined;
374
375
  typeof?: string | undefined;
375
376
  vocab?: string | undefined;
@@ -604,7 +605,6 @@ declare namespace Datagrid {
604
605
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLTableElement> | undefined;
605
606
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLTableElement> | undefined;
606
607
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLTableElement> | undefined;
607
- key?: import("react").Key | null | undefined;
608
608
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
609
609
  border?: number | undefined;
610
610
  width?: string | number | undefined;
@@ -1,4 +1,24 @@
1
- export const MenuConfigContext: import("react").Context<{
1
+ /// <reference types="react" />
2
+ import { MenuProps } from '../types';
3
+ import PropTypes from 'prop-types';
4
+ export type MenuConfigContextProps = {
5
+ openItem: string[];
6
+ openComponent: string;
7
+ selectedID: string | null;
8
+ drawerOpen: boolean;
9
+ componentDrawerOpen: boolean;
10
+ menuDashboard: any;
11
+ error: any;
12
+ groups: MenuProps;
13
+ activeItem: (openItem: string[]) => void;
14
+ activeComponent: (openComponent: string) => void;
15
+ openDrawer: (drawerOpen: boolean) => void;
16
+ openComponentDrawer: (componentDrawerOpen: boolean) => void;
17
+ activeID: (selectedID: string | null) => void;
18
+ getMenuSuccess: (menuDashboard: any) => void;
19
+ hasError: (error: any) => void;
20
+ };
21
+ declare const MenuConfigContext: import("react").Context<{
2
22
  openItem: string[];
3
23
  openComponent: string;
4
24
  selectedID: null;
@@ -7,14 +27,15 @@ export const MenuConfigContext: import("react").Context<{
7
27
  menuDashboard: {};
8
28
  error: null;
9
29
  }>;
10
- export function MenuConfigProvider({ menu: groups, children }: {
11
- menu: any;
12
- children: any;
13
- }): import("react/jsx-runtime").JSX.Element;
14
- export namespace MenuConfigProvider {
15
- namespace propTypes {
16
- const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
17
- const menu: PropTypes.Requireable<(PropTypes.InferProps<{
30
+ export type MenuConfigProviderProps = {
31
+ menu: MenuProps;
32
+ children: React.ReactNode;
33
+ };
34
+ declare const MenuConfigProvider: {
35
+ ({ menu: groups, children }: MenuConfigProviderProps): import("react/jsx-runtime").JSX.Element;
36
+ propTypes: {
37
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
38
+ menu: PropTypes.Requireable<(PropTypes.InferProps<{
18
39
  id: PropTypes.Requireable<string>;
19
40
  title: PropTypes.Requireable<string>;
20
41
  type: PropTypes.Requireable<string>;
@@ -22,8 +43,9 @@ export namespace MenuConfigProvider {
22
43
  url: PropTypes.Requireable<string>;
23
44
  parent: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
24
45
  children: PropTypes.Requireable<any[]>;
46
+ resource: PropTypes.Requireable<boolean>;
25
47
  }> | null | undefined)[]>;
26
- }
27
- }
28
- import PropTypes from 'prop-types';
48
+ };
49
+ };
50
+ export { MenuConfigContext, MenuConfigProvider };
29
51
  //# sourceMappingURL=MenuConfigContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuConfigContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/MenuConfigContext.jsx"],"names":[],"mappings":"AAeA;;;;;;;;GAAsD;AAEtD;;;4CAoEC;;;;;;;;;;;;;;;sBApFqB,YAAY"}
1
+ {"version":3,"file":"MenuConfigContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/MenuConfigContext.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,aAAa,EAAE,GAAG,CAAC;IACnB,KAAK,EAAE,GAAG,CAAC;IACX,MAAM,EAAE,SAAS,CAAC;IAClB,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzC,eAAe,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,UAAU,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,mBAAmB,EAAE,CAAC,mBAAmB,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5D,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,cAAc,EAAE,CAAC,aAAa,EAAE,GAAG,KAAK,IAAI,CAAC;IAC7C,QAAQ,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC,CAAC;AAYF,QAAA,MAAM,iBAAiB;;;;;;;;EAA8B,CAAC;AAEtD,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,kBAAkB;iCAAgC,uBAAuB;;;;;;;;;;;;;;CAoE9E,CAAC;AAOF,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,CAAC"}
@@ -7,6 +7,7 @@ declare const MenuPropTypes: PropTypes.Requireable<PropTypes.InferProps<{
7
7
  url: PropTypes.Requireable<string>;
8
8
  parent: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
9
9
  children: PropTypes.Requireable<any[]>;
10
+ resource: PropTypes.Requireable<boolean>;
10
11
  }>>;
11
12
  import PropTypes from 'prop-types';
12
13
  //# sourceMappingURL=MenuPropTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuPropTypes.d.ts","sourceRoot":"","sources":["../../../src/contexts/MenuPropTypes.jsx"],"names":[],"mappings":";AAQA;;;;;;;;IAQG;sBAhBmB,YAAY"}
1
+ {"version":3,"file":"MenuPropTypes.d.ts","sourceRoot":"","sources":["../../../src/contexts/MenuPropTypes.jsx"],"names":[],"mappings":";AAQA;;;;;;;;;IASG;sBAjBmB,YAAY"}
@@ -1,4 +1,3 @@
1
- import useCliErrorCatcher from './useCliErrorCatcher';
2
- import { CatchResult } from './useCliErrorCatcher';
1
+ import useCliErrorCatcher, { CatchResult } from './useCliErrorCatcher';
3
2
  export { useCliErrorCatcher, CatchResult };
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dev/index.jsx"],"names":[],"mappings":"+BAAgD,sBAAsB;4BAAtB,sBAAsB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dev/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,EAAE,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAAC"}
@@ -1,31 +1,59 @@
1
- export default useCliErrorCatcher;
2
- export class CatchResult {
3
- constructor({ catch: catchErr, display: displayErr, log: logErr, error }: {
4
- catch: any;
5
- display: any;
6
- log: any;
7
- error: any;
8
- });
9
- catch: any;
10
- display: any;
11
- log: any;
12
- error: any;
13
- isCatched(): any;
14
- logError(): any;
15
- displayError(): any;
1
+ export type CatchResultProps = {
2
+ catch: boolean;
3
+ display: boolean;
4
+ log: boolean;
5
+ error?: string;
6
+ };
7
+ declare class CatchResult {
8
+ catch: boolean;
9
+ display: boolean;
10
+ log: boolean;
11
+ error?: string;
12
+ constructor({ catch: catchErr, display: displayErr, log: logErr, error }: CatchResultProps);
13
+ isCatched(): boolean;
14
+ logError(): boolean;
15
+ displayError(): boolean;
16
16
  }
17
- declare function useCliErrorCatcher({ enabled, apiUrl, endpoint, loading, catcherFn, bodyBuilder }: {
18
- enabled?: boolean | undefined;
19
- apiUrl: any;
20
- endpoint?: string | undefined;
21
- loading: any;
22
- catcherFn?: ((error: any) => CatchResult) | undefined;
23
- bodyBuilder?: ((locale: any, message: any) => {
24
- code: any;
25
- message: {
26
- code: any;
27
- text: any;
28
- };
29
- }) | undefined;
30
- }): boolean;
17
+ export type CliErrorCatcherBodyBuilderProps = (error: string | any) => any;
18
+ export type UseCliErrorCatcherProps = {
19
+ /**
20
+ * Definisce l'URL del server API.
21
+ */
22
+ apiUrl: string;
23
+ /**
24
+ * Definisce se il catcher è abilitato.
25
+ */
26
+ enabled?: boolean;
27
+ /**
28
+ * Definisce l'endpoint del server API su cui inviare l'errore.
29
+ * Questo parametro viene aggiunto all'URL del server API (apiUrl) attraverso una semplice concatenazione.
30
+ *
31
+ * @example
32
+ * // Serve più per ricordarti come funziona quando lo utilizzerai attivamente dopo tanto tempo (ti conosco bene Roberto, dimenticherai tutto!).
33
+ * let apiUrl = 'http://localhost:3000';
34
+ * let endpoint = '/ui-errors/put';
35
+ * let url = apiUrl + endpoint;
36
+ * // url = 'http://localhost:3000/ui-errors/put'
37
+ */
38
+ endpoint?: string;
39
+ /**
40
+ * Definisce se l'applicazione chiamante è in caricamento.
41
+ * In tal caso il catcher non viene attivato.
42
+ */
43
+ loading?: boolean;
44
+ /**
45
+ * Definisce la funzione che determina se l'errore deve essere catturato.
46
+ *
47
+ * @param error
48
+ * @returns {CatchResult} Restituisce un oggetto di tipo CatchResult.
49
+ */
50
+ catcherFn?: (error: string | any) => CatchResult;
51
+ /**
52
+ * Definisce la funzione che costruisce il body da inviare al server API.
53
+ */
54
+ bodyBuilder?: CliErrorCatcherBodyBuilderProps;
55
+ };
56
+ declare const useCliErrorCatcher: ({ enabled, apiUrl, endpoint, loading, catcherFn, bodyBuilder }: UseCliErrorCatcherProps) => boolean;
57
+ export { CatchResult };
58
+ export default useCliErrorCatcher;
31
59
  //# sourceMappingURL=useCliErrorCatcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCliErrorCatcher.d.ts","sourceRoot":"","sources":["../../../src/dev/useCliErrorCatcher.jsx"],"names":[],"mappings":";AAGA;IACE;;;;;OAKC;IAJC,WAAqB;IACrB,aAAyB;IACzB,SAAiB;IACjB,WAAkB;IAGpB,iBAEC;IAED,gBAEC;IAED,oBAEC;CACF;AAYD;;;;;;;;;;;;;YAgDC"}
1
+ {"version":3,"file":"useCliErrorCatcher.d.ts","sourceRoot":"","sources":["../../../src/dev/useCliErrorCatcher.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,cAAM,WAAW;IACf,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;gBAEH,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,gBAAgB;IAO1F,SAAS;IAIT,QAAQ;IAIR,YAAY;CAGb;AAED,MAAM,MAAM,+BAA+B,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,KAAK,GAAG,CAAC;AAmB3E,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,KAAK,WAAW,CAAC;IACjD;;OAEG;IACH,WAAW,CAAC,EAAE,+BAA+B,CAAC;CAC/C,CAAC;AAEF,QAAA,MAAM,kBAAkB,mEAOrB,uBAAuB,YAoCzB,CAAC;AACF,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,eAAe,kBAAkB,CAAC"}
@@ -1,15 +1,28 @@
1
+ export type I18nCatcherBodyBuilderResultProps = {
2
+ lang: string;
3
+ code: string;
4
+ text: string;
5
+ } | {
6
+ message: {
7
+ lang: string;
8
+ code: string;
9
+ text: string;
10
+ };
11
+ };
12
+ export type I18nCatcherBodyBuilderProps = (lang: string, message: string) => I18nCatcherBodyBuilderResultProps;
13
+ export type UseI18nCatcherProps = {
14
+ apiUrl: string;
15
+ enabled?: boolean;
16
+ endpoint?: string;
17
+ loading?: boolean;
18
+ bodyBuilder: I18nCatcherBodyBuilderProps;
19
+ };
20
+ /**
21
+ * Hook che consente di catturare ed inoltrare al server API le stringhe non tradotte.
22
+ *
23
+ * @param {UseI18nCatcherProps}
24
+ * @returns {boolean}
25
+ */
26
+ declare const useI18nCatcher: ({ apiUrl, enabled, endpoint, loading, bodyBuilder }: UseI18nCatcherProps) => boolean;
1
27
  export default useI18nCatcher;
2
- declare function useI18nCatcher({ apiUrl, enabled, endpoint, loading, bodyBuilder }: {
3
- apiUrl: any;
4
- enabled?: boolean | undefined;
5
- endpoint?: string | undefined;
6
- loading: any;
7
- bodyBuilder?: ((locale: any, message: any) => {
8
- code: any;
9
- message: {
10
- code: any;
11
- text: any;
12
- };
13
- }) | undefined;
14
- }): boolean;
15
28
  //# sourceMappingURL=useI18nCatcher.d.ts.map