@gen-epix/ui-client-common 4.3.2 → 4.4.0

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 (361) hide show
  1. package/README.md +9 -10
  2. package/dist/@types/mui.d.ts +1 -1
  3. package/dist/_chunks/ApplicationFooter.js +49 -49
  4. package/dist/_chunks/ApplicationFooter.js.map +1 -1
  5. package/dist/_chunks/Breadcrumbs.js +23 -22
  6. package/dist/_chunks/Breadcrumbs.js.map +1 -1
  7. package/dist/_chunks/CrudPage.js +211 -210
  8. package/dist/_chunks/CrudPage.js.map +1 -1
  9. package/dist/_chunks/GeoFilter.js.map +1 -1
  10. package/dist/_chunks/Notifications.js +67 -66
  11. package/dist/_chunks/Notifications.js.map +1 -1
  12. package/dist/_chunks/OutageList.js +30 -30
  13. package/dist/_chunks/OutageList.js.map +1 -1
  14. package/dist/_chunks/OutageUtil.js +2 -2
  15. package/dist/_chunks/OutageUtil.js.map +1 -1
  16. package/dist/_chunks/QueryClientProvider.js +1 -1
  17. package/dist/_chunks/QueryClientProvider.js.map +1 -1
  18. package/dist/_chunks/QueryClientService.js +405 -115
  19. package/dist/_chunks/QueryClientService.js.map +1 -1
  20. package/dist/_chunks/Reflect.js +642 -0
  21. package/dist/_chunks/Reflect.js.map +1 -0
  22. package/dist/_chunks/Table.js +572 -574
  23. package/dist/_chunks/Table.js.map +1 -1
  24. package/dist/_chunks/TableUtil.js +5 -5
  25. package/dist/_chunks/TableUtil.js.map +1 -1
  26. package/dist/_chunks/TextFilter.js +1 -1
  27. package/dist/_chunks/TextFilter.js.map +1 -1
  28. package/dist/_chunks/UserInvitationsAdminPage.js +109 -107
  29. package/dist/_chunks/UserInvitationsAdminPage.js.map +1 -1
  30. package/dist/_chunks/UserManagerUtil.js +7 -15
  31. package/dist/_chunks/UserManagerUtil.js.map +1 -1
  32. package/dist/_chunks/_baseAssignValue.js.map +1 -1
  33. package/dist/_chunks/_baseFlatten.js +8 -8
  34. package/dist/_chunks/_baseFlatten.js.map +1 -1
  35. package/dist/_chunks/_baseUnset.js +299 -22
  36. package/dist/_chunks/_baseUnset.js.map +1 -1
  37. package/dist/_chunks/_cacheHas.js.map +1 -1
  38. package/dist/_chunks/_setToString.js.map +1 -1
  39. package/dist/_chunks/decorate.js +9 -0
  40. package/dist/_chunks/decorateParam.js +8 -0
  41. package/dist/_chunks/format.js.map +1 -1
  42. package/dist/_chunks/isArrayLike.js.map +1 -1
  43. package/dist/_chunks/isObject.js.map +1 -1
  44. package/dist/_chunks/isSymbol.js.map +1 -1
  45. package/dist/_chunks/middleware.js +1 -1
  46. package/dist/_chunks/middleware.js.map +1 -1
  47. package/dist/_chunks/omit.js +39 -40
  48. package/dist/_chunks/omit.js.map +1 -1
  49. package/dist/_chunks/query.js +13 -17
  50. package/dist/_chunks/query.js.map +1 -1
  51. package/dist/_chunks/react.js +1 -1
  52. package/dist/_chunks/react.js.map +1 -1
  53. package/dist/_chunks/tableStore.js +40 -54
  54. package/dist/_chunks/tableStore.js.map +1 -1
  55. package/dist/_chunks/toDate.js.map +1 -1
  56. package/dist/_chunks/useColumnsMenu.js +2 -2
  57. package/dist/_chunks/useColumnsMenu.js.map +1 -1
  58. package/dist/_chunks/useMutation.js +31 -30
  59. package/dist/_chunks/useMutation.js.map +1 -1
  60. package/dist/_chunks/useQueryMemo.js +5 -5
  61. package/dist/_chunks/useQueryMemo.js.map +1 -1
  62. package/dist/_chunks/vanilla.js +1 -1
  63. package/dist/_chunks/vanilla.js.map +1 -1
  64. package/dist/_chunks/yup.js +2 -2
  65. package/dist/_chunks/yup.js.map +1 -1
  66. package/dist/classes/TableEventBus/TableEventBus.d.ts +1 -1
  67. package/dist/classes/TableEventBus/index.js.map +1 -1
  68. package/dist/classes/abstracts/FilterAbstract/index.js.map +1 -1
  69. package/dist/classes/containers/UiClientCommonContainer/UiClientCommonContainer.d.ts +5 -0
  70. package/dist/classes/containers/UiClientCommonContainer/index.d.ts +1 -0
  71. package/dist/classes/containers/UiClientCommonContainer/index.js +17 -0
  72. package/dist/classes/containers/UiClientCommonContainer/index.js.map +1 -0
  73. package/dist/classes/filters/BooleanFilter.d.ts +1 -1
  74. package/dist/classes/filters/DateFilter.d.ts +2 -2
  75. package/dist/classes/filters/GeoFilter.d.ts +2 -2
  76. package/dist/classes/filters/MultiSelectFilter.d.ts +2 -2
  77. package/dist/classes/filters/NumberRangeFilter.d.ts +1 -1
  78. package/dist/classes/filters/TextFilter.d.ts +1 -1
  79. package/dist/classes/services/AuthenticationService/AuthenticationService.d.ts +5 -3
  80. package/dist/classes/services/AuthenticationService/index.js +34 -661
  81. package/dist/classes/services/AuthenticationService/index.js.map +1 -1
  82. package/dist/classes/services/AuthorizationService/AuthorizationService.d.ts +4 -4
  83. package/dist/classes/services/AuthorizationService/index.js +12 -10
  84. package/dist/classes/services/AuthorizationService/index.js.map +1 -1
  85. package/dist/classes/services/BackendVersionService/BackendVersionService.d.ts +0 -3
  86. package/dist/classes/services/BackendVersionService/index.js +5 -8
  87. package/dist/classes/services/BackendVersionService/index.js.map +1 -1
  88. package/dist/classes/services/BreadcrumbService/BreadcrumbService.d.ts +1 -3
  89. package/dist/classes/services/BreadcrumbService/index.js +19 -21
  90. package/dist/classes/services/BreadcrumbService/index.js.map +1 -1
  91. package/dist/classes/services/EmotionCacheService/EmotionCacheService.d.ts +4 -4
  92. package/dist/classes/services/EmotionCacheService/index.js +17 -14
  93. package/dist/classes/services/EmotionCacheService/index.js.map +1 -1
  94. package/dist/classes/services/FeatureFlagsService/FeatureFlagsService.d.ts +0 -3
  95. package/dist/classes/services/FeatureFlagsService/index.js +5 -8
  96. package/dist/classes/services/FeatureFlagsService/index.js.map +1 -1
  97. package/dist/classes/services/I18nService/I18nService.d.ts +3 -3
  98. package/dist/classes/services/I18nService/index.js +25 -29
  99. package/dist/classes/services/I18nService/index.js.map +1 -1
  100. package/dist/classes/services/InactivityService/InactivityService.d.ts +6 -3
  101. package/dist/classes/services/InactivityService/index.js +42 -36
  102. package/dist/classes/services/InactivityService/index.js.map +1 -1
  103. package/dist/classes/services/LogService/LogService.d.ts +7 -4
  104. package/dist/classes/services/LogService/index.js +39 -32
  105. package/dist/classes/services/LogService/index.js.map +1 -1
  106. package/dist/classes/services/NavigationHistoryService/NavigationHistoryService.d.ts +0 -3
  107. package/dist/classes/services/NavigationHistoryService/index.js +5 -8
  108. package/dist/classes/services/NavigationHistoryService/index.js.map +1 -1
  109. package/dist/classes/services/NotificationService/NotificationService.d.ts +4 -4
  110. package/dist/classes/services/NotificationService/index.js +21 -21
  111. package/dist/classes/services/NotificationService/index.js.map +1 -1
  112. package/dist/classes/services/PageEventBusService/PageEventBusService.d.ts +4 -3
  113. package/dist/classes/services/PageEventBusService/index.js +18 -15
  114. package/dist/classes/services/PageEventBusService/index.js.map +1 -1
  115. package/dist/classes/services/QueryClientService/QueryClientService.d.ts +6 -7
  116. package/dist/classes/services/QueryClientService/index.js +1 -2
  117. package/dist/classes/services/RouterService/RouterService.d.ts +6 -9
  118. package/dist/classes/services/RouterService/index.js +8 -12
  119. package/dist/classes/services/RouterService/index.js.map +1 -1
  120. package/dist/classes/services/UserSettingsService/UserSettingsService.d.ts +0 -3
  121. package/dist/classes/services/UserSettingsService/index.js +5 -8
  122. package/dist/classes/services/UserSettingsService/index.js.map +1 -1
  123. package/dist/components/app/App/App.d.ts +5 -1
  124. package/dist/components/app/App/index.js +31 -37
  125. package/dist/components/app/App/index.js.map +1 -1
  126. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js +50 -49
  127. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js.map +1 -1
  128. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js +42 -41
  129. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js.map +1 -1
  130. package/dist/components/app/AuthenticationWrapper/index.js +68 -67
  131. package/dist/components/app/AuthenticationWrapper/index.js.map +1 -1
  132. package/dist/components/app/AuthorizationWrapper/index.js +33 -32
  133. package/dist/components/app/AuthorizationWrapper/index.js.map +1 -1
  134. package/dist/components/app/RouterRoot/index.js +62 -61
  135. package/dist/components/app/RouterRoot/index.js.map +1 -1
  136. package/dist/components/epi/EpiContactDetailsDialog/index.js +38 -37
  137. package/dist/components/epi/EpiContactDetailsDialog/index.js.map +1 -1
  138. package/dist/components/filters/BooleanFilterField/index.js +5 -5
  139. package/dist/components/filters/BooleanFilterField/index.js.map +1 -1
  140. package/dist/components/filters/DateFilterField/index.js +3 -3
  141. package/dist/components/filters/DateFilterField/index.js.map +1 -1
  142. package/dist/components/filters/GeoFilterField/index.js +4 -4
  143. package/dist/components/filters/GeoFilterField/index.js.map +1 -1
  144. package/dist/components/filters/MultiSelectFilterField/index.js +4 -4
  145. package/dist/components/filters/MultiSelectFilterField/index.js.map +1 -1
  146. package/dist/components/filters/NumberRangeFilterField/index.js +3 -3
  147. package/dist/components/filters/NumberRangeFilterField/index.js.map +1 -1
  148. package/dist/components/filters/TextFilterField/index.js +3 -3
  149. package/dist/components/filters/TextFilterField/index.js.map +1 -1
  150. package/dist/components/ui/ApplicationBar/index.js +242 -241
  151. package/dist/components/ui/ApplicationBar/index.js.map +1 -1
  152. package/dist/components/ui/ApplicationFooter/index.js +1 -2
  153. package/dist/components/ui/Breadcrumbs/Breadcrumb.d.ts +1 -1
  154. package/dist/components/ui/Breadcrumbs/index.js +1 -2
  155. package/dist/components/ui/ConsentDialog/index.js +11 -6
  156. package/dist/components/ui/ConsentDialog/index.js.map +1 -1
  157. package/dist/components/ui/GenericErrorMessage/index.js +51 -50
  158. package/dist/components/ui/GenericErrorMessage/index.js.map +1 -1
  159. package/dist/components/ui/LicensesDialog/index.js +66 -69
  160. package/dist/components/ui/LicensesDialog/index.js.map +1 -1
  161. package/dist/components/ui/MyPermissionsDialog/index.js +26 -25
  162. package/dist/components/ui/MyPermissionsDialog/index.js.map +1 -1
  163. package/dist/components/ui/NavLink/index.js +6 -6
  164. package/dist/components/ui/NavLink/index.js.map +1 -1
  165. package/dist/components/ui/Notifications/NotificationItem.d.ts +1 -1
  166. package/dist/components/ui/Notifications/index.js +1 -2
  167. package/dist/components/ui/OrganizationSwitcherDialog/index.js +69 -76
  168. package/dist/components/ui/OrganizationSwitcherDialog/index.js.map +1 -1
  169. package/dist/components/ui/OutageList/index.js +1 -2
  170. package/dist/components/ui/OutagesDialog/index.js.map +1 -1
  171. package/dist/components/ui/PageContainer/PageContainer.d.ts +1 -1
  172. package/dist/components/ui/PageContainer/index.js +57 -52
  173. package/dist/components/ui/PageContainer/index.js.map +1 -1
  174. package/dist/components/ui/ResponseHandler/ResponseHandler.d.ts +1 -1
  175. package/dist/components/ui/ResponseHandler/index.js.map +1 -1
  176. package/dist/components/ui/Sidebar/SidebarItem.d.ts +1 -1
  177. package/dist/components/ui/Sidebar/SidebarMenuItem.d.ts +1 -1
  178. package/dist/components/ui/Sidebar/index.js +45 -45
  179. package/dist/components/ui/Sidebar/index.js.map +1 -1
  180. package/dist/components/ui/Table/Table.d.ts +1 -1
  181. package/dist/components/ui/Table/TableActionsCell.d.ts +1 -1
  182. package/dist/components/ui/Table/TableCell.d.ts +1 -1
  183. package/dist/components/ui/Table/TableCheckboxCell.d.ts +1 -1
  184. package/dist/components/ui/Table/TableCheckboxHeader.d.ts +1 -1
  185. package/dist/components/ui/Table/TableColumnsEditorDialog.d.ts +1 -1
  186. package/dist/components/ui/Table/TableFilter.d.ts +2 -2
  187. package/dist/components/ui/Table/TableHeaderCell.d.ts +1 -1
  188. package/dist/components/ui/Table/TableHeaderFilter.d.ts +2 -2
  189. package/dist/components/ui/Table/TableReadableIndexCell.d.ts +1 -1
  190. package/dist/components/ui/Table/index.js +1 -2
  191. package/dist/components/ui/UserFeedbackDialog/index.js +65 -64
  192. package/dist/components/ui/UserFeedbackDialog/index.js.map +1 -1
  193. package/dist/components/ui/UserInactivityConfirmation/index.js +26 -25
  194. package/dist/components/ui/UserInactivityConfirmation/index.js.map +1 -1
  195. package/dist/constants/config.constants.d.ts +5 -0
  196. package/dist/constants/config.constants.js +6 -0
  197. package/dist/constants/config.constants.js.map +1 -0
  198. package/dist/constants/{query.js → query.constants.js} +2 -2
  199. package/dist/constants/query.constants.js.map +1 -0
  200. package/dist/context/uiClientCommonConfigContext/UiClientCommonConfigContext.d.ts +6 -2
  201. package/dist/context/uiClientCommonConfigContext/UiClientCommonConfigContextProvider.d.ts +2 -2
  202. package/dist/context/uiClientCommonConfigContext/index.js +28 -12
  203. package/dist/context/uiClientCommonConfigContext/index.js.map +1 -1
  204. package/dist/context/uiClientCommonConfigContext/useUiClientCommonConfigContext.d.ts +2 -1
  205. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js +17 -16
  206. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js.map +1 -1
  207. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/useIdentifierIssuerOwnOrganizationQuery.d.ts +1 -1
  208. package/dist/dataHooks/useIdentifierIssuerQuery/index.js +18 -17
  209. package/dist/dataHooks/useIdentifierIssuerQuery/index.js.map +1 -1
  210. package/dist/dataHooks/useIdentifierIssuerQuery/useIdentifierIssuerQuery.d.ts +1 -1
  211. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js +11 -10
  212. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js.map +1 -1
  213. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js +22 -21
  214. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js.map +1 -1
  215. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/useOrganizationAdminPoliciesQuery.d.ts +1 -1
  216. package/dist/dataHooks/useOrganizationIdentifierIssuerLinksQuery/index.js +8 -7
  217. package/dist/dataHooks/useOrganizationIdentifierIssuerLinksQuery/index.js.map +1 -1
  218. package/dist/dataHooks/useOrganizationsQuery/index.js +17 -16
  219. package/dist/dataHooks/useOrganizationsQuery/index.js.map +1 -1
  220. package/dist/dataHooks/useOrganizationsQuery/useOrganizationsQuery.d.ts +1 -1
  221. package/dist/dataHooks/useUsersQuery/index.js +18 -17
  222. package/dist/dataHooks/useUsersQuery/index.js.map +1 -1
  223. package/dist/dataHooks/useUsersQuery/useUsersQuery.d.ts +1 -1
  224. package/dist/hoc/withPermissions/index.js +12 -11
  225. package/dist/hoc/withPermissions/index.js.map +1 -1
  226. package/dist/hooks/useColumnsMenu/index.js +1 -2
  227. package/dist/hooks/useColumnsMenu/useColumnsMenu.d.ts +2 -2
  228. package/dist/hooks/useConfig/index.d.ts +1 -0
  229. package/dist/hooks/useConfig/index.js +7 -0
  230. package/dist/hooks/useConfig/index.js.map +1 -0
  231. package/dist/hooks/useConfig/useConfig.d.ts +2 -0
  232. package/dist/hooks/useCreateMutation/index.js +25 -24
  233. package/dist/hooks/useCreateMutation/index.js.map +1 -1
  234. package/dist/hooks/useCreateMutation/useCreateMutation.d.ts +1 -1
  235. package/dist/hooks/useDeleteMutation/index.js +24 -23
  236. package/dist/hooks/useDeleteMutation/index.js.map +1 -1
  237. package/dist/hooks/useDeleteMutation/useDeleteMutation.d.ts +1 -1
  238. package/dist/hooks/useEditMutation/index.js +33 -32
  239. package/dist/hooks/useEditMutation/index.js.map +1 -1
  240. package/dist/hooks/useEditMutation/useEditMutation.d.ts +1 -1
  241. package/dist/hooks/useInitializeTableStore/index.js.map +1 -1
  242. package/dist/hooks/useInitializeTableStore/useInitializeTableStore.d.ts +1 -1
  243. package/dist/hooks/useItemQuery/index.js +36 -35
  244. package/dist/hooks/useItemQuery/index.js.map +1 -1
  245. package/dist/hooks/useItemQuery/useItemQuery.d.ts +1 -1
  246. package/dist/hooks/useQueryMemo/index.js +1 -2
  247. package/dist/hooks/useUpdateBreadcrumb/index.js +10 -9
  248. package/dist/hooks/useUpdateBreadcrumb/index.js.map +1 -1
  249. package/dist/hooks/useUpdateDocumentTitle/index.js +4 -3
  250. package/dist/hooks/useUpdateDocumentTitle/index.js.map +1 -1
  251. package/dist/models/{admin.js → admin.models.js} +2 -2
  252. package/dist/models/admin.models.js.map +1 -0
  253. package/dist/models/api.models.d.ts +16 -0
  254. package/dist/models/api.models.js +6 -0
  255. package/dist/models/api.models.js.map +1 -0
  256. package/dist/models/{dataHooks.d.ts → data-hooks.models.d.ts} +1 -1
  257. package/dist/models/{table.d.ts → table.models.d.ts} +2 -2
  258. package/dist/models/{table.js → table.models.js} +2 -2
  259. package/dist/models/table.models.js.map +1 -0
  260. package/dist/pages/AcceptInvitationPage/index.js +40 -39
  261. package/dist/pages/AcceptInvitationPage/index.js.map +1 -1
  262. package/dist/pages/AdminPage/index.js +39 -38
  263. package/dist/pages/AdminPage/index.js.map +1 -1
  264. package/dist/pages/ChooseIdentityProviderPage/ChooseIdentityProviderPage.d.ts +1 -1
  265. package/dist/pages/ChooseIdentityProviderPage/index.js +38 -37
  266. package/dist/pages/ChooseIdentityProviderPage/index.js.map +1 -1
  267. package/dist/pages/CrudPage/CrudPage.d.ts +6 -6
  268. package/dist/pages/CrudPage/CrudPageDeleteDialog.d.ts +1 -1
  269. package/dist/pages/CrudPage/CrudPageEditDialog.d.ts +2 -2
  270. package/dist/pages/CrudPage/index.js +1 -2
  271. package/dist/pages/ErrorPage/index.js.map +1 -1
  272. package/dist/pages/IdentifierIssuersAdminPage/index.js +41 -40
  273. package/dist/pages/IdentifierIssuersAdminPage/index.js.map +1 -1
  274. package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js +58 -57
  275. package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js.map +1 -1
  276. package/dist/pages/OrganizationContactsAdminPage/index.js +49 -48
  277. package/dist/pages/OrganizationContactsAdminPage/index.js.map +1 -1
  278. package/dist/pages/OrganizationSitesAdminPage/index.js +44 -43
  279. package/dist/pages/OrganizationSitesAdminPage/index.js.map +1 -1
  280. package/dist/pages/OrganizationsAdminPage/index.js +57 -56
  281. package/dist/pages/OrganizationsAdminPage/index.js.map +1 -1
  282. package/dist/pages/OutagesAdminPage/index.js +63 -62
  283. package/dist/pages/OutagesAdminPage/index.js.map +1 -1
  284. package/dist/pages/PostLoginPage/index.js +14 -13
  285. package/dist/pages/PostLoginPage/index.js.map +1 -1
  286. package/dist/pages/PostLogoutPage/index.js +19 -18
  287. package/dist/pages/PostLogoutPage/index.js.map +1 -1
  288. package/dist/pages/RouterErrorPage/index.js.map +1 -1
  289. package/dist/pages/UserInvitationsAdminPage/index.js +1 -2
  290. package/dist/pages/UsersAdminPage/UsersAdminPage.d.ts +1 -1
  291. package/dist/pages/UsersAdminPage/index.js +110 -109
  292. package/dist/pages/UsersAdminPage/index.js.map +1 -1
  293. package/dist/routes/adminRoutes.d.ts +1 -1
  294. package/dist/routes/index.js +1 -1
  295. package/dist/routes/index.js.map +1 -1
  296. package/dist/routes/routes.d.ts +1 -1
  297. package/dist/setup/setup.js.map +1 -1
  298. package/dist/stores/oidcStore/index.js.map +1 -1
  299. package/dist/stores/outagesStore/index.js.map +1 -1
  300. package/dist/stores/outagesStore/outagesStore.d.ts +1 -1
  301. package/dist/stores/tableStore/index.js +1 -2
  302. package/dist/stores/tableStore/tableStore.d.ts +2 -2
  303. package/dist/theme/demoTheme/index.js.map +1 -1
  304. package/dist/utils/AxiosUtil/index.js.map +1 -1
  305. package/dist/utils/DataHookUtil/DataHookUtil.d.ts +1 -1
  306. package/dist/utils/DataHookUtil/index.js.map +1 -1
  307. package/dist/utils/LoadableUtil/LoadableUtil.d.ts +1 -1
  308. package/dist/utils/LoadableUtil/index.js.map +1 -1
  309. package/dist/utils/MenuDataUtil/MenuDataUtil.d.ts +1 -1
  310. package/dist/utils/MenuDataUtil/index.js.map +1 -1
  311. package/dist/utils/NotificationUtil/index.js.map +1 -1
  312. package/dist/utils/OutageUtil/OutageUtil.d.ts +1 -1
  313. package/dist/utils/OutageUtil/index.js +1 -2
  314. package/dist/utils/StandardConfigUtil/StandardConfigUtil.d.ts +1 -1
  315. package/dist/utils/StandardConfigUtil/index.js.map +1 -1
  316. package/dist/utils/TableUtil/TableUtil.d.ts +4 -4
  317. package/dist/utils/TableUtil/index.js +1 -2
  318. package/dist/utils/TimeUtil/index.js.map +1 -1
  319. package/dist/utils/UserManagerUtil/index.js +1 -2
  320. package/dist/utils/UserUtil/index.js.map +1 -1
  321. package/package.json +92 -86
  322. package/dist/_chunks/_baseGet.js +0 -280
  323. package/dist/_chunks/_baseGet.js.map +0 -1
  324. package/dist/_chunks/_baseIteratee.js +0 -274
  325. package/dist/_chunks/_baseIteratee.js.map +0 -1
  326. package/dist/_chunks/last.js +0 -13
  327. package/dist/_chunks/last.js.map +0 -1
  328. package/dist/_chunks/uniq.js +0 -44
  329. package/dist/_chunks/uniq.js.map +0 -1
  330. package/dist/classes/services/ApiService/ApiService.d.ts +0 -19
  331. package/dist/classes/services/ApiService/index.d.ts +0 -1
  332. package/dist/classes/services/ApiService/index.js +0 -21
  333. package/dist/classes/services/ApiService/index.js.map +0 -1
  334. package/dist/classes/services/ConfigService/ConfigService.d.ts +0 -9
  335. package/dist/classes/services/ConfigService/index.d.ts +0 -1
  336. package/dist/classes/services/ConfigService/index.js +0 -21
  337. package/dist/classes/services/ConfigService/index.js.map +0 -1
  338. package/dist/constants/query.js.map +0 -1
  339. package/dist/models/admin.js.map +0 -1
  340. package/dist/models/api.d.ts +0 -9
  341. package/dist/models/table.js.map +0 -1
  342. package/dist/models/theme.js +0 -0
  343. /package/dist/constants/{query.d.ts → query.constants.d.ts} +0 -0
  344. /package/dist/models/{admin.d.ts → admin.models.d.ts} +0 -0
  345. /package/dist/models/{auth.d.ts → auth.models.d.ts} +0 -0
  346. /package/dist/models/{api.js → auth.models.js} +0 -0
  347. /package/dist/models/{config.d.ts → config.models.d.ts} +0 -0
  348. /package/dist/models/{auth.js → config.models.js} +0 -0
  349. /package/dist/models/{config.js → data-hooks.models.js} +0 -0
  350. /package/dist/models/{data.d.ts → data.models.d.ts} +0 -0
  351. /package/dist/models/{data.js → data.models.js} +0 -0
  352. /package/dist/models/{filter.d.ts → filter.models.d.ts} +0 -0
  353. /package/dist/models/{dataHooks.js → filter.models.js} +0 -0
  354. /package/dist/models/{notification.d.ts → notification.models.d.ts} +0 -0
  355. /package/dist/models/{filter.js → notification.models.js} +0 -0
  356. /package/dist/models/{outage.d.ts → outage.models.d.ts} +0 -0
  357. /package/dist/models/{notification.js → outage.models.js} +0 -0
  358. /package/dist/models/{reactRouter.d.ts → react-router.models.d.ts} +0 -0
  359. /package/dist/models/{outage.js → react-router.models.js} +0 -0
  360. /package/dist/models/{theme.d.ts → theme.models.d.ts} +0 -0
  361. /package/dist/models/{reactRouter.js → theme.models.js} +0 -0
@@ -1,19 +1,282 @@
1
1
  import { n as e, t } from "./rolldown-runtime.js";
2
- import { m as n } from "./_baseGet.js";
3
- import { t as r } from "./_baseIteratee.js";
4
- import { ConfigService as i } from "../classes/services/ConfigService/index.js";
5
- import { t as a } from "./_baseUnset.js";
6
- import { n as o, t as s } from "./uniq.js";
7
- import { S as c, _ as l, a as u, c as d, d as f, f as p, g as m, h, i as g, m as _, o as v, r as y, s as b, t as x, u as S, y as C } from "./query.js";
8
- import { HmrUtil as w } from "@gen-epix/ui-core/utils/HmrUtil";
9
- //#region ../../node_modules/.pnpm/@tanstack+query-core@5.103.2/node_modules/@tanstack/query-core/build/modern/mutation.js
10
- var T = class extends y {
2
+ import { i as n, n as r, t as i } from "./isObject.js";
3
+ import { f as a, l as o, n as s, r as c } from "./isArrayLike.js";
4
+ import { i as l, n as u, r as d, t as f } from "./_cacheHas.js";
5
+ import { C as p, S as m, _ as h, a as g, c as _, g as v, i as y, l as b, m as x, o as S, r as C, s as w, t as T, u as E, x as D } from "./_baseUnset.js";
6
+ import { S as O, _ as k, a as A, c as j, d as M, f as N, g as P, h as F, i as ee, m as I, o as L, r as te, s as ne, t as re, u as ie, y as R } from "./query.js";
7
+ import { t as ae } from "./decorate.js";
8
+ import { singleton as oe } from "tsyringe";
9
+ //#region ../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_arraySome.js
10
+ var se = /* @__PURE__ */ t(((e, t) => {
11
+ function n(e, t) {
12
+ for (var n = -1, r = e == null ? 0 : e.length; ++n < r;) if (t(e[n], n, e)) return !0;
13
+ return !1;
14
+ }
15
+ t.exports = n;
16
+ })), z = /* @__PURE__ */ t(((e, t) => {
17
+ var n = l(), r = se(), i = f(), a = 1, o = 2;
18
+ function s(e, t, s, c, l, u) {
19
+ var d = s & a, f = e.length, p = t.length;
20
+ if (f != p && !(d && p > f)) return !1;
21
+ var m = u.get(e), h = u.get(t);
22
+ if (m && h) return m == t && h == e;
23
+ var g = -1, _ = !0, v = s & o ? new n() : void 0;
24
+ for (u.set(e, t), u.set(t, e); ++g < f;) {
25
+ var y = e[g], b = t[g];
26
+ if (c) var x = d ? c(b, y, g, t, e, u) : c(y, b, g, e, t, u);
27
+ if (x !== void 0) {
28
+ if (x) continue;
29
+ _ = !1;
30
+ break;
31
+ }
32
+ if (v) {
33
+ if (!r(t, function(e, t) {
34
+ if (!i(v, t) && (y === e || l(y, e, s, c, u))) return v.push(t);
35
+ })) {
36
+ _ = !1;
37
+ break;
38
+ }
39
+ } else if (!(y === b || l(y, b, s, c, u))) {
40
+ _ = !1;
41
+ break;
42
+ }
43
+ }
44
+ return u.delete(e), u.delete(t), _;
45
+ }
46
+ t.exports = s;
47
+ })), ce = /* @__PURE__ */ t(((e, t) => {
48
+ function n(e) {
49
+ var t = -1, n = Array(e.size);
50
+ return e.forEach(function(e, r) {
51
+ n[++t] = [r, e];
52
+ }), n;
53
+ }
54
+ t.exports = n;
55
+ })), B = /* @__PURE__ */ t(((e, t) => {
56
+ function n(e) {
57
+ var t = -1, n = Array(e.size);
58
+ return e.forEach(function(e) {
59
+ n[++t] = e;
60
+ }), n;
61
+ }
62
+ t.exports = n;
63
+ })), le = /* @__PURE__ */ t(((e, t) => {
64
+ var r = n(), i = D(), a = o(), s = z(), c = ce(), l = B(), u = 1, d = 2, f = "[object Boolean]", p = "[object Date]", m = "[object Error]", h = "[object Map]", g = "[object Number]", _ = "[object RegExp]", v = "[object Set]", y = "[object String]", b = "[object Symbol]", x = "[object ArrayBuffer]", S = "[object DataView]", C = r ? r.prototype : void 0, w = C ? C.valueOf : void 0;
65
+ function T(e, t, n, r, o, C, T) {
66
+ switch (n) {
67
+ case S:
68
+ if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1;
69
+ e = e.buffer, t = t.buffer;
70
+ case x: return !(e.byteLength != t.byteLength || !C(new i(e), new i(t)));
71
+ case f:
72
+ case p:
73
+ case g: return a(+e, +t);
74
+ case m: return e.name == t.name && e.message == t.message;
75
+ case _:
76
+ case y: return e == t + "";
77
+ case h: var E = c;
78
+ case v:
79
+ var D = r & u;
80
+ if (E ||= l, e.size != t.size && !D) return !1;
81
+ var O = T.get(e);
82
+ if (O) return O == t;
83
+ r |= d, T.set(e, t);
84
+ var k = s(E(e), E(t), r, o, C, T);
85
+ return T.delete(e), k;
86
+ case b: if (w) return w.call(e) == w.call(t);
87
+ }
88
+ return !1;
89
+ }
90
+ t.exports = T;
91
+ })), ue = /* @__PURE__ */ t(((e, t) => {
92
+ var n = b(), r = 1, i = Object.prototype.hasOwnProperty;
93
+ function a(e, t, a, o, s, c) {
94
+ var l = a & r, u = n(e), d = u.length;
95
+ if (d != n(t).length && !l) return !1;
96
+ for (var f = d; f--;) {
97
+ var p = u[f];
98
+ if (!(l ? p in t : i.call(t, p))) return !1;
99
+ }
100
+ var m = c.get(e), h = c.get(t);
101
+ if (m && h) return m == t && h == e;
102
+ var g = !0;
103
+ c.set(e, t), c.set(t, e);
104
+ for (var _ = l; ++f < d;) {
105
+ p = u[f];
106
+ var v = e[p], y = t[p];
107
+ if (o) var b = l ? o(y, v, p, t, e, c) : o(v, y, p, e, t, c);
108
+ if (!(b === void 0 ? v === y || s(v, y, a, o, c) : b)) {
109
+ g = !1;
110
+ break;
111
+ }
112
+ _ ||= p == "constructor";
113
+ }
114
+ if (g && !_) {
115
+ var x = e.constructor, S = t.constructor;
116
+ x != S && "constructor" in e && "constructor" in t && !(typeof x == "function" && x instanceof x && typeof S == "function" && S instanceof S) && (g = !1);
117
+ }
118
+ return c.delete(e), c.delete(t), g;
119
+ }
120
+ t.exports = a;
121
+ })), de = /* @__PURE__ */ t(((e, t) => {
122
+ var n = m(), r = z(), i = le(), a = ue(), o = w(), s = c(), l = h(), u = x(), d = 1, f = "[object Arguments]", p = "[object Array]", g = "[object Object]", _ = Object.prototype.hasOwnProperty;
123
+ function v(e, t, c, m, h, v) {
124
+ var y = s(e), b = s(t), x = y ? p : o(e), S = b ? p : o(t);
125
+ x = x == f ? g : x, S = S == f ? g : S;
126
+ var C = x == g, w = S == g, T = x == S;
127
+ if (T && l(e)) {
128
+ if (!l(t)) return !1;
129
+ y = !0, C = !1;
130
+ }
131
+ if (T && !C) return v ||= new n(), y || u(e) ? r(e, t, c, m, h, v) : i(e, t, x, c, m, h, v);
132
+ if (!(c & d)) {
133
+ var E = C && _.call(e, "__wrapped__"), D = w && _.call(t, "__wrapped__");
134
+ if (E || D) {
135
+ var O = E ? e.value() : e, k = D ? t.value() : t;
136
+ return v ||= new n(), h(O, k, c, m, v);
137
+ }
138
+ }
139
+ return T ? (v ||= new n(), a(e, t, c, m, h, v)) : !1;
140
+ }
141
+ t.exports = v;
142
+ })), V = /* @__PURE__ */ t(((e, t) => {
143
+ var n = de(), i = r();
144
+ function a(e, t, r, o, s) {
145
+ return e === t ? !0 : e == null || t == null || !i(e) && !i(t) ? e !== e && t !== t : n(e, t, r, o, a, s);
146
+ }
147
+ t.exports = a;
148
+ })), fe = /* @__PURE__ */ t(((e, t) => {
149
+ var n = m(), r = V(), i = 1, a = 2;
150
+ function o(e, t, o, s) {
151
+ var c = o.length, l = c, u = !s;
152
+ if (e == null) return !l;
153
+ for (e = Object(e); c--;) {
154
+ var d = o[c];
155
+ if (u && d[2] ? d[1] !== e[d[0]] : !(d[0] in e)) return !1;
156
+ }
157
+ for (; ++c < l;) {
158
+ d = o[c];
159
+ var f = d[0], p = e[f], m = d[1];
160
+ if (u && d[2]) {
161
+ if (p === void 0 && !(f in e)) return !1;
162
+ } else {
163
+ var h = new n();
164
+ if (s) var g = s(p, m, f, e, t, h);
165
+ if (!(g === void 0 ? r(m, p, i | a, s, h) : g)) return !1;
166
+ }
167
+ }
168
+ return !0;
169
+ }
170
+ t.exports = o;
171
+ })), H = /* @__PURE__ */ t(((e, t) => {
172
+ var n = i();
173
+ function r(e) {
174
+ return e === e && !n(e);
175
+ }
176
+ t.exports = r;
177
+ })), pe = /* @__PURE__ */ t(((e, t) => {
178
+ var n = H(), r = E();
179
+ function i(e) {
180
+ for (var t = r(e), i = t.length; i--;) {
181
+ var a = t[i], o = e[a];
182
+ t[i] = [
183
+ a,
184
+ o,
185
+ n(o)
186
+ ];
187
+ }
188
+ return t;
189
+ }
190
+ t.exports = i;
191
+ })), U = /* @__PURE__ */ t(((e, t) => {
192
+ function n(e, t) {
193
+ return function(n) {
194
+ return n != null && n[e] === t && (t !== void 0 || e in Object(n));
195
+ };
196
+ }
197
+ t.exports = n;
198
+ })), me = /* @__PURE__ */ t(((e, t) => {
199
+ var n = fe(), r = pe(), i = U();
200
+ function a(e) {
201
+ var t = r(e);
202
+ return t.length == 1 && t[0][2] ? i(t[0][0], t[0][1]) : function(r) {
203
+ return r === e || n(r, e, t);
204
+ };
205
+ }
206
+ t.exports = a;
207
+ })), he = /* @__PURE__ */ t(((e, t) => {
208
+ var n = C();
209
+ function r(e, t, r) {
210
+ var i = e == null ? void 0 : n(e, t);
211
+ return i === void 0 ? r : i;
212
+ }
213
+ t.exports = r;
214
+ })), ge = /* @__PURE__ */ t(((e, t) => {
215
+ function n(e, t) {
216
+ return e != null && t in Object(e);
217
+ }
218
+ t.exports = n;
219
+ })), _e = /* @__PURE__ */ t(((e, t) => {
220
+ var n = g(), r = p(), i = c(), a = v(), o = s(), l = y();
221
+ function u(e, t, s) {
222
+ t = n(t, e);
223
+ for (var c = -1, u = t.length, d = !1; ++c < u;) {
224
+ var f = l(t[c]);
225
+ if (!(d = e != null && s(e, f))) break;
226
+ e = e[f];
227
+ }
228
+ return d || ++c != u ? d : (u = e == null ? 0 : e.length, !!u && o(u) && a(f, u) && (i(e) || r(e)));
229
+ }
230
+ t.exports = u;
231
+ })), ve = /* @__PURE__ */ t(((e, t) => {
232
+ var n = ge(), r = _e();
233
+ function i(e, t) {
234
+ return e != null && r(e, t, n);
235
+ }
236
+ t.exports = i;
237
+ })), ye = /* @__PURE__ */ t(((e, t) => {
238
+ var n = V(), r = he(), i = ve(), a = S(), o = H(), s = U(), c = y(), l = 1, u = 2;
239
+ function d(e, t) {
240
+ return a(e) && o(t) ? s(c(e), t) : function(a) {
241
+ var o = r(a, e);
242
+ return o === void 0 && o === t ? i(a, e) : n(t, o, l | u);
243
+ };
244
+ }
245
+ t.exports = d;
246
+ })), be = /* @__PURE__ */ t(((e, t) => {
247
+ function n(e) {
248
+ return function(t) {
249
+ return t?.[e];
250
+ };
251
+ }
252
+ t.exports = n;
253
+ })), xe = /* @__PURE__ */ t(((e, t) => {
254
+ var n = C();
255
+ function r(e) {
256
+ return function(t) {
257
+ return n(t, e);
258
+ };
259
+ }
260
+ t.exports = r;
261
+ })), Se = /* @__PURE__ */ t(((e, t) => {
262
+ var n = be(), r = xe(), i = S(), a = y();
263
+ function o(e) {
264
+ return i(e) ? n(a(e)) : r(e);
265
+ }
266
+ t.exports = o;
267
+ })), W = /* @__PURE__ */ t(((e, t) => {
268
+ var n = me(), r = ye(), i = a(), o = c(), s = Se();
269
+ function l(e) {
270
+ return typeof e == "function" ? e : e == null ? i : typeof e == "object" ? o(e) ? r(e[0], e[1]) : n(e) : s(e);
271
+ }
272
+ t.exports = l;
273
+ })), Ce = class extends te {
11
274
  #e;
12
275
  #t;
13
276
  #n;
14
277
  #r;
15
278
  constructor(e) {
16
- super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || E(), this.setOptions(e.options), this.scheduleGc();
279
+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || G(), this.setOptions(e.options), this.scheduleGc();
17
280
  }
18
281
  setOptions(e) {
19
282
  this.options = e, this.updateGcTime(this.options.gcTime);
@@ -48,7 +311,7 @@ var T = class extends y {
48
311
  client: this.#e,
49
312
  meta: this.options.meta,
50
313
  mutationKey: this.options.mutationKey
51
- }, r = this.#r = g({
314
+ }, r = this.#r = ee({
52
315
  fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
53
316
  onFail: (e, t) => {
54
317
  this.#i({
@@ -164,7 +427,7 @@ var T = class extends y {
164
427
  };
165
428
  }
166
429
  };
167
- this.state = t(this.state), v.batch(() => {
430
+ this.state = t(this.state), L.batch(() => {
168
431
  this.#t.forEach((t) => {
169
432
  t.onMutationUpdate(e);
170
433
  }), this.#n.notify({
@@ -175,7 +438,7 @@ var T = class extends y {
175
438
  });
176
439
  }
177
440
  };
178
- function E() {
441
+ function G() {
179
442
  return {
180
443
  context: void 0,
181
444
  data: void 0,
@@ -189,8 +452,8 @@ function E() {
189
452
  };
190
453
  }
191
454
  //#endregion
192
- //#region ../../node_modules/.pnpm/@tanstack+query-core@5.103.2/node_modules/@tanstack/query-core/build/modern/mutationCache.js
193
- var D = class extends d {
455
+ //#region ../../node_modules/.pnpm/@tanstack+query-core@5.104.2/node_modules/@tanstack/query-core/build/modern/mutationCache.js
456
+ var K = class extends j {
194
457
  #e;
195
458
  #t;
196
459
  #n;
@@ -198,7 +461,7 @@ var D = class extends d {
198
461
  super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
199
462
  }
200
463
  build(e, t, n) {
201
- let r = new T({
464
+ let r = new Ce({
202
465
  client: e,
203
466
  mutationCache: this,
204
467
  mutationId: ++this.#n,
@@ -209,7 +472,7 @@ var D = class extends d {
209
472
  }
210
473
  add(e) {
211
474
  this.#e.add(e);
212
- let t = O(e);
475
+ let t = q(e);
213
476
  if (typeof t == "string") {
214
477
  let n = this.#t.get(t);
215
478
  n ? n.push(e) : this.#t.set(t, [e]);
@@ -221,7 +484,7 @@ var D = class extends d {
221
484
  }
222
485
  remove(e) {
223
486
  if (this.#e.delete(e)) {
224
- let t = O(e);
487
+ let t = q(e);
225
488
  if (typeof t == "string") {
226
489
  let n = this.#t.get(t);
227
490
  if (n) {
@@ -238,7 +501,7 @@ var D = class extends d {
238
501
  });
239
502
  }
240
503
  canRun(e) {
241
- let t = O(e);
504
+ let t = q(e);
242
505
  if (typeof t == "string") {
243
506
  let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
244
507
  return !n || n === e;
@@ -246,11 +509,11 @@ var D = class extends d {
246
509
  return !0;
247
510
  }
248
511
  runNext(e) {
249
- let t = O(e);
512
+ let t = q(e);
250
513
  return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
251
514
  }
252
515
  clear() {
253
- v.batch(() => {
516
+ L.batch(() => {
254
517
  this.#e.forEach((e) => {
255
518
  this.notify({
256
519
  type: "removed",
@@ -267,13 +530,13 @@ var D = class extends d {
267
530
  exact: !0,
268
531
  ...e
269
532
  };
270
- return this.getAll().find((e) => _(t, e));
533
+ return this.getAll().find((e) => I(t, e));
271
534
  }
272
535
  findAll(e = {}) {
273
- return this.getAll().filter((t) => _(e, t));
536
+ return this.getAll().filter((t) => I(e, t));
274
537
  }
275
538
  notify(e) {
276
- v.batch(() => {
539
+ L.batch(() => {
277
540
  this.listeners.forEach((t) => {
278
541
  t(e);
279
542
  });
@@ -281,22 +544,22 @@ var D = class extends d {
281
544
  }
282
545
  resumePausedMutations() {
283
546
  let e = this.getAll().filter((e) => e.state.isPaused);
284
- return v.batch(() => Promise.all(e.map((e) => e.continue().catch(m))));
547
+ return L.batch(() => Promise.all(e.map((e) => e.continue().catch(P))));
285
548
  }
286
549
  };
287
- function O(e) {
550
+ function q(e) {
288
551
  return e.options.scope?.id;
289
552
  }
290
553
  //#endregion
291
- //#region ../../node_modules/.pnpm/@tanstack+query-core@5.103.2/node_modules/@tanstack/query-core/build/modern/queryCache.js
292
- var k = class extends d {
554
+ //#region ../../node_modules/.pnpm/@tanstack+query-core@5.104.2/node_modules/@tanstack/query-core/build/modern/queryCache.js
555
+ var J = class extends j {
293
556
  #e;
294
557
  constructor(e = {}) {
295
558
  super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
296
559
  }
297
560
  build(e, t, n) {
298
- let r = t.queryKey, i = t.queryHash ?? p(r, t), a = this.get(i);
299
- return a || (a = new x({
561
+ let r = t.queryKey, i = t.queryHash ?? N(r, t), a = this.get(i);
562
+ return a || (a = new re({
300
563
  client: e,
301
564
  queryKey: r,
302
565
  queryHash: i,
@@ -318,7 +581,7 @@ var k = class extends d {
318
581
  }));
319
582
  }
320
583
  clear() {
321
- v.batch(() => {
584
+ L.batch(() => {
322
585
  this.getAll().forEach((e) => {
323
586
  this.remove(e);
324
587
  });
@@ -335,34 +598,34 @@ var k = class extends d {
335
598
  exact: !0,
336
599
  ...e
337
600
  };
338
- return this.getAll().find((e) => h(t, e));
601
+ return this.getAll().find((e) => F(t, e));
339
602
  }
340
603
  findAll(e = {}) {
341
604
  let t = this.getAll();
342
- return Object.keys(e).length > 0 ? t.filter((t) => h(e, t)) : t;
605
+ return Object.keys(e).length > 0 ? t.filter((t) => F(e, t)) : t;
343
606
  }
344
607
  notify(e) {
345
- v.batch(() => {
608
+ L.batch(() => {
346
609
  this.listeners.forEach((t) => {
347
610
  t(e);
348
611
  });
349
612
  });
350
613
  }
351
614
  onFocus() {
352
- v.batch(() => {
615
+ L.batch(() => {
353
616
  this.getAll().forEach((e) => {
354
617
  e.onFocus();
355
618
  });
356
619
  });
357
620
  }
358
621
  onOnline() {
359
- v.batch(() => {
622
+ L.batch(() => {
360
623
  this.getAll().forEach((e) => {
361
624
  e.onOnline();
362
625
  });
363
626
  });
364
627
  }
365
- }, A = class {
628
+ }, we = class {
366
629
  #e;
367
630
  #t;
368
631
  #n;
@@ -372,12 +635,12 @@ var k = class extends d {
372
635
  #o;
373
636
  #s;
374
637
  constructor(e = {}) {
375
- this.#e = e.queryCache || new k(), this.#t = e.mutationCache || new D(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
638
+ this.#e = e.queryCache || new J(), this.#t = e.mutationCache || new K(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
376
639
  }
377
640
  mount() {
378
- this.#a++, this.#a === 1 && (this.#o = b.subscribe(async (e) => {
641
+ this.#a++, this.#a === 1 && (this.#o = ne.subscribe(async (e) => {
379
642
  e && (await this.resumePausedMutations(), this.#e.onFocus());
380
- }), this.#s = u.subscribe(async (e) => {
643
+ }), this.#s = A.subscribe(async (e) => {
381
644
  e && (await this.resumePausedMutations(), this.#e.onOnline());
382
645
  }));
383
646
  }
@@ -402,20 +665,20 @@ var k = class extends d {
402
665
  }
403
666
  ensureQueryData(e) {
404
667
  let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
405
- return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(C(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
668
+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(R(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
406
669
  }
407
670
  getQueriesData(e) {
408
671
  return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
409
672
  }
410
673
  setQueryData(e, t, n) {
411
- let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = S(t, i);
674
+ let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = ie(t, i);
412
675
  if (a !== void 0) return this.#e.build(this, r).setData(a, {
413
676
  ...n,
414
677
  manual: !0
415
678
  });
416
679
  }
417
680
  setQueriesData(e, t, n) {
418
- return v.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
681
+ return L.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
419
682
  }
420
683
  getQueryState(e) {
421
684
  let t = this.defaultQueryOptions({ queryKey: e });
@@ -423,7 +686,7 @@ var k = class extends d {
423
686
  }
424
687
  removeQueries(e) {
425
688
  let t = this.#e;
426
- v.batch(() => {
689
+ L.batch(() => {
427
690
  t.findAll(e).forEach((e) => {
428
691
  t.remove(e);
429
692
  });
@@ -431,7 +694,7 @@ var k = class extends d {
431
694
  }
432
695
  resetQueries(e, t) {
433
696
  let n = this.#e;
434
- return v.batch(() => {
697
+ return L.batch(() => {
435
698
  let r = n.findAll(e), i = new Set(r);
436
699
  return r.forEach((e) => {
437
700
  e.reset();
@@ -445,11 +708,11 @@ var k = class extends d {
445
708
  let n = {
446
709
  revert: !0,
447
710
  ...t
448
- }, r = v.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
449
- return Promise.all(r).then(m).catch(m);
711
+ }, r = L.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
712
+ return Promise.all(r).then(P).catch(P);
450
713
  }
451
714
  invalidateQueries(e, t = {}) {
452
- return v.batch(() => (this.#e.findAll(e).forEach((e) => {
715
+ return L.batch(() => (this.#e.findAll(e).forEach((e) => {
453
716
  e.invalidate();
454
717
  }), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
455
718
  ...e,
@@ -460,26 +723,26 @@ var k = class extends d {
460
723
  let n = {
461
724
  ...t,
462
725
  cancelRefetch: t.cancelRefetch ?? !0
463
- }, r = v.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
726
+ }, r = L.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
464
727
  let t = e.fetch(void 0, n);
465
- return n.throwOnError || (t = t.catch(m)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
728
+ return n.throwOnError || (t = t.catch(P)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
466
729
  }));
467
- return Promise.all(r).then(m);
730
+ return Promise.all(r).then(P);
468
731
  }
469
732
  async query(e) {
470
733
  let t = this.defaultQueryOptions(e);
471
734
  t.retry === void 0 && (t.retry = !1);
472
- let n = this.#e.build(this, t), r = n.isStaleByTime(C(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;
735
+ let n = this.#e.build(this, t), r = n.isStaleByTime(R(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;
473
736
  return i ? i(r) : r;
474
737
  }
475
738
  fetchQuery(e) {
476
739
  let t = this.defaultQueryOptions(e);
477
740
  t.retry === void 0 && (t.retry = !1);
478
741
  let n = this.#e.build(this, t);
479
- return n.isStaleByTime(C(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
742
+ return n.isStaleByTime(R(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
480
743
  }
481
744
  prefetchQuery(e) {
482
- return this.fetchQuery(e).then(m).catch(m);
745
+ return this.fetchQuery(e).then(P).catch(P);
483
746
  }
484
747
  infiniteQuery(e) {
485
748
  return e._type = "infinite", this.query(e);
@@ -488,13 +751,13 @@ var k = class extends d {
488
751
  return e._type = "infinite", this.fetchQuery(e);
489
752
  }
490
753
  prefetchInfiniteQuery(e) {
491
- return this.fetchInfiniteQuery(e).then(m).catch(m);
754
+ return this.fetchInfiniteQuery(e).then(P).catch(P);
492
755
  }
493
756
  ensureInfiniteQueryData(e) {
494
757
  return e._type = "infinite", this.ensureQueryData(e);
495
758
  }
496
759
  resumePausedMutations() {
497
- return u.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
760
+ return A.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
498
761
  }
499
762
  getQueryCache() {
500
763
  return this.#e;
@@ -509,7 +772,7 @@ var k = class extends d {
509
772
  this.#n = e;
510
773
  }
511
774
  setQueryDefaults(e, t) {
512
- this.#r.set(f(e), {
775
+ this.#r.set(M(e), {
513
776
  queryKey: e,
514
777
  defaultOptions: t
515
778
  });
@@ -517,11 +780,11 @@ var k = class extends d {
517
780
  getQueryDefaults(e) {
518
781
  let t = [...this.#r.values()], n = {};
519
782
  return t.forEach((t) => {
520
- l(e, t.queryKey) && Object.assign(n, t.defaultOptions);
783
+ k(e, t.queryKey) && Object.assign(n, t.defaultOptions);
521
784
  }), n;
522
785
  }
523
786
  setMutationDefaults(e, t) {
524
- this.#i.set(f(e), {
787
+ this.#i.set(M(e), {
525
788
  mutationKey: e,
526
789
  defaultOptions: t
527
790
  });
@@ -529,7 +792,7 @@ var k = class extends d {
529
792
  getMutationDefaults(e) {
530
793
  let t = [...this.#i.values()], n = {};
531
794
  return t.forEach((t) => {
532
- l(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
795
+ k(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
533
796
  }), n;
534
797
  }
535
798
  defaultQueryOptions(e) {
@@ -540,7 +803,7 @@ var k = class extends d {
540
803
  ...e,
541
804
  _defaulted: !0
542
805
  };
543
- return t.queryHash ||= p(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === c && (t.enabled = !1), t;
806
+ return t.queryHash ||= N(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === O && (t.enabled = !1), t;
544
807
  }
545
808
  defaultMutationOptions(e) {
546
809
  return e?._defaulted ? e : {
@@ -553,48 +816,90 @@ var k = class extends d {
553
816
  clear() {
554
817
  this.#e.clear(), this.#t.clear();
555
818
  }
556
- }, j = /* @__PURE__ */ t(((e, t) => {
557
- var r = a(), i = n(), o = Array.prototype.splice;
558
- function s(e, t) {
559
- for (var n = e ? t.length : 0, a = n - 1; n--;) {
560
- var s = t[n];
561
- if (n == a || s !== c) {
819
+ }, Te = /* @__PURE__ */ t(((e, t) => {
820
+ var n = T(), r = v(), i = Array.prototype.splice;
821
+ function a(e, t) {
822
+ for (var a = e ? t.length : 0, o = a - 1; a--;) {
823
+ var s = t[a];
824
+ if (a == o || s !== c) {
562
825
  var c = s;
563
- i(s) ? o.call(e, s, 1) : r(e, s);
826
+ r(s) ? i.call(e, s, 1) : n(e, s);
564
827
  }
565
828
  }
566
829
  return e;
567
830
  }
568
- t.exports = s;
569
- })), M = /* @__PURE__ */ t(((e, t) => {
570
- var n = r(), i = j();
571
- function a(e, t) {
572
- var r = [];
573
- if (!(e && e.length)) return r;
831
+ t.exports = a;
832
+ })), Ee = /* @__PURE__ */ t(((e, t) => {
833
+ var n = W(), r = Te();
834
+ function i(e, t) {
835
+ var i = [];
836
+ if (!(e && e.length)) return i;
574
837
  var a = -1, o = [], s = e.length;
575
838
  for (t = n(t, 3); ++a < s;) {
576
839
  var c = e[a];
577
- t(c, a, e) && (r.push(c), o.push(a));
840
+ t(c, a, e) && (i.push(c), o.push(a));
578
841
  }
579
- return i(e, o), r;
580
- }
581
- t.exports = a;
582
- })), N = /* @__PURE__ */ t(((e, t) => {
583
- var n = r(), i = o();
584
- function a(e, t) {
585
- return e && e.length ? i(e, n(t, 2)) : [];
586
- }
587
- t.exports = a;
588
- })), P = /* @__PURE__ */ e(M(), 1), F = /* @__PURE__ */ e(s(), 1), I = /* @__PURE__ */ e(N(), 1), L = class e {
589
- static __instance;
842
+ return r(e, o), i;
843
+ }
844
+ t.exports = i;
845
+ })), Y = /* @__PURE__ */ t(((e, t) => {
846
+ function n() {}
847
+ t.exports = n;
848
+ })), De = /* @__PURE__ */ t(((e, t) => {
849
+ var n = _(), r = Y(), i = B();
850
+ t.exports = n && 1 / i(new n([, -0]))[1] == 1 / 0 ? function(e) {
851
+ return new n(e);
852
+ } : r;
853
+ })), X = /* @__PURE__ */ t(((e, t) => {
854
+ var n = l(), r = d(), i = u(), a = f(), o = De(), s = B(), c = 200;
855
+ function p(e, t, l) {
856
+ var u = -1, d = r, f = e.length, p = !0, m = [], h = m;
857
+ if (l) p = !1, d = i;
858
+ else if (f >= c) {
859
+ var g = t ? null : o(e);
860
+ if (g) return s(g);
861
+ p = !1, d = a, h = new n();
862
+ } else h = t ? [] : m;
863
+ outer: for (; ++u < f;) {
864
+ var _ = e[u], v = t ? t(_) : _;
865
+ if (_ = l || _ !== 0 ? _ : 0, p && v === v) {
866
+ for (var y = h.length; y--;) if (h[y] === v) continue outer;
867
+ t && h.push(v), m.push(_);
868
+ } else d(h, v, l) || (h !== m && h.push(v), m.push(_));
869
+ }
870
+ return m;
871
+ }
872
+ t.exports = p;
873
+ })), Z = /* @__PURE__ */ t(((e, t) => {
874
+ var n = X();
875
+ function r(e) {
876
+ return e && e.length ? n(e) : [];
877
+ }
878
+ t.exports = r;
879
+ })), Oe = /* @__PURE__ */ t(((e, t) => {
880
+ var n = W(), r = X();
881
+ function i(e, t) {
882
+ return e && e.length ? r(e, n(t, 2)) : [];
883
+ }
884
+ t.exports = i;
885
+ })), ke = /* @__PURE__ */ e(Ee(), 1), Ae = /* @__PURE__ */ e(Z(), 1), je = /* @__PURE__ */ e(Oe(), 1), Q, $ = Q = class {
590
886
  mutationCache;
591
887
  queryCache;
592
888
  queryClient;
593
889
  queryKeyDependencies;
594
- constructor() {}
595
- static getInstance() {
596
- let t = w.getHmrSingleton("queryManager", e.__instance, () => new e());
597
- return e.__instance = t, t;
890
+ constructor(e) {
891
+ this.queryKeyDependencies = Q.mergeQueryKeyDependencies(e.queryKeyDependencies);
892
+ let t = new J({}), n = new K({}), r = new we({
893
+ defaultOptions: { queries: {
894
+ gcTime: Infinity,
895
+ retry: e.config.queryClient.retry,
896
+ retryDelay: e.config.queryClient.retryDelay,
897
+ staleTime: Infinity
898
+ } },
899
+ mutationCache: n,
900
+ queryCache: t
901
+ });
902
+ this.queryCache = t, this.mutationCache = n, this.queryClient = r;
598
903
  }
599
904
  static mergeQueryKeyDependencies(e) {
600
905
  let t = {};
@@ -603,12 +908,12 @@ var k = class extends d {
603
908
  t[e] || (t[e] = []), t[e].push(...n);
604
909
  });
605
910
  }), Object.keys(t).forEach((e) => {
606
- t[e] = (0, F.default)(t[e]);
911
+ t[e] = (0, Ae.default)(t[e]);
607
912
  }), t;
608
913
  }
609
- async cancelQueries(t) {
610
- let n = e.getInstance().queryClient;
611
- for (let e of this.getUniqueQueryKeys(t ?? [])) await n.cancelQueries({ queryKey: e });
914
+ async cancelQueries(e) {
915
+ let t = this.queryClient;
916
+ for (let n of this.getUniqueQueryKeys(e ?? [])) await t.cancelQueries({ queryKey: n });
612
917
  }
613
918
  getGenericKey(e, t) {
614
919
  let n = [e];
@@ -624,26 +929,10 @@ var k = class extends d {
624
929
  }), this.getUniqueQueryKeys(n);
625
930
  }
626
931
  getUniqueQueryKeys(e) {
627
- return (0, I.default)(e, (e) => e.join("-"));
932
+ return (0, je.default)(e, (e) => e.join("-"));
628
933
  }
629
- getValidQueryData(t) {
630
- let { queryCache: n, queryClient: r } = e.getInstance();
631
- if (!n.find({ queryKey: t })?.state?.isInvalidated) return r.getQueryData(t);
632
- }
633
- initialize(t) {
634
- if (this.queryKeyDependencies) throw Error("QueryClientService already initialized");
635
- this.queryKeyDependencies = e.mergeQueryKeyDependencies(t.queryKeyDependencies);
636
- let n = new k({}), r = new D({}), a = new A({
637
- defaultOptions: { queries: {
638
- gcTime: Infinity,
639
- retry: i.getInstance().config.queryClient.retry,
640
- retryDelay: i.getInstance().config.queryClient.retryDelay,
641
- staleTime: Infinity
642
- } },
643
- mutationCache: r,
644
- queryCache: n
645
- });
646
- this.queryCache = n, this.mutationCache = r, this.queryClient = a;
934
+ getValidQueryData(e) {
935
+ if (!this.queryCache.find({ queryKey: e })?.state?.isInvalidated) return this.queryClient.getQueryData(e);
647
936
  }
648
937
  async invalidateQueryKeys(e) {
649
938
  for (let t of this.getUniqueQueryKeys(e ?? [])) await this.queryClient.cancelQueries({ queryKey: t }), await this.queryClient.invalidateQueries({ queryKey: t });
@@ -658,10 +947,11 @@ var k = class extends d {
658
947
  let r = [...t];
659
948
  return this.getDirectQueryKeyDependents(e).forEach((t) => {
660
949
  r.includes(t) || (r.push(t), r.push(...this.getQueryKeyDependenciesInternal(t, [...r], n ?? e)));
661
- }), (0, P.default)((0, F.default)(r), (e) => e !== n);
950
+ }), (0, ke.default)((0, Ae.default)(r), (e) => e !== n);
662
951
  }
663
952
  };
953
+ $ = Q = ae([oe()], $);
664
954
  //#endregion
665
- export { E as n, L as t };
955
+ export { W as a, G as i, Z as n, Y as r, $ as t };
666
956
 
667
957
  //# sourceMappingURL=QueryClientService.js.map