@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.
- package/README.md +9 -10
- package/dist/@types/mui.d.ts +1 -1
- package/dist/_chunks/ApplicationFooter.js +49 -49
- package/dist/_chunks/ApplicationFooter.js.map +1 -1
- package/dist/_chunks/Breadcrumbs.js +23 -22
- package/dist/_chunks/Breadcrumbs.js.map +1 -1
- package/dist/_chunks/CrudPage.js +211 -210
- package/dist/_chunks/CrudPage.js.map +1 -1
- package/dist/_chunks/GeoFilter.js.map +1 -1
- package/dist/_chunks/Notifications.js +67 -66
- package/dist/_chunks/Notifications.js.map +1 -1
- package/dist/_chunks/OutageList.js +30 -30
- package/dist/_chunks/OutageList.js.map +1 -1
- package/dist/_chunks/OutageUtil.js +2 -2
- package/dist/_chunks/OutageUtil.js.map +1 -1
- package/dist/_chunks/QueryClientProvider.js +1 -1
- package/dist/_chunks/QueryClientProvider.js.map +1 -1
- package/dist/_chunks/QueryClientService.js +406 -117
- package/dist/_chunks/QueryClientService.js.map +1 -1
- package/dist/_chunks/Reflect.js +642 -0
- package/dist/_chunks/Reflect.js.map +1 -0
- package/dist/_chunks/Table.js +572 -574
- package/dist/_chunks/Table.js.map +1 -1
- package/dist/_chunks/TableUtil.js +5 -5
- package/dist/_chunks/TableUtil.js.map +1 -1
- package/dist/_chunks/TextFilter.js +1 -1
- package/dist/_chunks/TextFilter.js.map +1 -1
- package/dist/_chunks/UserInvitationsAdminPage.js +109 -107
- package/dist/_chunks/UserInvitationsAdminPage.js.map +1 -1
- package/dist/_chunks/UserManagerUtil.js +7 -15
- package/dist/_chunks/UserManagerUtil.js.map +1 -1
- package/dist/_chunks/_baseAssignValue.js.map +1 -1
- package/dist/_chunks/_baseFlatten.js +8 -8
- package/dist/_chunks/_baseFlatten.js.map +1 -1
- package/dist/_chunks/_baseUnset.js +299 -22
- package/dist/_chunks/_baseUnset.js.map +1 -1
- package/dist/_chunks/_cacheHas.js.map +1 -1
- package/dist/_chunks/_setToString.js.map +1 -1
- package/dist/_chunks/decorate.js +9 -0
- package/dist/_chunks/decorateParam.js +8 -0
- package/dist/_chunks/format.js.map +1 -1
- package/dist/_chunks/isArrayLike.js.map +1 -1
- package/dist/_chunks/isObject.js.map +1 -1
- package/dist/_chunks/isSymbol.js.map +1 -1
- package/dist/_chunks/middleware.js +1 -1
- package/dist/_chunks/middleware.js.map +1 -1
- package/dist/_chunks/omit.js +39 -40
- package/dist/_chunks/omit.js.map +1 -1
- package/dist/_chunks/query.js +13 -17
- package/dist/_chunks/query.js.map +1 -1
- package/dist/_chunks/react.js +1 -1
- package/dist/_chunks/react.js.map +1 -1
- package/dist/_chunks/tableStore.js +40 -54
- package/dist/_chunks/tableStore.js.map +1 -1
- package/dist/_chunks/toDate.js.map +1 -1
- package/dist/_chunks/useColumnsMenu.js +2 -2
- package/dist/_chunks/useColumnsMenu.js.map +1 -1
- package/dist/_chunks/useMutation.js +31 -30
- package/dist/_chunks/useMutation.js.map +1 -1
- package/dist/_chunks/useQueryMemo.js +5 -5
- package/dist/_chunks/useQueryMemo.js.map +1 -1
- package/dist/_chunks/vanilla.js +1 -1
- package/dist/_chunks/vanilla.js.map +1 -1
- package/dist/_chunks/yup.js +2 -2
- package/dist/_chunks/yup.js.map +1 -1
- package/dist/classes/TableEventBus/TableEventBus.d.ts +1 -1
- package/dist/classes/TableEventBus/index.js.map +1 -1
- package/dist/classes/abstracts/FilterAbstract/index.js.map +1 -1
- package/dist/classes/containers/UiClientCommonContainer/UiClientCommonContainer.d.ts +5 -0
- package/dist/classes/containers/UiClientCommonContainer/index.d.ts +1 -0
- package/dist/classes/containers/UiClientCommonContainer/index.js +17 -0
- package/dist/classes/containers/UiClientCommonContainer/index.js.map +1 -0
- package/dist/classes/filters/BooleanFilter.d.ts +1 -1
- package/dist/classes/filters/DateFilter.d.ts +2 -2
- package/dist/classes/filters/GeoFilter.d.ts +2 -2
- package/dist/classes/filters/MultiSelectFilter.d.ts +2 -2
- package/dist/classes/filters/NumberRangeFilter.d.ts +1 -1
- package/dist/classes/filters/TextFilter.d.ts +1 -1
- package/dist/classes/services/AuthenticationService/AuthenticationService.d.ts +5 -3
- package/dist/classes/services/AuthenticationService/index.js +34 -661
- package/dist/classes/services/AuthenticationService/index.js.map +1 -1
- package/dist/classes/services/AuthorizationService/AuthorizationService.d.ts +4 -4
- package/dist/classes/services/AuthorizationService/index.js +12 -10
- package/dist/classes/services/AuthorizationService/index.js.map +1 -1
- package/dist/classes/services/BackendVersionService/BackendVersionService.d.ts +0 -3
- package/dist/classes/services/BackendVersionService/index.js +5 -8
- package/dist/classes/services/BackendVersionService/index.js.map +1 -1
- package/dist/classes/services/BreadcrumbService/BreadcrumbService.d.ts +1 -3
- package/dist/classes/services/BreadcrumbService/index.js +19 -21
- package/dist/classes/services/BreadcrumbService/index.js.map +1 -1
- package/dist/classes/services/EmotionCacheService/EmotionCacheService.d.ts +4 -4
- package/dist/classes/services/EmotionCacheService/index.js +17 -14
- package/dist/classes/services/EmotionCacheService/index.js.map +1 -1
- package/dist/classes/services/FeatureFlagsService/FeatureFlagsService.d.ts +0 -3
- package/dist/classes/services/FeatureFlagsService/index.js +5 -8
- package/dist/classes/services/FeatureFlagsService/index.js.map +1 -1
- package/dist/classes/services/I18nService/I18nService.d.ts +3 -3
- package/dist/classes/services/I18nService/index.js +25 -29
- package/dist/classes/services/I18nService/index.js.map +1 -1
- package/dist/classes/services/InactivityService/InactivityService.d.ts +6 -3
- package/dist/classes/services/InactivityService/index.js +42 -36
- package/dist/classes/services/InactivityService/index.js.map +1 -1
- package/dist/classes/services/LogService/LogService.d.ts +7 -4
- package/dist/classes/services/LogService/index.js +39 -32
- package/dist/classes/services/LogService/index.js.map +1 -1
- package/dist/classes/services/NavigationHistoryService/NavigationHistoryService.d.ts +0 -3
- package/dist/classes/services/NavigationHistoryService/index.js +5 -8
- package/dist/classes/services/NavigationHistoryService/index.js.map +1 -1
- package/dist/classes/services/NotificationService/NotificationService.d.ts +4 -4
- package/dist/classes/services/NotificationService/index.js +21 -21
- package/dist/classes/services/NotificationService/index.js.map +1 -1
- package/dist/classes/services/PageEventBusService/PageEventBusService.d.ts +4 -3
- package/dist/classes/services/PageEventBusService/index.js +18 -15
- package/dist/classes/services/PageEventBusService/index.js.map +1 -1
- package/dist/classes/services/QueryClientService/QueryClientService.d.ts +6 -7
- package/dist/classes/services/QueryClientService/index.js +1 -2
- package/dist/classes/services/RouterService/RouterService.d.ts +6 -9
- package/dist/classes/services/RouterService/index.js +8 -12
- package/dist/classes/services/RouterService/index.js.map +1 -1
- package/dist/classes/services/UserSettingsService/UserSettingsService.d.ts +0 -3
- package/dist/classes/services/UserSettingsService/index.js +5 -8
- package/dist/classes/services/UserSettingsService/index.js.map +1 -1
- package/dist/components/app/App/App.d.ts +5 -1
- package/dist/components/app/App/index.js +31 -37
- package/dist/components/app/App/index.js.map +1 -1
- package/dist/components/app/AppRouterProvider/AppRouterProvider.d.ts +1 -1
- package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js +50 -49
- package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js.map +1 -1
- package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js +42 -41
- package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js.map +1 -1
- package/dist/components/app/AuthenticationWrapper/AuthenticationWrapper.d.ts +1 -1
- package/dist/components/app/AuthenticationWrapper/index.js +68 -67
- package/dist/components/app/AuthenticationWrapper/index.js.map +1 -1
- package/dist/components/app/AuthorizationWrapper/index.js +33 -32
- package/dist/components/app/AuthorizationWrapper/index.js.map +1 -1
- package/dist/components/app/RouterRoot/RouterRoot.d.ts +1 -1
- package/dist/components/app/RouterRoot/index.js +62 -61
- package/dist/components/app/RouterRoot/index.js.map +1 -1
- package/dist/components/epi/EpiContactDetailsDialog/index.js +38 -37
- package/dist/components/epi/EpiContactDetailsDialog/index.js.map +1 -1
- package/dist/components/filters/BooleanFilterField/BooleanFilterField.d.ts +1 -1
- package/dist/components/filters/BooleanFilterField/index.js +5 -5
- package/dist/components/filters/BooleanFilterField/index.js.map +1 -1
- package/dist/components/filters/DateFilterField/DateFilterField.d.ts +1 -1
- package/dist/components/filters/DateFilterField/index.js +3 -3
- package/dist/components/filters/DateFilterField/index.js.map +1 -1
- package/dist/components/filters/GeoFilterField/GeoFilterField.d.ts +1 -1
- package/dist/components/filters/GeoFilterField/index.js +4 -4
- package/dist/components/filters/GeoFilterField/index.js.map +1 -1
- package/dist/components/filters/MultiSelectFilterField/MultiSelectFilterField.d.ts +1 -1
- package/dist/components/filters/MultiSelectFilterField/index.js +4 -4
- package/dist/components/filters/MultiSelectFilterField/index.js.map +1 -1
- package/dist/components/filters/NumberRangeFilterField/NumberRangeFilterField.d.ts +1 -1
- package/dist/components/filters/NumberRangeFilterField/index.js +3 -3
- package/dist/components/filters/NumberRangeFilterField/index.js.map +1 -1
- package/dist/components/filters/TextFilterField/TextFilterField.d.ts +1 -1
- package/dist/components/filters/TextFilterField/index.js +3 -3
- package/dist/components/filters/TextFilterField/index.js.map +1 -1
- package/dist/components/ui/ApplicationBar/ApplicationBar.d.ts +1 -1
- package/dist/components/ui/ApplicationBar/ApplicationBarActions.d.ts +1 -1
- package/dist/components/ui/ApplicationBar/ApplicationBarActionsFeedbackItem.d.ts +1 -1
- package/dist/components/ui/ApplicationBar/ApplicationBarActionsInfotem.d.ts +1 -1
- package/dist/components/ui/ApplicationBar/ApplicationBarActionsNotificationsItem.d.ts +1 -1
- package/dist/components/ui/ApplicationBar/ApplicationBarActionsOrganizationSwitcherItem.d.ts +1 -1
- package/dist/components/ui/ApplicationBar/ApplicationBarActionsOutagesItem.d.ts +1 -1
- package/dist/components/ui/ApplicationBar/ApplicationBarActionsUserItem.d.ts +1 -1
- package/dist/components/ui/ApplicationBar/ApplicationBarNavigationMenu.d.ts +1 -1
- package/dist/components/ui/ApplicationBar/UserOrganizationAdminMenuItem.d.ts +1 -1
- package/dist/components/ui/ApplicationBar/UserOwnOrganizationMenuItem.d.ts +1 -1
- package/dist/components/ui/ApplicationBar/index.js +242 -241
- package/dist/components/ui/ApplicationBar/index.js.map +1 -1
- package/dist/components/ui/ApplicationFooter/ApplicationFooter.d.ts +1 -1
- package/dist/components/ui/ApplicationFooter/ApplicationFooterLink.d.ts +1 -1
- package/dist/components/ui/ApplicationFooter/ApplicationFooterLinkSection.d.ts +1 -1
- package/dist/components/ui/ApplicationFooter/index.js +1 -2
- package/dist/components/ui/Breadcrumbs/Breadcrumb.d.ts +1 -1
- package/dist/components/ui/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/components/ui/Breadcrumbs/index.js +1 -2
- package/dist/components/ui/ConsentDialog/index.js +11 -6
- package/dist/components/ui/ConsentDialog/index.js.map +1 -1
- package/dist/components/ui/GenericErrorMessage/GenericErrorMessage.d.ts +1 -1
- package/dist/components/ui/GenericErrorMessage/index.js +51 -50
- package/dist/components/ui/GenericErrorMessage/index.js.map +1 -1
- package/dist/components/ui/LicensesDialog/index.js +66 -69
- package/dist/components/ui/LicensesDialog/index.js.map +1 -1
- package/dist/components/ui/MyPermissionsDialog/index.js +26 -25
- package/dist/components/ui/MyPermissionsDialog/index.js.map +1 -1
- package/dist/components/ui/NavLink/NavLink.d.ts +1 -1
- package/dist/components/ui/NavLink/index.js +6 -6
- package/dist/components/ui/NavLink/index.js.map +1 -1
- package/dist/components/ui/Notifications/NotificationItem.d.ts +2 -2
- package/dist/components/ui/Notifications/NotificationsDrawer.d.ts +1 -1
- package/dist/components/ui/Notifications/index.js +1 -2
- package/dist/components/ui/OrganizationSwitcherDialog/index.js +69 -76
- package/dist/components/ui/OrganizationSwitcherDialog/index.js.map +1 -1
- package/dist/components/ui/OutageList/OutageItem.d.ts +1 -1
- package/dist/components/ui/OutageList/OutageList.d.ts +1 -1
- package/dist/components/ui/OutageList/OutageSection.d.ts +1 -1
- package/dist/components/ui/OutageList/index.js +1 -2
- package/dist/components/ui/OutagesDialog/index.js.map +1 -1
- package/dist/components/ui/PageContainer/PageContainer.d.ts +1 -1
- package/dist/components/ui/PageContainer/index.js +57 -52
- package/dist/components/ui/PageContainer/index.js.map +1 -1
- package/dist/components/ui/ResponseHandler/ResponseHandler.d.ts +1 -1
- package/dist/components/ui/ResponseHandler/index.js.map +1 -1
- package/dist/components/ui/Sidebar/SidebarItem.d.ts +2 -2
- package/dist/components/ui/Sidebar/SidebarMenu.d.ts +1 -1
- package/dist/components/ui/Sidebar/SidebarMenuItem.d.ts +2 -2
- package/dist/components/ui/Sidebar/index.js +45 -45
- package/dist/components/ui/Sidebar/index.js.map +1 -1
- package/dist/components/ui/SortableList/SortableList.d.ts +1 -1
- package/dist/components/ui/SortableList/SortableListItem.d.ts +1 -1
- package/dist/components/ui/SortableList/SortableListItemDragHandle.d.ts +1 -1
- package/dist/components/ui/SortableList/SortableOverlay.d.ts +1 -1
- package/dist/components/ui/SortableList/context/SortableListItemContextProvider.d.ts +1 -1
- package/dist/components/ui/Table/Table.d.ts +2 -2
- package/dist/components/ui/Table/TableActionsCell.d.ts +2 -2
- package/dist/components/ui/Table/TableCaption.d.ts +1 -1
- package/dist/components/ui/Table/TableCell.d.ts +2 -2
- package/dist/components/ui/Table/TableCellAsyncContent.d.ts +1 -1
- package/dist/components/ui/Table/TableCheckboxCell.d.ts +2 -2
- package/dist/components/ui/Table/TableCheckboxHeader.d.ts +2 -2
- package/dist/components/ui/Table/TableColumnsEditorDialog.d.ts +1 -1
- package/dist/components/ui/Table/TableFilter.d.ts +3 -3
- package/dist/components/ui/Table/TableFiltersSidebarItem.d.ts +2 -2
- package/dist/components/ui/Table/TableHeader.d.ts +1 -1
- package/dist/components/ui/Table/TableHeaderCell.d.ts +2 -2
- package/dist/components/ui/Table/TableHeaderFilter.d.ts +3 -3
- package/dist/components/ui/Table/TableMenu.d.ts +1 -1
- package/dist/components/ui/Table/TableReadableIndexCell.d.ts +2 -2
- package/dist/components/ui/Table/TableSidebarMenu.d.ts +1 -1
- package/dist/components/ui/Table/index.js +1 -2
- package/dist/components/ui/UserFeedbackDialog/index.js +65 -64
- package/dist/components/ui/UserFeedbackDialog/index.js.map +1 -1
- package/dist/components/ui/UserInactivityConfirmation/UserInactivityConfirmation.d.ts +1 -1
- package/dist/components/ui/UserInactivityConfirmation/index.js +26 -25
- package/dist/components/ui/UserInactivityConfirmation/index.js.map +1 -1
- package/dist/constants/config.constants.d.ts +5 -0
- package/dist/constants/config.constants.js +6 -0
- package/dist/constants/config.constants.js.map +1 -0
- package/dist/constants/{query.js → query.constants.js} +2 -2
- package/dist/constants/query.constants.js.map +1 -0
- package/dist/context/uiClientCommonConfigContext/UiClientCommonConfigContext.d.ts +6 -2
- package/dist/context/uiClientCommonConfigContext/UiClientCommonConfigContextProvider.d.ts +3 -3
- package/dist/context/uiClientCommonConfigContext/index.js +28 -12
- package/dist/context/uiClientCommonConfigContext/index.js.map +1 -1
- package/dist/context/uiClientCommonConfigContext/useUiClientCommonConfigContext.d.ts +2 -1
- package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js +17 -16
- package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js.map +1 -1
- package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/useIdentifierIssuerOwnOrganizationQuery.d.ts +1 -1
- package/dist/dataHooks/useIdentifierIssuerQuery/index.js +18 -17
- package/dist/dataHooks/useIdentifierIssuerQuery/index.js.map +1 -1
- package/dist/dataHooks/useIdentifierIssuerQuery/useIdentifierIssuerQuery.d.ts +1 -1
- package/dist/dataHooks/useInviteUserConstraintsQuery/index.js +11 -10
- package/dist/dataHooks/useInviteUserConstraintsQuery/index.js.map +1 -1
- package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js +22 -21
- package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js.map +1 -1
- package/dist/dataHooks/useOrganizationAdminPoliciesQuery/useOrganizationAdminPoliciesQuery.d.ts +1 -1
- package/dist/dataHooks/useOrganizationIdentifierIssuerLinksQuery/index.js +8 -7
- package/dist/dataHooks/useOrganizationIdentifierIssuerLinksQuery/index.js.map +1 -1
- package/dist/dataHooks/useOrganizationsQuery/index.js +17 -16
- package/dist/dataHooks/useOrganizationsQuery/index.js.map +1 -1
- package/dist/dataHooks/useOrganizationsQuery/useOrganizationsQuery.d.ts +1 -1
- package/dist/dataHooks/useUsersQuery/index.js +18 -17
- package/dist/dataHooks/useUsersQuery/index.js.map +1 -1
- package/dist/dataHooks/useUsersQuery/useUsersQuery.d.ts +1 -1
- package/dist/hoc/withPermissions/index.js +12 -11
- package/dist/hoc/withPermissions/index.js.map +1 -1
- package/dist/hoc/withPermissions/withPermissions.d.ts +1 -1
- package/dist/hooks/useColumnsMenu/index.js +1 -2
- package/dist/hooks/useColumnsMenu/useColumnsMenu.d.ts +2 -2
- package/dist/hooks/useConfig/index.d.ts +1 -0
- package/dist/hooks/useConfig/index.js +7 -0
- package/dist/hooks/useConfig/index.js.map +1 -0
- package/dist/hooks/useConfig/useConfig.d.ts +2 -0
- package/dist/hooks/useCreateMutation/index.js +25 -24
- package/dist/hooks/useCreateMutation/index.js.map +1 -1
- package/dist/hooks/useCreateMutation/useCreateMutation.d.ts +1 -1
- package/dist/hooks/useDeleteMutation/index.js +24 -23
- package/dist/hooks/useDeleteMutation/index.js.map +1 -1
- package/dist/hooks/useDeleteMutation/useDeleteMutation.d.ts +1 -1
- package/dist/hooks/useEditMutation/index.js +33 -32
- package/dist/hooks/useEditMutation/index.js.map +1 -1
- package/dist/hooks/useEditMutation/useEditMutation.d.ts +1 -1
- package/dist/hooks/useInitializeTableStore/index.js.map +1 -1
- package/dist/hooks/useInitializeTableStore/useInitializeTableStore.d.ts +1 -1
- package/dist/hooks/useItemQuery/index.js +36 -35
- package/dist/hooks/useItemQuery/index.js.map +1 -1
- package/dist/hooks/useItemQuery/useItemQuery.d.ts +1 -1
- package/dist/hooks/useQueryMemo/index.js +1 -2
- package/dist/hooks/useUpdateBreadcrumb/index.js +10 -9
- package/dist/hooks/useUpdateBreadcrumb/index.js.map +1 -1
- package/dist/hooks/useUpdateDocumentTitle/index.js +4 -3
- package/dist/hooks/useUpdateDocumentTitle/index.js.map +1 -1
- package/dist/models/{admin.js → admin.models.js} +2 -2
- package/dist/models/admin.models.js.map +1 -0
- package/dist/models/api.models.d.ts +16 -0
- package/dist/models/api.models.js +6 -0
- package/dist/models/api.models.js.map +1 -0
- package/dist/models/{dataHooks.d.ts → data-hooks.models.d.ts} +1 -1
- package/dist/models/{table.d.ts → table.models.d.ts} +2 -2
- package/dist/models/{table.js → table.models.js} +2 -2
- package/dist/models/table.models.js.map +1 -0
- package/dist/pages/AcceptInvitationPage/AcceptInvitationPage.d.ts +1 -1
- package/dist/pages/AcceptInvitationPage/index.js +40 -39
- package/dist/pages/AcceptInvitationPage/index.js.map +1 -1
- package/dist/pages/AdminPage/AdminPage.d.ts +1 -1
- package/dist/pages/AdminPage/index.js +39 -38
- package/dist/pages/AdminPage/index.js.map +1 -1
- package/dist/pages/ChooseIdentityProviderPage/ChooseIdentityProviderPage.d.ts +2 -2
- package/dist/pages/ChooseIdentityProviderPage/index.js +38 -37
- package/dist/pages/ChooseIdentityProviderPage/index.js.map +1 -1
- package/dist/pages/CrudPage/CrudPage.d.ts +7 -7
- package/dist/pages/CrudPage/CrudPageDeleteDialog.d.ts +1 -1
- package/dist/pages/CrudPage/CrudPageEditDialog.d.ts +2 -2
- package/dist/pages/CrudPage/index.js +1 -2
- package/dist/pages/ErrorPage/ErrorPage.d.ts +1 -1
- package/dist/pages/ErrorPage/index.js.map +1 -1
- package/dist/pages/IdentifierIssuersAdminPage/IdentifierIssuersAdminPage.d.ts +1 -1
- package/dist/pages/IdentifierIssuersAdminPage/index.js +41 -40
- package/dist/pages/IdentifierIssuersAdminPage/index.js.map +1 -1
- package/dist/pages/OrganizationAdminPoliciesAdminPage/OrganizationAdminPoliciesAdminPage.d.ts +1 -1
- package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js +58 -57
- package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js.map +1 -1
- package/dist/pages/OrganizationContactsAdminPage/OrganizationContactsAdminPage.d.ts +1 -1
- package/dist/pages/OrganizationContactsAdminPage/index.js +49 -48
- package/dist/pages/OrganizationContactsAdminPage/index.js.map +1 -1
- package/dist/pages/OrganizationSitesAdminPage/OrganizationSitesAdminPage.d.ts +1 -1
- package/dist/pages/OrganizationSitesAdminPage/index.js +44 -43
- package/dist/pages/OrganizationSitesAdminPage/index.js.map +1 -1
- package/dist/pages/OrganizationsAdminPage/OrganizationsAdminPage.d.ts +1 -1
- package/dist/pages/OrganizationsAdminPage/index.js +57 -56
- package/dist/pages/OrganizationsAdminPage/index.js.map +1 -1
- package/dist/pages/OutagesAdminPage/OutagesAdminPage.d.ts +1 -1
- package/dist/pages/OutagesAdminPage/index.js +63 -62
- package/dist/pages/OutagesAdminPage/index.js.map +1 -1
- package/dist/pages/PostLoginPage/PostLoginPage.d.ts +1 -1
- package/dist/pages/PostLoginPage/index.js +14 -13
- package/dist/pages/PostLoginPage/index.js.map +1 -1
- package/dist/pages/PostLogoutPage/PostLogoutPage.d.ts +1 -1
- package/dist/pages/PostLogoutPage/index.js +19 -18
- package/dist/pages/PostLogoutPage/index.js.map +1 -1
- package/dist/pages/RouterErrorPage/RouterErrorPage.d.ts +1 -1
- package/dist/pages/RouterErrorPage/index.js.map +1 -1
- package/dist/pages/UserInvitationsAdminPage/UserInvitationsAdminPage.d.ts +1 -1
- package/dist/pages/UserInvitationsAdminPage/index.js +1 -2
- package/dist/pages/UsersAdminPage/UsersAdminPage.d.ts +2 -2
- package/dist/pages/UsersAdminPage/index.js +110 -109
- package/dist/pages/UsersAdminPage/index.js.map +1 -1
- package/dist/routes/adminRoutes.d.ts +1 -1
- package/dist/routes/index.js +1 -1
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/routes.d.ts +1 -1
- package/dist/setup/setup.js.map +1 -1
- package/dist/stores/oidcStore/index.js.map +1 -1
- package/dist/stores/outagesStore/index.js.map +1 -1
- package/dist/stores/outagesStore/outagesStore.d.ts +1 -1
- package/dist/stores/tableStore/TableStoreContextProvider.d.ts +1 -1
- package/dist/stores/tableStore/index.js +1 -2
- package/dist/stores/tableStore/tableStore.d.ts +2 -2
- package/dist/theme/demoTheme/index.js.map +1 -1
- package/dist/utils/AxiosUtil/index.js.map +1 -1
- package/dist/utils/DataHookUtil/DataHookUtil.d.ts +1 -1
- package/dist/utils/DataHookUtil/index.js.map +1 -1
- package/dist/utils/LoadableUtil/LoadableUtil.d.ts +1 -1
- package/dist/utils/LoadableUtil/index.js.map +1 -1
- package/dist/utils/MenuDataUtil/MenuDataUtil.d.ts +1 -1
- package/dist/utils/MenuDataUtil/index.js.map +1 -1
- package/dist/utils/NotificationUtil/index.js.map +1 -1
- package/dist/utils/OutageUtil/OutageUtil.d.ts +1 -1
- package/dist/utils/OutageUtil/index.js +1 -2
- package/dist/utils/StandardConfigUtil/StandardConfigUtil.d.ts +1 -1
- package/dist/utils/StandardConfigUtil/index.js.map +1 -1
- package/dist/utils/TableUtil/TableUtil.d.ts +4 -4
- package/dist/utils/TableUtil/index.js +1 -2
- package/dist/utils/TimeUtil/index.js.map +1 -1
- package/dist/utils/UserManagerUtil/index.js +1 -2
- package/dist/utils/UserUtil/index.js.map +1 -1
- package/package.json +93 -87
- package/dist/_chunks/_baseGet.js +0 -280
- package/dist/_chunks/_baseGet.js.map +0 -1
- package/dist/_chunks/_baseIteratee.js +0 -274
- package/dist/_chunks/_baseIteratee.js.map +0 -1
- package/dist/_chunks/last.js +0 -13
- package/dist/_chunks/last.js.map +0 -1
- package/dist/_chunks/uniq.js +0 -44
- package/dist/_chunks/uniq.js.map +0 -1
- package/dist/classes/services/ApiService/ApiService.d.ts +0 -19
- package/dist/classes/services/ApiService/index.d.ts +0 -1
- package/dist/classes/services/ApiService/index.js +0 -21
- package/dist/classes/services/ApiService/index.js.map +0 -1
- package/dist/classes/services/ConfigService/ConfigService.d.ts +0 -9
- package/dist/classes/services/ConfigService/index.d.ts +0 -1
- package/dist/classes/services/ConfigService/index.js +0 -21
- package/dist/classes/services/ConfigService/index.js.map +0 -1
- package/dist/constants/query.js.map +0 -1
- package/dist/models/admin.js.map +0 -1
- package/dist/models/api.d.ts +0 -9
- package/dist/models/table.js.map +0 -1
- package/dist/models/theme.js +0 -0
- /package/dist/constants/{query.d.ts → query.constants.d.ts} +0 -0
- /package/dist/models/{admin.d.ts → admin.models.d.ts} +0 -0
- /package/dist/models/{auth.d.ts → auth.models.d.ts} +0 -0
- /package/dist/models/{api.js → auth.models.js} +0 -0
- /package/dist/models/{config.d.ts → config.models.d.ts} +0 -0
- /package/dist/models/{auth.js → config.models.js} +0 -0
- /package/dist/models/{config.js → data-hooks.models.js} +0 -0
- /package/dist/models/{data.d.ts → data.models.d.ts} +0 -0
- /package/dist/models/{data.js → data.models.js} +0 -0
- /package/dist/models/{filter.d.ts → filter.models.d.ts} +0 -0
- /package/dist/models/{dataHooks.js → filter.models.js} +0 -0
- /package/dist/models/{notification.d.ts → notification.models.d.ts} +0 -0
- /package/dist/models/{filter.js → notification.models.js} +0 -0
- /package/dist/models/{outage.d.ts → outage.models.d.ts} +0 -0
- /package/dist/models/{notification.js → outage.models.js} +0 -0
- /package/dist/models/{reactRouter.d.ts → react-router.models.d.ts} +0 -0
- /package/dist/models/{outage.js → react-router.models.js} +0 -0
- /package/dist/models/{theme.d.ts → theme.models.d.ts} +0 -0
- /package/dist/models/{reactRouter.js → theme.models.js} +0 -0
|
@@ -1,63 +1,64 @@
|
|
|
1
1
|
import { UserUtil as e } from "../../../utils/UserUtil/index.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as n } from "../../../_chunks/
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
2
|
+
import { t } from "../../../_chunks/QueryClientService.js";
|
|
3
|
+
import { t as n } from "../../../_chunks/useQueryMemo.js";
|
|
4
|
+
import { t as r } from "../../../_chunks/react.js";
|
|
5
|
+
import { outagesStore as i } from "../../../stores/outagesStore/index.js";
|
|
6
|
+
import { API_ABAC_TOKEN as a } from "../../../models/api.models.js";
|
|
7
|
+
import { AuthorizationService as o } from "../../../classes/services/AuthorizationService/index.js";
|
|
8
|
+
import { RouterService as s } from "../../../classes/services/RouterService/index.js";
|
|
9
|
+
import { useConfig as c } from "../../../hooks/useConfig/index.js";
|
|
10
|
+
import { LogService as l } from "../../../classes/services/LogService/index.js";
|
|
11
11
|
import { NotificationService as u } from "../../../classes/services/NotificationService/index.js";
|
|
12
|
-
import { COMMON_QUERY_KEY as d } from "../../../constants/query.js";
|
|
12
|
+
import { COMMON_QUERY_KEY as d } from "../../../constants/query.constants.js";
|
|
13
13
|
import { useOrganizationMapQuery as f } from "../../../dataHooks/useOrganizationsQuery/index.js";
|
|
14
14
|
import { n as p } from "../../../_chunks/Notifications.js";
|
|
15
15
|
import { withPermissions as m } from "../../../hoc/withPermissions/index.js";
|
|
16
16
|
import { UserSettingsService as h } from "../../../classes/services/UserSettingsService/index.js";
|
|
17
17
|
import { UserFeedbackDialog as g } from "../UserFeedbackDialog/index.js";
|
|
18
|
-
import { OutagesDialog as
|
|
19
|
-
import { OrganizationSwitcherDialog as
|
|
20
|
-
import { MyPermissionsDialog as
|
|
21
|
-
import { LicensesDialog as
|
|
22
|
-
import { BackendVersionService as
|
|
23
|
-
import { FeatureFlagsService as
|
|
24
|
-
import { StringUtil as
|
|
25
|
-
import { CommonDbCommandName as
|
|
26
|
-
import {
|
|
27
|
-
import { useCallback as
|
|
28
|
-
import { Fragment as
|
|
18
|
+
import { OutagesDialog as ee } from "../OutagesDialog/index.js";
|
|
19
|
+
import { OrganizationSwitcherDialog as te } from "../OrganizationSwitcherDialog/index.js";
|
|
20
|
+
import { MyPermissionsDialog as ne } from "../MyPermissionsDialog/index.js";
|
|
21
|
+
import { LicensesDialog as re } from "../LicensesDialog/index.js";
|
|
22
|
+
import { BackendVersionService as _ } from "../../../classes/services/BackendVersionService/index.js";
|
|
23
|
+
import { FeatureFlagsService as v } from "../../../classes/services/FeatureFlagsService/index.js";
|
|
24
|
+
import { StringUtil as y } from "@gen-epix/ui-core/utils/StringUtil";
|
|
25
|
+
import { CommonDbCommandName as b, CommonDbLogLevel as x, CommonDbPermissionType as S } from "@gen-epix/api-commondb";
|
|
26
|
+
import { container as C } from "tsyringe";
|
|
27
|
+
import { useCallback as w, useEffect as T, useId as E, useMemo as D, useRef as O, useState as k } from "react";
|
|
28
|
+
import { Fragment as A, jsx as j, jsxs as M } from "react/jsx-runtime";
|
|
29
|
+
import { AppBar as N, Badge as P, Box as F, CircularProgress as I, Container as L, IconButton as R, Link as z, List as B, ListItem as V, ListItemButton as H, ListItemIcon as U, ListItemText as W, Popover as G, Toolbar as K, Tooltip as q, Typography as J, styled as Y, useTheme as X } from "@mui/material";
|
|
29
30
|
import { useTranslation as Z } from "react-i18next";
|
|
30
31
|
import { TestIdUtil as Q } from "@gen-epix/ui-core/utils/TestIdUtil";
|
|
31
|
-
import
|
|
32
|
-
import { NavLink as
|
|
33
|
-
import { useSubscribable as
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import { Confirmation as
|
|
37
|
-
import { useAuth as
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
32
|
+
import ie from "@mui/icons-material/ContentCopy";
|
|
33
|
+
import { NavLink as ae } from "react-router-dom";
|
|
34
|
+
import { useSubscribable as oe } from "@gen-epix/ui-core/hooks/useSubscribable";
|
|
35
|
+
import se from "@mui/icons-material/Menu";
|
|
36
|
+
import $ from "@mui/icons-material/MoreVert";
|
|
37
|
+
import { Confirmation as ce } from "@gen-epix/ui-core-components/components/Confirmation";
|
|
38
|
+
import { useAuth as le } from "react-oidc-context";
|
|
39
|
+
import ue from "@mui/icons-material/Notifications";
|
|
40
|
+
import de from "@mui/icons-material/Chat";
|
|
41
|
+
import fe from "@mui/icons-material/Code";
|
|
42
|
+
import pe from "@mui/icons-material/Copyright";
|
|
43
|
+
import me from "@mui/icons-material/Done";
|
|
44
|
+
import he from "@mui/icons-material/Construction";
|
|
45
|
+
import ge from "@mui/icons-material/AccountCircle";
|
|
46
|
+
import _e from "@mui/icons-material/Logout";
|
|
47
|
+
import ve from "@mui/icons-material/Key";
|
|
48
|
+
import ye from "@mui/icons-material/ChangeCircle";
|
|
48
49
|
//#region src/components/ui/ApplicationBar/ApplicationBarNavigationMenu.tsx
|
|
49
|
-
var
|
|
50
|
+
var be = Y(ae)(({ theme: e }) => ({
|
|
50
51
|
"&:hover": { textDecoration: "underline" },
|
|
51
52
|
color: e.palette.secondary.contrastText,
|
|
52
53
|
display: "inline-block",
|
|
53
54
|
fontSize: "1.3rem",
|
|
54
55
|
textDecoration: "none"
|
|
55
|
-
})),
|
|
56
|
-
let { t } = Z(), n =
|
|
57
|
-
let e =
|
|
56
|
+
})), xe = ({ fullWidth: e }) => {
|
|
57
|
+
let { t } = Z(), n = X(), r = D(() => C.resolve(o), []), i = E(), a = D(() => {
|
|
58
|
+
let e = C.resolve(s).routes.find((e) => e.handle.root);
|
|
58
59
|
return [e, ...e.children.filter((e) => !e.handle.hidden)];
|
|
59
|
-
}, []), [c, l] =
|
|
60
|
-
|
|
60
|
+
}, []), [c, l] = k(!1);
|
|
61
|
+
T(() => {
|
|
61
62
|
if (c) {
|
|
62
63
|
let e = (e) => {
|
|
63
64
|
e.key === "Escape" && l(!1);
|
|
@@ -67,25 +68,25 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
67
68
|
};
|
|
68
69
|
}
|
|
69
70
|
}, [c]);
|
|
70
|
-
let u =
|
|
71
|
+
let u = w(() => {
|
|
71
72
|
l((e) => !e);
|
|
72
|
-
}, []), d =
|
|
73
|
+
}, []), d = w((e) => {
|
|
73
74
|
e.currentTarget.ariaDisabled === "true" && e.preventDefault();
|
|
74
75
|
}, []);
|
|
75
|
-
return /* @__PURE__ */
|
|
76
|
+
return /* @__PURE__ */ M(F, {
|
|
76
77
|
sx: { flexGrow: 1 },
|
|
77
|
-
children: [/* @__PURE__ */
|
|
78
|
-
"aria-controls":
|
|
78
|
+
children: [/* @__PURE__ */ j(R, {
|
|
79
|
+
"aria-controls": i,
|
|
79
80
|
"aria-label": t`Toggle navigation menu`,
|
|
80
81
|
onClick: u,
|
|
81
82
|
sx: {
|
|
82
83
|
color: n["gen-epix-ui"].navbar.primaryColor,
|
|
83
84
|
[n.breakpoints.up("md")]: { display: "none" }
|
|
84
85
|
},
|
|
85
|
-
children: /* @__PURE__ */
|
|
86
|
-
}), /* @__PURE__ */
|
|
86
|
+
children: /* @__PURE__ */ j(se, {})
|
|
87
|
+
}), /* @__PURE__ */ j(F, {
|
|
87
88
|
component: "nav",
|
|
88
|
-
id:
|
|
89
|
+
id: i,
|
|
89
90
|
sx: {
|
|
90
91
|
flexGrow: 1,
|
|
91
92
|
[n.breakpoints.down("md")]: {
|
|
@@ -98,7 +99,7 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
98
99
|
width: "100%"
|
|
99
100
|
}
|
|
100
101
|
},
|
|
101
|
-
children: /* @__PURE__ */
|
|
102
|
+
children: /* @__PURE__ */ j(F, {
|
|
102
103
|
component: "ul",
|
|
103
104
|
sx: {
|
|
104
105
|
display: "flex",
|
|
@@ -110,9 +111,9 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
110
111
|
margin: 0
|
|
111
112
|
}
|
|
112
113
|
},
|
|
113
|
-
children:
|
|
114
|
+
children: a.filter((e) => r.doesUserHavePermissionForRoute(e)).map((e) => {
|
|
114
115
|
let t = !!e.handle.disabled;
|
|
115
|
-
return /* @__PURE__ */
|
|
116
|
+
return /* @__PURE__ */ j(F, {
|
|
116
117
|
component: "li",
|
|
117
118
|
sx: {
|
|
118
119
|
"&:has(.active:not([aria-disabled=\"true\"]))": {
|
|
@@ -132,7 +133,7 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
132
133
|
listStyle: "none",
|
|
133
134
|
padding: `0 ${n.spacing(1)}`
|
|
134
135
|
},
|
|
135
|
-
children: /* @__PURE__ */
|
|
136
|
+
children: /* @__PURE__ */ M(be, {
|
|
136
137
|
"aria-disabled": t || void 0,
|
|
137
138
|
"aria-label": e.handle.title,
|
|
138
139
|
onClick: d,
|
|
@@ -151,46 +152,46 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
151
152
|
})
|
|
152
153
|
})]
|
|
153
154
|
});
|
|
154
|
-
},
|
|
155
|
-
let { t: e } = Z(), n =
|
|
156
|
-
|
|
157
|
-
if (!
|
|
158
|
-
let e = Math.max(0,
|
|
155
|
+
}, Se = (/* @__PURE__ */ new Date()).getTime(), Ce = () => {
|
|
156
|
+
let { t: e } = Z(), t = X(), n = c(), r = O(null), [i, a] = k(!1);
|
|
157
|
+
T(() => {
|
|
158
|
+
if (!C.resolve(h).showShowUserFeedbackTooltip) return;
|
|
159
|
+
let e = Math.max(0, n.userFeedback.SHOW_USER_FEEDBACK_TOOLTIP_AFTER_MS - ((/* @__PURE__ */ new Date()).getTime() - Se)), t = setTimeout(() => {
|
|
159
160
|
a(!0);
|
|
160
161
|
}, e);
|
|
161
162
|
return () => {
|
|
162
|
-
clearTimeout(
|
|
163
|
+
clearTimeout(t);
|
|
163
164
|
};
|
|
164
|
-
}, []);
|
|
165
|
-
let o =
|
|
165
|
+
}, [n.userFeedback.SHOW_USER_FEEDBACK_TOOLTIP_AFTER_MS]);
|
|
166
|
+
let o = w(() => {
|
|
166
167
|
r.current.open();
|
|
167
|
-
}, []), s =
|
|
168
|
-
a(!1),
|
|
168
|
+
}, []), s = w(() => {
|
|
169
|
+
a(!1), C.resolve(h).showShowUserFeedbackTooltip = !1;
|
|
169
170
|
}, []);
|
|
170
|
-
return /* @__PURE__ */
|
|
171
|
+
return /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j(q, {
|
|
171
172
|
arrow: !0,
|
|
172
173
|
color: "secondary",
|
|
173
174
|
onMouseEnter: s,
|
|
174
175
|
open: i,
|
|
175
176
|
placement: "left",
|
|
176
177
|
slotProps: {
|
|
177
|
-
arrow: { sx: { color:
|
|
178
|
+
arrow: { sx: { color: t.palette.secondary.main } },
|
|
178
179
|
popper: { disablePortal: !0 },
|
|
179
180
|
tooltip: { sx: {
|
|
180
|
-
backgroundColor:
|
|
181
|
-
marginRight: `${
|
|
181
|
+
backgroundColor: t.palette.secondary.main,
|
|
182
|
+
marginRight: `${t.spacing(.5)} !important`
|
|
182
183
|
} }
|
|
183
184
|
},
|
|
184
185
|
title: e`Would you like to share your feedback?`,
|
|
185
|
-
children: /* @__PURE__ */
|
|
186
|
+
children: /* @__PURE__ */ M(R, {
|
|
186
187
|
"aria-label": e`Feedback`,
|
|
187
188
|
color: "inherit",
|
|
188
189
|
onClick: o,
|
|
189
|
-
children: [/* @__PURE__ */
|
|
190
|
+
children: [/* @__PURE__ */ j(de, { color: "inherit" }), /* @__PURE__ */ j(F, {
|
|
190
191
|
sx: {
|
|
191
192
|
fontSize: "1.3rem",
|
|
192
|
-
marginLeft:
|
|
193
|
-
[
|
|
193
|
+
marginLeft: t.spacing(1),
|
|
194
|
+
[t.breakpoints.up("md")]: {
|
|
194
195
|
position: "absolute",
|
|
195
196
|
visibility: "hidden"
|
|
196
197
|
}
|
|
@@ -198,63 +199,63 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
198
199
|
children: e`Feedback`
|
|
199
200
|
})]
|
|
200
201
|
})
|
|
201
|
-
}), /* @__PURE__ */
|
|
202
|
-
},
|
|
203
|
-
let
|
|
204
|
-
|
|
205
|
-
}, []),
|
|
206
|
-
let e = `Frontend version: ${
|
|
207
|
-
await navigator.clipboard.writeText(e),
|
|
208
|
-
}, []);
|
|
209
|
-
return /* @__PURE__ */
|
|
202
|
+
}), /* @__PURE__ */ j(g, { ref: r })] });
|
|
203
|
+
}, we = ({ anchorElement: e, onClose: t }) => {
|
|
204
|
+
let n = D(() => y.createUuid(), []), r = O(null), i = !!e, { t: a } = Z(), o = c(), [s, l] = k(!1), u = w(() => {
|
|
205
|
+
r.current.open();
|
|
206
|
+
}, []), d = w(async () => {
|
|
207
|
+
let e = `Frontend version: ${o.getSoftwareVersion()}\nBackend version: ${C.resolve(_).version}\nURL: ${window.location.href}\nDate/time: ${(/* @__PURE__ */ new Date()).toISOString()}`;
|
|
208
|
+
await navigator.clipboard.writeText(e), l(!0), setTimeout(() => l(!1), 2e3);
|
|
209
|
+
}, [o]);
|
|
210
|
+
return /* @__PURE__ */ j(G, {
|
|
210
211
|
...Q.createAttributes("InfoMenu"),
|
|
211
212
|
anchorEl: e,
|
|
212
213
|
anchorOrigin: {
|
|
213
214
|
horizontal: "right",
|
|
214
215
|
vertical: "bottom"
|
|
215
216
|
},
|
|
216
|
-
id:
|
|
217
|
-
onClose:
|
|
218
|
-
open:
|
|
217
|
+
id: i ? n : void 0,
|
|
218
|
+
onClose: t,
|
|
219
|
+
open: i,
|
|
219
220
|
transformOrigin: {
|
|
220
221
|
horizontal: "right",
|
|
221
222
|
vertical: "top"
|
|
222
223
|
},
|
|
223
|
-
children: /* @__PURE__ */
|
|
224
|
+
children: /* @__PURE__ */ M(B, {
|
|
224
225
|
sx: {
|
|
225
226
|
maxWidth: 300,
|
|
226
227
|
minWidth: 200,
|
|
227
228
|
width: "100%"
|
|
228
229
|
},
|
|
229
230
|
children: [
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
+
/* @__PURE__ */ j(V, {
|
|
231
232
|
divider: !0,
|
|
232
|
-
children: /* @__PURE__ */
|
|
233
|
-
primary:
|
|
234
|
-
secondary:
|
|
233
|
+
children: /* @__PURE__ */ j(W, {
|
|
234
|
+
primary: a("Frontend version"),
|
|
235
|
+
secondary: o.getSoftwareVersion(),
|
|
235
236
|
slotProps: { primary: { sx: {
|
|
236
237
|
color: "primary.main",
|
|
237
238
|
fontWeight: "bold"
|
|
238
239
|
} } }
|
|
239
240
|
})
|
|
240
241
|
}),
|
|
241
|
-
/* @__PURE__ */
|
|
242
|
+
/* @__PURE__ */ j(V, {
|
|
242
243
|
divider: !0,
|
|
243
|
-
children: /* @__PURE__ */
|
|
244
|
-
primary:
|
|
245
|
-
secondary:
|
|
244
|
+
children: /* @__PURE__ */ j(W, {
|
|
245
|
+
primary: a("Backend version"),
|
|
246
|
+
secondary: C.resolve(_).version,
|
|
246
247
|
slotProps: { primary: { sx: {
|
|
247
248
|
color: "primary.main",
|
|
248
249
|
fontWeight: "bold"
|
|
249
250
|
} } }
|
|
250
251
|
})
|
|
251
252
|
}),
|
|
252
|
-
/* @__PURE__ */
|
|
253
|
+
/* @__PURE__ */ j(V, {
|
|
253
254
|
divider: !0,
|
|
254
|
-
children: /* @__PURE__ */
|
|
255
|
-
onClick:
|
|
256
|
-
children: [/* @__PURE__ */
|
|
257
|
-
primary:
|
|
255
|
+
children: /* @__PURE__ */ M(H, {
|
|
256
|
+
onClick: d,
|
|
257
|
+
children: [/* @__PURE__ */ j(U, { children: s ? /* @__PURE__ */ j(me, { color: "success" }) : /* @__PURE__ */ j(ie, { color: "secondary" }) }), /* @__PURE__ */ j(W, {
|
|
258
|
+
primary: a`Copy version information to clipboard`,
|
|
258
259
|
slotProps: { primary: { sx: {
|
|
259
260
|
color: "secondary.main",
|
|
260
261
|
fontWeight: "bold"
|
|
@@ -262,30 +263,30 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
262
263
|
})]
|
|
263
264
|
})
|
|
264
265
|
}),
|
|
265
|
-
/* @__PURE__ */
|
|
266
|
-
onClick:
|
|
267
|
-
children: [/* @__PURE__ */
|
|
268
|
-
primary:
|
|
266
|
+
/* @__PURE__ */ M(V, { children: [/* @__PURE__ */ M(H, {
|
|
267
|
+
onClick: u,
|
|
268
|
+
children: [/* @__PURE__ */ j(U, { children: /* @__PURE__ */ j(pe, { color: "secondary" }) }), /* @__PURE__ */ j(W, {
|
|
269
|
+
primary: a`Show license information`,
|
|
269
270
|
slotProps: { primary: { sx: {
|
|
270
271
|
color: "secondary.main",
|
|
271
272
|
fontWeight: "bold"
|
|
272
273
|
} } }
|
|
273
274
|
})]
|
|
274
|
-
}), /* @__PURE__ */
|
|
275
|
+
}), /* @__PURE__ */ j(re, { ref: r })] })
|
|
275
276
|
]
|
|
276
277
|
})
|
|
277
278
|
});
|
|
278
|
-
},
|
|
279
|
-
let [e, t] =
|
|
279
|
+
}, Te = () => {
|
|
280
|
+
let [e, t] = k(null), { t: n } = Z(), r = X(), i = w((e) => {
|
|
280
281
|
t(e.currentTarget);
|
|
281
|
-
}, []), a =
|
|
282
|
+
}, []), a = w(() => {
|
|
282
283
|
t(null);
|
|
283
284
|
}, []);
|
|
284
|
-
return /* @__PURE__ */
|
|
285
|
+
return /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M(R, {
|
|
285
286
|
color: "inherit",
|
|
286
287
|
onClick: i,
|
|
287
288
|
title: "Code information",
|
|
288
|
-
children: [/* @__PURE__ */
|
|
289
|
+
children: [/* @__PURE__ */ j(fe, { color: "inherit" }), /* @__PURE__ */ j(F, {
|
|
289
290
|
sx: {
|
|
290
291
|
fontSize: "1.3rem",
|
|
291
292
|
marginLeft: r.spacing(1),
|
|
@@ -296,23 +297,23 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
296
297
|
},
|
|
297
298
|
children: n`Code information`
|
|
298
299
|
})]
|
|
299
|
-
}), e && /* @__PURE__ */
|
|
300
|
+
}), e && /* @__PURE__ */ j(we, {
|
|
300
301
|
anchorElement: e,
|
|
301
302
|
onClose: a
|
|
302
303
|
})] });
|
|
303
|
-
},
|
|
304
|
-
let { t: e } = Z(), t =
|
|
305
|
-
|
|
306
|
-
}, []), s =
|
|
304
|
+
}, Ee = () => {
|
|
305
|
+
let { t: e } = Z(), t = X(), n = oe(C.resolve(u)), r = D(() => n.some((e) => e.isLoading), [n]), [i, a] = k(!1), o = w(() => {
|
|
306
|
+
C.resolve(u).hideAllNotifications(), a(!0);
|
|
307
|
+
}, []), s = w(() => {
|
|
307
308
|
a(!1);
|
|
308
309
|
}, []);
|
|
309
|
-
return /* @__PURE__ */
|
|
310
|
+
return /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M(R, {
|
|
310
311
|
"aria-label": e`Notifications`,
|
|
311
312
|
color: "inherit",
|
|
312
313
|
onClick: o,
|
|
313
314
|
title: e`Notifications`,
|
|
314
315
|
children: [
|
|
315
|
-
/* @__PURE__ */
|
|
316
|
+
/* @__PURE__ */ j(P, {
|
|
316
317
|
badgeContent: n.length,
|
|
317
318
|
color: "secondary",
|
|
318
319
|
sx: { "& .MuiBadge-badge": {
|
|
@@ -321,14 +322,14 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
321
322
|
height: 15,
|
|
322
323
|
minWidth: 15
|
|
323
324
|
} },
|
|
324
|
-
children: /* @__PURE__ */
|
|
325
|
+
children: /* @__PURE__ */ j(ue, { color: "inherit" })
|
|
325
326
|
}),
|
|
326
|
-
r && /* @__PURE__ */
|
|
327
|
+
r && /* @__PURE__ */ j(I, {
|
|
327
328
|
color: "inherit",
|
|
328
329
|
size: t.spacing(3.5),
|
|
329
330
|
sx: { position: "absolute" }
|
|
330
331
|
}),
|
|
331
|
-
/* @__PURE__ */
|
|
332
|
+
/* @__PURE__ */ j(F, {
|
|
332
333
|
sx: {
|
|
333
334
|
fontSize: "1.3rem",
|
|
334
335
|
marginLeft: t.spacing(1),
|
|
@@ -340,24 +341,24 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
340
341
|
children: e`Notifications`
|
|
341
342
|
})
|
|
342
343
|
]
|
|
343
|
-
}), /* @__PURE__ */
|
|
344
|
+
}), /* @__PURE__ */ j(p, {
|
|
344
345
|
onDrawerClose: s,
|
|
345
346
|
open: i
|
|
346
347
|
})] });
|
|
347
|
-
},
|
|
348
|
-
let { t: e } = Z(), t =
|
|
348
|
+
}, De = () => {
|
|
349
|
+
let { t: e } = Z(), t = X(), n = O(null), a = r(i, (e) => e.visibleOutages), o = r(i, (e) => e.activeOutages), s = r(i, (e) => e.soonActiveOutages), c = D(() => o.length > 0 || a.length > 0 || s.length > 0 ? "!" : null, [
|
|
349
350
|
o.length,
|
|
350
351
|
s.length,
|
|
351
352
|
a.length
|
|
352
|
-
]), l =
|
|
353
|
-
|
|
353
|
+
]), l = w(() => {
|
|
354
|
+
n.current.open();
|
|
354
355
|
}, []);
|
|
355
|
-
return /* @__PURE__ */
|
|
356
|
+
return /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M(R, {
|
|
356
357
|
"aria-label": e`Outages`,
|
|
357
358
|
color: "inherit",
|
|
358
359
|
onClick: l,
|
|
359
360
|
title: e`Outages`,
|
|
360
|
-
children: [/* @__PURE__ */
|
|
361
|
+
children: [/* @__PURE__ */ j(P, {
|
|
361
362
|
badgeContent: c,
|
|
362
363
|
color: "secondary",
|
|
363
364
|
sx: { "& .MuiBadge-badge": {
|
|
@@ -366,8 +367,8 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
366
367
|
height: 15,
|
|
367
368
|
minWidth: 15
|
|
368
369
|
} },
|
|
369
|
-
children: /* @__PURE__ */
|
|
370
|
-
}), /* @__PURE__ */
|
|
370
|
+
children: /* @__PURE__ */ j(he, { color: "inherit" })
|
|
371
|
+
}), /* @__PURE__ */ j(F, {
|
|
371
372
|
sx: {
|
|
372
373
|
fontSize: "1.3rem",
|
|
373
374
|
marginLeft: t.spacing(1),
|
|
@@ -378,26 +379,26 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
378
379
|
},
|
|
379
380
|
children: e`Outages`
|
|
380
381
|
})]
|
|
381
|
-
}), /* @__PURE__ */
|
|
382
|
-
},
|
|
383
|
-
let { t: e } = Z(), { data:
|
|
382
|
+
}), /* @__PURE__ */ j(ee, { ref: n })] });
|
|
383
|
+
}, Oe = m(() => {
|
|
384
|
+
let { t: e } = Z(), { data: r, error: i, isLoading: o } = n({
|
|
384
385
|
gcTime: 0,
|
|
385
|
-
queryFn: async ({ signal: e }) => (await
|
|
386
|
-
queryKey:
|
|
386
|
+
queryFn: async ({ signal: e }) => (await C.resolve(a).retrieveOrganizationAdminNameEmails({ signal: e })).data,
|
|
387
|
+
queryKey: C.resolve(t).getGenericKey(d.ORGANIZATION_ADMIN_NAME_EMAILS),
|
|
387
388
|
staleTime: 0
|
|
388
389
|
});
|
|
389
|
-
return /* @__PURE__ */
|
|
390
|
+
return /* @__PURE__ */ j(V, {
|
|
390
391
|
alignItems: "center",
|
|
391
392
|
sx: {
|
|
392
393
|
justifyContent: "center",
|
|
393
394
|
paddingTop: 0
|
|
394
395
|
},
|
|
395
|
-
children: /* @__PURE__ */
|
|
396
|
+
children: /* @__PURE__ */ j(W, {
|
|
396
397
|
primary: e`My organizations admins`,
|
|
397
|
-
secondary: /* @__PURE__ */
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
398
|
+
secondary: /* @__PURE__ */ M(A, { children: [
|
|
399
|
+
o && e`Loading...`,
|
|
400
|
+
i && e`Error`,
|
|
401
|
+
r?.map((e) => /* @__PURE__ */ j(z, {
|
|
401
402
|
href: `mailto:${e.email}`,
|
|
402
403
|
sx: { display: "table" },
|
|
403
404
|
children: e.name ?? e.email
|
|
@@ -407,69 +408,69 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
407
408
|
})
|
|
408
409
|
});
|
|
409
410
|
}, { requiredPermissions: [{
|
|
410
|
-
command_name:
|
|
411
|
-
permission_type:
|
|
412
|
-
}] }),
|
|
413
|
-
let { t: e } = Z(), t = f(), n =
|
|
414
|
-
return /* @__PURE__ */
|
|
411
|
+
command_name: b.RetrieveOrganizationAdminNameEmailsCommand,
|
|
412
|
+
permission_type: S.EXECUTE
|
|
413
|
+
}] }), ke = m(() => {
|
|
414
|
+
let { t: e } = Z(), t = f(), n = D(() => t.isLoading ? e`Loading...` : t.error ? e`Error` : t.map.get(C.resolve(o).user?.organization_id ?? "")?.name ?? e`Unknown`, [t, e]);
|
|
415
|
+
return /* @__PURE__ */ j(V, {
|
|
415
416
|
sx: { paddingBottom: 0 },
|
|
416
|
-
children: /* @__PURE__ */
|
|
417
|
+
children: /* @__PURE__ */ j(W, {
|
|
417
418
|
primary: e`My organization`,
|
|
418
419
|
secondary: n ?? e`Unknown`,
|
|
419
420
|
slotProps: { primary: { sx: { fontWeight: "bold" } } }
|
|
420
421
|
})
|
|
421
422
|
});
|
|
422
423
|
}, { requiredPermissions: [{
|
|
423
|
-
command_name:
|
|
424
|
-
permission_type:
|
|
425
|
-
}] }),
|
|
426
|
-
let r =
|
|
424
|
+
command_name: b.RetrieveOrganizationAdminNameEmailsCommand,
|
|
425
|
+
permission_type: S.EXECUTE
|
|
426
|
+
}] }), Ae = ({ anchorElement: t, onClose: n }) => {
|
|
427
|
+
let r = le(), i = O(null), a = D(() => y.createUuid(), []), s = !!t, { t: c } = Z(), u = O(null), d = w(() => {
|
|
427
428
|
u.current.open();
|
|
428
|
-
}, []), f =
|
|
429
|
-
|
|
430
|
-
}, []), p =
|
|
431
|
-
|
|
429
|
+
}, []), f = w(() => {
|
|
430
|
+
i.current.open();
|
|
431
|
+
}, []), p = w(() => {
|
|
432
|
+
C.resolve(l).log([{
|
|
432
433
|
detail: r.user,
|
|
433
|
-
level:
|
|
434
|
+
level: x.TRACE,
|
|
434
435
|
topic: "USER_LOGOUT"
|
|
435
|
-
}]),
|
|
436
|
-
}, [r]), m =
|
|
437
|
-
return /* @__PURE__ */
|
|
436
|
+
}]), C.resolve(l).flushLog(), r.signoutRedirect();
|
|
437
|
+
}, [r]), m = D(() => e.getUserDisplayValue(C.resolve(o).user, c), [c]), h = D(() => C.resolve(o).user?.roles, []);
|
|
438
|
+
return /* @__PURE__ */ j(G, {
|
|
438
439
|
...Q.createAttributes("UserMenu"),
|
|
439
440
|
anchorEl: t,
|
|
440
441
|
anchorOrigin: {
|
|
441
442
|
horizontal: "right",
|
|
442
443
|
vertical: "bottom"
|
|
443
444
|
},
|
|
444
|
-
id:
|
|
445
|
+
id: s ? a : void 0,
|
|
445
446
|
onClose: n,
|
|
446
|
-
open:
|
|
447
|
+
open: s,
|
|
447
448
|
transformOrigin: {
|
|
448
449
|
horizontal: "right",
|
|
449
450
|
vertical: "top"
|
|
450
451
|
},
|
|
451
|
-
children: /* @__PURE__ */
|
|
452
|
+
children: /* @__PURE__ */ M(B, {
|
|
452
453
|
sx: {
|
|
453
454
|
maxWidth: 300,
|
|
454
455
|
minWidth: 200,
|
|
455
456
|
width: "100%"
|
|
456
457
|
},
|
|
457
458
|
children: [
|
|
458
|
-
/* @__PURE__ */
|
|
459
|
+
/* @__PURE__ */ j(V, {
|
|
459
460
|
divider: !0,
|
|
460
|
-
children: /* @__PURE__ */
|
|
461
|
-
primary: m ??
|
|
461
|
+
children: /* @__PURE__ */ j(W, {
|
|
462
|
+
primary: m ?? c`Unknown`,
|
|
462
463
|
slotProps: { primary: { sx: { fontWeight: "bold" } } }
|
|
463
464
|
})
|
|
464
465
|
}),
|
|
465
|
-
/* @__PURE__ */
|
|
466
|
-
/* @__PURE__ */
|
|
467
|
-
/* @__PURE__ */
|
|
466
|
+
/* @__PURE__ */ j(ke, {}),
|
|
467
|
+
/* @__PURE__ */ j(Oe, {}),
|
|
468
|
+
/* @__PURE__ */ j(V, {
|
|
468
469
|
divider: !0,
|
|
469
470
|
sx: { paddingTop: 0 },
|
|
470
|
-
children: /* @__PURE__ */
|
|
471
|
-
primary:
|
|
472
|
-
secondary: /* @__PURE__ */
|
|
471
|
+
children: /* @__PURE__ */ j(W, {
|
|
472
|
+
primary: c`My roles`,
|
|
473
|
+
secondary: /* @__PURE__ */ j(A, { children: h?.map((e) => /* @__PURE__ */ j(F, {
|
|
473
474
|
component: "span",
|
|
474
475
|
sx: {
|
|
475
476
|
display: "inline-block",
|
|
@@ -480,53 +481,53 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
480
481
|
slotProps: { primary: { sx: { fontWeight: "bold" } } }
|
|
481
482
|
})
|
|
482
483
|
}),
|
|
483
|
-
/* @__PURE__ */
|
|
484
|
+
/* @__PURE__ */ M(V, {
|
|
484
485
|
alignItems: "center",
|
|
485
486
|
divider: !0,
|
|
486
487
|
sx: { justifyContent: "center" },
|
|
487
|
-
children: [/* @__PURE__ */
|
|
488
|
+
children: [/* @__PURE__ */ M(H, {
|
|
488
489
|
onClick: d,
|
|
489
|
-
children: [/* @__PURE__ */
|
|
490
|
-
primary:
|
|
490
|
+
children: [/* @__PURE__ */ j(U, { children: /* @__PURE__ */ j(ve, { color: "primary" }) }), /* @__PURE__ */ j(W, {
|
|
491
|
+
primary: c`My API permissions`,
|
|
491
492
|
slotProps: { primary: { sx: { color: "primary.main" } } }
|
|
492
493
|
})]
|
|
493
|
-
}), /* @__PURE__ */
|
|
494
|
+
}), /* @__PURE__ */ j(ne, { ref: u })]
|
|
494
495
|
}),
|
|
495
|
-
/* @__PURE__ */
|
|
496
|
+
/* @__PURE__ */ M(V, {
|
|
496
497
|
alignItems: "center",
|
|
497
498
|
sx: { justifyContent: "center" },
|
|
498
|
-
children: [/* @__PURE__ */
|
|
499
|
+
children: [/* @__PURE__ */ M(H, {
|
|
499
500
|
onClick: f,
|
|
500
|
-
children: [/* @__PURE__ */
|
|
501
|
-
primary:
|
|
501
|
+
children: [/* @__PURE__ */ j(U, { children: /* @__PURE__ */ j(_e, { color: "secondary" }) }), /* @__PURE__ */ j(W, {
|
|
502
|
+
primary: c`Logout`,
|
|
502
503
|
slotProps: { primary: { sx: {
|
|
503
504
|
color: "secondary.main",
|
|
504
505
|
fontWeight: "bold"
|
|
505
506
|
} } }
|
|
506
507
|
})]
|
|
507
|
-
}), /* @__PURE__ */
|
|
508
|
-
body:
|
|
509
|
-
cancelLabel:
|
|
510
|
-
confirmLabel:
|
|
508
|
+
}), /* @__PURE__ */ j(ce, {
|
|
509
|
+
body: c`Click the logout button to logout`,
|
|
510
|
+
cancelLabel: c`Cancel`,
|
|
511
|
+
confirmLabel: c`Logout`,
|
|
511
512
|
onConfirm: p,
|
|
512
|
-
ref:
|
|
513
|
-
title:
|
|
513
|
+
ref: i,
|
|
514
|
+
title: c`Are you sure you want to logout?`
|
|
514
515
|
})]
|
|
515
516
|
})
|
|
516
517
|
]
|
|
517
518
|
})
|
|
518
519
|
});
|
|
519
|
-
},
|
|
520
|
-
let { t: e } = Z(), t =
|
|
520
|
+
}, je = () => {
|
|
521
|
+
let { t: e } = Z(), t = X(), [n, r] = k(null), i = w((e) => {
|
|
521
522
|
r(e.currentTarget);
|
|
522
|
-
}, []), a =
|
|
523
|
+
}, []), a = w(() => {
|
|
523
524
|
r(null);
|
|
524
525
|
}, []);
|
|
525
|
-
return /* @__PURE__ */
|
|
526
|
+
return /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M(R, {
|
|
526
527
|
color: "inherit",
|
|
527
528
|
onClick: i,
|
|
528
529
|
title: "Account",
|
|
529
|
-
children: [/* @__PURE__ */
|
|
530
|
+
children: [/* @__PURE__ */ j(ge, { color: "inherit" }), /* @__PURE__ */ j(F, {
|
|
530
531
|
sx: {
|
|
531
532
|
fontSize: "1.3rem",
|
|
532
533
|
marginLeft: t.spacing(1),
|
|
@@ -537,20 +538,20 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
537
538
|
},
|
|
538
539
|
children: e`Account`
|
|
539
540
|
})]
|
|
540
|
-
}), n && /* @__PURE__ */
|
|
541
|
+
}), n && /* @__PURE__ */ j(Ae, {
|
|
541
542
|
anchorElement: n,
|
|
542
543
|
onClose: a
|
|
543
544
|
})] });
|
|
544
|
-
},
|
|
545
|
-
let { t: e } = Z(), t =
|
|
545
|
+
}, Me = () => {
|
|
546
|
+
let { t: e } = Z(), t = X(), n = O(null), r = w(() => {
|
|
546
547
|
n.current.open();
|
|
547
548
|
}, []);
|
|
548
|
-
return
|
|
549
|
+
return C.resolve(v).featureFlags.update_own_organization ? /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M(R, {
|
|
549
550
|
"aria-label": e`Change organization`,
|
|
550
551
|
color: "inherit",
|
|
551
552
|
onClick: r,
|
|
552
553
|
title: e`Change organization`,
|
|
553
|
-
children: [/* @__PURE__ */
|
|
554
|
+
children: [/* @__PURE__ */ j(ye, { color: "inherit" }), /* @__PURE__ */ j(F, {
|
|
554
555
|
sx: {
|
|
555
556
|
fontSize: "1.3rem",
|
|
556
557
|
marginLeft: t.spacing(1),
|
|
@@ -561,117 +562,117 @@ var ye = B($)(({ theme: e }) => ({
|
|
|
561
562
|
},
|
|
562
563
|
children: e`Change organization`
|
|
563
564
|
})]
|
|
564
|
-
}), /* @__PURE__ */
|
|
565
|
-
},
|
|
566
|
-
let
|
|
567
|
-
|
|
565
|
+
}), /* @__PURE__ */ j(te, { ref: n })] }) : null;
|
|
566
|
+
}, Ne = ({ fullWidth: e }) => {
|
|
567
|
+
let t = X(), { t: n } = Z(), r = c().getEnvironmentMessage(), i = E(), [a, o] = k(!1), s = w(() => {
|
|
568
|
+
o((e) => !e);
|
|
568
569
|
}, []);
|
|
569
|
-
return
|
|
570
|
-
if (
|
|
570
|
+
return T(() => {
|
|
571
|
+
if (a) {
|
|
571
572
|
let e = (e) => {
|
|
572
|
-
e.key === "Escape" &&
|
|
573
|
+
e.key === "Escape" && o(!1);
|
|
573
574
|
};
|
|
574
575
|
return document.addEventListener("keydown", e), () => {
|
|
575
576
|
document.removeEventListener("keydown", e);
|
|
576
577
|
};
|
|
577
578
|
}
|
|
578
|
-
}, [
|
|
579
|
+
}, [a]), /* @__PURE__ */ M(F, {
|
|
579
580
|
...Q.createAttributes("ApplicationBarActions"),
|
|
580
581
|
sx: {
|
|
581
582
|
alignItems: "center",
|
|
582
583
|
display: "flex",
|
|
583
584
|
paddingRight: 1
|
|
584
585
|
},
|
|
585
|
-
children: [/* @__PURE__ */
|
|
586
|
-
"aria-controls":
|
|
587
|
-
"aria-label":
|
|
588
|
-
onClick:
|
|
586
|
+
children: [/* @__PURE__ */ j(R, {
|
|
587
|
+
"aria-controls": i,
|
|
588
|
+
"aria-label": n`Toggle menu`,
|
|
589
|
+
onClick: s,
|
|
589
590
|
sx: {
|
|
590
|
-
color:
|
|
591
|
-
[
|
|
591
|
+
color: t["gen-epix-ui"].navbar.primaryColor,
|
|
592
|
+
[t.breakpoints.up("md")]: { display: "none" }
|
|
592
593
|
},
|
|
593
|
-
children: /* @__PURE__ */
|
|
594
|
-
}), /* @__PURE__ */
|
|
595
|
-
id:
|
|
594
|
+
children: /* @__PURE__ */ j($, {})
|
|
595
|
+
}), /* @__PURE__ */ M(F, {
|
|
596
|
+
id: i,
|
|
596
597
|
sx: {
|
|
597
598
|
display: "flex",
|
|
598
|
-
[
|
|
599
|
+
[t.breakpoints.down("md")]: {
|
|
599
600
|
alignItems: "start",
|
|
600
|
-
background:
|
|
601
|
-
display:
|
|
601
|
+
background: t["gen-epix-ui"].navbar.background,
|
|
602
|
+
display: a ? "flex" : "none",
|
|
602
603
|
flexDirection: "column",
|
|
603
604
|
left: 0,
|
|
604
605
|
position: "absolute",
|
|
605
606
|
right: 0,
|
|
606
|
-
top:
|
|
607
|
-
zIndex:
|
|
607
|
+
top: t.spacing(6),
|
|
608
|
+
zIndex: t.zIndex.appBar - 1
|
|
608
609
|
}
|
|
609
610
|
},
|
|
610
611
|
children: [
|
|
611
|
-
/* @__PURE__ */
|
|
612
|
-
/* @__PURE__ */
|
|
613
|
-
/* @__PURE__ */
|
|
614
|
-
/* @__PURE__ */
|
|
615
|
-
/* @__PURE__ */
|
|
616
|
-
/* @__PURE__ */
|
|
617
|
-
|
|
612
|
+
/* @__PURE__ */ j(Ce, {}),
|
|
613
|
+
/* @__PURE__ */ j(De, {}),
|
|
614
|
+
/* @__PURE__ */ j(Ee, {}),
|
|
615
|
+
/* @__PURE__ */ j(Te, {}),
|
|
616
|
+
/* @__PURE__ */ j(Me, {}),
|
|
617
|
+
/* @__PURE__ */ j(je, {}),
|
|
618
|
+
r && /* @__PURE__ */ j(F, {
|
|
618
619
|
...Q.createAttributes("ApplicationBarActions-EnvironmentMessage"),
|
|
619
620
|
"aria-hidden": "true",
|
|
620
621
|
sx: {
|
|
621
622
|
alignItems: "center",
|
|
622
|
-
color:
|
|
623
|
+
color: t["gen-epix-ui"].navbar.environmentMessageColor,
|
|
623
624
|
display: "flex",
|
|
624
625
|
fontWeight: 700,
|
|
625
626
|
marginRight: +!e,
|
|
626
|
-
padding: `0 ${
|
|
627
|
+
padding: `0 ${t.spacing(1)} !important`,
|
|
627
628
|
textTransform: "uppercase",
|
|
628
|
-
[
|
|
629
|
+
[t.breakpoints.down("md")]: {
|
|
629
630
|
position: "absolute",
|
|
630
631
|
visibility: "hidden"
|
|
631
632
|
}
|
|
632
633
|
},
|
|
633
|
-
children:
|
|
634
|
+
children: n("{{environmentMessage}}", { environmentMessage: r })
|
|
634
635
|
})
|
|
635
636
|
]
|
|
636
637
|
})]
|
|
637
638
|
});
|
|
638
|
-
},
|
|
639
|
-
let r =
|
|
640
|
-
return /* @__PURE__ */
|
|
639
|
+
}, Pe = ({ fullWidth: e, singleAction: t }) => {
|
|
640
|
+
let n = X(), r = c();
|
|
641
|
+
return /* @__PURE__ */ j(N, {
|
|
641
642
|
...Q.createAttributes("ApplicationBar"),
|
|
642
643
|
position: "static",
|
|
643
644
|
square: !0,
|
|
644
645
|
sx: {
|
|
645
|
-
background:
|
|
646
|
+
background: n["gen-epix-ui"].navbar.background,
|
|
646
647
|
boxShadow: "none"
|
|
647
648
|
},
|
|
648
|
-
children: /* @__PURE__ */
|
|
649
|
+
children: /* @__PURE__ */ j(L, {
|
|
649
650
|
disableGutters: !0,
|
|
650
651
|
maxWidth: !e && "xl",
|
|
651
|
-
children: /* @__PURE__ */
|
|
652
|
+
children: /* @__PURE__ */ M(K, {
|
|
652
653
|
disableGutters: !0,
|
|
653
654
|
sx: {
|
|
654
655
|
height: 48,
|
|
655
|
-
justifyContent:
|
|
656
|
+
justifyContent: t ? "center" : "space-between",
|
|
656
657
|
minHeight: "48px !important"
|
|
657
658
|
},
|
|
658
|
-
children: [
|
|
659
|
+
children: [t && /* @__PURE__ */ j(F, {
|
|
659
660
|
sx: { marginX: 2 },
|
|
660
|
-
children: /* @__PURE__ */
|
|
661
|
+
children: /* @__PURE__ */ j(J, {
|
|
661
662
|
component: "h1",
|
|
662
663
|
sx: {
|
|
663
|
-
color:
|
|
664
|
+
color: n["gen-epix-ui"].navbar.primaryColor,
|
|
664
665
|
fontSize: "1.3rem"
|
|
665
666
|
},
|
|
666
667
|
variant: "body2",
|
|
667
|
-
children:
|
|
668
|
+
children: r.applicationName
|
|
668
669
|
})
|
|
669
|
-
}), !
|
|
670
|
+
}), !t && /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j(xe, { fullWidth: e }), /* @__PURE__ */ j(Ne, { fullWidth: e })] })]
|
|
670
671
|
})
|
|
671
672
|
})
|
|
672
673
|
});
|
|
673
674
|
};
|
|
674
675
|
//#endregion
|
|
675
|
-
export {
|
|
676
|
+
export { Pe as ApplicationBar };
|
|
676
677
|
|
|
677
678
|
//# sourceMappingURL=index.js.map
|