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