@gen-epix/ui-client-common 4.0.0 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist/@types/{ui.d.ts → ui-client-common.d.ts} +1 -1
  2. package/dist/_chunks/ApplicationFooter.js +1 -1
  3. package/dist/_chunks/ApplicationFooter.js.map +1 -1
  4. package/dist/_chunks/Breadcrumbs.js +1 -1
  5. package/dist/_chunks/Breadcrumbs.js.map +1 -1
  6. package/dist/_chunks/CrudPage.js +293 -293
  7. package/dist/_chunks/CrudPage.js.map +1 -1
  8. package/dist/_chunks/GeoFilter.js +1 -1
  9. package/dist/_chunks/GeoFilter.js.map +1 -1
  10. package/dist/_chunks/Notifications.js.map +1 -1
  11. package/dist/_chunks/OutageList.js.map +1 -1
  12. package/dist/_chunks/QueryClientProvider.js +1 -1
  13. package/dist/_chunks/QueryClientProvider.js.map +1 -1
  14. package/dist/_chunks/QueryClientService.js +79 -66
  15. package/dist/_chunks/QueryClientService.js.map +1 -1
  16. package/dist/_chunks/Table.js +953 -945
  17. package/dist/_chunks/Table.js.map +1 -1
  18. package/dist/_chunks/TableUtil.js.map +1 -1
  19. package/dist/_chunks/TextFilter.js +4 -4
  20. package/dist/_chunks/TextFilter.js.map +1 -1
  21. package/dist/_chunks/UserInvitationsAdminPage.js +110 -110
  22. package/dist/_chunks/UserInvitationsAdminPage.js.map +1 -1
  23. package/dist/_chunks/_baseFlatten.js +1 -1
  24. package/dist/_chunks/_baseGet.js +26 -26
  25. package/dist/_chunks/_baseGet.js.map +1 -1
  26. package/dist/_chunks/_baseIteratee.js +25 -26
  27. package/dist/_chunks/_baseIteratee.js.map +1 -1
  28. package/dist/_chunks/_setToString.js.map +1 -1
  29. package/dist/_chunks/{chunk-KS7C4IRE.js → chunk-BV7QT456.js} +1041 -1128
  30. package/dist/_chunks/chunk-BV7QT456.js.map +1 -0
  31. package/dist/_chunks/format.js +199 -198
  32. package/dist/_chunks/format.js.map +1 -1
  33. package/dist/_chunks/index.esm.js +797 -692
  34. package/dist/_chunks/index.esm.js.map +1 -1
  35. package/dist/_chunks/isArrayLike.js +1 -2
  36. package/dist/_chunks/isArrayLike.js.map +1 -1
  37. package/dist/_chunks/isObject.js +38 -2
  38. package/dist/_chunks/isObject.js.map +1 -1
  39. package/dist/_chunks/isSymbol.js +2 -2
  40. package/dist/_chunks/middleware.js +11 -9
  41. package/dist/_chunks/middleware.js.map +1 -1
  42. package/dist/_chunks/oidc-client-ts.js +12 -9
  43. package/dist/_chunks/oidc-client-ts.js.map +1 -1
  44. package/dist/_chunks/omit.js +38 -39
  45. package/dist/_chunks/omit.js.map +1 -1
  46. package/dist/_chunks/query.js +210 -228
  47. package/dist/_chunks/query.js.map +1 -1
  48. package/dist/_chunks/react-oidc-context.js +1 -1
  49. package/dist/_chunks/react-oidc-context.js.map +1 -1
  50. package/dist/_chunks/react.js +1 -1
  51. package/dist/_chunks/react.js.map +1 -1
  52. package/dist/_chunks/rolldown-runtime.js +2 -2
  53. package/dist/_chunks/tableStore.js +79 -78
  54. package/dist/_chunks/tableStore.js.map +1 -1
  55. package/dist/_chunks/toDate.js +1 -1
  56. package/dist/_chunks/toDate.js.map +1 -1
  57. package/dist/_chunks/uniq.js +1 -1
  58. package/dist/_chunks/uniq.js.map +1 -1
  59. package/dist/_chunks/useColumnsMenu.js +7 -6
  60. package/dist/_chunks/useColumnsMenu.js.map +1 -1
  61. package/dist/_chunks/useMutation.js +19 -16
  62. package/dist/_chunks/useMutation.js.map +1 -1
  63. package/dist/_chunks/useQueryMemo.js +156 -169
  64. package/dist/_chunks/useQueryMemo.js.map +1 -1
  65. package/dist/_chunks/vanilla.js +1 -1
  66. package/dist/_chunks/vanilla.js.map +1 -1
  67. package/dist/_chunks/yup.js +5 -5
  68. package/dist/_chunks/yup.js.map +1 -1
  69. package/dist/classes/filters/GeoFilter.d.ts +1 -1
  70. package/dist/classes/filters/MultiSelectFilter.d.ts +1 -1
  71. package/dist/classes/services/AuthenticationService/index.js +41 -44
  72. package/dist/classes/services/AuthenticationService/index.js.map +1 -1
  73. package/dist/classes/services/BreadcrumbService/index.js.map +1 -1
  74. package/dist/classes/services/InactivityService/index.js +10 -11
  75. package/dist/classes/services/InactivityService/index.js.map +1 -1
  76. package/dist/classes/services/RouterService/index.js +1 -1
  77. package/dist/components/app/App/index.js +48 -38
  78. package/dist/components/app/App/index.js.map +1 -1
  79. package/dist/components/app/ApplicationBootstrap/index.js +54 -54
  80. package/dist/components/app/ApplicationBootstrap/index.js.map +1 -1
  81. package/dist/components/app/AuthenticationWrapper/index.js +45 -45
  82. package/dist/components/app/AuthenticationWrapper/index.js.map +1 -1
  83. package/dist/components/app/AuthorizationWrapper/index.js +7 -7
  84. package/dist/components/app/AuthorizationWrapper/index.js.map +1 -1
  85. package/dist/components/app/RouterRoot/index.js +53 -53
  86. package/dist/components/app/RouterRoot/index.js.map +1 -1
  87. package/dist/components/epi/EpiContactDetailsDialog/EpiContactDetailsDialog.d.ts +2 -2
  88. package/dist/components/epi/EpiContactDetailsDialog/index.js +28 -26
  89. package/dist/components/epi/EpiContactDetailsDialog/index.js.map +1 -1
  90. package/dist/components/filters/BooleanFilterField/index.js +1 -1
  91. package/dist/components/filters/BooleanFilterField/index.js.map +1 -1
  92. package/dist/components/filters/DateFilterField/index.js +1 -1
  93. package/dist/components/filters/DateFilterField/index.js.map +1 -1
  94. package/dist/components/filters/GeoFilterField/index.js +2 -2
  95. package/dist/components/filters/GeoFilterField/index.js.map +1 -1
  96. package/dist/components/filters/MultiSelectFilterField/index.js +2 -2
  97. package/dist/components/filters/MultiSelectFilterField/index.js.map +1 -1
  98. package/dist/components/filters/NumberRangeFilterField/index.js +1 -1
  99. package/dist/components/filters/NumberRangeFilterField/index.js.map +1 -1
  100. package/dist/components/filters/TextFilterField/index.js +1 -1
  101. package/dist/components/filters/TextFilterField/index.js.map +1 -1
  102. package/dist/components/ui/ApplicationBar/index.js +132 -132
  103. package/dist/components/ui/ApplicationBar/index.js.map +1 -1
  104. package/dist/components/ui/ConsentDialog/ConsentDialog.d.ts +2 -2
  105. package/dist/components/ui/ConsentDialog/index.js +11 -11
  106. package/dist/components/ui/ConsentDialog/index.js.map +1 -1
  107. package/dist/components/ui/GenericErrorMessage/index.js +1 -1
  108. package/dist/components/ui/GenericErrorMessage/index.js.map +1 -1
  109. package/dist/components/ui/LicensesDialog/LicensesDialog.d.ts +2 -2
  110. package/dist/components/ui/LicensesDialog/index.js +40 -40
  111. package/dist/components/ui/LicensesDialog/index.js.map +1 -1
  112. package/dist/components/ui/MyPermissionsDialog/MyPermissionsDialog.d.ts +2 -2
  113. package/dist/components/ui/MyPermissionsDialog/index.js +21 -21
  114. package/dist/components/ui/MyPermissionsDialog/index.js.map +1 -1
  115. package/dist/components/ui/NavLink/index.js +1 -1
  116. package/dist/components/ui/NavLink/index.js.map +1 -1
  117. package/dist/components/ui/OrganizationSwitcherDialog/OrganizationSwitcherDialog.d.ts +2 -2
  118. package/dist/components/ui/OrganizationSwitcherDialog/index.js +43 -43
  119. package/dist/components/ui/OrganizationSwitcherDialog/index.js.map +1 -1
  120. package/dist/components/ui/OutagesDialog/OutagesDialog.d.ts +2 -2
  121. package/dist/components/ui/OutagesDialog/index.js +14 -14
  122. package/dist/components/ui/OutagesDialog/index.js.map +1 -1
  123. package/dist/components/ui/PageContainer/index.js +2 -2
  124. package/dist/components/ui/PageContainer/index.js.map +1 -1
  125. package/dist/components/ui/ResponseHandler/index.js +8 -8
  126. package/dist/components/ui/ResponseHandler/index.js.map +1 -1
  127. package/dist/components/ui/Sidebar/index.js.map +1 -1
  128. package/dist/components/ui/Table/TableColumnsEditorDialog.d.ts +2 -2
  129. package/dist/components/ui/UserFeedbackDialog/UserFeedbackDialog.d.ts +2 -2
  130. package/dist/components/ui/UserFeedbackDialog/index.js +38 -38
  131. package/dist/components/ui/UserFeedbackDialog/index.js.map +1 -1
  132. package/dist/components/ui/UserInactivityConfirmation/index.js +14 -14
  133. package/dist/components/ui/UserInactivityConfirmation/index.js.map +1 -1
  134. package/dist/context/uiClientCommonConfigContext/UiClientCommonConfigContext.d.ts +5 -0
  135. package/dist/context/uiClientCommonConfigContext/UiClientCommonConfigContextProvider.d.ts +6 -0
  136. package/dist/context/uiClientCommonConfigContext/index.d.ts +3 -0
  137. package/dist/context/uiClientCommonConfigContext/index.js +18 -0
  138. package/dist/context/uiClientCommonConfigContext/index.js.map +1 -0
  139. package/dist/context/uiClientCommonConfigContext/useUiClientCommonConfigContext.d.ts +2 -0
  140. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js +4 -4
  141. package/dist/dataHooks/useIdentifierIssuerQuery/index.js +4 -4
  142. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js +4 -4
  143. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js +4 -4
  144. package/dist/dataHooks/useOrganizationIdentifierIssuerLinksQuery/index.js +4 -4
  145. package/dist/dataHooks/useOrganizationsQuery/index.js +4 -4
  146. package/dist/dataHooks/useUsersQuery/index.js +4 -4
  147. package/dist/hooks/useColumnsMenu/useColumnsMenu.d.ts +1 -1
  148. package/dist/hooks/useEditMutation/index.js +6 -6
  149. package/dist/hooks/useEditMutation/index.js.map +1 -1
  150. package/dist/hooks/useItemQuery/index.js +8 -8
  151. package/dist/hooks/useItemQuery/index.js.map +1 -1
  152. package/dist/locale/en.json +0 -10
  153. package/dist/locale/nl.json +0 -10
  154. package/dist/models/dataHooks.d.ts +1 -1
  155. package/dist/models/table.d.ts +1 -1
  156. package/dist/models/table.js.map +1 -1
  157. package/dist/pages/AcceptInvitationPage/index.js +5 -5
  158. package/dist/pages/AcceptInvitationPage/index.js.map +1 -1
  159. package/dist/pages/AdminPage/index.js +1 -1
  160. package/dist/pages/AdminPage/index.js.map +1 -1
  161. package/dist/pages/ChooseIdentityProviderPage/index.js.map +1 -1
  162. package/dist/pages/CrudPage/CrudPage.d.ts +2 -2
  163. package/dist/pages/CrudPage/CrudPageDeleteDialog.d.ts +2 -2
  164. package/dist/pages/CrudPage/CrudPageEditDialog.d.ts +4 -4
  165. package/dist/pages/ErrorPage/index.js.map +1 -1
  166. package/dist/pages/IdentifierIssuersAdminPage/index.js +2 -2
  167. package/dist/pages/IdentifierIssuersAdminPage/index.js.map +1 -1
  168. package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js +1 -1
  169. package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js.map +1 -1
  170. package/dist/pages/OrganizationContactsAdminPage/index.js +3 -3
  171. package/dist/pages/OrganizationContactsAdminPage/index.js.map +1 -1
  172. package/dist/pages/OrganizationSitesAdminPage/index.js +3 -3
  173. package/dist/pages/OrganizationSitesAdminPage/index.js.map +1 -1
  174. package/dist/pages/OrganizationsAdminPage/index.js +2 -2
  175. package/dist/pages/OrganizationsAdminPage/index.js.map +1 -1
  176. package/dist/pages/OutagesAdminPage/index.js +2 -2
  177. package/dist/pages/OutagesAdminPage/index.js.map +1 -1
  178. package/dist/pages/PostLoginPage/index.js.map +1 -1
  179. package/dist/pages/PostLogoutPage/index.js.map +1 -1
  180. package/dist/pages/RouterErrorPage/index.js +1 -1
  181. package/dist/pages/RouterErrorPage/index.js.map +1 -1
  182. package/dist/pages/UserInvitationsAdminPage/UserInvitationConsumeDialog.d.ts +2 -2
  183. package/dist/pages/UserInvitationsAdminPage/UserInvitationShareDialog.d.ts +2 -2
  184. package/dist/pages/UsersAdminPage/index.js +47 -47
  185. package/dist/pages/UsersAdminPage/index.js.map +1 -1
  186. package/dist/setup/setup.js +1 -1
  187. package/dist/setup/setup.js.map +1 -1
  188. package/dist/utils/MenuDataUtil/MenuDataUtil.d.ts +1 -1
  189. package/dist/utils/MenuDataUtil/index.js.map +1 -1
  190. package/dist/utils/StandardConfigUtil/index.js +4 -4
  191. package/dist/utils/StandardConfigUtil/index.js.map +1 -1
  192. package/dist/utils/TableUtil/TableUtil.d.ts +1 -1
  193. package/package.json +7 -7
  194. package/dist/_chunks/chunk-KS7C4IRE.js.map +0 -1
  195. package/dist/_chunks/isObjectLike.js +0 -43
  196. package/dist/_chunks/isObjectLike.js.map +0 -1
  197. package/dist/components/ui/BackdropSpinner/BackdropSpinner.d.ts +0 -5
  198. package/dist/components/ui/BackdropSpinner/index.d.ts +0 -1
  199. package/dist/components/ui/BackdropSpinner/index.js +0 -19
  200. package/dist/components/ui/BackdropSpinner/index.js.map +0 -1
  201. package/dist/components/ui/Confirmation/Confirmation.d.ts +0 -2
  202. package/dist/components/ui/Confirmation/ConfirmationRender.d.ts +0 -11
  203. package/dist/components/ui/Confirmation/index.d.ts +0 -2
  204. package/dist/components/ui/Confirmation/index.js +0 -58
  205. package/dist/components/ui/Confirmation/index.js.map +0 -1
  206. package/dist/components/ui/CopyToClipboardButton/CopyToClipboardButton.d.ts +0 -13
  207. package/dist/components/ui/CopyToClipboardButton/index.d.ts +0 -1
  208. package/dist/components/ui/CopyToClipboardButton/index.js +0 -101
  209. package/dist/components/ui/CopyToClipboardButton/index.js.map +0 -1
  210. package/dist/components/ui/Dialog/Dialog.d.ts +0 -27
  211. package/dist/components/ui/Dialog/index.d.ts +0 -1
  212. package/dist/components/ui/Dialog/index.js +0 -83
  213. package/dist/components/ui/Dialog/index.js.map +0 -1
  214. package/dist/components/ui/LinearProgressWithLabel/LinearProgressWithLabel.d.ts +0 -5
  215. package/dist/components/ui/LinearProgressWithLabel/index.d.ts +0 -1
  216. package/dist/components/ui/LinearProgressWithLabel/index.js +0 -31
  217. package/dist/components/ui/LinearProgressWithLabel/index.js.map +0 -1
  218. package/dist/components/ui/LoadingIndicator/LoadingIndicator.d.ts +0 -2
  219. package/dist/components/ui/LoadingIndicator/index.d.ts +0 -1
  220. package/dist/components/ui/LoadingIndicator/index.js +0 -12
  221. package/dist/components/ui/LoadingIndicator/index.js.map +0 -1
  222. package/dist/components/ui/NestedMenu/IconMenuItem.d.ts +0 -18
  223. package/dist/components/ui/NestedMenu/NestedDropdown.d.ts +0 -17
  224. package/dist/components/ui/NestedMenu/NestedMenuItem.d.ts +0 -22
  225. package/dist/components/ui/NestedMenu/index.d.ts +0 -4
  226. package/dist/components/ui/NestedMenu/index.js +0 -240
  227. package/dist/components/ui/NestedMenu/index.js.map +0 -1
  228. package/dist/components/ui/NestedMenu/nestedMenuItemsFromObject.d.ts +0 -11
  229. package/dist/components/ui/Spinner/Spinner.d.ts +0 -11
  230. package/dist/components/ui/Spinner/index.d.ts +0 -1
  231. package/dist/components/ui/Spinner/index.js +0 -63
  232. package/dist/components/ui/Spinner/index.js.map +0 -1
  233. package/dist/components/ui/Stepper/Stepper.d.ts +0 -17
  234. package/dist/components/ui/Stepper/index.d.ts +0 -2
  235. package/dist/components/ui/Stepper/index.js +0 -126
  236. package/dist/components/ui/Stepper/index.js.map +0 -1
  237. package/dist/components/ui/Stepper/stepperModel.d.ts +0 -4
  238. package/dist/hoc/withDialog/index.d.ts +0 -1
  239. package/dist/hoc/withDialog/index.js +0 -69
  240. package/dist/hoc/withDialog/index.js.map +0 -1
  241. package/dist/hoc/withDialog/withDialog.d.ts +0 -33
  242. package/dist/models/nestedMenu.d.ts +0 -17
  243. package/dist/models/nestedMenu.js +0 -0
@@ -3,56 +3,56 @@ import { ConfigService as t } from "../../../classes/services/ConfigService/inde
3
3
  import { t as n } from "../../../_chunks/react.js";
4
4
  import { outagesStore as r } from "../../../stores/outagesStore/index.js";
5
5
  import { AuthorizationService as i } from "../../../classes/services/AuthorizationService/index.js";
6
- import { t as a } from "../../../_chunks/chunk-KS7C4IRE.js";
6
+ import { t as a } from "../../../_chunks/chunk-BV7QT456.js";
7
7
  import { RouterService as o } from "../../../classes/services/RouterService/index.js";
8
8
  import { ApiService as s } from "../../../classes/services/ApiService/index.js";
9
9
  import { LogService as c } from "../../../classes/services/LogService/index.js";
10
- import { t as l } from "../../../_chunks/QueryClientService.js";
11
- import { t as u } from "../../../_chunks/useQueryMemo.js";
10
+ import { t as l } from "../../../_chunks/useQueryMemo.js";
11
+ import { t as u } from "../../../_chunks/QueryClientService.js";
12
12
  import { NotificationService as d } from "../../../classes/services/NotificationService/index.js";
13
13
  import { COMMON_QUERY_KEY as f } from "../../../constants/query.js";
14
14
  import { useOrganizationMapQuery as p } from "../../../dataHooks/useOrganizationsQuery/index.js";
15
- import { Confirmation as ee } from "../Confirmation/index.js";
16
- import { n as te } from "../../../_chunks/react-oidc-context.js";
17
- import { n as m } from "../../../_chunks/Notifications.js";
18
- import { FeatureFlagsService as h } from "../../../classes/services/FeatureFlagsService/index.js";
19
- import { withPermissions as g } from "../../../hoc/withPermissions/index.js";
20
- import { UserSettingsService as _ } from "../../../classes/services/UserSettingsService/index.js";
21
- import { UserFeedbackDialog as ne } from "../UserFeedbackDialog/index.js";
22
- import { OutagesDialog as v } from "../OutagesDialog/index.js";
23
- import { OrganizationSwitcherDialog as y } from "../OrganizationSwitcherDialog/index.js";
24
- import { MyPermissionsDialog as b } from "../MyPermissionsDialog/index.js";
25
- import { LicensesDialog as re } from "../LicensesDialog/index.js";
26
- import { BackendVersionService as x } from "../../../classes/services/BackendVersionService/index.js";
27
- import { StringUtil as S } from "@gen-epix/ui-core/utils/StringUtil";
28
- import { CommonDbCommandName as C, CommonDbLogLevel as w, CommonDbPermissionType as T } from "@gen-epix/api-commondb";
29
- import { AppBar as E, Badge as D, Box as O, CircularProgress as k, Container as A, IconButton as j, Link as M, List as N, ListItem as P, ListItemButton as F, ListItemIcon as I, ListItemText as L, Popover as R, Toolbar as ie, Tooltip as ae, Typography as z, styled as B, useTheme as V } from "@mui/material";
15
+ import { n as m } from "../../../_chunks/react-oidc-context.js";
16
+ import { n as h } from "../../../_chunks/Notifications.js";
17
+ import { FeatureFlagsService as g } from "../../../classes/services/FeatureFlagsService/index.js";
18
+ import { withPermissions as _ } from "../../../hoc/withPermissions/index.js";
19
+ import { UserSettingsService as v } from "../../../classes/services/UserSettingsService/index.js";
20
+ import { UserFeedbackDialog as y } from "../UserFeedbackDialog/index.js";
21
+ import { OutagesDialog as b } from "../OutagesDialog/index.js";
22
+ import { OrganizationSwitcherDialog as x } from "../OrganizationSwitcherDialog/index.js";
23
+ import { MyPermissionsDialog as S } from "../MyPermissionsDialog/index.js";
24
+ import { LicensesDialog as C } from "../LicensesDialog/index.js";
25
+ import { BackendVersionService as w } from "../../../classes/services/BackendVersionService/index.js";
26
+ import { StringUtil as T } from "@gen-epix/ui-core/utils/StringUtil";
27
+ import { CommonDbCommandName as E, CommonDbLogLevel as ee, CommonDbPermissionType as D } from "@gen-epix/api-commondb";
28
+ import { AppBar as te, Badge as O, Box as k, CircularProgress as A, Container as j, IconButton as M, Link as N, List as P, ListItem as F, ListItemButton as I, ListItemIcon as L, ListItemText as R, Popover as z, Toolbar as ne, Tooltip as re, Typography as ie, styled as B, useTheme as V } from "@mui/material";
30
29
  import { useCallback as H, useEffect as U, useId as W, useMemo as G, useRef as K, useState as q } from "react";
31
30
  import { Fragment as J, jsx as Y, jsxs as X } from "react/jsx-runtime";
32
31
  import { useTranslation as Z } from "react-i18next";
33
32
  import { TestIdUtil as Q } from "@gen-epix/ui-core/utils/TestIdUtil";
34
- import oe from "@mui/icons-material/ContentCopy";
35
- import { useSubscribable as se } from "@gen-epix/ui-core/hooks/useSubscribable";
36
- import ce from "@mui/icons-material/Menu";
37
- import le from "@mui/icons-material/MoreVert";
38
- import ue from "@mui/icons-material/Done";
39
- import de from "@mui/icons-material/Notifications";
40
- import fe from "@mui/icons-material/Chat";
41
- import pe from "@mui/icons-material/Code";
42
- import me from "@mui/icons-material/Copyright";
43
- import he from "@mui/icons-material/Construction";
44
- import ge from "@mui/icons-material/AccountCircle";
45
- import _e from "@mui/icons-material/Logout";
46
- import ve from "@mui/icons-material/Key";
47
- import ye from "@mui/icons-material/ChangeCircle";
33
+ import $ from "@mui/icons-material/ContentCopy";
34
+ import { useSubscribable as ae } from "@gen-epix/ui-core/hooks/useSubscribable";
35
+ import oe from "@mui/icons-material/Menu";
36
+ import se from "@mui/icons-material/MoreVert";
37
+ import { Confirmation as ce } from "@gen-epix/ui-core-components/components/Confirmation";
38
+ import le from "@mui/icons-material/Notifications";
39
+ import ue from "@mui/icons-material/Chat";
40
+ import de from "@mui/icons-material/Code";
41
+ import fe from "@mui/icons-material/Copyright";
42
+ import pe from "@mui/icons-material/Done";
43
+ import me from "@mui/icons-material/Construction";
44
+ import he from "@mui/icons-material/AccountCircle";
45
+ import ge from "@mui/icons-material/Logout";
46
+ import _e from "@mui/icons-material/Key";
47
+ import ve from "@mui/icons-material/ChangeCircle";
48
48
  //#region src/components/ui/ApplicationBar/ApplicationBarNavigationMenu.tsx
49
- var be = B(a)(({ theme: e }) => ({
49
+ var ye = B(a)(({ theme: e }) => ({
50
50
  "&:hover": { textDecoration: "underline" },
51
51
  color: e.palette.secondary.contrastText,
52
52
  display: "inline-block",
53
53
  fontSize: "1.3rem",
54
54
  textDecoration: "none"
55
- })), xe = ({ fullWidth: e }) => {
55
+ })), be = ({ fullWidth: e }) => {
56
56
  let { t } = Z(), n = V(), r = G(() => i.getInstance(), []), a = W(), s = G(() => {
57
57
  let e = o.getInstance().routes.find((e) => e.handle.root);
58
58
  return [e, ...e.children.filter((e) => !e.handle.hidden)];
@@ -70,9 +70,9 @@ var be = B(a)(({ theme: e }) => ({
70
70
  let u = H(() => {
71
71
  l((e) => !e);
72
72
  }, []);
73
- return /* @__PURE__ */ X(O, {
73
+ return /* @__PURE__ */ X(k, {
74
74
  sx: { flexGrow: 1 },
75
- children: [/* @__PURE__ */ Y(j, {
75
+ children: [/* @__PURE__ */ Y(M, {
76
76
  "aria-controls": a,
77
77
  "aria-label": t`Toggle navigation menu`,
78
78
  onClick: u,
@@ -80,8 +80,8 @@ var be = B(a)(({ theme: e }) => ({
80
80
  color: n["gen-epix-ui"].navbar.primaryColor,
81
81
  [n.breakpoints.up("md")]: { display: "none" }
82
82
  },
83
- children: /* @__PURE__ */ Y(ce, {})
84
- }), /* @__PURE__ */ Y(O, {
83
+ children: /* @__PURE__ */ Y(oe, {})
84
+ }), /* @__PURE__ */ Y(k, {
85
85
  component: "nav",
86
86
  id: a,
87
87
  sx: {
@@ -96,7 +96,7 @@ var be = B(a)(({ theme: e }) => ({
96
96
  width: "100%"
97
97
  }
98
98
  },
99
- children: /* @__PURE__ */ Y(O, {
99
+ children: /* @__PURE__ */ Y(k, {
100
100
  component: "ul",
101
101
  sx: {
102
102
  display: "flex",
@@ -108,7 +108,7 @@ var be = B(a)(({ theme: e }) => ({
108
108
  margin: 0
109
109
  }
110
110
  },
111
- children: s.filter((e) => !e.handle.disabled && r.doesUserHavePermissionForRoute(e)).map((e) => /* @__PURE__ */ Y(O, {
111
+ children: s.filter((e) => !e.handle.disabled && r.doesUserHavePermissionForRoute(e)).map((e) => /* @__PURE__ */ Y(k, {
112
112
  component: "li",
113
113
  sx: {
114
114
  "&:has(.active)": {
@@ -125,7 +125,7 @@ var be = B(a)(({ theme: e }) => ({
125
125
  listStyle: "none",
126
126
  padding: `0 ${n.spacing(1)}`
127
127
  },
128
- children: /* @__PURE__ */ X(be, {
128
+ children: /* @__PURE__ */ X(ye, {
129
129
  "aria-label": e.handle.title,
130
130
  sx: { padding: `0 ${n.spacing(1)}` },
131
131
  to: e.path,
@@ -135,11 +135,11 @@ var be = B(a)(({ theme: e }) => ({
135
135
  })
136
136
  })]
137
137
  });
138
- }, Se = (/* @__PURE__ */ new Date()).getTime(), Ce = () => {
138
+ }, xe = (/* @__PURE__ */ new Date()).getTime(), Se = () => {
139
139
  let { t: e } = Z(), n = V(), r = K(null), [i, a] = q(!1);
140
140
  U(() => {
141
- if (!_.getInstance().showShowUserFeedbackTooltip) return;
142
- let e = Math.max(0, t.getInstance().config.userFeedback.SHOW_USER_FEEDBACK_TOOLTIP_AFTER_MS - ((/* @__PURE__ */ new Date()).getTime() - Se)), n = setTimeout(() => {
141
+ if (!v.getInstance().showShowUserFeedbackTooltip) return;
142
+ let e = Math.max(0, t.getInstance().config.userFeedback.SHOW_USER_FEEDBACK_TOOLTIP_AFTER_MS - ((/* @__PURE__ */ new Date()).getTime() - xe)), n = setTimeout(() => {
143
143
  a(!0);
144
144
  }, e);
145
145
  return () => {
@@ -148,13 +148,13 @@ var be = B(a)(({ theme: e }) => ({
148
148
  }, []);
149
149
  let o = H(() => {
150
150
  r.current.open();
151
+ }, []), s = H(() => {
152
+ a(!1), v.getInstance().showShowUserFeedbackTooltip = !1;
151
153
  }, []);
152
- return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(ae, {
154
+ return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(re, {
153
155
  arrow: !0,
154
156
  color: "secondary",
155
- onMouseEnter: H(() => {
156
- a(!1), _.getInstance().showShowUserFeedbackTooltip = !1;
157
- }, []),
157
+ onMouseEnter: s,
158
158
  open: i,
159
159
  placement: "left",
160
160
  slotProps: {
@@ -166,11 +166,11 @@ var be = B(a)(({ theme: e }) => ({
166
166
  } }
167
167
  },
168
168
  title: e`Would you like to share your feedback?`,
169
- children: /* @__PURE__ */ X(j, {
169
+ children: /* @__PURE__ */ X(M, {
170
170
  "aria-label": e`Feedback`,
171
171
  color: "inherit",
172
172
  onClick: o,
173
- children: [/* @__PURE__ */ Y(fe, { color: "inherit" }), /* @__PURE__ */ Y(O, {
173
+ children: [/* @__PURE__ */ Y(ue, { color: "inherit" }), /* @__PURE__ */ Y(k, {
174
174
  sx: {
175
175
  fontSize: "1.3rem",
176
176
  marginLeft: n.spacing(1),
@@ -182,15 +182,15 @@ var be = B(a)(({ theme: e }) => ({
182
182
  children: e`Feedback`
183
183
  })]
184
184
  })
185
- }), /* @__PURE__ */ Y(ne, { ref: r })] });
186
- }, $ = ({ anchorElement: e, onClose: n }) => {
187
- let r = G(() => S.createUuid(), []), i = K(null), a = !!e, { t: o } = Z(), [s, c] = q(!1), l = H(() => {
185
+ }), /* @__PURE__ */ Y(y, { ref: r })] });
186
+ }, Ce = ({ anchorElement: e, onClose: n }) => {
187
+ let r = G(() => T.createUuid(), []), i = K(null), a = !!e, { t: o } = Z(), [s, c] = q(!1), l = H(() => {
188
188
  i.current.open();
189
189
  }, []), u = H(async () => {
190
- let e = `Frontend version: ${t.getInstance().config.getSoftwareVersion()}\nBackend version: ${x.getInstance().version}\nURL: ${window.location.href}\nDate/time: ${(/* @__PURE__ */ new Date()).toISOString()}`;
190
+ let e = `Frontend version: ${t.getInstance().config.getSoftwareVersion()}\nBackend version: ${w.getInstance().version}\nURL: ${window.location.href}\nDate/time: ${(/* @__PURE__ */ new Date()).toISOString()}`;
191
191
  await navigator.clipboard.writeText(e), c(!0), setTimeout(() => c(!1), 2e3);
192
192
  }, []);
193
- return /* @__PURE__ */ Y(R, {
193
+ return /* @__PURE__ */ Y(z, {
194
194
  ...Q.createAttributes("InfoMenu"),
195
195
  anchorEl: e,
196
196
  anchorOrigin: {
@@ -204,16 +204,16 @@ var be = B(a)(({ theme: e }) => ({
204
204
  horizontal: "right",
205
205
  vertical: "top"
206
206
  },
207
- children: /* @__PURE__ */ X(N, {
207
+ children: /* @__PURE__ */ X(P, {
208
208
  sx: {
209
209
  maxWidth: 300,
210
210
  minWidth: 200,
211
211
  width: "100%"
212
212
  },
213
213
  children: [
214
- /* @__PURE__ */ Y(P, {
214
+ /* @__PURE__ */ Y(F, {
215
215
  divider: !0,
216
- children: /* @__PURE__ */ Y(L, {
216
+ children: /* @__PURE__ */ Y(R, {
217
217
  primary: o("Frontend version"),
218
218
  secondary: t.getInstance().config.getSoftwareVersion(),
219
219
  slotProps: { primary: { sx: {
@@ -222,22 +222,22 @@ var be = B(a)(({ theme: e }) => ({
222
222
  } } }
223
223
  })
224
224
  }),
225
- /* @__PURE__ */ Y(P, {
225
+ /* @__PURE__ */ Y(F, {
226
226
  divider: !0,
227
- children: /* @__PURE__ */ Y(L, {
227
+ children: /* @__PURE__ */ Y(R, {
228
228
  primary: o("Backend version"),
229
- secondary: x.getInstance().version,
229
+ secondary: w.getInstance().version,
230
230
  slotProps: { primary: { sx: {
231
231
  color: "primary.main",
232
232
  fontWeight: "bold"
233
233
  } } }
234
234
  })
235
235
  }),
236
- /* @__PURE__ */ Y(P, {
236
+ /* @__PURE__ */ Y(F, {
237
237
  divider: !0,
238
- children: /* @__PURE__ */ X(F, {
238
+ children: /* @__PURE__ */ X(I, {
239
239
  onClick: u,
240
- children: [/* @__PURE__ */ Y(I, { children: s ? /* @__PURE__ */ Y(ue, { color: "success" }) : /* @__PURE__ */ Y(oe, { color: "secondary" }) }), /* @__PURE__ */ Y(L, {
240
+ children: [/* @__PURE__ */ Y(L, { children: s ? /* @__PURE__ */ Y(pe, { color: "success" }) : /* @__PURE__ */ Y($, { color: "secondary" }) }), /* @__PURE__ */ Y(R, {
241
241
  primary: o`Copy version information to clipboard`,
242
242
  slotProps: { primary: { sx: {
243
243
  color: "secondary.main",
@@ -246,16 +246,16 @@ var be = B(a)(({ theme: e }) => ({
246
246
  })]
247
247
  })
248
248
  }),
249
- /* @__PURE__ */ X(P, { children: [/* @__PURE__ */ X(F, {
249
+ /* @__PURE__ */ X(F, { children: [/* @__PURE__ */ X(I, {
250
250
  onClick: l,
251
- children: [/* @__PURE__ */ Y(I, { children: /* @__PURE__ */ Y(me, { color: "secondary" }) }), /* @__PURE__ */ Y(L, {
251
+ children: [/* @__PURE__ */ Y(L, { children: /* @__PURE__ */ Y(fe, { color: "secondary" }) }), /* @__PURE__ */ Y(R, {
252
252
  primary: o`Show license information`,
253
253
  slotProps: { primary: { sx: {
254
254
  color: "secondary.main",
255
255
  fontWeight: "bold"
256
256
  } } }
257
257
  })]
258
- }), /* @__PURE__ */ Y(re, { ref: i })] })
258
+ }), /* @__PURE__ */ Y(C, { ref: i })] })
259
259
  ]
260
260
  })
261
261
  });
@@ -265,11 +265,11 @@ var be = B(a)(({ theme: e }) => ({
265
265
  }, []), a = H(() => {
266
266
  t(null);
267
267
  }, []);
268
- return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(j, {
268
+ return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(M, {
269
269
  color: "inherit",
270
270
  onClick: i,
271
271
  title: "Code information",
272
- children: [/* @__PURE__ */ Y(pe, { color: "inherit" }), /* @__PURE__ */ Y(O, {
272
+ children: [/* @__PURE__ */ Y(de, { color: "inherit" }), /* @__PURE__ */ Y(k, {
273
273
  sx: {
274
274
  fontSize: "1.3rem",
275
275
  marginLeft: r.spacing(1),
@@ -280,23 +280,23 @@ var be = B(a)(({ theme: e }) => ({
280
280
  },
281
281
  children: n`Code information`
282
282
  })]
283
- }), e && /* @__PURE__ */ Y($, {
283
+ }), e && /* @__PURE__ */ Y(Ce, {
284
284
  anchorElement: e,
285
285
  onClose: a
286
286
  })] });
287
287
  }, Te = () => {
288
- let { t: e } = Z(), t = V(), n = se(d.getInstance()), r = G(() => n.some((e) => e.isLoading), [n]), [i, a] = q(!1), o = H(() => {
288
+ let { t: e } = Z(), t = V(), n = ae(d.getInstance()), r = G(() => n.some((e) => e.isLoading), [n]), [i, a] = q(!1), o = H(() => {
289
289
  d.getInstance().hideAllNotifications(), a(!0);
290
290
  }, []), s = H(() => {
291
291
  a(!1);
292
292
  }, []);
293
- return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(j, {
293
+ return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(M, {
294
294
  "aria-label": e`Notifications`,
295
295
  color: "inherit",
296
296
  onClick: o,
297
297
  title: e`Notifications`,
298
298
  children: [
299
- /* @__PURE__ */ Y(D, {
299
+ /* @__PURE__ */ Y(O, {
300
300
  badgeContent: n.length,
301
301
  color: "secondary",
302
302
  sx: { "& .MuiBadge-badge": {
@@ -305,14 +305,14 @@ var be = B(a)(({ theme: e }) => ({
305
305
  height: 15,
306
306
  minWidth: 15
307
307
  } },
308
- children: /* @__PURE__ */ Y(de, { color: "inherit" })
308
+ children: /* @__PURE__ */ Y(le, { color: "inherit" })
309
309
  }),
310
- r && /* @__PURE__ */ Y(k, {
310
+ r && /* @__PURE__ */ Y(A, {
311
311
  color: "inherit",
312
312
  size: t.spacing(3.5),
313
313
  sx: { position: "absolute" }
314
314
  }),
315
- /* @__PURE__ */ Y(O, {
315
+ /* @__PURE__ */ Y(k, {
316
316
  sx: {
317
317
  fontSize: "1.3rem",
318
318
  marginLeft: t.spacing(1),
@@ -324,7 +324,7 @@ var be = B(a)(({ theme: e }) => ({
324
324
  children: e`Notifications`
325
325
  })
326
326
  ]
327
- }), /* @__PURE__ */ Y(m, {
327
+ }), /* @__PURE__ */ Y(h, {
328
328
  onDrawerClose: s,
329
329
  open: i
330
330
  })] });
@@ -336,12 +336,12 @@ var be = B(a)(({ theme: e }) => ({
336
336
  ]), l = H(() => {
337
337
  i.current.open();
338
338
  }, []);
339
- return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(j, {
339
+ return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(M, {
340
340
  "aria-label": e`Outages`,
341
341
  color: "inherit",
342
342
  onClick: l,
343
343
  title: e`Outages`,
344
- children: [/* @__PURE__ */ Y(D, {
344
+ children: [/* @__PURE__ */ Y(O, {
345
345
  badgeContent: c,
346
346
  color: "secondary",
347
347
  sx: { "& .MuiBadge-badge": {
@@ -350,8 +350,8 @@ var be = B(a)(({ theme: e }) => ({
350
350
  height: 15,
351
351
  minWidth: 15
352
352
  } },
353
- children: /* @__PURE__ */ Y(he, { color: "inherit" })
354
- }), /* @__PURE__ */ Y(O, {
353
+ children: /* @__PURE__ */ Y(me, { color: "inherit" })
354
+ }), /* @__PURE__ */ Y(k, {
355
355
  sx: {
356
356
  fontSize: "1.3rem",
357
357
  marginLeft: t.spacing(1),
@@ -362,26 +362,26 @@ var be = B(a)(({ theme: e }) => ({
362
362
  },
363
363
  children: e`Outages`
364
364
  })]
365
- }), /* @__PURE__ */ Y(v, { ref: i })] });
366
- }, De = g(() => {
367
- let { t: e } = Z(), { data: t, error: n, isLoading: r } = u({
365
+ }), /* @__PURE__ */ Y(b, { ref: i })] });
366
+ }, De = _(() => {
367
+ let { t: e } = Z(), { data: t, error: n, isLoading: r } = l({
368
368
  gcTime: 0,
369
369
  queryFn: async ({ signal: e }) => (await s.getInstance().abacApi.retrieveOrganizationAdminNameEmails({ signal: e })).data,
370
- queryKey: l.getInstance().getGenericKey(f.ORGANIZATION_ADMIN_NAME_EMAILS),
370
+ queryKey: u.getInstance().getGenericKey(f.ORGANIZATION_ADMIN_NAME_EMAILS),
371
371
  staleTime: 0
372
372
  });
373
- return /* @__PURE__ */ Y(P, {
373
+ return /* @__PURE__ */ Y(F, {
374
374
  alignItems: "center",
375
375
  sx: {
376
376
  justifyContent: "center",
377
377
  paddingTop: 0
378
378
  },
379
- children: /* @__PURE__ */ Y(L, {
379
+ children: /* @__PURE__ */ Y(R, {
380
380
  primary: e`My organizations admins`,
381
381
  secondary: /* @__PURE__ */ X(J, { children: [
382
382
  r && e`Loading...`,
383
383
  n && e`Error`,
384
- t?.map((e) => /* @__PURE__ */ Y(M, {
384
+ t?.map((e) => /* @__PURE__ */ Y(N, {
385
385
  href: `mailto:${e.email}`,
386
386
  sx: { display: "table" },
387
387
  children: e.name ?? e.email
@@ -391,34 +391,34 @@ var be = B(a)(({ theme: e }) => ({
391
391
  })
392
392
  });
393
393
  }, { requiredPermissions: [{
394
- command_name: C.RetrieveOrganizationAdminNameEmailsCommand,
395
- permission_type: T.EXECUTE
396
- }] }), Oe = g(() => {
394
+ command_name: E.RetrieveOrganizationAdminNameEmailsCommand,
395
+ permission_type: D.EXECUTE
396
+ }] }), Oe = _(() => {
397
397
  let { t: e } = Z(), t = p(), n = G(() => t.isLoading ? e`Loading...` : t.error ? e`Error` : t.map.get(i.getInstance().user?.organization_id ?? "")?.name ?? e`Unknown`, [t, e]);
398
- return /* @__PURE__ */ Y(P, {
398
+ return /* @__PURE__ */ Y(F, {
399
399
  sx: { paddingBottom: 0 },
400
- children: /* @__PURE__ */ Y(L, {
400
+ children: /* @__PURE__ */ Y(R, {
401
401
  primary: e`My organization`,
402
402
  secondary: n ?? e`Unknown`,
403
403
  slotProps: { primary: { sx: { fontWeight: "bold" } } }
404
404
  })
405
405
  });
406
406
  }, { requiredPermissions: [{
407
- command_name: C.RetrieveOrganizationAdminNameEmailsCommand,
408
- permission_type: T.EXECUTE
407
+ command_name: E.RetrieveOrganizationAdminNameEmailsCommand,
408
+ permission_type: D.EXECUTE
409
409
  }] }), ke = ({ anchorElement: t, onClose: n }) => {
410
- let r = te(), a = K(null), o = G(() => S.createUuid(), []), s = !!t, { t: l } = Z(), u = K(null), d = H(() => {
410
+ let r = m(), a = K(null), o = G(() => T.createUuid(), []), s = !!t, { t: l } = Z(), u = K(null), d = H(() => {
411
411
  u.current.open();
412
412
  }, []), f = H(() => {
413
413
  a.current.open();
414
414
  }, []), p = H(() => {
415
415
  c.getInstance().log([{
416
416
  detail: r.user,
417
- level: w.TRACE,
417
+ level: ee.TRACE,
418
418
  topic: "USER_LOGOUT"
419
419
  }]), c.getInstance().flushLog(), r.signoutRedirect();
420
- }, [r]), m = G(() => e.getUserDisplayValue(i.getInstance().user, l), [l]), h = G(() => i.getInstance().user?.roles, []);
421
- return /* @__PURE__ */ Y(R, {
420
+ }, [r]), h = G(() => e.getUserDisplayValue(i.getInstance().user, l), [l]), g = G(() => i.getInstance().user?.roles, []);
421
+ return /* @__PURE__ */ Y(z, {
422
422
  ...Q.createAttributes("UserMenu"),
423
423
  anchorEl: t,
424
424
  anchorOrigin: {
@@ -432,28 +432,28 @@ var be = B(a)(({ theme: e }) => ({
432
432
  horizontal: "right",
433
433
  vertical: "top"
434
434
  },
435
- children: /* @__PURE__ */ X(N, {
435
+ children: /* @__PURE__ */ X(P, {
436
436
  sx: {
437
437
  maxWidth: 300,
438
438
  minWidth: 200,
439
439
  width: "100%"
440
440
  },
441
441
  children: [
442
- /* @__PURE__ */ Y(P, {
442
+ /* @__PURE__ */ Y(F, {
443
443
  divider: !0,
444
- children: /* @__PURE__ */ Y(L, {
445
- primary: m ?? l`Unknown`,
444
+ children: /* @__PURE__ */ Y(R, {
445
+ primary: h ?? l`Unknown`,
446
446
  slotProps: { primary: { sx: { fontWeight: "bold" } } }
447
447
  })
448
448
  }),
449
449
  /* @__PURE__ */ Y(Oe, {}),
450
450
  /* @__PURE__ */ Y(De, {}),
451
- /* @__PURE__ */ Y(P, {
451
+ /* @__PURE__ */ Y(F, {
452
452
  divider: !0,
453
453
  sx: { paddingTop: 0 },
454
- children: /* @__PURE__ */ Y(L, {
454
+ children: /* @__PURE__ */ Y(R, {
455
455
  primary: l`My roles`,
456
- secondary: /* @__PURE__ */ Y(J, { children: h?.map((e) => /* @__PURE__ */ Y(O, {
456
+ secondary: /* @__PURE__ */ Y(J, { children: g?.map((e) => /* @__PURE__ */ Y(k, {
457
457
  component: "span",
458
458
  sx: {
459
459
  display: "inline-block",
@@ -464,31 +464,31 @@ var be = B(a)(({ theme: e }) => ({
464
464
  slotProps: { primary: { sx: { fontWeight: "bold" } } }
465
465
  })
466
466
  }),
467
- /* @__PURE__ */ X(P, {
467
+ /* @__PURE__ */ X(F, {
468
468
  alignItems: "center",
469
469
  divider: !0,
470
470
  sx: { justifyContent: "center" },
471
- children: [/* @__PURE__ */ X(F, {
471
+ children: [/* @__PURE__ */ X(I, {
472
472
  onClick: d,
473
- children: [/* @__PURE__ */ Y(I, { children: /* @__PURE__ */ Y(ve, { color: "primary" }) }), /* @__PURE__ */ Y(L, {
473
+ children: [/* @__PURE__ */ Y(L, { children: /* @__PURE__ */ Y(_e, { color: "primary" }) }), /* @__PURE__ */ Y(R, {
474
474
  primary: l`My API permissions`,
475
475
  slotProps: { primary: { sx: { color: "primary.main" } } }
476
476
  })]
477
- }), /* @__PURE__ */ Y(b, { ref: u })]
477
+ }), /* @__PURE__ */ Y(S, { ref: u })]
478
478
  }),
479
- /* @__PURE__ */ X(P, {
479
+ /* @__PURE__ */ X(F, {
480
480
  alignItems: "center",
481
481
  sx: { justifyContent: "center" },
482
- children: [/* @__PURE__ */ X(F, {
482
+ children: [/* @__PURE__ */ X(I, {
483
483
  onClick: f,
484
- children: [/* @__PURE__ */ Y(I, { children: /* @__PURE__ */ Y(_e, { color: "secondary" }) }), /* @__PURE__ */ Y(L, {
484
+ children: [/* @__PURE__ */ Y(L, { children: /* @__PURE__ */ Y(ge, { color: "secondary" }) }), /* @__PURE__ */ Y(R, {
485
485
  primary: l`Logout`,
486
486
  slotProps: { primary: { sx: {
487
487
  color: "secondary.main",
488
488
  fontWeight: "bold"
489
489
  } } }
490
490
  })]
491
- }), /* @__PURE__ */ Y(ee, {
491
+ }), /* @__PURE__ */ Y(ce, {
492
492
  body: l`Click the logout button to logout`,
493
493
  cancelLabel: l`Cancel`,
494
494
  confirmLabel: l`Logout`,
@@ -506,11 +506,11 @@ var be = B(a)(({ theme: e }) => ({
506
506
  }, []), a = H(() => {
507
507
  r(null);
508
508
  }, []);
509
- return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(j, {
509
+ return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(M, {
510
510
  color: "inherit",
511
511
  onClick: i,
512
512
  title: "Account",
513
- children: [/* @__PURE__ */ Y(ge, { color: "inherit" }), /* @__PURE__ */ Y(O, {
513
+ children: [/* @__PURE__ */ Y(he, { color: "inherit" }), /* @__PURE__ */ Y(k, {
514
514
  sx: {
515
515
  fontSize: "1.3rem",
516
516
  marginLeft: t.spacing(1),
@@ -529,12 +529,12 @@ var be = B(a)(({ theme: e }) => ({
529
529
  let { t: e } = Z(), t = V(), n = K(null), r = H(() => {
530
530
  n.current.open();
531
531
  }, []);
532
- return h.getInstance().featureFlags.update_own_organization ? /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(j, {
532
+ return g.getInstance().featureFlags.update_own_organization ? /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(M, {
533
533
  "aria-label": e`Change organization`,
534
534
  color: "inherit",
535
535
  onClick: r,
536
536
  title: e`Change organization`,
537
- children: [/* @__PURE__ */ Y(ye, { color: "inherit" }), /* @__PURE__ */ Y(O, {
537
+ children: [/* @__PURE__ */ Y(ve, { color: "inherit" }), /* @__PURE__ */ Y(k, {
538
538
  sx: {
539
539
  fontSize: "1.3rem",
540
540
  marginLeft: t.spacing(1),
@@ -545,7 +545,7 @@ var be = B(a)(({ theme: e }) => ({
545
545
  },
546
546
  children: e`Change organization`
547
547
  })]
548
- }), /* @__PURE__ */ Y(y, { ref: n })] }) : null;
548
+ }), /* @__PURE__ */ Y(x, { ref: n })] }) : null;
549
549
  }, Me = ({ fullWidth: e }) => {
550
550
  let n = V(), { t: r } = Z(), i = t.getInstance().config.getEnvironmentMessage(), a = W(), [o, s] = q(!1), c = H(() => {
551
551
  s((e) => !e);
@@ -559,14 +559,14 @@ var be = B(a)(({ theme: e }) => ({
559
559
  document.removeEventListener("keydown", e);
560
560
  };
561
561
  }
562
- }, [o]), /* @__PURE__ */ X(O, {
562
+ }, [o]), /* @__PURE__ */ X(k, {
563
563
  ...Q.createAttributes("ApplicationBarActions"),
564
564
  sx: {
565
565
  alignItems: "center",
566
566
  display: "flex",
567
567
  paddingRight: 1
568
568
  },
569
- children: [/* @__PURE__ */ Y(j, {
569
+ children: [/* @__PURE__ */ Y(M, {
570
570
  "aria-controls": a,
571
571
  "aria-label": r`Toggle menu`,
572
572
  onClick: c,
@@ -574,8 +574,8 @@ var be = B(a)(({ theme: e }) => ({
574
574
  color: n["gen-epix-ui"].navbar.primaryColor,
575
575
  [n.breakpoints.up("md")]: { display: "none" }
576
576
  },
577
- children: /* @__PURE__ */ Y(le, {})
578
- }), /* @__PURE__ */ X(O, {
577
+ children: /* @__PURE__ */ Y(se, {})
578
+ }), /* @__PURE__ */ X(k, {
579
579
  id: a,
580
580
  sx: {
581
581
  display: "flex",
@@ -592,13 +592,13 @@ var be = B(a)(({ theme: e }) => ({
592
592
  }
593
593
  },
594
594
  children: [
595
- /* @__PURE__ */ Y(Ce, {}),
595
+ /* @__PURE__ */ Y(Se, {}),
596
596
  /* @__PURE__ */ Y(Ee, {}),
597
597
  /* @__PURE__ */ Y(Te, {}),
598
598
  /* @__PURE__ */ Y(we, {}),
599
599
  /* @__PURE__ */ Y(je, {}),
600
600
  /* @__PURE__ */ Y(Ae, {}),
601
- i && /* @__PURE__ */ Y(O, {
601
+ i && /* @__PURE__ */ Y(k, {
602
602
  ...Q.createAttributes("ApplicationBarActions-EnvironmentMessage"),
603
603
  "aria-hidden": "true",
604
604
  sx: {
@@ -621,7 +621,7 @@ var be = B(a)(({ theme: e }) => ({
621
621
  });
622
622
  }, Ne = ({ fullWidth: e, singleAction: n }) => {
623
623
  let r = V();
624
- return /* @__PURE__ */ Y(E, {
624
+ return /* @__PURE__ */ Y(te, {
625
625
  ...Q.createAttributes("ApplicationBar"),
626
626
  position: "static",
627
627
  square: !0,
@@ -629,19 +629,19 @@ var be = B(a)(({ theme: e }) => ({
629
629
  background: r["gen-epix-ui"].navbar.background,
630
630
  boxShadow: "none"
631
631
  },
632
- children: /* @__PURE__ */ Y(A, {
632
+ children: /* @__PURE__ */ Y(j, {
633
633
  disableGutters: !0,
634
- maxWidth: e ? !1 : "xl",
635
- children: /* @__PURE__ */ X(ie, {
634
+ maxWidth: !e && "xl",
635
+ children: /* @__PURE__ */ X(ne, {
636
636
  disableGutters: !0,
637
637
  sx: {
638
638
  height: 48,
639
639
  justifyContent: n ? "center" : "space-between",
640
640
  minHeight: "48px !important"
641
641
  },
642
- children: [n && /* @__PURE__ */ Y(O, {
642
+ children: [n && /* @__PURE__ */ Y(k, {
643
643
  sx: { marginX: 2 },
644
- children: /* @__PURE__ */ Y(z, {
644
+ children: /* @__PURE__ */ Y(ie, {
645
645
  component: "h1",
646
646
  sx: {
647
647
  color: r["gen-epix-ui"].navbar.primaryColor,
@@ -650,7 +650,7 @@ var be = B(a)(({ theme: e }) => ({
650
650
  variant: "body2",
651
651
  children: t.getInstance().config.applicationName
652
652
  })
653
- }), !n && /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(xe, { fullWidth: e }), /* @__PURE__ */ Y(Me, { fullWidth: e })] })]
653
+ }), !n && /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(be, { fullWidth: e }), /* @__PURE__ */ Y(Me, { fullWidth: e })] })]
654
654
  })
655
655
  })
656
656
  });