@applica-software-guru/react-admin 1.0.43 → 1.0.44

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 (42) hide show
  1. package/dist/components/ActionsMenu.d.ts +30 -0
  2. package/dist/components/ActionsMenu.d.ts.map +1 -0
  3. package/dist/components/ra-buttons/CreateInDialogButton.d.ts +62 -0
  4. package/dist/components/ra-buttons/CreateInDialogButton.d.ts.map +1 -0
  5. package/dist/components/ra-custom/ListItem.d.ts +45 -0
  6. package/dist/components/ra-custom/ListItem.d.ts.map +1 -0
  7. package/dist/components/ra-custom/index.d.ts +3 -0
  8. package/dist/components/ra-custom/index.d.ts.map +1 -0
  9. package/dist/components/ra-fields/AttachmentField.d.ts +36 -0
  10. package/dist/components/ra-fields/AttachmentField.d.ts.map +1 -0
  11. package/dist/components/ra-fields/BaseAttachmentField.d.ts +32 -0
  12. package/dist/components/ra-fields/BaseAttachmentField.d.ts.map +1 -0
  13. package/dist/components/ra-forms/FormHeader.d.ts +29 -0
  14. package/dist/components/ra-forms/FormHeader.d.ts.map +1 -0
  15. package/dist/components/ra-forms/LongForm/LongForm.d.ts +98 -0
  16. package/dist/components/ra-forms/LongForm/LongForm.d.ts.map +1 -0
  17. package/dist/components/ra-forms/LongForm/LongFormSidebar.d.ts +34 -0
  18. package/dist/components/ra-forms/LongForm/LongFormSidebar.d.ts.map +1 -0
  19. package/dist/components/ra-forms/LongForm/LongFormTab.d.ts +45 -0
  20. package/dist/components/ra-forms/LongForm/LongFormTab.d.ts.map +1 -0
  21. package/dist/components/ra-forms/LongForm/LongFormTabs.d.ts +23 -0
  22. package/dist/components/ra-forms/LongForm/LongFormTabs.d.ts.map +1 -0
  23. package/dist/components/ra-forms/LongForm/LongFormView.d.ts +42 -0
  24. package/dist/components/ra-forms/LongForm/LongFormView.d.ts.map +1 -0
  25. package/dist/components/ra-forms/LongForm/index.d.ts +3 -0
  26. package/dist/components/ra-forms/LongForm/index.d.ts.map +1 -0
  27. package/dist/components/ra-forms/SimpleForm.d.ts +40 -0
  28. package/dist/components/ra-forms/SimpleForm.d.ts.map +1 -0
  29. package/dist/components/ra-forms/SimpleFormIterator.d.ts +6 -0
  30. package/dist/components/ra-forms/SimpleFormIterator.d.ts.map +1 -0
  31. package/dist/components/ra-inputs/ArrayInput.d.ts +13 -0
  32. package/dist/components/ra-inputs/ArrayInput.d.ts.map +1 -0
  33. package/dist/components/ra-inputs/LabeledArrayInput.d.ts +42 -0
  34. package/dist/components/ra-inputs/LabeledArrayInput.d.ts.map +1 -0
  35. package/dist/contexts/AppConfigContext.d.ts +32 -0
  36. package/dist/contexts/AppConfigContext.d.ts.map +1 -0
  37. package/dist/react-admin.cjs.js.map +1 -1
  38. package/dist/react-admin.es.js.map +1 -1
  39. package/dist/react-admin.umd.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/components/ra-forms/SimpleForm.tsx +5 -1
  42. package/vite.config.js +2 -2
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ export type ActionsMenuProps = {
4
+ children: React.ReactNode;
5
+ };
6
+ /**
7
+ * Consente di disegnare un menu di azioni raggruppate all'interno di un popover.
8
+ * All'interno del menu è possibile inserire uno o più componenti che, è suggeribile, siano bottoni.
9
+ *
10
+ * @example
11
+ * <ActionsMenu>
12
+ * <DeleteButton />
13
+ * <EditButton />
14
+ * </ActionsMenu>
15
+ *
16
+ * @param {ActionsMenuProps}
17
+ * @returns {React.ReactElement}
18
+ */
19
+ declare const ActionsMenu: {
20
+ ({ children }: ActionsMenuProps): React.ReactElement | null;
21
+ propTypes: {
22
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
23
+ sx: PropTypes.Requireable<object>;
24
+ open: PropTypes.Requireable<object>;
25
+ disabledArrow: PropTypes.Requireable<boolean>;
26
+ arrow: PropTypes.Requireable<string>;
27
+ };
28
+ };
29
+ export default ActionsMenu;
30
+ //# sourceMappingURL=ActionsMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAI/D,OAAO,SAAS,MAAM,YAAY,CAAC;AAuBnC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,WAAW;mBAAkB,gBAAgB,GAAG,MAAM,YAAY,GAAG,IAAI;;;;;;;;CAiC9E,CAAC;AAOF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,62 @@
1
+ import { RedirectionSideEffect } from 'react-admin';
2
+ import React from 'react';
3
+ import { SxProps } from '@mui/material/styles';
4
+ import PropTypes from 'prop-types';
5
+ export type CreateInDialogContentProps = {
6
+ onClose: () => void;
7
+ record?: any;
8
+ redirect: RedirectionSideEffect;
9
+ children: React.ReactElement;
10
+ onSubmit?: (record: any, close: () => void) => void;
11
+ onSuccess?: (data: any) => void;
12
+ onError?: (error: any) => void;
13
+ };
14
+ export type CreateInDialogButtonProps = {
15
+ fullWidth?: boolean;
16
+ maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | false;
17
+ label?: string;
18
+ record?: any;
19
+ redirect?: RedirectionSideEffect;
20
+ scrollToTop?: boolean;
21
+ className?: string;
22
+ sx?: SxProps;
23
+ children: React.ReactElement;
24
+ onSubmit?: (record: any, close: () => void) => void;
25
+ onSuccess?: (data: any) => void;
26
+ onError?: (error: any) => void;
27
+ };
28
+ /**
29
+ * Consente di gestire la creazione di un record, per una specifica entità, o in modalità completamente personalizzata, all'interno di una dialog.
30
+ *
31
+ * @param {CreateInDialogButtonProps}
32
+ * @returns {React.ReactElement}
33
+ */
34
+ declare const CreateInDialogButton: {
35
+ ({ fullWidth, maxWidth, label, record, redirect, scrollToTop, className, sx, onSubmit, onSuccess, onError, ...props }: CreateInDialogButtonProps): React.ReactElement;
36
+ defaultProps: {
37
+ fullWidth: boolean;
38
+ maxWidth: string;
39
+ label: string;
40
+ scrollToTop: boolean;
41
+ };
42
+ propTypes: {
43
+ redirect: PropTypes.Requireable<string | boolean>;
44
+ fullWidth: PropTypes.Requireable<boolean>;
45
+ maxWidth: PropTypes.Requireable<string | boolean>;
46
+ label: PropTypes.Requireable<string>;
47
+ record: PropTypes.Requireable<object>;
48
+ scrollToTop: PropTypes.Requireable<boolean>;
49
+ className: PropTypes.Requireable<string>;
50
+ sx: PropTypes.Requireable<object>;
51
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
52
+ onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
53
+ onSuccess: PropTypes.Requireable<(...args: any[]) => any>;
54
+ onError: PropTypes.Requireable<(...args: any[]) => any>;
55
+ alignIcon: PropTypes.Requireable<string>;
56
+ color: PropTypes.Requireable<string>;
57
+ disabled: PropTypes.Requireable<boolean>;
58
+ size: PropTypes.Requireable<string>;
59
+ };
60
+ };
61
+ export default CreateInDialogButton;
62
+ //# sourceMappingURL=CreateInDialogButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateInDialogButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-buttons/CreateInDialogButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,qBAAqB,EAOtB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,OAAO,EAAiB,MAAM,sBAAsB,CAAC;AAG9D,OAAO,SAAS,MAAM,YAAY,CAAC;AAwBnC,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,qBAAqB,CAAC;IAChC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IACpD,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC,CAAC;AA8GF,MAAM,MAAM,yBAAyB,GAAG;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IACpD,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC,CAAC;AAEF;;;;;GAKG;AACH,QAAA,MAAM,oBAAoB;2HAavB,yBAAyB,GAAG,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;CAyChD,CAAC;AAyBF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { ButtonProps } from '@mui/material';
2
+ import { ElementType } from 'react';
3
+ import PropTypes from 'prop-types';
4
+ export type ListItemProps = {
5
+ source?: string;
6
+ label?: string;
7
+ record?: any;
8
+ variant?: 'body1' | 'body2' | 'caption' | 'button' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'inherit' | 'overline' | 'subtitle1' | 'subtitle2';
9
+ spaceTop?: boolean;
10
+ spaceBottom?: boolean;
11
+ leftIcon?: ElementType<any>;
12
+ rightIcon?: ElementType<any>;
13
+ component?: ElementType<any>;
14
+ button?: string;
15
+ buttonProps?: ButtonProps;
16
+ };
17
+ /**
18
+ * Implementa il componente ListItem progettato e disegnato da Applica.
19
+ * Questo componente può essere utilizzato in diverse combinazioni di proprietà e consente di visualizzare e/o modificare dati
20
+ * aggiungendo elementi decorativi di dettagli e personalizzazioni nella formattazione dei dati.
21
+ *
22
+ * @param {ListItemProps} props
23
+ * @returns {JSX.Element}
24
+ */
25
+ declare const ListItem: {
26
+ ({ source, label, variant, record: providedRecord, spaceBottom, spaceTop, component, leftIcon, rightIcon, button, buttonProps, ...props }: ListItemProps): JSX.Element;
27
+ propTypes: {
28
+ source: PropTypes.Requireable<string>;
29
+ label: PropTypes.Requireable<string>;
30
+ record: PropTypes.Requireable<object>;
31
+ variant: PropTypes.Requireable<string>;
32
+ spaceTop: PropTypes.Requireable<boolean>;
33
+ spaceBottom: PropTypes.Requireable<boolean>;
34
+ leftIcon: PropTypes.Requireable<NonNullable<PropTypes.ReactElementLike | ((...args: any[]) => any) | PropTypes.ReactComponentLike | null | undefined>>;
35
+ rightIcon: PropTypes.Requireable<NonNullable<PropTypes.ReactElementLike | ((...args: any[]) => any) | PropTypes.ReactComponentLike | null | undefined>>;
36
+ component: PropTypes.Requireable<NonNullable<PropTypes.ReactElementLike | ((...args: any[]) => any) | PropTypes.ReactComponentLike | null | undefined>>;
37
+ buttonProps: PropTypes.Requireable<object>;
38
+ button: PropTypes.Requireable<string>;
39
+ };
40
+ defaultProps: {
41
+ variant: string;
42
+ };
43
+ };
44
+ export default ListItem;
45
+ //# sourceMappingURL=ListItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-custom/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,WAAW,EAAqB,MAAM,eAAe,CAAC;AAEvE,OAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,OAAO,CAAC,EACJ,OAAO,GACP,OAAO,GACP,SAAS,GACT,QAAQ,GACR,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,SAAS,GACT,UAAU,GACV,WAAW,GACX,WAAW,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAC5B,SAAS,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC;AAOF;;;;;;;GAOG;AACH,QAAA,MAAM,QAAQ;+IAaX,aAAa,GAAG,WAAW;;;;;;;;;;;;;;;;;CAiD7B,CAAC;AAmCF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ import ListItem from './ListItem';
2
+ export { ListItem };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-custom/index.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { BaseAttachmentFieldProps } from './BaseAttachmentField';
2
+ import PropTypes from 'prop-types';
3
+ export type AttachmentFieldProps = BaseAttachmentFieldProps & {
4
+ title: string;
5
+ entityId?: string;
6
+ property?: string;
7
+ disabled?: boolean;
8
+ /**
9
+ * Consente di definire la risorsa base da utilizzare, per le chiamate REST, per recuperare i dati dell'utente associato al singolo allegato.
10
+ */
11
+ userResource?: string;
12
+ };
13
+ declare const AttachmentField: {
14
+ ({ entityId, property, disabled, userResource, ...props }: AttachmentFieldProps): import("react/jsx-runtime").JSX.Element;
15
+ propTypes: {
16
+ source: PropTypes.Requireable<string>;
17
+ title: PropTypes.Requireable<string>;
18
+ disabled: PropTypes.Requireable<boolean>;
19
+ src: PropTypes.Requireable<string>;
20
+ target: PropTypes.Requireable<string>;
21
+ download: PropTypes.Requireable<NonNullable<string | boolean>>;
22
+ ping: PropTypes.Requireable<string>;
23
+ rel: PropTypes.Requireable<string>;
24
+ sortBy: PropTypes.Requireable<string>;
25
+ sortByOrder: PropTypes.Requireable<"ASC" | "DESC">;
26
+ label: PropTypes.Requireable<NonNullable<string | boolean | PropTypes.ReactElementLike>>;
27
+ sortable: PropTypes.Requireable<boolean>;
28
+ className: PropTypes.Requireable<string>;
29
+ cellClassName: PropTypes.Requireable<string>;
30
+ headerClassName: PropTypes.Requireable<string>;
31
+ textAlign: PropTypes.Requireable<"center" | "inherit" | "left" | "right" | "justify">;
32
+ emptyText: PropTypes.Requireable<string>;
33
+ };
34
+ };
35
+ export default AttachmentField;
36
+ //# sourceMappingURL=AttachmentField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/AttachmentField.tsx"],"names":[],"mappings":"AAAA,OAA4B,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAKtF,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,GAAG;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,eAAe;+DAAgF,oBAAoB;;;;;;;;;;;;;;;;;;;;CAyDxH,CAAC;AAUF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,32 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ export type BaseAttachmentFieldProps = {
4
+ src: string;
5
+ title: string | ((record: any) => string) | JSX.Element;
6
+ target: string;
7
+ download: boolean | string;
8
+ ping: string;
9
+ rel: string;
10
+ emptyText: string;
11
+ source: string;
12
+ className: string;
13
+ disabled?: boolean;
14
+ record: any;
15
+ onClick: (e: any) => void;
16
+ };
17
+ export declare const BaseAttachmentField: {
18
+ (props: BaseAttachmentFieldProps): JSX.Element | any;
19
+ propTypes: {
20
+ className: PropTypes.Requireable<string>;
21
+ emptyText: PropTypes.Requireable<string>;
22
+ source: PropTypes.Validator<string>;
23
+ src: PropTypes.Requireable<string>;
24
+ title: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
25
+ target: PropTypes.Requireable<string>;
26
+ download: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
27
+ ping: PropTypes.Requireable<string>;
28
+ rel: PropTypes.Requireable<string>;
29
+ };
30
+ };
31
+ export default BaseAttachmentField;
32
+ //# sourceMappingURL=BaseAttachmentField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseAttachmentField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/BaseAttachmentField.tsx"],"names":[],"mappings":";AAEA,OAAO,SAAS,MAAM,YAAY,CAAC;AAgBnC,MAAM,MAAM,wBAAwB,GAAG;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,MAAM,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC;IACxD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,GAAG,CAAC;IACZ,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,mBAAmB;YAAW,wBAAwB,GAAG,WAAW,GAAG,GAAG;;;;;;;;;;;;CAkCtF,CAAC;AAcF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ export type FormHeaderProps = {
4
+ title: string;
5
+ divider?: boolean;
6
+ variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
7
+ };
8
+ /**
9
+ * Componente che implementa l'header di una form.
10
+ * Può essere inserito all'interno di un CardForm o di un SimpleForm e mostra un titolo
11
+ * con divider che copre l'intera larghezza della form.
12
+ *
13
+ * @param {FormHeaderProps} props
14
+ * @returns {JSX.Element}
15
+ */
16
+ declare const FormHeader: {
17
+ ({ title, divider, variant }: FormHeaderProps): JSX.Element;
18
+ propTypes: {
19
+ title: PropTypes.Validator<string>;
20
+ divider: PropTypes.Requireable<boolean>;
21
+ variant: PropTypes.Requireable<string>;
22
+ };
23
+ defaultProps: {
24
+ divider: boolean;
25
+ variant: string;
26
+ };
27
+ };
28
+ export default FormHeader;
29
+ //# sourceMappingURL=FormHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/FormHeader.tsx"],"names":[],"mappings":";AAGA,OAAO,SAAS,MAAM,YAAY,CAAC;AAmBnC,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CACnD,CAAC;AAEF;;;;;;;GAOG;AACH,QAAA,MAAM,UAAU;kCAAiC,eAAe,GAAG,WAAW;;;;;;;;;;CAa7E,CAAC;AAaF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,98 @@
1
+ /// <reference types="react" />
2
+ import { Disposition } from './types';
3
+ import PropTypes from 'prop-types';
4
+ export type LongFormProps = {
5
+ syncWithLocation?: boolean;
6
+ spacing?: number;
7
+ tabsDisposition?: Disposition;
8
+ contentDisposition?: Disposition;
9
+ children: React.ReactNode;
10
+ sticky?: boolean;
11
+ };
12
+ /**
13
+ * Consente di disegnare un form di tipo LongForm secondo la documentazione di React-Admin.
14
+ *
15
+ * @link https://marmelab.com/react-admin/LongForm.html
16
+ *
17
+ * @param {LongFormProps}
18
+ * @returns {JSX.Element}
19
+ */
20
+ declare const LongForm: {
21
+ ({ spacing: _spacing, ...props }: LongFormProps): JSX.Element;
22
+ propTypes: {
23
+ syncWithLocation: PropTypes.Requireable<boolean>;
24
+ spacing: PropTypes.Requireable<number>;
25
+ tabsDisposition: PropTypes.Requireable<PropTypes.InferProps<{
26
+ xl: PropTypes.Requireable<number>;
27
+ lg: PropTypes.Requireable<number>;
28
+ md: PropTypes.Requireable<number>;
29
+ sm: PropTypes.Requireable<number>;
30
+ xs: PropTypes.Requireable<number>;
31
+ }>>;
32
+ contentDisposition: PropTypes.Requireable<PropTypes.InferProps<{
33
+ xl: PropTypes.Requireable<number>;
34
+ lg: PropTypes.Requireable<number>;
35
+ md: PropTypes.Requireable<number>;
36
+ sm: PropTypes.Requireable<number>;
37
+ xs: PropTypes.Requireable<number>;
38
+ }>>;
39
+ sticky: PropTypes.Requireable<boolean>;
40
+ };
41
+ defaultProps: {
42
+ syncWithLocation: boolean;
43
+ sticky: boolean;
44
+ spacing: number;
45
+ tabsDisposition: {
46
+ xl: number;
47
+ lg: number;
48
+ md: number;
49
+ sm: number;
50
+ xs: number;
51
+ };
52
+ contentDisposition: {
53
+ xl: number;
54
+ lg: number;
55
+ md: number;
56
+ sm: number;
57
+ xs: number;
58
+ };
59
+ };
60
+ Tab: {
61
+ ({ intent, hidden, unmountOnExit, label, icon, value, syncWithLocation, selected, onChange, children, badgeColor, badgeContent, ...props }: import("./LongFormTab").LongFormTabProps): import("react/jsx-runtime").JSX.Element | null;
62
+ propTypes: {
63
+ intent: PropTypes.Requireable<string>;
64
+ className: PropTypes.Requireable<string>;
65
+ contentClassName: PropTypes.Requireable<string>;
66
+ url: PropTypes.Requireable<string>;
67
+ icon: PropTypes.Requireable<PropTypes.ReactElementLike>;
68
+ label: PropTypes.Validator<NonNullable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>>;
69
+ value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
70
+ syncWithLocation: PropTypes.Requireable<boolean>;
71
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
72
+ selected: PropTypes.Requireable<boolean>;
73
+ hidden: PropTypes.Requireable<boolean>;
74
+ unmountOnExit: PropTypes.Requireable<boolean>;
75
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
76
+ badgeColor: PropTypes.Requireable<string>;
77
+ badgeContent: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
78
+ };
79
+ defaultProps: {
80
+ badgeColor: string;
81
+ unmountOnExit: boolean;
82
+ };
83
+ };
84
+ Sidebar: {
85
+ ({ children, visibility }: import("./LongFormSidebar").LongFormSidebarProps): JSX.Element | null;
86
+ propTypes: {
87
+ visibility: PropTypes.Requireable<string>;
88
+ position: PropTypes.Validator<string>;
89
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
90
+ };
91
+ defaultProps: {
92
+ position: string;
93
+ visibility: string;
94
+ };
95
+ };
96
+ };
97
+ export default LongForm;
98
+ //# sourceMappingURL=LongForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LongForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/LongForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAoB,MAAM,SAAS,CAAC;AAMxD,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,MAAM,MAAM,aAAa,GAAG;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,WAAW,CAAC;IAC9B,kBAAkB,CAAC,EAAE,WAAW,CAAC;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;;;;;;GAOG;AACH,QAAA,MAAM,QAAQ;sCAAqC,aAAa,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU7E,CAAC;AAqBF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,34 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ export type LongFormSidebarProps = {
4
+ visibility?: 'xl' | 'lg' | 'md' | 'sm' | 'xs';
5
+ position: 'top' | 'bottom';
6
+ children: React.ReactNode;
7
+ };
8
+ /**
9
+ * Consente di specificare, all'interno di un form di tipo LongForm, una sezione da visualizzare prima o dopo i tab di navigazione.
10
+ * @example
11
+ * <LongForm>
12
+ * <LongForm.Sidebar position="top">Contenuto prima della navigazione</LongForm.Sidebar>
13
+ * <LongForm.Tab>Tab 1</LongForm.Tab>
14
+ * <LongForm.Tab>Tab 2</LongForm.Tab>
15
+ * <LongForm.Sidebar position="bottom">Contenuto dopo la navigazione</LongForm.Sidebar>
16
+ * </LongForm>
17
+ *
18
+ * @param {LongFormSidebarProps}
19
+ * @returns {JSX.Element | null}
20
+ */
21
+ declare const LongFormSidebar: {
22
+ ({ children, visibility }: LongFormSidebarProps): JSX.Element | null;
23
+ propTypes: {
24
+ visibility: PropTypes.Requireable<string>;
25
+ position: PropTypes.Validator<string>;
26
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
27
+ };
28
+ defaultProps: {
29
+ position: string;
30
+ visibility: string;
31
+ };
32
+ };
33
+ export default LongFormSidebar;
34
+ //# sourceMappingURL=LongFormSidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LongFormSidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/LongFormSidebar.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAQnC,MAAM,MAAM,oBAAoB,GAAG;IACjC,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC9C,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,eAAe;+BAA8B,oBAAoB,GAAG,WAAW,GAAG,IAAI;;;;;;;;;;CAG3F,CAAC;AAaF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,45 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ export type LongFormTabProps = {
4
+ intent: 'header' | 'content' | 'sidebar';
5
+ className?: string;
6
+ contentClassName?: string;
7
+ url?: string;
8
+ icon?: React.ReactNode;
9
+ label: string | React.ReactNode;
10
+ value: string | number;
11
+ syncWithLocation?: boolean;
12
+ onChange: (value: string | number) => void;
13
+ selected?: boolean;
14
+ hidden?: boolean;
15
+ unmountOnExit?: boolean;
16
+ children?: React.ReactNode;
17
+ badgeColor?: 'default' | 'error' | 'info' | 'primary' | 'secondary' | 'success' | 'warning';
18
+ badgeContent?: string | number;
19
+ };
20
+ declare const LongFormTab: {
21
+ ({ intent, hidden, unmountOnExit, label, icon, value, syncWithLocation, selected, onChange, children, badgeColor, badgeContent, ...props }: LongFormTabProps): import("react/jsx-runtime").JSX.Element | null;
22
+ propTypes: {
23
+ intent: PropTypes.Requireable<string>;
24
+ className: PropTypes.Requireable<string>;
25
+ contentClassName: PropTypes.Requireable<string>;
26
+ url: PropTypes.Requireable<string>;
27
+ icon: PropTypes.Requireable<PropTypes.ReactElementLike>;
28
+ label: PropTypes.Validator<NonNullable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>>;
29
+ value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
30
+ syncWithLocation: PropTypes.Requireable<boolean>;
31
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
32
+ selected: PropTypes.Requireable<boolean>;
33
+ hidden: PropTypes.Requireable<boolean>;
34
+ unmountOnExit: PropTypes.Requireable<boolean>;
35
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
36
+ badgeColor: PropTypes.Requireable<string>;
37
+ badgeContent: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
38
+ };
39
+ defaultProps: {
40
+ badgeColor: string;
41
+ unmountOnExit: boolean;
42
+ };
43
+ };
44
+ export default LongFormTab;
45
+ //# sourceMappingURL=LongFormTab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LongFormTab.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/LongFormTab.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAG3C,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,CAAC;IAC5F,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAChC,CAAC;AAEF,QAAA,MAAM,WAAW;gJAcd,gBAAgB;;;;;;;;;;;;;;;;;;;;;;CAsDlB,CAAC;AAyBF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,23 @@
1
+ import PropTypes from 'prop-types';
2
+ import React from 'react';
3
+ export type LongFormTabsProps = {
4
+ children: React.ReactNode;
5
+ syncWithLocation?: boolean;
6
+ value: string | number;
7
+ url: string;
8
+ onChange: (value: string | number) => void;
9
+ };
10
+ declare const LongFormTabs: {
11
+ ({ children, syncWithLocation, value, url, onChange }: LongFormTabsProps): import("react/jsx-runtime").JSX.Element;
12
+ propTypes: {
13
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
14
+ url: PropTypes.Requireable<string>;
15
+ tabsWithErrors: PropTypes.Requireable<(string | null | undefined)[]>;
16
+ syncWithLocation: PropTypes.Requireable<boolean>;
17
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
18
+ value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
19
+ };
20
+ };
21
+ export declare const getTabbedFormTabFullPath: (tab: any, index: number) => any;
22
+ export default LongFormTabs;
23
+ //# sourceMappingURL=LongFormTabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LongFormTabs.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/LongFormTabs.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF,QAAA,MAAM,YAAY;2DAA0D,iBAAiB;;;;;;;;;CA0B5F,CAAC;AAEF,eAAO,MAAM,wBAAwB,QAAS,GAAG,SAAS,MAAM,QACa,CAAC;AAW9E,eAAe,YAAY,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { Disposition } from './types';
2
+ import React from 'react';
3
+ import PropTypes from 'prop-types';
4
+ export type LongFormViewProps = {
5
+ children: React.ReactNode;
6
+ formRootPathname: string;
7
+ syncWithLocation?: boolean;
8
+ spacing: number;
9
+ tabs: React.ReactElement;
10
+ tabsDisposition: Disposition;
11
+ contentDisposition: Disposition;
12
+ sticky?: boolean;
13
+ };
14
+ declare const LongFormView: {
15
+ ({ children, formRootPathname, syncWithLocation, spacing, tabs, tabsDisposition, contentDisposition, sticky, ...props }: LongFormViewProps): import("react/jsx-runtime").JSX.Element;
16
+ propTypes: {
17
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
18
+ spacing: PropTypes.Requireable<number>;
19
+ syncWithLocation: PropTypes.Requireable<boolean>;
20
+ tabs: PropTypes.Requireable<PropTypes.ReactElementLike>;
21
+ formRootPathname: PropTypes.Requireable<string>;
22
+ tabsDisposition: PropTypes.Requireable<PropTypes.InferProps<{
23
+ xl: PropTypes.Requireable<number>;
24
+ lg: PropTypes.Requireable<number>;
25
+ md: PropTypes.Requireable<number>;
26
+ sm: PropTypes.Requireable<number>;
27
+ xs: PropTypes.Requireable<number>;
28
+ }>>;
29
+ contentDisposition: PropTypes.Requireable<PropTypes.InferProps<{
30
+ xl: PropTypes.Requireable<number>;
31
+ lg: PropTypes.Requireable<number>;
32
+ md: PropTypes.Requireable<number>;
33
+ sm: PropTypes.Requireable<number>;
34
+ xs: PropTypes.Requireable<number>;
35
+ }>>;
36
+ };
37
+ defaultProps: {
38
+ tabs: import("react/jsx-runtime").JSX.Element;
39
+ };
40
+ };
41
+ export default LongFormView;
42
+ //# sourceMappingURL=LongFormView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LongFormView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/LongFormView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAoB,MAAM,SAAS,CAAC;AACxD,OAAO,KAAsC,MAAM,OAAO,CAAC;AAQ3D,OAAO,SAAS,MAAM,YAAY,CAAC;AAyBnC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC;IACzB,eAAe,EAAE,WAAW,CAAC;IAC7B,kBAAkB,EAAE,WAAW,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,QAAA,MAAM,YAAY;6HAUf,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;CA+EnB,CAAC;AAiBF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ import LongForm from './LongForm';
2
+ export default LongForm;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,40 @@
1
+ /// <reference types="react" />
2
+ import { SimpleFormProps as RaSimpleFormProps } from 'react-admin';
3
+ import PropTypes from 'prop-types';
4
+ export type SimpleFormProps = RaSimpleFormProps & {
5
+ modal?: boolean;
6
+ content?: boolean;
7
+ subheader?: string | React.ReactNode;
8
+ title?: string | React.ReactNode;
9
+ secondary?: string | React.ReactNode;
10
+ };
11
+ /**
12
+ * @param {SimpleFormProps} props
13
+ * @returns {JSX.Element}
14
+ */
15
+ declare const SimpleForm: {
16
+ ({ title, modal, content, subheader, secondary, sx, ...props }: SimpleFormProps): JSX.Element;
17
+ defaultProps: {
18
+ modal: boolean;
19
+ content: boolean;
20
+ subheader: null;
21
+ title: null;
22
+ toolbar: import("react/jsx-runtime").JSX.Element;
23
+ secondary: import("react/jsx-runtime").JSX.Element;
24
+ };
25
+ propTypes: {
26
+ modal: PropTypes.Requireable<boolean>;
27
+ content: PropTypes.Requireable<boolean>;
28
+ contained: PropTypes.Requireable<boolean>;
29
+ subheader: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
30
+ title: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
31
+ secondary: PropTypes.Requireable<NonNullable<object | PropTypes.ReactNodeLike>>;
32
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
33
+ defaultValues: PropTypes.Requireable<object>;
34
+ record: PropTypes.Requireable<object>;
35
+ toolbar: PropTypes.Requireable<NonNullable<boolean | PropTypes.ReactElementLike>>;
36
+ validate: PropTypes.Requireable<(...args: any[]) => any>;
37
+ };
38
+ };
39
+ export default SimpleForm;
40
+ //# sourceMappingURL=SimpleForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/SimpleForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAGL,eAAe,IAAI,iBAAiB,EAGrC,MAAM,aAAa,CAAC;AAIrB,OAAO,SAAS,MAAM,YAAY,CAAC;AAcnC,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,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;CACtC,CAAC;AAEF;;;GAGG;AACH,QAAA,MAAM,UAAU;oEAAmE,eAAe,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;CAkB/G,CAAC;AA6BF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,6 @@
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;
4
+ }>;
5
+ export default SimpleFormIterator;
6
+ //# sourceMappingURL=SimpleFormIterator.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,13 @@
1
+ import { LabeledArrayInputProps } from './LabeledArrayInput';
2
+ import { ArrayInputProps as RaArrayInputProps } from 'react-admin';
3
+ export type ArrayInputProps = RaArrayInputProps & LabeledArrayInputProps;
4
+ /**
5
+ * Espone un componente di tipo ArrayInput con stile grafico di Applica.
6
+ * Se vuoi utilizzare il componente puro di react-admin puoi usare RaArrayInput esposto nella libreria.
7
+ *
8
+ * @param {ArrayInputProps}
9
+ * @returns {React.ReactElement}
10
+ */
11
+ declare const ArrayInput: ({ children, label, addLabel, source, helperText, ...props }: ArrayInputProps) => React.ReactElement;
12
+ export default ArrayInput;
13
+ //# sourceMappingURL=ArrayInput.d.ts.map
@@ -0,0 +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"}