@varlet/ui 2.18.0-alpha.1697608760113 → 2.18.1

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/es/varlet.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { reactive as je, onMounted as Oo, nextTick as Ye, onActivated as gt, isRef as em, watch as ce, onBeforeUnmount as $r, onDeactivated as Kt, onUnmounted as To, inject as nm, getCurrentInstance as Zt, computed as M, ref as C, unref as ao, provide as tm, isVNode as om, Comment as rm, Fragment as Ne, createApp as am, h as Pd, onBeforeMount as im, defineComponent as x, createVNode as Z, Teleport as jn, Transition as We, withDirectives as Te, vShow as Un, mergeProps as ze, openBlock as p, createBlock as $e, resolveDynamicComponent as Jt, normalizeClass as v, normalizeStyle as F, resolveComponent as ae, resolveDirective as Ve, withCtx as me, createElementVNode as B, renderSlot as R, toDisplayString as ie, createElementBlock as S, renderList as Ge, createCommentVNode as Q, onUpdated as Eo, createTextVNode as Ie, pushScopeId as bt, popScopeId as yt, withModifiers as Cn, normalizeProps as st, guardReactiveProps as Io, vModelText as lm, createSlots as rr, withKeys as ds, TransitionGroup as sm } from "vue";
1
+ import { reactive as je, onMounted as Oo, nextTick as Ye, onActivated as gt, isRef as em, watch as ce, onBeforeUnmount as $r, onDeactivated as Kt, onUnmounted as To, inject as nm, getCurrentInstance as Zt, computed as M, ref as C, unref as ao, provide as tm, isVNode as om, Comment as rm, Fragment as Ne, createApp as am, h as Pd, onBeforeMount as im, defineComponent as x, createVNode as Z, Teleport as jn, Transition as We, withDirectives as Te, vShow as Un, mergeProps as ze, openBlock as p, createBlock as $e, resolveDynamicComponent as Jt, normalizeClass as v, normalizeStyle as F, resolveComponent as ie, resolveDirective as Ve, withCtx as me, createElementVNode as B, renderSlot as R, toDisplayString as ae, createElementBlock as S, renderList as Ge, createCommentVNode as Q, onUpdated as Eo, createTextVNode as Ie, pushScopeId as bt, popScopeId as yt, withModifiers as Cn, normalizeProps as st, guardReactiveProps as Io, vModelText as lm, createSlots as rr, withKeys as ds, TransitionGroup as sm } from "vue";
2
2
  const Od = {
3
3
  locks: {},
4
4
  zIndex: 2e3,
@@ -11,7 +11,7 @@ var wn = je(Od), um = Object.defineProperty, dm = Object.defineProperties, cm =
11
11
  for (var t of cs(n))
12
12
  vm.call(n, t) && fs(e, t, n[t]);
13
13
  return e;
14
- }, hm = (e, n) => dm(e, cm(n)), en = (e) => typeof e == "string", gi = (e) => typeof e == "boolean", mn = (e) => typeof e == "number", co = (e) => Object.prototype.toString.call(e) === "[object Object]", pm = (e) => typeof e == "object" && e !== null, Qt = (e) => typeof e == "function", Ae = (e) => Array.isArray(e), gm = (e) => e ? /^(http)|(\.*\/)/.test(e) : !1, Rn = (e) => e == null || e === "" || Array.isArray(e) && !e.length, bi = (e) => e === window, bm = () => Jn() && "ontouchstart" in window, Jn = () => typeof window < "u", vs = (e) => [...new Set(e)], Qo = (e) => Ae(e) ? e : [e], ar = (e, n) => {
14
+ }, hm = (e, n) => dm(e, cm(n)), nn = (e) => typeof e == "string", gi = (e) => typeof e == "boolean", mn = (e) => typeof e == "number", co = (e) => Object.prototype.toString.call(e) === "[object Object]", pm = (e) => typeof e == "object" && e !== null, Qt = (e) => typeof e == "function", Ae = (e) => Array.isArray(e), gm = (e) => e ? /^(http)|(\.*\/)/.test(e) : !1, Rn = (e) => e == null || e === "" || Array.isArray(e) && !e.length, bi = (e) => e === window, bm = () => Jn() && "ontouchstart" in window, Jn = () => typeof window < "u", vs = (e) => [...new Set(e)], Qo = (e) => Ae(e) ? e : [e], ar = (e, n) => {
15
15
  if (e.length) {
16
16
  const t = e.indexOf(n);
17
17
  if (t > -1)
@@ -37,7 +37,7 @@ var wn = je(Od), um = Object.defineProperty, dm = Object.defineProperties, cm =
37
37
  fo(() => {
38
38
  fo(e);
39
39
  });
40
- }), Tt = (e) => window.getComputedStyle(e), xe = (e) => {
40
+ }), Tt = (e) => window.getComputedStyle(e), en = (e) => {
41
41
  if (bi(e)) {
42
42
  const n = e.innerWidth, t = e.innerHeight, o = {
43
43
  x: 0,
@@ -55,7 +55,7 @@ var wn = je(Od), um = Object.defineProperty, dm = Object.defineProperties, cm =
55
55
  }
56
56
  return e.getBoundingClientRect();
57
57
  }, $m = (e) => {
58
- const { top: n, bottom: t, left: o, right: r } = xe(e), { width: a, height: i } = xe(window), l = o <= a && r >= 0, s = n <= i && t >= 0;
58
+ const { top: n, bottom: t, left: o, right: r } = en(e), { width: a, height: i } = en(window), l = o <= a && r >= 0, s = n <= i && t >= 0;
59
59
  return l && s;
60
60
  }, wm = (e) => new Promise((n) => {
61
61
  const t = new FileReader();
@@ -78,7 +78,7 @@ var wn = je(Od), um = Object.defineProperty, dm = Object.defineProperties, cm =
78
78
  r.apply(this, a);
79
79
  }, n - l);
80
80
  };
81
- }, z = (e) => e == null ? 0 : en(e) ? (e = parseFloat(e), e = Number.isNaN(e) ? 0 : e, e) : gi(e) ? Number(e) : e, ct = (e, n, t) => Math.min(t, Math.max(n, e)), Cm = (e, n) => ct(e, 0, n.length - 1), Sm = (e) => wi(e).replace(e.charAt(0), e.charAt(0).toUpperCase()), wi = (e) => e.replace(/-(\w)/g, (n, t) => t.toUpperCase()), Ed = (e) => e.replace(/([A-Z])/g, " $1").trim().split(" ").join("-").toLowerCase(), km = Object.defineProperty, ir = Object.getOwnPropertySymbols, Id = Object.prototype.hasOwnProperty, Bd = Object.prototype.propertyIsEnumerable, hs = (e, n, t) => n in e ? km(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, Pm = (e, n) => {
81
+ }, L = (e) => e == null ? 0 : nn(e) ? (e = parseFloat(e), e = Number.isNaN(e) ? 0 : e, e) : gi(e) ? Number(e) : e, ct = (e, n, t) => Math.min(t, Math.max(n, e)), Cm = (e, n) => ct(e, 0, n.length - 1), Sm = (e) => wi(e).replace(e.charAt(0), e.charAt(0).toUpperCase()), wi = (e) => e.replace(/-(\w)/g, (n, t) => t.toUpperCase()), Ed = (e) => e.replace(/([A-Z])/g, " $1").trim().split(" ").join("-").toLowerCase(), km = Object.defineProperty, ir = Object.getOwnPropertySymbols, Id = Object.prototype.hasOwnProperty, Bd = Object.prototype.propertyIsEnumerable, hs = (e, n, t) => n in e ? km(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, Pm = (e, n) => {
82
82
  for (var t in n || (n = {}))
83
83
  Id.call(n, t) && hs(e, t, n[t]);
84
84
  if (ir)
@@ -277,8 +277,8 @@ function xt() {
277
277
  },
278
278
  isReachTop: (I) => Ht(I) === 0 && o.value > 0,
279
279
  isReachBottom: (I, k = 1) => {
280
- const { scrollHeight: D, clientHeight: O, scrollTop: N } = I, L = Math.abs(D - N - O);
281
- return o.value < 0 && L <= k;
280
+ const { scrollHeight: D, clientHeight: O, scrollTop: N } = I, z = Math.abs(D - N - O);
281
+ return o.value < 0 && z <= k;
282
282
  }
283
283
  };
284
284
  }
@@ -454,7 +454,7 @@ function jm(e) {
454
454
  e.style.overflow = "hidden", e.style.overflowX = "hidden", e.style.overflowY = "hidden", t === "static" && (e.style.position = "relative"), n === "auto" && (e.style.zIndex = "1");
455
455
  }
456
456
  function Wm(e, n) {
457
- const { top: t, left: o } = xe(e), { clientWidth: r, clientHeight: a } = e, i = Math.sqrt(r ** 2 + a ** 2) / 2, l = i * 2, s = n.touches[0].clientX - o, u = n.touches[0].clientY - t, d = (r - i * 2) / 2, c = (a - i * 2) / 2, f = s - i, m = u - i;
457
+ const { top: t, left: o } = en(e), { clientWidth: r, clientHeight: a } = e, i = Math.sqrt(r ** 2 + a ** 2) / 2, l = i * 2, s = n.touches[0].clientX - o, u = n.touches[0].clientY - t, d = (r - i * 2) / 2, c = (a - i * 2) / 2, f = s - i, m = u - i;
458
458
  return { x: f, y: m, centerX: d, centerY: c, size: l };
459
459
  }
460
460
  function zd(e) {
@@ -731,11 +731,11 @@ function Ps(e, n) {
731
731
  console.warn(`Varlet [${e}]: ${n}`);
732
732
  }
733
733
  function nh(e) {
734
- const { left: n } = xe(e);
734
+ const { left: n } = en(e);
735
735
  return n + (document.body.scrollLeft || document.documentElement.scrollLeft);
736
736
  }
737
737
  function Os(e) {
738
- const { top: n } = xe(e);
738
+ const { top: n } = en(e);
739
739
  return n + (document.body.scrollTop || document.documentElement.scrollTop);
740
740
  }
741
741
  function zr(e) {
@@ -759,7 +759,7 @@ function th(e) {
759
759
  return n;
760
760
  }
761
761
  function Fd(e, n) {
762
- if (en(e)) {
762
+ if (nn(e)) {
763
763
  const t = document.querySelector(e);
764
764
  return t || Sn(n, "target element cannot found"), t;
765
765
  }
@@ -768,7 +768,7 @@ function Fd(e, n) {
768
768
  Sn(n, 'type of prop "target" should be a selector or an element object');
769
769
  }
770
770
  function oh() {
771
- const { width: e, height: n } = xe(window);
771
+ const { width: e, height: n } = en(window);
772
772
  return {
773
773
  vw: e,
774
774
  vh: n,
@@ -776,7 +776,7 @@ function oh() {
776
776
  vMax: Math.max(e, n)
777
777
  };
778
778
  }
779
- const Yd = (e) => en(e) && e.endsWith("rem"), rh = (e) => en(e) && e.endsWith("em") && !e.endsWith("rem"), ah = (e) => en(e) && e.endsWith("px") || mn(e), ih = (e) => en(e) && e.endsWith("%"), jd = (e) => en(e) && e.endsWith("vw"), Wd = (e) => en(e) && e.endsWith("vh"), qd = (e) => en(e) && e.endsWith("vmin"), Gd = (e) => en(e) && e.endsWith("vmax"), lh = (e) => en(e) && e.startsWith("calc("), sh = (e) => en(e) && e.startsWith("var("), Fe = (e) => {
779
+ const Yd = (e) => nn(e) && e.endsWith("rem"), rh = (e) => nn(e) && e.endsWith("em") && !e.endsWith("rem"), ah = (e) => nn(e) && e.endsWith("px") || mn(e), ih = (e) => nn(e) && e.endsWith("%"), jd = (e) => nn(e) && e.endsWith("vw"), Wd = (e) => nn(e) && e.endsWith("vh"), qd = (e) => nn(e) && e.endsWith("vmin"), Gd = (e) => nn(e) && e.endsWith("vmax"), lh = (e) => nn(e) && e.startsWith("calc("), sh = (e) => nn(e) && e.startsWith("var("), Fe = (e) => {
780
780
  if (mn(e))
781
781
  return e;
782
782
  if (ah(e))
@@ -796,7 +796,7 @@ const Yd = (e) => en(e) && e.endsWith("rem"), rh = (e) => en(e) && e.endsWith("e
796
796
  const a = +e.replace("rem", ""), i = Tt(document.documentElement).fontSize;
797
797
  return a * parseFloat(i);
798
798
  }
799
- return en(e) ? z(e) : 0;
799
+ return nn(e) ? L(e) : 0;
800
800
  }, Se = (e) => {
801
801
  if (e != null)
802
802
  return ih(e) || jd(e) || Wd(e) || rh(e) || Yd(e) || lh(e) || sh(e) || qd(e) || Gd(e) ? e : `${Fe(e)}px`;
@@ -877,13 +877,13 @@ const Kd = x({
877
877
  function o(r, a) {
878
878
  return uh(this, null, function* () {
879
879
  const { transition: i } = e;
880
- if (a == null || z(i) === 0) {
880
+ if (a == null || L(i) === 0) {
881
881
  n.value = r;
882
882
  return;
883
883
  }
884
884
  t.value = !0, yield Ye(), setTimeout(() => {
885
885
  a != null && (n.value = r), t.value = !1;
886
- }, z(i));
886
+ }, L(i));
887
887
  });
888
888
  }
889
889
  return {
@@ -892,7 +892,7 @@ const Kd = x({
892
892
  n: ch,
893
893
  classes: fh,
894
894
  isURL: gm,
895
- toNumber: z,
895
+ toNumber: L,
896
896
  toSizeUnit: Se
897
897
  };
898
898
  }
@@ -1035,10 +1035,13 @@ var ki = {
1035
1035
  }
1036
1036
  },
1037
1037
  datePickerSelected: "个被选择",
1038
+ datePickerHint: "选择日期",
1038
1039
  // pagination
1039
1040
  paginationItem: "条",
1040
1041
  paginationPage: "页",
1041
- paginationJump: "前往"
1042
+ paginationJump: "前往",
1043
+ // time-picker
1044
+ timePickerHint: "选择时间"
1042
1045
  }, Zd = {
1043
1046
  // Dialog
1044
1047
  dialogTitle: "Hint",
@@ -1136,10 +1139,13 @@ var ki = {
1136
1139
  }
1137
1140
  },
1138
1141
  datePickerSelected: " selected",
1142
+ datePickerHint: "SELECT DATE",
1139
1143
  // pagination
1140
1144
  paginationItem: "",
1141
1145
  paginationPage: "page",
1142
- paginationJump: "Go to"
1146
+ paginationJump: "Go to",
1147
+ // time-picker
1148
+ timePickerHint: "SELECT TIME"
1143
1149
  }, Jd = {
1144
1150
  // Dialog
1145
1151
  dialogTitle: "提示",
@@ -1271,17 +1277,17 @@ function Pi() {
1271
1277
  }
1272
1278
  };
1273
1279
  }
1274
- const { packs: Qd, pack: nn, add: Oi, use: Ti, merge: _d } = Pi();
1280
+ const { packs: Qd, pack: Qe, add: Oi, use: Ti, merge: _d } = Pi();
1275
1281
  Oi("zh-CN", ki);
1276
1282
  Ti("zh-CN");
1277
- const ME = { zhCN: ki, enUS: Zd, packs: Qd, pack: nn, add: Oi, use: Ti, merge: _d, useLocale: Pi };
1283
+ const ME = { zhCN: ki, enUS: Zd, packs: Qd, pack: Qe, add: Oi, use: Ti, merge: _d, useLocale: Pi };
1278
1284
  var Kr = {
1279
1285
  zhCN: ki,
1280
1286
  enUS: Zd,
1281
1287
  zhTW: Jd,
1282
1288
  zhHK: yh,
1283
1289
  packs: Qd,
1284
- pack: nn,
1290
+ pack: Qe,
1285
1291
  add: Oi,
1286
1292
  use: Ti,
1287
1293
  merge: _d,
@@ -1289,7 +1295,7 @@ var Kr = {
1289
1295
  };
1290
1296
  const { name: Sh, n: kh, classes: Ph } = ee("action-sheet"), Oh = ["onClick"];
1291
1297
  function Th(e, n) {
1292
- const t = ae("var-icon"), o = ae("var-popup"), r = Ve("ripple");
1298
+ const t = ie("var-icon"), o = ie("var-popup"), r = Ve("ripple");
1293
1299
  return p(), $e(o, ze({
1294
1300
  class: e.n("popup-radius"),
1295
1301
  position: "bottom",
@@ -1325,7 +1331,7 @@ function Th(e, n) {
1325
1331
  {
1326
1332
  class: v(e.n("title"))
1327
1333
  },
1328
- ie((a = e.title) != null ? a : e.pack.actionSheetTitle),
1334
+ ae((a = e.title) != null ? a : e.pack.actionSheetTitle),
1329
1335
  3
1330
1336
  /* TEXT, CLASS */
1331
1337
  )
@@ -1354,7 +1360,7 @@ function Th(e, n) {
1354
1360
  {
1355
1361
  class: v(e.n("action-name"))
1356
1362
  },
1357
- ie(a.name),
1363
+ ae(a.name),
1358
1364
  3
1359
1365
  /* TEXT, CLASS */
1360
1366
  )
@@ -1403,7 +1409,7 @@ const xd = x({
1403
1409
  }
1404
1410
  return {
1405
1411
  popupShow: n,
1406
- pack: nn,
1412
+ pack: Qe,
1407
1413
  n: kh,
1408
1414
  classes: Ph,
1409
1415
  handlePopupUpdateShow: o,
@@ -1524,7 +1530,7 @@ function zh(e, n) {
1524
1530
  [
1525
1531
  R(e.$slots, "default", {}, () => [
1526
1532
  Ie(
1527
- ie(e.title),
1533
+ ae(e.title),
1528
1534
  1
1529
1535
  /* TEXT */
1530
1536
  )
@@ -1546,7 +1552,7 @@ function zh(e, n) {
1546
1552
  [
1547
1553
  R(e.$slots, "default", {}, () => [
1548
1554
  Ie(
1549
- ie(e.title),
1555
+ ae(e.title),
1550
1556
  1
1551
1557
  /* TEXT */
1552
1558
  )
@@ -1571,7 +1577,7 @@ function zh(e, n) {
1571
1577
  [
1572
1578
  R(e.$slots, "default", {}, () => [
1573
1579
  Ie(
1574
- ie(e.title),
1580
+ ae(e.title),
1575
1581
  1
1576
1582
  /* TEXT */
1577
1583
  )
@@ -1629,7 +1635,7 @@ var Ii = ec;
1629
1635
  re(Ii);
1630
1636
  const NE = Ii;
1631
1637
  var Jr = Ii;
1632
- const As = (e) => en(e) ? e.startsWith("data:image") || /\.(png|jpg|gif|jpeg|svg|webp|ico)$/i.test(e) : !1, zs = (e) => en(e) ? e.startsWith("data:video") || /\.(mp4|webm|ogg)$/.test(e) : !1, Lh = (e) => {
1638
+ const As = (e) => nn(e) ? e.startsWith("data:image") || /\.(png|jpg|gif|jpeg|svg|webp|ico)$/i.test(e) : !1, zs = (e) => nn(e) ? e.startsWith("data:video") || /\.(mp4|webm|ogg)$/.test(e) : !1, Lh = (e) => {
1633
1639
  const n = [];
1634
1640
  return {
1635
1641
  cache: n,
@@ -1675,14 +1681,14 @@ var Rh = Object.defineProperty, Rs = Object.getOwnPropertySymbols, Uh = Object.p
1675
1681
  }, l = (s) => s.done ? o(s.value) : Promise.resolve(s.value).then(a, i);
1676
1682
  l((t = t.apply(e, n)).next());
1677
1683
  });
1678
- const Yh = "background-image", jh = "lazy-loading", Wh = "lazy-error", Hs = "lazy-attempt", qh = ["scroll", "wheel", "mousewheel", "resize", "animationend", "transitionend", "touchmove"], _r = "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==", Ft = [], sr = [], tc = Lh(100), Qe = {
1684
+ const Yh = "background-image", jh = "lazy-loading", Wh = "lazy-error", Hs = "lazy-attempt", qh = ["scroll", "wheel", "mousewheel", "resize", "animationend", "transitionend", "touchmove"], _r = "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==", Ft = [], sr = [], tc = Lh(100), _e = {
1679
1685
  loading: _r,
1680
1686
  error: _r,
1681
1687
  attempt: 3,
1682
1688
  throttleWait: 300,
1683
1689
  events: qh
1684
1690
  };
1685
- let Bi = $i(Vo, Qe.throttleWait);
1691
+ let Bi = $i(Vo, _e.throttleWait);
1686
1692
  function Sr(e, n) {
1687
1693
  e._lazy.arg === Yh ? e.style.backgroundImage = `url(${n})` : e.setAttribute("src", n);
1688
1694
  }
@@ -1697,14 +1703,14 @@ function oc(e, n) {
1697
1703
  }
1698
1704
  function Kh(e) {
1699
1705
  var n;
1700
- sr.includes(e) || (sr.push(e), (n = Qe.events) == null || n.forEach((t) => {
1706
+ sr.includes(e) || (sr.push(e), (n = _e.events) == null || n.forEach((t) => {
1701
1707
  e.addEventListener(t, Bi, { passive: !0 });
1702
1708
  }));
1703
1709
  }
1704
1710
  function Zh() {
1705
1711
  sr.forEach((e) => {
1706
1712
  var n;
1707
- (n = Qe.events) == null || n.forEach((t) => {
1713
+ (n = _e.events) == null || n.forEach((t) => {
1708
1714
  e.removeEventListener(t, Bi);
1709
1715
  });
1710
1716
  }), sr.length = 0;
@@ -1712,9 +1718,9 @@ function Zh() {
1712
1718
  function Jh(e, n) {
1713
1719
  var t, o;
1714
1720
  const r = {
1715
- loading: (t = e.getAttribute(jh)) != null ? t : Qe.loading,
1716
- error: (o = e.getAttribute(Wh)) != null ? o : Qe.error,
1717
- attempt: e.getAttribute(Hs) ? Number(e.getAttribute(Hs)) : Qe.attempt
1721
+ loading: (t = e.getAttribute(jh)) != null ? t : _e.loading,
1722
+ error: (o = e.getAttribute(Wh)) != null ? o : _e.error,
1723
+ attempt: e.getAttribute(Hs) ? Number(e.getAttribute(Hs)) : _e.attempt
1718
1724
  };
1719
1725
  e._lazy = Fh({
1720
1726
  src: n.value,
@@ -1722,7 +1728,7 @@ function Jh(e, n) {
1722
1728
  currentAttempt: 0,
1723
1729
  state: "pending",
1724
1730
  attemptLock: !1
1725
- }, r), Sr(e, _r), y(Qe.filter, e._lazy);
1731
+ }, r), Sr(e, _r), y(_e.filter, e._lazy);
1726
1732
  }
1727
1733
  function Qh(e, n) {
1728
1734
  const t = new Image();
@@ -1779,14 +1785,14 @@ function ep(e, n) {
1779
1785
  }
1780
1786
  function np(e = {}) {
1781
1787
  const { events: n, loading: t, error: o, attempt: r, throttleWait: a, filter: i } = e;
1782
- Qe.events = n ?? Qe.events, Qe.loading = t ?? Qe.loading, Qe.error = o ?? Qe.error, Qe.attempt = r ?? Qe.attempt, Qe.throttleWait = a ?? Qe.throttleWait, Qe.filter = i;
1788
+ _e.events = n ?? _e.events, _e.loading = t ?? _e.loading, _e.error = o ?? _e.error, _e.attempt = r ?? _e.attempt, _e.throttleWait = a ?? _e.throttleWait, _e.filter = i;
1783
1789
  }
1784
1790
  const ic = {
1785
1791
  mounted: ac,
1786
1792
  unmounted: Di,
1787
1793
  updated: ep,
1788
1794
  install(e, n) {
1789
- np(n), Bi = $i(Vo, Qe.throttleWait), e.directive("lazy", this);
1795
+ np(n), Bi = $i(Vo, _e.throttleWait), e.directive("lazy", this);
1790
1796
  }
1791
1797
  }, VE = ic;
1792
1798
  var mo = ic;
@@ -2110,7 +2116,7 @@ function wp(e, n) {
2110
2116
  [
2111
2117
  R(e.$slots, "description", {}, () => [
2112
2118
  Ie(
2113
- ie(e.description),
2119
+ ae(e.description),
2114
2120
  1
2115
2121
  /* TEXT */
2116
2122
  )
@@ -2329,7 +2335,7 @@ function Yp() {
2329
2335
  }
2330
2336
  const { name: jp, n: Wp, classes: qp } = ee("button"), Gp = ["type", "disabled"];
2331
2337
  function Xp(e, n) {
2332
- const t = ae("var-loading"), o = ae("var-hover-overlay"), r = Ve("ripple"), a = Ve("hover");
2338
+ const t = ie("var-loading"), o = ie("var-hover-overlay"), r = Ve("ripple"), a = Ve("hover");
2333
2339
  return Te((p(), S("button", {
2334
2340
  class: v(
2335
2341
  e.classes(
@@ -2463,7 +2469,7 @@ const Kp = {
2463
2469
  onClick: A()
2464
2470
  }, { name: Zp, n: Jp, classes: Qp } = ee("back-top");
2465
2471
  function _p(e, n) {
2466
- const t = ae("var-icon"), o = ae("var-button");
2472
+ const t = ie("var-icon"), o = ie("var-button");
2467
2473
  return p(), $e(jn, {
2468
2474
  to: "body",
2469
2475
  disabled: e.disabled
@@ -2573,7 +2579,7 @@ const xp = {
2573
2579
  color: String
2574
2580
  }, { name: eg, n: ng, classes: tg } = ee("badge");
2575
2581
  function og(e, n) {
2576
- const t = ae("var-icon");
2582
+ const t = ie("var-icon");
2577
2583
  return p(), S(
2578
2584
  "div",
2579
2585
  {
@@ -2613,7 +2619,7 @@ function og(e, n) {
2613
2619
  key: 0,
2614
2620
  class: v(e.n("value"))
2615
2621
  },
2616
- ie(e.value),
2622
+ ae(e.value),
2617
2623
  3
2618
2624
  /* TEXT, CLASS */
2619
2625
  )) : Q("v-if", !0)
@@ -2642,7 +2648,7 @@ const wc = x({
2642
2648
  return {
2643
2649
  value: M(() => {
2644
2650
  const { value: t, maxValue: o } = e;
2645
- return t != null && o != null && z(t) > z(o) ? `${o}+` : t;
2651
+ return t != null && o != null && L(t) > L(o) ? `${o}+` : t;
2646
2652
  }),
2647
2653
  n: ng,
2648
2654
  classes: tg
@@ -2698,7 +2704,7 @@ const { name: ug, n: dg, classes: cg } = ee("bottom-navigation"), { n: kr } = ee
2698
2704
  type: "primary"
2699
2705
  };
2700
2706
  function vg(e, n) {
2701
- const t = ae("var-button");
2707
+ const t = ie("var-button");
2702
2708
  return p(), S(
2703
2709
  "div",
2704
2710
  {
@@ -2778,13 +2784,13 @@ const Sc = x({
2778
2784
  }
2779
2785
  function T(k) {
2780
2786
  const D = P(), O = D.length, N = k % 2 === 0;
2781
- D.forEach((L, U) => {
2782
- $(N, L, U, O);
2787
+ D.forEach((z, U) => {
2788
+ $(N, z, U, O);
2783
2789
  });
2784
2790
  }
2785
2791
  function $(k, D, O, N) {
2786
- const L = O === N - 1;
2787
- if (!k && L) {
2792
+ const z = O === N - 1;
2793
+ if (!k && z) {
2788
2794
  D.classList.add(Ks);
2789
2795
  return;
2790
2796
  }
@@ -2838,7 +2844,7 @@ const { name: pg, n: gg, classes: bg } = ee("bottom-navigation-item"), yg = {
2838
2844
  dot: !0
2839
2845
  };
2840
2846
  function $g(e, n) {
2841
- const t = ae("var-icon"), o = ae("var-badge"), r = Ve("ripple");
2847
+ const t = ie("var-icon"), o = ie("var-badge"), r = Ve("ripple");
2842
2848
  return Te((p(), S(
2843
2849
  "button",
2844
2850
  {
@@ -2874,7 +2880,7 @@ function $g(e, n) {
2874
2880
  { key: 0 },
2875
2881
  [
2876
2882
  Ie(
2877
- ie(e.label),
2883
+ ae(e.label),
2878
2884
  1
2879
2885
  /* TEXT */
2880
2886
  )
@@ -2991,7 +2997,7 @@ function Tg(e, n) {
2991
2997
  {
2992
2998
  class: v(e.n("separator"))
2993
2999
  },
2994
- ie((t = e.separator) != null ? t : e.parentSeparator),
3000
+ ae((t = e.separator) != null ? t : e.parentSeparator),
2995
3001
  3
2996
3002
  /* TEXT, CLASS */
2997
3003
  )
@@ -3174,7 +3180,7 @@ var Zs = (e, n, t) => new Promise((o, r) => {
3174
3180
  });
3175
3181
  const { name: Rg, n: Ug, classes: Hg } = ee("card"), Fg = 500, Yg = ["src", "alt"];
3176
3182
  function jg(e, n) {
3177
- const t = ae("var-icon"), o = ae("var-button"), r = Ve("ripple");
3183
+ const t = ie("var-icon"), o = ie("var-button"), r = Ve("ripple");
3178
3184
  return Te((p(), S(
3179
3185
  "div",
3180
3186
  {
@@ -3228,7 +3234,7 @@ function jg(e, n) {
3228
3234
  key: 0,
3229
3235
  class: v(e.n("title"))
3230
3236
  },
3231
- ie(e.title),
3237
+ ae(e.title),
3232
3238
  3
3233
3239
  /* TEXT, CLASS */
3234
3240
  )) : Q("v-if", !0)
@@ -3240,7 +3246,7 @@ function jg(e, n) {
3240
3246
  key: 0,
3241
3247
  class: v(e.n("subtitle"))
3242
3248
  },
3243
- ie(e.subtitle),
3249
+ ae(e.subtitle),
3244
3250
  3
3245
3251
  /* TEXT, CLASS */
3246
3252
  )) : Q("v-if", !0)
@@ -3252,7 +3258,7 @@ function jg(e, n) {
3252
3258
  key: 0,
3253
3259
  class: v(e.n("description"))
3254
3260
  },
3255
- ie(e.description),
3261
+ ae(e.description),
3256
3262
  3
3257
3263
  /* TEXT, CLASS */
3258
3264
  )) : Q("v-if", !0)
@@ -3376,8 +3382,8 @@ const Ic = x({
3376
3382
  return Zs(this, null, function* () {
3377
3383
  clearTimeout($.value), clearTimeout(T), $.value = null, $.value = setTimeout(
3378
3384
  () => Zs(this, null, function* () {
3379
- const { width: O, height: N, left: L, top: U } = xe(n.value);
3380
- o.value = Se(O), r.value = Se(N), a.value = o.value, i.value = r.value, l.value = Se(U), s.value = Se(L), u.value = "fixed", w = l.value, E = s.value, g.value = !0, yield fn(), l.value = "0", s.value = "0", a.value = "100vw", i.value = "100vh", c.value = "auto", f.value = "1", d.value = "auto", h.value = !0;
3385
+ const { width: O, height: N, left: z, top: U } = en(n.value);
3386
+ o.value = Se(O), r.value = Se(N), a.value = o.value, i.value = r.value, l.value = Se(U), s.value = Se(z), u.value = "fixed", w = l.value, E = s.value, g.value = !0, yield fn(), l.value = "0", s.value = "0", a.value = "100vw", i.value = "100vh", c.value = "auto", f.value = "1", d.value = "auto", h.value = !0;
3381
3387
  }),
3382
3388
  e.ripple ? Fg : 0
3383
3389
  );
@@ -3441,7 +3447,7 @@ const Wg = {
3441
3447
  onClick: A()
3442
3448
  }, { name: qg, n: Gg, classes: Xg } = ee("cell");
3443
3449
  function Kg(e, n) {
3444
- const t = ae("var-icon"), o = Ve("ripple");
3450
+ const t = ie("var-icon"), o = Ve("ripple");
3445
3451
  return Te((p(), S(
3446
3452
  "div",
3447
3453
  {
@@ -3480,7 +3486,7 @@ function Kg(e, n) {
3480
3486
  key: 0,
3481
3487
  class: v(e.classes(e.n("title"), e.titleClass))
3482
3488
  },
3483
- ie(e.title),
3489
+ ae(e.title),
3484
3490
  3
3485
3491
  /* TEXT, CLASS */
3486
3492
  )) : Q("v-if", !0)
@@ -3492,7 +3498,7 @@ function Kg(e, n) {
3492
3498
  key: 0,
3493
3499
  class: v(e.classes(e.n("description"), e.descriptionClass))
3494
3500
  },
3495
- ie(e.description),
3501
+ ae(e.description),
3496
3502
  3
3497
3503
  /* TEXT, CLASS */
3498
3504
  )) : Q("v-if", !0)
@@ -3582,7 +3588,7 @@ function e0(e, n) {
3582
3588
  e.errorMessage ? (p(), S(
3583
3589
  "div",
3584
3590
  _g,
3585
- ie(e.errorMessage),
3591
+ ae(e.errorMessage),
3586
3592
  1
3587
3593
  /* TEXT */
3588
3594
  )) : Q("v-if", !0)
@@ -3608,7 +3614,7 @@ function e0(e, n) {
3608
3614
  e.extraMessage ? (p(), S(
3609
3615
  "div",
3610
3616
  xg,
3611
- ie(e.extraMessage),
3617
+ ae(e.extraMessage),
3612
3618
  1
3613
3619
  /* TEXT */
3614
3620
  )) : Q("v-if", !0)
@@ -3722,7 +3728,7 @@ function c0() {
3722
3728
  }
3723
3729
  const { name: f0, n: v0, classes: m0 } = ee("checkbox");
3724
3730
  function h0(e, n) {
3725
- const t = ae("var-icon"), o = ae("var-hover-overlay"), r = ae("var-form-details"), a = Ve("hover"), i = Ve("ripple");
3731
+ const t = ie("var-icon"), o = ie("var-hover-overlay"), r = ie("var-form-details"), a = Ve("hover"), i = Ve("ripple");
3726
3732
  return p(), S(
3727
3733
  "div",
3728
3734
  {
@@ -3839,25 +3845,25 @@ const Vc = x({
3839
3845
  y(l, b), y(c, b);
3840
3846
  function w(O) {
3841
3847
  Ye(() => {
3842
- const { validateTrigger: N, rules: L, modelValue: U } = e;
3843
- m(N, O, L, U);
3848
+ const { validateTrigger: N, rules: z, modelValue: U } = e;
3849
+ m(N, O, z, U);
3844
3850
  });
3845
3851
  }
3846
3852
  function E(O) {
3847
- const { checkedValue: N, onChange: L } = e;
3848
- n.value = O, t.value = !1, y(L, n.value), w("onChange"), O === N ? i == null || i.onChecked(N) : i == null || i.onUnchecked(N);
3853
+ const { checkedValue: N, onChange: z } = e;
3854
+ n.value = O, t.value = !1, y(z, n.value), w("onChange"), O === N ? i == null || i.onChecked(N) : i == null || i.onUnchecked(N);
3849
3855
  }
3850
3856
  function T(O) {
3851
- const { disabled: N, readonly: L, checkedValue: U, uncheckedValue: te, onClick: G } = e;
3852
- if (d != null && d.disabled.value || N || (y(G, O), d != null && d.readonly.value || L))
3857
+ const { disabled: N, readonly: z, checkedValue: U, uncheckedValue: te, onClick: G } = e;
3858
+ if (d != null && d.disabled.value || N || (y(G, O), d != null && d.readonly.value || z))
3853
3859
  return;
3854
3860
  a.value = !0;
3855
3861
  const j = i ? i.checkedCount.value >= Number(i.max.value) : !1;
3856
3862
  !o.value && j || E(o.value ? te : U);
3857
3863
  }
3858
3864
  function $(O) {
3859
- const { checkedValue: N, uncheckedValue: L } = e;
3860
- n.value = O.includes(N) ? N : L;
3865
+ const { checkedValue: N, uncheckedValue: z } = e;
3866
+ n.value = O.includes(N) ? N : z;
3861
3867
  }
3862
3868
  function P() {
3863
3869
  a.value = !1;
@@ -3866,8 +3872,8 @@ const Vc = x({
3866
3872
  n.value = e.uncheckedValue, h();
3867
3873
  }
3868
3874
  function k(O) {
3869
- const { checkedValue: N, uncheckedValue: L } = e;
3870
- ![N, L].includes(O) && (O = o.value ? L : N), E(O);
3875
+ const { checkedValue: N, uncheckedValue: z } = e;
3876
+ ![N, z].includes(O) && (O = o.value ? z : N), E(O);
3871
3877
  }
3872
3878
  function D() {
3873
3879
  return g(e.rules, e.modelValue);
@@ -3916,7 +3922,7 @@ const p0 = {
3916
3922
  "onUpdate:modelValue": A()
3917
3923
  }, { name: g0, n: b0, classes: y0 } = ee("checkbox-group");
3918
3924
  function $0(e, n) {
3919
- const t = ae("var-form-details");
3925
+ const t = ie("var-form-details");
3920
3926
  return p(), S(
3921
3927
  "div",
3922
3928
  {
@@ -4035,11 +4041,13 @@ const w0 = {
4035
4041
  default: !0
4036
4042
  },
4037
4043
  block: Boolean,
4044
+ /** @deprecated Use closeable to instead. */
4038
4045
  closable: Boolean,
4046
+ closeable: Boolean,
4039
4047
  onClose: A()
4040
4048
  }, { name: C0, n: Qn, classes: S0 } = ee("chip");
4041
4049
  function k0(e, n) {
4042
- const t = ae("var-icon");
4050
+ const t = ie("var-icon");
4043
4051
  return p(), $e(We, {
4044
4052
  name: e.n("$-fade")
4045
4053
  }, {
@@ -4064,7 +4072,7 @@ function k0(e, n) {
4064
4072
  /* CLASS */
4065
4073
  ),
4066
4074
  R(e.$slots, "right"),
4067
- e.closable ? (p(), S(
4075
+ e.closeable || e.closable ? (p(), S(
4068
4076
  "span",
4069
4077
  {
4070
4078
  key: 0,
@@ -4205,7 +4213,7 @@ const Rc = x({
4205
4213
  name: E0,
4206
4214
  props: P0,
4207
4215
  setup(e) {
4208
- const n = M(() => z(e.span)), t = M(() => z(e.offset)), o = C({ left: 0, right: 0, top: 0, bottom: 0 }), { row: r, bindRow: a } = T0(), i = {
4216
+ const n = M(() => L(e.span)), t = M(() => L(e.offset)), o = C({ left: 0, right: 0, top: 0, bottom: 0 }), { row: r, bindRow: a } = T0(), i = {
4209
4217
  setPadding(u) {
4210
4218
  o.value = u;
4211
4219
  }
@@ -4233,7 +4241,7 @@ const Rc = x({
4233
4241
  padding: o,
4234
4242
  n: Yo,
4235
4243
  classes: I0,
4236
- toNumber: z,
4244
+ toNumber: L,
4237
4245
  toSizeUnit: Se,
4238
4246
  getSize: l,
4239
4247
  handleClick: s,
@@ -4392,7 +4400,7 @@ var _s = (e, n, t) => new Promise((o, r) => {
4392
4400
  });
4393
4401
  const { name: R0, n: U0, classes: H0 } = ee("collapse-item");
4394
4402
  function F0(e, n) {
4395
- const t = ae("var-icon");
4403
+ const t = ie("var-icon");
4396
4404
  return p(), S(
4397
4405
  "div",
4398
4406
  {
@@ -4424,7 +4432,7 @@ function F0(e, n) {
4424
4432
  [
4425
4433
  R(e.$slots, "title", {}, () => [
4426
4434
  Ie(
4427
- ie(e.title),
4435
+ ae(e.title),
4428
4436
  1
4429
4437
  /* TEXT */
4430
4438
  )
@@ -4581,7 +4589,7 @@ function q0(e, n) {
4581
4589
  [
4582
4590
  R(e.$slots, "default", st(Io(e.timeData)), () => [
4583
4591
  Ie(
4584
- ie(e.showTime),
4592
+ ae(e.showTime),
4585
4593
  1
4586
4594
  /* TEXT */
4587
4595
  )
@@ -4636,14 +4644,14 @@ const Yc = x({
4636
4644
  }
4637
4645
  function d() {
4638
4646
  const { time: g, onEnd: h } = e, b = performance.now();
4639
- if (o || (o = b + z(g)), i = o - b, i < 0 && (i = 0), u(i), i === 0) {
4647
+ if (o || (o = b + L(g)), i = o - b, i < 0 && (i = 0), u(i), i === 0) {
4640
4648
  y(h);
4641
4649
  return;
4642
4650
  }
4643
4651
  r && (a = fo(d));
4644
4652
  }
4645
4653
  function c(g = !1) {
4646
- r && !g || (r = !0, o = performance.now() + (i || z(e.time)), d());
4654
+ r && !g || (r = !0, o = performance.now() + (i || L(e.time)), d());
4647
4655
  }
4648
4656
  function f() {
4649
4657
  r = !1, ms(a);
@@ -4731,7 +4739,7 @@ var Vt = 9e15, $t = 1e9, pa = "0123456789abcdef", fr = "2.3025850929940456840179
4731
4739
  // Whether to use cryptographically-secure random number generation, if available.
4732
4740
  crypto: !1
4733
4741
  // true/false
4734
- }, jc, qn, we = !0, Pr = "[DecimalError] ", ht = Pr + "Invalid argument: ", Wc = Pr + "Precision limit exceeded", qc = Pr + "crypto unavailable", Gc = "[object Decimal]", sn = Math.floor, _e = Math.pow, G0 = /^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i, X0 = /^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i, K0 = /^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i, Xc = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, zn = 1e7, be = 7, Z0 = 9007199254740991, J0 = fr.length - 1, ba = vr.length - 1, K = { toStringTag: Gc };
4742
+ }, jc, qn, we = !0, Pr = "[DecimalError] ", ht = Pr + "Invalid argument: ", Wc = Pr + "Precision limit exceeded", qc = Pr + "crypto unavailable", Gc = "[object Decimal]", sn = Math.floor, xe = Math.pow, G0 = /^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i, X0 = /^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i, K0 = /^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i, Xc = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, zn = 1e7, be = 7, Z0 = 9007199254740991, J0 = fr.length - 1, ba = vr.length - 1, K = { toStringTag: Gc };
4735
4743
  K.absoluteValue = K.abs = function() {
4736
4744
  var e = new this.constructor(this);
4737
4745
  return e.s < 0 && (e.s = 1), pe(e);
@@ -4770,7 +4778,7 @@ K.cubeRoot = K.cbrt = function() {
4770
4778
  var e, n, t, o, r, a, i, l, s, u, d = this, c = d.constructor;
4771
4779
  if (!d.isFinite() || d.isZero())
4772
4780
  return new c(d);
4773
- for (we = !1, a = d.s * _e(d.s * d, 1 / 3), !a || Math.abs(a) == 1 / 0 ? (t = on(d.d), e = d.e, (a = (e - t.length + 1) % 3) && (t += a == 1 || a == -2 ? "0" : "00"), a = _e(t, 1 / 3), e = sn((e + 1) / 3) - (e % 3 == (e < 0 ? -1 : 2)), a == 1 / 0 ? t = "5e" + e : (t = a.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + e), o = new c(t), o.s = d.s) : o = new c(a.toString()), i = (e = c.precision) + 3; ; )
4781
+ for (we = !1, a = d.s * xe(d.s * d, 1 / 3), !a || Math.abs(a) == 1 / 0 ? (t = on(d.d), e = d.e, (a = (e - t.length + 1) % 3) && (t += a == 1 || a == -2 ? "0" : "00"), a = xe(t, 1 / 3), e = sn((e + 1) / 3) - (e % 3 == (e < 0 ? -1 : 2)), a == 1 / 0 ? t = "5e" + e : (t = a.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + e), o = new c(t), o.s = d.s) : o = new c(a.toString()), i = (e = c.precision) + 3; ; )
4774
4782
  if (l = o, s = l.times(l).times(l), u = s.plus(d), o = Re(u.plus(d).times(l), u.plus(s), i + 2, 1), on(l.d).slice(0, i) === (t = on(o.d)).slice(0, i))
4775
4783
  if (t = t.slice(i - 3, i + 1), t == "9999" || !r && t == "4999") {
4776
4784
  if (!r && (pe(l, e + 1, 0), l.times(l).times(l).eq(d))) {
@@ -5081,7 +5089,7 @@ K.toFraction = function(e) {
5081
5089
  var n, t, o, r, a, i, l, s, u, d, c, f, m = this, g = m.d, h = m.constructor;
5082
5090
  if (!g)
5083
5091
  return new h(m);
5084
- if (u = t = new h(1), o = s = new h(0), n = new h(o), a = n.e = Kc(g) - m.e - 1, i = a % be, n.d[0] = _e(10, i < 0 ? be + i : i), e == null)
5092
+ if (u = t = new h(1), o = s = new h(0), n = new h(o), a = n.e = Kc(g) - m.e - 1, i = a % be, n.d[0] = xe(10, i < 0 ? be + i : i), e == null)
5085
5093
  e = a > 0 ? n : u;
5086
5094
  else {
5087
5095
  if (l = new h(e), !l.isInt() || l.lt(u))
@@ -5118,7 +5126,7 @@ K.toOctal = function(e, n) {
5118
5126
  K.toPower = K.pow = function(e) {
5119
5127
  var n, t, o, r, a, i, l = this, s = l.constructor, u = +(e = new s(e));
5120
5128
  if (!l.d || !e.d || !l.d[0] || !e.d[0])
5121
- return new s(_e(+l, u));
5129
+ return new s(xe(+l, u));
5122
5130
  if (l = new s(l), l.eq(1))
5123
5131
  return l;
5124
5132
  if (o = s.precision, a = s.rounding, e.eq(1))
@@ -5131,7 +5139,7 @@ K.toPower = K.pow = function(e) {
5131
5139
  if (e.d[n] & 1 || (i = 1), l.e == 0 && l.d[0] == 1 && l.d.length == 1)
5132
5140
  return l.s = i, l;
5133
5141
  }
5134
- return t = _e(+l, u), n = t == 0 || !isFinite(t) ? sn(u * (Math.log("0." + on(l.d)) / Math.LN10 + l.e + 1)) : new s(t + "").e, n > s.maxE + 1 || n < s.minE - 1 ? new s(n > 0 ? i / 0 : 0) : (we = !1, s.rounding = l.s = 1, t = Math.min(12, (n + "").length), r = ya(e.times(it(l, o + t)), o), r.d && (r = pe(r, o + 5, 1), po(r.d, o, a) && (n = o + 10, r = pe(ya(e.times(it(l, n + t)), n), n + 5, 1), +on(r.d).slice(o + 1, o + 15) + 1 == 1e14 && (r = pe(r, o + 1, 0)))), r.s = i, we = !0, s.rounding = a, pe(r, o, a));
5142
+ return t = xe(+l, u), n = t == 0 || !isFinite(t) ? sn(u * (Math.log("0." + on(l.d)) / Math.LN10 + l.e + 1)) : new s(t + "").e, n > s.maxE + 1 || n < s.minE - 1 ? new s(n > 0 ? i / 0 : 0) : (we = !1, s.rounding = l.s = 1, t = Math.min(12, (n + "").length), r = ya(e.times(it(l, o + t)), o), r.d && (r = pe(r, o + 5, 1), po(r.d, o, a) && (n = o + 10, r = pe(ya(e.times(it(l, n + t)), n), n + 5, 1), +on(r.d).slice(o + 1, o + 15) + 1 == 1e14 && (r = pe(r, o + 1, 0)))), r.s = i, we = !0, s.rounding = a, pe(r, o, a));
5135
5143
  };
5136
5144
  K.toPrecision = function(e, n) {
5137
5145
  var t, o = this, r = o.constructor;
@@ -5172,7 +5180,7 @@ function po(e, n, t, o) {
5172
5180
  var r, a, i, l;
5173
5181
  for (a = e[0]; a >= 10; a /= 10)
5174
5182
  --n;
5175
- return --n < 0 ? (n += be, r = 0) : (r = Math.ceil((n + 1) / be), n %= be), a = _e(10, be - n), l = e[r] % a | 0, o == null ? n < 3 ? (n == 0 ? l = l / 100 | 0 : n == 1 && (l = l / 10 | 0), i = t < 4 && l == 99999 || t > 3 && l == 49999 || l == 5e4 || l == 0) : i = (t < 4 && l + 1 == a || t > 3 && l + 1 == a / 2) && (e[r + 1] / a / 100 | 0) == _e(10, n - 2) - 1 || (l == a / 2 || l == 0) && (e[r + 1] / a / 100 | 0) == 0 : n < 4 ? (n == 0 ? l = l / 1e3 | 0 : n == 1 ? l = l / 100 | 0 : n == 2 && (l = l / 10 | 0), i = (o || t < 4) && l == 9999 || !o && t > 3 && l == 4999) : i = ((o || t < 4) && l + 1 == a || !o && t > 3 && l + 1 == a / 2) && (e[r + 1] / a / 1e3 | 0) == _e(10, n - 3) - 1, i;
5183
+ return --n < 0 ? (n += be, r = 0) : (r = Math.ceil((n + 1) / be), n %= be), a = xe(10, be - n), l = e[r] % a | 0, o == null ? n < 3 ? (n == 0 ? l = l / 100 | 0 : n == 1 && (l = l / 10 | 0), i = t < 4 && l == 99999 || t > 3 && l == 49999 || l == 5e4 || l == 0) : i = (t < 4 && l + 1 == a || t > 3 && l + 1 == a / 2) && (e[r + 1] / a / 100 | 0) == xe(10, n - 2) - 1 || (l == a / 2 || l == 0) && (e[r + 1] / a / 100 | 0) == 0 : n < 4 ? (n == 0 ? l = l / 1e3 | 0 : n == 1 ? l = l / 100 | 0 : n == 2 && (l = l / 10 | 0), i = (o || t < 4) && l == 9999 || !o && t > 3 && l == 4999) : i = ((o || t < 4) && l + 1 == a || !o && t > 3 && l + 1 == a / 2) && (e[r + 1] / a / 1e3 | 0) == xe(10, n - 3) - 1, i;
5176
5184
  }
5177
5185
  function xo(e, n, t) {
5178
5186
  for (var o, r = [0], a, i = 0, l = e.length; i < l; ) {
@@ -5220,7 +5228,7 @@ var Re = function() {
5220
5228
  o.shift();
5221
5229
  }
5222
5230
  return function(o, r, a, i, l, s) {
5223
- var u, d, c, f, m, g, h, b, w, E, T, $, P, I, k, D, O, N, L, U, te = o.constructor, G = o.s == r.s ? 1 : -1, j = o.d, X = r.d;
5231
+ var u, d, c, f, m, g, h, b, w, E, T, $, P, I, k, D, O, N, z, U, te = o.constructor, G = o.s == r.s ? 1 : -1, j = o.d, X = r.d;
5224
5232
  if (!j || !j[0] || !X || !X[0])
5225
5233
  return new te(
5226
5234
  // Return NaN if either NaN, or both Infinity or 0.
@@ -5229,21 +5237,21 @@ var Re = function() {
5229
5237
  j && j[0] == 0 || !X ? G * 0 : G / 0
5230
5238
  )
5231
5239
  );
5232
- for (s ? (m = 1, d = o.e - r.e) : (s = zn, m = be, d = sn(o.e / m) - sn(r.e / m)), L = X.length, O = j.length, w = new te(G), E = w.d = [], c = 0; X[c] == (j[c] || 0); c++)
5240
+ for (s ? (m = 1, d = o.e - r.e) : (s = zn, m = be, d = sn(o.e / m) - sn(r.e / m)), z = X.length, O = j.length, w = new te(G), E = w.d = [], c = 0; X[c] == (j[c] || 0); c++)
5233
5241
  ;
5234
5242
  if (X[c] > (j[c] || 0) && d--, a == null ? (I = a = te.precision, i = te.rounding) : l ? I = a + (o.e - r.e) + 1 : I = a, I < 0)
5235
5243
  E.push(1), g = !0;
5236
5244
  else {
5237
- if (I = I / m + 2 | 0, c = 0, L == 1) {
5245
+ if (I = I / m + 2 | 0, c = 0, z == 1) {
5238
5246
  for (f = 0, X = X[0], I++; (c < O || f) && I--; c++)
5239
5247
  k = f * s + (j[c] || 0), E[c] = k / X | 0, f = k % X | 0;
5240
5248
  g = f || c < O;
5241
5249
  } else {
5242
- for (f = s / (X[0] + 1) | 0, f > 1 && (X = e(X, f, s), j = e(j, f, s), L = X.length, O = j.length), D = L, T = j.slice(0, L), $ = T.length; $ < L; )
5250
+ for (f = s / (X[0] + 1) | 0, f > 1 && (X = e(X, f, s), j = e(j, f, s), z = X.length, O = j.length), D = z, T = j.slice(0, z), $ = T.length; $ < z; )
5243
5251
  T[$++] = 0;
5244
5252
  U = X.slice(), U.unshift(0), N = X[0], X[1] >= s / 2 && ++N;
5245
5253
  do
5246
- f = 0, u = n(X, T, L, $), u < 0 ? (P = T[0], L != $ && (P = P * s + (T[1] || 0)), f = P / N | 0, f > 1 ? (f >= s && (f = s - 1), h = e(X, f, s), b = h.length, $ = T.length, u = n(h, T, b, $), u == 1 && (f--, t(h, L < b ? U : X, b, s))) : (f == 0 && (u = f = 1), h = X.slice()), b = h.length, b < $ && h.unshift(0), t(T, h, $, s), u == -1 && ($ = T.length, u = n(X, T, L, $), u < 1 && (f++, t(T, L < $ ? U : X, $, s))), $ = T.length) : u === 0 && (f++, T = [0]), E[c++] = f, u && T[0] ? T[$++] = j[D] || 0 : (T = [j[D]], $ = 1);
5254
+ f = 0, u = n(X, T, z, $), u < 0 ? (P = T[0], z != $ && (P = P * s + (T[1] || 0)), f = P / N | 0, f > 1 ? (f >= s && (f = s - 1), h = e(X, f, s), b = h.length, $ = T.length, u = n(h, T, b, $), u == 1 && (f--, t(h, z < b ? U : X, b, s))) : (f == 0 && (u = f = 1), h = X.slice()), b = h.length, b < $ && h.unshift(0), t(T, h, $, s), u == -1 && ($ = T.length, u = n(X, T, z, $), u < 1 && (f++, t(T, z < $ ? U : X, $, s))), $ = T.length) : u === 0 && (f++, T = [0]), E[c++] = f, u && T[0] ? T[$++] = j[D] || 0 : (T = [j[D]], $ = 1);
5247
5255
  while ((D++ < O || T[0] !== void 0) && I--);
5248
5256
  g = T[0] !== void 0;
5249
5257
  }
@@ -5268,7 +5276,7 @@ function pe(e, n, t, o) {
5268
5276
  for (r = 1, l = c[0]; l >= 10; l /= 10)
5269
5277
  r++;
5270
5278
  if (a = n - r, a < 0)
5271
- a += be, i = n, d = c[f = 0], s = d / _e(10, r - i - 1) % 10 | 0;
5279
+ a += be, i = n, d = c[f = 0], s = d / xe(10, r - i - 1) % 10 | 0;
5272
5280
  else if (f = Math.ceil((a + 1) / be), l = c.length, f >= l)
5273
5281
  if (o) {
5274
5282
  for (; l++ <= f; )
@@ -5279,12 +5287,12 @@ function pe(e, n, t, o) {
5279
5287
  else {
5280
5288
  for (d = l = c[f], r = 1; l >= 10; l /= 10)
5281
5289
  r++;
5282
- a %= be, i = a - be + r, s = i < 0 ? 0 : d / _e(10, r - i - 1) % 10 | 0;
5290
+ a %= be, i = a - be + r, s = i < 0 ? 0 : d / xe(10, r - i - 1) % 10 | 0;
5283
5291
  }
5284
- if (o = o || n < 0 || c[f + 1] !== void 0 || (i < 0 ? d : d % _e(10, r - i - 1)), u = t < 4 ? (s || o) && (t == 0 || t == (e.s < 0 ? 3 : 2)) : s > 5 || s == 5 && (t == 4 || o || t == 6 && // Check whether the digit to the left of the rounding digit is odd.
5285
- (a > 0 ? i > 0 ? d / _e(10, r - i) : 0 : c[f - 1]) % 10 & 1 || t == (e.s < 0 ? 8 : 7)), n < 1 || !c[0])
5286
- return c.length = 0, u ? (n -= e.e + 1, c[0] = _e(10, (be - n % be) % be), e.e = -n || 0) : c[0] = e.e = 0, e;
5287
- if (a == 0 ? (c.length = f, l = 1, f--) : (c.length = f + 1, l = _e(10, be - a), c[f] = i > 0 ? (d / _e(10, r - i) % _e(10, i) | 0) * l : 0), u)
5292
+ if (o = o || n < 0 || c[f + 1] !== void 0 || (i < 0 ? d : d % xe(10, r - i - 1)), u = t < 4 ? (s || o) && (t == 0 || t == (e.s < 0 ? 3 : 2)) : s > 5 || s == 5 && (t == 4 || o || t == 6 && // Check whether the digit to the left of the rounding digit is odd.
5293
+ (a > 0 ? i > 0 ? d / xe(10, r - i) : 0 : c[f - 1]) % 10 & 1 || t == (e.s < 0 ? 8 : 7)), n < 1 || !c[0])
5294
+ return c.length = 0, u ? (n -= e.e + 1, c[0] = xe(10, (be - n % be) % be), e.e = -n || 0) : c[0] = e.e = 0, e;
5295
+ if (a == 0 ? (c.length = f, l = 1, f--) : (c.length = f + 1, l = xe(10, be - a), c[f] = i > 0 ? (d / xe(10, r - i) % xe(10, i) | 0) * l : 0), u)
5288
5296
  for (; ; )
5289
5297
  if (f == 0) {
5290
5298
  for (a = 1, i = c[0]; i >= 10; i /= 10)
@@ -5370,7 +5378,7 @@ function ya(e, n) {
5370
5378
  return new f(e.d ? e.d[0] ? e.s < 0 ? 0 : 1 / 0 : 1 : e.s ? e.s < 0 ? 0 : e : 0 / 0);
5371
5379
  for (n == null ? (we = !1, s = g) : s = n, l = new f(0.03125); e.e > -2; )
5372
5380
  e = e.times(l), c += 5;
5373
- for (o = Math.log(_e(2, c)) / Math.LN10 * 2 + 5 | 0, s += o, t = a = i = new f(1), f.precision = s; ; ) {
5381
+ for (o = Math.log(xe(2, c)) / Math.LN10 * 2 + 5 | 0, s += o, t = a = i = new f(1), f.precision = s; ; ) {
5374
5382
  if (a = pe(a.times(e), s, 1), t = t.times(++d), l = i.plus(Re(a, t, s, 1)), on(l.d).slice(0, s) === on(i.d).slice(0, s)) {
5375
5383
  for (r = c; r--; )
5376
5384
  i = pe(i.times(i), s, 1);
@@ -5447,7 +5455,7 @@ function _0(e, n) {
5447
5455
  throw Error(ht + n);
5448
5456
  for (a = n.search(/p/i), a > 0 ? (s = +n.slice(a + 1), n = n.substring(2, a)) : n = n.slice(2), a = n.indexOf("."), i = a >= 0, o = e.constructor, i && (n = n.replace(".", ""), l = n.length, a = l - a, r = Zc(o, new o(t), a, a * 2)), u = xo(n, t, zn), d = u.length - 1, a = d; u[a] === 0; --a)
5449
5457
  u.pop();
5450
- return a < 0 ? new o(e.s * 0) : (e.e = Or(u, d), e.d = u, we = !1, i && (e = Re(e, r, l * 4)), s && (e = e.times(Math.abs(s) < 54 ? _e(2, s) : lt.pow(2, s))), we = !0, e);
5458
+ return a < 0 ? new o(e.s * 0) : (e.e = Or(u, d), e.d = u, we = !1, i && (e = Re(e, r, l * 4)), s && (e = e.times(Math.abs(s) < 54 ? xe(2, s) : lt.pow(2, s))), we = !0, e);
5451
5459
  }
5452
5460
  function x0(e, n) {
5453
5461
  var t, o = n.d.length;
@@ -5725,7 +5733,7 @@ function Eb(e) {
5725
5733
  else
5726
5734
  for (; a < o; )
5727
5735
  l[a++] = Math.random() * 1e7 | 0;
5728
- for (o = l[--a], e %= be, o && e && (r = _e(10, be - e), l[a] = (o / r | 0) * r); l[a] === 0; a--)
5736
+ for (o = l[--a], e %= be, o && e && (r = xe(10, be - e), l[a] = (o / r | 0) * r); l[a] === 0; a--)
5729
5737
  l.pop();
5730
5738
  if (a < 0)
5731
5739
  t = 0, l = [0];
@@ -5830,7 +5838,7 @@ const Ub = {
5830
5838
  "onUpdate:modelValue": A()
5831
5839
  }, ou = 100, ru = 600, { name: Hb, n: Fb, classes: Yb } = ee("counter"), jb = ["inputmode", "readonly", "disabled"];
5832
5840
  function Wb(e, n) {
5833
- const t = ae("var-icon"), o = ae("var-button"), r = ae("var-form-details");
5841
+ const t = ie("var-icon"), o = ie("var-button"), r = ie("var-form-details");
5834
5842
  return p(), S(
5835
5843
  "div",
5836
5844
  {
@@ -5846,7 +5854,7 @@ function Wb(e, n) {
5846
5854
  [e.disabled || e.formDisabled, e.n("--disabled")],
5847
5855
  [e.errorMessage, e.n("--error")]
5848
5856
  ),
5849
- style: { background: e.color ? e.color : void 0 }
5857
+ style: { background: e.color }
5850
5858
  }, e.$attrs),
5851
5859
  [
5852
5860
  Z(o, {
@@ -5944,10 +5952,10 @@ const ef = x({
5944
5952
  resetValidation: l
5945
5953
  } = Bn(), { readonly: s, disabled: u } = o ?? {}, d = M(() => {
5946
5954
  const { max: X, modelValue: J } = e;
5947
- return X != null && z(J) >= z(X);
5955
+ return X != null && L(J) >= L(X);
5948
5956
  }), c = M(() => {
5949
5957
  const { min: X, modelValue: J } = e;
5950
- return X != null && z(J) <= z(X);
5958
+ return X != null && L(J) <= L(X);
5951
5959
  });
5952
5960
  let f, m, g, h;
5953
5961
  y(t, {
@@ -5957,7 +5965,7 @@ const ef = x({
5957
5965
  }), ce(
5958
5966
  () => e.modelValue,
5959
5967
  (X) => {
5960
- G($(String(X))), y(e.onChange, z(X));
5968
+ G($(String(X))), y(e.onChange, L(X));
5961
5969
  }
5962
5970
  ), G($(String(e.modelValue)));
5963
5971
  function w() {
@@ -5971,16 +5979,16 @@ const ef = x({
5971
5979
  }
5972
5980
  function T() {
5973
5981
  const { min: X } = e;
5974
- y(e["onUpdate:modelValue"], X != null ? z(X) : 0), l();
5982
+ y(e["onUpdate:modelValue"], X != null ? L(X) : 0), l();
5975
5983
  }
5976
5984
  function $(X) {
5977
5985
  const { decimalLength: J, max: Y, min: le } = e;
5978
- let q = z(X);
5979
- return Y != null && q > z(Y) && (q = z(Y)), le != null && q < z(le) && (q = z(le)), X = String(q), J != null && (X = q.toFixed(z(J))), X;
5986
+ let q = L(X);
5987
+ return Y != null && q > L(Y) && (q = L(Y)), le != null && q < L(le) && (q = L(le)), X = String(q), J != null && (X = q.toFixed(L(J))), X;
5980
5988
  }
5981
5989
  function P(X) {
5982
5990
  const { lazyChange: J, onBeforeChange: Y } = e, { value: le } = X.target, q = $(le);
5983
- J ? y(Y, z(q), j) : G(q), E("onInputChange");
5991
+ J ? y(Y, L(q), j) : G(q), E("onInputChange");
5984
5992
  }
5985
5993
  function I() {
5986
5994
  const {
@@ -5996,7 +6004,7 @@ const ef = x({
5996
6004
  } = e;
5997
6005
  if (u != null && u.value || s != null && s.value || X || J || Y || !le || c.value)
5998
6006
  return;
5999
- const V = new lt(z(H)).minus(new lt(z(ne))).toString(), W = $(V), he = z(W);
6007
+ const V = new lt(L(H)).minus(new lt(L(ne))).toString(), W = $(V), he = L(W);
6000
6008
  y(_, he), q ? y(ue, he, j) : (G(W), E("onDecrement"));
6001
6009
  }
6002
6010
  function k() {
@@ -6013,7 +6021,7 @@ const ef = x({
6013
6021
  } = e;
6014
6022
  if (u != null && u.value || s != null && s.value || X || J || Y || !le || d.value)
6015
6023
  return;
6016
- const V = new lt(z(H)).plus(new lt(z(ne))).toString(), W = $(V), he = z(W);
6024
+ const V = new lt(L(H)).plus(new lt(L(ne))).toString(), W = $(V), he = L(W);
6017
6025
  y(_, he), q ? y(ue, he, j) : (G(W), E("onIncrement"));
6018
6026
  }
6019
6027
  function D() {
@@ -6031,7 +6039,7 @@ const ef = x({
6031
6039
  function N() {
6032
6040
  m && clearTimeout(m), h && clearTimeout(h);
6033
6041
  }
6034
- function L() {
6042
+ function z() {
6035
6043
  f && clearTimeout(f), g && clearTimeout(g);
6036
6044
  }
6037
6045
  function U() {
@@ -6046,7 +6054,7 @@ const ef = x({
6046
6054
  }
6047
6055
  function G(X) {
6048
6056
  n.value = X;
6049
- const J = z(X);
6057
+ const J = L(X);
6050
6058
  y(e["onUpdate:modelValue"], J);
6051
6059
  }
6052
6060
  function j(X) {
@@ -6071,9 +6079,9 @@ const ef = x({
6071
6079
  pressDecrement: D,
6072
6080
  pressIncrement: O,
6073
6081
  releaseDecrement: N,
6074
- releaseIncrement: L,
6082
+ releaseIncrement: z,
6075
6083
  toSizeUnit: Se,
6076
- toNumber: z
6084
+ toNumber: L
6077
6085
  };
6078
6086
  }
6079
6087
  });
@@ -6427,9 +6435,12 @@ const lf = function(e, n) {
6427
6435
  type: String,
6428
6436
  default: "date"
6429
6437
  },
6438
+ hint: String,
6430
6439
  allowedDates: Function,
6431
6440
  color: String,
6441
+ /** @deprecated Use titleColor to instead. */
6432
6442
  headerColor: String,
6443
+ titleColor: String,
6433
6444
  elevation: {
6434
6445
  type: [Boolean, Number, String],
6435
6446
  default: !1
@@ -6460,7 +6471,7 @@ const lf = function(e, n) {
6460
6471
  "onUpdate:modelValue": A()
6461
6472
  }, { n: ly } = ee("picker-header");
6462
6473
  function sy(e, n) {
6463
- const t = ae("var-icon"), o = ae("var-button");
6474
+ const t = ie("var-icon"), o = ie("var-button");
6464
6475
  return p(), S(
6465
6476
  "div",
6466
6477
  {
@@ -6494,7 +6505,7 @@ function sy(e, n) {
6494
6505
  (p(), S(
6495
6506
  "div",
6496
6507
  { key: e.showDate },
6497
- ie(e.showDate),
6508
+ ae(e.showDate),
6498
6509
  1
6499
6510
  /* TEXT */
6500
6511
  ))
@@ -6550,9 +6561,9 @@ const uf = x({
6550
6561
  var i;
6551
6562
  const { date: l, type: s } = e, { previewMonth: u, previewYear: d } = l;
6552
6563
  if (s === "month")
6553
- return z(d) + o.value;
6554
- const c = (i = nn.value.datePickerMonthDict) == null ? void 0 : i[u.index].name;
6555
- return nn.value.lang === "zh-CN" ? `${d} ${c}` : `${c} ${d}`;
6564
+ return L(d) + o.value;
6565
+ const c = (i = Qe.value.datePickerMonthDict) == null ? void 0 : i[u.index].name;
6566
+ return Qe.value.lang === "zh-CN" ? `${d} ${c}` : `${c} ${d}`;
6556
6567
  }), a = (i) => {
6557
6568
  i === "prev" && e.disabled.left || i === "next" && e.disabled.right || (n("check-date", i), t.value = i === "prev", o.value += i === "prev" ? -1 : 1);
6558
6569
  };
@@ -6582,7 +6593,7 @@ ve.extend(lf);
6582
6593
  ve.extend(sf);
6583
6594
  const { n: jo, classes: vy } = ee("month-picker"), { n: Wo } = ee("date-picker");
6584
6595
  function my(e, n) {
6585
- const t = ae("panel-header"), o = ae("var-button");
6596
+ const t = ie("panel-header"), o = ie("var-button");
6586
6597
  return p(), S(
6587
6598
  "div",
6588
6599
  {
@@ -6624,7 +6635,7 @@ function my(e, n) {
6624
6635
  }), {
6625
6636
  default: me(() => [
6626
6637
  Ie(
6627
- ie(e.getMonthAbbr(r.index)),
6638
+ ae(e.getMonthAbbr(r.index)),
6628
6639
  1
6629
6640
  /* TEXT */
6630
6641
  )
@@ -6685,7 +6696,7 @@ const cf = x({
6685
6696
  right: !1
6686
6697
  }), s = M(() => e.choose.chooseYear === e.preview.previewYear), u = M(() => e.preview.previewYear === t), d = (w) => {
6687
6698
  var E, T;
6688
- return (T = (E = nn.value.datePickerMonthDict) == null ? void 0 : E[w].abbr) != null ? T : "";
6699
+ return (T = (E = Qe.value.datePickerMonthDict) == null ? void 0 : E[w].abbr) != null ? T : "";
6689
6700
  }, c = (w) => {
6690
6701
  const {
6691
6702
  preview: { previewYear: E },
@@ -6711,15 +6722,15 @@ const cf = x({
6711
6722
  choose: { chooseMonth: E },
6712
6723
  preview: { previewYear: T },
6713
6724
  componentProps: { allowedDates: $, color: P, multiple: I, range: k }
6714
- } = e, D = `${T}-${w}`, O = () => k || I ? f(D) : (E == null ? void 0 : E.index) === w && s.value, L = (() => c(w) ? $ ? !$(D) : !1 : !0)(), U = () => L ? !0 : k || I ? !f(D) : !s.value || (E == null ? void 0 : E.index) !== w, te = () => u.value && o === w && e.componentProps.showCurrent ? (k || I || s.value) && L ? !0 : k || I ? !f(D) : s.value ? (E == null ? void 0 : E.index) !== o : !0 : !1, G = () => L ? "" : te() ? P ?? "" : O() ? "" : `${Wo()}-color-cover`, j = G().startsWith(Wo());
6725
+ } = e, D = `${T}-${w}`, O = () => k || I ? f(D) : (E == null ? void 0 : E.index) === w && s.value, z = (() => c(w) ? $ ? !$(D) : !1 : !0)(), U = () => z ? !0 : k || I ? !f(D) : !s.value || (E == null ? void 0 : E.index) !== w, te = () => u.value && o === w && e.componentProps.showCurrent ? (k || I || s.value) && z ? !0 : k || I ? !f(D) : s.value ? (E == null ? void 0 : E.index) !== o : !0 : !1, G = () => z ? "" : te() ? P ?? "" : O() ? "" : `${Wo()}-color-cover`, j = G().startsWith(Wo());
6715
6726
  return {
6716
6727
  outline: te(),
6717
6728
  text: U(),
6718
6729
  color: U() ? "" : P,
6719
6730
  textColor: j ? "" : G(),
6720
6731
  [`${Wo()}-color-cover`]: j,
6721
- class: vy(jo("button"), [L, jo("button--disabled")]),
6722
- disabled: L
6732
+ class: vy(jo("button"), [z, jo("button--disabled")]),
6733
+ disabled: z
6723
6734
  };
6724
6735
  }, g = (w, E) => {
6725
6736
  E.currentTarget.classList.contains(jo("button--disabled")) || n("choose-month", w);
@@ -6734,13 +6745,13 @@ const cf = x({
6734
6745
  const {
6735
6746
  componentProps: { min: E, max: T }
6736
6747
  } = e;
6737
- T && (l.right = !ve(`${z(w) + 1}`).isSameOrBefore(ve(T), "year")), E && (l.left = !ve(`${z(w) - 1}`).isSameOrAfter(ve(E), "year"));
6748
+ T && (l.right = !ve(`${L(w) + 1}`).isSameOrBefore(ve(T), "year")), E && (l.left = !ve(`${L(w) - 1}`).isSameOrAfter(ve(E), "year"));
6738
6749
  },
6739
6750
  { immediate: !0 }
6740
6751
  ), {
6741
6752
  n: jo,
6742
6753
  nDate: Wo,
6743
- pack: nn,
6754
+ pack: Qe,
6744
6755
  MONTH_LIST: nr,
6745
6756
  headerEl: i,
6746
6757
  reverse: r,
@@ -6761,6 +6772,7 @@ function by(e, n) {
6761
6772
  return p(), S(
6762
6773
  "ul",
6763
6774
  {
6775
+ ref: "panel",
6764
6776
  class: v(e.n())
6765
6777
  },
6766
6778
  [
@@ -6772,7 +6784,7 @@ function by(e, n) {
6772
6784
  class: v(e.classes(e.n("item"), [t === e.toNumber(e.preview), e.n("item--active")])),
6773
6785
  style: F({ color: t === e.toNumber(e.preview) ? e.componentProps.color : "" }),
6774
6786
  onClick: (o) => e.chooseYear(t)
6775
- }, ie(t), 15, gy))),
6787
+ }, ae(t), 15, gy))),
6776
6788
  128
6777
6789
  /* KEYED_FRAGMENT */
6778
6790
  ))
@@ -6794,41 +6806,42 @@ const ff = x({
6794
6806
  },
6795
6807
  emits: ["choose-year"],
6796
6808
  setup(e, { emit: n }) {
6797
- const t = M(() => {
6798
- const r = [], {
6799
- preview: a,
6800
- componentProps: { max: i, min: l }
6809
+ const t = C(), o = M(() => {
6810
+ const a = [], {
6811
+ preview: i,
6812
+ componentProps: { max: l, min: s }
6801
6813
  } = e;
6802
- if (!a)
6803
- return r;
6804
- let s = [z(a) + 100, z(a) - 100];
6805
- if (i) {
6806
- const u = ve(i).format("YYYY-MM-D"), d = z(u.split("-")[0]);
6807
- if (d < s[0] && d > s[1] && (s = [d, s[1]]), d <= s[1])
6808
- return [d];
6809
- }
6814
+ if (!i)
6815
+ return a;
6816
+ let u = [L(i) + 100, L(i) - 100];
6810
6817
  if (l) {
6811
- const u = ve(l).format("YYYY-MM-D"), d = z(u.split("-")[0]);
6812
- if (d < s[0] && d > s[1] && (s = [s[0], d]), d >= s[0])
6813
- return [d];
6818
+ const d = ve(l).format("YYYY-MM-D"), c = L(d.split("-")[0]);
6819
+ if (c < u[0] && c > u[1] && (u = [c, u[1]]), c <= u[1])
6820
+ return [c];
6814
6821
  }
6815
- for (let u = s[0]; u >= s[1]; u--)
6816
- r.push(u);
6817
- return r;
6818
- }), o = (r) => {
6819
- n("choose-year", r);
6822
+ if (s) {
6823
+ const d = ve(s).format("YYYY-MM-D"), c = L(d.split("-")[0]);
6824
+ if (c < u[0] && c > u[1] && (u = [u[0], c]), c >= u[0])
6825
+ return [c];
6826
+ }
6827
+ for (let d = u[0]; d >= u[1]; d--)
6828
+ a.push(d);
6829
+ return a;
6830
+ }), r = (a) => {
6831
+ n("choose-year", a);
6820
6832
  };
6821
6833
  return rn(() => {
6822
- const r = document.querySelector(`.${uu("item--active")}`);
6823
- r == null || r.scrollIntoView({
6834
+ const a = t.value.querySelector(`.${uu("item--active")}`);
6835
+ a == null || a.scrollIntoView({
6824
6836
  block: "center"
6825
6837
  });
6826
6838
  }), {
6827
6839
  n: uu,
6828
6840
  classes: py,
6829
- yearList: t,
6830
- chooseYear: o,
6831
- toNumber: z
6841
+ panel: t,
6842
+ yearList: o,
6843
+ chooseYear: r,
6844
+ toNumber: L
6832
6845
  };
6833
6846
  }
6834
6847
  });
@@ -6845,7 +6858,7 @@ ve.extend(lf);
6845
6858
  ve.extend(sf);
6846
6859
  const { n: Dt, classes: ky } = ee("day-picker"), { n: qo } = ee("date-picker");
6847
6860
  function Py(e, n) {
6848
- const t = ae("panel-header"), o = ae("var-button");
6861
+ const t = ie("panel-header"), o = ie("var-button");
6849
6862
  return p(), S(
6850
6863
  "div",
6851
6864
  {
@@ -6885,7 +6898,7 @@ function Py(e, n) {
6885
6898
  {
6886
6899
  key: r.index
6887
6900
  },
6888
- ie(e.getDayAbbr(r.index)),
6901
+ ae(e.getDayAbbr(r.index)),
6889
6902
  1
6890
6903
  /* TEXT */
6891
6904
  ))),
@@ -6917,7 +6930,7 @@ function Py(e, n) {
6917
6930
  }), {
6918
6931
  default: me(() => [
6919
6932
  Ie(
6920
- ie(e.filterDay(r)),
6933
+ ae(e.filterDay(r)),
6921
6934
  1
6922
6935
  /* TEXT */
6923
6936
  )
@@ -6992,33 +7005,33 @@ const vf = x({
6992
7005
  return k === -1 || k === 0 ? ro : ro.slice(k).concat(ro.slice(0, k));
6993
7006
  }), m = (k) => {
6994
7007
  var D, O;
6995
- return (O = (D = nn.value.datePickerWeekDict) == null ? void 0 : D[k].abbr) != null ? O : "";
7008
+ return (O = (D = Qe.value.datePickerWeekDict) == null ? void 0 : D[k].abbr) != null ? O : "";
6996
7009
  }, g = (k) => k > 0 ? k : "", h = () => {
6997
7010
  const {
6998
7011
  preview: { previewMonth: k, previewYear: D }
6999
- } = e, O = ve(`${D}-${k.index}`).daysInMonth(), N = ve(`${D}-${k.index}-01`).day(), L = f.value.findIndex((U) => U.index === `${N}`);
7000
- a.value = [...Array(L).fill(-1), ...Array.from(Array(O + 1).keys())].filter((U) => U);
7012
+ } = e, O = ve(`${D}-${k.index}`).daysInMonth(), N = ve(`${D}-${k.index}-01`).day(), z = f.value.findIndex((U) => U.index === `${N}`);
7013
+ a.value = [...Array(z).fill(-1), ...Array.from(Array(O + 1).keys())].filter((U) => U);
7001
7014
  }, b = () => {
7002
7015
  const {
7003
7016
  preview: { previewYear: k, previewMonth: D },
7004
7017
  componentProps: { max: O, min: N }
7005
7018
  } = e;
7006
7019
  if (O) {
7007
- const L = `${k}-${z(D.index) + 1}`;
7008
- u.right = !ve(L).isSameOrBefore(ve(O), "month");
7020
+ const z = `${k}-${L(D.index) + 1}`;
7021
+ u.right = !ve(z).isSameOrBefore(ve(O), "month");
7009
7022
  }
7010
7023
  if (N) {
7011
- const L = `${k}-${z(D.index) - 1}`;
7012
- u.left = !ve(L).isSameOrAfter(ve(N), "month");
7024
+ const z = `${k}-${L(D.index) - 1}`;
7025
+ u.left = !ve(z).isSameOrAfter(ve(N), "month");
7013
7026
  }
7014
7027
  }, w = (k) => {
7015
7028
  const {
7016
7029
  preview: { previewYear: D, previewMonth: O },
7017
- componentProps: { min: N, max: L }
7030
+ componentProps: { min: N, max: z }
7018
7031
  } = e;
7019
7032
  let U = !0, te = !0;
7020
7033
  const G = `${D}-${O.index}-${k}`;
7021
- return L && (U = ve(G).isSameOrBefore(ve(L), "day")), N && (te = ve(G).isSameOrAfter(ve(N), "day")), U && te;
7034
+ return z && (U = ve(G).isSameOrBefore(ve(z), "day")), N && (te = ve(G).isSameOrAfter(ve(N), "day")), U && te;
7022
7035
  }, E = (k) => {
7023
7036
  const {
7024
7037
  choose: { chooseDays: D, chooseRangeDay: O },
@@ -7027,8 +7040,8 @@ const vf = x({
7027
7040
  if (N) {
7028
7041
  if (!O.length)
7029
7042
  return !1;
7030
- const L = ve(k).isSameOrBefore(ve(O[1]), "day"), U = ve(k).isSameOrAfter(ve(O[0]), "day");
7031
- return L && U;
7043
+ const z = ve(k).isSameOrBefore(ve(O[1]), "day"), U = ve(k).isSameOrAfter(ve(O[0]), "day");
7044
+ return z && U;
7032
7045
  }
7033
7046
  return D.includes(k);
7034
7047
  }, T = (k) => {
@@ -7043,8 +7056,8 @@ const vf = x({
7043
7056
  const {
7044
7057
  choose: { chooseDay: D },
7045
7058
  preview: { previewYear: O, previewMonth: N },
7046
- componentProps: { allowedDates: L, color: U, multiple: te, range: G }
7047
- } = e, j = `${O}-${N.index}-${k}`, X = () => G || te ? E(j) : z(D) === k && c.value, Y = (() => w(k) ? L ? !L(j) : !1 : !0)(), le = () => Y ? !0 : G || te ? !E(j) : !c.value || z(D) !== k, q = () => d.value && z(r) === k && e.componentProps.showCurrent ? (G || te || c.value) && Y ? !0 : G || te ? !E(j) : c.value ? D !== r : !0 : !1, ne = () => Y ? "" : q() ? U ?? "" : X() ? "" : `${qo()}-color-cover`, H = ne().startsWith(qo());
7059
+ componentProps: { allowedDates: z, color: U, multiple: te, range: G }
7060
+ } = e, j = `${O}-${N.index}-${k}`, X = () => G || te ? E(j) : L(D) === k && c.value, Y = (() => w(k) ? z ? !z(j) : !1 : !0)(), le = () => Y ? !0 : G || te ? !E(j) : !c.value || L(D) !== k, q = () => d.value && L(r) === k && e.componentProps.showCurrent ? (G || te || c.value) && Y ? !0 : G || te ? !E(j) : c.value ? D !== r : !0 : !1, ne = () => Y ? "" : q() ? U ?? "" : X() ? "" : `${qo()}-color-cover`, H = ne().startsWith(qo());
7048
7061
  return {
7049
7062
  text: le(),
7050
7063
  outline: q(),
@@ -7104,7 +7117,8 @@ var Oy = vf, Ty = (e, n, t) => new Promise((o, r) => {
7104
7117
  });
7105
7118
  const { name: Ey, n: Iy, classes: By } = ee("date-picker");
7106
7119
  function My(e, n) {
7107
- const t = ae("year-picker-panel"), o = ae("month-picker-panel"), r = ae("day-picker-panel");
7120
+ var t;
7121
+ const o = ie("year-picker-panel"), r = ie("month-picker-panel"), a = ie("day-picker-panel");
7108
7122
  return p(), S(
7109
7123
  "div",
7110
7124
  {
@@ -7115,23 +7129,42 @@ function My(e, n) {
7115
7129
  "div",
7116
7130
  {
7117
7131
  class: v(e.n("title")),
7118
- style: F({ background: e.headerColor || e.color })
7132
+ style: F({ background: e.titleColor || e.headerColor || e.color })
7119
7133
  },
7120
7134
  [
7121
7135
  B(
7122
7136
  "div",
7123
7137
  {
7124
- class: v(e.classes(e.n("title-year"), [e.isYearPanel, e.n("title-year--active")])),
7125
- onClick: n[0] || (n[0] = (a) => e.clickEl("year"))
7138
+ class: v(e.n("title-select"))
7126
7139
  },
7127
7140
  [
7128
- R(e.$slots, "year", { year: e.chooseYear }, () => [
7129
- Ie(
7130
- ie(e.chooseYear),
7131
- 1
7132
- /* TEXT */
7133
- )
7134
- ])
7141
+ B(
7142
+ "div",
7143
+ {
7144
+ class: v(e.n("title-hint"))
7145
+ },
7146
+ ae((t = e.hint) != null ? t : e.pack.datePickerHint),
7147
+ 3
7148
+ /* TEXT, CLASS */
7149
+ ),
7150
+ B(
7151
+ "div",
7152
+ {
7153
+ class: v(e.classes(e.n("title-year"), [e.isYearPanel, e.n("title-year--active")])),
7154
+ onClick: n[0] || (n[0] = (i) => e.clickEl("year"))
7155
+ },
7156
+ [
7157
+ R(e.$slots, "year", { year: e.chooseYear }, () => [
7158
+ Ie(
7159
+ ae(e.chooseYear),
7160
+ 1
7161
+ /* TEXT */
7162
+ )
7163
+ ])
7164
+ ],
7165
+ 2
7166
+ /* CLASS */
7167
+ )
7135
7168
  ],
7136
7169
  2
7137
7170
  /* CLASS */
@@ -7140,24 +7173,24 @@ function My(e, n) {
7140
7173
  "div",
7141
7174
  {
7142
7175
  class: v(e.classes(e.n("title-date"), [!e.isYearPanel, e.n("title-date--active")], [e.range, e.n("title-date--range")])),
7143
- onClick: n[1] || (n[1] = (a) => e.clickEl("date"))
7176
+ onClick: n[1] || (n[1] = (i) => e.clickEl("date"))
7144
7177
  },
7145
7178
  [
7146
7179
  Z(We, {
7147
7180
  name: e.multiple ? "" : `${e.n()}${e.reverse ? "-reverse" : ""}-translatey`
7148
7181
  }, {
7149
7182
  default: me(() => {
7150
- var a, i, l;
7183
+ var i, l, s;
7151
7184
  return [
7152
7185
  e.type === "month" ? (p(), S("div", {
7153
- key: `${e.chooseYear}${(a = e.chooseMonth) == null ? void 0 : a.index}`
7186
+ key: `${e.chooseYear}${(i = e.chooseMonth) == null ? void 0 : i.index}`
7154
7187
  }, [
7155
7188
  e.range ? R(e.$slots, "range", {
7156
7189
  key: 0,
7157
7190
  choose: e.getChoose.chooseRangeMonth
7158
7191
  }, () => [
7159
7192
  Ie(
7160
- ie(e.getMonthTitle),
7193
+ ae(e.getMonthTitle),
7161
7194
  1
7162
7195
  /* TEXT */
7163
7196
  )
@@ -7166,30 +7199,30 @@ function My(e, n) {
7166
7199
  choose: e.getChoose.chooseMonths
7167
7200
  }, () => [
7168
7201
  Ie(
7169
- ie(e.getMonthTitle),
7202
+ ae(e.getMonthTitle),
7170
7203
  1
7171
7204
  /* TEXT */
7172
7205
  )
7173
7206
  ]) : R(e.$slots, "month", {
7174
7207
  key: 2,
7175
- month: (i = e.chooseMonth) == null ? void 0 : i.index,
7208
+ month: (l = e.chooseMonth) == null ? void 0 : l.index,
7176
7209
  year: e.chooseYear
7177
7210
  }, () => [
7178
7211
  Ie(
7179
- ie(e.getMonthTitle),
7212
+ ae(e.getMonthTitle),
7180
7213
  1
7181
7214
  /* TEXT */
7182
7215
  )
7183
7216
  ])
7184
7217
  ])) : (p(), S("div", {
7185
- key: `${e.chooseYear}${(l = e.chooseMonth) == null ? void 0 : l.index}${e.chooseDay}`
7218
+ key: `${e.chooseYear}${(s = e.chooseMonth) == null ? void 0 : s.index}${e.chooseDay}`
7186
7219
  }, [
7187
7220
  e.range ? R(e.$slots, "range", {
7188
7221
  key: 0,
7189
7222
  choose: e.formatRange
7190
7223
  }, () => [
7191
7224
  Ie(
7192
- ie(e.getDateTitle),
7225
+ ae(e.getDateTitle),
7193
7226
  1
7194
7227
  /* TEXT */
7195
7228
  )
@@ -7198,13 +7231,13 @@ function My(e, n) {
7198
7231
  choose: e.getChoose.chooseDays
7199
7232
  }, () => [
7200
7233
  Ie(
7201
- ie(e.getDateTitle),
7234
+ ae(e.getDateTitle),
7202
7235
  1
7203
7236
  /* TEXT */
7204
7237
  )
7205
7238
  ]) : R(e.$slots, "date", st(ze({ key: 2 }, e.slotProps)), () => [
7206
7239
  Ie(
7207
- ie(e.getDateTitle),
7240
+ ae(e.getDateTitle),
7208
7241
  1
7209
7242
  /* TEXT */
7210
7243
  )
@@ -7227,21 +7260,21 @@ function My(e, n) {
7227
7260
  "div",
7228
7261
  {
7229
7262
  class: v(e.n("body")),
7230
- onTouchstart: n[2] || (n[2] = (...a) => e.handleTouchstart && e.handleTouchstart(...a)),
7231
- onTouchmove: n[3] || (n[3] = (...a) => e.handleTouchmove && e.handleTouchmove(...a)),
7232
- onTouchend: n[4] || (n[4] = (...a) => e.handleTouchend && e.handleTouchend(...a))
7263
+ onTouchstart: n[2] || (n[2] = (...i) => e.handleTouchstart && e.handleTouchstart(...i)),
7264
+ onTouchmove: n[3] || (n[3] = (...i) => e.handleTouchmove && e.handleTouchmove(...i)),
7265
+ onTouchend: n[4] || (n[4] = (...i) => e.handleTouchend && e.handleTouchend(...i))
7233
7266
  },
7234
7267
  [
7235
7268
  Z(We, {
7236
7269
  name: `${e.n()}-panel-fade`
7237
7270
  }, {
7238
7271
  default: me(() => [
7239
- e.getPanelType === "year" ? (p(), $e(t, {
7272
+ e.getPanelType === "year" ? (p(), $e(o, {
7240
7273
  key: 0,
7241
7274
  "component-props": e.componentProps,
7242
7275
  preview: e.previewYear,
7243
7276
  onChooseYear: e.getChooseYear
7244
- }, null, 8, ["component-props", "preview", "onChooseYear"])) : e.getPanelType === "month" ? (p(), $e(o, {
7277
+ }, null, 8, ["component-props", "preview", "onChooseYear"])) : e.getPanelType === "month" ? (p(), $e(r, {
7245
7278
  key: 1,
7246
7279
  ref: "monthPanelEl",
7247
7280
  current: e.currentDate,
@@ -7251,7 +7284,7 @@ function My(e, n) {
7251
7284
  "component-props": e.componentProps,
7252
7285
  onChooseMonth: e.getChooseMonth,
7253
7286
  onCheckPreview: e.checkPreview
7254
- }, null, 8, ["current", "choose", "preview", "click-year", "component-props", "onChooseMonth", "onCheckPreview"])) : e.getPanelType === "date" ? (p(), $e(r, {
7287
+ }, null, 8, ["current", "choose", "preview", "click-year", "component-props", "onChooseMonth", "onCheckPreview"])) : e.getPanelType === "date" ? (p(), $e(a, {
7255
7288
  key: 2,
7256
7289
  ref: "dayPanelEl",
7257
7290
  current: e.currentDate,
@@ -7312,7 +7345,7 @@ const mf = x({
7312
7345
  if (Me)
7313
7346
  return b.value.length ? `${b.value[0]} ~ ${b.value[1]}` : "";
7314
7347
  let Be = "";
7315
- return s.value && (Be = (Ce = (fe = nn.value.datePickerMonthDict) == null ? void 0 : fe[s.value.index].name) != null ? Ce : ""), ye ? `${g.value.length}${nn.value.datePickerSelected}` : Be;
7348
+ return s.value && (Be = (Ce = (fe = Qe.value.datePickerMonthDict) == null ? void 0 : fe[s.value.index].name) != null ? Ce : ""), ye ? `${g.value.length}${Qe.value.datePickerSelected}` : Be;
7316
7349
  }), D = M(() => {
7317
7350
  var fe, Ce, ye, Me;
7318
7351
  const { multiple: Be, range: Je } = e;
@@ -7321,12 +7354,12 @@ const mf = x({
7321
7354
  return no.length ? `${no[0]} ~ ${no[1]}` : "";
7322
7355
  }
7323
7356
  if (Be)
7324
- return `${h.value.length}${nn.value.datePickerSelected}`;
7357
+ return `${h.value.length}${Qe.value.datePickerSelected}`;
7325
7358
  if (!u.value || !s.value || !d.value)
7326
7359
  return "";
7327
- const bn = ve(`${u.value}-${s.value.index}-${d.value}`).day(), Pn = ro.find((no) => no.index === `${bn}`), Ct = (Ce = (fe = nn.value.datePickerWeekDict) == null ? void 0 : fe[Pn.index].name) != null ? Ce : "", Qv = (Me = (ye = nn.value.datePickerMonthDict) == null ? void 0 : ye[s.value.index].name) != null ? Me : "", _v = kt(d.value, 2, "0");
7328
- return nn.value.lang === "zh-CN" ? `${s.value.index}-${_v} ${Ct.slice(0, 3)}` : `${Ct.slice(0, 3)}, ${Qv.slice(0, 3)} ${d.value}`;
7329
- }), O = M(() => a.value ? "year" : e.type === "month" || i.value ? "month" : e.type === "date" ? "date" : ""), N = M(() => !e.touchable || ["", "year"].includes(O.value)), L = M(() => {
7360
+ const bn = ve(`${u.value}-${s.value.index}-${d.value}`).day(), Pn = ro.find((no) => no.index === `${bn}`), Ct = (Ce = (fe = Qe.value.datePickerWeekDict) == null ? void 0 : fe[Pn.index].name) != null ? Ce : "", Qv = (Me = (ye = Qe.value.datePickerMonthDict) == null ? void 0 : ye[s.value.index].name) != null ? Me : "", _v = kt(d.value, 2, "0");
7361
+ return Qe.value.lang === "zh-CN" ? `${s.value.index}-${_v} ${Ct.slice(0, 3)}` : `${Ct.slice(0, 3)}, ${Qv.slice(0, 3)} ${d.value}`;
7362
+ }), O = M(() => a.value ? "year" : e.type === "month" || i.value ? "month" : e.type === "date" ? "date" : ""), N = M(() => !e.touchable || ["", "year"].includes(O.value)), z = M(() => {
7330
7363
  var fe, Ce, ye, Me;
7331
7364
  const Be = ve(`${u.value}-${(fe = s.value) == null ? void 0 : fe.index}-${d.value}`).day(), Je = d.value ? kt(d.value, 2, "0") : "";
7332
7365
  return {
@@ -7397,7 +7430,7 @@ const mf = x({
7397
7430
  Je === -1 ? Be.push(fe) : Be.splice(Je, 1), y(e["onUpdate:modelValue"], Be), y(e.onChange, Be);
7398
7431
  }
7399
7432
  function W(fe, Ce) {
7400
- return !u.value || !s.value ? !1 : te.value ? fe === "month" ? Ce.index < s.value.index : G.value ? Ce < z(d.value) : s.value.index > c.value.index : u.value > f.value;
7433
+ return !u.value || !s.value ? !1 : te.value ? fe === "month" ? Ce.index < s.value.index : G.value ? Ce < L(d.value) : s.value.index > c.value.index : u.value > f.value;
7401
7434
  }
7402
7435
  function he(fe) {
7403
7436
  const { readonly: Ce, range: ye, multiple: Me, onChange: Be, "onUpdate:modelValue": Je } = e;
@@ -7413,21 +7446,21 @@ const mf = x({
7413
7446
  const Ct = `${f.value}-${fe.index}`;
7414
7447
  Me ? ue(Ct, "month") : Be ? V(Ct, "month") : (y(Pn, Ct), y(Je, Ct));
7415
7448
  } else
7416
- c.value = fe, y(bn, z(f.value), z(c.value.index));
7449
+ c.value = fe, y(bn, L(f.value), L(c.value.index));
7417
7450
  i.value = !1;
7418
7451
  }
7419
7452
  function oe(fe) {
7420
- f.value = `${fe}`, a.value = !1, i.value = !0, y(e.onPreview, z(f.value), z(c.value.index));
7453
+ f.value = `${fe}`, a.value = !1, i.value = !0, y(e.onPreview, L(f.value), L(c.value.index));
7421
7454
  }
7422
7455
  function de(fe, Ce) {
7423
7456
  const ye = Ce === "prev" ? -1 : 1;
7424
7457
  if (fe === "year")
7425
- f.value = `${z(f.value) + ye}`;
7458
+ f.value = `${L(f.value) + ye}`;
7426
7459
  else {
7427
- let Me = z(c.value.index) + ye;
7428
- Me < 1 && (f.value = `${z(f.value) - 1}`, Me = 12), Me > 12 && (f.value = `${z(f.value) + 1}`, Me = 1), c.value = nr.find((Be) => z(Be.index) === Me);
7460
+ let Me = L(c.value.index) + ye;
7461
+ Me < 1 && (f.value = `${L(f.value) - 1}`, Me = 12), Me > 12 && (f.value = `${L(f.value) + 1}`, Me = 1), c.value = nr.find((Be) => L(Be.index) === Me);
7429
7462
  }
7430
- y(e.onPreview, z(f.value), z(c.value.index));
7463
+ y(e.onPreview, L(f.value), L(c.value.index));
7431
7464
  }
7432
7465
  function ke() {
7433
7466
  return (e.multiple || e.range) && !Ae(e.modelValue) ? (console.error('[Varlet] DatePicker: type of prop "modelValue" should be an Array'), !1) : !e.multiple && !e.range && Ae(e.modelValue) ? (console.error('[Varlet] DatePicker: type of prop "modelValue" should be a String'), !1) : !0;
@@ -7474,8 +7507,9 @@ const mf = x({
7474
7507
  getChoose: P,
7475
7508
  getPreview: I,
7476
7509
  componentProps: $,
7477
- slotProps: L,
7510
+ slotProps: z,
7478
7511
  formatRange: U,
7512
+ pack: Qe,
7479
7513
  n: Iy,
7480
7514
  classes: By,
7481
7515
  clickEl: le,
@@ -7556,7 +7590,7 @@ var Ly = Object.defineProperty, mu = Object.getOwnPropertySymbols, Ry = Object.p
7556
7590
  };
7557
7591
  const { name: Fy, n: Yy, classes: jy } = ee("dialog");
7558
7592
  function Wy(e, n) {
7559
- const t = ae("var-button"), o = ae("var-popup");
7593
+ const t = ie("var-button"), o = ie("var-popup");
7560
7594
  return p(), $e(o, {
7561
7595
  class: v(e.n("popup")),
7562
7596
  "var-dialog-cover": "",
@@ -7592,7 +7626,7 @@ function Wy(e, n) {
7592
7626
  var r;
7593
7627
  return [
7594
7628
  Ie(
7595
- ie((r = e.title) != null ? r : e.pack.dialogTitle),
7629
+ ae((r = e.title) != null ? r : e.pack.dialogTitle),
7596
7630
  1
7597
7631
  /* TEXT */
7598
7632
  )
@@ -7611,7 +7645,7 @@ function Wy(e, n) {
7611
7645
  [
7612
7646
  R(e.$slots, "default", {}, () => [
7613
7647
  Ie(
7614
- ie(e.message),
7648
+ ae(e.message),
7615
7649
  1
7616
7650
  /* TEXT */
7617
7651
  )
@@ -7639,7 +7673,7 @@ function Wy(e, n) {
7639
7673
  var r;
7640
7674
  return [
7641
7675
  Ie(
7642
- ie((r = e.cancelButtonText) != null ? r : e.pack.dialogCancelButtonText),
7676
+ ae((r = e.cancelButtonText) != null ? r : e.pack.dialogCancelButtonText),
7643
7677
  1
7644
7678
  /* TEXT */
7645
7679
  )
@@ -7661,7 +7695,7 @@ function Wy(e, n) {
7661
7695
  var r;
7662
7696
  return [
7663
7697
  Ie(
7664
- ie((r = e.confirmButtonText) != null ? r : e.pack.dialogConfirmButtonText),
7698
+ ae((r = e.confirmButtonText) != null ? r : e.pack.dialogConfirmButtonText),
7665
7699
  1
7666
7700
  /* TEXT */
7667
7701
  )
@@ -7740,7 +7774,7 @@ const hf = x({
7740
7774
  y(e["onUpdate:show"], !1);
7741
7775
  }
7742
7776
  return {
7743
- pack: nn,
7777
+ pack: Qe,
7744
7778
  popupShow: n,
7745
7779
  popupCloseOnClickOverlay: t,
7746
7780
  n: Yy,
@@ -7763,7 +7797,7 @@ var Ao = hf, qy = Object.defineProperty, Gy = Object.defineProperties, Xy = Obje
7763
7797
  }, Jy = (e, n) => Gy(e, Xy(n));
7764
7798
  let ot, pr = {};
7765
7799
  function Qy(e = {}) {
7766
- return en(e) ? Jy(Rr({}, pr), { message: e }) : Rr(Rr({}, pr), e);
7800
+ return nn(e) ? Jy(Rr({}, pr), { message: e }) : Rr(Rr({}, pr), e);
7767
7801
  }
7768
7802
  function Bt(e) {
7769
7803
  return Jn() ? new Promise((n) => {
@@ -7848,7 +7882,7 @@ function t1(e, n) {
7848
7882
  key: 0,
7849
7883
  class: v(e.n("text"))
7850
7884
  },
7851
- ie(e.description),
7885
+ ae(e.description),
7852
7886
  3
7853
7887
  /* TEXT, CLASS */
7854
7888
  )) : Q("v-if", !0)
@@ -7869,7 +7903,7 @@ const pf = x({
7869
7903
  const { inset: i, vertical: l, margin: s } = e;
7870
7904
  if (gi(i) || l)
7871
7905
  return { margin: s };
7872
- const u = z(i), d = Math.abs(u) + (i + "").replace(u + "", "");
7906
+ const u = L(i), d = Math.abs(u) + (i + "").replace(u + "", "");
7873
7907
  return {
7874
7908
  margin: s,
7875
7909
  width: `calc(100% - ${Se(d)})`,
@@ -8005,7 +8039,7 @@ const gf = x({
8005
8039
  o.value = G, r.value = j;
8006
8040
  }
8007
8041
  function I() {
8008
- const G = xe(t.value), j = xe(window), X = G.top - j.top, J = j.bottom - G.bottom, Y = G.left - j.left, le = j.right - G.right, { width: q, height: ne } = G, { width: H, height: _ } = j;
8042
+ const G = en(t.value), j = en(window), X = G.top - j.top, J = j.bottom - G.bottom, Y = G.left - j.left, le = j.right - G.right, { width: q, height: ne } = G, { width: H, height: _ } = j;
8009
8043
  return {
8010
8044
  top: X,
8011
8045
  bottom: J,
@@ -8043,7 +8077,7 @@ const gf = x({
8043
8077
  const { top: G = 0, bottom: j = 0, left: X = 0, right: J = 0 } = e.boundary;
8044
8078
  b.top = Fe(G), b.bottom = Fe(j), b.left = Fe(X), b.right = Fe(J);
8045
8079
  }
8046
- function L() {
8080
+ function z() {
8047
8081
  var G;
8048
8082
  const j = (G = n.style) != null ? G : {};
8049
8083
  return wu($u({}, n), {
@@ -8072,7 +8106,7 @@ const gf = x({
8072
8106
  teleportDisabled: h,
8073
8107
  n: c1,
8074
8108
  classes: f1,
8075
- getAttrs: L,
8109
+ getAttrs: z,
8076
8110
  handleTouchstart: w,
8077
8111
  handleTouchmove: E,
8078
8112
  handleTouchend: T,
@@ -8387,9 +8421,9 @@ function Sf(e, n) {
8387
8421
  bottom: O.bottom - P.bottom + w.bottom,
8388
8422
  left: P.left - O.left + w.left,
8389
8423
  right: O.right - P.right + w.right
8390
- }, L = e.modifiersData.offset;
8391
- if (f === to && L) {
8392
- var U = L[r];
8424
+ }, z = e.modifiersData.offset;
8425
+ if (f === to && z) {
8426
+ var U = z[r];
8393
8427
  Object.keys(N).forEach(function(te) {
8394
8428
  var G = [Pt, pt].indexOf(te) >= 0 ? 1 : -1, j = [Gn, pt].indexOf(te) >= 0 ? "y" : "x";
8395
8429
  N[te] += U[j] * G;
@@ -8436,8 +8470,8 @@ function Y1(e) {
8436
8470
  allowedAutoPlacements: h
8437
8471
  }) : V);
8438
8472
  }, []), P = n.rects.reference, I = n.rects.popper, k = /* @__PURE__ */ new Map(), D = !0, O = $[0], N = 0; N < $.length; N++) {
8439
- var L = $[N], U = dt(L), te = bo(L) === Br, G = [Gn, pt].indexOf(U) >= 0, j = G ? "width" : "height", X = Sf(n, {
8440
- placement: L,
8473
+ var z = $[N], U = dt(z), te = bo(z) === Br, G = [Gn, pt].indexOf(U) >= 0, j = G ? "width" : "height", X = Sf(n, {
8474
+ placement: z,
8441
8475
  boundary: d,
8442
8476
  rootBoundary: c,
8443
8477
  altBoundary: f,
@@ -8448,10 +8482,10 @@ function Y1(e) {
8448
8482
  if (a && le.push(X[U] <= 0), l && le.push(X[J] <= 0, X[Y] <= 0), le.every(function(ue) {
8449
8483
  return ue;
8450
8484
  })) {
8451
- O = L, D = !1;
8485
+ O = z, D = !1;
8452
8486
  break;
8453
8487
  }
8454
- k.set(L, le);
8488
+ k.set(z, le);
8455
8489
  }
8456
8490
  if (D)
8457
8491
  for (var q = g ? 3 : 1, ne = function(V) {
@@ -8549,7 +8583,7 @@ function Tu(e) {
8549
8583
  m -= N - o.width, m *= s ? 1 : -1;
8550
8584
  }
8551
8585
  }
8552
- var L = Object.assign({
8586
+ var z = Object.assign({
8553
8587
  position: l
8554
8588
  }, u && X1), U = d === !0 ? K1({
8555
8589
  x: m,
@@ -8560,9 +8594,9 @@ function Tu(e) {
8560
8594
  };
8561
8595
  if (m = U.x, h = U.y, s) {
8562
8596
  var te;
8563
- return Object.assign({}, L, (te = {}, te[$] = E ? "0" : "", te[T] = w ? "0" : "", te.transform = (P.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + h + "px)" : "translate3d(" + m + "px, " + h + "px, 0)", te));
8597
+ return Object.assign({}, z, (te = {}, te[$] = E ? "0" : "", te[T] = w ? "0" : "", te.transform = (P.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + h + "px)" : "translate3d(" + m + "px, " + h + "px, 0)", te));
8564
8598
  }
8565
- return Object.assign({}, L, (n = {}, n[$] = E ? h + "px" : "", n[T] = w ? m + "px" : "", n.transform = "", n));
8599
+ return Object.assign({}, z, (n = {}, n[$] = E ? h + "px" : "", n[T] = w ? m + "px" : "", n.transform = "", n));
8566
8600
  }
8567
8601
  function Z1(e) {
8568
8602
  var n = e.state, t = e.options, o = t.gpuAcceleration, r = o === void 0 ? !0 : o, a = t.adaptive, i = a === void 0 ? !0 : a, l = t.roundOffsets, s = l === void 0 ? !0 : l, u = {
@@ -8961,13 +8995,13 @@ function Pf(e) {
8961
8995
  }, E = () => {
8962
8996
  I(), y(e.onClosed);
8963
8997
  }, T = () => {
8964
- const { offsetX: O, offsetY: N, placement: L } = e;
8998
+ const { offsetX: O, offsetY: N, placement: z } = e;
8965
8999
  u();
8966
9000
  const U = {
8967
9001
  x: Fe(O),
8968
9002
  y: Fe(N)
8969
9003
  };
8970
- switch (L) {
9004
+ switch (z) {
8971
9005
  case "cover-top":
8972
9006
  return {
8973
9007
  placement: "bottom",
@@ -9020,7 +9054,7 @@ function Pf(e) {
9020
9054
  case "left-start":
9021
9055
  case "left-end":
9022
9056
  return {
9023
- placement: L,
9057
+ placement: z,
9024
9058
  skidding: U.y,
9025
9059
  distance: -U.x
9026
9060
  };
@@ -9028,7 +9062,7 @@ function Pf(e) {
9028
9062
  case "top-start":
9029
9063
  case "top-end":
9030
9064
  return {
9031
- placement: L,
9065
+ placement: z,
9032
9066
  skidding: U.x,
9033
9067
  distance: -U.y
9034
9068
  };
@@ -9036,7 +9070,7 @@ function Pf(e) {
9036
9070
  case "bottom-start":
9037
9071
  case "bottom-end":
9038
9072
  return {
9039
- placement: L,
9073
+ placement: z,
9040
9074
  skidding: U.x,
9041
9075
  distance: U.y
9042
9076
  };
@@ -9044,19 +9078,19 @@ function Pf(e) {
9044
9078
  case "right-start":
9045
9079
  case "right-end":
9046
9080
  return {
9047
- placement: L,
9081
+ placement: z,
9048
9082
  skidding: U.y,
9049
9083
  distance: U.x
9050
9084
  };
9051
9085
  }
9052
9086
  }, $ = () => {
9053
- const { placement: O, skidding: N, distance: L } = T(), U = [
9087
+ const { placement: O, skidding: N, distance: z } = T(), U = [
9054
9088
  Hr(Ur({}, j1), {
9055
9089
  enabled: r.value
9056
9090
  }),
9057
9091
  Hr(Ur({}, G1), {
9058
9092
  options: {
9059
- offset: [N, L]
9093
+ offset: [N, z]
9060
9094
  }
9061
9095
  }),
9062
9096
  Hr(Ur({}, kf), {
@@ -9198,7 +9232,7 @@ function k$(e, n) {
9198
9232
  [
9199
9233
  R(e.$slots, "content", {}, () => [
9200
9234
  Ie(
9201
- ie(e.content),
9235
+ ae(e.content),
9202
9236
  1
9203
9237
  /* TEXT */
9204
9238
  )
@@ -9295,7 +9329,7 @@ var O$ = Object.defineProperty, Nu = Object.getOwnPropertySymbols, T$ = Object.p
9295
9329
  };
9296
9330
  const { name: B$, n: M$, classes: D$ } = ee("ellipsis"), N$ = { key: 0 };
9297
9331
  function V$(e, n) {
9298
- const t = ae("var-tooltip");
9332
+ const t = ie("var-tooltip");
9299
9333
  return p(), $e(
9300
9334
  t,
9301
9335
  st(Io(e.tooltip)),
@@ -9307,7 +9341,7 @@ function V$(e, n) {
9307
9341
  (o = e.tooltip) != null && o.content ? (p(), S(
9308
9342
  "span",
9309
9343
  N$,
9310
- ie(e.tooltip.content),
9344
+ ae(e.tooltip.content),
9311
9345
  1
9312
9346
  /* TEXT */
9313
9347
  )) : R(e.$slots, "default", { key: 1 })
@@ -9581,7 +9615,7 @@ const bl = {
9581
9615
  onClear: A()
9582
9616
  }, { name: L$, n: Yr, classes: R$ } = ee("field-decorator"), U$ = ["for"];
9583
9617
  function H$(e, n) {
9584
- const t = ae("var-icon");
9618
+ const t = ie("var-icon");
9585
9619
  return p(), S(
9586
9620
  "div",
9587
9621
  {
@@ -9649,7 +9683,7 @@ function H$(e, n) {
9649
9683
  B(
9650
9684
  "span",
9651
9685
  null,
9652
- ie(e.placeholder),
9686
+ ae(e.placeholder),
9653
9687
  1
9654
9688
  /* TEXT */
9655
9689
  )
@@ -9714,7 +9748,7 @@ function H$(e, n) {
9714
9748
  e.classes(e.n("placeholder-text"), e.n("$--ellipsis"), [e.size === "small", e.n("placeholder-text--small")])
9715
9749
  )
9716
9750
  },
9717
- ie(e.placeholder),
9751
+ ae(e.placeholder),
9718
9752
  3
9719
9753
  /* TEXT, CLASS */
9720
9754
  )
@@ -9849,7 +9883,9 @@ function G$(e, n) {
9849
9883
  style: F({
9850
9884
  height: `${e.toSizeUnit(e.maxAnchor)}`,
9851
9885
  transform: `translateY(calc(100% - ${e.toSizeUnit(e.visibleHeight)}))`,
9852
- transition: e.touching ? "none" : `transform ${e.toNumber(e.duration)}ms var(--floating-panel-transition-timing-function)`
9886
+ transition: e.touching ? "none" : `transform ${e.toNumber(
9887
+ e.duration
9888
+ )}ms var(--floating-panel-transition-timing-function), background-color 0.25s`
9853
9889
  }),
9854
9890
  onTouchstart: n[0] || (n[0] = (...t) => e.handleTouchstart && e.handleTouchstart(...t)),
9855
9891
  onTouchmove: n[1] || (n[1] = (...t) => e.handleTouchmove && e.handleTouchmove(...t)),
@@ -9919,9 +9955,11 @@ const If = x({
9919
9955
  function $(O) {
9920
9956
  var N;
9921
9957
  m(O);
9922
- const L = O.target;
9923
- if ((t.value === L || ((N = t.value) == null ? void 0 : N.contains(L))) && !e.contentDraggable) {
9924
- (h(t.value) || b(t.value)) && Ln(O);
9958
+ const z = O.target, U = t.value === z || ((N = t.value) == null ? void 0 : N.contains(z));
9959
+ if (U && !e.contentDraggable)
9960
+ return;
9961
+ if (U && e.contentDraggable && n.value >= s.value && !h(t.value)) {
9962
+ b(t.value) && Ln(O);
9925
9963
  return;
9926
9964
  }
9927
9965
  const te = w - d.value;
@@ -9949,11 +9987,11 @@ const If = x({
9949
9987
  function D(O) {
9950
9988
  if (i.value.includes(O))
9951
9989
  return O;
9952
- let N = 1 / 0, L = 0;
9990
+ let N = 1 / 0, z = 0;
9953
9991
  return i.value.forEach((U) => {
9954
9992
  const te = Math.abs(U - O);
9955
- te < N && (N = te, L = U);
9956
- }), L;
9993
+ te < N && (N = te, z = U);
9994
+ }), z;
9957
9995
  }
9958
9996
  return {
9959
9997
  contentRef: t,
@@ -9965,7 +10003,7 @@ const If = x({
9965
10003
  n: j$,
9966
10004
  classes: W$,
9967
10005
  toSizeUnit: Se,
9968
- toNumber: z,
10006
+ toNumber: L,
9969
10007
  formatElevation: un,
9970
10008
  handleTouchstart: T,
9971
10009
  handleTouchmove: $,
@@ -10266,7 +10304,7 @@ var Nt = (e, n, t) => new Promise((o, r) => {
10266
10304
  });
10267
10305
  const aw = 250, iw = 20, { name: lw, n: Lu, classes: sw } = ee("swipe"), uw = ["onClick"];
10268
10306
  function dw(e, n) {
10269
- const t = ae("var-icon"), o = ae("var-button"), r = Ve("hover");
10307
+ const t = ie("var-icon"), o = ie("var-button"), r = Ve("hover");
10270
10308
  return Te((p(), S(
10271
10309
  "div",
10272
10310
  {
@@ -10443,7 +10481,7 @@ const Vf = x({
10443
10481
  moveTouch: D,
10444
10482
  endTouch: O
10445
10483
  } = xt(), N = M(() => P.value === (e.vertical ? "vertical" : "horizontal"));
10446
- let L = !1, U = -1;
10484
+ let z = !1, U = -1;
10447
10485
  d({
10448
10486
  size: t,
10449
10487
  vertical: o
@@ -10482,13 +10520,13 @@ const Vf = x({
10482
10520
  });
10483
10521
  }
10484
10522
  function q() {
10485
- L || (l.value = Y(z(e.initialIndex)), L = !0);
10523
+ z || (l.value = Y(L(e.initialIndex)), z = !0);
10486
10524
  }
10487
10525
  function ne() {
10488
10526
  const { autoplay: se } = e;
10489
10527
  !se || c.value <= 1 || (H(), U = window.setTimeout(() => {
10490
10528
  de(), ne();
10491
- }, z(se)));
10529
+ }, L(se)));
10492
10530
  }
10493
10531
  function H() {
10494
10532
  U && clearTimeout(U);
@@ -10578,7 +10616,7 @@ const Vf = x({
10578
10616
  prev: ke,
10579
10617
  to: Ue,
10580
10618
  resize: oe,
10581
- toNumber: z,
10619
+ toNumber: L,
10582
10620
  handleHovering: he,
10583
10621
  getNavigationAnimation: Ee
10584
10622
  };
@@ -10678,7 +10716,7 @@ const bw = Hu(Hu({
10678
10716
  "onRouteChange"
10679
10717
  ])), { name: yw, n: Fu, classes: $w } = ee("image-preview"), jr = 12, Yu = 200, ww = 350, ju = 200, Cw = 500, Sw = ["onTouchstart"], kw = ["src", "alt"];
10680
10718
  function Pw(e, n) {
10681
- const t = ae("var-swipe-item"), o = ae("var-swipe"), r = ae("var-icon"), a = ae("var-popup");
10719
+ const t = ie("var-swipe-item"), o = ie("var-swipe"), r = ie("var-icon"), a = ie("var-popup");
10682
10720
  return p(), $e(a, {
10683
10721
  class: v(e.n("popup")),
10684
10722
  "var-image-preview-cover": "",
@@ -10752,7 +10790,7 @@ function Pw(e, n) {
10752
10790
  key: 0,
10753
10791
  class: v(e.n("indicators"))
10754
10792
  },
10755
- ie(i + 1) + " / " + ie(l),
10793
+ ae(i + 1) + " / " + ae(l),
10756
10794
  3
10757
10795
  /* TEXT, CLASS */
10758
10796
  )) : Q("v-if", !0)
@@ -10800,7 +10838,7 @@ const zf = x({
10800
10838
  const n = C(!1), t = C(1), o = C(0), r = C(0), a = C(), i = C(), l = C(!0), s = C(null), { moveX: u, moveY: d, distance: c, startTime: f, startTouch: m, moveTouch: g, endTouch: h } = xt(), b = M(() => {
10801
10839
  const { images: H, current: _, initialIndex: ue } = e;
10802
10840
  if (ue != null)
10803
- return z(ue);
10841
+ return L(ue);
10804
10842
  const V = H.findIndex((W) => W === _);
10805
10843
  return Math.max(V, 0);
10806
10844
  }), w = M(() => {
@@ -10820,7 +10858,7 @@ const zf = x({
10820
10858
  { immediate: !0 }
10821
10859
  );
10822
10860
  function I() {
10823
- t.value = z(e.zoom), l.value = !1, P.prev = null, window.setTimeout(() => {
10861
+ t.value = L(e.zoom), l.value = !1, P.prev = null, window.setTimeout(() => {
10824
10862
  a.value = "linear", i.value = "0s";
10825
10863
  }, ju);
10826
10864
  }
@@ -10836,7 +10874,7 @@ const zf = x({
10836
10874
  function N() {
10837
10875
  h(), window.clearTimeout(T), $ = !1, P.start = null;
10838
10876
  }
10839
- function L(H) {
10877
+ function z(H) {
10840
10878
  if (h(), window.clearTimeout(T), $) {
10841
10879
  $ = !1;
10842
10880
  return;
@@ -10864,7 +10902,7 @@ const zf = x({
10864
10902
  height: ue,
10865
10903
  imageRadio: W / V,
10866
10904
  rootRadio: ue / _,
10867
- zoom: z(e.zoom)
10905
+ zoom: L(e.zoom)
10868
10906
  };
10869
10907
  }
10870
10908
  function G(H) {
@@ -10929,7 +10967,7 @@ const zf = x({
10929
10967
  classes: $w,
10930
10968
  handleTouchstart: U,
10931
10969
  handleTouchmove: X,
10932
- handleTouchend: L,
10970
+ handleTouchend: z,
10933
10971
  handleTouchcancel: N,
10934
10972
  close: J,
10935
10973
  prev: Y,
@@ -10949,7 +10987,7 @@ var Lo = zf, Ow = Object.defineProperty, Tw = Object.defineProperties, Ew = Obje
10949
10987
  }, Gu = (e, n) => Tw(e, Ew(n));
10950
10988
  let rt, uo = {};
10951
10989
  function Mw(e = {}) {
10952
- return en(e) ? Gu(Xo({}, uo), { images: [e] }) : Ae(e) ? Gu(Xo({}, uo), { images: e }) : Xo(Xo({}, uo), e);
10990
+ return nn(e) ? Gu(Xo({}, uo), { images: [e] }) : Ae(e) ? Gu(Xo({}, uo), { images: e }) : Xo(Xo({}, uo), e);
10953
10991
  }
10954
10992
  function Mt(e) {
10955
10993
  if (!Jn())
@@ -11072,10 +11110,10 @@ const Lf = x({
11072
11110
  return;
11073
11111
  let P = 0;
11074
11112
  if (m !== window) {
11075
- const { top: L } = xe(m);
11076
- P = L;
11113
+ const { top: z } = en(m);
11114
+ P = z;
11077
11115
  }
11078
- const I = t.value, k = n.value, { top: D, left: O } = xe(k), N = D - P;
11116
+ const I = t.value, k = n.value, { top: D, left: O } = en(k), N = D - P;
11079
11117
  return N <= f.value ? (T || (i.value = `${k.offsetWidth}px`, l.value = `${k.offsetHeight}px`, r.value = `${P + f.value}px`, a.value = `${O}px`, s.value = `${I.offsetWidth}px`, u.value = `${I.offsetHeight}px`, o.value = !0), {
11080
11118
  offsetTop: f.value,
11081
11119
  isFixed: !0
@@ -11119,7 +11157,7 @@ const Lf = x({
11119
11157
  n: Nw,
11120
11158
  classes: Vw,
11121
11159
  resize: b,
11122
- toNumber: z
11160
+ toNumber: L
11123
11161
  };
11124
11162
  }
11125
11163
  });
@@ -11169,7 +11207,7 @@ function Yw(e, n) {
11169
11207
  [
11170
11208
  R(e.$slots, "default", {}, () => [
11171
11209
  Ie(
11172
- ie(e.name),
11210
+ ae(e.name),
11173
11211
  1
11174
11212
  /* TEXT */
11175
11213
  )
@@ -11289,7 +11327,7 @@ function Kw(e, n) {
11289
11327
  class: v(e.classes(e.n("anchor-item"), [e.active === t, e.n("anchor-item--active")])),
11290
11328
  style: F({ color: e.active === t && e.highlightColor ? e.highlightColor : "" }),
11291
11329
  onClick: (o) => e.anchorClick({ anchorName: t, manualCall: !0 })
11292
- }, ie(t), 15, Xw))),
11330
+ }, ae(t), 15, Xw))),
11293
11331
  128
11294
11332
  /* KEYED_FRAGMENT */
11295
11333
  ))
@@ -11339,13 +11377,13 @@ const Hf = x({
11339
11377
  function b() {
11340
11378
  if (bi(f))
11341
11379
  return 0;
11342
- const { top: k } = xe(f), { scrollTop: D } = f, { top: O } = xe(t.value);
11380
+ const { top: k } = en(f), { scrollTop: D } = f, { top: O } = en(t.value);
11343
11381
  return D - k + O;
11344
11382
  }
11345
11383
  function w() {
11346
11384
  const k = Ht(f), D = f === window ? document.body.scrollHeight : f.scrollHeight, O = b();
11347
- d.forEach((N, L) => {
11348
- const U = N.ownTop.value, te = k - U + l.value - O, G = L === d.length - 1 ? D : d[L + 1].ownTop.value - N.ownTop.value;
11385
+ d.forEach((N, z) => {
11386
+ const U = N.ownTop.value, te = k - U + l.value - O, G = z === d.length - 1 ? D : d[z + 1].ownTop.value - N.ownTop.value;
11349
11387
  N.setDisabled(!0), te >= 0 && te < G && n.value === "" && (N.setDisabled(!1), h(N));
11350
11388
  });
11351
11389
  }
@@ -11353,15 +11391,15 @@ const Hf = x({
11353
11391
  return Ko(this, arguments, function* ({ anchorName: D, manualCall: O = !1, options: N }) {
11354
11392
  if (O && y(e.onClick, D), D === r.value && !m)
11355
11393
  return;
11356
- const L = d.find(({ name: j }) => D === j.value);
11357
- if (!L)
11394
+ const z = d.find(({ name: j }) => D === j.value);
11395
+ if (!z)
11358
11396
  return;
11359
- const U = b(), te = L.ownTop.value - l.value + U, G = yi(f);
11397
+ const U = b(), te = z.ownTop.value - l.value + U, G = yi(f);
11360
11398
  n.value = D, h(D, N), yield vo(f, {
11361
11399
  left: G,
11362
11400
  top: te,
11363
11401
  animation: nc,
11364
- duration: z(e.duration)
11402
+ duration: L(e.duration)
11365
11403
  }), yield fn(), n.value = "";
11366
11404
  });
11367
11405
  }
@@ -11386,7 +11424,7 @@ const Hf = x({
11386
11424
  anchorNameList: o,
11387
11425
  n: qw,
11388
11426
  classes: Gw,
11389
- toNumber: z,
11427
+ toNumber: L,
11390
11428
  scrollTo: I,
11391
11429
  anchorClick: E
11392
11430
  };
@@ -11449,7 +11487,7 @@ const xw = _w({
11449
11487
  "onClick"
11450
11488
  ])), { name: eC, n: nC, classes: tC } = ee("input"), oC = ["placeholder", "enterkeyhint"], rC = ["id", "disabled", "readonly", "type", "value", "placeholder", "maxlength", "rows", "enterkeyhint", "inputmode"], aC = ["id", "disabled", "readonly", "type", "value", "placeholder", "maxlength", "enterkeyhint", "inputmode"];
11451
11489
  function iC(e, n) {
11452
- const t = ae("var-field-decorator"), o = ae("var-form-details");
11490
+ const t = ie("var-field-decorator"), o = ie("var-form-details");
11453
11491
  return p(), S(
11454
11492
  "div",
11455
11493
  {
@@ -11645,7 +11683,7 @@ const Ff = x({
11645
11683
  function T(Y) {
11646
11684
  const le = Y.target;
11647
11685
  let { value: q } = le;
11648
- return e.type === "number" && (q = N(q)), U(L(q));
11686
+ return e.type === "number" && (q = N(q)), U(z(q));
11649
11687
  }
11650
11688
  function $() {
11651
11689
  r.value = !0;
@@ -11675,11 +11713,11 @@ const Ff = x({
11675
11713
  const le = Y.indexOf("-"), q = Y.indexOf(".");
11676
11714
  return le > -1 && (Y = le === 0 ? "-" + Y.replace(/-/g, "") : Y.replace(/-/g, "")), q > -1 && (Y = Y.slice(0, q + 1) + Y.slice(q).replace(/\./g, "")), Y.replace(/[^-0-9.]/g, "");
11677
11715
  }
11678
- function L(Y) {
11716
+ function z(Y) {
11679
11717
  return e.modelModifiers.trim ? Y.trim() : Y;
11680
11718
  }
11681
11719
  function U(Y) {
11682
- return e.maxlength ? Y.slice(0, z(e.maxlength)) : Y;
11720
+ return e.maxlength ? Y.slice(0, L(e.maxlength)) : Y;
11683
11721
  }
11684
11722
  function te(Y) {
11685
11723
  const { disabled: le } = e;
@@ -11877,7 +11915,7 @@ var gC = (e, n, t) => new Promise((o, r) => {
11877
11915
  });
11878
11916
  const { name: bC, n: yC, classes: $C } = ee("list");
11879
11917
  function wC(e, n) {
11880
- const t = ae("var-loading"), o = Ve("ripple");
11918
+ const t = ie("var-loading"), o = Ve("ripple");
11881
11919
  return p(), S(
11882
11920
  "div",
11883
11921
  {
@@ -11900,7 +11938,7 @@ function wC(e, n) {
11900
11938
  {
11901
11939
  class: v(e.n("loading-text"))
11902
11940
  },
11903
- ie((r = e.loadingText) != null ? r : e.pack.listLoadingText),
11941
+ ae((r = e.loadingText) != null ? r : e.pack.listLoadingText),
11904
11942
  3
11905
11943
  /* TEXT, CLASS */
11906
11944
  ),
@@ -11922,7 +11960,7 @@ function wC(e, n) {
11922
11960
  {
11923
11961
  class: v(e.n("finished"))
11924
11962
  },
11925
- ie((r = e.finishedText) != null ? r : e.pack.listFinishedText),
11963
+ ae((r = e.finishedText) != null ? r : e.pack.listFinishedText),
11926
11964
  3
11927
11965
  /* TEXT, CLASS */
11928
11966
  )
@@ -11939,7 +11977,7 @@ function wC(e, n) {
11939
11977
  },
11940
11978
  [
11941
11979
  Ie(
11942
- ie((r = e.errorText) != null ? r : e.pack.listErrorText),
11980
+ ae((r = e.errorText) != null ? r : e.pack.listErrorText),
11943
11981
  1
11944
11982
  /* TEXT */
11945
11983
  )
@@ -11981,7 +12019,7 @@ const qf = x({
11981
12019
  y(e["onUpdate:error"], !1), y(e["onUpdate:loading"], !0), y(e.onLoad);
11982
12020
  }
11983
12021
  function l() {
11984
- const { bottom: d } = xe(a), { bottom: c } = xe(t.value);
12022
+ const { bottom: d } = en(a), { bottom: c } = en(t.value);
11985
12023
  return Math.floor(c) - Fe(e.offset) <= d;
11986
12024
  }
11987
12025
  function s() {
@@ -11993,7 +12031,7 @@ const qf = x({
11993
12031
  });
11994
12032
  }
11995
12033
  return {
11996
- pack: nn,
12034
+ pack: Qe,
11997
12035
  listEl: n,
11998
12036
  detectorEl: t,
11999
12037
  isNumber: mn,
@@ -12282,7 +12320,7 @@ const RC = {
12282
12320
  disabled: Boolean
12283
12321
  }, { name: UC, n: HC, classes: FC } = ee("menu-option");
12284
12322
  function YC(e, n) {
12285
- const t = ae("var-checkbox"), o = ae("var-hover-overlay"), r = Ve("ripple"), a = Ve("hover");
12323
+ const t = ie("var-checkbox"), o = ie("var-hover-overlay"), r = Ve("ripple"), a = Ve("hover");
12286
12324
  return Te((p(), S(
12287
12325
  "div",
12288
12326
  {
@@ -12317,7 +12355,7 @@ function YC(e, n) {
12317
12355
  {
12318
12356
  class: v(e.classes(e.n("text"), e.n("$--ellipsis")))
12319
12357
  },
12320
- ie(e.label),
12358
+ ae(e.label),
12321
12359
  3
12322
12360
  /* TEXT, CLASS */
12323
12361
  )
@@ -12457,7 +12495,7 @@ function ov(e) {
12457
12495
  }
12458
12496
  const { name: KC, n: ZC, classes: JC } = ee("menu-select");
12459
12497
  function QC(e, n) {
12460
- const t = ae("var-menu");
12498
+ const t = ie("var-menu");
12461
12499
  return p(), $e(t, {
12462
12500
  ref: "menu",
12463
12501
  class: v(e.n()),
@@ -12575,7 +12613,7 @@ const eS = {
12575
12613
  disabled: Boolean
12576
12614
  }, { name: nS, n: tS, classes: oS } = ee("option");
12577
12615
  function rS(e, n) {
12578
- const t = ae("var-checkbox"), o = ae("var-hover-overlay"), r = Ve("ripple"), a = Ve("hover");
12616
+ const t = ie("var-checkbox"), o = ie("var-hover-overlay"), r = Ve("ripple"), a = Ve("hover");
12579
12617
  return Te((p(), S(
12580
12618
  "div",
12581
12619
  {
@@ -12615,7 +12653,7 @@ function rS(e, n) {
12615
12653
  {
12616
12654
  class: v(e.classes(e.n("text"), e.n("$--ellipsis")))
12617
12655
  },
12618
- ie(e.label),
12656
+ ae(e.label),
12619
12657
  3
12620
12658
  /* TEXT, CLASS */
12621
12659
  )
@@ -12775,7 +12813,7 @@ const lS = {
12775
12813
  "onUpdate:size": A()
12776
12814
  }, { name: sS, n: uS, classes: dS } = ee("pagination"), cS = ["item-mode", "onClick"];
12777
12815
  function fS(e, n) {
12778
- const t = ae("var-icon"), o = ae("var-input"), r = ae("var-cell"), a = ae("var-menu"), i = Ve("ripple");
12816
+ const t = ie("var-icon"), o = ie("var-input"), r = ie("var-cell"), a = ie("var-menu"), i = Ve("ripple");
12779
12817
  return p(), S(
12780
12818
  "ul",
12781
12819
  {
@@ -12823,7 +12861,7 @@ function fS(e, n) {
12823
12861
  }, null, 8, ["disabled", "modelValue"]),
12824
12862
  B("span", null, [
12825
12863
  Ie(
12826
- " / " + ie(e.pageCount) + " ",
12864
+ " / " + ae(e.pageCount) + " ",
12827
12865
  1
12828
12866
  /* TEXT */
12829
12867
  ),
@@ -12859,7 +12897,7 @@ function fS(e, n) {
12859
12897
  onClick: (u) => e.clickItem(l, s)
12860
12898
  }, [
12861
12899
  Ie(
12862
- ie(l),
12900
+ ae(l),
12863
12901
  1
12864
12902
  /* TEXT */
12865
12903
  )
@@ -12916,7 +12954,7 @@ function fS(e, n) {
12916
12954
  }, {
12917
12955
  default: me(() => [
12918
12956
  Ie(
12919
- ie(l) + ie(e.pack.paginationItem) + " / " + ie(e.pack.paginationPage),
12957
+ ae(l) + ae(e.pack.paginationItem) + " / " + ae(e.pack.paginationPage),
12920
12958
  1
12921
12959
  /* TEXT */
12922
12960
  )
@@ -12941,7 +12979,7 @@ function fS(e, n) {
12941
12979
  B(
12942
12980
  "span",
12943
12981
  null,
12944
- ie(e.size) + ie(e.pack.paginationItem) + " / " + ie(e.pack.paginationPage),
12982
+ ae(e.size) + ae(e.pack.paginationItem) + " / " + ae(e.pack.paginationPage),
12945
12983
  1
12946
12984
  /* TEXT */
12947
12985
  ),
@@ -12970,7 +13008,7 @@ function fS(e, n) {
12970
13008
  },
12971
13009
  [
12972
13010
  Ie(
12973
- ie(e.pack.paginationJump) + " ",
13011
+ ae(e.pack.paginationJump) + " ",
12974
13012
  1
12975
13013
  /* TEXT */
12976
13014
  ),
@@ -12992,7 +13030,7 @@ function fS(e, n) {
12992
13030
  key: 4,
12993
13031
  class: v(e.classes(e.n("total"), [e.disabled, e.n("item--disabled")]))
12994
13032
  },
12995
- ie(e.totalText),
13033
+ ae(e.totalText),
12996
13034
  3
12997
13035
  /* TEXT, CLASS */
12998
13036
  )) : Q("v-if", !0)
@@ -13012,17 +13050,17 @@ const lv = x({
13012
13050
  directives: { Ripple: Ze },
13013
13051
  props: lS,
13014
13052
  setup(e) {
13015
- const n = C(!1), t = C(""), o = C("1"), r = C(!1), a = C(!1), i = C(z(e.current) || 1), l = C(z(e.size) || 10), s = C([]), u = M(() => Math.ceil(e.maxPagerCount / 2)), d = M(() => Math.ceil(z(e.total) / z(l.value))), c = M(() => {
13016
- const $ = l.value * (i.value - 1) + 1, P = Math.min(l.value * i.value, z(e.total));
13053
+ const n = C(!1), t = C(""), o = C("1"), r = C(!1), a = C(!1), i = C(L(e.current) || 1), l = C(L(e.size) || 10), s = C([]), u = M(() => Math.ceil(e.maxPagerCount / 2)), d = M(() => Math.ceil(L(e.total) / L(l.value))), c = M(() => {
13054
+ const $ = l.value * (i.value - 1) + 1, P = Math.min(l.value * i.value, L(e.total));
13017
13055
  return [$, P];
13018
- }), f = M(() => e.showTotal ? e.showTotal(z(e.total), c.value) : "");
13056
+ }), f = M(() => e.showTotal ? e.showTotal(L(e.total), c.value) : "");
13019
13057
  ce([() => e.current, () => e.size], ([$, P]) => {
13020
- i.value = z($) || 1, l.value = z(P || 10);
13058
+ i.value = L($) || 1, l.value = L(P || 10);
13021
13059
  }), ce(
13022
13060
  [i, l, d],
13023
13061
  ([$, P, I], [k, D]) => {
13024
13062
  let O = [];
13025
- const { maxPagerCount: N, total: L, onChange: U } = e, te = Math.ceil(z(L) / z(D)), G = I - (N - u.value) - 1;
13063
+ const { maxPagerCount: N, total: z, onChange: U } = e, te = Math.ceil(L(z) / L(D)), G = I - (N - u.value) - 1;
13026
13064
  if (o.value = `${$}`, I - 2 > N) {
13027
13065
  if (k === void 0 || I !== te)
13028
13066
  for (let j = 2; j < N + 2; j++)
@@ -13091,11 +13129,11 @@ const lv = x({
13091
13129
  }
13092
13130
  function T($, P, I) {
13093
13131
  I.target.blur();
13094
- const k = E(z(P));
13132
+ const k = E(L(P));
13095
13133
  o.value = String(k), i.value = k, $ === "quick" && (t.value = "");
13096
13134
  }
13097
13135
  return {
13098
- pack: nn,
13136
+ pack: Qe,
13099
13137
  current: i,
13100
13138
  menuVisible: n,
13101
13139
  size: l,
@@ -13112,7 +13150,7 @@ const lv = x({
13112
13150
  showMenu: b,
13113
13151
  clickSize: w,
13114
13152
  setPage: T,
13115
- toNumber: z,
13153
+ toNumber: L,
13116
13154
  formatElevation: un
13117
13155
  };
13118
13156
  }
@@ -13256,7 +13294,7 @@ const CS = wS({
13256
13294
  let ad = 0;
13257
13295
  const ES = ["onTouchstartPassive", "onTouchmove", "onTouchend"], IS = ["onTransitionend"], BS = ["onClick"];
13258
13296
  function MS(e, n) {
13259
- const t = ae("var-button");
13297
+ const t = ie("var-button");
13260
13298
  return p(), $e(
13261
13299
  Jt(e.dynamic ? e.n("$-popup") : e.Transition),
13262
13300
  ze(
@@ -13304,7 +13342,7 @@ function MS(e, n) {
13304
13342
  var o;
13305
13343
  return [
13306
13344
  Ie(
13307
- ie((o = e.cancelButtonText) != null ? o : e.pack.pickerCancelButtonText),
13345
+ ae((o = e.cancelButtonText) != null ? o : e.pack.pickerCancelButtonText),
13308
13346
  1
13309
13347
  /* TEXT */
13310
13348
  )
@@ -13322,7 +13360,7 @@ function MS(e, n) {
13322
13360
  {
13323
13361
  class: v(e.n("title"))
13324
13362
  },
13325
- ie((o = e.title) != null ? o : e.pack.pickerTitle),
13363
+ ae((o = e.title) != null ? o : e.pack.pickerTitle),
13326
13364
  3
13327
13365
  /* TEXT, CLASS */
13328
13366
  )
@@ -13340,7 +13378,7 @@ function MS(e, n) {
13340
13378
  var o;
13341
13379
  return [
13342
13380
  Ie(
13343
- ie((o = e.confirmButtonText) != null ? o : e.pack.pickerConfirmButtonText),
13381
+ ae((o = e.confirmButtonText) != null ? o : e.pack.pickerConfirmButtonText),
13344
13382
  1
13345
13383
  /* TEXT */
13346
13384
  )
@@ -13396,7 +13434,7 @@ function MS(e, n) {
13396
13434
  {
13397
13435
  class: v(e.classes(e.n("text"), r.textClassName))
13398
13436
  },
13399
- ie(r[e.getOptionKey("text")]),
13437
+ ae(r[e.getOptionKey("text")]),
13400
13438
  3
13401
13439
  /* TEXT, CLASS */
13402
13440
  )
@@ -13544,7 +13582,7 @@ const uv = x({
13544
13582
  const he = Math.round((a.value - W) / o.value);
13545
13583
  return Cm(he, V.column);
13546
13584
  }
13547
- function L(V) {
13585
+ function z(V) {
13548
13586
  return V.translate = a.value - V.index * o.value, V.translate;
13549
13587
  }
13550
13588
  function U() {
@@ -13559,7 +13597,7 @@ const uv = x({
13559
13597
  };
13560
13598
  }
13561
13599
  function te(V, W = 0) {
13562
- L(V), V.duration = W;
13600
+ z(V), V.duration = W;
13563
13601
  }
13564
13602
  function G(V, W, he) {
13565
13603
  V.translate += Math.abs(W / he) / 3e-3 * (W < 0 ? -1 : 1);
@@ -13620,7 +13658,7 @@ const uv = x({
13620
13658
  b(W), y(e.onCancel, V, W, he);
13621
13659
  }
13622
13660
  return {
13623
- pack: nn,
13661
+ pack: Qe,
13624
13662
  optionHeight: o,
13625
13663
  optionCount: r,
13626
13664
  scrollColumns: t,
@@ -13813,7 +13851,7 @@ function YS(e, n) {
13813
13851
  [
13814
13852
  R(e.$slots, "default", {}, () => [
13815
13853
  Ie(
13816
- ie(e.linearProps.roundValue),
13854
+ ae(e.linearProps.roundValue),
13817
13855
  1
13818
13856
  /* TEXT */
13819
13857
  )
@@ -13893,7 +13931,7 @@ function YS(e, n) {
13893
13931
  [
13894
13932
  R(e.$slots, "default", {}, () => [
13895
13933
  Ie(
13896
- ie(e.circleProps.roundValue),
13934
+ ae(e.circleProps.roundValue),
13897
13935
  1
13898
13936
  /* TEXT */
13899
13937
  )
@@ -13916,13 +13954,13 @@ const dv = x({
13916
13954
  props: DS,
13917
13955
  setup(e) {
13918
13956
  const n = Dd(), t = M(() => {
13919
- const i = z(e.value), l = i > _n ? _n : i, s = i > _n ? _n : Math.round(i);
13957
+ const i = L(e.value), l = i > _n ? _n : i, s = i > _n ? _n : Math.round(i);
13920
13958
  return {
13921
13959
  width: `${l}%`,
13922
13960
  roundValue: `${s}%`
13923
13961
  };
13924
13962
  }), o = M(() => {
13925
- const { size: i, lineWidth: l, value: s } = e, u = Wn / (1 - Fe(l) / Fe(i)) * 2, d = `0 0 ${u} ${u}`, c = z(s) > _n ? _n : Math.round(z(s)), f = `${(_n - c) / _n * id}`, m = Fe(l) / Fe(i) * u, g = 0, h = -Wn, b = 0, w = -2 * Wn, E = `M ${u / 2} ${u / 2} m ${g} ${h} a ${Wn} ${Wn}
13963
+ const { size: i, lineWidth: l, value: s } = e, u = Wn / (1 - Fe(l) / Fe(i)) * 2, d = `0 0 ${u} ${u}`, c = L(s) > _n ? _n : Math.round(L(s)), f = `${(_n - c) / _n * id}`, m = Fe(l) / Fe(i) * u, g = 0, h = -Wn, b = 0, w = -2 * Wn, E = `M ${u / 2} ${u / 2} m ${g} ${h} a ${Wn} ${Wn}
13926
13964
  0 1 1 ${b} ${-w} a ${Wn} ${Wn} 0 1 1 ${-b} ${w}`;
13927
13965
  return {
13928
13966
  strokeWidth: m,
@@ -13991,7 +14029,7 @@ var ld = (e, n, t) => new Promise((o, r) => {
13991
14029
  });
13992
14030
  const { name: WS, n: sd, classes: qS } = ee("pull-refresh"), ud = 150;
13993
14031
  function GS(e, n) {
13994
- const t = ae("var-icon");
14032
+ const t = ie("var-icon");
13995
14033
  return p(), S(
13996
14034
  "div",
13997
14035
  {
@@ -14034,7 +14072,7 @@ const cv = x({
14034
14072
  const n = C(0), t = C(null), o = C(null), r = C(0), a = C("-125%"), i = C("arrow-down"), l = C("default"), s = C(!1), u = M(() => Math.abs(2 * n.value)), d = M(() => l.value === "success"), c = M(
14035
14073
  () => l.value !== "loading" && l.value !== "success" && !e.disabled
14036
14074
  ), f = M(() => ({
14037
- transform: `translate3d(0px, ${en(a.value) ? a.value : `${a.value}px`}, 0px) translate(-50%, 0)`,
14075
+ transform: `translate3d(0px, ${nn(a.value) ? a.value : `${a.value}px`}, 0px) translate(-50%, 0)`,
14038
14076
  transition: s.value ? `transform ${e.animationDuration}ms` : void 0,
14039
14077
  background: d.value ? e.successBgColor : e.bgColor,
14040
14078
  color: d.value ? e.successColor : e.color
@@ -14045,14 +14083,14 @@ const cv = x({
14045
14083
  (N) => {
14046
14084
  N === !1 && (s.value = !0, l.value = "success", i.value = "checkbox-marked-circle", setTimeout(() => {
14047
14085
  a.value = n.value, O();
14048
- }, z(e.successDuration)));
14086
+ }, L(e.successDuration)));
14049
14087
  }
14050
14088
  ), rn(D), ft(t, "touchmove", I);
14051
14089
  function T(N) {
14052
14090
  return ld(this, null, function* () {
14053
14091
  if (i.value !== N)
14054
- return i.value = N, new Promise((L) => {
14055
- window.setTimeout(L, ud);
14092
+ return i.value = N, new Promise((z) => {
14093
+ window.setTimeout(z, ud);
14056
14094
  });
14057
14095
  });
14058
14096
  }
@@ -14061,8 +14099,8 @@ const cv = x({
14061
14099
  }
14062
14100
  function P(N) {
14063
14101
  if (m(N), n.value === 0) {
14064
- const { width: L } = xe(o.value);
14065
- n.value = -(L + L * 0.25);
14102
+ const { width: z } = en(o.value);
14103
+ n.value = -(z + z * 0.25);
14066
14104
  }
14067
14105
  E = mt(N.target);
14068
14106
  }
@@ -14075,11 +14113,11 @@ const cv = x({
14075
14113
  }
14076
14114
  function k() {
14077
14115
  return ld(this, null, function* () {
14078
- h(), c.value && (s.value = !0, z(a.value) >= u.value * 0.2 ? (yield T("refresh"), l.value = "loading", a.value = u.value * 0.3, y(e["onUpdate:modelValue"], !0), Ye(() => {
14116
+ h(), c.value && (s.value = !0, L(a.value) >= u.value * 0.2 ? (yield T("refresh"), l.value = "loading", a.value = u.value * 0.3, y(e["onUpdate:modelValue"], !0), Ye(() => {
14079
14117
  y(e.onRefresh);
14080
14118
  }), $("remove")) : (l.value = "loosing", i.value = "arrow-down", a.value = n.value, setTimeout(() => {
14081
14119
  s.value = !1, $("remove");
14082
- }, z(e.animationDuration))), E = null);
14120
+ }, L(e.animationDuration))), E = null);
14083
14121
  });
14084
14122
  }
14085
14123
  function D() {
@@ -14088,7 +14126,7 @@ const cv = x({
14088
14126
  function O() {
14089
14127
  setTimeout(() => {
14090
14128
  l.value = "default", i.value = "arrow-down", s.value = !1;
14091
- }, z(e.animationDuration));
14129
+ }, L(e.animationDuration));
14092
14130
  }
14093
14131
  return {
14094
14132
  ICON_TRANSITION: ud,
@@ -14162,7 +14200,7 @@ function ZS() {
14162
14200
  }
14163
14201
  const { name: JS, n: QS, classes: _S } = ee("radio");
14164
14202
  function xS(e, n) {
14165
- const t = ae("var-icon"), o = ae("var-hover-overlay"), r = ae("var-form-details"), a = Ve("ripple"), i = Ve("hover");
14203
+ const t = ie("var-icon"), o = ie("var-hover-overlay"), r = ie("var-form-details"), a = Ve("ripple"), i = Ve("hover");
14166
14204
  return p(), S(
14167
14205
  "div",
14168
14206
  {
@@ -14277,8 +14315,8 @@ const vv = x({
14277
14315
  r && n.value === k || (n.value = I, y(D, n.value), r == null || r.onToggle(k), h("onChange"));
14278
14316
  }
14279
14317
  function w(I) {
14280
- const { disabled: k, readonly: D, uncheckedValue: O, checkedValue: N, onClick: L } = e;
14281
- s != null && s.disabled.value || k || (y(L, I), !(s != null && s.readonly.value || D) && (o.value = !0, b(t.value ? O : N)));
14318
+ const { disabled: k, readonly: D, uncheckedValue: O, checkedValue: N, onClick: z } = e;
14319
+ s != null && s.disabled.value || k || (y(z, I), !(s != null && s.readonly.value || D) && (o.value = !0, b(t.value ? O : N)));
14282
14320
  }
14283
14321
  function E(I) {
14284
14322
  const { checkedValue: k, uncheckedValue: D } = e;
@@ -14336,7 +14374,7 @@ const ek = {
14336
14374
  "onUpdate:modelValue": A()
14337
14375
  }, { name: nk, n: tk, classes: ok } = ee("radio-group");
14338
14376
  function rk(e, n) {
14339
- const t = ae("var-form-details");
14377
+ const t = ie("var-form-details");
14340
14378
  return p(), S(
14341
14379
  "div",
14342
14380
  {
@@ -14414,7 +14452,7 @@ const LI = Yl;
14414
14452
  var Ka = Yl;
14415
14453
  const ak = {
14416
14454
  modelValue: {
14417
- type: [String, Number],
14455
+ type: Number,
14418
14456
  default: 0
14419
14457
  },
14420
14458
  count: {
@@ -14454,7 +14492,7 @@ const ak = {
14454
14492
  "onUpdate:modelValue": A()
14455
14493
  }, { name: ik, n: oo } = ee("rate"), lk = ["onClick"];
14456
14494
  function sk(e, n) {
14457
- const t = ae("var-icon"), o = ae("var-hover-overlay"), r = ae("var-form-details"), a = Ve("ripple"), i = Ve("hover");
14495
+ const t = ie("var-icon"), o = ie("var-hover-overlay"), r = ie("var-form-details"), a = Ve("ripple"), i = Ve("hover");
14458
14496
  return p(), S(
14459
14497
  "div",
14460
14498
  {
@@ -14515,7 +14553,7 @@ const hv = x({
14515
14553
  props: ak,
14516
14554
  setup(e) {
14517
14555
  const n = C(-1), { form: t, bindForm: o } = Mn(), { errorMessage: r, validateWithTrigger: a, validate: i, resetValidation: l } = Bn(), { hovering: s } = Hn();
14518
- let u = Number(e.modelValue);
14556
+ let u = L(e.modelValue);
14519
14557
  y(o, {
14520
14558
  reset: T,
14521
14559
  validate: h,
@@ -14525,7 +14563,7 @@ const hv = x({
14525
14563
  const { count: P, gap: I } = e;
14526
14564
  return {
14527
14565
  color: m($).color,
14528
- marginRight: $ !== z(P) ? Se(I) : 0
14566
+ marginRight: $ !== L(P) ? Se(I) : 0
14529
14567
  };
14530
14568
  }
14531
14569
  function f($) {
@@ -14545,7 +14583,7 @@ const hv = x({
14545
14583
  color: D,
14546
14584
  half: O,
14547
14585
  emptyColor: N,
14548
- icon: L,
14586
+ icon: z,
14549
14587
  halfIcon: U,
14550
14588
  emptyIcon: te,
14551
14589
  namespace: G,
@@ -14553,7 +14591,7 @@ const hv = x({
14553
14591
  emptyIconNamespace: X
14554
14592
  } = e;
14555
14593
  let J = D;
14556
- return (I || t != null && t.disabled.value) && (J = k), $ <= z(P) ? { color: J, name: L, namespace: G } : O && $ <= z(P) + 0.5 ? { color: J, name: U, namespace: j } : {
14594
+ return (I || t != null && t.disabled.value) && (J = k), $ <= P ? { color: J, name: z, namespace: G } : O && $ <= P + 0.5 ? { color: J, name: U, namespace: j } : {
14557
14595
  color: I || t != null && t.disabled.value ? k : N,
14558
14596
  name: te,
14559
14597
  namespace: X
@@ -14561,17 +14599,17 @@ const hv = x({
14561
14599
  }
14562
14600
  function g($, P) {
14563
14601
  const { half: I, clearable: k } = e, { offsetWidth: D } = P.target;
14564
- I && P.offsetX <= Math.floor(D / 2) && ($ -= 0.5), u === $ && k && ($ = 0), u = $, y(e["onUpdate:modelValue"], $);
14602
+ I && P.offsetX <= Math.floor(D / 2) && ($ -= 0.5), u === $ && k && ($ = 0), u !== $ && (y(e["onUpdate:modelValue"], $), y(e.onChange, $)), u = $;
14565
14603
  }
14566
14604
  function h() {
14567
- return i(e.rules, z(e.modelValue));
14605
+ return i(e.rules, e.modelValue);
14568
14606
  }
14569
14607
  function b() {
14570
14608
  return Ye(() => a(["onChange"], "onChange", e.rules, e.modelValue));
14571
14609
  }
14572
14610
  function w($, P) {
14573
- const { readonly: I, disabled: k, onChange: D } = e;
14574
- I || k || t != null && t.disabled.value || t != null && t.readonly.value || (g($, P), y(D, $), b());
14611
+ const { readonly: I, disabled: k } = e;
14612
+ I || k || t != null && t.disabled.value || t != null && t.readonly.value || (g($, P), b());
14575
14613
  }
14576
14614
  function E($) {
14577
14615
  return (P) => {
@@ -14596,7 +14634,7 @@ const hv = x({
14596
14634
  validate: h,
14597
14635
  resetValidation: l,
14598
14636
  toSizeUnit: Se,
14599
- toNumber: z,
14637
+ toNumber: L,
14600
14638
  n: oo
14601
14639
  };
14602
14640
  }
@@ -14751,7 +14789,7 @@ const yv = x({
14751
14789
  return {
14752
14790
  n: Tk,
14753
14791
  classes: Ek,
14754
- toNumber: z
14792
+ toNumber: L
14755
14793
  };
14756
14794
  }
14757
14795
  });
@@ -14852,7 +14890,7 @@ function Xk(e, n) {
14852
14890
  key: 0,
14853
14891
  class: v(e.n("title"))
14854
14892
  },
14855
- ie(e.title),
14893
+ ae(e.title),
14856
14894
  3
14857
14895
  /* TEXT, CLASS */
14858
14896
  )) : Q("v-if", !0)
@@ -14864,7 +14902,7 @@ function Xk(e, n) {
14864
14902
  key: 0,
14865
14903
  class: v(e.n("description"))
14866
14904
  },
14867
- ie(e.description),
14905
+ ae(e.description),
14868
14906
  3
14869
14907
  /* TEXT, CLASS */
14870
14908
  )) : Q("v-if", !0)
@@ -14911,7 +14949,7 @@ const Cv = x({
14911
14949
  toSizeUnit: Se,
14912
14950
  n: qk,
14913
14951
  classes: Gk,
14914
- toNumber: z,
14952
+ toNumber: L,
14915
14953
  toPxNum: Fe
14916
14954
  };
14917
14955
  }
@@ -15037,7 +15075,7 @@ const oP = tP({
15037
15075
  "onClick"
15038
15076
  ])), { name: rP, n: aP, classes: iP } = ee("select"), lP = { key: 1 };
15039
15077
  function sP(e, n) {
15040
- const t = ae("var-chip"), o = ae("var-icon"), r = ae("var-field-decorator"), a = ae("var-menu"), i = ae("var-form-details");
15078
+ const t = ie("var-chip"), o = ie("var-icon"), r = ie("var-field-decorator"), a = ie("var-menu"), i = ie("var-form-details");
15041
15079
  return p(), S(
15042
15080
  "div",
15043
15081
  {
@@ -15134,7 +15172,7 @@ function sP(e, n) {
15134
15172
  Ge(e.labels, (l) => (p(), $e(t, {
15135
15173
  class: v(e.n("chip")),
15136
15174
  "var-select-cover": "",
15137
- closable: "",
15175
+ closeable: "",
15138
15176
  size: "small",
15139
15177
  type: e.errorMessage ? "danger" : void 0,
15140
15178
  key: l,
@@ -15144,7 +15182,7 @@ function sP(e, n) {
15144
15182
  }, {
15145
15183
  default: me(() => [
15146
15184
  Ie(
15147
- ie(l),
15185
+ ae(l),
15148
15186
  1
15149
15187
  /* TEXT */
15150
15188
  )
@@ -15164,7 +15202,7 @@ function sP(e, n) {
15164
15202
  key: 1,
15165
15203
  class: v(e.n("values"))
15166
15204
  },
15167
- ie(e.labels.join(e.separator)),
15205
+ ae(e.labels.join(e.separator)),
15168
15206
  3
15169
15207
  /* TEXT, CLASS */
15170
15208
  ))
@@ -15174,7 +15212,7 @@ function sP(e, n) {
15174
15212
  )) : (p(), S(
15175
15213
  "span",
15176
15214
  lP,
15177
- ie(e.label),
15215
+ ae(e.label),
15178
15216
  1
15179
15217
  /* TEXT */
15180
15218
  ))
@@ -15192,7 +15230,7 @@ function sP(e, n) {
15192
15230
  color: e.placeholderColor
15193
15231
  })
15194
15232
  },
15195
- ie(e.placeholder),
15233
+ ae(e.placeholder),
15196
15234
  7
15197
15235
  /* TEXT, CLASS, STYLE */
15198
15236
  )) : Q("v-if", !0),
@@ -15285,7 +15323,7 @@ const kv = x({
15285
15323
  E(H, ne, _, ue);
15286
15324
  });
15287
15325
  }
15288
- function L() {
15326
+ function z() {
15289
15327
  const { disabled: ne, readonly: H, onFocus: _ } = e;
15290
15328
  u != null && u.disabled.value || u != null && u.readonly.value || ne || H || (l.value = Fe(e.offsetY), n.value = !0, y(_), N("onFocus"));
15291
15329
  }
@@ -15352,7 +15390,7 @@ const kv = x({
15352
15390
  enableCustomPlaceholder: D,
15353
15391
  n: aP,
15354
15392
  classes: iP,
15355
- handleFocus: L,
15393
+ handleFocus: z,
15356
15394
  handleBlur: U,
15357
15395
  handleClear: G,
15358
15396
  handleClick: j,
@@ -15573,7 +15611,7 @@ const Pv = x({
15573
15611
  n: cP,
15574
15612
  classes: fP,
15575
15613
  toSizeUnit: Se,
15576
- toNumber: z
15614
+ toNumber: L
15577
15615
  })
15578
15616
  });
15579
15617
  Pv.render = vP;
@@ -15623,7 +15661,7 @@ const mP = {
15623
15661
  "onUpdate:modelValue": A()
15624
15662
  }, { name: hP, n: fd, classes: pP } = ee("slider"), gP = ["onTouchstart"];
15625
15663
  function bP(e, n) {
15626
- const t = ae("var-hover-overlay"), o = ae("var-form-details"), r = Ve("hover");
15664
+ const t = ie("var-hover-overlay"), o = ie("var-form-details"), r = Ve("hover");
15627
15665
  return p(), S(
15628
15666
  "div",
15629
15667
  {
@@ -15736,7 +15774,7 @@ function bP(e, n) {
15736
15774
  B(
15737
15775
  "span",
15738
15776
  null,
15739
- ie(a.text),
15777
+ ae(a.text),
15740
15778
  1
15741
15779
  /* TEXT */
15742
15780
  )
@@ -15772,7 +15810,7 @@ const Ov = x({
15772
15810
  directives: { Hover: kn },
15773
15811
  props: mP,
15774
15812
  setup(e) {
15775
- const n = C(0), t = C(null), o = C(!1), r = M(() => z(e.max) - z(e.min)), a = M(() => n.value / r.value * z(e.step)), i = M(() => e.disabled || (d == null ? void 0 : d.disabled.value)), l = M(() => e.readonly || (d == null ? void 0 : d.readonly.value)), s = M(() => e.direction === "vertical"), { bindForm: u, form: d } = Mn(), { errorMessage: c, validateWithTrigger: f, validate: m, resetValidation: g } = Bn(), { hovering: h, handleHovering: b } = Hn(), { hovering: w, handleHovering: E } = Hn(), T = M(() => {
15813
+ const n = C(0), t = C(null), o = C(!1), r = M(() => L(e.max) - L(e.min)), a = M(() => n.value / r.value * L(e.step)), i = M(() => e.disabled || (d == null ? void 0 : d.disabled.value)), l = M(() => e.readonly || (d == null ? void 0 : d.readonly.value)), s = M(() => e.direction === "vertical"), { bindForm: u, form: d } = Mn(), { errorMessage: c, validateWithTrigger: f, validate: m, resetValidation: g } = Bn(), { hovering: h, handleHovering: b } = Hn(), { hovering: w, handleHovering: E } = Hn(), T = M(() => {
15776
15814
  const { modelValue: oe, range: de } = e;
15777
15815
  let ke = [];
15778
15816
  return de && Ae(oe) ? ke = [
@@ -15822,7 +15860,7 @@ const Ov = x({
15822
15860
  validate: D,
15823
15861
  resetValidation: g
15824
15862
  }), ce([() => e.modelValue, () => e.step], ([oe, de]) => {
15825
- !V() || !W() || o.value || he(oe, z(de));
15863
+ !V() || !W() || o.value || he(oe, L(de));
15826
15864
  }), ce(n, () => he()), rn(() => {
15827
15865
  !V() || !W() || (n.value = t.value[s.value ? "offsetHeight" : "offsetWidth"]);
15828
15866
  }), $r(() => {
@@ -15842,9 +15880,9 @@ const Ov = x({
15842
15880
  function N() {
15843
15881
  return Ye(() => f(["onChange"], "onChange", e.rules, e.modelValue));
15844
15882
  }
15845
- function L(oe) {
15883
+ function z(oe) {
15846
15884
  const de = oe.currentTarget;
15847
- return de ? s.value ? n.value - (oe.clientY - xe(de).top) : oe.clientX - nh(de) : 0;
15885
+ return de ? s.value ? n.value - (oe.clientY - en(de).top) : oe.clientX - nh(de) : 0;
15848
15886
  }
15849
15887
  function U(oe) {
15850
15888
  return {
@@ -15857,20 +15895,20 @@ const Ov = x({
15857
15895
  }
15858
15896
  function G(oe) {
15859
15897
  const { min: de, max: ke } = e;
15860
- return oe < z(de) ? 0 : oe > z(ke) ? 100 : (oe - z(de)) / r.value * 100;
15898
+ return oe < L(de) ? 0 : oe > L(ke) ? 100 : (oe - L(de)) / r.value * 100;
15861
15899
  }
15862
15900
  function j(oe) {
15863
15901
  if (!mn(oe))
15864
15902
  return 0;
15865
15903
  let de = oe;
15866
- return de < Number(e.min) && (de = Number(e.min)), de > Number(e.max) && (de = Number(e.max)), parseInt(`${de}`, 10) === de ? de : z(de.toPrecision(5));
15904
+ return de < Number(e.min) && (de = Number(e.min)), de > Number(e.max) && (de = Number(e.max)), parseInt(`${de}`, 10) === de ? de : L(de.toPrecision(5));
15867
15905
  }
15868
15906
  function X(oe, de) {
15869
15907
  i.value || de.handleHovering(oe);
15870
15908
  }
15871
15909
  function J(oe, de) {
15872
15910
  let ke = [];
15873
- const { step: Ue, range: se, modelValue: ge, onChange: De, min: qe } = e, fe = z(Ue), Ce = Math.round(oe / a.value), ye = Ce * fe + z(qe), Me = P[de].percentValue * fe + z(qe);
15911
+ const { step: Ue, range: se, modelValue: ge, onChange: De, min: qe } = e, fe = L(Ue), Ce = Math.round(oe / a.value), ye = Ce * fe + L(qe), Me = P[de].percentValue * fe + L(qe);
15874
15912
  if (P[de].percentValue = Ce, se && Ae(ge) && (ke = de === Xe.First ? [ye, ge[1]] : [ge[0], ye]), Me !== ye) {
15875
15913
  const Be = se ? ke.map((Je) => j(Je)) : j(ye);
15876
15914
  y(De, Be), y(e["onUpdate:modelValue"], Be), N();
@@ -15909,27 +15947,27 @@ const Ov = x({
15909
15947
  return;
15910
15948
  let ge = [];
15911
15949
  P[I].currentOffset = P[I].percentValue * a.value;
15912
- const De = P[I].percentValue * z(Ue) + z(se);
15950
+ const De = P[I].percentValue * L(Ue) + L(se);
15913
15951
  oe && Ae(de) && (ge = I === Xe.First ? [De, de[1]] : [de[0], De]), y(ke, oe ? ge : De), o.value = !1;
15914
15952
  }
15915
15953
  function ue(oe) {
15916
15954
  if (i.value || l.value || oe.target.closest(`.${fd("thumb")}`))
15917
15955
  return;
15918
- const de = L(oe), ke = Y(de);
15956
+ const de = z(oe), ke = Y(de);
15919
15957
  I = ke, J(de, ke), _();
15920
15958
  }
15921
15959
  function V() {
15922
- const oe = z(e.step);
15960
+ const oe = L(e.step);
15923
15961
  return isNaN(oe) ? (Ps("Slider", 'type of prop "step" should be Number'), !1) : oe < 0 ? (Ps("Slider", '"step" should be > 0'), !1) : !0;
15924
15962
  }
15925
15963
  function W() {
15926
15964
  const { range: oe, modelValue: de } = e;
15927
15965
  return oe && !Ae(de) ? (console.error('[Varlet] Slider: "modelValue" should be an Array'), !1) : !oe && Ae(de) ? (console.error('[Varlet] Slider: "modelValue" should be a Number'), !1) : oe && Ae(de) && de.length < 2 ? (console.error('[Varlet] Slider: "modelValue" should have two value'), !1) : !0;
15928
15966
  }
15929
- function he(oe = e.modelValue, de = z(e.step)) {
15967
+ function he(oe = e.modelValue, de = L(e.step)) {
15930
15968
  const ke = (Ue) => {
15931
15969
  const { min: se, max: ge } = e;
15932
- return Ue < z(se) ? 0 : Ue > z(ge) ? r.value / de : (Ue - z(se)) / de;
15970
+ return Ue < L(se) ? 0 : Ue > L(ge) ? r.value / de : (Ue - L(se)) / de;
15933
15971
  };
15934
15972
  e.range && Ae(oe) ? (P[Xe.First].percentValue = ke(oe[0]), P[Xe.First].currentOffset = P[Xe.First].percentValue * a.value, P[Xe.Second].percentValue = ke(oe[1]), P[Xe.Second].currentOffset = P[Xe.Second].percentValue * a.value) : mn(oe) && (P[Xe.First].currentOffset = ke(oe) * a.value);
15935
15973
  }
@@ -15951,7 +15989,7 @@ const Ov = x({
15951
15989
  thumbStyle: U,
15952
15990
  hover: X,
15953
15991
  multiplySizeUnit: dn,
15954
- toNumber: z,
15992
+ toNumber: L,
15955
15993
  showLabel: te,
15956
15994
  start: ne,
15957
15995
  move: H,
@@ -16014,7 +16052,7 @@ const Tv = {
16014
16052
  loading: ""
16015
16053
  };
16016
16054
  function IP(e, n) {
16017
- const t = ae("var-icon"), o = ae("var-loading");
16055
+ const t = ie("var-icon"), o = ie("var-loading");
16018
16056
  return Te((p(), S(
16019
16057
  "div",
16020
16058
  {
@@ -16045,7 +16083,7 @@ function IP(e, n) {
16045
16083
  [
16046
16084
  R(e.$slots, "default", {}, () => [
16047
16085
  Ie(
16048
- ie(e.content),
16086
+ ae(e.content),
16049
16087
  1
16050
16088
  /* TEXT */
16051
16089
  )
@@ -16142,7 +16180,7 @@ Ev.render = IP;
16142
16180
  var Iv = Ev;
16143
16181
  const { name: BP, n: MP } = ee("snackbar");
16144
16182
  function DP(e, n) {
16145
- const t = ae("var-snackbar-core");
16183
+ const t = ie("var-snackbar-core");
16146
16184
  return p(), $e(jn, {
16147
16185
  to: e.teleport === !1 ? void 0 : e.teleport,
16148
16186
  disabled: e.disabled || e.teleport === !1
@@ -16165,7 +16203,7 @@ function DP(e, n) {
16165
16203
  default: me(() => [
16166
16204
  R(e.$slots, "default", {}, () => [
16167
16205
  Ie(
16168
- ie(e.content),
16206
+ ae(e.content),
16169
16207
  1
16170
16208
  /* TEXT */
16171
16209
  )
@@ -16316,19 +16354,19 @@ Zn.resetDefaultOptions = function() {
16316
16354
  Zl = Nv;
16317
16355
  };
16318
16356
  function RP(e) {
16319
- const n = e.getAttribute("data-id"), t = En.find((o) => o.id === z(n));
16357
+ const n = e.getAttribute("data-id"), t = En.find((o) => o.id === L(n));
16320
16358
  t && y(t.reactiveSnackOptions.onOpened);
16321
16359
  }
16322
16360
  function UP(e) {
16323
16361
  e.parentElement && e.parentElement.classList.remove("var-pointer-auto");
16324
- const n = e.getAttribute("data-id"), t = En.find((r) => r.id === z(n));
16362
+ const n = e.getAttribute("data-id"), t = En.find((r) => r.id === L(n));
16325
16363
  t && (t.animationEnd = !0, y(t.reactiveSnackOptions.onClosed)), En.every((r) => r.animationEnd) && (y(Dv), En = je([]), ni = !1);
16326
16364
  }
16327
16365
  function HP(e) {
16328
16366
  En.push(e);
16329
16367
  }
16330
16368
  function FP(e = {}) {
16331
- return en(e) ? {
16369
+ return nn(e) ? {
16332
16370
  content: e
16333
16371
  } : e;
16334
16372
  }
@@ -16460,7 +16498,7 @@ function _P() {
16460
16498
  }
16461
16499
  const { name: xP, n: eO, classes: nO } = ee("step"), tO = { key: 3 };
16462
16500
  function oO(e, n) {
16463
- const t = ae("var-icon");
16501
+ const t = ie("var-icon");
16464
16502
  return p(), S(
16465
16503
  "div",
16466
16504
  {
@@ -16502,7 +16540,7 @@ function oO(e, n) {
16502
16540
  }, null, 8, ["class", "name", "namespace"])) : (p(), S(
16503
16541
  "span",
16504
16542
  tO,
16505
- ie(e.index + 1),
16543
+ ae(e.index + 1),
16506
16544
  1
16507
16545
  /* TEXT */
16508
16546
  ))
@@ -16545,7 +16583,7 @@ const Av = x({
16545
16583
  components: { VarIcon: He },
16546
16584
  props: JP,
16547
16585
  setup() {
16548
- const { index: e, steps: n, bindSteps: t } = _P(), { active: o, activeColor: r, inactiveColor: a, direction: i, clickStep: l } = n, s = M(() => o.value === e.value), u = M(() => e.value !== -1 && z(o.value) > e.value);
16586
+ const { index: e, steps: n, bindSteps: t } = _P(), { active: o, activeColor: r, inactiveColor: a, direction: i, clickStep: l } = n, s = M(() => o.value === e.value), u = M(() => e.value !== -1 && L(o.value) > e.value);
16549
16587
  t({ index: e });
16550
16588
  function c() {
16551
16589
  return l(e.value);
@@ -16697,7 +16735,7 @@ const fO = {
16697
16735
  gO
16698
16736
  ];
16699
16737
  function yO(e, n) {
16700
- const t = ae("var-hover-overlay"), o = ae("var-form-details"), r = Ve("ripple"), a = Ve("hover");
16738
+ const t = ie("var-hover-overlay"), o = ie("var-form-details"), r = Ve("ripple"), a = Ve("hover");
16701
16739
  return Te((p(), S(
16702
16740
  "div",
16703
16741
  {
@@ -16846,8 +16884,8 @@ const Lv = x({
16846
16884
  } = e;
16847
16885
  if (y(E, w), $ || P || I || t != null && t.disabled.value || t != null && t.readonly.value)
16848
16886
  return;
16849
- const L = k === D ? O : D;
16850
- y(T, L), y(N, L), m();
16887
+ const z = k === D ? O : D;
16888
+ y(T, z), y(N, z), m();
16851
16889
  }
16852
16890
  function h(w) {
16853
16891
  e.disabled || t != null && t.disabled.value || s(w);
@@ -16966,7 +17004,7 @@ const OO = {
16966
17004
  name: [String, Number]
16967
17005
  }, { name: TO, n: EO, classes: IO } = ee("tab-item");
16968
17006
  function BO(e, n) {
16969
- const t = ae("var-swipe-item");
17007
+ const t = ie("var-swipe-item");
16970
17008
  return p(), $e(t, {
16971
17009
  class: v(e.classes(e.n(), [!e.current, e.n("--inactive")])),
16972
17010
  "var-tab-item-cover": ""
@@ -17230,37 +17268,37 @@ const Yv = x({
17230
17268
  yield fn(), O();
17231
17269
  })
17232
17270
  ), ce(() => [e.active, e.scrollable], O), gt(O), _t(O);
17233
- function E(L) {
17271
+ function E(z) {
17234
17272
  var U;
17235
- const te = (U = L.name.value) != null ? U : L.index.value, { active: G, onChange: j, onClick: X } = e;
17273
+ const te = (U = z.name.value) != null ? U : z.index.value, { active: G, onChange: j, onClick: X } = e;
17236
17274
  y(e["onUpdate:active"], te), y(X, te), te !== G && y(j, te);
17237
17275
  }
17238
17276
  function T() {
17239
- return g.find(({ name: L }) => e.active === L.value);
17277
+ return g.find(({ name: z }) => e.active === z.value);
17240
17278
  }
17241
- function $(L) {
17242
- return g.find(({ index: U }) => (L ?? e.active) === U.value);
17279
+ function $(z) {
17280
+ return g.find(({ index: U }) => (z ?? e.active) === U.value);
17243
17281
  }
17244
17282
  function P() {
17245
17283
  if (b.value === 0)
17246
17284
  return;
17247
- const { active: L } = e;
17248
- if (mn(L)) {
17249
- const U = ct(L, 0, b.value - 1);
17285
+ const { active: z } = e;
17286
+ if (mn(z)) {
17287
+ const U = ct(z, 0, b.value - 1);
17250
17288
  return y(e["onUpdate:active"], U), $(U);
17251
17289
  }
17252
17290
  }
17253
17291
  function I() {
17254
17292
  a.value = e.scrollable === "always" || g.length >= 5;
17255
17293
  }
17256
- function k({ element: L }) {
17257
- const U = L.value;
17294
+ function k({ element: z }) {
17295
+ const U = z.value;
17258
17296
  U && (e.layoutDirection === "horizontal" ? (n.value = `${U.offsetWidth}px`, o.value = `${U.offsetLeft}px`) : (t.value = `${U.offsetHeight}px`, r.value = `${U.offsetTop}px`));
17259
17297
  }
17260
- function D({ element: L }) {
17298
+ function D({ element: z }) {
17261
17299
  if (!a.value)
17262
17300
  return;
17263
- const U = i.value, te = L.value;
17301
+ const U = i.value, te = z.value;
17264
17302
  if (e.layoutDirection === "horizontal") {
17265
17303
  const G = te.offsetLeft + te.offsetWidth / 2 - U.offsetWidth / 2;
17266
17304
  vo(U, {
@@ -17276,8 +17314,8 @@ const Yv = x({
17276
17314
  }
17277
17315
  }
17278
17316
  function O() {
17279
- const L = T() || $() || P();
17280
- !L || L.disabled.value || (I(), k(L), D(L));
17317
+ const z = T() || $() || P();
17318
+ !z || z.disabled.value || (I(), k(z), D(z));
17281
17319
  }
17282
17320
  function N() {
17283
17321
  return bd(this, null, function* () {
@@ -17338,7 +17376,7 @@ var YO = (e, n, t) => new Promise((o, r) => {
17338
17376
  });
17339
17377
  const { name: jO, n: WO } = ee("tabs-items");
17340
17378
  function qO(e, n) {
17341
- const t = ae("var-swipe");
17379
+ const t = ie("var-swipe");
17342
17380
  return p(), $e(t, {
17343
17381
  class: v(e.n()),
17344
17382
  ref: "swipe",
@@ -17571,8 +17609,11 @@ const On = ["12", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], cn =
17571
17609
  type: [Boolean, Number, String],
17572
17610
  default: !1
17573
17611
  },
17612
+ hint: String,
17574
17613
  color: String,
17614
+ /** @deprecated Use titleColor to instead. */
17575
17615
  headerColor: String,
17616
+ titleColor: String,
17576
17617
  format: {
17577
17618
  type: String,
17578
17619
  default: "ampm"
@@ -17585,17 +17626,17 @@ const On = ["12", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], cn =
17585
17626
  "onUpdate:modelValue": A(),
17586
17627
  onChange: A()
17587
17628
  }, Wv = (e, n) => e === "24hr" || n === "am", is = (e, n, t) => {
17588
- const o = On.findIndex((a) => z(a) === z(t)), r = Wv(e, n) ? t : cn[o];
17629
+ const o = On.findIndex((a) => L(a) === L(t)), r = Wv(e, n) ? t : cn[o];
17589
17630
  return {
17590
17631
  hourStr: r,
17591
- hourNum: z(r)
17632
+ hourNum: L(r)
17592
17633
  };
17593
17634
  }, vn = (e) => {
17594
17635
  const [n, t, o] = e.split(":");
17595
17636
  return {
17596
- hour: z(n),
17597
- minute: z(t),
17598
- second: z(o)
17637
+ hour: L(n),
17638
+ minute: L(t),
17639
+ second: L(o)
17599
17640
  };
17600
17641
  }, qv = (e) => {
17601
17642
  var n, t;
@@ -17669,7 +17710,7 @@ function YT(e, n) {
17669
17710
  key: t,
17670
17711
  style: F(e.getStyle(o, t, !1))
17671
17712
  },
17672
- ie(t),
17713
+ ae(t),
17673
17714
  7
17674
17715
  /* TEXT, CLASS, STYLE */
17675
17716
  ))),
@@ -17700,7 +17741,7 @@ function YT(e, n) {
17700
17741
  key: t,
17701
17742
  style: F(e.getStyle(o, t, !0))
17702
17743
  },
17703
- ie(t),
17744
+ ae(t),
17704
17745
  7
17705
17746
  /* TEXT, CLASS, STYLE */
17706
17747
  ))),
@@ -17766,7 +17807,7 @@ const Xv = x({
17766
17807
  emits: ["update", "change-prevent-update"],
17767
17808
  setup(e, { emit: n }) {
17768
17809
  const t = C(null), o = C([]), r = C([]), a = M(() => ({
17769
- transform: `rotate(${z(e.rad)}deg)`,
17810
+ transform: `rotate(${L(e.rad)}deg)`,
17770
17811
  height: e.isInner && e.type === "hour" ? "calc(50% - 40px)" : "calc(50% - 4px)",
17771
17812
  backgroundColor: u(),
17772
17813
  borderColor: u()
@@ -17778,11 +17819,11 @@ const Xv = x({
17778
17819
  }), l = M(() => e.type === "hour" ? On : wd), s = (h, b) => {
17779
17820
  h = h ?? (e.type === "minute" ? e.time.minute : e.time.second);
17780
17821
  const w = e.type === "minute" ? qv : Gv, E = {
17781
- time: z(h),
17822
+ time: L(h),
17782
17823
  format: e.format,
17783
17824
  ampm: e.ampm,
17784
17825
  hour: e.time.hour,
17785
- minute: z(e.time.minute),
17826
+ minute: L(e.time.minute),
17786
17827
  max: e.max,
17787
17828
  min: e.min,
17788
17829
  allowedTime: e.allowedTime,
@@ -17820,7 +17861,7 @@ const Xv = x({
17820
17861
  color: k
17821
17862
  };
17822
17863
  }, m = () => {
17823
- const { width: h, height: b } = xe(t.value);
17864
+ const { width: h, height: b } = en(t.value);
17824
17865
  return {
17825
17866
  width: h,
17826
17867
  height: b
@@ -17860,19 +17901,19 @@ const Xv = x({
17860
17901
  [() => e.max, () => e.min, () => e.allowedTime],
17861
17902
  ([h, b, w]) => {
17862
17903
  if (o.value = [], h && !b) {
17863
- const { hour: E } = vn(h), T = On.filter((P) => z(P) > E), $ = cn.filter((P) => z(P) > E);
17904
+ const { hour: E } = vn(h), T = On.filter((P) => L(P) > E), $ = cn.filter((P) => L(P) > E);
17864
17905
  o.value = [...T, ...$];
17865
17906
  }
17866
17907
  if (!h && b) {
17867
- const { hour: E } = vn(b), T = On.filter((P) => z(P) < E), $ = cn.filter((P) => z(P) < E);
17908
+ const { hour: E } = vn(b), T = On.filter((P) => L(P) < E), $ = cn.filter((P) => L(P) < E);
17868
17909
  o.value = [...T, ...$];
17869
17910
  }
17870
17911
  if (h && b) {
17871
- const { hour: E } = vn(h), { hour: T } = vn(b), $ = On.filter((I) => z(I) < T || z(I) > E), P = cn.filter((I) => z(I) < T || z(I) > E);
17912
+ const { hour: E } = vn(h), { hour: T } = vn(b), $ = On.filter((I) => L(I) < T || L(I) > E), P = cn.filter((I) => L(I) < T || L(I) > E);
17872
17913
  o.value = [...$, ...P];
17873
17914
  }
17874
17915
  if (w != null && w.hours) {
17875
- const { hours: E } = w, T = On.filter((P) => !E(z(P))), $ = cn.filter((P) => !E(z(P)));
17916
+ const { hours: E } = w, T = On.filter((P) => !E(L(P))), $ = cn.filter((P) => !E(L(P)));
17876
17917
  o.value = [.../* @__PURE__ */ new Set([...o.value, ...T, ...$])];
17877
17918
  }
17878
17919
  r.value = o.value.map((E) => cn.findIndex((T) => E === T)).filter((E) => E >= 0);
@@ -17904,7 +17945,8 @@ const { name: WT, n: qT, classes: GT } = ee("time-picker"), XT = (e) => (bt(""),
17904
17945
  /* HOISTED */
17905
17946
  )), ZT = { key: 0 };
17906
17947
  function JT(e, n) {
17907
- const t = ae("clock");
17948
+ var t;
17949
+ const o = ie("clock");
17908
17950
  return p(), S(
17909
17951
  "div",
17910
17952
  {
@@ -17916,83 +17958,102 @@ function JT(e, n) {
17916
17958
  "div",
17917
17959
  {
17918
17960
  class: v(e.n("title")),
17919
- style: F({ background: e.headerColor || e.color })
17961
+ style: F({ background: e.titleColor || e.headerColor || e.color })
17920
17962
  },
17921
17963
  [
17922
17964
  B(
17923
17965
  "div",
17924
17966
  {
17925
- class: v(e.n("title-time"))
17967
+ class: v(e.n("title-hint"))
17926
17968
  },
17927
- [
17928
- B(
17929
- "div",
17930
- {
17931
- class: v(e.classes(e.n("title-btn"), [e.type === "hour", e.n("title-btn--active")])),
17932
- onClick: n[0] || (n[0] = (o) => e.checkPanel("hour"))
17933
- },
17934
- ie(e.time.hour),
17935
- 3
17936
- /* TEXT, CLASS */
17937
- ),
17938
- KT,
17939
- B(
17940
- "div",
17941
- {
17942
- class: v(e.classes(e.n("title-btn"), [e.type === "minute", e.n("title-btn--active")])),
17943
- onClick: n[1] || (n[1] = (o) => e.checkPanel("minute"))
17944
- },
17945
- ie(e.time.minute),
17946
- 3
17947
- /* TEXT, CLASS */
17948
- ),
17949
- e.useSeconds ? (p(), S("span", ZT, ":")) : Q("v-if", !0),
17950
- e.useSeconds ? (p(), S(
17951
- "div",
17952
- {
17953
- key: 1,
17954
- class: v(e.classes(e.n("title-btn"), [e.type === "second", e.n("title-btn--active")])),
17955
- onClick: n[2] || (n[2] = (o) => e.checkPanel("second"))
17956
- },
17957
- ie(e.time.second),
17958
- 3
17959
- /* TEXT, CLASS */
17960
- )) : Q("v-if", !0)
17961
- ],
17962
- 2
17963
- /* CLASS */
17969
+ ae((t = e.hint) != null ? t : e.pack.timePickerHint),
17970
+ 3
17971
+ /* TEXT, CLASS */
17964
17972
  ),
17965
- e.format === "ampm" ? (p(), S(
17973
+ B(
17966
17974
  "div",
17967
17975
  {
17968
- key: 0,
17969
- class: v(e.n("title-ampm"))
17976
+ class: v(e.n("title-time-container"))
17970
17977
  },
17971
17978
  [
17972
17979
  B(
17973
17980
  "div",
17974
17981
  {
17975
- class: v(e.classes(e.n("title-btn"), [e.ampm === "am", e.n("title-btn--active")])),
17976
- onClick: n[3] || (n[3] = (o) => e.checkAmpm("am"))
17982
+ class: v(e.n("title-time"))
17977
17983
  },
17978
- "AM",
17984
+ [
17985
+ B(
17986
+ "div",
17987
+ {
17988
+ class: v(e.classes(e.n("title-btn"), [e.type === "hour", e.n("title-btn--active")])),
17989
+ onClick: n[0] || (n[0] = (r) => e.checkPanel("hour"))
17990
+ },
17991
+ ae(e.time.hour),
17992
+ 3
17993
+ /* TEXT, CLASS */
17994
+ ),
17995
+ KT,
17996
+ B(
17997
+ "div",
17998
+ {
17999
+ class: v(e.classes(e.n("title-btn"), [e.type === "minute", e.n("title-btn--active")])),
18000
+ onClick: n[1] || (n[1] = (r) => e.checkPanel("minute"))
18001
+ },
18002
+ ae(e.time.minute),
18003
+ 3
18004
+ /* TEXT, CLASS */
18005
+ ),
18006
+ e.useSeconds ? (p(), S("span", ZT, ":")) : Q("v-if", !0),
18007
+ e.useSeconds ? (p(), S(
18008
+ "div",
18009
+ {
18010
+ key: 1,
18011
+ class: v(e.classes(e.n("title-btn"), [e.type === "second", e.n("title-btn--active")])),
18012
+ onClick: n[2] || (n[2] = (r) => e.checkPanel("second"))
18013
+ },
18014
+ ae(e.time.second),
18015
+ 3
18016
+ /* TEXT, CLASS */
18017
+ )) : Q("v-if", !0)
18018
+ ],
17979
18019
  2
17980
18020
  /* CLASS */
17981
18021
  ),
17982
- B(
18022
+ e.format === "ampm" ? (p(), S(
17983
18023
  "div",
17984
18024
  {
17985
- class: v(e.classes(e.n("title-btn"), [e.ampm === "pm", e.n("title-btn--active")])),
17986
- onClick: n[4] || (n[4] = (o) => e.checkAmpm("pm"))
18025
+ key: 0,
18026
+ class: v(e.n("title-ampm"))
17987
18027
  },
17988
- "PM",
18028
+ [
18029
+ B(
18030
+ "div",
18031
+ {
18032
+ class: v(e.classes(e.n("title-btn"), [e.ampm === "am", e.n("title-btn--active")])),
18033
+ onClick: n[3] || (n[3] = (r) => e.checkAmpm("am"))
18034
+ },
18035
+ " AM ",
18036
+ 2
18037
+ /* CLASS */
18038
+ ),
18039
+ B(
18040
+ "div",
18041
+ {
18042
+ class: v(e.classes(e.n("title-btn"), [e.ampm === "pm", e.n("title-btn--active")])),
18043
+ onClick: n[4] || (n[4] = (r) => e.checkAmpm("pm"))
18044
+ },
18045
+ " PM ",
18046
+ 2
18047
+ /* CLASS */
18048
+ )
18049
+ ],
17989
18050
  2
17990
18051
  /* CLASS */
17991
- )
18052
+ )) : Q("v-if", !0)
17992
18053
  ],
17993
18054
  2
17994
18055
  /* CLASS */
17995
- )) : Q("v-if", !0)
18056
+ )
17996
18057
  ],
17997
18058
  6
17998
18059
  /* CLASS, STYLE */
@@ -18007,9 +18068,9 @@ function JT(e, n) {
18007
18068
  "div",
18008
18069
  {
18009
18070
  class: v(e.n("clock-container")),
18010
- onTouchstart: n[5] || (n[5] = (...o) => e.moveHand && e.moveHand(...o)),
18011
- onTouchmove: n[6] || (n[6] = (...o) => e.moveHand && e.moveHand(...o)),
18012
- onTouchend: n[7] || (n[7] = (...o) => e.end && e.end(...o)),
18071
+ onTouchstart: n[5] || (n[5] = (...r) => e.moveHand && e.moveHand(...r)),
18072
+ onTouchmove: n[6] || (n[6] = (...r) => e.moveHand && e.moveHand(...r)),
18073
+ onTouchend: n[7] || (n[7] = (...r) => e.end && e.end(...r)),
18013
18074
  ref: "container"
18014
18075
  },
18015
18076
  [
@@ -18017,7 +18078,7 @@ function JT(e, n) {
18017
18078
  name: `${e.n()}-panel-fade`
18018
18079
  }, {
18019
18080
  default: me(() => [
18020
- (p(), $e(t, {
18081
+ (p(), $e(o, {
18021
18082
  key: e.type,
18022
18083
  ref: "inner",
18023
18084
  type: e.type,
@@ -18073,7 +18134,7 @@ const Kv = x({
18073
18134
  (q) => {
18074
18135
  if (q) {
18075
18136
  const { hour: ne, minute: H, second: _ } = vn(q), ue = ve().hour(ne).format("hh"), V = ve().hour(ne).format("HH"), W = ve().minute(H).format("mm"), he = ve().second(_).format("ss");
18076
- m.value = (ue === "12" ? 0 : z(ue)) * 30, c.value = z(W) * 6, f.value = z(he) * 6, b.value = N(q), e.format !== "24hr" && (h.value = kt(`${ne}`, 2, "0") === V && cn.includes(V) ? "pm" : "am"), r.value = e.format === "24hr" && cn.includes(V);
18137
+ m.value = (ue === "12" ? 0 : L(ue)) * 30, c.value = L(W) * 6, f.value = L(he) * 6, b.value = N(q), e.format !== "24hr" && (h.value = kt(`${ne}`, 2, "0") === V && cn.includes(V) ? "pm" : "am"), r.value = e.format === "24hr" && cn.includes(V);
18077
18138
  }
18078
18139
  },
18079
18140
  { immediate: !0 }
@@ -18088,7 +18149,7 @@ const Kv = x({
18088
18149
  l.value = !1, d.value = !1, g.value = q;
18089
18150
  }
18090
18151
  function k(q) {
18091
- const { disableHour: ne } = o.value, H = On.findIndex((V) => z(V) === z(b.value.hour)), _ = q === "am" ? On : cn;
18152
+ const { disableHour: ne } = o.value, H = On.findIndex((V) => L(V) === L(b.value.hour)), _ = q === "am" ? On : cn;
18092
18153
  return [..._.slice(H), ..._.slice(0, H)].find((V, W) => (a.value = W !== 0, !ne.includes(V)));
18093
18154
  }
18094
18155
  function D(q) {
@@ -18113,7 +18174,7 @@ const Kv = x({
18113
18174
  second: ve().second(ue).format("ss")
18114
18175
  };
18115
18176
  }
18116
- function L(q) {
18177
+ function z(q) {
18117
18178
  const ne = q / 30;
18118
18179
  return ne >= 0 ? ne : ne + 12;
18119
18180
  }
@@ -18129,7 +18190,7 @@ const Kv = x({
18129
18190
  function te(q, ne, H) {
18130
18191
  const { disableHour: _ } = o.value;
18131
18192
  i.value = O(q, ne);
18132
- const ue = Math.round(H / 30) * 30 + 90, V = L(ue), W = r.value ? On[V] : cn[V];
18193
+ const ue = Math.round(H / 30) * 30 + 90, V = z(ue), W = r.value ? On[V] : cn[V];
18133
18194
  if (_.includes(W) || (r.value = e.format === "24hr" ? O(q, ne) : !1), r.value !== i.value)
18134
18195
  return;
18135
18196
  const he = r.value || h.value === "pm" ? cn[V] : On[V];
@@ -18154,7 +18215,7 @@ const Kv = x({
18154
18215
  format: e.format,
18155
18216
  ampm: h.value,
18156
18217
  hour: b.value.hour,
18157
- minute: z(b.value.minute),
18218
+ minute: L(b.value.minute),
18158
18219
  max: e.max,
18159
18220
  min: e.min,
18160
18221
  disableHour: ne,
@@ -18163,7 +18224,7 @@ const Kv = x({
18163
18224
  Gv(ue) || (f.value = H);
18164
18225
  }
18165
18226
  function X() {
18166
- const { left: q, top: ne, width: H, height: _ } = xe(n.value);
18227
+ const { left: q, top: ne, width: H, height: _ } = en(n.value);
18167
18228
  if (w.x = q + H / 2, w.y = ne + _ / 2, g.value === "hour" && e.format === "24hr") {
18168
18229
  const { rangeXMin: ue, rangeXMax: V, rangeYMin: W, rangeYMax: he } = U();
18169
18230
  E.x = [ue, V], E.y = [W, he];
@@ -18200,6 +18261,7 @@ const Kv = x({
18200
18261
  isPreventNextUpdate: a,
18201
18262
  n: qT,
18202
18263
  classes: GT,
18264
+ pack: Qe,
18203
18265
  moveHand: J,
18204
18266
  checkPanel: I,
18205
18267
  checkAmpm: D,
@@ -18289,7 +18351,7 @@ const { name: _T, n: xT, classes: eE } = ee("uploader");
18289
18351
  let nE = 0;
18290
18352
  const tE = ["onClick"], oE = ["onClick"], rE = ["src", "alt"], aE = ["multiple", "accept", "capture", "disabled"], iE = ["src"];
18291
18353
  function lE(e, n) {
18292
- const t = ae("var-icon"), o = ae("var-hover-overlay"), r = ae("var-form-details"), a = ae("var-popup"), i = Ve("ripple"), l = Ve("hover");
18354
+ const t = ie("var-icon"), o = ie("var-hover-overlay"), r = ie("var-form-details"), a = ie("var-popup"), i = Ve("ripple"), l = Ve("hover");
18293
18355
  return p(), S(
18294
18356
  "div",
18295
18357
  {
@@ -18315,7 +18377,7 @@ function lE(e, n) {
18315
18377
  {
18316
18378
  class: v(e.n("file-name"))
18317
18379
  },
18318
- ie(s.name || s.url),
18380
+ ae(s.name || s.url),
18319
18381
  3
18320
18382
  /* TEXT, CLASS */
18321
18383
  ),
@@ -18489,7 +18551,7 @@ const Zv = x({
18489
18551
  const h = {
18490
18552
  getSuccess: O,
18491
18553
  getError: N,
18492
- getLoading: L
18554
+ getLoading: z
18493
18555
  };
18494
18556
  y(i, {
18495
18557
  validate: j,
@@ -18563,8 +18625,8 @@ const Zv = x({
18563
18625
  const { maxsize: Y, maxlength: le, modelValue: q, onOversize: ne, onAfterRead: H, onBeforeFilter: _, readonly: ue, disabled: V } = e;
18564
18626
  if (a != null && a.disabled.value || a != null && a.readonly.value || V || ue)
18565
18627
  return;
18566
- const W = (ge) => ge.filter((De) => De.file.size > z(Y) ? (y(ne, je(De)), !1) : !0), he = (ge) => {
18567
- const De = Math.min(ge.length, z(le) - q.length);
18628
+ const W = (ge) => ge.filter((De) => De.file.size > L(Y) ? (y(ne, je(De)), !1) : !0), he = (ge) => {
18629
+ const De = Math.min(ge.length, L(le) - q.length);
18568
18630
  return ge.slice(0, De);
18569
18631
  }, Ee = (ge) => Jo(this, null, function* () {
18570
18632
  if (!_)
@@ -18600,7 +18662,7 @@ const Zv = x({
18600
18662
  function N() {
18601
18663
  return e.modelValue.filter((J) => J.state === "error");
18602
18664
  }
18603
- function L() {
18665
+ function z() {
18604
18666
  return e.modelValue.filter((J) => J.state === "loading");
18605
18667
  }
18606
18668
  function U() {
@@ -18634,7 +18696,7 @@ const Zv = x({
18634
18696
  n: xT,
18635
18697
  classes: eE,
18636
18698
  formatElevation: un,
18637
- toNumber: z,
18699
+ toNumber: L,
18638
18700
  handleHovering: f,
18639
18701
  isHTMLSupportVideo: zs,
18640
18702
  isHTMLSupportImage: As,
@@ -18643,7 +18705,7 @@ const Zv = x({
18643
18705
  handleRemove: D,
18644
18706
  getSuccess: O,
18645
18707
  getError: N,
18646
- getLoading: L,
18708
+ getLoading: z,
18647
18709
  validate: j,
18648
18710
  resetValidation: d,
18649
18711
  reset: X,
@@ -18793,7 +18855,7 @@ function SE(e, n) {
18793
18855
  {
18794
18856
  style: F(hE(mE({}, e.font), { fontSize: `${e.font.fontSize}px`, color: e.textColor }))
18795
18857
  },
18796
- ie(e.content),
18858
+ ae(e.content),
18797
18859
  5
18798
18860
  /* TEXT, STYLE */
18799
18861
  )
@@ -18902,7 +18964,7 @@ var us = Jv;
18902
18964
  re(us);
18903
18965
  const r3 = us;
18904
18966
  var pi = us;
18905
- const kE = "2.18.0-alpha.1697608760113";
18967
+ const kE = "2.18.1";
18906
18968
  function PE(e) {
18907
18969
  Zr.install && e.use(Zr), Jr.install && e.use(Jr), xr.install && e.use(xr), ea.install && e.use(ea), na.install && e.use(na), ur.install && e.use(ur), ta.install && e.use(ta), oa.install && e.use(oa), ra.install && e.use(ra), aa.install && e.use(aa), hn.install && e.use(hn), ia.install && e.use(ia), la.install && e.use(la), dr.install && e.use(dr), ho.install && e.use(ho), sa.install && e.use(sa), cr.install && e.use(cr), ua.install && e.use(ua), da.install && e.use(da), ca.install && e.use(ca), wn.install && e.use(wn), ha.install && e.use(ha), wa.install && e.use(wa), Sa.install && e.use(Sa), ka.install && e.use(ka), Pa.install && e.use(Pa), gr.install && e.use(gr), Ea.install && e.use(Ea), Ia.install && e.use(Ia), yo.install && e.use(yo), Ba.install && e.use(Ba), Ma.install && e.use(Ma), pn.install && e.use(pn), kn.install && e.use(kn), In.install && e.use(In), He.install && e.use(He), Da.install && e.use(Da), Co.install && e.use(Co), Na.install && e.use(Na), Va.install && e.use(Va), yr.install && e.use(yr), mo.install && e.use(mo), Aa.install && e.use(Aa), za.install && e.use(za), Yt.install && e.use(Yt), La.install && e.use(La), Kr.install && e.use(Kr), Xt.install && e.use(Xt), Ra.install && e.use(Ra), Ua.install && e.use(Ua), Ha.install && e.use(Ha), Fa.install && e.use(Fa), Ya.install && e.use(Ya), ja.install && e.use(ja), Wa.install && e.use(Wa), vt.install && e.use(vt), qa.install && e.use(qa), Ga.install && e.use(Ga), Xa.install && e.use(Xa), Ka.install && e.use(Ka), Za.install && e.use(Za), Ja.install && e.use(Ja), Ze.install && e.use(Ze), Qa.install && e.use(Qa), _a.install && e.use(_a), xa.install && e.use(xa), ei.install && e.use(ei), ti.install && e.use(ti), oi.install && e.use(oi), ri.install && e.use(ri), ai.install && e.use(ai), So.install && e.use(So), ii.install && e.use(ii), $o.install && e.use($o), wo.install && e.use(wo), li.install && e.use(li), si.install && e.use(si), ui.install && e.use(ui), di.install && e.use(di), ci.install && e.use(ci), fi.install && e.use(fi), vi.install && e.use(vi), mi.install && e.use(mi), br.install && e.use(br), hi.install && e.use(hi), pi.install && e.use(pi);
18908
18970
  }
@@ -19195,7 +19257,7 @@ export {
19195
19257
  Ub as counterProps,
19196
19258
  iy as datePickerProps,
19197
19259
  a3 as default,
19198
- Qe as defaultLazyOptions,
19260
+ _e as defaultLazyOptions,
19199
19261
  zy as dialogProps,
19200
19262
  _y as dividerProps,
19201
19263
  o1 as dragProps,
@@ -19220,7 +19282,7 @@ export {
19220
19282
  _d as merge,
19221
19283
  eS as optionProps,
19222
19284
  aS as overlayProps,
19223
- nn as pack,
19285
+ Qe as pack,
19224
19286
  Qd as packs,
19225
19287
  lS as paginationProps,
19226
19288
  vS as paperProps,