@keycloak/keycloak-ui-shared 26.6.0 → 26.6.1

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.
@@ -1,11 +1,11 @@
1
1
  import { jsx as t, jsxs as k, Fragment as W } from "react/jsx-runtime";
2
- import { AlertGroup as Zt, Alert as en, AlertVariant as Be, AlertActionCloseButton as tn, Page as nn, Modal as vt, ModalVariant as rn, TextContent as an, Text as ke, Button as q, Spinner as Ct, FormHelperText as Ge, HelperText as We, HelperTextItem as ze, Popover as ln, Icon as Ne, FormGroup as kt, NumberInput as sn, ValidatedOptions as H, InputGroup as xe, InputGroupItem as _e, TextInput as Se, Select as Ee, SelectList as Ae, SelectOption as Je, MenuToggle as me, MenuToggleStatus as Ye, TextInputGroup as It, TextInputGroupMain as wt, ChipGroup as Qe, Chip as Xe, TextInputGroupUtilities as Tt, Switch as on, TextArea as xt, FileUpload as cn, Title as dn, Card as un, CardHeader as hn, CardTitle as pn, CardBody as mn, Grid as fn, GridItem as st, PageSection as gn, JumpLinks as yn, JumpLinksItem as bn, ButtonVariant as we, Checkbox as vn, Radio as Cn, MenuFooter as kn, Dropdown as In, DropdownList as wn, DropdownItem as ot, Masthead as Tn, MastheadToggle as xn, PageToggleButton as Sn, MastheadBrand as En, MastheadContent as An, Toolbar as Ie, ToolbarContent as qe, ToolbarItem as G, Avatar as Rn, Bullseye as Dn, EmptyState as On, EmptyStateIcon as ct, EmptyStateHeader as Fn, EmptyStateBody as Pn, EmptyStateFooter as Vn, EmptyStateActions as Mn, SearchInput as Ln, Divider as Bn, Pagination as Nn, Badge as _n } from "@patternfly/react-core";
3
- import { createContext as St, useContext as Et, useRef as Y, useEffect as se, useCallback as he, useState as A, useMemo as U, forwardRef as qn, useId as At, Fragment as Rt, Children as Dt, Component as $n, isValidElement as Un } from "react";
2
+ import { AlertGroup as Zt, Alert as en, AlertVariant as Be, AlertActionCloseButton as tn, Page as nn, Modal as vt, ModalVariant as rn, TextContent as an, Text as ke, Button as q, Spinner as Ct, FormHelperText as Ge, HelperText as We, HelperTextItem as ze, Popover as ln, Icon as Ne, FormGroup as kt, NumberInput as sn, ValidatedOptions as H, InputGroup as xe, InputGroupItem as _e, TextInput as Se, Select as Ae, SelectList as Ee, SelectOption as Je, MenuToggle as pe, MenuToggleStatus as Ye, TextInputGroup as It, TextInputGroupMain as wt, ChipGroup as Qe, Chip as Xe, TextInputGroupUtilities as Tt, Switch as on, TextArea as xt, FileUpload as cn, Title as dn, Card as un, CardHeader as hn, CardTitle as mn, CardBody as pn, Grid as fn, GridItem as st, PageSection as gn, JumpLinks as yn, JumpLinksItem as bn, ButtonVariant as we, Checkbox as vn, Radio as Cn, MenuFooter as kn, Dropdown as In, DropdownList as wn, DropdownItem as ot, Masthead as Tn, MastheadToggle as xn, PageToggleButton as Sn, MastheadBrand as An, MastheadContent as En, Toolbar as Ie, ToolbarContent as qe, ToolbarItem as G, Avatar as Rn, Bullseye as Dn, EmptyState as On, EmptyStateIcon as ct, EmptyStateHeader as Fn, EmptyStateBody as Pn, EmptyStateFooter as Vn, EmptyStateActions as Mn, SearchInput as Ln, Divider as Bn, Pagination as Nn, Badge as _n } from "@patternfly/react-core";
3
+ import { createContext as St, useContext as At, useRef as Y, useEffect as se, useCallback as he, useState as E, useMemo as U, forwardRef as qn, useId as Et, Fragment as Rt, Children as Dt, Component as $n, isValidElement as Un } from "react";
4
4
  import { useTranslation as $ } from "react-i18next";
5
5
  import { NetworkError as Ot } from "@keycloak/keycloak-admin-client";
6
6
  import Kn from "keycloak-js";
7
7
  import { ExclamationCircleIcon as Hn, ExclamationTriangleIcon as jn, HelpIcon as Gn, EyeIcon as Wn, EyeSlashIcon as zn, TimesIcon as Ft, CubeIcon as Jn, PaypalIcon as Yn, InstagramIcon as Qn, BitbucketIcon as Xn, MicrosoftIcon as Zn, TwitterIcon as er, StackOverflowIcon as tr, OpenshiftIcon as nr, LinkedinIcon as rr, GoogleIcon as ar, GitlabIcon as lr, FacebookSquareIcon as ir, GithubIcon as sr, MinusCircleIcon as or, PlusCircleIcon as Pt, EllipsisVIcon as cr, BarsIcon as dr, SearchIcon as ur, SyncAltIcon as hr } from "@patternfly/react-icons";
8
- import { useFormContext as Re, Controller as oe, useController as De, FormProvider as pr, useWatch as mr } from "react-hook-form";
8
+ import { useFormContext as Re, Controller as oe, useController as De, FormProvider as mr, useWatch as pr } from "react-hook-form";
9
9
  import { get as _, cloneDeep as fr, intersectionBy as gr } from "lodash-es";
10
10
  import ve from "@patternfly/react-styles/css/components/Avatar/avatar";
11
11
  import { css as yr } from "@patternfly/react-styles";
@@ -28,9 +28,9 @@ function Sr(e) {
28
28
  if (!(e instanceof Ot))
29
29
  return;
30
30
  const n = e.responseData;
31
- return Er(n);
31
+ return Ar(n);
32
32
  }
33
- function Er(e) {
33
+ function Ar(e) {
34
34
  if (typeof e == "object" && e !== null && Le in e && typeof e[Le] == "string")
35
35
  return e[Le];
36
36
  }
@@ -42,12 +42,12 @@ function Vt(e) {
42
42
  return r;
43
43
  }
44
44
  }
45
- const Ar = () => Math.floor(Math.random() * 1e3);
45
+ const Er = () => Math.floor(Math.random() * 1e3);
46
46
  function Rr(e) {
47
47
  return e != null;
48
48
  }
49
49
  function et(e) {
50
- const n = Et(e);
50
+ const n = At(e);
51
51
  if (Rr(n))
52
52
  return n;
53
53
  throw new Error(
@@ -109,10 +109,10 @@ const Fr = 8e3, Mt = Ze(
109
109
  "AlertContext",
110
110
  void 0
111
111
  ), qa = () => et(Mt), Pr = ({ children: e }) => {
112
- const { t: n } = $(), r = Dr(), [a, l] = A([]), i = (c) => l((u) => u.filter((d) => d.id !== c)), s = he(
112
+ const { t: n } = $(), r = Dr(), [a, l] = E([]), i = (c) => l((u) => u.filter((d) => d.id !== c)), s = he(
113
113
  (c, u = Be.success, d) => {
114
114
  const g = {
115
- id: Ar(),
115
+ id: Er(),
116
116
  message: c,
117
117
  variant: u,
118
118
  description: d
@@ -156,7 +156,7 @@ function Mr(e) {
156
156
  return e instanceof Error ? e.message : null;
157
157
  }
158
158
  function Lr(e, n, r) {
159
- const [a, l] = A(
159
+ const [a, l] = E(
160
160
  () => e.getItem(n) ?? r
161
161
  ), i = he((s) => {
162
162
  l(s), e.setItem(n, s);
@@ -195,7 +195,7 @@ const Bt = Ze(
195
195
  }, _r = () => St(void 0);
196
196
  let $e;
197
197
  const $a = () => {
198
- const e = Et($e);
198
+ const e = At($e);
199
199
  if (!e)
200
200
  throw Error(
201
201
  "no environment provider in the hierarchy make sure to add the provider"
@@ -207,7 +207,7 @@ const $a = () => {
207
207
  children: r
208
208
  }) => {
209
209
  $e = _r();
210
- const a = Y(!1), [l, i] = A(!!n), [s, o] = A(), h = U(() => {
210
+ const a = Y(!1), [l, i] = E(!!n), [s, o] = E(), h = U(() => {
211
211
  if (n)
212
212
  return n;
213
213
  const c = new Kn({
@@ -251,7 +251,7 @@ const Ha = ({
251
251
  children: c,
252
252
  ...u
253
253
  }) => {
254
- const [d, g] = A(!1);
254
+ const [d, g] = E(!1);
255
255
  return /* @__PURE__ */ k(W, { children: [
256
256
  /* @__PURE__ */ t(
257
257
  h,
@@ -416,7 +416,7 @@ const Q = ({
416
416
  innerRef: n,
417
417
  ...r
418
418
  }) => {
419
- const { t: a } = $(), [l, i] = A(!0);
419
+ const { t: a } = $(), [l, i] = E(!0);
420
420
  return /* @__PURE__ */ k(xe, { children: [
421
421
  /* @__PURE__ */ t(_e, { isFill: !0, children: /* @__PURE__ */ t(
422
422
  Se,
@@ -486,7 +486,7 @@ const Ga = (e) => {
486
486
  const {
487
487
  control: d,
488
488
  formState: { errors: g }
489
- } = Re(), [y, C] = A(!1), R = ce(i.rules?.required) === !0;
489
+ } = Re(), [y, C] = E(!1), R = ce(i.rules?.required) === !0;
490
490
  return /* @__PURE__ */ t(
491
491
  Q,
492
492
  {
@@ -502,21 +502,21 @@ const Ga = (e) => {
502
502
  ...i,
503
503
  name: n,
504
504
  control: d,
505
- render: ({ field: { onChange: v, value: p } }) => /* @__PURE__ */ t(
506
- Ee,
505
+ render: ({ field: { onChange: b, value: m } }) => /* @__PURE__ */ t(
506
+ Ae,
507
507
  {
508
508
  ...u,
509
509
  variant: "default",
510
510
  onClick: () => C(!y),
511
511
  onOpenChange: () => C(!1),
512
512
  selected: re(a) ? a.filter(
513
- (b) => Array.isArray(p) ? p.includes(b.key) : p === b.key
514
- ).map((b) => b.value) : p,
515
- toggle: (b) => /* @__PURE__ */ t(
516
- me,
513
+ (v) => Array.isArray(m) ? m.includes(v.key) : m === v.key
514
+ ).map((v) => v.value) : m,
515
+ toggle: (v) => /* @__PURE__ */ t(
516
+ pe,
517
517
  {
518
518
  id: e || n,
519
- ref: b,
519
+ ref: v,
520
520
  onClick: () => C(!y),
521
521
  isExpanded: y,
522
522
  isFullWidth: h,
@@ -524,23 +524,23 @@ const Ga = (e) => {
524
524
  "aria-label": r,
525
525
  isDisabled: o,
526
526
  children: re(a) ? a.find(
527
- (E) => E.key === (Array.isArray(p) ? p[0] : p)
528
- )?.value : p
527
+ (A) => A.key === (Array.isArray(m) ? m[0] : m)
528
+ )?.value : m
529
529
  }
530
530
  ),
531
- onSelect: (b, E) => {
532
- const I = E?.toString(), f = Array.isArray(p) ? [I] : I;
533
- c ? c(f, v) : v(f), C(!1);
531
+ onSelect: (v, A) => {
532
+ const I = A?.toString(), f = Array.isArray(m) ? [I] : I;
533
+ c ? c(f, b) : b(f), C(!1);
534
534
  },
535
535
  isOpen: y,
536
- children: /* @__PURE__ */ t(Ae, { "data-testid": `select-${n}`, children: [...a, ...l].map((b) => /* @__PURE__ */ t(
536
+ children: /* @__PURE__ */ t(Ee, { "data-testid": `select-${n}`, children: [...a, ...l].map((v) => /* @__PURE__ */ t(
537
537
  Je,
538
538
  {
539
- value: ie(b),
540
- description: !pe(b) && "description" in b ? b.description : void 0,
541
- children: pe(b) ? b : b.value
539
+ value: ie(v),
540
+ description: !me(v) && "description" in v ? v.description : void 0,
541
+ children: me(v) ? v : v.value
542
542
  },
543
- ie(b)
543
+ ie(v)
544
544
  )) })
545
545
  }
546
546
  )
@@ -548,7 +548,7 @@ const Ga = (e) => {
548
548
  )
549
549
  }
550
550
  );
551
- }, ne = (e) => pe(e) ? e : e.value, Ur = ({
551
+ }, ne = (e) => me(e) ? e : e.value, Ur = ({
552
552
  id: e,
553
553
  name: n,
554
554
  label: r,
@@ -565,28 +565,28 @@ const Ga = (e) => {
565
565
  const {
566
566
  control: g,
567
567
  formState: { errors: y }
568
- } = Re(), [C, R] = A(!1), [v, p] = A(""), [b, E] = A(0), [I, f] = A([]), T = Y(), V = ce(i.rules?.required) === !0, O = c === ue.typeaheadMulti, D = U(
568
+ } = Re(), [C, R] = E(!1), [b, m] = E(""), [v, A] = E(0), [I, f] = E([]), T = Y(), V = ce(i.rules?.required) === !0, O = c === ue.typeaheadMulti, D = U(
569
569
  () => [
570
570
  ...a.filter(
571
- (m) => !l.map((x) => ne(x)).includes(ne(m))
571
+ (p) => !l.map((x) => ne(x)).includes(ne(p))
572
572
  ),
573
573
  ...l
574
574
  ],
575
575
  [l, a]
576
576
  ), j = D.filter(
577
- (m) => ne(m).toLowerCase().startsWith(v.toLowerCase())
578
- ), F = (m, x) => {
579
- x.value.includes(m) ? (x.onChange(x.value.filter((S) => S !== m)), re(a) && f(
580
- I.filter((S) => S.key !== m)
581
- )) : (x.onChange([...x.value, m]), re(D) && f([
577
+ (p) => ne(p).toLowerCase().startsWith(b.toLowerCase())
578
+ ), F = (p, x) => {
579
+ x.value.includes(p) ? (x.onChange(x.value.filter((S) => S !== p)), re(a) && f(
580
+ I.filter((S) => S.key !== p)
581
+ )) : (x.onChange([...x.value, p]), re(D) && f([
582
582
  ...I,
583
- D.find((S) => S.key === m)
583
+ D.find((S) => S.key === p)
584
584
  ]));
585
- }, B = (m, x) => {
586
- const S = j[b];
587
- switch (R(!0), m.key) {
585
+ }, B = (p, x) => {
586
+ const S = j[v];
587
+ switch (R(!0), p.key) {
588
588
  case "Enter": {
589
- m.preventDefault(), p(O ? "" : ne(S)), F(ie(S), x), R(!1), E(0);
589
+ p.preventDefault(), m(O ? "" : ne(S)), F(ie(S), x), R(!1), A(0);
590
590
  break;
591
591
  }
592
592
  case "Tab":
@@ -600,9 +600,9 @@ const Ga = (e) => {
600
600
  }
601
601
  case "ArrowUp":
602
602
  case "ArrowDown": {
603
- m.preventDefault();
603
+ p.preventDefault();
604
604
  let L = 0;
605
- m.key === "ArrowUp" && (b === 0 ? L = a.length - 1 : L = b - 1), m.key === "ArrowDown" && (b === a.length - 1 ? L = 0 : L = b + 1), E(L);
605
+ p.key === "ArrowUp" && (v === 0 ? L = a.length - 1 : L = v - 1), p.key === "ArrowDown" && (v === a.length - 1 ? L = 0 : L = v + 1), A(L);
606
606
  break;
607
607
  }
608
608
  }
@@ -622,17 +622,17 @@ const Ga = (e) => {
622
622
  ...i,
623
623
  name: n,
624
624
  control: g,
625
- render: ({ field: m }) => /* @__PURE__ */ t(
626
- Ee,
625
+ render: ({ field: p }) => /* @__PURE__ */ t(
626
+ Ae,
627
627
  {
628
628
  ...d,
629
629
  onOpenChange: () => R(!1),
630
630
  selected: re(D) ? D.filter(
631
- (x) => Array.isArray(m.value) ? m.value.includes(x.key) : m.value === x.key
632
- ).map((x) => x.value) : m.value,
631
+ (x) => Array.isArray(p.value) ? p.value.includes(x.key) : p.value === x.key
632
+ ).map((x) => x.value) : p.value,
633
633
  shouldFocusFirstItemOnOpen: !1,
634
634
  toggle: (x) => /* @__PURE__ */ t(
635
- me,
635
+ pe,
636
636
  {
637
637
  ref: x,
638
638
  id: e || n,
@@ -648,26 +648,26 @@ const Ga = (e) => {
648
648
  wt,
649
649
  {
650
650
  placeholder: o,
651
- value: c === ue.typeahead && m.value ? re(D) ? D.find(
652
- (S) => S.key === (Array.isArray(m.value) ? m.value[0] : m.value)
653
- )?.value : m.value : v,
651
+ value: c === ue.typeahead && p.value ? re(D) ? D.find(
652
+ (S) => S.key === (Array.isArray(p.value) ? p.value[0] : p.value)
653
+ )?.value : p.value : b,
654
654
  onClick: () => R(!C),
655
655
  onChange: (S, L) => {
656
- p(L), h?.(L);
656
+ m(L), h?.(L);
657
657
  },
658
- onKeyDown: (S) => B(S, m),
658
+ onKeyDown: (S) => B(S, p),
659
659
  autoComplete: "off",
660
660
  innerRef: T,
661
661
  role: "combobox",
662
662
  isExpanded: C,
663
663
  "aria-controls": "select-typeahead-listbox",
664
- children: c === ue.typeaheadMulti && Array.isArray(m.value) && /* @__PURE__ */ t(Qe, { "aria-label": "Current selections", children: m.value.map(
664
+ children: c === ue.typeaheadMulti && Array.isArray(p.value) && /* @__PURE__ */ t(Qe, { "aria-label": "Current selections", children: p.value.map(
665
665
  (S, L) => /* @__PURE__ */ t(
666
666
  Xe,
667
667
  {
668
668
  onClick: (N) => {
669
- N.stopPropagation(), m.onChange(
670
- m.value.filter(
669
+ N.stopPropagation(), p.onChange(
670
+ p.value.filter(
671
671
  (Z) => Z !== ie(S)
672
672
  )
673
673
  );
@@ -682,12 +682,12 @@ const Ga = (e) => {
682
682
  ) })
683
683
  }
684
684
  ),
685
- /* @__PURE__ */ t(Tt, { children: (!!v || m.value) && /* @__PURE__ */ t(
685
+ /* @__PURE__ */ t(Tt, { children: (!!b || p.value) && /* @__PURE__ */ t(
686
686
  q,
687
687
  {
688
688
  variant: "plain",
689
689
  onClick: () => {
690
- p(""), m.onChange(O ? [] : ""), T?.current?.focus();
690
+ m(""), p.onChange(O ? [] : ""), T?.current?.focus();
691
691
  },
692
692
  "aria-label": "Clear input value",
693
693
  children: /* @__PURE__ */ t(Ft, { "aria-hidden": !0 })
@@ -699,16 +699,16 @@ const Ga = (e) => {
699
699
  onSelect: (x, S) => {
700
700
  x?.stopPropagation();
701
701
  const L = S?.toString();
702
- O && Array.isArray(m.value) ? (p(""), F(L || "", m)) : (m.onChange(Array.isArray(m.value) ? [L] : L), R(!1));
702
+ O && Array.isArray(p.value) ? (m(""), F(L || "", p)) : (p.onChange(Array.isArray(p.value) ? [L] : L), R(!1));
703
703
  },
704
704
  isOpen: C,
705
- children: /* @__PURE__ */ t(Ae, { children: j.map((x, S) => /* @__PURE__ */ t(
705
+ children: /* @__PURE__ */ t(Ee, { children: j.map((x, S) => /* @__PURE__ */ t(
706
706
  Je,
707
707
  {
708
708
  value: ie(x),
709
- isFocused: b === S,
710
- isActive: m.value.includes(ne(x)),
711
- description: !pe(x) && "description" in x ? x.description : void 0,
709
+ isFocused: v === S,
710
+ isActive: p.value.includes(ne(x)),
711
+ description: !me(x) && "description" in x ? x.description : void 0,
712
712
  children: ne(x)
713
713
  },
714
714
  ie(x)
@@ -721,7 +721,7 @@ const Ga = (e) => {
721
721
  );
722
722
  };
723
723
  var ue = /* @__PURE__ */ ((e) => (e.single = "single", e.typeahead = "typeahead", e.typeaheadMulti = "typeaheadMulti", e))(ue || {});
724
- const re = (e) => typeof e[0] != "string", pe = (e) => typeof e == "string", ie = (e) => pe(e) ? e : e.key, Kr = ({
724
+ const re = (e) => typeof e[0] != "string", me = (e) => typeof e == "string", ie = (e) => me(e) ? e : e.key, Kr = ({
725
725
  variant: e = "single",
726
726
  ...n
727
727
  }) => e === "single" ? /* @__PURE__ */ t($r, { ...n }) : /* @__PURE__ */ t(Ur, { ...n, variant: e }), Ue = (e) => e && typeof e == "string" ? e.includes("${") : !1, Ke = (e) => e.substring(2, e.length - 1), ae = (e, n, r, a) => {
@@ -863,7 +863,7 @@ const Ya = ({
863
863
  }
864
864
  );
865
865
  }, Gr = xt, Za = (e) => {
866
- const { labelIcon: n, ...r } = e, a = !!ce(e.rules?.required), l = e.defaultValue ?? "", { t: i } = $(), [s, o] = A(""), { field: h, fieldState: c } = De({
866
+ const { labelIcon: n, ...r } = e, a = !!ce(e.rules?.required), l = e.defaultValue ?? "", { t: i } = $(), [s, o] = E(""), { field: h, fieldState: c } = De({
867
867
  ...e,
868
868
  defaultValue: l
869
869
  });
@@ -958,10 +958,10 @@ const zr = "_title_180i0_2", Jr = {
958
958
  scrollId: r,
959
959
  className: a
960
960
  }) => {
961
- const l = At();
961
+ const l = Et();
962
962
  return /* @__PURE__ */ k(un, { id: l, className: a, isFlat: !0, children: [
963
- /* @__PURE__ */ t(hn, { className: "kc-form-panel__header", children: /* @__PURE__ */ t(pn, { tabIndex: 0, children: /* @__PURE__ */ t(Ut, { id: r, title: e }) }) }),
964
- /* @__PURE__ */ t(mn, { className: "kc-form-panel__body", children: n })
963
+ /* @__PURE__ */ t(hn, { className: "kc-form-panel__header", children: /* @__PURE__ */ t(mn, { tabIndex: 0, children: /* @__PURE__ */ t(Ut, { id: r, title: e }) }) }),
964
+ /* @__PURE__ */ t(pn, { className: "kc-form-panel__body", children: n })
965
965
  ] });
966
966
  }, Qr = (e) => {
967
967
  const { title: n, children: r, scrollId: a, ...l } = e;
@@ -972,7 +972,7 @@ const zr = "_title_180i0_2", Jr = {
972
972
  }, Xr = "_panel_1cdve_1", Zr = "_sticky_1cdve_5", ht = {
973
973
  panel: Xr,
974
974
  sticky: Zr
975
- }, ea = "kc-main-content-page-container", pt = (e) => e.replace(/\s+/g, "-"), ta = ({
975
+ }, ea = "kc-main-content-page-container", mt = (e) => e.replace(/\s+/g, "-"), ta = ({
976
976
  label: e,
977
977
  sections: n,
978
978
  borders: r = !1,
@@ -984,7 +984,7 @@ const zr = "_title_180i0_2", Jr = {
984
984
  );
985
985
  return /* @__PURE__ */ k(fn, { hasGutter: !0, ...a, children: [
986
986
  /* @__PURE__ */ t(st, { md: 8, sm: 12, children: l.map(({ title: i, panel: s }) => {
987
- const o = pt(i.toLowerCase());
987
+ const o = mt(i.toLowerCase());
988
988
  return /* @__PURE__ */ t(Rt, { children: r ? /* @__PURE__ */ t(
989
989
  Yr,
990
990
  {
@@ -1003,7 +1003,7 @@ const zr = "_title_180i0_2", Jr = {
1003
1003
  label: e,
1004
1004
  offset: 100,
1005
1005
  children: l.map(({ title: i }) => {
1006
- const s = pt(i.toLowerCase());
1006
+ const s = mt(i.toLowerCase());
1007
1007
  return /* @__PURE__ */ t(
1008
1008
  bn,
1009
1009
  {
@@ -1058,7 +1058,7 @@ const zr = "_title_180i0_2", Jr = {
1058
1058
  })).sort((i, s) => i.value.localeCompare(s.value, a)),
1059
1059
  [r, a, e]
1060
1060
  );
1061
- return l.length ? /* @__PURE__ */ t(pr, { ...n, children: /* @__PURE__ */ t(
1061
+ return l.length ? /* @__PURE__ */ t(mr, { ...n, children: /* @__PURE__ */ t(
1062
1062
  Kr,
1063
1063
  {
1064
1064
  "data-testid": "locale-select",
@@ -1135,35 +1135,35 @@ const zr = "_title_180i0_2", Jr = {
1135
1135
  id: o,
1136
1136
  ...h
1137
1137
  }) => {
1138
- const { register: c, setValue: u, control: d } = a, g = mr({
1138
+ const { register: c, setValue: u, control: d } = a, g = pr({
1139
1139
  name: n,
1140
1140
  control: d,
1141
1141
  defaultValue: s || ""
1142
- }), y = U(() => Array.isArray(g) && g.length !== 0 ? g : s || [""], [g]), C = (E) => {
1143
- p([...y.slice(0, E), ...y.slice(E + 1)]);
1142
+ }), y = U(() => Array.isArray(g) && g.length !== 0 ? g : s || [""], [g]), C = (A) => {
1143
+ m([...y.slice(0, A), ...y.slice(A + 1)]);
1144
1144
  }, R = () => {
1145
- p([...y, ""]);
1146
- }, v = (E, I) => {
1147
- p([...y.slice(0, E), I, ...y.slice(E + 1)]);
1148
- }, p = (E) => {
1149
- const I = E.flatMap((f) => f);
1145
+ m([...y, ""]);
1146
+ }, b = (A, I) => {
1147
+ m([...y.slice(0, A), I, ...y.slice(A + 1)]);
1148
+ }, m = (A) => {
1149
+ const I = A.flatMap((f) => f);
1150
1150
  u(n, I, {
1151
1151
  shouldDirty: !0
1152
1152
  });
1153
- }, b = r.startsWith("html") ? r.substring(6) : "text";
1153
+ }, v = r.startsWith("html") ? r.substring(6) : "text";
1154
1154
  return se(() => {
1155
1155
  c(n);
1156
- }, [c]), /* @__PURE__ */ t("div", { id: o, children: y.map((E, I) => /* @__PURE__ */ k(Rt, { children: [
1156
+ }, [c]), /* @__PURE__ */ t("div", { id: o, children: y.map((A, I) => /* @__PURE__ */ k(Rt, { children: [
1157
1157
  /* @__PURE__ */ k(xe, { children: [
1158
1158
  /* @__PURE__ */ t(_e, { isFill: !0, children: /* @__PURE__ */ t(
1159
1159
  Se,
1160
1160
  {
1161
1161
  "data-testid": n + I,
1162
- onChange: (f, T) => v(I, T),
1162
+ onChange: (f, T) => b(I, T),
1163
1163
  name: `${n}.${I}.value`,
1164
- value: E,
1164
+ value: A,
1165
1165
  isDisabled: i,
1166
- type: b,
1166
+ type: v,
1167
1167
  ...h
1168
1168
  }
1169
1169
  ) }),
@@ -1188,7 +1188,7 @@ const zr = "_title_180i0_2", Jr = {
1188
1188
  tabIndex: -1,
1189
1189
  "aria-label": e("add"),
1190
1190
  "data-testid": "addValue",
1191
- isDisabled: !E || i,
1191
+ isDisabled: !A || i,
1192
1192
  children: [
1193
1193
  /* @__PURE__ */ t(Pt, {}),
1194
1194
  " ",
@@ -1197,7 +1197,7 @@ const zr = "_title_180i0_2", Jr = {
1197
1197
  }
1198
1198
  )
1199
1199
  ] }, I)) });
1200
- }, mt = (e) => {
1200
+ }, pt = (e) => {
1201
1201
  const { form: n, inputType: r, attribute: a } = e, l = Oe(a), i = r.startsWith("multiselect"), s = i ? vn : Cn, o = a.validators?.options?.options || [], h = a.annotations?.inputOptionLabels || {}, c = a.annotations?.inputOptionLabelsI18nPrefix;
1202
1202
  return /* @__PURE__ */ t(fe, { ...e, children: /* @__PURE__ */ t(
1203
1203
  oe,
@@ -1241,48 +1241,48 @@ const zr = "_title_180i0_2", Jr = {
1241
1241
  children: g,
1242
1242
  ...y
1243
1243
  }) => {
1244
- const [C, R] = A(!1), v = Y(), p = () => {
1244
+ const [C, R] = E(!1), b = Y(), m = () => {
1245
1245
  R(!C), n(!C);
1246
- }, b = () => i === "parent" && v.current?.parentElement || "inline", E = Dt.toArray(
1246
+ }, v = () => i === "parent" && b.current?.parentElement || "inline", A = Dt.toArray(
1247
1247
  g
1248
1248
  );
1249
1249
  return /* @__PURE__ */ t(
1250
- Ee,
1250
+ Ae,
1251
1251
  {
1252
- ref: v,
1252
+ ref: b,
1253
1253
  maxMenuHeight: Te(h),
1254
1254
  isScrollable: !0,
1255
1255
  popperProps: {
1256
- appendTo: b(),
1256
+ appendTo: v(),
1257
1257
  direction: s,
1258
1258
  width: Te(o)
1259
1259
  },
1260
1260
  ...y,
1261
- onClick: p,
1261
+ onClick: m,
1262
1262
  onOpenChange: (I) => {
1263
- I !== C && p();
1263
+ I !== C && m();
1264
1264
  },
1265
1265
  selected: a,
1266
1266
  onSelect: (I, f) => {
1267
- r?.(f || ""), p();
1267
+ r?.(f || ""), m();
1268
1268
  },
1269
1269
  toggle: (I) => /* @__PURE__ */ t(
1270
- me,
1270
+ pe,
1271
1271
  {
1272
1272
  id: e,
1273
1273
  ref: I,
1274
1274
  className: u,
1275
- onClick: p,
1275
+ onClick: m,
1276
1276
  isExpanded: l,
1277
1277
  "aria-label": y["aria-label"],
1278
1278
  icon: c,
1279
1279
  isDisabled: d,
1280
1280
  isFullWidth: !0,
1281
- children: E.find((f) => f.props.value === a)?.props.children || a || y["aria-label"]
1281
+ children: A.find((f) => f.props.value === a)?.props.children || a || y["aria-label"]
1282
1282
  }
1283
1283
  ),
1284
1284
  isOpen: l,
1285
- children: /* @__PURE__ */ t(Ae, { children: g })
1285
+ children: /* @__PURE__ */ t(Ee, { children: g })
1286
1286
  }
1287
1287
  );
1288
1288
  }, oa = ({
@@ -1302,14 +1302,14 @@ const zr = "_title_180i0_2", Jr = {
1302
1302
  chipGroupComponent: y,
1303
1303
  chipGroupProps: C,
1304
1304
  footer: R,
1305
- isDisabled: v,
1306
- children: p,
1307
- ...b
1305
+ isDisabled: b,
1306
+ children: m,
1307
+ ...v
1308
1308
  }) => {
1309
- const [E, I] = A(""), [f, T] = A(0), V = Y(), O = Dt.toArray(
1310
- p
1309
+ const [A, I] = E(""), [f, T] = E(0), V = Y(), O = Dt.toArray(
1310
+ m
1311
1311
  ), D = () => {
1312
- r?.(!b.isOpen);
1312
+ r?.(!v.isOpen);
1313
1313
  }, j = (F) => {
1314
1314
  const B = O[f];
1315
1315
  switch (r?.(!0), F.key) {
@@ -1328,16 +1328,16 @@ const zr = "_title_180i0_2", Jr = {
1328
1328
  case "ArrowUp":
1329
1329
  case "ArrowDown": {
1330
1330
  F.preventDefault();
1331
- let m = 0;
1332
- F.key === "ArrowUp" && (f === 0 ? m = O.length - 1 : m = f - 1), F.key === "ArrowDown" && (f === O.length - 1 ? m = 0 : m = f + 1), T(m);
1331
+ let p = 0;
1332
+ F.key === "ArrowUp" && (f === 0 ? p = O.length - 1 : p = f - 1), F.key === "ArrowDown" && (f === O.length - 1 ? p = 0 : p = f + 1), T(p);
1333
1333
  break;
1334
1334
  }
1335
1335
  }
1336
1336
  };
1337
1337
  return /* @__PURE__ */ k(
1338
- Ee,
1338
+ Ae,
1339
1339
  {
1340
- ...b,
1340
+ ...v,
1341
1341
  onClick: D,
1342
1342
  onOpenChange: (F) => r?.(F),
1343
1343
  onSelect: (F, B) => {
@@ -1346,15 +1346,15 @@ const zr = "_title_180i0_2", Jr = {
1346
1346
  maxMenuHeight: Te(o),
1347
1347
  popperProps: { direction: u, width: Te(h) },
1348
1348
  toggle: (F) => /* @__PURE__ */ t(
1349
- me,
1349
+ pe,
1350
1350
  {
1351
1351
  ref: F,
1352
1352
  id: e,
1353
1353
  variant: "typeahead",
1354
1354
  onClick: () => r?.(!0),
1355
1355
  icon: c,
1356
- isDisabled: v,
1357
- isExpanded: b.isOpen,
1356
+ isDisabled: b,
1357
+ isExpanded: v.isOpen,
1358
1358
  isFullWidth: !0,
1359
1359
  status: i === "error" ? Ye.danger : void 0,
1360
1360
  children: /* @__PURE__ */ k(It, { isPlain: !0, children: [
@@ -1362,19 +1362,19 @@ const zr = "_title_180i0_2", Jr = {
1362
1362
  wt,
1363
1363
  {
1364
1364
  placeholder: s,
1365
- value: l === J.typeahead && d ? d : E,
1365
+ value: l === J.typeahead && d ? d : A,
1366
1366
  onClick: D,
1367
- onChange: (B, m) => {
1368
- I(m), a?.(m);
1367
+ onChange: (B, p) => {
1368
+ I(p), a?.(p);
1369
1369
  },
1370
1370
  onKeyDown: (B) => j(B),
1371
1371
  autoComplete: "off",
1372
1372
  innerRef: V,
1373
1373
  role: "combobox",
1374
- isExpanded: b.isOpen,
1374
+ isExpanded: v.isOpen,
1375
1375
  "aria-controls": "select-typeahead-listbox",
1376
1376
  "aria-label": g,
1377
- children: l === J.typeaheadMulti && Array.isArray(d) && (y || /* @__PURE__ */ t(Qe, { ...C, children: d.map((B, m) => /* @__PURE__ */ t(
1377
+ children: l === J.typeaheadMulti && Array.isArray(d) && (y || /* @__PURE__ */ t(Qe, { ...C, children: d.map((B, p) => /* @__PURE__ */ t(
1378
1378
  Xe,
1379
1379
  {
1380
1380
  onClick: (x) => {
@@ -1382,11 +1382,11 @@ const zr = "_title_180i0_2", Jr = {
1382
1382
  },
1383
1383
  children: B
1384
1384
  },
1385
- m
1385
+ p
1386
1386
  )) }))
1387
1387
  }
1388
1388
  ),
1389
- /* @__PURE__ */ t(Tt, { children: !!E && /* @__PURE__ */ t(
1389
+ /* @__PURE__ */ t(Tt, { children: !!A && /* @__PURE__ */ t(
1390
1390
  q,
1391
1391
  {
1392
1392
  variant: "plain",
@@ -1401,7 +1401,7 @@ const zr = "_title_180i0_2", Jr = {
1401
1401
  }
1402
1402
  ),
1403
1403
  children: [
1404
- /* @__PURE__ */ t(Ae, { children: p }),
1404
+ /* @__PURE__ */ t(Ee, { children: m }),
1405
1405
  R && /* @__PURE__ */ t(kn, { children: R })
1406
1406
  ]
1407
1407
  }
@@ -1412,18 +1412,18 @@ const Te = (e) => typeof e == "number" ? e + "px" : e, ca = ({
1412
1412
  variant: e = "single",
1413
1413
  ...n
1414
1414
  }) => e === "single" ? /* @__PURE__ */ t(sa, { ...n }) : /* @__PURE__ */ t(oa, { ...n, variant: e }), ft = (e) => {
1415
- const { t: n, form: r, inputType: a, attribute: l } = e, [i, s] = A(!1), [o, h] = A(""), c = a === "multiselect", u = (v, p) => {
1416
- c ? p.value?.includes(v) ? p.onChange(p.value.filter((b) => b !== v)) : Array.isArray(p.value) ? p.onChange([...p.value, v]) : p.onChange([v]) : p.onChange(v === p.value ? "" : v);
1417
- }, d = l.validators?.options?.options || [], g = l.annotations?.inputOptionLabels || {}, y = l.annotations?.inputOptionLabelsI18nPrefix, C = (v) => ae(e.t, g[v], v, y), R = (v) => d.filter(
1418
- (p) => C(p).toLowerCase().includes(o.toLowerCase())
1419
- ).map((p) => /* @__PURE__ */ t(
1415
+ const { t: n, form: r, inputType: a, attribute: l } = e, [i, s] = E(!1), [o, h] = E(""), c = a === "multiselect", u = (b, m) => {
1416
+ c ? m.value?.includes(b) ? m.onChange(m.value.filter((v) => v !== b)) : Array.isArray(m.value) ? m.onChange([...m.value, b]) : m.onChange([b]) : m.onChange(b === m.value ? "" : b);
1417
+ }, d = l.validators?.options?.options || [], g = l.annotations?.inputOptionLabels || {}, y = l.annotations?.inputOptionLabelsI18nPrefix, C = (b) => ae(e.t, g[b], b, y), R = (b) => d.filter(
1418
+ (m) => C(m).toLowerCase().includes(o.toLowerCase())
1419
+ ).map((m) => /* @__PURE__ */ t(
1420
1420
  Je,
1421
1421
  {
1422
- selected: v === p,
1423
- value: p,
1424
- children: C(p)
1422
+ selected: Array.isArray(b) ? b.includes(m) : b === m,
1423
+ value: m,
1424
+ children: C(m)
1425
1425
  },
1426
- p
1426
+ m
1427
1427
  ));
1428
1428
  return /* @__PURE__ */ t(fe, { ...e, children: /* @__PURE__ */ t(
1429
1429
  oe,
@@ -1431,23 +1431,23 @@ const Te = (e) => typeof e == "number" ? e + "px" : e, ca = ({
1431
1431
  name: X(l.name),
1432
1432
  defaultValue: l.defaultValue,
1433
1433
  control: r.control,
1434
- render: ({ field: v }) => /* @__PURE__ */ t(
1434
+ render: ({ field: b }) => /* @__PURE__ */ t(
1435
1435
  ca,
1436
1436
  {
1437
1437
  toggleId: l.name,
1438
- onToggle: (p) => s(p),
1439
- onClear: () => u("", v),
1440
- onSelect: (p) => {
1441
- const b = p.toString();
1442
- u(b, v), Array.isArray(v.value) || s(!1);
1438
+ onToggle: (m) => s(m),
1439
+ onClear: () => u("", b),
1440
+ onSelect: (m) => {
1441
+ const v = m.toString();
1442
+ u(v, b), Array.isArray(b.value) || s(!1);
1443
1443
  },
1444
- selections: c && Array.isArray(v.value) ? v.value.map((p) => C(p)) : C(v.value),
1444
+ selections: c && Array.isArray(b.value) ? b.value.map((m) => C(m)) : C(b.value),
1445
1445
  variant: c ? J.typeaheadMulti : d.length >= 10 ? J.typeahead : J.single,
1446
1446
  "aria-label": n("selectOne"),
1447
1447
  isOpen: i,
1448
1448
  isDisabled: l.readOnly,
1449
- onFilter: (p) => (h(p), R(v.value)),
1450
- children: R(v.value)
1449
+ onFilter: (m) => (h(m), R(b.value)),
1450
+ children: R(b.value)
1451
1451
  }
1452
1452
  )
1453
1453
  }
@@ -1491,9 +1491,9 @@ const Te = (e) => typeof e == "number" ? e + "px" : e, ca = ({
1491
1491
  text: K,
1492
1492
  textarea: da,
1493
1493
  select: ft,
1494
- "select-radiobuttons": mt,
1494
+ "select-radiobuttons": pt,
1495
1495
  multiselect: ft,
1496
- "multiselect-checkboxes": mt,
1496
+ "multiselect-checkboxes": pt,
1497
1497
  "html5-email": K,
1498
1498
  "html5-tel": K,
1499
1499
  "html5-url": K,
@@ -1566,7 +1566,7 @@ const Te = (e) => typeof e == "number" ? e + "px" : e, ca = ({
1566
1566
  }) => {
1567
1567
  const s = n.watch(
1568
1568
  X(i.name)
1569
- ), o = U(() => pa(i), [i]), h = i.multivalued || fa(s) && i.annotations?.inputType === void 0 ? je["multi-input"] : je[o];
1569
+ ), o = U(() => ma(i), [i]), h = i.multivalued || fa(s) && i.annotations?.inputType === void 0 ? je["multi-input"] : je[o];
1570
1570
  return i.name === "locale" ? /* @__PURE__ */ t(
1571
1571
  aa,
1572
1572
  {
@@ -1587,13 +1587,13 @@ const Te = (e) => typeof e == "number" ? e + "px" : e, ca = ({
1587
1587
  }
1588
1588
  );
1589
1589
  }, ha = "text";
1590
- function pa(e) {
1590
+ function ma(e) {
1591
1591
  if ($t(e.name))
1592
1592
  return "text";
1593
1593
  const n = e.annotations?.inputType;
1594
- return ma(n) ? n : ha;
1594
+ return pa(n) ? n : ha;
1595
1595
  }
1596
- const ma = (e) => typeof e == "string" && e in je, fa = (e) => Array.isArray(e) && e.length > 1, ga = ({
1596
+ const pa = (e) => typeof e == "string" && e in je, fa = (e) => Array.isArray(e) && e.length > 1, ga = ({
1597
1597
  className: e = "",
1598
1598
  border: n,
1599
1599
  size: r = "md"
@@ -1719,7 +1719,7 @@ const ma = (e) => typeof e == "string" && e in je, fa = (e) => Array.isArray(e)
1719
1719
  dropDownItems: r,
1720
1720
  ...a
1721
1721
  }) => {
1722
- const [l, i] = A(!1);
1722
+ const [l, i] = E(!1);
1723
1723
  return /* @__PURE__ */ t(
1724
1724
  In,
1725
1725
  {
@@ -1729,7 +1729,7 @@ const ma = (e) => typeof e == "string" && e in je, fa = (e) => Array.isArray(e)
1729
1729
  },
1730
1730
  onOpenChange: (s) => i(s),
1731
1731
  toggle: (s) => /* @__PURE__ */ t(
1732
- me,
1732
+ pe,
1733
1733
  {
1734
1734
  "data-testid": `${a["data-testid"]}-toggle`,
1735
1735
  ref: s,
@@ -1778,14 +1778,14 @@ const rl = ({
1778
1778
  ), s && R.push(
1779
1779
  /* @__PURE__ */ t(ot, { onClick: () => e.logout(), children: C("signOut") }, "signOut")
1780
1780
  );
1781
- const v = e.idTokenParsed?.picture;
1781
+ const b = e.idTokenParsed?.picture;
1782
1782
  return /* @__PURE__ */ k(Tn, { ...y, children: [
1783
1783
  /* @__PURE__ */ t(xn, { children: /* @__PURE__ */ t(Sn, { variant: "plain", "aria-label": C("navigation"), children: /* @__PURE__ */ t(dr, {}) }) }),
1784
- /* @__PURE__ */ t(En, { ...l, children: /* @__PURE__ */ t("img", { src: n, alt: r, className: a }) }),
1785
- /* @__PURE__ */ k(An, { children: [
1784
+ /* @__PURE__ */ t(An, { ...l, children: /* @__PURE__ */ t("img", { src: n, alt: r, className: a }) }),
1785
+ /* @__PURE__ */ k(En, { children: [
1786
1786
  g,
1787
1787
  /* @__PURE__ */ t(Ie, { children: /* @__PURE__ */ k(qe, { children: [
1788
- d?.map((p, b) => /* @__PURE__ */ t(G, { align: { default: "alignRight" }, children: p }, b)),
1788
+ d?.map((m, v) => /* @__PURE__ */ t(G, { align: { default: "alignRight" }, children: m }, v)),
1789
1789
  /* @__PURE__ */ t(
1790
1790
  G,
1791
1791
  {
@@ -1829,7 +1829,7 @@ const rl = ({
1829
1829
  variant: "overflow-menu",
1830
1830
  align: { default: "alignRight" },
1831
1831
  className: "pf-v5-u-m-0-on-lg",
1832
- children: v || i?.src ? /* @__PURE__ */ t(Rn, { src: v, alt: C("avatar"), ...i }) : /* @__PURE__ */ t(ga, { ...i })
1832
+ children: b || i?.src ? /* @__PURE__ */ t(Rn, { src: b, alt: C("avatar"), ...i }) : /* @__PURE__ */ t(ga, { ...i })
1833
1833
  }
1834
1834
  )
1835
1835
  ] }) })
@@ -1919,7 +1919,7 @@ const va = () => {
1919
1919
  inputGroupPlaceholder: s,
1920
1920
  inputGroupOnEnter: o
1921
1921
  }) => {
1922
- const { t: h } = $(), [c, u] = A(""), d = (y) => {
1922
+ const { t: h } = $(), [c, u] = E(""), d = (y) => {
1923
1923
  u(y.trim()), o?.(y.trim());
1924
1924
  }, g = (y) => {
1925
1925
  y.key === "Enter" && d(c);
@@ -2039,7 +2039,7 @@ function Ta({
2039
2039
  isRadio: d,
2040
2040
  ...g
2041
2041
  }) {
2042
- const { t: y } = $(), [C, R] = A(i || []), [v, p] = A([]), b = U(
2042
+ const { t: y } = $(), [C, R] = E(i || []), [b, m] = E([]), v = U(
2043
2043
  () => gr(
2044
2044
  C,
2045
2045
  n.map((f) => f.data),
@@ -2052,27 +2052,27 @@ function Ta({
2052
2052
  const f = document.getElementsByName("check-all").item(0);
2053
2053
  if (f) {
2054
2054
  const T = f;
2055
- T.indeterminate = b.length < n.length && b.length > 0;
2055
+ T.indeterminate = v.length < n.length && v.length > 0;
2056
2056
  }
2057
2057
  }
2058
2058
  }, [C, h, n]);
2059
- const E = (f) => {
2059
+ const A = (f) => {
2060
2060
  R(f), s?.(f);
2061
2061
  }, I = (f, T) => {
2062
2062
  if (d) {
2063
2063
  const V = T ? [n[f].data] : [];
2064
- E(V);
2064
+ A(V);
2065
2065
  } else if (f === -1) {
2066
- const V = b.map(
2066
+ const V = v.map(
2067
2067
  (O) => _(O, "id")
2068
2068
  );
2069
- E(
2069
+ A(
2070
2070
  T ? [...C, ...n.map((O) => O.data)] : C.filter(
2071
2071
  (O) => !V.includes(_(O, "id"))
2072
2072
  )
2073
2073
  );
2074
2074
  } else
2075
- E(T ? [...C, n[f].data] : C.filter(
2075
+ A(T ? [...C, n[f].data] : C.filter(
2076
2076
  (V) => _(V, "id") !== n[f].data.id
2077
2077
  ));
2078
2078
  };
@@ -2093,7 +2093,7 @@ function Ta({
2093
2093
  onSelect: (f, T) => {
2094
2094
  I(-1, T);
2095
2095
  },
2096
- isSelected: b.length === n.length
2096
+ isSelected: v.length === n.length
2097
2097
  }
2098
2098
  }
2099
2099
  ),
@@ -2112,13 +2112,13 @@ function Ta({
2112
2112
  le,
2113
2113
  {
2114
2114
  expand: n[T + 1].cells.length === 0 ? void 0 : {
2115
- isExpanded: v[T] ?? !1,
2115
+ isExpanded: b[T] ?? !1,
2116
2116
  rowIndex: T,
2117
2117
  expandId: "expandable-row-",
2118
2118
  onToggle: (V, O, D) => {
2119
2119
  o(D, O);
2120
- const j = [...v];
2121
- j[T] = D, p(j);
2120
+ const j = [...b];
2121
+ j[T] = D, m(j);
2122
2122
  }
2123
2123
  }
2124
2124
  }
@@ -2132,10 +2132,10 @@ function Ta({
2132
2132
  actionResolver: a
2133
2133
  }
2134
2134
  )
2135
- ] }) : /* @__PURE__ */ k(Ce, { isExpanded: v[T - 1] ?? !1, children: [
2135
+ ] }) : /* @__PURE__ */ k(Ce, { isExpanded: b[T - 1] ?? !1, children: [
2136
2136
  /* @__PURE__ */ t(le, {}),
2137
2137
  /* @__PURE__ */ t(le, { colSpan: e.length, children: /* @__PURE__ */ t(kr, { children: /* @__PURE__ */ t(wa, { row: f }) }) })
2138
- ] }) }, T)) : /* @__PURE__ */ t(dt, { children: n.map((f, T) => /* @__PURE__ */ k(Ce, { isExpanded: v[T], children: [
2138
+ ] }) }, T)) : /* @__PURE__ */ t(dt, { children: n.map((f, T) => /* @__PURE__ */ k(Ce, { isExpanded: b[T], children: [
2139
2139
  c && /* @__PURE__ */ t(
2140
2140
  le,
2141
2141
  {
@@ -2183,16 +2183,16 @@ function xa({
2183
2183
  searchTypeComponent: y,
2184
2184
  toolbarItem: C,
2185
2185
  subToolbar: R,
2186
- emptyState: v,
2187
- icon: p,
2188
- isSearching: b = !1,
2189
- ...E
2186
+ emptyState: b,
2187
+ icon: m,
2188
+ isSearching: v = !1,
2189
+ ...A
2190
2190
  }) {
2191
- const { t: I } = $(), [f, T] = A([]), [V, O] = A(), [D, j] = A(), [F, B] = A(!1), [m, x] = Lt(
2191
+ const { t: I } = $(), [f, T] = E([]), [V, O] = E(), [D, j] = E(), [F, B] = E(!1), [p, x] = Lt(
2192
2192
  localStorage,
2193
2193
  "pageSize",
2194
2194
  10
2195
- ), [S, L] = A(m), [N, Z] = A(0), [z, Fe] = A(""), tt = Y(), [ge, Gt] = A(0), nt = Y(), rt = () => Gt(ge + 1), Wt = At(), at = (w, P) => w.map((M) => {
2195
+ ), [S, L] = E(p), [N, Z] = E(0), [z, Fe] = E(""), tt = Y(), [ge, Gt] = E(0), nt = Y(), rt = () => Gt(ge + 1), Wt = Et(), at = (w, P) => w.map((M) => {
2196
2196
  if ("cellFormatters" in M) {
2197
2197
  const te = _(P, M.name);
2198
2198
  return M.cellFormatters?.reduce((de, be) => be(de), te);
@@ -2255,7 +2255,7 @@ function xa({
2255
2255
  ) && (r || Fe(""), rt());
2256
2256
  }, w)), Jt = (w, P) => {
2257
2257
  ee[P].isOpen = w, O([...ee]);
2258
- }, ee = it || V, ye = !ee || ee.length === 0, Ve = z !== "" || b, Yt = o ? S * 2 : S, Qt = o ? (ee?.length || 0) / 2 : ee?.length || 0;
2258
+ }, ee = it || V, ye = !ee || ee.length === 0, Ve = z !== "" || v, Yt = o ? S * 2 : S, Qt = o ? (ee?.length || 0) / 2 : ee?.length || 0;
2259
2259
  return /* @__PURE__ */ k(W, { children: [
2260
2260
  (!ye || Ve) && /* @__PURE__ */ k(
2261
2261
  Ia,
@@ -2289,7 +2289,7 @@ function xa({
2289
2289
  !F && !ye && /* @__PURE__ */ t(
2290
2290
  Ta,
2291
2291
  {
2292
- ...E,
2292
+ ...A,
2293
2293
  canSelectAll: l,
2294
2294
  canSelect: !!a,
2295
2295
  selected: f,
@@ -2310,11 +2310,11 @@ function xa({
2310
2310
  Ca,
2311
2311
  {
2312
2312
  hasIcon: !0,
2313
- icon: p,
2313
+ icon: m,
2314
2314
  isSearchVariant: !0,
2315
2315
  message: I("noSearchResults"),
2316
2316
  instructions: I("noSearchResultsInstructions"),
2317
- secondaryActions: b ? [] : [
2317
+ secondaryActions: v ? [] : [
2318
2318
  {
2319
2319
  text: I("clearAllFilters"),
2320
2320
  onClick: () => Fe(""),
@@ -2327,7 +2327,7 @@ function xa({
2327
2327
  }
2328
2328
  ),
2329
2329
  F && /* @__PURE__ */ t(va, {}),
2330
- !F && ye && !Ve && v
2330
+ !F && ye && !Ve && b
2331
2331
  ] });
2332
2332
  }
2333
2333
  const Sa = ({ link: e, organization: n }) => {
@@ -2344,7 +2344,7 @@ const Sa = ({ link: e, organization: n }) => {
2344
2344
  `${n.id}-disabled`
2345
2345
  )
2346
2346
  ] }) });
2347
- }, Ea = (e) => {
2347
+ }, Aa = (e) => {
2348
2348
  const { t: n } = $();
2349
2349
  return /* @__PURE__ */ t(
2350
2350
  Qe,
@@ -2396,7 +2396,7 @@ const Sa = ({ link: e, organization: n }) => {
2396
2396
  {
2397
2397
  name: "domains",
2398
2398
  displayKey: "domains",
2399
- cellRenderer: Ea
2399
+ cellRenderer: Aa
2400
2400
  },
2401
2401
  {
2402
2402
  name: "description",
@@ -2447,11 +2447,11 @@ export {
2447
2447
  Wa as beerify,
2448
2448
  Ze as createNamedContext,
2449
2449
  jr as debeerify,
2450
- Ar as generateId,
2450
+ Er as generateId,
2451
2451
  Sr as getErrorDescription,
2452
2452
  xr as getErrorMessage,
2453
2453
  Ka as getInjectedEnvironment,
2454
- Er as getNetworkErrorDescription,
2454
+ Ar as getNetworkErrorDescription,
2455
2455
  Vt as getNetworkErrorMessage,
2456
2456
  Rr as isDefined,
2457
2457
  Ja as isUserProfileError,