@varlet/ui 3.10.6 → 3.10.7

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 { onMounted as bo, nextTick as je, onActivated as Fo, computed as B, ref as w, watch as fe, isRef as Zg, onBeforeUnmount as ua, onDeactivated as yt, onUnmounted as Jt, getCurrentInstance as _o, inject as Ys, unref as bf, reactive as en, provide as Ws, isVNode as Jg, defineComponent as ee, h as Qt, Comment as Qg, Fragment as Ae, createApp as _g, onBeforeMount as xg, createVNode as X, Teleport as lo, Transition as xe, withDirectives as Ne, vShow as eo, mergeProps as Ye, createElementBlock as P, openBlock as g, normalizeClass as p, createBlock as we, resolveDynamicComponent as wt, normalizeStyle as Z, resolveComponent as _, resolveDirective as We, createCommentVNode as G, createElementVNode as R, toDisplayString as se, withCtx as ce, renderSlot as U, renderList as qe, createTextVNode as De, onUpdated as _t, normalizeProps as Bo, guardReactiveProps as xt, createSlots as Xo, withModifiers as Xn, vModelText as eb, withKeys as Vu, TransitionGroup as nb } from "vue";
1
+ import { onMounted as bo, nextTick as je, onActivated as Fo, computed as B, ref as w, watch as fe, isRef as Zg, onBeforeUnmount as ua, onDeactivated as yt, onUnmounted as Jt, getCurrentInstance as _o, inject as Ys, unref as bf, reactive as en, provide as Ws, isVNode as Jg, defineComponent as ee, h as Qt, Comment as Qg, Fragment as Ae, createApp as _g, onBeforeMount as xg, createVNode as X, Teleport as lo, Transition as xe, withDirectives as Ne, vShow as eo, mergeProps as Ye, createElementBlock as P, openBlock as g, normalizeClass as p, createBlock as we, resolveDynamicComponent as wt, normalizeStyle as Z, resolveComponent as _, resolveDirective as We, createCommentVNode as G, createElementVNode as R, toDisplayString as se, withCtx as ce, renderSlot as U, renderList as qe, createTextVNode as De, onUpdated as _t, normalizeProps as Bo, guardReactiveProps as xt, createSlots as Xo, withModifiers as Rn, vModelText as eb, withKeys as Vu, TransitionGroup as nb } from "vue";
2
2
  function Ks(e) {
3
3
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(n, o) {
4
4
  var t = e.get(n);
@@ -86,7 +86,7 @@ $f(Sf, {
86
86
  isDOMException: () => Lr,
87
87
  isDataView: () => Vr,
88
88
  isDate: () => Rr,
89
- isEmpty: () => Wn,
89
+ isEmpty: () => Kn,
90
90
  isEmptyPlainObject: () => kb,
91
91
  isEqual: () => fb,
92
92
  isEqualWith: () => Ef,
@@ -99,7 +99,7 @@ $f(Sf, {
99
99
  isNumber: () => En,
100
100
  isNumeric: () => Gs,
101
101
  isObject: () => mo,
102
- isPlainObject: () => Rn,
102
+ isPlainObject: () => Ln,
103
103
  isPrimitive: () => wb,
104
104
  isPromise: () => mb,
105
105
  isRegExp: () => Hr,
@@ -226,13 +226,13 @@ function Rr(e) {
226
226
  function Lr(e) {
227
227
  return Xe(e) === "DOMException";
228
228
  }
229
- function Wn(e) {
229
+ function Kn(e) {
230
230
  return e == null || e === "" || Fe(e) && !e.length;
231
231
  }
232
232
  function Fr(e) {
233
233
  return Xe(e) === "Map";
234
234
  }
235
- function Rn(e) {
235
+ function Ln(e) {
236
236
  return Xe(e) === "Object";
237
237
  }
238
238
  function Ur(e) {
@@ -307,7 +307,7 @@ function Ef(e, n, o) {
307
307
  const d = i.every((f, v) => a(f, l[v], s, u));
308
308
  return s.delete(i), u.delete(l), d;
309
309
  }
310
- if (Rn(i) && Rn(l)) {
310
+ if (Ln(i) && Ln(l)) {
311
311
  const d = [...Object.keys(i), ...Object.getOwnPropertySymbols(i)], f = [...Object.keys(l), ...Object.getOwnPropertySymbols(l)];
312
312
  if (d.length !== f.length)
313
313
  return !1;
@@ -373,7 +373,7 @@ function wb(e) {
373
373
  return e == null || typeof e != "object" && typeof e != "function";
374
374
  }
375
375
  function kb(e) {
376
- return Rn(e) && Object.keys(e).length === 0 && Object.getOwnPropertySymbols(e).length === 0;
376
+ return Ln(e) && Object.keys(e).length === 0 && Object.getOwnPropertySymbols(e).length === 0;
377
377
  }
378
378
  function If(e, n) {
379
379
  if (!e)
@@ -847,7 +847,7 @@ function Kf(e, n) {
847
847
  u[d] = t(c, l);
848
848
  }), u;
849
849
  }
850
- if (Rn(i)) {
850
+ if (Ln(i)) {
851
851
  const u = Object.create(Reflect.getPrototypeOf(i));
852
852
  return l.set(i, u), [...Object.keys(i), ...Object.getOwnPropertySymbols(i)].forEach((d) => {
853
853
  u[d] = t(i[d], l);
@@ -963,7 +963,7 @@ function cl(e, n = 0) {
963
963
  function l0(e, n = 0) {
964
964
  return va(e, n, Math.ceil);
965
965
  }
966
- function Ln(e, n, o) {
966
+ function Fn(e, n, o) {
967
967
  return If(e, `Varlet [${n}]: ${o}`);
968
968
  }
969
969
  function s0(e, n) {
@@ -1298,7 +1298,7 @@ function le(e, n) {
1298
1298
  Object.entries(o).forEach(([t, r]) => {
1299
1299
  const a = n[t];
1300
1300
  if (a != null) {
1301
- if (Rn(a)) {
1301
+ if (Ln(a)) {
1302
1302
  n[t] = C0(dl({}, a), {
1303
1303
  default: r
1304
1304
  });
@@ -1344,12 +1344,12 @@ function ep(e) {
1344
1344
  }), n;
1345
1345
  }
1346
1346
  function Yu(e) {
1347
- return Rn(e) && mn(e.safeParseAsync);
1347
+ return Ln(e) && mn(e.safeParseAsync);
1348
1348
  }
1349
1349
  function P0(e) {
1350
- return Rn(e) && Go(e, "success");
1350
+ return Ln(e) && Go(e, "success");
1351
1351
  }
1352
- function Un() {
1352
+ function Hn() {
1353
1353
  const e = w(""), n = (r, a, i) => ju(this, null, function* () {
1354
1354
  const l = fo(r).filter((u) => Yu(u) || mn(u)), s = yield Promise.all(
1355
1355
  l.map((u) => Yu(u) ? u.safeParseAsync(a) : u(a, i))
@@ -2144,7 +2144,7 @@ var I0 = Object.defineProperty, Gu = Object.getOwnPropertySymbols, A0 = Object.p
2144
2144
  };
2145
2145
  const {
2146
2146
  name: V0,
2147
- n: jn,
2147
+ n: Yn,
2148
2148
  classes: xi
2149
2149
  } = ne("popup");
2150
2150
  var ma = ee({
@@ -2185,7 +2185,7 @@ var ma = ee({
2185
2185
  overlayStyle: m
2186
2186
  } = e;
2187
2187
  return X("div", {
2188
- class: xi(jn("overlay"), h),
2188
+ class: xi(Yn("overlay"), h),
2189
2189
  style: N0({
2190
2190
  zIndex: a.value - 1
2191
2191
  }, m),
@@ -2194,7 +2194,7 @@ var ma = ee({
2194
2194
  }
2195
2195
  function d() {
2196
2196
  return Ne(X("div", Ye({
2197
- class: xi(jn("content"), jn(`--${e.position}`), [e.defaultStyle, jn("--content-background-color")], [e.defaultStyle, jn("$-elevation--3")], [e.safeArea, jn("--safe-area")], [e.safeAreaTop, jn("--safe-area-top")]),
2197
+ class: xi(Yn("content"), Yn(`--${e.position}`), [e.defaultStyle, Yn("--content-background-color")], [e.defaultStyle, Yn("$-elevation--3")], [e.safeArea, Yn("--safe-area")], [e.safeAreaTop, Yn("--safe-area-top")]),
2198
2198
  style: {
2199
2199
  zIndex: a.value
2200
2200
  },
@@ -2204,17 +2204,17 @@ var ma = ee({
2204
2204
  }
2205
2205
  function f() {
2206
2206
  return X(xe, {
2207
- name: jn("$-fade"),
2207
+ name: Yn("$-fade"),
2208
2208
  onAfterEnter: e.onOpened,
2209
2209
  onAfterLeave: e.onClosed
2210
2210
  }, {
2211
2211
  default: () => [Ne(X("div", {
2212
- class: xi(jn("$--box"), jn(), [!e.overlay, jn("--pointer-events-none")]),
2212
+ class: xi(Yn("$--box"), Yn(), [!e.overlay, Yn("--pointer-events-none")]),
2213
2213
  style: {
2214
2214
  zIndex: a.value - 2
2215
2215
  }
2216
2216
  }, [e.overlay && c(), X(xe, {
2217
- name: e.transition || jn(`$-pop-${e.position}`)
2217
+ name: e.transition || Yn(`$-pop-${e.position}`)
2218
2218
  }, {
2219
2219
  default: () => [d()]
2220
2220
  })]), [[eo, e.show]])]
@@ -2449,7 +2449,7 @@ function no() {
2449
2449
  };
2450
2450
  }
2451
2451
  const OB = ha;
2452
- var Fn = ha;
2452
+ var Un = ha;
2453
2453
  function ay(e) {
2454
2454
  const { left: n } = nn(e);
2455
2455
  return n + (document.body.scrollLeft || document.documentElement.scrollLeft);
@@ -2481,9 +2481,9 @@ function iy(e) {
2481
2481
  function Pp(e, n) {
2482
2482
  if (sn(e)) {
2483
2483
  const o = document.querySelector(e);
2484
- return Ln(!!o, n, "target element cannot found"), o;
2484
+ return Fn(!!o, n, "target element cannot found"), o;
2485
2485
  }
2486
- return Ln(mo(e), n, 'type of prop "target" should be an element object'), e;
2486
+ return Fn(mo(e), n, 'type of prop "target" should be an element object'), e;
2487
2487
  }
2488
2488
  function ly() {
2489
2489
  const { width: e, height: n } = nn(window);
@@ -2717,7 +2717,7 @@ function Cy(e, n) {
2717
2717
  const Ep = ee({
2718
2718
  name: wy,
2719
2719
  components: {
2720
- VarHoverOverlay: Fn,
2720
+ VarHoverOverlay: Un,
2721
2721
  VarIcon: Ge
2722
2722
  },
2723
2723
  directives: { Ripple: rn, Hover: In },
@@ -3386,7 +3386,7 @@ var Tn = wa, Qy = Object.defineProperty, _y = Object.defineProperties, xy = Obje
3386
3386
  return e;
3387
3387
  }, t1 = (e, n) => _y(e, xy(n));
3388
3388
  const Rp = Symbol("FORM_BIND_FORM_ITEM_KEY");
3389
- function Hn() {
3389
+ function jn() {
3390
3390
  const { parentProvider: e, index: n, bindParent: o } = wn(Rp), t = _o();
3391
3391
  return {
3392
3392
  index: n,
@@ -3694,7 +3694,7 @@ const Up = ee({
3694
3694
  components: { VarIcon: Ge },
3695
3695
  props: ka,
3696
3696
  setup(e) {
3697
- const n = w(null), o = w(null), t = w(""), r = w("0px"), a = w("0px"), i = w("0px"), l = w(!0), s = B(() => e.hint && (!Wn(e.value) || e.isFocusing)), { popup: u, bindPopup: c } = dp(), { bindSwipeResizeDispatcher: d } = l1(), f = B(
3697
+ const n = w(null), o = w(null), t = w(""), r = w("0px"), a = w("0px"), i = w("0px"), l = w(!0), s = B(() => e.hint && (!Kn(e.value) || e.isFocusing)), { popup: u, bindPopup: c } = dp(), { bindSwipeResizeDispatcher: d } = l1(), f = B(
3698
3698
  () => e.isError ? void 0 : e.isFocusing ? e.focusColor : e.blurColor
3699
3699
  );
3700
3700
  to(y), yn(() => {
@@ -3713,7 +3713,7 @@ const Up = ee({
3713
3713
  );
3714
3714
  function v() {
3715
3715
  const { hint: C, value: k, composing: b } = e;
3716
- if (!C && (!Wn(k) || b))
3716
+ if (!C && (!Kn(k) || b))
3717
3717
  return nl("--placeholder-hidden");
3718
3718
  if (s.value)
3719
3719
  return nl("--placeholder-hint");
@@ -3744,7 +3744,7 @@ const Up = ee({
3744
3744
  computePlaceholderState: v,
3745
3745
  n: nl,
3746
3746
  classes: c1,
3747
- isEmpty: Wn,
3747
+ isEmpty: Kn,
3748
3748
  handleClear: h,
3749
3749
  handleClick: m
3750
3750
  };
@@ -3991,15 +3991,15 @@ const Hp = ee({
3991
3991
  },
3992
3992
  props: pu,
3993
3993
  setup(e) {
3994
- const n = xf(), o = w(null), t = w(!1), r = w(!1), { bindForm: a, form: i } = Hn(), {
3994
+ const n = xf(), o = w(null), t = w(!1), r = w(!1), { bindForm: a, form: i } = jn(), {
3995
3995
  errorMessage: l,
3996
3996
  validateWithTrigger: s,
3997
3997
  validate: u,
3998
3998
  // expose
3999
3999
  resetValidation: c
4000
- } = Un(), d = B(() => e.disabled || e.readonly ? "" : "text"), f = B(() => e.type === "number" ? "text" : e.type), v = B(() => {
4000
+ } = Hn(), d = B(() => e.disabled || e.readonly ? "" : "text"), f = B(() => e.type === "number" ? "text" : e.type), v = B(() => {
4001
4001
  const { maxlength: q, modelValue: oe } = e;
4002
- return q ? Wn(oe) ? `0 / ${q}` : `${String(oe).length}/${q}` : "";
4002
+ return q ? Kn(oe) ? `0 / ${q}` : `${String(oe).length}/${q}` : "";
4003
4003
  }), h = B(() => {
4004
4004
  const { hint: q, blurColor: oe, focusColor: ye } = e;
4005
4005
  if (!q)
@@ -4096,7 +4096,7 @@ const Hp = ee({
4096
4096
  formReadonly: i == null ? void 0 : i.readonly,
4097
4097
  n: k1,
4098
4098
  classes: $1,
4099
- isEmpty: Wn,
4099
+ isEmpty: Kn,
4100
4100
  handleFocus: C,
4101
4101
  handleBlur: k,
4102
4102
  handleInput: O,
@@ -4271,17 +4271,17 @@ const Wp = ee({
4271
4271
  components: {
4272
4272
  VarIcon: Ge,
4273
4273
  VarFormDetails: Tn,
4274
- VarHoverOverlay: Fn
4274
+ VarHoverOverlay: Un
4275
4275
  },
4276
4276
  props: jp,
4277
4277
  setup(e) {
4278
- const n = w(null), o = w(!1), t = Gn(e, "modelValue"), r = Gn(e, "indeterminate"), a = B(() => t.value === e.checkedValue), i = B(() => e.checkedValue), { checkboxGroup: l, bindCheckboxGroup: s } = E1(), { hovering: u, handleHovering: c } = no(), { form: d, bindForm: f } = Hn(), {
4278
+ const n = w(null), o = w(!1), t = Gn(e, "modelValue"), r = Gn(e, "indeterminate"), a = B(() => t.value === e.checkedValue), i = B(() => e.checkedValue), { checkboxGroup: l, bindCheckboxGroup: s } = E1(), { hovering: u, handleHovering: c } = no(), { form: d, bindForm: f } = jn(), {
4279
4279
  errorMessage: v,
4280
4280
  validateWithTrigger: h,
4281
4281
  validate: m,
4282
4282
  // expose
4283
4283
  resetValidation: y
4284
- } = Un(), C = {
4284
+ } = Hn(), C = {
4285
4285
  checkedValue: i,
4286
4286
  checked: a,
4287
4287
  sync: O,
@@ -4394,7 +4394,7 @@ function N1() {
4394
4394
  const { index: e, parentProvider: n, bindParent: o } = wn(
4395
4395
  qp
4396
4396
  );
4397
- return Ln(!!o, "MenuOption", "<var-menu-option/> must in <var-menu-select/>"), {
4397
+ return Fn(!!o, "MenuOption", "<var-menu-option/> must in <var-menu-select/>"), {
4398
4398
  index: e,
4399
4399
  menuSelect: n,
4400
4400
  bindMenuSelect: o
@@ -4453,7 +4453,7 @@ function H1(e, n) {
4453
4453
  indeterminate: e.optionIndeterminate,
4454
4454
  "onUpdate:indeterminate": n[1] || (n[1] = (s) => e.optionIndeterminate = s),
4455
4455
  disabled: e.disabled,
4456
- onClick: n[2] || (n[2] = Xn(() => {
4456
+ onClick: n[2] || (n[2] = Rn(() => {
4457
4457
  }, ["stop"])),
4458
4458
  onChange: e.handleSelect
4459
4459
  }, null, 8, ["modelValue", "indeterminate", "disabled", "onChange"])) : G("v-if", !0),
@@ -4503,7 +4503,7 @@ const Xp = ee({
4503
4503
  directives: { Ripple: rn, Hover: In },
4504
4504
  components: {
4505
4505
  VarCheckbox: ct,
4506
- VarHoverOverlay: Fn,
4506
+ VarHoverOverlay: Un,
4507
4507
  VarIcon: Ge,
4508
4508
  MaybeVNode: ar
4509
4509
  },
@@ -4657,7 +4657,7 @@ function Jo(e) {
4657
4657
  var n = Jn(e).Element;
4658
4658
  return e instanceof n || e instanceof Element;
4659
4659
  }
4660
- function Kn(e) {
4660
+ function qn(e) {
4661
4661
  var n = Jn(e).HTMLElement;
4662
4662
  return e instanceof n || e instanceof HTMLElement;
4663
4663
  }
@@ -4695,18 +4695,18 @@ function gl() {
4695
4695
  }).join(" ") : navigator.userAgent;
4696
4696
  }
4697
4697
  function pc(e) {
4698
- return !Kn(e) || // https://github.com/popperjs/popper-core/issues/837
4698
+ return !qn(e) || // https://github.com/popperjs/popper-core/issues/837
4699
4699
  go(e).position === "fixed" ? null : e.offsetParent;
4700
4700
  }
4701
4701
  function nw(e) {
4702
4702
  var n = /firefox/i.test(gl()), o = /Trident/i.test(gl());
4703
- if (o && Kn(e)) {
4703
+ if (o && qn(e)) {
4704
4704
  var t = go(e);
4705
4705
  if (t.position === "fixed")
4706
4706
  return null;
4707
4707
  }
4708
4708
  var r = za(e);
4709
- for (hu(r) && (r = r.host); Kn(r) && ["html", "body"].indexOf(ro(r)) < 0; ) {
4709
+ for (hu(r) && (r = r.host); qn(r) && ["html", "body"].indexOf(ro(r)) < 0; ) {
4710
4710
  var a = go(r);
4711
4711
  if (a.transform !== "none" || a.perspective !== "none" || a.contain === "paint" || ["transform", "perspective"].indexOf(a.willChange) !== -1 || n && a.willChange === "filter" || n && a.filter && a.filter !== "none")
4712
4712
  return r;
@@ -4838,7 +4838,7 @@ function Qp() {
4838
4838
  function pt(e, n, o) {
4839
4839
  n === void 0 && (n = !1), o === void 0 && (o = !1);
4840
4840
  var t = e.getBoundingClientRect(), r = 1, a = 1;
4841
- n && Kn(e) && (r = e.offsetWidth > 0 && ft(t.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && ft(t.height) / e.offsetHeight || 1);
4841
+ n && qn(e) && (r = e.offsetWidth > 0 && ft(t.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && ft(t.height) / e.offsetHeight || 1);
4842
4842
  var i = Jo(e) ? Jn(e) : window, l = i.visualViewport, s = !Qp() && o, u = (t.left + (s && l ? l.offsetLeft : 0)) / r, c = (t.top + (s && l ? l.offsetTop : 0)) / a, d = t.width / r, f = t.height / a;
4843
4843
  return {
4844
4844
  width: d,
@@ -4889,7 +4889,7 @@ function wu(e) {
4889
4889
  return /auto|scroll|overlay|hidden/.test(o + r + t);
4890
4890
  }
4891
4891
  function _p(e) {
4892
- return ["html", "body", "#document"].indexOf(ro(e)) >= 0 ? e.ownerDocument.body : Kn(e) && wu(e) ? e : _p(za(e));
4892
+ return ["html", "body", "#document"].indexOf(ro(e)) >= 0 ? e.ownerDocument.body : qn(e) && wu(e) ? e : _p(za(e));
4893
4893
  }
4894
4894
  function Dt(e, n) {
4895
4895
  var o;
@@ -4930,7 +4930,7 @@ function gc(e, n, o) {
4930
4930
  return n === Gp ? bl(lw(e, o)) : Jo(n) ? cw(n, o) : bl(sw(Ho(e)));
4931
4931
  }
4932
4932
  function dw(e) {
4933
- var n = Dt(za(e)), o = ["absolute", "fixed"].indexOf(go(e).position) >= 0, t = o && Kn(e) ? gu(e) : e;
4933
+ var n = Dt(za(e)), o = ["absolute", "fixed"].indexOf(go(e).position) >= 0, t = o && qn(e) ? gu(e) : e;
4934
4934
  return Jo(t) ? n.filter(function(r) {
4935
4935
  return Jo(r) && uw(r, t) && ro(r) !== "body";
4936
4936
  }) : [];
@@ -5145,7 +5145,7 @@ function Sw(e) {
5145
5145
  };
5146
5146
  }
5147
5147
  function Pw(e) {
5148
- return e === Jn(e) || !Kn(e) ? bu(e) : Sw(e);
5148
+ return e === Jn(e) || !qn(e) ? bu(e) : Sw(e);
5149
5149
  }
5150
5150
  function Ow(e) {
5151
5151
  var n = e.getBoundingClientRect(), o = ft(n.width) / e.offsetWidth || 1, t = ft(n.height) / e.offsetHeight || 1;
@@ -5153,7 +5153,7 @@ function Ow(e) {
5153
5153
  }
5154
5154
  function zw(e, n, o) {
5155
5155
  o === void 0 && (o = !1);
5156
- var t = Kn(n), r = Kn(n) && Ow(n), a = Ho(n), i = pt(e, r, o), l = {
5156
+ var t = qn(n), r = qn(n) && Ow(n), a = Ho(n), i = pt(e, r, o), l = {
5157
5157
  scrollLeft: 0,
5158
5158
  scrollTop: 0
5159
5159
  }, s = {
@@ -5161,7 +5161,7 @@ function zw(e, n, o) {
5161
5161
  y: 0
5162
5162
  };
5163
5163
  return (t || !t && !o) && ((ro(n) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
5164
- wu(a)) && (l = Pw(n)), Kn(n) ? (s = pt(n, !0), s.x += n.clientLeft, s.y += n.clientTop) : a && (s.x = yu(a))), {
5164
+ wu(a)) && (l = Pw(n)), qn(n) ? (s = pt(n, !0), s.x += n.clientLeft, s.y += n.clientTop) : a && (s.x = yu(a))), {
5165
5165
  x: i.left + l.scrollLeft - s.x,
5166
5166
  y: i.top + l.scrollTop - s.y,
5167
5167
  width: i.width,
@@ -5378,7 +5378,7 @@ function Lw(e) {
5378
5378
  var n = e.state;
5379
5379
  Object.keys(n.elements).forEach(function(o) {
5380
5380
  var t = n.styles[o] || {}, r = n.attributes[o] || {}, a = n.elements[o];
5381
- !Kn(a) || !ro(a) || (Object.assign(a.style, t), Object.keys(r).forEach(function(i) {
5381
+ !qn(a) || !ro(a) || (Object.assign(a.style, t), Object.keys(r).forEach(function(i) {
5382
5382
  var l = r[i];
5383
5383
  l === !1 ? a.removeAttribute(i) : a.setAttribute(i, l === !0 ? "" : l);
5384
5384
  }));
@@ -5402,7 +5402,7 @@ function Fw(e) {
5402
5402
  var r = n.elements[t], a = n.attributes[t] || {}, i = Object.keys(n.styles.hasOwnProperty(t) ? n.styles[t] : o[t]), l = i.reduce(function(s, u) {
5403
5403
  return s[u] = "", s;
5404
5404
  }, {});
5405
- !Kn(r) || !ro(r) || (Object.assign(r.style, l), Object.keys(a).forEach(function(s) {
5405
+ !qn(r) || !ro(r) || (Object.assign(r.style, l), Object.keys(a).forEach(function(s) {
5406
5406
  r.removeAttribute(s);
5407
5407
  }));
5408
5408
  });
@@ -5747,7 +5747,7 @@ function Qw(e, n) {
5747
5747
  [e.defaultStyle, e.formatElevation(e.elevation, 3)]
5748
5748
  )
5749
5749
  ),
5750
- onClick: n[0] || (n[0] = Xn(() => {
5750
+ onClick: n[0] || (n[0] = Rn(() => {
5751
5751
  }, ["stop"])),
5752
5752
  onMouseenter: n[1] || (n[1] = (...o) => e.handlePopoverMouseenter && e.handlePopoverMouseenter(...o)),
5753
5753
  onMouseleave: n[2] || (n[2] = (...o) => e.handlePopoverMouseleave && e.handlePopoverMouseleave(...o))
@@ -5837,7 +5837,7 @@ function tv(e) {
5837
5837
  fe(o, f, { deep: !0 }), fe(r, f);
5838
5838
  function s() {
5839
5839
  const v = n(), h = o();
5840
- v && (l.value = h.map(u)), !v && !Wn(h) && (i.value = u(h)), !v && Wn(h) && (i.value = "");
5840
+ v && (l.value = h.map(u)), !v && !Kn(h) && (i.value = u(h)), !v && Kn(h) && (i.value = "");
5841
5841
  }
5842
5842
  function u(v) {
5843
5843
  var h;
@@ -6580,14 +6580,14 @@ const lv = ee({
6580
6580
  setup(e) {
6581
6581
  const n = w(), o = w(), t = w(!1), r = Gn(e, "modelValue"), a = w([]), i = w(!1), l = B(() => {
6582
6582
  const { maxlength: H } = e;
6583
- return H ? Wn(r.value) ? `0 / ${H}` : `${String(r.value).length}/${H}` : "";
6583
+ return H ? Kn(r.value) ? `0 / ${H}` : `${String(r.value).length}/${H}` : "";
6584
6584
  }), {
6585
6585
  errorMessage: s,
6586
6586
  validateWithTrigger: u,
6587
6587
  validate: c,
6588
6588
  // expose
6589
6589
  resetValidation: d
6590
- } = Un(), { bindForm: f, form: v } = Hn();
6590
+ } = Hn(), { bindForm: f, form: v } = jn();
6591
6591
  let h = !1;
6592
6592
  const m = {
6593
6593
  reset: y,
@@ -7359,7 +7359,7 @@ const kv = ee({
7359
7359
  name: k$,
7360
7360
  components: {
7361
7361
  VarLoading: mt,
7362
- VarHoverOverlay: Fn
7362
+ VarHoverOverlay: Un
7363
7363
  },
7364
7364
  directives: { Ripple: rn, Hover: In },
7365
7365
  props: yv,
@@ -7461,7 +7461,7 @@ function T$(e, n) {
7461
7461
  bottom: e.toSizeUnit(e.bottom)
7462
7462
  }
7463
7463
  }, e.$attrs, {
7464
- onClick: n[0] || (n[0] = Xn((...r) => e.handleClick && e.handleClick(...r), ["stop"]))
7464
+ onClick: n[0] || (n[0] = Rn((...r) => e.handleClick && e.handleClick(...r), ["stop"]))
7465
7465
  }),
7466
7466
  [
7467
7467
  U(e.$slots, "default", {}, () => [
@@ -7869,7 +7869,7 @@ function G$() {
7869
7869
  const { parentProvider: e, index: n, bindParent: o } = wn(
7870
7870
  zv
7871
7871
  );
7872
- return Ln(!!o, "BottomNavigationItem", "<var-bottom-navigation-item/> must in <var-bottom-navigation/>"), {
7872
+ return Fn(!!o, "BottomNavigationItem", "<var-bottom-navigation-item/> must in <var-bottom-navigation/>"), {
7873
7873
  index: n,
7874
7874
  bottomNavigation: e,
7875
7875
  bindBottomNavigation: o
@@ -8015,7 +8015,7 @@ function nC() {
8015
8015
  const { parentProvider: e, bindParent: n, index: o } = wn(
8016
8016
  Iv
8017
8017
  );
8018
- return Ln(!!n, "Breadcrumb", "<var-breadcrumb/> must in <var-breadcrumbs/>"), {
8018
+ return Fn(!!n, "Breadcrumb", "<var-breadcrumb/> must in <var-breadcrumbs/>"), {
8019
8019
  index: o,
8020
8020
  breadcrumb: e,
8021
8021
  bindBreadcrumb: n
@@ -8405,7 +8405,7 @@ function yC(e, n) {
8405
8405
  X(t, {
8406
8406
  "var-card-cover": "",
8407
8407
  class: p(e.classes(e.n("close-button"), e.n("$-elevation--6"))),
8408
- onClick: Xn(e.close, ["stop"])
8408
+ onClick: Rn(e.close, ["stop"])
8409
8409
  }, {
8410
8410
  default: ce(() => [
8411
8411
  X(o, {
@@ -8724,13 +8724,13 @@ const Yv = ee({
8724
8724
  components: { VarFormDetails: Tn, VarCheckbox: ct, MaybeVNode: ar },
8725
8725
  props: jv,
8726
8726
  setup(e) {
8727
- const n = B(() => e.max), o = B(() => e.modelValue.length), { length: t, checkboxes: r, bindCheckboxes: a } = z1(), { bindForm: i } = Hn(), {
8727
+ const n = B(() => e.max), o = B(() => e.modelValue.length), { length: t, checkboxes: r, bindCheckboxes: a } = z1(), { bindForm: i } = jn(), {
8728
8728
  errorMessage: l,
8729
8729
  validateWithTrigger: s,
8730
8730
  validate: u,
8731
8731
  // expose
8732
8732
  resetValidation: c
8733
- } = Un(), d = B(() => l.value), f = {
8733
+ } = Hn(), d = B(() => l.value), f = {
8734
8734
  max: n,
8735
8735
  checkedCount: o,
8736
8736
  onChecked: m,
@@ -9069,7 +9069,7 @@ const Jv = ee({
9069
9069
  const c = [];
9070
9070
  if (u == null)
9071
9071
  return c;
9072
- if (Rn(u)) {
9072
+ if (Ln(u)) {
9073
9073
  const { offset: d, span: f } = u;
9074
9074
  return Number(f) >= 0 && c.push(br(`--span-${s}-${f}`)), d && c.push(br(`--offset-${s}-${d}`)), c;
9075
9075
  }
@@ -9278,7 +9278,7 @@ function GC() {
9278
9278
  const { parentProvider: e, index: n, bindParent: o } = wn(
9279
9279
  _v
9280
9280
  );
9281
- return Ln(!!o, "Collapse", "<var-collapse-item/> must in <var-collapse>"), {
9281
+ return Fn(!!o, "Collapse", "<var-collapse-item/> must in <var-collapse>"), {
9282
9282
  index: n,
9283
9283
  collapse: e,
9284
9284
  bindCollapse: o
@@ -10851,13 +10851,13 @@ const km = ee({
10851
10851
  inheritAttrs: !1,
10852
10852
  props: wm,
10853
10853
  setup(e) {
10854
- const n = w(""), { bindForm: o, form: t } = Hn(), {
10854
+ const n = w(""), { bindForm: o, form: t } = jn(), {
10855
10855
  errorMessage: r,
10856
10856
  validateWithTrigger: a,
10857
10857
  validate: i,
10858
10858
  // expose
10859
10859
  resetValidation: l
10860
- } = Un(), { readonly: s, disabled: u } = t ?? {}, c = B(() => {
10860
+ } = Hn(), { readonly: s, disabled: u } = t ?? {}, c = B(() => {
10861
10861
  const { max: z, modelValue: J } = e;
10862
10862
  return z != null && W(J) >= W(z);
10863
10863
  }), d = B(() => {
@@ -13351,7 +13351,7 @@ function MP(e, n) {
13351
13351
  ref: "popover",
13352
13352
  class: p(e.classes(e.n("tooltip"), e.n("$--box"))),
13353
13353
  style: Z({ zIndex: e.zIndex }),
13354
- onClick: n[0] || (n[0] = Xn(() => {
13354
+ onClick: n[0] || (n[0] = Rn(() => {
13355
13355
  }, ["stop"])),
13356
13356
  onMouseenter: n[1] || (n[1] = (...o) => e.handlePopoverMouseenter && e.handlePopoverMouseenter(...o)),
13357
13357
  onMouseleave: n[2] || (n[2] = (...o) => e.handlePopoverMouseleave && e.handlePopoverMouseleave(...o))
@@ -13808,7 +13808,7 @@ const Gm = ee({
13808
13808
  setup(e) {
13809
13809
  const n = w(0), o = w(null), { height: t } = h0(), r = B(() => t.value * 0.6), a = Gn(e, "anchor", { defaultValue: Pd }), i = B(() => {
13810
13810
  const V = [Pd, r.value], { anchors: L } = e;
13811
- return Wn(L) ? V : L;
13811
+ return Kn(L) ? V : L;
13812
13812
  }), l = B(() => Math.min(...i.value)), s = B(() => Math.max(...i.value)), { disabled: u } = xo(), { deltaY: c, touching: d, startTouch: f, moveTouch: v, endTouch: h, isReachTop: m, isReachBottom: y } = kt();
13813
13813
  let C;
13814
13814
  ir(() => d.value), fe(() => a.value, k, { immediate: !0 }), fe(
@@ -13993,8 +13993,8 @@ const Jm = ee({
13993
13993
  });
13994
13994
  Jm.render = QP;
13995
13995
  var St = Jm;
13996
- St.useValidation = Un;
13997
- St.useForm = Hn;
13996
+ St.useValidation = Hn;
13997
+ St.useForm = jn;
13998
13998
  ae(St);
13999
13999
  le(St, Zm);
14000
14000
  const bD = St;
@@ -14536,7 +14536,7 @@ const kD = hi;
14536
14536
  var Kt = hi;
14537
14537
  function p4() {
14538
14538
  const { bindParent: e, index: n, parentProvider: o } = wn(Lp);
14539
- return Ln(!!e, "SwipeItem", "<var-swipe-item/> must in <var-swipe/>"), {
14539
+ return Fn(!!e, "SwipeItem", "<var-swipe-item/> must in <var-swipe/>"), {
14540
14540
  index: n,
14541
14541
  swipe: o,
14542
14542
  bindSwipe: e
@@ -14952,7 +14952,7 @@ function N4() {
14952
14952
  const { parentProvider: e, index: n, bindParent: o } = wn(
14953
14953
  ah
14954
14954
  );
14955
- return Ln(!!o, "IndexAnchor", 'You should use this component in "IndexBar"'), {
14955
+ return Fn(!!o, "IndexAnchor", 'You should use this component in "IndexBar"'), {
14956
14956
  index: n,
14957
14957
  indexBar: e,
14958
14958
  bindIndexBar: o
@@ -15142,7 +15142,7 @@ const sh = ee({
15142
15142
  }), v = !1);
15143
15143
  }), d(h);
15144
15144
  function m(O, D) {
15145
- const M = Rn(O) ? O.name.value : O;
15145
+ const M = Ln(O) ? O.name.value : O;
15146
15146
  M === r.value || M === void 0 || (r.value = M, (D == null ? void 0 : D.event) !== !1 && $(e.onChange, M));
15147
15147
  }
15148
15148
  function y() {
@@ -15311,7 +15311,7 @@ function J4() {
15311
15311
  const { parentProvider: e, bindParent: n, index: o } = wn(
15312
15312
  fh
15313
15313
  );
15314
- return Ln(!!n, "TabItem", "<var-tab-item/> must in <var-tabs-items/>"), {
15314
+ return Fn(!!n, "TabItem", "<var-tab-item/> must in <var-tabs-items/>"), {
15315
15315
  index: o,
15316
15316
  tabsItems: e,
15317
15317
  bindTabsItems: n
@@ -15648,7 +15648,7 @@ function SO() {
15648
15648
  }
15649
15649
  function PO() {
15650
15650
  const { index: e, parentProvider: n, bindParent: o } = wn(Ph);
15651
- return Ln(!!o, "Option", "<var-option/> must in <var-select/>"), {
15651
+ return Fn(!!o, "Option", "<var-option/> must in <var-select/>"), {
15652
15652
  index: e,
15653
15653
  select: n,
15654
15654
  bindSelect: o
@@ -15687,7 +15687,7 @@ function BO(e, n) {
15687
15687
  "onUpdate:modelValue": n[0] || (n[0] = (l) => e.optionSelected = l),
15688
15688
  "checked-color": e.focusColor,
15689
15689
  disabled: e.disabled,
15690
- onClick: n[1] || (n[1] = Xn(() => {
15690
+ onClick: n[1] || (n[1] = Rn(() => {
15691
15691
  }, ["stop"])),
15692
15692
  onChange: e.handleSelect
15693
15693
  }, null, 8, ["modelValue", "checked-color", "disabled", "onChange"])) : G("v-if", !0),
@@ -15718,7 +15718,7 @@ const Oh = ee({
15718
15718
  directives: { Ripple: rn, Hover: In },
15719
15719
  components: {
15720
15720
  VarCheckbox: ct,
15721
- VarHoverOverlay: Fn,
15721
+ VarHoverOverlay: Un,
15722
15722
  MaybeVNode: ar
15723
15723
  },
15724
15724
  props: Sh,
@@ -16497,7 +16497,7 @@ function xO(e, n) {
16497
16497
  key: t.id,
16498
16498
  class: p(e.n("column")),
16499
16499
  onTouchstartPassive: (r) => e.handleTouchstart(r, t),
16500
- onTouchmove: Xn((r) => e.handleTouchmove(r, t), ["prevent"]),
16500
+ onTouchmove: Rn((r) => e.handleTouchmove(r, t), ["prevent"]),
16501
16501
  onTouchend: (r) => e.handleTouchend(t)
16502
16502
  }, [
16503
16503
  R("div", {
@@ -17069,7 +17069,7 @@ const Nh = ee({
17069
17069
  path: k,
17070
17070
  value: $n(W(s), zr, ot)
17071
17071
  };
17072
- }), r = B(() => Rn(e.color) ? `url(#${n.value})` : e.color), a = B(
17072
+ }), r = B(() => Ln(e.color) ? `url(#${n.value})` : e.color), a = B(
17073
17073
  () => Object.keys(e.color).sort((i, l) => parseFloat(i) - parseFloat(l))
17074
17074
  );
17075
17075
  return {
@@ -17083,7 +17083,7 @@ const Nh = ee({
17083
17083
  n: nz,
17084
17084
  classes: oz,
17085
17085
  toSizeUnit: Oe,
17086
- isPlainObject: Rn
17086
+ isPlainObject: Ln
17087
17087
  };
17088
17088
  }
17089
17089
  });
@@ -17384,12 +17384,12 @@ const Uh = ee({
17384
17384
  components: {
17385
17385
  VarIcon: Ge,
17386
17386
  VarFormDetails: Tn,
17387
- VarHoverOverlay: Fn
17387
+ VarHoverOverlay: Un
17388
17388
  },
17389
17389
  inheritAttrs: !1,
17390
17390
  props: Lh,
17391
17391
  setup(e) {
17392
- const n = w(), o = w(!1), t = Gn(e, "modelValue"), r = B(() => t.value === e.checkedValue), { radioGroup: a, bindRadioGroup: i } = hz(), { hovering: l, handleHovering: s } = no(), { form: u, bindForm: c } = Hn(), d = B(() => {
17392
+ const n = w(), o = w(!1), t = Gn(e, "modelValue"), r = B(() => t.value === e.checkedValue), { radioGroup: a, bindRadioGroup: i } = hz(), { hovering: l, handleHovering: s } = no(), { form: u, bindForm: c } = jn(), d = B(() => {
17393
17393
  const Y = (u == null ? void 0 : u.disabled.value) || e.disabled, E = r.value, I = a == null ? void 0 : a.hasChecked.value;
17394
17394
  if (!Y)
17395
17395
  return a && I && !E ? "-1" : "0";
@@ -17399,7 +17399,7 @@ const Uh = ee({
17399
17399
  validate: h,
17400
17400
  // expose
17401
17401
  resetValidation: m
17402
- } = Un(), y = {
17402
+ } = Hn(), y = {
17403
17403
  sync: D,
17404
17404
  validate: V,
17405
17405
  resetValidation: m,
@@ -17560,13 +17560,13 @@ const jh = ee({
17560
17560
  components: { VarFormDetails: Tn, VarRadio: sa, MaybeVNode: ar },
17561
17561
  props: Hh,
17562
17562
  setup(e) {
17563
- const { length: n, radios: o, bindRadios: t } = mz(), { bindForm: r } = Hn(), {
17563
+ const { length: n, radios: o, bindRadios: t } = mz(), { bindForm: r } = jn(), {
17564
17564
  errorMessage: a,
17565
17565
  validateWithTrigger: i,
17566
17566
  validate: l,
17567
17567
  // expose
17568
17568
  resetValidation: s
17569
- } = Un(), u = B(() => a.value), c = w(!1), d = {
17569
+ } = Hn(), u = B(() => a.value), c = w(!1), d = {
17570
17570
  onToggle: y,
17571
17571
  validate: C,
17572
17572
  reset: k,
@@ -17729,12 +17729,12 @@ const Wh = ee({
17729
17729
  components: {
17730
17730
  VarIcon: Ge,
17731
17731
  VarFormDetails: Tn,
17732
- VarHoverOverlay: Fn
17732
+ VarHoverOverlay: Un
17733
17733
  },
17734
17734
  directives: { Ripple: rn, Hover: In },
17735
17735
  props: Yh,
17736
17736
  setup(e) {
17737
- const n = w(-1), { form: o, bindForm: t } = Hn(), { errorMessage: r, validateWithTrigger: a, validate: i, resetValidation: l } = Un(), { hovering: s } = no();
17737
+ const n = w(-1), { form: o, bindForm: t } = jn(), { errorMessage: r, validateWithTrigger: a, validate: i, resetValidation: l } = Hn(), { hovering: s } = no();
17738
17738
  let u = W(e.modelValue);
17739
17739
  $(t, {
17740
17740
  reset: b,
@@ -18380,7 +18380,7 @@ function f2(e, n) {
18380
18380
  closeable: "",
18381
18381
  size: "small",
18382
18382
  type: e.errorMessage ? "danger" : void 0,
18383
- onClick: n[0] || (n[0] = Xn(() => {
18383
+ onClick: n[0] || (n[0] = Rn(() => {
18384
18384
  }, ["stop"])),
18385
18385
  onClose: () => e.handleClose(u)
18386
18386
  }, {
@@ -18488,7 +18488,7 @@ function f2(e, n) {
18488
18488
  }, 8, ["show", "class", "popover-class", "offset-y", "disabled", "placement", "onClickOutside"]),
18489
18489
  X(s, {
18490
18490
  "error-message": e.errorMessage,
18491
- onClick: n[2] || (n[2] = Xn(() => {
18491
+ onClick: n[2] || (n[2] = Rn(() => {
18492
18492
  }, ["stop"]))
18493
18493
  }, null, 8, ["error-message"])
18494
18494
  ], 42, d2);
@@ -18506,7 +18506,7 @@ const og = ee({
18506
18506
  },
18507
18507
  props: ng,
18508
18508
  setup(e) {
18509
- const n = w(!1), o = w(!1), t = w(null), r = B(() => e.multiple), a = B(() => e.focusColor), i = B(() => Wn(e.modelValue)), l = B(() => e.disabled || e.readonly ? "" : "pointer"), s = w(0), { bindForm: u, form: c } = Hn(), { length: d, options: f, bindOptions: v } = SO(), { label: h, labels: m, computeLabel: y, getSelectedValue: C } = tv({
18509
+ const n = w(!1), o = w(!1), t = w(null), r = B(() => e.multiple), a = B(() => e.focusColor), i = B(() => Kn(e.modelValue)), l = B(() => e.disabled || e.readonly ? "" : "pointer"), s = w(0), { bindForm: u, form: c } = jn(), { length: d, options: f, bindOptions: v } = SO(), { label: h, labels: m, computeLabel: y, getSelectedValue: C } = tv({
18510
18510
  modelValue: () => e.modelValue,
18511
18511
  multiple: () => e.multiple,
18512
18512
  optionProviders: () => f,
@@ -18517,11 +18517,11 @@ const og = ee({
18517
18517
  validate: S,
18518
18518
  // expose
18519
18519
  resetValidation: T
18520
- } = Un(), O = w(null), D = B(() => e.variant === "outlined" ? "bottom" : "cover-top"), M = B(() => {
18520
+ } = Hn(), O = w(null), D = B(() => e.variant === "outlined" ? "bottom" : "cover-top"), M = B(() => {
18521
18521
  const { hint: A, blurColor: K, focusColor: pe } = e;
18522
18522
  if (!A)
18523
18523
  return k.value ? "var(--field-decorator-error-color)" : n.value ? pe || "var(--field-decorator-focus-color)" : K || "var(--field-decorator-placeholder-color, var(--field-decorator-blur-color))";
18524
- }), V = B(() => !e.hint && Wn(e.modelValue)), L = {
18524
+ }), V = B(() => !e.hint && Kn(e.modelValue)), L = {
18525
18525
  multiple: r,
18526
18526
  focusColor: a,
18527
18527
  computeLabel: y,
@@ -18533,7 +18533,7 @@ const og = ee({
18533
18533
  fe(
18534
18534
  () => e.multiple,
18535
18535
  () => {
18536
- Ln(
18536
+ Fn(
18537
18537
  e.multiple && Fe(e.modelValue),
18538
18538
  "Select",
18539
18539
  "The modelValue must be an array when multiple is true"
@@ -19035,7 +19035,7 @@ function S2(e, n) {
19035
19035
  {
19036
19036
  ref: "sliderEl",
19037
19037
  class: p(e.classes(e.n(`${e.direction}-block`), [e.isDisabled, e.n("--disabled")], [e.errorMessage, e.n(`${e.direction}--error`)])),
19038
- onClick: n[0] || (n[0] = (...a) => e.handleClick && e.handleClick(...a))
19038
+ onClick: n[1] || (n[1] = (...a) => e.handleClick && e.handleClick(...a))
19039
19039
  },
19040
19040
  [
19041
19041
  R(
@@ -19086,7 +19086,8 @@ function S2(e, n) {
19086
19086
  "aria-valuenow": a.value,
19087
19087
  "aria-disabled": e.isDisabled,
19088
19088
  "aria-valuetext": `${a.text}`,
19089
- onTouchstart: Xn((i) => e.start(i, a.enumValue), ["stop"]),
19089
+ onTouchstart: Rn((i) => e.start(i, a.enumValue), ["stop"]),
19090
+ onTouchmove: n[0] || (n[0] = Rn((...i) => e.move && e.move(...i), ["stop"])),
19090
19091
  onFocusin: (i) => e.handleFocus(a),
19091
19092
  onFocusout: (i) => e.handleBlur(a)
19092
19093
  }, [
@@ -19177,12 +19178,12 @@ const sg = ee({
19177
19178
  name: k2,
19178
19179
  components: {
19179
19180
  VarFormDetails: Tn,
19180
- VarHoverOverlay: Fn
19181
+ VarHoverOverlay: Un
19181
19182
  },
19182
19183
  directives: { Hover: In },
19183
19184
  props: lg,
19184
19185
  setup(e) {
19185
- const n = w(0), o = w(null), t = w(!1), r = B(() => W(e.max) - W(e.min)), a = B(() => n.value / r.value * W(e.step)), i = B(() => e.disabled || (f == null ? void 0 : f.disabled.value)), l = B(() => e.readonly || (f == null ? void 0 : f.readonly.value)), s = B(() => e.direction === "vertical"), u = w(!1), c = w(!1), { bindForm: d, form: f } = Hn(), { errorMessage: v, validateWithTrigger: h, validate: m, resetValidation: y } = Un(), { hovering: C, handleHovering: k } = no(), { hovering: b, handleHovering: S } = no(), T = B(() => {
19186
+ const n = w(0), o = w(null), t = w(!1), r = B(() => W(e.max) - W(e.min)), a = B(() => n.value / r.value * W(e.step)), i = B(() => e.disabled || (f == null ? void 0 : f.disabled.value)), l = B(() => e.readonly || (f == null ? void 0 : f.readonly.value)), s = B(() => e.direction === "vertical"), u = w(!1), c = w(!1), { bindForm: d, form: f } = jn(), { errorMessage: v, validateWithTrigger: h, validate: m, resetValidation: y } = Hn(), { hovering: C, handleHovering: k } = no(), { hovering: b, handleHovering: S } = no(), T = B(() => {
19186
19187
  const { modelValue: te, range: de } = e;
19187
19188
  let ke = [];
19188
19189
  return de && Fe(te) ? ke = [
@@ -19693,7 +19694,7 @@ const vg = {
19693
19694
  onClosed: () => {
19694
19695
  }
19695
19696
  };
19696
- let qn = en([]), Mu = vg;
19697
+ let Xn = en([]), Mu = vg;
19697
19698
  const j2 = {
19698
19699
  name: "var-snackbar-fade",
19699
19700
  tag: "div",
@@ -19701,7 +19702,7 @@ const j2 = {
19701
19702
  }, sl = (e) => () => mn(e) ? e() : e, Y2 = {
19702
19703
  setup() {
19703
19704
  return () => {
19704
- const e = qn.map(({
19705
+ const e = Xn.map(({
19705
19706
  id: n,
19706
19707
  reactiveSnackOptions: o,
19707
19708
  _update: t
@@ -19744,7 +19745,7 @@ const j2 = {
19744
19745
  o.show = !0, zs || (zs = !0, pg = $t(Y2).unmountInstance);
19745
19746
  const {
19746
19747
  length: t
19747
- } = qn, r = {
19748
+ } = Xn, r = {
19748
19749
  id: rf++,
19749
19750
  reactiveSnackOptions: o
19750
19751
  };
@@ -19756,23 +19757,23 @@ const j2 = {
19756
19757
  }
19757
19758
  return {
19758
19759
  clear() {
19759
- !Zt && qn.length ? qn[0].reactiveSnackOptions.show = !1 : o.show = !1;
19760
+ !Zt && Xn.length ? Xn[0].reactiveSnackOptions.show = !1 : o.show = !1;
19760
19761
  }
19761
19762
  };
19762
19763
  };
19763
19764
  fg.forEach((e) => {
19764
- io[e] = (n) => (Rn(n) ? n.type = e : n = {
19765
+ io[e] = (n) => (Ln(n) ? n.type = e : n = {
19765
19766
  content: n,
19766
19767
  type: e
19767
19768
  }, io(n));
19768
19769
  });
19769
19770
  io.allowMultiple = function(e = !1) {
19770
- e !== Zt && (qn.forEach((n) => {
19771
+ e !== Zt && (Xn.forEach((n) => {
19771
19772
  n.reactiveSnackOptions.show = !1;
19772
19773
  }), Zt = e);
19773
19774
  };
19774
19775
  io.clear = function() {
19775
- qn.forEach((e) => {
19776
+ Xn.forEach((e) => {
19776
19777
  e.reactiveSnackOptions.show = !1;
19777
19778
  });
19778
19779
  };
@@ -19783,16 +19784,16 @@ io.resetDefaultOptions = function() {
19783
19784
  Mu = vg;
19784
19785
  };
19785
19786
  function W2(e) {
19786
- const n = e.getAttribute("data-id"), o = qn.find((t) => t.id === W(n));
19787
+ const n = e.getAttribute("data-id"), o = Xn.find((t) => t.id === W(n));
19787
19788
  o && $(o.reactiveSnackOptions.onOpened);
19788
19789
  }
19789
19790
  function K2(e) {
19790
19791
  e.parentElement && e.parentElement.classList.remove("var-pointer-auto");
19791
- const n = e.getAttribute("data-id"), o = qn.find((r) => r.id === W(n));
19792
- o && (o.animationEnd = !0, $(o.reactiveSnackOptions.onClosed)), qn.every((r) => r.animationEnd) && ($(pg), qn = en([]), zs = !1);
19792
+ const n = e.getAttribute("data-id"), o = Xn.find((r) => r.id === W(n));
19793
+ o && (o.animationEnd = !0, $(o.reactiveSnackOptions.onClosed)), Xn.every((r) => r.animationEnd) && ($(pg), Xn = en([]), zs = !1);
19793
19794
  }
19794
19795
  function q2(e) {
19795
- qn.push(e);
19796
+ Xn.push(e);
19796
19797
  }
19797
19798
  function X2(e = {}) {
19798
19799
  return sn(e) ? {
@@ -19800,7 +19801,7 @@ function X2(e = {}) {
19800
19801
  } : e;
19801
19802
  }
19802
19803
  function G2(e, n) {
19803
- const [o] = qn;
19804
+ const [o] = Xn;
19804
19805
  o.reactiveSnackOptions = Gt(Gt({}, o.reactiveSnackOptions), e), o._update = n;
19805
19806
  }
19806
19807
  function Z2(e = "top") {
@@ -19920,7 +19921,7 @@ function e3() {
19920
19921
  }
19921
19922
  function n3() {
19922
19923
  const { parentProvider: e, index: n, bindParent: o } = wn(gg);
19923
- return Ln(!!o, "Steps", "<step/> must in <steps>"), {
19924
+ return Fn(!!o, "Steps", "<step/> must in <steps>"), {
19924
19925
  index: n,
19925
19926
  steps: e,
19926
19927
  bindSteps: o
@@ -20278,12 +20279,12 @@ const Sg = ee({
20278
20279
  name: v3,
20279
20280
  components: {
20280
20281
  VarFormDetails: Tn,
20281
- VarHoverOverlay: Fn
20282
+ VarHoverOverlay: Un
20282
20283
  },
20283
20284
  directives: { Ripple: rn, Hover: In },
20284
20285
  props: Cg,
20285
20286
  setup(e) {
20286
- const n = w(null), o = w(!1), { bindForm: t, form: r } = Hn(), { errorMessage: a, validateWithTrigger: i, validate: l, resetValidation: s } = Un(), { hovering: u, handleHovering: c } = no(), d = B(() => e.modelValue === e.activeValue), f = B(() => {
20287
+ const n = w(null), o = w(!1), { bindForm: t, form: r } = jn(), { errorMessage: a, validateWithTrigger: i, validate: l, resetValidation: s } = Hn(), { hovering: u, handleHovering: c } = no(), d = B(() => e.modelValue === e.activeValue), f = B(() => {
20287
20288
  const { size: O, color: D, closeColor: M, loadingColor: V, variant: L } = e;
20288
20289
  return {
20289
20290
  handle: {
@@ -20402,7 +20403,7 @@ function w3() {
20402
20403
  }
20403
20404
  function k3() {
20404
20405
  const { parentProvider: e, bindParent: n, index: o } = wn(Og);
20405
- return Ln(!!n, "Tab", "<var-tab/> must in <var-tabs/>"), {
20406
+ return Fn(!!n, "Tab", "<var-tab/> must in <var-tabs/>"), {
20406
20407
  index: o,
20407
20408
  tabs: e,
20408
20409
  bindTabs: n
@@ -23816,7 +23817,7 @@ function N5(e, n = {}) {
23816
23817
  }
23817
23818
  const V5 = { dark: oE, md3Light: M5, md3Dark: bT, toViewport: N5 }, tI = null;
23818
23819
  var Fs = V5;
23819
- const Yn = ["12", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], zn = ["00", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23"], mf = ["00", "05", "10", "15", "20", "25", "30", "35", "40", "45", "50", "55"], Vg = {
23820
+ const Wn = ["12", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], zn = ["00", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23"], mf = ["00", "05", "10", "15", "20", "25", "30", "35", "40", "45", "50", "55"], Vg = {
23820
23821
  modelValue: String,
23821
23822
  elevation: {
23822
23823
  type: [Boolean, Number, String],
@@ -23837,7 +23838,7 @@ const Yn = ["12", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"], zn =
23837
23838
  "onUpdate:modelValue": F(),
23838
23839
  onChange: F()
23839
23840
  }, Rg = (e, n) => e === "24hr" || n === "am", Nu = (e, n, o) => {
23840
- const t = Yn.findIndex((a) => W(a) === W(o)), r = Rg(e, n) ? o : zn[t];
23841
+ const t = Wn.findIndex((a) => W(a) === W(o)), r = Rg(e, n) ? o : zn[t];
23841
23842
  return {
23842
23843
  hourStr: r,
23843
23844
  hourNum: W(r)
@@ -24025,7 +24026,7 @@ const Ug = ee({
24025
24026
  return;
24026
24027
  const m = e.rad / 30;
24027
24028
  return m >= 0 ? m : m + 12;
24028
- }), l = B(() => e.type === "hour" ? Yn : mf), s = (m, y) => {
24029
+ }), l = B(() => e.type === "hour" ? Wn : mf), s = (m, y) => {
24029
24030
  m = m ?? (e.type === "minute" ? e.time.minute : e.time.second);
24030
24031
  const C = e.type === "minute" ? Lg : Fg, k = {
24031
24032
  time: W(m),
@@ -24048,7 +24049,7 @@ const Ug = ee({
24048
24049
  if (e.type === "hour") {
24049
24050
  if (Rg(e.format, e.ampm))
24050
24051
  return t.value.includes(m);
24051
- const y = Yn.findIndex((C) => C === m);
24052
+ const y = Wn.findIndex((C) => C === m);
24052
24053
  return r.value.includes(y);
24053
24054
  }
24054
24055
  return s(m, !0);
@@ -24078,7 +24079,7 @@ const Ug = ee({
24078
24079
  }, h = () => {
24079
24080
  if (i.value === void 0)
24080
24081
  return;
24081
- const m = e.ampm === "am" ? Yn : zn;
24082
+ const m = e.ampm === "am" ? Wn : zn;
24082
24083
  return Qo(m[i.value], 2, "0");
24083
24084
  };
24084
24085
  return fe([i, () => e.isInner], ([m, y], [C, k]) => {
@@ -24110,19 +24111,19 @@ const Ug = ee({
24110
24111
  [() => e.max, () => e.min, () => e.allowedTime],
24111
24112
  ([m, y, C]) => {
24112
24113
  if (t.value = [], m && !y) {
24113
- const { hour: k } = Dn(m), b = Yn.filter((T) => W(T) > k), S = zn.filter((T) => W(T) > k);
24114
+ const { hour: k } = Dn(m), b = Wn.filter((T) => W(T) > k), S = zn.filter((T) => W(T) > k);
24114
24115
  t.value = [...b, ...S];
24115
24116
  }
24116
24117
  if (!m && y) {
24117
- const { hour: k } = Dn(y), b = Yn.filter((T) => W(T) < k), S = zn.filter((T) => W(T) < k);
24118
+ const { hour: k } = Dn(y), b = Wn.filter((T) => W(T) < k), S = zn.filter((T) => W(T) < k);
24118
24119
  t.value = [...b, ...S];
24119
24120
  }
24120
24121
  if (m && y) {
24121
- const { hour: k } = Dn(m), { hour: b } = Dn(y), S = Yn.filter((O) => W(O) < b || W(O) > k), T = zn.filter((O) => W(O) < b || W(O) > k);
24122
+ const { hour: k } = Dn(m), { hour: b } = Dn(y), S = Wn.filter((O) => W(O) < b || W(O) > k), T = zn.filter((O) => W(O) < b || W(O) > k);
24122
24123
  t.value = [...S, ...T];
24123
24124
  }
24124
24125
  if (C != null && C.hours) {
24125
- const { hours: k } = C, b = Yn.filter((T) => !k(W(T))), S = zn.filter((T) => !k(W(T)));
24126
+ const { hours: k } = C, b = Wn.filter((T) => !k(W(T))), S = zn.filter((T) => !k(W(T)));
24126
24127
  t.value = [.../* @__PURE__ */ new Set([...t.value, ...b, ...S])];
24127
24128
  }
24128
24129
  r.value = t.value.map((k) => zn.findIndex((b) => k === b)).filter((k) => k >= 0);
@@ -24390,7 +24391,7 @@ const Hg = ee({
24390
24391
  l.value = !1, c.value = !1, h.value = j;
24391
24392
  }
24392
24393
  function V(j) {
24393
- const { disableHour: Q } = t.value, re = Yn.findIndex((K) => W(K) === W(y.value.hour)), me = j === "am" ? Yn : zn;
24394
+ const { disableHour: Q } = t.value, re = Wn.findIndex((K) => W(K) === W(y.value.hour)), me = j === "am" ? Wn : zn;
24394
24395
  return [...me.slice(re), ...me.slice(0, re)].find((K, pe) => (a.value = pe !== 0, !Q.includes(K)));
24395
24396
  }
24396
24397
  function L(j) {
@@ -24431,10 +24432,10 @@ const Hg = ee({
24431
24432
  function H(j, Q, re) {
24432
24433
  const { disableHour: me } = t.value;
24433
24434
  i.value = Y(j, Q);
24434
- const A = Math.round(re / 30) * 30 + 90, K = I(A), pe = r.value ? Yn[K] : zn[K];
24435
+ const A = Math.round(re / 30) * 30 + 90, K = I(A), pe = r.value ? Wn[K] : zn[K];
24435
24436
  if (me.includes(pe) || (r.value = e.format === "24hr" ? Y(j, Q) : !1), r.value !== i.value)
24436
24437
  return;
24437
- const Se = r.value || m.value === "pm" ? zn[K] : Yn[K];
24438
+ const Se = r.value || m.value === "pm" ? zn[K] : Wn[K];
24438
24439
  u.value = me.includes(Se), !u.value && (v.value = A, l.value = !0);
24439
24440
  }
24440
24441
  function z(j) {
@@ -24633,7 +24634,7 @@ function nB(e, n) {
24633
24634
  }, () => [
24634
24635
  R("div", {
24635
24636
  class: p(e.n("file-close")),
24636
- onClick: Xn((u) => e.handleRemove(s), ["stop"])
24637
+ onClick: Rn((u) => e.handleRemove(s), ["stop"])
24637
24638
  }, [
24638
24639
  X(o, {
24639
24640
  class: p(e.n("file-close-icon")),
@@ -24702,7 +24703,7 @@ function nB(e, n) {
24702
24703
  capture: e.capture,
24703
24704
  disabled: e.disabled || e.formDisabled || e.readonly || e.formReadonly,
24704
24705
  onChange: n[0] || (n[0] = (...s) => e.handleChange && e.handleChange(...s)),
24705
- onClick: n[1] || (n[1] = Xn(() => {
24706
+ onClick: n[1] || (n[1] = Rn(() => {
24706
24707
  }, ["stop"]))
24707
24708
  }, null, 42, x5),
24708
24709
  U(e.$slots, "default", {}, () => [
@@ -24780,7 +24781,7 @@ const Yg = ee({
24780
24781
  VarIcon: Ge,
24781
24782
  VarPopup: No,
24782
24783
  VarFormDetails: Tn,
24783
- VarHoverOverlay: Fn
24784
+ VarHoverOverlay: Un
24784
24785
  },
24785
24786
  props: jg,
24786
24787
  setup(e) {
@@ -24790,13 +24791,13 @@ const Yg = ee({
24790
24791
  modelValue: { length: Q }
24791
24792
  } = e;
24792
24793
  return En(j) ? `${Q} / ${j}` : "";
24793
- }), { form: l, bindForm: s } = Hn(), {
24794
+ }), { form: l, bindForm: s } = jn(), {
24794
24795
  errorMessage: u,
24795
24796
  validateWithTrigger: c,
24796
24797
  validate: d,
24797
24798
  // expose
24798
24799
  resetValidation: f
24799
- } = Un(), { hovering: v, handleHovering: h } = no(), m = B(() => {
24800
+ } = Hn(), { hovering: v, handleHovering: h } = no(), m = B(() => {
24800
24801
  const { modelValue: j, hideList: Q } = e;
24801
24802
  return Q ? [] : j;
24802
24803
  });
@@ -25235,9 +25236,9 @@ ae(_i);
25235
25236
  le(_i, Wg);
25236
25237
  const iI = _i;
25237
25238
  var js = _i;
25238
- const bB = "3.10.6";
25239
+ const bB = "3.10.7";
25239
25240
  function yB(e) {
25240
- vl.install && e.use(vl), ml.install && e.use(ml), hl.install && e.use(hl), yl.install && e.use(yl), $l.install && e.use($l), Cl.install && e.use(Cl), Sl.install && e.use(Sl), _r.install && e.use(_r), Pl.install && e.use(Pl), Ol.install && e.use(Ol), zl.install && e.use(zl), El.install && e.use(El), Bn.install && e.use(Bn), Tl.install && e.use(Tl), Bl.install && e.use(Bl), Dl.install && e.use(Dl), ct.install && e.use(ct), Il.install && e.use(Il), xr.install && e.use(xr), Ml.install && e.use(Ml), Nl.install && e.use(Nl), Vl.install && e.use(Vl), Rl.install && e.use(Rl), Ll.install && e.use(Ll), Vn.install && e.use(Vn), Fl.install && e.use(Fl), Yl.install && e.use(Yl), Jl.install && e.use(Jl), _l.install && e.use(_l), xl.install && e.use(xl), es.install && e.use(es), aa.install && e.use(aa), ns.install && e.use(ns), os.install && e.use(os), Rt.install && e.use(Rt), ts.install && e.use(ts), rs.install && e.use(rs), Tn.install && e.use(Tn), as.install && e.use(as), In.install && e.use(In), Fn.install && e.use(Fn), Ge.install && e.use(Ge), is.install && e.use(is), Xt.install && e.use(Xt), ls.install && e.use(ls), ss.install && e.use(ss), Lt.install && e.use(Lt), Yt.install && e.use(Yt), us.install && e.use(us), cs.install && e.use(cs), mt.install && e.use(mt), ds.install && e.use(ds), fl.install && e.use(fl), fs.install && e.use(fs), Ht.install && e.use(Ht), dt.install && e.use(dt), jt.install && e.use(jt), la.install && e.use(la), ps.install && e.use(ps), vs.install && e.use(vs), ms.install && e.use(ms), hs.install && e.use(hs), No.install && e.use(No), gs.install && e.use(gs), bs.install && e.use(bs), sa.install && e.use(sa), ys.install && e.use(ys), ws.install && e.use(ws), ks.install && e.use(ks), rn.install && e.use(rn), $s.install && e.use($s), Cs.install && e.use(Cs), Ss.install && e.use(Ss), Ps.install && e.use(Ps), Os.install && e.use(Os), Es.install && e.use(Es), Ts.install && e.use(Ts), Bs.install && e.use(Bs), Ds.install && e.use(Ds), bt.install && e.use(bt), Is.install && e.use(Is), Kt.install && e.use(Kt), qt.install && e.use(qt), As.install && e.use(As), Ms.install && e.use(Ms), Ns.install && e.use(Ns), Vs.install && e.use(Vs), Rs.install && e.use(Rs), Ls.install && e.use(Ls), Fs.install && e.use(Fs), Us.install && e.use(Us), ia.install && e.use(ia), Hs.install && e.use(Hs), js.install && e.use(js);
25241
+ vl.install && e.use(vl), ml.install && e.use(ml), hl.install && e.use(hl), yl.install && e.use(yl), $l.install && e.use($l), Cl.install && e.use(Cl), Sl.install && e.use(Sl), _r.install && e.use(_r), Pl.install && e.use(Pl), Ol.install && e.use(Ol), zl.install && e.use(zl), El.install && e.use(El), Bn.install && e.use(Bn), Tl.install && e.use(Tl), Bl.install && e.use(Bl), Dl.install && e.use(Dl), ct.install && e.use(ct), Il.install && e.use(Il), xr.install && e.use(xr), Ml.install && e.use(Ml), Nl.install && e.use(Nl), Vl.install && e.use(Vl), Rl.install && e.use(Rl), Ll.install && e.use(Ll), Vn.install && e.use(Vn), Fl.install && e.use(Fl), Yl.install && e.use(Yl), Jl.install && e.use(Jl), _l.install && e.use(_l), xl.install && e.use(xl), es.install && e.use(es), aa.install && e.use(aa), ns.install && e.use(ns), os.install && e.use(os), Rt.install && e.use(Rt), ts.install && e.use(ts), rs.install && e.use(rs), Tn.install && e.use(Tn), as.install && e.use(as), In.install && e.use(In), Un.install && e.use(Un), Ge.install && e.use(Ge), is.install && e.use(is), Xt.install && e.use(Xt), ls.install && e.use(ls), ss.install && e.use(ss), Lt.install && e.use(Lt), Yt.install && e.use(Yt), us.install && e.use(us), cs.install && e.use(cs), mt.install && e.use(mt), ds.install && e.use(ds), fl.install && e.use(fl), fs.install && e.use(fs), Ht.install && e.use(Ht), dt.install && e.use(dt), jt.install && e.use(jt), la.install && e.use(la), ps.install && e.use(ps), vs.install && e.use(vs), ms.install && e.use(ms), hs.install && e.use(hs), No.install && e.use(No), gs.install && e.use(gs), bs.install && e.use(bs), sa.install && e.use(sa), ys.install && e.use(ys), ws.install && e.use(ws), ks.install && e.use(ks), rn.install && e.use(rn), $s.install && e.use($s), Cs.install && e.use(Cs), Ss.install && e.use(Ss), Ps.install && e.use(Ps), Os.install && e.use(Os), Es.install && e.use(Es), Ts.install && e.use(Ts), Bs.install && e.use(Bs), Ds.install && e.use(Ds), bt.install && e.use(bt), Is.install && e.use(Is), Kt.install && e.use(Kt), qt.install && e.use(qt), As.install && e.use(As), Ms.install && e.use(Ms), Ns.install && e.use(Ns), Vs.install && e.use(Vs), Rs.install && e.use(Rs), Ls.install && e.use(Ls), Fs.install && e.use(Fs), Us.install && e.use(Us), ia.install && e.use(ia), Hs.install && e.use(Hs), js.install && e.use(js);
25241
25242
  }
25242
25243
  const lI = {
25243
25244
  version: bB,
@@ -25282,7 +25283,7 @@ const lI = {
25282
25283
  FormDetails: Tn,
25283
25284
  HighlighterProvider: as,
25284
25285
  Hover: In,
25285
- HoverOverlay: Fn,
25286
+ HoverOverlay: Un,
25286
25287
  Icon: Ge,
25287
25288
  Image: is,
25288
25289
  ImagePreview: Xt,
@@ -25378,7 +25379,7 @@ export {
25378
25379
  Tn as FormDetails,
25379
25380
  as as HighlighterProvider,
25380
25381
  In as Hover,
25381
- Fn as HoverOverlay,
25382
+ Un as HoverOverlay,
25382
25383
  Ge as Icon,
25383
25384
  is as Image,
25384
25385
  Xt as ImagePreview,