@applica-software-guru/react-admin 1.0.38 → 1.0.40

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.
Files changed (36) hide show
  1. package/dist/components/ra-inputs/BooleanInput.d.ts +2 -0
  2. package/dist/components/ra-inputs/BooleanInput.d.ts.map +1 -1
  3. package/dist/components/ra-inputs/DateInput.d.ts +1 -0
  4. package/dist/components/ra-inputs/LabeledInput.d.ts +5 -1
  5. package/dist/components/ra-inputs/LabeledInput.d.ts.map +1 -1
  6. package/dist/components/ra-inputs/NumberInput.d.ts +2 -0
  7. package/dist/components/ra-inputs/SelectArrayInput.d.ts +1 -0
  8. package/dist/components/ra-inputs/SelectInput.d.ts +1 -0
  9. package/dist/components/ra-inputs/SmartTextInput.d.ts +1 -0
  10. package/dist/components/ra-inputs/SmartTextInput.d.ts.map +1 -1
  11. package/dist/components/ra-inputs/TextInput.d.ts +1 -0
  12. package/dist/components/ra-inputs/TimeInput.d.ts +1 -0
  13. package/dist/components/ra-inputs/index.d.ts +2 -1
  14. package/dist/components/ra-inputs/index.d.ts.map +1 -1
  15. package/dist/components/ra-lists/Datagrid.d.ts.map +1 -1
  16. package/dist/index.d.ts +1 -1
  17. package/dist/react-admin.cjs.js +47 -47
  18. package/dist/react-admin.es.js +4627 -4521
  19. package/dist/react-admin.umd.js +50 -50
  20. package/package.json +1 -1
  21. package/playground/src/menu.js +0 -7
  22. package/playground/src/theme.js +3 -5
  23. package/src/components/ra-forms/Edit.jsx +1 -1
  24. package/src/components/ra-forms/SimpleFormIterator.tsx +30 -0
  25. package/src/components/ra-inputs/ArrayInput.tsx +39 -0
  26. package/src/components/ra-inputs/LabeledArrayInput.tsx +116 -0
  27. package/src/components/ra-inputs/LabeledInput.jsx +21 -10
  28. package/src/components/ra-inputs/index.jsx +24 -22
  29. package/src/components/ra-lists/Datagrid.jsx +7 -8
  30. package/src/index.jsx +2 -1
  31. package/dist/components/ra-forms/SimpleFormIterator.d.ts +0 -5
  32. package/dist/components/ra-forms/SimpleFormIterator.d.ts.map +0 -1
  33. package/dist/components/ra-inputs/ArrayInput.d.ts +0 -6
  34. package/dist/components/ra-inputs/ArrayInput.d.ts.map +0 -1
  35. package/src/components/ra-forms/SimpleFormIterator.jsx +0 -14
  36. package/src/components/ra-inputs/ArrayInput.jsx +0 -29
@@ -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;;;;;;;;;;;;;;;;;;;;;sBAvCqB,YAAY"}
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;;;;;;;;4CAgDC;;;;;;;;;;;;;;;;;;sBArDqB,YAAY"}
1
+ {"version":3,"file":"LabeledInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/LabeledInput.jsx"],"names":[],"mappings":";AAQA;;;;;;;;;4CAyDC;;;;;;;;;;;;;;;;;;;;;sBA9DqB,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;;;;;;;;;;;;;;;;;;;;;;;sBA9BqB,YAAY"}
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
@@ -7,6 +7,7 @@ import DateInput from './DateInput';
7
7
  import FileInput from './FileInput';
8
8
  import ImageInput from './ImageInput';
9
9
  import LabeledInput from './LabeledInput';
10
+ import LabeledArrayInput from './LabeledArrayInput';
10
11
  import NumberInput from './NumberInput';
11
12
  import RecordInput from './RecordInput';
12
13
  import ReferenceArrayInput from './ReferenceArrayInput';
@@ -18,5 +19,5 @@ import SelectInput from './SelectInput';
18
19
  import SmartTextInput from './SmartTextInput';
19
20
  import TextInput from './TextInput';
20
21
  import TimeInput from './TimeInput';
21
- export { ArrayInput, AttachmentInput, AutocompleteArrayInput, AutocompleteInput, BooleanInput, DateInput, FileInput, ImageInput, LabeledInput, NumberInput, RecordInput, ReferenceArrayInput, ReferenceInput, ReferenceManyInput, SearchInput, SelectArrayInput, SelectInput, SmartTextInput, TextInput, TimeInput };
22
+ export { ArrayInput, AttachmentInput, AutocompleteArrayInput, AutocompleteInput, BooleanInput, DateInput, FileInput, ImageInput, LabeledInput, LabeledArrayInput, NumberInput, RecordInput, ReferenceArrayInput, ReferenceInput, ReferenceManyInput, SearchInput, SelectArrayInput, SelectInput, SmartTextInput, TextInput, TimeInput };
22
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/index.jsx"],"names":[],"mappings":"uBAAuB,cAAc;4BACT,mBAAmB;mCACZ,0BAA0B;8BAC/B,qBAAqB;yBAC1B,gBAAgB;sBACnB,aAAa;sBACb,aAAa;uBACZ,cAAc;yBACZ,gBAAgB;wBACjB,eAAe;wBACf,eAAe;gCACP,uBAAuB;2BAC5B,kBAAkB;+BACd,sBAAsB;wBAC7B,eAAe;6BACV,oBAAoB;wBACzB,eAAe;2BACZ,kBAAkB;sBACvB,aAAa;sBACb,aAAa"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/index.jsx"],"names":[],"mappings":"uBAAuB,cAAc;4BACT,mBAAmB;mCACZ,0BAA0B;8BAC/B,qBAAqB;yBAC1B,gBAAgB;sBACnB,aAAa;sBACb,aAAa;uBACZ,cAAc;yBAEZ,gBAAgB;8BADX,qBAAqB;wBAE3B,eAAe;wBACf,eAAe;gCACP,uBAAuB;2BAC5B,kBAAkB;+BACd,sBAAsB;wBAC7B,eAAe;6BACV,oBAAoB;wBACzB,eAAe;2BACZ,kBAAkB;sBACvB,aAAa;sBACb,aAAa"}
@@ -1 +1 @@
1
- {"version":3,"file":"Datagrid.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/Datagrid.jsx"],"names":[],"mappings":";AAgCA,+EAAgE"}
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 { ArrayInput, 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";
7
+ export { ArrayInput as RaArrayInput, 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, SimpleFormIterator as RaSimpleFormIterator, 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