@applica-software-guru/react-admin 1.0.37 → 1.0.39
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/Edit.d.ts.map +1 -1
- package/dist/components/ra-inputs/BooleanInput.d.ts +2 -0
- package/dist/components/ra-inputs/BooleanInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/DateInput.d.ts +1 -0
- package/dist/components/ra-inputs/LabeledInput.d.ts +5 -1
- package/dist/components/ra-inputs/LabeledInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/NumberInput.d.ts +2 -0
- package/dist/components/ra-inputs/SelectArrayInput.d.ts +1 -0
- package/dist/components/ra-inputs/SelectInput.d.ts +1 -0
- package/dist/components/ra-inputs/SmartTextInput.d.ts +1 -0
- package/dist/components/ra-inputs/SmartTextInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/TextInput.d.ts +1 -0
- package/dist/components/ra-inputs/TimeInput.d.ts +1 -0
- package/dist/components/ra-lists/Datagrid.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/react-admin.cjs.js +48 -48
- package/dist/react-admin.es.js +6750 -6522
- package/dist/react-admin.umd.js +49 -49
- package/package.json +3 -2
- package/playground/src/menu.js +0 -7
- package/playground/src/theme.js +3 -5
- package/src/components/ra-forms/Edit.jsx +12 -6
- package/src/components/ra-forms/LongForm/LongForm.tsx +4 -1
- package/src/components/ra-forms/LongForm/LongFormTabs.tsx +0 -1
- package/src/components/ra-forms/LongForm/LongFormView.tsx +30 -7
- package/src/components/ra-forms/{SimpleForm.jsx → SimpleForm.tsx} +38 -27
- package/src/components/ra-forms/SimpleFormIterator.tsx +30 -0
- package/src/components/ra-inputs/ArrayInput.jsx +13 -13
- package/src/components/ra-inputs/LabeledInput.jsx +14 -5
- package/src/components/ra-lists/Datagrid.jsx +7 -8
- package/src/index.jsx +3 -1
- package/dist/components/ra-forms/SimpleForm.d.ts +0 -26
- package/dist/components/ra-forms/SimpleForm.d.ts.map +0 -1
- package/dist/components/ra-forms/SimpleFormIterator.d.ts +0 -5
- package/dist/components/ra-forms/SimpleFormIterator.d.ts.map +0 -1
- package/src/components/ra-forms/SimpleFormIterator.jsx +0 -14
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;4OAaI"}
|
|
@@ -6,6 +6,7 @@ declare function BooleanInput({ horizontal, ...props }: {
|
|
|
6
6
|
declare namespace BooleanInput {
|
|
7
7
|
const defaultProps: {
|
|
8
8
|
display: string;
|
|
9
|
+
divider: boolean;
|
|
9
10
|
options: {};
|
|
10
11
|
};
|
|
11
12
|
const propTypes: {
|
|
@@ -19,6 +20,7 @@ declare namespace BooleanInput {
|
|
|
19
20
|
source: PropTypes.Requireable<string>;
|
|
20
21
|
display: PropTypes.Requireable<string>;
|
|
21
22
|
helperText: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
|
|
23
|
+
divider: PropTypes.Requireable<boolean>;
|
|
22
24
|
options: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
23
25
|
disabled: PropTypes.Requireable<boolean>;
|
|
24
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BooleanInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/BooleanInput.jsx"],"names":[],"mappings":";AAWA;;;4CA+BC
|
|
1
|
+
{"version":3,"file":"BooleanInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/BooleanInput.jsx"],"names":[],"mappings":";AAWA;;;4CA+BC;;;;;;;;;;;;;;;;;;;;;;;sBAvCqB,YAAY"}
|
|
@@ -11,6 +11,7 @@ declare namespace DateInput {
|
|
|
11
11
|
source: import("prop-types").Requireable<string>;
|
|
12
12
|
display: import("prop-types").Requireable<string>;
|
|
13
13
|
helperText: import("prop-types").Requireable<NonNullable<string | boolean | null | undefined>>;
|
|
14
|
+
divider: import("prop-types").Requireable<boolean>;
|
|
14
15
|
};
|
|
15
16
|
const defaultProps: any;
|
|
16
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default LabeledInput;
|
|
2
|
-
declare function LabeledInput({ label, children, display, helperText, sx, addLabel, ...props }: {
|
|
2
|
+
declare function LabeledInput({ label, children, display, helperText, sx, addLabel, divider, ...props }: {
|
|
3
3
|
[x: string]: any;
|
|
4
4
|
label: any;
|
|
5
5
|
children: any;
|
|
@@ -7,6 +7,7 @@ declare function LabeledInput({ label, children, display, helperText, sx, addLab
|
|
|
7
7
|
helperText: any;
|
|
8
8
|
sx: any;
|
|
9
9
|
addLabel: any;
|
|
10
|
+
divider: any;
|
|
10
11
|
}): import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
declare namespace LabeledInput {
|
|
12
13
|
namespace propTypes {
|
|
@@ -19,10 +20,13 @@ declare namespace LabeledInput {
|
|
|
19
20
|
const source: PropTypes.Requireable<string>;
|
|
20
21
|
const display: PropTypes.Requireable<string>;
|
|
21
22
|
const helperText: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
|
|
23
|
+
const divider: PropTypes.Requireable<boolean>;
|
|
22
24
|
}
|
|
23
25
|
namespace defaultProps {
|
|
24
26
|
const display_1: string;
|
|
25
27
|
export { display_1 as display };
|
|
28
|
+
const divider_1: boolean;
|
|
29
|
+
export { divider_1 as divider };
|
|
26
30
|
}
|
|
27
31
|
}
|
|
28
32
|
import PropTypes from 'prop-types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabeledInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/LabeledInput.jsx"],"names":[],"mappings":";AAQA
|
|
1
|
+
{"version":3,"file":"LabeledInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/LabeledInput.jsx"],"names":[],"mappings":";AAQA;;;;;;;;;4CAuDC;;;;;;;;;;;;;;;;;;;;;sBA5DqB,YAAY"}
|
|
@@ -11,11 +11,13 @@ declare namespace NumberInput {
|
|
|
11
11
|
source: import("prop-types").Requireable<string>;
|
|
12
12
|
display: import("prop-types").Requireable<string>;
|
|
13
13
|
helperText: import("prop-types").Requireable<NonNullable<string | boolean | null | undefined>>;
|
|
14
|
+
divider: import("prop-types").Requireable<boolean>;
|
|
14
15
|
options: import("prop-types").Requireable<object>;
|
|
15
16
|
step: import("prop-types").Requireable<NonNullable<string | number>>;
|
|
16
17
|
};
|
|
17
18
|
const defaultProps: {
|
|
18
19
|
display: string;
|
|
20
|
+
divider: boolean;
|
|
19
21
|
options: {};
|
|
20
22
|
step: string;
|
|
21
23
|
textAlign: string;
|
|
@@ -15,6 +15,7 @@ declare namespace SelectArrayInput {
|
|
|
15
15
|
source: import("prop-types").Requireable<string>;
|
|
16
16
|
display: import("prop-types").Requireable<string>;
|
|
17
17
|
helperText: import("prop-types").Requireable<NonNullable<string | boolean | null | undefined>>;
|
|
18
|
+
divider: import("prop-types").Requireable<boolean>;
|
|
18
19
|
choices: import("prop-types").Requireable<object[]>;
|
|
19
20
|
className: import("prop-types").Requireable<string>;
|
|
20
21
|
options: import("prop-types").Requireable<object>;
|
|
@@ -11,6 +11,7 @@ declare namespace SelectInput {
|
|
|
11
11
|
source: import("prop-types").Requireable<string>;
|
|
12
12
|
display: import("prop-types").Requireable<string>;
|
|
13
13
|
helperText: import("prop-types").Requireable<NonNullable<string | boolean | null | undefined>>;
|
|
14
|
+
divider: import("prop-types").Requireable<boolean>;
|
|
14
15
|
emptyText: import("prop-types").Requireable<NonNullable<string | import("prop-types").ReactElementLike>>;
|
|
15
16
|
emptyValue: import("prop-types").Requireable<any>;
|
|
16
17
|
choices: import("prop-types").Requireable<object[]>;
|
|
@@ -20,6 +20,7 @@ declare namespace SmartTextInput {
|
|
|
20
20
|
source: PropTypes.Requireable<string>;
|
|
21
21
|
display: PropTypes.Requireable<string>;
|
|
22
22
|
helperText: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
|
|
23
|
+
divider: PropTypes.Requireable<boolean>;
|
|
23
24
|
className: PropTypes.Requireable<string>;
|
|
24
25
|
options: PropTypes.Requireable<object>;
|
|
25
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SmartTextInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/SmartTextInput.jsx"],"names":[],"mappings":";AAMA;;4CA0BC
|
|
1
|
+
{"version":3,"file":"SmartTextInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/SmartTextInput.jsx"],"names":[],"mappings":";AAMA;;4CA0BC;;;;;;;;;;;;;;;;;;;;;;;;sBA9BqB,YAAY"}
|
|
@@ -14,6 +14,7 @@ declare namespace TextInput {
|
|
|
14
14
|
source: import("prop-types").Requireable<string>;
|
|
15
15
|
display: import("prop-types").Requireable<string>;
|
|
16
16
|
helperText: import("prop-types").Requireable<NonNullable<string | boolean | null | undefined>>;
|
|
17
|
+
divider: import("prop-types").Requireable<boolean>;
|
|
17
18
|
className: import("prop-types").Requireable<string>;
|
|
18
19
|
options: import("prop-types").Requireable<object>;
|
|
19
20
|
};
|
|
@@ -12,6 +12,7 @@ declare namespace TimeInput {
|
|
|
12
12
|
source: import("prop-types").Requireable<string>;
|
|
13
13
|
display: import("prop-types").Requireable<string>;
|
|
14
14
|
helperText: import("prop-types").Requireable<NonNullable<string | boolean | null | undefined>>;
|
|
15
|
+
divider: import("prop-types").Requireable<boolean>;
|
|
15
16
|
};
|
|
16
17
|
}
|
|
17
18
|
//# sourceMappingURL=TimeInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Datagrid.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/Datagrid.jsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Datagrid.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/Datagrid.jsx"],"names":[],"mappings":";AA+BA,+EAAgE"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export * from "./hooks";
|
|
|
4
4
|
export * from "./components";
|
|
5
5
|
export * from "./contexts";
|
|
6
6
|
export * from "./utils";
|
|
7
|
-
export {
|
|
7
|
+
export { ArrayInputContext, BooleanField, BulkDeleteWithConfirmButton, Button, ChipField, choices, Confirm, Create, CreateButton, CreateContextProvider, CustomRoutes, DeleteWithConfirmButton, DeleteWithUndoButton, EditButton, EditContextProvider, FieldTitle, email, Form, HttpError, ListToolbar, maxLength, maxValue, minLength, minValue, number, Pagination, RecordContextProvider, ReferenceArrayField, ReferenceField, regex, required, Resource, ResourceContextProvider, SaveButton, SimpleFormIteratorContext, SimpleList, SingleFieldList, TopToolbar, UrlField, useArrayInput, useAuthProvider, useCreateController, useDataProvider, useEditContext, useGetIdentity, useGetList, useGetMany, useGetManyReference, useGetOne, useListContext, useNotify, usePermissions, useRecordContext, useRefresh, useResourceContext, useResourceDefinition, useResourceDefinitions, useTranslate, useUnselect, useUnselectAll, useUpdateMany } from "react-admin";
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|