@gen-epix/ui-client-common 4.6.1 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/README.md +2 -2
  2. package/dist/_chunks/Breadcrumbs.js +4 -4
  3. package/dist/_chunks/CrudPage.js +166 -166
  4. package/dist/_chunks/CrudPage.js.map +1 -1
  5. package/dist/_chunks/Notifications.js +16 -16
  6. package/dist/_chunks/QueryClientProvider.js +1 -1
  7. package/dist/_chunks/QueryClientProvider.js.map +1 -1
  8. package/dist/_chunks/QueryClientService.js +73 -72
  9. package/dist/_chunks/QueryClientService.js.map +1 -1
  10. package/dist/_chunks/Table.js +853 -744
  11. package/dist/_chunks/Table.js.map +1 -1
  12. package/dist/_chunks/TableUtil.js +38 -38
  13. package/dist/_chunks/TableUtil.js.map +1 -1
  14. package/dist/_chunks/UserInvitationsAdminPage.js +131 -131
  15. package/dist/_chunks/UserInvitationsAdminPage.js.map +1 -1
  16. package/dist/_chunks/_baseFlatten.js +12 -12
  17. package/dist/_chunks/_baseFlatten.js.map +1 -1
  18. package/dist/_chunks/_baseIteratee.js +78 -78
  19. package/dist/_chunks/_baseIteratee.js.map +1 -1
  20. package/dist/_chunks/decorate.js +1 -1
  21. package/dist/_chunks/decorateParam.js +1 -1
  22. package/dist/_chunks/middleware.js +66 -70
  23. package/dist/_chunks/middleware.js.map +1 -1
  24. package/dist/_chunks/omit.js +98 -98
  25. package/dist/_chunks/omit.js.map +1 -1
  26. package/dist/_chunks/query.js +108 -92
  27. package/dist/_chunks/query.js.map +1 -1
  28. package/dist/_chunks/react.js +1 -1
  29. package/dist/_chunks/react.js.map +1 -1
  30. package/dist/_chunks/tableStore.js +61 -58
  31. package/dist/_chunks/tableStore.js.map +1 -1
  32. package/dist/_chunks/useColumnsMenu.js +73 -71
  33. package/dist/_chunks/useColumnsMenu.js.map +1 -1
  34. package/dist/_chunks/useMutation.js +2 -2
  35. package/dist/_chunks/useMutation.js.map +1 -1
  36. package/dist/_chunks/useQueryMemo.js +15 -16
  37. package/dist/_chunks/useQueryMemo.js.map +1 -1
  38. package/dist/_chunks/vanilla.js +1 -1
  39. package/dist/_chunks/vanilla.js.map +1 -1
  40. package/dist/_chunks/yup.js +2 -2
  41. package/dist/_chunks/yup.js.map +1 -1
  42. package/dist/classes/services/AuthenticationService/index.js +8 -8
  43. package/dist/classes/services/AuthenticationService/index.js.map +1 -1
  44. package/dist/classes/services/AuthorizationService/index.js +4 -4
  45. package/dist/classes/services/AuthorizationService/index.js.map +1 -1
  46. package/dist/classes/services/BreadcrumbService/index.js +4 -4
  47. package/dist/classes/services/BreadcrumbService/index.js.map +1 -1
  48. package/dist/classes/services/EmotionCacheService/index.js.map +1 -1
  49. package/dist/classes/services/InactivityService/index.js +30 -30
  50. package/dist/classes/services/InactivityService/index.js.map +1 -1
  51. package/dist/classes/services/LogService/index.js +15 -15
  52. package/dist/classes/services/LogService/index.js.map +1 -1
  53. package/dist/classes/services/PageEventBusService/index.js.map +1 -1
  54. package/dist/components/app/App/index.js +26 -24
  55. package/dist/components/app/App/index.js.map +1 -1
  56. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js +18 -18
  57. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js.map +1 -1
  58. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js +18 -18
  59. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js.map +1 -1
  60. package/dist/components/app/AuthenticationWrapper/index.js +15 -15
  61. package/dist/components/app/AuthorizationWrapper/index.js +16 -16
  62. package/dist/components/app/AuthorizationWrapper/index.js.map +1 -1
  63. package/dist/components/app/RouterRoot/index.js +33 -33
  64. package/dist/components/app/RouterRoot/index.js.map +1 -1
  65. package/dist/components/epi/EpiContactDetailsDialog/index.js +4 -4
  66. package/dist/components/epi/EpiContactDetailsDialog/index.js.map +1 -1
  67. package/dist/components/ui/ApplicationBar/index.js +234 -234
  68. package/dist/components/ui/ApplicationBar/index.js.map +1 -1
  69. package/dist/components/ui/GenericErrorMessage/index.js +13 -13
  70. package/dist/components/ui/LicensesDialog/index.js +6 -6
  71. package/dist/components/ui/OrganizationSwitcherDialog/index.js +11 -11
  72. package/dist/components/ui/OutagesDialog/index.js +4 -4
  73. package/dist/components/ui/OutagesDialog/index.js.map +1 -1
  74. package/dist/components/ui/PageContainer/index.js +5 -5
  75. package/dist/components/ui/PageContainer/index.js.map +1 -1
  76. package/dist/components/ui/ResponseHandler/index.js +4 -4
  77. package/dist/components/ui/SortableList/SortableList.d.ts +5 -3
  78. package/dist/components/ui/Table/Table.d.ts +5 -2
  79. package/dist/components/ui/Table/TableColumnsEditorDialog.d.ts +13 -2
  80. package/dist/components/ui/Table/index.d.ts +1 -0
  81. package/dist/components/ui/Table/index.js +1 -1
  82. package/dist/components/ui/UserFeedbackDialog/index.js +15 -15
  83. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js +12 -12
  84. package/dist/dataHooks/useIdentifierIssuerQuery/index.js +11 -11
  85. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js +5 -5
  86. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js.map +1 -1
  87. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js +15 -15
  88. package/dist/dataHooks/useOrganizationsQuery/index.js +7 -7
  89. package/dist/dataHooks/useUsersQuery/index.js +10 -10
  90. package/dist/hooks/useCreateMutation/index.js +14 -14
  91. package/dist/hooks/useCreateMutation/index.js.map +1 -1
  92. package/dist/hooks/useDeleteMutation/index.js +17 -17
  93. package/dist/hooks/useDeleteMutation/index.js.map +1 -1
  94. package/dist/hooks/useEditMutation/index.js +22 -22
  95. package/dist/hooks/useEditMutation/index.js.map +1 -1
  96. package/dist/hooks/useInitializeTableStore/index.js +6 -6
  97. package/dist/hooks/useInitializeTableStore/index.js.map +1 -1
  98. package/dist/locale/en.json +13 -5
  99. package/dist/locale/nl.json +13 -5
  100. package/dist/pages/AcceptInvitationPage/index.js +10 -10
  101. package/dist/pages/AdminPage/index.js +19 -19
  102. package/dist/pages/ChooseIdentityProviderPage/index.js +5 -5
  103. package/dist/pages/ErrorPage/index.js +4 -4
  104. package/dist/pages/IdentifierIssuersAdminPage/index.js +7 -7
  105. package/dist/pages/IdentifierIssuersAdminPage/index.js.map +1 -1
  106. package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js +16 -16
  107. package/dist/pages/OrganizationContactsAdminPage/index.js +10 -10
  108. package/dist/pages/OrganizationContactsAdminPage/index.js.map +1 -1
  109. package/dist/pages/OrganizationSitesAdminPage/index.js +12 -12
  110. package/dist/pages/OrganizationSitesAdminPage/index.js.map +1 -1
  111. package/dist/pages/OrganizationsAdminPage/index.js +20 -20
  112. package/dist/pages/OrganizationsAdminPage/index.js.map +1 -1
  113. package/dist/pages/OutagesAdminPage/index.js +11 -11
  114. package/dist/pages/OutagesAdminPage/index.js.map +1 -1
  115. package/dist/pages/RouterErrorPage/index.js +4 -4
  116. package/dist/pages/UsersAdminPage/index.js +34 -34
  117. package/dist/pages/UsersAdminPage/index.js.map +1 -1
  118. package/dist/setup/setup.js +4 -4
  119. package/dist/setup/setup.js.map +1 -1
  120. package/dist/stores/oidcStore/oidcStore.d.ts +1 -1
  121. package/dist/utils/StandardConfigUtil/index.js +2 -2
  122. package/dist/utils/StandardConfigUtil/index.js.map +1 -1
  123. package/package.json +33 -33
@@ -1,67 +1,67 @@
1
- import { UserUtil as e } from "../../../utils/UserUtil/index.js";
2
- import { t } from "../../../_chunks/react.js";
3
- import { outagesStore as n } from "../../../stores/outagesStore/index.js";
4
- import { API_ABAC_TOKEN as r } from "../../../constants/api.constants.js";
5
- import { AuthorizationService as i } from "../../../classes/services/AuthorizationService/index.js";
6
- import { RouterService as a } from "../../../classes/services/RouterService/index.js";
7
- import { useConfig as o } from "../../../hooks/useConfig/index.js";
8
- import { LogService as s } from "../../../classes/services/LogService/index.js";
9
- import { t as c } from "../../../_chunks/useQueryMemo.js";
10
- import { t as l } from "../../../_chunks/QueryClientService.js";
11
- import { NotificationService as u } from "../../../classes/services/NotificationService/index.js";
12
- import { COMMON_QUERY_KEY as d } from "../../../constants/query.constants.js";
13
- import { useOrganizationMapQuery as f } from "../../../dataHooks/useOrganizationsQuery/index.js";
14
- import { n as p } from "../../../_chunks/Notifications.js";
15
- import { withPermissions as m } from "../../../hoc/withPermissions/index.js";
16
- import { UserSettingsService as h } from "../../../classes/services/UserSettingsService/index.js";
17
- import { UserFeedbackDialog as g } from "../UserFeedbackDialog/index.js";
18
- import { OutagesDialog as ee } from "../OutagesDialog/index.js";
19
- import { OrganizationSwitcherDialog as _ } from "../OrganizationSwitcherDialog/index.js";
20
- import { MyPermissionsDialog as v } from "../MyPermissionsDialog/index.js";
21
- import { LicensesDialog as y } from "../LicensesDialog/index.js";
22
- import { BackendVersionService as b } from "../../../classes/services/BackendVersionService/index.js";
23
- import { FeatureFlagsService as x } from "../../../classes/services/FeatureFlagsService/index.js";
24
- import { container as S } from "tsyringe";
25
- import { StringUtil as C } from "@gen-epix/ui-core/utils/StringUtil";
26
- import { CommonDbCommandName as w, CommonDbLogLevel as T, CommonDbPermissionType as E } from "@gen-epix/api-commondb";
27
- import { AppBar as D, Badge as O, Box as k, CircularProgress as A, Container as te, IconButton as j, Link as ne, List as M, ListItem as N, ListItemButton as P, ListItemIcon as F, ListItemText as I, Popover as L, Toolbar as R, Tooltip as z, Typography as re, styled as B, useTheme as V } from "@mui/material";
1
+ import { useConfig as e } from "../../../hooks/useConfig/index.js";
2
+ import { AuthorizationService as t } from "../../../classes/services/AuthorizationService/index.js";
3
+ import { RouterService as n } from "../../../classes/services/RouterService/index.js";
4
+ import { UserSettingsService as r } from "../../../classes/services/UserSettingsService/index.js";
5
+ import { UserFeedbackDialog as i } from "../UserFeedbackDialog/index.js";
6
+ import { LicensesDialog as a } from "../LicensesDialog/index.js";
7
+ import { BackendVersionService as o } from "../../../classes/services/BackendVersionService/index.js";
8
+ import { n as s } from "../../../_chunks/Notifications.js";
9
+ import { NotificationService as c } from "../../../classes/services/NotificationService/index.js";
10
+ import { t as l } from "../../../_chunks/react.js";
11
+ import { OutagesDialog as u } from "../OutagesDialog/index.js";
12
+ import { outagesStore as d } from "../../../stores/outagesStore/index.js";
13
+ import { LogService as f } from "../../../classes/services/LogService/index.js";
14
+ import { MyPermissionsDialog as p } from "../MyPermissionsDialog/index.js";
15
+ import { UserUtil as m } from "../../../utils/UserUtil/index.js";
16
+ import { API_ABAC_TOKEN as h } from "../../../constants/api.constants.js";
17
+ import { withPermissions as g } from "../../../hoc/withPermissions/index.js";
18
+ import { t as _ } from "../../../_chunks/useQueryMemo.js";
19
+ import { t as v } from "../../../_chunks/QueryClientService.js";
20
+ import { COMMON_QUERY_KEY as y } from "../../../constants/query.constants.js";
21
+ import { useOrganizationMapQuery as b } from "../../../dataHooks/useOrganizationsQuery/index.js";
22
+ import { OrganizationSwitcherDialog as x } from "../OrganizationSwitcherDialog/index.js";
23
+ import { FeatureFlagsService as S } from "../../../classes/services/FeatureFlagsService/index.js";
24
+ import { container as C } from "tsyringe";
25
+ import { StringUtil as w } from "@gen-epix/ui-core/utils/StringUtil";
26
+ import { CommonDbCommandName as T, CommonDbLogLevel as E, CommonDbPermissionType as D } from "@gen-epix/api-commondb";
27
+ import { AppBar as O, Badge as k, Box as A, CircularProgress as ee, Container as te, IconButton as j, Link as ne, List as M, ListItem as N, ListItemButton as P, ListItemIcon as F, ListItemText as I, Popover as L, Toolbar as R, Tooltip as re, Typography as z, styled as B, useTheme as V } from "@mui/material";
28
28
  import { useCallback as H, useEffect as U, useId as W, useMemo as G, useRef as K, useState as q } from "react";
29
29
  import { Fragment as J, jsx as Y, jsxs as X } from "react/jsx-runtime";
30
30
  import { useTranslation as Z } from "react-i18next";
31
31
  import { TestIdUtil as Q } from "@gen-epix/ui-core/utils/TestIdUtil";
32
32
  import ie from "@mui/icons-material/ContentCopy";
33
- import { NavLink as $ } from "react-router-dom";
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 { 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";
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 ce from "@mui/icons-material/MoreVert";
37
+ import { Confirmation as le } from "@gen-epix/ui-core-components/components/Confirmation";
38
+ import { useAuth as ue } from "react-oidc-context";
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/Done";
44
+ import ge from "@mui/icons-material/Construction";
45
+ import _e from "@mui/icons-material/AccountCircle";
46
+ import ve from "@mui/icons-material/Logout";
47
+ import ye from "@mui/icons-material/Key";
48
+ import be from "@mui/icons-material/ChangeCircle";
49
49
  // src/components/ui/ApplicationBar/ApplicationBarNavigationMenu.tsx
50
- var be = B($)(({ theme: e }) => ({
50
+ var xe = B(ae)(({ theme: e }) => ({
51
51
  "&:hover": { textDecoration: "underline" },
52
52
  color: e.palette.secondary.contrastText,
53
53
  display: "inline-block",
54
54
  fontSize: "1.3rem",
55
55
  textDecoration: "none"
56
- })), xe = ({ fullWidth: e }) => {
57
- let { t } = Z(), n = V(), r = G(() => ({
58
- activeBackground: n.palette.primary.contrastText,
59
- activeColor: n.palette.primary.main,
60
- background: n.palette.primary.main,
61
- primaryColor: n.palette.primary.contrastText,
62
- ...n.components?.GenEpixUiClientCommonApplicationBarNavigationMenu ?? {}
63
- }), [n]), o = G(() => S.resolve(i), []), s = W(), c = G(() => {
64
- let e = S.resolve(a).routes.find((e) => e.handle.root);
56
+ })), Se = ({ fullWidth: e }) => {
57
+ let { t: r } = Z(), i = V(), a = G(() => ({
58
+ activeBackground: i.palette.primary.contrastText,
59
+ activeColor: i.palette.primary.main,
60
+ background: i.palette.primary.main,
61
+ primaryColor: i.palette.primary.contrastText,
62
+ ...i.components?.GenEpixUiClientCommonApplicationBarNavigationMenu ?? {}
63
+ }), [i]), o = G(() => C.resolve(t), []), s = W(), c = G(() => {
64
+ let e = C.resolve(n).routes.find((e) => e.handle.root);
65
65
  return [e, ...e.children.filter((e) => !e.handle.hidden)];
66
66
  }, []), [l, u] = q(!1);
67
67
  U(() => {
@@ -79,24 +79,24 @@ var be = B($)(({ theme: e }) => ({
79
79
  }, []), f = H((e) => {
80
80
  e.currentTarget.ariaDisabled === "true" && e.preventDefault();
81
81
  }, []);
82
- return /* @__PURE__ */ X(k, {
82
+ return /* @__PURE__ */ X(A, {
83
83
  sx: { flexGrow: 1 },
84
84
  children: [/* @__PURE__ */ Y(j, {
85
85
  "aria-controls": s,
86
- "aria-label": t`Toggle navigation menu`,
86
+ "aria-label": r`Toggle navigation menu`,
87
87
  onClick: d,
88
88
  sx: {
89
- color: r.primaryColor,
90
- [n.breakpoints.up("md")]: { display: "none" }
89
+ color: a.primaryColor,
90
+ [i.breakpoints.up("md")]: { display: "none" }
91
91
  },
92
- children: /* @__PURE__ */ Y(oe, {})
93
- }), /* @__PURE__ */ Y(k, {
92
+ children: /* @__PURE__ */ Y(se, {})
93
+ }), /* @__PURE__ */ Y(A, {
94
94
  component: "nav",
95
95
  id: s,
96
96
  sx: {
97
97
  flexGrow: 1,
98
- [n.breakpoints.down("md")]: {
99
- background: r.background,
98
+ [i.breakpoints.down("md")]: {
99
+ background: a.background,
100
100
  display: l ? "block" : "none",
101
101
  left: 0,
102
102
  paddingBottom: 4,
@@ -105,49 +105,49 @@ var be = B($)(({ theme: e }) => ({
105
105
  width: "100%"
106
106
  }
107
107
  },
108
- children: /* @__PURE__ */ Y(k, {
108
+ children: /* @__PURE__ */ Y(A, {
109
109
  component: "ul",
110
110
  sx: {
111
111
  display: "flex",
112
112
  margin: 0,
113
113
  marginLeft: e ? 0 : 2,
114
114
  padding: 0,
115
- [n.breakpoints.down("md")]: {
115
+ [i.breakpoints.down("md")]: {
116
116
  display: "block",
117
117
  margin: 0
118
118
  }
119
119
  },
120
120
  children: c.filter((e) => o.doesUserHavePermissionForRoute(e)).map((e) => {
121
121
  let t = !!e.handle.disabled;
122
- return /* @__PURE__ */ Y(k, {
122
+ return /* @__PURE__ */ Y(A, {
123
123
  component: "li",
124
124
  sx: {
125
125
  "&:has(.active:not([aria-disabled=\"true\"]))": {
126
- "& svg": { color: r.activeColor },
127
- a: { color: r.activeColor },
128
- background: r.activeBackground
126
+ "& svg": { color: a.activeColor },
127
+ a: { color: a.activeColor },
128
+ background: a.activeBackground
129
129
  },
130
130
  "& svg": {
131
- color: t ? n.palette.grey[400] : void 0,
131
+ color: t ? i.palette.grey[400] : void 0,
132
132
  marginTop: "6px"
133
133
  },
134
134
  alignItems: "center",
135
- color: t ? n.palette.grey[400] : r.primaryColor,
135
+ color: t ? i.palette.grey[400] : a.primaryColor,
136
136
  display: "flex",
137
137
  fontWeight: 800,
138
138
  height: 48,
139
139
  listStyle: "none",
140
- padding: `0 ${n.spacing(1)}`
140
+ padding: `0 ${i.spacing(1)}`
141
141
  },
142
- children: /* @__PURE__ */ X(be, {
142
+ children: /* @__PURE__ */ X(xe, {
143
143
  "aria-disabled": t || void 0,
144
144
  "aria-label": e.handle.title,
145
145
  onClick: f,
146
146
  sx: {
147
147
  "&:hover": { textDecoration: t ? "none" : void 0 },
148
- color: t ? n.palette.grey[400] : void 0,
148
+ color: t ? i.palette.grey[400] : void 0,
149
149
  cursor: t ? "not-allowed" : void 0,
150
- padding: `0 ${n.spacing(1)}`
150
+ padding: `0 ${i.spacing(1)}`
151
151
  },
152
152
  tabIndex: t ? -1 : void 0,
153
153
  to: e.path,
@@ -158,71 +158,71 @@ var be = B($)(({ theme: e }) => ({
158
158
  })
159
159
  })]
160
160
  });
161
- }, Se = (/* @__PURE__ */ new Date()).getTime(), Ce = () => {
162
- let { t: e } = Z(), t = V(), n = o(), r = K(null), [i, a] = q(!1);
161
+ }, Ce = (/* @__PURE__ */ new Date()).getTime(), we = () => {
162
+ let { t } = Z(), n = V(), a = e(), o = K(null), [s, c] = q(!1);
163
163
  U(() => {
164
- if (!S.resolve(h).showShowUserFeedbackTooltip) return;
165
- let e = Math.max(0, n.userFeedback.SHOW_USER_FEEDBACK_TOOLTIP_AFTER_MS - ((/* @__PURE__ */ new Date()).getTime() - Se)), t = setTimeout(() => {
166
- a(!0);
164
+ if (!C.resolve(r).showShowUserFeedbackTooltip) return;
165
+ let e = Math.max(0, a.userFeedback.SHOW_USER_FEEDBACK_TOOLTIP_AFTER_MS - ((/* @__PURE__ */ new Date()).getTime() - Ce)), t = setTimeout(() => {
166
+ c(!0);
167
167
  }, e);
168
168
  return () => {
169
169
  clearTimeout(t);
170
170
  };
171
- }, [n.userFeedback.SHOW_USER_FEEDBACK_TOOLTIP_AFTER_MS]);
172
- let s = H(() => {
173
- r.current.open();
174
- }, []), c = H(() => {
175
- a(!1), S.resolve(h).showShowUserFeedbackTooltip = !1;
171
+ }, [a.userFeedback.SHOW_USER_FEEDBACK_TOOLTIP_AFTER_MS]);
172
+ let l = H(() => {
173
+ o.current.open();
174
+ }, []), u = H(() => {
175
+ c(!1), C.resolve(r).showShowUserFeedbackTooltip = !1;
176
176
  }, []);
177
- return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(z, {
177
+ return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(re, {
178
178
  arrow: !0,
179
179
  color: "secondary",
180
- onMouseEnter: c,
181
- open: i,
180
+ onMouseEnter: u,
181
+ open: s,
182
182
  placement: "left",
183
183
  slotProps: {
184
- arrow: { sx: { color: t.palette.secondary.main } },
184
+ arrow: { sx: { color: n.palette.secondary.main } },
185
185
  popper: { disablePortal: !0 },
186
186
  tooltip: { sx: {
187
- backgroundColor: t.palette.secondary.main,
188
- marginRight: `${t.spacing(.5)} !important`
187
+ backgroundColor: n.palette.secondary.main,
188
+ marginRight: `${n.spacing(.5)} !important`
189
189
  } }
190
190
  },
191
- title: e`Would you like to share your feedback?`,
191
+ title: t`Would you like to share your feedback?`,
192
192
  children: /* @__PURE__ */ X(j, {
193
- "aria-label": e`Feedback`,
193
+ "aria-label": t`Feedback`,
194
194
  color: "inherit",
195
- onClick: s,
196
- children: [/* @__PURE__ */ Y(de, { color: "inherit" }), /* @__PURE__ */ Y(k, {
195
+ onClick: l,
196
+ children: [/* @__PURE__ */ Y(fe, { color: "inherit" }), /* @__PURE__ */ Y(A, {
197
197
  sx: {
198
198
  fontSize: "1.3rem",
199
- marginLeft: t.spacing(1),
200
- [t.breakpoints.up("md")]: {
199
+ marginLeft: n.spacing(1),
200
+ [n.breakpoints.up("md")]: {
201
201
  position: "absolute",
202
202
  visibility: "hidden"
203
203
  }
204
204
  },
205
- children: e`Feedback`
205
+ children: t`Feedback`
206
206
  })]
207
207
  })
208
- }), /* @__PURE__ */ Y(g, { ref: r })] });
209
- }, we = ({ anchorElement: e, onClose: t }) => {
210
- let n = G(() => C.createUuid(), []), r = K(null), i = !!e, { t: a } = Z(), s = o(), [c, l] = q(!1), u = H(() => {
211
- r.current.open();
212
- }, []), d = H(async () => {
213
- let e = `Frontend version: ${s.getSoftwareVersion()}\nBackend version: ${S.resolve(b).version}\nURL: ${window.location.href}\nDate/time: ${(/* @__PURE__ */ new Date()).toISOString()}`;
214
- await navigator.clipboard.writeText(e), l(!0), setTimeout(() => l(!1), 2e3);
215
- }, [s]);
208
+ }), /* @__PURE__ */ Y(i, { ref: o })] });
209
+ }, Te = ({ anchorElement: t, onClose: n }) => {
210
+ let r = G(() => w.createUuid(), []), i = K(null), s = !!t, { t: c } = Z(), l = e(), [u, d] = q(!1), f = H(() => {
211
+ i.current.open();
212
+ }, []), p = H(async () => {
213
+ let e = `Frontend version: ${l.getSoftwareVersion()}\nBackend version: ${C.resolve(o).version}\nURL: ${window.location.href}\nDate/time: ${(/* @__PURE__ */ new Date()).toISOString()}`;
214
+ await navigator.clipboard.writeText(e), d(!0), setTimeout(() => d(!1), 2e3);
215
+ }, [l]);
216
216
  return /* @__PURE__ */ Y(L, {
217
217
  ...Q.createAttributes("InfoMenu"),
218
- anchorEl: e,
218
+ anchorEl: t,
219
219
  anchorOrigin: {
220
220
  horizontal: "right",
221
221
  vertical: "bottom"
222
222
  },
223
- id: i ? n : void 0,
224
- onClose: t,
225
- open: i,
223
+ id: s ? r : void 0,
224
+ onClose: n,
225
+ open: s,
226
226
  transformOrigin: {
227
227
  horizontal: "right",
228
228
  vertical: "top"
@@ -237,8 +237,8 @@ var be = B($)(({ theme: e }) => ({
237
237
  /* @__PURE__ */ Y(N, {
238
238
  divider: !0,
239
239
  children: /* @__PURE__ */ Y(I, {
240
- primary: a("Frontend version"),
241
- secondary: s.getSoftwareVersion(),
240
+ primary: c("Frontend version"),
241
+ secondary: l.getSoftwareVersion(),
242
242
  slotProps: { primary: { sx: {
243
243
  color: "primary.main",
244
244
  fontWeight: "bold"
@@ -248,8 +248,8 @@ var be = B($)(({ theme: e }) => ({
248
248
  /* @__PURE__ */ Y(N, {
249
249
  divider: !0,
250
250
  children: /* @__PURE__ */ Y(I, {
251
- primary: a("Backend version"),
252
- secondary: S.resolve(b).version,
251
+ primary: c("Backend version"),
252
+ secondary: C.resolve(o).version,
253
253
  slotProps: { primary: { sx: {
254
254
  color: "primary.main",
255
255
  fontWeight: "bold"
@@ -259,9 +259,9 @@ var be = B($)(({ theme: e }) => ({
259
259
  /* @__PURE__ */ Y(N, {
260
260
  divider: !0,
261
261
  children: /* @__PURE__ */ X(P, {
262
- onClick: d,
263
- children: [/* @__PURE__ */ Y(F, { children: c ? /* @__PURE__ */ Y(me, { color: "success" }) : /* @__PURE__ */ Y(ie, { color: "secondary" }) }), /* @__PURE__ */ Y(I, {
264
- primary: a`Copy version information to clipboard`,
262
+ onClick: p,
263
+ children: [/* @__PURE__ */ Y(F, { children: u ? /* @__PURE__ */ Y(he, { color: "success" }) : /* @__PURE__ */ Y(ie, { color: "secondary" }) }), /* @__PURE__ */ Y(I, {
264
+ primary: c`Copy version information to clipboard`,
265
265
  slotProps: { primary: { sx: {
266
266
  color: "secondary.main",
267
267
  fontWeight: "bold"
@@ -270,19 +270,19 @@ var be = B($)(({ theme: e }) => ({
270
270
  })
271
271
  }),
272
272
  /* @__PURE__ */ X(N, { children: [/* @__PURE__ */ X(P, {
273
- onClick: u,
274
- children: [/* @__PURE__ */ Y(F, { children: /* @__PURE__ */ Y(pe, { color: "secondary" }) }), /* @__PURE__ */ Y(I, {
275
- primary: a`Show license information`,
273
+ onClick: f,
274
+ children: [/* @__PURE__ */ Y(F, { children: /* @__PURE__ */ Y(me, { color: "secondary" }) }), /* @__PURE__ */ Y(I, {
275
+ primary: c`Show license information`,
276
276
  slotProps: { primary: { sx: {
277
277
  color: "secondary.main",
278
278
  fontWeight: "bold"
279
279
  } } }
280
280
  })]
281
- }), /* @__PURE__ */ Y(y, { ref: r })] })
281
+ }), /* @__PURE__ */ Y(a, { ref: i })] })
282
282
  ]
283
283
  })
284
284
  });
285
- }, Te = () => {
285
+ }, Ee = () => {
286
286
  let [e, t] = q(null), { t: n } = Z(), r = V(), i = H((e) => {
287
287
  t(e.currentTarget);
288
288
  }, []), a = H(() => {
@@ -292,7 +292,7 @@ var be = B($)(({ theme: e }) => ({
292
292
  color: "inherit",
293
293
  onClick: i,
294
294
  title: "Code information",
295
- children: [/* @__PURE__ */ Y(fe, { color: "inherit" }), /* @__PURE__ */ Y(k, {
295
+ children: [/* @__PURE__ */ Y(pe, { color: "inherit" }), /* @__PURE__ */ Y(A, {
296
296
  sx: {
297
297
  fontSize: "1.3rem",
298
298
  marginLeft: r.spacing(1),
@@ -303,14 +303,14 @@ var be = B($)(({ theme: e }) => ({
303
303
  },
304
304
  children: n`Code information`
305
305
  })]
306
- }), e && /* @__PURE__ */ Y(we, {
306
+ }), e && /* @__PURE__ */ Y(Te, {
307
307
  anchorElement: e,
308
308
  onClose: a
309
309
  })] });
310
- }, Ee = () => {
311
- let { t: e } = Z(), t = V(), n = ae(S.resolve(u)), r = G(() => n.some((e) => e.isLoading), [n]), [i, a] = q(!1), o = H(() => {
312
- S.resolve(u).hideAllNotifications(), a(!0);
313
- }, []), s = H(() => {
310
+ }, De = () => {
311
+ let { t: e } = Z(), t = V(), n = oe(C.resolve(c)), r = G(() => n.some((e) => e.isLoading), [n]), [i, a] = q(!1), o = H(() => {
312
+ C.resolve(c).hideAllNotifications(), a(!0);
313
+ }, []), l = H(() => {
314
314
  a(!1);
315
315
  }, []);
316
316
  return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(j, {
@@ -319,7 +319,7 @@ var be = B($)(({ theme: e }) => ({
319
319
  onClick: o,
320
320
  title: e`Notifications`,
321
321
  children: [
322
- /* @__PURE__ */ Y(O, {
322
+ /* @__PURE__ */ Y(k, {
323
323
  badgeContent: n.length,
324
324
  color: "secondary",
325
325
  sx: { "& .MuiBadge-badge": {
@@ -328,14 +328,14 @@ var be = B($)(({ theme: e }) => ({
328
328
  height: 15,
329
329
  minWidth: 15
330
330
  } },
331
- children: /* @__PURE__ */ Y(ue, { color: "inherit" })
331
+ children: /* @__PURE__ */ Y(de, { color: "inherit" })
332
332
  }),
333
- r && /* @__PURE__ */ Y(A, {
333
+ r && /* @__PURE__ */ Y(ee, {
334
334
  color: "inherit",
335
335
  size: t.spacing(3.5),
336
336
  sx: { position: "absolute" }
337
337
  }),
338
- /* @__PURE__ */ Y(k, {
338
+ /* @__PURE__ */ Y(A, {
339
339
  sx: {
340
340
  fontSize: "1.3rem",
341
341
  marginLeft: t.spacing(1),
@@ -347,25 +347,25 @@ var be = B($)(({ theme: e }) => ({
347
347
  children: e`Notifications`
348
348
  })
349
349
  ]
350
- }), /* @__PURE__ */ Y(p, {
351
- onDrawerClose: s,
350
+ }), /* @__PURE__ */ Y(s, {
351
+ onDrawerClose: l,
352
352
  open: i
353
353
  })] });
354
- }, De = () => {
355
- let { t: e } = Z(), r = V(), i = K(null), a = t(n, (e) => e.visibleOutages), o = t(n, (e) => e.activeOutages), s = t(n, (e) => e.soonActiveOutages), c = G(() => o.length > 0 || a.length > 0 || s.length > 0 ? "!" : null, [
356
- o.length,
357
- s.length,
358
- a.length
359
- ]), l = H(() => {
360
- i.current.open();
354
+ }, Oe = () => {
355
+ let { t: e } = Z(), t = V(), n = K(null), r = l(d, (e) => e.visibleOutages), i = l(d, (e) => e.activeOutages), a = l(d, (e) => e.soonActiveOutages), o = G(() => i.length > 0 || r.length > 0 || a.length > 0 ? "!" : null, [
356
+ i.length,
357
+ a.length,
358
+ r.length
359
+ ]), s = H(() => {
360
+ n.current.open();
361
361
  }, []);
362
362
  return /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(j, {
363
363
  "aria-label": e`Outages`,
364
364
  color: "inherit",
365
- onClick: l,
365
+ onClick: s,
366
366
  title: e`Outages`,
367
- children: [/* @__PURE__ */ Y(O, {
368
- badgeContent: c,
367
+ children: [/* @__PURE__ */ Y(k, {
368
+ badgeContent: o,
369
369
  color: "secondary",
370
370
  sx: { "& .MuiBadge-badge": {
371
371
  border: "1px solid white",
@@ -373,24 +373,24 @@ var be = B($)(({ theme: e }) => ({
373
373
  height: 15,
374
374
  minWidth: 15
375
375
  } },
376
- children: /* @__PURE__ */ Y(he, { color: "inherit" })
377
- }), /* @__PURE__ */ Y(k, {
376
+ children: /* @__PURE__ */ Y(ge, { color: "inherit" })
377
+ }), /* @__PURE__ */ Y(A, {
378
378
  sx: {
379
379
  fontSize: "1.3rem",
380
- marginLeft: r.spacing(1),
381
- [r.breakpoints.up("md")]: {
380
+ marginLeft: t.spacing(1),
381
+ [t.breakpoints.up("md")]: {
382
382
  position: "absolute",
383
383
  visibility: "hidden"
384
384
  }
385
385
  },
386
386
  children: e`Outages`
387
387
  })]
388
- }), /* @__PURE__ */ Y(ee, { ref: i })] });
389
- }, Oe = m(() => {
390
- let { t: e } = Z(), t = c({
388
+ }), /* @__PURE__ */ Y(u, { ref: n })] });
389
+ }, $ = g(() => {
390
+ let { t: e } = Z(), t = _({
391
391
  gcTime: 0,
392
- queryFn: async ({ signal: e }) => (await S.resolve(r).retrieveOrganizationAdminNameEmails({ signal: e })).data,
393
- queryKey: S.resolve(l).getGenericKey(d.ORGANIZATION_ADMIN_NAME_EMAILS),
392
+ queryFn: async ({ signal: e }) => (await C.resolve(h).retrieveOrganizationAdminNameEmails({ signal: e })).data,
393
+ queryKey: C.resolve(v).getGenericKey(y.ORGANIZATION_ADMIN_NAME_EMAILS),
394
394
  staleTime: 0
395
395
  });
396
396
  return /* @__PURE__ */ Y(N, {
@@ -414,43 +414,43 @@ var be = B($)(({ theme: e }) => ({
414
414
  })
415
415
  });
416
416
  }, { requiredPermissions: [{
417
- command_name: w.RetrieveOrganizationAdminNameEmailsCommand,
418
- permission_type: E.EXECUTE
419
- }] }), ke = m(() => {
420
- let { t: e } = Z(), t = f(), n = G(() => t.isLoading ? e`Loading...` : t.error ? e`Error` : t.map.get(S.resolve(i).user?.organization_id ?? "")?.name ?? e`Unknown`, [t, e]);
417
+ command_name: T.RetrieveOrganizationAdminNameEmailsCommand,
418
+ permission_type: D.EXECUTE
419
+ }] }), ke = g(() => {
420
+ let { t: e } = Z(), n = b(), r = G(() => n.isLoading ? e`Loading...` : n.error ? e`Error` : n.map.get(C.resolve(t).user?.organization_id ?? "")?.name ?? e`Unknown`, [n, e]);
421
421
  return /* @__PURE__ */ Y(N, {
422
422
  sx: { paddingBottom: 0 },
423
423
  children: /* @__PURE__ */ Y(I, {
424
424
  primary: e`My organization`,
425
- secondary: n ?? e`Unknown`,
425
+ secondary: r ?? e`Unknown`,
426
426
  slotProps: { primary: { sx: { fontWeight: "bold" } } }
427
427
  })
428
428
  });
429
429
  }, { requiredPermissions: [{
430
- command_name: w.RetrieveOrganizationAdminNameEmailsCommand,
431
- permission_type: E.EXECUTE
432
- }] }), Ae = ({ anchorElement: t, onClose: n }) => {
433
- let r = le(), a = K(null), o = G(() => C.createUuid(), []), c = !!t, { t: l } = Z(), u = K(null), d = H(() => {
434
- u.current.open();
435
- }, []), f = H(() => {
436
- a.current.open();
437
- }, []), p = H(() => {
438
- S.resolve(s).log([{
430
+ command_name: T.RetrieveOrganizationAdminNameEmailsCommand,
431
+ permission_type: D.EXECUTE
432
+ }] }), Ae = ({ anchorElement: e, onClose: n }) => {
433
+ let r = ue(), i = K(null), a = G(() => w.createUuid(), []), o = !!e, { t: s } = Z(), c = K(null), l = H(() => {
434
+ c.current.open();
435
+ }, []), u = H(() => {
436
+ i.current.open();
437
+ }, []), d = H(() => {
438
+ C.resolve(f).log([{
439
439
  detail: r.user,
440
- level: T.TRACE,
440
+ level: E.TRACE,
441
441
  topic: "USER_LOGOUT"
442
- }]), S.resolve(s).flushLog(), r.signoutRedirect();
443
- }, [r]), m = G(() => e.getUserDisplayValue(S.resolve(i).user, l), [l]), h = G(() => S.resolve(i).user?.roles, []);
442
+ }]), C.resolve(f).flushLog(), r.signoutRedirect();
443
+ }, [r]), h = G(() => m.getUserDisplayValue(C.resolve(t).user, s), [s]), g = G(() => C.resolve(t).user?.roles, []);
444
444
  return /* @__PURE__ */ Y(L, {
445
445
  ...Q.createAttributes("UserMenu"),
446
- anchorEl: t,
446
+ anchorEl: e,
447
447
  anchorOrigin: {
448
448
  horizontal: "right",
449
449
  vertical: "bottom"
450
450
  },
451
- id: c ? o : void 0,
451
+ id: o ? a : void 0,
452
452
  onClose: n,
453
- open: c,
453
+ open: o,
454
454
  transformOrigin: {
455
455
  horizontal: "right",
456
456
  vertical: "top"
@@ -465,18 +465,18 @@ var be = B($)(({ theme: e }) => ({
465
465
  /* @__PURE__ */ Y(N, {
466
466
  divider: !0,
467
467
  children: /* @__PURE__ */ Y(I, {
468
- primary: m ?? l`Unknown`,
468
+ primary: h ?? s`Unknown`,
469
469
  slotProps: { primary: { sx: { fontWeight: "bold" } } }
470
470
  })
471
471
  }),
472
472
  /* @__PURE__ */ Y(ke, {}),
473
- /* @__PURE__ */ Y(Oe, {}),
473
+ /* @__PURE__ */ Y($, {}),
474
474
  /* @__PURE__ */ Y(N, {
475
475
  divider: !0,
476
476
  sx: { paddingTop: 0 },
477
477
  children: /* @__PURE__ */ Y(I, {
478
- primary: l`My roles`,
479
- secondary: /* @__PURE__ */ Y(J, { children: h?.map((e) => /* @__PURE__ */ Y(k, {
478
+ primary: s`My roles`,
479
+ secondary: /* @__PURE__ */ Y(J, { children: g?.map((e) => /* @__PURE__ */ Y(A, {
480
480
  component: "span",
481
481
  sx: {
482
482
  display: "inline-block",
@@ -492,32 +492,32 @@ var be = B($)(({ theme: e }) => ({
492
492
  divider: !0,
493
493
  sx: { justifyContent: "center" },
494
494
  children: [/* @__PURE__ */ X(P, {
495
- onClick: d,
496
- children: [/* @__PURE__ */ Y(F, { children: /* @__PURE__ */ Y(ve, { color: "primary" }) }), /* @__PURE__ */ Y(I, {
497
- primary: l`My API permissions`,
495
+ onClick: l,
496
+ children: [/* @__PURE__ */ Y(F, { children: /* @__PURE__ */ Y(ye, { color: "primary" }) }), /* @__PURE__ */ Y(I, {
497
+ primary: s`My API permissions`,
498
498
  slotProps: { primary: { sx: { color: "primary.main" } } }
499
499
  })]
500
- }), /* @__PURE__ */ Y(v, { ref: u })]
500
+ }), /* @__PURE__ */ Y(p, { ref: c })]
501
501
  }),
502
502
  /* @__PURE__ */ X(N, {
503
503
  alignItems: "center",
504
504
  sx: { justifyContent: "center" },
505
505
  children: [/* @__PURE__ */ X(P, {
506
- onClick: f,
507
- children: [/* @__PURE__ */ Y(F, { children: /* @__PURE__ */ Y(_e, { color: "secondary" }) }), /* @__PURE__ */ Y(I, {
508
- primary: l`Logout`,
506
+ onClick: u,
507
+ children: [/* @__PURE__ */ Y(F, { children: /* @__PURE__ */ Y(ve, { color: "secondary" }) }), /* @__PURE__ */ Y(I, {
508
+ primary: s`Logout`,
509
509
  slotProps: { primary: { sx: {
510
510
  color: "secondary.main",
511
511
  fontWeight: "bold"
512
512
  } } }
513
513
  })]
514
- }), /* @__PURE__ */ Y(ce, {
515
- body: l`Click the logout button to logout`,
516
- cancelLabel: l`Cancel`,
517
- confirmLabel: l`Logout`,
518
- onConfirm: p,
519
- ref: a,
520
- title: l`Are you sure you want to logout?`
514
+ }), /* @__PURE__ */ Y(le, {
515
+ body: s`Click the logout button to logout`,
516
+ cancelLabel: s`Cancel`,
517
+ confirmLabel: s`Logout`,
518
+ onConfirm: d,
519
+ ref: i,
520
+ title: s`Are you sure you want to logout?`
521
521
  })]
522
522
  })
523
523
  ]
@@ -533,7 +533,7 @@ var be = B($)(({ theme: e }) => ({
533
533
  color: "inherit",
534
534
  onClick: i,
535
535
  title: "Account",
536
- children: [/* @__PURE__ */ Y(ge, { color: "inherit" }), /* @__PURE__ */ Y(k, {
536
+ children: [/* @__PURE__ */ Y(_e, { color: "inherit" }), /* @__PURE__ */ Y(A, {
537
537
  sx: {
538
538
  fontSize: "1.3rem",
539
539
  marginLeft: t.spacing(1),
@@ -552,12 +552,12 @@ var be = B($)(({ theme: e }) => ({
552
552
  let { t: e } = Z(), t = V(), n = K(null), r = H(() => {
553
553
  n.current.open();
554
554
  }, []);
555
- return S.resolve(x).featureFlags.update_own_organization ? /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(j, {
555
+ return C.resolve(S).featureFlags.update_own_organization ? /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ X(j, {
556
556
  "aria-label": e`Change organization`,
557
557
  color: "inherit",
558
558
  onClick: r,
559
559
  title: e`Change organization`,
560
- children: [/* @__PURE__ */ Y(ye, { color: "inherit" }), /* @__PURE__ */ Y(k, {
560
+ children: [/* @__PURE__ */ Y(be, { color: "inherit" }), /* @__PURE__ */ Y(A, {
561
561
  sx: {
562
562
  fontSize: "1.3rem",
563
563
  marginLeft: t.spacing(1),
@@ -568,14 +568,14 @@ var be = B($)(({ theme: e }) => ({
568
568
  },
569
569
  children: e`Change organization`
570
570
  })]
571
- }), /* @__PURE__ */ Y(_, { ref: n })] }) : null;
572
- }, Ne = ({ fullWidth: e }) => {
573
- let t = V(), n = G(() => ({
574
- background: t.palette.primary.main,
571
+ }), /* @__PURE__ */ Y(x, { ref: n })] }) : null;
572
+ }, Ne = ({ fullWidth: t }) => {
573
+ let n = V(), r = G(() => ({
574
+ background: n.palette.primary.main,
575
575
  environmentMessageColor: "#ffea00",
576
- primaryColor: t.palette.primary.contrastText,
577
- ...t.components?.GenEpixUiClientCommonApplicationBarActions ?? {}
578
- }), [t]), { t: r } = Z(), i = o().getEnvironmentMessage(), a = W(), [s, c] = q(!1), l = H(() => {
576
+ primaryColor: n.palette.primary.contrastText,
577
+ ...n.components?.GenEpixUiClientCommonApplicationBarActions ?? {}
578
+ }), [n]), { t: i } = Z(), a = e().getEnvironmentMessage(), o = W(), [s, c] = q(!1), l = H(() => {
579
579
  c((e) => !e);
580
580
  }, []);
581
581
  return U(() => {
@@ -587,7 +587,7 @@ var be = B($)(({ theme: e }) => ({
587
587
  document.removeEventListener("keydown", e);
588
588
  };
589
589
  }
590
- }, [s]), /* @__PURE__ */ X(k, {
590
+ }, [s]), /* @__PURE__ */ X(A, {
591
591
  ...Q.createAttributes("ApplicationBarActions"),
592
592
  sx: {
593
593
  alignItems: "center",
@@ -595,94 +595,94 @@ var be = B($)(({ theme: e }) => ({
595
595
  paddingRight: 1
596
596
  },
597
597
  children: [/* @__PURE__ */ Y(j, {
598
- "aria-controls": a,
599
- "aria-label": r`Toggle menu`,
598
+ "aria-controls": o,
599
+ "aria-label": i`Toggle menu`,
600
600
  onClick: l,
601
601
  sx: {
602
- color: n.primaryColor,
603
- [t.breakpoints.up("md")]: { display: "none" }
602
+ color: r.primaryColor,
603
+ [n.breakpoints.up("md")]: { display: "none" }
604
604
  },
605
- children: /* @__PURE__ */ Y(se, {})
606
- }), /* @__PURE__ */ X(k, {
607
- id: a,
605
+ children: /* @__PURE__ */ Y(ce, {})
606
+ }), /* @__PURE__ */ X(A, {
607
+ id: o,
608
608
  sx: {
609
609
  display: "flex",
610
- [t.breakpoints.down("md")]: {
610
+ [n.breakpoints.down("md")]: {
611
611
  alignItems: "start",
612
- background: n.background,
612
+ background: r.background,
613
613
  display: s ? "flex" : "none",
614
614
  flexDirection: "column",
615
615
  left: 0,
616
616
  position: "absolute",
617
617
  right: 0,
618
- top: t.spacing(6),
619
- zIndex: t.zIndex.appBar - 1
618
+ top: n.spacing(6),
619
+ zIndex: n.zIndex.appBar - 1
620
620
  }
621
621
  },
622
622
  children: [
623
- /* @__PURE__ */ Y(Ce, {}),
623
+ /* @__PURE__ */ Y(we, {}),
624
+ /* @__PURE__ */ Y(Oe, {}),
624
625
  /* @__PURE__ */ Y(De, {}),
625
626
  /* @__PURE__ */ Y(Ee, {}),
626
- /* @__PURE__ */ Y(Te, {}),
627
627
  /* @__PURE__ */ Y(Me, {}),
628
628
  /* @__PURE__ */ Y(je, {}),
629
- i && /* @__PURE__ */ Y(k, {
629
+ a && /* @__PURE__ */ Y(A, {
630
630
  ...Q.createAttributes("ApplicationBarActions-EnvironmentMessage"),
631
631
  "aria-hidden": "true",
632
632
  sx: {
633
633
  alignItems: "center",
634
- color: n.environmentMessageColor,
634
+ color: r.environmentMessageColor,
635
635
  display: "flex",
636
636
  fontWeight: 700,
637
- marginRight: +!e,
638
- padding: `0 ${t.spacing(1)} !important`,
637
+ marginRight: +!t,
638
+ padding: `0 ${n.spacing(1)} !important`,
639
639
  textTransform: "uppercase",
640
- [t.breakpoints.down("md")]: {
640
+ [n.breakpoints.down("md")]: {
641
641
  position: "absolute",
642
642
  visibility: "hidden"
643
643
  }
644
644
  },
645
- children: r("{{environmentMessage}}", { environmentMessage: i })
645
+ children: i("{{environmentMessage}}", { environmentMessage: a })
646
646
  })
647
647
  ]
648
648
  })]
649
649
  });
650
- }, Pe = ({ fullWidth: e, singleAction: t }) => {
651
- let n = V(), r = G(() => ({
652
- background: n.palette.primary.main,
653
- primaryColor: n.palette.primary.contrastText,
654
- ...n.components?.GenEpixUiClientCommonApplicationBar ?? {}
655
- }), [n]), i = o();
656
- return /* @__PURE__ */ Y(D, {
650
+ }, Pe = ({ fullWidth: t, singleAction: n }) => {
651
+ let r = V(), i = G(() => ({
652
+ background: r.palette.primary.main,
653
+ primaryColor: r.palette.primary.contrastText,
654
+ ...r.components?.GenEpixUiClientCommonApplicationBar ?? {}
655
+ }), [r]), a = e();
656
+ return /* @__PURE__ */ Y(O, {
657
657
  ...Q.createAttributes("ApplicationBar"),
658
658
  position: "static",
659
659
  square: !0,
660
660
  sx: {
661
- background: r.background,
661
+ background: i.background,
662
662
  boxShadow: "none"
663
663
  },
664
664
  children: /* @__PURE__ */ Y(te, {
665
665
  disableGutters: !0,
666
- maxWidth: !e && "xl",
666
+ maxWidth: !t && "xl",
667
667
  children: /* @__PURE__ */ X(R, {
668
668
  disableGutters: !0,
669
669
  sx: {
670
670
  height: 48,
671
- justifyContent: t ? "center" : "space-between",
671
+ justifyContent: n ? "center" : "space-between",
672
672
  minHeight: "48px !important"
673
673
  },
674
- children: [t && /* @__PURE__ */ Y(k, {
674
+ children: [n && /* @__PURE__ */ Y(A, {
675
675
  sx: { marginX: 2 },
676
- children: /* @__PURE__ */ Y(re, {
676
+ children: /* @__PURE__ */ Y(z, {
677
677
  component: "h1",
678
678
  sx: {
679
- color: r.primaryColor,
679
+ color: i.primaryColor,
680
680
  fontSize: "1.3rem"
681
681
  },
682
682
  variant: "body2",
683
- children: i.applicationName
683
+ children: a.applicationName
684
684
  })
685
- }), !t && /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(xe, { fullWidth: e }), /* @__PURE__ */ Y(Ne, { fullWidth: e })] })]
685
+ }), !n && /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(Se, { fullWidth: t }), /* @__PURE__ */ Y(Ne, { fullWidth: t })] })]
686
686
  })
687
687
  })
688
688
  });