@applica-software-guru/react-admin 1.5.228 → 1.5.230
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/.eslintrc +2 -1
- package/.husky/pre-commit +1 -1
- package/dist/components/@extended/AnimateButton.d.ts +3 -4
- package/dist/components/@extended/AnimateButton.d.ts.map +1 -1
- package/dist/components/@extended/Avatar.d.ts +3 -4
- package/dist/components/@extended/Avatar.d.ts.map +1 -1
- package/dist/components/@extended/IconButton.d.ts +10 -5
- package/dist/components/@extended/IconButton.d.ts.map +1 -1
- package/dist/components/@extended/LoadingButton.d.ts +12 -5
- package/dist/components/@extended/LoadingButton.d.ts.map +1 -1
- package/dist/components/@extended/Tooltip.d.ts +3 -4
- package/dist/components/@extended/Tooltip.d.ts.map +1 -1
- package/dist/components/@extended/Transitions.d.ts +7 -7
- package/dist/components/@extended/Transitions.d.ts.map +1 -1
- package/dist/components/ActionsMenu.d.ts +3 -4
- package/dist/components/ActionsMenu.d.ts.map +1 -1
- package/dist/components/AppStateProvider.d.ts +3 -2
- package/dist/components/AppStateProvider.d.ts.map +1 -1
- package/dist/components/AuthCard.d.ts +3 -5
- package/dist/components/AuthCard.d.ts.map +1 -1
- package/dist/components/AuthWrapper.d.ts +3 -4
- package/dist/components/AuthWrapper.d.ts.map +1 -1
- package/dist/components/Layout/MenuProvider.d.ts +4 -5
- package/dist/components/Layout/MenuProvider.d.ts.map +1 -1
- package/dist/components/Layout/Navigation/NavList.d.ts +3 -4
- package/dist/components/Layout/Navigation/NavList.d.ts.map +1 -1
- package/dist/components/Layout/ThemeProvider.d.ts +3 -4
- package/dist/components/Layout/ThemeProvider.d.ts.map +1 -1
- package/dist/components/MenuPopover/MenuPopover.d.ts +3 -4
- package/dist/components/MenuPopover/MenuPopover.d.ts.map +1 -1
- package/dist/components/ra-buttons/CreateInDialogButton.d.ts +3 -4
- package/dist/components/ra-buttons/CreateInDialogButton.d.ts.map +1 -1
- package/dist/components/ra-buttons/EditInDialogButton.d.ts +3 -4
- package/dist/components/ra-buttons/EditInDialogButton.d.ts.map +1 -1
- package/dist/components/ra-fields/ReadonlyField.d.ts +3 -4
- package/dist/components/ra-fields/ReadonlyField.d.ts.map +1 -1
- package/dist/components/ra-forms/CardForm.d.ts +5 -7
- package/dist/components/ra-forms/CardForm.d.ts.map +1 -1
- package/dist/components/ra-forms/Create.d.ts +5 -5
- package/dist/components/ra-forms/Create.d.ts.map +1 -1
- package/dist/components/ra-forms/TabbedForm.d.ts +2 -4
- package/dist/components/ra-forms/TabbedForm.d.ts.map +1 -1
- package/dist/components/ra-inputs/LabeledArrayInput.d.ts +3 -4
- package/dist/components/ra-inputs/LabeledArrayInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/ReferenceArrayInput.d.ts +2 -4
- package/dist/components/ra-inputs/ReferenceArrayInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/ReferenceInput.d.ts +2 -4
- package/dist/components/ra-inputs/ReferenceInput.d.ts.map +1 -1
- package/dist/components/ra-lists/Datagrid/DatagridContextProvider.d.ts +5 -4
- package/dist/components/ra-lists/Datagrid/DatagridContextProvider.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +42 -42
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +3400 -3405
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +45 -45
- package/dist/react-admin.umd.js.map +1 -1
- package/dist/themes/index.d.ts +0 -7
- package/dist/themes/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/@extended/AnimateButton.tsx +3 -3
- package/src/components/@extended/Avatar.tsx +3 -3
- package/src/components/@extended/IconButton.tsx +5 -7
- package/src/components/@extended/LoadingButton.tsx +5 -7
- package/src/components/@extended/Tooltip.tsx +5 -6
- package/src/components/@extended/Transitions.tsx +3 -4
- package/src/components/ActionsMenu.tsx +2 -5
- package/src/components/AppStateProvider.tsx +6 -2
- package/src/components/AuthCard.tsx +4 -5
- package/src/components/AuthWrapper.tsx +3 -4
- package/src/components/Layout/MenuProvider.tsx +4 -5
- package/src/components/Layout/Navigation/NavList.tsx +2 -4
- package/src/components/Layout/ThemeProvider.tsx +3 -5
- package/src/components/MenuPopover/MenuPopover.tsx +3 -4
- package/src/components/ra-buttons/CreateInDialogButton.tsx +68 -65
- package/src/components/ra-buttons/EditInDialogButton.tsx +25 -22
- package/src/components/ra-fields/ReadonlyField.tsx +16 -14
- package/src/components/ra-forms/CardForm.tsx +9 -10
- package/src/components/ra-forms/Create.tsx +7 -7
- package/src/components/ra-forms/TabbedForm.tsx +4 -4
- package/src/components/ra-inputs/LabeledArrayInput.tsx +3 -4
- package/src/components/ra-inputs/ReferenceArrayInput.tsx +6 -7
- package/src/components/ra-inputs/ReferenceInput.tsx +5 -6
- package/src/components/ra-lists/Datagrid/DatagridContextProvider.tsx +5 -8
- package/src/playground/.prettierrc +1 -1
- package/src/playground/components/pages/CustomPage.jsx +6 -1
- package/src/playground/components/ra-forms/DeviceForm.jsx +8 -1
- package/src/playground/components/ra-lists/DeviceList.jsx +9 -1
- package/src/playground/components/ra-lists/I18nMessageList.jsx +9 -1
- package/src/themes/index.tsx +0 -6
package/.eslintrc
CHANGED
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"plugin:react-hooks/recommended",
|
|
11
11
|
"eslint:recommended",
|
|
12
12
|
"plugin:react/recommended",
|
|
13
|
-
"plugin:@typescript-eslint/recommended"
|
|
13
|
+
"plugin:@typescript-eslint/recommended",
|
|
14
|
+
"plugin:prettier/recommended"
|
|
14
15
|
],
|
|
15
16
|
"ignorePatterns": ["build/**", "node_modules/**"],
|
|
16
17
|
"overrides": [
|
package/.husky/pre-commit
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
type AnimateButtonProps = {
|
|
3
|
-
children: React.ReactNode;
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
type AnimateButtonProps = PropsWithChildren<{
|
|
4
3
|
type?: 'rotate' | 'slide' | 'scale';
|
|
5
4
|
direction?: 'up' | 'down' | 'left' | 'right';
|
|
6
5
|
offset?: number;
|
|
@@ -8,7 +7,7 @@ type AnimateButtonProps = {
|
|
|
8
7
|
hover: number;
|
|
9
8
|
tap: number;
|
|
10
9
|
};
|
|
11
|
-
}
|
|
10
|
+
}>;
|
|
12
11
|
declare function AnimateButton({ children, type, direction, offset, scale }: AnimateButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export { AnimateButton };
|
|
14
13
|
export type { AnimateButtonProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimateButton.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/AnimateButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AnimateButton.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/AnimateButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,KAAK,kBAAkB,GAAG,iBAAiB,CAAC;IAC1C,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAC;IACpC,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;CACjD,CAAC,CAAC;AAEH,iBAAS,aAAa,CAAC,EACrB,QAAQ,EACR,IAAc,EACd,SAAmB,EACnB,MAAW,EACX,KAGC,EACF,EAAE,kBAAkB,2CAmEpB;AAED,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
type AvatarProps = {
|
|
3
|
-
children: React.ReactNode;
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
type AvatarProps = PropsWithChildren<{
|
|
4
3
|
color: string;
|
|
5
4
|
type: 'filled' | 'outlined' | 'combined';
|
|
6
5
|
size: 'badge' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
7
6
|
variant: 'circular' | 'rounded' | 'square';
|
|
8
|
-
}
|
|
7
|
+
}>;
|
|
9
8
|
declare function Avatar({ variant, children, color, type, size, ...others }: AvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export { Avatar };
|
|
11
10
|
export type { AvatarProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/Avatar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/Avatar.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAqG1C,KAAK,WAAW,GAAG,iBAAiB,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,GAAG,UAAU,GAAG,UAAU,CAAC;IACzC,IAAI,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjD,OAAO,EAAE,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAC;CAC5C,CAAC,CAAC;AAEH,iBAAS,MAAM,CAAC,EAAE,OAAoB,EAAE,QAAQ,EAAE,KAAiB,EAAE,IAAI,EAAE,IAAW,EAAE,GAAG,MAAM,EAAE,EAAE,WAAW,2CAQ/G;AAED,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
type IconButtonProps = {
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
type IconButtonProps = PropsWithChildren<{
|
|
3
3
|
variant?: string;
|
|
4
4
|
shape?: string;
|
|
5
|
-
children: React.ReactNode;
|
|
6
5
|
color?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const IconButton: import("react").ForwardRefExoticComponent<
|
|
6
|
+
}>;
|
|
7
|
+
declare const IconButton: import("react").ForwardRefExoticComponent<{
|
|
8
|
+
variant?: string | undefined;
|
|
9
|
+
shape?: string | undefined;
|
|
10
|
+
color?: string | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<unknown>>;
|
|
9
14
|
export { IconButton };
|
|
10
15
|
export type { IconButtonProps };
|
|
11
16
|
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/IconButton.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/IconButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AA4ItD,KAAK,eAAe,GAAG,iBAAiB,CAAC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,QAAA,MAAM,UAAU;;;;;;2CAWf,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
type LoadingButtonProps = {
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
type LoadingButtonProps = PropsWithChildren<{
|
|
3
3
|
variant?: 'text' | 'outlined' | 'contained';
|
|
4
4
|
shape: string;
|
|
5
|
-
children: React.ReactNode;
|
|
6
5
|
loading: boolean;
|
|
7
6
|
loadingPosition: 'center' | 'start' | 'end';
|
|
8
7
|
color: 'inherit' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' | undefined;
|
|
9
|
-
}
|
|
10
|
-
declare const LoadingButton: import("react").ForwardRefExoticComponent<
|
|
8
|
+
}>;
|
|
9
|
+
declare const LoadingButton: import("react").ForwardRefExoticComponent<{
|
|
10
|
+
variant?: "text" | "outlined" | "contained" | undefined;
|
|
11
|
+
shape: string;
|
|
12
|
+
loading: boolean;
|
|
13
|
+
loadingPosition: 'center' | 'start' | 'end';
|
|
14
|
+
color: 'inherit' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' | undefined;
|
|
15
|
+
} & {
|
|
16
|
+
children?: import("react").ReactNode;
|
|
17
|
+
} & import("react").RefAttributes<unknown>>;
|
|
11
18
|
export { LoadingButton };
|
|
12
19
|
export type { LoadingButtonProps };
|
|
13
20
|
//# sourceMappingURL=LoadingButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingButton.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/LoadingButton.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"LoadingButton.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/LoadingButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AA4MtD,KAAK,kBAAkB,GAAG,iBAAiB,CAAC;IAC1C,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,WAAW,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAC;IAC5C,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;CACnG,CAAC,CAAC;AAEH,QAAA,MAAM,aAAa;;WANV,MAAM;aACJ,OAAO;qBACC,QAAQ,GAAG,OAAO,GAAG,KAAK;WACpC,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS;;;2CA0BlG,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
type TooltipProps = {
|
|
3
|
-
children: React.ReactNode;
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
type TooltipProps = PropsWithChildren<{
|
|
4
3
|
arrow: boolean;
|
|
5
4
|
labelColor?: string;
|
|
6
5
|
rest: any;
|
|
7
|
-
}
|
|
6
|
+
}>;
|
|
8
7
|
declare function Tooltip({ children, arrow, labelColor, ...rest }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export { Tooltip };
|
|
10
9
|
export type { TooltipProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/Tooltip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/Tooltip.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAqD1C,KAAK,YAAY,GAAG,iBAAiB,CAAC;IACpC,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,GAAG,CAAC;CACX,CAAC,CAAC;AAEH,iBAAS,OAAO,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAe,EAAE,GAAG,IAAI,EAAE,EAAE,YAAY,2CAU3E;AAED,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,YAAY,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
declare const Transitions: import("react").ForwardRefExoticComponent<{
|
|
3
|
+
type?: "zoom" | "collapse" | "slide" | "grow" | "fade" | undefined;
|
|
4
|
+
position?: "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
5
|
+
direction?: "left" | "right" | "up" | "down" | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
children?: import("react").ReactNode;
|
|
8
|
+
} & import("react").RefAttributes<unknown>>;
|
|
9
9
|
declare const PopupTransition: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
10
10
|
export { PopupTransition, Transitions };
|
|
11
11
|
//# sourceMappingURL=Transitions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transitions.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/Transitions.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Transitions.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/Transitions.tsx"],"names":[],"mappings":";AASA,QAAA,MAAM,WAAW;;;;;;2CAgGhB,CAAC;AAEF,QAAA,MAAM,eAAe,mFAGnB,CAAC;AAEH,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type ActionsMenuProps = {
|
|
3
|
-
children: React.ReactNode;
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
type ActionsMenuProps = PropsWithChildren<{
|
|
4
3
|
horizontal?: boolean;
|
|
5
|
-
}
|
|
4
|
+
}>;
|
|
6
5
|
/**
|
|
7
6
|
* Allows you to draw a menu of actions grouped within a popover.
|
|
8
7
|
* Inside the menu you can insert one or more components that, it is advisable, are buttons.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsMenu.tsx"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"ActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsMenu.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAY,iBAAiB,EAAyB,MAAM,OAAO,CAAC;AAwBlF,KAAK,gBAAgB,GAAG,iBAAiB,CAAC;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAEpE;;;;;;;;;GASG;AACH,iBAAS,WAAW,CAAC,EAAE,UAAkB,EAAE,QAAQ,EAAE,EAAE,gBAAgB,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAqDlG;AAED,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,YAAY,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -6,9 +6,10 @@ type AppState = {
|
|
|
6
6
|
closeDialog: (id: string, callback: () => void) => void;
|
|
7
7
|
};
|
|
8
8
|
declare const AppStateContext: import("react").Context<AppState>;
|
|
9
|
-
|
|
9
|
+
type AppStateProviderProps = {
|
|
10
10
|
children: React.ReactNode;
|
|
11
|
-
}
|
|
11
|
+
};
|
|
12
|
+
declare function AppStateProvider(props: AppStateProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
declare function useAppState(): AppState;
|
|
13
14
|
/**
|
|
14
15
|
* Hook to get the current application configuration.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppStateProvider.d.ts","sourceRoot":"","sources":["../../../src/components/AppStateProvider.tsx"],"names":[],"mappings":";AAEA,KAAK,QAAQ,GAAG;IACd,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,gBAAgB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACtC,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IACvD,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;CACzD,CAAC;AAqBF,QAAA,MAAM,eAAe,mCAAwC,CAAC;AAE9D,
|
|
1
|
+
{"version":3,"file":"AppStateProvider.d.ts","sourceRoot":"","sources":["../../../src/components/AppStateProvider.tsx"],"names":[],"mappings":";AAEA,KAAK,QAAQ,GAAG;IACd,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,gBAAgB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACtC,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IACvD,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;CACzD,CAAC;AAqBF,QAAA,MAAM,eAAe,mCAAwC,CAAC;AAE9D,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,iBAAS,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,2CA8BrD;AAED,iBAAS,WAAW,IAAI,QAAQ,CAM/B;AACD;;;GAGG;AACH,iBAAS,YAAY,IAAI,QAAQ,CAGhC;AAED,YAAY,EAAE,QAAQ,EAAE,CAAC;AACzB,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
type AuthCardProps =
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
declare function AuthCard({ children, ...other }: AuthCardProps): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
type AuthCardProps = PropsWithChildren;
|
|
3
|
+
declare function AuthCard({ children }: AuthCardProps): import("react/jsx-runtime").JSX.Element;
|
|
6
4
|
export { AuthCard };
|
|
7
5
|
export type { AuthCardProps };
|
|
8
6
|
//# sourceMappingURL=AuthCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthCard.d.ts","sourceRoot":"","sources":["../../../src/components/AuthCard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AuthCard.d.ts","sourceRoot":"","sources":["../../../src/components/AuthCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,KAAK,aAAa,GAAG,iBAAiB,CAAC;AAEvC,iBAAS,QAAQ,CAAC,EAAE,QAAQ,EAAE,EAAE,aAAa,2CAqB5C;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type AuthWrapperProps = {
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
type AuthWrapperProps = PropsWithChildren<{
|
|
3
3
|
version: string;
|
|
4
4
|
name: string;
|
|
5
5
|
copy?: string;
|
|
6
6
|
background?: React.ReactNode | React.ComponentType;
|
|
7
|
-
children: React.ReactNode;
|
|
8
7
|
logo?: React.ReactNode;
|
|
9
|
-
}
|
|
8
|
+
}>;
|
|
10
9
|
declare function AuthWrapper({ version, name, copy, children, logo, background }: AuthWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export { AuthWrapper };
|
|
12
11
|
//# sourceMappingURL=AuthWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/AuthWrapper.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/AuthWrapper.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,KAAK,gBAAgB,GAAG,iBAAiB,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC;IACnD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC,CAAC;AAEH,iBAAS,WAAW,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,UAA2B,EAAE,EAAE,gBAAgB,2CAmC1G;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
type MenuItem = {
|
|
3
3
|
id: string;
|
|
4
4
|
title: string;
|
|
@@ -32,11 +32,10 @@ type MenuProviderContextProps = {
|
|
|
32
32
|
hasError: (error: any) => void;
|
|
33
33
|
setMenu: (menu: MenuItem[]) => void;
|
|
34
34
|
};
|
|
35
|
-
type MenuProviderProps = {
|
|
35
|
+
type MenuProviderProps = PropsWithChildren<{
|
|
36
36
|
menu: MenuItem[];
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
declare function MenuConfigProvider({ menu, children }: MenuProviderProps): JSX.Element;
|
|
37
|
+
}>;
|
|
38
|
+
declare function MenuConfigProvider({ menu, children }: MenuProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
40
39
|
declare function useMenuContext(): MenuProviderContextProps;
|
|
41
40
|
type UseMenuProps = {
|
|
42
41
|
menu: MenuGroup[] | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/MenuProvider.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"MenuProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/MenuProvider.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,iBAAiB,EAA2D,MAAM,OAAO,CAAC;AAGnG,KAAK,QAAQ,GAAG;IACd,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,KAAK,SAAS,GAAG,QAAQ,GAAG;IAC1B,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC;CACxB,CAAC;AACF,KAAK,cAAc,GAAG,QAAQ,GAAG;IAC/B,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,KAAK,eAAe,GAAG,MAAM,EAAE,GAAG,SAAS,CAAC;AA2L5C,KAAK,wBAAwB,GAAG;IAC9B,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,QAAQ,EAAE,CAAC;IACjB,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,QAAQ,EAAE,KAAK,IAAI,CAAC;CACrC,CAAC;AAoBF,KAAK,iBAAiB,GAAG,iBAAiB,CAAC;IACzC,IAAI,EAAE,QAAQ,EAAE,CAAC;CAClB,CAAC,CAAC;AAGH,iBAAS,kBAAkB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CAoChE;AACD,iBAAS,cAAc,IAAI,wBAAwB,CAElD;AAED,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,QAAQ,GAAG,SAAS,CAAC;IAC9C,UAAU,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,MAAM,KAAK,QAAQ,GAAG,SAAS,CAAC;CACrE,CAAC;AACF,iBAAS,OAAO,IAAI,YAAY,CAgC/B;AAED,iBAAS,cAAc;;;;;;EA4DtB;AAED,iBAAS,aAAa,IAAI,wBAAwB,CAEjD;AACD,YAAY,EACV,cAAc,EACd,SAAS,EACT,QAAQ,EACR,eAAe,EACf,wBAAwB,EACxB,iBAAiB,EACjB,YAAY,EACb,CAAC;AACF,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SxProps } from '@mui/material';
|
|
3
|
-
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
type NavListProps = PropsWithChildren<{
|
|
4
4
|
sx?: SxProps;
|
|
5
|
-
|
|
6
|
-
};
|
|
5
|
+
}>;
|
|
7
6
|
declare function NavList(props: NavListProps): JSX.Element;
|
|
8
7
|
export { NavList };
|
|
9
8
|
//# sourceMappingURL=NavList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Navigation/NavList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Navigation/NavList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,KAAK,YAAY,GAAG,iBAAiB,CAAC;IAAE,EAAE,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAExD,iBAAS,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAWjD;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
type ThemeMode = 'light' | 'dark';
|
|
3
3
|
type ThemeOrientation = 'vertical' | 'horizontal';
|
|
4
4
|
type ThemeDirection = 'ltr' | 'rtl';
|
|
@@ -29,10 +29,9 @@ type ThemeConfig = {
|
|
|
29
29
|
isVerticalLayout: (layout: ThemeDirection) => boolean;
|
|
30
30
|
isHorizontalLayout: (layout: ThemeDirection) => boolean;
|
|
31
31
|
};
|
|
32
|
-
type ThemeProvierProps = {
|
|
33
|
-
children: React.ReactNode;
|
|
32
|
+
type ThemeProvierProps = PropsWithChildren<{
|
|
34
33
|
initialConfig: ThemeConfig;
|
|
35
|
-
}
|
|
34
|
+
}>;
|
|
36
35
|
declare const ThemeContext: import("react").Context<ThemeConfig>;
|
|
37
36
|
declare function ThemeProvider({ initialConfig, children }: ThemeProvierProps): JSX.Element;
|
|
38
37
|
declare function useThemeContext(): ThemeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/ThemeProvider.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/ThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAA6B,MAAM,OAAO,CAAC;AAErE,KAAK,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAClC,KAAK,gBAAgB,GAAG,UAAU,GAAG,YAAY,CAAC;AAElD,KAAK,cAAc,GAAG,KAAK,GAAG,KAAK,CAAC;AAEpC,KAAK,gBAAgB,GACjB,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAC;AAEb,KAAK,eAAe,GAChB,qBAAqB,GACrB,uBAAuB,GACvB,sBAAsB,GACtB,2BAA2B,CAAC;AAEhC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,eAAe,CAAC;IAC5B,eAAe,EAAE,gBAAgB,CAAC;IAClC,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,SAAS,CAAC;IAChB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAEhB,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;IAC5D,gBAAgB,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,OAAO,CAAC;IACtD,kBAAkB,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,OAAO,CAAC;CACzD,CAAC;AAEF,KAAK,iBAAiB,GAAG,iBAAiB,CAAC;IAAE,aAAa,EAAE,WAAW,CAAA;CAAE,CAAC,CAAC;AAwC3E,QAAA,MAAM,YAAY,sCAA8B,CAAC;AAEjD,iBAAS,aAAa,CAAC,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAuDlF;AAED,iBAAS,eAAe,IAAI,WAAW,CAEtC;AAED,iBAAS,cAAc,IAAI,WAAW,CAErC;AAED,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;AAC5G,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Arrow } from '../../components/MenuPopover/types';
|
|
2
|
-
import
|
|
3
|
-
type MenuPopoverProps = {
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
type MenuPopoverProps = PropsWithChildren<{
|
|
4
4
|
open: HTMLElement;
|
|
5
|
-
children: React.ReactNode;
|
|
6
5
|
arrow?: Arrow;
|
|
7
6
|
disabledArrow?: boolean;
|
|
8
7
|
sx?: object;
|
|
9
|
-
}
|
|
8
|
+
}>;
|
|
10
9
|
declare function MenuPopover({ open, children, arrow, disabledArrow, sx, ...other }: MenuPopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export { MenuPopover };
|
|
12
11
|
//# sourceMappingURL=MenuPopover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuPopover.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuPopover/MenuPopover.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAEvD,OAAO,
|
|
1
|
+
{"version":3,"file":"MenuPopover.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuPopover/MenuPopover.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,KAAK,gBAAgB,GAAG,iBAAiB,CAAC;IACxC,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC,CAAC;AAEH,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAmB,EAAE,aAAa,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAgC1G;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SxProps } from '@mui/material/styles';
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import React, { PropsWithChildren } from 'react';
|
|
3
3
|
import { CreateControllerProps, RedirectionSideEffect } from 'react-admin';
|
|
4
4
|
declare function CreateInDialogButton({ fullWidth, maxWidth, label, record, redirect, scrollToTop, className, sx, style, fab, onSubmit, onSuccess, onError, ...controllerProps }: CreateInDialogButtonProps): JSX.Element;
|
|
5
|
-
type CreateInDialogButtonProps = CreateControllerProps & {
|
|
5
|
+
type CreateInDialogButtonProps = CreateControllerProps & PropsWithChildren<{
|
|
6
6
|
fullWidth?: boolean;
|
|
7
7
|
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | false;
|
|
8
8
|
label?: string;
|
|
@@ -12,7 +12,6 @@ type CreateInDialogButtonProps = CreateControllerProps & {
|
|
|
12
12
|
className?: string;
|
|
13
13
|
sx?: SxProps;
|
|
14
14
|
style?: React.CSSProperties;
|
|
15
|
-
children: React.ReactElement;
|
|
16
15
|
/**
|
|
17
16
|
* If set to false, the button will always render as a regular button, regardless of the screen size.
|
|
18
17
|
*/
|
|
@@ -30,7 +29,7 @@ type CreateInDialogButtonProps = CreateControllerProps & {
|
|
|
30
29
|
* @deprecated Use mutationOptions.onError instead
|
|
31
30
|
*/
|
|
32
31
|
onError?: (error: any) => void;
|
|
33
|
-
}
|
|
32
|
+
}>;
|
|
34
33
|
export { CreateInDialogButton };
|
|
35
34
|
export type { CreateInDialogButtonProps };
|
|
36
35
|
//# sourceMappingURL=CreateInDialogButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateInDialogButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-buttons/CreateInDialogButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAiB,MAAM,sBAAsB,CAAC;AAE9D,OAAO,
|
|
1
|
+
{"version":3,"file":"CreateInDialogButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-buttons/CreateInDialogButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAiB,MAAM,sBAAsB,CAAC;AAE9D,OAAO,KAAK,EAAE,EAAY,iBAAiB,EAAyB,MAAM,OAAO,CAAC;AAClF,OAAO,EAIL,qBAAqB,EAErB,qBAAqB,EAQtB,MAAM,aAAa,CAAC;AAwBrB,iBAAS,oBAAoB,CAAC,EAC5B,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,CAwCzC;AAoHD,KAAK,yBAAyB,GAAG,qBAAqB,GACpD,iBAAiB,CAAC;IAChB,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;;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,CAAC;AAsBL,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAChC,YAAY,EAAE,yBAAyB,EAAE,CAAC"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { Breakpoint } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import React, { PropsWithChildren } from 'react';
|
|
3
3
|
import { EditControllerProps } from 'react-admin';
|
|
4
4
|
declare function EditInDialogButton({ fullWidth, maxWidth, label, style, children, ...props }: EditInDialogButtonProps): JSX.Element;
|
|
5
|
-
type EditInDialogButtonProps = EditControllerProps & {
|
|
5
|
+
type EditInDialogButtonProps = EditControllerProps & PropsWithChildren<{
|
|
6
6
|
fullWidth?: boolean;
|
|
7
7
|
maxWidth?: false | Breakpoint | undefined;
|
|
8
8
|
label?: string;
|
|
9
|
-
children: React.ReactElement;
|
|
10
9
|
style?: React.CSSProperties;
|
|
11
|
-
}
|
|
10
|
+
}>;
|
|
12
11
|
export { EditInDialogButton };
|
|
13
12
|
export type { EditInDialogButtonProps };
|
|
14
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":"AAGA,OAAO,EAAE,UAAU,EAAU,MAAM,eAAe,CAAC;AACnD,OAAO,
|
|
1
|
+
{"version":3,"file":"EditInDialogButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-buttons/EditInDialogButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAU,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,EAAY,iBAAiB,EAAyB,MAAM,OAAO,CAAC;AAClF,OAAO,EAGL,mBAAmB,EAOpB,MAAM,aAAa,CAAC;AAmErB,iBAAS,kBAAkB,CAAC,EAC1B,SAAgB,EAChB,QAAe,EACf,KAAwB,EACxB,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAkBvC;AAED,KAAK,uBAAuB,GAAG,mBAAmB,GAChD,iBAAiB,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,GAAG,UAAU,GAAG,SAAS,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC,CAAC;AAEL,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
declare function ReadonlyField({ label, source, defaultValue, children, tooltip: _tooltip, ...props }: ReadonlyFieldProps): JSX.Element;
|
|
3
|
-
type ReadonlyFieldProps = {
|
|
3
|
+
type ReadonlyFieldProps = PropsWithChildren<{
|
|
4
4
|
defaultValue: any;
|
|
5
5
|
tooltip: string | boolean | ((record: any) => string);
|
|
6
6
|
source: string;
|
|
7
7
|
label: string;
|
|
8
8
|
name: string;
|
|
9
|
-
children: React.ReactElement<any, any>;
|
|
10
9
|
fullWidth?: boolean;
|
|
11
|
-
}
|
|
10
|
+
}>;
|
|
12
11
|
export { ReadonlyField };
|
|
13
12
|
export type { ReadonlyFieldProps };
|
|
14
13
|
//# sourceMappingURL=ReadonlyField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadonlyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReadonlyField.tsx"],"names":[],"mappings":"AAKA,
|
|
1
|
+
{"version":3,"file":"ReadonlyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReadonlyField.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAY,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAoDpE,iBAAS,aAAa,CAAC,EACrB,KAAK,EACL,MAAM,EACN,YAAuB,EACvB,QAAiF,EACjF,OAAO,EAAE,QAAQ,EACjB,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAuClC;AAED,KAAK,kBAAkB,GAAG,iBAAiB,CAAC;IAC1C,YAAY,EAAE,GAAG,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,OAAO,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,MAAM,CAAC,CAAC;IACtD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC,CAAC;AAEH,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GridProps } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import React, { PropsWithChildren } from 'react';
|
|
3
3
|
/**
|
|
4
4
|
* Basic card form layout.
|
|
5
5
|
* It is a simple form layout that uses a card as the main container.
|
|
@@ -10,19 +10,17 @@ declare function CardForm({ children, spacing, defaultValues, ...gridProps }: Ca
|
|
|
10
10
|
declare namespace CardForm {
|
|
11
11
|
var Section: ({ children, content, title, subheader, secondary, toolbar, lg, md, sm, xs, ...gridProps }: SectionProps) => JSX.Element;
|
|
12
12
|
}
|
|
13
|
-
type CardFormProps = {
|
|
14
|
-
children: React.ReactNode;
|
|
13
|
+
type CardFormProps = PropsWithChildren<{
|
|
15
14
|
spacing?: number;
|
|
16
15
|
defaultValues?: any;
|
|
17
|
-
} & GridProps;
|
|
18
|
-
type SectionProps = {
|
|
19
|
-
children: React.ReactNode;
|
|
16
|
+
}> & GridProps;
|
|
17
|
+
type SectionProps = PropsWithChildren<{
|
|
20
18
|
content?: boolean | undefined | null;
|
|
21
19
|
title?: string | React.ReactNode | null;
|
|
22
20
|
subheader?: string | React.ReactNode;
|
|
23
21
|
secondary?: string | React.ReactNode;
|
|
24
22
|
toolbar?: React.ReactNode | boolean;
|
|
25
|
-
} & GridProps;
|
|
23
|
+
}> & GridProps;
|
|
26
24
|
export { CardForm };
|
|
27
25
|
export type { CardFormProps, SectionProps };
|
|
28
26
|
//# sourceMappingURL=CardForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/CardForm.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,
|
|
1
|
+
{"version":3,"file":"CardForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/CardForm.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAG1D;;;;;GAKG;AACH,iBAAS,QAAQ,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,SAAS,EAAE,EAAE,aAAa,GAAG,GAAG,CAAC,OAAO,CAUhG;kBAVQ,QAAQ;;;AA0EjB,KAAK,aAAa,GAAG,iBAAiB,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,GAAG,CAAC;CACrB,CAAC,GACA,SAAS,CAAC;AAEZ,KAAK,YAAY,GAAG,iBAAiB,CAAC;IACpC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACrC,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,OAAO,CAAC;CACrC,CAAC,GACA,SAAS,CAAC;AAIZ,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Theme } from '@mui/material/styles';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
3
|
import { CreateProps, Identifier, RaRecord } from 'react-admin';
|
|
4
4
|
import { UseQueryOptions } from 'react-query';
|
|
5
5
|
type ICreateProps<RecordType extends Omit<RaRecord, 'id'> = any, ResultRecordType extends RaRecord = RecordType & {
|
|
6
6
|
id: Identifier;
|
|
7
|
-
}> = CreateProps<RecordType, Error, ResultRecordType> & {
|
|
8
|
-
children: React.ReactNode;
|
|
7
|
+
}> = CreateProps<RecordType, Error, ResultRecordType> & PropsWithChildren<{
|
|
9
8
|
useDefaults?: boolean;
|
|
10
9
|
queryOptions?: UseQueryOptions;
|
|
11
|
-
}
|
|
10
|
+
}>;
|
|
12
11
|
type IResourceDefaultValue = object;
|
|
13
12
|
declare const Create: import("@emotion/styled").StyledComponent<Pick<CreateProps<any, Error, any> & {
|
|
14
|
-
children: React.ReactNode;
|
|
15
13
|
useDefaults?: boolean | undefined;
|
|
16
14
|
queryOptions?: UseQueryOptions<unknown, unknown, unknown, import("react-query").QueryKey> | undefined;
|
|
15
|
+
} & {
|
|
16
|
+
children?: import("react").ReactNode;
|
|
17
17
|
}, "children" | "queryOptions" | "useDefaults" | keyof CreateProps<any, Error, any>> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
18
18
|
declare function useResourceDefaultValues(): IResourceDefaultValue;
|
|
19
19
|
export { Create, useResourceDefaultValues };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Create.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Create.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAU,MAAM,sBAAsB,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAmD,MAAM,OAAO,CAAC;AAC3F,OAAO,EACL,WAAW,EACX,UAAU,EAEV,QAAQ,EAGT,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,eAAe,EAAY,MAAM,aAAa,CAAC;AAGxD,KAAK,YAAY,CACf,UAAU,SAAS,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,GAAG,EAC7C,gBAAgB,SAAS,QAAQ,GAAG,UAAU,GAAG;IAAE,EAAE,EAAE,UAAU,CAAA;CAAE,IACjE,WAAW,CAAC,UAAU,EAAE,KAAK,EAAE,gBAAgB,CAAC,GAClD,iBAAiB,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,eAAe,CAAC;CAChC,CAAC,CAAC;AAEL,KAAK,qBAAqB,GAAG,MAAM,CAAC;AAmDpC,QAAA,MAAM,MAAM;;;;;iJAyBT,CAAC;AAEJ,iBAAS,wBAAwB,IAAI,qBAAqB,CAEzD;AAED,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,CAAC;AAC5C,YAAY,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { TabbedFormProps as RaTabbedFormProps, TabProps } from 'react-admin';
|
|
3
|
-
type StackTabProps = TabProps &
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
};
|
|
3
|
+
type StackTabProps = TabProps & PropsWithChildren<Record<string, never>>;
|
|
6
4
|
declare function TabbedForm(props: TabbedFormProps): JSX.Element;
|
|
7
5
|
declare namespace TabbedForm {
|
|
8
6
|
var Tab: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabbedForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/TabbedForm.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TabbedForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/TabbedForm.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAGL,eAAe,IAAI,iBAAiB,EAEpC,QAAQ,EACT,MAAM,aAAa,CAAC;AAErB,KAAK,aAAa,GAAG,QAAQ,GAAG,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;AAmBzE,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAwDvD;kBAxDQ,UAAU;;;;;;;;;;;;;;;;;;;;AAyDnB,KAAK,eAAe,GAAG,iBAAiB,GAAG;IACzC,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;AAiBF,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SxProps } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import React, { PropsWithChildren } from 'react';
|
|
3
3
|
/**
|
|
4
4
|
* Allows you to display an array of inputs with a label and a helper text with the Mantis theme style.
|
|
5
5
|
*/
|
|
6
6
|
declare function LabeledArrayInput({ label, children, display, helperText, sx, addLabel, divider, fullWidth, ...props }: LabeledArrayInputProps): React.ReactElement;
|
|
7
|
-
type LabeledArrayInputProps = {
|
|
7
|
+
type LabeledArrayInputProps = PropsWithChildren<{
|
|
8
8
|
label?: string | boolean;
|
|
9
9
|
addLabel?: boolean;
|
|
10
10
|
resource?: string;
|
|
@@ -14,9 +14,8 @@ type LabeledArrayInputProps = {
|
|
|
14
14
|
helperText?: string | boolean;
|
|
15
15
|
divider?: boolean;
|
|
16
16
|
sx?: SxProps;
|
|
17
|
-
children: React.ReactElement;
|
|
18
17
|
fullWidth?: boolean;
|
|
19
|
-
}
|
|
18
|
+
}>;
|
|
20
19
|
export { LabeledArrayInput };
|
|
21
20
|
export type { LabeledArrayInputProps };
|
|
22
21
|
//# sourceMappingURL=LabeledArrayInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabeledArrayInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/LabeledArrayInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAqC,OAAO,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"LabeledArrayInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/LabeledArrayInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAqC,OAAO,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIjD;;GAEG;AACH,iBAAS,iBAAiB,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,OAAiB,EACjB,UAAU,EACV,EAAE,EACF,QAAQ,EACR,OAAe,EACf,SAAS,EACT,GAAG,KAAK,EACT,EAAE,sBAAsB,GAAG,KAAK,CAAC,YAAY,CA4D7C;AAED,KAAK,sBAAsB,GAAG,iBAAiB,CAAC;IAC9C,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC,CAAC;AAEH,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAC7B,YAAY,EAAE,sBAAsB,EAAE,CAAC"}
|