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

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 (253) hide show
  1. package/bitbucket-pipelines.yml +2 -0
  2. package/dist/ApplicaAdmin.d.ts.map +1 -1
  3. package/dist/components/@extended/AnimateButton.d.ts +1 -1
  4. package/dist/components/@extended/AnimateButton.d.ts.map +1 -1
  5. package/dist/components/@extended/Avatar.d.ts.map +1 -1
  6. package/dist/components/@extended/Breadcrumbs.d.ts.map +1 -1
  7. package/dist/components/@extended/IconButton.d.ts.map +1 -1
  8. package/dist/components/@extended/LoadingButton.d.ts.map +1 -1
  9. package/dist/components/@extended/Tooltip.d.ts.map +1 -1
  10. package/dist/components/@extended/Transitions.d.ts.map +1 -1
  11. package/dist/components/@extended/progress/CircularWithLabel.d.ts.map +1 -1
  12. package/dist/components/@extended/progress/CircularWithPath.d.ts.map +1 -1
  13. package/dist/components/Layout/Drawer/DrawerContent/Navigation/NavCollapse.d.ts +1 -1
  14. package/dist/components/Layout/Drawer/DrawerContent/Navigation/NavCollapse.d.ts.map +1 -1
  15. package/dist/components/Layout/Drawer/DrawerContent/Navigation/NavGroup.d.ts.map +1 -1
  16. package/dist/components/Layout/Drawer/DrawerContent/Navigation/NavItem.d.ts.map +1 -1
  17. package/dist/components/Layout/Drawer/DrawerHeader/DrawerHeaderStyled.d.ts.map +1 -1
  18. package/dist/components/Layout/Drawer/DrawerHeader/index.d.ts.map +1 -1
  19. package/dist/components/Layout/Drawer/MiniDrawerStyled.d.ts.map +1 -1
  20. package/dist/components/Layout/Drawer/index.d.ts.map +1 -1
  21. package/dist/components/Layout/Footer.d.ts.map +1 -1
  22. package/dist/components/Layout/Header/AppBarStyled.d.ts.map +1 -1
  23. package/dist/components/Layout/Header/HeaderContent/Notification.d.ts.map +1 -1
  24. package/dist/components/Layout/Header/HeaderContent/NotificationItem.d.ts.map +1 -1
  25. package/dist/components/Layout/Header/HeaderContent/Profile.d.ts.map +1 -1
  26. package/dist/components/Layout/Header/HeaderContent/index.d.ts.map +1 -1
  27. package/dist/components/Layout/Header/index.d.ts.map +1 -1
  28. package/dist/components/Layout/index.d.ts.map +1 -1
  29. package/dist/components/MenuPopover/styles.d.ts.map +1 -1
  30. package/dist/components/Notification.d.ts.map +1 -1
  31. package/dist/components/ScrollX.d.ts.map +1 -1
  32. package/dist/components/ra-buttons/EditInDialogButton.d.ts.map +1 -1
  33. package/dist/components/ra-fields/CoverField.d.ts.map +1 -1
  34. package/dist/components/ra-fields/DateAgoField.d.ts.map +1 -1
  35. package/dist/components/ra-fields/ReadonlyField.d.ts.map +1 -1
  36. package/dist/components/ra-forms/CardForm.d.ts.map +1 -1
  37. package/dist/components/ra-forms/LongForm/useFormRootPath.d.ts.map +1 -1
  38. package/dist/components/ra-forms/TabbedForm.d.ts.map +1 -1
  39. package/dist/components/ra-inputs/ReferenceManyInput.d.ts.map +1 -1
  40. package/dist/components/ra-lists/Empty.d.ts.map +1 -1
  41. package/dist/components/ra-lists/NotificationList/NotificationList.d.ts.map +1 -1
  42. package/dist/components/ra-lists/NotificationList/button/MarkAsReadedButton.d.ts.map +1 -1
  43. package/dist/components/ra-lists/NotificationList/field/NotificationField.d.ts.map +1 -1
  44. package/dist/contexts/MenuConfigContext.d.ts.map +1 -1
  45. package/dist/contexts/MenuPropTypes.d.ts.map +1 -1
  46. package/dist/dev/useCliErrorCatcher.d.ts +1 -1
  47. package/dist/hooks/useMenu.d.ts.map +1 -1
  48. package/dist/i18n/useI18nCatcher.d.ts +1 -1
  49. package/dist/i18n/useI18nLanguages.d.ts +1 -1
  50. package/dist/i18n/useI18nLanguages.d.ts.map +1 -1
  51. package/dist/i18n/useI18nProvider.d.ts.map +1 -1
  52. package/dist/react-admin.cjs.js +2 -1
  53. package/dist/react-admin.cjs.js.map +1 -0
  54. package/dist/react-admin.es.js +300 -784
  55. package/dist/react-admin.es.js.map +1 -0
  56. package/dist/react-admin.umd.js +2 -1
  57. package/dist/react-admin.umd.js.map +1 -0
  58. package/dist/themes/overrides/OutlinedInput.d.ts.map +1 -1
  59. package/dist/themes/palette.d.ts.map +1 -1
  60. package/dist/themes/theme/theme1.d.ts.map +1 -1
  61. package/dist/themes/theme/theme2.d.ts.map +1 -1
  62. package/dist/themes/theme/theme3.d.ts.map +1 -1
  63. package/dist/themes/theme/theme4.d.ts.map +1 -1
  64. package/dist/themes/theme/theme5.d.ts.map +1 -1
  65. package/dist/themes/theme/theme6.d.ts.map +1 -1
  66. package/dist/themes/theme/theme7.d.ts.map +1 -1
  67. package/dist/themes/theme/theme8.d.ts.map +1 -1
  68. package/dist/utils/index.d.ts +2 -2
  69. package/dist/utils/index.d.ts.map +1 -1
  70. package/dist/utils/lang.d.ts +1 -1
  71. package/dist/utils/lang.d.ts.map +1 -1
  72. package/dist/utils/time.d.ts +2 -1
  73. package/dist/utils/time.d.ts.map +1 -1
  74. package/package.json +2 -2
  75. package/src/Admin.jsx +8 -8
  76. package/src/AdminContext.jsx +9 -9
  77. package/src/ApplicaAdmin.jsx +30 -35
  78. package/src/components/@extended/AnimateButton.jsx +25 -33
  79. package/src/components/@extended/Avatar.jsx +35 -42
  80. package/src/components/@extended/Breadcrumbs.jsx +62 -96
  81. package/src/components/@extended/Dot.jsx +14 -14
  82. package/src/components/@extended/IconButton.jsx +55 -65
  83. package/src/components/@extended/LoadingButton.jsx +84 -86
  84. package/src/components/@extended/Tooltip.jsx +24 -27
  85. package/src/components/@extended/Transitions.jsx +98 -107
  86. package/src/components/@extended/index.jsx +10 -10
  87. package/src/components/@extended/progress/CircularWithLabel.jsx +7 -9
  88. package/src/components/@extended/progress/CircularWithPath.jsx +9 -18
  89. package/src/components/@extended/progress/LinearWithIcon.jsx +5 -5
  90. package/src/components/@extended/progress/LinearWithLabel.jsx +5 -5
  91. package/src/components/@extended/progress/index.jsx +5 -5
  92. package/src/components/Layout/Drawer/DrawerContent/Navigation/NavCollapse.jsx +112 -131
  93. package/src/components/Layout/Drawer/DrawerContent/Navigation/NavGroup.jsx +67 -88
  94. package/src/components/Layout/Drawer/DrawerContent/Navigation/NavItem.jsx +63 -79
  95. package/src/components/Layout/Drawer/DrawerContent/Navigation/index.jsx +28 -28
  96. package/src/components/Layout/Drawer/DrawerContent/index.jsx +7 -7
  97. package/src/components/Layout/Drawer/DrawerHeader/DrawerHeaderStyled.jsx +13 -15
  98. package/src/components/Layout/Drawer/DrawerHeader/index.jsx +17 -22
  99. package/src/components/Layout/Drawer/HorizontalBar.jsx +17 -17
  100. package/src/components/Layout/Drawer/MiniDrawerStyled.jsx +27 -29
  101. package/src/components/Layout/Drawer/index.jsx +21 -24
  102. package/src/components/Layout/Footer.jsx +7 -12
  103. package/src/components/Layout/Header/AppBarStyled.jsx +26 -28
  104. package/src/components/Layout/Header/HeaderContent/MobileSection.jsx +27 -27
  105. package/src/components/Layout/Header/HeaderContent/Notification.jsx +34 -55
  106. package/src/components/Layout/Header/HeaderContent/NotificationItem.jsx +24 -36
  107. package/src/components/Layout/Header/HeaderContent/Profile.jsx +48 -73
  108. package/src/components/Layout/Header/HeaderContent/index.jsx +16 -18
  109. package/src/components/Layout/Header/index.jsx +25 -43
  110. package/src/components/Layout/index.jsx +36 -52
  111. package/src/components/Loadable.jsx +4 -4
  112. package/src/components/Loader.jsx +7 -7
  113. package/src/components/Logo.jsx +14 -14
  114. package/src/components/MainIcon.jsx +6 -6
  115. package/src/components/MenuPopover/MenuPopover.jsx +15 -15
  116. package/src/components/MenuPopover/getPosition.jsx +40 -40
  117. package/src/components/MenuPopover/index.jsx +3 -3
  118. package/src/components/MenuPopover/styles.jsx +20 -20
  119. package/src/components/Notification.jsx +7 -7
  120. package/src/components/ScrollTop.jsx +13 -13
  121. package/src/components/ScrollX.jsx +4 -4
  122. package/src/components/SmallIcon.jsx +6 -6
  123. package/src/components/ra-buttons/EditInDialogButton.jsx +39 -45
  124. package/src/components/ra-buttons/ImpersonateUserButton.jsx +20 -20
  125. package/src/components/ra-buttons/index.jsx +4 -4
  126. package/src/components/ra-fields/ActionsField.jsx +12 -12
  127. package/src/components/ra-fields/CoverField.jsx +20 -26
  128. package/src/components/ra-fields/DateAgoField.jsx +17 -20
  129. package/src/components/ra-fields/DateField.jsx +14 -14
  130. package/src/components/ra-fields/EmailField.jsx +14 -14
  131. package/src/components/ra-fields/FileField.jsx +23 -23
  132. package/src/components/ra-fields/FunctionField.jsx +5 -5
  133. package/src/components/ra-fields/ImageField.jsx +11 -11
  134. package/src/components/ra-fields/ReadonlyField.jsx +40 -42
  135. package/src/components/ra-fields/ReferenceManyField.jsx +21 -21
  136. package/src/components/ra-fields/SizeField.jsx +15 -15
  137. package/src/components/ra-fields/TextField.jsx +14 -14
  138. package/src/components/ra-fields/index.jsx +15 -15
  139. package/src/components/ra-forms/CardForm.jsx +34 -40
  140. package/src/components/ra-forms/LongForm/useFormRootPath.ts +8 -13
  141. package/src/components/ra-forms/TabbedForm.jsx +10 -10
  142. package/src/components/ra-forms/Toolbar.jsx +15 -15
  143. package/src/components/ra-forms/index.jsx +9 -9
  144. package/src/components/ra-inputs/AutocompleteArrayInput.jsx +7 -7
  145. package/src/components/ra-inputs/AutocompleteInput.jsx +9 -9
  146. package/src/components/ra-inputs/BooleanInput.jsx +19 -19
  147. package/src/components/ra-inputs/DateInput.jsx +13 -13
  148. package/src/components/ra-inputs/FileInput.jsx +33 -33
  149. package/src/components/ra-inputs/ImageInput.jsx +19 -19
  150. package/src/components/ra-inputs/NumberInput.jsx +13 -13
  151. package/src/components/ra-inputs/RecordInput.jsx +39 -39
  152. package/src/components/ra-inputs/ReferenceArrayInput.jsx +10 -10
  153. package/src/components/ra-inputs/ReferenceInput.jsx +10 -10
  154. package/src/components/ra-inputs/ReferenceManyInput.jsx +13 -24
  155. package/src/components/ra-inputs/SearchInput.jsx +6 -6
  156. package/src/components/ra-inputs/SelectArrayInput.jsx +19 -19
  157. package/src/components/ra-inputs/TimeInput.jsx +21 -21
  158. package/src/components/ra-lists/Empty.jsx +32 -37
  159. package/src/components/ra-lists/List.jsx +9 -9
  160. package/src/components/ra-lists/NotificationList/NotificationList.jsx +14 -16
  161. package/src/components/ra-lists/NotificationList/button/MarkAsReadedButton.jsx +21 -25
  162. package/src/components/ra-lists/NotificationList/button/MarkAsUnreadedButton.jsx +19 -19
  163. package/src/components/ra-lists/NotificationList/button/index.jsx +2 -2
  164. package/src/components/ra-lists/NotificationList/field/NotificationField.jsx +20 -31
  165. package/src/components/ra-lists/NotificationList/field/index.jsx +1 -1
  166. package/src/components/ra-lists/NotificationList/index.jsx +2 -2
  167. package/src/components/ra-lists/index.jsx +5 -5
  168. package/src/components/third-party/SimpleBar.jsx +10 -10
  169. package/src/components/third-party/index.jsx +2 -2
  170. package/src/contexts/MenuConfigContext.jsx +35 -35
  171. package/src/contexts/MenuPropTypes.jsx +7 -7
  172. package/src/contexts/index.jsx +5 -5
  173. package/src/dev/index.jsx +2 -2
  174. package/src/dev/useCliErrorCatcher.jsx +32 -32
  175. package/src/hooks/index.jsx +8 -16
  176. package/src/hooks/useAppConfig.jsx +4 -4
  177. package/src/hooks/useBreadcrumbs.jsx +37 -37
  178. package/src/hooks/useLocalStorage.jsx +16 -16
  179. package/src/hooks/useMenu.jsx +83 -88
  180. package/src/hooks/useMenuConfig.jsx +4 -4
  181. package/src/hooks/useResourceTitle.jsx +13 -13
  182. package/src/hooks/useThemeConfig.jsx +4 -4
  183. package/src/i18n/createI18nProvider.jsx +7 -7
  184. package/src/i18n/index.jsx +4 -4
  185. package/src/i18n/useI18nCatcher.jsx +26 -26
  186. package/src/i18n/useI18nLanguages.jsx +12 -16
  187. package/src/i18n/useI18nProvider.jsx +3 -4
  188. package/src/themes/getColors.jsx +8 -8
  189. package/src/themes/getShadow.jsx +17 -17
  190. package/src/themes/index.jsx +29 -29
  191. package/src/themes/overrides/Accordion.jsx +9 -9
  192. package/src/themes/overrides/AccordionDetails.jsx +5 -5
  193. package/src/themes/overrides/AccordionSummary.jsx +11 -11
  194. package/src/themes/overrides/Alert.jsx +21 -21
  195. package/src/themes/overrides/AlertTitle.jsx +5 -5
  196. package/src/themes/overrides/Autocomplete.jsx +9 -9
  197. package/src/themes/overrides/Badge.jsx +12 -12
  198. package/src/themes/overrides/Button.jsx +62 -62
  199. package/src/themes/overrides/ButtonBase.jsx +4 -4
  200. package/src/themes/overrides/ButtonGroup.jsx +4 -4
  201. package/src/themes/overrides/CardContent.jsx +6 -6
  202. package/src/themes/overrides/Checkbox.jsx +31 -31
  203. package/src/themes/overrides/Chip.jsx +22 -22
  204. package/src/themes/overrides/Dialog.jsx +7 -7
  205. package/src/themes/overrides/DialogContentText.jsx +5 -5
  206. package/src/themes/overrides/DialogTitle.jsx +5 -5
  207. package/src/themes/overrides/Fab.jsx +21 -21
  208. package/src/themes/overrides/IconButton.jsx +8 -8
  209. package/src/themes/overrides/InputBase.jsx +3 -3
  210. package/src/themes/overrides/InputLabel.jsx +8 -8
  211. package/src/themes/overrides/LinearProgress.jsx +6 -6
  212. package/src/themes/overrides/Link.jsx +4 -4
  213. package/src/themes/overrides/ListItemButton.jsx +7 -7
  214. package/src/themes/overrides/ListItemIcon.jsx +5 -5
  215. package/src/themes/overrides/LoadingButton.jsx +6 -6
  216. package/src/themes/overrides/OutlinedInput.jsx +20 -21
  217. package/src/themes/overrides/Pagination.jsx +4 -4
  218. package/src/themes/overrides/PaginationItem.jsx +55 -55
  219. package/src/themes/overrides/Popover.jsx +5 -5
  220. package/src/themes/overrides/Radio.jsx +30 -30
  221. package/src/themes/overrides/Slider.jsx +20 -20
  222. package/src/themes/overrides/Switch.jsx +26 -26
  223. package/src/themes/overrides/Tab.jsx +7 -7
  224. package/src/themes/overrides/TableBody.jsx +11 -11
  225. package/src/themes/overrides/TableCell.jsx +12 -12
  226. package/src/themes/overrides/TableFooter.jsx +5 -5
  227. package/src/themes/overrides/TableHead.jsx +5 -5
  228. package/src/themes/overrides/TablePagination.jsx +6 -6
  229. package/src/themes/overrides/TableRow.jsx +10 -10
  230. package/src/themes/overrides/Tabs.jsx +5 -5
  231. package/src/themes/overrides/ToggleButton.jsx +7 -7
  232. package/src/themes/overrides/Tooltip.jsx +5 -5
  233. package/src/themes/overrides/TreeItem.jsx +7 -7
  234. package/src/themes/overrides/Typography.jsx +5 -5
  235. package/src/themes/overrides/index.jsx +47 -47
  236. package/src/themes/palette.jsx +22 -34
  237. package/src/themes/shadows.jsx +4 -4
  238. package/src/themes/theme/default.jsx +17 -17
  239. package/src/themes/theme/index.jsx +23 -23
  240. package/src/themes/theme/theme1.jsx +24 -46
  241. package/src/themes/theme/theme2.jsx +24 -46
  242. package/src/themes/theme/theme3.jsx +24 -46
  243. package/src/themes/theme/theme4.jsx +24 -46
  244. package/src/themes/theme/theme5.jsx +24 -46
  245. package/src/themes/theme/theme6.jsx +24 -46
  246. package/src/themes/theme/theme7.jsx +24 -46
  247. package/src/themes/theme/theme8.jsx +24 -46
  248. package/src/themes/typography.jsx +16 -16
  249. package/src/utils/{lang.js → lang.ts} +4 -4
  250. package/src/utils/time.ts +14 -0
  251. package/vite.config.js +11 -10
  252. package/src/utils/time.js +0 -13
  253. /package/src/utils/{index.js → index.ts} +0 -0
@@ -10001,32 +10001,14 @@ const au = _I, eF = ({ id: e, title: t, icon: n, url: r, last: i }) => /* @__PUR
10001
10001
  spacing: 1,
10002
10002
  children: [
10003
10003
  g && !f && /* @__PURE__ */ m(xt, { item: !0, children: /* @__PURE__ */ m(we, { variant: "h2", children: w.title }) }),
10004
- /* @__PURE__ */ m(xt, { item: !0, children: /* @__PURE__ */ ae(
10005
- au,
10006
- {
10007
- "aria-label": "breadcrumb",
10008
- maxItems: s || 8,
10009
- separator: K,
10010
- children: [
10011
- e !== !1 && /* @__PURE__ */ ae(
10012
- we,
10013
- {
10014
- component: vr,
10015
- to: "/",
10016
- color: "textSecondary",
10017
- variant: "h6",
10018
- sx: { textDecoration: "none" },
10019
- children: [
10020
- i && /* @__PURE__ */ m(qA, { style: L }),
10021
- r && !i && /* @__PURE__ */ m(JA, { style: { ...L, marginRight: 0 } }),
10022
- (!r || i) && e
10023
- ]
10024
- }
10025
- ),
10026
- h.map(eF)
10027
- ]
10028
- }
10029
- ) }),
10004
+ /* @__PURE__ */ m(xt, { item: !0, children: /* @__PURE__ */ ae(au, { "aria-label": "breadcrumb", maxItems: s || 8, separator: K, children: [
10005
+ e !== !1 && /* @__PURE__ */ ae(we, { component: vr, to: "/", color: "textSecondary", variant: "h6", sx: { textDecoration: "none" }, children: [
10006
+ i && /* @__PURE__ */ m(qA, { style: L }),
10007
+ r && !i && /* @__PURE__ */ m(JA, { style: { ...L, marginRight: 0 } }),
10008
+ (!r || i) && e
10009
+ ] }),
10010
+ h.map(eF)
10011
+ ] }) }),
10030
10012
  g && f && /* @__PURE__ */ m(xt, { item: !0, sx: { mt: t === !1 ? 0.25 : 1 }, children: /* @__PURE__ */ m(we, { variant: "h2", children: w.title }) })
10031
10013
  ]
10032
10014
  }
@@ -10065,32 +10047,14 @@ const au = _I, eF = ({ id: e, title: t, icon: n, url: r, last: i }) => /* @__PUR
10065
10047
  alignItems: A ? "center" : "flex-start",
10066
10048
  spacing: 1,
10067
10049
  children: [
10068
- /* @__PURE__ */ m(xt, { item: !0, children: /* @__PURE__ */ ae(
10069
- au,
10070
- {
10071
- "aria-label": "breadcrumb",
10072
- maxItems: s || 8,
10073
- separator: K,
10074
- children: [
10075
- e !== !1 && /* @__PURE__ */ ae(
10076
- we,
10077
- {
10078
- component: vr,
10079
- to: "/",
10080
- color: "textSecondary",
10081
- variant: "h6",
10082
- sx: { textDecoration: "none" },
10083
- children: [
10084
- i && /* @__PURE__ */ m(qA, { style: L }),
10085
- r && !i && /* @__PURE__ */ m(JA, { style: { ...L, marginRight: 0 } }),
10086
- (!r || i) && e
10087
- ]
10088
- }
10089
- ),
10090
- z
10091
- ]
10092
- }
10093
- ) }),
10050
+ /* @__PURE__ */ m(xt, { item: !0, children: /* @__PURE__ */ ae(au, { "aria-label": "breadcrumb", maxItems: s || 8, separator: K, children: [
10051
+ e !== !1 && /* @__PURE__ */ ae(we, { component: vr, to: "/", color: "textSecondary", variant: "h6", sx: { textDecoration: "none" }, children: [
10052
+ i && /* @__PURE__ */ m(qA, { style: L }),
10053
+ r && !i && /* @__PURE__ */ m(JA, { style: { ...L, marginRight: 0 } }),
10054
+ (!r || i) && e
10055
+ ] }),
10056
+ z
10057
+ ] }) }),
10094
10058
  g && f && /* @__PURE__ */ m(xt, { item: !0, sx: { mt: t === !1 ? 0.25 : 1 }, children: /* @__PURE__ */ m(we, { variant: "h2", children: T.title }) })
10095
10059
  ]
10096
10060
  }
@@ -10132,33 +10096,15 @@ const au = _I, eF = ({ id: e, title: t, icon: n, url: r, last: i }) => /* @__PUR
10132
10096
  spacing: 1,
10133
10097
  children: [
10134
10098
  g && !f && /* @__PURE__ */ m(xt, { item: !0, children: /* @__PURE__ */ m(we, { variant: "h2", children: w.title }) }),
10135
- /* @__PURE__ */ m(xt, { item: !0, children: /* @__PURE__ */ ae(
10136
- au,
10137
- {
10138
- "aria-label": "breadcrumb",
10139
- maxItems: s || 8,
10140
- separator: K,
10141
- children: [
10142
- e !== !1 && /* @__PURE__ */ ae(
10143
- we,
10144
- {
10145
- component: vr,
10146
- to: "/",
10147
- color: "textSecondary",
10148
- variant: "h6",
10149
- sx: { textDecoration: "none" },
10150
- children: [
10151
- i && /* @__PURE__ */ m(qA, { style: L }),
10152
- r && !i && /* @__PURE__ */ m(JA, { style: { ...L, marginRight: 0 } }),
10153
- (!r || i) && e
10154
- ]
10155
- }
10156
- ),
10157
- z,
10158
- oe
10159
- ]
10160
- }
10161
- ) }),
10099
+ /* @__PURE__ */ m(xt, { item: !0, children: /* @__PURE__ */ ae(au, { "aria-label": "breadcrumb", maxItems: s || 8, separator: K, children: [
10100
+ e !== !1 && /* @__PURE__ */ ae(we, { component: vr, to: "/", color: "textSecondary", variant: "h6", sx: { textDecoration: "none" }, children: [
10101
+ i && /* @__PURE__ */ m(qA, { style: L }),
10102
+ r && !i && /* @__PURE__ */ m(JA, { style: { ...L, marginRight: 0 } }),
10103
+ (!r || i) && e
10104
+ ] }),
10105
+ z,
10106
+ oe
10107
+ ] }) }),
10162
10108
  g && f && /* @__PURE__ */ m(xt, { item: !0, sx: { mt: t === !1 ? 0.25 : 1 }, children: /* @__PURE__ */ m(we, { variant: "h2", children: w.title }) })
10163
10109
  ]
10164
10110
  }
@@ -14345,23 +14291,7 @@ function l3({
14345
14291
  }
14346
14292
  );
14347
14293
  case "slide":
14348
- return n === "up" || n === "down" ? /* @__PURE__ */ m(
14349
- el.div,
14350
- {
14351
- animate: { y: g !== void 0 ? g : "" },
14352
- onHoverEnd: () => f(),
14353
- onHoverStart: () => f(),
14354
- children: e
14355
- }
14356
- ) : /* @__PURE__ */ m(
14357
- el.div,
14358
- {
14359
- animate: { x: A !== void 0 ? A : "" },
14360
- onHoverEnd: () => d(),
14361
- onHoverStart: () => d(),
14362
- children: e
14363
- }
14364
- );
14294
+ return n === "up" || n === "down" ? /* @__PURE__ */ m(el.div, { animate: { y: g !== void 0 ? g : "" }, onHoverEnd: () => f(), onHoverStart: () => f(), children: e }) : /* @__PURE__ */ m(el.div, { animate: { x: A !== void 0 ? A : "" }, onHoverEnd: () => d(), onHoverStart: () => d(), children: e });
14365
14295
  case "scale":
14366
14296
  default:
14367
14297
  return typeof i == "number" && (i = {
@@ -14670,14 +14600,7 @@ const I3 = ie(C3, {
14670
14600
  borderColor: e.palette.background.default
14671
14601
  }
14672
14602
  }));
14673
- function ud({
14674
- variant: e = "circular",
14675
- children: t,
14676
- color: n = "primary",
14677
- type: r,
14678
- size: i = "md",
14679
- ...s
14680
- }) {
14603
+ function ud({ variant: e = "circular", children: t, color: n = "primary", type: r, size: i = "md", ...s }) {
14681
14604
  const l = At();
14682
14605
  return /* @__PURE__ */ m(I3, { variant: e, theme: l, color: n, type: r, size: i, ...s, children: t });
14683
14606
  }
@@ -15031,24 +14954,10 @@ const P3 = ie(w3, {
15031
14954
  }
15032
14955
  },
15033
14956
  ...T3({ variant: t, theme: e, color: r })
15034
- })), Lo = Ho(
15035
- ({ variant: e = "text", shape: t = "square", children: n, color: r = "primary", ...i }, s) => {
15036
- const l = At();
15037
- return /* @__PURE__ */ m(
15038
- P3,
15039
- {
15040
- ref: s,
15041
- disableRipple: !0,
15042
- variant: e,
15043
- shape: t,
15044
- theme: l,
15045
- color: r,
15046
- ...i,
15047
- children: n
15048
- }
15049
- );
15050
- }
15051
- );
14957
+ })), Lo = Ho(({ variant: e = "text", shape: t = "square", children: n, color: r = "primary", ...i }, s) => {
14958
+ const l = At();
14959
+ return /* @__PURE__ */ m(P3, { ref: s, disableRipple: !0, variant: e, shape: t, theme: l, color: r, ...i, children: n });
14960
+ });
15052
14961
  Lo.propTypes = {
15053
14962
  variant: c.string,
15054
14963
  shape: c.string,
@@ -15977,25 +15886,23 @@ const r5 = ie(n5, {
15977
15886
  ...mu({ variant: t, theme: e, color: r, loadingPosition: s })
15978
15887
  }
15979
15888
  }
15980
- })), Q0 = Ho(
15981
- ({ variant: e = "text", shape: t, children: n, color: r = "primary", ...i }, s) => {
15982
- const l = At();
15983
- return /* @__PURE__ */ m(
15984
- r5,
15985
- {
15986
- ref: s,
15987
- variant: e,
15988
- shape: t,
15989
- theme: l,
15990
- loadingPosition: i.loadingPosition,
15991
- loading: i.loading,
15992
- color: r,
15993
- ...i,
15994
- children: n
15995
- }
15996
- );
15997
- }
15998
- );
15889
+ })), Q0 = Ho(({ variant: e = "text", shape: t, children: n, color: r = "primary", ...i }, s) => {
15890
+ const l = At();
15891
+ return /* @__PURE__ */ m(
15892
+ r5,
15893
+ {
15894
+ ref: s,
15895
+ variant: e,
15896
+ shape: t,
15897
+ theme: l,
15898
+ loadingPosition: i.loadingPosition,
15899
+ loading: i.loading,
15900
+ color: r,
15901
+ ...i,
15902
+ children: n
15903
+ }
15904
+ );
15905
+ });
15999
15906
  Q0.propTypes = {
16000
15907
  variant: c.string,
16001
15908
  shape: c.string,
@@ -16025,12 +15932,9 @@ function o5({ color: e, theme: t, labelColor: n }) {
16025
15932
  }
16026
15933
  };
16027
15934
  }
16028
- const i5 = ie(
16029
- ({ className: e, ...t }) => /* @__PURE__ */ m(za, { ...t, classes: { popper: e } }),
16030
- {
16031
- shouldForwardProp: (e) => e !== "color" && e !== "labelColor"
16032
- }
16033
- )(({ theme: e, color: t, labelColor: n }) => ({
15935
+ const i5 = ie(({ className: e, ...t }) => /* @__PURE__ */ m(za, { ...t, classes: { popper: e } }), {
15936
+ shouldForwardProp: (e) => e !== "color" && e !== "labelColor"
15937
+ })(({ theme: e, color: t, labelColor: n }) => ({
16034
15938
  ...t && o5({ color: t, theme: e, labelColor: n })
16035
15939
  }));
16036
15940
  function a5({ children: e, arrow: t, labelColor: n = "", ...r }) {
@@ -16043,98 +15947,89 @@ a5.propTypes = {
16043
15947
  labelColor: c.string,
16044
15948
  rest: c.array
16045
15949
  };
16046
- const jo = Ho(
16047
- ({ children: e, position: t = "top-left", type: n = "grow", direction: r = "up", ...i }, s) => {
16048
- let l = {
16049
- transformOrigin: "0 0 0"
16050
- };
16051
- switch (t) {
16052
- case "top-right":
16053
- l = {
16054
- transformOrigin: "top right"
16055
- };
16056
- break;
16057
- case "top":
16058
- l = {
16059
- transformOrigin: "top"
16060
- };
16061
- break;
16062
- case "bottom-left":
16063
- l = {
16064
- transformOrigin: "bottom left"
16065
- };
16066
- break;
16067
- case "bottom-right":
16068
- l = {
16069
- transformOrigin: "bottom right"
16070
- };
16071
- break;
16072
- case "bottom":
16073
- l = {
16074
- transformOrigin: "bottom"
16075
- };
16076
- break;
16077
- case "top-left":
16078
- default:
16079
- l = {
16080
- transformOrigin: "0 0 0"
16081
- };
16082
- break;
16083
- }
16084
- return /* @__PURE__ */ ae(Fe, { ref: s, children: [
16085
- n === "grow" && /* @__PURE__ */ m(
16086
- PR,
16087
- {
16088
- ...i,
16089
- timeout: {
16090
- appear: 0,
16091
- enter: 150,
16092
- exit: 150
16093
- },
16094
- children: /* @__PURE__ */ m(Fe, { sx: l, children: e })
16095
- }
16096
- ),
16097
- n === "collapse" && /* @__PURE__ */ m(zm, { ...i, sx: l, children: e }),
16098
- n === "fade" && /* @__PURE__ */ m(
16099
- SR,
16100
- {
16101
- ...i,
16102
- timeout: {
16103
- appear: 0,
16104
- enter: 300,
16105
- exit: 150
16106
- },
16107
- children: /* @__PURE__ */ m(Fe, { sx: l, children: e })
16108
- }
16109
- ),
16110
- n === "slide" && /* @__PURE__ */ m(
16111
- RR,
16112
- {
16113
- ...i,
16114
- timeout: {
16115
- appear: 0,
16116
- enter: 150,
16117
- exit: 150
16118
- },
16119
- direction: r,
16120
- children: /* @__PURE__ */ m(Fe, { sx: l, children: e })
16121
- }
16122
- ),
16123
- n === "zoom" && /* @__PURE__ */ m(Wm, { ...i, children: /* @__PURE__ */ m(Fe, { sx: l, children: e }) })
16124
- ] });
15950
+ const jo = Ho(({ children: e, position: t = "top-left", type: n = "grow", direction: r = "up", ...i }, s) => {
15951
+ let l = {
15952
+ transformOrigin: "0 0 0"
15953
+ };
15954
+ switch (t) {
15955
+ case "top-right":
15956
+ l = {
15957
+ transformOrigin: "top right"
15958
+ };
15959
+ break;
15960
+ case "top":
15961
+ l = {
15962
+ transformOrigin: "top"
15963
+ };
15964
+ break;
15965
+ case "bottom-left":
15966
+ l = {
15967
+ transformOrigin: "bottom left"
15968
+ };
15969
+ break;
15970
+ case "bottom-right":
15971
+ l = {
15972
+ transformOrigin: "bottom right"
15973
+ };
15974
+ break;
15975
+ case "bottom":
15976
+ l = {
15977
+ transformOrigin: "bottom"
15978
+ };
15979
+ break;
15980
+ case "top-left":
15981
+ default:
15982
+ l = {
15983
+ transformOrigin: "0 0 0"
15984
+ };
15985
+ break;
16125
15986
  }
16126
- );
15987
+ return /* @__PURE__ */ ae(Fe, { ref: s, children: [
15988
+ n === "grow" && /* @__PURE__ */ m(
15989
+ PR,
15990
+ {
15991
+ ...i,
15992
+ timeout: {
15993
+ appear: 0,
15994
+ enter: 150,
15995
+ exit: 150
15996
+ },
15997
+ children: /* @__PURE__ */ m(Fe, { sx: l, children: e })
15998
+ }
15999
+ ),
16000
+ n === "collapse" && /* @__PURE__ */ m(zm, { ...i, sx: l, children: e }),
16001
+ n === "fade" && /* @__PURE__ */ m(
16002
+ SR,
16003
+ {
16004
+ ...i,
16005
+ timeout: {
16006
+ appear: 0,
16007
+ enter: 300,
16008
+ exit: 150
16009
+ },
16010
+ children: /* @__PURE__ */ m(Fe, { sx: l, children: e })
16011
+ }
16012
+ ),
16013
+ n === "slide" && /* @__PURE__ */ m(
16014
+ RR,
16015
+ {
16016
+ ...i,
16017
+ timeout: {
16018
+ appear: 0,
16019
+ enter: 150,
16020
+ exit: 150
16021
+ },
16022
+ direction: r,
16023
+ children: /* @__PURE__ */ m(Fe, { sx: l, children: e })
16024
+ }
16025
+ ),
16026
+ n === "zoom" && /* @__PURE__ */ m(Wm, { ...i, children: /* @__PURE__ */ m(Fe, { sx: l, children: e }) })
16027
+ ] });
16028
+ });
16127
16029
  jo.propTypes = {
16128
16030
  children: c.node,
16129
16031
  type: c.oneOf(["grow", "fade", "collapse", "slide", "zoom"]),
16130
- position: c.oneOf([
16131
- "top-left",
16132
- "top-right",
16133
- "top",
16134
- "bottom-left",
16135
- "bottom-right",
16136
- "bottom"
16137
- ]),
16032
+ position: c.oneOf(["top-left", "top-right", "top", "bottom-left", "bottom-right", "bottom"]),
16138
16033
  direction: c.oneOf(["up", "down", "left", "right"])
16139
16034
  };
16140
16035
  Ho(function(t, n) {
@@ -16156,9 +16051,7 @@ function s5({ value: e, ...t }) {
16156
16051
  alignItems: "center",
16157
16052
  justifyContent: "center"
16158
16053
  },
16159
- children: /* @__PURE__ */ m(we, { variant: "caption", component: "div", color: "text.secondary", children: `${Math.round(
16160
- e
16161
- )}%` })
16054
+ children: /* @__PURE__ */ m(we, { variant: "caption", component: "div", color: "text.secondary", children: `${Math.round(e)}%` })
16162
16055
  }
16163
16056
  )
16164
16057
  ] });
@@ -16166,16 +16059,7 @@ function s5({ value: e, ...t }) {
16166
16059
  s5.propTypes = {
16167
16060
  value: c.number
16168
16061
  };
16169
- function l5({
16170
- value: e,
16171
- size: t,
16172
- variant: n,
16173
- thickness: r,
16174
- showLabel: i,
16175
- pathColor: s,
16176
- sx: l,
16177
- ...A
16178
- }) {
16062
+ function l5({ value: e, size: t, variant: n, thickness: r, showLabel: i, pathColor: s, sx: l, ...A }) {
16179
16063
  return /* @__PURE__ */ ae(Fe, { sx: { position: "relative", display: "inline-flex" }, children: [
16180
16064
  /* @__PURE__ */ m(
16181
16065
  ku,
@@ -16474,15 +16358,7 @@ const LE = ie(Wa)(({ theme: e }) => ({
16474
16358
  borderLeft: `1px solid ${e.palette.grey.A800}`,
16475
16359
  borderBottom: `1px solid ${e.palette.grey.A800}`
16476
16360
  }
16477
- })), wa = ({
16478
- menu: e,
16479
- level: t,
16480
- parentId: n,
16481
- setSelectedItems: r,
16482
- selectedItems: i,
16483
- setSelectedLevel: s,
16484
- selectedLevel: l
16485
- }) => {
16361
+ })), wa = ({ menu: e, level: t, parentId: n, setSelectedItems: r, selectedItems: i, setSelectedLevel: s, selectedLevel: l }) => {
16486
16362
  var W;
16487
16363
  const A = At(), { activeItem: d } = Ar(), g = Tn(A.breakpoints.down("lg")), { drawerOpen: f } = Ar(), { menuOrientation: C, isVerticalLayout: h } = Zt(), E = rO(), [I, B] = lt(!1), [v, T] = lt(null), [R, w] = lt(null), x = (F) => {
16488
16364
  w(null), s(t), f ? (B(!I), T(v ? null : e.id), r(v ? "" : e.id), e.url && E(`${e.url}`)) : w(F == null ? void 0 : F.currentTarget);
@@ -16607,12 +16483,7 @@ const LE = ie(Wa)(({ theme: e }) => ({
16607
16483
  secondary: e.caption && /* @__PURE__ */ m(we, { variant: "caption", color: "secondary", children: e.caption })
16608
16484
  }
16609
16485
  ),
16610
- (f || !f && t !== 1) && (K || I ? /* @__PURE__ */ m(
16611
- aO,
16612
- {
16613
- style: { fontSize: "0.625rem", marginLeft: 1, color: A.palette.primary.main }
16614
- }
16615
- ) : /* @__PURE__ */ m(Cl, { style: { fontSize: "0.625rem", marginLeft: 1 } })),
16486
+ (f || !f && t !== 1) && (K || I ? /* @__PURE__ */ m(aO, { style: { fontSize: "0.625rem", marginLeft: 1, color: A.palette.primary.main } }) : /* @__PURE__ */ m(Cl, { style: { fontSize: "0.625rem", marginLeft: 1 } })),
16616
16487
  !f && /* @__PURE__ */ m(
16617
16488
  LE,
16618
16489
  {
@@ -16763,16 +16634,7 @@ const u5 = ie(Wa)(({ theme: e }) => ({
16763
16634
  borderStyle: "solid",
16764
16635
  borderColor: `${e.palette.background.paper} transparent transparent ${e.palette.background.paper}`
16765
16636
  }
16766
- })), v0 = ({
16767
- item: e,
16768
- lastItem: t,
16769
- remItems: n,
16770
- lastItemId: r,
16771
- setSelectedItems: i,
16772
- selectedItems: s,
16773
- setSelectedLevel: l,
16774
- selectedLevel: A
16775
- }) => {
16637
+ })), v0 = ({ item: e, lastItem: t, remItems: n, lastItemId: r, setSelectedItems: i, selectedItems: s, setSelectedLevel: l, selectedLevel: A }) => {
16776
16638
  var Y, J;
16777
16639
  const d = At(), g = er(), { pathname: f } = { pathname: "" }, { menuOrientation: C, isVerticalLayout: h } = Zt(), E = Ar(), { drawerOpen: I, selectedID: B } = E, { activeID: v } = Ar(), T = Tn(d.breakpoints.down("lg")), [R, w] = lt(null), [x, P] = lt(e), L = !!R;
16778
16640
  Ft(() => {
@@ -16882,14 +16744,7 @@ const u5 = ie(Wa)(({ theme: e }) => ({
16882
16744
  Sa,
16883
16745
  {
16884
16746
  subheader: e.title && I && /* @__PURE__ */ ae(Fe, { sx: { pl: 3, mb: 1.5 }, children: [
16885
- /* @__PURE__ */ m(
16886
- we,
16887
- {
16888
- variant: "subtitle2",
16889
- color: d.palette.mode === "dark" ? "textSecondary" : "text.secondary",
16890
- children: e.title
16891
- }
16892
- ),
16747
+ /* @__PURE__ */ m(we, { variant: "subtitle2", color: d.palette.mode === "dark" ? "textSecondary" : "text.secondary", children: e.title }),
16893
16748
  e.caption && /* @__PURE__ */ m(we, { variant: "caption", color: "secondary", children: e.caption })
16894
16749
  ] }),
16895
16750
  sx: { mt: I && e.title ? 1.5 : 0, py: 0, zIndex: 0 },
@@ -18403,15 +18258,13 @@ const h6 = () => /* @__PURE__ */ m(
18403
18258
  },
18404
18259
  children: /* @__PURE__ */ m(b0, {})
18405
18260
  }
18406
- ), MQ = ie(Fe, { shouldForwardProp: (e) => e !== "open" })(
18407
- ({ theme: e, open: t }) => ({
18408
- ...e.mixins.toolbar,
18409
- display: "flex",
18410
- alignItems: "center",
18411
- justifyContent: t ? "flex-start" : "center",
18412
- paddingLeft: e.spacing(t ? 3 : 0)
18413
- })
18414
- );
18261
+ ), MQ = ie(Fe, { shouldForwardProp: (e) => e !== "open" })(({ theme: e, open: t }) => ({
18262
+ ...e.mixins.toolbar,
18263
+ display: "flex",
18264
+ alignItems: "center",
18265
+ justifyContent: t ? "flex-start" : "center",
18266
+ paddingLeft: e.spacing(t ? 3 : 0)
18267
+ }));
18415
18268
  MQ.propTypes = {
18416
18269
  theme: c.object,
18417
18270
  open: c.bool
@@ -18442,15 +18295,7 @@ const Fg = ({ open: e, logoMain: t, logoIcon: n }) => {
18442
18295
  paddingBottom: A ? { xs: "18px", lg: "0" } : "8px",
18443
18296
  paddingLeft: A ? { xs: "24px", lg: "0" } : e ? "24px" : 0
18444
18297
  },
18445
- children: /* @__PURE__ */ m(
18446
- kQ,
18447
- {
18448
- isIcon: !e,
18449
- sx: { width: e ? "auto" : 35, height: 35 },
18450
- logoMain: t,
18451
- logoIcon: n
18452
- }
18453
- )
18298
+ children: /* @__PURE__ */ m(kQ, { isIcon: !e, sx: { width: e ? "auto" : 35, height: 35 }, logoMain: t, logoIcon: n })
18454
18299
  }
18455
18300
  );
18456
18301
  };
@@ -19682,29 +19527,24 @@ const Y6 = _Q, qE = (e, t) => ({
19682
19527
  width: e.spacing(7.5),
19683
19528
  borderRight: "none",
19684
19529
  boxShadow: e.customShadows.z1
19685
- }), G6 = ie(Y6, { shouldForwardProp: (e) => e !== "open" })(
19686
- ({ theme: e, open: t }) => {
19687
- const { drawerWidth: n } = Zt();
19688
- return {
19689
- width: n,
19690
- flexShrink: 0,
19691
- whiteSpace: "nowrap",
19692
- boxSizing: "border-box",
19693
- ...t && {
19694
- ...qE(e, n),
19695
- "& .MuiDrawer-paper": qE(e, n)
19696
- },
19697
- ...!t && {
19698
- ...JE(e),
19699
- "& .MuiDrawer-paper": JE(e)
19700
- }
19701
- };
19702
- }
19703
- ), qQ = ({ open: e, handleDrawerToggle: t, window: n, logoMain: r, logoIcon: i }) => {
19704
- const s = At(), l = Tn(s.breakpoints.down("lg")), A = n !== void 0 ? () => n().document.body : void 0, d = Je(() => /* @__PURE__ */ m(h6, {}), []), g = Je(
19705
- () => /* @__PURE__ */ m(Fg, { open: e, logoMain: r, logoIcon: i }),
19706
- [e, r, i]
19707
- ), { drawerWidth: f } = Zt();
19530
+ }), G6 = ie(Y6, { shouldForwardProp: (e) => e !== "open" })(({ theme: e, open: t }) => {
19531
+ const { drawerWidth: n } = Zt();
19532
+ return {
19533
+ width: n,
19534
+ flexShrink: 0,
19535
+ whiteSpace: "nowrap",
19536
+ boxSizing: "border-box",
19537
+ ...t && {
19538
+ ...qE(e, n),
19539
+ "& .MuiDrawer-paper": qE(e, n)
19540
+ },
19541
+ ...!t && {
19542
+ ...JE(e),
19543
+ "& .MuiDrawer-paper": JE(e)
19544
+ }
19545
+ };
19546
+ }), qQ = ({ open: e, handleDrawerToggle: t, window: n, logoMain: r, logoIcon: i }) => {
19547
+ const s = At(), l = Tn(s.breakpoints.down("lg")), A = n !== void 0 ? () => n().document.body : void 0, d = Je(() => /* @__PURE__ */ m(h6, {}), []), g = Je(() => /* @__PURE__ */ m(Fg, { open: e, logoMain: r, logoIcon: i }), [e, r, i]), { drawerWidth: f } = Zt();
19708
19548
  return /* @__PURE__ */ m(Fe, { component: "nav", sx: { flexShrink: { md: 0 }, zIndex: 1200 }, "aria-label": "mailbox folders", children: l ? /* @__PURE__ */ ae(
19709
19549
  DR,
19710
19550
  {
@@ -19740,21 +19580,12 @@ qQ.propTypes = {
19740
19580
  logoMain: c.node,
19741
19581
  logoIcon: c.node
19742
19582
  };
19743
- const JQ = ({ name: e, version: t }) => /* @__PURE__ */ m(
19744
- Zn,
19745
- {
19746
- direction: "row",
19747
- justifyContent: "space-between",
19748
- alignItems: "center",
19749
- sx: { p: "24px 16px 0px", mt: "auto" },
19750
- children: /* @__PURE__ */ ae(we, { variant: "caption", children: [
19751
- "© Applica Software Guru for ",
19752
- e,
19753
- " - ",
19754
- t
19755
- ] })
19756
- }
19757
- );
19583
+ const JQ = ({ name: e, version: t }) => /* @__PURE__ */ m(Zn, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { p: "24px 16px 0px", mt: "auto" }, children: /* @__PURE__ */ ae(we, { variant: "caption", children: [
19584
+ "© Applica Software Guru for ",
19585
+ e,
19586
+ " - ",
19587
+ t
19588
+ ] }) });
19758
19589
  JQ.propTypes = {
19759
19590
  name: c.string.isRequired,
19760
19591
  version: c.string.isRequired
@@ -19914,29 +19745,27 @@ process.env.NODE_ENV !== "production" && ($Q.propTypes = {
19914
19745
  */
19915
19746
  sx: c.oneOfType([c.arrayOf(c.oneOfType([c.func, c.object, c.bool])), c.func, c.object])
19916
19747
  });
19917
- const $6 = $Q, XQ = ie($6, { shouldForwardProp: (e) => e !== "open" })(
19918
- ({ theme: e, open: t }) => {
19919
- const { drawerWidth: n } = Zt();
19920
- return {
19921
- zIndex: e.zIndex.drawer + 1,
19748
+ const $6 = $Q, XQ = ie($6, { shouldForwardProp: (e) => e !== "open" })(({ theme: e, open: t }) => {
19749
+ const { drawerWidth: n } = Zt();
19750
+ return {
19751
+ zIndex: e.zIndex.drawer + 1,
19752
+ transition: e.transitions.create(["width", "margin"], {
19753
+ easing: e.transitions.easing.sharp,
19754
+ duration: e.transitions.duration.leavingScreen
19755
+ }),
19756
+ ...!t && {
19757
+ width: `calc(100% - ${e.spacing(7.5)})`
19758
+ },
19759
+ ...t && {
19760
+ marginLeft: n,
19761
+ width: `calc(100% - ${n}px)`,
19922
19762
  transition: e.transitions.create(["width", "margin"], {
19923
19763
  easing: e.transitions.easing.sharp,
19924
- duration: e.transitions.duration.leavingScreen
19925
- }),
19926
- ...!t && {
19927
- width: `calc(100% - ${e.spacing(7.5)})`
19928
- },
19929
- ...t && {
19930
- marginLeft: n,
19931
- width: `calc(100% - ${n}px)`,
19932
- transition: e.transitions.create(["width", "margin"], {
19933
- easing: e.transitions.easing.sharp,
19934
- duration: e.transitions.duration.enteringScreen
19935
- })
19936
- }
19937
- };
19938
- }
19939
- );
19764
+ duration: e.transitions.duration.enteringScreen
19765
+ })
19766
+ }
19767
+ };
19768
+ });
19940
19769
  XQ.propTypes = {
19941
19770
  open: c.bool
19942
19771
  };
@@ -20018,28 +19847,13 @@ const ZQ = () => {
20018
19847
  },
20019
19848
  children: /* @__PURE__ */ m(Di, { onClickAway: l, children: /* @__PURE__ */ m(lr, { elevation: 0, border: !1, content: !1, children: /* @__PURE__ */ m(Hm, { sx: { px: 2.5, pt: 3 }, children: /* @__PURE__ */ ae(xt, { container: !0, justifyContent: "space-between", alignItems: "center", children: [
20020
19849
  /* @__PURE__ */ m(xt, { item: !0, children: /* @__PURE__ */ ae(Zn, { direction: "row", spacing: 1.25, alignItems: "center", children: [
20021
- /* @__PURE__ */ m(
20022
- ud,
20023
- {
20024
- alt: "profile user",
20025
- src: E,
20026
- sx: { width: 32, height: 32 }
20027
- }
20028
- ),
19850
+ /* @__PURE__ */ m(ud, { alt: "profile user", src: E, sx: { width: 32, height: 32 } }),
20029
19851
  /* @__PURE__ */ ae(Zn, { children: [
20030
19852
  /* @__PURE__ */ m(we, { variant: "h6", children: t == null ? void 0 : t.name }),
20031
19853
  /* @__PURE__ */ m(we, { variant: "body2", color: "textSecondary", children: (T = t == null ? void 0 : t.roles) == null ? void 0 : T.map((R) => R.name).join(",") })
20032
19854
  ] })
20033
19855
  ] }) }),
20034
- /* @__PURE__ */ m(xt, { item: !0, children: /* @__PURE__ */ m(za, { title: "Logout", children: /* @__PURE__ */ m(
20035
- Lo,
20036
- {
20037
- size: "large",
20038
- sx: { color: "text.primary" },
20039
- onClick: h,
20040
- children: /* @__PURE__ */ m(lO, {})
20041
- }
20042
- ) }) })
19856
+ /* @__PURE__ */ m(xt, { item: !0, children: /* @__PURE__ */ m(za, { title: "Logout", children: /* @__PURE__ */ m(Lo, { size: "large", sx: { color: "text.primary" }, onClick: h, children: /* @__PURE__ */ m(lO, {}) }) }) })
20043
19857
  ] }) }) }) })
20044
19858
  }
20045
19859
  ) });
@@ -20406,10 +20220,7 @@ const Or = /* @__PURE__ */ Ga(Z6), bc = ({ resource: e, selected: t, notificatio
20406
20220
  i("resources.notifications.messages.readed.error", "warning");
20407
20221
  }
20408
20222
  }
20409
- ), A = ot(() => l(), [l]), [d] = Wl(), g = Je(
20410
- () => Or(n.created).locale(d).fromNow(),
20411
- [n, d]
20412
- );
20223
+ ), A = ot(() => l(), [l]), [d] = Wl(), g = Je(() => Or(n.created).locale(d).fromNow(), [n, d]);
20413
20224
  return /* @__PURE__ */ ae(fn, { children: [
20414
20225
  /* @__PURE__ */ ae(ko, { selected: t, onClick: A, children: [
20415
20226
  /* @__PURE__ */ m(MR, { children: /* @__PURE__ */ m(
@@ -20514,65 +20325,46 @@ const ej = {
20514
20325
  }
20515
20326
  ]
20516
20327
  },
20517
- children: ({ TransitionProps: B }) => /* @__PURE__ */ m(
20518
- jo,
20328
+ children: ({ TransitionProps: B }) => /* @__PURE__ */ m(jo, { type: "grow", position: n ? "top" : "top-right", sx: { overflow: "hidden" }, in: i, ...B, children: /* @__PURE__ */ m(
20329
+ Oi,
20519
20330
  {
20520
- type: "grow",
20521
- position: n ? "top" : "top-right",
20522
- sx: { overflow: "hidden" },
20523
- in: i,
20524
- ...B,
20525
- children: /* @__PURE__ */ m(
20526
- Oi,
20331
+ sx: {
20332
+ boxShadow: t.customShadows.z1,
20333
+ width: "100%",
20334
+ minWidth: 285,
20335
+ maxWidth: 420,
20336
+ [t.breakpoints.down("md")]: {
20337
+ maxWidth: 285
20338
+ }
20339
+ },
20340
+ children: /* @__PURE__ */ m(Di, { onClickAway: A, children: /* @__PURE__ */ m(
20341
+ lr,
20527
20342
  {
20528
- sx: {
20529
- boxShadow: t.customShadows.z1,
20530
- width: "100%",
20531
- minWidth: 285,
20532
- maxWidth: 420,
20533
- [t.breakpoints.down("md")]: {
20534
- maxWidth: 285
20535
- }
20536
- },
20537
- children: /* @__PURE__ */ m(Di, { onClickAway: A, children: /* @__PURE__ */ m(
20538
- lr,
20343
+ title: "Notification",
20344
+ elevation: 0,
20345
+ border: !0,
20346
+ content: !1,
20347
+ secondary: /* @__PURE__ */ m(fn, { children: I > 0 && /* @__PURE__ */ m(za, { title: "Mark as all read", children: /* @__PURE__ */ m(Lo, { color: "success", size: "small", children: /* @__PURE__ */ m(dO, { style: { fontSize: "1.15rem" } }) }) }) }),
20348
+ children: /* @__PURE__ */ m(
20349
+ Sa,
20539
20350
  {
20540
- title: "Notification",
20541
- elevation: 0,
20542
- border: !0,
20543
- content: !1,
20544
- secondary: /* @__PURE__ */ m(fn, { children: I > 0 && /* @__PURE__ */ m(za, { title: "Mark as all read", children: /* @__PURE__ */ m(Lo, { color: "success", size: "small", children: /* @__PURE__ */ m(dO, { style: { fontSize: "1.15rem" } }) }) }) }),
20545
- children: /* @__PURE__ */ m(
20546
- Sa,
20547
- {
20548
- component: "nav",
20549
- sx: {
20550
- p: 0,
20551
- "& .MuiListItemButton-root": {
20552
- py: 0.5,
20553
- "&.Mui-selected": { bgcolor: "grey.50", color: "text.primary" },
20554
- "& .MuiAvatar-root": ej,
20555
- "& .MuiListItemSecondaryAction-root": { ...tj, position: "relative" }
20556
- }
20557
- },
20558
- children: h.map((v) => /* @__PURE__ */ m(
20559
- bc,
20560
- {
20561
- resource: e,
20562
- selected: I > 0,
20563
- notification: v,
20564
- onClick: A
20565
- },
20566
- v.id
20567
- ))
20351
+ component: "nav",
20352
+ sx: {
20353
+ p: 0,
20354
+ "& .MuiListItemButton-root": {
20355
+ py: 0.5,
20356
+ "&.Mui-selected": { bgcolor: "grey.50", color: "text.primary" },
20357
+ "& .MuiAvatar-root": ej,
20358
+ "& .MuiListItemSecondaryAction-root": { ...tj, position: "relative" }
20568
20359
  }
20569
- )
20360
+ },
20361
+ children: h.map((v) => /* @__PURE__ */ m(bc, { resource: e, selected: I > 0, notification: v, onClick: A }, v.id))
20570
20362
  }
20571
- ) })
20363
+ )
20572
20364
  }
20573
- )
20365
+ ) })
20574
20366
  }
20575
- )
20367
+ ) })
20576
20368
  }
20577
20369
  )
20578
20370
  ] });
@@ -20602,24 +20394,9 @@ tv.propTypes = {
20602
20394
  notification: c.string,
20603
20395
  disableNotification: c.bool
20604
20396
  };
20605
- const nv = ({
20606
- open: e,
20607
- logoMain: t,
20608
- logoIcon: n,
20609
- handleDrawerToggle: r,
20610
- notification: i,
20611
- disableNotification: s
20612
- }) => {
20397
+ const nv = ({ open: e, logoMain: t, logoIcon: n, handleDrawerToggle: r, notification: i, disableNotification: s }) => {
20613
20398
  const l = At(), A = Tn(l.breakpoints.down("lg")), { menuOrientation: d, isHorizontalLayout: g } = Zt(), f = g(d) && !A, C = Je(
20614
- () => /* @__PURE__ */ m(
20615
- tv,
20616
- {
20617
- logoMain: t,
20618
- logoIcon: n,
20619
- notification: i,
20620
- disableNotification: s
20621
- }
20622
- ),
20399
+ () => /* @__PURE__ */ m(tv, { logoMain: t, logoIcon: n, notification: i, disableNotification: s }),
20623
20400
  [t, n, i]
20624
20401
  ), h = l.palette.mode === "dark" ? "grey.200" : "grey.300", E = l.palette.mode === "dark" ? "background.default" : "grey.100", I = /* @__PURE__ */ ae(zd, { children: [
20625
20402
  f ? null : /* @__PURE__ */ m(
@@ -20688,15 +20465,7 @@ const rj = () => {
20688
20465
  children: /* @__PURE__ */ m(Km, { maxWidth: t ? "xl" : !1, children: /* @__PURE__ */ m(Fe, { sx: { display: "flex", alignItems: "center" }, children: /* @__PURE__ */ m(b0, {}) }) })
20689
20466
  }
20690
20467
  ) });
20691
- }, rv = ({
20692
- children: e,
20693
- name: t,
20694
- version: n,
20695
- logoMain: r,
20696
- logoIcon: i,
20697
- notification: s,
20698
- disableNotification: l
20699
- }) => {
20468
+ }, rv = ({ children: e, name: t, version: n, logoMain: r, logoIcon: i, notification: s, disableNotification: l }) => {
20700
20469
  const A = At(), { openDrawer: d } = Ar(), { isLoading: g, navigation: f, breadcrumbs: C } = OM(), h = Tn(A.breakpoints.down("xl")), E = Tn(A.breakpoints.down("lg")), { container: I, miniDrawer: B, menuOrientation: v, isHorizontalLayout: T } = Zt(), { drawerOpen: R } = Ar(), w = T(v) && !E, [x, P] = lt(!B || R), L = () => {
20701
20470
  P(!x), d(!x);
20702
20471
  };
@@ -20716,57 +20485,42 @@ const rj = () => {
20716
20485
  disableNotification: l
20717
20486
  }
20718
20487
  ),
20719
- w ? /* @__PURE__ */ m(rj, {}) : /* @__PURE__ */ m(
20720
- qQ,
20721
- {
20722
- open: x,
20723
- handleDrawerToggle: L,
20724
- logoMain: r,
20725
- logoIcon: i
20726
- }
20727
- ),
20728
- /* @__PURE__ */ ae(
20729
- Fe,
20730
- {
20731
- component: "main",
20732
- sx: { width: "calc(100% - 260px)", flexGrow: 1, p: { xs: 0, sm: 2, lg: 1 }, pt: { lg: 2 } },
20733
- children: [
20734
- /* @__PURE__ */ m(zd, { sx: { mt: w ? 8 : "inherit" } }),
20735
- /* @__PURE__ */ ae(
20736
- Km,
20737
- {
20738
- maxWidth: I ? "xl" : !1,
20739
- sx: {
20740
- ...I && { px: { xs: 0, sm: 2 } },
20741
- position: "relative",
20742
- minHeight: "calc(100vh - 110px)",
20743
- display: "flex",
20744
- flexDirection: "column"
20745
- },
20746
- children: [
20747
- !g && /* @__PURE__ */ m(
20748
- ug,
20749
- {
20750
- titleBottom: !0,
20751
- mode: "breadcrumbs",
20752
- navigation: f,
20753
- breadcrumbs: C,
20754
- card: !1,
20755
- divider: !1,
20756
- icon: !0,
20757
- icons: !0,
20758
- home: !1
20759
- }
20760
- ),
20761
- e,
20762
- /* @__PURE__ */ m(oO, {}),
20763
- /* @__PURE__ */ m(JQ, { name: t, version: n })
20764
- ]
20765
- }
20766
- )
20767
- ]
20768
- }
20769
- )
20488
+ w ? /* @__PURE__ */ m(rj, {}) : /* @__PURE__ */ m(qQ, { open: x, handleDrawerToggle: L, logoMain: r, logoIcon: i }),
20489
+ /* @__PURE__ */ ae(Fe, { component: "main", sx: { width: "calc(100% - 260px)", flexGrow: 1, p: { xs: 0, sm: 2, lg: 1 }, pt: { lg: 2 } }, children: [
20490
+ /* @__PURE__ */ m(zd, { sx: { mt: w ? 8 : "inherit" } }),
20491
+ /* @__PURE__ */ ae(
20492
+ Km,
20493
+ {
20494
+ maxWidth: I ? "xl" : !1,
20495
+ sx: {
20496
+ ...I && { px: { xs: 0, sm: 2 } },
20497
+ position: "relative",
20498
+ minHeight: "calc(100vh - 110px)",
20499
+ display: "flex",
20500
+ flexDirection: "column"
20501
+ },
20502
+ children: [
20503
+ !g && /* @__PURE__ */ m(
20504
+ ug,
20505
+ {
20506
+ titleBottom: !0,
20507
+ mode: "breadcrumbs",
20508
+ navigation: f,
20509
+ breadcrumbs: C,
20510
+ card: !1,
20511
+ divider: !1,
20512
+ icon: !0,
20513
+ icons: !0,
20514
+ home: !1
20515
+ }
20516
+ ),
20517
+ e,
20518
+ /* @__PURE__ */ m(oO, {}),
20519
+ /* @__PURE__ */ m(JQ, { name: t, version: n })
20520
+ ]
20521
+ }
20522
+ )
20523
+ ] })
20770
20524
  ] });
20771
20525
  };
20772
20526
  rv.propTypes = {
@@ -21142,20 +20896,10 @@ const Lg = ({ children: e, content: t, title: n, subheader: r, secondary: i, too
21142
20896
  cardSubheader: r !== null ? A(r, { _: r }) : null
21143
20897
  };
21144
20898
  }, [d, r, n, A]);
21145
- return /* @__PURE__ */ m(xt, { item: !0, ...l, children: /* @__PURE__ */ m(
21146
- lr,
21147
- {
21148
- content: t,
21149
- title: g,
21150
- subheader: f,
21151
- secondary: i,
21152
- divider: !0,
21153
- children: /* @__PURE__ */ ae(zo, { children: [
21154
- e,
21155
- s === !0 ? /* @__PURE__ */ m(Yo, { children: /* @__PURE__ */ m(Ul, {}) }) : s
21156
- ] })
21157
- }
21158
- ) });
20899
+ return /* @__PURE__ */ m(xt, { item: !0, ...l, children: /* @__PURE__ */ m(lr, { content: t, title: g, subheader: f, secondary: i, divider: !0, children: /* @__PURE__ */ ae(zo, { children: [
20900
+ e,
20901
+ s === !0 ? /* @__PURE__ */ m(Yo, { children: /* @__PURE__ */ m(Ul, {}) }) : s
20902
+ ] }) }) });
21159
20903
  };
21160
20904
  Lg.defaultProps = {
21161
20905
  ...xt.defaultProps,
@@ -21645,12 +21389,7 @@ Vg.defaultProps = {
21645
21389
  tabs: /* @__PURE__ */ m(cv, {})
21646
21390
  };
21647
21391
  const Fj = () => {
21648
- const e = Ni(), t = [
21649
- "entities/:resource/create/*",
21650
- ":resource/create/*",
21651
- "entities/:resource/:id/*",
21652
- ":resource/:id/*"
21653
- ];
21392
+ const e = Ni(), t = ["entities/:resource/create/*", ":resource/create/*", "entities/:resource/:id/*", ":resource/:id/*"];
21654
21393
  for (const n of t) {
21655
21394
  const r = iO(n, e.pathname);
21656
21395
  if (r)
@@ -23353,13 +23092,7 @@ jv.propTypes = {
23353
23092
  onClose: c.func
23354
23093
  };
23355
23094
  const Vv = ({ fullWidth: e, maxWidth: t, label: n, ...r }) => {
23356
- const [i, s] = lt(!1), { openDialog: l, closeDialog: A } = Vi(), d = Sn(), g = ot(
23357
- () => l(d, () => s(!0)),
23358
- [l, d]
23359
- ), f = ot(
23360
- () => A(d, () => s(!1)),
23361
- [A, d]
23362
- );
23095
+ const [i, s] = lt(!1), { openDialog: l, closeDialog: A } = Vi(), d = Sn(), g = ot(() => l(d, () => s(!0)), [l, d]), f = ot(() => A(d, () => s(!1)), [A, d]);
23363
23096
  return /* @__PURE__ */ ae(fn, { children: [
23364
23097
  /* @__PURE__ */ m(oo, { label: n, onClick: g, children: /* @__PURE__ */ m(XR, {}) }),
23365
23098
  /* @__PURE__ */ m(_m, { open: i, onClose: f, fullWidth: e, maxWidth: t, children: /* @__PURE__ */ m(jv, { ...r, onClose: f }) })
@@ -23604,10 +23337,7 @@ var V9 = Uv.exports;
23604
23337
  const H9 = /* @__PURE__ */ Ga(V9);
23605
23338
  Or.extend(H9);
23606
23339
  const of = (e) => {
23607
- const t = Yt(e), [n] = Wl(), r = Je(
23608
- () => Or(st.get(t, e == null ? void 0 : e.source)).locale(n).fromNow(),
23609
- [t, e == null ? void 0 : e.source, n]
23610
- );
23340
+ const t = Yt(e), [n] = Wl(), r = Je(() => Or(st.get(t, e == null ? void 0 : e.source)).locale(n).fromNow(), [t, e == null ? void 0 : e.source, n]);
23611
23341
  return /* @__PURE__ */ ae(zo, { children: [
23612
23342
  /* @__PURE__ */ m(Ha, { record: t, source: e.source, showTime: !0 }),
23613
23343
  /* @__PURE__ */ m("br", {}),
@@ -24265,31 +23995,16 @@ sb.propTypes = {
24265
23995
  sb.defaultProps = {
24266
23996
  ...kd.defaultProps
24267
23997
  };
24268
- const lb = ({ reference: e, target: t, children: n, filters: r, actions: i, ...s }) => /* @__PURE__ */ m(IR, { value: e, children: /* @__PURE__ */ m(
24269
- rs,
24270
- {
24271
- perPage: 5,
24272
- pagination: /* @__PURE__ */ m(BR, {}),
24273
- ...s,
24274
- reference: e,
24275
- target: t,
24276
- children: /* @__PURE__ */ ae(zo, { children: [
24277
- /* @__PURE__ */ m(QR, { filters: r, actions: i }),
24278
- n
24279
- ] })
24280
- }
24281
- ) });
23998
+ const lb = ({ reference: e, target: t, children: n, filters: r, actions: i, ...s }) => /* @__PURE__ */ m(IR, { value: e, children: /* @__PURE__ */ m(rs, { perPage: 5, pagination: /* @__PURE__ */ m(BR, {}), ...s, reference: e, target: t, children: /* @__PURE__ */ ae(zo, { children: [
23999
+ /* @__PURE__ */ m(QR, { filters: r, actions: i }),
24000
+ n
24001
+ ] }) }) });
24282
24002
  lb.propTypes = {
24283
24003
  ...rs.propTypes,
24284
24004
  children: c.node.isRequired,
24285
24005
  reference: c.string.isRequired,
24286
24006
  target: c.string.isRequired,
24287
- filters: c.oneOfType([
24288
- c.element,
24289
- c.func,
24290
- c.element,
24291
- c.arrayOf(c.node)
24292
- ]),
24007
+ filters: c.oneOfType([c.element, c.func, c.element, c.arrayOf(c.node)]),
24293
24008
  actions: c.oneOfType([c.element, c.func, c.element])
24294
24009
  };
24295
24010
  lb.defaultProps = {
@@ -24373,16 +24088,16 @@ lf.propTypes = {
24373
24088
  };
24374
24089
  const lU = (e) => {
24375
24090
  const t = e.split(":");
24376
- return t.length === 1 && t.push("00"), Or().hour(t[0]).minute(t[1]);
24091
+ t.length === 1 && t.push("00");
24092
+ const n = parseInt(t[0]), r = parseInt(t[1]);
24093
+ return Or().hour(n).minute(r);
24377
24094
  };
24378
24095
  function E7() {
24379
- var e = (/* @__PURE__ */ new Date()).getTime();
24380
- window.performance && typeof window.performance.now == "function" && (e += performance.now());
24381
- var t = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(n) {
24382
- var r = (e + Math.random() * 16) % 16 | 0;
24096
+ let e = (/* @__PURE__ */ new Date()).getTime();
24097
+ return window.performance && typeof window.performance.now == "function" && (e += performance.now()), "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(n) {
24098
+ const r = (e + Math.random() * 16) % 16 | 0;
24383
24099
  return e = Math.floor(e / 16), (n == "x" ? r : r & 3 | 8).toString(16);
24384
24100
  });
24385
- return t;
24386
24101
  }
24387
24102
  const cU = (e) => {
24388
24103
  if (!e)
@@ -24570,15 +24285,7 @@ const CU = () => {
24570
24285
  ), f = ot(() => {
24571
24286
  d();
24572
24287
  }, [d]);
24573
- return /* @__PURE__ */ m(
24574
- oo,
24575
- {
24576
- label: "ra.notification.mark_as_readed",
24577
- disabled: g || (l == null ? void 0 : l.readed) !== null,
24578
- onClick: f,
24579
- children: /* @__PURE__ */ m(tO, {})
24580
- }
24581
- );
24288
+ return /* @__PURE__ */ m(oo, { label: "ra.notification.mark_as_readed", disabled: g || (l == null ? void 0 : l.readed) !== null, onClick: f, children: /* @__PURE__ */ m(tO, {}) });
24582
24289
  }, EU = () => {
24583
24290
  const e = km(), t = Fi(), n = Fm(), { selectedIds: r, data: i } = Nm(), s = Yt(), l = Sn(), A = r.map((C) => i.find((h) => h.id === C)).concat([s]), [d, { isLoading: g }] = Lm(
24584
24291
  l,
@@ -25288,30 +24995,8 @@ const NU = (e, t) => {
25288
24995
  A700: n[14],
25289
24996
  A800: n[16]
25290
24997
  }, i = "#fff";
25291
- let s = [
25292
- "#D6E4FF",
25293
- "#D6E4FF",
25294
- "#ADC8FF",
25295
- "#84A9FF",
25296
- "#6690FF",
25297
- "#3366FF",
25298
- "#254EDB",
25299
- "#1939B7",
25300
- "#102693",
25301
- "#102693"
25302
- ], l = ["#FFE7D3", "#FF805D", "#FF4528", "#DB271D", "#930C1A"], A = ["#FFF6D0", "#FFCF4E", "#FFB814", "#DB970E", "#935B06"], d = ["#DCF0FF", "#7EB9FF", "#549BFF", "#3D78DB", "#1A3D93"], g = ["#EAFCD4", "#8AE65B", "#58D62A", "#3DB81E", "#137C0D"];
25303
- return t === "dark" && (s = [
25304
- "#1c2134",
25305
- "#1f294d",
25306
- "#243462",
25307
- "#273e83",
25308
- "#2c4db0",
25309
- "#305bdd",
25310
- "#567fe9",
25311
- "#80a4f4",
25312
- "#a9c5f8",
25313
- "#d2e2fb"
25314
- ], l = ["#341d1b", "#b03725", "#dd3f27", "#e9664d", "#fbd6c9"], A = ["#342a1a", "#83631a", "#dda116", "#e9ba3a", "#fbefb5"], d = ["#202734", "#416fb0", "#4c88dd", "#74a8e9", "#ecf4fb"], g = ["#1f2e1c", "#449626", "#4fba28", "#74cf4d", "#e3fbd2"]), {
24998
+ let s = ["#D6E4FF", "#D6E4FF", "#ADC8FF", "#84A9FF", "#6690FF", "#3366FF", "#254EDB", "#1939B7", "#102693", "#102693"], l = ["#FFE7D3", "#FF805D", "#FF4528", "#DB271D", "#930C1A"], A = ["#FFF6D0", "#FFCF4E", "#FFB814", "#DB970E", "#935B06"], d = ["#DCF0FF", "#7EB9FF", "#549BFF", "#3D78DB", "#1A3D93"], g = ["#EAFCD4", "#8AE65B", "#58D62A", "#3DB81E", "#137C0D"];
24999
+ return t === "dark" && (s = ["#1c2134", "#1f294d", "#243462", "#273e83", "#2c4db0", "#305bdd", "#567fe9", "#80a4f4", "#a9c5f8", "#d2e2fb"], l = ["#341d1b", "#b03725", "#dd3f27", "#e9664d", "#fbd6c9"], A = ["#342a1a", "#83631a", "#dda116", "#e9ba3a", "#fbefb5"], d = ["#202734", "#416fb0", "#4c88dd", "#74a8e9", "#ecf4fb"], g = ["#1f2e1c", "#449626", "#4fba28", "#74cf4d", "#e3fbd2"]), {
25315
25000
  primary: {
25316
25001
  lighter: s[0],
25317
25002
  100: s[1],
@@ -25395,30 +25080,8 @@ const NU = (e, t) => {
25395
25080
  A700: n[14],
25396
25081
  A800: n[16]
25397
25082
  }, i = "#fff";
25398
- let s = [
25399
- "#EEEDFC",
25400
- "#D5D1F8",
25401
- "#B9B2F3",
25402
- "#9C93EE",
25403
- "#877CEA",
25404
- "#7265E6",
25405
- "#6A5DE3",
25406
- "#5F53DF",
25407
- "#5549DB",
25408
- "#4237D5"
25409
- ], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
25410
- return t === "dark" && (s = [
25411
- "#222130",
25412
- "#2b2946",
25413
- "#37335a",
25414
- "#443e78",
25415
- "#554ca0",
25416
- "#655ac8",
25417
- "#9186dd",
25418
- "#5F53DF",
25419
- "#c3baf4",
25420
- "#efecfb"
25421
- ], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
25083
+ let s = ["#EEEDFC", "#D5D1F8", "#B9B2F3", "#9C93EE", "#877CEA", "#7265E6", "#6A5DE3", "#5F53DF", "#5549DB", "#4237D5"], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
25084
+ return t === "dark" && (s = ["#222130", "#2b2946", "#37335a", "#443e78", "#554ca0", "#655ac8", "#9186dd", "#5F53DF", "#c3baf4", "#efecfb"], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
25422
25085
  primary: {
25423
25086
  lighter: s[0],
25424
25087
  100: s[1],
@@ -25502,30 +25165,8 @@ const NU = (e, t) => {
25502
25165
  A700: n[14],
25503
25166
  A800: n[16]
25504
25167
  }, i = "#fff";
25505
- let s = [
25506
- "#E6F3EC",
25507
- "#84c297",
25508
- "#5eb57d",
25509
- "#3da866",
25510
- "#1f9c53",
25511
- "#068e44",
25512
- "#006933",
25513
- "#004222",
25514
- "#001c0f",
25515
- "#000000"
25516
- ], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
25517
- return t === "dark" && (s = [
25518
- "#1a231f",
25519
- "#173123",
25520
- "#174029",
25521
- "#13502f",
25522
- "#0e6737",
25523
- "#0a7d3e",
25524
- "#1f8f4e",
25525
- "#3ba162",
25526
- "#5cb07a",
25527
- "#82bf95"
25528
- ], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
25168
+ let s = ["#E6F3EC", "#84c297", "#5eb57d", "#3da866", "#1f9c53", "#068e44", "#006933", "#004222", "#001c0f", "#000000"], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
25169
+ return t === "dark" && (s = ["#1a231f", "#173123", "#174029", "#13502f", "#0e6737", "#0a7d3e", "#1f8f4e", "#3ba162", "#5cb07a", "#82bf95"], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
25529
25170
  primary: {
25530
25171
  lighter: s[0],
25531
25172
  100: s[1],
@@ -25609,30 +25250,8 @@ const NU = (e, t) => {
25609
25250
  A700: n[14],
25610
25251
  A800: n[16]
25611
25252
  }, i = "#fff";
25612
- let s = [
25613
- "#f0f6ff",
25614
- "#edf4ff",
25615
- "#bed3f7",
25616
- "#8faeeb",
25617
- "#6488de",
25618
- "#3c64d0",
25619
- "#2947ab",
25620
- "#192f85",
25621
- "#0d1b5e",
25622
- "#070e38"
25623
- ], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
25624
- return t === "dark" && (s = [
25625
- "#1d212d",
25626
- "#212841",
25627
- "#273353",
25628
- "#2c3e6e",
25629
- "#324c92",
25630
- "#385ab5",
25631
- "#5d7dcb",
25632
- "#89a7e1",
25633
- "#b9cef0",
25634
- "#e9f0fb"
25635
- ], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
25253
+ let s = ["#f0f6ff", "#edf4ff", "#bed3f7", "#8faeeb", "#6488de", "#3c64d0", "#2947ab", "#192f85", "#0d1b5e", "#070e38"], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
25254
+ return t === "dark" && (s = ["#1d212d", "#212841", "#273353", "#2c3e6e", "#324c92", "#385ab5", "#5d7dcb", "#89a7e1", "#b9cef0", "#e9f0fb"], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
25636
25255
  primary: {
25637
25256
  lighter: s[0],
25638
25257
  100: s[1],
@@ -25716,30 +25335,8 @@ const NU = (e, t) => {
25716
25335
  A700: n[14],
25717
25336
  A800: n[16]
25718
25337
  }, i = "#fff";
25719
- let s = [
25720
- "#fff4e6",
25721
- "#ffdfb8",
25722
- "#ffc98f",
25723
- "#ffb066",
25724
- "#ff943d",
25725
- "#f27013",
25726
- "#cc5206",
25727
- "#a63a00",
25728
- "#802800",
25729
- "#591900"
25730
- ], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
25731
- return t === "dark" && (s = [
25732
- "#32221a",
25733
- "#4a2b18",
25734
- "#5e371b",
25735
- "#7d4319",
25736
- "#a85317",
25737
- "#d26415",
25738
- "#e9883a",
25739
- "#f4a962",
25740
- "#f8c48c",
25741
- "#fbdbb5"
25742
- ], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
25338
+ let s = ["#fff4e6", "#ffdfb8", "#ffc98f", "#ffb066", "#ff943d", "#f27013", "#cc5206", "#a63a00", "#802800", "#591900"], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
25339
+ return t === "dark" && (s = ["#32221a", "#4a2b18", "#5e371b", "#7d4319", "#a85317", "#d26415", "#e9883a", "#f4a962", "#f8c48c", "#fbdbb5"], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
25743
25340
  primary: {
25744
25341
  lighter: s[0],
25745
25342
  100: s[1],
@@ -25823,30 +25420,8 @@ const NU = (e, t) => {
25823
25420
  A700: n[14],
25824
25421
  A800: n[16]
25825
25422
  }, i = "#fff";
25826
- let s = [
25827
- "#e1f0ef",
25828
- "#c8e3e2",
25829
- "#9ad6d6",
25830
- "#71c6c9",
25831
- "#4bb5bd",
25832
- "#2aa1af",
25833
- "#1a7b8a",
25834
- "#0e5563",
25835
- "#06323d",
25836
- "#021217"
25837
- ], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
25838
- return t === "dark" && (s = [
25839
- "#1c2628",
25840
- "#1d3539",
25841
- "#22454a",
25842
- "#23595f",
25843
- "#26737c",
25844
- "#288d99",
25845
- "#47a6ad",
25846
- "#6dbec0",
25847
- "#96d0d0",
25848
- "#c5dfde"
25849
- ], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
25423
+ let s = ["#e1f0ef", "#c8e3e2", "#9ad6d6", "#71c6c9", "#4bb5bd", "#2aa1af", "#1a7b8a", "#0e5563", "#06323d", "#021217"], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
25424
+ return t === "dark" && (s = ["#1c2628", "#1d3539", "#22454a", "#23595f", "#26737c", "#288d99", "#47a6ad", "#6dbec0", "#96d0d0", "#c5dfde"], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
25850
25425
  primary: {
25851
25426
  lighter: s[0],
25852
25427
  100: s[1],
@@ -25930,30 +25505,8 @@ const NU = (e, t) => {
25930
25505
  A700: n[14],
25931
25506
  A800: n[16]
25932
25507
  }, i = "#fff";
25933
- let s = [
25934
- "#d1e8d99c",
25935
- "#8cdba9",
25936
- "#63cf8e",
25937
- "#3ec277",
25938
- "#1db564",
25939
- "#00a854",
25940
- "#008245",
25941
- "#005c34",
25942
- "#003620",
25943
- "#000f0a"
25944
- ], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
25945
- return t === "dark" && (s = [
25946
- "#1a2721",
25947
- "#173728",
25948
- "#15472e",
25949
- "#115c36",
25950
- "#0b7841",
25951
- "#05934c",
25952
- "#1da65d",
25953
- "#3cba73",
25954
- "#61ca8b",
25955
- "#8ad7a6"
25956
- ], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
25508
+ let s = ["#d1e8d99c", "#8cdba9", "#63cf8e", "#3ec277", "#1db564", "#00a854", "#008245", "#005c34", "#003620", "#000f0a"], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
25509
+ return t === "dark" && (s = ["#1a2721", "#173728", "#15472e", "#115c36", "#0b7841", "#05934c", "#1da65d", "#3cba73", "#61ca8b", "#8ad7a6"], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
25957
25510
  primary: {
25958
25511
  lighter: s[0],
25959
25512
  100: s[1],
@@ -26037,30 +25590,8 @@ const NU = (e, t) => {
26037
25590
  A700: n[14],
26038
25591
  A800: n[16]
26039
25592
  }, i = "#fff";
26040
- let s = [
26041
- "#c1d6d066",
26042
- "#81c9b9",
26043
- "#5bbda9",
26044
- "#38b09c",
26045
- "#1aa391",
26046
- "#009688",
26047
- "#007069",
26048
- "#004a47",
26049
- "#002424",
26050
- "#000000"
26051
- ], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
26052
- return t === "dark" && (s = [
26053
- "#1a2524",
26054
- "#173331",
26055
- "#15423e",
26056
- "#11544e",
26057
- "#0b6c63",
26058
- "#058478",
26059
- "#1a9686",
26060
- "#37a996",
26061
- "#59b8a5",
26062
- "#7fc6b6"
26063
- ], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
25593
+ let s = ["#c1d6d066", "#81c9b9", "#5bbda9", "#38b09c", "#1aa391", "#009688", "#007069", "#004a47", "#002424", "#000000"], l = ["#FDE8E7", "#F25E52", "#F04134", "#EE3B2F", "#E92A21"], A = ["#FFF7E0", "#FFC926", "#FFBF00", "#FFB900", "#FFA900"], d = ["#E0F4F5", "#26B0BA", "#00A2AE", "#009AA7", "#008694"], g = ["#E0F5EA", "#26B56E", "#00A854", "#00A04D", "#008D3A"];
25594
+ return t === "dark" && (s = ["#1a2524", "#173331", "#15423e", "#11544e", "#0b6c63", "#058478", "#1a9686", "#37a996", "#59b8a5", "#7fc6b6"], l = ["#321d1d", "#7d2e28", "#d13c31", "#e66859", "#f8baaf"], A = ["#342c1a", "#836611", "#dda705", "#e9bf28", "#f8e577"], d = ["#1a2628", "#11595f", "#058e98", "#1ea6aa", "#64cfcb"], g = ["#1a2721", "#115c36", "#05934c", "#1da65d", "#61ca8b"]), {
26064
25595
  primary: {
26065
25596
  lighter: s[0],
26066
25597
  100: s[1],
@@ -26165,19 +25696,7 @@ const YU = (e, t) => {
26165
25696
  "#141414",
26166
25697
  "#000000"
26167
25698
  ], i = ["#fafafa", "#bfbfbf", "#434343", "#1f1f1f"], s = ["#fafafb", "#e6ebf1"];
26168
- e === "dark" && (r = [
26169
- "#000000",
26170
- "#141414",
26171
- "#1e1e1e",
26172
- "#595959",
26173
- "#8c8c8c",
26174
- "#bfbfbf",
26175
- "#d9d9d9",
26176
- "#f0f0f0",
26177
- "#f5f5f5",
26178
- "#fafafa",
26179
- "#ffffff"
26180
- ], i = ["#fafafa", "#bfbfbf", "#434343", "#1f1f1f"], s = ["#121212", "#d3d8db"]), n.grey = [...r, ...i, ...s];
25699
+ e === "dark" && (r = ["#000000", "#141414", "#1e1e1e", "#595959", "#8c8c8c", "#bfbfbf", "#d9d9d9", "#f0f0f0", "#f5f5f5", "#fafafa", "#ffffff"], i = ["#fafafa", "#bfbfbf", "#434343", "#1f1f1f"], s = ["#121212", "#d3d8db"]), n.grey = [...r, ...i, ...s];
26181
25700
  const l = Eb(n, t, e);
26182
25701
  return ng({
26183
25702
  palette: {
@@ -28103,11 +27622,7 @@ const HY = ({ apiUrl: e, endpoint: t, locale: n, message: r, bodyBuilder: i }) =
28103
27622
  }, [e, s, r, i, n, t]), !0;
28104
27623
  };
28105
27624
  window.React = ve;
28106
- const GY = ({
28107
- apiUrl: e,
28108
- endpoint: t = "/languages/load",
28109
- mapper: n = ({ data: r }) => ({ data: r })
28110
- }) => {
27625
+ const GY = ({ apiUrl: e, endpoint: t = "/languages/load", mapper: n = ({ data: r }) => ({ data: r }) }) => {
28111
27626
  const [r, i] = ve.useState({ loading: !0, languages: null });
28112
27627
  return ve.useEffect(() => {
28113
27628
  let s = new Headers();
@@ -28438,3 +27953,4 @@ export {
28438
27953
  SG as useUpdateMany,
28439
27954
  E7 as uuid
28440
27955
  };
27956
+ //# sourceMappingURL=react-admin.es.js.map