@illinois-grad/grad-vue 6.0.0 → 6.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { Fragment as e, Teleport as t, Transition as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, guardReactiveProps as f, inject as p, mergeModels as m, mergeProps as h, nextTick as g, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeMount as b, onBeforeUnmount as x, onMounted as S, onUnmounted as C, openBlock as w, provide as T, reactive as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as A, shallowReactive as j, shallowRef as M, toDisplayString as N, toRaw as P, toRef as F, toValue as I, unref as L, useAttrs as R, useId as z, useModel as B, useSlots as V, useTemplateRef as H, vModelCheckbox as U, vModelText as W, vShow as ee, watch as G, watchEffect as te, withCtx as K, withDirectives as ne, withModifiers as q } from "vue";
2
- import { createEventHook as re, toArray as J, tryOnScopeDispose as ie, unrefElement as Y, useClipboard as ae, useDebounceFn as oe, useFocusWithin as se, useIntersectionObserver as ce, useMediaQuery as le, useMutationObserver as ue, useResizeObserver as de, useSessionStorage as fe } from "@vueuse/core";
1
+ import { Fragment as e, Teleport as t, Transition as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, guardReactiveProps as f, inject as p, mergeModels as m, mergeProps as h, nextTick as g, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeMount as b, onBeforeUnmount as x, onMounted as S, onUnmounted as C, openBlock as w, provide as T, reactive as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as A, shallowReactive as j, shallowRef as M, toDisplayString as N, toRaw as P, toRef as F, toValue as I, unref as L, useAttrs as R, useId as z, useModel as B, useSlots as V, useTemplateRef as H, vModelCheckbox as U, vModelText as ee, vShow as te, watch as W, watchEffect as ne, withCtx as G, withDirectives as re, withModifiers as K } from "vue";
2
+ import { createEventHook as ie, toArray as q, tryOnScopeDispose as ae, unrefElement as J, useClipboard as oe, useDebounceFn as se, useFocusWithin as ce, useIntersectionObserver as le, useMediaQuery as Y, useMutationObserver as ue, useResizeObserver as de, useSessionStorage as fe } from "@vueuse/core";
3
3
  import { createFocusTrap as X } from "focus-trap";
4
4
  //#region src/compose/useCustomElementAttrs.ts
5
5
  function Z() {
@@ -79,7 +79,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
79
79
  onMouseenter: u[7] ||= (e) => r.$emit("mouseenter", e),
80
80
  onMouseleave: u[8] ||= (e) => r.$emit("mouseleave", e)
81
81
  }), {
82
- default: K(() => [t.icon || a.icon ? (w(), o(e, { key: 0 }, [s("span", me, [a.icon ? k(r.$slots, "icon", {}, void 0, void 0, 0) : (w(), o("span", {
82
+ default: G(() => [t.icon || a.icon ? (w(), o(e, { key: 0 }, [s("span", me, [a.icon ? k(r.$slots, "icon", {}, void 0, void 0, 0) : (w(), o("span", {
83
83
  key: 1,
84
84
  class: _(t.icon + " g-btn--icon-span"),
85
85
  "aria-hidden": "true"
@@ -147,7 +147,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
147
147
  id: L(u),
148
148
  class: "g-tree-menu__title"
149
149
  }, {
150
- default: K(() => [k(n.$slots, "heading", {}, () => [c(N(e.heading), 1)])]),
150
+ default: G(() => [k(n.$slots, "heading", {}, () => [c(N(e.heading), 1)])]),
151
151
  _: 3
152
152
  }, 8, ["id"])) : a("", !0),
153
153
  s("div", ge, [e.smallHeading ? a("", !0) : (w(), o("div", _e)), e.showExpandAll ? (w(), o("div", ve, [s("button", {
@@ -179,7 +179,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
179
179
  role: L(o) ? "list" : void 0,
180
180
  class: "g-tree-menu__list"
181
181
  }, {
182
- default: K(() => [k(e.$slots, "default")]),
182
+ default: G(() => [k(e.$slots, "default")]),
183
183
  _: 3
184
184
  }, 8, ["role"]));
185
185
  }
@@ -220,9 +220,9 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
220
220
  return n.expanded;
221
221
  }
222
222
  let C = D(b());
223
- G(() => n.expanded, (e) => {
223
+ W(() => n.expanded, (e) => {
224
224
  v && n.label !== void 0 || (C.value = e);
225
- }), G(C, (e) => {
225
+ }), W(C, (e) => {
226
226
  v && n.label !== void 0 && (e ? v.value[n.label] = !0 : delete v.value[n.label]);
227
227
  });
228
228
  function T() {
@@ -235,9 +235,9 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
235
235
  function P() {
236
236
  O?.delete(E);
237
237
  }
238
- G(C, (e) => {
238
+ W(C, (e) => {
239
239
  O && g.value && O.set(E, e);
240
- }), j && G(() => j.value.version, () => {
240
+ }), j && W(() => j.value.version, () => {
241
241
  g.value && (C.value = j.value.expanded, M.value = j.value.version);
242
242
  }), S(() => {
243
243
  N(), j && g.value && j.value.version > M.value && j.value.expanded && (C.value = !0, M.value = j.value.version);
@@ -261,7 +261,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
261
261
  class: "g-tree-menu__item",
262
262
  "data-tree-expandable": g.value ? "true" : void 0
263
263
  }), {
264
- default: K(() => [g.value ? (w(), o("div", Se, [s("span", {
264
+ default: G(() => [g.value ? (w(), o("div", Se, [s("span", {
265
265
  class: "g-tree-menu__row-content",
266
266
  "data-tree-primary": "",
267
267
  onClick: F
@@ -287,7 +287,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
287
287
  key: 2,
288
288
  id: L(f) + "-children"
289
289
  }, {
290
- default: K(() => [k(e.$slots, "children")]),
290
+ default: G(() => [k(e.$slots, "children")]),
291
291
  _: 3
292
292
  }, 8, ["id"])) : a("", !0)]),
293
293
  _: 3
@@ -560,9 +560,9 @@ var Xe = (e) => e != null;
560
560
  //#region ../../node_modules/@vueuse/integrations/dist/useFocusTrap-lXZ_YG-8.js
561
561
  function Ze(e, t = {}) {
562
562
  let n, { immediate: i, ...a } = t, o = M(!1), s = M(!1), c = (e) => n && n.activate(e), l = (e) => n && n.deactivate(e);
563
- return G(r(() => J(I(e)).map((e) => {
563
+ return W(r(() => q(I(e)).map((e) => {
564
564
  let t = I(e);
565
- return typeof t == "string" ? t : Y(t);
565
+ return typeof t == "string" ? t : J(t);
566
566
  }).filter(Xe)), (e) => {
567
567
  if (e.length) {
568
568
  if (!n) n = X(e, {
@@ -579,7 +579,7 @@ function Ze(e, t = {}) {
579
579
  n?.updateContainerElements(e), !t && i && c();
580
580
  }
581
581
  }
582
- }, { flush: "post" }), ie(() => l()), {
582
+ }, { flush: "post" }), ae(() => l()), {
583
583
  hasFocus: o,
584
584
  isPaused: s,
585
585
  activate: c,
@@ -593,7 +593,7 @@ function Ze(e, t = {}) {
593
593
  };
594
594
  }
595
595
  //#endregion
596
- //#region src/compose/useOverlayFocus.ts
596
+ //#region src/compose/focusable.ts
597
597
  var Qe = [
598
598
  "a[href]",
599
599
  "button:not([disabled])",
@@ -603,7 +603,16 @@ var Qe = [
603
603
  "[tabindex]:not([tabindex='-1'])",
604
604
  "[contenteditable='true']"
605
605
  ].join(",");
606
- function $e(e, t, n = !1) {
606
+ function $e(e) {
607
+ return e ? Array.from(e.querySelectorAll(Qe)) : [];
608
+ }
609
+ function et(e) {
610
+ let t = document.activeElement;
611
+ return t ? e.findIndex((e) => e === t || e.contains(t)) : -1;
612
+ }
613
+ //#endregion
614
+ //#region src/compose/useOverlayFocus.ts
615
+ function tt(e, t, n = !1) {
607
616
  let r = D(!1), i = () => !!e.value?.querySelector(Qe), { activate: a, deactivate: o, pause: s, unpause: c } = Ze(e, {
608
617
  immediate: !1,
609
618
  clickOutsideDeactivates: n,
@@ -625,7 +634,7 @@ function $e(e, t, n = !1) {
625
634
  });
626
635
  }
627
636
  });
628
- return G(t, (e) => {
637
+ return W(t, (e) => {
629
638
  e ? g(() => {
630
639
  i() && c();
631
640
  }).catch((e) => {
@@ -648,7 +657,7 @@ function $e(e, t, n = !1) {
648
657
  }
649
658
  //#endregion
650
659
  //#region src/compose/useOverlayEscape.ts
651
- function et(e, t, n, r, i) {
660
+ function nt(e, t, n, r, i) {
652
661
  function a(i) {
653
662
  if (!(!n.value || !t.value)) {
654
663
  for (let t of e) if (t.value?.contains(i.target)) return;
@@ -668,7 +677,7 @@ function et(e, t, n, r, i) {
668
677
  }
669
678
  //#endregion
670
679
  //#region src/compose/popoverPosition.ts
671
- function tt(e, t, n, r) {
680
+ function rt(e, t, n, r) {
672
681
  let i = r?.gap ?? 8, a = r?.margin ?? 16, o = r?.preferAbove ?? !1, s = !1, c = !1, l;
673
682
  o ? e.top - t.height - i > n.top + a ? (l = e.top - t.height - i, s = !0) : e.bottom + t.height + i <= n.bottom - a ? l = e.bottom + i : (l = n.top + a, c = !0) : e.bottom + t.height + i > n.bottom - a && e.top - t.height - i > n.top + a ? (l = e.top - t.height - i, s = !0) : e.bottom + t.height + i > n.bottom - a && e.top - t.height - i <= n.top + a ? (l = n.top + a, c = !0) : l = e.bottom + i;
674
683
  let u = e.left + (e.width - t.width) / 2;
@@ -684,7 +693,7 @@ function tt(e, t, n, r) {
684
693
  }
685
694
  //#endregion
686
695
  //#region src/components/GClientOnly.vue
687
- var nt = /* @__PURE__ */ u({
696
+ var it = /* @__PURE__ */ u({
688
697
  __name: "GClientOnly",
689
698
  setup(e) {
690
699
  let t = D(Z());
@@ -692,7 +701,7 @@ var nt = /* @__PURE__ */ u({
692
701
  t.value = !0;
693
702
  }), (e, n) => t.value ? k(e.$slots, "default", {}, void 0, void 0, 0) : k(e.$slots, "fallback", {}, void 0, void 0, 1);
694
703
  }
695
- }), rt = { class: "g-popover-wrap" }, it = ["id"], at = ["aria-labelledby", "aria-label"], ot = /* @__PURE__ */ u({
704
+ }), at = { class: "g-popover-wrap" }, ot = ["id"], st = ["aria-labelledby", "aria-label"], ct = /* @__PURE__ */ u({
696
705
  __name: "GPopover",
697
706
  props: {
698
707
  minimal: {
@@ -711,14 +720,14 @@ var nt = /* @__PURE__ */ u({
711
720
  ],
712
721
  setup(e, { expose: c, emit: u }) {
713
722
  let d = e, f = u, p = D(d.modelValue);
714
- G(F(d, "modelValue"), (e) => {
723
+ W(F(d, "modelValue"), (e) => {
715
724
  p.value = e;
716
725
  });
717
- let m = V(), h = r(() => !!m.trigger), v = H("triggerRef"), b = H("popoverRef"), { isCustomElement: S } = pe(), C = S, T = z(), { push: E, pop: O, isTop: A, zIndex: j } = qe(T, !0), { activate: M, deactivate: N } = $e(b, A, !0);
718
- et([b, v], A, p, I, O), G(p, (e) => {
726
+ let m = V(), h = r(() => !!m.trigger), v = H("triggerRef"), b = H("popoverRef"), { isCustomElement: S } = pe(), C = S, T = z(), { push: E, pop: O, isTop: A, zIndex: j } = qe(T, !0), { activate: M, deactivate: N } = tt(b, A, !0);
727
+ nt([b, v], A, p, I, O), W(p, (e) => {
719
728
  e ? (g(() => {
720
729
  g(() => M());
721
- }), E(), f("show")) : (N(), O(), f("hide"), q.value = !1, re.value = null);
730
+ }), E(), f("show")) : (N(), O(), f("hide"), K.value = !1, ie.value = null);
722
731
  });
723
732
  function P() {
724
733
  p.value = !0, f("update:modelValue", !0);
@@ -732,27 +741,27 @@ var nt = /* @__PURE__ */ u({
732
741
  let B = D({
733
742
  top: 0,
734
743
  left: 0
735
- }), U = D({ left: "50%" }), W = D(!1), te = D(!1), q = D(!1), re = D(null), J = null;
736
- function ie() {
744
+ }), U = D({ left: "50%" }), ee = D(!1), ne = D(!1), K = D(!1), ie = D(null), q = null;
745
+ function ae() {
737
746
  if (v.value) return v.value;
738
747
  let e = b.value?.parentElement ?? null;
739
748
  for (; e && e.tagName.toLowerCase() !== "g-popover";) e = e.parentElement;
740
749
  let t = e?.previousElementSibling;
741
750
  return t instanceof HTMLElement ? t : null;
742
751
  }
743
- function Y() {
752
+ function J() {
744
753
  if (!b.value) return;
745
754
  let e = b.value, t = new DOMRect(0, 0, window.innerWidth, window.innerHeight), n = Math.max(t.height - 32, 0), r = e.scrollHeight;
746
- q.value = r > n, re.value = q.value ? n : null;
747
- let i = new DOMRect(0, 0, e.offsetWidth, Math.min(r, n)), a = ie();
755
+ K.value = r > n, ie.value = K.value ? n : null;
756
+ let i = new DOMRect(0, 0, e.offsetWidth, Math.min(r, n)), a = ae();
748
757
  if (!a) {
749
758
  B.value = {
750
759
  top: Math.max((t.height - i.height) / 2, 16),
751
760
  left: Math.max((t.width - i.width) / 2, 16)
752
- }, te.value = !1, W.value = !1, U.value = { left: "50%" };
761
+ }, ne.value = !1, ee.value = !1, U.value = { left: "50%" };
753
762
  return;
754
763
  }
755
- let { top: o, left: s, xOffset: c, placedAbove: l, overlay: u } = tt(a.getBoundingClientRect(), i, t, { gap: d.minimal ? 0 : 8 });
764
+ let { top: o, left: s, xOffset: c, placedAbove: l, overlay: u } = rt(a.getBoundingClientRect(), i, t, { gap: d.minimal ? 0 : 8 });
756
765
  B.value = {
757
766
  top: o,
758
767
  left: s
@@ -760,42 +769,42 @@ var nt = /* @__PURE__ */ u({
760
769
  left: `${i.width / 2 - c}px`,
761
770
  top: l ? "auto" : void 0,
762
771
  bottom: l ? "-8px" : void 0
763
- }, W.value = l, te.value = u;
772
+ }, ee.value = l, ne.value = u;
764
773
  }
765
- return G(p, (e) => {
774
+ return W(p, (e) => {
766
775
  e ? g(() => {
767
- Y(), window.addEventListener("resize", Y), window.addEventListener("scroll", Y, { capture: !0 }), b.value && (J && J.disconnect(), J = new ResizeObserver(() => Y()), J.observe(b.value));
768
- }) : (window.removeEventListener("resize", Y), window.removeEventListener("scroll", Y, { capture: !0 }), J && J.disconnect());
776
+ J(), window.addEventListener("resize", J), window.addEventListener("scroll", J, { capture: !0 }), b.value && (q && q.disconnect(), q = new ResizeObserver(() => J()), q.observe(b.value));
777
+ }) : (window.removeEventListener("resize", J), window.removeEventListener("scroll", J, { capture: !0 }), q && q.disconnect());
769
778
  }), x(() => {
770
- window.removeEventListener("resize", Y), window.removeEventListener("scroll", Y, { capture: !0 }), J && J.disconnect();
779
+ window.removeEventListener("resize", J), window.removeEventListener("scroll", J, { capture: !0 }), q && q.disconnect();
771
780
  }), c({
772
781
  show: P,
773
782
  hide: I,
774
783
  toggle: R
775
- }), (r, c) => (w(), o("div", rt, [h.value ? (w(), o("div", {
784
+ }), (r, c) => (w(), o("div", at, [h.value ? (w(), o("div", {
776
785
  key: 0,
777
786
  ref_key: "triggerRef",
778
787
  ref: v,
779
788
  class: "g-popover-trigger",
780
789
  id: `${L(T)}-trigger`
781
- }, [k(r.$slots, "trigger", { toggle: R })], 8, it)) : a("", !0), l(nt, null, {
782
- default: K(() => [(w(), i(t, {
790
+ }, [k(r.$slots, "trigger", { toggle: R })], 8, ot)) : a("", !0), l(it, null, {
791
+ default: G(() => [(w(), i(t, {
783
792
  to: "#modal-root",
784
793
  disabled: L(C)
785
794
  }, [l(n, {
786
795
  name: "g-popover-expand",
787
796
  appear: ""
788
797
  }, {
789
- default: K(() => [L(S) || p.value ? ne((w(), o("div", {
798
+ default: G(() => [L(S) || p.value ? re((w(), o("div", {
790
799
  key: 0,
791
800
  ref_key: "popoverRef",
792
801
  ref: b,
793
802
  class: _({
794
803
  "g-popover": !0,
795
- "g-popover-above": W.value,
796
- "g-popover-below": !W.value,
804
+ "g-popover-above": ee.value,
805
+ "g-popover-below": !ee.value,
797
806
  "g-popover-minimal": e.minimal,
798
- "g-popover-scrollable": q.value
807
+ "g-popover-scrollable": K.value
799
808
  }),
800
809
  role: "dialog",
801
810
  "aria-modal": "true",
@@ -805,12 +814,12 @@ var nt = /* @__PURE__ */ u({
805
814
  top: B.value.top + "px",
806
815
  left: B.value.left + "px",
807
816
  zIndex: L(j),
808
- maxHeight: re.value === null ? void 0 : `${re.value}px`
817
+ maxHeight: ie.value === null ? void 0 : `${ie.value}px`
809
818
  })
810
819
  }, [
811
- !te.value && !e.minimal && !q.value ? (w(), o("div", {
820
+ !ne.value && !e.minimal && !K.value ? (w(), o("div", {
812
821
  key: 0,
813
- class: _(["g-popover-arrow", { "g-popover-arrow-above": W.value }]),
822
+ class: _(["g-popover-arrow", { "g-popover-arrow-above": ee.value }]),
814
823
  style: y(U.value),
815
824
  "aria-hidden": "true"
816
825
  }, null, 6)) : a("", !0),
@@ -830,43 +839,43 @@ var nt = /* @__PURE__ */ u({
830
839
  fill: "currentColor",
831
840
  d: "m37.84 32.94-7.63-7.63 7.63-7.63a3.24 3.24 0 0 0-4.58-4.58l-7.63 7.63L18 13.1a3.24 3.24 0 0 0-4.58 4.58L21 25.31l-7.62 7.63A3.24 3.24 0 1 0 18 37.52l7.63-7.63 7.63 7.63a3.24 3.24 0 0 0 4.58-4.58Z"
832
841
  })], -1)]]))
833
- ], 14, at)), [[ee, p.value]]) : a("", !0)]),
842
+ ], 14, st)), [[te, p.value]]) : a("", !0)]),
834
843
  _: 3
835
844
  })], 8, ["disabled"]))]),
836
845
  _: 3
837
846
  })]));
838
847
  }
839
- }), st = 1;
840
- function ct(e = "v-gtooltip") {
841
- return `${e}-${++st}`;
848
+ }), lt = 1;
849
+ function ut(e = "v-gtooltip") {
850
+ return `${e}-${++lt}`;
842
851
  }
843
- function lt(e, t = "v-gtooltip") {
852
+ function dt(e, t = "v-gtooltip") {
844
853
  let n = e.getAttribute("aria-describedby");
845
854
  if (n) return n;
846
- let r = ct(t);
855
+ let r = ut(t);
847
856
  return e.setAttribute("aria-describedby", r), r;
848
857
  }
849
- function ut(e, t) {
858
+ function ft(e, t) {
850
859
  let n = document.createElement("div");
851
860
  return n.className = "v-gtooltip", n.textContent = e, n.setAttribute("role", "tooltip"), n.setAttribute("id", t), n;
852
861
  }
853
- function dt(e) {
862
+ function pt(e) {
854
863
  (document.getElementById("modal-root") ?? document.body).appendChild(e);
855
864
  }
856
- function ft(e, t) {
857
- let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), { top: i, left: a, placedAbove: o } = tt(n, r, new DOMRect(0, 0, window.innerWidth, window.innerHeight), {
865
+ function mt(e, t) {
866
+ let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), { top: i, left: a, placedAbove: o } = rt(n, r, new DOMRect(0, 0, window.innerWidth, window.innerHeight), {
858
867
  gap: 8,
859
868
  margin: 8,
860
869
  preferAbove: !0
861
870
  }), s = (n.left + n.width / 2 - a) / r.width * 100;
862
871
  t.style.setProperty("--v-gtooltip-arrow-x", `${s}%`), t.classList.remove("v-gtooltip-bottom"), o || t.classList.add("v-gtooltip-bottom"), t.style.left = `${a}px`, t.style.top = `${i}px`, t.style.zIndex = `${Ye()}`, t.style.visibility = "visible", t.style.opacity = "1";
863
872
  }
864
- function pt(e) {
873
+ function ht(e) {
865
874
  e.style.opacity = "0", e.style.visibility = "hidden";
866
875
  }
867
876
  //#endregion
868
877
  //#region src/components/GTooltip.vue
869
- var mt = /* @__PURE__ */ u({
878
+ var gt = /* @__PURE__ */ u({
870
879
  __name: "GTooltip",
871
880
  props: { text: {} },
872
881
  emits: ["tooltip-hide"],
@@ -881,12 +890,12 @@ var mt = /* @__PURE__ */ u({
881
890
  return t instanceof HTMLElement ? t : null;
882
891
  }
883
892
  function S() {
884
- y && (v || (v = l.value ? ct("g-tooltip") : lt(y, "g-tooltip"), l.value && y.setAttribute("aria-describedby", v)), f.value || (f.value = ut(i.text, v), dt(f.value), h = new ResizeObserver(() => {
885
- f.value && (p.value || m.value) && y && ft(y, f.value);
893
+ y && (v || (v = l.value ? ut("g-tooltip") : dt(y, "g-tooltip"), l.value && y.setAttribute("aria-describedby", v)), f.value || (f.value = ft(i.text, v), pt(f.value), h = new ResizeObserver(() => {
894
+ f.value && (p.value || m.value) && y && mt(y, f.value);
886
895
  }), h.observe(f.value)));
887
896
  }
888
897
  function C() {
889
- f.value && (p.value || m.value) && y && ft(y, f.value);
898
+ f.value && (p.value || m.value) && y && mt(y, f.value);
890
899
  }
891
900
  function T() {
892
901
  p.value = !0;
@@ -922,20 +931,20 @@ var mt = /* @__PURE__ */ u({
922
931
  function I(e) {
923
932
  (e.key === "Escape" || e.key === "Esc") && (p.value = !1, m.value = !1);
924
933
  }
925
- return G(() => [
934
+ return W(() => [
926
935
  u.value,
927
936
  d.value,
928
937
  l.value
929
938
  ], () => {
930
939
  A(b()), S();
931
- }, { immediate: !0 }), G(() => i.text, (e) => {
940
+ }, { immediate: !0 }), W(() => i.text, (e) => {
932
941
  f.value && (f.value.textContent = e);
933
- }), G(() => p.value || m.value, (e) => {
942
+ }), W(() => p.value || m.value, (e) => {
934
943
  if (e) {
935
- S(), f.value && y && ft(y, f.value), g ||= (window.addEventListener("scroll", C, { capture: !0 }), !0);
944
+ S(), f.value && y && mt(y, f.value), g ||= (window.addEventListener("scroll", C, { capture: !0 }), !0);
936
945
  return;
937
946
  }
938
- g &&= (window.removeEventListener("scroll", C, { capture: !0 }), !1), f.value && (pt(f.value), _ && clearTimeout(_), _ = window.setTimeout(() => {
947
+ g &&= (window.removeEventListener("scroll", C, { capture: !0 }), !1), f.value && (ht(f.value), _ && clearTimeout(_), _ = window.setTimeout(() => {
939
948
  s("tooltip-hide");
940
949
  }, 150));
941
950
  }), x(() => {
@@ -955,11 +964,11 @@ var mt = /* @__PURE__ */ u({
955
964
  class: "g-tooltip-trigger"
956
965
  }, [k(e.$slots, "trigger")], 512)) : a("", !0)], 512));
957
966
  }
958
- }), ht = ["disabled"], gt = { class: "g-select-btn-legend" }, _t = {
967
+ }), _t = ["disabled"], vt = { class: "g-select-btn-legend" }, yt = {
959
968
  key: 0,
960
969
  class: "g-select-btn-required",
961
970
  "aria-hidden": "true"
962
- }, vt = { class: "g-select-btn-row" }, yt = [
971
+ }, bt = { class: "g-select-btn-row" }, xt = [
963
972
  "id",
964
973
  "name",
965
974
  "value",
@@ -967,7 +976,7 @@ var mt = /* @__PURE__ */ u({
967
976
  "disabled",
968
977
  "required",
969
978
  "onChange"
970
- ], bt = ["for"], xt = /* @__PURE__ */ u({
979
+ ], St = ["for"], Ct = /* @__PURE__ */ u({
971
980
  __name: "GSelectButton",
972
981
  props: /*@__PURE__*/ m({
973
982
  options: {},
@@ -1009,7 +1018,7 @@ var mt = /* @__PURE__ */ u({
1009
1018
  return (t, n) => (w(), o("fieldset", {
1010
1019
  class: _(g.value),
1011
1020
  disabled: i.disabled
1012
- }, [s("legend", gt, [c(N(i.label), 1), i.required ? (w(), o("span", _t, " *")) : a("", !0)]), s("div", { class: _(["g-select-btn-wrapper", { "g-select-btn-has-error": L(m) }]) }, [s("div", vt, [(w(!0), o(e, null, O(h.value, (t, n) => (w(), o(e, { key: t.value }, [s("input", {
1021
+ }, [s("legend", vt, [c(N(i.label), 1), i.required ? (w(), o("span", yt, " *")) : a("", !0)]), s("div", { class: _(["g-select-btn-wrapper", { "g-select-btn-has-error": L(m) }]) }, [s("div", bt, [(w(!0), o(e, null, O(h.value, (t, n) => (w(), o(e, { key: t.value }, [s("input", {
1013
1022
  class: "g-select-btn-radio",
1014
1023
  type: "radio",
1015
1024
  id: `${L(f)}-${t.value}`,
@@ -1019,29 +1028,29 @@ var mt = /* @__PURE__ */ u({
1019
1028
  disabled: i.disabled,
1020
1029
  required: i.required && n === 0,
1021
1030
  onChange: (e) => y(t.value)
1022
- }, null, 40, yt), s("label", {
1031
+ }, null, 40, xt), s("label", {
1023
1032
  for: `${L(f)}-${t.value}`,
1024
1033
  class: _(v(t.value === d.value))
1025
- }, N(t.label), 11, bt)], 64))), 128))]), l(Me, {
1034
+ }, N(t.label), 11, St)], 64))), 128))]), l(Me, {
1026
1035
  errors: L(p),
1027
1036
  id: "error-message-" + L(f)
1028
- }, null, 8, ["errors", "id"])], 2)], 10, ht));
1037
+ }, null, 8, ["errors", "id"])], 2)], 10, _t));
1029
1038
  }
1030
- }), St = ["width", "height"], Ct = [
1039
+ }), wt = ["width", "height"], Tt = [
1031
1040
  "cx",
1032
1041
  "cy",
1033
1042
  "r"
1034
- ], wt = [
1043
+ ], Et = [
1035
1044
  "cx",
1036
1045
  "cy",
1037
1046
  "r",
1038
1047
  "stroke-dasharray",
1039
1048
  "stroke-dashoffset"
1040
- ], Tt = [
1049
+ ], Dt = [
1041
1050
  "cx",
1042
1051
  "cy",
1043
1052
  "r"
1044
- ], Et = /* @__PURE__ */ u({
1053
+ ], Ot = /* @__PURE__ */ u({
1045
1054
  __name: "GProgress",
1046
1055
  props: {
1047
1056
  label: { default: "Loading" },
@@ -1082,7 +1091,7 @@ var mt = /* @__PURE__ */ u({
1082
1091
  r: i.value,
1083
1092
  "stroke-width": 4,
1084
1093
  fill: "none"
1085
- }, null, 8, Ct), n.value ? (w(), o("circle", {
1094
+ }, null, 8, Tt), n.value ? (w(), o("circle", {
1086
1095
  key: 0,
1087
1096
  class: "g-progress__value",
1088
1097
  cx: i.value + 2,
@@ -1096,7 +1105,7 @@ var mt = /* @__PURE__ */ u({
1096
1105
  transform: "rotate(-90deg)",
1097
1106
  "transform-origin": "center"
1098
1107
  }
1099
- }, null, 8, wt)) : (w(), o("circle", {
1108
+ }, null, 8, Et)) : (w(), o("circle", {
1100
1109
  key: 1,
1101
1110
  class: "g-progress__spinner",
1102
1111
  cx: i.value + 2,
@@ -1104,13 +1113,13 @@ var mt = /* @__PURE__ */ u({
1104
1113
  r: i.value,
1105
1114
  "stroke-width": 4,
1106
1115
  fill: "none"
1107
- }, null, 8, Tt))], 10, St))], 16));
1116
+ }, null, 8, Dt))], 10, wt))], 16));
1108
1117
  }
1109
- }), Dt = [
1118
+ }), kt = [
1110
1119
  "id",
1111
1120
  "aria-labelledby",
1112
1121
  "aria-describedby"
1113
- ], Ot = { class: "g-alertdialog-inner" }, kt = ["id"], At = ["id"], jt = { class: "g-alertdialog-actions" }, Mt = /* @__PURE__ */ u({
1122
+ ], At = { class: "g-alertdialog-inner" }, jt = ["id"], Mt = ["id"], Nt = { class: "g-alertdialog-actions" }, Pt = /* @__PURE__ */ u({
1114
1123
  __name: "GAlertDialog",
1115
1124
  props: {
1116
1125
  label: { default: "Confirmation" },
@@ -1119,11 +1128,11 @@ var mt = /* @__PURE__ */ u({
1119
1128
  },
1120
1129
  emits: ["cancel", "confirm"],
1121
1130
  setup(e, { emit: r }) {
1122
- let a = e, o = r, u = D(null), d = D(!0), f = z(), { pop: p, push: m, isTop: h, zIndex: g } = qe(f, !0, !0), { deactivate: _, activate: v } = $e(u, h);
1131
+ let a = e, o = r, u = D(null), d = D(!0), f = z(), { pop: p, push: m, isTop: h, zIndex: g } = qe(f, !0, !0), { deactivate: _, activate: v } = tt(u, h);
1123
1132
  function x() {
1124
1133
  o("cancel");
1125
1134
  }
1126
- return et([u], h, d, x, p), S(() => {
1135
+ return nt([u], h, d, x, p), S(() => {
1127
1136
  m(), v();
1128
1137
  }), b(() => {
1129
1138
  p(), _();
@@ -1131,7 +1140,7 @@ var mt = /* @__PURE__ */ u({
1131
1140
  name: "g-fade",
1132
1141
  appear: ""
1133
1142
  }, {
1134
- default: K(() => [s("div", {
1143
+ default: G(() => [s("div", {
1135
1144
  id: "alertdialog-" + L(f),
1136
1145
  class: "g-alertdialog",
1137
1146
  role: "alertdialog",
@@ -1141,42 +1150,42 @@ var mt = /* @__PURE__ */ u({
1141
1150
  ref_key: "dialog",
1142
1151
  ref: u,
1143
1152
  style: y({ zIndex: L(g) })
1144
- }, [s("div", Ot, [
1153
+ }, [s("div", At, [
1145
1154
  s("h2", {
1146
1155
  id: "alertdialog-label-" + L(f),
1147
1156
  class: "g-alertdialog-label"
1148
- }, N(a.label), 9, kt),
1157
+ }, N(a.label), 9, jt),
1149
1158
  s("div", {
1150
1159
  id: "alertdialog-description-" + L(f),
1151
1160
  class: "g-alertdialog-content"
1152
- }, [k(e.$slots, "default")], 8, At),
1153
- s("div", jt, [l(Q, {
1161
+ }, [k(e.$slots, "default")], 8, Mt),
1162
+ s("div", Nt, [l(Q, {
1154
1163
  outlined: "",
1155
1164
  onClick: r[0] ||= (e) => o("cancel")
1156
1165
  }, {
1157
- default: K(() => [...r[2] ||= [c("Cancel", -1)]]),
1166
+ default: G(() => [...r[2] ||= [c("Cancel", -1)]]),
1158
1167
  _: 1
1159
1168
  }), l(Q, {
1160
1169
  theme: a.buttonColor,
1161
1170
  onClick: r[1] ||= (e) => o("confirm")
1162
1171
  }, {
1163
- default: K(() => [c(N(a.buttonText), 1)]),
1172
+ default: G(() => [c(N(a.buttonText), 1)]),
1164
1173
  _: 1
1165
1174
  }, 8, ["theme"])])
1166
- ])], 12, Dt)]),
1175
+ ])], 12, kt)]),
1167
1176
  _: 3
1168
1177
  })]));
1169
1178
  }
1170
1179
  });
1171
1180
  //#endregion
1172
1181
  //#region src/compose/useSelectDropdown.ts
1173
- function Nt(e) {
1182
+ function Ft(e) {
1174
1183
  return e.map((e) => typeof e == "string" ? {
1175
1184
  label: e,
1176
1185
  value: e
1177
1186
  } : e);
1178
1187
  }
1179
- function Pt({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a }) {
1188
+ function It({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a }) {
1180
1189
  let { push: o, pop: s, isTop: c } = qe(i), l = D("below"), u = D(null), d = r(() => {
1181
1190
  let e = {};
1182
1191
  return u.value !== null && (e.maxHeight = `${u.value}px`), l.value === "above" ? (e.top = "auto", e.bottom = "100%") : (e.top = "100%", e.bottom = "auto"), e;
@@ -1200,7 +1209,7 @@ function Pt({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a })
1200
1209
  function h() {
1201
1210
  p && p();
1202
1211
  }
1203
- G(e, (e) => {
1212
+ W(e, (e) => {
1204
1213
  e ? (o(), m(), g(() => f())) : (s(), h(), l.value = "below", u.value = null);
1205
1214
  }), x(() => {
1206
1215
  h();
@@ -1220,11 +1229,11 @@ function Pt({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a })
1220
1229
  }
1221
1230
  //#endregion
1222
1231
  //#region src/components/GSelect.vue?vue&type=script&setup=true&lang.ts
1223
- var Ft = ["id"], It = {
1232
+ var Lt = ["id"], Rt = {
1224
1233
  key: 0,
1225
1234
  class: "g-select-required",
1226
1235
  "aria-hidden": "true"
1227
- }, Lt = { class: "g-select-input-wrap" }, Rt = ["id"], zt = [
1236
+ }, zt = { class: "g-select-input-wrap" }, Bt = ["id"], Vt = [
1228
1237
  "value",
1229
1238
  "placeholder",
1230
1239
  "disabled",
@@ -1232,24 +1241,24 @@ var Ft = ["id"], It = {
1232
1241
  "aria-expanded",
1233
1242
  "aria-required",
1234
1243
  "aria-activedescendant"
1235
- ], Bt = [
1244
+ ], Ht = [
1236
1245
  "id",
1237
1246
  "aria-controls",
1238
1247
  "aria-expanded",
1239
1248
  "aria-required",
1240
1249
  "aria-activedescendant"
1241
- ], Vt = ["id"], Ht = [
1250
+ ], Ut = ["id"], Wt = [
1242
1251
  "id",
1243
1252
  "aria-selected",
1244
1253
  "onClick"
1245
- ], Ut = { class: "g-select-option-label" }, Wt = {
1254
+ ], Gt = { class: "g-select-option-label" }, Kt = {
1246
1255
  key: 0,
1247
1256
  class: "g-select-option-description"
1248
- }, Gt = {
1257
+ }, qt = {
1249
1258
  key: 1,
1250
1259
  "aria-live": "polite",
1251
1260
  class: "g-select-combo-option g-select-option g-select-no-results"
1252
- }, Kt = /* @__PURE__ */ u({
1261
+ }, Jt = /* @__PURE__ */ u({
1253
1262
  __name: "GSelect",
1254
1263
  props: /*@__PURE__*/ m({
1255
1264
  options: {},
@@ -1291,18 +1300,18 @@ var Ft = ["id"], It = {
1291
1300
  value: d,
1292
1301
  errors: F(i, "errors"),
1293
1302
  formKey: i.formKey
1294
- }), { menuPlacement: E, menuStyle: A, isTop: j, scrollOptionIntoView: M } = Pt({
1303
+ }), { menuPlacement: E, menuStyle: A, isTop: j, scrollOptionIntoView: M } = It({
1295
1304
  open: y,
1296
1305
  anchorRef: p,
1297
1306
  listboxRef: m,
1298
1307
  baseId: f,
1299
1308
  activeIndex: b
1300
- }), P = r(() => Nt(i.options)), I = D(""), R = r(() => {
1309
+ }), P = r(() => Ft(i.options)), I = D(""), R = r(() => {
1301
1310
  if (!i.searchable || !y.value || !I.value) return P.value;
1302
1311
  let e = I.value.toLowerCase();
1303
1312
  return P.value.filter((t) => t.label.toLowerCase().includes(e) || i.searchDescription && !!t.description && t.description.toLowerCase().includes(e));
1304
1313
  }), V = r(() => R.value.findIndex((e) => e.value === d.value));
1305
- G(() => d.value, (e) => {
1314
+ W(() => d.value, (e) => {
1306
1315
  let t = R.value.findIndex((t) => t.value === e);
1307
1316
  t !== -1 && (b.value = t);
1308
1317
  });
@@ -1318,7 +1327,7 @@ var Ft = ["id"], It = {
1318
1327
  function U() {
1319
1328
  y.value = !1, i.searchable && (I.value = "");
1320
1329
  }
1321
- function W(e) {
1330
+ function ee(e) {
1322
1331
  if (!i.disabled && i.searchable) {
1323
1332
  if (S.value) {
1324
1333
  S.value = !1;
@@ -1327,13 +1336,13 @@ var Ft = ["id"], It = {
1327
1336
  H();
1328
1337
  }
1329
1338
  }
1330
- function te(e) {
1339
+ function ne(e) {
1331
1340
  if (!i.searchable) return;
1332
1341
  y.value || H(), I.value = e.target.value;
1333
1342
  let t = R.value.findIndex((e) => e.value === d.value);
1334
1343
  b.value = t === -1 ? 0 : t;
1335
1344
  }
1336
- function K(e) {
1345
+ function G(e) {
1337
1346
  let t = e.relatedTarget;
1338
1347
  if (x.value) {
1339
1348
  x.value = !1;
@@ -1341,16 +1350,16 @@ var Ft = ["id"], It = {
1341
1350
  }
1342
1351
  t && m.value && m.value.contains(t) || (i.searchable && (I.value = ""), U());
1343
1352
  }
1344
- function re(e) {
1353
+ function ie(e) {
1345
1354
  let t = R.value[e];
1346
1355
  t && t.value !== d.value && (d.value = t.value, u("change", t.value)), S.value = !0, U(), setTimeout(() => {
1347
1356
  S.value = !1;
1348
1357
  }, 100);
1349
1358
  }
1350
- function J() {
1359
+ function q() {
1351
1360
  i.disabled || (y.value ? U() : H());
1352
1361
  }
1353
- function ie(e) {
1362
+ function ae(e) {
1354
1363
  if (i.disabled) return;
1355
1364
  let t = R.value.length - 1;
1356
1365
  if (!y.value && [
@@ -1377,21 +1386,21 @@ var Ft = ["id"], It = {
1377
1386
  break;
1378
1387
  case "Enter":
1379
1388
  case " ":
1380
- e.preventDefault(), y.value ? re(b.value) : H();
1389
+ e.preventDefault(), y.value ? ie(b.value) : H();
1381
1390
  break;
1382
1391
  case "Escape": j.value && (e.preventDefault(), setTimeout(() => {
1383
1392
  U();
1384
1393
  }, 0));
1385
1394
  }
1386
1395
  }
1387
- function Y(e) {
1388
- re(e);
1396
+ function J(e) {
1397
+ ie(e);
1389
1398
  }
1390
- function ae() {
1399
+ function oe() {
1391
1400
  x.value = !0;
1392
1401
  }
1393
- let oe = r(() => i.clearButton && d.value !== null && d.value !== void 0 && !i.disabled);
1394
- function se() {
1402
+ let se = r(() => i.clearButton && d.value !== null && d.value !== void 0 && !i.disabled);
1403
+ function ce() {
1395
1404
  i.disabled || (d.value = null, u("change", null), i.searchable && (I.value = ""));
1396
1405
  }
1397
1406
  return (n, r) => (w(), o("div", { class: _(["g-select-root g-select-combo", {
@@ -1403,8 +1412,8 @@ var Ft = ["id"], It = {
1403
1412
  key: 0,
1404
1413
  id: L(f) + "-label",
1405
1414
  class: "g-select-combo-label g-select-label"
1406
- }, [c(N(i.label), 1), i.required ? (w(), o("span", It, " *")) : a("", !0)], 8, Ft)),
1407
- s("div", Lt, [i.searchable ? (w(), o("div", {
1415
+ }, [c(N(i.label), 1), i.required ? (w(), o("span", Rt, " *")) : a("", !0)], 8, Lt)),
1416
+ s("div", zt, [i.searchable ? (w(), o("div", {
1408
1417
  key: 0,
1409
1418
  class: "g-select-combo-input g-select-control",
1410
1419
  id: L(f)
@@ -1418,10 +1427,10 @@ var Ft = ["id"], It = {
1418
1427
  value: y.value ? I.value : P.value[V.value] ? P.value[V.value].label : "",
1419
1428
  placeholder: y.value ? "" : t.placeholder,
1420
1429
  disabled: i.disabled,
1421
- onFocus: W,
1422
- onInput: te,
1423
- onKeydown: ie,
1424
- onBlur: K,
1430
+ onFocus: ee,
1431
+ onInput: ne,
1432
+ onKeydown: ae,
1433
+ onBlur: G,
1425
1434
  "aria-autocomplete": "list",
1426
1435
  "aria-controls": L(f) + "-listbox",
1427
1436
  "aria-expanded": y.value ? "true" : "false",
@@ -1431,12 +1440,12 @@ var Ft = ["id"], It = {
1431
1440
  }, t.hiddenLabel ? { "aria-label": i.label } : { "aria-labelledby": L(f) + "-label" }, {
1432
1441
  role: "combobox",
1433
1442
  autocomplete: "off"
1434
- }), null, 16, zt),
1435
- oe.value ? (w(), o("button", {
1443
+ }), null, 16, Vt),
1444
+ se.value ? (w(), o("button", {
1436
1445
  key: 0,
1437
1446
  type: "button",
1438
1447
  class: "g-select-clear-btn",
1439
- onClick: se
1448
+ onClick: ce
1440
1449
  }, [...r[0] ||= [s("svg", {
1441
1450
  role: "img",
1442
1451
  "aria-label": "Clear Selection",
@@ -1457,7 +1466,7 @@ var Ft = ["id"], It = {
1457
1466
  fill: "currentColor",
1458
1467
  d: "M38.75 24.13a1.36 1.36 0 0 1 0 2.36l-12.44 7.18-12.43 7.18a1.36 1.36 0 0 1-2.05-1.18V11a1.36 1.36 0 0 1 2.05-1.18L26.31 17Z"
1459
1468
  })], -1)
1460
- ], 8, Rt)) : (w(), o("div", h({
1469
+ ], 8, Bt)) : (w(), o("div", h({
1461
1470
  key: 1,
1462
1471
  ref_key: "comboRef",
1463
1472
  ref: p,
@@ -1471,17 +1480,17 @@ var Ft = ["id"], It = {
1471
1480
  }, t.hiddenLabel ? { "aria-label": i.label } : { "aria-labelledby": L(f) + "-label" }, {
1472
1481
  "aria-activedescendant": y.value ? L(f) + "-option-" + b.value : void 0,
1473
1482
  tabindex: "0",
1474
- onClick: J,
1475
- onKeydown: ie,
1476
- onFocus: W,
1477
- onBlur: K
1483
+ onClick: q,
1484
+ onKeydown: ae,
1485
+ onFocus: ee,
1486
+ onBlur: G
1478
1487
  }), [
1479
1488
  c(N(P.value[V.value] ? P.value[V.value].label : "") + " ", 1),
1480
- oe.value ? (w(), o("button", {
1489
+ se.value ? (w(), o("button", {
1481
1490
  key: 0,
1482
1491
  type: "button",
1483
1492
  class: "g-select-clear-btn",
1484
- onClick: q(se, ["stop"])
1493
+ onClick: K(ce, ["stop"])
1485
1494
  }, [...r[2] ||= [s("svg", {
1486
1495
  role: "img",
1487
1496
  "aria-label": "Clear Selection",
@@ -1502,7 +1511,7 @@ var Ft = ["id"], It = {
1502
1511
  fill: "currentColor",
1503
1512
  d: "M38.75 24.13a1.36 1.36 0 0 1 0 2.36l-12.44 7.18-12.43 7.18a1.36 1.36 0 0 1-2.05-1.18V11a1.36 1.36 0 0 1 2.05-1.18L26.31 17Z"
1504
1513
  })], -1)
1505
- ], 16, Bt)), ne(s("div", h({
1514
+ ], 16, Ht)), re(s("div", h({
1506
1515
  ref_key: "listboxRef",
1507
1516
  ref: m,
1508
1517
  class: ["g-select-combo-menu g-select-list", { "g-select-combo-menu--above": L(E) === "above" }],
@@ -1518,40 +1527,40 @@ var Ft = ["id"], It = {
1518
1527
  }]),
1519
1528
  role: "option",
1520
1529
  "aria-selected": e.value === d.value ? "true" : "false",
1521
- onMousedown: ae,
1522
- onClick: (e) => Y(t)
1530
+ onMousedown: oe,
1531
+ onClick: (e) => J(t)
1523
1532
  }, [k(n.$slots, "option", {
1524
1533
  option: e,
1525
1534
  selected: e.value === d.value,
1526
1535
  index: t
1527
- }, () => [s("span", Ut, N(e.label), 1), e.description ? (w(), o("span", Wt, N(e.description), 1)) : a("", !0)])], 42, Ht))), 128)) : (w(), o("div", Gt, " No results found. "))], 16, Vt), [[ee, y.value]])]),
1536
+ }, () => [s("span", Gt, N(e.label), 1), e.description ? (w(), o("span", Kt, N(e.description), 1)) : a("", !0)])], 42, Wt))), 128)) : (w(), o("div", qt, " No results found. "))], 16, Ut), [[te, y.value]])]),
1528
1537
  l(Me, {
1529
1538
  errors: L(C),
1530
1539
  id: "error-message-" + L(f)
1531
1540
  }, null, 8, ["errors", "id"])
1532
1541
  ], 2));
1533
1542
  }
1534
- }), qt = ["aria-label"], Jt = [
1543
+ }), Yt = ["aria-label"], Xt = [
1535
1544
  "placeholder",
1536
1545
  "value",
1537
1546
  "aria-expanded",
1538
1547
  "aria-controls",
1539
1548
  "aria-activedescendant"
1540
- ], Yt = {
1549
+ ], Zt = {
1541
1550
  key: 0,
1542
1551
  class: "g-search-dropdown"
1543
- }, Xt = {
1552
+ }, Qt = {
1544
1553
  "aria-live": "polite",
1545
1554
  class: "g-search-result-count"
1546
- }, Zt = ["id"], Qt = ["aria-label"], $t = { class: "g-search-group-label" }, en = [
1555
+ }, $t = ["id"], en = ["aria-label"], tn = { class: "g-search-group-label" }, nn = [
1547
1556
  "id",
1548
1557
  "onMousedown",
1549
1558
  "aria-selected"
1550
- ], tn = [
1559
+ ], rn = [
1551
1560
  "id",
1552
1561
  "onMousedown",
1553
1562
  "aria-selected"
1554
- ], nn = /* @__PURE__ */ u({
1563
+ ], an = /* @__PURE__ */ u({
1555
1564
  __name: "GSearch",
1556
1565
  props: /*@__PURE__*/ m({
1557
1566
  results: {},
@@ -1579,7 +1588,7 @@ var Ft = ["id"], It = {
1579
1588
  e && e.scrollIntoView({ block: "nearest" });
1580
1589
  });
1581
1590
  }
1582
- let { focused: S } = se(f);
1591
+ let { focused: S } = ce(f);
1583
1592
  function C(e) {
1584
1593
  let t = e.altKey;
1585
1594
  if (e.key === "ArrowDown") {
@@ -1603,10 +1612,10 @@ var Ft = ["id"], It = {
1603
1612
  function T(e) {
1604
1613
  d("select", e), l.value = "", m.value = !0, h.value = -1;
1605
1614
  }
1606
- let E = r(() => !!u.loading), A = r(() => S.value && !m.value), j = oe(() => {
1615
+ let E = r(() => !!u.loading), A = r(() => S.value && !m.value), j = se(() => {
1607
1616
  d("submit", l.value);
1608
1617
  }, 300);
1609
- G(() => l.value, (e) => {
1618
+ W(() => l.value, (e) => {
1610
1619
  e ? u.auto && j() : h.value = -1;
1611
1620
  });
1612
1621
  let M = z();
@@ -1616,7 +1625,7 @@ var Ft = ["id"], It = {
1616
1625
  "aria-label": u.label
1617
1626
  }, [s("form", {
1618
1627
  class: "g-search-form",
1619
- onSubmit: n[0] ||= q((e) => T(null), ["prevent"])
1628
+ onSubmit: n[0] ||= K((e) => T(null), ["prevent"])
1620
1629
  }, [s("input", {
1621
1630
  ref_key: "inputRef",
1622
1631
  ref: f,
@@ -1632,12 +1641,12 @@ var Ft = ["id"], It = {
1632
1641
  "aria-autocomplete": "list",
1633
1642
  "aria-controls": `${L(M)}-list`,
1634
1643
  "aria-activedescendant": h.value >= 0 ? "g-search-option-" + v.value[h.value].id : void 0
1635
- }, null, 40, Jt), s("button", {
1644
+ }, null, 40, Xt), s("button", {
1636
1645
  type: "submit",
1637
1646
  class: "g-search-submit",
1638
1647
  "aria-label": "Submit search",
1639
1648
  onKeydown: C
1640
- }, [E.value ? (w(), i(Et, {
1649
+ }, [E.value ? (w(), i(Ot, {
1641
1650
  key: 0,
1642
1651
  size: "tiny"
1643
1652
  })) : a("", !0), n[1] ||= s("svg", {
@@ -1648,7 +1657,7 @@ var Ft = ["id"], It = {
1648
1657
  }, [s("path", {
1649
1658
  fill: "currentColor",
1650
1659
  d: "M30 9.76A14.05 14.05 0 1 0 28.3 31l11.3 13a3.34 3.34 0 0 0 4.72-4.72L31.44 27.86A14.05 14.05 0 0 0 30 9.76ZM27.27 27a10.26 10.26 0 1 1 0-14.5 10.25 10.25 0 0 1 0 14.5Z"
1651
- })], -1)], 32)], 32), A.value ? (w(), o("div", Yt, [s("div", Xt, [E.value ? a("", !0) : (w(), o(e, { key: 0 }, [c(N(y.value) + " result" + N(y.value === 1 ? "" : "s"), 1)], 64))]), s("div", {
1660
+ })], -1)], 32)], 32), A.value ? (w(), o("div", Zt, [s("div", Qt, [E.value ? a("", !0) : (w(), o(e, { key: 0 }, [c(N(y.value) + " result" + N(y.value === 1 ? "" : "s"), 1)], 64))]), s("div", {
1652
1661
  role: "listbox",
1653
1662
  id: `${L(M)}-list`,
1654
1663
  ref_key: "listboxRef",
@@ -1659,86 +1668,46 @@ var Ft = ["id"], It = {
1659
1668
  class: "g-search-group",
1660
1669
  role: "group",
1661
1670
  "aria-label": n.label
1662
- }, [k(t.$slots, "group", { group: n }, () => [s("div", $t, N(n.label), 1)]), (w(!0), o(e, null, O(n.items, (e, n) => (w(), o("div", {
1671
+ }, [k(t.$slots, "group", { group: n }, () => [s("div", tn, N(n.label), 1)]), (w(!0), o(e, null, O(n.items, (e, n) => (w(), o("div", {
1663
1672
  key: e.id,
1664
1673
  id: "g-search-option-" + e.id,
1665
1674
  class: _(["g-search-option", { "g-search-option-active": v.value[h.value] && v.value[h.value].id === e.id }]),
1666
1675
  role: "option",
1667
- onMousedown: q((t) => T(e), ["prevent"]),
1676
+ onMousedown: K((t) => T(e), ["prevent"]),
1668
1677
  "aria-selected": v.value[h.value] && v.value[h.value].id === e.id
1669
- }, [k(t.$slots, "option", { option: e }, () => [c(N(e.title), 1)])], 42, en))), 128))], 8, Qt))), 128)) : y.value > 0 ? (w(!0), o(e, { key: 1 }, O(v.value, (e, n) => (w(), o("div", {
1678
+ }, [k(t.$slots, "option", { option: e }, () => [c(N(e.title), 1)])], 42, nn))), 128))], 8, en))), 128)) : y.value > 0 ? (w(!0), o(e, { key: 1 }, O(v.value, (e, n) => (w(), o("div", {
1670
1679
  key: e.id,
1671
1680
  id: "g-search-option-" + e.id,
1672
1681
  class: _(["g-search-option", { "g-search-option-active": h.value === n }]),
1673
1682
  role: "option",
1674
- onMousedown: q((t) => T(e), ["prevent"]),
1683
+ onMousedown: K((t) => T(e), ["prevent"]),
1675
1684
  "aria-selected": h.value === n
1676
- }, [k(t.$slots, "option", { option: e }, () => [c(N(e.title), 1)])], 42, tn))), 128)) : a("", !0)], 8, Zt)])) : a("", !0)], 8, qt));
1677
- }
1678
- }), rn = { class: /*@__PURE__*/ _({ "g-app-header": !0 }) }, an = { class: "g-app-header__brand" }, on = {
1679
- class: "g-app-header__brand-text",
1680
- href: "/"
1681
- }, sn = {
1682
- key: 0,
1683
- class: "g-app-header__block-i-container"
1684
- }, cn = { class: "g-app-header__title" }, ln = { class: "g-app-header__app-controls-wrap" }, un = /* @__PURE__ */ u({
1685
- __name: "GAppHeader",
1686
- props: {
1687
- illinois: {
1688
- type: Boolean,
1689
- default: !1
1690
- },
1691
- brand: { default: "GRAD" }
1692
- },
1693
- setup(e) {
1694
- return (t, n) => (w(), o("header", rn, [
1695
- n[1] ||= s("div", { class: "g-app-header__background" }, [s("div", { class: "g-app-header__background-pattern" }), s("div", { class: "g-app-header__background-gradient" })], -1),
1696
- s("div", an, [k(t.$slots, "left", {}, () => [s("a", on, N(e.brand), 1)])]),
1697
- e.illinois ? (w(), o("div", sn, [...n[0] ||= [s("svg", {
1698
- class: "g-app-header__block-i",
1699
- role: "img",
1700
- width: "55",
1701
- viewBox: "0 0 55 79",
1702
- xmlns: "http://www.w3.org/2000/svg"
1703
- }, [
1704
- s("title", null, "Block I logo"),
1705
- s("path", {
1706
- class: "g-app-header__block-i-outline",
1707
- d: "M54.2 21.1V0H0v21.1h12v36.1H0v21.1h54.2V57.2h-12V21.1z"
1708
- }),
1709
- s("path", {
1710
- class: "g-app-header__block-i-fill",
1711
- d: "M42.1 18.1h9V3H3v15h9c1.7 0 3 1.3 3 3v36.1c0 1.7-1.3 3-3 3H3v15h48.1v-15h-9c-1.7 0-3-1.3-3-3v-36c0-1.7 1.4-3 3-3z"
1712
- })
1713
- ], -1)]])) : k(t.$slots, "icon", {}, void 0, void 0, 1),
1714
- s("div", cn, [k(t.$slots, "title")]),
1715
- s("div", ln, [k(t.$slots, "app-controls", { class: "g-app-header__app-controls" })])
1716
- ]));
1685
+ }, [k(t.$slots, "option", { option: e }, () => [c(N(e.title), 1)])], 42, rn))), 128)) : a("", !0)], 8, $t)])) : a("", !0)], 8, Yt));
1717
1686
  }
1718
1687
  });
1719
1688
  //#endregion
1720
1689
  //#region src/compose/useWebComponentSidebar.ts
1721
- function dn(e) {
1690
+ function on(e) {
1722
1691
  return e.replace(/[^a-zA-Z0-9_-]/g, "-");
1723
1692
  }
1724
- function fn() {
1693
+ function sn() {
1725
1694
  let e = globalThis;
1726
1695
  return e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__ ||= /* @__PURE__ */ new Map(), e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__;
1727
1696
  }
1728
- function pn(e = "default", t) {
1729
- let n = fn(), r = e || "default", i = typeof t == "string" ? t : t?.value, a = i && i.trim() ? i : "(max-width: 800px)";
1697
+ function cn(e = "default", t) {
1698
+ let n = sn(), r = e || "default", i = typeof t == "string" ? t : t?.value, a = i && i.trim() ? i : "(max-width: 800px)";
1730
1699
  if (!n.has(r)) {
1731
- let e = dn(r), t = D(a);
1700
+ let e = on(r), t = D(a);
1732
1701
  n.set(r, {
1733
1702
  id: `g-wc-sidebar-${e}`,
1734
1703
  open: D(!1),
1735
1704
  breakpoint: t,
1736
- isCollapsible: le(t, { ssrWidth: 1e3 }),
1705
+ isCollapsible: Y(t, { ssrWidth: 1e3 }),
1737
1706
  toggle: () => void 0
1738
1707
  });
1739
1708
  }
1740
1709
  let o = n.get(r);
1741
- o.toggle = () => o.open.value = !o.open.value, typeof t == "string" ? t.trim() && (o.breakpoint.value = t) : t && G(t, (e) => {
1710
+ o.toggle = () => o.open.value = !o.open.value, typeof t == "string" ? t.trim() && (o.breakpoint.value = t) : t && W(t, (e) => {
1742
1711
  e && e.trim() && (o.breakpoint.value = e);
1743
1712
  }, { immediate: !0 });
1744
1713
  function s(e) {
@@ -1756,7 +1725,7 @@ function pn(e = "default", t) {
1756
1725
  }, 5));
1757
1726
  }
1758
1727
  return S(() => {
1759
- G(o.isCollapsible, (e) => {
1728
+ W(o.isCollapsible, (e) => {
1760
1729
  e ? (document.addEventListener("mousedown", s), document.addEventListener("focusin", c)) : (document.removeEventListener("mousedown", s), document.removeEventListener("focusin", c));
1761
1730
  }, { immediate: !0 });
1762
1731
  }), x(() => {
@@ -1764,8 +1733,258 @@ function pn(e = "default", t) {
1764
1733
  }), o;
1765
1734
  }
1766
1735
  //#endregion
1736
+ //#region src/components/hamburger/GHamburgerMenuButton.vue?vue&type=script&setup=true&lang.ts
1737
+ var ln = [
1738
+ "id",
1739
+ "aria-controls",
1740
+ "aria-expanded",
1741
+ "aria-haspopup",
1742
+ "aria-label"
1743
+ ], un = {
1744
+ key: 0,
1745
+ class: "g-hamburger-label"
1746
+ }, dn = /* @__PURE__ */ u({
1747
+ __name: "GHamburgerMenuButton",
1748
+ props: {
1749
+ id: {},
1750
+ controlsId: {},
1751
+ expanded: { type: Boolean },
1752
+ label: {},
1753
+ labelVisible: { type: Boolean },
1754
+ popover: { type: Boolean },
1755
+ collapsible: { type: Boolean }
1756
+ },
1757
+ setup(e, { expose: t }) {
1758
+ let n = H("buttonRef");
1759
+ function r() {
1760
+ n.value?.focus();
1761
+ }
1762
+ return t({ focus: r }), (t, r) => (w(), o("button", {
1763
+ id: e.id,
1764
+ ref_key: "buttonRef",
1765
+ ref: n,
1766
+ class: _(["g-hamburger-button", {
1767
+ "g-hamburger-button--open": e.expanded,
1768
+ "g-hamburger-button--popover": e.popover,
1769
+ "g-hamburger-button--collapsible": e.collapsible
1770
+ }]),
1771
+ "aria-controls": e.controlsId,
1772
+ "aria-expanded": e.expanded,
1773
+ "aria-haspopup": e.popover ? "dialog" : void 0,
1774
+ "aria-label": e.labelVisible ? void 0 : e.label
1775
+ }, [r[0] ||= s("svg", {
1776
+ xmlns: "http://www.w3.org/2000/svg",
1777
+ viewBox: "0 0 51.26 51.26",
1778
+ role: "none"
1779
+ }, [s("g", { fill: "currentColor" }, [s("path", { d: "M11.6 16.52h28.06a3.24 3.24 0 1 0 0-6.48H11.6a3.24 3.24 0 0 0 0 6.48ZM39.66 22.07H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48ZM39.66 34.1H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48Z" })])], -1), e.labelVisible ? (w(), o("span", un, N(e.label), 1)) : a("", !0)], 10, ln));
1780
+ }
1781
+ }), fn = ["id"], pn = /* @__PURE__ */ u({
1782
+ __name: "GHamburgerMenu",
1783
+ props: {
1784
+ label: { default: "Main Navigation" },
1785
+ sidebarKey: { default: "default" },
1786
+ mediaQuery: {},
1787
+ labelVisible: {
1788
+ type: Boolean,
1789
+ default: !1
1790
+ },
1791
+ mode: { default: "sidebar" },
1792
+ modelValue: {
1793
+ type: Boolean,
1794
+ default: !1
1795
+ }
1796
+ },
1797
+ emits: ["toggle", "update:modelValue"],
1798
+ setup(e, { expose: t, emit: n }) {
1799
+ let a = e, o = p("sidebar", void 0) ?? (Z() ? cn(a.sidebarKey, F(a, "mediaQuery")) : void 0), c = n, u = r(() => a.mode === "popover"), d = D(a.modelValue);
1800
+ W(F(a, "modelValue"), (e) => {
1801
+ d.value = e;
1802
+ });
1803
+ let f = H("triggerButtonRef"), m = H("popoverMenuRef");
1804
+ function h(e) {
1805
+ d.value !== e && (d.value = e, c("update:modelValue", e));
1806
+ }
1807
+ function _() {
1808
+ if (u.value) {
1809
+ h(!0);
1810
+ return;
1811
+ }
1812
+ o?.open && (o.open.value = !0);
1813
+ }
1814
+ function v() {
1815
+ if (u.value) {
1816
+ h(!1);
1817
+ return;
1818
+ }
1819
+ o?.open && (o.open.value = !1);
1820
+ }
1821
+ function y() {
1822
+ if (c("toggle"), u.value) {
1823
+ h(!d.value);
1824
+ return;
1825
+ }
1826
+ o?.toggle();
1827
+ }
1828
+ function b(e) {
1829
+ e.key === "Escape" && v();
1830
+ }
1831
+ let x = z(), S = r(() => `${o?.id ?? x}-hamburger`), C = r(() => u.value ? d.value : !!o?.open?.value), T = r(() => u.value ? `${x}-popover` : o ? `${o.id}-sidebar` : void 0);
1832
+ function E() {
1833
+ return et($e(m.value));
1834
+ }
1835
+ async function O(e) {
1836
+ if (e < 0) return !1;
1837
+ await g();
1838
+ let t = $e(m.value)[e];
1839
+ return t ? (t.focus(), !0) : !1;
1840
+ }
1841
+ function A() {
1842
+ f.value?.focus();
1843
+ }
1844
+ return t({
1845
+ show: _,
1846
+ hide: v,
1847
+ toggle: y,
1848
+ focusItem: O,
1849
+ focusTrigger: A,
1850
+ getFocusedItemIndex: E
1851
+ }), (t, n) => u.value ? (w(), i(ct, {
1852
+ key: 0,
1853
+ minimal: "",
1854
+ "model-value": d.value,
1855
+ "onUpdate:modelValue": h
1856
+ }, {
1857
+ trigger: G(() => [l(dn, {
1858
+ ref_key: "triggerButtonRef",
1859
+ ref: f,
1860
+ id: S.value,
1861
+ "controls-id": T.value,
1862
+ expanded: C.value,
1863
+ label: e.label,
1864
+ "label-visible": e.labelVisible,
1865
+ popover: "",
1866
+ onClick: y,
1867
+ onKeydown: b
1868
+ }, null, 8, [
1869
+ "id",
1870
+ "controls-id",
1871
+ "expanded",
1872
+ "label",
1873
+ "label-visible"
1874
+ ])]),
1875
+ default: G(() => [s("div", {
1876
+ id: T.value,
1877
+ ref_key: "popoverMenuRef",
1878
+ ref: m,
1879
+ class: "g-hamburger-popover"
1880
+ }, [k(t.$slots, "default")], 8, fn)]),
1881
+ _: 3
1882
+ }, 8, ["model-value"])) : (w(), i(dn, {
1883
+ key: 1,
1884
+ ref_key: "triggerButtonRef",
1885
+ ref: f,
1886
+ id: S.value,
1887
+ "controls-id": T.value,
1888
+ expanded: C.value,
1889
+ label: e.label,
1890
+ "label-visible": e.labelVisible,
1891
+ collapsible: L(o)?.isCollapsible?.value,
1892
+ onClick: y,
1893
+ onKeydown: b
1894
+ }, null, 8, [
1895
+ "id",
1896
+ "controls-id",
1897
+ "expanded",
1898
+ "label",
1899
+ "label-visible",
1900
+ "collapsible"
1901
+ ]));
1902
+ }
1903
+ }), mn = { class: "g-app-header__brand" }, hn = {
1904
+ class: "g-app-header__brand-text",
1905
+ href: "/"
1906
+ }, gn = {
1907
+ key: 0,
1908
+ class: "g-app-header__block-i-container"
1909
+ }, _n = { class: "g-app-header__title" }, vn = ["aria-label"], yn = ["aria-label"], bn = /* @__PURE__ */ u({
1910
+ __name: "GAppHeader",
1911
+ props: {
1912
+ illinois: {
1913
+ type: Boolean,
1914
+ default: !1
1915
+ },
1916
+ brand: { default: "GRAD" },
1917
+ navigationLabel: { default: "Main navigation" },
1918
+ navigationMediaQuery: { default: "(max-width: 800px)" }
1919
+ },
1920
+ setup(e) {
1921
+ let t = e, n = V(), c = r(() => !!n.navigation), l = r(() => !!n["app-controls"]), u = r(() => !c.value || !d.value), d = Y(F(t, "navigationMediaQuery"), { ssrWidth: 1e3 }), f = H("desktopNavigationRef"), p = H("mobileNavigationRef");
1922
+ function m() {
1923
+ return $e(f.value);
1924
+ }
1925
+ function h(e) {
1926
+ e < 0 || m()[e]?.focus();
1927
+ }
1928
+ return W(d, async (e) => {
1929
+ if (!c.value) return;
1930
+ let t = e ? et(m()) : p.value?.getFocusedItemIndex() ?? -1;
1931
+ if (e) {
1932
+ if (t < 0) return;
1933
+ await g(), p.value?.show(), await p.value?.focusItem(t);
1934
+ return;
1935
+ }
1936
+ p.value?.hide(), !(t < 0) && (await g(), h(t));
1937
+ }), (t, n) => (w(), o("header", { class: _(["g-app-header", { "g-app-header--no-app-controls": !l.value }]) }, [
1938
+ n[1] ||= s("div", { class: "g-app-header__background" }, [s("div", { class: "g-app-header__background-pattern" }), s("div", { class: "g-app-header__background-gradient" })], -1),
1939
+ s("div", mn, [k(t.$slots, "left", {}, () => [s("a", hn, N(e.brand), 1)])]),
1940
+ e.illinois ? (w(), o("div", gn, [...n[0] ||= [s("svg", {
1941
+ class: "g-app-header__block-i",
1942
+ role: "img",
1943
+ width: "55",
1944
+ viewBox: "0 0 55 79",
1945
+ xmlns: "http://www.w3.org/2000/svg"
1946
+ }, [
1947
+ s("title", null, "Block I logo"),
1948
+ s("path", {
1949
+ class: "g-app-header__block-i-outline",
1950
+ d: "M54.2 21.1V0H0v21.1h12v36.1H0v21.1h54.2V57.2h-12V21.1z"
1951
+ }),
1952
+ s("path", {
1953
+ class: "g-app-header__block-i-fill",
1954
+ d: "M42.1 18.1h9V3H3v15h9c1.7 0 3 1.3 3 3v36.1c0 1.7-1.3 3-3 3H3v15h48.1v-15h-9c-1.7 0-3-1.3-3-3v-36c0-1.7 1.4-3 3-3z"
1955
+ })
1956
+ ], -1)]])) : k(t.$slots, "icon", {}, void 0, void 0, 1),
1957
+ s("div", _n, [k(t.$slots, "title")]),
1958
+ c.value && !L(d) ? (w(), o("nav", {
1959
+ key: 2,
1960
+ ref_key: "desktopNavigationRef",
1961
+ ref: f,
1962
+ class: "g-app-header__navigation",
1963
+ "aria-label": e.navigationLabel
1964
+ }, [k(t.$slots, "navigation")], 8, vn)) : c.value ? (w(), i(pn, {
1965
+ key: 3,
1966
+ ref_key: "mobileNavigationRef",
1967
+ ref: p,
1968
+ class: "g-app-header__navigation-toggle",
1969
+ label: e.navigationLabel,
1970
+ mode: "popover"
1971
+ }, {
1972
+ default: G(() => [s("nav", {
1973
+ class: "g-app-header__navigation-popover",
1974
+ "aria-label": e.navigationLabel
1975
+ }, [k(t.$slots, "navigation")], 8, yn)]),
1976
+ _: 3
1977
+ }, 8, ["label"])) : a("", !0),
1978
+ l.value ? (w(), o("div", {
1979
+ key: 4,
1980
+ class: _(["g-app-header__app-controls-wrap", { "g-app-header__app-controls-wrap--push": u.value }])
1981
+ }, [k(t.$slots, "app-controls")], 2)) : a("", !0)
1982
+ ], 2));
1983
+ }
1984
+ });
1985
+ //#endregion
1767
1986
  //#region src/compose/useScrollRestore.ts
1768
- function mn(e, t) {
1987
+ function xn(e, t) {
1769
1988
  let n = t ? fe(`${t}:scroll`, 0, { writeDefaults: !1 }) : null, r = D(!!(n?.value && n.value > 0)), i = null, a = null, o = null, s = !1;
1770
1989
  function c(e) {
1771
1990
  let t = window.getComputedStyle(e);
@@ -1848,7 +2067,7 @@ function mn(e, t) {
1848
2067
  }
1849
2068
  //#endregion
1850
2069
  //#region src/components/GSidebar.vue?vue&type=script&setup=true&lang.ts
1851
- var hn = ["id"], gn = /* @__PURE__ */ u({
2070
+ var Sn = ["id"], Cn = /* @__PURE__ */ u({
1852
2071
  __name: "GSidebar",
1853
2072
  props: {
1854
2073
  backgroundColor: { default: "" },
@@ -1862,7 +2081,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
1862
2081
  storageKey: {}
1863
2082
  },
1864
2083
  setup(e) {
1865
- let t = e, n = p("sidebar", () => void 0, !0) ?? (Z() ? pn(t.sidebarKey, F(t, "mediaQuery")) : void 0), i = r(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "url('https://gradcdn.blob.core.windows.net/public/sidebar-bg2.jpg')"), a = r(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), s = r(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), c = z(), { isPendingScrollRestore: l } = mn(H("sidebar-ref"), t.storageKey);
2084
+ let t = e, n = p("sidebar", () => void 0, !0) ?? (Z() ? cn(t.sidebarKey, F(t, "mediaQuery")) : void 0), i = r(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "url('https://gradcdn.blob.core.windows.net/public/sidebar-bg2.jpg')"), a = r(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), s = r(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), c = z(), { isPendingScrollRestore: l } = xn(H("sidebar-ref"), t.storageKey);
1866
2085
  function u(e) {
1867
2086
  e.key === "Escape" && n?.isCollapsible?.value && n?.open?.value && (n.open.value = !1, document.getElementById(`${n.id}-hamburger`)?.focus());
1868
2087
  }
@@ -1883,13 +2102,13 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
1883
2102
  width: "var(--g-sidebar-width)"
1884
2103
  }),
1885
2104
  onKeydown: u
1886
- }, [k(t.$slots, "default")], 46, hn));
2105
+ }, [k(t.$slots, "default")], 46, Sn));
1887
2106
  }
1888
- }), _n = ["id"], vn = { class: "g-sidebar-menu__list" }, yn = [
2107
+ }), wn = ["id"], Tn = { class: "g-sidebar-menu__list" }, En = [
1889
2108
  "href",
1890
2109
  "aria-current",
1891
2110
  "onClick"
1892
- ], bn = /* @__PURE__ */ u({
2111
+ ], Dn = /* @__PURE__ */ u({
1893
2112
  __name: "GSidebarMenu",
1894
2113
  props: /*@__PURE__*/ m({
1895
2114
  heading: {},
@@ -1915,7 +2134,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
1915
2134
  setup(t) {
1916
2135
  let n = t, l = B(t, "modelValue"), u = r(() => n.spy && l.value ? "#" + l.value : null), f = H("content");
1917
2136
  S(() => {
1918
- G(l, () => {
2137
+ W(l, () => {
1919
2138
  g(() => {
1920
2139
  let e = f.value?.querySelector(".g-sidebar-menu__is-active");
1921
2140
  e && e.scrollIntoView({ block: "nearest" });
@@ -1937,13 +2156,13 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
1937
2156
  key: 0,
1938
2157
  id: L(y),
1939
2158
  class: "g-sidebar-menu__title"
1940
- }, N(t.heading), 9, _n)) : a("", !0),
2159
+ }, N(t.heading), 9, wn)) : a("", !0),
1941
2160
  l[0] ||= s("div", { class: "g-sidebar-menu__divider" }, null, -1),
1942
2161
  s("div", {
1943
2162
  class: "g-sidebar-menu__content",
1944
2163
  ref_key: "content",
1945
2164
  ref: f
1946
- }, [s("ul", vn, [(w(!0), o(e, null, O(t.items, (e) => (w(), o("li", {
2165
+ }, [s("ul", Tn, [(w(!0), o(e, null, O(t.items, (e) => (w(), o("li", {
1947
2166
  key: e.href || e.to,
1948
2167
  class: "g-sidebar-menu__item",
1949
2168
  ref_for: !0,
@@ -1953,7 +2172,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
1953
2172
  class: "g-sidebar-menu__link",
1954
2173
  to: e.to
1955
2174
  }, {
1956
- default: K(() => [c(N(e.label), 1)]),
2175
+ default: G(() => [c(N(e.label), 1)]),
1957
2176
  _: 2
1958
2177
  }, 1032, ["to"])) : (w(), o("a", {
1959
2178
  key: 1,
@@ -1961,24 +2180,24 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
1961
2180
  href: e.href || e.to || "#",
1962
2181
  "aria-current": u.value === (e.href || "") ? "location" : void 0,
1963
2182
  onClick: (t) => v(t, e)
1964
- }, N(e.label), 11, yn))]))), 128))])], 512)
2183
+ }, N(e.label), 11, En))]))), 128))])], 512)
1965
2184
  ], 16));
1966
2185
  }
1967
- }), xn = {
2186
+ }), On = {
1968
2187
  mounted(e, t) {
1969
- let n = D(null), r = D(!1), i = D(!1), a = D(t.value), o = null, s = !1, c = lt(e), l = () => {
1970
- n.value || (n.value = ut(a.value, c), dt(n.value), o = new ResizeObserver(() => {
1971
- n.value && (r.value || i.value) && ft(e, n.value);
2188
+ let n = D(null), r = D(!1), i = D(!1), a = D(t.value), o = null, s = !1, c = dt(e), l = () => {
2189
+ n.value || (n.value = ft(a.value, c), pt(n.value), o = new ResizeObserver(() => {
2190
+ n.value && (r.value || i.value) && mt(e, n.value);
1972
2191
  }), o.observe(n.value));
1973
2192
  };
1974
- te(() => {
2193
+ ne(() => {
1975
2194
  n.value && (n.value.textContent = a.value);
1976
2195
  });
1977
2196
  let u = () => {
1978
- n.value && (r.value || i.value) && ft(e, n.value);
2197
+ n.value && (r.value || i.value) && mt(e, n.value);
1979
2198
  };
1980
- te(() => {
1981
- r.value || i.value ? (l(), n.value && ft(e, n.value), s ||= (window.addEventListener("scroll", u, { capture: !0 }), !0)) : (s &&= (window.removeEventListener("scroll", u, { capture: !0 }), !1), n.value && (pt(n.value), setTimeout(() => {
2199
+ ne(() => {
2200
+ r.value || i.value ? (l(), n.value && mt(e, n.value), s ||= (window.addEventListener("scroll", u, { capture: !0 }), !0)) : (s &&= (window.removeEventListener("scroll", u, { capture: !0 }), !1), n.value && (ht(n.value), setTimeout(() => {
1982
2201
  e.dispatchEvent(new CustomEvent("tooltip-hide"));
1983
2202
  }, 150)));
1984
2203
  });
@@ -2016,7 +2235,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2016
2235
  let t = e._v_gtooltip;
2017
2236
  t && t.tooltip && t.tooltip.value && (t.resizeObserver && t.resizeObserver.disconnect(), t.tooltip.value.remove(), t.tooltip.value = null), t && t.onScroll && window.removeEventListener("scroll", t.onScroll, { capture: !0 }), e.removeEventListener("mouseenter", t.onMouseEnter), e.removeEventListener("mouseleave", t.onMouseLeave), e.removeEventListener("focus", t.onFocus), e.removeEventListener("blur", t.onBlur), e.removeEventListener("keydown", t.onKeyDown), e.removeAttribute("aria-describedby");
2018
2237
  }
2019
- }, Sn = { class: "g-clipboard-text" }, Cn = /* @__PURE__ */ u({
2238
+ }, kn = { class: "g-clipboard-text" }, An = /* @__PURE__ */ u({
2020
2239
  __name: "GClipboard",
2021
2240
  props: {
2022
2241
  text: {},
@@ -2024,12 +2243,12 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2024
2243
  copyLabel: {}
2025
2244
  },
2026
2245
  setup(t) {
2027
- let n = t, r = xn, { text: i, copy: l, copied: u, isSupported: d } = ae({ source: n.text }), f = D(n.copyLabel ?? "Copy to clipboard"), p = () => {
2246
+ let n = t, r = On, { text: i, copy: l, copied: u, isSupported: d } = oe({ source: n.text }), f = D(n.copyLabel ?? "Copy to clipboard"), p = () => {
2028
2247
  d.value ? (l(), f.value = "Copied") : f.value = "Copy not supported";
2029
2248
  }, m = () => {
2030
2249
  f.value = n.copyLabel ?? "Copy to clipboard";
2031
2250
  };
2032
- return (i, l) => (w(), o("div", Sn, [t.hideText ? a("", !0) : (w(), o(e, { key: 0 }, [c(N(n.text), 1)], 64)), ne((w(), o("button", {
2251
+ return (i, l) => (w(), o("div", kn, [t.hideText ? a("", !0) : (w(), o(e, { key: 0 }, [c(N(n.text), 1)], 64)), re((w(), o("button", {
2033
2252
  type: "button",
2034
2253
  "aria-label": "Copy",
2035
2254
  onClick: p,
@@ -2046,15 +2265,15 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2046
2265
  d: "M480 400L288 400C279.2 400 272 392.8 272 384L272 128C272 119.2 279.2 112 288 112L421.5 112C425.7 112 429.8 113.7 432.8 116.7L491.3 175.2C494.3 178.2 496 182.3 496 186.5L496 384C496 392.8 488.8 400 480 400zM288 448L480 448C515.3 448 544 419.3 544 384L544 186.5C544 169.5 537.3 153.2 525.3 141.2L466.7 82.7C454.7 70.7 438.5 64 421.5 64L288 64C252.7 64 224 92.7 224 128L224 384C224 419.3 252.7 448 288 448zM160 192C124.7 192 96 220.7 96 256L96 512C96 547.3 124.7 576 160 576L352 576C387.3 576 416 547.3 416 512L416 496L368 496L368 512C368 520.8 360.8 528 352 528L160 528C151.2 528 144 520.8 144 512L144 256C144 247.2 151.2 240 160 240L176 240L176 192L160 192z"
2047
2266
  })], -1)]], 32)), [[L(r), f.value]])]));
2048
2267
  }
2049
- }), wn = { class: "g-history-scroller-wrapper" }, Tn = {
2268
+ }), jn = { class: "g-history-scroller-wrapper" }, Mn = {
2050
2269
  key: 0,
2051
2270
  class: "g-history-shadow g-history-shadow--top",
2052
2271
  "aria-hidden": "true"
2053
- }, En = {
2272
+ }, Nn = {
2054
2273
  key: 1,
2055
2274
  class: "g-history-shadow g-history-shadow--bottom",
2056
2275
  "aria-hidden": "true"
2057
- }, Dn = ["role", "aria-label"], On = /* @__PURE__ */ u({
2276
+ }, Pn = ["role", "aria-label"], Fn = /* @__PURE__ */ u({
2058
2277
  __name: "GHistoryScroller",
2059
2278
  props: {
2060
2279
  label: {},
@@ -2082,13 +2301,13 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2082
2301
  u.value && f();
2083
2302
  }), de(c, () => {
2084
2303
  u.value && f();
2085
- }), G(() => n.entries, async () => {
2304
+ }), W(() => n.entries, async () => {
2086
2305
  u.value && (await g(), f());
2087
2306
  });
2088
2307
  let m = r(() => [...n.entries].reverse());
2089
- return (n, r) => (w(), o("div", wn, [
2090
- d.value ? a("", !0) : (w(), o("div", Tn)),
2091
- u.value ? a("", !0) : (w(), o("div", En)),
2308
+ return (n, r) => (w(), o("div", jn, [
2309
+ d.value ? a("", !0) : (w(), o("div", Mn)),
2310
+ u.value ? a("", !0) : (w(), o("div", Nn)),
2092
2311
  s("div", {
2093
2312
  ref_key: "scrollerRef",
2094
2313
  ref: i,
@@ -2103,7 +2322,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2103
2322
  onClick: r[0] ||= () => f({ focusLast: !0 }),
2104
2323
  "aria-label": "Jump to Latest"
2105
2324
  }, {
2106
- default: K(() => [...r[1] ||= [s("svg", {
2325
+ default: G(() => [...r[1] ||= [s("svg", {
2107
2326
  "aria-hidden": "true",
2108
2327
  xmlns: "http://www.w3.org/2000/svg",
2109
2328
  viewBox: "0 0 640 640",
@@ -2123,31 +2342,31 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2123
2342
  key: e.id,
2124
2343
  class: "g-history-entry",
2125
2344
  tabindex: "-1"
2126
- }, [k(n.$slots, "default", { entry: e })]))), 128))], 512)], 40, Dn)
2345
+ }, [k(n.$slots, "default", { entry: e })]))), 128))], 512)], 40, Pn)
2127
2346
  ]));
2128
2347
  }
2129
- }), kn = { class: "g-three-way-toggle-wrapper" }, An = { class: "g-three-way-toggle-control" }, jn = ["id"], Mn = [
2348
+ }), In = { class: "g-three-way-toggle-wrapper" }, Ln = { class: "g-three-way-toggle-control" }, Rn = ["id"], zn = [
2130
2349
  "aria-labelledby",
2131
2350
  "aria-describedby",
2132
2351
  "disabled",
2133
2352
  "aria-invalid",
2134
2353
  "aria-errormessage"
2135
- ], Nn = { key: 0 }, Pn = { key: 1 }, Fn = { key: 2 }, In = ["for"], Ln = [
2354
+ ], Bn = { key: 0 }, Vn = { key: 1 }, Hn = { key: 2 }, Un = ["for"], Wn = [
2136
2355
  "id",
2137
2356
  "name",
2138
2357
  "checked",
2139
2358
  "disabled"
2140
- ], Rn = ["for"], zn = [
2359
+ ], Gn = ["for"], Kn = [
2141
2360
  "id",
2142
2361
  "name",
2143
2362
  "checked",
2144
2363
  "disabled"
2145
- ], Bn = ["for"], Vn = [
2364
+ ], qn = ["for"], Jn = [
2146
2365
  "id",
2147
2366
  "name",
2148
2367
  "checked",
2149
2368
  "disabled"
2150
- ], Hn = ["id"], Un = /* @__PURE__ */ u({
2369
+ ], Yn = ["id"], Xn = /* @__PURE__ */ u({
2151
2370
  __name: "GThreeWayToggle",
2152
2371
  props: /*@__PURE__*/ m({
2153
2372
  label: {},
@@ -2181,10 +2400,10 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2181
2400
  function b(e) {
2182
2401
  n.disabled || (e.key === "n" || e.key === "N" ? (u(!1), e.preventDefault()) : (e.key === "y" || e.key === "Y") && (u(!0), e.preventDefault()));
2183
2402
  }
2184
- return (t, n) => (w(), o("div", kn, [s("div", An, [s("span", {
2403
+ return (t, n) => (w(), o("div", In, [s("div", Ln, [s("span", {
2185
2404
  class: "g-label",
2186
2405
  id: L(p)
2187
- }, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])], 8, jn), s("fieldset", {
2406
+ }, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])], 8, Rn), s("fieldset", {
2188
2407
  class: _(["g-three-way-toggle", { "g-has-error": e.error }]),
2189
2408
  role: "radiogroup",
2190
2409
  "aria-labelledby": L(p),
@@ -2196,7 +2415,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2196
2415
  s("span", {
2197
2416
  class: _(["g-toggle-thumb", y.value]),
2198
2417
  "aria-hidden": "true"
2199
- }, [i.value === !1 ? (w(), o("span", Nn, "NO")) : i.value === !0 ? (w(), o("span", Pn, "YES")) : (w(), o("span", Fn))], 2),
2418
+ }, [i.value === !1 ? (w(), o("span", Bn, "NO")) : i.value === !0 ? (w(), o("span", Vn, "YES")) : (w(), o("span", Hn))], 2),
2200
2419
  s("label", {
2201
2420
  for: L(h),
2202
2421
  class: "g-toggle-option g-left",
@@ -2210,7 +2429,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2210
2429
  value: "false",
2211
2430
  disabled: e.disabled,
2212
2431
  onChange: n[0] ||= (e) => d(!1)
2213
- }, null, 40, Ln), n[5] ||= s("span", { class: "ilw-sr-only" }, "No", -1)], 40, In),
2432
+ }, null, 40, Wn), n[5] ||= s("span", { class: "ilw-sr-only" }, "No", -1)], 40, Un),
2214
2433
  s("label", {
2215
2434
  for: L(g),
2216
2435
  class: "g-toggle-option g-center",
@@ -2222,7 +2441,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2222
2441
  checked: i.value === null,
2223
2442
  disabled: e.disabled,
2224
2443
  onChange: n[2] ||= (e) => d(null)
2225
- }, null, 40, zn), n[6] ||= s("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, Rn),
2444
+ }, null, 40, Kn), n[6] ||= s("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, Gn),
2226
2445
  s("label", {
2227
2446
  for: L(v),
2228
2447
  class: "g-toggle-option g-right",
@@ -2236,54 +2455,54 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2236
2455
  checked: i.value === !0,
2237
2456
  disabled: e.disabled,
2238
2457
  onChange: n[3] ||= (e) => d(!0)
2239
- }, null, 40, Vn), n[7] ||= s("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, Bn)
2240
- ], 2)], 10, Mn)]), e.error ? (w(), o("div", {
2458
+ }, null, 40, Jn), n[7] ||= s("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, qn)
2459
+ ], 2)], 10, zn)]), e.error ? (w(), o("div", {
2241
2460
  key: 0,
2242
2461
  id: `${L(p)}-error`,
2243
2462
  class: "g-form-error",
2244
2463
  role: "alert",
2245
2464
  "aria-atomic": "true"
2246
- }, N(e.error), 9, Hn)) : a("", !0)]));
2465
+ }, N(e.error), 9, Yn)) : a("", !0)]));
2247
2466
  }
2248
- }), Wn = {
2467
+ }), Zn = {
2249
2468
  ref: "tableBodyRef",
2250
2469
  class: "efficient-table-body"
2251
- }, Gn = ["aria-rowindex"], Kn = {
2470
+ }, Qn = ["aria-rowindex"], $n = {
2252
2471
  key: 0,
2253
2472
  class: "table-group-checkbox"
2254
- }, qn = ["colspan"], Jn = [
2473
+ }, er = ["colspan"], tr = [
2255
2474
  "aria-rowindex",
2256
2475
  "onMousedown",
2257
2476
  "onClick"
2258
- ], Yn = [
2477
+ ], nr = [
2259
2478
  "checked",
2260
2479
  "onClick",
2261
2480
  "aria-label",
2262
2481
  "name"
2263
- ], Xn = ["id"], Zn = {
2482
+ ], rr = ["id"], ir = {
2264
2483
  key: 0,
2265
2484
  class: "editable-cell"
2266
- }, Qn = {
2485
+ }, ar = {
2267
2486
  key: 0,
2268
2487
  class: "cell-prefix"
2269
- }, $n = [
2488
+ }, or = [
2270
2489
  "value",
2271
2490
  "onChange",
2272
2491
  "aria-labelledby",
2273
2492
  "aria-invalid",
2274
2493
  "aria-errormessage",
2275
2494
  "name"
2276
- ], er = ["value"], tr = [
2495
+ ], sr = ["value"], cr = [
2277
2496
  "value",
2278
2497
  "onInput",
2279
2498
  "aria-labelledby",
2280
2499
  "aria-invalid",
2281
2500
  "aria-errormessage",
2282
2501
  "name"
2283
- ], nr = {
2502
+ ], lr = {
2284
2503
  key: 3,
2285
2504
  class: "cell-suffix"
2286
- }, rr = ["id"], ir = /* @__PURE__ */ u({
2505
+ }, ur = ["id"], dr = /* @__PURE__ */ u({
2287
2506
  __name: "GTableBody",
2288
2507
  props: {
2289
2508
  data: {},
@@ -2352,13 +2571,13 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2352
2571
  function T(e, t) {
2353
2572
  if (l.changeTracker) return l.changeTracker.getError(e.key, t.key);
2354
2573
  }
2355
- return (n, r) => (w(), o("tbody", Wn, [(w(!0), o(e, null, O(t.data, (n, l) => (w(), o(e, { key: n.key }, [t.groupBy && (l === 0 || n[t.groupBy] !== t.data[l - 1][t.groupBy]) ? (w(), o("tr", {
2574
+ return (n, r) => (w(), o("tbody", Zn, [(w(!0), o(e, null, O(t.data, (n, l) => (w(), o(e, { key: n.key }, [t.groupBy && (l === 0 || n[t.groupBy] !== t.data[l - 1][t.groupBy]) ? (w(), o("tr", {
2356
2575
  key: 0,
2357
2576
  "aria-rowindex": t.startIndex + l + 2
2358
- }, [t.bulkSelectionEnabled ? (w(), o("td", Kn)) : a("", !0), s("td", {
2577
+ }, [t.bulkSelectionEnabled ? (w(), o("td", $n)) : a("", !0), s("td", {
2359
2578
  colspan: b.value,
2360
2579
  class: "table-group-row"
2361
- }, [t.groupRender ? (w(), i(A(t.groupRender(n[t.groupBy], n)), { key: 0 })) : (w(), o(e, { key: 1 }, [c(N(n[t.groupBy]), 1)], 64))], 8, qn)], 8, Gn)) : a("", !0), s("tr", {
2580
+ }, [t.groupRender ? (w(), i(A(t.groupRender(n[t.groupBy], n)), { key: 0 })) : (w(), o(e, { key: 1 }, [c(N(n[t.groupBy]), 1)], 64))], 8, er)], 8, Qn)) : a("", !0), s("tr", {
2362
2581
  class: _([
2363
2582
  "efficient-table-row",
2364
2583
  {
@@ -2373,7 +2592,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2373
2592
  }, [t.bulkSelectionEnabled ? (w(), o("td", {
2374
2593
  key: 0,
2375
2594
  class: "td-checkbox",
2376
- onClick: r[0] ||= q(() => {}, ["stop"])
2595
+ onClick: r[0] ||= K(() => {}, ["stop"])
2377
2596
  }, [s("input", {
2378
2597
  type: "checkbox",
2379
2598
  checked: p(n.key),
@@ -2381,7 +2600,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2381
2600
  "aria-label": `Select row ${n.key}`,
2382
2601
  name: `row-${n.key}-checkbox`,
2383
2602
  class: "g-bulk-select-checkbox"
2384
- }, null, 8, Yn)])) : a("", !0), (w(!0), o(e, null, O(t.columns, (r) => (w(), o("td", {
2603
+ }, null, 8, nr)])) : a("", !0), (w(!0), o(e, null, O(t.columns, (r) => (w(), o("td", {
2385
2604
  key: r.key,
2386
2605
  id: x(r) ? `${t.tableId}-td-${n.key}-${String(r.key)}` : void 0,
2387
2606
  class: _([
@@ -2390,8 +2609,8 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2390
2609
  C(n, r) ? "g-cell-error" : "",
2391
2610
  typeof r.tdClass == "function" ? r.tdClass(n) : r.tdClass
2392
2611
  ])
2393
- }, [r.editable ? (w(), o("div", Zn, [
2394
- r.editable.prefix ? (w(), o("span", Qn, N(r.editable.prefix), 1)) : a("", !0),
2612
+ }, [r.editable ? (w(), o("div", ir, [
2613
+ r.editable.prefix ? (w(), o("span", ar, N(r.editable.prefix), 1)) : a("", !0),
2395
2614
  r.editable.type === "select" ? (w(), o("select", {
2396
2615
  key: 1,
2397
2616
  value: n[r.key],
@@ -2404,7 +2623,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2404
2623
  }, [(w(!0), o(e, null, O(r.editable.options, (e) => (w(), o("option", {
2405
2624
  key: e.value,
2406
2625
  value: e.value
2407
- }, N(e.label), 9, er))), 128))], 40, $n)) : (w(), o("input", h({
2626
+ }, N(e.label), 9, sr))), 128))], 40, or)) : (w(), o("input", h({
2408
2627
  key: 2,
2409
2628
  value: n[r.key]
2410
2629
  }, { ref_for: !0 }, r.editable.inputAttributes, {
@@ -2418,24 +2637,24 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2418
2637
  paddingLeft: r.editable.prefix ? "1.5rem" : void 0,
2419
2638
  paddingRight: r.editable.suffix ? "2rem" : void 0
2420
2639
  }
2421
- }), null, 16, tr)),
2422
- r.editable.suffix ? (w(), o("span", nr, N(r.editable.suffix), 1)) : a("", !0)
2640
+ }), null, 16, cr)),
2641
+ r.editable.suffix ? (w(), o("span", lr, N(r.editable.suffix), 1)) : a("", !0)
2423
2642
  ])) : r.display ? (w(), i(A(r.display(n)), { key: 1 })) : (w(), o(e, { key: 2 }, [c(N(n[r.key]), 1)], 64)), C(n, r) ? (w(), o("div", {
2424
2643
  key: 3,
2425
2644
  role: "alert",
2426
2645
  class: "g-cell-error-message",
2427
2646
  id: `${t.tableId}-error-${n.key}-${String(r.key)}`
2428
- }, N(T(n, r)), 9, rr)) : a("", !0)], 10, Xn))), 128))], 42, Jn)], 64))), 128))], 512));
2647
+ }, N(T(n, r)), 9, ur)) : a("", !0)], 10, rr))), 128))], 42, tr)], 64))), 128))], 512));
2429
2648
  }
2430
- }), ar = ["id", "for"], or = {
2649
+ }), fr = ["id", "for"], pr = {
2431
2650
  key: 0,
2432
2651
  class: "g-multiselect-required",
2433
2652
  "aria-hidden": "true"
2434
- }, sr = ["id"], cr = ["aria-labelledby"], lr = { class: "g-multiselect-chip-label" }, ur = [
2653
+ }, mr = ["id"], hr = ["aria-labelledby"], gr = { class: "g-multiselect-chip-label" }, _r = [
2435
2654
  "aria-label",
2436
2655
  "disabled",
2437
2656
  "onClick"
2438
- ], dr = [
2657
+ ], vr = [
2439
2658
  "id",
2440
2659
  "value",
2441
2660
  "placeholder",
@@ -2445,26 +2664,26 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2445
2664
  "aria-activedescendant",
2446
2665
  "aria-describedby",
2447
2666
  "aria-required"
2448
- ], fr = ["id"], pr = [
2667
+ ], yr = ["id"], br = [
2449
2668
  "id",
2450
2669
  "aria-selected",
2451
2670
  "onClick"
2452
- ], mr = {
2671
+ ], xr = {
2453
2672
  class: "g-multiselect-option-check",
2454
2673
  "aria-hidden": "true"
2455
- }, hr = {
2674
+ }, Sr = {
2456
2675
  key: 0,
2457
2676
  xmlns: "http://www.w3.org/2000/svg",
2458
2677
  viewBox: "0 0 640 640",
2459
2678
  width: "1.25em"
2460
- }, gr = { class: "g-multiselect-option-text" }, _r = { class: "g-multiselect-option-label" }, vr = {
2679
+ }, Cr = { class: "g-multiselect-option-text" }, wr = { class: "g-multiselect-option-label" }, Tr = {
2461
2680
  key: 0,
2462
2681
  class: "g-multiselect-option-description"
2463
- }, yr = {
2682
+ }, Er = {
2464
2683
  key: 1,
2465
2684
  "aria-live": "polite",
2466
2685
  class: "g-multiselect-option g-multiselect-no-results"
2467
- }, br = /* @__PURE__ */ u({
2686
+ }, Dr = /* @__PURE__ */ u({
2468
2687
  __name: "GMultiSelect",
2469
2688
  props: /*@__PURE__*/ m({
2470
2689
  options: {},
@@ -2501,13 +2720,13 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2501
2720
  value: d,
2502
2721
  errors: F(i, "errors"),
2503
2722
  formKey: i.formKey
2504
- }), { menuPlacement: E, menuStyle: k, isTop: A, scrollOptionIntoView: j } = Pt({
2723
+ }), { menuPlacement: E, menuStyle: k, isTop: A, scrollOptionIntoView: j } = It({
2505
2724
  open: y,
2506
2725
  anchorRef: m,
2507
2726
  listboxRef: v,
2508
2727
  baseId: f,
2509
2728
  activeIndex: b
2510
- }), M = r(() => Nt(i.options)), P = r(() => {
2729
+ }), M = r(() => Ft(i.options)), P = r(() => {
2511
2730
  if (!x.value) return M.value;
2512
2731
  let e = x.value.toLowerCase();
2513
2732
  return M.value.filter((t) => t.label.toLowerCase().includes(e) || i.searchDescription && !!t.description && t.description.toLowerCase().includes(e));
@@ -2531,21 +2750,21 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2531
2750
  let n = d.value, r = I(t.value) ? n.filter((e) => e !== t.value) : [...n, t.value];
2532
2751
  d.value = r, u("change", r), g(() => p.value?.focus());
2533
2752
  }
2534
- function W(e) {
2753
+ function ee(e) {
2535
2754
  if (i.disabled) return;
2536
2755
  let t = d.value.filter((t) => t !== e);
2537
2756
  d.value = t, u("change", t);
2538
2757
  }
2539
- function G() {
2758
+ function W() {
2540
2759
  i.disabled || (p.value?.focus(), y.value || V());
2541
2760
  }
2542
- function te(e) {
2761
+ function ne(e) {
2543
2762
  x.value = e.target.value, b.value = 0, y.value || V();
2544
2763
  }
2545
- function K() {
2764
+ function G() {
2546
2765
  i.disabled || y.value || V();
2547
2766
  }
2548
- function re(e) {
2767
+ function ie(e) {
2549
2768
  if (S.value) {
2550
2769
  S.value = !1;
2551
2770
  return;
@@ -2553,13 +2772,13 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2553
2772
  let t = e.relatedTarget;
2554
2773
  t && v.value?.contains(t) || t && m.value?.contains(t) || H();
2555
2774
  }
2556
- function J(e) {
2775
+ function q(e) {
2557
2776
  e.preventDefault();
2558
2777
  }
2559
- function ie() {
2778
+ function ae() {
2560
2779
  S.value = !0;
2561
2780
  }
2562
- function Y(e) {
2781
+ function J(e) {
2563
2782
  if (i.disabled) return;
2564
2783
  let t = P.value.length - 1;
2565
2784
  switch (e.key) {
@@ -2584,12 +2803,12 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2584
2803
  case "Escape":
2585
2804
  A.value && (e.preventDefault(), setTimeout(() => H(), 0));
2586
2805
  break;
2587
- case "Backspace": !x.value && d.value.length > 0 && W(d.value[d.value.length - 1]);
2806
+ case "Backspace": !x.value && d.value.length > 0 && ee(d.value[d.value.length - 1]);
2588
2807
  }
2589
2808
  }
2590
- let ae = r(() => `${f}-input`), oe = r(() => `${f}-label`), se = r(() => `${f}-instructions`), ce = r(() => `error-message-${f}`), le = r(() => {
2809
+ let oe = r(() => `${f}-input`), se = r(() => `${f}-label`), ce = r(() => `${f}-instructions`), le = r(() => `error-message-${f}`), Y = r(() => {
2591
2810
  let e = [];
2592
- return i.instructions && e.push(se.value), T.value && e.push(ce.value), e.length > 0 ? e.join(" ") : void 0;
2811
+ return i.instructions && e.push(ce.value), T.value && e.push(le.value), e.length > 0 ? e.join(" ") : void 0;
2593
2812
  });
2594
2813
  return (n, r) => (w(), o("div", { class: _(["g-multiselect-root", {
2595
2814
  "g-multiselect-open": y.value,
@@ -2597,35 +2816,35 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2597
2816
  }]) }, [
2598
2817
  t.hiddenLabel ? a("", !0) : (w(), o("label", {
2599
2818
  key: 0,
2600
- id: oe.value,
2601
- for: ae.value,
2819
+ id: se.value,
2820
+ for: oe.value,
2602
2821
  class: "g-multiselect-label"
2603
- }, [c(N(t.label), 1), t.required ? (w(), o("span", or, " *")) : a("", !0)], 8, ar)),
2822
+ }, [c(N(t.label), 1), t.required ? (w(), o("span", pr, " *")) : a("", !0)], 8, fr)),
2604
2823
  t.instructions ? (w(), o("div", {
2605
2824
  key: 1,
2606
- id: se.value,
2825
+ id: ce.value,
2607
2826
  class: "g-multiselect-instructions"
2608
- }, N(t.instructions), 9, sr)) : a("", !0),
2827
+ }, N(t.instructions), 9, mr)) : a("", !0),
2609
2828
  s("div", {
2610
2829
  ref_key: "controlRef",
2611
2830
  ref: m,
2612
2831
  class: _(["g-multiselect-control", { "g-multiselect-control--disabled": t.disabled }]),
2613
- onClick: G
2832
+ onClick: W
2614
2833
  }, [
2615
2834
  d.value.length ? (w(), o("ul", {
2616
2835
  key: 0,
2617
2836
  class: "g-multiselect-chips",
2618
- "aria-labelledby": oe.value
2837
+ "aria-labelledby": se.value
2619
2838
  }, [(w(!0), o(e, null, O(d.value, (e) => (w(), o("li", {
2620
2839
  key: e,
2621
2840
  class: "g-multiselect-chip"
2622
- }, [s("span", lr, N(R(e)), 1), s("button", {
2841
+ }, [s("span", gr, N(R(e)), 1), s("button", {
2623
2842
  type: "button",
2624
2843
  class: "g-multiselect-chip-remove",
2625
2844
  "aria-label": `Remove ${R(e)}`,
2626
2845
  disabled: t.disabled,
2627
- onMousedown: ie,
2628
- onClick: q((t) => W(e), ["stop"])
2846
+ onMousedown: ae,
2847
+ onClick: K((t) => ee(e), ["stop"])
2629
2848
  }, [...r[0] ||= [s("svg", {
2630
2849
  xmlns: "http://www.w3.org/2000/svg",
2631
2850
  viewBox: "0 0 51.26 51.26",
@@ -2634,14 +2853,14 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2634
2853
  }, [s("path", {
2635
2854
  fill: "currentColor",
2636
2855
  d: "m37.84 32.94-7.63-7.63 7.63-7.63a3.24 3.24 0 0 0-4.58-4.58l-7.63 7.63L18 13.1a3.24 3.24 0 0 0-4.58 4.58L21 25.31l-7.62 7.63A3.24 3.24 0 1 0 18 37.52l7.63-7.63 7.63 7.63a3.24 3.24 0 0 0 4.58-4.58Z"
2637
- })], -1)]], 40, ur)]))), 128))], 8, cr)) : a("", !0),
2856
+ })], -1)]], 40, _r)]))), 128))], 8, hr)) : a("", !0),
2638
2857
  s("input", h({
2639
2858
  ref_key: "inputRef",
2640
2859
  ref: p,
2641
2860
  type: "text",
2642
2861
  role: "combobox",
2643
2862
  class: "g-multiselect-input",
2644
- id: ae.value,
2863
+ id: oe.value,
2645
2864
  value: x.value,
2646
2865
  placeholder: d.value.length === 0 ? t.placeholder : void 0,
2647
2866
  disabled: t.disabled,
@@ -2652,13 +2871,13 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2652
2871
  "aria-controls": L(f) + "-listbox",
2653
2872
  "aria-activedescendant": y.value && P.value.length > 0 ? L(f) + "-option-" + b.value : void 0
2654
2873
  }, t.hiddenLabel ? { "aria-label": t.label } : void 0, {
2655
- "aria-describedby": le.value,
2874
+ "aria-describedby": Y.value,
2656
2875
  "aria-required": t.required ? "true" : void 0,
2657
- onInput: te,
2658
- onKeydown: Y,
2659
- onFocus: K,
2660
- onBlur: re
2661
- }), null, 16, dr),
2876
+ onInput: ne,
2877
+ onKeydown: J,
2878
+ onFocus: G,
2879
+ onBlur: ie
2880
+ }), null, 16, vr),
2662
2881
  r[2] ||= s("svg", {
2663
2882
  class: "g-multiselect-caret",
2664
2883
  xmlns: "http://www.w3.org/2000/svg",
@@ -2669,13 +2888,13 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2669
2888
  fill: "currentColor",
2670
2889
  d: "M38.75 24.13a1.36 1.36 0 0 1 0 2.36l-12.44 7.18-12.43 7.18a1.36 1.36 0 0 1-2.05-1.18V11a1.36 1.36 0 0 1 2.05-1.18L26.31 17Z"
2671
2890
  })], -1),
2672
- ne(s("div", h({
2891
+ re(s("div", h({
2673
2892
  ref_key: "listboxRef",
2674
2893
  ref: v,
2675
2894
  id: L(f) + "-listbox",
2676
2895
  role: "listbox",
2677
2896
  "aria-multiselectable": "true"
2678
- }, t.hiddenLabel ? { "aria-label": t.label } : { "aria-labelledby": oe.value }, {
2897
+ }, t.hiddenLabel ? { "aria-label": t.label } : { "aria-labelledby": se.value }, {
2679
2898
  class: ["g-multiselect-listbox", { "g-multiselect-listbox--above": L(E) === "above" }],
2680
2899
  style: L(k),
2681
2900
  tabindex: "-1"
@@ -2688,31 +2907,31 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2688
2907
  "g-multiselect-option--selected": I(e.value)
2689
2908
  }]),
2690
2909
  "aria-selected": I(e.value) ? "true" : "false",
2691
- onMousedown: J,
2910
+ onMousedown: q,
2692
2911
  onClick: (e) => U(t)
2693
- }, [s("span", mr, [I(e.value) ? (w(), o("svg", hr, [...r[1] ||= [s("path", { d: "M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z" }, null, -1)]])) : a("", !0)]), s("span", gr, [s("span", _r, N(e.label), 1), e.description ? (w(), o("span", vr, N(e.description), 1)) : a("", !0)])], 42, pr))), 128)) : (w(), o("div", yr, " No results found. "))], 16, fr), [[ee, y.value]])
2912
+ }, [s("span", xr, [I(e.value) ? (w(), o("svg", Sr, [...r[1] ||= [s("path", { d: "M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z" }, null, -1)]])) : a("", !0)]), s("span", Cr, [s("span", wr, N(e.label), 1), e.description ? (w(), o("span", Tr, N(e.description), 1)) : a("", !0)])], 42, br))), 128)) : (w(), o("div", Er, " No results found. "))], 16, yr), [[te, y.value]])
2694
2913
  ], 2),
2695
2914
  l(Me, {
2696
2915
  errors: L(C),
2697
- id: ce.value
2916
+ id: le.value
2698
2917
  }, null, 8, ["errors", "id"])
2699
2918
  ], 2));
2700
2919
  }
2701
- }), xr = {
2920
+ }), Or = {
2702
2921
  key: 0,
2703
2922
  class: "g-checkbox-group__legend"
2704
- }, Sr = {
2923
+ }, kr = {
2705
2924
  key: 0,
2706
2925
  class: "g-checkbox-group__required",
2707
2926
  "aria-hidden": "true"
2708
- }, Cr = {
2927
+ }, Ar = {
2709
2928
  key: 1,
2710
2929
  class: "g-checkbox-group__label"
2711
- }, wr = {
2930
+ }, jr = {
2712
2931
  key: 0,
2713
2932
  class: "g-checkbox-group__required",
2714
2933
  "aria-hidden": "true"
2715
- }, Tr = ["id"], Er = { class: "g-checkbox-group__options" }, Dr = ["for"], Or = [
2934
+ }, Mr = ["id"], Nr = { class: "g-checkbox-group__options" }, Pr = ["for"], Fr = [
2716
2935
  "id",
2717
2936
  "type",
2718
2937
  "name",
@@ -2721,7 +2940,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2721
2940
  "disabled",
2722
2941
  "required",
2723
2942
  "onChange"
2724
- ], kr = { class: "g-checkbox-group__label-text" }, Ar = ["id"], jr = /* @__PURE__ */ u({
2943
+ ], Ir = { class: "g-checkbox-group__label-text" }, Lr = ["id"], Rr = /* @__PURE__ */ u({
2725
2944
  __name: "GCheckboxGroup",
2726
2945
  props: /*@__PURE__*/ m({
2727
2946
  label: { default: void 0 },
@@ -2781,14 +3000,14 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2781
3000
  };
2782
3001
  }
2783
3002
  return (n, r) => (w(), i(A(C.value ? "fieldset" : "div"), h({ class: ["g-checkbox-group", { "g-checkbox-group--error": L(m) }] }, T.value), {
2784
- default: K(() => [
2785
- C.value && t.label ? (w(), o("legend", xr, [c(N(t.label), 1), t.required ? (w(), o("span", Sr, "\xA0*")) : a("", !0)])) : !C.value && t.label ? (w(), o("div", Cr, [c(N(t.label), 1), t.required ? (w(), o("span", wr, "\xA0*")) : a("", !0)])) : a("", !0),
3003
+ default: G(() => [
3004
+ C.value && t.label ? (w(), o("legend", Or, [c(N(t.label), 1), t.required ? (w(), o("span", kr, "\xA0*")) : a("", !0)])) : !C.value && t.label ? (w(), o("div", Ar, [c(N(t.label), 1), t.required ? (w(), o("span", jr, "\xA0*")) : a("", !0)])) : a("", !0),
2786
3005
  t.instructions ? (w(), o("div", {
2787
3006
  key: 2,
2788
3007
  id: S.value,
2789
3008
  class: "g-checkbox-group__instructions"
2790
- }, N(t.instructions), 9, Tr)) : a("", !0),
2791
- s("div", Er, [(w(!0), o(e, null, O(t.options, (e, n) => (w(), o("div", {
3009
+ }, N(t.instructions), 9, Mr)) : a("", !0),
3010
+ s("div", Nr, [(w(!0), o(e, null, O(t.options, (e, n) => (w(), o("div", {
2792
3011
  key: e.value,
2793
3012
  class: _(["g-checkbox-group__option-wrapper", { "g-checkbox-group__option-wrapper--disabled": e.disabled }])
2794
3013
  }, [s("label", {
@@ -2803,11 +3022,11 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2803
3022
  disabled: e.disabled,
2804
3023
  required: t.required && (t.radio && n === 0 || !t.radio && t.options.length === 1),
2805
3024
  class: "g-checkbox-group__input"
2806
- }, { ref_for: !0 }, k(e, n), { onChange: (t) => y(e.value, t.target.checked) }), null, 16, Or), s("span", kr, N(e.label), 1)], 10, Dr), e.hint ? (w(), o("div", {
3025
+ }, { ref_for: !0 }, k(e, n), { onChange: (t) => y(e.value, t.target.checked) }), null, 16, Fr), s("span", Ir, N(e.label), 1)], 10, Pr), e.hint ? (w(), o("div", {
2807
3026
  key: 0,
2808
3027
  id: E(n),
2809
3028
  class: "g-checkbox-group__hint"
2810
- }, N(e.hint), 9, Ar)) : a("", !0)], 2))), 128))]),
3029
+ }, N(e.hint), 9, Lr)) : a("", !0)], 2))), 128))]),
2811
3030
  l(Me, {
2812
3031
  errors: L(p),
2813
3032
  id: x.value
@@ -2816,10 +3035,10 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2816
3035
  _: 1
2817
3036
  }, 16, ["class"]));
2818
3037
  }
2819
- }), Mr = {
3038
+ }), zr = {
2820
3039
  class: "g-pagination",
2821
3040
  "aria-label": "Pagination"
2822
- }, Nr = ["disabled"], Pr = ["disabled"], Fr = { class: "page-range" }, Ir = ["disabled"], Lr = ["disabled"], Rr = { class: "g-pagination-page-size" }, zr = { class: "page-size-select-wrap" }, Br = ["id", "value"], Vr = ["value"], Hr = ["for"], Ur = { class: "g-pagination-overflow" }, Wr = ["onClick"], Gr = { class: "g-pagination-overflow-popover" }, Kr = { class: "g-pagination-overflow-page-size" }, qr = ["for"], Jr = { class: "page-size-select-wrap" }, Yr = ["id", "value"], Xr = ["value"], Zr = { class: "g-pagination-overflow-actions" }, Qr = ["disabled"], $r = ["disabled"], ei = /* @__PURE__ */ u({
3041
+ }, Br = ["disabled"], Vr = ["disabled"], Hr = { class: "page-range" }, Ur = ["disabled"], Wr = ["disabled"], Gr = { class: "g-pagination-page-size" }, Kr = { class: "page-size-select-wrap" }, qr = ["id", "value"], Jr = ["value"], Yr = ["for"], Xr = { class: "g-pagination-overflow" }, Zr = ["onClick"], Qr = { class: "g-pagination-overflow-popover" }, $r = { class: "g-pagination-overflow-page-size" }, ei = ["for"], ti = { class: "page-size-select-wrap" }, ni = ["id", "value"], ri = ["value"], ii = { class: "g-pagination-overflow-actions" }, ai = ["disabled"], oi = ["disabled"], si = /* @__PURE__ */ u({
2823
3042
  __name: "GTablePagination",
2824
3043
  props: /*@__PURE__*/ m({
2825
3044
  start: {},
@@ -2846,7 +3065,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2846
3065
  function S(e) {
2847
3066
  u.value = parseInt(e.target.value, 10), a.value = 0;
2848
3067
  }
2849
- return (t, n) => (w(), o("nav", Mr, [
3068
+ return (t, n) => (w(), o("nav", zr, [
2850
3069
  s("button", {
2851
3070
  class: "first-page g-pagination-button",
2852
3071
  type: "button",
@@ -2872,7 +3091,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2872
3091
  }),
2873
3092
  s("path", { d: "M11 7l-5 5l5 5" }),
2874
3093
  s("path", { d: "M17 7l-5 5l5 5" })
2875
- ], -1)]], 8, Nr),
3094
+ ], -1)]], 8, Br),
2876
3095
  s("button", {
2877
3096
  class: "prev-page g-pagination-button",
2878
3097
  type: "button",
@@ -2894,8 +3113,8 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2894
3113
  stroke: "none",
2895
3114
  d: "M0 0h24v24H0z",
2896
3115
  fill: "none"
2897
- }), s("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Pr),
2898
- s("span", Fr, N(v.value) + " to " + N(y.value), 1),
3116
+ }), s("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Vr),
3117
+ s("span", Hr, N(v.value) + " to " + N(y.value), 1),
2899
3118
  s("button", {
2900
3119
  class: "next-page g-pagination-button",
2901
3120
  type: "button",
@@ -2917,7 +3136,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2917
3136
  stroke: "none",
2918
3137
  d: "M0 0h24v24H0z",
2919
3138
  fill: "none"
2920
- }), s("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Ir),
3139
+ }), s("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Ur),
2921
3140
  s("button", {
2922
3141
  class: "last-page g-pagination-button",
2923
3142
  type: "button",
@@ -2943,8 +3162,8 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2943
3162
  }),
2944
3163
  s("path", { d: "M7 7l5 5l-5 5" }),
2945
3164
  s("path", { d: "M13 7l5 5l-5 5" })
2946
- ], -1)]], 8, Lr),
2947
- s("div", Rr, [s("div", zr, [s("select", {
3165
+ ], -1)]], 8, Wr),
3166
+ s("div", Gr, [s("div", Kr, [s("select", {
2948
3167
  id: L(d),
2949
3168
  class: "page-size-select",
2950
3169
  value: m.value,
@@ -2952,7 +3171,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2952
3171
  }, [(w(!0), o(e, null, O(h.value, (e) => (w(), o("option", {
2953
3172
  key: e,
2954
3173
  value: e
2955
- }, N(e), 9, Vr))), 128))], 40, Br), n[10] ||= s("span", {
3174
+ }, N(e), 9, Jr))), 128))], 40, qr), n[10] ||= s("span", {
2956
3175
  class: "page-size-select-caret",
2957
3176
  "aria-hidden": "true"
2958
3177
  }, [s("svg", {
@@ -2966,9 +3185,9 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2966
3185
  })])], -1)]), s("label", {
2967
3186
  class: "page-size-label",
2968
3187
  for: L(d)
2969
- }, " per page ", 8, Hr)]),
2970
- s("div", Ur, [l(ot, null, {
2971
- trigger: K(({ toggle: e }) => [s("button", {
3188
+ }, " per page ", 8, Yr)]),
3189
+ s("div", Xr, [l(ct, null, {
3190
+ trigger: G(({ toggle: e }) => [s("button", {
2972
3191
  type: "button",
2973
3192
  class: "g-pagination-button g-pagination-overflow-trigger",
2974
3193
  "aria-label": "More pagination options",
@@ -2982,17 +3201,17 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
2982
3201
  }, [s("path", {
2983
3202
  fill: "currentColor",
2984
3203
  d: "M96 320C96 284.7 124.7 256 160 256C195.3 256 224 284.7 224 320C224 355.3 195.3 384 160 384C124.7 384 96 355.3 96 320zM256 320C256 284.7 284.7 256 320 256C355.3 256 384 284.7 384 320C384 355.3 355.3 384 320 384C284.7 384 256 355.3 256 320zM480 256C515.3 256 544 284.7 544 320C544 355.3 515.3 384 480 384C444.7 384 416 355.3 416 320C416 284.7 444.7 256 480 256z"
2985
- })], -1)]], 8, Wr)]),
2986
- default: K(() => [s("div", Gr, [
3204
+ })], -1)]], 8, Zr)]),
3205
+ default: G(() => [s("div", Qr, [
2987
3206
  n[15] ||= s("h2", {
2988
3207
  class: "g-pagination-overflow-title",
2989
3208
  tabindex: "-1",
2990
3209
  "popover-focus": ""
2991
3210
  }, " Pagination options ", -1),
2992
- s("div", Kr, [s("label", {
3211
+ s("div", $r, [s("label", {
2993
3212
  class: "page-size-label",
2994
3213
  for: L(f)
2995
- }, " Rows per page ", 8, qr), s("div", Jr, [s("select", {
3214
+ }, " Rows per page ", 8, ei), s("div", ti, [s("select", {
2996
3215
  id: L(f),
2997
3216
  class: "page-size-select",
2998
3217
  value: m.value,
@@ -3000,7 +3219,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
3000
3219
  }, [(w(!0), o(e, null, O(h.value, (e) => (w(), o("option", {
3001
3220
  key: `overflow-${e}`,
3002
3221
  value: e
3003
- }, N(e), 9, Xr))), 128))], 40, Yr), n[12] ||= s("span", {
3222
+ }, N(e), 9, ri))), 128))], 40, ni), n[12] ||= s("span", {
3004
3223
  class: "page-size-select-caret",
3005
3224
  "aria-hidden": "true"
3006
3225
  }, [s("svg", {
@@ -3012,7 +3231,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
3012
3231
  fill: "currentColor",
3013
3232
  d: "M300.3 439.8C312.8 450.1 331.3 449.3 343.1 437.6L471.1 309.6C480.3 300.4 483 286.7 478 274.7C473 262.7 461.4 255 448.5 255L192.5 255C179.6 255 167.9 262.8 162.9 274.8C157.9 286.8 160.7 300.5 169.9 309.6L297.9 437.6L300.3 439.8z"
3014
3233
  })])], -1)])]),
3015
- s("div", Zr, [s("button", {
3234
+ s("div", ii, [s("button", {
3016
3235
  type: "button",
3017
3236
  class: "g-pagination-overflow-action",
3018
3237
  disabled: g.value,
@@ -3038,7 +3257,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
3038
3257
  }),
3039
3258
  s("path", { d: "M11 7l-5 5l5 5" }),
3040
3259
  s("path", { d: "M17 7l-5 5l5 5" })
3041
- ])], -1), c(" First Page ", -1)]], 8, Qr), s("button", {
3260
+ ])], -1), c(" First Page ", -1)]], 8, ai), s("button", {
3042
3261
  type: "button",
3043
3262
  class: "g-pagination-overflow-action",
3044
3263
  disabled: _.value,
@@ -3064,7 +3283,7 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
3064
3283
  }),
3065
3284
  s("path", { d: "M7 7l5 5l-5 5" }),
3066
3285
  s("path", { d: "M13 7l5 5l-5 5" })
3067
- ])], -1), c(" Last Page ", -1)]], 8, $r)])
3286
+ ])], -1), c(" Last Page ", -1)]], 8, oi)])
3068
3287
  ])]),
3069
3288
  _: 1
3070
3289
  })])
@@ -3073,48 +3292,48 @@ var hn = ["id"], gn = /* @__PURE__ */ u({
3073
3292
  });
3074
3293
  //#endregion
3075
3294
  //#region src/compose/useFiltering.ts
3076
- function ti(e) {
3295
+ function ci(e) {
3077
3296
  if (!(Array.isArray(e) && e.length === 0) && e !== null && e !== !1 && e !== "") return e;
3078
3297
  }
3079
- function ni(e) {
3298
+ function li(e) {
3080
3299
  return Object.fromEntries(Object.entries(e).filter(([, e]) => e && (!Array.isArray(e) || e.length > 0)));
3081
3300
  }
3082
- function ri(e) {
3301
+ function ui(e) {
3083
3302
  if (e != null) return Array.isArray(e) ? e.filter((e) => e != null) : [e];
3084
3303
  }
3085
- function ii(e) {
3304
+ function di(e) {
3086
3305
  if (e == null) return;
3087
3306
  if (typeof e == "string") return e.includes(",") ? e.split(",") : [e];
3088
3307
  let t = [];
3089
3308
  for (let n of e) n !== null && t.push(n);
3090
3309
  return t.length > 0 ? t : void 0;
3091
3310
  }
3092
- function ai(e) {
3311
+ function fi(e) {
3093
3312
  return Array.isArray(e) ? [...e] : e;
3094
3313
  }
3095
- function oi(e, t) {
3314
+ function pi(e, t) {
3096
3315
  return Array.isArray(e) || Array.isArray(t) ? !Array.isArray(e) || !Array.isArray(t) ? !1 : e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
3097
3316
  }
3098
- function si(e, t) {
3317
+ function mi(e, t) {
3099
3318
  let n = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)]);
3100
- for (let r of n) if (!oi(e[r], t[r])) return !1;
3319
+ for (let r of n) if (!pi(e[r], t[r])) return !1;
3101
3320
  return !0;
3102
3321
  }
3103
- function ci(e) {
3322
+ function hi(e) {
3104
3323
  let t = {};
3105
3324
  for (let [n, r] of Object.entries(P(e))) Array.isArray(r) ? r.length > 0 && (t[n] = r) : t[n] = r === !0 ? "true" : r || void 0;
3106
3325
  return t;
3107
3326
  }
3108
- function li(e) {
3327
+ function gi(e) {
3109
3328
  let t = {};
3110
3329
  return Object.keys(e).forEach((n) => {
3111
3330
  let r = e[n];
3112
3331
  r != null && r !== "" && r !== !1 && (Array.isArray(r) ? r.length > 0 && (t[n] = r.map((e) => String(e))) : t[n] = String(r));
3113
3332
  }), t;
3114
3333
  }
3115
- function ui(e, t) {
3334
+ function _i(e, t) {
3116
3335
  let n = Object.keys(e), r = new Set(n.filter((t) => Array.isArray(e[t]))), i = new Set(t.booleanArrayKeys ?? []), a = (e, t) => {
3117
- if (t != null) return r.has(e) ? ii(t) : typeof t == "string" && t.includes(",") ? t.split(",") : ai(t);
3336
+ if (t != null) return r.has(e) ? di(t) : typeof t == "string" && t.includes(",") ? t.split(",") : fi(t);
3118
3337
  }, o = (e) => {
3119
3338
  let t = {};
3120
3339
  for (let r of n) {
@@ -3122,25 +3341,25 @@ function ui(e, t) {
3122
3341
  n !== void 0 && (t[r] = a(r, n));
3123
3342
  }
3124
3343
  return t;
3125
- }, s = D(o(t.route.query)), c = di(e, { syncWith: s }), l = c.filters, u = (e, t) => {
3344
+ }, s = D(o(t.route.query)), c = vi(e, { syncWith: s }), l = c.filters, u = (e, t) => {
3126
3345
  let n = a(e, t);
3127
3346
  return !i.has(e) || n === void 0 ? n : (Array.isArray(n) ? n : [n]).map((e) => {
3128
3347
  if (e === "true") return !0;
3129
3348
  if (e === "false") return !1;
3130
3349
  }).filter((e) => e !== void 0);
3131
3350
  };
3132
- return G(() => o(t.route.query), (e) => {
3351
+ return W(() => o(t.route.query), (e) => {
3133
3352
  for (let t of n) {
3134
3353
  let n = u(t, e[t]);
3135
- oi(l[t], n) || (l[t] = n);
3354
+ pi(l[t], n) || (l[t] = n);
3136
3355
  }
3137
- }, { immediate: !0 }), G(s, (e) => {
3356
+ }, { immediate: !0 }), W(s, (e) => {
3138
3357
  let r = { ...t.route.query };
3139
- for (let t of n) e[t] === void 0 ? delete r[t] : r[t] = ai(e[t]);
3140
- si(t.route.query, r) || t.router.replace({ query: r });
3358
+ for (let t of n) e[t] === void 0 ? delete r[t] : r[t] = fi(e[t]);
3359
+ mi(t.route.query, r) || t.router.replace({ query: r });
3141
3360
  }), c;
3142
3361
  }
3143
- function di(e, t = {}) {
3362
+ function vi(e, t = {}) {
3144
3363
  let n = E(Object.fromEntries(Object.entries(e).map(([e, t]) => [e, t]))), i = t.syncWith;
3145
3364
  if (i) {
3146
3365
  if (i.value) {
@@ -3152,14 +3371,14 @@ function di(e, t = {}) {
3152
3371
  }
3153
3372
  });
3154
3373
  }
3155
- G(n, (e) => {
3156
- i.value = li(e);
3374
+ W(n, (e) => {
3375
+ i.value = gi(e);
3157
3376
  }, { deep: !0 });
3158
3377
  }
3159
3378
  return {
3160
3379
  filters: n,
3161
3380
  isFiltered: r(() => {
3162
- for (let t of Object.keys(e)) if (ti(n[t])) return !0;
3381
+ for (let t of Object.keys(e)) if (ci(n[t])) return !0;
3163
3382
  return !1;
3164
3383
  }),
3165
3384
  clearFilters: () => {
@@ -3169,94 +3388,94 @@ function di(e, t = {}) {
3169
3388
  },
3170
3389
  filteredColumns: r(() => {
3171
3390
  let t = {};
3172
- for (let r of Object.keys(e)) t[r] = !!ti(n[r]);
3391
+ for (let r of Object.keys(e)) t[r] = !!ci(n[r]);
3173
3392
  return t;
3174
3393
  })
3175
3394
  };
3176
3395
  }
3177
3396
  //#endregion
3178
3397
  //#region src/components/GTable.vue?vue&type=script&setup=true&lang.ts
3179
- var fi = { class: "g-table-outer-wrap" }, pi = {
3398
+ var yi = { class: "g-table-outer-wrap" }, bi = {
3180
3399
  key: 0,
3181
3400
  class: "g-table-controls"
3182
- }, mi = { class: "g-table-control-actions" }, hi = {
3401
+ }, xi = { class: "g-table-control-actions" }, Si = {
3183
3402
  key: 0,
3184
3403
  class: "g-sort-builder-wrap"
3185
- }, gi = {
3404
+ }, Ci = {
3186
3405
  key: 0,
3187
3406
  class: "g-sort-builder-count"
3188
- }, _i = {
3407
+ }, wi = {
3189
3408
  key: 0,
3190
3409
  class: "g-sort-builder-list"
3191
- }, vi = ["data-sort-row-key", "aria-label"], yi = {
3410
+ }, Ti = ["data-sort-row-key", "aria-label"], Ei = {
3192
3411
  class: "g-sort-builder-rule-priority",
3193
3412
  "aria-hidden": "true"
3194
- }, bi = { class: "g-sort-builder-rule-label" }, xi = ["aria-label", "onClick"], Si = { class: "g-visually-hidden" }, Ci = {
3413
+ }, Di = { class: "g-sort-builder-rule-label" }, Oi = ["aria-label", "onClick"], ki = { class: "g-visually-hidden" }, Ai = {
3195
3414
  class: "sort-indicator",
3196
3415
  "aria-hidden": "true"
3197
- }, wi = ["aria-label", "onClick"], Ti = {
3416
+ }, ji = ["aria-label", "onClick"], Mi = {
3198
3417
  key: 1,
3199
3418
  class: "g-sort-builder-empty"
3200
- }, Ei = {
3419
+ }, Ni = {
3201
3420
  key: 2,
3202
3421
  class: "g-sort-builder-add"
3203
- }, Di = { class: "g-sort-builder-add-list" }, Oi = { class: "g-sort-builder-add-name" }, ki = { class: "g-sort-builder-add-actions" }, Ai = ["aria-label", "onClick"], ji = ["aria-label", "onClick"], Mi = {
3422
+ }, Pi = { class: "g-sort-builder-add-list" }, Fi = { class: "g-sort-builder-add-name" }, Ii = { class: "g-sort-builder-add-actions" }, Li = ["aria-label", "onClick"], Ri = ["aria-label", "onClick"], zi = {
3204
3423
  class: "sort-indicator",
3205
3424
  "aria-hidden": "true"
3206
- }, Ni = {
3425
+ }, Bi = {
3207
3426
  xmlns: "http://www.w3.org/2000/svg",
3208
3427
  viewBox: "0 0 640 640",
3209
3428
  height: "1.25em",
3210
3429
  style: { transform: "rotate(180deg)" }
3211
- }, Pi = {
3430
+ }, Vi = {
3212
3431
  key: 1,
3213
3432
  class: "g-column-visibility-wrap"
3214
- }, Fi = {
3433
+ }, Hi = {
3215
3434
  xmlns: "http://www.w3.org/2000/svg",
3216
3435
  viewBox: "0 0 640 640",
3217
3436
  height: "1.5em",
3218
3437
  style: { transform: "rotate(90deg)" },
3219
3438
  "aria-hidden": "true"
3220
- }, Ii = ["aria-labelledby"], Li = { class: "g-column-visibility-header" }, Ri = ["id"], zi = { class: "g-column-visibility-legend-action" }, Bi = { class: "g-column-visibility-list" }, Vi = ["checked", "onChange"], Hi = {
3439
+ }, Ui = ["aria-labelledby"], Wi = { class: "g-column-visibility-header" }, Gi = ["id"], Ki = { class: "g-column-visibility-legend-action" }, qi = { class: "g-column-visibility-list" }, Ji = ["checked", "onChange"], Yi = {
3221
3440
  key: 2,
3222
3441
  class: "g-table-custom-controls"
3223
- }, Ui = { class: "g-clear-filters-wrap" }, Wi = {
3442
+ }, Xi = { class: "g-clear-filters-wrap" }, Zi = {
3224
3443
  key: 0,
3225
3444
  class: "pagination"
3226
- }, Gi = { class: "g-table-controls-right" }, Ki = { class: "g-result-count" }, qi = ["aria-label", "aria-rowcount"], Ji = { key: 0 }, Yi = ["data-column-key"], Xi = { class: "g-table-head" }, Zi = { "aria-rowindex": "1" }, Qi = {
3445
+ }, Qi = { class: "g-table-controls-right" }, $i = { class: "g-result-count" }, ea = ["aria-label", "aria-rowcount"], ta = { key: 0 }, na = ["data-column-key"], ra = { class: "g-table-head" }, ia = { "aria-rowindex": "1" }, aa = {
3227
3446
  key: 0,
3228
3447
  scope: "col",
3229
3448
  class: "g-th g-th-checkbox"
3230
- }, $i = [
3449
+ }, oa = [
3231
3450
  "checked",
3232
3451
  "indeterminate",
3233
3452
  "aria-label"
3234
- ], ea = ["id", "aria-sort"], ta = { class: "th-inner" }, na = ["onClick"], ra = {
3453
+ ], sa = ["id", "aria-sort"], ca = { class: "th-inner" }, la = ["onClick"], ua = {
3235
3454
  key: 0,
3236
3455
  class: "sort-indicator",
3237
3456
  "aria-hidden": "true"
3238
- }, ia = {
3457
+ }, da = {
3239
3458
  key: 1,
3240
3459
  class: "g-visually-hidden"
3241
- }, aa = {
3460
+ }, fa = {
3242
3461
  key: 1,
3243
3462
  class: "g-column-head"
3244
- }, oa = ["onClick", "aria-label"], sa = {
3463
+ }, pa = ["onClick", "aria-label"], ma = {
3245
3464
  key: 1,
3246
3465
  class: "g-filter-search",
3247
3466
  role: "search"
3248
- }, ca = [
3467
+ }, ha = [
3249
3468
  "onUpdate:modelValue",
3250
3469
  "placeholder",
3251
3470
  "aria-label"
3252
- ], la = { key: 2 }, ua = { class: "g-filter-toggle" }, da = [
3471
+ ], ga = { key: 2 }, _a = { class: "g-filter-toggle" }, va = [
3253
3472
  "onUpdate:modelValue",
3254
3473
  "id",
3255
3474
  "aria-describedby"
3256
- ], fa = ["for"], pa = ["id"], ma = {
3475
+ ], ya = ["for"], ba = ["id"], xa = {
3257
3476
  key: 4,
3258
3477
  class: "g-multi-select"
3259
- }, ha = [
3478
+ }, Sa = [
3260
3479
  "data-column-key",
3261
3480
  "aria-label",
3262
3481
  "aria-valuemax",
@@ -3264,10 +3483,10 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3264
3483
  "aria-valuetext",
3265
3484
  "onKeydown",
3266
3485
  "onPointerdown"
3267
- ], ga = {
3486
+ ], Ca = {
3268
3487
  key: 1,
3269
3488
  class: "g-bulk-actions-toolbar"
3270
- }, _a = { class: "g-selected-count" }, va = { class: "g-bulk-actions" }, ya = /* @__PURE__ */ u({
3489
+ }, wa = { class: "g-selected-count" }, Ta = { class: "g-bulk-actions" }, Ea = /* @__PURE__ */ u({
3271
3490
  __name: "GTable",
3272
3491
  props: /*@__PURE__*/ m({
3273
3492
  label: {},
@@ -3325,7 +3544,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3325
3544
  ]),
3326
3545
  setup(t, { emit: n }) {
3327
3546
  let u = B(t, "sort"), f = B(t, "filter"), p = B(t, "columnState"), m = B(t, "selectedRows"), h = t, v = n, b = h.filtering;
3328
- b ||= di({});
3547
+ b ||= vi({});
3329
3548
  let { filters: C, filteredColumns: T, isFiltered: E, clearFilters: A } = b, j = r(() => h.data.map((e) => e.key)), M = r(() => m.value.filter((e) => j.value.includes(e))), F = r(() => !h.bulkSelectionEnabled || h.data.length === 0 ? !1 : M.value.length === j.value.length), I = r(() => !h.bulkSelectionEnabled || h.data.length === 0 ? !1 : M.value.length > 0 && M.value.length < j.value.length), R = D(null);
3330
3549
  function H() {
3331
3550
  if (F.value) m.value = m.value.filter((e) => !j.value.includes(e));
@@ -3334,7 +3553,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3334
3553
  j.value.forEach((t) => e.add(t)), m.value = Array.from(e);
3335
3554
  }
3336
3555
  }
3337
- function ee(e, t = !1) {
3556
+ function te(e, t = !1) {
3338
3557
  if (t && R.value) {
3339
3558
  let t = j.value.indexOf(R.value), n = j.value.indexOf(e);
3340
3559
  if (t !== -1 && n !== -1) {
@@ -3344,13 +3563,13 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3344
3563
  } else m.value.includes(e) ? m.value = m.value.filter((t) => t !== e) : m.value = [...m.value, e];
3345
3564
  R.value = e;
3346
3565
  }
3347
- function G(e) {
3566
+ function W(e) {
3348
3567
  v("row-click", e);
3349
3568
  }
3350
- function te(e) {
3569
+ function ne(e) {
3351
3570
  v("bulk-action", e, m.value);
3352
3571
  }
3353
- function re(e) {
3572
+ function ie(e) {
3354
3573
  let t = e.value, n = e.column.key, r = P(e.row[n]);
3355
3574
  e.column.editable?.inputAttributes?.type === "number" && (t = e.value === "" ? null : Number(e.value)), e.row[n] = t;
3356
3575
  let i = {
@@ -3361,13 +3580,13 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3361
3580
  };
3362
3581
  v("cell-change", i);
3363
3582
  }
3364
- function J(e) {
3583
+ function q(e) {
3365
3584
  v("update:startIndex", e ?? 0);
3366
3585
  }
3367
- function ie(e) {
3586
+ function ae(e) {
3368
3587
  e !== void 0 && v("update:pageSize", e);
3369
3588
  }
3370
- let Y = z(), ae = d(), oe = D(null), se = D(null), ce = D(null), le = D(null), ue = `${Y}-table`;
3589
+ let J = z(), oe = d(), se = D(null), ce = D(null), le = D(null), Y = D(null), ue = `${J}-table`;
3371
3590
  function de(e) {
3372
3591
  let t = /* @__PURE__ */ new Set();
3373
3592
  return e.filter((e) => !e?.key || t.has(String(e.key)) ? !1 : (t.add(String(e.key)), e.order === 1 || e.order === -1));
@@ -3423,7 +3642,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3423
3642
  }
3424
3643
  function Te(e, t) {
3425
3644
  Z([...X.value, fe(e, t)]), g(() => {
3426
- let t = oe.value;
3645
+ let t = se.value;
3427
3646
  t && (t.querySelector(`[data-sort-row-key="${String(e)}"]`) ?? t)?.focus();
3428
3647
  }).catch((e) => {
3429
3648
  console.error(e);
@@ -3458,7 +3677,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3458
3677
  if (!(typeof t != "number" || !Number.isFinite(t))) return $(t);
3459
3678
  }
3460
3679
  function Me(e) {
3461
- return document.getElementById(`${Y}-th-${String(e)}`);
3680
+ return document.getElementById(`${J}-th-${String(e)}`);
3462
3681
  }
3463
3682
  function Ne(e) {
3464
3683
  let t = Me(e)?.getBoundingClientRect().width;
@@ -3468,7 +3687,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3468
3687
  return je(e) ?? Ne(e);
3469
3688
  }
3470
3689
  function Fe(e) {
3471
- let t = Pe(e), n = ce.value?.getBoundingClientRect().width ?? se.value?.getBoundingClientRect().width ?? t;
3690
+ let t = Pe(e), n = le.value?.getBoundingClientRect().width ?? ce.value?.getBoundingClientRect().width ?? t;
3472
3691
  return $(Math.max(t, n));
3473
3692
  }
3474
3693
  function Ie(e, t) {
@@ -3478,18 +3697,18 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3478
3697
  Ie(e, Pe(e) + t);
3479
3698
  }
3480
3699
  function Re() {
3481
- le.value = null, window.removeEventListener("pointermove", ze), window.removeEventListener("pointerup", Re), window.removeEventListener("pointercancel", Re);
3700
+ Y.value = null, window.removeEventListener("pointermove", ze), window.removeEventListener("pointerup", Re), window.removeEventListener("pointercancel", Re);
3482
3701
  }
3483
3702
  function ze(e) {
3484
- if (!le.value) return;
3485
- let t = le.value.startWidth + (e.clientX - le.value.startX);
3486
- Ie(le.value.key, t);
3703
+ if (!Y.value) return;
3704
+ let t = Y.value.startWidth + (e.clientX - Y.value.startX);
3705
+ Ie(Y.value.key, t);
3487
3706
  }
3488
3707
  function Be(e, t) {
3489
3708
  if (!h.resizableColumns) return;
3490
3709
  e.preventDefault(), e.stopPropagation();
3491
3710
  let n = Pe(t);
3492
- Ie(t, n), le.value = {
3711
+ Ie(t, n), Y.value = {
3493
3712
  key: t,
3494
3713
  startX: e.clientX,
3495
3714
  startWidth: n
@@ -3528,7 +3747,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3528
3747
  return `${Ue(e)} pixels`;
3529
3748
  }
3530
3749
  let Ge = r(() => {
3531
- let e = ae?.vnode.props ?? {};
3750
+ let e = oe?.vnode.props ?? {};
3532
3751
  return "columnState" in e || "column-state" in e || "onUpdate:columnState" in e;
3533
3752
  }), Ke = r(() => h.columns.filter((e) => ke(e.key).visible !== !1)), qe = V(), Je = r(() => Ke.value.length !== h.columns.length), Ye = r(() => Ge.value && h.columns.length > 0), Xe = r(() => !!qe.controls || !!qe["right-controls"]), Ze = r(() => h.resultCount ?? h.data.length);
3534
3753
  function Qe(e) {
@@ -3559,17 +3778,17 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3559
3778
  }), S(() => {
3560
3779
  h.rowClickable && h.bulkSelectionEnabled && console.warn("GTable: rowClickable and bulkSelectionEnabled cannot be used together. rowClickable will be ignored.");
3561
3780
  for (let e of h.columns) e.editable && e.display && console.warn(`GTable: Column "${String(e.key)}" has both 'editable' and 'display' configured. 'display' will be ignored.`);
3562
- }), (n, r) => (w(), o("div", fi, [
3563
- nt.value ? (w(), o("div", pi, [
3564
- s("div", mi, [
3565
- me.value ? (w(), o("div", hi, [l(ot, null, {
3566
- trigger: K(({ toggle: e }) => [l(Q, {
3781
+ }), (n, r) => (w(), o("div", yi, [
3782
+ nt.value ? (w(), o("div", bi, [
3783
+ s("div", xi, [
3784
+ me.value ? (w(), o("div", Si, [l(ct, null, {
3785
+ trigger: G(({ toggle: e }) => [l(Q, {
3567
3786
  size: "small",
3568
3787
  class: _(["g-sort-builder-trigger", { "g-sort-builder-trigger--active": X.value.length > 0 }]),
3569
3788
  "aria-label": "Choose sort order",
3570
3789
  onClick: e
3571
3790
  }, {
3572
- default: K(() => [r[1] ||= s("svg", {
3791
+ default: G(() => [r[1] ||= s("svg", {
3573
3792
  class: "g-sort-builder-trigger-icon",
3574
3793
  xmlns: "http://www.w3.org/2000/svg",
3575
3794
  viewBox: "0 0 640 640",
@@ -3578,33 +3797,33 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3578
3797
  }, [s("path", {
3579
3798
  fill: "currentColor",
3580
3799
  d: "M130.4 268.2C135.4 280.2 147 288 160 288L480 288C492.9 288 504.6 280.2 509.6 268.2C514.6 256.2 511.8 242.5 502.7 233.3L342.7 73.3C330.2 60.8 309.9 60.8 297.4 73.3L137.4 233.3C128.2 242.5 125.5 256.2 130.5 268.2zM130.4 371.7C125.4 383.7 128.2 397.4 137.3 406.6L297.3 566.6C309.8 579.1 330.1 579.1 342.6 566.6L502.6 406.6C511.8 397.4 514.5 383.7 509.5 371.7C504.5 359.7 492.9 352 480 352L160 352C147.1 352 135.4 359.8 130.4 371.8z"
3581
- })], -1), X.value.length ? (w(), o("span", gi, N(X.value.length), 1)) : a("", !0)]),
3800
+ })], -1), X.value.length ? (w(), o("span", Ci, N(X.value.length), 1)) : a("", !0)]),
3582
3801
  _: 1
3583
3802
  }, 8, ["class", "onClick"])]),
3584
- default: K(() => [s("fieldset", {
3803
+ default: G(() => [s("fieldset", {
3585
3804
  ref_key: "sortBuilderRef",
3586
- ref: oe,
3805
+ ref: se,
3587
3806
  class: "g-sort-builder-popover",
3588
3807
  tabindex: "-1",
3589
3808
  "popover-focus": ""
3590
3809
  }, [
3591
3810
  r[8] ||= s("legend", { class: "g-sort-builder-legend" }, " Sort order ", -1),
3592
3811
  r[9] ||= s("p", { class: "g-sort-builder-help" }, " Click a column header to change the primary sort. Use Shift-click as a shortcut to add or update secondary sorts. ", -1),
3593
- X.value.length ? (w(), o("ol", _i, [(w(!0), o(e, null, O(X.value, (e, t) => (w(), o("li", {
3812
+ X.value.length ? (w(), o("ol", wi, [(w(!0), o(e, null, O(X.value, (e, t) => (w(), o("li", {
3594
3813
  key: e.key,
3595
3814
  class: "g-sort-builder-rule",
3596
3815
  tabindex: "-1",
3597
3816
  "data-sort-row-key": String(e.key),
3598
3817
  "aria-label": `${ve(e.key)} ${xe(e.order)} sort, priority ${t + 1}`
3599
3818
  }, [
3600
- s("span", yi, N(t + 1), 1),
3601
- s("span", bi, N(ve(e.key)), 1),
3819
+ s("span", Ei, N(t + 1), 1),
3820
+ s("span", Di, N(ve(e.key)), 1),
3602
3821
  s("button", {
3603
3822
  type: "button",
3604
3823
  class: "g-sort-builder-direction",
3605
3824
  "aria-label": `Toggle ${ve(e.key)} sort direction`,
3606
3825
  onClick: (t) => Ee(e.key)
3607
- }, [s("span", Si, N(xe(e.order)), 1), s("span", Ci, [(w(), o("svg", {
3826
+ }, [s("span", ki, N(xe(e.order)), 1), s("span", Ai, [(w(), o("svg", {
3608
3827
  xmlns: "http://www.w3.org/2000/svg",
3609
3828
  viewBox: "0 0 640 640",
3610
3829
  height: "1.25em",
@@ -3612,18 +3831,18 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3612
3831
  }, [...r[2] ||= [s("path", {
3613
3832
  fill: "currentColor",
3614
3833
  d: "M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z"
3615
- }, null, -1)]], 4))])], 8, xi),
3834
+ }, null, -1)]], 4))])], 8, Oi),
3616
3835
  s("button", {
3617
3836
  type: "button",
3618
3837
  class: "g-sort-builder-remove",
3619
3838
  "aria-label": `Remove ${ve(e.key)} sort`,
3620
3839
  onClick: (t) => De(e.key)
3621
- }, " Remove ", 8, wi)
3622
- ], 8, vi))), 128))])) : (w(), o("p", Ti, " No active sort rules. ")),
3623
- he.value.length ? (w(), o("div", Ei, [r[6] ||= s("p", { class: "g-sort-builder-add-label" }, " Add sort column ", -1), s("ul", Di, [(w(!0), o(e, null, O(he.value, (e) => (w(), o("li", {
3840
+ }, " Remove ", 8, ji)
3841
+ ], 8, Ti))), 128))])) : (w(), o("p", Mi, " No active sort rules. ")),
3842
+ he.value.length ? (w(), o("div", Ni, [r[6] ||= s("p", { class: "g-sort-builder-add-label" }, " Add sort column ", -1), s("ul", Pi, [(w(!0), o(e, null, O(he.value, (e) => (w(), o("li", {
3624
3843
  key: e.key,
3625
3844
  class: "g-sort-builder-add-item"
3626
- }, [s("span", Oi, N(e.label), 1), s("div", ki, [s("button", {
3845
+ }, [s("span", Fi, N(e.label), 1), s("div", Ii, [s("button", {
3627
3846
  type: "button",
3628
3847
  class: "g-sort-builder-direction",
3629
3848
  "aria-label": `Add ${e.label} ascending sort`,
@@ -3638,15 +3857,15 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3638
3857
  }, [s("path", {
3639
3858
  fill: "currentColor",
3640
3859
  d: "M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z"
3641
- })])], -1)]], 8, Ai), s("button", {
3860
+ })])], -1)]], 8, Li), s("button", {
3642
3861
  type: "button",
3643
3862
  class: "g-sort-builder-direction",
3644
3863
  "aria-label": `Add ${e.label} descending sort`,
3645
3864
  onClick: (t) => Te(e.key, -1)
3646
- }, [r[5] ||= s("span", { class: "g-visually-hidden" }, " Add descending sort ", -1), s("span", Mi, [(w(), o("svg", Ni, [...r[4] ||= [s("path", {
3865
+ }, [r[5] ||= s("span", { class: "g-visually-hidden" }, " Add descending sort ", -1), s("span", zi, [(w(), o("svg", Bi, [...r[4] ||= [s("path", {
3647
3866
  fill: "currentColor",
3648
3867
  d: "M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z"
3649
- }, null, -1)]]))])], 8, ji)])]))), 128))])])) : a("", !0),
3868
+ }, null, -1)]]))])], 8, Ri)])]))), 128))])])) : a("", !0),
3650
3869
  X.value.length ? (w(), i(Q, {
3651
3870
  key: 3,
3652
3871
  outlined: "",
@@ -3654,51 +3873,51 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3654
3873
  class: "g-sort-builder-clear",
3655
3874
  onClick: Oe
3656
3875
  }, {
3657
- default: K(() => [...r[7] ||= [c(" Clear sort ", -1)]]),
3876
+ default: G(() => [...r[7] ||= [c(" Clear sort ", -1)]]),
3658
3877
  _: 1
3659
3878
  })) : a("", !0)
3660
3879
  ], 512)]),
3661
3880
  _: 1
3662
3881
  })])) : a("", !0),
3663
- Ye.value ? (w(), o("div", Pi, [l(ot, null, {
3664
- trigger: K(({ toggle: e }) => [l(Q, {
3882
+ Ye.value ? (w(), o("div", Vi, [l(ct, null, {
3883
+ trigger: G(({ toggle: e }) => [l(Q, {
3665
3884
  size: "small",
3666
3885
  class: _(["g-column-visibility-trigger", { "g-column-visibility-trigger--active": Je.value }]),
3667
3886
  "aria-label": "Choose visible columns",
3668
3887
  onClick: e
3669
3888
  }, {
3670
- default: K(() => [(w(), o("svg", Fi, [...r[10] ||= [s("path", {
3889
+ default: G(() => [(w(), o("svg", Hi, [...r[10] ||= [s("path", {
3671
3890
  fill: "currentColor",
3672
3891
  d: "M64 160C64 142.3 78.3 128 96 128L480 128C497.7 128 512 142.3 512 160C512 177.7 497.7 192 480 192L96 192C78.3 192 64 177.7 64 160zM128 320C128 302.3 142.3 288 160 288L544 288C561.7 288 576 302.3 576 320C576 337.7 561.7 352 544 352L160 352C142.3 352 128 337.7 128 320zM512 480C512 497.7 497.7 512 480 512L96 512C78.3 512 64 497.7 64 480C64 462.3 78.3 448 96 448L480 448C497.7 448 512 462.3 512 480z"
3673
3892
  }, null, -1)]]))]),
3674
3893
  _: 1
3675
3894
  }, 8, ["class", "onClick"])]),
3676
- default: K(() => [s("fieldset", {
3895
+ default: G(() => [s("fieldset", {
3677
3896
  class: "g-column-visibility-popover",
3678
- "aria-labelledby": `${L(Y)}-column-visibility-heading`
3679
- }, [s("div", Li, [s("span", {
3680
- id: `${L(Y)}-column-visibility-heading`,
3897
+ "aria-labelledby": `${L(J)}-column-visibility-heading`
3898
+ }, [s("div", Wi, [s("span", {
3899
+ id: `${L(J)}-column-visibility-heading`,
3681
3900
  class: "g-column-visibility-heading"
3682
- }, " Shown columns ", 8, Ri), s("span", zi, [l(Q, {
3901
+ }, " Shown columns ", 8, Gi), s("span", Ki, [l(Q, {
3683
3902
  text: "",
3684
3903
  size: "small",
3685
3904
  class: _(["g-column-visibility-show-all", { "g-column-visibility-show-all--hidden": !Je.value }]),
3686
3905
  onClick: et
3687
3906
  }, {
3688
- default: K(() => [...r[11] ||= [c(" Show All ", -1)]]),
3907
+ default: G(() => [...r[11] ||= [c(" Show All ", -1)]]),
3689
3908
  _: 1
3690
- }, 8, ["class"])])]), s("div", Bi, [(w(!0), o(e, null, O(t.columns, (e) => (w(), o("label", {
3909
+ }, 8, ["class"])])]), s("div", qi, [(w(!0), o(e, null, O(t.columns, (e) => (w(), o("label", {
3691
3910
  key: e.key,
3692
3911
  class: "g-column-visibility-option"
3693
3912
  }, [s("input", {
3694
3913
  checked: Qe(e),
3695
3914
  type: "checkbox",
3696
3915
  onChange: (t) => $e(e, t.target.checked)
3697
- }, null, 40, Vi), s("span", null, N(e.label), 1)]))), 128))])], 8, Ii)]),
3916
+ }, null, 40, Ji), s("span", null, N(e.label), 1)]))), 128))])], 8, Ui)]),
3698
3917
  _: 1
3699
3918
  })])) : a("", !0),
3700
- Xe.value ? (w(), o("div", Hi, [k(n.$slots, "controls")])) : a("", !0),
3701
- s("div", Ui, [L(E) ? (w(), i(Q, {
3919
+ Xe.value ? (w(), o("div", Yi, [k(n.$slots, "controls")])) : a("", !0),
3920
+ s("div", Xi, [L(E) ? (w(), i(Q, {
3702
3921
  key: 0,
3703
3922
  outlined: "",
3704
3923
  size: "small",
@@ -3706,7 +3925,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3706
3925
  "aria-label": "Clear Filters",
3707
3926
  onClick: L(A)
3708
3927
  }, {
3709
- default: K(() => [...r[12] ||= [s("svg", {
3928
+ default: G(() => [...r[12] ||= [s("svg", {
3710
3929
  xmlns: "http://www.w3.org/2000/svg",
3711
3930
  viewBox: "0 0 640 640",
3712
3931
  height: "1.5em",
@@ -3718,48 +3937,48 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3718
3937
  _: 1
3719
3938
  }, 8, ["onClick"])) : a("", !0)])
3720
3939
  ]),
3721
- tt.value ? (w(), o("div", Wi, [l(ei, {
3940
+ tt.value ? (w(), o("div", Zi, [l(si, {
3722
3941
  start: t.startIndex,
3723
3942
  "page-size": t.pageSize,
3724
3943
  "page-sizes": t.pageSizes,
3725
3944
  total: Ze.value,
3726
- "onUpdate:start": J,
3727
- "onUpdate:pageSize": ie
3945
+ "onUpdate:start": q,
3946
+ "onUpdate:pageSize": ae
3728
3947
  }, null, 8, [
3729
3948
  "start",
3730
3949
  "page-size",
3731
3950
  "page-sizes",
3732
3951
  "total"
3733
3952
  ])])) : a("", !0),
3734
- s("div", Gi, [s("span", Ki, N(Ze.value) + " results", 1), k(n.$slots, "right-controls")])
3953
+ s("div", Qi, [s("span", $i, N(Ze.value) + " results", 1), k(n.$slots, "right-controls")])
3735
3954
  ])) : a("", !0),
3736
3955
  s("div", {
3737
3956
  ref_key: "tableWrapRef",
3738
- ref: ce,
3957
+ ref: le,
3739
3958
  class: "g-table-table-wrap"
3740
3959
  }, [s("table", {
3741
3960
  id: ue,
3742
3961
  class: _(["g-table", { "g-table--resizable": t.resizableColumns }]),
3743
3962
  ref_key: "tableRef",
3744
- ref: se,
3963
+ ref: ce,
3745
3964
  "aria-label": t.label,
3746
3965
  "aria-rowcount": Ze.value
3747
3966
  }, [
3748
- s("colgroup", null, [t.bulkSelectionEnabled ? (w(), o("col", Ji)) : a("", !0), (w(!0), o(e, null, O(Ke.value, (e) => (w(), o("col", {
3967
+ s("colgroup", null, [t.bulkSelectionEnabled ? (w(), o("col", ta)) : a("", !0), (w(!0), o(e, null, O(Ke.value, (e) => (w(), o("col", {
3749
3968
  key: e.key,
3750
3969
  "data-column-key": String(e.key),
3751
3970
  style: y(He(e))
3752
- }, null, 12, Yi))), 128))]),
3753
- s("thead", Xi, [s("tr", Zi, [t.bulkSelectionEnabled ? (w(), o("th", Qi, [s("input", {
3971
+ }, null, 12, na))), 128))]),
3972
+ s("thead", ra, [s("tr", ia, [t.bulkSelectionEnabled ? (w(), o("th", aa, [s("input", {
3754
3973
  type: "checkbox",
3755
3974
  checked: F.value,
3756
3975
  indeterminate: I.value,
3757
3976
  onChange: H,
3758
3977
  "aria-label": F.value ? "Deselect all rows" : "Select all rows",
3759
3978
  class: "g-bulk-select-checkbox"
3760
- }, null, 40, $i)])) : a("", !0), (w(!0), o(e, null, O(Ke.value, (e) => (w(), o("th", {
3979
+ }, null, 40, oa)])) : a("", !0), (w(!0), o(e, null, O(Ke.value, (e) => (w(), o("th", {
3761
3980
  key: e.key,
3762
- id: `${L(Y)}-th-${String(e.key)}`,
3981
+ id: `${L(J)}-th-${String(e.key)}`,
3763
3982
  "aria-sort": ye(e.key),
3764
3983
  class: _([
3765
3984
  "g-th",
@@ -3768,14 +3987,14 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3768
3987
  { filtered: L(T)[e.key] }
3769
3988
  ]),
3770
3989
  scope: "col"
3771
- }, [s("div", ta, [e.sortable ? (w(), o("button", {
3990
+ }, [s("div", ca, [e.sortable ? (w(), o("button", {
3772
3991
  key: 0,
3773
3992
  type: "button",
3774
3993
  class: "g-column-head",
3775
3994
  onClick: (t) => we(e, t.shiftKey)
3776
3995
  }, [
3777
3996
  c(N(e.label) + " ", 1),
3778
- ge(e.key) === -1 ? a("", !0) : (w(), o("span", ra, [(w(), o("svg", {
3997
+ ge(e.key) === -1 ? a("", !0) : (w(), o("span", ua, [(w(), o("svg", {
3779
3998
  xmlns: "http://www.w3.org/2000/svg",
3780
3999
  viewBox: "0 0 640 640",
3781
4000
  height: "1.5em",
@@ -3784,10 +4003,10 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3784
4003
  fill: "currentColor",
3785
4004
  d: "M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z"
3786
4005
  }, null, -1)]], 4))])),
3787
- ge(e.key) === -1 ? a("", !0) : (w(), o("span", ia, N(be(e.key)), 1))
3788
- ], 8, na)) : (w(), o("span", aa, N(e.label), 1)), e.filter ? (w(), i(ot, { key: 2 }, {
3789
- trigger: K(({ toggle: t }) => [s("button", {
3790
- onClick: q(t, ["stop"]),
4006
+ ge(e.key) === -1 ? a("", !0) : (w(), o("span", da, N(be(e.key)), 1))
4007
+ ], 8, la)) : (w(), o("span", fa, N(e.label), 1)), e.filter ? (w(), i(ct, { key: 2 }, {
4008
+ trigger: G(({ toggle: t }) => [s("button", {
4009
+ onClick: K(t, ["stop"]),
3791
4010
  "aria-label": L(T)[e.key] ? "Column Filtered" : "Filter Column",
3792
4011
  class: _(["g-filter-btn", { "g-active": L(T)[e.key] }]),
3793
4012
  type: "button"
@@ -3799,8 +4018,8 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3799
4018
  }, [s("path", {
3800
4019
  fill: "currentColor",
3801
4020
  d: "M96 128C83.1 128 71.4 135.8 66.4 147.8C61.4 159.8 64.2 173.5 73.4 182.6L256 365.3L256 480C256 488.5 259.4 496.6 265.4 502.6L329.4 566.6C338.6 575.8 352.3 578.5 364.3 573.5C376.3 568.5 384 556.9 384 544L384 365.3L566.6 182.7C575.8 173.5 578.5 159.8 573.5 147.8C568.5 135.8 556.9 128 544 128L96 128z"
3802
- })], -1)]], 10, oa)]),
3803
- default: K(() => [e.filter.type === "select" ? (w(), i(Kt, {
4021
+ })], -1)]], 10, pa)]),
4022
+ default: G(() => [e.filter.type === "select" ? (w(), i(Jt, {
3804
4023
  key: 0,
3805
4024
  modelValue: f.value[e.key],
3806
4025
  "onUpdate:modelValue": (t) => f.value[e.key] = t,
@@ -3815,7 +4034,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3815
4034
  "onUpdate:modelValue",
3816
4035
  "options",
3817
4036
  "search-description"
3818
- ])) : e.filter.type === "search" ? (w(), o("div", sa, [r[15] ||= s("span", {
4037
+ ])) : e.filter.type === "search" ? (w(), o("div", ma, [r[15] ||= s("span", {
3819
4038
  class: "g-filter-search-icon",
3820
4039
  "aria-hidden": "true"
3821
4040
  }, [s("svg", {
@@ -3825,26 +4044,26 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3825
4044
  }, [s("path", {
3826
4045
  fill: "currentColor",
3827
4046
  d: "M30 9.76A14.05 14.05 0 1 0 28.3 31l11.3 13a3.34 3.34 0 0 0 4.72-4.72L31.44 27.86A14.05 14.05 0 0 0 30 9.76ZM27.27 27a10.26 10.26 0 1 1 0-14.5 10.25 10.25 0 0 1 0 14.5Z"
3828
- })])], -1), ne(s("input", {
4047
+ })])], -1), re(s("input", {
3829
4048
  type: "search",
3830
4049
  class: "g-filter-search-input",
3831
4050
  "onUpdate:modelValue": (t) => f.value[e.key] = t,
3832
4051
  placeholder: e.filter.placeholder,
3833
4052
  "aria-label": `Search ${e.label}`
3834
- }, null, 8, ca), [[W, f.value[e.key]]])])) : e.filter.type === "toggle" ? (w(), o("div", la, [s("div", ua, [
3835
- ne(s("input", {
4053
+ }, null, 8, ha), [[ee, f.value[e.key]]])])) : e.filter.type === "toggle" ? (w(), o("div", ga, [s("div", _a, [
4054
+ re(s("input", {
3836
4055
  type: "checkbox",
3837
4056
  "onUpdate:modelValue": (t) => f.value[e.key] = t,
3838
- id: `${L(Y)}-filter-${String(e.key)}`,
3839
- "aria-describedby": e.filter.description ? `${L(Y)}-filter-description-${String(e.key)}` : void 0
3840
- }, null, 8, da), [[U, f.value[e.key]]]),
3841
- s("label", { for: `${L(Y)}-filter-${String(e.key)}` }, N(e.filter.label), 9, fa),
4057
+ id: `${L(J)}-filter-${String(e.key)}`,
4058
+ "aria-describedby": e.filter.description ? `${L(J)}-filter-description-${String(e.key)}` : void 0
4059
+ }, null, 8, va), [[U, f.value[e.key]]]),
4060
+ s("label", { for: `${L(J)}-filter-${String(e.key)}` }, N(e.filter.label), 9, ya),
3842
4061
  e.filter.description ? (w(), o("span", {
3843
4062
  key: 0,
3844
4063
  class: "g-filter-description",
3845
- id: `${L(Y)}-filter-description-${String(e.key)}`
3846
- }, N(e.filter.description), 9, pa)) : a("", !0)
3847
- ])])) : e.filter.type === "multi-select" && e.filter.searchable ? (w(), i(br, {
4064
+ id: `${L(J)}-filter-description-${String(e.key)}`
4065
+ }, N(e.filter.description), 9, ba)) : a("", !0)
4066
+ ])])) : e.filter.type === "multi-select" && e.filter.searchable ? (w(), i(Dr, {
3848
4067
  key: 3,
3849
4068
  modelValue: f.value[e.key],
3850
4069
  "onUpdate:modelValue": (t) => f.value[e.key] = t,
@@ -3859,7 +4078,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3859
4078
  "options",
3860
4079
  "placeholder",
3861
4080
  "search-description"
3862
- ])) : e.filter.type === "multi-select" ? (w(), o("div", ma, [l(jr, {
4081
+ ])) : e.filter.type === "multi-select" ? (w(), o("div", xa, [l(Rr, {
3863
4082
  modelValue: f.value[e.key],
3864
4083
  "onUpdate:modelValue": (t) => f.value[e.key] = t,
3865
4084
  options: rt(e),
@@ -3875,14 +4094,14 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3875
4094
  size: "small",
3876
4095
  onClick: (t) => f.value[e.key] = []
3877
4096
  }, {
3878
- default: K(() => [...r[16] ||= [c(" Clear ", -1)]]),
4097
+ default: G(() => [...r[16] ||= [c(" Clear ", -1)]]),
3879
4098
  _: 1
3880
4099
  }, 8, ["onClick"])) : a("", !0)])) : a("", !0)]),
3881
4100
  _: 2
3882
4101
  }, 1024)) : a("", !0)]), t.resizableColumns ? (w(), o("div", {
3883
4102
  key: 0,
3884
4103
  "data-column-key": String(e.key),
3885
- class: _(["g-column-resize-handle", { "g-column-resize-handle--active": le.value?.key === e.key }]),
4104
+ class: _(["g-column-resize-handle", { "g-column-resize-handle--active": Y.value?.key === e.key }]),
3886
4105
  role: "separator",
3887
4106
  tabindex: "0",
3888
4107
  "aria-orientation": "vertical",
@@ -3892,11 +4111,11 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3892
4111
  "aria-valuemax": Fe(e.key),
3893
4112
  "aria-valuenow": Ue(e.key),
3894
4113
  "aria-valuetext": We(e.key),
3895
- onClick: r[0] ||= q(() => {}, ["stop", "prevent"]),
4114
+ onClick: r[0] ||= K(() => {}, ["stop", "prevent"]),
3896
4115
  onKeydown: (t) => Ve(t, e.key),
3897
4116
  onPointerdown: (t) => Be(t, e.key)
3898
- }, null, 42, ha)) : a("", !0)], 10, ea))), 128))])]),
3899
- l(ir, {
4117
+ }, null, 42, Sa)) : a("", !0)], 10, sa))), 128))])]),
4118
+ l(dr, {
3900
4119
  data: t.data,
3901
4120
  columns: Ke.value,
3902
4121
  "group-by": t.groupBy,
@@ -3906,11 +4125,11 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3906
4125
  "start-index": t.startIndex,
3907
4126
  "bulk-selection-enabled": t.bulkSelectionEnabled,
3908
4127
  "selected-rows": m.value,
3909
- "table-id": L(Y),
4128
+ "table-id": L(J),
3910
4129
  "change-tracker": t.changeTracker,
3911
- onRowClick: G,
3912
- onToggleRow: ee,
3913
- onCellChange: re
4130
+ onRowClick: W,
4131
+ onToggleRow: te,
4132
+ onCellChange: ie
3914
4133
  }, null, 8, [
3915
4134
  "data",
3916
4135
  "columns",
@@ -3924,18 +4143,18 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3924
4143
  "table-id",
3925
4144
  "change-tracker"
3926
4145
  ])
3927
- ], 10, qi)], 512),
3928
- t.bulkSelectionEnabled && m.value.length > 0 ? (w(), o("div", ga, [s("span", _a, N(m.value.length) + " row" + N(m.value.length === 1 ? "" : "s") + " selected", 1), s("ul", va, [(w(!0), o(e, null, O(t.bulkActions, (e) => (w(), o("li", { key: e.id }, [l(Q, {
4146
+ ], 10, ea)], 512),
4147
+ t.bulkSelectionEnabled && m.value.length > 0 ? (w(), o("div", Ca, [s("span", wa, N(m.value.length) + " row" + N(m.value.length === 1 ? "" : "s") + " selected", 1), s("ul", Ta, [(w(!0), o(e, null, O(t.bulkActions, (e) => (w(), o("li", { key: e.id }, [l(Q, {
3929
4148
  theme: e.theme || "accent",
3930
- onClick: (t) => te(e.id),
4149
+ onClick: (t) => ne(e.id),
3931
4150
  size: "small"
3932
4151
  }, {
3933
- default: K(() => [c(N(e.label) + " " + N(m.value.length) + " row" + N(m.value.length === 1 ? "" : "s"), 1)]),
4152
+ default: G(() => [c(N(e.label) + " " + N(m.value.length) + " row" + N(m.value.length === 1 ? "" : "s"), 1)]),
3934
4153
  _: 2
3935
4154
  }, 1032, ["theme", "onClick"])]))), 128))])])) : a("", !0)
3936
4155
  ]));
3937
4156
  }
3938
- }), ba = ["id"], xa = { class: "g-modal-inner" }, Sa = { class: "g-modal-header" }, Ca = ["id"], wa = ["id"], Ta = /* @__PURE__ */ u({
4157
+ }), Da = ["id"], Oa = { class: "g-modal-inner" }, ka = { class: "g-modal-header" }, Aa = ["id"], ja = ["id"], Ma = /* @__PURE__ */ u({
3939
4158
  __name: "GModal",
3940
4159
  props: {
3941
4160
  label: {},
@@ -3949,11 +4168,11 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3949
4168
  },
3950
4169
  emits: ["close"],
3951
4170
  setup(e, { emit: c }) {
3952
- let u = e, d = c, f = H("dialog"), p = D(!0), m = z(), { pop: g, push: _, isTop: v, zIndex: y } = qe(m, !0, !0), { deactivate: x, activate: C } = $e(f, v);
4171
+ let u = e, d = c, f = H("dialog"), p = D(!0), m = z(), { pop: g, push: _, isTop: v, zIndex: y } = qe(m, !0, !0), { deactivate: x, activate: C } = tt(f, v);
3953
4172
  function T() {
3954
4173
  d("close");
3955
4174
  }
3956
- et([f], v, p, T, g), S(() => {
4175
+ nt([f], v, p, T, g), S(() => {
3957
4176
  _(), C();
3958
4177
  }), b(() => {
3959
4178
  g(), x();
@@ -3966,7 +4185,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3966
4185
  name: "g-fade",
3967
4186
  appear: ""
3968
4187
  }, {
3969
- default: K(() => [s("div", h({
4188
+ default: G(() => [s("div", h({
3970
4189
  id: "modal-" + L(m),
3971
4190
  class: ["g-modal", E.value],
3972
4191
  role: "dialog",
@@ -3979,12 +4198,12 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3979
4198
  ref_key: "dialog",
3980
4199
  ref: f,
3981
4200
  style: { zIndex: L(y) }
3982
- }), [s("div", xa, [s("div", Sa, [e.hiddenLabel ? a("", !0) : (w(), o("h2", {
4201
+ }), [s("div", Oa, [s("div", ka, [e.hiddenLabel ? a("", !0) : (w(), o("h2", {
3983
4202
  key: 0,
3984
4203
  id: "modal-label-" + L(m),
3985
4204
  class: "g-modal-label",
3986
4205
  tabindex: "-1"
3987
- }, N(e.label), 9, Ca)), s("button", {
4206
+ }, N(e.label), 9, Aa)), s("button", {
3988
4207
  class: "g-modal-close",
3989
4208
  onClick: T,
3990
4209
  "aria-label": "Close"
@@ -3999,82 +4218,36 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
3999
4218
  })], -1)]])]), s("div", {
4000
4219
  id: "modal-description-" + L(m),
4001
4220
  class: "g-modal-content"
4002
- }, [k(r.$slots, "default")], 8, wa)])], 16, ba)]),
4221
+ }, [k(r.$slots, "default")], 8, ja)])], 16, Da)]),
4003
4222
  _: 3
4004
4223
  })]));
4005
4224
  }
4006
- }), Ea = [
4007
- "id",
4008
- "aria-expanded",
4009
- "aria-label",
4010
- "aria-controls"
4011
- ], Da = {
4012
- key: 0,
4013
- class: "g-hamburger-label"
4014
- }, Oa = /* @__PURE__ */ u({
4015
- __name: "GHamburgerMenu",
4016
- props: {
4017
- label: { default: "Main Navigation" },
4018
- sidebarKey: { default: "default" },
4019
- mediaQuery: {},
4020
- labelVisible: {
4021
- type: Boolean,
4022
- default: !1
4023
- }
4024
- },
4025
- emits: ["toggle"],
4026
- setup(e, { emit: t }) {
4027
- let n = e, r = p("sidebar") ?? (Z() ? pn(n.sidebarKey, F(n, "mediaQuery")) : void 0), i = t;
4028
- function c() {
4029
- i("toggle"), r?.toggle();
4030
- }
4031
- function l(e) {
4032
- e.key === "Escape" && r?.open?.value && (r.open.value = !1);
4033
- }
4034
- let u = z();
4035
- return (t, n) => (w(), o("button", {
4036
- id: `${L(r)?.id ?? L(u)}-hamburger`,
4037
- class: _(["g-hamburger-button", {
4038
- "g-hamburger-button--open": L(r)?.open?.value,
4039
- "g-hamburger-button--collapsible": L(r)?.isCollapsible?.value
4040
- }]),
4041
- onClick: c,
4042
- onKeydown: l,
4043
- "aria-expanded": L(r)?.open?.value ? "true" : "false",
4044
- "aria-label": e.labelVisible ? void 0 : e.label,
4045
- "aria-controls": L(r) ? `${L(r).id}-sidebar` : void 0
4046
- }, [n[0] ||= s("svg", {
4047
- xmlns: "http://www.w3.org/2000/svg",
4048
- viewBox: "0 0 51.26 51.26",
4049
- role: "none"
4050
- }, [s("g", { fill: "currentColor" }, [s("path", { d: "M11.6 16.52h28.06a3.24 3.24 0 1 0 0-6.48H11.6a3.24 3.24 0 0 0 0 6.48ZM39.66 22.07H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48ZM39.66 34.1H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48Z" })])], -1), e.labelVisible ? (w(), o("span", Da, N(e.label), 1)) : a("", !0)], 42, Ea));
4051
- }
4052
- }), ka = /* @__PURE__ */ u({
4225
+ }), Na = /* @__PURE__ */ u({
4053
4226
  __name: "GDetailList",
4054
4227
  props: { variant: { default: "grid" } },
4055
4228
  setup(e) {
4056
4229
  let t = e;
4057
4230
  return (e, n) => (w(), o("dl", { class: _(["g-detail-list", `g-detail-list--${t.variant}`]) }, [k(e.$slots, "default")], 2));
4058
4231
  }
4059
- }), Aa = { class: "g-detail-list-item" }, ja = { class: "g-detail-list-item__label" }, Ma = { class: "g-detail-list-item__value" }, Na = /* @__PURE__ */ u({
4232
+ }), Pa = { class: "g-detail-list-item" }, Fa = { class: "g-detail-list-item__label" }, Ia = { class: "g-detail-list-item__value" }, La = /* @__PURE__ */ u({
4060
4233
  __name: "GDetailListItem",
4061
4234
  props: { label: {} },
4062
4235
  setup(e) {
4063
- return (t, n) => (w(), o("div", Aa, [s("dt", ja, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])]), s("dd", Ma, [k(t.$slots, "default")])]));
4236
+ return (t, n) => (w(), o("div", Pa, [s("dt", Fa, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])]), s("dd", Ia, [k(t.$slots, "default")])]));
4064
4237
  }
4065
- }), Pa = {
4238
+ }), Ra = {
4066
4239
  key: 0,
4067
4240
  class: "g-scroll-lock-overlay"
4068
- }, Fa = /* @__PURE__ */ u({
4241
+ }, za = /* @__PURE__ */ u({
4069
4242
  __name: "GOverlay",
4070
4243
  setup(e) {
4071
4244
  let { hasScrollLock: t } = Je();
4072
4245
  return (e, r) => (w(), i(n, { name: "g-fade" }, {
4073
- default: K(() => [L(t) ? (w(), o("div", Pa)) : a("", !0)]),
4246
+ default: G(() => [L(t) ? (w(), o("div", Ra)) : a("", !0)]),
4074
4247
  _: 1
4075
4248
  }));
4076
4249
  }
4077
- }), Ia = { class: "popover-content" }, La = { class: "year-dropdown" }, Ra = { class: "month-selector" }, za = /* @__PURE__ */ u({
4250
+ }), Ba = { class: "popover-content" }, Va = { class: "year-dropdown" }, Ha = { class: "month-selector" }, Ua = /* @__PURE__ */ u({
4078
4251
  __name: "GTermSelectorControl",
4079
4252
  props: /*@__PURE__*/ m({
4080
4253
  termYears: { default: () => ["2026"] },
@@ -4095,7 +4268,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4095
4268
  emits: ["update:modelValue"],
4096
4269
  setup(e) {
4097
4270
  let t = B(e, "modelValue");
4098
- return (n, r) => (w(), o("div", Ia, [s("div", La, [l(Kt, {
4271
+ return (n, r) => (w(), o("div", Ba, [s("div", Va, [l(Jt, {
4099
4272
  modelValue: t.value.year,
4100
4273
  "onUpdate:modelValue": r[0] ||= (e) => t.value.year = e,
4101
4274
  options: e.termYears,
@@ -4104,7 +4277,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4104
4277
  "modelValue",
4105
4278
  "options",
4106
4279
  "label"
4107
- ])]), s("div", Ra, [l(xt, {
4280
+ ])]), s("div", Ha, [l(Ct, {
4108
4281
  modelValue: t.value.name,
4109
4282
  "onUpdate:modelValue": r[1] ||= (e) => t.value.name = e,
4110
4283
  options: e.termNames,
@@ -4116,10 +4289,10 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4116
4289
  "label"
4117
4290
  ])])]));
4118
4291
  }
4119
- }), Ba = { class: "g-term-selector" }, Va = { class: "g-term-label" }, Ha = {
4292
+ }), Wa = { class: "g-term-selector" }, Ga = { class: "g-term-label" }, Ka = {
4120
4293
  class: "g-popover-title",
4121
4294
  tabindex: "-1"
4122
- }, Ua = /* @__PURE__ */ u({
4295
+ }, qa = /* @__PURE__ */ u({
4123
4296
  __name: "GTermSelector",
4124
4297
  props: /*@__PURE__*/ m({
4125
4298
  heading: { default: "Period Selection" },
@@ -4141,20 +4314,20 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4141
4314
  emits: ["update:modelValue"],
4142
4315
  setup(e) {
4143
4316
  let t = B(e, "modelValue");
4144
- return (n, r) => (w(), o("div", Ba, [l(ot, null, {
4145
- trigger: K(({ toggle: e }) => [l(Q, {
4317
+ return (n, r) => (w(), o("div", Wa, [l(ct, null, {
4318
+ trigger: G(({ toggle: e }) => [l(Q, {
4146
4319
  class: "g-term-selector-button",
4147
4320
  theme: "none",
4148
4321
  outlined: "",
4149
4322
  onClick: e
4150
4323
  }, {
4151
- default: K(() => [
4324
+ default: G(() => [
4152
4325
  r[0] ||= s("span", { class: "g-calendar-icon" }, [s("svg", {
4153
4326
  role: "none",
4154
4327
  xmlns: "http://www.w3.org/2000/svg",
4155
4328
  viewBox: "0 0 640 640"
4156
4329
  }, [s("path", { d: "M224 64C206.3 64 192 78.3 192 96L192 128L160 128C124.7 128 96 156.7 96 192L96 240L544 240L544 192C544 156.7 515.3 128 480 128L448 128L448 96C448 78.3 433.7 64 416 64C398.3 64 384 78.3 384 96L384 128L256 128L256 96C256 78.3 241.7 64 224 64zM96 288L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 288L96 288z" })])], -1),
4157
- s("span", Va, N(t.value?.name) + " " + N(t.value?.year), 1),
4330
+ s("span", Ga, N(t.value?.name) + " " + N(t.value?.year), 1),
4158
4331
  r[1] ||= s("span", { class: "g-caret" }, [s("svg", {
4159
4332
  role: "none",
4160
4333
  xmlns: "http://www.w3.org/2000/svg",
@@ -4163,15 +4336,15 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4163
4336
  ]),
4164
4337
  _: 1
4165
4338
  }, 8, ["onClick"])]),
4166
- default: K(() => [s("h2", Ha, N(e.heading), 1), l(za, v(f(n.$props)), null, 16)]),
4339
+ default: G(() => [s("h2", Ka, N(e.heading), 1), l(Ua, v(f(n.$props)), null, 16)]),
4167
4340
  _: 1
4168
4341
  })]));
4169
4342
  }
4170
- }), Wa = { class: "g-user-menu" }, Ga = [
4343
+ }), Ja = { class: "g-user-menu" }, Ya = [
4171
4344
  "aria-label",
4172
4345
  "aria-expanded",
4173
4346
  "onClick"
4174
- ], Ka = { class: "g-user-menu__popover" }, qa = { class: "g-user-menu__list" }, Ja = /* @__PURE__ */ u({
4347
+ ], Xa = { class: "g-user-menu__popover" }, Za = { class: "g-user-menu__list" }, Qa = /* @__PURE__ */ u({
4175
4348
  __name: "GUserMenu",
4176
4349
  props: {
4177
4350
  initials: {},
@@ -4183,20 +4356,20 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4183
4356
  let n = `${z()}-email`, r = D(!1), a = H("emailHeading");
4184
4357
  d()?.appContext?.components?.RouterLink;
4185
4358
  let c = V();
4186
- return (u, d) => (w(), o("div", Wa, [l(ot, {
4359
+ return (u, d) => (w(), o("div", Ja, [l(ct, {
4187
4360
  modelValue: r.value,
4188
4361
  "onUpdate:modelValue": d[0] ||= (e) => r.value = e,
4189
4362
  minimal: ""
4190
4363
  }, {
4191
- trigger: K(({ toggle: e }) => [s("button", {
4364
+ trigger: G(({ toggle: e }) => [s("button", {
4192
4365
  class: "g-user-menu__avatar",
4193
4366
  style: y({ backgroundColor: t.color }),
4194
4367
  "aria-label": t.initials + " - " + t.label,
4195
4368
  "aria-expanded": r.value,
4196
4369
  "aria-haspopup": "menu",
4197
4370
  onClick: e
4198
- }, N(t.initials), 13, Ga)]),
4199
- default: K(() => [s("div", Ka, [s("h2", {
4371
+ }, N(t.initials), 13, Ya)]),
4372
+ default: G(() => [s("div", Xa, [s("h2", {
4200
4373
  id: n,
4201
4374
  ref_key: "emailHeading",
4202
4375
  ref: a,
@@ -4205,11 +4378,11 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4205
4378
  }, N(t.email), 513), s("nav", {
4206
4379
  class: "g-user-menu__nav",
4207
4380
  "aria-labelledby": n
4208
- }, [s("ul", qa, [(w(!0), o(e, null, O(c.default(), (e, t) => (w(), o("li", { key: t }, [(w(), i(A(e)))]))), 128))])])])]),
4381
+ }, [s("ul", Za, [(w(!0), o(e, null, O(c.default(), (e, t) => (w(), o("li", { key: t }, [(w(), i(A(e)))]))), 128))])])])]),
4209
4382
  _: 1
4210
4383
  }, 8, ["modelValue"])]));
4211
4384
  }
4212
- }), Ya = /* @__PURE__ */ u({
4385
+ }), $a = /* @__PURE__ */ u({
4213
4386
  __name: "GCurrencyInput",
4214
4387
  props: /*@__PURE__*/ m({
4215
4388
  label: { default: void 0 },
@@ -4260,7 +4433,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4260
4433
  "form-key"
4261
4434
  ]));
4262
4435
  }
4263
- }), Xa = /* @__PURE__ */ u({
4436
+ }), eo = /* @__PURE__ */ u({
4264
4437
  __name: "GEmailInput",
4265
4438
  props: /*@__PURE__*/ m({
4266
4439
  label: { default: void 0 },
@@ -4305,13 +4478,13 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4305
4478
  "instructions"
4306
4479
  ]));
4307
4480
  }
4308
- }), Za = ["for"], Qa = {
4481
+ }), to = ["for"], no = {
4309
4482
  key: 0,
4310
4483
  class: "g-file-input-required"
4311
- }, $a = {
4484
+ }, ro = {
4312
4485
  key: 0,
4313
4486
  class: "g-file-input-box-header"
4314
- }, eo = ["id"], to = [
4487
+ }, io = ["id"], ao = [
4315
4488
  "id",
4316
4489
  "disabled",
4317
4490
  "required",
@@ -4320,11 +4493,11 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4320
4493
  "aria-invalid",
4321
4494
  "aria-describedby",
4322
4495
  "aria-errormessage"
4323
- ], no = {
4496
+ ], oo = {
4324
4497
  key: 1,
4325
4498
  class: "g-file-input-pills",
4326
4499
  "aria-label": "Selected files"
4327
- }, ro = /* @__PURE__ */ u({
4500
+ }, so = /* @__PURE__ */ u({
4328
4501
  inheritAttrs: !1,
4329
4502
  __name: "GFileInput",
4330
4503
  props: /*@__PURE__*/ m({
@@ -4381,12 +4554,12 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4381
4554
  key: 0,
4382
4555
  for: L(d),
4383
4556
  class: "g-file-input-label"
4384
- }, [c(N(t.label) + " ", 1), t.required ? (w(), o("span", Qa, "*")) : a("", !0)], 8, Za)) : a("", !0),
4557
+ }, [c(N(t.label) + " ", 1), t.required ? (w(), o("span", no, "*")) : a("", !0)], 8, to)) : a("", !0),
4385
4558
  s("div", { class: _(["g-file-input-box", { "g-file-input-box--disabled": t.disabled }]) }, [
4386
- t.instructions ? (w(), o("div", $a, [s("span", {
4559
+ t.instructions ? (w(), o("div", ro, [s("span", {
4387
4560
  id: "instructions-" + L(d),
4388
4561
  class: "g-file-input-instructions"
4389
- }, N(t.instructions), 9, eo)])) : a("", !0),
4562
+ }, N(t.instructions), 9, io)])) : a("", !0),
4390
4563
  s("input", {
4391
4564
  id: L(d),
4392
4565
  type: "file",
@@ -4399,8 +4572,8 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4399
4572
  "aria-describedby": t.instructions ? "instructions-" + L(d) : void 0,
4400
4573
  "aria-errormessage": y.value ? "error-message-" + L(d) : void 0,
4401
4574
  onChange: g
4402
- }, null, 40, to),
4403
- t.multiple && b.value.length > 0 ? (w(), o("ul", no, [(w(!0), o(e, null, O(b.value, (e) => (w(), o("li", {
4575
+ }, null, 40, ao),
4576
+ t.multiple && b.value.length > 0 ? (w(), o("ul", oo, [(w(!0), o(e, null, O(b.value, (e) => (w(), o("li", {
4404
4577
  key: e,
4405
4578
  class: "g-file-input-pill"
4406
4579
  }, [r[0] ||= s("svg", {
@@ -4416,7 +4589,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4416
4589
  }, null, 8, ["errors", "id"])
4417
4590
  ], 2));
4418
4591
  }
4419
- }), io = /* @__PURE__ */ u({
4592
+ }), co = /* @__PURE__ */ u({
4420
4593
  __name: "GDateInput",
4421
4594
  props: /*@__PURE__*/ m({
4422
4595
  label: { default: void 0 },
@@ -4464,21 +4637,21 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4464
4637
  "form-key"
4465
4638
  ]));
4466
4639
  }
4467
- }), ao = { class: "g-date-range-input" }, oo = {
4640
+ }), lo = { class: "g-date-range-input" }, uo = {
4468
4641
  key: 0,
4469
4642
  class: "g-date-range-input__label"
4470
- }, so = {
4643
+ }, fo = {
4471
4644
  key: 0,
4472
4645
  class: "g-date-range-input__required",
4473
4646
  "aria-hidden": "true"
4474
- }, co = {
4647
+ }, po = {
4475
4648
  key: 1,
4476
4649
  class: "g-date-range-input__instructions"
4477
- }, lo = { class: "g-date-range-input__fields" }, uo = {
4650
+ }, mo = { class: "g-date-range-input__fields" }, ho = {
4478
4651
  key: 2,
4479
4652
  class: "g-date-range-input__errors",
4480
4653
  role: "alert"
4481
- }, fo = /* @__PURE__ */ u({
4654
+ }, go = /* @__PURE__ */ u({
4482
4655
  __name: "GDateRangeInput",
4483
4656
  props: /*@__PURE__*/ m({
4484
4657
  label: { default: void 0 },
@@ -4511,17 +4684,17 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4511
4684
  errors: F(n, "errors"),
4512
4685
  formKey: n.formKey
4513
4686
  });
4514
- return G([i, u], () => {
4687
+ return W([i, u], () => {
4515
4688
  r.value = {
4516
4689
  start: i.value,
4517
4690
  end: u.value
4518
4691
  };
4519
- }), G(r, (e) => {
4692
+ }), W(r, (e) => {
4520
4693
  e.start !== i.value && (i.value = e.start), e.end !== u.value && (u.value = e.end);
4521
- }, { deep: !0 }), (t, r) => (w(), o("div", ao, [
4522
- n.label ? (w(), o("div", oo, [c(N(n.label), 1), n.required ? (w(), o("span", so, " *")) : a("", !0)])) : a("", !0),
4523
- n.instructions ? (w(), o("div", co, N(n.instructions), 1)) : a("", !0),
4524
- s("div", lo, [l(io, {
4694
+ }, { deep: !0 }), (t, r) => (w(), o("div", lo, [
4695
+ n.label ? (w(), o("div", uo, [c(N(n.label), 1), n.required ? (w(), o("span", fo, " *")) : a("", !0)])) : a("", !0),
4696
+ n.instructions ? (w(), o("div", po, N(n.instructions), 1)) : a("", !0),
4697
+ s("div", mo, [l(co, {
4525
4698
  modelValue: i.value,
4526
4699
  "onUpdate:modelValue": r[0] ||= (e) => i.value = e,
4527
4700
  label: n.startLabel,
@@ -4533,7 +4706,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4533
4706
  "label",
4534
4707
  "disabled",
4535
4708
  "required"
4536
- ]), l(io, {
4709
+ ]), l(co, {
4537
4710
  modelValue: u.value,
4538
4711
  "onUpdate:modelValue": r[1] ||= (e) => u.value = e,
4539
4712
  label: n.endLabel,
@@ -4546,13 +4719,13 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4546
4719
  "disabled",
4547
4720
  "required"
4548
4721
  ])]),
4549
- L(d).length > 0 ? (w(), o("div", uo, [(w(!0), o(e, null, O(L(d), (e, t) => (w(), o("div", {
4722
+ L(d).length > 0 ? (w(), o("div", ho, [(w(!0), o(e, null, O(L(d), (e, t) => (w(), o("div", {
4550
4723
  key: t,
4551
4724
  class: "g-date-range-input__error"
4552
4725
  }, N(e), 1))), 128))])) : a("", !0)
4553
4726
  ]));
4554
4727
  }
4555
- }), po = ["action", "method"], mo = /* @__PURE__ */ u({
4728
+ }), _o = ["action", "method"], vo = /* @__PURE__ */ u({
4556
4729
  __name: "GForm",
4557
4730
  props: /*@__PURE__*/ m({
4558
4731
  action: { default: void 0 },
@@ -4565,9 +4738,9 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4565
4738
  emits: /*@__PURE__*/ m(["submit"], ["update:modelValue"]),
4566
4739
  setup(e, { emit: t }) {
4567
4740
  let n = e, r = B(e, "modelValue"), i = t, a = p("form", null), s = a ?? (Z() ? Ae(n.formKey) : Oe());
4568
- a || T("form", s), G(() => s.values.value, (e) => {
4741
+ a || T("form", s), W(() => s.values.value, (e) => {
4569
4742
  r.value = { ...e };
4570
- }, { deep: !0 }), G(() => r.value, (e) => {
4743
+ }, { deep: !0 }), W(() => r.value, (e) => {
4571
4744
  e && Object.entries(e).forEach(([e, t]) => {
4572
4745
  let n = s.fields[e];
4573
4746
  n && n.value.value !== t && (n.value.value = t);
@@ -4592,9 +4765,9 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4592
4765
  hasErrors: L(s).hasErrors.value,
4593
4766
  values: L(s).values.value,
4594
4767
  errors: L(s).errors.value
4595
- })], 40, po));
4768
+ })], 40, _o));
4596
4769
  }
4597
- }), ho = /* @__PURE__ */ u({
4770
+ }), yo = /* @__PURE__ */ u({
4598
4771
  __name: "GSubmitButton",
4599
4772
  props: {
4600
4773
  disabled: {
@@ -4613,15 +4786,15 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4613
4786
  variant: t.variant,
4614
4787
  class: "g-submit-button"
4615
4788
  }, {
4616
- default: K(() => [ne(s("span", null, N(t.loadingText), 513), [[ee, d.value]]), ne(s("span", null, [k(e.$slots, "default", {}, () => [n[0] ||= c("Submit", -1)])], 512), [[ee, !d.value]])]),
4789
+ default: G(() => [re(s("span", null, N(t.loadingText), 513), [[te, d.value]]), re(s("span", null, [k(e.$slots, "default", {}, () => [n[0] ||= c("Submit", -1)])], 512), [[te, !d.value]])]),
4617
4790
  _: 3
4618
4791
  }, 8, ["disabled", "variant"]));
4619
4792
  }
4620
- }), go = ["for"], _o = {
4793
+ }), bo = ["for"], xo = {
4621
4794
  key: 0,
4622
4795
  class: "g-textarea-required",
4623
4796
  "aria-hidden": "true"
4624
- }, vo = ["id"], yo = [
4797
+ }, So = ["id"], Co = [
4625
4798
  "value",
4626
4799
  "placeholder",
4627
4800
  "disabled",
@@ -4630,11 +4803,11 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4630
4803
  "rows",
4631
4804
  "maxlength",
4632
4805
  "aria-invalid"
4633
- ], bo = {
4806
+ ], wo = {
4634
4807
  key: 2,
4635
4808
  class: "g-textarea-char-count",
4636
4809
  "aria-live": "polite"
4637
- }, xo = /* @__PURE__ */ u({
4810
+ }, To = /* @__PURE__ */ u({
4638
4811
  inheritAttrs: !1,
4639
4812
  __name: "GTextarea",
4640
4813
  props: /*@__PURE__*/ m({
@@ -4678,7 +4851,7 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4678
4851
  let e = x.value;
4679
4852
  e && (e.style.height = "auto", e.style.height = `${e.scrollHeight}px`);
4680
4853
  }
4681
- G(() => i.value, () => {
4854
+ W(() => i.value, () => {
4682
4855
  n.autoGrow && g(S);
4683
4856
  });
4684
4857
  function C(e) {
@@ -4708,12 +4881,12 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4708
4881
  key: 0,
4709
4882
  for: m.value,
4710
4883
  class: "g-textarea-label"
4711
- }, [c(N(n.label), 1), n.required ? (w(), o("span", _o, " *")) : a("", !0)], 8, go)) : a("", !0),
4884
+ }, [c(N(n.label), 1), n.required ? (w(), o("span", xo, " *")) : a("", !0)], 8, bo)) : a("", !0),
4712
4885
  t.$slots.instructions || e.instructions ? (w(), o("div", {
4713
4886
  key: 1,
4714
4887
  id: "instructions-" + L(u),
4715
4888
  class: "g-textarea-instructions"
4716
- }, [k(t.$slots, "instructions", {}, () => [c(N(e.instructions), 1)])], 8, vo)) : a("", !0),
4889
+ }, [k(t.$slots, "instructions", {}, () => [c(N(e.instructions), 1)])], 8, So)) : a("", !0),
4717
4890
  s("textarea", h({
4718
4891
  ref: "textareaEl",
4719
4892
  value: i.value ?? "",
@@ -4734,8 +4907,8 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4734
4907
  onInput: T,
4735
4908
  onBlur: E,
4736
4909
  onPaste: D
4737
- }), null, 16, yo),
4738
- n.maxlength === void 0 ? a("", !0) : (w(), o("div", bo, N((i.value ?? "").length) + " / " + N(n.maxlength), 1)),
4910
+ }), null, 16, Co),
4911
+ n.maxlength === void 0 ? a("", !0) : (w(), o("div", wo, N((i.value ?? "").length) + " / " + N(n.maxlength), 1)),
4739
4912
  l(Me, {
4740
4913
  errors: L(v),
4741
4914
  id: "error-message-" + L(u)
@@ -4745,24 +4918,31 @@ var fi = { class: "g-table-outer-wrap" }, pi = {
4745
4918
  });
4746
4919
  //#endregion
4747
4920
  //#region src/compose/useActiveLink.ts
4748
- function So(e, t, n) {
4921
+ function Eo(e, t, n) {
4749
4922
  let r = [
4750
4923
  0,
4751
4924
  .25,
4752
4925
  .5,
4753
4926
  .75,
4754
4927
  1
4755
- ], i = `${-t}px 0px 0px 0px`, a = /* @__PURE__ */ new Map(), o = D(Array.from(Y(e)?.children || []));
4756
- ue(e, () => {
4757
- o.value = Array.from(Y(e)?.children || []);
4758
- }, { childList: !0 });
4759
- let { stop: s } = ce(o, (e) => {
4928
+ ], i = `${-t}px 0px 0px 0px`, a = /* @__PURE__ */ new Map(), o = D(Array.from(J(e)?.children || [])), s = () => {
4929
+ let t = Array.from(J(e)?.children || []), n = new Set(t);
4930
+ for (let e of a.keys()) n.has(e) || a.delete(e);
4931
+ o.value = t;
4932
+ };
4933
+ W(() => J(e), () => {
4934
+ s();
4935
+ }, {
4936
+ immediate: !0,
4937
+ flush: "post"
4938
+ }), ue(e, s, { childList: !0 });
4939
+ let { stop: c } = le(o, (e) => {
4760
4940
  let t = o.value[o.value.length - 1];
4761
4941
  for (let n of e) a.set(n.target, n.isIntersecting ? Math.ceil(100 * n.intersectionRatio) / 100 : 0), n.target === t && n.intersectionRatio === 1 && a.set(n.target, Infinity);
4762
4942
  let r = null, i = 0;
4763
4943
  for (let e of a.keys()) {
4764
4944
  let t = a.get(e) || 0;
4765
- t <= i || (e.getBoundingClientRect(), r = e, i = t);
4945
+ t <= i || (r = e, i = t);
4766
4946
  }
4767
4947
  n.value = r instanceof HTMLElement ? r.id : "";
4768
4948
  }, {
@@ -4771,12 +4951,12 @@ function So(e, t, n) {
4771
4951
  rootMargin: i,
4772
4952
  immediate: !0
4773
4953
  });
4774
- return { stop: s };
4954
+ return { stop: c };
4775
4955
  }
4776
4956
  //#endregion
4777
4957
  //#region src/compose/useSidebar.ts
4778
- function Co(e = "(max-width: 800px)") {
4779
- let t = z(), n = D(!1), r = le(e, { ssrWidth: 1e3 });
4958
+ function Do(e = "(max-width: 800px)") {
4959
+ let t = z(), n = D(!1), r = Y(e, { ssrWidth: 1e3 });
4780
4960
  function i(e) {
4781
4961
  if (!r.value || !n.value) return;
4782
4962
  let i = e.target, a = document.getElementById(`${t}-sidebar`), o = document.getElementById(`${t}-hamburger`);
@@ -4792,7 +4972,7 @@ function Co(e = "(max-width: 800px)") {
4792
4972
  }, 5));
4793
4973
  }
4794
4974
  return S(() => {
4795
- G(r, (e) => {
4975
+ W(r, (e) => {
4796
4976
  e ? (document.addEventListener("mousedown", i), document.addEventListener("focusin", a)) : (document.removeEventListener("mousedown", i), document.removeEventListener("focusin", a));
4797
4977
  }, { immediate: !0 });
4798
4978
  }), x(() => {
@@ -4806,41 +4986,41 @@ function Co(e = "(max-width: 800px)") {
4806
4986
  }
4807
4987
  //#endregion
4808
4988
  //#region src/compose/usePaging.ts
4809
- function wo(e) {
4989
+ function Oo(e) {
4810
4990
  let t = /* @__PURE__ */ new Set();
4811
4991
  return (e ?? []).filter((e) => !e?.key || t.has(e.key) || e.order !== 1 && e.order !== -1 ? !1 : (t.add(e.key), !0));
4812
4992
  }
4813
- function To(e) {
4814
- return e == null ? [] : wo((typeof e == "string" ? e.split(",") : e).filter((e) => e !== null).map((e) => e.trim()).filter(Boolean).map((e) => ({
4993
+ function ko(e) {
4994
+ return e == null ? [] : Oo((typeof e == "string" ? e.split(",") : e).filter((e) => e !== null).map((e) => e.trim()).filter(Boolean).map((e) => ({
4815
4995
  key: e.replace(/^-/, ""),
4816
4996
  order: e.startsWith("-") ? -1 : 1
4817
4997
  })));
4818
4998
  }
4819
- function Eo(e) {
4820
- let t = wo(e);
4999
+ function Ao(e) {
5000
+ let t = Oo(e);
4821
5001
  if (t.length !== 0) return t.map(({ key: e, order: t }) => `${t === -1 ? "-" : ""}${e}`);
4822
5002
  }
4823
- function Do(e, t = []) {
4824
- let n = wo(e);
5003
+ function jo(e, t = []) {
5004
+ let n = Oo(e);
4825
5005
  if (n.length === 0) return;
4826
5006
  let r = n.map(({ key: e, order: t }) => `${t === -1 ? "-" : ""}${e}`), i = new Set(n.map(({ key: e }) => String(e))), a = n.length === 1 && n[0].order === -1 ? "-" : "";
4827
5007
  return t.forEach((e) => {
4828
5008
  i.has(e) || r.push(`${a}${e}`);
4829
5009
  }), r.join(",");
4830
5010
  }
4831
- function Oo(e) {
5011
+ function Mo(e) {
4832
5012
  return Array.isArray(e) ? [...e] : e;
4833
5013
  }
4834
- function ko(e, t) {
5014
+ function No(e, t) {
4835
5015
  return Array.isArray(e) || Array.isArray(t) ? !Array.isArray(e) || !Array.isArray(t) ? !1 : e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
4836
5016
  }
4837
- function Ao(e, t) {
5017
+ function Po(e, t) {
4838
5018
  return e.length === t.length && e.every((e, n) => {
4839
5019
  let r = t[n];
4840
5020
  return e.key === r?.key && e.order === r?.order;
4841
5021
  });
4842
5022
  }
4843
- function jo(e, t) {
5023
+ function Fo(e, t) {
4844
5024
  if (typeof e == "string") return Number(e);
4845
5025
  if (Array.isArray(e)) {
4846
5026
  let n = e.find((e) => e !== null);
@@ -4848,35 +5028,35 @@ function jo(e, t) {
4848
5028
  }
4849
5029
  return t;
4850
5030
  }
4851
- function Mo(e = {}) {
5031
+ function Io(e = {}) {
4852
5032
  let t = e.defaultPageSize ?? 50, n = e.defaultPageOffset ?? 0, i = e.sortKey ?? "sort", a = e.pageSizeKey ?? "pageSize", o = e.pageOffsetKey ?? "pageOffset", s = M([]), c = D(t), l = D(n);
4853
- return e.route && e.router && (G(() => e.route?.query[i], (e) => {
4854
- let t = To(e);
4855
- Ao(s.value, t) || (s.value = t);
4856
- }, { immediate: !0 }), G(() => e.route?.query[a], (e) => {
4857
- let n = jo(e, t);
5033
+ return e.route && e.router && (W(() => e.route?.query[i], (e) => {
5034
+ let t = ko(e);
5035
+ Po(s.value, t) || (s.value = t);
5036
+ }, { immediate: !0 }), W(() => e.route?.query[a], (e) => {
5037
+ let n = Fo(e, t);
4858
5038
  c.value !== n && (c.value = n);
4859
- }, { immediate: !0 }), G(() => e.route?.query[o], (e) => {
4860
- let t = jo(e, n);
5039
+ }, { immediate: !0 }), W(() => e.route?.query[o], (e) => {
5040
+ let t = Fo(e, n);
4861
5041
  l.value !== t && (l.value = t);
4862
- }, { immediate: !0 }), G([
5042
+ }, { immediate: !0 }), W([
4863
5043
  s,
4864
5044
  c,
4865
5045
  l
4866
5046
  ], ([r, s, c]) => {
4867
- let l = { ...e.route.query }, u = Eo(r);
4868
- u === void 0 ? delete l[i] : l[i] = Oo(u), s === t || s === void 0 ? delete l[a] : l[a] = String(s), c === n || c === void 0 ? delete l[o] : l[o] = String(c);
5047
+ let l = { ...e.route.query }, u = Ao(r);
5048
+ u === void 0 ? delete l[i] : l[i] = Mo(u), s === t || s === void 0 ? delete l[a] : l[a] = String(s), c === n || c === void 0 ? delete l[o] : l[o] = String(c);
4869
5049
  let d = /* @__PURE__ */ new Set([...Object.keys(e.route.query), ...Object.keys(l)]), f = !1;
4870
- for (let t of d) if (!ko(e.route.query[t], l[t])) {
5050
+ for (let t of d) if (!No(e.route.query[t], l[t])) {
4871
5051
  f = !0;
4872
5052
  break;
4873
5053
  }
4874
5054
  f && e.router.replace({ query: l });
4875
5055
  })), {
4876
5056
  sort: r({
4877
- get: () => wo(s.value),
5057
+ get: () => Oo(s.value),
4878
5058
  set: (e) => {
4879
- s.value = wo(e);
5059
+ s.value = Oo(e);
4880
5060
  }
4881
5061
  }),
4882
5062
  pageSize: c,
@@ -4885,8 +5065,8 @@ function Mo(e = {}) {
4885
5065
  }
4886
5066
  //#endregion
4887
5067
  //#region src/compose/useTableChanges.ts
4888
- function No() {
4889
- let e = j(/* @__PURE__ */ new Map()), t = re(), n = (n) => {
5068
+ function Lo() {
5069
+ let e = j(/* @__PURE__ */ new Map()), t = ie(), n = (n) => {
4890
5070
  let r = n.column.key, i = n.row.key, a = n.value, o = n.previousValue;
4891
5071
  e.has(i) || e.set(i, j(/* @__PURE__ */ new Map()));
4892
5072
  let s = e.get(i), c = s.get(r), l = c ? c.previousValue : o, u = c?.error;
@@ -4988,6 +5168,6 @@ function No() {
4988
5168
  };
4989
5169
  }
4990
5170
  //#endregion
4991
- export { tt as $, li as A, xn as B, Oa as C, ti as D, ri as E, br as F, un as G, gn as H, ir as I, Mt as J, nn as K, Un as L, di as M, ui as N, ci as O, jr as P, ot as Q, On as R, ka as S, ya as T, mn as U, bn as V, pn as W, xt as X, Et as Y, mt as Z, Ja as _, Eo as a, $ as at, Fa as b, So as c, De as ct, mo as d, Q as dt, et, fo as f, Ya as g, Xa as h, To as i, ze as it, ii as j, ni as k, xo as l, xe as lt, ro as m, Do as n, qe as nt, Mo as o, Ae as ot, io as p, Kt as q, wo as r, Je as rt, Co as s, Oe as st, No as t, $e as tt, ho as u, be as ut, Ua as v, Ta as w, Na as x, za as y, Cn as z };
5171
+ export { rt as $, di as A, Dn as B, Ma as C, hi as D, ci as E, dr as F, cn as G, xn as H, Xn as I, Pt as J, an as K, Fn as L, _i as M, Rr as N, li as O, Dr as P, ct as Q, An as R, Na as S, ui as T, bn as U, Cn as V, pn as W, Ct as X, Ot as Y, gt as Z, Qa as _, Ao as a, $ as at, za as b, Eo as c, De as ct, vo as d, Q as dt, nt as et, go as f, $a as g, eo as h, ko as i, ze as it, vi as j, gi as k, To as l, xe as lt, so as m, jo as n, qe as nt, Io as o, Ae as ot, co as p, Jt as q, Oo as r, Je as rt, Do as s, Oe as st, Lo as t, tt, yo as u, be as ut, qa as v, Ea as w, La as x, Ua as y, On as z };
4992
5172
 
4993
- //# sourceMappingURL=grad-vue-DSPGwyhI.js.map
5173
+ //# sourceMappingURL=grad-vue-B1qlZLc2.js.map