@applica-software-guru/react-admin 1.1.86 → 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.
- package/dist/components/ra-forms/SimpleFormIterator.d.ts +2 -2
- package/dist/components/ra-forms/SimpleFormIterator.d.ts.map +1 -1
- package/dist/components/ra-inputs/ArrayInput.d.ts +4 -2
- package/dist/components/ra-inputs/ArrayInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/SelectInput.d.ts +8 -5
- package/dist/components/ra-inputs/SelectInput.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/react-admin.cjs.js +56 -59
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +16082 -17817
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +57 -60
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ra-forms/ChangePasswordForm.tsx +1 -1
- package/src/components/ra-forms/SimpleFormIterator.tsx +3 -3
- package/src/components/ra-inputs/ArrayInput.tsx +11 -7
- package/src/components/ra-inputs/{SelectInput.jsx → SelectInput.tsx} +5 -3
- package/src/index.jsx +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
ref?: import("react").Ref<import("react").Component<import("
|
|
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,
|
|
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: ({
|
|
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;
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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.
|
|
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 {
|
|
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
|