@gen-epix/ui-client-common 4.3.1 → 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 (419) 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 +406 -117
  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/AppRouterProvider/AppRouterProvider.d.ts +1 -1
  127. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js +50 -49
  128. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js.map +1 -1
  129. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js +42 -41
  130. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js.map +1 -1
  131. package/dist/components/app/AuthenticationWrapper/AuthenticationWrapper.d.ts +1 -1
  132. package/dist/components/app/AuthenticationWrapper/index.js +68 -67
  133. package/dist/components/app/AuthenticationWrapper/index.js.map +1 -1
  134. package/dist/components/app/AuthorizationWrapper/index.js +33 -32
  135. package/dist/components/app/AuthorizationWrapper/index.js.map +1 -1
  136. package/dist/components/app/RouterRoot/RouterRoot.d.ts +1 -1
  137. package/dist/components/app/RouterRoot/index.js +62 -61
  138. package/dist/components/app/RouterRoot/index.js.map +1 -1
  139. package/dist/components/epi/EpiContactDetailsDialog/index.js +38 -37
  140. package/dist/components/epi/EpiContactDetailsDialog/index.js.map +1 -1
  141. package/dist/components/filters/BooleanFilterField/BooleanFilterField.d.ts +1 -1
  142. package/dist/components/filters/BooleanFilterField/index.js +5 -5
  143. package/dist/components/filters/BooleanFilterField/index.js.map +1 -1
  144. package/dist/components/filters/DateFilterField/DateFilterField.d.ts +1 -1
  145. package/dist/components/filters/DateFilterField/index.js +3 -3
  146. package/dist/components/filters/DateFilterField/index.js.map +1 -1
  147. package/dist/components/filters/GeoFilterField/GeoFilterField.d.ts +1 -1
  148. package/dist/components/filters/GeoFilterField/index.js +4 -4
  149. package/dist/components/filters/GeoFilterField/index.js.map +1 -1
  150. package/dist/components/filters/MultiSelectFilterField/MultiSelectFilterField.d.ts +1 -1
  151. package/dist/components/filters/MultiSelectFilterField/index.js +4 -4
  152. package/dist/components/filters/MultiSelectFilterField/index.js.map +1 -1
  153. package/dist/components/filters/NumberRangeFilterField/NumberRangeFilterField.d.ts +1 -1
  154. package/dist/components/filters/NumberRangeFilterField/index.js +3 -3
  155. package/dist/components/filters/NumberRangeFilterField/index.js.map +1 -1
  156. package/dist/components/filters/TextFilterField/TextFilterField.d.ts +1 -1
  157. package/dist/components/filters/TextFilterField/index.js +3 -3
  158. package/dist/components/filters/TextFilterField/index.js.map +1 -1
  159. package/dist/components/ui/ApplicationBar/ApplicationBar.d.ts +1 -1
  160. package/dist/components/ui/ApplicationBar/ApplicationBarActions.d.ts +1 -1
  161. package/dist/components/ui/ApplicationBar/ApplicationBarActionsFeedbackItem.d.ts +1 -1
  162. package/dist/components/ui/ApplicationBar/ApplicationBarActionsInfotem.d.ts +1 -1
  163. package/dist/components/ui/ApplicationBar/ApplicationBarActionsNotificationsItem.d.ts +1 -1
  164. package/dist/components/ui/ApplicationBar/ApplicationBarActionsOrganizationSwitcherItem.d.ts +1 -1
  165. package/dist/components/ui/ApplicationBar/ApplicationBarActionsOutagesItem.d.ts +1 -1
  166. package/dist/components/ui/ApplicationBar/ApplicationBarActionsUserItem.d.ts +1 -1
  167. package/dist/components/ui/ApplicationBar/ApplicationBarNavigationMenu.d.ts +1 -1
  168. package/dist/components/ui/ApplicationBar/UserOrganizationAdminMenuItem.d.ts +1 -1
  169. package/dist/components/ui/ApplicationBar/UserOwnOrganizationMenuItem.d.ts +1 -1
  170. package/dist/components/ui/ApplicationBar/index.js +242 -241
  171. package/dist/components/ui/ApplicationBar/index.js.map +1 -1
  172. package/dist/components/ui/ApplicationFooter/ApplicationFooter.d.ts +1 -1
  173. package/dist/components/ui/ApplicationFooter/ApplicationFooterLink.d.ts +1 -1
  174. package/dist/components/ui/ApplicationFooter/ApplicationFooterLinkSection.d.ts +1 -1
  175. package/dist/components/ui/ApplicationFooter/index.js +1 -2
  176. package/dist/components/ui/Breadcrumbs/Breadcrumb.d.ts +1 -1
  177. package/dist/components/ui/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  178. package/dist/components/ui/Breadcrumbs/index.js +1 -2
  179. package/dist/components/ui/ConsentDialog/index.js +11 -6
  180. package/dist/components/ui/ConsentDialog/index.js.map +1 -1
  181. package/dist/components/ui/GenericErrorMessage/GenericErrorMessage.d.ts +1 -1
  182. package/dist/components/ui/GenericErrorMessage/index.js +51 -50
  183. package/dist/components/ui/GenericErrorMessage/index.js.map +1 -1
  184. package/dist/components/ui/LicensesDialog/index.js +66 -69
  185. package/dist/components/ui/LicensesDialog/index.js.map +1 -1
  186. package/dist/components/ui/MyPermissionsDialog/index.js +26 -25
  187. package/dist/components/ui/MyPermissionsDialog/index.js.map +1 -1
  188. package/dist/components/ui/NavLink/NavLink.d.ts +1 -1
  189. package/dist/components/ui/NavLink/index.js +6 -6
  190. package/dist/components/ui/NavLink/index.js.map +1 -1
  191. package/dist/components/ui/Notifications/NotificationItem.d.ts +2 -2
  192. package/dist/components/ui/Notifications/NotificationsDrawer.d.ts +1 -1
  193. package/dist/components/ui/Notifications/index.js +1 -2
  194. package/dist/components/ui/OrganizationSwitcherDialog/index.js +69 -76
  195. package/dist/components/ui/OrganizationSwitcherDialog/index.js.map +1 -1
  196. package/dist/components/ui/OutageList/OutageItem.d.ts +1 -1
  197. package/dist/components/ui/OutageList/OutageList.d.ts +1 -1
  198. package/dist/components/ui/OutageList/OutageSection.d.ts +1 -1
  199. package/dist/components/ui/OutageList/index.js +1 -2
  200. package/dist/components/ui/OutagesDialog/index.js.map +1 -1
  201. package/dist/components/ui/PageContainer/PageContainer.d.ts +1 -1
  202. package/dist/components/ui/PageContainer/index.js +57 -52
  203. package/dist/components/ui/PageContainer/index.js.map +1 -1
  204. package/dist/components/ui/ResponseHandler/ResponseHandler.d.ts +1 -1
  205. package/dist/components/ui/ResponseHandler/index.js.map +1 -1
  206. package/dist/components/ui/Sidebar/SidebarItem.d.ts +2 -2
  207. package/dist/components/ui/Sidebar/SidebarMenu.d.ts +1 -1
  208. package/dist/components/ui/Sidebar/SidebarMenuItem.d.ts +2 -2
  209. package/dist/components/ui/Sidebar/index.js +45 -45
  210. package/dist/components/ui/Sidebar/index.js.map +1 -1
  211. package/dist/components/ui/SortableList/SortableList.d.ts +1 -1
  212. package/dist/components/ui/SortableList/SortableListItem.d.ts +1 -1
  213. package/dist/components/ui/SortableList/SortableListItemDragHandle.d.ts +1 -1
  214. package/dist/components/ui/SortableList/SortableOverlay.d.ts +1 -1
  215. package/dist/components/ui/SortableList/context/SortableListItemContextProvider.d.ts +1 -1
  216. package/dist/components/ui/Table/Table.d.ts +2 -2
  217. package/dist/components/ui/Table/TableActionsCell.d.ts +2 -2
  218. package/dist/components/ui/Table/TableCaption.d.ts +1 -1
  219. package/dist/components/ui/Table/TableCell.d.ts +2 -2
  220. package/dist/components/ui/Table/TableCellAsyncContent.d.ts +1 -1
  221. package/dist/components/ui/Table/TableCheckboxCell.d.ts +2 -2
  222. package/dist/components/ui/Table/TableCheckboxHeader.d.ts +2 -2
  223. package/dist/components/ui/Table/TableColumnsEditorDialog.d.ts +1 -1
  224. package/dist/components/ui/Table/TableFilter.d.ts +3 -3
  225. package/dist/components/ui/Table/TableFiltersSidebarItem.d.ts +2 -2
  226. package/dist/components/ui/Table/TableHeader.d.ts +1 -1
  227. package/dist/components/ui/Table/TableHeaderCell.d.ts +2 -2
  228. package/dist/components/ui/Table/TableHeaderFilter.d.ts +3 -3
  229. package/dist/components/ui/Table/TableMenu.d.ts +1 -1
  230. package/dist/components/ui/Table/TableReadableIndexCell.d.ts +2 -2
  231. package/dist/components/ui/Table/TableSidebarMenu.d.ts +1 -1
  232. package/dist/components/ui/Table/index.js +1 -2
  233. package/dist/components/ui/UserFeedbackDialog/index.js +65 -64
  234. package/dist/components/ui/UserFeedbackDialog/index.js.map +1 -1
  235. package/dist/components/ui/UserInactivityConfirmation/UserInactivityConfirmation.d.ts +1 -1
  236. package/dist/components/ui/UserInactivityConfirmation/index.js +26 -25
  237. package/dist/components/ui/UserInactivityConfirmation/index.js.map +1 -1
  238. package/dist/constants/config.constants.d.ts +5 -0
  239. package/dist/constants/config.constants.js +6 -0
  240. package/dist/constants/config.constants.js.map +1 -0
  241. package/dist/constants/{query.js → query.constants.js} +2 -2
  242. package/dist/constants/query.constants.js.map +1 -0
  243. package/dist/context/uiClientCommonConfigContext/UiClientCommonConfigContext.d.ts +6 -2
  244. package/dist/context/uiClientCommonConfigContext/UiClientCommonConfigContextProvider.d.ts +3 -3
  245. package/dist/context/uiClientCommonConfigContext/index.js +28 -12
  246. package/dist/context/uiClientCommonConfigContext/index.js.map +1 -1
  247. package/dist/context/uiClientCommonConfigContext/useUiClientCommonConfigContext.d.ts +2 -1
  248. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js +17 -16
  249. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js.map +1 -1
  250. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/useIdentifierIssuerOwnOrganizationQuery.d.ts +1 -1
  251. package/dist/dataHooks/useIdentifierIssuerQuery/index.js +18 -17
  252. package/dist/dataHooks/useIdentifierIssuerQuery/index.js.map +1 -1
  253. package/dist/dataHooks/useIdentifierIssuerQuery/useIdentifierIssuerQuery.d.ts +1 -1
  254. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js +11 -10
  255. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js.map +1 -1
  256. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js +22 -21
  257. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js.map +1 -1
  258. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/useOrganizationAdminPoliciesQuery.d.ts +1 -1
  259. package/dist/dataHooks/useOrganizationIdentifierIssuerLinksQuery/index.js +8 -7
  260. package/dist/dataHooks/useOrganizationIdentifierIssuerLinksQuery/index.js.map +1 -1
  261. package/dist/dataHooks/useOrganizationsQuery/index.js +17 -16
  262. package/dist/dataHooks/useOrganizationsQuery/index.js.map +1 -1
  263. package/dist/dataHooks/useOrganizationsQuery/useOrganizationsQuery.d.ts +1 -1
  264. package/dist/dataHooks/useUsersQuery/index.js +18 -17
  265. package/dist/dataHooks/useUsersQuery/index.js.map +1 -1
  266. package/dist/dataHooks/useUsersQuery/useUsersQuery.d.ts +1 -1
  267. package/dist/hoc/withPermissions/index.js +12 -11
  268. package/dist/hoc/withPermissions/index.js.map +1 -1
  269. package/dist/hoc/withPermissions/withPermissions.d.ts +1 -1
  270. package/dist/hooks/useColumnsMenu/index.js +1 -2
  271. package/dist/hooks/useColumnsMenu/useColumnsMenu.d.ts +2 -2
  272. package/dist/hooks/useConfig/index.d.ts +1 -0
  273. package/dist/hooks/useConfig/index.js +7 -0
  274. package/dist/hooks/useConfig/index.js.map +1 -0
  275. package/dist/hooks/useConfig/useConfig.d.ts +2 -0
  276. package/dist/hooks/useCreateMutation/index.js +25 -24
  277. package/dist/hooks/useCreateMutation/index.js.map +1 -1
  278. package/dist/hooks/useCreateMutation/useCreateMutation.d.ts +1 -1
  279. package/dist/hooks/useDeleteMutation/index.js +24 -23
  280. package/dist/hooks/useDeleteMutation/index.js.map +1 -1
  281. package/dist/hooks/useDeleteMutation/useDeleteMutation.d.ts +1 -1
  282. package/dist/hooks/useEditMutation/index.js +33 -32
  283. package/dist/hooks/useEditMutation/index.js.map +1 -1
  284. package/dist/hooks/useEditMutation/useEditMutation.d.ts +1 -1
  285. package/dist/hooks/useInitializeTableStore/index.js.map +1 -1
  286. package/dist/hooks/useInitializeTableStore/useInitializeTableStore.d.ts +1 -1
  287. package/dist/hooks/useItemQuery/index.js +36 -35
  288. package/dist/hooks/useItemQuery/index.js.map +1 -1
  289. package/dist/hooks/useItemQuery/useItemQuery.d.ts +1 -1
  290. package/dist/hooks/useQueryMemo/index.js +1 -2
  291. package/dist/hooks/useUpdateBreadcrumb/index.js +10 -9
  292. package/dist/hooks/useUpdateBreadcrumb/index.js.map +1 -1
  293. package/dist/hooks/useUpdateDocumentTitle/index.js +4 -3
  294. package/dist/hooks/useUpdateDocumentTitle/index.js.map +1 -1
  295. package/dist/models/{admin.js → admin.models.js} +2 -2
  296. package/dist/models/admin.models.js.map +1 -0
  297. package/dist/models/api.models.d.ts +16 -0
  298. package/dist/models/api.models.js +6 -0
  299. package/dist/models/api.models.js.map +1 -0
  300. package/dist/models/{dataHooks.d.ts → data-hooks.models.d.ts} +1 -1
  301. package/dist/models/{table.d.ts → table.models.d.ts} +2 -2
  302. package/dist/models/{table.js → table.models.js} +2 -2
  303. package/dist/models/table.models.js.map +1 -0
  304. package/dist/pages/AcceptInvitationPage/AcceptInvitationPage.d.ts +1 -1
  305. package/dist/pages/AcceptInvitationPage/index.js +40 -39
  306. package/dist/pages/AcceptInvitationPage/index.js.map +1 -1
  307. package/dist/pages/AdminPage/AdminPage.d.ts +1 -1
  308. package/dist/pages/AdminPage/index.js +39 -38
  309. package/dist/pages/AdminPage/index.js.map +1 -1
  310. package/dist/pages/ChooseIdentityProviderPage/ChooseIdentityProviderPage.d.ts +2 -2
  311. package/dist/pages/ChooseIdentityProviderPage/index.js +38 -37
  312. package/dist/pages/ChooseIdentityProviderPage/index.js.map +1 -1
  313. package/dist/pages/CrudPage/CrudPage.d.ts +7 -7
  314. package/dist/pages/CrudPage/CrudPageDeleteDialog.d.ts +1 -1
  315. package/dist/pages/CrudPage/CrudPageEditDialog.d.ts +2 -2
  316. package/dist/pages/CrudPage/index.js +1 -2
  317. package/dist/pages/ErrorPage/ErrorPage.d.ts +1 -1
  318. package/dist/pages/ErrorPage/index.js.map +1 -1
  319. package/dist/pages/IdentifierIssuersAdminPage/IdentifierIssuersAdminPage.d.ts +1 -1
  320. package/dist/pages/IdentifierIssuersAdminPage/index.js +41 -40
  321. package/dist/pages/IdentifierIssuersAdminPage/index.js.map +1 -1
  322. package/dist/pages/OrganizationAdminPoliciesAdminPage/OrganizationAdminPoliciesAdminPage.d.ts +1 -1
  323. package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js +58 -57
  324. package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js.map +1 -1
  325. package/dist/pages/OrganizationContactsAdminPage/OrganizationContactsAdminPage.d.ts +1 -1
  326. package/dist/pages/OrganizationContactsAdminPage/index.js +49 -48
  327. package/dist/pages/OrganizationContactsAdminPage/index.js.map +1 -1
  328. package/dist/pages/OrganizationSitesAdminPage/OrganizationSitesAdminPage.d.ts +1 -1
  329. package/dist/pages/OrganizationSitesAdminPage/index.js +44 -43
  330. package/dist/pages/OrganizationSitesAdminPage/index.js.map +1 -1
  331. package/dist/pages/OrganizationsAdminPage/OrganizationsAdminPage.d.ts +1 -1
  332. package/dist/pages/OrganizationsAdminPage/index.js +57 -56
  333. package/dist/pages/OrganizationsAdminPage/index.js.map +1 -1
  334. package/dist/pages/OutagesAdminPage/OutagesAdminPage.d.ts +1 -1
  335. package/dist/pages/OutagesAdminPage/index.js +63 -62
  336. package/dist/pages/OutagesAdminPage/index.js.map +1 -1
  337. package/dist/pages/PostLoginPage/PostLoginPage.d.ts +1 -1
  338. package/dist/pages/PostLoginPage/index.js +14 -13
  339. package/dist/pages/PostLoginPage/index.js.map +1 -1
  340. package/dist/pages/PostLogoutPage/PostLogoutPage.d.ts +1 -1
  341. package/dist/pages/PostLogoutPage/index.js +19 -18
  342. package/dist/pages/PostLogoutPage/index.js.map +1 -1
  343. package/dist/pages/RouterErrorPage/RouterErrorPage.d.ts +1 -1
  344. package/dist/pages/RouterErrorPage/index.js.map +1 -1
  345. package/dist/pages/UserInvitationsAdminPage/UserInvitationsAdminPage.d.ts +1 -1
  346. package/dist/pages/UserInvitationsAdminPage/index.js +1 -2
  347. package/dist/pages/UsersAdminPage/UsersAdminPage.d.ts +2 -2
  348. package/dist/pages/UsersAdminPage/index.js +110 -109
  349. package/dist/pages/UsersAdminPage/index.js.map +1 -1
  350. package/dist/routes/adminRoutes.d.ts +1 -1
  351. package/dist/routes/index.js +1 -1
  352. package/dist/routes/index.js.map +1 -1
  353. package/dist/routes/routes.d.ts +1 -1
  354. package/dist/setup/setup.js.map +1 -1
  355. package/dist/stores/oidcStore/index.js.map +1 -1
  356. package/dist/stores/outagesStore/index.js.map +1 -1
  357. package/dist/stores/outagesStore/outagesStore.d.ts +1 -1
  358. package/dist/stores/tableStore/TableStoreContextProvider.d.ts +1 -1
  359. package/dist/stores/tableStore/index.js +1 -2
  360. package/dist/stores/tableStore/tableStore.d.ts +2 -2
  361. package/dist/theme/demoTheme/index.js.map +1 -1
  362. package/dist/utils/AxiosUtil/index.js.map +1 -1
  363. package/dist/utils/DataHookUtil/DataHookUtil.d.ts +1 -1
  364. package/dist/utils/DataHookUtil/index.js.map +1 -1
  365. package/dist/utils/LoadableUtil/LoadableUtil.d.ts +1 -1
  366. package/dist/utils/LoadableUtil/index.js.map +1 -1
  367. package/dist/utils/MenuDataUtil/MenuDataUtil.d.ts +1 -1
  368. package/dist/utils/MenuDataUtil/index.js.map +1 -1
  369. package/dist/utils/NotificationUtil/index.js.map +1 -1
  370. package/dist/utils/OutageUtil/OutageUtil.d.ts +1 -1
  371. package/dist/utils/OutageUtil/index.js +1 -2
  372. package/dist/utils/StandardConfigUtil/StandardConfigUtil.d.ts +1 -1
  373. package/dist/utils/StandardConfigUtil/index.js.map +1 -1
  374. package/dist/utils/TableUtil/TableUtil.d.ts +4 -4
  375. package/dist/utils/TableUtil/index.js +1 -2
  376. package/dist/utils/TimeUtil/index.js.map +1 -1
  377. package/dist/utils/UserManagerUtil/index.js +1 -2
  378. package/dist/utils/UserUtil/index.js.map +1 -1
  379. package/package.json +93 -87
  380. package/dist/_chunks/_baseGet.js +0 -280
  381. package/dist/_chunks/_baseGet.js.map +0 -1
  382. package/dist/_chunks/_baseIteratee.js +0 -274
  383. package/dist/_chunks/_baseIteratee.js.map +0 -1
  384. package/dist/_chunks/last.js +0 -13
  385. package/dist/_chunks/last.js.map +0 -1
  386. package/dist/_chunks/uniq.js +0 -44
  387. package/dist/_chunks/uniq.js.map +0 -1
  388. package/dist/classes/services/ApiService/ApiService.d.ts +0 -19
  389. package/dist/classes/services/ApiService/index.d.ts +0 -1
  390. package/dist/classes/services/ApiService/index.js +0 -21
  391. package/dist/classes/services/ApiService/index.js.map +0 -1
  392. package/dist/classes/services/ConfigService/ConfigService.d.ts +0 -9
  393. package/dist/classes/services/ConfigService/index.d.ts +0 -1
  394. package/dist/classes/services/ConfigService/index.js +0 -21
  395. package/dist/classes/services/ConfigService/index.js.map +0 -1
  396. package/dist/constants/query.js.map +0 -1
  397. package/dist/models/admin.js.map +0 -1
  398. package/dist/models/api.d.ts +0 -9
  399. package/dist/models/table.js.map +0 -1
  400. package/dist/models/theme.js +0 -0
  401. /package/dist/constants/{query.d.ts → query.constants.d.ts} +0 -0
  402. /package/dist/models/{admin.d.ts → admin.models.d.ts} +0 -0
  403. /package/dist/models/{auth.d.ts → auth.models.d.ts} +0 -0
  404. /package/dist/models/{api.js → auth.models.js} +0 -0
  405. /package/dist/models/{config.d.ts → config.models.d.ts} +0 -0
  406. /package/dist/models/{auth.js → config.models.js} +0 -0
  407. /package/dist/models/{config.js → data-hooks.models.js} +0 -0
  408. /package/dist/models/{data.d.ts → data.models.d.ts} +0 -0
  409. /package/dist/models/{data.js → data.models.js} +0 -0
  410. /package/dist/models/{filter.d.ts → filter.models.d.ts} +0 -0
  411. /package/dist/models/{dataHooks.js → filter.models.js} +0 -0
  412. /package/dist/models/{notification.d.ts → notification.models.d.ts} +0 -0
  413. /package/dist/models/{filter.js → notification.models.js} +0 -0
  414. /package/dist/models/{outage.d.ts → outage.models.d.ts} +0 -0
  415. /package/dist/models/{notification.js → outage.models.js} +0 -0
  416. /package/dist/models/{reactRouter.d.ts → react-router.models.d.ts} +0 -0
  417. /package/dist/models/{outage.js → react-router.models.js} +0 -0
  418. /package/dist/models/{theme.d.ts → theme.models.d.ts} +0 -0
  419. /package/dist/models/{reactRouter.js → theme.models.js} +0 -0
@@ -1,683 +1,51 @@
1
- import { t as e } from "../../../_chunks/rolldown-runtime.js";
2
- import { AxiosUtil as t } from "../../../utils/AxiosUtil/index.js";
3
- import { oidcStore as n } from "../../../stores/oidcStore/index.js";
4
- import { AuthorizationService as r } from "../AuthorizationService/index.js";
5
- import { WindowService as i } from "@gen-epix/ui-core/classes/services/WindowService";
6
- import { HmrUtil as a } from "@gen-epix/ui-core/utils/HmrUtil";
7
- import { Subject as o } from "@gen-epix/ui-core/classes/Subject";
8
- import { SubscribableAbstract as s } from "@gen-epix/ui-core/classes/abstracts/SubscribableAbstract";
9
- (/* @__PURE__ */ e((() => {
10
- var e;
11
- (function(e) {
12
- (function(t) {
13
- var n = typeof globalThis == "object" ? globalThis : typeof global == "object" ? global : typeof self == "object" ? self : typeof this == "object" ? this : s(), r = i(e);
14
- n.Reflect !== void 0 && (r = i(n.Reflect, r)), t(r, n), n.Reflect === void 0 && (n.Reflect = e);
15
- function i(e, t) {
16
- return function(n, r) {
17
- Object.defineProperty(e, n, {
18
- configurable: !0,
19
- writable: !0,
20
- value: r
21
- }), t && t(n, r);
22
- };
23
- }
24
- function a() {
25
- try {
26
- return Function("return this;")();
27
- } catch {}
28
- }
29
- function o() {
30
- try {
31
- return (0, eval)("(function() { return this; })()");
32
- } catch {}
33
- }
34
- function s() {
35
- return a() || o();
36
- }
37
- })(function(e, t) {
38
- var n = Object.prototype.hasOwnProperty, r = typeof Symbol == "function", i = r && Symbol.toPrimitive !== void 0 ? Symbol.toPrimitive : "@@toPrimitive", a = r && Symbol.iterator !== void 0 ? Symbol.iterator : "@@iterator", o = typeof Object.create == "function", s = { __proto__: [] } instanceof Array, c = !o && !s, l = {
39
- create: o ? function() {
40
- return $(Object.create(null));
41
- } : s ? function() {
42
- return $({ __proto__: null });
43
- } : function() {
44
- return $({});
45
- },
46
- has: c ? function(e, t) {
47
- return n.call(e, t);
48
- } : function(e, t) {
49
- return t in e;
50
- },
51
- get: c ? function(e, t) {
52
- return n.call(e, t) ? e[t] : void 0;
53
- } : function(e, t) {
54
- return e[t];
55
- }
56
- }, u = Object.getPrototypeOf(Function), d = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : le(), f = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : ue(), p = typeof WeakMap == "function" ? WeakMap : de(), m = r ? Symbol.for("@reflect-metadata:registry") : void 0, h = oe(), g = se(h);
57
- function _(e, t, n, r) {
58
- if (P(n)) {
59
- if (!V(e) || !U(t)) throw TypeError();
60
- return w(e, t);
61
- }
62
- if (!V(e) || !L(t) || !L(r) && !P(r) && !F(r)) throw TypeError();
63
- return F(r) && (r = void 0), n = B(n), T(e, t, n, r);
64
- }
65
- e("decorate", _);
66
- function v(e, t) {
67
- function n(n, r) {
68
- if (!L(n) || !P(r) && !W(r)) throw TypeError();
69
- A(e, t, n, r);
70
- }
71
- return n;
72
- }
73
- e("metadata", v);
74
- function y(e, t, n, r) {
75
- if (!L(n)) throw TypeError();
76
- return P(r) || (r = B(r)), A(e, t, n, r);
77
- }
78
- e("defineMetadata", y);
79
- function b(e, t, n) {
80
- if (!L(t)) throw TypeError();
81
- return P(n) || (n = B(n)), E(e, t, n);
82
- }
83
- e("hasMetadata", b);
84
- function x(e, t, n) {
85
- if (!L(t)) throw TypeError();
86
- return P(n) || (n = B(n)), D(e, t, n);
87
- }
88
- e("hasOwnMetadata", x);
89
- function S(e, t, n) {
90
- if (!L(t)) throw TypeError();
91
- return P(n) || (n = B(n)), O(e, t, n);
92
- }
93
- e("getMetadata", S);
94
- function C(e, t, n) {
95
- if (!L(t)) throw TypeError();
96
- return P(n) || (n = B(n)), k(e, t, n);
97
- }
98
- e("getOwnMetadata", C);
99
- function ee(e, t) {
100
- if (!L(e)) throw TypeError();
101
- return P(t) || (t = B(t)), j(e, t);
102
- }
103
- e("getMetadataKeys", ee);
104
- function te(e, t) {
105
- if (!L(e)) throw TypeError();
106
- return P(t) || (t = B(t)), M(e, t);
107
- }
108
- e("getOwnMetadataKeys", te);
109
- function ne(e, t, n) {
110
- if (!L(t) || (P(n) || (n = B(n)), !L(t))) throw TypeError();
111
- P(n) || (n = B(n));
112
- var r = Q(t, n, !1);
113
- return !P(r) && r.OrdinaryDeleteMetadata(e, t, n);
114
- }
115
- e("deleteMetadata", ne);
116
- function w(e, t) {
117
- for (var n = e.length - 1; n >= 0; --n) {
118
- var r = e[n], i = r(t);
119
- if (!P(i) && !F(i)) {
120
- if (!U(i)) throw TypeError();
121
- t = i;
122
- }
123
- }
124
- return t;
125
- }
126
- function T(e, t, n, r) {
127
- for (var i = e.length - 1; i >= 0; --i) {
128
- var a = e[i], o = a(t, n, r);
129
- if (!P(o) && !F(o)) {
130
- if (!L(o)) throw TypeError();
131
- r = o;
132
- }
133
- }
134
- return r;
135
- }
136
- function E(e, t, n) {
137
- if (D(e, t, n)) return !0;
138
- var r = Z(t);
139
- return !F(r) && E(e, r, n);
140
- }
141
- function D(e, t, n) {
142
- var r = Q(t, n, !1);
143
- return !P(r) && R(r.OrdinaryHasOwnMetadata(e, t, n));
144
- }
145
- function O(e, t, n) {
146
- if (D(e, t, n)) return k(e, t, n);
147
- var r = Z(t);
148
- if (!F(r)) return O(e, r, n);
149
- }
150
- function k(e, t, n) {
151
- var r = Q(t, n, !1);
152
- if (!P(r)) return r.OrdinaryGetOwnMetadata(e, t, n);
153
- }
154
- function A(e, t, n, r) {
155
- Q(n, r, !0).OrdinaryDefineOwnMetadata(e, t, n, r);
156
- }
157
- function j(e, t) {
158
- var n = M(e, t), r = Z(e);
159
- if (r === null) return n;
160
- var i = j(r, t);
161
- if (i.length <= 0) return n;
162
- if (n.length <= 0) return i;
163
- for (var a = new f(), o = [], s = 0, c = n; s < c.length; s++) {
164
- var l = c[s], u = a.has(l);
165
- u || (a.add(l), o.push(l));
166
- }
167
- for (var d = 0, p = i; d < p.length; d++) {
168
- var l = p[d], u = a.has(l);
169
- u || (a.add(l), o.push(l));
170
- }
171
- return o;
172
- }
173
- function M(e, t) {
174
- var n = Q(e, t, !1);
175
- return n ? n.OrdinaryOwnMetadataKeys(e, t) : [];
176
- }
177
- function N(e) {
178
- if (e === null) return 1;
179
- switch (typeof e) {
180
- case "undefined": return 0;
181
- case "boolean": return 2;
182
- case "string": return 3;
183
- case "symbol": return 4;
184
- case "number": return 5;
185
- case "object": return e === null ? 1 : 6;
186
- default: return 6;
187
- }
188
- }
189
- function P(e) {
190
- return e === void 0;
191
- }
192
- function F(e) {
193
- return e === null;
194
- }
195
- function I(e) {
196
- return typeof e == "symbol";
197
- }
198
- function L(e) {
199
- return typeof e == "object" ? e !== null : typeof e == "function";
200
- }
201
- function re(e, t) {
202
- switch (N(e)) {
203
- case 0: return e;
204
- case 1: return e;
205
- case 2: return e;
206
- case 3: return e;
207
- case 4: return e;
208
- case 5: return e;
209
- }
210
- var n = t === 3 ? "string" : t === 5 ? "number" : "default", r = K(e, i);
211
- if (r !== void 0) {
212
- var a = r.call(e, n);
213
- if (L(a)) throw TypeError();
214
- return a;
215
- }
216
- return ie(e, n === "default" ? "number" : n);
217
- }
218
- function ie(e, t) {
219
- if (t === "string") {
220
- var n = e.toString;
221
- if (H(n)) {
222
- var r = n.call(e);
223
- if (!L(r)) return r;
224
- }
225
- var i = e.valueOf;
226
- if (H(i)) {
227
- var r = i.call(e);
228
- if (!L(r)) return r;
229
- }
230
- } else {
231
- var i = e.valueOf;
232
- if (H(i)) {
233
- var r = i.call(e);
234
- if (!L(r)) return r;
235
- }
236
- var a = e.toString;
237
- if (H(a)) {
238
- var r = a.call(e);
239
- if (!L(r)) return r;
240
- }
241
- }
242
- throw TypeError();
243
- }
244
- function R(e) {
245
- return !!e;
246
- }
247
- function z(e) {
248
- return "" + e;
249
- }
250
- function B(e) {
251
- var t = re(e, 3);
252
- return I(t) ? t : z(t);
253
- }
254
- function V(e) {
255
- return Array.isArray ? Array.isArray(e) : e instanceof Object ? e instanceof Array : Object.prototype.toString.call(e) === "[object Array]";
256
- }
257
- function H(e) {
258
- return typeof e == "function";
259
- }
260
- function U(e) {
261
- return typeof e == "function";
262
- }
263
- function W(e) {
264
- switch (N(e)) {
265
- case 3: return !0;
266
- case 4: return !0;
267
- default: return !1;
268
- }
269
- }
270
- function G(e, t) {
271
- return e === t || e !== e && t !== t;
272
- }
273
- function K(e, t) {
274
- var n = e[t];
275
- if (n != null) {
276
- if (!H(n)) throw TypeError();
277
- return n;
278
- }
279
- }
280
- function q(e) {
281
- var t = K(e, a);
282
- if (!H(t)) throw TypeError();
283
- var n = t.call(e);
284
- if (!L(n)) throw TypeError();
285
- return n;
286
- }
287
- function J(e) {
288
- return e.value;
289
- }
290
- function Y(e) {
291
- var t = e.next();
292
- return !t.done && t;
293
- }
294
- function X(e) {
295
- var t = e.return;
296
- t && t.call(e);
297
- }
298
- function Z(e) {
299
- var t = Object.getPrototypeOf(e);
300
- if (typeof e != "function" || e === u || t !== u) return t;
301
- var n = e.prototype, r = n && Object.getPrototypeOf(n);
302
- if (r == null || r === Object.prototype) return t;
303
- var i = r.constructor;
304
- return typeof i != "function" || i === e ? t : i;
305
- }
306
- function ae() {
307
- var e;
308
- !P(m) && t.Reflect !== void 0 && !(m in t.Reflect) && typeof t.Reflect.defineMetadata == "function" && (e = ce(t.Reflect));
309
- var n, r, i, a = new p(), o = {
310
- registerProvider: s,
311
- getProvider: l,
312
- setProvider: h
313
- };
314
- return o;
315
- function s(t) {
316
- if (!Object.isExtensible(o)) throw Error("Cannot add provider to a frozen registry.");
317
- switch (!0) {
318
- case e === t: break;
319
- case P(n):
320
- n = t;
321
- break;
322
- case n === t: break;
323
- case P(r):
324
- r = t;
325
- break;
326
- case r === t: break;
327
- default: i === void 0 && (i = new f()), i.add(t);
328
- }
329
- }
330
- function c(t, a) {
331
- if (!P(n)) {
332
- if (n.isProviderFor(t, a)) return n;
333
- if (!P(r)) {
334
- if (r.isProviderFor(t, a)) return n;
335
- if (!P(i)) for (var o = q(i);;) {
336
- var s = Y(o);
337
- if (!s) return;
338
- var c = J(s);
339
- if (c.isProviderFor(t, a)) return X(o), c;
340
- }
341
- }
342
- }
343
- if (!P(e) && e.isProviderFor(t, a)) return e;
344
- }
345
- function l(e, t) {
346
- var n = a.get(e), r;
347
- return P(n) || (r = n.get(t)), P(r) ? (r = c(e, t), P(r) || (P(n) && (n = new d(), a.set(e, n)), n.set(t, r)), r) : r;
348
- }
349
- function u(e) {
350
- if (P(e)) throw TypeError();
351
- return n === e || r === e || !P(i) && i.has(e);
352
- }
353
- function h(e, t, n) {
354
- if (!u(n)) throw Error("Metadata provider not registered.");
355
- var r = l(e, t);
356
- if (r !== n) {
357
- if (!P(r)) return !1;
358
- var i = a.get(e);
359
- P(i) && (i = new d(), a.set(e, i)), i.set(t, n);
360
- }
361
- return !0;
362
- }
363
- }
364
- function oe() {
365
- var e;
366
- return !P(m) && L(t.Reflect) && Object.isExtensible(t.Reflect) && (e = t.Reflect[m]), P(e) && (e = ae()), !P(m) && L(t.Reflect) && Object.isExtensible(t.Reflect) && Object.defineProperty(t.Reflect, m, {
367
- enumerable: !1,
368
- configurable: !1,
369
- writable: !1,
370
- value: e
371
- }), e;
372
- }
373
- function se(e) {
374
- var t = new p(), n = {
375
- isProviderFor: function(e, n) {
376
- var r = t.get(e);
377
- return !P(r) && r.has(n);
378
- },
379
- OrdinaryDefineOwnMetadata: o,
380
- OrdinaryHasOwnMetadata: i,
381
- OrdinaryGetOwnMetadata: a,
382
- OrdinaryOwnMetadataKeys: s,
383
- OrdinaryDeleteMetadata: c
384
- };
385
- return h.registerProvider(n), n;
386
- function r(r, i, a) {
387
- var o = t.get(r), s = !1;
388
- if (P(o)) {
389
- if (!a) return;
390
- o = new d(), t.set(r, o), s = !0;
391
- }
392
- var c = o.get(i);
393
- if (P(c)) {
394
- if (!a) return;
395
- if (c = new d(), o.set(i, c), !e.setProvider(r, i, n)) throw o.delete(i), s && t.delete(r), Error("Wrong provider for target.");
396
- }
397
- return c;
398
- }
399
- function i(e, t, n) {
400
- var i = r(t, n, !1);
401
- return !P(i) && R(i.has(e));
402
- }
403
- function a(e, t, n) {
404
- var i = r(t, n, !1);
405
- if (!P(i)) return i.get(e);
406
- }
407
- function o(e, t, n, i) {
408
- r(n, i, !0).set(e, t);
409
- }
410
- function s(e, t) {
411
- var n = [], i = r(e, t, !1);
412
- if (P(i)) return n;
413
- for (var a = q(i.keys()), o = 0;;) {
414
- var s = Y(a);
415
- if (!s) return n.length = o, n;
416
- var c = J(s);
417
- try {
418
- n[o] = c;
419
- } catch (e) {
420
- try {
421
- X(a);
422
- } finally {
423
- throw e;
424
- }
425
- }
426
- o++;
427
- }
428
- }
429
- function c(e, n, i) {
430
- var a = r(n, i, !1);
431
- if (P(a) || !a.delete(e)) return !1;
432
- if (a.size === 0) {
433
- var o = t.get(n);
434
- P(o) || (o.delete(i), o.size === 0 && t.delete(o));
435
- }
436
- return !0;
437
- }
438
- }
439
- function ce(e) {
440
- var t = e.defineMetadata, n = e.hasOwnMetadata, r = e.getOwnMetadata, i = e.getOwnMetadataKeys, a = e.deleteMetadata, o = new p();
441
- return {
442
- isProviderFor: function(e, t) {
443
- var n = o.get(e);
444
- return !P(n) && n.has(t) ? !0 : i(e, t).length ? (P(n) && (n = new f(), o.set(e, n)), n.add(t), !0) : !1;
445
- },
446
- OrdinaryDefineOwnMetadata: t,
447
- OrdinaryHasOwnMetadata: n,
448
- OrdinaryGetOwnMetadata: r,
449
- OrdinaryOwnMetadataKeys: i,
450
- OrdinaryDeleteMetadata: a
451
- };
452
- }
453
- function Q(e, t, n) {
454
- var r = h.getProvider(e, t);
455
- if (!P(r)) return r;
456
- if (n) {
457
- if (h.setProvider(e, t, g)) return g;
458
- throw Error("Illegal state.");
459
- }
460
- }
461
- function le() {
462
- var e = {}, t = [], n = function() {
463
- function e(e, t, n) {
464
- this._index = 0, this._keys = e, this._values = t, this._selector = n;
465
- }
466
- return e.prototype["@@iterator"] = function() {
467
- return this;
468
- }, e.prototype[a] = function() {
469
- return this;
470
- }, e.prototype.next = function() {
471
- var e = this._index;
472
- if (e >= 0 && e < this._keys.length) {
473
- var n = this._selector(this._keys[e], this._values[e]);
474
- return e + 1 >= this._keys.length ? (this._index = -1, this._keys = t, this._values = t) : this._index++, {
475
- value: n,
476
- done: !1
477
- };
478
- }
479
- return {
480
- value: void 0,
481
- done: !0
482
- };
483
- }, e.prototype.throw = function(e) {
484
- throw this._index >= 0 && (this._index = -1, this._keys = t, this._values = t), e;
485
- }, e.prototype.return = function(e) {
486
- return this._index >= 0 && (this._index = -1, this._keys = t, this._values = t), {
487
- value: e,
488
- done: !0
489
- };
490
- }, e;
491
- }();
492
- return function() {
493
- function t() {
494
- this._keys = [], this._values = [], this._cacheKey = e, this._cacheIndex = -2;
495
- }
496
- return Object.defineProperty(t.prototype, "size", {
497
- get: function() {
498
- return this._keys.length;
499
- },
500
- enumerable: !0,
501
- configurable: !0
502
- }), t.prototype.has = function(e) {
503
- return this._find(e, !1) >= 0;
504
- }, t.prototype.get = function(e) {
505
- var t = this._find(e, !1);
506
- return t >= 0 ? this._values[t] : void 0;
507
- }, t.prototype.set = function(e, t) {
508
- var n = this._find(e, !0);
509
- return this._values[n] = t, this;
510
- }, t.prototype.delete = function(t) {
511
- var n = this._find(t, !1);
512
- if (n >= 0) {
513
- for (var r = this._keys.length, i = n + 1; i < r; i++) this._keys[i - 1] = this._keys[i], this._values[i - 1] = this._values[i];
514
- return this._keys.length--, this._values.length--, G(t, this._cacheKey) && (this._cacheKey = e, this._cacheIndex = -2), !0;
515
- }
516
- return !1;
517
- }, t.prototype.clear = function() {
518
- this._keys.length = 0, this._values.length = 0, this._cacheKey = e, this._cacheIndex = -2;
519
- }, t.prototype.keys = function() {
520
- return new n(this._keys, this._values, r);
521
- }, t.prototype.values = function() {
522
- return new n(this._keys, this._values, i);
523
- }, t.prototype.entries = function() {
524
- return new n(this._keys, this._values, o);
525
- }, t.prototype["@@iterator"] = function() {
526
- return this.entries();
527
- }, t.prototype[a] = function() {
528
- return this.entries();
529
- }, t.prototype._find = function(e, t) {
530
- if (!G(this._cacheKey, e)) {
531
- this._cacheIndex = -1;
532
- for (var n = 0; n < this._keys.length; n++) if (G(this._keys[n], e)) {
533
- this._cacheIndex = n;
534
- break;
535
- }
536
- }
537
- return this._cacheIndex < 0 && t && (this._cacheIndex = this._keys.length, this._keys.push(e), this._values.push(void 0)), this._cacheIndex;
538
- }, t;
539
- }();
540
- function r(e, t) {
541
- return e;
542
- }
543
- function i(e, t) {
544
- return t;
545
- }
546
- function o(e, t) {
547
- return [e, t];
548
- }
549
- }
550
- function ue() {
551
- return function() {
552
- function e() {
553
- this._map = new d();
554
- }
555
- return Object.defineProperty(e.prototype, "size", {
556
- get: function() {
557
- return this._map.size;
558
- },
559
- enumerable: !0,
560
- configurable: !0
561
- }), e.prototype.has = function(e) {
562
- return this._map.has(e);
563
- }, e.prototype.add = function(e) {
564
- return this._map.set(e, e), this;
565
- }, e.prototype.delete = function(e) {
566
- return this._map.delete(e);
567
- }, e.prototype.clear = function() {
568
- this._map.clear();
569
- }, e.prototype.keys = function() {
570
- return this._map.keys();
571
- }, e.prototype.values = function() {
572
- return this._map.keys();
573
- }, e.prototype.entries = function() {
574
- return this._map.entries();
575
- }, e.prototype["@@iterator"] = function() {
576
- return this.keys();
577
- }, e.prototype[a] = function() {
578
- return this.keys();
579
- }, e;
580
- }();
581
- }
582
- function de() {
583
- var e = l.create(), t = r();
584
- return function() {
585
- function e() {
586
- this._key = r();
587
- }
588
- return e.prototype.has = function(e) {
589
- var t = i(e, !1);
590
- return t !== void 0 && l.has(t, this._key);
591
- }, e.prototype.get = function(e) {
592
- var t = i(e, !1);
593
- return t === void 0 ? void 0 : l.get(t, this._key);
594
- }, e.prototype.set = function(e, t) {
595
- var n = i(e, !0);
596
- return n[this._key] = t, this;
597
- }, e.prototype.delete = function(e) {
598
- var t = i(e, !1);
599
- return t !== void 0 && delete t[this._key];
600
- }, e.prototype.clear = function() {
601
- this._key = r();
602
- }, e;
603
- }();
604
- function r() {
605
- var t;
606
- do
607
- t = "@@WeakMap@@" + s();
608
- while (l.has(e, t));
609
- return e[t] = !0, t;
610
- }
611
- function i(e, r) {
612
- if (!n.call(e, t)) {
613
- if (!r) return;
614
- Object.defineProperty(e, t, { value: l.create() });
615
- }
616
- return e[t];
617
- }
618
- function a(e, t) {
619
- for (var n = 0; n < t; ++n) e[n] = Math.random() * 255 | 0;
620
- return e;
621
- }
622
- function o(e) {
623
- if (typeof Uint8Array == "function") {
624
- var t = new Uint8Array(e);
625
- return typeof crypto < "u" ? crypto.getRandomValues(t) : typeof msCrypto < "u" ? msCrypto.getRandomValues(t) : a(t, e), t;
626
- }
627
- return a(Array(e), e);
628
- }
629
- function s() {
630
- var e = o(16);
631
- e[6] = e[6] & 79 | 64, e[8] = e[8] & 191 | 128;
632
- for (var t = "", n = 0; n < 16; ++n) {
633
- var r = e[n];
634
- (n === 4 || n === 6 || n === 8) && (t += "-"), r < 16 && (t += "0"), t += r.toString(16).toLowerCase();
635
- }
636
- return t;
637
- }
638
- }
639
- function $(e) {
640
- return e.__ = void 0, delete e.__, e;
641
- }
642
- });
643
- })(e ||= {});
644
- })))();
645
- var c = Symbol("createdAt"), l = class e extends s {
1
+ import { t as e } from "../../../_chunks/Reflect.js";
2
+ import { t } from "../../../_chunks/decorate.js";
3
+ import { WINDOW_SERVICE_TOKEN as n } from "../../../constants/config.constants.js";
4
+ import { AxiosUtil as r } from "../../../utils/AxiosUtil/index.js";
5
+ import { oidcStore as i } from "../../../stores/oidcStore/index.js";
6
+ import { t as a } from "../../../_chunks/decorateParam.js";
7
+ import { AuthorizationService as o } from "../AuthorizationService/index.js";
8
+ import { inject as s, singleton as c } from "tsyringe";
9
+ import { Subject as l } from "@gen-epix/ui-core/classes/Subject";
10
+ import { SubscribableAbstract as u } from "@gen-epix/ui-core/classes/abstracts/SubscribableAbstract";
11
+ e();
12
+ var d, f = Symbol("createdAt"), p = class extends u {
13
+ static {
14
+ d = this;
15
+ }
646
16
  static autoLoginSkew = 500;
647
- static __instance;
648
17
  authContextProps;
649
18
  temporaryToken;
650
- constructor() {
651
- super(new o(n.getState().configuration));
19
+ authorizationService;
20
+ windowService;
21
+ constructor(e, t) {
22
+ super(new l(i.getState().configuration)), this.authorizationService = e, this.windowService = t;
652
23
  }
653
24
  static clearStaleState() {
654
25
  Object.keys(sessionStorage).forEach((e) => {
655
26
  e.startsWith("oidc") && sessionStorage.removeItem(e);
656
27
  });
657
28
  }
658
- static getInstance() {
659
- return e.__instance = a.getHmrSingleton("authenticationService", e.__instance, () => new e()), e.__instance;
660
- }
661
29
  getUserManagerSettingsCreatedAt() {
662
- return Reflect.getMetadata(c, this.data);
30
+ return Reflect.getMetadata(f, this.data);
663
31
  }
664
32
  next(e) {
665
- e ? (Reflect.defineMetadata(c, (/* @__PURE__ */ new Date()).getTime(), e), n.getState().setConfiguration(e)) : n.getState().setConfiguration(void 0), super.next(e);
33
+ e ? (Reflect.defineMetadata(f, (/* @__PURE__ */ new Date()).getTime(), e), i.getState().setConfiguration(e)) : i.getState().setConfiguration(void 0), super.next(e);
666
34
  }
667
35
  onRequest(e) {
668
36
  let t = this.temporaryToken ?? this.authContextProps?.user?.access_token;
669
37
  return t && e.headers.set("Authorization", `Bearer ${t}`), e;
670
38
  }
671
- onResponseRejected(n) {
672
- if (!this.temporaryToken && t.isAxiosUnauthorizedError(n)) {
39
+ onResponseRejected(e) {
40
+ if (!this.temporaryToken && r.isAxiosUnauthorizedError(e)) {
673
41
  let t = this.authContextProps?.user?.state?.redirectCounter ?? 0;
674
- if (t > 0 || !r.getInstance().user) throw n;
42
+ if (t > 0 || !this.authorizationService.user) throw e;
675
43
  (async () => {
676
- this.authContextProps && (e.clearStaleState(), await this.authContextProps.signinRedirect({ state: {
44
+ this.authContextProps && (d.clearStaleState(), await this.authContextProps.signinRedirect({ state: {
677
45
  preLoginLocation: {
678
- hash: i.getInstance().window.location.hash,
679
- pathname: i.getInstance().window.location.pathname,
680
- search: i.getInstance().window.location.search
46
+ hash: this.windowService.window.location.hash,
47
+ pathname: this.windowService.window.location.pathname,
48
+ search: this.windowService.window.location.search
681
49
  },
682
50
  redirectCounter: t + 1
683
51
  } }));
@@ -685,7 +53,12 @@ var c = Symbol("createdAt"), l = class e extends s {
685
53
  }
686
54
  }
687
55
  };
56
+ p = d = t([
57
+ c(),
58
+ a(0, s(o)),
59
+ a(1, s(n))
60
+ ], p);
688
61
  //#endregion
689
- export { l as AuthenticationService, c as createdAtMetaDataKey };
62
+ export { p as AuthenticationService, f as createdAtMetaDataKey };
690
63
 
691
64
  //# sourceMappingURL=index.js.map