@applica-software-guru/react-admin 1.4.0-beta.6 → 1.4.0-beta.8
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/components/ActionsMenu.d.ts.map +1 -1
- package/dist/components/Layout/Header/Profile/buttons/StopImpersonateButton.d.ts.map +1 -1
- package/dist/components/Layout/Navigation/NavGroup.d.ts +1 -14
- package/dist/components/Layout/Navigation/NavGroup.d.ts.map +1 -1
- package/dist/components/Layout/Provider.d.ts.map +1 -1
- package/dist/components/MenuPopover/styles.d.ts.map +1 -1
- package/dist/components/ra-buttons/CreateInDialogButton.d.ts +25 -5
- package/dist/components/ra-buttons/CreateInDialogButton.d.ts.map +1 -1
- package/dist/components/ra-buttons/EditInDialogButton.d.ts +3 -2
- package/dist/components/ra-buttons/EditInDialogButton.d.ts.map +1 -1
- package/dist/components/ra-fields/ReferenceManyField.d.ts.map +1 -1
- package/dist/components/ra-forms/Create.d.ts +1 -1
- package/dist/components/ra-forms/SimpleForm.d.ts.map +1 -1
- package/dist/components/ra-forms/TabbedForm.d.ts.map +1 -1
- package/dist/contexts/MenuConfigContext.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/react-admin.cjs.js +77 -73
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +12717 -11514
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +76 -72
- package/dist/react-admin.umd.js.map +1 -1
- package/dist/themes/overrides/Dialog.d.ts +10 -1
- package/dist/themes/overrides/Dialog.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/ActionsMenu.tsx +0 -3
- package/src/components/Layout/Header/Profile/buttons/StopImpersonateButton.tsx +4 -2
- package/src/components/Layout/Navigation/NavGroup.tsx +1 -13
- package/src/components/Layout/Provider.tsx +6 -2
- package/src/components/MenuPopover/styles.jsx +2 -3
- package/src/components/ra-buttons/CreateInDialogButton.tsx +44 -31
- package/src/components/ra-buttons/EditInDialogButton.tsx +29 -30
- package/src/components/ra-fields/ReferenceManyField.tsx +1 -2
- package/src/components/ra-forms/CardForm.tsx +2 -2
- package/src/components/ra-forms/Create.tsx +2 -2
- package/src/components/ra-forms/Edit.tsx +2 -2
- package/src/components/ra-forms/LongForm/BaseForm.tsx +1 -1
- package/src/components/ra-forms/SimpleForm.tsx +12 -11
- package/src/components/ra-forms/TabbedForm.tsx +8 -6
- package/src/components/ra-pages/RecoverPage.tsx +1 -1
- package/src/contexts/MenuConfigContext.tsx +2 -3
- package/src/dev/ErrorEventHandler.ts +2 -2
- package/src/index.jsx +3 -0
- package/src/playground/components/ra-forms/UserForm.jsx +14 -1
- package/src/playground/menu.jsx +1 -1
- package/src/themes/index.jsx +1 -1
- package/src/themes/overrides/Dialog.jsx +10 -1
- package/src/themes/overrides/index.jsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsMenu.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA0C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsMenu.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAsB/D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,EAAE,UAAkB,EAAE,QAAQ,EAAE,EAAE,gBAAgB,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAqDzG;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StopImpersonateButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Layout/Header/Profile/buttons/StopImpersonateButton.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"StopImpersonateButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Layout/Header/Profile/buttons/StopImpersonateButton.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,qBAAqB,sDAgC1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
1
|
export type NavGroupProps = {
|
|
3
2
|
item: any;
|
|
4
3
|
lastItem?: number | undefined;
|
|
@@ -9,18 +8,6 @@ export type NavGroupProps = {
|
|
|
9
8
|
setSelectedLevel: (value: number) => void;
|
|
10
9
|
selectedLevel: number;
|
|
11
10
|
};
|
|
12
|
-
declare const NavGroup: {
|
|
13
|
-
({ item, lastItem, remItems, lastItemId, setSelectedItems, selectedItems, setSelectedLevel, selectedLevel }: NavGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
propTypes: {
|
|
15
|
-
item: PropTypes.Requireable<object>;
|
|
16
|
-
lastItem: PropTypes.Requireable<number>;
|
|
17
|
-
remItems: PropTypes.Requireable<any[]>;
|
|
18
|
-
lastItemId: PropTypes.Requireable<string>;
|
|
19
|
-
setSelectedItems: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
-
selectedItems: PropTypes.Requireable<string>;
|
|
21
|
-
setSelectedLevel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
|
-
selectedLevel: PropTypes.Requireable<number>;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
11
|
+
declare const NavGroup: ({ item, lastItem, remItems, lastItemId, setSelectedItems, selectedItems, setSelectedLevel, selectedLevel }: NavGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
12
|
export { NavGroup };
|
|
26
13
|
//# sourceMappingURL=NavGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Navigation/NavGroup.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Navigation/NavGroup.tsx"],"names":[],"mappings":"AAmCA,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,GAAG,CAAC;IACV,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,EAAE,GAAG,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,QAAQ,+GASX,aAAa,4CAwRf,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Provider.tsx"],"names":[],"mappings":";AASA,aAAK,gBAAgB;IACnB,YAAY,gBAAgB;IAC5B,aAAa,iBAAiB;IAC9B,WAAW,eAAe;IAC1B,oBAAoB,wBAAwB;IAC5C,YAAY,gBAAgB;CAC7B;AAED,KAAK,oBAAoB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAClD,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AACH,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,OAA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;AAED,iBAAS,mBAAmB,IAAI,iBAAiB,CAEhD;AAED,iBAAS,oBAAoB,IAAI,kBAAkB,CAElD;AAED,iBAAS,kBAAkB,IAAI,gBAAgB,CAE9C;AAED,iBAAS,2BAA2B,IAAI,wBAAwB,CAE/D;AAED,iBAAS,mBAAmB,IAAI,iBAAiB,CAEhD;AAED,YAAY,EAAE,oBAAoB,EAAE,CAAC;AAErC,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,cAAc,EACd,mBAAmB,EACpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuPopover/styles.jsx"],"names":[],"mappings":"AAEA,+
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuPopover/styles.jsx"],"names":[],"mappings":"AAEA,+PAuFG"}
|
|
@@ -1,16 +1,26 @@
|
|
|
1
|
-
import { RedirectionSideEffect } from 'react-admin';
|
|
1
|
+
import { CreateControllerProps, RedirectionSideEffect } from 'react-admin';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { SxProps } from '@mui/material/styles';
|
|
4
|
-
export type CreateInDialogContentProps = {
|
|
4
|
+
export type CreateInDialogContentProps = CreateControllerProps & {
|
|
5
5
|
onClose: () => void;
|
|
6
6
|
record?: any;
|
|
7
7
|
redirect: RedirectionSideEffect | boolean | undefined;
|
|
8
8
|
children: React.ReactElement;
|
|
9
|
+
/**
|
|
10
|
+
* You can use it to handle the form submission yourself.
|
|
11
|
+
* Good luck with that.
|
|
12
|
+
*/
|
|
9
13
|
onSubmit?: (record: any, close: () => void) => void;
|
|
10
|
-
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Use mutationOptions.onSuccess instead
|
|
16
|
+
*/
|
|
17
|
+
onSuccess?: (data: any, close: () => void) => void;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Use mutationOptions.onError instead
|
|
20
|
+
*/
|
|
11
21
|
onError?: (error: any) => void;
|
|
12
22
|
};
|
|
13
|
-
export type CreateInDialogButtonProps = {
|
|
23
|
+
export type CreateInDialogButtonProps = CreateControllerProps & {
|
|
14
24
|
fullWidth?: boolean;
|
|
15
25
|
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | false;
|
|
16
26
|
label?: string;
|
|
@@ -25,13 +35,23 @@ export type CreateInDialogButtonProps = {
|
|
|
25
35
|
* If set to false, the button will always render as a regular button, regardless of the screen size.
|
|
26
36
|
*/
|
|
27
37
|
fab: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated Use mutationOptions.onSubmit instead
|
|
40
|
+
*/
|
|
28
41
|
onSubmit?: (record: any, close: () => void) => void;
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated Use mutationOptions.onSuccess instead
|
|
44
|
+
*/
|
|
29
45
|
onSuccess?: (data: any) => void;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @deprecated Use mutationOptions.onError instead
|
|
49
|
+
*/
|
|
30
50
|
onError?: (error: any) => void;
|
|
31
51
|
};
|
|
32
52
|
/**
|
|
33
53
|
* Allows you to handle the creation of a record, for a specific entity, or in completely custom mode, within a dialog.
|
|
34
54
|
*/
|
|
35
|
-
export declare function CreateInDialogButton({ fullWidth, maxWidth, label, record, redirect, scrollToTop, className, sx, style, fab, onSubmit, onSuccess, onError, ...
|
|
55
|
+
export declare function CreateInDialogButton({ fullWidth, maxWidth, label, record, redirect, scrollToTop, className, sx, style, fab, onSubmit, onSuccess, onError, ...controllerProps }: CreateInDialogButtonProps): JSX.Element;
|
|
36
56
|
export default CreateInDialogButton;
|
|
37
57
|
//# sourceMappingURL=CreateInDialogButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateInDialogButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-buttons/CreateInDialogButton.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"CreateInDialogButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-buttons/CreateInDialogButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EAErB,qBAAqB,EAQtB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,OAAO,EAAiB,MAAM,sBAAsB,CAAC;AAyB9D,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,GAAG;IAC/D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,qBAAqB,GAAG,OAAO,GAAG,SAAS,CAAC;IACtD,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IACpD;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IACnD;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC,CAAC;AAyGF,MAAM,MAAM,yBAAyB,GAAG,qBAAqB,GAAG;IAC9D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B;;OAEG;IACH,GAAG,EAAE,OAAO,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IACpD;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,SAAgB,EAChB,QAAe,EACf,KAA0B,EAC1B,MAAM,EACN,QAAQ,EACR,WAAkB,EAClB,SAAS,EACT,EAAE,EACF,KAAK,EACL,GAAU,EACV,QAAQ,EACR,SAAS,EACT,OAAO,EACP,GAAG,eAAe,EACnB,EAAE,yBAAyB,GAAG,GAAG,CAAC,OAAO,CAuCzC;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import { EditControllerProps } from 'react-admin';
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import { Breakpoint } from '@mui/material';
|
|
3
|
-
export type EditInDialogButtonProps = {
|
|
4
|
+
export type EditInDialogButtonProps = EditControllerProps & {
|
|
4
5
|
fullWidth?: boolean;
|
|
5
6
|
maxWidth?: false | Breakpoint | undefined;
|
|
6
7
|
label?: string;
|
|
7
8
|
children: React.ReactElement;
|
|
8
9
|
style?: React.CSSProperties;
|
|
9
10
|
};
|
|
10
|
-
export declare function EditInDialogButton({ fullWidth, maxWidth, label, style, ...props }: EditInDialogButtonProps): JSX.Element;
|
|
11
|
+
export declare function EditInDialogButton({ fullWidth, maxWidth, label, style, children, ...props }: EditInDialogButtonProps): JSX.Element;
|
|
11
12
|
export default EditInDialogButton;
|
|
12
13
|
//# sourceMappingURL=EditInDialogButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditInDialogButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-buttons/EditInDialogButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EditInDialogButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-buttons/EditInDialogButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,mBAAmB,EAOpB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAgC,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,UAAU,EAAU,MAAM,eAAe,CAAC;AAkEnD,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,GAAG;IAC1D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,GAAG,UAAU,GAAG,SAAS,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EACjC,SAAgB,EAChB,QAAe,EACf,KAAwB,EACxB,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAkBvC;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReferenceManyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReferenceManyField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0D,uBAAuB,IAAI,yBAAyB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ReferenceManyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReferenceManyField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0D,uBAAuB,IAAI,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAyE3I,MAAM,MAAM,uBAAuB,GAAG,yBAAyB,GAAG;IAChE;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,GAAG,CAAC;CACnC,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAO9E;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -6,6 +6,6 @@ export declare const Create: import("@emotion/styled").StyledComponent<Pick<Crea
|
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
useDefaults?: boolean | undefined;
|
|
8
8
|
queryOptions?: UseQueryOptions<unknown, unknown, unknown, import("react-query").QueryKey> | undefined;
|
|
9
|
-
}, "children" | "
|
|
9
|
+
}, "children" | "queryOptions" | "useDefaults" | keyof CreateProps<any, Error, any>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
10
10
|
export default Create;
|
|
11
11
|
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/SimpleForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAGL,eAAe,IAAI,iBAAiB,EAGrC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"SimpleForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/SimpleForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAGL,eAAe,IAAI,iBAAiB,EAGrC,MAAM,aAAa,CAAC;AAarB,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;CACtC,CAAC;AAEF,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,KAAa,EAEb,OAAe,EACf,SAAgB,EAChB,OAIC,EACD,SAIC,EACD,EAAE,EACF,GAAG,KAAK,EACT,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CA6B/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabbedForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/TabbedForm.tsx"],"names":[],"mappings":";AAEA,OAAO,EAEL,eAAe,IAAI,iBAAiB,EAGpC,QAAQ,EACT,MAAM,aAAa,CAAC;AAMrB,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,GAAG,OAAO,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACrC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAkBF,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"TabbedForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/TabbedForm.tsx"],"names":[],"mappings":";AAEA,OAAO,EAEL,eAAe,IAAI,iBAAiB,EAGpC,QAAQ,EACT,MAAM,aAAa,CAAC;AAMrB,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,GAAG,OAAO,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACrC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAkBF,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAwD9D;yBAxDe,UAAU;;;;;;;;;;;;;;;;;;;;AAyD1B,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG;IACrC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAiBF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuConfigContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/MenuConfigContext.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"MenuConfigContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/MenuConfigContext.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAGrC,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,KAAK,EAAE,GAAG,CAAC;IACX,IAAI,EAAE,SAAS,CAAC;IAChB,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,QAAQ,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,OAAO,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;CACpC,CAAC;AAkBF,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,uBAAwB,uBAAuB,4CA2BtE,CAAC;AACF,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,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, FilterButton, 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";
|
|
9
|
+
export { ArrayInputContext, BooleanField, BulkDeleteWithConfirmButton, Button, ChipField, choices, Confirm, CreateButton, CreateContextProvider, CustomRoutes, DeleteWithConfirmButton, DeleteWithUndoButton, EditButton, EditContextProvider, email, FieldTitle, FilterButton, 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, useCreateContext, useCreateController, useDataProvider, useEditContext, useEditController, useGetIdentity, useGetList, useGetMany, useGetManyReference, useGetOne, useInput, useListContext, useListController, 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
|