@applica-software-guru/react-admin 1.3.175 → 1.3.177
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.
- package/dist/ApplicaAdmin.d.ts +0 -1
- package/dist/ApplicaAdmin.d.ts.map +1 -1
- package/dist/components/@extended/Breadcrumbs.d.ts +0 -28
- package/dist/components/@extended/Breadcrumbs.d.ts.map +1 -1
- package/dist/components/Layout/Navigation/NavCollapse.d.ts +10 -21
- package/dist/components/Layout/Navigation/NavCollapse.d.ts.map +1 -1
- package/dist/components/Layout/Navigation/NavGroup.d.ts +24 -22
- package/dist/components/Layout/Navigation/NavGroup.d.ts.map +1 -1
- package/dist/components/Layout/Navigation/NavItem.d.ts +5 -11
- package/dist/components/Layout/Navigation/NavItem.d.ts.map +1 -1
- package/dist/components/Layout/Navigation/NavList.d.ts +9 -0
- package/dist/components/Layout/Navigation/NavList.d.ts.map +1 -0
- package/dist/components/Layout/Navigation/Navigation.d.ts.map +1 -1
- package/dist/components/Layout/Navigation/index.d.ts +4 -0
- package/dist/components/Layout/Navigation/index.d.ts.map +1 -1
- package/dist/components/MainCard.d.ts.map +1 -1
- package/dist/components/Notification.d.ts +2 -2
- package/dist/components/ra-fields/ReadonlyField.d.ts.map +1 -1
- package/dist/components/ra-fields/ReferenceManyField.d.ts +1 -36
- package/dist/components/ra-fields/ReferenceManyField.d.ts.map +1 -1
- package/dist/components/ra-forms/Create.d.ts.map +1 -1
- package/dist/components/ra-forms/Edit.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/BaseForm.d.ts.map +1 -1
- package/dist/components/ra-forms/SimpleForm.d.ts.map +1 -1
- package/dist/components/ra-forms/TabbedForm.d.ts +12 -3
- package/dist/components/ra-forms/TabbedForm.d.ts.map +1 -1
- package/dist/components/ra-forms/TableForm/TableFormIterator.d.ts +2 -1
- package/dist/components/ra-forms/TableForm/TableFormIterator.d.ts.map +1 -1
- package/dist/components/ra-forms/TableForm/TableFormIteratorItem.d.ts.map +1 -1
- package/dist/components/ra-inputs/BooleanInput.d.ts +1 -2
- package/dist/components/ra-inputs/BooleanInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/LabeledInput.d.ts +0 -5
- package/dist/components/ra-inputs/LabeledInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/ReferenceManyInput.d.ts +2 -27
- package/dist/components/ra-inputs/ReferenceManyInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/SelectInput.d.ts +1 -24
- package/dist/components/ra-inputs/SelectInput.d.ts.map +1 -1
- package/dist/components/ra-lists/Datagrid/index.d.ts.map +1 -1
- package/dist/components/ra-lists/List.d.ts.map +1 -1
- package/dist/components/ra-lists/NotificationList/NotificationList.d.ts.map +1 -1
- package/dist/components/ra-lists/SimpleList.d.ts +15 -0
- package/dist/components/ra-lists/SimpleList.d.ts.map +1 -0
- package/dist/components/ra-lists/index.d.ts +4 -3
- package/dist/components/ra-lists/index.d.ts.map +1 -1
- package/dist/contexts/MenuConfigContext.d.ts +2 -26
- package/dist/contexts/MenuConfigContext.d.ts.map +1 -1
- package/dist/contexts/ThemeConfigContext.d.ts +10 -0
- package/dist/contexts/ThemeConfigContext.d.ts.map +1 -1
- package/dist/contexts/index.d.ts +0 -2
- package/dist/contexts/index.d.ts.map +1 -1
- package/dist/hooks/useMenuConfig.d.ts +1 -9
- package/dist/hooks/useMenuConfig.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/react-admin.cjs.js +59 -59
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +7315 -7299
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +64 -64
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/ApplicaAdmin.tsx +1 -24
- package/src/components/@extended/Breadcrumbs.jsx +0 -20
- package/src/components/Layout/Navigation/{NavCollapse.jsx → NavCollapse.tsx} +25 -20
- package/src/components/Layout/Navigation/{NavGroup.jsx → NavGroup.tsx} +35 -11
- package/src/components/Layout/Navigation/{NavItem.jsx → NavItem.tsx} +12 -9
- package/src/components/Layout/Navigation/NavList.tsx +23 -0
- package/src/components/Layout/Navigation/Navigation.tsx +7 -13
- package/src/components/Layout/Navigation/index.ts +4 -0
- package/src/components/MainCard.tsx +1 -7
- package/src/components/ra-fields/ReadonlyField.tsx +6 -1
- package/src/components/ra-fields/ReferenceManyField.tsx +40 -58
- package/src/components/ra-forms/Create.tsx +5 -2
- package/src/components/ra-forms/Edit.jsx +3 -0
- package/src/components/ra-forms/FormHeader.tsx +2 -2
- package/src/components/ra-forms/LongForm/BaseForm.tsx +9 -5
- package/src/components/ra-forms/SimpleForm.tsx +4 -3
- package/src/components/ra-forms/TabbedForm.tsx +51 -12
- package/src/components/ra-forms/TableForm/TableFormIterator.tsx +31 -15
- package/src/components/ra-forms/TableForm/TableFormIteratorItem.tsx +10 -9
- package/src/components/ra-inputs/AutocompleteArrayInput.jsx +3 -3
- package/src/components/ra-inputs/AutocompleteInput.jsx +3 -3
- package/src/components/ra-inputs/BooleanInput.jsx +16 -29
- package/src/components/ra-inputs/LabeledInput.tsx +1 -6
- package/src/components/ra-inputs/SelectArrayInput.jsx +3 -3
- package/src/components/ra-inputs/SelectInput.tsx +4 -9
- package/src/components/ra-lists/Datagrid/index.tsx +8 -2
- package/src/components/ra-lists/List.tsx +26 -12
- package/src/components/ra-lists/NotificationList/NotificationList.jsx +7 -10
- package/src/components/ra-lists/SimpleList.tsx +13 -0
- package/src/components/ra-lists/index.ts +4 -3
- package/src/contexts/MenuConfigContext.tsx +15 -12
- package/src/contexts/ThemeConfigContext.tsx +28 -2
- package/src/contexts/index.jsx +0 -2
- package/src/index.jsx +8 -8
- package/dist/contexts/MenuPropTypes.d.ts +0 -13
- package/dist/contexts/MenuPropTypes.d.ts.map +0 -1
- package/src/contexts/MenuPropTypes.jsx +0 -20
- /package/src/hooks/{useMenuConfig.jsx → useMenuConfig.ts} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const StyledSimpleList: import("@emotion/styled").StyledComponent<Pick<Pick<import("react-admin").SimpleListProps<import("react-admin").RaRecord<import("react-admin").Identifier>>, "children" | "title" | "ref" | "data" | "slot" | "style" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "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" | "component" | "dense" | "subheader" | "isLoading" | "leftIcon" | "rightIcon" | "total" | "empty" | "disablePadding" | "hasBulkActions" | "leftAvatar" | "primaryText" | "linkType" | "rightAvatar" | "secondaryText" | "tertiaryText" | "rowSx" | "rowStyle" | "isLoaded"> & Pick<import("prop-types").InferProps<{
|
|
2
|
+
className: import("prop-types").Requireable<string>;
|
|
3
|
+
leftAvatar: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
4
|
+
leftIcon: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
5
|
+
linkType: import("prop-types").Requireable<NonNullable<string | boolean | ((...args: any[]) => any)>>;
|
|
6
|
+
primaryText: import("prop-types").Requireable<NonNullable<string | import("prop-types").ReactElementLike | ((...args: any[]) => any)>>;
|
|
7
|
+
rightAvatar: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
8
|
+
rightIcon: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
9
|
+
secondaryText: import("prop-types").Requireable<NonNullable<string | import("prop-types").ReactElementLike | ((...args: any[]) => any)>>;
|
|
10
|
+
tertiaryText: import("prop-types").Requireable<NonNullable<string | import("prop-types").ReactElementLike | ((...args: any[]) => any)>>;
|
|
11
|
+
rowStyle: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
12
|
+
rowSx: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
13
|
+
}>, never> & Pick<import("react-admin").SimpleListProps<import("react-admin").RaRecord<import("react-admin").Identifier>>, "children" | "title" | "ref" | "data" | "slot" | "style" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "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" | "component" | "dense" | "subheader" | "isLoading" | "total" | "empty" | "disablePadding" | "hasBulkActions" | "isLoaded">, keyof import("react-admin").SimpleListProps<import("react-admin").RaRecord<import("react-admin").Identifier>>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
14
|
+
export default StyledSimpleList;
|
|
15
|
+
//# sourceMappingURL=SimpleList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleList.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/SimpleList.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,gBAAgB;;;;;;;;;;;;6oKAOnB,CAAC;AAEJ,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
export { default as BulkActionsToolbar } from './BulkActionsToolbar';
|
|
2
|
+
export { default as BulkFloatingActionsToolbar } from './BulkFloatingActionsToolbar';
|
|
1
3
|
export { default as Datagrid } from './Datagrid';
|
|
2
4
|
export { default as Empty } from './Empty';
|
|
3
|
-
export { default as NotificationList } from './NotificationList';
|
|
4
5
|
export { default as List } from './List';
|
|
5
|
-
export { default as
|
|
6
|
-
export { default as
|
|
6
|
+
export { default as NotificationList } from './NotificationList';
|
|
7
|
+
export { default as SimpleList } from './SimpleList';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { MenuProps } from '../types';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
3
|
export type MenuConfigContextProps = {
|
|
5
4
|
openItem: string[];
|
|
6
5
|
openComponent: string;
|
|
@@ -18,34 +17,11 @@ export type MenuConfigContextProps = {
|
|
|
18
17
|
getMenuSuccess: (menuDashboard: any) => void;
|
|
19
18
|
hasError: (error: any) => void;
|
|
20
19
|
};
|
|
21
|
-
declare const MenuConfigContext: import("react").Context<
|
|
22
|
-
openItem: string[];
|
|
23
|
-
openComponent: string;
|
|
24
|
-
selectedID: null;
|
|
25
|
-
drawerOpen: boolean;
|
|
26
|
-
componentDrawerOpen: boolean;
|
|
27
|
-
menuDashboard: {};
|
|
28
|
-
error: null;
|
|
29
|
-
}>;
|
|
20
|
+
declare const MenuConfigContext: import("react").Context<MenuConfigContextProps>;
|
|
30
21
|
export type MenuConfigProviderProps = {
|
|
31
22
|
menu: MenuProps;
|
|
32
23
|
children: React.ReactNode;
|
|
33
24
|
};
|
|
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<{
|
|
39
|
-
id: PropTypes.Requireable<string>;
|
|
40
|
-
title: PropTypes.Requireable<string>;
|
|
41
|
-
type: PropTypes.Requireable<string>;
|
|
42
|
-
icon: PropTypes.Requireable<PropTypes.ReactComponentLike>;
|
|
43
|
-
url: PropTypes.Requireable<string>;
|
|
44
|
-
parent: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
|
|
45
|
-
children: PropTypes.Requireable<any[]>;
|
|
46
|
-
resource: PropTypes.Requireable<boolean>;
|
|
47
|
-
}> | null | undefined)[]>;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
25
|
+
declare const MenuConfigProvider: ({ menu: groups, children }: MenuConfigProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
50
26
|
export { MenuConfigContext, MenuConfigProvider };
|
|
51
27
|
//# sourceMappingURL=MenuConfigContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuConfigContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/MenuConfigContext.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"MenuConfigContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/MenuConfigContext.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAIrC,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;AAsBF,QAAA,MAAM,iBAAiB,iDAAsD,CAAC;AAE9E,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,kBAAkB,+BAAgC,uBAAuB,4CAqE9E,CAAC;AACF,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -54,6 +54,16 @@ export type ThemeConfig = {
|
|
|
54
54
|
* Indica la spaziatura da utilizzare tra i componenti.
|
|
55
55
|
*/
|
|
56
56
|
spacing: number;
|
|
57
|
+
setFontFamily: (fontFamily: ThemeFontFamily) => void;
|
|
58
|
+
setMenuOrientation: (menuOrientation: ThemeOrientation) => void;
|
|
59
|
+
setMiniDrawer: (miniDrawer: boolean) => void;
|
|
60
|
+
setContainer: (container: boolean) => void;
|
|
61
|
+
setMode: (mode: ThemeMode) => void;
|
|
62
|
+
setPresetColor: (presetColor: ThemePresetColor) => void;
|
|
63
|
+
setThemeDirection: (themeDirection: ThemeDirection) => void;
|
|
64
|
+
setAppDefaultPath: (appDefaultPath: string) => void;
|
|
65
|
+
setDrawerWidth: (drawerWidth: number) => void;
|
|
66
|
+
setHorizontalMaxItems: (horizontalMaxItems: number) => void;
|
|
57
67
|
};
|
|
58
68
|
export type ThemeConfigProviderProps = {
|
|
59
69
|
children: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeConfigContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/ThemeConfigContext.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,MAAM,MAAM,eAAe,GAAG,qBAAqB,GAAG,uBAAuB,GAAG,sBAAsB,GAAG,2BAA2B,CAAC;AACrI,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,YAAY,CAAC;AACzD,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AACzC,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACjI,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"ThemeConfigContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/ThemeConfigContext.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,MAAM,MAAM,eAAe,GAAG,qBAAqB,GAAG,uBAAuB,GAAG,sBAAsB,GAAG,2BAA2B,CAAC;AACrI,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,YAAY,CAAC;AACzD,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AACzC,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACjI,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,KAAK,CAAC;AA6B3C,QAAA,MAAM,kBAAkB,sCAA8B,CAAC;AAIvD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,UAAU,EAAE,eAAe,CAAC;IAE5B;;OAEG;IACH,eAAe,EAAE,gBAAgB,CAAC;IAClC;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,gBAAgB,CAAC;IAC9B;;OAEG;IACH,cAAc,EAAE,cAAc,CAAC;IAC/B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAGhB,aAAa,EAAE,CAAC,UAAU,EAAE,eAAe,KAAK,IAAI,CAAC;IACrD,kBAAkB,EAAE,CAAC,eAAe,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAChE,aAAa,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,OAAO,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACnC,cAAc,EAAE,CAAC,WAAW,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACxD,iBAAiB,EAAE,CAAC,cAAc,EAAE,cAAc,KAAK,IAAI,CAAC;IAC5D,iBAAiB,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,cAAc,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,qBAAqB,EAAE,CAAC,kBAAkB,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7D,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,EAAE,WAAW,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,mBAAmB;kCAAiC,wBAAwB;;;;CAoCjF,CAAC;AAMF,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,CAAC"}
|
package/dist/contexts/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export { MenuPropTypes };
|
|
2
1
|
export * from "./ThemeConfigContext";
|
|
3
2
|
export * from "./MenuConfigContext";
|
|
4
3
|
export * from "./AppConfigContext";
|
|
5
4
|
export * from "./TableFormIteratorContext";
|
|
6
5
|
export * from "./TableFormIteratorItemContext";
|
|
7
|
-
import MenuPropTypes from './MenuPropTypes';
|
|
8
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/index.jsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/index.jsx"],"names":[],"mappings":""}
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
+
declare const useMenuConfig: () => import("../contexts").MenuConfigContextProps;
|
|
1
2
|
export default useMenuConfig;
|
|
2
|
-
declare function useMenuConfig(): {
|
|
3
|
-
openItem: string[];
|
|
4
|
-
openComponent: string;
|
|
5
|
-
selectedID: null;
|
|
6
|
-
drawerOpen: boolean;
|
|
7
|
-
componentDrawerOpen: boolean;
|
|
8
|
-
menuDashboard: {};
|
|
9
|
-
error: null;
|
|
10
|
-
};
|
|
11
3
|
//# sourceMappingURL=useMenuConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMenuConfig.d.ts","sourceRoot":"","sources":["../../../src/hooks/useMenuConfig.
|
|
1
|
+
{"version":3,"file":"useMenuConfig.d.ts","sourceRoot":"","sources":["../../../src/hooks/useMenuConfig.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,aAAa,oDAAsC,CAAC;AAE1D,eAAe,aAAa,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ export * from "./components";
|
|
|
6
6
|
export * from "./contexts";
|
|
7
7
|
export * from "./utils";
|
|
8
8
|
export * from "./i18n";
|
|
9
|
-
export { ArrayInputContext, BooleanField, BulkDeleteWithConfirmButton, Button, ChipField, choices, Confirm, CreateButton, CreateContextProvider, CustomRoutes, DeleteWithConfirmButton, DeleteWithUndoButton, EditButton, EditContextProvider, email, FieldTitle, Form, FormDataConsumer, HttpError, I18nContextProvider, ListToolbar, LoadingIndicator, maxLength, maxValue, minLength, minValue, number, Pagination, RecordContextProvider, ReferenceArrayField, ReferenceField, regex, required, Resource, ResourceContextProvider, SaveButton, SimpleFormIterator as RaSimpleFormIterator, SimpleFormIteratorContext,
|
|
9
|
+
export { ArrayInputContext, BooleanField, BulkDeleteWithConfirmButton, Button, ChipField, choices, Confirm, CreateButton, CreateContextProvider, CustomRoutes, DeleteWithConfirmButton, DeleteWithUndoButton, EditButton, EditContextProvider, email, FieldTitle, Form, FormDataConsumer, HttpError, I18nContextProvider, ListToolbar, LoadingIndicator, maxLength, maxValue, minLength, minValue, number, Pagination, RecordContextProvider, ReferenceArrayField, ReferenceField, regex, required, Resource, ResourceContextProvider, SaveButton, SimpleFormIterator as RaSimpleFormIterator, SimpleFormIteratorContext, SimpleShowLayout, SingleFieldList, TabbedFormTabs, TopToolbar, UrlField, useArrayInput, useAuthProvider, useChoices, useChoicesContext, useCreateController, useDataProvider, useEditContext, useGetIdentity, useGetList, useGetMany, useGetManyReference, useGetOne, useInput, useListContext, useLocaleState, useNotify, usePermissions, useRecordContext, useRefresh, useResourceContext, useResourceDefinition, useResourceDefinitions, useShowContext, useShowController, useSimpleFormIterator, useSimpleFormIteratorItem, useTranslate, useTranslateLabel, useUnselect, useUnselectAll, useUpdateMany, withLifecycleCallbacks } from "react-admin";
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|