@illinois-grad/grad-vue 3.0.12 → 3.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
- 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, onUpdated as w, openBlock as T, provide as E, reactive as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as j, shallowReactive as M, shallowRef as N, toDisplayString as P, toRaw as F, toRef as I, toValue as L, unref as R, useAttrs as z, useId as B, useModel as V, useSlots as H, useTemplateRef as U, vModelCheckbox as W, vShow as G, watch as K, watchEffect as q, withCtx as J, withDirectives as Y, withModifiers as X } from "vue";
2
- import { createEventHook as ee, toArray as Z, tryOnScopeDispose as te, unrefElement as ne, useClipboard as re, useDebounceFn as ie, useFocusWithin as ae, useIntersectionObserver as oe, useMediaQuery as se, useMutationObserver as ce, useResizeObserver as le, useSessionStorage as ue } from "@vueuse/core";
3
- import { createFocusTrap as de } from "focus-trap";
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, onUpdated as w, openBlock as T, provide as E, reactive as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as j, shallowReactive as M, shallowRef as N, toDisplayString as P, toRaw as F, toRef as I, toValue as L, unref as R, useAttrs as z, useId as B, useModel as V, useSlots as H, useTemplateRef as U, vModelCheckbox as W, vModelText as G, vShow as ee, watch as K, watchEffect as q, withCtx as J, withDirectives as Y, withModifiers as te } from "vue";
2
+ import { createEventHook as X, toArray as ne, tryOnScopeDispose as re, unrefElement as ie, 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";
3
+ import { createFocusTrap as pe } from "focus-trap";
4
4
  //#region src/compose/useCustomElementAttrs.ts
5
- function fe() {
5
+ function Z() {
6
6
  return globalThis.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ === !0;
7
7
  }
8
- function pe(e = {}) {
8
+ function me(e = {}) {
9
9
  let t = z(), n = globalThis.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ === !0, i = e.omitInCustomElement ?? [];
10
10
  return {
11
11
  attrs: t,
@@ -20,7 +20,7 @@ function pe(e = {}) {
20
20
  }
21
21
  //#endregion
22
22
  //#region src/components/GButton.vue?vue&type=script&setup=true&lang.ts
23
- var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PURE__ */ u({
23
+ var he = { class: "g-btn--icon" }, ge = { class: "g-btn--label" }, Q = /* @__PURE__ */ u({
24
24
  inheritAttrs: !1,
25
25
  __name: "GButton",
26
26
  props: {
@@ -51,7 +51,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
51
51
  "mouseleave"
52
52
  ],
53
53
  setup(t) {
54
- let n = t, a = H(), { forwardedAttrs: c } = pe({ omitInCustomElement: ["id"] }), l = r(() => [
54
+ let n = t, a = H(), { forwardedAttrs: c } = me({ omitInCustomElement: ["id"] }), l = r(() => [
55
55
  "g-btn",
56
56
  `g-btn--${n.size}`,
57
57
  `g-btn--${n.theme}`,
@@ -79,11 +79,11 @@ 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: J(() => [t.icon || a.icon ? (T(), o(e, { key: 0 }, [s("span", me, [a.icon ? A(r.$slots, "icon", { key: 0 }) : (T(), o("span", {
82
+ default: J(() => [t.icon || a.icon ? (T(), o(e, { key: 0 }, [s("span", he, [a.icon ? A(r.$slots, "icon", { key: 0 }) : (T(), o("span", {
83
83
  key: 1,
84
84
  class: _(t.icon + " g-btn--icon-span"),
85
85
  "aria-hidden": "true"
86
- }, null, 2))]), s("span", he, [A(r.$slots, "default")])], 64)) : A(r.$slots, "default", { key: 1 })]),
86
+ }, null, 2))]), s("span", ge, [A(r.$slots, "default")])], 64)) : A(r.$slots, "default", { key: 1 })]),
87
87
  _: 3
88
88
  }, 16, [
89
89
  "to",
@@ -91,13 +91,13 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
91
91
  "type"
92
92
  ]));
93
93
  }
94
- }), ge = { class: "g-tree-menu__divider" }, _e = {
94
+ }), _e = { class: "g-tree-menu__divider" }, ve = {
95
95
  key: 0,
96
96
  class: "g-tree-menu__divider-line"
97
- }, ve = {
97
+ }, ye = {
98
98
  key: 1,
99
99
  class: "g-tree-menu__expand-all-wrapper"
100
- }, ye = { class: "g-tree-menu__content" }, be = /* @__PURE__ */ u({
100
+ }, be = { class: "g-tree-menu__content" }, xe = /* @__PURE__ */ u({
101
101
  __name: "GTreeMenu",
102
102
  props: {
103
103
  heading: {},
@@ -116,7 +116,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
116
116
  },
117
117
  setup(e) {
118
118
  let t = e, n = B();
119
- E("g-tree-menu-list-type", t.listType), E("g-tree-menu-expanded-storage", t.storageKey ? ue(t.storageKey, {}) : null);
119
+ E("g-tree-menu-list-type", t.listType), E("g-tree-menu-expanded-storage", t.storageKey ? fe(t.storageKey, {}) : null);
120
120
  let l = D(/* @__PURE__ */ new Map());
121
121
  E("g-tree-menu-expandable-items", l);
122
122
  let u = O({
@@ -130,8 +130,9 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
130
130
  return !0;
131
131
  });
132
132
  function f() {
133
+ let e = !d.value;
133
134
  u.value = {
134
- expanded: !d.value,
135
+ expanded: e,
135
136
  version: u.value.version + 1
136
137
  };
137
138
  }
@@ -207,7 +208,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
207
208
  default: J(() => [c(P(e.heading), 1)]),
208
209
  _: 1
209
210
  }, 8, ["id"])) : a("", !0),
210
- s("div", ge, [e.smallHeading ? a("", !0) : (T(), o("div", _e)), e.showExpandAll ? (T(), o("div", ve, [s("button", {
211
+ s("div", _e, [e.smallHeading ? a("", !0) : (T(), o("div", ve)), e.showExpandAll ? (T(), o("div", ye, [s("button", {
211
212
  class: "g-tree-menu__expand-all-btn",
212
213
  onClick: f
213
214
  }, [(T(), o("svg", {
@@ -220,14 +221,14 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
220
221
  "stroke-linecap": "round",
221
222
  "stroke-linejoin": "round"
222
223
  }, [...l[0] ||= [s("polyline", { points: "7 8 12 13 17 8" }, null, -1), s("polyline", { points: "7 13 12 18 17 13" }, null, -1)]], 2)), c(" " + P(d.value ? "Collapse all" : "Expand all"), 1)])])) : a("", !0)]),
223
- s("div", ye, [A(r.$slots, "default")])
224
+ s("div", be, [A(r.$slots, "default")])
224
225
  ], 16));
225
226
  }
226
- }), xe = /* @__PURE__ */ u({
227
+ }), Se = /* @__PURE__ */ u({
227
228
  name: "GTreeMenuList",
228
229
  props: { listType: { default: void 0 } },
229
230
  setup(e) {
230
- let t = e, n = p("g-tree-menu-list-type", "ul"), a = r(() => t.listType ?? n ?? "ul"), o = fe(), s = d();
231
+ let t = e, n = p("g-tree-menu-list-type", "ul"), a = r(() => t.listType ?? n ?? "ul"), o = Z(), s = d();
231
232
  return S(() => {
232
233
  if (!o) return;
233
234
  let e = s?.ce;
@@ -240,13 +241,13 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
240
241
  _: 3
241
242
  }, 8, ["role"]));
242
243
  }
243
- }), Se = {
244
+ }), Ce = {
244
245
  key: 0,
245
246
  class: "g-tree-menu__row"
246
- }, Ce = { class: "g-tree-menu__row-content-text" }, we = {
247
+ }, we = { class: "g-tree-menu__row-content-text" }, Te = {
247
248
  key: 1,
248
249
  class: "g-tree-menu__row g-tree-menu__row--leaf"
249
- }, Te = /* @__PURE__ */ u({
250
+ }, Ee = /* @__PURE__ */ u({
250
251
  name: "GTreeMenuItem",
251
252
  inheritAttrs: !1,
252
253
  props: {
@@ -304,21 +305,21 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
304
305
  function V(e) {
305
306
  (e.key === "Enter" || e.key === " ") && (D(), e.preventDefault());
306
307
  }
307
- let U = fe(), W = u?.ce;
308
+ let U = Z(), W = u?.ce;
308
309
  S(() => {
309
310
  U && W && W.setAttribute("role", "listitem");
310
311
  });
311
- let G = z(), q = r(() => {
312
+ let G = z(), ee = r(() => {
312
313
  if (!U) return G;
313
314
  let { role: e, ...t } = G;
314
315
  return t;
315
316
  });
316
- return (e, t) => (T(), i(j(R(U) ? "div" : "li"), h(q.value, {
317
+ return (e, t) => (T(), i(j(R(U) ? "div" : "li"), h(ee.value, {
317
318
  role: R(U) ? "presentation" : void 0,
318
319
  class: "g-tree-menu__item",
319
320
  "data-tree-expandable": g.value ? "true" : void 0
320
321
  }), {
321
- default: J(() => [g.value ? (T(), o("div", Se, [s("div", {
322
+ default: J(() => [g.value ? (T(), o("div", Ce, [s("div", {
322
323
  class: "g-tree-menu__toggle-btn",
323
324
  onClick: D
324
325
  }, [(T(), o("svg", {
@@ -337,12 +338,12 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
337
338
  "data-tree-primary": "",
338
339
  onClick: L,
339
340
  onKeydown: V
340
- }, [s("span", Ce, [A(e.$slots, "default")])], 544)])) : (T(), o("div", we, [t[1] ||= s("span", { class: "g-tree-menu__spacer" }, null, -1), s("span", {
341
+ }, [s("span", we, [A(e.$slots, "default")])], 544)])) : (T(), o("div", Te, [t[1] ||= s("span", { class: "g-tree-menu__spacer" }, null, -1), s("span", {
341
342
  class: "g-tree-menu__row-content",
342
343
  ref_key: "contentRef",
343
344
  ref: C,
344
345
  "data-tree-primary": ""
345
- }, [A(e.$slots, "default")], 512)])), g.value && b.value ? (T(), i(xe, {
346
+ }, [A(e.$slots, "default")], 512)])), g.value && b.value ? (T(), i(Se, {
346
347
  key: 2,
347
348
  id: R(f) + "-children"
348
349
  }, {
@@ -355,7 +356,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
355
356
  });
356
357
  //#endregion
357
358
  //#region src/compose/useForm.ts
358
- function Ee() {
359
+ function De() {
359
360
  let e = M({}), t = O(!1), n = r(() => {
360
361
  let t = {};
361
362
  return Object.entries(e).forEach(([e, n]) => {
@@ -397,18 +398,18 @@ function Ee() {
397
398
  }
398
399
  //#endregion
399
400
  //#region src/compose/useWebComponentForm.ts
400
- function De() {
401
+ function Oe() {
401
402
  let e = globalThis;
402
403
  return e.__GRAD_VUE_WC_FORMS__ ||= /* @__PURE__ */ new Map(), e.__GRAD_VUE_WC_FORMS__;
403
404
  }
404
- function Oe(e = "default") {
405
- let t = De(), n = e || "default";
406
- return t.has(n) || t.set(n, Ee()), t.get(n);
405
+ function ke(e = "default") {
406
+ let t = Oe(), n = e || "default";
407
+ return t.has(n) || t.set(n, De()), t.get(n);
407
408
  }
408
409
  //#endregion
409
410
  //#region src/compose/useFormField.ts
410
411
  function $(e) {
411
- let t = z(), n = typeof t["form-key"] == "string" ? t["form-key"] : void 0, i = e.formKey ?? n ?? "default", a = p("form", null) ?? (fe() ? Oe(i) : null), o = r(() => {
412
+ let t = z(), n = typeof t["form-key"] == "string" ? t["form-key"] : void 0, i = e.formKey ?? n ?? "default", a = p("form", null) ?? (Z() ? ke(i) : null), o = r(() => {
412
413
  let t = [];
413
414
  return e.errors && t.push(...e.errors.value.filter(Boolean)), t;
414
415
  }), s = r(() => o.value.length > 0), c = e.name;
@@ -427,7 +428,7 @@ function $(e) {
427
428
  }
428
429
  //#endregion
429
430
  //#region src/components/form/GFormErrorMessages.vue?vue&type=script&setup=true&lang.ts
430
- var ke = ["id"], Ae = /* @__PURE__ */ u({
431
+ var Ae = ["id"], je = /* @__PURE__ */ u({
431
432
  __name: "GFormErrorMessages",
432
433
  props: {
433
434
  errors: {},
@@ -450,25 +451,25 @@ var ke = ["id"], Ae = /* @__PURE__ */ u({
450
451
  }, [s("path", {
451
452
  fill: "currentColor",
452
453
  d: "M320 64C334.7 64 348.2 72.1 355.2 85L571.2 485C577.9 497.4 577.6 512.4 570.4 524.5C563.2 536.6 550.1 544 536 544L104 544C89.9 544 76.8 536.6 69.6 524.5C62.4 512.4 62.1 497.4 68.8 485L284.8 85C291.8 72.1 305.3 64 320 64zM320 416C302.3 416 288 430.3 288 448C288 465.7 302.3 480 320 480C337.7 480 352 465.7 352 448C352 430.3 337.7 416 320 416zM320 224C301.8 224 287.3 239.5 288.6 257.7L296 361.7C296.9 374.2 307.4 384 319.9 384C332.5 384 342.9 374.3 343.8 361.7L351.2 257.7C352.5 239.5 338.1 224 319.8 224z"
453
- })], -1), c(" " + P(e), 1)]))), 128))], 8, ke)) : a("", !0);
454
+ })], -1), c(" " + P(e), 1)]))), 128))], 8, Ae)) : a("", !0);
454
455
  }
455
- }), je = ["for"], Me = {
456
+ }), Me = ["for"], Ne = {
456
457
  key: 0,
457
458
  class: "g-text-input-required",
458
459
  "aria-hidden": "true"
459
- }, Ne = ["id"], Pe = {
460
+ }, Pe = ["id"], Fe = {
460
461
  key: 0,
461
462
  class: "g-text-input-prefix"
462
- }, Fe = [
463
+ }, Ie = [
463
464
  "value",
464
465
  "placeholder",
465
466
  "disabled",
466
467
  "required",
467
468
  "aria-invalid"
468
- ], Ie = {
469
+ ], Le = {
469
470
  key: 1,
470
471
  class: "g-text-input-suffix"
471
- }, Le = /* @__PURE__ */ u({
472
+ }, Re = /* @__PURE__ */ u({
472
473
  inheritAttrs: !1,
473
474
  __name: "GTextInput",
474
475
  props: /*@__PURE__*/ m({
@@ -495,7 +496,7 @@ var ke = ["id"], Ae = /* @__PURE__ */ u({
495
496
  }),
496
497
  emits: /*@__PURE__*/ m(["change"], ["update:modelValue"]),
497
498
  setup(e, { emit: t }) {
498
- let n = e, i = V(e, "modelValue"), u = B(), { attrs: d, isCustomElement: f, forwardedAttrs: p } = pe({ omitInCustomElement: ["id"] }), m = r(() => f ? u : d.id || u), { displayErrors: g, hasErrors: v } = $({
499
+ let n = e, i = V(e, "modelValue"), u = B(), { attrs: d, isCustomElement: f, forwardedAttrs: p } = me({ omitInCustomElement: ["id"] }), m = r(() => f ? u : d.id || u), { displayErrors: g, hasErrors: v } = $({
499
500
  name: n.name,
500
501
  value: i,
501
502
  errors: I(n, "errors"),
@@ -511,7 +512,8 @@ var ke = ["id"], Ae = /* @__PURE__ */ u({
511
512
  }
512
513
  }
513
514
  function C(e) {
514
- b.value = e.target.value, x && clearTimeout(x), x = setTimeout(() => {
515
+ let t = e.target.value;
516
+ b.value = t, x && clearTimeout(x), x = setTimeout(() => {
515
517
  S(b.value), x = null;
516
518
  }, n.debounce);
517
519
  }
@@ -532,14 +534,14 @@ var ke = ["id"], Ae = /* @__PURE__ */ u({
532
534
  key: 0,
533
535
  for: m.value,
534
536
  class: "g-text-input-label"
535
- }, [c(P(n.label), 1), n.required ? (T(), o("span", Me, " *")) : a("", !0)], 8, je)) : a("", !0),
537
+ }, [c(P(n.label), 1), n.required ? (T(), o("span", Ne, " *")) : a("", !0)], 8, Me)) : a("", !0),
536
538
  t.$slots.instructions || e.instructions ? (T(), o("div", {
537
539
  key: 1,
538
540
  id: "instructions-" + R(u),
539
541
  class: "g-text-input-instructions"
540
- }, [A(t.$slots, "instructions", {}, () => [c(P(e.instructions), 1)])], 8, Ne)) : a("", !0),
542
+ }, [A(t.$slots, "instructions", {}, () => [c(P(e.instructions), 1)])], 8, Pe)) : a("", !0),
541
543
  s("div", { class: _([{ "g-text-input-field-wrapper": !0 }, `g-text-input-field-wrapper--${e.name || "nameless"}`]) }, [
542
- n.prefix ? (T(), o("span", Pe, P(n.prefix), 1)) : a("", !0),
544
+ n.prefix ? (T(), o("span", Fe, P(n.prefix), 1)) : a("", !0),
543
545
  s("input", h({
544
546
  value: i.value,
545
547
  placeholder: n.placeholder,
@@ -556,37 +558,37 @@ var ke = ["id"], Ae = /* @__PURE__ */ u({
556
558
  id: m.value,
557
559
  "aria-describedby": t.$slots.instructions || e.instructions ? "instructions-" + R(u) : void 0,
558
560
  "aria-errormessage": R(v) ? "error-message-" + R(u) : void 0
559
- }, { "aria-invalid": R(v) ? "true" : "false" }), null, 16, Fe),
560
- n.suffix ? (T(), o("span", Ie, P(n.suffix), 1)) : a("", !0)
561
+ }, { "aria-invalid": R(v) ? "true" : "false" }), null, 16, Ie),
562
+ n.suffix ? (T(), o("span", Le, P(n.suffix), 1)) : a("", !0)
561
563
  ], 2),
562
- l(Ae, {
564
+ l(je, {
563
565
  errors: R(g),
564
566
  id: "error-message-" + R(u)
565
567
  }, null, 8, ["errors", "id"])
566
568
  ], 2));
567
569
  }
568
- }), Re = 100, ze = 200, Be = 102, Ve = O([]), He = O([]), Ue = O([]);
569
- function We() {
570
- if (!(typeof document > "u")) if (Ue.value.length > 0) {
570
+ }), ze = 100, Be = 200, Ve = 102, He = O([]), Ue = O([]), We = O([]);
571
+ function Ge() {
572
+ if (!(typeof document > "u")) if (We.value.length > 0) {
571
573
  let e = window.innerWidth - document.documentElement.clientWidth;
572
574
  document.body.classList.add("g-scroll-lock"), document.body.style.paddingRight = `${e}px`, document.body.style.setProperty("--g-scrollbar-width", `${e}px`);
573
575
  } else document.body.style.paddingRight = "0", document.body.classList.remove("g-scroll-lock"), document.body.style.removeProperty("--g-scrollbar-width");
574
576
  }
575
- function Ge(e, t = !1, n = !1) {
577
+ function Ke(e, t = !1, n = !1) {
576
578
  if (typeof document > "u") return {};
577
- let i = t ? He : Ve;
579
+ let i = t ? Ue : He;
578
580
  function a() {
579
- i.value.push(e), n && !Ue.value.includes(e) && (Ue.value.push(e), We());
581
+ i.value.push(e), n && !We.value.includes(e) && (We.value.push(e), Ge());
580
582
  }
581
583
  function o() {
582
584
  let t = i.value.lastIndexOf(e);
583
585
  t !== -1 && i.value.splice(t, 1);
584
- let n = Ue.value.lastIndexOf(e);
585
- n !== -1 && (Ue.value.splice(n, 1), We());
586
+ let n = We.value.lastIndexOf(e);
587
+ n !== -1 && (We.value.splice(n, 1), Ge());
586
588
  }
587
- let s = r(() => !t && He.value.length > 0 ? !1 : i.value.length > 0 && i.value[i.value.length - 1] === e), c = r(() => {
589
+ let s = r(() => !t && Ue.value.length > 0 ? !1 : i.value.length > 0 && i.value[i.value.length - 1] === e), c = r(() => {
588
590
  let n = i.value.indexOf(e);
589
- return n === -1 ? 0 : (t ? ze : Re) + n;
591
+ return n === -1 ? 0 : (t ? Be : ze) + n;
590
592
  });
591
593
  return x(o), {
592
594
  push: a,
@@ -595,32 +597,32 @@ function Ge(e, t = !1, n = !1) {
595
597
  zIndex: c
596
598
  };
597
599
  }
598
- function Ke() {
600
+ function qe() {
599
601
  return typeof document > "u" ? {} : {
600
- hasModal: r(() => He.value.length > 0),
601
- hasOverlay: r(() => Ve.value.length > 0 || He.value.length > 0),
602
- hasScrollLock: r(() => Ue.value.length > 0)
602
+ hasModal: r(() => Ue.value.length > 0),
603
+ hasOverlay: r(() => He.value.length > 0 || Ue.value.length > 0),
604
+ hasScrollLock: r(() => We.value.length > 0)
603
605
  };
604
606
  }
605
- function qe() {
607
+ function Je() {
606
608
  let e = 0;
607
- return Ve.value.forEach((t, n) => {
608
- e = Math.max(e, Re + n);
609
- }), He.value.forEach((t, n) => {
609
+ return He.value.forEach((t, n) => {
610
610
  e = Math.max(e, ze + n);
611
- }), e > 0 ? e + 1 : Be;
611
+ }), Ue.value.forEach((t, n) => {
612
+ e = Math.max(e, Be + n);
613
+ }), e > 0 ? e + 1 : Ve;
612
614
  }
613
615
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
614
- var Je = (e) => e != null;
616
+ var Ye = (e) => e != null;
615
617
  //#endregion
616
618
  //#region ../../node_modules/@vueuse/integrations/dist/useFocusTrap-lXZ_YG-8.js
617
- function Ye(e, t = {}) {
619
+ function Xe(e, t = {}) {
618
620
  let n, { immediate: i, ...a } = t, o = N(!1), s = N(!1), c = (e) => n && n.activate(e), l = (e) => n && n.deactivate(e);
619
- return K(r(() => Z(L(e)).map((e) => {
621
+ return K(r(() => ne(L(e)).map((e) => {
620
622
  let t = L(e);
621
- return typeof t == "string" ? t : ne(t);
622
- }).filter(Je)), (e) => {
623
- if (e.length) if (!n) n = de(e, {
623
+ return typeof t == "string" ? t : ie(t);
624
+ }).filter(Ye)), (e) => {
625
+ if (e.length) if (!n) n = pe(e, {
624
626
  ...a,
625
627
  onActivate() {
626
628
  o.value = !0, t.onActivate && t.onActivate();
@@ -633,7 +635,7 @@ function Ye(e, t = {}) {
633
635
  let t = n?.active;
634
636
  n?.updateContainerElements(e), !t && i && c();
635
637
  }
636
- }, { flush: "post" }), te(() => l()), {
638
+ }, { flush: "post" }), re(() => l()), {
637
639
  hasFocus: o,
638
640
  isPaused: s,
639
641
  activate: c,
@@ -648,7 +650,7 @@ function Ye(e, t = {}) {
648
650
  }
649
651
  //#endregion
650
652
  //#region src/compose/useOverlayFocus.ts
651
- var Xe = [
653
+ var Ze = [
652
654
  "a[href]",
653
655
  "button:not([disabled])",
654
656
  "input:not([disabled])",
@@ -657,8 +659,8 @@ var Xe = [
657
659
  "[tabindex]:not([tabindex='-1'])",
658
660
  "[contenteditable='true']"
659
661
  ].join(",");
660
- function Ze(e, t, n = !1) {
661
- let r = O(!1), i = () => !!e.value?.querySelector(Xe), { activate: a, deactivate: o, pause: s, unpause: c } = Ye(e, {
662
+ function Qe(e, t, n = !1) {
663
+ let r = O(!1), i = () => !!e.value?.querySelector(Ze), { activate: a, deactivate: o, pause: s, unpause: c } = Xe(e, {
662
664
  immediate: !1,
663
665
  clickOutsideDeactivates: n,
664
666
  initialFocus: () => {
@@ -702,7 +704,7 @@ function Ze(e, t, n = !1) {
702
704
  }
703
705
  //#endregion
704
706
  //#region src/compose/useOverlayEscape.ts
705
- function Qe(e, t, n, r, i) {
707
+ function $e(e, t, n, r, i) {
706
708
  function a(i) {
707
709
  if (!(!n.value || !t.value)) {
708
710
  for (let t of e) if (t.value?.contains(i.target)) return;
@@ -722,7 +724,7 @@ function Qe(e, t, n, r, i) {
722
724
  }
723
725
  //#endregion
724
726
  //#region src/compose/popoverPosition.ts
725
- function $e(e, t, n, r) {
727
+ function et(e, t, n, r) {
726
728
  let i = r?.gap ?? 8, a = r?.margin ?? 16, o = r?.preferAbove ?? !1, s = !1, c = !1, l;
727
729
  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;
728
730
  let u = e.left + (e.width - t.width) / 2;
@@ -738,15 +740,15 @@ function $e(e, t, n, r) {
738
740
  }
739
741
  //#endregion
740
742
  //#region src/components/GClientOnly.vue
741
- var et = /* @__PURE__ */ u({
743
+ var tt = /* @__PURE__ */ u({
742
744
  __name: "GClientOnly",
743
745
  setup(e) {
744
- let t = O(fe());
746
+ let t = O(Z());
745
747
  return S(() => {
746
748
  t.value = !0;
747
749
  }), (e, n) => t.value ? A(e.$slots, "default", { key: 0 }) : A(e.$slots, "fallback", { key: 1 });
748
750
  }
749
- }), tt = { class: "g-popover-wrap" }, nt = ["id"], rt = ["aria-labelledby", "aria-label"], it = /* @__PURE__ */ u({
751
+ }), nt = { class: "g-popover-wrap" }, rt = ["id"], it = ["aria-labelledby", "aria-label"], at = /* @__PURE__ */ u({
750
752
  __name: "GPopover",
751
753
  props: {
752
754
  minimal: {
@@ -768,8 +770,8 @@ var et = /* @__PURE__ */ u({
768
770
  K(I(d, "modelValue"), (e) => {
769
771
  p.value = e;
770
772
  });
771
- let m = H(), h = r(() => !!m.trigger), v = U("triggerRef"), b = U("popoverRef"), { isCustomElement: S } = pe(), C = S, w = B(), { push: E, pop: D, isTop: k, zIndex: j } = Ge(w, !0), { activate: M, deactivate: N } = Ze(b, k, !0);
772
- Qe([b, v], k, p, F, D), K(p, (e) => {
773
+ let m = H(), h = r(() => !!m.trigger), v = U("triggerRef"), b = U("popoverRef"), { isCustomElement: S } = me(), C = S, w = B(), { push: E, pop: D, isTop: k, zIndex: j } = Ke(w, !0), { activate: M, deactivate: N } = Qe(b, k, !0);
774
+ $e([b, v], k, p, F, D), K(p, (e) => {
773
775
  e ? (g(() => {
774
776
  g(() => M());
775
777
  }), E(), f("show")) : (N(), D(), f("hide"));
@@ -786,25 +788,25 @@ var et = /* @__PURE__ */ u({
786
788
  let z = O({
787
789
  top: 0,
788
790
  left: 0
789
- }), V = O({ left: "50%" }), W = O(!1), q = O(!1), X = null;
790
- function ee() {
791
+ }), V = O({ left: "50%" }), W = O(!1), G = O(!1), q = null;
792
+ function te() {
791
793
  if (v.value) return v.value;
792
794
  let e = b.value?.parentElement ?? null;
793
795
  for (; e && e.tagName.toLowerCase() !== "g-popover";) e = e.parentElement;
794
796
  let t = e?.previousElementSibling;
795
797
  return t instanceof HTMLElement ? t : null;
796
798
  }
797
- function Z() {
799
+ function X() {
798
800
  if (!b.value) return;
799
- let e = new DOMRect(0, 0, b.value.offsetWidth, b.value.offsetHeight), t = new DOMRect(0, 0, window.innerWidth, window.innerHeight), n = ee();
801
+ let e = new DOMRect(0, 0, b.value.offsetWidth, b.value.offsetHeight), t = new DOMRect(0, 0, window.innerWidth, window.innerHeight), n = te();
800
802
  if (!n) {
801
803
  z.value = {
802
804
  top: Math.max((t.height - e.height) / 2, 8),
803
805
  left: Math.max((t.width - e.width) / 2, 8)
804
- }, q.value = !1, W.value = !1, V.value = { left: "50%" };
806
+ }, G.value = !1, W.value = !1, V.value = { left: "50%" };
805
807
  return;
806
808
  }
807
- let { top: r, left: i, xOffset: a, placedAbove: o, overlay: s } = $e(n.getBoundingClientRect(), e, t, { gap: d.minimal ? 0 : 8 });
809
+ let { top: r, left: i, xOffset: a, placedAbove: o, overlay: s } = et(n.getBoundingClientRect(), e, t, { gap: d.minimal ? 0 : 8 });
808
810
  z.value = {
809
811
  top: r,
810
812
  left: i
@@ -812,25 +814,25 @@ var et = /* @__PURE__ */ u({
812
814
  left: `${e.width / 2 - a}px`,
813
815
  top: o ? "auto" : void 0,
814
816
  bottom: o ? "-8px" : void 0
815
- }, W.value = o, q.value = s;
817
+ }, W.value = o, G.value = s;
816
818
  }
817
819
  return K(p, (e) => {
818
820
  e ? g(() => {
819
- Z(), window.addEventListener("resize", Z), window.addEventListener("scroll", Z, { capture: !0 }), b.value && (X && X.disconnect(), X = new ResizeObserver(() => Z()), X.observe(b.value));
820
- }) : (window.removeEventListener("resize", Z), window.removeEventListener("scroll", Z, { capture: !0 }), X && X.disconnect());
821
+ X(), window.addEventListener("resize", X), window.addEventListener("scroll", X, { capture: !0 }), b.value && (q && q.disconnect(), q = new ResizeObserver(() => X()), q.observe(b.value));
822
+ }) : (window.removeEventListener("resize", X), window.removeEventListener("scroll", X, { capture: !0 }), q && q.disconnect());
821
823
  }), x(() => {
822
- window.removeEventListener("resize", Z), window.removeEventListener("scroll", Z, { capture: !0 }), X && X.disconnect();
824
+ window.removeEventListener("resize", X), window.removeEventListener("scroll", X, { capture: !0 }), q && q.disconnect();
823
825
  }), c({
824
826
  show: P,
825
827
  hide: F,
826
828
  toggle: L
827
- }), (r, c) => (T(), o("div", tt, [h.value ? (T(), o("div", {
829
+ }), (r, c) => (T(), o("div", nt, [h.value ? (T(), o("div", {
828
830
  key: 0,
829
831
  ref_key: "triggerRef",
830
832
  ref: v,
831
833
  class: "g-popover-trigger",
832
834
  id: `${R(w)}-trigger`
833
- }, [A(r.$slots, "trigger", { toggle: L })], 8, nt)) : a("", !0), l(et, null, {
835
+ }, [A(r.$slots, "trigger", { toggle: L })], 8, rt)) : a("", !0), l(tt, null, {
834
836
  default: J(() => [(T(), i(t, {
835
837
  to: "#modal-root",
836
838
  disabled: R(C)
@@ -858,7 +860,7 @@ var et = /* @__PURE__ */ u({
858
860
  zIndex: R(j)
859
861
  })
860
862
  }, [
861
- !q.value && !e.minimal ? (T(), o("div", {
863
+ !G.value && !e.minimal ? (T(), o("div", {
862
864
  key: 0,
863
865
  class: _(["g-popover-arrow", { "g-popover-arrow-above": W.value }]),
864
866
  style: y(V.value),
@@ -880,43 +882,43 @@ var et = /* @__PURE__ */ u({
880
882
  fill: "currentColor",
881
883
  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"
882
884
  })], -1)]]))
883
- ], 14, rt)), [[G, p.value]]) : a("", !0)]),
885
+ ], 14, it)), [[ee, p.value]]) : a("", !0)]),
884
886
  _: 3
885
887
  })], 8, ["disabled"]))]),
886
888
  _: 3
887
889
  })]));
888
890
  }
889
- }), at = 1;
890
- function ot(e = "v-gtooltip") {
891
- return `${e}-${++at}`;
891
+ }), ot = 1;
892
+ function st(e = "v-gtooltip") {
893
+ return `${e}-${++ot}`;
892
894
  }
893
- function st(e, t = "v-gtooltip") {
895
+ function ct(e, t = "v-gtooltip") {
894
896
  let n = e.getAttribute("aria-describedby");
895
897
  if (n) return n;
896
- let r = ot(t);
898
+ let r = st(t);
897
899
  return e.setAttribute("aria-describedby", r), r;
898
900
  }
899
- function ct(e, t) {
901
+ function lt(e, t) {
900
902
  let n = document.createElement("div");
901
903
  return n.className = "v-gtooltip", n.textContent = e, n.setAttribute("role", "tooltip"), n.setAttribute("id", t), n;
902
904
  }
903
- function lt(e) {
905
+ function ut(e) {
904
906
  (document.getElementById("modal-root") ?? document.body).appendChild(e);
905
907
  }
906
- function ut(e, t) {
907
- let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), { top: i, left: a, placedAbove: o } = $e(n, r, new DOMRect(0, 0, window.innerWidth, window.innerHeight), {
908
+ function dt(e, t) {
909
+ let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), { top: i, left: a, placedAbove: o } = et(n, r, new DOMRect(0, 0, window.innerWidth, window.innerHeight), {
908
910
  gap: 8,
909
911
  margin: 8,
910
912
  preferAbove: !0
911
913
  }), s = (n.left + n.width / 2 - a) / r.width * 100;
912
- 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 = `${qe()}`, t.style.visibility = "visible", t.style.opacity = "1";
914
+ 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 = `${Je()}`, t.style.visibility = "visible", t.style.opacity = "1";
913
915
  }
914
- function dt(e) {
916
+ function ft(e) {
915
917
  e.style.opacity = "0", e.style.visibility = "hidden";
916
918
  }
917
919
  //#endregion
918
920
  //#region src/components/GTooltip.vue
919
- var ft = /* @__PURE__ */ u({
921
+ var pt = /* @__PURE__ */ u({
920
922
  __name: "GTooltip",
921
923
  props: { text: {} },
922
924
  emits: ["tooltip-hide"],
@@ -931,12 +933,12 @@ var ft = /* @__PURE__ */ u({
931
933
  return t instanceof HTMLElement ? t : null;
932
934
  }
933
935
  function S() {
934
- y && (v || (v = l.value ? ot("g-tooltip") : st(y, "g-tooltip"), l.value && y.setAttribute("aria-describedby", v)), f.value || (f.value = ct(i.text, v), lt(f.value), h = new ResizeObserver(() => {
935
- f.value && (p.value || m.value) && y && ut(y, f.value);
936
+ y && (v || (v = l.value ? st("g-tooltip") : ct(y, "g-tooltip"), l.value && y.setAttribute("aria-describedby", v)), f.value || (f.value = lt(i.text, v), ut(f.value), h = new ResizeObserver(() => {
937
+ f.value && (p.value || m.value) && y && dt(y, f.value);
936
938
  }), h.observe(f.value)));
937
939
  }
938
940
  function C() {
939
- f.value && (p.value || m.value) && y && ut(y, f.value);
941
+ f.value && (p.value || m.value) && y && dt(y, f.value);
940
942
  }
941
943
  function w() {
942
944
  p.value = !0;
@@ -982,10 +984,10 @@ var ft = /* @__PURE__ */ u({
982
984
  f.value && (f.value.textContent = e);
983
985
  }), K(() => p.value || m.value, (e) => {
984
986
  if (e) {
985
- S(), f.value && y && ut(y, f.value), g ||= (window.addEventListener("scroll", C, { capture: !0 }), !0);
987
+ S(), f.value && y && dt(y, f.value), g ||= (window.addEventListener("scroll", C, { capture: !0 }), !0);
986
988
  return;
987
989
  }
988
- g &&= (window.removeEventListener("scroll", C, { capture: !0 }), !1), f.value && (dt(f.value), _ && clearTimeout(_), _ = window.setTimeout(() => {
990
+ g &&= (window.removeEventListener("scroll", C, { capture: !0 }), !1), f.value && (ft(f.value), _ && clearTimeout(_), _ = window.setTimeout(() => {
989
991
  s("tooltip-hide");
990
992
  }, 150));
991
993
  }), x(() => {
@@ -1005,11 +1007,11 @@ var ft = /* @__PURE__ */ u({
1005
1007
  class: "g-tooltip-trigger"
1006
1008
  }, [A(e.$slots, "trigger")], 512)) : a("", !0)], 512));
1007
1009
  }
1008
- }), pt = ["disabled"], mt = { class: "g-select-btn-legend" }, ht = {
1010
+ }), mt = ["disabled"], ht = { class: "g-select-btn-legend" }, gt = {
1009
1011
  key: 0,
1010
1012
  class: "g-select-btn-required",
1011
1013
  "aria-hidden": "true"
1012
- }, gt = { class: "g-select-btn-row" }, _t = [
1014
+ }, _t = { class: "g-select-btn-row" }, vt = [
1013
1015
  "id",
1014
1016
  "name",
1015
1017
  "value",
@@ -1017,7 +1019,7 @@ var ft = /* @__PURE__ */ u({
1017
1019
  "disabled",
1018
1020
  "required",
1019
1021
  "onChange"
1020
- ], vt = ["for"], yt = /* @__PURE__ */ u({
1022
+ ], yt = ["for"], bt = /* @__PURE__ */ u({
1021
1023
  __name: "GSelectButton",
1022
1024
  props: /*@__PURE__*/ m({
1023
1025
  options: {},
@@ -1059,7 +1061,7 @@ var ft = /* @__PURE__ */ u({
1059
1061
  return (t, n) => (T(), o("fieldset", {
1060
1062
  class: _(g.value),
1061
1063
  disabled: i.disabled
1062
- }, [s("legend", mt, [c(P(i.label), 1), i.required ? (T(), o("span", ht, " *")) : a("", !0)]), s("div", { class: _(["g-select-btn-wrapper", { "g-select-btn-has-error": R(m) }]) }, [s("div", gt, [(T(!0), o(e, null, k(h.value, (t, n) => (T(), o(e, { key: t.value }, [s("input", {
1064
+ }, [s("legend", ht, [c(P(i.label), 1), i.required ? (T(), o("span", gt, " *")) : a("", !0)]), s("div", { class: _(["g-select-btn-wrapper", { "g-select-btn-has-error": R(m) }]) }, [s("div", _t, [(T(!0), o(e, null, k(h.value, (t, n) => (T(), o(e, { key: t.value }, [s("input", {
1063
1065
  class: "g-select-btn-radio",
1064
1066
  type: "radio",
1065
1067
  id: `${R(f)}-${t.value}`,
@@ -1069,29 +1071,29 @@ var ft = /* @__PURE__ */ u({
1069
1071
  disabled: i.disabled,
1070
1072
  required: i.required && n === 0,
1071
1073
  onChange: (e) => y(t.value)
1072
- }, null, 40, _t), s("label", {
1074
+ }, null, 40, vt), s("label", {
1073
1075
  for: `${R(f)}-${t.value}`,
1074
1076
  class: _(v(t.value === d.value))
1075
- }, P(t.label), 11, vt)], 64))), 128))]), l(Ae, {
1077
+ }, P(t.label), 11, yt)], 64))), 128))]), l(je, {
1076
1078
  errors: R(p),
1077
1079
  id: "error-message-" + R(f)
1078
- }, null, 8, ["errors", "id"])], 2)], 10, pt));
1080
+ }, null, 8, ["errors", "id"])], 2)], 10, mt));
1079
1081
  }
1080
- }), bt = ["width", "height"], xt = [
1082
+ }), xt = ["width", "height"], St = [
1081
1083
  "cx",
1082
1084
  "cy",
1083
1085
  "r"
1084
- ], St = [
1086
+ ], Ct = [
1085
1087
  "cx",
1086
1088
  "cy",
1087
1089
  "r",
1088
1090
  "stroke-dasharray",
1089
1091
  "stroke-dashoffset"
1090
- ], Ct = [
1092
+ ], wt = [
1091
1093
  "cx",
1092
1094
  "cy",
1093
1095
  "r"
1094
- ], wt = /* @__PURE__ */ u({
1096
+ ], Tt = /* @__PURE__ */ u({
1095
1097
  __name: "GProgress",
1096
1098
  props: {
1097
1099
  label: { default: "Loading" },
@@ -1132,7 +1134,7 @@ var ft = /* @__PURE__ */ u({
1132
1134
  r: i.value,
1133
1135
  "stroke-width": 4,
1134
1136
  fill: "none"
1135
- }, null, 8, xt), n.value ? (T(), o("circle", {
1137
+ }, null, 8, St), n.value ? (T(), o("circle", {
1136
1138
  key: 0,
1137
1139
  class: "g-progress__value",
1138
1140
  cx: i.value + 4 / 2,
@@ -1146,7 +1148,7 @@ var ft = /* @__PURE__ */ u({
1146
1148
  transform: "rotate(-90deg)",
1147
1149
  "transform-origin": "center"
1148
1150
  }
1149
- }, null, 8, St)) : (T(), o("circle", {
1151
+ }, null, 8, Ct)) : (T(), o("circle", {
1150
1152
  key: 1,
1151
1153
  class: "g-progress__spinner",
1152
1154
  cx: i.value + 4 / 2,
@@ -1154,13 +1156,13 @@ var ft = /* @__PURE__ */ u({
1154
1156
  r: i.value,
1155
1157
  "stroke-width": 4,
1156
1158
  fill: "none"
1157
- }, null, 8, Ct))], 10, bt))], 16));
1159
+ }, null, 8, wt))], 10, xt))], 16));
1158
1160
  }
1159
- }), Tt = [
1161
+ }), Et = [
1160
1162
  "id",
1161
1163
  "aria-labelledby",
1162
1164
  "aria-describedby"
1163
- ], Et = { class: "g-alertdialog-inner" }, Dt = ["id"], Ot = ["id"], kt = { class: "g-alertdialog-actions" }, At = /* @__PURE__ */ u({
1165
+ ], Dt = { class: "g-alertdialog-inner" }, Ot = ["id"], kt = ["id"], At = { class: "g-alertdialog-actions" }, jt = /* @__PURE__ */ u({
1164
1166
  __name: "GAlertDialog",
1165
1167
  props: {
1166
1168
  label: { default: "Confirmation" },
@@ -1169,11 +1171,11 @@ var ft = /* @__PURE__ */ u({
1169
1171
  },
1170
1172
  emits: ["cancel", "confirm"],
1171
1173
  setup(e, { emit: r }) {
1172
- let a = e, o = r, u = O(null), d = O(!0), f = B(), { pop: p, push: m, isTop: h, zIndex: g } = Ge(f, !0, !0), { deactivate: _, activate: v } = Ze(u, h);
1174
+ let a = e, o = r, u = O(null), d = O(!0), f = B(), { pop: p, push: m, isTop: h, zIndex: g } = Ke(f, !0, !0), { deactivate: _, activate: v } = Qe(u, h);
1173
1175
  function x() {
1174
1176
  o("cancel");
1175
1177
  }
1176
- return Qe([u], h, d, x, p), S(() => {
1178
+ return $e([u], h, d, x, p), S(() => {
1177
1179
  m(), v();
1178
1180
  }), b(() => {
1179
1181
  p(), _();
@@ -1191,16 +1193,16 @@ var ft = /* @__PURE__ */ u({
1191
1193
  ref_key: "dialog",
1192
1194
  ref: u,
1193
1195
  style: y({ zIndex: R(g) })
1194
- }, [s("div", Et, [
1196
+ }, [s("div", Dt, [
1195
1197
  s("h2", {
1196
1198
  id: "alertdialog-label-" + R(f),
1197
1199
  class: "g-alertdialog-label"
1198
- }, P(a.label), 9, Dt),
1200
+ }, P(a.label), 9, Ot),
1199
1201
  s("div", {
1200
1202
  id: "alertdialog-description-" + R(f),
1201
1203
  class: "g-alertdialog-content"
1202
- }, [A(e.$slots, "default")], 8, Ot),
1203
- s("div", kt, [l(Q, {
1204
+ }, [A(e.$slots, "default")], 8, kt),
1205
+ s("div", At, [l(Q, {
1204
1206
  outlined: "",
1205
1207
  onClick: r[0] ||= (e) => o("cancel")
1206
1208
  }, {
@@ -1213,21 +1215,21 @@ var ft = /* @__PURE__ */ u({
1213
1215
  default: J(() => [c(P(a.buttonText), 1)]),
1214
1216
  _: 1
1215
1217
  }, 8, ["theme"])])
1216
- ])], 12, Tt)]),
1218
+ ])], 12, Et)]),
1217
1219
  _: 3
1218
1220
  })]));
1219
1221
  }
1220
1222
  });
1221
1223
  //#endregion
1222
1224
  //#region src/compose/useSelectDropdown.ts
1223
- function jt(e) {
1225
+ function Mt(e) {
1224
1226
  return e.map((e) => typeof e == "string" ? {
1225
1227
  label: e,
1226
1228
  value: e
1227
1229
  } : e);
1228
1230
  }
1229
- function Mt({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a }) {
1230
- let { push: o, pop: s, isTop: c } = Ge(i), l = O("below"), u = O(null), d = r(() => {
1231
+ function Nt({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a }) {
1232
+ let { push: o, pop: s, isTop: c } = Ke(i), l = O("below"), u = O(null), d = r(() => {
1231
1233
  let e = {};
1232
1234
  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;
1233
1235
  });
@@ -1270,11 +1272,11 @@ function Mt({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a })
1270
1272
  }
1271
1273
  //#endregion
1272
1274
  //#region src/components/GSelect.vue?vue&type=script&setup=true&lang.ts
1273
- var Nt = ["id"], Pt = {
1275
+ var Pt = ["id"], Ft = {
1274
1276
  key: 0,
1275
1277
  class: "g-select-required",
1276
1278
  "aria-hidden": "true"
1277
- }, Ft = { class: "g-select-input-wrap" }, It = ["id"], Lt = [
1279
+ }, It = { class: "g-select-input-wrap" }, Lt = ["id"], Rt = [
1278
1280
  "value",
1279
1281
  "placeholder",
1280
1282
  "disabled",
@@ -1282,21 +1284,21 @@ var Nt = ["id"], Pt = {
1282
1284
  "aria-expanded",
1283
1285
  "aria-required",
1284
1286
  "aria-activedescendant"
1285
- ], Rt = [
1287
+ ], zt = [
1286
1288
  "id",
1287
1289
  "aria-controls",
1288
1290
  "aria-expanded",
1289
1291
  "aria-required",
1290
1292
  "aria-activedescendant"
1291
- ], zt = ["id"], Bt = [
1293
+ ], Bt = ["id"], Vt = [
1292
1294
  "id",
1293
1295
  "aria-selected",
1294
1296
  "onClick"
1295
- ], Vt = {
1297
+ ], Ht = {
1296
1298
  key: 1,
1297
1299
  "aria-live": "polite",
1298
1300
  class: "g-select-combo-option g-select-option g-select-no-results"
1299
- }, Ht = /* @__PURE__ */ u({
1301
+ }, Ut = /* @__PURE__ */ u({
1300
1302
  __name: "GSelect",
1301
1303
  props: /*@__PURE__*/ m({
1302
1304
  options: {},
@@ -1334,13 +1336,13 @@ var Nt = ["id"], Pt = {
1334
1336
  value: d,
1335
1337
  errors: I(i, "errors"),
1336
1338
  formKey: i.formKey
1337
- }), { menuPlacement: E, menuStyle: D, isTop: j, scrollOptionIntoView: M } = Mt({
1339
+ }), { menuPlacement: E, menuStyle: D, isTop: j, scrollOptionIntoView: M } = Nt({
1338
1340
  open: y,
1339
1341
  anchorRef: p,
1340
1342
  listboxRef: m,
1341
1343
  baseId: f,
1342
1344
  activeIndex: b
1343
- }), N = r(() => jt(i.options)), F = O(""), L = r(() => {
1345
+ }), N = r(() => Mt(i.options)), F = O(""), L = r(() => {
1344
1346
  if (!i.searchable || !y.value || !F.value) return N.value;
1345
1347
  let e = F.value.toLowerCase();
1346
1348
  return N.value.filter((t) => t.label.toLowerCase().includes(e));
@@ -1370,13 +1372,13 @@ var Nt = ["id"], Pt = {
1370
1372
  H();
1371
1373
  }
1372
1374
  }
1373
- function q(e) {
1375
+ function G(e) {
1374
1376
  if (!i.searchable) return;
1375
1377
  y.value || H(), F.value = e.target.value;
1376
1378
  let t = L.value.findIndex((e) => e.value === d.value);
1377
1379
  b.value = t === -1 ? 0 : t;
1378
1380
  }
1379
- function J(e) {
1381
+ function q(e) {
1380
1382
  let t = e.relatedTarget;
1381
1383
  if (x.value) {
1382
1384
  x.value = !1;
@@ -1384,16 +1386,16 @@ var Nt = ["id"], Pt = {
1384
1386
  }
1385
1387
  t && m.value && m.value.contains(t) || (i.searchable && (F.value = ""), U());
1386
1388
  }
1387
- function ee(e) {
1389
+ function J(e) {
1388
1390
  let t = L.value[e];
1389
1391
  t && t.value !== d.value && (d.value = t.value, u("change", t.value)), S.value = !0, U(), setTimeout(() => {
1390
1392
  S.value = !1;
1391
1393
  }, 100);
1392
1394
  }
1393
- function Z() {
1395
+ function X() {
1394
1396
  i.disabled || (y.value ? U() : H());
1395
1397
  }
1396
- function te(e) {
1398
+ function ne(e) {
1397
1399
  if (i.disabled) return;
1398
1400
  let t = L.value.length - 1;
1399
1401
  if (!y.value && [
@@ -1420,7 +1422,7 @@ var Nt = ["id"], Pt = {
1420
1422
  break;
1421
1423
  case "Enter":
1422
1424
  case " ":
1423
- e.preventDefault(), y.value ? ee(b.value) : H();
1425
+ e.preventDefault(), y.value ? J(b.value) : H();
1424
1426
  break;
1425
1427
  case "Escape":
1426
1428
  j.value && (e.preventDefault(), setTimeout(() => {
@@ -1429,14 +1431,14 @@ var Nt = ["id"], Pt = {
1429
1431
  break;
1430
1432
  }
1431
1433
  }
1432
- function ne(e) {
1433
- ee(e);
1434
+ function re(e) {
1435
+ J(e);
1434
1436
  }
1435
- function re() {
1437
+ function ie() {
1436
1438
  x.value = !0;
1437
1439
  }
1438
- let ie = r(() => i.clearButton && d.value !== null && d.value !== void 0 && !i.disabled);
1439
- function ae() {
1440
+ let ae = r(() => i.clearButton && d.value !== null && d.value !== void 0 && !i.disabled);
1441
+ function oe() {
1440
1442
  i.disabled || (d.value = null, u("change", null), i.searchable && (F.value = ""));
1441
1443
  }
1442
1444
  return (n, r) => (T(), o("div", { class: _(["g-select-root g-select-combo", {
@@ -1448,8 +1450,8 @@ var Nt = ["id"], Pt = {
1448
1450
  key: 0,
1449
1451
  id: R(f) + "-label",
1450
1452
  class: "g-select-combo-label g-select-label"
1451
- }, [c(P(i.label), 1), i.required ? (T(), o("span", Pt, " *")) : a("", !0)], 8, Nt)),
1452
- s("div", Ft, [i.searchable ? (T(), o("div", {
1453
+ }, [c(P(i.label), 1), i.required ? (T(), o("span", Ft, " *")) : a("", !0)], 8, Pt)),
1454
+ s("div", It, [i.searchable ? (T(), o("div", {
1453
1455
  key: 0,
1454
1456
  class: "g-select-combo-input g-select-control",
1455
1457
  id: R(f)
@@ -1464,9 +1466,9 @@ var Nt = ["id"], Pt = {
1464
1466
  placeholder: y.value ? "" : t.placeholder,
1465
1467
  disabled: i.disabled,
1466
1468
  onFocus: W,
1467
- onInput: q,
1468
- onKeydown: te,
1469
- onBlur: J,
1469
+ onInput: G,
1470
+ onKeydown: ne,
1471
+ onBlur: q,
1470
1472
  "aria-autocomplete": "list",
1471
1473
  "aria-controls": R(f) + "-listbox",
1472
1474
  "aria-expanded": y.value ? "true" : "false",
@@ -1476,12 +1478,12 @@ var Nt = ["id"], Pt = {
1476
1478
  }, t.hiddenLabel ? { "aria-label": i.label } : { "aria-labelledby": R(f) + "-label" }, {
1477
1479
  role: "combobox",
1478
1480
  autocomplete: "off"
1479
- }), null, 16, Lt),
1480
- ie.value ? (T(), o("button", {
1481
+ }), null, 16, Rt),
1482
+ ae.value ? (T(), o("button", {
1481
1483
  key: 0,
1482
1484
  type: "button",
1483
1485
  class: "g-select-clear-btn",
1484
- onClick: ae
1486
+ onClick: oe
1485
1487
  }, [...r[0] ||= [s("svg", {
1486
1488
  role: "img",
1487
1489
  "aria-label": "Clear Selection",
@@ -1502,7 +1504,7 @@ var Nt = ["id"], Pt = {
1502
1504
  fill: "currentColor",
1503
1505
  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
1506
  })], -1)
1505
- ], 8, It)) : (T(), o("div", h({
1507
+ ], 8, Lt)) : (T(), o("div", h({
1506
1508
  key: 1,
1507
1509
  ref_key: "comboRef",
1508
1510
  ref: p,
@@ -1516,17 +1518,17 @@ var Nt = ["id"], Pt = {
1516
1518
  }, t.hiddenLabel ? { "aria-label": i.label } : { "aria-labelledby": R(f) + "-label" }, {
1517
1519
  "aria-activedescendant": y.value ? R(f) + "-option-" + b.value : void 0,
1518
1520
  tabindex: "0",
1519
- onClick: Z,
1520
- onKeydown: te,
1521
+ onClick: X,
1522
+ onKeydown: ne,
1521
1523
  onFocus: W,
1522
- onBlur: J
1524
+ onBlur: q
1523
1525
  }), [
1524
1526
  c(P(N.value[z.value] ? N.value[z.value].label : "") + " ", 1),
1525
- ie.value ? (T(), o("button", {
1527
+ ae.value ? (T(), o("button", {
1526
1528
  key: 0,
1527
1529
  type: "button",
1528
1530
  class: "g-select-clear-btn",
1529
- onClick: X(ae, ["stop"])
1531
+ onClick: te(oe, ["stop"])
1530
1532
  }, [...r[2] ||= [s("svg", {
1531
1533
  role: "img",
1532
1534
  "aria-label": "Clear Selection",
@@ -1547,7 +1549,7 @@ var Nt = ["id"], Pt = {
1547
1549
  fill: "currentColor",
1548
1550
  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"
1549
1551
  })], -1)
1550
- ], 16, Rt)), Y(s("div", h({
1552
+ ], 16, zt)), Y(s("div", h({
1551
1553
  ref_key: "listboxRef",
1552
1554
  ref: m,
1553
1555
  class: ["g-select-combo-menu g-select-list", { "g-select-combo-menu--above": R(E) === "above" }],
@@ -1563,40 +1565,40 @@ var Nt = ["id"], Pt = {
1563
1565
  }]),
1564
1566
  role: "option",
1565
1567
  "aria-selected": e.value === d.value ? "true" : "false",
1566
- onMousedown: re,
1567
- onClick: (e) => ne(t)
1568
+ onMousedown: ie,
1569
+ onClick: (e) => re(t)
1568
1570
  }, [A(n.$slots, "option", {
1569
1571
  option: e,
1570
1572
  selected: e.value === d.value,
1571
1573
  index: t
1572
- }, () => [c(P(e.label), 1)])], 42, Bt))), 128)) : (T(), o("div", Vt, " No results found. "))], 16, zt), [[G, y.value]])]),
1573
- l(Ae, {
1574
+ }, () => [c(P(e.label), 1)])], 42, Vt))), 128)) : (T(), o("div", Ht, " No results found. "))], 16, Bt), [[ee, y.value]])]),
1575
+ l(je, {
1574
1576
  errors: R(C),
1575
1577
  id: "error-message-" + R(f)
1576
1578
  }, null, 8, ["errors", "id"])
1577
1579
  ], 2));
1578
1580
  }
1579
- }), Ut = ["aria-label"], Wt = [
1581
+ }), Wt = ["aria-label"], Gt = [
1580
1582
  "placeholder",
1581
1583
  "value",
1582
1584
  "aria-expanded",
1583
1585
  "aria-controls",
1584
1586
  "aria-activedescendant"
1585
- ], Gt = {
1587
+ ], Kt = {
1586
1588
  key: 0,
1587
1589
  class: "g-search-dropdown"
1588
- }, Kt = {
1590
+ }, qt = {
1589
1591
  "aria-live": "polite",
1590
1592
  class: "g-search-result-count"
1591
- }, qt = ["id"], Jt = ["aria-label"], Yt = { class: "g-search-group-label" }, Xt = [
1593
+ }, Jt = ["id"], Yt = ["aria-label"], Xt = { class: "g-search-group-label" }, Zt = [
1592
1594
  "id",
1593
1595
  "onMousedown",
1594
1596
  "aria-selected"
1595
- ], Zt = [
1597
+ ], Qt = [
1596
1598
  "id",
1597
1599
  "onMousedown",
1598
1600
  "aria-selected"
1599
- ], Qt = /* @__PURE__ */ u({
1601
+ ], $t = /* @__PURE__ */ u({
1600
1602
  __name: "GSearch",
1601
1603
  props: /*@__PURE__*/ m({
1602
1604
  results: {},
@@ -1624,7 +1626,7 @@ var Nt = ["id"], Pt = {
1624
1626
  e && e.scrollIntoView({ block: "nearest" });
1625
1627
  });
1626
1628
  }
1627
- let { focused: S } = ae(f);
1629
+ let { focused: S } = se(f);
1628
1630
  function C(e) {
1629
1631
  let t = e.altKey;
1630
1632
  if (e.key === "ArrowDown") {
@@ -1648,7 +1650,7 @@ var Nt = ["id"], Pt = {
1648
1650
  function w(e) {
1649
1651
  d("select", e), l.value = "", m.value = !0, h.value = -1;
1650
1652
  }
1651
- let E = r(() => !!u.loading), D = r(() => S.value && !m.value), j = ie(() => {
1653
+ let E = r(() => !!u.loading), D = r(() => S.value && !m.value), j = oe(() => {
1652
1654
  d("submit", l.value);
1653
1655
  }, 300);
1654
1656
  K(() => l.value, (e) => {
@@ -1661,7 +1663,7 @@ var Nt = ["id"], Pt = {
1661
1663
  "aria-label": u.label
1662
1664
  }, [s("form", {
1663
1665
  class: "g-search-form",
1664
- onSubmit: n[0] ||= X((e) => w(null), ["prevent"])
1666
+ onSubmit: n[0] ||= te((e) => w(null), ["prevent"])
1665
1667
  }, [s("input", {
1666
1668
  ref_key: "inputRef",
1667
1669
  ref: f,
@@ -1677,12 +1679,12 @@ var Nt = ["id"], Pt = {
1677
1679
  "aria-autocomplete": "list",
1678
1680
  "aria-controls": `${R(M)}-list`,
1679
1681
  "aria-activedescendant": h.value >= 0 ? "g-search-option-" + v.value[h.value].id : void 0
1680
- }, null, 40, Wt), s("button", {
1682
+ }, null, 40, Gt), s("button", {
1681
1683
  type: "submit",
1682
1684
  class: "g-search-submit",
1683
1685
  "aria-label": "Submit search",
1684
1686
  onKeydown: C
1685
- }, [E.value ? (T(), i(wt, {
1687
+ }, [E.value ? (T(), i(Tt, {
1686
1688
  key: 0,
1687
1689
  size: "tiny"
1688
1690
  })) : a("", !0), n[1] ||= s("svg", {
@@ -1693,7 +1695,7 @@ var Nt = ["id"], Pt = {
1693
1695
  }, [s("path", {
1694
1696
  fill: "currentColor",
1695
1697
  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"
1696
- })], -1)], 32)], 32), D.value ? (T(), o("div", Gt, [s("div", Kt, [E.value ? a("", !0) : (T(), o(e, { key: 0 }, [c(P(y.value) + " result" + P(y.value === 1 ? "" : "s"), 1)], 64))]), s("div", {
1698
+ })], -1)], 32)], 32), D.value ? (T(), o("div", Kt, [s("div", qt, [E.value ? a("", !0) : (T(), o(e, { key: 0 }, [c(P(y.value) + " result" + P(y.value === 1 ? "" : "s"), 1)], 64))]), s("div", {
1697
1699
  role: "listbox",
1698
1700
  id: `${R(M)}-list`,
1699
1701
  ref_key: "listboxRef",
@@ -1704,29 +1706,29 @@ var Nt = ["id"], Pt = {
1704
1706
  class: "g-search-group",
1705
1707
  role: "group",
1706
1708
  "aria-label": n.label
1707
- }, [A(t.$slots, "group", { group: n }, () => [s("div", Yt, P(n.label), 1)]), (T(!0), o(e, null, k(n.items, (e, n) => (T(), o("div", {
1709
+ }, [A(t.$slots, "group", { group: n }, () => [s("div", Xt, P(n.label), 1)]), (T(!0), o(e, null, k(n.items, (e, n) => (T(), o("div", {
1708
1710
  key: e.id,
1709
1711
  id: "g-search-option-" + e.id,
1710
1712
  class: _(["g-search-option", { "g-search-option-active": v.value[h.value] && v.value[h.value].id === e.id }]),
1711
1713
  role: "option",
1712
- onMousedown: X((t) => w(e), ["prevent"]),
1714
+ onMousedown: te((t) => w(e), ["prevent"]),
1713
1715
  "aria-selected": v.value[h.value] && v.value[h.value].id === e.id
1714
- }, [A(t.$slots, "option", { option: e }, () => [c(P(e.title), 1)])], 42, Xt))), 128))], 8, Jt))), 128)) : y.value > 0 ? (T(!0), o(e, { key: 1 }, k(v.value, (e, n) => (T(), o("div", {
1716
+ }, [A(t.$slots, "option", { option: e }, () => [c(P(e.title), 1)])], 42, Zt))), 128))], 8, Yt))), 128)) : y.value > 0 ? (T(!0), o(e, { key: 1 }, k(v.value, (e, n) => (T(), o("div", {
1715
1717
  key: e.id,
1716
1718
  id: "g-search-option-" + e.id,
1717
1719
  class: _(["g-search-option", { "g-search-option-active": h.value === n }]),
1718
1720
  role: "option",
1719
- onMousedown: X((t) => w(e), ["prevent"]),
1721
+ onMousedown: te((t) => w(e), ["prevent"]),
1720
1722
  "aria-selected": h.value === n
1721
- }, [A(t.$slots, "option", { option: e }, () => [c(P(e.title), 1)])], 42, Zt))), 128)) : a("", !0)], 8, qt)])) : a("", !0)], 8, Ut));
1723
+ }, [A(t.$slots, "option", { option: e }, () => [c(P(e.title), 1)])], 42, Qt))), 128)) : a("", !0)], 8, Jt)])) : a("", !0)], 8, Wt));
1722
1724
  }
1723
- }), $t = { class: /*@__PURE__*/ _({ "g-app-header": !0 }) }, en = { class: "g-app-header__brand" }, tn = {
1725
+ }), en = { class: /*@__PURE__*/ _({ "g-app-header": !0 }) }, tn = { class: "g-app-header__brand" }, nn = {
1724
1726
  class: "g-app-header__brand-text",
1725
1727
  href: "/"
1726
- }, nn = {
1728
+ }, rn = {
1727
1729
  key: 0,
1728
1730
  class: "g-app-header__block-i-container"
1729
- }, rn = { class: "g-app-header__title" }, an = { class: "g-app-header__app-controls-wrap" }, on = /* @__PURE__ */ u({
1731
+ }, an = { class: "g-app-header__title" }, on = { class: "g-app-header__app-controls-wrap" }, sn = /* @__PURE__ */ u({
1730
1732
  __name: "GAppHeader",
1731
1733
  props: {
1732
1734
  illinois: {
@@ -1736,10 +1738,10 @@ var Nt = ["id"], Pt = {
1736
1738
  brand: { default: "GRAD" }
1737
1739
  },
1738
1740
  setup(e) {
1739
- return (t, n) => (T(), o("header", $t, [
1741
+ return (t, n) => (T(), o("header", en, [
1740
1742
  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),
1741
- s("div", en, [A(t.$slots, "left", {}, () => [s("a", tn, P(e.brand), 1)])]),
1742
- e.illinois ? (T(), o("div", nn, [...n[0] ||= [s("svg", {
1743
+ s("div", tn, [A(t.$slots, "left", {}, () => [s("a", nn, P(e.brand), 1)])]),
1744
+ e.illinois ? (T(), o("div", rn, [...n[0] ||= [s("svg", {
1743
1745
  class: "g-app-header__block-i",
1744
1746
  role: "img",
1745
1747
  width: "55",
@@ -1756,29 +1758,29 @@ var Nt = ["id"], Pt = {
1756
1758
  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"
1757
1759
  })
1758
1760
  ], -1)]])) : A(t.$slots, "icon", { key: 1 }),
1759
- s("div", rn, [A(t.$slots, "title")]),
1760
- s("div", an, [A(t.$slots, "app-controls", { class: "g-app-header__app-controls" })])
1761
+ s("div", an, [A(t.$slots, "title")]),
1762
+ s("div", on, [A(t.$slots, "app-controls", { class: "g-app-header__app-controls" })])
1761
1763
  ]));
1762
1764
  }
1763
1765
  });
1764
1766
  //#endregion
1765
1767
  //#region src/compose/useWebComponentSidebar.ts
1766
- function sn(e) {
1768
+ function cn(e) {
1767
1769
  return e.replace(/[^a-zA-Z0-9_-]/g, "-");
1768
1770
  }
1769
- function cn() {
1771
+ function ln() {
1770
1772
  let e = globalThis;
1771
1773
  return e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__ ||= /* @__PURE__ */ new Map(), e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__;
1772
1774
  }
1773
- function ln(e = "default", t) {
1774
- let n = cn(), r = e || "default", i = typeof t == "string" ? t : t?.value, a = i && i.trim() ? i : "(max-width: 800px)";
1775
+ function un(e = "default", t) {
1776
+ let n = ln(), r = e || "default", i = typeof t == "string" ? t : t?.value, a = i && i.trim() ? i : "(max-width: 800px)";
1775
1777
  if (!n.has(r)) {
1776
- let e = sn(r), t = O(a);
1778
+ let e = cn(r), t = O(a);
1777
1779
  n.set(r, {
1778
1780
  id: `g-wc-sidebar-${e}`,
1779
1781
  open: O(!1),
1780
1782
  breakpoint: t,
1781
- isCollapsible: se(t, { ssrWidth: 1e3 }),
1783
+ isCollapsible: le(t, { ssrWidth: 1e3 }),
1782
1784
  toggle: () => void 0
1783
1785
  });
1784
1786
  }
@@ -1810,8 +1812,8 @@ function ln(e = "default", t) {
1810
1812
  }
1811
1813
  //#endregion
1812
1814
  //#region src/compose/useScrollRestore.ts
1813
- function un(e, t) {
1814
- let n = t ? ue(`${t}:scroll`, 0, { writeDefaults: !1 }) : null, r = O(!!(n?.value && n.value > 0)), i = null, a = null, o = null, s = !1;
1815
+ function dn(e, t) {
1816
+ let n = t ? fe(`${t}:scroll`, 0, { writeDefaults: !1 }) : null, r = O(!!(n?.value && n.value > 0)), i = null, a = null, o = null, s = !1;
1815
1817
  function c(e) {
1816
1818
  let t = window.getComputedStyle(e);
1817
1819
  return t.overflowY === "auto" || t.overflowY === "scroll";
@@ -1893,7 +1895,7 @@ function un(e, t) {
1893
1895
  }
1894
1896
  //#endregion
1895
1897
  //#region src/components/GSidebar.vue?vue&type=script&setup=true&lang.ts
1896
- var dn = ["id"], fn = /* @__PURE__ */ u({
1898
+ var fn = ["id"], pn = /* @__PURE__ */ u({
1897
1899
  __name: "GSidebar",
1898
1900
  props: {
1899
1901
  backgroundColor: { default: "" },
@@ -1907,7 +1909,7 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
1907
1909
  storageKey: {}
1908
1910
  },
1909
1911
  setup(e) {
1910
- let t = e, n = p("sidebar", () => void 0, !0) ?? (fe() ? ln(t.sidebarKey, I(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 = B(), { isPendingScrollRestore: l } = un(U("sidebar-ref"), t.storageKey);
1912
+ let t = e, n = p("sidebar", () => void 0, !0) ?? (Z() ? un(t.sidebarKey, I(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 = B(), { isPendingScrollRestore: l } = dn(U("sidebar-ref"), t.storageKey);
1911
1913
  function u(e) {
1912
1914
  e.key === "Escape" && n?.isCollapsible?.value && n?.open?.value && (n.open.value = !1, document.getElementById(`${n.id}-hamburger`)?.focus());
1913
1915
  }
@@ -1928,13 +1930,13 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
1928
1930
  width: "var(--g-sidebar-width)"
1929
1931
  }),
1930
1932
  onKeydown: u
1931
- }, [A(t.$slots, "default")], 46, dn));
1933
+ }, [A(t.$slots, "default")], 46, fn));
1932
1934
  }
1933
- }), pn = ["id"], mn = { class: "g-sidebar-menu__list" }, hn = [
1935
+ }), mn = ["id"], hn = { class: "g-sidebar-menu__list" }, gn = [
1934
1936
  "href",
1935
1937
  "aria-current",
1936
1938
  "onClick"
1937
- ], gn = /* @__PURE__ */ u({
1939
+ ], _n = /* @__PURE__ */ u({
1938
1940
  __name: "GSidebarMenu",
1939
1941
  props: /*@__PURE__*/ m({
1940
1942
  heading: {},
@@ -1982,13 +1984,13 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
1982
1984
  key: 0,
1983
1985
  id: R(y),
1984
1986
  class: "g-sidebar-menu__title"
1985
- }, P(t.heading), 9, pn)) : a("", !0),
1987
+ }, P(t.heading), 9, mn)) : a("", !0),
1986
1988
  l[0] ||= s("div", { class: "g-sidebar-menu__divider" }, null, -1),
1987
1989
  s("div", {
1988
1990
  class: "g-sidebar-menu__content",
1989
1991
  ref_key: "content",
1990
1992
  ref: f
1991
- }, [s("ul", mn, [(T(!0), o(e, null, k(t.items, (e) => (T(), o("li", {
1993
+ }, [s("ul", hn, [(T(!0), o(e, null, k(t.items, (e) => (T(), o("li", {
1992
1994
  key: e.href || e.to,
1993
1995
  class: "g-sidebar-menu__item",
1994
1996
  ref_for: !0,
@@ -2006,24 +2008,24 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2006
2008
  href: e.href || e.to || "#",
2007
2009
  "aria-current": u.value === (e.href || "") ? "location" : void 0,
2008
2010
  onClick: (t) => v(t, e)
2009
- }, P(e.label), 11, hn))]))), 128))])], 512)
2011
+ }, P(e.label), 11, gn))]))), 128))])], 512)
2010
2012
  ], 16));
2011
2013
  }
2012
- }), _n = {
2014
+ }), vn = {
2013
2015
  mounted(e, t) {
2014
- let n = O(null), r = O(!1), i = O(!1), a = O(t.value), o = null, s = !1, c = st(e), l = () => {
2015
- n.value || (n.value = ct(a.value, c), lt(n.value), o = new ResizeObserver(() => {
2016
- n.value && (r.value || i.value) && ut(e, n.value);
2016
+ let n = O(null), r = O(!1), i = O(!1), a = O(t.value), o = null, s = !1, c = ct(e), l = () => {
2017
+ n.value || (n.value = lt(a.value, c), ut(n.value), o = new ResizeObserver(() => {
2018
+ n.value && (r.value || i.value) && dt(e, n.value);
2017
2019
  }), o.observe(n.value));
2018
2020
  };
2019
2021
  q(() => {
2020
2022
  n.value && (n.value.textContent = a.value);
2021
2023
  });
2022
2024
  let u = () => {
2023
- n.value && (r.value || i.value) && ut(e, n.value);
2025
+ n.value && (r.value || i.value) && dt(e, n.value);
2024
2026
  };
2025
2027
  q(() => {
2026
- r.value || i.value ? (l(), n.value && ut(e, n.value), s ||= (window.addEventListener("scroll", u, { capture: !0 }), !0)) : (s &&= (window.removeEventListener("scroll", u, { capture: !0 }), !1), n.value && (dt(n.value), setTimeout(() => {
2028
+ r.value || i.value ? (l(), n.value && dt(e, n.value), s ||= (window.addEventListener("scroll", u, { capture: !0 }), !0)) : (s &&= (window.removeEventListener("scroll", u, { capture: !0 }), !1), n.value && (ft(n.value), setTimeout(() => {
2027
2029
  e.dispatchEvent(new CustomEvent("tooltip-hide"));
2028
2030
  }, 150)));
2029
2031
  });
@@ -2061,7 +2063,7 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2061
2063
  let t = e._v_gtooltip;
2062
2064
  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");
2063
2065
  }
2064
- }, vn = { class: "g-clipboard-text" }, yn = /* @__PURE__ */ u({
2066
+ }, yn = { class: "g-clipboard-text" }, bn = /* @__PURE__ */ u({
2065
2067
  __name: "GClipboard",
2066
2068
  props: {
2067
2069
  text: {},
@@ -2069,12 +2071,12 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2069
2071
  copyLabel: {}
2070
2072
  },
2071
2073
  setup(t) {
2072
- let n = t, r = _n, { text: i, copy: l, copied: u, isSupported: d } = re({ source: n.text }), f = O(n.copyLabel ?? "Copy to clipboard"), p = () => {
2074
+ let n = t, r = vn, { text: i, copy: l, copied: u, isSupported: d } = ae({ source: n.text }), f = O(n.copyLabel ?? "Copy to clipboard"), p = () => {
2073
2075
  d.value ? (l(), f.value = "Copied") : f.value = "Copy not supported";
2074
2076
  }, m = () => {
2075
2077
  f.value = n.copyLabel ?? "Copy to clipboard";
2076
2078
  };
2077
- return (i, l) => (T(), o("div", vn, [t.hideText ? a("", !0) : (T(), o(e, { key: 0 }, [c(P(n.text), 1)], 64)), Y((T(), o("button", {
2079
+ return (i, l) => (T(), o("div", yn, [t.hideText ? a("", !0) : (T(), o(e, { key: 0 }, [c(P(n.text), 1)], 64)), Y((T(), o("button", {
2078
2080
  type: "button",
2079
2081
  "aria-label": "Copy",
2080
2082
  onClick: p,
@@ -2091,15 +2093,15 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2091
2093
  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"
2092
2094
  })], -1)]], 32)), [[R(r), f.value]])]));
2093
2095
  }
2094
- }), bn = { class: "g-history-scroller-wrapper" }, xn = {
2096
+ }), xn = { class: "g-history-scroller-wrapper" }, Sn = {
2095
2097
  key: 0,
2096
2098
  class: "g-history-shadow g-history-shadow--top",
2097
2099
  "aria-hidden": "true"
2098
- }, Sn = {
2100
+ }, Cn = {
2099
2101
  key: 1,
2100
2102
  class: "g-history-shadow g-history-shadow--bottom",
2101
2103
  "aria-hidden": "true"
2102
- }, Cn = ["role", "aria-label"], wn = /* @__PURE__ */ u({
2104
+ }, wn = ["role", "aria-label"], Tn = /* @__PURE__ */ u({
2103
2105
  __name: "GHistoryScroller",
2104
2106
  props: {
2105
2107
  label: {},
@@ -2123,17 +2125,17 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2123
2125
  }
2124
2126
  S(() => {
2125
2127
  g(f);
2126
- }), le(i, () => {
2128
+ }), de(i, () => {
2127
2129
  u.value && f();
2128
- }), le(c, () => {
2130
+ }), de(c, () => {
2129
2131
  u.value && f();
2130
2132
  }), K(() => n.entries, async () => {
2131
2133
  u.value && (await g(), f());
2132
2134
  });
2133
2135
  let m = r(() => [...n.entries].reverse());
2134
- return (n, r) => (T(), o("div", bn, [
2135
- d.value ? a("", !0) : (T(), o("div", xn)),
2136
- u.value ? a("", !0) : (T(), o("div", Sn)),
2136
+ return (n, r) => (T(), o("div", xn, [
2137
+ d.value ? a("", !0) : (T(), o("div", Sn)),
2138
+ u.value ? a("", !0) : (T(), o("div", Cn)),
2137
2139
  s("div", {
2138
2140
  ref_key: "scrollerRef",
2139
2141
  ref: i,
@@ -2168,31 +2170,31 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2168
2170
  key: e.id,
2169
2171
  class: "g-history-entry",
2170
2172
  tabindex: "-1"
2171
- }, [A(n.$slots, "default", { entry: e })]))), 128))], 512)], 40, Cn)
2173
+ }, [A(n.$slots, "default", { entry: e })]))), 128))], 512)], 40, wn)
2172
2174
  ]));
2173
2175
  }
2174
- }), Tn = { class: "g-three-way-toggle-wrapper" }, En = { class: "g-three-way-toggle-control" }, Dn = ["id"], On = [
2176
+ }), En = { class: "g-three-way-toggle-wrapper" }, Dn = { class: "g-three-way-toggle-control" }, On = ["id"], kn = [
2175
2177
  "aria-labelledby",
2176
2178
  "aria-describedby",
2177
2179
  "disabled",
2178
2180
  "aria-invalid",
2179
2181
  "aria-errormessage"
2180
- ], kn = { key: 0 }, An = { key: 1 }, jn = { key: 2 }, Mn = ["for"], Nn = [
2182
+ ], An = { key: 0 }, jn = { key: 1 }, Mn = { key: 2 }, Nn = ["for"], Pn = [
2181
2183
  "id",
2182
2184
  "name",
2183
2185
  "checked",
2184
2186
  "disabled"
2185
- ], Pn = ["for"], Fn = [
2187
+ ], Fn = ["for"], In = [
2186
2188
  "id",
2187
2189
  "name",
2188
2190
  "checked",
2189
2191
  "disabled"
2190
- ], In = ["for"], Ln = [
2192
+ ], Ln = ["for"], Rn = [
2191
2193
  "id",
2192
2194
  "name",
2193
2195
  "checked",
2194
2196
  "disabled"
2195
- ], Rn = ["id"], zn = /* @__PURE__ */ u({
2197
+ ], zn = ["id"], Bn = /* @__PURE__ */ u({
2196
2198
  __name: "GThreeWayToggle",
2197
2199
  props: /*@__PURE__*/ m({
2198
2200
  label: {},
@@ -2226,10 +2228,10 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2226
2228
  function b(e) {
2227
2229
  n.disabled || (e.key === "n" || e.key === "N" ? (u(!1), e.preventDefault()) : (e.key === "y" || e.key === "Y") && (u(!0), e.preventDefault()));
2228
2230
  }
2229
- return (t, n) => (T(), o("div", Tn, [s("div", En, [s("span", {
2231
+ return (t, n) => (T(), o("div", En, [s("div", Dn, [s("span", {
2230
2232
  class: "g-label",
2231
2233
  id: R(p)
2232
- }, [A(t.$slots, "label", {}, () => [c(P(e.label), 1)])], 8, Dn), s("fieldset", {
2234
+ }, [A(t.$slots, "label", {}, () => [c(P(e.label), 1)])], 8, On), s("fieldset", {
2233
2235
  class: _(["g-three-way-toggle", { "g-has-error": e.error }]),
2234
2236
  role: "radiogroup",
2235
2237
  "aria-labelledby": R(p),
@@ -2241,7 +2243,7 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2241
2243
  s("span", {
2242
2244
  class: _(["g-toggle-thumb", y.value]),
2243
2245
  "aria-hidden": "true"
2244
- }, [i.value === !1 ? (T(), o("span", kn, "NO")) : i.value === !0 ? (T(), o("span", An, "YES")) : (T(), o("span", jn))], 2),
2246
+ }, [i.value === !1 ? (T(), o("span", An, "NO")) : i.value === !0 ? (T(), o("span", jn, "YES")) : (T(), o("span", Mn))], 2),
2245
2247
  s("label", {
2246
2248
  for: R(h),
2247
2249
  class: "g-toggle-option g-left",
@@ -2255,7 +2257,7 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2255
2257
  value: "false",
2256
2258
  disabled: e.disabled,
2257
2259
  onChange: n[0] ||= (e) => d(!1)
2258
- }, null, 40, Nn), n[5] ||= s("span", { class: "ilw-sr-only" }, "No", -1)], 40, Mn),
2260
+ }, null, 40, Pn), n[5] ||= s("span", { class: "ilw-sr-only" }, "No", -1)], 40, Nn),
2259
2261
  s("label", {
2260
2262
  for: R(g),
2261
2263
  class: "g-toggle-option g-center",
@@ -2267,7 +2269,7 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2267
2269
  checked: i.value === null,
2268
2270
  disabled: e.disabled,
2269
2271
  onChange: n[2] ||= (e) => d(null)
2270
- }, null, 40, Fn), n[6] ||= s("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, Pn),
2272
+ }, null, 40, In), n[6] ||= s("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, Fn),
2271
2273
  s("label", {
2272
2274
  for: R(v),
2273
2275
  class: "g-toggle-option g-right",
@@ -2281,54 +2283,54 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2281
2283
  checked: i.value === !0,
2282
2284
  disabled: e.disabled,
2283
2285
  onChange: n[3] ||= (e) => d(!0)
2284
- }, null, 40, Ln), n[7] ||= s("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, In)
2285
- ], 2)], 10, On)]), e.error ? (T(), o("div", {
2286
+ }, null, 40, Rn), n[7] ||= s("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, Ln)
2287
+ ], 2)], 10, kn)]), e.error ? (T(), o("div", {
2286
2288
  key: 0,
2287
2289
  id: `${R(p)}-error`,
2288
2290
  class: "g-form-error",
2289
2291
  role: "alert",
2290
2292
  "aria-atomic": "true"
2291
- }, P(e.error), 9, Rn)) : a("", !0)]));
2293
+ }, P(e.error), 9, zn)) : a("", !0)]));
2292
2294
  }
2293
- }), Bn = {
2295
+ }), Vn = {
2294
2296
  ref: "tableBodyRef",
2295
2297
  class: "efficient-table-body"
2296
- }, Vn = ["aria-rowindex"], Hn = {
2298
+ }, Hn = ["aria-rowindex"], Un = {
2297
2299
  key: 0,
2298
2300
  class: "table-group-checkbox"
2299
- }, Un = ["colspan"], Wn = [
2301
+ }, Wn = ["colspan"], Gn = [
2300
2302
  "aria-rowindex",
2301
2303
  "onMousedown",
2302
2304
  "onClick"
2303
- ], Gn = [
2305
+ ], Kn = [
2304
2306
  "checked",
2305
2307
  "onClick",
2306
2308
  "aria-label",
2307
2309
  "name"
2308
- ], Kn = ["id"], qn = {
2310
+ ], qn = ["id"], Jn = {
2309
2311
  key: 0,
2310
2312
  class: "editable-cell"
2311
- }, Jn = {
2313
+ }, Yn = {
2312
2314
  key: 0,
2313
2315
  class: "cell-prefix"
2314
- }, Yn = [
2316
+ }, Xn = [
2315
2317
  "value",
2316
2318
  "onChange",
2317
2319
  "aria-labelledby",
2318
2320
  "aria-invalid",
2319
2321
  "aria-errormessage",
2320
2322
  "name"
2321
- ], Xn = ["value"], Zn = [
2323
+ ], Zn = ["value"], Qn = [
2322
2324
  "value",
2323
2325
  "onInput",
2324
2326
  "aria-labelledby",
2325
2327
  "aria-invalid",
2326
2328
  "aria-errormessage",
2327
2329
  "name"
2328
- ], Qn = {
2330
+ ], $n = {
2329
2331
  key: 3,
2330
2332
  class: "cell-suffix"
2331
- }, $n = ["id"], er = /* @__PURE__ */ u({
2333
+ }, er = ["id"], tr = /* @__PURE__ */ u({
2332
2334
  __name: "GTableBody",
2333
2335
  props: {
2334
2336
  data: {},
@@ -2397,13 +2399,13 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2397
2399
  function C(e, t) {
2398
2400
  if (l.changeTracker) return l.changeTracker.getError(e.key, t.key);
2399
2401
  }
2400
- return (n, r) => (T(), o("tbody", Bn, [(T(!0), o(e, null, k(t.data, (n, l) => (T(), o(e, { key: n.key }, [t.groupBy && (l === 0 || n[t.groupBy] !== t.data[l - 1][t.groupBy]) ? (T(), o("tr", {
2402
+ return (n, r) => (T(), o("tbody", Vn, [(T(!0), o(e, null, k(t.data, (n, l) => (T(), o(e, { key: n.key }, [t.groupBy && (l === 0 || n[t.groupBy] !== t.data[l - 1][t.groupBy]) ? (T(), o("tr", {
2401
2403
  key: 0,
2402
2404
  "aria-rowindex": t.startIndex + l + 2
2403
- }, [t.bulkSelectionEnabled ? (T(), o("td", Hn)) : a("", !0), s("td", {
2405
+ }, [t.bulkSelectionEnabled ? (T(), o("td", Un)) : a("", !0), s("td", {
2404
2406
  colspan: t.columns.length,
2405
2407
  class: "table-group-row"
2406
- }, [t.groupRender ? (T(), i(j(t.groupRender(n[t.groupBy], n)), { key: 0 })) : (T(), o(e, { key: 1 }, [c(P(n[t.groupBy]), 1)], 64))], 8, Un)], 8, Vn)) : a("", !0), s("tr", {
2408
+ }, [t.groupRender ? (T(), i(j(t.groupRender(n[t.groupBy], n)), { key: 0 })) : (T(), o(e, { key: 1 }, [c(P(n[t.groupBy]), 1)], 64))], 8, Wn)], 8, Hn)) : a("", !0), s("tr", {
2407
2409
  class: _([
2408
2410
  "efficient-table-row",
2409
2411
  {
@@ -2418,7 +2420,7 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2418
2420
  }, [t.bulkSelectionEnabled ? (T(), o("td", {
2419
2421
  key: 0,
2420
2422
  class: "td-checkbox",
2421
- onClick: r[0] ||= X(() => {}, ["stop"])
2423
+ onClick: r[0] ||= te(() => {}, ["stop"])
2422
2424
  }, [s("input", {
2423
2425
  type: "checkbox",
2424
2426
  checked: p(n.key),
@@ -2426,7 +2428,7 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2426
2428
  "aria-label": `Select row ${n.key}`,
2427
2429
  name: `row-${n.key}-checkbox`,
2428
2430
  class: "g-bulk-select-checkbox"
2429
- }, null, 8, Gn)])) : a("", !0), (T(!0), o(e, null, k(t.columns, (r) => (T(), o("td", {
2431
+ }, null, 8, Kn)])) : a("", !0), (T(!0), o(e, null, k(t.columns, (r) => (T(), o("td", {
2430
2432
  key: r.key,
2431
2433
  id: b(r) ? `${t.tableId}-td-${n.key}-${String(r.key)}` : void 0,
2432
2434
  class: _([
@@ -2435,8 +2437,8 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2435
2437
  S(n, r) ? "g-cell-error" : "",
2436
2438
  typeof r.tdClass == "function" ? r.tdClass(n) : r.tdClass
2437
2439
  ])
2438
- }, [r.editable ? (T(), o("div", qn, [
2439
- r.editable.prefix ? (T(), o("span", Jn, P(r.editable.prefix), 1)) : a("", !0),
2440
+ }, [r.editable ? (T(), o("div", Jn, [
2441
+ r.editable.prefix ? (T(), o("span", Yn, P(r.editable.prefix), 1)) : a("", !0),
2440
2442
  r.editable.type === "select" ? (T(), o("select", {
2441
2443
  key: 1,
2442
2444
  value: n[r.key],
@@ -2449,7 +2451,7 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2449
2451
  }, [(T(!0), o(e, null, k(r.editable.options, (e) => (T(), o("option", {
2450
2452
  key: e.value,
2451
2453
  value: e.value
2452
- }, P(e.label), 9, Xn))), 128))], 40, Yn)) : (T(), o("input", h({
2454
+ }, P(e.label), 9, Zn))), 128))], 40, Xn)) : (T(), o("input", h({
2453
2455
  key: 2,
2454
2456
  value: n[r.key]
2455
2457
  }, { ref_for: !0 }, r.editable.inputAttributes, {
@@ -2463,24 +2465,24 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2463
2465
  paddingLeft: r.editable.prefix ? "1.5rem" : void 0,
2464
2466
  paddingRight: r.editable.suffix ? "2rem" : void 0
2465
2467
  }
2466
- }), null, 16, Zn)),
2467
- r.editable.suffix ? (T(), o("span", Qn, P(r.editable.suffix), 1)) : a("", !0)
2468
+ }), null, 16, Qn)),
2469
+ r.editable.suffix ? (T(), o("span", $n, P(r.editable.suffix), 1)) : a("", !0)
2468
2470
  ])) : r.display ? (T(), i(j(r.display(n)), { key: 1 })) : (T(), o(e, { key: 2 }, [c(P(n[r.key]), 1)], 64)), S(n, r) ? (T(), o("div", {
2469
2471
  key: 3,
2470
2472
  role: "alert",
2471
2473
  class: "g-cell-error-message",
2472
2474
  id: `${t.tableId}-error-${n.key}-${String(r.key)}`
2473
- }, P(C(n, r)), 9, $n)) : a("", !0)], 10, Kn))), 128))], 42, Wn)], 64))), 128))], 512));
2475
+ }, P(C(n, r)), 9, er)) : a("", !0)], 10, qn))), 128))], 42, Gn)], 64))), 128))], 512));
2474
2476
  }
2475
- }), tr = ["id", "for"], nr = {
2477
+ }), nr = ["id", "for"], rr = {
2476
2478
  key: 0,
2477
2479
  class: "g-multiselect-required",
2478
2480
  "aria-hidden": "true"
2479
- }, rr = ["id"], ir = ["aria-labelledby"], ar = { class: "g-multiselect-chip-label" }, or = [
2481
+ }, ir = ["id"], ar = ["aria-labelledby"], or = { class: "g-multiselect-chip-label" }, sr = [
2480
2482
  "aria-label",
2481
2483
  "disabled",
2482
2484
  "onClick"
2483
- ], sr = [
2485
+ ], cr = [
2484
2486
  "id",
2485
2487
  "value",
2486
2488
  "placeholder",
@@ -2490,23 +2492,23 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2490
2492
  "aria-activedescendant",
2491
2493
  "aria-describedby",
2492
2494
  "aria-required"
2493
- ], cr = ["id"], lr = [
2495
+ ], lr = ["id"], ur = [
2494
2496
  "id",
2495
2497
  "aria-selected",
2496
2498
  "onClick"
2497
- ], ur = {
2499
+ ], dr = {
2498
2500
  class: "g-multiselect-option-check",
2499
2501
  "aria-hidden": "true"
2500
- }, dr = {
2502
+ }, fr = {
2501
2503
  key: 0,
2502
2504
  xmlns: "http://www.w3.org/2000/svg",
2503
2505
  viewBox: "0 0 640 640",
2504
2506
  width: "1.25em"
2505
- }, fr = {
2507
+ }, pr = {
2506
2508
  key: 1,
2507
2509
  "aria-live": "polite",
2508
2510
  class: "g-multiselect-option g-multiselect-no-results"
2509
- }, pr = /* @__PURE__ */ u({
2511
+ }, mr = /* @__PURE__ */ u({
2510
2512
  __name: "GMultiSelect",
2511
2513
  props: /*@__PURE__*/ m({
2512
2514
  options: {},
@@ -2539,13 +2541,13 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2539
2541
  value: d,
2540
2542
  errors: I(i, "errors"),
2541
2543
  formKey: i.formKey
2542
- }), { menuPlacement: E, menuStyle: D, isTop: A, scrollOptionIntoView: j } = Mt({
2544
+ }), { menuPlacement: E, menuStyle: D, isTop: A, scrollOptionIntoView: j } = Nt({
2543
2545
  open: y,
2544
2546
  anchorRef: m,
2545
2547
  listboxRef: v,
2546
2548
  baseId: f,
2547
2549
  activeIndex: b
2548
- }), M = r(() => jt(i.options)), N = r(() => {
2550
+ }), M = r(() => Mt(i.options)), N = r(() => {
2549
2551
  if (!x.value) return M.value;
2550
2552
  let e = x.value.toLowerCase();
2551
2553
  return M.value.filter((t) => t.label.toLowerCase().includes(e));
@@ -2574,16 +2576,16 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2574
2576
  let t = d.value.filter((t) => t !== e);
2575
2577
  d.value = t, u("change", t);
2576
2578
  }
2577
- function K() {
2579
+ function G() {
2578
2580
  i.disabled || (p.value?.focus(), y.value || z());
2579
2581
  }
2580
- function q(e) {
2582
+ function K(e) {
2581
2583
  x.value = e.target.value, b.value = 0, y.value || z();
2582
2584
  }
2583
- function J() {
2585
+ function q() {
2584
2586
  i.disabled || y.value || z();
2585
2587
  }
2586
- function ee(e) {
2588
+ function J(e) {
2587
2589
  if (S.value) {
2588
2590
  S.value = !1;
2589
2591
  return;
@@ -2591,13 +2593,13 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2591
2593
  let t = e.relatedTarget;
2592
2594
  t && v.value?.contains(t) || t && m.value?.contains(t) || H();
2593
2595
  }
2594
- function Z(e) {
2596
+ function X(e) {
2595
2597
  e.preventDefault();
2596
2598
  }
2597
- function te() {
2599
+ function ne() {
2598
2600
  S.value = !0;
2599
2601
  }
2600
- function ne(e) {
2602
+ function re(e) {
2601
2603
  if (i.disabled) return;
2602
2604
  let t = N.value.length - 1;
2603
2605
  switch (e.key) {
@@ -2627,9 +2629,9 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2627
2629
  break;
2628
2630
  }
2629
2631
  }
2630
- let re = r(() => `${f}-input`), ie = r(() => `${f}-label`), ae = r(() => `${f}-instructions`), oe = r(() => `error-message-${f}`), se = r(() => {
2632
+ let ie = r(() => `${f}-input`), ae = r(() => `${f}-label`), oe = r(() => `${f}-instructions`), se = r(() => `error-message-${f}`), ce = r(() => {
2631
2633
  let e = [];
2632
- return i.instructions && e.push(ae.value), w.value && e.push(oe.value), e.length > 0 ? e.join(" ") : void 0;
2634
+ return i.instructions && e.push(oe.value), w.value && e.push(se.value), e.length > 0 ? e.join(" ") : void 0;
2633
2635
  });
2634
2636
  return (n, r) => (T(), o("div", { class: _(["g-multiselect-root", {
2635
2637
  "g-multiselect-open": y.value,
@@ -2637,35 +2639,35 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2637
2639
  }]) }, [
2638
2640
  t.hiddenLabel ? a("", !0) : (T(), o("label", {
2639
2641
  key: 0,
2640
- id: ie.value,
2641
- for: re.value,
2642
+ id: ae.value,
2643
+ for: ie.value,
2642
2644
  class: "g-multiselect-label"
2643
- }, [c(P(t.label), 1), t.required ? (T(), o("span", nr, " *")) : a("", !0)], 8, tr)),
2645
+ }, [c(P(t.label), 1), t.required ? (T(), o("span", rr, " *")) : a("", !0)], 8, nr)),
2644
2646
  t.instructions ? (T(), o("div", {
2645
2647
  key: 1,
2646
- id: ae.value,
2648
+ id: oe.value,
2647
2649
  class: "g-multiselect-instructions"
2648
- }, P(t.instructions), 9, rr)) : a("", !0),
2650
+ }, P(t.instructions), 9, ir)) : a("", !0),
2649
2651
  s("div", {
2650
2652
  ref_key: "controlRef",
2651
2653
  ref: m,
2652
2654
  class: _(["g-multiselect-control", { "g-multiselect-control--disabled": t.disabled }]),
2653
- onClick: K
2655
+ onClick: G
2654
2656
  }, [
2655
2657
  d.value.length ? (T(), o("ul", {
2656
2658
  key: 0,
2657
2659
  class: "g-multiselect-chips",
2658
- "aria-labelledby": ie.value
2660
+ "aria-labelledby": ae.value
2659
2661
  }, [(T(!0), o(e, null, k(d.value, (e) => (T(), o("li", {
2660
2662
  key: e,
2661
2663
  class: "g-multiselect-chip"
2662
- }, [s("span", ar, P(L(e)), 1), s("button", {
2664
+ }, [s("span", or, P(L(e)), 1), s("button", {
2663
2665
  type: "button",
2664
2666
  class: "g-multiselect-chip-remove",
2665
2667
  "aria-label": `Remove ${L(e)}`,
2666
2668
  disabled: t.disabled,
2667
- onMousedown: te,
2668
- onClick: X((t) => W(e), ["stop"])
2669
+ onMousedown: ne,
2670
+ onClick: te((t) => W(e), ["stop"])
2669
2671
  }, [...r[0] ||= [s("svg", {
2670
2672
  xmlns: "http://www.w3.org/2000/svg",
2671
2673
  viewBox: "0 0 51.26 51.26",
@@ -2674,14 +2676,14 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2674
2676
  }, [s("path", {
2675
2677
  fill: "currentColor",
2676
2678
  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"
2677
- })], -1)]], 40, or)]))), 128))], 8, ir)) : a("", !0),
2679
+ })], -1)]], 40, sr)]))), 128))], 8, ar)) : a("", !0),
2678
2680
  s("input", h({
2679
2681
  ref_key: "inputRef",
2680
2682
  ref: p,
2681
2683
  type: "text",
2682
2684
  role: "combobox",
2683
2685
  class: "g-multiselect-input",
2684
- id: re.value,
2686
+ id: ie.value,
2685
2687
  value: x.value,
2686
2688
  placeholder: d.value.length === 0 ? t.placeholder : void 0,
2687
2689
  disabled: t.disabled,
@@ -2692,13 +2694,13 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2692
2694
  "aria-controls": R(f) + "-listbox",
2693
2695
  "aria-activedescendant": y.value && N.value.length > 0 ? R(f) + "-option-" + b.value : void 0
2694
2696
  }, t.hiddenLabel ? { "aria-label": t.label } : void 0, {
2695
- "aria-describedby": se.value,
2697
+ "aria-describedby": ce.value,
2696
2698
  "aria-required": t.required ? "true" : void 0,
2697
- onInput: q,
2698
- onKeydown: ne,
2699
- onFocus: J,
2700
- onBlur: ee
2701
- }), null, 16, sr),
2699
+ onInput: K,
2700
+ onKeydown: re,
2701
+ onFocus: q,
2702
+ onBlur: J
2703
+ }), null, 16, cr),
2702
2704
  r[2] ||= s("svg", {
2703
2705
  class: "g-multiselect-caret",
2704
2706
  xmlns: "http://www.w3.org/2000/svg",
@@ -2715,7 +2717,7 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2715
2717
  id: R(f) + "-listbox",
2716
2718
  role: "listbox",
2717
2719
  "aria-multiselectable": "true"
2718
- }, t.hiddenLabel ? { "aria-label": t.label } : { "aria-labelledby": ie.value }, {
2720
+ }, t.hiddenLabel ? { "aria-label": t.label } : { "aria-labelledby": ae.value }, {
2719
2721
  class: ["g-multiselect-listbox", { "g-multiselect-listbox--above": R(E) === "above" }],
2720
2722
  style: R(D),
2721
2723
  tabindex: "-1"
@@ -2728,41 +2730,41 @@ var dn = ["id"], fn = /* @__PURE__ */ u({
2728
2730
  "g-multiselect-option--selected": F(e.value)
2729
2731
  }]),
2730
2732
  "aria-selected": F(e.value) ? "true" : "false",
2731
- onMousedown: Z,
2733
+ onMousedown: X,
2732
2734
  onClick: (e) => U(t)
2733
- }, [s("span", ur, [F(e.value) ? (T(), o("svg", dr, [...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)]), c(" " + P(e.label), 1)], 42, lr))), 128)) : (T(), o("div", fr, " No results found. "))], 16, cr), [[G, y.value]])
2735
+ }, [s("span", dr, [F(e.value) ? (T(), o("svg", fr, [...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)]), c(" " + P(e.label), 1)], 42, ur))), 128)) : (T(), o("div", pr, " No results found. "))], 16, lr), [[ee, y.value]])
2734
2736
  ], 2),
2735
- l(Ae, {
2737
+ l(je, {
2736
2738
  errors: R(C),
2737
- id: oe.value
2739
+ id: se.value
2738
2740
  }, null, 8, ["errors", "id"])
2739
2741
  ], 2));
2740
2742
  }
2741
2743
  });
2742
2744
  //#endregion
2743
2745
  //#region src/compose/useFiltering.ts
2744
- function mr(e) {
2746
+ function hr(e) {
2745
2747
  if (!(Array.isArray(e) && e.length === 0) && !(e === null || e === !1 || e === "")) return e;
2746
2748
  }
2747
- function hr(e) {
2749
+ function gr(e) {
2748
2750
  return Object.fromEntries(Object.entries(e).filter(([e, t]) => t && (!Array.isArray(t) || t.length > 0)));
2749
2751
  }
2750
- function gr(e) {
2752
+ function _r(e) {
2751
2753
  if (e != null) return Array.isArray(e) ? e.filter((e) => e != null) : [e];
2752
2754
  }
2753
- function _r(e) {
2755
+ function vr(e) {
2754
2756
  let t = {};
2755
2757
  for (let [n, r] of Object.entries(F(e))) Array.isArray(r) ? r.length > 0 && (t[n] = r) : r === !0 ? t[n] = "true" : t[n] = r || void 0;
2756
2758
  return t;
2757
2759
  }
2758
- function vr(e) {
2760
+ function yr(e) {
2759
2761
  let t = {};
2760
2762
  return Object.keys(e).forEach((n) => {
2761
2763
  let r = e[n];
2762
2764
  r != null && r !== "" && r !== !1 && (Array.isArray(r) ? r.length > 0 && (t[n] = r.map((e) => String(e))) : t[n] = String(r));
2763
2765
  }), t;
2764
2766
  }
2765
- function yr(e, t = {}) {
2767
+ function br(e, t = {}) {
2766
2768
  let n = D(Object.fromEntries(Object.entries(e).map(([e, t]) => [e, t]))), i = t.syncWith;
2767
2769
  if (i) {
2768
2770
  if (i.value) {
@@ -2775,13 +2777,13 @@ function yr(e, t = {}) {
2775
2777
  });
2776
2778
  }
2777
2779
  K(n, (e) => {
2778
- i.value = vr(e);
2780
+ i.value = yr(e);
2779
2781
  }, { deep: !0 });
2780
2782
  }
2781
2783
  return {
2782
2784
  filters: n,
2783
2785
  isFiltered: r(() => {
2784
- for (let t of Object.keys(e)) if (mr(n[t])) return !0;
2786
+ for (let t of Object.keys(e)) if (hr(n[t])) return !0;
2785
2787
  return !1;
2786
2788
  }),
2787
2789
  clearFilters: () => {
@@ -2791,48 +2793,56 @@ function yr(e, t = {}) {
2791
2793
  },
2792
2794
  filteredColumns: r(() => {
2793
2795
  let t = {};
2794
- for (let r of Object.keys(e)) t[r] = !!mr(n[r]);
2796
+ for (let r of Object.keys(e)) t[r] = !!hr(n[r]);
2795
2797
  return t;
2796
2798
  })
2797
2799
  };
2798
2800
  }
2799
2801
  //#endregion
2800
2802
  //#region src/components/GTable.vue?vue&type=script&setup=true&lang.ts
2801
- var br = { class: "g-table-outer-wrap" }, xr = {
2803
+ var xr = { class: "g-table-outer-wrap" }, Sr = {
2802
2804
  key: 0,
2803
2805
  class: "g-table-controls"
2804
- }, Sr = { class: "g-clear-filters-wrap" }, Cr = {
2806
+ }, Cr = { class: "g-clear-filters-wrap" }, wr = {
2805
2807
  key: 0,
2806
2808
  class: "pagination"
2807
- }, wr = { class: "g-result-count" }, Tr = ["aria-label", "aria-rowcount"], Er = { class: "g-table-head" }, Dr = { "aria-rowindex": "1" }, Or = {
2809
+ }, Tr = { class: "g-result-count" }, Er = ["aria-label", "aria-rowcount"], Dr = { class: "g-table-head" }, Or = { "aria-rowindex": "1" }, kr = {
2808
2810
  key: 0,
2809
2811
  scope: "col",
2810
2812
  class: "g-th g-th-checkbox"
2811
- }, kr = [
2813
+ }, Ar = [
2812
2814
  "checked",
2813
2815
  "indeterminate",
2814
2816
  "aria-label"
2815
- ], Ar = ["id", "aria-sort"], jr = { class: "th-inner" }, Mr = ["onClick"], Nr = {
2817
+ ], jr = ["id", "aria-sort"], Mr = { class: "th-inner" }, Nr = ["onClick"], Pr = {
2816
2818
  key: 0,
2817
2819
  class: "sort-indicator"
2818
- }, Pr = ["aria-label"], Fr = {
2820
+ }, Fr = ["aria-label"], Ir = {
2819
2821
  key: 1,
2820
2822
  class: "g-column-head"
2821
- }, Ir = ["onClick", "aria-label"], Lr = { key: 1 }, Rr = { class: "g-filter-toggle" }, zr = [
2823
+ }, Lr = ["onClick", "aria-label"], Rr = {
2824
+ key: 1,
2825
+ class: "g-filter-search",
2826
+ role: "search"
2827
+ }, zr = [
2828
+ "onUpdate:modelValue",
2829
+ "placeholder",
2830
+ "aria-label"
2831
+ ], Br = { key: 2 }, Vr = { class: "g-filter-toggle" }, Hr = [
2822
2832
  "onUpdate:modelValue",
2823
2833
  "id",
2824
2834
  "aria-describedby"
2825
- ], Br = ["for"], Vr = ["id"], Hr = {
2826
- key: 3,
2835
+ ], Ur = ["for"], Wr = ["id"], Gr = {
2836
+ key: 4,
2827
2837
  class: "g-multi-select"
2828
- }, Ur = [
2838
+ }, Kr = [
2829
2839
  "onUpdate:modelValue",
2830
2840
  "id",
2831
2841
  "value"
2832
- ], Wr = ["for"], Gr = {
2842
+ ], qr = ["for"], Jr = {
2833
2843
  key: 1,
2834
2844
  class: "g-bulk-actions-toolbar"
2835
- }, Kr = { class: "g-selected-count" }, qr = { class: "g-bulk-actions" }, Jr = /* @__PURE__ */ u({
2845
+ }, Yr = { class: "g-selected-count" }, Xr = { class: "g-bulk-actions" }, Zr = /* @__PURE__ */ u({
2836
2846
  __name: "GTable",
2837
2847
  props: /*@__PURE__*/ m({
2838
2848
  label: {},
@@ -2881,7 +2891,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
2881
2891
  e.sortable && (u.value === e.key ? d.value === 1 ? d.value = -1 : d.value === -1 && (u.value = void 0, d.value = 1) : (u.value = e.key, d.value = 1));
2882
2892
  }
2883
2893
  let v = m.filtering;
2884
- v ||= yr({});
2894
+ v ||= br({});
2885
2895
  let { filters: b, filteredColumns: x, isFiltered: C, clearFilters: w } = v, E = r(() => m.data.map((e) => e.key)), D = r(() => p.value.filter((e) => E.value.includes(e))), j = r(() => !m.bulkSelectionEnabled || m.data.length === 0 ? !1 : D.value.length === E.value.length), M = r(() => !m.bulkSelectionEnabled || m.data.length === 0 ? !1 : D.value.length > 0 && D.value.length < E.value.length), N = O(null);
2886
2896
  function I() {
2887
2897
  if (j.value) p.value = p.value.filter((e) => !E.value.includes(e));
@@ -2906,16 +2916,18 @@ var br = { class: "g-table-outer-wrap" }, xr = {
2906
2916
  function U(e) {
2907
2917
  h("bulk-action", e, p.value);
2908
2918
  }
2909
- function G(e) {
2919
+ function ee(e) {
2910
2920
  let t = e.value, n = e.column.key, r = F(e.row[n]);
2911
- e.column.editable?.inputAttributes?.type === "number" && (t = e.value === "" ? null : Number(e.value)), e.row[n] = t, h("cell-change", {
2921
+ e.column.editable?.inputAttributes?.type === "number" && (t = e.value === "" ? null : Number(e.value)), e.row[n] = t;
2922
+ let i = {
2912
2923
  row: e.row,
2913
2924
  column: e.column,
2914
2925
  value: t,
2915
2926
  previousValue: r
2916
- });
2927
+ };
2928
+ h("cell-change", i);
2917
2929
  }
2918
- let q = B(), ee = H(), Z = r(() => m.showPagination ? !0 : !!ee.pagination), te = r(() => !!(C.value || Z.value));
2930
+ let q = B(), X = H(), ne = r(() => m.showPagination ? !0 : !!X.pagination), re = r(() => !!(C.value || ne.value));
2919
2931
  return S(() => {
2920
2932
  m.rowClickable && m.bulkSelectionEnabled && console.warn("GTable: rowClickable and bulkSelectionEnabled cannot be used together. rowClickable will be ignored.");
2921
2933
  for (let e of m.columns) if (e.editable && e.display && console.warn(`GTable: Column "${String(e.key)}" has both 'editable' and 'display' configured. 'display' will be ignored.`), e.filter && e.filter.type === "multi-select" && !Array.isArray(f.value[e.key])) {
@@ -2927,9 +2939,9 @@ var br = { class: "g-table-outer-wrap" }, xr = {
2927
2939
  let e = f.value[t.key];
2928
2940
  f.value[t.key] = e ? [e] : [];
2929
2941
  }
2930
- }, { immediate: !0 }), (n, r) => (T(), o("div", br, [
2931
- te.value ? (T(), o("div", xr, [
2932
- s("div", Sr, [R(C) ? (T(), i(Q, {
2942
+ }, { immediate: !0 }), (n, r) => (T(), o("div", xr, [
2943
+ re.value ? (T(), o("div", Sr, [
2944
+ s("div", Cr, [R(C) ? (T(), i(Q, {
2933
2945
  key: 0,
2934
2946
  outlined: "",
2935
2947
  size: "small",
@@ -2947,22 +2959,22 @@ var br = { class: "g-table-outer-wrap" }, xr = {
2947
2959
  })], -1), s("span", { class: "g-clear-filters-text" }, " Clear Filters ", -1)]]),
2948
2960
  _: 1
2949
2961
  }, 8, ["onClick"])) : a("", !0)]),
2950
- Z.value ? (T(), o("div", Cr, [A(n.$slots, "pagination")])) : a("", !0),
2951
- s("span", wr, P(m.resultCount || t.data.length) + " results", 1)
2962
+ ne.value ? (T(), o("div", wr, [A(n.$slots, "pagination")])) : a("", !0),
2963
+ s("span", Tr, P(m.resultCount || t.data.length) + " results", 1)
2952
2964
  ])) : a("", !0),
2953
2965
  s("table", {
2954
2966
  class: "g-table",
2955
2967
  ref: "tableRef",
2956
2968
  "aria-label": t.label,
2957
2969
  "aria-rowcount": m.resultCount || t.data.length
2958
- }, [s("thead", Er, [s("tr", Dr, [t.bulkSelectionEnabled ? (T(), o("th", Or, [s("input", {
2970
+ }, [s("thead", Dr, [s("tr", Or, [t.bulkSelectionEnabled ? (T(), o("th", kr, [s("input", {
2959
2971
  type: "checkbox",
2960
2972
  checked: j.value,
2961
2973
  indeterminate: M.value,
2962
2974
  onChange: I,
2963
2975
  "aria-label": j.value ? "Deselect all rows" : "Select all rows",
2964
2976
  class: "g-bulk-select-checkbox"
2965
- }, null, 40, kr)])) : a("", !0), (T(!0), o(e, null, k(t.columns, (t) => (T(), o("th", {
2977
+ }, null, 40, Ar)])) : a("", !0), (T(!0), o(e, null, k(t.columns, (t) => (T(), o("th", {
2966
2978
  key: t.key,
2967
2979
  id: `${R(q)}-th-${String(t.key)}`,
2968
2980
  "aria-sort": u.value === t.key ? d.value === 1 ? "ascending" : "descending" : "none",
@@ -2972,12 +2984,12 @@ var br = { class: "g-table-outer-wrap" }, xr = {
2972
2984
  { filtered: R(x)[t.key] }
2973
2985
  ]),
2974
2986
  scope: "col"
2975
- }, [s("div", jr, [t.sortable ? (T(), o("button", {
2987
+ }, [s("div", Mr, [t.sortable ? (T(), o("button", {
2976
2988
  key: 0,
2977
2989
  type: "button",
2978
2990
  class: "g-column-head",
2979
2991
  onClick: (e) => g(t)
2980
- }, [c(P(t.label) + " ", 1), u.value === t.key ? (T(), o("span", Nr, [(T(), o("svg", {
2992
+ }, [c(P(t.label) + " ", 1), u.value === t.key ? (T(), o("span", Pr, [(T(), o("svg", {
2981
2993
  xmlns: "http://www.w3.org/2000/svg",
2982
2994
  viewBox: "0 0 640 640",
2983
2995
  height: "1.5em",
@@ -2987,9 +2999,9 @@ var br = { class: "g-table-outer-wrap" }, xr = {
2987
2999
  }, [...r[1] ||= [s("path", {
2988
3000
  fill: "currentColor",
2989
3001
  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"
2990
- }, null, -1)]], 12, Pr))])) : a("", !0)], 8, Mr)) : (T(), o("span", Fr, P(t.label), 1)), t.filter ? (T(), i(it, { key: 2 }, {
3002
+ }, null, -1)]], 12, Fr))])) : a("", !0)], 8, Nr)) : (T(), o("span", Ir, P(t.label), 1)), t.filter ? (T(), i(at, { key: 2 }, {
2991
3003
  trigger: J(({ toggle: e }) => [s("button", {
2992
- onClick: X(e, ["stop"]),
3004
+ onClick: te(e, ["stop"]),
2993
3005
  "aria-label": R(x)[t.key] ? "Column Filtered" : "Filter Column",
2994
3006
  class: _(["g-filter-btn", { "g-active": R(x)[t.key] }]),
2995
3007
  type: "button"
@@ -3001,8 +3013,8 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3001
3013
  }, [s("path", {
3002
3014
  fill: "currentColor",
3003
3015
  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"
3004
- })], -1)]], 10, Ir)]),
3005
- default: J(() => [t.filter.type === "select" ? (T(), i(Ht, {
3016
+ })], -1)]], 10, Lr)]),
3017
+ default: J(() => [t.filter.type === "select" ? (T(), i(Ut, {
3006
3018
  key: 0,
3007
3019
  modelValue: f.value[t.key],
3008
3020
  "onUpdate:modelValue": (e) => f.value[t.key] = e,
@@ -3015,21 +3027,37 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3015
3027
  "modelValue",
3016
3028
  "onUpdate:modelValue",
3017
3029
  "options"
3018
- ])) : t.filter.type === "toggle" ? (T(), o("div", Lr, [s("div", Rr, [
3030
+ ])) : t.filter.type === "search" ? (T(), o("div", Rr, [r[3] ||= s("span", {
3031
+ class: "g-filter-search-icon",
3032
+ "aria-hidden": "true"
3033
+ }, [s("svg", {
3034
+ xmlns: "http://www.w3.org/2000/svg",
3035
+ viewBox: "0 0 51.26 51.26",
3036
+ height: "1em"
3037
+ }, [s("path", {
3038
+ fill: "currentColor",
3039
+ 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"
3040
+ })])], -1), Y(s("input", {
3041
+ type: "search",
3042
+ class: "g-filter-search-input",
3043
+ "onUpdate:modelValue": (e) => f.value[t.key] = e,
3044
+ placeholder: t.filter.placeholder,
3045
+ "aria-label": `Search ${t.label}`
3046
+ }, null, 8, zr), [[G, f.value[t.key]]])])) : t.filter.type === "toggle" ? (T(), o("div", Br, [s("div", Vr, [
3019
3047
  Y(s("input", {
3020
3048
  type: "checkbox",
3021
3049
  "onUpdate:modelValue": (e) => f.value[t.key] = e,
3022
3050
  id: `${R(q)}-filter-${String(t.key)}`,
3023
3051
  "aria-describedby": t.filter.description ? `${R(q)}-filter-description-${String(t.key)}` : void 0
3024
- }, null, 8, zr), [[W, f.value[t.key]]]),
3025
- s("label", { for: `${R(q)}-filter-${String(t.key)}` }, P(t.filter.label), 9, Br),
3052
+ }, null, 8, Hr), [[W, f.value[t.key]]]),
3053
+ s("label", { for: `${R(q)}-filter-${String(t.key)}` }, P(t.filter.label), 9, Ur),
3026
3054
  t.filter.description ? (T(), o("span", {
3027
3055
  key: 0,
3028
3056
  class: "g-filter-description",
3029
3057
  id: `${R(q)}-filter-description-${String(t.key)}`
3030
- }, P(t.filter.description), 9, Vr)) : a("", !0)
3031
- ])])) : t.filter.type === "multi-select" && t.filter.searchable ? (T(), i(pr, {
3032
- key: 2,
3058
+ }, P(t.filter.description), 9, Wr)) : a("", !0)
3059
+ ])])) : t.filter.type === "multi-select" && t.filter.searchable ? (T(), i(mr, {
3060
+ key: 3,
3033
3061
  modelValue: f.value[t.key],
3034
3062
  "onUpdate:modelValue": (e) => f.value[t.key] = e,
3035
3063
  options: t.filter.options,
@@ -3041,15 +3069,15 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3041
3069
  "onUpdate:modelValue",
3042
3070
  "options",
3043
3071
  "placeholder"
3044
- ])) : t.filter.type === "multi-select" ? (T(), o("fieldset", Hr, [
3045
- r[4] ||= s("legend", { class: "g-multi-select-legend" }, " Include values ", -1),
3072
+ ])) : t.filter.type === "multi-select" ? (T(), o("fieldset", Gr, [
3073
+ r[5] ||= s("legend", { class: "g-multi-select-legend" }, " Include values ", -1),
3046
3074
  (T(!0), o(e, null, k(t.filter.options, (e) => (T(), o("div", { key: e.value }, [Y(s("input", {
3047
3075
  type: "checkbox",
3048
3076
  "onUpdate:modelValue": (e) => f.value[t.key] = e,
3049
3077
  id: `filter-${String(t.key)}-${e.value}`,
3050
3078
  value: e.value,
3051
3079
  name: "filter-multiselect"
3052
- }, null, 8, Ur), [[W, f.value[t.key]]]), s("label", { for: `filter-${String(t.key)}-${e.value}` }, P(e.label), 9, Wr)]))), 128)),
3080
+ }, null, 8, Kr), [[W, f.value[t.key]]]), s("label", { for: `filter-${String(t.key)}-${e.value}` }, P(e.label), 9, qr)]))), 128)),
3053
3081
  f.value[t.key] && f.value[t.key].length ? (T(), i(Q, {
3054
3082
  key: 0,
3055
3083
  class: "clear-multiselect-btn",
@@ -3057,12 +3085,12 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3057
3085
  size: "small",
3058
3086
  onClick: (e) => f.value[t.key] = []
3059
3087
  }, {
3060
- default: J(() => [...r[3] ||= [c(" Clear ", -1)]]),
3088
+ default: J(() => [...r[4] ||= [c(" Clear ", -1)]]),
3061
3089
  _: 1
3062
3090
  }, 8, ["onClick"])) : a("", !0)
3063
3091
  ])) : a("", !0)]),
3064
3092
  _: 2
3065
- }, 1024)) : a("", !0)])], 10, Ar))), 128))])]), l(er, {
3093
+ }, 1024)) : a("", !0)])], 10, jr))), 128))])]), l(tr, {
3066
3094
  data: t.data,
3067
3095
  columns: t.columns,
3068
3096
  "group-by": t.groupBy,
@@ -3076,7 +3104,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3076
3104
  "change-tracker": t.changeTracker,
3077
3105
  onRowClick: z,
3078
3106
  onToggleRow: L,
3079
- onCellChange: G
3107
+ onCellChange: ee
3080
3108
  }, null, 8, [
3081
3109
  "data",
3082
3110
  "columns",
@@ -3089,8 +3117,8 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3089
3117
  "selected-rows",
3090
3118
  "table-id",
3091
3119
  "change-tracker"
3092
- ])], 8, Tr),
3093
- t.bulkSelectionEnabled && p.value.length > 0 ? (T(), o("div", Gr, [s("span", Kr, P(p.value.length) + " row" + P(p.value.length === 1 ? "" : "s") + " selected", 1), s("ul", qr, [(T(!0), o(e, null, k(t.bulkActions, (e) => (T(), o("li", { key: e.id }, [l(Q, {
3120
+ ])], 8, Er),
3121
+ t.bulkSelectionEnabled && p.value.length > 0 ? (T(), o("div", Jr, [s("span", Yr, P(p.value.length) + " row" + P(p.value.length === 1 ? "" : "s") + " selected", 1), s("ul", Xr, [(T(!0), o(e, null, k(t.bulkActions, (e) => (T(), o("li", { key: e.id }, [l(Q, {
3094
3122
  theme: e.theme || "accent",
3095
3123
  onClick: (t) => U(e.id),
3096
3124
  size: "small"
@@ -3100,10 +3128,10 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3100
3128
  }, 1032, ["theme", "onClick"])]))), 128))])])) : a("", !0)
3101
3129
  ]));
3102
3130
  }
3103
- }), Yr = {
3131
+ }), Qr = {
3104
3132
  class: "g-pagination",
3105
3133
  "aria-label": "Pagination"
3106
- }, Xr = ["disabled"], Zr = ["disabled"], Qr = { class: "page-range" }, $r = ["disabled"], ei = ["disabled"], ti = ["value"], ni = ["value"], ri = /* @__PURE__ */ u({
3134
+ }, $r = ["disabled"], ei = ["disabled"], ti = { class: "page-range" }, ni = ["disabled"], ri = ["disabled"], ii = ["value"], ai = ["value"], oi = /* @__PURE__ */ u({
3107
3135
  __name: "GTablePagination",
3108
3136
  props: /*@__PURE__*/ m({
3109
3137
  start: {},
@@ -3125,7 +3153,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3125
3153
  function h(e) {
3126
3154
  c.value = parseInt(e.target.value, 10);
3127
3155
  }
3128
- return (t, r) => (T(), o("nav", Yr, [
3156
+ return (t, r) => (T(), o("nav", Qr, [
3129
3157
  s("button", {
3130
3158
  class: "first-page g-pagination-button",
3131
3159
  disabled: p.value === 1,
@@ -3150,7 +3178,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3150
3178
  }),
3151
3179
  s("path", { d: "M11 7l-5 5l5 5" }),
3152
3180
  s("path", { d: "M17 7l-5 5l5 5" })
3153
- ], -1)]], 8, Xr),
3181
+ ], -1)]], 8, $r),
3154
3182
  s("button", {
3155
3183
  class: "prev-page g-pagination-button",
3156
3184
  disabled: p.value === 1,
@@ -3171,8 +3199,8 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3171
3199
  stroke: "none",
3172
3200
  d: "M0 0h24v24H0z",
3173
3201
  fill: "none"
3174
- }), s("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Zr),
3175
- s("span", Qr, P(d.value) + " to " + P(f.value), 1),
3202
+ }), s("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, ei),
3203
+ s("span", ti, P(d.value) + " to " + P(f.value), 1),
3176
3204
  s("button", {
3177
3205
  class: "next-page g-pagination-button",
3178
3206
  disabled: p.value === i.value,
@@ -3193,7 +3221,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3193
3221
  stroke: "none",
3194
3222
  d: "M0 0h24v24H0z",
3195
3223
  fill: "none"
3196
- }), s("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, $r),
3224
+ }), s("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, ni),
3197
3225
  s("button", {
3198
3226
  class: "last-page g-pagination-button",
3199
3227
  disabled: p.value === i.value,
@@ -3218,7 +3246,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3218
3246
  }),
3219
3247
  s("path", { d: "M7 7l5 5l-5 5" }),
3220
3248
  s("path", { d: "M13 7l5 5l-5 5" })
3221
- ], -1)]], 8, ei),
3249
+ ], -1)]], 8, ri),
3222
3250
  s("select", {
3223
3251
  id: "page-size-select",
3224
3252
  class: "page-size-select",
@@ -3232,14 +3260,14 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3232
3260
  ], (e) => (T(), o("option", {
3233
3261
  key: e,
3234
3262
  value: e
3235
- }, P(e), 9, ni))), 128))], 40, ti),
3263
+ }, P(e), 9, ai))), 128))], 40, ii),
3236
3264
  r[8] ||= s("label", {
3237
3265
  class: "page-size-label",
3238
3266
  for: "page-size-select"
3239
3267
  }, "per page", -1)
3240
3268
  ]));
3241
3269
  }
3242
- }), ii = ["id"], ai = { class: "g-modal-inner" }, oi = { class: "g-modal-header" }, si = ["id"], ci = ["id"], li = /* @__PURE__ */ u({
3270
+ }), si = ["id"], ci = { class: "g-modal-inner" }, li = { class: "g-modal-header" }, ui = ["id"], di = ["id"], fi = /* @__PURE__ */ u({
3243
3271
  __name: "GModal",
3244
3272
  props: {
3245
3273
  label: {},
@@ -3253,11 +3281,11 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3253
3281
  },
3254
3282
  emits: ["close"],
3255
3283
  setup(e, { emit: c }) {
3256
- let u = e, d = c, f = U("dialog"), p = O(!0), m = B(), { pop: g, push: _, isTop: v, zIndex: y } = Ge(m, !0, !0), { deactivate: x, activate: C } = Ze(f, v);
3284
+ let u = e, d = c, f = U("dialog"), p = O(!0), m = B(), { pop: g, push: _, isTop: v, zIndex: y } = Ke(m, !0, !0), { deactivate: x, activate: C } = Qe(f, v);
3257
3285
  function w() {
3258
3286
  d("close");
3259
3287
  }
3260
- Qe([f], v, p, w, g), S(() => {
3288
+ $e([f], v, p, w, g), S(() => {
3261
3289
  _(), C();
3262
3290
  }), b(() => {
3263
3291
  g(), x();
@@ -3283,12 +3311,12 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3283
3311
  ref_key: "dialog",
3284
3312
  ref: f,
3285
3313
  style: { zIndex: R(y) }
3286
- }), [s("div", ai, [s("div", oi, [e.hiddenLabel ? a("", !0) : (T(), o("h2", {
3314
+ }), [s("div", ci, [s("div", li, [e.hiddenLabel ? a("", !0) : (T(), o("h2", {
3287
3315
  key: 0,
3288
3316
  id: "modal-label-" + R(m),
3289
3317
  class: "g-modal-label",
3290
3318
  tabindex: "-1"
3291
- }, P(e.label), 9, si)), s("button", {
3319
+ }, P(e.label), 9, ui)), s("button", {
3292
3320
  class: "g-modal-close",
3293
3321
  onClick: w,
3294
3322
  "aria-label": "Close"
@@ -3303,19 +3331,19 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3303
3331
  })], -1)]])]), s("div", {
3304
3332
  id: "modal-description-" + R(m),
3305
3333
  class: "g-modal-content"
3306
- }, [A(r.$slots, "default")], 8, ci)])], 16, ii)]),
3334
+ }, [A(r.$slots, "default")], 8, di)])], 16, si)]),
3307
3335
  _: 3
3308
3336
  })]));
3309
3337
  }
3310
- }), ui = [
3338
+ }), pi = [
3311
3339
  "id",
3312
3340
  "aria-expanded",
3313
3341
  "aria-label",
3314
3342
  "aria-controls"
3315
- ], di = {
3343
+ ], mi = {
3316
3344
  key: 0,
3317
3345
  class: "g-hamburger-label"
3318
- }, fi = /* @__PURE__ */ u({
3346
+ }, hi = /* @__PURE__ */ u({
3319
3347
  __name: "GHamburgerMenu",
3320
3348
  props: {
3321
3349
  label: { default: "Main Navigation" },
@@ -3328,7 +3356,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3328
3356
  },
3329
3357
  emits: ["toggle"],
3330
3358
  setup(e, { emit: t }) {
3331
- let n = e, r = p("sidebar") ?? (fe() ? ln(n.sidebarKey, I(n, "mediaQuery")) : void 0), i = t;
3359
+ let n = e, r = p("sidebar") ?? (Z() ? un(n.sidebarKey, I(n, "mediaQuery")) : void 0), i = t;
3332
3360
  function c() {
3333
3361
  i("toggle"), r?.toggle();
3334
3362
  }
@@ -3351,34 +3379,34 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3351
3379
  xmlns: "http://www.w3.org/2000/svg",
3352
3380
  viewBox: "0 0 51.26 51.26",
3353
3381
  role: "none"
3354
- }, [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 ? (T(), o("span", di, P(e.label), 1)) : a("", !0)], 42, ui));
3382
+ }, [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 ? (T(), o("span", mi, P(e.label), 1)) : a("", !0)], 42, pi));
3355
3383
  }
3356
- }), pi = /* @__PURE__ */ u({
3384
+ }), gi = /* @__PURE__ */ u({
3357
3385
  __name: "GDetailList",
3358
3386
  props: { variant: { default: "grid" } },
3359
3387
  setup(e) {
3360
3388
  let t = e;
3361
3389
  return (e, n) => (T(), o("dl", { class: _(["g-detail-list", `g-detail-list--${t.variant}`]) }, [A(e.$slots, "default")], 2));
3362
3390
  }
3363
- }), mi = { class: "g-detail-list-item" }, hi = { class: "g-detail-list-item__label" }, gi = { class: "g-detail-list-item__value" }, _i = /* @__PURE__ */ u({
3391
+ }), _i = { class: "g-detail-list-item" }, vi = { class: "g-detail-list-item__label" }, yi = { class: "g-detail-list-item__value" }, bi = /* @__PURE__ */ u({
3364
3392
  __name: "GDetailListItem",
3365
3393
  props: { label: {} },
3366
3394
  setup(e) {
3367
- return (t, n) => (T(), o("div", mi, [s("dt", hi, [A(t.$slots, "label", {}, () => [c(P(e.label), 1)])]), s("dd", gi, [A(t.$slots, "default")])]));
3395
+ return (t, n) => (T(), o("div", _i, [s("dt", vi, [A(t.$slots, "label", {}, () => [c(P(e.label), 1)])]), s("dd", yi, [A(t.$slots, "default")])]));
3368
3396
  }
3369
- }), vi = {
3397
+ }), xi = {
3370
3398
  key: 0,
3371
3399
  class: "g-scroll-lock-overlay"
3372
- }, yi = /* @__PURE__ */ u({
3400
+ }, Si = /* @__PURE__ */ u({
3373
3401
  __name: "GOverlay",
3374
3402
  setup(e) {
3375
- let { hasScrollLock: t } = Ke();
3403
+ let { hasScrollLock: t } = qe();
3376
3404
  return (e, r) => (T(), i(n, { name: "g-fade" }, {
3377
- default: J(() => [R(t) ? (T(), o("div", vi)) : a("", !0)]),
3405
+ default: J(() => [R(t) ? (T(), o("div", xi)) : a("", !0)]),
3378
3406
  _: 1
3379
3407
  }));
3380
3408
  }
3381
- }), bi = { class: "popover-content" }, xi = { class: "year-dropdown" }, Si = { class: "month-selector" }, Ci = /* @__PURE__ */ u({
3409
+ }), Ci = { class: "popover-content" }, wi = { class: "year-dropdown" }, Ti = { class: "month-selector" }, Ei = /* @__PURE__ */ u({
3382
3410
  __name: "GTermSelectorControl",
3383
3411
  props: /*@__PURE__*/ m({
3384
3412
  termYears: { default: () => ["2026"] },
@@ -3399,7 +3427,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3399
3427
  emits: ["update:modelValue"],
3400
3428
  setup(e) {
3401
3429
  let t = V(e, "modelValue");
3402
- return (n, r) => (T(), o("div", bi, [s("div", xi, [l(Ht, {
3430
+ return (n, r) => (T(), o("div", Ci, [s("div", wi, [l(Ut, {
3403
3431
  modelValue: t.value.year,
3404
3432
  "onUpdate:modelValue": r[0] ||= (e) => t.value.year = e,
3405
3433
  options: e.termYears,
@@ -3408,7 +3436,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3408
3436
  "modelValue",
3409
3437
  "options",
3410
3438
  "label"
3411
- ])]), s("div", Si, [l(yt, {
3439
+ ])]), s("div", Ti, [l(bt, {
3412
3440
  modelValue: t.value.name,
3413
3441
  "onUpdate:modelValue": r[1] ||= (e) => t.value.name = e,
3414
3442
  options: e.termNames,
@@ -3420,10 +3448,10 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3420
3448
  "label"
3421
3449
  ])])]));
3422
3450
  }
3423
- }), wi = { class: "g-term-selector" }, Ti = { class: "g-term-label" }, Ei = {
3451
+ }), Di = { class: "g-term-selector" }, Oi = { class: "g-term-label" }, ki = {
3424
3452
  class: "g-popover-title",
3425
3453
  tabindex: "-1"
3426
- }, Di = /* @__PURE__ */ u({
3454
+ }, Ai = /* @__PURE__ */ u({
3427
3455
  __name: "GTermSelector",
3428
3456
  props: /*@__PURE__*/ m({
3429
3457
  heading: { default: "Period Selection" },
@@ -3445,7 +3473,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3445
3473
  emits: ["update:modelValue"],
3446
3474
  setup(e) {
3447
3475
  let t = V(e, "modelValue");
3448
- return (n, r) => (T(), o("div", wi, [l(it, null, {
3476
+ return (n, r) => (T(), o("div", Di, [l(at, null, {
3449
3477
  trigger: J(({ toggle: e }) => [l(Q, {
3450
3478
  class: "g-term-selector-button",
3451
3479
  theme: "none",
@@ -3458,7 +3486,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3458
3486
  xmlns: "http://www.w3.org/2000/svg",
3459
3487
  viewBox: "0 0 640 640"
3460
3488
  }, [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),
3461
- s("span", Ti, P(t.value?.name) + " " + P(t.value?.year), 1),
3489
+ s("span", Oi, P(t.value?.name) + " " + P(t.value?.year), 1),
3462
3490
  r[1] ||= s("span", { class: "g-caret" }, [s("svg", {
3463
3491
  role: "none",
3464
3492
  xmlns: "http://www.w3.org/2000/svg",
@@ -3467,15 +3495,15 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3467
3495
  ]),
3468
3496
  _: 1
3469
3497
  }, 8, ["onClick"])]),
3470
- default: J(() => [s("h2", Ei, P(e.heading), 1), l(Ci, v(f(n.$props)), null, 16)]),
3498
+ default: J(() => [s("h2", ki, P(e.heading), 1), l(Ei, v(f(n.$props)), null, 16)]),
3471
3499
  _: 1
3472
3500
  })]));
3473
3501
  }
3474
- }), Oi = { class: "g-user-menu" }, ki = [
3502
+ }), ji = { class: "g-user-menu" }, Mi = [
3475
3503
  "aria-label",
3476
3504
  "aria-expanded",
3477
3505
  "onClick"
3478
- ], Ai = { class: "g-user-menu__popover" }, ji = { class: "g-user-menu__list" }, Mi = /* @__PURE__ */ u({
3506
+ ], Ni = { class: "g-user-menu__popover" }, Pi = { class: "g-user-menu__list" }, Fi = /* @__PURE__ */ u({
3479
3507
  __name: "GUserMenu",
3480
3508
  props: {
3481
3509
  initials: {},
@@ -3487,7 +3515,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3487
3515
  let n = `${B()}-email`, r = O(!1), a = U("emailHeading");
3488
3516
  d()?.appContext?.components?.RouterLink;
3489
3517
  let c = H();
3490
- return (u, d) => (T(), o("div", Oi, [l(it, {
3518
+ return (u, d) => (T(), o("div", ji, [l(at, {
3491
3519
  modelValue: r.value,
3492
3520
  "onUpdate:modelValue": d[0] ||= (e) => r.value = e,
3493
3521
  minimal: ""
@@ -3499,8 +3527,8 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3499
3527
  "aria-expanded": r.value,
3500
3528
  "aria-haspopup": "menu",
3501
3529
  onClick: e
3502
- }, P(t.initials), 13, ki)]),
3503
- default: J(() => [s("div", Ai, [s("h2", {
3530
+ }, P(t.initials), 13, Mi)]),
3531
+ default: J(() => [s("div", Ni, [s("h2", {
3504
3532
  id: n,
3505
3533
  ref_key: "emailHeading",
3506
3534
  ref: a,
@@ -3509,11 +3537,11 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3509
3537
  }, P(t.email), 513), s("nav", {
3510
3538
  class: "g-user-menu__nav",
3511
3539
  "aria-labelledby": n
3512
- }, [s("ul", ji, [(T(!0), o(e, null, k(c.default(), (e, t) => (T(), o("li", { key: t }, [(T(), i(j(e)))]))), 128))])])])]),
3540
+ }, [s("ul", Pi, [(T(!0), o(e, null, k(c.default(), (e, t) => (T(), o("li", { key: t }, [(T(), i(j(e)))]))), 128))])])])]),
3513
3541
  _: 1
3514
3542
  }, 8, ["modelValue"])]));
3515
3543
  }
3516
- }), Ni = /* @__PURE__ */ u({
3544
+ }), Ii = /* @__PURE__ */ u({
3517
3545
  __name: "GCurrencyInput",
3518
3546
  props: /*@__PURE__*/ m({
3519
3547
  label: { default: void 0 },
@@ -3537,7 +3565,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3537
3565
  emits: ["update:modelValue"],
3538
3566
  setup(e) {
3539
3567
  let t = e, n = V(e, "modelValue");
3540
- return (e, r) => (T(), i(Le, h({
3568
+ return (e, r) => (T(), i(Re, h({
3541
3569
  modelValue: n.value,
3542
3570
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
3543
3571
  name: t.name,
@@ -3564,7 +3592,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3564
3592
  "form-key"
3565
3593
  ]));
3566
3594
  }
3567
- }), Pi = /* @__PURE__ */ u({
3595
+ }), Li = /* @__PURE__ */ u({
3568
3596
  __name: "GEmailInput",
3569
3597
  props: /*@__PURE__*/ m({
3570
3598
  label: { default: void 0 },
@@ -3587,7 +3615,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3587
3615
  emits: ["update:modelValue"],
3588
3616
  setup(e) {
3589
3617
  let t = V(e, "modelValue");
3590
- return (n, r) => (T(), i(Le, h({
3618
+ return (n, r) => (T(), i(Re, h({
3591
3619
  modelValue: t.value,
3592
3620
  "onUpdate:modelValue": r[0] ||= (e) => t.value = e,
3593
3621
  name: e.name,
@@ -3609,13 +3637,13 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3609
3637
  "instructions"
3610
3638
  ]));
3611
3639
  }
3612
- }), Fi = ["for"], Ii = {
3640
+ }), Ri = ["for"], zi = {
3613
3641
  key: 0,
3614
3642
  class: "g-file-input-required"
3615
- }, Li = {
3643
+ }, Bi = {
3616
3644
  key: 0,
3617
3645
  class: "g-file-input-box-header"
3618
- }, Ri = ["id"], zi = [
3646
+ }, Vi = ["id"], Hi = [
3619
3647
  "id",
3620
3648
  "disabled",
3621
3649
  "required",
@@ -3624,11 +3652,11 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3624
3652
  "aria-invalid",
3625
3653
  "aria-describedby",
3626
3654
  "aria-errormessage"
3627
- ], Bi = {
3655
+ ], Ui = {
3628
3656
  key: 1,
3629
3657
  class: "g-file-input-pills",
3630
3658
  "aria-label": "Selected files"
3631
- }, Vi = /* @__PURE__ */ u({
3659
+ }, Wi = /* @__PURE__ */ u({
3632
3660
  inheritAttrs: !1,
3633
3661
  __name: "GFileInput",
3634
3662
  props: /*@__PURE__*/ m({
@@ -3685,12 +3713,12 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3685
3713
  key: 0,
3686
3714
  for: R(d),
3687
3715
  class: "g-file-input-label"
3688
- }, [c(P(t.label) + " ", 1), t.required ? (T(), o("span", Ii, "*")) : a("", !0)], 8, Fi)) : a("", !0),
3716
+ }, [c(P(t.label) + " ", 1), t.required ? (T(), o("span", zi, "*")) : a("", !0)], 8, Ri)) : a("", !0),
3689
3717
  s("div", { class: _(["g-file-input-box", { "g-file-input-box--disabled": t.disabled }]) }, [
3690
- t.instructions ? (T(), o("div", Li, [s("span", {
3718
+ t.instructions ? (T(), o("div", Bi, [s("span", {
3691
3719
  id: "instructions-" + R(d),
3692
3720
  class: "g-file-input-instructions"
3693
- }, P(t.instructions), 9, Ri)])) : a("", !0),
3721
+ }, P(t.instructions), 9, Vi)])) : a("", !0),
3694
3722
  s("input", {
3695
3723
  id: R(d),
3696
3724
  type: "file",
@@ -3703,8 +3731,8 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3703
3731
  "aria-describedby": t.instructions ? "instructions-" + R(d) : void 0,
3704
3732
  "aria-errormessage": y.value ? "error-message-" + R(d) : void 0,
3705
3733
  onChange: g
3706
- }, null, 40, zi),
3707
- t.multiple && b.value.length > 0 ? (T(), o("ul", Bi, [(T(!0), o(e, null, k(b.value, (e) => (T(), o("li", {
3734
+ }, null, 40, Hi),
3735
+ t.multiple && b.value.length > 0 ? (T(), o("ul", Ui, [(T(!0), o(e, null, k(b.value, (e) => (T(), o("li", {
3708
3736
  key: e,
3709
3737
  class: "g-file-input-pill"
3710
3738
  }, [r[0] ||= s("svg", {
@@ -3714,13 +3742,13 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3714
3742
  viewBox: "0 0 640 640"
3715
3743
  }, [s("path", { d: "M192 64C156.7 64 128 92.7 128 128L128 512C128 547.3 156.7 576 192 576L448 576C483.3 576 512 547.3 512 512L512 234.5C512 217.5 505.3 201.2 493.3 189.2L386.7 82.7C374.7 70.7 358.5 64 341.5 64L192 64zM453.5 240L360 240C346.7 240 336 229.3 336 216L336 122.5L453.5 240z" })], -1), c(" " + P(e), 1)]))), 128))])) : a("", !0)
3716
3744
  ], 2),
3717
- l(Ae, {
3745
+ l(je, {
3718
3746
  errors: v.value,
3719
3747
  id: "error-message-" + R(d)
3720
3748
  }, null, 8, ["errors", "id"])
3721
3749
  ], 2));
3722
3750
  }
3723
- }), Hi = /* @__PURE__ */ u({
3751
+ }), Gi = /* @__PURE__ */ u({
3724
3752
  __name: "GDateInput",
3725
3753
  props: /*@__PURE__*/ m({
3726
3754
  label: { default: void 0 },
@@ -3744,7 +3772,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3744
3772
  emits: ["update:modelValue"],
3745
3773
  setup(e) {
3746
3774
  let t = e, n = V(e, "modelValue");
3747
- return (e, r) => (T(), i(Le, h({
3775
+ return (e, r) => (T(), i(Re, h({
3748
3776
  modelValue: n.value,
3749
3777
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
3750
3778
  name: t.name,
@@ -3768,21 +3796,21 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3768
3796
  "form-key"
3769
3797
  ]));
3770
3798
  }
3771
- }), Ui = { class: "g-date-range-input" }, Wi = {
3799
+ }), Ki = { class: "g-date-range-input" }, qi = {
3772
3800
  key: 0,
3773
3801
  class: "g-date-range-input__label"
3774
- }, Gi = {
3802
+ }, Ji = {
3775
3803
  key: 0,
3776
3804
  class: "g-date-range-input__required",
3777
3805
  "aria-hidden": "true"
3778
- }, Ki = {
3806
+ }, Yi = {
3779
3807
  key: 1,
3780
3808
  class: "g-date-range-input__instructions"
3781
- }, qi = { class: "g-date-range-input__fields" }, Ji = {
3809
+ }, Xi = { class: "g-date-range-input__fields" }, Zi = {
3782
3810
  key: 2,
3783
3811
  class: "g-date-range-input__errors",
3784
3812
  role: "alert"
3785
- }, Yi = /* @__PURE__ */ u({
3813
+ }, Qi = /* @__PURE__ */ u({
3786
3814
  __name: "GDateRangeInput",
3787
3815
  props: /*@__PURE__*/ m({
3788
3816
  label: { default: void 0 },
@@ -3822,10 +3850,10 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3822
3850
  };
3823
3851
  }), K(r, (e) => {
3824
3852
  e.start !== i.value && (i.value = e.start), e.end !== u.value && (u.value = e.end);
3825
- }, { deep: !0 }), (t, r) => (T(), o("div", Ui, [
3826
- n.label ? (T(), o("div", Wi, [c(P(n.label), 1), n.required ? (T(), o("span", Gi, " *")) : a("", !0)])) : a("", !0),
3827
- n.instructions ? (T(), o("div", Ki, P(n.instructions), 1)) : a("", !0),
3828
- s("div", qi, [l(Hi, {
3853
+ }, { deep: !0 }), (t, r) => (T(), o("div", Ki, [
3854
+ n.label ? (T(), o("div", qi, [c(P(n.label), 1), n.required ? (T(), o("span", Ji, " *")) : a("", !0)])) : a("", !0),
3855
+ n.instructions ? (T(), o("div", Yi, P(n.instructions), 1)) : a("", !0),
3856
+ s("div", Xi, [l(Gi, {
3829
3857
  modelValue: i.value,
3830
3858
  "onUpdate:modelValue": r[0] ||= (e) => i.value = e,
3831
3859
  label: n.startLabel,
@@ -3837,7 +3865,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3837
3865
  "label",
3838
3866
  "disabled",
3839
3867
  "required"
3840
- ]), l(Hi, {
3868
+ ]), l(Gi, {
3841
3869
  modelValue: u.value,
3842
3870
  "onUpdate:modelValue": r[1] ||= (e) => u.value = e,
3843
3871
  label: n.endLabel,
@@ -3850,13 +3878,13 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3850
3878
  "disabled",
3851
3879
  "required"
3852
3880
  ])]),
3853
- R(d).length > 0 ? (T(), o("div", Ji, [(T(!0), o(e, null, k(R(d), (e, t) => (T(), o("div", {
3881
+ R(d).length > 0 ? (T(), o("div", Zi, [(T(!0), o(e, null, k(R(d), (e, t) => (T(), o("div", {
3854
3882
  key: t,
3855
3883
  class: "g-date-range-input__error"
3856
3884
  }, P(e), 1))), 128))])) : a("", !0)
3857
3885
  ]));
3858
3886
  }
3859
- }), Xi = ["action", "method"], Zi = /* @__PURE__ */ u({
3887
+ }), $i = ["action", "method"], ea = /* @__PURE__ */ u({
3860
3888
  __name: "GForm",
3861
3889
  props: /*@__PURE__*/ m({
3862
3890
  action: { default: void 0 },
@@ -3868,7 +3896,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3868
3896
  }),
3869
3897
  emits: /*@__PURE__*/ m(["submit"], ["update:modelValue"]),
3870
3898
  setup(e, { emit: t }) {
3871
- let n = e, r = V(e, "modelValue"), i = t, a = p("form", null), s = a ?? (fe() ? Oe(n.formKey) : Ee());
3899
+ let n = e, r = V(e, "modelValue"), i = t, a = p("form", null), s = a ?? (Z() ? ke(n.formKey) : De());
3872
3900
  a || E("form", s), K(() => s.values.value, (e) => {
3873
3901
  r.value = { ...e };
3874
3902
  }, { deep: !0 }), K(() => r.value, (e) => {
@@ -3896,9 +3924,9 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3896
3924
  hasErrors: R(s).hasErrors.value,
3897
3925
  values: R(s).values.value,
3898
3926
  errors: R(s).errors.value
3899
- })], 40, Xi));
3927
+ })], 40, $i));
3900
3928
  }
3901
- }), Qi = /* @__PURE__ */ u({
3929
+ }), ta = /* @__PURE__ */ u({
3902
3930
  __name: "GSubmitButton",
3903
3931
  props: {
3904
3932
  disabled: {
@@ -3910,32 +3938,32 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3910
3938
  formKey: { default: "default" }
3911
3939
  },
3912
3940
  setup(e) {
3913
- let t = e, n = z(), a = typeof n["form-key"] == "string" ? n["form-key"] : void 0, o = t.formKey || a || "default", l = p("form", null) ?? (fe() ? Oe(o) : null), u = r(() => t.disabled || (l?.isSubmitting.value ?? !1)), d = r(() => l?.isSubmitting.value ?? !1);
3941
+ let t = e, n = z(), a = typeof n["form-key"] == "string" ? n["form-key"] : void 0, o = t.formKey || a || "default", l = p("form", null) ?? (Z() ? ke(o) : null), u = r(() => t.disabled || (l?.isSubmitting.value ?? !1)), d = r(() => l?.isSubmitting.value ?? !1);
3914
3942
  return (e, n) => (T(), i(Q, {
3915
3943
  type: "submit",
3916
3944
  disabled: u.value,
3917
3945
  variant: t.variant,
3918
3946
  class: "g-submit-button"
3919
3947
  }, {
3920
- default: J(() => [Y(s("span", null, P(t.loadingText), 513), [[G, d.value]]), Y(s("span", null, [A(e.$slots, "default", {}, () => [n[0] ||= c("Submit", -1)])], 512), [[G, !d.value]])]),
3948
+ default: J(() => [Y(s("span", null, P(t.loadingText), 513), [[ee, d.value]]), Y(s("span", null, [A(e.$slots, "default", {}, () => [n[0] ||= c("Submit", -1)])], 512), [[ee, !d.value]])]),
3921
3949
  _: 3
3922
3950
  }, 8, ["disabled", "variant"]));
3923
3951
  }
3924
- }), $i = {
3952
+ }), na = {
3925
3953
  key: 0,
3926
3954
  class: "g-checkbox-group__legend"
3927
- }, ea = {
3955
+ }, ra = {
3928
3956
  key: 0,
3929
3957
  class: "g-checkbox-group__required",
3930
3958
  "aria-hidden": "true"
3931
- }, ta = {
3959
+ }, ia = {
3932
3960
  key: 1,
3933
3961
  class: "g-checkbox-group__label"
3934
- }, na = {
3962
+ }, aa = {
3935
3963
  key: 0,
3936
3964
  class: "g-checkbox-group__required",
3937
3965
  "aria-hidden": "true"
3938
- }, ra = ["id"], ia = { class: "g-checkbox-group__options" }, aa = ["for"], oa = [
3966
+ }, oa = ["id"], sa = { class: "g-checkbox-group__options" }, ca = ["for"], la = [
3939
3967
  "id",
3940
3968
  "type",
3941
3969
  "name",
@@ -3944,7 +3972,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
3944
3972
  "disabled",
3945
3973
  "required",
3946
3974
  "onChange"
3947
- ], sa = { class: "g-checkbox-group__label-text" }, ca = ["id"], la = /* @__PURE__ */ u({
3975
+ ], ua = { class: "g-checkbox-group__label-text" }, da = ["id"], fa = /* @__PURE__ */ u({
3948
3976
  __name: "GCheckboxGroup",
3949
3977
  props: /*@__PURE__*/ m({
3950
3978
  label: { default: void 0 },
@@ -4005,13 +4033,13 @@ var br = { class: "g-table-outer-wrap" }, xr = {
4005
4033
  }
4006
4034
  return (n, r) => (T(), i(j(C.value ? "fieldset" : "div"), h({ class: ["g-checkbox-group", { "g-checkbox-group--error": R(m) }] }, w.value), {
4007
4035
  default: J(() => [
4008
- C.value && t.label ? (T(), o("legend", $i, [c(P(t.label), 1), t.required ? (T(), o("span", ea, "\xA0*")) : a("", !0)])) : !C.value && t.label ? (T(), o("div", ta, [c(P(t.label), 1), t.required ? (T(), o("span", na, "\xA0*")) : a("", !0)])) : a("", !0),
4036
+ C.value && t.label ? (T(), o("legend", na, [c(P(t.label), 1), t.required ? (T(), o("span", ra, "\xA0*")) : a("", !0)])) : !C.value && t.label ? (T(), o("div", ia, [c(P(t.label), 1), t.required ? (T(), o("span", aa, "\xA0*")) : a("", !0)])) : a("", !0),
4009
4037
  t.instructions ? (T(), o("div", {
4010
4038
  key: 2,
4011
4039
  id: S.value,
4012
4040
  class: "g-checkbox-group__instructions"
4013
- }, P(t.instructions), 9, ra)) : a("", !0),
4014
- s("div", ia, [(T(!0), o(e, null, k(t.options, (e, n) => (T(), o("div", {
4041
+ }, P(t.instructions), 9, oa)) : a("", !0),
4042
+ s("div", sa, [(T(!0), o(e, null, k(t.options, (e, n) => (T(), o("div", {
4015
4043
  key: e.value,
4016
4044
  class: _(["g-checkbox-group__option-wrapper", { "g-checkbox-group__option-wrapper--disabled": e.disabled }])
4017
4045
  }, [s("label", {
@@ -4026,12 +4054,12 @@ var br = { class: "g-table-outer-wrap" }, xr = {
4026
4054
  disabled: e.disabled,
4027
4055
  required: t.required && (t.radio && n === 0 || !t.radio && t.options.length === 1),
4028
4056
  class: "g-checkbox-group__input"
4029
- }, { ref_for: !0 }, O(e, n), { onChange: (t) => y(e.value, t.target.checked) }), null, 16, oa), s("span", sa, P(e.label), 1)], 10, aa), e.hint ? (T(), o("div", {
4057
+ }, { ref_for: !0 }, O(e, n), { onChange: (t) => y(e.value, t.target.checked) }), null, 16, la), s("span", ua, P(e.label), 1)], 10, ca), e.hint ? (T(), o("div", {
4030
4058
  key: 0,
4031
4059
  id: E(n),
4032
4060
  class: "g-checkbox-group__hint"
4033
- }, P(e.hint), 9, ca)) : a("", !0)], 2))), 128))]),
4034
- l(Ae, {
4061
+ }, P(e.hint), 9, da)) : a("", !0)], 2))), 128))]),
4062
+ l(je, {
4035
4063
  errors: R(p),
4036
4064
  id: x.value
4037
4065
  }, null, 8, ["errors", "id"])
@@ -4039,11 +4067,11 @@ var br = { class: "g-table-outer-wrap" }, xr = {
4039
4067
  _: 1
4040
4068
  }, 16, ["class"]));
4041
4069
  }
4042
- }), ua = ["for"], da = {
4070
+ }), pa = ["for"], ma = {
4043
4071
  key: 0,
4044
4072
  class: "g-textarea-required",
4045
4073
  "aria-hidden": "true"
4046
- }, fa = ["id"], pa = [
4074
+ }, ha = ["id"], ga = [
4047
4075
  "value",
4048
4076
  "placeholder",
4049
4077
  "disabled",
@@ -4052,11 +4080,11 @@ var br = { class: "g-table-outer-wrap" }, xr = {
4052
4080
  "rows",
4053
4081
  "maxlength",
4054
4082
  "aria-invalid"
4055
- ], ma = {
4083
+ ], _a = {
4056
4084
  key: 2,
4057
4085
  class: "g-textarea-char-count",
4058
4086
  "aria-live": "polite"
4059
- }, ha = /* @__PURE__ */ u({
4087
+ }, va = /* @__PURE__ */ u({
4060
4088
  inheritAttrs: !1,
4061
4089
  __name: "GTextarea",
4062
4090
  props: /*@__PURE__*/ m({
@@ -4090,7 +4118,7 @@ var br = { class: "g-table-outer-wrap" }, xr = {
4090
4118
  }),
4091
4119
  emits: /*@__PURE__*/ m(["change"], ["update:modelValue"]),
4092
4120
  setup(e, { emit: t }) {
4093
- let n = e, i = V(e, "modelValue"), u = B(), { attrs: d, isCustomElement: f, forwardedAttrs: p } = pe({ omitInCustomElement: ["id"] }), m = r(() => f ? u : d.id || u), { displayErrors: v, hasErrors: y } = $({
4121
+ let n = e, i = V(e, "modelValue"), u = B(), { attrs: d, isCustomElement: f, forwardedAttrs: p } = me({ omitInCustomElement: ["id"] }), m = r(() => f ? u : d.id || u), { displayErrors: v, hasErrors: y } = $({
4094
4122
  name: n.name,
4095
4123
  value: i,
4096
4124
  errors: I(n, "errors"),
@@ -4113,7 +4141,8 @@ var br = { class: "g-table-outer-wrap" }, xr = {
4113
4141
  }
4114
4142
  }
4115
4143
  function w(e) {
4116
- i.value = e.target.value, n.autoGrow && S();
4144
+ let t = e.target.value;
4145
+ i.value = t, n.autoGrow && S();
4117
4146
  }
4118
4147
  function E(e) {
4119
4148
  C(e.target.value);
@@ -4129,12 +4158,12 @@ var br = { class: "g-table-outer-wrap" }, xr = {
4129
4158
  key: 0,
4130
4159
  for: m.value,
4131
4160
  class: "g-textarea-label"
4132
- }, [c(P(n.label), 1), n.required ? (T(), o("span", da, " *")) : a("", !0)], 8, ua)) : a("", !0),
4161
+ }, [c(P(n.label), 1), n.required ? (T(), o("span", ma, " *")) : a("", !0)], 8, pa)) : a("", !0),
4133
4162
  t.$slots.instructions || e.instructions ? (T(), o("div", {
4134
4163
  key: 1,
4135
4164
  id: "instructions-" + R(u),
4136
4165
  class: "g-textarea-instructions"
4137
- }, [A(t.$slots, "instructions", {}, () => [c(P(e.instructions), 1)])], 8, fa)) : a("", !0),
4166
+ }, [A(t.$slots, "instructions", {}, () => [c(P(e.instructions), 1)])], 8, ha)) : a("", !0),
4138
4167
  s("textarea", h({
4139
4168
  ref: "textareaEl",
4140
4169
  value: i.value ?? "",
@@ -4155,9 +4184,9 @@ var br = { class: "g-table-outer-wrap" }, xr = {
4155
4184
  onInput: w,
4156
4185
  onBlur: E,
4157
4186
  onPaste: D
4158
- }), null, 16, pa),
4159
- n.maxlength === void 0 ? a("", !0) : (T(), o("div", ma, P((i.value ?? "").length) + " / " + P(n.maxlength), 1)),
4160
- l(Ae, {
4187
+ }), null, 16, ga),
4188
+ n.maxlength === void 0 ? a("", !0) : (T(), o("div", _a, P((i.value ?? "").length) + " / " + P(n.maxlength), 1)),
4189
+ l(je, {
4161
4190
  errors: R(v),
4162
4191
  id: "error-message-" + R(u)
4163
4192
  }, null, 8, ["errors", "id"])
@@ -4166,18 +4195,18 @@ var br = { class: "g-table-outer-wrap" }, xr = {
4166
4195
  });
4167
4196
  //#endregion
4168
4197
  //#region src/compose/useActiveLink.ts
4169
- function ga(e, t, n) {
4198
+ function ya(e, t, n) {
4170
4199
  let r = [
4171
4200
  0,
4172
4201
  .25,
4173
4202
  .5,
4174
4203
  .75,
4175
4204
  1
4176
- ], i = `${-t}px 0px 0px 0px`, a = /* @__PURE__ */ new Map(), o = O(Array.from(ne(e)?.children || []));
4177
- ce(e, () => {
4178
- o.value = Array.from(ne(e)?.children || []);
4205
+ ], i = `${-t}px 0px 0px 0px`, a = /* @__PURE__ */ new Map(), o = O(Array.from(ie(e)?.children || []));
4206
+ ue(e, () => {
4207
+ o.value = Array.from(ie(e)?.children || []);
4179
4208
  }, { childList: !0 });
4180
- let { stop: s } = oe(o, (e) => {
4209
+ let { stop: s } = ce(o, (e) => {
4181
4210
  let t = o.value[o.value.length - 1];
4182
4211
  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);
4183
4212
  let r = null, i = 0;
@@ -4196,8 +4225,8 @@ function ga(e, t, n) {
4196
4225
  }
4197
4226
  //#endregion
4198
4227
  //#region src/compose/useSidebar.ts
4199
- function _a(e = "(max-width: 800px)") {
4200
- let t = B(), n = O(!1), r = se(e, { ssrWidth: 1e3 });
4228
+ function ba(e = "(max-width: 800px)") {
4229
+ let t = B(), n = O(!1), r = le(e, { ssrWidth: 1e3 });
4201
4230
  function i(e) {
4202
4231
  if (!r.value || !n.value) return;
4203
4232
  let i = e.target, a = document.getElementById(`${t}-sidebar`), o = document.getElementById(`${t}-hamburger`);
@@ -4227,8 +4256,8 @@ function _a(e = "(max-width: 800px)") {
4227
4256
  }
4228
4257
  //#endregion
4229
4258
  //#region src/compose/useTableChanges.ts
4230
- function va() {
4231
- let e = M(/* @__PURE__ */ new Map()), t = ee(), n = (n) => {
4259
+ function xa() {
4260
+ let e = M(/* @__PURE__ */ new Map()), t = X(), n = (n) => {
4232
4261
  let r = n.column.key, i = n.row.key, a = n.value, o = n.previousValue;
4233
4262
  e.has(i) || e.set(i, M(/* @__PURE__ */ new Map()));
4234
4263
  let s = e.get(i), c = s.get(r), l = c ? c.previousValue : o, u = c?.error;
@@ -4330,6 +4359,6 @@ function va() {
4330
4359
  };
4331
4360
  }
4332
4361
  //#endregion
4333
- export { $, er as A, Qt as B, gr as C, vr as D, hr as E, gn as F, ft as G, At as H, fn as I, Qe as J, it as K, un as L, wn as M, yn as N, yr as O, _n as P, Le as Q, ln as R, Jr as S, _r as T, wt as U, Ht as V, yt as W, Ge as X, Ze as Y, Ke as Z, _i as _, la as a, Q as at, li as b, Yi as c, Pi as d, Oe as et, Ni as f, yi as g, Ci as h, ha as i, be as it, zn as j, pr as k, Hi as l, Di as m, _a as n, Te as nt, Qi as o, Mi as p, $e as q, ga as r, xe as rt, Zi as s, va as t, Ee as tt, Vi as u, pi as v, mr as w, ri as x, fi as y, on as z };
4362
+ export { $, tr as A, $t as B, _r as C, yr as D, gr as E, _n as F, pt as G, jt as H, pn as I, $e as J, at as K, dn as L, Tn as M, bn as N, br as O, vn as P, Re as Q, un as R, Zr as S, vr as T, Tt as U, Ut as V, bt as W, Ke as X, Qe as Y, qe as Z, bi as _, fa as a, Q as at, fi as b, Qi as c, Li as d, ke as et, Ii as f, Si as g, Ei as h, va as i, xe as it, Bn as j, mr as k, Gi as l, Ai as m, ba as n, Ee as nt, ta as o, Fi as p, et as q, ya as r, Se as rt, ea as s, xa as t, De as tt, Wi as u, gi as v, hr as w, oi as x, hi as y, sn as z };
4334
4363
 
4335
- //# sourceMappingURL=grad-vue-85A5znlz.js.map
4364
+ //# sourceMappingURL=grad-vue-CpcX2lGW.js.map