@applica-software-guru/react-admin 1.3.146 → 1.3.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ra-forms/Create.d.ts.map +1 -1
- package/dist/components/ra-forms/Edit.d.ts.map +1 -1
- package/dist/components/ra-forms/TabbedForm.d.ts +34 -10
- package/dist/components/ra-forms/TabbedForm.d.ts.map +1 -1
- package/dist/components/ra-forms/Toolbar.d.ts.map +1 -1
- package/dist/hooks/useResourceTitle.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +79 -63
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +9078 -8863
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +79 -63
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +6 -6
- package/src/components/ra-forms/Create.tsx +10 -3
- package/src/components/ra-forms/Edit.jsx +2 -1
- package/src/components/ra-forms/TabbedForm.tsx +70 -0
- package/src/components/ra-forms/Toolbar.jsx +2 -2
- package/src/hooks/useResourceTitle.jsx +3 -0
- package/src/components/ra-forms/TabbedForm.jsx +0 -19
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Create.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAiF,MAAM,aAAa,CAAC;AAGzH,OAAO,EAAY,eAAe,EAAE,MAAM,aAAa,CAAC;AAYxD,KAAK,qBAAqB,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Create.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAiF,MAAM,aAAa,CAAC;AAGzH,OAAO,EAAY,eAAe,EAAE,MAAM,aAAa,CAAC;AAYxD,KAAK,qBAAqB,GAAG,MAAM,CAAC;AAoDpC,iBAAS,wBAAwB,IAAI,qBAAqB,CAEzD;AAED,QAAA,MAAM,YAAY;cA7DN,MAAM,SAAS;;;yKAwExB,CAAC;AAEJ,eAAe,YAAY,CAAC;AAE5B,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Edit.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Edit.jsx"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Edit.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Edit.jsx"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;;;;;;;;;;;4OA0BI"}
|
|
@@ -1,11 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TabbedFormProps as RaTabbedFormProps } from 'react-admin';
|
|
3
|
+
export type TabbedFormProps = RaTabbedFormProps & {
|
|
4
|
+
modal?: boolean;
|
|
5
|
+
content?: boolean;
|
|
6
|
+
subheader?: string | React.ReactNode;
|
|
7
|
+
title?: string | React.ReactNode | boolean;
|
|
8
|
+
secondary?: string | React.ReactNode;
|
|
9
|
+
};
|
|
10
|
+
declare const ApplicaTabbedForm: {
|
|
11
|
+
(props: TabbedFormProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
defaultProps: {
|
|
13
|
+
toolbar: import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
secondary: import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
};
|
|
16
|
+
Tab: {
|
|
17
|
+
(props: import("react-admin").FormTabProps): JSX.Element;
|
|
18
|
+
propTypes: {
|
|
19
|
+
className: import("prop-types").Requireable<string>;
|
|
20
|
+
contentClassName: import("prop-types").Requireable<string>;
|
|
21
|
+
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
22
|
+
count: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
23
|
+
intent: import("prop-types").Requireable<string>;
|
|
24
|
+
hidden: import("prop-types").Requireable<boolean>;
|
|
25
|
+
icon: import("prop-types").Requireable<import("prop-types").ReactElementLike>;
|
|
26
|
+
label: import("prop-types").Validator<NonNullable<NonNullable<string | import("prop-types").ReactElementLike>>>;
|
|
27
|
+
path: import("prop-types").Requireable<string>;
|
|
28
|
+
resource: import("prop-types").Requireable<string>;
|
|
29
|
+
value: import("prop-types").Requireable<NonNullable<string | number>>;
|
|
30
|
+
};
|
|
31
|
+
displayName: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export default ApplicaTabbedForm;
|
|
11
35
|
//# sourceMappingURL=TabbedForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabbedForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/TabbedForm.
|
|
1
|
+
{"version":3,"file":"TabbedForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/TabbedForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA8B,eAAe,IAAI,iBAAiB,EAAuC,MAAM,aAAa,CAAC;AAOpI,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,GAAG,OAAO,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;CACtC,CAAC;AAcF,QAAA,MAAM,iBAAiB;YAAW,eAAe;;;;;;;;;;;;;;;;;;;;;;CAyBhD,CAAC;AAiBF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Toolbar.jsx"],"names":[],"mappings":";AAuBA,
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Toolbar.jsx"],"names":[],"mappings":";AAuBA,8EAAuD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useResourceTitle.d.ts","sourceRoot":"","sources":["../../../src/hooks/useResourceTitle.jsx"],"names":[],"mappings":";AAIA,
|
|
1
|
+
{"version":3,"file":"useResourceTitle.d.ts","sourceRoot":"","sources":["../../../src/hooks/useResourceTitle.jsx"],"names":[],"mappings":";AAIA,mDAqBC"}
|