@australiangreens/ag-internal-components 0.0.36 → 0.0.38

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/dist/esm/index.js CHANGED
@@ -1,25 +1,25 @@
1
- var lt = Object.defineProperty, dt = Object.defineProperties;
2
- var ct = Object.getOwnPropertyDescriptors;
1
+ var ht = Object.defineProperty, ft = Object.defineProperties;
2
+ var mt = Object.getOwnPropertyDescriptors;
3
3
  var J = Object.getOwnPropertySymbols;
4
- var Ce = Object.prototype.hasOwnProperty, we = Object.prototype.propertyIsEnumerable;
5
- var de = (e, t, n) => t in e ? lt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, i = (e, t) => {
4
+ var we = Object.prototype.hasOwnProperty, be = Object.prototype.propertyIsEnumerable;
5
+ var de = (e, t, n) => t in e ? ht(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, i = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- Ce.call(t, n) && de(e, n, t[n]);
7
+ we.call(t, n) && de(e, n, t[n]);
8
8
  if (J)
9
9
  for (var n of J(t))
10
- we.call(t, n) && de(e, n, t[n]);
10
+ be.call(t, n) && de(e, n, t[n]);
11
11
  return e;
12
- }, x = (e, t) => dt(e, ct(t));
13
- var be = (e, t) => {
12
+ }, x = (e, t) => ft(e, mt(t));
13
+ var Ae = (e, t) => {
14
14
  var n = {};
15
15
  for (var r in e)
16
- Ce.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
16
+ we.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
17
17
  if (e != null && J)
18
18
  for (var r of J(e))
19
- t.indexOf(r) < 0 && we.call(e, r) && (n[r] = e[r]);
19
+ t.indexOf(r) < 0 && be.call(e, r) && (n[r] = e[r]);
20
20
  return n;
21
21
  };
22
- var Ae = (e, t, n) => (de(e, typeof t != "symbol" ? t + "" : t, n), n);
22
+ var Se = (e, t, n) => (de(e, typeof t != "symbol" ? t + "" : t, n), n);
23
23
  var K = (e, t, n) => new Promise((r, a) => {
24
24
  var l = (s) => {
25
25
  try {
@@ -37,29 +37,29 @@ var K = (e, t, n) => new Promise((r, a) => {
37
37
  u((n = n.apply(e, t)).next());
38
38
  });
39
39
  import { jsxs as p, Fragment as _, jsx as o } from "react/jsx-runtime";
40
- import { useState as O, createContext as Pe, useCallback as te, useContext as Le, useEffect as ne, useRef as ce } from "react";
41
- import { Typography as y, Button as pt, Paper as oe, styled as X, Box as A, IconButton as V, Drawer as ut, Container as _e, Divider as Se, CssBaseline as gt, Snackbar as ht, Alert as ft, CircularProgress as Me, LinearProgress as mt, Autocomplete as vt, TextField as xt, FormHelperText as Ct } from "@mui/material";
42
- import wt from "@mui/material/CssBaseline";
43
- import { styled as M, createTheme as He, alpha as pe } from "@mui/material/styles";
44
- import Re from "@mui/material/Drawer";
45
- import { AgError as bt } from "@australiangreens/ag-error";
40
+ import { useState as O, createContext as Le, useCallback as te, useContext as _e, useEffect as ne, useRef as ce } from "react";
41
+ import { Typography as y, Button as vt, Paper as oe, styled as X, Box as A, IconButton as V, Drawer as xt, Container as Me, Divider as Te, CssBaseline as Ct, Snackbar as wt, Alert as bt, CircularProgress as He, LinearProgress as At, Autocomplete as St, TextField as Tt, FormHelperText as It } from "@mui/material";
42
+ import Ot from "@mui/material/CssBaseline";
43
+ import { styled as M, createTheme as Re, alpha as pe } from "@mui/material/styles";
44
+ import We from "@mui/material/Drawer";
45
+ import { AgError as Bt } from "@australiangreens/ag-error";
46
46
  import { createHelper as re } from "souvlaki";
47
- import We from "@mui/material/List";
47
+ import ze from "@mui/material/List";
48
48
  import Ie from "@mui/material/Button";
49
- import At from "@mui/material/Dialog";
50
- import St from "@mui/material/DialogActions";
51
- import It from "@mui/material/DialogContent";
52
- import Tt from "@mui/material/DialogTitle";
53
- import { ArrowForward as ze, ArrowBack as Ge, ViewHeadline as Ot } from "@mui/icons-material";
54
- import { atom as B, useSetAtom as Dt, useAtom as E, Provider as Bt } from "jotai";
55
- import { useHydrateAtoms as $t } from "jotai/utils";
56
- function zn({ text: e }) {
49
+ import Dt from "@mui/material/Dialog";
50
+ import $t from "@mui/material/DialogActions";
51
+ import kt from "@mui/material/DialogContent";
52
+ import Nt from "@mui/material/DialogTitle";
53
+ import { ArrowForward as Ge, ArrowBack as Ue, ViewHeadline as Et } from "@mui/icons-material";
54
+ import { atom as D, useSetAtom as Ft, useAtom as E, createStore as yt, Provider as Ve } from "jotai";
55
+ import { useHydrateAtoms as Pt } from "jotai/utils";
56
+ function Un({ text: e }) {
57
57
  const [t, n] = O(0);
58
58
  return /* @__PURE__ */ p(_, { children: [
59
59
  /* @__PURE__ */ o(y, { variant: "h6", color: "inherit", component: "div", sx: { fontSize: "22px" }, children: "Hello world" }),
60
60
  /* @__PURE__ */ o(y, { variant: "caption", display: "block", children: /* @__PURE__ */ o("span", { children: "Just ensuring MUI is working as planned as a peer dependency. v0.0.11" }) }),
61
61
  /* @__PURE__ */ o(
62
- pt,
62
+ vt,
63
63
  {
64
64
  variant: "outlined",
65
65
  onClick: () => n((r) => r + 1),
@@ -77,7 +77,7 @@ function zn({ text: e }) {
77
77
  ] })
78
78
  ] });
79
79
  }
80
- const Ue = 330, Ve = 73, N = "Navbar", L = {
80
+ const Xe = 330, qe = 73, N = "Navbar", L = {
81
81
  root: `${N}-root`,
82
82
  menuButton: `${N}-menuButton`,
83
83
  hide: `${N}-hide`,
@@ -85,7 +85,7 @@ const Ue = 330, Ve = 73, N = "Navbar", L = {
85
85
  userInfoHolder: `${N}-userInfoHolder`,
86
86
  settings: `${N}-settings`,
87
87
  pieChartIcon: `${N}-pieChartIcon`
88
- }, kt = M("div", { name: "NavBar" })(({ theme: e }) => ({
88
+ }, Lt = M("div", { name: "NavBar" })(({ theme: e }) => ({
89
89
  [`&.${L.root}`]: {
90
90
  display: "flex"
91
91
  },
@@ -104,7 +104,7 @@ const Ue = 330, Ve = 73, N = "Navbar", L = {
104
104
  marginTop: "64px",
105
105
  marginBottom: "16px"
106
106
  }
107
- })), Xe = () => ({
107
+ })), je = () => ({
108
108
  position: "absolute",
109
109
  height: "100%",
110
110
  overflowX: "hidden",
@@ -112,29 +112,29 @@ const Ue = 330, Ve = 73, N = "Navbar", L = {
112
112
  color: "white",
113
113
  backgroundColor: "black"
114
114
  // backgroundColor: '#e8e8e8',
115
- }), Nt = () => i({
116
- width: Ue
117
- }, Xe()), Et = () => i({
118
- width: Ve
119
- }, Xe()), Ft = M(Re, {
115
+ }), _t = () => i({
116
+ width: Xe
117
+ }, je()), Mt = () => i({
118
+ width: qe
119
+ }, je()), Ht = M(We, {
120
120
  shouldForwardProp: (e) => e !== "open"
121
121
  })(({ theme: e, open: t }) => i(i({
122
- width: t ? Ue : Ve,
122
+ width: t ? Xe : qe,
123
123
  flexShrink: 0,
124
124
  whiteSpace: "nowrap",
125
125
  boxSizing: "border-box",
126
126
  zIndex: e.zIndex.drawer + 100
127
127
  }, t && {
128
- "& .MuiDrawer-paper": Nt()
128
+ "& .MuiDrawer-paper": _t()
129
129
  }), !t && {
130
- "& .MuiDrawer-paper": Et()
130
+ "& .MuiDrawer-paper": Mt()
131
131
  }));
132
- class he extends bt {
132
+ class he extends Bt {
133
133
  }
134
- Ae(he, "errorName", "ContextError");
135
- const qe = Pe(null), yt = {}, Pt = {}, Lt = ({
136
- overrideState: e = yt,
137
- overrideActions: t = Pt,
134
+ Se(he, "errorName", "ContextError");
135
+ const Qe = Le(null), Rt = {}, Wt = {}, zt = ({
136
+ overrideState: e = Rt,
137
+ overrideActions: t = Wt,
138
138
  children: n
139
139
  }) => {
140
140
  const [{ open: r }, a] = O({ open: !0 }), l = te((s) => {
@@ -146,17 +146,17 @@ const qe = Pe(null), yt = {}, Pt = {}, Lt = ({
146
146
  setOpen: l,
147
147
  toggleOpen: c
148
148
  }, e), t);
149
- return /* @__PURE__ */ o(qe.Provider, { value: u, children: n });
150
- }, _t = () => {
151
- const e = Le(qe);
149
+ return /* @__PURE__ */ o(Qe.Provider, { value: u, children: n });
150
+ }, Gt = () => {
151
+ const e = _e(Qe);
152
152
  if (e === null)
153
153
  throw new he("Error: Tried to useNavBar outside of a <NavBarProvider>");
154
154
  return e;
155
- }, Mt = (e = {}) => i({
155
+ }, Ut = (e = {}) => i({
156
156
  open: !0
157
- }, e), Gn = re(
158
- (e = Mt(), t = {}) => ({ children: n }) => /* @__PURE__ */ o(Lt, { overrideState: e, overrideActions: t, children: n })
159
- ), Te = 7, Un = M(We)(({ theme: e }) => ({
157
+ }, e), Vn = re(
158
+ (e = Ut(), t = {}) => ({ children: n }) => /* @__PURE__ */ o(zt, { overrideState: e, overrideActions: t, children: n })
159
+ ), Oe = 7, Xn = M(ze)(({ theme: e }) => ({
160
160
  backgroundColor: "black",
161
161
  color: "white",
162
162
  "& .MuiListItem-root": {
@@ -165,7 +165,7 @@ const qe = Pe(null), yt = {}, Pt = {}, Lt = ({
165
165
  "& .MuiListItemButton-root": {
166
166
  " .MuiListItemIcon-root": {
167
167
  color: "white",
168
- padding: `${Te}px`
168
+ padding: `${Oe}px`
169
169
  },
170
170
  // Focus state
171
171
  "&.Mui-focusVisible": {
@@ -176,7 +176,7 @@ const qe = Pe(null), yt = {}, Pt = {}, Lt = ({
176
176
  borderLeftStyle: "solid",
177
177
  borderLeftWidth: "7px",
178
178
  borderLeftColor: e.palette.primary.main,
179
- paddingLeft: `calc(${e.spacing(2)} - ${Te}px)`
179
+ paddingLeft: `calc(${e.spacing(2)} - ${Oe}px)`
180
180
  },
181
181
  // Hover state
182
182
  "&:hover": {
@@ -194,7 +194,7 @@ const qe = Pe(null), yt = {}, Pt = {}, Lt = ({
194
194
  // '&.Mui-selected.Mui-focusVisible:hover': {
195
195
  // },
196
196
  }
197
- })), Oe = 7, Vn = M(We)(({ theme: e }) => ({
197
+ })), Be = 7, qn = M(ze)(({ theme: e }) => ({
198
198
  backgroundColor: "#e8e8e8",
199
199
  color: "inherit",
200
200
  "& .MuiListItem-root": {
@@ -203,7 +203,7 @@ const qe = Pe(null), yt = {}, Pt = {}, Lt = ({
203
203
  "& .MuiListItemButton-root": {
204
204
  " .MuiListItemIcon-root": {
205
205
  color: "inherit",
206
- padding: `${Oe}px`
206
+ padding: `${Be}px`
207
207
  },
208
208
  // Focus state
209
209
  "&.Mui-focusVisible": {
@@ -214,7 +214,7 @@ const qe = Pe(null), yt = {}, Pt = {}, Lt = ({
214
214
  borderLeftStyle: "solid",
215
215
  borderLeftWidth: "7px",
216
216
  borderLeftColor: e.palette.primary.main,
217
- paddingLeft: `calc(${e.spacing(2)} - ${Oe}px)`
217
+ paddingLeft: `calc(${e.spacing(2)} - ${Be}px)`
218
218
  },
219
219
  // Hover state
220
220
  "&:hover": {
@@ -233,15 +233,15 @@ const qe = Pe(null), yt = {}, Pt = {}, Lt = ({
233
233
  // },
234
234
  }
235
235
  }));
236
- function Xn({
236
+ function jn({
237
237
  "data-testid": e,
238
238
  children: t
239
239
  }) {
240
- const { open: n } = _t();
241
- return /* @__PURE__ */ p(kt, { className: L.root, "data-testid": e, children: [
242
- /* @__PURE__ */ o(wt, {}),
240
+ const { open: n } = Gt();
241
+ return /* @__PURE__ */ p(Lt, { className: L.root, "data-testid": e, children: [
242
+ /* @__PURE__ */ o(Ot, {}),
243
243
  /* @__PURE__ */ o(
244
- Ft,
244
+ Ht,
245
245
  {
246
246
  variant: "permanent",
247
247
  anchor: "left",
@@ -252,7 +252,7 @@ function Xn({
252
252
  )
253
253
  ] });
254
254
  }
255
- const Ht = ({
255
+ const Vt = ({
256
256
  isOpen: e,
257
257
  dialogTitle: t,
258
258
  children: n,
@@ -264,7 +264,7 @@ const Ht = ({
264
264
  var d, v;
265
265
  const [u, s] = O(!1);
266
266
  return /* @__PURE__ */ p(
267
- At,
267
+ Dt,
268
268
  {
269
269
  open: e,
270
270
  onClose: () => {
@@ -273,9 +273,9 @@ const Ht = ({
273
273
  fullWidth: !0,
274
274
  maxWidth: r != null ? r : "xs",
275
275
  children: [
276
- /* @__PURE__ */ o(Tt, { children: t }),
277
- /* @__PURE__ */ o(It, { sx: { "& > :last-child": { marginBottom: 0 } }, children: n }),
278
- /* @__PURE__ */ p(St, { children: [
276
+ /* @__PURE__ */ o(Nt, { children: t }),
277
+ /* @__PURE__ */ o(kt, { sx: { "& > :last-child": { marginBottom: 0 } }, children: n }),
278
+ /* @__PURE__ */ p($t, { children: [
279
279
  /* @__PURE__ */ o(
280
280
  Ie,
281
281
  {
@@ -301,14 +301,14 @@ const Ht = ({
301
301
  ]
302
302
  }
303
303
  );
304
- }, Rt = 24, Wt = 64, F = "TopBar", b = {
304
+ }, Xt = 24, qt = 64, F = "TopBar", b = {
305
305
  topStripe: `${F}-topStripe`,
306
306
  titleBar: `${F}-titleBar`,
307
307
  titleSlider: `${F}-titleSlider`,
308
308
  titleText: `${F}-titleText`,
309
309
  leftPanelButton: `${F}-leftPanelButton`,
310
310
  rightPanelButton: `${F}-leftPanelButton`
311
- }, zt = X("div", {
311
+ }, jt = X("div", {
312
312
  shouldForwardProp: (e) => !["leftPanel", "rightPanel"].includes(e),
313
313
  name: F
314
314
  })(({ theme: e, leftPanel: t, rightPanel: n }) => {
@@ -317,12 +317,12 @@ const Ht = ({
317
317
  width: "100%",
318
318
  [`& .${b.topStripe}`]: {
319
319
  width: "100%",
320
- height: `${Rt}px`,
320
+ height: `${Xt}px`,
321
321
  backgroundColor: e.palette.primary.main
322
322
  },
323
323
  [`& .${b.titleBar}`]: {
324
324
  backgroundColor: e.palette.primary.light,
325
- height: `${Wt}px`,
325
+ height: `${qt}px`,
326
326
  padding: e.spacing(0, 3),
327
327
  width: "100%"
328
328
  },
@@ -360,13 +360,13 @@ const Ht = ({
360
360
  })
361
361
  };
362
362
  });
363
- function Gt({
363
+ function Qt({
364
364
  titleText: e = "",
365
365
  leftPanel: t,
366
366
  rightPanel: n,
367
367
  "data-testid": r
368
368
  }) {
369
- return /* @__PURE__ */ p(zt, { leftPanel: t, rightPanel: n, "data-testid": r, children: [
369
+ return /* @__PURE__ */ p(jt, { leftPanel: t, rightPanel: n, "data-testid": r, children: [
370
370
  /* @__PURE__ */ o("div", { className: b.topStripe }),
371
371
  /* @__PURE__ */ o("div", { className: b.titleBar, children: /* @__PURE__ */ p(A, { className: b.titleSlider, children: [
372
372
  t !== void 0 && !t.open && t.showOpenArrow && /* @__PURE__ */ p(
@@ -380,7 +380,7 @@ function Gt({
380
380
  size: "large",
381
381
  children: [
382
382
  " ",
383
- /* @__PURE__ */ o(ze, {})
383
+ /* @__PURE__ */ o(Ge, {})
384
384
  ]
385
385
  }
386
386
  ),
@@ -396,14 +396,14 @@ function Gt({
396
396
  size: "large",
397
397
  children: [
398
398
  " ",
399
- /* @__PURE__ */ o(Ge, {})
399
+ /* @__PURE__ */ o(Ue, {})
400
400
  ]
401
401
  }
402
402
  )
403
403
  ] }) })
404
404
  ] });
405
405
  }
406
- const je = 400, Ut = X(ut, {
406
+ const Ye = 400, Yt = X(xt, {
407
407
  shouldForwardProp: (e) => (
408
408
  // Note we do want anchor to be forwarded to the Drawer component
409
409
  ![
@@ -433,7 +433,7 @@ const je = 400, Ut = X(ut, {
433
433
  marginLeft: `${a}px`
434
434
  }))
435
435
  })
436
- ), Vt = X(A, {
436
+ ), Jt = X(A, {
437
437
  shouldForwardProp: (e) => !["anchor"].includes(e)
438
438
  })(({ theme: e, anchor: t }) => x(i({
439
439
  display: "flex",
@@ -460,7 +460,7 @@ function De({
460
460
  onClose: r = () => {
461
461
  },
462
462
  titleText: a = "",
463
- width: l = je,
463
+ width: l = Ye,
464
464
  showCloseArrow: c = !0,
465
465
  debugOpacity: u = !1,
466
466
  headerBoxProps: s = {},
@@ -472,7 +472,7 @@ function De({
472
472
  navBarWidthClosed: w = 0
473
473
  }) {
474
474
  return /* @__PURE__ */ p(
475
- Ut,
475
+ Yt,
476
476
  {
477
477
  SlideProps: {
478
478
  onEntered: () => d == null ? void 0 : d(),
@@ -488,15 +488,15 @@ function De({
488
488
  navBarWidthOpen: m,
489
489
  navBarWidthClosed: w,
490
490
  children: [
491
- /* @__PURE__ */ o(Vt, x(i({ anchor: t }, s), { children: t === "left" ? /* @__PURE__ */ p(_, { children: [
491
+ /* @__PURE__ */ o(Jt, x(i({ anchor: t }, s), { children: t === "left" ? /* @__PURE__ */ p(_, { children: [
492
492
  /* @__PURE__ */ o(y, { variant: "h6", color: "inherit", component: "div", children: a }),
493
493
  c && /* @__PURE__ */ p(V, { onClick: r, size: "large", "aria-label": "Close left side panel", children: [
494
- /* @__PURE__ */ o(Ge, { "data-testid": "arrowbackicon" }),
494
+ /* @__PURE__ */ o(Ue, { "data-testid": "arrowbackicon" }),
495
495
  " "
496
496
  ] })
497
497
  ] }) : /* @__PURE__ */ p(_, { children: [
498
498
  c && /* @__PURE__ */ p(V, { onClick: r, size: "large", "aria-label": "Close right side panel", children: [
499
- /* @__PURE__ */ o(ze, {}),
499
+ /* @__PURE__ */ o(Ge, {}),
500
500
  " "
501
501
  ] }),
502
502
  /* @__PURE__ */ o(y, { variant: "h6", color: "inherit", component: "div", children: a })
@@ -506,7 +506,7 @@ function De({
506
506
  }
507
507
  );
508
508
  }
509
- const Xt = X("div", {
509
+ const Kt = X("div", {
510
510
  shouldForwardProp: (e) => !["leftPanel", "rightPanel"].includes(e),
511
511
  name: "PanelAwareMargins"
512
512
  })(({ theme: e, leftPanel: t, rightPanel: n }) => {
@@ -529,7 +529,7 @@ const Xt = X("div", {
529
529
  }),
530
530
  marginRight: `${(a = n == null ? void 0 : n.width) != null ? a : 0}px`
531
531
  });
532
- }), qt = X(_e, {
532
+ }), Zt = X(Me, {
533
533
  name: "PageContainer"
534
534
  })(({ theme: e }) => ({
535
535
  // Horizontal padding comes from the Container's gutter
@@ -538,7 +538,7 @@ const Xt = X("div", {
538
538
  })), ue = !1, ge = !1, Z = {
539
539
  titleText: "",
540
540
  flavour: "push",
541
- width: je,
541
+ width: Ye,
542
542
  arrowButtons: "both",
543
543
  startOpen: !1,
544
544
  open: void 0,
@@ -548,7 +548,7 @@ const Xt = X("div", {
548
548
  onClosed: void 0,
549
549
  dataTestId: void 0
550
550
  };
551
- function qn({
551
+ function Qn({
552
552
  children: e,
553
553
  titleText: t = "",
554
554
  leftPanel: n,
@@ -562,8 +562,8 @@ function qn({
562
562
  navBarWidthOpen: v,
563
563
  navBarWidthClosed: f
564
564
  }) {
565
- const [C, m] = O(ue), [w, S] = O(ge), [D, I] = O(ue), [$, H] = O(ge), R = n !== void 0, W = r !== void 0, {
566
- titleText: T,
565
+ const [C, m] = O(ue), [w, S] = O(ge), [B, T] = O(ue), [$, H] = O(ge), R = n !== void 0, W = r !== void 0, {
566
+ titleText: I,
567
567
  content: q,
568
568
  flavour: j,
569
569
  open: z,
@@ -571,46 +571,46 @@ function qn({
571
571
  width: g,
572
572
  arrowButtons: h,
573
573
  startOpen: P,
574
- onOpened: et,
575
- onClosed: tt,
576
- dataTestId: nt
574
+ onOpened: at,
575
+ onClosed: st,
576
+ dataTestId: lt
577
577
  } = n ? i(i({}, Z), n) : i({}, Z), {
578
- titleText: ot,
579
- content: rt,
580
- flavour: fe,
578
+ titleText: dt,
579
+ content: ct,
580
+ flavour: me,
581
581
  open: ie,
582
- onChangeOpen: me,
582
+ onChangeOpen: ve,
583
583
  width: ae,
584
584
  arrowButtons: Q,
585
585
  startOpen: Y,
586
- onOpened: it,
587
- onClosed: at,
588
- dataTestId: st
586
+ onOpened: pt,
587
+ onClosed: ut,
588
+ dataTestId: gt
589
589
  } = r ? i(i({}, Z), r) : i({}, Z);
590
590
  ne(() => {
591
- P !== ue && (m(P), I(P));
591
+ P !== ue && (m(P), T(P));
592
592
  }, [P]), ne(() => {
593
593
  Y !== ge && (S(Y), H(Y));
594
594
  }, [Y]);
595
- const se = z === void 0 ? C : z, le = ie === void 0 ? w : ie, ve = (k) => {
595
+ const se = z === void 0 ? C : z, le = ie === void 0 ? w : ie, xe = (k) => {
596
596
  z === void 0 && (m(k), a && W && (k ? (S(!1), H(w)) : S($))), G && G(k);
597
- }, xe = (k) => {
598
- ie === void 0 && (S(k), a && R && (k ? (m(!1), I(C)) : m(D))), me && me(k);
597
+ }, Ce = (k) => {
598
+ ie === void 0 && (S(k), a && R && (k ? (m(!1), T(C)) : m(B))), ve && ve(k);
599
599
  };
600
600
  return /* @__PURE__ */ p(A, { children: [
601
601
  R && /* @__PURE__ */ o(
602
602
  De,
603
603
  {
604
- "data-testid": nt,
604
+ "data-testid": lt,
605
605
  anchor: "left",
606
606
  open: se,
607
- onClose: () => ve(!1),
607
+ onClose: () => xe(!1),
608
608
  width: g,
609
- titleText: T,
609
+ titleText: I,
610
610
  debugOpacity: l,
611
611
  showCloseArrow: h === "both" || h === "close",
612
- onOpened: et,
613
- onClosed: tt,
612
+ onOpened: at,
613
+ onClosed: st,
614
614
  navBarOpen: d,
615
615
  navBarWidthOpen: v,
616
616
  navBarWidthClosed: f,
@@ -620,24 +620,24 @@ function qn({
620
620
  W && /* @__PURE__ */ o(
621
621
  De,
622
622
  {
623
- "data-testid": st,
623
+ "data-testid": gt,
624
624
  anchor: "right",
625
625
  open: le,
626
- onClose: () => xe(!1),
626
+ onClose: () => Ce(!1),
627
627
  width: ae,
628
- titleText: ot,
628
+ titleText: dt,
629
629
  debugOpacity: l,
630
630
  showCloseArrow: Q === "both" || Q === "close",
631
- onOpened: it,
632
- onClosed: at,
631
+ onOpened: pt,
632
+ onClosed: ut,
633
633
  navBarOpen: d,
634
634
  navBarWidthOpen: v,
635
635
  navBarWidthClosed: f,
636
- children: rt
636
+ children: ct
637
637
  }
638
638
  ),
639
639
  /* @__PURE__ */ o(
640
- Gt,
640
+ Qt,
641
641
  i(i({
642
642
  titleText: t,
643
643
  "data-testid": s
@@ -645,41 +645,41 @@ function qn({
645
645
  leftPanel: {
646
646
  open: se,
647
647
  width: g,
648
- onOpen: () => ve(!0),
648
+ onOpen: () => xe(!0),
649
649
  showOpenArrow: h === "both" || h === "open"
650
650
  }
651
- } : {}), W && fe === "push" ? {
651
+ } : {}), W && me === "push" ? {
652
652
  rightPanel: {
653
653
  open: le,
654
654
  width: ae,
655
- onOpen: () => xe(!0),
655
+ onOpen: () => Ce(!0),
656
656
  showOpenArrow: Q === "both" || Q === "open"
657
657
  }
658
658
  } : {})
659
659
  ),
660
660
  /* @__PURE__ */ o(
661
- Xt,
661
+ Kt,
662
662
  x(i(i({}, j === "push" ? {
663
663
  leftPanel: {
664
664
  open: se,
665
665
  width: g
666
666
  }
667
- } : {}), fe === "push" ? {
667
+ } : {}), me === "push" ? {
668
668
  rightPanel: {
669
669
  open: le,
670
670
  width: ae
671
671
  }
672
672
  } : {}), {
673
- children: /* @__PURE__ */ o(qt, x(i({ "data-testid": u }, c), { children: e }))
673
+ children: /* @__PURE__ */ o(Zt, x(i({ "data-testid": u }, c), { children: e }))
674
674
  })
675
675
  )
676
676
  ] });
677
677
  }
678
- const jt = 64, Qt = 64, Yt = 256, Qe = B(!0), Jt = B(Yt), Kt = B(Qt), Zt = B(""), en = B(jt), tn = B(void 0), nn = "TopBar", on = {
679
- titleText: `${nn}-titleText`
678
+ const en = 64, tn = 64, nn = 256, fe = D(!0), Je = D(nn), Ke = D(tn), Ze = D(""), et = D(en), tt = D(void 0), on = "TopBar", rn = {
679
+ titleText: `${on}-titleText`
680
680
  };
681
- function rn({ titleText: e = "", height: t, "data-testid": n }) {
682
- const r = Dt(Qe);
681
+ function an({ titleText: e = "", height: t, "data-testid": n }) {
682
+ const r = Ft(fe);
683
683
  return /* @__PURE__ */ o("header", { "data-testid": n, children: /* @__PURE__ */ p(
684
684
  oe,
685
685
  {
@@ -697,8 +697,8 @@ function rn({ titleText: e = "", height: t, "data-testid": n }) {
697
697
  height: t
698
698
  },
699
699
  children: [
700
- /* @__PURE__ */ o(V, { size: "medium", color: "inherit", sx: { padding: 1.5 }, onClick: () => r((l) => !l), children: /* @__PURE__ */ o(Ot, { fontSize: "medium" }) }),
701
- /* @__PURE__ */ o(y, { className: on.titleText, variant: "h6", children: e })
700
+ /* @__PURE__ */ o(V, { size: "medium", color: "inherit", sx: { padding: 1.5 }, onClick: () => r((l) => !l), children: /* @__PURE__ */ o(Et, { fontSize: "medium" }) }),
701
+ /* @__PURE__ */ o(y, { className: rn.titleText, variant: "h6", children: e })
702
702
  ]
703
703
  }
704
704
  ) });
@@ -711,7 +711,7 @@ const ee = "Navbar", U = {
711
711
  // userInfoHolder: `${PREFIX}-userInfoHolder`,
712
712
  // settings: `${PREFIX}-settings`,
713
713
  // pieChartIcon: `${PREFIX}-pieChartIcon`,
714
- }, an = M("div", { name: "NavBar" })(({ theme: e }) => ({
714
+ }, sn = M("div", { name: "NavBar" })(({ theme: e }) => ({
715
715
  [`&.${U.root}`]: {
716
716
  display: "flex"
717
717
  },
@@ -730,7 +730,7 @@ const ee = "Navbar", U = {
730
730
  // marginTop: '64px',
731
731
  // marginBottom: '16px',
732
732
  // },
733
- })), Ye = (e, t) => {
733
+ })), nt = (e, t) => {
734
734
  var n, r;
735
735
  return {
736
736
  height: `calc(100vh - ${t})`,
@@ -741,34 +741,34 @@ const ee = "Navbar", U = {
741
741
  backgroundColor: (r = (n = e == null ? void 0 : e.navBar) == null ? void 0 : n.backgroundColor) != null ? r : "white"
742
742
  // Provide default so tests don't need to wrap theme provider
743
743
  };
744
- }, Be = (e, t, n) => i({
744
+ }, $e = (e, t, n) => i({
745
745
  width: t,
746
746
  transition: e.transitions.create("width", {
747
747
  easing: e.transitions.easing.sharp,
748
748
  duration: e.transitions.duration.enteringScreen
749
749
  })
750
- }, Ye(e, n)), $e = (e, t, n) => i({
750
+ }, nt(e, n)), ke = (e, t, n) => i({
751
751
  width: t,
752
752
  transition: e.transitions.create("width", {
753
753
  easing: e.transitions.easing.sharp,
754
754
  duration: e.transitions.duration.leavingScreen
755
755
  }),
756
756
  overflowX: "hidden"
757
- }, Ye(e, n)), sn = M(Re, {
757
+ }, nt(e, n)), ln = M(We, {
758
758
  shouldForwardProp: (e) => !["open", "widthOpen", "widthClosed", "offsetTop"].includes(e)
759
759
  })(({ theme: e, open: t, widthOpen: n, widthClosed: r, offsetTop: a }) => i(i({
760
760
  flexShrink: 0,
761
761
  whiteSpace: "nowrap",
762
762
  boxSizing: "border-box"
763
- }, t && x(i({}, Be(e, n, a)), {
764
- "& .MuiDrawer-paper": Be(e, n, a)
765
- })), !t && x(i({}, $e(e, r, a)), {
766
- "& .MuiDrawer-paper": $e(e, r, a)
763
+ }, t && x(i({}, $e(e, n, a)), {
764
+ "& .MuiDrawer-paper": $e(e, n, a)
765
+ })), !t && x(i({}, ke(e, r, a)), {
766
+ "& .MuiDrawer-paper": ke(e, r, a)
767
767
  })));
768
- function ln({ links: e }) {
768
+ function dn({ links: e }) {
769
769
  return /* @__PURE__ */ o("div", { children: "LinksMenu not implemented yet" });
770
770
  }
771
- function dn({
771
+ function cn({
772
772
  open: e,
773
773
  offsetTop: t = 0,
774
774
  widthOpen: n,
@@ -778,8 +778,8 @@ function dn({
778
778
  middle: c,
779
779
  bottom: u
780
780
  }) {
781
- return /* @__PURE__ */ o(an, { className: U.root, "data-testid": a, children: /* @__PURE__ */ o(
782
- sn,
781
+ return /* @__PURE__ */ o(sn, { className: U.root, "data-testid": a, children: /* @__PURE__ */ o(
782
+ ln,
783
783
  {
784
784
  variant: "permanent",
785
785
  anchor: "left",
@@ -790,18 +790,18 @@ function dn({
790
790
  children: /* @__PURE__ */ p(A, { component: "nav", sx: {}, children: [
791
791
  l && /* @__PURE__ */ p(A, { sx: { flexGrow: 1 }, children: [
792
792
  l,
793
- /* @__PURE__ */ o(Se, { variant: "middle" })
793
+ /* @__PURE__ */ o(Te, { variant: "middle" })
794
794
  ] }),
795
- Array.isArray(c) ? /* @__PURE__ */ o(ln, { links: c }) : c,
795
+ Array.isArray(c) ? /* @__PURE__ */ o(dn, { links: c }) : c,
796
796
  u && /* @__PURE__ */ p(A, { sx: {}, children: [
797
- /* @__PURE__ */ o(Se, { variant: "middle" }),
797
+ /* @__PURE__ */ o(Te, { variant: "middle" }),
798
798
  u
799
799
  ] })
800
800
  ] })
801
801
  }
802
802
  ) });
803
803
  }
804
- function cn({ children: e, topBarHeight: t }) {
804
+ function pn({ children: e, topBarHeight: t }) {
805
805
  return /* @__PURE__ */ o(
806
806
  A,
807
807
  {
@@ -813,7 +813,7 @@ function cn({ children: e, topBarHeight: t }) {
813
813
  flexGrow: 1
814
814
  },
815
815
  children: /* @__PURE__ */ o(
816
- _e,
816
+ Me,
817
817
  {
818
818
  component: "main",
819
819
  id: "main-content",
@@ -824,7 +824,7 @@ function cn({ children: e, topBarHeight: t }) {
824
824
  }
825
825
  );
826
826
  }
827
- function jn({
827
+ function Yn({
828
828
  children: e,
829
829
  initialTitleText: t,
830
830
  initialNavBarOpen: n,
@@ -834,17 +834,17 @@ function jn({
834
834
  navBarDataTestId: c,
835
835
  navBarMiddle: u
836
836
  }) {
837
- const [s, d] = E(Qe), [v] = E(Jt), [f] = E(Kt), [C, m] = E(Zt), [w] = E(en), [S] = E(tn);
837
+ const [s, d] = E(fe), [v] = E(Je), [f] = E(Ke), [C, m] = E(Ze), [w] = E(et), [S] = E(tt);
838
838
  return ne(() => {
839
839
  t !== void 0 && m(t);
840
840
  }, [t, m]), ne(() => {
841
841
  n !== void 0 && d(n);
842
842
  }, [n, d]), /* @__PURE__ */ p(A, { children: [
843
- /* @__PURE__ */ o(gt, {}),
844
- /* @__PURE__ */ o(rn, { titleText: C, "data-testid": l, height: w }),
843
+ /* @__PURE__ */ o(Ct, {}),
844
+ /* @__PURE__ */ o(an, { titleText: C, "data-testid": l, height: w }),
845
845
  /* @__PURE__ */ p(A, { sx: { display: "flex" }, children: [
846
846
  /* @__PURE__ */ o(
847
- dn,
847
+ cn,
848
848
  {
849
849
  open: s,
850
850
  top: S,
@@ -857,7 +857,7 @@ function jn({
857
857
  }
858
858
  ),
859
859
  /* @__PURE__ */ o(
860
- cn,
860
+ pn,
861
861
  x(i({
862
862
  "data-testid": a,
863
863
  topBarHeight: w
@@ -868,34 +868,34 @@ function jn({
868
868
  ] })
869
869
  ] });
870
870
  }
871
- const pn = {
871
+ const un = {
872
872
  autoHideDuration: 6e3,
873
873
  anchorOrigin: { vertical: "top", horizontal: "center" },
874
874
  // The default is false. If we prefer timer to continue when window loses
875
875
  // focus, change to true
876
876
  disableWindowBlurListener: !1
877
- }, un = {
877
+ }, gn = {
878
878
  shouldClose: (e, t) => t !== "clickaway"
879
- }, ke = {
879
+ }, Ne = {
880
880
  message: "",
881
881
  severity: "info",
882
882
  variant: "standard",
883
883
  progressIndicator: void 0
884
884
  // Can use 'circular' or 'linear'
885
- }, Ne = 100, Ee = 2e3, gn = 2e3, hn = (() => {
885
+ }, Ee = 100, Fe = 2e3, hn = 2e3, fn = (() => {
886
886
  let e = 0;
887
887
  return () => (e += 1, e);
888
- })(), fn = {
888
+ })(), mn = {
889
889
  borderBottomLeftRadius: "0px",
890
890
  borderBottomRightRadius: "0px"
891
- }, mn = {}, vn = {}, Je = Pe(null);
892
- function xn(l) {
891
+ }, vn = {}, xn = {}, ot = Le(null);
892
+ function Cn(l) {
893
893
  var c = l, {
894
- overrideState: e = mn,
895
- overrideActions: t = vn,
896
- shouldClose: n = un.shouldClose,
894
+ overrideState: e = vn,
895
+ overrideActions: t = xn,
896
+ shouldClose: n = gn.shouldClose,
897
897
  children: r
898
- } = c, a = be(c, [
898
+ } = c, a = Ae(c, [
899
899
  "overrideState",
900
900
  "overrideActions",
901
901
  "shouldClose",
@@ -905,14 +905,14 @@ function xn(l) {
905
905
  const [{ open: u }, s] = O({ open: !1 }), d = ce([]), v = ce(Date.now()), f = ce(0), C = te((g) => {
906
906
  s({ open: g });
907
907
  }, []), m = te((g = {}) => {
908
- f.current += 1, d.current.length >= Ne && Date.now() - v.current >= Ee && (v.current = Date.now(), console.error(
909
- `SaladBarProvider: MAX_QUEUE_LENGTH (${Ne}) hit ${f.current} times in last ${Ee}ms)`
908
+ f.current += 1, d.current.length >= Ee && Date.now() - v.current >= Fe && (v.current = Date.now(), console.error(
909
+ `SaladBarProvider: MAX_QUEUE_LENGTH (${Ee}) hit ${f.current} times in last ${Fe}ms)`
910
910
  ), f.current = 0);
911
- const h = i(x(i({}, ke), {
912
- key: hn()
911
+ const h = i(x(i({}, Ne), {
912
+ key: fn()
913
913
  }), g);
914
914
  return d.current.push(h), d.current.length === 1 && s({ open: !0 }), h.key;
915
- }, []), w = (g = "", h = {}) => m(i({ message: g, severity: "success" }, h)), S = (g = "", h = {}) => m(i({ message: g, severity: "info" }, h)), D = (g = "", h = {}) => m(i({ message: g, severity: "warning" }, h)), I = (g = "", h = {}) => m(i({ message: g, severity: "error" }, h)), $ = (g) => {
915
+ }, []), w = (g = "", h = {}) => m(i({ message: g, severity: "success" }, h)), S = (g = "", h = {}) => m(i({ message: g, severity: "info" }, h)), B = (g = "", h = {}) => m(i({ message: g, severity: "warning" }, h)), T = (g = "", h = {}) => m(i({ message: g, severity: "error" }, h)), $ = (g) => {
916
916
  const h = d.current.findIndex((P) => P.key === g);
917
917
  if (h !== -1)
918
918
  return h === 0 ? (s({ open: !1 }), d.current[0]) : d.current.splice(h, 1);
@@ -921,22 +921,22 @@ function xn(l) {
921
921
  }, R = () => {
922
922
  }, W = () => {
923
923
  d.current.shift(), d.current.length > 0 && s({ open: !0 });
924
- }, T = (G = d.current[0]) != null ? G : i({}, ke), q = {};
925
- "autoHideDuration" in T && (q.autoHideDuration = T.autoHideDuration);
926
- const j = i(i({}, pn), a), z = i(i({
924
+ }, I = (G = d.current[0]) != null ? G : i({}, Ne), q = {};
925
+ "autoHideDuration" in I && (q.autoHideDuration = I.autoHideDuration);
926
+ const j = i(i({}, un), a), z = i(i({
927
927
  open: u,
928
928
  setOpen: C,
929
929
  enqueueNotification: m,
930
930
  enqueueSuccessNotification: w,
931
931
  enqueueInfoNotification: S,
932
- enqueueWarningNotification: D,
933
- enqueueErrorNotification: I,
932
+ enqueueWarningNotification: B,
933
+ enqueueErrorNotification: T,
934
934
  removeNotification: $
935
935
  }, e), t);
936
- return /* @__PURE__ */ p(Je.Provider, { value: z, children: [
936
+ return /* @__PURE__ */ p(ot.Provider, { value: z, children: [
937
937
  r,
938
938
  /* @__PURE__ */ o(
939
- ht,
939
+ wt,
940
940
  x(i(i({}, j), q), {
941
941
  open: u,
942
942
  onClose: H,
@@ -944,43 +944,43 @@ function xn(l) {
944
944
  onExited: W,
945
945
  onExit: R
946
946
  },
947
- sx: { zIndex: gn },
947
+ sx: { zIndex: hn },
948
948
  children: /* @__PURE__ */ p("div", { children: [
949
949
  /* @__PURE__ */ o(
950
- ft,
950
+ bt,
951
951
  {
952
952
  onClose: (g) => H(g, "closeAlert"),
953
- severity: T.severity,
953
+ severity: I.severity,
954
954
  variant: "filled",
955
- icon: T.progressIndicator === "circular" ? /* @__PURE__ */ o(Me, { size: "1em" }) : void 0,
956
- style: T.progressIndicator === "linear" ? fn : void 0,
957
- children: T.message
955
+ icon: I.progressIndicator === "circular" ? /* @__PURE__ */ o(He, { size: "1em" }) : void 0,
956
+ style: I.progressIndicator === "linear" ? mn : void 0,
957
+ children: I.message
958
958
  }
959
959
  ),
960
- T.progressIndicator === "linear" && /* @__PURE__ */ o(mt, { color: "primary" })
960
+ I.progressIndicator === "linear" && /* @__PURE__ */ o(At, { color: "primary" })
961
961
  ] })
962
962
  })
963
963
  )
964
964
  ] });
965
965
  }
966
- function Cn() {
967
- const e = Le(Je);
966
+ function wn() {
967
+ const e = _e(ot);
968
968
  if (e === null)
969
969
  throw new he("Error: Tried to useSaladBar outside of a <SaladBarProvider>");
970
970
  return e;
971
971
  }
972
- const Qn = re(
973
- (e = { autoHideDuration: 1 }, t = {}, n = {}) => ({ children: r }) => /* @__PURE__ */ o(xn, x(i({}, e), { overrideState: t, overrideActions: n, children: r }))
974
- ), Ke = "domainCode";
975
- var ye;
976
- const Fe = B(
977
- JSON.parse((ye = localStorage.getItem(Ke)) != null ? ye : "{}").domainCode
978
- ), Ze = B(
979
- (e) => e(Fe),
972
+ const Jn = re(
973
+ (e = { autoHideDuration: 1 }, t = {}, n = {}) => ({ children: r }) => /* @__PURE__ */ o(Cn, x(i({}, e), { overrideState: t, overrideActions: n, children: r }))
974
+ ), bn = yt(), Kn = ({ children: e }) => /* @__PURE__ */ o(Ve, { store: bn, children: e }), rt = "domainCode";
975
+ var Pe;
976
+ const ye = D(
977
+ JSON.parse((Pe = localStorage.getItem(rt)) != null ? Pe : "{}").domainCode
978
+ ), it = D(
979
+ (e) => e(ye),
980
980
  (e, t, n) => {
981
- t(Fe, n), localStorage.setItem(Ke, JSON.stringify({ domainCode: n }));
981
+ t(ye, n), localStorage.setItem(rt, JSON.stringify({ domainCode: n }));
982
982
  }
983
- ), wn = {
983
+ ), An = {
984
984
  act: "ACT",
985
985
  nsw: "NSW",
986
986
  nt: "NT",
@@ -992,10 +992,10 @@ const Fe = B(
992
992
  ag: "AG",
993
993
  fedmps: "Fedmps",
994
994
  "": ""
995
- }, bn = (e) => {
995
+ }, Sn = (e) => {
996
996
  var t;
997
- return e === null ? "N/A" : (t = wn[e]) != null ? t : "";
998
- }, Yn = ({
997
+ return e === null ? "N/A" : (t = An[e]) != null ? t : "";
998
+ }, Zn = ({
999
999
  isLoading: e,
1000
1000
  isOpen: t,
1001
1001
  onClose: n,
@@ -1003,14 +1003,14 @@ const Fe = B(
1003
1003
  applicationName: a,
1004
1004
  handleLogout: l
1005
1005
  }) => {
1006
- const [c, u] = E(Ze), [s, d] = O(c), { enqueueSuccessNotification: v } = Cn(), f = r.length === 0, C = !!c && !r.includes(c) && !r.includes(s), m = !c || f || C, w = () => K(void 0, null, function* () {
1006
+ const [c, u] = E(it), [s, d] = O(c), { enqueueSuccessNotification: v } = wn(), f = r.length === 0, C = !!c && !r.includes(c) && !r.includes(s), m = !c || f || C, w = () => K(void 0, null, function* () {
1007
1007
  s ? (u(s), v(`Set domain to ${s}`), n()) : u("");
1008
1008
  }), S = () => K(void 0, null, function* () {
1009
1009
  c && !f && !C ? (d(c), n()) : m && l();
1010
1010
  });
1011
- let D;
1012
- return f ? D = "Unable to retrieve your active organisations. Try logging in again." : C && (D = "You no longer have any roles in your chosen organisation. Please choose another."), /* @__PURE__ */ p(
1013
- Ht,
1011
+ let B;
1012
+ return f ? B = "Unable to retrieve your active organisations. Try logging in again." : C && (B = "You no longer have any roles in your chosen organisation. Please choose another."), /* @__PURE__ */ p(
1013
+ Vt,
1014
1014
  {
1015
1015
  isOpen: t,
1016
1016
  dialogTitle: "Select an organisation",
@@ -1031,35 +1031,35 @@ const Fe = B(
1031
1031
  "."
1032
1032
  ] }),
1033
1033
  /* @__PURE__ */ o(
1034
- vt,
1034
+ St,
1035
1035
  {
1036
1036
  loading: e,
1037
1037
  multiple: !1,
1038
1038
  disableClearable: !1,
1039
1039
  value: s != null ? s : null,
1040
- onChange: (I, $) => d($ != null ? $ : ""),
1041
- getOptionLabel: bn,
1040
+ onChange: (T, $) => d($ != null ? $ : ""),
1041
+ getOptionLabel: Sn,
1042
1042
  options: [...r],
1043
- renderInput: (I) => /* @__PURE__ */ o(
1044
- xt,
1045
- x(i({}, I), {
1043
+ renderInput: (T) => /* @__PURE__ */ o(
1044
+ Tt,
1045
+ x(i({}, T), {
1046
1046
  variant: "filled",
1047
1047
  label: "Select organisation",
1048
- InputProps: x(i({}, I.InputProps), {
1048
+ InputProps: x(i({}, T.InputProps), {
1049
1049
  endAdornment: /* @__PURE__ */ p(_, { children: [
1050
- e ? /* @__PURE__ */ o(Me, { color: "inherit", size: 20, sx: { marginTop: "-20px" } }) : null,
1051
- I.InputProps.endAdornment
1050
+ e ? /* @__PURE__ */ o(He, { color: "inherit", size: 20, sx: { marginTop: "-20px" } }) : null,
1051
+ T.InputProps.endAdornment
1052
1052
  ] })
1053
1053
  })
1054
1054
  })
1055
1055
  )
1056
1056
  }
1057
1057
  ),
1058
- D && /* @__PURE__ */ o(Ct, { error: !0, children: D })
1058
+ B && /* @__PURE__ */ o(It, { error: !0, children: B })
1059
1059
  ]
1060
1060
  }
1061
1061
  );
1062
- }, Jn = He({
1062
+ }, eo = Re({
1063
1063
  palette: {
1064
1064
  primary: {
1065
1065
  dark: "#00A651",
@@ -1110,7 +1110,7 @@ const Fe = B(
1110
1110
  navBar: {
1111
1111
  backgroundColor: "#E8E8E8"
1112
1112
  }
1113
- }), Kn = He({
1113
+ }), to = Re({
1114
1114
  palette: {
1115
1115
  primary: {
1116
1116
  main: "#007236",
@@ -1201,18 +1201,24 @@ const Fe = B(
1201
1201
  navBar: {
1202
1202
  backgroundColor: "#E8E8E8"
1203
1203
  }
1204
- }), An = {
1205
- domainCode: Ze
1206
- }, Zn = re(() => ({ children: e }) => /* @__PURE__ */ o(Bt, { children: e })), Sn = ({
1204
+ }), Tn = {
1205
+ domainCode: it,
1206
+ navBarOpen: fe,
1207
+ navBarWidthOpen: Je,
1208
+ navBarWidthClosed: Ke,
1209
+ titleText: Ze,
1210
+ topBarHeight: et,
1211
+ navBarTop: tt
1212
+ }, no = re(() => ({ children: e }) => /* @__PURE__ */ o(Ve, { children: e })), In = ({
1207
1213
  initialValues: e,
1208
1214
  children: t
1209
- }) => ($t(e), /* @__PURE__ */ o(_, { children: t })), eo = re(
1215
+ }) => (Pt(e), /* @__PURE__ */ o(_, { children: t })), oo = re(
1210
1216
  (e) => ({ children: t }) => /* @__PURE__ */ o(
1211
- Sn,
1217
+ In,
1212
1218
  {
1213
1219
  initialValues: Object.entries(e).map(
1214
1220
  ([n, r]) => [
1215
- An[n],
1221
+ Tn[n],
1216
1222
  r
1217
1223
  ]
1218
1224
  ),
@@ -1221,37 +1227,38 @@ const Fe = B(
1221
1227
  )
1222
1228
  );
1223
1229
  export {
1224
- Ht as AgDialog,
1225
- jn as AppLayout,
1226
- Je as Context,
1230
+ Vt as AgDialog,
1231
+ Yn as AppLayout,
1232
+ Kn as AtomProvider,
1233
+ ot as Context,
1227
1234
  he as ContextError,
1228
- Yn as DomainCodeDialog,
1229
- zn as ExampleComponent,
1230
- Sn as HydrateAtoms,
1231
- Ve as NAVBAR_WIDTH_CLOSED,
1232
- Ue as NAVBAR_WIDTH_OPENED,
1233
- Xn as NavBar,
1234
- Un as NavBarDarkStyledList,
1235
- Vn as NavBarLightStyledList,
1236
- Lt as NavBarProvider,
1237
- qn as PageLayout,
1238
- xn as SaladBarProvider,
1239
- Mt as buildNavBarState,
1240
- Ze as domainCodeAtom,
1241
- Jn as fed21Theme,
1242
- Kn as internalAgSystemsTheme,
1235
+ Zn as DomainCodeDialog,
1236
+ Un as ExampleComponent,
1237
+ In as HydrateAtoms,
1238
+ qe as NAVBAR_WIDTH_CLOSED,
1239
+ Xe as NAVBAR_WIDTH_OPENED,
1240
+ jn as NavBar,
1241
+ Xn as NavBarDarkStyledList,
1242
+ qn as NavBarLightStyledList,
1243
+ zt as NavBarProvider,
1244
+ Qn as PageLayout,
1245
+ Cn as SaladBarProvider,
1246
+ Ut as buildNavBarState,
1247
+ it as domainCodeAtom,
1248
+ eo as fed21Theme,
1249
+ to as internalAgSystemsTheme,
1243
1250
  L as navBarClasses,
1244
- Qe as navBarOpenAtom,
1245
- tn as navBarTopAtom,
1246
- Kt as navBarWidthClosedAtom,
1247
- Jt as navBarWidthOpenAtom,
1248
- Zt as titleTextAtom,
1249
- en as topBarHeightAtom,
1250
- _t as useNavBar,
1251
- Cn as useSaladBar,
1252
- Zn as withAtomProvider,
1253
- Gn as withNavBarProvider,
1254
- eo as withOverrideDefaults,
1255
- Qn as withSaladBarProvider
1251
+ fe as navBarOpenAtom,
1252
+ tt as navBarTopAtom,
1253
+ Ke as navBarWidthClosedAtom,
1254
+ Je as navBarWidthOpenAtom,
1255
+ Ze as titleTextAtom,
1256
+ et as topBarHeightAtom,
1257
+ Gt as useNavBar,
1258
+ wn as useSaladBar,
1259
+ no as withAtomProvider,
1260
+ Vn as withNavBarProvider,
1261
+ oo as withOverrideDefaults,
1262
+ Jn as withSaladBarProvider
1256
1263
  };
1257
1264
  //# sourceMappingURL=index.js.map