@xy-planning-network/trees 0.9.2-rc1 → 0.9.2-rc3

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.
package/dist/trees.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var ji = Object.defineProperty;
2
2
  var Bi = (t, n, e) => n in t ? ji(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
3
3
  var Qn = (t, n, e) => (Bi(t, typeof n != "symbol" ? n + "" : n, e), e);
4
- import { ref as T, getCurrentInstance as Hi, watch as Fe, computed as P, useAttrs as Dr, cloneVNode as Vi, h as ft, watchEffect as ge, provide as ye, inject as ve, defineComponent as L, onUnmounted as et, Teleport as Ui, reactive as qi, onUpdated as Ba, unref as m, onMounted as $e, nextTick as pt, toRaw as xt, openBlock as x, createBlock as j, createVNode as E, shallowRef as Ha, getCurrentScope as Yi, onScopeDispose as Wi, shallowReadonly as kt, toRef as _t, withCtx as R, Transition as On, createElementVNode as v, normalizeStyle as Va, createElementBlock as S, Fragment as re, renderList as oe, normalizeClass as B, resolveDynamicComponent as qe, createCommentVNode as H, createTextVNode as Oe, toDisplayString as U, renderSlot as pe, mergeProps as je, mergeDefaults as ot, withModifiers as mt, TransitionGroup as zi, withDirectives as ra, vShow as aa, isRef as Ua, isVNode as Ki, resolveComponent as qa } from "vue";
4
+ import { ref as T, getCurrentInstance as Vi, watch as Fe, computed as P, useAttrs as Dr, cloneVNode as Hi, h as ft, watchEffect as ge, provide as ye, inject as ve, defineComponent as L, onUnmounted as et, Teleport as Ui, reactive as qi, onUpdated as Ba, unref as m, onMounted as $e, nextTick as pt, toRaw as xt, openBlock as x, createBlock as j, createVNode as E, shallowRef as Va, getCurrentScope as Yi, onScopeDispose as Wi, shallowReadonly as kt, toRef as _t, withCtx as R, Transition as On, createElementVNode as v, normalizeStyle as Ha, createElementBlock as S, Fragment as re, renderList as oe, normalizeClass as B, resolveDynamicComponent as qe, createCommentVNode as V, createTextVNode as Oe, toDisplayString as U, renderSlot as pe, mergeProps as je, mergeDefaults as ot, withModifiers as mt, TransitionGroup as zi, withDirectives as ra, vShow as aa, isRef as Ua, isVNode as Ki, resolveComponent as qa } from "vue";
5
5
  function Ya(t, n) {
6
6
  return function() {
7
7
  return t.apply(n, arguments);
@@ -12,22 +12,22 @@ const { toString: Gi } = Object.prototype, { getPrototypeOf: kr } = Object, Mn =
12
12
  return t[e] || (t[e] = e.slice(8, -1).toLowerCase());
13
13
  })(/* @__PURE__ */ Object.create(null)), tt = (t) => (t = t.toLowerCase(), (n) => Mn(n) === t), An = (t) => (n) => typeof n === t, { isArray: Ft } = Array, Kt = An("undefined");
14
14
  function Ji(t) {
15
- return t !== null && !Kt(t) && t.constructor !== null && !Kt(t.constructor) && Ve(t.constructor.isBuffer) && t.constructor.isBuffer(t);
15
+ return t !== null && !Kt(t) && t.constructor !== null && !Kt(t.constructor) && He(t.constructor.isBuffer) && t.constructor.isBuffer(t);
16
16
  }
17
17
  const Wa = tt("ArrayBuffer");
18
18
  function Xi(t) {
19
19
  let n;
20
20
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? n = ArrayBuffer.isView(t) : n = t && t.buffer && Wa(t.buffer), n;
21
21
  }
22
- const Zi = An("string"), Ve = An("function"), za = An("number"), Pn = (t) => t !== null && typeof t == "object", Qi = (t) => t === !0 || t === !1, bn = (t) => {
22
+ const Zi = An("string"), He = An("function"), za = An("number"), Pn = (t) => t !== null && typeof t == "object", Qi = (t) => t === !0 || t === !1, bn = (t) => {
23
23
  if (Mn(t) !== "object")
24
24
  return !1;
25
25
  const n = kr(t);
26
26
  return (n === null || n === Object.prototype || Object.getPrototypeOf(n) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
27
- }, es = tt("Date"), ts = tt("File"), ns = tt("Blob"), rs = tt("FileList"), as = (t) => Pn(t) && Ve(t.pipe), os = (t) => {
27
+ }, es = tt("Date"), ts = tt("File"), ns = tt("Blob"), rs = tt("FileList"), as = (t) => Pn(t) && He(t.pipe), os = (t) => {
28
28
  let n;
29
- return t && (typeof FormData == "function" && t instanceof FormData || Ve(t.append) && ((n = Mn(t)) === "formdata" || // detect form-data instance
30
- n === "object" && Ve(t.toString) && t.toString() === "[object FormData]"));
29
+ return t && (typeof FormData == "function" && t instanceof FormData || He(t.append) && ((n = Mn(t)) === "formdata" || // detect form-data instance
30
+ n === "object" && He(t.toString) && t.toString() === "[object FormData]"));
31
31
  }, is = tt("URLSearchParams"), ss = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
32
32
  function en(t, n, { allOwnKeys: e = !1 } = {}) {
33
33
  if (t === null || typeof t > "u")
@@ -63,7 +63,7 @@ function fr() {
63
63
  return n;
64
64
  }
65
65
  const ls = (t, n, e, { allOwnKeys: r } = {}) => (en(n, (a, o) => {
66
- e && Ve(a) ? t[o] = Ya(a, e) : t[o] = a;
66
+ e && He(a) ? t[o] = Ya(a, e) : t[o] = a;
67
67
  }, { allOwnKeys: r }), t), us = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), ds = (t, n, e, r) => {
68
68
  t.prototype = Object.create(n.prototype, r), t.prototype.constructor = t, Object.defineProperty(t, "super", {
69
69
  value: n.prototype
@@ -121,10 +121,10 @@ const ls = (t, n, e, { allOwnKeys: r } = {}) => (en(n, (a, o) => {
121
121
  }), Object.defineProperties(t, r);
122
122
  }, ws = (t) => {
123
123
  Xa(t, (n, e) => {
124
- if (Ve(t) && ["arguments", "caller", "callee"].indexOf(e) !== -1)
124
+ if (He(t) && ["arguments", "caller", "callee"].indexOf(e) !== -1)
125
125
  return !1;
126
126
  const r = t[e];
127
- if (Ve(r)) {
127
+ if (He(r)) {
128
128
  if (n.enumerable = !1, "writable" in n) {
129
129
  n.writable = !1;
130
130
  return;
@@ -154,7 +154,7 @@ const ls = (t, n, e, { allOwnKeys: r } = {}) => (en(n, (a, o) => {
154
154
  return e;
155
155
  };
156
156
  function ks(t) {
157
- return !!(t && Ve(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
157
+ return !!(t && He(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
158
158
  }
159
159
  const Ss = (t) => {
160
160
  const n = new Array(10), e = (r, a) => {
@@ -173,7 +173,7 @@ const Ss = (t) => {
173
173
  return r;
174
174
  };
175
175
  return e(t, 0);
176
- }, Es = tt("AsyncFunction"), $s = (t) => t && (Pn(t) || Ve(t)) && Ve(t.then) && Ve(t.catch), k = {
176
+ }, Es = tt("AsyncFunction"), $s = (t) => t && (Pn(t) || He(t)) && He(t.then) && He(t.catch), k = {
177
177
  isArray: Ft,
178
178
  isArrayBuffer: Wa,
179
179
  isBuffer: Ji,
@@ -189,7 +189,7 @@ const Ss = (t) => {
189
189
  isFile: ts,
190
190
  isBlob: ns,
191
191
  isRegExp: ys,
192
- isFunction: Ve,
192
+ isFunction: He,
193
193
  isStream: as,
194
194
  isURLSearchParams: is,
195
195
  isTypedArray: ms,
@@ -483,7 +483,7 @@ function js(t, n) {
483
483
  function Bs(t) {
484
484
  return k.matchAll(/\w+|\[(\w*)]/g, t).map((n) => n[0] === "[]" ? "" : n[1] || n[0]);
485
485
  }
486
- function Hs(t) {
486
+ function Vs(t) {
487
487
  const n = {}, e = Object.keys(t);
488
488
  let r;
489
489
  const a = e.length;
@@ -496,7 +496,7 @@ function oo(t) {
496
496
  function n(e, r, a, o) {
497
497
  let i = e[o++];
498
498
  const s = Number.isFinite(+i), l = o >= e.length;
499
- return i = !i && k.isArray(a) ? a.length : i, l ? (k.hasOwnProp(a, i) ? a[i] = [a[i], r] : a[i] = r, !s) : ((!a[i] || !k.isObject(a[i])) && (a[i] = []), n(e, r, a[i], o) && k.isArray(a[i]) && (a[i] = Hs(a[i])), !s);
499
+ return i = !i && k.isArray(a) ? a.length : i, l ? (k.hasOwnProp(a, i) ? a[i] = [a[i], r] : a[i] = r, !s) : ((!a[i] || !k.isObject(a[i])) && (a[i] = []), n(e, r, a[i], o) && k.isArray(a[i]) && (a[i] = Vs(a[i])), !s);
500
500
  }
501
501
  if (k.isFormData(t) && k.isFunction(t.entries)) {
502
502
  const e = {};
@@ -506,7 +506,7 @@ function oo(t) {
506
506
  }
507
507
  return null;
508
508
  }
509
- function Vs(t, n, e) {
509
+ function Hs(t, n, e) {
510
510
  if (k.isString(t))
511
511
  try {
512
512
  return (n || JSON.parse)(t), k.trim(t);
@@ -542,7 +542,7 @@ const Er = {
542
542
  );
543
543
  }
544
544
  }
545
- return o || a ? (e.setContentType("application/json", !1), Vs(n)) : n;
545
+ return o || a ? (e.setContentType("application/json", !1), Hs(n)) : n;
546
546
  }],
547
547
  transformResponse: [function(n) {
548
548
  const e = this.transitional || Er.transitional, r = e && e.forcedJSONParsing, a = this.responseType === "json";
@@ -1539,7 +1539,7 @@ function Rm(t, n = 500) {
1539
1539
  };
1540
1540
  }
1541
1541
  const hl = (t, n, e) => {
1542
- const r = Hi();
1542
+ const r = Vi();
1543
1543
  if (e && e.local) {
1544
1544
  const a = T(t[n]);
1545
1545
  return Fe(
@@ -1706,7 +1706,7 @@ function pn(t) {
1706
1706
  }).join(`
1707
1707
  `)].join(`
1708
1708
  `));
1709
- return Vi(f, l);
1709
+ return Hi(f, l);
1710
1710
  }
1711
1711
  return Array.isArray(u) && u.length === 1 ? u[0] : u;
1712
1712
  }
@@ -1858,10 +1858,10 @@ var Mr = /* @__PURE__ */ L({
1858
1858
  });
1859
1859
  };
1860
1860
  }
1861
- }), V;
1861
+ }), H;
1862
1862
  (function(t) {
1863
1863
  t.Space = " ", t.Enter = "Enter", t.Escape = "Escape", t.Backspace = "Backspace", t.ArrowLeft = "ArrowLeft", t.ArrowUp = "ArrowUp", t.ArrowRight = "ArrowRight", t.ArrowDown = "ArrowDown", t.Home = "Home", t.End = "End", t.PageUp = "PageUp", t.PageDown = "PageDown", t.Tab = "Tab";
1864
- })(V || (V = {}));
1864
+ })(H || (H = {}));
1865
1865
  var kl = 0;
1866
1866
  function Sl() {
1867
1867
  return ++kl;
@@ -2000,7 +2000,7 @@ function $l(t, n, e) {
2000
2000
  ge(o), Ba(function() {
2001
2001
  n.value ? o() : i();
2002
2002
  }), et(i), Qe("keydown", function(s) {
2003
- if (n.value && s.key === V.Tab && document.activeElement && t.value.size === 1) {
2003
+ if (n.value && s.key === H.Tab && document.activeElement && t.value.size === 1) {
2004
2004
  s.preventDefault();
2005
2005
  for (var l = Ze(t.value), u; !(u = l()).done; ) {
2006
2006
  var d = u.value, f = ze(d, (s.shiftKey ? ne.Previous : ne.Next) | ne.WrapAround);
@@ -2284,7 +2284,7 @@ var mn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Fn = /* @__PURE__ */ L({
2284
2284
  return O == null ? void 0 : O.focus();
2285
2285
  })));
2286
2286
  }), Qe("keydown", function(D) {
2287
- D.key === V.Escape && l.value === ke.Open && (a.value.size > 1 || (D.preventDefault(), D.stopPropagation(), _.close()));
2287
+ D.key === H.Escape && l.value === ke.Open && (a.value.size > 1 || (D.preventDefault(), D.stopPropagation(), _.close()));
2288
2288
  }), ge(function(D) {
2289
2289
  if (l.value === ke.Open) {
2290
2290
  var O = document.documentElement.style.overflow, A = document.documentElement.style.paddingRight, Z = window.innerWidth - document.documentElement.clientWidth;
@@ -2539,22 +2539,22 @@ var Pl = /* @__PURE__ */ L({
2539
2539
  if (!n.disabled)
2540
2540
  if (i)
2541
2541
  switch (u.key) {
2542
- case V.Space:
2543
- case V.Enter:
2542
+ case H.Space:
2543
+ case H.Enter:
2544
2544
  u.preventDefault(), u.stopPropagation(), a.toggleDisclosure(), (d = I(a.button)) == null || d.focus();
2545
2545
  break;
2546
2546
  }
2547
2547
  else
2548
2548
  switch (u.key) {
2549
- case V.Space:
2550
- case V.Enter:
2549
+ case H.Space:
2550
+ case H.Enter:
2551
2551
  u.preventDefault(), u.stopPropagation(), a.toggleDisclosure();
2552
2552
  break;
2553
2553
  }
2554
2554
  },
2555
2555
  handleKeyUp: function(u) {
2556
2556
  switch (u.key) {
2557
- case V.Space:
2557
+ case H.Space:
2558
2558
  u.preventDefault();
2559
2559
  break;
2560
2560
  }
@@ -2812,9 +2812,9 @@ var Pr = /* @__PURE__ */ L({
2812
2812
  var r = e.attrs, a = Rt("MenuButton"), o = "headlessui-menu-button-" + Ce();
2813
2813
  function i(u) {
2814
2814
  switch (u.key) {
2815
- case V.Space:
2816
- case V.Enter:
2817
- case V.ArrowDown:
2815
+ case H.Space:
2816
+ case H.Enter:
2817
+ case H.ArrowDown:
2818
2818
  u.preventDefault(), u.stopPropagation(), a.openMenu(), pt(function() {
2819
2819
  var d;
2820
2820
  (d = I(a.itemsRef)) == null || d.focus({
@@ -2822,7 +2822,7 @@ var Pr = /* @__PURE__ */ L({
2822
2822
  }), a.goToItem(fe.First);
2823
2823
  });
2824
2824
  break;
2825
- case V.ArrowUp:
2825
+ case H.ArrowUp:
2826
2826
  u.preventDefault(), u.stopPropagation(), a.openMenu(), pt(function() {
2827
2827
  var d;
2828
2828
  (d = I(a.itemsRef)) == null || d.focus({
@@ -2834,7 +2834,7 @@ var Pr = /* @__PURE__ */ L({
2834
2834
  }
2835
2835
  function s(u) {
2836
2836
  switch (u.key) {
2837
- case V.Space:
2837
+ case H.Space:
2838
2838
  u.preventDefault();
2839
2839
  break;
2840
2840
  }
@@ -2923,10 +2923,10 @@ var Pr = /* @__PURE__ */ L({
2923
2923
  });
2924
2924
  function a(l) {
2925
2925
  switch (r.value && clearTimeout(r.value), l.key) {
2926
- case V.Space:
2926
+ case H.Space:
2927
2927
  if (n.searchQuery.value !== "")
2928
2928
  return l.preventDefault(), l.stopPropagation(), n.search(l.key);
2929
- case V.Enter:
2929
+ case H.Enter:
2930
2930
  if (l.preventDefault(), l.stopPropagation(), n.activeItemIndex.value !== null) {
2931
2931
  var u, d = n.items.value[n.activeItemIndex.value].id;
2932
2932
  (u = document.getElementById(d)) == null || u.click();
@@ -2938,17 +2938,17 @@ var Pr = /* @__PURE__ */ L({
2938
2938
  });
2939
2939
  });
2940
2940
  break;
2941
- case V.ArrowDown:
2941
+ case H.ArrowDown:
2942
2942
  return l.preventDefault(), l.stopPropagation(), n.goToItem(fe.Next);
2943
- case V.ArrowUp:
2943
+ case H.ArrowUp:
2944
2944
  return l.preventDefault(), l.stopPropagation(), n.goToItem(fe.Previous);
2945
- case V.Home:
2946
- case V.PageUp:
2945
+ case H.Home:
2946
+ case H.PageUp:
2947
2947
  return l.preventDefault(), l.stopPropagation(), n.goToItem(fe.First);
2948
- case V.End:
2949
- case V.PageDown:
2948
+ case H.End:
2949
+ case H.PageDown:
2950
2950
  return l.preventDefault(), l.stopPropagation(), n.goToItem(fe.Last);
2951
- case V.Escape:
2951
+ case H.Escape:
2952
2952
  l.preventDefault(), l.stopPropagation(), n.closeMenu(), pt(function() {
2953
2953
  var f;
2954
2954
  return (f = I(n.buttonRef)) == null ? void 0 : f.focus({
@@ -2956,7 +2956,7 @@ var Pr = /* @__PURE__ */ L({
2956
2956
  });
2957
2957
  });
2958
2958
  break;
2959
- case V.Tab:
2959
+ case H.Tab:
2960
2960
  l.preventDefault(), l.stopPropagation();
2961
2961
  break;
2962
2962
  default:
@@ -2968,7 +2968,7 @@ var Pr = /* @__PURE__ */ L({
2968
2968
  }
2969
2969
  function o(l) {
2970
2970
  switch (l.key) {
2971
- case V.Space:
2971
+ case H.Space:
2972
2972
  l.preventDefault();
2973
2973
  break;
2974
2974
  }
@@ -3154,7 +3154,7 @@ var Po = /* @__PURE__ */ L({
3154
3154
  });
3155
3155
  };
3156
3156
  }
3157
- }), Hl = /* @__PURE__ */ L({
3157
+ }), Vl = /* @__PURE__ */ L({
3158
3158
  name: "PopoverButton",
3159
3159
  props: {
3160
3160
  as: {
@@ -3216,25 +3216,25 @@ var Po = /* @__PURE__ */ L({
3216
3216
  if (a.popoverState.value === te.Closed)
3217
3217
  return;
3218
3218
  switch (g.key) {
3219
- case V.Space:
3220
- case V.Enter:
3219
+ case H.Space:
3220
+ case H.Enter:
3221
3221
  g.preventDefault(), g.stopPropagation(), a.closePopover(), (b = I(a.button)) == null || b.focus();
3222
3222
  break;
3223
3223
  }
3224
3224
  } else
3225
3225
  switch (g.key) {
3226
- case V.Space:
3227
- case V.Enter:
3226
+ case H.Space:
3227
+ case H.Enter:
3228
3228
  g.preventDefault(), g.stopPropagation(), a.popoverState.value === te.Closed && (i == null || i(a.buttonId)), a.togglePopover();
3229
3229
  break;
3230
- case V.Escape:
3230
+ case H.Escape:
3231
3231
  if (a.popoverState.value !== te.Open)
3232
3232
  return i == null ? void 0 : i(a.buttonId);
3233
3233
  if (!I(a.button) || !((y = I(a.button)) != null && y.contains(document.activeElement)))
3234
3234
  return;
3235
3235
  g.preventDefault(), g.stopPropagation(), a.closePopover();
3236
3236
  break;
3237
- case V.Tab:
3237
+ case H.Tab:
3238
3238
  if (a.popoverState.value !== te.Open || !a.panel || !a.button)
3239
3239
  return;
3240
3240
  if (g.shiftKey) {
@@ -3252,9 +3252,9 @@ var Po = /* @__PURE__ */ L({
3252
3252
  },
3253
3253
  handleKeyUp: function(g) {
3254
3254
  var b, y;
3255
- if (!l && (g.key === V.Space && g.preventDefault(), a.popoverState.value === te.Open && a.panel && a.button))
3255
+ if (!l && (g.key === H.Space && g.preventDefault(), a.popoverState.value === te.Open && a.panel && a.button))
3256
3256
  switch (g.key) {
3257
- case V.Tab:
3257
+ case H.Tab:
3258
3258
  if (!d.value || (b = I(a.button)) != null && b.contains(d.value) || (y = I(a.panel)) != null && y.contains(d.value))
3259
3259
  return;
3260
3260
  var _ = Sn(), D = _.indexOf(d.value), O = _.indexOf(I(a.button));
@@ -3276,7 +3276,7 @@ var Po = /* @__PURE__ */ L({
3276
3276
  }
3277
3277
  };
3278
3278
  }
3279
- }), Vl = /* @__PURE__ */ L({
3279
+ }), Hl = /* @__PURE__ */ L({
3280
3280
  name: "PopoverPanel",
3281
3281
  props: {
3282
3282
  as: {
@@ -3327,7 +3327,7 @@ var Po = /* @__PURE__ */ L({
3327
3327
  }
3328
3328
  }), Qe("keydown", function(i) {
3329
3329
  var s;
3330
- if (r.popoverState.value === te.Open && I(r.panel) && i.key === V.Tab && document.activeElement && (s = I(r.panel)) != null && s.contains(document.activeElement)) {
3330
+ if (r.popoverState.value === te.Open && I(r.panel) && i.key === H.Tab && document.activeElement && (s = I(r.panel)) != null && s.contains(document.activeElement)) {
3331
3331
  i.preventDefault();
3332
3332
  var l = ze(I(r.panel), i.shiftKey ? ne.Previous : ne.Next);
3333
3333
  if (l === Le.Underflow) {
@@ -3356,7 +3356,7 @@ var Po = /* @__PURE__ */ L({
3356
3356
  handleKeyDown: function(s) {
3357
3357
  var l, u;
3358
3358
  switch (s.key) {
3359
- case V.Escape:
3359
+ case H.Escape:
3360
3360
  if (r.popoverState.value !== te.Open || !I(r.panel) || !((l = I(r.panel)) != null && l.contains(document.activeElement)))
3361
3361
  return;
3362
3362
  s.preventDefault(), s.stopPropagation(), r.closePopover(), (u = I(r.button)) == null || u.focus();
@@ -3541,8 +3541,8 @@ var Ul = /* @__PURE__ */ L({
3541
3541
  return A.element;
3542
3542
  });
3543
3543
  switch (p.key) {
3544
- case V.ArrowLeft:
3545
- case V.ArrowUp:
3544
+ case H.ArrowLeft:
3545
+ case H.ArrowUp:
3546
3546
  {
3547
3547
  p.preventDefault(), p.stopPropagation();
3548
3548
  var b = ze(g, ne.Previous | ne.WrapAround);
@@ -3554,8 +3554,8 @@ var Ul = /* @__PURE__ */ L({
3554
3554
  }
3555
3555
  }
3556
3556
  break;
3557
- case V.ArrowRight:
3558
- case V.ArrowDown:
3557
+ case H.ArrowRight:
3558
+ case H.ArrowDown:
3559
3559
  {
3560
3560
  p.preventDefault(), p.stopPropagation();
3561
3561
  var _ = ze(g, ne.Next | ne.WrapAround);
@@ -3567,7 +3567,7 @@ var Ul = /* @__PURE__ */ L({
3567
3567
  }
3568
3568
  }
3569
3569
  break;
3570
- case V.Space:
3570
+ case H.Space:
3571
3571
  {
3572
3572
  p.preventDefault(), p.stopPropagation();
3573
3573
  var O = o.value.find(function(A) {
@@ -3781,7 +3781,7 @@ var ql = /* @__PURE__ */ L({
3781
3781
  f.preventDefault(), s();
3782
3782
  },
3783
3783
  handleKeyUp: function(f) {
3784
- f.key !== V.Tab && f.preventDefault(), f.key === V.Space && s();
3784
+ f.key !== H.Tab && f.preventDefault(), f.key === H.Space && s();
3785
3785
  },
3786
3786
  // This is needed so that we can "cancel" the click event when we use the `Enter` key on a button.
3787
3787
  handleKeyPress: function(f) {
@@ -3916,13 +3916,13 @@ function Ql() {
3916
3916
  return t;
3917
3917
  }
3918
3918
  var jr = /* @__PURE__ */ Symbol("NestingContext");
3919
- function Hn(t) {
3920
- return "children" in t ? Hn(t.children) : t.value.filter(function(n) {
3919
+ function Vn(t) {
3920
+ return "children" in t ? Vn(t.children) : t.value.filter(function(n) {
3921
3921
  var e = n.state;
3922
3922
  return e === se.Visible;
3923
3923
  }).length > 0;
3924
3924
  }
3925
- function Ho(t) {
3925
+ function Vo(t) {
3926
3926
  var n = T([]), e = T(!1);
3927
3927
  $e(function() {
3928
3928
  return e.value = !0;
@@ -3940,7 +3940,7 @@ function Ho(t) {
3940
3940
  n.value.splice(l, 1);
3941
3941
  }, s[Re.Hidden] = function() {
3942
3942
  n.value[l].state = se.Hidden;
3943
- }, s)), !Hn(n) && e.value && (t == null || t()));
3943
+ }, s)), !Vn(n) && e.value && (t == null || t()));
3944
3944
  }
3945
3945
  function a(o) {
3946
3946
  var i = n.value.find(function(s) {
@@ -3960,7 +3960,7 @@ function Ho(t) {
3960
3960
  unregister: r
3961
3961
  };
3962
3962
  }
3963
- var Vo = Te.RenderStrategy, at = /* @__PURE__ */ L({
3963
+ var Ho = Te.RenderStrategy, at = /* @__PURE__ */ L({
3964
3964
  props: {
3965
3965
  as: {
3966
3966
  type: [Object, String],
@@ -4046,7 +4046,7 @@ var Vo = Te.RenderStrategy, at = /* @__PURE__ */ L({
4046
4046
  slot: {},
4047
4047
  slots: this.$slots,
4048
4048
  attrs: this.$attrs,
4049
- features: Vo,
4049
+ features: Ho,
4050
4050
  visible: this.state === se.Visible,
4051
4051
  name: "TransitionChild"
4052
4052
  });
@@ -4063,7 +4063,7 @@ var Vo = Te.RenderStrategy, at = /* @__PURE__ */ L({
4063
4063
  value: !0
4064
4064
  }, b = Ce(), y = {
4065
4065
  value: !1
4066
- }, _ = Ho(function() {
4066
+ }, _ = Vo(function() {
4067
4067
  y.value || (o.value = se.Hidden, p(b), r("afterLeave"));
4068
4068
  });
4069
4069
  $e(function() {
@@ -4098,7 +4098,7 @@ var Vo = Te.RenderStrategy, at = /* @__PURE__ */ L({
4098
4098
  !de || !(de instanceof HTMLElement) || X || (y.value = !0, l.value && r("beforeEnter"), l.value || r("beforeLeave"), G(l.value ? ka(de, D, O, A, Z, function(we) {
4099
4099
  y.value = !1, we === ht.Finished && r("afterEnter");
4100
4100
  }) : ka(de, z, K, q, Z, function(we) {
4101
- y.value = !1, we === ht.Finished && (Hn(_) || (o.value = se.Hidden, p(b), r("afterLeave")));
4101
+ y.value = !1, we === ht.Finished && (Vn(_) || (o.value = se.Hidden, p(b), r("afterLeave")));
4102
4102
  })));
4103
4103
  }
4104
4104
  return $e(function() {
@@ -4206,7 +4206,7 @@ var Vo = Te.RenderStrategy, at = /* @__PURE__ */ L({
4206
4206
  }
4207
4207
  }),
4208
4208
  attrs: {},
4209
- features: Vo,
4209
+ features: Ho,
4210
4210
  visible: this.state === se.Visible,
4211
4211
  name: "Transition"
4212
4212
  });
@@ -4223,7 +4223,7 @@ var Vo = Te.RenderStrategy, at = /* @__PURE__ */ L({
4223
4223
  if (![!0, !1].includes(r.value))
4224
4224
  throw new Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.');
4225
4225
  });
4226
- var a = T(r.value ? se.Visible : se.Hidden), o = Ho(function() {
4226
+ var a = T(r.value ? se.Visible : se.Hidden), o = Vo(function() {
4227
4227
  a.value = se.Hidden;
4228
4228
  }), i = {
4229
4229
  value: !0
@@ -4235,7 +4235,7 @@ var Vo = Te.RenderStrategy, at = /* @__PURE__ */ L({
4235
4235
  };
4236
4236
  return $e(function() {
4237
4237
  ge(function() {
4238
- i.value = !1, r.value ? a.value = se.Visible : Hn(o) || (a.value = se.Hidden);
4238
+ i.value = !1, r.value ? a.value = se.Visible : Vn(o) || (a.value = se.Hidden);
4239
4239
  });
4240
4240
  }), ye(jr, o), ye(Fr, s), {
4241
4241
  state: a,
@@ -4357,12 +4357,12 @@ function Yo(t) {
4357
4357
  function Lt(t) {
4358
4358
  return t.split("-")[0];
4359
4359
  }
4360
- function Vn(t) {
4360
+ function Hn(t) {
4361
4361
  return ["top", "bottom"].includes(Lt(t)) ? "x" : "y";
4362
4362
  }
4363
4363
  function Sa(t, n, e) {
4364
4364
  let { reference: r, floating: a } = t;
4365
- const o = r.x + r.width / 2 - a.width / 2, i = r.y + r.height / 2 - a.height / 2, s = Vn(n), l = Yo(s), u = r[l] / 2 - a[l] / 2, d = s === "x";
4365
+ const o = r.x + r.width / 2 - a.width / 2, i = r.y + r.height / 2 - a.height / 2, s = Hn(n), l = Yo(s), u = r[l] / 2 - a[l] / 2, d = s === "x";
4366
4366
  let f;
4367
4367
  switch (Lt(n)) {
4368
4368
  case "top":
@@ -4425,7 +4425,7 @@ function Ta(t) {
4425
4425
  }
4426
4426
  function fu(t, n, e) {
4427
4427
  e === void 0 && (e = !1);
4428
- const r = ct(t), a = Vn(t), o = Yo(a);
4428
+ const r = ct(t), a = Hn(t), o = Yo(a);
4429
4429
  let i = a === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
4430
4430
  return n.reference[o] > n.floating[o] && (i = Ta(i)), { main: i, cross: Ta(i) };
4431
4431
  }
@@ -4456,7 +4456,7 @@ const hu = function(t) {
4456
4456
  }, gu = function(t) {
4457
4457
  return t === void 0 && (t = 0), { name: "offset", options: t, async fn(n) {
4458
4458
  const { x: e, y: r } = n, a = await async function(o, i) {
4459
- const { placement: s, platform: l, elements: u } = o, d = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), f = Lt(s), p = ct(s), g = Vn(s) === "x", b = ["left", "top"].includes(f) ? -1 : 1, y = d && g ? -1 : 1, _ = Un(i, o);
4459
+ const { placement: s, platform: l, elements: u } = o, d = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), f = Lt(s), p = ct(s), g = Hn(s) === "x", b = ["left", "top"].includes(f) ? -1 : 1, y = d && g ? -1 : 1, _ = Un(i, o);
4460
4460
  let { mainAxis: D, crossAxis: O, alignmentAxis: A } = typeof _ == "number" ? { mainAxis: _, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ..._ };
4461
4461
  return p && typeof A == "number" && (O = p === "end" ? -1 * A : A), g ? { x: O * y, y: D * b } : { x: D * b, y: O * y };
4462
4462
  }(n, t);
@@ -4471,7 +4471,7 @@ const bu = function(t) {
4471
4471
  const { x: e, y: r, placement: a } = n, { mainAxis: o = !0, crossAxis: i = !1, limiter: s = { fn: (_) => {
4472
4472
  let { x: D, y: O } = _;
4473
4473
  return { x: D, y: O };
4474
- } }, ...l } = Un(t, n), u = { x: e, y: r }, d = await Wo(n, l), f = Vn(Lt(a)), p = vu(f);
4474
+ } }, ...l } = Un(t, n), u = { x: e, y: r }, d = await Wo(n, l), f = Hn(Lt(a)), p = vu(f);
4475
4475
  let g = u[f], b = u[p];
4476
4476
  if (o) {
4477
4477
  const _ = f === "y" ? "bottom" : "right";
@@ -4749,7 +4749,7 @@ function ri(t, n, e) {
4749
4749
  }), l = P(() => {
4750
4750
  var q;
4751
4751
  return (q = m(e.transform)) != null ? q : !0;
4752
- }), u = P(() => La(t.value)), d = P(() => La(n.value)), f = T(0), p = T(0), g = T(s.value), b = T(i.value), y = Ha({}), _ = T(!1), D = P(() => {
4752
+ }), u = P(() => La(t.value)), d = P(() => La(n.value)), f = T(0), p = T(0), g = T(s.value), b = T(i.value), y = Va({}), _ = T(!1), D = P(() => {
4753
4753
  const q = {
4754
4754
  position: g.value,
4755
4755
  left: "0",
@@ -4813,7 +4813,7 @@ function ri(t, n, e) {
4813
4813
  update: A
4814
4814
  };
4815
4815
  }
4816
- const Cu = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open options", -1), Du = { class: "py-1" }, ku = ["disabled", "onClick"], Su = { class: "relative inline-flex items-center gap-x-1.5" }, Hr = /* @__PURE__ */ L({
4816
+ const Cu = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open options", -1), Du = { class: "py-1" }, ku = ["disabled", "onClick"], Su = { class: "relative inline-flex items-center gap-x-1.5" }, Vr = /* @__PURE__ */ L({
4817
4817
  __name: "ActionsDropdown",
4818
4818
  props: {
4819
4819
  actions: { default: () => [] }
@@ -4857,7 +4857,7 @@ const Cu = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open options", -1),
4857
4857
  ref_key: "wrapper",
4858
4858
  ref: o,
4859
4859
  class: "z-[5]",
4860
- style: Va(m(i))
4860
+ style: Ha(m(i))
4861
4861
  }, [
4862
4862
  E(m(Rr), { class: "w-48 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 divide-y divide-gray-200 focus:outline-none" }, {
4863
4863
  default: R(() => [
@@ -4881,7 +4881,7 @@ const Cu = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open options", -1),
4881
4881
  key: 0,
4882
4882
  class: "-ml-0.5 h-4 w-4 text-gray-400",
4883
4883
  "aria-hidden": "true"
4884
- })) : H("", !0),
4884
+ })) : V("", !0),
4885
4885
  Oe(" " + U(u.label), 1)
4886
4886
  ])
4887
4887
  ], 10, ku)
@@ -5034,10 +5034,10 @@ const Cu = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open options", -1),
5034
5034
  }, r.$attrs), {
5035
5035
  default: R(() => [
5036
5036
  Oe(U(e.value) + " ", 1),
5037
- n.required ? (x(), S("span", Fu, "*")) : H("", !0)
5037
+ n.required ? (x(), S("span", Fu, "*")) : V("", !0)
5038
5038
  ]),
5039
5039
  _: 1
5040
- }, 16)) : H("", !0);
5040
+ }, 16)) : V("", !0);
5041
5041
  }
5042
5042
  }), Ae = /* @__PURE__ */ L({
5043
5043
  __name: "InputHelp",
@@ -5054,7 +5054,7 @@ const Cu = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open options", -1),
5054
5054
  Oe(U(n.text), 1)
5055
5055
  ]),
5056
5056
  _: 1
5057
- }, 16)) : H("", !0);
5057
+ }, 16)) : V("", !0);
5058
5058
  }
5059
5059
  }), ju = {
5060
5060
  key: 0,
@@ -5065,7 +5065,7 @@ const Cu = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open options", -1),
5065
5065
  text: { default: "" }
5066
5066
  },
5067
5067
  setup(t) {
5068
- return (n, e) => n.text ? (x(), S("p", ju, U(n.text), 1)) : H("", !0);
5068
+ return (n, e) => n.text ? (x(), S("p", ju, U(n.text), 1)) : V("", !0);
5069
5069
  }
5070
5070
  }), sr = [
5071
5071
  "onChange",
@@ -5210,7 +5210,7 @@ const Cu = /* @__PURE__ */ v("span", { class: "sr-only" }, "Open options", -1),
5210
5210
  hourAriaLabel: "Hour",
5211
5211
  minuteAriaLabel: "Minute",
5212
5212
  time_24hr: !1
5213
- }, Ee = (t, n = 2) => `000${t}`.slice(n * -1), He = (t) => t === !0 ? 1 : 0;
5213
+ }, Ee = (t, n = 2) => `000${t}`.slice(n * -1), Ve = (t) => t === !0 ? 1 : 0;
5214
5214
  function Fa(t, n) {
5215
5215
  let e;
5216
5216
  return function() {
@@ -5267,7 +5267,7 @@ const ur = () => {
5267
5267
  t.setDate(parseFloat(n));
5268
5268
  },
5269
5269
  K: (t, n, e) => {
5270
- t.setHours(t.getHours() % 12 + 12 * He(new RegExp(e.amPM[1], "i").test(n)));
5270
+ t.setHours(t.getHours() % 12 + 12 * Ve(new RegExp(e.amPM[1], "i").test(n)));
5271
5271
  },
5272
5272
  M: function(t, n, e) {
5273
5273
  t.setMonth(e.months.shorthand.indexOf(n));
@@ -5350,7 +5350,7 @@ const ur = () => {
5350
5350
  J: function(t, n) {
5351
5351
  return n.ordinal !== void 0 ? t.getDate() + n.ordinal(t.getDate()) : t.getDate();
5352
5352
  },
5353
- K: (t, n) => n.amPM[He(t.getHours() > 11)],
5353
+ K: (t, n) => n.amPM[Ve(t.getHours() > 11)],
5354
5354
  M: function(t, n) {
5355
5355
  return Tn(t.getMonth(), !0, n);
5356
5356
  },
@@ -5422,7 +5422,7 @@ const ur = () => {
5422
5422
  function Ie(t, n, e = !0) {
5423
5423
  return e !== !1 ? new Date(t.getTime()).setHours(0, 0, 0, 0) - new Date(n.getTime()).setHours(0, 0, 0, 0) : t.getTime() - n.getTime();
5424
5424
  }
5425
- const Hu = (t, n, e) => t > Math.min(n, e) && t < Math.max(n, e), Vu = {
5425
+ const Vu = (t, n, e) => t > Math.min(n, e) && t < Math.max(n, e), Hu = {
5426
5426
  DAY: 864e5
5427
5427
  };
5428
5428
  function dr(t) {
@@ -5485,7 +5485,7 @@ function qu(t, n) {
5485
5485
  d(), lt(), e._input.value !== h && e._debouncedChange();
5486
5486
  }
5487
5487
  function l(c, h) {
5488
- return c % 12 + 12 * He(h === e.l10n.amPM[1]);
5488
+ return c % 12 + 12 * Ve(h === e.l10n.amPM[1]);
5489
5489
  }
5490
5490
  function u(c) {
5491
5491
  switch (c % 24) {
@@ -5517,7 +5517,7 @@ function qu(t, n) {
5517
5517
  h && p(h.getHours(), h.getMinutes(), h.getSeconds());
5518
5518
  }
5519
5519
  function p(c, h, w) {
5520
- e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(c % 24, h, w || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = Ee(e.config.time_24hr ? c : (12 + c) % 12 + 12 * He(c % 12 === 0)), e.minuteElement.value = Ee(h), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[He(c >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = Ee(w)));
5520
+ e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(c % 24, h, w || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = Ee(e.config.time_24hr ? c : (12 + c) % 12 + 12 * Ve(c % 12 === 0)), e.minuteElement.value = Ee(h), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[Ve(c >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = Ee(w)));
5521
5521
  }
5522
5522
  function g(c) {
5523
5523
  const h = Pe(c), w = parseInt(h.value) + (c.delta || 0);
@@ -5711,7 +5711,7 @@ function qu(t, n) {
5711
5711
  const M = vn("flatpickr-second");
5712
5712
  e.secondElement = M.getElementsByTagName("input")[0], e.secondElement.value = Ee(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : c.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(Q("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(M);
5713
5713
  }
5714
- return e.config.time_24hr || (e.amPM = Q("span", "flatpickr-am-pm", e.l10n.amPM[He((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
5714
+ return e.config.time_24hr || (e.amPM = Q("span", "flatpickr-am-pm", e.l10n.amPM[Ve((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
5715
5715
  }
5716
5716
  function zr() {
5717
5717
  e.weekdayContainer ? gn(e.weekdayContainer) : e.weekdayContainer = Q("div", "flatpickr-weekdays");
@@ -5928,22 +5928,22 @@ function qu(t, n) {
5928
5928
  return;
5929
5929
  const h = c ? c.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), w = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), C = Math.min(h, e.selectedDates[0].getTime()), M = Math.max(h, e.selectedDates[0].getTime());
5930
5930
  let $ = !1, F = 0, N = 0;
5931
- for (let Y = C; Y < M; Y += Vu.DAY)
5931
+ for (let Y = C; Y < M; Y += Hu.DAY)
5932
5932
  bt(new Date(Y), !0) || ($ = $ || Y > C && Y < M, Y < w && (!F || Y > F) ? F = Y : Y > w && (!N || Y < N) && (N = Y));
5933
5933
  for (let Y = 0; Y < e.config.showMonths; Y++) {
5934
5934
  const W = e.daysContainer.children[Y];
5935
5935
  for (let ie = 0, Be = W.children.length; ie < Be; ie++) {
5936
5936
  const xe = W.children[ie], Xe = xe.dateObj.getTime(), Bt = F > 0 && Xe < F || N > 0 && Xe > N;
5937
5937
  if (Bt) {
5938
- xe.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach((Ht) => {
5939
- xe.classList.remove(Ht);
5938
+ xe.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach((Vt) => {
5939
+ xe.classList.remove(Vt);
5940
5940
  });
5941
5941
  continue;
5942
5942
  } else if ($ && !Bt)
5943
5943
  continue;
5944
- ["startRange", "inRange", "endRange", "notAllowed"].forEach((Ht) => {
5945
- xe.classList.remove(Ht);
5946
- }), c !== void 0 && (c.classList.add(h <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), w < h && Xe === w ? xe.classList.add("startRange") : w > h && Xe === w && xe.classList.add("endRange"), Xe >= F && (N === 0 || Xe <= N) && Hu(Xe, w, h) && xe.classList.add("inRange"));
5944
+ ["startRange", "inRange", "endRange", "notAllowed"].forEach((Vt) => {
5945
+ xe.classList.remove(Vt);
5946
+ }), c !== void 0 && (c.classList.add(h <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), w < h && Xe === w ? xe.classList.add("startRange") : w > h && Xe === w && xe.classList.add("endRange"), Xe >= F && (N === 0 || Xe <= N) && Vu(Xe, w, h) && xe.classList.add("inRange"));
5947
5947
  }
5948
5948
  }
5949
5949
  }
@@ -6048,23 +6048,23 @@ function qu(t, n) {
6048
6048
  if (e.calendarContainer === void 0)
6049
6049
  return;
6050
6050
  ue("onPreCalendarPosition");
6051
- const h = c || e._positionElement, w = Array.prototype.reduce.call(e.calendarContainer.children, (Vt, Zn) => Vt + Zn.offsetHeight, 0), C = e.calendarContainer.offsetWidth, M = e.config.position.split(" "), $ = M[0], F = M.length > 1 ? M[1] : null, N = h.getBoundingClientRect(), Y = window.innerHeight - N.bottom, W = $ === "above" || $ !== "below" && Y < w && N.top > w, ie = window.pageYOffset + N.top + (W ? -w - 2 : h.offsetHeight + 2);
6051
+ const h = c || e._positionElement, w = Array.prototype.reduce.call(e.calendarContainer.children, (Ht, Zn) => Ht + Zn.offsetHeight, 0), C = e.calendarContainer.offsetWidth, M = e.config.position.split(" "), $ = M[0], F = M.length > 1 ? M[1] : null, N = h.getBoundingClientRect(), Y = window.innerHeight - N.bottom, W = $ === "above" || $ !== "below" && Y < w && N.top > w, ie = window.pageYOffset + N.top + (W ? -w - 2 : h.offsetHeight + 2);
6052
6052
  if (De(e.calendarContainer, "arrowTop", !W), De(e.calendarContainer, "arrowBottom", W), e.config.inline)
6053
6053
  return;
6054
6054
  let Be = window.pageXOffset + N.left, xe = !1, fn = !1;
6055
6055
  F === "center" ? (Be -= (C - N.width) / 2, xe = !0) : F === "right" && (Be -= C - N.width, fn = !0), De(e.calendarContainer, "arrowLeft", !xe && !fn), De(e.calendarContainer, "arrowCenter", xe), De(e.calendarContainer, "arrowRight", fn);
6056
- const Xe = window.document.body.offsetWidth - (window.pageXOffset + N.right), Bt = Be + C > window.document.body.offsetWidth, Ht = Xe + C > window.document.body.offsetWidth;
6056
+ const Xe = window.document.body.offsetWidth - (window.pageXOffset + N.right), Bt = Be + C > window.document.body.offsetWidth, Vt = Xe + C > window.document.body.offsetWidth;
6057
6057
  if (De(e.calendarContainer, "rightMost", Bt), !e.config.static)
6058
6058
  if (e.calendarContainer.style.top = `${ie}px`, !Bt)
6059
6059
  e.calendarContainer.style.left = `${Be}px`, e.calendarContainer.style.right = "auto";
6060
- else if (!Ht)
6060
+ else if (!Vt)
6061
6061
  e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = `${Xe}px`;
6062
6062
  else {
6063
- const Vt = Ci();
6064
- if (Vt === void 0)
6063
+ const Ht = Ci();
6064
+ if (Ht === void 0)
6065
6065
  return;
6066
- const Zn = window.document.body.offsetWidth, Ii = Math.max(0, Zn / 2 - C / 2), Ri = ".flatpickr-calendar.centerMost:before", Li = ".flatpickr-calendar.centerMost:after", Ni = Vt.cssRules.length, Fi = `{left:${N.left}px;right:auto;}`;
6067
- De(e.calendarContainer, "rightMost", !1), De(e.calendarContainer, "centerMost", !0), Vt.insertRule(`${Ri},${Li}${Fi}`, Ni), e.calendarContainer.style.left = `${Ii}px`, e.calendarContainer.style.right = "auto";
6066
+ const Zn = window.document.body.offsetWidth, Ii = Math.max(0, Zn / 2 - C / 2), Ri = ".flatpickr-calendar.centerMost:before", Li = ".flatpickr-calendar.centerMost:after", Ni = Ht.cssRules.length, Fi = `{left:${N.left}px;right:auto;}`;
6067
+ De(e.calendarContainer, "rightMost", !1), De(e.calendarContainer, "centerMost", !0), Ht.insertRule(`${Ri},${Li}${Fi}`, Ni), e.calendarContainer.style.left = `${Ii}px`, e.calendarContainer.style.right = "auto";
6068
6068
  }
6069
6069
  }
6070
6070
  function Ci() {
@@ -6237,12 +6237,12 @@ function qu(t, n) {
6237
6237
  function Pi(c) {
6238
6238
  c.preventDefault();
6239
6239
  const h = c.type === "keydown", w = Pe(c), C = w;
6240
- e.amPM !== void 0 && w === e.amPM && (e.amPM.textContent = e.l10n.amPM[He(e.amPM.textContent === e.l10n.amPM[0])]);
6240
+ e.amPM !== void 0 && w === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ve(e.amPM.textContent === e.l10n.amPM[0])]);
6241
6241
  const M = parseFloat(C.getAttribute("min")), $ = parseFloat(C.getAttribute("max")), F = parseFloat(C.getAttribute("step")), N = parseInt(C.value, 10), Y = c.delta || (h ? c.which === 38 ? 1 : -1 : 0);
6242
6242
  let W = N + F * Y;
6243
6243
  if (typeof C.value < "u" && C.value.length === 2) {
6244
6244
  const ie = C === e.hourElement, Be = C === e.minuteElement;
6245
- W < M ? (W = $ + W + He(!ie) + (He(ie) && He(!e.amPM)), Be && A(void 0, -1, e.hourElement)) : W > $ && (W = C === e.hourElement ? W - $ - He(!e.amPM) : M, Be && A(void 0, 1, e.hourElement)), e.amPM && ie && (F === 1 ? W + N === 23 : Math.abs(W - N) > F) && (e.amPM.textContent = e.l10n.amPM[He(e.amPM.textContent === e.l10n.amPM[0])]), C.value = Ee(W);
6245
+ W < M ? (W = $ + W + Ve(!ie) + (Ve(ie) && Ve(!e.amPM)), Be && A(void 0, -1, e.hourElement)) : W > $ && (W = C === e.hourElement ? W - $ - Ve(!e.amPM) : M, Be && A(void 0, 1, e.hourElement)), e.amPM && ie && (F === 1 ? W + N === 23 : Math.abs(W - N) > F) && (e.amPM.textContent = e.l10n.amPM[Ve(e.amPM.textContent === e.l10n.amPM[0])]), C.value = Ee(W);
6246
6246
  }
6247
6247
  }
6248
6248
  return a(), e;
@@ -6290,7 +6290,7 @@ Date.prototype.fp_incr = function(t) {
6290
6290
  return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof t == "string" ? parseInt(t, 10) : t));
6291
6291
  };
6292
6292
  typeof window < "u" && (window.flatpickr = ce);
6293
- const Yu = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder"], Vr = /* @__PURE__ */ L({
6293
+ const Yu = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder"], Hr = /* @__PURE__ */ L({
6294
6294
  inheritAttrs: !1,
6295
6295
  __name: "DateRangePicker",
6296
6296
  props: ot({
@@ -6496,7 +6496,7 @@ const Yu = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
6496
6496
  ],
6497
6497
  options: o
6498
6498
  }, null, 8, ["modelValue"]),
6499
- E(Vr, {
6499
+ E(Hr, {
6500
6500
  modelValue: r.value,
6501
6501
  "onUpdate:modelValue": [
6502
6502
  u[1] || (u[1] = (d) => r.value = d),
@@ -6509,7 +6509,7 @@ const Yu = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
6509
6509
  }
6510
6510
  });
6511
6511
  function rn(t, n = "GET", e = {}) {
6512
- const r = T(), a = Ha(), o = T(!1), i = T(!1), s = T(!1), l = T(!1);
6512
+ const r = T(), a = Va(), o = T(!1), i = T(!1), s = T(!1), l = T(!1);
6513
6513
  let u = 0, d;
6514
6514
  const f = () => {
6515
6515
  d !== void 0 && d.abort();
@@ -6556,7 +6556,7 @@ function jm(t, n = {}) {
6556
6556
  function Bm(t, n = {}) {
6557
6557
  return rn(t, "POST", n);
6558
6558
  }
6559
- function Hm(t, n = {}) {
6559
+ function Vm(t, n = {}) {
6560
6560
  return rn(t, "PUT", n);
6561
6561
  }
6562
6562
  function Qu(t = {}) {
@@ -6643,24 +6643,24 @@ const li = {
6643
6643
  genericError(t, n) {
6644
6644
  $t().flasher.genericError(t, n);
6645
6645
  }
6646
- }, Vm = (t, n) => {
6647
- var l;
6646
+ }, Hm = (t, n) => {
6647
+ var u;
6648
6648
  const e = T(t), r = {
6649
- initial: ((l = e == null ? void 0 : e.value[0]) == null ? void 0 : l.value) || "",
6650
- paramName: "tab",
6651
- ...n
6652
- }, a = T(r.initial), o = (u) => !!e.value.find((d) => d.value === u), s = new URLSearchParams(window.location.search).get(r.paramName);
6653
- return s && o(s) && (a.value = s), Fe(a, (u) => {
6654
- const d = new URLSearchParams(window.location.search);
6655
- d.set(r.paramName, u.toString());
6656
- const f = d.toString() !== "" ? `?${d.toString()}` : "";
6649
+ initial: ((u = e == null ? void 0 : e.value[0]) == null ? void 0 : u.value) || "",
6650
+ paramName: (n == null ? void 0 : n.paramName) || "tab"
6651
+ }, a = T(r.initial), o = (d) => !!e.value.find((f) => f.value === d), i = (d) => a.value === d, l = new URLSearchParams(window.location.search).get(r.paramName);
6652
+ return l && o(l) && (a.value = l), Fe(a, (d) => {
6653
+ const f = new URLSearchParams(window.location.search);
6654
+ f.set(r.paramName, d.toString());
6655
+ const p = f.toString() !== "" ? `?${f.toString()}` : "";
6657
6656
  window.history.replaceState(
6658
- { tab: u },
6657
+ { tab: d },
6659
6658
  document.title,
6660
- `${window.location.pathname}${f}`
6659
+ `${window.location.pathname}${p}`
6661
6660
  );
6662
6661
  }), {
6663
6662
  activeTab: a,
6663
+ isActiveTab: i,
6664
6664
  tabs: e
6665
6665
  };
6666
6666
  }, Um = (t) => {
@@ -6671,7 +6671,15 @@ const li = {
6671
6671
  const r = new URLSearchParams(window.location.search);
6672
6672
  for (const o in e) {
6673
6673
  const i = e[o];
6674
- r.delete(o), !(i == "" || i == !1 || i == null || i == null) && (Array.isArray(i) ? i.forEach((s) => r.append(o, s.toString())) : r.set(o, i.toString()));
6674
+ if (r.delete(o), !(i == null || i == null)) {
6675
+ if (Array.isArray(i)) {
6676
+ i.forEach((s) => {
6677
+ r.append(o, s.toString());
6678
+ });
6679
+ continue;
6680
+ }
6681
+ r.set(o, i.toString());
6682
+ }
6675
6683
  }
6676
6684
  const a = r.toString() !== "" ? `?${r.toString()}` : "";
6677
6685
  window.history.replaceState(
@@ -6848,7 +6856,7 @@ const li = {
6848
6856
  u[2] || (u[2] = (d) => o.value = d),
6849
6857
  u[3] || (u[3] = (d) => s(!1))
6850
6858
  ]
6851
- }, null, 8, ["modelValue"])) : H("", !0)
6859
+ }, null, 8, ["modelValue"])) : V("", !0)
6852
6860
  ]));
6853
6861
  }
6854
6862
  }), dd = ["href"], cd = /* @__PURE__ */ L({
@@ -7101,7 +7109,7 @@ const kd = { class: "flex" }, Sd = { class: "flex-shrink-0" }, Ed = { class: "ml
7101
7109
  s.title ? (x(), S("h3", {
7102
7110
  key: 0,
7103
7111
  class: B(["text-sm leading-snug font-semibold mb-1.5", o.value.contentColor])
7104
- }, U(s.title), 3)) : H("", !0),
7112
+ }, U(s.title), 3)) : V("", !0),
7105
7113
  v("div", {
7106
7114
  class: B(["text-sm", o.value.contentColor])
7107
7115
  }, [
@@ -7118,7 +7126,7 @@ const kd = { class: "flex" }, Sd = { class: "flex-shrink-0" }, Ed = { class: "ml
7118
7126
  role: s.btnLink ? "link" : "button",
7119
7127
  onClick: l[0] || (l[0] = (u) => s.$emit("click", u))
7120
7128
  }, U(s.btnText), 11, Pd)
7121
- ])) : H("", !0),
7129
+ ])) : V("", !0),
7122
7130
  s.secondaryBtnText ? (x(), S("div", Id, [
7123
7131
  v("a", {
7124
7132
  class: B(["inline-flex rounded-md px-2 py-1.5 text-sm font-medium focus:outline-none focus:ring-2 focus:ring-offset-2", o.value.btnAction]),
@@ -7126,9 +7134,9 @@ const kd = { class: "flex" }, Sd = { class: "flex-shrink-0" }, Ed = { class: "ml
7126
7134
  role: s.secondaryBtnLink ? "link" : "button",
7127
7135
  onClick: l[1] || (l[1] = (u) => s.$emit("click:secondary", u))
7128
7136
  }, U(s.secondaryBtnText), 11, Rd)
7129
- ])) : H("", !0)
7137
+ ])) : V("", !0)
7130
7138
  ])
7131
- ])) : H("", !0)
7139
+ ])) : V("", !0)
7132
7140
  ]),
7133
7141
  s.dismissable ? (x(), S("div", Ld, [
7134
7142
  v("div", Nd, [
@@ -7141,14 +7149,14 @@ const kd = { class: "flex" }, Sd = { class: "flex-shrink-0" }, Ed = { class: "ml
7141
7149
  E(m(an), { class: "h-4 w-4" })
7142
7150
  ], 2)
7143
7151
  ])
7144
- ])) : H("", !0)
7152
+ ])) : V("", !0)
7145
7153
  ])
7146
- ], 2)) : H("", !0);
7154
+ ], 2)) : V("", !0);
7147
7155
  }
7148
- }), Bd = { class: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0" }, Hd = /* @__PURE__ */ v("span", {
7156
+ }), Bd = { class: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0" }, Vd = /* @__PURE__ */ v("span", {
7149
7157
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
7150
7158
  "aria-hidden": "true"
7151
- }, "​", -1), Vd = { class: "inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-2xl w-full" }, Ud = { class: "block absolute top-0 right-0 pt-4 pr-4" }, qd = /* @__PURE__ */ v("span", { class: "sr-only" }, "Close", -1), Yd = { class: "bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, Wd = { class: "mt-3 sm:mt-0 sm:text-left" }, zd = { class: "mt-2" }, Kd = {
7159
+ }, "​", -1), Hd = { class: "inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-2xl w-full" }, Ud = { class: "block absolute top-0 right-0 pt-4 pr-4" }, qd = /* @__PURE__ */ v("span", { class: "sr-only" }, "Close", -1), Yd = { class: "bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, Wd = { class: "mt-3 sm:mt-0 sm:text-left" }, zd = { class: "mt-2" }, Kd = {
7152
7160
  key: 0,
7153
7161
  class: "bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse"
7154
7162
  }, Gd = ["disabled", "textContent"], Jd = /* @__PURE__ */ L({
@@ -7195,7 +7203,7 @@ const kd = { class: "flex" }, Sd = { class: "flex-shrink-0" }, Ed = { class: "ml
7195
7203
  ]),
7196
7204
  _: 1
7197
7205
  }),
7198
- Hd,
7206
+ Vd,
7199
7207
  E(m(at), {
7200
7208
  as: "template",
7201
7209
  enter: "ease-out duration-300",
@@ -7206,7 +7214,7 @@ const kd = { class: "flex" }, Sd = { class: "flex-shrink-0" }, Ed = { class: "ml
7206
7214
  "leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
7207
7215
  }, {
7208
7216
  default: R(() => [
7209
- v("div", Vd, [
7217
+ v("div", Hd, [
7210
7218
  v("div", Ud, [
7211
7219
  v("button", {
7212
7220
  type: "button",
@@ -7250,7 +7258,7 @@ const kd = { class: "flex" }, Sd = { class: "flex-shrink-0" }, Ed = { class: "ml
7250
7258
  class: "xy-btn-white mt-3 w-full sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",
7251
7259
  onClick: o[2] || (o[2] = (i) => r(!1))
7252
7260
  }, " Cancel ", 512)
7253
- ])) : H("", !0),
7261
+ ])) : V("", !0),
7254
7262
  pe(a.$slots, "buttons")
7255
7263
  ])
7256
7264
  ]),
@@ -7382,7 +7390,7 @@ const kd = { class: "flex" }, Sd = { class: "flex-shrink-0" }, Ed = { class: "ml
7382
7390
  ], 512), [
7383
7391
  [aa, m(a)]
7384
7392
  ])
7385
- ])) : H("", !0)
7393
+ ])) : V("", !0)
7386
7394
  ]),
7387
7395
  _: 1
7388
7396
  }));
@@ -7503,7 +7511,7 @@ const kd = { class: "flex" }, Sd = { class: "flex-shrink-0" }, Ed = { class: "ml
7503
7511
  v("div", mc, [
7504
7512
  pe(a.$slots, "sidebar-bottom")
7505
7513
  ])
7506
- ])) : H("", !0)
7514
+ ])) : V("", !0)
7507
7515
  ])
7508
7516
  ])
7509
7517
  ]),
@@ -7551,7 +7559,7 @@ const kd = { class: "flex" }, Sd = { class: "flex-shrink-0" }, Ed = { class: "ml
7551
7559
  v("div", kc, [
7552
7560
  pe(a.$slots, "sidebar-bottom")
7553
7561
  ])
7554
- ])) : H("", !0)
7562
+ ])) : V("", !0)
7555
7563
  ])
7556
7564
  ])
7557
7565
  ])
@@ -7664,7 +7672,7 @@ const kd = { class: "flex" }, Sd = { class: "flex-shrink-0" }, Ed = { class: "ml
7664
7672
  class: "relative"
7665
7673
  }, {
7666
7674
  default: R(({ open: u, close: d }) => [
7667
- E(m(Hl), {
7675
+ E(m(Vl), {
7668
7676
  ref_key: "trigger",
7669
7677
  ref: e
7670
7678
  }, {
@@ -7680,9 +7688,9 @@ const kd = { class: "flex" }, Sd = { class: "flex-shrink-0" }, Ed = { class: "ml
7680
7688
  ref_key: "wrapper",
7681
7689
  ref: r,
7682
7690
  class: "z-[5]",
7683
- style: Va(m(i))
7691
+ style: Ha(m(i))
7684
7692
  }, [
7685
- E(m(Vl), null, {
7693
+ E(m(Hl), null, {
7686
7694
  default: R(() => [
7687
7695
  pe(s.$slots, "default", {
7688
7696
  open: u,
@@ -7702,12 +7710,12 @@ const kd = { class: "flex" }, Sd = { class: "flex-shrink-0" }, Ed = { class: "ml
7702
7710
  e[r] = a;
7703
7711
  return e;
7704
7712
  }, jc = {}, Bc = { class: "w-full max-w-xs bg-white rounded-md p-2 border border-gray-100 shadow-md" };
7705
- function Hc(t, n) {
7713
+ function Vc(t, n) {
7706
7714
  return x(), S("div", Bc, [
7707
7715
  pe(t.$slots, "default")
7708
7716
  ]);
7709
7717
  }
7710
- const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute inset-0 overflow-hidden" }, qc = { class: "fixed inset-y-0 right-0 pl-10 max-w-full flex" }, Yc = { class: "w-screen max-w-md" }, Wc = { class: "h-full flex flex-col bg-white shadow-xl overflow-y-scroll" }, zc = { class: "py-6 px-4 bg-xy-blue-700 sm:px-6" }, Kc = { class: "flex items-center justify-between" }, Gc = { class: "ml-3 h-7 flex items-center" }, Jc = /* @__PURE__ */ v("span", { class: "sr-only" }, "Close panel", -1), Xc = { class: "mt-1" }, Zc = ["textContent"], Qc = { class: "relative flex-1 py-6 px-4 sm:px-6" }, ef = /* @__PURE__ */ L({
7718
+ const Hc = /* @__PURE__ */ Fc(jc, [["render", Vc]]), Uc = { class: "absolute inset-0 overflow-hidden" }, qc = { class: "fixed inset-y-0 right-0 pl-10 max-w-full flex" }, Yc = { class: "w-screen max-w-md" }, Wc = { class: "h-full flex flex-col bg-white shadow-xl overflow-y-scroll" }, zc = { class: "py-6 px-4 bg-xy-blue-700 sm:px-6" }, Kc = { class: "flex items-center justify-between" }, Gc = { class: "ml-3 h-7 flex items-center" }, Jc = /* @__PURE__ */ v("span", { class: "sr-only" }, "Close panel", -1), Xc = { class: "mt-1" }, Zc = ["textContent"], Qc = { class: "relative flex-1 py-6 px-4 sm:px-6" }, ef = /* @__PURE__ */ L({
7711
7719
  __name: "Slideover",
7712
7720
  props: {
7713
7721
  header: {},
@@ -7971,7 +7979,7 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
7971
7979
  key: 0,
7972
7980
  class: "text-base font-medium text-gray-800",
7973
7981
  textContent: U(r.currentUser.name)
7974
- }, null, 8, Sf)) : H("", !0),
7982
+ }, null, 8, Sf)) : V("", !0),
7975
7983
  v("div", {
7976
7984
  class: "text-sm font-medium text-gray-500",
7977
7985
  textContent: U(r.currentUser.email)
@@ -8086,14 +8094,14 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8086
8094
  key: 0,
8087
8095
  class: B(["-ml-0.5 h-4 w-4 group-disabled:text-gray-300", i.label ? "text-gray-400" : "text-gray-600"]),
8088
8096
  "aria-hidden": "true"
8089
- }, null, 8, ["class"])) : H("", !0),
8097
+ }, null, 8, ["class"])) : V("", !0),
8090
8098
  Oe(" " + U(i.label), 1)
8091
8099
  ])
8092
8100
  ], 10, Nf))), 128))
8093
8101
  ])
8094
- ])) : H("", !0);
8102
+ ])) : V("", !0);
8095
8103
  }
8096
- }), jf = { class: "flex flex-col" }, Bf = { class: "-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Hf = { class: "inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8" }, Vf = { class: "overflow-hidden border-b border-gray-200 shadow sm:rounded-lg" }, Uf = { class: "min-w-full divide-y divide-gray-200" }, qf = {
8104
+ }), jf = { class: "flex flex-col" }, Bf = { class: "-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Vf = { class: "inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8" }, Hf = { class: "overflow-hidden border-b border-gray-200 shadow sm:rounded-lg" }, Uf = { class: "min-w-full divide-y divide-gray-200" }, qf = {
8097
8105
  key: 0,
8098
8106
  class: "px-6 py-3 text-xs font-medium tracking-wider text-gray-900 uppercase bg-gray-50 leading-4"
8099
8107
  }, Yf = { class: "bg-white divide-y divide-gray-200" }, Wf = {
@@ -8114,8 +8122,8 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8114
8122
  );
8115
8123
  return (i, s) => (x(), S("div", jf, [
8116
8124
  v("div", Bf, [
8117
- v("div", Hf, [
8118
- v("div", Vf, [
8125
+ v("div", Vf, [
8126
+ v("div", Hf, [
8119
8127
  v("table", Uf, [
8120
8128
  v("thead", null, [
8121
8129
  v("tr", null, [
@@ -8123,7 +8131,7 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8123
8131
  key: u,
8124
8132
  class: B(["px-6 py-3 text-xs font-medium tracking-wider text-gray-900 uppercase bg-gray-50 leading-4", l.alignment])
8125
8133
  }, U(l.title), 3))), 128)),
8126
- m(r) ? (x(), S("th", qf)) : H("", !0)
8134
+ m(r) ? (x(), S("th", qf)) : V("", !0)
8127
8135
  ])
8128
8136
  ]),
8129
8137
  v("tbody", Yf, [
@@ -8141,21 +8149,21 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8141
8149
  _: 2
8142
8150
  }, 1032, ["class"]))), 128)),
8143
8151
  m(r) ? (x(), S("td", Wf, [
8144
- i.tableActions.type === "dropdown" ? (x(), j(m(Hr), {
8152
+ i.tableActions.type === "dropdown" ? (x(), j(m(Vr), {
8145
8153
  key: 0,
8146
8154
  actions: l.actions
8147
8155
  }, null, 8, ["actions"])) : (x(), j(ci, {
8148
8156
  key: 1,
8149
8157
  actions: l.actions
8150
8158
  }, null, 8, ["actions"]))
8151
- ])) : H("", !0)
8159
+ ])) : V("", !0)
8152
8160
  ]))), 128)),
8153
8161
  m(o).length === 0 ? (x(), S("tr", zf, [
8154
8162
  v("td", {
8155
8163
  colspan: m(e).length,
8156
8164
  class: "px-6 py-4 text-sm text-gray-700 whitespace-nowrap leading-5"
8157
8165
  }, " No items were found! ", 8, Kf)
8158
- ])) : H("", !0)
8166
+ ])) : V("", !0)
8159
8167
  ])
8160
8168
  ])
8161
8169
  ])
@@ -8210,8 +8218,8 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8210
8218
  ]))), 128))
8211
8219
  ])
8212
8220
  ]),
8213
- a.hideActions ? H("", !0) : (x(), S("div", op, [
8214
- a.hidePrevious ? H("", !0) : (x(), S("span", ip, [
8221
+ a.hideActions ? V("", !0) : (x(), S("div", op, [
8222
+ a.hidePrevious ? V("", !0) : (x(), S("span", ip, [
8215
8223
  v("button", {
8216
8224
  type: "button",
8217
8225
  class: "xy-btn-white",
@@ -8318,7 +8326,7 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8318
8326
  }, Lp = { class: "bg-white divide-y divide-gray-200" }, Np = ["onClick"], Fp = {
8319
8327
  key: 0,
8320
8328
  class: "px-6 py-2 text-sm text-gray-700 whitespace-nowrap leading-5"
8321
- }, jp = { key: 0 }, Bp = ["colspan"], Hp = /* @__PURE__ */ L({
8329
+ }, jp = { key: 0 }, Bp = ["colspan"], Vp = /* @__PURE__ */ L({
8322
8330
  __name: "DynamicTable",
8323
8331
  props: {
8324
8332
  tableActions: { default: () => ({ type: "dropdown", actions: [] }) },
@@ -8421,20 +8429,20 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8421
8429
  }, null, 8, ["modelValue"])
8422
8430
  ])
8423
8431
  ])
8424
- ])) : H("", !0),
8432
+ ])) : V("", !0),
8425
8433
  z.tableOptions.dateSearch ? (x(), S("div", vp, [
8426
8434
  bp,
8427
8435
  v("div", yp, [
8428
8436
  wp,
8429
8437
  v("div", xp, [
8430
- E(Vr, je({
8438
+ E(Hr, je({
8431
8439
  id: "table-date-range",
8432
8440
  modelValue: b.value,
8433
8441
  "onUpdate:modelValue": K[2] || (K[2] = (ee) => b.value = ee)
8434
8442
  }, { ...A.value }, { "onUpdate:modelValue": D }), null, 16, ["modelValue"])
8435
8443
  ])
8436
8444
  ])
8437
- ])) : H("", !0)
8445
+ ])) : V("", !0)
8438
8446
  ]),
8439
8447
  v("div", _p, [
8440
8448
  v("table", Cp, [
@@ -8444,16 +8452,16 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8444
8452
  key: G,
8445
8453
  class: B(["px-6 py-3 text-xs font-medium tracking-wider text-gray-900 uppercase bg-gray-50 leading-4", ee.alignment])
8446
8454
  }, [
8447
- ee.title ? (x(), S("span", Dp, U(ee.title), 1)) : H("", !0),
8455
+ ee.title ? (x(), S("span", Dp, U(ee.title), 1)) : V("", !0),
8448
8456
  ee.sort ? (x(), S("span", {
8449
8457
  key: 1,
8450
8458
  class: "cursor-pointer",
8451
8459
  onClick: mt((X) => O(ee.sort), ["prevent"])
8452
8460
  }, [
8453
8461
  p.value !== ee.sort ? (x(), S("svg", Sp, $p)) : g.value == "desc" ? (x(), S("svg", Tp, Mp)) : (x(), S("svg", Ap, Ip))
8454
- ], 8, kp)) : H("", !0)
8462
+ ], 8, kp)) : V("", !0)
8455
8463
  ], 2))), 128)),
8456
- m(u) ? (x(), S("th", Rp)) : H("", !0)
8464
+ m(u) ? (x(), S("th", Rp)) : V("", !0)
8457
8465
  ])
8458
8466
  ]),
8459
8467
  v("tbody", Lp, [
@@ -8474,16 +8482,16 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8474
8482
  _: 2
8475
8483
  }, 1032, ["class"]))), 128)),
8476
8484
  m(u) ? (x(), S("td", Fp, [
8477
- z.tableActions.type === "dropdown" ? (x(), j(m(Hr), {
8485
+ z.tableActions.type === "dropdown" ? (x(), j(m(Vr), {
8478
8486
  key: 0,
8479
8487
  actions: ee.actions
8480
8488
  }, null, 8, ["actions"])) : (x(), j(ci, {
8481
8489
  key: 1,
8482
8490
  actions: ee.actions
8483
8491
  }, null, 8, ["actions"]))
8484
- ])) : H("", !0)
8492
+ ])) : V("", !0)
8485
8493
  ], 8, Np))), 128)),
8486
- Z.value ? H("", !0) : (x(), S("tr", jp, [
8494
+ Z.value ? V("", !0) : (x(), S("tr", jp, [
8487
8495
  v("td", {
8488
8496
  colspan: m(f).length,
8489
8497
  class: "px-6 py-4 text-sm text-gray-700 whitespace-nowrap leading-5"
@@ -8499,11 +8507,11 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8499
8507
  K[3] || (K[3] = (ee) => y.value = ee),
8500
8508
  K[4] || (K[4] = (ee) => r())
8501
8509
  ]
8502
- }, null, 8, ["modelValue"])) : H("", !0)
8510
+ }, null, 8, ["modelValue"])) : V("", !0)
8503
8511
  ]);
8504
8512
  };
8505
8513
  }
8506
- }), Vp = /* @__PURE__ */ v("label", {
8514
+ }), Hp = /* @__PURE__ */ v("label", {
8507
8515
  for: "tabs",
8508
8516
  class: "sr-only"
8509
8517
  }, "Select a tab", -1), Up = { class: "hidden sm:block" }, qp = ["onClick", "textContent"], Yp = /* @__PURE__ */ L({
@@ -8527,7 +8535,7 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8527
8535
  v("div", {
8528
8536
  class: B(["sm:hidden", { "mb-4": i.pillDesign }])
8529
8537
  }, [
8530
- Vp,
8538
+ Hp,
8531
8539
  E(l, {
8532
8540
  name: "tabs",
8533
8541
  "model-value": i.modelValue,
@@ -8585,7 +8593,7 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8585
8593
  "onUpdate:modelValue": o[0] || (o[0] = (i) => n("update:modelValue", i))
8586
8594
  }, {
8587
8595
  default: R(() => [
8588
- a.label ? H("", !0) : (x(), S("span", Wp, "Use")),
8596
+ a.label ? V("", !0) : (x(), S("span", Wp, "Use")),
8589
8597
  v("span", {
8590
8598
  "aria-hidden": "true",
8591
8599
  class: B([
@@ -8605,13 +8613,13 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8605
8613
  }, null, 8, ["label", "class"])
8606
8614
  ]),
8607
8615
  _: 1
8608
- })) : H("", !0),
8616
+ })) : V("", !0),
8609
8617
  a.help ? (x(), j(m(Kl), { key: 1 }, {
8610
8618
  default: R(() => [
8611
8619
  E(Ae, { text: a.help }, null, 8, ["text"])
8612
8620
  ]),
8613
8621
  _: 1
8614
- })) : H("", !0)
8622
+ })) : V("", !0)
8615
8623
  ])
8616
8624
  ]),
8617
8625
  _: 1
@@ -8782,10 +8790,10 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8782
8790
  }, r.$attrs), {
8783
8791
  default: R(() => [
8784
8792
  Oe(U(e.value) + " ", 1),
8785
- n.required ? (x(), S("span", nm, "*")) : H("", !0)
8793
+ n.required ? (x(), S("span", nm, "*")) : V("", !0)
8786
8794
  ]),
8787
8795
  _: 1
8788
- }, 16)) : H("", !0);
8796
+ }, 16)) : V("", !0);
8789
8797
  }
8790
8798
  }), rm = ["aria-labelledby", "aria-describedby", "aria-errormessage"], am = { key: 0 }, om = { class: "flex" }, im = { class: "flex items-center h-5" }, sm = ["id", "aria-labelledby", "aria-describedby", "checked", "disabled", "onChange"], lm = { class: "ml-3" }, um = /* @__PURE__ */ L({
8791
8799
  inheritAttrs: !1,
@@ -8826,8 +8834,8 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8826
8834
  id: m(e).describedby,
8827
8835
  tag: "p",
8828
8836
  text: y.help
8829
- }, null, 8, ["id", "text"])) : H("", !0)
8830
- ])) : H("", !0),
8837
+ }, null, 8, ["id", "text"])) : V("", !0)
8838
+ ])) : V("", !0),
8831
8839
  E(nt, {
8832
8840
  id: m(e).errormessage,
8833
8841
  text: m(i)
@@ -8841,7 +8849,7 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8841
8849
  "aria-hidden": "",
8842
8850
  type: "checkbox",
8843
8851
  onInvalid: b
8844
- }, null, 544)) : H("", !0),
8852
+ }, null, 544)) : V("", !0),
8845
8853
  v("div", om, [
8846
8854
  v("div", {
8847
8855
  class: B(["grid gap-y-6", {
@@ -8936,8 +8944,8 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
8936
8944
  id: m(e).describedby,
8937
8945
  tag: "p",
8938
8946
  text: f.help
8939
- }, null, 8, ["id", "text"])) : H("", !0)
8940
- ])) : H("", !0),
8947
+ }, null, 8, ["id", "text"])) : V("", !0)
8948
+ ])) : V("", !0),
8941
8949
  E(nt, {
8942
8950
  id: m(e).errormessage,
8943
8951
  text: m(r)
@@ -9045,13 +9053,13 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
9045
9053
  }, null, 8, ["label", "required"])
9046
9054
  ]),
9047
9055
  _: 1
9048
- })) : H("", !0),
9056
+ })) : V("", !0),
9049
9057
  d.help ? (x(), j(m(or), { key: 1 }, {
9050
9058
  default: R(() => [
9051
9059
  E(Ae, { text: d.help }, null, 8, ["text"])
9052
9060
  ]),
9053
9061
  _: 1
9054
- })) : H("", !0),
9062
+ })) : V("", !0),
9055
9063
  E(nt, {
9056
9064
  id: m(e).errormessage,
9057
9065
  text: m(s)
@@ -9105,7 +9113,7 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
9105
9113
  }, null, 8, ["text"])
9106
9114
  ]),
9107
9115
  _: 2
9108
- }, 1024)) : H("", !0),
9116
+ }, 1024)) : V("", !0),
9109
9117
  p.sublabel || d.$slots.sublabel ? (x(), S("div", ym, [
9110
9118
  E(m(or), {
9111
9119
  as: "div",
@@ -9123,7 +9131,7 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
9123
9131
  ]),
9124
9132
  _: 2
9125
9133
  }, 1024)
9126
- ])) : H("", !0)
9134
+ ])) : V("", !0)
9127
9135
  ])
9128
9136
  ]),
9129
9137
  E(m(Uo), {
@@ -9260,8 +9268,8 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
9260
9268
  id: m(e).describedby,
9261
9269
  tag: "p",
9262
9270
  text: f.help
9263
- }, null, 8, ["id", "text"])) : H("", !0)
9264
- ])) : H("", !0),
9271
+ }, null, 8, ["id", "text"])) : V("", !0)
9272
+ ])) : V("", !0),
9265
9273
  E(nt, {
9266
9274
  id: m(e).errormessage,
9267
9275
  text: m(s)
@@ -9326,17 +9334,17 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
9326
9334
  }
9327
9335
  }), Mm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9328
9336
  __proto__: null,
9329
- ActionsDropdown: Hr,
9337
+ ActionsDropdown: Vr,
9330
9338
  BaseInput: Jp,
9331
9339
  Cards: Ou,
9332
9340
  Checkbox: tm,
9333
9341
  ContentModal: Nu,
9334
9342
  DataTable: Gf,
9335
9343
  DateFilter: si,
9336
- DateRangePicker: Vr,
9344
+ DateRangePicker: Hr,
9337
9345
  DetailList: ud,
9338
9346
  DownloadCell: cd,
9339
- DynamicTable: Hp,
9347
+ DynamicTable: Vp,
9340
9348
  FieldsetLegend: on,
9341
9349
  Flash: qr,
9342
9350
  InlineAlert: jd,
@@ -9347,7 +9355,7 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
9347
9355
  MultiCheckboxes: um,
9348
9356
  Paginator: Ur,
9349
9357
  Popover: Cr,
9350
- PopoverContent: Vc,
9358
+ PopoverContent: Hc,
9351
9359
  PopoverPosition: Cr,
9352
9360
  Radio: gm,
9353
9361
  RadioCards: xm,
@@ -9369,7 +9377,7 @@ const Vc = /* @__PURE__ */ Fc(jc, [["render", Hc]]), Uc = { class: "absolute ins
9369
9377
  });
9370
9378
  };
9371
9379
  export {
9372
- Hr as ActionsDropdown,
9380
+ Vr as ActionsDropdown,
9373
9381
  ho as BaseAPI,
9374
9382
  Jp as BaseInput,
9375
9383
  Ou as Cards,
@@ -9377,10 +9385,10 @@ export {
9377
9385
  Nu as ContentModal,
9378
9386
  Gf as DataTable,
9379
9387
  si as DateFilter,
9380
- Vr as DateRangePicker,
9388
+ Hr as DateRangePicker,
9381
9389
  ud as DetailList,
9382
9390
  cd as DownloadCell,
9383
- Hp as DynamicTable,
9391
+ Vp as DynamicTable,
9384
9392
  on as FieldsetLegend,
9385
9393
  qr as Flash,
9386
9394
  jd as InlineAlert,
@@ -9391,7 +9399,7 @@ export {
9391
9399
  um as MultiCheckboxes,
9392
9400
  Ur as Paginator,
9393
9401
  Cr as Popover,
9394
- Vc as PopoverContent,
9402
+ Hc as PopoverContent,
9395
9403
  Cr as PopoverPosition,
9396
9404
  gm as Radio,
9397
9405
  xm as RadioCards,
@@ -9425,11 +9433,11 @@ export {
9425
9433
  Nm as useBaseAPIGet,
9426
9434
  jm as useBaseAPIPatch,
9427
9435
  Bm as useBaseAPIPost,
9428
- Hm as useBaseAPIPut,
9436
+ Vm as useBaseAPIPut,
9429
9437
  Qu as useFlashes,
9430
9438
  st as useInputField,
9431
9439
  hl as useModel,
9432
9440
  ul as useSpinnerDisplay,
9433
- Vm as useTabHistory,
9441
+ Hm as useTabHistory,
9434
9442
  Um as useUrlSearchParams
9435
9443
  };