@illinois-grad/grad-vue 6.0.4 → 6.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
- import { Fragment as e, Teleport as t, Transition as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, guardReactiveProps as f, inject as p, mergeModels as m, mergeProps as h, nextTick as g, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeMount as b, onBeforeUnmount as x, onMounted as S, onUnmounted as C, openBlock as w, provide as T, reactive as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as A, shallowReactive as j, shallowRef as M, toDisplayString as N, toRaw as P, toRef as F, toValue as I, unref as L, useAttrs as R, useId as z, useModel as B, useSlots as V, useTemplateRef as H, vModelCheckbox as U, vModelText as ee, vShow as te, watch as W, watchEffect as ne, withCtx as G, withDirectives as re, withModifiers as K } from "vue";
2
- import { createEventHook as ie, toArray as q, tryOnScopeDispose as ae, unrefElement as J, useClipboard as oe, useDebounceFn as se, useFocusWithin as ce, useIntersectionObserver as le, useMediaQuery as Y, useMutationObserver as ue, useResizeObserver as de, useSessionStorage as fe } from "@vueuse/core";
3
- import { createFocusTrap as X } from "focus-trap";
1
+ import { Fragment as e, Teleport as t, Transition as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, guardReactiveProps as f, inject as p, mergeModels as m, mergeProps as h, nextTick as g, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeMount as b, onBeforeUnmount as x, onMounted as S, onUnmounted as C, openBlock as w, provide as T, reactive as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as A, shallowReactive as j, shallowRef as M, toDisplayString as N, toRaw as P, toRef as F, toValue as I, unref as L, useAttrs as R, useId as z, useModel as B, useSlots as V, useTemplateRef as H, vModelCheckbox as U, vModelText as W, vShow as ee, watch as G, watchEffect as te, withCtx as K, withDirectives as ne, withModifiers as q } from "vue";
2
+ import { createEventHook as re, toArray as J, tryOnScopeDispose as ie, unrefElement as Y, useClipboard as ae, useDebounceFn as oe, useFocusWithin as se, useIntersectionObserver as ce, useLocalStorage as le, useMediaQuery as ue, useMutationObserver as de, useResizeObserver as fe, useSessionStorage as X } from "@vueuse/core";
3
+ import { createFocusTrap as pe } from "focus-trap";
4
4
  //#region src/compose/useCustomElementAttrs.ts
5
5
  function Z() {
6
6
  return globalThis.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ === !0;
7
7
  }
8
- function pe(e = {}) {
8
+ function me(e = {}) {
9
9
  let t = R(), n = globalThis.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ === !0, i = e.omitInCustomElement ?? [];
10
10
  return {
11
11
  attrs: t,
@@ -20,7 +20,7 @@ function pe(e = {}) {
20
20
  }
21
21
  //#endregion
22
22
  //#region src/components/GButton.vue?vue&type=script&setup=true&lang.ts
23
- var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PURE__ */ u({
23
+ var he = { class: "g-btn--icon" }, ge = { class: "g-btn--label" }, Q = /* @__PURE__ */ u({
24
24
  inheritAttrs: !1,
25
25
  __name: "GButton",
26
26
  props: {
@@ -51,7 +51,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
51
51
  "mouseleave"
52
52
  ],
53
53
  setup(t) {
54
- let n = t, a = V(), { forwardedAttrs: c } = pe({ omitInCustomElement: ["id"] }), l = r(() => [
54
+ let n = t, a = V(), { forwardedAttrs: c } = me({ omitInCustomElement: ["id"] }), l = r(() => [
55
55
  "g-btn",
56
56
  `g-btn--${n.size}`,
57
57
  `g-btn--${n.theme}`,
@@ -79,11 +79,11 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
79
79
  onMouseenter: u[7] ||= (e) => r.$emit("mouseenter", e),
80
80
  onMouseleave: u[8] ||= (e) => r.$emit("mouseleave", e)
81
81
  }), {
82
- default: G(() => [t.icon || a.icon ? (w(), o(e, { key: 0 }, [s("span", me, [a.icon ? k(r.$slots, "icon", {}, void 0, void 0, 0) : (w(), o("span", {
82
+ default: K(() => [t.icon || a.icon ? (w(), o(e, { key: 0 }, [s("span", he, [a.icon ? k(r.$slots, "icon", {}, void 0, void 0, 0) : (w(), o("span", {
83
83
  key: 1,
84
84
  class: _(t.icon + " g-btn--icon-span"),
85
85
  "aria-hidden": "true"
86
- }, null, 2))]), s("span", he, [k(r.$slots, "default")])], 64)) : k(r.$slots, "default", {}, void 0, void 0, 1)]),
86
+ }, null, 2))]), s("span", ge, [k(r.$slots, "default")])], 64)) : k(r.$slots, "default", {}, void 0, void 0, 1)]),
87
87
  _: 3
88
88
  }, 16, [
89
89
  "to",
@@ -91,13 +91,13 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
91
91
  "type"
92
92
  ]));
93
93
  }
94
- }), ge = { class: "g-tree-menu__divider" }, _e = {
94
+ }), _e = { class: "g-tree-menu__divider" }, ve = {
95
95
  key: 0,
96
96
  class: "g-tree-menu__divider-line"
97
- }, ve = {
97
+ }, ye = {
98
98
  key: 1,
99
99
  class: "g-tree-menu__expand-all-wrapper"
100
- }, ye = { class: "g-tree-menu__content" }, be = /* @__PURE__ */ u({
100
+ }, be = { class: "g-tree-menu__content" }, xe = /* @__PURE__ */ u({
101
101
  __name: "GTreeMenu",
102
102
  props: {
103
103
  heading: {},
@@ -117,7 +117,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
117
117
  setup(e) {
118
118
  let t = e, n = V(), l = d(), u = z(), f = (l?.ce)?._slots?.heading?.length > 0, p = r(() => !!t.heading || !!n.heading || f);
119
119
  T("g-tree-menu-list-type", t.listType);
120
- let m = t.storageKey ? fe(t.storageKey, {}) : null;
120
+ let m = t.storageKey ? X(t.storageKey, {}) : null;
121
121
  T("g-tree-menu-expanded-storage", m);
122
122
  let g = E(/* @__PURE__ */ new Map());
123
123
  T("g-tree-menu-expandable-items", g);
@@ -147,10 +147,10 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
147
147
  id: L(u),
148
148
  class: "g-tree-menu__title"
149
149
  }, {
150
- default: G(() => [k(n.$slots, "heading", {}, () => [c(N(e.heading), 1)])]),
150
+ default: K(() => [k(n.$slots, "heading", {}, () => [c(N(e.heading), 1)])]),
151
151
  _: 3
152
152
  }, 8, ["id"])) : a("", !0),
153
- s("div", ge, [e.smallHeading ? a("", !0) : (w(), o("div", _e)), e.showExpandAll ? (w(), o("div", ve, [s("button", {
153
+ s("div", _e, [e.smallHeading ? a("", !0) : (w(), o("div", ve)), e.showExpandAll ? (w(), o("div", ye, [s("button", {
154
154
  class: "g-tree-menu__expand-all-btn",
155
155
  onClick: b
156
156
  }, [(w(), o("svg", {
@@ -163,10 +163,10 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
163
163
  "stroke-linecap": "round",
164
164
  "stroke-linejoin": "round"
165
165
  }, [...r[0] ||= [s("polyline", { points: "7 8 12 13 17 8" }, null, -1), s("polyline", { points: "7 13 12 18 17 13" }, null, -1)]], 2)), c(" " + N(y.value ? "Collapse all" : "Expand all"), 1)])])) : a("", !0)]),
166
- s("div", ye, [k(n.$slots, "default")])
166
+ s("div", be, [k(n.$slots, "default")])
167
167
  ], 16));
168
168
  }
169
- }), xe = /* @__PURE__ */ u({
169
+ }), Se = /* @__PURE__ */ u({
170
170
  name: "GTreeMenuList",
171
171
  props: { listType: { default: void 0 } },
172
172
  setup(e) {
@@ -179,24 +179,24 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
179
179
  role: L(o) ? "list" : void 0,
180
180
  class: "g-tree-menu__list"
181
181
  }, {
182
- default: G(() => [k(e.$slots, "default")]),
182
+ default: K(() => [k(e.$slots, "default")]),
183
183
  _: 3
184
184
  }, 8, ["role"]));
185
185
  }
186
- }), Se = {
186
+ }), Ce = {
187
187
  key: 0,
188
188
  class: "g-tree-menu__row"
189
- }, Ce = { class: "g-tree-menu__row-content-text" }, we = [
189
+ }, we = { class: "g-tree-menu__row-content-text" }, Te = [
190
190
  "aria-controls",
191
191
  "aria-expanded",
192
192
  "aria-label"
193
- ], Te = {
193
+ ], Ee = {
194
194
  key: 1,
195
195
  class: "g-tree-menu__row g-tree-menu__row--leaf"
196
- }, Ee = {
196
+ }, De = {
197
197
  class: "g-tree-menu__row-content",
198
198
  "data-tree-primary": ""
199
- }, De = /* @__PURE__ */ u({
199
+ }, Oe = /* @__PURE__ */ u({
200
200
  name: "GTreeMenuItem",
201
201
  inheritAttrs: !1,
202
202
  props: {
@@ -220,9 +220,9 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
220
220
  return n.expanded;
221
221
  }
222
222
  let C = D(b());
223
- W(() => n.expanded, (e) => {
223
+ G(() => n.expanded, (e) => {
224
224
  v && n.label !== void 0 || (C.value = e);
225
- }), W(C, (e) => {
225
+ }), G(C, (e) => {
226
226
  v && n.label !== void 0 && (e ? v.value[n.label] = !0 : delete v.value[n.label]);
227
227
  });
228
228
  function T() {
@@ -235,9 +235,9 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
235
235
  function P() {
236
236
  O?.delete(E);
237
237
  }
238
- W(C, (e) => {
238
+ G(C, (e) => {
239
239
  O && g.value && O.set(E, e);
240
- }), j && W(() => j.value.version, () => {
240
+ }), j && G(() => j.value.version, () => {
241
241
  g.value && (C.value = j.value.expanded, M.value = j.value.version);
242
242
  }), S(() => {
243
243
  N(), j && g.value && j.value.version > M.value && j.value.expanded && (C.value = !0, M.value = j.value.version);
@@ -261,11 +261,11 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
261
261
  class: "g-tree-menu__item",
262
262
  "data-tree-expandable": g.value ? "true" : void 0
263
263
  }), {
264
- default: G(() => [g.value ? (w(), o("div", Se, [s("span", {
264
+ default: K(() => [g.value ? (w(), o("div", Ce, [s("span", {
265
265
  class: "g-tree-menu__row-content",
266
266
  "data-tree-primary": "",
267
267
  onClick: F
268
- }, [s("span", Ce, [k(e.$slots, "default")])]), s("button", {
268
+ }, [s("span", we, [k(e.$slots, "default")])]), s("button", {
269
269
  type: "button",
270
270
  class: "g-tree-menu__toggle-btn",
271
271
  "aria-controls": L(f) + "-children",
@@ -283,11 +283,11 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
283
283
  "stroke-width": "2.5",
284
284
  "stroke-linecap": "round",
285
285
  "stroke-linejoin": "round"
286
- }, [...t[0] ||= [s("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2))], 8, we)])) : (w(), o("div", Te, [t[1] ||= s("span", { class: "g-tree-menu__spacer" }, null, -1), s("span", Ee, [k(e.$slots, "default")])])), g.value && C.value ? (w(), i(xe, {
286
+ }, [...t[0] ||= [s("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2))], 8, Te)])) : (w(), o("div", Ee, [t[1] ||= s("span", { class: "g-tree-menu__spacer" }, null, -1), s("span", De, [k(e.$slots, "default")])])), g.value && C.value ? (w(), i(Se, {
287
287
  key: 2,
288
288
  id: L(f) + "-children"
289
289
  }, {
290
- default: G(() => [k(e.$slots, "children")]),
290
+ default: K(() => [k(e.$slots, "children")]),
291
291
  _: 3
292
292
  }, 8, ["id"])) : a("", !0)]),
293
293
  _: 3
@@ -296,7 +296,7 @@ var me = { class: "g-btn--icon" }, he = { class: "g-btn--label" }, Q = /* @__PUR
296
296
  });
297
297
  //#endregion
298
298
  //#region src/compose/useForm.ts
299
- function Oe() {
299
+ function ke() {
300
300
  let e = j({}), t = D(!1), n = r(() => {
301
301
  let t = {};
302
302
  return Object.entries(e).forEach(([e, n]) => {
@@ -338,18 +338,18 @@ function Oe() {
338
338
  }
339
339
  //#endregion
340
340
  //#region src/compose/useWebComponentForm.ts
341
- function ke() {
341
+ function Ae() {
342
342
  let e = globalThis;
343
343
  return e.__GRAD_VUE_WC_FORMS__ ||= /* @__PURE__ */ new Map(), e.__GRAD_VUE_WC_FORMS__;
344
344
  }
345
- function Ae(e = "default") {
346
- let t = ke(), n = e || "default";
347
- return t.has(n) || t.set(n, Oe()), t.get(n);
345
+ function je(e = "default") {
346
+ let t = Ae(), n = e || "default";
347
+ return t.has(n) || t.set(n, ke()), t.get(n);
348
348
  }
349
349
  //#endregion
350
350
  //#region src/compose/useFormField.ts
351
351
  function $(e) {
352
- let t = R(), n = typeof t["form-key"] == "string" ? t["form-key"] : void 0, i = e.formKey ?? n ?? "default", a = p("form", null) ?? (Z() ? Ae(i) : null), o = r(() => {
352
+ let t = R(), n = typeof t["form-key"] == "string" ? t["form-key"] : void 0, i = e.formKey ?? n ?? "default", a = p("form", null) ?? (Z() ? je(i) : null), o = r(() => {
353
353
  let t = [];
354
354
  return e.errors && t.push(...e.errors.value.filter(Boolean)), t;
355
355
  }), s = r(() => o.value.length > 0), c = e.name;
@@ -368,7 +368,7 @@ function $(e) {
368
368
  }
369
369
  //#endregion
370
370
  //#region src/components/form/GFormErrorMessages.vue?vue&type=script&setup=true&lang.ts
371
- var je = ["id"], Me = /* @__PURE__ */ u({
371
+ var Me = ["id"], Ne = /* @__PURE__ */ u({
372
372
  __name: "GFormErrorMessages",
373
373
  props: {
374
374
  errors: {},
@@ -391,25 +391,25 @@ var je = ["id"], Me = /* @__PURE__ */ u({
391
391
  }, [s("path", {
392
392
  fill: "currentColor",
393
393
  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"
394
- })], -1), c(" " + N(e), 1)]))), 128))], 8, je)) : a("", !0);
394
+ })], -1), c(" " + N(e), 1)]))), 128))], 8, Me)) : a("", !0);
395
395
  }
396
- }), Ne = ["for"], Pe = {
396
+ }), Pe = ["for"], Fe = {
397
397
  key: 0,
398
398
  class: "g-text-input-required",
399
399
  "aria-hidden": "true"
400
- }, Fe = ["id"], Ie = {
400
+ }, Ie = ["id"], Le = {
401
401
  key: 0,
402
402
  class: "g-text-input-prefix"
403
- }, Le = [
403
+ }, Re = [
404
404
  "value",
405
405
  "placeholder",
406
406
  "disabled",
407
407
  "required",
408
408
  "aria-invalid"
409
- ], Re = {
409
+ ], ze = {
410
410
  key: 1,
411
411
  class: "g-text-input-suffix"
412
- }, ze = /* @__PURE__ */ u({
412
+ }, Be = /* @__PURE__ */ u({
413
413
  inheritAttrs: !1,
414
414
  __name: "GTextInput",
415
415
  props: /*@__PURE__*/ m({
@@ -436,7 +436,7 @@ var je = ["id"], Me = /* @__PURE__ */ u({
436
436
  }),
437
437
  emits: /*@__PURE__*/ m(["change"], ["update:modelValue"]),
438
438
  setup(e, { emit: t }) {
439
- let n = e, i = B(e, "modelValue"), u = z(), { attrs: d, isCustomElement: f, forwardedAttrs: p } = pe({ omitInCustomElement: ["id"] }), m = r(() => f ? u : d.id || u), { displayErrors: g, hasErrors: v } = $({
439
+ let n = e, i = B(e, "modelValue"), u = z(), { attrs: d, isCustomElement: f, forwardedAttrs: p } = me({ omitInCustomElement: ["id"] }), m = r(() => f ? u : d.id || u), { displayErrors: g, hasErrors: v } = $({
440
440
  name: n.name,
441
441
  value: i,
442
442
  errors: F(n, "errors"),
@@ -474,14 +474,14 @@ var je = ["id"], Me = /* @__PURE__ */ u({
474
474
  key: 0,
475
475
  for: m.value,
476
476
  class: "g-text-input-label"
477
- }, [c(N(n.label), 1), n.required ? (w(), o("span", Pe, " *")) : a("", !0)], 8, Ne)) : a("", !0),
477
+ }, [c(N(n.label), 1), n.required ? (w(), o("span", Fe, " *")) : a("", !0)], 8, Pe)) : a("", !0),
478
478
  t.$slots.instructions || e.instructions ? (w(), o("div", {
479
479
  key: 1,
480
480
  id: "instructions-" + L(u),
481
481
  class: "g-text-input-instructions"
482
- }, [k(t.$slots, "instructions", {}, () => [c(N(e.instructions), 1)])], 8, Fe)) : a("", !0),
482
+ }, [k(t.$slots, "instructions", {}, () => [c(N(e.instructions), 1)])], 8, Ie)) : a("", !0),
483
483
  s("div", { class: _([{ "g-text-input-field-wrapper": !0 }, `g-text-input-field-wrapper--${e.name || "nameless"}`]) }, [
484
- n.prefix ? (w(), o("span", Ie, N(n.prefix), 1)) : a("", !0),
484
+ n.prefix ? (w(), o("span", Le, N(n.prefix), 1)) : a("", !0),
485
485
  s("input", h({
486
486
  value: i.value,
487
487
  placeholder: n.placeholder,
@@ -498,39 +498,39 @@ var je = ["id"], Me = /* @__PURE__ */ u({
498
498
  id: m.value,
499
499
  "aria-describedby": t.$slots.instructions || e.instructions ? "instructions-" + L(u) : void 0,
500
500
  "aria-errormessage": L(v) ? "error-message-" + L(u) : void 0
501
- }, { "aria-invalid": L(v) ? "true" : "false" }), null, 16, Le),
502
- n.suffix ? (w(), o("span", Re, N(n.suffix), 1)) : a("", !0)
501
+ }, { "aria-invalid": L(v) ? "true" : "false" }), null, 16, Re),
502
+ n.suffix ? (w(), o("span", ze, N(n.suffix), 1)) : a("", !0)
503
503
  ], 2),
504
- l(Me, {
504
+ l(Ne, {
505
505
  errors: L(g),
506
506
  id: "error-message-" + L(u)
507
507
  }, null, 8, ["errors", "id"])
508
508
  ], 2));
509
509
  }
510
- }), Be = 100, Ve = 200, He = 102, Ue = D([]), We = D([]), Ge = D([]);
511
- function Ke() {
510
+ }), Ve = 100, He = 200, Ue = 102, We = D([]), Ge = D([]), Ke = D([]);
511
+ function qe() {
512
512
  if (!(typeof document > "u")) {
513
- if (Ge.value.length > 0) {
513
+ if (Ke.value.length > 0) {
514
514
  let e = window.innerWidth - document.documentElement.clientWidth;
515
515
  document.body.classList.add("g-scroll-lock"), document.body.style.paddingRight = `${e}px`, document.body.style.setProperty("--g-scrollbar-width", `${e}px`);
516
516
  } else document.body.style.paddingRight = "0", document.body.classList.remove("g-scroll-lock"), document.body.style.removeProperty("--g-scrollbar-width");
517
517
  }
518
518
  }
519
- function qe(e, t = !1, n = !1) {
519
+ function Je(e, t = !1, n = !1) {
520
520
  if (typeof document > "u") return {};
521
- let i = t ? We : Ue;
521
+ let i = t ? Ge : We;
522
522
  function a() {
523
- i.value.push(e), n && !Ge.value.includes(e) && (Ge.value.push(e), Ke());
523
+ i.value.push(e), n && !Ke.value.includes(e) && (Ke.value.push(e), qe());
524
524
  }
525
525
  function o() {
526
526
  let t = i.value.lastIndexOf(e);
527
527
  t !== -1 && i.value.splice(t, 1);
528
- let n = Ge.value.lastIndexOf(e);
529
- n !== -1 && (Ge.value.splice(n, 1), Ke());
528
+ let n = Ke.value.lastIndexOf(e);
529
+ n !== -1 && (Ke.value.splice(n, 1), qe());
530
530
  }
531
- let s = r(() => !t && We.value.length > 0 ? !1 : i.value.length > 0 && i.value[i.value.length - 1] === e), c = r(() => {
531
+ let s = r(() => !t && Ge.value.length > 0 ? !1 : i.value.length > 0 && i.value[i.value.length - 1] === e), c = r(() => {
532
532
  let n = i.value.indexOf(e);
533
- return n === -1 ? 0 : (t ? Ve : Be) + n;
533
+ return n === -1 ? 0 : (t ? He : Ve) + n;
534
534
  });
535
535
  return x(o), {
536
536
  push: a,
@@ -539,33 +539,33 @@ function qe(e, t = !1, n = !1) {
539
539
  zIndex: c
540
540
  };
541
541
  }
542
- function Je() {
542
+ function Ye() {
543
543
  return typeof document > "u" ? {} : {
544
- hasModal: r(() => We.value.length > 0),
545
- hasOverlay: r(() => Ue.value.length > 0 || We.value.length > 0),
546
- hasScrollLock: r(() => Ge.value.length > 0)
544
+ hasModal: r(() => Ge.value.length > 0),
545
+ hasOverlay: r(() => We.value.length > 0 || Ge.value.length > 0),
546
+ hasScrollLock: r(() => Ke.value.length > 0)
547
547
  };
548
548
  }
549
- function Ye() {
549
+ function Xe() {
550
550
  let e = 0;
551
- return Ue.value.forEach((t, n) => {
552
- e = Math.max(e, Be + n);
553
- }), We.value.forEach((t, n) => {
551
+ return We.value.forEach((t, n) => {
554
552
  e = Math.max(e, Ve + n);
555
- }), e > 0 ? e + 1 : He;
553
+ }), Ge.value.forEach((t, n) => {
554
+ e = Math.max(e, He + n);
555
+ }), e > 0 ? e + 1 : Ue;
556
556
  }
557
557
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
558
- var Xe = (e) => e != null;
558
+ var Ze = (e) => e != null;
559
559
  //#endregion
560
560
  //#region ../../node_modules/@vueuse/integrations/dist/useFocusTrap-lXZ_YG-8.js
561
- function Ze(e, t = {}) {
561
+ function Qe(e, t = {}) {
562
562
  let n, { immediate: i, ...a } = t, o = M(!1), s = M(!1), c = (e) => n && n.activate(e), l = (e) => n && n.deactivate(e);
563
- return W(r(() => q(I(e)).map((e) => {
563
+ return G(r(() => J(I(e)).map((e) => {
564
564
  let t = I(e);
565
- return typeof t == "string" ? t : J(t);
566
- }).filter(Xe)), (e) => {
565
+ return typeof t == "string" ? t : Y(t);
566
+ }).filter(Ze)), (e) => {
567
567
  if (e.length) {
568
- if (!n) n = X(e, {
568
+ if (!n) n = pe(e, {
569
569
  ...a,
570
570
  onActivate() {
571
571
  o.value = !0, t.onActivate && t.onActivate();
@@ -579,7 +579,7 @@ function Ze(e, t = {}) {
579
579
  n?.updateContainerElements(e), !t && i && c();
580
580
  }
581
581
  }
582
- }, { flush: "post" }), ae(() => l()), {
582
+ }, { flush: "post" }), ie(() => l()), {
583
583
  hasFocus: o,
584
584
  isPaused: s,
585
585
  activate: c,
@@ -594,7 +594,7 @@ function Ze(e, t = {}) {
594
594
  }
595
595
  //#endregion
596
596
  //#region src/compose/focusable.ts
597
- var Qe = [
597
+ var $e = [
598
598
  "a[href]",
599
599
  "button:not([disabled])",
600
600
  "input:not([disabled])",
@@ -603,17 +603,17 @@ var Qe = [
603
603
  "[tabindex]:not([tabindex='-1'])",
604
604
  "[contenteditable='true']"
605
605
  ].join(",");
606
- function $e(e) {
607
- return e ? Array.from(e.querySelectorAll(Qe)) : [];
608
- }
609
606
  function et(e) {
607
+ return e ? Array.from(e.querySelectorAll($e)) : [];
608
+ }
609
+ function tt(e) {
610
610
  let t = document.activeElement;
611
611
  return t ? e.findIndex((e) => e === t || e.contains(t)) : -1;
612
612
  }
613
613
  //#endregion
614
614
  //#region src/compose/useOverlayFocus.ts
615
- function tt(e, t, n = !1) {
616
- let r = D(!1), i = () => !!e.value?.querySelector(Qe), { activate: a, deactivate: o, pause: s, unpause: c } = Ze(e, {
615
+ function nt(e, t, n = !1) {
616
+ let r = D(!1), i = () => !!e.value?.querySelector($e), { activate: a, deactivate: o, pause: s, unpause: c } = Qe(e, {
617
617
  immediate: !1,
618
618
  clickOutsideDeactivates: n,
619
619
  initialFocus: () => {
@@ -634,7 +634,7 @@ function tt(e, t, n = !1) {
634
634
  });
635
635
  }
636
636
  });
637
- return W(t, (e) => {
637
+ return G(t, (e) => {
638
638
  e ? g(() => {
639
639
  i() && c();
640
640
  }).catch((e) => {
@@ -657,7 +657,7 @@ function tt(e, t, n = !1) {
657
657
  }
658
658
  //#endregion
659
659
  //#region src/compose/useOverlayEscape.ts
660
- function nt(e, t, n, r, i) {
660
+ function rt(e, t, n, r, i) {
661
661
  function a(i) {
662
662
  if (!(!n.value || !t.value)) {
663
663
  for (let t of e) if (t.value?.contains(i.target)) return;
@@ -677,7 +677,7 @@ function nt(e, t, n, r, i) {
677
677
  }
678
678
  //#endregion
679
679
  //#region src/compose/popoverPosition.ts
680
- function rt(e, t, n, r) {
680
+ function it(e, t, n, r) {
681
681
  let i = r?.gap ?? 8, a = r?.margin ?? 16, o = r?.preferAbove ?? !1, s = !1, c = !1, l;
682
682
  o ? e.top - t.height - i > n.top + a ? (l = e.top - t.height - i, s = !0) : e.bottom + t.height + i <= n.bottom - a ? l = e.bottom + i : (l = n.top + a, c = !0) : e.bottom + t.height + i > n.bottom - a && e.top - t.height - i > n.top + a ? (l = e.top - t.height - i, s = !0) : e.bottom + t.height + i > n.bottom - a && e.top - t.height - i <= n.top + a ? (l = n.top + a, c = !0) : l = e.bottom + i;
683
683
  let u = e.left + (e.width - t.width) / 2;
@@ -693,7 +693,7 @@ function rt(e, t, n, r) {
693
693
  }
694
694
  //#endregion
695
695
  //#region src/components/GClientOnly.vue
696
- var it = /* @__PURE__ */ u({
696
+ var at = /* @__PURE__ */ u({
697
697
  __name: "GClientOnly",
698
698
  setup(e) {
699
699
  let t = D(Z());
@@ -701,7 +701,7 @@ var it = /* @__PURE__ */ u({
701
701
  t.value = !0;
702
702
  }), (e, n) => t.value ? k(e.$slots, "default", {}, void 0, void 0, 0) : k(e.$slots, "fallback", {}, void 0, void 0, 1);
703
703
  }
704
- }), at = { class: "g-popover-wrap" }, ot = ["id"], st = ["aria-labelledby", "aria-label"], ct = /* @__PURE__ */ u({
704
+ }), ot = { class: "g-popover-wrap" }, st = ["id"], ct = ["aria-labelledby", "aria-label"], lt = /* @__PURE__ */ u({
705
705
  __name: "GPopover",
706
706
  props: {
707
707
  minimal: {
@@ -720,14 +720,14 @@ var it = /* @__PURE__ */ u({
720
720
  ],
721
721
  setup(e, { expose: c, emit: u }) {
722
722
  let d = e, f = u, p = D(d.modelValue);
723
- W(F(d, "modelValue"), (e) => {
723
+ G(F(d, "modelValue"), (e) => {
724
724
  p.value = e;
725
725
  });
726
- let m = V(), h = r(() => !!m.trigger), v = H("triggerRef"), b = H("popoverRef"), { isCustomElement: S } = pe(), C = S, T = z(), { push: E, pop: O, isTop: A, zIndex: j } = qe(T, !0), { activate: M, deactivate: N } = tt(b, A, !0);
727
- nt([b, v], A, p, I, O), W(p, (e) => {
726
+ let m = V(), h = r(() => !!m.trigger), v = H("triggerRef"), b = H("popoverRef"), { isCustomElement: S } = me(), C = S, T = z(), { push: E, pop: O, isTop: A, zIndex: j } = Je(T, !0), { activate: M, deactivate: N } = nt(b, A, !0);
727
+ rt([b, v], A, p, I, O), G(p, (e) => {
728
728
  e ? (g(() => {
729
729
  g(() => M());
730
- }), E(), f("show")) : (N(), O(), f("hide"), K.value = !1, ie.value = null);
730
+ }), E(), f("show")) : (N(), O(), f("hide"), q.value = !1, re.value = null);
731
731
  });
732
732
  function P() {
733
733
  p.value = !0, f("update:modelValue", !0);
@@ -741,27 +741,27 @@ var it = /* @__PURE__ */ u({
741
741
  let B = D({
742
742
  top: 0,
743
743
  left: 0
744
- }), U = D({ left: "50%" }), ee = D(!1), ne = D(!1), K = D(!1), ie = D(null), q = null;
745
- function ae() {
744
+ }), U = D({ left: "50%" }), W = D(!1), te = D(!1), q = D(!1), re = D(null), J = null;
745
+ function ie() {
746
746
  if (v.value) return v.value;
747
747
  let e = b.value?.parentElement ?? null;
748
748
  for (; e && e.tagName.toLowerCase() !== "g-popover";) e = e.parentElement;
749
749
  let t = e?.previousElementSibling;
750
750
  return t instanceof HTMLElement ? t : null;
751
751
  }
752
- function J() {
752
+ function Y() {
753
753
  if (!b.value) return;
754
754
  let e = b.value, t = new DOMRect(0, 0, window.innerWidth, window.innerHeight), n = Math.max(t.height - 32, 0), r = e.scrollHeight;
755
- K.value = r > n, ie.value = K.value ? n : null;
756
- let i = new DOMRect(0, 0, e.offsetWidth, Math.min(r, n)), a = ae();
755
+ q.value = r > n, re.value = q.value ? n : null;
756
+ let i = new DOMRect(0, 0, e.offsetWidth, Math.min(r, n)), a = ie();
757
757
  if (!a) {
758
758
  B.value = {
759
759
  top: Math.max((t.height - i.height) / 2, 16),
760
760
  left: Math.max((t.width - i.width) / 2, 16)
761
- }, ne.value = !1, ee.value = !1, U.value = { left: "50%" };
761
+ }, te.value = !1, W.value = !1, U.value = { left: "50%" };
762
762
  return;
763
763
  }
764
- let { top: o, left: s, xOffset: c, placedAbove: l, overlay: u } = rt(a.getBoundingClientRect(), i, t, { gap: d.minimal ? 0 : 8 });
764
+ let { top: o, left: s, xOffset: c, placedAbove: l, overlay: u } = it(a.getBoundingClientRect(), i, t, { gap: d.minimal ? 0 : 8 });
765
765
  B.value = {
766
766
  top: o,
767
767
  left: s
@@ -769,42 +769,42 @@ var it = /* @__PURE__ */ u({
769
769
  left: `${i.width / 2 - c}px`,
770
770
  top: l ? "auto" : void 0,
771
771
  bottom: l ? "-8px" : void 0
772
- }, ee.value = l, ne.value = u;
772
+ }, W.value = l, te.value = u;
773
773
  }
774
- return W(p, (e) => {
774
+ return G(p, (e) => {
775
775
  e ? g(() => {
776
- J(), window.addEventListener("resize", J), window.addEventListener("scroll", J, { capture: !0 }), b.value && (q && q.disconnect(), q = new ResizeObserver(() => J()), q.observe(b.value));
777
- }) : (window.removeEventListener("resize", J), window.removeEventListener("scroll", J, { capture: !0 }), q && q.disconnect());
776
+ Y(), window.addEventListener("resize", Y), window.addEventListener("scroll", Y, { capture: !0 }), b.value && (J && J.disconnect(), J = new ResizeObserver(() => Y()), J.observe(b.value));
777
+ }) : (window.removeEventListener("resize", Y), window.removeEventListener("scroll", Y, { capture: !0 }), J && J.disconnect());
778
778
  }), x(() => {
779
- window.removeEventListener("resize", J), window.removeEventListener("scroll", J, { capture: !0 }), q && q.disconnect();
779
+ window.removeEventListener("resize", Y), window.removeEventListener("scroll", Y, { capture: !0 }), J && J.disconnect();
780
780
  }), c({
781
781
  show: P,
782
782
  hide: I,
783
783
  toggle: R
784
- }), (r, c) => (w(), o("div", at, [h.value ? (w(), o("div", {
784
+ }), (r, c) => (w(), o("div", ot, [h.value ? (w(), o("div", {
785
785
  key: 0,
786
786
  ref_key: "triggerRef",
787
787
  ref: v,
788
788
  class: "g-popover-trigger",
789
789
  id: `${L(T)}-trigger`
790
- }, [k(r.$slots, "trigger", { toggle: R })], 8, ot)) : a("", !0), l(it, null, {
791
- default: G(() => [(w(), i(t, {
790
+ }, [k(r.$slots, "trigger", { toggle: R })], 8, st)) : a("", !0), l(at, null, {
791
+ default: K(() => [(w(), i(t, {
792
792
  to: "#modal-root",
793
793
  disabled: L(C)
794
794
  }, [l(n, {
795
795
  name: "g-popover-expand",
796
796
  appear: ""
797
797
  }, {
798
- default: G(() => [L(S) || p.value ? re((w(), o("div", {
798
+ default: K(() => [L(S) || p.value ? ne((w(), o("div", {
799
799
  key: 0,
800
800
  ref_key: "popoverRef",
801
801
  ref: b,
802
802
  class: _({
803
803
  "g-popover": !0,
804
- "g-popover-above": ee.value,
805
- "g-popover-below": !ee.value,
804
+ "g-popover-above": W.value,
805
+ "g-popover-below": !W.value,
806
806
  "g-popover-minimal": e.minimal,
807
- "g-popover-scrollable": K.value
807
+ "g-popover-scrollable": q.value
808
808
  }),
809
809
  role: "dialog",
810
810
  "aria-modal": "true",
@@ -814,12 +814,12 @@ var it = /* @__PURE__ */ u({
814
814
  top: B.value.top + "px",
815
815
  left: B.value.left + "px",
816
816
  zIndex: L(j),
817
- maxHeight: ie.value === null ? void 0 : `${ie.value}px`
817
+ maxHeight: re.value === null ? void 0 : `${re.value}px`
818
818
  })
819
819
  }, [
820
- !ne.value && !e.minimal && !K.value ? (w(), o("div", {
820
+ !te.value && !e.minimal && !q.value ? (w(), o("div", {
821
821
  key: 0,
822
- class: _(["g-popover-arrow", { "g-popover-arrow-above": ee.value }]),
822
+ class: _(["g-popover-arrow", { "g-popover-arrow-above": W.value }]),
823
823
  style: y(U.value),
824
824
  "aria-hidden": "true"
825
825
  }, null, 6)) : a("", !0),
@@ -839,43 +839,43 @@ var it = /* @__PURE__ */ u({
839
839
  fill: "currentColor",
840
840
  d: "m37.84 32.94-7.63-7.63 7.63-7.63a3.24 3.24 0 0 0-4.58-4.58l-7.63 7.63L18 13.1a3.24 3.24 0 0 0-4.58 4.58L21 25.31l-7.62 7.63A3.24 3.24 0 1 0 18 37.52l7.63-7.63 7.63 7.63a3.24 3.24 0 0 0 4.58-4.58Z"
841
841
  })], -1)]]))
842
- ], 14, st)), [[te, p.value]]) : a("", !0)]),
842
+ ], 14, ct)), [[ee, p.value]]) : a("", !0)]),
843
843
  _: 3
844
844
  })], 8, ["disabled"]))]),
845
845
  _: 3
846
846
  })]));
847
847
  }
848
- }), lt = 1;
849
- function ut(e = "v-gtooltip") {
850
- return `${e}-${++lt}`;
848
+ }), ut = 1;
849
+ function dt(e = "v-gtooltip") {
850
+ return `${e}-${++ut}`;
851
851
  }
852
- function dt(e, t = "v-gtooltip") {
852
+ function ft(e, t = "v-gtooltip") {
853
853
  let n = e.getAttribute("aria-describedby");
854
854
  if (n) return n;
855
- let r = ut(t);
855
+ let r = dt(t);
856
856
  return e.setAttribute("aria-describedby", r), r;
857
857
  }
858
- function ft(e, t) {
858
+ function pt(e, t) {
859
859
  let n = document.createElement("div");
860
860
  return n.className = "v-gtooltip", n.textContent = e, n.setAttribute("role", "tooltip"), n.setAttribute("id", t), n;
861
861
  }
862
- function pt(e) {
862
+ function mt(e) {
863
863
  (document.getElementById("modal-root") ?? document.body).appendChild(e);
864
864
  }
865
- function mt(e, t) {
866
- let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), { top: i, left: a, placedAbove: o } = rt(n, r, new DOMRect(0, 0, window.innerWidth, window.innerHeight), {
865
+ function ht(e, t) {
866
+ let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), { top: i, left: a, placedAbove: o } = it(n, r, new DOMRect(0, 0, window.innerWidth, window.innerHeight), {
867
867
  gap: 8,
868
868
  margin: 8,
869
869
  preferAbove: !0
870
870
  }), s = (n.left + n.width / 2 - a) / r.width * 100;
871
- t.style.setProperty("--v-gtooltip-arrow-x", `${s}%`), t.classList.remove("v-gtooltip-bottom"), o || t.classList.add("v-gtooltip-bottom"), t.style.left = `${a}px`, t.style.top = `${i}px`, t.style.zIndex = `${Ye()}`, t.style.visibility = "visible", t.style.opacity = "1";
871
+ t.style.setProperty("--v-gtooltip-arrow-x", `${s}%`), t.classList.remove("v-gtooltip-bottom"), o || t.classList.add("v-gtooltip-bottom"), t.style.left = `${a}px`, t.style.top = `${i}px`, t.style.zIndex = `${Xe()}`, t.style.visibility = "visible", t.style.opacity = "1";
872
872
  }
873
- function ht(e) {
873
+ function gt(e) {
874
874
  e.style.opacity = "0", e.style.visibility = "hidden";
875
875
  }
876
876
  //#endregion
877
877
  //#region src/components/GTooltip.vue
878
- var gt = /* @__PURE__ */ u({
878
+ var _t = /* @__PURE__ */ u({
879
879
  __name: "GTooltip",
880
880
  props: { text: {} },
881
881
  emits: ["tooltip-hide"],
@@ -890,12 +890,12 @@ var gt = /* @__PURE__ */ u({
890
890
  return t instanceof HTMLElement ? t : null;
891
891
  }
892
892
  function S() {
893
- y && (v || (v = l.value ? ut("g-tooltip") : dt(y, "g-tooltip"), l.value && y.setAttribute("aria-describedby", v)), f.value || (f.value = ft(i.text, v), pt(f.value), h = new ResizeObserver(() => {
894
- f.value && (p.value || m.value) && y && mt(y, f.value);
893
+ y && (v || (v = l.value ? dt("g-tooltip") : ft(y, "g-tooltip"), l.value && y.setAttribute("aria-describedby", v)), f.value || (f.value = pt(i.text, v), mt(f.value), h = new ResizeObserver(() => {
894
+ f.value && (p.value || m.value) && y && ht(y, f.value);
895
895
  }), h.observe(f.value)));
896
896
  }
897
897
  function C() {
898
- f.value && (p.value || m.value) && y && mt(y, f.value);
898
+ f.value && (p.value || m.value) && y && ht(y, f.value);
899
899
  }
900
900
  function T() {
901
901
  p.value = !0;
@@ -931,20 +931,20 @@ var gt = /* @__PURE__ */ u({
931
931
  function I(e) {
932
932
  (e.key === "Escape" || e.key === "Esc") && (p.value = !1, m.value = !1);
933
933
  }
934
- return W(() => [
934
+ return G(() => [
935
935
  u.value,
936
936
  d.value,
937
937
  l.value
938
938
  ], () => {
939
939
  A(b()), S();
940
- }, { immediate: !0 }), W(() => i.text, (e) => {
940
+ }, { immediate: !0 }), G(() => i.text, (e) => {
941
941
  f.value && (f.value.textContent = e);
942
- }), W(() => p.value || m.value, (e) => {
942
+ }), G(() => p.value || m.value, (e) => {
943
943
  if (e) {
944
- S(), f.value && y && mt(y, f.value), g ||= (window.addEventListener("scroll", C, { capture: !0 }), !0);
944
+ S(), f.value && y && ht(y, f.value), g ||= (window.addEventListener("scroll", C, { capture: !0 }), !0);
945
945
  return;
946
946
  }
947
- g &&= (window.removeEventListener("scroll", C, { capture: !0 }), !1), f.value && (ht(f.value), _ && clearTimeout(_), _ = window.setTimeout(() => {
947
+ g &&= (window.removeEventListener("scroll", C, { capture: !0 }), !1), f.value && (gt(f.value), _ && clearTimeout(_), _ = window.setTimeout(() => {
948
948
  s("tooltip-hide");
949
949
  }, 150));
950
950
  }), x(() => {
@@ -964,11 +964,11 @@ var gt = /* @__PURE__ */ u({
964
964
  class: "g-tooltip-trigger"
965
965
  }, [k(e.$slots, "trigger")], 512)) : a("", !0)], 512));
966
966
  }
967
- }), _t = ["disabled"], vt = { class: "g-select-btn-legend" }, yt = {
967
+ }), vt = ["disabled"], yt = { class: "g-select-btn-legend" }, bt = {
968
968
  key: 0,
969
969
  class: "g-select-btn-required",
970
970
  "aria-hidden": "true"
971
- }, bt = { class: "g-select-btn-row" }, xt = [
971
+ }, xt = { class: "g-select-btn-row" }, St = [
972
972
  "id",
973
973
  "name",
974
974
  "value",
@@ -976,7 +976,7 @@ var gt = /* @__PURE__ */ u({
976
976
  "disabled",
977
977
  "required",
978
978
  "onChange"
979
- ], St = ["for"], Ct = /* @__PURE__ */ u({
979
+ ], Ct = ["for"], wt = /* @__PURE__ */ u({
980
980
  __name: "GSelectButton",
981
981
  props: /*@__PURE__*/ m({
982
982
  options: {},
@@ -1018,7 +1018,7 @@ var gt = /* @__PURE__ */ u({
1018
1018
  return (t, n) => (w(), o("fieldset", {
1019
1019
  class: _(g.value),
1020
1020
  disabled: i.disabled
1021
- }, [s("legend", vt, [c(N(i.label), 1), i.required ? (w(), o("span", yt, " *")) : a("", !0)]), s("div", { class: _(["g-select-btn-wrapper", { "g-select-btn-has-error": L(m) }]) }, [s("div", bt, [(w(!0), o(e, null, O(h.value, (t, n) => (w(), o(e, { key: t.value }, [s("input", {
1021
+ }, [s("legend", yt, [c(N(i.label), 1), i.required ? (w(), o("span", bt, " *")) : a("", !0)]), s("div", { class: _(["g-select-btn-wrapper", { "g-select-btn-has-error": L(m) }]) }, [s("div", xt, [(w(!0), o(e, null, O(h.value, (t, n) => (w(), o(e, { key: t.value }, [s("input", {
1022
1022
  class: "g-select-btn-radio",
1023
1023
  type: "radio",
1024
1024
  id: `${L(f)}-${t.value}`,
@@ -1028,29 +1028,29 @@ var gt = /* @__PURE__ */ u({
1028
1028
  disabled: i.disabled,
1029
1029
  required: i.required && n === 0,
1030
1030
  onChange: (e) => y(t.value)
1031
- }, null, 40, xt), s("label", {
1031
+ }, null, 40, St), s("label", {
1032
1032
  for: `${L(f)}-${t.value}`,
1033
1033
  class: _(v(t.value === d.value))
1034
- }, N(t.label), 11, St)], 64))), 128))]), l(Me, {
1034
+ }, N(t.label), 11, Ct)], 64))), 128))]), l(Ne, {
1035
1035
  errors: L(p),
1036
1036
  id: "error-message-" + L(f)
1037
- }, null, 8, ["errors", "id"])], 2)], 10, _t));
1037
+ }, null, 8, ["errors", "id"])], 2)], 10, vt));
1038
1038
  }
1039
- }), wt = ["width", "height"], Tt = [
1039
+ }), Tt = ["width", "height"], Et = [
1040
1040
  "cx",
1041
1041
  "cy",
1042
1042
  "r"
1043
- ], Et = [
1043
+ ], Dt = [
1044
1044
  "cx",
1045
1045
  "cy",
1046
1046
  "r",
1047
1047
  "stroke-dasharray",
1048
1048
  "stroke-dashoffset"
1049
- ], Dt = [
1049
+ ], Ot = [
1050
1050
  "cx",
1051
1051
  "cy",
1052
1052
  "r"
1053
- ], Ot = /* @__PURE__ */ u({
1053
+ ], kt = /* @__PURE__ */ u({
1054
1054
  __name: "GProgress",
1055
1055
  props: {
1056
1056
  label: { default: "Loading" },
@@ -1091,7 +1091,7 @@ var gt = /* @__PURE__ */ u({
1091
1091
  r: i.value,
1092
1092
  "stroke-width": 4,
1093
1093
  fill: "none"
1094
- }, null, 8, Tt), n.value ? (w(), o("circle", {
1094
+ }, null, 8, Et), n.value ? (w(), o("circle", {
1095
1095
  key: 0,
1096
1096
  class: "g-progress__value",
1097
1097
  cx: i.value + 2,
@@ -1105,7 +1105,7 @@ var gt = /* @__PURE__ */ u({
1105
1105
  transform: "rotate(-90deg)",
1106
1106
  "transform-origin": "center"
1107
1107
  }
1108
- }, null, 8, Et)) : (w(), o("circle", {
1108
+ }, null, 8, Dt)) : (w(), o("circle", {
1109
1109
  key: 1,
1110
1110
  class: "g-progress__spinner",
1111
1111
  cx: i.value + 2,
@@ -1113,13 +1113,13 @@ var gt = /* @__PURE__ */ u({
1113
1113
  r: i.value,
1114
1114
  "stroke-width": 4,
1115
1115
  fill: "none"
1116
- }, null, 8, Dt))], 10, wt))], 16));
1116
+ }, null, 8, Ot))], 10, Tt))], 16));
1117
1117
  }
1118
- }), kt = [
1118
+ }), At = [
1119
1119
  "id",
1120
1120
  "aria-labelledby",
1121
1121
  "aria-describedby"
1122
- ], At = { class: "g-alertdialog-inner" }, jt = ["id"], Mt = ["id"], Nt = { class: "g-alertdialog-actions" }, Pt = /* @__PURE__ */ u({
1122
+ ], jt = { class: "g-alertdialog-inner" }, Mt = ["id"], Nt = ["id"], Pt = { class: "g-alertdialog-actions" }, Ft = /* @__PURE__ */ u({
1123
1123
  __name: "GAlertDialog",
1124
1124
  props: {
1125
1125
  label: { default: "Confirmation" },
@@ -1128,11 +1128,11 @@ var gt = /* @__PURE__ */ u({
1128
1128
  },
1129
1129
  emits: ["cancel", "confirm"],
1130
1130
  setup(e, { emit: r }) {
1131
- let a = e, o = r, u = D(null), d = D(!0), f = z(), { pop: p, push: m, isTop: h, zIndex: g } = qe(f, !0, !0), { deactivate: _, activate: v } = tt(u, h);
1131
+ let a = e, o = r, u = D(null), d = D(!0), f = z(), { pop: p, push: m, isTop: h, zIndex: g } = Je(f, !0, !0), { deactivate: _, activate: v } = nt(u, h);
1132
1132
  function x() {
1133
1133
  o("cancel");
1134
1134
  }
1135
- return nt([u], h, d, x, p), S(() => {
1135
+ return rt([u], h, d, x, p), S(() => {
1136
1136
  m(), v();
1137
1137
  }), b(() => {
1138
1138
  p(), _();
@@ -1140,7 +1140,7 @@ var gt = /* @__PURE__ */ u({
1140
1140
  name: "g-fade",
1141
1141
  appear: ""
1142
1142
  }, {
1143
- default: G(() => [s("div", {
1143
+ default: K(() => [s("div", {
1144
1144
  id: "alertdialog-" + L(f),
1145
1145
  class: "g-alertdialog",
1146
1146
  role: "alertdialog",
@@ -1150,43 +1150,43 @@ var gt = /* @__PURE__ */ u({
1150
1150
  ref_key: "dialog",
1151
1151
  ref: u,
1152
1152
  style: y({ zIndex: L(g) })
1153
- }, [s("div", At, [
1153
+ }, [s("div", jt, [
1154
1154
  s("h2", {
1155
1155
  id: "alertdialog-label-" + L(f),
1156
1156
  class: "g-alertdialog-label"
1157
- }, N(a.label), 9, jt),
1157
+ }, N(a.label), 9, Mt),
1158
1158
  s("div", {
1159
1159
  id: "alertdialog-description-" + L(f),
1160
1160
  class: "g-alertdialog-content"
1161
- }, [k(e.$slots, "default")], 8, Mt),
1162
- s("div", Nt, [l(Q, {
1161
+ }, [k(e.$slots, "default")], 8, Nt),
1162
+ s("div", Pt, [l(Q, {
1163
1163
  outlined: "",
1164
1164
  onClick: r[0] ||= (e) => o("cancel")
1165
1165
  }, {
1166
- default: G(() => [...r[2] ||= [c("Cancel", -1)]]),
1166
+ default: K(() => [...r[2] ||= [c("Cancel", -1)]]),
1167
1167
  _: 1
1168
1168
  }), l(Q, {
1169
1169
  theme: a.buttonColor,
1170
1170
  onClick: r[1] ||= (e) => o("confirm")
1171
1171
  }, {
1172
- default: G(() => [c(N(a.buttonText), 1)]),
1172
+ default: K(() => [c(N(a.buttonText), 1)]),
1173
1173
  _: 1
1174
1174
  }, 8, ["theme"])])
1175
- ])], 12, kt)]),
1175
+ ])], 12, At)]),
1176
1176
  _: 3
1177
1177
  })]));
1178
1178
  }
1179
1179
  });
1180
1180
  //#endregion
1181
1181
  //#region src/compose/useSelectDropdown.ts
1182
- function Ft(e) {
1182
+ function It(e) {
1183
1183
  return e.map((e) => typeof e == "string" ? {
1184
1184
  label: e,
1185
1185
  value: e
1186
1186
  } : e);
1187
1187
  }
1188
- function It({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a }) {
1189
- let { push: o, pop: s, isTop: c } = qe(i), l = D("below"), u = D(null), d = r(() => {
1188
+ function Lt({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a }) {
1189
+ let { push: o, pop: s, isTop: c } = Je(i), l = D("below"), u = D(null), d = r(() => {
1190
1190
  let e = {};
1191
1191
  return u.value !== null && (e.maxHeight = `${u.value}px`), l.value === "above" ? (e.top = "auto", e.bottom = "100%") : (e.top = "100%", e.bottom = "auto"), e;
1192
1192
  });
@@ -1209,7 +1209,7 @@ function It({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a })
1209
1209
  function h() {
1210
1210
  p && p();
1211
1211
  }
1212
- W(e, (e) => {
1212
+ G(e, (e) => {
1213
1213
  e ? (o(), m(), g(() => f())) : (s(), h(), l.value = "below", u.value = null);
1214
1214
  }), x(() => {
1215
1215
  h();
@@ -1229,11 +1229,11 @@ function It({ open: e, anchorRef: t, listboxRef: n, baseId: i, activeIndex: a })
1229
1229
  }
1230
1230
  //#endregion
1231
1231
  //#region src/components/GSelect.vue?vue&type=script&setup=true&lang.ts
1232
- var Lt = ["id"], Rt = {
1232
+ var Rt = ["id"], zt = {
1233
1233
  key: 0,
1234
1234
  class: "g-select-required",
1235
1235
  "aria-hidden": "true"
1236
- }, zt = { class: "g-select-input-wrap" }, Bt = ["id"], Vt = [
1236
+ }, Bt = { class: "g-select-input-wrap" }, Vt = ["id"], Ht = [
1237
1237
  "value",
1238
1238
  "placeholder",
1239
1239
  "disabled",
@@ -1241,24 +1241,24 @@ var Lt = ["id"], Rt = {
1241
1241
  "aria-expanded",
1242
1242
  "aria-required",
1243
1243
  "aria-activedescendant"
1244
- ], Ht = [
1244
+ ], Ut = [
1245
1245
  "id",
1246
1246
  "aria-controls",
1247
1247
  "aria-expanded",
1248
1248
  "aria-required",
1249
1249
  "aria-activedescendant"
1250
- ], Ut = ["id"], Wt = [
1250
+ ], Wt = ["id"], Gt = [
1251
1251
  "id",
1252
1252
  "aria-selected",
1253
1253
  "onClick"
1254
- ], Gt = { class: "g-select-option-label" }, Kt = {
1254
+ ], Kt = { class: "g-select-option-label" }, qt = {
1255
1255
  key: 0,
1256
1256
  class: "g-select-option-description"
1257
- }, qt = {
1257
+ }, Jt = {
1258
1258
  key: 1,
1259
1259
  "aria-live": "polite",
1260
1260
  class: "g-select-combo-option g-select-option g-select-no-results"
1261
- }, Jt = /* @__PURE__ */ u({
1261
+ }, Yt = /* @__PURE__ */ u({
1262
1262
  __name: "GSelect",
1263
1263
  props: /*@__PURE__*/ m({
1264
1264
  options: {},
@@ -1300,18 +1300,18 @@ var Lt = ["id"], Rt = {
1300
1300
  value: d,
1301
1301
  errors: F(i, "errors"),
1302
1302
  formKey: i.formKey
1303
- }), { menuPlacement: E, menuStyle: A, isTop: j, scrollOptionIntoView: M } = It({
1303
+ }), { menuPlacement: E, menuStyle: A, isTop: j, scrollOptionIntoView: M } = Lt({
1304
1304
  open: y,
1305
1305
  anchorRef: p,
1306
1306
  listboxRef: m,
1307
1307
  baseId: f,
1308
1308
  activeIndex: b
1309
- }), P = r(() => Ft(i.options)), I = D(""), R = r(() => {
1309
+ }), P = r(() => It(i.options)), I = D(""), R = r(() => {
1310
1310
  if (!i.searchable || !y.value || !I.value) return P.value;
1311
1311
  let e = I.value.toLowerCase();
1312
1312
  return P.value.filter((t) => t.label.toLowerCase().includes(e) || i.searchDescription && !!t.description && t.description.toLowerCase().includes(e));
1313
1313
  }), V = r(() => R.value.findIndex((e) => e.value === d.value));
1314
- W(() => d.value, (e) => {
1314
+ G(() => d.value, (e) => {
1315
1315
  let t = R.value.findIndex((t) => t.value === e);
1316
1316
  t !== -1 && (b.value = t);
1317
1317
  });
@@ -1327,7 +1327,7 @@ var Lt = ["id"], Rt = {
1327
1327
  function U() {
1328
1328
  y.value = !1, i.searchable && (I.value = "");
1329
1329
  }
1330
- function ee(e) {
1330
+ function W(e) {
1331
1331
  if (!i.disabled && i.searchable) {
1332
1332
  if (S.value) {
1333
1333
  S.value = !1;
@@ -1336,13 +1336,13 @@ var Lt = ["id"], Rt = {
1336
1336
  H();
1337
1337
  }
1338
1338
  }
1339
- function ne(e) {
1339
+ function te(e) {
1340
1340
  if (!i.searchable) return;
1341
1341
  y.value || H(), I.value = e.target.value;
1342
1342
  let t = R.value.findIndex((e) => e.value === d.value);
1343
1343
  b.value = t === -1 ? 0 : t;
1344
1344
  }
1345
- function G(e) {
1345
+ function K(e) {
1346
1346
  let t = e.relatedTarget;
1347
1347
  if (x.value) {
1348
1348
  x.value = !1;
@@ -1350,16 +1350,16 @@ var Lt = ["id"], Rt = {
1350
1350
  }
1351
1351
  t && m.value && m.value.contains(t) || (i.searchable && (I.value = ""), U());
1352
1352
  }
1353
- function ie(e) {
1353
+ function re(e) {
1354
1354
  let t = R.value[e];
1355
1355
  t && t.value !== d.value && (d.value = t.value, u("change", t.value)), S.value = !0, U(), setTimeout(() => {
1356
1356
  S.value = !1;
1357
1357
  }, 100);
1358
1358
  }
1359
- function q() {
1359
+ function J() {
1360
1360
  i.disabled || (y.value ? U() : H());
1361
1361
  }
1362
- function ae(e) {
1362
+ function ie(e) {
1363
1363
  if (i.disabled) return;
1364
1364
  let t = R.value.length - 1;
1365
1365
  if (!y.value && [
@@ -1385,21 +1385,21 @@ var Lt = ["id"], Rt = {
1385
1385
  e.preventDefault(), b.value = t, M();
1386
1386
  break;
1387
1387
  case "Enter":
1388
- e.preventDefault(), y.value ? ie(b.value) : H();
1388
+ e.preventDefault(), y.value ? re(b.value) : H();
1389
1389
  break;
1390
1390
  case "Escape": j.value && (e.preventDefault(), setTimeout(() => {
1391
1391
  U();
1392
1392
  }, 0));
1393
1393
  }
1394
1394
  }
1395
- function J(e) {
1396
- ie(e);
1395
+ function Y(e) {
1396
+ re(e);
1397
1397
  }
1398
- function oe() {
1398
+ function ae() {
1399
1399
  x.value = !0;
1400
1400
  }
1401
- let se = r(() => i.clearButton && d.value !== null && d.value !== void 0 && !i.disabled);
1402
- function ce() {
1401
+ let oe = r(() => i.clearButton && d.value !== null && d.value !== void 0 && !i.disabled);
1402
+ function se() {
1403
1403
  i.disabled || (d.value = null, u("change", null), i.searchable && (I.value = ""));
1404
1404
  }
1405
1405
  return (n, r) => (w(), o("div", { class: _(["g-select-root g-select-combo", {
@@ -1411,8 +1411,8 @@ var Lt = ["id"], Rt = {
1411
1411
  key: 0,
1412
1412
  id: L(f) + "-label",
1413
1413
  class: "g-select-combo-label g-select-label"
1414
- }, [c(N(i.label), 1), i.required ? (w(), o("span", Rt, " *")) : a("", !0)], 8, Lt)),
1415
- s("div", zt, [i.searchable ? (w(), o("div", {
1414
+ }, [c(N(i.label), 1), i.required ? (w(), o("span", zt, " *")) : a("", !0)], 8, Rt)),
1415
+ s("div", Bt, [i.searchable ? (w(), o("div", {
1416
1416
  key: 0,
1417
1417
  class: "g-select-combo-input g-select-control",
1418
1418
  id: L(f)
@@ -1426,10 +1426,10 @@ var Lt = ["id"], Rt = {
1426
1426
  value: y.value ? I.value : P.value[V.value] ? P.value[V.value].label : "",
1427
1427
  placeholder: y.value ? "" : t.placeholder,
1428
1428
  disabled: i.disabled,
1429
- onFocus: ee,
1430
- onInput: ne,
1431
- onKeydown: ae,
1432
- onBlur: G,
1429
+ onFocus: W,
1430
+ onInput: te,
1431
+ onKeydown: ie,
1432
+ onBlur: K,
1433
1433
  "aria-autocomplete": "list",
1434
1434
  "aria-controls": L(f) + "-listbox",
1435
1435
  "aria-expanded": y.value ? "true" : "false",
@@ -1439,12 +1439,12 @@ var Lt = ["id"], Rt = {
1439
1439
  }, t.hiddenLabel ? { "aria-label": i.label } : { "aria-labelledby": L(f) + "-label" }, {
1440
1440
  role: "combobox",
1441
1441
  autocomplete: "off"
1442
- }), null, 16, Vt),
1443
- se.value ? (w(), o("button", {
1442
+ }), null, 16, Ht),
1443
+ oe.value ? (w(), o("button", {
1444
1444
  key: 0,
1445
1445
  type: "button",
1446
1446
  class: "g-select-clear-btn",
1447
- onClick: ce
1447
+ onClick: se
1448
1448
  }, [...r[0] ||= [s("svg", {
1449
1449
  role: "img",
1450
1450
  "aria-label": "Clear Selection",
@@ -1465,7 +1465,7 @@ var Lt = ["id"], Rt = {
1465
1465
  fill: "currentColor",
1466
1466
  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"
1467
1467
  })], -1)
1468
- ], 8, Bt)) : (w(), o("div", h({
1468
+ ], 8, Vt)) : (w(), o("div", h({
1469
1469
  key: 1,
1470
1470
  ref_key: "comboRef",
1471
1471
  ref: p,
@@ -1479,17 +1479,17 @@ var Lt = ["id"], Rt = {
1479
1479
  }, t.hiddenLabel ? { "aria-label": i.label } : { "aria-labelledby": L(f) + "-label" }, {
1480
1480
  "aria-activedescendant": y.value ? L(f) + "-option-" + b.value : void 0,
1481
1481
  tabindex: "0",
1482
- onClick: q,
1483
- onKeydown: ae,
1484
- onFocus: ee,
1485
- onBlur: G
1482
+ onClick: J,
1483
+ onKeydown: ie,
1484
+ onFocus: W,
1485
+ onBlur: K
1486
1486
  }), [
1487
1487
  c(N(P.value[V.value] ? P.value[V.value].label : "") + " ", 1),
1488
- se.value ? (w(), o("button", {
1488
+ oe.value ? (w(), o("button", {
1489
1489
  key: 0,
1490
1490
  type: "button",
1491
1491
  class: "g-select-clear-btn",
1492
- onClick: K(ce, ["stop"])
1492
+ onClick: q(se, ["stop"])
1493
1493
  }, [...r[2] ||= [s("svg", {
1494
1494
  role: "img",
1495
1495
  "aria-label": "Clear Selection",
@@ -1510,7 +1510,7 @@ var Lt = ["id"], Rt = {
1510
1510
  fill: "currentColor",
1511
1511
  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"
1512
1512
  })], -1)
1513
- ], 16, Ht)), re(s("div", h({
1513
+ ], 16, Ut)), ne(s("div", h({
1514
1514
  ref_key: "listboxRef",
1515
1515
  ref: m,
1516
1516
  class: ["g-select-combo-menu g-select-list", { "g-select-combo-menu--above": L(E) === "above" }],
@@ -1526,40 +1526,40 @@ var Lt = ["id"], Rt = {
1526
1526
  }]),
1527
1527
  role: "option",
1528
1528
  "aria-selected": e.value === d.value ? "true" : "false",
1529
- onMousedown: oe,
1530
- onClick: (e) => J(t)
1529
+ onMousedown: ae,
1530
+ onClick: (e) => Y(t)
1531
1531
  }, [k(n.$slots, "option", {
1532
1532
  option: e,
1533
1533
  selected: e.value === d.value,
1534
1534
  index: t
1535
- }, () => [s("span", Gt, N(e.label), 1), e.description ? (w(), o("span", Kt, N(e.description), 1)) : a("", !0)])], 42, Wt))), 128)) : (w(), o("div", qt, " No results found. "))], 16, Ut), [[te, y.value]])]),
1536
- l(Me, {
1535
+ }, () => [s("span", Kt, N(e.label), 1), e.description ? (w(), o("span", qt, N(e.description), 1)) : a("", !0)])], 42, Gt))), 128)) : (w(), o("div", Jt, " No results found. "))], 16, Wt), [[ee, y.value]])]),
1536
+ l(Ne, {
1537
1537
  errors: L(C),
1538
1538
  id: "error-message-" + L(f)
1539
1539
  }, null, 8, ["errors", "id"])
1540
1540
  ], 2));
1541
1541
  }
1542
- }), Yt = ["aria-label"], Xt = [
1542
+ }), Xt = ["aria-label"], Zt = [
1543
1543
  "placeholder",
1544
1544
  "value",
1545
1545
  "aria-expanded",
1546
1546
  "aria-controls",
1547
1547
  "aria-activedescendant"
1548
- ], Zt = {
1548
+ ], Qt = {
1549
1549
  key: 0,
1550
1550
  class: "g-search-dropdown"
1551
- }, Qt = {
1551
+ }, $t = {
1552
1552
  "aria-live": "polite",
1553
1553
  class: "g-search-result-count"
1554
- }, $t = ["id"], en = ["aria-label"], tn = { class: "g-search-group-label" }, nn = [
1554
+ }, en = ["id"], tn = ["aria-label"], nn = { class: "g-search-group-label" }, rn = [
1555
1555
  "id",
1556
1556
  "onMousedown",
1557
1557
  "aria-selected"
1558
- ], rn = [
1558
+ ], an = [
1559
1559
  "id",
1560
1560
  "onMousedown",
1561
1561
  "aria-selected"
1562
- ], an = /* @__PURE__ */ u({
1562
+ ], on = /* @__PURE__ */ u({
1563
1563
  __name: "GSearch",
1564
1564
  props: /*@__PURE__*/ m({
1565
1565
  results: {},
@@ -1587,7 +1587,7 @@ var Lt = ["id"], Rt = {
1587
1587
  e && e.scrollIntoView({ block: "nearest" });
1588
1588
  });
1589
1589
  }
1590
- let { focused: S } = ce(f);
1590
+ let { focused: S } = se(f);
1591
1591
  function C(e) {
1592
1592
  let t = e.altKey;
1593
1593
  if (e.key === "ArrowDown") {
@@ -1611,10 +1611,10 @@ var Lt = ["id"], Rt = {
1611
1611
  function T(e) {
1612
1612
  d("select", e), l.value = "", m.value = !0, h.value = -1;
1613
1613
  }
1614
- let E = r(() => !!u.loading), A = r(() => S.value && !m.value), j = se(() => {
1614
+ let E = r(() => !!u.loading), A = r(() => S.value && !m.value), j = oe(() => {
1615
1615
  d("submit", l.value);
1616
1616
  }, 300);
1617
- W(() => l.value, (e) => {
1617
+ G(() => l.value, (e) => {
1618
1618
  e ? u.auto && j() : h.value = -1;
1619
1619
  });
1620
1620
  let M = z();
@@ -1624,7 +1624,7 @@ var Lt = ["id"], Rt = {
1624
1624
  "aria-label": u.label
1625
1625
  }, [s("form", {
1626
1626
  class: "g-search-form",
1627
- onSubmit: n[0] ||= K((e) => T(null), ["prevent"])
1627
+ onSubmit: n[0] ||= q((e) => T(null), ["prevent"])
1628
1628
  }, [s("input", {
1629
1629
  ref_key: "inputRef",
1630
1630
  ref: f,
@@ -1640,12 +1640,12 @@ var Lt = ["id"], Rt = {
1640
1640
  "aria-autocomplete": "list",
1641
1641
  "aria-controls": `${L(M)}-list`,
1642
1642
  "aria-activedescendant": h.value >= 0 ? "g-search-option-" + v.value[h.value].id : void 0
1643
- }, null, 40, Xt), s("button", {
1643
+ }, null, 40, Zt), s("button", {
1644
1644
  type: "submit",
1645
1645
  class: "g-search-submit",
1646
1646
  "aria-label": "Submit search",
1647
1647
  onKeydown: C
1648
- }, [E.value ? (w(), i(Ot, {
1648
+ }, [E.value ? (w(), i(kt, {
1649
1649
  key: 0,
1650
1650
  size: "tiny"
1651
1651
  })) : a("", !0), n[1] ||= s("svg", {
@@ -1656,7 +1656,7 @@ var Lt = ["id"], Rt = {
1656
1656
  }, [s("path", {
1657
1657
  fill: "currentColor",
1658
1658
  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"
1659
- })], -1)], 32)], 32), A.value ? (w(), o("div", Zt, [s("div", Qt, [E.value ? a("", !0) : (w(), o(e, { key: 0 }, [c(N(y.value) + " result" + N(y.value === 1 ? "" : "s"), 1)], 64))]), s("div", {
1659
+ })], -1)], 32)], 32), A.value ? (w(), o("div", Qt, [s("div", $t, [E.value ? a("", !0) : (w(), o(e, { key: 0 }, [c(N(y.value) + " result" + N(y.value === 1 ? "" : "s"), 1)], 64))]), s("div", {
1660
1660
  role: "listbox",
1661
1661
  id: `${L(M)}-list`,
1662
1662
  ref_key: "listboxRef",
@@ -1667,46 +1667,46 @@ var Lt = ["id"], Rt = {
1667
1667
  class: "g-search-group",
1668
1668
  role: "group",
1669
1669
  "aria-label": n.label
1670
- }, [k(t.$slots, "group", { group: n }, () => [s("div", tn, N(n.label), 1)]), (w(!0), o(e, null, O(n.items, (e, n) => (w(), o("div", {
1670
+ }, [k(t.$slots, "group", { group: n }, () => [s("div", nn, N(n.label), 1)]), (w(!0), o(e, null, O(n.items, (e, n) => (w(), o("div", {
1671
1671
  key: e.id,
1672
1672
  id: "g-search-option-" + e.id,
1673
1673
  class: _(["g-search-option", { "g-search-option-active": v.value[h.value] && v.value[h.value].id === e.id }]),
1674
1674
  role: "option",
1675
- onMousedown: K((t) => T(e), ["prevent"]),
1675
+ onMousedown: q((t) => T(e), ["prevent"]),
1676
1676
  "aria-selected": v.value[h.value] && v.value[h.value].id === e.id
1677
- }, [k(t.$slots, "option", { option: e }, () => [c(N(e.title), 1)])], 42, nn))), 128))], 8, en))), 128)) : y.value > 0 ? (w(!0), o(e, { key: 1 }, O(v.value, (e, n) => (w(), o("div", {
1677
+ }, [k(t.$slots, "option", { option: e }, () => [c(N(e.title), 1)])], 42, rn))), 128))], 8, tn))), 128)) : y.value > 0 ? (w(!0), o(e, { key: 1 }, O(v.value, (e, n) => (w(), o("div", {
1678
1678
  key: e.id,
1679
1679
  id: "g-search-option-" + e.id,
1680
1680
  class: _(["g-search-option", { "g-search-option-active": h.value === n }]),
1681
1681
  role: "option",
1682
- onMousedown: K((t) => T(e), ["prevent"]),
1682
+ onMousedown: q((t) => T(e), ["prevent"]),
1683
1683
  "aria-selected": h.value === n
1684
- }, [k(t.$slots, "option", { option: e }, () => [c(N(e.title), 1)])], 42, rn))), 128)) : a("", !0)], 8, $t)])) : a("", !0)], 8, Yt));
1684
+ }, [k(t.$slots, "option", { option: e }, () => [c(N(e.title), 1)])], 42, an))), 128)) : a("", !0)], 8, en)])) : a("", !0)], 8, Xt));
1685
1685
  }
1686
1686
  });
1687
1687
  //#endregion
1688
1688
  //#region src/compose/useWebComponentSidebar.ts
1689
- function on(e) {
1689
+ function sn(e) {
1690
1690
  return e.replace(/[^a-zA-Z0-9_-]/g, "-");
1691
1691
  }
1692
- function sn() {
1692
+ function cn() {
1693
1693
  let e = globalThis;
1694
1694
  return e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__ ||= /* @__PURE__ */ new Map(), e.__GRAD_VUE_WC_SIDEBAR_CHANNELS__;
1695
1695
  }
1696
- function cn(e = "default", t) {
1697
- let n = sn(), r = e || "default", i = typeof t == "string" ? t : t?.value, a = i && i.trim() ? i : "(max-width: 800px)";
1696
+ function ln(e = "default", t) {
1697
+ let n = cn(), r = e || "default", i = typeof t == "string" ? t : t?.value, a = i && i.trim() ? i : "(max-width: 800px)";
1698
1698
  if (!n.has(r)) {
1699
- let e = on(r), t = D(a);
1699
+ let e = sn(r), t = D(a);
1700
1700
  n.set(r, {
1701
1701
  id: `g-wc-sidebar-${e}`,
1702
1702
  open: D(!1),
1703
1703
  breakpoint: t,
1704
- isCollapsible: Y(t, { ssrWidth: 1e3 }),
1704
+ isCollapsible: ue(t, { ssrWidth: 1e3 }),
1705
1705
  toggle: () => void 0
1706
1706
  });
1707
1707
  }
1708
1708
  let o = n.get(r);
1709
- o.toggle = () => o.open.value = !o.open.value, typeof t == "string" ? t.trim() && (o.breakpoint.value = t) : t && W(t, (e) => {
1709
+ o.toggle = () => o.open.value = !o.open.value, typeof t == "string" ? t.trim() && (o.breakpoint.value = t) : t && G(t, (e) => {
1710
1710
  e && e.trim() && (o.breakpoint.value = e);
1711
1711
  }, { immediate: !0 });
1712
1712
  function s(e) {
@@ -1724,7 +1724,7 @@ function cn(e = "default", t) {
1724
1724
  }, 5));
1725
1725
  }
1726
1726
  return S(() => {
1727
- W(o.isCollapsible, (e) => {
1727
+ G(o.isCollapsible, (e) => {
1728
1728
  e ? (document.addEventListener("mousedown", s), document.addEventListener("focusin", c)) : (document.removeEventListener("mousedown", s), document.removeEventListener("focusin", c));
1729
1729
  }, { immediate: !0 });
1730
1730
  }), x(() => {
@@ -1733,16 +1733,16 @@ function cn(e = "default", t) {
1733
1733
  }
1734
1734
  //#endregion
1735
1735
  //#region src/components/hamburger/GHamburgerMenuButton.vue?vue&type=script&setup=true&lang.ts
1736
- var ln = [
1736
+ var un = [
1737
1737
  "id",
1738
1738
  "aria-controls",
1739
1739
  "aria-expanded",
1740
1740
  "aria-haspopup",
1741
1741
  "aria-label"
1742
- ], un = {
1742
+ ], dn = {
1743
1743
  key: 0,
1744
1744
  class: "g-hamburger-label"
1745
- }, dn = /* @__PURE__ */ u({
1745
+ }, fn = /* @__PURE__ */ u({
1746
1746
  __name: "GHamburgerMenuButton",
1747
1747
  props: {
1748
1748
  id: {},
@@ -1775,9 +1775,9 @@ var ln = [
1775
1775
  xmlns: "http://www.w3.org/2000/svg",
1776
1776
  viewBox: "0 0 51.26 51.26",
1777
1777
  role: "none"
1778
- }, [s("g", { fill: "currentColor" }, [s("path", { d: "M11.6 16.52h28.06a3.24 3.24 0 1 0 0-6.48H11.6a3.24 3.24 0 0 0 0 6.48ZM39.66 22.07H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48ZM39.66 34.1H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48Z" })])], -1), e.labelVisible ? (w(), o("span", un, N(e.label), 1)) : a("", !0)], 10, ln));
1778
+ }, [s("g", { fill: "currentColor" }, [s("path", { d: "M11.6 16.52h28.06a3.24 3.24 0 1 0 0-6.48H11.6a3.24 3.24 0 0 0 0 6.48ZM39.66 22.07H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48ZM39.66 34.1H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48Z" })])], -1), e.labelVisible ? (w(), o("span", dn, N(e.label), 1)) : a("", !0)], 10, un));
1779
1779
  }
1780
- }), fn = ["id"], pn = /* @__PURE__ */ u({
1780
+ }), pn = ["id"], mn = /* @__PURE__ */ u({
1781
1781
  __name: "GHamburgerMenu",
1782
1782
  props: {
1783
1783
  label: { default: "Main Navigation" },
@@ -1795,8 +1795,8 @@ var ln = [
1795
1795
  },
1796
1796
  emits: ["toggle", "update:modelValue"],
1797
1797
  setup(e, { expose: t, emit: n }) {
1798
- let a = e, o = p("sidebar", void 0) ?? (Z() ? cn(a.sidebarKey, F(a, "mediaQuery")) : void 0), c = n, u = r(() => a.mode === "popover"), d = D(a.modelValue);
1799
- W(F(a, "modelValue"), (e) => {
1798
+ let a = e, o = p("sidebar", void 0) ?? (Z() ? ln(a.sidebarKey, F(a, "mediaQuery")) : void 0), c = n, u = r(() => a.mode === "popover"), d = D(a.modelValue);
1799
+ G(F(a, "modelValue"), (e) => {
1800
1800
  d.value = e;
1801
1801
  });
1802
1802
  let f = H("triggerButtonRef"), m = H("popoverMenuRef");
@@ -1829,12 +1829,12 @@ var ln = [
1829
1829
  }
1830
1830
  let x = z(), S = r(() => `${o?.id ?? x}-hamburger`), C = r(() => u.value ? d.value : !!o?.open?.value), T = r(() => u.value ? `${x}-popover` : o ? `${o.id}-sidebar` : void 0);
1831
1831
  function E() {
1832
- return et($e(m.value));
1832
+ return tt(et(m.value));
1833
1833
  }
1834
1834
  async function O(e) {
1835
1835
  if (e < 0) return !1;
1836
1836
  await g();
1837
- let t = $e(m.value)[e];
1837
+ let t = et(m.value)[e];
1838
1838
  return t ? (t.focus(), !0) : !1;
1839
1839
  }
1840
1840
  function A() {
@@ -1847,13 +1847,13 @@ var ln = [
1847
1847
  focusItem: O,
1848
1848
  focusTrigger: A,
1849
1849
  getFocusedItemIndex: E
1850
- }), (t, n) => u.value ? (w(), i(ct, {
1850
+ }), (t, n) => u.value ? (w(), i(lt, {
1851
1851
  key: 0,
1852
1852
  minimal: "",
1853
1853
  "model-value": d.value,
1854
1854
  "onUpdate:modelValue": h
1855
1855
  }, {
1856
- trigger: G(() => [l(dn, {
1856
+ trigger: K(() => [l(fn, {
1857
1857
  ref_key: "triggerButtonRef",
1858
1858
  ref: f,
1859
1859
  id: S.value,
@@ -1871,14 +1871,14 @@ var ln = [
1871
1871
  "label",
1872
1872
  "label-visible"
1873
1873
  ])]),
1874
- default: G(() => [s("div", {
1874
+ default: K(() => [s("div", {
1875
1875
  id: T.value,
1876
1876
  ref_key: "popoverMenuRef",
1877
1877
  ref: m,
1878
1878
  class: "g-hamburger-popover"
1879
- }, [k(t.$slots, "default")], 8, fn)]),
1879
+ }, [k(t.$slots, "default")], 8, pn)]),
1880
1880
  _: 3
1881
- }, 8, ["model-value"])) : (w(), i(dn, {
1881
+ }, 8, ["model-value"])) : (w(), i(fn, {
1882
1882
  key: 1,
1883
1883
  ref_key: "triggerButtonRef",
1884
1884
  ref: f,
@@ -1899,16 +1899,16 @@ var ln = [
1899
1899
  "collapsible"
1900
1900
  ]));
1901
1901
  }
1902
- }), mn = { class: "g-app-header__brand" }, hn = {
1902
+ }), hn = { class: "g-app-header__brand" }, gn = {
1903
1903
  class: "g-app-header__brand-text",
1904
1904
  href: "/"
1905
- }, gn = {
1905
+ }, _n = {
1906
1906
  key: 0,
1907
1907
  class: "g-app-header__block-i-container"
1908
- }, _n = { class: "g-app-header__title" }, vn = ["aria-label"], yn = ["aria-label"], bn = {
1908
+ }, vn = { class: "g-app-header__title" }, yn = ["aria-label"], bn = ["aria-label"], xn = {
1909
1909
  key: 4,
1910
1910
  class: "g-app-header__app-controls-wrap"
1911
- }, xn = /* @__PURE__ */ u({
1911
+ }, Sn = /* @__PURE__ */ u({
1912
1912
  __name: "GAppHeader",
1913
1913
  props: {
1914
1914
  illinois: {
@@ -1920,15 +1920,15 @@ var ln = [
1920
1920
  navigationMediaQuery: { default: "(max-width: 800px)" }
1921
1921
  },
1922
1922
  setup(e) {
1923
- let t = Y(F(e, "navigationMediaQuery"), { ssrWidth: 1e3 }), n = H("desktopNavigationRef"), r = H("mobileNavigationRef");
1923
+ let t = ue(F(e, "navigationMediaQuery"), { ssrWidth: 1e3 }), n = H("desktopNavigationRef"), r = H("mobileNavigationRef");
1924
1924
  function c() {
1925
- return $e(n.value);
1925
+ return et(n.value);
1926
1926
  }
1927
1927
  function l(e) {
1928
1928
  e < 0 || c()[e]?.focus();
1929
1929
  }
1930
- return W(t, async (e) => {
1931
- let t = e ? et(c()) : r.value?.getFocusedItemIndex() ?? -1;
1930
+ return G(t, async (e) => {
1931
+ let t = e ? tt(c()) : r.value?.getFocusedItemIndex() ?? -1;
1932
1932
  if (t !== -1) {
1933
1933
  if (e) {
1934
1934
  if (t < 0) return;
@@ -1939,8 +1939,8 @@ var ln = [
1939
1939
  }
1940
1940
  }), (c, l) => (w(), o("header", { class: _(["g-app-header", { "g-app-header--no-app-controls": !c.$slots["app-controls"] }]) }, [
1941
1941
  l[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),
1942
- s("div", mn, [k(c.$slots, "left", {}, () => [s("a", hn, N(e.brand), 1)])]),
1943
- e.illinois ? (w(), o("div", gn, [...l[0] ||= [s("svg", {
1942
+ s("div", hn, [k(c.$slots, "left", {}, () => [s("a", gn, N(e.brand), 1)])]),
1943
+ e.illinois ? (w(), o("div", _n, [...l[0] ||= [s("svg", {
1944
1944
  class: "g-app-header__block-i",
1945
1945
  role: "img",
1946
1946
  width: "55",
@@ -1957,14 +1957,14 @@ var ln = [
1957
1957
  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"
1958
1958
  })
1959
1959
  ], -1)]])) : k(c.$slots, "icon", {}, void 0, void 0, 1),
1960
- s("div", _n, [k(c.$slots, "title")]),
1960
+ s("div", vn, [k(c.$slots, "title")]),
1961
1961
  c.$slots.navigation && !L(t) ? (w(), o("nav", {
1962
1962
  key: 2,
1963
1963
  ref_key: "desktopNavigationRef",
1964
1964
  ref: n,
1965
1965
  class: "g-app-header__navigation",
1966
1966
  "aria-label": e.navigationLabel
1967
- }, [k(c.$slots, "navigation")], 8, vn)) : c.$slots.navigation ? (w(), i(pn, {
1967
+ }, [k(c.$slots, "navigation")], 8, yn)) : c.$slots.navigation ? (w(), i(mn, {
1968
1968
  key: 3,
1969
1969
  ref_key: "mobileNavigationRef",
1970
1970
  ref: r,
@@ -1972,20 +1972,20 @@ var ln = [
1972
1972
  label: e.navigationLabel,
1973
1973
  mode: "popover"
1974
1974
  }, {
1975
- default: G(() => [s("nav", {
1975
+ default: K(() => [s("nav", {
1976
1976
  class: "g-app-header__navigation-popover",
1977
1977
  "aria-label": e.navigationLabel
1978
- }, [k(c.$slots, "navigation")], 8, yn)]),
1978
+ }, [k(c.$slots, "navigation")], 8, bn)]),
1979
1979
  _: 3
1980
1980
  }, 8, ["label"])) : a("", !0),
1981
- c.$slots["app-controls"] ? (w(), o("div", bn, [k(c.$slots, "app-controls")])) : a("", !0)
1981
+ c.$slots["app-controls"] ? (w(), o("div", xn, [k(c.$slots, "app-controls")])) : a("", !0)
1982
1982
  ], 2));
1983
1983
  }
1984
1984
  });
1985
1985
  //#endregion
1986
1986
  //#region src/compose/useScrollRestore.ts
1987
- function Sn(e, t) {
1988
- let n = t ? fe(`${t}:scroll`, 0, { writeDefaults: !1 }) : null, r = D(!!(n?.value && n.value > 0)), i = null, a = null, o = null, s = !1;
1987
+ function Cn(e, t) {
1988
+ let n = t ? X(`${t}:scroll`, 0, { writeDefaults: !1 }) : null, r = D(!!(n?.value && n.value > 0)), i = null, a = null, o = null, s = !1;
1989
1989
  function c(e) {
1990
1990
  let t = window.getComputedStyle(e);
1991
1991
  return t.overflowY === "auto" || t.overflowY === "scroll";
@@ -2067,7 +2067,7 @@ function Sn(e, t) {
2067
2067
  }
2068
2068
  //#endregion
2069
2069
  //#region src/components/GSidebar.vue?vue&type=script&setup=true&lang.ts
2070
- var Cn = ["id"], wn = /* @__PURE__ */ u({
2070
+ var wn = ["id"], Tn = /* @__PURE__ */ u({
2071
2071
  __name: "GSidebar",
2072
2072
  props: {
2073
2073
  backgroundColor: { default: "" },
@@ -2081,7 +2081,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2081
2081
  storageKey: {}
2082
2082
  },
2083
2083
  setup(e) {
2084
- let t = e, n = p("sidebar", () => void 0, !0) ?? (Z() ? cn(t.sidebarKey, F(t, "mediaQuery")) : void 0), i = r(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "url('https://gradcdn.blob.core.windows.net/public/sidebar-bg2.jpg')"), a = r(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), s = r(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), c = z(), { isPendingScrollRestore: l } = Sn(H("sidebar-ref"), t.storageKey);
2084
+ let t = e, n = p("sidebar", () => void 0, !0) ?? (Z() ? ln(t.sidebarKey, F(t, "mediaQuery")) : void 0), i = r(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "url('https://gradcdn.blob.core.windows.net/public/sidebar-bg2.jpg')"), a = r(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), s = r(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), c = z(), { isPendingScrollRestore: l } = Cn(H("sidebar-ref"), t.storageKey);
2085
2085
  function u(e) {
2086
2086
  e.key === "Escape" && n?.isCollapsible?.value && n?.open?.value && (n.open.value = !1, document.getElementById(`${n.id}-hamburger`)?.focus());
2087
2087
  }
@@ -2102,13 +2102,13 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2102
2102
  width: "var(--g-sidebar-width)"
2103
2103
  }),
2104
2104
  onKeydown: u
2105
- }, [k(t.$slots, "default")], 46, Cn));
2105
+ }, [k(t.$slots, "default")], 46, wn));
2106
2106
  }
2107
- }), Tn = ["id"], En = { class: "g-sidebar-menu__list" }, Dn = [
2107
+ }), En = ["id"], Dn = { class: "g-sidebar-menu__list" }, On = [
2108
2108
  "href",
2109
2109
  "aria-current",
2110
2110
  "onClick"
2111
- ], On = /* @__PURE__ */ u({
2111
+ ], kn = /* @__PURE__ */ u({
2112
2112
  __name: "GSidebarMenu",
2113
2113
  props: /*@__PURE__*/ m({
2114
2114
  heading: {},
@@ -2134,7 +2134,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2134
2134
  setup(t) {
2135
2135
  let n = t, l = B(t, "modelValue"), u = r(() => n.spy && l.value ? "#" + l.value : null), f = H("content");
2136
2136
  S(() => {
2137
- W(l, () => {
2137
+ G(l, () => {
2138
2138
  g(() => {
2139
2139
  let e = f.value?.querySelector(".g-sidebar-menu__is-active");
2140
2140
  e && e.scrollIntoView({ block: "nearest" });
@@ -2156,13 +2156,13 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2156
2156
  key: 0,
2157
2157
  id: L(y),
2158
2158
  class: "g-sidebar-menu__title"
2159
- }, N(t.heading), 9, Tn)) : a("", !0),
2159
+ }, N(t.heading), 9, En)) : a("", !0),
2160
2160
  l[0] ||= s("div", { class: "g-sidebar-menu__divider" }, null, -1),
2161
2161
  s("div", {
2162
2162
  class: "g-sidebar-menu__content",
2163
2163
  ref_key: "content",
2164
2164
  ref: f
2165
- }, [s("ul", En, [(w(!0), o(e, null, O(t.items, (e) => (w(), o("li", {
2165
+ }, [s("ul", Dn, [(w(!0), o(e, null, O(t.items, (e) => (w(), o("li", {
2166
2166
  key: e.href || e.to,
2167
2167
  class: "g-sidebar-menu__item",
2168
2168
  ref_for: !0,
@@ -2172,7 +2172,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2172
2172
  class: "g-sidebar-menu__link",
2173
2173
  to: e.to
2174
2174
  }, {
2175
- default: G(() => [c(N(e.label), 1)]),
2175
+ default: K(() => [c(N(e.label), 1)]),
2176
2176
  _: 2
2177
2177
  }, 1032, ["to"])) : (w(), o("a", {
2178
2178
  key: 1,
@@ -2180,24 +2180,24 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2180
2180
  href: e.href || e.to || "#",
2181
2181
  "aria-current": u.value === (e.href || "") ? "location" : void 0,
2182
2182
  onClick: (t) => v(t, e)
2183
- }, N(e.label), 11, Dn))]))), 128))])], 512)
2183
+ }, N(e.label), 11, On))]))), 128))])], 512)
2184
2184
  ], 16));
2185
2185
  }
2186
- }), kn = {
2186
+ }), An = {
2187
2187
  mounted(e, t) {
2188
- let n = D(null), r = D(!1), i = D(!1), a = D(t.value), o = null, s = !1, c = dt(e), l = () => {
2189
- n.value || (n.value = ft(a.value, c), pt(n.value), o = new ResizeObserver(() => {
2190
- n.value && (r.value || i.value) && mt(e, n.value);
2188
+ let n = D(null), r = D(!1), i = D(!1), a = D(t.value), o = null, s = !1, c = ft(e), l = () => {
2189
+ n.value || (n.value = pt(a.value, c), mt(n.value), o = new ResizeObserver(() => {
2190
+ n.value && (r.value || i.value) && ht(e, n.value);
2191
2191
  }), o.observe(n.value));
2192
2192
  };
2193
- ne(() => {
2193
+ te(() => {
2194
2194
  n.value && (n.value.textContent = a.value);
2195
2195
  });
2196
2196
  let u = () => {
2197
- n.value && (r.value || i.value) && mt(e, n.value);
2197
+ n.value && (r.value || i.value) && ht(e, n.value);
2198
2198
  };
2199
- ne(() => {
2200
- r.value || i.value ? (l(), n.value && mt(e, n.value), s ||= (window.addEventListener("scroll", u, { capture: !0 }), !0)) : (s &&= (window.removeEventListener("scroll", u, { capture: !0 }), !1), n.value && (ht(n.value), setTimeout(() => {
2199
+ te(() => {
2200
+ r.value || i.value ? (l(), n.value && ht(e, n.value), s ||= (window.addEventListener("scroll", u, { capture: !0 }), !0)) : (s &&= (window.removeEventListener("scroll", u, { capture: !0 }), !1), n.value && (gt(n.value), setTimeout(() => {
2201
2201
  e.dispatchEvent(new CustomEvent("tooltip-hide"));
2202
2202
  }, 150)));
2203
2203
  });
@@ -2235,7 +2235,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2235
2235
  let t = e._v_gtooltip;
2236
2236
  t && t.tooltip && t.tooltip.value && (t.resizeObserver && t.resizeObserver.disconnect(), t.tooltip.value.remove(), t.tooltip.value = null), t && t.onScroll && window.removeEventListener("scroll", t.onScroll, { capture: !0 }), e.removeEventListener("mouseenter", t.onMouseEnter), e.removeEventListener("mouseleave", t.onMouseLeave), e.removeEventListener("focus", t.onFocus), e.removeEventListener("blur", t.onBlur), e.removeEventListener("keydown", t.onKeyDown), e.removeAttribute("aria-describedby");
2237
2237
  }
2238
- }, An = { class: "g-clipboard-text" }, jn = /* @__PURE__ */ u({
2238
+ }, jn = { class: "g-clipboard-text" }, Mn = /* @__PURE__ */ u({
2239
2239
  __name: "GClipboard",
2240
2240
  props: {
2241
2241
  text: {},
@@ -2243,12 +2243,12 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2243
2243
  copyLabel: {}
2244
2244
  },
2245
2245
  setup(t) {
2246
- let n = t, r = kn, { text: i, copy: l, copied: u, isSupported: d } = oe({ source: n.text }), f = D(n.copyLabel ?? "Copy to clipboard"), p = () => {
2246
+ let n = t, r = An, { text: i, copy: l, copied: u, isSupported: d } = ae({ source: n.text }), f = D(n.copyLabel ?? "Copy to clipboard"), p = () => {
2247
2247
  d.value ? (l(), f.value = "Copied") : f.value = "Copy not supported";
2248
2248
  }, m = () => {
2249
2249
  f.value = n.copyLabel ?? "Copy to clipboard";
2250
2250
  };
2251
- return (i, l) => (w(), o("div", An, [t.hideText ? a("", !0) : (w(), o(e, { key: 0 }, [c(N(n.text), 1)], 64)), re((w(), o("button", {
2251
+ return (i, l) => (w(), o("div", jn, [t.hideText ? a("", !0) : (w(), o(e, { key: 0 }, [c(N(n.text), 1)], 64)), ne((w(), o("button", {
2252
2252
  type: "button",
2253
2253
  "aria-label": "Copy",
2254
2254
  onClick: p,
@@ -2265,15 +2265,15 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2265
2265
  d: "M480 400L288 400C279.2 400 272 392.8 272 384L272 128C272 119.2 279.2 112 288 112L421.5 112C425.7 112 429.8 113.7 432.8 116.7L491.3 175.2C494.3 178.2 496 182.3 496 186.5L496 384C496 392.8 488.8 400 480 400zM288 448L480 448C515.3 448 544 419.3 544 384L544 186.5C544 169.5 537.3 153.2 525.3 141.2L466.7 82.7C454.7 70.7 438.5 64 421.5 64L288 64C252.7 64 224 92.7 224 128L224 384C224 419.3 252.7 448 288 448zM160 192C124.7 192 96 220.7 96 256L96 512C96 547.3 124.7 576 160 576L352 576C387.3 576 416 547.3 416 512L416 496L368 496L368 512C368 520.8 360.8 528 352 528L160 528C151.2 528 144 520.8 144 512L144 256C144 247.2 151.2 240 160 240L176 240L176 192L160 192z"
2266
2266
  })], -1)]], 32)), [[L(r), f.value]])]));
2267
2267
  }
2268
- }), Mn = { class: "g-history-scroller-wrapper" }, Nn = {
2268
+ }), Nn = { class: "g-history-scroller-wrapper" }, Pn = {
2269
2269
  key: 0,
2270
2270
  class: "g-history-shadow g-history-shadow--top",
2271
2271
  "aria-hidden": "true"
2272
- }, Pn = {
2272
+ }, Fn = {
2273
2273
  key: 1,
2274
2274
  class: "g-history-shadow g-history-shadow--bottom",
2275
2275
  "aria-hidden": "true"
2276
- }, Fn = ["role", "aria-label"], In = /* @__PURE__ */ u({
2276
+ }, In = ["role", "aria-label"], Ln = /* @__PURE__ */ u({
2277
2277
  __name: "GHistoryScroller",
2278
2278
  props: {
2279
2279
  label: {},
@@ -2297,17 +2297,17 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2297
2297
  }
2298
2298
  S(() => {
2299
2299
  g(f);
2300
- }), de(i, () => {
2300
+ }), fe(i, () => {
2301
2301
  u.value && f();
2302
- }), de(c, () => {
2302
+ }), fe(c, () => {
2303
2303
  u.value && f();
2304
- }), W(() => n.entries, async () => {
2304
+ }), G(() => n.entries, async () => {
2305
2305
  u.value && (await g(), f());
2306
2306
  });
2307
2307
  let m = r(() => [...n.entries].reverse());
2308
- return (n, r) => (w(), o("div", Mn, [
2309
- d.value ? a("", !0) : (w(), o("div", Nn)),
2310
- u.value ? a("", !0) : (w(), o("div", Pn)),
2308
+ return (n, r) => (w(), o("div", Nn, [
2309
+ d.value ? a("", !0) : (w(), o("div", Pn)),
2310
+ u.value ? a("", !0) : (w(), o("div", Fn)),
2311
2311
  s("div", {
2312
2312
  ref_key: "scrollerRef",
2313
2313
  ref: i,
@@ -2322,7 +2322,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2322
2322
  onClick: r[0] ||= () => f({ focusLast: !0 }),
2323
2323
  "aria-label": "Jump to Latest"
2324
2324
  }, {
2325
- default: G(() => [...r[1] ||= [s("svg", {
2325
+ default: K(() => [...r[1] ||= [s("svg", {
2326
2326
  "aria-hidden": "true",
2327
2327
  xmlns: "http://www.w3.org/2000/svg",
2328
2328
  viewBox: "0 0 640 640",
@@ -2342,31 +2342,31 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2342
2342
  key: e.id,
2343
2343
  class: "g-history-entry",
2344
2344
  tabindex: "-1"
2345
- }, [k(n.$slots, "default", { entry: e })]))), 128))], 512)], 40, Fn)
2345
+ }, [k(n.$slots, "default", { entry: e })]))), 128))], 512)], 40, In)
2346
2346
  ]));
2347
2347
  }
2348
- }), Ln = { class: "g-three-way-toggle-wrapper" }, Rn = { class: "g-three-way-toggle-control" }, zn = ["id"], Bn = [
2348
+ }), Rn = { class: "g-three-way-toggle-wrapper" }, zn = { class: "g-three-way-toggle-control" }, Bn = ["id"], Vn = [
2349
2349
  "aria-labelledby",
2350
2350
  "aria-describedby",
2351
2351
  "disabled",
2352
2352
  "aria-invalid",
2353
2353
  "aria-errormessage"
2354
- ], Vn = { key: 0 }, Hn = { key: 1 }, Un = { key: 2 }, Wn = ["for"], Gn = [
2354
+ ], Hn = { key: 0 }, Un = { key: 1 }, Wn = { key: 2 }, Gn = ["for"], Kn = [
2355
2355
  "id",
2356
2356
  "name",
2357
2357
  "checked",
2358
2358
  "disabled"
2359
- ], Kn = ["for"], qn = [
2359
+ ], qn = ["for"], Jn = [
2360
2360
  "id",
2361
2361
  "name",
2362
2362
  "checked",
2363
2363
  "disabled"
2364
- ], Jn = ["for"], Yn = [
2364
+ ], Yn = ["for"], Xn = [
2365
2365
  "id",
2366
2366
  "name",
2367
2367
  "checked",
2368
2368
  "disabled"
2369
- ], Xn = ["id"], Zn = /* @__PURE__ */ u({
2369
+ ], Zn = ["id"], Qn = /* @__PURE__ */ u({
2370
2370
  __name: "GThreeWayToggle",
2371
2371
  props: /*@__PURE__*/ m({
2372
2372
  label: {},
@@ -2400,10 +2400,10 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2400
2400
  function b(e) {
2401
2401
  n.disabled || (e.key === "n" || e.key === "N" ? (u(!1), e.preventDefault()) : (e.key === "y" || e.key === "Y") && (u(!0), e.preventDefault()));
2402
2402
  }
2403
- return (t, n) => (w(), o("div", Ln, [s("div", Rn, [s("span", {
2403
+ return (t, n) => (w(), o("div", Rn, [s("div", zn, [s("span", {
2404
2404
  class: "g-label",
2405
2405
  id: L(p)
2406
- }, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])], 8, zn), s("fieldset", {
2406
+ }, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])], 8, Bn), s("fieldset", {
2407
2407
  class: _(["g-three-way-toggle", { "g-has-error": e.error }]),
2408
2408
  role: "radiogroup",
2409
2409
  "aria-labelledby": L(p),
@@ -2415,7 +2415,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2415
2415
  s("span", {
2416
2416
  class: _(["g-toggle-thumb", y.value]),
2417
2417
  "aria-hidden": "true"
2418
- }, [i.value === !1 ? (w(), o("span", Vn, "NO")) : i.value === !0 ? (w(), o("span", Hn, "YES")) : (w(), o("span", Un))], 2),
2418
+ }, [i.value === !1 ? (w(), o("span", Hn, "NO")) : i.value === !0 ? (w(), o("span", Un, "YES")) : (w(), o("span", Wn))], 2),
2419
2419
  s("label", {
2420
2420
  for: L(h),
2421
2421
  class: "g-toggle-option g-left",
@@ -2429,7 +2429,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2429
2429
  value: "false",
2430
2430
  disabled: e.disabled,
2431
2431
  onChange: n[0] ||= (e) => d(!1)
2432
- }, null, 40, Gn), n[5] ||= s("span", { class: "ilw-sr-only" }, "No", -1)], 40, Wn),
2432
+ }, null, 40, Kn), n[5] ||= s("span", { class: "ilw-sr-only" }, "No", -1)], 40, Gn),
2433
2433
  s("label", {
2434
2434
  for: L(g),
2435
2435
  class: "g-toggle-option g-center",
@@ -2441,7 +2441,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2441
2441
  checked: i.value === null,
2442
2442
  disabled: e.disabled,
2443
2443
  onChange: n[2] ||= (e) => d(null)
2444
- }, null, 40, qn), n[6] ||= s("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, Kn),
2444
+ }, null, 40, Jn), n[6] ||= s("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, qn),
2445
2445
  s("label", {
2446
2446
  for: L(v),
2447
2447
  class: "g-toggle-option g-right",
@@ -2455,54 +2455,54 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2455
2455
  checked: i.value === !0,
2456
2456
  disabled: e.disabled,
2457
2457
  onChange: n[3] ||= (e) => d(!0)
2458
- }, null, 40, Yn), n[7] ||= s("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, Jn)
2459
- ], 2)], 10, Bn)]), e.error ? (w(), o("div", {
2458
+ }, null, 40, Xn), n[7] ||= s("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, Yn)
2459
+ ], 2)], 10, Vn)]), e.error ? (w(), o("div", {
2460
2460
  key: 0,
2461
2461
  id: `${L(p)}-error`,
2462
2462
  class: "g-form-error",
2463
2463
  role: "alert",
2464
2464
  "aria-atomic": "true"
2465
- }, N(e.error), 9, Xn)) : a("", !0)]));
2465
+ }, N(e.error), 9, Zn)) : a("", !0)]));
2466
2466
  }
2467
- }), Qn = {
2467
+ }), $n = {
2468
2468
  ref: "tableBodyRef",
2469
2469
  class: "efficient-table-body"
2470
- }, $n = ["aria-rowindex"], er = {
2470
+ }, er = ["aria-rowindex"], tr = {
2471
2471
  key: 0,
2472
2472
  class: "table-group-checkbox"
2473
- }, tr = ["colspan"], nr = [
2473
+ }, nr = ["colspan"], rr = [
2474
2474
  "aria-rowindex",
2475
2475
  "onMousedown",
2476
2476
  "onClick"
2477
- ], rr = [
2477
+ ], ir = [
2478
2478
  "checked",
2479
2479
  "onClick",
2480
2480
  "aria-label",
2481
2481
  "name"
2482
- ], ir = ["id"], ar = {
2482
+ ], ar = ["id"], or = {
2483
2483
  key: 0,
2484
2484
  class: "editable-cell"
2485
- }, or = {
2485
+ }, sr = {
2486
2486
  key: 0,
2487
2487
  class: "cell-prefix"
2488
- }, sr = [
2488
+ }, cr = [
2489
2489
  "value",
2490
2490
  "onChange",
2491
2491
  "aria-labelledby",
2492
2492
  "aria-invalid",
2493
2493
  "aria-errormessage",
2494
2494
  "name"
2495
- ], cr = ["value"], lr = [
2495
+ ], lr = ["value"], ur = [
2496
2496
  "value",
2497
2497
  "onInput",
2498
2498
  "aria-labelledby",
2499
2499
  "aria-invalid",
2500
2500
  "aria-errormessage",
2501
2501
  "name"
2502
- ], ur = {
2502
+ ], dr = {
2503
2503
  key: 3,
2504
2504
  class: "cell-suffix"
2505
- }, dr = ["id"], fr = /* @__PURE__ */ u({
2505
+ }, fr = ["id"], pr = /* @__PURE__ */ u({
2506
2506
  __name: "GTableBody",
2507
2507
  props: {
2508
2508
  data: {},
@@ -2571,13 +2571,13 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2571
2571
  function T(e, t) {
2572
2572
  if (l.changeTracker) return l.changeTracker.getError(e.key, t.key);
2573
2573
  }
2574
- return (n, r) => (w(), o("tbody", Qn, [(w(!0), o(e, null, O(t.data, (n, l) => (w(), o(e, { key: n.key }, [t.groupBy && (l === 0 || n[t.groupBy] !== t.data[l - 1][t.groupBy]) ? (w(), o("tr", {
2574
+ return (n, r) => (w(), o("tbody", $n, [(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", {
2575
2575
  key: 0,
2576
2576
  "aria-rowindex": t.startIndex + l + 2
2577
- }, [t.bulkSelectionEnabled ? (w(), o("td", er)) : a("", !0), s("td", {
2577
+ }, [t.bulkSelectionEnabled ? (w(), o("td", tr)) : a("", !0), s("td", {
2578
2578
  colspan: b.value,
2579
2579
  class: "table-group-row"
2580
- }, [t.groupRender ? (w(), i(A(t.groupRender(n[t.groupBy], n)), { key: 0 })) : (w(), o(e, { key: 1 }, [c(N(n[t.groupBy]), 1)], 64))], 8, tr)], 8, $n)) : a("", !0), s("tr", {
2580
+ }, [t.groupRender ? (w(), i(A(t.groupRender(n[t.groupBy], n)), { key: 0 })) : (w(), o(e, { key: 1 }, [c(N(n[t.groupBy]), 1)], 64))], 8, nr)], 8, er)) : a("", !0), s("tr", {
2581
2581
  class: _([
2582
2582
  "efficient-table-row",
2583
2583
  {
@@ -2592,7 +2592,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2592
2592
  }, [t.bulkSelectionEnabled ? (w(), o("td", {
2593
2593
  key: 0,
2594
2594
  class: "td-checkbox",
2595
- onClick: r[0] ||= K(() => {}, ["stop"])
2595
+ onClick: r[0] ||= q(() => {}, ["stop"])
2596
2596
  }, [s("input", {
2597
2597
  type: "checkbox",
2598
2598
  checked: p(n.key),
@@ -2600,7 +2600,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2600
2600
  "aria-label": `Select row ${n.key}`,
2601
2601
  name: `row-${n.key}-checkbox`,
2602
2602
  class: "g-bulk-select-checkbox"
2603
- }, null, 8, rr)])) : a("", !0), (w(!0), o(e, null, O(t.columns, (r) => (w(), o("td", {
2603
+ }, null, 8, ir)])) : a("", !0), (w(!0), o(e, null, O(t.columns, (r) => (w(), o("td", {
2604
2604
  key: r.key,
2605
2605
  id: x(r) ? `${t.tableId}-td-${n.key}-${String(r.key)}` : void 0,
2606
2606
  class: _([
@@ -2609,8 +2609,8 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2609
2609
  C(n, r) ? "g-cell-error" : "",
2610
2610
  typeof r.tdClass == "function" ? r.tdClass(n) : r.tdClass
2611
2611
  ])
2612
- }, [r.editable ? (w(), o("div", ar, [
2613
- r.editable.prefix ? (w(), o("span", or, N(r.editable.prefix), 1)) : a("", !0),
2612
+ }, [r.editable ? (w(), o("div", or, [
2613
+ r.editable.prefix ? (w(), o("span", sr, N(r.editable.prefix), 1)) : a("", !0),
2614
2614
  r.editable.type === "select" ? (w(), o("select", {
2615
2615
  key: 1,
2616
2616
  value: n[r.key],
@@ -2623,7 +2623,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2623
2623
  }, [(w(!0), o(e, null, O(r.editable.options, (e) => (w(), o("option", {
2624
2624
  key: e.value,
2625
2625
  value: e.value
2626
- }, N(e.label), 9, cr))), 128))], 40, sr)) : (w(), o("input", h({
2626
+ }, N(e.label), 9, lr))), 128))], 40, cr)) : (w(), o("input", h({
2627
2627
  key: 2,
2628
2628
  value: n[r.key]
2629
2629
  }, { ref_for: !0 }, r.editable.inputAttributes, {
@@ -2637,24 +2637,24 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2637
2637
  paddingLeft: r.editable.prefix ? "1.5rem" : void 0,
2638
2638
  paddingRight: r.editable.suffix ? "2rem" : void 0
2639
2639
  }
2640
- }), null, 16, lr)),
2641
- r.editable.suffix ? (w(), o("span", ur, N(r.editable.suffix), 1)) : a("", !0)
2640
+ }), null, 16, ur)),
2641
+ r.editable.suffix ? (w(), o("span", dr, N(r.editable.suffix), 1)) : a("", !0)
2642
2642
  ])) : r.display ? (w(), i(A(r.display(n)), { key: 1 })) : (w(), o(e, { key: 2 }, [c(N(n[r.key]), 1)], 64)), C(n, r) ? (w(), o("div", {
2643
2643
  key: 3,
2644
2644
  role: "alert",
2645
2645
  class: "g-cell-error-message",
2646
2646
  id: `${t.tableId}-error-${n.key}-${String(r.key)}`
2647
- }, N(T(n, r)), 9, dr)) : a("", !0)], 10, ir))), 128))], 42, nr)], 64))), 128))], 512));
2647
+ }, N(T(n, r)), 9, fr)) : a("", !0)], 10, ar))), 128))], 42, rr)], 64))), 128))], 512));
2648
2648
  }
2649
- }), pr = ["id", "for"], mr = {
2649
+ }), mr = ["id", "for"], hr = {
2650
2650
  key: 0,
2651
2651
  class: "g-multiselect-required",
2652
2652
  "aria-hidden": "true"
2653
- }, hr = ["id"], gr = ["aria-labelledby"], _r = { class: "g-multiselect-chip-label" }, vr = [
2653
+ }, gr = ["id"], _r = ["aria-labelledby"], vr = { class: "g-multiselect-chip-label" }, yr = [
2654
2654
  "aria-label",
2655
2655
  "disabled",
2656
2656
  "onClick"
2657
- ], yr = [
2657
+ ], br = [
2658
2658
  "id",
2659
2659
  "value",
2660
2660
  "placeholder",
@@ -2664,26 +2664,26 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2664
2664
  "aria-activedescendant",
2665
2665
  "aria-describedby",
2666
2666
  "aria-required"
2667
- ], br = ["id"], xr = [
2667
+ ], xr = ["id"], Sr = [
2668
2668
  "id",
2669
2669
  "aria-selected",
2670
2670
  "onClick"
2671
- ], Sr = {
2671
+ ], Cr = {
2672
2672
  class: "g-multiselect-option-check",
2673
2673
  "aria-hidden": "true"
2674
- }, Cr = {
2674
+ }, wr = {
2675
2675
  key: 0,
2676
2676
  xmlns: "http://www.w3.org/2000/svg",
2677
2677
  viewBox: "0 0 640 640",
2678
2678
  width: "1.25em"
2679
- }, wr = { class: "g-multiselect-option-text" }, Tr = { class: "g-multiselect-option-label" }, Er = {
2679
+ }, Tr = { class: "g-multiselect-option-text" }, Er = { class: "g-multiselect-option-label" }, Dr = {
2680
2680
  key: 0,
2681
2681
  class: "g-multiselect-option-description"
2682
- }, Dr = {
2682
+ }, Or = {
2683
2683
  key: 1,
2684
2684
  "aria-live": "polite",
2685
2685
  class: "g-multiselect-option g-multiselect-no-results"
2686
- }, Or = /* @__PURE__ */ u({
2686
+ }, kr = /* @__PURE__ */ u({
2687
2687
  __name: "GMultiSelect",
2688
2688
  props: /*@__PURE__*/ m({
2689
2689
  options: {},
@@ -2720,13 +2720,13 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2720
2720
  value: d,
2721
2721
  errors: F(i, "errors"),
2722
2722
  formKey: i.formKey
2723
- }), { menuPlacement: E, menuStyle: k, isTop: A, scrollOptionIntoView: j } = It({
2723
+ }), { menuPlacement: E, menuStyle: k, isTop: A, scrollOptionIntoView: j } = Lt({
2724
2724
  open: y,
2725
2725
  anchorRef: m,
2726
2726
  listboxRef: v,
2727
2727
  baseId: f,
2728
2728
  activeIndex: b
2729
- }), M = r(() => Ft(i.options)), P = r(() => {
2729
+ }), M = r(() => It(i.options)), P = r(() => {
2730
2730
  if (!x.value) return M.value;
2731
2731
  let e = x.value.toLowerCase();
2732
2732
  return M.value.filter((t) => t.label.toLowerCase().includes(e) || i.searchDescription && !!t.description && t.description.toLowerCase().includes(e));
@@ -2750,21 +2750,21 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2750
2750
  let n = d.value, r = I(t.value) ? n.filter((e) => e !== t.value) : [...n, t.value];
2751
2751
  d.value = r, u("change", r), g(() => p.value?.focus());
2752
2752
  }
2753
- function ee(e) {
2753
+ function W(e) {
2754
2754
  if (i.disabled) return;
2755
2755
  let t = d.value.filter((t) => t !== e);
2756
2756
  d.value = t, u("change", t);
2757
2757
  }
2758
- function W() {
2758
+ function G() {
2759
2759
  i.disabled || (p.value?.focus(), y.value || V());
2760
2760
  }
2761
- function ne(e) {
2761
+ function te(e) {
2762
2762
  x.value = e.target.value, b.value = 0, y.value || V();
2763
2763
  }
2764
- function G() {
2764
+ function K() {
2765
2765
  i.disabled || y.value || V();
2766
2766
  }
2767
- function ie(e) {
2767
+ function re(e) {
2768
2768
  if (S.value) {
2769
2769
  S.value = !1;
2770
2770
  return;
@@ -2772,13 +2772,13 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2772
2772
  let t = e.relatedTarget;
2773
2773
  t && v.value?.contains(t) || t && m.value?.contains(t) || H();
2774
2774
  }
2775
- function q(e) {
2775
+ function J(e) {
2776
2776
  e.preventDefault();
2777
2777
  }
2778
- function ae() {
2778
+ function ie() {
2779
2779
  S.value = !0;
2780
2780
  }
2781
- function J(e) {
2781
+ function Y(e) {
2782
2782
  if (i.disabled) return;
2783
2783
  let t = P.value.length - 1;
2784
2784
  switch (e.key) {
@@ -2803,12 +2803,12 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2803
2803
  case "Escape":
2804
2804
  A.value && (e.preventDefault(), setTimeout(() => H(), 0));
2805
2805
  break;
2806
- case "Backspace": !x.value && d.value.length > 0 && ee(d.value[d.value.length - 1]);
2806
+ case "Backspace": !x.value && d.value.length > 0 && W(d.value[d.value.length - 1]);
2807
2807
  }
2808
2808
  }
2809
- let oe = r(() => `${f}-input`), se = r(() => `${f}-label`), ce = r(() => `${f}-instructions`), le = r(() => `error-message-${f}`), Y = r(() => {
2809
+ let ae = r(() => `${f}-input`), oe = r(() => `${f}-label`), se = r(() => `${f}-instructions`), ce = r(() => `error-message-${f}`), le = r(() => {
2810
2810
  let e = [];
2811
- return i.instructions && e.push(ce.value), T.value && e.push(le.value), e.length > 0 ? e.join(" ") : void 0;
2811
+ return i.instructions && e.push(se.value), T.value && e.push(ce.value), e.length > 0 ? e.join(" ") : void 0;
2812
2812
  });
2813
2813
  return (n, r) => (w(), o("div", { class: _(["g-multiselect-root", {
2814
2814
  "g-multiselect-open": y.value,
@@ -2816,35 +2816,35 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2816
2816
  }]) }, [
2817
2817
  t.hiddenLabel ? a("", !0) : (w(), o("label", {
2818
2818
  key: 0,
2819
- id: se.value,
2820
- for: oe.value,
2819
+ id: oe.value,
2820
+ for: ae.value,
2821
2821
  class: "g-multiselect-label"
2822
- }, [c(N(t.label), 1), t.required ? (w(), o("span", mr, " *")) : a("", !0)], 8, pr)),
2822
+ }, [c(N(t.label), 1), t.required ? (w(), o("span", hr, " *")) : a("", !0)], 8, mr)),
2823
2823
  t.instructions ? (w(), o("div", {
2824
2824
  key: 1,
2825
- id: ce.value,
2825
+ id: se.value,
2826
2826
  class: "g-multiselect-instructions"
2827
- }, N(t.instructions), 9, hr)) : a("", !0),
2827
+ }, N(t.instructions), 9, gr)) : a("", !0),
2828
2828
  s("div", {
2829
2829
  ref_key: "controlRef",
2830
2830
  ref: m,
2831
2831
  class: _(["g-multiselect-control", { "g-multiselect-control--disabled": t.disabled }]),
2832
- onClick: W
2832
+ onClick: G
2833
2833
  }, [
2834
2834
  d.value.length ? (w(), o("ul", {
2835
2835
  key: 0,
2836
2836
  class: "g-multiselect-chips",
2837
- "aria-labelledby": se.value
2837
+ "aria-labelledby": oe.value
2838
2838
  }, [(w(!0), o(e, null, O(d.value, (e) => (w(), o("li", {
2839
2839
  key: e,
2840
2840
  class: "g-multiselect-chip"
2841
- }, [s("span", _r, N(R(e)), 1), s("button", {
2841
+ }, [s("span", vr, N(R(e)), 1), s("button", {
2842
2842
  type: "button",
2843
2843
  class: "g-multiselect-chip-remove",
2844
2844
  "aria-label": `Remove ${R(e)}`,
2845
2845
  disabled: t.disabled,
2846
- onMousedown: ae,
2847
- onClick: K((t) => ee(e), ["stop"])
2846
+ onMousedown: ie,
2847
+ onClick: q((t) => W(e), ["stop"])
2848
2848
  }, [...r[0] ||= [s("svg", {
2849
2849
  xmlns: "http://www.w3.org/2000/svg",
2850
2850
  viewBox: "0 0 51.26 51.26",
@@ -2853,14 +2853,14 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2853
2853
  }, [s("path", {
2854
2854
  fill: "currentColor",
2855
2855
  d: "m37.84 32.94-7.63-7.63 7.63-7.63a3.24 3.24 0 0 0-4.58-4.58l-7.63 7.63L18 13.1a3.24 3.24 0 0 0-4.58 4.58L21 25.31l-7.62 7.63A3.24 3.24 0 1 0 18 37.52l7.63-7.63 7.63 7.63a3.24 3.24 0 0 0 4.58-4.58Z"
2856
- })], -1)]], 40, vr)]))), 128))], 8, gr)) : a("", !0),
2856
+ })], -1)]], 40, yr)]))), 128))], 8, _r)) : a("", !0),
2857
2857
  s("input", h({
2858
2858
  ref_key: "inputRef",
2859
2859
  ref: p,
2860
2860
  type: "text",
2861
2861
  role: "combobox",
2862
2862
  class: "g-multiselect-input",
2863
- id: oe.value,
2863
+ id: ae.value,
2864
2864
  value: x.value,
2865
2865
  placeholder: d.value.length === 0 ? t.placeholder : void 0,
2866
2866
  disabled: t.disabled,
@@ -2871,13 +2871,13 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2871
2871
  "aria-controls": L(f) + "-listbox",
2872
2872
  "aria-activedescendant": y.value && P.value.length > 0 ? L(f) + "-option-" + b.value : void 0
2873
2873
  }, t.hiddenLabel ? { "aria-label": t.label } : void 0, {
2874
- "aria-describedby": Y.value,
2874
+ "aria-describedby": le.value,
2875
2875
  "aria-required": t.required ? "true" : void 0,
2876
- onInput: ne,
2877
- onKeydown: J,
2878
- onFocus: G,
2879
- onBlur: ie
2880
- }), null, 16, yr),
2876
+ onInput: te,
2877
+ onKeydown: Y,
2878
+ onFocus: K,
2879
+ onBlur: re
2880
+ }), null, 16, br),
2881
2881
  r[2] ||= s("svg", {
2882
2882
  class: "g-multiselect-caret",
2883
2883
  xmlns: "http://www.w3.org/2000/svg",
@@ -2888,13 +2888,13 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2888
2888
  fill: "currentColor",
2889
2889
  d: "M38.75 24.13a1.36 1.36 0 0 1 0 2.36l-12.44 7.18-12.43 7.18a1.36 1.36 0 0 1-2.05-1.18V11a1.36 1.36 0 0 1 2.05-1.18L26.31 17Z"
2890
2890
  })], -1),
2891
- re(s("div", h({
2891
+ ne(s("div", h({
2892
2892
  ref_key: "listboxRef",
2893
2893
  ref: v,
2894
2894
  id: L(f) + "-listbox",
2895
2895
  role: "listbox",
2896
2896
  "aria-multiselectable": "true"
2897
- }, t.hiddenLabel ? { "aria-label": t.label } : { "aria-labelledby": se.value }, {
2897
+ }, t.hiddenLabel ? { "aria-label": t.label } : { "aria-labelledby": oe.value }, {
2898
2898
  class: ["g-multiselect-listbox", { "g-multiselect-listbox--above": L(E) === "above" }],
2899
2899
  style: L(k),
2900
2900
  tabindex: "-1"
@@ -2907,31 +2907,31 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2907
2907
  "g-multiselect-option--selected": I(e.value)
2908
2908
  }]),
2909
2909
  "aria-selected": I(e.value) ? "true" : "false",
2910
- onMousedown: q,
2910
+ onMousedown: J,
2911
2911
  onClick: (e) => U(t)
2912
- }, [s("span", Sr, [I(e.value) ? (w(), o("svg", Cr, [...r[1] ||= [s("path", { d: "M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z" }, null, -1)]])) : a("", !0)]), s("span", wr, [s("span", Tr, N(e.label), 1), e.description ? (w(), o("span", Er, N(e.description), 1)) : a("", !0)])], 42, xr))), 128)) : (w(), o("div", Dr, " No results found. "))], 16, br), [[te, y.value]])
2912
+ }, [s("span", Cr, [I(e.value) ? (w(), o("svg", wr, [...r[1] ||= [s("path", { d: "M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z" }, null, -1)]])) : a("", !0)]), s("span", Tr, [s("span", Er, N(e.label), 1), e.description ? (w(), o("span", Dr, N(e.description), 1)) : a("", !0)])], 42, Sr))), 128)) : (w(), o("div", Or, " No results found. "))], 16, xr), [[ee, y.value]])
2913
2913
  ], 2),
2914
- l(Me, {
2914
+ l(Ne, {
2915
2915
  errors: L(C),
2916
- id: le.value
2916
+ id: ce.value
2917
2917
  }, null, 8, ["errors", "id"])
2918
2918
  ], 2));
2919
2919
  }
2920
- }), kr = {
2920
+ }), Ar = {
2921
2921
  key: 0,
2922
2922
  class: "g-checkbox-group__legend"
2923
- }, Ar = {
2923
+ }, jr = {
2924
2924
  key: 0,
2925
2925
  class: "g-checkbox-group__required",
2926
2926
  "aria-hidden": "true"
2927
- }, jr = {
2927
+ }, Mr = {
2928
2928
  key: 1,
2929
2929
  class: "g-checkbox-group__label"
2930
- }, Mr = {
2930
+ }, Nr = {
2931
2931
  key: 0,
2932
2932
  class: "g-checkbox-group__required",
2933
2933
  "aria-hidden": "true"
2934
- }, Nr = ["id"], Pr = { class: "g-checkbox-group__options" }, Fr = ["for"], Ir = [
2934
+ }, Pr = ["id"], Fr = { class: "g-checkbox-group__options" }, Ir = ["for"], Lr = [
2935
2935
  "id",
2936
2936
  "type",
2937
2937
  "name",
@@ -2940,7 +2940,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
2940
2940
  "disabled",
2941
2941
  "required",
2942
2942
  "onChange"
2943
- ], Lr = { class: "g-checkbox-group__label-text" }, Rr = ["id"], zr = /* @__PURE__ */ u({
2943
+ ], Rr = { class: "g-checkbox-group__label-text" }, zr = ["id"], Br = /* @__PURE__ */ u({
2944
2944
  __name: "GCheckboxGroup",
2945
2945
  props: /*@__PURE__*/ m({
2946
2946
  label: { default: void 0 },
@@ -3000,14 +3000,14 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3000
3000
  };
3001
3001
  }
3002
3002
  return (n, r) => (w(), i(A(C.value ? "fieldset" : "div"), h({ class: ["g-checkbox-group", { "g-checkbox-group--error": L(m) }] }, T.value), {
3003
- default: G(() => [
3004
- C.value && t.label ? (w(), o("legend", kr, [c(N(t.label), 1), t.required ? (w(), o("span", Ar, "\xA0*")) : a("", !0)])) : !C.value && t.label ? (w(), o("div", jr, [c(N(t.label), 1), t.required ? (w(), o("span", Mr, "\xA0*")) : a("", !0)])) : a("", !0),
3003
+ default: K(() => [
3004
+ C.value && t.label ? (w(), o("legend", Ar, [c(N(t.label), 1), t.required ? (w(), o("span", jr, "\xA0*")) : a("", !0)])) : !C.value && t.label ? (w(), o("div", Mr, [c(N(t.label), 1), t.required ? (w(), o("span", Nr, "\xA0*")) : a("", !0)])) : a("", !0),
3005
3005
  t.instructions ? (w(), o("div", {
3006
3006
  key: 2,
3007
3007
  id: S.value,
3008
3008
  class: "g-checkbox-group__instructions"
3009
- }, N(t.instructions), 9, Nr)) : a("", !0),
3010
- s("div", Pr, [(w(!0), o(e, null, O(t.options, (e, n) => (w(), o("div", {
3009
+ }, N(t.instructions), 9, Pr)) : a("", !0),
3010
+ s("div", Fr, [(w(!0), o(e, null, O(t.options, (e, n) => (w(), o("div", {
3011
3011
  key: e.value,
3012
3012
  class: _(["g-checkbox-group__option-wrapper", { "g-checkbox-group__option-wrapper--disabled": e.disabled }])
3013
3013
  }, [s("label", {
@@ -3022,12 +3022,12 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3022
3022
  disabled: e.disabled,
3023
3023
  required: t.required && (t.radio && n === 0 || !t.radio && t.options.length === 1),
3024
3024
  class: "g-checkbox-group__input"
3025
- }, { ref_for: !0 }, k(e, n), { onChange: (t) => y(e.value, t.target.checked) }), null, 16, Ir), s("span", Lr, N(e.label), 1)], 10, Fr), e.hint ? (w(), o("div", {
3025
+ }, { ref_for: !0 }, k(e, n), { onChange: (t) => y(e.value, t.target.checked) }), null, 16, Lr), s("span", Rr, N(e.label), 1)], 10, Ir), e.hint ? (w(), o("div", {
3026
3026
  key: 0,
3027
3027
  id: E(n),
3028
3028
  class: "g-checkbox-group__hint"
3029
- }, N(e.hint), 9, Rr)) : a("", !0)], 2))), 128))]),
3030
- l(Me, {
3029
+ }, N(e.hint), 9, zr)) : a("", !0)], 2))), 128))]),
3030
+ l(Ne, {
3031
3031
  errors: L(p),
3032
3032
  id: x.value
3033
3033
  }, null, 8, ["errors", "id"])
@@ -3035,10 +3035,10 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3035
3035
  _: 1
3036
3036
  }, 16, ["class"]));
3037
3037
  }
3038
- }), Br = {
3038
+ }), Vr = {
3039
3039
  class: "g-pagination",
3040
3040
  "aria-label": "Pagination"
3041
- }, Vr = ["disabled"], Hr = ["disabled"], Ur = { class: "page-range" }, Wr = ["disabled"], Gr = ["disabled"], Kr = { class: "g-pagination-page-size" }, qr = { class: "page-size-select-wrap" }, Jr = ["id", "value"], Yr = ["value"], Xr = ["for"], Zr = { class: "g-pagination-overflow" }, Qr = ["onClick"], $r = { class: "g-pagination-overflow-popover" }, ei = { class: "g-pagination-overflow-page-size" }, ti = ["for"], ni = { class: "page-size-select-wrap" }, ri = ["id", "value"], ii = ["value"], ai = { class: "g-pagination-overflow-actions" }, oi = ["disabled"], si = ["disabled"], ci = /* @__PURE__ */ u({
3041
+ }, Hr = ["disabled"], Ur = ["disabled"], Wr = { class: "page-range" }, Gr = ["disabled"], Kr = ["disabled"], qr = { class: "g-pagination-page-size" }, Jr = { class: "page-size-select-wrap" }, Yr = ["id", "value"], Xr = ["value"], Zr = ["for"], Qr = { class: "g-pagination-overflow" }, $r = ["onClick"], ei = { class: "g-pagination-overflow-popover" }, ti = { class: "g-pagination-overflow-page-size" }, ni = ["for"], ri = { class: "page-size-select-wrap" }, ii = ["id", "value"], ai = ["value"], oi = { class: "g-pagination-overflow-actions" }, si = ["disabled"], ci = ["disabled"], li = /* @__PURE__ */ u({
3042
3042
  __name: "GTablePagination",
3043
3043
  props: /*@__PURE__*/ m({
3044
3044
  start: {},
@@ -3065,7 +3065,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3065
3065
  function S(e) {
3066
3066
  u.value = parseInt(e.target.value, 10), a.value = 0;
3067
3067
  }
3068
- return (t, n) => (w(), o("nav", Br, [
3068
+ return (t, n) => (w(), o("nav", Vr, [
3069
3069
  s("button", {
3070
3070
  class: "first-page g-pagination-button",
3071
3071
  type: "button",
@@ -3091,7 +3091,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3091
3091
  }),
3092
3092
  s("path", { d: "M11 7l-5 5l5 5" }),
3093
3093
  s("path", { d: "M17 7l-5 5l5 5" })
3094
- ], -1)]], 8, Vr),
3094
+ ], -1)]], 8, Hr),
3095
3095
  s("button", {
3096
3096
  class: "prev-page g-pagination-button",
3097
3097
  type: "button",
@@ -3113,8 +3113,8 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3113
3113
  stroke: "none",
3114
3114
  d: "M0 0h24v24H0z",
3115
3115
  fill: "none"
3116
- }), s("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Hr),
3117
- s("span", Ur, N(v.value) + " to " + N(y.value), 1),
3116
+ }), s("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Ur),
3117
+ s("span", Wr, N(v.value) + " to " + N(y.value), 1),
3118
3118
  s("button", {
3119
3119
  class: "next-page g-pagination-button",
3120
3120
  type: "button",
@@ -3136,7 +3136,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3136
3136
  stroke: "none",
3137
3137
  d: "M0 0h24v24H0z",
3138
3138
  fill: "none"
3139
- }), s("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Wr),
3139
+ }), s("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Gr),
3140
3140
  s("button", {
3141
3141
  class: "last-page g-pagination-button",
3142
3142
  type: "button",
@@ -3162,8 +3162,8 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3162
3162
  }),
3163
3163
  s("path", { d: "M7 7l5 5l-5 5" }),
3164
3164
  s("path", { d: "M13 7l5 5l-5 5" })
3165
- ], -1)]], 8, Gr),
3166
- s("div", Kr, [s("div", qr, [s("select", {
3165
+ ], -1)]], 8, Kr),
3166
+ s("div", qr, [s("div", Jr, [s("select", {
3167
3167
  id: L(d),
3168
3168
  class: "page-size-select",
3169
3169
  value: m.value,
@@ -3171,7 +3171,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3171
3171
  }, [(w(!0), o(e, null, O(h.value, (e) => (w(), o("option", {
3172
3172
  key: e,
3173
3173
  value: e
3174
- }, N(e), 9, Yr))), 128))], 40, Jr), n[10] ||= s("span", {
3174
+ }, N(e), 9, Xr))), 128))], 40, Yr), n[10] ||= s("span", {
3175
3175
  class: "page-size-select-caret",
3176
3176
  "aria-hidden": "true"
3177
3177
  }, [s("svg", {
@@ -3185,9 +3185,9 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3185
3185
  })])], -1)]), s("label", {
3186
3186
  class: "page-size-label",
3187
3187
  for: L(d)
3188
- }, " per page ", 8, Xr)]),
3189
- s("div", Zr, [l(ct, null, {
3190
- trigger: G(({ toggle: e }) => [s("button", {
3188
+ }, " per page ", 8, Zr)]),
3189
+ s("div", Qr, [l(lt, null, {
3190
+ trigger: K(({ toggle: e }) => [s("button", {
3191
3191
  type: "button",
3192
3192
  class: "g-pagination-button g-pagination-overflow-trigger",
3193
3193
  "aria-label": "More pagination options",
@@ -3201,17 +3201,17 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3201
3201
  }, [s("path", {
3202
3202
  fill: "currentColor",
3203
3203
  d: "M96 320C96 284.7 124.7 256 160 256C195.3 256 224 284.7 224 320C224 355.3 195.3 384 160 384C124.7 384 96 355.3 96 320zM256 320C256 284.7 284.7 256 320 256C355.3 256 384 284.7 384 320C384 355.3 355.3 384 320 384C284.7 384 256 355.3 256 320zM480 256C515.3 256 544 284.7 544 320C544 355.3 515.3 384 480 384C444.7 384 416 355.3 416 320C416 284.7 444.7 256 480 256z"
3204
- })], -1)]], 8, Qr)]),
3205
- default: G(() => [s("div", $r, [
3204
+ })], -1)]], 8, $r)]),
3205
+ default: K(() => [s("div", ei, [
3206
3206
  n[15] ||= s("h2", {
3207
3207
  class: "g-pagination-overflow-title",
3208
3208
  tabindex: "-1",
3209
3209
  "popover-focus": ""
3210
3210
  }, " Pagination options ", -1),
3211
- s("div", ei, [s("label", {
3211
+ s("div", ti, [s("label", {
3212
3212
  class: "page-size-label",
3213
3213
  for: L(f)
3214
- }, " Rows per page ", 8, ti), s("div", ni, [s("select", {
3214
+ }, " Rows per page ", 8, ni), s("div", ri, [s("select", {
3215
3215
  id: L(f),
3216
3216
  class: "page-size-select",
3217
3217
  value: m.value,
@@ -3219,7 +3219,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3219
3219
  }, [(w(!0), o(e, null, O(h.value, (e) => (w(), o("option", {
3220
3220
  key: `overflow-${e}`,
3221
3221
  value: e
3222
- }, N(e), 9, ii))), 128))], 40, ri), n[12] ||= s("span", {
3222
+ }, N(e), 9, ai))), 128))], 40, ii), n[12] ||= s("span", {
3223
3223
  class: "page-size-select-caret",
3224
3224
  "aria-hidden": "true"
3225
3225
  }, [s("svg", {
@@ -3231,7 +3231,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3231
3231
  fill: "currentColor",
3232
3232
  d: "M300.3 439.8C312.8 450.1 331.3 449.3 343.1 437.6L471.1 309.6C480.3 300.4 483 286.7 478 274.7C473 262.7 461.4 255 448.5 255L192.5 255C179.6 255 167.9 262.8 162.9 274.8C157.9 286.8 160.7 300.5 169.9 309.6L297.9 437.6L300.3 439.8z"
3233
3233
  })])], -1)])]),
3234
- s("div", ai, [s("button", {
3234
+ s("div", oi, [s("button", {
3235
3235
  type: "button",
3236
3236
  class: "g-pagination-overflow-action",
3237
3237
  disabled: g.value,
@@ -3257,7 +3257,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3257
3257
  }),
3258
3258
  s("path", { d: "M11 7l-5 5l5 5" }),
3259
3259
  s("path", { d: "M17 7l-5 5l5 5" })
3260
- ])], -1), c(" First Page ", -1)]], 8, oi), s("button", {
3260
+ ])], -1), c(" First Page ", -1)]], 8, si), s("button", {
3261
3261
  type: "button",
3262
3262
  class: "g-pagination-overflow-action",
3263
3263
  disabled: _.value,
@@ -3283,7 +3283,7 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3283
3283
  }),
3284
3284
  s("path", { d: "M7 7l5 5l-5 5" }),
3285
3285
  s("path", { d: "M13 7l5 5l-5 5" })
3286
- ])], -1), c(" Last Page ", -1)]], 8, si)])
3286
+ ])], -1), c(" Last Page ", -1)]], 8, ci)])
3287
3287
  ])]),
3288
3288
  _: 1
3289
3289
  })])
@@ -3292,48 +3292,48 @@ var Cn = ["id"], wn = /* @__PURE__ */ u({
3292
3292
  });
3293
3293
  //#endregion
3294
3294
  //#region src/compose/useFiltering.ts
3295
- function li(e) {
3295
+ function ui(e) {
3296
3296
  if (!(Array.isArray(e) && e.length === 0) && e !== null && e !== !1 && e !== "") return e;
3297
3297
  }
3298
- function ui(e) {
3298
+ function di(e) {
3299
3299
  return Object.fromEntries(Object.entries(e).filter(([, e]) => e && (!Array.isArray(e) || e.length > 0)));
3300
3300
  }
3301
- function di(e) {
3301
+ function fi(e) {
3302
3302
  if (e != null) return Array.isArray(e) ? e.filter((e) => e != null) : [e];
3303
3303
  }
3304
- function fi(e) {
3304
+ function pi(e) {
3305
3305
  if (e == null) return;
3306
3306
  if (typeof e == "string") return e.includes(",") ? e.split(",") : [e];
3307
3307
  let t = [];
3308
3308
  for (let n of e) n !== null && t.push(n);
3309
3309
  return t.length > 0 ? t : void 0;
3310
3310
  }
3311
- function pi(e) {
3311
+ function mi(e) {
3312
3312
  return Array.isArray(e) ? [...e] : e;
3313
3313
  }
3314
- function mi(e, t) {
3314
+ function hi(e, t) {
3315
3315
  return Array.isArray(e) || Array.isArray(t) ? !Array.isArray(e) || !Array.isArray(t) ? !1 : e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
3316
3316
  }
3317
- function hi(e, t) {
3317
+ function gi(e, t) {
3318
3318
  let n = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)]);
3319
- for (let r of n) if (!mi(e[r], t[r])) return !1;
3319
+ for (let r of n) if (!hi(e[r], t[r])) return !1;
3320
3320
  return !0;
3321
3321
  }
3322
- function gi(e) {
3322
+ function _i(e) {
3323
3323
  let t = {};
3324
3324
  for (let [n, r] of Object.entries(P(e))) Array.isArray(r) ? r.length > 0 && (t[n] = r) : t[n] = r === !0 ? "true" : r || void 0;
3325
3325
  return t;
3326
3326
  }
3327
- function _i(e) {
3327
+ function vi(e) {
3328
3328
  let t = {};
3329
3329
  return Object.keys(e).forEach((n) => {
3330
3330
  let r = e[n];
3331
3331
  r != null && r !== "" && r !== !1 && (Array.isArray(r) ? r.length > 0 && (t[n] = r.map((e) => String(e))) : t[n] = String(r));
3332
3332
  }), t;
3333
3333
  }
3334
- function vi(e, t) {
3334
+ function yi(e, t) {
3335
3335
  let n = Object.keys(e), r = new Set(n.filter((t) => Array.isArray(e[t]))), i = new Set(t.booleanArrayKeys ?? []), a = (e, t) => {
3336
- if (t != null) return r.has(e) ? fi(t) : typeof t == "string" && t.includes(",") ? t.split(",") : pi(t);
3336
+ if (t != null) return r.has(e) ? pi(t) : typeof t == "string" && t.includes(",") ? t.split(",") : mi(t);
3337
3337
  }, o = (e) => {
3338
3338
  let t = {};
3339
3339
  for (let r of n) {
@@ -3341,25 +3341,25 @@ function vi(e, t) {
3341
3341
  n !== void 0 && (t[r] = a(r, n));
3342
3342
  }
3343
3343
  return t;
3344
- }, s = D(o(t.route.query)), c = yi(e, { syncWith: s }), l = c.filters, u = (e, t) => {
3344
+ }, s = D(o(t.route.query)), c = bi(e, { syncWith: s }), l = c.filters, u = (e, t) => {
3345
3345
  let n = a(e, t);
3346
3346
  return !i.has(e) || n === void 0 ? n : (Array.isArray(n) ? n : [n]).map((e) => {
3347
3347
  if (e === "true") return !0;
3348
3348
  if (e === "false") return !1;
3349
3349
  }).filter((e) => e !== void 0);
3350
3350
  };
3351
- return W(() => o(t.route.query), (e) => {
3351
+ return G(() => o(t.route.query), (e) => {
3352
3352
  for (let t of n) {
3353
3353
  let n = u(t, e[t]);
3354
- mi(l[t], n) || (l[t] = n);
3354
+ hi(l[t], n) || (l[t] = n);
3355
3355
  }
3356
- }, { immediate: !0 }), W(s, (e) => {
3356
+ }, { immediate: !0 }), G(s, (e) => {
3357
3357
  let r = { ...t.route.query };
3358
- for (let t of n) e[t] === void 0 ? delete r[t] : r[t] = pi(e[t]);
3359
- hi(t.route.query, r) || t.router.replace({ query: r });
3358
+ for (let t of n) e[t] === void 0 ? delete r[t] : r[t] = mi(e[t]);
3359
+ gi(t.route.query, r) || t.router.replace({ query: r });
3360
3360
  }), c;
3361
3361
  }
3362
- function yi(e, t = {}) {
3362
+ function bi(e, t = {}) {
3363
3363
  let n = E(Object.fromEntries(Object.entries(e).map(([e, t]) => [e, t]))), i = t.syncWith;
3364
3364
  if (i) {
3365
3365
  if (i.value) {
@@ -3371,14 +3371,14 @@ function yi(e, t = {}) {
3371
3371
  }
3372
3372
  });
3373
3373
  }
3374
- W(n, (e) => {
3375
- i.value = _i(e);
3374
+ G(n, (e) => {
3375
+ i.value = vi(e);
3376
3376
  }, { deep: !0 });
3377
3377
  }
3378
3378
  return {
3379
3379
  filters: n,
3380
3380
  isFiltered: r(() => {
3381
- for (let t of Object.keys(e)) if (li(n[t])) return !0;
3381
+ for (let t of Object.keys(e)) if (ui(n[t])) return !0;
3382
3382
  return !1;
3383
3383
  }),
3384
3384
  clearFilters: () => {
@@ -3388,94 +3388,94 @@ function yi(e, t = {}) {
3388
3388
  },
3389
3389
  filteredColumns: r(() => {
3390
3390
  let t = {};
3391
- for (let r of Object.keys(e)) t[r] = !!li(n[r]);
3391
+ for (let r of Object.keys(e)) t[r] = !!ui(n[r]);
3392
3392
  return t;
3393
3393
  })
3394
3394
  };
3395
3395
  }
3396
3396
  //#endregion
3397
3397
  //#region src/components/GTable.vue?vue&type=script&setup=true&lang.ts
3398
- var bi = { class: "g-table-outer-wrap" }, xi = {
3398
+ var xi = { class: "g-table-outer-wrap" }, Si = {
3399
3399
  key: 0,
3400
3400
  class: "g-table-controls"
3401
- }, Si = { class: "g-table-control-actions" }, Ci = {
3401
+ }, Ci = { class: "g-table-control-actions" }, wi = {
3402
3402
  key: 0,
3403
3403
  class: "g-sort-builder-wrap"
3404
- }, wi = {
3404
+ }, Ti = {
3405
3405
  key: 0,
3406
3406
  class: "g-sort-builder-count"
3407
- }, Ti = {
3407
+ }, Ei = {
3408
3408
  key: 0,
3409
3409
  class: "g-sort-builder-list"
3410
- }, Ei = ["data-sort-row-key", "aria-label"], Di = {
3410
+ }, Di = ["data-sort-row-key", "aria-label"], Oi = {
3411
3411
  class: "g-sort-builder-rule-priority",
3412
3412
  "aria-hidden": "true"
3413
- }, Oi = { class: "g-sort-builder-rule-label" }, ki = ["aria-label", "onClick"], Ai = { class: "g-visually-hidden" }, ji = {
3413
+ }, ki = { class: "g-sort-builder-rule-label" }, Ai = ["aria-label", "onClick"], ji = { class: "g-visually-hidden" }, Mi = {
3414
3414
  class: "sort-indicator",
3415
3415
  "aria-hidden": "true"
3416
- }, Mi = ["aria-label", "onClick"], Ni = {
3416
+ }, Ni = ["aria-label", "onClick"], Pi = {
3417
3417
  key: 1,
3418
3418
  class: "g-sort-builder-empty"
3419
- }, Pi = {
3419
+ }, Fi = {
3420
3420
  key: 2,
3421
3421
  class: "g-sort-builder-add"
3422
- }, Fi = { class: "g-sort-builder-add-list" }, Ii = { class: "g-sort-builder-add-name" }, Li = { class: "g-sort-builder-add-actions" }, Ri = ["aria-label", "onClick"], zi = ["aria-label", "onClick"], Bi = {
3422
+ }, Ii = { class: "g-sort-builder-add-list" }, Li = { class: "g-sort-builder-add-name" }, Ri = { class: "g-sort-builder-add-actions" }, zi = ["aria-label", "onClick"], Bi = ["aria-label", "onClick"], Vi = {
3423
3423
  class: "sort-indicator",
3424
3424
  "aria-hidden": "true"
3425
- }, Vi = {
3425
+ }, Hi = {
3426
3426
  xmlns: "http://www.w3.org/2000/svg",
3427
3427
  viewBox: "0 0 640 640",
3428
3428
  height: "1.25em",
3429
3429
  style: { transform: "rotate(180deg)" }
3430
- }, Hi = {
3430
+ }, Ui = {
3431
3431
  key: 1,
3432
3432
  class: "g-column-visibility-wrap"
3433
- }, Ui = {
3433
+ }, Wi = {
3434
3434
  xmlns: "http://www.w3.org/2000/svg",
3435
3435
  viewBox: "0 0 640 640",
3436
3436
  height: "1.5em",
3437
3437
  style: { transform: "rotate(90deg)" },
3438
3438
  "aria-hidden": "true"
3439
- }, Wi = ["aria-labelledby"], Gi = { class: "g-column-visibility-header" }, Ki = ["id"], qi = { class: "g-column-visibility-legend-action" }, Ji = { class: "g-column-visibility-list" }, Yi = ["checked", "onChange"], Xi = {
3439
+ }, Gi = ["aria-labelledby"], Ki = { class: "g-column-visibility-header" }, qi = ["id"], Ji = { class: "g-column-visibility-legend-action" }, Yi = { class: "g-column-visibility-list" }, Xi = ["checked", "onChange"], Zi = {
3440
3440
  key: 2,
3441
3441
  class: "g-table-custom-controls"
3442
- }, Zi = { class: "g-clear-filters-wrap" }, Qi = {
3442
+ }, Qi = { class: "g-clear-filters-wrap" }, $i = {
3443
3443
  key: 0,
3444
3444
  class: "pagination"
3445
- }, $i = { class: "g-table-controls-right" }, ea = { class: "g-result-count" }, ta = ["aria-label", "aria-rowcount"], na = { key: 0 }, ra = ["data-column-key"], ia = { class: "g-table-head" }, aa = { "aria-rowindex": "1" }, oa = {
3445
+ }, ea = { class: "g-table-controls-right" }, ta = { class: "g-result-count" }, na = ["aria-label", "aria-rowcount"], ra = { key: 0 }, ia = ["data-column-key"], aa = { class: "g-table-head" }, oa = { "aria-rowindex": "1" }, sa = {
3446
3446
  key: 0,
3447
3447
  scope: "col",
3448
3448
  class: "g-th g-th-checkbox"
3449
- }, sa = [
3449
+ }, ca = [
3450
3450
  "checked",
3451
3451
  "indeterminate",
3452
3452
  "aria-label"
3453
- ], ca = ["id", "aria-sort"], la = { class: "th-inner" }, ua = ["onClick"], da = {
3453
+ ], la = ["id", "aria-sort"], ua = { class: "th-inner" }, da = ["onClick"], fa = {
3454
3454
  key: 0,
3455
3455
  class: "sort-indicator",
3456
3456
  "aria-hidden": "true"
3457
- }, fa = {
3457
+ }, pa = {
3458
3458
  key: 1,
3459
3459
  class: "g-visually-hidden"
3460
- }, pa = {
3460
+ }, ma = {
3461
3461
  key: 1,
3462
3462
  class: "g-column-head"
3463
- }, ma = ["onClick", "aria-label"], ha = {
3463
+ }, ha = ["onClick", "aria-label"], ga = {
3464
3464
  key: 1,
3465
3465
  class: "g-filter-search",
3466
3466
  role: "search"
3467
- }, ga = [
3467
+ }, _a = [
3468
3468
  "onUpdate:modelValue",
3469
3469
  "placeholder",
3470
3470
  "aria-label"
3471
- ], _a = { key: 2 }, va = { class: "g-filter-toggle" }, ya = [
3471
+ ], va = { key: 2 }, ya = { class: "g-filter-toggle" }, ba = [
3472
3472
  "onUpdate:modelValue",
3473
3473
  "id",
3474
3474
  "aria-describedby"
3475
- ], ba = ["for"], xa = ["id"], Sa = {
3475
+ ], xa = ["for"], Sa = ["id"], Ca = {
3476
3476
  key: 4,
3477
3477
  class: "g-multi-select"
3478
- }, Ca = [
3478
+ }, wa = [
3479
3479
  "data-column-key",
3480
3480
  "aria-label",
3481
3481
  "aria-valuemax",
@@ -3483,10 +3483,10 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3483
3483
  "aria-valuetext",
3484
3484
  "onKeydown",
3485
3485
  "onPointerdown"
3486
- ], wa = {
3486
+ ], Ta = {
3487
3487
  key: 1,
3488
3488
  class: "g-bulk-actions-toolbar"
3489
- }, Ta = { class: "g-selected-count" }, Ea = { class: "g-bulk-actions" }, Da = /* @__PURE__ */ u({
3489
+ }, Ea = { class: "g-selected-count" }, Da = { class: "g-bulk-actions" }, Oa = /* @__PURE__ */ u({
3490
3490
  __name: "GTable",
3491
3491
  props: /*@__PURE__*/ m({
3492
3492
  label: {},
@@ -3544,7 +3544,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3544
3544
  ]),
3545
3545
  setup(t, { emit: n }) {
3546
3546
  let u = B(t, "sort"), f = B(t, "filter"), p = B(t, "columnState"), m = B(t, "selectedRows"), h = t, v = n, b = h.filtering;
3547
- b ||= yi({});
3547
+ b ||= bi({});
3548
3548
  let { filters: C, filteredColumns: T, isFiltered: E, clearFilters: A } = b, j = r(() => h.data.map((e) => e.key)), M = r(() => m.value.filter((e) => j.value.includes(e))), F = r(() => !h.bulkSelectionEnabled || h.data.length === 0 ? !1 : M.value.length === j.value.length), I = r(() => !h.bulkSelectionEnabled || h.data.length === 0 ? !1 : M.value.length > 0 && M.value.length < j.value.length), R = D(null);
3549
3549
  function H() {
3550
3550
  if (F.value) m.value = m.value.filter((e) => !j.value.includes(e));
@@ -3553,7 +3553,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3553
3553
  j.value.forEach((t) => e.add(t)), m.value = Array.from(e);
3554
3554
  }
3555
3555
  }
3556
- function te(e, t = !1) {
3556
+ function ee(e, t = !1) {
3557
3557
  if (t && R.value) {
3558
3558
  let t = j.value.indexOf(R.value), n = j.value.indexOf(e);
3559
3559
  if (t !== -1 && n !== -1) {
@@ -3563,13 +3563,13 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3563
3563
  } else m.value.includes(e) ? m.value = m.value.filter((t) => t !== e) : m.value = [...m.value, e];
3564
3564
  R.value = e;
3565
3565
  }
3566
- function W(e) {
3566
+ function G(e) {
3567
3567
  v("row-click", e);
3568
3568
  }
3569
- function ne(e) {
3569
+ function te(e) {
3570
3570
  v("bulk-action", e, m.value);
3571
3571
  }
3572
- function ie(e) {
3572
+ function re(e) {
3573
3573
  let t = e.value, n = e.column.key, r = P(e.row[n]);
3574
3574
  e.column.editable?.inputAttributes?.type === "number" && (t = e.value === "" ? null : Number(e.value)), e.row[n] = t;
3575
3575
  let i = {
@@ -3580,13 +3580,13 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3580
3580
  };
3581
3581
  v("cell-change", i);
3582
3582
  }
3583
- function q(e) {
3583
+ function J(e) {
3584
3584
  v("update:startIndex", e ?? 0);
3585
3585
  }
3586
- function ae(e) {
3586
+ function ie(e) {
3587
3587
  e !== void 0 && v("update:pageSize", e);
3588
3588
  }
3589
- let J = z(), oe = d(), se = D(null), ce = D(null), le = D(null), Y = D(null), ue = `${J}-table`;
3589
+ let Y = z(), ae = d(), oe = D(null), se = D(null), ce = D(null), le = D(null), ue = `${Y}-table`;
3590
3590
  function de(e) {
3591
3591
  let t = /* @__PURE__ */ new Set();
3592
3592
  return e.filter((e) => !e?.key || t.has(String(e.key)) ? !1 : (t.add(String(e.key)), e.order === 1 || e.order === -1));
@@ -3598,12 +3598,12 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3598
3598
  };
3599
3599
  }
3600
3600
  let X = r(() => de(u.value));
3601
- function Z(e) {
3601
+ function pe(e) {
3602
3602
  u.value = de(e);
3603
3603
  }
3604
- let pe = r(() => h.columns.filter((e) => e.sortable)), me = r(() => pe.value.length > 1), he = r(() => {
3604
+ let Z = r(() => h.columns.filter((e) => e.sortable)), me = r(() => Z.value.length > 1), he = r(() => {
3605
3605
  let e = new Set(X.value.map((e) => String(e.key)));
3606
- return pe.value.filter((t) => !e.has(String(t.key)));
3606
+ return Z.value.filter((t) => !e.has(String(t.key)));
3607
3607
  });
3608
3608
  function ge(e) {
3609
3609
  return X.value.findIndex((t) => t.key === e);
@@ -3638,24 +3638,24 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3638
3638
  function we(e, t = !1) {
3639
3639
  if (!e.sortable) return;
3640
3640
  let n = e.key;
3641
- Z(t ? Ce(n) : Se(n));
3641
+ pe(t ? Ce(n) : Se(n));
3642
3642
  }
3643
3643
  function Te(e, t) {
3644
- Z([...X.value, fe(e, t)]), g(() => {
3645
- let t = se.value;
3644
+ pe([...X.value, fe(e, t)]), g(() => {
3645
+ let t = oe.value;
3646
3646
  t && (t.querySelector(`[data-sort-row-key="${String(e)}"]`) ?? t)?.focus();
3647
3647
  }).catch((e) => {
3648
3648
  console.error(e);
3649
3649
  });
3650
3650
  }
3651
3651
  function Ee(e) {
3652
- Z(X.value.map((t) => t.key === e ? fe(t.key, t.order === 1 ? -1 : 1) : t));
3652
+ pe(X.value.map((t) => t.key === e ? fe(t.key, t.order === 1 ? -1 : 1) : t));
3653
3653
  }
3654
3654
  function De(e) {
3655
- Z(X.value.filter((t) => t.key !== e));
3655
+ pe(X.value.filter((t) => t.key !== e));
3656
3656
  }
3657
3657
  function Oe() {
3658
- Z([]);
3658
+ pe([]);
3659
3659
  }
3660
3660
  function ke(e) {
3661
3661
  return p.value[e] ?? {};
@@ -3669,46 +3669,46 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3669
3669
  }
3670
3670
  };
3671
3671
  }
3672
- function $(e) {
3672
+ function je(e) {
3673
3673
  return Math.max(50, Math.round(e));
3674
3674
  }
3675
- function je(e) {
3675
+ function $(e) {
3676
3676
  let t = ke(e).width;
3677
- if (!(typeof t != "number" || !Number.isFinite(t))) return $(t);
3677
+ if (!(typeof t != "number" || !Number.isFinite(t))) return je(t);
3678
3678
  }
3679
3679
  function Me(e) {
3680
- return document.getElementById(`${J}-th-${String(e)}`);
3680
+ return document.getElementById(`${Y}-th-${String(e)}`);
3681
3681
  }
3682
3682
  function Ne(e) {
3683
3683
  let t = Me(e)?.getBoundingClientRect().width;
3684
- return $(t ?? 50);
3684
+ return je(t ?? 50);
3685
3685
  }
3686
3686
  function Pe(e) {
3687
- return je(e) ?? Ne(e);
3687
+ return $(e) ?? Ne(e);
3688
3688
  }
3689
3689
  function Fe(e) {
3690
- let t = Pe(e), n = le.value?.getBoundingClientRect().width ?? ce.value?.getBoundingClientRect().width ?? t;
3691
- return $(Math.max(t, n));
3690
+ let t = Pe(e), n = ce.value?.getBoundingClientRect().width ?? se.value?.getBoundingClientRect().width ?? t;
3691
+ return je(Math.max(t, n));
3692
3692
  }
3693
3693
  function Ie(e, t) {
3694
- Ae(e, { width: $(t) });
3694
+ Ae(e, { width: je(t) });
3695
3695
  }
3696
3696
  function Le(e, t) {
3697
3697
  Ie(e, Pe(e) + t);
3698
3698
  }
3699
3699
  function Re() {
3700
- Y.value = null, window.removeEventListener("pointermove", ze), window.removeEventListener("pointerup", Re), window.removeEventListener("pointercancel", Re);
3700
+ le.value = null, window.removeEventListener("pointermove", ze), window.removeEventListener("pointerup", Re), window.removeEventListener("pointercancel", Re);
3701
3701
  }
3702
3702
  function ze(e) {
3703
- if (!Y.value) return;
3704
- let t = Y.value.startWidth + (e.clientX - Y.value.startX);
3705
- Ie(Y.value.key, t);
3703
+ if (!le.value) return;
3704
+ let t = le.value.startWidth + (e.clientX - le.value.startX);
3705
+ Ie(le.value.key, t);
3706
3706
  }
3707
3707
  function Be(e, t) {
3708
3708
  if (!h.resizableColumns) return;
3709
3709
  e.preventDefault(), e.stopPropagation();
3710
3710
  let n = Pe(t);
3711
- Ie(t, n), Y.value = {
3711
+ Ie(t, n), le.value = {
3712
3712
  key: t,
3713
3713
  startX: e.clientX,
3714
3714
  startWidth: n
@@ -3734,7 +3734,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3734
3734
  }
3735
3735
  function He(e) {
3736
3736
  if (!h.resizableColumns) return;
3737
- let t = je(e.key);
3737
+ let t = $(e.key);
3738
3738
  if (t !== void 0) return {
3739
3739
  width: `${t}px`,
3740
3740
  minWidth: `${t}px`
@@ -3747,7 +3747,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3747
3747
  return `${Ue(e)} pixels`;
3748
3748
  }
3749
3749
  let Ge = r(() => {
3750
- let e = oe?.vnode.props ?? {};
3750
+ let e = ae?.vnode.props ?? {};
3751
3751
  return "columnState" in e || "column-state" in e || "onUpdate:columnState" in e;
3752
3752
  }), Ke = r(() => h.columns.filter((e) => ke(e.key).visible !== !1)), qe = V(), Je = r(() => Ke.value.length !== h.columns.length), Ye = r(() => Ge.value && h.columns.length > 0), Xe = r(() => !!qe.controls || !!qe["right-controls"]), Ze = r(() => h.resultCount ?? h.data.length);
3753
3753
  function Qe(e) {
@@ -3778,17 +3778,17 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3778
3778
  }), S(() => {
3779
3779
  h.rowClickable && h.bulkSelectionEnabled && console.warn("GTable: rowClickable and bulkSelectionEnabled cannot be used together. rowClickable will be ignored.");
3780
3780
  for (let e of h.columns) e.editable && e.display && console.warn(`GTable: Column "${String(e.key)}" has both 'editable' and 'display' configured. 'display' will be ignored.`);
3781
- }), (n, r) => (w(), o("div", bi, [
3782
- nt.value ? (w(), o("div", xi, [
3783
- s("div", Si, [
3784
- me.value ? (w(), o("div", Ci, [l(ct, null, {
3785
- trigger: G(({ toggle: e }) => [l(Q, {
3781
+ }), (n, r) => (w(), o("div", xi, [
3782
+ nt.value ? (w(), o("div", Si, [
3783
+ s("div", Ci, [
3784
+ me.value ? (w(), o("div", wi, [l(lt, null, {
3785
+ trigger: K(({ toggle: e }) => [l(Q, {
3786
3786
  size: "small",
3787
3787
  class: _(["g-sort-builder-trigger", { "g-sort-builder-trigger--active": X.value.length > 0 }]),
3788
3788
  "aria-label": "Choose sort order",
3789
3789
  onClick: e
3790
3790
  }, {
3791
- default: G(() => [r[1] ||= s("svg", {
3791
+ default: K(() => [r[1] ||= s("svg", {
3792
3792
  class: "g-sort-builder-trigger-icon",
3793
3793
  xmlns: "http://www.w3.org/2000/svg",
3794
3794
  viewBox: "0 0 640 640",
@@ -3797,33 +3797,33 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3797
3797
  }, [s("path", {
3798
3798
  fill: "currentColor",
3799
3799
  d: "M130.4 268.2C135.4 280.2 147 288 160 288L480 288C492.9 288 504.6 280.2 509.6 268.2C514.6 256.2 511.8 242.5 502.7 233.3L342.7 73.3C330.2 60.8 309.9 60.8 297.4 73.3L137.4 233.3C128.2 242.5 125.5 256.2 130.5 268.2zM130.4 371.7C125.4 383.7 128.2 397.4 137.3 406.6L297.3 566.6C309.8 579.1 330.1 579.1 342.6 566.6L502.6 406.6C511.8 397.4 514.5 383.7 509.5 371.7C504.5 359.7 492.9 352 480 352L160 352C147.1 352 135.4 359.8 130.4 371.8z"
3800
- })], -1), X.value.length ? (w(), o("span", wi, N(X.value.length), 1)) : a("", !0)]),
3800
+ })], -1), X.value.length ? (w(), o("span", Ti, N(X.value.length), 1)) : a("", !0)]),
3801
3801
  _: 1
3802
3802
  }, 8, ["class", "onClick"])]),
3803
- default: G(() => [s("fieldset", {
3803
+ default: K(() => [s("fieldset", {
3804
3804
  ref_key: "sortBuilderRef",
3805
- ref: se,
3805
+ ref: oe,
3806
3806
  class: "g-sort-builder-popover",
3807
3807
  tabindex: "-1",
3808
3808
  "popover-focus": ""
3809
3809
  }, [
3810
3810
  r[8] ||= s("legend", { class: "g-sort-builder-legend" }, " Sort order ", -1),
3811
3811
  r[9] ||= s("p", { class: "g-sort-builder-help" }, " Click a column header to change the primary sort. Use Shift-click as a shortcut to add or update secondary sorts. ", -1),
3812
- X.value.length ? (w(), o("ol", Ti, [(w(!0), o(e, null, O(X.value, (e, t) => (w(), o("li", {
3812
+ X.value.length ? (w(), o("ol", Ei, [(w(!0), o(e, null, O(X.value, (e, t) => (w(), o("li", {
3813
3813
  key: e.key,
3814
3814
  class: "g-sort-builder-rule",
3815
3815
  tabindex: "-1",
3816
3816
  "data-sort-row-key": String(e.key),
3817
3817
  "aria-label": `${ve(e.key)} ${xe(e.order)} sort, priority ${t + 1}`
3818
3818
  }, [
3819
- s("span", Di, N(t + 1), 1),
3820
- s("span", Oi, N(ve(e.key)), 1),
3819
+ s("span", Oi, N(t + 1), 1),
3820
+ s("span", ki, N(ve(e.key)), 1),
3821
3821
  s("button", {
3822
3822
  type: "button",
3823
3823
  class: "g-sort-builder-direction",
3824
3824
  "aria-label": `Toggle ${ve(e.key)} sort direction`,
3825
3825
  onClick: (t) => Ee(e.key)
3826
- }, [s("span", Ai, N(xe(e.order)), 1), s("span", ji, [(w(), o("svg", {
3826
+ }, [s("span", ji, N(xe(e.order)), 1), s("span", Mi, [(w(), o("svg", {
3827
3827
  xmlns: "http://www.w3.org/2000/svg",
3828
3828
  viewBox: "0 0 640 640",
3829
3829
  height: "1.25em",
@@ -3831,18 +3831,18 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3831
3831
  }, [...r[2] ||= [s("path", {
3832
3832
  fill: "currentColor",
3833
3833
  d: "M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z"
3834
- }, null, -1)]], 4))])], 8, ki),
3834
+ }, null, -1)]], 4))])], 8, Ai),
3835
3835
  s("button", {
3836
3836
  type: "button",
3837
3837
  class: "g-sort-builder-remove",
3838
3838
  "aria-label": `Remove ${ve(e.key)} sort`,
3839
3839
  onClick: (t) => De(e.key)
3840
- }, " Remove ", 8, Mi)
3841
- ], 8, Ei))), 128))])) : (w(), o("p", Ni, " No active sort rules. ")),
3842
- he.value.length ? (w(), o("div", Pi, [r[6] ||= s("p", { class: "g-sort-builder-add-label" }, " Add sort column ", -1), s("ul", Fi, [(w(!0), o(e, null, O(he.value, (e) => (w(), o("li", {
3840
+ }, " Remove ", 8, Ni)
3841
+ ], 8, Di))), 128))])) : (w(), o("p", Pi, " No active sort rules. ")),
3842
+ he.value.length ? (w(), o("div", Fi, [r[6] ||= s("p", { class: "g-sort-builder-add-label" }, " Add sort column ", -1), s("ul", Ii, [(w(!0), o(e, null, O(he.value, (e) => (w(), o("li", {
3843
3843
  key: e.key,
3844
3844
  class: "g-sort-builder-add-item"
3845
- }, [s("span", Ii, N(e.label), 1), s("div", Li, [s("button", {
3845
+ }, [s("span", Li, N(e.label), 1), s("div", Ri, [s("button", {
3846
3846
  type: "button",
3847
3847
  class: "g-sort-builder-direction",
3848
3848
  "aria-label": `Add ${e.label} ascending sort`,
@@ -3857,15 +3857,15 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3857
3857
  }, [s("path", {
3858
3858
  fill: "currentColor",
3859
3859
  d: "M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z"
3860
- })])], -1)]], 8, Ri), s("button", {
3860
+ })])], -1)]], 8, zi), s("button", {
3861
3861
  type: "button",
3862
3862
  class: "g-sort-builder-direction",
3863
3863
  "aria-label": `Add ${e.label} descending sort`,
3864
3864
  onClick: (t) => Te(e.key, -1)
3865
- }, [r[5] ||= s("span", { class: "g-visually-hidden" }, " Add descending sort ", -1), s("span", Bi, [(w(), o("svg", Vi, [...r[4] ||= [s("path", {
3865
+ }, [r[5] ||= s("span", { class: "g-visually-hidden" }, " Add descending sort ", -1), s("span", Vi, [(w(), o("svg", Hi, [...r[4] ||= [s("path", {
3866
3866
  fill: "currentColor",
3867
3867
  d: "M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z"
3868
- }, null, -1)]]))])], 8, zi)])]))), 128))])])) : a("", !0),
3868
+ }, null, -1)]]))])], 8, Bi)])]))), 128))])])) : a("", !0),
3869
3869
  X.value.length ? (w(), i(Q, {
3870
3870
  key: 3,
3871
3871
  outlined: "",
@@ -3873,51 +3873,51 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3873
3873
  class: "g-sort-builder-clear",
3874
3874
  onClick: Oe
3875
3875
  }, {
3876
- default: G(() => [...r[7] ||= [c(" Clear sort ", -1)]]),
3876
+ default: K(() => [...r[7] ||= [c(" Clear sort ", -1)]]),
3877
3877
  _: 1
3878
3878
  })) : a("", !0)
3879
3879
  ], 512)]),
3880
3880
  _: 1
3881
3881
  })])) : a("", !0),
3882
- Ye.value ? (w(), o("div", Hi, [l(ct, null, {
3883
- trigger: G(({ toggle: e }) => [l(Q, {
3882
+ Ye.value ? (w(), o("div", Ui, [l(lt, null, {
3883
+ trigger: K(({ toggle: e }) => [l(Q, {
3884
3884
  size: "small",
3885
3885
  class: _(["g-column-visibility-trigger", { "g-column-visibility-trigger--active": Je.value }]),
3886
3886
  "aria-label": "Choose visible columns",
3887
3887
  onClick: e
3888
3888
  }, {
3889
- default: G(() => [(w(), o("svg", Ui, [...r[10] ||= [s("path", {
3889
+ default: K(() => [(w(), o("svg", Wi, [...r[10] ||= [s("path", {
3890
3890
  fill: "currentColor",
3891
3891
  d: "M64 160C64 142.3 78.3 128 96 128L480 128C497.7 128 512 142.3 512 160C512 177.7 497.7 192 480 192L96 192C78.3 192 64 177.7 64 160zM128 320C128 302.3 142.3 288 160 288L544 288C561.7 288 576 302.3 576 320C576 337.7 561.7 352 544 352L160 352C142.3 352 128 337.7 128 320zM512 480C512 497.7 497.7 512 480 512L96 512C78.3 512 64 497.7 64 480C64 462.3 78.3 448 96 448L480 448C497.7 448 512 462.3 512 480z"
3892
3892
  }, null, -1)]]))]),
3893
3893
  _: 1
3894
3894
  }, 8, ["class", "onClick"])]),
3895
- default: G(() => [s("fieldset", {
3895
+ default: K(() => [s("fieldset", {
3896
3896
  class: "g-column-visibility-popover",
3897
- "aria-labelledby": `${L(J)}-column-visibility-heading`
3898
- }, [s("div", Gi, [s("span", {
3899
- id: `${L(J)}-column-visibility-heading`,
3897
+ "aria-labelledby": `${L(Y)}-column-visibility-heading`
3898
+ }, [s("div", Ki, [s("span", {
3899
+ id: `${L(Y)}-column-visibility-heading`,
3900
3900
  class: "g-column-visibility-heading"
3901
- }, " Shown columns ", 8, Ki), s("span", qi, [l(Q, {
3901
+ }, " Shown columns ", 8, qi), s("span", Ji, [l(Q, {
3902
3902
  text: "",
3903
3903
  size: "small",
3904
3904
  class: _(["g-column-visibility-show-all", { "g-column-visibility-show-all--hidden": !Je.value }]),
3905
3905
  onClick: et
3906
3906
  }, {
3907
- default: G(() => [...r[11] ||= [c(" Show All ", -1)]]),
3907
+ default: K(() => [...r[11] ||= [c(" Show All ", -1)]]),
3908
3908
  _: 1
3909
- }, 8, ["class"])])]), s("div", Ji, [(w(!0), o(e, null, O(t.columns, (e) => (w(), o("label", {
3909
+ }, 8, ["class"])])]), s("div", Yi, [(w(!0), o(e, null, O(t.columns, (e) => (w(), o("label", {
3910
3910
  key: e.key,
3911
3911
  class: "g-column-visibility-option"
3912
3912
  }, [s("input", {
3913
3913
  checked: Qe(e),
3914
3914
  type: "checkbox",
3915
3915
  onChange: (t) => $e(e, t.target.checked)
3916
- }, null, 40, Yi), s("span", null, N(e.label), 1)]))), 128))])], 8, Wi)]),
3916
+ }, null, 40, Xi), s("span", null, N(e.label), 1)]))), 128))])], 8, Gi)]),
3917
3917
  _: 1
3918
3918
  })])) : a("", !0),
3919
- Xe.value ? (w(), o("div", Xi, [k(n.$slots, "controls")])) : a("", !0),
3920
- s("div", Zi, [L(E) ? (w(), i(Q, {
3919
+ Xe.value ? (w(), o("div", Zi, [k(n.$slots, "controls")])) : a("", !0),
3920
+ s("div", Qi, [L(E) ? (w(), i(Q, {
3921
3921
  key: 0,
3922
3922
  outlined: "",
3923
3923
  size: "small",
@@ -3925,7 +3925,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3925
3925
  "aria-label": "Clear Filters",
3926
3926
  onClick: L(A)
3927
3927
  }, {
3928
- default: G(() => [...r[12] ||= [s("svg", {
3928
+ default: K(() => [...r[12] ||= [s("svg", {
3929
3929
  xmlns: "http://www.w3.org/2000/svg",
3930
3930
  viewBox: "0 0 640 640",
3931
3931
  height: "1.5em",
@@ -3937,48 +3937,48 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3937
3937
  _: 1
3938
3938
  }, 8, ["onClick"])) : a("", !0)])
3939
3939
  ]),
3940
- tt.value ? (w(), o("div", Qi, [l(ci, {
3940
+ tt.value ? (w(), o("div", $i, [l(li, {
3941
3941
  start: t.startIndex,
3942
3942
  "page-size": t.pageSize,
3943
3943
  "page-sizes": t.pageSizes,
3944
3944
  total: Ze.value,
3945
- "onUpdate:start": q,
3946
- "onUpdate:pageSize": ae
3945
+ "onUpdate:start": J,
3946
+ "onUpdate:pageSize": ie
3947
3947
  }, null, 8, [
3948
3948
  "start",
3949
3949
  "page-size",
3950
3950
  "page-sizes",
3951
3951
  "total"
3952
3952
  ])])) : a("", !0),
3953
- s("div", $i, [s("span", ea, N(Ze.value) + " results", 1), k(n.$slots, "right-controls")])
3953
+ s("div", ea, [s("span", ta, N(Ze.value) + " results", 1), k(n.$slots, "right-controls")])
3954
3954
  ])) : a("", !0),
3955
3955
  s("div", {
3956
3956
  ref_key: "tableWrapRef",
3957
- ref: le,
3957
+ ref: ce,
3958
3958
  class: "g-table-table-wrap"
3959
3959
  }, [s("table", {
3960
3960
  id: ue,
3961
3961
  class: _(["g-table", { "g-table--resizable": t.resizableColumns }]),
3962
3962
  ref_key: "tableRef",
3963
- ref: ce,
3963
+ ref: se,
3964
3964
  "aria-label": t.label,
3965
3965
  "aria-rowcount": Ze.value
3966
3966
  }, [
3967
- s("colgroup", null, [t.bulkSelectionEnabled ? (w(), o("col", na)) : a("", !0), (w(!0), o(e, null, O(Ke.value, (e) => (w(), o("col", {
3967
+ s("colgroup", null, [t.bulkSelectionEnabled ? (w(), o("col", ra)) : a("", !0), (w(!0), o(e, null, O(Ke.value, (e) => (w(), o("col", {
3968
3968
  key: e.key,
3969
3969
  "data-column-key": String(e.key),
3970
3970
  style: y(He(e))
3971
- }, null, 12, ra))), 128))]),
3972
- s("thead", ia, [s("tr", aa, [t.bulkSelectionEnabled ? (w(), o("th", oa, [s("input", {
3971
+ }, null, 12, ia))), 128))]),
3972
+ s("thead", aa, [s("tr", oa, [t.bulkSelectionEnabled ? (w(), o("th", sa, [s("input", {
3973
3973
  type: "checkbox",
3974
3974
  checked: F.value,
3975
3975
  indeterminate: I.value,
3976
3976
  onChange: H,
3977
3977
  "aria-label": F.value ? "Deselect all rows" : "Select all rows",
3978
3978
  class: "g-bulk-select-checkbox"
3979
- }, null, 40, sa)])) : a("", !0), (w(!0), o(e, null, O(Ke.value, (e) => (w(), o("th", {
3979
+ }, null, 40, ca)])) : a("", !0), (w(!0), o(e, null, O(Ke.value, (e) => (w(), o("th", {
3980
3980
  key: e.key,
3981
- id: `${L(J)}-th-${String(e.key)}`,
3981
+ id: `${L(Y)}-th-${String(e.key)}`,
3982
3982
  "aria-sort": ye(e.key),
3983
3983
  class: _([
3984
3984
  "g-th",
@@ -3987,14 +3987,14 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
3987
3987
  { filtered: L(T)[e.key] }
3988
3988
  ]),
3989
3989
  scope: "col"
3990
- }, [s("div", la, [e.sortable ? (w(), o("button", {
3990
+ }, [s("div", ua, [e.sortable ? (w(), o("button", {
3991
3991
  key: 0,
3992
3992
  type: "button",
3993
3993
  class: "g-column-head",
3994
3994
  onClick: (t) => we(e, t.shiftKey)
3995
3995
  }, [
3996
3996
  c(N(e.label) + " ", 1),
3997
- ge(e.key) === -1 ? a("", !0) : (w(), o("span", da, [(w(), o("svg", {
3997
+ ge(e.key) === -1 ? a("", !0) : (w(), o("span", fa, [(w(), o("svg", {
3998
3998
  xmlns: "http://www.w3.org/2000/svg",
3999
3999
  viewBox: "0 0 640 640",
4000
4000
  height: "1.5em",
@@ -4003,10 +4003,10 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4003
4003
  fill: "currentColor",
4004
4004
  d: "M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z"
4005
4005
  }, null, -1)]], 4))])),
4006
- ge(e.key) === -1 ? a("", !0) : (w(), o("span", fa, N(be(e.key)), 1))
4007
- ], 8, ua)) : (w(), o("span", pa, N(e.label), 1)), e.filter ? (w(), i(ct, { key: 2 }, {
4008
- trigger: G(({ toggle: t }) => [s("button", {
4009
- onClick: K(t, ["stop"]),
4006
+ ge(e.key) === -1 ? a("", !0) : (w(), o("span", pa, N(be(e.key)), 1))
4007
+ ], 8, da)) : (w(), o("span", ma, N(e.label), 1)), e.filter ? (w(), i(lt, { key: 2 }, {
4008
+ trigger: K(({ toggle: t }) => [s("button", {
4009
+ onClick: q(t, ["stop"]),
4010
4010
  "aria-label": L(T)[e.key] ? "Column Filtered" : "Filter Column",
4011
4011
  class: _(["g-filter-btn", { "g-active": L(T)[e.key] }]),
4012
4012
  type: "button"
@@ -4018,8 +4018,8 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4018
4018
  }, [s("path", {
4019
4019
  fill: "currentColor",
4020
4020
  d: "M96 128C83.1 128 71.4 135.8 66.4 147.8C61.4 159.8 64.2 173.5 73.4 182.6L256 365.3L256 480C256 488.5 259.4 496.6 265.4 502.6L329.4 566.6C338.6 575.8 352.3 578.5 364.3 573.5C376.3 568.5 384 556.9 384 544L384 365.3L566.6 182.7C575.8 173.5 578.5 159.8 573.5 147.8C568.5 135.8 556.9 128 544 128L96 128z"
4021
- })], -1)]], 10, ma)]),
4022
- default: G(() => [e.filter.type === "select" ? (w(), i(Jt, {
4021
+ })], -1)]], 10, ha)]),
4022
+ default: K(() => [e.filter.type === "select" ? (w(), i(Yt, {
4023
4023
  key: 0,
4024
4024
  modelValue: f.value[e.key],
4025
4025
  "onUpdate:modelValue": (t) => f.value[e.key] = t,
@@ -4034,7 +4034,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4034
4034
  "onUpdate:modelValue",
4035
4035
  "options",
4036
4036
  "search-description"
4037
- ])) : e.filter.type === "search" ? (w(), o("div", ha, [r[15] ||= s("span", {
4037
+ ])) : e.filter.type === "search" ? (w(), o("div", ga, [r[15] ||= s("span", {
4038
4038
  class: "g-filter-search-icon",
4039
4039
  "aria-hidden": "true"
4040
4040
  }, [s("svg", {
@@ -4044,26 +4044,26 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4044
4044
  }, [s("path", {
4045
4045
  fill: "currentColor",
4046
4046
  d: "M30 9.76A14.05 14.05 0 1 0 28.3 31l11.3 13a3.34 3.34 0 0 0 4.72-4.72L31.44 27.86A14.05 14.05 0 0 0 30 9.76ZM27.27 27a10.26 10.26 0 1 1 0-14.5 10.25 10.25 0 0 1 0 14.5Z"
4047
- })])], -1), re(s("input", {
4047
+ })])], -1), ne(s("input", {
4048
4048
  type: "search",
4049
4049
  class: "g-filter-search-input",
4050
4050
  "onUpdate:modelValue": (t) => f.value[e.key] = t,
4051
4051
  placeholder: e.filter.placeholder,
4052
4052
  "aria-label": `Search ${e.label}`
4053
- }, null, 8, ga), [[ee, f.value[e.key]]])])) : e.filter.type === "toggle" ? (w(), o("div", _a, [s("div", va, [
4054
- re(s("input", {
4053
+ }, null, 8, _a), [[W, f.value[e.key]]])])) : e.filter.type === "toggle" ? (w(), o("div", va, [s("div", ya, [
4054
+ ne(s("input", {
4055
4055
  type: "checkbox",
4056
4056
  "onUpdate:modelValue": (t) => f.value[e.key] = t,
4057
- id: `${L(J)}-filter-${String(e.key)}`,
4058
- "aria-describedby": e.filter.description ? `${L(J)}-filter-description-${String(e.key)}` : void 0
4059
- }, null, 8, ya), [[U, f.value[e.key]]]),
4060
- s("label", { for: `${L(J)}-filter-${String(e.key)}` }, N(e.filter.label), 9, ba),
4057
+ id: `${L(Y)}-filter-${String(e.key)}`,
4058
+ "aria-describedby": e.filter.description ? `${L(Y)}-filter-description-${String(e.key)}` : void 0
4059
+ }, null, 8, ba), [[U, f.value[e.key]]]),
4060
+ s("label", { for: `${L(Y)}-filter-${String(e.key)}` }, N(e.filter.label), 9, xa),
4061
4061
  e.filter.description ? (w(), o("span", {
4062
4062
  key: 0,
4063
4063
  class: "g-filter-description",
4064
- id: `${L(J)}-filter-description-${String(e.key)}`
4065
- }, N(e.filter.description), 9, xa)) : a("", !0)
4066
- ])])) : e.filter.type === "multi-select" && e.filter.searchable ? (w(), i(Or, {
4064
+ id: `${L(Y)}-filter-description-${String(e.key)}`
4065
+ }, N(e.filter.description), 9, Sa)) : a("", !0)
4066
+ ])])) : e.filter.type === "multi-select" && e.filter.searchable ? (w(), i(kr, {
4067
4067
  key: 3,
4068
4068
  modelValue: f.value[e.key],
4069
4069
  "onUpdate:modelValue": (t) => f.value[e.key] = t,
@@ -4078,7 +4078,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4078
4078
  "options",
4079
4079
  "placeholder",
4080
4080
  "search-description"
4081
- ])) : e.filter.type === "multi-select" ? (w(), o("div", Sa, [l(zr, {
4081
+ ])) : e.filter.type === "multi-select" ? (w(), o("div", Ca, [l(Br, {
4082
4082
  modelValue: f.value[e.key],
4083
4083
  "onUpdate:modelValue": (t) => f.value[e.key] = t,
4084
4084
  options: rt(e),
@@ -4094,14 +4094,14 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4094
4094
  size: "small",
4095
4095
  onClick: (t) => f.value[e.key] = []
4096
4096
  }, {
4097
- default: G(() => [...r[16] ||= [c(" Clear ", -1)]]),
4097
+ default: K(() => [...r[16] ||= [c(" Clear ", -1)]]),
4098
4098
  _: 1
4099
4099
  }, 8, ["onClick"])) : a("", !0)])) : a("", !0)]),
4100
4100
  _: 2
4101
4101
  }, 1024)) : a("", !0)]), t.resizableColumns ? (w(), o("div", {
4102
4102
  key: 0,
4103
4103
  "data-column-key": String(e.key),
4104
- class: _(["g-column-resize-handle", { "g-column-resize-handle--active": Y.value?.key === e.key }]),
4104
+ class: _(["g-column-resize-handle", { "g-column-resize-handle--active": le.value?.key === e.key }]),
4105
4105
  role: "separator",
4106
4106
  tabindex: "0",
4107
4107
  "aria-orientation": "vertical",
@@ -4111,11 +4111,11 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4111
4111
  "aria-valuemax": Fe(e.key),
4112
4112
  "aria-valuenow": Ue(e.key),
4113
4113
  "aria-valuetext": We(e.key),
4114
- onClick: r[0] ||= K(() => {}, ["stop", "prevent"]),
4114
+ onClick: r[0] ||= q(() => {}, ["stop", "prevent"]),
4115
4115
  onKeydown: (t) => Ve(t, e.key),
4116
4116
  onPointerdown: (t) => Be(t, e.key)
4117
- }, null, 42, Ca)) : a("", !0)], 10, ca))), 128))])]),
4118
- l(fr, {
4117
+ }, null, 42, wa)) : a("", !0)], 10, la))), 128))])]),
4118
+ l(pr, {
4119
4119
  data: t.data,
4120
4120
  columns: Ke.value,
4121
4121
  "group-by": t.groupBy,
@@ -4125,11 +4125,11 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4125
4125
  "start-index": t.startIndex,
4126
4126
  "bulk-selection-enabled": t.bulkSelectionEnabled,
4127
4127
  "selected-rows": m.value,
4128
- "table-id": L(J),
4128
+ "table-id": L(Y),
4129
4129
  "change-tracker": t.changeTracker,
4130
- onRowClick: W,
4131
- onToggleRow: te,
4132
- onCellChange: ie
4130
+ onRowClick: G,
4131
+ onToggleRow: ee,
4132
+ onCellChange: re
4133
4133
  }, null, 8, [
4134
4134
  "data",
4135
4135
  "columns",
@@ -4143,18 +4143,18 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4143
4143
  "table-id",
4144
4144
  "change-tracker"
4145
4145
  ])
4146
- ], 10, ta)], 512),
4147
- t.bulkSelectionEnabled && m.value.length > 0 ? (w(), o("div", wa, [s("span", Ta, N(m.value.length) + " row" + N(m.value.length === 1 ? "" : "s") + " selected", 1), s("ul", Ea, [(w(!0), o(e, null, O(t.bulkActions, (e) => (w(), o("li", { key: e.id }, [l(Q, {
4146
+ ], 10, na)], 512),
4147
+ t.bulkSelectionEnabled && m.value.length > 0 ? (w(), o("div", Ta, [s("span", Ea, N(m.value.length) + " row" + N(m.value.length === 1 ? "" : "s") + " selected", 1), s("ul", Da, [(w(!0), o(e, null, O(t.bulkActions, (e) => (w(), o("li", { key: e.id }, [l(Q, {
4148
4148
  theme: e.theme || "accent",
4149
- onClick: (t) => ne(e.id),
4149
+ onClick: (t) => te(e.id),
4150
4150
  size: "small"
4151
4151
  }, {
4152
- default: G(() => [c(N(e.label) + " " + N(m.value.length) + " row" + N(m.value.length === 1 ? "" : "s"), 1)]),
4152
+ default: K(() => [c(N(e.label) + " " + N(m.value.length) + " row" + N(m.value.length === 1 ? "" : "s"), 1)]),
4153
4153
  _: 2
4154
4154
  }, 1032, ["theme", "onClick"])]))), 128))])])) : a("", !0)
4155
4155
  ]));
4156
4156
  }
4157
- }), Oa = ["id"], ka = { class: "g-modal-inner" }, Aa = { class: "g-modal-header" }, ja = ["id"], Ma = ["id"], Na = /* @__PURE__ */ u({
4157
+ }), ka = ["id"], Aa = { class: "g-modal-inner" }, ja = { class: "g-modal-header" }, Ma = ["id"], Na = ["id"], Pa = /* @__PURE__ */ u({
4158
4158
  __name: "GModal",
4159
4159
  props: {
4160
4160
  label: {},
@@ -4168,11 +4168,11 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4168
4168
  },
4169
4169
  emits: ["close"],
4170
4170
  setup(e, { emit: c }) {
4171
- let u = e, d = c, f = H("dialog"), p = D(!0), m = z(), { pop: g, push: _, isTop: v, zIndex: y } = qe(m, !0, !0), { deactivate: x, activate: C } = tt(f, v);
4171
+ let u = e, d = c, f = H("dialog"), p = D(!0), m = z(), { pop: g, push: _, isTop: v, zIndex: y } = Je(m, !0, !0), { deactivate: x, activate: C } = nt(f, v);
4172
4172
  function T() {
4173
4173
  d("close");
4174
4174
  }
4175
- nt([f], v, p, T, g), S(() => {
4175
+ rt([f], v, p, T, g), S(() => {
4176
4176
  _(), C();
4177
4177
  }), b(() => {
4178
4178
  g(), x();
@@ -4185,7 +4185,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4185
4185
  name: "g-fade",
4186
4186
  appear: ""
4187
4187
  }, {
4188
- default: G(() => [s("div", h({
4188
+ default: K(() => [s("div", h({
4189
4189
  id: "modal-" + L(m),
4190
4190
  class: ["g-modal", E.value],
4191
4191
  role: "dialog",
@@ -4198,12 +4198,12 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4198
4198
  ref_key: "dialog",
4199
4199
  ref: f,
4200
4200
  style: { zIndex: L(y) }
4201
- }), [s("div", ka, [s("div", Aa, [e.hiddenLabel ? a("", !0) : (w(), o("h2", {
4201
+ }), [s("div", Aa, [s("div", ja, [e.hiddenLabel ? a("", !0) : (w(), o("h2", {
4202
4202
  key: 0,
4203
4203
  id: "modal-label-" + L(m),
4204
4204
  class: "g-modal-label",
4205
4205
  tabindex: "-1"
4206
- }, N(e.label), 9, ja)), s("button", {
4206
+ }, N(e.label), 9, Ma)), s("button", {
4207
4207
  class: "g-modal-close",
4208
4208
  onClick: T,
4209
4209
  "aria-label": "Close"
@@ -4218,36 +4218,36 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4218
4218
  })], -1)]])]), s("div", {
4219
4219
  id: "modal-description-" + L(m),
4220
4220
  class: "g-modal-content"
4221
- }, [k(r.$slots, "default")], 8, Ma)])], 16, Oa)]),
4221
+ }, [k(r.$slots, "default")], 8, Na)])], 16, ka)]),
4222
4222
  _: 3
4223
4223
  })]));
4224
4224
  }
4225
- }), Pa = /* @__PURE__ */ u({
4225
+ }), Fa = /* @__PURE__ */ u({
4226
4226
  __name: "GDetailList",
4227
4227
  props: { variant: { default: "grid" } },
4228
4228
  setup(e) {
4229
4229
  let t = e;
4230
4230
  return (e, n) => (w(), o("dl", { class: _(["g-detail-list", `g-detail-list--${t.variant}`]) }, [k(e.$slots, "default")], 2));
4231
4231
  }
4232
- }), Fa = { class: "g-detail-list-item" }, Ia = { class: "g-detail-list-item__label" }, La = { class: "g-detail-list-item__value" }, Ra = /* @__PURE__ */ u({
4232
+ }), Ia = { class: "g-detail-list-item" }, La = { class: "g-detail-list-item__label" }, Ra = { class: "g-detail-list-item__value" }, za = /* @__PURE__ */ u({
4233
4233
  __name: "GDetailListItem",
4234
4234
  props: { label: {} },
4235
4235
  setup(e) {
4236
- return (t, n) => (w(), o("div", Fa, [s("dt", Ia, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])]), s("dd", La, [k(t.$slots, "default")])]));
4236
+ return (t, n) => (w(), o("div", Ia, [s("dt", La, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])]), s("dd", Ra, [k(t.$slots, "default")])]));
4237
4237
  }
4238
- }), za = {
4238
+ }), Ba = {
4239
4239
  key: 0,
4240
4240
  class: "g-scroll-lock-overlay"
4241
- }, Ba = /* @__PURE__ */ u({
4241
+ }, Va = /* @__PURE__ */ u({
4242
4242
  __name: "GOverlay",
4243
4243
  setup(e) {
4244
- let { hasScrollLock: t } = Je();
4244
+ let { hasScrollLock: t } = Ye();
4245
4245
  return (e, r) => (w(), i(n, { name: "g-fade" }, {
4246
- default: G(() => [L(t) ? (w(), o("div", za)) : a("", !0)]),
4246
+ default: K(() => [L(t) ? (w(), o("div", Ba)) : a("", !0)]),
4247
4247
  _: 1
4248
4248
  }));
4249
4249
  }
4250
- }), Va = { class: "popover-content" }, Ha = { class: "year-dropdown" }, Ua = { class: "month-selector" }, Wa = /* @__PURE__ */ u({
4250
+ }), Ha = { class: "popover-content" }, Ua = { class: "year-dropdown" }, Wa = { class: "month-selector" }, Ga = /* @__PURE__ */ u({
4251
4251
  __name: "GTermSelectorControl",
4252
4252
  props: /*@__PURE__*/ m({
4253
4253
  termYears: { default: () => ["2026"] },
@@ -4268,7 +4268,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4268
4268
  emits: ["update:modelValue"],
4269
4269
  setup(e) {
4270
4270
  let t = B(e, "modelValue");
4271
- return (n, r) => (w(), o("div", Va, [s("div", Ha, [l(Jt, {
4271
+ return (n, r) => (w(), o("div", Ha, [s("div", Ua, [l(Yt, {
4272
4272
  modelValue: t.value.year,
4273
4273
  "onUpdate:modelValue": r[0] ||= (e) => t.value.year = e,
4274
4274
  options: e.termYears,
@@ -4277,7 +4277,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4277
4277
  "modelValue",
4278
4278
  "options",
4279
4279
  "label"
4280
- ])]), s("div", Ua, [l(Ct, {
4280
+ ])]), s("div", Wa, [l(wt, {
4281
4281
  modelValue: t.value.name,
4282
4282
  "onUpdate:modelValue": r[1] ||= (e) => t.value.name = e,
4283
4283
  options: e.termNames,
@@ -4289,10 +4289,10 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4289
4289
  "label"
4290
4290
  ])])]));
4291
4291
  }
4292
- }), Ga = { class: "g-term-selector" }, Ka = { class: "g-term-label" }, qa = {
4292
+ }), Ka = { class: "g-term-selector" }, qa = { class: "g-term-label" }, Ja = {
4293
4293
  class: "g-popover-title",
4294
4294
  tabindex: "-1"
4295
- }, Ja = /* @__PURE__ */ u({
4295
+ }, Ya = /* @__PURE__ */ u({
4296
4296
  __name: "GTermSelector",
4297
4297
  props: /*@__PURE__*/ m({
4298
4298
  heading: { default: "Period Selection" },
@@ -4314,20 +4314,20 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4314
4314
  emits: ["update:modelValue"],
4315
4315
  setup(e) {
4316
4316
  let t = B(e, "modelValue");
4317
- return (n, r) => (w(), o("div", Ga, [l(ct, null, {
4318
- trigger: G(({ toggle: e }) => [l(Q, {
4317
+ return (n, r) => (w(), o("div", Ka, [l(lt, null, {
4318
+ trigger: K(({ toggle: e }) => [l(Q, {
4319
4319
  class: "g-term-selector-button",
4320
4320
  theme: "none",
4321
4321
  outlined: "",
4322
4322
  onClick: e
4323
4323
  }, {
4324
- default: G(() => [
4324
+ default: K(() => [
4325
4325
  r[0] ||= s("span", { class: "g-calendar-icon" }, [s("svg", {
4326
4326
  role: "none",
4327
4327
  xmlns: "http://www.w3.org/2000/svg",
4328
4328
  viewBox: "0 0 640 640"
4329
4329
  }, [s("path", { d: "M224 64C206.3 64 192 78.3 192 96L192 128L160 128C124.7 128 96 156.7 96 192L96 240L544 240L544 192C544 156.7 515.3 128 480 128L448 128L448 96C448 78.3 433.7 64 416 64C398.3 64 384 78.3 384 96L384 128L256 128L256 96C256 78.3 241.7 64 224 64zM96 288L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 288L96 288z" })])], -1),
4330
- s("span", Ka, N(t.value?.name) + " " + N(t.value?.year), 1),
4330
+ s("span", qa, N(t.value?.name) + " " + N(t.value?.year), 1),
4331
4331
  r[1] ||= s("span", { class: "g-caret" }, [s("svg", {
4332
4332
  role: "none",
4333
4333
  xmlns: "http://www.w3.org/2000/svg",
@@ -4336,15 +4336,15 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4336
4336
  ]),
4337
4337
  _: 1
4338
4338
  }, 8, ["onClick"])]),
4339
- default: G(() => [s("h2", qa, N(e.heading), 1), l(Wa, v(f(n.$props)), null, 16)]),
4339
+ default: K(() => [s("h2", Ja, N(e.heading), 1), l(Ga, v(f(n.$props)), null, 16)]),
4340
4340
  _: 1
4341
4341
  })]));
4342
4342
  }
4343
- }), Ya = { class: "g-user-menu" }, Xa = [
4343
+ }), Xa = { class: "g-user-menu" }, Za = [
4344
4344
  "aria-label",
4345
4345
  "aria-expanded",
4346
4346
  "onClick"
4347
- ], Za = { class: "g-user-menu__popover" }, Qa = { class: "g-user-menu__list" }, $a = /* @__PURE__ */ u({
4347
+ ], Qa = { class: "g-user-menu__popover" }, $a = { class: "g-user-menu__list" }, eo = /* @__PURE__ */ u({
4348
4348
  __name: "GUserMenu",
4349
4349
  props: {
4350
4350
  initials: {},
@@ -4356,20 +4356,20 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4356
4356
  let n = `${z()}-email`, r = D(!1), a = H("emailHeading");
4357
4357
  d()?.appContext?.components?.RouterLink;
4358
4358
  let c = V();
4359
- return (u, d) => (w(), o("div", Ya, [l(ct, {
4359
+ return (u, d) => (w(), o("div", Xa, [l(lt, {
4360
4360
  modelValue: r.value,
4361
4361
  "onUpdate:modelValue": d[0] ||= (e) => r.value = e,
4362
4362
  minimal: ""
4363
4363
  }, {
4364
- trigger: G(({ toggle: e }) => [s("button", {
4364
+ trigger: K(({ toggle: e }) => [s("button", {
4365
4365
  class: "g-user-menu__avatar",
4366
4366
  style: y({ backgroundColor: t.color }),
4367
4367
  "aria-label": t.initials + " - " + t.label,
4368
4368
  "aria-expanded": r.value,
4369
4369
  "aria-haspopup": "menu",
4370
4370
  onClick: e
4371
- }, N(t.initials), 13, Xa)]),
4372
- default: G(() => [s("div", Za, [s("h2", {
4371
+ }, N(t.initials), 13, Za)]),
4372
+ default: K(() => [s("div", Qa, [s("h2", {
4373
4373
  id: n,
4374
4374
  ref_key: "emailHeading",
4375
4375
  ref: a,
@@ -4378,11 +4378,11 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4378
4378
  }, N(t.email), 513), s("nav", {
4379
4379
  class: "g-user-menu__nav",
4380
4380
  "aria-labelledby": n
4381
- }, [s("ul", Qa, [(w(!0), o(e, null, O(c.default(), (e, t) => (w(), o("li", { key: t }, [(w(), i(A(e)))]))), 128))])])])]),
4381
+ }, [s("ul", $a, [(w(!0), o(e, null, O(c.default(), (e, t) => (w(), o("li", { key: t }, [(w(), i(A(e)))]))), 128))])])])]),
4382
4382
  _: 1
4383
4383
  }, 8, ["modelValue"])]));
4384
4384
  }
4385
- }), eo = /* @__PURE__ */ u({
4385
+ }), to = /* @__PURE__ */ u({
4386
4386
  __name: "GCurrencyInput",
4387
4387
  props: /*@__PURE__*/ m({
4388
4388
  label: { default: void 0 },
@@ -4406,7 +4406,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4406
4406
  emits: ["update:modelValue"],
4407
4407
  setup(e) {
4408
4408
  let t = e, n = B(e, "modelValue");
4409
- return (e, r) => (w(), i(ze, h({
4409
+ return (e, r) => (w(), i(Be, h({
4410
4410
  modelValue: n.value,
4411
4411
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
4412
4412
  name: t.name,
@@ -4433,7 +4433,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4433
4433
  "form-key"
4434
4434
  ]));
4435
4435
  }
4436
- }), to = /* @__PURE__ */ u({
4436
+ }), no = /* @__PURE__ */ u({
4437
4437
  __name: "GEmailInput",
4438
4438
  props: /*@__PURE__*/ m({
4439
4439
  label: { default: void 0 },
@@ -4456,7 +4456,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4456
4456
  emits: ["update:modelValue"],
4457
4457
  setup(e) {
4458
4458
  let t = B(e, "modelValue");
4459
- return (n, r) => (w(), i(ze, h({
4459
+ return (n, r) => (w(), i(Be, h({
4460
4460
  modelValue: t.value,
4461
4461
  "onUpdate:modelValue": r[0] ||= (e) => t.value = e,
4462
4462
  name: e.name,
@@ -4478,13 +4478,13 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4478
4478
  "instructions"
4479
4479
  ]));
4480
4480
  }
4481
- }), no = ["for"], ro = {
4481
+ }), ro = ["for"], io = {
4482
4482
  key: 0,
4483
4483
  class: "g-file-input-required"
4484
- }, io = {
4484
+ }, ao = {
4485
4485
  key: 0,
4486
4486
  class: "g-file-input-box-header"
4487
- }, ao = ["id"], oo = [
4487
+ }, oo = ["id"], so = [
4488
4488
  "id",
4489
4489
  "disabled",
4490
4490
  "required",
@@ -4493,11 +4493,11 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4493
4493
  "aria-invalid",
4494
4494
  "aria-describedby",
4495
4495
  "aria-errormessage"
4496
- ], so = {
4496
+ ], co = {
4497
4497
  key: 1,
4498
4498
  class: "g-file-input-pills",
4499
4499
  "aria-label": "Selected files"
4500
- }, co = /* @__PURE__ */ u({
4500
+ }, lo = /* @__PURE__ */ u({
4501
4501
  inheritAttrs: !1,
4502
4502
  __name: "GFileInput",
4503
4503
  props: /*@__PURE__*/ m({
@@ -4554,12 +4554,12 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4554
4554
  key: 0,
4555
4555
  for: L(d),
4556
4556
  class: "g-file-input-label"
4557
- }, [c(N(t.label) + " ", 1), t.required ? (w(), o("span", ro, "*")) : a("", !0)], 8, no)) : a("", !0),
4557
+ }, [c(N(t.label) + " ", 1), t.required ? (w(), o("span", io, "*")) : a("", !0)], 8, ro)) : a("", !0),
4558
4558
  s("div", { class: _(["g-file-input-box", { "g-file-input-box--disabled": t.disabled }]) }, [
4559
- t.instructions ? (w(), o("div", io, [s("span", {
4559
+ t.instructions ? (w(), o("div", ao, [s("span", {
4560
4560
  id: "instructions-" + L(d),
4561
4561
  class: "g-file-input-instructions"
4562
- }, N(t.instructions), 9, ao)])) : a("", !0),
4562
+ }, N(t.instructions), 9, oo)])) : a("", !0),
4563
4563
  s("input", {
4564
4564
  id: L(d),
4565
4565
  type: "file",
@@ -4572,8 +4572,8 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4572
4572
  "aria-describedby": t.instructions ? "instructions-" + L(d) : void 0,
4573
4573
  "aria-errormessage": y.value ? "error-message-" + L(d) : void 0,
4574
4574
  onChange: g
4575
- }, null, 40, oo),
4576
- t.multiple && b.value.length > 0 ? (w(), o("ul", so, [(w(!0), o(e, null, O(b.value, (e) => (w(), o("li", {
4575
+ }, null, 40, so),
4576
+ t.multiple && b.value.length > 0 ? (w(), o("ul", co, [(w(!0), o(e, null, O(b.value, (e) => (w(), o("li", {
4577
4577
  key: e,
4578
4578
  class: "g-file-input-pill"
4579
4579
  }, [r[0] ||= s("svg", {
@@ -4583,13 +4583,13 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4583
4583
  viewBox: "0 0 640 640"
4584
4584
  }, [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)
4585
4585
  ], 2),
4586
- l(Me, {
4586
+ l(Ne, {
4587
4587
  errors: v.value,
4588
4588
  id: "error-message-" + L(d)
4589
4589
  }, null, 8, ["errors", "id"])
4590
4590
  ], 2));
4591
4591
  }
4592
- }), lo = /* @__PURE__ */ u({
4592
+ }), uo = /* @__PURE__ */ u({
4593
4593
  __name: "GDateInput",
4594
4594
  props: /*@__PURE__*/ m({
4595
4595
  label: { default: void 0 },
@@ -4613,7 +4613,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4613
4613
  emits: ["update:modelValue"],
4614
4614
  setup(e) {
4615
4615
  let t = e, n = B(e, "modelValue");
4616
- return (e, r) => (w(), i(ze, h({
4616
+ return (e, r) => (w(), i(Be, h({
4617
4617
  modelValue: n.value,
4618
4618
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
4619
4619
  name: t.name,
@@ -4637,21 +4637,21 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4637
4637
  "form-key"
4638
4638
  ]));
4639
4639
  }
4640
- }), uo = { class: "g-date-range-input" }, fo = {
4640
+ }), fo = { class: "g-date-range-input" }, po = {
4641
4641
  key: 0,
4642
4642
  class: "g-date-range-input__label"
4643
- }, po = {
4643
+ }, mo = {
4644
4644
  key: 0,
4645
4645
  class: "g-date-range-input__required",
4646
4646
  "aria-hidden": "true"
4647
- }, mo = {
4647
+ }, ho = {
4648
4648
  key: 1,
4649
4649
  class: "g-date-range-input__instructions"
4650
- }, ho = { class: "g-date-range-input__fields" }, go = {
4650
+ }, go = { class: "g-date-range-input__fields" }, _o = {
4651
4651
  key: 2,
4652
4652
  class: "g-date-range-input__errors",
4653
4653
  role: "alert"
4654
- }, _o = /* @__PURE__ */ u({
4654
+ }, vo = /* @__PURE__ */ u({
4655
4655
  __name: "GDateRangeInput",
4656
4656
  props: /*@__PURE__*/ m({
4657
4657
  label: { default: void 0 },
@@ -4684,17 +4684,17 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4684
4684
  errors: F(n, "errors"),
4685
4685
  formKey: n.formKey
4686
4686
  });
4687
- return W([i, u], () => {
4687
+ return G([i, u], () => {
4688
4688
  r.value = {
4689
4689
  start: i.value,
4690
4690
  end: u.value
4691
4691
  };
4692
- }), W(r, (e) => {
4692
+ }), G(r, (e) => {
4693
4693
  e.start !== i.value && (i.value = e.start), e.end !== u.value && (u.value = e.end);
4694
- }, { deep: !0 }), (t, r) => (w(), o("div", uo, [
4695
- n.label ? (w(), o("div", fo, [c(N(n.label), 1), n.required ? (w(), o("span", po, " *")) : a("", !0)])) : a("", !0),
4696
- n.instructions ? (w(), o("div", mo, N(n.instructions), 1)) : a("", !0),
4697
- s("div", ho, [l(lo, {
4694
+ }, { deep: !0 }), (t, r) => (w(), o("div", fo, [
4695
+ n.label ? (w(), o("div", po, [c(N(n.label), 1), n.required ? (w(), o("span", mo, " *")) : a("", !0)])) : a("", !0),
4696
+ n.instructions ? (w(), o("div", ho, N(n.instructions), 1)) : a("", !0),
4697
+ s("div", go, [l(uo, {
4698
4698
  modelValue: i.value,
4699
4699
  "onUpdate:modelValue": r[0] ||= (e) => i.value = e,
4700
4700
  label: n.startLabel,
@@ -4706,7 +4706,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4706
4706
  "label",
4707
4707
  "disabled",
4708
4708
  "required"
4709
- ]), l(lo, {
4709
+ ]), l(uo, {
4710
4710
  modelValue: u.value,
4711
4711
  "onUpdate:modelValue": r[1] ||= (e) => u.value = e,
4712
4712
  label: n.endLabel,
@@ -4719,13 +4719,13 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4719
4719
  "disabled",
4720
4720
  "required"
4721
4721
  ])]),
4722
- L(d).length > 0 ? (w(), o("div", go, [(w(!0), o(e, null, O(L(d), (e, t) => (w(), o("div", {
4722
+ L(d).length > 0 ? (w(), o("div", _o, [(w(!0), o(e, null, O(L(d), (e, t) => (w(), o("div", {
4723
4723
  key: t,
4724
4724
  class: "g-date-range-input__error"
4725
4725
  }, N(e), 1))), 128))])) : a("", !0)
4726
4726
  ]));
4727
4727
  }
4728
- }), vo = ["action", "method"], yo = /* @__PURE__ */ u({
4728
+ }), yo = ["action", "method"], bo = /* @__PURE__ */ u({
4729
4729
  __name: "GForm",
4730
4730
  props: /*@__PURE__*/ m({
4731
4731
  action: { default: void 0 },
@@ -4737,10 +4737,10 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4737
4737
  }),
4738
4738
  emits: /*@__PURE__*/ m(["submit"], ["update:modelValue"]),
4739
4739
  setup(e, { emit: t }) {
4740
- let n = e, r = B(e, "modelValue"), i = t, a = p("form", null), s = a ?? (Z() ? Ae(n.formKey) : Oe());
4741
- a || T("form", s), W(() => s.values.value, (e) => {
4740
+ let n = e, r = B(e, "modelValue"), i = t, a = p("form", null), s = a ?? (Z() ? je(n.formKey) : ke());
4741
+ a || T("form", s), G(() => s.values.value, (e) => {
4742
4742
  r.value = { ...e };
4743
- }, { deep: !0 }), W(() => r.value, (e) => {
4743
+ }, { deep: !0 }), G(() => r.value, (e) => {
4744
4744
  e && Object.entries(e).forEach(([e, t]) => {
4745
4745
  let n = s.fields[e];
4746
4746
  n && n.value.value !== t && (n.value.value = t);
@@ -4765,9 +4765,9 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4765
4765
  hasErrors: L(s).hasErrors.value,
4766
4766
  values: L(s).values.value,
4767
4767
  errors: L(s).errors.value
4768
- })], 40, vo));
4768
+ })], 40, yo));
4769
4769
  }
4770
- }), bo = /* @__PURE__ */ u({
4770
+ }), xo = /* @__PURE__ */ u({
4771
4771
  __name: "GSubmitButton",
4772
4772
  props: {
4773
4773
  disabled: {
@@ -4779,22 +4779,22 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4779
4779
  formKey: { default: "default" }
4780
4780
  },
4781
4781
  setup(e) {
4782
- 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) ?? (Z() ? Ae(o) : null), u = r(() => t.disabled || (l?.isSubmitting.value ?? !1)), d = r(() => l?.isSubmitting.value ?? !1);
4782
+ 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) ?? (Z() ? je(o) : null), u = r(() => t.disabled || (l?.isSubmitting.value ?? !1)), d = r(() => l?.isSubmitting.value ?? !1);
4783
4783
  return (e, n) => (w(), i(Q, {
4784
4784
  type: "submit",
4785
4785
  disabled: u.value,
4786
4786
  variant: t.variant,
4787
4787
  class: "g-submit-button"
4788
4788
  }, {
4789
- default: G(() => [re(s("span", null, N(t.loadingText), 513), [[te, d.value]]), re(s("span", null, [k(e.$slots, "default", {}, () => [n[0] ||= c("Submit", -1)])], 512), [[te, !d.value]])]),
4789
+ default: K(() => [ne(s("span", null, N(t.loadingText), 513), [[ee, d.value]]), ne(s("span", null, [k(e.$slots, "default", {}, () => [n[0] ||= c("Submit", -1)])], 512), [[ee, !d.value]])]),
4790
4790
  _: 3
4791
4791
  }, 8, ["disabled", "variant"]));
4792
4792
  }
4793
- }), xo = ["for"], So = {
4793
+ }), So = ["for"], Co = {
4794
4794
  key: 0,
4795
4795
  class: "g-textarea-required",
4796
4796
  "aria-hidden": "true"
4797
- }, Co = ["id"], wo = [
4797
+ }, wo = ["id"], To = [
4798
4798
  "value",
4799
4799
  "placeholder",
4800
4800
  "disabled",
@@ -4803,11 +4803,11 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4803
4803
  "rows",
4804
4804
  "maxlength",
4805
4805
  "aria-invalid"
4806
- ], To = {
4806
+ ], Eo = {
4807
4807
  key: 2,
4808
4808
  class: "g-textarea-char-count",
4809
4809
  "aria-live": "polite"
4810
- }, Eo = /* @__PURE__ */ u({
4810
+ }, Do = /* @__PURE__ */ u({
4811
4811
  inheritAttrs: !1,
4812
4812
  __name: "GTextarea",
4813
4813
  props: /*@__PURE__*/ m({
@@ -4841,7 +4841,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4841
4841
  }),
4842
4842
  emits: /*@__PURE__*/ m(["change"], ["update:modelValue"]),
4843
4843
  setup(e, { emit: t }) {
4844
- let n = e, i = B(e, "modelValue"), u = z(), { attrs: d, isCustomElement: f, forwardedAttrs: p } = pe({ omitInCustomElement: ["id"] }), m = r(() => f ? u : d.id || u), { displayErrors: v, hasErrors: y } = $({
4844
+ let n = e, i = B(e, "modelValue"), u = z(), { attrs: d, isCustomElement: f, forwardedAttrs: p } = me({ omitInCustomElement: ["id"] }), m = r(() => f ? u : d.id || u), { displayErrors: v, hasErrors: y } = $({
4845
4845
  name: n.name,
4846
4846
  value: i,
4847
4847
  errors: F(n, "errors"),
@@ -4851,7 +4851,7 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4851
4851
  let e = x.value;
4852
4852
  e && (e.style.height = "auto", e.style.height = `${e.scrollHeight}px`);
4853
4853
  }
4854
- W(() => i.value, () => {
4854
+ G(() => i.value, () => {
4855
4855
  n.autoGrow && g(S);
4856
4856
  });
4857
4857
  function C(e) {
@@ -4881,12 +4881,12 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4881
4881
  key: 0,
4882
4882
  for: m.value,
4883
4883
  class: "g-textarea-label"
4884
- }, [c(N(n.label), 1), n.required ? (w(), o("span", So, " *")) : a("", !0)], 8, xo)) : a("", !0),
4884
+ }, [c(N(n.label), 1), n.required ? (w(), o("span", Co, " *")) : a("", !0)], 8, So)) : a("", !0),
4885
4885
  t.$slots.instructions || e.instructions ? (w(), o("div", {
4886
4886
  key: 1,
4887
4887
  id: "instructions-" + L(u),
4888
4888
  class: "g-textarea-instructions"
4889
- }, [k(t.$slots, "instructions", {}, () => [c(N(e.instructions), 1)])], 8, Co)) : a("", !0),
4889
+ }, [k(t.$slots, "instructions", {}, () => [c(N(e.instructions), 1)])], 8, wo)) : a("", !0),
4890
4890
  s("textarea", h({
4891
4891
  ref: "textareaEl",
4892
4892
  value: i.value ?? "",
@@ -4907,36 +4907,101 @@ var bi = { class: "g-table-outer-wrap" }, xi = {
4907
4907
  onInput: T,
4908
4908
  onBlur: E,
4909
4909
  onPaste: D
4910
- }), null, 16, wo),
4911
- n.maxlength === void 0 ? a("", !0) : (w(), o("div", To, N((i.value ?? "").length) + " / " + N(n.maxlength), 1)),
4912
- l(Me, {
4910
+ }), null, 16, To),
4911
+ n.maxlength === void 0 ? a("", !0) : (w(), o("div", Eo, N((i.value ?? "").length) + " / " + N(n.maxlength), 1)),
4912
+ l(Ne, {
4913
4913
  errors: L(v),
4914
4914
  id: "error-message-" + L(u)
4915
4915
  }, null, 8, ["errors", "id"])
4916
4916
  ], 2));
4917
4917
  }
4918
+ }), Oo = { class: "g-toggle-wrapper" }, ko = { class: "g-toggle-control" }, Ao = ["for"], jo = [
4919
+ "id",
4920
+ "checked",
4921
+ "disabled",
4922
+ "aria-describedby",
4923
+ "aria-invalid",
4924
+ "aria-errormessage"
4925
+ ], Mo = ["id"], No = /* @__PURE__ */ u({
4926
+ __name: "GToggle",
4927
+ props: /*@__PURE__*/ m({
4928
+ label: {},
4929
+ describedby: {},
4930
+ error: {},
4931
+ disabled: { type: Boolean }
4932
+ }, {
4933
+ modelValue: {
4934
+ type: Boolean,
4935
+ default: !1
4936
+ },
4937
+ modelModifiers: {}
4938
+ }),
4939
+ emits: /*@__PURE__*/ m(["change"], ["update:modelValue"]),
4940
+ setup(e, { emit: t }) {
4941
+ let n = e, r = B(e, "modelValue"), i = t;
4942
+ function l(e) {
4943
+ let t = r.value;
4944
+ r.value = e, e !== t && i("change", {
4945
+ was: t,
4946
+ to: e
4947
+ });
4948
+ }
4949
+ function u(e) {
4950
+ n.disabled || l(e);
4951
+ }
4952
+ function d(e) {
4953
+ e.target instanceof HTMLInputElement && u(e.target.checked);
4954
+ }
4955
+ function f(e) {
4956
+ n.disabled || (e.key === "n" || e.key === "N" || e.key === "ArrowLeft" ? (l(!1), e.preventDefault()) : (e.key === "y" || e.key === "Y" || e.key === "ArrowRight") && (l(!0), e.preventDefault()));
4957
+ }
4958
+ let p = z(), m = z();
4959
+ return (t, n) => (w(), o("div", Oo, [s("div", ko, [s("label", {
4960
+ class: "g-label",
4961
+ for: L(m)
4962
+ }, [k(t.$slots, "label", {}, () => [c(N(e.label), 1)])], 8, Ao), s("div", { class: _(["g-toggle", { "g-has-error": e.error }]) }, [s("div", { class: _(["g-toggle-track", [r.value ? "g-right" : "g-left", { "g-disabled": e.disabled }]]) }, [s("span", {
4963
+ class: _(["g-toggle-thumb", r.value ? "g-right" : "g-left"]),
4964
+ "aria-hidden": "true"
4965
+ }, null, 2), s("input", {
4966
+ id: L(m),
4967
+ type: "checkbox",
4968
+ checked: r.value,
4969
+ disabled: e.disabled,
4970
+ "aria-describedby": e.describedby,
4971
+ "aria-invalid": e.error ? "true" : void 0,
4972
+ "aria-errormessage": e.error ? L(p) + "-error" : void 0,
4973
+ onChange: d,
4974
+ onKeydown: f
4975
+ }, null, 40, jo)], 2)], 2)]), e.error ? (w(), o("div", {
4976
+ key: 0,
4977
+ id: `${L(p)}-error`,
4978
+ class: "g-form-error",
4979
+ role: "alert",
4980
+ "aria-atomic": "true"
4981
+ }, N(e.error), 9, Mo)) : a("", !0)]));
4982
+ }
4918
4983
  });
4919
4984
  //#endregion
4920
4985
  //#region src/compose/useActiveLink.ts
4921
- function Do(e, t, n) {
4986
+ function Po(e, t, n) {
4922
4987
  let r = [
4923
4988
  0,
4924
4989
  .25,
4925
4990
  .5,
4926
4991
  .75,
4927
4992
  1
4928
- ], i = `${-t}px 0px 0px 0px`, a = /* @__PURE__ */ new Map(), o = D(Array.from(J(e)?.children || [])), s = () => {
4929
- let t = Array.from(J(e)?.children || []), n = new Set(t);
4993
+ ], i = `${-t}px 0px 0px 0px`, a = /* @__PURE__ */ new Map(), o = D(Array.from(Y(e)?.children || [])), s = () => {
4994
+ let t = Array.from(Y(e)?.children || []), n = new Set(t);
4930
4995
  for (let e of a.keys()) n.has(e) || a.delete(e);
4931
4996
  o.value = t;
4932
4997
  };
4933
- W(() => J(e), () => {
4998
+ G(() => Y(e), () => {
4934
4999
  s();
4935
5000
  }, {
4936
5001
  immediate: !0,
4937
5002
  flush: "post"
4938
- }), ue(e, s, { childList: !0 });
4939
- let { stop: c } = le(o, (e) => {
5003
+ }), de(e, s, { childList: !0 });
5004
+ let { stop: c } = ce(o, (e) => {
4940
5005
  let t = o.value[o.value.length - 1];
4941
5006
  for (let n of e) a.set(n.target, n.isIntersecting ? Math.ceil(100 * n.intersectionRatio) / 100 : 0), n.target === t && n.intersectionRatio === 1 && a.set(n.target, Infinity);
4942
5007
  let r = null, i = 0;
@@ -4955,8 +5020,8 @@ function Do(e, t, n) {
4955
5020
  }
4956
5021
  //#endregion
4957
5022
  //#region src/compose/useSidebar.ts
4958
- function Oo(e = "(max-width: 800px)") {
4959
- let t = z(), n = D(!1), r = Y(e, { ssrWidth: 1e3 });
5023
+ function Fo(e = "(max-width: 800px)") {
5024
+ let t = z(), n = D(!1), r = ue(e, { ssrWidth: 1e3 });
4960
5025
  function i(e) {
4961
5026
  if (!r.value || !n.value) return;
4962
5027
  let i = e.target, a = document.getElementById(`${t}-sidebar`), o = document.getElementById(`${t}-hamburger`);
@@ -4972,7 +5037,7 @@ function Oo(e = "(max-width: 800px)") {
4972
5037
  }, 5));
4973
5038
  }
4974
5039
  return S(() => {
4975
- W(r, (e) => {
5040
+ G(r, (e) => {
4976
5041
  e ? (document.addEventListener("mousedown", i), document.addEventListener("focusin", a)) : (document.removeEventListener("mousedown", i), document.removeEventListener("focusin", a));
4977
5042
  }, { immediate: !0 });
4978
5043
  }), x(() => {
@@ -4986,41 +5051,41 @@ function Oo(e = "(max-width: 800px)") {
4986
5051
  }
4987
5052
  //#endregion
4988
5053
  //#region src/compose/usePaging.ts
4989
- function ko(e) {
5054
+ function Io(e) {
4990
5055
  let t = /* @__PURE__ */ new Set();
4991
5056
  return (e ?? []).filter((e) => !e?.key || t.has(e.key) || e.order !== 1 && e.order !== -1 ? !1 : (t.add(e.key), !0));
4992
5057
  }
4993
- function Ao(e) {
4994
- return e == null ? [] : ko((typeof e == "string" ? e.split(",") : e).filter((e) => e !== null).map((e) => e.trim()).filter(Boolean).map((e) => ({
5058
+ function Lo(e) {
5059
+ return e == null ? [] : Io((typeof e == "string" ? e.split(",") : e).filter((e) => e !== null).map((e) => e.trim()).filter(Boolean).map((e) => ({
4995
5060
  key: e.replace(/^-/, ""),
4996
5061
  order: e.startsWith("-") ? -1 : 1
4997
5062
  })));
4998
5063
  }
4999
- function jo(e) {
5000
- let t = ko(e);
5064
+ function Ro(e) {
5065
+ let t = Io(e);
5001
5066
  if (t.length !== 0) return t.map(({ key: e, order: t }) => `${t === -1 ? "-" : ""}${e}`);
5002
5067
  }
5003
- function Mo(e, t = []) {
5004
- let n = ko(e);
5068
+ function zo(e, t = []) {
5069
+ let n = Io(e);
5005
5070
  if (n.length === 0) return;
5006
5071
  let r = n.map(({ key: e, order: t }) => `${t === -1 ? "-" : ""}${e}`), i = new Set(n.map(({ key: e }) => String(e))), a = n.length === 1 && n[0].order === -1 ? "-" : "";
5007
5072
  return t.forEach((e) => {
5008
5073
  i.has(e) || r.push(`${a}${e}`);
5009
5074
  }), r.join(",");
5010
5075
  }
5011
- function No(e) {
5076
+ function Bo(e) {
5012
5077
  return Array.isArray(e) ? [...e] : e;
5013
5078
  }
5014
- function Po(e, t) {
5079
+ function Vo(e, t) {
5015
5080
  return Array.isArray(e) || Array.isArray(t) ? !Array.isArray(e) || !Array.isArray(t) ? !1 : e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
5016
5081
  }
5017
- function Fo(e, t) {
5082
+ function Ho(e, t) {
5018
5083
  return e.length === t.length && e.every((e, n) => {
5019
5084
  let r = t[n];
5020
5085
  return e.key === r?.key && e.order === r?.order;
5021
5086
  });
5022
5087
  }
5023
- function Io(e, t) {
5088
+ function Uo(e, t) {
5024
5089
  if (typeof e == "string") return Number(e);
5025
5090
  if (Array.isArray(e)) {
5026
5091
  let n = e.find((e) => e !== null);
@@ -5028,35 +5093,35 @@ function Io(e, t) {
5028
5093
  }
5029
5094
  return t;
5030
5095
  }
5031
- function Lo(e = {}) {
5096
+ function Wo(e = {}) {
5032
5097
  let t = e.defaultPageSize ?? 50, n = e.defaultPageOffset ?? 0, i = e.sortKey ?? "sort", a = e.pageSizeKey ?? "pageSize", o = e.pageOffsetKey ?? "pageOffset", s = M([]), c = D(t), l = D(n);
5033
- return e.route && e.router && (W(() => e.route?.query[i], (e) => {
5034
- let t = Ao(e);
5035
- Fo(s.value, t) || (s.value = t);
5036
- }, { immediate: !0 }), W(() => e.route?.query[a], (e) => {
5037
- let n = Io(e, t);
5098
+ return e.route && e.router && (G(() => e.route?.query[i], (e) => {
5099
+ let t = Lo(e);
5100
+ Ho(s.value, t) || (s.value = t);
5101
+ }, { immediate: !0 }), G(() => e.route?.query[a], (e) => {
5102
+ let n = Uo(e, t);
5038
5103
  c.value !== n && (c.value = n);
5039
- }, { immediate: !0 }), W(() => e.route?.query[o], (e) => {
5040
- let t = Io(e, n);
5104
+ }, { immediate: !0 }), G(() => e.route?.query[o], (e) => {
5105
+ let t = Uo(e, n);
5041
5106
  l.value !== t && (l.value = t);
5042
- }, { immediate: !0 }), W([
5107
+ }, { immediate: !0 }), G([
5043
5108
  s,
5044
5109
  c,
5045
5110
  l
5046
5111
  ], ([r, s, c]) => {
5047
- let l = { ...e.route.query }, u = jo(r);
5048
- u === void 0 ? delete l[i] : l[i] = No(u), s === t || s === void 0 ? delete l[a] : l[a] = String(s), c === n || c === void 0 ? delete l[o] : l[o] = String(c);
5112
+ let l = { ...e.route.query }, u = Ro(r);
5113
+ u === void 0 ? delete l[i] : l[i] = Bo(u), s === t || s === void 0 ? delete l[a] : l[a] = String(s), c === n || c === void 0 ? delete l[o] : l[o] = String(c);
5049
5114
  let d = /* @__PURE__ */ new Set([...Object.keys(e.route.query), ...Object.keys(l)]), f = !1;
5050
- for (let t of d) if (!Po(e.route.query[t], l[t])) {
5115
+ for (let t of d) if (!Vo(e.route.query[t], l[t])) {
5051
5116
  f = !0;
5052
5117
  break;
5053
5118
  }
5054
5119
  f && e.router.replace({ query: l });
5055
5120
  })), {
5056
5121
  sort: r({
5057
- get: () => ko(s.value),
5122
+ get: () => Io(s.value),
5058
5123
  set: (e) => {
5059
- s.value = ko(e);
5124
+ s.value = Io(e);
5060
5125
  }
5061
5126
  }),
5062
5127
  pageSize: c,
@@ -5065,8 +5130,8 @@ function Lo(e = {}) {
5065
5130
  }
5066
5131
  //#endregion
5067
5132
  //#region src/compose/useTableChanges.ts
5068
- function Ro() {
5069
- let e = j(/* @__PURE__ */ new Map()), t = ie(), n = (n) => {
5133
+ function Go() {
5134
+ let e = j(/* @__PURE__ */ new Map()), t = re(), n = (n) => {
5070
5135
  let r = n.column.key, i = n.row.key, a = n.value, o = n.previousValue;
5071
5136
  e.has(i) || e.set(i, j(/* @__PURE__ */ new Map()));
5072
5137
  let s = e.get(i), c = s.get(r), l = c ? c.previousValue : o, u = c?.error;
@@ -5168,6 +5233,24 @@ function Ro() {
5168
5233
  };
5169
5234
  }
5170
5235
  //#endregion
5171
- export { rt as $, fi as A, On as B, Na as C, gi as D, li as E, fr as F, cn as G, Sn as H, Zn as I, Pt as J, an as K, In as L, vi as M, zr as N, ui as O, Or as P, ct as Q, jn as R, Pa as S, di as T, xn as U, wn as V, pn as W, Ct as X, Ot as Y, gt as Z, $a as _, jo as a, $ as at, Ba as b, Do as c, De as ct, yo as d, Q as dt, nt as et, _o as f, eo as g, to as h, Ao as i, ze as it, yi as j, _i as k, Eo as l, xe as lt, co as m, Mo as n, qe as nt, Lo as o, Ae as ot, lo as p, Jt as q, ko as r, Je as rt, Oo as s, Oe as st, Ro as t, tt, bo as u, be as ut, Ja as v, Da as w, Ra as x, Wa as y, kn as z };
5236
+ //#region src/compose/usePersistentTableColumnState.ts
5237
+ function Ko(e, t) {
5238
+ if (!e || typeof e != "object" || Array.isArray(e)) return {};
5239
+ let n = new Set(t.map(({ key: e }) => String(e))), r = {};
5240
+ for (let [t, i] of Object.entries(e)) {
5241
+ if (!n.has(t) || !i || typeof i != "object" || Array.isArray(i)) continue;
5242
+ let e = {};
5243
+ "visible" in i && typeof i.visible == "boolean" && (e.visible = i.visible), "width" in i && typeof i.width == "number" && Number.isFinite(i.width) && (e.width = Math.max(50, Math.round(i.width))), Object.keys(e).length > 0 && (r[t] = e);
5244
+ }
5245
+ return r;
5246
+ }
5247
+ function qo(e, t) {
5248
+ let n = le(e, {});
5249
+ return G(() => I(t).map(({ key: e }) => String(e)), () => {
5250
+ n.value = Ko(n.value, I(t));
5251
+ }, { immediate: !0 }), { columnState: n };
5252
+ }
5253
+ //#endregion
5254
+ export { _t as $, di as A, Mn as B, za as C, fi as D, Oa as E, Br as F, Sn as G, kn as H, kr as I, on as J, mn as K, pr as L, pi as M, bi as N, ui as O, yi as P, wt as Q, Qn as R, Va as S, Pa as T, Tn as U, An as V, Cn as W, Ft as X, Yt as Y, kt as Z, no as _, Lo as a, Ye as at, Ya as b, Fo as c, je as ct, Do as d, Se as dt, lt as et, xo as f, xe as ft, lo as g, uo as h, Io as i, Je as it, vi as j, _i as k, Po as l, ke as lt, vo as m, Go as n, rt as nt, Ro as o, Be as ot, bo as p, Q as pt, ln as q, zo as r, nt as rt, Wo as s, $ as st, qo as t, it as tt, No as u, Oe as ut, to as v, Fa as w, Ga as x, eo as y, Ln as z };
5172
5255
 
5173
- //# sourceMappingURL=grad-vue-Bd30K3vh.js.map
5256
+ //# sourceMappingURL=grad-vue-HOjq8hB5.js.map