@applica-software-guru/react-admin 1.0.46 → 1.0.51
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/bitbucket-pipelines.yml +2 -1
- package/dist/AdminContext.d.ts +5 -10
- package/dist/AdminContext.d.ts.map +1 -1
- package/dist/ApplicaAdmin.d.ts +51 -17
- package/dist/ApplicaAdmin.d.ts.map +1 -1
- package/dist/components/@extended/Breadcrumbs.d.ts +1 -0
- package/dist/components/@extended/Breadcrumbs.d.ts.map +1 -1
- package/dist/components/Layout/Drawer/DrawerHeader/DrawerHeaderStyled.d.ts +1 -1
- package/dist/components/MainCard.d.ts +70 -1
- package/dist/components/MainCard.d.ts.map +1 -1
- package/dist/components/Notification.d.ts +2 -2
- package/dist/components/ra-forms/TabbedForm.d.ts +2 -2
- package/dist/components/ra-lists/Datagrid.d.ts +25 -12
- package/dist/components/ra-lists/Datagrid.d.ts.map +1 -1
- package/dist/components/ra-lists/Empty.d.ts +42 -17
- package/dist/components/ra-lists/Empty.d.ts.map +1 -1
- package/dist/components/ra-lists/List.d.ts +8 -6
- package/dist/components/ra-lists/List.d.ts.map +1 -1
- package/dist/components/ra-lists/index.d.ts +1 -1
- package/dist/components/ra-lists/index.d.ts.map +1 -1
- package/dist/contexts/MenuConfigContext.d.ts +34 -12
- package/dist/contexts/MenuConfigContext.d.ts.map +1 -1
- package/dist/contexts/MenuPropTypes.d.ts +1 -0
- package/dist/contexts/MenuPropTypes.d.ts.map +1 -1
- package/dist/dev/index.d.ts +1 -2
- package/dist/dev/index.d.ts.map +1 -1
- package/dist/dev/useCliErrorCatcher.d.ts +57 -29
- package/dist/dev/useCliErrorCatcher.d.ts.map +1 -1
- package/dist/i18n/useI18nCatcher.d.ts +26 -13
- package/dist/i18n/useI18nCatcher.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +44 -44
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +3893 -3886
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +44 -44
- package/dist/react-admin.umd.js.map +1 -1
- package/dist/types.d.ts +54 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/AdminContext.tsx +19 -0
- package/src/{ApplicaAdmin.jsx → ApplicaAdmin.tsx} +115 -50
- package/src/components/{MainCard.jsx → MainCard.tsx} +74 -3
- package/src/components/ra-lists/{Datagrid.jsx → Datagrid.tsx} +14 -3
- package/src/components/ra-lists/{Empty.jsx → Empty.tsx} +31 -2
- package/src/components/ra-lists/{List.jsx → List.tsx} +3 -2
- package/src/contexts/MenuConfigContext.tsx +117 -0
- package/src/contexts/MenuPropTypes.jsx +2 -1
- package/src/dev/useCliErrorCatcher.ts +142 -0
- package/src/i18n/{useI18nCatcher.jsx → useI18nCatcher.ts} +49 -11
- package/src/types.ts +55 -0
- package/src/AdminContext.jsx +0 -24
- package/src/contexts/MenuConfigContext.jsx +0 -93
- package/src/dev/useCliErrorCatcher.jsx +0 -86
- /package/src/components/ra-lists/{index.jsx → index.ts} +0 -0
- /package/src/dev/{index.jsx → index.ts} +0 -0
package/bitbucket-pipelines.yml
CHANGED
|
@@ -16,9 +16,10 @@ pipelines:
|
|
|
16
16
|
- pipe: atlassian/git-secrets-scan:0.5.1
|
|
17
17
|
- step:
|
|
18
18
|
name: Deploy
|
|
19
|
+
size: 2x
|
|
19
20
|
deployment: Production
|
|
20
21
|
script:
|
|
21
|
-
- export NODE_OPTIONS=--max_old_space_size=
|
|
22
|
+
- export NODE_OPTIONS=--max_old_space_size=8192
|
|
22
23
|
- npm --no-git-tag-version version "1.0.$BITBUCKET_BUILD_NUMBER" -m "Upgrade to new version"
|
|
23
24
|
- echo $VERSION
|
|
24
25
|
- yarn install
|
package/dist/AdminContext.d.ts
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
|
+
import { CoreAdminContextProps } from 'react-admin';
|
|
2
|
+
declare const AdminContext: {
|
|
3
|
+
({ children, theme, ...props }: CoreAdminContextProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
1
6
|
export default AdminContext;
|
|
2
|
-
declare function AdminContext({ children, theme, ...props }: {
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
children: any;
|
|
5
|
-
theme: any;
|
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare namespace AdminContext {
|
|
8
|
-
const displayName: string;
|
|
9
|
-
const defaultProps: any;
|
|
10
|
-
const propTypes: any;
|
|
11
|
-
}
|
|
12
7
|
//# sourceMappingURL=AdminContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdminContext.d.ts","sourceRoot":"","sources":["../../src/AdminContext.
|
|
1
|
+
{"version":3,"file":"AdminContext.d.ts","sourceRoot":"","sources":["../../src/AdminContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAKtE,QAAA,MAAM,YAAY;oCAAmC,qBAAqB;;CASzE,CAAC;AAIF,eAAe,YAAY,CAAC"}
|
package/dist/ApplicaAdmin.d.ts
CHANGED
|
@@ -1,31 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { AdminProps } from 'react-admin';
|
|
2
|
+
import { MenuProps } from 'src/types';
|
|
3
|
+
export type ApplicaAdminProps = AdminProps & {
|
|
4
4
|
theme: any;
|
|
5
|
-
apiUrl:
|
|
6
|
-
defaultLocale:
|
|
7
|
-
development:
|
|
5
|
+
apiUrl: string;
|
|
6
|
+
defaultLocale: string;
|
|
7
|
+
development: boolean;
|
|
8
8
|
logoMain: any;
|
|
9
9
|
logoIcon: any;
|
|
10
|
-
menu:
|
|
11
|
-
name:
|
|
12
|
-
version:
|
|
10
|
+
menu: MenuProps;
|
|
11
|
+
name: string;
|
|
12
|
+
version: string;
|
|
13
13
|
dataProvider: any;
|
|
14
14
|
authProvider: any;
|
|
15
|
-
notification:
|
|
16
|
-
disableNotification:
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
notification: string;
|
|
16
|
+
disableNotification: boolean;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Definisce un'applicazione super figa basata su React Admi, Mantis Theme ed il nostro stile.
|
|
20
|
+
* Ogni applicazione che crei dovrebbe partire con un 'C'era una volta un ApplicaAdmin'.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // Esempio di utilizzo
|
|
24
|
+
* import { ApplicaAdmin } from '@applica-software-guru/react-admin';
|
|
25
|
+
* import { createAuthProvider } from '@applica-software-guru/iam-client';
|
|
26
|
+
* import { createDataProvider } from '@applica-software-guru/crud-client';
|
|
27
|
+
* import * as entities from './entities';
|
|
28
|
+
*
|
|
29
|
+
* const apiUrl = "https://bimbobruno.applica.guru/api";
|
|
30
|
+
* const authProvider = createAuthProvider({ apiUrl });
|
|
31
|
+
* const getToken = async () => await authProvider.getToken();
|
|
32
|
+
* const getHeaders = async () => await authProvider.getHeaders();
|
|
33
|
+
*
|
|
34
|
+
* const dataProvider = createDataProvider({ apiUrl, getToken, getHeaders });
|
|
35
|
+
*
|
|
36
|
+
* const App = () => (
|
|
37
|
+
* <ApplicaAdmin
|
|
38
|
+
* apiUrl="https://api.applica.software-guru.it"
|
|
39
|
+
* dataProvider={dataProvider}
|
|
40
|
+
* authProvider={authProvider}
|
|
41
|
+
* menu={menu}
|
|
42
|
+
* name="Applica Admin"
|
|
43
|
+
* version="1.0.0">
|
|
44
|
+
* <Resource name="entities/user" {...entities.user} />
|
|
45
|
+
* </ApplicaAdmin>
|
|
46
|
+
*
|
|
47
|
+
* @param {ApplicaAdminProps}
|
|
48
|
+
* @returns {React.ReactElement}
|
|
49
|
+
*/
|
|
50
|
+
declare const ApplicaAdmin: {
|
|
51
|
+
({ theme, apiUrl, defaultLocale, development, logoMain, logoIcon, menu, name, version, dataProvider, authProvider, notification, disableNotification, ...props }: ApplicaAdminProps): import("react/jsx-runtime").JSX.Element | null;
|
|
52
|
+
defaultProps: {
|
|
20
53
|
fileFields: never[];
|
|
21
54
|
defaultLocale: string;
|
|
22
55
|
development: boolean;
|
|
23
56
|
version: string;
|
|
24
57
|
notification: string;
|
|
25
58
|
disableNotification: boolean;
|
|
26
|
-
store: import("
|
|
59
|
+
store: import("react-admin").Store;
|
|
27
60
|
title: string;
|
|
28
61
|
};
|
|
29
|
-
|
|
30
|
-
}
|
|
62
|
+
propTypes: any;
|
|
63
|
+
};
|
|
64
|
+
export default ApplicaAdmin;
|
|
31
65
|
//# sourceMappingURL=ApplicaAdmin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicaAdmin.d.ts","sourceRoot":"","sources":["../../src/ApplicaAdmin.
|
|
1
|
+
{"version":3,"file":"ApplicaAdmin.d.ts","sourceRoot":"","sources":["../../src/ApplicaAdmin.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AA+BtC,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG;IAC3C,KAAK,EAAE,GAAG,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,GAAG,CAAC;IACd,QAAQ,EAAE,GAAG,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,GAAG,CAAC;IAClB,YAAY,EAAE,GAAG,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,QAAA,MAAM,YAAY;sKAsEf,iBAAiB;;;;;;;;;;;;CAmFnB,CAAC;AA6BF,eAAe,YAAY,CAAC"}
|
|
@@ -43,6 +43,7 @@ declare namespace Breadcrumbs {
|
|
|
43
43
|
url: PropTypes.Requireable<string>;
|
|
44
44
|
parent: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
|
|
45
45
|
children: PropTypes.Requireable<any[]>;
|
|
46
|
+
resource: PropTypes.Requireable<boolean>;
|
|
46
47
|
}> | null | undefined)[]>;
|
|
47
48
|
const mode_1: PropTypes.Requireable<string>;
|
|
48
49
|
export { mode_1 as mode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/Breadcrumbs.jsx"],"names":[],"mappings":";AA8BA;;;;;;;;;;;;;;;;4CA4OC
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../../src/components/@extended/Breadcrumbs.jsx"],"names":[],"mappings":";AA8BA;;;;;;;;;;;;;;;;4CA4OC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAlQqB,YAAY"}
|
|
@@ -6,5 +6,5 @@ declare const DrawerHeaderStyled: import("@emotion/styled").StyledComponent<impo
|
|
|
6
6
|
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
7
7
|
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
8
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
9
|
-
}, "children" | "ref" | "sx" | "component" | ("p" | "
|
|
9
|
+
}, "children" | "ref" | "sx" | "component" | ("p" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
10
10
|
//# sourceMappingURL=DrawerHeaderStyled.d.ts.map
|
|
@@ -1,3 +1,72 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SxProps } from '@mui/material/styles';
|
|
3
|
+
export type MainCardProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Indicates if the card must be rendered with a border.
|
|
6
|
+
*/
|
|
7
|
+
border?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Indicates if the card must be rendered with a box shadow.
|
|
10
|
+
*/
|
|
11
|
+
boxShadow?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The content of the card.
|
|
14
|
+
*/
|
|
15
|
+
children?: React.ReactNode | React.ReactNode[];
|
|
16
|
+
/**
|
|
17
|
+
* The subheader of the card.
|
|
18
|
+
*/
|
|
19
|
+
subheader?: React.ReactNode | string;
|
|
20
|
+
/**
|
|
21
|
+
* Indicates if the card must be rendered with a content.
|
|
22
|
+
*/
|
|
23
|
+
content?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The class name of the content.
|
|
26
|
+
*/
|
|
27
|
+
contentClass?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The style of the content.
|
|
30
|
+
*/
|
|
31
|
+
contentSX?: SxProps | any;
|
|
32
|
+
/**
|
|
33
|
+
* Indicates if the title of the card must be rendered with a dark color.
|
|
34
|
+
*/
|
|
35
|
+
darkTitle?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Indicates if the card must be rendered with a divider.
|
|
38
|
+
*/
|
|
39
|
+
divider?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* The elevation of the card.
|
|
42
|
+
*/
|
|
43
|
+
elevation?: number;
|
|
44
|
+
/**
|
|
45
|
+
* The secondary content of the card.
|
|
46
|
+
*/
|
|
47
|
+
secondary?: React.ReactNode | string | object;
|
|
48
|
+
/**
|
|
49
|
+
* The shadow of the card.
|
|
50
|
+
* @example '0px 0px 0px 0px rgba(0,0,0,0.2)'
|
|
51
|
+
*/
|
|
52
|
+
shadow?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The style of the card.
|
|
55
|
+
*/
|
|
56
|
+
sx?: SxProps | any;
|
|
57
|
+
/**
|
|
58
|
+
* The title of the card.
|
|
59
|
+
*/
|
|
60
|
+
title?: React.ReactNode | string | object;
|
|
61
|
+
/**
|
|
62
|
+
* Indicates if the card must be rendered as a modal.
|
|
63
|
+
*/
|
|
64
|
+
modal?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* The color of the card.
|
|
67
|
+
*/
|
|
68
|
+
color?: 'default' | 'primary' | 'secondary';
|
|
69
|
+
};
|
|
70
|
+
declare const MainCard: import("react").ForwardRefExoticComponent<MainCardProps & import("react").RefAttributes<unknown>>;
|
|
1
71
|
export default MainCard;
|
|
2
|
-
declare const MainCard: import("react").ForwardRefExoticComponent<import("react").RefAttributes<any>>;
|
|
3
72
|
//# sourceMappingURL=MainCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MainCard.d.ts","sourceRoot":"","sources":["../../../src/components/MainCard.
|
|
1
|
+
{"version":3,"file":"MainCard.d.ts","sourceRoot":"","sources":["../../../src/components/MainCard.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAqB,MAAM,sBAAsB,CAAC;AAUlE,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IAC/C;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,GAAG,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;IAC9C;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,GAAG,GAAG,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;IAC1C;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;CAC7C,CAAC;AAEF,QAAA,MAAM,QAAQ,mGA8Eb,CAAC;AAqBF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default ApplicaStyledNotification;
|
|
2
|
-
declare const ApplicaStyledNotification: import("@emotion/styled").StyledComponent<Pick<Pick<import("react-admin").NotificationProps, "children" | "title" | "ref" | "slot" | "style" | "id" | "
|
|
2
|
+
declare const ApplicaStyledNotification: import("@emotion/styled").StyledComponent<Pick<Pick<import("react-admin").NotificationProps, "children" | "title" | "ref" | "slot" | "style" | "type" | "id" | "resource" | "lang" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "prefix" | "property" | "rel" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "anchorOrigin" | "autoHideDuration" | "ClickAwayListenerProps" | "ContentProps" | "disableWindowBlurListener" | "message" | "onClose" | "resumeHideDuration" | "sx" | "TransitionComponent" | "transitionDuration" | "TransitionProps" | "multiLine"> & Pick<import("prop-types").InferProps<{
|
|
3
3
|
type: import("prop-types").Requireable<string>;
|
|
4
4
|
autoHideDuration: import("prop-types").Requireable<number>;
|
|
5
5
|
multiLine: import("prop-types").Requireable<boolean>;
|
|
6
|
-
}>, never> & Pick<import("react-admin").NotificationProps, "children" | "title" | "ref" | "slot" | "style" | "id" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "
|
|
6
|
+
}>, never> & Pick<import("react-admin").NotificationProps, "children" | "title" | "ref" | "slot" | "style" | "key" | "id" | "resource" | "lang" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "anchorOrigin" | "ClickAwayListenerProps" | "ContentProps" | "disableWindowBlurListener" | "message" | "onClose" | "resumeHideDuration" | "sx" | "TransitionComponent" | "transitionDuration" | "TransitionProps">, keyof import("react-admin").NotificationProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
7
7
|
//# sourceMappingURL=Notification.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default ApplicaStyledTabbedForm;
|
|
2
|
-
declare const ApplicaStyledTabbedForm: import("@emotion/styled").StyledComponent<Pick<Pick<import("react-admin").TabbedFormProps, "children" | "title" | "slot" | "style" | "id" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "
|
|
2
|
+
declare const ApplicaStyledTabbedForm: import("@emotion/styled").StyledComponent<Pick<Pick<import("react-admin").TabbedFormProps, "children" | "title" | "slot" | "style" | "values" | "id" | "resource" | "lang" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "prefix" | "property" | "rel" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "toolbar" | "mode" | "noValidate" | "manifest" | "component" | "record" | "mutationMode" | "reValidateMode" | "resetOptions" | "resolver" | "shouldFocusError" | "shouldUnregister" | "shouldUseNativeValidation" | "progressive" | "criteriaMode" | "delayError" | "formRootPathname" | "warnWhenUnsavedChanges" | "sanitizeEmptyValues" | "validate" | "syncWithLocation" | "tabs"> & Pick<import("prop-types").InferProps<{
|
|
3
3
|
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
4
4
|
defaultValues: import("prop-types").Requireable<object>;
|
|
5
5
|
formRootPathname: import("prop-types").Requireable<string>;
|
|
@@ -7,5 +7,5 @@ declare const ApplicaStyledTabbedForm: import("@emotion/styled").StyledComponent
|
|
|
7
7
|
record: import("prop-types").Requireable<object>;
|
|
8
8
|
saving: import("prop-types").Requireable<boolean>;
|
|
9
9
|
validate: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
10
|
-
}>, "saving" | "defaultValues"> & Pick<import("react-admin").TabbedFormProps, "title" | "slot" | "style" | "id" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "
|
|
10
|
+
}>, "saving" | "defaultValues"> & Pick<import("react-admin").TabbedFormProps, "title" | "slot" | "style" | "values" | "id" | "resource" | "lang" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "toolbar" | "mode" | "noValidate" | "manifest" | "component" | "reValidateMode" | "resetOptions" | "resolver" | "context" | "shouldFocusError" | "shouldUnregister" | "shouldUseNativeValidation" | "progressive" | "criteriaMode" | "delayError" | "warnWhenUnsavedChanges" | "sanitizeEmptyValues" | "syncWithLocation" | "tabs">, keyof import("react-admin").TabbedFormProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, {}, {}>;
|
|
11
11
|
//# sourceMappingURL=TabbedForm.d.ts.map
|
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { DatagridProps } from 'react-admin';
|
|
4
|
+
/**
|
|
5
|
+
* This component is a wrapper of the React-Admin Datagrid component.
|
|
6
|
+
* It is used to customize the Datagrid component.
|
|
7
|
+
* It is used by the List component.
|
|
8
|
+
* It is not meant to be used directly.
|
|
9
|
+
* Thsi version is designed by Applica for Mantis and expose few overrides on css styles based on this theme.
|
|
10
|
+
*
|
|
11
|
+
* @param {DatagridProps} props
|
|
12
|
+
* @returns {JSX.Element}
|
|
13
|
+
*/
|
|
14
|
+
declare const Datagrid: {
|
|
15
|
+
(props: DatagridProps): JSX.Element;
|
|
16
|
+
propTypes: {
|
|
5
17
|
body?: import("react").Validator<import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType | null | undefined> | undefined;
|
|
6
18
|
className?: import("react").Validator<string | null | undefined> | undefined;
|
|
7
19
|
bulkActionButtons?: import("react").Validator<false | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null | undefined> | undefined;
|
|
@@ -34,7 +46,10 @@ declare namespace Datagrid {
|
|
|
34
46
|
slot?: import("react").Validator<string | null | undefined> | undefined;
|
|
35
47
|
style?: import("react").Validator<import("react").CSSProperties | null | undefined> | undefined;
|
|
36
48
|
summary?: import("react").Validator<string | null | undefined> | undefined;
|
|
49
|
+
key?: import("react").Validator<import("react").Key | null | undefined> | undefined;
|
|
37
50
|
id?: import("react").Validator<string | null | undefined> | undefined;
|
|
51
|
+
resource?: import("react").Validator<string | null | undefined> | undefined;
|
|
52
|
+
lang?: import("react").Validator<string | null | undefined> | undefined;
|
|
38
53
|
defaultChecked?: import("react").Validator<boolean | null | undefined> | undefined;
|
|
39
54
|
defaultValue?: import("react").Validator<string | number | readonly string[] | null | undefined> | undefined;
|
|
40
55
|
suppressContentEditableWarning?: import("react").Validator<boolean | null | undefined> | undefined;
|
|
@@ -46,7 +61,6 @@ declare namespace Datagrid {
|
|
|
46
61
|
dir?: import("react").Validator<string | null | undefined> | undefined;
|
|
47
62
|
draggable?: import("react").Validator<(boolean | "true" | "false") | null | undefined> | undefined;
|
|
48
63
|
hidden?: import("react").Validator<boolean | null | undefined> | undefined;
|
|
49
|
-
lang?: import("react").Validator<string | null | undefined> | undefined;
|
|
50
64
|
nonce?: import("react").Validator<string | null | undefined> | undefined;
|
|
51
65
|
placeholder?: import("react").Validator<string | null | undefined> | undefined;
|
|
52
66
|
spellCheck?: import("react").Validator<(boolean | "true" | "false") | null | undefined> | undefined;
|
|
@@ -61,7 +75,6 @@ declare namespace Datagrid {
|
|
|
61
75
|
prefix?: import("react").Validator<string | null | undefined> | undefined;
|
|
62
76
|
property?: import("react").Validator<string | null | undefined> | undefined;
|
|
63
77
|
rel?: import("react").Validator<string | null | undefined> | undefined;
|
|
64
|
-
resource?: import("react").Validator<string | null | undefined> | undefined;
|
|
65
78
|
rev?: import("react").Validator<string | null | undefined> | undefined;
|
|
66
79
|
typeof?: import("react").Validator<string | null | undefined> | undefined;
|
|
67
80
|
vocab?: import("react").Validator<string | null | undefined> | undefined;
|
|
@@ -296,7 +309,6 @@ declare namespace Datagrid {
|
|
|
296
309
|
onAnimationIterationCapture?: import("react").Validator<import("react").AnimationEventHandler<HTMLTableElement> | null | undefined> | undefined;
|
|
297
310
|
onTransitionEnd?: import("react").Validator<import("react").TransitionEventHandler<HTMLTableElement> | null | undefined> | undefined;
|
|
298
311
|
onTransitionEndCapture?: import("react").Validator<import("react").TransitionEventHandler<HTMLTableElement> | null | undefined> | undefined;
|
|
299
|
-
key?: import("react").Validator<import("react").Key | null | undefined> | undefined;
|
|
300
312
|
sx?: import("react").Validator<import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined> | undefined;
|
|
301
313
|
border?: import("react").Validator<number | null | undefined> | undefined;
|
|
302
314
|
width?: import("react").Validator<string | number | null | undefined> | undefined;
|
|
@@ -309,7 +321,7 @@ declare namespace Datagrid {
|
|
|
309
321
|
rules?: import("react").Validator<"none" | "all" | "columns" | "rows" | "groups" | null | undefined> | undefined;
|
|
310
322
|
stickyHeader?: import("react").Validator<boolean | null | undefined> | undefined;
|
|
311
323
|
};
|
|
312
|
-
|
|
324
|
+
defaultProps: {
|
|
313
325
|
body?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ComponentType | undefined;
|
|
314
326
|
className?: string | undefined;
|
|
315
327
|
bulkActionButtons?: false | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
@@ -342,7 +354,10 @@ declare namespace Datagrid {
|
|
|
342
354
|
slot?: string | undefined;
|
|
343
355
|
style?: import("react").CSSProperties | undefined;
|
|
344
356
|
summary?: string | undefined;
|
|
357
|
+
key?: import("react").Key | null | undefined;
|
|
345
358
|
id?: string | undefined;
|
|
359
|
+
resource?: string | undefined;
|
|
360
|
+
lang?: string | undefined;
|
|
346
361
|
defaultChecked?: boolean | undefined;
|
|
347
362
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
348
363
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -354,7 +369,6 @@ declare namespace Datagrid {
|
|
|
354
369
|
dir?: string | undefined;
|
|
355
370
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
356
371
|
hidden?: boolean | undefined;
|
|
357
|
-
lang?: string | undefined;
|
|
358
372
|
nonce?: string | undefined;
|
|
359
373
|
placeholder?: string | undefined;
|
|
360
374
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
@@ -369,7 +383,6 @@ declare namespace Datagrid {
|
|
|
369
383
|
prefix?: string | undefined;
|
|
370
384
|
property?: string | undefined;
|
|
371
385
|
rel?: string | undefined;
|
|
372
|
-
resource?: string | undefined;
|
|
373
386
|
rev?: string | undefined;
|
|
374
387
|
typeof?: string | undefined;
|
|
375
388
|
vocab?: string | undefined;
|
|
@@ -604,7 +617,6 @@ declare namespace Datagrid {
|
|
|
604
617
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLTableElement> | undefined;
|
|
605
618
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLTableElement> | undefined;
|
|
606
619
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLTableElement> | undefined;
|
|
607
|
-
key?: import("react").Key | null | undefined;
|
|
608
620
|
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
609
621
|
border?: number | undefined;
|
|
610
622
|
width?: string | number | undefined;
|
|
@@ -617,5 +629,6 @@ declare namespace Datagrid {
|
|
|
617
629
|
rules?: "none" | "all" | "columns" | "rows" | "groups" | undefined;
|
|
618
630
|
stickyHeader?: boolean | undefined;
|
|
619
631
|
};
|
|
620
|
-
}
|
|
632
|
+
};
|
|
633
|
+
export default Datagrid;
|
|
621
634
|
//# sourceMappingURL=Datagrid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Datagrid.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/Datagrid.
|
|
1
|
+
{"version":3,"file":"Datagrid.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/Datagrid.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,aAAa,EAA0B,MAAM,aAAa,CAAC;AAgCpE;;;;;;;;;GASG;AACH,QAAA,MAAM,QAAQ;YAAW,aAAa,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwC,CAAC;AAS7F,eAAe,QAAQ,CAAC"}
|
|
@@ -1,19 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
const message: string;
|
|
3
|
-
const icon: string;
|
|
4
|
-
const toolbar: string;
|
|
5
|
-
}
|
|
6
|
-
export default Empty;
|
|
7
|
-
declare function Empty({ actions, className, ...props }: {
|
|
8
|
-
[x: string]: any;
|
|
9
|
-
actions: any;
|
|
10
|
-
className: any;
|
|
11
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare namespace Empty {
|
|
13
|
-
namespace propTypes {
|
|
14
|
-
const actions: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
15
|
-
const className: PropTypes.Requireable<string>;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
18
2
|
import PropTypes from 'prop-types';
|
|
3
|
+
export type EmptyProps = {
|
|
4
|
+
/**
|
|
5
|
+
* The actions of the empty page.
|
|
6
|
+
*
|
|
7
|
+
* @example <Button label="Refresh" onClick={refresh} />
|
|
8
|
+
* @example <Button label="Add" onClick={add} />
|
|
9
|
+
* @example <Button label="Export" onClick={export} />
|
|
10
|
+
* @example <Button label="Import" onClick={import} />
|
|
11
|
+
**/
|
|
12
|
+
actions?: React.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* The class name of the empty page.
|
|
15
|
+
*
|
|
16
|
+
* @example 'my-custom-empty'
|
|
17
|
+
* @example 'my-custom-empty my-custom-empty--full-width'
|
|
18
|
+
**/
|
|
19
|
+
className?: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The Empty component is used to display a message when the list is empty.
|
|
23
|
+
* This component can be used only inside a List component.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* <List empty={<Empty actions={<Button label="Add" onClick={add} />} />} />
|
|
27
|
+
*
|
|
28
|
+
* @param {EmptyProps}
|
|
29
|
+
* @returns {JSX.Element}
|
|
30
|
+
*/
|
|
31
|
+
declare const Empty: {
|
|
32
|
+
({ actions, className, ...props }: EmptyProps): JSX.Element;
|
|
33
|
+
propTypes: {
|
|
34
|
+
actions: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
35
|
+
className: PropTypes.Requireable<string>;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare const EmptyClasses: {
|
|
39
|
+
message: string;
|
|
40
|
+
icon: string;
|
|
41
|
+
toolbar: string;
|
|
42
|
+
};
|
|
43
|
+
export default Empty;
|
|
19
44
|
//# sourceMappingURL=Empty.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Empty.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/Empty.
|
|
1
|
+
{"version":3,"file":"Empty.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/Empty.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,MAAM,MAAM,UAAU,GAAG;IACvB;;;;;;;QAOI;IACJ,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;;QAKI;IACJ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAMF;;;;;;;;;GASG;AACH,QAAA,MAAM,KAAK;uCAAsC,UAAU,GAAG,WAAW;;;;;CAoCxE,CAAC;AAIF,eAAO,MAAM,YAAY;;;;CAIxB,CAAC;AA8BF,eAAe,KAAK,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare
|
|
4
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ListProps } from 'react-admin';
|
|
3
|
+
declare const List: {
|
|
4
|
+
(props: ListProps): JSX.Element;
|
|
5
|
+
defaultProps: {
|
|
5
6
|
filter: {};
|
|
6
7
|
perPage: number;
|
|
7
8
|
};
|
|
8
|
-
|
|
9
|
+
propTypes: {
|
|
9
10
|
actions: import("prop-types").Requireable<NonNullable<boolean | import("prop-types").ReactElementLike>>;
|
|
10
11
|
aside: import("prop-types").Requireable<import("prop-types").ReactElementLike>;
|
|
11
12
|
children: import("prop-types").Validator<NonNullable<import("prop-types").ReactNodeLike>>;
|
|
@@ -29,5 +30,6 @@ declare namespace List {
|
|
|
29
30
|
hasShow: import("prop-types").Requireable<boolean>;
|
|
30
31
|
resource: import("prop-types").Requireable<string>;
|
|
31
32
|
};
|
|
32
|
-
}
|
|
33
|
+
};
|
|
34
|
+
export default List;
|
|
33
35
|
//# sourceMappingURL=List.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/List.
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/List.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAkB,MAAM,aAAa,CAAC;AAkExD,QAAA,MAAM,IAAI;YAAW,SAAS,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM3C,CAAC;AASF,eAAe,IAAI,CAAC"}
|