@applica-software-guru/react-admin 1.4.226 → 1.5.230

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 (878) hide show
  1. package/.eslintrc +217 -0
  2. package/.husky/pre-commit +7 -4
  3. package/.huskyrc +6 -0
  4. package/.nvmrc +1 -1
  5. package/.prettierignore +6 -0
  6. package/.prettierrc +1 -1
  7. package/README.md +8 -38
  8. package/bitbucket-pipelines.yml +3 -3
  9. package/dist/Admin.d.ts +5 -4
  10. package/dist/Admin.d.ts.map +1 -1
  11. package/dist/AdminContext.d.ts +4 -3
  12. package/dist/AdminContext.d.ts.map +1 -1
  13. package/dist/ApplicaAdmin.d.ts +12 -11
  14. package/dist/ApplicaAdmin.d.ts.map +1 -1
  15. package/dist/components/@extended/AnimateButton.d.ts +11 -19
  16. package/dist/components/@extended/AnimateButton.d.ts.map +1 -1
  17. package/dist/components/@extended/Avatar.d.ts +10 -19
  18. package/dist/components/@extended/Avatar.d.ts.map +1 -1
  19. package/dist/components/@extended/Breadcrumbs.d.ts +20 -18
  20. package/dist/components/@extended/Breadcrumbs.d.ts.map +1 -1
  21. package/dist/components/@extended/Dot.d.ts +10 -16
  22. package/dist/components/@extended/Dot.d.ts.map +1 -1
  23. package/dist/components/@extended/IconButton.d.ts +15 -2
  24. package/dist/components/@extended/IconButton.d.ts.map +1 -1
  25. package/dist/components/@extended/LoadingButton.d.ts +19 -2
  26. package/dist/components/@extended/LoadingButton.d.ts.map +1 -1
  27. package/dist/components/@extended/Tooltip.d.ts +9 -16
  28. package/dist/components/@extended/Tooltip.d.ts.map +1 -1
  29. package/dist/components/@extended/Transitions.d.ts +10 -3
  30. package/dist/components/@extended/Transitions.d.ts.map +1 -1
  31. package/dist/components/@extended/index.d.ts +9 -10
  32. package/dist/components/@extended/index.d.ts.map +1 -1
  33. package/dist/components/@extended/progress/CircularWithLabel.d.ts +6 -11
  34. package/dist/components/@extended/progress/CircularWithLabel.d.ts.map +1 -1
  35. package/dist/components/@extended/progress/CircularWithPath.d.ts +12 -23
  36. package/dist/components/@extended/progress/CircularWithPath.d.ts.map +1 -1
  37. package/dist/components/@extended/progress/LinearWithIcon.d.ts +6 -12
  38. package/dist/components/@extended/progress/LinearWithIcon.d.ts.map +1 -1
  39. package/dist/components/@extended/progress/LinearWithLabel.d.ts +6 -11
  40. package/dist/components/@extended/progress/LinearWithLabel.d.ts.map +1 -1
  41. package/dist/components/@extended/progress/index.d.ts +4 -5
  42. package/dist/components/@extended/progress/index.d.ts.map +1 -1
  43. package/dist/components/ActionsMenu.d.ts +6 -6
  44. package/dist/components/ActionsMenu.d.ts.map +1 -1
  45. package/dist/components/AppStateProvider.d.ts +21 -0
  46. package/dist/components/AppStateProvider.d.ts.map +1 -0
  47. package/dist/components/AuthBackground.d.ts +2 -2
  48. package/dist/components/AuthBackground.d.ts.map +1 -1
  49. package/dist/components/AuthCard.d.ts +5 -11
  50. package/dist/components/AuthCard.d.ts.map +1 -1
  51. package/dist/components/AuthWrapper.d.ts +5 -16
  52. package/dist/components/AuthWrapper.d.ts.map +1 -1
  53. package/dist/components/Layout/Content.d.ts.map +1 -1
  54. package/dist/components/Layout/Drawer/Drawer.d.ts +3 -2
  55. package/dist/components/Layout/Drawer/Drawer.d.ts.map +1 -1
  56. package/dist/components/Layout/Drawer/DrawerHeader.d.ts +3 -2
  57. package/dist/components/Layout/Drawer/DrawerHeader.d.ts.map +1 -1
  58. package/dist/components/Layout/Drawer/DrawerHeaderStyled.d.ts +10 -3
  59. package/dist/components/Layout/Drawer/DrawerHeaderStyled.d.ts.map +1 -1
  60. package/dist/components/Layout/Drawer/MiniDrawerStyled.d.ts +8 -2
  61. package/dist/components/Layout/Drawer/MiniDrawerStyled.d.ts.map +1 -1
  62. package/dist/components/Layout/Error.d.ts +5 -13
  63. package/dist/components/Layout/Error.d.ts.map +1 -1
  64. package/dist/components/Layout/Header/AppBarStyled.d.ts +3 -3
  65. package/dist/components/Layout/Header/AppBarStyled.d.ts.map +1 -1
  66. package/dist/components/Layout/Header/Buttons/HeaderButton.d.ts +1 -0
  67. package/dist/components/Layout/Header/Buttons/HeaderButton.d.ts.map +1 -1
  68. package/dist/components/Layout/Header/Buttons/HeaderIconButton.d.ts.map +1 -1
  69. package/dist/components/Layout/Header/Buttons/HeaderToggleButton.d.ts.map +1 -1
  70. package/dist/components/Layout/Header/Buttons/LocaleButton.d.ts +2 -2
  71. package/dist/components/Layout/Header/Buttons/LocaleButton.d.ts.map +1 -1
  72. package/dist/components/Layout/Header/DrawerToggle.d.ts.map +1 -1
  73. package/dist/components/Layout/Header/Header.d.ts.map +1 -1
  74. package/dist/components/Layout/Header/Notification/Notification.d.ts.map +1 -1
  75. package/dist/components/Layout/Header/Notification/NotificationItem.d.ts +1 -1
  76. package/dist/components/Layout/Header/Notification/NotificationItem.d.ts.map +1 -1
  77. package/dist/components/Layout/Header/Profile/HeaderProfile.d.ts +3 -0
  78. package/dist/components/Layout/Header/Profile/HeaderProfile.d.ts.map +1 -0
  79. package/dist/components/Layout/Header/Profile/buttons/ChangePasswordButton.d.ts +3 -2
  80. package/dist/components/Layout/Header/Profile/buttons/ChangePasswordButton.d.ts.map +1 -1
  81. package/dist/components/Layout/Header/Profile/buttons/LogoutButton.d.ts +3 -2
  82. package/dist/components/Layout/Header/Profile/buttons/LogoutButton.d.ts.map +1 -1
  83. package/dist/components/Layout/Header/Profile/buttons/StopImpersonateButton.d.ts +3 -2
  84. package/dist/components/Layout/Header/Profile/buttons/StopImpersonateButton.d.ts.map +1 -1
  85. package/dist/components/Layout/Header/Profile/buttons/index.d.ts +3 -4
  86. package/dist/components/Layout/Header/Profile/buttons/index.d.ts.map +1 -1
  87. package/dist/components/Layout/Header/Profile/index.d.ts +1 -1
  88. package/dist/components/Layout/Header/Profile/index.d.ts.map +1 -1
  89. package/dist/components/Layout/Header/ResponsiveSection.d.ts +1 -1
  90. package/dist/components/Layout/Header/ResponsiveSection.d.ts.map +1 -1
  91. package/dist/components/Layout/Layout.d.ts.map +1 -1
  92. package/dist/components/Layout/MenuProvider.d.ts +57 -0
  93. package/dist/components/Layout/MenuProvider.d.ts.map +1 -0
  94. package/dist/components/Layout/Navigation/NavCollapse.d.ts +3 -3
  95. package/dist/components/Layout/Navigation/NavCollapse.d.ts.map +1 -1
  96. package/dist/components/Layout/Navigation/NavGroup.d.ts +3 -2
  97. package/dist/components/Layout/Navigation/NavGroup.d.ts.map +1 -1
  98. package/dist/components/Layout/Navigation/NavItem.d.ts +3 -3
  99. package/dist/components/Layout/Navigation/NavItem.d.ts.map +1 -1
  100. package/dist/components/Layout/Navigation/NavList.d.ts +5 -6
  101. package/dist/components/Layout/Navigation/NavList.d.ts.map +1 -1
  102. package/dist/components/Layout/Navigation/Navigation.d.ts.map +1 -1
  103. package/dist/components/Layout/Navigation/index.d.ts +2 -2
  104. package/dist/components/Layout/Navigation/index.d.ts.map +1 -1
  105. package/dist/components/Layout/Provider.d.ts +1 -1
  106. package/dist/components/Layout/Provider.d.ts.map +1 -1
  107. package/dist/components/Layout/ThemeProvider.d.ts +41 -0
  108. package/dist/components/Layout/ThemeProvider.d.ts.map +1 -0
  109. package/dist/components/Layout/ThemeToggler.d.ts +2 -1
  110. package/dist/components/Layout/ThemeToggler.d.ts.map +1 -1
  111. package/dist/components/Layout/Wrapper.d.ts.map +1 -1
  112. package/dist/components/Layout/index.d.ts +7 -5
  113. package/dist/components/Layout/index.d.ts.map +1 -1
  114. package/dist/components/Loadable.d.ts +1 -1
  115. package/dist/components/Loadable.d.ts.map +1 -1
  116. package/dist/components/Loader.d.ts +1 -1
  117. package/dist/components/Loader.d.ts.map +1 -1
  118. package/dist/components/Logo.d.ts +12 -19
  119. package/dist/components/Logo.d.ts.map +1 -1
  120. package/dist/components/MainCard.d.ts +3 -2
  121. package/dist/components/MainCard.d.ts.map +1 -1
  122. package/dist/components/MainIcon.d.ts +4 -3
  123. package/dist/components/MainIcon.d.ts.map +1 -1
  124. package/dist/components/MenuPopover/MenuPopover.d.ts +10 -19
  125. package/dist/components/MenuPopover/MenuPopover.d.ts.map +1 -1
  126. package/dist/components/MenuPopover/getPosition.d.ts +11 -45
  127. package/dist/components/MenuPopover/getPosition.d.ts.map +1 -1
  128. package/dist/components/MenuPopover/index.d.ts +3 -3
  129. package/dist/components/MenuPopover/index.d.ts.map +1 -1
  130. package/dist/components/MenuPopover/styles.d.ts +10 -1
  131. package/dist/components/MenuPopover/styles.d.ts.map +1 -1
  132. package/dist/components/MenuPopover/types.d.ts +3 -0
  133. package/dist/components/MenuPopover/types.d.ts.map +1 -0
  134. package/dist/components/Notification.d.ts +2 -2
  135. package/dist/components/Notification.d.ts.map +1 -1
  136. package/dist/components/Onboarding/{onboardingDataProvider.d.ts → DataProvider.d.ts} +1 -1
  137. package/dist/components/Onboarding/DataProvider.d.ts.map +1 -0
  138. package/dist/components/Onboarding/OnboardingTip.d.ts.map +1 -1
  139. package/dist/components/Onboarding/Provider.d.ts +4 -4
  140. package/dist/components/Onboarding/Provider.d.ts.map +1 -1
  141. package/dist/components/Onboarding/hooks.d.ts.map +1 -1
  142. package/dist/components/Onboarding/index.d.ts +3 -3
  143. package/dist/components/Onboarding/index.d.ts.map +1 -1
  144. package/dist/components/Onboarding/schemas.d.ts +3 -2
  145. package/dist/components/Onboarding/schemas.d.ts.map +1 -1
  146. package/dist/components/ScrollTop.d.ts +4 -10
  147. package/dist/components/ScrollTop.d.ts.map +1 -1
  148. package/dist/components/ScrollX.d.ts +2 -1
  149. package/dist/components/ScrollX.d.ts.map +1 -1
  150. package/dist/components/SmallIcon.d.ts +6 -10
  151. package/dist/components/SmallIcon.d.ts.map +1 -1
  152. package/dist/components/index.d.ts +16 -19
  153. package/dist/components/index.d.ts.map +1 -1
  154. package/dist/components/ra-buttons/CreateInDialogButton.d.ts +7 -29
  155. package/dist/components/ra-buttons/CreateInDialogButton.d.ts.map +1 -1
  156. package/dist/components/ra-buttons/EditInDialogButton.d.ts +7 -7
  157. package/dist/components/ra-buttons/EditInDialogButton.d.ts.map +1 -1
  158. package/dist/components/ra-buttons/ImpersonateUserButton.d.ts +4 -3
  159. package/dist/components/ra-buttons/ImpersonateUserButton.d.ts.map +1 -1
  160. package/dist/components/ra-buttons/index.d.ts +1 -1
  161. package/dist/components/ra-buttons/index.d.ts.map +1 -1
  162. package/dist/components/ra-custom/ListItem.d.ts +9 -8
  163. package/dist/components/ra-custom/ListItem.d.ts.map +1 -1
  164. package/dist/components/ra-fields/ActionsField.d.ts +4 -3
  165. package/dist/components/ra-fields/ActionsField.d.ts.map +1 -1
  166. package/dist/components/ra-fields/AttachmentField.d.ts +5 -4
  167. package/dist/components/ra-fields/AttachmentField.d.ts.map +1 -1
  168. package/dist/components/ra-fields/BaseAttachmentField.d.ts +4 -3
  169. package/dist/components/ra-fields/BaseAttachmentField.d.ts.map +1 -1
  170. package/dist/components/ra-fields/CoverField.d.ts +4 -3
  171. package/dist/components/ra-fields/CoverField.d.ts.map +1 -1
  172. package/dist/components/ra-fields/DateAgoField.d.ts +4 -3
  173. package/dist/components/ra-fields/DateAgoField.d.ts.map +1 -1
  174. package/dist/components/ra-fields/DateField.d.ts +3 -2
  175. package/dist/components/ra-fields/DateField.d.ts.map +1 -1
  176. package/dist/components/ra-fields/EmailField.d.ts +3 -2
  177. package/dist/components/ra-fields/EmailField.d.ts.map +1 -1
  178. package/dist/components/ra-fields/FileField.d.ts +4 -3
  179. package/dist/components/ra-fields/FileField.d.ts.map +1 -1
  180. package/dist/components/ra-fields/FunctionField.d.ts +3 -2
  181. package/dist/components/ra-fields/FunctionField.d.ts.map +1 -1
  182. package/dist/components/ra-fields/ImageField.d.ts +3 -2
  183. package/dist/components/ra-fields/ImageField.d.ts.map +1 -1
  184. package/dist/components/ra-fields/LocalizedTextField.d.ts +4 -3
  185. package/dist/components/ra-fields/LocalizedTextField.d.ts.map +1 -1
  186. package/dist/components/ra-fields/ReadonlyField.d.ts +6 -15
  187. package/dist/components/ra-fields/ReadonlyField.d.ts.map +1 -1
  188. package/dist/components/ra-fields/ReferenceManyField.d.ts +10 -9
  189. package/dist/components/ra-fields/ReferenceManyField.d.ts.map +1 -1
  190. package/dist/components/ra-fields/SizeField.d.ts +4 -3
  191. package/dist/components/ra-fields/SizeField.d.ts.map +1 -1
  192. package/dist/components/ra-fields/TextField.d.ts +3 -2
  193. package/dist/components/ra-fields/TextField.d.ts.map +1 -1
  194. package/dist/components/ra-forms/CardForm.d.ts +16 -17
  195. package/dist/components/ra-forms/CardForm.d.ts.map +1 -1
  196. package/dist/components/ra-forms/ChangePasswordForm.d.ts +4 -3
  197. package/dist/components/ra-forms/ChangePasswordForm.d.ts.map +1 -1
  198. package/dist/components/ra-forms/Create.d.ts +16 -6
  199. package/dist/components/ra-forms/Create.d.ts.map +1 -1
  200. package/dist/components/ra-forms/Edit.d.ts +3 -2
  201. package/dist/components/ra-forms/Edit.d.ts.map +1 -1
  202. package/dist/components/ra-forms/FormHeader.d.ts +8 -6
  203. package/dist/components/ra-forms/FormHeader.d.ts.map +1 -1
  204. package/dist/components/ra-forms/LongForm/BaseForm.d.ts +1 -1
  205. package/dist/components/ra-forms/LongForm/BaseForm.d.ts.map +1 -1
  206. package/dist/components/ra-forms/LongForm/Content.d.ts +1 -1
  207. package/dist/components/ra-forms/LongForm/Content.d.ts.map +1 -1
  208. package/dist/components/ra-forms/LongForm/Form.d.ts +3 -3
  209. package/dist/components/ra-forms/LongForm/Form.d.ts.map +1 -1
  210. package/dist/components/ra-forms/LongForm/NavMenu.d.ts +1 -1
  211. package/dist/components/ra-forms/LongForm/NavMenu.d.ts.map +1 -1
  212. package/dist/components/ra-forms/LongForm/Provider.d.ts +2 -2
  213. package/dist/components/ra-forms/LongForm/Provider.d.ts.map +1 -1
  214. package/dist/components/ra-forms/LongForm/Sidebar.d.ts +1 -1
  215. package/dist/components/ra-forms/LongForm/Sidebar.d.ts.map +1 -1
  216. package/dist/components/ra-forms/LongForm/Tab.d.ts +3 -3
  217. package/dist/components/ra-forms/LongForm/Tab.d.ts.map +1 -1
  218. package/dist/components/ra-forms/LongForm/hooks.d.ts +1 -1
  219. package/dist/components/ra-forms/LongForm/hooks.d.ts.map +1 -1
  220. package/dist/components/ra-forms/LongForm/index.d.ts +8 -8
  221. package/dist/components/ra-forms/LongForm/index.d.ts.map +1 -1
  222. package/dist/components/ra-forms/LongForm/utils.d.ts +1 -1
  223. package/dist/components/ra-forms/LongForm/utils.d.ts.map +1 -1
  224. package/dist/components/ra-forms/Show.d.ts +3 -2
  225. package/dist/components/ra-forms/Show.d.ts.map +1 -1
  226. package/dist/components/ra-forms/SimpleForm.d.ts +4 -2
  227. package/dist/components/ra-forms/SimpleForm.d.ts.map +1 -1
  228. package/dist/components/ra-forms/SimpleFormIterator.d.ts +4 -2
  229. package/dist/components/ra-forms/SimpleFormIterator.d.ts.map +1 -1
  230. package/dist/components/ra-forms/TabbedForm.d.ts +17 -18
  231. package/dist/components/ra-forms/TabbedForm.d.ts.map +1 -1
  232. package/dist/components/ra-forms/TableForm/TableFormIterator.d.ts +5 -20
  233. package/dist/components/ra-forms/TableForm/TableFormIterator.d.ts.map +1 -1
  234. package/dist/{contexts → components/ra-forms/TableForm}/TableFormIteratorContext.d.ts +10 -2
  235. package/dist/components/ra-forms/TableForm/TableFormIteratorContext.d.ts.map +1 -0
  236. package/dist/components/ra-forms/TableForm/TableFormIteratorItem.d.ts +1 -1
  237. package/dist/components/ra-forms/TableForm/TableFormIteratorItem.d.ts.map +1 -1
  238. package/dist/components/ra-forms/TableForm/TableFormIteratorItemContext.d.ts +24 -0
  239. package/dist/components/ra-forms/TableForm/TableFormIteratorItemContext.d.ts.map +1 -0
  240. package/dist/components/ra-forms/TableForm/index.d.ts +2 -0
  241. package/dist/components/ra-forms/TableForm/index.d.ts.map +1 -1
  242. package/dist/components/ra-forms/Toolbar.d.ts +3 -2
  243. package/dist/components/ra-forms/Toolbar.d.ts.map +1 -1
  244. package/dist/components/ra-forms/index.d.ts +0 -1
  245. package/dist/components/ra-forms/index.d.ts.map +1 -1
  246. package/dist/components/ra-inputs/ArrayInput.d.ts +7 -6
  247. package/dist/components/ra-inputs/ArrayInput.d.ts.map +1 -1
  248. package/dist/components/ra-inputs/AttachmentInput.d.ts +10 -9
  249. package/dist/components/ra-inputs/AttachmentInput.d.ts.map +1 -1
  250. package/dist/components/ra-inputs/AutocompleteArrayInput.d.ts +3 -2
  251. package/dist/components/ra-inputs/AutocompleteArrayInput.d.ts.map +1 -1
  252. package/dist/components/ra-inputs/AutocompleteInput.d.ts +3 -2
  253. package/dist/components/ra-inputs/AutocompleteInput.d.ts.map +1 -1
  254. package/dist/components/ra-inputs/BooleanInput.d.ts +3 -2
  255. package/dist/components/ra-inputs/BooleanInput.d.ts.map +1 -1
  256. package/dist/components/ra-inputs/DateInput.d.ts +3 -2
  257. package/dist/components/ra-inputs/DateInput.d.ts.map +1 -1
  258. package/dist/components/ra-inputs/DateTimeInput.d.ts +3 -2
  259. package/dist/components/ra-inputs/DateTimeInput.d.ts.map +1 -1
  260. package/dist/components/ra-inputs/FileInput.d.ts +9 -8
  261. package/dist/components/ra-inputs/FileInput.d.ts.map +1 -1
  262. package/dist/components/ra-inputs/ImageInput.d.ts +5 -4
  263. package/dist/components/ra-inputs/ImageInput.d.ts.map +1 -1
  264. package/dist/components/ra-inputs/LabeledArrayInput.d.ts +9 -9
  265. package/dist/components/ra-inputs/LabeledArrayInput.d.ts.map +1 -1
  266. package/dist/components/ra-inputs/LabeledInput.d.ts +5 -4
  267. package/dist/components/ra-inputs/LabeledInput.d.ts.map +1 -1
  268. package/dist/components/ra-inputs/LocalizedTextInput.d.ts +5 -4
  269. package/dist/components/ra-inputs/LocalizedTextInput.d.ts.map +1 -1
  270. package/dist/components/ra-inputs/NumberInput.d.ts +3 -2
  271. package/dist/components/ra-inputs/NumberInput.d.ts.map +1 -1
  272. package/dist/components/ra-inputs/RecordInput.d.ts +4 -3
  273. package/dist/components/ra-inputs/RecordInput.d.ts.map +1 -1
  274. package/dist/components/ra-inputs/ReferenceArrayInput.d.ts +5 -6
  275. package/dist/components/ra-inputs/ReferenceArrayInput.d.ts.map +1 -1
  276. package/dist/components/ra-inputs/ReferenceInput.d.ts +5 -6
  277. package/dist/components/ra-inputs/ReferenceInput.d.ts.map +1 -1
  278. package/dist/components/ra-inputs/ReferenceManyInput.d.ts +4 -4
  279. package/dist/components/ra-inputs/ReferenceManyInput.d.ts.map +1 -1
  280. package/dist/components/ra-inputs/SearchInput.d.ts +3 -2
  281. package/dist/components/ra-inputs/SearchInput.d.ts.map +1 -1
  282. package/dist/components/ra-inputs/SelectArrayInput.d.ts +3 -2
  283. package/dist/components/ra-inputs/SelectArrayInput.d.ts.map +1 -1
  284. package/dist/components/ra-inputs/SelectInput.d.ts +4 -4
  285. package/dist/components/ra-inputs/SelectInput.d.ts.map +1 -1
  286. package/dist/components/ra-inputs/SmartTextInput.d.ts +4 -3
  287. package/dist/components/ra-inputs/SmartTextInput.d.ts.map +1 -1
  288. package/dist/components/ra-inputs/TextInput.d.ts +3 -2
  289. package/dist/components/ra-inputs/TextInput.d.ts.map +1 -1
  290. package/dist/components/ra-inputs/TimeInput.d.ts +3 -2
  291. package/dist/components/ra-inputs/TimeInput.d.ts.map +1 -1
  292. package/dist/components/ra-lists/BulkActionsToolbar.d.ts +5 -12
  293. package/dist/components/ra-lists/BulkActionsToolbar.d.ts.map +1 -1
  294. package/dist/components/ra-lists/BulkFloatingActionsToolbar.d.ts +4 -3
  295. package/dist/components/ra-lists/BulkFloatingActionsToolbar.d.ts.map +1 -1
  296. package/dist/components/ra-lists/Datagrid/Datagrid.d.ts +34 -33
  297. package/dist/components/ra-lists/Datagrid/Datagrid.d.ts.map +1 -1
  298. package/dist/components/ra-lists/Datagrid/DatagridContext.d.ts +3 -2
  299. package/dist/components/ra-lists/Datagrid/DatagridContext.d.ts.map +1 -1
  300. package/dist/components/ra-lists/Datagrid/DatagridContextProvider.d.ts +6 -5
  301. package/dist/components/ra-lists/Datagrid/DatagridContextProvider.d.ts.map +1 -1
  302. package/dist/components/ra-lists/Datagrid/index.d.ts +2 -2
  303. package/dist/components/ra-lists/Datagrid/index.d.ts.map +1 -1
  304. package/dist/components/ra-lists/Empty.d.ts +5 -4
  305. package/dist/components/ra-lists/Empty.d.ts.map +1 -1
  306. package/dist/components/ra-lists/List.d.ts +4 -3
  307. package/dist/components/ra-lists/List.d.ts.map +1 -1
  308. package/dist/components/ra-lists/ListView.d.ts +5 -9
  309. package/dist/components/ra-lists/ListView.d.ts.map +1 -1
  310. package/dist/components/ra-lists/NotificationList/NotificationList.d.ts +2 -2
  311. package/dist/components/ra-lists/NotificationList/NotificationList.d.ts.map +1 -1
  312. package/dist/components/ra-lists/NotificationList/buttons/MarkAsReadedButton.d.ts +2 -2
  313. package/dist/components/ra-lists/NotificationList/buttons/MarkAsReadedButton.d.ts.map +1 -1
  314. package/dist/components/ra-lists/NotificationList/buttons/MarkAsUnreadedButton.d.ts +2 -2
  315. package/dist/components/ra-lists/NotificationList/buttons/MarkAsUnreadedButton.d.ts.map +1 -1
  316. package/dist/components/ra-lists/NotificationList/fields/NotificationField.d.ts +2 -2
  317. package/dist/components/ra-lists/NotificationList/fields/NotificationField.d.ts.map +1 -1
  318. package/dist/components/ra-lists/NotificationList/index.d.ts.map +1 -1
  319. package/dist/components/ra-lists/SimpleList.d.ts +2 -2
  320. package/dist/components/ra-lists/SimpleList.d.ts.map +1 -1
  321. package/dist/components/ra-pages/ActivatePage.d.ts +4 -10
  322. package/dist/components/ra-pages/ActivatePage.d.ts.map +1 -1
  323. package/dist/components/ra-pages/GenericErrorPage.d.ts +1 -1
  324. package/dist/components/ra-pages/GenericErrorPage.d.ts.map +1 -1
  325. package/dist/components/ra-pages/LoginPage.d.ts +4 -3
  326. package/dist/components/ra-pages/LoginPage.d.ts.map +1 -1
  327. package/dist/components/ra-pages/RecoverPage.d.ts +2 -10
  328. package/dist/components/ra-pages/RecoverPage.d.ts.map +1 -1
  329. package/dist/components/ra-pages/RegisterPage.d.ts +2 -9
  330. package/dist/components/ra-pages/RegisterPage.d.ts.map +1 -1
  331. package/dist/components/ra-pages/index.d.ts +5 -5
  332. package/dist/components/ra-pages/index.d.ts.map +1 -1
  333. package/dist/components/ra-pages/types.d.ts +2 -1
  334. package/dist/components/ra-pages/types.d.ts.map +1 -1
  335. package/dist/components/third-party/SimpleBar.d.ts +7 -13
  336. package/dist/components/third-party/SimpleBar.d.ts.map +1 -1
  337. package/dist/components/third-party/index.d.ts +1 -2
  338. package/dist/components/third-party/index.d.ts.map +1 -1
  339. package/dist/dev/CatchResult.d.ts +4 -2
  340. package/dist/dev/CatchResult.d.ts.map +1 -1
  341. package/dist/dev/ErrorEventHandler.d.ts +4 -3
  342. package/dist/dev/ErrorEventHandler.d.ts.map +1 -1
  343. package/dist/dev/index.d.ts +3 -4
  344. package/dist/dev/index.d.ts.map +1 -1
  345. package/dist/dev/useErrorEventCatcher.d.ts +4 -4
  346. package/dist/dev/useErrorEventCatcher.d.ts.map +1 -1
  347. package/dist/hooks/index.d.ts +7 -14
  348. package/dist/hooks/index.d.ts.map +1 -1
  349. package/dist/hooks/mui.d.ts.map +1 -1
  350. package/dist/hooks/useLocalStorage.d.ts +1 -1
  351. package/dist/hooks/useLocalStorage.d.ts.map +1 -1
  352. package/dist/hooks/useLocalizedValue.d.ts +1 -1
  353. package/dist/hooks/useLocalizedValue.d.ts.map +1 -1
  354. package/dist/hooks/usePopoverState.d.ts.map +1 -1
  355. package/dist/hooks/useRefDimensions.d.ts.map +1 -1
  356. package/dist/hooks/useResourceTitle.d.ts +2 -2
  357. package/dist/hooks/useResourceTitle.d.ts.map +1 -1
  358. package/dist/i18n/MissingMessageHandler.d.ts +1 -1
  359. package/dist/i18n/MissingMessageHandler.d.ts.map +1 -1
  360. package/dist/i18n/createI18nProvider.d.ts +1 -1
  361. package/dist/i18n/createI18nProvider.d.ts.map +1 -1
  362. package/dist/i18n/index.d.ts +3 -3
  363. package/dist/i18n/useI18nLanguages.d.ts +7 -10
  364. package/dist/i18n/useI18nLanguages.d.ts.map +1 -1
  365. package/dist/i18n/useI18nProvider.d.ts +1 -1
  366. package/dist/i18n/useI18nProvider.d.ts.map +1 -1
  367. package/dist/index.d.ts +1 -10
  368. package/dist/react-admin.cjs.js +91 -148
  369. package/dist/react-admin.cjs.js.map +1 -1
  370. package/dist/react-admin.es.js +30864 -32588
  371. package/dist/react-admin.es.js.map +1 -1
  372. package/dist/react-admin.umd.js +91 -148
  373. package/dist/react-admin.umd.js.map +1 -1
  374. package/dist/themes/getColors.d.ts +3 -2
  375. package/dist/themes/getColors.d.ts.map +1 -1
  376. package/dist/themes/getShadow.d.ts +3 -9
  377. package/dist/themes/getShadow.d.ts.map +1 -1
  378. package/dist/themes/index.d.ts +8 -14
  379. package/dist/themes/index.d.ts.map +1 -1
  380. package/dist/themes/overrides/Accordion.d.ts +2 -23
  381. package/dist/themes/overrides/Accordion.d.ts.map +1 -1
  382. package/dist/themes/overrides/AccordionDetails.d.ts +2 -10
  383. package/dist/themes/overrides/AccordionDetails.d.ts.map +1 -1
  384. package/dist/themes/overrides/AccordionSummary.d.ts +2 -24
  385. package/dist/themes/overrides/AccordionSummary.d.ts.map +1 -1
  386. package/dist/themes/overrides/Alert.d.ts +2 -88
  387. package/dist/themes/overrides/Alert.d.ts.map +1 -1
  388. package/dist/themes/overrides/AlertTitle.d.ts +2 -11
  389. package/dist/themes/overrides/AlertTitle.d.ts.map +1 -1
  390. package/dist/themes/overrides/Autocomplete.d.ts +2 -22
  391. package/dist/themes/overrides/Autocomplete.d.ts.map +1 -1
  392. package/dist/themes/overrides/Badge.d.ts +2 -39
  393. package/dist/themes/overrides/Badge.d.ts.map +1 -1
  394. package/dist/themes/overrides/Button.d.ts +2 -7558
  395. package/dist/themes/overrides/Button.d.ts.map +1 -1
  396. package/dist/themes/overrides/ButtonBase.d.ts +2 -8
  397. package/dist/themes/overrides/ButtonBase.d.ts.map +1 -1
  398. package/dist/themes/overrides/ButtonGroup.d.ts +2 -7
  399. package/dist/themes/overrides/ButtonGroup.d.ts.map +1 -1
  400. package/dist/themes/overrides/CardContent.d.ts +2 -12
  401. package/dist/themes/overrides/CardContent.d.ts.map +1 -1
  402. package/dist/themes/overrides/Checkbox.d.ts +2 -121
  403. package/dist/themes/overrides/Checkbox.d.ts.map +1 -1
  404. package/dist/themes/overrides/Chip.d.ts +2 -207
  405. package/dist/themes/overrides/Chip.d.ts.map +1 -1
  406. package/dist/themes/overrides/Dialog.d.ts +2 -20
  407. package/dist/themes/overrides/Dialog.d.ts.map +1 -1
  408. package/dist/themes/overrides/DialogContentText.d.ts +2 -10
  409. package/dist/themes/overrides/DialogContentText.d.ts.map +1 -1
  410. package/dist/themes/overrides/DialogTitle.d.ts +2 -10
  411. package/dist/themes/overrides/DialogTitle.d.ts.map +1 -1
  412. package/dist/themes/overrides/Fab.d.ts +2 -158
  413. package/dist/themes/overrides/Fab.d.ts.map +1 -1
  414. package/dist/themes/overrides/IconButton.d.ts +2 -29
  415. package/dist/themes/overrides/IconButton.d.ts.map +1 -1
  416. package/dist/themes/overrides/InputBase.d.ts +2 -5
  417. package/dist/themes/overrides/InputBase.d.ts.map +1 -1
  418. package/dist/themes/overrides/InputLabel.d.ts +2 -21
  419. package/dist/themes/overrides/InputLabel.d.ts.map +1 -1
  420. package/dist/themes/overrides/LinearProgress.d.ts +2 -13
  421. package/dist/themes/overrides/LinearProgress.d.ts.map +1 -1
  422. package/dist/themes/overrides/Link.d.ts +2 -7
  423. package/dist/themes/overrides/Link.d.ts.map +1 -1
  424. package/dist/themes/overrides/ListItemButton.d.ts +2 -14
  425. package/dist/themes/overrides/ListItemButton.d.ts.map +1 -1
  426. package/dist/themes/overrides/ListItemIcon.d.ts +2 -10
  427. package/dist/themes/overrides/ListItemIcon.d.ts.map +1 -1
  428. package/dist/themes/overrides/ListItemText.d.ts +2 -11
  429. package/dist/themes/overrides/ListItemText.d.ts.map +1 -1
  430. package/dist/themes/overrides/LoadingButton.d.ts +2 -13
  431. package/dist/themes/overrides/LoadingButton.d.ts.map +1 -1
  432. package/dist/themes/overrides/OutlinedInput.d.ts +2 -95
  433. package/dist/themes/overrides/OutlinedInput.d.ts.map +1 -1
  434. package/dist/themes/overrides/Pagination.d.ts +2 -7
  435. package/dist/themes/overrides/Pagination.d.ts.map +1 -1
  436. package/dist/themes/overrides/PaginationItem.d.ts +2 -950
  437. package/dist/themes/overrides/PaginationItem.d.ts.map +1 -1
  438. package/dist/themes/overrides/Popover.d.ts +2 -9
  439. package/dist/themes/overrides/Popover.d.ts.map +1 -1
  440. package/dist/themes/overrides/Radio.d.ts +2 -122
  441. package/dist/themes/overrides/Radio.d.ts.map +1 -1
  442. package/dist/themes/overrides/Slider.d.ts +2 -65
  443. package/dist/themes/overrides/Slider.d.ts.map +1 -1
  444. package/dist/themes/overrides/Switch.d.ts +2 -90
  445. package/dist/themes/overrides/Switch.d.ts.map +1 -1
  446. package/dist/themes/overrides/Tab.d.ts +2 -20
  447. package/dist/themes/overrides/Tab.d.ts.map +1 -1
  448. package/dist/themes/overrides/TableBody.d.ts +2 -21
  449. package/dist/themes/overrides/TableBody.d.ts.map +1 -1
  450. package/dist/themes/overrides/TableCell.d.ts +2 -47
  451. package/dist/themes/overrides/TableCell.d.ts.map +1 -1
  452. package/dist/themes/overrides/TableFooter.d.ts +2 -11
  453. package/dist/themes/overrides/TableFooter.d.ts.map +1 -1
  454. package/dist/themes/overrides/TableHead.d.ts +2 -11
  455. package/dist/themes/overrides/TableHead.d.ts.map +1 -1
  456. package/dist/themes/overrides/TablePagination.d.ts +2 -12
  457. package/dist/themes/overrides/TablePagination.d.ts.map +1 -1
  458. package/dist/themes/overrides/TableRow.d.ts +2 -21
  459. package/dist/themes/overrides/TableRow.d.ts.map +1 -1
  460. package/dist/themes/overrides/Tabs.d.ts +2 -9
  461. package/dist/themes/overrides/Tabs.d.ts.map +1 -1
  462. package/dist/themes/overrides/ToggleButton.d.ts +2 -16
  463. package/dist/themes/overrides/ToggleButton.d.ts.map +1 -1
  464. package/dist/themes/overrides/Tooltip.d.ts +2 -9
  465. package/dist/themes/overrides/Tooltip.d.ts.map +1 -1
  466. package/dist/themes/overrides/TreeItem.d.ts +2 -14
  467. package/dist/themes/overrides/TreeItem.d.ts.map +1 -1
  468. package/dist/themes/overrides/Typography.d.ts +2 -9
  469. package/dist/themes/overrides/Typography.d.ts.map +1 -1
  470. package/dist/themes/overrides/index.d.ts +2 -1
  471. package/dist/themes/overrides/index.d.ts.map +1 -1
  472. package/dist/themes/palette.d.ts +2 -2
  473. package/dist/themes/palette.d.ts.map +1 -1
  474. package/dist/themes/shadows.d.ts +3 -2
  475. package/dist/themes/shadows.d.ts.map +1 -1
  476. package/dist/themes/theme/default.d.ts +2 -89
  477. package/dist/themes/theme/default.d.ts.map +1 -1
  478. package/dist/themes/theme/index.d.ts +2 -90
  479. package/dist/themes/theme/index.d.ts.map +1 -1
  480. package/dist/themes/theme/theme1.d.ts +2 -2
  481. package/dist/themes/theme/theme1.d.ts.map +1 -1
  482. package/dist/themes/theme/theme2.d.ts +2 -2
  483. package/dist/themes/theme/theme2.d.ts.map +1 -1
  484. package/dist/themes/theme/theme3.d.ts +2 -2
  485. package/dist/themes/theme/theme3.d.ts.map +1 -1
  486. package/dist/themes/theme/theme4.d.ts +2 -2
  487. package/dist/themes/theme/theme4.d.ts.map +1 -1
  488. package/dist/themes/theme/theme5.d.ts +2 -2
  489. package/dist/themes/theme/theme5.d.ts.map +1 -1
  490. package/dist/themes/theme/theme6.d.ts +2 -2
  491. package/dist/themes/theme/theme6.d.ts.map +1 -1
  492. package/dist/themes/theme/theme7.d.ts +2 -2
  493. package/dist/themes/theme/theme7.d.ts.map +1 -1
  494. package/dist/themes/theme/theme8.d.ts +2 -2
  495. package/dist/themes/theme/theme8.d.ts.map +1 -1
  496. package/dist/themes/types.d.ts +19 -0
  497. package/dist/themes/types.d.ts.map +1 -0
  498. package/dist/themes/typography.d.ts +3 -3
  499. package/dist/themes/typography.d.ts.map +1 -1
  500. package/dist/types.d.ts +2 -54
  501. package/dist/types.d.ts.map +1 -1
  502. package/dist/utils/index.d.ts +2 -2
  503. package/dist/utils/index.d.ts.map +1 -1
  504. package/dist/utils/lang.d.ts +2 -1
  505. package/dist/utils/lang.d.ts.map +1 -1
  506. package/dist/utils/localizedValue.d.ts +2 -2
  507. package/dist/utils/localizedValue.d.ts.map +1 -1
  508. package/dist/utils/time.d.ts +1 -1
  509. package/dist/utils/time.d.ts.map +1 -1
  510. package/jsconfig.json +24 -20
  511. package/jsconfig.node.json +4 -4
  512. package/package.json +73 -64
  513. package/src/Admin.tsx +5 -4
  514. package/src/AdminContext.tsx +5 -4
  515. package/src/ApplicaAdmin.tsx +152 -142
  516. package/src/components/@extended/{AnimateButton.jsx → AnimateButton.tsx} +16 -14
  517. package/src/components/@extended/{Avatar.jsx → Avatar.tsx} +31 -26
  518. package/src/components/@extended/{Breadcrumbs.jsx → Breadcrumbs.tsx} +68 -41
  519. package/src/components/@extended/Dot.tsx +34 -0
  520. package/src/components/@extended/{IconButton.jsx → IconButton.tsx} +39 -30
  521. package/src/components/@extended/{LoadingButton.jsx → LoadingButton.tsx} +59 -42
  522. package/src/components/@extended/{Tooltip.jsx → Tooltip.tsx} +31 -19
  523. package/src/components/@extended/Transitions.tsx +113 -0
  524. package/src/components/@extended/index.ts +9 -0
  525. package/src/components/@extended/progress/{CircularWithLabel.jsx → CircularWithLabel.tsx} +6 -9
  526. package/src/components/@extended/progress/{CircularWithPath.jsx → CircularWithPath.tsx} +24 -17
  527. package/src/components/@extended/progress/{LinearWithIcon.jsx → LinearWithIcon.tsx} +7 -9
  528. package/src/components/@extended/progress/{LinearWithLabel.jsx → LinearWithLabel.tsx} +6 -9
  529. package/src/components/@extended/progress/index.ts +4 -0
  530. package/src/components/ActionsMenu.tsx +28 -28
  531. package/src/components/AppStateProvider.tsx +84 -0
  532. package/src/components/AuthBackground.tsx +10 -4
  533. package/src/components/{AuthCard.jsx → AuthCard.tsx} +9 -10
  534. package/src/components/AuthWrapper.tsx +9 -19
  535. package/src/components/Layout/Content.tsx +21 -14
  536. package/src/components/Layout/Drawer/Drawer.tsx +35 -34
  537. package/src/components/Layout/Drawer/DrawerHeader.tsx +19 -18
  538. package/src/components/Layout/Drawer/DrawerHeaderStyled.tsx +19 -0
  539. package/src/components/Layout/Drawer/MiniDrawerStyled.tsx +59 -0
  540. package/src/components/Layout/Error.tsx +13 -20
  541. package/src/components/Layout/Header/AppBarStyled.tsx +4 -4
  542. package/src/components/Layout/Header/Buttons/HeaderButton.tsx +6 -2
  543. package/src/components/Layout/Header/Buttons/HeaderIconButton.tsx +6 -3
  544. package/src/components/Layout/Header/Buttons/HeaderToggleButton.tsx +5 -2
  545. package/src/components/Layout/Header/Buttons/LocaleButton.tsx +8 -7
  546. package/src/components/Layout/Header/Buttons/index.ts +1 -1
  547. package/src/components/Layout/Header/DrawerToggle.tsx +9 -3
  548. package/src/components/Layout/Header/Header.tsx +23 -22
  549. package/src/components/Layout/Header/Notification/Notification.tsx +42 -33
  550. package/src/components/Layout/Header/Notification/NotificationItem.tsx +40 -40
  551. package/src/components/Layout/Header/Profile/{Profile.tsx → HeaderProfile.tsx} +22 -25
  552. package/src/components/Layout/Header/Profile/buttons/ChangePasswordButton.tsx +8 -9
  553. package/src/components/Layout/Header/Profile/buttons/LogoutButton.tsx +6 -8
  554. package/src/components/Layout/Header/Profile/buttons/StopImpersonateButton.tsx +8 -9
  555. package/src/components/Layout/Header/Profile/buttons/index.ts +3 -0
  556. package/src/components/Layout/Header/Profile/index.ts +1 -1
  557. package/src/components/Layout/Header/ResponsiveSection.tsx +10 -10
  558. package/src/components/Layout/HorizontalBar.tsx +7 -7
  559. package/src/components/Layout/Layout.tsx +10 -13
  560. package/src/components/Layout/MenuProvider.tsx +415 -0
  561. package/src/components/Layout/Navigation/NavCollapse.tsx +48 -39
  562. package/src/components/Layout/Navigation/NavGroup.tsx +59 -41
  563. package/src/components/Layout/Navigation/NavItem.tsx +32 -33
  564. package/src/components/Layout/Navigation/NavList.tsx +7 -9
  565. package/src/components/Layout/Navigation/Navigation.tsx +16 -15
  566. package/src/components/Layout/Navigation/index.ts +2 -2
  567. package/src/components/Layout/Provider.tsx +63 -57
  568. package/src/components/Layout/ThemeProvider.tsx +161 -0
  569. package/src/components/Layout/ThemeToggler.tsx +4 -4
  570. package/src/components/Layout/Wrapper.tsx +2 -1
  571. package/src/components/Layout/index.ts +7 -5
  572. package/src/components/Loadable.tsx +12 -0
  573. package/src/components/{Loader.jsx → Loader.tsx} +9 -7
  574. package/src/components/Logo.tsx +26 -0
  575. package/src/components/MainCard.tsx +17 -34
  576. package/src/components/MainIcon.tsx +17 -14
  577. package/src/components/MenuPopover/{MenuPopover.jsx → MenuPopover.tsx} +15 -29
  578. package/src/components/MenuPopover/{getPosition.jsx → getPosition.tsx} +14 -2
  579. package/src/components/MenuPopover/index.tsx +3 -0
  580. package/src/components/MenuPopover/{styles.jsx → styles.tsx} +10 -2
  581. package/src/components/MenuPopover/types.ts +15 -0
  582. package/src/components/Notification.tsx +3 -3
  583. package/src/components/Onboarding/{onboardingDataProvider.tsx → DataProvider.tsx} +44 -39
  584. package/src/components/Onboarding/OnboardingTip.tsx +11 -10
  585. package/src/components/Onboarding/Provider.tsx +50 -45
  586. package/src/components/Onboarding/hooks.tsx +20 -14
  587. package/src/components/Onboarding/index.ts +3 -3
  588. package/src/components/Onboarding/schemas.ts +4 -3
  589. package/src/components/{ScrollTop.jsx → ScrollTop.tsx} +7 -10
  590. package/src/components/{ScrollX.jsx → ScrollX.tsx} +1 -2
  591. package/src/components/SmallIcon.tsx +16 -0
  592. package/src/components/index.jsx +16 -22
  593. package/src/components/ra-buttons/CreateInDialogButton.tsx +151 -138
  594. package/src/components/ra-buttons/EditInDialogButton.tsx +39 -36
  595. package/src/components/ra-buttons/ImpersonateUserButton.tsx +6 -5
  596. package/src/components/ra-buttons/index.ts +1 -1
  597. package/src/components/ra-custom/ListItem.tsx +48 -45
  598. package/src/components/ra-fields/ActionsField.tsx +13 -12
  599. package/src/components/ra-fields/AttachmentField.tsx +31 -30
  600. package/src/components/ra-fields/BaseAttachmentField.tsx +22 -21
  601. package/src/components/ra-fields/CoverField.tsx +7 -4
  602. package/src/components/ra-fields/DateAgoField.tsx +18 -13
  603. package/src/components/ra-fields/DateField.tsx +4 -3
  604. package/src/components/ra-fields/EmailField.tsx +4 -3
  605. package/src/components/ra-fields/FileField.tsx +8 -7
  606. package/src/components/ra-fields/FunctionField.tsx +3 -2
  607. package/src/components/ra-fields/ImageField.tsx +4 -3
  608. package/src/components/ra-fields/LocalizedTextField.tsx +32 -31
  609. package/src/components/ra-fields/ReadonlyField.tsx +39 -35
  610. package/src/components/ra-fields/ReferenceManyField.tsx +19 -13
  611. package/src/components/ra-fields/SizeField.tsx +7 -6
  612. package/src/components/ra-fields/TextField.tsx +4 -3
  613. package/src/components/ra-forms/CardForm.tsx +41 -40
  614. package/src/components/ra-forms/ChangePasswordForm.tsx +22 -13
  615. package/src/components/ra-forms/Create.tsx +61 -53
  616. package/src/components/ra-forms/Edit.tsx +5 -3
  617. package/src/components/ra-forms/FormHeader.tsx +14 -11
  618. package/src/components/ra-forms/LongForm/BaseForm.tsx +9 -9
  619. package/src/components/ra-forms/LongForm/Content.tsx +4 -4
  620. package/src/components/ra-forms/LongForm/Form.tsx +12 -12
  621. package/src/components/ra-forms/LongForm/NavMenu.tsx +81 -71
  622. package/src/components/ra-forms/LongForm/Provider.tsx +61 -59
  623. package/src/components/ra-forms/LongForm/Sidebar.tsx +29 -29
  624. package/src/components/ra-forms/LongForm/Tab.tsx +31 -31
  625. package/src/components/ra-forms/LongForm/hooks.tsx +14 -14
  626. package/src/components/ra-forms/LongForm/index.ts +23 -8
  627. package/src/components/ra-forms/LongForm/utils.ts +10 -10
  628. package/src/components/ra-forms/Show.tsx +5 -3
  629. package/src/components/ra-forms/SimpleForm.tsx +18 -15
  630. package/src/components/ra-forms/SimpleFormIterator.tsx +5 -3
  631. package/src/components/ra-forms/TabbedForm.tsx +23 -22
  632. package/src/components/ra-forms/TableForm/TableFormIterator.tsx +34 -25
  633. package/src/components/ra-forms/TableForm/TableFormIteratorContext.ts +32 -0
  634. package/src/components/ra-forms/TableForm/TableFormIteratorItem.tsx +10 -7
  635. package/src/components/ra-forms/TableForm/TableFormIteratorItemContext.ts +30 -0
  636. package/src/components/ra-forms/TableForm/index.ts +2 -0
  637. package/src/components/ra-forms/Toolbar.tsx +4 -2
  638. package/src/components/ra-forms/index.ts +0 -1
  639. package/src/components/ra-inputs/ArrayInput.tsx +18 -9
  640. package/src/components/ra-inputs/AttachmentInput.tsx +37 -34
  641. package/src/components/ra-inputs/AutocompleteArrayInput.tsx +5 -4
  642. package/src/components/ra-inputs/AutocompleteInput.tsx +6 -5
  643. package/src/components/ra-inputs/BooleanInput.tsx +6 -5
  644. package/src/components/ra-inputs/DateInput.tsx +5 -4
  645. package/src/components/ra-inputs/DateTimeInput.tsx +5 -4
  646. package/src/components/ra-inputs/FileInput.tsx +14 -13
  647. package/src/components/ra-inputs/ImageInput.tsx +13 -7
  648. package/src/components/ra-inputs/LabeledArrayInput.tsx +22 -22
  649. package/src/components/ra-inputs/LabeledInput.tsx +21 -19
  650. package/src/components/ra-inputs/LocalizedTextInput.tsx +49 -39
  651. package/src/components/ra-inputs/NumberInput.tsx +5 -4
  652. package/src/components/ra-inputs/RecordInput.tsx +6 -5
  653. package/src/components/ra-inputs/ReferenceArrayInput.tsx +12 -9
  654. package/src/components/ra-inputs/ReferenceInput.tsx +8 -8
  655. package/src/components/ra-inputs/ReferenceManyInput.tsx +14 -7
  656. package/src/components/ra-inputs/SearchInput.tsx +4 -3
  657. package/src/components/ra-inputs/SelectArrayInput.tsx +5 -4
  658. package/src/components/ra-inputs/SelectInput.tsx +5 -5
  659. package/src/components/ra-inputs/SmartTextInput.tsx +9 -5
  660. package/src/components/ra-inputs/TextInput.tsx +4 -3
  661. package/src/components/ra-inputs/TimeInput.tsx +5 -4
  662. package/src/components/ra-lists/BulkActionsToolbar.tsx +23 -21
  663. package/src/components/ra-lists/BulkFloatingActionsToolbar.tsx +17 -10
  664. package/src/components/ra-lists/Datagrid/Datagrid.tsx +63 -56
  665. package/src/components/ra-lists/Datagrid/DatagridContext.ts +6 -5
  666. package/src/components/ra-lists/Datagrid/DatagridContextProvider.tsx +8 -6
  667. package/src/components/ra-lists/Datagrid/index.tsx +3 -3
  668. package/src/components/ra-lists/Empty.tsx +10 -9
  669. package/src/components/ra-lists/List.tsx +27 -24
  670. package/src/components/ra-lists/ListView.tsx +54 -44
  671. package/src/components/ra-lists/NotificationList/NotificationList.tsx +14 -10
  672. package/src/components/ra-lists/NotificationList/buttons/MarkAsReadedButton.tsx +10 -6
  673. package/src/components/ra-lists/NotificationList/buttons/MarkAsUnreadedButton.tsx +4 -5
  674. package/src/components/ra-lists/NotificationList/fields/NotificationField.tsx +15 -7
  675. package/src/components/ra-lists/NotificationList/index.ts +1 -1
  676. package/src/components/ra-lists/SimpleList.tsx +3 -3
  677. package/src/components/ra-lists/index.ts +1 -1
  678. package/src/components/ra-pages/ActivatePage.tsx +15 -18
  679. package/src/components/ra-pages/GenericErrorPage.tsx +4 -6
  680. package/src/components/ra-pages/LoginPage.tsx +33 -18
  681. package/src/components/ra-pages/RecoverPage.tsx +15 -20
  682. package/src/components/ra-pages/RegisterPage.tsx +15 -18
  683. package/src/components/ra-pages/index.ts +5 -5
  684. package/src/components/ra-pages/types.ts +2 -1
  685. package/src/components/third-party/{SimpleBar.jsx → SimpleBar.tsx} +12 -18
  686. package/src/components/third-party/index.ts +1 -0
  687. package/src/dev/CatchResult.ts +5 -2
  688. package/src/dev/ErrorEventHandler.ts +6 -4
  689. package/src/dev/index.ts +3 -4
  690. package/src/dev/useErrorEventCatcher.ts +14 -13
  691. package/src/hooks/index.ts +7 -14
  692. package/src/hooks/mui.ts +2 -2
  693. package/src/hooks/useLocalStorage.tsx +7 -7
  694. package/src/hooks/useLocalizedValue.tsx +11 -11
  695. package/src/hooks/usePopoverState.tsx +17 -14
  696. package/src/hooks/useRefDimensions.ts +6 -6
  697. package/src/hooks/useResourceTitle.ts +3 -4
  698. package/src/i18n/MissingMessageHandler.ts +6 -2
  699. package/src/i18n/createI18nProvider.tsx +47 -48
  700. package/src/i18n/index.jsx +3 -3
  701. package/src/i18n/useI18nLanguages.ts +26 -0
  702. package/src/i18n/useI18nProvider.tsx +6 -6
  703. package/src/index.d.ts +1 -0
  704. package/src/index.jsx +18 -19
  705. package/src/main.tsx +1 -1
  706. package/src/playground/.prettierrc +1 -1
  707. package/src/playground/App.jsx +13 -17
  708. package/src/playground/components/index.jsx +4 -4
  709. package/src/playground/components/pages/CustomPage.jsx +10 -5
  710. package/src/playground/components/pages/index.jsx +1 -2
  711. package/src/playground/components/ra-fields/UserPictureField.jsx +5 -10
  712. package/src/playground/components/ra-fields/index.jsx +1 -2
  713. package/src/playground/components/ra-forms/DeviceForm.jsx +15 -9
  714. package/src/playground/components/ra-forms/I18nMessageForm.jsx +4 -5
  715. package/src/playground/components/ra-forms/TestModelForm.jsx +15 -13
  716. package/src/playground/components/ra-forms/UserForm.jsx +6 -31
  717. package/src/playground/components/ra-forms/index.jsx +4 -3
  718. package/src/playground/components/ra-inputs/LangSelectInput.jsx +7 -3
  719. package/src/playground/components/ra-inputs/YesOrNoSelectInput.jsx +15 -12
  720. package/src/playground/components/ra-inputs/index.jsx +2 -3
  721. package/src/playground/components/ra-lists/DeviceList.jsx +24 -15
  722. package/src/playground/components/ra-lists/I18nMessageList.jsx +23 -14
  723. package/src/playground/components/ra-lists/UserList.jsx +39 -29
  724. package/src/playground/components/ra-lists/index.jsx +3 -3
  725. package/src/playground/config.jsx +7 -5
  726. package/src/playground/entities/device.jsx +17 -14
  727. package/src/playground/entities/i18n-message.jsx +18 -18
  728. package/src/playground/entities/index.jsx +4 -4
  729. package/src/playground/entities/notification.jsx +8 -9
  730. package/src/playground/entities/user.jsx +19 -20
  731. package/src/playground/index.jsx +0 -1
  732. package/src/playground/menu.jsx +1 -3
  733. package/src/playground/theme.jsx +4 -2
  734. package/src/tests/README.md +0 -0
  735. package/src/tests/example.test.js +11 -0
  736. package/src/themes/{getColors.jsx → getColors.ts} +5 -3
  737. package/src/themes/{getShadow.jsx → getShadow.ts} +19 -9
  738. package/src/themes/{index.jsx → index.tsx} +18 -22
  739. package/src/themes/overrides/{Accordion.jsx → Accordion.ts} +3 -3
  740. package/src/themes/overrides/{AccordionDetails.jsx → AccordionDetails.ts} +3 -3
  741. package/src/themes/overrides/{AccordionSummary.jsx → AccordionSummary.tsx} +3 -4
  742. package/src/themes/overrides/{Alert.jsx → Alert.ts} +12 -7
  743. package/src/themes/overrides/{AlertTitle.jsx → AlertTitle.ts} +3 -3
  744. package/src/themes/overrides/{Autocomplete.jsx → Autocomplete.ts} +3 -3
  745. package/src/themes/overrides/{Badge.jsx → Badge.ts} +12 -3
  746. package/src/themes/overrides/{Button.jsx → Button.ts} +16 -7
  747. package/src/themes/overrides/ButtonBase.ts +12 -0
  748. package/src/themes/overrides/ButtonGroup.ts +11 -0
  749. package/src/themes/overrides/{CardContent.jsx → CardContent.ts} +3 -3
  750. package/src/themes/overrides/{Checkbox.jsx → Checkbox.tsx} +14 -6
  751. package/src/themes/overrides/{Chip.jsx → Chip.ts} +19 -4
  752. package/src/themes/overrides/{Dialog.jsx → Dialog.ts} +3 -4
  753. package/src/themes/overrides/{DialogContentText.jsx → DialogContentText.ts} +3 -3
  754. package/src/themes/overrides/{DialogTitle.jsx → DialogTitle.ts} +3 -3
  755. package/src/themes/overrides/{Fab.jsx → Fab.ts} +13 -7
  756. package/src/themes/overrides/{IconButton.jsx → IconButton.ts} +3 -3
  757. package/src/themes/overrides/{InputBase.jsx → InputBase.ts} +2 -3
  758. package/src/themes/overrides/{InputLabel.jsx → InputLabel.ts} +3 -3
  759. package/src/themes/overrides/{LinearProgress.jsx → LinearProgress.ts} +3 -3
  760. package/src/themes/overrides/Link.ts +11 -0
  761. package/src/themes/overrides/{ListItemButton.jsx → ListItemButton.ts} +3 -3
  762. package/src/themes/overrides/{ListItemIcon.jsx → ListItemIcon.ts} +3 -3
  763. package/src/themes/overrides/{ListItemText.jsx → ListItemText.ts} +3 -3
  764. package/src/themes/overrides/{LoadingButton.jsx → LoadingButton.ts} +3 -3
  765. package/src/themes/overrides/{OutlinedInput.jsx → OutlinedInput.ts} +12 -4
  766. package/src/themes/overrides/Pagination.ts +11 -0
  767. package/src/themes/overrides/{PaginationItem.jsx → PaginationItem.ts} +14 -5
  768. package/src/themes/overrides/{Popover.jsx → Popover.ts} +3 -3
  769. package/src/themes/overrides/{Radio.jsx → Radio.tsx} +14 -7
  770. package/src/themes/overrides/{Slider.jsx → Slider.ts} +11 -3
  771. package/src/themes/overrides/{Switch.jsx → Switch.ts} +5 -7
  772. package/src/themes/overrides/{Tab.jsx → Tab.ts} +3 -3
  773. package/src/themes/overrides/{TableBody.jsx → TableBody.ts} +3 -3
  774. package/src/themes/overrides/{TableCell.jsx → TableCell.ts} +3 -3
  775. package/src/themes/overrides/{TableFooter.jsx → TableFooter.ts} +3 -3
  776. package/src/themes/overrides/{TableHead.jsx → TableHead.ts} +3 -3
  777. package/src/themes/overrides/{TablePagination.jsx → TablePagination.ts} +3 -3
  778. package/src/themes/overrides/{TableRow.jsx → TableRow.ts} +3 -3
  779. package/src/themes/overrides/{Tabs.jsx → Tabs.ts} +3 -3
  780. package/src/themes/overrides/{ToggleButton.jsx → ToggleButton.ts} +3 -3
  781. package/src/themes/overrides/{Tooltip.jsx → Tooltip.ts} +3 -3
  782. package/src/themes/overrides/{TreeItem.jsx → TreeItem.ts} +3 -3
  783. package/src/themes/overrides/{Typography.jsx → Typography.ts} +3 -3
  784. package/src/themes/overrides/index.ts +98 -0
  785. package/src/themes/{palette.jsx → palette.ts} +19 -16
  786. package/src/themes/shadows.ts +29 -0
  787. package/src/themes/theme/{default.jsx → default.ts} +3 -11
  788. package/src/themes/theme/index.ts +37 -0
  789. package/src/themes/theme/{theme1.jsx → theme1.ts} +27 -7
  790. package/src/themes/theme/{theme5.jsx → theme2.ts} +27 -7
  791. package/src/themes/theme/{theme4.jsx → theme3.ts} +27 -7
  792. package/src/themes/theme/{theme3.jsx → theme4.ts} +27 -7
  793. package/src/themes/theme/{theme2.jsx → theme5.ts} +27 -7
  794. package/src/themes/theme/theme6.ts +126 -0
  795. package/src/themes/theme/theme7.ts +126 -0
  796. package/src/themes/theme/theme8.ts +126 -0
  797. package/src/themes/types.ts +20 -0
  798. package/src/themes/typography.ts +70 -0
  799. package/src/types.ts +3 -57
  800. package/src/utils/index.ts +2 -2
  801. package/src/utils/lang.ts +3 -1
  802. package/src/utils/localizedValue.ts +12 -6
  803. package/src/utils/time.ts +2 -2
  804. package/tsconfig.json +24 -15
  805. package/vite-env.d.ts +1 -0
  806. package/vite.config.js +9 -6
  807. package/.eslintrc.json +0 -46
  808. package/build.sh +0 -9
  809. package/dist/components/Layout/Header/Profile/Profile.d.ts +0 -3
  810. package/dist/components/Layout/Header/Profile/Profile.d.ts.map +0 -1
  811. package/dist/components/Onboarding/onboardingDataProvider.d.ts.map +0 -1
  812. package/dist/contexts/AppConfigContext.d.ts +0 -32
  813. package/dist/contexts/AppConfigContext.d.ts.map +0 -1
  814. package/dist/contexts/MenuConfigContext.d.ts +0 -23
  815. package/dist/contexts/MenuConfigContext.d.ts.map +0 -1
  816. package/dist/contexts/TableFormIteratorContext.d.ts.map +0 -1
  817. package/dist/contexts/TableFormIteratorItemContext.d.ts +0 -16
  818. package/dist/contexts/TableFormIteratorItemContext.d.ts.map +0 -1
  819. package/dist/contexts/ThemeConfigContext.d.ts +0 -79
  820. package/dist/contexts/ThemeConfigContext.d.ts.map +0 -1
  821. package/dist/contexts/index.d.ts +0 -6
  822. package/dist/contexts/index.d.ts.map +0 -1
  823. package/dist/hooks/useAppConfig.d.ts +0 -8
  824. package/dist/hooks/useAppConfig.d.ts.map +0 -1
  825. package/dist/hooks/useBreadcrumbs.d.ts +0 -9
  826. package/dist/hooks/useBreadcrumbs.d.ts.map +0 -1
  827. package/dist/hooks/useMenu.d.ts +0 -8
  828. package/dist/hooks/useMenu.d.ts.map +0 -1
  829. package/dist/hooks/useMenuConfig.d.ts +0 -3
  830. package/dist/hooks/useMenuConfig.d.ts.map +0 -1
  831. package/dist/hooks/useTableFormIterator.d.ts +0 -9
  832. package/dist/hooks/useTableFormIterator.d.ts.map +0 -1
  833. package/dist/hooks/useTableFormIteratorItem.d.ts +0 -9
  834. package/dist/hooks/useTableFormIteratorItem.d.ts.map +0 -1
  835. package/dist/hooks/useThemeConfig.d.ts +0 -3
  836. package/dist/hooks/useThemeConfig.d.ts.map +0 -1
  837. package/src/components/@extended/Dot.jsx +0 -35
  838. package/src/components/@extended/Transitions.jsx +0 -116
  839. package/src/components/@extended/index.jsx +0 -11
  840. package/src/components/@extended/progress/index.jsx +0 -6
  841. package/src/components/Layout/Drawer/DrawerHeaderStyled.jsx +0 -12
  842. package/src/components/Layout/Drawer/MiniDrawerStyled.jsx +0 -45
  843. package/src/components/Layout/Header/Profile/buttons/index.jsx +0 -4
  844. package/src/components/Loadable.jsx +0 -11
  845. package/src/components/Logo.jsx +0 -29
  846. package/src/components/MenuPopover/index.jsx +0 -3
  847. package/src/components/SmallIcon.jsx +0 -14
  848. package/src/components/third-party/index.jsx +0 -3
  849. package/src/contexts/AppConfigContext.tsx +0 -67
  850. package/src/contexts/MenuConfigContext.tsx +0 -69
  851. package/src/contexts/TableFormIteratorContext.ts +0 -21
  852. package/src/contexts/TableFormIteratorItemContext.ts +0 -19
  853. package/src/contexts/ThemeConfigContext.tsx +0 -151
  854. package/src/contexts/index.jsx +0 -5
  855. package/src/hooks/useAppConfig.jsx +0 -6
  856. package/src/hooks/useBreadcrumbs.jsx +0 -68
  857. package/src/hooks/useMenu.jsx +0 -217
  858. package/src/hooks/useMenuConfig.ts +0 -6
  859. package/src/hooks/useTableFormIterator.ts +0 -12
  860. package/src/hooks/useTableFormIteratorItem.ts +0 -12
  861. package/src/hooks/useThemeConfig.jsx +0 -6
  862. package/src/i18n/useI18nLanguages.jsx +0 -18
  863. package/src/playground/contexts/index.jsx +0 -1
  864. package/src/playground/entities/order.jsx +0 -24
  865. package/src/playground/hooks/index.jsx +0 -1
  866. package/src/playground/reportWebVitals.jsx +0 -13
  867. package/src/playground/types.ts +0 -92
  868. package/src/themes/overrides/ButtonBase.jsx +0 -12
  869. package/src/themes/overrides/ButtonGroup.jsx +0 -11
  870. package/src/themes/overrides/Link.jsx +0 -11
  871. package/src/themes/overrides/Pagination.jsx +0 -11
  872. package/src/themes/overrides/index.jsx +0 -100
  873. package/src/themes/shadows.jsx +0 -27
  874. package/src/themes/theme/index.jsx +0 -44
  875. package/src/themes/theme/theme6.jsx +0 -106
  876. package/src/themes/theme/theme7.jsx +0 -106
  877. package/src/themes/theme/theme8.jsx +0 -106
  878. package/src/themes/typography.jsx +0 -71
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { FunctionFieldProps } from 'react-admin';
3
- export declare function FunctionField({ variant, ...props }: FunctionFieldProps): JSX.Element;
4
- export default FunctionField;
3
+ declare function FunctionField({ variant, ...props }: FunctionFieldProps): JSX.Element;
4
+ export { FunctionField };
5
+ export type { FunctionFieldProps };
5
6
  //# sourceMappingURL=FunctionField.d.ts.map
@@ -1 +1 @@
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
+ {"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,iBAAS,aAAa,CAAC,EAAE,OAAiB,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAEvF;AAED,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ImageFieldProps } from 'react-admin';
3
- export declare function ImageField(props: ImageFieldProps): JSX.Element;
4
- export default ImageField;
3
+ declare function ImageField(props: ImageFieldProps): JSX.Element;
4
+ export { ImageField };
5
+ export type { ImageFieldProps };
5
6
  //# sourceMappingURL=ImageField.d.ts.map
@@ -1 +1 @@
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;AAK1E,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAG9D;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"ImageField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ImageField.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAA8B,MAAM,aAAa,CAAC;AAI1E,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAGvD;AAED,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { TextFieldProps } from 'ra-ui-materialui';
3
- export type ILocalizedTextFieldProps = TextFieldProps;
4
- export declare function LocalizedTextField(props: ILocalizedTextFieldProps): JSX.Element;
5
- export default LocalizedTextField;
3
+ type ILocalizedTextFieldProps = TextFieldProps;
4
+ declare function LocalizedTextField(props: ILocalizedTextFieldProps): JSX.Element;
5
+ export type { ILocalizedTextFieldProps };
6
+ export { LocalizedTextField };
6
7
  //# 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,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC;AAEtD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,GAAG,GAAG,CAAC,OAAO,CA8B/E;AAED,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"LocalizedTextField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/LocalizedTextField.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,KAAK,wBAAwB,GAAG,cAAc,CAAC;AAE/C,iBAAS,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,GAAG,GAAG,CAAC,OAAO,CA+BxE;AACD,YAAY,EAAE,wBAAwB,EAAE,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1,22 +1,13 @@
1
- import React from 'react';
2
- export type BasicFieldProps = {
3
- source: string;
4
- defaultValue: any;
5
- record: any;
6
- };
7
- export type ContentWrapperProps = {
8
- title: string | boolean;
9
- children: React.ReactNode;
10
- };
11
- export type ReadonlyFieldProps = {
1
+ import { PropsWithChildren } from 'react';
2
+ declare function ReadonlyField({ label, source, defaultValue, children, tooltip: _tooltip, ...props }: ReadonlyFieldProps): JSX.Element;
3
+ type ReadonlyFieldProps = PropsWithChildren<{
12
4
  defaultValue: any;
13
5
  tooltip: string | boolean | ((record: any) => string);
14
6
  source: string;
15
7
  label: string;
16
8
  name: string;
17
- children: React.ReactElement<any, any>;
18
9
  fullWidth?: boolean;
19
- };
20
- export declare function ReadonlyField({ label, source, defaultValue, children, tooltip: _tooltip, ...props }: ReadonlyFieldProps): JSX.Element;
21
- export default ReadonlyField;
10
+ }>;
11
+ export { ReadonlyField };
12
+ export type { ReadonlyFieldProps };
22
13
  //# 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,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
+ {"version":3,"file":"ReadonlyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReadonlyField.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAY,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAoDpE,iBAAS,aAAa,CAAC,EACrB,KAAK,EACL,MAAM,EACN,YAAuB,EACvB,QAAiF,EACjF,OAAO,EAAE,QAAQ,EACjB,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAuClC;AAED,KAAK,kBAAkB,GAAG,iBAAiB,CAAC;IAC1C,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,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC,CAAC;AAEH,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1,12 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { ReferenceManyFieldProps as RaReferenceManyFieldProps } from 'react-admin';
3
- export type ReferenceManyFieldProps = RaReferenceManyFieldProps & {
4
- /**
5
- * Default undefined, serve ad aggiungere un padding superiore al componente per consentire
6
- * la visualizzazione della toolbar delle bulk action buttons.
7
- */
8
- bulkActionButtons?: boolean | any;
9
- };
10
3
  /**
11
4
  * This component allows you to manage the display of a list of records related to a main record.
12
5
  * This component is a customized version of the ReferenceManyField component of React-Admin.
@@ -25,6 +18,14 @@ export type ReferenceManyFieldProps = RaReferenceManyFieldProps & {
25
18
  * </Datagrid>
26
19
  * </ReferenceManyField>
27
20
  */
28
- export declare function ReferenceManyField(props: ReferenceManyFieldProps): JSX.Element;
29
- export default ReferenceManyField;
21
+ declare function ReferenceManyField(props: ReferenceManyFieldProps): JSX.Element;
22
+ type ReferenceManyFieldProps = RaReferenceManyFieldProps & {
23
+ /**
24
+ * Default undefined, serve ad aggiungere un padding superiore al componente per consentire
25
+ * la visualizzazione della toolbar delle bulk action buttons.
26
+ */
27
+ bulkActionButtons?: boolean | any;
28
+ };
29
+ export { ReferenceManyField };
30
+ export type { ReferenceManyFieldProps };
30
31
  //# sourceMappingURL=ReferenceManyField.d.ts.map
@@ -1 +1 @@
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;AAyE3I,MAAM,MAAM,uBAAuB,GAAG,yBAAyB,GAAG;IAChE;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,GAAG,CAAC;CACnC,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAO9E;AAED,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"ReferenceManyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReferenceManyField.tsx"],"names":[],"mappings":";AAEA,OAAO,EAGL,uBAAuB,IAAI,yBAAyB,EACrD,MAAM,aAAa,CAAC;AAwErB;;;;;;;;;;;;;;;;;GAiBG;AACH,iBAAS,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAOvE;AAED,KAAK,uBAAuB,GAAG,yBAAyB,GAAG;IACzD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,GAAG,CAAC;CACnC,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { FieldProps } from 'react-admin';
3
- export type SizeFieldProps = {
3
+ declare function SizeField({ source, ...props }: SizeFieldProps): JSX.Element;
4
+ type SizeFieldProps = {
4
5
  source: string;
5
6
  } & FieldProps;
6
- export declare function SizeField({ source, ...props }: SizeFieldProps): JSX.Element;
7
- export default SizeField;
7
+ export { SizeField };
8
+ export type { SizeFieldProps };
8
9
  //# sourceMappingURL=SizeField.d.ts.map
@@ -1 +1 @@
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
+ {"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,iBAAS,SAAS,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,GAAG,GAAG,CAAC,OAAO,CAoBpE;AAED,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,UAAU,CAAC;AAEf,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,YAAY,EAAE,cAAc,EAAE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { TextFieldProps } from 'react-admin';
3
- export declare function TextField({ variant, ...props }: TextFieldProps): JSX.Element;
4
- export default TextField;
3
+ declare function TextField({ variant, ...props }: TextFieldProps): JSX.Element;
4
+ export { TextField };
5
+ export type { TextFieldProps };
5
6
  //# sourceMappingURL=TextField.d.ts.map
@@ -1 +1 @@
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;AAKvE,wBAAgB,SAAS,CAAC,EAAE,OAAiB,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,GAAG,GAAG,CAAC,OAAO,CAGtF;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/TextField.tsx"],"names":[],"mappings":";AACA,OAAO,EAA4B,cAAc,EAAE,MAAM,aAAa,CAAC;AAIvE,iBAAS,SAAS,CAAC,EAAE,OAAiB,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,GAAG,GAAG,CAAC,OAAO,CAG/E;AAED,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,YAAY,EAAE,cAAc,EAAE,CAAC"}
@@ -1,27 +1,26 @@
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
+ import React, { PropsWithChildren } from 'react';
16
3
  /**
17
4
  * Basic card form layout.
18
5
  * It is a simple form layout that uses a card as the main container.
19
6
  *
20
7
  * @see https://mui.com/material-ui/react-stack/
21
8
  */
22
- export declare function CardForm({ children, spacing, defaultValues, ...gridProps }: CardFormProps): JSX.Element;
23
- export declare namespace CardForm {
9
+ declare function CardForm({ children, spacing, defaultValues, ...gridProps }: CardFormProps): JSX.Element;
10
+ declare namespace CardForm {
24
11
  var Section: ({ children, content, title, subheader, secondary, toolbar, lg, md, sm, xs, ...gridProps }: SectionProps) => JSX.Element;
25
12
  }
26
- export default CardForm;
13
+ type CardFormProps = PropsWithChildren<{
14
+ spacing?: number;
15
+ defaultValues?: any;
16
+ }> & GridProps;
17
+ type SectionProps = PropsWithChildren<{
18
+ content?: boolean | undefined | null;
19
+ title?: string | React.ReactNode | null;
20
+ subheader?: string | React.ReactNode;
21
+ secondary?: string | React.ReactNode;
22
+ toolbar?: React.ReactNode | boolean;
23
+ }> & GridProps;
24
+ export { CardForm };
25
+ export type { CardFormProps, SectionProps };
27
26
  //# sourceMappingURL=CardForm.d.ts.map
@@ -1 +1 @@
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;AAiEd,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
+ {"version":3,"file":"CardForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/CardForm.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAG1D;;;;;GAKG;AACH,iBAAS,QAAQ,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,SAAS,EAAE,EAAE,aAAa,GAAG,GAAG,CAAC,OAAO,CAUhG;kBAVQ,QAAQ;;;AA0EjB,KAAK,aAAa,GAAG,iBAAiB,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,GAAG,CAAC;CACrB,CAAC,GACA,SAAS,CAAC;AAEZ,KAAK,YAAY,GAAG,iBAAiB,CAAC;IACpC,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,CAAC,GACA,SAAS,CAAC;AAIZ,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC"}
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
- export type ChangePasswordFormProps = {
2
+ declare function ChangePasswordForm({ onSuccess, firstAccess }: ChangePasswordFormProps): JSX.Element;
3
+ type ChangePasswordFormProps = {
3
4
  onSuccess: () => void;
4
5
  firstAccess?: boolean;
5
6
  };
6
- export declare function ChangePasswordForm({ onSuccess, firstAccess }: ChangePasswordFormProps): JSX.Element;
7
- export default ChangePasswordForm;
7
+ export { ChangePasswordForm };
8
+ export type { ChangePasswordFormProps };
8
9
  //# sourceMappingURL=ChangePasswordForm.d.ts.map
@@ -1 +1 @@
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
+ {"version":3,"file":"ChangePasswordForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/ChangePasswordForm.tsx"],"names":[],"mappings":";AAgBA,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CA6D5F;AACD,KAAK,uBAAuB,GAAG;IAC7B,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
@@ -1,11 +1,21 @@
1
- import { CreateProps } from 'react-admin';
1
+ import { Theme } from '@mui/material/styles';
2
+ import { PropsWithChildren } from 'react';
3
+ import { CreateProps, Identifier, RaRecord } from 'react-admin';
2
4
  import { UseQueryOptions } from 'react-query';
5
+ type ICreateProps<RecordType extends Omit<RaRecord, 'id'> = any, ResultRecordType extends RaRecord = RecordType & {
6
+ id: Identifier;
7
+ }> = CreateProps<RecordType, Error, ResultRecordType> & PropsWithChildren<{
8
+ useDefaults?: boolean;
9
+ queryOptions?: UseQueryOptions;
10
+ }>;
3
11
  type IResourceDefaultValue = object;
4
- export declare function useResourceDefaultValues(): IResourceDefaultValue;
5
- export declare const Create: import("@emotion/styled").StyledComponent<Pick<CreateProps<any, Error, any> & {
6
- children: React.ReactNode;
12
+ declare const Create: import("@emotion/styled").StyledComponent<Pick<CreateProps<any, Error, any> & {
7
13
  useDefaults?: boolean | undefined;
8
14
  queryOptions?: UseQueryOptions<unknown, unknown, unknown, import("react-query").QueryKey> | undefined;
9
- }, "children" | "queryOptions" | "useDefaults" | keyof CreateProps<any, Error, any>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
10
- export default Create;
15
+ } & {
16
+ children?: import("react").ReactNode;
17
+ }, "children" | "queryOptions" | "useDefaults" | keyof CreateProps<any, Error, any>> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
18
+ declare function useResourceDefaultValues(): IResourceDefaultValue;
19
+ export { Create, useResourceDefaultValues };
20
+ export type { ICreateProps, IResourceDefaultValue };
11
21
  //# sourceMappingURL=Create.d.ts.map
@@ -1 +1 @@
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;;;yKAsFxB,CAAC;AAEJ,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Create.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAU,MAAM,sBAAsB,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAmD,MAAM,OAAO,CAAC;AAC3F,OAAO,EACL,WAAW,EACX,UAAU,EAEV,QAAQ,EAGT,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,eAAe,EAAY,MAAM,aAAa,CAAC;AAGxD,KAAK,YAAY,CACf,UAAU,SAAS,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,GAAG,EAC7C,gBAAgB,SAAS,QAAQ,GAAG,UAAU,GAAG;IAAE,EAAE,EAAE,UAAU,CAAA;CAAE,IACjE,WAAW,CAAC,UAAU,EAAE,KAAK,EAAE,gBAAgB,CAAC,GAClD,iBAAiB,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,eAAe,CAAC;CAChC,CAAC,CAAC;AAEL,KAAK,qBAAqB,GAAG,MAAM,CAAC;AAmDpC,QAAA,MAAM,MAAM;;;;;iJAyBT,CAAC;AAEJ,iBAAS,wBAAwB,IAAI,qBAAqB,CAEzD;AAED,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,CAAC;AAC5C,YAAY,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { EditProps } from 'react-admin';
3
- export declare function Edit(props: EditProps): JSX.Element;
4
- export default Edit;
3
+ declare function Edit(props: EditProps): JSX.Element;
4
+ export { Edit };
5
+ export type { EditProps };
5
6
  //# sourceMappingURL=Edit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Edit.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Edit.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAkB,MAAM,aAAa,CAAC;AAuCxD,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAGlD;AAED,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Edit.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Edit.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAkB,MAAM,aAAa,CAAC;AAsCxD,iBAAS,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAG3C;AAED,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,YAAY,EAAE,SAAS,EAAE,CAAC"}
@@ -1,13 +1,15 @@
1
1
  /// <reference types="react" />
2
- export type FormHeaderProps = {
3
- title: string;
4
- divider?: boolean;
5
- variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2';
6
- };
7
2
  /**
8
3
  * Implements the header of a form.
9
4
  * Can be inserted inside a CardForm or a SimpleForm and shows a title with a divider
10
5
  * that covers the entire width of the form.
11
6
  */
12
- export declare function FormHeader({ title, divider, variant }: FormHeaderProps): JSX.Element;
7
+ declare function FormHeader({ title, divider, variant }: FormHeaderProps): JSX.Element;
8
+ type FormHeaderProps = {
9
+ title: string;
10
+ divider?: boolean;
11
+ variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2';
12
+ };
13
+ export { FormHeader };
14
+ export type { FormHeaderProps };
13
15
  //# sourceMappingURL=FormHeader.d.ts.map
@@ -1 +1 @@
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
+ {"version":3,"file":"FormHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/FormHeader.tsx"],"names":[],"mappings":";AAoBA;;;;GAIG;AACH,iBAAS,UAAU,CAAC,EAAE,KAAK,EAAE,OAAc,EAAE,OAAc,EAAE,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAa3F;AAED,KAAK,eAAe,GAAG;IACrB,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,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
@@ -3,6 +3,6 @@ type IBaseFormProps = FormProps & {
3
3
  spacing?: number;
4
4
  };
5
5
  declare function BaseForm(props: IBaseFormProps): import("react/jsx-runtime").JSX.Element;
6
- export type { IBaseFormProps };
7
6
  export { BaseForm };
7
+ export type { IBaseFormProps };
8
8
  //# sourceMappingURL=BaseForm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/BaseForm.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,SAAS,EAAE,MAAM,aAAa,CAAC;AAK9C,KAAK,cAAc,GAAG,SAAS,GAAG;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAyCF,iBAAS,QAAQ,CAAC,KAAK,EAAE,cAAc,2CAYtC;AAED,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"BaseForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/BaseForm.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAQ,SAAS,EAAE,MAAM,aAAa,CAAC;AAE9C,KAAK,cAAc,GAAG,SAAS,GAAG;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAyCF,iBAAS,QAAQ,CAAC,KAAK,EAAE,cAAc,2CAYtC;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB,YAAY,EAAE,cAAc,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Disposition } from './types';
1
+ import { Disposition } from '../../../components/ra-forms/LongForm/types';
2
2
  import { GridProps } from '@mui/material';
3
3
  type IContentProps = GridProps & {
4
4
  disposition?: Disposition;
@@ -1 +1 @@
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
+ {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/Content.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAQ,SAAS,EAAE,MAAM,eAAe,CAAC;AAGhD,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
- import { IBaseFormProps } from './BaseForm';
2
- import { Disposition } from './types';
3
- import { IProviderProps } from './Provider';
1
+ import { IBaseFormProps } from '../../../components/ra-forms/LongForm/BaseForm';
2
+ import { IProviderProps } from '../../../components/ra-forms/LongForm/Provider';
3
+ import { Disposition } from '../../../components/ra-forms/LongForm/types';
4
4
  type IFormProps = IProviderProps & IBaseFormProps & {
5
5
  spacing?: number;
6
6
  tabsDisposition: Disposition;
@@ -1 +1 @@
1
- {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/Form.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,cAAc,EAAE,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,cAAc,EAAY,MAAM,YAAY,CAAC;AAKtD,KAAK,UAAU,GAAG,cAAc,GAC9B,cAAc,GAAG;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,WAAW,CAAC;IAC7B,kBAAkB,EAAE,WAAW,CAAC;IAChC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ,iBAAS,IAAI,CAAC,KAAK,EAAE,UAAU,2CAkB9B;AAED,OAAO,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAGnF,OAAO,EAAE,cAAc,EAAY,MAAM,yCAAyC,CAAC;AAGnF,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAGnE,KAAK,UAAU,GAAG,cAAc,GAC9B,cAAc,GAAG;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,WAAW,CAAC;IAC7B,kBAAkB,EAAE,WAAW,CAAC;IAChC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ,iBAAS,IAAI,CAAC,KAAK,EAAE,UAAU,2CAkB9B;AAED,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
+ import { IItem } from '../../../components/ra-forms/LongForm/types';
2
3
  import { ListItemProps } from '@mui/material';
3
- import { IItem } from './types';
4
4
  type IBaseNavMenuItemProps = React.PropsWithChildren<{
5
5
  id: string;
6
6
  onClick?: React.MouseEventHandler<HTMLDivElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"NavMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/NavMenu.tsx"],"names":[],"mappings":";AAEA,OAAO,EAKL,aAAa,EAMd,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAOhC,KAAK,qBAAqB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;CACnD,CAAC,CAAC;AACH,KAAK,iBAAiB,GAAG,KAAK,GAAG,aAAa,GAAG,qBAAqB,CAAC;AAEvE,iBAAS,OAAO,4CAuBf;AAED,iBAAS,WAAW,CAAC,KAAK,EAAE,iBAAiB,2CA4D5C;AAED,iBAAS,cAAc,CACrB,IAAI,EAAE,iBAAiB,GACtB,KAAK,GAAG;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAoCvI;AAED,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"NavMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/NavMenu.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAG7D,OAAO,EASL,aAAa,EAEd,MAAM,eAAe,CAAC;AAKvB,KAAK,qBAAqB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;CACnD,CAAC,CAAC;AACH,KAAK,iBAAiB,GAAG,KAAK,GAAG,aAAa,GAAG,qBAAqB,CAAC;AAEvE,iBAAS,OAAO,4CAuBf;AAED,iBAAS,WAAW,CAAC,KAAK,EAAE,iBAAiB,2CAkE5C;AAED,iBAAS,cAAc,CAAC,IAAI,EAAE,iBAAiB,GAAG,KAAK,GAAG;IACxD,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACjD,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAoCA;AAED,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { IItem } from './types';
2
+ import { IItem } from '../../../components/ra-forms/LongForm/types';
3
3
  type IProviderProps = React.PropsWithChildren<{
4
4
  syncWithLocation?: boolean;
5
5
  rootMatchString?: string;
@@ -14,6 +14,6 @@ declare function useErrorCount(): boolean;
14
14
  declare function useSetActiveItem(): (activeItem: string) => void;
15
15
  declare function useAddItem(): (item: IItem) => void;
16
16
  declare function useRemoveItem(): (item: string | IItem) => void;
17
- export { Provider, useItems, useSyncWithLocation, useFormRootPath, useActiveItem, useSetActiveItem, useAddItem, useRemoveItem, useErrorCount };
18
17
  export type { IProviderProps };
18
+ export { Provider, useActiveItem, useAddItem, useErrorCount, useFormRootPath, useItems, useRemoveItem, useSetActiveItem, useSyncWithLocation };
19
19
  //# sourceMappingURL=Provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/Provider.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAYhC,KAAK,cAAc,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAC5C,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC,CAAC;AAyFH,iBAAS,QAAQ,CAAC,KAAK,EAAE,cAAc,2CAsEtC;AAsBD,iBAAS,eAAe,IAAI,MAAM,GAAG,SAAS,CAG7C;AAED,iBAAS,aAAa,IAAI,MAAM,GAAG,SAAS,CAG3C;AAED,iBAAS,QAAQ,IAAI,KAAK,CAAC,KAAK,CAAC,CAGhC;AAED,iBAAS,mBAAmB,IAAI,OAAO,CAGtC;AAED,iBAAS,aAAa,IAAI,OAAO,CAGhC;AAED,iBAAS,gBAAgB,IAAI,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAaxD;AAED,iBAAS,UAAU,IAAI,CAAC,IAAI,EAAE,KAAK,KAAK,IAAI,CAa3C;AAED,iBAAS,aAAa,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,KAAK,IAAI,CAavD;AAED,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,mBAAmB,EACnB,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,aAAa,EACd,CAAC;AACF,YAAY,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAe7D,KAAK,cAAc,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAC5C,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC,CAAC;AAyFH,iBAAS,QAAQ,CAAC,KAAK,EAAE,cAAc,2CAsEtC;AAwBD,iBAAS,eAAe,IAAI,MAAM,GAAG,SAAS,CAG7C;AAED,iBAAS,aAAa,IAAI,MAAM,GAAG,SAAS,CAG3C;AAED,iBAAS,QAAQ,IAAI,KAAK,CAAC,KAAK,CAAC,CAGhC;AAED,iBAAS,mBAAmB,IAAI,OAAO,CAGtC;AAED,iBAAS,aAAa,IAAI,OAAO,CAGhC;AAED,iBAAS,gBAAgB,IAAI,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAaxD;AAED,iBAAS,UAAU,IAAI,CAAC,IAAI,EAAE,KAAK,KAAK,IAAI,CAa3C;AAED,iBAAS,aAAa,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,KAAK,IAAI,CAavD;AAED,YAAY,EAAE,cAAc,EAAE,CAAC;AAC/B,OAAO,EACL,QAAQ,EACR,aAAa,EACb,UAAU,EACV,aAAa,EACb,eAAe,EACf,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACpB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
+ import { Disposition } from '../../../components/ra-forms/LongForm/types';
2
3
  import { GridProps } from '@mui/material';
3
- import { Disposition } from './types';
4
4
  declare enum SidebarSectionPosition {
5
5
  TOP = "top",
6
6
  BOTTOM = "bottom"
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/Sidebar.tsx"],"names":[],"mappings":";AACA,OAAO,EAAa,SAAS,EAAS,MAAM,eAAe,CAAC;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtC,aAAK,sBAAsB;IACzB,GAAG,QAAQ;IACX,MAAM,WAAW;CAClB;AAED,KAAK,aAAa,GAAG;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,GAAG,SAAS,CAAC;AAEd,KAAK,oBAAoB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAClD,QAAQ,EAAE,sBAAsB,CAAC;CAClC,CAAC,CAAC;AAEH,iBAAS,OAAO,CAAC,KAAK,EAAE,aAAa,2CAcpC;AAED,iBAAS,cAAc,CAAC,KAAK,EAAE,oBAAoB,2CAElD;AAED,KAAK,gBAAgB,GAAG;IACtB,GAAG,EAAE,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAC5B,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;CAChC,CAAC;AAEF,iBAAS,kBAAkB,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,GAAG,gBAAgB,CAuB5E;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/Sidebar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAa,SAAS,EAAS,MAAM,eAAe,CAAC;AAK5D,aAAK,sBAAsB;IACzB,GAAG,QAAQ;IACX,MAAM,WAAW;CAClB;AAED,KAAK,aAAa,GAAG;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,GAAG,SAAS,CAAC;AAEd,KAAK,oBAAoB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAClD,QAAQ,EAAE,sBAAsB,CAAC;CAClC,CAAC,CAAC;AAEH,iBAAS,OAAO,CAAC,KAAK,EAAE,aAAa,2CAcpC;AAED,iBAAS,cAAc,CAAC,KAAK,EAAE,oBAAoB,2CAElD;AAED,KAAK,gBAAgB,GAAG;IACtB,GAAG,EAAE,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAC5B,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;CAChC,CAAC;AAEF,iBAAS,kBAAkB,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,GAAG,gBAAgB,CAuB5E;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
- import { IItem } from './types';
2
- import { Optional } from 'src/types';
1
+ import { IItem } from '../../../components/ra-forms/LongForm/types';
2
+ import { Optional } from '../../../types';
3
3
  import React from 'react';
4
4
  type IBaseItemProps = React.PropsWithChildren<Optional<IItem, 'id' | 'index'> & {
5
5
  sources: Array<string>;
@@ -9,5 +9,5 @@ type IGroupProps = IBaseItemProps;
9
9
  declare function Group(props: IGroupProps): import("react/jsx-runtime").JSX.Element;
10
10
  declare function Tab(props: ITabProps): import("react/jsx-runtime").JSX.Element;
11
11
  declare function useBaseItemChildren(props: React.PropsWithChildren): Array<React.FunctionComponentElement<IBaseItemProps>>;
12
- export { Tab, Group, useBaseItemChildren };
12
+ export { Group, Tab, useBaseItemChildren };
13
13
  //# sourceMappingURL=Tab.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/Tab.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAIrC,OAAO,KAA8F,MAAM,OAAO,CAAC;AAEnH,KAAK,cAAc,GAAG,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CAAC,KAAK,EAAE,IAAI,GAAG,OAAO,CAAC,GAAG;IAAE,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC,CAAC;AAC5G,KAAK,SAAS,GAAG,cAAc,CAAC;AAChC,KAAK,WAAW,GAAG,cAAc,CAAC;AA+DlC,iBAAS,KAAK,CAAC,KAAK,EAAE,WAAW,2CAWhC;AAED,iBAAS,GAAG,CAAC,KAAK,EAAE,SAAS,2CAE5B;AAED,iBAAS,mBAAmB,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,GAAG,KAAK,CAAC,KAAK,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC,CAYlH;AAED,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/Tab.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGnC,OAAO,KAA8F,MAAM,OAAO,CAAC;AAGnH,KAAK,cAAc,GAAG,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CAAC,KAAK,EAAE,IAAI,GAAG,OAAO,CAAC,GAAG;IAAE,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC,CAAC;AAC5G,KAAK,SAAS,GAAG,cAAc,CAAC;AAChC,KAAK,WAAW,GAAG,cAAc,CAAC;AA+DlC,iBAAS,KAAK,CAAC,KAAK,EAAE,WAAW,2CAWhC;AAED,iBAAS,GAAG,CAAC,KAAK,EAAE,SAAS,2CAE5B;AAED,iBAAS,mBAAmB,CAAC,KAAK,EAAE,KAAK,CAAC,iBAAiB,GAAG,KAAK,CAAC,KAAK,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC,CAYlH;AAED,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { IItem } from './types';
1
+ import { IItem } from '../../../components/ra-forms/LongForm/types';
2
2
  declare function useIsActive(id: string): boolean;
3
3
  declare function useChildren(id?: string): Array<IItem>;
4
4
  declare function useNavigateForm(): (id: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/hooks.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAKhC,iBAAS,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAOxC;AAED,iBAAS,WAAW,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,CAK9C;AAED,iBAAS,eAAe,IAAI,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAY/C;AAED,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/hooks.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAK7D,iBAAS,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAOxC;AAED,iBAAS,WAAW,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,CAK9C;AAED,iBAAS,eAAe,IAAI,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAY/C;AAED,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
@@ -1,10 +1,10 @@
1
- import { BaseForm } from './BaseForm';
2
- import { Content } from './Content';
3
- import { Form } from './Form';
4
- import { NavMenu, NavMenuItem, useNavMenuItem } from './NavMenu';
5
- import { Provider, useActiveItem, useItems, useSyncWithLocation, useErrorCount, useSetActiveItem, useAddItem, useRemoveItem, useFormRootPath } from './Provider';
6
- import { Sidebar, SidebarSection, SidebarSectionPosition, useSidebarChildren } from './Sidebar';
7
- import { Tab, Group, useBaseItemChildren } from './Tab';
1
+ import { Provider, useActiveItem, useAddItem, useErrorCount, useFormRootPath, useItems, useRemoveItem, useSetActiveItem, useSyncWithLocation } from './Provider';
2
+ import { BaseForm } from '../../../components/ra-forms/LongForm/BaseForm';
3
+ import { Content } from '../../../components/ra-forms/LongForm/Content';
4
+ import { Form } from '../../../components/ra-forms/LongForm/Form';
5
+ import { NavMenu, NavMenuItem, useNavMenuItem } from '../../../components/ra-forms/LongForm/NavMenu';
6
+ import { Sidebar, SidebarSection, SidebarSectionPosition, useSidebarChildren } from '../../../components/ra-forms/LongForm/Sidebar';
7
+ import { Group, Tab, useBaseItemChildren } from '../../../components/ra-forms/LongForm/Tab';
8
8
  type IForm = typeof Form & {
9
9
  BaseForm: typeof BaseForm;
10
10
  Content: typeof Content;
@@ -29,5 +29,5 @@ type IForm = typeof Form & {
29
29
  useBaseItemChildren: typeof useBaseItemChildren;
30
30
  };
31
31
  declare const DefaultForm: IForm;
32
- export default DefaultForm;
32
+ export { DefaultForm as LongForm };
33
33
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ,EAAE,mBAAmB,EAAE,aAAa,EAAE,gBAAgB,EAAE,UAAU,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACjK,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAChG,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAExD,KAAK,KAAK,GAAG,OAAO,IAAI,GAAG;IACzB,QAAQ,EAAE,OAAO,QAAQ,CAAC;IAC1B,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,QAAQ,EAAE,OAAO,QAAQ,CAAC;IAC1B,QAAQ,EAAE,OAAO,QAAQ,CAAC;IAC1B,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;IAChD,aAAa,EAAE,OAAO,aAAa,CAAC;IACpC,eAAe,EAAE,OAAO,eAAe,CAAC;IACxC,aAAa,EAAE,OAAO,aAAa,CAAC;IACpC,gBAAgB,EAAE,OAAO,gBAAgB,CAAC;IAC1C,UAAU,EAAE,OAAO,UAAU,CAAC;IAC9B,aAAa,EAAE,OAAO,aAAa,CAAC;IACpC,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,cAAc,CAAC;IACtC,sBAAsB,EAAE,OAAO,sBAAsB,CAAC;IACtD,kBAAkB,EAAE,OAAO,kBAAkB,CAAC;IAC9C,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,WAAW,EAAE,OAAO,WAAW,CAAC;IAChC,cAAc,EAAE,OAAO,cAAc,CAAC;IACtC,GAAG,EAAE,OAAO,GAAG,CAAC;IAChB,KAAK,EAAE,OAAO,KAAK,CAAC;IACpB,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;CACjD,CAAC;AAEF,QAAA,MAAM,WAAW,OAAgB,CAAC;AAuBlC,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,aAAa,EACb,UAAU,EACV,aAAa,EACb,eAAe,EACf,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC9F,OAAO,EACL,OAAO,EACP,cAAc,EACd,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAErF,KAAK,KAAK,GAAG,OAAO,IAAI,GAAG;IACzB,QAAQ,EAAE,OAAO,QAAQ,CAAC;IAC1B,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,QAAQ,EAAE,OAAO,QAAQ,CAAC;IAC1B,QAAQ,EAAE,OAAO,QAAQ,CAAC;IAC1B,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;IAChD,aAAa,EAAE,OAAO,aAAa,CAAC;IACpC,eAAe,EAAE,OAAO,eAAe,CAAC;IACxC,aAAa,EAAE,OAAO,aAAa,CAAC;IACpC,gBAAgB,EAAE,OAAO,gBAAgB,CAAC;IAC1C,UAAU,EAAE,OAAO,UAAU,CAAC;IAC9B,aAAa,EAAE,OAAO,aAAa,CAAC;IACpC,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,cAAc,CAAC;IACtC,sBAAsB,EAAE,OAAO,sBAAsB,CAAC;IACtD,kBAAkB,EAAE,OAAO,kBAAkB,CAAC;IAC9C,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,WAAW,EAAE,OAAO,WAAW,CAAC;IAChC,cAAc,EAAE,OAAO,cAAc,CAAC;IACtC,GAAG,EAAE,OAAO,GAAG,CAAC;IAChB,KAAK,EAAE,OAAO,KAAK,CAAC;IACpB,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;CACjD,CAAC;AAEF,QAAA,MAAM,WAAW,OAAgB,CAAC;AAuBlC,OAAO,EAAE,WAAW,IAAI,QAAQ,EAAE,CAAC"}
@@ -5,5 +5,5 @@ declare function isChild(parentId: string, childId: string): boolean;
5
5
  declare function getItemsIds(items: Array<IItem>): Array<string>;
6
6
  declare function getLevel(id: string): number;
7
7
  declare function getChildren(id: string | undefined, items: Array<IItem>): IItem[];
8
- export { getId, isChild, getItemsIds, getLevel, getChildren };
8
+ export { getChildren, getId, getItemsIds, getLevel, isChild };
9
9
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,iBAAS,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,GAAG,OAAO,CAAC,EAAE,IAAI,CAAC,GAAG,MAAM,CAExE;AAED,iBAAS,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAI3D;AAED,iBAAS,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAEvD;AAED,iBAAS,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAGpC;AAED,iBAAS,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,WAQ/D;AAED,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-forms/LongForm/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGnC,iBAAS,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,GAAG,OAAO,CAAC,EAAE,IAAI,CAAC,GAAG,MAAM,CAExE;AAED,iBAAS,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAI3D;AAED,iBAAS,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAEvD;AAED,iBAAS,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAGpC;AAED,iBAAS,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,WAQ/D;AAED,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ShowProps } from 'react-admin';
3
- export declare function Show(props: ShowProps): JSX.Element;
4
- export default Show;
3
+ declare function Show(props: ShowProps): JSX.Element;
4
+ export { Show };
5
+ export type { ShowProps };
5
6
  //# sourceMappingURL=Show.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Show.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Show.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAkB,SAAS,EAAE,MAAM,aAAa,CAAC;AAkBxD,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAGlD;AACD,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Show.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Show.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAkB,SAAS,EAAE,MAAM,aAAa,CAAC;AAiBxD,iBAAS,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAG3C;AACD,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,YAAY,EAAE,SAAS,EAAE,CAAC"}
@@ -1,11 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import { SimpleFormProps as RaSimpleFormProps } from 'react-admin';
3
- export type SimpleFormProps = RaSimpleFormProps & {
3
+ declare function SimpleForm({ title, modal, content, subheader, toolbar, secondary, sx, ...props }: SimpleFormProps): JSX.Element;
4
+ type SimpleFormProps = RaSimpleFormProps & {
4
5
  modal?: boolean;
5
6
  content?: boolean;
6
7
  subheader?: string | React.ReactNode;
7
8
  title?: string | React.ReactNode;
8
9
  secondary?: string | React.ReactNode;
9
10
  };
10
- export declare function SimpleForm({ title, modal, content, subheader, toolbar, secondary, sx, ...props }: SimpleFormProps): JSX.Element;
11
+ export { SimpleForm };
12
+ export type { SimpleFormProps };
11
13
  //# sourceMappingURL=SimpleForm.d.ts.map
@@ -1 +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;AAarB,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,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,KAAa,EAEb,OAAe,EACf,SAAgB,EAChB,OAIC,EACD,SAIC,EACD,EAAE,EACF,GAAG,KAAK,EACT,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CA6B/B"}
1
+ {"version":3,"file":"SimpleForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/SimpleForm.tsx"],"names":[],"mappings":";AAKA,OAAO,EAGL,eAAe,IAAI,iBAAiB,EAGrC,MAAM,aAAa,CAAC;AAQrB,iBAAS,UAAU,CAAC,EAClB,KAAK,EACL,KAAa,EAEb,OAAe,EACf,SAAgB,EAChB,OAIC,EACD,SAIC,EACD,EAAE,EACF,GAAG,KAAK,EACT,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CA6B/B;AAED,KAAK,eAAe,GAAG,iBAAiB,GAAG;IACzC,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,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
@@ -1,4 +1,6 @@
1
1
  /// <reference types="react" />
2
- export declare function SimpleFormIterator(props: any): JSX.Element;
3
- export default SimpleFormIterator;
2
+ import { SimpleFormIteratorProps } from 'react-admin';
3
+ declare function SimpleFormIterator(props: SimpleFormIteratorProps): JSX.Element;
4
+ export { SimpleFormIterator };
5
+ export type { SimpleFormIteratorProps } from 'react-admin';
4
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":";AA0BA,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG,CAAC,OAAO,CAE1D;AACD,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"SimpleFormIterator.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/SimpleFormIterator.tsx"],"names":[],"mappings":";AAEA,OAAO,EAA8C,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAyBlG,iBAAS,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAEvE;AACD,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC"}