st-comp 0.0.87 → 0.0.88

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.
Files changed (71) hide show
  1. package/es/ChartLayout.cjs +1 -1
  2. package/es/ChartLayout.js +2 -2
  3. package/es/Dialog.cjs +1 -1
  4. package/es/Dialog.js +10 -10
  5. package/es/Kline.cjs +1 -1
  6. package/es/Kline.js +89 -89
  7. package/es/KlineNew.cjs +1 -1
  8. package/es/KlineNew.js +7 -7
  9. package/es/Pagination.cjs +1 -1
  10. package/es/Pagination.js +138 -138
  11. package/es/Table.cjs +1 -1
  12. package/es/Table.js +27 -27
  13. package/es/TreeMap.cjs +1 -2
  14. package/es/TreeMap.js +1 -163
  15. package/es/VarietySearch.cjs +2 -2
  16. package/es/VarietySearch.js +1286 -1191
  17. package/es/VirtualTable.cjs +3 -3
  18. package/es/VirtualTable.js +119 -119
  19. package/es/{base-315cbfab.cjs → base-2b869b95.cjs} +1 -1
  20. package/es/{base-e85dae08.js → base-5e2578a9.js} +66 -66
  21. package/es/{castArray-b93d1330.js → castArray-9b96e1ad.js} +1 -1
  22. package/es/castArray-adec592d.cjs +1 -0
  23. package/es/{config-provider-17c85684.cjs → config-provider-25d2db4b.cjs} +1 -1
  24. package/es/{config-provider-cb918d0f.js → config-provider-ddbd0b1c.js} +8 -8
  25. package/es/{el-button-ec16f484.cjs → el-button-8fca9a5d.cjs} +1 -1
  26. package/es/{el-button-aab1dbd4.js → el-button-daeb181f.js} +60 -60
  27. package/es/{el-empty-ab3ce002.js → el-empty-b1d5d1e4.js} +11 -11
  28. package/es/{el-empty-16ceef82.cjs → el-empty-d83469ab.cjs} +1 -1
  29. package/es/{el-icon-2d22f211.js → el-icon-0bfbe0c8.js} +673 -673
  30. package/es/el-icon-19bc1691.cjs +20 -0
  31. package/es/el-overlay-88994e77.cjs +5 -0
  32. package/es/{el-overlay-98d7f866.js → el-overlay-fcd84f34.js} +66 -66
  33. package/es/{el-scrollbar-7b9d83d5.js → el-scrollbar-0f49204a.js} +44 -44
  34. package/es/{el-scrollbar-9473fd47.cjs → el-scrollbar-43353984.cjs} +1 -1
  35. package/es/{el-select-fd76b16b.js → el-select-1a2f2c95.js} +239 -239
  36. package/es/el-select-c3d21536.cjs +9 -0
  37. package/es/{el-tag-87576c55.js → el-tag-1e32cb79.js} +144 -144
  38. package/es/el-tag-7737bede.cjs +1 -0
  39. package/es/{focus-trap-ea177336.cjs → focus-trap-19c04a47.cjs} +1 -1
  40. package/es/{focus-trap-067be6d2.js → focus-trap-82e6ab3c.js} +12 -12
  41. package/es/raf-7414f3eb.js +6 -0
  42. package/es/{raf-c437ab23.cjs → raf-a8539dc6.cjs} +1 -1
  43. package/es/{scroll-a80e1458.cjs → scroll-5ec08336.cjs} +1 -1
  44. package/es/{scroll-510cef88.js → scroll-8d15ce5a.js} +1 -1
  45. package/es/style.css +1 -1
  46. package/es/{use-form-item-7924b6c1.cjs → use-form-item-3d2a7ac7.cjs} +1 -1
  47. package/es/{use-form-item-439ac27c.js → use-form-item-ea29755c.js} +135 -135
  48. package/es/use-global-config-3496cd4f.cjs +1 -0
  49. package/es/use-global-config-9eba4e5e.js +110 -0
  50. package/es/{vnode-8c7963dc.js → vnode-2ad5aae4.js} +1 -1
  51. package/es/{vnode-85a610a2.cjs → vnode-b447c505.cjs} +1 -1
  52. package/es/{zh-cn-0024c96d.cjs → zh-cn-35bd18a8.cjs} +1 -1
  53. package/es/{zh-cn-c2b42b5f.js → zh-cn-6a7c1846.js} +2 -2
  54. package/lib/bundle.js +1 -1
  55. package/lib/bundle.umd.cjs +119 -119
  56. package/lib/{index-b5647f94.js → index-cf938a55.js} +11428 -11333
  57. package/lib/{python-e2bb6788.js → python-40015c17.js} +1 -1
  58. package/lib/style.css +1 -1
  59. package/package.json +1 -1
  60. package/packages/VarietySearch/components/CommonIndicator/index.vue +190 -59
  61. package/packages/VarietySearch/config.js +32 -7
  62. package/packages/VarietySearch/index.vue +67 -12
  63. package/src/pages/VarietySearch/index.vue +31 -7
  64. package/es/castArray-f54f6f75.cjs +0 -1
  65. package/es/el-icon-773986c7.cjs +0 -20
  66. package/es/el-overlay-6d0c5cc3.cjs +0 -5
  67. package/es/el-select-d3f15536.cjs +0 -9
  68. package/es/el-tag-a6a4d4ef.cjs +0 -1
  69. package/es/raf-b091dc88.js +0 -6
  70. package/es/use-global-config-857b51f5.js +0 -110
  71. package/es/use-global-config-d02be80b.cjs +0 -1
@@ -1,17 +1,17 @@
1
- import { computed as v, getCurrentInstance as sl, ref as K, shallowRef as Re, watch as H, defineComponent as ge, useAttrs as nt, useSlots as ot, nextTick as D, onMounted as ml, toRef as it, withDirectives as We, openBlock as y, createElementBlock as k, mergeProps as El, unref as a, createCommentVNode as I, Fragment as Ae, normalizeClass as S, renderSlot as X, createElementVNode as z, createBlock as V, withCtx as L, resolveDynamicComponent as Ne, withModifiers as ee, createVNode as he, toDisplayString as Y, normalizeStyle as se, vShow as hl, Transition as $l, inject as cl, toRaw as pl, reactive as bl, toRefs as Vl, onBeforeUnmount as at, triggerRef as ol, provide as Ql, resolveComponent as Ee, resolveDirective as st, renderList as Tl, withKeys as x, vModelText as rt, createSlots as ut } from "vue";
2
- import { t as dt, a as ct, u as zl, d as Bl } from "./el-scrollbar-7b9d83d5.js";
3
- import { j as pt, i as Nl, l as ft, E as vt, C as mt, a as ht, m as bt } from "./el-tag-87576c55.js";
4
- import { z as gt, c as Ul, l as yt, i as fl, o as Gl, p as Ct, h as Pl, n as St, V as Yl, A as wt, B as Ot, E as Te, D as Xl, F as Rl, u as It, a as Et } from "./use-form-item-439ac27c.js";
5
- import { o as Al, j as il, J as Tt, k as Ml, b as Jl, d as Ll, i as al, u as be, N as Lt, _ as He, e as vl, w as Dl, K as le, g as Kl, z as Pe, C as kt, L as kl, M as $t, f as Zl } from "./base-e85dae08.js";
6
- import { m as Mt } from "./typescript-7ae59c4c.js";
7
- import { U as te, i as Vt, E as Wl, C as xl } from "./focus-trap-067be6d2.js";
8
- import { s as zt } from "./scroll-510cef88.js";
1
+ import { computed as v, getCurrentInstance as sl, ref as K, shallowRef as Re, watch as W, defineComponent as ge, useAttrs as nt, useSlots as ot, nextTick as D, onMounted as ml, toRef as it, withDirectives as He, openBlock as y, createElementBlock as k, mergeProps as El, unref as a, createCommentVNode as I, Fragment as Ae, normalizeClass as C, renderSlot as X, createElementVNode as z, createBlock as M, withCtx as L, resolveDynamicComponent as Ne, withModifiers as ee, createVNode as he, toDisplayString as Y, normalizeStyle as se, vShow as hl, Transition as $l, inject as cl, toRaw as pl, reactive as bl, toRefs as Ml, onBeforeUnmount as at, triggerRef as ol, provide as Ql, resolveComponent as Ee, resolveDirective as st, renderList as Tl, withKeys as x, vModelText as rt, createSlots as ut } from "vue";
2
+ import { t as dt, u as ct, a as zl, d as Bl } from "./el-scrollbar-0f49204a.js";
3
+ import { b as pt, i as Nl, c as ft, E as vt, C as mt, a as ht, d as bt } from "./el-tag-1e32cb79.js";
4
+ import { p as gt, h as Ul, u as yt, g as fl, c as Gl, r as St, e as Pl, f as Ct, V as Yl, v as wt, s as Ot, E as Te, t as Xl, w as Rl, b as It, x as Et } from "./use-form-item-ea29755c.js";
5
+ import { b as Al, o as il, X as Tt, F as Vl, c as Zl, d as Ll, h as al, u as be, N as Lt, _ as We, V as vl, w as Dl, n as le, f as Kl, I as Pe, H as kt, Y as kl, B as $t, E as Jl } from "./base-5e2578a9.js";
6
+ import { m as Vt } from "./typescript-7ae59c4c.js";
7
+ import { U as te, i as Mt, a as Hl, C as xl } from "./focus-trap-82e6ab3c.js";
8
+ import { s as zt } from "./scroll-8d15ce5a.js";
9
9
  const Pt = () => Al && /firefox/i.test(window.navigator.userAgent);
10
- var Hl = 1 / 0, At = 17976931348623157e292;
10
+ var Wl = 1 / 0, At = 17976931348623157e292;
11
11
  function Dt(e) {
12
12
  if (!e)
13
13
  return e === 0 ? e : 0;
14
- if (e = dt(e), e === Hl || e === -Hl) {
14
+ if (e = dt(e), e === Wl || e === -Wl) {
15
15
  var l = e < 0 ? -1 : 1;
16
16
  return l * At;
17
17
  }
@@ -35,7 +35,7 @@ function Rt(e, l, o) {
35
35
  var c = s - 1;
36
36
  return o !== void 0 && (c = Kt(o), c = o < 0 ? Bt(s + c, 0) : Nt(c, s - 1)), Ft(e, pt(l), c, !0);
37
37
  }
38
- const Wt = (e = "") => e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), Ht = (e) => gt[e || "default"], qt = (e) => ["", ...Ul].includes(e), _l = (e) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e), jt = ["class", "style"], Qt = /^on[A-Z]/, Ut = (e = {}) => {
38
+ const Ht = (e = "") => e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), Wt = (e) => gt[e || "default"], qt = (e) => ["", ...Ul].includes(e), _l = (e) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e), jt = ["class", "style"], Qt = /^on[A-Z]/, Ut = (e = {}) => {
39
39
  const { excludeListeners: l = !1, excludeKeys: o } = e, s = v(() => ((o == null ? void 0 : o.value) || []).concat(jt)), c = sl();
40
40
  return c ? v(() => {
41
41
  var u;
@@ -88,7 +88,7 @@ function Yt(e, { afterFocus: l, afterBlur: o } = {}) {
88
88
  var g;
89
89
  (g = e.value) == null || g.focus();
90
90
  };
91
- return H(u, (g) => {
91
+ return W(u, (g) => {
92
92
  g && g.setAttribute("tabindex", "-1");
93
93
  }), ct(u, "click", w), {
94
94
  wrapperRef: u,
@@ -106,7 +106,7 @@ const Xt = `
106
106
  z-index:-1000 !important;
107
107
  top:0 !important;
108
108
  right:0 !important;
109
- `, Jt = [
109
+ `, Zt = [
110
110
  "letter-spacing",
111
111
  "line-height",
112
112
  "padding-top",
@@ -123,30 +123,30 @@ const Xt = `
123
123
  "border-width",
124
124
  "box-sizing"
125
125
  ];
126
- function Zt(e) {
126
+ function Jt(e) {
127
127
  const l = window.getComputedStyle(e), o = l.getPropertyValue("box-sizing"), s = Number.parseFloat(l.getPropertyValue("padding-bottom")) + Number.parseFloat(l.getPropertyValue("padding-top")), c = Number.parseFloat(l.getPropertyValue("border-bottom-width")) + Number.parseFloat(l.getPropertyValue("border-top-width"));
128
- return { contextStyle: Jt.map((p) => `${p}:${l.getPropertyValue(p)}`).join(";"), paddingSize: s, borderSize: c, boxSizing: o };
128
+ return { contextStyle: Zt.map((p) => `${p}:${l.getPropertyValue(p)}`).join(";"), paddingSize: s, borderSize: c, boxSizing: o };
129
129
  }
130
130
  function ql(e, l = 1, o) {
131
131
  var s;
132
132
  _ || (_ = document.createElement("textarea"), document.body.appendChild(_));
133
- const { paddingSize: c, borderSize: u, boxSizing: p, contextStyle: b } = Zt(e);
133
+ const { paddingSize: c, borderSize: u, boxSizing: p, contextStyle: b } = Jt(e);
134
134
  _.setAttribute("style", `${b};${Xt}`), _.value = e.value || e.placeholder || "";
135
135
  let f = _.scrollHeight;
136
136
  const w = {};
137
137
  p === "border-box" ? f = f + u : p === "content-box" && (f = f - c), _.value = "";
138
138
  const g = _.scrollHeight - c;
139
- if (Ml(l)) {
139
+ if (Vl(l)) {
140
140
  let m = g * l;
141
141
  p === "border-box" && (m = m + c + u), f = Math.max(m, f), w.minHeight = `${m}px`;
142
142
  }
143
- if (Ml(o)) {
143
+ if (Vl(o)) {
144
144
  let m = g * o;
145
145
  p === "border-box" && (m = m + c + u), f = Math.min(m, f);
146
146
  }
147
147
  return w.height = `${f}px`, (s = _.parentNode) == null || s.removeChild(_), _ = void 0, w;
148
148
  }
149
- const xt = Jl({
149
+ const xt = Zl({
150
150
  id: {
151
151
  type: String,
152
152
  default: void 0
@@ -229,7 +229,7 @@ const xt = Jl({
229
229
  },
230
230
  inputStyle: {
231
231
  type: Ll([Object, Array, String]),
232
- default: () => Mt({})
232
+ default: () => Vt({})
233
233
  },
234
234
  autofocus: {
235
235
  type: Boolean,
@@ -270,7 +270,7 @@ const xt = Jl({
270
270
  [n.bm("group", "prepend")]: u.prepend,
271
271
  [n.m("prefix")]: u.prefix || s.prefixIcon,
272
272
  [n.m("suffix")]: u.suffix || s.suffixIcon || s.clearable || s.showPassword,
273
- [n.bm("suffix", "password-clear")]: ue.value && Ce.value
273
+ [n.bm("suffix", "password-clear")]: ue.value && Se.value
274
274
  },
275
275
  c.class
276
276
  ]), f = v(() => [
@@ -278,9 +278,9 @@ const xt = Jl({
278
278
  n.is("focus", ye.value)
279
279
  ]), w = Ut({
280
280
  excludeKeys: v(() => Object.keys(p.value))
281
- }), { form: g, formItem: m } = Gl(), { inputId: F } = Ct(s, {
281
+ }), { form: g, formItem: m } = Gl(), { inputId: F } = St(s, {
282
282
  formItemContext: m
283
- }), A = Pl(), $ = St(), n = be("input"), O = be("textarea"), T = Re(), E = Re(), q = K(!1), ne = K(!1), j = K(!1), De = K(), J = Re(s.inputStyle), oe = v(() => T.value || E.value), { wrapperRef: qe, isFocused: ye, handleFocus: ie, handleBlur: P } = Yt(oe, {
283
+ }), A = Pl(), $ = Ct(), n = be("input"), O = be("textarea"), T = Re(), E = Re(), q = K(!1), ne = K(!1), j = K(!1), De = K(), Z = Re(s.inputStyle), oe = v(() => T.value || E.value), { wrapperRef: qe, isFocused: ye, handleFocus: ie, handleBlur: P } = Yt(oe, {
284
284
  afterBlur() {
285
285
  var r;
286
286
  s.validateEvent && ((r = m == null ? void 0 : m.validate) == null || r.call(m, "blur").catch((h) => il(h)));
@@ -293,39 +293,39 @@ const xt = Jl({
293
293
  s.inputStyle
294
294
  ]), Q = v(() => [
295
295
  s.inputStyle,
296
- J.value,
296
+ Z.value,
297
297
  { resize: s.resize }
298
- ]), B = v(() => Vt(s.modelValue) ? "" : String(s.modelValue)), ue = v(() => s.clearable && !$.value && !s.readonly && !!B.value && (ye.value || q.value)), Ce = v(() => s.showPassword && !$.value && !s.readonly && !!B.value && (!!B.value || ye.value)), U = v(() => s.showWordLimit && !!w.value.maxlength && (s.type === "text" || s.type === "textarea") && !$.value && !s.readonly && !s.showPassword), Se = v(() => B.value.length), Ue = v(() => !!U.value && Se.value > Number(w.value.maxlength)), Ge = v(() => !!u.suffix || !!s.suffixIcon || ue.value || s.showPassword || U.value || !!re.value && Ke.value), [Ye, Xe] = Gt(T);
298
+ ]), B = v(() => Mt(s.modelValue) ? "" : String(s.modelValue)), ue = v(() => s.clearable && !$.value && !s.readonly && !!B.value && (ye.value || q.value)), Se = v(() => s.showPassword && !$.value && !s.readonly && !!B.value && (!!B.value || ye.value)), U = v(() => s.showWordLimit && !!w.value.maxlength && (s.type === "text" || s.type === "textarea") && !$.value && !s.readonly && !s.showPassword), Ce = v(() => B.value.length), Ue = v(() => !!U.value && Ce.value > Number(w.value.maxlength)), Ge = v(() => !!u.suffix || !!s.suffixIcon || ue.value || s.showPassword || U.value || !!re.value && Ke.value), [Ye, Xe] = Gt(T);
299
299
  zl(E, (r) => {
300
300
  if (ce(), !U.value || s.resize !== "both")
301
301
  return;
302
- const h = r[0], { width: M } = h.contentRect;
302
+ const h = r[0], { width: V } = h.contentRect;
303
303
  De.value = {
304
- right: `calc(100% - ${M + 15 + 6}px)`
304
+ right: `calc(100% - ${V + 15 + 6}px)`
305
305
  };
306
306
  });
307
307
  const de = () => {
308
308
  const { type: r, autosize: h } = s;
309
309
  if (!(!Al || r !== "textarea" || !E.value))
310
310
  if (h) {
311
- const M = vl(h) ? h.minRows : void 0, fe = vl(h) ? h.maxRows : void 0, Ie = ql(E.value, M, fe);
312
- J.value = {
311
+ const V = vl(h) ? h.minRows : void 0, fe = vl(h) ? h.maxRows : void 0, Ie = ql(E.value, V, fe);
312
+ Z.value = {
313
313
  overflowY: "hidden",
314
314
  ...Ie
315
315
  }, D(() => {
316
- E.value.offsetHeight, J.value = Ie;
316
+ E.value.offsetHeight, Z.value = Ie;
317
317
  });
318
318
  } else
319
- J.value = {
319
+ Z.value = {
320
320
  minHeight: ql(E.value).minHeight
321
321
  };
322
322
  }, ce = ((r) => {
323
323
  let h = !1;
324
324
  return () => {
325
- var M;
325
+ var V;
326
326
  if (h || !s.autosize)
327
327
  return;
328
- ((M = E.value) == null ? void 0 : M.offsetParent) === null || (r(), h = !0);
328
+ ((V = E.value) == null ? void 0 : V.offsetParent) === null || (r(), h = !0);
329
329
  };
330
330
  })(de), G = () => {
331
331
  const r = oe.value, h = s.formatter ? s.formatter(B.value) : B.value;
@@ -347,19 +347,19 @@ const xt = Jl({
347
347
  }, $e = (r) => {
348
348
  var h;
349
349
  o("compositionupdate", r);
350
- const M = (h = r.target) == null ? void 0 : h.value, fe = M[M.length - 1] || "";
350
+ const V = (h = r.target) == null ? void 0 : h.value, fe = V[V.length - 1] || "";
351
351
  ne.value = !_l(fe);
352
- }, Me = (r) => {
352
+ }, Ve = (r) => {
353
353
  o("compositionend", r), ne.value && (ne.value = !1, Le(r));
354
- }, Ve = () => {
354
+ }, Me = () => {
355
355
  j.value = !j.value, pe();
356
356
  }, pe = async () => {
357
357
  var r;
358
358
  await D(), (r = oe.value) == null || r.focus();
359
- }, Je = () => {
359
+ }, Ze = () => {
360
360
  var r;
361
361
  return (r = oe.value) == null ? void 0 : r.blur();
362
- }, Ze = (r) => {
362
+ }, Je = (r) => {
363
363
  q.value = !1, o("mouseleave", r);
364
364
  }, xe = (r) => {
365
365
  q.value = !0, o("mouseenter", r);
@@ -371,10 +371,10 @@ const xt = Jl({
371
371
  }, Fe = () => {
372
372
  o(te, ""), o("change", ""), o("clear"), o("input", "");
373
373
  };
374
- return H(() => s.modelValue, () => {
374
+ return W(() => s.modelValue, () => {
375
375
  var r;
376
376
  D(() => de()), s.validateEvent && ((r = m == null ? void 0 : m.validate) == null || r.call(m, "change").catch((h) => il(h)));
377
- }), H(B, () => G()), H(() => s.type, async () => {
377
+ }), W(B, () => G()), W(() => s.type, async () => {
378
378
  await D(), G(), de();
379
379
  }), ml(() => {
380
380
  !s.formatter && s.parser && il("ElInput", "If you set the parser, you also need to set the formatter."), G(), D(de);
@@ -385,46 +385,46 @@ const xt = Jl({
385
385
  textareaStyle: Q,
386
386
  autosize: it(s, "autosize"),
387
387
  focus: pe,
388
- blur: Je,
388
+ blur: Ze,
389
389
  select: _e,
390
390
  clear: Fe,
391
391
  resizeTextarea: de
392
- }), (r, h) => We((y(), k("div", El(a(p), {
392
+ }), (r, h) => He((y(), k("div", El(a(p), {
393
393
  class: a(b),
394
394
  style: a(Qe),
395
395
  role: r.containerRole,
396
396
  onMouseenter: xe,
397
- onMouseleave: Ze
397
+ onMouseleave: Je
398
398
  }), [
399
399
  I(" input "),
400
400
  r.type !== "textarea" ? (y(), k(Ae, { key: 0 }, [
401
401
  I(" prepend slot "),
402
402
  r.$slots.prepend ? (y(), k("div", {
403
403
  key: 0,
404
- class: S(a(n).be("group", "prepend"))
404
+ class: C(a(n).be("group", "prepend"))
405
405
  }, [
406
406
  X(r.$slots, "prepend")
407
407
  ], 2)) : I("v-if", !0),
408
408
  z("div", {
409
409
  ref_key: "wrapperRef",
410
410
  ref: qe,
411
- class: S(a(f))
411
+ class: C(a(f))
412
412
  }, [
413
413
  I(" prefix slot "),
414
414
  r.$slots.prefix || r.prefixIcon ? (y(), k("span", {
415
415
  key: 0,
416
- class: S(a(n).e("prefix"))
416
+ class: C(a(n).e("prefix"))
417
417
  }, [
418
418
  z("span", {
419
- class: S(a(n).e("prefix-inner"))
419
+ class: C(a(n).e("prefix-inner"))
420
420
  }, [
421
421
  X(r.$slots, "prefix"),
422
- r.prefixIcon ? (y(), V(a(Te), {
422
+ r.prefixIcon ? (y(), M(a(Te), {
423
423
  key: 0,
424
- class: S(a(n).e("icon"))
424
+ class: C(a(n).e("icon"))
425
425
  }, {
426
426
  default: L(() => [
427
- (y(), V(Ne(r.prefixIcon)))
427
+ (y(), M(Ne(r.prefixIcon)))
428
428
  ]),
429
429
  _: 1
430
430
  }, 8, ["class"])) : I("v-if", !0)
@@ -450,36 +450,36 @@ const xt = Jl({
450
450
  autofocus: s.autofocus,
451
451
  onCompositionstart: we,
452
452
  onCompositionupdate: $e,
453
- onCompositionend: Me,
453
+ onCompositionend: Ve,
454
454
  onInput: Le,
455
- onFocus: h[0] || (h[0] = (...M) => a(ie) && a(ie)(...M)),
456
- onBlur: h[1] || (h[1] = (...M) => a(P) && a(P)(...M)),
455
+ onFocus: h[0] || (h[0] = (...V) => a(ie) && a(ie)(...V)),
456
+ onBlur: h[1] || (h[1] = (...V) => a(P) && a(P)(...V)),
457
457
  onChange: ke,
458
458
  onKeydown: Oe
459
459
  }), null, 16, ln),
460
460
  I(" suffix slot "),
461
461
  a(Ge) ? (y(), k("span", {
462
462
  key: 1,
463
- class: S(a(n).e("suffix"))
463
+ class: C(a(n).e("suffix"))
464
464
  }, [
465
465
  z("span", {
466
- class: S(a(n).e("suffix-inner"))
466
+ class: C(a(n).e("suffix-inner"))
467
467
  }, [
468
- !a(ue) || !a(Ce) || !a(U) ? (y(), k(Ae, { key: 0 }, [
468
+ !a(ue) || !a(Se) || !a(U) ? (y(), k(Ae, { key: 0 }, [
469
469
  X(r.$slots, "suffix"),
470
- r.suffixIcon ? (y(), V(a(Te), {
470
+ r.suffixIcon ? (y(), M(a(Te), {
471
471
  key: 0,
472
- class: S(a(n).e("icon"))
472
+ class: C(a(n).e("icon"))
473
473
  }, {
474
474
  default: L(() => [
475
- (y(), V(Ne(r.suffixIcon)))
475
+ (y(), M(Ne(r.suffixIcon)))
476
476
  ]),
477
477
  _: 1
478
478
  }, 8, ["class"])) : I("v-if", !0)
479
479
  ], 64)) : I("v-if", !0),
480
- a(ue) ? (y(), V(a(Te), {
480
+ a(ue) ? (y(), M(a(Te), {
481
481
  key: 1,
482
- class: S([a(n).e("icon"), a(n).e("clear")]),
482
+ class: C([a(n).e("icon"), a(n).e("clear")]),
483
483
  onMousedown: ee(a(Lt), ["prevent"]),
484
484
  onClick: Fe
485
485
  }, {
@@ -488,34 +488,34 @@ const xt = Jl({
488
488
  ]),
489
489
  _: 1
490
490
  }, 8, ["class", "onMousedown"])) : I("v-if", !0),
491
- a(Ce) ? (y(), V(a(Te), {
491
+ a(Se) ? (y(), M(a(Te), {
492
492
  key: 2,
493
- class: S([a(n).e("icon"), a(n).e("password")]),
494
- onClick: Ve
493
+ class: C([a(n).e("icon"), a(n).e("password")]),
494
+ onClick: Me
495
495
  }, {
496
496
  default: L(() => [
497
- (y(), V(Ne(a(je))))
497
+ (y(), M(Ne(a(je))))
498
498
  ]),
499
499
  _: 1
500
500
  }, 8, ["class"])) : I("v-if", !0),
501
501
  a(U) ? (y(), k("span", {
502
502
  key: 3,
503
- class: S(a(n).e("count"))
503
+ class: C(a(n).e("count"))
504
504
  }, [
505
505
  z("span", {
506
- class: S(a(n).e("count-inner"))
507
- }, Y(a(Se)) + " / " + Y(a(w).maxlength), 3)
506
+ class: C(a(n).e("count-inner"))
507
+ }, Y(a(Ce)) + " / " + Y(a(w).maxlength), 3)
508
508
  ], 2)) : I("v-if", !0),
509
- a(re) && a(ae) && a(Ke) ? (y(), V(a(Te), {
509
+ a(re) && a(ae) && a(Ke) ? (y(), M(a(Te), {
510
510
  key: 4,
511
- class: S([
511
+ class: C([
512
512
  a(n).e("icon"),
513
513
  a(n).e("validateIcon"),
514
514
  a(n).is("loading", a(re) === "validating")
515
515
  ])
516
516
  }, {
517
517
  default: L(() => [
518
- (y(), V(Ne(a(ae))))
518
+ (y(), M(Ne(a(ae))))
519
519
  ]),
520
520
  _: 1
521
521
  }, 8, ["class"])) : I("v-if", !0)
@@ -525,7 +525,7 @@ const xt = Jl({
525
525
  I(" append slot "),
526
526
  r.$slots.append ? (y(), k("div", {
527
527
  key: 1,
528
- class: S(a(n).be("group", "append"))
528
+ class: C(a(n).be("group", "append"))
529
529
  }, [
530
530
  X(r.$slots, "append")
531
531
  ], 2)) : I("v-if", !0)
@@ -548,26 +548,26 @@ const xt = Jl({
548
548
  autofocus: s.autofocus,
549
549
  onCompositionstart: we,
550
550
  onCompositionupdate: $e,
551
- onCompositionend: Me,
551
+ onCompositionend: Ve,
552
552
  onInput: Le,
553
- onFocus: h[2] || (h[2] = (...M) => a(ie) && a(ie)(...M)),
554
- onBlur: h[3] || (h[3] = (...M) => a(P) && a(P)(...M)),
553
+ onFocus: h[2] || (h[2] = (...V) => a(ie) && a(ie)(...V)),
554
+ onBlur: h[3] || (h[3] = (...V) => a(P) && a(P)(...V)),
555
555
  onChange: ke,
556
556
  onKeydown: Oe
557
557
  }), null, 16, tn),
558
558
  a(U) ? (y(), k("span", {
559
559
  key: 0,
560
560
  style: se(De.value),
561
- class: S(a(n).e("count"))
562
- }, Y(a(Se)) + " / " + Y(a(w).maxlength), 7)) : I("v-if", !0)
561
+ class: C(a(n).e("count"))
562
+ }, Y(a(Ce)) + " / " + Y(a(w).maxlength), 7)) : I("v-if", !0)
563
563
  ], 64))
564
564
  ], 16, en)), [
565
565
  [hl, r.type !== "hidden"]
566
566
  ]);
567
567
  }
568
568
  });
569
- var an = /* @__PURE__ */ He(on, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);
570
- const sn = Dl(an), et = Jl({
569
+ var an = /* @__PURE__ */ We(on, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);
570
+ const sn = Dl(an), et = Zl({
571
571
  type: {
572
572
  type: String,
573
573
  values: ["success", "info", "warning", "danger", ""],
@@ -619,18 +619,18 @@ const sn = Dl(an), et = Jl({
619
619
  };
620
620
  return (f, w) => f.disableTransitions ? (y(), k("span", {
621
621
  key: 0,
622
- class: S(a(u)),
622
+ class: C(a(u)),
623
623
  style: se({ backgroundColor: f.color }),
624
624
  onClick: b
625
625
  }, [
626
626
  z("span", {
627
- class: S(a(c).e("content"))
627
+ class: C(a(c).e("content"))
628
628
  }, [
629
629
  X(f.$slots, "default")
630
630
  ], 2),
631
- f.closable ? (y(), V(a(Te), {
631
+ f.closable ? (y(), M(a(Te), {
632
632
  key: 0,
633
- class: S(a(c).e("close")),
633
+ class: C(a(c).e("close")),
634
634
  onClick: ee(p, ["stop"])
635
635
  }, {
636
636
  default: L(() => [
@@ -638,25 +638,25 @@ const sn = Dl(an), et = Jl({
638
638
  ]),
639
639
  _: 1
640
640
  }, 8, ["class", "onClick"])) : I("v-if", !0)
641
- ], 6)) : (y(), V($l, {
641
+ ], 6)) : (y(), M($l, {
642
642
  key: 1,
643
643
  name: `${a(c).namespace.value}-zoom-in-center`,
644
644
  appear: ""
645
645
  }, {
646
646
  default: L(() => [
647
647
  z("span", {
648
- class: S(a(u)),
648
+ class: C(a(u)),
649
649
  style: se({ backgroundColor: f.color }),
650
650
  onClick: b
651
651
  }, [
652
652
  z("span", {
653
- class: S(a(c).e("content"))
653
+ class: C(a(c).e("content"))
654
654
  }, [
655
655
  X(f.$slots, "default")
656
656
  ], 2),
657
- f.closable ? (y(), V(a(Te), {
657
+ f.closable ? (y(), M(a(Te), {
658
658
  key: 0,
659
- class: S(a(c).e("close")),
659
+ class: C(a(c).e("close")),
660
660
  onClick: ee(p, ["stop"])
661
661
  }, {
662
662
  default: L(() => [
@@ -670,7 +670,7 @@ const sn = Dl(an), et = Jl({
670
670
  }, 8, ["name"]));
671
671
  }
672
672
  });
673
- var cn = /* @__PURE__ */ He(dn, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);
673
+ var cn = /* @__PURE__ */ We(dn, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);
674
674
  const pn = Dl(cn), lt = Symbol("ElSelectGroup"), gl = Symbol("ElSelect");
675
675
  function fn(e, l) {
676
676
  const o = cl(gl), s = cl(lt, { disabled: !1 }), c = v(() => Object.prototype.toString.call(e.value).toLowerCase() === "[object object]"), u = v(() => o.props.multiple ? m(o.props.modelValue, e.value) : F(e.value, o.props.modelValue)), p = v(() => {
@@ -694,21 +694,21 @@ function fn(e, l) {
694
694
  }, A = () => {
695
695
  !e.disabled && !s.disabled && (o.hoverIndex = o.optionsArray.indexOf(g.proxy));
696
696
  };
697
- H(() => b.value, () => {
697
+ W(() => b.value, () => {
698
698
  !e.created && !o.props.remote && o.setSelected();
699
- }), H(() => e.value, (n, O) => {
699
+ }), W(() => e.value, (n, O) => {
700
700
  const { remote: T, valueKey: E } = o.props;
701
701
  if (Object.is(n, O) || (o.onOptionDestroy(O, g.proxy), o.onOptionCreate(g.proxy)), !e.created && !T) {
702
702
  if (E && typeof n == "object" && typeof O == "object" && n[E] === O[E])
703
703
  return;
704
704
  o.setSelected();
705
705
  }
706
- }), H(() => s.disabled, () => {
706
+ }), W(() => s.disabled, () => {
707
707
  l.groupDisabled = s.disabled;
708
708
  }, { immediate: !0 });
709
709
  const { queryChange: $ } = pl(o);
710
- return H($, (n) => {
711
- const { query: O } = a(n), T = new RegExp(Wt(O), "i");
710
+ return W($, (n) => {
711
+ const { query: O } = a(n), T = new RegExp(Ht(O), "i");
712
712
  l.visible = T.test(b.value) || e.created, l.visible || o.filteredOptionsCount--;
713
713
  }, { immediate: !0 }), {
714
714
  select: o,
@@ -745,7 +745,7 @@ const vn = ge({
745
745
  visible: !0,
746
746
  hitState: !1,
747
747
  hover: !1
748
- }), { currentLabel: c, itemSelected: u, isDisabled: p, select: b, hoverItem: f } = fn(e, s), { visible: w, hover: g } = Vl(s), m = sl().proxy;
748
+ }), { currentLabel: c, itemSelected: u, isDisabled: p, select: b, hoverItem: f } = fn(e, s), { visible: w, hover: g } = Ml(s), m = sl().proxy;
749
749
  b.onOptionCreate(m), at(() => {
750
750
  const A = m.value, { selected: $ } = b, O = (b.props.multiple ? $ : [$]).some((T) => T.value === m.value);
751
751
  D(() => {
@@ -771,8 +771,8 @@ const vn = ge({
771
771
  }
772
772
  });
773
773
  function mn(e, l, o, s, c, u) {
774
- return We((y(), k("li", {
775
- class: S(e.containerKls),
774
+ return He((y(), k("li", {
775
+ class: C(e.containerKls),
776
776
  onMouseenter: l[0] || (l[0] = (...p) => e.hoverItem && e.hoverItem(...p)),
777
777
  onClick: l[1] || (l[1] = ee((...p) => e.selectOptionClick && e.selectOptionClick(...p), ["stop"]))
778
778
  }, [
@@ -783,7 +783,7 @@ function mn(e, l, o, s, c, u) {
783
783
  [hl, e.visible]
784
784
  ]);
785
785
  }
786
- var Fl = /* @__PURE__ */ He(vn, [["render", mn], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);
786
+ var Fl = /* @__PURE__ */ We(vn, [["render", mn], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);
787
787
  const hn = ge({
788
788
  name: "ElSelectDropdown",
789
789
  componentName: "ElSelectDropdown",
@@ -806,13 +806,13 @@ const hn = ge({
806
806
  });
807
807
  function bn(e, l, o, s, c, u) {
808
808
  return y(), k("div", {
809
- class: S([e.ns.b("dropdown"), e.ns.is("multiple", e.isMultiple), e.popperClass]),
809
+ class: C([e.ns.b("dropdown"), e.ns.is("multiple", e.isMultiple), e.popperClass]),
810
810
  style: se({ [e.isFitInputWidth ? "width" : "minWidth"]: e.minWidth })
811
811
  }, [
812
812
  X(e.$slots, "default")
813
813
  ], 6);
814
814
  }
815
- var gn = /* @__PURE__ */ He(hn, [["render", bn], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);
815
+ var gn = /* @__PURE__ */ We(hn, [["render", bn], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);
816
816
  function yn(e) {
817
817
  const { t: l } = Kl();
818
818
  return bl({
@@ -841,7 +841,7 @@ function yn(e) {
841
841
  focused: !1
842
842
  });
843
843
  }
844
- const Cn = (e, l, o) => {
844
+ const Sn = (e, l, o) => {
845
845
  const { t: s } = Kl(), c = be("select");
846
846
  It({
847
847
  from: "suffixTransition",
@@ -855,11 +855,11 @@ const Cn = (e, l, o) => {
855
855
  const { form: E, formItem: q } = Gl(), ne = v(() => !e.filterable || e.multiple || !l.visible), j = v(() => e.disabled || (E == null ? void 0 : E.disabled)), De = v(() => {
856
856
  const t = e.multiple ? Array.isArray(e.modelValue) && e.modelValue.length > 0 : e.modelValue !== void 0 && e.modelValue !== null && e.modelValue !== "";
857
857
  return e.clearable && !j.value && l.inputHovering && t;
858
- }), J = v(() => e.remote && e.filterable && !e.remoteShowSuffix ? "" : e.suffixIcon), oe = v(() => c.is("reverse", J.value && l.visible && e.suffixTransition)), qe = v(() => (E == null ? void 0 : E.statusIcon) && (q == null ? void 0 : q.validateState) && Yl[q == null ? void 0 : q.validateState]), ye = v(() => e.remote ? 300 : 0), ie = v(() => e.loading ? e.loadingText || s("el.select.loading") : e.remote && l.query === "" && l.options.size === 0 ? !1 : e.filterable && l.query && l.options.size > 0 && l.filteredOptionsCount === 0 ? e.noMatchText || s("el.select.noMatch") : l.options.size === 0 ? e.noDataText || s("el.select.noData") : null), P = v(() => {
858
+ }), Z = v(() => e.remote && e.filterable && !e.remoteShowSuffix ? "" : e.suffixIcon), oe = v(() => c.is("reverse", Z.value && l.visible && e.suffixTransition)), qe = v(() => (E == null ? void 0 : E.statusIcon) && (q == null ? void 0 : q.validateState) && Yl[q == null ? void 0 : q.validateState]), ye = v(() => e.remote ? 300 : 0), ie = v(() => e.loading ? e.loadingText || s("el.select.loading") : e.remote && l.query === "" && l.options.size === 0 ? !1 : e.filterable && l.query && l.options.size > 0 && l.filteredOptionsCount === 0 ? e.noMatchText || s("el.select.noMatch") : l.options.size === 0 ? e.noDataText || s("el.select.noData") : null), P = v(() => {
859
859
  const t = Array.from(l.options.values()), i = [];
860
860
  return O.value.forEach((d) => {
861
- const C = t.findIndex((N) => N.currentLabel === d);
862
- C > -1 && i.push(t[C]);
861
+ const S = t.findIndex((N) => N.currentLabel === d);
862
+ S > -1 && i.push(t[S]);
863
863
  }), i.length >= t.length ? i : t;
864
864
  }), Ke = v(() => Array.from(l.cachedOptions.values())), re = v(() => {
865
865
  const t = P.value.filter((i) => !i.created).some((i) => i.currentLabel === l.query);
@@ -872,33 +872,33 @@ const Cn = (e, l, o) => {
872
872
  l.visible = t;
873
873
  }
874
874
  });
875
- H([() => j.value, () => ae.value, () => E == null ? void 0 : E.size], () => {
875
+ W([() => j.value, () => ae.value, () => E == null ? void 0 : E.size], () => {
876
876
  D(() => {
877
877
  Q();
878
878
  });
879
- }), H(() => e.placeholder, (t) => {
879
+ }), W(() => e.placeholder, (t) => {
880
880
  l.cachedPlaceHolder = l.currentPlaceholder = t, e.multiple && Array.isArray(e.modelValue) && e.modelValue.length > 0 && (l.currentPlaceholder = "");
881
- }), H(() => e.modelValue, (t, i) => {
881
+ }), W(() => e.modelValue, (t, i) => {
882
882
  e.multiple && (Q(), t && t.length > 0 || p.value && l.query !== "" ? l.currentPlaceholder = "" : l.currentPlaceholder = l.cachedPlaceHolder, e.filterable && !e.reserveKeyword && (l.query = "", B(l.query))), U(), e.filterable && !e.multiple && (l.inputLength = 20), !Nl(t, i) && e.validateEvent && (q == null || q.validate("change").catch((d) => il(d)));
883
883
  }, {
884
884
  flush: "post",
885
885
  deep: !0
886
- }), H(() => l.visible, (t) => {
887
- var i, d, C, N, W;
888
- t ? ((d = (i = f.value) == null ? void 0 : i.updatePopper) == null || d.call(i), e.filterable && (l.filteredOptionsCount = l.optionsCount, l.query = e.remote ? "" : l.selectedLabel, (N = (C = b.value) == null ? void 0 : C.focus) == null || N.call(C), e.multiple ? (W = p.value) == null || W.focus() : l.selectedLabel && (l.currentPlaceholder = `${l.selectedLabel}`, l.selectedLabel = ""), B(l.query), !e.multiple && !e.remote && ($.value.query = "", ol($), ol(n)))) : (e.filterable && (Pe(e.filterMethod) && e.filterMethod(""), Pe(e.remoteMethod) && e.remoteMethod("")), l.query = "", l.previousQuery = null, l.selectedLabel = "", l.inputLength = 20, l.menuVisibleOnFocus = !1, Ue(), D(() => {
886
+ }), W(() => l.visible, (t) => {
887
+ var i, d, S, N, H;
888
+ t ? ((d = (i = f.value) == null ? void 0 : i.updatePopper) == null || d.call(i), e.filterable && (l.filteredOptionsCount = l.optionsCount, l.query = e.remote ? "" : l.selectedLabel, (N = (S = b.value) == null ? void 0 : S.focus) == null || N.call(S), e.multiple ? (H = p.value) == null || H.focus() : l.selectedLabel && (l.currentPlaceholder = `${l.selectedLabel}`, l.selectedLabel = ""), B(l.query), !e.multiple && !e.remote && ($.value.query = "", ol($), ol(n)))) : (e.filterable && (Pe(e.filterMethod) && e.filterMethod(""), Pe(e.remoteMethod) && e.remoteMethod("")), l.query = "", l.previousQuery = null, l.selectedLabel = "", l.inputLength = 20, l.menuVisibleOnFocus = !1, Ue(), D(() => {
889
889
  p.value && p.value.value === "" && l.selected.length === 0 && (l.currentPlaceholder = l.cachedPlaceHolder);
890
890
  }), e.multiple || (l.selected && (e.filterable && e.allowCreate && l.createdSelected && l.createdLabel ? l.selectedLabel = l.createdLabel : l.selectedLabel = l.selected.currentLabel, e.filterable && (l.query = l.selectedLabel)), e.filterable && (l.currentPlaceholder = l.cachedPlaceHolder))), o.emit("visible-change", t);
891
- }), H(() => l.options.entries(), () => {
891
+ }), W(() => l.options.entries(), () => {
892
892
  var t, i, d;
893
893
  if (!Al)
894
894
  return;
895
895
  (i = (t = f.value) == null ? void 0 : t.updatePopper) == null || i.call(t), e.multiple && Q();
896
- const C = ((d = m.value) == null ? void 0 : d.querySelectorAll("input")) || [];
897
- (!e.filterable && !e.defaultFirstOption && !kt(e.modelValue) || !Array.from(C).includes(document.activeElement)) && U(), e.defaultFirstOption && (e.filterable || e.remote) && l.filteredOptionsCount && Ce();
896
+ const S = ((d = m.value) == null ? void 0 : d.querySelectorAll("input")) || [];
897
+ (!e.filterable && !e.defaultFirstOption && !kt(e.modelValue) || !Array.from(S).includes(document.activeElement)) && U(), e.defaultFirstOption && (e.filterable || e.remote) && l.filteredOptionsCount && Se();
898
898
  }, {
899
899
  flush: "post"
900
- }), H(() => l.hoverIndex, (t) => {
901
- Ml(t) && t > -1 ? A.value = P.value[t] || {} : A.value = {}, P.value.forEach((i) => {
900
+ }), W(() => l.hoverIndex, (t) => {
901
+ Vl(t) && t > -1 ? A.value = P.value[t] || {} : A.value = {}, P.value.forEach((i) => {
902
902
  i.hover = A.value === i;
903
903
  });
904
904
  });
@@ -909,8 +909,8 @@ const Cn = (e, l, o) => {
909
909
  return;
910
910
  const d = u.value.$el.querySelector("input");
911
911
  T = T || (d.clientHeight > 0 ? d.clientHeight + 2 : 0);
912
- const C = g.value, N = Ht(ae.value || (E == null ? void 0 : E.size)), W = ae.value || N === T || T <= 0 ? N : T;
913
- !(d.offsetParent === null) && (d.style.height = `${(l.selected.length === 0 ? W : Math.max(C ? C.clientHeight + (C.clientHeight > W ? 6 : 0) : 0, W)) - 2}px`), l.visible && ie.value !== !1 && ((i = (t = f.value) == null ? void 0 : t.updatePopper) == null || i.call(t));
912
+ const S = g.value, N = Wt(ae.value || (E == null ? void 0 : E.size)), H = ae.value || N === T || T <= 0 ? N : T;
913
+ !(d.offsetParent === null) && (d.style.height = `${(l.selected.length === 0 ? H : Math.max(S ? S.clientHeight + (S.clientHeight > H ? 6 : 0) : 0, H)) - 2}px`), l.visible && ie.value !== !1 && ((i = (t = f.value) == null ? void 0 : t.updatePopper) == null || i.call(t));
914
914
  });
915
915
  }, B = async (t) => {
916
916
  if (!(l.previousQuery === t || l.isOnComposition)) {
@@ -927,47 +927,47 @@ const Cn = (e, l, o) => {
927
927
  l.inputLength = e.collapseTags ? Math.min(50, i) : i, ue();
928
928
  }
929
929
  Q();
930
- }), e.remote && Pe(e.remoteMethod) ? (l.hoverIndex = -1, e.remoteMethod(t)) : Pe(e.filterMethod) ? (e.filterMethod(t), ol(n)) : (l.filteredOptionsCount = l.optionsCount, $.value.query = t, ol($), ol(n)), e.defaultFirstOption && (e.filterable || e.remote) && l.filteredOptionsCount && (await D(), Ce());
930
+ }), e.remote && Pe(e.remoteMethod) ? (l.hoverIndex = -1, e.remoteMethod(t)) : Pe(e.filterMethod) ? (e.filterMethod(t), ol(n)) : (l.filteredOptionsCount = l.optionsCount, $.value.query = t, ol($), ol(n)), e.defaultFirstOption && (e.filterable || e.remote) && l.filteredOptionsCount && (await D(), Se());
931
931
  }
932
932
  }, ue = () => {
933
933
  l.currentPlaceholder !== "" && (l.currentPlaceholder = p.value.value ? "" : l.cachedPlaceHolder);
934
- }, Ce = () => {
935
- const t = P.value.filter((C) => C.visible && !C.disabled && !C.states.groupDisabled), i = t.find((C) => C.created), d = t[0];
936
- l.hoverIndex = Me(P.value, i || d);
934
+ }, Se = () => {
935
+ const t = P.value.filter((S) => S.visible && !S.disabled && !S.states.groupDisabled), i = t.find((S) => S.created), d = t[0];
936
+ l.hoverIndex = Ve(P.value, i || d);
937
937
  }, U = () => {
938
938
  var t;
939
939
  if (e.multiple)
940
940
  l.selectedLabel = "";
941
941
  else {
942
- const d = Se(e.modelValue);
942
+ const d = Ce(e.modelValue);
943
943
  (t = d.props) != null && t.created ? (l.createdLabel = d.props.value, l.createdSelected = !0) : l.createdSelected = !1, l.selectedLabel = d.currentLabel, l.selected = d, e.filterable && (l.query = l.selectedLabel);
944
944
  return;
945
945
  }
946
946
  const i = [];
947
947
  Array.isArray(e.modelValue) && e.modelValue.forEach((d) => {
948
- i.push(Se(d));
948
+ i.push(Ce(d));
949
949
  }), l.selected = i, D(() => {
950
950
  Q();
951
951
  });
952
- }, Se = (t) => {
952
+ }, Ce = (t) => {
953
953
  let i;
954
- const d = kl(t).toLowerCase() === "object", C = kl(t).toLowerCase() === "null", N = kl(t).toLowerCase() === "undefined";
954
+ const d = kl(t).toLowerCase() === "object", S = kl(t).toLowerCase() === "null", N = kl(t).toLowerCase() === "undefined";
955
955
  for (let me = l.cachedOptions.size - 1; me >= 0; me--) {
956
- const Z = Ke.value[me];
957
- if (d ? le(Z.value, e.valueKey) === le(t, e.valueKey) : Z.value === t) {
956
+ const J = Ke.value[me];
957
+ if (d ? le(J.value, e.valueKey) === le(t, e.valueKey) : J.value === t) {
958
958
  i = {
959
959
  value: t,
960
- currentLabel: Z.currentLabel,
961
- isDisabled: Z.isDisabled
960
+ currentLabel: J.currentLabel,
961
+ isDisabled: J.isDisabled
962
962
  };
963
963
  break;
964
964
  }
965
965
  }
966
966
  if (i)
967
967
  return i;
968
- const W = d ? t.label : !C && !N ? t : "", ve = {
968
+ const H = d ? t.label : !S && !N ? t : "", ve = {
969
969
  value: t,
970
- currentLabel: W
970
+ currentLabel: H
971
971
  };
972
972
  return e.multiple && (ve.hitState = !1), ve;
973
973
  }, Ue = () => {
@@ -990,7 +990,7 @@ const Cn = (e, l, o) => {
990
990
  }, ye.value), ce = (t) => {
991
991
  Nl(e.modelValue, t) || o.emit(xl, t);
992
992
  }, G = (t) => Rt(t, (i) => !l.disabledOptions.has(i)), Le = (t) => {
993
- if (t.code !== Wl.delete) {
993
+ if (t.code !== Hl.delete) {
994
994
  if (t.target.value.length <= 0 && !Oe()) {
995
995
  const i = e.modelValue.slice(), d = G(i);
996
996
  if (d < 0)
@@ -1002,8 +1002,8 @@ const Cn = (e, l, o) => {
1002
1002
  }, ke = (t, i) => {
1003
1003
  const d = l.selected.indexOf(i);
1004
1004
  if (d > -1 && !j.value) {
1005
- const C = e.modelValue.slice();
1006
- C.splice(d, 1), o.emit(te, C), ce(C), o.emit("remove-tag", i.value);
1005
+ const S = e.modelValue.slice();
1006
+ S.splice(d, 1), o.emit(te, S), ce(S), o.emit("remove-tag", i.value);
1007
1007
  }
1008
1008
  t.stopPropagation(), h();
1009
1009
  }, we = (t) => {
@@ -1016,45 +1016,45 @@ const Cn = (e, l, o) => {
1016
1016
  }, $e = (t) => {
1017
1017
  var i;
1018
1018
  if (e.multiple) {
1019
- const d = (e.modelValue || []).slice(), C = Me(d, t.value);
1020
- C > -1 ? d.splice(C, 1) : (e.multipleLimit <= 0 || d.length < e.multipleLimit) && d.push(t.value), o.emit(te, d), ce(d), t.created && (l.query = "", B(""), l.inputLength = 20), e.filterable && ((i = p.value) == null || i.focus());
1019
+ const d = (e.modelValue || []).slice(), S = Ve(d, t.value);
1020
+ S > -1 ? d.splice(S, 1) : (e.multipleLimit <= 0 || d.length < e.multipleLimit) && d.push(t.value), o.emit(te, d), ce(d), t.created && (l.query = "", B(""), l.inputLength = 20), e.filterable && ((i = p.value) == null || i.focus());
1021
1021
  } else
1022
1022
  o.emit(te, t.value), ce(t.value), l.visible = !1;
1023
- Ve(), !l.visible && D(() => {
1023
+ Me(), !l.visible && D(() => {
1024
1024
  pe(t);
1025
1025
  });
1026
- }, Me = (t = [], i) => {
1026
+ }, Ve = (t = [], i) => {
1027
1027
  if (!vl(i))
1028
1028
  return t.indexOf(i);
1029
1029
  const d = e.valueKey;
1030
- let C = -1;
1031
- return t.some((N, W) => pl(le(N, d)) === le(i, d) ? (C = W, !0) : !1), C;
1032
- }, Ve = () => {
1030
+ let S = -1;
1031
+ return t.some((N, H) => pl(le(N, d)) === le(i, d) ? (S = H, !0) : !1), S;
1032
+ }, Me = () => {
1033
1033
  const t = p.value || u.value;
1034
1034
  t && (t == null || t.focus());
1035
1035
  }, pe = (t) => {
1036
- var i, d, C, N, W;
1036
+ var i, d, S, N, H;
1037
1037
  const ve = Array.isArray(t) ? t[0] : t;
1038
1038
  let me = null;
1039
1039
  if (ve != null && ve.value) {
1040
- const Z = P.value.filter((R) => R.value === ve.value);
1041
- Z.length > 0 && (me = Z[0].$el);
1040
+ const J = P.value.filter((R) => R.value === ve.value);
1041
+ J.length > 0 && (me = J[0].$el);
1042
1042
  }
1043
1043
  if (f.value && me) {
1044
- const Z = (N = (C = (d = (i = f.value) == null ? void 0 : i.popperRef) == null ? void 0 : d.contentRef) == null ? void 0 : C.querySelector) == null ? void 0 : N.call(C, `.${c.be("dropdown", "wrap")}`);
1045
- Z && zt(Z, me);
1044
+ const J = (N = (S = (d = (i = f.value) == null ? void 0 : i.popperRef) == null ? void 0 : d.contentRef) == null ? void 0 : S.querySelector) == null ? void 0 : N.call(S, `.${c.be("dropdown", "wrap")}`);
1045
+ J && zt(J, me);
1046
1046
  }
1047
- (W = F.value) == null || W.handleScroll();
1048
- }, Je = (t) => {
1047
+ (H = F.value) == null || H.handleScroll();
1048
+ }, Ze = (t) => {
1049
1049
  l.optionsCount++, l.filteredOptionsCount++, l.options.set(t.value, t), l.cachedOptions.set(t.value, t), t.disabled && l.disabledOptions.set(t.value, t);
1050
- }, Ze = (t, i) => {
1050
+ }, Je = (t, i) => {
1051
1051
  l.options.get(t) === i && (l.optionsCount--, l.filteredOptionsCount--, l.options.delete(t));
1052
1052
  }, xe = (t) => {
1053
- t.code !== Wl.backspace && Oe(!1), l.inputLength = p.value.value.length * 15 + 20, Q();
1053
+ t.code !== Hl.backspace && Oe(!1), l.inputLength = p.value.value.length * 15 + 20, Q();
1054
1054
  }, Oe = (t) => {
1055
1055
  if (!Array.isArray(l.selected))
1056
1056
  return;
1057
- const i = G(l.selected.map((C) => C.value)), d = l.selected[i];
1057
+ const i = G(l.selected.map((S) => S.value)), d = l.selected[i];
1058
1058
  if (d)
1059
1059
  return t === !0 || t === !1 ? (d.hitState = t, t) : (d.hitState = !d.hitState, d.hitState);
1060
1060
  }, _e = (t) => {
@@ -1072,12 +1072,12 @@ const Cn = (e, l, o) => {
1072
1072
  }, h = () => {
1073
1073
  var t, i;
1074
1074
  l.visible ? (t = p.value || u.value) == null || t.focus() : (i = u.value) == null || i.focus();
1075
- }, M = () => {
1075
+ }, V = () => {
1076
1076
  var t, i, d;
1077
1077
  l.visible = !1, (t = u.value) == null || t.blur(), (d = (i = b.value) == null ? void 0 : i.blur) == null || d.call(i);
1078
1078
  }, fe = (t) => {
1079
- var i, d, C;
1080
- (i = f.value) != null && i.isFocusInsideContent(t) || (d = w.value) != null && d.isFocusInsideContent(t) || (C = m.value) != null && C.contains(t.relatedTarget) || (l.visible && ul(), l.focused = !1, o.emit("blur", t));
1079
+ var i, d, S;
1080
+ (i = f.value) != null && i.isFocusInsideContent(t) || (d = w.value) != null && d.isFocusInsideContent(t) || (S = m.value) != null && S.contains(t.relatedTarget) || (l.visible && ul(), l.focused = !1, o.emit("blur", t));
1081
1081
  }, Ie = (t) => {
1082
1082
  we(t);
1083
1083
  }, ul = () => {
@@ -1088,7 +1088,7 @@ const Cn = (e, l, o) => {
1088
1088
  t && !l.mouseEnter || j.value || (l.menuVisibleOnFocus ? l.menuVisibleOnFocus = !1 : (!f.value || !f.value.isFocusInsideContent()) && (l.visible = !l.visible), h());
1089
1089
  }, dl = () => {
1090
1090
  l.visible ? P.value[l.hoverIndex] && $e(P.value[l.hoverIndex]) : el();
1091
- }, ll = (t) => vl(t.value) ? le(t.value, e.valueKey) : t.value, tl = v(() => P.value.filter((t) => t.visible).every((t) => t.disabled)), Cl = v(() => e.multiple ? l.selected.slice(0, e.maxCollapseTags) : []), Sl = v(() => e.multiple ? l.selected.slice(e.maxCollapseTags) : []), nl = (t) => {
1091
+ }, ll = (t) => vl(t.value) ? le(t.value, e.valueKey) : t.value, tl = v(() => P.value.filter((t) => t.visible).every((t) => t.disabled)), Sl = v(() => e.multiple ? l.selected.slice(0, e.maxCollapseTags) : []), Cl = v(() => e.multiple ? l.selected.slice(e.maxCollapseTags) : []), nl = (t) => {
1092
1092
  if (!l.visible) {
1093
1093
  l.visible = !0;
1094
1094
  return;
@@ -1103,8 +1103,8 @@ const Cn = (e, l, o) => {
1103
1103
  }, Ol = () => {
1104
1104
  l.mouseEnter = !1;
1105
1105
  }, Be = (t, i) => {
1106
- var d, C;
1107
- ke(t, i), (C = (d = w.value) == null ? void 0 : d.updatePopper) == null || C.call(d);
1106
+ var d, S;
1107
+ ke(t, i), (S = (d = w.value) == null ? void 0 : d.updatePopper) == null || S.call(d);
1108
1108
  }, Il = v(() => ({
1109
1109
  maxWidth: `${a(l.inputWidth) - 32 - (qe.value ? 22 : 0)}px`,
1110
1110
  width: "100%"
@@ -1124,7 +1124,7 @@ const Cn = (e, l, o) => {
1124
1124
  readonly: ne,
1125
1125
  resetInputHeight: Q,
1126
1126
  showClose: De,
1127
- iconComponent: J,
1127
+ iconComponent: Z,
1128
1128
  iconReverse: oe,
1129
1129
  showNewOption: re,
1130
1130
  collapseTagSize: je,
@@ -1135,12 +1135,12 @@ const Cn = (e, l, o) => {
1135
1135
  toggleLastOptionHitState: Oe,
1136
1136
  resetInputState: xe,
1137
1137
  handleComposition: _e,
1138
- onOptionCreate: Je,
1139
- onOptionDestroy: Ze,
1138
+ onOptionCreate: Ze,
1139
+ onOptionDestroy: Je,
1140
1140
  handleMenuEnter: Fe,
1141
1141
  handleFocus: r,
1142
1142
  focus: h,
1143
- blur: M,
1143
+ blur: V,
1144
1144
  handleBlur: fe,
1145
1145
  handleClearClick: Ie,
1146
1146
  handleClose: ul,
@@ -1153,8 +1153,8 @@ const Cn = (e, l, o) => {
1153
1153
  dropMenuVisible: Qe,
1154
1154
  queryChange: $,
1155
1155
  groupQueryChange: n,
1156
- showTagList: Cl,
1157
- collapseTagList: Sl,
1156
+ showTagList: Sl,
1157
+ collapseTagList: Cl,
1158
1158
  selectTagsStyle: Il,
1159
1159
  reference: u,
1160
1160
  input: p,
@@ -1168,7 +1168,7 @@ const Cn = (e, l, o) => {
1168
1168
  handleMouseLeave: Ol
1169
1169
  };
1170
1170
  };
1171
- var Sn = ge({
1171
+ var Cn = ge({
1172
1172
  name: "ElOptions",
1173
1173
  emits: ["update-options"],
1174
1174
  setup(e, { slots: l, emit: o }) {
@@ -1202,7 +1202,7 @@ const jl = "ElSelect", wn = ge({
1202
1202
  ElInput: sn,
1203
1203
  ElSelectMenu: gn,
1204
1204
  ElOption: Fl,
1205
- ElOptions: Sn,
1205
+ ElOptions: Cn,
1206
1206
  ElTag: pn,
1207
1207
  ElScrollbar: ft,
1208
1208
  ElTooltip: vt,
@@ -1333,7 +1333,7 @@ const jl = "ElSelect", wn = ge({
1333
1333
  resetInputHeight: ne,
1334
1334
  managePlaceholder: j,
1335
1335
  showClose: De,
1336
- selectDisabled: J,
1336
+ selectDisabled: Z,
1337
1337
  iconComponent: oe,
1338
1338
  iconReverse: qe,
1339
1339
  showNewOption: ye,
@@ -1347,9 +1347,9 @@ const jl = "ElSelect", wn = ge({
1347
1347
  handleFocus: Q,
1348
1348
  focus: B,
1349
1349
  blur: ue,
1350
- handleBlur: Ce,
1350
+ handleBlur: Se,
1351
1351
  handleClearClick: U,
1352
- handleClose: Se,
1352
+ handleClose: Ce,
1353
1353
  handleKeydownEscape: Ue,
1354
1354
  toggleMenu: Ge,
1355
1355
  selectOption: Ye,
@@ -1362,19 +1362,19 @@ const jl = "ElSelect", wn = ge({
1362
1362
  iOSInput: ke,
1363
1363
  tooltipRef: we,
1364
1364
  tagTooltipRef: $e,
1365
- tags: Me,
1366
- selectWrapper: Ve,
1365
+ tags: Ve,
1366
+ selectWrapper: Me,
1367
1367
  scrollbar: pe,
1368
- queryChange: Je,
1369
- groupQueryChange: Ze,
1368
+ queryChange: Ze,
1369
+ groupQueryChange: Je,
1370
1370
  handleMouseEnter: xe,
1371
1371
  handleMouseLeave: Oe,
1372
1372
  showTagList: _e,
1373
1373
  collapseTagList: Fe,
1374
1374
  selectTagsStyle: r
1375
- } = Cn(e, u, l), {
1375
+ } = Sn(e, u, l), {
1376
1376
  inputWidth: h,
1377
- selected: M,
1377
+ selected: V,
1378
1378
  inputLength: fe,
1379
1379
  filteredOptionsCount: Ie,
1380
1380
  visible: ul,
@@ -1383,32 +1383,32 @@ const jl = "ElSelect", wn = ge({
1383
1383
  query: dl,
1384
1384
  inputHovering: ll,
1385
1385
  currentPlaceholder: tl,
1386
- menuVisibleOnFocus: Cl,
1387
- isOnComposition: Sl,
1386
+ menuVisibleOnFocus: Sl,
1387
+ isOnComposition: Cl,
1388
1388
  options: nl,
1389
1389
  cachedOptions: wl,
1390
1390
  optionsCount: Ol,
1391
1391
  prefixWidth: Be
1392
- } = Vl(u), Il = v(() => {
1392
+ } = Ml(u), Il = v(() => {
1393
1393
  const R = [o.b()], ze = a(f);
1394
1394
  return ze && R.push(o.m(ze)), e.disabled && R.push(o.m("disabled")), R;
1395
1395
  }), t = v(() => [
1396
1396
  o.e("tags"),
1397
- o.is("disabled", a(J))
1397
+ o.is("disabled", a(Z))
1398
1398
  ]), i = v(() => [
1399
1399
  o.b("tags-wrapper"),
1400
- { "has-prefix": a(Be) && a(M).length }
1400
+ { "has-prefix": a(Be) && a(V).length }
1401
1401
  ]), d = v(() => [
1402
1402
  o.e("input"),
1403
1403
  o.is(a(f)),
1404
- o.is("disabled", a(J))
1405
- ]), C = v(() => [
1404
+ o.is("disabled", a(Z))
1405
+ ]), S = v(() => [
1406
1406
  o.e("input"),
1407
1407
  o.is(a(f)),
1408
1408
  o.em("input", "iOS")
1409
1409
  ]), N = v(() => [
1410
1410
  o.is("empty", !e.allowCreate && !!a(dl) && a(Ie) === 0)
1411
- ]), W = v(() => ({ maxWidth: `${a(h) > 123 ? a(h) - 123 : a(h) - 75}px` })), ve = v(() => ({
1411
+ ]), H = v(() => ({ maxWidth: `${a(h) > 123 ? a(h) - 123 : a(h) - 75}px` })), ve = v(() => ({
1412
1412
  marginLeft: `${a(Be)}px`,
1413
1413
  flexGrow: 1,
1414
1414
  width: `${a(fe) / (a(h) - 32)}%`,
@@ -1425,13 +1425,13 @@ const jl = "ElSelect", wn = ge({
1425
1425
  handleOptionSelect: T,
1426
1426
  onOptionCreate: ae,
1427
1427
  onOptionDestroy: je,
1428
- selectWrapper: Ve,
1429
- selected: M,
1428
+ selectWrapper: Me,
1429
+ selected: V,
1430
1430
  setSelected: q,
1431
- queryChange: Je,
1432
- groupQueryChange: Ze
1431
+ queryChange: Ze,
1432
+ groupQueryChange: Je
1433
1433
  })), ml(() => {
1434
- u.cachedPlaceHolder = tl.value = e.placeholder || (() => c("el.select.placeholder")), e.multiple && Array.isArray(e.modelValue) && e.modelValue.length > 0 && (tl.value = ""), zl(Ve, g), e.remote && e.multiple && ne(), D(() => {
1434
+ u.cachedPlaceHolder = tl.value = e.placeholder || (() => c("el.select.placeholder")), e.multiple && Array.isArray(e.modelValue) && e.modelValue.length > 0 && (tl.value = ""), zl(Me, g), e.remote && e.multiple && ne(), D(() => {
1435
1435
  const R = G.value && G.value.$el;
1436
1436
  if (R && (h.value = R.getBoundingClientRect().width, l.slots.prefix)) {
1437
1437
  const ze = R.querySelector(`.${s.e("prefix")}`);
@@ -1462,7 +1462,7 @@ const jl = "ElSelect", wn = ge({
1462
1462
  handleOptionSelect: T,
1463
1463
  scrollToOption: E,
1464
1464
  inputWidth: h,
1465
- selected: M,
1465
+ selected: V,
1466
1466
  inputLength: fe,
1467
1467
  filteredOptionsCount: Ie,
1468
1468
  visible: ul,
@@ -1471,13 +1471,13 @@ const jl = "ElSelect", wn = ge({
1471
1471
  query: dl,
1472
1472
  inputHovering: ll,
1473
1473
  currentPlaceholder: tl,
1474
- menuVisibleOnFocus: Cl,
1475
- isOnComposition: Sl,
1474
+ menuVisibleOnFocus: Sl,
1475
+ isOnComposition: Cl,
1476
1476
  options: nl,
1477
1477
  resetInputHeight: ne,
1478
1478
  managePlaceholder: j,
1479
1479
  showClose: De,
1480
- selectDisabled: J,
1480
+ selectDisabled: Z,
1481
1481
  iconComponent: oe,
1482
1482
  iconReverse: qe,
1483
1483
  showNewOption: ye,
@@ -1489,9 +1489,9 @@ const jl = "ElSelect", wn = ge({
1489
1489
  handleFocus: Q,
1490
1490
  focus: B,
1491
1491
  blur: ue,
1492
- handleBlur: Ce,
1492
+ handleBlur: Se,
1493
1493
  handleClearClick: U,
1494
- handleClose: Se,
1494
+ handleClose: Ce,
1495
1495
  handleKeydownEscape: Ue,
1496
1496
  toggleMenu: Ge,
1497
1497
  selectOption: Ye,
@@ -1503,18 +1503,18 @@ const jl = "ElSelect", wn = ge({
1503
1503
  iOSInput: ke,
1504
1504
  tooltipRef: we,
1505
1505
  popperPaneRef: me,
1506
- tags: Me,
1507
- selectWrapper: Ve,
1506
+ tags: Ve,
1507
+ selectWrapper: Me,
1508
1508
  scrollbar: pe,
1509
1509
  wrapperKls: Il,
1510
1510
  tagsKls: t,
1511
1511
  tagWrapperKls: i,
1512
1512
  inputKls: d,
1513
- iOSInputKls: C,
1513
+ iOSInputKls: S,
1514
1514
  scrollbarKls: N,
1515
1515
  selectTagsStyle: r,
1516
1516
  nsSelect: o,
1517
- tagTextStyle: W,
1517
+ tagTextStyle: H,
1518
1518
  inputStyle: ve,
1519
1519
  handleMouseEnter: xe,
1520
1520
  handleMouseLeave: Oe,
@@ -1526,9 +1526,9 @@ const jl = "ElSelect", wn = ge({
1526
1526
  }), On = ["disabled", "autocomplete", "aria-label"], In = ["disabled"], En = { style: { height: "100%", display: "flex", "justify-content": "center", "align-items": "center" } };
1527
1527
  function Tn(e, l, o, s, c, u) {
1528
1528
  const p = Ee("el-tag"), b = Ee("el-tooltip"), f = Ee("el-icon"), w = Ee("el-input"), g = Ee("el-option"), m = Ee("el-options"), F = Ee("el-scrollbar"), A = Ee("el-select-menu"), $ = st("click-outside");
1529
- return We((y(), k("div", {
1529
+ return He((y(), k("div", {
1530
1530
  ref: "selectWrapper",
1531
- class: S(e.wrapperKls),
1531
+ class: C(e.wrapperKls),
1532
1532
  onMouseenter: l[22] || (l[22] = (...n) => e.handleMouseEnter && e.handleMouseEnter(...n)),
1533
1533
  onMouseleave: l[23] || (l[23] = (...n) => e.handleMouseLeave && e.handleMouseLeave(...n)),
1534
1534
  onClick: l[24] || (l[24] = ee((...n) => e.toggleMenu && e.toggleMenu(...n), ["stop"]))
@@ -1560,19 +1560,19 @@ function Tn(e, l, o, s, c, u) {
1560
1560
  key: 0,
1561
1561
  ref: "tags",
1562
1562
  tabindex: "-1",
1563
- class: S(e.tagsKls),
1563
+ class: C(e.tagsKls),
1564
1564
  style: se(e.selectTagsStyle),
1565
1565
  onClick: l[15] || (l[15] = (...n) => e.focus && e.focus(...n))
1566
1566
  }, [
1567
- e.collapseTags && e.selected.length ? (y(), V($l, {
1567
+ e.collapseTags && e.selected.length ? (y(), M($l, {
1568
1568
  key: 0,
1569
1569
  onAfterLeave: e.resetInputHeight
1570
1570
  }, {
1571
1571
  default: L(() => [
1572
1572
  z("span", {
1573
- class: S(e.tagWrapperKls)
1573
+ class: C(e.tagWrapperKls)
1574
1574
  }, [
1575
- (y(!0), k(Ae, null, Tl(e.showTagList, (n) => (y(), V(p, {
1575
+ (y(!0), k(Ae, null, Tl(e.showTagList, (n) => (y(), M(p, {
1576
1576
  key: e.getValueKey(n),
1577
1577
  closable: !e.selectDisabled && !n.isDisabled,
1578
1578
  size: e.collapseTagSize,
@@ -1583,13 +1583,13 @@ function Tn(e, l, o, s, c, u) {
1583
1583
  }, {
1584
1584
  default: L(() => [
1585
1585
  z("span", {
1586
- class: S(e.nsSelect.e("tags-text")),
1586
+ class: C(e.nsSelect.e("tags-text")),
1587
1587
  style: se(e.tagTextStyle)
1588
1588
  }, Y(n.currentLabel), 7)
1589
1589
  ]),
1590
1590
  _: 2
1591
1591
  }, 1032, ["closable", "size", "hit", "type", "onClose"]))), 128)),
1592
- e.selected.length > e.maxCollapseTags ? (y(), V(p, {
1592
+ e.selected.length > e.maxCollapseTags ? (y(), M(p, {
1593
1593
  key: 0,
1594
1594
  closable: !1,
1595
1595
  size: e.collapseTagSize,
@@ -1597,7 +1597,7 @@ function Tn(e, l, o, s, c, u) {
1597
1597
  "disable-transitions": ""
1598
1598
  }, {
1599
1599
  default: L(() => [
1600
- e.collapseTagsTooltip ? (y(), V(b, {
1600
+ e.collapseTagsTooltip ? (y(), M(b, {
1601
1601
  key: 0,
1602
1602
  ref: "tagTooltipRef",
1603
1603
  disabled: e.dropMenuVisible,
@@ -1608,16 +1608,16 @@ function Tn(e, l, o, s, c, u) {
1608
1608
  }, {
1609
1609
  default: L(() => [
1610
1610
  z("span", {
1611
- class: S(e.nsSelect.e("tags-text"))
1611
+ class: C(e.nsSelect.e("tags-text"))
1612
1612
  }, "+ " + Y(e.selected.length - e.maxCollapseTags), 3)
1613
1613
  ]),
1614
1614
  content: L(() => [
1615
1615
  z("div", {
1616
- class: S(e.nsSelect.e("collapse-tags"))
1616
+ class: C(e.nsSelect.e("collapse-tags"))
1617
1617
  }, [
1618
1618
  (y(!0), k(Ae, null, Tl(e.collapseTagList, (n) => (y(), k("div", {
1619
1619
  key: e.getValueKey(n),
1620
- class: S(e.nsSelect.e("collapse-tag"))
1620
+ class: C(e.nsSelect.e("collapse-tag"))
1621
1621
  }, [
1622
1622
  he(p, {
1623
1623
  class: "in-tooltip",
@@ -1631,7 +1631,7 @@ function Tn(e, l, o, s, c, u) {
1631
1631
  }, {
1632
1632
  default: L(() => [
1633
1633
  z("span", {
1634
- class: S(e.nsSelect.e("tags-text")),
1634
+ class: C(e.nsSelect.e("tags-text")),
1635
1635
  style: se({
1636
1636
  maxWidth: e.inputWidth - 75 + "px"
1637
1637
  })
@@ -1645,7 +1645,7 @@ function Tn(e, l, o, s, c, u) {
1645
1645
  _: 1
1646
1646
  }, 8, ["disabled", "effect", "teleported"])) : (y(), k("span", {
1647
1647
  key: 1,
1648
- class: S(e.nsSelect.e("tags-text"))
1648
+ class: C(e.nsSelect.e("tags-text"))
1649
1649
  }, "+ " + Y(e.selected.length - e.maxCollapseTags), 3))
1650
1650
  ]),
1651
1651
  _: 1
@@ -1654,16 +1654,16 @@ function Tn(e, l, o, s, c, u) {
1654
1654
  ]),
1655
1655
  _: 1
1656
1656
  }, 8, ["onAfterLeave"])) : I("v-if", !0),
1657
- e.collapseTags ? I("v-if", !0) : (y(), V($l, {
1657
+ e.collapseTags ? I("v-if", !0) : (y(), M($l, {
1658
1658
  key: 1,
1659
1659
  onAfterLeave: e.resetInputHeight
1660
1660
  }, {
1661
1661
  default: L(() => [
1662
1662
  z("span", {
1663
- class: S(e.tagWrapperKls),
1663
+ class: C(e.tagWrapperKls),
1664
1664
  style: se(e.prefixWidth && e.selected.length ? { marginLeft: `${e.prefixWidth}px` } : "")
1665
1665
  }, [
1666
- (y(!0), k(Ae, null, Tl(e.selected, (n) => (y(), V(p, {
1666
+ (y(!0), k(Ae, null, Tl(e.selected, (n) => (y(), M(p, {
1667
1667
  key: e.getValueKey(n),
1668
1668
  closable: !e.selectDisabled && !n.isDisabled,
1669
1669
  size: e.collapseTagSize,
@@ -1674,7 +1674,7 @@ function Tn(e, l, o, s, c, u) {
1674
1674
  }, {
1675
1675
  default: L(() => [
1676
1676
  z("span", {
1677
- class: S(e.nsSelect.e("tags-text")),
1677
+ class: C(e.nsSelect.e("tags-text")),
1678
1678
  style: se({ maxWidth: e.inputWidth - 75 + "px" })
1679
1679
  }, Y(n.currentLabel), 7)
1680
1680
  ]),
@@ -1684,12 +1684,12 @@ function Tn(e, l, o, s, c, u) {
1684
1684
  ]),
1685
1685
  _: 1
1686
1686
  }, 8, ["onAfterLeave"])),
1687
- e.filterable && !e.selectDisabled ? We((y(), k("input", {
1687
+ e.filterable && !e.selectDisabled ? He((y(), k("input", {
1688
1688
  key: 2,
1689
1689
  ref: "input",
1690
1690
  "onUpdate:modelValue": l[0] || (l[0] = (n) => e.query = n),
1691
1691
  type: "text",
1692
- class: S(e.inputKls),
1692
+ class: C(e.inputKls),
1693
1693
  disabled: e.selectDisabled,
1694
1694
  autocomplete: e.autocomplete,
1695
1695
  style: se(e.inputStyle),
@@ -1718,7 +1718,7 @@ function Tn(e, l, o, s, c, u) {
1718
1718
  e.isIOS && !e.multiple && e.filterable && e.readonly ? (y(), k("input", {
1719
1719
  key: 1,
1720
1720
  ref: "iOSInput",
1721
- class: S(e.iOSInputKls),
1721
+ class: C(e.iOSInputKls),
1722
1722
  disabled: e.selectDisabled,
1723
1723
  type: "text"
1724
1724
  }, null, 10, In)) : I("v-if", !0),
@@ -1735,7 +1735,7 @@ function Tn(e, l, o, s, c, u) {
1735
1735
  disabled: e.selectDisabled,
1736
1736
  readonly: e.readonly,
1737
1737
  "validate-event": !1,
1738
- class: S([e.nsSelect.is("focus", e.visible)]),
1738
+ class: C([e.nsSelect.is("focus", e.visible)]),
1739
1739
  tabindex: e.multiple && e.filterable ? -1 : void 0,
1740
1740
  label: e.ariaLabel,
1741
1741
  onFocus: e.handleFocus,
@@ -1754,22 +1754,22 @@ function Tn(e, l, o, s, c, u) {
1754
1754
  ]
1755
1755
  }, ut({
1756
1756
  suffix: L(() => [
1757
- e.iconComponent && !e.showClose ? (y(), V(f, {
1757
+ e.iconComponent && !e.showClose ? (y(), M(f, {
1758
1758
  key: 0,
1759
- class: S([e.nsSelect.e("caret"), e.nsSelect.e("icon"), e.iconReverse])
1759
+ class: C([e.nsSelect.e("caret"), e.nsSelect.e("icon"), e.iconReverse])
1760
1760
  }, {
1761
1761
  default: L(() => [
1762
- (y(), V(Ne(e.iconComponent)))
1762
+ (y(), M(Ne(e.iconComponent)))
1763
1763
  ]),
1764
1764
  _: 1
1765
1765
  }, 8, ["class"])) : I("v-if", !0),
1766
- e.showClose && e.clearIcon ? (y(), V(f, {
1766
+ e.showClose && e.clearIcon ? (y(), M(f, {
1767
1767
  key: 1,
1768
- class: S([e.nsSelect.e("caret"), e.nsSelect.e("icon")]),
1768
+ class: C([e.nsSelect.e("caret"), e.nsSelect.e("icon")]),
1769
1769
  onClick: e.handleClearClick
1770
1770
  }, {
1771
1771
  default: L(() => [
1772
- (y(), V(Ne(e.clearIcon)))
1772
+ (y(), M(Ne(e.clearIcon)))
1773
1773
  ]),
1774
1774
  _: 1
1775
1775
  }, 8, ["class", "onClick"])) : I("v-if", !0)
@@ -1790,15 +1790,15 @@ function Tn(e, l, o, s, c, u) {
1790
1790
  content: L(() => [
1791
1791
  he(A, null, {
1792
1792
  default: L(() => [
1793
- We(he(F, {
1793
+ He(he(F, {
1794
1794
  ref: "scrollbar",
1795
1795
  tag: "ul",
1796
1796
  "wrap-class": e.nsSelect.be("dropdown", "wrap"),
1797
1797
  "view-class": e.nsSelect.be("dropdown", "list"),
1798
- class: S(e.scrollbarKls)
1798
+ class: C(e.scrollbarKls)
1799
1799
  }, {
1800
1800
  default: L(() => [
1801
- e.showNewOption ? (y(), V(g, {
1801
+ e.showNewOption ? (y(), M(g, {
1802
1802
  key: 0,
1803
1803
  value: e.query,
1804
1804
  created: !0
@@ -1817,7 +1817,7 @@ function Tn(e, l, o, s, c, u) {
1817
1817
  e.emptyText && (!e.allowCreate || e.loading || e.allowCreate && e.options.size === 0) ? (y(), k(Ae, { key: 0 }, [
1818
1818
  e.$slots.empty ? X(e.$slots, "empty", { key: 0 }) : (y(), k("p", {
1819
1819
  key: 1,
1820
- class: S(e.nsSelect.be("dropdown", "empty"))
1820
+ class: C(e.nsSelect.be("dropdown", "empty"))
1821
1821
  }, Y(e.emptyText), 3))
1822
1822
  ], 64)) : I("v-if", !0)
1823
1823
  ]),
@@ -1830,7 +1830,7 @@ function Tn(e, l, o, s, c, u) {
1830
1830
  [$, e.handleClose, e.popperPaneRef]
1831
1831
  ]);
1832
1832
  }
1833
- var Ln = /* @__PURE__ */ He(wn, [["render", Tn], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);
1833
+ var Ln = /* @__PURE__ */ We(wn, [["render", Tn], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);
1834
1834
  const kn = ge({
1835
1835
  name: "ElOptionGroup",
1836
1836
  componentName: "ElOptionGroup",
@@ -1841,7 +1841,7 @@ const kn = ge({
1841
1841
  setup(e) {
1842
1842
  const l = be("select"), o = K(!0), s = sl(), c = K([]);
1843
1843
  Ql(lt, bl({
1844
- ...Vl(e)
1844
+ ...Ml(e)
1845
1845
  }));
1846
1846
  const u = cl(gl);
1847
1847
  ml(() => {
@@ -1854,7 +1854,7 @@ const kn = ge({
1854
1854
  g.type && g.type.name === "ElOption" && g.component && g.component.proxy ? w.push(g.component.proxy) : (m = g.children) != null && m.length && w.push(...p(g));
1855
1855
  }), w;
1856
1856
  }, { groupQueryChange: b } = pl(u);
1857
- return H(b, () => {
1857
+ return W(b, () => {
1858
1858
  o.value = c.value.some((f) => f.visible === !0);
1859
1859
  }, { flush: "post" }), {
1860
1860
  visible: o,
@@ -1863,15 +1863,15 @@ const kn = ge({
1863
1863
  }
1864
1864
  });
1865
1865
  function $n(e, l, o, s, c, u) {
1866
- return We((y(), k("ul", {
1867
- class: S(e.ns.be("group", "wrap"))
1866
+ return He((y(), k("ul", {
1867
+ class: C(e.ns.be("group", "wrap"))
1868
1868
  }, [
1869
1869
  z("li", {
1870
- class: S(e.ns.be("group", "title"))
1870
+ class: C(e.ns.be("group", "title"))
1871
1871
  }, Y(e.label), 3),
1872
1872
  z("li", null, [
1873
1873
  z("ul", {
1874
- class: S(e.ns.b("group"))
1874
+ class: C(e.ns.b("group"))
1875
1875
  }, [
1876
1876
  X(e.$slots, "default")
1877
1877
  ], 2)
@@ -1880,12 +1880,12 @@ function $n(e, l, o, s, c, u) {
1880
1880
  [hl, e.visible]
1881
1881
  ]);
1882
1882
  }
1883
- var tt = /* @__PURE__ */ He(kn, [["render", $n], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);
1883
+ var tt = /* @__PURE__ */ We(kn, [["render", $n], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);
1884
1884
  const Bn = Dl(Ln, {
1885
1885
  Option: Fl,
1886
1886
  OptionGroup: tt
1887
- }), Nn = Zl(Fl);
1888
- Zl(tt);
1887
+ }), Nn = Jl(Fl);
1888
+ Jl(tt);
1889
1889
  export {
1890
1890
  Nn as E,
1891
1891
  Bn as a,