@xy-planning-network/trees 0.13.3-dev-3 → 0.13.3-dev-4

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
@@ -1736,22 +1736,22 @@ ge.getAdapter = ds.getAdapter;
1736
1736
  ge.HttpStatusCode = Xr;
1737
1737
  ge.default = ge;
1738
1738
  const {
1739
- Axios: c0,
1740
- AxiosError: d0,
1741
- CanceledError: f0,
1742
- isCancel: p0,
1743
- CancelToken: m0,
1744
- VERSION: h0,
1745
- all: g0,
1746
- Cancel: v0,
1747
- isAxiosError: b0,
1748
- spread: y0,
1749
- toFormData: w0,
1750
- AxiosHeaders: x0,
1751
- HttpStatusCode: C0,
1752
- formToJSON: D0,
1753
- getAdapter: E0,
1754
- mergeConfig: k0
1739
+ Axios: d0,
1740
+ AxiosError: f0,
1741
+ CanceledError: p0,
1742
+ isCancel: m0,
1743
+ CancelToken: h0,
1744
+ VERSION: g0,
1745
+ all: v0,
1746
+ Cancel: b0,
1747
+ isAxiosError: y0,
1748
+ spread: w0,
1749
+ toFormData: x0,
1750
+ AxiosHeaders: C0,
1751
+ HttpStatusCode: D0,
1752
+ formToJSON: E0,
1753
+ getAdapter: k0,
1754
+ mergeConfig: _0
1755
1755
  } = ge, hs = "HttpError", gs = "HttpErrorCanceled";
1756
1756
  class Jn extends Error {
1757
1757
  constructor(e, r, o, a) {
@@ -1849,7 +1849,7 @@ const Gt = (t, n) => {
1849
1849
  e || {}
1850
1850
  );
1851
1851
  }
1852
- }, _0 = (t) => {
1852
+ }, S0 = (t) => {
1853
1853
  Qn.defaults = { ...Qn.defaults, ...t };
1854
1854
  }, Iu = (t) => t instanceof Jn, Lu = (t) => Iu(t) && t.name === gs;
1855
1855
  function Xn(t, n = 500) {
@@ -1860,7 +1860,7 @@ function Xn(t, n = 500) {
1860
1860
  }, n);
1861
1861
  };
1862
1862
  }
1863
- function S0(t, n = 500) {
1863
+ function $0(t, n = 500) {
1864
1864
  let e = null;
1865
1865
  return (...r) => {
1866
1866
  e ? clearTimeout(e) : t.apply(r), e = setTimeout(() => {
@@ -1876,7 +1876,7 @@ const ht = {
1876
1876
  }, pe = {
1877
1877
  default: void 0,
1878
1878
  required: !1
1879
- }, $0 = [
1879
+ }, T0 = [
1880
1880
  "date",
1881
1881
  "email",
1882
1882
  "month",
@@ -1889,7 +1889,7 @@ const ht = {
1889
1889
  "time",
1890
1890
  "url",
1891
1891
  "week"
1892
- ], T0 = ["money", "number", "raw-number"], gt = (t) => {
1892
+ ], M0 = ["money", "number", "raw-number"], gt = (t) => {
1893
1893
  const n = ur(), e = A(""), r = Yi(), o = M(() => n.id || r), a = M(() => Zr(n, "disabled")), s = M(() => Zr(n, "required")), l = M(() => typeof n.name == "string" && n.name !== "" ? n.name : o.value), i = M(() => ({
1894
1894
  labelledby: t.label ? `${o.value}-label` : void 0,
1895
1895
  describedby: t.help ? `${o.value}-help` : void 0,
@@ -1923,7 +1923,7 @@ const ht = {
1923
1923
  const n = new Date(t);
1924
1924
  return n.setMinutes(n.getMinutes() - n.getTimezoneOffset()), n.toISOString().slice(0, 16);
1925
1925
  };
1926
- function M0(t, n = 100) {
1926
+ function P0(t, n = 100) {
1927
1927
  let e;
1928
1928
  return (...r) => {
1929
1929
  e || (t.apply(r), e = !0, setTimeout(() => e = !1, n));
@@ -6585,7 +6585,10 @@ Date.prototype.fp_incr = function(t) {
6585
6585
  return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof t == "string" ? parseInt(t, 10) : t));
6586
6586
  };
6587
6587
  typeof window < "u" && (window.flatpickr = xe);
6588
- const cd = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder"], _o = /* @__PURE__ */ R({
6588
+ const cd = {
6589
+ ref: "wrapper",
6590
+ class: "xy-date-range-picker"
6591
+ }, dd = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder"], _o = /* @__PURE__ */ R({
6589
6592
  inheritAttrs: !1,
6590
6593
  __name: "DateRangePicker",
6591
6594
  props: /* @__PURE__ */ ye(/* @__PURE__ */ pt({
@@ -6615,7 +6618,7 @@ const cd = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
6615
6618
  ...pe,
6616
6619
  default: { maxDate: 0, minDate: 0 }
6617
6620
  }), { aria: r, errorState: o, inputID: a, isRequired: s, onInvalid: l, validate: i } = gt(n), u = (d) => {
6618
- e.value = { ...d };
6621
+ e.value = d;
6619
6622
  }, c = Rt("wrapper");
6620
6623
  return He(() => {
6621
6624
  const d = {
@@ -6650,11 +6653,7 @@ const cd = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
6650
6653
  y > D && (y = D), p.set("minDate", w), p.set("maxDate", y);
6651
6654
  }
6652
6655
  }), xe(`#${a.value}`, d);
6653
- }), (d, f) => (x(), k("div", {
6654
- ref_key: "wrapper",
6655
- ref: c,
6656
- class: "xy-date-range-picker"
6657
- }, [
6656
+ }), (d, f) => (x(), k("div", cd, [
6658
6657
  _(ze, {
6659
6658
  id: h(r).labelledby,
6660
6659
  class: "mb-2",
@@ -6679,7 +6678,7 @@ const cd = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
6679
6678
  (...g) => h(i) && h(i)(...g)),
6680
6679
  onInvalid: f[1] || (f[1] = //@ts-ignore
6681
6680
  (...g) => h(l) && h(l)(...g))
6682
- }), null, 16, cd),
6681
+ }), null, 16, dd),
6683
6682
  _(Ie, {
6684
6683
  id: h(r).describedby,
6685
6684
  class: "mt-1",
@@ -6692,7 +6691,7 @@ const cd = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
6692
6691
  }, null, 8, ["id", "text"])
6693
6692
  ], 512));
6694
6693
  }
6695
- }), dd = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage"], fd = ["textContent"], pd = ["value", "disabled", "textContent"], So = /* @__PURE__ */ R({
6694
+ }), fd = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage"], pd = ["textContent"], md = ["value", "disabled", "textContent"], So = /* @__PURE__ */ R({
6696
6695
  inheritAttrs: !1,
6697
6696
  __name: "Select",
6698
6697
  props: /* @__PURE__ */ ye(/* @__PURE__ */ pt({
@@ -6741,14 +6740,14 @@ const cd = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
6741
6740
  disabled: "",
6742
6741
  selected: "",
6743
6742
  textContent: U(u.placeholder)
6744
- }, null, 8, fd),
6743
+ }, null, 8, pd),
6745
6744
  (x(!0), k(te, null, se(u.options, (d) => (x(), k("option", {
6746
6745
  key: d.value,
6747
6746
  value: d.value,
6748
6747
  disabled: d.disabled,
6749
6748
  textContent: U(d.label)
6750
- }, null, 8, pd))), 128))
6751
- ], 16, dd), [
6749
+ }, null, 8, md))), 128))
6750
+ ], 16, fd), [
6752
6751
  [Zi, e.value]
6753
6752
  ]),
6754
6753
  _(Ie, {
@@ -6835,30 +6834,30 @@ function Pn(t, n = "GET", e = {}) {
6835
6834
  execute: f
6836
6835
  };
6837
6836
  }
6838
- function P0(t, n = {}) {
6837
+ function A0(t, n = {}) {
6839
6838
  return Pn(t, "GET", n);
6840
6839
  }
6841
- function A0(t, n = {}) {
6840
+ function O0(t, n = {}) {
6842
6841
  return Pn(t, "DELETE", n);
6843
6842
  }
6844
- function O0(t, n = {}) {
6843
+ function R0(t, n = {}) {
6845
6844
  return Pn(t, "PATCH", n);
6846
6845
  }
6847
- function R0(t, n = {}) {
6846
+ function I0(t, n = {}) {
6848
6847
  return Pn(t, "POST", n);
6849
6848
  }
6850
- function I0(t, n = {}) {
6849
+ function L0(t, n = {}) {
6851
6850
  return Pn(t, "PUT", n);
6852
6851
  }
6853
- const Ma = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", md = (t = 8) => {
6852
+ const Ma = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", hd = (t = 8) => {
6854
6853
  let n = "";
6855
6854
  for (let e = 0; e < t; e++)
6856
6855
  n += Ma.charAt(Math.floor(Math.random() * Ma.length));
6857
6856
  return n;
6858
- }, hd = {
6859
- CreateIdAttribute: md
6857
+ }, gd = {
6858
+ CreateIdAttribute: hd
6860
6859
  };
6861
- function gd(t = {}) {
6860
+ function vd(t = {}) {
6862
6861
  const n = A(/* @__PURE__ */ new Map());
6863
6862
  let e = {
6864
6863
  removeDelay: 1e4,
@@ -6872,7 +6871,7 @@ function gd(t = {}) {
6872
6871
  }, o = (f) => {
6873
6872
  n.value.delete(f);
6874
6873
  }, a = (f) => {
6875
- const g = hd.CreateIdAttribute();
6874
+ const g = gd.CreateIdAttribute();
6876
6875
  return n.value.set(g, f), (f.persistent === void 0 || !f.persistent) && setTimeout(() => o(g), e.removeDelay), g;
6877
6876
  }, s = (f) => a(f), l = (f, g = !1) => a({ message: f, persistent: g, type: "error" }), i = (f, g = !1) => a({
6878
6877
  message: f,
@@ -6911,7 +6910,7 @@ function gd(t = {}) {
6911
6910
  configure: r
6912
6911
  };
6913
6912
  }
6914
- const vd = (t) => {
6913
+ const bd = (t) => {
6915
6914
  if (window.Flashes)
6916
6915
  for (const n of window.Flashes) {
6917
6916
  if (typeof n.type > "u") {
@@ -6924,7 +6923,7 @@ const vd = (t) => {
6924
6923
  };
6925
6924
  let Wr;
6926
6925
  function Jt() {
6927
- return Wr === void 0 && (Wr = gd()), Wr;
6926
+ return Wr === void 0 && (Wr = vd()), Wr;
6928
6927
  }
6929
6928
  const ci = {
6930
6929
  error(t, n) {
@@ -6942,7 +6941,7 @@ const ci = {
6942
6941
  genericError(t, n) {
6943
6942
  Jt().flasher.genericError(t, n);
6944
6943
  }
6945
- }, L0 = (t, n) => {
6944
+ }, N0 = (t, n) => {
6946
6945
  var u;
6947
6946
  const e = A(t), r = {
6948
6947
  initial: ((u = e == null ? void 0 : e.value[0]) == null ? void 0 : u.value) || "",
@@ -6962,7 +6961,7 @@ const ci = {
6962
6961
  isActiveTab: s,
6963
6962
  tabs: e
6964
6963
  };
6965
- }, N0 = (t) => {
6964
+ }, F0 = (t) => {
6966
6965
  const n = A(t);
6967
6966
  return at(
6968
6967
  n,
@@ -6991,7 +6990,7 @@ const ci = {
6991
6990
  },
6992
6991
  { deep: !0 }
6993
6992
  ), n;
6994
- }, bd = { class: "px-4 flex items-center justify-between sm:px-0" }, yd = { class: "w-0 flex-1 flex" }, wd = { class: "hidden md:flex" }, xd = ["onClick", "textContent"], Cd = { class: "w-0 flex-1 flex justify-end" }, di = /* @__PURE__ */ R({
6993
+ }, yd = { class: "px-4 flex items-center justify-between sm:px-0" }, wd = { class: "w-0 flex-1 flex" }, xd = { class: "hidden md:flex" }, Cd = ["onClick", "textContent"], Dd = { class: "w-0 flex-1 flex justify-end" }, di = /* @__PURE__ */ R({
6995
6994
  __name: "Paginator",
6996
6995
  props: {
6997
6996
  modelValue: { required: !0 },
@@ -7020,8 +7019,8 @@ const ci = {
7020
7019
  o.unshift(n.value.totalPages - s);
7021
7020
  return o;
7022
7021
  });
7023
- return (o, a) => (x(), k("div", bd, [
7024
- v("div", yd, [
7022
+ return (o, a) => (x(), k("div", yd, [
7023
+ v("div", wd, [
7025
7024
  v("a", {
7026
7025
  href: "#",
7027
7026
  class: I([
@@ -7044,7 +7043,7 @@ const ci = {
7044
7043
  fe(" Previous ")
7045
7044
  ]), 2)
7046
7045
  ]),
7047
- v("div", wd, [
7046
+ v("div", xd, [
7048
7047
  (x(!0), k(te, null, se(r.value, (s) => (x(), k("a", {
7049
7048
  key: s,
7050
7049
  href: "#",
@@ -7054,9 +7053,9 @@ const ci = {
7054
7053
  ]),
7055
7054
  onClick: ot((l) => e(s), ["prevent"]),
7056
7055
  textContent: U(s)
7057
- }, null, 10, xd))), 128))
7056
+ }, null, 10, Cd))), 128))
7058
7057
  ]),
7059
- v("div", Cd, [
7058
+ v("div", Dd, [
7060
7059
  v("a", {
7061
7060
  href: "#",
7062
7061
  class: I([
@@ -7081,10 +7080,10 @@ const ci = {
7081
7080
  ])
7082
7081
  ]));
7083
7082
  }
7084
- }), Dd = {
7083
+ }), Ed = {
7085
7084
  key: 0,
7086
7085
  class: "flex"
7087
- }, Ed = /* @__PURE__ */ R({
7086
+ }, kd = /* @__PURE__ */ R({
7088
7087
  __name: "DetailList",
7089
7088
  props: {
7090
7089
  borderless: { type: Boolean, default: !1 },
@@ -7138,7 +7137,7 @@ const ci = {
7138
7137
  }), n(g), i(), (p, y) => (x(), k("div", {
7139
7138
  class: I({ "mt-4 space-y-2": c.value })
7140
7139
  }, [
7141
- p.disableDate ? B("", !0) : (x(), k("div", Dd, [
7140
+ p.disableDate ? B("", !0) : (x(), k("div", Ed, [
7142
7141
  _(ui, {
7143
7142
  "date-range": r.value,
7144
7143
  "sort-dir": l.value,
@@ -7171,7 +7170,7 @@ const ci = {
7171
7170
  }, null, 8, ["modelValue"])) : B("", !0)
7172
7171
  ], 2));
7173
7172
  }
7174
- }), kd = ["href"], _d = /* @__PURE__ */ R({
7173
+ }), _d = ["href"], Sd = /* @__PURE__ */ R({
7175
7174
  __name: "DownloadCell",
7176
7175
  props: {
7177
7176
  propsData: {},
@@ -7182,9 +7181,9 @@ const ci = {
7182
7181
  href: n.propsData[n.attribute]
7183
7182
  }, [
7184
7183
  _(h(Dc), { class: "h-6 w-6 group-hover:text-gray-500 transition" })
7185
- ], 8, kd));
7184
+ ], 8, _d));
7186
7185
  }
7187
- }), Sd = { class: "fixed inset-0 flex flex-col items-end justify-end px-4 py-6 pointer-events-none sm:p-6 z-[45]" }, $d = { class: "rounded-lg ring-1 ring-black ring-opacity-5 overflow-hidden" }, Td = { class: "p-4" }, Md = { class: "flex items-center" }, Pd = { class: "w-0 flex-1 flex justify-between" }, Ad = ["innerHTML"], Od = { class: "ml-4 shrink-0 flex" }, Rd = ["onClick"], $o = /* @__PURE__ */ R({
7186
+ }), $d = { class: "fixed inset-0 flex flex-col items-end justify-end px-4 py-6 pointer-events-none sm:p-6 z-[45]" }, Td = { class: "rounded-lg ring-1 ring-black ring-opacity-5 overflow-hidden" }, Md = { class: "p-4" }, Pd = { class: "flex items-center" }, Ad = { class: "w-0 flex-1 flex justify-between" }, Od = ["innerHTML"], Rd = { class: "ml-4 shrink-0 flex" }, Id = ["onClick"], $o = /* @__PURE__ */ R({
7188
7187
  __name: "Flash",
7189
7188
  setup(t) {
7190
7189
  const { flasher: n, flashes: e } = Jt(), r = (o) => {
@@ -7200,10 +7199,10 @@ const ci = {
7200
7199
  }
7201
7200
  };
7202
7201
  return He(() => {
7203
- vd(n);
7202
+ bd(n);
7204
7203
  }), (o, a) => (x(), H(h(ho), null, {
7205
7204
  default: N(() => [
7206
- v("div", Sd, [
7205
+ v("div", $d, [
7207
7206
  _(Qi, {
7208
7207
  tag: "div",
7209
7208
  class: "max-w-sm space-y-2 w-full",
@@ -7219,16 +7218,16 @@ const ci = {
7219
7218
  key: l.message,
7220
7219
  class: I(["bg-white shadow-lg rounded-lg pointer-events-auto border-t-4 transform z-10", [r(l.type)]])
7221
7220
  }, [
7222
- v("div", $d, [
7223
- v("div", Td, [
7224
- v("div", Md, [
7225
- v("div", Pd, [
7221
+ v("div", Td, [
7222
+ v("div", Md, [
7223
+ v("div", Pd, [
7224
+ v("div", Ad, [
7226
7225
  v("p", {
7227
7226
  class: "w-0 flex-1 text-sm leading-5 font-medium text-gray-900",
7228
7227
  innerHTML: l.message
7229
- }, null, 8, Ad)
7228
+ }, null, 8, Od)
7230
7229
  ]),
7231
- v("div", Od, [
7230
+ v("div", Rd, [
7232
7231
  v("button", {
7233
7232
  class: "inline-flex text-gray-400 focus:outline-none focus:text-gray-500 transition ease-in-out duration-150",
7234
7233
  onClick: (i) => h(n).remove(s)
@@ -7244,7 +7243,7 @@ const ci = {
7244
7243
  "clip-rule": "evenodd"
7245
7244
  })
7246
7245
  ], -1)
7247
- ]), 8, Rd)
7246
+ ]), 8, Id)
7248
7247
  ])
7249
7248
  ])
7250
7249
  ])
@@ -7259,7 +7258,7 @@ const ci = {
7259
7258
  }));
7260
7259
  }
7261
7260
  });
7262
- function Id(t, n) {
7261
+ function Ld(t, n) {
7263
7262
  return x(), H("svg", {
7264
7263
  xmlns: "http://www.w3.org/2000/svg",
7265
7264
  fill: "none",
@@ -7275,7 +7274,7 @@ function Id(t, n) {
7275
7274
  })
7276
7275
  ]);
7277
7276
  }
7278
- function Ld(t, n) {
7277
+ function Nd(t, n) {
7279
7278
  return x(), H("svg", {
7280
7279
  xmlns: "http://www.w3.org/2000/svg",
7281
7280
  fill: "none",
@@ -7291,7 +7290,7 @@ function Ld(t, n) {
7291
7290
  })
7292
7291
  ]);
7293
7292
  }
7294
- function Nd(t, n) {
7293
+ function Fd(t, n) {
7295
7294
  return x(), H("svg", {
7296
7295
  xmlns: "http://www.w3.org/2000/svg",
7297
7296
  fill: "none",
@@ -7339,17 +7338,17 @@ function An(t, n) {
7339
7338
  })
7340
7339
  ]);
7341
7340
  }
7342
- const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml-2.5" }, Vd = {
7341
+ const Bd = { class: "flex" }, jd = { class: "flex-shrink-0" }, Vd = { class: "ml-2.5" }, Hd = {
7343
7342
  key: 0,
7344
7343
  role: "list",
7345
7344
  class: "list-disc space-y-1 pl-5"
7346
- }, Hd = { key: 1 }, Ud = {
7345
+ }, Ud = { key: 1 }, qd = {
7347
7346
  key: 1,
7348
7347
  class: "mt-4"
7349
- }, qd = { class: "flex flex-col gap-y-1.5 -mx-2 sm:flex-row sm:gap-x-3 sm:items-center" }, Wd = { key: 0 }, Yd = ["href", "role"], zd = { key: 1 }, Kd = ["href", "role"], Gd = {
7348
+ }, Wd = { class: "flex flex-col gap-y-1.5 -mx-2 sm:flex-row sm:gap-x-3 sm:items-center" }, Yd = { key: 0 }, zd = ["href", "role"], Kd = { key: 1 }, Gd = ["href", "role"], Jd = {
7350
7349
  key: 0,
7351
7350
  class: "ml-auto pl-3"
7352
- }, Jd = { class: "-mx-1.5 -my-1.5" }, Xd = /* @__PURE__ */ R({
7351
+ }, Xd = { class: "-mx-1.5 -my-1.5" }, Zd = /* @__PURE__ */ R({
7353
7352
  __name: "InlineAlert",
7354
7353
  props: {
7355
7354
  btnLink: { default: "" },
@@ -7410,14 +7409,14 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7410
7409
  key: 0,
7411
7410
  class: I(["rounded-xy p-4", s.value.bgColor])
7412
7411
  }, [
7413
- v("div", Fd, [
7414
- v("div", Bd, [
7412
+ v("div", Bd, [
7413
+ v("div", jd, [
7415
7414
  (x(), H(it(l.value), {
7416
7415
  class: I(["h-5 w-5", s.value.iconColor]),
7417
7416
  "aria-hidden": "true"
7418
7417
  }, null, 8, ["class"]))
7419
7418
  ]),
7420
- v("div", jd, [
7419
+ v("div", Vd, [
7421
7420
  i.title ? (x(), k("h3", {
7422
7421
  key: 0,
7423
7422
  class: I(["text-sm leading-snug font-semibold mb-1.5", s.value.contentColor])
@@ -7425,33 +7424,33 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7425
7424
  v("div", {
7426
7425
  class: I(["text-sm", s.value.contentColor])
7427
7426
  }, [
7428
- Array.isArray(i.content) ? (x(), k("ul", Vd, [
7427
+ Array.isArray(i.content) ? (x(), k("ul", Hd, [
7429
7428
  (x(!0), k(te, null, se(i.content, (c, d) => (x(), k("li", { key: d }, U(c), 1))), 128))
7430
- ])) : (x(), k("p", Hd, U(i.content), 1))
7429
+ ])) : (x(), k("p", Ud, U(i.content), 1))
7431
7430
  ], 2),
7432
- i.btnText || i.secondaryBtnText ? (x(), k("div", Ud, [
7433
- v("div", qd, [
7434
- i.btnText ? (x(), k("div", Wd, [
7431
+ i.btnText || i.secondaryBtnText ? (x(), k("div", qd, [
7432
+ v("div", Wd, [
7433
+ i.btnText ? (x(), k("div", Yd, [
7435
7434
  v("a", {
7436
7435
  class: I(["inline-flex rounded-3xl px-2.5 py-1.5 text-sm font-medium focus:outline-none focus:ring-2 focus:ring-offset-2", s.value.btnAction]),
7437
7436
  href: i.btnLink,
7438
7437
  role: i.btnLink ? "link" : "button",
7439
7438
  onClick: u[0] || (u[0] = (c) => i.$emit("click", c))
7440
- }, U(i.btnText), 11, Yd)
7439
+ }, U(i.btnText), 11, zd)
7441
7440
  ])) : B("", !0),
7442
- i.secondaryBtnText ? (x(), k("div", zd, [
7441
+ i.secondaryBtnText ? (x(), k("div", Kd, [
7443
7442
  v("a", {
7444
7443
  class: I(["inline-flex rounded-3xl px-2.5 py-1.5 text-sm font-medium focus:outline-none focus:ring-2 focus:ring-offset-2", s.value.btnAction]),
7445
7444
  href: i.secondaryBtnLink,
7446
7445
  role: i.secondaryBtnLink ? "link" : "button",
7447
7446
  onClick: u[1] || (u[1] = (c) => i.$emit("click:secondary", c))
7448
- }, U(i.secondaryBtnText), 11, Kd)
7447
+ }, U(i.secondaryBtnText), 11, Gd)
7449
7448
  ])) : B("", !0)
7450
7449
  ])
7451
7450
  ])) : B("", !0)
7452
7451
  ]),
7453
- i.dismissable ? (x(), k("div", Gd, [
7454
- v("div", Jd, [
7452
+ i.dismissable ? (x(), k("div", Jd, [
7453
+ v("div", Xd, [
7455
7454
  v("button", {
7456
7455
  class: I(["inline-flex rounded-md p-1.5 focus:outline-none focus:ring-2 focus:ring-offset-2", s.value.btnClose]),
7457
7456
  type: "button",
@@ -7465,10 +7464,10 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7465
7464
  ])
7466
7465
  ], 2)) : B("", !0);
7467
7466
  }
7468
- }), Zd = { class: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0" }, Qd = { class: "block absolute top-0 right-0 pt-4 pr-4 sm:pt-6 sm:pr-8" }, ef = { class: "px-4 pt-5 pb-4 sm:p-8 sm:pb-6" }, tf = { class: "mt-3 sm:mt-0 sm:text-left" }, nf = { class: "mt-2" }, rf = {
7467
+ }), Qd = { class: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0" }, ef = { class: "block absolute top-0 right-0 pt-4 pr-4 sm:pt-6 sm:pr-8" }, tf = { class: "px-4 pt-5 pb-4 sm:p-8 sm:pb-6" }, nf = { class: "mt-3 sm:mt-0 sm:text-left" }, rf = { class: "mt-2" }, of = {
7469
7468
  key: 0,
7470
7469
  class: "bg-gray-50 flex flex-col gap-3 px-4 py-3 rounded-b-xy shadow-xl sm:py-4 sm:px-8 sm:flex sm:flex-row-reverse sm:rounded-b-xy-lg"
7471
- }, of = ["disabled"], af = /* @__PURE__ */ R({
7470
+ }, af = ["disabled"], sf = /* @__PURE__ */ R({
7472
7471
  __name: "Modal",
7473
7472
  props: /* @__PURE__ */ ye({
7474
7473
  destructive: { type: Boolean, default: !1 },
@@ -7500,7 +7499,7 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7500
7499
  onClose: u[3] || (u[3] = (c) => r.value = !1)
7501
7500
  }, {
7502
7501
  default: N(() => [
7503
- v("div", Zd, [
7502
+ v("div", Qd, [
7504
7503
  _(h(Et), {
7505
7504
  as: "template",
7506
7505
  enter: "ease-out duration-300",
@@ -7538,7 +7537,7 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7538
7537
  !l.value && "rounded-b-xy sm:rounded-b-xy-lg shadow-xl"
7539
7538
  ])
7540
7539
  }, [
7541
- v("div", Qd, [
7540
+ v("div", ef, [
7542
7541
  v("button", {
7543
7542
  type: "button",
7544
7543
  class: "bg-white rounded-md text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",
@@ -7551,8 +7550,8 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7551
7550
  })
7552
7551
  ])
7553
7552
  ]),
7554
- v("div", ef, [
7555
- v("div", tf, [
7553
+ v("div", tf, [
7554
+ v("div", nf, [
7556
7555
  _(h(go), {
7557
7556
  as: "h3",
7558
7557
  class: "text-center text-lg leading-6 font-medium text-gray-900"
@@ -7562,20 +7561,20 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7562
7561
  ]),
7563
7562
  _: 1
7564
7563
  }),
7565
- v("div", nf, [
7564
+ v("div", rf, [
7566
7565
  be(i.$slots, "default")
7567
7566
  ])
7568
7567
  ])
7569
7568
  ])
7570
7569
  ], 2),
7571
- l.value ? (x(), k("div", rf, [
7570
+ l.value ? (x(), k("div", of, [
7572
7571
  i.submitText ? (x(), k(te, { key: 0 }, [
7573
7572
  v("button", {
7574
7573
  type: "button",
7575
7574
  class: I([i.destructive ? "xy-btn-red" : "xy-btn"]),
7576
7575
  disabled: i.disabled,
7577
7576
  onClick: u[1] || (u[1] = (c) => a())
7578
- }, U(i.submitText), 11, of),
7577
+ }, U(i.submitText), 11, af),
7579
7578
  v("button", {
7580
7579
  type: "button",
7581
7580
  class: "xy-btn-neutral",
@@ -7596,7 +7595,7 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7596
7595
  _: 3
7597
7596
  }, 8, ["show"]));
7598
7597
  }
7599
- }), sf = { class: "aspect-square overflow-hidden" }, lf = { class: "flex justify-center relative" }, uf = { class: "sr-only" }, fi = /* @__PURE__ */ R({
7598
+ }), lf = { class: "aspect-square overflow-hidden" }, uf = { class: "flex justify-center relative" }, cf = { class: "sr-only" }, fi = /* @__PURE__ */ R({
7600
7599
  __name: "XYSpinner",
7601
7600
  setup(t) {
7602
7601
  const n = ur();
@@ -7606,9 +7605,9 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7606
7605
  class: I((o = h(n)) != null && o.class ? (a = h(n)) == null ? void 0 : a.class : "h-20 w-20"),
7607
7606
  role: "status"
7608
7607
  }, [
7609
- v("div", sf, [
7610
- v("div", lf, [
7611
- v("p", uf, [
7608
+ v("div", lf, [
7609
+ v("div", uf, [
7610
+ v("p", cf, [
7612
7611
  be(e.$slots, "default", {}, () => [
7613
7612
  r[0] || (r[0] = fe("loading"))
7614
7613
  ])
@@ -7619,10 +7618,10 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7619
7618
  ], 2);
7620
7619
  };
7621
7620
  }
7622
- }), cf = {
7621
+ }), df = {
7623
7622
  key: 0,
7624
7623
  class: "fixed top-0 left-0 flex flex-col items-center justify-center w-full h-full cursor-not-allowed z-40 bg-gray-50 bg-opacity-60"
7625
- }, df = { class: "mt-2" }, To = /* @__PURE__ */ R({
7624
+ }, ff = { class: "mt-2" }, To = /* @__PURE__ */ R({
7626
7625
  __name: "Spinner",
7627
7626
  setup(t) {
7628
7627
  const { idx: n, loading: e, maxIdx: r, messages: o, msg: a, showMsg: s } = vs(), l = () => {
@@ -7634,9 +7633,9 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7634
7633
  };
7635
7634
  return (u, c) => (x(), H(h(ho), null, {
7636
7635
  default: N(() => [
7637
- h(e) ? (x(), k("div", cf, [
7636
+ h(e) ? (x(), k("div", df, [
7638
7637
  _(fi, { class: "w-32 h-32" }),
7639
- et(v("div", df, [
7638
+ et(v("div", ff, [
7640
7639
  _(cr, {
7641
7640
  appear: "",
7642
7641
  "enter-active-class": "ease-out duration-1000",
@@ -7663,13 +7662,13 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7663
7662
  _: 1
7664
7663
  }));
7665
7664
  }
7666
- }), ff = { class: "h-screen flex overflow-hidden bg-gray-50" }, pf = { class: "relative flex-1 flex flex-col max-w-xs w-full pt-5 pb-4 bg-white" }, mf = { class: "absolute top-0 right-0 -mr-12 pt-2" }, hf = { class: "shrink-0 flex justify-center px-4" }, gf = ["src"], vf = { class: "mt-5 flex flex-col flex-1 h-0 overflow-y-auto" }, bf = { class: "flex-1 px-2" }, yf = { class: "space-y-1" }, wf = ["href", "target"], xf = {
7665
+ }), pf = { class: "h-screen flex overflow-hidden bg-gray-50" }, mf = { class: "relative flex-1 flex flex-col max-w-xs w-full pt-5 pb-4 bg-white" }, hf = { class: "absolute top-0 right-0 -mr-12 pt-2" }, gf = { class: "shrink-0 flex justify-center px-4" }, vf = ["src"], bf = { class: "mt-5 flex flex-col flex-1 h-0 overflow-y-auto" }, yf = { class: "flex-1 px-2" }, wf = { class: "space-y-1" }, xf = ["href", "target"], Cf = {
7667
7666
  key: 0,
7668
7667
  class: "mt-auto"
7669
- }, Cf = { class: "mt-6 px-2" }, Df = { class: "hidden lg:flex lg:shrink-0" }, Ef = { class: "flex flex-col w-64" }, kf = { class: "flex flex-col grow border-r border-gray-200 pt-5 pb-4 bg-white overflow-y-auto" }, _f = { class: "flex justify-center shrink-0 px-4" }, Sf = ["src"], $f = { class: "mt-5 grow flex flex-col" }, Tf = { class: "flex-1 px-2 bg-white" }, Mf = { class: "space-y-1" }, Pf = ["href", "target"], Af = {
7668
+ }, Df = { class: "mt-6 px-2" }, Ef = { class: "hidden lg:flex lg:shrink-0" }, kf = { class: "flex flex-col w-64" }, _f = { class: "flex flex-col grow border-r border-gray-200 pt-5 pb-4 bg-white overflow-y-auto" }, Sf = { class: "flex justify-center shrink-0 px-4" }, $f = ["src"], Tf = { class: "mt-5 grow flex flex-col" }, Mf = { class: "flex-1 px-2 bg-white" }, Pf = { class: "space-y-1" }, Af = ["href", "target"], Of = {
7670
7669
  key: 0,
7671
7670
  class: "mt-atuo"
7672
- }, Of = { class: "mt-6 px-2" }, Rf = { class: "flex flex-col w-0 flex-1 overflow-hidden" }, If = { class: "relative z-10 shrink-0 flex h-16 bg-xy-blue shadow" }, Lf = { class: "flex-1 px-4 flex justify-between" }, Nf = { class: "flex-1 flex" }, Ff = { class: "flex items-center text-base leading-snug sm:text-2xl text-white" }, Bf = { class: "ml-4 flex items-center lg:ml-6" }, jf = ["href"], Vf = { class: "flex-1 relative overflow-y-auto focus:outline-none" }, Hf = { class: "mx-auto" }, Uf = /* @__PURE__ */ R({
7671
+ }, Rf = { class: "mt-6 px-2" }, If = { class: "flex flex-col w-0 flex-1 overflow-hidden" }, Lf = { class: "relative z-10 shrink-0 flex h-16 bg-xy-blue shadow" }, Nf = { class: "flex-1 px-4 flex justify-between" }, Ff = { class: "flex-1 flex" }, Bf = { class: "flex items-center text-base leading-snug sm:text-2xl text-white" }, jf = { class: "ml-4 flex items-center lg:ml-6" }, Vf = ["href"], Hf = { class: "flex-1 relative overflow-y-auto focus:outline-none" }, Uf = { class: "mx-auto" }, qf = /* @__PURE__ */ R({
7673
7672
  __name: "SidebarLayout",
7674
7673
  props: {
7675
7674
  activeUrl: { default: "" },
@@ -7680,7 +7679,7 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7680
7679
  setup(t) {
7681
7680
  const n = t, e = A(!1), r = (o) => n.activeUrl === o;
7682
7681
  return (o, a) => (x(), k(te, null, [
7683
- v("div", ff, [
7682
+ v("div", pf, [
7684
7683
  _(h(Mn), {
7685
7684
  as: "template",
7686
7685
  show: e.value
@@ -7718,7 +7717,7 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7718
7717
  "leave-to": "-translate-x-full"
7719
7718
  }, {
7720
7719
  default: N(() => [
7721
- v("div", pf, [
7720
+ v("div", mf, [
7722
7721
  _(h(Et), {
7723
7722
  as: "template",
7724
7723
  enter: "ease-in-out duration-300",
@@ -7729,7 +7728,7 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7729
7728
  "leave-to": "opacity-0"
7730
7729
  }, {
7731
7730
  default: N(() => [
7732
- v("div", mf, [
7731
+ v("div", hf, [
7733
7732
  v("button", {
7734
7733
  class: "ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white",
7735
7734
  onClick: a[0] || (a[0] = (s) => e.value = !1)
@@ -7744,17 +7743,17 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7744
7743
  ]),
7745
7744
  _: 1
7746
7745
  }),
7747
- v("div", hf, [
7746
+ v("div", gf, [
7748
7747
  v("img", {
7749
7748
  class: "w-auto h-12",
7750
7749
  src: o.iconUrl,
7751
7750
  alt: "Logo"
7752
- }, null, 8, gf)
7751
+ }, null, 8, vf)
7753
7752
  ]),
7754
- v("div", vf, [
7755
- v("div", bf, [
7753
+ v("div", bf, [
7754
+ v("div", yf, [
7756
7755
  be(o.$slots, "sidebar-nav", {}, () => [
7757
- v("nav", yf, [
7756
+ v("nav", wf, [
7758
7757
  (x(!0), k(te, null, se(o.navigation, (s) => (x(), k("a", {
7759
7758
  key: s.name,
7760
7759
  href: s.url,
@@ -7772,12 +7771,12 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7772
7771
  "aria-hidden": "true"
7773
7772
  }, null, 8, ["class"])),
7774
7773
  fe(" " + U(s.name), 1)
7775
- ], 10, wf))), 128))
7774
+ ], 10, xf))), 128))
7776
7775
  ])
7777
7776
  ])
7778
7777
  ]),
7779
- o.$slots["sidebar-bottom"] ? (x(), k("div", xf, [
7780
- v("div", Cf, [
7778
+ o.$slots["sidebar-bottom"] ? (x(), k("div", Cf, [
7779
+ v("div", Df, [
7781
7780
  be(o.$slots, "sidebar-bottom")
7782
7781
  ])
7783
7782
  ])) : B("", !0)
@@ -7796,20 +7795,20 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7796
7795
  ]),
7797
7796
  _: 3
7798
7797
  }, 8, ["show"]),
7799
- v("div", Df, [
7800
- v("div", Ef, [
7801
- v("div", kf, [
7802
- v("div", _f, [
7798
+ v("div", Ef, [
7799
+ v("div", kf, [
7800
+ v("div", _f, [
7801
+ v("div", Sf, [
7803
7802
  v("img", {
7804
7803
  class: "w-auto h-12",
7805
7804
  src: o.iconUrl,
7806
7805
  alt: "Logo"
7807
- }, null, 8, Sf)
7806
+ }, null, 8, $f)
7808
7807
  ]),
7809
- v("div", $f, [
7810
- v("div", Tf, [
7808
+ v("div", Tf, [
7809
+ v("div", Mf, [
7811
7810
  be(o.$slots, "sidebar-nav", {}, () => [
7812
- v("nav", Mf, [
7811
+ v("nav", Pf, [
7813
7812
  (x(!0), k(te, null, se(o.navigation, (s) => (x(), k("a", {
7814
7813
  key: s.name,
7815
7814
  href: s.url,
@@ -7827,12 +7826,12 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7827
7826
  "aria-hidden": "true"
7828
7827
  }, null, 8, ["class"])),
7829
7828
  fe(" " + U(s.name), 1)
7830
- ], 10, Pf))), 128))
7829
+ ], 10, Af))), 128))
7831
7830
  ])
7832
7831
  ])
7833
7832
  ]),
7834
- o.$slots["sidebar-bottom"] ? (x(), k("div", Af, [
7835
- v("div", Of, [
7833
+ o.$slots["sidebar-bottom"] ? (x(), k("div", Of, [
7834
+ v("div", Rf, [
7836
7835
  be(o.$slots, "sidebar-bottom")
7837
7836
  ])
7838
7837
  ])) : B("", !0)
@@ -7840,25 +7839,25 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7840
7839
  ])
7841
7840
  ])
7842
7841
  ]),
7843
- v("div", Rf, [
7844
- v("div", If, [
7842
+ v("div", If, [
7843
+ v("div", Lf, [
7845
7844
  v("button", {
7846
7845
  class: "px-4 border-r border-gray-200 text-white focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500 lg:hidden",
7847
7846
  onClick: a[2] || (a[2] = (s) => e.value = !0)
7848
7847
  }, [
7849
7848
  a[5] || (a[5] = v("span", { class: "sr-only" }, "Open sidebar", -1)),
7850
- _(h(Ld), {
7849
+ _(h(Nd), {
7851
7850
  class: "h-6 w-6",
7852
7851
  "aria-hidden": "true"
7853
7852
  })
7854
7853
  ]),
7855
- v("div", Lf, [
7856
- v("div", Nf, [
7857
- v("h1", Ff, [
7854
+ v("div", Nf, [
7855
+ v("div", Ff, [
7856
+ v("h1", Bf, [
7858
7857
  be(o.$slots, "header")
7859
7858
  ])
7860
7859
  ]),
7861
- v("div", Bf, [
7860
+ v("div", jf, [
7862
7861
  _(h(vo), {
7863
7862
  as: "div",
7864
7863
  class: "ml-3 relative"
@@ -7897,7 +7896,7 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7897
7896
  l ? "bg-gray-100" : "",
7898
7897
  "block px-4 py-2 text-sm text-gray-700 font-semibold"
7899
7898
  ])
7900
- }, U(s.name), 11, jf)
7899
+ }, U(s.name), 11, Vf)
7901
7900
  ]),
7902
7901
  _: 2
7903
7902
  }, 1024))), 128))
@@ -7913,8 +7912,8 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7913
7912
  ])
7914
7913
  ])
7915
7914
  ]),
7916
- v("main", Vf, [
7917
- v("div", Hf, [
7915
+ v("main", Hf, [
7916
+ v("div", Uf, [
7918
7917
  be(o.$slots, "default")
7919
7918
  ])
7920
7919
  ])
@@ -7976,18 +7975,18 @@ const Fd = { class: "flex" }, Bd = { class: "flex-shrink-0" }, jd = { class: "ml
7976
7975
  _: 3
7977
7976
  }, 8, ["as"]));
7978
7977
  }
7979
- }), qf = (t, n) => {
7978
+ }), Wf = (t, n) => {
7980
7979
  const e = t.__vccOpts || t;
7981
7980
  for (const [r, o] of n)
7982
7981
  e[r] = o;
7983
7982
  return e;
7984
- }, Wf = {}, Yf = { class: "w-full max-w-xs bg-white rounded-xy p-2 border border-gray-100 shadow-md" };
7985
- function zf(t, n) {
7986
- return x(), k("div", Yf, [
7983
+ }, Yf = {}, zf = { class: "w-full max-w-xs bg-white rounded-xy p-2 border border-gray-100 shadow-md" };
7984
+ function Kf(t, n) {
7985
+ return x(), k("div", zf, [
7987
7986
  be(t.$slots, "default")
7988
7987
  ]);
7989
7988
  }
7990
- const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute inset-0 overflow-hidden" }, Jf = { class: "fixed inset-y-0 right-0 pl-10 max-w-full flex" }, Xf = { class: "w-screen max-w-md" }, Zf = { class: "h-full flex flex-col bg-white shadow-xl overflow-y-scroll" }, Qf = { class: "py-6 px-4 bg-xy-blue-700 sm:px-6" }, ep = { class: "flex items-center justify-between" }, tp = { class: "ml-3 h-7 flex items-center" }, np = { class: "mt-1" }, rp = ["textContent"], op = { class: "relative flex-1 py-6 px-4 sm:px-6" }, ap = /* @__PURE__ */ R({
7989
+ const Gf = /* @__PURE__ */ Wf(Yf, [["render", Kf]]), Jf = { class: "absolute inset-0 overflow-hidden" }, Xf = { class: "fixed inset-y-0 right-0 pl-10 max-w-full flex" }, Zf = { class: "w-screen max-w-md" }, Qf = { class: "h-full flex flex-col bg-white shadow-xl overflow-y-scroll" }, ep = { class: "py-6 px-4 bg-xy-blue-700 sm:px-6" }, tp = { class: "flex items-center justify-between" }, np = { class: "ml-3 h-7 flex items-center" }, rp = { class: "mt-1" }, op = ["textContent"], ap = { class: "relative flex-1 py-6 px-4 sm:px-6" }, sp = /* @__PURE__ */ R({
7991
7990
  __name: "Slideover",
7992
7991
  props: /* @__PURE__ */ ye({
7993
7992
  header: {},
@@ -8014,9 +8013,9 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8014
8013
  onClose: a[1] || (a[1] = (s) => e.value = !1)
8015
8014
  }, {
8016
8015
  default: N(() => [
8017
- v("div", Gf, [
8016
+ v("div", Jf, [
8018
8017
  _(h(yr), { class: "absolute inset-0" }),
8019
- v("div", Jf, [
8018
+ v("div", Xf, [
8020
8019
  _(h(Et), {
8021
8020
  as: "template",
8022
8021
  enter: "transform transition ease-in-out duration-500 sm:duration-700",
@@ -8027,10 +8026,10 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8027
8026
  "leave-to": "translate-x-full"
8028
8027
  }, {
8029
8028
  default: N(() => [
8030
- v("div", Xf, [
8031
- v("div", Zf, [
8032
- v("div", Qf, [
8033
- v("div", ep, [
8029
+ v("div", Zf, [
8030
+ v("div", Qf, [
8031
+ v("div", ep, [
8032
+ v("div", tp, [
8034
8033
  _(h(go), {
8035
8034
  as: "h3",
8036
8035
  class: "text-white"
@@ -8040,7 +8039,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8040
8039
  ]),
8041
8040
  _: 1
8042
8041
  }),
8043
- v("div", tp, [
8042
+ v("div", np, [
8044
8043
  v("button", {
8045
8044
  class: "bg-xy-blue-600 rounded-md text-gray-50 hover:text-white focus:outline-none focus:ring-2 focus:ring-white",
8046
8045
  onClick: a[0] || (a[0] = (s) => e.value = !1)
@@ -8053,14 +8052,14 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8053
8052
  ])
8054
8053
  ])
8055
8054
  ]),
8056
- v("div", np, [
8055
+ v("div", rp, [
8057
8056
  v("p", {
8058
8057
  class: "text-gray-50 text-base font-medium",
8059
8058
  textContent: U(o.description)
8060
- }, null, 8, rp)
8059
+ }, null, 8, op)
8061
8060
  ])
8062
8061
  ]),
8063
- v("div", op, [
8062
+ v("div", ap, [
8064
8063
  be(o.$slots, "default")
8065
8064
  ]),
8066
8065
  be(o.$slots, "footer")
@@ -8078,7 +8077,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8078
8077
  _: 3
8079
8078
  }, 8, ["show"]));
8080
8079
  }
8081
- }), sp = ["onMouseover", "onMouseleave"], ip = ["onMouseleave"], lp = { class: "max-w-xs" }, up = /* @__PURE__ */ R({
8080
+ }), ip = ["onMouseover", "onMouseleave"], lp = ["onMouseleave"], up = { class: "max-w-xs" }, cp = /* @__PURE__ */ R({
8082
8081
  __name: "Tooltip",
8083
8082
  props: {
8084
8083
  as: { default: "span" },
@@ -8103,9 +8102,9 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8103
8102
  onMouseover: (u) => o(u, l),
8104
8103
  onMouseleave: (u) => r(i)
8105
8104
  }, [
8106
- _(h(Id)),
8105
+ _(h(Ld)),
8107
8106
  s[1] || (s[1] = v("div", { class: "p-5 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2" }, null, -1))
8108
- ], 40, sp)
8107
+ ], 40, ip)
8109
8108
  ]),
8110
8109
  default: N(({ close: l }) => [
8111
8110
  v("div", {
@@ -8113,15 +8112,15 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8113
8112
  onMouseover: s[0] || (s[0] = ot((i) => nl(n) ? n.value = !0 : n = !0, ["prevent"])),
8114
8113
  onMouseleave: ot((i) => r(l), ["prevent"])
8115
8114
  }, [
8116
- v("div", lp, [
8115
+ v("div", up, [
8117
8116
  be(a.$slots, "default")
8118
8117
  ])
8119
- ], 40, ip)
8118
+ ], 40, lp)
8120
8119
  ]),
8121
8120
  _: 3
8122
8121
  }, 8, ["position", "as"]));
8123
8122
  }
8124
- }), cp = { class: "min-h-screen bg-gray-50" }, dp = { class: "mx-auto px-4 sm:px-6 lg:px-8" }, fp = { class: "flex justify-between h-16" }, pp = { class: "flex" }, mp = { class: "shrink-0 flex items-center" }, hp = ["src"], gp = { class: "hidden sm:-my-px sm:ml-6 sm:flex sm:space-x-8" }, vp = ["href", "aria-current"], bp = { class: "hidden sm:ml-6 sm:flex sm:items-center" }, yp = ["href"], wp = { class: "-mr-2 flex items-center sm:hidden" }, xp = { class: "pt-2 pb-3 space-y-1" }, Cp = ["href", "aria-current"], Dp = { class: "pt-4 pb-3 border-t border-gray-200" }, Ep = { class: "flex items-center px-4" }, kp = { class: "shrink-0" }, _p = { class: "ml-3" }, Sp = ["textContent"], $p = ["textContent"], Tp = { class: "mt-3 space-y-1" }, Mp = ["href"], Pp = { class: "mx-auto sm:px-6 lg:px-8" }, Ap = { class: "px-4 py-8 sm:px-0" }, Op = /* @__PURE__ */ R({
8123
+ }), dp = { class: "min-h-screen bg-gray-50" }, fp = { class: "mx-auto px-4 sm:px-6 lg:px-8" }, pp = { class: "flex justify-between h-16" }, mp = { class: "flex" }, hp = { class: "shrink-0 flex items-center" }, gp = ["src"], vp = { class: "hidden sm:-my-px sm:ml-6 sm:flex sm:space-x-8" }, bp = ["href", "aria-current"], yp = { class: "hidden sm:ml-6 sm:flex sm:items-center" }, wp = ["href"], xp = { class: "-mr-2 flex items-center sm:hidden" }, Cp = { class: "pt-2 pb-3 space-y-1" }, Dp = ["href", "aria-current"], Ep = { class: "pt-4 pb-3 border-t border-gray-200" }, kp = { class: "flex items-center px-4" }, _p = { class: "shrink-0" }, Sp = { class: "ml-3" }, $p = ["textContent"], Tp = ["textContent"], Mp = { class: "mt-3 space-y-1" }, Pp = ["href"], Ap = { class: "mx-auto sm:px-6 lg:px-8" }, Op = { class: "px-4 py-8 sm:px-0" }, Rp = /* @__PURE__ */ R({
8125
8124
  __name: "StackedLayout",
8126
8125
  props: {
8127
8126
  activeUrl: { default: "" },
@@ -8133,23 +8132,23 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8133
8132
  setup(t) {
8134
8133
  const n = t, e = (r) => n.activeUrl === r;
8135
8134
  return (r, o) => (x(), k(te, null, [
8136
- v("div", cp, [
8135
+ v("div", dp, [
8137
8136
  _(h(ec), {
8138
8137
  as: "nav",
8139
8138
  class: "bg-white shadow-sm"
8140
8139
  }, {
8141
8140
  default: N(({ open: a }) => [
8142
- v("div", dp, [
8143
- v("div", fp, [
8144
- v("div", pp, [
8145
- v("div", mp, [
8141
+ v("div", fp, [
8142
+ v("div", pp, [
8143
+ v("div", mp, [
8144
+ v("div", hp, [
8146
8145
  v("img", {
8147
8146
  class: "block h-8 w-auto",
8148
8147
  src: r.iconUrl,
8149
8148
  alt: "XY Trees"
8150
- }, null, 8, hp)
8149
+ }, null, 8, gp)
8151
8150
  ]),
8152
- v("div", gp, [
8151
+ v("div", vp, [
8153
8152
  (x(!0), k(te, null, se(r.navigation, (s) => (x(), k("a", {
8154
8153
  key: s.name,
8155
8154
  href: s.url,
@@ -8158,10 +8157,10 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8158
8157
  "inline-flex items-center px-1 pt-1 border-b-2 text-sm font-semibold"
8159
8158
  ]),
8160
8159
  "aria-current": e(s.url) ? "page" : void 0
8161
- }, U(s.name), 11, vp))), 128))
8160
+ }, U(s.name), 11, bp))), 128))
8162
8161
  ])
8163
8162
  ]),
8164
- v("div", bp, [
8163
+ v("div", yp, [
8165
8164
  _(h(vo), {
8166
8165
  as: "div",
8167
8166
  class: "ml-3 relative"
@@ -8197,7 +8196,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8197
8196
  l ? "bg-gray-100" : "",
8198
8197
  "block px-4 py-2 text-sm text-gray-700 font-semibold"
8199
8198
  ])
8200
- }, U(s.name), 11, yp)
8199
+ }, U(s.name), 11, wp)
8201
8200
  ]),
8202
8201
  _: 2
8203
8202
  }, 1024))), 128))
@@ -8211,7 +8210,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8211
8210
  _: 1
8212
8211
  })
8213
8212
  ]),
8214
- v("div", wp, [
8213
+ v("div", xp, [
8215
8214
  _(h(tc), { class: "bg-white inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500" }, {
8216
8215
  default: N(() => [
8217
8216
  o[1] || (o[1] = v("span", { class: "sr-only" }, "Open main menu", -1)),
@@ -8219,7 +8218,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8219
8218
  key: 1,
8220
8219
  class: "block h-6 w-6",
8221
8220
  "aria-hidden": "true"
8222
- })) : (x(), H(h(Nd), {
8221
+ })) : (x(), H(h(Fd), {
8223
8222
  key: 0,
8224
8223
  class: "block h-6 w-6",
8225
8224
  "aria-hidden": "true"
@@ -8232,7 +8231,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8232
8231
  ]),
8233
8232
  _(h(nc), { class: "sm:hidden" }, {
8234
8233
  default: N(() => [
8235
- v("div", xp, [
8234
+ v("div", Cp, [
8236
8235
  (x(!0), k(te, null, se(r.navigation, (s) => (x(), k("a", {
8237
8236
  key: s.name,
8238
8237
  href: s.url,
@@ -8241,31 +8240,31 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8241
8240
  "block pl-3 pr-4 py-2 border-l-4 text-base font-semibold"
8242
8241
  ]),
8243
8242
  "aria-current": e(s.url) ? "page" : void 0
8244
- }, U(s.name), 11, Cp))), 128))
8243
+ }, U(s.name), 11, Dp))), 128))
8245
8244
  ]),
8246
- v("div", Dp, [
8247
- v("div", Ep, [
8248
- v("div", kp, [
8245
+ v("div", Ep, [
8246
+ v("div", kp, [
8247
+ v("div", _p, [
8249
8248
  _(h(Pa), { class: "text-gray-500 h-10 w-10 rounded-full" })
8250
8249
  ]),
8251
- v("div", _p, [
8250
+ v("div", Sp, [
8252
8251
  r.currentUser.name ? (x(), k("div", {
8253
8252
  key: 0,
8254
8253
  class: "text-base font-medium text-gray-800",
8255
8254
  textContent: U(r.currentUser.name)
8256
- }, null, 8, Sp)) : B("", !0),
8255
+ }, null, 8, $p)) : B("", !0),
8257
8256
  v("div", {
8258
8257
  class: "text-sm font-medium text-gray-500",
8259
8258
  textContent: U(r.currentUser.email)
8260
- }, null, 8, $p)
8259
+ }, null, 8, Tp)
8261
8260
  ])
8262
8261
  ]),
8263
- v("div", Tp, [
8262
+ v("div", Mp, [
8264
8263
  (x(!0), k(te, null, se(r.userNavigation, (s) => (x(), k("a", {
8265
8264
  key: s.name,
8266
8265
  href: s.url,
8267
8266
  class: "block px-4 py-2 text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-100"
8268
- }, U(s.name), 9, Mp))), 128))
8267
+ }, U(s.name), 9, Pp))), 128))
8269
8268
  ])
8270
8269
  ])
8271
8270
  ]),
@@ -8276,8 +8275,8 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8276
8275
  }),
8277
8276
  be(r.$slots, "header"),
8278
8277
  v("main", null, [
8279
- v("div", Pp, [
8280
- v("div", Ap, [
8278
+ v("div", Ap, [
8279
+ v("div", Op, [
8281
8280
  be(r.$slots, "default")
8282
8281
  ])
8283
8282
  ])
@@ -8287,7 +8286,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8287
8286
  _(To)
8288
8287
  ], 64));
8289
8288
  }
8290
- }), Rp = (t) => t == null, Ip = {
8289
+ }), Ip = (t) => t == null, Lp = {
8291
8290
  clearSelection() {
8292
8291
  console.warn(
8293
8292
  "clearSelection() was called on a static table, did you mean to use DynamicTable?"
@@ -8304,7 +8303,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8304
8303
  );
8305
8304
  },
8306
8305
  selectedData: M(() => [])
8307
- }, pi = (t, n, e, r = Ip) => {
8306
+ }, pi = (t, n, e, r = Lp) => {
8308
8307
  const o = A(n), a = A(t), s = A(e), l = M(() => s.value.actions.length > 0), i = M(() => o.value.filter((c) => c.show ?? !0).map((c) => {
8309
8308
  let d = "";
8310
8309
  switch ((c == null ? void 0 : c.alignment) || "left") {
@@ -8343,21 +8342,21 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8343
8342
  return {
8344
8343
  columns: i,
8345
8344
  hasActions: l,
8346
- isEmptyCellValue: Rp,
8345
+ isEmptyCellValue: Ip,
8347
8346
  rows: u
8348
8347
  };
8349
- }, Lp = {
8348
+ }, Np = {
8350
8349
  key: 0,
8351
8350
  class: "flex items-center space-x-2 justify-end"
8352
- }, Np = { class: "isolate inline-flex rounded-md shadow-sm" }, Fp = ["disabled", "onClick"], Bp = { class: "relative inline-flex items-center gap-x-1.5" }, ao = /* @__PURE__ */ R({
8351
+ }, Fp = { class: "isolate inline-flex rounded-md shadow-sm" }, Bp = ["disabled", "onClick"], jp = { class: "relative inline-flex items-center gap-x-1.5" }, ao = /* @__PURE__ */ R({
8353
8352
  __name: "TableActionButtons",
8354
8353
  props: {
8355
8354
  actions: { default: () => [] }
8356
8355
  },
8357
8356
  setup(t) {
8358
8357
  const n = t, { actions: e, hasActions: r } = zs(Ut(n, "actions"));
8359
- return (o, a) => h(r) ? (x(), k("div", Lp, [
8360
- v("span", Np, [
8358
+ return (o, a) => h(r) ? (x(), k("div", Np, [
8359
+ v("span", Fp, [
8361
8360
  (x(!0), k(te, null, se(h(e), (s, l) => (x(), k("button", {
8362
8361
  key: l,
8363
8362
  type: "button",
@@ -8369,7 +8368,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8369
8368
  disabled: s.disabled,
8370
8369
  onClick: ot(s.onClick, ["stop"])
8371
8370
  }, [
8372
- v("span", Bp, [
8371
+ v("span", jp, [
8373
8372
  s.icon ? (x(), H(it(s.icon), {
8374
8373
  key: 0,
8375
8374
  class: I(["-ml-0.5 h-4 w-4 group-disabled:text-gray-300", s.label ? "text-gray-400" : "text-gray-600"]),
@@ -8377,17 +8376,17 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8377
8376
  }, null, 8, ["class"])) : B("", !0),
8378
8377
  fe(" " + U(s.label), 1)
8379
8378
  ])
8380
- ], 10, Fp))), 128))
8379
+ ], 10, Bp))), 128))
8381
8380
  ])
8382
8381
  ])) : B("", !0);
8383
8382
  }
8384
- }), jp = { class: "flex flex-col" }, Vp = { class: "-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Hp = { class: "inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8" }, Up = { class: "overflow-hidden border-b border-gray-200 shadow sm:rounded-lg" }, qp = { class: "min-w-full divide-y divide-gray-200" }, Wp = { class: "bg-gray-100" }, Yp = {
8383
+ }), Vp = { class: "flex flex-col" }, Hp = { class: "-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Up = { class: "inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8" }, qp = { class: "overflow-hidden border-b border-gray-200 shadow sm:rounded-lg" }, Wp = { class: "min-w-full divide-y divide-gray-200" }, Yp = { class: "bg-gray-100" }, zp = {
8385
8384
  key: 0,
8386
8385
  class: "px-6 py-3 text-xs font-medium tracking-wider text-gray-900 uppercase leading-4"
8387
- }, zp = { class: "bg-white" }, Kp = {
8386
+ }, Kp = { class: "bg-white" }, Gp = {
8388
8387
  key: 0,
8389
8388
  class: "px-6 py-2 text-sm text-gray-700 whitespace-nowrap leading-5"
8390
- }, Gp = { key: 0 }, Jp = ["colspan"], Xp = /* @__PURE__ */ R({
8389
+ }, Jp = { key: 0 }, Xp = ["colspan"], Zp = /* @__PURE__ */ R({
8391
8390
  __name: "DataTable",
8392
8391
  props: {
8393
8392
  tableActions: { default: () => ({ type: "dropdown", actions: [] }) },
@@ -8400,21 +8399,21 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8400
8399
  Ut(n, "tableColumns"),
8401
8400
  Ut(n, "tableActions")
8402
8401
  );
8403
- return (s, l) => (x(), k("div", jp, [
8404
- v("div", Vp, [
8405
- v("div", Hp, [
8406
- v("div", Up, [
8407
- v("table", qp, [
8408
- v("thead", Wp, [
8402
+ return (s, l) => (x(), k("div", Vp, [
8403
+ v("div", Hp, [
8404
+ v("div", Up, [
8405
+ v("div", qp, [
8406
+ v("table", Wp, [
8407
+ v("thead", Yp, [
8409
8408
  v("tr", null, [
8410
8409
  (x(!0), k(te, null, se(h(e), (i, u) => (x(), k("th", {
8411
8410
  key: u,
8412
8411
  class: I(["px-6 py-3 text-xs font-medium tracking-wider text-gray-900 uppercase leading-4", i.alignment])
8413
8412
  }, U(i.title), 3))), 128)),
8414
- h(r) ? (x(), k("th", Yp)) : B("", !0)
8413
+ h(r) ? (x(), k("th", zp)) : B("", !0)
8415
8414
  ])
8416
8415
  ]),
8417
- v("tbody", zp, [
8416
+ v("tbody", Kp, [
8418
8417
  (x(!0), k(te, null, se(h(a), (i, u) => (x(), k("tr", {
8419
8418
  key: u,
8420
8419
  class: "even:bg-gray-50"
@@ -8431,7 +8430,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8431
8430
  ]),
8432
8431
  _: 2
8433
8432
  }, 1032, ["class"]))), 128)),
8434
- h(r) ? (x(), k("td", Kp, [
8433
+ h(r) ? (x(), k("td", Gp, [
8435
8434
  s.tableActions.type === "dropdown" ? (x(), H(h(ko), {
8436
8435
  key: 0,
8437
8436
  actions: i.actions
@@ -8441,11 +8440,11 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8441
8440
  }, null, 8, ["actions"]))
8442
8441
  ])) : B("", !0)
8443
8442
  ]))), 128)),
8444
- h(a).length === 0 ? (x(), k("tr", Gp, [
8443
+ h(a).length === 0 ? (x(), k("tr", Jp, [
8445
8444
  v("td", {
8446
8445
  colspan: h(e).length + (h(r) ? 1 : 0),
8447
8446
  class: "px-6 py-4 text-sm text-gray-700 whitespace-nowrap leading-5"
8448
- }, " No items were found! ", 8, Jp)
8447
+ }, " No items were found! ", 8, Xp)
8449
8448
  ])) : B("", !0)
8450
8449
  ])
8451
8450
  ])
@@ -8454,23 +8453,23 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8454
8453
  ])
8455
8454
  ]));
8456
8455
  }
8457
- }), Zp = { class: "flex items-center justify-center space-x-8" }, Qp = { class: "font-medium" }, em = { class: "flex items-center space-x-5" }, tm = {
8456
+ }), Qp = { class: "flex items-center justify-center space-x-8" }, em = { class: "font-medium" }, tm = { class: "flex items-center space-x-5" }, nm = {
8458
8457
  key: 0,
8459
8458
  class: "block w-2.5 h-2.5 bg-xy-green rounded-full hover:bg-green-900 focus:bg-green-900"
8460
- }, nm = {
8459
+ }, rm = {
8461
8460
  key: 1,
8462
8461
  class: "relative flex items-center justify-center"
8463
- }, rm = {
8462
+ }, om = {
8464
8463
  key: 2,
8465
8464
  href: "#",
8466
8465
  class: "block w-2.5 h-2.5 bg-gray-200 rounded-full hover:bg-gray-400 focus:bg-gray-400"
8467
- }, om = {
8466
+ }, am = {
8468
8467
  key: 0,
8469
8468
  class: "flex shrink-0"
8470
- }, am = {
8469
+ }, sm = {
8471
8470
  key: 0,
8472
8471
  class: "inline-flex rounded-md shadow-sm"
8473
- }, sm = ["textContent"], im = { class: "ml-3 inline-flex rounded-md shadow-sm" }, lm = ["textContent"], um = /* @__PURE__ */ R({
8472
+ }, im = ["textContent"], lm = { class: "ml-3 inline-flex rounded-md shadow-sm" }, um = ["textContent"], cm = /* @__PURE__ */ R({
8474
8473
  __name: "Steps",
8475
8474
  props: {
8476
8475
  hideActions: { type: Boolean, default: !1 },
@@ -8488,84 +8487,84 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8488
8487
  e("previous");
8489
8488
  };
8490
8489
  return (a, s) => (x(), k("div", null, [
8491
- v("nav", Zp, [
8492
- v("p", Qp, "Step " + U(a.step) + " of " + U(a.total), 1),
8493
- v("ul", em, [
8490
+ v("nav", Qp, [
8491
+ v("p", em, "Step " + U(a.step) + " of " + U(a.total), 1),
8492
+ v("ul", tm, [
8494
8493
  (x(!0), k(te, null, se(a.total, (l) => (x(), k("li", { key: l }, [
8495
- a.step > l ? (x(), k("span", tm)) : a.step === l ? (x(), k("div", nm, s[0] || (s[0] = [
8494
+ a.step > l ? (x(), k("span", nm)) : a.step === l ? (x(), k("div", rm, s[0] || (s[0] = [
8496
8495
  v("span", { class: "absolute w-5 h-5 p-px flex" }, [
8497
8496
  v("span", { class: "w-full h-full rounded-full bg-green-100" })
8498
8497
  ], -1),
8499
8498
  v("span", { class: "relative block w-2.5 h-2.5 bg-xy-green rounded-full" }, null, -1)
8500
- ]))) : (x(), k("span", rm))
8499
+ ]))) : (x(), k("span", om))
8501
8500
  ]))), 128))
8502
8501
  ])
8503
8502
  ]),
8504
- a.hideActions ? B("", !0) : (x(), k("div", om, [
8505
- a.hidePrevious ? B("", !0) : (x(), k("span", am, [
8503
+ a.hideActions ? B("", !0) : (x(), k("div", am, [
8504
+ a.hidePrevious ? B("", !0) : (x(), k("span", sm, [
8506
8505
  v("button", {
8507
8506
  type: "button",
8508
8507
  class: "xy-btn-secondary",
8509
8508
  onClick: o,
8510
8509
  textContent: U(a.previousText)
8511
- }, null, 8, sm)
8510
+ }, null, 8, im)
8512
8511
  ])),
8513
- v("span", im, [
8512
+ v("span", lm, [
8514
8513
  v("button", {
8515
8514
  type: "button",
8516
8515
  class: "xy-btn",
8517
8516
  onClick: r,
8518
8517
  textContent: U(a.nextText)
8519
- }, null, 8, lm)
8518
+ }, null, 8, um)
8520
8519
  ])
8521
8520
  ]))
8522
8521
  ]));
8523
8522
  }
8524
- }), cm = { class: "flex flex-col mb-4 space-y-4 lg:space-y-0 lg:flex-row lg:justify-between" }, dm = {
8523
+ }), dm = { class: "flex flex-col mb-4 space-y-4 lg:space-y-0 lg:flex-row lg:justify-between" }, fm = {
8525
8524
  key: 0,
8526
8525
  class: "w-full max-w-lg lg:max-w-xs"
8527
- }, fm = { class: "flex items-center gap-x-2" }, pm = { class: "flex-1" }, mm = {
8526
+ }, pm = { class: "flex items-center gap-x-2" }, mm = { class: "flex-1" }, hm = {
8528
8527
  key: 1,
8529
8528
  class: "w-full max-w-lg lg:max-w-xs"
8530
- }, hm = { class: "flex items-center gap-x-2" }, gm = { class: "flex-1" }, vm = { class: "relative z-0 min-w-full align-middle border-b border-gray-200 shadow sm:rounded-lg overflow-x-auto" }, bm = { class: "min-w-full divide-y divide-gray-200" }, ym = { class: "bg-gray-100" }, wm = {
8529
+ }, gm = { class: "flex items-center gap-x-2" }, vm = { class: "flex-1" }, bm = { class: "relative z-0 min-w-full align-middle border-b border-gray-200 shadow sm:rounded-lg overflow-x-auto" }, ym = { class: "min-w-full divide-y divide-gray-200" }, wm = { class: "bg-gray-100" }, xm = {
8531
8530
  key: 0,
8532
8531
  scope: "col",
8533
8532
  class: "pl-6 w-4 leading-none"
8534
- }, xm = ["checked", "indeterminate"], Cm = ["onClick"], Dm = { key: 0 }, Em = { key: 1 }, km = {
8533
+ }, Cm = ["checked", "indeterminate"], Dm = ["onClick"], Em = { key: 0 }, km = { key: 1 }, _m = {
8535
8534
  key: 0,
8536
8535
  xmlns: "http://www.w3.org/2000/svg",
8537
8536
  fill: "none",
8538
8537
  viewBox: "0 0 24 24",
8539
8538
  stroke: "currentColor",
8540
8539
  class: "h-5 inline"
8541
- }, _m = {
8540
+ }, Sm = {
8542
8541
  key: 1,
8543
8542
  xmlns: "http://www.w3.org/2000/svg",
8544
8543
  viewBox: "0 0 20 20",
8545
8544
  fill: "currentColor",
8546
8545
  class: "h-5 inline"
8547
- }, Sm = {
8546
+ }, $m = {
8548
8547
  key: 2,
8549
8548
  xmlns: "http://www.w3.org/2000/svg",
8550
8549
  viewBox: "0 0 20 20",
8551
8550
  fill: "currentColor",
8552
8551
  class: "h-5 inline"
8553
- }, $m = {
8552
+ }, Tm = {
8554
8553
  key: 1,
8555
8554
  class: "px-6 py-3 text-xs font-medium tracking-wider text-gray-900 uppercase leading-4"
8556
- }, Tm = { key: 0 }, Mm = {
8555
+ }, Mm = { key: 0 }, Pm = {
8557
8556
  colspan: "100%",
8558
8557
  class: "px-6 py-2.5 border-t bg-neutral-50"
8559
- }, Pm = { class: "flex items-center gap-x-3" }, Am = { class: "text-sm shrink-0" }, Om = { class: "font-medium" }, Rm = { class: "font-medium" }, Im = { class: "bg-white" }, Lm = ["onClick"], Nm = {
8558
+ }, Am = { class: "flex items-center gap-x-3" }, Om = { class: "text-sm shrink-0" }, Rm = { class: "font-medium" }, Im = { class: "font-medium" }, Lm = { class: "bg-white" }, Nm = ["onClick"], Fm = {
8560
8559
  key: 0,
8561
8560
  class: "pl-6 w-4 leading-none"
8562
- }, Fm = ["disabled", "value"], Bm = {
8561
+ }, Bm = ["disabled", "value"], jm = {
8563
8562
  key: 1,
8564
8563
  class: "px-6 py-2 text-sm text-gray-700 whitespace-nowrap leading-5"
8565
- }, jm = { key: 0 }, Vm = ["colspan"], Hm = {
8564
+ }, Vm = { key: 0 }, Hm = ["colspan"], Um = {
8566
8565
  key: 0,
8567
8566
  class: "mt-4"
8568
- }, Um = /* @__PURE__ */ R({
8567
+ }, qm = /* @__PURE__ */ R({
8569
8568
  __name: "DynamicTable",
8570
8569
  props: /* @__PURE__ */ ye({
8571
8570
  tableActions: { default: () => ({ type: "dropdown", actions: [] }) },
@@ -8682,13 +8681,13 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8682
8681
  var Nt;
8683
8682
  const Se = qa("BaseInput");
8684
8683
  return x(), k("div", null, [
8685
- v("div", cm, [
8686
- q.tableOptions.search ? (x(), k("div", dm, [
8684
+ v("div", dm, [
8685
+ q.tableOptions.search ? (x(), k("div", fm, [
8687
8686
  W[7] || (W[7] = v("label", {
8688
8687
  for: "table-search",
8689
8688
  class: "sr-only"
8690
8689
  }, "Search", -1)),
8691
- v("div", fm, [
8690
+ v("div", pm, [
8692
8691
  W[6] || (W[6] = v("div", {
8693
8692
  "aria-hidden": "true",
8694
8693
  class: "shrink-0 aspect-square rounded-full bg-gray-50 text-gray-400 h-10 w-10 flex items-center justify-center pointer-events-none"
@@ -8705,7 +8704,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8705
8704
  })
8706
8705
  ])
8707
8706
  ], -1)),
8708
- v("div", pm, [
8707
+ v("div", mm, [
8709
8708
  _(Se, {
8710
8709
  id: "table-search",
8711
8710
  modelValue: d.value,
@@ -8718,12 +8717,12 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8718
8717
  ])
8719
8718
  ])
8720
8719
  ])) : B("", !0),
8721
- q.tableOptions.dateSearch ? (x(), k("div", mm, [
8720
+ q.tableOptions.dateSearch ? (x(), k("div", hm, [
8722
8721
  W[9] || (W[9] = v("label", {
8723
8722
  for: "table-date-range",
8724
8723
  class: "sr-only"
8725
8724
  }, "Date Range", -1)),
8726
- v("div", hm, [
8725
+ v("div", gm, [
8727
8726
  W[8] || (W[8] = v("div", {
8728
8727
  "aria-hidden": "true",
8729
8728
  class: "shrink-0 aspect-square rounded-full bg-gray-50 text-gray-400 h-10 w-10 flex items-center justify-center pointer-events-none"
@@ -8742,7 +8741,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8742
8741
  })
8743
8742
  ])
8744
8743
  ], -1)),
8745
- v("div", gm, [
8744
+ v("div", vm, [
8746
8745
  _(_o, Be({
8747
8746
  id: "table-date-range",
8748
8747
  modelValue: u.value,
@@ -8752,11 +8751,11 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8752
8751
  ])
8753
8752
  ])) : B("", !0)
8754
8753
  ]),
8755
- v("div", vm, [
8756
- v("table", bm, [
8757
- v("thead", ym, [
8754
+ v("div", bm, [
8755
+ v("table", ym, [
8756
+ v("thead", wm, [
8758
8757
  v("tr", null, [
8759
- z.value ? (x(), k("th", wm, [
8758
+ z.value ? (x(), k("th", xm, [
8760
8759
  v("input", {
8761
8760
  class: I([
8762
8761
  "h-4 w-4 rounded cursor-pointer",
@@ -8768,7 +8767,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8768
8767
  indeterminate: Me.value,
8769
8768
  type: "checkbox",
8770
8769
  onChange: J
8771
- }, null, 40, xm)
8770
+ }, null, 40, Cm)
8772
8771
  ])) : B("", !0),
8773
8772
  (x(!0), k(te, null, se(h(le), (re, je) => (x(), k("th", {
8774
8773
  key: je,
@@ -8778,22 +8777,22 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8778
8777
  class: I(["inline-flex items-center gap-2", { "cursor-pointer": re.sort }]),
8779
8778
  onClick: ot((tt) => re.sort ? g(re.sort) : void 0, ["prevent"])
8780
8779
  }, [
8781
- re.title ? (x(), k("span", Dm, U(re.title), 1)) : B("", !0),
8782
- re.sort ? (x(), k("span", Em, [
8783
- l.value !== re.sort ? (x(), k("svg", km, W[10] || (W[10] = [
8780
+ re.title ? (x(), k("span", Em, U(re.title), 1)) : B("", !0),
8781
+ re.sort ? (x(), k("span", km, [
8782
+ l.value !== re.sort ? (x(), k("svg", _m, W[10] || (W[10] = [
8784
8783
  v("path", {
8785
8784
  "stroke-linecap": "round",
8786
8785
  "stroke-linejoin": "round",
8787
8786
  "stroke-width": "2",
8788
8787
  d: "M8 9l4-4 4 4m0 6l-4 4-4-4"
8789
8788
  }, null, -1)
8790
- ]))) : i.value == "desc" ? (x(), k("svg", _m, W[11] || (W[11] = [
8789
+ ]))) : i.value == "desc" ? (x(), k("svg", Sm, W[11] || (W[11] = [
8791
8790
  v("path", {
8792
8791
  "fill-rule": "evenodd",
8793
8792
  d: "M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",
8794
8793
  "clip-rule": "evenodd"
8795
8794
  }, null, -1)
8796
- ]))) : (x(), k("svg", Sm, W[12] || (W[12] = [
8795
+ ]))) : (x(), k("svg", $m, W[12] || (W[12] = [
8797
8796
  v("path", {
8798
8797
  "fill-rule": "evenodd",
8799
8798
  d: "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",
@@ -8801,25 +8800,25 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8801
8800
  }, null, -1)
8802
8801
  ])))
8803
8802
  ])) : B("", !0)
8804
- ], 10, Cm)
8803
+ ], 10, Dm)
8805
8804
  ], 2))), 128)),
8806
- h(ue) ? (x(), k("th", $m)) : B("", !0)
8805
+ h(ue) ? (x(), k("th", Tm)) : B("", !0)
8807
8806
  ]),
8808
- z.value && D.value.length > 0 ? (x(), k("tr", Tm, [
8809
- v("td", Mm, [
8810
- v("div", Pm, [
8811
- v("div", Am, [
8807
+ z.value && D.value.length > 0 ? (x(), k("tr", Mm, [
8808
+ v("td", Pm, [
8809
+ v("div", Am, [
8810
+ v("div", Om, [
8812
8811
  W[13] || (W[13] = fe(" Selected ")),
8813
- v("span", Om, U(T.value.length), 1),
8812
+ v("span", Rm, U(T.value.length), 1),
8814
8813
  W[14] || (W[14] = fe(" of ")),
8815
- v("span", Rm, U(Q.value.length), 1)
8814
+ v("span", Im, U(Q.value.length), 1)
8816
8815
  ]),
8817
8816
  _(ao, { actions: Y.value }, null, 8, ["actions"])
8818
8817
  ])
8819
8818
  ])
8820
8819
  ])) : B("", !0)
8821
8820
  ]),
8822
- v("tbody", Im, [
8821
+ v("tbody", Lm, [
8823
8822
  (x(!0), k(te, null, se(h(Ke), (re, je) => {
8824
8823
  var tt, kt;
8825
8824
  return x(), k("tr", {
@@ -8827,7 +8826,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8827
8826
  class: "even:bg-gray-50",
8828
8827
  onClick: (we) => q.$emit("click:row", re.rowData)
8829
8828
  }, [
8830
- z.value ? (x(), k("td", Nm, [
8829
+ z.value ? (x(), k("td", Fm, [
8831
8830
  et(v("input", {
8832
8831
  "onUpdate:modelValue": W[3] || (W[3] = (we) => D.value = we),
8833
8832
  class: I([
@@ -8839,7 +8838,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8839
8838
  disabled: !Q.value.includes((tt = re.rowData) == null ? void 0 : tt.id),
8840
8839
  type: "checkbox",
8841
8840
  value: (kt = re.rowData) == null ? void 0 : kt.id
8842
- }, null, 8, Fm), [
8841
+ }, null, 8, Bm), [
8843
8842
  [uo, D.value]
8844
8843
  ])
8845
8844
  ])) : B("", !0),
@@ -8855,7 +8854,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8855
8854
  ]),
8856
8855
  _: 2
8857
8856
  }, 1032, ["class"]))), 128)),
8858
- h(ue) ? (x(), k("td", Bm, [
8857
+ h(ue) ? (x(), k("td", jm, [
8859
8858
  q.tableActions.type === "dropdown" ? (x(), H(h(ko), {
8860
8859
  key: 0,
8861
8860
  actions: re.actions
@@ -8864,18 +8863,18 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8864
8863
  actions: re.actions
8865
8864
  }, null, 8, ["actions"]))
8866
8865
  ])) : B("", !0)
8867
- ], 8, Lm);
8866
+ ], 8, Nm);
8868
8867
  }), 128)),
8869
- y.value ? B("", !0) : (x(), k("tr", jm, [
8868
+ y.value ? B("", !0) : (x(), k("tr", Vm, [
8870
8869
  v("td", {
8871
8870
  colspan: h(le).length + (h(ue) ? 1 : 0),
8872
8871
  class: "px-6 py-4 text-sm text-gray-700 whitespace-nowrap leading-5"
8873
- }, " No items were found! ", 8, Vm)
8872
+ }, " No items were found! ", 8, Hm)
8874
8873
  ]))
8875
8874
  ])
8876
8875
  ])
8877
8876
  ]),
8878
- y.value ? (x(), k("div", Hm, [
8877
+ y.value ? (x(), k("div", Um, [
8879
8878
  _(h(mi), {
8880
8879
  modelValue: c.value,
8881
8880
  "onUpdate:modelValue": [
@@ -8888,7 +8887,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8888
8887
  ]);
8889
8888
  };
8890
8889
  }
8891
- }), qm = { class: "flex flex-col items-center space-y-3.5 sm:flex-row sm:space-y-0 sm:gap-x-3 sm:justify-center" }, Wm = { class: "text-center text-sm text-neutral-700 sm:text-left sm:mr-auto sm:w-1/3" }, Ym = { class: "font-medium" }, zm = { class: "font-medium" }, Km = { class: "font-medium" }, Gm = { class: "flex flex-col items-center space-y-3.5 sm:flex-row sm:space-y-0 sm:gap-x-3 sm:flex-1" }, Jm = { class: "flex gap-3 items-center justify-center shrink-0 md:w-1/2" }, Xm = ["disabled"], Zm = { class: "max-w-[50px]" }, Qm = { class: "text-sm" }, eh = { class: "font-medium" }, th = ["disabled"], nh = { class: "max-w-[150px] sm:ml-auto" }, mi = /* @__PURE__ */ R({
8890
+ }), Wm = { class: "flex flex-col items-center space-y-3.5 sm:flex-row sm:space-y-0 sm:gap-x-3 sm:justify-center" }, Ym = { class: "text-center text-sm text-neutral-700 sm:text-left sm:mr-auto sm:w-1/3" }, zm = { class: "font-medium" }, Km = { class: "font-medium" }, Gm = { class: "font-medium" }, Jm = { class: "flex flex-col items-center space-y-3.5 sm:flex-row sm:space-y-0 sm:gap-x-3 sm:flex-1" }, Xm = { class: "flex gap-3 items-center justify-center shrink-0 md:w-1/2" }, Zm = ["disabled"], Qm = { class: "max-w-[50px]" }, eh = { class: "text-sm" }, th = { class: "font-medium" }, nh = ["disabled"], rh = { class: "max-w-[150px] sm:ml-auto" }, mi = /* @__PURE__ */ R({
8892
8891
  __name: "TablePaginator",
8893
8892
  props: /* @__PURE__ */ ye({
8894
8893
  pageOptions: {}
@@ -8933,18 +8932,18 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8933
8932
  end: Math.min(c * d, f)
8934
8933
  };
8935
8934
  });
8936
- return (c, d) => (x(), k("div", qm, [
8937
- v("p", Wm, [
8935
+ return (c, d) => (x(), k("div", Wm, [
8936
+ v("p", Ym, [
8938
8937
  d[3] || (d[3] = fe(" Showing ")),
8939
- v("span", Ym, U(u.value.start), 1),
8938
+ v("span", zm, U(u.value.start), 1),
8940
8939
  d[4] || (d[4] = fe(" to ")),
8941
- v("span", zm, U(u.value.end), 1),
8940
+ v("span", Km, U(u.value.end), 1),
8942
8941
  d[5] || (d[5] = fe(" of ")),
8943
- v("span", Km, U(e.value.totalItems), 1),
8942
+ v("span", Gm, U(e.value.totalItems), 1),
8944
8943
  d[6] || (d[6] = fe(" results "))
8945
8944
  ]),
8946
- v("div", Gm, [
8947
- v("div", Jm, [
8945
+ v("div", Jm, [
8946
+ v("div", Xm, [
8948
8947
  v("button", {
8949
8948
  class: "xy-btn-neutral",
8950
8949
  disabled: r.value <= 1,
@@ -8953,8 +8952,8 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8953
8952
  }, d[7] || (d[7] = [
8954
8953
  fe(" ← "),
8955
8954
  v("span", { class: "sr-only" }, "Previous", -1)
8956
- ]), 8, Xm),
8957
- v("div", Zm, [
8955
+ ]), 8, Zm),
8956
+ v("div", Qm, [
8958
8957
  _(h(Ci), {
8959
8958
  "model-value": r.value,
8960
8959
  min: 1,
@@ -8967,9 +8966,9 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8967
8966
  ]
8968
8967
  }, null, 8, ["model-value", "max", "onUpdate:modelValue", "onKeydown"])
8969
8968
  ]),
8970
- v("div", Qm, [
8969
+ v("div", eh, [
8971
8970
  d[8] || (d[8] = fe(" of ")),
8972
- v("span", eh, U(e.value.totalPages), 1)
8971
+ v("span", th, U(e.value.totalPages), 1)
8973
8972
  ]),
8974
8973
  v("button", {
8975
8974
  class: "xy-btn-neutral",
@@ -8979,9 +8978,9 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8979
8978
  }, d[9] || (d[9] = [
8980
8979
  v("span", { class: "sr-only" }, "Next", -1),
8981
8980
  fe(" → ")
8982
- ]), 8, th)
8981
+ ]), 8, nh)
8983
8982
  ]),
8984
- v("div", nh, [
8983
+ v("div", rh, [
8985
8984
  _(h(So), {
8986
8985
  modelValue: o.value,
8987
8986
  "onUpdate:modelValue": d[2] || (d[2] = (f) => o.value = f),
@@ -8991,7 +8990,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
8991
8990
  ])
8992
8991
  ]));
8993
8992
  }
8994
- }), rh = { class: "hidden sm:block" }, oh = ["onClick", "textContent"], ah = /* @__PURE__ */ R({
8993
+ }), oh = { class: "hidden sm:block" }, ah = ["onClick", "textContent"], sh = /* @__PURE__ */ R({
8995
8994
  __name: "Tabs",
8996
8995
  props: /* @__PURE__ */ ye({
8997
8996
  pillDesign: { type: Boolean, default: !1 },
@@ -9023,7 +9022,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9023
9022
  options: a.tabs
9024
9023
  }, null, 8, ["modelValue", "options"])
9025
9024
  ], 2),
9026
- v("div", rh, [
9025
+ v("div", oh, [
9027
9026
  v("div", {
9028
9027
  class: I({ "border-b border-gray-200": o.value })
9029
9028
  }, [
@@ -9036,17 +9035,17 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9036
9035
  class: I(r(i.value, u > 0)),
9037
9036
  onClick: ot((c) => e.value = i.value, ["prevent"]),
9038
9037
  textContent: U(i.label)
9039
- }, null, 10, oh))), 128))
9038
+ }, null, 10, ah))), 128))
9040
9039
  ], 2)
9041
9040
  ], 2)
9042
9041
  ])
9043
9042
  ]);
9044
9043
  };
9045
9044
  }
9046
- }), sh = {
9045
+ }), ih = {
9047
9046
  key: 0,
9048
9047
  class: "sr-only"
9049
- }, ih = { class: "ml-3 mt-0.5" }, lh = /* @__PURE__ */ R({
9048
+ }, lh = { class: "ml-3 mt-0.5" }, uh = /* @__PURE__ */ R({
9050
9049
  inheritAttrs: !1,
9051
9050
  __name: "Toggle",
9052
9051
  props: /* @__PURE__ */ ye({
@@ -9075,7 +9074,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9075
9074
  disabled: r.value
9076
9075
  }, {
9077
9076
  default: N(() => [
9078
- o.label ? B("", !0) : (x(), k("span", sh, "Use")),
9077
+ o.label ? B("", !0) : (x(), k("span", ih, "Use")),
9079
9078
  v("span", {
9080
9079
  "aria-hidden": "true",
9081
9080
  class: I([
@@ -9086,7 +9085,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9086
9085
  ]),
9087
9086
  _: 1
9088
9087
  }, 8, ["modelValue", "class", "disabled"]),
9089
- v("div", ih, [
9088
+ v("div", lh, [
9090
9089
  o.label ? (x(), H(h(mc), { key: 0 }, {
9091
9090
  default: N(() => [
9092
9091
  _(ze, {
@@ -9107,20 +9106,20 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9107
9106
  _: 1
9108
9107
  }));
9109
9108
  }
9110
- }), uh = { "aria-label": "Progress" }, ch = {
9109
+ }), ch = { "aria-label": "Progress" }, dh = {
9111
9110
  role: "list",
9112
9111
  class: "flex items-center"
9113
- }, dh = {
9112
+ }, fh = {
9114
9113
  class: "absolute inset-0 flex items-center",
9115
9114
  "aria-hidden": "true"
9116
- }, fh = ["aria-current"], ph = {
9115
+ }, ph = ["aria-current"], mh = {
9117
9116
  key: 1,
9118
9117
  class: "h-3 w-3 rounded-full bg-xy-blue",
9119
9118
  "aria-hidden": "true"
9120
- }, mh = { class: "sr-only" }, hh = {
9119
+ }, hh = { class: "sr-only" }, gh = {
9121
9120
  key: 2,
9122
9121
  class: "sr-only"
9123
- }, gh = /* @__PURE__ */ R({
9122
+ }, vh = /* @__PURE__ */ R({
9124
9123
  __name: "ProgressCircles",
9125
9124
  props: {
9126
9125
  current: {},
@@ -9135,13 +9134,13 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9135
9134
  status: a
9136
9135
  };
9137
9136
  }));
9138
- return (r, o) => (x(), k("nav", uh, [
9139
- v("ol", ch, [
9137
+ return (r, o) => (x(), k("nav", ch, [
9138
+ v("ol", dh, [
9140
9139
  (x(!0), k(te, null, se(e.value, (a, s) => (x(), k("li", {
9141
9140
  key: a.name,
9142
9141
  class: I([s !== e.value.length - 1 ? "pr-8" : "", "relative"])
9143
9142
  }, [
9144
- v("div", dh, [
9143
+ v("div", fh, [
9145
9144
  v("div", {
9146
9145
  class: I([
9147
9146
  "h-0.5 w-full",
@@ -9162,24 +9161,24 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9162
9161
  key: 0,
9163
9162
  class: "h-3 w-3 text-white",
9164
9163
  "aria-hidden": "true"
9165
- })) : a.status === "current" ? (x(), k("span", ph)) : B("", !0),
9166
- v("span", mh, U(a.name), 1),
9167
- a.description ? (x(), k("span", hh, U(a.description), 1)) : B("", !0)
9168
- ], 10, fh)
9164
+ })) : a.status === "current" ? (x(), k("span", mh)) : B("", !0),
9165
+ v("span", hh, U(a.name), 1),
9166
+ a.description ? (x(), k("span", gh, U(a.description), 1)) : B("", !0)
9167
+ ], 10, ph)
9169
9168
  ], 2))), 128))
9170
9169
  ])
9171
9170
  ]));
9172
9171
  }
9173
- }), vh = { "aria-label": "Progress" }, bh = {
9172
+ }), bh = { "aria-label": "Progress" }, yh = {
9174
9173
  role: "list",
9175
9174
  class: "overflow-hidden"
9176
- }, yh = ["aria-current"], wh = { class: "flex h-9 items-center" }, xh = {
9175
+ }, wh = ["aria-current"], xh = { class: "flex h-9 items-center" }, Ch = {
9177
9176
  key: 1,
9178
9177
  class: "h-2.5 w-2.5 rounded-full bg-xy-blue"
9179
- }, Ch = { class: "ml-4 flex min-w-0 flex-col" }, Dh = {
9178
+ }, Dh = { class: "ml-4 flex min-w-0 flex-col" }, Eh = {
9180
9179
  key: 0,
9181
9180
  class: "text-sm text-gray-600"
9182
- }, Eh = /* @__PURE__ */ R({
9181
+ }, kh = /* @__PURE__ */ R({
9183
9182
  __name: "ProgressCirclesLabeled",
9184
9183
  props: {
9185
9184
  current: {},
@@ -9194,8 +9193,8 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9194
9193
  status: a
9195
9194
  };
9196
9195
  }));
9197
- return (r, o) => (x(), k("div", vh, [
9198
- v("ol", bh, [
9196
+ return (r, o) => (x(), k("div", bh, [
9197
+ v("ol", yh, [
9199
9198
  (x(!0), k(te, null, se(e.value, (a, s) => (x(), k("li", {
9200
9199
  key: s,
9201
9200
  class: I([s !== e.value.length - 1 ? "pb-6" : "", "relative"])
@@ -9212,7 +9211,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9212
9211
  class: "group relative flex items-start",
9213
9212
  "aria-current": a.status === "current" ? !0 : void 0
9214
9213
  }, [
9215
- v("span", wh, [
9214
+ v("span", xh, [
9216
9215
  v("span", {
9217
9216
  class: I({
9218
9217
  "relative z-10 flex h-6 w-6 items-center justify-center rounded-full": !0,
@@ -9225,10 +9224,10 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9225
9224
  key: 0,
9226
9225
  class: "h-4 w-4 text-white",
9227
9226
  "aria-hidden": "true"
9228
- })) : a.status === "current" ? (x(), k("span", xh)) : B("", !0)
9227
+ })) : a.status === "current" ? (x(), k("span", Ch)) : B("", !0)
9229
9228
  ], 2)
9230
9229
  ]),
9231
- v("span", Ch, [
9230
+ v("span", Dh, [
9232
9231
  v("span", {
9233
9232
  class: I({
9234
9233
  "text-sm font-bold": !0,
@@ -9238,14 +9237,14 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9238
9237
  "mt-2": !a.description
9239
9238
  })
9240
9239
  }, U(a.name), 3),
9241
- a.description ? (x(), k("span", Dh, U(a.description), 1)) : B("", !0)
9240
+ a.description ? (x(), k("span", Eh, U(a.description), 1)) : B("", !0)
9242
9241
  ])
9243
- ], 8, yh)
9242
+ ], 8, wh)
9244
9243
  ], 2))), 128))
9245
9244
  ])
9246
9245
  ]));
9247
9246
  }
9248
- }), kh = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder", "type"], _h = /* @__PURE__ */ R({
9247
+ }), _h = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder", "type"], Sh = /* @__PURE__ */ R({
9249
9248
  inheritAttrs: !1,
9250
9249
  __name: "BaseInput",
9251
9250
  props: /* @__PURE__ */ ye(/* @__PURE__ */ pt({
@@ -9336,7 +9335,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9336
9335
  (...g) => h(u) && h(u)(...g)),
9337
9336
  onInvalid: f[2] || (f[2] = //@ts-ignore
9338
9337
  (...g) => h(i) && h(i)(...g))
9339
- }), null, 16, kh), [
9338
+ }), null, 16, _h), [
9340
9339
  [
9341
9340
  ol,
9342
9341
  r.value,
@@ -9356,7 +9355,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9356
9355
  }, null, 8, ["id", "text"])
9357
9356
  ]));
9358
9357
  }
9359
- }), Sh = { class: "relative flex items-start" }, $h = { class: "flex items-center h-5" }, Th = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "checked"], Mh = { class: "ml-3" }, Ph = /* @__PURE__ */ R({
9358
+ }), $h = { class: "relative flex items-start" }, Th = { class: "flex items-center h-5" }, Mh = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "checked"], Ph = { class: "ml-3" }, Ah = /* @__PURE__ */ R({
9360
9359
  inheritAttrs: !1,
9361
9360
  __name: "Checkbox",
9362
9361
  props: /* @__PURE__ */ ye(/* @__PURE__ */ pt({
@@ -9379,8 +9378,8 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9379
9378
  validate: i,
9380
9379
  onInvalid: u
9381
9380
  } = gt(n);
9382
- return (c, d) => (x(), k("div", Sh, [
9383
- v("div", $h, [
9381
+ return (c, d) => (x(), k("div", $h, [
9382
+ v("div", Th, [
9384
9383
  et(v("input", Be({
9385
9384
  id: h(o),
9386
9385
  "onUpdate:modelValue": d[0] || (d[0] = (f) => e.value = f),
@@ -9400,11 +9399,11 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9400
9399
  (...f) => h(i) && h(i)(...f)),
9401
9400
  onInvalid: d[2] || (d[2] = //@ts-ignore
9402
9401
  (...f) => h(u) && h(u)(...f))
9403
- }), null, 16, Th), [
9402
+ }), null, 16, Mh), [
9404
9403
  [uo, e.value]
9405
9404
  ])
9406
9405
  ]),
9407
- v("div", Mh, [
9406
+ v("div", Ph, [
9408
9407
  _(ze, {
9409
9408
  id: h(r).labelledby,
9410
9409
  for: h(o),
@@ -9424,7 +9423,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9424
9423
  ])
9425
9424
  ]));
9426
9425
  }
9427
- }), Ah = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder"], Oh = /* @__PURE__ */ R({
9426
+ }), Oh = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder"], Rh = /* @__PURE__ */ R({
9428
9427
  inheritAttrs: !1,
9429
9428
  __name: "DateTimeInput",
9430
9429
  props: /* @__PURE__ */ ye(/* @__PURE__ */ pt({
@@ -9473,7 +9472,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9473
9472
  (...c) => h(l) && h(l)(...c)),
9474
9473
  onInvalid: u[2] || (u[2] = //@ts-ignore
9475
9474
  (...c) => h(s) && h(s)(...c))
9476
- }), null, 16, Ah), [
9475
+ }), null, 16, Oh), [
9477
9476
  [co, e.value]
9478
9477
  ]),
9479
9478
  _(Ie, {
@@ -9488,7 +9487,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9488
9487
  }, null, 8, ["id", "text"])
9489
9488
  ]));
9490
9489
  }
9491
- }), Rh = {
9490
+ }), Ih = {
9492
9491
  key: 0,
9493
9492
  class: "text-red-700/80"
9494
9493
  }, On = /* @__PURE__ */ R({
@@ -9506,12 +9505,12 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9506
9505
  }, r.$attrs), {
9507
9506
  default: N(() => [
9508
9507
  fe(U(e.value), 1),
9509
- n.required ? (x(), k("span", Rh, "*")) : B("", !0)
9508
+ n.required ? (x(), k("span", Ih, "*")) : B("", !0)
9510
9509
  ]),
9511
9510
  _: 1
9512
9511
  }, 16)) : B("", !0);
9513
9512
  }
9514
- }), Ih = ["aria-labelledby", "aria-describedby", "aria-errormessage"], Lh = { key: 0 }, Nh = { class: "flex" }, Fh = { class: "flex items-center h-5" }, Bh = ["id", "aria-labelledby", "aria-describedby", "disabled", "value"], jh = { class: "ml-3" }, Vh = /* @__PURE__ */ R({
9513
+ }), Lh = ["aria-labelledby", "aria-describedby", "aria-errormessage"], Nh = { key: 0 }, Fh = { class: "flex" }, Bh = { class: "flex items-center h-5" }, jh = ["id", "aria-labelledby", "aria-describedby", "disabled", "value"], Vh = { class: "ml-3" }, Hh = /* @__PURE__ */ R({
9515
9514
  inheritAttrs: !1,
9516
9515
  __name: "MultiCheckboxes",
9517
9516
  props: /* @__PURE__ */ ye(/* @__PURE__ */ pt({
@@ -9563,7 +9562,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9563
9562
  "aria-describedby": h(r).describedby,
9564
9563
  "aria-errormessage": h(r).errormessage
9565
9564
  }, [
9566
- g.label ? (x(), k("div", Lh, [
9565
+ g.label ? (x(), k("div", Nh, [
9567
9566
  _(On, {
9568
9567
  id: h(r).labelledby,
9569
9568
  label: g.label,
@@ -9582,7 +9581,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9582
9581
  text: h(s)
9583
9582
  }, null, 8, ["id", "text"])
9584
9583
  ])) : B("", !0),
9585
- v("div", Nh, [
9584
+ v("div", Fh, [
9586
9585
  v("div", {
9587
9586
  class: I(["grid gap-y-5", {
9588
9587
  "sm:grid sm:gap-x-10": g.columns !== void 0,
@@ -9594,7 +9593,7 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9594
9593
  key: y.value,
9595
9594
  class: "flex items-start"
9596
9595
  }, [
9597
- v("div", Fh, [
9596
+ v("div", Bh, [
9598
9597
  et(v("input", Be({
9599
9598
  id: `${h(o)}-${w}`,
9600
9599
  "onUpdate:modelValue": p[0] || (p[0] = (D) => e.value = D),
@@ -9613,11 +9612,11 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9613
9612
  }, g.$attrs, {
9614
9613
  onChange: p[1] || (p[1] = //@ts-ignore
9615
9614
  (...D) => h(l) && h(l)(...D))
9616
- }), null, 16, Bh), [
9615
+ }), null, 16, jh), [
9617
9616
  [uo, e.value]
9618
9617
  ])
9619
9618
  ]),
9620
- v("div", jh, [
9619
+ v("div", Vh, [
9621
9620
  _(ze, {
9622
9621
  id: `${h(o)}-${w}-label`,
9623
9622
  for: `${h(o)}-${w}`,
@@ -9643,21 +9642,21 @@ const Kf = /* @__PURE__ */ qf(Wf, [["render", zf]]), Gf = { class: "absolute ins
9643
9642
  type: "checkbox",
9644
9643
  onInvalid: f
9645
9644
  }, null, 544)) : B("", !0)
9646
- ], 8, Ih));
9645
+ ], 8, Lh));
9647
9646
  }
9648
9647
  });
9649
9648
  function Aa(t) {
9650
9649
  const { anchorOffset: n = 0, focusOffset: e = 0 } = t.ownerDocument.getSelection() || {}, r = Math.min(n, e), o = Math.max(n, e);
9651
9650
  return [r, o];
9652
9651
  }
9653
- function Hh(t, [n, e]) {
9652
+ function Uh(t, [n, e]) {
9654
9653
  var r, o, a, s;
9655
9654
  const l = t.ownerDocument, i = l.createRange();
9656
9655
  i.setStart(t.firstChild || t, Math.min(n, (o = (r = t.textContent) === null || r === void 0 ? void 0 : r.length) !== null && o !== void 0 ? o : 0)), i.setEnd(t.lastChild || t, Math.min(e, (s = (a = t.textContent) === null || a === void 0 ? void 0 : a.length) !== null && s !== void 0 ? s : 0));
9657
9656
  const u = l.getSelection();
9658
9657
  u && (u.removeAllRanges(), u.addRange(i));
9659
9658
  }
9660
- class Uh {
9659
+ class qh {
9661
9660
  constructor(n) {
9662
9661
  this.element = n, this.maxLength = 1 / 0;
9663
9662
  }
@@ -9677,14 +9676,14 @@ class Uh {
9677
9676
  return Aa(this.element)[1];
9678
9677
  }
9679
9678
  setSelectionRange(n, e) {
9680
- Hh(this.element, [n ?? 0, e ?? 0]);
9679
+ Uh(this.element, [n ?? 0, e ?? 0]);
9681
9680
  }
9682
9681
  select() {
9683
9682
  this.setSelectionRange(0, this.value.length);
9684
9683
  }
9685
9684
  }
9686
- function qh(t) {
9687
- const n = new Uh(t);
9685
+ function Wh(t) {
9686
+ const n = new qh(t);
9688
9687
  return new Proxy(t, {
9689
9688
  get(e, r) {
9690
9689
  if (r in n)
@@ -9698,14 +9697,14 @@ function qh(t) {
9698
9697
  }
9699
9698
  });
9700
9699
  }
9701
- const Wh = (t) => t.isContentEditable ? qh(t) : t.querySelector("input,textarea") || t, Mo = {
9700
+ const Yh = (t) => t.isContentEditable ? Wh(t) : t.querySelector("input,textarea") || t, Mo = {
9702
9701
  mask: /^.*$/,
9703
9702
  preprocessors: [],
9704
9703
  postprocessors: [],
9705
9704
  plugins: [],
9706
9705
  overwriteMode: "shift"
9707
9706
  };
9708
- class Yh {
9707
+ class zh {
9709
9708
  constructor() {
9710
9709
  this.now = null, this.past = [], this.future = [];
9711
9710
  }
@@ -9729,13 +9728,13 @@ class Yh {
9729
9728
  this.now = n, this.updateElementState(n, { inputType: e, data: null });
9730
9729
  }
9731
9730
  }
9732
- function zh(t, ...n) {
9731
+ function Kh(t, ...n) {
9733
9732
  return n.every(({ value: e }) => e === t.value);
9734
9733
  }
9735
- function Kh(t, ...n) {
9734
+ function Gh(t, ...n) {
9736
9735
  return n.every(({ value: e, selection: r }) => e === t.value && r[0] === t.selection[0] && r[1] === t.selection[1]);
9737
9736
  }
9738
- function Gh({ value: t, selection: n }, e, r) {
9737
+ function Jh({ value: t, selection: n }, e, r) {
9739
9738
  const [o, a] = n, s = typeof r == "function" ? r({ value: t, selection: n }) : r;
9740
9739
  return {
9741
9740
  value: t,
@@ -9761,7 +9760,7 @@ function hi(t, n) {
9761
9760
  return _r(o) ? e === o : e.match(o);
9762
9761
  }) : n.test(t);
9763
9762
  }
9764
- function Jh(t, n, e) {
9763
+ function Xh(t, n, e) {
9765
9764
  let r = null, o = null;
9766
9765
  const a = Array.from(t.value).reduce((l, i, u) => {
9767
9766
  const c = Oa(n, l, i, e), d = l + c, f = n[d.length] || "";
@@ -9772,7 +9771,7 @@ function Jh(t, n, e) {
9772
9771
  selection: [r ?? a.length, o ?? a.length]
9773
9772
  };
9774
9773
  }
9775
- function Xh({ value: t, selection: n }, e) {
9774
+ function Zh({ value: t, selection: n }, e) {
9776
9775
  const [r, o] = n;
9777
9776
  let a = r, s = o;
9778
9777
  const l = Array.from(t).reduce((i, u, c) => {
@@ -9790,7 +9789,7 @@ function Xh({ value: t, selection: n }, e) {
9790
9789
  function Yn(t, n, e = null) {
9791
9790
  if (hi(t.value, n))
9792
9791
  return t;
9793
- const { value: r, selection: o } = Array.isArray(n) ? Jh(t, n, e) : Xh(t, n);
9792
+ const { value: r, selection: o } = Array.isArray(n) ? Xh(t, n, e) : Zh(t, n);
9794
9793
  return {
9795
9794
  selection: o,
9796
9795
  value: Array.isArray(n) ? r.slice(0, n.length) : r
@@ -9818,14 +9817,14 @@ class so {
9818
9817
  const { value: o, maskOptions: a } = this, s = this.getMaskExpression({
9819
9818
  value: o.slice(0, n) + r + o.slice(e),
9820
9819
  selection: [n + r.length, n + r.length]
9821
- }), l = { value: o, selection: [n, e] }, i = Ra(l, s), [u, c] = Gh(i, r, a.overwriteMode).selection, d = i.value.slice(0, u) + r, f = d.length, g = Yn({
9820
+ }), l = { value: o, selection: [n, e] }, i = Ra(l, s), [u, c] = Jh(i, r, a.overwriteMode).selection, d = i.value.slice(0, u) + r, f = d.length, g = Yn({
9822
9821
  value: d + i.value.slice(c),
9823
9822
  selection: [f, f]
9824
9823
  }, s, l);
9825
9824
  if (o.slice(0, n) === Yn({
9826
9825
  value: d,
9827
9826
  selection: [f, f]
9828
- }, s, l).value || Kh(this, g))
9827
+ }, s, l).value || Gh(this, g))
9829
9828
  throw new Error("Invalid mask value");
9830
9829
  this.value = g.value, this.selection = g.selection;
9831
9830
  }
@@ -9843,7 +9842,7 @@ class so {
9843
9842
  return typeof e == "function" ? e(n) : e;
9844
9843
  }
9845
9844
  }
9846
- class Zh {
9845
+ class Qh {
9847
9846
  constructor(n) {
9848
9847
  this.element = n, this.listeners = [];
9849
9848
  }
@@ -9872,12 +9871,12 @@ function wn(t, n, e) {
9872
9871
  */
9873
9872
  t.keyCode === e;
9874
9873
  }
9875
- function Qh(t) {
9874
+ function eg(t) {
9876
9875
  return wn(t, ut.CTRL, yn.Y) || // Windows
9877
9876
  wn(t, ut.CTRL | ut.SHIFT, yn.Z) || // Windows & Android
9878
9877
  wn(t, ut.META | ut.SHIFT, yn.Z);
9879
9878
  }
9880
- function eg(t) {
9879
+ function tg(t) {
9881
9880
  return wn(t, ut.CTRL, yn.Z) || // Windows & Android
9882
9881
  wn(t, ut.META, yn.Z);
9883
9882
  }
@@ -9901,7 +9900,7 @@ function Po(t, n) {
9901
9900
  { bubbles: !0 }
9902
9901
  ));
9903
9902
  }
9904
- function tg({ value: t, selection: n }, e) {
9903
+ function ng({ value: t, selection: n }, e) {
9905
9904
  const [r, o] = n;
9906
9905
  if (r !== o)
9907
9906
  return [r, o];
@@ -9910,17 +9909,17 @@ function tg({ value: t, selection: n }, e) {
9910
9909
  `) + 1;
9911
9910
  return [e ? r : a, e ? a : o];
9912
9911
  }
9913
- function ng({ value: t, selection: n }, e) {
9912
+ function rg({ value: t, selection: n }, e) {
9914
9913
  const [r, o] = n;
9915
9914
  return r !== o ? [r, o] : (e ? [r, o + 1] : [r - 1, o]).map((s) => Math.min(Math.max(s, 0), t.length));
9916
9915
  }
9917
- const rg = /\s+$/g, og = /^\s+/g, Ia = /\s/;
9918
- function ag({ value: t, selection: n }, e) {
9916
+ const og = /\s+$/g, ag = /^\s+/g, Ia = /\s/;
9917
+ function sg({ value: t, selection: n }, e) {
9919
9918
  const [r, o] = n;
9920
9919
  if (r !== o)
9921
9920
  return [r, o];
9922
9921
  if (e) {
9923
- const i = t.slice(r), [u] = i.match(og) || [
9922
+ const i = t.slice(r), [u] = i.match(ag) || [
9924
9923
  ""
9925
9924
  ], c = i.trimStart().search(Ia);
9926
9925
  return [
@@ -9928,7 +9927,7 @@ function ag({ value: t, selection: n }, e) {
9928
9927
  c !== -1 ? r + u.length + c : t.length
9929
9928
  ];
9930
9929
  }
9931
- const a = t.slice(0, o), [s] = a.match(rg) || [""], l = a.trimEnd().split("").reverse().findIndex((i) => Ia.exec(i));
9930
+ const a = t.slice(0, o), [s] = a.match(og) || [""], l = a.trimEnd().split("").reverse().findIndex((i) => Ia.exec(i));
9932
9931
  return [
9933
9932
  l !== -1 ? o - s.length - l : 0,
9934
9933
  o
@@ -9941,12 +9940,12 @@ function Sr(t, n) {
9941
9940
  const e = Object.assign(Object.assign({}, Mo), n), r = ar(e.preprocessors), o = ar(e.postprocessors), a = typeof t == "string" ? { value: t, selection: [0, 0] } : t, { elementState: s } = r({ elementState: a, data: "" }, "validation"), l = new so(s, e), { value: i, selection: u } = o(l, a);
9942
9941
  return typeof t == "string" ? i : { value: i, selection: u };
9943
9942
  }
9944
- class sg extends Yh {
9943
+ class ig extends zh {
9945
9944
  constructor(n, e) {
9946
- super(), this.element = n, this.maskitoOptions = e, this.isTextArea = this.element.nodeName === "TEXTAREA", this.eventListener = new Zh(this.element), this.options = Object.assign(Object.assign({}, Mo), this.maskitoOptions), this.upcomingElementState = null, this.preprocessor = ar(this.options.preprocessors), this.postprocessor = ar(this.options.postprocessors), this.teardowns = this.options.plugins.map((r) => r(this.element, this.options)), this.updateHistory(this.elementState), this.eventListener.listen("keydown", (r) => {
9947
- if (Qh(r))
9948
- return r.preventDefault(), this.redo();
9945
+ super(), this.element = n, this.maskitoOptions = e, this.isTextArea = this.element.nodeName === "TEXTAREA", this.eventListener = new Qh(this.element), this.options = Object.assign(Object.assign({}, Mo), this.maskitoOptions), this.upcomingElementState = null, this.preprocessor = ar(this.options.preprocessors), this.postprocessor = ar(this.options.postprocessors), this.teardowns = this.options.plugins.map((r) => r(this.element, this.options)), this.updateHistory(this.elementState), this.eventListener.listen("keydown", (r) => {
9949
9946
  if (eg(r))
9947
+ return r.preventDefault(), this.redo();
9948
+ if (tg(r))
9950
9949
  return r.preventDefault(), this.undo();
9951
9950
  }), this.eventListener.listen("beforeinput", (r) => {
9952
9951
  var o, a, s;
@@ -9958,7 +9957,7 @@ class sg extends Yh {
9958
9957
  return this.handleDelete({
9959
9958
  event: r,
9960
9959
  isForward: l,
9961
- selection: ng(this.elementState, l)
9960
+ selection: rg(this.elementState, l)
9962
9961
  });
9963
9962
  case "deleteHardLineBackward":
9964
9963
  case "deleteHardLineForward":
@@ -9967,7 +9966,7 @@ class sg extends Yh {
9967
9966
  return this.handleDelete({
9968
9967
  event: r,
9969
9968
  isForward: l,
9970
- selection: tg(this.elementState, l),
9969
+ selection: ng(this.elementState, l),
9971
9970
  force: !0
9972
9971
  });
9973
9972
  case "deleteWordBackward":
@@ -9975,7 +9974,7 @@ class sg extends Yh {
9975
9974
  return this.handleDelete({
9976
9975
  event: r,
9977
9976
  isForward: l,
9978
- selection: ag(this.elementState, l),
9977
+ selection: sg(this.elementState, l),
9979
9978
  force: !0
9980
9979
  });
9981
9980
  case "historyRedo":
@@ -10057,7 +10056,7 @@ class sg extends Yh {
10057
10056
  u.deleteCharacters([c, d]);
10058
10057
  const f = this.postprocessor(u, a);
10059
10058
  if (!(a.value.slice(0, s) + a.value.slice(l) === f.value && !o && !this.element.isContentEditable)) {
10060
- if (zh(a, i, u, f))
10059
+ if (Kh(a, i, u, f))
10061
10060
  return n.preventDefault(), this.updateSelectionRange(r ? [d, d] : [c, c]);
10062
10061
  this.upcomingElementState = f;
10063
10062
  }
@@ -10085,12 +10084,12 @@ class sg extends Yh {
10085
10084
  const sr = /* @__PURE__ */ new Map(), io = /* @__PURE__ */ new Map();
10086
10085
  async function La(t, n) {
10087
10086
  var e, r;
10088
- const o = (e = n == null ? void 0 : n.elementPredicate) !== null && e !== void 0 ? e : Wh;
10087
+ const o = (e = n == null ? void 0 : n.elementPredicate) !== null && e !== void 0 ? e : Yh;
10089
10088
  io.set(t, o);
10090
10089
  const a = await o(t);
10091
- io.get(t) === o && ((r = sr.get(t)) === null || r === void 0 || r.destroy(), n && sr.set(t, new sg(a, n)));
10090
+ io.get(t) === o && ((r = sr.get(t)) === null || r === void 0 || r.destroy(), n && sr.set(t, new ig(a, n)));
10092
10091
  }
10093
- const ig = {
10092
+ const lg = {
10094
10093
  unmounted: (t) => {
10095
10094
  var n;
10096
10095
  (n = sr.get(t)) === null || n === void 0 || n.destroy(), sr.delete(t), io.delete(t);
@@ -10104,15 +10103,15 @@ function ir(t, n, e) {
10104
10103
  const r = Math.min(Number(e), Math.max(Number(n), Number(t)));
10105
10104
  return t instanceof Date ? new Date(r) : r;
10106
10105
  }
10107
- const lg = [".", ",", "б", "ю"], ug = " ", cg = "​", gi = "–", vi = "—", lr = "-", lo = "−", bi = "ー", dg = [":", "."];
10106
+ const ug = [".", ",", "б", "ю"], cg = " ", dg = "​", gi = "–", vi = "—", lr = "-", lo = "−", bi = "ー", fg = [":", "."];
10108
10107
  function cn(t) {
10109
10108
  return t;
10110
10109
  }
10111
- function fg() {
10110
+ function pg() {
10112
10111
  }
10113
- const yi = /[\\^$.*+?()[\]{}|]/g, pg = new RegExp(yi.source);
10112
+ const yi = /[\\^$.*+?()[\]{}|]/g, mg = new RegExp(yi.source);
10114
10113
  function Fe(t) {
10115
- return t && pg.test(t) ? t.replaceAll(yi, String.raw`\$&`) : t;
10114
+ return t && mg.test(t) ? t.replaceAll(yi, String.raw`\$&`) : t;
10116
10115
  }
10117
10116
  function bt(t, { prefix: n, postfix: e }) {
10118
10117
  var r, o;
@@ -10123,7 +10122,7 @@ function bt(t, { prefix: n, postfix: e }) {
10123
10122
  cleanValue: l || i ? t.slice(l.length, i.length ? -i.length : 1 / 0) : t
10124
10123
  };
10125
10124
  }
10126
- function mg(t, n) {
10125
+ function hg(t, n) {
10127
10126
  let e = "";
10128
10127
  for (let r = 0; r < t.length; r++) {
10129
10128
  if (t[r] !== n[r])
@@ -10135,7 +10134,7 @@ function mg(t, n) {
10135
10134
  function Na(t) {
10136
10135
  return t.replaceAll(/[0-9]/g, (n) => String.fromCharCode(n.charCodeAt(0) - 65248));
10137
10136
  }
10138
- function hg() {
10137
+ function gg() {
10139
10138
  return ({ elementState: t, data: n }) => {
10140
10139
  const { value: e, selection: r } = t;
10141
10140
  return {
@@ -10147,15 +10146,15 @@ function hg() {
10147
10146
  };
10148
10147
  };
10149
10148
  }
10150
- new RegExp(`[${dg.map(Fe).join("")}]$`);
10151
- function gg(t) {
10149
+ new RegExp(`[${fg.map(Fe).join("")}]$`);
10150
+ function vg(t) {
10152
10151
  const n = new RegExp(`${Fe(t)}$`);
10153
10152
  return t ? ({ value: e, selection: r }, o) => {
10154
10153
  if (!e && !o.value.endsWith(t))
10155
10154
  return { value: e, selection: r };
10156
10155
  if (!e.endsWith(t) && !o.value.endsWith(t))
10157
10156
  return { selection: r, value: e + t };
10158
- const a = o.value.replace(n, ""), s = o.selection[1] > a.length, l = mg(a, e);
10157
+ const a = o.value.replace(n, ""), s = o.selection[1] > a.length, l = hg(a, e);
10159
10158
  return {
10160
10159
  selection: r,
10161
10160
  value: Array.from(t).reverse().reduce((i, u, c) => {
@@ -10165,7 +10164,7 @@ function gg(t) {
10165
10164
  };
10166
10165
  } : cn;
10167
10166
  }
10168
- function vg(t) {
10167
+ function bg(t) {
10169
10168
  return t ? ({ value: n, selection: e }, r) => {
10170
10169
  if (n.startsWith(t) || // already valid
10171
10170
  !n && !r.value.startsWith(t))
@@ -10183,7 +10182,7 @@ function Ao(t, n, e) {
10183
10182
  return r.addEventListener(t, a, e), () => r.removeEventListener(t, a, e);
10184
10183
  };
10185
10184
  }
10186
- function bg({ prefix: t, postfix: n }) {
10185
+ function yg({ prefix: t, postfix: n }) {
10187
10186
  return ({ elementState: e, data: r }) => {
10188
10187
  const { cleanValue: o } = bt(r, {
10189
10188
  prefix: t,
@@ -10206,7 +10205,7 @@ function $r(t, n = ".") {
10206
10205
  const e = !!new RegExp(`^\\D*[${lo}\\${lr}${gi}${vi}${bi}]`).exec(t), r = Fe(n), o = t.replaceAll(new RegExp(`${r}(?!\\d)`, "g"), "").replaceAll(new RegExp(`[^\\d${r}]`, "g"), "").replace(n, n && ".");
10207
10206
  return o ? +`${e ? lr : ""}${o}` : NaN;
10208
10207
  }
10209
- function yg(t) {
10208
+ function wg(t) {
10210
10209
  var n;
10211
10210
  const e = String(t), [r = "", o] = e.split("e-");
10212
10211
  let a = e;
@@ -10220,10 +10219,10 @@ function xi(t, { decimalSeparator: n, minusSign: e }) {
10220
10219
  const [r = "", o = ""] = n ? t.split(n) : [t], a = Fe(e), [, s = "", l = ""] = new RegExp(`^(?:[^\\d${a}])?(${a})?(.*)`).exec(r) || [];
10221
10220
  return { minus: s, integerPart: l, decimalPart: o };
10222
10221
  }
10223
- function wg({ decimalSeparator: t, thousandSeparator: n, decimalPseudoSeparators: e = lg }) {
10222
+ function xg({ decimalSeparator: t, thousandSeparator: n, decimalPseudoSeparators: e = ug }) {
10224
10223
  return e.filter((r) => r !== n && r !== t);
10225
10224
  }
10226
- function xg({ decimalSeparator: t, precision: n, decimalZeroPadding: e, prefix: r, postfix: o }) {
10225
+ function Cg({ decimalSeparator: t, precision: n, decimalZeroPadding: e, prefix: r, postfix: o }) {
10227
10226
  return n <= 0 || !e ? cn : ({ value: a, selection: s }) => {
10228
10227
  const { cleanValue: l, extractedPrefix: i, extractedPostfix: u } = bt(a, {
10229
10228
  prefix: r,
@@ -10238,7 +10237,7 @@ function xg({ decimalSeparator: t, precision: n, decimalZeroPadding: e, prefix:
10238
10237
  };
10239
10238
  };
10240
10239
  }
10241
- function Cg({ prefix: t, postfix: n, decimalSeparator: e, minusSign: r }) {
10240
+ function Dg({ prefix: t, postfix: n, decimalSeparator: e, minusSign: r }) {
10242
10241
  return ({ value: o, selection: a }) => {
10243
10242
  const [s] = a, { cleanValue: l, extractedPrefix: i, extractedPostfix: u } = bt(o, {
10244
10243
  prefix: t,
@@ -10253,7 +10252,7 @@ function Cg({ prefix: t, postfix: n, decimalSeparator: e, minusSign: r }) {
10253
10252
  } : { value: o, selection: a };
10254
10253
  };
10255
10254
  }
10256
- function Dg({ decimalSeparator: t, decimalPseudoSeparators: n, pseudoMinuses: e, prefix: r, postfix: o, minusSign: a }) {
10255
+ function Eg({ decimalSeparator: t, decimalPseudoSeparators: n, pseudoMinuses: e, prefix: r, postfix: o, minusSign: a }) {
10257
10256
  let s = !0;
10258
10257
  const l = wi({
10259
10258
  decimalSeparator: t,
@@ -10294,7 +10293,7 @@ function Dg({ decimalSeparator: t, decimalPseudoSeparators: n, pseudoMinuses: e,
10294
10293
  };
10295
10294
  };
10296
10295
  }
10297
- function Eg({ decimalSeparator: t, thousandSeparator: n, prefix: e, postfix: r }) {
10296
+ function kg({ decimalSeparator: t, thousandSeparator: n, prefix: e, postfix: r }) {
10298
10297
  const o = (s) => {
10299
10298
  const l = Fe(n);
10300
10299
  return s.replace(
@@ -10324,7 +10323,7 @@ function Eg({ decimalSeparator: t, thousandSeparator: n, prefix: e, postfix: r }
10324
10323
  };
10325
10324
  };
10326
10325
  }
10327
- function kg({ min: t, max: n, decimalSeparator: e, minusSign: r }) {
10326
+ function _g({ min: t, max: n, decimalSeparator: e, minusSign: r }) {
10328
10327
  return ({ value: o, selection: a }) => {
10329
10328
  const s = $r(o, e), l = (
10330
10329
  /**
@@ -10352,7 +10351,7 @@ function kg({ min: t, max: n, decimalSeparator: e, minusSign: r }) {
10352
10351
  };
10353
10352
  };
10354
10353
  }
10355
- function _g({ decimalSeparator: t, thousandSeparator: n, decimalZeroPadding: e }) {
10354
+ function Sg({ decimalSeparator: t, thousandSeparator: n, decimalZeroPadding: e }) {
10356
10355
  return ({ elementState: r, data: o }, a) => {
10357
10356
  const { value: s, selection: l } = r, [i, u] = l, c = s.slice(i, u), d = e ? [t, n] : [n], f = e && i > s.indexOf(t) && !!c.match(/^0+$/gi);
10358
10357
  return a !== "deleteBackward" && a !== "deleteForward" || !d.includes(c) && !f ? {
@@ -10367,7 +10366,7 @@ function _g({ decimalSeparator: t, thousandSeparator: n, decimalZeroPadding: e }
10367
10366
  };
10368
10367
  };
10369
10368
  }
10370
- function Sg({ decimalSeparator: t, precision: n, prefix: e, postfix: r }) {
10369
+ function $g({ decimalSeparator: t, precision: n, prefix: e, postfix: r }) {
10371
10370
  const o = new RegExp(`^\\D*${Fe(t)}`);
10372
10371
  return ({ elementState: a, data: s }) => {
10373
10372
  const { value: l, selection: i } = a, { cleanValue: u, extractedPrefix: c } = bt(l, {
@@ -10399,7 +10398,7 @@ function Ba({ validCharacter: t, pseudoCharacters: n, prefix: e, postfix: r }) {
10399
10398
  };
10400
10399
  };
10401
10400
  }
10402
- function $g({ decimalSeparator: t, prefix: n, postfix: e }) {
10401
+ function Tg({ decimalSeparator: t, prefix: n, postfix: e }) {
10403
10402
  return t ? ({ elementState: r, data: o }) => {
10404
10403
  const { value: a, selection: s } = r, [l, i] = s, { cleanValue: u } = bt(a, { prefix: n, postfix: e });
10405
10404
  return {
@@ -10408,7 +10407,7 @@ function $g({ decimalSeparator: t, prefix: n, postfix: e }) {
10408
10407
  };
10409
10408
  } : cn;
10410
10409
  }
10411
- function Tg({ thousandSeparator: t, decimalSeparator: n, prefix: e, postfix: r, minusSign: o }) {
10410
+ function Mg({ thousandSeparator: t, decimalSeparator: n, prefix: e, postfix: r, minusSign: o }) {
10412
10411
  if (!t)
10413
10412
  return cn;
10414
10413
  const a = (...s) => s.every((l) => /\s/.test(l));
@@ -10433,7 +10432,7 @@ function Tg({ thousandSeparator: t, decimalSeparator: n, prefix: e, postfix: r,
10433
10432
  };
10434
10433
  };
10435
10434
  }
10436
- function Mg({ precision: t, decimalSeparator: n, prefix: e, postfix: r }) {
10435
+ function Pg({ precision: t, decimalSeparator: n, prefix: e, postfix: r }) {
10437
10436
  if (t > 0 || !n)
10438
10437
  return cn;
10439
10438
  const o = new RegExp(`${Fe(n)}.*$`, "g");
@@ -10455,8 +10454,8 @@ function Mg({ precision: t, decimalSeparator: n, prefix: e, postfix: r }) {
10455
10454
  };
10456
10455
  }
10457
10456
  const ja = [0, 0];
10458
- function Pg({ decimalSeparator: t, thousandSeparator: n, prefix: e, postfix: r }) {
10459
- const o = Eg({
10457
+ function Ag({ decimalSeparator: t, thousandSeparator: n, prefix: e, postfix: r }) {
10458
+ const o = kg({
10460
10459
  decimalSeparator: t,
10461
10460
  thousandSeparator: n,
10462
10461
  prefix: e,
@@ -10470,30 +10469,30 @@ function Pg({ decimalSeparator: t, thousandSeparator: n, prefix: e, postfix: r }
10470
10469
  Po(a, s);
10471
10470
  }, { capture: !0 });
10472
10471
  }
10473
- function Ag({ min: t, max: n, decimalSeparator: e }) {
10472
+ function Og({ min: t, max: n, decimalSeparator: e }) {
10474
10473
  return Ao("blur", (r, o) => {
10475
10474
  const a = $r(r.value, e), s = ir(a, t, n);
10476
- !Number.isNaN(a) && a !== s && Po(r, Sr(yg(s), o));
10475
+ !Number.isNaN(a) && a !== s && Po(r, Sr(wg(s), o));
10477
10476
  }, { capture: !0 });
10478
10477
  }
10479
- function Og({ decimalSeparator: t, prefix: n, postfix: e }) {
10478
+ function Rg({ decimalSeparator: t, prefix: n, postfix: e }) {
10480
10479
  return t ? Ao("blur", (r) => {
10481
10480
  const { cleanValue: o, extractedPostfix: a, extractedPrefix: s } = bt(r.value, { prefix: n, postfix: e }), l = s + o.replace(new RegExp(`^(\\D+)?${Fe(t)}`), `$10${t}`) + a;
10482
10481
  Po(r, l);
10483
- }, { capture: !0 }) : fg;
10482
+ }, { capture: !0 }) : pg;
10484
10483
  }
10485
- function Rg({ max: t = Number.MAX_SAFE_INTEGER, min: n = Number.MIN_SAFE_INTEGER, precision: e = 0, thousandSeparator: r = ug, decimalSeparator: o = ".", decimalPseudoSeparators: a, decimalZeroPadding: s = !1, prefix: l = "", postfix: i = "", minusSign: u = lo } = {}) {
10484
+ function Ig({ max: t = Number.MAX_SAFE_INTEGER, min: n = Number.MIN_SAFE_INTEGER, precision: e = 0, thousandSeparator: r = cg, decimalSeparator: o = ".", decimalPseudoSeparators: a, decimalZeroPadding: s = !1, prefix: l = "", postfix: i = "", minusSign: u = lo } = {}) {
10486
10485
  const c = [
10487
10486
  lr,
10488
10487
  gi,
10489
10488
  vi,
10490
10489
  bi,
10491
10490
  lo
10492
- ].filter((p) => p !== r && p !== o && p !== u), d = wg({
10491
+ ].filter((p) => p !== r && p !== o && p !== u), d = xg({
10493
10492
  decimalSeparator: o,
10494
10493
  thousandSeparator: r,
10495
10494
  decimalPseudoSeparators: a
10496
- }), f = l.endsWith(o) && e > 0 ? `${l}${cg}` : l, g = Dg({
10495
+ }), f = l.endsWith(o) && e > 0 ? `${l}${dg}` : l, g = Eg({
10497
10496
  decimalSeparator: o,
10498
10497
  decimalPseudoSeparators: d,
10499
10498
  pseudoMinuses: c,
@@ -10510,9 +10509,9 @@ function Rg({ max: t = Number.MAX_SAFE_INTEGER, min: n = Number.MIN_SAFE_INTEGER
10510
10509
  isNegativeAllowed: n < 0,
10511
10510
  minusSign: u
10512
10511
  }), preprocessors: [
10513
- hg(),
10512
+ gg(),
10514
10513
  g,
10515
- bg({ prefix: f, postfix: i }),
10514
+ yg({ prefix: f, postfix: i }),
10516
10515
  Ba({
10517
10516
  validCharacter: u,
10518
10517
  pseudoCharacters: c,
@@ -10525,68 +10524,68 @@ function Rg({ max: t = Number.MAX_SAFE_INTEGER, min: n = Number.MIN_SAFE_INTEGER
10525
10524
  prefix: f,
10526
10525
  postfix: i
10527
10526
  }),
10528
- Sg({
10527
+ $g({
10529
10528
  decimalSeparator: o,
10530
10529
  precision: e,
10531
10530
  prefix: f,
10532
10531
  postfix: i
10533
10532
  }),
10534
- _g({
10533
+ Sg({
10535
10534
  decimalSeparator: o,
10536
10535
  decimalZeroPadding: s,
10537
10536
  thousandSeparator: r
10538
10537
  }),
10539
- Mg({
10538
+ Pg({
10540
10539
  precision: e,
10541
10540
  decimalSeparator: o,
10542
10541
  prefix: f,
10543
10542
  postfix: i
10544
10543
  }),
10545
- $g({
10544
+ Tg({
10546
10545
  decimalSeparator: o,
10547
10546
  prefix: f,
10548
10547
  postfix: i
10549
10548
  })
10550
10549
  ], postprocessors: [
10551
- kg({ decimalSeparator: o, min: n, max: t, minusSign: u }),
10552
- vg(f),
10553
- gg(i),
10554
- Tg({
10550
+ _g({ decimalSeparator: o, min: n, max: t, minusSign: u }),
10551
+ bg(f),
10552
+ vg(i),
10553
+ Mg({
10555
10554
  decimalSeparator: o,
10556
10555
  thousandSeparator: r,
10557
10556
  prefix: f,
10558
10557
  postfix: i,
10559
10558
  minusSign: u
10560
10559
  }),
10561
- xg({
10560
+ Cg({
10562
10561
  decimalSeparator: o,
10563
10562
  decimalZeroPadding: s,
10564
10563
  precision: e,
10565
10564
  prefix: f,
10566
10565
  postfix: i
10567
10566
  }),
10568
- Cg({
10567
+ Dg({
10569
10568
  prefix: f,
10570
10569
  postfix: i,
10571
10570
  decimalSeparator: o,
10572
10571
  minusSign: u
10573
10572
  })
10574
10573
  ], plugins: [
10575
- Pg({
10574
+ Ag({
10576
10575
  decimalSeparator: o,
10577
10576
  thousandSeparator: r,
10578
10577
  prefix: f,
10579
10578
  postfix: i
10580
10579
  }),
10581
- Og({
10580
+ Rg({
10582
10581
  decimalSeparator: o,
10583
10582
  prefix: f,
10584
10583
  postfix: i
10585
10584
  }),
10586
- Ag({ min: n, max: t, decimalSeparator: o })
10585
+ Og({ min: n, max: t, decimalSeparator: o })
10587
10586
  ], overwriteMode: s ? ({ value: p, selection: [y] }) => y <= p.indexOf(o) ? "shift" : "replace" : "shift" });
10588
10587
  }
10589
- const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder"], Lg = ["value", "name", "min", "max", "required"], Ci = /* @__PURE__ */ R({
10588
+ const Lg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder"], Ng = ["value", "name", "min", "max", "required"], Ci = /* @__PURE__ */ R({
10590
10589
  inheritAttrs: !1,
10591
10590
  __name: "NumberInput",
10592
10591
  props: /* @__PURE__ */ ye(/* @__PURE__ */ pt({
@@ -10627,7 +10626,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10627
10626
  p.thousandSeparator = "";
10628
10627
  break;
10629
10628
  }
10630
- return Rg(p);
10629
+ return Ig(p);
10631
10630
  }), o = De(t, "modelValue", pe), a = M({
10632
10631
  get: () => {
10633
10632
  if (o.value === null || o.value === void 0)
@@ -10688,9 +10687,9 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10688
10687
  }, { ...g.value }, {
10689
10688
  onInput: y[1] || (y[1] = //@ts-ignore
10690
10689
  (...w) => h(f) && h(f)(...w))
10691
- }), null, 16, Ig), [
10690
+ }), null, 16, Lg), [
10692
10691
  [co, a.value],
10693
- [h(ig), r.value]
10692
+ [h(lg), r.value]
10694
10693
  ]),
10695
10694
  _(Ie, {
10696
10695
  id: `${h(i)}-help`,
@@ -10714,10 +10713,10 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10714
10713
  type: "number",
10715
10714
  onInvalid: y[2] || (y[2] = //@ts-ignore
10716
10715
  (...w) => h(d) && h(d)(...w))
10717
- }, null, 40, Lg)
10716
+ }, null, 40, Ng)
10718
10717
  ]));
10719
10718
  }
10720
- }), Ng = ["aria-labelledby", "aria-describedby", "aria-errormessage"], Fg = { key: 0 }, Bg = { class: "flex" }, jg = { class: "flex items-center h-5" }, Vg = ["id", "aria-describedby", "aria-labelledby", "disabled", "name", "value"], Hg = { class: "ml-3" }, Ug = /* @__PURE__ */ R({
10719
+ }), Fg = ["aria-labelledby", "aria-describedby", "aria-errormessage"], Bg = { key: 0 }, jg = { class: "flex" }, Vg = { class: "flex items-center h-5" }, Hg = ["id", "aria-describedby", "aria-labelledby", "disabled", "name", "value"], Ug = { class: "ml-3" }, qg = /* @__PURE__ */ R({
10721
10720
  inheritAttrs: !1,
10722
10721
  __name: "Radio",
10723
10722
  props: /* @__PURE__ */ ye(/* @__PURE__ */ pt({
@@ -10748,7 +10747,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10748
10747
  "aria-describedby": h(r).describedby,
10749
10748
  "aria-errormessage": h(r).errormessage
10750
10749
  }, [
10751
- c.label ? (x(), k("div", Fg, [
10750
+ c.label ? (x(), k("div", Bg, [
10752
10751
  _(On, {
10753
10752
  id: h(r).labelledby,
10754
10753
  label: c.label,
@@ -10767,7 +10766,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10767
10766
  text: h(o)
10768
10767
  }, null, 8, ["id", "text"])
10769
10768
  ])) : B("", !0),
10770
- v("div", Bg, [
10769
+ v("div", jg, [
10771
10770
  v("div", {
10772
10771
  class: I(["grid gap-y-5", {
10773
10772
  "sm:grid sm:gap-x-10": c.columns !== void 0,
@@ -10779,7 +10778,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10779
10778
  key: f.value,
10780
10779
  class: "flex items-start"
10781
10780
  }, [
10782
- v("div", jg, [
10781
+ v("div", Vg, [
10783
10782
  et(v("input", Be({
10784
10783
  id: `${h(a)}-${g}`,
10785
10784
  "onUpdate:modelValue": d[0] || (d[0] = (p) => e.value = p),
@@ -10801,11 +10800,11 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10801
10800
  (...p) => h(u) && h(u)(...p)),
10802
10801
  onInvalid: d[2] || (d[2] = //@ts-ignore
10803
10802
  (...p) => h(i) && h(i)(...p))
10804
- }), null, 16, Vg), [
10803
+ }), null, 16, Hg), [
10805
10804
  [Yr, e.value]
10806
10805
  ])
10807
10806
  ]),
10808
- v("div", Hg, [
10807
+ v("div", Ug, [
10809
10808
  _(ze, {
10810
10809
  id: `${h(a)}-${g}-label`,
10811
10810
  for: `${h(a)}-${g}`,
@@ -10822,12 +10821,12 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10822
10821
  ]))), 128))
10823
10822
  ], 2)
10824
10823
  ])
10825
- ], 8, Ng));
10824
+ ], 8, Fg));
10826
10825
  }
10827
- }), qg = { key: 0 }, Wg = { class: "flex-1 flex pr-1" }, Yg = { class: "flex flex-col" }, zg = {
10826
+ }), Wg = { key: 0 }, Yg = { class: "flex-1 flex pr-1" }, zg = { class: "flex flex-col" }, Kg = {
10828
10827
  key: 1,
10829
10828
  class: "mt-auto mb-0"
10830
- }, Kg = ["checked", "name", "required", "value"], Gg = /* @__PURE__ */ R({
10829
+ }, Gg = ["checked", "name", "required", "value"], Jg = /* @__PURE__ */ R({
10831
10830
  inheritAttrs: !1,
10832
10831
  __name: "RadioCards",
10833
10832
  props: /* @__PURE__ */ ye(/* @__PURE__ */ pt({
@@ -10858,7 +10857,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10858
10857
  "aria-errormessage": h(r).errormessage
10859
10858
  }, {
10860
10859
  default: N(() => [
10861
- c.label || c.help || h(l) ? (x(), k("div", qg, [
10860
+ c.label || c.help || h(l) ? (x(), k("div", Wg, [
10862
10861
  c.label ? (x(), H(h(ha), {
10863
10862
  key: 0,
10864
10863
  class: "block"
@@ -10912,8 +10911,8 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10912
10911
  g ? "border-xy-blue ring-2 ring-xy-blue-500" : ""
10913
10912
  ]])
10914
10913
  }, [
10915
- v("div", Wg, [
10916
- v("div", Yg, [
10914
+ v("div", Yg, [
10915
+ v("div", zg, [
10917
10916
  _(h(ha), { as: "div" }, {
10918
10917
  default: N(() => [
10919
10918
  _(ze, {
@@ -10937,7 +10936,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10937
10936
  ]),
10938
10937
  _: 2
10939
10938
  }, 1024)) : B("", !0),
10940
- f.sublabel || c.$slots.sublabel ? (x(), k("div", zg, [
10939
+ f.sublabel || c.$slots.sublabel ? (x(), k("div", Kg, [
10941
10940
  _(h(Br), {
10942
10941
  as: "div",
10943
10942
  class: "text-sm/5 font-medium mt-4 text-gray-800"
@@ -10980,7 +10979,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10980
10979
  value: f.value,
10981
10980
  onInvalid: d[0] || (d[0] = //@ts-ignore
10982
10981
  (...w) => h(i) && h(i)(...w))
10983
- }, null, 40, Kg)
10982
+ }, null, 40, Gg)
10984
10983
  ], 2)
10985
10984
  ]),
10986
10985
  _: 2
@@ -10990,7 +10989,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
10990
10989
  _: 3
10991
10990
  }, 8, ["modelValue", "disabled", "aria-invalid", "aria-errormessage"]));
10992
10991
  }
10993
- }), Jg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder"], Xg = /* @__PURE__ */ R({
10992
+ }), Xg = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "placeholder"], Zg = /* @__PURE__ */ R({
10994
10993
  inheritAttrs: !1,
10995
10994
  __name: "TextArea",
10996
10995
  props: /* @__PURE__ */ ye(/* @__PURE__ */ pt({
@@ -11030,7 +11029,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11030
11029
  (...d) => h(i) && h(i)(...d)),
11031
11030
  onInvalid: c[2] || (c[2] = //@ts-ignore
11032
11031
  (...d) => h(l) && h(l)(...d))
11033
- }), null, 16, Jg), [
11032
+ }), null, 16, Xg), [
11034
11033
  [
11035
11034
  co,
11036
11035
  e.value,
@@ -11050,7 +11049,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11050
11049
  }, null, 8, ["id", "text"])
11051
11050
  ]));
11052
11051
  }
11053
- }), Zg = ["aria-labelledby", "aria-describedby", "aria-errormessage"], Qg = { key: 0 }, e0 = ["for"], t0 = ["id", "name"], n0 = ["for"], r0 = ["id", "name"], o0 = /* @__PURE__ */ R({
11052
+ }), Qg = ["aria-labelledby", "aria-describedby", "aria-errormessage"], e0 = { key: 0 }, t0 = ["for"], n0 = ["id", "name"], r0 = ["for"], o0 = ["id", "name"], a0 = /* @__PURE__ */ R({
11054
11053
  inheritAttrs: !1,
11055
11054
  __name: "YesOrNoRadio",
11056
11055
  props: /* @__PURE__ */ ye(/* @__PURE__ */ pt({
@@ -11079,7 +11078,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11079
11078
  "aria-describedby": h(r).describedby,
11080
11079
  "aria-errormessage": h(r).errormessage
11081
11080
  }, [
11082
- c.label ? (x(), k("div", Qg, [
11081
+ c.label ? (x(), k("div", e0, [
11083
11082
  _(On, {
11084
11083
  id: h(r).labelledby,
11085
11084
  class: "block my-auto",
@@ -11122,7 +11121,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11122
11121
  (...f) => h(u) && h(u)(...f)),
11123
11122
  onInvalid: d[2] || (d[2] = //@ts-ignore
11124
11123
  (...f) => h(i) && h(i)(...f))
11125
- }), null, 16, t0), [
11124
+ }), null, 16, n0), [
11126
11125
  [Yr, e.value]
11127
11126
  ]),
11128
11127
  _(ze, {
@@ -11130,7 +11129,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11130
11129
  label: "Yes",
11131
11130
  tag: "span"
11132
11131
  })
11133
- ], 10, e0),
11132
+ ], 10, t0),
11134
11133
  v("label", {
11135
11134
  class: I(["inline-flex items-center ml-6", h(o) ? "cursor-not-allowed" : "cursor-pointer"]),
11136
11135
  for: `${h(s)}-false`
@@ -11152,7 +11151,7 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11152
11151
  (...f) => h(u) && h(u)(...f)),
11153
11152
  onInvalid: d[5] || (d[5] = //@ts-ignore
11154
11153
  (...f) => h(i) && h(i)(...f))
11155
- }), null, 16, r0), [
11154
+ }), null, 16, o0), [
11156
11155
  [Yr, e.value]
11157
11156
  ]),
11158
11157
  _(ze, {
@@ -11160,128 +11159,128 @@ const Ig = ["id", "aria-labelledby", "aria-describedby", "aria-errormessage", "p
11160
11159
  label: "No",
11161
11160
  tag: "span"
11162
11161
  })
11163
- ], 10, n0)
11162
+ ], 10, r0)
11164
11163
  ])
11165
- ], 8, Zg));
11164
+ ], 8, Qg));
11166
11165
  }
11167
- }), a0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11166
+ }), s0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11168
11167
  __proto__: null,
11169
11168
  ActionsDropdown: ko,
11170
- BaseInput: _h,
11169
+ BaseInput: Sh,
11171
11170
  Cards: Jc,
11172
- Checkbox: Ph,
11171
+ Checkbox: Ah,
11173
11172
  ContentModal: nd,
11174
- DataTable: Xp,
11173
+ DataTable: Zp,
11175
11174
  DateFilter: ui,
11176
11175
  DateRangePicker: _o,
11177
- DateTime: Oh,
11178
- DetailList: Ed,
11179
- DownloadCell: _d,
11180
- DynamicTable: Um,
11176
+ DateTime: Rh,
11177
+ DetailList: kd,
11178
+ DownloadCell: Sd,
11179
+ DynamicTable: qm,
11181
11180
  FieldsetLegend: On,
11182
11181
  Flash: $o,
11183
- InlineAlert: Xd,
11182
+ InlineAlert: Zd,
11184
11183
  InputError: lt,
11185
11184
  InputHelp: Ie,
11186
11185
  InputLabel: ze,
11187
- Modal: af,
11188
- MultiCheckboxes: Vh,
11186
+ Modal: sf,
11187
+ MultiCheckboxes: Hh,
11189
11188
  NumberInput: Ci,
11190
11189
  Paginator: di,
11191
11190
  Popover: oo,
11192
- PopoverContent: Kf,
11191
+ PopoverContent: Gf,
11193
11192
  PopoverPosition: oo,
11194
- ProgressCircles: gh,
11195
- ProgressCirclesLabeled: Eh,
11196
- Radio: Ug,
11197
- RadioCards: Gg,
11193
+ ProgressCircles: vh,
11194
+ ProgressCirclesLabeled: kh,
11195
+ Radio: qg,
11196
+ RadioCards: Jg,
11198
11197
  Select: So,
11199
- SidebarLayout: Uf,
11200
- Slideover: ap,
11198
+ SidebarLayout: qf,
11199
+ Slideover: sp,
11201
11200
  Spinner: To,
11202
- StackedLayout: Op,
11203
- Steps: um,
11201
+ StackedLayout: Rp,
11202
+ Steps: cm,
11204
11203
  TablePaginator: mi,
11205
- Tabs: ah,
11206
- TextArea: Xg,
11207
- Toggle: lh,
11208
- Tooltip: up,
11204
+ Tabs: sh,
11205
+ TextArea: Zg,
11206
+ Toggle: uh,
11207
+ Tooltip: cp,
11209
11208
  XYSpinner: fi,
11210
- YesOrNoRadio: o0
11211
- }, Symbol.toStringTag, { value: "Module" })), F0 = function(n) {
11212
- Object.entries(a0).forEach(([e, r]) => {
11209
+ YesOrNoRadio: a0
11210
+ }, Symbol.toStringTag, { value: "Module" })), B0 = function(n) {
11211
+ Object.entries(s0).forEach(([e, r]) => {
11213
11212
  n.component(e, r);
11214
11213
  });
11215
11214
  };
11216
11215
  export {
11217
11216
  ko as ActionsDropdown,
11218
11217
  bs as BaseAPI,
11219
- _h as BaseInput,
11218
+ Sh as BaseInput,
11220
11219
  Jc as Cards,
11221
- Ph as Checkbox,
11220
+ Ah as Checkbox,
11222
11221
  nd as ContentModal,
11223
- Xp as DataTable,
11222
+ Zp as DataTable,
11224
11223
  ui as DateFilter,
11225
11224
  _o as DateRangePicker,
11226
- Oh as DateTime,
11227
- Ed as DetailList,
11228
- _d as DownloadCell,
11229
- Um as DynamicTable,
11225
+ Rh as DateTime,
11226
+ kd as DetailList,
11227
+ Sd as DownloadCell,
11228
+ qm as DynamicTable,
11230
11229
  On as FieldsetLegend,
11231
11230
  $o as Flash,
11232
- Xd as InlineAlert,
11231
+ Zd as InlineAlert,
11233
11232
  lt as InputError,
11234
11233
  Ie as InputHelp,
11235
11234
  ze as InputLabel,
11236
- af as Modal,
11237
- Vh as MultiCheckboxes,
11235
+ sf as Modal,
11236
+ Hh as MultiCheckboxes,
11238
11237
  Ci as NumberInput,
11239
11238
  di as Paginator,
11240
11239
  oo as Popover,
11241
- Kf as PopoverContent,
11240
+ Gf as PopoverContent,
11242
11241
  oo as PopoverPosition,
11243
- gh as ProgressCircles,
11244
- Eh as ProgressCirclesLabeled,
11245
- Ug as Radio,
11246
- Gg as RadioCards,
11242
+ vh as ProgressCircles,
11243
+ kh as ProgressCirclesLabeled,
11244
+ qg as Radio,
11245
+ Jg as RadioCards,
11247
11246
  So as Select,
11248
- Uf as SidebarLayout,
11249
- ap as Slideover,
11247
+ qf as SidebarLayout,
11248
+ sp as Slideover,
11250
11249
  To as Spinner,
11251
- Op as StackedLayout,
11252
- um as Steps,
11250
+ Rp as StackedLayout,
11251
+ cm as Steps,
11253
11252
  mi as TablePaginator,
11254
- ah as Tabs,
11255
- Xg as TextArea,
11256
- lh as Toggle,
11257
- up as Tooltip,
11253
+ sh as Tabs,
11254
+ Zg as TextArea,
11255
+ uh as Toggle,
11256
+ cp as Tooltip,
11258
11257
  fi as XYSpinner,
11259
- o0 as YesOrNoRadio,
11258
+ a0 as YesOrNoRadio,
11260
11259
  Xn as debounceFn,
11261
- S0 as debounceLeading,
11262
- F0 as default,
11260
+ $0 as debounceLeading,
11261
+ B0 as default,
11263
11262
  Nu as emailPattern,
11264
11263
  Lu as isHttpCancel,
11265
11264
  Iu as isHttpError,
11266
11265
  sa as looseToNumber,
11267
- T0 as numericInputTypes,
11266
+ M0 as numericInputTypes,
11268
11267
  Fu as phonePattern,
11269
- _0 as setBaseAPIDefaults,
11270
- $0 as textInputTypes,
11271
- M0 as throttleFn,
11268
+ S0 as setBaseAPIDefaults,
11269
+ T0 as textInputTypes,
11270
+ P0 as throttleFn,
11272
11271
  Bu as urlPattern,
11273
11272
  ci as useAppFlasher,
11274
11273
  Jt as useAppFlashes,
11275
11274
  aa as useAppSpinner,
11276
11275
  Pn as useBaseAPI,
11277
- A0 as useBaseAPIDelete,
11278
- P0 as useBaseAPIGet,
11279
- O0 as useBaseAPIPatch,
11280
- R0 as useBaseAPIPost,
11281
- I0 as useBaseAPIPut,
11282
- gd as useFlashes,
11276
+ O0 as useBaseAPIDelete,
11277
+ A0 as useBaseAPIGet,
11278
+ R0 as useBaseAPIPatch,
11279
+ I0 as useBaseAPIPost,
11280
+ L0 as useBaseAPIPut,
11281
+ vd as useFlashes,
11283
11282
  gt as useInputField,
11284
11283
  Ou as useSpinnerDisplay,
11285
- L0 as useTabHistory,
11286
- N0 as useUrlSearchParams
11284
+ N0 as useTabHistory,
11285
+ F0 as useUrlSearchParams
11287
11286
  };