@varlet/ui 2.18.0 → 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
  )
@@ -9921,9 +9955,11 @@ const If = x({
9921
9955
  function $(O) {
9922
9956
  var N;
9923
9957
  m(O);
9924
- const L = O.target;
9925
- if ((t.value === L || ((N = t.value) == null ? void 0 : N.contains(L))) && !e.contentDraggable) {
9926
- (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);
9927
9963
  return;
9928
9964
  }
9929
9965
  const te = w - d.value;
@@ -9951,11 +9987,11 @@ const If = x({
9951
9987
  function D(O) {
9952
9988
  if (i.value.includes(O))
9953
9989
  return O;
9954
- let N = 1 / 0, L = 0;
9990
+ let N = 1 / 0, z = 0;
9955
9991
  return i.value.forEach((U) => {
9956
9992
  const te = Math.abs(U - O);
9957
- te < N && (N = te, L = U);
9958
- }), L;
9993
+ te < N && (N = te, z = U);
9994
+ }), z;
9959
9995
  }
9960
9996
  return {
9961
9997
  contentRef: t,
@@ -9967,7 +10003,7 @@ const If = x({
9967
10003
  n: j$,
9968
10004
  classes: W$,
9969
10005
  toSizeUnit: Se,
9970
- toNumber: z,
10006
+ toNumber: L,
9971
10007
  formatElevation: un,
9972
10008
  handleTouchstart: T,
9973
10009
  handleTouchmove: $,
@@ -10268,7 +10304,7 @@ var Nt = (e, n, t) => new Promise((o, r) => {
10268
10304
  });
10269
10305
  const aw = 250, iw = 20, { name: lw, n: Lu, classes: sw } = ee("swipe"), uw = ["onClick"];
10270
10306
  function dw(e, n) {
10271
- 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");
10272
10308
  return Te((p(), S(
10273
10309
  "div",
10274
10310
  {
@@ -10445,7 +10481,7 @@ const Vf = x({
10445
10481
  moveTouch: D,
10446
10482
  endTouch: O
10447
10483
  } = xt(), N = M(() => P.value === (e.vertical ? "vertical" : "horizontal"));
10448
- let L = !1, U = -1;
10484
+ let z = !1, U = -1;
10449
10485
  d({
10450
10486
  size: t,
10451
10487
  vertical: o
@@ -10484,13 +10520,13 @@ const Vf = x({
10484
10520
  });
10485
10521
  }
10486
10522
  function q() {
10487
- L || (l.value = Y(z(e.initialIndex)), L = !0);
10523
+ z || (l.value = Y(L(e.initialIndex)), z = !0);
10488
10524
  }
10489
10525
  function ne() {
10490
10526
  const { autoplay: se } = e;
10491
10527
  !se || c.value <= 1 || (H(), U = window.setTimeout(() => {
10492
10528
  de(), ne();
10493
- }, z(se)));
10529
+ }, L(se)));
10494
10530
  }
10495
10531
  function H() {
10496
10532
  U && clearTimeout(U);
@@ -10580,7 +10616,7 @@ const Vf = x({
10580
10616
  prev: ke,
10581
10617
  to: Ue,
10582
10618
  resize: oe,
10583
- toNumber: z,
10619
+ toNumber: L,
10584
10620
  handleHovering: he,
10585
10621
  getNavigationAnimation: Ee
10586
10622
  };
@@ -10680,7 +10716,7 @@ const bw = Hu(Hu({
10680
10716
  "onRouteChange"
10681
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"];
10682
10718
  function Pw(e, n) {
10683
- 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");
10684
10720
  return p(), $e(a, {
10685
10721
  class: v(e.n("popup")),
10686
10722
  "var-image-preview-cover": "",
@@ -10754,7 +10790,7 @@ function Pw(e, n) {
10754
10790
  key: 0,
10755
10791
  class: v(e.n("indicators"))
10756
10792
  },
10757
- ie(i + 1) + " / " + ie(l),
10793
+ ae(i + 1) + " / " + ae(l),
10758
10794
  3
10759
10795
  /* TEXT, CLASS */
10760
10796
  )) : Q("v-if", !0)
@@ -10802,7 +10838,7 @@ const zf = x({
10802
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(() => {
10803
10839
  const { images: H, current: _, initialIndex: ue } = e;
10804
10840
  if (ue != null)
10805
- return z(ue);
10841
+ return L(ue);
10806
10842
  const V = H.findIndex((W) => W === _);
10807
10843
  return Math.max(V, 0);
10808
10844
  }), w = M(() => {
@@ -10822,7 +10858,7 @@ const zf = x({
10822
10858
  { immediate: !0 }
10823
10859
  );
10824
10860
  function I() {
10825
- 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(() => {
10826
10862
  a.value = "linear", i.value = "0s";
10827
10863
  }, ju);
10828
10864
  }
@@ -10838,7 +10874,7 @@ const zf = x({
10838
10874
  function N() {
10839
10875
  h(), window.clearTimeout(T), $ = !1, P.start = null;
10840
10876
  }
10841
- function L(H) {
10877
+ function z(H) {
10842
10878
  if (h(), window.clearTimeout(T), $) {
10843
10879
  $ = !1;
10844
10880
  return;
@@ -10866,7 +10902,7 @@ const zf = x({
10866
10902
  height: ue,
10867
10903
  imageRadio: W / V,
10868
10904
  rootRadio: ue / _,
10869
- zoom: z(e.zoom)
10905
+ zoom: L(e.zoom)
10870
10906
  };
10871
10907
  }
10872
10908
  function G(H) {
@@ -10931,7 +10967,7 @@ const zf = x({
10931
10967
  classes: $w,
10932
10968
  handleTouchstart: U,
10933
10969
  handleTouchmove: X,
10934
- handleTouchend: L,
10970
+ handleTouchend: z,
10935
10971
  handleTouchcancel: N,
10936
10972
  close: J,
10937
10973
  prev: Y,
@@ -10951,7 +10987,7 @@ var Lo = zf, Ow = Object.defineProperty, Tw = Object.defineProperties, Ew = Obje
10951
10987
  }, Gu = (e, n) => Tw(e, Ew(n));
10952
10988
  let rt, uo = {};
10953
10989
  function Mw(e = {}) {
10954
- 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);
10955
10991
  }
10956
10992
  function Mt(e) {
10957
10993
  if (!Jn())
@@ -11074,10 +11110,10 @@ const Lf = x({
11074
11110
  return;
11075
11111
  let P = 0;
11076
11112
  if (m !== window) {
11077
- const { top: L } = xe(m);
11078
- P = L;
11113
+ const { top: z } = en(m);
11114
+ P = z;
11079
11115
  }
11080
- 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;
11081
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), {
11082
11118
  offsetTop: f.value,
11083
11119
  isFixed: !0
@@ -11121,7 +11157,7 @@ const Lf = x({
11121
11157
  n: Nw,
11122
11158
  classes: Vw,
11123
11159
  resize: b,
11124
- toNumber: z
11160
+ toNumber: L
11125
11161
  };
11126
11162
  }
11127
11163
  });
@@ -11171,7 +11207,7 @@ function Yw(e, n) {
11171
11207
  [
11172
11208
  R(e.$slots, "default", {}, () => [
11173
11209
  Ie(
11174
- ie(e.name),
11210
+ ae(e.name),
11175
11211
  1
11176
11212
  /* TEXT */
11177
11213
  )
@@ -11291,7 +11327,7 @@ function Kw(e, n) {
11291
11327
  class: v(e.classes(e.n("anchor-item"), [e.active === t, e.n("anchor-item--active")])),
11292
11328
  style: F({ color: e.active === t && e.highlightColor ? e.highlightColor : "" }),
11293
11329
  onClick: (o) => e.anchorClick({ anchorName: t, manualCall: !0 })
11294
- }, ie(t), 15, Xw))),
11330
+ }, ae(t), 15, Xw))),
11295
11331
  128
11296
11332
  /* KEYED_FRAGMENT */
11297
11333
  ))
@@ -11341,13 +11377,13 @@ const Hf = x({
11341
11377
  function b() {
11342
11378
  if (bi(f))
11343
11379
  return 0;
11344
- 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);
11345
11381
  return D - k + O;
11346
11382
  }
11347
11383
  function w() {
11348
11384
  const k = Ht(f), D = f === window ? document.body.scrollHeight : f.scrollHeight, O = b();
11349
- d.forEach((N, L) => {
11350
- 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;
11351
11387
  N.setDisabled(!0), te >= 0 && te < G && n.value === "" && (N.setDisabled(!1), h(N));
11352
11388
  });
11353
11389
  }
@@ -11355,15 +11391,15 @@ const Hf = x({
11355
11391
  return Ko(this, arguments, function* ({ anchorName: D, manualCall: O = !1, options: N }) {
11356
11392
  if (O && y(e.onClick, D), D === r.value && !m)
11357
11393
  return;
11358
- const L = d.find(({ name: j }) => D === j.value);
11359
- if (!L)
11394
+ const z = d.find(({ name: j }) => D === j.value);
11395
+ if (!z)
11360
11396
  return;
11361
- 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);
11362
11398
  n.value = D, h(D, N), yield vo(f, {
11363
11399
  left: G,
11364
11400
  top: te,
11365
11401
  animation: nc,
11366
- duration: z(e.duration)
11402
+ duration: L(e.duration)
11367
11403
  }), yield fn(), n.value = "";
11368
11404
  });
11369
11405
  }
@@ -11388,7 +11424,7 @@ const Hf = x({
11388
11424
  anchorNameList: o,
11389
11425
  n: qw,
11390
11426
  classes: Gw,
11391
- toNumber: z,
11427
+ toNumber: L,
11392
11428
  scrollTo: I,
11393
11429
  anchorClick: E
11394
11430
  };
@@ -11451,7 +11487,7 @@ const xw = _w({
11451
11487
  "onClick"
11452
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"];
11453
11489
  function iC(e, n) {
11454
- const t = ae("var-field-decorator"), o = ae("var-form-details");
11490
+ const t = ie("var-field-decorator"), o = ie("var-form-details");
11455
11491
  return p(), S(
11456
11492
  "div",
11457
11493
  {
@@ -11647,7 +11683,7 @@ const Ff = x({
11647
11683
  function T(Y) {
11648
11684
  const le = Y.target;
11649
11685
  let { value: q } = le;
11650
- return e.type === "number" && (q = N(q)), U(L(q));
11686
+ return e.type === "number" && (q = N(q)), U(z(q));
11651
11687
  }
11652
11688
  function $() {
11653
11689
  r.value = !0;
@@ -11677,11 +11713,11 @@ const Ff = x({
11677
11713
  const le = Y.indexOf("-"), q = Y.indexOf(".");
11678
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, "");
11679
11715
  }
11680
- function L(Y) {
11716
+ function z(Y) {
11681
11717
  return e.modelModifiers.trim ? Y.trim() : Y;
11682
11718
  }
11683
11719
  function U(Y) {
11684
- return e.maxlength ? Y.slice(0, z(e.maxlength)) : Y;
11720
+ return e.maxlength ? Y.slice(0, L(e.maxlength)) : Y;
11685
11721
  }
11686
11722
  function te(Y) {
11687
11723
  const { disabled: le } = e;
@@ -11879,7 +11915,7 @@ var gC = (e, n, t) => new Promise((o, r) => {
11879
11915
  });
11880
11916
  const { name: bC, n: yC, classes: $C } = ee("list");
11881
11917
  function wC(e, n) {
11882
- const t = ae("var-loading"), o = Ve("ripple");
11918
+ const t = ie("var-loading"), o = Ve("ripple");
11883
11919
  return p(), S(
11884
11920
  "div",
11885
11921
  {
@@ -11902,7 +11938,7 @@ function wC(e, n) {
11902
11938
  {
11903
11939
  class: v(e.n("loading-text"))
11904
11940
  },
11905
- ie((r = e.loadingText) != null ? r : e.pack.listLoadingText),
11941
+ ae((r = e.loadingText) != null ? r : e.pack.listLoadingText),
11906
11942
  3
11907
11943
  /* TEXT, CLASS */
11908
11944
  ),
@@ -11924,7 +11960,7 @@ function wC(e, n) {
11924
11960
  {
11925
11961
  class: v(e.n("finished"))
11926
11962
  },
11927
- ie((r = e.finishedText) != null ? r : e.pack.listFinishedText),
11963
+ ae((r = e.finishedText) != null ? r : e.pack.listFinishedText),
11928
11964
  3
11929
11965
  /* TEXT, CLASS */
11930
11966
  )
@@ -11941,7 +11977,7 @@ function wC(e, n) {
11941
11977
  },
11942
11978
  [
11943
11979
  Ie(
11944
- ie((r = e.errorText) != null ? r : e.pack.listErrorText),
11980
+ ae((r = e.errorText) != null ? r : e.pack.listErrorText),
11945
11981
  1
11946
11982
  /* TEXT */
11947
11983
  )
@@ -11983,7 +12019,7 @@ const qf = x({
11983
12019
  y(e["onUpdate:error"], !1), y(e["onUpdate:loading"], !0), y(e.onLoad);
11984
12020
  }
11985
12021
  function l() {
11986
- const { bottom: d } = xe(a), { bottom: c } = xe(t.value);
12022
+ const { bottom: d } = en(a), { bottom: c } = en(t.value);
11987
12023
  return Math.floor(c) - Fe(e.offset) <= d;
11988
12024
  }
11989
12025
  function s() {
@@ -11995,7 +12031,7 @@ const qf = x({
11995
12031
  });
11996
12032
  }
11997
12033
  return {
11998
- pack: nn,
12034
+ pack: Qe,
11999
12035
  listEl: n,
12000
12036
  detectorEl: t,
12001
12037
  isNumber: mn,
@@ -12284,7 +12320,7 @@ const RC = {
12284
12320
  disabled: Boolean
12285
12321
  }, { name: UC, n: HC, classes: FC } = ee("menu-option");
12286
12322
  function YC(e, n) {
12287
- 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");
12288
12324
  return Te((p(), S(
12289
12325
  "div",
12290
12326
  {
@@ -12319,7 +12355,7 @@ function YC(e, n) {
12319
12355
  {
12320
12356
  class: v(e.classes(e.n("text"), e.n("$--ellipsis")))
12321
12357
  },
12322
- ie(e.label),
12358
+ ae(e.label),
12323
12359
  3
12324
12360
  /* TEXT, CLASS */
12325
12361
  )
@@ -12459,7 +12495,7 @@ function ov(e) {
12459
12495
  }
12460
12496
  const { name: KC, n: ZC, classes: JC } = ee("menu-select");
12461
12497
  function QC(e, n) {
12462
- const t = ae("var-menu");
12498
+ const t = ie("var-menu");
12463
12499
  return p(), $e(t, {
12464
12500
  ref: "menu",
12465
12501
  class: v(e.n()),
@@ -12577,7 +12613,7 @@ const eS = {
12577
12613
  disabled: Boolean
12578
12614
  }, { name: nS, n: tS, classes: oS } = ee("option");
12579
12615
  function rS(e, n) {
12580
- 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");
12581
12617
  return Te((p(), S(
12582
12618
  "div",
12583
12619
  {
@@ -12617,7 +12653,7 @@ function rS(e, n) {
12617
12653
  {
12618
12654
  class: v(e.classes(e.n("text"), e.n("$--ellipsis")))
12619
12655
  },
12620
- ie(e.label),
12656
+ ae(e.label),
12621
12657
  3
12622
12658
  /* TEXT, CLASS */
12623
12659
  )
@@ -12777,7 +12813,7 @@ const lS = {
12777
12813
  "onUpdate:size": A()
12778
12814
  }, { name: sS, n: uS, classes: dS } = ee("pagination"), cS = ["item-mode", "onClick"];
12779
12815
  function fS(e, n) {
12780
- 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");
12781
12817
  return p(), S(
12782
12818
  "ul",
12783
12819
  {
@@ -12825,7 +12861,7 @@ function fS(e, n) {
12825
12861
  }, null, 8, ["disabled", "modelValue"]),
12826
12862
  B("span", null, [
12827
12863
  Ie(
12828
- " / " + ie(e.pageCount) + " ",
12864
+ " / " + ae(e.pageCount) + " ",
12829
12865
  1
12830
12866
  /* TEXT */
12831
12867
  ),
@@ -12861,7 +12897,7 @@ function fS(e, n) {
12861
12897
  onClick: (u) => e.clickItem(l, s)
12862
12898
  }, [
12863
12899
  Ie(
12864
- ie(l),
12900
+ ae(l),
12865
12901
  1
12866
12902
  /* TEXT */
12867
12903
  )
@@ -12918,7 +12954,7 @@ function fS(e, n) {
12918
12954
  }, {
12919
12955
  default: me(() => [
12920
12956
  Ie(
12921
- ie(l) + ie(e.pack.paginationItem) + " / " + ie(e.pack.paginationPage),
12957
+ ae(l) + ae(e.pack.paginationItem) + " / " + ae(e.pack.paginationPage),
12922
12958
  1
12923
12959
  /* TEXT */
12924
12960
  )
@@ -12943,7 +12979,7 @@ function fS(e, n) {
12943
12979
  B(
12944
12980
  "span",
12945
12981
  null,
12946
- ie(e.size) + ie(e.pack.paginationItem) + " / " + ie(e.pack.paginationPage),
12982
+ ae(e.size) + ae(e.pack.paginationItem) + " / " + ae(e.pack.paginationPage),
12947
12983
  1
12948
12984
  /* TEXT */
12949
12985
  ),
@@ -12972,7 +13008,7 @@ function fS(e, n) {
12972
13008
  },
12973
13009
  [
12974
13010
  Ie(
12975
- ie(e.pack.paginationJump) + " ",
13011
+ ae(e.pack.paginationJump) + " ",
12976
13012
  1
12977
13013
  /* TEXT */
12978
13014
  ),
@@ -12994,7 +13030,7 @@ function fS(e, n) {
12994
13030
  key: 4,
12995
13031
  class: v(e.classes(e.n("total"), [e.disabled, e.n("item--disabled")]))
12996
13032
  },
12997
- ie(e.totalText),
13033
+ ae(e.totalText),
12998
13034
  3
12999
13035
  /* TEXT, CLASS */
13000
13036
  )) : Q("v-if", !0)
@@ -13014,17 +13050,17 @@ const lv = x({
13014
13050
  directives: { Ripple: Ze },
13015
13051
  props: lS,
13016
13052
  setup(e) {
13017
- 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(() => {
13018
- 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));
13019
13055
  return [$, P];
13020
- }), f = M(() => e.showTotal ? e.showTotal(z(e.total), c.value) : "");
13056
+ }), f = M(() => e.showTotal ? e.showTotal(L(e.total), c.value) : "");
13021
13057
  ce([() => e.current, () => e.size], ([$, P]) => {
13022
- i.value = z($) || 1, l.value = z(P || 10);
13058
+ i.value = L($) || 1, l.value = L(P || 10);
13023
13059
  }), ce(
13024
13060
  [i, l, d],
13025
13061
  ([$, P, I], [k, D]) => {
13026
13062
  let O = [];
13027
- 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;
13028
13064
  if (o.value = `${$}`, I - 2 > N) {
13029
13065
  if (k === void 0 || I !== te)
13030
13066
  for (let j = 2; j < N + 2; j++)
@@ -13093,11 +13129,11 @@ const lv = x({
13093
13129
  }
13094
13130
  function T($, P, I) {
13095
13131
  I.target.blur();
13096
- const k = E(z(P));
13132
+ const k = E(L(P));
13097
13133
  o.value = String(k), i.value = k, $ === "quick" && (t.value = "");
13098
13134
  }
13099
13135
  return {
13100
- pack: nn,
13136
+ pack: Qe,
13101
13137
  current: i,
13102
13138
  menuVisible: n,
13103
13139
  size: l,
@@ -13114,7 +13150,7 @@ const lv = x({
13114
13150
  showMenu: b,
13115
13151
  clickSize: w,
13116
13152
  setPage: T,
13117
- toNumber: z,
13153
+ toNumber: L,
13118
13154
  formatElevation: un
13119
13155
  };
13120
13156
  }
@@ -13258,7 +13294,7 @@ const CS = wS({
13258
13294
  let ad = 0;
13259
13295
  const ES = ["onTouchstartPassive", "onTouchmove", "onTouchend"], IS = ["onTransitionend"], BS = ["onClick"];
13260
13296
  function MS(e, n) {
13261
- const t = ae("var-button");
13297
+ const t = ie("var-button");
13262
13298
  return p(), $e(
13263
13299
  Jt(e.dynamic ? e.n("$-popup") : e.Transition),
13264
13300
  ze(
@@ -13306,7 +13342,7 @@ function MS(e, n) {
13306
13342
  var o;
13307
13343
  return [
13308
13344
  Ie(
13309
- ie((o = e.cancelButtonText) != null ? o : e.pack.pickerCancelButtonText),
13345
+ ae((o = e.cancelButtonText) != null ? o : e.pack.pickerCancelButtonText),
13310
13346
  1
13311
13347
  /* TEXT */
13312
13348
  )
@@ -13324,7 +13360,7 @@ function MS(e, n) {
13324
13360
  {
13325
13361
  class: v(e.n("title"))
13326
13362
  },
13327
- ie((o = e.title) != null ? o : e.pack.pickerTitle),
13363
+ ae((o = e.title) != null ? o : e.pack.pickerTitle),
13328
13364
  3
13329
13365
  /* TEXT, CLASS */
13330
13366
  )
@@ -13342,7 +13378,7 @@ function MS(e, n) {
13342
13378
  var o;
13343
13379
  return [
13344
13380
  Ie(
13345
- ie((o = e.confirmButtonText) != null ? o : e.pack.pickerConfirmButtonText),
13381
+ ae((o = e.confirmButtonText) != null ? o : e.pack.pickerConfirmButtonText),
13346
13382
  1
13347
13383
  /* TEXT */
13348
13384
  )
@@ -13398,7 +13434,7 @@ function MS(e, n) {
13398
13434
  {
13399
13435
  class: v(e.classes(e.n("text"), r.textClassName))
13400
13436
  },
13401
- ie(r[e.getOptionKey("text")]),
13437
+ ae(r[e.getOptionKey("text")]),
13402
13438
  3
13403
13439
  /* TEXT, CLASS */
13404
13440
  )
@@ -13546,7 +13582,7 @@ const uv = x({
13546
13582
  const he = Math.round((a.value - W) / o.value);
13547
13583
  return Cm(he, V.column);
13548
13584
  }
13549
- function L(V) {
13585
+ function z(V) {
13550
13586
  return V.translate = a.value - V.index * o.value, V.translate;
13551
13587
  }
13552
13588
  function U() {
@@ -13561,7 +13597,7 @@ const uv = x({
13561
13597
  };
13562
13598
  }
13563
13599
  function te(V, W = 0) {
13564
- L(V), V.duration = W;
13600
+ z(V), V.duration = W;
13565
13601
  }
13566
13602
  function G(V, W, he) {
13567
13603
  V.translate += Math.abs(W / he) / 3e-3 * (W < 0 ? -1 : 1);
@@ -13622,7 +13658,7 @@ const uv = x({
13622
13658
  b(W), y(e.onCancel, V, W, he);
13623
13659
  }
13624
13660
  return {
13625
- pack: nn,
13661
+ pack: Qe,
13626
13662
  optionHeight: o,
13627
13663
  optionCount: r,
13628
13664
  scrollColumns: t,
@@ -13815,7 +13851,7 @@ function YS(e, n) {
13815
13851
  [
13816
13852
  R(e.$slots, "default", {}, () => [
13817
13853
  Ie(
13818
- ie(e.linearProps.roundValue),
13854
+ ae(e.linearProps.roundValue),
13819
13855
  1
13820
13856
  /* TEXT */
13821
13857
  )
@@ -13895,7 +13931,7 @@ function YS(e, n) {
13895
13931
  [
13896
13932
  R(e.$slots, "default", {}, () => [
13897
13933
  Ie(
13898
- ie(e.circleProps.roundValue),
13934
+ ae(e.circleProps.roundValue),
13899
13935
  1
13900
13936
  /* TEXT */
13901
13937
  )
@@ -13918,13 +13954,13 @@ const dv = x({
13918
13954
  props: DS,
13919
13955
  setup(e) {
13920
13956
  const n = Dd(), t = M(() => {
13921
- 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);
13922
13958
  return {
13923
13959
  width: `${l}%`,
13924
13960
  roundValue: `${s}%`
13925
13961
  };
13926
13962
  }), o = M(() => {
13927
- 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}
13928
13964
  0 1 1 ${b} ${-w} a ${Wn} ${Wn} 0 1 1 ${-b} ${w}`;
13929
13965
  return {
13930
13966
  strokeWidth: m,
@@ -13993,7 +14029,7 @@ var ld = (e, n, t) => new Promise((o, r) => {
13993
14029
  });
13994
14030
  const { name: WS, n: sd, classes: qS } = ee("pull-refresh"), ud = 150;
13995
14031
  function GS(e, n) {
13996
- const t = ae("var-icon");
14032
+ const t = ie("var-icon");
13997
14033
  return p(), S(
13998
14034
  "div",
13999
14035
  {
@@ -14036,7 +14072,7 @@ const cv = x({
14036
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(
14037
14073
  () => l.value !== "loading" && l.value !== "success" && !e.disabled
14038
14074
  ), f = M(() => ({
14039
- 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)`,
14040
14076
  transition: s.value ? `transform ${e.animationDuration}ms` : void 0,
14041
14077
  background: d.value ? e.successBgColor : e.bgColor,
14042
14078
  color: d.value ? e.successColor : e.color
@@ -14047,14 +14083,14 @@ const cv = x({
14047
14083
  (N) => {
14048
14084
  N === !1 && (s.value = !0, l.value = "success", i.value = "checkbox-marked-circle", setTimeout(() => {
14049
14085
  a.value = n.value, O();
14050
- }, z(e.successDuration)));
14086
+ }, L(e.successDuration)));
14051
14087
  }
14052
14088
  ), rn(D), ft(t, "touchmove", I);
14053
14089
  function T(N) {
14054
14090
  return ld(this, null, function* () {
14055
14091
  if (i.value !== N)
14056
- return i.value = N, new Promise((L) => {
14057
- window.setTimeout(L, ud);
14092
+ return i.value = N, new Promise((z) => {
14093
+ window.setTimeout(z, ud);
14058
14094
  });
14059
14095
  });
14060
14096
  }
@@ -14063,8 +14099,8 @@ const cv = x({
14063
14099
  }
14064
14100
  function P(N) {
14065
14101
  if (m(N), n.value === 0) {
14066
- const { width: L } = xe(o.value);
14067
- n.value = -(L + L * 0.25);
14102
+ const { width: z } = en(o.value);
14103
+ n.value = -(z + z * 0.25);
14068
14104
  }
14069
14105
  E = mt(N.target);
14070
14106
  }
@@ -14077,11 +14113,11 @@ const cv = x({
14077
14113
  }
14078
14114
  function k() {
14079
14115
  return ld(this, null, function* () {
14080
- 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(() => {
14081
14117
  y(e.onRefresh);
14082
14118
  }), $("remove")) : (l.value = "loosing", i.value = "arrow-down", a.value = n.value, setTimeout(() => {
14083
14119
  s.value = !1, $("remove");
14084
- }, z(e.animationDuration))), E = null);
14120
+ }, L(e.animationDuration))), E = null);
14085
14121
  });
14086
14122
  }
14087
14123
  function D() {
@@ -14090,7 +14126,7 @@ const cv = x({
14090
14126
  function O() {
14091
14127
  setTimeout(() => {
14092
14128
  l.value = "default", i.value = "arrow-down", s.value = !1;
14093
- }, z(e.animationDuration));
14129
+ }, L(e.animationDuration));
14094
14130
  }
14095
14131
  return {
14096
14132
  ICON_TRANSITION: ud,
@@ -14164,7 +14200,7 @@ function ZS() {
14164
14200
  }
14165
14201
  const { name: JS, n: QS, classes: _S } = ee("radio");
14166
14202
  function xS(e, n) {
14167
- 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");
14168
14204
  return p(), S(
14169
14205
  "div",
14170
14206
  {
@@ -14279,8 +14315,8 @@ const vv = x({
14279
14315
  r && n.value === k || (n.value = I, y(D, n.value), r == null || r.onToggle(k), h("onChange"));
14280
14316
  }
14281
14317
  function w(I) {
14282
- const { disabled: k, readonly: D, uncheckedValue: O, checkedValue: N, onClick: L } = e;
14283
- 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)));
14284
14320
  }
14285
14321
  function E(I) {
14286
14322
  const { checkedValue: k, uncheckedValue: D } = e;
@@ -14338,7 +14374,7 @@ const ek = {
14338
14374
  "onUpdate:modelValue": A()
14339
14375
  }, { name: nk, n: tk, classes: ok } = ee("radio-group");
14340
14376
  function rk(e, n) {
14341
- const t = ae("var-form-details");
14377
+ const t = ie("var-form-details");
14342
14378
  return p(), S(
14343
14379
  "div",
14344
14380
  {
@@ -14416,7 +14452,7 @@ const LI = Yl;
14416
14452
  var Ka = Yl;
14417
14453
  const ak = {
14418
14454
  modelValue: {
14419
- type: [String, Number],
14455
+ type: Number,
14420
14456
  default: 0
14421
14457
  },
14422
14458
  count: {
@@ -14456,7 +14492,7 @@ const ak = {
14456
14492
  "onUpdate:modelValue": A()
14457
14493
  }, { name: ik, n: oo } = ee("rate"), lk = ["onClick"];
14458
14494
  function sk(e, n) {
14459
- 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");
14460
14496
  return p(), S(
14461
14497
  "div",
14462
14498
  {
@@ -14517,7 +14553,7 @@ const hv = x({
14517
14553
  props: ak,
14518
14554
  setup(e) {
14519
14555
  const n = C(-1), { form: t, bindForm: o } = Mn(), { errorMessage: r, validateWithTrigger: a, validate: i, resetValidation: l } = Bn(), { hovering: s } = Hn();
14520
- let u = Number(e.modelValue);
14556
+ let u = L(e.modelValue);
14521
14557
  y(o, {
14522
14558
  reset: T,
14523
14559
  validate: h,
@@ -14527,7 +14563,7 @@ const hv = x({
14527
14563
  const { count: P, gap: I } = e;
14528
14564
  return {
14529
14565
  color: m($).color,
14530
- marginRight: $ !== z(P) ? Se(I) : 0
14566
+ marginRight: $ !== L(P) ? Se(I) : 0
14531
14567
  };
14532
14568
  }
14533
14569
  function f($) {
@@ -14547,7 +14583,7 @@ const hv = x({
14547
14583
  color: D,
14548
14584
  half: O,
14549
14585
  emptyColor: N,
14550
- icon: L,
14586
+ icon: z,
14551
14587
  halfIcon: U,
14552
14588
  emptyIcon: te,
14553
14589
  namespace: G,
@@ -14555,7 +14591,7 @@ const hv = x({
14555
14591
  emptyIconNamespace: X
14556
14592
  } = e;
14557
14593
  let J = D;
14558
- 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 } : {
14559
14595
  color: I || t != null && t.disabled.value ? k : N,
14560
14596
  name: te,
14561
14597
  namespace: X
@@ -14563,17 +14599,17 @@ const hv = x({
14563
14599
  }
14564
14600
  function g($, P) {
14565
14601
  const { half: I, clearable: k } = e, { offsetWidth: D } = P.target;
14566
- 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 = $;
14567
14603
  }
14568
14604
  function h() {
14569
- return i(e.rules, z(e.modelValue));
14605
+ return i(e.rules, e.modelValue);
14570
14606
  }
14571
14607
  function b() {
14572
14608
  return Ye(() => a(["onChange"], "onChange", e.rules, e.modelValue));
14573
14609
  }
14574
14610
  function w($, P) {
14575
- const { readonly: I, disabled: k, onChange: D } = e;
14576
- 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());
14577
14613
  }
14578
14614
  function E($) {
14579
14615
  return (P) => {
@@ -14598,7 +14634,7 @@ const hv = x({
14598
14634
  validate: h,
14599
14635
  resetValidation: l,
14600
14636
  toSizeUnit: Se,
14601
- toNumber: z,
14637
+ toNumber: L,
14602
14638
  n: oo
14603
14639
  };
14604
14640
  }
@@ -14753,7 +14789,7 @@ const yv = x({
14753
14789
  return {
14754
14790
  n: Tk,
14755
14791
  classes: Ek,
14756
- toNumber: z
14792
+ toNumber: L
14757
14793
  };
14758
14794
  }
14759
14795
  });
@@ -14854,7 +14890,7 @@ function Xk(e, n) {
14854
14890
  key: 0,
14855
14891
  class: v(e.n("title"))
14856
14892
  },
14857
- ie(e.title),
14893
+ ae(e.title),
14858
14894
  3
14859
14895
  /* TEXT, CLASS */
14860
14896
  )) : Q("v-if", !0)
@@ -14866,7 +14902,7 @@ function Xk(e, n) {
14866
14902
  key: 0,
14867
14903
  class: v(e.n("description"))
14868
14904
  },
14869
- ie(e.description),
14905
+ ae(e.description),
14870
14906
  3
14871
14907
  /* TEXT, CLASS */
14872
14908
  )) : Q("v-if", !0)
@@ -14913,7 +14949,7 @@ const Cv = x({
14913
14949
  toSizeUnit: Se,
14914
14950
  n: qk,
14915
14951
  classes: Gk,
14916
- toNumber: z,
14952
+ toNumber: L,
14917
14953
  toPxNum: Fe
14918
14954
  };
14919
14955
  }
@@ -15039,7 +15075,7 @@ const oP = tP({
15039
15075
  "onClick"
15040
15076
  ])), { name: rP, n: aP, classes: iP } = ee("select"), lP = { key: 1 };
15041
15077
  function sP(e, n) {
15042
- 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");
15043
15079
  return p(), S(
15044
15080
  "div",
15045
15081
  {
@@ -15136,7 +15172,7 @@ function sP(e, n) {
15136
15172
  Ge(e.labels, (l) => (p(), $e(t, {
15137
15173
  class: v(e.n("chip")),
15138
15174
  "var-select-cover": "",
15139
- closable: "",
15175
+ closeable: "",
15140
15176
  size: "small",
15141
15177
  type: e.errorMessage ? "danger" : void 0,
15142
15178
  key: l,
@@ -15146,7 +15182,7 @@ function sP(e, n) {
15146
15182
  }, {
15147
15183
  default: me(() => [
15148
15184
  Ie(
15149
- ie(l),
15185
+ ae(l),
15150
15186
  1
15151
15187
  /* TEXT */
15152
15188
  )
@@ -15166,7 +15202,7 @@ function sP(e, n) {
15166
15202
  key: 1,
15167
15203
  class: v(e.n("values"))
15168
15204
  },
15169
- ie(e.labels.join(e.separator)),
15205
+ ae(e.labels.join(e.separator)),
15170
15206
  3
15171
15207
  /* TEXT, CLASS */
15172
15208
  ))
@@ -15176,7 +15212,7 @@ function sP(e, n) {
15176
15212
  )) : (p(), S(
15177
15213
  "span",
15178
15214
  lP,
15179
- ie(e.label),
15215
+ ae(e.label),
15180
15216
  1
15181
15217
  /* TEXT */
15182
15218
  ))
@@ -15194,7 +15230,7 @@ function sP(e, n) {
15194
15230
  color: e.placeholderColor
15195
15231
  })
15196
15232
  },
15197
- ie(e.placeholder),
15233
+ ae(e.placeholder),
15198
15234
  7
15199
15235
  /* TEXT, CLASS, STYLE */
15200
15236
  )) : Q("v-if", !0),
@@ -15287,7 +15323,7 @@ const kv = x({
15287
15323
  E(H, ne, _, ue);
15288
15324
  });
15289
15325
  }
15290
- function L() {
15326
+ function z() {
15291
15327
  const { disabled: ne, readonly: H, onFocus: _ } = e;
15292
15328
  u != null && u.disabled.value || u != null && u.readonly.value || ne || H || (l.value = Fe(e.offsetY), n.value = !0, y(_), N("onFocus"));
15293
15329
  }
@@ -15354,7 +15390,7 @@ const kv = x({
15354
15390
  enableCustomPlaceholder: D,
15355
15391
  n: aP,
15356
15392
  classes: iP,
15357
- handleFocus: L,
15393
+ handleFocus: z,
15358
15394
  handleBlur: U,
15359
15395
  handleClear: G,
15360
15396
  handleClick: j,
@@ -15575,7 +15611,7 @@ const Pv = x({
15575
15611
  n: cP,
15576
15612
  classes: fP,
15577
15613
  toSizeUnit: Se,
15578
- toNumber: z
15614
+ toNumber: L
15579
15615
  })
15580
15616
  });
15581
15617
  Pv.render = vP;
@@ -15625,7 +15661,7 @@ const mP = {
15625
15661
  "onUpdate:modelValue": A()
15626
15662
  }, { name: hP, n: fd, classes: pP } = ee("slider"), gP = ["onTouchstart"];
15627
15663
  function bP(e, n) {
15628
- 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");
15629
15665
  return p(), S(
15630
15666
  "div",
15631
15667
  {
@@ -15738,7 +15774,7 @@ function bP(e, n) {
15738
15774
  B(
15739
15775
  "span",
15740
15776
  null,
15741
- ie(a.text),
15777
+ ae(a.text),
15742
15778
  1
15743
15779
  /* TEXT */
15744
15780
  )
@@ -15774,7 +15810,7 @@ const Ov = x({
15774
15810
  directives: { Hover: kn },
15775
15811
  props: mP,
15776
15812
  setup(e) {
15777
- 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(() => {
15778
15814
  const { modelValue: oe, range: de } = e;
15779
15815
  let ke = [];
15780
15816
  return de && Ae(oe) ? ke = [
@@ -15824,7 +15860,7 @@ const Ov = x({
15824
15860
  validate: D,
15825
15861
  resetValidation: g
15826
15862
  }), ce([() => e.modelValue, () => e.step], ([oe, de]) => {
15827
- !V() || !W() || o.value || he(oe, z(de));
15863
+ !V() || !W() || o.value || he(oe, L(de));
15828
15864
  }), ce(n, () => he()), rn(() => {
15829
15865
  !V() || !W() || (n.value = t.value[s.value ? "offsetHeight" : "offsetWidth"]);
15830
15866
  }), $r(() => {
@@ -15844,9 +15880,9 @@ const Ov = x({
15844
15880
  function N() {
15845
15881
  return Ye(() => f(["onChange"], "onChange", e.rules, e.modelValue));
15846
15882
  }
15847
- function L(oe) {
15883
+ function z(oe) {
15848
15884
  const de = oe.currentTarget;
15849
- 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;
15850
15886
  }
15851
15887
  function U(oe) {
15852
15888
  return {
@@ -15859,20 +15895,20 @@ const Ov = x({
15859
15895
  }
15860
15896
  function G(oe) {
15861
15897
  const { min: de, max: ke } = e;
15862
- 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;
15863
15899
  }
15864
15900
  function j(oe) {
15865
15901
  if (!mn(oe))
15866
15902
  return 0;
15867
15903
  let de = oe;
15868
- 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));
15869
15905
  }
15870
15906
  function X(oe, de) {
15871
15907
  i.value || de.handleHovering(oe);
15872
15908
  }
15873
15909
  function J(oe, de) {
15874
15910
  let ke = [];
15875
- 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);
15876
15912
  if (P[de].percentValue = Ce, se && Ae(ge) && (ke = de === Xe.First ? [ye, ge[1]] : [ge[0], ye]), Me !== ye) {
15877
15913
  const Be = se ? ke.map((Je) => j(Je)) : j(ye);
15878
15914
  y(De, Be), y(e["onUpdate:modelValue"], Be), N();
@@ -15911,27 +15947,27 @@ const Ov = x({
15911
15947
  return;
15912
15948
  let ge = [];
15913
15949
  P[I].currentOffset = P[I].percentValue * a.value;
15914
- const De = P[I].percentValue * z(Ue) + z(se);
15950
+ const De = P[I].percentValue * L(Ue) + L(se);
15915
15951
  oe && Ae(de) && (ge = I === Xe.First ? [De, de[1]] : [de[0], De]), y(ke, oe ? ge : De), o.value = !1;
15916
15952
  }
15917
15953
  function ue(oe) {
15918
15954
  if (i.value || l.value || oe.target.closest(`.${fd("thumb")}`))
15919
15955
  return;
15920
- const de = L(oe), ke = Y(de);
15956
+ const de = z(oe), ke = Y(de);
15921
15957
  I = ke, J(de, ke), _();
15922
15958
  }
15923
15959
  function V() {
15924
- const oe = z(e.step);
15960
+ const oe = L(e.step);
15925
15961
  return isNaN(oe) ? (Ps("Slider", 'type of prop "step" should be Number'), !1) : oe < 0 ? (Ps("Slider", '"step" should be > 0'), !1) : !0;
15926
15962
  }
15927
15963
  function W() {
15928
15964
  const { range: oe, modelValue: de } = e;
15929
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;
15930
15966
  }
15931
- function he(oe = e.modelValue, de = z(e.step)) {
15967
+ function he(oe = e.modelValue, de = L(e.step)) {
15932
15968
  const ke = (Ue) => {
15933
15969
  const { min: se, max: ge } = e;
15934
- 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;
15935
15971
  };
15936
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);
15937
15973
  }
@@ -15953,7 +15989,7 @@ const Ov = x({
15953
15989
  thumbStyle: U,
15954
15990
  hover: X,
15955
15991
  multiplySizeUnit: dn,
15956
- toNumber: z,
15992
+ toNumber: L,
15957
15993
  showLabel: te,
15958
15994
  start: ne,
15959
15995
  move: H,
@@ -16016,7 +16052,7 @@ const Tv = {
16016
16052
  loading: ""
16017
16053
  };
16018
16054
  function IP(e, n) {
16019
- const t = ae("var-icon"), o = ae("var-loading");
16055
+ const t = ie("var-icon"), o = ie("var-loading");
16020
16056
  return Te((p(), S(
16021
16057
  "div",
16022
16058
  {
@@ -16047,7 +16083,7 @@ function IP(e, n) {
16047
16083
  [
16048
16084
  R(e.$slots, "default", {}, () => [
16049
16085
  Ie(
16050
- ie(e.content),
16086
+ ae(e.content),
16051
16087
  1
16052
16088
  /* TEXT */
16053
16089
  )
@@ -16144,7 +16180,7 @@ Ev.render = IP;
16144
16180
  var Iv = Ev;
16145
16181
  const { name: BP, n: MP } = ee("snackbar");
16146
16182
  function DP(e, n) {
16147
- const t = ae("var-snackbar-core");
16183
+ const t = ie("var-snackbar-core");
16148
16184
  return p(), $e(jn, {
16149
16185
  to: e.teleport === !1 ? void 0 : e.teleport,
16150
16186
  disabled: e.disabled || e.teleport === !1
@@ -16167,7 +16203,7 @@ function DP(e, n) {
16167
16203
  default: me(() => [
16168
16204
  R(e.$slots, "default", {}, () => [
16169
16205
  Ie(
16170
- ie(e.content),
16206
+ ae(e.content),
16171
16207
  1
16172
16208
  /* TEXT */
16173
16209
  )
@@ -16318,19 +16354,19 @@ Zn.resetDefaultOptions = function() {
16318
16354
  Zl = Nv;
16319
16355
  };
16320
16356
  function RP(e) {
16321
- 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));
16322
16358
  t && y(t.reactiveSnackOptions.onOpened);
16323
16359
  }
16324
16360
  function UP(e) {
16325
16361
  e.parentElement && e.parentElement.classList.remove("var-pointer-auto");
16326
- 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));
16327
16363
  t && (t.animationEnd = !0, y(t.reactiveSnackOptions.onClosed)), En.every((r) => r.animationEnd) && (y(Dv), En = je([]), ni = !1);
16328
16364
  }
16329
16365
  function HP(e) {
16330
16366
  En.push(e);
16331
16367
  }
16332
16368
  function FP(e = {}) {
16333
- return en(e) ? {
16369
+ return nn(e) ? {
16334
16370
  content: e
16335
16371
  } : e;
16336
16372
  }
@@ -16462,7 +16498,7 @@ function _P() {
16462
16498
  }
16463
16499
  const { name: xP, n: eO, classes: nO } = ee("step"), tO = { key: 3 };
16464
16500
  function oO(e, n) {
16465
- const t = ae("var-icon");
16501
+ const t = ie("var-icon");
16466
16502
  return p(), S(
16467
16503
  "div",
16468
16504
  {
@@ -16504,7 +16540,7 @@ function oO(e, n) {
16504
16540
  }, null, 8, ["class", "name", "namespace"])) : (p(), S(
16505
16541
  "span",
16506
16542
  tO,
16507
- ie(e.index + 1),
16543
+ ae(e.index + 1),
16508
16544
  1
16509
16545
  /* TEXT */
16510
16546
  ))
@@ -16547,7 +16583,7 @@ const Av = x({
16547
16583
  components: { VarIcon: He },
16548
16584
  props: JP,
16549
16585
  setup() {
16550
- 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);
16551
16587
  t({ index: e });
16552
16588
  function c() {
16553
16589
  return l(e.value);
@@ -16699,7 +16735,7 @@ const fO = {
16699
16735
  gO
16700
16736
  ];
16701
16737
  function yO(e, n) {
16702
- 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");
16703
16739
  return Te((p(), S(
16704
16740
  "div",
16705
16741
  {
@@ -16848,8 +16884,8 @@ const Lv = x({
16848
16884
  } = e;
16849
16885
  if (y(E, w), $ || P || I || t != null && t.disabled.value || t != null && t.readonly.value)
16850
16886
  return;
16851
- const L = k === D ? O : D;
16852
- y(T, L), y(N, L), m();
16887
+ const z = k === D ? O : D;
16888
+ y(T, z), y(N, z), m();
16853
16889
  }
16854
16890
  function h(w) {
16855
16891
  e.disabled || t != null && t.disabled.value || s(w);
@@ -16968,7 +17004,7 @@ const OO = {
16968
17004
  name: [String, Number]
16969
17005
  }, { name: TO, n: EO, classes: IO } = ee("tab-item");
16970
17006
  function BO(e, n) {
16971
- const t = ae("var-swipe-item");
17007
+ const t = ie("var-swipe-item");
16972
17008
  return p(), $e(t, {
16973
17009
  class: v(e.classes(e.n(), [!e.current, e.n("--inactive")])),
16974
17010
  "var-tab-item-cover": ""
@@ -17232,37 +17268,37 @@ const Yv = x({
17232
17268
  yield fn(), O();
17233
17269
  })
17234
17270
  ), ce(() => [e.active, e.scrollable], O), gt(O), _t(O);
17235
- function E(L) {
17271
+ function E(z) {
17236
17272
  var U;
17237
- 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;
17238
17274
  y(e["onUpdate:active"], te), y(X, te), te !== G && y(j, te);
17239
17275
  }
17240
17276
  function T() {
17241
- return g.find(({ name: L }) => e.active === L.value);
17277
+ return g.find(({ name: z }) => e.active === z.value);
17242
17278
  }
17243
- function $(L) {
17244
- return g.find(({ index: U }) => (L ?? e.active) === U.value);
17279
+ function $(z) {
17280
+ return g.find(({ index: U }) => (z ?? e.active) === U.value);
17245
17281
  }
17246
17282
  function P() {
17247
17283
  if (b.value === 0)
17248
17284
  return;
17249
- const { active: L } = e;
17250
- if (mn(L)) {
17251
- 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);
17252
17288
  return y(e["onUpdate:active"], U), $(U);
17253
17289
  }
17254
17290
  }
17255
17291
  function I() {
17256
17292
  a.value = e.scrollable === "always" || g.length >= 5;
17257
17293
  }
17258
- function k({ element: L }) {
17259
- const U = L.value;
17294
+ function k({ element: z }) {
17295
+ const U = z.value;
17260
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`));
17261
17297
  }
17262
- function D({ element: L }) {
17298
+ function D({ element: z }) {
17263
17299
  if (!a.value)
17264
17300
  return;
17265
- const U = i.value, te = L.value;
17301
+ const U = i.value, te = z.value;
17266
17302
  if (e.layoutDirection === "horizontal") {
17267
17303
  const G = te.offsetLeft + te.offsetWidth / 2 - U.offsetWidth / 2;
17268
17304
  vo(U, {
@@ -17278,8 +17314,8 @@ const Yv = x({
17278
17314
  }
17279
17315
  }
17280
17316
  function O() {
17281
- const L = T() || $() || P();
17282
- !L || L.disabled.value || (I(), k(L), D(L));
17317
+ const z = T() || $() || P();
17318
+ !z || z.disabled.value || (I(), k(z), D(z));
17283
17319
  }
17284
17320
  function N() {
17285
17321
  return bd(this, null, function* () {
@@ -17340,7 +17376,7 @@ var YO = (e, n, t) => new Promise((o, r) => {
17340
17376
  });
17341
17377
  const { name: jO, n: WO } = ee("tabs-items");
17342
17378
  function qO(e, n) {
17343
- const t = ae("var-swipe");
17379
+ const t = ie("var-swipe");
17344
17380
  return p(), $e(t, {
17345
17381
  class: v(e.n()),
17346
17382
  ref: "swipe",
@@ -17573,8 +17609,11 @@ const On = ["12", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], cn =
17573
17609
  type: [Boolean, Number, String],
17574
17610
  default: !1
17575
17611
  },
17612
+ hint: String,
17576
17613
  color: String,
17614
+ /** @deprecated Use titleColor to instead. */
17577
17615
  headerColor: String,
17616
+ titleColor: String,
17578
17617
  format: {
17579
17618
  type: String,
17580
17619
  default: "ampm"
@@ -17587,17 +17626,17 @@ const On = ["12", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], cn =
17587
17626
  "onUpdate:modelValue": A(),
17588
17627
  onChange: A()
17589
17628
  }, Wv = (e, n) => e === "24hr" || n === "am", is = (e, n, t) => {
17590
- 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];
17591
17630
  return {
17592
17631
  hourStr: r,
17593
- hourNum: z(r)
17632
+ hourNum: L(r)
17594
17633
  };
17595
17634
  }, vn = (e) => {
17596
17635
  const [n, t, o] = e.split(":");
17597
17636
  return {
17598
- hour: z(n),
17599
- minute: z(t),
17600
- second: z(o)
17637
+ hour: L(n),
17638
+ minute: L(t),
17639
+ second: L(o)
17601
17640
  };
17602
17641
  }, qv = (e) => {
17603
17642
  var n, t;
@@ -17671,7 +17710,7 @@ function YT(e, n) {
17671
17710
  key: t,
17672
17711
  style: F(e.getStyle(o, t, !1))
17673
17712
  },
17674
- ie(t),
17713
+ ae(t),
17675
17714
  7
17676
17715
  /* TEXT, CLASS, STYLE */
17677
17716
  ))),
@@ -17702,7 +17741,7 @@ function YT(e, n) {
17702
17741
  key: t,
17703
17742
  style: F(e.getStyle(o, t, !0))
17704
17743
  },
17705
- ie(t),
17744
+ ae(t),
17706
17745
  7
17707
17746
  /* TEXT, CLASS, STYLE */
17708
17747
  ))),
@@ -17768,7 +17807,7 @@ const Xv = x({
17768
17807
  emits: ["update", "change-prevent-update"],
17769
17808
  setup(e, { emit: n }) {
17770
17809
  const t = C(null), o = C([]), r = C([]), a = M(() => ({
17771
- transform: `rotate(${z(e.rad)}deg)`,
17810
+ transform: `rotate(${L(e.rad)}deg)`,
17772
17811
  height: e.isInner && e.type === "hour" ? "calc(50% - 40px)" : "calc(50% - 4px)",
17773
17812
  backgroundColor: u(),
17774
17813
  borderColor: u()
@@ -17780,11 +17819,11 @@ const Xv = x({
17780
17819
  }), l = M(() => e.type === "hour" ? On : wd), s = (h, b) => {
17781
17820
  h = h ?? (e.type === "minute" ? e.time.minute : e.time.second);
17782
17821
  const w = e.type === "minute" ? qv : Gv, E = {
17783
- time: z(h),
17822
+ time: L(h),
17784
17823
  format: e.format,
17785
17824
  ampm: e.ampm,
17786
17825
  hour: e.time.hour,
17787
- minute: z(e.time.minute),
17826
+ minute: L(e.time.minute),
17788
17827
  max: e.max,
17789
17828
  min: e.min,
17790
17829
  allowedTime: e.allowedTime,
@@ -17822,7 +17861,7 @@ const Xv = x({
17822
17861
  color: k
17823
17862
  };
17824
17863
  }, m = () => {
17825
- const { width: h, height: b } = xe(t.value);
17864
+ const { width: h, height: b } = en(t.value);
17826
17865
  return {
17827
17866
  width: h,
17828
17867
  height: b
@@ -17862,19 +17901,19 @@ const Xv = x({
17862
17901
  [() => e.max, () => e.min, () => e.allowedTime],
17863
17902
  ([h, b, w]) => {
17864
17903
  if (o.value = [], h && !b) {
17865
- 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);
17866
17905
  o.value = [...T, ...$];
17867
17906
  }
17868
17907
  if (!h && b) {
17869
- 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);
17870
17909
  o.value = [...T, ...$];
17871
17910
  }
17872
17911
  if (h && b) {
17873
- 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);
17874
17913
  o.value = [...$, ...P];
17875
17914
  }
17876
17915
  if (w != null && w.hours) {
17877
- 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)));
17878
17917
  o.value = [.../* @__PURE__ */ new Set([...o.value, ...T, ...$])];
17879
17918
  }
17880
17919
  r.value = o.value.map((E) => cn.findIndex((T) => E === T)).filter((E) => E >= 0);
@@ -17906,7 +17945,8 @@ const { name: WT, n: qT, classes: GT } = ee("time-picker"), XT = (e) => (bt(""),
17906
17945
  /* HOISTED */
17907
17946
  )), ZT = { key: 0 };
17908
17947
  function JT(e, n) {
17909
- const t = ae("clock");
17948
+ var t;
17949
+ const o = ie("clock");
17910
17950
  return p(), S(
17911
17951
  "div",
17912
17952
  {
@@ -17918,83 +17958,102 @@ function JT(e, n) {
17918
17958
  "div",
17919
17959
  {
17920
17960
  class: v(e.n("title")),
17921
- style: F({ background: e.headerColor || e.color })
17961
+ style: F({ background: e.titleColor || e.headerColor || e.color })
17922
17962
  },
17923
17963
  [
17924
17964
  B(
17925
17965
  "div",
17926
17966
  {
17927
- class: v(e.n("title-time"))
17967
+ class: v(e.n("title-hint"))
17928
17968
  },
17929
- [
17930
- B(
17931
- "div",
17932
- {
17933
- class: v(e.classes(e.n("title-btn"), [e.type === "hour", e.n("title-btn--active")])),
17934
- onClick: n[0] || (n[0] = (o) => e.checkPanel("hour"))
17935
- },
17936
- ie(e.time.hour),
17937
- 3
17938
- /* TEXT, CLASS */
17939
- ),
17940
- KT,
17941
- B(
17942
- "div",
17943
- {
17944
- class: v(e.classes(e.n("title-btn"), [e.type === "minute", e.n("title-btn--active")])),
17945
- onClick: n[1] || (n[1] = (o) => e.checkPanel("minute"))
17946
- },
17947
- ie(e.time.minute),
17948
- 3
17949
- /* TEXT, CLASS */
17950
- ),
17951
- e.useSeconds ? (p(), S("span", ZT, ":")) : Q("v-if", !0),
17952
- e.useSeconds ? (p(), S(
17953
- "div",
17954
- {
17955
- key: 1,
17956
- class: v(e.classes(e.n("title-btn"), [e.type === "second", e.n("title-btn--active")])),
17957
- onClick: n[2] || (n[2] = (o) => e.checkPanel("second"))
17958
- },
17959
- ie(e.time.second),
17960
- 3
17961
- /* TEXT, CLASS */
17962
- )) : Q("v-if", !0)
17963
- ],
17964
- 2
17965
- /* CLASS */
17969
+ ae((t = e.hint) != null ? t : e.pack.timePickerHint),
17970
+ 3
17971
+ /* TEXT, CLASS */
17966
17972
  ),
17967
- e.format === "ampm" ? (p(), S(
17973
+ B(
17968
17974
  "div",
17969
17975
  {
17970
- key: 0,
17971
- class: v(e.n("title-ampm"))
17976
+ class: v(e.n("title-time-container"))
17972
17977
  },
17973
17978
  [
17974
17979
  B(
17975
17980
  "div",
17976
17981
  {
17977
- class: v(e.classes(e.n("title-btn"), [e.ampm === "am", e.n("title-btn--active")])),
17978
- onClick: n[3] || (n[3] = (o) => e.checkAmpm("am"))
17982
+ class: v(e.n("title-time"))
17979
17983
  },
17980
- "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
+ ],
17981
18019
  2
17982
18020
  /* CLASS */
17983
18021
  ),
17984
- B(
18022
+ e.format === "ampm" ? (p(), S(
17985
18023
  "div",
17986
18024
  {
17987
- class: v(e.classes(e.n("title-btn"), [e.ampm === "pm", e.n("title-btn--active")])),
17988
- onClick: n[4] || (n[4] = (o) => e.checkAmpm("pm"))
18025
+ key: 0,
18026
+ class: v(e.n("title-ampm"))
17989
18027
  },
17990
- "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
+ ],
17991
18050
  2
17992
18051
  /* CLASS */
17993
- )
18052
+ )) : Q("v-if", !0)
17994
18053
  ],
17995
18054
  2
17996
18055
  /* CLASS */
17997
- )) : Q("v-if", !0)
18056
+ )
17998
18057
  ],
17999
18058
  6
18000
18059
  /* CLASS, STYLE */
@@ -18009,9 +18068,9 @@ function JT(e, n) {
18009
18068
  "div",
18010
18069
  {
18011
18070
  class: v(e.n("clock-container")),
18012
- onTouchstart: n[5] || (n[5] = (...o) => e.moveHand && e.moveHand(...o)),
18013
- onTouchmove: n[6] || (n[6] = (...o) => e.moveHand && e.moveHand(...o)),
18014
- 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)),
18015
18074
  ref: "container"
18016
18075
  },
18017
18076
  [
@@ -18019,7 +18078,7 @@ function JT(e, n) {
18019
18078
  name: `${e.n()}-panel-fade`
18020
18079
  }, {
18021
18080
  default: me(() => [
18022
- (p(), $e(t, {
18081
+ (p(), $e(o, {
18023
18082
  key: e.type,
18024
18083
  ref: "inner",
18025
18084
  type: e.type,
@@ -18075,7 +18134,7 @@ const Kv = x({
18075
18134
  (q) => {
18076
18135
  if (q) {
18077
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");
18078
- 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);
18079
18138
  }
18080
18139
  },
18081
18140
  { immediate: !0 }
@@ -18090,7 +18149,7 @@ const Kv = x({
18090
18149
  l.value = !1, d.value = !1, g.value = q;
18091
18150
  }
18092
18151
  function k(q) {
18093
- 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;
18094
18153
  return [..._.slice(H), ..._.slice(0, H)].find((V, W) => (a.value = W !== 0, !ne.includes(V)));
18095
18154
  }
18096
18155
  function D(q) {
@@ -18115,7 +18174,7 @@ const Kv = x({
18115
18174
  second: ve().second(ue).format("ss")
18116
18175
  };
18117
18176
  }
18118
- function L(q) {
18177
+ function z(q) {
18119
18178
  const ne = q / 30;
18120
18179
  return ne >= 0 ? ne : ne + 12;
18121
18180
  }
@@ -18131,7 +18190,7 @@ const Kv = x({
18131
18190
  function te(q, ne, H) {
18132
18191
  const { disableHour: _ } = o.value;
18133
18192
  i.value = O(q, ne);
18134
- 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];
18135
18194
  if (_.includes(W) || (r.value = e.format === "24hr" ? O(q, ne) : !1), r.value !== i.value)
18136
18195
  return;
18137
18196
  const he = r.value || h.value === "pm" ? cn[V] : On[V];
@@ -18156,7 +18215,7 @@ const Kv = x({
18156
18215
  format: e.format,
18157
18216
  ampm: h.value,
18158
18217
  hour: b.value.hour,
18159
- minute: z(b.value.minute),
18218
+ minute: L(b.value.minute),
18160
18219
  max: e.max,
18161
18220
  min: e.min,
18162
18221
  disableHour: ne,
@@ -18165,7 +18224,7 @@ const Kv = x({
18165
18224
  Gv(ue) || (f.value = H);
18166
18225
  }
18167
18226
  function X() {
18168
- const { left: q, top: ne, width: H, height: _ } = xe(n.value);
18227
+ const { left: q, top: ne, width: H, height: _ } = en(n.value);
18169
18228
  if (w.x = q + H / 2, w.y = ne + _ / 2, g.value === "hour" && e.format === "24hr") {
18170
18229
  const { rangeXMin: ue, rangeXMax: V, rangeYMin: W, rangeYMax: he } = U();
18171
18230
  E.x = [ue, V], E.y = [W, he];
@@ -18202,6 +18261,7 @@ const Kv = x({
18202
18261
  isPreventNextUpdate: a,
18203
18262
  n: qT,
18204
18263
  classes: GT,
18264
+ pack: Qe,
18205
18265
  moveHand: J,
18206
18266
  checkPanel: I,
18207
18267
  checkAmpm: D,
@@ -18291,7 +18351,7 @@ const { name: _T, n: xT, classes: eE } = ee("uploader");
18291
18351
  let nE = 0;
18292
18352
  const tE = ["onClick"], oE = ["onClick"], rE = ["src", "alt"], aE = ["multiple", "accept", "capture", "disabled"], iE = ["src"];
18293
18353
  function lE(e, n) {
18294
- 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");
18295
18355
  return p(), S(
18296
18356
  "div",
18297
18357
  {
@@ -18317,7 +18377,7 @@ function lE(e, n) {
18317
18377
  {
18318
18378
  class: v(e.n("file-name"))
18319
18379
  },
18320
- ie(s.name || s.url),
18380
+ ae(s.name || s.url),
18321
18381
  3
18322
18382
  /* TEXT, CLASS */
18323
18383
  ),
@@ -18491,7 +18551,7 @@ const Zv = x({
18491
18551
  const h = {
18492
18552
  getSuccess: O,
18493
18553
  getError: N,
18494
- getLoading: L
18554
+ getLoading: z
18495
18555
  };
18496
18556
  y(i, {
18497
18557
  validate: j,
@@ -18565,8 +18625,8 @@ const Zv = x({
18565
18625
  const { maxsize: Y, maxlength: le, modelValue: q, onOversize: ne, onAfterRead: H, onBeforeFilter: _, readonly: ue, disabled: V } = e;
18566
18626
  if (a != null && a.disabled.value || a != null && a.readonly.value || V || ue)
18567
18627
  return;
18568
- const W = (ge) => ge.filter((De) => De.file.size > z(Y) ? (y(ne, je(De)), !1) : !0), he = (ge) => {
18569
- 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);
18570
18630
  return ge.slice(0, De);
18571
18631
  }, Ee = (ge) => Jo(this, null, function* () {
18572
18632
  if (!_)
@@ -18602,7 +18662,7 @@ const Zv = x({
18602
18662
  function N() {
18603
18663
  return e.modelValue.filter((J) => J.state === "error");
18604
18664
  }
18605
- function L() {
18665
+ function z() {
18606
18666
  return e.modelValue.filter((J) => J.state === "loading");
18607
18667
  }
18608
18668
  function U() {
@@ -18636,7 +18696,7 @@ const Zv = x({
18636
18696
  n: xT,
18637
18697
  classes: eE,
18638
18698
  formatElevation: un,
18639
- toNumber: z,
18699
+ toNumber: L,
18640
18700
  handleHovering: f,
18641
18701
  isHTMLSupportVideo: zs,
18642
18702
  isHTMLSupportImage: As,
@@ -18645,7 +18705,7 @@ const Zv = x({
18645
18705
  handleRemove: D,
18646
18706
  getSuccess: O,
18647
18707
  getError: N,
18648
- getLoading: L,
18708
+ getLoading: z,
18649
18709
  validate: j,
18650
18710
  resetValidation: d,
18651
18711
  reset: X,
@@ -18795,7 +18855,7 @@ function SE(e, n) {
18795
18855
  {
18796
18856
  style: F(hE(mE({}, e.font), { fontSize: `${e.font.fontSize}px`, color: e.textColor }))
18797
18857
  },
18798
- ie(e.content),
18858
+ ae(e.content),
18799
18859
  5
18800
18860
  /* TEXT, STYLE */
18801
18861
  )
@@ -18904,7 +18964,7 @@ var us = Jv;
18904
18964
  re(us);
18905
18965
  const r3 = us;
18906
18966
  var pi = us;
18907
- const kE = "2.18.0";
18967
+ const kE = "2.18.1";
18908
18968
  function PE(e) {
18909
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);
18910
18970
  }
@@ -19197,7 +19257,7 @@ export {
19197
19257
  Ub as counterProps,
19198
19258
  iy as datePickerProps,
19199
19259
  a3 as default,
19200
- Qe as defaultLazyOptions,
19260
+ _e as defaultLazyOptions,
19201
19261
  zy as dialogProps,
19202
19262
  _y as dividerProps,
19203
19263
  o1 as dragProps,
@@ -19222,7 +19282,7 @@ export {
19222
19282
  _d as merge,
19223
19283
  eS as optionProps,
19224
19284
  aS as overlayProps,
19225
- nn as pack,
19285
+ Qe as pack,
19226
19286
  Qd as packs,
19227
19287
  lS as paginationProps,
19228
19288
  vS as paperProps,