@illinois-grad/grad-vue 3.0.4 → 3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { Fragment as e, Teleport as t, Transition as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, guardReactiveProps as f, inject as p, mergeModels as m, mergeProps as h, nextTick as g, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeMount as b, onBeforeUnmount as x, onMounted as S, onUpdated as C, openBlock as w, provide as T, reactive as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as A, shallowReactive as j, shallowRef as M, toDisplayString as N, toRaw as P, toRef as F, toValue as I, unref as L, useAttrs as R, useId as z, useModel as B, useSlots as V, useTemplateRef as H, vModelCheckbox as U, vShow as ee, watch as W, watchEffect as G, withCtx as K, withDirectives as q, withModifiers as J } from "vue";
2
- import { createEventHook as Y, toArray as te, tryOnScopeDispose as X, unrefElement as Z, useClipboard as ne, useDebounceFn as re, useFocusWithin as ie, useIntersectionObserver as ae, useMediaQuery as oe, useMutationObserver as se, useResizeObserver as ce, useSessionStorage as le } from "@vueuse/core";
1
+ import { Fragment as e, Teleport as t, Transition as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, guardReactiveProps as f, inject as p, mergeModels as m, mergeProps as h, nextTick as g, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeMount as b, onBeforeUnmount as x, onMounted as S, onUpdated as C, openBlock as w, provide as T, reactive as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as A, shallowReactive as j, shallowRef as M, toDisplayString as N, toRaw as P, toRef as F, toValue as I, unref as L, useAttrs as R, useId as z, useModel as B, useSlots as V, useTemplateRef as H, vModelCheckbox as U, vShow as W, watch as G, watchEffect as K, withCtx as q, withDirectives as J, withModifiers as Y } from "vue";
2
+ import { createEventHook as X, toArray as ee, tryOnScopeDispose as Z, unrefElement as te, useClipboard as ne, useDebounceFn as re, useFocusWithin as ie, useIntersectionObserver as ae, useMediaQuery as oe, useMutationObserver as se, useResizeObserver as ce, useSessionStorage as le } from "@vueuse/core";
3
3
  import { createFocusTrap as ue } from "focus-trap";
4
4
  //#region src/compose/useCustomElementAttrs.ts
5
5
  function de() {
@@ -79,7 +79,7 @@ var pe = { class: "g-btn--icon" }, me = { class: "g-btn--label" }, Q = /* @__PUR
79
79
  onMouseenter: u[7] ||= (e) => r.$emit("mouseenter", e),
80
80
  onMouseleave: u[8] ||= (e) => r.$emit("mouseleave", e)
81
81
  }), {
82
- default: K(() => [t.icon || a.icon ? (w(), o(e, { key: 0 }, [s("span", pe, [a.icon ? k(r.$slots, "icon", { key: 0 }) : (w(), o("span", {
82
+ default: q(() => [t.icon || a.icon ? (w(), o(e, { key: 0 }, [s("span", pe, [a.icon ? k(r.$slots, "icon", { key: 0 }) : (w(), o("span", {
83
83
  key: 1,
84
84
  class: _(t.icon + " g-btn--icon-span"),
85
85
  "aria-hidden": "true"
@@ -216,23 +216,31 @@ var pe = { class: "g-btn--icon" }, me = { class: "g-btn--label" }, Q = /* @__PUR
216
216
  name: "GTreeMenuList",
217
217
  props: { listType: { default: void 0 } },
218
218
  setup(e) {
219
- let t = e, n = p("g-tree-menu-list-type", "ul"), a = r(() => t.listType ?? n ?? "ul");
220
- return (e, t) => (w(), i(A(a.value), { class: "g-tree-menu__list" }, {
221
- default: K(() => [k(e.$slots, "default")]),
219
+ let t = e, n = p("g-tree-menu-list-type", "ul"), a = r(() => t.listType ?? n ?? "ul"), o = de(), s = d();
220
+ return S(() => {
221
+ if (!o) return;
222
+ let e = s?.ce;
223
+ e && e.setAttribute("data-list-type", a.value);
224
+ }), (e, t) => (w(), i(A(L(o) ? "div" : a.value), {
225
+ role: L(o) ? "list" : void 0,
226
+ class: "g-tree-menu__list"
227
+ }, {
228
+ default: q(() => [k(e.$slots, "default")]),
222
229
  _: 3
223
- }));
230
+ }, 8, ["role"]));
224
231
  }
225
- }), xe = ["data-tree-expandable"], Se = {
232
+ }), xe = {
226
233
  key: 0,
227
234
  class: "g-tree-menu__row"
228
- }, Ce = { class: "g-tree-menu__row-content-text" }, we = {
235
+ }, Se = { class: "g-tree-menu__row-content-text" }, Ce = {
229
236
  key: 1,
230
237
  class: "g-tree-menu__row g-tree-menu__row--leaf"
231
- }, Te = {
238
+ }, we = {
232
239
  class: "g-tree-menu__row-content",
233
240
  "data-tree-primary": ""
234
- }, Ee = /* @__PURE__ */ u({
241
+ }, Te = /* @__PURE__ */ u({
235
242
  name: "GTreeMenuItem",
243
+ inheritAttrs: !1,
236
244
  props: {
237
245
  label: {},
238
246
  expanded: {
@@ -242,86 +250,99 @@ var pe = { class: "g-btn--icon" }, me = { class: "g-btn--label" }, Q = /* @__PUR
242
250
  },
243
251
  emits: ["expand", "collapse"],
244
252
  setup(e, { emit: t }) {
245
- let n = e, c = t, l = V(), u = d(), f = z(), m = (u?.ce)?._slots?.children?.length > 0, h = r(() => !!l.children || m), g = p("g-tree-menu-expanded-storage", null);
246
- function v() {
247
- if (g && n.label !== void 0) {
248
- if (g.value[n.label] === !0) return !0;
249
- n.expanded && (g.value[n.label] = !0);
253
+ let n = e, c = t, l = V(), u = d(), f = z(), m = (u?.ce)?._slots?.children?.length > 0, g = r(() => !!l.children || m), v = p("g-tree-menu-expanded-storage", null);
254
+ function y() {
255
+ if (v && n.label !== void 0) {
256
+ if (v.value[n.label] === !0) return !0;
257
+ n.expanded && (v.value[n.label] = !0);
250
258
  }
251
259
  return n.expanded;
252
260
  }
253
- let y = D(v());
254
- W(() => n.expanded, (e) => {
255
- g && n.label !== void 0 || (y.value = e);
256
- }), W(y, (e) => {
257
- g && n.label !== void 0 && (e ? g.value[n.label] = !0 : delete g.value[n.label]), T();
261
+ let b = D(y());
262
+ G(() => n.expanded, (e) => {
263
+ v && n.label !== void 0 || (b.value = e);
264
+ }), G(b, (e) => {
265
+ v && n.label !== void 0 && (e ? v.value[n.label] = !0 : delete v.value[n.label]), E();
258
266
  });
259
- let b = D(null);
260
- function T() {
261
- if (!h.value || !b.value) return;
262
- let e = b.value.querySelector("a, button");
263
- e ? (e.setAttribute("aria-controls", f + "-children"), e.setAttribute("aria-expanded", y.value ? "true" : "false")) : console.warn("No focusable element found for GTreeMenuItem with label:", n.label, "Every item must at least have a plain button to properly work for accessibility.");
264
- }
265
- S(T), C(T);
267
+ let T = D(null);
266
268
  function E() {
267
- y.value = !y.value, y.value ? c("expand") : c("collapse");
269
+ if (!g.value || !T.value) return;
270
+ let e = T.value.querySelector("a, button");
271
+ e ? (e.setAttribute("aria-controls", f + "-children"), e.setAttribute("aria-expanded", b.value ? "true" : "false")) : console.warn("No focusable element found for GTreeMenuItem with label:", n.label, "Every item must at least have a plain button to properly work for accessibility.");
268
272
  }
269
- let O = Symbol(), A = p("g-tree-menu-expandable-items", null), j = p("g-tree-menu-expand-all-signal", null), M = D(0);
270
- function N() {
271
- A && h.value && A.set(O, y.value);
273
+ S(E), C(E);
274
+ function O() {
275
+ b.value = !b.value, b.value ? c("expand") : c("collapse");
272
276
  }
273
- function P() {
274
- A?.delete(O);
277
+ let j = Symbol(), M = p("g-tree-menu-expandable-items", null), N = p("g-tree-menu-expand-all-signal", null), P = D(0);
278
+ function F() {
279
+ M && g.value && M.set(j, b.value);
280
+ }
281
+ function I() {
282
+ M?.delete(j);
275
283
  }
276
- W(y, (e) => {
277
- A && h.value && A.set(O, e);
278
- }), j && W(() => j.value.version, () => {
279
- h.value && (y.value = j.value.expanded, M.value = j.value.version);
284
+ G(b, (e) => {
285
+ M && g.value && M.set(j, e);
286
+ }), N && G(() => N.value.version, () => {
287
+ g.value && (b.value = N.value.expanded, P.value = N.value.version);
280
288
  }), S(() => {
281
- N(), j && h.value && j.value.version > M.value && j.value.expanded && (y.value = !0, M.value = j.value.version);
289
+ F(), N && g.value && N.value.version > P.value && N.value.expanded && (b.value = !0, P.value = N.value.version);
282
290
  }), x(() => {
283
- P();
291
+ I();
284
292
  });
285
- function F(e) {
286
- e.target.closest("a") || E();
293
+ function B(e) {
294
+ e.target.closest("a") || O();
287
295
  }
288
- function I(e) {
289
- (e.key === "Enter" || e.key === " ") && (E(), e.preventDefault());
296
+ function H(e) {
297
+ (e.key === "Enter" || e.key === " ") && (O(), e.preventDefault());
290
298
  }
291
- return (e, t) => (w(), o("li", {
299
+ let U = de(), W = u?.ce;
300
+ S(() => {
301
+ U && W && W.setAttribute("role", "listitem");
302
+ });
303
+ let K = R(), J = r(() => {
304
+ if (!U) return K;
305
+ let { role: e, ...t } = K;
306
+ return t;
307
+ });
308
+ return (e, t) => (w(), i(A(L(U) ? "div" : "li"), h(J.value, {
309
+ role: L(U) ? "presentation" : void 0,
292
310
  class: "g-tree-menu__item",
293
- "data-tree-expandable": h.value ? "true" : void 0
294
- }, [h.value ? (w(), o("div", Se, [s("div", {
295
- class: "g-tree-menu__toggle-btn",
296
- onClick: E
297
- }, [(w(), o("svg", {
298
- class: _(["g-tree-menu__chevron", { "g-tree-menu__chevron--expanded": y.value }]),
299
- role: "none presentation",
300
- viewBox: "0 0 24 24",
301
- fill: "none",
302
- stroke: "currentColor",
303
- "stroke-width": "2.5",
304
- "stroke-linecap": "round",
305
- "stroke-linejoin": "round"
306
- }, [...t[0] ||= [s("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2))]), s("span", {
307
- ref_key: "contentRef",
308
- ref: b,
309
- class: "g-tree-menu__row-content",
310
- "data-tree-primary": "",
311
- onClick: F,
312
- onKeydown: I
313
- }, [s("span", Ce, [k(e.$slots, "default")])], 544)])) : (w(), o("div", we, [t[1] ||= s("span", { class: "g-tree-menu__spacer" }, null, -1), s("span", Te, [k(e.$slots, "default")])])), h.value && y.value ? (w(), i(be, {
314
- key: 2,
315
- id: L(f) + "-children"
316
- }, {
317
- default: K(() => [k(e.$slots, "children")]),
311
+ "data-tree-expandable": g.value ? "true" : void 0
312
+ }), {
313
+ default: q(() => [g.value ? (w(), o("div", xe, [s("div", {
314
+ class: "g-tree-menu__toggle-btn",
315
+ onClick: O
316
+ }, [(w(), o("svg", {
317
+ class: _(["g-tree-menu__chevron", { "g-tree-menu__chevron--expanded": b.value }]),
318
+ role: "none presentation",
319
+ viewBox: "0 0 24 24",
320
+ fill: "none",
321
+ stroke: "currentColor",
322
+ "stroke-width": "2.5",
323
+ "stroke-linecap": "round",
324
+ "stroke-linejoin": "round"
325
+ }, [...t[0] ||= [s("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2))]), s("span", {
326
+ ref_key: "contentRef",
327
+ ref: T,
328
+ class: "g-tree-menu__row-content",
329
+ "data-tree-primary": "",
330
+ onClick: B,
331
+ onKeydown: H
332
+ }, [s("span", Se, [k(e.$slots, "default")])], 544)])) : (w(), o("div", Ce, [t[1] ||= s("span", { class: "g-tree-menu__spacer" }, null, -1), s("span", we, [k(e.$slots, "default")])])), g.value && b.value ? (w(), i(be, {
333
+ key: 2,
334
+ id: L(f) + "-children"
335
+ }, {
336
+ default: q(() => [k(e.$slots, "children")]),
337
+ _: 3
338
+ }, 8, ["id"])) : a("", !0)]),
318
339
  _: 3
319
- }, 8, ["id"])) : a("", !0)], 8, xe));
340
+ }, 16, ["role", "data-tree-expandable"]));
320
341
  }
321
342
  });
322
343
  //#endregion
323
344
  //#region src/compose/useForm.ts
324
- function De() {
345
+ function Ee() {
325
346
  let e = j({}), t = D(!1), n = r(() => {
326
347
  let t = {};
327
348
  return Object.entries(e).forEach(([e, n]) => {
@@ -363,18 +384,18 @@ function De() {
363
384
  }
364
385
  //#endregion
365
386
  //#region src/compose/useWebComponentForm.ts
366
- function Oe() {
387
+ function De() {
367
388
  let e = globalThis;
368
389
  return e.__GRAD_VUE_WC_FORMS__ ||= /* @__PURE__ */ new Map(), e.__GRAD_VUE_WC_FORMS__;
369
390
  }
370
- function ke(e = "default") {
371
- let t = Oe(), n = e || "default";
372
- return t.has(n) || t.set(n, De()), t.get(n);
391
+ function Oe(e = "default") {
392
+ let t = De(), n = e || "default";
393
+ return t.has(n) || t.set(n, Ee()), t.get(n);
373
394
  }
374
395
  //#endregion
375
396
  //#region src/compose/useFormField.ts
376
397
  function $(e) {
377
- let t = R(), n = typeof t["form-key"] == "string" ? t["form-key"] : void 0, i = e.formKey ?? n ?? "default", a = p("form", null) ?? (de() ? ke(i) : null), o = r(() => {
398
+ let t = R(), n = typeof t["form-key"] == "string" ? t["form-key"] : void 0, i = e.formKey ?? n ?? "default", a = p("form", null) ?? (de() ? Oe(i) : null), o = r(() => {
378
399
  let t = [];
379
400
  return e.errors && t.push(...e.errors.value.filter(Boolean)), t;
380
401
  }), s = r(() => o.value.length > 0), c = e.name;
@@ -393,7 +414,7 @@ function $(e) {
393
414
  }
394
415
  //#endregion
395
416
  //#region src/components/form/GFormErrorMessages.vue?vue&type=script&setup=true&lang.ts
396
- var Ae = ["id"], je = /* @__PURE__ */ u({
417
+ var ke = ["id"], Ae = /* @__PURE__ */ u({
397
418
  __name: "GFormErrorMessages",
398
419
  props: {
399
420
  errors: {},
@@ -415,25 +436,25 @@ var Ae = ["id"], je = /* @__PURE__ */ u({
415
436
  }, [s("path", {
416
437
  fill: "currentColor",
417
438
  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"
418
- })], -1), c(" " + N(e), 1)]))), 128))], 8, Ae)) : a("", !0);
439
+ })], -1), c(" " + N(e), 1)]))), 128))], 8, ke)) : a("", !0);
419
440
  }
420
- }), Me = ["for"], Ne = {
441
+ }), je = ["for"], Me = {
421
442
  key: 0,
422
443
  class: "g-text-input-required",
423
444
  "aria-hidden": "true"
424
- }, Pe = ["id"], Fe = {
445
+ }, Ne = ["id"], Pe = {
425
446
  key: 0,
426
447
  class: "g-text-input-prefix"
427
- }, Ie = [
448
+ }, Fe = [
428
449
  "value",
429
450
  "placeholder",
430
451
  "disabled",
431
452
  "required",
432
453
  "aria-invalid"
433
- ], Le = {
454
+ ], Ie = {
434
455
  key: 1,
435
456
  class: "g-text-input-suffix"
436
- }, Re = /* @__PURE__ */ u({
457
+ }, Le = /* @__PURE__ */ u({
437
458
  inheritAttrs: !1,
438
459
  __name: "GTextInput",
439
460
  props: /* @__PURE__ */ m({
@@ -497,14 +518,14 @@ var Ae = ["id"], je = /* @__PURE__ */ u({
497
518
  key: 0,
498
519
  for: m.value,
499
520
  class: "g-text-input-label"
500
- }, [c(N(n.label), 1), n.required ? (w(), o("span", Ne, " *")) : a("", !0)], 8, Me)) : a("", !0),
521
+ }, [c(N(n.label), 1), n.required ? (w(), o("span", Me, " *")) : a("", !0)], 8, je)) : a("", !0),
501
522
  t.$slots.instructions || e.instructions ? (w(), o("div", {
502
523
  key: 1,
503
524
  id: "instructions-" + L(u),
504
525
  class: "g-text-input-instructions"
505
- }, [k(t.$slots, "instructions", {}, () => [c(N(e.instructions), 1)])], 8, Pe)) : a("", !0),
526
+ }, [k(t.$slots, "instructions", {}, () => [c(N(e.instructions), 1)])], 8, Ne)) : a("", !0),
506
527
  s("div", { class: _([{ "g-text-input-field-wrapper": !0 }, `g-text-input-field-wrapper--${e.name || "nameless"}`]) }, [
507
- n.prefix ? (w(), o("span", Fe, N(n.prefix), 1)) : a("", !0),
528
+ n.prefix ? (w(), o("span", Pe, N(n.prefix), 1)) : a("", !0),
508
529
  s("input", h({
509
530
  value: i.value,
510
531
  placeholder: n.placeholder,
@@ -521,37 +542,37 @@ var Ae = ["id"], je = /* @__PURE__ */ u({
521
542
  id: m.value,
522
543
  "aria-describedby": t.$slots.instructions || e.instructions ? "instructions-" + L(u) : void 0,
523
544
  "aria-errormessage": L(v) ? "error-message-" + L(u) : void 0
524
- }, { "aria-invalid": L(v) ? "true" : "false" }), null, 16, Ie),
525
- n.suffix ? (w(), o("span", Le, N(n.suffix), 1)) : a("", !0)
545
+ }, { "aria-invalid": L(v) ? "true" : "false" }), null, 16, Fe),
546
+ n.suffix ? (w(), o("span", Ie, N(n.suffix), 1)) : a("", !0)
526
547
  ], 2),
527
- l(je, {
548
+ l(Ae, {
528
549
  errors: L(g),
529
550
  id: "error-message-" + L(u)
530
551
  }, null, 8, ["errors", "id"])
531
552
  ], 2));
532
553
  }
533
- }), ze = 100, Be = 200, Ve = 102, He = D([]), Ue = D([]), We = D([]);
534
- function Ge() {
535
- if (!(typeof document > "u")) if (We.value.length > 0) {
554
+ }), Re = 100, ze = 200, Be = 102, Ve = D([]), He = D([]), Ue = D([]);
555
+ function We() {
556
+ if (!(typeof document > "u")) if (Ue.value.length > 0) {
536
557
  let e = window.innerWidth - document.documentElement.clientWidth;
537
558
  document.body.classList.add("g-scroll-lock"), document.body.style.paddingRight = `${e}px`, document.body.style.setProperty("--g-scrollbar-width", `${e}px`);
538
559
  } else document.body.style.paddingRight = "0", document.body.classList.remove("g-scroll-lock"), document.body.style.removeProperty("--g-scrollbar-width");
539
560
  }
540
- function Ke(e, t = !1, n = !1) {
561
+ function Ge(e, t = !1, n = !1) {
541
562
  if (typeof document > "u") return {};
542
- let i = t ? Ue : He;
563
+ let i = t ? He : Ve;
543
564
  function a() {
544
- i.value.push(e), n && !We.value.includes(e) && (We.value.push(e), Ge());
565
+ i.value.push(e), n && !Ue.value.includes(e) && (Ue.value.push(e), We());
545
566
  }
546
567
  function o() {
547
568
  let t = i.value.lastIndexOf(e);
548
569
  t !== -1 && i.value.splice(t, 1);
549
- let n = We.value.lastIndexOf(e);
550
- n !== -1 && (We.value.splice(n, 1), Ge());
570
+ let n = Ue.value.lastIndexOf(e);
571
+ n !== -1 && (Ue.value.splice(n, 1), We());
551
572
  }
552
- let s = r(() => !t && Ue.value.length > 0 ? !1 : i.value.length > 0 && i.value[i.value.length - 1] === e), c = r(() => {
573
+ let s = r(() => !t && He.value.length > 0 ? !1 : i.value.length > 0 && i.value[i.value.length - 1] === e), c = r(() => {
553
574
  let n = i.value.indexOf(e);
554
- return n === -1 ? 0 : (t ? Be : ze) + n;
575
+ return n === -1 ? 0 : (t ? ze : Re) + n;
555
576
  });
556
577
  return x(o), {
557
578
  push: a,
@@ -560,31 +581,31 @@ function Ke(e, t = !1, n = !1) {
560
581
  zIndex: c
561
582
  };
562
583
  }
563
- function qe() {
584
+ function Ke() {
564
585
  return typeof document > "u" ? {} : {
565
- hasModal: r(() => Ue.value.length > 0),
566
- hasOverlay: r(() => He.value.length > 0 || Ue.value.length > 0),
567
- hasScrollLock: r(() => We.value.length > 0)
586
+ hasModal: r(() => He.value.length > 0),
587
+ hasOverlay: r(() => Ve.value.length > 0 || He.value.length > 0),
588
+ hasScrollLock: r(() => Ue.value.length > 0)
568
589
  };
569
590
  }
570
- function Je() {
591
+ function qe() {
571
592
  let e = 0;
572
- return He.value.forEach((t, n) => {
593
+ return Ve.value.forEach((t, n) => {
594
+ e = Math.max(e, Re + n);
595
+ }), He.value.forEach((t, n) => {
573
596
  e = Math.max(e, ze + n);
574
- }), Ue.value.forEach((t, n) => {
575
- e = Math.max(e, Be + n);
576
- }), e > 0 ? e + 1 : Ve;
597
+ }), e > 0 ? e + 1 : Be;
577
598
  }
578
599
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
579
- var Ye = (e) => e != null;
600
+ var Je = (e) => e != null;
580
601
  //#endregion
581
602
  //#region ../../node_modules/@vueuse/integrations/dist/useFocusTrap-lXZ_YG-8.js
582
- function Xe(e, t = {}) {
603
+ function Ye(e, t = {}) {
583
604
  let n, { immediate: i, ...a } = t, o = M(!1), s = M(!1), c = (e) => n && n.activate(e), l = (e) => n && n.deactivate(e);
584
- return W(r(() => te(I(e)).map((e) => {
605
+ return G(r(() => ee(I(e)).map((e) => {
585
606
  let t = I(e);
586
- return typeof t == "string" ? t : Z(t);
587
- }).filter(Ye)), (e) => {
607
+ return typeof t == "string" ? t : te(t);
608
+ }).filter(Je)), (e) => {
588
609
  if (e.length) if (!n) n = ue(e, {
589
610
  ...a,
590
611
  onActivate() {
@@ -598,7 +619,7 @@ function Xe(e, t = {}) {
598
619
  let t = n?.active;
599
620
  n?.updateContainerElements(e), !t && i && c();
600
621
  }
601
- }, { flush: "post" }), X(() => l()), {
622
+ }, { flush: "post" }), Z(() => l()), {
602
623
  hasFocus: o,
603
624
  isPaused: s,
604
625
  activate: c,
@@ -613,7 +634,7 @@ function Xe(e, t = {}) {
613
634
  }
614
635
  //#endregion
615
636
  //#region src/compose/useOverlayFocus.ts
616
- var Ze = [
637
+ var Xe = [
617
638
  "a[href]",
618
639
  "button:not([disabled])",
619
640
  "input:not([disabled])",
@@ -622,8 +643,8 @@ var Ze = [
622
643
  "[tabindex]:not([tabindex='-1'])",
623
644
  "[contenteditable='true']"
624
645
  ].join(",");
625
- function Qe(e, t, n = !1) {
626
- let r = D(!1), i = () => !!e.value?.querySelector(Ze), { activate: a, deactivate: o, pause: s, unpause: c } = Xe(e, {
646
+ function Ze(e, t, n = !1) {
647
+ let r = D(!1), i = () => !!e.value?.querySelector(Xe), { activate: a, deactivate: o, pause: s, unpause: c } = Ye(e, {
627
648
  immediate: !1,
628
649
  clickOutsideDeactivates: n,
629
650
  initialFocus: () => {
@@ -644,7 +665,7 @@ function Qe(e, t, n = !1) {
644
665
  });
645
666
  }
646
667
  });
647
- return W(t, (e) => {
668
+ return G(t, (e) => {
648
669
  e ? g(() => {
649
670
  i() && c();
650
671
  }).catch((e) => {
@@ -667,7 +688,7 @@ function Qe(e, t, n = !1) {
667
688
  }
668
689
  //#endregion
669
690
  //#region src/compose/useOverlayEscape.ts
670
- function $e(e, t, n, r, i) {
691
+ function Qe(e, t, n, r, i) {
671
692
  function a(i) {
672
693
  if (!(!n.value || !t.value)) {
673
694
  for (let t of e) if (t.value?.contains(i.target)) return;
@@ -687,7 +708,7 @@ function $e(e, t, n, r, i) {
687
708
  }
688
709
  //#endregion
689
710
  //#region src/compose/popoverPosition.ts
690
- function et(e, t, n, r) {
711
+ function $e(e, t, n, r) {
691
712
  let i = r?.gap ?? 8, a = r?.margin ?? 16, o = r?.preferAbove ?? !1, s = !1, c = !1, l;
692
713
  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;
693
714
  let u = e.left + (e.width - t.width) / 2;
@@ -703,7 +724,7 @@ function et(e, t, n, r) {
703
724
  }
704
725
  //#endregion
705
726
  //#region src/components/GPopover.vue?vue&type=script&setup=true&lang.ts
706
- var tt = { class: "g-popover-wrap" }, nt = ["id"], rt = ["aria-labelledby", "aria-label"], it = /* @__PURE__ */ u({
727
+ var et = { class: "g-popover-wrap" }, tt = ["id"], nt = ["aria-labelledby", "aria-label"], rt = /* @__PURE__ */ u({
707
728
  __name: "GPopover",
708
729
  props: {
709
730
  minimal: {
@@ -722,11 +743,11 @@ var tt = { class: "g-popover-wrap" }, nt = ["id"], rt = ["aria-labelledby", "ari
722
743
  ],
723
744
  setup(e, { expose: c, emit: u }) {
724
745
  let d = e, f = u, p = D(d.modelValue);
725
- W(F(d, "modelValue"), (e) => {
746
+ G(F(d, "modelValue"), (e) => {
726
747
  p.value = e;
727
748
  });
728
- let m = V(), h = r(() => !!m.trigger), v = H("triggerRef"), b = H("popoverRef"), { isCustomElement: S } = fe(), C = S, T = z(), { push: E, pop: O, isTop: A, zIndex: j } = Ke(T, !0), { activate: M, deactivate: N } = Qe(b, A, !0);
729
- $e([b, v], A, p, I, O), W(p, (e) => {
749
+ let m = V(), h = r(() => !!m.trigger), v = H("triggerRef"), b = H("popoverRef"), { isCustomElement: S } = fe(), C = S, T = z(), { push: E, pop: O, isTop: A, zIndex: j } = Ge(T, !0), { activate: M, deactivate: N } = Ze(b, A, !0);
750
+ Qe([b, v], A, p, I, O), G(p, (e) => {
730
751
  e ? (g(() => {
731
752
  g(() => M());
732
753
  }), E(), f("show")) : (N(), O(), f("hide"));
@@ -743,25 +764,25 @@ var tt = { class: "g-popover-wrap" }, nt = ["id"], rt = ["aria-labelledby", "ari
743
764
  let B = D({
744
765
  top: 0,
745
766
  left: 0
746
- }), U = D({ left: "50%" }), G = D(!1), J = D(!1), Y = null;
747
- function te() {
767
+ }), U = D({ left: "50%" }), K = D(!1), Y = D(!1), X = null;
768
+ function ee() {
748
769
  if (v.value) return v.value;
749
770
  let e = b.value?.parentElement ?? null;
750
771
  for (; e && e.tagName.toLowerCase() !== "g-popover";) e = e.parentElement;
751
772
  let t = e?.previousElementSibling;
752
773
  return t instanceof HTMLElement ? t : null;
753
774
  }
754
- function X() {
775
+ function Z() {
755
776
  if (!b.value) return;
756
- let e = new DOMRect(0, 0, b.value.offsetWidth, b.value.offsetHeight), t = new DOMRect(0, 0, window.innerWidth, window.innerHeight), n = te();
777
+ let e = new DOMRect(0, 0, b.value.offsetWidth, b.value.offsetHeight), t = new DOMRect(0, 0, window.innerWidth, window.innerHeight), n = ee();
757
778
  if (!n) {
758
779
  B.value = {
759
780
  top: Math.max((t.height - e.height) / 2, 8),
760
781
  left: Math.max((t.width - e.width) / 2, 8)
761
- }, J.value = !1, G.value = !1, U.value = { left: "50%" };
782
+ }, Y.value = !1, K.value = !1, U.value = { left: "50%" };
762
783
  return;
763
784
  }
764
- let { top: r, left: i, xOffset: a, placedAbove: o, overlay: s } = et(n.getBoundingClientRect(), e, t, { gap: d.minimal ? 0 : 8 });
785
+ let { top: r, left: i, xOffset: a, placedAbove: o, overlay: s } = $e(n.getBoundingClientRect(), e, t, { gap: d.minimal ? 0 : 8 });
765
786
  B.value = {
766
787
  top: r,
767
788
  left: i
@@ -769,39 +790,39 @@ var tt = { class: "g-popover-wrap" }, nt = ["id"], rt = ["aria-labelledby", "ari
769
790
  left: `${e.width / 2 - a}px`,
770
791
  top: o ? "auto" : void 0,
771
792
  bottom: o ? "-8px" : void 0
772
- }, G.value = o, J.value = s;
793
+ }, K.value = o, Y.value = s;
773
794
  }
774
- return W(p, (e) => {
795
+ return G(p, (e) => {
775
796
  e ? g(() => {
776
- X(), window.addEventListener("resize", X), window.addEventListener("scroll", X, { capture: !0 }), b.value && (Y && Y.disconnect(), Y = new ResizeObserver(() => X()), Y.observe(b.value));
777
- }) : (window.removeEventListener("resize", X), window.removeEventListener("scroll", X, { capture: !0 }), Y && Y.disconnect());
797
+ Z(), window.addEventListener("resize", Z), window.addEventListener("scroll", Z, { capture: !0 }), b.value && (X && X.disconnect(), X = new ResizeObserver(() => Z()), X.observe(b.value));
798
+ }) : (window.removeEventListener("resize", Z), window.removeEventListener("scroll", Z, { capture: !0 }), X && X.disconnect());
778
799
  }), x(() => {
779
- window.removeEventListener("resize", X), window.removeEventListener("scroll", X, { capture: !0 }), Y && Y.disconnect();
800
+ window.removeEventListener("resize", Z), window.removeEventListener("scroll", Z, { capture: !0 }), X && X.disconnect();
780
801
  }), c({
781
802
  show: P,
782
803
  hide: I,
783
804
  toggle: R
784
- }), (r, c) => (w(), o("div", tt, [h.value ? (w(), o("div", {
805
+ }), (r, c) => (w(), o("div", et, [h.value ? (w(), o("div", {
785
806
  key: 0,
786
807
  ref_key: "triggerRef",
787
808
  ref: v,
788
809
  class: "g-popover-trigger",
789
810
  id: `${L(T)}-trigger`
790
- }, [k(r.$slots, "trigger", { toggle: R })], 8, nt)) : a("", !0), (w(), i(t, {
811
+ }, [k(r.$slots, "trigger", { toggle: R })], 8, tt)) : a("", !0), (w(), i(t, {
791
812
  to: "#modal-root",
792
813
  disabled: L(C)
793
814
  }, [l(n, {
794
815
  name: "g-popover-expand",
795
816
  appear: ""
796
817
  }, {
797
- default: K(() => [L(S) || p.value ? q((w(), o("div", {
818
+ default: q(() => [L(S) || p.value ? J((w(), o("div", {
798
819
  key: 0,
799
820
  ref_key: "popoverRef",
800
821
  ref: b,
801
822
  class: _({
802
823
  "g-popover": !0,
803
- "g-popover-above": G.value,
804
- "g-popover-below": !G.value,
824
+ "g-popover-above": K.value,
825
+ "g-popover-below": !K.value,
805
826
  "g-popover-minimal": e.minimal
806
827
  }),
807
828
  role: "dialog",
@@ -814,9 +835,9 @@ var tt = { class: "g-popover-wrap" }, nt = ["id"], rt = ["aria-labelledby", "ari
814
835
  zIndex: L(j)
815
836
  })
816
837
  }, [
817
- !J.value && !e.minimal ? (w(), o("div", {
838
+ !Y.value && !e.minimal ? (w(), o("div", {
818
839
  key: 0,
819
- class: _(["g-popover-arrow", { "g-popover-arrow-above": G.value }]),
840
+ class: _(["g-popover-arrow", { "g-popover-arrow-above": K.value }]),
820
841
  style: y(U.value),
821
842
  "aria-hidden": "true"
822
843
  }, null, 6)) : a("", !0),
@@ -836,41 +857,41 @@ var tt = { class: "g-popover-wrap" }, nt = ["id"], rt = ["aria-labelledby", "ari
836
857
  fill: "currentColor",
837
858
  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"
838
859
  })], -1)]]))
839
- ], 14, rt)), [[ee, p.value]]) : a("", !0)]),
860
+ ], 14, nt)), [[W, p.value]]) : a("", !0)]),
840
861
  _: 3
841
862
  })], 8, ["disabled"]))]));
842
863
  }
843
- }), at = 1;
844
- function ot(e = "v-gtooltip") {
845
- return `${e}-${++at}`;
864
+ }), it = 1;
865
+ function at(e = "v-gtooltip") {
866
+ return `${e}-${++it}`;
846
867
  }
847
- function st(e, t = "v-gtooltip") {
868
+ function ot(e, t = "v-gtooltip") {
848
869
  let n = e.getAttribute("aria-describedby");
849
870
  if (n) return n;
850
- let r = ot(t);
871
+ let r = at(t);
851
872
  return e.setAttribute("aria-describedby", r), r;
852
873
  }
853
- function ct(e, t) {
874
+ function st(e, t) {
854
875
  let n = document.createElement("div");
855
876
  return n.className = "v-gtooltip", n.textContent = e, n.setAttribute("role", "tooltip"), n.setAttribute("id", t), n;
856
877
  }
857
- function lt(e) {
878
+ function ct(e) {
858
879
  (document.getElementById("modal-root") ?? document.body).appendChild(e);
859
880
  }
860
- function ut(e, t) {
861
- let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), { top: i, left: a, placedAbove: o } = et(n, r, new DOMRect(0, 0, window.innerWidth, window.innerHeight), {
881
+ function lt(e, t) {
882
+ let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), { top: i, left: a, placedAbove: o } = $e(n, r, new DOMRect(0, 0, window.innerWidth, window.innerHeight), {
862
883
  gap: 8,
863
884
  margin: 8,
864
885
  preferAbove: !0
865
886
  }), s = (n.left + n.width / 2 - a) / r.width * 100;
866
- 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.opacity = "1";
887
+ 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.opacity = "1";
867
888
  }
868
- function dt(e) {
889
+ function ut(e) {
869
890
  e.style.opacity = "0";
870
891
  }
871
892
  //#endregion
872
893
  //#region src/components/GTooltip.vue
873
- var ft = /* @__PURE__ */ u({
894
+ var dt = /* @__PURE__ */ u({
874
895
  __name: "GTooltip",
875
896
  props: { text: {} },
876
897
  emits: ["tooltip-hide"],
@@ -885,12 +906,12 @@ var ft = /* @__PURE__ */ u({
885
906
  return t instanceof HTMLElement ? t : null;
886
907
  }
887
908
  function S() {
888
- 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(() => {
889
- f.value && (p.value || m.value) && y && ut(y, f.value);
909
+ y && (v || (v = l.value ? at("g-tooltip") : ot(y, "g-tooltip"), l.value && y.setAttribute("aria-describedby", v)), f.value || (f.value = st(i.text, v), ct(f.value), h = new ResizeObserver(() => {
910
+ f.value && (p.value || m.value) && y && lt(y, f.value);
890
911
  }), h.observe(f.value)));
891
912
  }
892
913
  function C() {
893
- f.value && (p.value || m.value) && y && ut(y, f.value);
914
+ f.value && (p.value || m.value) && y && lt(y, f.value);
894
915
  }
895
916
  function T() {
896
917
  p.value = !0;
@@ -926,20 +947,20 @@ var ft = /* @__PURE__ */ u({
926
947
  function I(e) {
927
948
  (e.key === "Escape" || e.key === "Esc") && (p.value = !1, m.value = !1);
928
949
  }
929
- return W(() => [
950
+ return G(() => [
930
951
  u.value,
931
952
  d.value,
932
953
  l.value
933
954
  ], () => {
934
955
  A(b()), S();
935
- }, { immediate: !0 }), W(() => i.text, (e) => {
956
+ }, { immediate: !0 }), G(() => i.text, (e) => {
936
957
  f.value && (f.value.textContent = e);
937
- }), W(() => p.value || m.value, (e) => {
958
+ }), G(() => p.value || m.value, (e) => {
938
959
  if (e) {
939
- S(), f.value && y && ut(y, f.value), g ||= (window.addEventListener("scroll", C, { capture: !0 }), !0);
960
+ S(), f.value && y && lt(y, f.value), g ||= (window.addEventListener("scroll", C, { capture: !0 }), !0);
940
961
  return;
941
962
  }
942
- g &&= (window.removeEventListener("scroll", C, { capture: !0 }), !1), f.value && (dt(f.value), _ && clearTimeout(_), _ = window.setTimeout(() => {
963
+ g &&= (window.removeEventListener("scroll", C, { capture: !0 }), !1), f.value && (ut(f.value), _ && clearTimeout(_), _ = window.setTimeout(() => {
943
964
  s("tooltip-hide");
944
965
  }, 150));
945
966
  }), x(() => {
@@ -959,11 +980,11 @@ var ft = /* @__PURE__ */ u({
959
980
  class: "g-tooltip-trigger"
960
981
  }, [k(e.$slots, "trigger")], 512)) : a("", !0)], 512));
961
982
  }
962
- }), pt = ["disabled"], mt = { class: "g-select-btn-legend" }, ht = {
983
+ }), ft = ["disabled"], pt = { class: "g-select-btn-legend" }, mt = {
963
984
  key: 0,
964
985
  class: "g-select-btn-required",
965
986
  "aria-hidden": "true"
966
- }, gt = { class: "g-select-btn-row" }, _t = [
987
+ }, ht = { class: "g-select-btn-row" }, gt = [
967
988
  "id",
968
989
  "name",
969
990
  "value",
@@ -971,7 +992,7 @@ var ft = /* @__PURE__ */ u({
971
992
  "disabled",
972
993
  "required",
973
994
  "onChange"
974
- ], vt = ["for"], yt = /* @__PURE__ */ u({
995
+ ], _t = ["for"], vt = /* @__PURE__ */ u({
975
996
  __name: "GSelectButton",
976
997
  props: /* @__PURE__ */ m({
977
998
  options: {},
@@ -1013,7 +1034,7 @@ var ft = /* @__PURE__ */ u({
1013
1034
  return (t, n) => (w(), o("fieldset", {
1014
1035
  class: _(g.value),
1015
1036
  disabled: i.disabled
1016
- }, [s("legend", mt, [c(N(i.label), 1), i.required ? (w(), o("span", ht, " *")) : a("", !0)]), s("div", { class: _(["g-select-btn-wrapper", { "g-select-btn-has-error": L(m) }]) }, [s("div", gt, [(w(!0), o(e, null, O(h.value, (t, n) => (w(), o(e, { key: t.value }, [s("input", {
1037
+ }, [s("legend", pt, [c(N(i.label), 1), i.required ? (w(), o("span", mt, " *")) : a("", !0)]), s("div", { class: _(["g-select-btn-wrapper", { "g-select-btn-has-error": L(m) }]) }, [s("div", ht, [(w(!0), o(e, null, O(h.value, (t, n) => (w(), o(e, { key: t.value }, [s("input", {
1017
1038
  class: "g-select-btn-radio",
1018
1039
  type: "radio",
1019
1040
  id: `${L(f)}-${t.value}`,
@@ -1023,29 +1044,29 @@ var ft = /* @__PURE__ */ u({
1023
1044
  disabled: i.disabled,
1024
1045
  required: i.required && n === 0,
1025
1046
  onChange: (e) => y(t.value)
1026
- }, null, 40, _t), s("label", {
1047
+ }, null, 40, gt), s("label", {
1027
1048
  for: `${L(f)}-${t.value}`,
1028
1049
  class: _(v(t.value === d.value))
1029
- }, N(t.label), 11, vt)], 64))), 128))]), l(je, {
1050
+ }, N(t.label), 11, _t)], 64))), 128))]), l(Ae, {
1030
1051
  errors: L(p),
1031
1052
  id: "error-message-" + L(f)
1032
- }, null, 8, ["errors", "id"])], 2)], 10, pt));
1053
+ }, null, 8, ["errors", "id"])], 2)], 10, ft));
1033
1054
  }
1034
- }), bt = ["width", "height"], xt = [
1055
+ }), yt = ["width", "height"], bt = [
1035
1056
  "cx",
1036
1057
  "cy",
1037
1058
  "r"
1038
- ], St = [
1059
+ ], xt = [
1039
1060
  "cx",
1040
1061
  "cy",
1041
1062
  "r",
1042
1063
  "stroke-dasharray",
1043
1064
  "stroke-dashoffset"
1044
- ], Ct = [
1065
+ ], St = [
1045
1066
  "cx",
1046
1067
  "cy",
1047
1068
  "r"
1048
- ], wt = /* @__PURE__ */ u({
1069
+ ], Ct = /* @__PURE__ */ u({
1049
1070
  __name: "GProgress",
1050
1071
  props: {
1051
1072
  label: { default: "Loading" },
@@ -1086,7 +1107,7 @@ var ft = /* @__PURE__ */ u({
1086
1107
  r: i.value,
1087
1108
  "stroke-width": 4,
1088
1109
  fill: "none"
1089
- }, null, 8, xt), n.value ? (w(), o("circle", {
1110
+ }, null, 8, bt), n.value ? (w(), o("circle", {
1090
1111
  key: 0,
1091
1112
  class: "g-progress__value",
1092
1113
  cx: i.value + 4 / 2,
@@ -1100,7 +1121,7 @@ var ft = /* @__PURE__ */ u({
1100
1121
  transform: "rotate(-90deg)",
1101
1122
  "transform-origin": "center"
1102
1123
  }
1103
- }, null, 8, St)) : (w(), o("circle", {
1124
+ }, null, 8, xt)) : (w(), o("circle", {
1104
1125
  key: 1,
1105
1126
  class: "g-progress__spinner",
1106
1127
  cx: i.value + 4 / 2,
@@ -1108,13 +1129,13 @@ var ft = /* @__PURE__ */ u({
1108
1129
  r: i.value,
1109
1130
  "stroke-width": 4,
1110
1131
  fill: "none"
1111
- }, null, 8, Ct))], 10, bt))], 16));
1132
+ }, null, 8, St))], 10, yt))], 16));
1112
1133
  }
1113
- }), Tt = [
1134
+ }), wt = [
1114
1135
  "id",
1115
1136
  "aria-labelledby",
1116
1137
  "aria-describedby"
1117
- ], Et = { class: "g-alertdialog-inner" }, Dt = ["id"], Ot = ["id"], kt = { class: "g-alertdialog-actions" }, At = /* @__PURE__ */ u({
1138
+ ], Tt = { class: "g-alertdialog-inner" }, Et = ["id"], Dt = ["id"], Ot = { class: "g-alertdialog-actions" }, kt = /* @__PURE__ */ u({
1118
1139
  __name: "GAlertDialog",
1119
1140
  props: {
1120
1141
  label: { default: "Confirmation" },
@@ -1123,11 +1144,11 @@ var ft = /* @__PURE__ */ u({
1123
1144
  },
1124
1145
  emits: ["cancel", "confirm"],
1125
1146
  setup(e, { emit: r }) {
1126
- let a = e, o = r, u = D(null), d = D(!0), f = z(), { pop: p, push: m, isTop: h, zIndex: g } = Ke(f, !0, !0), { deactivate: _, activate: v } = Qe(u, h);
1147
+ let a = e, o = r, u = D(null), d = D(!0), f = z(), { pop: p, push: m, isTop: h, zIndex: g } = Ge(f, !0, !0), { deactivate: _, activate: v } = Ze(u, h);
1127
1148
  function x() {
1128
1149
  o("cancel");
1129
1150
  }
1130
- return $e([u], h, d, x, p), S(() => {
1151
+ return Qe([u], h, d, x, p), S(() => {
1131
1152
  m(), v();
1132
1153
  }), b(() => {
1133
1154
  p(), _();
@@ -1135,7 +1156,7 @@ var ft = /* @__PURE__ */ u({
1135
1156
  name: "g-fade",
1136
1157
  appear: ""
1137
1158
  }, {
1138
- default: K(() => [s("div", {
1159
+ default: q(() => [s("div", {
1139
1160
  id: "alertdialog-" + L(f),
1140
1161
  class: "g-alertdialog",
1141
1162
  role: "alertdialog",
@@ -1145,43 +1166,43 @@ var ft = /* @__PURE__ */ u({
1145
1166
  ref_key: "dialog",
1146
1167
  ref: u,
1147
1168
  style: y({ zIndex: L(g) })
1148
- }, [s("div", Et, [
1169
+ }, [s("div", Tt, [
1149
1170
  s("h2", {
1150
1171
  id: "alertdialog-label-" + L(f),
1151
1172
  class: "g-alertdialog-label"
1152
- }, N(a.label), 9, Dt),
1173
+ }, N(a.label), 9, Et),
1153
1174
  s("div", {
1154
1175
  id: "alertdialog-description-" + L(f),
1155
1176
  class: "g-alertdialog-content"
1156
- }, [k(e.$slots, "default")], 8, Ot),
1157
- s("div", kt, [l(Q, {
1177
+ }, [k(e.$slots, "default")], 8, Dt),
1178
+ s("div", Ot, [l(Q, {
1158
1179
  outlined: "",
1159
1180
  onClick: r[0] ||= (e) => o("cancel")
1160
1181
  }, {
1161
- default: K(() => [...r[2] ||= [c("Cancel", -1)]]),
1182
+ default: q(() => [...r[2] ||= [c("Cancel", -1)]]),
1162
1183
  _: 1
1163
1184
  }), l(Q, {
1164
1185
  theme: a.buttonColor,
1165
1186
  onClick: r[1] ||= (e) => o("confirm")
1166
1187
  }, {
1167
- default: K(() => [c(N(a.buttonText), 1)]),
1188
+ default: q(() => [c(N(a.buttonText), 1)]),
1168
1189
  _: 1
1169
1190
  }, 8, ["theme"])])
1170
- ])], 12, Tt)]),
1191
+ ])], 12, wt)]),
1171
1192
  _: 3
1172
1193
  })]));
1173
1194
  }
1174
1195
  });
1175
1196
  //#endregion
1176
1197
  //#region src/compose/useSelectDropdown.ts
1177
- function jt(e) {
1198
+ function At(e) {
1178
1199
  return e.map((e) => typeof e == "string" ? {
1179
1200
  label: e,
1180
1201
  value: e
1181
1202
  } : e);
1182
1203
  }
1183
- function Mt({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a }) {
1184
- let { push: o, pop: s, isTop: c } = Ke(i), l = D("below"), u = D(null), d = r(() => {
1204
+ function jt({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a }) {
1205
+ let { push: o, pop: s, isTop: c } = Ge(i), l = D("below"), u = D(null), d = r(() => {
1185
1206
  let e = {};
1186
1207
  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;
1187
1208
  });
@@ -1204,7 +1225,7 @@ function Mt({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a })
1204
1225
  function h() {
1205
1226
  p && p();
1206
1227
  }
1207
- W(e, (e) => {
1228
+ G(e, (e) => {
1208
1229
  e ? (o(), m(), g(() => f())) : (s(), h(), l.value = "below", u.value = null);
1209
1230
  }), x(() => {
1210
1231
  h();
@@ -1224,11 +1245,11 @@ function Mt({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a })
1224
1245
  }
1225
1246
  //#endregion
1226
1247
  //#region src/components/GSelect.vue?vue&type=script&setup=true&lang.ts
1227
- var Nt = ["id"], Pt = {
1248
+ var Mt = ["id"], Nt = {
1228
1249
  key: 0,
1229
1250
  class: "g-select-required",
1230
1251
  "aria-hidden": "true"
1231
- }, Ft = { class: "g-select-input-wrap" }, It = ["id"], Lt = [
1252
+ }, Pt = { class: "g-select-input-wrap" }, Ft = ["id"], It = [
1232
1253
  "value",
1233
1254
  "placeholder",
1234
1255
  "disabled",
@@ -1236,21 +1257,21 @@ var Nt = ["id"], Pt = {
1236
1257
  "aria-expanded",
1237
1258
  "aria-required",
1238
1259
  "aria-activedescendant"
1239
- ], Rt = [
1260
+ ], Lt = [
1240
1261
  "id",
1241
1262
  "aria-controls",
1242
1263
  "aria-expanded",
1243
1264
  "aria-required",
1244
1265
  "aria-activedescendant"
1245
- ], zt = ["id"], Bt = [
1266
+ ], Rt = ["id"], zt = [
1246
1267
  "id",
1247
1268
  "aria-selected",
1248
1269
  "onClick"
1249
- ], Vt = {
1270
+ ], Bt = {
1250
1271
  key: 1,
1251
1272
  "aria-live": "polite",
1252
1273
  class: "g-select-combo-option g-select-option g-select-no-results"
1253
- }, Ht = /* @__PURE__ */ u({
1274
+ }, Vt = /* @__PURE__ */ u({
1254
1275
  __name: "GSelect",
1255
1276
  props: /* @__PURE__ */ m({
1256
1277
  options: {},
@@ -1288,18 +1309,18 @@ var Nt = ["id"], Pt = {
1288
1309
  value: d,
1289
1310
  errors: F(i, "errors"),
1290
1311
  formKey: i.formKey
1291
- }), { menuPlacement: E, menuStyle: A, isTop: j, scrollOptionIntoView: M } = Mt({
1312
+ }), { menuPlacement: E, menuStyle: A, isTop: j, scrollOptionIntoView: M } = jt({
1292
1313
  open: y,
1293
1314
  anchorRef: p,
1294
1315
  listboxRef: m,
1295
1316
  baseId: f,
1296
1317
  activeIndex: b
1297
- }), P = r(() => jt(i.options)), I = D(""), R = r(() => {
1318
+ }), P = r(() => At(i.options)), I = D(""), R = r(() => {
1298
1319
  if (!i.searchable || !y.value || !I.value) return P.value;
1299
1320
  let e = I.value.toLowerCase();
1300
1321
  return P.value.filter((t) => t.label.toLowerCase().includes(e));
1301
1322
  }), V = r(() => R.value.findIndex((e) => e.value === d.value));
1302
- W(() => d.value, (e) => {
1323
+ G(() => d.value, (e) => {
1303
1324
  let t = R.value.findIndex((t) => t.value === e);
1304
1325
  t !== -1 && (b.value = t);
1305
1326
  });
@@ -1315,7 +1336,7 @@ var Nt = ["id"], Pt = {
1315
1336
  function U() {
1316
1337
  y.value = !1, i.searchable && (I.value = "");
1317
1338
  }
1318
- function G(e) {
1339
+ function K(e) {
1319
1340
  if (!i.disabled && i.searchable) {
1320
1341
  if (S.value) {
1321
1342
  S.value = !1;
@@ -1324,13 +1345,13 @@ var Nt = ["id"], Pt = {
1324
1345
  H();
1325
1346
  }
1326
1347
  }
1327
- function K(e) {
1348
+ function q(e) {
1328
1349
  if (!i.searchable) return;
1329
1350
  y.value || H(), I.value = e.target.value;
1330
1351
  let t = R.value.findIndex((e) => e.value === d.value);
1331
1352
  b.value = t === -1 ? 0 : t;
1332
1353
  }
1333
- function Y(e) {
1354
+ function X(e) {
1334
1355
  let t = e.relatedTarget;
1335
1356
  if (x.value) {
1336
1357
  x.value = !1;
@@ -1338,16 +1359,16 @@ var Nt = ["id"], Pt = {
1338
1359
  }
1339
1360
  t && m.value && m.value.contains(t) || (i.searchable && (I.value = ""), U());
1340
1361
  }
1341
- function te(e) {
1362
+ function ee(e) {
1342
1363
  let t = R.value[e];
1343
1364
  t && t.value !== d.value && (d.value = t.value, u("change", t.value)), S.value = !0, U(), setTimeout(() => {
1344
1365
  S.value = !1;
1345
1366
  }, 100);
1346
1367
  }
1347
- function X() {
1368
+ function Z() {
1348
1369
  i.disabled || (y.value ? U() : H());
1349
1370
  }
1350
- function Z(e) {
1371
+ function te(e) {
1351
1372
  if (i.disabled) return;
1352
1373
  let t = R.value.length - 1;
1353
1374
  if (!y.value && [
@@ -1374,7 +1395,7 @@ var Nt = ["id"], Pt = {
1374
1395
  break;
1375
1396
  case "Enter":
1376
1397
  case " ":
1377
- e.preventDefault(), y.value ? te(b.value) : H();
1398
+ e.preventDefault(), y.value ? ee(b.value) : H();
1378
1399
  break;
1379
1400
  case "Escape":
1380
1401
  j.value && (e.preventDefault(), setTimeout(() => {
@@ -1384,7 +1405,7 @@ var Nt = ["id"], Pt = {
1384
1405
  }
1385
1406
  }
1386
1407
  function ne(e) {
1387
- te(e);
1408
+ ee(e);
1388
1409
  }
1389
1410
  function re() {
1390
1411
  x.value = !0;
@@ -1402,8 +1423,8 @@ var Nt = ["id"], Pt = {
1402
1423
  key: 0,
1403
1424
  id: L(f) + "-label",
1404
1425
  class: "g-select-combo-label g-select-label"
1405
- }, [c(N(i.label), 1), i.required ? (w(), o("span", Pt, " *")) : a("", !0)], 8, Nt)),
1406
- s("div", Ft, [i.searchable ? (w(), o("div", {
1426
+ }, [c(N(i.label), 1), i.required ? (w(), o("span", Nt, " *")) : a("", !0)], 8, Mt)),
1427
+ s("div", Pt, [i.searchable ? (w(), o("div", {
1407
1428
  key: 0,
1408
1429
  class: "g-select-combo-input g-select-control",
1409
1430
  id: L(f)
@@ -1417,10 +1438,10 @@ var Nt = ["id"], Pt = {
1417
1438
  value: y.value ? I.value : P.value[V.value] ? P.value[V.value].label : "",
1418
1439
  placeholder: y.value ? "" : t.placeholder,
1419
1440
  disabled: i.disabled,
1420
- onFocus: G,
1421
- onInput: K,
1422
- onKeydown: Z,
1423
- onBlur: Y,
1441
+ onFocus: K,
1442
+ onInput: q,
1443
+ onKeydown: te,
1444
+ onBlur: X,
1424
1445
  "aria-autocomplete": "list",
1425
1446
  "aria-controls": L(f) + "-listbox",
1426
1447
  "aria-expanded": y.value ? "true" : "false",
@@ -1430,7 +1451,7 @@ var Nt = ["id"], Pt = {
1430
1451
  }, t.hiddenLabel ? { "aria-label": i.label } : { "aria-labelledby": L(f) + "-label" }, {
1431
1452
  role: "combobox",
1432
1453
  autocomplete: "off"
1433
- }), null, 16, Lt),
1454
+ }), null, 16, It),
1434
1455
  ie.value ? (w(), o("button", {
1435
1456
  key: 0,
1436
1457
  type: "button",
@@ -1456,7 +1477,7 @@ var Nt = ["id"], Pt = {
1456
1477
  fill: "currentColor",
1457
1478
  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"
1458
1479
  })], -1)
1459
- ], 8, It)) : (w(), o("div", h({
1480
+ ], 8, Ft)) : (w(), o("div", h({
1460
1481
  key: 1,
1461
1482
  ref_key: "comboRef",
1462
1483
  ref: p,
@@ -1470,17 +1491,17 @@ var Nt = ["id"], Pt = {
1470
1491
  }, t.hiddenLabel ? { "aria-label": i.label } : { "aria-labelledby": L(f) + "-label" }, {
1471
1492
  "aria-activedescendant": y.value ? L(f) + "-option-" + b.value : void 0,
1472
1493
  tabindex: "0",
1473
- onClick: X,
1474
- onKeydown: Z,
1475
- onFocus: G,
1476
- onBlur: Y
1494
+ onClick: Z,
1495
+ onKeydown: te,
1496
+ onFocus: K,
1497
+ onBlur: X
1477
1498
  }), [
1478
1499
  c(N(P.value[V.value] ? P.value[V.value].label : "") + " ", 1),
1479
1500
  ie.value ? (w(), o("button", {
1480
1501
  key: 0,
1481
1502
  type: "button",
1482
1503
  class: "g-select-clear-btn",
1483
- onClick: J(ae, ["stop"])
1504
+ onClick: Y(ae, ["stop"])
1484
1505
  }, [...r[2] ||= [s("svg", {
1485
1506
  role: "img",
1486
1507
  "aria-label": "Clear Selection",
@@ -1501,7 +1522,7 @@ var Nt = ["id"], Pt = {
1501
1522
  fill: "currentColor",
1502
1523
  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"
1503
1524
  })], -1)
1504
- ], 16, Rt)), q(s("div", h({
1525
+ ], 16, Lt)), J(s("div", h({
1505
1526
  ref_key: "listboxRef",
1506
1527
  ref: m,
1507
1528
  class: ["g-select-combo-menu g-select-list", { "g-select-combo-menu--above": L(E) === "above" }],
@@ -1523,34 +1544,34 @@ var Nt = ["id"], Pt = {
1523
1544
  option: e,
1524
1545
  selected: e.value === d.value,
1525
1546
  index: t
1526
- }, () => [c(N(e.label), 1)])], 42, Bt))), 128)) : (w(), o("div", Vt, " No results found. "))], 16, zt), [[ee, y.value]])]),
1527
- l(je, {
1547
+ }, () => [c(N(e.label), 1)])], 42, zt))), 128)) : (w(), o("div", Bt, " No results found. "))], 16, Rt), [[W, y.value]])]),
1548
+ l(Ae, {
1528
1549
  errors: L(C),
1529
1550
  id: "error-message-" + L(f)
1530
1551
  }, null, 8, ["errors", "id"])
1531
1552
  ], 2));
1532
1553
  }
1533
- }), Ut = ["aria-label"], Wt = [
1554
+ }), Ht = ["aria-label"], Ut = [
1534
1555
  "placeholder",
1535
1556
  "value",
1536
1557
  "aria-expanded",
1537
1558
  "aria-controls",
1538
1559
  "aria-activedescendant"
1539
- ], Gt = {
1560
+ ], Wt = {
1540
1561
  key: 0,
1541
1562
  class: "g-search-dropdown"
1542
- }, Kt = {
1563
+ }, Gt = {
1543
1564
  "aria-live": "polite",
1544
1565
  class: "g-search-result-count"
1545
- }, qt = ["id"], Jt = ["aria-label"], Yt = { class: "g-search-group-label" }, Xt = [
1566
+ }, Kt = ["id"], qt = ["aria-label"], Jt = { class: "g-search-group-label" }, Yt = [
1546
1567
  "id",
1547
1568
  "onMousedown",
1548
1569
  "aria-selected"
1549
- ], Zt = [
1570
+ ], Xt = [
1550
1571
  "id",
1551
1572
  "onMousedown",
1552
1573
  "aria-selected"
1553
- ], Qt = /* @__PURE__ */ u({
1574
+ ], Zt = /* @__PURE__ */ u({
1554
1575
  __name: "GSearch",
1555
1576
  props: /* @__PURE__ */ m({
1556
1577
  results: {},
@@ -1605,7 +1626,7 @@ var Nt = ["id"], Pt = {
1605
1626
  let E = r(() => !!u.loading), A = r(() => S.value && !m.value), j = re(() => {
1606
1627
  d("submit", l.value);
1607
1628
  }, 300);
1608
- W(() => l.value, (e) => {
1629
+ G(() => l.value, (e) => {
1609
1630
  e ? u.auto && j() : h.value = -1;
1610
1631
  });
1611
1632
  let M = z();
@@ -1615,7 +1636,7 @@ var Nt = ["id"], Pt = {
1615
1636
  "aria-label": u.label
1616
1637
  }, [s("form", {
1617
1638
  class: "g-search-form",
1618
- onSubmit: n[0] ||= J((e) => T(null), ["prevent"])
1639
+ onSubmit: n[0] ||= Y((e) => T(null), ["prevent"])
1619
1640
  }, [s("input", {
1620
1641
  ref_key: "inputRef",
1621
1642
  ref: f,
@@ -1631,12 +1652,12 @@ var Nt = ["id"], Pt = {
1631
1652
  "aria-autocomplete": "list",
1632
1653
  "aria-controls": `${L(M)}-list`,
1633
1654
  "aria-activedescendant": h.value >= 0 ? "g-search-option-" + v.value[h.value].id : void 0
1634
- }, null, 40, Wt), s("button", {
1655
+ }, null, 40, Ut), s("button", {
1635
1656
  type: "submit",
1636
1657
  class: "g-search-submit",
1637
1658
  "aria-label": "Submit search",
1638
1659
  onKeydown: C
1639
- }, [E.value ? (w(), i(wt, {
1660
+ }, [E.value ? (w(), i(Ct, {
1640
1661
  key: 0,
1641
1662
  size: "tiny"
1642
1663
  })) : a("", !0), n[1] ||= s("svg", {
@@ -1647,7 +1668,7 @@ var Nt = ["id"], Pt = {
1647
1668
  }, [s("path", {
1648
1669
  fill: "currentColor",
1649
1670
  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"
1650
- })], -1)], 32)], 32), A.value ? (w(), o("div", Gt, [s("div", Kt, [E.value ? a("", !0) : (w(), o(e, { key: 0 }, [c(N(y.value) + " result" + N(y.value === 1 ? "" : "s"), 1)], 64))]), s("div", {
1671
+ })], -1)], 32)], 32), A.value ? (w(), o("div", Wt, [s("div", Gt, [E.value ? a("", !0) : (w(), o(e, { key: 0 }, [c(N(y.value) + " result" + N(y.value === 1 ? "" : "s"), 1)], 64))]), s("div", {
1651
1672
  role: "listbox",
1652
1673
  id: `${L(M)}-list`,
1653
1674
  ref_key: "listboxRef",
@@ -1658,29 +1679,29 @@ var Nt = ["id"], Pt = {
1658
1679
  class: "g-search-group",
1659
1680
  role: "group",
1660
1681
  "aria-label": n.label
1661
- }, [k(t.$slots, "group", { group: n }, () => [s("div", Yt, N(n.label), 1)]), (w(!0), o(e, null, O(n.items, (e, n) => (w(), o("div", {
1682
+ }, [k(t.$slots, "group", { group: n }, () => [s("div", Jt, N(n.label), 1)]), (w(!0), o(e, null, O(n.items, (e, n) => (w(), o("div", {
1662
1683
  key: e.id,
1663
1684
  id: "g-search-option-" + e.id,
1664
1685
  class: _(["g-search-option", { "g-search-option-active": v.value[h.value] && v.value[h.value].id === e.id }]),
1665
1686
  role: "option",
1666
- onMousedown: J((t) => T(e), ["prevent"]),
1687
+ onMousedown: Y((t) => T(e), ["prevent"]),
1667
1688
  "aria-selected": v.value[h.value] && v.value[h.value].id === e.id
1668
- }, [k(t.$slots, "option", { option: e }, () => [c(N(e.title), 1)])], 42, Xt))), 128))], 8, Jt))), 128)) : y.value > 0 ? (w(!0), o(e, { key: 1 }, O(v.value, (e, n) => (w(), o("div", {
1689
+ }, [k(t.$slots, "option", { option: e }, () => [c(N(e.title), 1)])], 42, Yt))), 128))], 8, qt))), 128)) : y.value > 0 ? (w(!0), o(e, { key: 1 }, O(v.value, (e, n) => (w(), o("div", {
1669
1690
  key: e.id,
1670
1691
  id: "g-search-option-" + e.id,
1671
1692
  class: _(["g-search-option", { "g-search-option-active": h.value === n }]),
1672
1693
  role: "option",
1673
- onMousedown: J((t) => T(e), ["prevent"]),
1694
+ onMousedown: Y((t) => T(e), ["prevent"]),
1674
1695
  "aria-selected": h.value === n
1675
- }, [k(t.$slots, "option", { option: e }, () => [c(N(e.title), 1)])], 42, Zt))), 128)) : a("", !0)], 8, qt)])) : a("", !0)], 8, Ut));
1696
+ }, [k(t.$slots, "option", { option: e }, () => [c(N(e.title), 1)])], 42, Xt))), 128)) : a("", !0)], 8, Kt)])) : a("", !0)], 8, Ht));
1676
1697
  }
1677
- }), $t = { class: /* @__PURE__ */ _({ "g-app-header": !0 }) }, en = { class: "g-app-header__brand" }, tn = {
1698
+ }), Qt = { class: /* @__PURE__ */ _({ "g-app-header": !0 }) }, $t = { class: "g-app-header__brand" }, en = {
1678
1699
  class: "g-app-header__brand-text",
1679
1700
  href: "/"
1680
- }, nn = {
1701
+ }, tn = {
1681
1702
  key: 0,
1682
1703
  class: "g-app-header__block-i-container"
1683
- }, rn = { class: "g-app-header__title" }, an = { class: "g-app-header__app-controls-wrap" }, on = /* @__PURE__ */ u({
1704
+ }, nn = { class: "g-app-header__title" }, rn = { class: "g-app-header__app-controls-wrap" }, an = /* @__PURE__ */ u({
1684
1705
  __name: "GAppHeader",
1685
1706
  props: {
1686
1707
  illinois: {
@@ -1690,10 +1711,10 @@ var Nt = ["id"], Pt = {
1690
1711
  brand: { default: "GRAD" }
1691
1712
  },
1692
1713
  setup(e) {
1693
- return (t, n) => (w(), o("header", $t, [
1714
+ return (t, n) => (w(), o("header", Qt, [
1694
1715
  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),
1695
- s("div", en, [k(t.$slots, "left", {}, () => [s("a", tn, N(e.brand), 1)])]),
1696
- e.illinois ? (w(), o("div", nn, [...n[0] ||= [s("svg", {
1716
+ s("div", $t, [k(t.$slots, "left", {}, () => [s("a", en, N(e.brand), 1)])]),
1717
+ e.illinois ? (w(), o("div", tn, [...n[0] ||= [s("svg", {
1697
1718
  class: "g-app-header__block-i",
1698
1719
  role: "img",
1699
1720
  width: "55",
@@ -1710,24 +1731,24 @@ var Nt = ["id"], Pt = {
1710
1731
  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"
1711
1732
  })
1712
1733
  ], -1)]])) : k(t.$slots, "icon", { key: 1 }),
1713
- s("div", rn, [k(t.$slots, "title")]),
1714
- s("div", an, [k(t.$slots, "app-controls", { class: "g-app-header__app-controls" })])
1734
+ s("div", nn, [k(t.$slots, "title")]),
1735
+ s("div", rn, [k(t.$slots, "app-controls", { class: "g-app-header__app-controls" })])
1715
1736
  ]));
1716
1737
  }
1717
1738
  });
1718
1739
  //#endregion
1719
1740
  //#region src/compose/useWebComponentSidebar.ts
1720
- function sn(e) {
1741
+ function on(e) {
1721
1742
  return e.replace(/[^a-zA-Z0-9_-]/g, "-");
1722
1743
  }
1723
- function cn() {
1744
+ function sn() {
1724
1745
  let e = globalThis;
1725
1746
  return e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__ ||= /* @__PURE__ */ new Map(), e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__;
1726
1747
  }
1727
- function ln(e = "default", t = "(max-width: 800px)") {
1728
- let n = cn(), r = e || "default";
1748
+ function cn(e = "default", t = "(max-width: 800px)") {
1749
+ let n = sn(), r = e || "default";
1729
1750
  if (!n.has(r)) {
1730
- let e = sn(r);
1751
+ let e = on(r);
1731
1752
  n.set(r, {
1732
1753
  id: `g-wc-sidebar-${e}`,
1733
1754
  open: D(!1),
@@ -1752,7 +1773,7 @@ function ln(e = "default", t = "(max-width: 800px)") {
1752
1773
  }, 5));
1753
1774
  }
1754
1775
  return S(() => {
1755
- W(i.isCollapsible, (e) => {
1776
+ G(i.isCollapsible, (e) => {
1756
1777
  e ? (document.addEventListener("mousedown", a), document.addEventListener("focusin", o)) : (document.removeEventListener("mousedown", a), document.removeEventListener("focusin", o));
1757
1778
  }, { immediate: !0 });
1758
1779
  }), x(() => {
@@ -1761,7 +1782,7 @@ function ln(e = "default", t = "(max-width: 800px)") {
1761
1782
  }
1762
1783
  //#endregion
1763
1784
  //#region src/components/GSidebar.vue?vue&type=script&setup=true&lang.ts
1764
- var un = ["id"], dn = /* @__PURE__ */ u({
1785
+ var ln = ["id"], un = /* @__PURE__ */ u({
1765
1786
  __name: "GSidebar",
1766
1787
  props: {
1767
1788
  backgroundColor: { default: "" },
@@ -1773,7 +1794,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
1773
1794
  sidebarKey: { default: "default" }
1774
1795
  },
1775
1796
  setup(e) {
1776
- let t = e, n = p("sidebar", () => void 0, !0) ?? (de() ? ln(t.sidebarKey) : void 0), i = r(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "url('https://gradcdn.blob.core.windows.net/public/sidebar-bg2.jpg')"), a = r(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), s = r(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), c = z();
1797
+ let t = e, n = p("sidebar", () => void 0, !0) ?? (de() ? cn(t.sidebarKey) : void 0), i = r(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "url('https://gradcdn.blob.core.windows.net/public/sidebar-bg2.jpg')"), a = r(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), s = r(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), c = z();
1777
1798
  function l(e) {
1778
1799
  e.key === "Escape" && n?.isCollapsible?.value && n?.open?.value && (n.open.value = !1, document.getElementById(`${n.id}-hamburger`)?.focus());
1779
1800
  }
@@ -1793,13 +1814,13 @@ var un = ["id"], dn = /* @__PURE__ */ u({
1793
1814
  width: "var(--g-sidebar-width)"
1794
1815
  }),
1795
1816
  onKeydown: l
1796
- }, [k(t.$slots, "default")], 46, un));
1817
+ }, [k(t.$slots, "default")], 46, ln));
1797
1818
  }
1798
- }), fn = ["id"], pn = { class: "g-sidebar-menu__list" }, mn = [
1819
+ }), dn = ["id"], fn = { class: "g-sidebar-menu__list" }, pn = [
1799
1820
  "href",
1800
1821
  "aria-current",
1801
1822
  "onClick"
1802
- ], hn = /* @__PURE__ */ u({
1823
+ ], mn = /* @__PURE__ */ u({
1803
1824
  __name: "GSidebarMenu",
1804
1825
  props: /* @__PURE__ */ m({
1805
1826
  heading: {},
@@ -1825,7 +1846,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
1825
1846
  setup(t) {
1826
1847
  let n = t, l = B(t, "modelValue"), u = r(() => n.spy && l.value ? "#" + l.value : null), f = H("content");
1827
1848
  S(() => {
1828
- W(l, () => {
1849
+ G(l, () => {
1829
1850
  g(() => {
1830
1851
  let e = f.value?.querySelector(".g-sidebar-menu__is-active");
1831
1852
  e && e.scrollIntoView({ block: "nearest" });
@@ -1847,13 +1868,13 @@ var un = ["id"], dn = /* @__PURE__ */ u({
1847
1868
  key: 0,
1848
1869
  id: L(y),
1849
1870
  class: "g-sidebar-menu__title"
1850
- }, N(t.heading), 9, fn)) : a("", !0),
1871
+ }, N(t.heading), 9, dn)) : a("", !0),
1851
1872
  l[0] ||= s("div", { class: "g-sidebar-menu__divider" }, null, -1),
1852
1873
  s("div", {
1853
1874
  class: "g-sidebar-menu__content",
1854
1875
  ref_key: "content",
1855
1876
  ref: f
1856
- }, [s("ul", pn, [(w(!0), o(e, null, O(t.items, (e) => (w(), o("li", {
1877
+ }, [s("ul", fn, [(w(!0), o(e, null, O(t.items, (e) => (w(), o("li", {
1857
1878
  key: e.href || e.to,
1858
1879
  class: "g-sidebar-menu__item",
1859
1880
  ref_for: !0,
@@ -1863,7 +1884,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
1863
1884
  class: "g-sidebar-menu__link",
1864
1885
  to: e.to
1865
1886
  }, {
1866
- default: K(() => [c(N(e.label), 1)]),
1887
+ default: q(() => [c(N(e.label), 1)]),
1867
1888
  _: 2
1868
1889
  }, 1032, ["to"])) : (w(), o("a", {
1869
1890
  key: 1,
@@ -1871,24 +1892,24 @@ var un = ["id"], dn = /* @__PURE__ */ u({
1871
1892
  href: e.href || e.to || "#",
1872
1893
  "aria-current": u.value === (e.href || "") ? "location" : void 0,
1873
1894
  onClick: (t) => v(t, e)
1874
- }, N(e.label), 11, mn))]))), 128))])], 512)
1895
+ }, N(e.label), 11, pn))]))), 128))])], 512)
1875
1896
  ], 16));
1876
1897
  }
1877
- }), gn = {
1898
+ }), hn = {
1878
1899
  mounted(e, t) {
1879
- let n = D(null), r = D(!1), i = D(!1), a = D(t.value), o = null, s = !1, c = st(e), l = () => {
1880
- n.value || (n.value = ct(a.value, c), lt(n.value), o = new ResizeObserver(() => {
1881
- n.value && (r.value || i.value) && ut(e, n.value);
1900
+ let n = D(null), r = D(!1), i = D(!1), a = D(t.value), o = null, s = !1, c = ot(e), l = () => {
1901
+ n.value || (n.value = st(a.value, c), ct(n.value), o = new ResizeObserver(() => {
1902
+ n.value && (r.value || i.value) && lt(e, n.value);
1882
1903
  }), o.observe(n.value));
1883
1904
  };
1884
- G(() => {
1905
+ K(() => {
1885
1906
  n.value && (n.value.textContent = a.value);
1886
1907
  });
1887
1908
  let u = () => {
1888
- n.value && (r.value || i.value) && ut(e, n.value);
1909
+ n.value && (r.value || i.value) && lt(e, n.value);
1889
1910
  };
1890
- G(() => {
1891
- 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(() => {
1911
+ K(() => {
1912
+ r.value || i.value ? (l(), n.value && lt(e, n.value), s ||= (window.addEventListener("scroll", u, { capture: !0 }), !0)) : (s &&= (window.removeEventListener("scroll", u, { capture: !0 }), !1), n.value && (ut(n.value), setTimeout(() => {
1892
1913
  e.dispatchEvent(new CustomEvent("tooltip-hide"));
1893
1914
  }, 150)));
1894
1915
  });
@@ -1926,7 +1947,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
1926
1947
  let t = e._v_gtooltip;
1927
1948
  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");
1928
1949
  }
1929
- }, _n = { class: "g-clipboard-text" }, vn = /* @__PURE__ */ u({
1950
+ }, gn = { class: "g-clipboard-text" }, _n = /* @__PURE__ */ u({
1930
1951
  __name: "GClipboard",
1931
1952
  props: {
1932
1953
  text: {},
@@ -1934,12 +1955,12 @@ var un = ["id"], dn = /* @__PURE__ */ u({
1934
1955
  copyLabel: {}
1935
1956
  },
1936
1957
  setup(t) {
1937
- let n = t, r = gn, { text: i, copy: l, copied: u, isSupported: d } = ne({ source: n.text }), f = D(n.copyLabel ?? "Copy to clipboard"), p = () => {
1958
+ let n = t, r = hn, { text: i, copy: l, copied: u, isSupported: d } = ne({ source: n.text }), f = D(n.copyLabel ?? "Copy to clipboard"), p = () => {
1938
1959
  d.value ? (l(), f.value = "Copied") : f.value = "Copy not supported";
1939
1960
  }, m = () => {
1940
1961
  f.value = n.copyLabel ?? "Copy to clipboard";
1941
1962
  };
1942
- return (i, l) => (w(), o("div", _n, [t.hideText ? a("", !0) : (w(), o(e, { key: 0 }, [c(N(n.text), 1)], 64)), q((w(), o("button", {
1963
+ return (i, l) => (w(), o("div", gn, [t.hideText ? a("", !0) : (w(), o(e, { key: 0 }, [c(N(n.text), 1)], 64)), J((w(), o("button", {
1943
1964
  type: "button",
1944
1965
  "aria-label": "Copy",
1945
1966
  onClick: p,
@@ -1956,15 +1977,15 @@ var un = ["id"], dn = /* @__PURE__ */ u({
1956
1977
  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"
1957
1978
  })], -1)]], 32)), [[L(r), f.value]])]));
1958
1979
  }
1959
- }), yn = { class: "g-history-scroller-wrapper" }, bn = {
1980
+ }), vn = { class: "g-history-scroller-wrapper" }, yn = {
1960
1981
  key: 0,
1961
1982
  class: "g-history-shadow g-history-shadow--top",
1962
1983
  "aria-hidden": "true"
1963
- }, xn = {
1984
+ }, bn = {
1964
1985
  key: 1,
1965
1986
  class: "g-history-shadow g-history-shadow--bottom",
1966
1987
  "aria-hidden": "true"
1967
- }, Sn = ["role", "aria-label"], Cn = /* @__PURE__ */ u({
1988
+ }, xn = ["role", "aria-label"], Sn = /* @__PURE__ */ u({
1968
1989
  __name: "GHistoryScroller",
1969
1990
  props: {
1970
1991
  label: {},
@@ -1992,13 +2013,13 @@ var un = ["id"], dn = /* @__PURE__ */ u({
1992
2013
  u.value && f();
1993
2014
  }), ce(c, () => {
1994
2015
  u.value && f();
1995
- }), W(() => n.entries, async () => {
2016
+ }), G(() => n.entries, async () => {
1996
2017
  u.value && (await g(), f());
1997
2018
  });
1998
2019
  let m = r(() => [...n.entries].reverse());
1999
- return (n, r) => (w(), o("div", yn, [
2000
- d.value ? a("", !0) : (w(), o("div", bn)),
2001
- u.value ? a("", !0) : (w(), o("div", xn)),
2020
+ return (n, r) => (w(), o("div", vn, [
2021
+ d.value ? a("", !0) : (w(), o("div", yn)),
2022
+ u.value ? a("", !0) : (w(), o("div", bn)),
2002
2023
  s("div", {
2003
2024
  ref_key: "scrollerRef",
2004
2025
  ref: i,
@@ -2013,7 +2034,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2013
2034
  onClick: r[0] ||= () => f({ focusLast: !0 }),
2014
2035
  "aria-label": "Jump to Latest"
2015
2036
  }, {
2016
- default: K(() => [...r[1] ||= [s("svg", {
2037
+ default: q(() => [...r[1] ||= [s("svg", {
2017
2038
  "aria-hidden": "true",
2018
2039
  xmlns: "http://www.w3.org/2000/svg",
2019
2040
  viewBox: "0 0 640 640",
@@ -2033,31 +2054,31 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2033
2054
  key: e.id,
2034
2055
  class: "g-history-entry",
2035
2056
  tabindex: "-1"
2036
- }, [k(n.$slots, "default", { entry: e })]))), 128))], 512)], 40, Sn)
2057
+ }, [k(n.$slots, "default", { entry: e })]))), 128))], 512)], 40, xn)
2037
2058
  ]));
2038
2059
  }
2039
- }), wn = { class: "g-three-way-toggle-wrapper" }, Tn = { class: "g-three-way-toggle-control" }, En = ["id"], Dn = [
2060
+ }), Cn = { class: "g-three-way-toggle-wrapper" }, wn = { class: "g-three-way-toggle-control" }, Tn = ["id"], En = [
2040
2061
  "aria-labelledby",
2041
2062
  "aria-describedby",
2042
2063
  "disabled",
2043
2064
  "aria-invalid",
2044
2065
  "aria-errormessage"
2045
- ], On = { key: 0 }, kn = { key: 1 }, An = { key: 2 }, jn = ["for"], Mn = [
2066
+ ], Dn = { key: 0 }, On = { key: 1 }, kn = { key: 2 }, An = ["for"], jn = [
2046
2067
  "id",
2047
2068
  "name",
2048
2069
  "checked",
2049
2070
  "disabled"
2050
- ], Nn = ["for"], Pn = [
2071
+ ], Mn = ["for"], Nn = [
2051
2072
  "id",
2052
2073
  "name",
2053
2074
  "checked",
2054
2075
  "disabled"
2055
- ], Fn = ["for"], In = [
2076
+ ], Pn = ["for"], Fn = [
2056
2077
  "id",
2057
2078
  "name",
2058
2079
  "checked",
2059
2080
  "disabled"
2060
- ], Ln = ["id"], Rn = /* @__PURE__ */ u({
2081
+ ], In = ["id"], Ln = /* @__PURE__ */ u({
2061
2082
  __name: "GThreeWayToggle",
2062
2083
  props: /* @__PURE__ */ m({
2063
2084
  label: {},
@@ -2091,10 +2112,10 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2091
2112
  function b(e) {
2092
2113
  n.disabled || (e.key === "n" || e.key === "N" ? (u(!1), e.preventDefault()) : (e.key === "y" || e.key === "Y") && (u(!0), e.preventDefault()));
2093
2114
  }
2094
- return (t, n) => (w(), o("div", wn, [s("div", Tn, [s("span", {
2115
+ return (t, n) => (w(), o("div", Cn, [s("div", wn, [s("span", {
2095
2116
  class: "g-label",
2096
2117
  id: L(p)
2097
- }, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])], 8, En), s("fieldset", {
2118
+ }, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])], 8, Tn), s("fieldset", {
2098
2119
  class: _(["g-three-way-toggle", { "g-has-error": e.error }]),
2099
2120
  role: "radiogroup",
2100
2121
  "aria-labelledby": L(p),
@@ -2106,7 +2127,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2106
2127
  s("span", {
2107
2128
  class: _(["g-toggle-thumb", y.value]),
2108
2129
  "aria-hidden": "true"
2109
- }, [i.value === !1 ? (w(), o("span", On, "NO")) : i.value === !0 ? (w(), o("span", kn, "YES")) : (w(), o("span", An))], 2),
2130
+ }, [i.value === !1 ? (w(), o("span", Dn, "NO")) : i.value === !0 ? (w(), o("span", On, "YES")) : (w(), o("span", kn))], 2),
2110
2131
  s("label", {
2111
2132
  for: L(h),
2112
2133
  class: "g-toggle-option g-left",
@@ -2120,7 +2141,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2120
2141
  value: "false",
2121
2142
  disabled: e.disabled,
2122
2143
  onChange: n[0] ||= (e) => d(!1)
2123
- }, null, 40, Mn), n[5] ||= s("span", { class: "ilw-sr-only" }, "No", -1)], 40, jn),
2144
+ }, null, 40, jn), n[5] ||= s("span", { class: "ilw-sr-only" }, "No", -1)], 40, An),
2124
2145
  s("label", {
2125
2146
  for: L(g),
2126
2147
  class: "g-toggle-option g-center",
@@ -2132,7 +2153,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2132
2153
  checked: i.value === null,
2133
2154
  disabled: e.disabled,
2134
2155
  onChange: n[2] ||= (e) => d(null)
2135
- }, null, 40, Pn), n[6] ||= s("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, Nn),
2156
+ }, null, 40, Nn), n[6] ||= s("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, Mn),
2136
2157
  s("label", {
2137
2158
  for: L(v),
2138
2159
  class: "g-toggle-option g-right",
@@ -2146,53 +2167,53 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2146
2167
  checked: i.value === !0,
2147
2168
  disabled: e.disabled,
2148
2169
  onChange: n[3] ||= (e) => d(!0)
2149
- }, null, 40, In), n[7] ||= s("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, Fn)
2150
- ], 2)], 10, Dn)]), e.error ? (w(), o("div", {
2170
+ }, null, 40, Fn), n[7] ||= s("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, Pn)
2171
+ ], 2)], 10, En)]), e.error ? (w(), o("div", {
2151
2172
  key: 0,
2152
2173
  id: `${L(p)}-error`,
2153
2174
  class: "g-form-error",
2154
2175
  role: "alert",
2155
2176
  "aria-atomic": "true"
2156
- }, N(e.error), 9, Ln)) : a("", !0)]));
2177
+ }, N(e.error), 9, In)) : a("", !0)]));
2157
2178
  }
2158
- }), zn = {
2179
+ }), Rn = {
2159
2180
  ref: "tableBodyRef",
2160
2181
  class: "efficient-table-body"
2161
- }, Bn = ["aria-rowindex"], Vn = {
2182
+ }, zn = ["aria-rowindex"], Bn = {
2162
2183
  key: 0,
2163
2184
  class: "table-group-checkbox"
2164
- }, Hn = ["colspan"], Un = [
2185
+ }, Vn = ["colspan"], Hn = [
2165
2186
  "aria-rowindex",
2166
2187
  "onMousedown",
2167
2188
  "onClick"
2168
- ], Wn = [
2189
+ ], Un = [
2169
2190
  "checked",
2170
2191
  "onClick",
2171
2192
  "aria-label",
2172
2193
  "name"
2173
- ], Gn = ["id"], Kn = {
2194
+ ], Wn = ["id"], Gn = {
2174
2195
  key: 0,
2175
2196
  class: "editable-cell"
2176
- }, qn = {
2197
+ }, Kn = {
2177
2198
  key: 0,
2178
2199
  class: "cell-prefix"
2179
- }, Jn = [
2200
+ }, qn = [
2180
2201
  "value",
2181
2202
  "onChange",
2182
2203
  "aria-labelledby",
2183
2204
  "aria-invalid",
2184
2205
  "name"
2185
- ], Yn = ["value"], Xn = [
2206
+ ], Jn = ["value"], Yn = [
2186
2207
  "value",
2187
2208
  "onInput",
2188
2209
  "aria-labelledby",
2189
2210
  "aria-invalid",
2190
2211
  "aria-errormessage",
2191
2212
  "name"
2192
- ], Zn = {
2213
+ ], Xn = {
2193
2214
  key: 3,
2194
2215
  class: "cell-suffix"
2195
- }, Qn = ["id"], $n = /* @__PURE__ */ u({
2216
+ }, Zn = ["id"], Qn = /* @__PURE__ */ u({
2196
2217
  __name: "GTableBody",
2197
2218
  props: {
2198
2219
  data: {},
@@ -2261,13 +2282,13 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2261
2282
  function C(e, t) {
2262
2283
  if (l.changeTracker) return l.changeTracker.getError(e.key, t.key);
2263
2284
  }
2264
- return (n, r) => (w(), o("tbody", zn, [(w(!0), o(e, null, O(t.data, (n, l) => (w(), o(e, { key: n.key }, [t.groupBy && (l === 0 || n[t.groupBy] !== t.data[l - 1][t.groupBy]) ? (w(), o("tr", {
2285
+ return (n, r) => (w(), o("tbody", Rn, [(w(!0), o(e, null, O(t.data, (n, l) => (w(), o(e, { key: n.key }, [t.groupBy && (l === 0 || n[t.groupBy] !== t.data[l - 1][t.groupBy]) ? (w(), o("tr", {
2265
2286
  key: 0,
2266
2287
  "aria-rowindex": t.startIndex + l + 2
2267
- }, [t.bulkSelectionEnabled ? (w(), o("td", Vn)) : a("", !0), s("td", {
2288
+ }, [t.bulkSelectionEnabled ? (w(), o("td", Bn)) : a("", !0), s("td", {
2268
2289
  colspan: t.columns.length,
2269
2290
  class: "table-group-row"
2270
- }, [t.groupRender ? (w(), i(A(t.groupRender(n[t.groupBy], n)), { key: 0 })) : (w(), o(e, { key: 1 }, [c(N(n[t.groupBy]), 1)], 64))], 8, Hn)], 8, Bn)) : a("", !0), s("tr", {
2291
+ }, [t.groupRender ? (w(), i(A(t.groupRender(n[t.groupBy], n)), { key: 0 })) : (w(), o(e, { key: 1 }, [c(N(n[t.groupBy]), 1)], 64))], 8, Vn)], 8, zn)) : a("", !0), s("tr", {
2271
2292
  class: _([
2272
2293
  "efficient-table-row",
2273
2294
  {
@@ -2282,7 +2303,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2282
2303
  }, [t.bulkSelectionEnabled ? (w(), o("td", {
2283
2304
  key: 0,
2284
2305
  class: "td-checkbox",
2285
- onClick: r[0] ||= J(() => {}, ["stop"])
2306
+ onClick: r[0] ||= Y(() => {}, ["stop"])
2286
2307
  }, [s("input", {
2287
2308
  type: "checkbox",
2288
2309
  checked: p(n.key),
@@ -2290,7 +2311,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2290
2311
  "aria-label": `Select row ${n.key}`,
2291
2312
  name: `row-${n.key}-checkbox`,
2292
2313
  class: "g-bulk-select-checkbox"
2293
- }, null, 8, Wn)])) : a("", !0), (w(!0), o(e, null, O(t.columns, (r) => (w(), o("td", {
2314
+ }, null, 8, Un)])) : a("", !0), (w(!0), o(e, null, O(t.columns, (r) => (w(), o("td", {
2294
2315
  key: r.key,
2295
2316
  id: b(r) ? `${t.tableId}-td-${n.key}-${String(r.key)}` : void 0,
2296
2317
  class: _([
@@ -2299,8 +2320,8 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2299
2320
  S(n, r) ? "g-cell-error" : "",
2300
2321
  typeof r.tdClass == "function" ? r.tdClass(n) : r.tdClass
2301
2322
  ])
2302
- }, [r.editable ? (w(), o("div", Kn, [
2303
- r.editable.prefix ? (w(), o("span", qn, N(r.editable.prefix), 1)) : a("", !0),
2323
+ }, [r.editable ? (w(), o("div", Gn, [
2324
+ r.editable.prefix ? (w(), o("span", Kn, N(r.editable.prefix), 1)) : a("", !0),
2304
2325
  r.editable.type === "select" ? (w(), o("select", {
2305
2326
  key: 1,
2306
2327
  value: n[r.key],
@@ -2312,7 +2333,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2312
2333
  }, [(w(!0), o(e, null, O(r.editable.options, (e) => (w(), o("option", {
2313
2334
  key: e.value,
2314
2335
  value: e.value
2315
- }, N(e.label), 9, Yn))), 128))], 40, Jn)) : (w(), o("input", h({
2336
+ }, N(e.label), 9, Jn))), 128))], 40, qn)) : (w(), o("input", h({
2316
2337
  key: 2,
2317
2338
  value: n[r.key]
2318
2339
  }, { ref_for: !0 }, r.editable.inputAttributes, {
@@ -2326,24 +2347,24 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2326
2347
  paddingLeft: r.editable.prefix ? "1.5rem" : void 0,
2327
2348
  paddingRight: r.editable.suffix ? "2rem" : void 0
2328
2349
  }
2329
- }), null, 16, Xn)),
2330
- r.editable.suffix ? (w(), o("span", Zn, N(r.editable.suffix), 1)) : a("", !0)
2350
+ }), null, 16, Yn)),
2351
+ r.editable.suffix ? (w(), o("span", Xn, N(r.editable.suffix), 1)) : a("", !0)
2331
2352
  ])) : r.display ? (w(), i(A(r.display(n)), { key: 1 })) : (w(), o(e, { key: 2 }, [c(N(n[r.key]), 1)], 64)), S(n, r) ? (w(), o("div", {
2332
2353
  key: 3,
2333
2354
  role: "alert",
2334
2355
  class: "g-cell-error-message",
2335
2356
  id: `${t.tableId}-error-${n.key}-${String(r.key)}`
2336
- }, N(C(n, r)), 9, Qn)) : a("", !0)], 10, Gn))), 128))], 42, Un)], 64))), 128))], 512));
2357
+ }, N(C(n, r)), 9, Zn)) : a("", !0)], 10, Wn))), 128))], 42, Hn)], 64))), 128))], 512));
2337
2358
  }
2338
- }), er = ["id", "for"], tr = {
2359
+ }), $n = ["id", "for"], er = {
2339
2360
  key: 0,
2340
2361
  class: "g-multiselect-required",
2341
2362
  "aria-hidden": "true"
2342
- }, nr = ["id"], rr = ["aria-labelledby"], ir = { class: "g-multiselect-chip-label" }, ar = [
2363
+ }, tr = ["id"], nr = ["aria-labelledby"], rr = { class: "g-multiselect-chip-label" }, ir = [
2343
2364
  "aria-label",
2344
2365
  "disabled",
2345
2366
  "onClick"
2346
- ], or = [
2367
+ ], ar = [
2347
2368
  "id",
2348
2369
  "value",
2349
2370
  "placeholder",
@@ -2353,23 +2374,23 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2353
2374
  "aria-activedescendant",
2354
2375
  "aria-describedby",
2355
2376
  "aria-required"
2356
- ], sr = ["id"], cr = [
2377
+ ], or = ["id"], sr = [
2357
2378
  "id",
2358
2379
  "aria-selected",
2359
2380
  "onClick"
2360
- ], lr = {
2381
+ ], cr = {
2361
2382
  class: "g-multiselect-option-check",
2362
2383
  "aria-hidden": "true"
2363
- }, ur = {
2384
+ }, lr = {
2364
2385
  key: 0,
2365
2386
  xmlns: "http://www.w3.org/2000/svg",
2366
2387
  viewBox: "0 0 640 640",
2367
2388
  width: "1.25em"
2368
- }, dr = {
2389
+ }, ur = {
2369
2390
  key: 1,
2370
2391
  "aria-live": "polite",
2371
2392
  class: "g-multiselect-option g-multiselect-no-results"
2372
- }, fr = /* @__PURE__ */ u({
2393
+ }, dr = /* @__PURE__ */ u({
2373
2394
  __name: "GMultiSelect",
2374
2395
  props: /* @__PURE__ */ m({
2375
2396
  options: {},
@@ -2402,13 +2423,13 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2402
2423
  value: d,
2403
2424
  errors: F(i, "errors"),
2404
2425
  formKey: i.formKey
2405
- }), { menuPlacement: E, menuStyle: k, isTop: A, scrollOptionIntoView: j } = Mt({
2426
+ }), { menuPlacement: E, menuStyle: k, isTop: A, scrollOptionIntoView: j } = jt({
2406
2427
  open: y,
2407
2428
  anchorRef: m,
2408
2429
  listboxRef: v,
2409
2430
  baseId: f,
2410
2431
  activeIndex: b
2411
- }), M = r(() => jt(i.options)), P = r(() => {
2432
+ }), M = r(() => At(i.options)), P = r(() => {
2412
2433
  if (!x.value) return M.value;
2413
2434
  let e = x.value.toLowerCase();
2414
2435
  return M.value.filter((t) => t.label.toLowerCase().includes(e));
@@ -2432,21 +2453,21 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2432
2453
  let n = d.value, r = I(t.value) ? n.filter((e) => e !== t.value) : [...n, t.value];
2433
2454
  d.value = r, u("change", r), g(() => p.value?.focus());
2434
2455
  }
2435
- function W(e) {
2456
+ function G(e) {
2436
2457
  if (i.disabled) return;
2437
2458
  let t = d.value.filter((t) => t !== e);
2438
2459
  d.value = t, u("change", t);
2439
2460
  }
2440
- function G() {
2461
+ function K() {
2441
2462
  i.disabled || (p.value?.focus(), y.value || V());
2442
2463
  }
2443
- function K(e) {
2464
+ function q(e) {
2444
2465
  x.value = e.target.value, b.value = 0, y.value || V();
2445
2466
  }
2446
- function Y() {
2467
+ function X() {
2447
2468
  i.disabled || y.value || V();
2448
2469
  }
2449
- function te(e) {
2470
+ function ee(e) {
2450
2471
  if (S.value) {
2451
2472
  S.value = !1;
2452
2473
  return;
@@ -2454,10 +2475,10 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2454
2475
  let t = e.relatedTarget;
2455
2476
  t && v.value?.contains(t) || t && m.value?.contains(t) || H();
2456
2477
  }
2457
- function X(e) {
2478
+ function Z(e) {
2458
2479
  e.preventDefault();
2459
2480
  }
2460
- function Z() {
2481
+ function te() {
2461
2482
  S.value = !0;
2462
2483
  }
2463
2484
  function ne(e) {
@@ -2486,7 +2507,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2486
2507
  A.value && (e.preventDefault(), setTimeout(() => H(), 0));
2487
2508
  break;
2488
2509
  case "Backspace":
2489
- !x.value && d.value.length > 0 && W(d.value[d.value.length - 1]);
2510
+ !x.value && d.value.length > 0 && G(d.value[d.value.length - 1]);
2490
2511
  break;
2491
2512
  }
2492
2513
  }
@@ -2503,17 +2524,17 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2503
2524
  id: ie.value,
2504
2525
  for: re.value,
2505
2526
  class: "g-multiselect-label"
2506
- }, [c(N(t.label), 1), t.required ? (w(), o("span", tr, " *")) : a("", !0)], 8, er)),
2527
+ }, [c(N(t.label), 1), t.required ? (w(), o("span", er, " *")) : a("", !0)], 8, $n)),
2507
2528
  t.instructions ? (w(), o("div", {
2508
2529
  key: 1,
2509
2530
  id: ae.value,
2510
2531
  class: "g-multiselect-instructions"
2511
- }, N(t.instructions), 9, nr)) : a("", !0),
2532
+ }, N(t.instructions), 9, tr)) : a("", !0),
2512
2533
  s("div", {
2513
2534
  ref_key: "controlRef",
2514
2535
  ref: m,
2515
2536
  class: _(["g-multiselect-control", { "g-multiselect-control--disabled": t.disabled }]),
2516
- onClick: G
2537
+ onClick: K
2517
2538
  }, [
2518
2539
  s("ul", {
2519
2540
  class: "g-multiselect-chips",
@@ -2521,13 +2542,13 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2521
2542
  }, [(w(!0), o(e, null, O(d.value, (e) => (w(), o("li", {
2522
2543
  key: e,
2523
2544
  class: "g-multiselect-chip"
2524
- }, [s("span", ir, N(R(e)), 1), s("button", {
2545
+ }, [s("span", rr, N(R(e)), 1), s("button", {
2525
2546
  type: "button",
2526
2547
  class: "g-multiselect-chip-remove",
2527
2548
  "aria-label": `Remove ${R(e)}`,
2528
2549
  disabled: t.disabled,
2529
- onMousedown: Z,
2530
- onClick: J((t) => W(e), ["stop"])
2550
+ onMousedown: te,
2551
+ onClick: Y((t) => G(e), ["stop"])
2531
2552
  }, [...r[0] ||= [s("svg", {
2532
2553
  xmlns: "http://www.w3.org/2000/svg",
2533
2554
  viewBox: "0 0 51.26 51.26",
@@ -2536,7 +2557,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2536
2557
  }, [s("path", {
2537
2558
  fill: "currentColor",
2538
2559
  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"
2539
- })], -1)]], 40, ar)]))), 128))], 8, rr),
2560
+ })], -1)]], 40, ir)]))), 128))], 8, nr),
2540
2561
  s("input", h({
2541
2562
  ref_key: "inputRef",
2542
2563
  ref: p,
@@ -2556,11 +2577,11 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2556
2577
  }, t.hiddenLabel ? { "aria-label": t.label } : void 0, {
2557
2578
  "aria-describedby": se.value,
2558
2579
  "aria-required": t.required ? "true" : void 0,
2559
- onInput: K,
2580
+ onInput: q,
2560
2581
  onKeydown: ne,
2561
- onFocus: Y,
2562
- onBlur: te
2563
- }), null, 16, or),
2582
+ onFocus: X,
2583
+ onBlur: ee
2584
+ }), null, 16, ar),
2564
2585
  r[2] ||= s("svg", {
2565
2586
  class: "g-multiselect-caret",
2566
2587
  xmlns: "http://www.w3.org/2000/svg",
@@ -2571,7 +2592,7 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2571
2592
  fill: "currentColor",
2572
2593
  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"
2573
2594
  })], -1),
2574
- q(s("div", h({
2595
+ J(s("div", h({
2575
2596
  ref_key: "listboxRef",
2576
2597
  ref: v,
2577
2598
  id: L(f) + "-listbox",
@@ -2590,11 +2611,11 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2590
2611
  "g-multiselect-option--selected": I(e.value)
2591
2612
  }]),
2592
2613
  "aria-selected": I(e.value) ? "true" : "false",
2593
- onMousedown: X,
2614
+ onMousedown: Z,
2594
2615
  onClick: (e) => U(t)
2595
- }, [s("span", lr, [I(e.value) ? (w(), o("svg", ur, [...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(" " + N(e.label), 1)], 42, cr))), 128)) : (w(), o("div", dr, " No results found. "))], 16, sr), [[ee, y.value]])
2616
+ }, [s("span", cr, [I(e.value) ? (w(), o("svg", lr, [...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(" " + N(e.label), 1)], 42, sr))), 128)) : (w(), o("div", ur, " No results found. "))], 16, or), [[W, y.value]])
2596
2617
  ], 2),
2597
- l(je, {
2618
+ l(Ae, {
2598
2619
  errors: L(C),
2599
2620
  id: oe.value
2600
2621
  }, null, 8, ["errors", "id"])
@@ -2603,28 +2624,28 @@ var un = ["id"], dn = /* @__PURE__ */ u({
2603
2624
  });
2604
2625
  //#endregion
2605
2626
  //#region src/compose/useFiltering.ts
2606
- function pr(e) {
2627
+ function fr(e) {
2607
2628
  if (!(Array.isArray(e) && e.length === 0) && !(e === null || e === !1 || e === "")) return e;
2608
2629
  }
2609
- function mr(e) {
2630
+ function pr(e) {
2610
2631
  return Object.fromEntries(Object.entries(e).filter(([e, t]) => t && (!Array.isArray(t) || t.length > 0)));
2611
2632
  }
2612
- function hr(e) {
2633
+ function mr(e) {
2613
2634
  if (e != null) return Array.isArray(e) ? e.filter((e) => e != null) : [e];
2614
2635
  }
2615
- function gr(e) {
2636
+ function hr(e) {
2616
2637
  let t = {};
2617
2638
  for (let [n, r] of Object.entries(P(e))) Array.isArray(r) ? r.length > 0 && (t[n] = r) : r === !0 ? t[n] = "true" : t[n] = r || void 0;
2618
2639
  return t;
2619
2640
  }
2620
- function _r(e) {
2641
+ function gr(e) {
2621
2642
  let t = {};
2622
2643
  return Object.keys(e).forEach((n) => {
2623
2644
  let r = e[n];
2624
2645
  r != null && r !== "" && r !== !1 && (Array.isArray(r) ? r.length > 0 && (t[n] = r.map((e) => String(e))) : t[n] = String(r));
2625
2646
  }), t;
2626
2647
  }
2627
- function vr(e, t = {}) {
2648
+ function _r(e, t = {}) {
2628
2649
  let n = E(Object.fromEntries(Object.entries(e).map(([e, t]) => [e, t]))), i = t.syncWith;
2629
2650
  if (i) {
2630
2651
  if (i.value) {
@@ -2636,14 +2657,14 @@ function vr(e, t = {}) {
2636
2657
  }
2637
2658
  });
2638
2659
  }
2639
- W(n, (e) => {
2640
- i.value = _r(e);
2660
+ G(n, (e) => {
2661
+ i.value = gr(e);
2641
2662
  }, { deep: !0 });
2642
2663
  }
2643
2664
  return {
2644
2665
  filters: n,
2645
2666
  isFiltered: r(() => {
2646
- for (let t of Object.keys(e)) if (pr(n[t])) return !0;
2667
+ for (let t of Object.keys(e)) if (fr(n[t])) return !0;
2647
2668
  return !1;
2648
2669
  }),
2649
2670
  clearFilters: () => {
@@ -2653,48 +2674,48 @@ function vr(e, t = {}) {
2653
2674
  },
2654
2675
  filteredColumns: r(() => {
2655
2676
  let t = {};
2656
- for (let r of Object.keys(e)) t[r] = !!pr(n[r]);
2677
+ for (let r of Object.keys(e)) t[r] = !!fr(n[r]);
2657
2678
  return t;
2658
2679
  })
2659
2680
  };
2660
2681
  }
2661
2682
  //#endregion
2662
2683
  //#region src/components/GTable.vue?vue&type=script&setup=true&lang.ts
2663
- var yr = { class: "g-table-outer-wrap" }, br = {
2684
+ var vr = { class: "g-table-outer-wrap" }, yr = {
2664
2685
  key: 0,
2665
2686
  class: "g-table-controls"
2666
- }, xr = { class: "g-clear-filters-wrap" }, Sr = {
2687
+ }, br = { class: "g-clear-filters-wrap" }, xr = {
2667
2688
  key: 0,
2668
2689
  class: "pagination"
2669
- }, Cr = { class: "g-result-count" }, wr = ["aria-label", "aria-rowcount"], Tr = { class: "g-table-head" }, Er = { "aria-rowindex": "1" }, Dr = {
2690
+ }, Sr = { class: "g-result-count" }, Cr = ["aria-label", "aria-rowcount"], wr = { class: "g-table-head" }, Tr = { "aria-rowindex": "1" }, Er = {
2670
2691
  key: 0,
2671
2692
  scope: "col",
2672
2693
  class: "g-th g-th-checkbox"
2673
- }, Or = [
2694
+ }, Dr = [
2674
2695
  "checked",
2675
2696
  "indeterminate",
2676
2697
  "aria-label"
2677
- ], kr = ["id", "aria-sort"], Ar = { class: "th-inner" }, jr = ["onClick"], Mr = {
2698
+ ], Or = ["id", "aria-sort"], kr = { class: "th-inner" }, Ar = ["onClick"], jr = {
2678
2699
  key: 0,
2679
2700
  class: "sort-indicator"
2680
- }, Nr = ["aria-label"], Pr = {
2701
+ }, Mr = ["aria-label"], Nr = {
2681
2702
  key: 1,
2682
2703
  class: "g-column-head"
2683
- }, Fr = ["onClick", "aria-label"], Ir = { key: 1 }, Lr = { class: "g-filter-toggle" }, Rr = [
2704
+ }, Pr = ["onClick", "aria-label"], Fr = { key: 1 }, Ir = { class: "g-filter-toggle" }, Lr = [
2684
2705
  "onUpdate:modelValue",
2685
2706
  "id",
2686
2707
  "aria-describedby"
2687
- ], zr = ["for"], Br = ["id"], Vr = {
2708
+ ], Rr = ["for"], zr = ["id"], Br = {
2688
2709
  key: 3,
2689
2710
  class: "g-multi-select"
2690
- }, Hr = [
2711
+ }, Vr = [
2691
2712
  "onUpdate:modelValue",
2692
2713
  "id",
2693
2714
  "value"
2694
- ], Ur = ["for"], Wr = {
2715
+ ], Hr = ["for"], Ur = {
2695
2716
  key: 1,
2696
2717
  class: "g-bulk-actions-toolbar"
2697
- }, Gr = { class: "g-selected-count" }, Kr = { class: "g-bulk-actions" }, qr = /* @__PURE__ */ u({
2718
+ }, Wr = { class: "g-selected-count" }, Gr = { class: "g-bulk-actions" }, Kr = /* @__PURE__ */ u({
2698
2719
  __name: "GTable",
2699
2720
  props: /* @__PURE__ */ m({
2700
2721
  label: {},
@@ -2743,7 +2764,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
2743
2764
  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));
2744
2765
  }
2745
2766
  let v = m.filtering;
2746
- v ||= vr({});
2767
+ v ||= _r({});
2747
2768
  let { filters: b, filteredColumns: x, isFiltered: C, clearFilters: T } = v, E = r(() => m.data.map((e) => e.key)), A = r(() => p.value.filter((e) => E.value.includes(e))), j = r(() => !m.bulkSelectionEnabled || m.data.length === 0 ? !1 : A.value.length === E.value.length), M = r(() => !m.bulkSelectionEnabled || m.data.length === 0 ? !1 : A.value.length > 0 && A.value.length < E.value.length), F = D(null);
2748
2769
  function I() {
2749
2770
  if (j.value) p.value = p.value.filter((e) => !E.value.includes(e));
@@ -2765,10 +2786,10 @@ var yr = { class: "g-table-outer-wrap" }, br = {
2765
2786
  function H(e) {
2766
2787
  h("row-click", e);
2767
2788
  }
2768
- function ee(e) {
2789
+ function W(e) {
2769
2790
  h("bulk-action", e, p.value);
2770
2791
  }
2771
- function G(e) {
2792
+ function K(e) {
2772
2793
  let t = e.value, n = e.column.key, r = P(e.row[n]);
2773
2794
  e.column.editable?.inputAttributes?.type === "number" && (t = e.value === "" ? null : Number(e.value)), e.row[n] = t, h("cell-change", {
2774
2795
  row: e.row,
@@ -2777,28 +2798,28 @@ var yr = { class: "g-table-outer-wrap" }, br = {
2777
2798
  previousValue: r
2778
2799
  });
2779
2800
  }
2780
- let Y = z(), te = V(), X = r(() => m.showPagination ? !0 : !!te.pagination), Z = r(() => !!(C.value || X.value));
2801
+ let X = z(), ee = V(), Z = r(() => m.showPagination ? !0 : !!ee.pagination), te = r(() => !!(C.value || Z.value));
2781
2802
  return S(() => {
2782
2803
  m.rowClickable && m.bulkSelectionEnabled && console.warn("GTable: rowClickable and bulkSelectionEnabled cannot be used together. rowClickable will be ignored.");
2783
2804
  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])) {
2784
2805
  let t = f.value[e.key];
2785
2806
  f.value[e.key] = t ? [t] : [];
2786
2807
  }
2787
- }), W(() => m.columns, (e) => {
2808
+ }), G(() => m.columns, (e) => {
2788
2809
  for (let t of e) if (t.filter && t.filter.type === "multi-select" && !Array.isArray(f.value[t.key])) {
2789
2810
  let e = f.value[t.key];
2790
2811
  f.value[t.key] = e ? [e] : [];
2791
2812
  }
2792
- }, { immediate: !0 }), (n, r) => (w(), o("div", yr, [
2793
- Z.value ? (w(), o("div", br, [
2794
- s("div", xr, [L(C) ? (w(), i(Q, {
2813
+ }, { immediate: !0 }), (n, r) => (w(), o("div", vr, [
2814
+ te.value ? (w(), o("div", yr, [
2815
+ s("div", br, [L(C) ? (w(), i(Q, {
2795
2816
  key: 0,
2796
2817
  outlined: "",
2797
2818
  size: "small",
2798
2819
  class: "clear-filters",
2799
2820
  onClick: L(T)
2800
2821
  }, {
2801
- default: K(() => [...r[0] ||= [s("svg", {
2822
+ default: q(() => [...r[0] ||= [s("svg", {
2802
2823
  xmlns: "http://www.w3.org/2000/svg",
2803
2824
  viewBox: "0 0 51.26 51.26",
2804
2825
  height: "1em",
@@ -2809,24 +2830,24 @@ var yr = { class: "g-table-outer-wrap" }, br = {
2809
2830
  })], -1), s("span", { class: "g-clear-filters-text" }, " Clear Filters ", -1)]]),
2810
2831
  _: 1
2811
2832
  }, 8, ["onClick"])) : a("", !0)]),
2812
- X.value ? (w(), o("div", Sr, [k(n.$slots, "pagination")])) : a("", !0),
2813
- s("span", Cr, N(m.resultCount || t.data.length) + " results", 1)
2833
+ Z.value ? (w(), o("div", xr, [k(n.$slots, "pagination")])) : a("", !0),
2834
+ s("span", Sr, N(m.resultCount || t.data.length) + " results", 1)
2814
2835
  ])) : a("", !0),
2815
2836
  s("table", {
2816
2837
  class: "g-table",
2817
2838
  ref: "tableRef",
2818
2839
  "aria-label": t.label,
2819
2840
  "aria-rowcount": m.resultCount || t.data.length
2820
- }, [s("thead", Tr, [s("tr", Er, [t.bulkSelectionEnabled ? (w(), o("th", Dr, [s("input", {
2841
+ }, [s("thead", wr, [s("tr", Tr, [t.bulkSelectionEnabled ? (w(), o("th", Er, [s("input", {
2821
2842
  type: "checkbox",
2822
2843
  checked: j.value,
2823
2844
  indeterminate: M.value,
2824
2845
  onChange: I,
2825
2846
  "aria-label": j.value ? "Deselect all rows" : "Select all rows",
2826
2847
  class: "g-bulk-select-checkbox"
2827
- }, null, 40, Or)])) : a("", !0), (w(!0), o(e, null, O(t.columns, (t) => (w(), o("th", {
2848
+ }, null, 40, Dr)])) : a("", !0), (w(!0), o(e, null, O(t.columns, (t) => (w(), o("th", {
2828
2849
  key: t.key,
2829
- id: `${L(Y)}-th-${String(t.key)}`,
2850
+ id: `${L(X)}-th-${String(t.key)}`,
2830
2851
  "aria-sort": u.value === t.key ? d.value === 1 ? "ascending" : "descending" : "none",
2831
2852
  class: _([
2832
2853
  "g-th",
@@ -2834,12 +2855,12 @@ var yr = { class: "g-table-outer-wrap" }, br = {
2834
2855
  { filtered: L(x)[t.key] }
2835
2856
  ]),
2836
2857
  scope: "col"
2837
- }, [s("div", Ar, [t.sortable ? (w(), o("button", {
2858
+ }, [s("div", kr, [t.sortable ? (w(), o("button", {
2838
2859
  key: 0,
2839
2860
  type: "button",
2840
2861
  class: "g-column-head",
2841
2862
  onClick: (e) => g(t)
2842
- }, [c(N(t.label) + " ", 1), u.value === t.key ? (w(), o("span", Mr, [(w(), o("svg", {
2863
+ }, [c(N(t.label) + " ", 1), u.value === t.key ? (w(), o("span", jr, [(w(), o("svg", {
2843
2864
  xmlns: "http://www.w3.org/2000/svg",
2844
2865
  viewBox: "0 0 640 640",
2845
2866
  height: "1.5em",
@@ -2849,9 +2870,9 @@ var yr = { class: "g-table-outer-wrap" }, br = {
2849
2870
  }, [...r[1] ||= [s("path", {
2850
2871
  fill: "currentColor",
2851
2872
  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"
2852
- }, null, -1)]], 12, Nr))])) : a("", !0)], 8, jr)) : (w(), o("span", Pr, N(t.label), 1)), t.filter ? (w(), i(it, { key: 2 }, {
2853
- trigger: K(({ toggle: e }) => [s("button", {
2854
- onClick: J(e, ["stop"]),
2873
+ }, null, -1)]], 12, Mr))])) : a("", !0)], 8, Ar)) : (w(), o("span", Nr, N(t.label), 1)), t.filter ? (w(), i(rt, { key: 2 }, {
2874
+ trigger: q(({ toggle: e }) => [s("button", {
2875
+ onClick: Y(e, ["stop"]),
2855
2876
  "aria-label": L(x)[t.key] ? "Column Filtered" : "Filter Column",
2856
2877
  class: _(["g-filter-btn", { "g-active": L(x)[t.key] }]),
2857
2878
  type: "button"
@@ -2863,8 +2884,8 @@ var yr = { class: "g-table-outer-wrap" }, br = {
2863
2884
  }, [s("path", {
2864
2885
  fill: "currentColor",
2865
2886
  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"
2866
- })], -1)]], 10, Fr)]),
2867
- default: K(() => [t.filter.type === "select" ? (w(), i(Ht, {
2887
+ })], -1)]], 10, Pr)]),
2888
+ default: q(() => [t.filter.type === "select" ? (w(), i(Vt, {
2868
2889
  key: 0,
2869
2890
  modelValue: f.value[t.key],
2870
2891
  "onUpdate:modelValue": (e) => f.value[t.key] = e,
@@ -2877,20 +2898,20 @@ var yr = { class: "g-table-outer-wrap" }, br = {
2877
2898
  "modelValue",
2878
2899
  "onUpdate:modelValue",
2879
2900
  "options"
2880
- ])) : t.filter.type === "toggle" ? (w(), o("div", Ir, [s("div", Lr, [
2881
- q(s("input", {
2901
+ ])) : t.filter.type === "toggle" ? (w(), o("div", Fr, [s("div", Ir, [
2902
+ J(s("input", {
2882
2903
  type: "checkbox",
2883
2904
  "onUpdate:modelValue": (e) => f.value[t.key] = e,
2884
- id: `${L(Y)}-filter-${String(t.key)}`,
2885
- "aria-describedby": t.filter.description ? `${L(Y)}-filter-description-${String(t.key)}` : void 0
2886
- }, null, 8, Rr), [[U, f.value[t.key]]]),
2887
- s("label", { for: `${L(Y)}-filter-${String(t.key)}` }, N(t.filter.label), 9, zr),
2905
+ id: `${L(X)}-filter-${String(t.key)}`,
2906
+ "aria-describedby": t.filter.description ? `${L(X)}-filter-description-${String(t.key)}` : void 0
2907
+ }, null, 8, Lr), [[U, f.value[t.key]]]),
2908
+ s("label", { for: `${L(X)}-filter-${String(t.key)}` }, N(t.filter.label), 9, Rr),
2888
2909
  t.filter.description ? (w(), o("span", {
2889
2910
  key: 0,
2890
2911
  class: "g-filter-description",
2891
- id: `${L(Y)}-filter-description-${String(t.key)}`
2892
- }, N(t.filter.description), 9, Br)) : a("", !0)
2893
- ])])) : t.filter.type === "multi-select" && t.filter.searchable ? (w(), i(fr, {
2912
+ id: `${L(X)}-filter-description-${String(t.key)}`
2913
+ }, N(t.filter.description), 9, zr)) : a("", !0)
2914
+ ])])) : t.filter.type === "multi-select" && t.filter.searchable ? (w(), i(dr, {
2894
2915
  key: 2,
2895
2916
  modelValue: f.value[t.key],
2896
2917
  "onUpdate:modelValue": (e) => f.value[t.key] = e,
@@ -2903,15 +2924,15 @@ var yr = { class: "g-table-outer-wrap" }, br = {
2903
2924
  "onUpdate:modelValue",
2904
2925
  "options",
2905
2926
  "placeholder"
2906
- ])) : t.filter.type === "multi-select" ? (w(), o("fieldset", Vr, [
2927
+ ])) : t.filter.type === "multi-select" ? (w(), o("fieldset", Br, [
2907
2928
  r[4] ||= s("legend", { class: "g-multi-select-legend" }, " Include values ", -1),
2908
- (w(!0), o(e, null, O(t.filter.options, (e) => (w(), o("div", { key: e.value }, [q(s("input", {
2929
+ (w(!0), o(e, null, O(t.filter.options, (e) => (w(), o("div", { key: e.value }, [J(s("input", {
2909
2930
  type: "checkbox",
2910
2931
  "onUpdate:modelValue": (e) => f.value[t.key] = e,
2911
2932
  id: `filter-${String(t.key)}-${e.value}`,
2912
2933
  value: e.value,
2913
2934
  name: "filter-multiselect"
2914
- }, null, 8, Hr), [[U, f.value[t.key]]]), s("label", { for: `filter-${String(t.key)}-${e.value}` }, N(e.label), 9, Ur)]))), 128)),
2935
+ }, null, 8, Vr), [[U, f.value[t.key]]]), s("label", { for: `filter-${String(t.key)}-${e.value}` }, N(e.label), 9, Hr)]))), 128)),
2915
2936
  f.value[t.key] && f.value[t.key].length ? (w(), i(Q, {
2916
2937
  key: 0,
2917
2938
  class: "clear-multiselect-btn",
@@ -2919,12 +2940,12 @@ var yr = { class: "g-table-outer-wrap" }, br = {
2919
2940
  size: "small",
2920
2941
  onClick: (e) => f.value[t.key] = []
2921
2942
  }, {
2922
- default: K(() => [...r[3] ||= [c(" Clear ", -1)]]),
2943
+ default: q(() => [...r[3] ||= [c(" Clear ", -1)]]),
2923
2944
  _: 1
2924
2945
  }, 8, ["onClick"])) : a("", !0)
2925
2946
  ])) : a("", !0)]),
2926
2947
  _: 2
2927
- }, 1024)) : a("", !0)])], 10, kr))), 128))])]), l($n, {
2948
+ }, 1024)) : a("", !0)])], 10, Or))), 128))])]), l(Qn, {
2928
2949
  data: t.data,
2929
2950
  columns: t.columns,
2930
2951
  "group-by": t.groupBy,
@@ -2934,11 +2955,11 @@ var yr = { class: "g-table-outer-wrap" }, br = {
2934
2955
  "start-index": t.startIndex,
2935
2956
  "bulk-selection-enabled": t.bulkSelectionEnabled,
2936
2957
  "selected-rows": p.value,
2937
- "table-id": L(Y),
2958
+ "table-id": L(X),
2938
2959
  "change-tracker": t.changeTracker,
2939
2960
  onRowClick: H,
2940
2961
  onToggleRow: R,
2941
- onCellChange: G
2962
+ onCellChange: K
2942
2963
  }, null, 8, [
2943
2964
  "data",
2944
2965
  "columns",
@@ -2951,21 +2972,21 @@ var yr = { class: "g-table-outer-wrap" }, br = {
2951
2972
  "selected-rows",
2952
2973
  "table-id",
2953
2974
  "change-tracker"
2954
- ])], 8, wr),
2955
- t.bulkSelectionEnabled && p.value.length > 0 ? (w(), o("div", Wr, [s("span", Gr, N(p.value.length) + " row" + N(p.value.length === 1 ? "" : "s") + " selected", 1), s("ul", Kr, [(w(!0), o(e, null, O(t.bulkActions, (e) => (w(), o("li", { key: e.id }, [l(Q, {
2975
+ ])], 8, Cr),
2976
+ t.bulkSelectionEnabled && p.value.length > 0 ? (w(), o("div", Ur, [s("span", Wr, N(p.value.length) + " row" + N(p.value.length === 1 ? "" : "s") + " selected", 1), s("ul", Gr, [(w(!0), o(e, null, O(t.bulkActions, (e) => (w(), o("li", { key: e.id }, [l(Q, {
2956
2977
  theme: e.theme || "accent",
2957
- onClick: (t) => ee(e.id),
2978
+ onClick: (t) => W(e.id),
2958
2979
  size: "small"
2959
2980
  }, {
2960
- default: K(() => [c(N(e.label) + " " + N(p.value.length) + " row" + N(p.value.length === 1 ? "" : "s"), 1)]),
2981
+ default: q(() => [c(N(e.label) + " " + N(p.value.length) + " row" + N(p.value.length === 1 ? "" : "s"), 1)]),
2961
2982
  _: 2
2962
2983
  }, 1032, ["theme", "onClick"])]))), 128))])])) : a("", !0)
2963
2984
  ]));
2964
2985
  }
2965
- }), Jr = {
2986
+ }), qr = {
2966
2987
  class: "g-pagination",
2967
2988
  "aria-label": "Pagination"
2968
- }, Yr = ["disabled"], Xr = ["disabled"], Zr = { class: "page-range" }, Qr = ["disabled"], $r = ["disabled"], ei = ["value"], ti = ["value"], ni = /* @__PURE__ */ u({
2989
+ }, Jr = ["disabled"], Yr = ["disabled"], Xr = { class: "page-range" }, Zr = ["disabled"], Qr = ["disabled"], $r = ["value"], ei = ["value"], ti = /* @__PURE__ */ u({
2969
2990
  __name: "GTablePagination",
2970
2991
  props: /* @__PURE__ */ m({
2971
2992
  start: {},
@@ -2987,7 +3008,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
2987
3008
  function h(e) {
2988
3009
  c.value = parseInt(e.target.value, 10);
2989
3010
  }
2990
- return (t, r) => (w(), o("nav", Jr, [
3011
+ return (t, r) => (w(), o("nav", qr, [
2991
3012
  s("button", {
2992
3013
  class: "first-page g-pagination-button",
2993
3014
  disabled: p.value === 1,
@@ -3012,7 +3033,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3012
3033
  }),
3013
3034
  s("path", { d: "M11 7l-5 5l5 5" }),
3014
3035
  s("path", { d: "M17 7l-5 5l5 5" })
3015
- ], -1)]], 8, Yr),
3036
+ ], -1)]], 8, Jr),
3016
3037
  s("button", {
3017
3038
  class: "prev-page g-pagination-button",
3018
3039
  disabled: p.value === 1,
@@ -3033,8 +3054,8 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3033
3054
  stroke: "none",
3034
3055
  d: "M0 0h24v24H0z",
3035
3056
  fill: "none"
3036
- }), s("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Xr),
3037
- s("span", Zr, N(d.value) + " to " + N(f.value), 1),
3057
+ }), s("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Yr),
3058
+ s("span", Xr, N(d.value) + " to " + N(f.value), 1),
3038
3059
  s("button", {
3039
3060
  class: "next-page g-pagination-button",
3040
3061
  disabled: p.value === i.value,
@@ -3055,7 +3076,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3055
3076
  stroke: "none",
3056
3077
  d: "M0 0h24v24H0z",
3057
3078
  fill: "none"
3058
- }), s("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Qr),
3079
+ }), s("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Zr),
3059
3080
  s("button", {
3060
3081
  class: "last-page g-pagination-button",
3061
3082
  disabled: p.value === i.value,
@@ -3080,7 +3101,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3080
3101
  }),
3081
3102
  s("path", { d: "M7 7l5 5l-5 5" }),
3082
3103
  s("path", { d: "M13 7l5 5l-5 5" })
3083
- ], -1)]], 8, $r),
3104
+ ], -1)]], 8, Qr),
3084
3105
  s("select", {
3085
3106
  id: "page-size-select",
3086
3107
  class: "page-size-select",
@@ -3094,14 +3115,14 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3094
3115
  ], (e) => (w(), o("option", {
3095
3116
  key: e,
3096
3117
  value: e
3097
- }, N(e), 9, ti))), 128))], 40, ei),
3118
+ }, N(e), 9, ei))), 128))], 40, $r),
3098
3119
  r[8] ||= s("label", {
3099
3120
  class: "page-size-label",
3100
3121
  for: "page-size-select"
3101
3122
  }, "per page", -1)
3102
3123
  ]));
3103
3124
  }
3104
- }), ri = ["id"], ii = { class: "g-modal-inner" }, ai = { class: "g-modal-header" }, oi = ["id"], si = ["id"], ci = /* @__PURE__ */ u({
3125
+ }), ni = ["id"], ri = { class: "g-modal-inner" }, ii = { class: "g-modal-header" }, ai = ["id"], oi = ["id"], si = /* @__PURE__ */ u({
3105
3126
  __name: "GModal",
3106
3127
  props: {
3107
3128
  label: {},
@@ -3115,11 +3136,11 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3115
3136
  },
3116
3137
  emits: ["close"],
3117
3138
  setup(e, { emit: c }) {
3118
- let u = e, d = c, f = H("dialog"), p = D(!0), m = z(), { pop: g, push: _, isTop: v, zIndex: y } = Ke(m, !0, !0), { deactivate: x, activate: C } = Qe(f, v);
3139
+ let u = e, d = c, f = H("dialog"), p = D(!0), m = z(), { pop: g, push: _, isTop: v, zIndex: y } = Ge(m, !0, !0), { deactivate: x, activate: C } = Ze(f, v);
3119
3140
  function T() {
3120
3141
  d("close");
3121
3142
  }
3122
- $e([f], v, p, T, g), S(() => {
3143
+ Qe([f], v, p, T, g), S(() => {
3123
3144
  _(), C();
3124
3145
  }), b(() => {
3125
3146
  g(), x();
@@ -3132,7 +3153,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3132
3153
  name: "g-fade",
3133
3154
  appear: ""
3134
3155
  }, {
3135
- default: K(() => [s("div", h({
3156
+ default: q(() => [s("div", h({
3136
3157
  id: "modal-" + L(m),
3137
3158
  class: ["g-modal", E.value],
3138
3159
  role: "dialog",
@@ -3145,12 +3166,12 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3145
3166
  ref_key: "dialog",
3146
3167
  ref: f,
3147
3168
  style: { zIndex: L(y) }
3148
- }), [s("div", ii, [s("div", ai, [e.hiddenLabel ? a("", !0) : (w(), o("h2", {
3169
+ }), [s("div", ri, [s("div", ii, [e.hiddenLabel ? a("", !0) : (w(), o("h2", {
3149
3170
  key: 0,
3150
3171
  id: "modal-label-" + L(m),
3151
3172
  class: "g-modal-label",
3152
3173
  tabindex: "-1"
3153
- }, N(e.label), 9, oi)), s("button", {
3174
+ }, N(e.label), 9, ai)), s("button", {
3154
3175
  class: "g-modal-close",
3155
3176
  onClick: T,
3156
3177
  "aria-label": "Close"
@@ -3165,16 +3186,16 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3165
3186
  })], -1)]])]), s("div", {
3166
3187
  id: "modal-description-" + L(m),
3167
3188
  class: "g-modal-content"
3168
- }, [k(r.$slots, "default")], 8, si)])], 16, ri)]),
3189
+ }, [k(r.$slots, "default")], 8, oi)])], 16, ni)]),
3169
3190
  _: 3
3170
3191
  })]));
3171
3192
  }
3172
- }), li = [
3193
+ }), ci = [
3173
3194
  "id",
3174
3195
  "aria-expanded",
3175
3196
  "aria-label",
3176
3197
  "aria-controls"
3177
- ], ui = /* @__PURE__ */ u({
3198
+ ], li = /* @__PURE__ */ u({
3178
3199
  __name: "GHamburgerMenu",
3179
3200
  props: {
3180
3201
  label: { default: "Main Navigation" },
@@ -3182,7 +3203,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3182
3203
  },
3183
3204
  emits: ["toggle"],
3184
3205
  setup(e, { emit: t }) {
3185
- let n = e, r = p("sidebar") ?? (de() ? ln(n.sidebarKey) : void 0), i = t;
3206
+ let n = e, r = p("sidebar") ?? (de() ? cn(n.sidebarKey) : void 0), i = t;
3186
3207
  function a() {
3187
3208
  i("toggle"), r?.toggle();
3188
3209
  }
@@ -3204,34 +3225,34 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3204
3225
  }, [...n[0] ||= [s("svg", {
3205
3226
  xmlns: "http://www.w3.org/2000/svg",
3206
3227
  viewBox: "0 0 51.26 51.26"
3207
- }, [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)]], 42, li));
3228
+ }, [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)]], 42, ci));
3208
3229
  }
3209
- }), di = /* @__PURE__ */ u({
3230
+ }), ui = /* @__PURE__ */ u({
3210
3231
  __name: "GDetailList",
3211
3232
  props: { variant: { default: "grid" } },
3212
3233
  setup(e) {
3213
3234
  let t = e;
3214
3235
  return (e, n) => (w(), o("dl", { class: _(["g-detail-list", `g-detail-list--${t.variant}`]) }, [k(e.$slots, "default")], 2));
3215
3236
  }
3216
- }), fi = { class: "g-detail-list-item" }, pi = { class: "g-detail-list-item__label" }, mi = { class: "g-detail-list-item__value" }, hi = /* @__PURE__ */ u({
3237
+ }), di = { class: "g-detail-list-item" }, fi = { class: "g-detail-list-item__label" }, pi = { class: "g-detail-list-item__value" }, mi = /* @__PURE__ */ u({
3217
3238
  __name: "GDetailListItem",
3218
3239
  props: { label: {} },
3219
3240
  setup(e) {
3220
- return (t, n) => (w(), o("div", fi, [s("dt", pi, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])]), s("dd", mi, [k(t.$slots, "default")])]));
3241
+ return (t, n) => (w(), o("div", di, [s("dt", fi, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])]), s("dd", pi, [k(t.$slots, "default")])]));
3221
3242
  }
3222
- }), gi = {
3243
+ }), hi = {
3223
3244
  key: 0,
3224
3245
  class: "g-scroll-lock-overlay"
3225
- }, _i = /* @__PURE__ */ u({
3246
+ }, gi = /* @__PURE__ */ u({
3226
3247
  __name: "GOverlay",
3227
3248
  setup(e) {
3228
- let { hasScrollLock: t } = qe();
3249
+ let { hasScrollLock: t } = Ke();
3229
3250
  return (e, r) => (w(), i(n, { name: "g-fade" }, {
3230
- default: K(() => [L(t) ? (w(), o("div", gi)) : a("", !0)]),
3251
+ default: q(() => [L(t) ? (w(), o("div", hi)) : a("", !0)]),
3231
3252
  _: 1
3232
3253
  }));
3233
3254
  }
3234
- }), vi = { class: "popover-content" }, yi = { class: "year-dropdown" }, bi = { class: "month-selector" }, xi = /* @__PURE__ */ u({
3255
+ }), _i = { class: "popover-content" }, vi = { class: "year-dropdown" }, yi = { class: "month-selector" }, bi = /* @__PURE__ */ u({
3235
3256
  __name: "GTermSelectorControl",
3236
3257
  props: /* @__PURE__ */ m({
3237
3258
  termYears: { default: () => ["2026"] },
@@ -3252,7 +3273,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3252
3273
  emits: ["update:modelValue"],
3253
3274
  setup(e) {
3254
3275
  let t = B(e, "modelValue");
3255
- return (n, r) => (w(), o("div", vi, [s("div", yi, [l(Ht, {
3276
+ return (n, r) => (w(), o("div", _i, [s("div", vi, [l(Vt, {
3256
3277
  modelValue: t.value.year,
3257
3278
  "onUpdate:modelValue": r[0] ||= (e) => t.value.year = e,
3258
3279
  options: e.termYears,
@@ -3261,7 +3282,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3261
3282
  "modelValue",
3262
3283
  "options",
3263
3284
  "label"
3264
- ])]), s("div", bi, [l(yt, {
3285
+ ])]), s("div", yi, [l(vt, {
3265
3286
  modelValue: t.value.name,
3266
3287
  "onUpdate:modelValue": r[1] ||= (e) => t.value.name = e,
3267
3288
  options: e.termNames,
@@ -3273,10 +3294,10 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3273
3294
  "label"
3274
3295
  ])])]));
3275
3296
  }
3276
- }), Si = { class: "g-term-selector" }, Ci = { class: "g-term-label" }, wi = {
3297
+ }), xi = { class: "g-term-selector" }, Si = { class: "g-term-label" }, Ci = {
3277
3298
  class: "g-popover-title",
3278
3299
  tabindex: "-1"
3279
- }, Ti = /* @__PURE__ */ u({
3300
+ }, wi = /* @__PURE__ */ u({
3280
3301
  __name: "GTermSelector",
3281
3302
  props: /* @__PURE__ */ m({
3282
3303
  heading: { default: "Period Selection" },
@@ -3298,20 +3319,20 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3298
3319
  emits: ["update:modelValue"],
3299
3320
  setup(e) {
3300
3321
  let t = B(e, "modelValue");
3301
- return (n, r) => (w(), o("div", Si, [l(it, null, {
3302
- trigger: K(({ toggle: e }) => [l(Q, {
3322
+ return (n, r) => (w(), o("div", xi, [l(rt, null, {
3323
+ trigger: q(({ toggle: e }) => [l(Q, {
3303
3324
  class: "g-term-selector-button",
3304
3325
  theme: "none",
3305
3326
  outlined: "",
3306
3327
  onClick: e
3307
3328
  }, {
3308
- default: K(() => [
3329
+ default: q(() => [
3309
3330
  r[0] ||= s("span", { class: "g-calendar-icon" }, [s("svg", {
3310
3331
  role: "none presentation",
3311
3332
  xmlns: "http://www.w3.org/2000/svg",
3312
3333
  viewBox: "0 0 640 640"
3313
3334
  }, [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),
3314
- s("span", Ci, N(t.value?.name) + " " + N(t.value?.year), 1),
3335
+ s("span", Si, N(t.value?.name) + " " + N(t.value?.year), 1),
3315
3336
  r[1] ||= s("span", { class: "g-caret" }, [s("svg", {
3316
3337
  role: "none presentation",
3317
3338
  xmlns: "http://www.w3.org/2000/svg",
@@ -3320,15 +3341,15 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3320
3341
  ]),
3321
3342
  _: 1
3322
3343
  }, 8, ["onClick"])]),
3323
- default: K(() => [s("h2", wi, N(e.heading), 1), l(xi, v(f(n.$props)), null, 16)]),
3344
+ default: q(() => [s("h2", Ci, N(e.heading), 1), l(bi, v(f(n.$props)), null, 16)]),
3324
3345
  _: 1
3325
3346
  })]));
3326
3347
  }
3327
- }), Ei = { class: "g-user-menu" }, Di = [
3348
+ }), Ti = { class: "g-user-menu" }, Ei = [
3328
3349
  "aria-label",
3329
3350
  "aria-expanded",
3330
3351
  "onClick"
3331
- ], Oi = { class: "g-user-menu__popover" }, ki = { class: "g-user-menu__list" }, Ai = /* @__PURE__ */ u({
3352
+ ], Di = { class: "g-user-menu__popover" }, Oi = { class: "g-user-menu__list" }, ki = /* @__PURE__ */ u({
3332
3353
  __name: "GUserMenu",
3333
3354
  props: {
3334
3355
  initials: {},
@@ -3340,20 +3361,20 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3340
3361
  let n = `${z()}-email`, r = D(!1), a = H("emailHeading");
3341
3362
  d()?.appContext?.components?.RouterLink;
3342
3363
  let c = V();
3343
- return (u, d) => (w(), o("div", Ei, [l(it, {
3364
+ return (u, d) => (w(), o("div", Ti, [l(rt, {
3344
3365
  modelValue: r.value,
3345
3366
  "onUpdate:modelValue": d[0] ||= (e) => r.value = e,
3346
3367
  minimal: ""
3347
3368
  }, {
3348
- trigger: K(({ toggle: e }) => [s("button", {
3369
+ trigger: q(({ toggle: e }) => [s("button", {
3349
3370
  class: "g-user-menu__avatar",
3350
3371
  style: y({ backgroundColor: t.color }),
3351
3372
  "aria-label": t.initials + " - " + t.label,
3352
3373
  "aria-expanded": r.value,
3353
3374
  "aria-haspopup": "menu",
3354
3375
  onClick: e
3355
- }, N(t.initials), 13, Di)]),
3356
- default: K(() => [s("div", Oi, [s("h2", {
3376
+ }, N(t.initials), 13, Ei)]),
3377
+ default: q(() => [s("div", Di, [s("h2", {
3357
3378
  id: n,
3358
3379
  ref_key: "emailHeading",
3359
3380
  ref: a,
@@ -3362,11 +3383,11 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3362
3383
  }, N(t.email), 513), s("nav", {
3363
3384
  class: "g-user-menu__nav",
3364
3385
  "aria-labelledby": n
3365
- }, [s("ul", ki, [(w(!0), o(e, null, O(c.default(), (e, t) => (w(), o("li", { key: t }, [(w(), i(A(e)))]))), 128))])])])]),
3386
+ }, [s("ul", Oi, [(w(!0), o(e, null, O(c.default(), (e, t) => (w(), o("li", { key: t }, [(w(), i(A(e)))]))), 128))])])])]),
3366
3387
  _: 1
3367
3388
  }, 8, ["modelValue"])]));
3368
3389
  }
3369
- }), ji = /* @__PURE__ */ u({
3390
+ }), Ai = /* @__PURE__ */ u({
3370
3391
  __name: "GCurrencyInput",
3371
3392
  props: /* @__PURE__ */ m({
3372
3393
  label: { default: void 0 },
@@ -3390,7 +3411,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3390
3411
  emits: ["update:modelValue"],
3391
3412
  setup(e) {
3392
3413
  let t = e, n = B(e, "modelValue");
3393
- return (e, r) => (w(), i(Re, h({
3414
+ return (e, r) => (w(), i(Le, h({
3394
3415
  modelValue: n.value,
3395
3416
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
3396
3417
  name: t.name,
@@ -3417,7 +3438,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3417
3438
  "form-key"
3418
3439
  ]));
3419
3440
  }
3420
- }), Mi = /* @__PURE__ */ u({
3441
+ }), ji = /* @__PURE__ */ u({
3421
3442
  __name: "GEmailInput",
3422
3443
  props: /* @__PURE__ */ m({
3423
3444
  label: { default: void 0 },
@@ -3440,7 +3461,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3440
3461
  emits: ["update:modelValue"],
3441
3462
  setup(e) {
3442
3463
  let t = B(e, "modelValue");
3443
- return (n, r) => (w(), i(Re, h({
3464
+ return (n, r) => (w(), i(Le, h({
3444
3465
  modelValue: t.value,
3445
3466
  "onUpdate:modelValue": r[0] ||= (e) => t.value = e,
3446
3467
  name: e.name,
@@ -3462,13 +3483,13 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3462
3483
  "instructions"
3463
3484
  ]));
3464
3485
  }
3465
- }), Ni = ["for"], Pi = {
3486
+ }), Mi = ["for"], Ni = {
3466
3487
  key: 0,
3467
3488
  class: "g-file-input-required"
3468
- }, Fi = {
3489
+ }, Pi = {
3469
3490
  key: 0,
3470
3491
  class: "g-file-input-box-header"
3471
- }, Ii = ["id"], Li = [
3492
+ }, Fi = ["id"], Ii = [
3472
3493
  "id",
3473
3494
  "disabled",
3474
3495
  "required",
@@ -3477,11 +3498,11 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3477
3498
  "aria-invalid",
3478
3499
  "aria-describedby",
3479
3500
  "aria-errormessage"
3480
- ], Ri = {
3501
+ ], Li = {
3481
3502
  key: 1,
3482
3503
  class: "g-file-input-pills",
3483
3504
  "aria-label": "Selected files"
3484
- }, zi = /* @__PURE__ */ u({
3505
+ }, Ri = /* @__PURE__ */ u({
3485
3506
  inheritAttrs: !1,
3486
3507
  __name: "GFileInput",
3487
3508
  props: /* @__PURE__ */ m({
@@ -3538,12 +3559,12 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3538
3559
  key: 0,
3539
3560
  for: L(d),
3540
3561
  class: "g-file-input-label"
3541
- }, [c(N(t.label) + " ", 1), t.required ? (w(), o("span", Pi, "*")) : a("", !0)], 8, Ni)) : a("", !0),
3562
+ }, [c(N(t.label) + " ", 1), t.required ? (w(), o("span", Ni, "*")) : a("", !0)], 8, Mi)) : a("", !0),
3542
3563
  s("div", { class: _(["g-file-input-box", { "g-file-input-box--disabled": t.disabled }]) }, [
3543
- t.instructions ? (w(), o("div", Fi, [s("span", {
3564
+ t.instructions ? (w(), o("div", Pi, [s("span", {
3544
3565
  id: "instructions-" + L(d),
3545
3566
  class: "g-file-input-instructions"
3546
- }, N(t.instructions), 9, Ii)])) : a("", !0),
3567
+ }, N(t.instructions), 9, Fi)])) : a("", !0),
3547
3568
  s("input", {
3548
3569
  id: L(d),
3549
3570
  type: "file",
@@ -3556,8 +3577,8 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3556
3577
  "aria-describedby": t.instructions ? "instructions-" + L(d) : void 0,
3557
3578
  "aria-errormessage": y.value ? "error-message-" + L(d) : void 0,
3558
3579
  onChange: g
3559
- }, null, 40, Li),
3560
- t.multiple && b.value.length > 0 ? (w(), o("ul", Ri, [(w(!0), o(e, null, O(b.value, (e) => (w(), o("li", {
3580
+ }, null, 40, Ii),
3581
+ t.multiple && b.value.length > 0 ? (w(), o("ul", Li, [(w(!0), o(e, null, O(b.value, (e) => (w(), o("li", {
3561
3582
  key: e,
3562
3583
  class: "g-file-input-pill"
3563
3584
  }, [r[0] ||= s("svg", {
@@ -3567,13 +3588,13 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3567
3588
  viewBox: "0 0 640 640"
3568
3589
  }, [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(" " + N(e), 1)]))), 128))])) : a("", !0)
3569
3590
  ], 2),
3570
- l(je, {
3591
+ l(Ae, {
3571
3592
  errors: v.value,
3572
3593
  id: "error-message-" + L(d)
3573
3594
  }, null, 8, ["errors", "id"])
3574
3595
  ], 2));
3575
3596
  }
3576
- }), Bi = /* @__PURE__ */ u({
3597
+ }), zi = /* @__PURE__ */ u({
3577
3598
  __name: "GDateInput",
3578
3599
  props: /* @__PURE__ */ m({
3579
3600
  label: { default: void 0 },
@@ -3597,7 +3618,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3597
3618
  emits: ["update:modelValue"],
3598
3619
  setup(e) {
3599
3620
  let t = e, n = B(e, "modelValue");
3600
- return (e, r) => (w(), i(Re, h({
3621
+ return (e, r) => (w(), i(Le, h({
3601
3622
  modelValue: n.value,
3602
3623
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
3603
3624
  name: t.name,
@@ -3621,21 +3642,21 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3621
3642
  "form-key"
3622
3643
  ]));
3623
3644
  }
3624
- }), Vi = { class: "g-date-range-input" }, Hi = {
3645
+ }), Bi = { class: "g-date-range-input" }, Vi = {
3625
3646
  key: 0,
3626
3647
  class: "g-date-range-input__label"
3627
- }, Ui = {
3648
+ }, Hi = {
3628
3649
  key: 0,
3629
3650
  class: "g-date-range-input__required",
3630
3651
  "aria-hidden": "true"
3631
- }, Wi = {
3652
+ }, Ui = {
3632
3653
  key: 1,
3633
3654
  class: "g-date-range-input__instructions"
3634
- }, Gi = { class: "g-date-range-input__fields" }, Ki = {
3655
+ }, Wi = { class: "g-date-range-input__fields" }, Gi = {
3635
3656
  key: 2,
3636
3657
  class: "g-date-range-input__errors",
3637
3658
  role: "alert"
3638
- }, qi = /* @__PURE__ */ u({
3659
+ }, Ki = /* @__PURE__ */ u({
3639
3660
  __name: "GDateRangeInput",
3640
3661
  props: /* @__PURE__ */ m({
3641
3662
  label: { default: void 0 },
@@ -3668,17 +3689,17 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3668
3689
  errors: F(n, "errors"),
3669
3690
  formKey: n.formKey
3670
3691
  });
3671
- return W([i, u], () => {
3692
+ return G([i, u], () => {
3672
3693
  r.value = {
3673
3694
  start: i.value,
3674
3695
  end: u.value
3675
3696
  };
3676
- }), W(r, (e) => {
3697
+ }), G(r, (e) => {
3677
3698
  e.start !== i.value && (i.value = e.start), e.end !== u.value && (u.value = e.end);
3678
- }, { deep: !0 }), (t, r) => (w(), o("div", Vi, [
3679
- n.label ? (w(), o("div", Hi, [c(N(n.label), 1), n.required ? (w(), o("span", Ui, " *")) : a("", !0)])) : a("", !0),
3680
- n.instructions ? (w(), o("div", Wi, N(n.instructions), 1)) : a("", !0),
3681
- s("div", Gi, [l(Bi, {
3699
+ }, { deep: !0 }), (t, r) => (w(), o("div", Bi, [
3700
+ n.label ? (w(), o("div", Vi, [c(N(n.label), 1), n.required ? (w(), o("span", Hi, " *")) : a("", !0)])) : a("", !0),
3701
+ n.instructions ? (w(), o("div", Ui, N(n.instructions), 1)) : a("", !0),
3702
+ s("div", Wi, [l(zi, {
3682
3703
  modelValue: i.value,
3683
3704
  "onUpdate:modelValue": r[0] ||= (e) => i.value = e,
3684
3705
  label: n.startLabel,
@@ -3690,7 +3711,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3690
3711
  "label",
3691
3712
  "disabled",
3692
3713
  "required"
3693
- ]), l(Bi, {
3714
+ ]), l(zi, {
3694
3715
  modelValue: u.value,
3695
3716
  "onUpdate:modelValue": r[1] ||= (e) => u.value = e,
3696
3717
  label: n.endLabel,
@@ -3703,13 +3724,13 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3703
3724
  "disabled",
3704
3725
  "required"
3705
3726
  ])]),
3706
- L(d).length > 0 ? (w(), o("div", Ki, [(w(!0), o(e, null, O(L(d), (e, t) => (w(), o("div", {
3727
+ L(d).length > 0 ? (w(), o("div", Gi, [(w(!0), o(e, null, O(L(d), (e, t) => (w(), o("div", {
3707
3728
  key: t,
3708
3729
  class: "g-date-range-input__error"
3709
3730
  }, N(e), 1))), 128))])) : a("", !0)
3710
3731
  ]));
3711
3732
  }
3712
- }), Ji = ["action", "method"], Yi = /* @__PURE__ */ u({
3733
+ }), qi = ["action", "method"], Ji = /* @__PURE__ */ u({
3713
3734
  __name: "GForm",
3714
3735
  props: /* @__PURE__ */ m({
3715
3736
  action: { default: void 0 },
@@ -3721,10 +3742,10 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3721
3742
  }),
3722
3743
  emits: /* @__PURE__ */ m(["submit"], ["update:modelValue"]),
3723
3744
  setup(e, { emit: t }) {
3724
- let n = e, r = B(e, "modelValue"), i = t, a = p("form", null), s = a ?? (de() ? ke(n.formKey) : De());
3725
- a || T("form", s), W(() => s.values.value, (e) => {
3745
+ let n = e, r = B(e, "modelValue"), i = t, a = p("form", null), s = a ?? (de() ? Oe(n.formKey) : Ee());
3746
+ a || T("form", s), G(() => s.values.value, (e) => {
3726
3747
  r.value = { ...e };
3727
- }, { deep: !0 }), W(() => r.value, (e) => {
3748
+ }, { deep: !0 }), G(() => r.value, (e) => {
3728
3749
  e && Object.entries(e).forEach(([e, t]) => {
3729
3750
  let n = s.fields[e];
3730
3751
  n && n.value.value !== t && (n.value.value = t);
@@ -3749,9 +3770,9 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3749
3770
  hasErrors: L(s).hasErrors.value,
3750
3771
  values: L(s).values.value,
3751
3772
  errors: L(s).errors.value
3752
- })], 40, Ji));
3773
+ })], 40, qi));
3753
3774
  }
3754
- }), Xi = /* @__PURE__ */ u({
3775
+ }), Yi = /* @__PURE__ */ u({
3755
3776
  __name: "GSubmitButton",
3756
3777
  props: {
3757
3778
  disabled: {
@@ -3763,32 +3784,32 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3763
3784
  formKey: { default: "default" }
3764
3785
  },
3765
3786
  setup(e) {
3766
- let t = e, n = R(), a = typeof n["form-key"] == "string" ? n["form-key"] : void 0, o = t.formKey || a || "default", l = p("form", null) ?? (de() ? ke(o) : null), u = r(() => t.disabled || (l?.isSubmitting.value ?? !1)), d = r(() => l?.isSubmitting.value ?? !1);
3787
+ let t = e, n = R(), a = typeof n["form-key"] == "string" ? n["form-key"] : void 0, o = t.formKey || a || "default", l = p("form", null) ?? (de() ? Oe(o) : null), u = r(() => t.disabled || (l?.isSubmitting.value ?? !1)), d = r(() => l?.isSubmitting.value ?? !1);
3767
3788
  return (e, n) => (w(), i(Q, {
3768
3789
  type: "submit",
3769
3790
  disabled: u.value,
3770
3791
  variant: t.variant,
3771
3792
  class: "g-submit-button"
3772
3793
  }, {
3773
- default: K(() => [q(s("span", null, N(t.loadingText), 513), [[ee, d.value]]), q(s("span", null, [k(e.$slots, "default", {}, () => [n[0] ||= c("Submit", -1)])], 512), [[ee, !d.value]])]),
3794
+ default: q(() => [J(s("span", null, N(t.loadingText), 513), [[W, d.value]]), J(s("span", null, [k(e.$slots, "default", {}, () => [n[0] ||= c("Submit", -1)])], 512), [[W, !d.value]])]),
3774
3795
  _: 3
3775
3796
  }, 8, ["disabled", "variant"]));
3776
3797
  }
3777
- }), Zi = {
3798
+ }), Xi = {
3778
3799
  key: 0,
3779
3800
  class: "g-checkbox-group__legend"
3780
- }, Qi = {
3801
+ }, Zi = {
3781
3802
  key: 0,
3782
3803
  class: "g-checkbox-group__required",
3783
3804
  "aria-hidden": "true"
3784
- }, $i = {
3805
+ }, Qi = {
3785
3806
  key: 1,
3786
3807
  class: "g-checkbox-group__label"
3787
- }, ea = {
3808
+ }, $i = {
3788
3809
  key: 0,
3789
3810
  class: "g-checkbox-group__required",
3790
3811
  "aria-hidden": "true"
3791
- }, ta = ["id"], na = { class: "g-checkbox-group__options" }, ra = ["for"], ia = [
3812
+ }, ea = ["id"], ta = { class: "g-checkbox-group__options" }, na = ["for"], ra = [
3792
3813
  "id",
3793
3814
  "type",
3794
3815
  "name",
@@ -3797,7 +3818,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3797
3818
  "disabled",
3798
3819
  "required",
3799
3820
  "onChange"
3800
- ], aa = { class: "g-checkbox-group__label-text" }, oa = ["id"], sa = /* @__PURE__ */ u({
3821
+ ], ia = { class: "g-checkbox-group__label-text" }, aa = ["id"], oa = /* @__PURE__ */ u({
3801
3822
  __name: "GCheckboxGroup",
3802
3823
  props: /* @__PURE__ */ m({
3803
3824
  label: { default: void 0 },
@@ -3858,14 +3879,14 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3858
3879
  };
3859
3880
  }
3860
3881
  return (n, r) => (w(), i(A(C.value ? "fieldset" : "div"), h({ class: ["g-checkbox-group", { "g-checkbox-group--error": L(m) }] }, T.value), {
3861
- default: K(() => [
3862
- C.value && t.label ? (w(), o("legend", Zi, [c(N(t.label), 1), t.required ? (w(), o("span", Qi, "\xA0*")) : a("", !0)])) : !C.value && t.label ? (w(), o("div", $i, [c(N(t.label), 1), t.required ? (w(), o("span", ea, "\xA0*")) : a("", !0)])) : a("", !0),
3882
+ default: q(() => [
3883
+ C.value && t.label ? (w(), o("legend", Xi, [c(N(t.label), 1), t.required ? (w(), o("span", Zi, "\xA0*")) : a("", !0)])) : !C.value && t.label ? (w(), o("div", Qi, [c(N(t.label), 1), t.required ? (w(), o("span", $i, "\xA0*")) : a("", !0)])) : a("", !0),
3863
3884
  t.instructions ? (w(), o("div", {
3864
3885
  key: 2,
3865
3886
  id: S.value,
3866
3887
  class: "g-checkbox-group__instructions"
3867
- }, N(t.instructions), 9, ta)) : a("", !0),
3868
- s("div", na, [(w(!0), o(e, null, O(t.options, (e, n) => (w(), o("div", {
3888
+ }, N(t.instructions), 9, ea)) : a("", !0),
3889
+ s("div", ta, [(w(!0), o(e, null, O(t.options, (e, n) => (w(), o("div", {
3869
3890
  key: e.value,
3870
3891
  class: _(["g-checkbox-group__option-wrapper", { "g-checkbox-group__option-wrapper--disabled": e.disabled }])
3871
3892
  }, [s("label", {
@@ -3880,12 +3901,12 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3880
3901
  disabled: e.disabled,
3881
3902
  required: t.required && (t.radio && n === 0 || !t.radio && t.options.length === 1),
3882
3903
  class: "g-checkbox-group__input"
3883
- }, { ref_for: !0 }, k(e, n), { onChange: (t) => y(e.value, t.target.checked) }), null, 16, ia), s("span", aa, N(e.label), 1)], 10, ra), e.hint ? (w(), o("div", {
3904
+ }, { ref_for: !0 }, k(e, n), { onChange: (t) => y(e.value, t.target.checked) }), null, 16, ra), s("span", ia, N(e.label), 1)], 10, na), e.hint ? (w(), o("div", {
3884
3905
  key: 0,
3885
3906
  id: E(n),
3886
3907
  class: "g-checkbox-group__hint"
3887
- }, N(e.hint), 9, oa)) : a("", !0)], 2))), 128))]),
3888
- l(je, {
3908
+ }, N(e.hint), 9, aa)) : a("", !0)], 2))), 128))]),
3909
+ l(Ae, {
3889
3910
  errors: L(p),
3890
3911
  id: x.value
3891
3912
  }, null, 8, ["errors", "id"])
@@ -3893,11 +3914,11 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3893
3914
  _: 1
3894
3915
  }, 16, ["class"]));
3895
3916
  }
3896
- }), ca = ["for"], la = {
3917
+ }), sa = ["for"], ca = {
3897
3918
  key: 0,
3898
3919
  class: "g-textarea-required",
3899
3920
  "aria-hidden": "true"
3900
- }, ua = ["id"], da = [
3921
+ }, la = ["id"], ua = [
3901
3922
  "value",
3902
3923
  "placeholder",
3903
3924
  "disabled",
@@ -3906,11 +3927,11 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3906
3927
  "rows",
3907
3928
  "maxlength",
3908
3929
  "aria-invalid"
3909
- ], fa = {
3930
+ ], da = {
3910
3931
  key: 2,
3911
3932
  class: "g-textarea-char-count",
3912
3933
  "aria-live": "polite"
3913
- }, pa = /* @__PURE__ */ u({
3934
+ }, fa = /* @__PURE__ */ u({
3914
3935
  inheritAttrs: !1,
3915
3936
  __name: "GTextarea",
3916
3937
  props: /* @__PURE__ */ m({
@@ -3954,7 +3975,7 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3954
3975
  let e = x.value;
3955
3976
  e && (e.style.height = "auto", e.style.height = `${e.scrollHeight}px`);
3956
3977
  }
3957
- W(() => i.value, () => {
3978
+ G(() => i.value, () => {
3958
3979
  n.autoGrow && g(S);
3959
3980
  });
3960
3981
  function C(e) {
@@ -3983,12 +4004,12 @@ var yr = { class: "g-table-outer-wrap" }, br = {
3983
4004
  key: 0,
3984
4005
  for: m.value,
3985
4006
  class: "g-textarea-label"
3986
- }, [c(N(n.label), 1), n.required ? (w(), o("span", la, " *")) : a("", !0)], 8, ca)) : a("", !0),
4007
+ }, [c(N(n.label), 1), n.required ? (w(), o("span", ca, " *")) : a("", !0)], 8, sa)) : a("", !0),
3987
4008
  t.$slots.instructions || e.instructions ? (w(), o("div", {
3988
4009
  key: 1,
3989
4010
  id: "instructions-" + L(u),
3990
4011
  class: "g-textarea-instructions"
3991
- }, [k(t.$slots, "instructions", {}, () => [c(N(e.instructions), 1)])], 8, ua)) : a("", !0),
4012
+ }, [k(t.$slots, "instructions", {}, () => [c(N(e.instructions), 1)])], 8, la)) : a("", !0),
3992
4013
  s("textarea", h({
3993
4014
  ref: "textareaEl",
3994
4015
  value: i.value ?? "",
@@ -4009,9 +4030,9 @@ var yr = { class: "g-table-outer-wrap" }, br = {
4009
4030
  onInput: T,
4010
4031
  onBlur: E,
4011
4032
  onPaste: D
4012
- }), null, 16, da),
4013
- n.maxlength === void 0 ? a("", !0) : (w(), o("div", fa, N((i.value ?? "").length) + " / " + N(n.maxlength), 1)),
4014
- l(je, {
4033
+ }), null, 16, ua),
4034
+ n.maxlength === void 0 ? a("", !0) : (w(), o("div", da, N((i.value ?? "").length) + " / " + N(n.maxlength), 1)),
4035
+ l(Ae, {
4015
4036
  errors: L(v),
4016
4037
  id: "error-message-" + L(u)
4017
4038
  }, null, 8, ["errors", "id"])
@@ -4020,16 +4041,16 @@ var yr = { class: "g-table-outer-wrap" }, br = {
4020
4041
  });
4021
4042
  //#endregion
4022
4043
  //#region src/compose/useActiveLink.ts
4023
- function ma(e, t, n) {
4044
+ function pa(e, t, n) {
4024
4045
  let r = [
4025
4046
  0,
4026
4047
  .25,
4027
4048
  .5,
4028
4049
  .75,
4029
4050
  1
4030
- ], i = `${-t}px 0px 0px 0px`, a = /* @__PURE__ */ new Map(), o = D(Array.from(Z(e)?.children || []));
4051
+ ], i = `${-t}px 0px 0px 0px`, a = /* @__PURE__ */ new Map(), o = D(Array.from(te(e)?.children || []));
4031
4052
  se(e, () => {
4032
- o.value = Array.from(Z(e)?.children || []);
4053
+ o.value = Array.from(te(e)?.children || []);
4033
4054
  }, { childList: !0 });
4034
4055
  let { stop: s } = ae(o, (e) => {
4035
4056
  let t = o.value[o.value.length - 1];
@@ -4050,7 +4071,7 @@ function ma(e, t, n) {
4050
4071
  }
4051
4072
  //#endregion
4052
4073
  //#region src/compose/useSidebar.ts
4053
- function ha(e = "(max-width: 800px)") {
4074
+ function ma(e = "(max-width: 800px)") {
4054
4075
  let t = z(), n = D(!1), r = oe(e, { ssrWidth: 1e3 });
4055
4076
  function i(e) {
4056
4077
  if (!r.value || !n.value) return;
@@ -4067,7 +4088,7 @@ function ha(e = "(max-width: 800px)") {
4067
4088
  }, 5));
4068
4089
  }
4069
4090
  return S(() => {
4070
- W(r, (e) => {
4091
+ G(r, (e) => {
4071
4092
  e ? (document.addEventListener("mousedown", i), document.addEventListener("focusin", a)) : (document.removeEventListener("mousedown", i), document.removeEventListener("focusin", a));
4072
4093
  }, { immediate: !0 });
4073
4094
  }), x(() => {
@@ -4081,8 +4102,8 @@ function ha(e = "(max-width: 800px)") {
4081
4102
  }
4082
4103
  //#endregion
4083
4104
  //#region src/compose/useTableChanges.ts
4084
- function ga() {
4085
- let e = j(/* @__PURE__ */ new Map()), t = Y(), n = (n) => {
4105
+ function ha() {
4106
+ let e = j(/* @__PURE__ */ new Map()), t = X(), n = (n) => {
4086
4107
  let r = n.column.key, i = n.row.key, a = n.value, o = n.previousValue;
4087
4108
  e.has(i) || e.set(i, j(/* @__PURE__ */ new Map()));
4088
4109
  let s = e.get(i), c = s.get(r), l = c ? c.previousValue : o, u = c?.error;
@@ -4184,6 +4205,6 @@ function ga() {
4184
4205
  };
4185
4206
  }
4186
4207
  //#endregion
4187
- export { ke as $, $n as A, Ht as B, hr as C, _r as D, mr as E, hn as F, it as G, wt as H, dn as I, Qe as J, et as K, ln as L, Cn as M, vn as N, vr as O, gn as P, $ as Q, on as R, qr as S, gr as T, yt as U, At as V, ft as W, qe as X, Ke as Y, Re as Z, hi as _, sa as a, ci as b, qi as c, Mi as d, De as et, ji as f, _i as g, xi as h, pa as i, Q as it, Rn as j, fr as k, Bi as l, Ti as m, ha as n, be as nt, Xi as o, Ai as p, $e as q, ma as r, ye as rt, Yi as s, ga as t, Ee as tt, zi as u, di as v, pr as w, ni as x, ui as y, Qt as z };
4208
+ export { Oe as $, Qn as A, Vt as B, mr as C, gr as D, pr as E, mn as F, rt as G, Ct as H, un as I, Ze as J, $e as K, cn as L, Sn as M, _n as N, _r as O, hn as P, $ as Q, an as R, Kr as S, hr as T, vt as U, kt as V, dt as W, Ke as X, Ge as Y, Le as Z, mi as _, oa as a, si as b, Ki as c, ji as d, Ee as et, Ai as f, gi as g, bi as h, fa as i, Q as it, Ln as j, dr as k, zi as l, wi as m, ma as n, be as nt, Yi as o, ki as p, Qe as q, pa as r, ye as rt, Ji as s, ha as t, Te as tt, Ri as u, ui as v, fr as w, ti as x, li as y, Zt as z };
4188
4209
 
4189
- //# sourceMappingURL=grad-vue-BlLcBFHO.js.map
4210
+ //# sourceMappingURL=grad-vue-DuwqGzJU.js.map