@applica-software-guru/react-admin 1.1.85 → 1.1.87

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.
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- export declare const SimpleFormIterator: import("@emotion/styled").StyledComponent<Pick<import("ra-ui-materialui").SimpleFormIteratorProps, keyof import("ra-ui-materialui").SimpleFormIteratorProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {
3
- ref?: import("react").Ref<import("react").Component<import("ra-ui-materialui").SimpleFormIteratorProps, any, any>> | undefined;
2
+ declare const SimpleFormIterator: import("@emotion/styled").StyledComponent<Pick<import("react-admin").SimpleFormIteratorProps, keyof import("react-admin").SimpleFormIteratorProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {
3
+ ref?: import("react").Ref<import("react").Component<import("react-admin").SimpleFormIteratorProps, any, any>> | undefined;
4
4
  }>;
5
5
  export default SimpleFormIterator;
6
6
  //# sourceMappingURL=SimpleFormIterator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleFormIterator.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/SimpleFormIterator.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,kBAAkB;;EAuB5B,CAAC;AAEJ,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"SimpleFormIterator.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/SimpleFormIterator.tsx"],"names":[],"mappings":";AAIA,QAAA,MAAM,kBAAkB;;EAuBrB,CAAC;AAEJ,eAAe,kBAAkB,CAAC"}
@@ -1,6 +1,8 @@
1
1
  import { LabeledArrayInputProps } from './LabeledArrayInput';
2
2
  import { ArrayInputProps as RaArrayInputProps } from 'react-admin';
3
- export type ArrayInputProps = RaArrayInputProps & LabeledArrayInputProps;
3
+ export type ArrayInputProps = RaArrayInputProps & LabeledArrayInputProps & {
4
+ divider?: boolean;
5
+ };
4
6
  /**
5
7
  * Espone un componente di tipo ArrayInput con stile grafico di Applica.
6
8
  * Se vuoi utilizzare il componente puro di react-admin puoi usare RaArrayInput esposto nella libreria.
@@ -8,6 +10,6 @@ export type ArrayInputProps = RaArrayInputProps & LabeledArrayInputProps;
8
10
  * @param {ArrayInputProps}
9
11
  * @returns {React.ReactElement}
10
12
  */
11
- declare const ArrayInput: ({ children, label, addLabel, source, helperText, ...props }: ArrayInputProps) => React.ReactElement;
13
+ declare const ArrayInput: ({ label, addLabel, source, helperText, divider, ...props }: ArrayInputProps) => React.ReactElement;
12
14
  export default ArrayInput;
13
15
  //# sourceMappingURL=ArrayInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ArrayInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/ArrayInput.tsx"],"names":[],"mappings":"AAAA,OAA0B,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAA8B,eAAe,IAAI,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAoB/F,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG,sBAAsB,CAAC;AAEzE;;;;;;GAMG;AACH,QAAA,MAAM,UAAU,gEAAiE,eAAe,KAAG,MAAM,YAMxG,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"ArrayInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/ArrayInput.tsx"],"names":[],"mappings":"AAAA,OAA0B,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAA8B,eAAe,IAAI,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAuB/F,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAC7C,sBAAsB,GAAG;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEJ;;;;;;GAMG;AACH,QAAA,MAAM,UAAU,+DAAuE,eAAe,KAAG,MAAM,YAI9G,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,7 +1,9 @@
1
- export default SelectInput;
2
- declare function SelectInput(props: any): import("react/jsx-runtime").JSX.Element;
3
- declare namespace SelectInput {
4
- const propTypes: {
1
+ import { LabeledInputProps } from './LabeledInput';
2
+ import { SelectInputProps as RaSelectInputProps } from 'react-admin';
3
+ export type SelectInputProps = LabeledInputProps & RaSelectInputProps;
4
+ declare const SelectInput: {
5
+ (props: SelectInputProps): import("react/jsx-runtime").JSX.Element;
6
+ propTypes: {
5
7
  sx: import("prop-types").Requireable<object>;
6
8
  children: import("prop-types").Requireable<import("prop-types").ReactElementLike>;
7
9
  label: import("prop-types").Requireable<NonNullable<string | boolean | null | undefined>>;
@@ -22,5 +24,6 @@ declare namespace SelectInput {
22
24
  resettable: import("prop-types").Requireable<boolean>;
23
25
  translateChoice: import("prop-types").Requireable<boolean>;
24
26
  };
25
- }
27
+ };
28
+ export default SelectInput;
26
29
  //# sourceMappingURL=SelectInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/SelectInput.jsx"],"names":[],"mappings":";AAYA,kFAIC"}
1
+ {"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/SelectInput.tsx"],"names":[],"mappings":"AAAA,OAAqB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAgC,gBAAgB,IAAI,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAYnG,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,GAAG,kBAAkB,CAAC;AACtE,QAAA,MAAM,WAAW;YAAW,gBAAgB;;;;;;;;;;;;;;;;;;;;;;CAI3C,CAAC;AAOF,eAAe,WAAW,CAAC"}
package/dist/index.d.ts CHANGED
@@ -6,5 +6,5 @@ export * from "./components";
6
6
  export * from "./contexts";
7
7
  export * from "./utils";
8
8
  export * from "./i18n";
9
- export { ArrayInput as RaArrayInput, ArrayInputContext, BooleanField, BulkDeleteWithConfirmButton, Button, ChipField, choices, Confirm, CreateButton, CreateContextProvider, CustomRoutes, DeleteWithConfirmButton, DeleteWithUndoButton, EditButton, EditContextProvider, email, FieldTitle, Form, FormDataConsumer, HttpError, I18nContextProvider, 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";
9
+ export { ArrayInputContext, BooleanField, BulkDeleteWithConfirmButton, Button, ChipField, choices, Confirm, CreateButton, CreateContextProvider, CustomRoutes, DeleteWithConfirmButton, DeleteWithUndoButton, EditButton, EditContextProvider, email, FieldTitle, Form, FormDataConsumer, HttpError, I18nContextProvider, 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, useSimpleFormIterator, useSimpleFormIteratorItem } from "react-admin";
10
10
  //# sourceMappingURL=index.d.ts.map