@quidgest/ui 0.16.30 → 0.16.31

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/ui.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  var Mo = Object.defineProperty;
2
2
  var Ao = (t, e, a) => e in t ? Mo(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
3
3
  var be = (t, e, a) => Ao(t, typeof e != "symbol" ? e + "" : e, a);
4
- import { getCurrentInstance as $l, computed as $, ref as X, toValue as ta, provide as xl, inject as ja, unref as u, isRef as fn, watch as Ce, defineComponent as ce, mergeModels as Ie, toRef as qe, useModel as Fe, createElementBlock as w, openBlock as m, normalizeClass as ie, renderSlot as q, normalizeStyle as Ye, withModifiers as dt, createCommentVNode as R, createElementVNode as ee, createVNode as ye, createTextVNode as et, toDisplayString as $e, useAttrs as Dl, createBlock as se, resolveDynamicComponent as aa, withCtx as H, Fragment as we, h as pn, mergeProps as De, withKeys as mn, normalizeProps as Re, guardReactiveProps as He, useSlots as Wt, onMounted as Ge, onUnmounted as $t, renderList as Ve, nextTick as Xe, useTemplateRef as Xa, createSlots as ze, withDirectives as Ft, vModelDynamic as Co, vModelText as Tl, useId as Po, readonly as qo, customRef as So, getCurrentScope as zr, onScopeDispose as Ml, shallowRef as rl, reactive as Zt, onBeforeUnmount as Qr, Teleport as Wr, Transition as Yt, render as lr, onBeforeUpdate as Io, vShow as cn, resolveComponent as Oo, vModelCheckbox as Eo, toHandlers as Ro, watchEffect as Lo, TransitionGroup as Bo } from "vue";
4
+ import { getCurrentInstance as $l, computed as $, ref as X, toValue as ta, provide as xl, inject as ja, unref as u, isRef as fn, watch as Ce, defineComponent as ce, mergeModels as Ie, toRef as qe, useModel as Fe, createElementBlock as w, openBlock as m, normalizeClass as ie, renderSlot as q, normalizeStyle as ze, withModifiers as dt, createCommentVNode as R, createElementVNode as ee, createVNode as ye, createTextVNode as et, toDisplayString as $e, useAttrs as Dl, createBlock as se, resolveDynamicComponent as aa, withCtx as W, Fragment as we, h as pn, mergeProps as De, withKeys as mn, normalizeProps as Ee, guardReactiveProps as Ye, useSlots as Wt, onMounted as Ge, onUnmounted as $t, renderList as Ve, nextTick as Xe, useTemplateRef as Xa, createSlots as Qe, withDirectives as Ft, vModelDynamic as Co, vModelText as Tl, useId as Po, readonly as qo, customRef as So, getCurrentScope as zr, onScopeDispose as Ml, shallowRef as rl, reactive as Zt, onBeforeUnmount as Qr, Teleport as Wr, Transition as Yt, render as lr, onBeforeUpdate as Io, vShow as cn, resolveComponent as Oo, vModelCheckbox as Eo, toHandlers as Ro, watchEffect as Lo, TransitionGroup as Bo } from "vue";
5
5
  /*!
6
- * Quidgest UI v0.16.30
6
+ * Quidgest UI v0.16.31
7
7
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
8
8
  * Released under the MIT License.
9
9
  */
@@ -217,7 +217,7 @@ const Fo = ["id"], Yo = /* @__PURE__ */ ce({
217
217
  return (n, l) => (m(), w("div", {
218
218
  id: e.id,
219
219
  class: ie(["q-spinner-loader", e.class]),
220
- style: Ye(a.value)
220
+ style: ze(a.value)
221
221
  }, null, 14, Qo));
222
222
  }
223
223
  });
@@ -494,7 +494,7 @@ const ai = ["id", "disabled"], ni = {
494
494
  type: "button",
495
495
  class: ie(i.value),
496
496
  disabled: l.value,
497
- style: Ye(c.value),
497
+ style: ze(c.value),
498
498
  onClick: dt(r, ["stop", "prevent"])
499
499
  }, [
500
500
  a.loading ? (m(), w("div", ni, [
@@ -561,7 +561,7 @@ const ai = ["id", "disabled"], ni = {
561
561
  href: e.href && !r.value ? e.href : void 0,
562
562
  onClick: s
563
563
  }, {
564
- default: H(() => [
564
+ default: W(() => [
565
565
  e.loading ? (m(), se(u(Ka), {
566
566
  key: 0,
567
567
  size: 36
@@ -632,7 +632,7 @@ const ai = ["id", "disabled"], ni = {
632
632
  id: e.id,
633
633
  class: ie(e.class),
634
634
  icon: e.icon,
635
- style: Ye(l.value)
635
+ style: ze(l.value)
636
636
  }, null, 8, ["id", "class", "icon", "style"]));
637
637
  }
638
638
  }), vi = ["id"], hi = /* @__PURE__ */ ce({
@@ -820,7 +820,7 @@ const ki = /* @__PURE__ */ ce({
820
820
  onUnloaded: r
821
821
  }, null, 8, ["id", "class", "src", "symbol"]));
822
822
  }
823
- }), We = _e(mi), es = _e(hi), ts = _e(gi), as = _e(ki), $i = /* @__PURE__ */ ce({
823
+ }), He = _e(mi), es = _e(hi), ts = _e(gi), as = _e(ki), $i = /* @__PURE__ */ ce({
824
824
  __name: "QChevron",
825
825
  props: /* @__PURE__ */ Ie({
826
826
  id: {},
@@ -839,7 +839,7 @@ const ki = /* @__PURE__ */ ce({
839
839
  },
840
840
  e.class
841
841
  ]);
842
- return (l, r) => (m(), se(u(We), De({
842
+ return (l, r) => (m(), se(u(He), De({
843
843
  id: e.id,
844
844
  class: n.value
845
845
  }, e.icons.chevron), null, 16, ["id", "class"]));
@@ -897,7 +897,7 @@ const ki = /* @__PURE__ */ ce({
897
897
  class: ie(l.value),
898
898
  width: n.value
899
899
  }, {
900
- header: H(() => [
900
+ header: W(() => [
901
901
  o.title ? (m(), w("div", xi, [
902
902
  ye(u(mt), {
903
903
  variant: "text",
@@ -906,7 +906,7 @@ const ki = /* @__PURE__ */ ce({
906
906
  "aria-expanded": a.value,
907
907
  onClick: s
908
908
  }, {
909
- default: H(() => [
909
+ default: W(() => [
910
910
  ee("div", Di, [
911
911
  o.iconRight ? R("", !0) : q(o.$slots, "icon", { key: 0 }, () => [
912
912
  ye(u(vn), {
@@ -936,7 +936,7 @@ const ki = /* @__PURE__ */ ce({
936
936
  }, 8, ["aria-expanded"])
937
937
  ])) : R("", !0)
938
938
  ]),
939
- default: H(() => [
939
+ default: W(() => [
940
940
  ee("div", {
941
941
  class: ie(r.value)
942
942
  }, [
@@ -981,7 +981,7 @@ const Ii = /* @__PURE__ */ ce({
981
981
  "model-value": u(n).isActive.value,
982
982
  "onUpdate:modelValue": u(n).toggle
983
983
  }), {
984
- default: H(() => [
984
+ default: W(() => [
985
985
  q(l.$slots, "default")
986
986
  ]),
987
987
  _: 3
@@ -1008,7 +1008,7 @@ const Ii = /* @__PURE__ */ ce({
1008
1008
  });
1009
1009
  return (s, o) => (m(), w("div", {
1010
1010
  class: ie(["q-avatar", a.value, n.value]),
1011
- style: Ye(r.value)
1011
+ style: ze(r.value)
1012
1012
  }, [
1013
1013
  s.src ? (m(), w("img", {
1014
1014
  key: 0,
@@ -1075,7 +1075,7 @@ const Ii = /* @__PURE__ */ ce({
1075
1075
  id: a.id,
1076
1076
  class: ie(s.value),
1077
1077
  role: r.value ? "button" : "presentation",
1078
- style: Ye(c.value),
1078
+ style: ze(c.value),
1079
1079
  tabindex: r.value ? 0 : void 0,
1080
1080
  onKeydown: mn(dt(p, ["stop", "prevent"]), ["enter"])
1081
1081
  }, [
@@ -1092,8 +1092,8 @@ const Ii = /* @__PURE__ */ ce({
1092
1092
  "aria-label": a.texts.removeText,
1093
1093
  onClick: d
1094
1094
  }, {
1095
- default: H(() => [
1096
- ye(u(We), Re(He(a.icons.remove)), null, 16)
1095
+ default: W(() => [
1096
+ ye(u(He), Ee(Ye(a.icons.remove)), null, 16)
1097
1097
  ]),
1098
1098
  _: 1
1099
1099
  }, 8, ["color", "aria-label"])) : R("", !0)
@@ -1128,7 +1128,7 @@ const Ii = /* @__PURE__ */ ce({
1128
1128
  class: ie(l.value),
1129
1129
  color: e.color
1130
1130
  }, {
1131
- default: H(() => [
1131
+ default: W(() => [
1132
1132
  q(r.$slots, "content", {}, () => [
1133
1133
  et($e(e.content), 1)
1134
1134
  ])
@@ -1200,7 +1200,7 @@ const Ii = /* @__PURE__ */ ce({
1200
1200
  return (l, r) => (m(), w("div", {
1201
1201
  id: e.id,
1202
1202
  class: ie(["q-skeleton-loader", a.value, e.class]),
1203
- style: Ye(n.value)
1203
+ style: ze(n.value)
1204
1204
  }, r[0] || (r[0] = [
1205
1205
  ee("div", { class: "q-skeleton-loader__bone" }, null, -1)
1206
1206
  ]), 14, Ji));
@@ -1287,13 +1287,13 @@ const Ii = /* @__PURE__ */ ce({
1287
1287
  const G = {};
1288
1288
  return x != null && x.colorPlaceholder && (G["background-color"] = x.colorPlaceholder), G;
1289
1289
  }
1290
- function U() {
1290
+ function H() {
1291
1291
  a.autoCycleInterval && (h = window.setInterval(() => {
1292
1292
  p.value = (Date.now() - d.value) / a.autoCycleInterval * 100;
1293
1293
  }, 50));
1294
1294
  }
1295
1295
  function Q() {
1296
- !a.autoCycleInterval || a.slides.length <= 1 || (Y(), a.ride === "carousel" && !o && (d.value = Date.now(), U(), v = window.setTimeout(M, a.autoCycleInterval)));
1296
+ !a.autoCycleInterval || a.slides.length <= 1 || (Y(), a.ride === "carousel" && !o && (d.value = Date.now(), H(), v = window.setTimeout(M, a.autoCycleInterval)));
1297
1297
  }
1298
1298
  function Y() {
1299
1299
  v && window.clearTimeout(v), h && window.clearInterval(h), v = void 0, h = void 0, d.value = 0, p.value = 0;
@@ -1307,7 +1307,7 @@ const Ii = /* @__PURE__ */ ce({
1307
1307
  function V() {
1308
1308
  a.autoCyclePause === "hover" && (o = !1, Q());
1309
1309
  }
1310
- function ne(x) {
1310
+ function ae(x) {
1311
1311
  if (!s)
1312
1312
  switch (x.key) {
1313
1313
  case "ArrowLeft":
@@ -1355,7 +1355,7 @@ const Ii = /* @__PURE__ */ ce({
1355
1355
  tabindex: "0",
1356
1356
  onMouseenter: I,
1357
1357
  onMouseleave: V,
1358
- onKeydown: ne
1358
+ onKeydown: ae
1359
1359
  }, [
1360
1360
  x.loading ? (m(), w("div", au, [
1361
1361
  ye(u(_a), {
@@ -1394,7 +1394,7 @@ const Ii = /* @__PURE__ */ ce({
1394
1394
  (O = x.slides) != null && O.length ? (m(), w("div", {
1395
1395
  key: 0,
1396
1396
  class: "q-carousel__track",
1397
- style: Ye(_.value),
1397
+ style: ze(_.value),
1398
1398
  onTouchstart: le,
1399
1399
  onTouchmove: N,
1400
1400
  onTouchend: g
@@ -1405,7 +1405,7 @@ const Ii = /* @__PURE__ */ ce({
1405
1405
  "q-carousel__slide",
1406
1406
  { "q-carousel__slide--active": S === r.value }
1407
1407
  ]),
1408
- style: Ye(L(C)),
1408
+ style: ze(L(C)),
1409
1409
  onClick: dt(() => T(S), ["stop", "prevent"])
1410
1410
  }, [
1411
1411
  C.image ? (m(), w("img", {
@@ -1432,7 +1432,7 @@ const Ii = /* @__PURE__ */ ce({
1432
1432
  { "q-carousel__indicator--active": S === r.value }
1433
1433
  ]),
1434
1434
  "data-testid": "carousel-indicator",
1435
- style: Ye(S === r.value ? k.value : {}),
1435
+ style: ze(S === r.value ? k.value : {}),
1436
1436
  "aria-label": y(S),
1437
1437
  "aria-current": S === r.value,
1438
1438
  onClick: () => A(S)
@@ -1445,8 +1445,8 @@ const Ii = /* @__PURE__ */ ce({
1445
1445
  "aria-label": x.texts.previousText,
1446
1446
  onClick: P
1447
1447
  }, {
1448
- default: H(() => [
1449
- ye(u(We), De({ class: "q-carousel__control-icon q-carousel__control-icon--prev" }, a.icons.back), null, 16),
1448
+ default: W(() => [
1449
+ ye(u(He), De({ class: "q-carousel__control-icon q-carousel__control-icon--prev" }, a.icons.back), null, 16),
1450
1450
  ee("span", pu, $e(x.texts.previousText), 1)
1451
1451
  ]),
1452
1452
  _: 1
@@ -1457,8 +1457,8 @@ const Ii = /* @__PURE__ */ ce({
1457
1457
  "aria-label": x.texts.nextText,
1458
1458
  onClick: M
1459
1459
  }, {
1460
- default: H(() => [
1461
- ye(u(We), De({ class: "q-carousel__control-icon q-carousel__control-icon--next" }, a.icons.forward), null, 16),
1460
+ default: W(() => [
1461
+ ye(u(He), De({ class: "q-carousel__control-icon q-carousel__control-icon--next" }, a.icons.forward), null, 16),
1462
1462
  ee("span", mu, $e(x.texts.nextText), 1)
1463
1463
  ]),
1464
1464
  _: 1
@@ -1522,10 +1522,10 @@ const Ii = /* @__PURE__ */ ce({
1522
1522
  for: u(n),
1523
1523
  label: e.label,
1524
1524
  required: e.required
1525
- }, ze({ _: 2 }, [
1525
+ }, Qe({ _: 2 }, [
1526
1526
  o.$slots.extras ? {
1527
1527
  name: "extras",
1528
- fn: H(() => [
1528
+ fn: W(() => [
1529
1529
  q(o.$slots, "extras")
1530
1530
  ]),
1531
1531
  key: "0"
@@ -1558,17 +1558,17 @@ const Ii = /* @__PURE__ */ ce({
1558
1558
  }, ["prevent"]), ["enter"]))
1559
1559
  ]
1560
1560
  }), [
1561
- a.value || o.indeterminate ? (m(), se(u(We), De({ key: 0 }, a.value ? e.icons.checked : e.icons.indeterminate, { class: "q-checkbox__input-icon" }), null, 16)) : R("", !0)
1561
+ a.value || o.indeterminate ? (m(), se(u(He), De({ key: 0 }, a.value ? e.icons.checked : e.icons.indeterminate, { class: "q-checkbox__input-icon" }), null, 16)) : R("", !0)
1562
1562
  ], 16, bu),
1563
1563
  e.label && e.labelPlacement === "right" ? (m(), se(u(ul), {
1564
1564
  key: 1,
1565
1565
  for: u(n),
1566
1566
  label: e.label,
1567
1567
  required: e.required
1568
- }, ze({ _: 2 }, [
1568
+ }, Qe({ _: 2 }, [
1569
1569
  o.$slots.extras ? {
1570
1570
  name: "extras",
1571
- fn: H(() => [
1571
+ fn: W(() => [
1572
1572
  q(o.$slots, "extras")
1573
1573
  ]),
1574
1574
  key: "0"
@@ -1629,7 +1629,7 @@ const Ii = /* @__PURE__ */ ce({
1629
1629
  for: e.for,
1630
1630
  required: e.required
1631
1631
  }, {
1632
- default: H(() => [
1632
+ default: W(() => [
1633
1633
  et($e(e.label), 1)
1634
1634
  ]),
1635
1635
  _: 1
@@ -1689,10 +1689,10 @@ const Ii = /* @__PURE__ */ ce({
1689
1689
  for: a.for,
1690
1690
  required: a.required
1691
1691
  }, {
1692
- prepend: H(() => [
1692
+ prepend: W(() => [
1693
1693
  q(s.$slots, "label.prepend")
1694
1694
  ]),
1695
- append: H(() => [
1695
+ append: W(() => [
1696
1696
  q(s.$slots, "label.append")
1697
1697
  ]),
1698
1698
  _: 3
@@ -1746,8 +1746,8 @@ const Ii = /* @__PURE__ */ ce({
1746
1746
  tabindex: "-1",
1747
1747
  onClick: l
1748
1748
  }, {
1749
- default: H(() => [
1750
- ye(u(We), Re(He(a.icons.clear)), null, 16)
1749
+ default: W(() => [
1750
+ ye(u(He), Ee(Ye(a.icons.clear)), null, 16)
1751
1751
  ]),
1752
1752
  _: 1
1753
1753
  }, 8, ["id", "class", "aria-label"]));
@@ -1807,14 +1807,14 @@ const Ii = /* @__PURE__ */ ce({
1807
1807
  disabled: n.disabled,
1808
1808
  required: n.required,
1809
1809
  invalid: n.invalid
1810
- }, ze({
1811
- "label.prepend": H(() => [
1810
+ }, Qe({
1811
+ "label.prepend": W(() => [
1812
1812
  q(_.$slots, "label.prepend")
1813
1813
  ]),
1814
- "label.append": H(() => [
1814
+ "label.append": W(() => [
1815
1815
  q(_.$slots, "label.append")
1816
1816
  ]),
1817
- default: H(() => [
1817
+ default: W(() => [
1818
1818
  Ft(ee("input", De({
1819
1819
  id: u(o),
1820
1820
  ref_key: "inputRef",
@@ -1835,14 +1835,14 @@ const Ii = /* @__PURE__ */ ce({
1835
1835
  }, [
1836
1836
  _.$slots.prepend ? {
1837
1837
  name: "prepend",
1838
- fn: H(() => [
1838
+ fn: W(() => [
1839
1839
  q(_.$slots, "prepend")
1840
1840
  ]),
1841
1841
  key: "0"
1842
1842
  } : void 0,
1843
1843
  _.$slots.append || v.value ? {
1844
1844
  name: "append",
1845
- fn: H(() => [
1845
+ fn: W(() => [
1846
1846
  q(_.$slots, "append"),
1847
1847
  v.value ? (m(), se(u(An), {
1848
1848
  key: 0,
@@ -1855,7 +1855,7 @@ const Ii = /* @__PURE__ */ ce({
1855
1855
  } : void 0,
1856
1856
  _.$slots.extras ? {
1857
1857
  name: "extras",
1858
- fn: H(() => [
1858
+ fn: W(() => [
1859
1859
  q(_.$slots, "extras")
1860
1860
  ]),
1861
1861
  key: "2"
@@ -1912,14 +1912,14 @@ const Ii = /* @__PURE__ */ ce({
1912
1912
  required: e.required,
1913
1913
  placeholder: e.placeholder,
1914
1914
  onChange: i
1915
- }, ze({
1916
- "label.prepend": H(() => [
1915
+ }, Qe({
1916
+ "label.prepend": W(() => [
1917
1917
  q(d.$slots, "label.prepend")
1918
1918
  ]),
1919
- "label.append": H(() => [
1919
+ "label.append": W(() => [
1920
1920
  q(d.$slots, "label.append")
1921
1921
  ]),
1922
- prepend: H(() => [
1922
+ prepend: W(() => [
1923
1923
  q(d.$slots, "prepend"),
1924
1924
  Ft(ee("input", De({
1925
1925
  "onUpdate:modelValue": v[0] || (v[0] = (h) => n.value = h),
@@ -1940,14 +1940,14 @@ const Ii = /* @__PURE__ */ ce({
1940
1940
  }, [
1941
1941
  d.$slots.append ? {
1942
1942
  name: "append",
1943
- fn: H(() => [
1943
+ fn: W(() => [
1944
1944
  q(d.$slots, "append")
1945
1945
  ]),
1946
1946
  key: "0"
1947
1947
  } : void 0,
1948
1948
  d.$slots.extras ? {
1949
1949
  name: "extras",
1950
- fn: H(() => [
1950
+ fn: W(() => [
1951
1951
  q(d.$slots, "extras")
1952
1952
  ]),
1953
1953
  key: "1"
@@ -2046,7 +2046,7 @@ const Ii = /* @__PURE__ */ ce({
2046
2046
  switch (y) {
2047
2047
  case "next":
2048
2048
  case "prev":
2049
- L(ne(y));
2049
+ L(ae(y));
2050
2050
  break;
2051
2051
  case "first":
2052
2052
  L(E());
@@ -2058,36 +2058,36 @@ const Ii = /* @__PURE__ */ ce({
2058
2058
  }
2059
2059
  function L(y, D = !1) {
2060
2060
  var G;
2061
- (G = U()[y]) == null || G.focus({ preventScroll: D });
2061
+ (G = H()[y]) == null || G.focus({ preventScroll: D });
2062
2062
  }
2063
- function U() {
2063
+ function H() {
2064
2064
  var D;
2065
2065
  const y = (D = c.value) == null ? void 0 : D.querySelectorAll("li");
2066
2066
  return y ? Array.from(y) : [];
2067
2067
  }
2068
2068
  function Q(y) {
2069
- return U()[y];
2069
+ return H()[y];
2070
2070
  }
2071
2071
  function Y() {
2072
- return U().indexOf(document.activeElement);
2072
+ return H().indexOf(document.activeElement);
2073
2073
  }
2074
2074
  function E() {
2075
- const y = U(), D = y.find((x) => N(x));
2075
+ const y = H(), D = y.find((x) => N(x));
2076
2076
  return D ? y.indexOf(D) : -1;
2077
2077
  }
2078
2078
  function I() {
2079
- const y = U(), D = [...y].reverse().find((x) => N(x));
2079
+ const y = H(), D = [...y].reverse().find((x) => N(x));
2080
2080
  return D ? y.indexOf(D) : -1;
2081
2081
  }
2082
2082
  function V(y, D, x) {
2083
2083
  return D === "prev" && y <= 0 || D === "next" && y === x.length - 1;
2084
2084
  }
2085
- function ne(y) {
2085
+ function ae(y) {
2086
2086
  const D = Y();
2087
2087
  return le(D, y);
2088
2088
  }
2089
2089
  function le(y, D) {
2090
- const x = U();
2090
+ const x = H();
2091
2091
  if (V(y, D, x))
2092
2092
  return y;
2093
2093
  let G = y + (D === "next" ? 1 : -1);
@@ -2129,14 +2129,14 @@ const Ii = /* @__PURE__ */ ce({
2129
2129
  onMouseup: _,
2130
2130
  onKeydown: P
2131
2131
  }, {
2132
- default: H(() => [
2132
+ default: W(() => [
2133
2133
  q(y.$slots, "default", {}, () => [
2134
2134
  (m(!0), w(we, null, Ve(o.value, (x, G) => (m(), se(u(os), {
2135
2135
  id: x.id,
2136
2136
  key: x.id,
2137
2137
  title: o.value.length === 1 ? void 0 : x.title
2138
2138
  }, {
2139
- default: H(() => [
2139
+ default: W(() => [
2140
2140
  (m(!0), w(we, null, Ve(g(x.id), (O, te) => (m(), se(u(ss), {
2141
2141
  key: O[n.itemValue],
2142
2142
  ref_for: !0,
@@ -2152,7 +2152,7 @@ const Ii = /* @__PURE__ */ ce({
2152
2152
  onClick: () => d(O[n.itemValue]),
2153
2153
  onMouseenter: () => v(O[n.itemValue])
2154
2154
  }, {
2155
- append: H(() => {
2155
+ append: W(() => {
2156
2156
  var z, C;
2157
2157
  return [
2158
2158
  q(y.$slots, "item.append", {
@@ -2161,7 +2161,7 @@ const Ii = /* @__PURE__ */ ce({
2161
2161
  })
2162
2162
  ];
2163
2163
  }),
2164
- default: H(() => {
2164
+ default: W(() => {
2165
2165
  var z, C;
2166
2166
  return [
2167
2167
  q(y.$slots, "item", {
@@ -2252,18 +2252,18 @@ const Ii = /* @__PURE__ */ ce({
2252
2252
  ee("div", Wu, [
2253
2253
  ee("div", Hu, [
2254
2254
  q(c.$slots, "default", {}, () => [
2255
- a.icon ? (m(), se(u(We), Re(De({ key: 0 }, a.icon)), null, 16)) : R("", !0),
2255
+ a.icon ? (m(), se(u(He), Ee(De({ key: 0 }, a.icon)), null, 16)) : R("", !0),
2256
2256
  et(" " + $e(a.label), 1)
2257
2257
  ])
2258
2258
  ]),
2259
2259
  a.description ? (m(), w("div", Uu, [
2260
- ye(u(We), Re(He(a.icons.description)), null, 16),
2260
+ ye(u(He), Ee(Ye(a.icons.description)), null, 16),
2261
2261
  ee("span", null, $e(a.description), 1)
2262
2262
  ])) : R("", !0)
2263
2263
  ]),
2264
2264
  q(c.$slots, "append"),
2265
2265
  a.selectable ? (m(), w("div", ju, [
2266
- l.value ? (m(), se(u(We), De({ key: 0 }, a.icons.check, { class: "q-list-item__check" }), null, 16)) : R("", !0)
2266
+ l.value ? (m(), se(u(He), De({ key: 0 }, a.icons.check, { class: "q-list-item__check" }), null, 16)) : R("", !0)
2267
2267
  ])) : R("", !0)
2268
2268
  ], 42, Qu));
2269
2269
  }
@@ -3013,7 +3013,7 @@ var pr = {
3013
3013
  y && (Fa(N) && N.preventDefault(), _(y));
3014
3014
  }, L = function(N) {
3015
3015
  (r.isKeyForward(N) || r.isKeyBackward(N)) && T(N, r.isKeyBackward(N));
3016
- }, U = function(N) {
3016
+ }, H = function(N) {
3017
3017
  Ld(N) && Ra(r.escapeDeactivates, N) !== !1 && (N.preventDefault(), o.deactivate());
3018
3018
  }, Q = function(N) {
3019
3019
  var g = ln(N);
@@ -3034,10 +3034,10 @@ var pr = {
3034
3034
  }), n.addEventListener("keydown", L, {
3035
3035
  capture: !0,
3036
3036
  passive: !1
3037
- }), n.addEventListener("keydown", U), o;
3037
+ }), n.addEventListener("keydown", H), o;
3038
3038
  }, E = function() {
3039
3039
  if (s.active)
3040
- return n.removeEventListener("focusin", P, !0), n.removeEventListener("mousedown", M, !0), n.removeEventListener("touchstart", M, !0), n.removeEventListener("click", Q, !0), n.removeEventListener("keydown", L, !0), n.removeEventListener("keydown", U), o;
3040
+ return n.removeEventListener("focusin", P, !0), n.removeEventListener("mousedown", M, !0), n.removeEventListener("touchstart", M, !0), n.removeEventListener("click", Q, !0), n.removeEventListener("keydown", L, !0), n.removeEventListener("keydown", H), o;
3041
3041
  }, I = function(N) {
3042
3042
  var g = N.some(function(y) {
3043
3043
  var D = Array.from(y.removedNodes);
@@ -3046,7 +3046,7 @@ var pr = {
3046
3046
  });
3047
3047
  });
3048
3048
  g && _(d());
3049
- }, V = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(I) : void 0, ne = function() {
3049
+ }, V = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(I) : void 0, ae = function() {
3050
3050
  V && (V.disconnect(), s.active && !s.paused && s.containers.map(function(N) {
3051
3051
  V.observe(N, {
3052
3052
  subtree: !0,
@@ -3067,7 +3067,7 @@ var pr = {
3067
3067
  var g = i(N, "onActivate"), y = i(N, "onPostActivate"), D = i(N, "checkCanFocusTrap");
3068
3068
  D || v(), s.active = !0, s.paused = !1, s.nodeFocusedBeforeActivation = n.activeElement, g == null || g();
3069
3069
  var x = function() {
3070
- D && v(), Y(), ne(), y == null || y();
3070
+ D && v(), Y(), ae(), y == null || y();
3071
3071
  };
3072
3072
  return D ? (D(s.containers.concat()).then(x, x), this) : (x(), this);
3073
3073
  },
@@ -3079,7 +3079,7 @@ var pr = {
3079
3079
  onPostDeactivate: r.onPostDeactivate,
3080
3080
  checkCanReturnFocus: r.checkCanReturnFocus
3081
3081
  }, N);
3082
- clearTimeout(s.delayInitialFocusTimer), s.delayInitialFocusTimer = void 0, E(), s.active = !1, s.paused = !1, ne(), pr.deactivateTrap(l, o);
3082
+ clearTimeout(s.delayInitialFocusTimer), s.delayInitialFocusTimer = void 0, E(), s.active = !1, s.paused = !1, ae(), pr.deactivateTrap(l, o);
3083
3083
  var y = i(g, "onDeactivate"), D = i(g, "onPostDeactivate"), x = i(g, "checkCanReturnFocus"), G = i(g, "returnFocus", "returnFocusOnDeactivate");
3084
3084
  y == null || y();
3085
3085
  var O = function() {
@@ -3099,7 +3099,7 @@ var pr = {
3099
3099
  var g = [].concat(N).filter(Boolean);
3100
3100
  return s.containers = g.map(function(y) {
3101
3101
  return typeof y == "string" ? n.querySelector(y) : y;
3102
- }), s.active && v(), ne(), this;
3102
+ }), s.active && v(), ae(), this;
3103
3103
  }
3104
3104
  }, Object.defineProperties(o, {
3105
3105
  _isManuallyPaused: {
@@ -3113,10 +3113,10 @@ var pr = {
3113
3113
  return this;
3114
3114
  if (s.paused = N, N) {
3115
3115
  var y = i(g, "onPause"), D = i(g, "onPostPause");
3116
- y == null || y(), E(), ne(), D == null || D();
3116
+ y == null || y(), E(), ae(), D == null || D();
3117
3117
  } else {
3118
3118
  var x = i(g, "onUnpause"), G = i(g, "onPostUnpause");
3119
- x == null || x(), v(), Y(), ne(), G == null || G();
3119
+ x == null || x(), v(), Y(), ae(), G == null || G();
3120
3120
  }
3121
3121
  return this;
3122
3122
  }
@@ -3152,8 +3152,8 @@ const Yd = /* @__PURE__ */ ce({
3152
3152
  emits: ["update:disabled"],
3153
3153
  setup(t) {
3154
3154
  const e = t, a = Fe(t, "disabled");
3155
- return (n, l) => a.value ? q(n.$slots, "default", { key: 0 }) : (m(), se(u(Yd), Re(De({ key: 1 }, e)), {
3156
- default: H(() => [
3155
+ return (n, l) => a.value ? q(n.$slots, "default", { key: 0 }) : (m(), se(u(Yd), Ee(De({ key: 1 }, e)), {
3156
+ default: W(() => [
3157
3157
  q(n.$slots, "default")
3158
3158
  ]),
3159
3159
  _: 3
@@ -3502,7 +3502,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3502
3502
  function L() {
3503
3503
  Q(0);
3504
3504
  }
3505
- function U() {
3505
+ function H() {
3506
3506
  Q(a.delay);
3507
3507
  }
3508
3508
  function Q(B) {
@@ -3525,7 +3525,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3525
3525
  function V() {
3526
3526
  g();
3527
3527
  }
3528
- function ne() {
3528
+ function ae() {
3529
3529
  n("leave");
3530
3530
  }
3531
3531
  function le() {
@@ -3575,7 +3575,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3575
3575
  B.addEventListener("click", L);
3576
3576
  break;
3577
3577
  case "hover":
3578
- B.addEventListener("mouseenter", U), B.addEventListener("mouseleave", Y), B.addEventListener("focusin", L), B.addEventListener("focusout", Y);
3578
+ B.addEventListener("mouseenter", H), B.addEventListener("mouseleave", Y), B.addEventListener("focusin", L), B.addEventListener("focusout", Y);
3579
3579
  break;
3580
3580
  }
3581
3581
  }
@@ -3587,7 +3587,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3587
3587
  B.removeEventListener("click", L);
3588
3588
  break;
3589
3589
  case "hover":
3590
- B.removeEventListener("mouseenter", U), B.removeEventListener("mouseleave", Y), B.removeEventListener("focusin", L), B.removeEventListener("focusout", Y);
3590
+ B.removeEventListener("mouseenter", H), B.removeEventListener("mouseleave", Y), B.removeEventListener("focusin", L), B.removeEventListener("focusout", Y);
3591
3591
  break;
3592
3592
  }
3593
3593
  }
@@ -3619,7 +3619,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3619
3619
  name: "fade",
3620
3620
  appear: ""
3621
3621
  }, {
3622
- default: H(() => [
3622
+ default: W(() => [
3623
3623
  i.value ? (m(), w("div", {
3624
3624
  key: 0,
3625
3625
  class: ie([
@@ -3636,10 +3636,10 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3636
3636
  appear: "",
3637
3637
  onEnter: I,
3638
3638
  onAfterEnter: V,
3639
- onLeave: ne,
3639
+ onLeave: ae,
3640
3640
  onAfterLeave: le
3641
3641
  }, {
3642
- default: H(() => [
3642
+ default: W(() => [
3643
3643
  l.value ? (m(), w("div", {
3644
3644
  key: 0,
3645
3645
  id: a.id,
@@ -3647,20 +3647,20 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3647
3647
  ref: M,
3648
3648
  tabindex: "-1",
3649
3649
  class: ie(s.value),
3650
- style: Ye(h.value)
3650
+ style: ze(h.value)
3651
3651
  }, [
3652
3652
  ye(u(us), {
3653
3653
  onDismiss: G,
3654
3654
  onInteractOutside: x,
3655
3655
  onPointerDownOutside: D
3656
3656
  }, {
3657
- default: H(() => [
3657
+ default: W(() => [
3658
3658
  M.value ? (m(), se(u(hs), {
3659
3659
  key: 0,
3660
3660
  disabled: a.nonModal || !l.value,
3661
3661
  options: { fallbackFocus: M.value }
3662
3662
  }, {
3663
- default: H(() => [
3663
+ default: W(() => [
3664
3664
  ee("div", De({
3665
3665
  ref_key: "overlayRef",
3666
3666
  ref: A,
@@ -3674,7 +3674,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3674
3674
  ref: k,
3675
3675
  role: "presentation",
3676
3676
  class: "q-overlay__arrow",
3677
- style: Ye(_.value)
3677
+ style: ze(_.value)
3678
3678
  }, null, 4)) : R("", !0),
3679
3679
  q(B.$slots, "default")
3680
3680
  ], 16, fc)
@@ -3759,7 +3759,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3759
3759
  var C;
3760
3760
  return o.value.length > 0 && o.value !== ((C = A.value) == null ? void 0 : C[n.itemLabel]);
3761
3761
  });
3762
- function U(C) {
3762
+ function H(C) {
3763
3763
  r.value = C, E();
3764
3764
  }
3765
3765
  function Q() {
@@ -3774,12 +3774,12 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3774
3774
  s.value && (l("before-hide"), s.value = !1, i.value = void 0);
3775
3775
  }
3776
3776
  function I() {
3777
- s.value ? E() : ne();
3777
+ s.value ? E() : ae();
3778
3778
  }
3779
3779
  function V() {
3780
3780
  _.value && (r.value = n.emptyValue, i.value = void 0, x());
3781
3781
  }
3782
- function ne() {
3782
+ function ae() {
3783
3783
  if (Y(), A.value !== void 0) {
3784
3784
  const C = k.value.indexOf(A.value);
3785
3785
  C !== -1 && Xe(() => z(C));
@@ -3803,14 +3803,14 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3803
3803
  }));
3804
3804
  else if (C.key === "Enter") {
3805
3805
  if (P.value === void 0) return;
3806
- U(P.value[n.itemValue]);
3806
+ H(P.value[n.itemValue]);
3807
3807
  } else if (C.key === "Home")
3808
3808
  i.value = (S = p.value) == null ? void 0 : S.getFirstFocusableItemIndex();
3809
3809
  else if (C.key === "End")
3810
3810
  i.value = (F = p.value) == null ? void 0 : F.getLastFocusableItemIndex();
3811
3811
  else if (C.key === "Tab") {
3812
3812
  if (P.value === void 0) return;
3813
- U(P.value[n.itemValue]);
3813
+ H(P.value[n.itemValue]);
3814
3814
  } else (/^[a-z]$/i.test(C.key) || C.key === "Backspace") && Y();
3815
3815
  }
3816
3816
  function N() {
@@ -3910,17 +3910,17 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3910
3910
  "aria-activedescendant": T.value,
3911
3911
  size: n.size
3912
3912
  }, C.$attrs, {
3913
- onClick: ne,
3913
+ onClick: ae,
3914
3914
  onFocusout: D,
3915
3915
  onKeydown: le
3916
- }), ze({
3917
- "label.prepend": H(() => [
3916
+ }), Qe({
3917
+ "label.prepend": W(() => [
3918
3918
  q(C.$slots, "label.prepend")
3919
3919
  ]),
3920
- "label.append": H(() => [
3920
+ "label.append": W(() => [
3921
3921
  q(C.$slots, "label.append")
3922
3922
  ]),
3923
- append: H(() => [
3923
+ append: W(() => [
3924
3924
  q(C.$slots, "append"),
3925
3925
  _.value && o.value ? (m(), se(u(An), {
3926
3926
  key: 0,
@@ -3943,7 +3943,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3943
3943
  disabled: n.disabled,
3944
3944
  onMousedown: dt(I, ["stop", "prevent"])
3945
3945
  }, {
3946
- default: H(() => [
3946
+ default: W(() => [
3947
3947
  ye(u(vn), {
3948
3948
  "model-value": s.value,
3949
3949
  icons: n.icons
@@ -3956,14 +3956,14 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3956
3956
  }, [
3957
3957
  C.$slots.prepend ? {
3958
3958
  name: "prepend",
3959
- fn: H(() => [
3959
+ fn: W(() => [
3960
3960
  q(C.$slots, "prepend")
3961
3961
  ]),
3962
3962
  key: "0"
3963
3963
  } : void 0,
3964
3964
  C.$slots.extras ? {
3965
3965
  name: "extras",
3966
- fn: H(() => [
3966
+ fn: W(() => [
3967
3967
  q(C.$slots, "extras")
3968
3968
  ]),
3969
3969
  key: "1"
@@ -3983,7 +3983,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3983
3983
  onEnter: O,
3984
3984
  onLeave: te
3985
3985
  }, {
3986
- default: H(() => {
3986
+ default: W(() => {
3987
3987
  var K;
3988
3988
  return [
3989
3989
  ee("div", {
@@ -4011,9 +4011,9 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
4011
4011
  "item-label": n.itemLabel,
4012
4012
  "item-value": n.itemValue,
4013
4013
  onMouseup: G,
4014
- "onUpdate:modelValue": U
4014
+ "onUpdate:modelValue": H
4015
4015
  }, {
4016
- item: H(({ item: re }) => [
4016
+ item: W(({ item: re }) => [
4017
4017
  q(C.$slots, "item", { item: re })
4018
4018
  ]),
4019
4019
  _: 3
@@ -5502,7 +5502,7 @@ class If extends Ss {
5502
5502
  return n.timestampIsSet ? a : je(a, Cf(a, this.context));
5503
5503
  }
5504
5504
  }
5505
- class Qe {
5505
+ class We {
5506
5506
  run(e, a, n, l) {
5507
5507
  const r = this.parse(e, a, n, l);
5508
5508
  return r ? {
@@ -5520,7 +5520,7 @@ class Qe {
5520
5520
  return !0;
5521
5521
  }
5522
5522
  }
5523
- class Of extends Qe {
5523
+ class Of extends We {
5524
5524
  constructor() {
5525
5525
  super(...arguments);
5526
5526
  be(this, "priority", 140);
@@ -5681,7 +5681,7 @@ function Os(t, e) {
5681
5681
  function Es(t) {
5682
5682
  return t % 400 === 0 || t % 4 === 0 && t % 100 !== 0;
5683
5683
  }
5684
- class Ef extends Qe {
5684
+ class Ef extends We {
5685
5685
  constructor() {
5686
5686
  super(...arguments);
5687
5687
  be(this, "priority", 130);
@@ -5722,7 +5722,7 @@ class Ef extends Qe {
5722
5722
  return a.setFullYear(s, 0, 1), a.setHours(0, 0, 0, 0), a;
5723
5723
  }
5724
5724
  }
5725
- class Rf extends Qe {
5725
+ class Rf extends We {
5726
5726
  constructor() {
5727
5727
  super(...arguments);
5728
5728
  be(this, "priority", 130);
@@ -5781,7 +5781,7 @@ class Rf extends Qe {
5781
5781
  return a.setFullYear(o, 0, r.firstWeekContainsDate), a.setHours(0, 0, 0, 0), Pt(a, r);
5782
5782
  }
5783
5783
  }
5784
- class Lf extends Qe {
5784
+ class Lf extends We {
5785
5785
  constructor() {
5786
5786
  super(...arguments);
5787
5787
  be(this, "priority", 130);
@@ -5811,7 +5811,7 @@ class Lf extends Qe {
5811
5811
  return r.setFullYear(l, 0, 4), r.setHours(0, 0, 0, 0), Da(r);
5812
5812
  }
5813
5813
  }
5814
- class Bf extends Qe {
5814
+ class Bf extends We {
5815
5815
  constructor() {
5816
5816
  super(...arguments);
5817
5817
  be(this, "priority", 130);
@@ -5824,7 +5824,7 @@ class Bf extends Qe {
5824
5824
  return a.setFullYear(l, 0, 1), a.setHours(0, 0, 0, 0), a;
5825
5825
  }
5826
5826
  }
5827
- class Nf extends Qe {
5827
+ class Nf extends We {
5828
5828
  constructor() {
5829
5829
  super(...arguments);
5830
5830
  be(this, "priority", 120);
@@ -5891,7 +5891,7 @@ class Nf extends Qe {
5891
5891
  return a.setMonth((l - 1) * 3, 1), a.setHours(0, 0, 0, 0), a;
5892
5892
  }
5893
5893
  }
5894
- class Vf extends Qe {
5894
+ class Vf extends We {
5895
5895
  constructor() {
5896
5896
  super(...arguments);
5897
5897
  be(this, "priority", 120);
@@ -5958,7 +5958,7 @@ class Vf extends Qe {
5958
5958
  return a.setMonth((l - 1) * 3, 1), a.setHours(0, 0, 0, 0), a;
5959
5959
  }
5960
5960
  }
5961
- class Ff extends Qe {
5961
+ class Ff extends We {
5962
5962
  constructor() {
5963
5963
  super(...arguments);
5964
5964
  be(this, "incompatibleTokens", [
@@ -6026,7 +6026,7 @@ class Ff extends Qe {
6026
6026
  return a.setMonth(l, 1), a.setHours(0, 0, 0, 0), a;
6027
6027
  }
6028
6028
  }
6029
- class Yf extends Qe {
6029
+ class Yf extends We {
6030
6030
  constructor() {
6031
6031
  super(...arguments);
6032
6032
  be(this, "priority", 110);
@@ -6098,7 +6098,7 @@ function zf(t, e, a) {
6098
6098
  const n = Ae(t, a == null ? void 0 : a.in), l = Vl(n, a) - e;
6099
6099
  return n.setDate(n.getDate() - l * 7), Ae(n, a == null ? void 0 : a.in);
6100
6100
  }
6101
- class Qf extends Qe {
6101
+ class Qf extends We {
6102
6102
  constructor() {
6103
6103
  super(...arguments);
6104
6104
  be(this, "priority", 100);
@@ -6139,7 +6139,7 @@ function Wf(t, e, a) {
6139
6139
  const n = Ae(t, a == null ? void 0 : a.in), l = Bl(n, a) - e;
6140
6140
  return n.setDate(n.getDate() - l * 7), n;
6141
6141
  }
6142
- class Hf extends Qe {
6142
+ class Hf extends We {
6143
6143
  constructor() {
6144
6144
  super(...arguments);
6145
6145
  be(this, "priority", 100);
@@ -6191,7 +6191,7 @@ const Uf = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], jf = [
6191
6191
  30,
6192
6192
  31
6193
6193
  ];
6194
- class Xf extends Qe {
6194
+ class Xf extends We {
6195
6195
  constructor() {
6196
6196
  super(...arguments);
6197
6197
  be(this, "priority", 90);
@@ -6229,7 +6229,7 @@ class Xf extends Qe {
6229
6229
  return a.setDate(l), a.setHours(0, 0, 0, 0), a;
6230
6230
  }
6231
6231
  }
6232
- class Kf extends Qe {
6232
+ class Kf extends We {
6233
6233
  constructor() {
6234
6234
  super(...arguments);
6235
6235
  be(this, "priority", 90);
@@ -6276,7 +6276,7 @@ function Yl(t, e, a) {
6276
6276
  const n = va(), l = (a == null ? void 0 : a.weekStartsOn) ?? ((v = (d = a == null ? void 0 : a.locale) == null ? void 0 : d.options) == null ? void 0 : v.weekStartsOn) ?? n.weekStartsOn ?? ((_ = (h = n.locale) == null ? void 0 : h.options) == null ? void 0 : _.weekStartsOn) ?? 0, r = Ae(t, a == null ? void 0 : a.in), s = r.getDay(), i = (e % 7 + 7) % 7, c = 7 - l, p = e < 0 || e > 6 ? e - (s + c) % 7 : (i + c) % 7 - (s + c) % 7;
6277
6277
  return xt(r, p, a);
6278
6278
  }
6279
- class Gf extends Qe {
6279
+ class Gf extends We {
6280
6280
  constructor() {
6281
6281
  super(...arguments);
6282
6282
  be(this, "priority", 90);
@@ -6317,7 +6317,7 @@ class Gf extends Qe {
6317
6317
  return a = Yl(a, l, r), a.setHours(0, 0, 0, 0), a;
6318
6318
  }
6319
6319
  }
6320
- class Zf extends Qe {
6320
+ class Zf extends We {
6321
6321
  constructor() {
6322
6322
  super(...arguments);
6323
6323
  be(this, "priority", 90);
@@ -6388,7 +6388,7 @@ class Zf extends Qe {
6388
6388
  return a = Yl(a, l, r), a.setHours(0, 0, 0, 0), a;
6389
6389
  }
6390
6390
  }
6391
- class Jf extends Qe {
6391
+ class Jf extends We {
6392
6392
  constructor() {
6393
6393
  super(...arguments);
6394
6394
  be(this, "priority", 90);
@@ -6463,7 +6463,7 @@ function ep(t, e, a) {
6463
6463
  const n = Ae(t, a == null ? void 0 : a.in), l = Af(n, a), r = e - l;
6464
6464
  return xt(n, r, a);
6465
6465
  }
6466
- class tp extends Qe {
6466
+ class tp extends We {
6467
6467
  constructor() {
6468
6468
  super(...arguments);
6469
6469
  be(this, "priority", 90);
@@ -6559,7 +6559,7 @@ class tp extends Qe {
6559
6559
  return a = ep(a, l), a.setHours(0, 0, 0, 0), a;
6560
6560
  }
6561
6561
  }
6562
- class ap extends Qe {
6562
+ class ap extends We {
6563
6563
  constructor() {
6564
6564
  super(...arguments);
6565
6565
  be(this, "priority", 80);
@@ -6600,7 +6600,7 @@ class ap extends Qe {
6600
6600
  return a.setHours(Fl(l), 0, 0, 0), a;
6601
6601
  }
6602
6602
  }
6603
- class np extends Qe {
6603
+ class np extends We {
6604
6604
  constructor() {
6605
6605
  super(...arguments);
6606
6606
  be(this, "priority", 80);
@@ -6641,7 +6641,7 @@ class np extends Qe {
6641
6641
  return a.setHours(Fl(l), 0, 0, 0), a;
6642
6642
  }
6643
6643
  }
6644
- class lp extends Qe {
6644
+ class lp extends We {
6645
6645
  constructor() {
6646
6646
  super(...arguments);
6647
6647
  be(this, "priority", 80);
@@ -6682,7 +6682,7 @@ class lp extends Qe {
6682
6682
  return a.setHours(Fl(l), 0, 0, 0), a;
6683
6683
  }
6684
6684
  }
6685
- class rp extends Qe {
6685
+ class rp extends We {
6686
6686
  constructor() {
6687
6687
  super(...arguments);
6688
6688
  be(this, "priority", 70);
@@ -6706,7 +6706,7 @@ class rp extends Qe {
6706
6706
  return r && l < 12 ? a.setHours(l + 12, 0, 0, 0) : !r && l === 12 ? a.setHours(0, 0, 0, 0) : a.setHours(l, 0, 0, 0), a;
6707
6707
  }
6708
6708
  }
6709
- class sp extends Qe {
6709
+ class sp extends We {
6710
6710
  constructor() {
6711
6711
  super(...arguments);
6712
6712
  be(this, "priority", 70);
@@ -6729,7 +6729,7 @@ class sp extends Qe {
6729
6729
  return a.setHours(l, 0, 0, 0), a;
6730
6730
  }
6731
6731
  }
6732
- class op extends Qe {
6732
+ class op extends We {
6733
6733
  constructor() {
6734
6734
  super(...arguments);
6735
6735
  be(this, "priority", 70);
@@ -6752,7 +6752,7 @@ class op extends Qe {
6752
6752
  return a.getHours() >= 12 && l < 12 ? a.setHours(l + 12, 0, 0, 0) : a.setHours(l, 0, 0, 0), a;
6753
6753
  }
6754
6754
  }
6755
- class ip extends Qe {
6755
+ class ip extends We {
6756
6756
  constructor() {
6757
6757
  super(...arguments);
6758
6758
  be(this, "priority", 70);
@@ -6776,7 +6776,7 @@ class ip extends Qe {
6776
6776
  return a.setHours(r, 0, 0, 0), a;
6777
6777
  }
6778
6778
  }
6779
- class up extends Qe {
6779
+ class up extends We {
6780
6780
  constructor() {
6781
6781
  super(...arguments);
6782
6782
  be(this, "priority", 60);
@@ -6799,7 +6799,7 @@ class up extends Qe {
6799
6799
  return a.setMinutes(l, 0, 0), a;
6800
6800
  }
6801
6801
  }
6802
- class dp extends Qe {
6802
+ class dp extends We {
6803
6803
  constructor() {
6804
6804
  super(...arguments);
6805
6805
  be(this, "priority", 50);
@@ -6822,7 +6822,7 @@ class dp extends Qe {
6822
6822
  return a.setSeconds(l, 0), a;
6823
6823
  }
6824
6824
  }
6825
- class cp extends Qe {
6825
+ class cp extends We {
6826
6826
  constructor() {
6827
6827
  super(...arguments);
6828
6828
  be(this, "priority", 30);
@@ -6836,7 +6836,7 @@ class cp extends Qe {
6836
6836
  return a.setMilliseconds(l), a;
6837
6837
  }
6838
6838
  }
6839
- class fp extends Qe {
6839
+ class fp extends We {
6840
6840
  constructor() {
6841
6841
  super(...arguments);
6842
6842
  be(this, "priority", 10);
@@ -6873,7 +6873,7 @@ class fp extends Qe {
6873
6873
  );
6874
6874
  }
6875
6875
  }
6876
- class pp extends Qe {
6876
+ class pp extends We {
6877
6877
  constructor() {
6878
6878
  super(...arguments);
6879
6879
  be(this, "priority", 10);
@@ -6910,7 +6910,7 @@ class pp extends Qe {
6910
6910
  );
6911
6911
  }
6912
6912
  }
6913
- class mp extends Qe {
6913
+ class mp extends We {
6914
6914
  constructor() {
6915
6915
  super(...arguments);
6916
6916
  be(this, "priority", 40);
@@ -6923,7 +6923,7 @@ class mp extends Qe {
6923
6923
  return [je(a, l * 1e3), { timestampIsSet: !0 }];
6924
6924
  }
6925
6925
  }
6926
- class vp extends Qe {
6926
+ class vp extends We {
6927
6927
  constructor() {
6928
6928
  super(...arguments);
6929
6929
  be(this, "priority", 20);
@@ -6970,8 +6970,8 @@ const hp = {
6970
6970
  T: new vp()
6971
6971
  }, yp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, gp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, bp = /^'([^]*?)'?$/, wp = /''/g, _p = /\S/, kp = /[a-zA-Z]/;
6972
6972
  function vl(t, e, a, n) {
6973
- var A, M, P, T, L, U, Q, Y;
6974
- const l = () => je((n == null ? void 0 : n.in) || a, NaN), r = Mf(), s = (n == null ? void 0 : n.locale) ?? r.locale ?? As, o = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((M = (A = n == null ? void 0 : n.locale) == null ? void 0 : A.options) == null ? void 0 : M.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((T = (P = r.locale) == null ? void 0 : P.options) == null ? void 0 : T.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? ((U = (L = n == null ? void 0 : n.locale) == null ? void 0 : L.options) == null ? void 0 : U.weekStartsOn) ?? r.weekStartsOn ?? ((Y = (Q = r.locale) == null ? void 0 : Q.options) == null ? void 0 : Y.weekStartsOn) ?? 0;
6973
+ var A, M, P, T, L, H, Q, Y;
6974
+ const l = () => je((n == null ? void 0 : n.in) || a, NaN), r = Mf(), s = (n == null ? void 0 : n.locale) ?? r.locale ?? As, o = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((M = (A = n == null ? void 0 : n.locale) == null ? void 0 : A.options) == null ? void 0 : M.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((T = (P = r.locale) == null ? void 0 : P.options) == null ? void 0 : T.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? ((H = (L = n == null ? void 0 : n.locale) == null ? void 0 : L.options) == null ? void 0 : H.weekStartsOn) ?? r.weekStartsOn ?? ((Y = (Q = r.locale) == null ? void 0 : Q.options) == null ? void 0 : Y.weekStartsOn) ?? 0;
6975
6975
  if (!e)
6976
6976
  return t ? l() : Ae(a, n == null ? void 0 : n.in);
6977
6977
  const c = {
@@ -6990,10 +6990,10 @@ function vl(t, e, a, n) {
6990
6990
  !(n != null && n.useAdditionalWeekYearTokens) && qs(E) && ml(E, e, t), !(n != null && n.useAdditionalDayOfYearTokens) && Ps(E) && ml(E, e, t);
6991
6991
  const I = E[0], V = hp[I];
6992
6992
  if (V) {
6993
- const { incompatibleTokens: ne } = V;
6994
- if (Array.isArray(ne)) {
6993
+ const { incompatibleTokens: ae } = V;
6994
+ if (Array.isArray(ae)) {
6995
6995
  const N = v.find(
6996
- (g) => ne.includes(g.token) || g.token === I
6996
+ (g) => ae.includes(g.token) || g.token === I
6997
6997
  );
6998
6998
  if (N)
6999
6999
  throw new RangeError(
@@ -7778,7 +7778,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7778
7778
  isMonthPicker: t.monthPicker,
7779
7779
  isYearPicker: t.yearPicker
7780
7780
  })
7781
- ), L = $(() => sm(t.range)), U = $(() => cm(t.ui));
7781
+ ), L = $(() => sm(t.range)), H = $(() => cm(t.ui));
7782
7782
  return {
7783
7783
  defaultedTransitions: c,
7784
7784
  defaultedMultiCalendars: r,
@@ -7796,7 +7796,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7796
7796
  propDates: T,
7797
7797
  defaultedTz: M,
7798
7798
  defaultedMultiDates: P,
7799
- defaultedUI: U,
7799
+ defaultedUI: H,
7800
7800
  getDefaultPattern: a,
7801
7801
  getDefaultStartTime: l
7802
7802
  };
@@ -7858,7 +7858,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7858
7858
  ],
7859
7859
  r.value.enabled
7860
7860
  ) : P(f, Vt(B, +f.month, +f.year));
7861
- }, U = (f) => {
7861
+ }, H = (f) => {
7862
7862
  if (Array.isArray(f))
7863
7863
  return f.map((B) => O(B));
7864
7864
  throw new Error(Kl.dateArr("multi-dates"));
@@ -7885,7 +7885,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7885
7885
  te(f[0]),
7886
7886
  f[1] ? te(f[1]) : wa(r.value.partialRange)
7887
7887
  ];
7888
- }, V = () => n.value[1] ? I() : te(pt(n.value[0])), ne = () => (n.value || []).map((f) => te(f)), le = (f = !1) => (f || E(), e.modelAuto ? V() : o.value.enabled ? ne() : Array.isArray(n.value) ? sn(() => I(), r.value.enabled) : te(pt(n.value))), N = (f) => !f || Array.isArray(f) && !f.length ? null : e.timePicker ? T(pt(f)) : e.monthPicker ? L(pt(f)) : e.yearPicker ? M(pt(f)) : o.value.enabled ? U(pt(f)) : e.weekPicker ? Q(pt(f)) : Y(pt(f)), g = (f) => {
7888
+ }, V = () => n.value[1] ? I() : te(pt(n.value[0])), ae = () => (n.value || []).map((f) => te(f)), le = (f = !1) => (f || E(), e.modelAuto ? V() : o.value.enabled ? ae() : Array.isArray(n.value) ? sn(() => I(), r.value.enabled) : te(pt(n.value))), N = (f) => !f || Array.isArray(f) && !f.length ? null : e.timePicker ? T(pt(f)) : e.monthPicker ? L(pt(f)) : e.yearPicker ? M(pt(f)) : o.value.enabled ? H(pt(f)) : e.weekPicker ? Q(pt(f)) : Y(pt(f)), g = (f) => {
7889
7889
  const B = N(f);
7890
7890
  gl(pt(B)) ? (n.value = pt(B), G()) : (n.value = null, c.value = "");
7891
7891
  }, y = () => {
@@ -8119,8 +8119,8 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8119
8119
  const D = (g = P.value) == null ? void 0 : g.getBoundingClientRect(), x = (y = T.value) == null ? void 0 : y.getBoundingClientRect();
8120
8120
  D && x && (M.value.maxWidth = `${x.width - D.width - 20}px`), A.value = !0;
8121
8121
  }, 0);
8122
- }, U = $(() => c.value.enabled && !c.value.partialRange && n.internalModelValue ? n.internalModelValue.length === 2 : !0), Q = $(
8123
- () => !d.value(n.internalModelValue) || !v.value(n.internalModelValue) || !U.value
8122
+ }, H = $(() => c.value.enabled && !c.value.partialRange && n.internalModelValue ? n.internalModelValue.length === 2 : !0), Q = $(
8123
+ () => !d.value(n.internalModelValue) || !v.value(n.internalModelValue) || !H.value
8124
8124
  ), Y = () => {
8125
8125
  const g = r.value;
8126
8126
  return n.timePicker || n.monthPicker, g(pt(n.internalModelValue));
@@ -8134,17 +8134,17 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8134
8134
  o.value.rangeSeparator,
8135
8135
  n.modelAuto,
8136
8136
  r.value
8137
- ), V = $(() => !n.internalModelValue || !n.menuMount ? "" : typeof r.value == "string" ? Array.isArray(n.internalModelValue) ? n.internalModelValue.length === 2 && n.internalModelValue[1] ? E() : p.value.enabled ? n.internalModelValue.map((g) => `${I(g)}`) : n.modelAuto ? `${I(n.internalModelValue[0])}` : `${I(n.internalModelValue[0])} -` : I(n.internalModelValue) : Y()), ne = () => p.value.enabled ? "; " : " - ", le = $(
8138
- () => Array.isArray(V.value) ? V.value.join(ne()) : V.value
8137
+ ), V = $(() => !n.internalModelValue || !n.menuMount ? "" : typeof r.value == "string" ? Array.isArray(n.internalModelValue) ? n.internalModelValue.length === 2 && n.internalModelValue[1] ? E() : p.value.enabled ? n.internalModelValue.map((g) => `${I(g)}`) : n.modelAuto ? `${I(n.internalModelValue[0])}` : `${I(n.internalModelValue[0])} -` : I(n.internalModelValue) : Y()), ae = () => p.value.enabled ? "; " : " - ", le = $(
8138
+ () => Array.isArray(V.value) ? V.value.join(ae()) : V.value
8139
8139
  ), N = () => {
8140
- d.value(n.internalModelValue) && v.value(n.internalModelValue) && U.value ? a("select-date") : a("invalid-select");
8140
+ d.value(n.internalModelValue) && v.value(n.internalModelValue) && H.value ? a("select-date") : a("invalid-select");
8141
8141
  };
8142
8142
  return (g, y) => (m(), w("div", {
8143
8143
  ref_key: "actionRowRef",
8144
8144
  ref: T,
8145
8145
  class: "dp__action_row"
8146
8146
  }, [
8147
- g.$slots["action-row"] ? q(g.$slots, "action-row", Re(De({ key: 0 }, {
8147
+ g.$slots["action-row"] ? q(g.$slots, "action-row", Ee(De({ key: 0 }, {
8148
8148
  internalModelValue: g.internalModelValue,
8149
8149
  disabled: Q.value,
8150
8150
  selectDate: () => g.$emit("select-date"),
@@ -8154,7 +8154,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8154
8154
  key: 0,
8155
8155
  class: "dp__selection_preview",
8156
8156
  title: le.value,
8157
- style: Ye(M.value)
8157
+ style: ze(M.value)
8158
8158
  }, [
8159
8159
  g.$slots["action-preview"] && A.value ? q(g.$slots, "action-preview", {
8160
8160
  key: 0,
@@ -8236,12 +8236,12 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8236
8236
  Io(() => {
8237
8237
  h.value = null;
8238
8238
  }), Ge(() => {
8239
- Xe().then(() => ne()), o.noOverlayFocus || U(), L(!0);
8239
+ Xe().then(() => ae()), o.noOverlayFocus || H(), L(!0);
8240
8240
  }), $t(() => L(!1));
8241
8241
  const L = (C) => {
8242
8242
  var S;
8243
8243
  o.arrowNavigation && ((S = o.headerRefs) != null && S.length ? r(C) : n(C));
8244
- }, U = () => {
8244
+ }, H = () => {
8245
8245
  var C;
8246
8246
  const S = ft(_);
8247
8247
  S && (c.value.enabled || (h.value ? (C = h.value) == null || C.focus({ preventScroll: !0 }) : S.focus({ preventScroll: !0 })), v.value = S.clientHeight < S.scrollHeight);
@@ -8273,10 +8273,10 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8273
8273
  });
8274
8274
  Ce(
8275
8275
  () => o.items,
8276
- () => ne(!1),
8276
+ () => ae(!1),
8277
8277
  { deep: !0 }
8278
8278
  );
8279
- const ne = (C = !0) => {
8279
+ const ae = (C = !0) => {
8280
8280
  Xe().then(() => {
8281
8281
  const S = ft(h), F = ft(_), K = ft(M), re = ft(T), f = K ? K.getBoundingClientRect().height : 0;
8282
8282
  F && (F.getBoundingClientRect().height ? P.value = F.getBoundingClientRect().height - f : P.value = p.value.modeHeight - f), S && re && C && (re.scrollTop = S.offsetTop - re.offsetTop - (P.value / 2 - S.getBoundingClientRect().height) - f);
@@ -8324,13 +8324,13 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8324
8324
  if (C.key === Je.enter) return N();
8325
8325
  if (C.key === Je.tab) return O();
8326
8326
  };
8327
- return e({ focusGrid: U }), (C, S) => {
8327
+ return e({ focusGrid: H }), (C, S) => {
8328
8328
  var F;
8329
8329
  return m(), w("div", {
8330
8330
  ref_key: "gridWrapRef",
8331
8331
  ref: _,
8332
8332
  class: ie(Q.value),
8333
- style: Ye(Y.value),
8333
+ style: ze(Y.value),
8334
8334
  role: C.useRelative ? void 0 : "dialog",
8335
8335
  "aria-label": C.overlayLabel,
8336
8336
  tabindex: C.useRelative ? void 0 : "0",
@@ -8342,7 +8342,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8342
8342
  ref_key: "containerRef",
8343
8343
  ref: T,
8344
8344
  class: ie(V.value),
8345
- style: Ye({ "--dp-overlay-height": `${P.value}px` }),
8345
+ style: ze({ "--dp-overlay-height": `${P.value}px` }),
8346
8346
  role: "grid"
8347
8347
  }, [
8348
8348
  ee("div", gm, [
@@ -8485,7 +8485,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8485
8485
  a("handle-year", M);
8486
8486
  };
8487
8487
  return (M, P) => {
8488
- var T, L, U, Q, Y;
8488
+ var T, L, H, Q, Y;
8489
8489
  return m(), w(we, null, [
8490
8490
  ee("div", {
8491
8491
  class: ie(["dp--year-mode-picker", { "dp--hidden-el": h.value }])
@@ -8498,7 +8498,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8498
8498
  class: ie((L = u(p)) == null ? void 0 : L.navBtnPrev),
8499
8499
  onActivate: P[0] || (P[0] = (E) => A(!1))
8500
8500
  }, {
8501
- default: H(() => [
8501
+ default: W(() => [
8502
8502
  M.$slots["arrow-left"] ? q(M.$slots, "arrow-left", { key: 0 }) : R("", !0),
8503
8503
  M.$slots["arrow-left"] ? R("", !0) : (m(), se(u(zl), { key: 1 }))
8504
8504
  ]),
@@ -8508,7 +8508,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8508
8508
  ref: "mpYearButtonRef",
8509
8509
  class: "dp__btn dp--year-select",
8510
8510
  type: "button",
8511
- "aria-label": `${t.year}-${(U = u(i)) == null ? void 0 : U.openYearsOverlay}`,
8511
+ "aria-label": `${t.year}-${(H = u(i)) == null ? void 0 : H.openYearsOverlay}`,
8512
8512
  "data-test-id": `year-mode-btn-${t.instance}`,
8513
8513
  onClick: P[1] || (P[1] = () => _(!1)),
8514
8514
  onKeydown: P[2] || (P[2] = mn(() => _(!1), ["enter"]))
@@ -8529,7 +8529,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8529
8529
  class: ie((Y = u(p)) == null ? void 0 : Y.navBtnNext),
8530
8530
  onActivate: P[3] || (P[3] = (E) => A(!0))
8531
8531
  }, {
8532
- default: H(() => [
8532
+ default: W(() => [
8533
8533
  M.$slots["arrow-right"] ? q(M.$slots, "arrow-right", { key: 0 }) : R("", !0),
8534
8534
  M.$slots["arrow-right"] ? R("", !0) : (m(), se(u(Ql), { key: 1 }))
8535
8535
  ]),
@@ -8540,7 +8540,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8540
8540
  name: u(v)(t.showYearPicker),
8541
8541
  css: u(d)
8542
8542
  }, {
8543
- default: H(() => {
8543
+ default: W(() => {
8544
8544
  var E, I;
8545
8545
  return [
8546
8546
  t.showYearPicker ? (m(), se(en, {
@@ -8556,8 +8556,8 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8556
8556
  type: "year",
8557
8557
  onToggle: _,
8558
8558
  onSelected: P[4] || (P[4] = (V) => k(V))
8559
- }, ze({
8560
- "button-icon": H(() => [
8559
+ }, Qe({
8560
+ "button-icon": W(() => [
8561
8561
  M.$slots["calendar-icon"] ? q(M.$slots, "calendar-icon", { key: 0 }) : R("", !0),
8562
8562
  M.$slots["calendar-icon"] ? R("", !0) : (m(), se(u(Sa), { key: 1 }))
8563
8563
  ]),
@@ -8565,7 +8565,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8565
8565
  }, [
8566
8566
  M.$slots["year-overlay-value"] ? {
8567
8567
  name: "item",
8568
- fn: H(({ item: V }) => [
8568
+ fn: W(({ item: V }) => [
8569
8569
  q(M.$slots, "year-overlay-value", {
8570
8570
  text: V.text,
8571
8571
  value: V.value
@@ -8609,17 +8609,17 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8609
8609
  month: c,
8610
8610
  emit: p
8611
8611
  }) => {
8612
- const d = $(() => Xl(s.yearRange, s.locale, s.reverseYears)), v = X([!1]), h = $(() => (V, ne) => {
8612
+ const d = $(() => Xl(s.yearRange, s.locale, s.reverseYears)), v = X([!1]), h = $(() => (V, ae) => {
8613
8613
  const le = Ke(At(/* @__PURE__ */ new Date()), {
8614
8614
  month: c.value(V),
8615
8615
  year: i.value(V)
8616
- }), N = ne ? Ts(le) : Wa(le);
8616
+ }), N = ae ? Ts(le) : Wa(le);
8617
8617
  return Gs(
8618
8618
  N,
8619
8619
  n.value.maxDate,
8620
8620
  n.value.minDate,
8621
8621
  s.preventMinMaxNavigation,
8622
- ne
8622
+ ae
8623
8623
  );
8624
8624
  }), _ = () => Array.isArray(r.value) && t.value.solo && r.value[1], k = () => {
8625
8625
  for (let V = 0; V < t.value.count; V++)
@@ -8631,16 +8631,16 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8631
8631
  year: Pe(r.value[1])
8632
8632
  };
8633
8633
  else {
8634
- const ne = Ke(oe(), l.value[V - 1]);
8635
- l.value[V] = { month: Be(ne), year: Pe(Ll(ne, 1)) };
8634
+ const ae = Ke(oe(), l.value[V - 1]);
8635
+ l.value[V] = { month: Be(ae), year: Pe(Ll(ae, 1)) };
8636
8636
  }
8637
8637
  }, A = (V) => {
8638
8638
  if (!V) return k();
8639
- const ne = Ke(oe(), l.value[V]);
8640
- return l.value[0].year = Pe(Vs(ne, t.value.count - 1)), k();
8641
- }, M = (V, ne) => {
8642
- const le = Pc(ne, V);
8643
- return e.value.showLastInRange && le > 1 ? ne : V;
8639
+ const ae = Ke(oe(), l.value[V]);
8640
+ return l.value[0].year = Pe(Vs(ae, t.value.count - 1)), k();
8641
+ }, M = (V, ae) => {
8642
+ const le = Pc(ae, V);
8643
+ return e.value.showLastInRange && le > 1 ? ae : V;
8644
8644
  }, P = (V) => s.focusStartDate || t.value.solo ? V[0] : V[1] ? M(V[0], V[1]) : V[0], T = () => {
8645
8645
  if (r.value) {
8646
8646
  const V = Array.isArray(r.value) ? P(r.value) : r.value;
@@ -8649,36 +8649,36 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8649
8649
  }, L = () => {
8650
8650
  T(), t.value.count && k();
8651
8651
  };
8652
- Ce(r, (V, ne) => {
8653
- s.isTextInputDate && JSON.stringify(V ?? {}) !== JSON.stringify(ne ?? {}) && L();
8652
+ Ce(r, (V, ae) => {
8653
+ s.isTextInputDate && JSON.stringify(V ?? {}) !== JSON.stringify(ae ?? {}) && L();
8654
8654
  }), Ge(() => {
8655
8655
  L();
8656
8656
  });
8657
- const U = (V, ne) => {
8658
- l.value[ne].year = V, p("update-month-year", { instance: ne, year: V, month: l.value[ne].month }), t.value.count && !t.value.solo && A(ne);
8659
- }, Q = $(() => (V) => Ca(d.value, (ne) => {
8657
+ const H = (V, ae) => {
8658
+ l.value[ae].year = V, p("update-month-year", { instance: ae, year: V, month: l.value[ae].month }), t.value.count && !t.value.solo && A(ae);
8659
+ }, Q = $(() => (V) => Ca(d.value, (ae) => {
8660
8660
  var le;
8661
- const N = i.value(V) === ne.value, g = Ha(
8662
- ne.value,
8661
+ const N = i.value(V) === ae.value, g = Ha(
8662
+ ae.value,
8663
8663
  Pa(n.value.minDate),
8664
8664
  Pa(n.value.maxDate)
8665
- ) || ((le = o.value.years) == null ? void 0 : le.includes(i.value(V))), y = Zl(a.value, ne.value);
8665
+ ) || ((le = o.value.years) == null ? void 0 : le.includes(i.value(V))), y = Zl(a.value, ae.value);
8666
8666
  return { active: N, disabled: g, highlighted: y };
8667
- })), Y = (V, ne) => {
8668
- U(V, ne), I(ne);
8669
- }, E = (V, ne = !1) => {
8670
- if (!h.value(V, ne)) {
8671
- const le = ne ? i.value(V) + 1 : i.value(V) - 1;
8672
- U(le, V);
8673
- }
8674
- }, I = (V, ne = !1, le) => {
8675
- ne || p("reset-flow"), le !== void 0 ? v.value[V] = le : v.value[V] = !v.value[V], v.value[V] ? p("overlay-toggle", { open: !0, overlay: gt.year }) : (p("overlay-closed"), p("overlay-toggle", { open: !1, overlay: gt.year }));
8667
+ })), Y = (V, ae) => {
8668
+ H(V, ae), I(ae);
8669
+ }, E = (V, ae = !1) => {
8670
+ if (!h.value(V, ae)) {
8671
+ const le = ae ? i.value(V) + 1 : i.value(V) - 1;
8672
+ H(le, V);
8673
+ }
8674
+ }, I = (V, ae = !1, le) => {
8675
+ ae || p("reset-flow"), le !== void 0 ? v.value[V] = le : v.value[V] = !v.value[V], v.value[V] ? p("overlay-toggle", { open: !0, overlay: gt.year }) : (p("overlay-closed"), p("overlay-toggle", { open: !1, overlay: gt.year }));
8676
8676
  };
8677
8677
  return {
8678
8678
  isDisabled: h,
8679
8679
  groupedYears: Q,
8680
8680
  showYearPicker: v,
8681
- selectYear: U,
8681
+ selectYear: H,
8682
8682
  toggleYearPicker: I,
8683
8683
  handleYearSelect: Y,
8684
8684
  handleYear: E
@@ -8699,7 +8699,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8699
8699
  t.isTextInputDate && L(Pe(oe(t.startDate)), 0);
8700
8700
  }, { modelValue: h, year: _, month: k, calendars: A } = an(t, e, v), M = $(() => Ys(t.formatLocale, t.locale, t.monthNameFormat)), P = X(null), { checkMinMaxRange: T } = ra(t), {
8701
8701
  selectYear: L,
8702
- groupedYears: U,
8702
+ groupedYears: H,
8703
8703
  showYearPicker: Q,
8704
8704
  toggleYearPicker: Y,
8705
8705
  handleYearSelect: E,
@@ -8721,7 +8721,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8721
8721
  Ge(() => {
8722
8722
  t.startDate && (h.value && t.focusStartDate || !h.value) && L(Pe(oe(t.startDate)), 0);
8723
8723
  });
8724
- const ne = (F) => F ? { month: Be(F), year: Pe(F) } : { month: null, year: null }, le = () => h.value ? Array.isArray(h.value) ? h.value.map((F) => ne(F)) : ne(h.value) : ne(), N = (F, K) => {
8724
+ const ae = (F) => F ? { month: Be(F), year: Pe(F) } : { month: null, year: null }, le = () => h.value ? Array.isArray(h.value) ? h.value.map((F) => ae(F)) : ae(h.value) : ae(), N = (F, K) => {
8725
8725
  const re = A.value[F], f = le();
8726
8726
  return Array.isArray(f) ? f.some((B) => B.year === (re == null ? void 0 : re.year) && B.month === K) : (re == null ? void 0 : re.year) === f.year && K === f.month;
8727
8727
  }, g = (F, K, re) => {
@@ -8768,7 +8768,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8768
8768
  };
8769
8769
  return {
8770
8770
  groupedMonths: D,
8771
- groupedYears: U,
8771
+ groupedYears: H,
8772
8772
  year: _,
8773
8773
  isDisabled: V,
8774
8774
  defaultedMultiCalendars: a,
@@ -8836,7 +8836,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8836
8836
  selectYear: P,
8837
8837
  toggleYearPicker: T,
8838
8838
  handleYearSelect: L,
8839
- handleYear: U,
8839
+ handleYear: H,
8840
8840
  getModelMonthYear: Q
8841
8841
  } = xm(s, n);
8842
8842
  return e({ getSidebarProps: () => ({
@@ -8845,19 +8845,19 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8845
8845
  getModelMonthYear: Q,
8846
8846
  selectMonth: M,
8847
8847
  selectYear: P,
8848
- handleYear: U
8848
+ handleYear: H
8849
8849
  }), presetDate: k, toggleYearPicker: (Y) => T(0, Y) }), (Y, E) => (m(), se(qn, {
8850
8850
  "multi-calendars": u(d).count,
8851
8851
  collapse: Y.collapse,
8852
8852
  stretch: "",
8853
8853
  "is-mobile": Y.isMobile
8854
8854
  }, {
8855
- default: H(({ instance: I }) => [
8855
+ default: W(({ instance: I }) => [
8856
8856
  Y.$slots["top-extra"] ? q(Y.$slots, "top-extra", {
8857
8857
  key: 0,
8858
8858
  value: Y.internalModelValue
8859
8859
  }) : R("", !0),
8860
- Y.$slots["month-year"] ? q(Y.$slots, "month-year", Re(De({ key: 1 }, {
8860
+ Y.$slots["month-year"] ? q(Y.$slots, "month-year", Ee(De({ key: 1 }, {
8861
8861
  year: u(c),
8862
8862
  months: u(o)(I),
8863
8863
  years: u(i)(I),
@@ -8877,22 +8877,22 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8877
8877
  type: "month",
8878
8878
  onSelected: (V) => u(M)(V, I),
8879
8879
  onHoverValue: (V) => u(A)(V, I)
8880
- }, ze({
8881
- header: H(() => [
8880
+ }, Qe({
8881
+ header: W(() => [
8882
8882
  ye(to, De(Y.$props, {
8883
8883
  items: u(i)(I),
8884
8884
  instance: I,
8885
8885
  "show-year-picker": u(h)[I],
8886
8886
  year: u(c)(I),
8887
8887
  "is-disabled": (V) => u(p)(I, V),
8888
- onHandleYear: (V) => u(U)(I, V),
8888
+ onHandleYear: (V) => u(H)(I, V),
8889
8889
  onYearSelect: (V) => u(L)(V, I),
8890
8890
  onToggleYearPicker: (V) => u(T)(I, V == null ? void 0 : V.flow, V == null ? void 0 : V.show)
8891
- }), ze({ _: 2 }, [
8892
- Ve(u(r), (V, ne) => ({
8891
+ }), Qe({ _: 2 }, [
8892
+ Ve(u(r), (V, ae) => ({
8893
8893
  name: V,
8894
- fn: H((le) => [
8895
- q(Y.$slots, V, Re(He(le)))
8894
+ fn: W((le) => [
8895
+ q(Y.$slots, V, Ee(Ye(le)))
8896
8896
  ])
8897
8897
  }))
8898
8898
  ]), 1040, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
@@ -8901,7 +8901,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8901
8901
  }, [
8902
8902
  Y.$slots["month-overlay-value"] ? {
8903
8903
  name: "item",
8904
- fn: H(({ item: V }) => [
8904
+ fn: W(({ item: V }) => [
8905
8905
  q(Y.$slots, "month-overlay-value", {
8906
8906
  text: V.text,
8907
8907
  value: V.value
@@ -8926,8 +8926,8 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8926
8926
  M.value,
8927
8927
  Pa(c.value.minDate),
8928
8928
  Pa(c.value.maxDate)
8929
- ) || o.value.years.includes(M.value) || !h(M.value) || _(M.value), L = v(M.value) && !P, U = Zl(r.value, M.value);
8930
- return { active: P, disabled: T, isBetween: L, highlighted: U };
8929
+ ) || o.value.years.includes(M.value) || !h(M.value) || _(M.value), L = v(M.value) && !P, H = Zl(r.value, M.value);
8930
+ return { active: P, disabled: T, isBetween: L, highlighted: H };
8931
8931
  })), A = (M) => Rt(At(Wa(/* @__PURE__ */ new Date())), M);
8932
8932
  return {
8933
8933
  groupedYears: k,
@@ -8971,7 +8971,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8971
8971
  key: 0,
8972
8972
  value: d.internalModelValue
8973
8973
  }) : R("", !0),
8974
- d.$slots["month-year"] ? q(d.$slots, "month-year", Re(De({ key: 1 }, {
8974
+ d.$slots["month-year"] ? q(d.$slots, "month-year", Ee(De({ key: 1 }, {
8975
8975
  years: u(r),
8976
8976
  selectYear: u(i)
8977
8977
  }))) : (m(), se(en, {
@@ -8986,10 +8986,10 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8986
8986
  "use-relative": "",
8987
8987
  onSelected: u(i),
8988
8988
  onHoverValue: u(c)
8989
- }, ze({ _: 2 }, [
8989
+ }, Qe({ _: 2 }, [
8990
8990
  d.$slots["year-overlay-value"] ? {
8991
8991
  name: "item",
8992
- fn: H(({ item: h }) => [
8992
+ fn: W(({ item: h }) => [
8993
8993
  q(d.$slots, "year-overlay-value", {
8994
8994
  text: h.text,
8995
8995
  value: h.value
@@ -9046,7 +9046,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9046
9046
  Ge(() => {
9047
9047
  n("mounted");
9048
9048
  });
9049
- const U = (b) => Ke(/* @__PURE__ */ new Date(), {
9049
+ const H = (b) => Ke(/* @__PURE__ */ new Date(), {
9050
9050
  hours: b.hours,
9051
9051
  minutes: b.minutes,
9052
9052
  seconds: l.enableSeconds ? b.seconds : 0,
@@ -9059,7 +9059,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9059
9059
  return !l.validateTime(b, me);
9060
9060
  }
9061
9061
  return !1;
9062
- }, V = $(() => (b) => !F(+l[b] + +l[`${b}Increment`], b) || I(b, !0)), ne = $(() => (b) => !F(+l[b] - +l[`${b}Increment`], b) || I(b, !1)), le = (b, pe) => ws(Ke(oe(), b), pe), N = (b, pe) => Tp(Ke(oe(), b), pe), g = $(
9062
+ }, V = $(() => (b) => !F(+l[b] + +l[`${b}Increment`], b) || I(b, !0)), ae = $(() => (b) => !F(+l[b] - +l[`${b}Increment`], b) || I(b, !1)), le = (b, pe) => ws(Ke(oe(), b), pe), N = (b, pe) => Tp(Ke(oe(), b), pe), g = $(
9063
9063
  () => ({
9064
9064
  dp__time_col: !0,
9065
9065
  dp__time_col_block: !l.timePickerInline,
@@ -9090,12 +9090,12 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9090
9090
  const me = l.disabledTimesConfig(l.order, b === "hours" ? pe : void 0);
9091
9091
  return me[b] ? !!((ge = me[b]) != null && ge.includes(pe)) : !0;
9092
9092
  }, te = (b, pe) => pe !== "hours" || A.value === "AM" ? b : b + 12, z = (b) => {
9093
- const pe = l.is24 ? 24 : 12, ge = b === "hours" ? pe : 60, me = +l[`${b}GridIncrement`], Le = b === "hours" && !l.is24 ? me : 0, Ee = [];
9093
+ const pe = l.is24 ? 24 : 12, ge = b === "hours" ? pe : 60, me = +l[`${b}GridIncrement`], Le = b === "hours" && !l.is24 ? me : 0, Re = [];
9094
9094
  for (let j = Le; j < ge; j += me)
9095
- Ee.push({ value: l.is24 ? j : te(j, b), text: j < 10 ? `0${j}` : `${j}` });
9096
- return b === "hours" && !l.is24 && Ee.unshift({ value: A.value === "PM" ? 12 : 0, text: "12" }), Ca(Ee, (j) => ({ active: !1, disabled: c.value.times[b].includes(j.value) || !F(j.value, b) || O(b, j.value) || E(b, j.value) }));
9095
+ Re.push({ value: l.is24 ? j : te(j, b), text: j < 10 ? `0${j}` : `${j}` });
9096
+ return b === "hours" && !l.is24 && Re.unshift({ value: A.value === "PM" ? 12 : 0, text: "12" }), Ca(Re, (j) => ({ active: !1, disabled: c.value.times[b].includes(j.value) || !F(j.value, b) || O(b, j.value) || E(b, j.value) }));
9097
9097
  }, C = (b) => b >= 0 ? b : 59, S = (b) => b >= 0 ? b : 23, F = (b, pe) => {
9098
- const ge = l.minTime ? U(Xn(l.minTime)) : null, me = l.maxTime ? U(Xn(l.maxTime)) : null, Le = U(
9098
+ const ge = l.minTime ? H(Xn(l.minTime)) : null, me = l.maxTime ? H(Xn(l.maxTime)) : null, Le = H(
9099
9099
  Xn(
9100
9100
  Y.value,
9101
9101
  pe,
@@ -9119,11 +9119,11 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9119
9119
  A.value === "PM" ? (A.value = "AM", n("update:hours", l.hours - 12)) : (A.value = "PM", n("update:hours", l.hours + 12)), n("am-pm-change", A.value);
9120
9120
  }, Se = (b) => {
9121
9121
  k[b] = !0;
9122
- }, ae = (b, pe, ge) => {
9122
+ }, ne = (b, pe, ge) => {
9123
9123
  if (b && l.arrowNavigation) {
9124
9124
  Array.isArray(P.value[pe]) ? P.value[pe][ge] = b : P.value[pe] = [b];
9125
9125
  const me = P.value.reduce(
9126
- (Le, Ee) => Ee.map((j, ue) => [...Le[ue] || [], Ee[ue]]),
9126
+ (Le, Re) => Re.map((j, ue) => [...Le[ue] || [], Re[ue]]),
9127
9127
  []
9128
9128
  );
9129
9129
  s(l.closeTimePickerBtn), M.value && (me[1] = me[1].concat(M.value)), r(me, l.order);
@@ -9133,7 +9133,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9133
9133
  var ge;
9134
9134
  return b.disabled ? R("", !0) : (m(), w("div", Am, [
9135
9135
  (m(!0), w(we, null, Ve(D.value, (me, Le) => {
9136
- var Ee, j, ue;
9136
+ var Re, j, ue;
9137
9137
  return m(), w("div", {
9138
9138
  key: Le,
9139
9139
  class: ie(g.value),
@@ -9147,7 +9147,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9147
9147
  ], 64)) : (m(), w(we, { key: 1 }, [
9148
9148
  ee("button", {
9149
9149
  ref_for: !0,
9150
- ref: (xe) => ae(xe, Le, 0),
9150
+ ref: (xe) => ne(xe, Le, 0),
9151
9151
  type: "button",
9152
9152
  class: ie({
9153
9153
  dp__btn: !0,
@@ -9158,7 +9158,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9158
9158
  "dp--hidden-el": L.value
9159
9159
  }),
9160
9160
  "data-test-id": `${me.type}-time-inc-btn-${l.order}`,
9161
- "aria-label": (Ee = u(o)) == null ? void 0 : Ee.incrementValue(me.type),
9161
+ "aria-label": (Re = u(o)) == null ? void 0 : Re.incrementValue(me.type),
9162
9162
  tabindex: "0",
9163
9163
  onKeydown: (xe) => u(wt)(xe, () => de(me.type, !0, { keyboard: !0 }), !0),
9164
9164
  onClick: (xe) => u(p).timeArrowHoldThreshold ? void 0 : de(me.type, !0),
@@ -9177,7 +9177,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9177
9177
  ], 42, Pm),
9178
9178
  ee("button", {
9179
9179
  ref_for: !0,
9180
- ref: (xe) => ae(xe, Le, 1),
9180
+ ref: (xe) => ne(xe, Le, 1),
9181
9181
  type: "button",
9182
9182
  "aria-label": `${G.value(me.type).text}-${(j = u(o)) == null ? void 0 : j.openTpOverlay(me.type)}`,
9183
9183
  class: ie({
@@ -9205,14 +9205,14 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9205
9205
  ], 42, qm),
9206
9206
  ee("button", {
9207
9207
  ref_for: !0,
9208
- ref: (xe) => ae(xe, Le, 2),
9208
+ ref: (xe) => ne(xe, Le, 2),
9209
9209
  type: "button",
9210
9210
  class: ie({
9211
9211
  dp__btn: !0,
9212
9212
  dp__inc_dec_button: !b.timePickerInline,
9213
9213
  dp__inc_dec_button_inline: b.timePickerInline,
9214
9214
  dp__tp_inline_btn_bottom: b.timePickerInline,
9215
- dp__inc_dec_button_disabled: ne.value(me.type),
9215
+ dp__inc_dec_button_disabled: ae.value(me.type),
9216
9216
  "dp--hidden-el": L.value
9217
9217
  }),
9218
9218
  "data-test-id": `${me.type}-time-dec-btn-${l.order}`,
@@ -9261,8 +9261,8 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9261
9261
  name: u(h)(k[me.type]),
9262
9262
  css: u(_)
9263
9263
  }, {
9264
- default: H(() => {
9265
- var Ee, j;
9264
+ default: W(() => {
9265
+ var Re, j;
9266
9266
  return [
9267
9267
  k[me.type] ? (m(), se(en, {
9268
9268
  key: 0,
@@ -9274,12 +9274,12 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9274
9274
  config: b.config,
9275
9275
  "arrow-navigation": b.arrowNavigation,
9276
9276
  "aria-labels": b.ariaLabels,
9277
- "overlay-label": (j = (Ee = u(o)).timeOverlay) == null ? void 0 : j.call(Ee, me.type),
9277
+ "overlay-label": (j = (Re = u(o)).timeOverlay) == null ? void 0 : j.call(Re, me.type),
9278
9278
  onSelected: (ue) => ve(me.type, ue),
9279
9279
  onToggle: (ue) => re(me.type),
9280
9280
  onResetFlow: pe[1] || (pe[1] = (ue) => b.$emit("reset-flow"))
9281
- }, ze({
9282
- "button-icon": H(() => [
9281
+ }, Qe({
9282
+ "button-icon": W(() => [
9283
9283
  b.$slots["clock-icon"] ? q(b.$slots, "clock-icon", { key: 0 }) : R("", !0),
9284
9284
  b.$slots["clock-icon"] ? R("", !0) : (m(), se(aa(b.timePickerInline ? u(Sa) : u(Wl)), { key: 1 }))
9285
9285
  ]),
@@ -9287,7 +9287,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9287
9287
  }, [
9288
9288
  b.$slots[`${me.type}-overlay-value`] ? {
9289
9289
  name: "item",
9290
- fn: H(({ item: ue }) => [
9290
+ fn: W(({ item: ue }) => [
9291
9291
  q(b.$slots, `${me.type}-overlay-value`, {
9292
9292
  text: ue.text,
9293
9293
  value: ue.value
@@ -9297,7 +9297,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9297
9297
  } : void 0,
9298
9298
  b.$slots[`${me.type}-overlay-header`] ? {
9299
9299
  name: "header",
9300
- fn: H(() => [
9300
+ fn: W(() => [
9301
9301
  q(b.$slots, `${me.type}-overlay-header`, {
9302
9302
  toggle: () => re(me.type)
9303
9303
  })
@@ -9343,7 +9343,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9343
9343
  Ge(() => {
9344
9344
  n("mount"), !l.timePicker && l.arrowNavigation ? r([ft(A.value)], "time") : s(!0, l.timePicker);
9345
9345
  });
9346
- const U = $(() => v.value.enabled && l.modelAuto ? zs(l.internalModelValue) : !0), Q = X(!1), Y = (O) => ({
9346
+ const H = $(() => v.value.enabled && l.modelAuto ? zs(l.internalModelValue) : !0), Q = X(!1), Y = (O) => ({
9347
9347
  hours: Array.isArray(l.hours) ? l.hours[O] : l.hours,
9348
9348
  minutes: Array.isArray(l.minutes) ? l.minutes[O] : l.minutes,
9349
9349
  seconds: Array.isArray(l.seconds) ? l.seconds[O] : l.seconds
@@ -9363,7 +9363,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9363
9363
  dp__btn: !0,
9364
9364
  dp__button: !0,
9365
9365
  dp__button_bottom: l.autoApply && !d.value.keepActionRow
9366
- })), ne = kt(o, "timePicker"), le = (O, te, z) => v.value.enabled ? te === 0 ? [O, E.value[1][z]] : [E.value[0][z], O] : O, N = (O) => {
9366
+ })), ae = kt(o, "timePicker"), le = (O, te, z) => v.value.enabled ? te === 0 ? [O, E.value[1][z]] : [E.value[0][z], O] : O, N = (O) => {
9367
9367
  n("update:hours", O);
9368
9368
  }, g = (O) => {
9369
9369
  n("update:minutes", O);
@@ -9406,7 +9406,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9406
9406
  name: u(h)(Q.value),
9407
9407
  css: u(_) && !O.timePickerInline
9408
9408
  }, {
9409
- default: H(() => {
9409
+ default: W(() => {
9410
9410
  var C, S;
9411
9411
  return [
9412
9412
  Q.value || O.timePicker || O.timePickerInline ? (m(), w("div", {
@@ -9419,7 +9419,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9419
9419
  "dp--overlay-absolute": !l.timePicker && !O.timePickerInline,
9420
9420
  "dp--overlay-relative": l.timePicker
9421
9421
  }),
9422
- style: Ye(O.timePicker ? { height: `${u(d).modeHeight}px` } : void 0),
9422
+ style: ze(O.timePicker ? { height: `${u(d).modeHeight}px` } : void 0),
9423
9423
  "aria-label": (C = u(c)) == null ? void 0 : C.timePicker,
9424
9424
  tabindex: O.timePickerInline ? void 0 : 0
9425
9425
  }, [
@@ -9466,15 +9466,15 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9466
9466
  onOverlayClosed: x,
9467
9467
  onOverlayOpened: G,
9468
9468
  onAmPmChange: te[2] || (te[2] = (re) => O.$emit("am-pm-change", re))
9469
- }), ze({ _: 2 }, [
9470
- Ve(u(ne), (re, f) => ({
9469
+ }), Qe({ _: 2 }, [
9470
+ Ve(u(ae), (re, f) => ({
9471
9471
  name: re,
9472
- fn: H((B) => [
9472
+ fn: W((B) => [
9473
9473
  q(O.$slots, re, De({ ref_for: !0 }, B))
9474
9474
  ])
9475
9475
  }))
9476
9476
  ]), 1040, ["validate-time", "onUpdate:hours", "onUpdate:minutes", "onUpdate:seconds"])), [
9477
- [cn, K === 0 ? !0 : U.value]
9477
+ [cn, K === 0 ? !0 : H.value]
9478
9478
  ])), 128))
9479
9479
  ], 2)),
9480
9480
  !O.timePicker && !O.timePickerInline ? Ft((m(), w("button", {
@@ -9506,15 +9506,15 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9506
9506
  const { defaultedRange: l } = tt(t), r = (T, L) => Array.isArray(e[T]) ? e[T][L] : e[T], s = (T) => t.enableSeconds ? Array.isArray(e.seconds) ? e.seconds[T] : e.seconds : 0, o = (T, L) => T ? L !== void 0 ? Gt(T, r("hours", L), r("minutes", L), s(L)) : Gt(T, e.hours, e.minutes, s()) : Ns(oe(), s(L)), i = (T, L) => {
9507
9507
  e[T] = L;
9508
9508
  }, c = $(() => t.modelAuto && l.value.enabled ? Array.isArray(a.value) ? a.value.length > 1 : !1 : l.value.enabled), p = (T, L) => {
9509
- const U = Object.fromEntries(
9509
+ const H = Object.fromEntries(
9510
9510
  Object.keys(e).map((Q) => Q === T ? [Q, L] : [Q, e[Q]].slice())
9511
9511
  );
9512
9512
  if (c.value && !l.value.disableTimeRangeValidation) {
9513
9513
  const Q = (E) => a.value ? Gt(
9514
9514
  a.value[E],
9515
- U.hours[E],
9516
- U.minutes[E],
9517
- U.seconds[E]
9515
+ H.hours[E],
9516
+ H.minutes[E],
9517
+ H.seconds[E]
9518
9518
  ) : null, Y = (E) => Bs(a.value[E], 0);
9519
9519
  return !(Ne(Q(0), Q(1)) && (fa(Q(0), Y(1)) || Ma(Q(1), Y(0))));
9520
9520
  }
@@ -9527,24 +9527,24 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9527
9527
  d("minutes", T);
9528
9528
  }, _ = (T) => {
9529
9529
  d("seconds", T);
9530
- }, k = (T, L, U, Q) => {
9531
- L && v(T), !L && !U && h(T), U && _(T), a.value && Q(a.value);
9530
+ }, k = (T, L, H, Q) => {
9531
+ L && v(T), !L && !H && h(T), H && _(T), a.value && Q(a.value);
9532
9532
  }, A = (T) => {
9533
9533
  if (T) {
9534
- const L = Array.isArray(T), U = L ? [+T[0].hours, +T[1].hours] : +T.hours, Q = L ? [+T[0].minutes, +T[1].minutes] : +T.minutes, Y = L ? [+T[0].seconds, +T[1].seconds] : +T.seconds;
9535
- i("hours", U), i("minutes", Q), t.enableSeconds && i("seconds", Y);
9534
+ const L = Array.isArray(T), H = L ? [+T[0].hours, +T[1].hours] : +T.hours, Q = L ? [+T[0].minutes, +T[1].minutes] : +T.minutes, Y = L ? [+T[0].seconds, +T[1].seconds] : +T.seconds;
9535
+ i("hours", H), i("minutes", Q), t.enableSeconds && i("seconds", Y);
9536
9536
  }
9537
9537
  }, M = (T, L) => {
9538
- const U = {
9538
+ const H = {
9539
9539
  hours: Array.isArray(e.hours) ? e.hours[T] : e.hours,
9540
9540
  disabledArr: []
9541
9541
  };
9542
- return (L || L === 0) && (U.hours = L), Array.isArray(t.disabledTimes) && (U.disabledArr = l.value.enabled && Array.isArray(t.disabledTimes[T]) ? t.disabledTimes[T] : t.disabledTimes), U;
9542
+ return (L || L === 0) && (H.hours = L), Array.isArray(t.disabledTimes) && (H.disabledArr = l.value.enabled && Array.isArray(t.disabledTimes[T]) ? t.disabledTimes[T] : t.disabledTimes), H;
9543
9543
  }, P = $(() => (T, L) => {
9544
- var U;
9544
+ var H;
9545
9545
  if (Array.isArray(t.disabledTimes)) {
9546
9546
  const { disabledArr: Q, hours: Y } = M(T, L), E = Q.filter((I) => +I.hours === Y);
9547
- return ((U = E[0]) == null ? void 0 : U.minutes) === "*" ? { hours: [Y], minutes: void 0, seconds: void 0 } : {
9547
+ return ((H = E[0]) == null ? void 0 : H.minutes) === "*" ? { hours: [Y], minutes: void 0, seconds: void 0 } : {
9548
9548
  hours: [],
9549
9549
  minutes: (E == null ? void 0 : E.map((I) => +I.minutes)) ?? [],
9550
9550
  seconds: (E == null ? void 0 : E.map((I) => I.seconds ? +I.seconds : void 0)) ?? []
@@ -9607,7 +9607,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9607
9607
  if (!t.shadow)
9608
9608
  return d(r.value), n.value ? L() : M();
9609
9609
  });
9610
- const U = () => {
9610
+ const H = () => {
9611
9611
  Array.isArray(n.value) ? n.value = n.value.map((Q, Y) => Q && c(Q, Y)) : n.value = c(n.value), e("time-update");
9612
9612
  };
9613
9613
  return {
@@ -9615,7 +9615,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9615
9615
  time: l,
9616
9616
  disabledTimesConfig: v,
9617
9617
  updateTime: (Q, Y = !0, E = !1) => {
9618
- i(Q, Y, E, U);
9618
+ i(Q, Y, E, H);
9619
9619
  },
9620
9620
  validateTime: h
9621
9621
  };
@@ -9652,7 +9652,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9652
9652
  stretch: "",
9653
9653
  "is-mobile": h.isMobile
9654
9654
  }, {
9655
- default: H(() => [
9655
+ default: W(() => [
9656
9656
  ye(ro, De({
9657
9657
  ref_key: "tpRef",
9658
9658
  ref: o
@@ -9670,11 +9670,11 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9670
9670
  onResetFlow: _[4] || (_[4] = (k) => h.$emit("reset-flow")),
9671
9671
  onOverlayClosed: _[5] || (_[5] = (k) => h.$emit("overlay-toggle", { open: !1, overlay: k })),
9672
9672
  onOverlayOpened: _[6] || (_[6] = (k) => h.$emit("overlay-toggle", { open: !0, overlay: k }))
9673
- }), ze({ _: 2 }, [
9673
+ }), Qe({ _: 2 }, [
9674
9674
  Ve(u(s), (k, A) => ({
9675
9675
  name: k,
9676
- fn: H((M) => [
9677
- q(h.$slots, k, Re(He(M)))
9676
+ fn: W((M) => [
9677
+ q(h.$slots, k, Ee(Ye(M)))
9678
9678
  ])
9679
9679
  }))
9680
9680
  ]), 1040, ["hours", "minutes", "seconds", "internal-model-value", "disabled-times-config", "validate-time"])
@@ -9709,7 +9709,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9709
9709
  defaultedHighlight: p,
9710
9710
  propDates: d,
9711
9711
  defaultedUI: v
9712
- } = tt(l), { transitionName: h, showTransition: _ } = tn(r), { buildMatrix: k } = la(), { handleMonthYearChange: A, isDisabled: M, updateMonthYear: P } = pm(l, n), { showLeftIcon: T, showRightIcon: L } = In(), U = X(!1), Q = X(!1), Y = X(!1), E = X([null, null, null, null]);
9712
+ } = tt(l), { transitionName: h, showTransition: _ } = tn(r), { buildMatrix: k } = la(), { handleMonthYearChange: A, isDisabled: M, updateMonthYear: P } = pm(l, n), { showLeftIcon: T, showRightIcon: L } = In(), H = X(!1), Q = X(!1), Y = X(!1), E = X([null, null, null, null]);
9713
9713
  Ge(() => {
9714
9714
  n("mount");
9715
9715
  });
@@ -9719,7 +9719,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9719
9719
  const K = S === Tt.month ? Tt.year : Tt.month;
9720
9720
  n("update-month-year", { [S]: F, [K]: l[K] }), S === Tt.month ? x(!0) : G(!0);
9721
9721
  }
9722
- }), V = $(I(Tt.month)), ne = $(I(Tt.year)), le = $(() => (S) => ({
9722
+ }), V = $(I(Tt.month)), ae = $(I(Tt.year)), le = $(() => (S) => ({
9723
9723
  month: l.month,
9724
9724
  year: l.year,
9725
9725
  items: S === Tt.month ? l.months : l.years,
@@ -9743,7 +9743,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9743
9743
  })), D = (S, F, K) => {
9744
9744
  K !== void 0 ? S.value = K : S.value = !S.value, S.value ? (Y.value = !0, n("overlay-opened", F)) : (Y.value = !1, n("overlay-closed", F));
9745
9745
  }, x = (S = !1, F) => {
9746
- O(S), D(U, gt.month, F);
9746
+ O(S), D(H, gt.month, F);
9747
9747
  }, G = (S = !1, F) => {
9748
9748
  O(S), D(Q, gt.year, F);
9749
9749
  }, O = (S) => {
@@ -9760,7 +9760,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9760
9760
  modelValue: V.value,
9761
9761
  updateModelValue: (de) => V.value = de,
9762
9762
  text: N.value.text,
9763
- showSelectionGrid: U.value,
9763
+ showSelectionGrid: H.value,
9764
9764
  items: g.value,
9765
9765
  ariaLabel: (S = s.value) == null ? void 0 : S.openMonthsOverlay,
9766
9766
  overlayLabel: ((K = (F = s.value).monthPicker) == null ? void 0 : K.call(F, !0)) ?? void 0
@@ -9769,8 +9769,8 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9769
9769
  type: Tt.year,
9770
9770
  index: 2,
9771
9771
  toggle: G,
9772
- modelValue: ne.value,
9773
- updateModelValue: (de) => ne.value = de,
9772
+ modelValue: ae.value,
9773
+ updateModelValue: (de) => ae.value = de,
9774
9774
  text: Ws(l.year, l.locale),
9775
9775
  showSelectionGrid: Q.value,
9776
9776
  items: y.value,
@@ -9787,7 +9787,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9787
9787
  var K, re, f, B, de, Oe;
9788
9788
  return m(), w("div", Ym, [
9789
9789
  S.$slots["month-year"] ? (m(), w("div", zm, [
9790
- q(S.$slots, "month-year", Re(He({
9790
+ q(S.$slots, "month-year", Ee(Ye({
9791
9791
  month: t.month,
9792
9792
  year: t.year,
9793
9793
  months: t.months,
@@ -9811,7 +9811,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9811
9811
  onActivate: F[0] || (F[0] = (Z) => u(A)(!1, !0)),
9812
9812
  onSetRef: F[1] || (F[1] = (Z) => te(Z, 0))
9813
9813
  }, {
9814
- default: H(() => [
9814
+ default: W(() => [
9815
9815
  S.$slots["arrow-left"] ? q(S.$slots, "arrow-left", { key: 0 }) : R("", !0),
9816
9816
  S.$slots["arrow-left"] ? R("", !0) : (m(), se(u(zl), { key: 1 }))
9817
9817
  ]),
@@ -9827,14 +9827,14 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9827
9827
  }, [
9828
9828
  ee("button", {
9829
9829
  ref_for: !0,
9830
- ref: (ae) => te(ae, Se + 1),
9830
+ ref: (ne) => te(ne, Se + 1),
9831
9831
  type: "button",
9832
9832
  "data-dp-element": `overlay-${Z.type}`,
9833
9833
  class: ie(["dp__btn dp__month_year_select", { "dp--hidden-el": Y.value }]),
9834
9834
  "aria-label": `${Z.text}-${Z.ariaLabel}`,
9835
9835
  "data-test-id": `${Z.type}-toggle-overlay-${t.instance}`,
9836
9836
  onClick: Z.toggle,
9837
- onKeydown: (ae) => u(wt)(ae, () => Z.toggle(), !0)
9837
+ onKeydown: (ne) => u(wt)(ne, () => Z.toggle(), !0)
9838
9838
  }, [
9839
9839
  S.$slots[Z.type] ? q(S.$slots, Z.type, {
9840
9840
  key: 0,
@@ -9849,7 +9849,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9849
9849
  name: u(h)(Z.showSelectionGrid),
9850
9850
  css: u(_)
9851
9851
  }, {
9852
- default: H(() => [
9852
+ default: W(() => [
9853
9853
  Z.showSelectionGrid ? (m(), se(en, {
9854
9854
  key: 0,
9855
9855
  items: Z.items,
@@ -9867,8 +9867,8 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9867
9867
  "overlay-label": Z.overlayLabel,
9868
9868
  onSelected: Z.updateModelValue,
9869
9869
  onToggle: Z.toggle
9870
- }, ze({
9871
- "button-icon": H(() => [
9870
+ }, Qe({
9871
+ "button-icon": W(() => [
9872
9872
  S.$slots["calendar-icon"] ? q(S.$slots, "calendar-icon", { key: 0 }) : R("", !0),
9873
9873
  S.$slots["calendar-icon"] ? R("", !0) : (m(), se(u(Sa), { key: 1 }))
9874
9874
  ]),
@@ -9876,24 +9876,24 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9876
9876
  }, [
9877
9877
  S.$slots[`${Z.type}-overlay-value`] ? {
9878
9878
  name: "item",
9879
- fn: H(({ item: ae }) => [
9879
+ fn: W(({ item: ne }) => [
9880
9880
  q(S.$slots, `${Z.type}-overlay-value`, {
9881
- text: ae.text,
9882
- value: ae.value
9881
+ text: ne.text,
9882
+ value: ne.value
9883
9883
  })
9884
9884
  ]),
9885
9885
  key: "0"
9886
9886
  } : void 0,
9887
9887
  S.$slots[`${Z.type}-overlay`] ? {
9888
9888
  name: "overlay",
9889
- fn: H(() => [
9889
+ fn: W(() => [
9890
9890
  q(S.$slots, `${Z.type}-overlay`, De({ ref_for: !0 }, le.value(Z.type)))
9891
9891
  ]),
9892
9892
  key: "1"
9893
9893
  } : void 0,
9894
9894
  S.$slots[`${Z.type}-overlay-header`] ? {
9895
9895
  name: "header",
9896
- fn: H(() => [
9896
+ fn: W(() => [
9897
9897
  q(S.$slots, `${Z.type}-overlay-header`, {
9898
9898
  toggle: Z.toggle
9899
9899
  })
@@ -9914,7 +9914,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9914
9914
  class: ie((B = u(v)) == null ? void 0 : B.navBtnPrev),
9915
9915
  onActivate: F[2] || (F[2] = (Z) => u(A)(!1, !0))
9916
9916
  }, {
9917
- default: H(() => [
9917
+ default: W(() => [
9918
9918
  S.$slots["arrow-up"] ? q(S.$slots, "arrow-up", { key: 0 }) : R("", !0),
9919
9919
  S.$slots["arrow-up"] ? R("", !0) : (m(), se(u(Hl), { key: 1 }))
9920
9920
  ]),
@@ -9930,7 +9930,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9930
9930
  onActivate: F[3] || (F[3] = (Z) => u(A)(!0, !0)),
9931
9931
  onSetRef: F[4] || (F[4] = (Z) => te(Z, S.disableYearSelect ? 2 : 3))
9932
9932
  }, {
9933
- default: H(() => [
9933
+ default: W(() => [
9934
9934
  S.$slots[S.vertical ? "arrow-down" : "arrow-right"] ? q(S.$slots, S.vertical ? "arrow-down" : "arrow-right", { key: 0 }) : R("", !0),
9935
9935
  S.$slots[S.vertical ? "arrow-down" : "arrow-right"] ? R("", !0) : (m(), se(aa(S.vertical ? u(Ul) : u(Ql)), { key: 1 }))
9936
9936
  ]),
@@ -9987,18 +9987,18 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9987
9987
  bottom: "",
9988
9988
  left: "",
9989
9989
  transform: ""
9990
- }), k = X([]), A = X(null), M = X(!0), P = X(""), T = X({ startX: 0, endX: 0, startY: 0, endY: 0 }), L = X([]), U = X({ left: "50%" }), Q = X(!1), Y = $(() => l.calendar ? l.calendar(l.mappedDates) : l.mappedDates), E = $(() => l.dayNames ? Array.isArray(l.dayNames) ? l.dayNames : l.dayNames(l.locale, +l.weekStart) : Sp(l.formatLocale, l.locale, +l.weekStart));
9990
+ }), k = X([]), A = X(null), M = X(!0), P = X(""), T = X({ startX: 0, endX: 0, startY: 0, endY: 0 }), L = X([]), H = X({ left: "50%" }), Q = X(!1), Y = $(() => l.calendar ? l.calendar(l.mappedDates) : l.mappedDates), E = $(() => l.dayNames ? Array.isArray(l.dayNames) ? l.dayNames : l.dayNames(l.locale, +l.weekStart) : Sp(l.formatLocale, l.locale, +l.weekStart));
9991
9991
  Ge(() => {
9992
9992
  n("mount", { cmp: "calendar", refs: k }), o.value.noSwipe || A.value && (A.value.addEventListener("touchstart", te, { passive: !1 }), A.value.addEventListener("touchend", z, { passive: !1 }), A.value.addEventListener("touchmove", C, { passive: !1 })), l.monthChangeOnScroll && A.value && A.value.addEventListener("wheel", K, { passive: !1 });
9993
9993
  });
9994
9994
  const I = (Z) => Z ? l.vertical ? "vNext" : "next" : l.vertical ? "vPrevious" : "previous", V = (Z, Se) => {
9995
9995
  if (l.transitions) {
9996
- const ae = ht(Vt(oe(), l.month, l.year));
9997
- P.value = st(ht(Vt(oe(), Z, Se)), ae) ? s.value[I(!0)] : s.value[I(!1)], M.value = !1, Xe(() => {
9996
+ const ne = ht(Vt(oe(), l.month, l.year));
9997
+ P.value = st(ht(Vt(oe(), Z, Se)), ne) ? s.value[I(!0)] : s.value[I(!1)], M.value = !1, Xe(() => {
9998
9998
  M.value = !0;
9999
9999
  });
10000
10000
  }
10001
- }, ne = $(
10001
+ }, ae = $(
10002
10002
  () => ({
10003
10003
  ...v.value.calendar ?? {}
10004
10004
  })
@@ -10012,29 +10012,29 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10012
10012
  dp__calendar: !0,
10013
10013
  dp__calendar_next: c.value.count > 0 && l.instance !== 0
10014
10014
  })), y = $(() => (Z) => l.hideOffsetDates ? Z.current : !0), D = async (Z, Se) => {
10015
- const { width: ae, height: ve } = Z.getBoundingClientRect();
10015
+ const { width: ne, height: ve } = Z.getBoundingClientRect();
10016
10016
  h.value = Se.value;
10017
- let b = { left: `${ae / 2}px` }, pe = -50;
10017
+ let b = { left: `${ne / 2}px` }, pe = -50;
10018
10018
  if (await Xe(), L.value[0]) {
10019
10019
  const { left: ge, width: me } = L.value[0].getBoundingClientRect();
10020
- ge < 0 && (b = { left: "0" }, pe = 0, U.value.left = `${ae / 2}px`), window.innerWidth < ge + me && (b = { right: "0" }, pe = 0, U.value.left = `${me - ae / 2}px`);
10020
+ ge < 0 && (b = { left: "0" }, pe = 0, H.value.left = `${ne / 2}px`), window.innerWidth < ge + me && (b = { right: "0" }, pe = 0, H.value.left = `${me - ne / 2}px`);
10021
10021
  }
10022
10022
  _.value = {
10023
10023
  bottom: `${ve}px`,
10024
10024
  ...b,
10025
10025
  transform: `translateX(${pe}%)`
10026
10026
  };
10027
- }, x = async (Z, Se, ae) => {
10027
+ }, x = async (Z, Se, ne) => {
10028
10028
  var ve, b, pe;
10029
- const ge = ft(k.value[Se][ae]);
10029
+ const ge = ft(k.value[Se][ne]);
10030
10030
  ge && ((ve = Z.marker) != null && ve.customPosition && (pe = (b = Z.marker) == null ? void 0 : b.tooltip) != null && pe.length ? _.value = Z.marker.customPosition(ge) : await D(ge, Z), n("tooltip-open", Z.marker));
10031
- }, G = async (Z, Se, ae) => {
10031
+ }, G = async (Z, Se, ne) => {
10032
10032
  var ve, b;
10033
10033
  if (Q.value && d.value.enabled && d.value.dragSelect)
10034
10034
  return n("select-date", Z);
10035
10035
  if (n("set-hover-date", Z), (b = (ve = Z.marker) == null ? void 0 : ve.tooltip) != null && b.length) {
10036
10036
  if (l.hideOffsetDates && !Z.current) return;
10037
- await x(Z, Se, ae);
10037
+ await x(Z, Se, ne);
10038
10038
  }
10039
10039
  }, O = (Z) => {
10040
10040
  h.value && (h.value = null, _.value = JSON.parse(JSON.stringify({ bottom: "", left: "", transform: "" })), n("tooltip-close", Z.marker));
@@ -10047,15 +10047,15 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10047
10047
  }, S = () => {
10048
10048
  const Z = l.vertical ? "Y" : "X";
10049
10049
  Math.abs(T.value[`start${Z}`] - T.value[`end${Z}`]) > 10 && n("handle-swipe", T.value[`start${Z}`] > T.value[`end${Z}`] ? "right" : "left");
10050
- }, F = (Z, Se, ae) => {
10051
- Z && (Array.isArray(k.value[Se]) ? k.value[Se][ae] = Z : k.value[Se] = [Z]), l.arrowNavigation && r(k.value, "calendar");
10050
+ }, F = (Z, Se, ne) => {
10051
+ Z && (Array.isArray(k.value[Se]) ? k.value[Se][ne] = Z : k.value[Se] = [Z]), l.arrowNavigation && r(k.value, "calendar");
10052
10052
  }, K = (Z) => {
10053
10053
  l.monthChangeOnScroll && (Z.preventDefault(), n("handle-scroll", Z));
10054
10054
  }, re = (Z) => p.value.type === "local" ? Vl(Z.value, { weekStartsOn: +l.weekStart }) : p.value.type === "iso" ? Bl(Z.value) : typeof p.value.type == "function" ? p.value.type(Z.value) : "", f = (Z) => {
10055
10055
  const Se = Z[0];
10056
- return p.value.hideOnOffsetDates ? Z.some((ae) => ae.current) ? re(Se) : "" : re(Se);
10057
- }, B = (Z, Se, ae = !0) => {
10058
- !ae && Np() || (!d.value.enabled || o.value.allowPreventDefault) && (Kt(Z, o.value), n("select-date", Se));
10056
+ return p.value.hideOnOffsetDates ? Z.some((ne) => ne.current) ? re(Se) : "" : re(Se);
10057
+ }, B = (Z, Se, ne = !0) => {
10058
+ !ne && Np() || (!d.value.enabled || o.value.allowPreventDefault) && (Kt(Z, o.value), n("select-date", Se));
10059
10059
  }, de = (Z) => {
10060
10060
  Kt(Z, o.value);
10061
10061
  }, Oe = (Z) => {
@@ -10067,12 +10067,12 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10067
10067
  ee("div", {
10068
10068
  ref_key: "calendarWrapRef",
10069
10069
  ref: A,
10070
- class: ie(ne.value),
10070
+ class: ie(ae.value),
10071
10071
  role: "grid"
10072
10072
  }, [
10073
10073
  ee("div", jm, [
10074
10074
  Z.weekNumbers ? (m(), w("div", Xm, $e(Z.weekNumName), 1)) : R("", !0),
10075
- (m(!0), w(we, null, Ve(E.value, (ae, ve) => {
10075
+ (m(!0), w(we, null, Ve(E.value, (ne, ve) => {
10076
10076
  var b, pe;
10077
10077
  return m(), w("div", {
10078
10078
  key: ve,
@@ -10083,11 +10083,11 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10083
10083
  }, [
10084
10084
  Z.$slots["calendar-header"] ? q(Z.$slots, "calendar-header", {
10085
10085
  key: 0,
10086
- day: ae,
10086
+ day: ne,
10087
10087
  index: ve
10088
10088
  }) : R("", !0),
10089
10089
  Z.$slots["calendar-header"] ? R("", !0) : (m(), w(we, { key: 1 }, [
10090
- et($e(ae), 1)
10090
+ et($e(ne), 1)
10091
10091
  ], 64))
10092
10092
  ], 8, Km);
10093
10093
  }), 128))
@@ -10097,27 +10097,27 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10097
10097
  name: P.value,
10098
10098
  css: !!Z.transitions
10099
10099
  }, {
10100
- default: H(() => [
10100
+ default: W(() => [
10101
10101
  M.value ? (m(), w("div", {
10102
10102
  key: 0,
10103
10103
  class: "dp__calendar",
10104
10104
  role: "rowgroup",
10105
- onMouseleave: Se[1] || (Se[1] = (ae) => Q.value = !1)
10105
+ onMouseleave: Se[1] || (Se[1] = (ne) => Q.value = !1)
10106
10106
  }, [
10107
- (m(!0), w(we, null, Ve(Y.value, (ae, ve) => (m(), w("div", {
10107
+ (m(!0), w(we, null, Ve(Y.value, (ne, ve) => (m(), w("div", {
10108
10108
  key: ve,
10109
10109
  class: "dp__calendar_row",
10110
10110
  role: "row"
10111
10111
  }, [
10112
10112
  Z.weekNumbers ? (m(), w("div", Gm, [
10113
- ee("div", Zm, $e(f(ae.days)), 1)
10113
+ ee("div", Zm, $e(f(ne.days)), 1)
10114
10114
  ])) : R("", !0),
10115
- (m(!0), w(we, null, Ve(ae.days, (b, pe) => {
10115
+ (m(!0), w(we, null, Ve(ne.days, (b, pe) => {
10116
10116
  var ge, me, Le;
10117
10117
  return m(), w("div", {
10118
10118
  id: u(bl)(b.value),
10119
10119
  ref_for: !0,
10120
- ref: (Ee) => F(Ee, ve, pe),
10120
+ ref: (Re) => F(Re, ve, pe),
10121
10121
  key: pe + ve,
10122
10122
  role: "gridcell",
10123
10123
  class: "dp__calendar_item",
@@ -10126,13 +10126,13 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10126
10126
  "aria-label": (me = (ge = u(i)) == null ? void 0 : ge.day) == null ? void 0 : me.call(ge, b),
10127
10127
  tabindex: !b.current && Z.hideOffsetDates ? void 0 : 0,
10128
10128
  "data-test-id": u(bl)(b.value),
10129
- onClick: dt((Ee) => B(Ee, b), ["prevent"]),
10130
- onTouchend: (Ee) => B(Ee, b, !1),
10131
- onKeydown: (Ee) => u(wt)(Ee, () => Z.$emit("select-date", b)),
10132
- onMouseenter: (Ee) => G(b, ve, pe),
10133
- onMouseleave: (Ee) => O(b),
10134
- onMousedown: (Ee) => Oe(b),
10135
- onMouseup: Se[0] || (Se[0] = (Ee) => Q.value = !1)
10129
+ onClick: dt((Re) => B(Re, b), ["prevent"]),
10130
+ onTouchend: (Re) => B(Re, b, !1),
10131
+ onKeydown: (Re) => u(wt)(Re, () => Z.$emit("select-date", b)),
10132
+ onMouseenter: (Re) => G(b, ve, pe),
10133
+ onMouseleave: (Re) => O(b),
10134
+ onMousedown: (Re) => Oe(b),
10135
+ onMouseup: Se[0] || (Se[0] = (Re) => Q.value = !1)
10136
10136
  }, [
10137
10137
  ee("div", {
10138
10138
  class: ie(["dp__cell_inner", b.classData])
@@ -10154,7 +10154,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10154
10154
  }) : (m(), w("div", {
10155
10155
  key: 1,
10156
10156
  class: ie(le.value(b.marker)),
10157
- style: Ye(b.marker.color ? { backgroundColor: b.marker.color } : {})
10157
+ style: ze(b.marker.color ? { backgroundColor: b.marker.color } : {})
10158
10158
  }, null, 6))
10159
10159
  ], 64)) : R("", !0),
10160
10160
  N.value(b.value) ? (m(), w("div", {
@@ -10163,33 +10163,33 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10163
10163
  ref_key: "activeTooltip",
10164
10164
  ref: L,
10165
10165
  class: "dp__marker_tooltip",
10166
- style: Ye(_.value)
10166
+ style: ze(_.value)
10167
10167
  }, [
10168
10168
  (Le = b.marker) != null && Le.tooltip ? (m(), w("div", {
10169
10169
  key: 0,
10170
10170
  class: "dp__tooltip_content",
10171
10171
  onClick: de
10172
10172
  }, [
10173
- (m(!0), w(we, null, Ve(b.marker.tooltip, (Ee, j) => (m(), w("div", {
10173
+ (m(!0), w(we, null, Ve(b.marker.tooltip, (Re, j) => (m(), w("div", {
10174
10174
  key: j,
10175
10175
  class: "dp__tooltip_text"
10176
10176
  }, [
10177
10177
  Z.$slots["marker-tooltip"] ? q(Z.$slots, "marker-tooltip", {
10178
10178
  key: 0,
10179
- tooltip: Ee,
10179
+ tooltip: Re,
10180
10180
  day: b.value
10181
10181
  }) : R("", !0),
10182
10182
  Z.$slots["marker-tooltip"] ? R("", !0) : (m(), w(we, { key: 1 }, [
10183
10183
  ee("div", {
10184
10184
  class: "dp__tooltip_mark",
10185
- style: Ye(Ee.color ? { backgroundColor: Ee.color } : {})
10185
+ style: ze(Re.color ? { backgroundColor: Re.color } : {})
10186
10186
  }, null, 4),
10187
- ee("div", null, $e(Ee.text), 1)
10187
+ ee("div", null, $e(Re.text), 1)
10188
10188
  ], 64))
10189
10189
  ]))), 128)),
10190
10190
  ee("div", {
10191
10191
  class: "dp__arrow_bottom_tp",
10192
- style: Ye(U.value)
10192
+ style: ze(H.value)
10193
10193
  }, null, 4)
10194
10194
  ])) : R("", !0)
10195
10195
  ], 4)) : R("", !0)
@@ -10213,13 +10213,13 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10213
10213
  defaultedTz: A,
10214
10214
  propDates: M,
10215
10215
  defaultedMultiDates: P
10216
- } = tt(t), { validateMonthYearInRange: T, isDisabled: L, isDateRangeAllowed: U, checkMinMaxRange: Q } = ra(t), { updateTimeValues: Y, getSetDateTime: E, setTime: I, assignStartTime: V, validateTime: ne, disabledTimesConfig: le } = so(t, p, i, n), N = $(
10217
- () => (W) => c.value[W] ? c.value[W].month : 0
10216
+ } = tt(t), { validateMonthYearInRange: T, isDisabled: L, isDateRangeAllowed: H, checkMinMaxRange: Q } = ra(t), { updateTimeValues: Y, getSetDateTime: E, setTime: I, assignStartTime: V, validateTime: ae, disabledTimesConfig: le } = so(t, p, i, n), N = $(
10217
+ () => (U) => c.value[U] ? c.value[U].month : 0
10218
10218
  ), g = $(
10219
- () => (W) => c.value[W] ? c.value[W].year : 0
10220
- ), y = (W) => !k.value.keepViewOnOffsetClick || W ? !0 : !s.value, D = (W, fe, Me, J = !1) => {
10219
+ () => (U) => c.value[U] ? c.value[U].year : 0
10220
+ ), y = (U) => !k.value.keepViewOnOffsetClick || U ? !0 : !s.value, D = (U, fe, Me, J = !1) => {
10221
10221
  var he, ke;
10222
- y(J) && (c.value[W] || (c.value[W] = { month: 0, year: 0 }), c.value[W].month = Cr(fe) ? (he = c.value[W]) == null ? void 0 : he.month : fe, c.value[W].year = Cr(Me) ? (ke = c.value[W]) == null ? void 0 : ke.year : Me);
10222
+ y(J) && (c.value[U] || (c.value[U] = { month: 0, year: 0 }), c.value[U].month = Cr(fe) ? (he = c.value[U]) == null ? void 0 : he.month : fe, c.value[U].year = Cr(Me) ? (ke = c.value[U]) == null ? void 0 : ke.year : Me);
10223
10223
  }, x = () => {
10224
10224
  t.autoApply && e("select-date");
10225
10225
  }, G = () => {
@@ -10229,109 +10229,109 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10229
10229
  t.shadow || (i.value || (Se(), G()), z(!0), t.focusStartDate && t.startDate && Se());
10230
10230
  });
10231
10231
  const O = $(() => {
10232
- var W;
10233
- return (W = t.flow) != null && W.length && !t.partialFlow ? t.flowStep === t.flow.length : !0;
10232
+ var U;
10233
+ return (U = t.flow) != null && U.length && !t.partialFlow ? t.flowStep === t.flow.length : !0;
10234
10234
  }), te = () => {
10235
10235
  t.autoApply && O.value && e("auto-apply", t.partialFlow ? t.flowStep !== t.flow.length : !1);
10236
- }, z = (W = !1) => {
10236
+ }, z = (U = !1) => {
10237
10237
  if (i.value)
10238
- return Array.isArray(i.value) ? (l.value = i.value, B(W)) : F(i.value, W);
10239
- if (v.value.count && W && !t.startDate)
10240
- return S(oe(), W);
10241
- }, C = () => Array.isArray(i.value) && _.value.enabled ? Be(i.value[0]) === Be(i.value[1] ?? i.value[0]) : !1, S = (W = /* @__PURE__ */ new Date(), fe = !1) => {
10242
- if ((!v.value.count || !v.value.static || fe) && D(0, Be(W), Pe(W)), v.value.count && (!i.value || C() || !v.value.solo) && (!v.value.solo || fe))
10238
+ return Array.isArray(i.value) ? (l.value = i.value, B(U)) : F(i.value, U);
10239
+ if (v.value.count && U && !t.startDate)
10240
+ return S(oe(), U);
10241
+ }, C = () => Array.isArray(i.value) && _.value.enabled ? Be(i.value[0]) === Be(i.value[1] ?? i.value[0]) : !1, S = (U = /* @__PURE__ */ new Date(), fe = !1) => {
10242
+ if ((!v.value.count || !v.value.static || fe) && D(0, Be(U), Pe(U)), v.value.count && (!i.value || C() || !v.value.solo) && (!v.value.solo || fe))
10243
10243
  for (let Me = 1; Me < v.value.count; Me++) {
10244
10244
  const J = Ke(oe(), { month: N.value(Me - 1), year: g.value(Me - 1) }), he = ws(J, { months: 1 });
10245
10245
  c.value[Me] = { month: Be(he), year: Pe(he) };
10246
10246
  }
10247
- }, F = (W, fe) => {
10248
- S(W), I("hours", Qt(W)), I("minutes", ea(W)), I("seconds", Ta(W)), v.value.count && fe && Z();
10249
- }, K = (W) => {
10247
+ }, F = (U, fe) => {
10248
+ S(U), I("hours", Qt(U)), I("minutes", ea(U)), I("seconds", Ta(U)), v.value.count && fe && Z();
10249
+ }, K = (U) => {
10250
10250
  if (v.value.count) {
10251
10251
  if (v.value.solo) return 0;
10252
- const fe = Be(W[0]), Me = Be(W[1]);
10252
+ const fe = Be(U[0]), Me = Be(U[1]);
10253
10253
  return Math.abs(Me - fe) < v.value.count ? 0 : 1;
10254
10254
  }
10255
10255
  return 1;
10256
- }, re = (W, fe) => {
10257
- W[1] && _.value.showLastInRange ? S(W[K(W)], fe) : S(W[0], fe);
10256
+ }, re = (U, fe) => {
10257
+ U[1] && _.value.showLastInRange ? S(U[K(U)], fe) : S(U[0], fe);
10258
10258
  const Me = (J, he) => [
10259
- J(W[0]),
10260
- W[1] ? J(W[1]) : p[he][1]
10259
+ J(U[0]),
10260
+ U[1] ? J(U[1]) : p[he][1]
10261
10261
  ];
10262
10262
  I("hours", Me(Qt, "hours")), I("minutes", Me(ea, "minutes")), I("seconds", Me(Ta, "seconds"));
10263
- }, f = (W, fe) => {
10263
+ }, f = (U, fe) => {
10264
10264
  if ((_.value.enabled || t.weekPicker) && !P.value.enabled)
10265
- return re(W, fe);
10265
+ return re(U, fe);
10266
10266
  if (P.value.enabled && fe) {
10267
- const Me = W[W.length - 1];
10267
+ const Me = U[U.length - 1];
10268
10268
  return F(Me, fe);
10269
10269
  }
10270
- }, B = (W) => {
10270
+ }, B = (U) => {
10271
10271
  const fe = i.value;
10272
- f(fe, W), v.value.count && v.value.solo && Z();
10273
- }, de = (W, fe) => {
10274
- const Me = Ke(oe(), { month: N.value(fe), year: g.value(fe) }), J = W < 0 ? Ct(Me, 1) : Aa(Me, 1);
10275
- T(Be(J), Pe(J), W < 0, t.preventMinMaxNavigation) && (D(fe, Be(J), Pe(J)), e("update-month-year", { instance: fe, month: Be(J), year: Pe(J) }), v.value.count && !v.value.solo && Oe(fe), a());
10276
- }, Oe = (W) => {
10277
- for (let fe = W - 1; fe >= 0; fe--) {
10272
+ f(fe, U), v.value.count && v.value.solo && Z();
10273
+ }, de = (U, fe) => {
10274
+ const Me = Ke(oe(), { month: N.value(fe), year: g.value(fe) }), J = U < 0 ? Ct(Me, 1) : Aa(Me, 1);
10275
+ T(Be(J), Pe(J), U < 0, t.preventMinMaxNavigation) && (D(fe, Be(J), Pe(J)), e("update-month-year", { instance: fe, month: Be(J), year: Pe(J) }), v.value.count && !v.value.solo && Oe(fe), a());
10276
+ }, Oe = (U) => {
10277
+ for (let fe = U - 1; fe >= 0; fe--) {
10278
10278
  const Me = Aa(Ke(oe(), { month: N.value(fe + 1), year: g.value(fe + 1) }), 1);
10279
10279
  D(fe, Be(Me), Pe(Me));
10280
10280
  }
10281
- for (let fe = W + 1; fe <= v.value.count - 1; fe++) {
10281
+ for (let fe = U + 1; fe <= v.value.count - 1; fe++) {
10282
10282
  const Me = Ct(Ke(oe(), { month: N.value(fe - 1), year: g.value(fe - 1) }), 1);
10283
10283
  D(fe, Be(Me), Pe(Me));
10284
10284
  }
10285
10285
  }, Z = () => {
10286
10286
  if (Array.isArray(i.value) && i.value.length === 2) {
10287
- const W = oe(
10287
+ const U = oe(
10288
10288
  oe(i.value[1] ? i.value[1] : Ct(i.value[0], 1))
10289
10289
  ), [fe, Me] = [Be(i.value[0]), Pe(i.value[0])], [J, he] = [Be(i.value[1]), Pe(i.value[1])];
10290
- (fe !== J || fe === J && Me !== he) && v.value.solo && D(1, Be(W), Pe(W));
10290
+ (fe !== J || fe === J && Me !== he) && v.value.solo && D(1, Be(U), Pe(U));
10291
10291
  } else i.value && !Array.isArray(i.value) && (D(0, Be(i.value), Pe(i.value)), S(oe()));
10292
10292
  }, Se = () => {
10293
10293
  t.startDate && (D(0, Be(oe(t.startDate)), Pe(oe(t.startDate))), v.value.count && Oe(0));
10294
- }, ae = (W, fe) => {
10294
+ }, ne = (U, fe) => {
10295
10295
  if (t.monthChangeOnScroll) {
10296
- const Me = (/* @__PURE__ */ new Date()).getTime() - r.value.getTime(), J = Math.abs(W.deltaY);
10296
+ const Me = (/* @__PURE__ */ new Date()).getTime() - r.value.getTime(), J = Math.abs(U.deltaY);
10297
10297
  let he = 500;
10298
- J > 1 && (he = 100), J > 100 && (he = 0), Me > he && (r.value = /* @__PURE__ */ new Date(), de(t.monthChangeOnScroll !== "inverse" ? -W.deltaY : W.deltaY, fe));
10298
+ J > 1 && (he = 100), J > 100 && (he = 0), Me > he && (r.value = /* @__PURE__ */ new Date(), de(t.monthChangeOnScroll !== "inverse" ? -U.deltaY : U.deltaY, fe));
10299
10299
  }
10300
- }, ve = (W, fe, Me = !1) => {
10301
- t.monthChangeOnArrows && t.vertical === Me && b(W, fe);
10302
- }, b = (W, fe) => {
10303
- de(W === "right" ? -1 : 1, fe);
10304
- }, pe = (W) => {
10300
+ }, ve = (U, fe, Me = !1) => {
10301
+ t.monthChangeOnArrows && t.vertical === Me && b(U, fe);
10302
+ }, b = (U, fe) => {
10303
+ de(U === "right" ? -1 : 1, fe);
10304
+ }, pe = (U) => {
10305
10305
  if (M.value.markers)
10306
- return $n(W.value, M.value.markers);
10307
- }, ge = (W, fe) => {
10306
+ return $n(U.value, M.value.markers);
10307
+ }, ge = (U, fe) => {
10308
10308
  switch (t.sixWeeks === !0 ? "append" : t.sixWeeks) {
10309
10309
  case "prepend":
10310
10310
  return [!0, !1];
10311
10311
  case "center":
10312
- return [W == 0, !0];
10312
+ return [U == 0, !0];
10313
10313
  case "fair":
10314
- return [W == 0 || fe > W, !0];
10314
+ return [U == 0 || fe > U, !0];
10315
10315
  case "append":
10316
10316
  return [!1, !1];
10317
10317
  default:
10318
10318
  return [!1, !1];
10319
10319
  }
10320
- }, me = (W, fe, Me, J) => {
10321
- if (t.sixWeeks && W.length < 6) {
10322
- const he = 6 - W.length, ke = (fe.getDay() + 7 - J) % 7, It = 6 - (Me.getDay() + 7 - J) % 7, [Dt, ha] = ge(ke, It);
10320
+ }, me = (U, fe, Me, J) => {
10321
+ if (t.sixWeeks && U.length < 6) {
10322
+ const he = 6 - U.length, ke = (fe.getDay() + 7 - J) % 7, It = 6 - (Me.getDay() + 7 - J) % 7, [Dt, ha] = ge(ke, It);
10323
10323
  for (let Oa = 1; Oa <= he; Oa++)
10324
10324
  if (ha ? !!(Oa % 2) == Dt : Dt) {
10325
- const Ht = W[0].days[0], Fn = Le(xt(Ht.value, -7), Be(fe));
10326
- W.unshift({ days: Fn });
10325
+ const Ht = U[0].days[0], Fn = Le(xt(Ht.value, -7), Be(fe));
10326
+ U.unshift({ days: Fn });
10327
10327
  } else {
10328
- const Ht = W[W.length - 1], Fn = Ht.days[Ht.days.length - 1], To = Le(xt(Fn.value, 1), Be(fe));
10329
- W.push({ days: To });
10328
+ const Ht = U[U.length - 1], Fn = Ht.days[Ht.days.length - 1], To = Le(xt(Fn.value, 1), Be(fe));
10329
+ U.push({ days: To });
10330
10330
  }
10331
10331
  }
10332
- return W;
10333
- }, Le = (W, fe) => {
10334
- const Me = oe(W), J = [];
10332
+ return U;
10333
+ }, Le = (U, fe) => {
10334
+ const Me = oe(U), J = [];
10335
10335
  for (let he = 0; he < 7; he++) {
10336
10336
  const ke = xt(Me, he), It = Be(ke) !== fe;
10337
10337
  J.push({
@@ -10342,9 +10342,9 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10342
10342
  });
10343
10343
  }
10344
10344
  return J;
10345
- }, Ee = (W, fe) => {
10346
- const Me = [], J = new Date(fe, W), he = new Date(fe, W + 1, 0), ke = t.weekStart, It = Pt(J, { weekStartsOn: ke }), Dt = (ha) => {
10347
- const Oa = Le(ha, W);
10345
+ }, Re = (U, fe) => {
10346
+ const Me = [], J = new Date(fe, U), he = new Date(fe, U + 1, 0), ke = t.weekStart, It = Pt(J, { weekStartsOn: ke }), Dt = (ha) => {
10347
+ const Oa = Le(ha, U);
10348
10348
  if (Me.push({ days: Oa }), !Me[Me.length - 1].days.some(
10349
10349
  (Ht) => Ne(ht(Ht.value), ht(he))
10350
10350
  )) {
@@ -10353,74 +10353,74 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10353
10353
  }
10354
10354
  };
10355
10355
  return Dt(It), me(Me, J, he, ke);
10356
- }, j = (W) => {
10357
- const fe = Gt(oe(W.value), p.hours, p.minutes, ut());
10356
+ }, j = (U) => {
10357
+ const fe = Gt(oe(U.value), p.hours, p.minutes, ut());
10358
10358
  e("date-update", fe), P.value.enabled ? Jl(fe, i, P.value.limit) : i.value = fe, n(), Xe().then(() => {
10359
10359
  te();
10360
10360
  });
10361
- }, ue = (W) => _.value.noDisabledRange ? Xs(l.value[0], W).some((fe) => L(fe)) : !1, xe = () => {
10361
+ }, ue = (U) => _.value.noDisabledRange ? Xs(l.value[0], U).some((fe) => L(fe)) : !1, xe = () => {
10362
10362
  l.value = i.value ? i.value.slice() : [], l.value.length === 2 && !(_.value.fixedStart || _.value.fixedEnd) && (l.value = []);
10363
- }, ct = (W, fe) => {
10363
+ }, ct = (U, fe) => {
10364
10364
  const Me = [
10365
- oe(W.value),
10366
- xt(oe(W.value), +_.value.autoRange)
10365
+ oe(U.value),
10366
+ xt(oe(U.value), +_.value.autoRange)
10367
10367
  ];
10368
- U(Me) ? (fe && St(W.value), l.value = Me) : e("invalid-date", W.value);
10369
- }, St = (W) => {
10370
- const fe = Be(oe(W)), Me = Pe(oe(W));
10368
+ H(Me) ? (fe && St(U.value), l.value = Me) : e("invalid-date", U.value);
10369
+ }, St = (U) => {
10370
+ const fe = Be(oe(U)), Me = Pe(oe(U));
10371
10371
  if (D(0, fe, Me), v.value.count > 0)
10372
10372
  for (let J = 1; J < v.value.count; J++) {
10373
10373
  const he = zp(
10374
- Ke(oe(W), { year: g.value(J - 1), month: N.value(J - 1) })
10374
+ Ke(oe(U), { year: g.value(J - 1), month: N.value(J - 1) })
10375
10375
  );
10376
10376
  D(J, he.month, he.year);
10377
10377
  }
10378
- }, Te = (W) => {
10379
- if (ue(W.value) || !Q(W.value, i.value, _.value.fixedStart ? 0 : 1))
10380
- return e("invalid-date", W.value);
10381
- l.value = no(oe(W.value), i, e, _);
10382
- }, Bt = (W, fe) => {
10383
- if (xe(), _.value.autoRange) return ct(W, fe);
10384
- if (_.value.fixedStart || _.value.fixedEnd) return Te(W);
10385
- l.value[0] ? Q(oe(W.value), i.value) && !ue(W.value) ? nt(oe(W.value), oe(l.value[0])) ? (l.value.unshift(oe(W.value)), e("range-end", l.value[0])) : (l.value[1] = oe(W.value), e("range-end", l.value[1])) : (t.autoApply && e("auto-apply-invalid", W.value), e("invalid-date", W.value)) : (l.value[0] = oe(W.value), e("range-start", l.value[0]));
10386
- }, ut = (W = !0) => t.enableSeconds ? Array.isArray(p.seconds) ? W ? p.seconds[0] : p.seconds[1] : p.seconds : 0, Ia = (W) => {
10387
- l.value[W] = Gt(
10388
- l.value[W],
10389
- p.hours[W],
10390
- p.minutes[W],
10391
- ut(W !== 1)
10378
+ }, Te = (U) => {
10379
+ if (ue(U.value) || !Q(U.value, i.value, _.value.fixedStart ? 0 : 1))
10380
+ return e("invalid-date", U.value);
10381
+ l.value = no(oe(U.value), i, e, _);
10382
+ }, Bt = (U, fe) => {
10383
+ if (xe(), _.value.autoRange) return ct(U, fe);
10384
+ if (_.value.fixedStart || _.value.fixedEnd) return Te(U);
10385
+ l.value[0] ? Q(oe(U.value), i.value) && !ue(U.value) ? nt(oe(U.value), oe(l.value[0])) ? (l.value.unshift(oe(U.value)), e("range-end", l.value[0])) : (l.value[1] = oe(U.value), e("range-end", l.value[1])) : (t.autoApply && e("auto-apply-invalid", U.value), e("invalid-date", U.value)) : (l.value[0] = oe(U.value), e("range-start", l.value[0]));
10386
+ }, ut = (U = !0) => t.enableSeconds ? Array.isArray(p.seconds) ? U ? p.seconds[0] : p.seconds[1] : p.seconds : 0, Ia = (U) => {
10387
+ l.value[U] = Gt(
10388
+ l.value[U],
10389
+ p.hours[U],
10390
+ p.minutes[U],
10391
+ ut(U !== 1)
10392
10392
  );
10393
10393
  }, On = () => {
10394
- var W, fe;
10395
- l.value[0] && l.value[1] && +((W = l.value) == null ? void 0 : W[0]) > +((fe = l.value) == null ? void 0 : fe[1]) && (l.value.reverse(), e("range-start", l.value[0]), e("range-end", l.value[1]));
10394
+ var U, fe;
10395
+ l.value[0] && l.value[1] && +((U = l.value) == null ? void 0 : U[0]) > +((fe = l.value) == null ? void 0 : fe[1]) && (l.value.reverse(), e("range-start", l.value[0]), e("range-end", l.value[1]));
10396
10396
  }, nn = () => {
10397
10397
  l.value.length && (l.value[0] && !l.value[1] ? Ia(0) : (Ia(0), Ia(1), n()), On(), i.value = l.value.slice(), Sn(l.value, e, t.autoApply, t.modelAuto));
10398
- }, En = (W, fe = !1) => {
10399
- if (L(W.value) || !W.current && t.hideOffsetDates) return e("invalid-date", W.value);
10400
- if (s.value = JSON.parse(JSON.stringify(W)), !_.value.enabled) return j(W);
10401
- Er(p.hours) && Er(p.minutes) && !P.value.enabled && (Bt(W, fe), nn());
10402
- }, Rn = (W, fe) => {
10398
+ }, En = (U, fe = !1) => {
10399
+ if (L(U.value) || !U.current && t.hideOffsetDates) return e("invalid-date", U.value);
10400
+ if (s.value = JSON.parse(JSON.stringify(U)), !_.value.enabled) return j(U);
10401
+ Er(p.hours) && Er(p.minutes) && !P.value.enabled && (Bt(U, fe), nn());
10402
+ }, Rn = (U, fe) => {
10403
10403
  var Me;
10404
- D(W, fe.month, fe.year, !0), v.value.count && !v.value.solo && Oe(W), e("update-month-year", { instance: W, month: fe.month, year: fe.year }), a(v.value.solo ? W : void 0);
10404
+ D(U, fe.month, fe.year, !0), v.value.count && !v.value.solo && Oe(U), e("update-month-year", { instance: U, month: fe.month, year: fe.year }), a(v.value.solo ? U : void 0);
10405
10405
  const J = (Me = t.flow) != null && Me.length ? t.flow[t.flowStep] : void 0;
10406
10406
  !fe.fromNav && (J === gt.month || J === gt.year) && n();
10407
- }, Ln = (W, fe) => {
10407
+ }, Ln = (U, fe) => {
10408
10408
  ao({
10409
- value: W,
10409
+ value: U,
10410
10410
  modelValue: i,
10411
10411
  range: _.value.enabled,
10412
10412
  timezone: fe ? void 0 : A.value.timezone
10413
10413
  }), x(), t.multiCalendars && Xe().then(() => z(!0));
10414
10414
  }, Bn = () => {
10415
- const W = jl(oe(), A.value);
10416
- !_.value.enabled && !P.value.enabled ? i.value = W : i.value && Array.isArray(i.value) && i.value[0] ? P.value.enabled ? i.value = [...i.value, W] : i.value = nt(W, i.value[0]) ? [W, i.value[0]] : [i.value[0], W] : i.value = [W], x();
10415
+ const U = jl(oe(), A.value);
10416
+ !_.value.enabled && !P.value.enabled ? i.value = U : i.value && Array.isArray(i.value) && i.value[0] ? P.value.enabled ? i.value = [...i.value, U] : i.value = nt(U, i.value[0]) ? [U, i.value[0]] : [i.value[0], U] : i.value = [U], x();
10417
10417
  }, Nn = () => {
10418
10418
  if (Array.isArray(i.value))
10419
10419
  if (P.value.enabled) {
10420
- const W = Vn();
10421
- i.value[i.value.length - 1] = E(W);
10420
+ const U = Vn();
10421
+ i.value[i.value.length - 1] = E(U);
10422
10422
  } else
10423
- i.value = i.value.map((W, fe) => W && E(W, fe));
10423
+ i.value = i.value.map((U, fe) => U && E(U, fe));
10424
10424
  else
10425
10425
  i.value = E(i.value);
10426
10426
  e("time-update");
@@ -10433,18 +10433,18 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10433
10433
  time: p,
10434
10434
  disabledTimesConfig: le,
10435
10435
  today: d,
10436
- validateTime: ne,
10437
- getCalendarDays: Ee,
10436
+ validateTime: ae,
10437
+ getCalendarDays: Re,
10438
10438
  getMarker: pe,
10439
- handleScroll: ae,
10439
+ handleScroll: ne,
10440
10440
  handleSwipe: b,
10441
10441
  handleArrow: ve,
10442
10442
  selectDate: En,
10443
10443
  updateMonthYear: Rn,
10444
10444
  presetDate: Ln,
10445
10445
  selectCurrentDate: Bn,
10446
- updateTime: (W, fe = !0, Me = !1) => {
10447
- Y(W, fe, Me, Nn);
10446
+ updateTime: (U, fe = !0, Me = !1) => {
10447
+ Y(U, fe, Me, Nn);
10448
10448
  },
10449
10449
  assignMonthAndYear: S,
10450
10450
  setStartTime: G
@@ -10496,12 +10496,12 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10496
10496
  selectDate: P,
10497
10497
  updateMonthYear: T,
10498
10498
  presetDate: L,
10499
- selectCurrentDate: U,
10499
+ selectCurrentDate: H,
10500
10500
  updateTime: Q,
10501
10501
  assignMonthAndYear: Y,
10502
10502
  setStartTime: E
10503
- } = tv(l, n, C, S), I = Wt(), { setHoverDate: V, getDayClassData: ne, clearHoverDate: le } = wv(i, l), { defaultedMultiCalendars: N } = tt(l), g = X([]), y = X([]), D = X(null), x = kt(I, "calendar"), G = kt(I, "monthYear"), O = kt(I, "timePicker"), te = (ae) => {
10504
- l.shadow || n("mount", ae);
10503
+ } = tv(l, n, C, S), I = Wt(), { setHoverDate: V, getDayClassData: ae, clearHoverDate: le } = wv(i, l), { defaultedMultiCalendars: N } = tt(l), g = X([]), y = X([]), D = X(null), x = kt(I, "calendar"), G = kt(I, "monthYear"), O = kt(I, "timePicker"), te = (ne) => {
10504
+ l.shadow || n("mount", ne);
10505
10505
  };
10506
10506
  Ce(
10507
10507
  r,
@@ -10513,37 +10513,37 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10513
10513
  { deep: !0 }
10514
10514
  ), Ce(
10515
10515
  N,
10516
- (ae, ve) => {
10517
- ae.count - ve.count > 0 && Y();
10516
+ (ne, ve) => {
10517
+ ne.count - ve.count > 0 && Y();
10518
10518
  },
10519
10519
  { deep: !0 }
10520
10520
  );
10521
- const z = $(() => (ae) => h(s.value(ae), o.value(ae)).map((ve) => ({
10521
+ const z = $(() => (ne) => h(s.value(ne), o.value(ne)).map((ve) => ({
10522
10522
  ...ve,
10523
- days: ve.days.map((b) => (b.marker = _(b), b.classData = ne(b), b))
10523
+ days: ve.days.map((b) => (b.marker = _(b), b.classData = ae(b), b))
10524
10524
  })));
10525
- function C(ae) {
10525
+ function C(ne) {
10526
10526
  var ve;
10527
- ae || ae === 0 ? (ve = y.value[ae]) == null || ve.triggerTransition(s.value(ae), o.value(ae)) : y.value.forEach((b, pe) => b.triggerTransition(s.value(pe), o.value(pe)));
10527
+ ne || ne === 0 ? (ve = y.value[ne]) == null || ve.triggerTransition(s.value(ne), o.value(ne)) : y.value.forEach((b, pe) => b.triggerTransition(s.value(pe), o.value(pe)));
10528
10528
  }
10529
10529
  function S() {
10530
10530
  n("update-flow-step");
10531
10531
  }
10532
- const F = (ae, ve = !1) => {
10533
- P(ae, ve), l.spaceConfirm && n("select-date");
10534
- }, K = (ae, ve, b = 0) => {
10532
+ const F = (ne, ve = !1) => {
10533
+ P(ne, ve), l.spaceConfirm && n("select-date");
10534
+ }, K = (ne, ve, b = 0) => {
10535
10535
  var pe;
10536
- (pe = g.value[b]) == null || pe.toggleMonthPicker(ae, ve);
10537
- }, re = (ae, ve, b = 0) => {
10536
+ (pe = g.value[b]) == null || pe.toggleMonthPicker(ne, ve);
10537
+ }, re = (ne, ve, b = 0) => {
10538
10538
  var pe;
10539
- (pe = g.value[b]) == null || pe.toggleYearPicker(ae, ve);
10540
- }, f = (ae, ve, b) => {
10539
+ (pe = g.value[b]) == null || pe.toggleYearPicker(ne, ve);
10540
+ }, f = (ne, ve, b) => {
10541
10541
  var pe;
10542
- (pe = D.value) == null || pe.toggleTimePicker(ae, ve, b);
10543
- }, B = (ae, ve) => {
10542
+ (pe = D.value) == null || pe.toggleTimePicker(ne, ve, b);
10543
+ }, B = (ne, ve) => {
10544
10544
  var b;
10545
10545
  if (!l.range) {
10546
- const pe = i.value ? i.value : d, ge = ve ? new Date(ve) : pe, me = ae ? Pt(ge, { weekStartsOn: 1 }) : Ms(ge, { weekStartsOn: 1 });
10546
+ const pe = i.value ? i.value : d, ge = ve ? new Date(ve) : pe, me = ne ? Pt(ge, { weekStartsOn: 1 }) : Ms(ge, { weekStartsOn: 1 });
10547
10547
  P({
10548
10548
  value: me,
10549
10549
  current: Be(ge) === s.value(0),
@@ -10551,20 +10551,20 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10551
10551
  classData: {}
10552
10552
  }), (b = document.getElementById(bl(me))) == null || b.focus();
10553
10553
  }
10554
- }, de = (ae) => {
10554
+ }, de = (ne) => {
10555
10555
  var ve;
10556
- (ve = g.value[0]) == null || ve.handleMonthYearChange(ae, !0);
10557
- }, Oe = (ae) => {
10558
- T(0, { month: s.value(0), year: o.value(0) + (ae ? 1 : -1), fromNav: !0 });
10559
- }, Z = (ae, ve) => {
10560
- ae === gt.time && n(`time-picker-${ve ? "open" : "close"}`), n("overlay-toggle", { open: ve, overlay: ae });
10561
- }, Se = (ae) => {
10562
- n("overlay-toggle", { open: !1, overlay: ae }), n("focus-menu");
10556
+ (ve = g.value[0]) == null || ve.handleMonthYearChange(ne, !0);
10557
+ }, Oe = (ne) => {
10558
+ T(0, { month: s.value(0), year: o.value(0) + (ne ? 1 : -1), fromNav: !0 });
10559
+ }, Z = (ne, ve) => {
10560
+ ne === gt.time && n(`time-picker-${ve ? "open" : "close"}`), n("overlay-toggle", { open: ve, overlay: ne });
10561
+ }, Se = (ne) => {
10562
+ n("overlay-toggle", { open: !1, overlay: ne }), n("focus-menu");
10563
10563
  };
10564
10564
  return e({
10565
10565
  clearHoverDate: le,
10566
10566
  presetDate: L,
10567
- selectCurrentDate: U,
10567
+ selectCurrentDate: H,
10568
10568
  toggleMonthPicker: K,
10569
10569
  toggleYearPicker: re,
10570
10570
  toggleTimePicker: f,
@@ -10584,34 +10584,34 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10584
10584
  changeYear: Oe,
10585
10585
  selectWeekDate: B,
10586
10586
  setStartTime: E
10587
- }), (ae, ve) => (m(), w(we, null, [
10587
+ }), (ne, ve) => (m(), w(we, null, [
10588
10588
  ye(qn, {
10589
10589
  "multi-calendars": u(N).count,
10590
- collapse: ae.collapse,
10591
- "is-mobile": ae.isMobile
10590
+ collapse: ne.collapse,
10591
+ "is-mobile": ne.isMobile
10592
10592
  }, {
10593
- default: H(({ instance: b, index: pe }) => [
10594
- ae.disableMonthYearSelect ? R("", !0) : (m(), se(Um, De({
10593
+ default: W(({ instance: b, index: pe }) => [
10594
+ ne.disableMonthYearSelect ? R("", !0) : (m(), se(Um, De({
10595
10595
  key: 0,
10596
10596
  ref: (ge) => {
10597
10597
  ge && (g.value[pe] = ge);
10598
10598
  },
10599
- months: u(Ys)(ae.formatLocale, ae.locale, ae.monthNameFormat),
10600
- years: u(Xl)(ae.yearRange, ae.locale, ae.reverseYears),
10599
+ months: u(Ys)(ne.formatLocale, ne.locale, ne.monthNameFormat),
10600
+ years: u(Xl)(ne.yearRange, ne.locale, ne.reverseYears),
10601
10601
  month: u(s)(b),
10602
10602
  year: u(o)(b),
10603
10603
  instance: b
10604
- }, ae.$props, {
10604
+ }, ne.$props, {
10605
10605
  onMount: ve[0] || (ve[0] = (ge) => te(u(ua).header)),
10606
- onResetFlow: ve[1] || (ve[1] = (ge) => ae.$emit("reset-flow")),
10606
+ onResetFlow: ve[1] || (ve[1] = (ge) => ne.$emit("reset-flow")),
10607
10607
  onUpdateMonthYear: (ge) => u(T)(b, ge),
10608
10608
  onOverlayClosed: Se,
10609
- onOverlayOpened: ve[2] || (ve[2] = (ge) => ae.$emit("overlay-toggle", { open: !0, overlay: ge }))
10610
- }), ze({ _: 2 }, [
10609
+ onOverlayOpened: ve[2] || (ve[2] = (ge) => ne.$emit("overlay-toggle", { open: !0, overlay: ge }))
10610
+ }), Qe({ _: 2 }, [
10611
10611
  Ve(u(G), (ge, me) => ({
10612
10612
  name: ge,
10613
- fn: H((Le) => [
10614
- q(ae.$slots, ge, Re(He(Le)))
10613
+ fn: W((Le) => [
10614
+ q(ne.$slots, ge, Ee(Ye(Le)))
10615
10615
  ])
10616
10616
  }))
10617
10617
  ]), 1040, ["months", "years", "month", "year", "instance", "onUpdateMonthYear"])),
@@ -10623,52 +10623,52 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10623
10623
  month: u(s)(b),
10624
10624
  year: u(o)(b),
10625
10625
  instance: b
10626
- }, ae.$props, {
10626
+ }, ne.$props, {
10627
10627
  onSelectDate: (ge) => u(P)(ge, b !== 1),
10628
10628
  onHandleSpace: (ge) => F(ge, b !== 1),
10629
10629
  onSetHoverDate: ve[3] || (ve[3] = (ge) => u(V)(ge)),
10630
10630
  onHandleScroll: (ge) => u(A)(ge, b),
10631
10631
  onHandleSwipe: (ge) => u(M)(ge, b),
10632
10632
  onMount: ve[4] || (ve[4] = (ge) => te(u(ua).calendar)),
10633
- onResetFlow: ve[5] || (ve[5] = (ge) => ae.$emit("reset-flow")),
10634
- onTooltipOpen: ve[6] || (ve[6] = (ge) => ae.$emit("tooltip-open", ge)),
10635
- onTooltipClose: ve[7] || (ve[7] = (ge) => ae.$emit("tooltip-close", ge))
10636
- }), ze({ _: 2 }, [
10633
+ onResetFlow: ve[5] || (ve[5] = (ge) => ne.$emit("reset-flow")),
10634
+ onTooltipOpen: ve[6] || (ve[6] = (ge) => ne.$emit("tooltip-open", ge)),
10635
+ onTooltipClose: ve[7] || (ve[7] = (ge) => ne.$emit("tooltip-close", ge))
10636
+ }), Qe({ _: 2 }, [
10637
10637
  Ve(u(x), (ge, me) => ({
10638
10638
  name: ge,
10639
- fn: H((Le) => [
10640
- q(ae.$slots, ge, Re(He({ ...Le })))
10639
+ fn: W((Le) => [
10640
+ q(ne.$slots, ge, Ee(Ye({ ...Le })))
10641
10641
  ])
10642
10642
  }))
10643
10643
  ]), 1040, ["mapped-dates", "month", "year", "instance", "onSelectDate", "onHandleSpace", "onHandleScroll", "onHandleSwipe"])
10644
10644
  ]),
10645
10645
  _: 3
10646
10646
  }, 8, ["multi-calendars", "collapse", "is-mobile"]),
10647
- ae.enableTimePicker ? (m(), w("div", av, [
10648
- ae.$slots["time-picker"] ? q(ae.$slots, "time-picker", Re(De({ key: 0 }, { time: u(c), updateTime: u(Q) }))) : (m(), se(ro, De({
10647
+ ne.enableTimePicker ? (m(), w("div", av, [
10648
+ ne.$slots["time-picker"] ? q(ne.$slots, "time-picker", Ee(De({ key: 0 }, { time: u(c), updateTime: u(Q) }))) : (m(), se(ro, De({
10649
10649
  key: 1,
10650
10650
  ref_key: "timePickerRef",
10651
10651
  ref: D
10652
- }, ae.$props, {
10652
+ }, ne.$props, {
10653
10653
  hours: u(c).hours,
10654
10654
  minutes: u(c).minutes,
10655
10655
  seconds: u(c).seconds,
10656
- "internal-model-value": ae.internalModelValue,
10656
+ "internal-model-value": ne.internalModelValue,
10657
10657
  "disabled-times-config": u(p),
10658
10658
  "validate-time": u(v),
10659
10659
  onMount: ve[8] || (ve[8] = (b) => te(u(ua).timePicker)),
10660
10660
  "onUpdate:hours": ve[9] || (ve[9] = (b) => u(Q)(b)),
10661
10661
  "onUpdate:minutes": ve[10] || (ve[10] = (b) => u(Q)(b, !1)),
10662
10662
  "onUpdate:seconds": ve[11] || (ve[11] = (b) => u(Q)(b, !1, !0)),
10663
- onResetFlow: ve[12] || (ve[12] = (b) => ae.$emit("reset-flow")),
10663
+ onResetFlow: ve[12] || (ve[12] = (b) => ne.$emit("reset-flow")),
10664
10664
  onOverlayClosed: ve[13] || (ve[13] = (b) => Z(b, !1)),
10665
10665
  onOverlayOpened: ve[14] || (ve[14] = (b) => Z(b, !0)),
10666
- onAmPmChange: ve[15] || (ve[15] = (b) => ae.$emit("am-pm-change", b))
10667
- }), ze({ _: 2 }, [
10666
+ onAmPmChange: ve[15] || (ve[15] = (b) => ne.$emit("am-pm-change", b))
10667
+ }), Qe({ _: 2 }, [
10668
10668
  Ve(u(O), (b, pe) => ({
10669
10669
  name: b,
10670
- fn: H((ge) => [
10671
- q(ae.$slots, b, Re(He(ge)))
10670
+ fn: W((ge) => [
10671
+ q(ne.$slots, b, Ee(Ye(ge)))
10672
10672
  ])
10673
10673
  }))
10674
10674
  ]), 1040, ["hours", "minutes", "seconds", "internal-model-value", "disabled-times-config", "validate-time"]))
@@ -10684,7 +10684,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10684
10684
  propDates: o,
10685
10685
  defaultedFilters: i,
10686
10686
  defaultedMultiDates: c
10687
- } = tt(t), { modelValue: p, year: d, month: v, calendars: h } = an(t, e), { isDisabled: _ } = ra(t), { selectYear: k, groupedYears: A, showYearPicker: M, isDisabled: P, toggleYearPicker: T, handleYearSelect: L, handleYear: U } = lo({
10687
+ } = tt(t), { modelValue: p, year: d, month: v, calendars: h } = an(t, e), { isDisabled: _ } = ra(t), { selectYear: k, groupedYears: A, showYearPicker: M, isDisabled: P, toggleYearPicker: T, handleYearSelect: L, handleYear: H } = lo({
10688
10688
  modelValue: p,
10689
10689
  multiCalendars: n,
10690
10690
  range: s,
@@ -10705,7 +10705,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10705
10705
  return !1;
10706
10706
  }
10707
10707
  return !1;
10708
- }, I = (y, D) => y.quarter === wr(D) && y.year === Pe(D), V = (y) => typeof r.value == "function" ? r.value({ quarter: wr(y), year: Pe(y) }) : !!r.value.quarters.find((D) => I(D, y)), ne = $(() => (y) => {
10708
+ }, I = (y, D) => y.quarter === wr(D) && y.year === Pe(D), V = (y) => typeof r.value == "function" ? r.value({ quarter: wr(y), year: Pe(y) }) : !!r.value.quarters.find((D) => I(D, y)), ae = $(() => (y) => {
10709
10709
  const D = Ke(/* @__PURE__ */ new Date(), { year: d.value(y) });
10710
10710
  return qc({
10711
10711
  start: Wa(D),
@@ -10734,7 +10734,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10734
10734
  groupedYears: A,
10735
10735
  year: d,
10736
10736
  isDisabled: P,
10737
- quarters: ne,
10737
+ quarters: ae,
10738
10738
  showYearPicker: M,
10739
10739
  modelValue: p,
10740
10740
  setHoverDate: (y) => {
@@ -10747,7 +10747,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10747
10747
  },
10748
10748
  toggleYearPicker: T,
10749
10749
  handleYearSelect: L,
10750
- handleYear: U
10750
+ handleYear: H
10751
10751
  };
10752
10752
  }, rv = { class: "dp--quarter-items" }, sv = ["data-test-id", "disabled", "onClick", "onMouseover"], ov = /* @__PURE__ */ ce({
10753
10753
  compatConfig: {
@@ -10789,16 +10789,16 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10789
10789
  selectQuarter: A,
10790
10790
  handleYearSelect: P,
10791
10791
  handleYear: T
10792
- }) }), (L, U) => (m(), se(qn, {
10792
+ }) }), (L, H) => (m(), se(qn, {
10793
10793
  "multi-calendars": u(o).count,
10794
10794
  collapse: L.collapse,
10795
10795
  stretch: "",
10796
10796
  "is-mobile": L.isMobile
10797
10797
  }, {
10798
- default: H(({ instance: Q }) => [
10798
+ default: W(({ instance: Q }) => [
10799
10799
  ee("div", {
10800
10800
  class: "dp-quarter-picker-wrap",
10801
- style: Ye({ minHeight: `${u(i).modeHeight}px` })
10801
+ style: ze({ minHeight: `${u(i).modeHeight}px` })
10802
10802
  }, [
10803
10803
  L.$slots["top-extra"] ? q(L.$slots, "top-extra", {
10804
10804
  key: 0,
@@ -10814,11 +10814,11 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10814
10814
  onHandleYear: (Y) => u(T)(Q, Y),
10815
10815
  onYearSelect: (Y) => u(P)(Y, Q),
10816
10816
  onToggleYearPicker: (Y) => u(M)(Q, Y == null ? void 0 : Y.flow, Y == null ? void 0 : Y.show)
10817
- }), ze({ _: 2 }, [
10817
+ }), Qe({ _: 2 }, [
10818
10818
  Ve(u(s), (Y, E) => ({
10819
10819
  name: Y,
10820
- fn: H((I) => [
10821
- q(L.$slots, Y, Re(He(I)))
10820
+ fn: W((I) => [
10821
+ q(L.$slots, Y, Ee(Ye(I)))
10822
10822
  ])
10823
10823
  }))
10824
10824
  ]), 1040, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
@@ -10928,29 +10928,29 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10928
10928
  return {
10929
10929
  ...ue,
10930
10930
  isMobile: k.value,
10931
- flowStep: ne.value,
10931
+ flowStep: ae.value,
10932
10932
  menuWrapRef: r.value
10933
10933
  };
10934
- }), { setMenuFocused: o, setShiftKey: i, control: c } = eo(), p = Wt(), { defaultedTextInput: d, defaultedInline: v, defaultedConfig: h, defaultedUI: _ } = tt(l), { isMobile: k } = oo(h, l.shadow), A = X(null), M = X(0), P = X(null), T = X(!1), L = X(null), U = X(!1);
10934
+ }), { setMenuFocused: o, setShiftKey: i, control: c } = eo(), p = Wt(), { defaultedTextInput: d, defaultedInline: v, defaultedConfig: h, defaultedUI: _ } = tt(l), { isMobile: k } = oo(h, l.shadow), A = X(null), M = X(0), P = X(null), T = X(!1), L = X(null), H = X(!1);
10935
10935
  Ge(() => {
10936
10936
  if (!l.shadow) {
10937
10937
  T.value = !0, Q(), window.addEventListener("resize", Q);
10938
10938
  const j = ft(r);
10939
10939
  if (j && !d.value.enabled && !v.value.enabled && (o(!0), G()), j) {
10940
10940
  const ue = (xe) => {
10941
- U.value = !0, h.value.allowPreventDefault && xe.preventDefault(), Kt(xe, h.value, !0);
10941
+ H.value = !0, h.value.allowPreventDefault && xe.preventDefault(), Kt(xe, h.value, !0);
10942
10942
  };
10943
10943
  j.addEventListener("pointerdown", ue), j.addEventListener("mousedown", ue);
10944
10944
  }
10945
10945
  }
10946
- document.addEventListener("mousedown", Ee);
10946
+ document.addEventListener("mousedown", Re);
10947
10947
  }), $t(() => {
10948
- window.removeEventListener("resize", Q), document.addEventListener("mousedown", Ee);
10948
+ window.removeEventListener("resize", Q), document.addEventListener("mousedown", Re);
10949
10949
  });
10950
10950
  const Q = () => {
10951
10951
  const j = ft(P);
10952
10952
  j && (M.value = j.getBoundingClientRect().width);
10953
- }, { arrowRight: Y, arrowLeft: E, arrowDown: I, arrowUp: V } = la(), { flowStep: ne, updateFlowStep: le, childMount: N, resetFlow: g, handleFlow: y } = _v(l, n, L), D = $(() => l.monthPicker ? Dm : l.yearPicker ? Mm : l.timePicker ? Fm : l.quarterPicker ? ov : nv), x = $(() => {
10953
+ }, { arrowRight: Y, arrowLeft: E, arrowDown: I, arrowUp: V } = la(), { flowStep: ae, updateFlowStep: le, childMount: N, resetFlow: g, handleFlow: y } = _v(l, n, L), D = $(() => l.monthPicker ? Dm : l.yearPicker ? Mm : l.timePicker ? Fm : l.quarterPicker ? ov : nv), x = $(() => {
10954
10954
  var j;
10955
10955
  if (h.value.arrowLeft) return h.value.arrowLeft;
10956
10956
  const ue = (j = r.value) == null ? void 0 : j.getBoundingClientRect(), xe = l.getInputRect();
@@ -10984,7 +10984,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10984
10984
  if (j === bt.down) return I();
10985
10985
  if (j === bt.left) return E();
10986
10986
  if (j === bt.right) return Y();
10987
- } else j === bt.left || j === bt.up ? ae("handleArrow", bt.left, 0, j === bt.up) : ae("handleArrow", bt.right, 0, j === bt.down);
10987
+ } else j === bt.left || j === bt.up ? ne("handleArrow", bt.left, 0, j === bt.up) : ne("handleArrow", bt.right, 0, j === bt.down);
10988
10988
  }, de = (j) => {
10989
10989
  i(j.shiftKey), !l.disableMonthYearSelect && j.code === Je.tab && j.target.classList.contains("dp__menu") && c.value.shiftKeyInMenu && (j.preventDefault(), Kt(j, h.value, !0), n("close-picker"));
10990
10990
  }, Oe = () => {
@@ -10995,28 +10995,28 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10995
10995
  }, Se = (j, ue = 0) => {
10996
10996
  var xe, ct, St;
10997
10997
  return j === "month" ? (xe = L.value) == null ? void 0 : xe.toggleMonthPicker(!1, !0, ue) : j === "year" ? (ct = L.value) == null ? void 0 : ct.toggleYearPicker(!1, !0, ue) : j === "time" ? (St = L.value) == null ? void 0 : St.toggleTimePicker(!0, !1) : Z(ue);
10998
- }, ae = (j, ...ue) => {
10998
+ }, ne = (j, ...ue) => {
10999
10999
  var xe, ct;
11000
11000
  (xe = L.value) != null && xe[j] && ((ct = L.value) == null || ct[j](...ue));
11001
11001
  }, ve = () => {
11002
- ae("selectCurrentDate");
11002
+ ne("selectCurrentDate");
11003
11003
  }, b = (j, ue) => {
11004
- ae("presetDate", ta(j), ue);
11004
+ ne("presetDate", ta(j), ue);
11005
11005
  }, pe = () => {
11006
- ae("clearHoverDate");
11006
+ ne("clearHoverDate");
11007
11007
  }, ge = (j, ue) => {
11008
- ae("updateMonthYear", j, ue);
11008
+ ne("updateMonthYear", j, ue);
11009
11009
  }, me = (j, ue) => {
11010
11010
  j.preventDefault(), B(ue);
11011
11011
  }, Le = (j) => {
11012
11012
  var ue, xe, ct;
11013
11013
  if (de(j), j.key === Je.home || j.key === Je.end)
11014
- return ae(
11014
+ return ne(
11015
11015
  "selectWeekDate",
11016
11016
  j.key === Je.home,
11017
11017
  j.target.getAttribute("id")
11018
11018
  );
11019
- switch ((j.key === Je.pageUp || j.key === Je.pageDown) && (j.shiftKey ? (ae("changeYear", j.key === Je.pageUp), (ue = yl(r.value, "overlay-year")) == null || ue.focus()) : (ae("changeMonth", j.key === Je.pageUp), (xe = yl(r.value, j.key === Je.pageUp ? "action-prev" : "action-next")) == null || xe.focus()), j.target.getAttribute("id") && ((ct = r.value) == null || ct.focus({ preventScroll: !0 }))), j.key) {
11019
+ switch ((j.key === Je.pageUp || j.key === Je.pageDown) && (j.shiftKey ? (ne("changeYear", j.key === Je.pageUp), (ue = yl(r.value, "overlay-year")) == null || ue.focus()) : (ne("changeMonth", j.key === Je.pageUp), (xe = yl(r.value, j.key === Je.pageUp ? "action-prev" : "action-next")) == null || xe.focus()), j.target.getAttribute("id") && ((ct = r.value) == null || ct.focus({ preventScroll: !0 }))), j.key) {
11020
11020
  case Je.esc:
11021
11021
  return f();
11022
11022
  case Je.arrowLeft:
@@ -11030,9 +11030,9 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11030
11030
  default:
11031
11031
  return;
11032
11032
  }
11033
- }, Ee = (j) => {
11033
+ }, Re = (j) => {
11034
11034
  var ue;
11035
- v.value.enabled && !v.value.input && !((ue = r.value) != null && ue.contains(j.target)) && U.value && (U.value = !1, n("menu-blur"));
11035
+ v.value.enabled && !v.value.input && !((ue = r.value) != null && ue.contains(j.target)) && H.value && (H.value = !1, n("menu-blur"));
11036
11036
  };
11037
11037
  return e({
11038
11038
  updateMonthYear: ge,
@@ -11052,7 +11052,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11052
11052
  role: u(v).enabled ? void 0 : "dialog",
11053
11053
  "aria-label": (xe = j.ariaLabels) == null ? void 0 : xe.menu,
11054
11054
  class: ie(K.value),
11055
- style: Ye({ "--dp-arrow-left": x.value }),
11055
+ style: ze({ "--dp-arrow-left": x.value }),
11056
11056
  onMouseleave: pe,
11057
11057
  onClick: re,
11058
11058
  onKeydown: Le
@@ -11080,10 +11080,10 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11080
11080
  "dp--menu-content-wrapper-collapsed": t.collapse && (((St = j.presetDates) == null ? void 0 : St.length) || !!j.$slots["left-sidebar"] || !!j.$slots["right-sidebar"])
11081
11081
  }),
11082
11082
  "data-dp-mobile": u(k),
11083
- style: Ye({ "--dp-menu-width": `${M.value}px` })
11083
+ style: ze({ "--dp-menu-width": `${M.value}px` })
11084
11084
  }, [
11085
11085
  j.$slots["left-sidebar"] ? (m(), w("div", fv, [
11086
- q(j.$slots, "left-sidebar", Re(He(O.value)))
11086
+ q(j.$slots, "left-sidebar", Ee(Ye(O.value)))
11087
11087
  ])) : R("", !0),
11088
11088
  j.presetDates.length ? (m(), w("div", {
11089
11089
  key: 1,
@@ -11099,7 +11099,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11099
11099
  }) : (m(), w("button", {
11100
11100
  key: 1,
11101
11101
  type: "button",
11102
- style: Ye(Te.style || {}),
11102
+ style: ze(Te.style || {}),
11103
11103
  class: ie(["dp__btn dp--preset-range", { "dp--preset-range-collapsed": t.collapse }]),
11104
11104
  "data-test-id": Te.testId ?? void 0,
11105
11105
  "data-dp-mobile": u(k),
@@ -11118,7 +11118,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11118
11118
  ref_key: "dynCmpRef",
11119
11119
  ref: L
11120
11120
  }, s.value, {
11121
- "flow-step": u(ne),
11121
+ "flow-step": u(ae),
11122
11122
  onMount: u(N),
11123
11123
  onUpdateFlowStep: u(le),
11124
11124
  onResetFlow: u(g),
@@ -11141,17 +11141,17 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11141
11141
  onInvalidDate: ue[13] || (ue[13] = (Te) => j.$emit("invalid-date", Te)),
11142
11142
  onOverlayToggle: ue[14] || (ue[14] = (Te) => j.$emit("overlay-toggle", Te)),
11143
11143
  "onUpdate:internalModelValue": ue[15] || (ue[15] = (Te) => j.$emit("update:internal-model-value", Te))
11144
- }), ze({ _: 2 }, [
11144
+ }), Qe({ _: 2 }, [
11145
11145
  Ve(C.value, (Te, Bt) => ({
11146
11146
  name: Te,
11147
- fn: H((ut) => [
11148
- q(j.$slots, Te, Re(He({ ...ut })))
11147
+ fn: W((ut) => [
11148
+ q(j.$slots, Te, Ee(Ye({ ...ut })))
11149
11149
  ])
11150
11150
  }))
11151
11151
  ]), 1040, ["flow-step", "onMount", "onUpdateFlowStep", "onResetFlow"]))
11152
11152
  ], 512),
11153
11153
  j.$slots["right-sidebar"] ? (m(), w("div", vv, [
11154
- q(j.$slots, "right-sidebar", Re(He(O.value)))
11154
+ q(j.$slots, "right-sidebar", Ee(Ye(O.value)))
11155
11155
  ])) : R("", !0),
11156
11156
  j.$slots["action-extra"] ? (m(), w("div", hv, [
11157
11157
  j.$slots["action-extra"] ? q(j.$slots, "action-extra", {
@@ -11169,11 +11169,11 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11169
11169
  onSelectDate: ue[17] || (ue[17] = (Te) => j.$emit("select-date")),
11170
11170
  onInvalidSelect: ue[18] || (ue[18] = (Te) => j.$emit("invalid-select")),
11171
11171
  onSelectNow: ve
11172
- }), ze({ _: 2 }, [
11172
+ }), Qe({ _: 2 }, [
11173
11173
  Ve(u(z), (Te, Bt) => ({
11174
11174
  name: Te,
11175
- fn: H((ut) => [
11176
- q(j.$slots, Te, Re(He({ ...ut })))
11175
+ fn: W((ut) => [
11176
+ q(j.$slots, Te, Ee(Ye({ ...ut })))
11177
11177
  ])
11178
11178
  }))
11179
11179
  ]), 1040, ["menu-mount", "calendar-width"])) : R("", !0)
@@ -11197,7 +11197,7 @@ const yv = ({
11197
11197
  left: "0"
11198
11198
  }), v = X(!1), h = qe(s, "teleportCenter");
11199
11199
  Ce(h, () => {
11200
- d.value = JSON.parse(JSON.stringify({})), U();
11200
+ d.value = JSON.parse(JSON.stringify({})), H();
11201
11201
  });
11202
11202
  const _ = (D) => {
11203
11203
  if (s.teleport) {
@@ -11222,7 +11222,7 @@ const yv = ({
11222
11222
  }, L = () => {
11223
11223
  const D = ft(a);
11224
11224
  d.value = s.altPosition(D);
11225
- }, U = (D = !0) => {
11225
+ }, H = (D = !0) => {
11226
11226
  var x;
11227
11227
  if (!l.value.enabled) {
11228
11228
  if (h.value) return T();
@@ -11263,10 +11263,10 @@ const yv = ({
11263
11263
  return x <= te ? Mt.bottom : x > te && x <= z ? Mt.top : te >= z ? Mt.bottom : Mt.top;
11264
11264
  }
11265
11265
  return Mt.bottom;
11266
- }, ne = (D) => V() === Mt.bottom ? Y(D) : E(D), le = () => {
11266
+ }, ae = (D) => V() === Mt.bottom ? Y(D) : E(D), le = () => {
11267
11267
  const D = ft(a);
11268
11268
  if (D)
11269
- return s.autoPosition ? ne(D) : Y(D);
11269
+ return s.autoPosition ? ae(D) : Y(D);
11270
11270
  }, N = function(D) {
11271
11271
  if (D) {
11272
11272
  const x = D.scrollHeight > D.clientHeight, G = window.getComputedStyle(D).overflowY.indexOf("hidden") !== -1;
@@ -11293,7 +11293,7 @@ const yv = ({
11293
11293
  openOnTop: v,
11294
11294
  menuStyle: d,
11295
11295
  xCorrect: p,
11296
- setMenuPosition: U,
11296
+ setMenuPosition: H,
11297
11297
  getScrollableParent: g,
11298
11298
  shadowRender: (D, x) => {
11299
11299
  var G, O, te;
@@ -11456,7 +11456,7 @@ const yv = ({
11456
11456
  return !1;
11457
11457
  }
11458
11458
  return !1;
11459
- }, U = (f) => {
11459
+ }, H = (f) => {
11460
11460
  if (i.value.autoRange || e.weekPicker) {
11461
11461
  if (p.value) {
11462
11462
  const B = xt(p.value, +i.value.autoRange);
@@ -11481,7 +11481,7 @@ const yv = ({
11481
11481
  if (e.weekPicker) return !1;
11482
11482
  const B = i.value.enabled ? !M(f) && !M(f, !1) : !0;
11483
11483
  return !c(f.value) && !T(f) && !(!f.current && e.hideOffsetDates) && B;
11484
- }, ne = (f) => i.value.enabled ? e.modelAuto ? E() && T(f) : !1 : T(f), le = (f) => r.value ? Bp(f.value, o.value.highlight) : !1, N = (f) => {
11484
+ }, ae = (f) => i.value.enabled ? e.modelAuto ? E() && T(f) : !1 : T(f), le = (f) => r.value ? Bp(f.value, o.value.highlight) : !1, N = (f) => {
11485
11485
  const B = c(f.value);
11486
11486
  return B && (typeof r.value == "function" ? !r.value(f.value, B) : !r.value.options.highlightDisabled);
11487
11487
  }, g = (f) => {
@@ -11505,14 +11505,14 @@ const yv = ({
11505
11505
  dp__cell_offset: !f.current,
11506
11506
  dp__pointer: !e.disabled && !(!f.current && e.hideOffsetDates) && !c(f.value) && !G(f),
11507
11507
  dp__cell_disabled: c(f.value) || G(f),
11508
- dp__cell_highlight: !N(f) && (le(f) || g(f)) && !ne(f) && !Oe && !Q(f) && !(y(f) && e.weekPicker) && !de,
11509
- dp__cell_highlight_active: !N(f) && (le(f) || g(f)) && ne(f),
11508
+ dp__cell_highlight: !N(f) && (le(f) || g(f)) && !ae(f) && !Oe && !Q(f) && !(y(f) && e.weekPicker) && !de,
11509
+ dp__cell_highlight_active: !N(f) && (le(f) || g(f)) && ae(f),
11510
11510
  dp__today: !e.noToday && Ne(f.value, d.value) && f.current,
11511
11511
  "dp--past": nt(f.value, d.value),
11512
11512
  "dp--future": st(f.value, d.value)
11513
11513
  };
11514
11514
  }, te = (f) => ({
11515
- dp__active_date: ne(f),
11515
+ dp__active_date: ae(f),
11516
11516
  dp__date_hover: V(f)
11517
11517
  }), z = (f) => {
11518
11518
  if (t.value && !Array.isArray(t.value)) {
@@ -11556,7 +11556,7 @@ const yv = ({
11556
11556
  };
11557
11557
  }, K = (f) => ({
11558
11558
  ...F(f),
11559
- dp__cell_auto_range: U(f),
11559
+ dp__cell_auto_range: H(f),
11560
11560
  dp__cell_auto_range_start: Q(f),
11561
11561
  dp__cell_auto_range_end: L(f)
11562
11562
  }), re = (f) => i.value.enabled ? i.value.autoRange ? K(f) : e.modelAuto ? { ...te(f), ...F(f) } : e.weekPicker ? C(f) : F(f) : e.weekPicker ? z(f) : te(f);
@@ -11595,14 +11595,14 @@ const yv = ({
11595
11595
  if (a.value.maxRange) return te <= +a.value.maxRange;
11596
11596
  }
11597
11597
  return !0;
11598
- }, T = () => !t.enableTimePicker || t.monthPicker || t.yearPicker || t.ignoreTimeValidation, L = (g) => Array.isArray(g) ? [g[0] ? Zn(g[0]) : null, g[1] ? Zn(g[1]) : null] : Zn(g), U = (g, y, D) => g.find(
11598
+ }, T = () => !t.enableTimePicker || t.monthPicker || t.yearPicker || t.ignoreTimeValidation, L = (g) => Array.isArray(g) ? [g[0] ? Zn(g[0]) : null, g[1] ? Zn(g[1]) : null] : Zn(g), H = (g, y, D) => g.find(
11599
11599
  (x) => +x.hours === Qt(y) && x.minutes === "*" ? !0 : +x.minutes === ea(y) && +x.hours === Qt(y)
11600
11600
  ) && D, Q = (g, y, D) => {
11601
11601
  const [x, G] = g, [O, te] = y;
11602
- return !U(x, O, D) && !U(G, te, D) && D;
11602
+ return !H(x, O, D) && !H(G, te, D) && D;
11603
11603
  }, Y = (g, y) => {
11604
11604
  const D = Array.isArray(y) ? y : [y];
11605
- return Array.isArray(t.disabledTimes) ? Array.isArray(t.disabledTimes[0]) ? Q(t.disabledTimes, D, g) : !D.some((x) => U(t.disabledTimes, x, g)) : g;
11605
+ return Array.isArray(t.disabledTimes) ? Array.isArray(t.disabledTimes[0]) ? Q(t.disabledTimes, D, g) : !D.some((x) => H(t.disabledTimes, x, g)) : g;
11606
11606
  }, E = (g, y) => {
11607
11607
  const D = Array.isArray(y) ? [da(y[0]), y[1] ? da(y[1]) : void 0] : da(y), x = !t.disabledTimes(D);
11608
11608
  return g && x;
@@ -11623,7 +11623,7 @@ const yv = ({
11623
11623
  pt(D),
11624
11624
  y
11625
11625
  )), I(g, y);
11626
- }, ne = (g) => {
11626
+ }, ae = (g) => {
11627
11627
  if (!t.monthPicker) return !0;
11628
11628
  let y = !0;
11629
11629
  const D = oe(At(g));
@@ -11640,7 +11640,7 @@ const yv = ({
11640
11640
  y = nt(D, x) || Ne(D, x);
11641
11641
  }
11642
11642
  return y;
11643
- }, le = $(() => (g) => !t.enableTimePicker || t.ignoreTimeValidation ? !0 : V(g)), N = $(() => (g) => t.monthPicker ? Array.isArray(g) && (a.value.enabled || l.value.enabled) ? !g.filter((y) => !ne(y)).length : ne(g) : !0);
11643
+ }, le = $(() => (g) => !t.enableTimePicker || t.ignoreTimeValidation ? !0 : V(g)), N = $(() => (g) => t.monthPicker ? Array.isArray(g) && (a.value.enabled || l.value.enabled) ? !g.filter((y) => !ae(y)).length : ae(g) : !0);
11644
11644
  return {
11645
11645
  isDisabled: _,
11646
11646
  validateDate: i,
@@ -11736,7 +11736,7 @@ const yv = ({
11736
11736
  })
11737
11737
  ), L = () => {
11738
11738
  n("set-input-date", null), l.clearable && l.autoApply && (n("set-empty-date"), k.value = null);
11739
- }, U = (z) => {
11739
+ }, H = (z) => {
11740
11740
  const C = h();
11741
11741
  return Fp(
11742
11742
  z,
@@ -11749,7 +11749,7 @@ const yv = ({
11749
11749
  }, Q = (z) => {
11750
11750
  const { rangeSeparator: C } = r.value, [S, F] = z.split(`${C}`);
11751
11751
  if (S) {
11752
- const K = U(S.trim()), re = F ? U(F.trim()) : null;
11752
+ const K = H(S.trim()), re = F ? H(F.trim()) : null;
11753
11753
  if (fa(K, re)) return;
11754
11754
  const f = K && re ? [K, re] : [K];
11755
11755
  _(re, f, 0) && (k.value = K ? f : null);
@@ -11761,16 +11761,16 @@ const yv = ({
11761
11761
  Q(z);
11762
11762
  else if (p.value.enabled) {
11763
11763
  const C = z.split(";");
11764
- k.value = C.map((S) => U(S.trim())).filter((S) => S);
11764
+ k.value = C.map((S) => H(S.trim())).filter((S) => S);
11765
11765
  } else
11766
- k.value = U(z);
11766
+ k.value = H(z);
11767
11767
  }, I = (z) => {
11768
11768
  var C;
11769
11769
  const S = typeof z == "string" ? z : (C = z.target) == null ? void 0 : C.value;
11770
11770
  S !== "" ? (r.value.openMenu && !l.isMenuOpen && n("open"), E(S), n("set-input-date", k.value)) : L(), P.value = !1, n("update:input-value", S), n("text-input", z, k.value);
11771
11771
  }, V = (z) => {
11772
11772
  r.value.enabled ? (E(z.target.value), r.value.enterSubmit && gl(k.value) && l.inputValue !== "" ? (n("set-input-date", k.value, !0), k.value = null) : r.value.enterSubmit && l.inputValue === "" && (k.value = null, n("clear"))) : N(z);
11773
- }, ne = (z, C) => {
11773
+ }, ae = (z, C) => {
11774
11774
  r.value.enabled && r.value.tabSubmit && !C && E(z.target.value), r.value.tabSubmit && gl(k.value) && l.inputValue !== "" ? (n("set-input-date", k.value, !0, !0), k.value = null) : r.value.tabSubmit && l.inputValue === "" && (k.value = null, n("clear", !0));
11775
11775
  }, le = () => {
11776
11776
  M.value = !0, n("focus"), Xe().then(() => {
@@ -11789,7 +11789,7 @@ const yv = ({
11789
11789
  }, D = () => {
11790
11790
  n("close");
11791
11791
  }, x = (z) => {
11792
- if (z.key === "Tab" && ne(z), z.key === "Enter" && V(z), z.key === "Escape" && r.value.escClose && D(), !r.value.enabled) {
11792
+ if (z.key === "Tab" && ae(z), z.key === "Enter" && V(z), z.key === "Escape" && r.value.escClose && D(), !r.value.enabled) {
11793
11793
  if (z.code === "Tab") return;
11794
11794
  z.preventDefault();
11795
11795
  }
@@ -11799,7 +11799,7 @@ const yv = ({
11799
11799
  }, O = (z) => {
11800
11800
  k.value = z;
11801
11801
  }, te = (z) => {
11802
- z.key === Je.tab && ne(z, !0);
11802
+ z.key === Je.tab && ae(z, !0);
11803
11803
  };
11804
11804
  return e({
11805
11805
  focusInput: G,
@@ -11815,7 +11815,7 @@ const yv = ({
11815
11815
  isMenuOpen: t.isMenuOpen,
11816
11816
  onInput: I,
11817
11817
  onEnter: V,
11818
- onTab: ne,
11818
+ onTab: ae,
11819
11819
  onClear: y,
11820
11820
  onBlur: g,
11821
11821
  onKeypress: x,
@@ -11945,12 +11945,12 @@ const yv = ({
11945
11945
  "text-input"
11946
11946
  ],
11947
11947
  setup(t, { expose: e, emit: a }) {
11948
- const n = a, l = t, r = Wt(), s = X(!1), o = qe(l, "modelValue"), i = qe(l, "timezone"), c = X(null), p = X(null), d = X(null), v = X(!1), h = X(null), _ = X(!1), k = X(!1), A = X(!1), M = X(!1), { setMenuFocused: P, setShiftKey: T } = eo(), { clearArrowNav: L } = la(), { validateDate: U, isValidTime: Q } = ra(l), {
11948
+ const n = a, l = t, r = Wt(), s = X(!1), o = qe(l, "modelValue"), i = qe(l, "timezone"), c = X(null), p = X(null), d = X(null), v = X(!1), h = X(null), _ = X(!1), k = X(!1), A = X(!1), M = X(!1), { setMenuFocused: P, setShiftKey: T } = eo(), { clearArrowNav: L } = la(), { validateDate: H, isValidTime: Q } = ra(l), {
11949
11949
  defaultedTransitions: Y,
11950
11950
  defaultedTextInput: E,
11951
11951
  defaultedInline: I,
11952
11952
  defaultedConfig: V,
11953
- defaultedRange: ne,
11953
+ defaultedRange: ae,
11954
11954
  defaultedMultiDates: le
11955
11955
  } = tt(l), { menuTransition: N, showTransition: g } = tn(Y), { isMobile: y } = oo(V);
11956
11956
  Ge(() => {
@@ -12003,7 +12003,7 @@ const yv = ({
12003
12003
  ), Z = $(() => l.dark ? "dp__theme_dark" : "dp__theme_light"), Se = $(() => l.teleport ? {
12004
12004
  to: typeof l.teleport == "boolean" ? "body" : l.teleport,
12005
12005
  disabled: !l.teleport || I.value.enabled
12006
- } : {}), ae = $(() => ({ class: "dp__outer_menu_wrap" })), ve = $(() => I.value.enabled && (l.timePicker || l.monthPicker || l.yearPicker || l.quarterPicker)), b = () => {
12006
+ } : {}), ne = $(() => ({ class: "dp__outer_menu_wrap" })), ve = $(() => I.value.enabled && (l.timePicker || l.monthPicker || l.yearPicker || l.quarterPicker)), b = () => {
12007
12007
  var J, he;
12008
12008
  return ((he = (J = d.value) == null ? void 0 : J.$el) == null ? void 0 : he.getBoundingClientRect()) ?? { width: 0, left: 0, right: 0 };
12009
12009
  }, pe = () => {
@@ -12017,14 +12017,14 @@ const yv = ({
12017
12017
  J.key === "Tab" && !I.value.enabled && !l.teleport && V.value.tabOutClosesMenu && (h.value.contains(document.activeElement) || ut()), k.value = J.shiftKey;
12018
12018
  }, Le = (J) => {
12019
12019
  k.value = J.shiftKey;
12020
- }, Ee = () => {
12020
+ }, Re = () => {
12021
12021
  !l.disabled && !l.readonly && (S(Rr, l), z(!1), s.value = !0, s.value && n("open"), s.value || Bt(), re(l.modelValue));
12022
12022
  }, j = () => {
12023
12023
  var J, he;
12024
12024
  F.value = "", Bt(), (J = p.value) == null || J.onValueCleared(), (he = d.value) == null || he.setParsedDate(null), n("update:model-value", null), n("update:model-timezone-value", null), n("cleared"), V.value.closeOnClearValue && ut();
12025
12025
  }, ue = () => {
12026
12026
  const J = K.value;
12027
- return !J || !Array.isArray(J) && U(J) ? !0 : Array.isArray(J) ? le.value.enabled || J.length === 2 && U(J[0]) && U(J[1]) ? !0 : ne.value.partialRange && !l.timePicker ? U(J[0]) : !1 : !1;
12027
+ return !J || !Array.isArray(J) && H(J) ? !0 : Array.isArray(J) ? le.value.enabled || J.length === 2 && H(J[0]) && H(J[1]) ? !0 : ae.value.partialRange && !l.timePicker ? H(J[0]) : !1 : !1;
12028
12028
  }, xe = () => {
12029
12029
  de() && ue() ? (f(), ut()) : n("invalid-select", K.value);
12030
12030
  }, ct = (J) => {
@@ -12032,7 +12032,7 @@ const yv = ({
12032
12032
  }, St = () => {
12033
12033
  d.value && E.value.enabled && d.value.setParsedDate(K.value);
12034
12034
  }, Te = (J = !1) => {
12035
- l.autoApply && Q(K.value) && ue() && (ne.value.enabled && Array.isArray(K.value) ? (ne.value.partialRange || K.value.length === 2) && ct(J) : ct(J));
12035
+ l.autoApply && Q(K.value) && ue() && (ae.value.enabled && Array.isArray(K.value) ? (ae.value.partialRange || K.value.length === 2) && ct(J) : ct(J));
12036
12036
  }, Bt = () => {
12037
12037
  E.value.enabled || (K.value = null);
12038
12038
  }, ut = (J = !1) => {
@@ -12042,13 +12042,13 @@ const yv = ({
12042
12042
  K.value = null;
12043
12043
  return;
12044
12044
  }
12045
- const It = Array.isArray(J) ? !J.some((ha) => !U(ha)) : U(J), Dt = Q(J);
12045
+ const It = Array.isArray(J) ? !J.some((ha) => !H(ha)) : H(J), Dt = Q(J);
12046
12046
  It && Dt ? (M.value = !0, K.value = J, he && (_.value = ke, xe(), n("text-submit")), Xe().then(() => {
12047
12047
  M.value = !1;
12048
12048
  })) : n("invalid-date", J);
12049
12049
  }, On = () => {
12050
12050
  l.autoApply && Q(K.value) && f(), St();
12051
- }, nn = () => s.value ? ut() : Ee(), En = (J) => {
12051
+ }, nn = () => s.value ? ut() : Re(), En = (J) => {
12052
12052
  K.value = J;
12053
12053
  }, Rn = () => {
12054
12054
  E.value.enabled && (v.value = !0, B()), n("focus");
@@ -12068,19 +12068,19 @@ const yv = ({
12068
12068
  }, Vn = (J, he) => {
12069
12069
  var ke;
12070
12070
  (ke = p.value) == null || ke.switchView(J, he);
12071
- }, W = (J, he) => V.value.onClickOutside ? V.value.onClickOutside(J, he) : ut(!0), fe = (J = 0) => {
12071
+ }, U = (J, he) => V.value.onClickOutside ? V.value.onClickOutside(J, he) : ut(!0), fe = (J = 0) => {
12072
12072
  var he;
12073
12073
  (he = p.value) == null || he.handleFlow(J);
12074
12074
  }, Me = () => c;
12075
12075
  return Pv(
12076
12076
  c,
12077
12077
  d,
12078
- (J) => W(ue, J)
12078
+ (J) => U(ue, J)
12079
12079
  ), e({
12080
12080
  closeMenu: ut,
12081
12081
  selectDate: xe,
12082
12082
  clearValue: j,
12083
- openMenu: Ee,
12083
+ openMenu: Re,
12084
12084
  onScroll: pe,
12085
12085
  formatInputValue: B,
12086
12086
  // exposed for testing purposes
@@ -12107,7 +12107,7 @@ const yv = ({
12107
12107
  "is-menu-open": s.value
12108
12108
  }, J.$props, {
12109
12109
  onClear: j,
12110
- onOpen: Ee,
12110
+ onOpen: Re,
12111
12111
  onSetInputDate: Ia,
12112
12112
  onSetEmptyDate: u(f),
12113
12113
  onSelectDate: xe,
@@ -12117,26 +12117,26 @@ const yv = ({
12117
12117
  onBlur: Ln,
12118
12118
  onRealBlur: he[1] || (he[1] = (ke) => v.value = !1),
12119
12119
  onTextInput: he[2] || (he[2] = (ke) => J.$emit("text-input", ke))
12120
- }), ze({ _: 2 }, [
12120
+ }), Qe({ _: 2 }, [
12121
12121
  Ve(u(x), (ke, It) => ({
12122
12122
  name: ke,
12123
- fn: H((Dt) => [
12124
- q(J.$slots, ke, Re(He(Dt)))
12123
+ fn: W((Dt) => [
12124
+ q(J.$slots, ke, Ee(Ye(Dt)))
12125
12125
  ])
12126
12126
  }))
12127
12127
  ]), 1040, ["input-value", "is-menu-open", "onSetEmptyDate"]),
12128
- (m(), se(aa(J.teleport ? Wr : "div"), Re(He(Se.value)), {
12129
- default: H(() => [
12128
+ (m(), se(aa(J.teleport ? Wr : "div"), Ee(Ye(Se.value)), {
12129
+ default: W(() => [
12130
12130
  ye(Yt, {
12131
12131
  name: u(N)(u(G)),
12132
12132
  css: u(g) && !u(I).enabled
12133
12133
  }, {
12134
- default: H(() => [
12134
+ default: W(() => [
12135
12135
  s.value ? (m(), w("div", De({
12136
12136
  key: 0,
12137
12137
  ref_key: "dpWrapMenuRef",
12138
12138
  ref: c
12139
- }, ae.value, {
12139
+ }, ne.value, {
12140
12140
  class: { "dp--menu-wrapper": !u(I).enabled },
12141
12141
  style: u(I).enabled ? void 0 : u(O)
12142
12142
  }), [
@@ -12173,11 +12173,11 @@ const yv = ({
12173
12173
  onInvalidDate: he[17] || (he[17] = (ke) => J.$emit("invalid-date", ke)),
12174
12174
  onOverlayToggle: he[18] || (he[18] = (ke) => J.$emit("overlay-toggle", ke)),
12175
12175
  onMenuBlur: he[19] || (he[19] = (ke) => J.$emit("blur"))
12176
- }), ze({ _: 2 }, [
12176
+ }), Qe({ _: 2 }, [
12177
12177
  Ve(u(D), (ke, It) => ({
12178
12178
  name: ke,
12179
- fn: H((Dt) => [
12180
- q(J.$slots, ke, Re(He({ ...Dt })))
12179
+ fn: W((Dt) => [
12180
+ q(J.$slots, ke, Ee(Ye({ ...Dt })))
12181
12181
  ])
12182
12182
  }))
12183
12183
  ]), 1040, ["internal-model-value", "class", "open-on-top", "no-overlay-focus", "collapse", "is-text-input-date", "onRecalculatePosition"])
@@ -12327,8 +12327,8 @@ class Fv {
12327
12327
  const { mask: r, escaped: s } = this.escapeMask(a), o = [], i = this.opts.tokens != null ? this.opts.tokens : {}, c = this.isReversed() ? -1 : 1, p = this.isReversed() ? "unshift" : "push", d = this.isReversed() ? 0 : r.length - 1, v = this.isReversed() ? () => A > -1 && M > -1 : () => A < r.length && M < e.length, h = (T) => !this.isReversed() && T <= d || this.isReversed() && T >= d;
12328
12328
  let _, k = -1, A = this.isReversed() ? r.length - 1 : 0, M = this.isReversed() ? e.length - 1 : 0, P = !1;
12329
12329
  for (; v(); ) {
12330
- const T = r.charAt(A), L = i[T], U = (L == null ? void 0 : L.transform) != null ? L.transform(e.charAt(M)) : e.charAt(M);
12331
- if (!s.includes(A) && L != null ? (U.match(L.pattern) != null ? (o[p](U), L.repeated ? (k === -1 ? k = A : A === d && A !== k && (A = k - c), d === k && (A -= c)) : L.multiple && (P = !0, A -= c), A += c) : L.multiple ? P && (A += c, M -= c, P = !1) : U === _ ? _ = void 0 : L.optional && (A += c, M -= c), M += c) : (n && !this.isEager() && o[p](T), U === T && !this.isEager() ? M += c : _ = T, this.isEager() || (A += c)), this.isEager())
12330
+ const T = r.charAt(A), L = i[T], H = (L == null ? void 0 : L.transform) != null ? L.transform(e.charAt(M)) : e.charAt(M);
12331
+ if (!s.includes(A) && L != null ? (H.match(L.pattern) != null ? (o[p](H), L.repeated ? (k === -1 ? k = A : A === d && A !== k && (A = k - c), d === k && (A -= c)) : L.multiple && (P = !0, A -= c), A += c) : L.multiple ? P && (A += c, M -= c, P = !1) : H === _ ? _ = void 0 : L.optional && (A += c, M -= c), M += c) : (n && !this.isEager() && o[p](T), H === T && !this.isEager() ? M += c : _ = T, this.isEager() || (A += c)), this.isEager())
12332
12332
  for (; h(A) && (i[r.charAt(A)] == null || s.includes(A)); ) {
12333
12333
  if (n) {
12334
12334
  if (o[p](r.charAt(A)), e.charAt(M) === r.charAt(A)) {
@@ -12847,18 +12847,18 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12847
12847
  }
12848
12848
  return (P, T) => (m(), se(u(ma), {
12849
12849
  id: e.id,
12850
- class: ie(e.class),
12850
+ class: ie(["q-date-time-picker", e.class]),
12851
12851
  label: e.label,
12852
12852
  readonly: e.readonly,
12853
12853
  disabled: e.disabled,
12854
12854
  required: e.required,
12855
12855
  size: e.size,
12856
12856
  invalid: e.invalid
12857
- }, ze({
12858
- prepend: H(() => [
12859
- ye(u(We), De({ class: "q-date-time-picker__input-icon" }, _.value), null, 16)
12857
+ }, Qe({
12858
+ prepend: W(() => [
12859
+ ye(u(He), De({ class: "q-date-time-picker__input-icon" }, _.value), null, 16)
12860
12860
  ]),
12861
- default: H(() => [
12861
+ default: W(() => [
12862
12862
  ye(u(tr), {
12863
12863
  modelValue: n.value,
12864
12864
  "onUpdate:modelValue": T[0] || (T[0] = (L) => n.value = L),
@@ -12877,12 +12877,13 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12877
12877
  teleport: !e.inline,
12878
12878
  offset: 16,
12879
12879
  dark: o.value,
12880
+ ui: { menu: ["q-date-time-picker__menu", u(s).class.value] },
12880
12881
  "text-input": "",
12881
12882
  "hide-input-icon": "",
12882
12883
  clearable: "",
12883
12884
  "auto-apply": ""
12884
12885
  }, {
12885
- "dp-input": H(({ value: L, onInput: U, onBlur: Q, onFocus: Y, onKeypress: E, onPaste: I }) => [
12886
+ "dp-input": W(({ value: L, onInput: H, onBlur: Q, onFocus: Y, onKeypress: E, onPaste: I }) => [
12886
12887
  ee("input", De({
12887
12888
  ref_key: "inputRef",
12888
12889
  ref: A,
@@ -12895,7 +12896,7 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12895
12896
  readonly: e.readonly,
12896
12897
  required: e.required
12897
12898
  }, P.$attrs, {
12898
- onInput: U,
12899
+ onInput: H,
12899
12900
  onBlur: Q,
12900
12901
  onFocus: Y,
12901
12902
  onKeypress: E,
@@ -12903,20 +12904,20 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12903
12904
  onPaste: I
12904
12905
  }), null, 16, ah)
12905
12906
  ]),
12906
- "clear-icon": H(({ clear: L }) => [
12907
+ "clear-icon": W(({ clear: L }) => [
12907
12908
  ye(u(An), {
12908
12909
  texts: e.texts,
12909
12910
  onClick: L
12910
12911
  }, null, 8, ["texts", "onClick"])
12911
12912
  ]),
12912
12913
  _: 1
12913
- }, 8, ["modelValue", "model-type", "min-time", "max-time", "disabled", "readonly", "format", "is24", "locale", "enable-time-picker", "enable-seconds", "time-picker", "config", "teleport", "dark"])
12914
+ }, 8, ["modelValue", "model-type", "min-time", "max-time", "disabled", "readonly", "format", "is24", "locale", "enable-time-picker", "enable-seconds", "time-picker", "config", "teleport", "dark", "ui"])
12914
12915
  ]),
12915
12916
  _: 2
12916
12917
  }, [
12917
12918
  P.$slots.extras ? {
12918
12919
  name: "extras",
12919
- fn: H(() => [
12920
+ fn: W(() => [
12920
12921
  q(P.$slots, "extras")
12921
12922
  ]),
12922
12923
  key: "0"
@@ -13029,7 +13030,7 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13029
13030
  onEnter: d,
13030
13031
  onLeave: v
13031
13032
  }, {
13032
- default: H(() => [
13033
+ default: W(() => [
13033
13034
  ee("div", {
13034
13035
  class: ie(o.value)
13035
13036
  }, [
@@ -13046,7 +13047,7 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13046
13047
  return [
13047
13048
  q(h.$slots, "body.icon", {}, () => [
13048
13049
  a.icon ? (m(), w("span", ph, [
13049
- ye(u(We), Re(He(a.icon)), null, 16)
13050
+ ye(u(He), Ee(Ye(a.icon)), null, 16)
13050
13051
  ])) : R("", !0)
13051
13052
  ]),
13052
13053
  ee("div", mh, [
@@ -13063,8 +13064,8 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13063
13064
  placeholder: (k = a.input) == null ? void 0 : k.placeholder,
13064
13065
  size: "block"
13065
13066
  }, {
13066
- extras: H(() => [
13067
- s.value ? (m(), se(u(We), {
13067
+ extras: W(() => [
13068
+ s.value ? (m(), se(u(He), {
13068
13069
  key: 0,
13069
13070
  icon: "exclamation-sign"
13070
13071
  })) : R("", !0),
@@ -13083,8 +13084,8 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13083
13084
  key: k.id,
13084
13085
  onClick: () => p(k)
13085
13086
  }), {
13086
- default: H(() => [
13087
- k.icon ? (m(), se(u(We), De({
13087
+ default: W(() => [
13088
+ k.icon ? (m(), se(u(He), De({
13088
13089
  key: 0,
13089
13090
  ref_for: !0
13090
13091
  }, k.icon), null, 16)) : R("", !0)
@@ -13100,8 +13101,8 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13100
13101
  variant: "text",
13101
13102
  onClick: c
13102
13103
  }, {
13103
- default: H(() => [
13104
- ye(u(We), Re(He(a.icons.close)), null, 16)
13104
+ default: W(() => [
13105
+ ye(u(He), Ee(Ye(a.icons.close)), null, 16)
13105
13106
  ]),
13106
13107
  _: 1
13107
13108
  })) : R("", !0)
@@ -13199,17 +13200,17 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13199
13200
  emits: /* @__PURE__ */ Ie(["select", "hide", "focus-previous"], ["update:modelValue", "update:highlighted"]),
13200
13201
  setup(t, { emit: e }) {
13201
13202
  const a = t, n = e, l = Fe(t, "modelValue"), r = Fe(t, "highlighted"), s = X(void 0), o = X([]), i = $(() => a.depth !== 0 ? a.offset : 4), c = $(() => a.depth !== 0 ? a.crossOffset : void 0), p = Xa("qListRef");
13202
- function d(U) {
13203
+ function d(H) {
13203
13204
  var E;
13204
- const Q = (E = a.items) == null ? void 0 : E.find((I) => I[a.itemValue] === U);
13205
+ const Q = (E = a.items) == null ? void 0 : E.find((I) => I[a.itemValue] === H);
13205
13206
  o.value = (Q == null ? void 0 : Q.items) ?? [];
13206
13207
  const Y = o.value.length > 0;
13207
- r.value = U, Y ? P(U) : _(U);
13208
+ r.value = H, Y ? P(H) : _(H);
13208
13209
  }
13209
- function v(U) {
13210
+ function v(H) {
13210
13211
  var Q;
13211
- if (U.key)
13212
- switch (["Enter", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"].includes(U.key) && (U.preventDefault(), U.stopPropagation()), U.key) {
13212
+ if (H.key)
13213
+ switch (["Enter", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"].includes(H.key) && (H.preventDefault(), H.stopPropagation()), H.key) {
13213
13214
  case "ArrowRight":
13214
13215
  const Y = (Q = p.value) == null ? void 0 : Q.getActiveItemIndex();
13215
13216
  a.items && (Y || Y === 0) && a.items[Y] && (r.value = a.items[Y].key, P(a.items[Y].key));
@@ -13223,11 +13224,11 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13223
13224
  break;
13224
13225
  }
13225
13226
  }
13226
- function h(U) {
13227
- a.trigger === "hover" && (r.value = U, P(U));
13227
+ function h(H) {
13228
+ a.trigger === "hover" && (r.value = H, P(H));
13228
13229
  }
13229
- function _(U) {
13230
- n("select", U), M();
13230
+ function _(H) {
13231
+ n("select", H), M();
13231
13232
  }
13232
13233
  function k() {
13233
13234
  A();
@@ -13238,25 +13239,25 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13238
13239
  function M() {
13239
13240
  A(), n("hide");
13240
13241
  }
13241
- function P(U) {
13242
- s.value = U;
13242
+ function P(H) {
13243
+ s.value = H;
13243
13244
  }
13244
13245
  function T() {
13245
13246
  var Y, E;
13246
- const U = (Y = a.items) == null ? void 0 : Y.findIndex(
13247
+ const H = (Y = a.items) == null ? void 0 : Y.findIndex(
13247
13248
  (I) => I[a.itemValue] === s.value
13248
13249
  );
13249
- if (!U && U !== 0) return;
13250
- const Q = (E = p.value) == null ? void 0 : E.getItem(U);
13250
+ if (!H && H !== 0) return;
13251
+ const Q = (E = p.value) == null ? void 0 : E.getItem(H);
13251
13252
  s.value = void 0, r.value = void 0, Q == null || Q.focus();
13252
13253
  }
13253
13254
  function L() {
13254
13255
  Xe(() => {
13255
- var U;
13256
- return (U = p.value) == null ? void 0 : U.$el.focus();
13256
+ var H;
13257
+ return (H = p.value) == null ? void 0 : H.$el.focus();
13257
13258
  });
13258
13259
  }
13259
- return (U, Q) => {
13260
+ return (H, Q) => {
13260
13261
  const Y = Oo("q-dropdown-menu-content", !0);
13261
13262
  return m(), se(u(na), {
13262
13263
  id: a.id,
@@ -13276,7 +13277,7 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13276
13277
  onEnter: L,
13277
13278
  onLeave: k
13278
13279
  }, {
13279
- default: H(() => [
13280
+ default: W(() => [
13280
13281
  ee("div", {
13281
13282
  class: "q-dropdown-menu__body",
13282
13283
  "data-testid": "dropdown-content",
@@ -13295,17 +13296,17 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13295
13296
  onClick: d,
13296
13297
  "onMouseenter:item": h
13297
13298
  }, {
13298
- item: H(({ item: E }) => [
13299
- q(U.$slots, "item", { item: E })
13299
+ item: W(({ item: E }) => [
13300
+ q(H.$slots, "item", { item: E })
13300
13301
  ]),
13301
- "item.append": H(({ item: E, element: I }) => {
13302
+ "item.append": W(({ item: E, element: I }) => {
13302
13303
  var V;
13303
13304
  return [
13304
- q(U.$slots, "item.append", { item: E }, () => [
13305
+ q(H.$slots, "item.append", { item: E }, () => [
13305
13306
  E.extraInfo ? (m(), w("span", Ah, $e(E.extraInfo), 1)) : R("", !0)
13306
13307
  ]),
13307
13308
  ((V = E.items) == null ? void 0 : V.length) > 0 ? (m(), w(we, { key: 0 }, [
13308
- ye(u(We), Re(He(a.icons.expand)), null, 16),
13309
+ ye(u(He), Ee(Ye(a.icons.expand)), null, 16),
13309
13310
  s.value === E.key ? (m(), se(Y, De({
13310
13311
  key: 0,
13311
13312
  "model-value": t.modelValue
@@ -13321,7 +13322,15 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13321
13322
  onHide: M,
13322
13323
  onSelect: _,
13323
13324
  onFocusPrevious: T
13324
- }), null, 16, ["model-value", "activator", "items", "groups", "depth", "delay"])) : R("", !0)
13325
+ }), {
13326
+ item: W((ae) => [
13327
+ q(H.$slots, "item", Ee(Ye(ae)))
13328
+ ]),
13329
+ "item.append": W((ae) => [
13330
+ q(H.$slots, "item.append", Ee(Ye(ae)))
13331
+ ]),
13332
+ _: 2
13333
+ }, 1040, ["model-value", "activator", "items", "groups", "depth", "delay"])) : R("", !0)
13325
13334
  ], 64)) : R("", !0)
13326
13335
  ];
13327
13336
  }),
@@ -13366,7 +13375,15 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13366
13375
  modelValue: l.value,
13367
13376
  "onUpdate:modelValue": o[0] || (o[0] = (i) => l.value = i),
13368
13377
  onSelect: r
13369
- }), null, 16, ["modelValue"]));
13378
+ }), {
13379
+ item: W(({ item: i }) => [
13380
+ q(s.$slots, "item", { item: i })
13381
+ ]),
13382
+ "item.append": W(({ item: i }) => [
13383
+ q(s.$slots, "item.append", { item: i })
13384
+ ]),
13385
+ _: 3
13386
+ }, 16, ["modelValue"]));
13370
13387
  }
13371
13388
  }), qh = _e(Ph), Sh = {
13372
13389
  remove: {
@@ -13409,10 +13426,10 @@ function Oh(t, e = {}) {
13409
13426
  }, _ = (E) => !(o && E.size > o || !h(E.type)), k = () => {
13410
13427
  c = 0, p.value = !1, d.value = !1;
13411
13428
  }, A = (E) => {
13412
- var ne;
13429
+ var ae;
13413
13430
  if (!v.value) return;
13414
13431
  E.preventDefault(), k();
13415
- const I = Array.from(((ne = E.dataTransfer) == null ? void 0 : ne.files) || []);
13432
+ const I = Array.from(((ae = E.dataTransfer) == null ? void 0 : ae.files) || []);
13416
13433
  if (!u(s) && I.length > 1)
13417
13434
  return;
13418
13435
  const V = I.filter(_);
@@ -13421,7 +13438,7 @@ function Oh(t, e = {}) {
13421
13438
  var V;
13422
13439
  if (!v.value) return;
13423
13440
  E.preventDefault();
13424
- const I = Array.from(((V = E.dataTransfer) == null ? void 0 : V.items) || []).map((ne) => ne.type);
13441
+ const I = Array.from(((V = E.dataTransfer) == null ? void 0 : V.items) || []).map((ae) => ae.type);
13425
13442
  d.value = I.some(h), c++, c === 1 && (p.value = !0, n == null || n(E));
13426
13443
  }, P = (E) => {
13427
13444
  v.value && (E.preventDefault(), c--, c === 0 && (p.value = !1, d.value = !1, l == null || l(E)));
@@ -13429,7 +13446,7 @@ function Oh(t, e = {}) {
13429
13446
  v.value && E.preventDefault();
13430
13447
  }, L = () => {
13431
13448
  v.value = !0;
13432
- }, U = () => {
13449
+ }, H = () => {
13433
13450
  v.value = !1, k();
13434
13451
  };
13435
13452
  e.enabled && fn(e.enabled) && Ce(e.enabled, (E) => {
@@ -13447,7 +13464,7 @@ function Oh(t, e = {}) {
13447
13464
  isValid: d,
13448
13465
  isEnabled: v,
13449
13466
  enable: L,
13450
- disable: U
13467
+ disable: H
13451
13468
  };
13452
13469
  }
13453
13470
  function Eh(t) {
@@ -13512,9 +13529,9 @@ const Rh = ["id", "accept", "required", "readonly", "disabled"], Lh = {
13512
13529
  (T = s.value) == null || T.click();
13513
13530
  }
13514
13531
  function i(T) {
13515
- var U;
13532
+ var H;
13516
13533
  const L = T.target;
13517
- (U = L == null ? void 0 : L.files) != null && U[0] && (a.value = L.files[0]);
13534
+ (H = L == null ? void 0 : L.files) != null && H[0] && (a.value = L.files[0]);
13518
13535
  }
13519
13536
  function c() {
13520
13537
  a.value && Eh(a.value);
@@ -13550,8 +13567,8 @@ const Rh = ["id", "accept", "required", "readonly", "disabled"], Lh = {
13550
13567
  disabled: e.disabled,
13551
13568
  required: e.required,
13552
13569
  invalid: e.invalid
13553
- }, ze({
13554
- control: H(() => [
13570
+ }, Qe({
13571
+ control: W(() => [
13555
13572
  ee("div", {
13556
13573
  ref_key: "dropZoneRef",
13557
13574
  ref: v,
@@ -13569,7 +13586,7 @@ const Rh = ["id", "accept", "required", "readonly", "disabled"], Lh = {
13569
13586
  disabled: e.disabled
13570
13587
  }, T.$attrs, { onChange: i }), null, 16, Rh),
13571
13588
  !a.value && l.value ? (m(), w("div", Lh, [
13572
- ye(u(We), Re(He(e.icons.upload)), null, 16),
13589
+ ye(u(He), Ee(Ye(e.icons.upload)), null, 16),
13573
13590
  ee("span", null, $e(e.texts.dropHereOr), 1),
13574
13591
  ye(u(mt), {
13575
13592
  label: e.texts.chooseFile,
@@ -13582,7 +13599,7 @@ const Rh = ["id", "accept", "required", "readonly", "disabled"], Lh = {
13582
13599
  src: r.value,
13583
13600
  alt: e.texts.preview
13584
13601
  }, null, 8, Fh)
13585
- ])) : (m(), se(u(We), De({
13602
+ ])) : (m(), se(u(He), De({
13586
13603
  key: 1,
13587
13604
  class: "q-file-input__preview"
13588
13605
  }, e.icons.file), null, 16)),
@@ -13597,8 +13614,8 @@ const Rh = ["id", "accept", "required", "readonly", "disabled"], Lh = {
13597
13614
  borderless: "",
13598
13615
  onClick: c
13599
13616
  }, {
13600
- default: H(() => [
13601
- ye(u(We), Re(He(e.icons.download)), null, 16)
13617
+ default: W(() => [
13618
+ ye(u(He), Ee(Ye(e.icons.download)), null, 16)
13602
13619
  ]),
13603
13620
  _: 1
13604
13621
  }, 8, ["title"]),
@@ -13607,14 +13624,14 @@ const Rh = ["id", "accept", "required", "readonly", "disabled"], Lh = {
13607
13624
  borderless: "",
13608
13625
  onClick: p
13609
13626
  }, {
13610
- default: H(() => [
13611
- ye(u(We), Re(He(e.icons.remove)), null, 16)
13627
+ default: W(() => [
13628
+ ye(u(He), Ee(Ye(e.icons.remove)), null, 16)
13612
13629
  ]),
13613
13630
  _: 1
13614
13631
  }, 8, ["title"])
13615
13632
  ])) : R("", !0)
13616
13633
  ])) : (m(), w("div", Hh, [
13617
- ye(u(We), Re(He(e.icons.empty)), null, 16),
13634
+ ye(u(He), Ee(Ye(e.icons.empty)), null, 16),
13618
13635
  et(" " + $e(e.texts.empty), 1)
13619
13636
  ]))
13620
13637
  ], 2)
@@ -13623,7 +13640,7 @@ const Rh = ["id", "accept", "required", "readonly", "disabled"], Lh = {
13623
13640
  }, [
13624
13641
  T.$slots.extras ? {
13625
13642
  name: "extras",
13626
- fn: H(() => [
13643
+ fn: W(() => [
13627
13644
  q(T.$slots, "extras")
13628
13645
  ]),
13629
13646
  key: "0"
@@ -13697,7 +13714,7 @@ const Rh = ["id", "accept", "required", "readonly", "disabled"], Lh = {
13697
13714
  });
13698
13715
  return (l, r) => (m(), w("div", {
13699
13716
  class: ie(a.value),
13700
- style: Ye(n.value)
13717
+ style: ze(n.value)
13701
13718
  }, [
13702
13719
  q(l.$slots, "default")
13703
13720
  ], 6));
@@ -13745,24 +13762,24 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
13745
13762
  required: e.required,
13746
13763
  size: e.size,
13747
13764
  invalid: e.invalid
13748
- }, ze({
13749
- "label.prepend": H(() => [
13765
+ }, Qe({
13766
+ "label.prepend": W(() => [
13750
13767
  q(a.$slots, "label.prepend")
13751
13768
  ]),
13752
- "label.append": H(() => [
13769
+ "label.append": W(() => [
13753
13770
  q(a.$slots, "label.append")
13754
13771
  ]),
13755
- default: H(() => [
13772
+ default: W(() => [
13756
13773
  a.$slots.prepend || e.prependIcon ? (m(), w("div", ly, [
13757
13774
  e.prependIcon ? (m(), w("span", ry, [
13758
- ye(u(We), Re(He(e.prependIcon)), null, 16)
13775
+ ye(u(He), Ee(Ye(e.prependIcon)), null, 16)
13759
13776
  ])) : R("", !0),
13760
13777
  q(a.$slots, "prepend")
13761
13778
  ])) : R("", !0),
13762
13779
  q(a.$slots, "default"),
13763
13780
  a.$slots.append || e.appendIcon ? (m(), w("div", sy, [
13764
13781
  e.appendIcon ? (m(), w("span", oy, [
13765
- ye(u(We), Re(He(e.appendIcon)), null, 16)
13782
+ ye(u(He), Ee(Ye(e.appendIcon)), null, 16)
13766
13783
  ])) : R("", !0),
13767
13784
  q(a.$slots, "append")
13768
13785
  ])) : R("", !0)
@@ -13771,7 +13788,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
13771
13788
  }, [
13772
13789
  a.$slots.extras ? {
13773
13790
  name: "extras",
13774
- fn: H(() => [
13791
+ fn: W(() => [
13775
13792
  q(a.$slots, "extras")
13776
13793
  ]),
13777
13794
  key: "0"
@@ -13797,7 +13814,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
13797
13814
  return (n, l) => (m(), w("div", {
13798
13815
  id: e.id,
13799
13816
  class: ie(["q-line-loader", { "q-line-loader--rounded": e.rounded }, e.class]),
13800
- style: Ye(a.value)
13817
+ style: ze(a.value)
13801
13818
  }, null, 14, dy));
13802
13819
  }
13803
13820
  }), fy = _e(cy), py = ["id"], my = { class: "q-meter__labels" }, vy = { class: "q-meter__track" }, hy = /* @__PURE__ */ ce({
@@ -13843,7 +13860,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
13843
13860
  ee("div", vy, [
13844
13861
  ee("div", {
13845
13862
  class: "q-meter__fill",
13846
- style: Ye(r.value)
13863
+ style: ze(r.value)
13847
13864
  }, null, 4)
13848
13865
  ])
13849
13866
  ], 10, py));
@@ -13928,7 +13945,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
13928
13945
  "non-modal": "",
13929
13946
  placement: "bottom"
13930
13947
  }, {
13931
- default: H(() => {
13948
+ default: W(() => {
13932
13949
  var s;
13933
13950
  return [
13934
13951
  ee("div", by, [
@@ -14024,25 +14041,25 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14024
14041
  }, h.$attrs, {
14025
14042
  onFocusin: d,
14026
14043
  onFocusout: v
14027
- }), ze({
14028
- "label.prepend": H(() => [
14044
+ }), Qe({
14045
+ "label.prepend": W(() => [
14029
14046
  q(h.$slots, "label.prepend")
14030
14047
  ]),
14031
- "label.append": H(() => [
14048
+ "label.append": W(() => [
14032
14049
  q(h.$slots, "label.append")
14033
14050
  ]),
14034
14051
  _: 2
14035
14052
  }, [
14036
14053
  h.$slots.prepend ? {
14037
14054
  name: "prepend",
14038
- fn: H(() => [
14055
+ fn: W(() => [
14039
14056
  q(h.$slots, "prepend")
14040
14057
  ]),
14041
14058
  key: "0"
14042
14059
  } : void 0,
14043
14060
  e.toggle ? {
14044
14061
  name: "append",
14045
- fn: H(() => [
14062
+ fn: W(() => [
14046
14063
  q(h.$slots, "append"),
14047
14064
  ye(u(mt), {
14048
14065
  size: "small",
@@ -14051,8 +14068,8 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14051
14068
  disabled: e.disabled,
14052
14069
  onClick: p
14053
14070
  }, {
14054
- default: H(() => [
14055
- ye(u(We), Re(He(n.value ? e.icons.show : e.icons.hide)), null, 16)
14071
+ default: W(() => [
14072
+ ye(u(He), Ee(Ye(n.value ? e.icons.show : e.icons.hide)), null, 16)
14056
14073
  ]),
14057
14074
  _: 1
14058
14075
  }, 8, ["disabled"])
@@ -14061,7 +14078,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14061
14078
  } : void 0,
14062
14079
  h.$slots.extras || e.rules && !e.meter ? {
14063
14080
  name: "extras",
14064
- fn: H(() => [
14081
+ fn: W(() => [
14065
14082
  q(h.$slots, "extras", {}, () => {
14066
14083
  var M;
14067
14084
  return [
@@ -14126,7 +14143,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14126
14143
  disabled: e.disabled,
14127
14144
  placement: e.placement
14128
14145
  }, {
14129
- default: H(() => [
14146
+ default: W(() => [
14130
14147
  ee("div", xy, [
14131
14148
  e.title || n.$slots.header ? (m(), w("div", Dy, [
14132
14149
  n.$slots.header ? q(n.$slots, "header", { key: 0 }) : (m(), w(we, { key: 1 }, [
@@ -14256,7 +14273,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14256
14273
  onFocus: _,
14257
14274
  onFieldChange: (L) => k(T, L)
14258
14275
  }, {
14259
- default: H(() => [
14276
+ default: W(() => [
14260
14277
  q(A.$slots, T.id, { field: T })
14261
14278
  ]),
14262
14279
  _: 2
@@ -14269,7 +14286,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14269
14286
  field: r.value,
14270
14287
  texts: a.texts
14271
14288
  }, {
14272
- default: H(() => [
14289
+ default: W(() => [
14273
14290
  r.value ? q(A.$slots, "panel", {
14274
14291
  key: 0,
14275
14292
  field: r.value
@@ -14386,8 +14403,8 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14386
14403
  variant: "text",
14387
14404
  onClick: i
14388
14405
  }, {
14389
- default: H(() => [
14390
- ye(u(We), Re(He(s.value)), null, 16)
14406
+ default: W(() => [
14407
+ ye(u(He), Ee(Ye(s.value)), null, 16)
14391
14408
  ]),
14392
14409
  _: 1
14393
14410
  })),
@@ -14460,8 +14477,8 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14460
14477
  for: u(a),
14461
14478
  class: ie(r.value),
14462
14479
  label: e.label
14463
- }, ze({
14464
- [l.value]: H(() => [
14480
+ }, Qe({
14481
+ [l.value]: W(() => [
14465
14482
  ee("input", De({
14466
14483
  id: u(a),
14467
14484
  checked: u(n).isActive.value,
@@ -14481,7 +14498,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14481
14498
  }, [
14482
14499
  e.labelPlacement === "start" ? {
14483
14500
  name: "prepend",
14484
- fn: H(() => [
14501
+ fn: W(() => [
14485
14502
  q(s.$slots, "default")
14486
14503
  ]),
14487
14504
  key: "0"
@@ -14620,8 +14637,8 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14620
14637
  v.value && (h(a.emptyValue), Y());
14621
14638
  }
14622
14639
  function k(I) {
14623
- var V, ne, le;
14624
- !((V = i.value) != null && V.contains(I.relatedTarget)) && !((le = (ne = s.value) == null ? void 0 : ne.fieldRef) != null && le.contains(I.relatedTarget)) && M();
14640
+ var V, ae, le;
14641
+ !((V = i.value) != null && V.contains(I.relatedTarget)) && !((le = (ae = s.value) == null ? void 0 : ae.fieldRef) != null && le.contains(I.relatedTarget)) && M();
14625
14642
  }
14626
14643
  function A() {
14627
14644
  r.value || (n("before-show"), r.value = !0);
@@ -14638,7 +14655,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14638
14655
  function L(I) {
14639
14656
  I.key.length === 1 && I.preventDefault(), T(I);
14640
14657
  }
14641
- function U() {
14658
+ function H() {
14642
14659
  var I;
14643
14660
  a.loading ? (I = i.value) == null || I.focus() : E(), n("show");
14644
14661
  }
@@ -14659,7 +14676,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14659
14676
  !I && r.value && Xe(E);
14660
14677
  }
14661
14678
  ), (I, V) => {
14662
- var ne, le;
14679
+ var ae, le;
14663
14680
  return m(), w(we, null, [
14664
14681
  ye(u(ma), {
14665
14682
  id: a.id,
@@ -14685,8 +14702,8 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14685
14702
  invalid: a.invalid,
14686
14703
  onClick: P,
14687
14704
  onKeydown: T
14688
- }, ze({
14689
- append: H(() => [
14705
+ }, Qe({
14706
+ append: W(() => [
14690
14707
  q(I.$slots, "append"),
14691
14708
  v.value && l.value ? (m(), se(u(An), {
14692
14709
  key: 0,
@@ -14705,7 +14722,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14705
14722
  disabled: a.disabled,
14706
14723
  onClick: P
14707
14724
  }, {
14708
- default: H(() => [
14725
+ default: W(() => [
14709
14726
  ye(u(vn), {
14710
14727
  "model-value": r.value,
14711
14728
  icons: a.icons
@@ -14714,7 +14731,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14714
14731
  _: 1
14715
14732
  }, 8, ["aria-label", "disabled"]))
14716
14733
  ]),
14717
- default: H(() => [
14734
+ default: W(() => [
14718
14735
  c.value ? (m(), w("span", ng, [
14719
14736
  !a.readonly && !a.disabled ? (m(), w(we, { key: 0 }, [
14720
14737
  et($e(a.texts.placeholder), 1)
@@ -14737,20 +14754,20 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14737
14754
  ]),
14738
14755
  _: 2
14739
14756
  }, [
14740
- (ne = p.value) != null && ne.icon || I.$slots.prepend ? {
14757
+ (ae = p.value) != null && ae.icon || I.$slots.prepend ? {
14741
14758
  name: "prepend",
14742
- fn: H(() => {
14759
+ fn: W(() => {
14743
14760
  var N, g;
14744
14761
  return [
14745
14762
  q(I.$slots, "prepend"),
14746
- (N = p.value) != null && N.icon ? (m(), se(u(We), Re(De({ key: 0 }, (g = p.value) == null ? void 0 : g.icon)), null, 16)) : R("", !0)
14763
+ (N = p.value) != null && N.icon ? (m(), se(u(He), Ee(De({ key: 0 }, (g = p.value) == null ? void 0 : g.icon)), null, 16)) : R("", !0)
14747
14764
  ];
14748
14765
  }),
14749
14766
  key: "0"
14750
14767
  } : void 0,
14751
14768
  I.$slots.extras ? {
14752
14769
  name: "extras",
14753
- fn: H(() => [
14770
+ fn: W(() => [
14754
14771
  q(I.$slots, "extras")
14755
14772
  ]),
14756
14773
  key: "1"
@@ -14767,10 +14784,10 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14767
14784
  inline: a.inline,
14768
14785
  anchor: (le = s.value) == null ? void 0 : le.fieldRef,
14769
14786
  offset: 2,
14770
- onEnter: U,
14787
+ onEnter: H,
14771
14788
  onLeave: Q
14772
14789
  }, {
14773
- default: H(() => [
14790
+ default: W(() => [
14774
14791
  ee("div", {
14775
14792
  ref_key: "contentRef",
14776
14793
  ref: i,
@@ -14798,7 +14815,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14798
14815
  "item-value": a.itemValue,
14799
14816
  "onUpdate:modelValue": h
14800
14817
  }, {
14801
- item: H(({ item: N }) => [
14818
+ item: W(({ item: N }) => [
14802
14819
  q(I.$slots, "item", { item: N })
14803
14820
  ]),
14804
14821
  _: 3
@@ -14841,7 +14858,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14841
14858
  "aria-pressed": a.value,
14842
14859
  onClick: l
14843
14860
  }), {
14844
- default: H(() => [
14861
+ default: W(() => [
14845
14862
  q(r.$slots, "default")
14846
14863
  ]),
14847
14864
  _: 3
@@ -14893,12 +14910,12 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14893
14910
  }
14894
14911
  return Ce(l, () => Xe(i), { immediate: !0 }), (c, p) => (m(), w("div", {
14895
14912
  class: "q-sidebar-anchor",
14896
- style: Ye({ width: a.anchorWidth + "px" })
14913
+ style: ze({ width: a.anchorWidth + "px" })
14897
14914
  }, [
14898
14915
  ee("div", dg, [
14899
14916
  ee("div", {
14900
14917
  class: "q-sidebar__indicator",
14901
- style: Ye(r.value)
14918
+ style: ze(r.value)
14902
14919
  }, null, 4),
14903
14920
  (m(!0), w(we, null, Ve(c.panels, (d) => (m(), se(u(nr), {
14904
14921
  key: d.id,
@@ -14913,9 +14930,9 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
14913
14930
  class: "q-sidebar__item",
14914
14931
  onClick: () => o(d.id)
14915
14932
  }, {
14916
- default: H(() => [
14933
+ default: W(() => [
14917
14934
  q(c.$slots, d.id, { item: d }, () => [
14918
- d.icon ? (m(), se(u(We), De({
14935
+ d.icon ? (m(), se(u(He), De({
14919
14936
  key: 0,
14920
14937
  ref_for: !0
14921
14938
  }, d.icon), null, 16)) : R("", !0)
@@ -15020,14 +15037,14 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15020
15037
  if (i.value !== void 0)
15021
15038
  return o.value ? typeof i.value == "number" ? `${a.anchorWidth + i.value}px` : `calc(${a.anchorWidth}px + ${i.value})` : `${a.anchorWidth}px`;
15022
15039
  }), p = $(() => {
15023
- var P, T, L, U, Q, Y, E;
15040
+ var P, T, L, H, Q, Y, E;
15024
15041
  return [
15025
15042
  "q-sidebar",
15026
15043
  `q-sidebar--${((P = s.value) == null ? void 0 : P.initialWidth) ?? "small"}`,
15027
15044
  `q-sidebar--${a.position}`,
15028
15045
  {
15029
15046
  "q-sidebar--expanded": o.value,
15030
- [`q-sidebar--min-${(T = s.value) == null ? void 0 : T.minWidth}`]: ((L = s.value) == null ? void 0 : L.resizable) && ((U = s.value) == null ? void 0 : U.minWidth) !== void 0,
15047
+ [`q-sidebar--min-${(T = s.value) == null ? void 0 : T.minWidth}`]: ((L = s.value) == null ? void 0 : L.resizable) && ((H = s.value) == null ? void 0 : H.minWidth) !== void 0,
15031
15048
  [`q-sidebar--max-${(Q = s.value) == null ? void 0 : Q.maxWidth}`]: ((Y = s.value) == null ? void 0 : Y.resizable) && ((E = s.value) == null ? void 0 : E.maxWidth) !== void 0
15032
15049
  }
15033
15050
  ];
@@ -15054,7 +15071,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15054
15071
  }
15055
15072
  return Ce([() => a.anchorWidth, s], M, { immediate: !0, deep: !0 }), (P, T) => (m(), w("div", {
15056
15073
  class: ie(p.value),
15057
- style: Ye({ width: c.value })
15074
+ style: ze({ width: c.value })
15058
15075
  }, [
15059
15076
  ye(cg, {
15060
15077
  modelValue: l.value,
@@ -15063,10 +15080,10 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15063
15080
  "anchor-width": a.anchorWidth,
15064
15081
  "show-labels": a.showLabels,
15065
15082
  "onClick:item": k
15066
- }, ze({ _: 2 }, [
15083
+ }, Qe({ _: 2 }, [
15067
15084
  Ve(a.panels, (L) => ({
15068
15085
  name: L.id,
15069
- fn: H(() => [
15086
+ fn: W(() => [
15070
15087
  q(P.$slots, `anchor:${L.id}`, { item: L })
15071
15088
  ])
15072
15089
  }))
@@ -15075,7 +15092,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15075
15092
  name: P.position === "left" ? "slide-right" : "slide-left",
15076
15093
  onAfterLeave: A
15077
15094
  }, {
15078
- default: H(() => [
15095
+ default: W(() => [
15079
15096
  l.value && s.value ? (m(), se(gg, {
15080
15097
  key: 0,
15081
15098
  "show-grip": "",
@@ -15088,38 +15105,38 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15088
15105
  "onResize:start": v,
15089
15106
  onResize: h,
15090
15107
  "onResize:end": _
15091
- }, ze({ _: 2 }, [
15108
+ }, Qe({ _: 2 }, [
15092
15109
  P.$slots[`header.prepend:${l.value}`] ? {
15093
15110
  name: "header.prepend",
15094
- fn: H(() => [
15111
+ fn: W(() => [
15095
15112
  q(P.$slots, `header.prepend:${l.value}`)
15096
15113
  ]),
15097
15114
  key: "0"
15098
15115
  } : void 0,
15099
15116
  P.$slots[`header:${l.value}`] ? {
15100
15117
  name: "header",
15101
- fn: H(() => [
15118
+ fn: W(() => [
15102
15119
  q(P.$slots, `header:${l.value}`)
15103
15120
  ]),
15104
15121
  key: "1"
15105
15122
  } : void 0,
15106
15123
  P.$slots[`header.append:${l.value}`] ? {
15107
15124
  name: "header.append",
15108
- fn: H(() => [
15125
+ fn: W(() => [
15109
15126
  q(P.$slots, `header.append:${l.value}`)
15110
15127
  ]),
15111
15128
  key: "2"
15112
15129
  } : void 0,
15113
15130
  P.$slots[`content:${l.value}`] ? {
15114
15131
  name: "content",
15115
- fn: H(() => [
15132
+ fn: W(() => [
15116
15133
  q(P.$slots, `content:${l.value}`)
15117
15134
  ]),
15118
15135
  key: "3"
15119
15136
  } : void 0,
15120
15137
  P.$slots[`footer:${l.value}`] ? {
15121
15138
  name: "footer",
15122
- fn: H(() => [
15139
+ fn: W(() => [
15123
15140
  q(P.$slots, `footer:${l.value}`)
15124
15141
  ]),
15125
15142
  key: "4"
@@ -15189,14 +15206,14 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15189
15206
  for: u(l),
15190
15207
  required: e.required
15191
15208
  }, {
15192
- default: H(() => [
15209
+ default: W(() => [
15193
15210
  et($e(e.label), 1)
15194
15211
  ]),
15195
15212
  _: 1
15196
15213
  }, 8, ["for", "required"])) : R("", !0),
15197
15214
  ee("div", {
15198
15215
  class: ie(o.value),
15199
- style: Ye(i.value)
15216
+ style: ze(i.value)
15200
15217
  }, [
15201
15218
  Ft(ee("input", De({
15202
15219
  id: u(l),
@@ -15272,14 +15289,14 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15272
15289
  readonly: e.readonly,
15273
15290
  disabled: e.disabled,
15274
15291
  required: e.required
15275
- }, ze({
15276
- "label.prepend": H(() => [
15292
+ }, Qe({
15293
+ "label.prepend": W(() => [
15277
15294
  q(c.$slots, "label.prepend")
15278
15295
  ]),
15279
- "label.append": H(() => [
15296
+ "label.append": W(() => [
15280
15297
  q(c.$slots, "label.append")
15281
15298
  ]),
15282
- default: H(() => [
15299
+ default: W(() => [
15283
15300
  Ft(ee("textarea", De({
15284
15301
  id: u(l),
15285
15302
  ref_key: "textareaRef",
@@ -15303,21 +15320,21 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15303
15320
  }, [
15304
15321
  c.$slots.prepend ? {
15305
15322
  name: "prepend",
15306
- fn: H(() => [
15323
+ fn: W(() => [
15307
15324
  q(c.$slots, "prepend")
15308
15325
  ]),
15309
15326
  key: "0"
15310
15327
  } : void 0,
15311
15328
  c.$slots.append ? {
15312
15329
  name: "append",
15313
- fn: H(() => [
15330
+ fn: W(() => [
15314
15331
  q(c.$slots, "append")
15315
15332
  ]),
15316
15333
  key: "1"
15317
15334
  } : void 0,
15318
15335
  c.$slots.extras ? {
15319
15336
  name: "extras",
15320
- fn: H(() => [
15337
+ fn: W(() => [
15321
15338
  q(c.$slots, "extras")
15322
15339
  ]),
15323
15340
  key: "2"
@@ -15419,21 +15436,21 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15419
15436
  elevation: a.elevation,
15420
15437
  width: a.block ? "block" : void 0,
15421
15438
  class: ie(o.value),
15422
- style: Ye(c.value)
15423
- }, ze({
15424
- default: H(() => [
15439
+ style: ze(c.value)
15440
+ }, Qe({
15441
+ default: W(() => [
15425
15442
  ye(u(_l), {
15426
15443
  fluid: "",
15427
15444
  class: "q-toast__body"
15428
15445
  }, {
15429
- default: H(() => [
15446
+ default: W(() => [
15430
15447
  ye(u(kl), {
15431
15448
  align: "center",
15432
15449
  justify: "between"
15433
15450
  }, {
15434
- default: H(() => [
15451
+ default: W(() => [
15435
15452
  ye(u(Va), null, {
15436
- default: H(() => [
15453
+ default: W(() => [
15437
15454
  q(k.$slots, "default", {}, () => [
15438
15455
  ee("span", null, $e(a.text), 1)
15439
15456
  ])
@@ -15444,7 +15461,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15444
15461
  key: 0,
15445
15462
  cols: "auto"
15446
15463
  }, {
15447
- default: H(() => [
15464
+ default: W(() => [
15448
15465
  q(k.$slots, "dismiss", {}, () => [
15449
15466
  ye(u(mt), {
15450
15467
  class: "q-toast__dismiss",
@@ -15452,8 +15469,8 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15452
15469
  color: a.color,
15453
15470
  onClick: v
15454
15471
  }, {
15455
- default: H(() => [
15456
- ye(u(We), Re(He(a.icons.close)), null, 16)
15472
+ default: W(() => [
15473
+ ye(u(He), Ee(Ye(a.icons.close)), null, 16)
15457
15474
  ]),
15458
15475
  _: 1
15459
15476
  }, 8, ["variant", "color"])
@@ -15472,16 +15489,16 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15472
15489
  }, [
15473
15490
  a.title ? {
15474
15491
  name: "header",
15475
- fn: H(() => [
15492
+ fn: W(() => [
15476
15493
  ye(u(_l), { fluid: "" }, {
15477
- default: H(() => [
15494
+ default: W(() => [
15478
15495
  ye(u(kl), {
15479
15496
  align: "center",
15480
15497
  justify: "between"
15481
15498
  }, {
15482
- default: H(() => [
15499
+ default: W(() => [
15483
15500
  ye(u(Va), null, {
15484
- default: H(() => [
15501
+ default: W(() => [
15485
15502
  ee("div", Og, [
15486
15503
  k.$slots["title.prepend"] ? q(k.$slots, "title.prepend", { key: 0 }) : R("", !0),
15487
15504
  ee("h4", null, $e(a.title), 1),
@@ -15491,7 +15508,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15491
15508
  _: 3
15492
15509
  }),
15493
15510
  ye(u(Va), { cols: "auto" }, {
15494
- default: H(() => [
15511
+ default: W(() => [
15495
15512
  q(k.$slots, "dismiss", {}, () => [
15496
15513
  ye(u(mt), {
15497
15514
  class: "q-toast__dismiss",
@@ -15499,8 +15516,8 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15499
15516
  color: a.color,
15500
15517
  onClick: v
15501
15518
  }, {
15502
- default: H(() => [
15503
- ye(u(We), Re(He(a.icons.close)), null, 16)
15519
+ default: W(() => [
15520
+ ye(u(He), Ee(Ye(a.icons.close)), null, 16)
15504
15521
  ]),
15505
15522
  _: 1
15506
15523
  }, 8, ["variant", "color"])
@@ -15540,7 +15557,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15540
15557
  class: ie(["q-toaster", e.class]),
15541
15558
  "data-placement": e.placement
15542
15559
  }, {
15543
- default: H(() => [
15560
+ default: W(() => [
15544
15561
  (m(!0), w(we, null, Ve(l.value, (o) => (m(), w("div", {
15545
15562
  key: o.id,
15546
15563
  class: "q-toast__container"
@@ -15588,7 +15605,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15588
15605
  block: e.block,
15589
15606
  elevated: e.elevated
15590
15607
  }, {
15591
- default: H(() => [
15608
+ default: W(() => [
15592
15609
  q(l.$slots, "default")
15593
15610
  ]),
15594
15611
  _: 3
@@ -15623,7 +15640,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15623
15640
  }, e, {
15624
15641
  "onUpdate:modelValue": u(n).toggle
15625
15642
  }), {
15626
- default: H(() => [
15643
+ default: W(() => [
15627
15644
  q(l.$slots, "default")
15628
15645
  ]),
15629
15646
  _: 3
@@ -15694,10 +15711,10 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15694
15711
  onEnter: r,
15695
15712
  onLeave: s
15696
15713
  }, {
15697
- default: H(() => [
15714
+ default: W(() => [
15698
15715
  ee("div", Yg, [
15699
15716
  q(c.$slots, "default", {}, () => [
15700
- e.icon ? (m(), se(u(We), Re(De({ key: 0 }, e.icon)), null, 16)) : R("", !0),
15717
+ e.icon ? (m(), se(u(He), Ee(De({ key: 0 }, e.icon)), null, 16)) : R("", !0),
15701
15718
  e.html ? (m(), w("span", {
15702
15719
  key: 1,
15703
15720
  innerHTML: e.text
@@ -15739,7 +15756,7 @@ const ay = /* @__PURE__ */ Zh(Jh, [["render", ty]]), Va = _e(Xh), _l = _e(Kh), k
15739
15756
  QField: ma,
15740
15757
  QFileUpload: jh,
15741
15758
  QFocusTrap: hs,
15742
- QIcon: We,
15759
+ QIcon: He,
15743
15760
  QIconFont: es,
15744
15761
  QIconImg: ts,
15745
15762
  QIconSvg: as,