@maxtropy/v-components 0.1.14-beta.19 → 0.1.14-beta.20

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.
@@ -1,7 +1,7 @@
1
1
  var oh = Object.defineProperty;
2
2
  var rh = (e, t, n) => t in e ? oh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Dt = (e, t, n) => (rh(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { shallowRef as Gt, watchEffect as Fn, readonly as _l, ref as M, watch as le, unref as s, getCurrentScope as ah, onScopeDispose as Kf, getCurrentInstance as He, onMounted as Ye, nextTick as ke, computed as I, defineComponent as U, openBlock as w, createElementBlock as D, createElementVNode as K, warn as lh, isVNode as on, onBeforeUnmount as Bt, inject as be, isRef as En, onBeforeMount as Xi, provide as Ge, renderSlot as te, mergeProps as Pe, toRef as bt, onUnmounted as Oa, reactive as ht, toRefs as Qt, normalizeClass as S, onUpdated as dr, createVNode as G, Fragment as Te, useSlots as Ln, withCtx as z, createBlock as Z, resolveDynamicComponent as nt, normalizeStyle as De, createTextVNode as qe, toDisplayString as se, createCommentVNode as _, TransitionGroup as Nf, useAttrs as $i, withDirectives as Ve, withModifiers as Ne, vShow as ut, Transition as Xt, cloneVNode as sh, Text as Lf, Comment as Qf, Teleport as Vf, onDeactivated as zf, renderList as xe, toRaw as _o, vModelCheckbox as Ol, vModelRadio as Hf, toHandlers as ih, withKeys as ct, h as Ie, createSlots as $e, resolveComponent as Me, normalizeProps as Jl, guardReactiveProps as Xl, triggerRef as Er, resolveDirective as eu, vModelText as uh, createApp as ch, shallowReactive as dh, render as Jo, markRaw as $l, createStaticVNode as Uf, pushScopeId as tu, popScopeId as nu } from "vue";
4
+ import { shallowRef as Gt, watchEffect as Fn, readonly as _l, ref as M, watch as le, unref as s, getCurrentScope as ah, onScopeDispose as Kf, getCurrentInstance as He, onMounted as Ye, nextTick as ke, computed as I, defineComponent as U, openBlock as w, createElementBlock as D, createElementVNode as K, warn as lh, isVNode as on, onBeforeUnmount as Bt, inject as be, isRef as En, onBeforeMount as Xi, provide as Ge, renderSlot as te, mergeProps as Pe, toRef as yt, onUnmounted as Oa, reactive as bt, toRefs as Qt, normalizeClass as S, onUpdated as dr, createVNode as G, Fragment as Te, useSlots as Ln, withCtx as z, createBlock as Z, resolveDynamicComponent as nt, normalizeStyle as De, createTextVNode as qe, toDisplayString as se, createCommentVNode as _, TransitionGroup as Nf, useAttrs as $i, withDirectives as Ve, withModifiers as Ne, vShow as ut, Transition as Xt, cloneVNode as sh, Text as Lf, Comment as Qf, Teleport as Vf, onDeactivated as zf, renderList as xe, toRaw as _o, vModelCheckbox as Ol, vModelRadio as Hf, toHandlers as ih, withKeys as ct, h as Ie, createSlots as $e, resolveComponent as Me, normalizeProps as Jl, guardReactiveProps as Xl, triggerRef as Er, resolveDirective as eu, vModelText as uh, createApp as ch, shallowReactive as dh, render as Jo, markRaw as $l, createStaticVNode as Uf, pushScopeId as tu, popScopeId as nu } from "vue";
5
5
  import { useRoute as Wf } from "vue-router";
6
6
  const fh = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])', ph = (e) => process.env.NODE_ENV === "test" ? !0 : getComputedStyle(e).position === "fixed" ? !1 : e.offsetParent !== null, bc = (e) => Array.from(e.querySelectorAll(fh)).filter((t) => vh(t) && ph(t)), vh = (e) => {
7
7
  if (e.tabIndex > 0 || e.tabIndex === 0 && e.getAttribute("tabIndex") !== null)
@@ -301,7 +301,7 @@ const Wh = () => at && /firefox/i.test(window.navigator.userAgent);
301
301
  **/
302
302
  process.env.NODE_ENV !== "production" && Object.freeze({});
303
303
  process.env.NODE_ENV !== "production" && Object.freeze([]);
304
- const yt = () => {
304
+ const At = () => {
305
305
  }, qf = Object.assign, jh = Object.prototype.hasOwnProperty, un = (e, t) => jh.call(e, t), rt = Array.isArray, Pc = (e) => Zf(e) === "[object Date]", st = (e) => typeof e == "function", Ze = (e) => typeof e == "string", Yh = (e) => typeof e == "symbol", xt = (e) => e !== null && typeof e == "object", Rc = (e) => (xt(e) || st(e)) && st(e.then) && st(e.catch), Gh = Object.prototype.toString, Zf = (e) => Gh.call(e), Ts = (e) => Zf(e).slice(8, -1), ou = (e) => {
306
306
  const t = /* @__PURE__ */ Object.create(null);
307
307
  return (n) => t[n] || (t[n] = e(n));
@@ -630,11 +630,11 @@ function y0() {
630
630
  }
631
631
  var rp = typeof exports == "object" && exports && !exports.nodeType && exports, Wc = rp && typeof module == "object" && module && !module.nodeType && module, b0 = Wc && Wc.exports === rp, jc = b0 ? Mn.Buffer : void 0, C0 = jc ? jc.isBuffer : void 0, w0 = C0 || y0;
632
632
  const ma = w0;
633
- var E0 = "[object Arguments]", I0 = "[object Array]", B0 = "[object Boolean]", S0 = "[object Date]", k0 = "[object Error]", M0 = "[object Function]", x0 = "[object Map]", T0 = "[object Number]", O0 = "[object Object]", F0 = "[object RegExp]", P0 = "[object Set]", R0 = "[object String]", D0 = "[object WeakMap]", K0 = "[object ArrayBuffer]", N0 = "[object DataView]", L0 = "[object Float32Array]", Q0 = "[object Float64Array]", V0 = "[object Int8Array]", z0 = "[object Int16Array]", H0 = "[object Int32Array]", U0 = "[object Uint8Array]", W0 = "[object Uint8ClampedArray]", j0 = "[object Uint16Array]", Y0 = "[object Uint32Array]", At = {};
634
- At[L0] = At[Q0] = At[V0] = At[z0] = At[H0] = At[U0] = At[W0] = At[j0] = At[Y0] = !0;
635
- At[E0] = At[I0] = At[K0] = At[B0] = At[N0] = At[S0] = At[k0] = At[M0] = At[x0] = At[T0] = At[O0] = At[F0] = At[P0] = At[R0] = At[D0] = !1;
633
+ var E0 = "[object Arguments]", I0 = "[object Array]", B0 = "[object Boolean]", S0 = "[object Date]", k0 = "[object Error]", M0 = "[object Function]", x0 = "[object Map]", T0 = "[object Number]", O0 = "[object Object]", F0 = "[object RegExp]", P0 = "[object Set]", R0 = "[object String]", D0 = "[object WeakMap]", K0 = "[object ArrayBuffer]", N0 = "[object DataView]", L0 = "[object Float32Array]", Q0 = "[object Float64Array]", V0 = "[object Int8Array]", z0 = "[object Int16Array]", H0 = "[object Int32Array]", U0 = "[object Uint8Array]", W0 = "[object Uint8ClampedArray]", j0 = "[object Uint16Array]", Y0 = "[object Uint32Array]", ht = {};
634
+ ht[L0] = ht[Q0] = ht[V0] = ht[z0] = ht[H0] = ht[U0] = ht[W0] = ht[j0] = ht[Y0] = !0;
635
+ ht[E0] = ht[I0] = ht[K0] = ht[B0] = ht[N0] = ht[S0] = ht[k0] = ht[M0] = ht[x0] = ht[T0] = ht[O0] = ht[F0] = ht[P0] = ht[R0] = ht[D0] = !1;
636
636
  function G0(e) {
637
- return Bn(e) && iu(e.length) && !!At[po(e)];
637
+ return Bn(e) && iu(e.length) && !!ht[po(e)];
638
638
  }
639
639
  function cu(e) {
640
640
  return function(t) {
@@ -2259,7 +2259,7 @@ const zp = "__epPropKey", ue = (e) => e, eE = (e) => xt(e) && !!e[zp], cs = (e,
2259
2259
  e._context = n._context, n.config.globalProperties[t] = e;
2260
2260
  }, e), nE = (e, t) => (e.install = (n) => {
2261
2261
  n.directive(t, e);
2262
- }, e), Rt = (e) => (e.install = yt, e), Bu = (...e) => (t) => {
2262
+ }, e), Rt = (e) => (e.install = At, e), Bu = (...e) => (t) => {
2263
2263
  e.forEach((n) => {
2264
2264
  st(n) ? n(t) : n.value = t;
2265
2265
  });
@@ -2668,7 +2668,7 @@ function SE(e, t, n = !1) {
2668
2668
  const a = st(e);
2669
2669
  a ? (o = e, r = process.env.NODE_ENV !== "production" ? () => {
2670
2670
  qp("Write operation failed: computed value is readonly");
2671
- } : yt) : (o = e.get, r = e.set);
2671
+ } : At) : (o = e.get, r = e.set);
2672
2672
  const l = new Jp(o, r, a || !r, n);
2673
2673
  return process.env.NODE_ENV !== "production" && t && !n && (l.effect.onTrack = t.onTrack, l.effect.onTrigger = t.onTrigger), l;
2674
2674
  }
@@ -3449,7 +3449,7 @@ const R2 = (e, t) => {
3449
3449
  });
3450
3450
  }, Ku = (e) => {
3451
3451
  if (!e)
3452
- return { onClick: yt, onMousedown: yt, onMouseup: yt };
3452
+ return { onClick: At, onMousedown: At, onMouseup: At };
3453
3453
  let t = !1, n = !1;
3454
3454
  return { onClick: (l) => {
3455
3455
  t && n && e(l), t = n = !1;
@@ -3812,7 +3812,7 @@ const Se = vt(X2), $2 = ["light", "dark"], eI = we({
3812
3812
  return !!(!e.label && t && t.inputIds && ((i = t.inputIds) == null ? void 0 : i.length) <= 1);
3813
3813
  });
3814
3814
  return Ye(() => {
3815
- a = le([bt(e, "id"), n], ([i, u]) => {
3815
+ a = le([yt(e, "id"), n], ([i, u]) => {
3816
3816
  const c = i ?? (u ? void 0 : kn().value);
3817
3817
  c !== r.value && (t != null && t.removeInputId && (r.value && t.removeInputId(r.value), !(o != null && o.value) && !u && c && t.addInputId(c)), r.value = c);
3818
3818
  }, { immediate: !0 });
@@ -3977,7 +3977,7 @@ const Za = (e, t) => {
3977
3977
  };
3978
3978
  return le(() => o.rules, () => {
3979
3979
  o.validateOnRuleChange && m().catch((b) => Je(b));
3980
- }, { deep: !0 }), Ge(Ko, ht({
3980
+ }, { deep: !0 }), Ge(Ko, bt({
3981
3981
  ...Qt(o),
3982
3982
  emit: n,
3983
3983
  resetFields: p,
@@ -4844,7 +4844,7 @@ const zI = ["role", "aria-labelledby"], HI = U({
4844
4844
  le(() => n.error, (pe) => {
4845
4845
  f.value = pe || "", x(pe ? "error" : "");
4846
4846
  }, { immediate: !0 }), le(() => n.validateStatus, (pe) => x(pe || ""));
4847
- const fe = ht({
4847
+ const fe = bt({
4848
4848
  ...Qt(n),
4849
4849
  $el: v,
4850
4850
  size: l,
@@ -5212,7 +5212,7 @@ const ZI = we({
5212
5212
  textarea: b,
5213
5213
  ref: F,
5214
5214
  textareaStyle: W,
5215
- autosize: bt(o, "autosize"),
5215
+ autosize: yt(o, "autosize"),
5216
5216
  focus: Xe,
5217
5217
  blur: dt,
5218
5218
  select: Ot,
@@ -5308,7 +5308,7 @@ const ZI = we({
5308
5308
  s(x) ? (w(), Z(s(Se), {
5309
5309
  key: 1,
5310
5310
  class: S([s(g).e("icon"), s(g).e("clear")]),
5311
- onMousedown: Ne(s(yt), ["prevent"]),
5311
+ onMousedown: Ne(s(At), ["prevent"]),
5312
5312
  onClick: wt
5313
5313
  }, {
5314
5314
  default: z(() => [
@@ -5478,7 +5478,7 @@ const ln = vt(nB), Yo = 4, oB = {
5478
5478
  const E = () => {
5479
5479
  document.onselectstart !== p && (document.onselectstart = p);
5480
5480
  };
5481
- return Nt(bt(n, "scrollbarElement"), "mousemove", y), Nt(bt(n, "scrollbarElement"), "mouseleave", C), (B, k) => (w(), Z(Xt, {
5481
+ return Nt(yt(n, "scrollbarElement"), "mousemove", y), Nt(yt(n, "scrollbarElement"), "mouseleave", C), (B, k) => (w(), Z(Xt, {
5482
5482
  name: s(o).b("fade"),
5483
5483
  persisted: ""
5484
5484
  }, {
@@ -5645,7 +5645,7 @@ const dB = we({
5645
5645
  var k;
5646
5646
  B(), u.value && ((k = f.value) == null || k.handleScroll(u.value));
5647
5647
  });
5648
- }), Ge(Mv, ht({
5648
+ }), Ge(Mv, bt({
5649
5649
  scrollbarElement: i,
5650
5650
  wrapElement: u
5651
5651
  })), Ye(() => {
@@ -5766,7 +5766,7 @@ const Ls = "ElOnlyChild", Fv = U({
5766
5766
  attrs: n
5767
5767
  }) {
5768
5768
  var o;
5769
- const r = be(hv), a = z2((o = r == null ? void 0 : r.setForwardRef) != null ? o : yt);
5769
+ const r = be(hv), a = z2((o = r == null ? void 0 : r.setForwardRef) != null ? o : At);
5770
5770
  return () => {
5771
5771
  var l;
5772
5772
  const i = (l = t.default) == null ? void 0 : l.call(t, n);
@@ -6382,8 +6382,8 @@ const WB = 0, jB = (e) => {
6382
6382
  arrowOffset: F
6383
6383
  }), R && (R.addInputId || R.removeInputId) && Ge(uo, {
6384
6384
  ...R,
6385
- addInputId: yt,
6386
- removeInputId: yt
6385
+ addInputId: At,
6386
+ removeInputId: At
6387
6387
  });
6388
6388
  let P;
6389
6389
  const N = (O = !0) => {
@@ -6510,7 +6510,7 @@ const JB = vt(yB), hs = Symbol("elTooltip"), Ut = we({
6510
6510
  const n = e, o = ge("tooltip"), { controlled: r, id: a, open: l, onOpen: i, onClose: u, onToggle: c } = be(hs, void 0), p = M(null), d = () => {
6511
6511
  if (s(r) || n.disabled)
6512
6512
  return !0;
6513
- }, f = bt(n, "trigger"), v = Mt(d, Ho(f, "hover", i)), m = Mt(d, Ho(f, "hover", u)), g = Mt(d, Ho(f, "click", (C) => {
6513
+ }, f = yt(n, "trigger"), v = Mt(d, Ho(f, "hover", i)), m = Mt(d, Ho(f, "hover", u)), g = Mt(d, Ho(f, "click", (C) => {
6514
6514
  C.button === 0 && c(C);
6515
6515
  })), A = Mt(d, Ho(f, "focus", i)), h = Mt(d, Ho(f, "focus", u)), b = Mt(d, Ho(f, "contextmenu", (C) => {
6516
6516
  C.preventDefault(), c(C);
@@ -6675,9 +6675,9 @@ const c4 = ["innerHTML"], d4 = { key: 1 }, f4 = U({
6675
6675
  indicator: u,
6676
6676
  toggleReason: c
6677
6677
  }), { onOpen: v, onClose: m } = mv({
6678
- showAfter: bt(o, "showAfter"),
6679
- hideAfter: bt(o, "hideAfter"),
6680
- autoClose: bt(o, "autoClose"),
6678
+ showAfter: yt(o, "showAfter"),
6679
+ hideAfter: yt(o, "hideAfter"),
6680
+ autoClose: yt(o, "autoClose"),
6681
6681
  open: p,
6682
6682
  close: d
6683
6683
  }), g = I(() => Lt(o.visible) && !f.value);
@@ -6685,7 +6685,7 @@ const c4 = ["innerHTML"], d4 = { key: 1 }, f4 = U({
6685
6685
  controlled: g,
6686
6686
  id: r,
6687
6687
  open: _l(u),
6688
- trigger: bt(o, "trigger"),
6688
+ trigger: yt(o, "trigger"),
6689
6689
  onOpen: (h) => {
6690
6690
  v(h);
6691
6691
  },
@@ -7637,9 +7637,9 @@ const Z4 = {
7637
7637
  props: Z4,
7638
7638
  setup(e) {
7639
7639
  const t = e;
7640
- Ge(Qv, ht({
7641
- size: bt(t, "size"),
7642
- type: bt(t, "type")
7640
+ Ge(Qv, bt({
7641
+ size: yt(t, "size"),
7642
+ type: yt(t, "type")
7643
7643
  }));
7644
7644
  const n = ge("button");
7645
7645
  return (o, r) => (w(), D("div", {
@@ -10009,7 +10009,7 @@ const Eg = we({
10009
10009
  !Array.from(d).some((v) => v.checked) && f && (f.tabIndex = 0);
10010
10010
  });
10011
10011
  const p = I(() => n.name || r.value);
10012
- return Ge(yg, ht({
10012
+ return Ge(yg, bt({
10013
10013
  ...Qt(n),
10014
10014
  changeEvent: c,
10015
10015
  name: p
@@ -10801,7 +10801,7 @@ const $k = ["onClick"], e8 = ["aria-label"], t8 = ["aria-label"], n8 = ["aria-la
10801
10801
  props: Mk,
10802
10802
  emits: ["pick", "set-picker-option", "panel-change"],
10803
10803
  setup(e, { emit: t }) {
10804
- const n = e, o = (ce, re, ye) => !0, r = ge("picker-panel"), a = ge("date-picker"), l = $i(), i = Ln(), { t: u, lang: c } = it(), p = be("EP_PICKER_BASE"), d = be(hs), { shortcuts: f, disabledDate: v, cellClassName: m, defaultTime: g, arrowControl: A } = p.props, h = bt(p.props, "defaultValue"), b = M(), y = M(Re().locale(c.value)), C = M(!1), E = I(() => Re(g).locale(c.value)), B = I(() => y.value.month()), k = I(() => y.value.year()), R = M([]), F = M(null), P = M(null), N = (ce) => R.value.length > 0 ? o(ce, R.value, n.format || "HH:mm:ss") : !0, j = (ce) => g && !Oe.value && !C.value ? E.value.year(ce.year()).month(ce.month()).date(ce.date()) : fe.value ? ce.millisecond(0) : ce.startOf("day"), O = (ce, ...re) => {
10804
+ const n = e, o = (ce, re, ye) => !0, r = ge("picker-panel"), a = ge("date-picker"), l = $i(), i = Ln(), { t: u, lang: c } = it(), p = be("EP_PICKER_BASE"), d = be(hs), { shortcuts: f, disabledDate: v, cellClassName: m, defaultTime: g, arrowControl: A } = p.props, h = yt(p.props, "defaultValue"), b = M(), y = M(Re().locale(c.value)), C = M(!1), E = I(() => Re(g).locale(c.value)), B = I(() => y.value.month()), k = I(() => y.value.year()), R = M([]), F = M(null), P = M(null), N = (ce) => R.value.length > 0 ? o(ce, R.value, n.format || "HH:mm:ss") : !0, j = (ce) => g && !Oe.value && !C.value ? E.value.year(ce.year()).month(ce.month()).date(ce.date()) : fe.value ? ce.millisecond(0) : ce.startOf("day"), O = (ce, ...re) => {
10805
10805
  if (!ce)
10806
10806
  t("pick", ce, ...re);
10807
10807
  else if (rt(ce)) {
@@ -11306,7 +11306,7 @@ const l8 = we({
11306
11306
  defaultTime: i,
11307
11307
  arrowControl: u,
11308
11308
  clearable: c
11309
- } = o.props, p = bt(o.props, "shortcuts"), d = bt(o.props, "defaultValue"), { lang: f } = it(), v = M(Re().locale(f.value)), m = M(Re().locale(f.value).add(1, ol)), {
11309
+ } = o.props, p = yt(o.props, "shortcuts"), d = yt(o.props, "defaultValue"), { lang: f } = it(), v = M(Re().locale(f.value)), m = M(Re().locale(f.value).add(1, ol)), {
11310
11310
  minDate: g,
11311
11311
  maxDate: A,
11312
11312
  rangeState: h,
@@ -11745,7 +11745,7 @@ const g8 = we({
11745
11745
  props: g8,
11746
11746
  emits: m8,
11747
11747
  setup(e, { emit: t }) {
11748
- const n = e, { lang: o } = it(), r = be("EP_PICKER_BASE"), { shortcuts: a, disabledDate: l, format: i } = r.props, u = bt(r.props, "defaultValue"), c = M(Re().locale(o.value)), p = M(Re().locale(o.value).add(1, rl)), {
11748
+ const n = e, { lang: o } = it(), r = be("EP_PICKER_BASE"), { shortcuts: a, disabledDate: l, format: i } = r.props, u = yt(r.props, "defaultValue"), c = M(Re().locale(o.value)), p = M(Re().locale(o.value).add(1, rl)), {
11749
11749
  minDate: d,
11750
11750
  maxDate: f,
11751
11751
  rangeState: v,
@@ -11771,7 +11771,7 @@ const g8 = we({
11771
11771
  leftYear: N,
11772
11772
  rightYear: j
11773
11773
  } = h8({
11774
- unlinkPanels: bt(n, "unlinkPanels"),
11774
+ unlinkPanels: yt(n, "unlinkPanels"),
11775
11775
  leftDate: c,
11776
11776
  rightDate: p
11777
11777
  }), O = I(() => n.unlinkPanels && j.value > N.value + 1), Q = (x, L = !0) => {
@@ -11945,7 +11945,7 @@ var B8 = U({
11945
11945
  slots: o
11946
11946
  }) {
11947
11947
  const r = ge("picker-panel");
11948
- Ge("ElPopperOptions", ht(bt(e, "popperOptions"))), Ge(Wu, {
11948
+ Ge("ElPopperOptions", bt(yt(e, "popperOptions"))), Ge(Wu, {
11949
11949
  slots: o,
11950
11950
  pickerNs: r
11951
11951
  });
@@ -12578,12 +12578,12 @@ const Ug = "data-el-collection-item", Wg = (e) => {
12578
12578
  };
12579
12579
  Ge(Gu, {
12580
12580
  currentTabbedId: _l(o),
12581
- loop: bt(e, "loop"),
12581
+ loop: yt(e, "loop"),
12582
12582
  tabIndex: I(() => s(r) ? -1 : 0),
12583
12583
  rovingFocusGroupRef: l,
12584
12584
  rovingFocusGroupRootStyle: u,
12585
- orientation: bt(e, "orientation"),
12586
- dir: bt(e, "dir"),
12585
+ orientation: yt(e, "orientation"),
12586
+ dir: yt(e, "dir"),
12587
12587
  onItemFocus: c,
12588
12588
  onItemShiftTab: p,
12589
12589
  onBlur: v,
@@ -12808,7 +12808,7 @@ const wl = we({
12808
12808
  const n = He(), o = ge("dropdown"), { t: r } = it(), a = M(), l = M(), i = M(null), u = M(null), c = M(null), p = M(null), d = M(!1), f = [Ee.enter, Ee.space, Ee.down], v = I(() => ({
12809
12809
  maxHeight: dn(e.maxHeight)
12810
12810
  })), m = I(() => [o.m(C.value)]), g = kn().value, A = I(() => e.id || g);
12811
- le([a, bt(e, "trigger")], ([Y, x], [L]) => {
12811
+ le([a, yt(e, "trigger")], ([Y, x], [L]) => {
12812
12812
  var T, H, J;
12813
12813
  const V = rt(x) ? x : [x];
12814
12814
  (T = L == null ? void 0 : L.$el) != null && T.removeEventListener && L.$el.removeEventListener("pointerenter", B), (H = Y == null ? void 0 : Y.$el) != null && H.removeEventListener && Y.$el.removeEventListener("pointerenter", B), (J = Y == null ? void 0 : Y.$el) != null && J.addEventListener && V.includes("hover") && Y.$el.addEventListener("pointerenter", B);
@@ -12868,8 +12868,8 @@ const wl = we({
12868
12868
  dropdownSize: C,
12869
12869
  handleClick: h,
12870
12870
  commandHandler: E,
12871
- trigger: bt(e, "trigger"),
12872
- hideOnClick: bt(e, "hideOnClick")
12871
+ trigger: yt(e, "trigger"),
12872
+ hideOnClick: yt(e, "hideOnClick")
12873
12873
  }), {
12874
12874
  t: r,
12875
12875
  ns: o,
@@ -13488,7 +13488,7 @@ const f3 = vt(d3), p3 = we({
13488
13488
  props: p3,
13489
13489
  emits: v3,
13490
13490
  setup(e, { expose: t, emit: n }) {
13491
- const o = e, { t: r } = it(), a = ge("input-number"), l = M(), i = ht({
13491
+ const o = e, { t: r } = it(), a = ge("input-number"), l = M(), i = bt({
13492
13492
  currentValue: o.modelValue,
13493
13493
  userInput: null
13494
13494
  }), { formItem: u } = Tn(), c = I(() => Ue(o.modelValue) && o.modelValue <= o.min), p = I(() => Ue(o.modelValue) && o.modelValue >= o.max), d = I(() => {
@@ -13892,7 +13892,7 @@ var _u = U({
13892
13892
  }), Object.values(d.value).forEach((J) => {
13893
13893
  J.active && (H = !0);
13894
13894
  }), H;
13895
- }), R = I(() => u.props.backgroundColor || ""), F = I(() => u.props.activeTextColor || ""), P = I(() => u.props.textColor || ""), N = I(() => u.props.mode), j = ht({
13895
+ }), R = I(() => u.props.backgroundColor || ""), F = I(() => u.props.activeTextColor || ""), P = I(() => u.props.textColor || ""), N = I(() => u.props.mode), j = bt({
13896
13896
  index: e.index,
13897
13897
  indexPath: r,
13898
13898
  active: k
@@ -14158,7 +14158,7 @@ var T3 = U({
14158
14158
  }, j = (W) => {
14159
14159
  delete v.value[W.index];
14160
14160
  };
14161
- Ge("rootMenu", ht({
14161
+ Ge("rootMenu", bt({
14162
14162
  props: e,
14163
14163
  openedMenus: p,
14164
14164
  items: f,
@@ -14245,9 +14245,9 @@ const O3 = we({
14245
14245
  setup(e, { emit: t }) {
14246
14246
  const n = He(), o = be("rootMenu"), r = ge("menu"), a = ge("menu-item");
14247
14247
  o || zt(qs, "can not inject root menu");
14248
- const { parentMenu: l, indexPath: i } = $g(n, bt(e, "index")), u = be(`subMenu:${l.value.uid}`);
14248
+ const { parentMenu: l, indexPath: i } = $g(n, yt(e, "index")), u = be(`subMenu:${l.value.uid}`);
14249
14249
  u || zt(qs, "can not inject sub menu");
14250
- const c = I(() => e.index === o.activeIndex), p = ht({
14250
+ const c = I(() => e.index === o.activeIndex), p = bt({
14251
14251
  index: e.index,
14252
14252
  indexPath: i,
14253
14253
  active: c
@@ -14489,7 +14489,7 @@ const eM = U({
14489
14489
  }
14490
14490
  },
14491
14491
  setup(e) {
14492
- const t = ge("select"), n = ht({
14492
+ const t = ge("select"), n = bt({
14493
14493
  index: -1,
14494
14494
  groupDisabled: !1,
14495
14495
  visible: !0,
@@ -14571,7 +14571,7 @@ function oM(e, t, n, o, r, a) {
14571
14571
  var rM = /* @__PURE__ */ Ce(nM, [["render", oM], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);
14572
14572
  function aM(e) {
14573
14573
  const { t } = it();
14574
- return ht({
14574
+ return bt({
14575
14575
  options: /* @__PURE__ */ new Map(),
14576
14576
  cachedOptions: /* @__PURE__ */ new Map(),
14577
14577
  createdLabel: null,
@@ -15142,7 +15142,7 @@ const uf = "ElSelect", iM = U({
15142
15142
  maxWidth: `${s(wt) - 32}px`,
15143
15143
  width: "100%"
15144
15144
  })), Hn = I(() => ({ maxWidth: `${s(wt) > 123 ? s(wt) - 123 : s(wt) - 75}px` }));
15145
- Ge(Ha, ht({
15145
+ Ge(Ha, bt({
15146
15146
  props: e,
15147
15147
  options: ee,
15148
15148
  optionsArray: i,
@@ -15584,7 +15584,7 @@ const vM = U({
15584
15584
  },
15585
15585
  setup(e) {
15586
15586
  const t = ge("select"), n = M(!0), o = He(), r = M([]);
15587
- Ge(lm, ht({
15587
+ Ge(lm, bt({
15588
15588
  ...Qt(e)
15589
15589
  }));
15590
15590
  const a = be(Ha);
@@ -16771,7 +16771,7 @@ const fx = vt(dx), im = Symbol("sliderContextKey"), px = we({
16771
16771
  props: Tx,
16772
16772
  emits: Ox,
16773
16773
  setup(e, { expose: t, emit: n }) {
16774
- const o = e, r = ge("slider"), a = ht({
16774
+ const o = e, r = ge("slider"), a = bt({
16775
16775
  hovering: !1,
16776
16776
  dragging: !1,
16777
16777
  isClick: !1,
@@ -16865,7 +16865,7 @@ const Nx = ["id", "role", "aria-label", "aria-labelledby"], Lx = { key: 1 }, Qx
16865
16865
  props: px,
16866
16866
  emits: vx,
16867
16867
  setup(e, { expose: t, emit: n }) {
16868
- const o = e, r = ge("slider"), { t: a } = it(), l = ht({
16868
+ const o = e, r = ge("slider"), { t: a } = it(), l = bt({
16869
16869
  firstValue: 0,
16870
16870
  secondValue: 0,
16871
16871
  oldValue: 0,
@@ -17142,7 +17142,7 @@ const qx = we({
17142
17142
  E > o.value ? a.value = l.props.finishStatus : E === o.value && c.value !== "error" ? a.value = l.props.processStatus : a.value = "wait";
17143
17143
  const B = l.steps.value[o.value - 1];
17144
17144
  B && B.calcProgress(a.value);
17145
- }, C = ht({
17145
+ }, C = bt({
17146
17146
  uid: I(() => i == null ? void 0 : i.uid),
17147
17147
  currentStatus: u,
17148
17148
  setIndex: h,
@@ -20816,7 +20816,7 @@ const xO = we({
20816
20816
  le(u, (v) => {
20817
20817
  v && (c.value = !0);
20818
20818
  });
20819
- const f = ht({
20819
+ const f = bt({
20820
20820
  uid: n.uid,
20821
20821
  slots: o,
20822
20822
  props: t,
@@ -20961,7 +20961,7 @@ class ko {
20961
20961
  Object.assign(t, {
20962
20962
  parent: this,
20963
20963
  store: this.store
20964
- }), t = ht(new ko(t)), t instanceof ko && t.initialize();
20964
+ }), t = bt(new ko(t)), t instanceof ko && t.initialize();
20965
20965
  }
20966
20966
  t.level = this.level + 1, typeof n > "u" || n < 0 ? this.childNodes.push(t) : this.childNodes.splice(n, 0, t), this.updateLeafState();
20967
20967
  }
@@ -22090,7 +22090,7 @@ const $O = U({
22090
22090
  select: r,
22091
22091
  tree: a,
22092
22092
  key: l
22093
- }), p = ht({});
22093
+ }), p = bt({});
22094
22094
  return o(p), Ye(() => {
22095
22095
  Object.assign(p, {
22096
22096
  ...Ca(a.value, [
@@ -22115,14 +22115,14 @@ const $O = U({
22115
22115
  ]),
22116
22116
  ...Ca(r.value, ["focus", "blur"])
22117
22117
  });
22118
- }), () => Ie(Ma, ht({
22118
+ }), () => Ie(Ma, bt({
22119
22119
  ...i,
22120
22120
  ref: (d) => r.value = d
22121
22121
  }), {
22122
22122
  ...n,
22123
22123
  default: () => [
22124
22124
  Ie(XO, { data: u.value }),
22125
- Ie(Wl, ht({
22125
+ Ie(Wl, bt({
22126
22126
  ...c,
22127
22127
  ref: (d) => a.value = d
22128
22128
  }))
@@ -22245,38 +22245,38 @@ const Hi = () => Date.now() + lF++, km = we({
22245
22245
  ...km,
22246
22246
  beforeUpload: {
22247
22247
  type: ue(Function),
22248
- default: yt
22248
+ default: At
22249
22249
  },
22250
22250
  beforeRemove: {
22251
22251
  type: ue(Function)
22252
22252
  },
22253
22253
  onRemove: {
22254
22254
  type: ue(Function),
22255
- default: yt
22255
+ default: At
22256
22256
  },
22257
22257
  onChange: {
22258
22258
  type: ue(Function),
22259
- default: yt
22259
+ default: At
22260
22260
  },
22261
22261
  onPreview: {
22262
22262
  type: ue(Function),
22263
- default: yt
22263
+ default: At
22264
22264
  },
22265
22265
  onSuccess: {
22266
22266
  type: ue(Function),
22267
- default: yt
22267
+ default: At
22268
22268
  },
22269
22269
  onProgress: {
22270
22270
  type: ue(Function),
22271
- default: yt
22271
+ default: At
22272
22272
  },
22273
22273
  onError: {
22274
22274
  type: ue(Function),
22275
- default: yt
22275
+ default: At
22276
22276
  },
22277
22277
  onExceed: {
22278
22278
  type: ue(Function),
22279
- default: yt
22279
+ default: At
22280
22280
  }
22281
22281
  }), iF = we({
22282
22282
  files: {
@@ -22289,7 +22289,7 @@ const Hi = () => Date.now() + lF++, km = we({
22289
22289
  },
22290
22290
  handlePreview: {
22291
22291
  type: ue(Function),
22292
- default: yt
22292
+ default: At
22293
22293
  },
22294
22294
  listType: {
22295
22295
  type: String,
@@ -22493,31 +22493,31 @@ const EF = we({
22493
22493
  ...km,
22494
22494
  beforeUpload: {
22495
22495
  type: ue(Function),
22496
- default: yt
22496
+ default: At
22497
22497
  },
22498
22498
  onRemove: {
22499
22499
  type: ue(Function),
22500
- default: yt
22500
+ default: At
22501
22501
  },
22502
22502
  onStart: {
22503
22503
  type: ue(Function),
22504
- default: yt
22504
+ default: At
22505
22505
  },
22506
22506
  onSuccess: {
22507
22507
  type: ue(Function),
22508
- default: yt
22508
+ default: At
22509
22509
  },
22510
22510
  onProgress: {
22511
22511
  type: ue(Function),
22512
- default: yt
22512
+ default: At
22513
22513
  },
22514
22514
  onError: {
22515
22515
  type: ue(Function),
22516
- default: yt
22516
+ default: At
22517
22517
  },
22518
22518
  onExceed: {
22519
22519
  type: ue(Function),
22520
- default: yt
22520
+ default: At
22521
22521
  }
22522
22522
  }), IF = ["onKeydown"], BF = ["name", "multiple", "accept"], SF = U({
22523
22523
  name: "ElUploadContent",
@@ -22746,7 +22746,7 @@ const wf = "ElUpload", MF = (e) => {
22746
22746
  h != null && h.startsWith("blob:") && URL.revokeObjectURL(h);
22747
22747
  });
22748
22748
  }), Ge(Bm, {
22749
- accept: bt(n, "accept")
22749
+ accept: yt(n, "accept")
22750
22750
  }), t({
22751
22751
  abort: l,
22752
22752
  submit: i,
@@ -22818,7 +22818,7 @@ var FF = /* @__PURE__ */ Ce(OF, [["__file", "/home/runner/work/element-plus/elem
22818
22818
  const PF = vt(FF);
22819
22819
  function RF(e) {
22820
22820
  let t;
22821
- const n = M(!1), o = ht({
22821
+ const n = M(!1), o = bt({
22822
22822
  ...e,
22823
22823
  originalPosition: "",
22824
22824
  originalOverflow: "",
@@ -23338,7 +23338,7 @@ const _n = Wp(ur, "$message"), $F = U({
23338
23338
  zIndex: o,
23339
23339
  ns: r,
23340
23340
  size: a
23341
- } = gs("message-box", I(() => e.buttonSize)), { t: l } = n, { nextZIndex: i } = o, u = M(!1), c = ht({
23341
+ } = gs("message-box", I(() => e.buttonSize)), { t: l } = n, { nextZIndex: i } = o, u = M(!1), c = bt({
23342
23342
  autofocus: !0,
23343
23343
  beforeClose: null,
23344
23344
  callback: null,
@@ -25430,11 +25430,9 @@ var wr = {
25430
25430
  const QR = /* @__PURE__ */ U({
25431
25431
  __name: "MxSelect",
25432
25432
  setup(e, { expose: t }) {
25433
- const n = M(), o = ht({});
25433
+ const n = M(null), o = {};
25434
25434
  return Ye(() => {
25435
- const r = Object.entries(n.value);
25436
- for (let [a, l] of r)
25437
- !l || typeof l != "function" || (o[a] = l);
25435
+ n.value && Object.assign(o, n.value);
25438
25436
  }), t(o), (r, a) => (w(), Z(s(hr), { locale: s(wr) }, {
25439
25437
  default: z(() => [
25440
25438
  G(s(Ma), Pe({
@@ -25456,7 +25454,7 @@ const QR = /* @__PURE__ */ U({
25456
25454
  }, 8, ["locale"]));
25457
25455
  }
25458
25456
  });
25459
- const Vr = /* @__PURE__ */ St(QR, [["__scopeId", "data-v-cc889178"]]), Wm = /* @__PURE__ */ U({
25457
+ const Vr = /* @__PURE__ */ St(QR, [["__scopeId", "data-v-92126402"]]), Wm = /* @__PURE__ */ U({
25460
25458
  __name: "MxOption",
25461
25459
  setup(e) {
25462
25460
  return (t, n) => (w(), Z(s(Ul), Pe({
@@ -26416,7 +26414,7 @@ const D5 = /* @__PURE__ */ U({
26416
26414
  selectedLinePlacement: { default: "bottom" }
26417
26415
  },
26418
26416
  setup(e) {
26419
- const t = e, n = ht({
26417
+ const t = e, n = bt({
26420
26418
  "mx-tabs": !0
26421
26419
  });
26422
26420
  return Fn(() => {