@illinois-grad/grad-vue 3.0.13 → 3.0.15

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.
@@ -2216,7 +2216,10 @@ function da(e, i) {
2216
2216
  }
2217
2217
  }
2218
2218
  }, D = (e, t, n, r, i, a, o, s, c = 0) => {
2219
- for (let l = c; l < e.length; l++) v(null, e[l] = s ? za(e[l]) : Ra(e[l]), t, n, r, i, a, o, s);
2219
+ for (let l = c; l < e.length; l++) {
2220
+ let c = e[l] = s ? za(e[l]) : Ra(e[l]);
2221
+ v(null, c, t, n, r, i, a, o, s);
2222
+ }
2220
2223
  }, te = (e, n, r, i, a, o, s) => {
2221
2224
  let l = n.el = e.el, { patchFlag: u, dynamicChildren: d, dirs: f } = n;
2222
2225
  u |= e.patchFlag & 16;
@@ -2237,8 +2240,8 @@ function da(e, i) {
2237
2240
  }, i);
2238
2241
  }, O = (e, t, n, r, i, a, o) => {
2239
2242
  for (let s = 0; s < t.length; s++) {
2240
- let c = e[s], l = t[s];
2241
- v(c, l, c.el && (c.type === W || !Ma(c, l) || c.shapeFlag & 198) ? m(c.el) : n, null, r, i, a, o, !0);
2243
+ let c = e[s], l = t[s], u = c.el && (c.type === W || !Ma(c, l) || c.shapeFlag & 198) ? m(c.el) : n;
2244
+ v(c, l, u, null, r, i, a, o, !0);
2242
2245
  }
2243
2246
  }, ne = (e, n, r, i, a) => {
2244
2247
  if (n !== r) {
@@ -4031,6 +4034,7 @@ var Xc = [
4031
4034
  "select:not([inert]):not([inert] *)",
4032
4035
  "textarea:not([inert]):not([inert] *)",
4033
4036
  "a[href]:not([inert]):not([inert] *)",
4037
+ "area[href]:not([inert]):not([inert] *)",
4034
4038
  "button:not([inert]):not([inert] *)",
4035
4039
  "[tabindex]:not(slot):not([inert]):not([inert] *)",
4036
4040
  "audio[controls]:not([inert]):not([inert] *)",
@@ -4134,17 +4138,18 @@ var Xc = [
4134
4138
  visibilityProperty: !0,
4135
4139
  checkVisibilityCSS: !0
4136
4140
  });
4137
- if (getComputedStyle(e).visibility === "hidden") return !0;
4138
- var i = $c.call(e, "details>summary:first-of-type") ? e.parentElement : e;
4139
- if ($c.call(i, "details:not([open]) *")) return !0;
4141
+ var i = getComputedStyle(e).visibility;
4142
+ if (i === "hidden" || i === "collapse") return !0;
4143
+ var a = $c.call(e, "details>summary:first-of-type") ? e.parentElement : e;
4144
+ if ($c.call(a, "details:not([open]) *")) return !0;
4140
4145
  if (!n || n === "full" || n === "full-native" || n === "legacy-full") {
4141
4146
  if (typeof r == "function") {
4142
- for (var a = e; e;) {
4143
- var o = e.parentElement, s = el(e);
4144
- if (o && !o.shadowRoot && r(o) === !0) return _l(e);
4145
- e = e.assignedSlot ? e.assignedSlot : !o && s !== e.ownerDocument ? s.host : o;
4147
+ for (var o = e; e;) {
4148
+ var s = e.parentElement, c = el(e);
4149
+ if (s && !s.shadowRoot && r(s) === !0) return _l(e);
4150
+ e = e.assignedSlot ? e.assignedSlot : !s && c !== e.ownerDocument ? c.host : s;
4146
4151
  }
4147
- e = a;
4152
+ e = o;
4148
4153
  }
4149
4154
  if (gl(e)) return !e.getClientRects().length;
4150
4155
  if (n !== "legacy-full") return !0;
@@ -4357,6 +4362,7 @@ var Vl = {
4357
4362
  returnFocusOnDeactivate: !0,
4358
4363
  escapeDeactivates: !0,
4359
4364
  delayInitialFocus: !0,
4365
+ delayReturnFocus: !0,
4360
4366
  isolateSubtrees: !1,
4361
4367
  isKeyForward: Gl,
4362
4368
  isKeyBackward: Kl
@@ -4399,18 +4405,23 @@ var Vl = {
4399
4405
  if (!l && !a) throw Error(`\`${e}\` as selector refers to no known node`);
4400
4406
  }
4401
4407
  return l;
4402
- }, u = function() {
4408
+ }, u = function(e) {
4409
+ var t = e.activeElement;
4410
+ return t ? t.shadowRoot && t.shadowRoot.activeElement !== null ? u(t.shadowRoot) : t : null;
4411
+ }, d = function() {
4403
4412
  var e = l("initialFocus", { hasFallback: !0 });
4404
4413
  if (e === !1) return !1;
4405
- if (e === void 0 || e && !Ol(e, i.tabbableOptions)) if (c(n.activeElement) >= 0) e = n.activeElement;
4406
- else {
4407
- var t = a.tabbableGroups[0];
4408
- e = t && t.firstTabbableNode || l("fallbackFocus");
4409
- }
4410
- else e === null && (e = l("fallbackFocus"));
4414
+ if (e === void 0 || e && !Ol(e, i.tabbableOptions)) {
4415
+ var t = u(n);
4416
+ if (c(t) >= 0) e = t;
4417
+ else {
4418
+ var r = a.tabbableGroups[0];
4419
+ e = r && r.firstTabbableNode || l("fallbackFocus");
4420
+ }
4421
+ } else e === null && (e = l("fallbackFocus"));
4411
4422
  if (!e) throw Error("Your focus-trap needs to have at least one focusable element");
4412
4423
  return e;
4413
- }, d = function() {
4424
+ }, f = function() {
4414
4425
  if (a.containerGroups = a.containers.map(function(e) {
4415
4426
  var t = wl(e, i.tabbableOptions), n = Tl(e, i.tabbableOptions), r = t.length > 0 ? t[0] : void 0, a = t.length > 0 ? t[t.length - 1] : void 0, o = n.find(function(e) {
4416
4427
  return El(e);
@@ -4443,13 +4454,10 @@ var Vl = {
4443
4454
  if (a.containerGroups.find(function(e) {
4444
4455
  return e.posTabIndexesFound;
4445
4456
  }) && a.containerGroups.length > 1) throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
4446
- }, f = function(e) {
4447
- var t = e.activeElement;
4448
- if (t) return t.shadowRoot && t.shadowRoot.activeElement !== null ? f(t.shadowRoot) : t;
4449
4457
  }, p = function(e) {
4450
- if (e !== !1 && e !== f(document)) {
4458
+ if (e !== !1 && e !== u(document)) {
4451
4459
  if (!e || !e.focus) {
4452
- p(u());
4460
+ p(d());
4453
4461
  return;
4454
4462
  }
4455
4463
  e.focus({ preventScroll: !!i.preventScroll }), a.mostRecentlyFocusedNode = e, Hl(e) && e.select();
@@ -4459,29 +4467,29 @@ var Vl = {
4459
4467
  return t || (t === !1 ? !1 : e);
4460
4468
  }, h = function(e) {
4461
4469
  var t = e.target, n = e.event, r = e.isBackward, o = r === void 0 ? !1 : r;
4462
- t ||= Yl(n), d();
4470
+ t ||= Yl(n), f();
4463
4471
  var s = null;
4464
4472
  if (a.tabbableGroups.length > 0) {
4465
- var u = c(t, n), f = u >= 0 ? a.containerGroups[u] : void 0;
4473
+ var u = c(t, n), d = u >= 0 ? a.containerGroups[u] : void 0;
4466
4474
  if (u < 0) s = o ? a.tabbableGroups[a.tabbableGroups.length - 1].lastTabbableNode : a.tabbableGroups[0].firstTabbableNode;
4467
4475
  else if (o) {
4468
4476
  var p = a.tabbableGroups.findIndex(function(e) {
4469
4477
  var n = e.firstTabbableNode;
4470
4478
  return t === n;
4471
4479
  });
4472
- if (p < 0 && (f.container === t || Ol(t, i.tabbableOptions) && !El(t, i.tabbableOptions) && !f.nextTabbableNode(t, !1)) && (p = u), p >= 0) {
4480
+ if (p < 0 && (d.container === t || Ol(t, i.tabbableOptions) && !El(t, i.tabbableOptions) && !d.nextTabbableNode(t, !1)) && (p = u), p >= 0) {
4473
4481
  var m = p === 0 ? a.tabbableGroups.length - 1 : p - 1, h = a.tabbableGroups[m];
4474
4482
  s = ol(t) >= 0 ? h.lastTabbableNode : h.lastDomTabbableNode;
4475
- } else Wl(n) || (s = f.nextTabbableNode(t, !1));
4483
+ } else Wl(n) || (s = d.nextTabbableNode(t, !1));
4476
4484
  } else {
4477
4485
  var g = a.tabbableGroups.findIndex(function(e) {
4478
4486
  var n = e.lastTabbableNode;
4479
4487
  return t === n;
4480
4488
  });
4481
- if (g < 0 && (f.container === t || Ol(t, i.tabbableOptions) && !El(t, i.tabbableOptions) && !f.nextTabbableNode(t)) && (g = u), g >= 0) {
4489
+ if (g < 0 && (d.container === t || Ol(t, i.tabbableOptions) && !El(t, i.tabbableOptions) && !d.nextTabbableNode(t)) && (g = u), g >= 0) {
4482
4490
  var _ = g === a.tabbableGroups.length - 1 ? 0 : g + 1, v = a.tabbableGroups[_];
4483
4491
  s = ol(t) >= 0 ? v.firstTabbableNode : v.firstDomTabbableNode;
4484
- } else Wl(n) || (s = f.nextTabbableNode(t));
4492
+ } else Wl(n) || (s = d.nextTabbableNode(t));
4485
4493
  }
4486
4494
  } else s = l("fallbackFocus");
4487
4495
  return s;
@@ -4502,10 +4510,10 @@ var Vl = {
4502
4510
  if (a.mostRecentlyFocusedNode) if (ol(a.mostRecentlyFocusedNode) > 0) {
4503
4511
  var s = c(a.mostRecentlyFocusedNode), l = a.containerGroups[s].tabbableNodes;
4504
4512
  if (l.length > 0) {
4505
- var d = l.findIndex(function(e) {
4513
+ var u = l.findIndex(function(e) {
4506
4514
  return e === a.mostRecentlyFocusedNode;
4507
4515
  });
4508
- d >= 0 && (i.isKeyForward(a.recentNavEvent) ? d + 1 < l.length && (r = l[d + 1], o = !1) : d - 1 >= 0 && (r = l[d - 1], o = !1));
4516
+ u >= 0 && (i.isKeyForward(a.recentNavEvent) ? u + 1 < l.length && (r = l[u + 1], o = !1) : u - 1 >= 0 && (r = l[u - 1], o = !1));
4509
4517
  }
4510
4518
  } else a.containerGroups.some(function(e) {
4511
4519
  return e.tabbableNodes.some(function(e) {
@@ -4516,7 +4524,7 @@ var Vl = {
4516
4524
  o && (r = h({
4517
4525
  target: a.mostRecentlyFocusedNode,
4518
4526
  isBackward: i.isKeyBackward(a.recentNavEvent)
4519
- })), p(r || a.mostRecentlyFocusedNode || u());
4527
+ })), p(r || a.mostRecentlyFocusedNode || d());
4520
4528
  }
4521
4529
  a.recentNavEvent = void 0;
4522
4530
  }, v = function(e) {
@@ -4534,21 +4542,27 @@ var Vl = {
4534
4542
  }, x = function(e) {
4535
4543
  c(Yl(e), e) >= 0 || Jl(i.clickOutsideDeactivates, e) || Jl(i.allowOutsideClick, e) || (e.preventDefault(), e.stopImmediatePropagation());
4536
4544
  }, S = function() {
4537
- if (a.active) return Vl.activateTrap(r, o), a.delayInitialFocusTimer = i.delayInitialFocus ? ql(function() {
4538
- p(u());
4539
- }) : p(u()), n.addEventListener("focusin", _, !0), n.addEventListener("mousedown", g, {
4540
- capture: !0,
4541
- passive: !1
4542
- }), n.addEventListener("touchstart", g, {
4543
- capture: !0,
4544
- passive: !1
4545
- }), n.addEventListener("click", x, {
4546
- capture: !0,
4547
- passive: !1
4548
- }), n.addEventListener("keydown", y, {
4549
- capture: !0,
4550
- passive: !1
4551
- }), n.addEventListener("keydown", b), o;
4545
+ if (a.active) {
4546
+ Vl.activateTrap(r, o);
4547
+ var e;
4548
+ return i.delayInitialFocus ? e = new Promise(function(e) {
4549
+ a.delayInitialFocusTimer = ql(function() {
4550
+ p(d()), e();
4551
+ });
4552
+ }) : p(d()), n.addEventListener("focusin", _, !0), n.addEventListener("mousedown", g, {
4553
+ capture: !0,
4554
+ passive: !1
4555
+ }), n.addEventListener("touchstart", g, {
4556
+ capture: !0,
4557
+ passive: !1
4558
+ }), n.addEventListener("click", x, {
4559
+ capture: !0,
4560
+ passive: !1
4561
+ }), n.addEventListener("keydown", y, {
4562
+ capture: !0,
4563
+ passive: !1
4564
+ }), n.addEventListener("keydown", b), e;
4565
+ }
4552
4566
  }, C = function(e) {
4553
4567
  a.active && !a.paused && o._setSubtreeIsolation(!1), a.adjacentElements.clear(), a.alreadySilent.clear();
4554
4568
  var t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = jl(e), i;
@@ -4585,11 +4599,14 @@ var Vl = {
4585
4599
  }, w = function() {
4586
4600
  if (a.active) return n.removeEventListener("focusin", _, !0), n.removeEventListener("mousedown", g, !0), n.removeEventListener("touchstart", g, !0), n.removeEventListener("click", x, !0), n.removeEventListener("keydown", y, !0), n.removeEventListener("keydown", b), o;
4587
4601
  }, T = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(function(e) {
4588
- e.some(function(e) {
4602
+ var t = a.mostRecentlyFocusedNode;
4603
+ t && e.some(function(e) {
4589
4604
  return Array.from(e.removedNodes).some(function(e) {
4590
- return e === a.mostRecentlyFocusedNode;
4605
+ return e === t || typeof e.contains == "function" && e.contains(t);
4591
4606
  });
4592
- }) && p(u());
4607
+ }) && a.containers.some(function(e) {
4608
+ return e?.isConnected;
4609
+ }) && (f(), p(d()));
4593
4610
  }) : void 0, E = function() {
4594
4611
  T && (T.disconnect(), a.active && !a.paused && a.containers.map(function(e) {
4595
4612
  T.observe(e, {
@@ -4607,22 +4624,26 @@ var Vl = {
4607
4624
  },
4608
4625
  activate: function(e) {
4609
4626
  if (a.active) return this;
4610
- var t = s(e, "onActivate"), c = s(e, "onPostActivate"), l = s(e, "checkCanFocusTrap"), u = Vl.getActiveTrap(r), p = !1;
4611
- if (u && !u.paused) {
4612
- var m;
4613
- (m = u._setSubtreeIsolation) == null || m.call(u, !1), p = !0;
4627
+ var t = s(e, "onActivate"), i = s(e, "onPostActivate"), c = s(e, "checkCanFocusTrap"), l = Vl.getActiveTrap(r), d = !1;
4628
+ if (l && !l.paused) {
4629
+ var p;
4630
+ (p = l._setSubtreeIsolation) == null || p.call(l, !1), d = !0;
4614
4631
  }
4615
4632
  try {
4616
- l || d(), a.active = !0, a.paused = !1, a.nodeFocusedBeforeActivation = f(n), t?.();
4617
- var h = function() {
4618
- l && d(), S(), E(), i.isolateSubtrees && o._setSubtreeIsolation(!0), c?.();
4633
+ c || f(), a.active = !0, a.paused = !1, a.nodeFocusedBeforeActivation = u(n), t?.({ trap: o });
4634
+ var m = function() {
4635
+ c && f();
4636
+ var e = function() {
4637
+ o._setSubtreeIsolation(!0), E(), i?.({ trap: o });
4638
+ }, t = S();
4639
+ t ? t.then(e) : e();
4619
4640
  };
4620
- if (l) return l(a.containers.concat()).then(h, h), this;
4621
- h();
4641
+ if (c) return c(a.containers.concat()).then(m, m), this;
4642
+ m();
4622
4643
  } catch (e) {
4623
- if (u === Vl.getActiveTrap(r) && p) {
4624
- var g;
4625
- (g = u._setSubtreeIsolation) == null || g.call(u, !0);
4644
+ if (l === Vl.getActiveTrap(r) && d) {
4645
+ var h;
4646
+ (h = l._setSubtreeIsolation) == null || h.call(l, !0);
4626
4647
  }
4627
4648
  throw e;
4628
4649
  }
@@ -4636,14 +4657,14 @@ var Vl = {
4636
4657
  checkCanReturnFocus: i.checkCanReturnFocus
4637
4658
  }, e);
4638
4659
  clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, a.paused || o._setSubtreeIsolation(!1), a.alreadySilent.clear(), w(), a.active = !1, a.paused = !1, E(), Vl.deactivateTrap(r, o);
4639
- var n = s(t, "onDeactivate"), c = s(t, "onPostDeactivate"), l = s(t, "checkCanReturnFocus"), u = s(t, "returnFocus", "returnFocusOnDeactivate");
4640
- n?.();
4641
- var d = function() {
4642
- ql(function() {
4643
- u && p(m(a.nodeFocusedBeforeActivation)), c?.();
4644
- });
4660
+ var n = s(t, "onDeactivate"), c = s(t, "onPostDeactivate"), l = s(t, "checkCanReturnFocus"), u = s(t, "delayReturnFocus"), d = s(t, "returnFocus", "returnFocusOnDeactivate");
4661
+ n?.({ trap: o });
4662
+ var f = function() {
4663
+ d && p(m(a.nodeFocusedBeforeActivation)), c?.({ trap: o });
4664
+ }, h = function() {
4665
+ u && d ? ql(f) : f();
4645
4666
  };
4646
- return u && l ? (l(m(a.nodeFocusedBeforeActivation)).then(d, d), this) : (d(), this);
4667
+ return d && l ? (l(m(a.nodeFocusedBeforeActivation)).then(h, h), this) : (h(), this);
4647
4668
  },
4648
4669
  pause: function(e) {
4649
4670
  return a.active ? (a.manuallyPaused = !0, this._setPausedState(!0, e)) : this;
@@ -4654,7 +4675,7 @@ var Vl = {
4654
4675
  updateContainerElements: function(e) {
4655
4676
  return a.containers = [].concat(e).filter(Boolean).map(function(e) {
4656
4677
  return typeof e == "string" ? n.querySelector(e) : e;
4657
- }), i.isolateSubtrees && C(a.containers), a.active && (d(), i.isolateSubtrees && !a.paused && o._setSubtreeIsolation(!0)), E(), this;
4678
+ }), i.isolateSubtrees && C(a.containers), a.active && (f(), a.paused || o._setSubtreeIsolation(!0)), E(), this;
4658
4679
  }
4659
4680
  }, Object.defineProperties(o, {
4660
4681
  _isManuallyPaused: { value: function() {
@@ -4664,10 +4685,16 @@ var Vl = {
4664
4685
  if (a.paused === e) return this;
4665
4686
  if (a.paused = e, e) {
4666
4687
  var n = s(t, "onPause"), r = s(t, "onPostPause");
4667
- n?.(), w(), E(), o._setSubtreeIsolation(!1), r?.();
4688
+ n?.({ trap: o }), w(), o._setSubtreeIsolation(!1), E(), r?.({ trap: o });
4668
4689
  } else {
4669
4690
  var i = s(t, "onUnpause"), c = s(t, "onPostUnpause");
4670
- i?.(), o._setSubtreeIsolation(!0), d(), S(), E(), c?.();
4691
+ i?.({ trap: o }), (function() {
4692
+ f();
4693
+ var e = function() {
4694
+ o._setSubtreeIsolation(!0), E(), c?.({ trap: o });
4695
+ }, t = S();
4696
+ t ? t.then(e) : e();
4697
+ })();
4671
4698
  }
4672
4699
  return this;
4673
4700
  } },
@@ -5477,7 +5504,8 @@ var Ku = {
5477
5504
  }
5478
5505
  }
5479
5506
  function h(e) {
5480
- f.value = e.target.value, p && clearTimeout(p), p = setTimeout(() => {
5507
+ let t = e.target.value;
5508
+ f.value = t, p && clearTimeout(p), p = setTimeout(() => {
5481
5509
  m(f.value), p = null;
5482
5510
  }, n.debounce);
5483
5511
  }
@@ -6361,11 +6389,14 @@ var Gd = ["id", "for"], Kd = {
6361
6389
  xmlns: "http://www.w3.org/2000/svg",
6362
6390
  viewBox: "0 0 640 640",
6363
6391
  width: "1.25em"
6364
- }, nf = {
6392
+ }, nf = { class: "g-multiselect-option-text" }, rf = { class: "g-multiselect-option-label" }, af = {
6393
+ key: 0,
6394
+ class: "g-multiselect-option-description"
6395
+ }, of = {
6365
6396
  key: 1,
6366
6397
  "aria-live": "polite",
6367
6398
  class: "g-multiselect-option g-multiselect-no-results"
6368
- }, rf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6399
+ }, sf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6369
6400
  __name: "GMultiSelect",
6370
6401
  props: /*@__PURE__*/ H({
6371
6402
  options: { type: Array },
@@ -6384,6 +6415,10 @@ var Gd = ["id", "for"], Kd = {
6384
6415
  default: !1
6385
6416
  },
6386
6417
  name: { type: String },
6418
+ searchDescription: {
6419
+ type: Boolean,
6420
+ default: !0
6421
+ },
6387
6422
  errors: {
6388
6423
  default: () => [],
6389
6424
  type: Array
@@ -6410,7 +6445,7 @@ var Gd = ["id", "for"], Kd = {
6410
6445
  }), y = Q(() => Ud(n.options)), b = Q(() => {
6411
6446
  if (!d.value) return y.value;
6412
6447
  let e = d.value.toLowerCase();
6413
- return y.value.filter((t) => t.label.toLowerCase().includes(e));
6448
+ return y.value.filter((t) => t.label.toLowerCase().includes(e) || n.searchDescription && !!t.description && t.description.toLowerCase().includes(e));
6414
6449
  });
6415
6450
  function x(e) {
6416
6451
  return i.value.includes(e);
@@ -6592,7 +6627,7 @@ var Gd = ["id", "for"], Kd = {
6592
6627
  "aria-selected": x(e.value) ? "true" : "false",
6593
6628
  onMousedown: ne,
6594
6629
  onClick: (e) => T(t)
6595
- }, [J("span", ef, [x(e.value) ? (G(), K("svg", tf, [...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, $d))), 128)) : (G(), K("div", nf, " No results found. "))], 16, Qd), [[Go, l.value]])
6630
+ }, [J("span", ef, [x(e.value) ? (G(), K("svg", tf, [...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)]), J("span", nf, [J("span", rf, A(e.label), 1), e.description ? (G(), K("span", af, A(e.description), 1)) : Z("", !0)])], 42, $d))), 128)) : (G(), K("div", of, " No results found. "))], 16, Qd), [[Go, l.value]])
6596
6631
  ], 2),
6597
6632
  Y(Eu, {
6598
6633
  errors: P(p),
@@ -6600,19 +6635,19 @@ var Gd = ["id", "for"], Kd = {
6600
6635
  }, null, 8, ["errors", "id"])
6601
6636
  ], 2));
6602
6637
  }
6603
- }), [["styles", [""]]]), af = {
6638
+ }), [["styles", [""]]]), cf = {
6604
6639
  key: 0,
6605
6640
  class: "g-scroll-lock-overlay"
6606
- }, of = /*#__PURE__*/ $(/* @__PURE__ */ R({
6641
+ }, lf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6607
6642
  __name: "GOverlay",
6608
6643
  setup(e) {
6609
6644
  let { hasScrollLock: t } = Xs();
6610
6645
  return (e, n) => (G(), q(Do, { name: "g-fade" }, {
6611
- default: I(() => [P(t) ? (G(), K("div", af)) : Z("", !0)]),
6646
+ default: I(() => [P(t) ? (G(), K("div", cf)) : Z("", !0)]),
6612
6647
  _: 1
6613
6648
  }));
6614
6649
  }
6615
- }), [["styles", [""]]]), sf = /* @__PURE__ */ R({
6650
+ }), [["styles", [""]]]), uf = /* @__PURE__ */ R({
6616
6651
  __name: "GClientOnly",
6617
6652
  setup(e) {
6618
6653
  let t = /* @__PURE__ */ N(nu());
@@ -6620,7 +6655,7 @@ var Gd = ["id", "for"], Kd = {
6620
6655
  t.value = !0;
6621
6656
  }), (e, n) => t.value ? V(e.$slots, "default", { key: 0 }) : V(e.$slots, "fallback", { key: 1 });
6622
6657
  }
6623
- }), cf = { class: "g-popover-wrap" }, lf = ["id"], uf = ["aria-labelledby", "aria-label"], df = /*#__PURE__*/ $(/* @__PURE__ */ R({
6658
+ }), df = { class: "g-popover-wrap" }, ff = ["id"], pf = ["aria-labelledby", "aria-label"], mf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6624
6659
  __name: "GPopover",
6625
6660
  props: {
6626
6661
  minimal: {
@@ -6698,13 +6733,13 @@ var Gd = ["id", "for"], Kd = {
6698
6733
  show: y,
6699
6734
  hide: b,
6700
6735
  toggle: x
6701
- }), (t, n) => (G(), K("div", cf, [s.value ? (G(), K("div", {
6736
+ }), (t, n) => (G(), K("div", df, [s.value ? (G(), K("div", {
6702
6737
  key: 0,
6703
6738
  ref_key: "triggerRef",
6704
6739
  ref: c,
6705
6740
  class: "g-popover-trigger",
6706
6741
  id: `${P(f)}-trigger`
6707
- }, [V(t.$slots, "trigger", { toggle: x })], 8, lf)) : Z("", !0), Y(sf, null, {
6742
+ }, [V(t.$slots, "trigger", { toggle: x })], 8, ff)) : Z("", !0), Y(uf, null, {
6708
6743
  default: I(() => [(G(), q(fr, {
6709
6744
  to: "#modal-root",
6710
6745
  disabled: P(d)
@@ -6754,13 +6789,13 @@ var Gd = ["id", "for"], Kd = {
6754
6789
  fill: "currentColor",
6755
6790
  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"
6756
6791
  })], -1)]]))
6757
- ], 14, uf)), [[Go, a.value]]) : Z("", !0)]),
6792
+ ], 14, pf)), [[Go, a.value]]) : Z("", !0)]),
6758
6793
  _: 3
6759
6794
  })], 8, ["disabled"]))]),
6760
6795
  _: 3
6761
6796
  })]));
6762
6797
  }
6763
- }), [["styles", [""]]]), ff = /*#__PURE__*/ $(/* @__PURE__ */ R({
6798
+ }), [["styles", [""]]]), hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6764
6799
  __name: "GTooltip",
6765
6800
  props: { text: { type: String } },
6766
6801
  emits: ["tooltip-hide"],
@@ -6849,21 +6884,21 @@ var Gd = ["id", "for"], Kd = {
6849
6884
  class: "g-tooltip-trigger"
6850
6885
  }, [V(e.$slots, "trigger")], 512)) : Z("", !0)], 512));
6851
6886
  }
6852
- }), [["styles", [""]]]), pf = ["width", "height"], mf = [
6887
+ }), [["styles", [""]]]), gf = ["width", "height"], _f = [
6853
6888
  "cx",
6854
6889
  "cy",
6855
6890
  "r"
6856
- ], hf = [
6891
+ ], vf = [
6857
6892
  "cx",
6858
6893
  "cy",
6859
6894
  "r",
6860
6895
  "stroke-dasharray",
6861
6896
  "stroke-dashoffset"
6862
- ], gf = [
6897
+ ], yf = [
6863
6898
  "cx",
6864
6899
  "cy",
6865
6900
  "r"
6866
- ], _f = /*#__PURE__*/ $(/* @__PURE__ */ R({
6901
+ ], bf = /*#__PURE__*/ $(/* @__PURE__ */ R({
6867
6902
  __name: "GProgress",
6868
6903
  props: {
6869
6904
  label: {
@@ -6913,7 +6948,7 @@ var Gd = ["id", "for"], Kd = {
6913
6948
  r: r.value,
6914
6949
  "stroke-width": 4,
6915
6950
  fill: "none"
6916
- }, null, 8, mf), n.value ? (G(), K("circle", {
6951
+ }, null, 8, _f), n.value ? (G(), K("circle", {
6917
6952
  key: 0,
6918
6953
  class: "g-progress__value",
6919
6954
  cx: r.value + 4 / 2,
@@ -6927,7 +6962,7 @@ var Gd = ["id", "for"], Kd = {
6927
6962
  transform: "rotate(-90deg)",
6928
6963
  "transform-origin": "center"
6929
6964
  }
6930
- }, null, 8, hf)) : (G(), K("circle", {
6965
+ }, null, 8, vf)) : (G(), K("circle", {
6931
6966
  key: 1,
6932
6967
  class: "g-progress__spinner",
6933
6968
  cx: r.value + 4 / 2,
@@ -6935,29 +6970,29 @@ var Gd = ["id", "for"], Kd = {
6935
6970
  r: r.value,
6936
6971
  "stroke-width": 4,
6937
6972
  fill: "none"
6938
- }, null, 8, gf))], 10, pf))], 16));
6973
+ }, null, 8, yf))], 10, gf))], 16));
6939
6974
  }
6940
- }), [["styles", [""]]]), vf = ["aria-label"], yf = [
6975
+ }), [["styles", [""]]]), xf = ["aria-label"], Sf = [
6941
6976
  "placeholder",
6942
6977
  "value",
6943
6978
  "aria-expanded",
6944
6979
  "aria-controls",
6945
6980
  "aria-activedescendant"
6946
- ], bf = {
6981
+ ], Cf = {
6947
6982
  key: 0,
6948
6983
  class: "g-search-dropdown"
6949
- }, xf = {
6984
+ }, wf = {
6950
6985
  "aria-live": "polite",
6951
6986
  class: "g-search-result-count"
6952
- }, Sf = ["id"], Cf = ["aria-label"], wf = { class: "g-search-group-label" }, Tf = [
6987
+ }, Tf = ["id"], Ef = ["aria-label"], Df = { class: "g-search-group-label" }, Of = [
6953
6988
  "id",
6954
6989
  "onMousedown",
6955
6990
  "aria-selected"
6956
- ], Ef = [
6991
+ ], kf = [
6957
6992
  "id",
6958
6993
  "onMousedown",
6959
6994
  "aria-selected"
6960
- ], Df = /*#__PURE__*/ $(/* @__PURE__ */ R({
6995
+ ], Af = /*#__PURE__*/ $(/* @__PURE__ */ R({
6961
6996
  __name: "GSearch",
6962
6997
  props: /*@__PURE__*/ H({
6963
6998
  results: { type: Array },
@@ -7044,12 +7079,12 @@ var Gd = ["id", "for"], Kd = {
7044
7079
  "aria-autocomplete": "list",
7045
7080
  "aria-controls": `${P(y)}-list`,
7046
7081
  "aria-activedescendant": c.value >= 0 ? "g-search-option-" + l.value[c.value].id : void 0
7047
- }, null, 40, yf), J("button", {
7082
+ }, null, 40, Sf), J("button", {
7048
7083
  type: "submit",
7049
7084
  class: "g-search-submit",
7050
7085
  "aria-label": "Submit search",
7051
7086
  onKeydown: m
7052
- }, [g.value ? (G(), q(_f, {
7087
+ }, [g.value ? (G(), q(bf, {
7053
7088
  key: 0,
7054
7089
  size: "tiny"
7055
7090
  })) : Z("", !0), t[1] ||= J("svg", {
@@ -7060,7 +7095,7 @@ var Gd = ["id", "for"], Kd = {
7060
7095
  }, [J("path", {
7061
7096
  fill: "currentColor",
7062
7097
  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"
7063
- })], -1)], 32)], 32), _.value ? (G(), K("div", bf, [J("div", xf, [g.value ? Z("", !0) : (G(), K(W, { key: 0 }, [X(A(u.value) + " result" + A(u.value === 1 ? "" : "s"), 1)], 64))]), J("div", {
7098
+ })], -1)], 32)], 32), _.value ? (G(), K("div", Cf, [J("div", wf, [g.value ? Z("", !0) : (G(), K(W, { key: 0 }, [X(A(u.value) + " result" + A(u.value === 1 ? "" : "s"), 1)], 64))]), J("div", {
7064
7099
  role: "listbox",
7065
7100
  id: `${P(y)}-list`,
7066
7101
  ref_key: "listboxRef",
@@ -7071,27 +7106,27 @@ var Gd = ["id", "for"], Kd = {
7071
7106
  class: "g-search-group",
7072
7107
  role: "group",
7073
7108
  "aria-label": t.label
7074
- }, [V(e.$slots, "group", { group: t }, () => [J("div", wf, A(t.label), 1)]), (G(!0), K(W, null, B(t.items, (t, n) => (G(), K("div", {
7109
+ }, [V(e.$slots, "group", { group: t }, () => [J("div", Df, A(t.label), 1)]), (G(!0), K(W, null, B(t.items, (t, n) => (G(), K("div", {
7075
7110
  key: t.id,
7076
7111
  id: "g-search-option-" + t.id,
7077
7112
  class: k(["g-search-option", { "g-search-option-active": l.value[c.value] && l.value[c.value].id === t.id }]),
7078
7113
  role: "option",
7079
7114
  onMousedown: Ps((e) => h(t), ["prevent"]),
7080
7115
  "aria-selected": l.value[c.value] && l.value[c.value].id === t.id
7081
- }, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, Tf))), 128))], 8, Cf))), 128)) : u.value > 0 ? (G(!0), K(W, { key: 1 }, B(l.value, (t, n) => (G(), K("div", {
7116
+ }, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, Of))), 128))], 8, Ef))), 128)) : u.value > 0 ? (G(!0), K(W, { key: 1 }, B(l.value, (t, n) => (G(), K("div", {
7082
7117
  key: t.id,
7083
7118
  id: "g-search-option-" + t.id,
7084
7119
  class: k(["g-search-option", { "g-search-option-active": c.value === n }]),
7085
7120
  role: "option",
7086
7121
  onMousedown: Ps((e) => h(t), ["prevent"]),
7087
7122
  "aria-selected": c.value === n
7088
- }, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, Ef))), 128)) : Z("", !0)], 8, Sf)])) : Z("", !0)], 8, vf));
7123
+ }, [V(e.$slots, "option", { option: t }, () => [X(A(t.title), 1)])], 42, kf))), 128)) : Z("", !0)], 8, Tf)])) : Z("", !0)], 8, xf));
7089
7124
  }
7090
- }), [["styles", [""]]]), Of = ["id"], kf = {
7125
+ }), [["styles", [""]]]), jf = ["id"], Mf = {
7091
7126
  key: 0,
7092
7127
  class: "g-select-required",
7093
7128
  "aria-hidden": "true"
7094
- }, Af = { class: "g-select-input-wrap" }, jf = ["id"], Mf = [
7129
+ }, Nf = { class: "g-select-input-wrap" }, Pf = ["id"], Ff = [
7095
7130
  "value",
7096
7131
  "placeholder",
7097
7132
  "disabled",
@@ -7099,21 +7134,24 @@ var Gd = ["id", "for"], Kd = {
7099
7134
  "aria-expanded",
7100
7135
  "aria-required",
7101
7136
  "aria-activedescendant"
7102
- ], Nf = [
7137
+ ], If = [
7103
7138
  "id",
7104
7139
  "aria-controls",
7105
7140
  "aria-expanded",
7106
7141
  "aria-required",
7107
7142
  "aria-activedescendant"
7108
- ], Pf = ["id"], Ff = [
7143
+ ], Lf = ["id"], Rf = [
7109
7144
  "id",
7110
7145
  "aria-selected",
7111
7146
  "onClick"
7112
- ], If = {
7147
+ ], zf = { class: "g-select-option-label" }, Bf = {
7148
+ key: 0,
7149
+ class: "g-select-option-description"
7150
+ }, Vf = {
7113
7151
  key: 1,
7114
7152
  "aria-live": "polite",
7115
7153
  class: "g-select-combo-option g-select-option g-select-no-results"
7116
- }, Lf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7154
+ }, Hf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7117
7155
  __name: "GSelect",
7118
7156
  props: /*@__PURE__*/ H({
7119
7157
  options: { type: Array },
@@ -7133,6 +7171,10 @@ var Gd = ["id", "for"], Kd = {
7133
7171
  type: Boolean,
7134
7172
  default: !1
7135
7173
  },
7174
+ searchDescription: {
7175
+ type: Boolean,
7176
+ default: !0
7177
+ },
7136
7178
  clearButton: { type: Boolean },
7137
7179
  compact: {
7138
7180
  type: Boolean,
@@ -7163,7 +7205,7 @@ var Gd = ["id", "for"], Kd = {
7163
7205
  }), y = Q(() => Ud(n.options)), b = /* @__PURE__ */ N(""), x = Q(() => {
7164
7206
  if (!n.searchable || !l.value || !b.value) return y.value;
7165
7207
  let e = b.value.toLowerCase();
7166
- return y.value.filter((t) => t.label.toLowerCase().includes(e));
7208
+ return y.value.filter((t) => t.label.toLowerCase().includes(e) || n.searchDescription && !!t.description && t.description.toLowerCase().includes(e));
7167
7209
  }), S = Q(() => x.value.findIndex((e) => e.value === i.value));
7168
7210
  L(() => i.value, (e) => {
7169
7211
  let t = x.value.findIndex((t) => t.value === e);
@@ -7268,8 +7310,8 @@ var Gd = ["id", "for"], Kd = {
7268
7310
  key: 0,
7269
7311
  id: P(a) + "-label",
7270
7312
  class: "g-select-combo-label g-select-label"
7271
- }, [X(A(n.label), 1), n.required ? (G(), K("span", kf, " *")) : Z("", !0)], 8, Of)),
7272
- J("div", Af, [n.searchable ? (G(), K("div", {
7313
+ }, [X(A(n.label), 1), n.required ? (G(), K("span", Mf, " *")) : Z("", !0)], 8, jf)),
7314
+ J("div", Nf, [n.searchable ? (G(), K("div", {
7273
7315
  key: 0,
7274
7316
  class: "g-select-combo-input g-select-control",
7275
7317
  id: P(a)
@@ -7296,7 +7338,7 @@ var Gd = ["id", "for"], Kd = {
7296
7338
  }, e.hiddenLabel ? { "aria-label": n.label } : { "aria-labelledby": P(a) + "-label" }, {
7297
7339
  role: "combobox",
7298
7340
  autocomplete: "off"
7299
- }), null, 16, Mf),
7341
+ }), null, 16, Ff),
7300
7342
  ie.value ? (G(), K("button", {
7301
7343
  key: 0,
7302
7344
  type: "button",
@@ -7322,7 +7364,7 @@ var Gd = ["id", "for"], Kd = {
7322
7364
  fill: "currentColor",
7323
7365
  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"
7324
7366
  })], -1)
7325
- ], 8, jf)) : (G(), K("div", Va({
7367
+ ], 8, Pf)) : (G(), K("div", Va({
7326
7368
  key: 1,
7327
7369
  ref_key: "comboRef",
7328
7370
  ref: o,
@@ -7367,7 +7409,7 @@ var Gd = ["id", "for"], Kd = {
7367
7409
  fill: "currentColor",
7368
7410
  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"
7369
7411
  })], -1)
7370
- ], 16, Nf)), Wn(J("div", Va({
7412
+ ], 16, If)), Wn(J("div", Va({
7371
7413
  ref_key: "listboxRef",
7372
7414
  ref: s,
7373
7415
  class: ["g-select-combo-menu g-select-list", { "g-select-combo-menu--above": P(h) === "above" }],
@@ -7389,18 +7431,18 @@ var Gd = ["id", "for"], Kd = {
7389
7431
  option: e,
7390
7432
  selected: e.value === i.value,
7391
7433
  index: n
7392
- }, () => [X(A(e.label), 1)])], 42, Ff))), 128)) : (G(), K("div", If, " No results found. "))], 16, Pf), [[Go, l.value]])]),
7434
+ }, () => [J("span", zf, A(e.label), 1), e.description ? (G(), K("span", Bf, A(e.description), 1)) : Z("", !0)])], 42, Rf))), 128)) : (G(), K("div", Vf, " No results found. "))], 16, Lf), [[Go, l.value]])]),
7393
7435
  Y(Eu, {
7394
7436
  errors: P(p),
7395
7437
  id: "error-message-" + P(a)
7396
7438
  }, null, 8, ["errors", "id"])
7397
7439
  ], 2));
7398
7440
  }
7399
- }), [["styles", [""]]]), Rf = ["disabled"], zf = { class: "g-select-btn-legend" }, Bf = {
7441
+ }), [["styles", [""]]]), Uf = ["disabled"], Wf = { class: "g-select-btn-legend" }, Gf = {
7400
7442
  key: 0,
7401
7443
  class: "g-select-btn-required",
7402
7444
  "aria-hidden": "true"
7403
- }, Vf = { class: "g-select-btn-row" }, Hf = [
7445
+ }, Kf = { class: "g-select-btn-row" }, qf = [
7404
7446
  "id",
7405
7447
  "name",
7406
7448
  "value",
@@ -7408,7 +7450,7 @@ var Gd = ["id", "for"], Kd = {
7408
7450
  "disabled",
7409
7451
  "required",
7410
7452
  "onChange"
7411
- ], Uf = ["for"], Wf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7453
+ ], Jf = ["for"], Yf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7412
7454
  __name: "GSelectButton",
7413
7455
  props: /*@__PURE__*/ H({
7414
7456
  options: { type: Array },
@@ -7462,7 +7504,7 @@ var Gd = ["id", "for"], Kd = {
7462
7504
  return (e, t) => (G(), K("fieldset", {
7463
7505
  class: k(l.value),
7464
7506
  disabled: n.disabled
7465
- }, [J("legend", zf, [X(A(n.label), 1), n.required ? (G(), K("span", Bf, " *")) : Z("", !0)]), J("div", { class: k(["g-select-btn-wrapper", { "g-select-btn-has-error": P(s) }]) }, [J("div", Vf, [(G(!0), K(W, null, B(c.value, (e, t) => (G(), K(W, { key: e.value }, [J("input", {
7507
+ }, [J("legend", Wf, [X(A(n.label), 1), n.required ? (G(), K("span", Gf, " *")) : Z("", !0)]), J("div", { class: k(["g-select-btn-wrapper", { "g-select-btn-has-error": P(s) }]) }, [J("div", Kf, [(G(!0), K(W, null, B(c.value, (e, t) => (G(), K(W, { key: e.value }, [J("input", {
7466
7508
  class: "g-select-btn-radio",
7467
7509
  type: "radio",
7468
7510
  id: `${P(a)}-${e.value}`,
@@ -7472,18 +7514,18 @@ var Gd = ["id", "for"], Kd = {
7472
7514
  disabled: n.disabled,
7473
7515
  required: n.required && t === 0,
7474
7516
  onChange: (t) => d(e.value)
7475
- }, null, 40, Hf), J("label", {
7517
+ }, null, 40, qf), J("label", {
7476
7518
  for: `${P(a)}-${e.value}`,
7477
7519
  class: k(u(e.value === i.value))
7478
- }, A(e.label), 11, Uf)], 64))), 128))]), Y(Eu, {
7520
+ }, A(e.label), 11, Jf)], 64))), 128))]), Y(Eu, {
7479
7521
  errors: P(o),
7480
7522
  id: "error-message-" + P(a)
7481
- }, null, 8, ["errors", "id"])], 2)], 10, Rf));
7523
+ }, null, 8, ["errors", "id"])], 2)], 10, Uf));
7482
7524
  }
7483
7525
  }), [["styles", [""]]]);
7484
7526
  //#endregion
7485
7527
  //#region src/compose/useScrollRestore.ts
7486
- function Gf(e, t) {
7528
+ function Xf(e, t) {
7487
7529
  let n = t ? Yc(`${t}:scroll`, 0, { writeDefaults: !1 }) : null, r = /* @__PURE__ */ N(!!(n?.value && n.value > 0)), i = null, a = null, o = null, s = !1;
7488
7530
  function c(e) {
7489
7531
  let t = window.getComputedStyle(e);
@@ -7566,7 +7608,7 @@ function Gf(e, t) {
7566
7608
  }
7567
7609
  //#endregion
7568
7610
  //#region src/components/GSidebar.vue?vue&type=script&setup=true&lang.ts
7569
- var Kf = ["id"], qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7611
+ var Zf = ["id"], Qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7570
7612
  __name: "GSidebar",
7571
7613
  props: {
7572
7614
  backgroundColor: {
@@ -7601,7 +7643,7 @@ var Kf = ["id"], qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7601
7643
  storageKey: { type: String }
7602
7644
  },
7603
7645
  setup(e) {
7604
- let t = e, n = qn("sidebar", () => void 0, !0) ?? (nu() ? Od(t.sidebarKey, /* @__PURE__ */ fn(t, "mediaQuery")) : void 0), r = Q(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "url('https://gradcdn.blob.core.windows.net/public/sidebar-bg2.jpg')"), i = Q(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), a = Q(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), o = z(), { isPendingScrollRestore: s } = Gf(jr("sidebar-ref"), t.storageKey);
7646
+ let t = e, n = qn("sidebar", () => void 0, !0) ?? (nu() ? Od(t.sidebarKey, /* @__PURE__ */ fn(t, "mediaQuery")) : void 0), r = Q(() => t.backgroundImage ? t.backgroundImage : t.theme === "light" ? "none" : "url('https://gradcdn.blob.core.windows.net/public/sidebar-bg2.jpg')"), i = Q(() => t.backgroundColor ? t.backgroundColor : t.theme === "light" ? "#f9f9f9" : "#030913"), a = Q(() => t.topOffsetVar ? `var(${t.topOffsetVar})` : t.topOffset ? t.topOffset : "var(--g-toolbar-height)"), o = z(), { isPendingScrollRestore: s } = Xf(jr("sidebar-ref"), t.storageKey);
7605
7647
  function c(e) {
7606
7648
  e.key === "Escape" && n?.isCollapsible?.value && n?.open?.value && (n.open.value = !1, document.getElementById(`${n.id}-hamburger`)?.focus());
7607
7649
  }
@@ -7622,13 +7664,13 @@ var Kf = ["id"], qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7622
7664
  width: "var(--g-sidebar-width)"
7623
7665
  }),
7624
7666
  onKeydown: c
7625
- }, [V(t.$slots, "default")], 46, Kf));
7667
+ }, [V(t.$slots, "default")], 46, Zf));
7626
7668
  }
7627
- }), [["styles", [""]]]), Jf = ["id"], Yf = { class: "g-sidebar-menu__list" }, Xf = [
7669
+ }), [["styles", [""]]]), $f = ["id"], ep = { class: "g-sidebar-menu__list" }, tp = [
7628
7670
  "href",
7629
7671
  "aria-current",
7630
7672
  "onClick"
7631
- ], Zf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7673
+ ], np = /*#__PURE__*/ $(/* @__PURE__ */ R({
7632
7674
  __name: "GSidebarMenu",
7633
7675
  props: /*@__PURE__*/ H({
7634
7676
  heading: { type: String },
@@ -7682,13 +7724,13 @@ var Kf = ["id"], qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7682
7724
  key: 0,
7683
7725
  id: P(c),
7684
7726
  class: "g-sidebar-menu__title"
7685
- }, A(e.heading), 9, Jf)) : Z("", !0),
7727
+ }, A(e.heading), 9, $f)) : Z("", !0),
7686
7728
  a[0] ||= J("div", { class: "g-sidebar-menu__divider" }, null, -1),
7687
7729
  J("div", {
7688
7730
  class: "g-sidebar-menu__content",
7689
7731
  ref_key: "content",
7690
7732
  ref: i
7691
- }, [J("ul", Yf, [(G(!0), K(W, null, B(e.items, (e) => (G(), K("li", {
7733
+ }, [J("ul", ep, [(G(!0), K(W, null, B(e.items, (e) => (G(), K("li", {
7692
7734
  key: e.href || e.to,
7693
7735
  class: "g-sidebar-menu__item",
7694
7736
  ref_for: !0,
@@ -7706,10 +7748,10 @@ var Kf = ["id"], qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7706
7748
  href: e.href || e.to || "#",
7707
7749
  "aria-current": r.value === (e.href || "") ? "location" : void 0,
7708
7750
  onClick: (t) => s(t, e)
7709
- }, A(e.label), 11, Xf))]))), 128))])], 512)
7751
+ }, A(e.label), 11, tp))]))), 128))])], 512)
7710
7752
  ], 16));
7711
7753
  }
7712
- }), [["styles", [""]]]), Qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7754
+ }), [["styles", [""]]]), rp = /*#__PURE__*/ $(/* @__PURE__ */ R({
7713
7755
  __name: "GSubmitButton",
7714
7756
  props: {
7715
7757
  disabled: {
@@ -7741,45 +7783,45 @@ var Kf = ["id"], qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7741
7783
  _: 3
7742
7784
  }, 8, ["disabled", "variant"]));
7743
7785
  }
7744
- }), [["styles", [""]]]), $f = {
7786
+ }), [["styles", [""]]]), ip = {
7745
7787
  ref: "tableBodyRef",
7746
7788
  class: "efficient-table-body"
7747
- }, ep = ["aria-rowindex"], tp = {
7789
+ }, ap = ["aria-rowindex"], op = {
7748
7790
  key: 0,
7749
7791
  class: "table-group-checkbox"
7750
- }, np = ["colspan"], rp = [
7792
+ }, sp = ["colspan"], cp = [
7751
7793
  "aria-rowindex",
7752
7794
  "onMousedown",
7753
7795
  "onClick"
7754
- ], ip = [
7796
+ ], lp = [
7755
7797
  "checked",
7756
7798
  "onClick",
7757
7799
  "aria-label",
7758
7800
  "name"
7759
- ], ap = ["id"], op = {
7801
+ ], up = ["id"], dp = {
7760
7802
  key: 0,
7761
7803
  class: "editable-cell"
7762
- }, sp = {
7804
+ }, fp = {
7763
7805
  key: 0,
7764
7806
  class: "cell-prefix"
7765
- }, cp = [
7807
+ }, pp = [
7766
7808
  "value",
7767
7809
  "onChange",
7768
7810
  "aria-labelledby",
7769
7811
  "aria-invalid",
7770
7812
  "aria-errormessage",
7771
7813
  "name"
7772
- ], lp = ["value"], up = [
7814
+ ], mp = ["value"], hp = [
7773
7815
  "value",
7774
7816
  "onInput",
7775
7817
  "aria-labelledby",
7776
7818
  "aria-invalid",
7777
7819
  "aria-errormessage",
7778
7820
  "name"
7779
- ], dp = {
7821
+ ], gp = {
7780
7822
  key: 3,
7781
7823
  class: "cell-suffix"
7782
- }, fp = ["id"], pp = /*#__PURE__*/ $(/* @__PURE__ */ R({
7824
+ }, _p = ["id"], vp = /*#__PURE__*/ $(/* @__PURE__ */ R({
7783
7825
  __name: "GTableBody",
7784
7826
  props: {
7785
7827
  data: { type: Array },
@@ -7848,13 +7890,13 @@ var Kf = ["id"], qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7848
7890
  function m(e, t) {
7849
7891
  if (n.changeTracker) return n.changeTracker.getError(e.key, t.key);
7850
7892
  }
7851
- return (t, n) => (G(), K("tbody", $f, [(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", {
7893
+ return (t, n) => (G(), K("tbody", ip, [(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", {
7852
7894
  key: 0,
7853
7895
  "aria-rowindex": e.startIndex + r + 2
7854
- }, [e.bulkSelectionEnabled ? (G(), K("td", tp)) : Z("", !0), J("td", {
7896
+ }, [e.bulkSelectionEnabled ? (G(), K("td", op)) : Z("", !0), J("td", {
7855
7897
  colspan: e.columns.length,
7856
7898
  class: "table-group-row"
7857
- }, [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, np)], 8, ep)) : Z("", !0), J("tr", {
7899
+ }, [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, sp)], 8, ap)) : Z("", !0), J("tr", {
7858
7900
  class: k([
7859
7901
  "efficient-table-row",
7860
7902
  {
@@ -7877,7 +7919,7 @@ var Kf = ["id"], qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7877
7919
  "aria-label": `Select row ${t.key}`,
7878
7920
  name: `row-${t.key}-checkbox`,
7879
7921
  class: "g-bulk-select-checkbox"
7880
- }, null, 8, ip)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (n) => (G(), K("td", {
7922
+ }, null, 8, lp)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (n) => (G(), K("td", {
7881
7923
  key: n.key,
7882
7924
  id: d(n) ? `${e.tableId}-td-${t.key}-${String(n.key)}` : void 0,
7883
7925
  class: k([
@@ -7886,8 +7928,8 @@ var Kf = ["id"], qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7886
7928
  p(t, n) ? "g-cell-error" : "",
7887
7929
  typeof n.tdClass == "function" ? n.tdClass(t) : n.tdClass
7888
7930
  ])
7889
- }, [n.editable ? (G(), K("div", op, [
7890
- n.editable.prefix ? (G(), K("span", sp, A(n.editable.prefix), 1)) : Z("", !0),
7931
+ }, [n.editable ? (G(), K("div", dp, [
7932
+ n.editable.prefix ? (G(), K("span", fp, A(n.editable.prefix), 1)) : Z("", !0),
7891
7933
  n.editable.type === "select" ? (G(), K("select", {
7892
7934
  key: 1,
7893
7935
  value: t[n.key],
@@ -7900,7 +7942,7 @@ var Kf = ["id"], qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7900
7942
  }, [(G(!0), K(W, null, B(n.editable.options, (e) => (G(), K("option", {
7901
7943
  key: e.value,
7902
7944
  value: e.value
7903
- }, A(e.label), 9, lp))), 128))], 40, cp)) : (G(), K("input", Va({
7945
+ }, A(e.label), 9, mp))), 128))], 40, pp)) : (G(), K("input", Va({
7904
7946
  key: 2,
7905
7947
  value: t[n.key]
7906
7948
  }, { ref_for: !0 }, n.editable.inputAttributes, {
@@ -7914,29 +7956,29 @@ var Kf = ["id"], qf = /*#__PURE__*/ $(/* @__PURE__ */ R({
7914
7956
  paddingLeft: n.editable.prefix ? "1.5rem" : void 0,
7915
7957
  paddingRight: n.editable.suffix ? "2rem" : void 0
7916
7958
  }
7917
- }), null, 16, up)),
7918
- n.editable.suffix ? (G(), K("span", dp, A(n.editable.suffix), 1)) : Z("", !0)
7959
+ }), null, 16, hp)),
7960
+ n.editable.suffix ? (G(), K("span", gp, A(n.editable.suffix), 1)) : Z("", !0)
7919
7961
  ])) : 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", {
7920
7962
  key: 3,
7921
7963
  role: "alert",
7922
7964
  class: "g-cell-error-message",
7923
7965
  id: `${e.tableId}-error-${t.key}-${String(n.key)}`
7924
- }, A(m(t, n)), 9, fp)) : Z("", !0)], 10, ap))), 128))], 42, rp)], 64))), 128))], 512));
7966
+ }, A(m(t, n)), 9, _p)) : Z("", !0)], 10, up))), 128))], 42, cp)], 64))), 128))], 512));
7925
7967
  }
7926
7968
  }), [["styles", [""]]]);
7927
7969
  //#endregion
7928
7970
  //#region src/compose/useFiltering.ts
7929
- function mp(e) {
7971
+ function yp(e) {
7930
7972
  if (!(Array.isArray(e) && e.length === 0) && !(e === null || e === !1 || e === "")) return e;
7931
7973
  }
7932
- function hp(e) {
7974
+ function bp(e) {
7933
7975
  let t = {};
7934
7976
  return Object.keys(e).forEach((n) => {
7935
7977
  let r = e[n];
7936
7978
  r != null && r !== "" && r !== !1 && (Array.isArray(r) ? r.length > 0 && (t[n] = r.map((e) => String(e))) : t[n] = String(r));
7937
7979
  }), t;
7938
7980
  }
7939
- function gp(e, t = {}) {
7981
+ function xp(e, t = {}) {
7940
7982
  let n = /* @__PURE__ */ Ht(Object.fromEntries(Object.entries(e).map(([e, t]) => [e, t]))), r = t.syncWith;
7941
7983
  if (r) {
7942
7984
  if (r.value) {
@@ -7949,13 +7991,13 @@ function gp(e, t = {}) {
7949
7991
  });
7950
7992
  }
7951
7993
  L(n, (e) => {
7952
- r.value = hp(e);
7994
+ r.value = bp(e);
7953
7995
  }, { deep: !0 });
7954
7996
  }
7955
7997
  return {
7956
7998
  filters: n,
7957
7999
  isFiltered: Q(() => {
7958
- for (let t of Object.keys(e)) if (mp(n[t])) return !0;
8000
+ for (let t of Object.keys(e)) if (yp(n[t])) return !0;
7959
8001
  return !1;
7960
8002
  }),
7961
8003
  clearFilters: () => {
@@ -7965,56 +8007,59 @@ function gp(e, t = {}) {
7965
8007
  },
7966
8008
  filteredColumns: Q(() => {
7967
8009
  let t = {};
7968
- for (let r of Object.keys(e)) t[r] = !!mp(n[r]);
8010
+ for (let r of Object.keys(e)) t[r] = !!yp(n[r]);
7969
8011
  return t;
7970
8012
  })
7971
8013
  };
7972
8014
  }
7973
8015
  //#endregion
7974
8016
  //#region src/components/GTable.vue?vue&type=script&setup=true&lang.ts
7975
- var _p = { class: "g-table-outer-wrap" }, vp = {
8017
+ var Sp = { class: "g-table-outer-wrap" }, Cp = {
7976
8018
  key: 0,
7977
8019
  class: "g-table-controls"
7978
- }, yp = { class: "g-clear-filters-wrap" }, bp = {
8020
+ }, wp = { class: "g-clear-filters-wrap" }, Tp = {
7979
8021
  key: 0,
7980
8022
  class: "pagination"
7981
- }, xp = { class: "g-result-count" }, Sp = ["aria-label", "aria-rowcount"], Cp = { class: "g-table-head" }, wp = { "aria-rowindex": "1" }, Tp = {
8023
+ }, Ep = { class: "g-result-count" }, Dp = ["aria-label", "aria-rowcount"], Op = { class: "g-table-head" }, kp = { "aria-rowindex": "1" }, Ap = {
7982
8024
  key: 0,
7983
8025
  scope: "col",
7984
8026
  class: "g-th g-th-checkbox"
7985
- }, Ep = [
8027
+ }, jp = [
7986
8028
  "checked",
7987
8029
  "indeterminate",
7988
8030
  "aria-label"
7989
- ], Dp = ["id", "aria-sort"], Op = { class: "th-inner" }, kp = ["onClick"], Ap = {
8031
+ ], Mp = ["id", "aria-sort"], Np = { class: "th-inner" }, Pp = ["onClick"], Fp = {
7990
8032
  key: 0,
7991
8033
  class: "sort-indicator"
7992
- }, jp = ["aria-label"], Mp = {
8034
+ }, Ip = ["aria-label"], Lp = {
7993
8035
  key: 1,
7994
8036
  class: "g-column-head"
7995
- }, Np = ["onClick", "aria-label"], Pp = {
8037
+ }, Rp = ["onClick", "aria-label"], zp = {
7996
8038
  key: 1,
7997
8039
  class: "g-filter-search",
7998
8040
  role: "search"
7999
- }, Fp = [
8041
+ }, Bp = [
8000
8042
  "onUpdate:modelValue",
8001
8043
  "placeholder",
8002
8044
  "aria-label"
8003
- ], Ip = { key: 2 }, Lp = { class: "g-filter-toggle" }, Rp = [
8045
+ ], Vp = { key: 2 }, Hp = { class: "g-filter-toggle" }, Up = [
8004
8046
  "onUpdate:modelValue",
8005
8047
  "id",
8006
8048
  "aria-describedby"
8007
- ], zp = ["for"], Bp = ["id"], Vp = {
8049
+ ], Wp = ["for"], Gp = ["id"], Kp = {
8008
8050
  key: 4,
8009
8051
  class: "g-multi-select"
8010
- }, Hp = [
8052
+ }, qp = [
8011
8053
  "onUpdate:modelValue",
8012
8054
  "id",
8013
8055
  "value"
8014
- ], Up = ["for"], Wp = {
8056
+ ], Jp = ["for"], Yp = { class: "g-multi-select-option-label" }, Xp = {
8057
+ key: 0,
8058
+ class: "g-multi-select-option-description"
8059
+ }, Zp = {
8015
8060
  key: 1,
8016
8061
  class: "g-bulk-actions-toolbar"
8017
- }, Gp = { class: "g-selected-count" }, Kp = { class: "g-bulk-actions" }, qp = /*#__PURE__*/ $(/* @__PURE__ */ R({
8062
+ }, Qp = { class: "g-selected-count" }, $p = { class: "g-bulk-actions" }, em = /*#__PURE__*/ $(/* @__PURE__ */ R({
8018
8063
  __name: "GTable",
8019
8064
  props: /*@__PURE__*/ H({
8020
8065
  label: { type: String },
@@ -8066,7 +8111,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8066
8111
  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));
8067
8112
  }
8068
8113
  let l = o.filtering;
8069
- l ||= gp({});
8114
+ l ||= xp({});
8070
8115
  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);
8071
8116
  function y() {
8072
8117
  if (g.value) a.value = a.value.filter((e) => !m.value.includes(e));
@@ -8093,12 +8138,14 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8093
8138
  }
8094
8139
  function C(e) {
8095
8140
  let t = e.value, n = e.column.key, r = /* @__PURE__ */ M(e.row[n]);
8096
- e.column.editable?.inputAttributes?.type === "number" && (t = e.value === "" ? null : Number(e.value)), e.row[n] = t, s("cell-change", {
8141
+ e.column.editable?.inputAttributes?.type === "number" && (t = e.value === "" ? null : Number(e.value)), e.row[n] = t;
8142
+ let i = {
8097
8143
  row: e.row,
8098
8144
  column: e.column,
8099
8145
  value: t,
8100
8146
  previousValue: r
8101
- });
8147
+ };
8148
+ s("cell-change", i);
8102
8149
  }
8103
8150
  let w = z(), T = ui(), E = Q(() => o.showPagination ? !0 : !!T.pagination), ee = Q(() => !!(f.value || E.value));
8104
8151
  return Gr(() => {
@@ -8112,9 +8159,9 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8112
8159
  let e = i.value[t.key];
8113
8160
  i.value[t.key] = e ? [e] : [];
8114
8161
  }
8115
- }, { immediate: !0 }), (t, s) => (G(), K("div", _p, [
8116
- ee.value ? (G(), K("div", vp, [
8117
- J("div", yp, [P(f) ? (G(), q(su, {
8162
+ }, { immediate: !0 }), (t, s) => (G(), K("div", Sp, [
8163
+ ee.value ? (G(), K("div", Cp, [
8164
+ J("div", wp, [P(f) ? (G(), q(su, {
8118
8165
  key: 0,
8119
8166
  outlined: "",
8120
8167
  size: "small",
@@ -8132,22 +8179,22 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8132
8179
  })], -1), J("span", { class: "g-clear-filters-text" }, " Clear Filters ", -1)]]),
8133
8180
  _: 1
8134
8181
  }, 8, ["onClick"])) : Z("", !0)]),
8135
- E.value ? (G(), K("div", bp, [V(t.$slots, "pagination")])) : Z("", !0),
8136
- J("span", xp, A(o.resultCount || e.data.length) + " results", 1)
8182
+ E.value ? (G(), K("div", Tp, [V(t.$slots, "pagination")])) : Z("", !0),
8183
+ J("span", Ep, A(o.resultCount || e.data.length) + " results", 1)
8137
8184
  ])) : Z("", !0),
8138
8185
  J("table", {
8139
8186
  class: "g-table",
8140
8187
  ref: "tableRef",
8141
8188
  "aria-label": e.label,
8142
8189
  "aria-rowcount": o.resultCount || e.data.length
8143
- }, [J("thead", Cp, [J("tr", wp, [e.bulkSelectionEnabled ? (G(), K("th", Tp, [J("input", {
8190
+ }, [J("thead", Op, [J("tr", kp, [e.bulkSelectionEnabled ? (G(), K("th", Ap, [J("input", {
8144
8191
  type: "checkbox",
8145
8192
  checked: g.value,
8146
8193
  indeterminate: _.value,
8147
8194
  onChange: y,
8148
8195
  "aria-label": g.value ? "Deselect all rows" : "Select all rows",
8149
8196
  class: "g-bulk-select-checkbox"
8150
- }, null, 40, Ep)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (e) => (G(), K("th", {
8197
+ }, null, 40, jp)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (e) => (G(), K("th", {
8151
8198
  key: e.key,
8152
8199
  id: `${P(w)}-th-${String(e.key)}`,
8153
8200
  "aria-sort": n.value === e.key ? r.value === 1 ? "ascending" : "descending" : "none",
@@ -8157,12 +8204,12 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8157
8204
  { filtered: P(d)[e.key] }
8158
8205
  ]),
8159
8206
  scope: "col"
8160
- }, [J("div", Op, [e.sortable ? (G(), K("button", {
8207
+ }, [J("div", Np, [e.sortable ? (G(), K("button", {
8161
8208
  key: 0,
8162
8209
  type: "button",
8163
8210
  class: "g-column-head",
8164
8211
  onClick: (t) => c(e)
8165
- }, [X(A(e.label) + " ", 1), n.value === e.key ? (G(), K("span", Ap, [(G(), K("svg", {
8212
+ }, [X(A(e.label) + " ", 1), n.value === e.key ? (G(), K("span", Fp, [(G(), K("svg", {
8166
8213
  xmlns: "http://www.w3.org/2000/svg",
8167
8214
  viewBox: "0 0 640 640",
8168
8215
  height: "1.5em",
@@ -8172,7 +8219,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8172
8219
  }, [...s[1] ||= [J("path", {
8173
8220
  fill: "currentColor",
8174
8221
  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"
8175
- }, null, -1)]], 12, jp))])) : Z("", !0)], 8, kp)) : (G(), K("span", Mp, A(e.label), 1)), e.filter ? (G(), q(df, { key: 2 }, {
8222
+ }, null, -1)]], 12, Ip))])) : Z("", !0)], 8, Pp)) : (G(), K("span", Lp, A(e.label), 1)), e.filter ? (G(), q(mf, { key: 2 }, {
8176
8223
  trigger: I(({ toggle: t }) => [J("button", {
8177
8224
  onClick: Ps(t, ["stop"]),
8178
8225
  "aria-label": P(d)[e.key] ? "Column Filtered" : "Filter Column",
@@ -8186,8 +8233,8 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8186
8233
  }, [J("path", {
8187
8234
  fill: "currentColor",
8188
8235
  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"
8189
- })], -1)]], 10, Np)]),
8190
- default: I(() => [e.filter.type === "select" ? (G(), q(Lf, {
8236
+ })], -1)]], 10, Rp)]),
8237
+ default: I(() => [e.filter.type === "select" ? (G(), q(Hf, {
8191
8238
  key: 0,
8192
8239
  modelValue: i.value[e.key],
8193
8240
  "onUpdate:modelValue": (t) => i.value[e.key] = t,
@@ -8195,12 +8242,14 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8195
8242
  class: "g-filter-select",
8196
8243
  label: "Filter select",
8197
8244
  searchable: "",
8245
+ "search-description": e.filter.searchDescription,
8198
8246
  "clear-button": ""
8199
8247
  }, null, 8, [
8200
8248
  "modelValue",
8201
8249
  "onUpdate:modelValue",
8202
- "options"
8203
- ])) : e.filter.type === "search" ? (G(), K("div", Pp, [s[3] ||= J("span", {
8250
+ "options",
8251
+ "search-description"
8252
+ ])) : e.filter.type === "search" ? (G(), K("div", zp, [s[3] ||= J("span", {
8204
8253
  class: "g-filter-search-icon",
8205
8254
  "aria-hidden": "true"
8206
8255
  }, [J("svg", {
@@ -8216,41 +8265,46 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8216
8265
  "onUpdate:modelValue": (t) => i.value[e.key] = t,
8217
8266
  placeholder: e.filter.placeholder,
8218
8267
  "aria-label": `Search ${e.label}`
8219
- }, null, 8, Fp), [[Ds, i.value[e.key]]])])) : e.filter.type === "toggle" ? (G(), K("div", Ip, [J("div", Lp, [
8268
+ }, null, 8, Bp), [[Ds, i.value[e.key]]])])) : e.filter.type === "toggle" ? (G(), K("div", Vp, [J("div", Hp, [
8220
8269
  Wn(J("input", {
8221
8270
  type: "checkbox",
8222
8271
  "onUpdate:modelValue": (t) => i.value[e.key] = t,
8223
8272
  id: `${P(w)}-filter-${String(e.key)}`,
8224
8273
  "aria-describedby": e.filter.description ? `${P(w)}-filter-description-${String(e.key)}` : void 0
8225
- }, null, 8, Rp), [[Os, i.value[e.key]]]),
8226
- J("label", { for: `${P(w)}-filter-${String(e.key)}` }, A(e.filter.label), 9, zp),
8274
+ }, null, 8, Up), [[Os, i.value[e.key]]]),
8275
+ J("label", { for: `${P(w)}-filter-${String(e.key)}` }, A(e.filter.label), 9, Wp),
8227
8276
  e.filter.description ? (G(), K("span", {
8228
8277
  key: 0,
8229
8278
  class: "g-filter-description",
8230
8279
  id: `${P(w)}-filter-description-${String(e.key)}`
8231
- }, A(e.filter.description), 9, Bp)) : Z("", !0)
8232
- ])])) : e.filter.type === "multi-select" && e.filter.searchable ? (G(), q(rf, {
8280
+ }, A(e.filter.description), 9, Gp)) : Z("", !0)
8281
+ ])])) : e.filter.type === "multi-select" && e.filter.searchable ? (G(), q(sf, {
8233
8282
  key: 3,
8234
8283
  modelValue: i.value[e.key],
8235
8284
  "onUpdate:modelValue": (t) => i.value[e.key] = t,
8236
8285
  options: e.filter.options,
8237
8286
  label: "Include values",
8238
8287
  placeholder: e.filter.placeholder,
8288
+ "search-description": e.filter.searchDescription,
8239
8289
  class: "g-multi-select-searchable"
8240
8290
  }, null, 8, [
8241
8291
  "modelValue",
8242
8292
  "onUpdate:modelValue",
8243
8293
  "options",
8244
- "placeholder"
8245
- ])) : e.filter.type === "multi-select" ? (G(), K("fieldset", Vp, [
8294
+ "placeholder",
8295
+ "search-description"
8296
+ ])) : e.filter.type === "multi-select" ? (G(), K("fieldset", Kp, [
8246
8297
  s[5] ||= J("legend", { class: "g-multi-select-legend" }, " Include values ", -1),
8247
- (G(!0), K(W, null, B(e.filter.options, (t) => (G(), K("div", { key: t.value }, [Wn(J("input", {
8298
+ (G(!0), K(W, null, B(e.filter.options, (t) => (G(), K("div", {
8299
+ key: t.value,
8300
+ class: "g-multi-select-option"
8301
+ }, [Wn(J("input", {
8248
8302
  type: "checkbox",
8249
8303
  "onUpdate:modelValue": (t) => i.value[e.key] = t,
8250
8304
  id: `filter-${String(e.key)}-${t.value}`,
8251
8305
  value: t.value,
8252
8306
  name: "filter-multiselect"
8253
- }, null, 8, Hp), [[Os, i.value[e.key]]]), J("label", { for: `filter-${String(e.key)}-${t.value}` }, A(t.label), 9, Up)]))), 128)),
8307
+ }, null, 8, qp), [[Os, i.value[e.key]]]), J("label", { for: `filter-${String(e.key)}-${t.value}` }, [J("span", Yp, A(t.label), 1), t.description ? (G(), K("span", Xp, A(t.description), 1)) : Z("", !0)], 8, Jp)]))), 128)),
8254
8308
  i.value[e.key] && i.value[e.key].length ? (G(), q(su, {
8255
8309
  key: 0,
8256
8310
  class: "clear-multiselect-btn",
@@ -8263,7 +8317,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8263
8317
  }, 8, ["onClick"])) : Z("", !0)
8264
8318
  ])) : Z("", !0)]),
8265
8319
  _: 2
8266
- }, 1024)) : Z("", !0)])], 10, Dp))), 128))])]), Y(pp, {
8320
+ }, 1024)) : Z("", !0)])], 10, Mp))), 128))])]), Y(vp, {
8267
8321
  data: e.data,
8268
8322
  columns: e.columns,
8269
8323
  "group-by": e.groupBy,
@@ -8290,8 +8344,8 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8290
8344
  "selected-rows",
8291
8345
  "table-id",
8292
8346
  "change-tracker"
8293
- ])], 8, Sp),
8294
- e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div", Wp, [J("span", Gp, A(a.value.length) + " row" + A(a.value.length === 1 ? "" : "s") + " selected", 1), J("ul", Kp, [(G(!0), K(W, null, B(e.bulkActions, (e) => (G(), K("li", { key: e.id }, [Y(su, {
8347
+ ])], 8, Dp),
8348
+ e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div", Zp, [J("span", Qp, A(a.value.length) + " row" + A(a.value.length === 1 ? "" : "s") + " selected", 1), J("ul", $p, [(G(!0), K(W, null, B(e.bulkActions, (e) => (G(), K("li", { key: e.id }, [Y(su, {
8295
8349
  theme: e.theme || "accent",
8296
8350
  onClick: (t) => S(e.id),
8297
8351
  size: "small"
@@ -8301,10 +8355,10 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8301
8355
  }, 1032, ["theme", "onClick"])]))), 128))])])) : Z("", !0)
8302
8356
  ]));
8303
8357
  }
8304
- }), [["styles", [""]]]), Jp = {
8358
+ }), [["styles", [""]]]), tm = {
8305
8359
  class: "g-pagination",
8306
8360
  "aria-label": "Pagination"
8307
- }, Yp = ["disabled"], Xp = ["disabled"], Zp = { class: "page-range" }, Qp = ["disabled"], $p = ["disabled"], em = ["value"], tm = ["value"], nm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8361
+ }, nm = ["disabled"], rm = ["disabled"], im = { class: "page-range" }, am = ["disabled"], om = ["disabled"], sm = ["value"], cm = ["value"], lm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8308
8362
  __name: "GTablePagination",
8309
8363
  props: /*@__PURE__*/ H({
8310
8364
  start: { type: Number },
@@ -8326,7 +8380,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8326
8380
  function d(e) {
8327
8381
  i.value = parseInt(e.target.value, 10);
8328
8382
  }
8329
- return (e, r) => (G(), K("nav", Jp, [
8383
+ return (e, r) => (G(), K("nav", tm, [
8330
8384
  J("button", {
8331
8385
  class: "first-page g-pagination-button",
8332
8386
  disabled: l.value === 1,
@@ -8351,7 +8405,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8351
8405
  }),
8352
8406
  J("path", { d: "M11 7l-5 5l5 5" }),
8353
8407
  J("path", { d: "M17 7l-5 5l5 5" })
8354
- ], -1)]], 8, Yp),
8408
+ ], -1)]], 8, nm),
8355
8409
  J("button", {
8356
8410
  class: "prev-page g-pagination-button",
8357
8411
  disabled: l.value === 1,
@@ -8372,8 +8426,8 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8372
8426
  stroke: "none",
8373
8427
  d: "M0 0h24v24H0z",
8374
8428
  fill: "none"
8375
- }), J("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, Xp),
8376
- J("span", Zp, A(s.value) + " to " + A(c.value), 1),
8429
+ }), J("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, rm),
8430
+ J("span", im, A(s.value) + " to " + A(c.value), 1),
8377
8431
  J("button", {
8378
8432
  class: "next-page g-pagination-button",
8379
8433
  disabled: l.value === n.value,
@@ -8394,7 +8448,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8394
8448
  stroke: "none",
8395
8449
  d: "M0 0h24v24H0z",
8396
8450
  fill: "none"
8397
- }), J("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Qp),
8451
+ }), J("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, am),
8398
8452
  J("button", {
8399
8453
  class: "last-page g-pagination-button",
8400
8454
  disabled: l.value === n.value,
@@ -8419,7 +8473,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8419
8473
  }),
8420
8474
  J("path", { d: "M7 7l5 5l-5 5" }),
8421
8475
  J("path", { d: "M13 7l5 5l-5 5" })
8422
- ], -1)]], 8, $p),
8476
+ ], -1)]], 8, om),
8423
8477
  J("select", {
8424
8478
  id: "page-size-select",
8425
8479
  class: "page-size-select",
@@ -8433,14 +8487,14 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8433
8487
  ], (e) => (G(), K("option", {
8434
8488
  key: e,
8435
8489
  value: e
8436
- }, A(e), 9, tm))), 128))], 40, em),
8490
+ }, A(e), 9, cm))), 128))], 40, sm),
8437
8491
  r[8] ||= J("label", {
8438
8492
  class: "page-size-label",
8439
8493
  for: "page-size-select"
8440
8494
  }, "per page", -1)
8441
8495
  ]));
8442
8496
  }
8443
- }), [["styles", [""]]]), rm = { class: "popover-content" }, im = { class: "year-dropdown" }, am = { class: "month-selector" }, om = /*#__PURE__*/ $(/* @__PURE__ */ R({
8497
+ }), [["styles", [""]]]), um = { class: "popover-content" }, dm = { class: "year-dropdown" }, fm = { class: "month-selector" }, pm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8444
8498
  __name: "GTermSelectorControl",
8445
8499
  props: /*@__PURE__*/ H({
8446
8500
  termYears: {
@@ -8473,7 +8527,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8473
8527
  emits: ["update:modelValue"],
8474
8528
  setup(e) {
8475
8529
  let t = U(e, "modelValue");
8476
- return (n, r) => (G(), K("div", rm, [J("div", im, [Y(Lf, {
8530
+ return (n, r) => (G(), K("div", um, [J("div", dm, [Y(Hf, {
8477
8531
  modelValue: t.value.year,
8478
8532
  "onUpdate:modelValue": r[0] ||= (e) => t.value.year = e,
8479
8533
  options: e.termYears,
@@ -8482,7 +8536,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8482
8536
  "modelValue",
8483
8537
  "options",
8484
8538
  "label"
8485
- ])]), J("div", am, [Y(Wf, {
8539
+ ])]), J("div", fm, [Y(Yf, {
8486
8540
  modelValue: t.value.name,
8487
8541
  "onUpdate:modelValue": r[1] ||= (e) => t.value.name = e,
8488
8542
  options: e.termNames,
@@ -8494,10 +8548,10 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8494
8548
  "label"
8495
8549
  ])])]));
8496
8550
  }
8497
- }), [["styles", [""]]]), sm = { class: "g-term-selector" }, cm = { class: "g-term-label" }, lm = {
8551
+ }), [["styles", [""]]]), mm = { class: "g-term-selector" }, hm = { class: "g-term-label" }, gm = {
8498
8552
  class: "g-popover-title",
8499
8553
  tabindex: "-1"
8500
- }, um = /*#__PURE__*/ $(/* @__PURE__ */ R({
8554
+ }, _m = /*#__PURE__*/ $(/* @__PURE__ */ R({
8501
8555
  __name: "GTermSelector",
8502
8556
  props: /*@__PURE__*/ H({
8503
8557
  heading: {
@@ -8528,7 +8582,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8528
8582
  emits: ["update:modelValue"],
8529
8583
  setup(e) {
8530
8584
  let t = U(e, "modelValue");
8531
- return (n, r) => (G(), K("div", sm, [Y(df, null, {
8585
+ return (n, r) => (G(), K("div", mm, [Y(mf, null, {
8532
8586
  trigger: I(({ toggle: e }) => [Y(su, {
8533
8587
  class: "g-term-selector-button",
8534
8588
  theme: "none",
@@ -8541,7 +8595,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8541
8595
  xmlns: "http://www.w3.org/2000/svg",
8542
8596
  viewBox: "0 0 640 640"
8543
8597
  }, [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),
8544
- J("span", cm, A(t.value?.name) + " " + A(t.value?.year), 1),
8598
+ J("span", hm, A(t.value?.name) + " " + A(t.value?.year), 1),
8545
8599
  r[1] ||= J("span", { class: "g-caret" }, [J("svg", {
8546
8600
  role: "none",
8547
8601
  xmlns: "http://www.w3.org/2000/svg",
@@ -8550,15 +8604,15 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8550
8604
  ]),
8551
8605
  _: 1
8552
8606
  }, 8, ["onClick"])]),
8553
- default: I(() => [J("h2", lm, A(e.heading), 1), Y(om, ge(Ia(n.$props)), null, 16)]),
8607
+ default: I(() => [J("h2", gm, A(e.heading), 1), Y(pm, ge(Ia(n.$props)), null, 16)]),
8554
8608
  _: 1
8555
8609
  })]));
8556
8610
  }
8557
- }), [["styles", [""]]]), dm = ["for"], fm = {
8611
+ }), [["styles", [""]]]), vm = ["for"], ym = {
8558
8612
  key: 0,
8559
8613
  class: "g-textarea-required",
8560
8614
  "aria-hidden": "true"
8561
- }, pm = ["id"], mm = [
8615
+ }, bm = ["id"], xm = [
8562
8616
  "value",
8563
8617
  "placeholder",
8564
8618
  "disabled",
@@ -8567,11 +8621,11 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8567
8621
  "rows",
8568
8622
  "maxlength",
8569
8623
  "aria-invalid"
8570
- ], hm = {
8624
+ ], Sm = {
8571
8625
  key: 2,
8572
8626
  class: "g-textarea-char-count",
8573
8627
  "aria-live": "polite"
8574
- }, gm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8628
+ }, Cm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8575
8629
  inheritAttrs: !1,
8576
8630
  __name: "GTextarea",
8577
8631
  props: /*@__PURE__*/ H({
@@ -8652,7 +8706,8 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8652
8706
  }
8653
8707
  }
8654
8708
  function h(e) {
8655
- r.value = e.target.value, n.autoGrow && p();
8709
+ let t = e.target.value;
8710
+ r.value = t, n.autoGrow && p();
8656
8711
  }
8657
8712
  function g(e) {
8658
8713
  m(e.target.value);
@@ -8668,12 +8723,12 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8668
8723
  key: 0,
8669
8724
  for: c.value,
8670
8725
  class: "g-textarea-label"
8671
- }, [X(A(n.label), 1), n.required ? (G(), K("span", fm, " *")) : Z("", !0)], 8, dm)) : Z("", !0),
8726
+ }, [X(A(n.label), 1), n.required ? (G(), K("span", ym, " *")) : Z("", !0)], 8, vm)) : Z("", !0),
8672
8727
  t.$slots.instructions || e.instructions ? (G(), K("div", {
8673
8728
  key: 1,
8674
8729
  id: "instructions-" + P(i),
8675
8730
  class: "g-textarea-instructions"
8676
- }, [V(t.$slots, "instructions", {}, () => [X(A(e.instructions), 1)])], 8, pm)) : Z("", !0),
8731
+ }, [V(t.$slots, "instructions", {}, () => [X(A(e.instructions), 1)])], 8, bm)) : Z("", !0),
8677
8732
  J("textarea", Va({
8678
8733
  ref: "textareaEl",
8679
8734
  value: r.value ?? "",
@@ -8694,36 +8749,36 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8694
8749
  onInput: h,
8695
8750
  onBlur: g,
8696
8751
  onPaste: _
8697
- }), null, 16, mm),
8698
- n.maxlength === void 0 ? Z("", !0) : (G(), K("div", hm, A((r.value ?? "").length) + " / " + A(n.maxlength), 1)),
8752
+ }), null, 16, xm),
8753
+ n.maxlength === void 0 ? Z("", !0) : (G(), K("div", Sm, A((r.value ?? "").length) + " / " + A(n.maxlength), 1)),
8699
8754
  Y(Eu, {
8700
8755
  errors: P(l),
8701
8756
  id: "error-message-" + P(i)
8702
8757
  }, null, 8, ["errors", "id"])
8703
8758
  ], 2));
8704
8759
  }
8705
- }), [["styles", [""]]]), _m = { class: "g-three-way-toggle-wrapper" }, vm = { class: "g-three-way-toggle-control" }, ym = ["id"], bm = [
8760
+ }), [["styles", [""]]]), wm = { class: "g-three-way-toggle-wrapper" }, Tm = { class: "g-three-way-toggle-control" }, Em = ["id"], Dm = [
8706
8761
  "aria-labelledby",
8707
8762
  "aria-describedby",
8708
8763
  "disabled",
8709
8764
  "aria-invalid",
8710
8765
  "aria-errormessage"
8711
- ], xm = { key: 0 }, Sm = { key: 1 }, Cm = { key: 2 }, wm = ["for"], Tm = [
8766
+ ], Om = { key: 0 }, km = { key: 1 }, Am = { key: 2 }, jm = ["for"], Mm = [
8712
8767
  "id",
8713
8768
  "name",
8714
8769
  "checked",
8715
8770
  "disabled"
8716
- ], Em = ["for"], Dm = [
8771
+ ], Nm = ["for"], Pm = [
8717
8772
  "id",
8718
8773
  "name",
8719
8774
  "checked",
8720
8775
  "disabled"
8721
- ], Om = ["for"], km = [
8776
+ ], Fm = ["for"], Im = [
8722
8777
  "id",
8723
8778
  "name",
8724
8779
  "checked",
8725
8780
  "disabled"
8726
- ], Am = ["id"], jm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8781
+ ], Lm = ["id"], Rm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8727
8782
  __name: "GThreeWayToggle",
8728
8783
  props: /*@__PURE__*/ H({
8729
8784
  label: { type: String },
@@ -8757,10 +8812,10 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8757
8812
  function m(e) {
8758
8813
  n.disabled || (e.key === "n" || e.key === "N" ? (a(!1), e.preventDefault()) : (e.key === "y" || e.key === "Y") && (a(!0), e.preventDefault()));
8759
8814
  }
8760
- return (t, n) => (G(), K("div", _m, [J("div", vm, [J("span", {
8815
+ return (t, n) => (G(), K("div", wm, [J("div", Tm, [J("span", {
8761
8816
  class: "g-label",
8762
8817
  id: P(c)
8763
- }, [V(t.$slots, "label", {}, () => [X(A(e.label), 1)])], 8, ym), J("fieldset", {
8818
+ }, [V(t.$slots, "label", {}, () => [X(A(e.label), 1)])], 8, Em), J("fieldset", {
8764
8819
  class: k(["g-three-way-toggle", { "g-has-error": e.error }]),
8765
8820
  role: "radiogroup",
8766
8821
  "aria-labelledby": P(c),
@@ -8772,7 +8827,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8772
8827
  J("span", {
8773
8828
  class: k(["g-toggle-thumb", p.value]),
8774
8829
  "aria-hidden": "true"
8775
- }, [r.value === !1 ? (G(), K("span", xm, "NO")) : r.value === !0 ? (G(), K("span", Sm, "YES")) : (G(), K("span", Cm))], 2),
8830
+ }, [r.value === !1 ? (G(), K("span", Om, "NO")) : r.value === !0 ? (G(), K("span", km, "YES")) : (G(), K("span", Am))], 2),
8776
8831
  J("label", {
8777
8832
  for: P(u),
8778
8833
  class: "g-toggle-option g-left",
@@ -8786,7 +8841,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8786
8841
  value: "false",
8787
8842
  disabled: e.disabled,
8788
8843
  onChange: n[0] ||= (e) => o(!1)
8789
- }, null, 40, Tm), n[5] ||= J("span", { class: "ilw-sr-only" }, "No", -1)], 40, wm),
8844
+ }, null, 40, Mm), n[5] ||= J("span", { class: "ilw-sr-only" }, "No", -1)], 40, jm),
8790
8845
  J("label", {
8791
8846
  for: P(d),
8792
8847
  class: "g-toggle-option g-center",
@@ -8798,7 +8853,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8798
8853
  checked: r.value === null,
8799
8854
  disabled: e.disabled,
8800
8855
  onChange: n[2] ||= (e) => o(null)
8801
- }, null, 40, Dm), n[6] ||= J("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, Em),
8856
+ }, null, 40, Pm), n[6] ||= J("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, Nm),
8802
8857
  J("label", {
8803
8858
  for: P(f),
8804
8859
  class: "g-toggle-option g-right",
@@ -8812,22 +8867,22 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8812
8867
  checked: r.value === !0,
8813
8868
  disabled: e.disabled,
8814
8869
  onChange: n[3] ||= (e) => o(!0)
8815
- }, null, 40, km), n[7] ||= J("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, Om)
8816
- ], 2)], 10, bm)]), e.error ? (G(), K("div", {
8870
+ }, null, 40, Im), n[7] ||= J("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, Fm)
8871
+ ], 2)], 10, Dm)]), e.error ? (G(), K("div", {
8817
8872
  key: 0,
8818
8873
  id: `${P(c)}-error`,
8819
8874
  class: "g-form-error",
8820
8875
  role: "alert",
8821
8876
  "aria-atomic": "true"
8822
- }, A(e.error), 9, Am)) : Z("", !0)]));
8877
+ }, A(e.error), 9, Lm)) : Z("", !0)]));
8823
8878
  }
8824
- }), [["styles", [""]]]), Mm = { class: "g-tree-menu__divider" }, Nm = {
8879
+ }), [["styles", [""]]]), zm = { class: "g-tree-menu__divider" }, Bm = {
8825
8880
  key: 0,
8826
8881
  class: "g-tree-menu__divider-line"
8827
- }, Pm = {
8882
+ }, Vm = {
8828
8883
  key: 1,
8829
8884
  class: "g-tree-menu__expand-all-wrapper"
8830
- }, Fm = { class: "g-tree-menu__content" }, Im = /*#__PURE__*/ $(/* @__PURE__ */ R({
8885
+ }, Hm = { class: "g-tree-menu__content" }, Um = /*#__PURE__*/ $(/* @__PURE__ */ R({
8831
8886
  __name: "GTreeMenu",
8832
8887
  props: {
8833
8888
  heading: { type: String },
@@ -8869,8 +8924,9 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8869
8924
  return !0;
8870
8925
  });
8871
8926
  function o() {
8927
+ let e = !a.value;
8872
8928
  i.value = {
8873
- expanded: !a.value,
8929
+ expanded: e,
8874
8930
  version: i.value.version + 1
8875
8931
  };
8876
8932
  }
@@ -8946,7 +9002,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8946
9002
  default: I(() => [X(A(e.heading), 1)]),
8947
9003
  _: 1
8948
9004
  }, 8, ["id"])) : Z("", !0),
8949
- J("div", Mm, [e.smallHeading ? Z("", !0) : (G(), K("div", Nm)), e.showExpandAll ? (G(), K("div", Pm, [J("button", {
9005
+ J("div", zm, [e.smallHeading ? Z("", !0) : (G(), K("div", Bm)), e.showExpandAll ? (G(), K("div", Vm, [J("button", {
8950
9006
  class: "g-tree-menu__expand-all-btn",
8951
9007
  onClick: o
8952
9008
  }, [(G(), K("svg", {
@@ -8959,10 +9015,10 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8959
9015
  "stroke-linecap": "round",
8960
9016
  "stroke-linejoin": "round"
8961
9017
  }, [...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(a.value ? "Collapse all" : "Expand all"), 1)])])) : Z("", !0)]),
8962
- J("div", Fm, [V(r.$slots, "default")])
9018
+ J("div", Hm, [V(r.$slots, "default")])
8963
9019
  ], 16));
8964
9020
  }
8965
- }), [["styles", [""]]]), Lm = /*#__PURE__*/ $(/* @__PURE__ */ R({
9021
+ }), [["styles", [""]]]), Wm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8966
9022
  name: "GTreeMenuList",
8967
9023
  props: { listType: {
8968
9024
  default: void 0,
@@ -8982,13 +9038,13 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
8982
9038
  _: 3
8983
9039
  }, 8, ["role"]));
8984
9040
  }
8985
- }), [["styles", [""]]]), Rm = {
9041
+ }), [["styles", [""]]]), Gm = {
8986
9042
  key: 0,
8987
9043
  class: "g-tree-menu__row"
8988
- }, zm = { class: "g-tree-menu__row-content-text" }, Bm = {
9044
+ }, Km = { class: "g-tree-menu__row-content-text" }, qm = {
8989
9045
  key: 1,
8990
9046
  class: "g-tree-menu__row g-tree-menu__row--leaf"
8991
- }, Vm = /*#__PURE__*/ $(/* @__PURE__ */ R({
9047
+ }, Jm = /*#__PURE__*/ $(/* @__PURE__ */ R({
8992
9048
  name: "GTreeMenuItem",
8993
9049
  inheritAttrs: !1,
8994
9050
  props: {
@@ -9060,7 +9116,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
9060
9116
  class: "g-tree-menu__item",
9061
9117
  "data-tree-expandable": c.value ? "true" : void 0
9062
9118
  }), {
9063
- default: I(() => [c.value ? (G(), K("div", Rm, [J("div", {
9119
+ default: I(() => [c.value ? (G(), K("div", Gm, [J("div", {
9064
9120
  class: "g-tree-menu__toggle-btn",
9065
9121
  onClick: m
9066
9122
  }, [(G(), K("svg", {
@@ -9079,12 +9135,12 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
9079
9135
  "data-tree-primary": "",
9080
9136
  onClick: x,
9081
9137
  onKeydown: S
9082
- }, [J("span", zm, [V(e.$slots, "default")])], 544)])) : (G(), K("div", Bm, [t[1] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), J("span", {
9138
+ }, [J("span", Km, [V(e.$slots, "default")])], 544)])) : (G(), K("div", qm, [t[1] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), J("span", {
9083
9139
  class: "g-tree-menu__row-content",
9084
9140
  ref_key: "contentRef",
9085
9141
  ref: f,
9086
9142
  "data-tree-primary": ""
9087
- }, [V(e.$slots, "default")], 512)])), c.value && d.value ? (G(), q(Lm, {
9143
+ }, [V(e.$slots, "default")], 512)])), c.value && d.value ? (G(), q(Wm, {
9088
9144
  key: 2,
9089
9145
  id: P(o) + "-children"
9090
9146
  }, {
@@ -9094,11 +9150,11 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
9094
9150
  _: 3
9095
9151
  }, 16, ["role", "data-tree-expandable"]));
9096
9152
  }
9097
- }), [["styles", [""]]]), Hm = { class: "g-user-menu" }, Um = [
9153
+ }), [["styles", [""]]]), Ym = { class: "g-user-menu" }, Xm = [
9098
9154
  "aria-label",
9099
9155
  "aria-expanded",
9100
9156
  "onClick"
9101
- ], Wm = { class: "g-user-menu__popover" }, Gm = { class: "g-user-menu__list" }, Km = /*#__PURE__*/ $(/* @__PURE__ */ R({
9157
+ ], Zm = { class: "g-user-menu__popover" }, Qm = { class: "g-user-menu__list" }, $m = /*#__PURE__*/ $(/* @__PURE__ */ R({
9102
9158
  __name: "GUserMenu",
9103
9159
  props: {
9104
9160
  initials: { type: String },
@@ -9116,7 +9172,7 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
9116
9172
  let t = `${z()}-email`, n = /* @__PURE__ */ N(!1), r = jr("emailHeading");
9117
9173
  qa()?.appContext?.components?.RouterLink;
9118
9174
  let i = ui();
9119
- return (a, o) => (G(), K("div", Hm, [Y(df, {
9175
+ return (a, o) => (G(), K("div", Ym, [Y(mf, {
9120
9176
  modelValue: n.value,
9121
9177
  "onUpdate:modelValue": o[0] ||= (e) => n.value = e,
9122
9178
  minimal: ""
@@ -9128,8 +9184,8 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
9128
9184
  "aria-expanded": n.value,
9129
9185
  "aria-haspopup": "menu",
9130
9186
  onClick: t
9131
- }, A(e.initials), 13, Um)]),
9132
- default: I(() => [J("div", Wm, [J("h2", {
9187
+ }, A(e.initials), 13, Xm)]),
9188
+ default: I(() => [J("div", Zm, [J("h2", {
9133
9189
  id: t,
9134
9190
  ref_key: "emailHeading",
9135
9191
  ref: r,
@@ -9138,19 +9194,19 @@ var _p = { class: "g-table-outer-wrap" }, vp = {
9138
9194
  }, A(e.email), 513), J("nav", {
9139
9195
  class: "g-user-menu__nav",
9140
9196
  "aria-labelledby": t
9141
- }, [J("ul", Gm, [(G(!0), K(W, null, B(i.default(), (e, t) => (G(), K("li", { key: t }, [(G(), q(ni(e)))]))), 128))])])])]),
9197
+ }, [J("ul", Qm, [(G(!0), K(W, null, B(i.default(), (e, t) => (G(), K("li", { key: t }, [(G(), q(ni(e)))]))), 128))])])])]),
9142
9198
  _: 1
9143
9199
  }, 8, ["modelValue"])]));
9144
9200
  }
9145
- }), [["styles", [""]]]), qm = globalThis;
9146
- qm.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ = !0;
9147
- var Jm = {
9201
+ }), [["styles", [""]]]), eh = globalThis;
9202
+ eh.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ = !0;
9203
+ var th = {
9148
9204
  shadowRoot: !1,
9149
9205
  configureApp(e) {
9150
- let t = (qm.__GRAD_VUE_WC_APP_ID__ ?? 0) + 1;
9151
- qm.__GRAD_VUE_WC_APP_ID__ = t, e.config.idPrefix = `g-wc-${t}-`;
9206
+ let t = (eh.__GRAD_VUE_WC_APP_ID__ ?? 0) + 1;
9207
+ eh.__GRAD_VUE_WC_APP_ID__ = t, e.config.idPrefix = `g-wc-${t}-`;
9152
9208
  }
9153
- }, Ym = [
9209
+ }, nh = [
9154
9210
  ["g-alert-dialog", pu],
9155
9211
  ["g-app-header", bu],
9156
9212
  ["g-button", su],
@@ -9167,32 +9223,32 @@ var Jm = {
9167
9223
  ["g-hamburger-menu", jd],
9168
9224
  ["g-history-scroller", Id],
9169
9225
  ["g-modal", Hd],
9170
- ["g-multi-select", rf],
9171
- ["g-overlay", of],
9172
- ["g-popover", df],
9173
- ["g-tooltip", ff],
9174
- ["g-progress", _f],
9175
- ["g-search", Df],
9176
- ["g-select", Lf],
9177
- ["g-select-button", Wf],
9178
- ["g-sidebar", qf],
9179
- ["g-sidebar-menu", Zf],
9180
- ["g-submit-button", Qf],
9181
- ["g-table", qp],
9182
- ["g-table-body", pp],
9183
- ["g-table-pagination", nm],
9184
- ["g-term-selector", um],
9185
- ["g-term-selector-control", om],
9226
+ ["g-multi-select", sf],
9227
+ ["g-overlay", lf],
9228
+ ["g-popover", mf],
9229
+ ["g-tooltip", hf],
9230
+ ["g-progress", bf],
9231
+ ["g-search", Af],
9232
+ ["g-select", Hf],
9233
+ ["g-select-button", Yf],
9234
+ ["g-sidebar", Qf],
9235
+ ["g-sidebar-menu", np],
9236
+ ["g-submit-button", rp],
9237
+ ["g-table", em],
9238
+ ["g-table-body", vp],
9239
+ ["g-table-pagination", lm],
9240
+ ["g-term-selector", _m],
9241
+ ["g-term-selector-control", pm],
9186
9242
  ["g-text-input", td],
9187
- ["g-textarea", gm],
9188
- ["g-three-way-toggle", jm],
9189
- ["g-tree-menu", Im],
9190
- ["g-tree-menu-list", Lm],
9191
- ["g-tree-menu-item", Vm],
9192
- ["g-user-menu", Km]
9243
+ ["g-textarea", Cm],
9244
+ ["g-three-way-toggle", Rm],
9245
+ ["g-tree-menu", Um],
9246
+ ["g-tree-menu-list", Wm],
9247
+ ["g-tree-menu-item", Jm],
9248
+ ["g-user-menu", $m]
9193
9249
  ];
9194
- for (let [e, t] of Ym) {
9195
- let n = /* @__PURE__ */ ys(t, Jm);
9250
+ for (let [e, t] of nh) {
9251
+ let n = /* @__PURE__ */ ys(t, th);
9196
9252
  customElements.define(e, n);
9197
9253
  }
9198
9254
  //#endregion