@applica-software-guru/react-admin 1.3.181 → 1.3.183
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/Admin.d.ts +5 -8
- package/dist/Admin.d.ts.map +1 -1
- package/dist/AdminContext.d.ts +2 -4
- package/dist/AdminContext.d.ts.map +1 -1
- package/dist/ApplicaAdmin.d.ts +4 -24
- package/dist/ApplicaAdmin.d.ts.map +1 -1
- package/dist/components/@extended/Breadcrumbs.d.ts +2 -8
- package/dist/components/ActionsMenu.d.ts.map +1 -1
- package/dist/components/AuthBackground.d.ts +2 -1
- package/dist/components/AuthBackground.d.ts.map +1 -1
- package/dist/components/Layout/Drawer/Drawer.d.ts +2 -2
- package/dist/components/Layout/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/Layout/Drawer/DrawerHeader.d.ts +2 -2
- package/dist/components/Layout/Drawer/DrawerHeader.d.ts.map +1 -1
- package/dist/components/Layout/Drawer/DrawerHeaderStyled.d.ts +1 -0
- package/dist/components/Layout/Drawer/DrawerHeaderStyled.d.ts.map +1 -1
- package/dist/components/Layout/Footer.d.ts +0 -11
- package/dist/components/Layout/Footer.d.ts.map +1 -1
- package/dist/components/Layout/Header/AppBarStyled.d.ts +7 -3
- package/dist/components/Layout/Header/AppBarStyled.d.ts.map +1 -1
- package/dist/components/Layout/Layout.d.ts.map +1 -1
- package/dist/components/Notification.d.ts +3 -6
- package/dist/components/Notification.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/ra-buttons/CreateInDialogButton.d.ts +3 -33
- package/dist/components/ra-buttons/CreateInDialogButton.d.ts.map +1 -1
- package/dist/components/ra-buttons/EditInDialogButton.d.ts +9 -22
- package/dist/components/ra-buttons/EditInDialogButton.d.ts.map +1 -1
- package/dist/components/ra-buttons/ImpersonateUserButton.d.ts +5 -10
- package/dist/components/ra-buttons/ImpersonateUserButton.d.ts.map +1 -1
- package/dist/components/ra-buttons/index.d.ts +3 -4
- package/dist/components/ra-buttons/index.d.ts.map +1 -1
- package/dist/components/ra-custom/ListItem.d.ts +1 -20
- package/dist/components/ra-custom/ListItem.d.ts.map +1 -1
- package/dist/components/ra-custom/index.d.ts +1 -2
- package/dist/components/ra-custom/index.d.ts.map +1 -1
- package/dist/components/ra-fields/ActionsField.d.ts +7 -21
- package/dist/components/ra-fields/ActionsField.d.ts.map +1 -1
- package/dist/components/ra-fields/AttachmentField.d.ts +2 -25
- package/dist/components/ra-fields/AttachmentField.d.ts.map +1 -1
- package/dist/components/ra-fields/BaseAttachmentField.d.ts +1 -15
- package/dist/components/ra-fields/BaseAttachmentField.d.ts.map +1 -1
- package/dist/components/ra-fields/CoverField.d.ts +10 -31
- package/dist/components/ra-fields/CoverField.d.ts.map +1 -1
- package/dist/components/ra-fields/DateAgoField.d.ts +6 -8
- package/dist/components/ra-fields/DateAgoField.d.ts.map +1 -1
- package/dist/components/ra-fields/DateField.d.ts +3 -5
- package/dist/components/ra-fields/DateField.d.ts.map +1 -1
- package/dist/components/ra-fields/EmailField.d.ts +3 -16
- package/dist/components/ra-fields/EmailField.d.ts.map +1 -1
- package/dist/components/ra-fields/FileField.d.ts +8 -25
- package/dist/components/ra-fields/FileField.d.ts.map +1 -1
- package/dist/components/ra-fields/FunctionField.d.ts +3 -6
- package/dist/components/ra-fields/FunctionField.d.ts.map +1 -1
- package/dist/components/ra-fields/ImageField.d.ts +3 -18
- package/dist/components/ra-fields/ImageField.d.ts.map +1 -1
- package/dist/components/ra-fields/LocalizedTextField.d.ts +3 -2
- package/dist/components/ra-fields/LocalizedTextField.d.ts.map +1 -1
- package/dist/components/ra-fields/ReadonlyField.d.ts +1 -1
- package/dist/components/ra-fields/ReadonlyField.d.ts.map +1 -1
- package/dist/components/ra-fields/ReferenceManyField.d.ts +7 -16
- package/dist/components/ra-fields/ReferenceManyField.d.ts.map +1 -1
- package/dist/components/ra-fields/SizeField.d.ts +6 -11
- package/dist/components/ra-fields/SizeField.d.ts.map +1 -1
- package/dist/components/ra-fields/TextField.d.ts +3 -5
- package/dist/components/ra-fields/TextField.d.ts.map +1 -1
- package/dist/components/ra-fields/index.d.ts +14 -15
- package/dist/components/ra-fields/index.d.ts.map +1 -1
- package/dist/components/ra-forms/CardForm.d.ts +22 -26
- package/dist/components/ra-forms/CardForm.d.ts.map +1 -1
- package/dist/components/ra-forms/ChangePasswordForm.d.ts +2 -1
- package/dist/components/ra-forms/ChangePasswordForm.d.ts.map +1 -1
- package/dist/components/ra-forms/Create.d.ts +3 -4
- package/dist/components/ra-forms/Create.d.ts.map +1 -1
- package/dist/components/ra-forms/Edit.d.ts +3 -2
- package/dist/components/ra-forms/Edit.d.ts.map +1 -1
- package/dist/components/ra-forms/FormHeader.d.ts +4 -20
- package/dist/components/ra-forms/FormHeader.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/Content.d.ts +1 -1
- package/dist/components/ra-forms/LongForm/Content.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/Form.d.ts +1 -1
- package/dist/components/ra-forms/LongForm/Form.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/NavMenu.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/Provider.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/Sidebar.d.ts +1 -1
- package/dist/components/ra-forms/LongForm/Sidebar.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/Tab.d.ts +2 -2
- package/dist/components/ra-forms/LongForm/Tab.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/hooks.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/index.d.ts +2 -2
- package/dist/components/ra-forms/LongForm/index.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/utils.d.ts +1 -1
- package/dist/components/ra-forms/LongForm/utils.d.ts.map +1 -1
- package/dist/components/ra-forms/Show.d.ts +3 -12
- package/dist/components/ra-forms/Show.d.ts.map +1 -1
- package/dist/components/ra-forms/SimpleForm.d.ts +1 -30
- package/dist/components/ra-forms/SimpleForm.d.ts.map +1 -1
- package/dist/components/ra-forms/SimpleFormIterator.d.ts +1 -3
- package/dist/components/ra-forms/SimpleFormIterator.d.ts.map +1 -1
- package/dist/components/ra-forms/TabbedForm.d.ts +5 -9
- package/dist/components/ra-forms/TabbedForm.d.ts.map +1 -1
- package/dist/components/ra-forms/TableForm/TableFormIterator.d.ts +21 -22
- package/dist/components/ra-forms/TableForm/TableFormIterator.d.ts.map +1 -1
- package/dist/components/ra-forms/TableForm/TableFormIteratorItem.d.ts +1 -1
- package/dist/components/ra-forms/TableForm/TableFormIteratorItem.d.ts.map +1 -1
- package/dist/components/ra-forms/TableForm/index.d.ts +1 -2
- package/dist/components/ra-forms/TableForm/index.d.ts.map +1 -1
- package/dist/components/ra-forms/Toolbar.d.ts +3 -9
- package/dist/components/ra-forms/Toolbar.d.ts.map +1 -1
- package/dist/components/ra-forms/index.d.ts +12 -14
- package/dist/components/ra-forms/index.d.ts.map +1 -1
- package/dist/components/ra-inputs/ArrayInput.d.ts +3 -2
- package/dist/components/ra-inputs/ArrayInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/AttachmentInput.d.ts +2 -32
- package/dist/components/ra-inputs/AttachmentInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/AutocompleteArrayInput.d.ts +3 -7
- package/dist/components/ra-inputs/AutocompleteArrayInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/AutocompleteInput.d.ts +3 -5
- package/dist/components/ra-inputs/AutocompleteInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/BooleanInput.d.ts +3 -22
- package/dist/components/ra-inputs/BooleanInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/DateInput.d.ts +3 -16
- package/dist/components/ra-inputs/DateInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/DateTimeInput.d.ts +2 -19
- package/dist/components/ra-inputs/DateTimeInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/FileInput.d.ts +9 -32
- package/dist/components/ra-inputs/FileInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/ImageInput.d.ts +9 -12
- package/dist/components/ra-inputs/ImageInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/LabeledArrayInput.d.ts +2 -24
- package/dist/components/ra-inputs/LabeledArrayInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/LabeledInput.d.ts +1 -20
- package/dist/components/ra-inputs/LabeledInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/LocalizedTextInput.d.ts +2 -2
- package/dist/components/ra-inputs/LocalizedTextInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/NumberInput.d.ts +3 -22
- package/dist/components/ra-inputs/NumberInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/RecordInput.d.ts +7 -13
- package/dist/components/ra-inputs/RecordInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/ReferenceArrayInput.d.ts +6 -22
- package/dist/components/ra-inputs/ReferenceArrayInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/ReferenceInput.d.ts +6 -23
- package/dist/components/ra-inputs/ReferenceInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/ReferenceManyInput.d.ts +10 -12
- package/dist/components/ra-inputs/ReferenceManyInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/SearchInput.d.ts +3 -1
- package/dist/components/ra-inputs/SearchInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/SelectArrayInput.d.ts +3 -26
- package/dist/components/ra-inputs/SelectArrayInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/SelectInput.d.ts +3 -2
- package/dist/components/ra-inputs/SelectInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/SmartTextInput.d.ts +6 -26
- package/dist/components/ra-inputs/SmartTextInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/TextInput.d.ts +2 -16
- package/dist/components/ra-inputs/TextInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/TimeInput.d.ts +3 -16
- package/dist/components/ra-inputs/TimeInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/index.d.ts +23 -24
- package/dist/components/ra-inputs/index.d.ts.map +1 -1
- package/dist/components/ra-lists/BulkActionsToolbar.d.ts +1 -8
- package/dist/components/ra-lists/BulkActionsToolbar.d.ts.map +1 -1
- package/dist/components/ra-lists/BulkFloatingActionsToolbar.d.ts +1 -7
- package/dist/components/ra-lists/BulkFloatingActionsToolbar.d.ts.map +1 -1
- package/dist/components/ra-lists/Datagrid/Datagrid.d.ts +1 -1
- package/dist/components/ra-lists/Datagrid/Datagrid.d.ts.map +1 -1
- package/dist/components/ra-lists/Datagrid/DatagridContextProvider.d.ts +1 -1
- package/dist/components/ra-lists/Datagrid/DatagridContextProvider.d.ts.map +1 -1
- package/dist/components/ra-lists/Datagrid/index.d.ts +1 -4
- package/dist/components/ra-lists/Datagrid/index.d.ts.map +1 -1
- package/dist/components/ra-lists/Empty.d.ts +1 -11
- package/dist/components/ra-lists/Empty.d.ts.map +1 -1
- package/dist/components/ra-lists/List.d.ts +2 -26
- package/dist/components/ra-lists/List.d.ts.map +1 -1
- package/dist/components/ra-lists/ListView.d.ts +1 -16
- package/dist/components/ra-lists/ListView.d.ts.map +1 -1
- package/dist/components/ra-lists/NotificationList/NotificationList.d.ts +4 -3
- package/dist/components/ra-lists/NotificationList/NotificationList.d.ts.map +1 -1
- package/dist/components/ra-lists/NotificationList/buttons/MarkAsReadedButton.d.ts +4 -0
- package/dist/components/ra-lists/NotificationList/buttons/MarkAsReadedButton.d.ts.map +1 -0
- package/dist/components/ra-lists/NotificationList/buttons/MarkAsUnreadedButton.d.ts +4 -0
- package/dist/components/ra-lists/NotificationList/buttons/MarkAsUnreadedButton.d.ts.map +1 -0
- package/dist/components/ra-lists/NotificationList/buttons/index.d.ts +3 -0
- package/dist/components/ra-lists/NotificationList/buttons/index.d.ts.map +1 -0
- package/dist/components/ra-lists/NotificationList/fields/NotificationField.d.ts +4 -0
- package/dist/components/ra-lists/NotificationList/fields/NotificationField.d.ts.map +1 -0
- package/dist/components/ra-lists/NotificationList/fields/index.d.ts +2 -0
- package/dist/components/ra-lists/NotificationList/fields/index.d.ts.map +1 -0
- package/dist/components/ra-lists/NotificationList/index.d.ts +1 -2
- package/dist/components/ra-lists/NotificationList/index.d.ts.map +1 -1
- package/dist/components/ra-lists/SimpleList.d.ts +3 -3
- package/dist/components/ra-lists/SimpleList.d.ts.map +1 -1
- package/dist/components/ra-lists/index.d.ts +7 -7
- package/dist/components/ra-lists/index.d.ts.map +1 -1
- package/dist/components/ra-pages/LoginPage.d.ts +2 -16
- package/dist/components/ra-pages/LoginPage.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +67 -67
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +11945 -12792
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +67 -67
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/{Admin.jsx → Admin.tsx} +6 -14
- package/src/AdminContext.tsx +12 -14
- package/src/ApplicaAdmin.tsx +21 -38
- package/src/components/@extended/Breadcrumbs.jsx +2 -6
- package/src/components/ActionsMenu.tsx +11 -1
- package/src/components/AuthBackground.tsx +2 -2
- package/src/components/Layout/Drawer/Drawer.tsx +2 -3
- package/src/components/Layout/Drawer/DrawerHeader.tsx +2 -2
- package/src/components/Layout/Drawer/DrawerHeaderStyled.jsx +2 -8
- package/src/components/Layout/Footer.tsx +2 -13
- package/src/components/Layout/Header/AppBarStyled.tsx +29 -0
- package/src/components/Layout/Layout.tsx +0 -1
- package/src/components/Notification.tsx +15 -0
- package/src/components/index.jsx +1 -0
- package/src/components/ra-buttons/CreateInDialogButton.tsx +11 -47
- package/src/components/ra-buttons/{EditInDialogButton.jsx → EditInDialogButton.tsx} +20 -21
- package/src/components/ra-buttons/{ImpersonateUserButton.jsx → ImpersonateUserButton.tsx} +8 -9
- package/src/components/ra-buttons/index.ts +3 -0
- package/src/components/ra-custom/ListItem.tsx +4 -39
- package/src/components/ra-custom/index.ts +1 -0
- package/src/components/ra-fields/{ActionsField.jsx → ActionsField.tsx} +8 -16
- package/src/components/ra-fields/AttachmentField.tsx +4 -14
- package/src/components/ra-fields/BaseAttachmentField.tsx +2 -16
- package/src/components/ra-fields/{CoverField.jsx → CoverField.tsx} +17 -28
- package/src/components/ra-fields/{DateAgoField.jsx → DateAgoField.tsx} +8 -11
- package/src/components/ra-fields/DateField.tsx +14 -0
- package/src/components/ra-fields/EmailField.tsx +13 -0
- package/src/components/ra-fields/{FileField.jsx → FileField.tsx} +17 -13
- package/src/components/ra-fields/FunctionField.tsx +7 -0
- package/src/components/ra-fields/{ImageField.jsx → ImageField.tsx} +3 -9
- package/src/components/ra-fields/LocalizedTextField.tsx +3 -3
- package/src/components/ra-fields/ReadonlyField.tsx +4 -3
- package/src/components/ra-fields/ReferenceManyField.tsx +24 -35
- package/src/components/ra-fields/{SizeField.jsx → SizeField.tsx} +8 -9
- package/src/components/ra-fields/TextField.tsx +14 -0
- package/src/components/ra-fields/index.ts +14 -0
- package/src/components/ra-forms/CardForm.tsx +102 -0
- package/src/components/ra-forms/ChangePasswordForm.tsx +4 -6
- package/src/components/ra-forms/Create.tsx +6 -8
- package/src/components/ra-forms/{Edit.jsx → Edit.tsx} +5 -5
- package/src/components/ra-forms/FormHeader.tsx +5 -23
- package/src/components/ra-forms/LongForm/Content.tsx +1 -1
- package/src/components/ra-forms/LongForm/Form.tsx +3 -3
- package/src/components/ra-forms/LongForm/NavMenu.tsx +3 -3
- package/src/components/ra-forms/LongForm/Provider.tsx +3 -4
- package/src/components/ra-forms/LongForm/Sidebar.tsx +2 -2
- package/src/components/ra-forms/LongForm/Tab.tsx +5 -5
- package/src/components/ra-forms/LongForm/hooks.tsx +3 -3
- package/src/components/ra-forms/LongForm/index.ts +3 -13
- package/src/components/ra-forms/LongForm/utils.ts +1 -1
- package/src/components/ra-forms/Show.tsx +21 -19
- package/src/components/ra-forms/SimpleForm.tsx +23 -40
- package/src/components/ra-forms/SimpleFormIterator.tsx +26 -24
- package/src/components/ra-forms/TabbedForm.tsx +36 -27
- package/src/components/ra-forms/TableForm/TableFormIterator.tsx +6 -34
- package/src/components/ra-forms/TableForm/TableFormIteratorItem.tsx +3 -4
- package/src/components/ra-forms/TableForm/index.ts +1 -3
- package/src/components/ra-forms/{Toolbar.jsx → Toolbar.tsx} +6 -11
- package/src/components/ra-forms/index.ts +12 -0
- package/src/components/ra-inputs/ArrayInput.tsx +15 -15
- package/src/components/ra-inputs/AttachmentInput.tsx +17 -25
- package/src/components/ra-inputs/AutocompleteArrayInput.tsx +27 -0
- package/src/components/ra-inputs/{AutocompleteInput.jsx → AutocompleteInput.tsx} +8 -18
- package/src/components/ra-inputs/{BooleanInput.jsx → BooleanInput.tsx} +8 -15
- package/src/components/ra-inputs/DateInput.tsx +24 -0
- package/src/components/ra-inputs/DateTimeInput.tsx +10 -18
- package/src/components/ra-inputs/{FileInput.jsx → FileInput.tsx} +28 -29
- package/src/components/ra-inputs/ImageInput.tsx +44 -0
- package/src/components/ra-inputs/LabeledArrayInput.tsx +8 -31
- package/src/components/ra-inputs/LabeledInput.tsx +12 -24
- package/src/components/ra-inputs/LocalizedTextInput.tsx +7 -7
- package/src/components/ra-inputs/NumberInput.tsx +24 -0
- package/src/components/ra-inputs/{RecordInput.jsx → RecordInput.tsx} +20 -18
- package/src/components/ra-inputs/ReferenceArrayInput.tsx +19 -0
- package/src/components/ra-inputs/ReferenceInput.tsx +19 -0
- package/src/components/ra-inputs/ReferenceManyInput.tsx +26 -0
- package/src/components/ra-inputs/SearchInput.tsx +12 -0
- package/src/components/ra-inputs/SelectArrayInput.tsx +33 -0
- package/src/components/ra-inputs/SelectInput.tsx +8 -10
- package/src/components/ra-inputs/{SmartTextInput.jsx → SmartTextInput.tsx} +10 -20
- package/src/components/ra-inputs/TextInput.tsx +9 -12
- package/src/components/ra-inputs/TimeInput.tsx +39 -0
- package/src/components/ra-inputs/index.ts +23 -0
- package/src/components/ra-lists/BulkActionsToolbar.tsx +6 -15
- package/src/components/ra-lists/BulkFloatingActionsToolbar.tsx +5 -9
- package/src/components/ra-lists/Datagrid/Datagrid.tsx +5 -6
- package/src/components/ra-lists/Datagrid/DatagridContextProvider.tsx +1 -1
- package/src/components/ra-lists/Datagrid/index.tsx +2 -6
- package/src/components/ra-lists/Empty.tsx +5 -16
- package/src/components/ra-lists/List.tsx +11 -47
- package/src/components/ra-lists/ListView.tsx +4 -19
- package/src/components/ra-lists/NotificationList/{NotificationList.jsx → NotificationList.tsx} +7 -8
- package/src/components/ra-lists/NotificationList/{button/MarkAsReadedButton.jsx → buttons/MarkAsReadedButton.tsx} +9 -9
- package/src/components/ra-lists/NotificationList/{button/MarkAsUnreadedButton.jsx → buttons/MarkAsUnreadedButton.tsx} +7 -6
- package/src/components/ra-lists/NotificationList/buttons/index.ts +2 -0
- package/src/components/ra-lists/NotificationList/{field/NotificationField.jsx → fields/NotificationField.tsx} +5 -5
- package/src/components/ra-lists/NotificationList/fields/index.ts +1 -0
- package/src/components/ra-lists/NotificationList/index.ts +1 -0
- package/src/components/ra-lists/SimpleList.tsx +2 -2
- package/src/components/ra-lists/index.ts +7 -7
- package/src/components/ra-pages/LoginPage.tsx +11 -16
- package/vite.config.js +84 -71
- package/dist/components/ra-lists/NotificationList/button/MarkAsReadedButton.d.ts +0 -3
- package/dist/components/ra-lists/NotificationList/button/MarkAsReadedButton.d.ts.map +0 -1
- package/dist/components/ra-lists/NotificationList/button/MarkAsUnreadedButton.d.ts +0 -3
- package/dist/components/ra-lists/NotificationList/button/MarkAsUnreadedButton.d.ts.map +0 -1
- package/dist/components/ra-lists/NotificationList/button/index.d.ts +0 -3
- package/dist/components/ra-lists/NotificationList/button/index.d.ts.map +0 -1
- package/dist/components/ra-lists/NotificationList/field/NotificationField.d.ts +0 -3
- package/dist/components/ra-lists/NotificationList/field/NotificationField.d.ts.map +0 -1
- package/dist/components/ra-lists/NotificationList/field/index.d.ts +0 -2
- package/dist/components/ra-lists/NotificationList/field/index.d.ts.map +0 -1
- package/src/components/Layout/Header/AppBarStyled.jsx +0 -32
- package/src/components/Notification.jsx +0 -13
- package/src/components/ra-buttons/index.jsx +0 -4
- package/src/components/ra-custom/index.tsx +0 -2
- package/src/components/ra-fields/DateField.jsx +0 -27
- package/src/components/ra-fields/EmailField.jsx +0 -27
- package/src/components/ra-fields/FunctionField.jsx +0 -9
- package/src/components/ra-fields/TextField.jsx +0 -27
- package/src/components/ra-fields/index.jsx +0 -30
- package/src/components/ra-forms/CardForm.jsx +0 -107
- package/src/components/ra-forms/index.jsx +0 -29
- package/src/components/ra-inputs/AutocompleteArrayInput.jsx +0 -35
- package/src/components/ra-inputs/DateInput.jsx +0 -30
- package/src/components/ra-inputs/ImageInput.jsx +0 -45
- package/src/components/ra-inputs/NumberInput.jsx +0 -28
- package/src/components/ra-inputs/ReferenceArrayInput.jsx +0 -23
- package/src/components/ra-inputs/ReferenceInput.jsx +0 -23
- package/src/components/ra-inputs/ReferenceManyInput.jsx +0 -33
- package/src/components/ra-inputs/SearchInput.jsx +0 -14
- package/src/components/ra-inputs/SelectArrayInput.jsx +0 -47
- package/src/components/ra-inputs/TimeInput.jsx +0 -46
- package/src/components/ra-inputs/index.jsx +0 -48
- package/src/components/ra-lists/NotificationList/button/index.jsx +0 -2
- package/src/components/ra-lists/NotificationList/field/index.jsx +0 -1
- package/src/components/ra-lists/NotificationList/index.jsx +0 -2
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
2
|
export type BaseAttachmentFieldProps = {
|
|
4
3
|
src: string;
|
|
5
4
|
title: string | ((record: any) => string) | JSX.Element;
|
|
@@ -14,19 +13,6 @@ export type BaseAttachmentFieldProps = {
|
|
|
14
13
|
record: any;
|
|
15
14
|
onClick: (e: any) => void;
|
|
16
15
|
};
|
|
17
|
-
export declare
|
|
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
|
-
};
|
|
16
|
+
export declare function BaseAttachmentField(props: BaseAttachmentFieldProps): JSX.Element | any;
|
|
31
17
|
export default BaseAttachmentField;
|
|
32
18
|
//# sourceMappingURL=BaseAttachmentField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseAttachmentField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/BaseAttachmentField.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"BaseAttachmentField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/BaseAttachmentField.tsx"],"names":[],"mappings":";AAgBA,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,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,GAAG,GAAG,CAAC,OAAO,GAAG,GAAG,CAkCtF;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FieldProps } from 'react-admin';
|
|
3
|
+
export type CoverFieldProps = {
|
|
4
|
+
width?: number | string;
|
|
5
|
+
height?: number | string;
|
|
6
|
+
circle?: boolean;
|
|
7
|
+
justify?: 'flex-start' | 'center' | 'flex-end';
|
|
8
|
+
} & FieldProps;
|
|
2
9
|
/**
|
|
3
10
|
* A component that displays an image in a circle or square (with minimum radius).
|
|
4
11
|
*
|
|
@@ -15,34 +22,6 @@ export default CoverField;
|
|
|
15
22
|
* // With custom width/height:
|
|
16
23
|
* <CoverField source="image" width={100} height={100} />
|
|
17
24
|
*/
|
|
18
|
-
declare function CoverField({ width: defaultWidth, height: defaultHeight, circle: defaultCircle, justify: defaultJustify, record: _propRecord, ...props }:
|
|
19
|
-
|
|
20
|
-
width: any;
|
|
21
|
-
height: any;
|
|
22
|
-
circle: any;
|
|
23
|
-
justify: any;
|
|
24
|
-
record: any;
|
|
25
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
declare namespace CoverField {
|
|
27
|
-
const defaultProps: any;
|
|
28
|
-
const propTypes: {
|
|
29
|
-
width: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
30
|
-
height: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
31
|
-
circle: PropTypes.Requireable<boolean>;
|
|
32
|
-
justify: PropTypes.Requireable<string>;
|
|
33
|
-
source: PropTypes.Requireable<string>;
|
|
34
|
-
src: PropTypes.Requireable<string>;
|
|
35
|
-
title: PropTypes.Requireable<string>;
|
|
36
|
-
sortBy: PropTypes.Requireable<string>;
|
|
37
|
-
sortByOrder: PropTypes.Requireable<"ASC" | "DESC">;
|
|
38
|
-
label: PropTypes.Requireable<NonNullable<string | boolean | PropTypes.ReactElementLike>>;
|
|
39
|
-
sortable: PropTypes.Requireable<boolean>;
|
|
40
|
-
className: PropTypes.Requireable<string>;
|
|
41
|
-
cellClassName: PropTypes.Requireable<string>;
|
|
42
|
-
headerClassName: PropTypes.Requireable<string>;
|
|
43
|
-
textAlign: PropTypes.Requireable<"center" | "inherit" | "left" | "right" | "justify">;
|
|
44
|
-
emptyText: PropTypes.Requireable<string>;
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
import PropTypes from 'prop-types';
|
|
25
|
+
export declare function CoverField({ width: defaultWidth, height: defaultHeight, circle: defaultCircle, justify: defaultJustify, record: _propRecord, ...props }: CoverFieldProps): JSX.Element;
|
|
26
|
+
export default CoverField;
|
|
48
27
|
//# sourceMappingURL=CoverField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoverField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/CoverField.
|
|
1
|
+
{"version":3,"file":"CoverField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/CoverField.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAoB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC;CAChD,GAAG,UAAU,CAAC;AACf;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EAAE,YAAkB,EACzB,MAAM,EAAE,aAAmB,EAC3B,MAAM,EAAE,aAAqB,EAC7B,OAAO,EAAE,cAA6B,EACtC,MAAM,EAAE,WAAW,EACnB,GAAG,KAAK,EACT,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CA+B/B;AACD,eAAe,UAAU,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DateFieldProps } from 'react-admin';
|
|
3
|
+
export type DateAgoFieldProps = {
|
|
4
|
+
source: string;
|
|
5
|
+
} & DateFieldProps;
|
|
6
|
+
export declare function DateAgoField(props: DateAgoFieldProps): JSX.Element;
|
|
1
7
|
export default DateAgoField;
|
|
2
|
-
declare function DateAgoField(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace DateAgoField {
|
|
4
|
-
const displayName: string;
|
|
5
|
-
namespace propTypes {
|
|
6
|
-
const source: PropTypes.Validator<string>;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
import PropTypes from 'prop-types';
|
|
10
8
|
//# sourceMappingURL=DateAgoField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateAgoField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/DateAgoField.
|
|
1
|
+
{"version":3,"file":"DateAgoField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/DateAgoField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAa,cAAc,EAAoC,MAAM,aAAa,CAAC;AAM1F,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AAIzB,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,cAAc,CAAC;AAEnB,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAclE;AACD,eAAe,YAAY,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DateFieldProps } from 'react-admin';
|
|
3
|
+
export declare function DateField({ variant, ...props }: DateFieldProps): JSX.Element;
|
|
1
4
|
export default DateField;
|
|
2
|
-
declare function DateField(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace DateField {
|
|
4
|
-
const defaultProps: any;
|
|
5
|
-
const propTypes: any;
|
|
6
|
-
}
|
|
7
5
|
//# sourceMappingURL=DateField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/DateField.
|
|
1
|
+
{"version":3,"file":"DateField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/DateField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAA4B,MAAM,aAAa,CAAC;AAQvE,wBAAgB,SAAS,CAAC,EAAE,OAAiB,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,GAAG,GAAG,CAAC,OAAO,CAGtF;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { EmailFieldProps } from 'react-admin';
|
|
3
|
+
export declare function EmailField({ variant, ...props }: EmailFieldProps): JSX.Element;
|
|
1
4
|
export default EmailField;
|
|
2
|
-
declare function EmailField(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace EmailField {
|
|
4
|
-
const defaultProps: any;
|
|
5
|
-
const propTypes: {
|
|
6
|
-
sortBy: import("prop-types").Requireable<string>;
|
|
7
|
-
sortByOrder: import("prop-types").Requireable<"ASC" | "DESC">;
|
|
8
|
-
source: import("prop-types").Requireable<string>;
|
|
9
|
-
label: import("prop-types").Requireable<NonNullable<string | boolean | import("prop-types").ReactElementLike>>;
|
|
10
|
-
sortable: import("prop-types").Requireable<boolean>;
|
|
11
|
-
className: import("prop-types").Requireable<string>;
|
|
12
|
-
cellClassName: import("prop-types").Requireable<string>;
|
|
13
|
-
headerClassName: import("prop-types").Requireable<string>;
|
|
14
|
-
textAlign: import("prop-types").Requireable<"center" | "inherit" | "left" | "right" | "justify">;
|
|
15
|
-
emptyText: import("prop-types").Requireable<string>;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
5
|
//# sourceMappingURL=EmailField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmailField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/EmailField.
|
|
1
|
+
{"version":3,"file":"EmailField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/EmailField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAA8B,MAAM,aAAa,CAAC;AAQ1E,wBAAgB,UAAU,CAAC,EAAE,OAAiB,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAExF;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1,29 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FileFieldProps as RaFileFieldProps } from 'react-admin';
|
|
3
|
+
export type FileFieldProps = {
|
|
4
|
+
source: string;
|
|
5
|
+
title: string;
|
|
6
|
+
} & RaFileFieldProps;
|
|
2
7
|
/**
|
|
3
8
|
* This component works with Base64 files.
|
|
4
9
|
*/
|
|
5
|
-
declare function FileField({ ...props }:
|
|
6
|
-
|
|
7
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare namespace FileField {
|
|
9
|
-
const propTypes: {
|
|
10
|
-
source: PropTypes.Requireable<string>;
|
|
11
|
-
title: PropTypes.Requireable<string>;
|
|
12
|
-
src: PropTypes.Requireable<string>;
|
|
13
|
-
target: PropTypes.Requireable<string>;
|
|
14
|
-
download: PropTypes.Requireable<NonNullable<string | boolean>>;
|
|
15
|
-
ping: PropTypes.Requireable<string>;
|
|
16
|
-
rel: PropTypes.Requireable<string>;
|
|
17
|
-
sortBy: PropTypes.Requireable<string>;
|
|
18
|
-
sortByOrder: PropTypes.Requireable<"ASC" | "DESC">;
|
|
19
|
-
label: PropTypes.Requireable<NonNullable<string | boolean | PropTypes.ReactElementLike>>;
|
|
20
|
-
sortable: PropTypes.Requireable<boolean>;
|
|
21
|
-
className: PropTypes.Requireable<string>;
|
|
22
|
-
cellClassName: PropTypes.Requireable<string>;
|
|
23
|
-
headerClassName: PropTypes.Requireable<string>;
|
|
24
|
-
textAlign: PropTypes.Requireable<"center" | "inherit" | "left" | "right" | "justify">;
|
|
25
|
-
emptyText: PropTypes.Requireable<string>;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
import PropTypes from 'prop-types';
|
|
10
|
+
export declare function FileField({ ...props }: FileFieldProps): JSX.Element;
|
|
11
|
+
export default FileField;
|
|
29
12
|
//# sourceMappingURL=FileField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/FileField.
|
|
1
|
+
{"version":3,"file":"FileField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/FileField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA4B,cAAc,IAAI,gBAAgB,EAAoB,MAAM,aAAa,CAAC;AAU7G,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,gBAAgB,CAAC;AAErB;;GAEG;AACH,wBAAgB,SAAS,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,GAAG,GAAG,CAAC,OAAO,CAuBnE;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FunctionFieldProps } from 'react-admin';
|
|
3
|
+
export declare function FunctionField({ variant, ...props }: FunctionFieldProps): JSX.Element;
|
|
1
4
|
export default FunctionField;
|
|
2
|
-
declare function FunctionField(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace FunctionField {
|
|
4
|
-
namespace defaultProps {
|
|
5
|
-
const variant: string;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
5
|
//# sourceMappingURL=FunctionField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/FunctionField.
|
|
1
|
+
{"version":3,"file":"FunctionField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/FunctionField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAoC,MAAM,aAAa,CAAC;AAEnF,wBAAgB,aAAa,CAAC,EAAE,OAAiB,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAE9F;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1,20 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ImageFieldProps } from 'react-admin';
|
|
3
|
+
export declare function ImageField(props: ImageFieldProps): JSX.Element;
|
|
1
4
|
export default ImageField;
|
|
2
|
-
declare function ImageField(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace ImageField {
|
|
4
|
-
const propTypes: {
|
|
5
|
-
source: PropTypes.Requireable<string>;
|
|
6
|
-
src: PropTypes.Requireable<string>;
|
|
7
|
-
title: PropTypes.Requireable<string>;
|
|
8
|
-
sortBy: PropTypes.Requireable<string>;
|
|
9
|
-
sortByOrder: PropTypes.Requireable<"ASC" | "DESC">;
|
|
10
|
-
label: PropTypes.Requireable<NonNullable<string | boolean | PropTypes.ReactElementLike>>;
|
|
11
|
-
sortable: PropTypes.Requireable<boolean>;
|
|
12
|
-
className: PropTypes.Requireable<string>;
|
|
13
|
-
cellClassName: PropTypes.Requireable<string>;
|
|
14
|
-
headerClassName: PropTypes.Requireable<string>;
|
|
15
|
-
textAlign: PropTypes.Requireable<"center" | "inherit" | "left" | "right" | "justify">;
|
|
16
|
-
emptyText: PropTypes.Requireable<string>;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
import PropTypes from 'prop-types';
|
|
20
5
|
//# sourceMappingURL=ImageField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ImageField.
|
|
1
|
+
{"version":3,"file":"ImageField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ImageField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAA8B,MAAM,aAAa,CAAC;AAQ1E,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAG9D;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { TextFieldProps } from 'ra-ui-materialui';
|
|
2
|
-
type ILocalizedTextFieldProps = TextFieldProps;
|
|
3
|
-
declare function LocalizedTextField(props: ILocalizedTextFieldProps):
|
|
3
|
+
export type ILocalizedTextFieldProps = TextFieldProps;
|
|
4
|
+
export declare function LocalizedTextField(props: ILocalizedTextFieldProps): JSX.Element;
|
|
4
5
|
export default LocalizedTextField;
|
|
5
6
|
//# sourceMappingURL=LocalizedTextField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocalizedTextField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/LocalizedTextField.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAUlD,
|
|
1
|
+
{"version":3,"file":"LocalizedTextField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/LocalizedTextField.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAUlD,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC;AAEtD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,GAAG,GAAG,CAAC,OAAO,CA8B/E;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -17,6 +17,6 @@ export type ReadonlyFieldProps = {
|
|
|
17
17
|
children: React.ReactElement<any, any>;
|
|
18
18
|
fullWidth?: boolean;
|
|
19
19
|
};
|
|
20
|
-
declare
|
|
20
|
+
export declare function ReadonlyField({ label, source, defaultValue, children, tooltip: _tooltip, ...props }: ReadonlyFieldProps): JSX.Element;
|
|
21
21
|
export default ReadonlyField;
|
|
22
22
|
//# sourceMappingURL=ReadonlyField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadonlyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReadonlyField.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA4B,MAAM,OAAO,CAAC;AA2BjD,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,GAAG,CAAC;IAClB,MAAM,EAAE,GAAG,CAAC;CACb,CAAC;AAQF,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAcF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,YAAY,EAAE,GAAG,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,OAAO,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,MAAM,CAAC,CAAC;IACtD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"ReadonlyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReadonlyField.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA4B,MAAM,OAAO,CAAC;AA2BjD,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,GAAG,CAAC;IAClB,MAAM,EAAE,GAAG,CAAC;CACb,CAAC;AAQF,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAcF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,YAAY,EAAE,GAAG,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,OAAO,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,MAAM,CAAC,CAAC;IACtD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,MAAM,EACN,YAAuB,EACvB,QAAiF,EACjF,OAAO,EAAE,QAAQ,EACjB,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAkClC;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ReferenceManyFieldProps as RaReferenceManyFieldProps } from 'react-admin';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export type StyledDivProps = {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
};
|
|
7
3
|
export type ReferenceManyFieldProps = RaReferenceManyFieldProps & {
|
|
8
4
|
/**
|
|
9
5
|
* Default undefined, serve ad aggiungere un padding superiore al componente per consentire
|
|
@@ -11,18 +7,13 @@ export type ReferenceManyFieldProps = RaReferenceManyFieldProps & {
|
|
|
11
7
|
*/
|
|
12
8
|
bulkActionButtons?: boolean | any;
|
|
13
9
|
};
|
|
14
|
-
export type StyledRootProps = ReferenceManyFieldProps & {
|
|
15
|
-
theme?: any;
|
|
16
|
-
bulkActionButtons?: boolean | any;
|
|
17
|
-
};
|
|
18
10
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
11
|
+
* This component allows you to manage the display of a list of records related to a main record.
|
|
12
|
+
* This component is a customized version of the ReferenceManyField component of React-Admin.
|
|
21
13
|
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* superiore del componente <Datagrid />).
|
|
14
|
+
* If you want to display records and not show the list of available actions (bulk action buttons)
|
|
15
|
+
* you can set the bulkActionButtons prop to false and, subsequently, if you use an internal component of type <Datagrid />
|
|
16
|
+
* you must set the same property, bulkActionButtons, to false (in this way the top padding of the <Datagrid /> component is completely removed).
|
|
26
17
|
*
|
|
27
18
|
* @example
|
|
28
19
|
* import { ReferenceManyField, Datagrid } from '../..';
|
|
@@ -37,6 +28,6 @@ export type StyledRootProps = ReferenceManyFieldProps & {
|
|
|
37
28
|
* @param props {ReferenceManyFieldProps}
|
|
38
29
|
* @returns {JSX.Element}
|
|
39
30
|
*/
|
|
40
|
-
declare
|
|
31
|
+
export declare function ReferenceManyField(props: ReferenceManyFieldProps): JSX.Element;
|
|
41
32
|
export default ReferenceManyField;
|
|
42
33
|
//# sourceMappingURL=ReferenceManyField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReferenceManyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReferenceManyField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReferenceManyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReferenceManyField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA0D,uBAAuB,IAAI,yBAAyB,EAAE,MAAM,aAAa,CAAC;AA6E3I,MAAM,MAAM,uBAAuB,GAAG,yBAAyB,GAAG;IAChE;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,GAAG,CAAC;CACnC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAO9E;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FieldProps } from 'react-admin';
|
|
3
|
+
export type SizeFieldProps = {
|
|
4
|
+
source: string;
|
|
5
|
+
} & FieldProps;
|
|
6
|
+
export declare function SizeField({ source, ...props }: SizeFieldProps): JSX.Element;
|
|
1
7
|
export default SizeField;
|
|
2
|
-
declare function SizeField({ source, ...props }: {
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
source: any;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare namespace SizeField {
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
const record: PropTypes.Requireable<object>;
|
|
9
|
-
const source: PropTypes.Requireable<string>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
import PropTypes from 'prop-types';
|
|
13
8
|
//# sourceMappingURL=SizeField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SizeField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/SizeField.
|
|
1
|
+
{"version":3,"file":"SizeField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/SizeField.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAoB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,UAAU,CAAC;AAEf,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,GAAG,GAAG,CAAC,OAAO,CAoB3E;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TextFieldProps } from 'react-admin';
|
|
3
|
+
export declare function TextField({ variant, ...props }: TextFieldProps): JSX.Element;
|
|
1
4
|
export default TextField;
|
|
2
|
-
declare function TextField(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace TextField {
|
|
4
|
-
const defaultProps: any;
|
|
5
|
-
const propTypes: any;
|
|
6
|
-
}
|
|
7
5
|
//# sourceMappingURL=TextField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/TextField.
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/TextField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA4B,cAAc,EAAE,MAAM,aAAa,CAAC;AAQvE,wBAAgB,SAAS,CAAC,EAAE,OAAiB,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,GAAG,GAAG,CAAC,OAAO,CAGtF;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export { ActionsField, AttachmentField, CoverField, DateAgoField, DateField, EmailField, FileField, FunctionField, ImageField, LocalizedTextField, ReadonlyField, ReferenceManyField, SizeField, TextField };
|
|
1
|
+
export * from './ActionsField';
|
|
2
|
+
export * from './AttachmentField';
|
|
3
|
+
export * from './CoverField';
|
|
4
|
+
export * from './DateAgoField';
|
|
5
|
+
export * from './DateField';
|
|
6
|
+
export * from './EmailField';
|
|
7
|
+
export * from './FileField';
|
|
8
|
+
export * from './FunctionField';
|
|
9
|
+
export * from './ImageField';
|
|
10
|
+
export * from './LocalizedTextField';
|
|
11
|
+
export * from './ReadonlyField';
|
|
12
|
+
export * from './ReferenceManyField';
|
|
13
|
+
export * from './SizeField';
|
|
14
|
+
export * from './TextField';
|
|
16
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
|
|
@@ -1,31 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
import { GridProps } from '@mui/material';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export type SectionProps = {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
content?: boolean | undefined | null;
|
|
6
|
+
title?: string | React.ReactNode | null;
|
|
7
|
+
subheader?: string | React.ReactNode;
|
|
8
|
+
secondary?: string | React.ReactNode;
|
|
9
|
+
toolbar?: React.ReactNode | boolean;
|
|
10
|
+
} & GridProps;
|
|
11
|
+
export type CardFormProps = {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
spacing?: number;
|
|
14
|
+
defaultValues?: any;
|
|
15
|
+
} & GridProps;
|
|
2
16
|
/**
|
|
17
|
+
* Basic card form layout.
|
|
18
|
+
* It is a simple form layout that uses a card as the main container.
|
|
19
|
+
*
|
|
3
20
|
* @see https://mui.com/material-ui/react-stack/
|
|
4
21
|
*/
|
|
5
|
-
declare function CardForm({ children, spacing, defaultValues, ...gridProps }:
|
|
6
|
-
|
|
7
|
-
children:
|
|
8
|
-
spacing: any;
|
|
9
|
-
defaultValues: any;
|
|
10
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare namespace CardForm {
|
|
12
|
-
export const propTypes: any;
|
|
13
|
-
export const defaultProps: any;
|
|
14
|
-
export { Section };
|
|
15
|
-
}
|
|
16
|
-
declare function Section({ children, content, title, subheader, secondary, toolbar, ...gridProps }: {
|
|
17
|
-
[x: string]: any;
|
|
18
|
-
children: any;
|
|
19
|
-
content: any;
|
|
20
|
-
title: any;
|
|
21
|
-
subheader: any;
|
|
22
|
-
secondary: any;
|
|
23
|
-
toolbar: any;
|
|
24
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
declare namespace Section {
|
|
26
|
-
const defaultProps_1: any;
|
|
27
|
-
export { defaultProps_1 as defaultProps };
|
|
28
|
-
const propTypes_1: any;
|
|
29
|
-
export { propTypes_1 as propTypes };
|
|
22
|
+
export declare function CardForm({ children, spacing, defaultValues, ...gridProps }: CardFormProps): JSX.Element;
|
|
23
|
+
export declare namespace CardForm {
|
|
24
|
+
var Section: ({ children, content, title, subheader, secondary, toolbar, lg, md, sm, xs, ...gridProps }: SectionProps) => JSX.Element;
|
|
30
25
|
}
|
|
26
|
+
export default CardForm;
|
|
31
27
|
//# sourceMappingURL=CardForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/CardForm.
|
|
1
|
+
{"version":3,"file":"CardForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/CardForm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAC;AAIhD,OAAO,KAA4B,MAAM,OAAO,CAAC;AAGjD,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACrC,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,OAAO,CAAC;CACrC,GAAG,SAAS,CAAC;AA6Dd,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,GAAG,CAAC;CACrB,GAAG,SAAS,CAAC;AAEd;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,SAAS,EAAE,EAAE,aAAa,GAAG,GAAG,CAAC,OAAO,CAUvG;yBAVe,QAAQ;;;AAaxB,eAAe,QAAQ,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export type ChangePasswordFormProps = {
|
|
2
3
|
onSuccess: () => void;
|
|
3
4
|
firstAccess?: boolean;
|
|
4
5
|
};
|
|
5
|
-
declare
|
|
6
|
+
export declare function ChangePasswordForm({ onSuccess, firstAccess }: ChangePasswordFormProps): JSX.Element;
|
|
6
7
|
export default ChangePasswordForm;
|
|
7
8
|
//# sourceMappingURL=ChangePasswordForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangePasswordForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/ChangePasswordForm.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChangePasswordForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/ChangePasswordForm.tsx"],"names":[],"mappings":";AASA,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AACF,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CA6DnG;AACD,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { CreateProps } from 'react-admin';
|
|
2
2
|
import { UseQueryOptions } from 'react-query';
|
|
3
3
|
type IResourceDefaultValue = object;
|
|
4
|
-
declare function useResourceDefaultValues(): IResourceDefaultValue;
|
|
5
|
-
declare const
|
|
4
|
+
export declare function useResourceDefaultValues(): IResourceDefaultValue;
|
|
5
|
+
export declare const Create: import("@emotion/styled").StyledComponent<Pick<CreateProps<any, Error, any> & {
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
useDefaults?: boolean | undefined;
|
|
8
8
|
queryOptions?: UseQueryOptions<unknown, unknown, unknown, import("react-query").QueryKey> | undefined;
|
|
9
9
|
}, "children" | "useDefaults" | "queryOptions" | keyof CreateProps<any, Error, any>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
10
|
-
export default
|
|
11
|
-
export { useResourceDefaultValues };
|
|
10
|
+
export default Create;
|
|
12
11
|
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Create.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Create.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAiF,MAAM,aAAa,CAAC;AAKzH,OAAO,EAAY,eAAe,EAAE,MAAM,aAAa,CAAC;AAWxD,KAAK,qBAAqB,GAAG,MAAM,CAAC;AAoDpC,wBAAgB,wBAAwB,IAAI,qBAAqB,CAEhE;AAED,eAAO,MAAM,MAAM;cA7DP,MAAM,SAAS;;;yKAmFxB,CAAC;AAEJ,eAAe,MAAM,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Edit: import("@emotion/styled").StyledComponent<Pick<Pick<import("react-admin").EditProps<import("react-admin").RaRecord<import("react-admin").Identifier>, unknown> & {
|
|
3
3
|
children: import("react").ReactNode;
|
|
4
4
|
}, "children" | keyof import("react-admin").EditProps<import("react-admin").RaRecord<import("react-admin").Identifier>, unknown>> & Pick<import("prop-types").InferProps<{
|
|
5
5
|
actions: import("prop-types").Requireable<NonNullable<boolean | import("prop-types").ReactElementLike>>;
|
|
@@ -23,4 +23,5 @@ declare const StyledEdit: import("@emotion/styled").StyledComponent<Pick<Pick<im
|
|
|
23
23
|
}>, "hasEdit" | "hasShow" | "hasCreate" | "hasList"> & Pick<import("react-admin").EditProps<import("react-admin").RaRecord<import("react-admin").Identifier>, unknown> & {
|
|
24
24
|
children: import("react").ReactNode;
|
|
25
25
|
}, "component">, "children" | keyof import("react-admin").EditProps<import("react-admin").RaRecord<import("react-admin").Identifier>, unknown>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
26
|
+
export default Edit;
|
|
26
27
|
//# sourceMappingURL=Edit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Edit.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Edit.
|
|
1
|
+
{"version":3,"file":"Edit.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Edit.tsx"],"names":[],"mappings":";AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;2OAkCd,CAAC;AAEJ,eAAe,IAAI,CAAC"}
|
|
@@ -1,29 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
2
|
export type FormHeaderProps = {
|
|
4
3
|
title: string;
|
|
5
4
|
divider?: boolean;
|
|
6
5
|
variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2';
|
|
7
6
|
};
|
|
8
7
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @param {FormHeaderProps} props
|
|
14
|
-
* @returns {JSX.Element}
|
|
8
|
+
* Implements the header of a form.
|
|
9
|
+
* Can be inserted inside a CardForm or a SimpleForm and shows a title with a divider
|
|
10
|
+
* that covers the entire width of the form.
|
|
15
11
|
*/
|
|
16
|
-
declare
|
|
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;
|
|
12
|
+
export declare function FormHeader({ title, divider, variant }: FormHeaderProps): JSX.Element;
|
|
29
13
|
//# sourceMappingURL=FormHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/FormHeader.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"FormHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/FormHeader.tsx"],"names":[],"mappings":";AAoBA,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,GAAG,WAAW,GAAG,WAAW,GAAG,OAAO,GAAG,OAAO,CAAC;CACnG,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,OAAc,EAAE,OAAc,EAAE,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAalG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/Content.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/Content.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAC;AAEhD,KAAK,aAAa,GAAG,SAAS,GAAG;IAC/B,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC;AAEF,iBAAS,OAAO,CAAC,KAAK,EAAE,aAAa,2CAQpC;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IBaseFormProps } from './BaseForm';
|
|
2
|
-
import { IProviderProps } from './Provider';
|
|
3
2
|
import { Disposition } from './types';
|
|
3
|
+
import { IProviderProps } from './Provider';
|
|
4
4
|
type IFormProps = IProviderProps & IBaseFormProps & {
|
|
5
5
|
spacing?: number;
|
|
6
6
|
tabsDisposition: Disposition;
|