@illinois-grad/grad-vue 3.0.7 → 3.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  //#region ../../node_modules/@vue/shared/dist/shared.esm-bundler.js
2
- /* @__NO_SIDE_EFFECTS__ */
2
+ // @__NO_SIDE_EFFECTS__
3
3
  function e(e) {
4
4
  let t = /* @__PURE__ */ Object.create(null);
5
5
  for (let n of e.split(",")) t[n] = 1;
@@ -676,19 +676,19 @@ function Bt(e) {
676
676
  function Vt(e) {
677
677
  return e.__v_skip || !Object.isExtensible(e) ? 0 : Bt(S(e));
678
678
  }
679
- /* @__NO_SIDE_EFFECTS__ */
679
+ // @__NO_SIDE_EFFECTS__
680
680
  function Ht(e) {
681
681
  return /* @__PURE__ */ Jt(e) ? e : Kt(e, !1, St, Mt, It);
682
682
  }
683
- /* @__NO_SIDE_EFFECTS__ */
683
+ // @__NO_SIDE_EFFECTS__
684
684
  function Ut(e) {
685
685
  return Kt(e, !1, wt, Nt, Lt);
686
686
  }
687
- /* @__NO_SIDE_EFFECTS__ */
687
+ // @__NO_SIDE_EFFECTS__
688
688
  function Wt(e) {
689
689
  return Kt(e, !0, Ct, Pt, Rt);
690
690
  }
691
- /* @__NO_SIDE_EFFECTS__ */
691
+ // @__NO_SIDE_EFFECTS__
692
692
  function Gt(e) {
693
693
  return Kt(e, !0, Tt, Ft, zt);
694
694
  }
@@ -701,23 +701,23 @@ function Kt(e, t, n, r, i) {
701
701
  let s = new Proxy(e, a === 2 ? r : n);
702
702
  return i.set(e, s), s;
703
703
  }
704
- /* @__NO_SIDE_EFFECTS__ */
704
+ // @__NO_SIDE_EFFECTS__
705
705
  function qt(e) {
706
706
  return /* @__PURE__ */ Jt(e) ? /* @__PURE__ */ qt(e.__v_raw) : !!(e && e.__v_isReactive);
707
707
  }
708
- /* @__NO_SIDE_EFFECTS__ */
708
+ // @__NO_SIDE_EFFECTS__
709
709
  function Jt(e) {
710
710
  return !!(e && e.__v_isReadonly);
711
711
  }
712
- /* @__NO_SIDE_EFFECTS__ */
712
+ // @__NO_SIDE_EFFECTS__
713
713
  function Yt(e) {
714
714
  return !!(e && e.__v_isShallow);
715
715
  }
716
- /* @__NO_SIDE_EFFECTS__ */
716
+ // @__NO_SIDE_EFFECTS__
717
717
  function Xt(e) {
718
718
  return e ? !!e.__v_raw : !1;
719
719
  }
720
- /* @__NO_SIDE_EFFECTS__ */
720
+ // @__NO_SIDE_EFFECTS__
721
721
  function M(e) {
722
722
  let t = e && e.__v_raw;
723
723
  return t ? /* @__PURE__ */ M(t) : e;
@@ -726,15 +726,15 @@ function Zt(e) {
726
726
  return !u(e, "__v_skip") && Object.isExtensible(e) && oe(e, "__v_skip", !0), e;
727
727
  }
728
728
  var Qt = (e) => v(e) ? /* @__PURE__ */ Ht(e) : e, $t = (e) => v(e) ? /* @__PURE__ */ Wt(e) : e;
729
- /* @__NO_SIDE_EFFECTS__ */
729
+ // @__NO_SIDE_EFFECTS__
730
730
  function en(e) {
731
731
  return e ? e.__v_isRef === !0 : !1;
732
732
  }
733
- /* @__NO_SIDE_EFFECTS__ */
733
+ // @__NO_SIDE_EFFECTS__
734
734
  function N(e) {
735
735
  return nn(e, !1);
736
736
  }
737
- /* @__NO_SIDE_EFFECTS__ */
737
+ // @__NO_SIDE_EFFECTS__
738
738
  function tn(e) {
739
739
  return nn(e, !0);
740
740
  }
@@ -819,7 +819,7 @@ var un = class {
819
819
  return this._value = this._getter();
820
820
  }
821
821
  };
822
- /* @__NO_SIDE_EFFECTS__ */
822
+ // @__NO_SIDE_EFFECTS__
823
823
  function fn(e, t, n) {
824
824
  return /* @__PURE__ */ en(e) ? e : h(e) ? new dn(e) : v(e) && arguments.length > 1 ? pn(e, t, n) : /* @__PURE__ */ N(e);
825
825
  }
@@ -841,7 +841,7 @@ var mn = class {
841
841
  this.setter && this.setter(e);
842
842
  }
843
843
  };
844
- /* @__NO_SIDE_EFFECTS__ */
844
+ // @__NO_SIDE_EFFECTS__
845
845
  function hn(e, t, n = !1) {
846
846
  let r, i;
847
847
  return h(e) ? r = e : (r = e.get, i = e.set), new mn(r, i, n);
@@ -1403,9 +1403,9 @@ function kr(e, t = !1, n) {
1403
1403
  if (i > 1) for (let e = 0; e < r.length; e++) r[e].patchFlag = -2;
1404
1404
  return r;
1405
1405
  }
1406
- /* @__NO_SIDE_EFFECTS__ */
1406
+ // @__NO_SIDE_EFFECTS__
1407
1407
  function R(e, t) {
1408
- return h(e) ? s({ name: e.name }, t, { setup: e }) : e;
1408
+ return h(e) ? /* @__PURE__ */ s({ name: e.name }, t, { setup: e }) : e;
1409
1409
  }
1410
1410
  function z() {
1411
1411
  let e = qa();
@@ -3207,7 +3207,7 @@ function _s(e, t, n, r) {
3207
3207
  return hs(t) && g(n) ? !1 : t in e;
3208
3208
  }
3209
3209
  var vs = {};
3210
- /* @__NO_SIDE_EFFECTS__ */
3210
+ // @__NO_SIDE_EFFECTS__
3211
3211
  function ys(e, t, n) {
3212
3212
  let r = /* @__PURE__ */ R(e, t);
3213
3213
  C(r) && (r = s({}, r, t));
@@ -4008,7 +4008,7 @@ var Kc = [
4008
4008
  "[contenteditable]:not([contenteditable=\"false\"]):not([inert]):not([inert] *)",
4009
4009
  "details>summary:first-of-type:not([inert]):not([inert] *)",
4010
4010
  "details:not([inert]):not([inert] *)"
4011
- ], qc = /* @__PURE__ */ Kc.join(","), Jc = typeof Element > "u", Yc = Jc ? function() {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Xc = !Jc && Element.prototype.getRootNode ? function(e) {
4011
+ ], qc = /* #__PURE__ */ Kc.join(","), Jc = typeof Element > "u", Yc = Jc ? function() {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Xc = !Jc && Element.prototype.getRootNode ? function(e) {
4012
4012
  return e?.getRootNode?.call(e);
4013
4013
  } : function(e) {
4014
4014
  return e?.ownerDocument;
@@ -4169,7 +4169,7 @@ var Kc = [
4169
4169
  }, Sl = function(e, t) {
4170
4170
  if (t ||= {}, !e) throw Error("No node provided");
4171
4171
  return Yc.call(e, qc) === !1 ? !1 : _l(t, e);
4172
- }, Cl = /* @__PURE__ */ Kc.concat("iframe:not([inert]):not([inert] *)").join(","), wl = function(e, t) {
4172
+ }, Cl = /* #__PURE__ */ Kc.concat("iframe:not([inert]):not([inert] *)").join(","), wl = function(e, t) {
4173
4173
  if (t ||= {}, !e) throw Error("No node provided");
4174
4174
  return Yc.call(e, Cl) === !1 ? !1 : gl(t, e);
4175
4175
  };
@@ -4791,7 +4791,7 @@ function $l(e = {}) {
4791
4791
  }
4792
4792
  //#endregion
4793
4793
  //#region src/components/GButton.vue?vue&type=script&setup=true&lang.ts
4794
- var eu = { class: "g-btn--icon" }, tu = { class: "g-btn--label" }, nu = /* @__PURE__ */ R({
4794
+ var eu = { class: "g-btn--icon" }, tu = { class: "g-btn--label" }, nu = /*@__PURE__*/ R({
4795
4795
  inheritAttrs: !1,
4796
4796
  __name: "GButton",
4797
4797
  props: {
@@ -4884,11 +4884,11 @@ var eu = { class: "g-btn--icon" }, tu = { class: "g-btn--label" }, nu = /* @__PU
4884
4884
  let n = e.__vccOpts || e;
4885
4885
  for (let [e, r] of t) n[e] = r;
4886
4886
  return n;
4887
- }, ru = /* @__PURE__ */ $(nu, [["styles", [""]]]), iu = [
4887
+ }, ru = /*#__PURE__*/ $(nu, [["styles", [""]]]), iu = [
4888
4888
  "id",
4889
4889
  "aria-labelledby",
4890
4890
  "aria-describedby"
4891
- ], au = { class: "g-alertdialog-inner" }, ou = ["id"], su = ["id"], cu = { class: "g-alertdialog-actions" }, lu = /* @__PURE__ */ $(/* @__PURE__ */ R({
4891
+ ], au = { class: "g-alertdialog-inner" }, ou = ["id"], su = ["id"], cu = { class: "g-alertdialog-actions" }, lu = /*#__PURE__*/ $(/* @__PURE__ */ R({
4892
4892
  __name: "GAlertDialog",
4893
4893
  props: {
4894
4894
  label: {
@@ -4954,13 +4954,13 @@ var eu = { class: "g-btn--icon" }, tu = { class: "g-btn--label" }, nu = /* @__PU
4954
4954
  _: 3
4955
4955
  })]));
4956
4956
  }
4957
- }), [["styles", [""]]]), uu = { class: /* @__PURE__ */ k({ "g-app-header": !0 }) }, du = { class: "g-app-header__brand" }, fu = {
4957
+ }), [["styles", [""]]]), uu = { class: /*@__PURE__*/ k({ "g-app-header": !0 }) }, du = { class: "g-app-header__brand" }, fu = {
4958
4958
  class: "g-app-header__brand-text",
4959
4959
  href: "/"
4960
4960
  }, pu = {
4961
4961
  key: 0,
4962
4962
  class: "g-app-header__block-i-container"
4963
- }, mu = { class: "g-app-header__title" }, hu = { class: "g-app-header__app-controls-wrap" }, gu = /* @__PURE__ */ $(/* @__PURE__ */ R({
4963
+ }, mu = { class: "g-app-header__title" }, hu = { class: "g-app-header__app-controls-wrap" }, gu = /*#__PURE__*/ $(/* @__PURE__ */ R({
4964
4964
  __name: "GAppHeader",
4965
4965
  props: {
4966
4966
  illinois: {
@@ -5072,7 +5072,7 @@ function bu(e) {
5072
5072
  }
5073
5073
  //#endregion
5074
5074
  //#region src/components/form/GFormErrorMessages.vue?vue&type=script&setup=true&lang.ts
5075
- var xu = ["id"], Su = /* @__PURE__ */ $(/* @__PURE__ */ R({
5075
+ var xu = ["id"], Su = /*#__PURE__*/ $(/* @__PURE__ */ R({
5076
5076
  __name: "GFormErrorMessages",
5077
5077
  props: {
5078
5078
  errors: { type: Array },
@@ -5119,9 +5119,9 @@ var xu = ["id"], Su = /* @__PURE__ */ $(/* @__PURE__ */ R({
5119
5119
  "disabled",
5120
5120
  "required",
5121
5121
  "onChange"
5122
- ], ju = { class: "g-checkbox-group__label-text" }, Mu = ["id"], Nu = /* @__PURE__ */ $(/* @__PURE__ */ R({
5122
+ ], ju = { class: "g-checkbox-group__label-text" }, Mu = ["id"], Nu = /*#__PURE__*/ $(/* @__PURE__ */ R({
5123
5123
  __name: "GCheckboxGroup",
5124
- props: /* @__PURE__ */ H({
5124
+ props: /*@__PURE__*/ H({
5125
5125
  label: {
5126
5126
  default: void 0,
5127
5127
  type: String
@@ -5155,7 +5155,7 @@ var xu = ["id"], Su = /* @__PURE__ */ $(/* @__PURE__ */ R({
5155
5155
  modelValue: { default: () => [] },
5156
5156
  modelModifiers: {}
5157
5157
  }),
5158
- emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
5158
+ emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
5159
5159
  setup(e, { emit: t }) {
5160
5160
  let n = e, r = U(e, "modelValue"), i = z(), { displayErrors: a, hasErrors: o } = bu({
5161
5161
  name: n.name,
@@ -5331,7 +5331,7 @@ var Hu = {
5331
5331
  let t = e._v_gtooltip;
5332
5332
  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");
5333
5333
  }
5334
- }, Uu = { class: "g-clipboard-text" }, Wu = /* @__PURE__ */ $(/* @__PURE__ */ R({
5334
+ }, Uu = { class: "g-clipboard-text" }, Wu = /*#__PURE__*/ $(/* @__PURE__ */ R({
5335
5335
  __name: "GClipboard",
5336
5336
  props: {
5337
5337
  text: { type: String },
@@ -5377,10 +5377,10 @@ var Hu = {
5377
5377
  ], Xu = {
5378
5378
  key: 1,
5379
5379
  class: "g-text-input-suffix"
5380
- }, Zu = /* @__PURE__ */ $(/* @__PURE__ */ R({
5380
+ }, Zu = /*#__PURE__*/ $(/* @__PURE__ */ R({
5381
5381
  inheritAttrs: !1,
5382
5382
  __name: "GTextInput",
5383
- props: /* @__PURE__ */ H({
5383
+ props: /*@__PURE__*/ H({
5384
5384
  label: {
5385
5385
  default: void 0,
5386
5386
  type: String
@@ -5429,7 +5429,7 @@ var Hu = {
5429
5429
  modelValue: { type: String },
5430
5430
  modelModifiers: {}
5431
5431
  }),
5432
- emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
5432
+ emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
5433
5433
  setup(e, { emit: t }) {
5434
5434
  let n = e, r = U(e, "modelValue"), i = z(), { attrs: a, isCustomElement: o, forwardedAttrs: s } = $l({ omitInCustomElement: ["id"] }), c = Q(() => o ? i : a.id || i), { displayErrors: l, hasErrors: u } = bu({
5435
5435
  name: n.name,
@@ -5501,9 +5501,9 @@ var Hu = {
5501
5501
  }, null, 8, ["errors", "id"])
5502
5502
  ], 2));
5503
5503
  }
5504
- }), [["styles", [""]]]), Qu = /* @__PURE__ */ $(/* @__PURE__ */ R({
5504
+ }), [["styles", [""]]]), Qu = /*#__PURE__*/ $(/* @__PURE__ */ R({
5505
5505
  __name: "GCurrencyInput",
5506
- props: /* @__PURE__ */ H({
5506
+ props: /*@__PURE__*/ H({
5507
5507
  label: {
5508
5508
  default: void 0,
5509
5509
  type: String
@@ -5570,9 +5570,9 @@ var Hu = {
5570
5570
  "form-key"
5571
5571
  ]));
5572
5572
  }
5573
- }), [["styles", [""]]]), $u = /* @__PURE__ */ $(/* @__PURE__ */ R({
5573
+ }), [["styles", [""]]]), $u = /*#__PURE__*/ $(/* @__PURE__ */ R({
5574
5574
  __name: "GDateInput",
5575
- props: /* @__PURE__ */ H({
5575
+ props: /*@__PURE__*/ H({
5576
5576
  label: {
5577
5577
  default: void 0,
5578
5578
  type: String
@@ -5650,9 +5650,9 @@ var Hu = {
5650
5650
  key: 2,
5651
5651
  class: "g-date-range-input__errors",
5652
5652
  role: "alert"
5653
- }, od = /* @__PURE__ */ $(/* @__PURE__ */ R({
5653
+ }, od = /*#__PURE__*/ $(/* @__PURE__ */ R({
5654
5654
  __name: "GDateRangeInput",
5655
- props: /* @__PURE__ */ H({
5655
+ props: /*@__PURE__*/ H({
5656
5656
  label: {
5657
5657
  default: void 0,
5658
5658
  type: String
@@ -5745,7 +5745,7 @@ var Hu = {
5745
5745
  }, A(e), 1))), 128))])) : Z("", !0)
5746
5746
  ]));
5747
5747
  }
5748
- }), [["styles", [""]]]), sd = /* @__PURE__ */ $(/* @__PURE__ */ R({
5748
+ }), [["styles", [""]]]), sd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5749
5749
  __name: "GDetailList",
5750
5750
  props: { variant: {
5751
5751
  default: "grid",
@@ -5755,15 +5755,15 @@ var Hu = {
5755
5755
  let t = e;
5756
5756
  return (e, n) => (G(), K("dl", { class: k(["g-detail-list", `g-detail-list--${t.variant}`]) }, [V(e.$slots, "default")], 2));
5757
5757
  }
5758
- }), [["styles", [""]]]), cd = { class: "g-detail-list-item" }, ld = { class: "g-detail-list-item__label" }, ud = { class: "g-detail-list-item__value" }, dd = /* @__PURE__ */ $(/* @__PURE__ */ R({
5758
+ }), [["styles", [""]]]), cd = { class: "g-detail-list-item" }, ld = { class: "g-detail-list-item__label" }, ud = { class: "g-detail-list-item__value" }, dd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5759
5759
  __name: "GDetailListItem",
5760
5760
  props: { label: { type: String } },
5761
5761
  setup(e) {
5762
5762
  return (t, n) => (G(), K("div", cd, [J("dt", ld, [V(t.$slots, "label", {}, () => [X(A(e.label), 1)])]), J("dd", ud, [V(t.$slots, "default")])]));
5763
5763
  }
5764
- }), [["styles", [""]]]), fd = /* @__PURE__ */ $(/* @__PURE__ */ R({
5764
+ }), [["styles", [""]]]), fd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5765
5765
  __name: "GEmailInput",
5766
- props: /* @__PURE__ */ H({
5766
+ props: /*@__PURE__*/ H({
5767
5767
  label: {
5768
5768
  default: void 0,
5769
5769
  type: String
@@ -5840,10 +5840,10 @@ var Hu = {
5840
5840
  key: 1,
5841
5841
  class: "g-file-input-pills",
5842
5842
  "aria-label": "Selected files"
5843
- }, yd = /* @__PURE__ */ $(/* @__PURE__ */ R({
5843
+ }, yd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5844
5844
  inheritAttrs: !1,
5845
5845
  __name: "GFileInput",
5846
- props: /* @__PURE__ */ H({
5846
+ props: /*@__PURE__*/ H({
5847
5847
  label: { type: String },
5848
5848
  instructions: {
5849
5849
  default: "",
@@ -5874,7 +5874,7 @@ var Hu = {
5874
5874
  modelValue: { default: () => [] },
5875
5875
  modelModifiers: {}
5876
5876
  }),
5877
- emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
5877
+ emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
5878
5878
  setup(e, { emit: t }) {
5879
5879
  let n = e, r = U(e, "modelValue"), i = z(), { displayErrors: a } = bu({
5880
5880
  name: n.name,
@@ -5938,9 +5938,9 @@ var Hu = {
5938
5938
  }, null, 8, ["errors", "id"])
5939
5939
  ], 2));
5940
5940
  }
5941
- }), [["styles", [""]]]), bd = ["action", "method"], xd = /* @__PURE__ */ $(/* @__PURE__ */ R({
5941
+ }), [["styles", [""]]]), bd = ["action", "method"], xd = /*#__PURE__*/ $(/* @__PURE__ */ R({
5942
5942
  __name: "GForm",
5943
- props: /* @__PURE__ */ H({
5943
+ props: /*@__PURE__*/ H({
5944
5944
  action: {
5945
5945
  default: void 0,
5946
5946
  type: String
@@ -5957,7 +5957,7 @@ var Hu = {
5957
5957
  modelValue: { default: () => ({}) },
5958
5958
  modelModifiers: {}
5959
5959
  }),
5960
- emits: /* @__PURE__ */ H(["submit"], ["update:modelValue"]),
5960
+ emits: /*@__PURE__*/ H(["submit"], ["update:modelValue"]),
5961
5961
  setup(e, { emit: t }) {
5962
5962
  let n = e, r = U(e, "modelValue"), i = t, a = qn("form", null), o = a ?? (Ql() ? yu(n.formKey) : _u());
5963
5963
  a || Kn("form", o), L(() => o.values.value, (e) => {
@@ -6017,8 +6017,8 @@ function wd(e = "default", t) {
6017
6017
  }, { immediate: !0 });
6018
6018
  function s(e) {
6019
6019
  if (!o.isCollapsible.value || !o.open.value) return;
6020
- let t = e.target, n = document.getElementById(`${o.id}-sidebar`);
6021
- n && (n.contains(t) || setTimeout(() => {
6020
+ let t = e.target, n = document.getElementById(`${o.id}-sidebar`), r = document.getElementById(`${o.id}-hamburger`);
6021
+ n && (n.contains(t) || r?.contains(t) || setTimeout(() => {
6022
6022
  o.open.value = !1;
6023
6023
  }, 5));
6024
6024
  }
@@ -6044,7 +6044,10 @@ var Td = [
6044
6044
  "aria-expanded",
6045
6045
  "aria-label",
6046
6046
  "aria-controls"
6047
- ], Ed = /* @__PURE__ */ $(/* @__PURE__ */ R({
6047
+ ], Ed = {
6048
+ key: 0,
6049
+ class: "g-hamburger-label"
6050
+ }, Dd = /*#__PURE__*/ $(/* @__PURE__ */ R({
6048
6051
  __name: "GHamburgerMenu",
6049
6052
  props: {
6050
6053
  label: {
@@ -6055,7 +6058,11 @@ var Td = [
6055
6058
  default: "default",
6056
6059
  type: String
6057
6060
  },
6058
- mediaQuery: { type: String }
6061
+ mediaQuery: { type: String },
6062
+ labelVisible: {
6063
+ type: Boolean,
6064
+ default: !1
6065
+ }
6059
6066
  },
6060
6067
  emits: ["toggle"],
6061
6068
  setup(e, { emit: t }) {
@@ -6076,22 +6083,23 @@ var Td = [
6076
6083
  onClick: a,
6077
6084
  onKeydown: o,
6078
6085
  "aria-expanded": P(r)?.open?.value ? "true" : "false",
6079
- "aria-label": e.label,
6086
+ "aria-label": e.labelVisible ? void 0 : e.label,
6080
6087
  "aria-controls": P(r) ? `${P(r).id}-sidebar` : void 0
6081
- }, [...n[0] ||= [J("svg", {
6088
+ }, [n[0] ||= J("svg", {
6082
6089
  xmlns: "http://www.w3.org/2000/svg",
6083
- viewBox: "0 0 51.26 51.26"
6084
- }, [J("g", { fill: "currentColor" }, [J("path", { d: "M11.6 16.52h28.06a3.24 3.24 0 1 0 0-6.48H11.6a3.24 3.24 0 0 0 0 6.48ZM39.66 22.07H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48ZM39.66 34.1H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48Z" })])], -1)]], 42, Td));
6090
+ viewBox: "0 0 51.26 51.26",
6091
+ role: "none"
6092
+ }, [J("g", { fill: "currentColor" }, [J("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 ? (G(), K("span", Ed, A(e.label), 1)) : Z("", !0)], 42, Td));
6085
6093
  }
6086
- }), [["styles", [""]]]), Dd = { class: "g-history-scroller-wrapper" }, Od = {
6094
+ }), [["styles", [""]]]), Od = { class: "g-history-scroller-wrapper" }, kd = {
6087
6095
  key: 0,
6088
6096
  class: "g-history-shadow g-history-shadow--top",
6089
6097
  "aria-hidden": "true"
6090
- }, kd = {
6098
+ }, Ad = {
6091
6099
  key: 1,
6092
6100
  class: "g-history-shadow g-history-shadow--bottom",
6093
6101
  "aria-hidden": "true"
6094
- }, Ad = ["role", "aria-label"], jd = /* @__PURE__ */ $(/* @__PURE__ */ R({
6102
+ }, jd = ["role", "aria-label"], Md = /*#__PURE__*/ $(/* @__PURE__ */ R({
6095
6103
  __name: "GHistoryScroller",
6096
6104
  props: {
6097
6105
  label: { type: String },
@@ -6126,9 +6134,9 @@ var Td = [
6126
6134
  i.value && (await F(), o());
6127
6135
  });
6128
6136
  let c = Q(() => [...t.entries].reverse());
6129
- return (t, l) => (G(), K("div", Dd, [
6130
- a.value ? Z("", !0) : (G(), K("div", Od)),
6131
- i.value ? Z("", !0) : (G(), K("div", kd)),
6137
+ return (t, l) => (G(), K("div", Od, [
6138
+ a.value ? Z("", !0) : (G(), K("div", kd)),
6139
+ i.value ? Z("", !0) : (G(), K("div", Ad)),
6132
6140
  J("div", {
6133
6141
  ref_key: "scrollerRef",
6134
6142
  ref: n,
@@ -6163,10 +6171,10 @@ var Td = [
6163
6171
  key: e.id,
6164
6172
  class: "g-history-entry",
6165
6173
  tabindex: "-1"
6166
- }, [V(t.$slots, "default", { entry: e })]))), 128))], 512)], 40, Ad)
6174
+ }, [V(t.$slots, "default", { entry: e })]))), 128))], 512)], 40, jd)
6167
6175
  ]));
6168
6176
  }
6169
- }), [["styles", [""]]]), Md = ["id"], Nd = { class: "g-modal-inner" }, Pd = { class: "g-modal-header" }, Fd = ["id"], Id = ["id"], Ld = /* @__PURE__ */ $(/* @__PURE__ */ R({
6177
+ }), [["styles", [""]]]), Nd = ["id"], Pd = { class: "g-modal-inner" }, Fd = { class: "g-modal-header" }, Id = ["id"], Ld = ["id"], Rd = /*#__PURE__*/ $(/* @__PURE__ */ R({
6170
6178
  __name: "GModal",
6171
6179
  props: {
6172
6180
  label: { type: String },
@@ -6216,12 +6224,12 @@ var Td = [
6216
6224
  ref_key: "dialog",
6217
6225
  ref: i,
6218
6226
  style: { zIndex: P(u) }
6219
- }), [J("div", Nd, [J("div", Pd, [e.hiddenLabel ? Z("", !0) : (G(), K("h2", {
6227
+ }), [J("div", Pd, [J("div", Fd, [e.hiddenLabel ? Z("", !0) : (G(), K("h2", {
6220
6228
  key: 0,
6221
6229
  id: "modal-label-" + P(o),
6222
6230
  class: "g-modal-label",
6223
6231
  tabindex: "-1"
6224
- }, A(e.label), 9, Fd)), J("button", {
6232
+ }, A(e.label), 9, Id)), J("button", {
6225
6233
  class: "g-modal-close",
6226
6234
  onClick: p,
6227
6235
  "aria-label": "Close"
@@ -6236,20 +6244,20 @@ var Td = [
6236
6244
  })], -1)]])]), J("div", {
6237
6245
  id: "modal-description-" + P(o),
6238
6246
  class: "g-modal-content"
6239
- }, [V(t.$slots, "default")], 8, Id)])], 16, Md)]),
6247
+ }, [V(t.$slots, "default")], 8, Ld)])], 16, Nd)]),
6240
6248
  _: 3
6241
6249
  })]));
6242
6250
  }
6243
6251
  }), [["styles", [""]]]);
6244
6252
  //#endregion
6245
6253
  //#region src/compose/useSelectDropdown.ts
6246
- function Rd(e) {
6254
+ function zd(e) {
6247
6255
  return e.map((e) => typeof e == "string" ? {
6248
6256
  label: e,
6249
6257
  value: e
6250
6258
  } : e);
6251
6259
  }
6252
- function zd({ open: e, anchorRef: t, listboxRef: n, baseId: r, activeIndex: i }) {
6260
+ function Bd({ open: e, anchorRef: t, listboxRef: n, baseId: r, activeIndex: i }) {
6253
6261
  let { push: a, pop: o, isTop: s } = Gs(r), c = /* @__PURE__ */ N("below"), l = /* @__PURE__ */ N(null), u = Q(() => {
6254
6262
  let e = {};
6255
6263
  return l.value !== null && (e.maxHeight = `${l.value}px`), c.value === "above" ? (e.top = "auto", e.bottom = "100%") : (e.top = "100%", e.bottom = "auto"), e;
@@ -6293,15 +6301,15 @@ function zd({ open: e, anchorRef: t, listboxRef: n, baseId: r, activeIndex: i })
6293
6301
  }
6294
6302
  //#endregion
6295
6303
  //#region src/components/GMultiSelect.vue?vue&type=script&setup=true&lang.ts
6296
- var Bd = ["id", "for"], Vd = {
6304
+ var Vd = ["id", "for"], Hd = {
6297
6305
  key: 0,
6298
6306
  class: "g-multiselect-required",
6299
6307
  "aria-hidden": "true"
6300
- }, Hd = ["id"], Ud = ["aria-labelledby"], Wd = { class: "g-multiselect-chip-label" }, Gd = [
6308
+ }, Ud = ["id"], Wd = ["aria-labelledby"], Gd = { class: "g-multiselect-chip-label" }, Kd = [
6301
6309
  "aria-label",
6302
6310
  "disabled",
6303
6311
  "onClick"
6304
- ], Kd = [
6312
+ ], qd = [
6305
6313
  "id",
6306
6314
  "value",
6307
6315
  "placeholder",
@@ -6311,25 +6319,25 @@ var Bd = ["id", "for"], Vd = {
6311
6319
  "aria-activedescendant",
6312
6320
  "aria-describedby",
6313
6321
  "aria-required"
6314
- ], qd = ["id"], Jd = [
6322
+ ], Jd = ["id"], Yd = [
6315
6323
  "id",
6316
6324
  "aria-selected",
6317
6325
  "onClick"
6318
- ], Yd = {
6326
+ ], Xd = {
6319
6327
  class: "g-multiselect-option-check",
6320
6328
  "aria-hidden": "true"
6321
- }, Xd = {
6329
+ }, Zd = {
6322
6330
  key: 0,
6323
6331
  xmlns: "http://www.w3.org/2000/svg",
6324
6332
  viewBox: "0 0 640 640",
6325
6333
  width: "1.25em"
6326
- }, Zd = {
6334
+ }, Qd = {
6327
6335
  key: 1,
6328
6336
  "aria-live": "polite",
6329
6337
  class: "g-multiselect-option g-multiselect-no-results"
6330
- }, Qd = /* @__PURE__ */ $(/* @__PURE__ */ R({
6338
+ }, $d = /*#__PURE__*/ $(/* @__PURE__ */ R({
6331
6339
  __name: "GMultiSelect",
6332
- props: /* @__PURE__ */ H({
6340
+ props: /*@__PURE__*/ H({
6333
6341
  options: { type: Array },
6334
6342
  label: { type: String },
6335
6343
  hiddenLabel: {
@@ -6356,20 +6364,20 @@ var Bd = ["id", "for"], Vd = {
6356
6364
  modelValue: { default: () => [] },
6357
6365
  modelModifiers: {}
6358
6366
  }),
6359
- emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
6367
+ emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
6360
6368
  setup(e, { emit: t }) {
6361
6369
  let n = e, r = t, i = U(e, "modelValue"), a = z(), o = /* @__PURE__ */ N(null), s = /* @__PURE__ */ N(null), c = /* @__PURE__ */ N(null), l = /* @__PURE__ */ N(!1), u = /* @__PURE__ */ N(0), d = /* @__PURE__ */ N(""), f = /* @__PURE__ */ N(!1), { displayErrors: p, hasErrors: m } = bu({
6362
6370
  name: n.name,
6363
6371
  value: i,
6364
6372
  errors: /* @__PURE__ */ fn(n, "errors"),
6365
6373
  formKey: n.formKey
6366
- }), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = zd({
6374
+ }), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = Bd({
6367
6375
  open: l,
6368
6376
  anchorRef: s,
6369
6377
  listboxRef: c,
6370
6378
  baseId: a,
6371
6379
  activeIndex: u
6372
- }), y = Q(() => Rd(n.options)), b = Q(() => {
6380
+ }), y = Q(() => zd(n.options)), b = Q(() => {
6373
6381
  if (!d.value) return y.value;
6374
6382
  let e = d.value.toLowerCase();
6375
6383
  return y.value.filter((t) => t.label.toLowerCase().includes(e));
@@ -6464,12 +6472,12 @@ var Bd = ["id", "for"], Vd = {
6464
6472
  id: oe.value,
6465
6473
  for: ae.value,
6466
6474
  class: "g-multiselect-label"
6467
- }, [X(A(e.label), 1), e.required ? (G(), K("span", Vd, " *")) : Z("", !0)], 8, Bd)),
6475
+ }, [X(A(e.label), 1), e.required ? (G(), K("span", Hd, " *")) : Z("", !0)], 8, Vd)),
6468
6476
  e.instructions ? (G(), K("div", {
6469
6477
  key: 1,
6470
6478
  id: se.value,
6471
6479
  class: "g-multiselect-instructions"
6472
- }, A(e.instructions), 9, Hd)) : Z("", !0),
6480
+ }, A(e.instructions), 9, Ud)) : Z("", !0),
6473
6481
  J("div", {
6474
6482
  ref_key: "controlRef",
6475
6483
  ref: s,
@@ -6482,7 +6490,7 @@ var Bd = ["id", "for"], Vd = {
6482
6490
  }, [(G(!0), K(W, null, B(i.value, (t) => (G(), K("li", {
6483
6491
  key: t,
6484
6492
  class: "g-multiselect-chip"
6485
- }, [J("span", Wd, A(S(t)), 1), J("button", {
6493
+ }, [J("span", Gd, A(S(t)), 1), J("button", {
6486
6494
  type: "button",
6487
6495
  class: "g-multiselect-chip-remove",
6488
6496
  "aria-label": `Remove ${S(t)}`,
@@ -6497,7 +6505,7 @@ var Bd = ["id", "for"], Vd = {
6497
6505
  }, [J("path", {
6498
6506
  fill: "currentColor",
6499
6507
  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"
6500
- })], -1)]], 40, Gd)]))), 128))], 8, Ud),
6508
+ })], -1)]], 40, Kd)]))), 128))], 8, Wd),
6501
6509
  J("input", Va({
6502
6510
  ref_key: "inputRef",
6503
6511
  ref: o,
@@ -6521,7 +6529,7 @@ var Bd = ["id", "for"], Vd = {
6521
6529
  onKeydown: ie,
6522
6530
  onFocus: te,
6523
6531
  onBlur: O
6524
- }), null, 16, Kd),
6532
+ }), null, 16, qd),
6525
6533
  n[2] ||= J("svg", {
6526
6534
  class: "g-multiselect-caret",
6527
6535
  xmlns: "http://www.w3.org/2000/svg",
@@ -6553,7 +6561,7 @@ var Bd = ["id", "for"], Vd = {
6553
6561
  "aria-selected": x(e.value) ? "true" : "false",
6554
6562
  onMousedown: ne,
6555
6563
  onClick: (e) => T(t)
6556
- }, [J("span", Yd, [x(e.value) ? (G(), K("svg", Xd, [...n[1] ||= [J("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)]])) : Z("", !0)]), X(" " + A(e.label), 1)], 42, Jd))), 128)) : (G(), K("div", Zd, " No results found. "))], 16, qd), [[Go, l.value]])
6564
+ }, [J("span", Xd, [x(e.value) ? (G(), K("svg", Zd, [...n[1] ||= [J("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)]])) : Z("", !0)]), X(" " + A(e.label), 1)], 42, Yd))), 128)) : (G(), K("div", Qd, " No results found. "))], 16, Jd), [[Go, l.value]])
6557
6565
  ], 2),
6558
6566
  Y(Su, {
6559
6567
  errors: P(p),
@@ -6561,19 +6569,19 @@ var Bd = ["id", "for"], Vd = {
6561
6569
  }, null, 8, ["errors", "id"])
6562
6570
  ], 2));
6563
6571
  }
6564
- }), [["styles", [""]]]), $d = {
6572
+ }), [["styles", [""]]]), ef = {
6565
6573
  key: 0,
6566
6574
  class: "g-scroll-lock-overlay"
6567
- }, ef = /* @__PURE__ */ $(/* @__PURE__ */ R({
6575
+ }, tf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6568
6576
  __name: "GOverlay",
6569
6577
  setup(e) {
6570
6578
  let { hasScrollLock: t } = Ks();
6571
6579
  return (e, n) => (G(), q(Do, { name: "g-fade" }, {
6572
- default: I(() => [P(t) ? (G(), K("div", $d)) : Z("", !0)]),
6580
+ default: I(() => [P(t) ? (G(), K("div", ef)) : Z("", !0)]),
6573
6581
  _: 1
6574
6582
  }));
6575
6583
  }
6576
- }), [["styles", [""]]]), tf = { class: "g-popover-wrap" }, nf = ["id"], rf = ["aria-labelledby", "aria-label"], af = /* @__PURE__ */ $(/* @__PURE__ */ R({
6584
+ }), [["styles", [""]]]), nf = { class: "g-popover-wrap" }, rf = ["id"], af = ["aria-labelledby", "aria-label"], of = /*#__PURE__*/ $(/* @__PURE__ */ R({
6577
6585
  __name: "GPopover",
6578
6586
  props: {
6579
6587
  minimal: {
@@ -6651,13 +6659,13 @@ var Bd = ["id", "for"], Vd = {
6651
6659
  show: y,
6652
6660
  hide: b,
6653
6661
  toggle: x
6654
- }), (t, n) => (G(), K("div", tf, [s.value ? (G(), K("div", {
6662
+ }), (t, n) => (G(), K("div", nf, [s.value ? (G(), K("div", {
6655
6663
  key: 0,
6656
6664
  ref_key: "triggerRef",
6657
6665
  ref: c,
6658
6666
  class: "g-popover-trigger",
6659
6667
  id: `${P(f)}-trigger`
6660
- }, [V(t.$slots, "trigger", { toggle: x })], 8, nf)) : Z("", !0), (G(), q(fr, {
6668
+ }, [V(t.$slots, "trigger", { toggle: x })], 8, rf)) : Z("", !0), (G(), q(fr, {
6661
6669
  to: "#modal-root",
6662
6670
  disabled: P(d)
6663
6671
  }, [Y(Do, {
@@ -6706,11 +6714,11 @@ var Bd = ["id", "for"], Vd = {
6706
6714
  fill: "currentColor",
6707
6715
  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"
6708
6716
  })], -1)]]))
6709
- ], 14, rf)), [[Go, a.value]]) : Z("", !0)]),
6717
+ ], 14, af)), [[Go, a.value]]) : Z("", !0)]),
6710
6718
  _: 3
6711
6719
  })], 8, ["disabled"]))]));
6712
6720
  }
6713
- }), [["styles", [""]]]), of = /* @__PURE__ */ $(/* @__PURE__ */ R({
6721
+ }), [["styles", [""]]]), sf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6714
6722
  __name: "GTooltip",
6715
6723
  props: { text: { type: String } },
6716
6724
  emits: ["tooltip-hide"],
@@ -6799,21 +6807,21 @@ var Bd = ["id", "for"], Vd = {
6799
6807
  class: "g-tooltip-trigger"
6800
6808
  }, [V(e.$slots, "trigger")], 512)) : Z("", !0)], 512));
6801
6809
  }
6802
- }), [["styles", [""]]]), sf = ["width", "height"], cf = [
6810
+ }), [["styles", [""]]]), cf = ["width", "height"], lf = [
6803
6811
  "cx",
6804
6812
  "cy",
6805
6813
  "r"
6806
- ], lf = [
6814
+ ], uf = [
6807
6815
  "cx",
6808
6816
  "cy",
6809
6817
  "r",
6810
6818
  "stroke-dasharray",
6811
6819
  "stroke-dashoffset"
6812
- ], uf = [
6820
+ ], df = [
6813
6821
  "cx",
6814
6822
  "cy",
6815
6823
  "r"
6816
- ], df = /* @__PURE__ */ $(/* @__PURE__ */ R({
6824
+ ], ff = /*#__PURE__*/ $(/* @__PURE__ */ R({
6817
6825
  __name: "GProgress",
6818
6826
  props: {
6819
6827
  label: {
@@ -6863,7 +6871,7 @@ var Bd = ["id", "for"], Vd = {
6863
6871
  r: r.value,
6864
6872
  "stroke-width": 4,
6865
6873
  fill: "none"
6866
- }, null, 8, cf), n.value ? (G(), K("circle", {
6874
+ }, null, 8, lf), n.value ? (G(), K("circle", {
6867
6875
  key: 0,
6868
6876
  class: "g-progress__value",
6869
6877
  cx: r.value + 4 / 2,
@@ -6877,7 +6885,7 @@ var Bd = ["id", "for"], Vd = {
6877
6885
  transform: "rotate(-90deg)",
6878
6886
  "transform-origin": "center"
6879
6887
  }
6880
- }, null, 8, lf)) : (G(), K("circle", {
6888
+ }, null, 8, uf)) : (G(), K("circle", {
6881
6889
  key: 1,
6882
6890
  class: "g-progress__spinner",
6883
6891
  cx: r.value + 4 / 2,
@@ -6885,31 +6893,31 @@ var Bd = ["id", "for"], Vd = {
6885
6893
  r: r.value,
6886
6894
  "stroke-width": 4,
6887
6895
  fill: "none"
6888
- }, null, 8, uf))], 10, sf))], 16));
6896
+ }, null, 8, df))], 10, cf))], 16));
6889
6897
  }
6890
- }), [["styles", [""]]]), ff = ["aria-label"], pf = [
6898
+ }), [["styles", [""]]]), pf = ["aria-label"], mf = [
6891
6899
  "placeholder",
6892
6900
  "value",
6893
6901
  "aria-expanded",
6894
6902
  "aria-controls",
6895
6903
  "aria-activedescendant"
6896
- ], mf = {
6904
+ ], hf = {
6897
6905
  key: 0,
6898
6906
  class: "g-search-dropdown"
6899
- }, hf = {
6907
+ }, gf = {
6900
6908
  "aria-live": "polite",
6901
6909
  class: "g-search-result-count"
6902
- }, gf = ["id"], _f = ["aria-label"], vf = { class: "g-search-group-label" }, yf = [
6910
+ }, _f = ["id"], vf = ["aria-label"], yf = { class: "g-search-group-label" }, bf = [
6903
6911
  "id",
6904
6912
  "onMousedown",
6905
6913
  "aria-selected"
6906
- ], bf = [
6914
+ ], xf = [
6907
6915
  "id",
6908
6916
  "onMousedown",
6909
6917
  "aria-selected"
6910
- ], xf = /* @__PURE__ */ $(/* @__PURE__ */ R({
6918
+ ], Sf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6911
6919
  __name: "GSearch",
6912
- props: /* @__PURE__ */ H({
6920
+ props: /*@__PURE__*/ H({
6913
6921
  results: { type: Array },
6914
6922
  placeholder: {
6915
6923
  default: "Search...",
@@ -6928,7 +6936,7 @@ var Bd = ["id", "for"], Vd = {
6928
6936
  modelValue: { default: () => "" },
6929
6937
  modelModifiers: {}
6930
6938
  }),
6931
- emits: /* @__PURE__ */ H(["select", "submit"], ["update:modelValue"]),
6939
+ emits: /*@__PURE__*/ H(["select", "submit"], ["update:modelValue"]),
6932
6940
  setup(e, { emit: t }) {
6933
6941
  let n = U(e, "modelValue"), r = e, i = t, a = /* @__PURE__ */ N(null), o = /* @__PURE__ */ N(null), s = /* @__PURE__ */ N(!0), c = /* @__PURE__ */ N(-1), l = Q(() => Array.isArray(r.results) && r.results.length && "items" in r.results[0] ? r.results.flatMap((e) => e.items) : r.results), u = Q(() => l.value.length);
6934
6942
  function d(e) {
@@ -6994,12 +7002,12 @@ var Bd = ["id", "for"], Vd = {
6994
7002
  "aria-autocomplete": "list",
6995
7003
  "aria-controls": `${P(y)}-list`,
6996
7004
  "aria-activedescendant": c.value >= 0 ? "g-search-option-" + l.value[c.value].id : void 0
6997
- }, null, 40, pf), J("button", {
7005
+ }, null, 40, mf), J("button", {
6998
7006
  type: "submit",
6999
7007
  class: "g-search-submit",
7000
7008
  "aria-label": "Submit search",
7001
7009
  onKeydown: m
7002
- }, [g.value ? (G(), q(df, {
7010
+ }, [g.value ? (G(), q(ff, {
7003
7011
  key: 0,
7004
7012
  size: "tiny"
7005
7013
  })) : Z("", !0), t[1] ||= J("svg", {
@@ -7010,7 +7018,7 @@ var Bd = ["id", "for"], Vd = {
7010
7018
  }, [J("path", {
7011
7019
  fill: "currentColor",
7012
7020
  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"
7013
- })], -1)], 32)], 32), _.value ? (G(), K("div", mf, [J("div", hf, [g.value ? Z("", !0) : (G(), K(W, { key: 0 }, [X(A(u.value) + " result" + A(u.value === 1 ? "" : "s"), 1)], 64))]), J("div", {
7021
+ })], -1)], 32)], 32), _.value ? (G(), K("div", hf, [J("div", gf, [g.value ? Z("", !0) : (G(), K(W, { key: 0 }, [X(A(u.value) + " result" + A(u.value === 1 ? "" : "s"), 1)], 64))]), J("div", {
7014
7022
  role: "listbox",
7015
7023
  id: `${P(y)}-list`,
7016
7024
  ref_key: "listboxRef",
@@ -7021,27 +7029,27 @@ var Bd = ["id", "for"], Vd = {
7021
7029
  class: "g-search-group",
7022
7030
  role: "group",
7023
7031
  "aria-label": t.label
7024
- }, [V(e.$slots, "group", { group: t }, () => [J("div", vf, A(t.label), 1)]), (G(!0), K(W, null, B(t.items, (t, n) => (G(), K("div", {
7032
+ }, [V(e.$slots, "group", { group: t }, () => [J("div", yf, A(t.label), 1)]), (G(!0), K(W, null, B(t.items, (t, n) => (G(), K("div", {
7025
7033
  key: t.id,
7026
7034
  id: "g-search-option-" + t.id,
7027
7035
  class: k(["g-search-option", { "g-search-option-active": l.value[c.value] && l.value[c.value].id === t.id }]),
7028
7036
  role: "option",
7029
7037
  onMousedown: As((e) => h(t), ["prevent"]),
7030
7038
  "aria-selected": l.value[c.value] && l.value[c.value].id === t.id
7031
- }, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, yf))), 128))], 8, _f))), 128)) : u.value > 0 ? (G(!0), K(W, { key: 1 }, B(l.value, (t, n) => (G(), K("div", {
7039
+ }, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, bf))), 128))], 8, vf))), 128)) : u.value > 0 ? (G(!0), K(W, { key: 1 }, B(l.value, (t, n) => (G(), K("div", {
7032
7040
  key: t.id,
7033
7041
  id: "g-search-option-" + t.id,
7034
7042
  class: k(["g-search-option", { "g-search-option-active": c.value === n }]),
7035
7043
  role: "option",
7036
7044
  onMousedown: As((e) => h(t), ["prevent"]),
7037
7045
  "aria-selected": c.value === n
7038
- }, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, bf))), 128)) : Z("", !0)], 8, gf)])) : Z("", !0)], 8, ff));
7046
+ }, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, xf))), 128)) : Z("", !0)], 8, _f)])) : Z("", !0)], 8, pf));
7039
7047
  }
7040
- }), [["styles", [""]]]), Sf = ["id"], Cf = {
7048
+ }), [["styles", [""]]]), Cf = ["id"], wf = {
7041
7049
  key: 0,
7042
7050
  class: "g-select-required",
7043
7051
  "aria-hidden": "true"
7044
- }, wf = { class: "g-select-input-wrap" }, Tf = ["id"], Ef = [
7052
+ }, Tf = { class: "g-select-input-wrap" }, Ef = ["id"], Df = [
7045
7053
  "value",
7046
7054
  "placeholder",
7047
7055
  "disabled",
@@ -7049,23 +7057,23 @@ var Bd = ["id", "for"], Vd = {
7049
7057
  "aria-expanded",
7050
7058
  "aria-required",
7051
7059
  "aria-activedescendant"
7052
- ], Df = [
7060
+ ], Of = [
7053
7061
  "id",
7054
7062
  "aria-controls",
7055
7063
  "aria-expanded",
7056
7064
  "aria-required",
7057
7065
  "aria-activedescendant"
7058
- ], Of = ["id"], kf = [
7066
+ ], kf = ["id"], Af = [
7059
7067
  "id",
7060
7068
  "aria-selected",
7061
7069
  "onClick"
7062
- ], Af = {
7070
+ ], jf = {
7063
7071
  key: 1,
7064
7072
  "aria-live": "polite",
7065
7073
  class: "g-select-combo-option g-select-option g-select-no-results"
7066
- }, jf = /* @__PURE__ */ $(/* @__PURE__ */ R({
7074
+ }, Mf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7067
7075
  __name: "GSelect",
7068
- props: /* @__PURE__ */ H({
7076
+ props: /*@__PURE__*/ H({
7069
7077
  options: { type: Array },
7070
7078
  label: { type: String },
7071
7079
  hiddenLabel: { type: Boolean },
@@ -7097,20 +7105,20 @@ var Bd = ["id", "for"], Vd = {
7097
7105
  modelValue: {},
7098
7106
  modelModifiers: {}
7099
7107
  }),
7100
- emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
7108
+ emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
7101
7109
  setup(e, { emit: t }) {
7102
7110
  let n = e, r = t, i = U(e, "modelValue"), a = z(), o = /* @__PURE__ */ N(null), s = /* @__PURE__ */ N(null), c = /* @__PURE__ */ N(null), l = /* @__PURE__ */ N(!1), u = /* @__PURE__ */ N(0), d = /* @__PURE__ */ N(!1), f = /* @__PURE__ */ N(!1), { displayErrors: p, hasErrors: m } = bu({
7103
7111
  name: n.name,
7104
7112
  value: i,
7105
7113
  errors: /* @__PURE__ */ fn(n, "errors"),
7106
7114
  formKey: n.formKey
7107
- }), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = zd({
7115
+ }), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = Bd({
7108
7116
  open: l,
7109
7117
  anchorRef: o,
7110
7118
  listboxRef: s,
7111
7119
  baseId: a,
7112
7120
  activeIndex: u
7113
- }), y = Q(() => Rd(n.options)), b = /* @__PURE__ */ N(""), x = Q(() => {
7121
+ }), y = Q(() => zd(n.options)), b = /* @__PURE__ */ N(""), x = Q(() => {
7114
7122
  if (!n.searchable || !l.value || !b.value) return y.value;
7115
7123
  let e = b.value.toLowerCase();
7116
7124
  return y.value.filter((t) => t.label.toLowerCase().includes(e));
@@ -7218,8 +7226,8 @@ var Bd = ["id", "for"], Vd = {
7218
7226
  key: 0,
7219
7227
  id: P(a) + "-label",
7220
7228
  class: "g-select-combo-label g-select-label"
7221
- }, [X(A(n.label), 1), n.required ? (G(), K("span", Cf, " *")) : Z("", !0)], 8, Sf)),
7222
- J("div", wf, [n.searchable ? (G(), K("div", {
7229
+ }, [X(A(n.label), 1), n.required ? (G(), K("span", wf, " *")) : Z("", !0)], 8, Cf)),
7230
+ J("div", Tf, [n.searchable ? (G(), K("div", {
7223
7231
  key: 0,
7224
7232
  class: "g-select-combo-input g-select-control",
7225
7233
  id: P(a)
@@ -7246,7 +7254,7 @@ var Bd = ["id", "for"], Vd = {
7246
7254
  }, e.hiddenLabel ? { "aria-label": n.label } : { "aria-labelledby": P(a) + "-label" }, {
7247
7255
  role: "combobox",
7248
7256
  autocomplete: "off"
7249
- }), null, 16, Ef),
7257
+ }), null, 16, Df),
7250
7258
  ie.value ? (G(), K("button", {
7251
7259
  key: 0,
7252
7260
  type: "button",
@@ -7272,7 +7280,7 @@ var Bd = ["id", "for"], Vd = {
7272
7280
  fill: "currentColor",
7273
7281
  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"
7274
7282
  })], -1)
7275
- ], 8, Tf)) : (G(), K("div", Va({
7283
+ ], 8, Ef)) : (G(), K("div", Va({
7276
7284
  key: 1,
7277
7285
  ref_key: "comboRef",
7278
7286
  ref: o,
@@ -7317,7 +7325,7 @@ var Bd = ["id", "for"], Vd = {
7317
7325
  fill: "currentColor",
7318
7326
  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"
7319
7327
  })], -1)
7320
- ], 16, Df)), Wn(J("div", Va({
7328
+ ], 16, Of)), Wn(J("div", Va({
7321
7329
  ref_key: "listboxRef",
7322
7330
  ref: s,
7323
7331
  class: ["g-select-combo-menu g-select-list", { "g-select-combo-menu--above": P(h) === "above" }],
@@ -7339,18 +7347,18 @@ var Bd = ["id", "for"], Vd = {
7339
7347
  option: e,
7340
7348
  selected: e.value === i.value,
7341
7349
  index: n
7342
- }, () => [X(A(e.label), 1)])], 42, kf))), 128)) : (G(), K("div", Af, " No results found. "))], 16, Of), [[Go, l.value]])]),
7350
+ }, () => [X(A(e.label), 1)])], 42, Af))), 128)) : (G(), K("div", jf, " No results found. "))], 16, kf), [[Go, l.value]])]),
7343
7351
  Y(Su, {
7344
7352
  errors: P(p),
7345
7353
  id: "error-message-" + P(a)
7346
7354
  }, null, 8, ["errors", "id"])
7347
7355
  ], 2));
7348
7356
  }
7349
- }), [["styles", [""]]]), Mf = ["disabled"], Nf = { class: "g-select-btn-legend" }, Pf = {
7357
+ }), [["styles", [""]]]), Nf = ["disabled"], Pf = { class: "g-select-btn-legend" }, Ff = {
7350
7358
  key: 0,
7351
7359
  class: "g-select-btn-required",
7352
7360
  "aria-hidden": "true"
7353
- }, Ff = { class: "g-select-btn-row" }, If = [
7361
+ }, If = { class: "g-select-btn-row" }, Lf = [
7354
7362
  "id",
7355
7363
  "name",
7356
7364
  "value",
@@ -7358,9 +7366,9 @@ var Bd = ["id", "for"], Vd = {
7358
7366
  "disabled",
7359
7367
  "required",
7360
7368
  "onChange"
7361
- ], Lf = ["for"], Rf = /* @__PURE__ */ $(/* @__PURE__ */ R({
7369
+ ], Rf = ["for"], zf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7362
7370
  __name: "GSelectButton",
7363
- props: /* @__PURE__ */ H({
7371
+ props: /*@__PURE__*/ H({
7364
7372
  options: { type: Array },
7365
7373
  label: { type: String },
7366
7374
  size: {
@@ -7391,7 +7399,7 @@ var Bd = ["id", "for"], Vd = {
7391
7399
  modelValue: { default: () => "" },
7392
7400
  modelModifiers: {}
7393
7401
  }),
7394
- emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
7402
+ emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
7395
7403
  setup(e, { emit: t }) {
7396
7404
  let n = e, r = t, i = U(e, "modelValue"), a = z(), { displayErrors: o, hasErrors: s } = bu({
7397
7405
  name: n.name,
@@ -7412,7 +7420,7 @@ var Bd = ["id", "for"], Vd = {
7412
7420
  return (e, t) => (G(), K("fieldset", {
7413
7421
  class: k(l.value),
7414
7422
  disabled: n.disabled
7415
- }, [J("legend", Nf, [X(A(n.label), 1), n.required ? (G(), K("span", Pf, " *")) : Z("", !0)]), J("div", { class: k(["g-select-btn-wrapper", { "g-select-btn-has-error": P(s) }]) }, [J("div", Ff, [(G(!0), K(W, null, B(c.value, (e, t) => (G(), K(W, { key: e.value }, [J("input", {
7423
+ }, [J("legend", Pf, [X(A(n.label), 1), n.required ? (G(), K("span", Ff, " *")) : Z("", !0)]), J("div", { class: k(["g-select-btn-wrapper", { "g-select-btn-has-error": P(s) }]) }, [J("div", If, [(G(!0), K(W, null, B(c.value, (e, t) => (G(), K(W, { key: e.value }, [J("input", {
7416
7424
  class: "g-select-btn-radio",
7417
7425
  type: "radio",
7418
7426
  id: `${P(a)}-${e.value}`,
@@ -7422,15 +7430,15 @@ var Bd = ["id", "for"], Vd = {
7422
7430
  disabled: n.disabled,
7423
7431
  required: n.required && t === 0,
7424
7432
  onChange: (t) => d(e.value)
7425
- }, null, 40, If), J("label", {
7433
+ }, null, 40, Lf), J("label", {
7426
7434
  for: `${P(a)}-${e.value}`,
7427
7435
  class: k(u(e.value === i.value))
7428
- }, A(e.label), 11, Lf)], 64))), 128))]), Y(Su, {
7436
+ }, A(e.label), 11, Rf)], 64))), 128))]), Y(Su, {
7429
7437
  errors: P(o),
7430
7438
  id: "error-message-" + P(a)
7431
- }, null, 8, ["errors", "id"])], 2)], 10, Mf));
7439
+ }, null, 8, ["errors", "id"])], 2)], 10, Nf));
7432
7440
  }
7433
- }), [["styles", [""]]]), zf = ["id"], Bf = /* @__PURE__ */ $(/* @__PURE__ */ R({
7441
+ }), [["styles", [""]]]), Bf = ["id"], Vf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7434
7442
  __name: "GSidebar",
7435
7443
  props: {
7436
7444
  backgroundColor: {
@@ -7484,15 +7492,15 @@ var Bd = ["id", "for"], Vd = {
7484
7492
  width: "var(--g-sidebar-width)"
7485
7493
  }),
7486
7494
  onKeydown: s
7487
- }, [V(t.$slots, "default")], 46, zf));
7495
+ }, [V(t.$slots, "default")], 46, Bf));
7488
7496
  }
7489
- }), [["styles", [""]]]), Vf = ["id"], Hf = { class: "g-sidebar-menu__list" }, Uf = [
7497
+ }), [["styles", [""]]]), Hf = ["id"], Uf = { class: "g-sidebar-menu__list" }, Wf = [
7490
7498
  "href",
7491
7499
  "aria-current",
7492
7500
  "onClick"
7493
- ], Wf = /* @__PURE__ */ $(/* @__PURE__ */ R({
7501
+ ], Gf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7494
7502
  __name: "GSidebarMenu",
7495
- props: /* @__PURE__ */ H({
7503
+ props: /*@__PURE__*/ H({
7496
7504
  heading: { type: String },
7497
7505
  items: { type: Array },
7498
7506
  offset: {
@@ -7544,13 +7552,13 @@ var Bd = ["id", "for"], Vd = {
7544
7552
  key: 0,
7545
7553
  id: P(c),
7546
7554
  class: "g-sidebar-menu__title"
7547
- }, A(e.heading), 9, Vf)) : Z("", !0),
7555
+ }, A(e.heading), 9, Hf)) : Z("", !0),
7548
7556
  a[0] ||= J("div", { class: "g-sidebar-menu__divider" }, null, -1),
7549
7557
  J("div", {
7550
7558
  class: "g-sidebar-menu__content",
7551
7559
  ref_key: "content",
7552
7560
  ref: i
7553
- }, [J("ul", Hf, [(G(!0), K(W, null, B(e.items, (e) => (G(), K("li", {
7561
+ }, [J("ul", Uf, [(G(!0), K(W, null, B(e.items, (e) => (G(), K("li", {
7554
7562
  key: e.href || e.to,
7555
7563
  class: "g-sidebar-menu__item",
7556
7564
  ref_for: !0,
@@ -7568,10 +7576,10 @@ var Bd = ["id", "for"], Vd = {
7568
7576
  href: e.href || e.to || "#",
7569
7577
  "aria-current": r.value === (e.href || "") ? "location" : void 0,
7570
7578
  onClick: (t) => s(t, e)
7571
- }, A(e.label), 11, Uf))]))), 128))])], 512)
7579
+ }, A(e.label), 11, Wf))]))), 128))])], 512)
7572
7580
  ], 16));
7573
7581
  }
7574
- }), [["styles", [""]]]), Gf = /* @__PURE__ */ $(/* @__PURE__ */ R({
7582
+ }), [["styles", [""]]]), Kf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7575
7583
  __name: "GSubmitButton",
7576
7584
  props: {
7577
7585
  disabled: {
@@ -7603,44 +7611,44 @@ var Bd = ["id", "for"], Vd = {
7603
7611
  _: 3
7604
7612
  }, 8, ["disabled", "variant"]));
7605
7613
  }
7606
- }), [["styles", [""]]]), Kf = {
7614
+ }), [["styles", [""]]]), qf = {
7607
7615
  ref: "tableBodyRef",
7608
7616
  class: "efficient-table-body"
7609
- }, qf = ["aria-rowindex"], Jf = {
7617
+ }, Jf = ["aria-rowindex"], Yf = {
7610
7618
  key: 0,
7611
7619
  class: "table-group-checkbox"
7612
- }, Yf = ["colspan"], Xf = [
7620
+ }, Xf = ["colspan"], Zf = [
7613
7621
  "aria-rowindex",
7614
7622
  "onMousedown",
7615
7623
  "onClick"
7616
- ], Zf = [
7624
+ ], Qf = [
7617
7625
  "checked",
7618
7626
  "onClick",
7619
7627
  "aria-label",
7620
7628
  "name"
7621
- ], Qf = ["id"], $f = {
7629
+ ], $f = ["id"], ep = {
7622
7630
  key: 0,
7623
7631
  class: "editable-cell"
7624
- }, ep = {
7632
+ }, tp = {
7625
7633
  key: 0,
7626
7634
  class: "cell-prefix"
7627
- }, tp = [
7635
+ }, np = [
7628
7636
  "value",
7629
7637
  "onChange",
7630
7638
  "aria-labelledby",
7631
7639
  "aria-invalid",
7632
7640
  "name"
7633
- ], np = ["value"], rp = [
7641
+ ], rp = ["value"], ip = [
7634
7642
  "value",
7635
7643
  "onInput",
7636
7644
  "aria-labelledby",
7637
7645
  "aria-invalid",
7638
7646
  "aria-errormessage",
7639
7647
  "name"
7640
- ], ip = {
7648
+ ], ap = {
7641
7649
  key: 3,
7642
7650
  class: "cell-suffix"
7643
- }, ap = ["id"], op = /* @__PURE__ */ $(/* @__PURE__ */ R({
7651
+ }, op = ["id"], sp = /*#__PURE__*/ $(/* @__PURE__ */ R({
7644
7652
  __name: "GTableBody",
7645
7653
  props: {
7646
7654
  data: { type: Array },
@@ -7709,13 +7717,13 @@ var Bd = ["id", "for"], Vd = {
7709
7717
  function m(e, t) {
7710
7718
  if (n.changeTracker) return n.changeTracker.getError(e.key, t.key);
7711
7719
  }
7712
- return (t, n) => (G(), K("tbody", Kf, [(G(!0), K(W, null, B(e.data, (t, r) => (G(), K(W, { key: t.key }, [e.groupBy && (r === 0 || t[e.groupBy] !== e.data[r - 1][e.groupBy]) ? (G(), K("tr", {
7720
+ return (t, n) => (G(), K("tbody", qf, [(G(!0), K(W, null, B(e.data, (t, r) => (G(), K(W, { key: t.key }, [e.groupBy && (r === 0 || t[e.groupBy] !== e.data[r - 1][e.groupBy]) ? (G(), K("tr", {
7713
7721
  key: 0,
7714
7722
  "aria-rowindex": e.startIndex + r + 2
7715
- }, [e.bulkSelectionEnabled ? (G(), K("td", Jf)) : Z("", !0), J("td", {
7723
+ }, [e.bulkSelectionEnabled ? (G(), K("td", Yf)) : Z("", !0), J("td", {
7716
7724
  colspan: e.columns.length,
7717
7725
  class: "table-group-row"
7718
- }, [e.groupRender ? (G(), q(ni(e.groupRender(t[e.groupBy], t)), { key: 0 })) : (G(), K(W, { key: 1 }, [X(A(t[e.groupBy]), 1)], 64))], 8, Yf)], 8, qf)) : Z("", !0), J("tr", {
7726
+ }, [e.groupRender ? (G(), q(ni(e.groupRender(t[e.groupBy], t)), { key: 0 })) : (G(), K(W, { key: 1 }, [X(A(t[e.groupBy]), 1)], 64))], 8, Xf)], 8, Jf)) : Z("", !0), J("tr", {
7719
7727
  class: k([
7720
7728
  "efficient-table-row",
7721
7729
  {
@@ -7738,7 +7746,7 @@ var Bd = ["id", "for"], Vd = {
7738
7746
  "aria-label": `Select row ${t.key}`,
7739
7747
  name: `row-${t.key}-checkbox`,
7740
7748
  class: "g-bulk-select-checkbox"
7741
- }, null, 8, Zf)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (n) => (G(), K("td", {
7749
+ }, null, 8, Qf)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (n) => (G(), K("td", {
7742
7750
  key: n.key,
7743
7751
  id: d(n) ? `${e.tableId}-td-${t.key}-${String(n.key)}` : void 0,
7744
7752
  class: k([
@@ -7747,8 +7755,8 @@ var Bd = ["id", "for"], Vd = {
7747
7755
  p(t, n) ? "g-cell-error" : "",
7748
7756
  typeof n.tdClass == "function" ? n.tdClass(t) : n.tdClass
7749
7757
  ])
7750
- }, [n.editable ? (G(), K("div", $f, [
7751
- n.editable.prefix ? (G(), K("span", ep, A(n.editable.prefix), 1)) : Z("", !0),
7758
+ }, [n.editable ? (G(), K("div", ep, [
7759
+ n.editable.prefix ? (G(), K("span", tp, A(n.editable.prefix), 1)) : Z("", !0),
7752
7760
  n.editable.type === "select" ? (G(), K("select", {
7753
7761
  key: 1,
7754
7762
  value: t[n.key],
@@ -7760,7 +7768,7 @@ var Bd = ["id", "for"], Vd = {
7760
7768
  }, [(G(!0), K(W, null, B(n.editable.options, (e) => (G(), K("option", {
7761
7769
  key: e.value,
7762
7770
  value: e.value
7763
- }, A(e.label), 9, np))), 128))], 40, tp)) : (G(), K("input", Va({
7771
+ }, A(e.label), 9, rp))), 128))], 40, np)) : (G(), K("input", Va({
7764
7772
  key: 2,
7765
7773
  value: t[n.key]
7766
7774
  }, { ref_for: !0 }, n.editable.inputAttributes, {
@@ -7774,29 +7782,29 @@ var Bd = ["id", "for"], Vd = {
7774
7782
  paddingLeft: n.editable.prefix ? "1.5rem" : void 0,
7775
7783
  paddingRight: n.editable.suffix ? "2rem" : void 0
7776
7784
  }
7777
- }), null, 16, rp)),
7778
- n.editable.suffix ? (G(), K("span", ip, A(n.editable.suffix), 1)) : Z("", !0)
7785
+ }), null, 16, ip)),
7786
+ n.editable.suffix ? (G(), K("span", ap, A(n.editable.suffix), 1)) : Z("", !0)
7779
7787
  ])) : n.display ? (G(), q(ni(n.display(t)), { key: 1 })) : (G(), K(W, { key: 2 }, [X(A(t[n.key]), 1)], 64)), p(t, n) ? (G(), K("div", {
7780
7788
  key: 3,
7781
7789
  role: "alert",
7782
7790
  class: "g-cell-error-message",
7783
7791
  id: `${e.tableId}-error-${t.key}-${String(n.key)}`
7784
- }, A(m(t, n)), 9, ap)) : Z("", !0)], 10, Qf))), 128))], 42, Xf)], 64))), 128))], 512));
7792
+ }, A(m(t, n)), 9, op)) : Z("", !0)], 10, $f))), 128))], 42, Zf)], 64))), 128))], 512));
7785
7793
  }
7786
7794
  }), [["styles", [""]]]);
7787
7795
  //#endregion
7788
7796
  //#region src/compose/useFiltering.ts
7789
- function sp(e) {
7797
+ function cp(e) {
7790
7798
  if (!(Array.isArray(e) && e.length === 0) && !(e === null || e === !1 || e === "")) return e;
7791
7799
  }
7792
- function cp(e) {
7800
+ function lp(e) {
7793
7801
  let t = {};
7794
7802
  return Object.keys(e).forEach((n) => {
7795
7803
  let r = e[n];
7796
7804
  r != null && r !== "" && r !== !1 && (Array.isArray(r) ? r.length > 0 && (t[n] = r.map((e) => String(e))) : t[n] = String(r));
7797
7805
  }), t;
7798
7806
  }
7799
- function lp(e, t = {}) {
7807
+ function up(e, t = {}) {
7800
7808
  let n = /* @__PURE__ */ Ht(Object.fromEntries(Object.entries(e).map(([e, t]) => [e, t]))), r = t.syncWith;
7801
7809
  if (r) {
7802
7810
  if (r.value) {
@@ -7809,13 +7817,13 @@ function lp(e, t = {}) {
7809
7817
  });
7810
7818
  }
7811
7819
  L(n, (e) => {
7812
- r.value = cp(e);
7820
+ r.value = lp(e);
7813
7821
  }, { deep: !0 });
7814
7822
  }
7815
7823
  return {
7816
7824
  filters: n,
7817
7825
  isFiltered: Q(() => {
7818
- for (let t of Object.keys(e)) if (sp(n[t])) return !0;
7826
+ for (let t of Object.keys(e)) if (cp(n[t])) return !0;
7819
7827
  return !1;
7820
7828
  }),
7821
7829
  clearFilters: () => {
@@ -7825,50 +7833,50 @@ function lp(e, t = {}) {
7825
7833
  },
7826
7834
  filteredColumns: Q(() => {
7827
7835
  let t = {};
7828
- for (let r of Object.keys(e)) t[r] = !!sp(n[r]);
7836
+ for (let r of Object.keys(e)) t[r] = !!cp(n[r]);
7829
7837
  return t;
7830
7838
  })
7831
7839
  };
7832
7840
  }
7833
7841
  //#endregion
7834
7842
  //#region src/components/GTable.vue?vue&type=script&setup=true&lang.ts
7835
- var up = { class: "g-table-outer-wrap" }, dp = {
7843
+ var dp = { class: "g-table-outer-wrap" }, fp = {
7836
7844
  key: 0,
7837
7845
  class: "g-table-controls"
7838
- }, fp = { class: "g-clear-filters-wrap" }, pp = {
7846
+ }, pp = { class: "g-clear-filters-wrap" }, mp = {
7839
7847
  key: 0,
7840
7848
  class: "pagination"
7841
- }, mp = { class: "g-result-count" }, hp = ["aria-label", "aria-rowcount"], gp = { class: "g-table-head" }, _p = { "aria-rowindex": "1" }, vp = {
7849
+ }, hp = { class: "g-result-count" }, gp = ["aria-label", "aria-rowcount"], _p = { class: "g-table-head" }, vp = { "aria-rowindex": "1" }, yp = {
7842
7850
  key: 0,
7843
7851
  scope: "col",
7844
7852
  class: "g-th g-th-checkbox"
7845
- }, yp = [
7853
+ }, bp = [
7846
7854
  "checked",
7847
7855
  "indeterminate",
7848
7856
  "aria-label"
7849
- ], bp = ["id", "aria-sort"], xp = { class: "th-inner" }, Sp = ["onClick"], Cp = {
7857
+ ], xp = ["id", "aria-sort"], Sp = { class: "th-inner" }, Cp = ["onClick"], wp = {
7850
7858
  key: 0,
7851
7859
  class: "sort-indicator"
7852
- }, wp = ["aria-label"], Tp = {
7860
+ }, Tp = ["aria-label"], Ep = {
7853
7861
  key: 1,
7854
7862
  class: "g-column-head"
7855
- }, Ep = ["onClick", "aria-label"], Dp = { key: 1 }, Op = { class: "g-filter-toggle" }, kp = [
7863
+ }, Dp = ["onClick", "aria-label"], Op = { key: 1 }, kp = { class: "g-filter-toggle" }, Ap = [
7856
7864
  "onUpdate:modelValue",
7857
7865
  "id",
7858
7866
  "aria-describedby"
7859
- ], Ap = ["for"], jp = ["id"], Mp = {
7867
+ ], jp = ["for"], Mp = ["id"], Np = {
7860
7868
  key: 3,
7861
7869
  class: "g-multi-select"
7862
- }, Np = [
7870
+ }, Pp = [
7863
7871
  "onUpdate:modelValue",
7864
7872
  "id",
7865
7873
  "value"
7866
- ], Pp = ["for"], Fp = {
7874
+ ], Fp = ["for"], Ip = {
7867
7875
  key: 1,
7868
7876
  class: "g-bulk-actions-toolbar"
7869
- }, Ip = { class: "g-selected-count" }, Lp = { class: "g-bulk-actions" }, Rp = /* @__PURE__ */ $(/* @__PURE__ */ R({
7877
+ }, Lp = { class: "g-selected-count" }, Rp = { class: "g-bulk-actions" }, zp = /*#__PURE__*/ $(/* @__PURE__ */ R({
7870
7878
  __name: "GTable",
7871
- props: /* @__PURE__ */ H({
7879
+ props: /*@__PURE__*/ H({
7872
7880
  label: { type: String },
7873
7881
  data: { type: Array },
7874
7882
  columns: { type: Array },
@@ -7902,7 +7910,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
7902
7910
  selectedRows: { default: () => [] },
7903
7911
  selectedRowsModifiers: {}
7904
7912
  }),
7905
- emits: /* @__PURE__ */ H([
7913
+ emits: /*@__PURE__*/ H([
7906
7914
  "row-click",
7907
7915
  "bulk-action",
7908
7916
  "cell-change"
@@ -7918,7 +7926,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
7918
7926
  e.sortable && (n.value === e.key ? r.value === 1 ? r.value = -1 : r.value === -1 && (n.value = void 0, r.value = 1) : (n.value = e.key, r.value = 1));
7919
7927
  }
7920
7928
  let l = o.filtering;
7921
- l ||= lp({});
7929
+ l ||= up({});
7922
7930
  let { filters: u, filteredColumns: d, isFiltered: f, clearFilters: p } = l, m = Q(() => o.data.map((e) => e.key)), h = Q(() => a.value.filter((e) => m.value.includes(e))), g = Q(() => !o.bulkSelectionEnabled || o.data.length === 0 ? !1 : h.value.length === m.value.length), _ = Q(() => !o.bulkSelectionEnabled || o.data.length === 0 ? !1 : h.value.length > 0 && h.value.length < m.value.length), v = /* @__PURE__ */ N(null);
7923
7931
  function y() {
7924
7932
  if (g.value) a.value = a.value.filter((e) => !m.value.includes(e));
@@ -7964,9 +7972,9 @@ var up = { class: "g-table-outer-wrap" }, dp = {
7964
7972
  let e = i.value[t.key];
7965
7973
  i.value[t.key] = e ? [e] : [];
7966
7974
  }
7967
- }, { immediate: !0 }), (t, s) => (G(), K("div", up, [
7968
- ee.value ? (G(), K("div", dp, [
7969
- J("div", fp, [P(f) ? (G(), q(ru, {
7975
+ }, { immediate: !0 }), (t, s) => (G(), K("div", dp, [
7976
+ ee.value ? (G(), K("div", fp, [
7977
+ J("div", pp, [P(f) ? (G(), q(ru, {
7970
7978
  key: 0,
7971
7979
  outlined: "",
7972
7980
  size: "small",
@@ -7984,22 +7992,22 @@ var up = { class: "g-table-outer-wrap" }, dp = {
7984
7992
  })], -1), J("span", { class: "g-clear-filters-text" }, " Clear Filters ", -1)]]),
7985
7993
  _: 1
7986
7994
  }, 8, ["onClick"])) : Z("", !0)]),
7987
- E.value ? (G(), K("div", pp, [V(t.$slots, "pagination")])) : Z("", !0),
7988
- J("span", mp, A(o.resultCount || e.data.length) + " results", 1)
7995
+ E.value ? (G(), K("div", mp, [V(t.$slots, "pagination")])) : Z("", !0),
7996
+ J("span", hp, A(o.resultCount || e.data.length) + " results", 1)
7989
7997
  ])) : Z("", !0),
7990
7998
  J("table", {
7991
7999
  class: "g-table",
7992
8000
  ref: "tableRef",
7993
8001
  "aria-label": e.label,
7994
8002
  "aria-rowcount": o.resultCount || e.data.length
7995
- }, [J("thead", gp, [J("tr", _p, [e.bulkSelectionEnabled ? (G(), K("th", vp, [J("input", {
8003
+ }, [J("thead", _p, [J("tr", vp, [e.bulkSelectionEnabled ? (G(), K("th", yp, [J("input", {
7996
8004
  type: "checkbox",
7997
8005
  checked: g.value,
7998
8006
  indeterminate: _.value,
7999
8007
  onChange: y,
8000
8008
  "aria-label": g.value ? "Deselect all rows" : "Select all rows",
8001
8009
  class: "g-bulk-select-checkbox"
8002
- }, null, 40, yp)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (e) => (G(), K("th", {
8010
+ }, null, 40, bp)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (e) => (G(), K("th", {
8003
8011
  key: e.key,
8004
8012
  id: `${P(w)}-th-${String(e.key)}`,
8005
8013
  "aria-sort": n.value === e.key ? r.value === 1 ? "ascending" : "descending" : "none",
@@ -8009,12 +8017,12 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8009
8017
  { filtered: P(d)[e.key] }
8010
8018
  ]),
8011
8019
  scope: "col"
8012
- }, [J("div", xp, [e.sortable ? (G(), K("button", {
8020
+ }, [J("div", Sp, [e.sortable ? (G(), K("button", {
8013
8021
  key: 0,
8014
8022
  type: "button",
8015
8023
  class: "g-column-head",
8016
8024
  onClick: (t) => c(e)
8017
- }, [X(A(e.label) + " ", 1), n.value === e.key ? (G(), K("span", Cp, [(G(), K("svg", {
8025
+ }, [X(A(e.label) + " ", 1), n.value === e.key ? (G(), K("span", wp, [(G(), K("svg", {
8018
8026
  xmlns: "http://www.w3.org/2000/svg",
8019
8027
  viewBox: "0 0 640 640",
8020
8028
  height: "1.5em",
@@ -8024,7 +8032,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8024
8032
  }, [...s[1] ||= [J("path", {
8025
8033
  fill: "currentColor",
8026
8034
  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"
8027
- }, null, -1)]], 12, wp))])) : Z("", !0)], 8, Sp)) : (G(), K("span", Tp, A(e.label), 1)), e.filter ? (G(), q(af, { key: 2 }, {
8035
+ }, null, -1)]], 12, Tp))])) : Z("", !0)], 8, Cp)) : (G(), K("span", Ep, A(e.label), 1)), e.filter ? (G(), q(of, { key: 2 }, {
8028
8036
  trigger: I(({ toggle: t }) => [J("button", {
8029
8037
  onClick: As(t, ["stop"]),
8030
8038
  "aria-label": P(d)[e.key] ? "Column Filtered" : "Filter Column",
@@ -8038,8 +8046,8 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8038
8046
  }, [J("path", {
8039
8047
  fill: "currentColor",
8040
8048
  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"
8041
- })], -1)]], 10, Ep)]),
8042
- default: I(() => [e.filter.type === "select" ? (G(), q(jf, {
8049
+ })], -1)]], 10, Dp)]),
8050
+ default: I(() => [e.filter.type === "select" ? (G(), q(Mf, {
8043
8051
  key: 0,
8044
8052
  modelValue: i.value[e.key],
8045
8053
  "onUpdate:modelValue": (t) => i.value[e.key] = t,
@@ -8052,20 +8060,20 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8052
8060
  "modelValue",
8053
8061
  "onUpdate:modelValue",
8054
8062
  "options"
8055
- ])) : e.filter.type === "toggle" ? (G(), K("div", Dp, [J("div", Op, [
8063
+ ])) : e.filter.type === "toggle" ? (G(), K("div", Op, [J("div", kp, [
8056
8064
  Wn(J("input", {
8057
8065
  type: "checkbox",
8058
8066
  "onUpdate:modelValue": (t) => i.value[e.key] = t,
8059
8067
  id: `${P(w)}-filter-${String(e.key)}`,
8060
8068
  "aria-describedby": e.filter.description ? `${P(w)}-filter-description-${String(e.key)}` : void 0
8061
- }, null, 8, kp), [[ws, i.value[e.key]]]),
8062
- J("label", { for: `${P(w)}-filter-${String(e.key)}` }, A(e.filter.label), 9, Ap),
8069
+ }, null, 8, Ap), [[ws, i.value[e.key]]]),
8070
+ J("label", { for: `${P(w)}-filter-${String(e.key)}` }, A(e.filter.label), 9, jp),
8063
8071
  e.filter.description ? (G(), K("span", {
8064
8072
  key: 0,
8065
8073
  class: "g-filter-description",
8066
8074
  id: `${P(w)}-filter-description-${String(e.key)}`
8067
- }, A(e.filter.description), 9, jp)) : Z("", !0)
8068
- ])])) : e.filter.type === "multi-select" && e.filter.searchable ? (G(), q(Qd, {
8075
+ }, A(e.filter.description), 9, Mp)) : Z("", !0)
8076
+ ])])) : e.filter.type === "multi-select" && e.filter.searchable ? (G(), q($d, {
8069
8077
  key: 2,
8070
8078
  modelValue: i.value[e.key],
8071
8079
  "onUpdate:modelValue": (t) => i.value[e.key] = t,
@@ -8078,7 +8086,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8078
8086
  "onUpdate:modelValue",
8079
8087
  "options",
8080
8088
  "placeholder"
8081
- ])) : e.filter.type === "multi-select" ? (G(), K("fieldset", Mp, [
8089
+ ])) : e.filter.type === "multi-select" ? (G(), K("fieldset", Np, [
8082
8090
  s[4] ||= J("legend", { class: "g-multi-select-legend" }, " Include values ", -1),
8083
8091
  (G(!0), K(W, null, B(e.filter.options, (t) => (G(), K("div", { key: t.value }, [Wn(J("input", {
8084
8092
  type: "checkbox",
@@ -8086,7 +8094,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8086
8094
  id: `filter-${String(e.key)}-${t.value}`,
8087
8095
  value: t.value,
8088
8096
  name: "filter-multiselect"
8089
- }, null, 8, Np), [[ws, i.value[e.key]]]), J("label", { for: `filter-${String(e.key)}-${t.value}` }, A(t.label), 9, Pp)]))), 128)),
8097
+ }, null, 8, Pp), [[ws, i.value[e.key]]]), J("label", { for: `filter-${String(e.key)}-${t.value}` }, A(t.label), 9, Fp)]))), 128)),
8090
8098
  i.value[e.key] && i.value[e.key].length ? (G(), q(ru, {
8091
8099
  key: 0,
8092
8100
  class: "clear-multiselect-btn",
@@ -8099,7 +8107,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8099
8107
  }, 8, ["onClick"])) : Z("", !0)
8100
8108
  ])) : Z("", !0)]),
8101
8109
  _: 2
8102
- }, 1024)) : Z("", !0)])], 10, bp))), 128))])]), Y(op, {
8110
+ }, 1024)) : Z("", !0)])], 10, xp))), 128))])]), Y(sp, {
8103
8111
  data: e.data,
8104
8112
  columns: e.columns,
8105
8113
  "group-by": e.groupBy,
@@ -8126,8 +8134,8 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8126
8134
  "selected-rows",
8127
8135
  "table-id",
8128
8136
  "change-tracker"
8129
- ])], 8, hp),
8130
- e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div", Fp, [J("span", Ip, A(a.value.length) + " row" + A(a.value.length === 1 ? "" : "s") + " selected", 1), J("ul", Lp, [(G(!0), K(W, null, B(e.bulkActions, (e) => (G(), K("li", { key: e.id }, [Y(ru, {
8137
+ ])], 8, gp),
8138
+ e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div", Ip, [J("span", Lp, A(a.value.length) + " row" + A(a.value.length === 1 ? "" : "s") + " selected", 1), J("ul", Rp, [(G(!0), K(W, null, B(e.bulkActions, (e) => (G(), K("li", { key: e.id }, [Y(ru, {
8131
8139
  theme: e.theme || "accent",
8132
8140
  onClick: (t) => S(e.id),
8133
8141
  size: "small"
@@ -8137,12 +8145,12 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8137
8145
  }, 1032, ["theme", "onClick"])]))), 128))])])) : Z("", !0)
8138
8146
  ]));
8139
8147
  }
8140
- }), [["styles", [""]]]), zp = {
8148
+ }), [["styles", [""]]]), Bp = {
8141
8149
  class: "g-pagination",
8142
8150
  "aria-label": "Pagination"
8143
- }, Bp = ["disabled"], Vp = ["disabled"], Hp = { class: "page-range" }, Up = ["disabled"], Wp = ["disabled"], Gp = ["value"], Kp = ["value"], qp = /* @__PURE__ */ $(/* @__PURE__ */ R({
8151
+ }, Vp = ["disabled"], Hp = ["disabled"], Up = { class: "page-range" }, Wp = ["disabled"], Gp = ["disabled"], Kp = ["value"], qp = ["value"], Jp = /*#__PURE__*/ $(/* @__PURE__ */ R({
8144
8152
  __name: "GTablePagination",
8145
- props: /* @__PURE__ */ H({
8153
+ props: /*@__PURE__*/ H({
8146
8154
  start: { type: Number },
8147
8155
  pageSize: { type: Number },
8148
8156
  total: { type: Number },
@@ -8162,7 +8170,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8162
8170
  function d(e) {
8163
8171
  i.value = parseInt(e.target.value, 10);
8164
8172
  }
8165
- return (e, r) => (G(), K("nav", zp, [
8173
+ return (e, r) => (G(), K("nav", Bp, [
8166
8174
  J("button", {
8167
8175
  class: "first-page g-pagination-button",
8168
8176
  disabled: l.value === 1,
@@ -8187,7 +8195,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8187
8195
  }),
8188
8196
  J("path", { d: "M11 7l-5 5l5 5" }),
8189
8197
  J("path", { d: "M17 7l-5 5l5 5" })
8190
- ], -1)]], 8, Bp),
8198
+ ], -1)]], 8, Vp),
8191
8199
  J("button", {
8192
8200
  class: "prev-page g-pagination-button",
8193
8201
  disabled: l.value === 1,
@@ -8208,8 +8216,8 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8208
8216
  stroke: "none",
8209
8217
  d: "M0 0h24v24H0z",
8210
8218
  fill: "none"
8211
- }), J("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Vp),
8212
- J("span", Hp, A(s.value) + " to " + A(c.value), 1),
8219
+ }), J("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Hp),
8220
+ J("span", Up, A(s.value) + " to " + A(c.value), 1),
8213
8221
  J("button", {
8214
8222
  class: "next-page g-pagination-button",
8215
8223
  disabled: l.value === n.value,
@@ -8230,7 +8238,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8230
8238
  stroke: "none",
8231
8239
  d: "M0 0h24v24H0z",
8232
8240
  fill: "none"
8233
- }), J("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Up),
8241
+ }), J("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Wp),
8234
8242
  J("button", {
8235
8243
  class: "last-page g-pagination-button",
8236
8244
  disabled: l.value === n.value,
@@ -8255,7 +8263,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8255
8263
  }),
8256
8264
  J("path", { d: "M7 7l5 5l-5 5" }),
8257
8265
  J("path", { d: "M13 7l5 5l-5 5" })
8258
- ], -1)]], 8, Wp),
8266
+ ], -1)]], 8, Gp),
8259
8267
  J("select", {
8260
8268
  id: "page-size-select",
8261
8269
  class: "page-size-select",
@@ -8269,16 +8277,16 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8269
8277
  ], (e) => (G(), K("option", {
8270
8278
  key: e,
8271
8279
  value: e
8272
- }, A(e), 9, Kp))), 128))], 40, Gp),
8280
+ }, A(e), 9, qp))), 128))], 40, Kp),
8273
8281
  r[8] ||= J("label", {
8274
8282
  class: "page-size-label",
8275
8283
  for: "page-size-select"
8276
8284
  }, "per page", -1)
8277
8285
  ]));
8278
8286
  }
8279
- }), [["styles", [""]]]), Jp = { class: "popover-content" }, Yp = { class: "year-dropdown" }, Xp = { class: "month-selector" }, Zp = /* @__PURE__ */ $(/* @__PURE__ */ R({
8287
+ }), [["styles", [""]]]), Yp = { class: "popover-content" }, Xp = { class: "year-dropdown" }, Zp = { class: "month-selector" }, Qp = /*#__PURE__*/ $(/* @__PURE__ */ R({
8280
8288
  __name: "GTermSelectorControl",
8281
- props: /* @__PURE__ */ H({
8289
+ props: /*@__PURE__*/ H({
8282
8290
  termYears: {
8283
8291
  default: () => ["2026"],
8284
8292
  type: Array
@@ -8309,7 +8317,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8309
8317
  emits: ["update:modelValue"],
8310
8318
  setup(e) {
8311
8319
  let t = U(e, "modelValue");
8312
- return (n, r) => (G(), K("div", Jp, [J("div", Yp, [Y(jf, {
8320
+ return (n, r) => (G(), K("div", Yp, [J("div", Xp, [Y(Mf, {
8313
8321
  modelValue: t.value.year,
8314
8322
  "onUpdate:modelValue": r[0] ||= (e) => t.value.year = e,
8315
8323
  options: e.termYears,
@@ -8318,7 +8326,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8318
8326
  "modelValue",
8319
8327
  "options",
8320
8328
  "label"
8321
- ])]), J("div", Xp, [Y(Rf, {
8329
+ ])]), J("div", Zp, [Y(zf, {
8322
8330
  modelValue: t.value.name,
8323
8331
  "onUpdate:modelValue": r[1] ||= (e) => t.value.name = e,
8324
8332
  options: e.termNames,
@@ -8330,12 +8338,12 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8330
8338
  "label"
8331
8339
  ])])]));
8332
8340
  }
8333
- }), [["styles", [""]]]), Qp = { class: "g-term-selector" }, $p = { class: "g-term-label" }, em = {
8341
+ }), [["styles", [""]]]), $p = { class: "g-term-selector" }, em = { class: "g-term-label" }, tm = {
8334
8342
  class: "g-popover-title",
8335
8343
  tabindex: "-1"
8336
- }, tm = /* @__PURE__ */ $(/* @__PURE__ */ R({
8344
+ }, nm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8337
8345
  __name: "GTermSelector",
8338
- props: /* @__PURE__ */ H({
8346
+ props: /*@__PURE__*/ H({
8339
8347
  heading: {
8340
8348
  default: "Period Selection",
8341
8349
  type: String
@@ -8364,7 +8372,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8364
8372
  emits: ["update:modelValue"],
8365
8373
  setup(e) {
8366
8374
  let t = U(e, "modelValue");
8367
- return (n, r) => (G(), K("div", Qp, [Y(af, null, {
8375
+ return (n, r) => (G(), K("div", $p, [Y(of, null, {
8368
8376
  trigger: I(({ toggle: e }) => [Y(ru, {
8369
8377
  class: "g-term-selector-button",
8370
8378
  theme: "none",
@@ -8377,7 +8385,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8377
8385
  xmlns: "http://www.w3.org/2000/svg",
8378
8386
  viewBox: "0 0 640 640"
8379
8387
  }, [J("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),
8380
- J("span", $p, A(t.value?.name) + " " + A(t.value?.year), 1),
8388
+ J("span", em, A(t.value?.name) + " " + A(t.value?.year), 1),
8381
8389
  r[1] ||= J("span", { class: "g-caret" }, [J("svg", {
8382
8390
  role: "none presentation",
8383
8391
  xmlns: "http://www.w3.org/2000/svg",
@@ -8386,15 +8394,15 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8386
8394
  ]),
8387
8395
  _: 1
8388
8396
  }, 8, ["onClick"])]),
8389
- default: I(() => [J("h2", em, A(e.heading), 1), Y(Zp, ge(Ia(n.$props)), null, 16)]),
8397
+ default: I(() => [J("h2", tm, A(e.heading), 1), Y(Qp, ge(Ia(n.$props)), null, 16)]),
8390
8398
  _: 1
8391
8399
  })]));
8392
8400
  }
8393
- }), [["styles", [""]]]), nm = ["for"], rm = {
8401
+ }), [["styles", [""]]]), rm = ["for"], im = {
8394
8402
  key: 0,
8395
8403
  class: "g-textarea-required",
8396
8404
  "aria-hidden": "true"
8397
- }, im = ["id"], am = [
8405
+ }, am = ["id"], om = [
8398
8406
  "value",
8399
8407
  "placeholder",
8400
8408
  "disabled",
@@ -8403,14 +8411,14 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8403
8411
  "rows",
8404
8412
  "maxlength",
8405
8413
  "aria-invalid"
8406
- ], om = {
8414
+ ], sm = {
8407
8415
  key: 2,
8408
8416
  class: "g-textarea-char-count",
8409
8417
  "aria-live": "polite"
8410
- }, sm = /* @__PURE__ */ $(/* @__PURE__ */ R({
8418
+ }, cm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8411
8419
  inheritAttrs: !1,
8412
8420
  __name: "GTextarea",
8413
- props: /* @__PURE__ */ H({
8421
+ props: /*@__PURE__*/ H({
8414
8422
  label: {
8415
8423
  default: void 0,
8416
8424
  type: String
@@ -8463,7 +8471,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8463
8471
  modelValue: { type: String },
8464
8472
  modelModifiers: {}
8465
8473
  }),
8466
- emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
8474
+ emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
8467
8475
  setup(e, { emit: t }) {
8468
8476
  let n = e, r = U(e, "modelValue"), i = z(), { attrs: a, isCustomElement: o, forwardedAttrs: s } = $l({ omitInCustomElement: ["id"] }), c = Q(() => o ? i : a.id || i), { displayErrors: l, hasErrors: u } = bu({
8469
8477
  name: n.name,
@@ -8504,12 +8512,12 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8504
8512
  key: 0,
8505
8513
  for: c.value,
8506
8514
  class: "g-textarea-label"
8507
- }, [X(A(n.label), 1), n.required ? (G(), K("span", rm, " *")) : Z("", !0)], 8, nm)) : Z("", !0),
8515
+ }, [X(A(n.label), 1), n.required ? (G(), K("span", im, " *")) : Z("", !0)], 8, rm)) : Z("", !0),
8508
8516
  t.$slots.instructions || e.instructions ? (G(), K("div", {
8509
8517
  key: 1,
8510
8518
  id: "instructions-" + P(i),
8511
8519
  class: "g-textarea-instructions"
8512
- }, [V(t.$slots, "instructions", {}, () => [X(A(e.instructions), 1)])], 8, im)) : Z("", !0),
8520
+ }, [V(t.$slots, "instructions", {}, () => [X(A(e.instructions), 1)])], 8, am)) : Z("", !0),
8513
8521
  J("textarea", Va({
8514
8522
  ref: "textareaEl",
8515
8523
  value: r.value ?? "",
@@ -8530,38 +8538,38 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8530
8538
  onInput: h,
8531
8539
  onBlur: g,
8532
8540
  onPaste: _
8533
- }), null, 16, am),
8534
- n.maxlength === void 0 ? Z("", !0) : (G(), K("div", om, A((r.value ?? "").length) + " / " + A(n.maxlength), 1)),
8541
+ }), null, 16, om),
8542
+ n.maxlength === void 0 ? Z("", !0) : (G(), K("div", sm, A((r.value ?? "").length) + " / " + A(n.maxlength), 1)),
8535
8543
  Y(Su, {
8536
8544
  errors: P(l),
8537
8545
  id: "error-message-" + P(i)
8538
8546
  }, null, 8, ["errors", "id"])
8539
8547
  ], 2));
8540
8548
  }
8541
- }), [["styles", [""]]]), cm = { class: "g-three-way-toggle-wrapper" }, lm = { class: "g-three-way-toggle-control" }, um = ["id"], dm = [
8549
+ }), [["styles", [""]]]), lm = { class: "g-three-way-toggle-wrapper" }, um = { class: "g-three-way-toggle-control" }, dm = ["id"], fm = [
8542
8550
  "aria-labelledby",
8543
8551
  "aria-describedby",
8544
8552
  "disabled",
8545
8553
  "aria-invalid",
8546
8554
  "aria-errormessage"
8547
- ], fm = { key: 0 }, pm = { key: 1 }, mm = { key: 2 }, hm = ["for"], gm = [
8555
+ ], pm = { key: 0 }, mm = { key: 1 }, hm = { key: 2 }, gm = ["for"], _m = [
8548
8556
  "id",
8549
8557
  "name",
8550
8558
  "checked",
8551
8559
  "disabled"
8552
- ], _m = ["for"], vm = [
8560
+ ], vm = ["for"], ym = [
8553
8561
  "id",
8554
8562
  "name",
8555
8563
  "checked",
8556
8564
  "disabled"
8557
- ], ym = ["for"], bm = [
8565
+ ], bm = ["for"], xm = [
8558
8566
  "id",
8559
8567
  "name",
8560
8568
  "checked",
8561
8569
  "disabled"
8562
- ], xm = ["id"], Sm = /* @__PURE__ */ $(/* @__PURE__ */ R({
8570
+ ], Sm = ["id"], Cm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8563
8571
  __name: "GThreeWayToggle",
8564
- props: /* @__PURE__ */ H({
8572
+ props: /*@__PURE__*/ H({
8565
8573
  label: { type: String },
8566
8574
  describedby: { type: String },
8567
8575
  error: { type: String },
@@ -8573,7 +8581,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8573
8581
  },
8574
8582
  modelModifiers: {}
8575
8583
  }),
8576
- emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
8584
+ emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
8577
8585
  setup(e, { emit: t }) {
8578
8586
  let n = e, r = U(e, "modelValue"), i = t;
8579
8587
  function a(e) {
@@ -8593,10 +8601,10 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8593
8601
  function m(e) {
8594
8602
  n.disabled || (e.key === "n" || e.key === "N" ? (a(!1), e.preventDefault()) : (e.key === "y" || e.key === "Y") && (a(!0), e.preventDefault()));
8595
8603
  }
8596
- return (t, n) => (G(), K("div", cm, [J("div", lm, [J("span", {
8604
+ return (t, n) => (G(), K("div", lm, [J("div", um, [J("span", {
8597
8605
  class: "g-label",
8598
8606
  id: P(c)
8599
- }, [V(t.$slots, "label", {}, () => [X(A(e.label), 1)])], 8, um), J("fieldset", {
8607
+ }, [V(t.$slots, "label", {}, () => [X(A(e.label), 1)])], 8, dm), J("fieldset", {
8600
8608
  class: k(["g-three-way-toggle", { "g-has-error": e.error }]),
8601
8609
  role: "radiogroup",
8602
8610
  "aria-labelledby": P(c),
@@ -8608,7 +8616,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8608
8616
  J("span", {
8609
8617
  class: k(["g-toggle-thumb", p.value]),
8610
8618
  "aria-hidden": "true"
8611
- }, [r.value === !1 ? (G(), K("span", fm, "NO")) : r.value === !0 ? (G(), K("span", pm, "YES")) : (G(), K("span", mm))], 2),
8619
+ }, [r.value === !1 ? (G(), K("span", pm, "NO")) : r.value === !0 ? (G(), K("span", mm, "YES")) : (G(), K("span", hm))], 2),
8612
8620
  J("label", {
8613
8621
  for: P(u),
8614
8622
  class: "g-toggle-option g-left",
@@ -8622,7 +8630,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8622
8630
  value: "false",
8623
8631
  disabled: e.disabled,
8624
8632
  onChange: n[0] ||= (e) => o(!1)
8625
- }, null, 40, gm), n[5] ||= J("span", { class: "ilw-sr-only" }, "No", -1)], 40, hm),
8633
+ }, null, 40, _m), n[5] ||= J("span", { class: "ilw-sr-only" }, "No", -1)], 40, gm),
8626
8634
  J("label", {
8627
8635
  for: P(d),
8628
8636
  class: "g-toggle-option g-center",
@@ -8634,7 +8642,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8634
8642
  checked: r.value === null,
8635
8643
  disabled: e.disabled,
8636
8644
  onChange: n[2] ||= (e) => o(null)
8637
- }, null, 40, vm), n[6] ||= J("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, _m),
8645
+ }, null, 40, ym), n[6] ||= J("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, vm),
8638
8646
  J("label", {
8639
8647
  for: P(f),
8640
8648
  class: "g-toggle-option g-right",
@@ -8648,19 +8656,104 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8648
8656
  checked: r.value === !0,
8649
8657
  disabled: e.disabled,
8650
8658
  onChange: n[3] ||= (e) => o(!0)
8651
- }, null, 40, bm), n[7] ||= J("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, ym)
8652
- ], 2)], 10, dm)]), e.error ? (G(), K("div", {
8659
+ }, null, 40, xm), n[7] ||= J("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, bm)
8660
+ ], 2)], 10, fm)]), e.error ? (G(), K("div", {
8653
8661
  key: 0,
8654
8662
  id: `${P(c)}-error`,
8655
8663
  class: "g-form-error",
8656
8664
  role: "alert",
8657
8665
  "aria-atomic": "true"
8658
- }, A(e.error), 9, xm)) : Z("", !0)]));
8666
+ }, A(e.error), 9, Sm)) : Z("", !0)]));
8659
8667
  }
8660
- }), [["styles", [""]]]), Cm = ["id"], wm = { class: "g-tree-menu__divider" }, Tm = {
8668
+ }), [["styles", [""]]]);
8669
+ //#endregion
8670
+ //#region src/compose/useScrollRestore.ts
8671
+ function wm(e, t) {
8672
+ let n = t ? Gc(`${t}:scroll`, 0, { writeDefaults: !1 }) : null, r = /* @__PURE__ */ N(!!(n?.value && n.value > 0)), i = null, a = null, o = null, s = !1;
8673
+ function c(e) {
8674
+ if (typeof window > "u") return null;
8675
+ let t = e.parentElement;
8676
+ for (; t && t !== document.documentElement && t !== document.body;) {
8677
+ let e = window.getComputedStyle(t);
8678
+ if (e.overflowY === "auto" || e.overflowY === "scroll") return t;
8679
+ t = t.parentElement;
8680
+ }
8681
+ return null;
8682
+ }
8683
+ function l() {
8684
+ n && i && (n.value = i.scrollTop);
8685
+ }
8686
+ function u() {
8687
+ a &&= (a.disconnect(), null), o &&= (o.disconnect(), null);
8688
+ }
8689
+ function d() {
8690
+ r.value = !1;
8691
+ }
8692
+ function f() {
8693
+ return !e.value || !i ? !1 : e.value.getClientRects().length > 0 && i.getClientRects().length > 0 && i.clientHeight > 0;
8694
+ }
8695
+ function p() {
8696
+ if (!n || !i || s) {
8697
+ d();
8698
+ return;
8699
+ }
8700
+ if (n.value <= 0) {
8701
+ d();
8702
+ return;
8703
+ }
8704
+ if (f()) {
8705
+ if (i.scrollHeight - i.clientHeight <= 0) {
8706
+ d(), u();
8707
+ return;
8708
+ }
8709
+ i.scrollTop = n.value, s = i.scrollTop > 0, s && (d(), u());
8710
+ }
8711
+ }
8712
+ function m(e) {
8713
+ if (typeof MutationObserver > "u") return;
8714
+ o = new MutationObserver(() => {
8715
+ p();
8716
+ });
8717
+ let t = e;
8718
+ for (; t;) o.observe(t, {
8719
+ attributes: !0,
8720
+ attributeFilter: [
8721
+ "class",
8722
+ "style",
8723
+ "hidden",
8724
+ "open"
8725
+ ]
8726
+ }), t = t.parentElement;
8727
+ }
8728
+ return Gr(() => {
8729
+ if (!e.value) {
8730
+ d();
8731
+ return;
8732
+ }
8733
+ if (!n) {
8734
+ d();
8735
+ return;
8736
+ }
8737
+ if (i = c(e.value), !i) {
8738
+ d();
8739
+ return;
8740
+ }
8741
+ p(), r.value && (typeof ResizeObserver < "u" && (a = new ResizeObserver(() => {
8742
+ p();
8743
+ }), a.observe(e.value), a.observe(i)), m(e.value)), i.addEventListener("scroll", l);
8744
+ }), Yr(() => {
8745
+ u(), i &&= (i.removeEventListener("scroll", l), null), s = !1;
8746
+ }), { isPendingScrollRestore: r };
8747
+ }
8748
+ //#endregion
8749
+ //#region src/components/GTreeMenu.vue?vue&type=script&setup=true&lang.ts
8750
+ var Tm = { class: "g-tree-menu__divider" }, Em = {
8661
8751
  key: 0,
8752
+ class: "g-tree-menu__divider-line"
8753
+ }, Dm = {
8754
+ key: 1,
8662
8755
  class: "g-tree-menu__expand-all-wrapper"
8663
- }, Em = { class: "g-tree-menu__content" }, Dm = /* @__PURE__ */ $(/* @__PURE__ */ R({
8756
+ }, Om = { class: "g-tree-menu__content" }, km = /*#__PURE__*/ $(/* @__PURE__ */ R({
8664
8757
  __name: "GTreeMenu",
8665
8758
  props: {
8666
8759
  heading: { type: String },
@@ -8676,81 +8769,44 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8676
8769
  showExpandAll: {
8677
8770
  type: Boolean,
8678
8771
  default: !1
8772
+ },
8773
+ headingLevel: {
8774
+ default: "h2",
8775
+ type: String
8776
+ },
8777
+ smallHeading: {
8778
+ type: Boolean,
8779
+ default: !1
8679
8780
  }
8680
8781
  },
8681
8782
  setup(e) {
8682
8783
  let t = e, n = z();
8683
8784
  Kn("g-tree-menu-list-type", t.listType), Kn("g-tree-menu-expanded-storage", t.storageKey ? Gc(t.storageKey, {}) : null);
8684
- let r = jr("nav-el"), i = t.storageKey ? Gc(`${t.storageKey}:scroll`, 0, { writeDefaults: !1 }) : null;
8685
- function a(e) {
8686
- let t = e.parentElement;
8687
- for (; t && t !== document.documentElement && t !== document.body;) {
8688
- let e = window.getComputedStyle(t);
8689
- if (e.overflowY === "auto" || e.overflowY === "scroll") return t;
8690
- t = t.parentElement;
8691
- }
8692
- return null;
8693
- }
8694
- let o = null, s = null, c = null, l = !1;
8695
- function u() {
8696
- i && o && (i.value = o.scrollTop);
8697
- }
8698
- function d() {
8699
- s &&= (s.disconnect(), null), c &&= (c.disconnect(), null);
8700
- }
8701
- function f() {
8702
- !i || !o || l || i.value <= 0 || (o.scrollTop = i.value, l = o.scrollTop > 0, l && d());
8703
- }
8704
- function p(e) {
8705
- if (typeof MutationObserver > "u") return;
8706
- c = new MutationObserver(() => {
8707
- f();
8708
- });
8709
- let t = e;
8710
- for (; t;) c.observe(t, {
8711
- attributes: !0,
8712
- attributeFilter: [
8713
- "class",
8714
- "style",
8715
- "hidden",
8716
- "open"
8717
- ]
8718
- }), t = t.parentElement;
8719
- }
8720
- Gr(() => {
8721
- !i || !r.value || (o = a(r.value), o && (F(() => {
8722
- f();
8723
- }), typeof ResizeObserver < "u" && (s = new ResizeObserver(() => {
8724
- f();
8725
- }), s.observe(r.value), s.observe(o)), p(r.value), o.addEventListener("scroll", u)));
8726
- }), Yr(() => {
8727
- d(), o &&= (o.removeEventListener("scroll", u), null), l = !1;
8728
- });
8729
- let m = /* @__PURE__ */ Ht(/* @__PURE__ */ new Map());
8730
- Kn("g-tree-menu-expandable-items", m);
8731
- let h = /* @__PURE__ */ N({
8785
+ let { isPendingScrollRestore: r } = wm(jr("nav-el"), t.storageKey), i = /* @__PURE__ */ Ht(/* @__PURE__ */ new Map());
8786
+ Kn("g-tree-menu-expandable-items", i);
8787
+ let a = /* @__PURE__ */ N({
8732
8788
  expanded: !0,
8733
8789
  version: 0
8734
8790
  });
8735
- Kn("g-tree-menu-expand-all-signal", h);
8736
- let g = Q(() => {
8737
- if (m.size === 0) return !1;
8738
- for (let e of m.values()) if (!e) return !1;
8791
+ Kn("g-tree-menu-expand-all-signal", a);
8792
+ let o = Q(() => {
8793
+ if (i.size === 0) return !1;
8794
+ for (let e of i.values()) if (!e) return !1;
8739
8795
  return !0;
8740
8796
  });
8741
- function _() {
8742
- h.value = {
8743
- expanded: !g.value,
8744
- version: h.value.version + 1
8797
+ function s() {
8798
+ a.value = {
8799
+ expanded: !o.value,
8800
+ version: a.value.version + 1
8745
8801
  };
8746
8802
  }
8747
- function v(e) {
8803
+ function c(e) {
8748
8804
  return e.querySelector("a, button, [tabindex='0']") || e;
8749
8805
  }
8750
- function y(e) {
8806
+ function l(e) {
8751
8807
  return Array.from(e.querySelectorAll("[data-tree-primary]"));
8752
8808
  }
8753
- function b(e) {
8809
+ function u(e) {
8754
8810
  let t = e.currentTarget, n = document.activeElement;
8755
8811
  if (!t.contains(n) || ![
8756
8812
  "ArrowUp",
@@ -8760,16 +8816,16 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8760
8816
  "Home",
8761
8817
  "End"
8762
8818
  ].includes(e.key)) return;
8763
- let r = n.closest(".g-tree-menu__item"), i = r?.querySelector("[data-tree-primary]") ?? null, a = y(t), o = i ? a.indexOf(i) : -1;
8819
+ let r = n.closest(".g-tree-menu__item"), i = r?.querySelector("[data-tree-primary]") ?? null, a = l(t), o = i ? a.indexOf(i) : -1;
8764
8820
  switch (e.key) {
8765
8821
  case "ArrowDown": {
8766
8822
  let e = a[o + 1];
8767
- e && v(e).focus();
8823
+ e && c(e).focus();
8768
8824
  break;
8769
8825
  }
8770
8826
  case "ArrowUp": {
8771
8827
  let e = a[o - 1];
8772
- e && v(e).focus();
8828
+ e && c(e).focus();
8773
8829
  break;
8774
8830
  }
8775
8831
  case "ArrowRight":
@@ -8779,48 +8835,55 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8779
8835
  e && e.click();
8780
8836
  } else {
8781
8837
  let e = a[o + 1];
8782
- e && v(e).focus();
8838
+ e && c(e).focus();
8783
8839
  }
8784
8840
  break;
8785
8841
  case "ArrowLeft":
8786
8842
  if (!r) break;
8787
8843
  if (r.querySelector("[aria-expanded='true']") !== null) {
8788
8844
  let e = r.querySelector(".g-tree-menu__toggle-btn");
8789
- e && e.click(), i && F(() => v(i).focus());
8845
+ e && e.click(), i && F(() => c(i).focus());
8790
8846
  } else {
8791
8847
  let e = r.parentElement?.closest(".g-tree-menu__item");
8792
8848
  if (e) {
8793
8849
  let t = e.querySelector("[data-tree-primary]");
8794
- t && v(t).focus();
8850
+ t && c(t).focus();
8795
8851
  }
8796
8852
  }
8797
8853
  break;
8798
8854
  case "Home":
8799
- a.length > 0 && v(a[0]).focus();
8855
+ a.length > 0 && c(a[0]).focus();
8800
8856
  break;
8801
8857
  case "End":
8802
- a.length > 0 && v(a[a.length - 1]).focus();
8858
+ a.length > 0 && c(a[a.length - 1]).focus();
8803
8859
  break;
8804
8860
  }
8805
8861
  e.preventDefault();
8806
8862
  }
8807
- return (r, i) => (G(), K("nav", Va({
8863
+ return (i, a) => (G(), K("nav", Va({
8808
8864
  ref: "nav-el",
8809
- class: ["g-tree-menu", `g-tree-menu--${t.theme}`]
8865
+ class: ["g-tree-menu", [
8866
+ `g-tree-menu--${t.theme}`,
8867
+ { "g-tree-menu--restore-pending": P(r) },
8868
+ { "g-tree-menu--small-heading": e.smallHeading }
8869
+ ]]
8810
8870
  }, {
8811
8871
  "aria-labelledby": e.heading ? P(n) : void 0,
8812
8872
  "aria-label": e.heading ? void 0 : "Tree Menu"
8813
- }, { onKeydown: b }), [
8814
- e.heading ? (G(), K("h2", {
8873
+ }, { onKeydown: u }), [
8874
+ e.heading ? (G(), q(ni(e.headingLevel), {
8815
8875
  key: 0,
8816
8876
  id: P(n),
8817
8877
  class: "g-tree-menu__title"
8818
- }, A(e.heading), 9, Cm)) : Z("", !0),
8819
- J("div", wm, [i[1] ||= J("div", { class: "g-tree-menu__divider-line" }, null, -1), e.showExpandAll ? (G(), K("div", Tm, [J("button", {
8878
+ }, {
8879
+ default: I(() => [X(A(e.heading), 1)]),
8880
+ _: 1
8881
+ }, 8, ["id"])) : Z("", !0),
8882
+ J("div", Tm, [e.smallHeading ? Z("", !0) : (G(), K("div", Em)), e.showExpandAll ? (G(), K("div", Dm, [J("button", {
8820
8883
  class: "g-tree-menu__expand-all-btn",
8821
- onClick: _
8884
+ onClick: s
8822
8885
  }, [(G(), K("svg", {
8823
- class: k(["g-tree-menu__expand-all-icon", { "g-tree-menu__expand-all-icon--collapse": g.value }]),
8886
+ class: k(["g-tree-menu__expand-all-icon", { "g-tree-menu__expand-all-icon--collapse": o.value }]),
8824
8887
  role: "none",
8825
8888
  viewBox: "0 0 24 24",
8826
8889
  fill: "none",
@@ -8828,11 +8891,11 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8828
8891
  "stroke-width": "2.5",
8829
8892
  "stroke-linecap": "round",
8830
8893
  "stroke-linejoin": "round"
8831
- }, [...i[0] ||= [J("polyline", { points: "7 8 12 13 17 8" }, null, -1), J("polyline", { points: "7 13 12 18 17 13" }, null, -1)]], 2)), X(" " + A(g.value ? "Collapse all" : "Expand all"), 1)])])) : Z("", !0)]),
8832
- J("div", Em, [V(r.$slots, "default")])
8894
+ }, [...a[0] ||= [J("polyline", { points: "7 8 12 13 17 8" }, null, -1), J("polyline", { points: "7 13 12 18 17 13" }, null, -1)]], 2)), X(" " + A(o.value ? "Collapse all" : "Expand all"), 1)])])) : Z("", !0)]),
8895
+ J("div", Om, [V(i.$slots, "default")])
8833
8896
  ], 16));
8834
8897
  }
8835
- }), [["styles", [""]]]), Om = /* @__PURE__ */ $(/* @__PURE__ */ R({
8898
+ }), [["styles", [""]]]), Am = /*#__PURE__*/ $(/* @__PURE__ */ R({
8836
8899
  name: "GTreeMenuList",
8837
8900
  props: { listType: {
8838
8901
  default: void 0,
@@ -8852,16 +8915,16 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8852
8915
  _: 3
8853
8916
  }, 8, ["role"]));
8854
8917
  }
8855
- }), [["styles", [""]]]), km = {
8918
+ }), [["styles", [""]]]), jm = {
8856
8919
  key: 0,
8857
8920
  class: "g-tree-menu__row"
8858
- }, Am = { class: "g-tree-menu__row-content-text" }, jm = {
8921
+ }, Mm = { class: "g-tree-menu__row-content-text" }, Nm = {
8859
8922
  key: 1,
8860
8923
  class: "g-tree-menu__row g-tree-menu__row--leaf"
8861
- }, Mm = {
8924
+ }, Pm = {
8862
8925
  class: "g-tree-menu__row-content",
8863
8926
  "data-tree-primary": ""
8864
- }, Nm = /* @__PURE__ */ $(/* @__PURE__ */ R({
8927
+ }, Fm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8865
8928
  name: "GTreeMenuItem",
8866
8929
  inheritAttrs: !1,
8867
8930
  props: {
@@ -8933,7 +8996,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8933
8996
  class: "g-tree-menu__item",
8934
8997
  "data-tree-expandable": c.value ? "true" : void 0
8935
8998
  }), {
8936
- default: I(() => [c.value ? (G(), K("div", km, [J("div", {
8999
+ default: I(() => [c.value ? (G(), K("div", jm, [J("div", {
8937
9000
  class: "g-tree-menu__toggle-btn",
8938
9001
  onClick: m
8939
9002
  }, [(G(), K("svg", {
@@ -8952,7 +9015,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8952
9015
  "data-tree-primary": "",
8953
9016
  onClick: x,
8954
9017
  onKeydown: S
8955
- }, [J("span", Am, [V(e.$slots, "default")])], 544)])) : (G(), K("div", jm, [t[1] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), J("span", Mm, [V(e.$slots, "default")])])), c.value && d.value ? (G(), q(Om, {
9018
+ }, [J("span", Mm, [V(e.$slots, "default")])], 544)])) : (G(), K("div", Nm, [t[1] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), J("span", Pm, [V(e.$slots, "default")])])), c.value && d.value ? (G(), q(Am, {
8956
9019
  key: 2,
8957
9020
  id: P(o) + "-children"
8958
9021
  }, {
@@ -8962,11 +9025,11 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8962
9025
  _: 3
8963
9026
  }, 16, ["role", "data-tree-expandable"]));
8964
9027
  }
8965
- }), [["styles", [""]]]), Pm = { class: "g-user-menu" }, Fm = [
9028
+ }), [["styles", [""]]]), Im = { class: "g-user-menu" }, Lm = [
8966
9029
  "aria-label",
8967
9030
  "aria-expanded",
8968
9031
  "onClick"
8969
- ], Im = { class: "g-user-menu__popover" }, Lm = { class: "g-user-menu__list" }, Rm = /* @__PURE__ */ $(/* @__PURE__ */ R({
9032
+ ], Rm = { class: "g-user-menu__popover" }, zm = { class: "g-user-menu__list" }, Bm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8970
9033
  __name: "GUserMenu",
8971
9034
  props: {
8972
9035
  initials: { type: String },
@@ -8984,7 +9047,7 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8984
9047
  let t = `${z()}-email`, n = /* @__PURE__ */ N(!1), r = jr("emailHeading");
8985
9048
  qa()?.appContext?.components?.RouterLink;
8986
9049
  let i = ui();
8987
- return (a, o) => (G(), K("div", Pm, [Y(af, {
9050
+ return (a, o) => (G(), K("div", Im, [Y(of, {
8988
9051
  modelValue: n.value,
8989
9052
  "onUpdate:modelValue": o[0] ||= (e) => n.value = e,
8990
9053
  minimal: ""
@@ -8996,8 +9059,8 @@ var up = { class: "g-table-outer-wrap" }, dp = {
8996
9059
  "aria-expanded": n.value,
8997
9060
  "aria-haspopup": "menu",
8998
9061
  onClick: t
8999
- }, A(e.initials), 13, Fm)]),
9000
- default: I(() => [J("div", Im, [J("h2", {
9062
+ }, A(e.initials), 13, Lm)]),
9063
+ default: I(() => [J("div", Rm, [J("h2", {
9001
9064
  id: t,
9002
9065
  ref_key: "emailHeading",
9003
9066
  ref: r,
@@ -9006,19 +9069,19 @@ var up = { class: "g-table-outer-wrap" }, dp = {
9006
9069
  }, A(e.email), 513), J("nav", {
9007
9070
  class: "g-user-menu__nav",
9008
9071
  "aria-labelledby": t
9009
- }, [J("ul", Lm, [(G(!0), K(W, null, B(i.default(), (e, t) => (G(), K("li", { key: t }, [(G(), q(ni(e)))]))), 128))])])])]),
9072
+ }, [J("ul", zm, [(G(!0), K(W, null, B(i.default(), (e, t) => (G(), K("li", { key: t }, [(G(), q(ni(e)))]))), 128))])])])]),
9010
9073
  _: 1
9011
9074
  }, 8, ["modelValue"])]));
9012
9075
  }
9013
- }), [["styles", [""]]]), zm = globalThis;
9014
- zm.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ = !0;
9015
- var Bm = {
9076
+ }), [["styles", [""]]]), Vm = globalThis;
9077
+ Vm.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ = !0;
9078
+ var Hm = {
9016
9079
  shadowRoot: !1,
9017
9080
  configureApp(e) {
9018
- let t = (zm.__GRAD_VUE_WC_APP_ID__ ?? 0) + 1;
9019
- zm.__GRAD_VUE_WC_APP_ID__ = t, e.config.idPrefix = `g-wc-${t}-`;
9081
+ let t = (Vm.__GRAD_VUE_WC_APP_ID__ ?? 0) + 1;
9082
+ Vm.__GRAD_VUE_WC_APP_ID__ = t, e.config.idPrefix = `g-wc-${t}-`;
9020
9083
  }
9021
- }, Vm = [
9084
+ }, Um = [
9022
9085
  ["g-alert-dialog", lu],
9023
9086
  ["g-app-header", gu],
9024
9087
  ["g-button", ru],
@@ -9032,35 +9095,35 @@ var Bm = {
9032
9095
  ["g-email-input", fd],
9033
9096
  ["g-file-input", yd],
9034
9097
  ["g-form", xd],
9035
- ["g-hamburger-menu", Ed],
9036
- ["g-history-scroller", jd],
9037
- ["g-modal", Ld],
9038
- ["g-multi-select", Qd],
9039
- ["g-overlay", ef],
9040
- ["g-popover", af],
9041
- ["g-tooltip", of],
9042
- ["g-progress", df],
9043
- ["g-search", xf],
9044
- ["g-select", jf],
9045
- ["g-select-button", Rf],
9046
- ["g-sidebar", Bf],
9047
- ["g-sidebar-menu", Wf],
9048
- ["g-submit-button", Gf],
9049
- ["g-table", Rp],
9050
- ["g-table-body", op],
9051
- ["g-table-pagination", qp],
9052
- ["g-term-selector", tm],
9053
- ["g-term-selector-control", Zp],
9098
+ ["g-hamburger-menu", Dd],
9099
+ ["g-history-scroller", Md],
9100
+ ["g-modal", Rd],
9101
+ ["g-multi-select", $d],
9102
+ ["g-overlay", tf],
9103
+ ["g-popover", of],
9104
+ ["g-tooltip", sf],
9105
+ ["g-progress", ff],
9106
+ ["g-search", Sf],
9107
+ ["g-select", Mf],
9108
+ ["g-select-button", zf],
9109
+ ["g-sidebar", Vf],
9110
+ ["g-sidebar-menu", Gf],
9111
+ ["g-submit-button", Kf],
9112
+ ["g-table", zp],
9113
+ ["g-table-body", sp],
9114
+ ["g-table-pagination", Jp],
9115
+ ["g-term-selector", nm],
9116
+ ["g-term-selector-control", Qp],
9054
9117
  ["g-text-input", Zu],
9055
- ["g-textarea", sm],
9056
- ["g-three-way-toggle", Sm],
9057
- ["g-tree-menu", Dm],
9058
- ["g-tree-menu-list", Om],
9059
- ["g-tree-menu-item", Nm],
9060
- ["g-user-menu", Rm]
9118
+ ["g-textarea", cm],
9119
+ ["g-three-way-toggle", Cm],
9120
+ ["g-tree-menu", km],
9121
+ ["g-tree-menu-list", Am],
9122
+ ["g-tree-menu-item", Fm],
9123
+ ["g-user-menu", Bm]
9061
9124
  ];
9062
- for (let [e, t] of Vm) {
9063
- let n = /* @__PURE__ */ ys(t, Bm);
9125
+ for (let [e, t] of Um) {
9126
+ let n = /* @__PURE__ */ ys(t, Hm);
9064
9127
  customElements.define(e, n);
9065
9128
  }
9066
9129
  //#endregion