@maxtropy/v-components 0.1.7-beta.0 → 0.1.7-beta.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.
@@ -2492,7 +2492,7 @@ var Du = { name: "popperOffsets", enabled: !0, phase: "read", fn: _h, data: {} }
2492
2492
  function $h(e) {
2493
2493
  return e === "x" ? "y" : "x";
2494
2494
  }
2495
- function e0(e) {
2495
+ function eb(e) {
2496
2496
  var t = e.state, n = e.options, o = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, i = n.altAxis, a = i === void 0 ? !1 : i, l = n.boundary, c = n.rootBoundary, p = n.altBoundary, f = n.padding, v = n.tether, A = v === void 0 ? !0 : v, g = n.tetherOffset, d = g === void 0 ? 0 : g, m = ko(t, { boundary: l, rootBoundary: c, padding: f, altBoundary: p }), h = Rt(t.placement), B = Yn(t.placement), L = !B, w = pi(h), E = $h(w), I = t.modifiersData.popperOffsets, C = t.rects.reference, O = t.rects.popper, j = typeof d == "function" ? d(Object.assign({}, t.rects, { placement: t.placement })) : d, x = typeof j == "number" ? { mainAxis: j, altAxis: j } : Object.assign({ mainAxis: 0, altAxis: 0 }, j), R = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, P = { x: 0, y: 0 };
2497
2497
  if (I) {
2498
2498
  if (s) {
@@ -2506,23 +2506,23 @@ function e0(e) {
2506
2506
  t.modifiersData[o] = P;
2507
2507
  }
2508
2508
  }
2509
- var t0 = { name: "preventOverflow", enabled: !0, phase: "main", fn: e0, requiresIfExists: ["offset"] };
2510
- function n0(e) {
2509
+ var tb = { name: "preventOverflow", enabled: !0, phase: "main", fn: eb, requiresIfExists: ["offset"] };
2510
+ function nb(e) {
2511
2511
  return { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop };
2512
2512
  }
2513
- function o0(e) {
2514
- return e === Ot(e) || !pt(e) ? gi(e) : n0(e);
2513
+ function ob(e) {
2514
+ return e === Ot(e) || !pt(e) ? gi(e) : nb(e);
2515
2515
  }
2516
- function r0(e) {
2516
+ function rb(e) {
2517
2517
  var t = e.getBoundingClientRect(), n = Wn(t.width) / e.offsetWidth || 1, o = Wn(t.height) / e.offsetHeight || 1;
2518
2518
  return n !== 1 || o !== 1;
2519
2519
  }
2520
- function s0(e, t, n) {
2520
+ function sb(e, t, n) {
2521
2521
  n === void 0 && (n = !1);
2522
- var o = pt(t), r = pt(t) && r0(t), s = mn(t), i = Gn(e, r), a = { scrollLeft: 0, scrollTop: 0 }, l = { x: 0, y: 0 };
2523
- return (o || !o && !n) && ((Pt(t) !== "body" || vi(s)) && (a = o0(t)), pt(t) ? (l = Gn(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : s && (l.x = Ai(s))), { x: i.left + a.scrollLeft - l.x, y: i.top + a.scrollTop - l.y, width: i.width, height: i.height };
2522
+ var o = pt(t), r = pt(t) && rb(t), s = mn(t), i = Gn(e, r), a = { scrollLeft: 0, scrollTop: 0 }, l = { x: 0, y: 0 };
2523
+ return (o || !o && !n) && ((Pt(t) !== "body" || vi(s)) && (a = ob(t)), pt(t) ? (l = Gn(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : s && (l.x = Ai(s))), { x: i.left + a.scrollLeft - l.x, y: i.top + a.scrollTop - l.y, width: i.width, height: i.height };
2524
2524
  }
2525
- function i0(e) {
2525
+ function ib(e) {
2526
2526
  var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), o = [];
2527
2527
  e.forEach(function(s) {
2528
2528
  t.set(s.name, s);
@@ -2541,15 +2541,15 @@ function i0(e) {
2541
2541
  n.has(s.name) || r(s);
2542
2542
  }), o;
2543
2543
  }
2544
- function a0(e) {
2545
- var t = i0(e);
2544
+ function ab(e) {
2545
+ var t = ib(e);
2546
2546
  return Eh.reduce(function(n, o) {
2547
2547
  return n.concat(t.filter(function(r) {
2548
2548
  return r.phase === o;
2549
2549
  }));
2550
2550
  }, []);
2551
2551
  }
2552
- function l0(e) {
2552
+ function lb(e) {
2553
2553
  var t;
2554
2554
  return function() {
2555
2555
  return t || (t = new Promise(function(n) {
@@ -2559,7 +2559,7 @@ function l0(e) {
2559
2559
  })), t;
2560
2560
  };
2561
2561
  }
2562
- function u0(e) {
2562
+ function ub(e) {
2563
2563
  var t = e.reduce(function(n, o) {
2564
2564
  var r = n[o.name];
2565
2565
  return n[o.name] = r ? Object.assign({}, r, o, { options: Object.assign({}, r.options, o.options), data: Object.assign({}, r.data, o.data) }) : o, n;
@@ -2584,7 +2584,7 @@ function mi(e) {
2584
2584
  var c = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, ja, s), modifiersData: {}, elements: { reference: i, popper: a }, attributes: {}, styles: {} }, p = [], f = !1, v = { state: c, setOptions: function(d) {
2585
2585
  var m = typeof d == "function" ? d(c.options) : d;
2586
2586
  g(), c.options = Object.assign({}, s, c.options, m), c.scrollParents = { reference: Zn(i) ? fo(i) : i.contextElement ? fo(i.contextElement) : [], popper: fo(a) };
2587
- var h = a0(u0([].concat(o, c.options.modifiers)));
2587
+ var h = ab(ub([].concat(o, c.options.modifiers)));
2588
2588
  return c.orderedModifiers = h.filter(function(B) {
2589
2589
  return B.enabled;
2590
2590
  }), A(), v.update();
@@ -2592,7 +2592,7 @@ function mi(e) {
2592
2592
  if (!f) {
2593
2593
  var d = c.elements, m = d.reference, h = d.popper;
2594
2594
  if (Za(m, h)) {
2595
- c.rects = { reference: s0(m, Lo(h), c.options.strategy === "fixed"), popper: fi(h) }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(O) {
2595
+ c.rects = { reference: sb(m, Lo(h), c.options.strategy === "fixed"), popper: fi(h) }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(O) {
2596
2596
  return c.modifiersData[O.name] = Object.assign({}, O.data);
2597
2597
  });
2598
2598
  for (var B = 0; B < c.orderedModifiers.length; B++) {
@@ -2605,7 +2605,7 @@ function mi(e) {
2605
2605
  }
2606
2606
  }
2607
2607
  }
2608
- }, update: l0(function() {
2608
+ }, update: lb(function() {
2609
2609
  return new Promise(function(d) {
2610
2610
  v.forceUpdate(), d(c);
2611
2611
  });
@@ -2636,16 +2636,16 @@ function mi(e) {
2636
2636
  };
2637
2637
  }
2638
2638
  mi();
2639
- var c0 = [ku, Du, Fu, Su];
2640
- mi({ defaultModifiers: c0 });
2641
- var d0 = [ku, Du, Fu, Su, qh, Wh, t0, Mh, Yh], f0 = mi({ defaultModifiers: d0 });
2642
- const p0 = (e, t, n = {}) => {
2639
+ var cb = [ku, Du, Fu, Su];
2640
+ mi({ defaultModifiers: cb });
2641
+ var db = [ku, Du, Fu, Su, qh, Wh, tb, Mh, Yh], fb = mi({ defaultModifiers: db });
2642
+ const pb = (e, t, n = {}) => {
2643
2643
  const o = {
2644
2644
  name: "updateState",
2645
2645
  enabled: !0,
2646
2646
  phase: "write",
2647
2647
  fn: ({ state: l }) => {
2648
- const c = g0(l);
2648
+ const c = gb(l);
2649
2649
  Object.assign(i.value, c);
2650
2650
  },
2651
2651
  requires: ["computeStyles"]
@@ -2682,7 +2682,7 @@ const p0 = (e, t, n = {}) => {
2682
2682
  }, {
2683
2683
  deep: !0
2684
2684
  }), J([e, t], ([l, c]) => {
2685
- a(), !(!l || !c) && (s.value = f0(l, c, u(r)));
2685
+ a(), !(!l || !c) && (s.value = fb(l, c, u(r)));
2686
2686
  }), Ye(() => {
2687
2687
  a();
2688
2688
  }), {
@@ -2703,14 +2703,14 @@ const p0 = (e, t, n = {}) => {
2703
2703
  instanceRef: b(() => u(s))
2704
2704
  };
2705
2705
  };
2706
- function g0(e) {
2706
+ function gb(e) {
2707
2707
  const t = Object.keys(e.elements), n = Ir(t.map((r) => [r, e.styles[r] || {}])), o = Ir(t.map((r) => [r, e.attributes[r]]));
2708
2708
  return {
2709
2709
  styles: n,
2710
2710
  attributes: o
2711
2711
  };
2712
2712
  }
2713
- const A0 = (e, t) => {
2713
+ const Ab = (e, t) => {
2714
2714
  let n;
2715
2715
  J(() => e.value, (o) => {
2716
2716
  var r, s;
@@ -2741,7 +2741,7 @@ function Wa() {
2741
2741
  const Ks = {
2742
2742
  prefix: Math.floor(Math.random() * 1e4),
2743
2743
  current: 0
2744
- }, v0 = Symbol("elIdInjection"), Pu = () => Re() ? $(v0, Ks) : Ks, qt = (e) => {
2744
+ }, vb = Symbol("elIdInjection"), Pu = () => Re() ? $(vb, Ks) : Ks, qt = (e) => {
2745
2745
  const t = Pu();
2746
2746
  !Ee && t === Ks && ke("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
2747
2747
  usage: app.provide(ID_INJECTION_KEY, {
@@ -2755,7 +2755,7 @@ let Un = [];
2755
2755
  const Ga = (e) => {
2756
2756
  const t = e;
2757
2757
  t.key === ie.esc && Un.forEach((n) => n(t));
2758
- }, m0 = (e) => {
2758
+ }, mb = (e) => {
2759
2759
  ye(() => {
2760
2760
  Un.length === 0 && document.addEventListener("keydown", Ga), Ee && Un.push(e);
2761
2761
  }), Ye(() => {
@@ -2769,18 +2769,18 @@ const xu = () => {
2769
2769
  id: n,
2770
2770
  selector: o
2771
2771
  };
2772
- }, h0 = (e) => {
2772
+ }, hb = (e) => {
2773
2773
  const t = document.createElement("div");
2774
2774
  return t.id = e, document.body.appendChild(t), t;
2775
- }, b0 = () => {
2775
+ }, bb = () => {
2776
2776
  const { id: e, selector: t } = xu();
2777
2777
  return ld(() => {
2778
- Ee && (process.env.NODE_ENV === "test" || !Ya && !document.body.querySelector(t.value)) && (Ya = h0(e.value));
2778
+ Ee && (process.env.NODE_ENV === "test" || !Ya && !document.body.querySelector(t.value)) && (Ya = hb(e.value));
2779
2779
  }), {
2780
2780
  id: e,
2781
2781
  selector: t
2782
2782
  };
2783
- }, y0 = le({
2783
+ }, yb = le({
2784
2784
  showAfter: {
2785
2785
  type: Number,
2786
2786
  default: 0
@@ -2793,7 +2793,7 @@ const xu = () => {
2793
2793
  type: Number,
2794
2794
  default: 0
2795
2795
  }
2796
- }), C0 = ({
2796
+ }), Cb = ({
2797
2797
  showAfter: e,
2798
2798
  hideAfter: t,
2799
2799
  autoClose: n,
@@ -2820,13 +2820,13 @@ const xu = () => {
2820
2820
  }, u(t));
2821
2821
  }
2822
2822
  };
2823
- }, Lu = Symbol("elForwardRef"), E0 = (e) => {
2823
+ }, Lu = Symbol("elForwardRef"), Eb = (e) => {
2824
2824
  Ie(Lu, {
2825
2825
  setForwardRef: (n) => {
2826
2826
  e.value = n;
2827
2827
  }
2828
2828
  });
2829
- }, I0 = (e) => ({
2829
+ }, Ib = (e) => ({
2830
2830
  mounted(t) {
2831
2831
  e(t);
2832
2832
  },
@@ -2847,7 +2847,7 @@ const xu = () => {
2847
2847
  nextZIndex: () => (Ja.value++, o.value)
2848
2848
  };
2849
2849
  };
2850
- function B0(e) {
2850
+ function Bb(e) {
2851
2851
  const t = S();
2852
2852
  function n() {
2853
2853
  if (e.value == null)
@@ -2887,7 +2887,7 @@ const Mn = Hr({
2887
2887
  type: String,
2888
2888
  values: ii,
2889
2889
  required: !1
2890
- }), Vu = Symbol("size"), w0 = () => {
2890
+ }), Vu = Symbol("size"), wb = () => {
2891
2891
  const e = $(Vu, {});
2892
2892
  return b(() => u(e.size) || "");
2893
2893
  }, Nu = Symbol(), Kr = S();
@@ -2928,18 +2928,18 @@ const Zu = (e, t, n = !1) => {
2928
2928
  }
2929
2929
  const a = b(() => {
2930
2930
  const l = u(e);
2931
- return s != null && s.value ? Q0(s.value, l) : l;
2931
+ return s != null && s.value ? Qb(s.value, l) : l;
2932
2932
  });
2933
2933
  return i(Nu, a), i(hu, b(() => a.value.locale)), i(Eu, b(() => a.value.namespace)), i(zu, b(() => a.value.zIndex)), i(Vu, {
2934
2934
  size: b(() => a.value.size || "")
2935
2935
  }), (n || !Kr.value) && (Kr.value = a.value), a;
2936
- }, Q0 = (e, t) => {
2936
+ }, Qb = (e, t) => {
2937
2937
  var n;
2938
2938
  const o = [.../* @__PURE__ */ new Set([...Ma(e), ...Ma(t)])], r = {};
2939
2939
  for (const s of o)
2940
2940
  r[s] = (n = t[s]) != null ? n : e[s];
2941
2941
  return r;
2942
- }, S0 = le({
2942
+ }, Sb = le({
2943
2943
  a11y: {
2944
2944
  type: Boolean,
2945
2945
  default: !0
@@ -2969,7 +2969,7 @@ const Zu = (e, t, n = !1) => {
2969
2969
  }), Ts = {};
2970
2970
  F({
2971
2971
  name: "ElConfigProvider",
2972
- props: S0,
2972
+ props: Sb,
2973
2973
  setup(e, { slots: t }) {
2974
2974
  J(() => e.message, (o) => {
2975
2975
  Object.assign(Ts, o ?? {});
@@ -2984,19 +2984,19 @@ var ne = (e, t) => {
2984
2984
  n[o] = r;
2985
2985
  return n;
2986
2986
  };
2987
- const K0 = le({
2987
+ const Kb = le({
2988
2988
  size: {
2989
2989
  type: q([Number, String])
2990
2990
  },
2991
2991
  color: {
2992
2992
  type: String
2993
2993
  }
2994
- }), T0 = F({
2994
+ }), Tb = F({
2995
2995
  name: "ElIcon",
2996
2996
  inheritAttrs: !1
2997
- }), O0 = /* @__PURE__ */ F({
2998
- ...T0,
2999
- props: K0,
2997
+ }), Ob = /* @__PURE__ */ F({
2998
+ ...Tb,
2999
+ props: Kb,
3000
3000
  setup(e) {
3001
3001
  const t = e, n = te("icon"), o = b(() => {
3002
3002
  const { size: r, color: s } = t;
@@ -3013,9 +3013,9 @@ const K0 = le({
3013
3013
  ], 16));
3014
3014
  }
3015
3015
  });
3016
- var M0 = /* @__PURE__ */ ne(O0, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);
3017
- const ve = Ve(M0), yi = Symbol("formContextKey"), Tr = Symbol("formItemContextKey"), _t = (e, t = {}) => {
3018
- const n = S(void 0), o = t.prop ? n : wu("size"), r = t.global ? n : w0(), s = t.form ? { size: void 0 } : $(yi, void 0), i = t.formItem ? { size: void 0 } : $(Tr, void 0);
3016
+ var Mb = /* @__PURE__ */ ne(Ob, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);
3017
+ const ve = Ve(Mb), yi = Symbol("formContextKey"), Tr = Symbol("formItemContextKey"), _t = (e, t = {}) => {
3018
+ const n = S(void 0), o = t.prop ? n : wu("size"), r = t.global ? n : wb(), s = t.form ? { size: void 0 } : $(yi, void 0), i = t.formItem ? { size: void 0 } : $(Tr, void 0);
3019
3019
  return b(() => o.value || u(e) || (i == null ? void 0 : i.size) || (s == null ? void 0 : s.size) || r.value || "");
3020
3020
  }, eo = (e) => {
3021
3021
  const t = wu("disabled"), n = $(yi, void 0);
@@ -3051,7 +3051,7 @@ const ve = Ve(M0), yi = Symbol("formContextKey"), Tr = Symbol("formItemContextKe
3051
3051
  };
3052
3052
  };
3053
3053
  let It;
3054
- const F0 = `
3054
+ const Fb = `
3055
3055
  height:0 !important;
3056
3056
  visibility:hidden !important;
3057
3057
  ${Dd() ? "" : "overflow:hidden !important;"}
@@ -3059,7 +3059,7 @@ const F0 = `
3059
3059
  z-index:-1000 !important;
3060
3060
  top:0 !important;
3061
3061
  right:0 !important;
3062
- `, k0 = [
3062
+ `, kb = [
3063
3063
  "letter-spacing",
3064
3064
  "line-height",
3065
3065
  "padding-top",
@@ -3076,15 +3076,15 @@ const F0 = `
3076
3076
  "border-width",
3077
3077
  "box-sizing"
3078
3078
  ];
3079
- function R0(e) {
3079
+ function Rb(e) {
3080
3080
  const t = window.getComputedStyle(e), n = t.getPropertyValue("box-sizing"), o = Number.parseFloat(t.getPropertyValue("padding-bottom")) + Number.parseFloat(t.getPropertyValue("padding-top")), r = Number.parseFloat(t.getPropertyValue("border-bottom-width")) + Number.parseFloat(t.getPropertyValue("border-top-width"));
3081
- return { contextStyle: k0.map((i) => `${i}:${t.getPropertyValue(i)}`).join(";"), paddingSize: o, borderSize: r, boxSizing: n };
3081
+ return { contextStyle: kb.map((i) => `${i}:${t.getPropertyValue(i)}`).join(";"), paddingSize: o, borderSize: r, boxSizing: n };
3082
3082
  }
3083
3083
  function Xa(e, t = 1, n) {
3084
3084
  var o;
3085
3085
  It || (It = document.createElement("textarea"), document.body.appendChild(It));
3086
- const { paddingSize: r, borderSize: s, boxSizing: i, contextStyle: a } = R0(e);
3087
- It.setAttribute("style", `${a};${F0}`), It.value = e.value || e.placeholder || "";
3086
+ const { paddingSize: r, borderSize: s, boxSizing: i, contextStyle: a } = Rb(e);
3087
+ It.setAttribute("style", `${a};${Fb}`), It.value = e.value || e.placeholder || "";
3088
3088
  let l = It.scrollHeight;
3089
3089
  const c = {};
3090
3090
  i === "border-box" ? l = l + s : i === "content-box" && (l = l - r), It.value = "";
@@ -3099,7 +3099,7 @@ function Xa(e, t = 1, n) {
3099
3099
  }
3100
3100
  return c.height = `${l}px`, (o = It.parentNode) == null || o.removeChild(It), It = void 0, c;
3101
3101
  }
3102
- const U0 = le({
3102
+ const Ub = le({
3103
3103
  id: {
3104
3104
  type: String,
3105
3105
  default: void 0
@@ -3184,7 +3184,7 @@ const U0 = le({
3184
3184
  type: q([Object, Array, String]),
3185
3185
  default: () => li({})
3186
3186
  }
3187
- }), D0 = {
3187
+ }), Db = {
3188
3188
  [Be]: (e) => me(e),
3189
3189
  input: (e) => me(e),
3190
3190
  change: (e) => me(e),
@@ -3197,13 +3197,13 @@ const U0 = le({
3197
3197
  compositionstart: (e) => e instanceof CompositionEvent,
3198
3198
  compositionupdate: (e) => e instanceof CompositionEvent,
3199
3199
  compositionend: (e) => e instanceof CompositionEvent
3200
- }, P0 = ["role"], x0 = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form"], L0 = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"], H0 = F({
3200
+ }, Pb = ["role"], xb = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form"], Lb = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"], Hb = F({
3201
3201
  name: "ElInput",
3202
3202
  inheritAttrs: !1
3203
- }), z0 = /* @__PURE__ */ F({
3204
- ...H0,
3205
- props: U0,
3206
- emits: D0,
3203
+ }), zb = /* @__PURE__ */ F({
3204
+ ...Hb,
3205
+ props: Ub,
3206
+ emits: Db,
3207
3207
  setup(e, { expose: t, emit: n }) {
3208
3208
  const o = e, r = cd(), s = Do(), i = b(() => {
3209
3209
  const V = {};
@@ -3239,7 +3239,7 @@ const U0 = le({
3239
3239
  o.inputStyle,
3240
3240
  O.value,
3241
3241
  { resize: o.resize }
3242
- ]), D = b(() => Qn(o.modelValue) ? "" : String(o.modelValue)), U = b(() => o.clearable && !g.value && !o.readonly && !!D.value && (L.value || w.value)), re = b(() => o.showPassword && !g.value && !o.readonly && !!D.value && (!!D.value || L.value)), ue = b(() => o.showWordLimit && !!c.value.maxlength && (o.type === "text" || o.type === "textarea") && !g.value && !o.readonly && !o.showPassword), oe = b(() => D.value.length), de = b(() => !!ue.value && oe.value > Number(c.value.maxlength)), pe = b(() => !!s.suffix || !!o.suffixIcon || U.value || o.showPassword || ue.value || !!R.value && x.value), [Ne, He] = B0(h);
3242
+ ]), D = b(() => Qn(o.modelValue) ? "" : String(o.modelValue)), U = b(() => o.clearable && !g.value && !o.readonly && !!D.value && (L.value || w.value)), re = b(() => o.showPassword && !g.value && !o.readonly && !!D.value && (!!D.value || L.value)), ue = b(() => o.showWordLimit && !!c.value.maxlength && (o.type === "text" || o.type === "textarea") && !g.value && !o.readonly && !o.showPassword), oe = b(() => D.value.length), de = b(() => !!ue.value && oe.value > Number(c.value.maxlength)), pe = b(() => !!s.suffix || !!o.suffixIcon || U.value || o.showPassword || ue.value || !!R.value && x.value), [Ne, He] = Bb(h);
3243
3243
  qn(B, (V) => {
3244
3244
  if (bt(), !ue.value || o.resize !== "both")
3245
3245
  return;
@@ -3403,7 +3403,7 @@ const U0 = le({
3403
3403
  onBlur: on,
3404
3404
  onChange: tn,
3405
3405
  onKeydown: Ct
3406
- }), null, 16, x0),
3406
+ }), null, 16, xb),
3407
3407
  Z(" suffix slot "),
3408
3408
  u(pe) ? (y(), M("span", {
3409
3409
  key: 1,
@@ -3501,20 +3501,20 @@ const U0 = le({
3501
3501
  onBlur: on,
3502
3502
  onChange: tn,
3503
3503
  onKeydown: Ct
3504
- }), null, 16, L0),
3504
+ }), null, 16, Lb),
3505
3505
  u(ue) ? (y(), M("span", {
3506
3506
  key: 0,
3507
3507
  style: Ce(C.value),
3508
3508
  class: Q(u(d).e("count"))
3509
3509
  }, ee(u(oe)) + " / " + ee(u(c).maxlength), 7)) : Z("v-if", !0)
3510
3510
  ], 64))
3511
- ], 16, P0)), [
3511
+ ], 16, Pb)), [
3512
3512
  [qe, V.type !== "hidden"]
3513
3513
  ]);
3514
3514
  }
3515
3515
  });
3516
- var V0 = /* @__PURE__ */ ne(z0, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);
3517
- const Ci = Ve(V0), Pn = 4, N0 = {
3516
+ var Vb = /* @__PURE__ */ ne(zb, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);
3517
+ const Ci = Ve(Vb), Pn = 4, Nb = {
3518
3518
  vertical: {
3519
3519
  offset: "offsetHeight",
3520
3520
  scroll: "scrollTop",
@@ -3535,14 +3535,14 @@ const Ci = Ve(V0), Pn = 4, N0 = {
3535
3535
  client: "clientX",
3536
3536
  direction: "left"
3537
3537
  }
3538
- }, j0 = ({
3538
+ }, jb = ({
3539
3539
  move: e,
3540
3540
  size: t,
3541
3541
  bar: n
3542
3542
  }) => ({
3543
3543
  [n.size]: t,
3544
3544
  transform: `translate${n.axis}(${e}%)`
3545
- }), Wu = Symbol("scrollbarContextKey"), Z0 = le({
3545
+ }), Wu = Symbol("scrollbarContextKey"), Zb = le({
3546
3546
  vertical: Boolean,
3547
3547
  size: String,
3548
3548
  move: Number,
@@ -3551,15 +3551,15 @@ const Ci = Ve(V0), Pn = 4, N0 = {
3551
3551
  required: !0
3552
3552
  },
3553
3553
  always: Boolean
3554
- }), W0 = "Thumb", G0 = /* @__PURE__ */ F({
3554
+ }), Wb = "Thumb", Gb = /* @__PURE__ */ F({
3555
3555
  __name: "thumb",
3556
- props: Z0,
3556
+ props: Zb,
3557
3557
  setup(e) {
3558
3558
  const t = e, n = $(Wu), o = te("scrollbar");
3559
- n || Sn(W0, "can not inject scrollbar context");
3559
+ n || Sn(Wb, "can not inject scrollbar context");
3560
3560
  const r = S(), s = S(), i = S({}), a = S(!1);
3561
3561
  let l = !1, c = !1, p = Ee ? document.onselectstart : null;
3562
- const f = b(() => N0[t.vertical ? "vertical" : "horizontal"]), v = b(() => j0({
3562
+ const f = b(() => Nb[t.vertical ? "vertical" : "horizontal"]), v = b(() => jb({
3563
3563
  size: t.size,
3564
3564
  move: t.move,
3565
3565
  bar: f.value
@@ -3624,8 +3624,8 @@ const Ci = Ve(V0), Pn = 4, N0 = {
3624
3624
  }, 8, ["name"]));
3625
3625
  }
3626
3626
  });
3627
- var qa = /* @__PURE__ */ ne(G0, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);
3628
- const Y0 = le({
3627
+ var qa = /* @__PURE__ */ ne(Gb, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);
3628
+ const Yb = le({
3629
3629
  always: {
3630
3630
  type: Boolean,
3631
3631
  default: !0
@@ -3640,9 +3640,9 @@ const Y0 = le({
3640
3640
  type: Number,
3641
3641
  default: 1
3642
3642
  }
3643
- }), J0 = /* @__PURE__ */ F({
3643
+ }), Jb = /* @__PURE__ */ F({
3644
3644
  __name: "bar",
3645
- props: Y0,
3645
+ props: Yb,
3646
3646
  setup(e, { expose: t }) {
3647
3647
  const n = e, o = S(0), r = S(0);
3648
3648
  return t({
@@ -3669,8 +3669,8 @@ const Y0 = le({
3669
3669
  ], 64));
3670
3670
  }
3671
3671
  });
3672
- var X0 = /* @__PURE__ */ ne(J0, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);
3673
- const q0 = le({
3672
+ var Xb = /* @__PURE__ */ ne(Jb, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);
3673
+ const qb = le({
3674
3674
  height: {
3675
3675
  type: [String, Number],
3676
3676
  default: ""
@@ -3709,17 +3709,17 @@ const q0 = le({
3709
3709
  type: Number,
3710
3710
  default: 20
3711
3711
  }
3712
- }), _0 = {
3712
+ }), _b = {
3713
3713
  scroll: ({
3714
3714
  scrollTop: e,
3715
3715
  scrollLeft: t
3716
3716
  }) => [e, t].every(Ke)
3717
- }, Os = "ElScrollbar", $0 = F({
3717
+ }, Os = "ElScrollbar", $b = F({
3718
3718
  name: Os
3719
- }), eb = /* @__PURE__ */ F({
3720
- ...$0,
3721
- props: q0,
3722
- emits: _0,
3719
+ }), e0 = /* @__PURE__ */ F({
3720
+ ...$b,
3721
+ props: qb,
3722
+ emits: _b,
3723
3723
  setup(e, { expose: t, emit: n }) {
3724
3724
  const o = e, r = te("scrollbar");
3725
3725
  let s, i;
@@ -3803,7 +3803,7 @@ const q0 = le({
3803
3803
  _: 3
3804
3804
  }, 8, ["class", "style"]))
3805
3805
  ], 38),
3806
- C.native ? Z("v-if", !0) : (y(), z(X0, {
3806
+ C.native ? Z("v-if", !0) : (y(), z(Xb, {
3807
3807
  key: 0,
3808
3808
  ref_key: "barRef",
3809
3809
  ref: v,
@@ -3816,8 +3816,8 @@ const q0 = le({
3816
3816
  ], 2));
3817
3817
  }
3818
3818
  });
3819
- var tb = /* @__PURE__ */ ne(eb, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);
3820
- const Zr = Ve(tb), Ei = Symbol("popper"), Gu = Symbol("popperContent"), nb = [
3819
+ var t0 = /* @__PURE__ */ ne(e0, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);
3820
+ const Zr = Ve(t0), Ei = Symbol("popper"), Gu = Symbol("popperContent"), n0 = [
3821
3821
  "dialog",
3822
3822
  "grid",
3823
3823
  "group",
@@ -3829,14 +3829,14 @@ const Zr = Ve(tb), Ei = Symbol("popper"), Gu = Symbol("popperContent"), nb = [
3829
3829
  ], Yu = le({
3830
3830
  role: {
3831
3831
  type: String,
3832
- values: nb,
3832
+ values: n0,
3833
3833
  default: "tooltip"
3834
3834
  }
3835
- }), ob = F({
3835
+ }), o0 = F({
3836
3836
  name: "ElPopper",
3837
3837
  inheritAttrs: !1
3838
- }), rb = /* @__PURE__ */ F({
3839
- ...ob,
3838
+ }), r0 = /* @__PURE__ */ F({
3839
+ ...o0,
3840
3840
  props: Yu,
3841
3841
  setup(e, { expose: t }) {
3842
3842
  const n = e, o = S(), r = S(), s = S(), i = S(), a = b(() => n.role), l = {
@@ -3849,17 +3849,17 @@ const Zr = Ve(tb), Ei = Symbol("popper"), Gu = Symbol("popperContent"), nb = [
3849
3849
  return t(l), Ie(Ei, l), (c, p) => N(c.$slots, "default");
3850
3850
  }
3851
3851
  });
3852
- var sb = /* @__PURE__ */ ne(rb, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);
3852
+ var s0 = /* @__PURE__ */ ne(r0, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);
3853
3853
  const Ju = le({
3854
3854
  arrowOffset: {
3855
3855
  type: Number,
3856
3856
  default: 5
3857
3857
  }
3858
- }), ib = F({
3858
+ }), i0 = F({
3859
3859
  name: "ElPopperArrow",
3860
3860
  inheritAttrs: !1
3861
- }), ab = /* @__PURE__ */ F({
3862
- ...ib,
3861
+ }), a0 = /* @__PURE__ */ F({
3862
+ ...i0,
3863
3863
  props: Ju,
3864
3864
  setup(e, { expose: t }) {
3865
3865
  const n = e, o = te("popper"), { arrowOffset: r, arrowRef: s, arrowStyle: i } = $(Gu, void 0);
@@ -3878,7 +3878,7 @@ const Ju = le({
3878
3878
  }, null, 6));
3879
3879
  }
3880
3880
  });
3881
- var lb = /* @__PURE__ */ ne(ab, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);
3881
+ var l0 = /* @__PURE__ */ ne(a0, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);
3882
3882
  const ls = "ElOnlyChild", Xu = F({
3883
3883
  name: ls,
3884
3884
  setup(e, {
@@ -3886,7 +3886,7 @@ const ls = "ElOnlyChild", Xu = F({
3886
3886
  attrs: n
3887
3887
  }) {
3888
3888
  var o;
3889
- const r = $(Lu), s = I0((o = r == null ? void 0 : r.setForwardRef) != null ? o : Zt);
3889
+ const r = $(Lu), s = Ib((o = r == null ? void 0 : r.setForwardRef) != null ? o : Zt);
3890
3890
  return () => {
3891
3891
  var i;
3892
3892
  const a = (i = t.default) == null ? void 0 : i.call(t, n);
@@ -3954,15 +3954,15 @@ const _u = le({
3954
3954
  },
3955
3955
  id: String,
3956
3956
  open: Boolean
3957
- }), ub = F({
3957
+ }), u0 = F({
3958
3958
  name: "ElPopperTrigger",
3959
3959
  inheritAttrs: !1
3960
- }), cb = /* @__PURE__ */ F({
3961
- ...ub,
3960
+ }), c0 = /* @__PURE__ */ F({
3961
+ ...u0,
3962
3962
  props: _u,
3963
3963
  setup(e, { expose: t }) {
3964
3964
  const n = e, { role: o, triggerRef: r } = $(Ei, void 0);
3965
- E0(r);
3965
+ Eb(r);
3966
3966
  const s = b(() => a.value ? n.id : void 0), i = b(() => {
3967
3967
  if (o && o.value === "tooltip")
3968
3968
  return n.open && n.id ? n.id : void 0;
@@ -4024,11 +4024,11 @@ const _u = le({
4024
4024
  }, 16, ["aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup"]));
4025
4025
  }
4026
4026
  });
4027
- var db = /* @__PURE__ */ ne(cb, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);
4028
- const us = "focus-trap.focus-after-trapped", cs = "focus-trap.focus-after-released", fb = "focus-trap.focusout-prevented", $a = {
4027
+ var d0 = /* @__PURE__ */ ne(c0, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);
4028
+ const us = "focus-trap.focus-after-trapped", cs = "focus-trap.focus-after-released", f0 = "focus-trap.focusout-prevented", $a = {
4029
4029
  cancelable: !0,
4030
4030
  bubbles: !1
4031
- }, pb = {
4031
+ }, p0 = {
4032
4032
  cancelable: !0,
4033
4033
  bubbles: !1
4034
4034
  }, el = "focusAfterTrapped", tl = "focusAfterReleased", Ii = Symbol("elFocusTrap"), Bi = S(), Wr = S(0), wi = S(0);
@@ -4045,9 +4045,9 @@ const $u = (e) => {
4045
4045
  return t;
4046
4046
  }, nl = (e, t) => {
4047
4047
  for (const n of e)
4048
- if (!gb(n, t))
4048
+ if (!g0(n, t))
4049
4049
  return n;
4050
- }, gb = (e, t) => {
4050
+ }, g0 = (e, t) => {
4051
4051
  if (process.env.NODE_ENV === "test")
4052
4052
  return !1;
4053
4053
  if (getComputedStyle(e).visibility === "hidden")
@@ -4060,20 +4060,20 @@ const $u = (e) => {
4060
4060
  e = e.parentElement;
4061
4061
  }
4062
4062
  return !1;
4063
- }, Ab = (e) => {
4063
+ }, A0 = (e) => {
4064
4064
  const t = $u(e), n = nl(t, e), o = nl(t.reverse(), e);
4065
4065
  return [n, o];
4066
- }, vb = (e) => e instanceof HTMLInputElement && "select" in e, an = (e, t) => {
4066
+ }, v0 = (e) => e instanceof HTMLInputElement && "select" in e, an = (e, t) => {
4067
4067
  if (e && e.focus) {
4068
4068
  const n = document.activeElement;
4069
- e.focus({ preventScroll: !0 }), wi.value = window.performance.now(), e !== n && vb(e) && t && e.select();
4069
+ e.focus({ preventScroll: !0 }), wi.value = window.performance.now(), e !== n && v0(e) && t && e.select();
4070
4070
  }
4071
4071
  };
4072
4072
  function ol(e, t) {
4073
4073
  const n = [...e], o = e.indexOf(t);
4074
4074
  return o !== -1 && n.splice(o, 1), n;
4075
4075
  }
4076
- const mb = () => {
4076
+ const m0 = () => {
4077
4077
  let e = [];
4078
4078
  return {
4079
4079
  push: (o) => {
@@ -4085,16 +4085,16 @@ const mb = () => {
4085
4085
  e = ol(e, o), (s = (r = e[0]) == null ? void 0 : r.resume) == null || s.call(r);
4086
4086
  }
4087
4087
  };
4088
- }, hb = (e, t = !1) => {
4088
+ }, h0 = (e, t = !1) => {
4089
4089
  const n = document.activeElement;
4090
4090
  for (const o of e)
4091
4091
  if (an(o, t), document.activeElement !== n)
4092
4092
  return;
4093
- }, rl = mb(), bb = () => Wr.value > wi.value, _o = () => {
4093
+ }, rl = m0(), b0 = () => Wr.value > wi.value, _o = () => {
4094
4094
  Bi.value = "pointer", Wr.value = window.performance.now();
4095
4095
  }, sl = () => {
4096
4096
  Bi.value = "keyboard", Wr.value = window.performance.now();
4097
- }, yb = () => (ye(() => {
4097
+ }, y0 = () => (ye(() => {
4098
4098
  qo === 0 && (document.addEventListener("mousedown", _o), document.addEventListener("touchstart", _o), document.addEventListener("keydown", sl)), qo++;
4099
4099
  }), Ye(() => {
4100
4100
  qo--, qo <= 0 && (document.removeEventListener("mousedown", _o), document.removeEventListener("touchstart", _o), document.removeEventListener("keydown", sl));
@@ -4102,10 +4102,10 @@ const mb = () => {
4102
4102
  focusReason: Bi,
4103
4103
  lastUserFocusTimestamp: Wr,
4104
4104
  lastAutomatedFocusTimestamp: wi
4105
- }), $o = (e) => new CustomEvent(fb, {
4106
- ...pb,
4105
+ }), $o = (e) => new CustomEvent(f0, {
4106
+ ...p0,
4107
4107
  detail: e
4108
- }), Cb = F({
4108
+ }), C0 = F({
4109
4109
  name: "ElFocusTrap",
4110
4110
  inheritAttrs: !1,
4111
4111
  props: {
@@ -4128,8 +4128,8 @@ const mb = () => {
4128
4128
  setup(e, { emit: t }) {
4129
4129
  const n = S();
4130
4130
  let o, r;
4131
- const { focusReason: s } = yb();
4132
- m0((g) => {
4131
+ const { focusReason: s } = y0();
4132
+ mb((g) => {
4133
4133
  e.trapped && !i.paused && t("release-requested", g);
4134
4134
  });
4135
4135
  const i = {
@@ -4145,7 +4145,7 @@ const mb = () => {
4145
4145
  return;
4146
4146
  const { key: d, altKey: m, ctrlKey: h, metaKey: B, currentTarget: L, shiftKey: w } = g, { loop: E } = e, I = d === ie.tab && !m && !h && !B, C = document.activeElement;
4147
4147
  if (I && C) {
4148
- const O = L, [j, x] = Ab(O);
4148
+ const O = L, [j, x] = A0(O);
4149
4149
  if (j && x) {
4150
4150
  if (!w && C === x) {
4151
4151
  const P = $o({
@@ -4210,7 +4210,7 @@ const mb = () => {
4210
4210
  const h = new Event(us, $a);
4211
4211
  g.addEventListener(us, l), g.dispatchEvent(h), h.defaultPrevented || ae(() => {
4212
4212
  let B = e.focusStartEl;
4213
- me(B) || (an(B), document.activeElement !== B && (B = "first")), B === "first" && hb($u(g), !0), (document.activeElement === d || B === "container") && an(g);
4213
+ me(B) || (an(B), document.activeElement !== B && (B = "first")), B === "first" && h0($u(g), !0), (document.activeElement === d || B === "container") && an(g);
4214
4214
  });
4215
4215
  }
4216
4216
  }
@@ -4225,7 +4225,7 @@ const mb = () => {
4225
4225
  focusReason: s.value
4226
4226
  }
4227
4227
  });
4228
- g.addEventListener(cs, c), g.dispatchEvent(d), !d.defaultPrevented && (s.value == "keyboard" || !bb() || g.contains(document.activeElement)) && an(o ?? document.body), g.removeEventListener(cs, l), rl.remove(i);
4228
+ g.addEventListener(cs, c), g.dispatchEvent(d), !d.defaultPrevented && (s.value == "keyboard" || !b0() || g.contains(document.activeElement)) && an(o ?? document.body), g.removeEventListener(cs, l), rl.remove(i);
4229
4229
  }
4230
4230
  }
4231
4231
  return ye(() => {
@@ -4239,11 +4239,11 @@ const mb = () => {
4239
4239
  };
4240
4240
  }
4241
4241
  });
4242
- function Eb(e, t, n, o, r, s) {
4242
+ function E0(e, t, n, o, r, s) {
4243
4243
  return N(e.$slots, "default", { handleKeydown: e.onKeydown });
4244
4244
  }
4245
- var Qi = /* @__PURE__ */ ne(Cb, [["render", Eb], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);
4246
- const Ib = ["fixed", "absolute"], Bb = le({
4245
+ var Qi = /* @__PURE__ */ ne(C0, [["render", E0], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);
4246
+ const I0 = ["fixed", "absolute"], B0 = le({
4247
4247
  boundariesPadding: {
4248
4248
  type: Number,
4249
4249
  default: 0
@@ -4271,11 +4271,11 @@ const Ib = ["fixed", "absolute"], Bb = le({
4271
4271
  },
4272
4272
  strategy: {
4273
4273
  type: String,
4274
- values: Ib,
4274
+ values: I0,
4275
4275
  default: "absolute"
4276
4276
  }
4277
4277
  }), ec = le({
4278
- ...Bb,
4278
+ ...B0,
4279
4279
  id: String,
4280
4280
  style: {
4281
4281
  type: q([String, Array, Object])
@@ -4323,25 +4323,25 @@ const Ib = ["fixed", "absolute"], Bb = le({
4323
4323
  },
4324
4324
  virtualTriggering: Boolean,
4325
4325
  zIndex: Number
4326
- }), wb = {
4326
+ }), w0 = {
4327
4327
  mouseenter: (e) => e instanceof MouseEvent,
4328
4328
  mouseleave: (e) => e instanceof MouseEvent,
4329
4329
  focus: () => !0,
4330
4330
  blur: () => !0,
4331
4331
  close: () => !0
4332
- }, Qb = (e, t = []) => {
4332
+ }, Q0 = (e, t = []) => {
4333
4333
  const { placement: n, strategy: o, popperOptions: r } = e, s = {
4334
4334
  placement: n,
4335
4335
  strategy: o,
4336
4336
  ...r,
4337
- modifiers: [...Kb(e), ...t]
4337
+ modifiers: [...K0(e), ...t]
4338
4338
  };
4339
- return Tb(s, r == null ? void 0 : r.modifiers), s;
4340
- }, Sb = (e) => {
4339
+ return T0(s, r == null ? void 0 : r.modifiers), s;
4340
+ }, S0 = (e) => {
4341
4341
  if (Ee)
4342
4342
  return cn(e);
4343
4343
  };
4344
- function Kb(e) {
4344
+ function K0(e) {
4345
4345
  const { offset: t, gpuAcceleration: n, fallbackPlacements: o } = e;
4346
4346
  return [
4347
4347
  {
@@ -4376,16 +4376,16 @@ function Kb(e) {
4376
4376
  }
4377
4377
  ];
4378
4378
  }
4379
- function Tb(e, t) {
4379
+ function T0(e, t) {
4380
4380
  t && (e.modifiers = [...e.modifiers, ...t ?? []]);
4381
4381
  }
4382
- const Ob = 0, Mb = (e) => {
4382
+ const O0 = 0, M0 = (e) => {
4383
4383
  const { popperInstanceRef: t, contentRef: n, triggerRef: o, role: r } = $(Ei, void 0), s = S(), i = S(), a = b(() => ({
4384
4384
  name: "eventListeners",
4385
4385
  enabled: !!e.visible
4386
4386
  })), l = b(() => {
4387
4387
  var h;
4388
- const B = u(s), L = (h = u(i)) != null ? h : Ob;
4388
+ const B = u(s), L = (h = u(i)) != null ? h : O0;
4389
4389
  return {
4390
4390
  name: "arrow",
4391
4391
  enabled: !lm(B),
@@ -4398,11 +4398,11 @@ const Ob = 0, Mb = (e) => {
4398
4398
  onFirstUpdate: () => {
4399
4399
  g();
4400
4400
  },
4401
- ...Qb(e, [
4401
+ ...Q0(e, [
4402
4402
  u(l),
4403
4403
  u(a)
4404
4404
  ])
4405
- })), p = b(() => Sb(e.referenceEl) || u(o)), { attributes: f, state: v, styles: A, update: g, forceUpdate: d, instanceRef: m } = p0(p, n, c);
4405
+ })), p = b(() => S0(e.referenceEl) || u(o)), { attributes: f, state: v, styles: A, update: g, forceUpdate: d, instanceRef: m } = pb(p, n, c);
4406
4406
  return J(m, (h) => t.value = h), ye(() => {
4407
4407
  J(() => {
4408
4408
  var h;
@@ -4421,7 +4421,7 @@ const Ob = 0, Mb = (e) => {
4421
4421
  forceUpdate: d,
4422
4422
  update: g
4423
4423
  };
4424
- }, Fb = (e, {
4424
+ }, F0 = (e, {
4425
4425
  attributes: t,
4426
4426
  styles: n,
4427
4427
  role: o
@@ -4447,7 +4447,7 @@ const Ob = 0, Mb = (e) => {
4447
4447
  a.value = e.zIndex || r();
4448
4448
  }
4449
4449
  };
4450
- }, kb = (e, t) => {
4450
+ }, k0 = (e, t) => {
4451
4451
  const n = S(!1), o = S();
4452
4452
  return {
4453
4453
  focusStartRef: o,
@@ -4469,12 +4469,12 @@ const Ob = 0, Mb = (e) => {
4469
4469
  n.value = !1, t("close");
4470
4470
  }
4471
4471
  };
4472
- }, Rb = F({
4472
+ }, R0 = F({
4473
4473
  name: "ElPopperContent"
4474
- }), Ub = /* @__PURE__ */ F({
4475
- ...Rb,
4474
+ }), U0 = /* @__PURE__ */ F({
4475
+ ...R0,
4476
4476
  props: ec,
4477
- emits: wb,
4477
+ emits: w0,
4478
4478
  setup(e, { expose: t, emit: n }) {
4479
4479
  const o = e, {
4480
4480
  focusStartRef: r,
@@ -4484,14 +4484,14 @@ const Ob = 0, Mb = (e) => {
4484
4484
  onFocusInTrap: l,
4485
4485
  onFocusoutPrevented: c,
4486
4486
  onReleaseRequested: p
4487
- } = kb(o, n), { attributes: f, arrowRef: v, contentRef: A, styles: g, instanceRef: d, role: m, update: h } = Mb(o), {
4487
+ } = k0(o, n), { attributes: f, arrowRef: v, contentRef: A, styles: g, instanceRef: d, role: m, update: h } = M0(o), {
4488
4488
  ariaModal: B,
4489
4489
  arrowStyle: L,
4490
4490
  contentAttrs: w,
4491
4491
  contentClass: E,
4492
4492
  contentStyle: I,
4493
4493
  updateZIndex: C
4494
- } = Fb(o, {
4494
+ } = F0(o, {
4495
4495
  styles: g,
4496
4496
  attributes: f,
4497
4497
  role: m
@@ -4559,9 +4559,9 @@ const Ob = 0, Mb = (e) => {
4559
4559
  ], 16));
4560
4560
  }
4561
4561
  });
4562
- var Db = /* @__PURE__ */ ne(Ub, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);
4563
- const Pb = Ve(sb), Si = Symbol("elTooltip"), st = le({
4564
- ...y0,
4562
+ var D0 = /* @__PURE__ */ ne(U0, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);
4563
+ const P0 = Ve(s0), Si = Symbol("elTooltip"), st = le({
4564
+ ...yb,
4565
4565
  ...ec,
4566
4566
  appendTo: {
4567
4567
  type: q([String, Object])
@@ -4598,12 +4598,12 @@ const Pb = Ve(sb), Si = Symbol("elTooltip"), st = le({
4598
4598
  default: () => [ie.enter, ie.space]
4599
4599
  }
4600
4600
  }), {
4601
- useModelToggleProps: xb,
4602
- useModelToggleEmits: Lb,
4603
- useModelToggle: Hb
4604
- } = Bu("visible"), zb = le({
4601
+ useModelToggleProps: x0,
4602
+ useModelToggleEmits: L0,
4603
+ useModelToggle: H0
4604
+ } = Bu("visible"), z0 = le({
4605
4605
  ...Yu,
4606
- ...xb,
4606
+ ...x0,
4607
4607
  ...st,
4608
4608
  ...Ro,
4609
4609
  ...Ju,
@@ -4611,20 +4611,20 @@ const Pb = Ve(sb), Si = Symbol("elTooltip"), st = le({
4611
4611
  type: Boolean,
4612
4612
  default: !0
4613
4613
  }
4614
- }), Vb = [
4615
- ...Lb,
4614
+ }), V0 = [
4615
+ ...L0,
4616
4616
  "before-show",
4617
4617
  "before-hide",
4618
4618
  "show",
4619
4619
  "hide",
4620
4620
  "open",
4621
4621
  "close"
4622
- ], Nb = (e, t) => Qt(e) ? e.includes(t) : e === t, Rn = (e, t, n) => (o) => {
4623
- Nb(u(e), t) && n(o);
4624
- }, jb = F({
4622
+ ], N0 = (e, t) => Qt(e) ? e.includes(t) : e === t, Rn = (e, t, n) => (o) => {
4623
+ N0(u(e), t) && n(o);
4624
+ }, j0 = F({
4625
4625
  name: "ElTooltipTrigger"
4626
- }), Zb = /* @__PURE__ */ F({
4627
- ...jb,
4626
+ }), Z0 = /* @__PURE__ */ F({
4627
+ ...j0,
4628
4628
  props: Ro,
4629
4629
  setup(e, { expose: t }) {
4630
4630
  const n = e, o = te("tooltip"), { controlled: r, id: s, open: i, onOpen: a, onClose: l, onToggle: c } = $(Si, void 0), p = S(null), f = () => {
@@ -4640,7 +4640,7 @@ const Pb = Ve(sb), Si = Symbol("elTooltip"), st = le({
4640
4640
  });
4641
4641
  return t({
4642
4642
  triggerRef: p
4643
- }), (w, E) => (y(), z(u(db), {
4643
+ }), (w, E) => (y(), z(u(d0), {
4644
4644
  id: u(s),
4645
4645
  "virtual-ref": w.virtualRef,
4646
4646
  open: u(i),
@@ -4661,12 +4661,12 @@ const Pb = Ve(sb), Si = Symbol("elTooltip"), st = le({
4661
4661
  }, 8, ["id", "virtual-ref", "open", "virtual-triggering", "class", "onBlur", "onClick", "onContextmenu", "onFocus", "onMouseenter", "onMouseleave", "onKeydown"]));
4662
4662
  }
4663
4663
  });
4664
- var Wb = /* @__PURE__ */ ne(Zb, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);
4665
- const Gb = F({
4664
+ var W0 = /* @__PURE__ */ ne(Z0, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);
4665
+ const G0 = F({
4666
4666
  name: "ElTooltipContent",
4667
4667
  inheritAttrs: !1
4668
- }), Yb = /* @__PURE__ */ F({
4669
- ...Gb,
4668
+ }), Y0 = /* @__PURE__ */ F({
4669
+ ...G0,
4670
4670
  props: st,
4671
4671
  setup(e, { expose: t }) {
4672
4672
  const n = e, { selector: o } = xu(), r = te("tooltip"), s = S(null), i = S(!1), {
@@ -4735,7 +4735,7 @@ const Gb = F({
4735
4735
  onBeforeLeave: W
4736
4736
  }, {
4737
4737
  default: T(() => [
4738
- u(L) ? Qe((y(), z(u(Db), ge({
4738
+ u(L) ? Qe((y(), z(u(D0), ge({
4739
4739
  key: 0,
4740
4740
  id: u(l),
4741
4741
  ref_key: "contentRef",
@@ -4777,24 +4777,24 @@ const Gb = F({
4777
4777
  ], 8, ["disabled", "to"]));
4778
4778
  }
4779
4779
  });
4780
- var Jb = /* @__PURE__ */ ne(Yb, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);
4781
- const Xb = ["innerHTML"], qb = { key: 1 }, _b = F({
4780
+ var J0 = /* @__PURE__ */ ne(Y0, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);
4781
+ const X0 = ["innerHTML"], q0 = { key: 1 }, _0 = F({
4782
4782
  name: "ElTooltip"
4783
- }), $b = /* @__PURE__ */ F({
4784
- ..._b,
4785
- props: zb,
4786
- emits: Vb,
4783
+ }), $0 = /* @__PURE__ */ F({
4784
+ ..._0,
4785
+ props: z0,
4786
+ emits: V0,
4787
4787
  setup(e, { expose: t, emit: n }) {
4788
4788
  const o = e;
4789
- b0();
4789
+ bb();
4790
4790
  const r = qt(), s = S(), i = S(), a = () => {
4791
4791
  var h;
4792
4792
  const B = u(s);
4793
4793
  B && ((h = B.popperInstanceRef) == null || h.update());
4794
- }, l = S(!1), c = S(), { show: p, hide: f, hasUpdateHandler: v } = Hb({
4794
+ }, l = S(!1), c = S(), { show: p, hide: f, hasUpdateHandler: v } = H0({
4795
4795
  indicator: l,
4796
4796
  toggleReason: c
4797
- }), { onOpen: A, onClose: g } = C0({
4797
+ }), { onOpen: A, onClose: g } = Cb({
4798
4798
  showAfter: Le(o, "showAfter"),
4799
4799
  hideAfter: Le(o, "hideAfter"),
4800
4800
  autoClose: Le(o, "autoClose"),
@@ -4844,13 +4844,13 @@ const Xb = ["innerHTML"], qb = { key: 1 }, _b = F({
4844
4844
  onOpen: A,
4845
4845
  onClose: g,
4846
4846
  hide: f
4847
- }), (h, B) => (y(), z(u(Pb), {
4847
+ }), (h, B) => (y(), z(u(P0), {
4848
4848
  ref_key: "popperRef",
4849
4849
  ref: s,
4850
4850
  role: h.role
4851
4851
  }, {
4852
4852
  default: T(() => [
4853
- Y(Wb, {
4853
+ Y(W0, {
4854
4854
  disabled: h.disabled,
4855
4855
  trigger: h.trigger,
4856
4856
  "trigger-keys": h.triggerKeys,
@@ -4862,7 +4862,7 @@ const Xb = ["innerHTML"], qb = { key: 1 }, _b = F({
4862
4862
  ]),
4863
4863
  _: 3
4864
4864
  }, 8, ["disabled", "trigger", "trigger-keys", "virtual-ref", "virtual-triggering"]),
4865
- Y(Jb, {
4865
+ Y(J0, {
4866
4866
  ref_key: "contentRef",
4867
4867
  ref: i,
4868
4868
  "aria-label": h.ariaLabel,
@@ -4897,9 +4897,9 @@ const Xb = ["innerHTML"], qb = { key: 1 }, _b = F({
4897
4897
  h.rawContent ? (y(), M("span", {
4898
4898
  key: 0,
4899
4899
  innerHTML: h.content
4900
- }, null, 8, Xb)) : (y(), M("span", qb, ee(h.content), 1))
4900
+ }, null, 8, X0)) : (y(), M("span", q0, ee(h.content), 1))
4901
4901
  ]),
4902
- h.showArrow ? (y(), z(u(lb), {
4902
+ h.showArrow ? (y(), z(u(l0), {
4903
4903
  key: 0,
4904
4904
  "arrow-offset": h.arrowOffset
4905
4905
  }, null, 8, ["arrow-offset"])) : Z("v-if", !0)
@@ -4911,7 +4911,7 @@ const Xb = ["innerHTML"], qb = { key: 1 }, _b = F({
4911
4911
  }, 8, ["role"]));
4912
4912
  }
4913
4913
  });
4914
- var ey = /* @__PURE__ */ ne($b, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);
4914
+ var ey = /* @__PURE__ */ ne($0, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);
4915
4915
  const zo = Ve(ey), ty = le({
4916
4916
  value: {
4917
4917
  type: [String, Number],
@@ -10581,7 +10581,7 @@ const hl = zm(Xn, "$message"), cB = F({
10581
10581
  }, _ = () => {
10582
10582
  e.closeOnPressEscape && W();
10583
10583
  };
10584
- return e.lockScroll && Iu(l), A0(l), {
10584
+ return e.lockScroll && Iu(l), Ab(l), {
10585
10585
  ...Kn(c),
10586
10586
  ns: r,
10587
10587
  overlayEvent: O,
@@ -12496,7 +12496,7 @@ const uw = /* @__PURE__ */ ht(rw, [["render", lw]]), cw = { class: "avatar-wrapp
12496
12496
  ]),
12497
12497
  k("span", gw, ee(((f = n.value) == null ? void 0 : f.name) ?? "未登录"), 1),
12498
12498
  Y(u(ve), {
12499
- size: 10,
12499
+ size: 14,
12500
12500
  color: "rgba(255,255,255,0.65)"
12501
12501
  }, {
12502
12502
  default: T(() => [