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

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/filters/BooleanFilter.d.ts +1 -1
  70. package/dist/classes/filters/DateFilter.d.ts +2 -2
  71. package/dist/classes/filters/GeoFilter.d.ts +2 -2
  72. package/dist/classes/filters/MultiSelectFilter.d.ts +2 -2
  73. package/dist/classes/filters/NumberRangeFilter.d.ts +1 -1
  74. package/dist/classes/filters/TextFilter.d.ts +1 -1
  75. package/dist/classes/services/AuthenticationService/AuthenticationService.d.ts +5 -3
  76. package/dist/classes/services/AuthenticationService/index.js +34 -661
  77. package/dist/classes/services/AuthenticationService/index.js.map +1 -1
  78. package/dist/classes/services/AuthorizationService/AuthorizationService.d.ts +4 -4
  79. package/dist/classes/services/AuthorizationService/index.js +12 -10
  80. package/dist/classes/services/AuthorizationService/index.js.map +1 -1
  81. package/dist/classes/services/BackendVersionService/BackendVersionService.d.ts +0 -3
  82. package/dist/classes/services/BackendVersionService/index.js +5 -8
  83. package/dist/classes/services/BackendVersionService/index.js.map +1 -1
  84. package/dist/classes/services/BreadcrumbService/BreadcrumbService.d.ts +1 -3
  85. package/dist/classes/services/BreadcrumbService/index.js +19 -21
  86. package/dist/classes/services/BreadcrumbService/index.js.map +1 -1
  87. package/dist/classes/services/EmotionCacheService/EmotionCacheService.d.ts +4 -4
  88. package/dist/classes/services/EmotionCacheService/index.js +17 -14
  89. package/dist/classes/services/EmotionCacheService/index.js.map +1 -1
  90. package/dist/classes/services/FeatureFlagsService/FeatureFlagsService.d.ts +0 -3
  91. package/dist/classes/services/FeatureFlagsService/index.js +5 -8
  92. package/dist/classes/services/FeatureFlagsService/index.js.map +1 -1
  93. package/dist/classes/services/I18nService/I18nService.d.ts +3 -3
  94. package/dist/classes/services/I18nService/index.js +25 -29
  95. package/dist/classes/services/I18nService/index.js.map +1 -1
  96. package/dist/classes/services/InactivityService/InactivityService.d.ts +6 -3
  97. package/dist/classes/services/InactivityService/index.js +42 -36
  98. package/dist/classes/services/InactivityService/index.js.map +1 -1
  99. package/dist/classes/services/LogService/LogService.d.ts +7 -4
  100. package/dist/classes/services/LogService/index.js +39 -32
  101. package/dist/classes/services/LogService/index.js.map +1 -1
  102. package/dist/classes/services/NavigationHistoryService/NavigationHistoryService.d.ts +0 -3
  103. package/dist/classes/services/NavigationHistoryService/index.js +5 -8
  104. package/dist/classes/services/NavigationHistoryService/index.js.map +1 -1
  105. package/dist/classes/services/NotificationService/NotificationService.d.ts +4 -4
  106. package/dist/classes/services/NotificationService/index.js +21 -21
  107. package/dist/classes/services/NotificationService/index.js.map +1 -1
  108. package/dist/classes/services/PageEventBusService/PageEventBusService.d.ts +4 -3
  109. package/dist/classes/services/PageEventBusService/index.js +18 -15
  110. package/dist/classes/services/PageEventBusService/index.js.map +1 -1
  111. package/dist/classes/services/QueryClientService/QueryClientService.d.ts +6 -7
  112. package/dist/classes/services/QueryClientService/index.js +1 -2
  113. package/dist/classes/services/RouterService/RouterService.d.ts +6 -9
  114. package/dist/classes/services/RouterService/index.js +8 -12
  115. package/dist/classes/services/RouterService/index.js.map +1 -1
  116. package/dist/classes/services/UserSettingsService/UserSettingsService.d.ts +0 -3
  117. package/dist/classes/services/UserSettingsService/index.js +5 -8
  118. package/dist/classes/services/UserSettingsService/index.js.map +1 -1
  119. package/dist/components/app/App/App.d.ts +5 -1
  120. package/dist/components/app/App/index.js +31 -37
  121. package/dist/components/app/App/index.js.map +1 -1
  122. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js +50 -49
  123. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js.map +1 -1
  124. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js +42 -41
  125. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js.map +1 -1
  126. package/dist/components/app/AuthenticationWrapper/index.js +68 -67
  127. package/dist/components/app/AuthenticationWrapper/index.js.map +1 -1
  128. package/dist/components/app/AuthorizationWrapper/index.js +33 -32
  129. package/dist/components/app/AuthorizationWrapper/index.js.map +1 -1
  130. package/dist/components/app/RouterRoot/index.js +62 -61
  131. package/dist/components/app/RouterRoot/index.js.map +1 -1
  132. package/dist/components/epi/EpiContactDetailsDialog/index.js +38 -37
  133. package/dist/components/epi/EpiContactDetailsDialog/index.js.map +1 -1
  134. package/dist/components/filters/BooleanFilterField/index.js +5 -5
  135. package/dist/components/filters/BooleanFilterField/index.js.map +1 -1
  136. package/dist/components/filters/DateFilterField/index.js +3 -3
  137. package/dist/components/filters/DateFilterField/index.js.map +1 -1
  138. package/dist/components/filters/GeoFilterField/index.js +4 -4
  139. package/dist/components/filters/GeoFilterField/index.js.map +1 -1
  140. package/dist/components/filters/MultiSelectFilterField/index.js +4 -4
  141. package/dist/components/filters/MultiSelectFilterField/index.js.map +1 -1
  142. package/dist/components/filters/NumberRangeFilterField/index.js +3 -3
  143. package/dist/components/filters/NumberRangeFilterField/index.js.map +1 -1
  144. package/dist/components/filters/TextFilterField/index.js +3 -3
  145. package/dist/components/filters/TextFilterField/index.js.map +1 -1
  146. package/dist/components/ui/ApplicationBar/index.js +242 -241
  147. package/dist/components/ui/ApplicationBar/index.js.map +1 -1
  148. package/dist/components/ui/ApplicationFooter/index.js +1 -2
  149. package/dist/components/ui/Breadcrumbs/Breadcrumb.d.ts +1 -1
  150. package/dist/components/ui/Breadcrumbs/index.js +1 -2
  151. package/dist/components/ui/ConsentDialog/index.js +11 -6
  152. package/dist/components/ui/ConsentDialog/index.js.map +1 -1
  153. package/dist/components/ui/GenericErrorMessage/index.js +51 -50
  154. package/dist/components/ui/GenericErrorMessage/index.js.map +1 -1
  155. package/dist/components/ui/LicensesDialog/index.js +66 -69
  156. package/dist/components/ui/LicensesDialog/index.js.map +1 -1
  157. package/dist/components/ui/MyPermissionsDialog/index.js +26 -25
  158. package/dist/components/ui/MyPermissionsDialog/index.js.map +1 -1
  159. package/dist/components/ui/NavLink/index.js +6 -6
  160. package/dist/components/ui/NavLink/index.js.map +1 -1
  161. package/dist/components/ui/Notifications/NotificationItem.d.ts +1 -1
  162. package/dist/components/ui/Notifications/index.js +1 -2
  163. package/dist/components/ui/OrganizationSwitcherDialog/index.js +69 -76
  164. package/dist/components/ui/OrganizationSwitcherDialog/index.js.map +1 -1
  165. package/dist/components/ui/OutageList/index.js +1 -2
  166. package/dist/components/ui/OutagesDialog/index.js.map +1 -1
  167. package/dist/components/ui/PageContainer/PageContainer.d.ts +1 -1
  168. package/dist/components/ui/PageContainer/index.js +57 -52
  169. package/dist/components/ui/PageContainer/index.js.map +1 -1
  170. package/dist/components/ui/ResponseHandler/ResponseHandler.d.ts +1 -1
  171. package/dist/components/ui/ResponseHandler/index.js.map +1 -1
  172. package/dist/components/ui/Sidebar/SidebarItem.d.ts +1 -1
  173. package/dist/components/ui/Sidebar/SidebarMenuItem.d.ts +1 -1
  174. package/dist/components/ui/Sidebar/index.js +45 -45
  175. package/dist/components/ui/Sidebar/index.js.map +1 -1
  176. package/dist/components/ui/Table/Table.d.ts +1 -1
  177. package/dist/components/ui/Table/TableActionsCell.d.ts +1 -1
  178. package/dist/components/ui/Table/TableCell.d.ts +1 -1
  179. package/dist/components/ui/Table/TableCheckboxCell.d.ts +1 -1
  180. package/dist/components/ui/Table/TableCheckboxHeader.d.ts +1 -1
  181. package/dist/components/ui/Table/TableColumnsEditorDialog.d.ts +1 -1
  182. package/dist/components/ui/Table/TableFilter.d.ts +2 -2
  183. package/dist/components/ui/Table/TableHeaderCell.d.ts +1 -1
  184. package/dist/components/ui/Table/TableHeaderFilter.d.ts +2 -2
  185. package/dist/components/ui/Table/TableReadableIndexCell.d.ts +1 -1
  186. package/dist/components/ui/Table/index.js +1 -2
  187. package/dist/components/ui/UserFeedbackDialog/index.js +65 -64
  188. package/dist/components/ui/UserFeedbackDialog/index.js.map +1 -1
  189. package/dist/components/ui/UserInactivityConfirmation/index.js +26 -25
  190. package/dist/components/ui/UserInactivityConfirmation/index.js.map +1 -1
  191. package/dist/constants/api.constants.d.ts +8 -0
  192. package/dist/constants/api.constants.js +6 -0
  193. package/dist/constants/api.constants.js.map +1 -0
  194. package/dist/constants/config.constants.d.ts +5 -0
  195. package/dist/constants/config.constants.js +6 -0
  196. package/dist/constants/config.constants.js.map +1 -0
  197. package/dist/constants/{query.js → query.constants.js} +2 -2
  198. package/dist/constants/query.constants.js.map +1 -0
  199. package/dist/context/uiClientCommonConfigContext/UiClientCommonConfigContext.d.ts +6 -2
  200. package/dist/context/uiClientCommonConfigContext/UiClientCommonConfigContextProvider.d.ts +2 -2
  201. package/dist/context/uiClientCommonConfigContext/index.js +28 -12
  202. package/dist/context/uiClientCommonConfigContext/index.js.map +1 -1
  203. package/dist/context/uiClientCommonConfigContext/useUiClientCommonConfigContext.d.ts +2 -1
  204. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js +17 -16
  205. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js.map +1 -1
  206. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/useIdentifierIssuerOwnOrganizationQuery.d.ts +1 -1
  207. package/dist/dataHooks/useIdentifierIssuerQuery/index.js +18 -17
  208. package/dist/dataHooks/useIdentifierIssuerQuery/index.js.map +1 -1
  209. package/dist/dataHooks/useIdentifierIssuerQuery/useIdentifierIssuerQuery.d.ts +1 -1
  210. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js +11 -10
  211. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js.map +1 -1
  212. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js +22 -21
  213. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js.map +1 -1
  214. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/useOrganizationAdminPoliciesQuery.d.ts +1 -1
  215. package/dist/dataHooks/useOrganizationIdentifierIssuerLinksQuery/index.js +8 -7
  216. package/dist/dataHooks/useOrganizationIdentifierIssuerLinksQuery/index.js.map +1 -1
  217. package/dist/dataHooks/useOrganizationsQuery/index.js +17 -16
  218. package/dist/dataHooks/useOrganizationsQuery/index.js.map +1 -1
  219. package/dist/dataHooks/useOrganizationsQuery/useOrganizationsQuery.d.ts +1 -1
  220. package/dist/dataHooks/useUsersQuery/index.js +18 -17
  221. package/dist/dataHooks/useUsersQuery/index.js.map +1 -1
  222. package/dist/dataHooks/useUsersQuery/useUsersQuery.d.ts +1 -1
  223. package/dist/hoc/withPermissions/index.js +12 -11
  224. package/dist/hoc/withPermissions/index.js.map +1 -1
  225. package/dist/hooks/useColumnsMenu/index.js +1 -2
  226. package/dist/hooks/useColumnsMenu/useColumnsMenu.d.ts +2 -2
  227. package/dist/hooks/useConfig/index.d.ts +1 -0
  228. package/dist/hooks/useConfig/index.js +7 -0
  229. package/dist/hooks/useConfig/index.js.map +1 -0
  230. package/dist/hooks/useConfig/useConfig.d.ts +2 -0
  231. package/dist/hooks/useCreateMutation/index.js +25 -24
  232. package/dist/hooks/useCreateMutation/index.js.map +1 -1
  233. package/dist/hooks/useCreateMutation/useCreateMutation.d.ts +1 -1
  234. package/dist/hooks/useDeleteMutation/index.js +24 -23
  235. package/dist/hooks/useDeleteMutation/index.js.map +1 -1
  236. package/dist/hooks/useDeleteMutation/useDeleteMutation.d.ts +1 -1
  237. package/dist/hooks/useEditMutation/index.js +33 -32
  238. package/dist/hooks/useEditMutation/index.js.map +1 -1
  239. package/dist/hooks/useEditMutation/useEditMutation.d.ts +1 -1
  240. package/dist/hooks/useInitializeTableStore/index.js.map +1 -1
  241. package/dist/hooks/useInitializeTableStore/useInitializeTableStore.d.ts +1 -1
  242. package/dist/hooks/useItemQuery/index.js +36 -35
  243. package/dist/hooks/useItemQuery/index.js.map +1 -1
  244. package/dist/hooks/useItemQuery/useItemQuery.d.ts +1 -1
  245. package/dist/hooks/useQueryMemo/index.js +1 -2
  246. package/dist/hooks/useUpdateBreadcrumb/index.js +10 -9
  247. package/dist/hooks/useUpdateBreadcrumb/index.js.map +1 -1
  248. package/dist/hooks/useUpdateDocumentTitle/index.js +4 -3
  249. package/dist/hooks/useUpdateDocumentTitle/index.js.map +1 -1
  250. package/dist/models/{admin.js → admin.models.js} +2 -2
  251. package/dist/models/admin.models.js.map +1 -0
  252. package/dist/models/{dataHooks.d.ts → data-hooks.models.d.ts} +1 -1
  253. package/dist/models/{table.d.ts → table.models.d.ts} +2 -2
  254. package/dist/models/{table.js → table.models.js} +2 -2
  255. package/dist/models/table.models.js.map +1 -0
  256. package/dist/pages/AcceptInvitationPage/index.js +40 -39
  257. package/dist/pages/AcceptInvitationPage/index.js.map +1 -1
  258. package/dist/pages/AdminPage/index.js +39 -38
  259. package/dist/pages/AdminPage/index.js.map +1 -1
  260. package/dist/pages/ChooseIdentityProviderPage/ChooseIdentityProviderPage.d.ts +1 -1
  261. package/dist/pages/ChooseIdentityProviderPage/index.js +38 -37
  262. package/dist/pages/ChooseIdentityProviderPage/index.js.map +1 -1
  263. package/dist/pages/CrudPage/CrudPage.d.ts +6 -6
  264. package/dist/pages/CrudPage/CrudPageDeleteDialog.d.ts +1 -1
  265. package/dist/pages/CrudPage/CrudPageEditDialog.d.ts +2 -2
  266. package/dist/pages/CrudPage/index.js +1 -2
  267. package/dist/pages/ErrorPage/index.js.map +1 -1
  268. package/dist/pages/IdentifierIssuersAdminPage/index.js +41 -40
  269. package/dist/pages/IdentifierIssuersAdminPage/index.js.map +1 -1
  270. package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js +58 -57
  271. package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js.map +1 -1
  272. package/dist/pages/OrganizationContactsAdminPage/index.js +49 -48
  273. package/dist/pages/OrganizationContactsAdminPage/index.js.map +1 -1
  274. package/dist/pages/OrganizationSitesAdminPage/index.js +44 -43
  275. package/dist/pages/OrganizationSitesAdminPage/index.js.map +1 -1
  276. package/dist/pages/OrganizationsAdminPage/index.js +57 -56
  277. package/dist/pages/OrganizationsAdminPage/index.js.map +1 -1
  278. package/dist/pages/OutagesAdminPage/index.js +63 -62
  279. package/dist/pages/OutagesAdminPage/index.js.map +1 -1
  280. package/dist/pages/PostLoginPage/index.js +14 -13
  281. package/dist/pages/PostLoginPage/index.js.map +1 -1
  282. package/dist/pages/PostLogoutPage/index.js +19 -18
  283. package/dist/pages/PostLogoutPage/index.js.map +1 -1
  284. package/dist/pages/RouterErrorPage/index.js.map +1 -1
  285. package/dist/pages/UserInvitationsAdminPage/index.js +1 -2
  286. package/dist/pages/UsersAdminPage/UsersAdminPage.d.ts +1 -1
  287. package/dist/pages/UsersAdminPage/index.js +110 -109
  288. package/dist/pages/UsersAdminPage/index.js.map +1 -1
  289. package/dist/routes/adminRoutes.d.ts +1 -1
  290. package/dist/routes/index.js +1 -1
  291. package/dist/routes/index.js.map +1 -1
  292. package/dist/routes/routes.d.ts +1 -1
  293. package/dist/setup/setup.js.map +1 -1
  294. package/dist/stores/oidcStore/index.js.map +1 -1
  295. package/dist/stores/outagesStore/index.js.map +1 -1
  296. package/dist/stores/outagesStore/outagesStore.d.ts +1 -1
  297. package/dist/stores/tableStore/index.js +1 -2
  298. package/dist/stores/tableStore/tableStore.d.ts +2 -2
  299. package/dist/theme/demoTheme/index.js.map +1 -1
  300. package/dist/utils/AxiosUtil/index.js.map +1 -1
  301. package/dist/utils/DataHookUtil/DataHookUtil.d.ts +1 -1
  302. package/dist/utils/DataHookUtil/index.js.map +1 -1
  303. package/dist/utils/DependencyContainerUtil/DependencyContainerUtil.d.ts +6 -0
  304. package/dist/utils/DependencyContainerUtil/index.d.ts +1 -0
  305. package/dist/utils/DependencyContainerUtil/index.js +22 -0
  306. package/dist/utils/DependencyContainerUtil/index.js.map +1 -0
  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 +96 -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/table.js.map +0 -1
  341. /package/dist/constants/{query.d.ts → query.constants.d.ts} +0 -0
  342. /package/dist/models/{admin.d.ts → admin.models.d.ts} +0 -0
  343. /package/dist/models/{api.d.ts → api.models.d.ts} +0 -0
  344. /package/dist/models/{api.js → api.models.js} +0 -0
  345. /package/dist/models/{auth.d.ts → auth.models.d.ts} +0 -0
  346. /package/dist/models/{auth.js → auth.models.js} +0 -0
  347. /package/dist/models/{config.d.ts → config.models.d.ts} +0 -0
  348. /package/dist/models/{config.js → config.models.js} +0 -0
  349. /package/dist/models/{data.js → data-hooks.models.js} +0 -0
  350. /package/dist/models/{data.d.ts → data.models.d.ts} +0 -0
  351. /package/dist/models/{dataHooks.js → data.models.js} +0 -0
  352. /package/dist/models/{filter.d.ts → filter.models.d.ts} +0 -0
  353. /package/dist/models/{filter.js → filter.models.js} +0 -0
  354. /package/dist/models/{notification.d.ts → notification.models.d.ts} +0 -0
  355. /package/dist/models/{notification.js → notification.models.js} +0 -0
  356. /package/dist/models/{outage.d.ts → outage.models.d.ts} +0 -0
  357. /package/dist/models/{outage.js → outage.models.js} +0 -0
  358. /package/dist/models/{reactRouter.d.ts → react-router.models.d.ts} +0 -0
  359. /package/dist/models/{reactRouter.js → react-router.models.js} +0 -0
  360. /package/dist/models/{theme.d.ts → theme.models.d.ts} +0 -0
  361. /package/dist/models/{theme.js → theme.models.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/utils/AxiosUtil/AxiosUtil.ts"],"sourcesContent":["import type { AxiosError } from 'axios';\nimport {\n CanceledError,\n isAxiosError,\n} from 'axios';\n\nexport class AxiosUtil {\n public static isAxiosBadRequestError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 400);\n }\n\n public static isAxiosCanceledError(error: unknown): error is CanceledError<unknown> {\n return error instanceof CanceledError;\n }\n\n public static isAxiosConflictError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 409);\n }\n\n public static isAxiosForbiddenError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 403);\n }\n\n public static isAxiosInternalServerError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 500);\n }\n\n public static isAxiosNotFoundError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 404);\n }\n\n public static isAxiosRequestErrorWithCode(error: unknown, status: number): error is AxiosError<unknown> {\n return isAxiosError(error) && error?.response?.status === status;\n }\n\n public static isAxiosTimeoutError(error: unknown): error is AxiosError<unknown> {\n return isAxiosError(error) && !AxiosUtil.isAxiosCanceledError(error) && error.code === 'ECONNABORTED';\n }\n\n public static isAxiosUnauthorizedError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 401);\n }\n\n public static isAxiosUnprocessableEntityError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 422);\n }\n}\n"],"mappings":";;AAMA,IAAa,IAAb,MAAa,EAAU;CACrB,OAAc,uBAAuB,GAA8C;EACjF,OAAO,EAAU,4BAA4B,GAAO,GAAG;CACzD;CAEA,OAAc,qBAAqB,GAAiD;EAClF,OAAO,aAAiB;CAC1B;CAEA,OAAc,qBAAqB,GAA8C;EAC/E,OAAO,EAAU,4BAA4B,GAAO,GAAG;CACzD;CAEA,OAAc,sBAAsB,GAA8C;EAChF,OAAO,EAAU,4BAA4B,GAAO,GAAG;CACzD;CAEA,OAAc,2BAA2B,GAA8C;EACrF,OAAO,EAAU,4BAA4B,GAAO,GAAG;CACzD;CAEA,OAAc,qBAAqB,GAA8C;EAC/E,OAAO,EAAU,4BAA4B,GAAO,GAAG;CACzD;CAEA,OAAc,4BAA4B,GAAgB,GAA8C;EACtG,OAAO,EAAa,CAAK,KAAK,GAAO,UAAU,WAAW;CAC5D;CAEA,OAAc,oBAAoB,GAA8C;EAC9E,OAAO,EAAa,CAAK,KAAK,CAAC,EAAU,qBAAqB,CAAK,KAAK,EAAM,SAAS;CACzF;CAEA,OAAc,yBAAyB,GAA8C;EACnF,OAAO,EAAU,4BAA4B,GAAO,GAAG;CACzD;CAEA,OAAc,gCAAgC,GAA8C;EAC1F,OAAO,EAAU,4BAA4B,GAAO,GAAG;CACzD;AACF"}
1
+ {"version":3,"file":"index.js","names":["AxiosUtil","error","CanceledError","isAxiosError","status"],"sources":["../../../src/utils/AxiosUtil/AxiosUtil.ts"],"sourcesContent":["import type { AxiosError } from 'axios';\nimport {\n CanceledError,\n isAxiosError,\n} from 'axios';\n\nexport class AxiosUtil {\n public static isAxiosBadRequestError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 400);\n }\n\n public static isAxiosCanceledError(error: unknown): error is CanceledError<unknown> {\n return error instanceof CanceledError;\n }\n\n public static isAxiosConflictError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 409);\n }\n\n public static isAxiosForbiddenError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 403);\n }\n\n public static isAxiosInternalServerError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 500);\n }\n\n public static isAxiosNotFoundError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 404);\n }\n\n public static isAxiosRequestErrorWithCode(error: unknown, status: number): error is AxiosError<unknown> {\n return isAxiosError(error) && error?.response?.status === status;\n }\n\n public static isAxiosTimeoutError(error: unknown): error is AxiosError<unknown> {\n return isAxiosError(error) && !AxiosUtil.isAxiosCanceledError(error) && error.code === 'ECONNABORTED';\n }\n\n public static isAxiosUnauthorizedError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 401);\n }\n\n public static isAxiosUnprocessableEntityError(error: unknown): error is AxiosError<unknown> {\n return AxiosUtil.isAxiosRequestErrorWithCode(error, 422);\n }\n}\n"],"mappings":";;AAMA,IAAaA,IAAb,MAAaA,EAAU;CACrB,OAAc,uBAAuB,GAA8C;EACjF,OAAOA,EAAU,4BAA4BC,GAAO,GAAG;CACzD;CAEA,OAAc,qBAAqB,GAAiD;EAClF,OAAOA,aAAiBC;CAC1B;CAEA,OAAc,qBAAqB,GAA8C;EAC/E,OAAOF,EAAU,4BAA4BC,GAAO,GAAG;CACzD;CAEA,OAAc,sBAAsB,GAA8C;EAChF,OAAOD,EAAU,4BAA4BC,GAAO,GAAG;CACzD;CAEA,OAAc,2BAA2B,GAA8C;EACrF,OAAOD,EAAU,4BAA4BC,GAAO,GAAG;CACzD;CAEA,OAAc,qBAAqB,GAA8C;EAC/E,OAAOD,EAAU,4BAA4BC,GAAO,GAAG;CACzD;CAEA,OAAc,4BAA4B,GAAgB,GAA8C;EACtG,OAAOE,EAAaF,CAAK,KAAKA,GAAO,UAAU,WAAWG;CAC5D;CAEA,OAAc,oBAAoB,GAA8C;EAC9E,OAAOD,EAAaF,CAAK,KAAK,CAACD,EAAU,qBAAqBC,CAAK,KAAKA,EAAM,SAAS;CACzF;CAEA,OAAc,yBAAyB,GAA8C;EACnF,OAAOD,EAAU,4BAA4BC,GAAO,GAAG;CACzD;CAEA,OAAc,gCAAgC,GAA8C;EAC1F,OAAOD,EAAU,4BAA4BC,GAAO,GAAG;CACzD;AACF"}
@@ -1,5 +1,5 @@
1
1
  import { UseQueryResult } from '@tanstack/react-query';
2
- import { Loadable, UseMap, UseNameFactory, UseOptions } from '../../models/dataHooks';
2
+ import { Loadable, UseMap, UseNameFactory, UseOptions } from '../../models/data-hooks.models';
3
3
  export declare class DataHookUtil {
4
4
  static createUseMapDataHook<TValue>(response: TValue[] | UseQueryResult<TValue[]>, getId: (item: TValue) => string, loadables?: Loadable[]): UseMap<TValue>;
5
5
  static createUseNameFactoryHook<TValue>(getName: (item: TValue) => string, loadables?: Loadable[]): UseNameFactory<TValue>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/utils/DataHookUtil/DataHookUtil.ts"],"sourcesContent":["import type { UseQueryResult } from '@tanstack/react-query';\nimport { StringUtil } from '@gen-epix/ui-core/utils/StringUtil';\n\nimport type {\n Loadable,\n UseMap,\n UseNameFactory,\n UseOptions,\n} from '../../models/dataHooks';\nimport { LoadableUtil } from '../LoadableUtil';\n\nexport class DataHookUtil {\n public static createUseMapDataHook<TValue>(\n response: TValue[] | UseQueryResult<TValue[]>,\n getId: (item: TValue) => string,\n loadables: Loadable[] = [],\n ): UseMap<TValue> {\n const loadablesAndResponse: Loadable[] = [...(DataHookUtil.isResponse(response) ? [response] : []), ...(Array.isArray(loadables) ? loadables : [])];\n\n const isLoading = LoadableUtil.isSomeLoading(loadablesAndResponse);\n const isFetching = LoadableUtil.isSomeFetching(loadablesAndResponse);\n const isPending = LoadableUtil.isSomePending(loadablesAndResponse);\n const isEnabled = LoadableUtil.isAllEnabled(loadablesAndResponse);\n const error = LoadableUtil.findFirstError(loadablesAndResponse);\n\n if (error) {\n return {\n error,\n isEnabled,\n isFetching,\n isLoading,\n isPending,\n map: new Map(),\n };\n }\n\n let map: Map<string, TValue> = new Map();\n if (!isLoading) {\n const items = DataHookUtil.isResponse(response) ? response.data : response;\n map = new Map(items?.map(item => [getId(item), item]));\n }\n\n return {\n error: null,\n isEnabled,\n isFetching,\n isLoading,\n isPending,\n map,\n };\n }\n\n public static createUseNameFactoryHook<TValue>(\n getName: (item: TValue) => string,\n loadables?: Loadable[],\n ): UseNameFactory<TValue> {\n const isLoading = Array.isArray(loadables) ? LoadableUtil.isSomeLoading(loadables) : false;\n const isFetching = Array.isArray(loadables) ? LoadableUtil.isSomeFetching(loadables) : false;\n const isPending = Array.isArray(loadables) ? LoadableUtil.isSomePending(loadables) : false;\n const isEnabled = Array.isArray(loadables) ? LoadableUtil.isAllEnabled(loadables) : false;\n const error = Array.isArray(loadables) ? LoadableUtil.findFirstError(loadables) : null;\n\n if (error) {\n return {\n error,\n getName,\n isEnabled: true,\n isFetching: false,\n isLoading: false,\n isPending: false,\n };\n }\n\n return {\n error,\n getName: isLoading ? () => '' : getName,\n isEnabled,\n isFetching,\n isLoading,\n isPending,\n };\n\n }\n\n public static createUseOptionsDataHook<TItem>(\n response: TItem[] | UseQueryResult<TItem[]>,\n getId: (item: TItem) => string,\n createLabel: (item: TItem) => string,\n loadables?: Loadable[],\n sortComperator?: (a: TItem, b: TItem) => number,\n ): UseOptions<string> {\n const loadablesAndResponse: Loadable[] = [...(DataHookUtil.isResponse(response) ? [response] : []), ...(Array.isArray(loadables) ? loadables : [])];\n\n const isLoading = LoadableUtil.isSomeLoading(loadablesAndResponse);\n const isFetching = LoadableUtil.isSomeFetching(loadablesAndResponse);\n const isPending = LoadableUtil.isSomePending(loadablesAndResponse);\n const isEnabled = LoadableUtil.isAllEnabled(loadablesAndResponse);\n const error = LoadableUtil.findFirstError(loadablesAndResponse);\n\n if (error) {\n return {\n error,\n isEnabled,\n isFetching,\n isLoading,\n isPending,\n options: [],\n };\n }\n\n const sort = sortComperator ?? ((a: TItem, b: TItem) => StringUtil.sortComperator(createLabel(a), createLabel(b)));\n\n let options: {\n label: string;\n value: string;\n }[] = [];\n if (!isLoading) {\n const items = DataHookUtil.isResponse(response) ? response.data : response;\n options = items?.sort(sort).map(item => ({ label: createLabel(item), value: getId(item) })) ?? [];\n }\n\n return {\n error,\n isEnabled,\n isFetching,\n isLoading,\n isPending,\n options,\n };\n }\n\n private static isResponse<TValue>(response: unknown): response is UseQueryResult<TValue> {\n if (!response) {\n return false;\n }\n if (typeof response !== 'object') {\n return false;\n }\n if (!('isLoading' in response) || !('isFetching' in response) || !('isPending' in response) || !('isEnabled' in response) || !('error' in response)) {\n return false;\n }\n return true;\n }\n}\n"],"mappings":";;;AAWA,IAAa,IAAb,MAAa,EAAa;CACxB,OAAc,qBACZ,GACA,GACA,IAAwB,CAAC,GACT;EAChB,IAAM,IAAmC,CAAC,GAAI,EAAa,WAAW,CAAQ,IAAI,CAAC,CAAQ,IAAI,CAAC,GAAI,GAAI,MAAM,QAAQ,CAAS,IAAI,IAAY,CAAC,CAAE,GAE5I,IAAY,EAAa,cAAc,CAAoB,GAC3D,IAAa,EAAa,eAAe,CAAoB,GAC7D,IAAY,EAAa,cAAc,CAAoB,GAC3D,IAAY,EAAa,aAAa,CAAoB,GAC1D,IAAQ,EAAa,eAAe,CAAoB;EAE9D,IAAI,GACF,OAAO;GACL;GACA;GACA;GACA;GACA;GACA,qBAAK,IAAI,IAAI;EACf;EAGF,IAAI,oBAA2B,IAAI,IAAI;EACvC,IAAI,CAAC,GAAW;GACd,IAAM,IAAQ,EAAa,WAAW,CAAQ,IAAI,EAAS,OAAO;GAClE,IAAM,IAAI,IAAI,GAAO,KAAI,MAAQ,CAAC,EAAM,CAAI,GAAG,CAAI,CAAC,CAAC;EACvD;EAEA,OAAO;GACL,OAAO;GACP;GACA;GACA;GACA;GACA;EACF;CACF;CAEA,OAAc,yBACZ,GACA,GACwB;EACxB,IAAM,IAAY,MAAM,QAAQ,CAAS,IAAI,EAAa,cAAc,CAAS,IAAI,IAC/E,IAAa,MAAM,QAAQ,CAAS,IAAI,EAAa,eAAe,CAAS,IAAI,IACjF,IAAY,MAAM,QAAQ,CAAS,IAAI,EAAa,cAAc,CAAS,IAAI,IAC/E,IAAY,MAAM,QAAQ,CAAS,IAAI,EAAa,aAAa,CAAS,IAAI,IAC9E,IAAQ,MAAM,QAAQ,CAAS,IAAI,EAAa,eAAe,CAAS,IAAI;EAalF,OAXI,IACK;GACL;GACA;GACA,WAAW;GACX,YAAY;GACZ,WAAW;GACX,WAAW;EACb,IAGK;GACL;GACA,SAAS,UAAkB,KAAK;GAChC;GACA;GACA;GACA;EACF;CAEF;CAEA,OAAc,yBACZ,GACA,GACA,GACA,GACA,GACoB;EACpB,IAAM,IAAmC,CAAC,GAAI,EAAa,WAAW,CAAQ,IAAI,CAAC,CAAQ,IAAI,CAAC,GAAI,GAAI,MAAM,QAAQ,CAAS,IAAI,IAAY,CAAC,CAAE,GAE5I,IAAY,EAAa,cAAc,CAAoB,GAC3D,IAAa,EAAa,eAAe,CAAoB,GAC7D,IAAY,EAAa,cAAc,CAAoB,GAC3D,IAAY,EAAa,aAAa,CAAoB,GAC1D,IAAQ,EAAa,eAAe,CAAoB;EAE9D,IAAI,GACF,OAAO;GACL;GACA;GACA;GACA;GACA;GACA,SAAS,CAAC;EACZ;EAGF,IAAM,IAAO,OAAoB,GAAU,MAAa,EAAW,eAAe,EAAY,CAAC,GAAG,EAAY,CAAC,CAAC,IAE5G,IAGE,CAAC;EAMP,OALK,MAEH,KADc,EAAa,WAAW,CAAQ,IAAI,EAAS,OAAO,EAAA,EACjD,KAAK,CAAI,CAAC,CAAC,KAAI,OAAS;GAAE,OAAO,EAAY,CAAI;GAAG,OAAO,EAAM,CAAI;EAAE,EAAE,KAAK,CAAC,IAG3F;GACL;GACA;GACA;GACA;GACA;GACA;EACF;CACF;CAEA,OAAe,WAAmB,GAAuD;EAUvF,OAHA,EANI,CAAC,KAGD,OAAO,KAAa,YAGpB,EAAE,eAAe,MAAa,EAAE,gBAAgB,MAAa,EAAE,eAAe,MAAa,EAAE,eAAe,MAAa,EAAE,WAAW;CAI5I;AACF"}
1
+ {"version":3,"file":"index.js","names":["DataHookUtil","loadablesAndResponse","response","loadables","isLoading","LoadableUtil","isFetching","isPending","isEnabled","error","map","items","getId","item","getName","sort","sortComperator","StringUtil","createLabel","a","b","options"],"sources":["../../../src/utils/DataHookUtil/DataHookUtil.ts"],"sourcesContent":["import type { UseQueryResult } from '@tanstack/react-query';\nimport { StringUtil } from '@gen-epix/ui-core/utils/StringUtil';\n\nimport type {\n Loadable,\n UseMap,\n UseNameFactory,\n UseOptions,\n} from '../../models/data-hooks.models';\nimport { LoadableUtil } from '../LoadableUtil';\n\nexport class DataHookUtil {\n public static createUseMapDataHook<TValue>(\n response: TValue[] | UseQueryResult<TValue[]>,\n getId: (item: TValue) => string,\n loadables: Loadable[] = [],\n ): UseMap<TValue> {\n const loadablesAndResponse: Loadable[] = [...(DataHookUtil.isResponse(response) ? [response] : []), ...(Array.isArray(loadables) ? loadables : [])];\n\n const isLoading = LoadableUtil.isSomeLoading(loadablesAndResponse);\n const isFetching = LoadableUtil.isSomeFetching(loadablesAndResponse);\n const isPending = LoadableUtil.isSomePending(loadablesAndResponse);\n const isEnabled = LoadableUtil.isAllEnabled(loadablesAndResponse);\n const error = LoadableUtil.findFirstError(loadablesAndResponse);\n\n if (error) {\n return {\n error,\n isEnabled,\n isFetching,\n isLoading,\n isPending,\n map: new Map(),\n };\n }\n\n let map: Map<string, TValue> = new Map();\n if (!isLoading) {\n const items = DataHookUtil.isResponse(response) ? response.data : response;\n map = new Map(items?.map(item => [getId(item), item]));\n }\n\n return {\n error: null,\n isEnabled,\n isFetching,\n isLoading,\n isPending,\n map,\n };\n }\n\n public static createUseNameFactoryHook<TValue>(\n getName: (item: TValue) => string,\n loadables?: Loadable[],\n ): UseNameFactory<TValue> {\n const isLoading = Array.isArray(loadables) ? LoadableUtil.isSomeLoading(loadables) : false;\n const isFetching = Array.isArray(loadables) ? LoadableUtil.isSomeFetching(loadables) : false;\n const isPending = Array.isArray(loadables) ? LoadableUtil.isSomePending(loadables) : false;\n const isEnabled = Array.isArray(loadables) ? LoadableUtil.isAllEnabled(loadables) : false;\n const error = Array.isArray(loadables) ? LoadableUtil.findFirstError(loadables) : null;\n\n if (error) {\n return {\n error,\n getName,\n isEnabled: true,\n isFetching: false,\n isLoading: false,\n isPending: false,\n };\n }\n\n return {\n error,\n getName: isLoading ? () => '' : getName,\n isEnabled,\n isFetching,\n isLoading,\n isPending,\n };\n\n }\n\n public static createUseOptionsDataHook<TItem>(\n response: TItem[] | UseQueryResult<TItem[]>,\n getId: (item: TItem) => string,\n createLabel: (item: TItem) => string,\n loadables?: Loadable[],\n sortComperator?: (a: TItem, b: TItem) => number,\n ): UseOptions<string> {\n const loadablesAndResponse: Loadable[] = [...(DataHookUtil.isResponse(response) ? [response] : []), ...(Array.isArray(loadables) ? loadables : [])];\n\n const isLoading = LoadableUtil.isSomeLoading(loadablesAndResponse);\n const isFetching = LoadableUtil.isSomeFetching(loadablesAndResponse);\n const isPending = LoadableUtil.isSomePending(loadablesAndResponse);\n const isEnabled = LoadableUtil.isAllEnabled(loadablesAndResponse);\n const error = LoadableUtil.findFirstError(loadablesAndResponse);\n\n if (error) {\n return {\n error,\n isEnabled,\n isFetching,\n isLoading,\n isPending,\n options: [],\n };\n }\n\n const sort = sortComperator ?? ((a: TItem, b: TItem) => StringUtil.sortComperator(createLabel(a), createLabel(b)));\n\n let options: {\n label: string;\n value: string;\n }[] = [];\n if (!isLoading) {\n const items = DataHookUtil.isResponse(response) ? response.data : response;\n options = items?.sort(sort).map(item => ({ label: createLabel(item), value: getId(item) })) ?? [];\n }\n\n return {\n error,\n isEnabled,\n isFetching,\n isLoading,\n isPending,\n options,\n };\n }\n\n private static isResponse<TValue>(response: unknown): response is UseQueryResult<TValue> {\n if (!response) {\n return false;\n }\n if (typeof response !== 'object') {\n return false;\n }\n if (!('isLoading' in response) || !('isFetching' in response) || !('isPending' in response) || !('isEnabled' in response) || !('error' in response)) {\n return false;\n }\n return true;\n }\n}\n"],"mappings":";;;AAWA,IAAaA,IAAb,MAAaA,EAAa;CACxB,OAAc,qBACZ,GACA,GACA,IAAwB,CAAC,GACT;EAChB,IAAMC,IAAmC,CAAC,GAAID,EAAa,WAAWE,CAAQ,IAAI,CAACA,CAAQ,IAAI,CAAC,GAAI,GAAI,MAAM,QAAQC,CAAS,IAAIA,IAAY,CAAC,CAAE,GAE5IC,IAAYC,EAAa,cAAcJ,CAAoB,GAC3DK,IAAaD,EAAa,eAAeJ,CAAoB,GAC7DM,IAAYF,EAAa,cAAcJ,CAAoB,GAC3DO,IAAYH,EAAa,aAAaJ,CAAoB,GAC1DQ,IAAQJ,EAAa,eAAeJ,CAAoB;EAE9D,IAAIQ,GACF,OAAO;GACL;GACA;GACA;GACA;GACA;GACA,qBAAK,IAAI,IAAI;EACf;EAGF,IAAIC,oBAA2B,IAAI,IAAI;EACvC,IAAI,CAACN,GAAW;GACd,IAAMO,IAAQX,EAAa,WAAWE,CAAQ,IAAIA,EAAS,OAAOA;GAClE,IAAM,IAAI,IAAIS,GAAO,KAAI,MAAQ,CAACC,EAAMC,CAAI,GAAGA,CAAI,CAAC,CAAC;EACvD;EAEA,OAAO;GACL,OAAO;GACP;GACA;GACA;GACA;GACA;EACF;CACF;CAEA,OAAc,yBACZ,GACA,GACwB;EACxB,IAAMT,IAAY,MAAM,QAAQD,CAAS,IAAIE,EAAa,cAAcF,CAAS,IAAI,IAC/EG,IAAa,MAAM,QAAQH,CAAS,IAAIE,EAAa,eAAeF,CAAS,IAAI,IACjFI,IAAY,MAAM,QAAQJ,CAAS,IAAIE,EAAa,cAAcF,CAAS,IAAI,IAC/EK,IAAY,MAAM,QAAQL,CAAS,IAAIE,EAAa,aAAaF,CAAS,IAAI,IAC9EM,IAAQ,MAAM,QAAQN,CAAS,IAAIE,EAAa,eAAeF,CAAS,IAAI;EAalF,OAXIM,IACK;GACL;GACA;GACA,WAAW;GACX,YAAY;GACZ,WAAW;GACX,WAAW;EACb,IAGK;GACL;GACA,SAASL,UAAkB,KAAKU;GAChC;GACA;GACA;GACA;EACF;CAEF;CAEA,OAAc,yBACZ,GACA,GACA,GACA,GACA,GACoB;EACpB,IAAMb,IAAmC,CAAC,GAAID,EAAa,WAAWE,CAAQ,IAAI,CAACA,CAAQ,IAAI,CAAC,GAAI,GAAI,MAAM,QAAQC,CAAS,IAAIA,IAAY,CAAC,CAAE,GAE5IC,IAAYC,EAAa,cAAcJ,CAAoB,GAC3DK,IAAaD,EAAa,eAAeJ,CAAoB,GAC7DM,IAAYF,EAAa,cAAcJ,CAAoB,GAC3DO,IAAYH,EAAa,aAAaJ,CAAoB,GAC1DQ,IAAQJ,EAAa,eAAeJ,CAAoB;EAE9D,IAAIQ,GACF,OAAO;GACL;GACA;GACA;GACA;GACA;GACA,SAAS,CAAC;EACZ;EAGF,IAAMM,IAAOC,OAAoB,GAAU,MAAaC,EAAW,eAAeC,EAAYC,CAAC,GAAGD,EAAYE,CAAC,CAAC,IAE5GC,IAGE,CAAC;EAMP,OALKjB,MAEH,KADcJ,EAAa,WAAWE,CAAQ,IAAIA,EAAS,OAAOA,EAAA,EACjD,KAAKa,CAAI,CAAC,CAAC,KAAI,OAAS;GAAE,OAAOG,EAAYL,CAAI;GAAG,OAAOD,EAAMC,CAAI;EAAE,EAAE,KAAK,CAAC,IAG3F;GACL;GACA;GACA;GACA;GACA;GACA;EACF;CACF;CAEA,OAAe,WAAmB,GAAuD;EAUvF,OAHA,EANI,CAACX,KAGD,OAAOA,KAAa,YAGpB,EAAE,eAAeA,MAAa,EAAE,gBAAgBA,MAAa,EAAE,eAAeA,MAAa,EAAE,eAAeA,MAAa,EAAE,WAAWA;CAI5I;AACF"}
@@ -0,0 +1,6 @@
1
+ import { DependencyContainer } from 'tsyringe';
2
+ import { ConfigBase } from '../../models/config.models';
3
+ export declare class DependencyContainerUtil {
4
+ static createUiClientCommonContainer<TConfig extends ConfigBase>(config: TConfig): DependencyContainer;
5
+ static resolveConfig<TConfig extends ConfigBase = ConfigBase>(container?: DependencyContainer): TConfig;
6
+ }
@@ -0,0 +1 @@
1
+ export * from './DependencyContainerUtil';
@@ -0,0 +1,22 @@
1
+ import { t as e } from "../../_chunks/QueryClientService.js";
2
+ import { t } from "../../_chunks/Reflect.js";
3
+ import { CONFIG_TOKEN as n, WINDOW_SERVICE_TOKEN as r } from "../../constants/config.constants.js";
4
+ import { WindowService as i } from "@gen-epix/ui-core/classes/services/WindowService";
5
+ import { container as a } from "tsyringe";
6
+ t();
7
+ var o = class {
8
+ static createUiClientCommonContainer(t) {
9
+ let o = a;
10
+ return o.register(n, { useValue: t }), o.registerInstance(r, i.getInstance()), o.register(e, { useFactory: () => new e({
11
+ config: t,
12
+ queryKeyDependencies: []
13
+ }) }), o;
14
+ }
15
+ static resolveConfig(e = a) {
16
+ return e.resolve(n);
17
+ }
18
+ };
19
+ //#endregion
20
+ export { o as DependencyContainerUtil };
21
+
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["container","rootContainer","QueryClientService","require_Reflect","DependencyContainerUtil","container$1","container","CONFIG_TOKEN","config","WINDOW_SERVICE_TOKEN","WindowService","container$2"],"sources":["../../../src/utils/DependencyContainerUtil/DependencyContainerUtil.ts"],"sourcesContent":["import 'reflect-metadata';\nimport { container as rootContainer } from 'tsyringe';\nimport type { DependencyContainer } from 'tsyringe';\nimport { WindowService } from '@gen-epix/ui-core/classes/services/WindowService';\n\nimport { QueryClientService } from '../../classes/services/QueryClientService';\nimport {\n CONFIG_TOKEN,\n WINDOW_SERVICE_TOKEN,\n} from '../../constants/config.constants';\nimport type { ConfigBase } from '../../models/config.models';\n\nexport class DependencyContainerUtil {\n public static createUiClientCommonContainer<TConfig extends ConfigBase>(config: TConfig): DependencyContainer {\n const container = rootContainer;\n container.register(CONFIG_TOKEN, { useValue: config });\n container.registerInstance(WINDOW_SERVICE_TOKEN, WindowService.getInstance());\n container.register(QueryClientService, {\n // eslint-disable-next-line @eslint-react/no-unnecessary-use-prefix\n useFactory: () => new QueryClientService({\n config,\n queryKeyDependencies: [],\n }),\n });\n return container;\n }\n\n public static resolveConfig<TConfig extends ConfigBase = ConfigBase>(container: DependencyContainer = rootContainer): TConfig {\n return container.resolve(CONFIG_TOKEN) as TConfig;\n }\n}\n"],"mappings":";;;;;;AAYA,IAAaI,IAAb,MAAqC;CACnC,OAAc,8BAA0D,GAAsC;EAC5G,IAAMJ,IAAYC;EAUlB,OATAI,EAAU,SAASE,GAAc,EAAE,UAAUC,EAAO,CAAC,GACrDH,EAAU,iBAAiBI,GAAsBC,EAAc,YAAY,CAAC,GAC5EL,EAAU,SAASH,GAAoB,EAErC,kBAAkB,IAAIA,EAAmB;GACvC;GACA,sBAAsB,CAAC;EACzB,CAAC,EACH,CAAC,GACMF;CACT;CAEA,OAAc,cAAuD,IAAiCC,GAAwB;EAC5H,OAAOD,EAAU,QAAQO,CAAY;CACvC;AACF"}
@@ -1,4 +1,4 @@
1
- import { Loadable } from '../../models/dataHooks';
1
+ import { Loadable } from '../../models/data-hooks.models';
2
2
  export declare class LoadableUtil {
3
3
  static findFirstError(loadables: Loadable[]): unknown;
4
4
  static hasSomeError(loadables: Loadable[]): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/utils/LoadableUtil/LoadableUtil.ts"],"sourcesContent":["import type { Loadable } from '../../models/dataHooks';\n\nexport class LoadableUtil {\n public static findFirstError(loadables: Loadable[]): unknown {\n const loadableWithError = loadables.find(loadable => loadable.isEnabled && loadable.error);\n return loadableWithError?.error;\n }\n\n public static hasSomeError(loadables: Loadable[]): boolean {\n return loadables.some(loadable => loadable.isEnabled && !!loadable.error);\n }\n\n public static isAllEnabled(loadables: Loadable[]): boolean {\n return loadables.every(loadable => loadable.isEnabled);\n }\n\n public static isSomeFetching(loadables: Loadable[]): boolean {\n return loadables.some(loadable => loadable.isEnabled && loadable.isFetching);\n }\n\n public static isSomeLoading(loadables: Loadable[]): boolean {\n return loadables.some(loadable => loadable.isEnabled && loadable.isLoading);\n }\n\n public static isSomePending(loadables: Loadable[]): boolean {\n return loadables.some(loadable => loadable.isEnabled && loadable.isPending);\n }\n}\n"],"mappings":";AAEA,IAAa,IAAb,MAA0B;CACxB,OAAc,eAAe,GAAgC;EAE3D,OAD0B,EAAU,MAAK,MAAY,EAAS,aAAa,EAAS,KAC7E,CAAA,EAAmB;CAC5B;CAEA,OAAc,aAAa,GAAgC;EACzD,OAAO,EAAU,MAAK,MAAY,EAAS,aAAa,CAAC,CAAC,EAAS,KAAK;CAC1E;CAEA,OAAc,aAAa,GAAgC;EACzD,OAAO,EAAU,OAAM,MAAY,EAAS,SAAS;CACvD;CAEA,OAAc,eAAe,GAAgC;EAC3D,OAAO,EAAU,MAAK,MAAY,EAAS,aAAa,EAAS,UAAU;CAC7E;CAEA,OAAc,cAAc,GAAgC;EAC1D,OAAO,EAAU,MAAK,MAAY,EAAS,aAAa,EAAS,SAAS;CAC5E;CAEA,OAAc,cAAc,GAAgC;EAC1D,OAAO,EAAU,MAAK,MAAY,EAAS,aAAa,EAAS,SAAS;CAC5E;AACF"}
1
+ {"version":3,"file":"index.js","names":["LoadableUtil","loadables","loadable"],"sources":["../../../src/utils/LoadableUtil/LoadableUtil.ts"],"sourcesContent":["import type { Loadable } from '../../models/data-hooks.models';\n\nexport class LoadableUtil {\n public static findFirstError(loadables: Loadable[]): unknown {\n const loadableWithError = loadables.find(loadable => loadable.isEnabled && loadable.error);\n return loadableWithError?.error;\n }\n\n public static hasSomeError(loadables: Loadable[]): boolean {\n return loadables.some(loadable => loadable.isEnabled && !!loadable.error);\n }\n\n public static isAllEnabled(loadables: Loadable[]): boolean {\n return loadables.every(loadable => loadable.isEnabled);\n }\n\n public static isSomeFetching(loadables: Loadable[]): boolean {\n return loadables.some(loadable => loadable.isEnabled && loadable.isFetching);\n }\n\n public static isSomeLoading(loadables: Loadable[]): boolean {\n return loadables.some(loadable => loadable.isEnabled && loadable.isLoading);\n }\n\n public static isSomePending(loadables: Loadable[]): boolean {\n return loadables.some(loadable => loadable.isEnabled && loadable.isPending);\n }\n}\n"],"mappings":";AAEA,IAAaA,IAAb,MAA0B;CACxB,OAAc,eAAe,GAAgC;EAE3D,OAD0BC,EAAU,MAAK,MAAYC,EAAS,aAAaA,EAAS,KAC7E,CAAA,EAAmB;CAC5B;CAEA,OAAc,aAAa,GAAgC;EACzD,OAAOD,EAAU,MAAK,MAAYC,EAAS,aAAa,CAAC,CAACA,EAAS,KAAK;CAC1E;CAEA,OAAc,aAAa,GAAgC;EACzD,OAAOD,EAAU,OAAM,MAAYC,EAAS,SAAS;CACvD;CAEA,OAAc,eAAe,GAAgC;EAC3D,OAAOD,EAAU,MAAK,MAAYC,EAAS,aAAaA,EAAS,UAAU;CAC7E;CAEA,OAAc,cAAc,GAAgC;EAC1D,OAAOD,EAAU,MAAK,MAAYC,EAAS,aAAaA,EAAS,SAAS;CAC5E;CAEA,OAAc,cAAc,GAAgC;EAC1D,OAAOD,EAAU,MAAK,MAAYC,EAAS,aAAaA,EAAS,SAAS;CAC5E;AACF"}
@@ -1,4 +1,4 @@
1
- import { MenuItemData } from '@gen-epix/ui-core-components/models/nestedMenu';
1
+ import { MenuItemData } from '@gen-epix/ui-core-components/models/nested-menu.models';
2
2
  export declare class MenuDataUtil {
3
3
  static isMenuItemData(value: unknown): value is MenuItemData;
4
4
  static isMenuItemDataArray(value: unknown): value is MenuItemData[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/utils/MenuDataUtil/MenuDataUtil.ts"],"sourcesContent":["import type { MenuItemData } from '@gen-epix/ui-core-components/models/nestedMenu';\n\nexport class MenuDataUtil {\n\n public static isMenuItemData(value: unknown): value is MenuItemData {\n if (typeof value !== 'object' || value === null) {\n return false;\n }\n\n const item = value as Record<string, unknown>;\n\n if (item.uid !== undefined && typeof item.uid !== 'string') {\n return false;\n }\n\n if (item.label !== undefined && typeof item.label !== 'string') {\n return false;\n }\n\n if (item.callback !== undefined && typeof item.callback !== 'function') {\n return false;\n }\n\n if (item.items !== undefined && (!Array.isArray(item.items) || !item.items.every(MenuDataUtil.isMenuItemData))) {\n return false;\n }\n\n if (item.disabled !== undefined && typeof item.disabled !== 'boolean') {\n return false;\n }\n\n if (item.divider !== undefined && typeof item.divider !== 'boolean') {\n return false;\n }\n\n if (item.autoCloseDisabled !== undefined && typeof item.autoCloseDisabled !== 'boolean') {\n return false;\n }\n\n if (item.active !== undefined && typeof item.active !== 'boolean') {\n return false;\n }\n\n if (item.checked !== undefined && !['false', 'mixed', 'true'].includes(item.checked as string)) {\n return false;\n }\n\n return true;\n }\n\n public static isMenuItemDataArray(value: unknown): value is MenuItemData[] {\n return Array.isArray(value) && value.every(MenuDataUtil.isMenuItemData);\n }\n}\n"],"mappings":";AAEA,IAAa,IAAb,MAAa,EAAa;CAExB,OAAc,eAAe,GAAuC;EAClE,IAAI,OAAO,KAAU,aAAY,GAC/B,OAAO;EAGT,IAAM,IAAO;EAsCb,OAJA,EAhCI,EAAK,QAAQ,KAAA,KAAa,OAAO,EAAK,OAAQ,YAI9C,EAAK,UAAU,KAAA,KAAa,OAAO,EAAK,SAAU,YAIlD,EAAK,aAAa,KAAA,KAAa,OAAO,EAAK,YAAa,cAIxD,EAAK,UAAU,KAAA,MAAc,CAAC,MAAM,QAAQ,EAAK,KAAK,KAAK,CAAC,EAAK,MAAM,MAAM,EAAa,cAAc,MAIxG,EAAK,aAAa,KAAA,KAAa,OAAO,EAAK,YAAa,aAIxD,EAAK,YAAY,KAAA,KAAa,OAAO,EAAK,WAAY,aAItD,EAAK,sBAAsB,KAAA,KAAa,OAAO,EAAK,qBAAsB,aAI1E,EAAK,WAAW,KAAA,KAAa,OAAO,EAAK,UAAW,aAIpD,EAAK,YAAY,KAAA,KAAa,CAAC;GAAC;GAAS;GAAS;EAAM,CAAC,CAAC,SAAS,EAAK,OAAiB;CAK/F;CAEA,OAAc,oBAAoB,GAAyC;EACzE,OAAO,MAAM,QAAQ,CAAK,KAAK,EAAM,MAAM,EAAa,cAAc;CACxE;AACF"}
1
+ {"version":3,"file":"index.js","names":["MenuDataUtil","value","item"],"sources":["../../../src/utils/MenuDataUtil/MenuDataUtil.ts"],"sourcesContent":["import type { MenuItemData } from '@gen-epix/ui-core-components/models/nested-menu.models';\n\nexport class MenuDataUtil {\n\n public static isMenuItemData(value: unknown): value is MenuItemData {\n if (typeof value !== 'object' || value === null) {\n return false;\n }\n\n const item = value as Record<string, unknown>;\n\n if (item.uid !== undefined && typeof item.uid !== 'string') {\n return false;\n }\n\n if (item.label !== undefined && typeof item.label !== 'string') {\n return false;\n }\n\n if (item.callback !== undefined && typeof item.callback !== 'function') {\n return false;\n }\n\n if (item.items !== undefined && (!Array.isArray(item.items) || !item.items.every(MenuDataUtil.isMenuItemData))) {\n return false;\n }\n\n if (item.disabled !== undefined && typeof item.disabled !== 'boolean') {\n return false;\n }\n\n if (item.divider !== undefined && typeof item.divider !== 'boolean') {\n return false;\n }\n\n if (item.autoCloseDisabled !== undefined && typeof item.autoCloseDisabled !== 'boolean') {\n return false;\n }\n\n if (item.active !== undefined && typeof item.active !== 'boolean') {\n return false;\n }\n\n if (item.checked !== undefined && !['false', 'mixed', 'true'].includes(item.checked as string)) {\n return false;\n }\n\n return true;\n }\n\n public static isMenuItemDataArray(value: unknown): value is MenuItemData[] {\n return Array.isArray(value) && value.every(MenuDataUtil.isMenuItemData);\n }\n}\n"],"mappings":";AAEA,IAAaA,IAAb,MAAaA,EAAa;CAExB,OAAc,eAAe,GAAuC;EAClE,IAAI,OAAOC,KAAU,aAAYA,GAC/B,OAAO;EAGT,IAAMC,IAAOD;EAsCb,OAJA,EAhCIC,EAAK,QAAQ,KAAA,KAAa,OAAOA,EAAK,OAAQ,YAI9CA,EAAK,UAAU,KAAA,KAAa,OAAOA,EAAK,SAAU,YAIlDA,EAAK,aAAa,KAAA,KAAa,OAAOA,EAAK,YAAa,cAIxDA,EAAK,UAAU,KAAA,MAAc,CAAC,MAAM,QAAQA,EAAK,KAAK,KAAK,CAACA,EAAK,MAAM,MAAMF,EAAa,cAAc,MAIxGE,EAAK,aAAa,KAAA,KAAa,OAAOA,EAAK,YAAa,aAIxDA,EAAK,YAAY,KAAA,KAAa,OAAOA,EAAK,WAAY,aAItDA,EAAK,sBAAsB,KAAA,KAAa,OAAOA,EAAK,qBAAsB,aAI1EA,EAAK,WAAW,KAAA,KAAa,OAAOA,EAAK,UAAW,aAIpDA,EAAK,YAAY,KAAA,KAAa,CAAC;GAAC;GAAS;GAAS;EAAM,CAAC,CAAC,SAASA,EAAK,OAAiB;CAK/F;CAEA,OAAc,oBAAoB,GAAyC;EACzE,OAAO,MAAM,QAAQD,CAAK,KAAKA,EAAM,MAAMD,EAAa,cAAc;CACxE;AACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/utils/NotificationUtil/NotificationUtil.ts"],"sourcesContent":["import { t } from 'i18next';\nimport type { ReactElement } from 'react';\n\nimport { AxiosUtil } from '../AxiosUtil';\n\nexport class NotificationUtil {\n public static wrapErrorNotificationMessage(message: ReactElement | string, error: unknown): ReactElement | string {\n if (AxiosUtil.isAxiosForbiddenError(error)) {\n message = t('{{message}} - You do not have permission to perform this action.', { message });\n }\n if (AxiosUtil.isAxiosUnauthorizedError(error)) {\n message = t('{{message}} - You are not logged in.', { message });\n }\n if (AxiosUtil.isAxiosNotFoundError(error)) {\n message = t('{{message}} - The item does not exist.', { message });\n }\n if (AxiosUtil.isAxiosBadRequestError(error)) {\n message = t('{{message}} - Bad request. The input data was not correct.', { message });\n }\n if (AxiosUtil.isAxiosConflictError(error)) {\n message = t('{{message}} - Conflict. The request could not be completed due to a conflict with the current state of the resource.', { message });\n }\n if (AxiosUtil.isAxiosInternalServerError(error)) {\n message = t('{{message}} - Internal Server Error. Please try again later.', { message });\n }\n return message;\n }\n}\n"],"mappings":";;;AAKA,IAAa,IAAb,MAA8B;CAC5B,OAAc,6BAA6B,GAAgC,GAAuC;EAmBhH,OAlBI,EAAU,sBAAsB,CAAK,MACvC,IAAU,EAAE,oEAAoE,EAAE,WAAQ,CAAC,IAEzF,EAAU,yBAAyB,CAAK,MAC1C,IAAU,EAAE,wCAAwC,EAAE,WAAQ,CAAC,IAE7D,EAAU,qBAAqB,CAAK,MACtC,IAAU,EAAE,0CAA0C,EAAE,WAAQ,CAAC,IAE/D,EAAU,uBAAuB,CAAK,MACxC,IAAU,EAAE,8DAA8D,EAAE,WAAQ,CAAC,IAEnF,EAAU,qBAAqB,CAAK,MACtC,IAAU,EAAE,wHAAwH,EAAE,WAAQ,CAAC,IAE7I,EAAU,2BAA2B,CAAK,MAC5C,IAAU,EAAE,gEAAgE,EAAE,WAAQ,CAAC,IAElF;CACT;AACF"}
1
+ {"version":3,"file":"index.js","names":["NotificationUtil","AxiosUtil","error","message"],"sources":["../../../src/utils/NotificationUtil/NotificationUtil.ts"],"sourcesContent":["import { t } from 'i18next';\nimport type { ReactElement } from 'react';\n\nimport { AxiosUtil } from '../AxiosUtil';\n\nexport class NotificationUtil {\n public static wrapErrorNotificationMessage(message: ReactElement | string, error: unknown): ReactElement | string {\n if (AxiosUtil.isAxiosForbiddenError(error)) {\n message = t('{{message}} - You do not have permission to perform this action.', { message });\n }\n if (AxiosUtil.isAxiosUnauthorizedError(error)) {\n message = t('{{message}} - You are not logged in.', { message });\n }\n if (AxiosUtil.isAxiosNotFoundError(error)) {\n message = t('{{message}} - The item does not exist.', { message });\n }\n if (AxiosUtil.isAxiosBadRequestError(error)) {\n message = t('{{message}} - Bad request. The input data was not correct.', { message });\n }\n if (AxiosUtil.isAxiosConflictError(error)) {\n message = t('{{message}} - Conflict. The request could not be completed due to a conflict with the current state of the resource.', { message });\n }\n if (AxiosUtil.isAxiosInternalServerError(error)) {\n message = t('{{message}} - Internal Server Error. Please try again later.', { message });\n }\n return message;\n }\n}\n"],"mappings":";;;AAKA,IAAaA,IAAb,MAA8B;CAC5B,OAAc,6BAA6B,GAAgC,GAAuC;EAmBhH,OAlBIC,EAAU,sBAAsBC,CAAK,MACvC,IAAU,EAAE,oEAAoE,EAAE,WAAQ,CAAC,IAEzFD,EAAU,yBAAyBC,CAAK,MAC1C,IAAU,EAAE,wCAAwC,EAAE,WAAQ,CAAC,IAE7DD,EAAU,qBAAqBC,CAAK,MACtC,IAAU,EAAE,0CAA0C,EAAE,WAAQ,CAAC,IAE/DD,EAAU,uBAAuBC,CAAK,MACxC,IAAU,EAAE,8DAA8D,EAAE,WAAQ,CAAC,IAEnFD,EAAU,qBAAqBC,CAAK,MACtC,IAAU,EAAE,wHAAwH,EAAE,WAAQ,CAAC,IAE7ID,EAAU,2BAA2BC,CAAK,MAC5C,IAAU,EAAE,gEAAgE,EAAE,WAAQ,CAAC,IAElFC;CACT;AACF"}
@@ -1,5 +1,5 @@
1
1
  import { CommonDbOutage } from '@gen-epix/api-commondb';
2
- import { CategorizedOutages } from '../../models/outage';
2
+ import { CategorizedOutages } from '../../models/outage.models';
3
3
  export declare class OutageUtil {
4
4
  static getCategorizedOutages(outages: CommonDbOutage[]): CategorizedOutages;
5
5
  }
@@ -1,2 +1 @@
1
- import { t as e } from "../../_chunks/OutageUtil.js";
2
- export { e as OutageUtil };
1
+ export { t as OutageUtil } from "../../_chunks/OutageUtil.js";
@@ -1,4 +1,4 @@
1
- import { ConfigBase } from '../../models/config';
1
+ import { ConfigBase } from '../../models/config.models';
2
2
  export declare class StandardConfigUtil {
3
3
  static createConfig(): Omit<ConfigBase, 'theme'>;
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/utils/StandardConfigUtil/StandardConfigUtil.ts"],"sourcesContent":["import type { ConfigBase } from '../../models/config';\nimport { AxiosUtil } from '../AxiosUtil';\n\nconst ApplicationHeader = (): ReturnType<ConfigBase['ApplicationHeader']> => null;\nconst ConsentDialogContent = (): ReturnType<ConfigBase['consentDialog']['Content']> => null;\nconst HomePageIntroduction = (): ReturnType<ConfigBase['HomePageIntroduction']> => null;\nconst LicenseInformation = (): ReturnType<ConfigBase['LicenseInformation']> => null;\n\nexport class StandardConfigUtil {\n public static createConfig(): Omit<ConfigBase, 'theme'> {\n const config: Omit<ConfigBase, 'theme'> = {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n ApplicationHeader,\n applicationName: 'Gen-EpiX',\n consentDialog: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n Content: ConsentDialogContent,\n getButtonLabel: () => 'I consent',\n getShouldShow: () => !import.meta.env.DEV,\n getTitle: () => 'Consent',\n },\n\n createFooter: () => ({\n sections: [\n {\n header: 'Contact',\n items: [\n {\n href: 'mailto:ids-bioinformatics@rivm.nl',\n label: 'ids-bioinformatics@rivm.nl',\n },\n ],\n },\n {\n header: 'About',\n items: [\n {\n href: 'https://github.com/RIVM-bioinformatics/gen-epix',\n label: 'Copyright',\n },\n ],\n },\n {\n header: 'Languages',\n items: [\n {\n label: 'English',\n onClick: () => null,\n },\n ],\n },\n ],\n }),\n defaultRequestTimeout: 30000,\n enablePageEvents: true,\n getAPIBaseUrl: () => {\n return 'development';\n },\n getEnvironmentMessage: () => {\n return 'development';\n },\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n getSoftwareVersion: () => 'development',\n getTouchIconUrl: () => {\n return '/touch-icon.png';\n },\n // eslint-disable-next-line @typescript-eslint/naming-convention\n HomePageIntroduction,\n layout: {\n MAIN_CONTENT_ID: 'main-content',\n SIDEBAR_MENU_WIDTH: 4,\n },\n // eslint-disable-next-line @typescript-eslint/naming-convention\n LicenseInformation,\n log: {\n LOG_INTERVAL_MS: 30000,\n },\n notifications: {\n autoHideAfterMs: 5000,\n },\n outages: {\n NUM_HOURS_TO_SHOW_SOON_ACTIVE_OUTAGES: 8,\n },\n queryClient: {\n retry: (import.meta.env.DEV)\n ? () => false\n : (failureCount: number, error: unknown) => {\n if (AxiosUtil.isAxiosInternalServerError(error) || AxiosUtil.isAxiosTimeoutError(error)) {\n return failureCount < 3;\n }\n return false;\n },\n retryDelay: attempt => Math.min(attempt > 1 ? 2 ** attempt * 3000 : 3000, 30 * 1000),\n },\n spinner: {\n DEFAULT_CIRCULAR_PROGRESS_SIZE: 40,\n DEFAULT_TAKING_LONGER_TIMEOUT_MS: 8000,\n },\n table: {\n CONDENSED_WIDTH_PX: 150,\n DEFAULT_OVERSCAN_MAIN: 10,\n DEFAULT_OVERSCAN_REVERSE: 10,\n },\n userFeedback: {\n SHOW_USER_FEEDBACK_TOOLTIP_AFTER_MS: 2 * 60 * 1000, // 2 minutes\n },\n userInactivityConfirmation: {\n ALLOWED_IDLE_TIME_MS: 25 * 60 * 1000, // 25 minutes\n NOTIFICATION_TIME_MS: 5 * 60 * 1000, // 5 minutes\n },\n };\n return config;\n }\n}\n"],"mappings":";;AAGA,IAAM,UAAuE,MACvE,UAAiF,MACjF,UAA6E,MAC7E,UAAyE,MAElE,IAAb,MAAgC;CAC9B,OAAc,eAA0C;EAuGtD,OAAO;GApGL;GACA,iBAAiB;GACjB,eAAe;IAEb,SAAS;IACT,sBAAsB;IACtB,qBAAqB;IACrB,gBAAgB;GAClB;GAEA,qBAAqB,EACnB,UAAU;IACR;KACE,QAAQ;KACR,OAAO,CACL;MACE,MAAM;MACN,OAAO;KACT,CACF;IACF;IACA;KACE,QAAQ;KACR,OAAO,CACL;MACE,MAAM;MACN,OAAO;KACT,CACF;IACF;IACA;KACE,QAAQ;KACR,OAAO,CACL;MACE,OAAO;MACP,eAAe;KACjB,CACF;IACF;GACF,EACF;GACA,uBAAuB;GACvB,kBAAkB;GAClB,qBACS;GAET,6BACS;GAIT,0BAA0B;GAC1B,uBACS;GAGT;GACA,QAAQ;IACN,iBAAiB;IACjB,oBAAoB;GACtB;GAEA;GACA,KAAK,EACH,iBAAiB,IACnB;GACA,eAAe,EACb,iBAAiB,IACnB;GACA,SAAS,EACP,uCAAuC,EACzC;GACA,aAAa;IACX,QAEK,GAAsB,MACnB,EAAU,2BAA2B,CAAK,KAAK,EAAU,oBAAoB,CAAK,IAC7E,IAAe,IAEjB;IAEX,aAAY,MAAW,KAAK,IAAI,IAAU,IAAI,KAAK,IAAU,MAAO,KAAM,GAAS;GACrF;GACA,SAAS;IACP,gCAAgC;IAChC,kCAAkC;GACpC;GACA,OAAO;IACL,oBAAoB;IACpB,uBAAuB;IACvB,0BAA0B;GAC5B;GACA,cAAc,EACZ,qCAAqC,KACvC;GACA,4BAA4B;IAC1B,sBAAsB;IACtB,sBAAsB;GACxB;EAEK;CACT;AACF"}
1
+ {"version":3,"file":"index.js","names":["ApplicationHeader","ConsentDialogContent","HomePageIntroduction","LicenseInformation","StandardConfigUtil","AxiosUtil","error","failureCount","attempt"],"sources":["../../../src/utils/StandardConfigUtil/StandardConfigUtil.ts"],"sourcesContent":["import type { ConfigBase } from '../../models/config.models';\nimport { AxiosUtil } from '../AxiosUtil';\n\nconst ApplicationHeader = (): ReturnType<ConfigBase['ApplicationHeader']> => null;\nconst ConsentDialogContent = (): ReturnType<ConfigBase['consentDialog']['Content']> => null;\nconst HomePageIntroduction = (): ReturnType<ConfigBase['HomePageIntroduction']> => null;\nconst LicenseInformation = (): ReturnType<ConfigBase['LicenseInformation']> => null;\n\nexport class StandardConfigUtil {\n public static createConfig(): Omit<ConfigBase, 'theme'> {\n const config: Omit<ConfigBase, 'theme'> = {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n ApplicationHeader,\n applicationName: 'Gen-EpiX',\n consentDialog: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n Content: ConsentDialogContent,\n getButtonLabel: () => 'I consent',\n getShouldShow: () => !import.meta.env.DEV,\n getTitle: () => 'Consent',\n },\n\n createFooter: () => ({\n sections: [\n {\n header: 'Contact',\n items: [\n {\n href: 'mailto:ids-bioinformatics@rivm.nl',\n label: 'ids-bioinformatics@rivm.nl',\n },\n ],\n },\n {\n header: 'About',\n items: [\n {\n href: 'https://github.com/RIVM-bioinformatics/gen-epix',\n label: 'Copyright',\n },\n ],\n },\n {\n header: 'Languages',\n items: [\n {\n label: 'English',\n onClick: () => null,\n },\n ],\n },\n ],\n }),\n defaultRequestTimeout: 30000,\n enablePageEvents: true,\n getAPIBaseUrl: () => {\n return 'development';\n },\n getEnvironmentMessage: () => {\n return 'development';\n },\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n getSoftwareVersion: () => 'development',\n getTouchIconUrl: () => {\n return '/touch-icon.png';\n },\n // eslint-disable-next-line @typescript-eslint/naming-convention\n HomePageIntroduction,\n layout: {\n MAIN_CONTENT_ID: 'main-content',\n SIDEBAR_MENU_WIDTH: 4,\n },\n // eslint-disable-next-line @typescript-eslint/naming-convention\n LicenseInformation,\n log: {\n LOG_INTERVAL_MS: 30000,\n },\n notifications: {\n autoHideAfterMs: 5000,\n },\n outages: {\n NUM_HOURS_TO_SHOW_SOON_ACTIVE_OUTAGES: 8,\n },\n queryClient: {\n retry: (import.meta.env.DEV)\n ? () => false\n : (failureCount: number, error: unknown) => {\n if (AxiosUtil.isAxiosInternalServerError(error) || AxiosUtil.isAxiosTimeoutError(error)) {\n return failureCount < 3;\n }\n return false;\n },\n retryDelay: attempt => Math.min(attempt > 1 ? 2 ** attempt * 3000 : 3000, 30 * 1000),\n },\n spinner: {\n DEFAULT_CIRCULAR_PROGRESS_SIZE: 40,\n DEFAULT_TAKING_LONGER_TIMEOUT_MS: 8000,\n },\n table: {\n CONDENSED_WIDTH_PX: 150,\n DEFAULT_OVERSCAN_MAIN: 10,\n DEFAULT_OVERSCAN_REVERSE: 10,\n },\n userFeedback: {\n SHOW_USER_FEEDBACK_TOOLTIP_AFTER_MS: 2 * 60 * 1000, // 2 minutes\n },\n userInactivityConfirmation: {\n ALLOWED_IDLE_TIME_MS: 25 * 60 * 1000, // 25 minutes\n NOTIFICATION_TIME_MS: 5 * 60 * 1000, // 5 minutes\n },\n };\n return config;\n }\n}\n"],"mappings":";;AAGA,IAAMA,UAAuE,MACvEC,UAAiF,MACjFC,UAA6E,MAC7EC,UAAyE,MAElEC,IAAb,MAAgC;CAC9B,OAAc,eAA0C;EAuGtD,OAAO;GApGL;GACA,iBAAiB;GACjB,eAAe;IAEb,SAASH;IACT,sBAAsB;IACtB,qBAAqB;IACrB,gBAAgB;GAClB;GAEA,qBAAqB,EACnB,UAAU;IACR;KACE,QAAQ;KACR,OAAO,CACL;MACE,MAAM;MACN,OAAO;KACT,CACF;IACF;IACA;KACE,QAAQ;KACR,OAAO,CACL;MACE,MAAM;MACN,OAAO;KACT,CACF;IACF;IACA;KACE,QAAQ;KACR,OAAO,CACL;MACE,OAAO;MACP,eAAe;KACjB,CACF;IACF;GACF,EACF;GACA,uBAAuB;GACvB,kBAAkB;GAClB,qBACS;GAET,6BACS;GAIT,0BAA0B;GAC1B,uBACS;GAGT;GACA,QAAQ;IACN,iBAAiB;IACjB,oBAAoB;GACtB;GAEA;GACA,KAAK,EACH,iBAAiB,IACnB;GACA,eAAe,EACb,iBAAiB,IACnB;GACA,SAAS,EACP,uCAAuC,EACzC;GACA,aAAa;IACX,QAEK,GAAsB,MACnBI,EAAU,2BAA2BC,CAAK,KAAKD,EAAU,oBAAoBC,CAAK,IAC7EC,IAAe,IAEjB;IAEX,aAAY,MAAW,KAAK,IAAIC,IAAU,IAAI,KAAKA,IAAU,MAAO,KAAM,GAAS;GACrF;GACA,SAAS;IACP,gCAAgC;IAChC,kCAAkC;GACpC;GACA,OAAO;IACL,oBAAoB;IACpB,uBAAuB;IACvB,0BAA0B;GAC5B;GACA,cAAc,EACZ,qCAAqC,KACvC;GACA,4BAA4B;IAC1B,sBAAsB;IACtB,sBAAsB;GACxB;EAEK;CACT;AACF"}
@@ -1,9 +1,9 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { TFunction } from 'i18next';
3
- import { OptionBase } from '@gen-epix/ui-core-form/models/form';
4
- import { DATE_FORMAT } from '@gen-epix/ui-core/constants/date';
5
- import { Filters } from '../../models/filter';
6
- import { GetTableCellRowComparatorProps, GetTableCellValueProps, HasCellDataFn, TableColumn, TableColumnActions, TableColumnBoolean, TableColumnDate, TableColumnDimension, TableColumnNumber, TableColumnOptions, TableColumnReadableIndex, TableColumnSelectable, TableColumnText, TableColumnVisualSettings, TableRowParams } from '../../models/table';
3
+ import { OptionBase } from '@gen-epix/ui-core-form/models/form.models';
4
+ import { DATE_FORMAT } from '@gen-epix/ui-core/constants/date.constants';
5
+ import { Filters } from '../../models/filter.models';
6
+ import { GetTableCellRowComparatorProps, GetTableCellValueProps, HasCellDataFn, TableColumn, TableColumnActions, TableColumnBoolean, TableColumnDate, TableColumnDimension, TableColumnNumber, TableColumnOptions, TableColumnReadableIndex, TableColumnSelectable, TableColumnText, TableColumnVisualSettings, TableRowParams } from '../../models/table.models';
7
7
  export declare class TableUtil {
8
8
  static areColumnVisualSettingsValid<TData, TDataContext = null>(tableColumns: TableColumn<TData, TDataContext>[], columnVisualSettings: TableColumnVisualSettings[]): boolean;
9
9
  static createActionsColumn<TData, TDataContext = null, TColumnContext = null>(kwArgs: {
@@ -1,2 +1 @@
1
- import { t as e } from "../../_chunks/TableUtil.js";
2
- export { e as TableUtil };
1
+ export { t as TableUtil } from "../../_chunks/TableUtil.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/utils/TimeUtil/TimeUtil.ts"],"sourcesContent":["import { t } from 'i18next';\n\nexport class TimeUtil {\n public static getReadableTimeRemaining(milliseconds: number, round = false): string {\n\n if (milliseconds < 1000) {\n return t('less than a second');\n }\n\n const hours = Math.floor(milliseconds / 3600000);\n const seconds = Math.round(milliseconds / 1000);\n const minutes = Math.floor(seconds / 60);\n const remainingSeconds = seconds % 60;\n\n if (hours > 0) {\n if (round) {\n return t('more than {{hours}} hours', { hours });\n }\n return t('{{hours}} hours and {{minutes}} minutes', { hours, minutes });\n }\n\n if (minutes === 0) {\n if (remainingSeconds < 10 && round) {\n return t('a few seconds');\n }\n if (remainingSeconds >= 10 && round) {\n return t('less than a minute');\n }\n return t('{{seconds}} seconds', { seconds: remainingSeconds });\n }\n\n if (remainingSeconds === 0 || round) {\n return t('{{minutes}} minutes', { minutes });\n }\n\n return t('{{minutes}} minutes and {{seconds}} seconds', { minutes, seconds: remainingSeconds });\n }\n}\n"],"mappings":";;AAEA,IAAa,IAAb,MAAsB;CACpB,OAAc,yBAAyB,GAAsB,IAAQ,IAAe;EAElF,IAAI,IAAe,KACjB,OAAO,EAAE,oBAAoB;EAG/B,IAAM,IAAQ,KAAK,MAAM,IAAe,IAAO,GACzC,IAAU,KAAK,MAAM,IAAe,GAAI,GACxC,IAAU,KAAK,MAAM,IAAU,EAAE,GACjC,IAAmB,IAAU;EAuBnC,OArBI,IAAQ,IACN,IACK,EAAE,6BAA6B,EAAE,SAAM,CAAC,IAE1C,EAAE,2CAA2C;GAAE;GAAO;EAAQ,CAAC,IAGpE,MAAY,IACV,IAAmB,MAAM,IACpB,EAAE,eAAe,IAEtB,KAAoB,MAAM,IACrB,EAAE,oBAAoB,IAExB,EAAE,uBAAuB,EAAE,SAAS,EAAiB,CAAC,IAG3D,MAAqB,KAAK,IACrB,EAAE,uBAAuB,EAAE,WAAQ,CAAC,IAGtC,EAAE,+CAA+C;GAAE;GAAS,SAAS;EAAiB,CAAC;CAChG;AACF"}
1
+ {"version":3,"file":"index.js","names":["TimeUtil","milliseconds","t","hours","seconds","minutes","remainingSeconds","round"],"sources":["../../../src/utils/TimeUtil/TimeUtil.ts"],"sourcesContent":["import { t } from 'i18next';\n\nexport class TimeUtil {\n public static getReadableTimeRemaining(milliseconds: number, round = false): string {\n\n if (milliseconds < 1000) {\n return t('less than a second');\n }\n\n const hours = Math.floor(milliseconds / 3600000);\n const seconds = Math.round(milliseconds / 1000);\n const minutes = Math.floor(seconds / 60);\n const remainingSeconds = seconds % 60;\n\n if (hours > 0) {\n if (round) {\n return t('more than {{hours}} hours', { hours });\n }\n return t('{{hours}} hours and {{minutes}} minutes', { hours, minutes });\n }\n\n if (minutes === 0) {\n if (remainingSeconds < 10 && round) {\n return t('a few seconds');\n }\n if (remainingSeconds >= 10 && round) {\n return t('less than a minute');\n }\n return t('{{seconds}} seconds', { seconds: remainingSeconds });\n }\n\n if (remainingSeconds === 0 || round) {\n return t('{{minutes}} minutes', { minutes });\n }\n\n return t('{{minutes}} minutes and {{seconds}} seconds', { minutes, seconds: remainingSeconds });\n }\n}\n"],"mappings":";;AAEA,IAAaA,IAAb,MAAsB;CACpB,OAAc,yBAAyB,GAAsB,IAAQ,IAAe;EAElF,IAAIC,IAAe,KACjB,OAAOC,EAAE,oBAAoB;EAG/B,IAAMC,IAAQ,KAAK,MAAMF,IAAe,IAAO,GACzCG,IAAU,KAAK,MAAMH,IAAe,GAAI,GACxCI,IAAU,KAAK,MAAMD,IAAU,EAAE,GACjCE,IAAmBF,IAAU;EAuBnC,OArBID,IAAQ,IACNI,IACKL,EAAE,6BAA6B,EAAE,SAAM,CAAC,IAE1CA,EAAE,2CAA2C;GAAE;GAAO;EAAQ,CAAC,IAGpEG,MAAY,IACVC,IAAmB,MAAMC,IACpBL,EAAE,eAAe,IAEtBI,KAAoB,MAAMC,IACrBL,EAAE,oBAAoB,IAExBA,EAAE,uBAAuB,EAAE,SAASI,EAAiB,CAAC,IAG3DA,MAAqB,KAAKC,IACrBL,EAAE,uBAAuB,EAAE,WAAQ,CAAC,IAGtCA,EAAE,+CAA+C;GAAE;GAAS,SAASI;EAAiB,CAAC;CAChG;AACF"}
@@ -1,2 +1 @@
1
- import { t as e } from "../../_chunks/UserManagerUtil.js";
2
- export { e as UserManagerUtil };
1
+ export { t as UserManagerUtil } from "../../_chunks/UserManagerUtil.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/utils/UserUtil/UserUtil.ts"],"sourcesContent":["import type { CommonDbUser } from '@gen-epix/api-commondb';\nimport type { TFunction } from 'i18next';\n\nexport class UserUtil {\n public static getUserDisplayValue(user: CommonDbUser, t: TFunction<'translation', undefined>): string {\n if (!user) {\n return t`Unknown user`;\n }\n return `${user.name} (${user.key})`;\n }\n}\n"],"mappings":";AAGA,IAAa,IAAb,MAAsB;CACpB,OAAc,oBAAoB,GAAoB,GAAgD;EAIpG,OAHK,IAGE,GAAG,EAAK,KAAK,IAAI,EAAK,IAAI,KAFxB,CAAC;CAGZ;AACF"}
1
+ {"version":3,"file":"index.js","names":["UserUtil","user"],"sources":["../../../src/utils/UserUtil/UserUtil.ts"],"sourcesContent":["import type { CommonDbUser } from '@gen-epix/api-commondb';\nimport type { TFunction } from 'i18next';\n\nexport class UserUtil {\n public static getUserDisplayValue(user: CommonDbUser, t: TFunction<'translation', undefined>): string {\n if (!user) {\n return t`Unknown user`;\n }\n return `${user.name} (${user.key})`;\n }\n}\n"],"mappings":";AAGA,IAAaA,IAAb,MAAsB;CACpB,OAAc,oBAAoB,GAAoB,GAAgD;EAIpG,OAHKC,IAGE,GAAGA,EAAK,KAAK,IAAIA,EAAK,IAAI,KAFxB,CAAC;CAGZ;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gen-epix/ui-client-common",
3
- "version": "4.3.2",
3
+ "version": "4.4.1",
4
4
  "homepage": "https://github.com/RIVM-bioinformatics/gen-epix",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,10 +26,6 @@
26
26
  "types": "./dist/classes/filters/index.d.ts",
27
27
  "import": "./dist/classes/filters/index.js"
28
28
  },
29
- "./classes/services/ApiService": {
30
- "types": "./dist/classes/services/ApiService/index.d.ts",
31
- "import": "./dist/classes/services/ApiService/index.js"
32
- },
33
29
  "./classes/services/AuthenticationService": {
34
30
  "types": "./dist/classes/services/AuthenticationService/index.d.ts",
35
31
  "import": "./dist/classes/services/AuthenticationService/index.js"
@@ -46,10 +42,6 @@
46
42
  "types": "./dist/classes/services/BreadcrumbService/index.d.ts",
47
43
  "import": "./dist/classes/services/BreadcrumbService/index.js"
48
44
  },
49
- "./classes/services/ConfigService": {
50
- "types": "./dist/classes/services/ConfigService/index.d.ts",
51
- "import": "./dist/classes/services/ConfigService/index.js"
52
- },
53
45
  "./classes/services/EmotionCacheService": {
54
46
  "types": "./dist/classes/services/EmotionCacheService/index.d.ts",
55
47
  "import": "./dist/classes/services/EmotionCacheService/index.js"
@@ -218,9 +210,17 @@
218
210
  "types": "./dist/components/ui/UserInactivityConfirmation/index.d.ts",
219
211
  "import": "./dist/components/ui/UserInactivityConfirmation/index.js"
220
212
  },
221
- "./constants/query": {
222
- "types": "./dist/constants/query.d.ts",
223
- "import": "./dist/constants/query.js"
213
+ "./constants/api.constants": {
214
+ "types": "./dist/constants/api.constants.d.ts",
215
+ "import": "./dist/constants/api.constants.js"
216
+ },
217
+ "./constants/config.constants": {
218
+ "types": "./dist/constants/config.constants.d.ts",
219
+ "import": "./dist/constants/config.constants.js"
220
+ },
221
+ "./constants/query.constants": {
222
+ "types": "./dist/constants/query.constants.d.ts",
223
+ "import": "./dist/constants/query.constants.js"
224
224
  },
225
225
  "./context/uiClientCommonConfigContext": {
226
226
  "types": "./dist/context/uiClientCommonConfigContext/index.d.ts",
@@ -262,6 +262,10 @@
262
262
  "types": "./dist/hooks/useColumnsMenu/index.d.ts",
263
263
  "import": "./dist/hooks/useColumnsMenu/index.js"
264
264
  },
265
+ "./hooks/useConfig": {
266
+ "types": "./dist/hooks/useConfig/index.d.ts",
267
+ "import": "./dist/hooks/useConfig/index.js"
268
+ },
265
269
  "./hooks/useCreateMutation": {
266
270
  "types": "./dist/hooks/useCreateMutation/index.d.ts",
267
271
  "import": "./dist/hooks/useCreateMutation/index.js"
@@ -294,53 +298,53 @@
294
298
  "types": "./dist/hooks/useUpdateDocumentTitle/index.d.ts",
295
299
  "import": "./dist/hooks/useUpdateDocumentTitle/index.js"
296
300
  },
297
- "./models/admin": {
298
- "types": "./dist/models/admin.d.ts",
299
- "import": "./dist/models/admin.js"
301
+ "./models/admin.models": {
302
+ "types": "./dist/models/admin.models.d.ts",
303
+ "import": "./dist/models/admin.models.js"
300
304
  },
301
- "./models/api": {
302
- "types": "./dist/models/api.d.ts",
303
- "import": "./dist/models/api.js"
305
+ "./models/api.models": {
306
+ "types": "./dist/models/api.models.d.ts",
307
+ "import": "./dist/models/api.models.js"
304
308
  },
305
- "./models/auth": {
306
- "types": "./dist/models/auth.d.ts",
307
- "import": "./dist/models/auth.js"
309
+ "./models/auth.models": {
310
+ "types": "./dist/models/auth.models.d.ts",
311
+ "import": "./dist/models/auth.models.js"
308
312
  },
309
- "./models/config": {
310
- "types": "./dist/models/config.d.ts",
311
- "import": "./dist/models/config.js"
313
+ "./models/config.models": {
314
+ "types": "./dist/models/config.models.d.ts",
315
+ "import": "./dist/models/config.models.js"
312
316
  },
313
- "./models/data": {
314
- "types": "./dist/models/data.d.ts",
315
- "import": "./dist/models/data.js"
317
+ "./models/data-hooks.models": {
318
+ "types": "./dist/models/data-hooks.models.d.ts",
319
+ "import": "./dist/models/data-hooks.models.js"
316
320
  },
317
- "./models/dataHooks": {
318
- "types": "./dist/models/dataHooks.d.ts",
319
- "import": "./dist/models/dataHooks.js"
321
+ "./models/data.models": {
322
+ "types": "./dist/models/data.models.d.ts",
323
+ "import": "./dist/models/data.models.js"
320
324
  },
321
- "./models/filter": {
322
- "types": "./dist/models/filter.d.ts",
323
- "import": "./dist/models/filter.js"
325
+ "./models/filter.models": {
326
+ "types": "./dist/models/filter.models.d.ts",
327
+ "import": "./dist/models/filter.models.js"
324
328
  },
325
- "./models/notification": {
326
- "types": "./dist/models/notification.d.ts",
327
- "import": "./dist/models/notification.js"
329
+ "./models/notification.models": {
330
+ "types": "./dist/models/notification.models.d.ts",
331
+ "import": "./dist/models/notification.models.js"
328
332
  },
329
- "./models/outage": {
330
- "types": "./dist/models/outage.d.ts",
331
- "import": "./dist/models/outage.js"
333
+ "./models/outage.models": {
334
+ "types": "./dist/models/outage.models.d.ts",
335
+ "import": "./dist/models/outage.models.js"
332
336
  },
333
- "./models/reactRouter": {
334
- "types": "./dist/models/reactRouter.d.ts",
335
- "import": "./dist/models/reactRouter.js"
337
+ "./models/react-router.models": {
338
+ "types": "./dist/models/react-router.models.d.ts",
339
+ "import": "./dist/models/react-router.models.js"
336
340
  },
337
- "./models/table": {
338
- "types": "./dist/models/table.d.ts",
339
- "import": "./dist/models/table.js"
341
+ "./models/table.models": {
342
+ "types": "./dist/models/table.models.d.ts",
343
+ "import": "./dist/models/table.models.js"
340
344
  },
341
- "./models/theme": {
342
- "types": "./dist/models/theme.d.ts",
343
- "import": "./dist/models/theme.js"
345
+ "./models/theme.models": {
346
+ "types": "./dist/models/theme.models.d.ts",
347
+ "import": "./dist/models/theme.models.js"
344
348
  },
345
349
  "./pages/AcceptInvitationPage": {
346
350
  "types": "./dist/pages/AcceptInvitationPage/index.d.ts",
@@ -438,6 +442,10 @@
438
442
  "types": "./dist/utils/DataHookUtil/index.d.ts",
439
443
  "import": "./dist/utils/DataHookUtil/index.js"
440
444
  },
445
+ "./utils/DependencyContainerUtil": {
446
+ "types": "./dist/utils/DependencyContainerUtil/index.d.ts",
447
+ "import": "./dist/utils/DependencyContainerUtil/index.js"
448
+ },
441
449
  "./utils/LoadableUtil": {
442
450
  "types": "./dist/utils/LoadableUtil/index.d.ts",
443
451
  "import": "./dist/utils/LoadableUtil/index.js"
@@ -483,16 +491,16 @@
483
491
  ],
484
492
  "dependencies": {
485
493
  "@hookform/resolvers": "5.9.1",
486
- "@tanstack/react-query": "5.103.2",
494
+ "@tanstack/react-query": "5.104.2",
487
495
  "classnames": "2.5.1",
488
496
  "clsx": "2.1.1",
489
497
  "date-fns": "4.4.0",
490
- "immer": "11.1.18",
498
+ "immer": "11.1.21",
491
499
  "lodash": "4.18.1",
492
500
  "oidc-client-ts": "3.5.0",
493
501
  "reflect-metadata": "0.2.2",
494
502
  "use-debounce": "10.1.1",
495
- "uuid": "14.0.2",
503
+ "uuid": "14.0.3",
496
504
  "zustand": "5.0.15"
497
505
  },
498
506
  "devDependencies": {
@@ -502,45 +510,46 @@
502
510
  "@emotion/cache": "11.14.0",
503
511
  "@emotion/react": "11.14.0",
504
512
  "@emotion/styled": "11.14.1",
505
- "@gen-epix/api-commondb": "^4.3.1",
506
- "@gen-epix/eslint-config": "0.7.0",
507
- "@gen-epix/translation-util": "0.4.0",
508
- "@gen-epix/ui-core": "^3.3.1",
509
- "@gen-epix/ui-core-components": "^4.3.1",
510
- "@gen-epix/ui-core-form": "^4.3.1",
511
- "@microsoft/api-extractor": "7.59.1",
512
- "@mui/icons-material": "9.4.0",
513
- "@mui/material": "9.4.0",
514
- "@mui/styled-engine": "9.4.0",
515
- "@mui/system": "9.4.0",
516
- "@mui/utils": "9.4.0",
517
- "@types/lodash": "4.17.25",
518
- "@types/node": "26.6.2",
513
+ "@gen-epix/api-commondb": "^4.4.0",
514
+ "@gen-epix/eslint-config": "0.8.0",
515
+ "@gen-epix/translation-util": "0.5.0",
516
+ "@gen-epix/ui-core": "^3.9.0",
517
+ "@gen-epix/ui-core-components": "^4.4.0",
518
+ "@gen-epix/ui-core-form": "^4.4.0",
519
+ "@microsoft/api-extractor": "7.59.4",
520
+ "@mui/icons-material": "9.5.0",
521
+ "@mui/material": "9.5.0",
522
+ "@mui/styled-engine": "9.5.0",
523
+ "@mui/system": "9.5.0",
524
+ "@mui/utils": "9.5.0",
525
+ "@types/lodash": "4.17.26",
526
+ "@types/node": "26.6.5",
519
527
  "@types/react": "19.3.0",
520
- "@vitejs/plugin-react": "6.1.1",
521
- "@vitest/browser-playwright": "5.0.1",
522
- "@vitest/coverage-v8": "5.0.1",
528
+ "@vitejs/plugin-react": "6.1.2",
529
+ "@vitest/browser-playwright": "5.0.4",
530
+ "@vitest/coverage-v8": "5.0.4",
523
531
  "axios": "1.20.0",
524
- "eslint": "10.11.0",
525
- "i18next": "26.4.2",
526
- "jsdom": "30.1.0",
527
- "playwright": "1.63.0",
532
+ "eslint": "10.12.0",
533
+ "i18next": "26.4.4",
534
+ "jsdom": "30.1.2",
535
+ "playwright": "1.64.1",
536
+ "react": "19.3.0",
528
537
  "react-dom": "19.3.0",
529
538
  "react-error-boundary": "6.1.6",
530
- "react-hook-form": "7.88.0",
531
- "react-i18next": "17.0.14",
539
+ "react-hook-form": "7.90.0",
540
+ "react-i18next": "17.0.16",
532
541
  "react-oidc-context": "3.3.1",
533
- "react-router-dom": "7.18.4",
534
542
  "react-router": "8.4.0",
535
- "react-virtuoso": "4.18.14",
536
- "react": "19.3.0",
543
+ "react-router-dom": "7.18.4",
544
+ "react-virtuoso": "4.18.19",
545
+ "tsyringe": "4.10.0",
537
546
  "typescript": "6.0.3",
538
- "vite": "8.3.0",
539
- "vite-plugin-dts": "5.1.1",
547
+ "vite": "8.3.4",
548
+ "vite-plugin-dts": "5.1.2",
540
549
  "vite-plugin-lib-inject-css": "2.2.2",
541
550
  "vite-plugin-static-copy": "4.1.1",
542
551
  "vite-plugin-svgr": "5.2.0",
543
- "vitest": "5.0.1",
552
+ "vitest": "5.0.4",
544
553
  "vitest-browser-react": "2.3.0",
545
554
  "yup": "1.7.1"
546
555
  },
@@ -551,10 +560,10 @@
551
560
  "@emotion/cache": "*",
552
561
  "@emotion/react": "*",
553
562
  "@emotion/styled": "*",
554
- "@gen-epix/api-commondb": "^4.3.1",
555
- "@gen-epix/ui-core": "^3.3.1",
556
- "@gen-epix/ui-core-components": "^4.3.1",
557
- "@gen-epix/ui-core-form": "^4.3.1",
563
+ "@gen-epix/api-commondb": "^4.4.0",
564
+ "@gen-epix/ui-core": "^3.9.0",
565
+ "@gen-epix/ui-core-components": "^4.4.0",
566
+ "@gen-epix/ui-core-form": "^4.4.0",
558
567
  "@mui/icons-material": "*",
559
568
  "@mui/material": "*",
560
569
  "@mui/styled-engine": "*",
@@ -562,15 +571,16 @@
562
571
  "@mui/utils": "*",
563
572
  "axios": "*",
564
573
  "i18next": "*",
574
+ "react": "*",
565
575
  "react-dom": "*",
566
576
  "react-error-boundary": "*",
567
577
  "react-hook-form": "*",
568
578
  "react-i18next": "*",
569
579
  "react-oidc-context": "*",
570
- "react-router-dom": "*",
571
580
  "react-router": "*",
581
+ "react-router-dom": "*",
572
582
  "react-virtuoso": "*",
573
- "react": "*",
583
+ "tsyringe": "*",
574
584
  "yup": "*"
575
585
  },
576
586
  "publishConfig": {