@illinois-grad/grad-vue 3.0.8 → 3.0.10

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) => {
@@ -6047,7 +6047,7 @@ var Td = [
6047
6047
  ], Ed = {
6048
6048
  key: 0,
6049
6049
  class: "g-hamburger-label"
6050
- }, Dd = /* @__PURE__ */ $(/* @__PURE__ */ R({
6050
+ }, Dd = /*#__PURE__*/ $(/* @__PURE__ */ R({
6051
6051
  __name: "GHamburgerMenu",
6052
6052
  props: {
6053
6053
  label: {
@@ -6099,7 +6099,7 @@ var Td = [
6099
6099
  key: 1,
6100
6100
  class: "g-history-shadow g-history-shadow--bottom",
6101
6101
  "aria-hidden": "true"
6102
- }, jd = ["role", "aria-label"], Md = /* @__PURE__ */ $(/* @__PURE__ */ R({
6102
+ }, jd = ["role", "aria-label"], Md = /*#__PURE__*/ $(/* @__PURE__ */ R({
6103
6103
  __name: "GHistoryScroller",
6104
6104
  props: {
6105
6105
  label: { type: String },
@@ -6174,7 +6174,7 @@ var Td = [
6174
6174
  }, [V(t.$slots, "default", { entry: e })]))), 128))], 512)], 40, jd)
6175
6175
  ]));
6176
6176
  }
6177
- }), [["styles", [""]]]), Nd = ["id"], Pd = { class: "g-modal-inner" }, Fd = { class: "g-modal-header" }, Id = ["id"], Ld = ["id"], Rd = /* @__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({
6178
6178
  __name: "GModal",
6179
6179
  props: {
6180
6180
  label: { type: String },
@@ -6335,9 +6335,9 @@ var Vd = ["id", "for"], Hd = {
6335
6335
  key: 1,
6336
6336
  "aria-live": "polite",
6337
6337
  class: "g-multiselect-option g-multiselect-no-results"
6338
- }, $d = /* @__PURE__ */ $(/* @__PURE__ */ R({
6338
+ }, $d = /*#__PURE__*/ $(/* @__PURE__ */ R({
6339
6339
  __name: "GMultiSelect",
6340
- props: /* @__PURE__ */ H({
6340
+ props: /*@__PURE__*/ H({
6341
6341
  options: { type: Array },
6342
6342
  label: { type: String },
6343
6343
  hiddenLabel: {
@@ -6364,7 +6364,7 @@ var Vd = ["id", "for"], Hd = {
6364
6364
  modelValue: { default: () => [] },
6365
6365
  modelModifiers: {}
6366
6366
  }),
6367
- emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
6367
+ emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
6368
6368
  setup(e, { emit: t }) {
6369
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({
6370
6370
  name: n.name,
@@ -6572,7 +6572,7 @@ var Vd = ["id", "for"], Hd = {
6572
6572
  }), [["styles", [""]]]), ef = {
6573
6573
  key: 0,
6574
6574
  class: "g-scroll-lock-overlay"
6575
- }, tf = /* @__PURE__ */ $(/* @__PURE__ */ R({
6575
+ }, tf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6576
6576
  __name: "GOverlay",
6577
6577
  setup(e) {
6578
6578
  let { hasScrollLock: t } = Ks();
@@ -6581,7 +6581,7 @@ var Vd = ["id", "for"], Hd = {
6581
6581
  _: 1
6582
6582
  }));
6583
6583
  }
6584
- }), [["styles", [""]]]), nf = { class: "g-popover-wrap" }, rf = ["id"], af = ["aria-labelledby", "aria-label"], of = /* @__PURE__ */ $(/* @__PURE__ */ R({
6584
+ }), [["styles", [""]]]), nf = { class: "g-popover-wrap" }, rf = ["id"], af = ["aria-labelledby", "aria-label"], of = /*#__PURE__*/ $(/* @__PURE__ */ R({
6585
6585
  __name: "GPopover",
6586
6586
  props: {
6587
6587
  minimal: {
@@ -6718,7 +6718,7 @@ var Vd = ["id", "for"], Hd = {
6718
6718
  _: 3
6719
6719
  })], 8, ["disabled"]))]));
6720
6720
  }
6721
- }), [["styles", [""]]]), sf = /* @__PURE__ */ $(/* @__PURE__ */ R({
6721
+ }), [["styles", [""]]]), sf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6722
6722
  __name: "GTooltip",
6723
6723
  props: { text: { type: String } },
6724
6724
  emits: ["tooltip-hide"],
@@ -6821,7 +6821,7 @@ var Vd = ["id", "for"], Hd = {
6821
6821
  "cx",
6822
6822
  "cy",
6823
6823
  "r"
6824
- ], ff = /* @__PURE__ */ $(/* @__PURE__ */ R({
6824
+ ], ff = /*#__PURE__*/ $(/* @__PURE__ */ R({
6825
6825
  __name: "GProgress",
6826
6826
  props: {
6827
6827
  label: {
@@ -6915,9 +6915,9 @@ var Vd = ["id", "for"], Hd = {
6915
6915
  "id",
6916
6916
  "onMousedown",
6917
6917
  "aria-selected"
6918
- ], Sf = /* @__PURE__ */ $(/* @__PURE__ */ R({
6918
+ ], Sf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6919
6919
  __name: "GSearch",
6920
- props: /* @__PURE__ */ H({
6920
+ props: /*@__PURE__*/ H({
6921
6921
  results: { type: Array },
6922
6922
  placeholder: {
6923
6923
  default: "Search...",
@@ -6936,7 +6936,7 @@ var Vd = ["id", "for"], Hd = {
6936
6936
  modelValue: { default: () => "" },
6937
6937
  modelModifiers: {}
6938
6938
  }),
6939
- emits: /* @__PURE__ */ H(["select", "submit"], ["update:modelValue"]),
6939
+ emits: /*@__PURE__*/ H(["select", "submit"], ["update:modelValue"]),
6940
6940
  setup(e, { emit: t }) {
6941
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);
6942
6942
  function d(e) {
@@ -7071,9 +7071,9 @@ var Vd = ["id", "for"], Hd = {
7071
7071
  key: 1,
7072
7072
  "aria-live": "polite",
7073
7073
  class: "g-select-combo-option g-select-option g-select-no-results"
7074
- }, Mf = /* @__PURE__ */ $(/* @__PURE__ */ R({
7074
+ }, Mf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7075
7075
  __name: "GSelect",
7076
- props: /* @__PURE__ */ H({
7076
+ props: /*@__PURE__*/ H({
7077
7077
  options: { type: Array },
7078
7078
  label: { type: String },
7079
7079
  hiddenLabel: { type: Boolean },
@@ -7105,7 +7105,7 @@ var Vd = ["id", "for"], Hd = {
7105
7105
  modelValue: {},
7106
7106
  modelModifiers: {}
7107
7107
  }),
7108
- emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
7108
+ emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
7109
7109
  setup(e, { emit: t }) {
7110
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({
7111
7111
  name: n.name,
@@ -7366,9 +7366,9 @@ var Vd = ["id", "for"], Hd = {
7366
7366
  "disabled",
7367
7367
  "required",
7368
7368
  "onChange"
7369
- ], Rf = ["for"], zf = /* @__PURE__ */ $(/* @__PURE__ */ R({
7369
+ ], Rf = ["for"], zf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7370
7370
  __name: "GSelectButton",
7371
- props: /* @__PURE__ */ H({
7371
+ props: /*@__PURE__*/ H({
7372
7372
  options: { type: Array },
7373
7373
  label: { type: String },
7374
7374
  size: {
@@ -7399,7 +7399,7 @@ var Vd = ["id", "for"], Hd = {
7399
7399
  modelValue: { default: () => "" },
7400
7400
  modelModifiers: {}
7401
7401
  }),
7402
- emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
7402
+ emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
7403
7403
  setup(e, { emit: t }) {
7404
7404
  let n = e, r = t, i = U(e, "modelValue"), a = z(), { displayErrors: o, hasErrors: s } = bu({
7405
7405
  name: n.name,
@@ -7438,7 +7438,7 @@ var Vd = ["id", "for"], Hd = {
7438
7438
  id: "error-message-" + P(a)
7439
7439
  }, null, 8, ["errors", "id"])], 2)], 10, Nf));
7440
7440
  }
7441
- }), [["styles", [""]]]), Bf = ["id"], Vf = /* @__PURE__ */ $(/* @__PURE__ */ R({
7441
+ }), [["styles", [""]]]), Bf = ["id"], Vf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7442
7442
  __name: "GSidebar",
7443
7443
  props: {
7444
7444
  backgroundColor: {
@@ -7498,9 +7498,9 @@ var Vd = ["id", "for"], Hd = {
7498
7498
  "href",
7499
7499
  "aria-current",
7500
7500
  "onClick"
7501
- ], Gf = /* @__PURE__ */ $(/* @__PURE__ */ R({
7501
+ ], Gf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7502
7502
  __name: "GSidebarMenu",
7503
- props: /* @__PURE__ */ H({
7503
+ props: /*@__PURE__*/ H({
7504
7504
  heading: { type: String },
7505
7505
  items: { type: Array },
7506
7506
  offset: {
@@ -7579,7 +7579,7 @@ var Vd = ["id", "for"], Hd = {
7579
7579
  }, A(e.label), 11, Wf))]))), 128))])], 512)
7580
7580
  ], 16));
7581
7581
  }
7582
- }), [["styles", [""]]]), Kf = /* @__PURE__ */ $(/* @__PURE__ */ R({
7582
+ }), [["styles", [""]]]), Kf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7583
7583
  __name: "GSubmitButton",
7584
7584
  props: {
7585
7585
  disabled: {
@@ -7648,7 +7648,7 @@ var Vd = ["id", "for"], Hd = {
7648
7648
  ], ap = {
7649
7649
  key: 3,
7650
7650
  class: "cell-suffix"
7651
- }, op = ["id"], sp = /* @__PURE__ */ $(/* @__PURE__ */ R({
7651
+ }, op = ["id"], sp = /*#__PURE__*/ $(/* @__PURE__ */ R({
7652
7652
  __name: "GTableBody",
7653
7653
  props: {
7654
7654
  data: { type: Array },
@@ -7874,9 +7874,9 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
7874
7874
  ], Fp = ["for"], Ip = {
7875
7875
  key: 1,
7876
7876
  class: "g-bulk-actions-toolbar"
7877
- }, Lp = { class: "g-selected-count" }, Rp = { class: "g-bulk-actions" }, zp = /* @__PURE__ */ $(/* @__PURE__ */ R({
7877
+ }, Lp = { class: "g-selected-count" }, Rp = { class: "g-bulk-actions" }, zp = /*#__PURE__*/ $(/* @__PURE__ */ R({
7878
7878
  __name: "GTable",
7879
- props: /* @__PURE__ */ H({
7879
+ props: /*@__PURE__*/ H({
7880
7880
  label: { type: String },
7881
7881
  data: { type: Array },
7882
7882
  columns: { type: Array },
@@ -7910,7 +7910,7 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
7910
7910
  selectedRows: { default: () => [] },
7911
7911
  selectedRowsModifiers: {}
7912
7912
  }),
7913
- emits: /* @__PURE__ */ H([
7913
+ emits: /*@__PURE__*/ H([
7914
7914
  "row-click",
7915
7915
  "bulk-action",
7916
7916
  "cell-change"
@@ -8148,9 +8148,9 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8148
8148
  }), [["styles", [""]]]), Bp = {
8149
8149
  class: "g-pagination",
8150
8150
  "aria-label": "Pagination"
8151
- }, Vp = ["disabled"], Hp = ["disabled"], Up = { class: "page-range" }, Wp = ["disabled"], Gp = ["disabled"], Kp = ["value"], qp = ["value"], Jp = /* @__PURE__ */ $(/* @__PURE__ */ R({
8151
+ }, Vp = ["disabled"], Hp = ["disabled"], Up = { class: "page-range" }, Wp = ["disabled"], Gp = ["disabled"], Kp = ["value"], qp = ["value"], Jp = /*#__PURE__*/ $(/* @__PURE__ */ R({
8152
8152
  __name: "GTablePagination",
8153
- props: /* @__PURE__ */ H({
8153
+ props: /*@__PURE__*/ H({
8154
8154
  start: { type: Number },
8155
8155
  pageSize: { type: Number },
8156
8156
  total: { type: Number },
@@ -8284,9 +8284,9 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8284
8284
  }, "per page", -1)
8285
8285
  ]));
8286
8286
  }
8287
- }), [["styles", [""]]]), Yp = { class: "popover-content" }, Xp = { class: "year-dropdown" }, Zp = { class: "month-selector" }, Qp = /* @__PURE__ */ $(/* @__PURE__ */ R({
8287
+ }), [["styles", [""]]]), Yp = { class: "popover-content" }, Xp = { class: "year-dropdown" }, Zp = { class: "month-selector" }, Qp = /*#__PURE__*/ $(/* @__PURE__ */ R({
8288
8288
  __name: "GTermSelectorControl",
8289
- props: /* @__PURE__ */ H({
8289
+ props: /*@__PURE__*/ H({
8290
8290
  termYears: {
8291
8291
  default: () => ["2026"],
8292
8292
  type: Array
@@ -8341,9 +8341,9 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8341
8341
  }), [["styles", [""]]]), $p = { class: "g-term-selector" }, em = { class: "g-term-label" }, tm = {
8342
8342
  class: "g-popover-title",
8343
8343
  tabindex: "-1"
8344
- }, nm = /* @__PURE__ */ $(/* @__PURE__ */ R({
8344
+ }, nm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8345
8345
  __name: "GTermSelector",
8346
- props: /* @__PURE__ */ H({
8346
+ props: /*@__PURE__*/ H({
8347
8347
  heading: {
8348
8348
  default: "Period Selection",
8349
8349
  type: String
@@ -8415,10 +8415,10 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8415
8415
  key: 2,
8416
8416
  class: "g-textarea-char-count",
8417
8417
  "aria-live": "polite"
8418
- }, cm = /* @__PURE__ */ $(/* @__PURE__ */ R({
8418
+ }, cm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8419
8419
  inheritAttrs: !1,
8420
8420
  __name: "GTextarea",
8421
- props: /* @__PURE__ */ H({
8421
+ props: /*@__PURE__*/ H({
8422
8422
  label: {
8423
8423
  default: void 0,
8424
8424
  type: String
@@ -8471,7 +8471,7 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8471
8471
  modelValue: { type: String },
8472
8472
  modelModifiers: {}
8473
8473
  }),
8474
- emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
8474
+ emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
8475
8475
  setup(e, { emit: t }) {
8476
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({
8477
8477
  name: n.name,
@@ -8567,9 +8567,9 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8567
8567
  "name",
8568
8568
  "checked",
8569
8569
  "disabled"
8570
- ], Sm = ["id"], Cm = /* @__PURE__ */ $(/* @__PURE__ */ R({
8570
+ ], Sm = ["id"], Cm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8571
8571
  __name: "GThreeWayToggle",
8572
- props: /* @__PURE__ */ H({
8572
+ props: /*@__PURE__*/ H({
8573
8573
  label: { type: String },
8574
8574
  describedby: { type: String },
8575
8575
  error: { type: String },
@@ -8581,7 +8581,7 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8581
8581
  },
8582
8582
  modelModifiers: {}
8583
8583
  }),
8584
- emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
8584
+ emits: /*@__PURE__*/ H(["change"], ["update:modelValue"]),
8585
8585
  setup(e, { emit: t }) {
8586
8586
  let n = e, r = U(e, "modelValue"), i = t;
8587
8587
  function a(e) {
@@ -8665,13 +8665,95 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8665
8665
  "aria-atomic": "true"
8666
8666
  }, A(e.error), 9, Sm)) : Z("", !0)]));
8667
8667
  }
8668
- }), [["styles", [""]]]), 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(), 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 = {
8669
8751
  key: 0,
8670
8752
  class: "g-tree-menu__divider-line"
8671
- }, Em = {
8753
+ }, Dm = {
8672
8754
  key: 1,
8673
8755
  class: "g-tree-menu__expand-all-wrapper"
8674
- }, Dm = { class: "g-tree-menu__content" }, Om = /* @__PURE__ */ $(/* @__PURE__ */ R({
8756
+ }, Om = { class: "g-tree-menu__content" }, km = /*#__PURE__*/ $(/* @__PURE__ */ R({
8675
8757
  __name: "GTreeMenu",
8676
8758
  props: {
8677
8759
  heading: { type: String },
@@ -8700,76 +8782,31 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8700
8782
  setup(e) {
8701
8783
  let t = e, n = z();
8702
8784
  Kn("g-tree-menu-list-type", t.listType), Kn("g-tree-menu-expanded-storage", t.storageKey ? Gc(t.storageKey, {}) : null);
8703
- let r = jr("nav-el"), i = t.storageKey ? Gc(`${t.storageKey}:scroll`, 0, { writeDefaults: !1 }) : null;
8704
- function a(e) {
8705
- let t = e.parentElement;
8706
- for (; t && t !== document.documentElement && t !== document.body;) {
8707
- let e = window.getComputedStyle(t);
8708
- if (e.overflowY === "auto" || e.overflowY === "scroll") return t;
8709
- t = t.parentElement;
8710
- }
8711
- return null;
8712
- }
8713
- let o = null, s = null, c = null, l = !1;
8714
- function u() {
8715
- i && o && (i.value = o.scrollTop);
8716
- }
8717
- function d() {
8718
- s &&= (s.disconnect(), null), c &&= (c.disconnect(), null);
8719
- }
8720
- function f() {
8721
- !i || !o || l || i.value <= 0 || (o.scrollTop = i.value, l = o.scrollTop > 0, l && d());
8722
- }
8723
- function p(e) {
8724
- if (typeof MutationObserver > "u") return;
8725
- c = new MutationObserver(() => {
8726
- f();
8727
- });
8728
- let t = e;
8729
- for (; t;) c.observe(t, {
8730
- attributes: !0,
8731
- attributeFilter: [
8732
- "class",
8733
- "style",
8734
- "hidden",
8735
- "open"
8736
- ]
8737
- }), t = t.parentElement;
8738
- }
8739
- Gr(() => {
8740
- !i || !r.value || (o = a(r.value), o && (F(() => {
8741
- f();
8742
- }), typeof ResizeObserver < "u" && (s = new ResizeObserver(() => {
8743
- f();
8744
- }), s.observe(r.value), s.observe(o)), p(r.value), o.addEventListener("scroll", u)));
8745
- }), Yr(() => {
8746
- d(), o &&= (o.removeEventListener("scroll", u), null), l = !1;
8747
- });
8748
- let m = /* @__PURE__ */ Ht(/* @__PURE__ */ new Map());
8749
- Kn("g-tree-menu-expandable-items", m);
8750
- 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({
8751
8788
  expanded: !0,
8752
8789
  version: 0
8753
8790
  });
8754
- Kn("g-tree-menu-expand-all-signal", h);
8755
- let g = Q(() => {
8756
- if (m.size === 0) return !1;
8757
- 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;
8758
8795
  return !0;
8759
8796
  });
8760
- function _() {
8761
- h.value = {
8762
- expanded: !g.value,
8763
- version: h.value.version + 1
8797
+ function s() {
8798
+ a.value = {
8799
+ expanded: !o.value,
8800
+ version: a.value.version + 1
8764
8801
  };
8765
8802
  }
8766
- function v(e) {
8803
+ function c(e) {
8767
8804
  return e.querySelector("a, button, [tabindex='0']") || e;
8768
8805
  }
8769
- function y(e) {
8806
+ function l(e) {
8770
8807
  return Array.from(e.querySelectorAll("[data-tree-primary]"));
8771
8808
  }
8772
- function b(e) {
8809
+ function u(e) {
8773
8810
  let t = e.currentTarget, n = document.activeElement;
8774
8811
  if (!t.contains(n) || ![
8775
8812
  "ArrowUp",
@@ -8779,16 +8816,16 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8779
8816
  "Home",
8780
8817
  "End"
8781
8818
  ].includes(e.key)) return;
8782
- 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;
8783
8820
  switch (e.key) {
8784
8821
  case "ArrowDown": {
8785
8822
  let e = a[o + 1];
8786
- e && v(e).focus();
8823
+ e && c(e).focus();
8787
8824
  break;
8788
8825
  }
8789
8826
  case "ArrowUp": {
8790
8827
  let e = a[o - 1];
8791
- e && v(e).focus();
8828
+ e && c(e).focus();
8792
8829
  break;
8793
8830
  }
8794
8831
  case "ArrowRight":
@@ -8798,38 +8835,42 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8798
8835
  e && e.click();
8799
8836
  } else {
8800
8837
  let e = a[o + 1];
8801
- e && v(e).focus();
8838
+ e && c(e).focus();
8802
8839
  }
8803
8840
  break;
8804
8841
  case "ArrowLeft":
8805
8842
  if (!r) break;
8806
8843
  if (r.querySelector("[aria-expanded='true']") !== null) {
8807
8844
  let e = r.querySelector(".g-tree-menu__toggle-btn");
8808
- e && e.click(), i && F(() => v(i).focus());
8845
+ e && e.click(), i && F(() => c(i).focus());
8809
8846
  } else {
8810
8847
  let e = r.parentElement?.closest(".g-tree-menu__item");
8811
8848
  if (e) {
8812
8849
  let t = e.querySelector("[data-tree-primary]");
8813
- t && v(t).focus();
8850
+ t && c(t).focus();
8814
8851
  }
8815
8852
  }
8816
8853
  break;
8817
8854
  case "Home":
8818
- a.length > 0 && v(a[0]).focus();
8855
+ a.length > 0 && c(a[0]).focus();
8819
8856
  break;
8820
8857
  case "End":
8821
- a.length > 0 && v(a[a.length - 1]).focus();
8858
+ a.length > 0 && c(a[a.length - 1]).focus();
8822
8859
  break;
8823
8860
  }
8824
8861
  e.preventDefault();
8825
8862
  }
8826
- return (r, i) => (G(), K("nav", Va({
8863
+ return (i, a) => (G(), K("nav", Va({
8827
8864
  ref: "nav-el",
8828
- class: ["g-tree-menu", [`g-tree-menu--${t.theme}`, { "g-tree-menu--small-heading": e.smallHeading }]]
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
+ ]]
8829
8870
  }, {
8830
8871
  "aria-labelledby": e.heading ? P(n) : void 0,
8831
8872
  "aria-label": e.heading ? void 0 : "Tree Menu"
8832
- }, { onKeydown: b }), [
8873
+ }, { onKeydown: u }), [
8833
8874
  e.heading ? (G(), q(ni(e.headingLevel), {
8834
8875
  key: 0,
8835
8876
  id: P(n),
@@ -8838,11 +8879,11 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8838
8879
  default: I(() => [X(A(e.heading), 1)]),
8839
8880
  _: 1
8840
8881
  }, 8, ["id"])) : Z("", !0),
8841
- J("div", wm, [e.smallHeading ? Z("", !0) : (G(), K("div", Tm)), e.showExpandAll ? (G(), K("div", Em, [J("button", {
8882
+ J("div", Tm, [e.smallHeading ? Z("", !0) : (G(), K("div", Em)), e.showExpandAll ? (G(), K("div", Dm, [J("button", {
8842
8883
  class: "g-tree-menu__expand-all-btn",
8843
- onClick: _
8884
+ onClick: s
8844
8885
  }, [(G(), K("svg", {
8845
- 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 }]),
8846
8887
  role: "none",
8847
8888
  viewBox: "0 0 24 24",
8848
8889
  fill: "none",
@@ -8850,11 +8891,11 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8850
8891
  "stroke-width": "2.5",
8851
8892
  "stroke-linecap": "round",
8852
8893
  "stroke-linejoin": "round"
8853
- }, [...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)]),
8854
- J("div", Dm, [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")])
8855
8896
  ], 16));
8856
8897
  }
8857
- }), [["styles", [""]]]), km = /* @__PURE__ */ $(/* @__PURE__ */ R({
8898
+ }), [["styles", [""]]]), Am = /*#__PURE__*/ $(/* @__PURE__ */ R({
8858
8899
  name: "GTreeMenuList",
8859
8900
  props: { listType: {
8860
8901
  default: void 0,
@@ -8874,16 +8915,16 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8874
8915
  _: 3
8875
8916
  }, 8, ["role"]));
8876
8917
  }
8877
- }), [["styles", [""]]]), Am = {
8918
+ }), [["styles", [""]]]), jm = {
8878
8919
  key: 0,
8879
8920
  class: "g-tree-menu__row"
8880
- }, jm = { class: "g-tree-menu__row-content-text" }, Mm = {
8921
+ }, Mm = { class: "g-tree-menu__row-content-text" }, Nm = {
8881
8922
  key: 1,
8882
8923
  class: "g-tree-menu__row g-tree-menu__row--leaf"
8883
- }, Nm = {
8924
+ }, Pm = {
8884
8925
  class: "g-tree-menu__row-content",
8885
8926
  "data-tree-primary": ""
8886
- }, Pm = /* @__PURE__ */ $(/* @__PURE__ */ R({
8927
+ }, Fm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8887
8928
  name: "GTreeMenuItem",
8888
8929
  inheritAttrs: !1,
8889
8930
  props: {
@@ -8955,7 +8996,7 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8955
8996
  class: "g-tree-menu__item",
8956
8997
  "data-tree-expandable": c.value ? "true" : void 0
8957
8998
  }), {
8958
- default: I(() => [c.value ? (G(), K("div", Am, [J("div", {
8999
+ default: I(() => [c.value ? (G(), K("div", jm, [J("div", {
8959
9000
  class: "g-tree-menu__toggle-btn",
8960
9001
  onClick: m
8961
9002
  }, [(G(), K("svg", {
@@ -8974,7 +9015,7 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8974
9015
  "data-tree-primary": "",
8975
9016
  onClick: x,
8976
9017
  onKeydown: S
8977
- }, [J("span", jm, [V(e.$slots, "default")])], 544)])) : (G(), K("div", Mm, [t[1] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), J("span", Nm, [V(e.$slots, "default")])])), c.value && d.value ? (G(), q(km, {
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, {
8978
9019
  key: 2,
8979
9020
  id: P(o) + "-children"
8980
9021
  }, {
@@ -8984,11 +9025,11 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
8984
9025
  _: 3
8985
9026
  }, 16, ["role", "data-tree-expandable"]));
8986
9027
  }
8987
- }), [["styles", [""]]]), Fm = { class: "g-user-menu" }, Im = [
9028
+ }), [["styles", [""]]]), Im = { class: "g-user-menu" }, Lm = [
8988
9029
  "aria-label",
8989
9030
  "aria-expanded",
8990
9031
  "onClick"
8991
- ], Lm = { class: "g-user-menu__popover" }, Rm = { class: "g-user-menu__list" }, zm = /* @__PURE__ */ $(/* @__PURE__ */ R({
9032
+ ], Rm = { class: "g-user-menu__popover" }, zm = { class: "g-user-menu__list" }, Bm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8992
9033
  __name: "GUserMenu",
8993
9034
  props: {
8994
9035
  initials: { type: String },
@@ -9006,7 +9047,7 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
9006
9047
  let t = `${z()}-email`, n = /* @__PURE__ */ N(!1), r = jr("emailHeading");
9007
9048
  qa()?.appContext?.components?.RouterLink;
9008
9049
  let i = ui();
9009
- return (a, o) => (G(), K("div", Fm, [Y(of, {
9050
+ return (a, o) => (G(), K("div", Im, [Y(of, {
9010
9051
  modelValue: n.value,
9011
9052
  "onUpdate:modelValue": o[0] ||= (e) => n.value = e,
9012
9053
  minimal: ""
@@ -9018,8 +9059,8 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
9018
9059
  "aria-expanded": n.value,
9019
9060
  "aria-haspopup": "menu",
9020
9061
  onClick: t
9021
- }, A(e.initials), 13, Im)]),
9022
- default: I(() => [J("div", Lm, [J("h2", {
9062
+ }, A(e.initials), 13, Lm)]),
9063
+ default: I(() => [J("div", Rm, [J("h2", {
9023
9064
  id: t,
9024
9065
  ref_key: "emailHeading",
9025
9066
  ref: r,
@@ -9028,19 +9069,19 @@ var dp = { class: "g-table-outer-wrap" }, fp = {
9028
9069
  }, A(e.email), 513), J("nav", {
9029
9070
  class: "g-user-menu__nav",
9030
9071
  "aria-labelledby": t
9031
- }, [J("ul", Rm, [(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))])])])]),
9032
9073
  _: 1
9033
9074
  }, 8, ["modelValue"])]));
9034
9075
  }
9035
- }), [["styles", [""]]]), Bm = globalThis;
9036
- Bm.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ = !0;
9037
- var Vm = {
9076
+ }), [["styles", [""]]]), Vm = globalThis;
9077
+ Vm.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ = !0;
9078
+ var Hm = {
9038
9079
  shadowRoot: !1,
9039
9080
  configureApp(e) {
9040
- let t = (Bm.__GRAD_VUE_WC_APP_ID__ ?? 0) + 1;
9041
- Bm.__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}-`;
9042
9083
  }
9043
- }, Hm = [
9084
+ }, Um = [
9044
9085
  ["g-alert-dialog", lu],
9045
9086
  ["g-app-header", gu],
9046
9087
  ["g-button", ru],
@@ -9076,13 +9117,13 @@ var Vm = {
9076
9117
  ["g-text-input", Zu],
9077
9118
  ["g-textarea", cm],
9078
9119
  ["g-three-way-toggle", Cm],
9079
- ["g-tree-menu", Om],
9080
- ["g-tree-menu-list", km],
9081
- ["g-tree-menu-item", Pm],
9082
- ["g-user-menu", zm]
9120
+ ["g-tree-menu", km],
9121
+ ["g-tree-menu-list", Am],
9122
+ ["g-tree-menu-item", Fm],
9123
+ ["g-user-menu", Bm]
9083
9124
  ];
9084
- for (let [e, t] of Hm) {
9085
- let n = /* @__PURE__ */ ys(t, Vm);
9125
+ for (let [e, t] of Um) {
9126
+ let n = /* @__PURE__ */ ys(t, Hm);
9086
9127
  customElements.define(e, n);
9087
9128
  }
9088
9129
  //#endregion