st-comp 0.0.86 → 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 (72) hide show
  1. package/components.d.ts +1 -0
  2. package/es/ChartLayout.cjs +1 -1
  3. package/es/ChartLayout.js +2 -2
  4. package/es/Dialog.cjs +1 -1
  5. package/es/Dialog.js +10 -10
  6. package/es/Kline.cjs +1 -1
  7. package/es/Kline.js +89 -89
  8. package/es/KlineNew.cjs +1 -1
  9. package/es/KlineNew.js +7 -7
  10. package/es/Pagination.cjs +1 -1
  11. package/es/Pagination.js +138 -138
  12. package/es/Table.cjs +1 -20
  13. package/es/Table.js +390 -3589
  14. package/es/TreeMap.cjs +1 -2
  15. package/es/TreeMap.js +1 -163
  16. package/es/VarietySearch.cjs +2 -2
  17. package/es/VarietySearch.js +1551 -1391
  18. package/es/VirtualTable.cjs +4 -4
  19. package/es/VirtualTable.js +100 -100
  20. package/es/{base-4865d432.cjs → base-2b869b95.cjs} +1 -1
  21. package/es/{base-6faccb01.js → base-5e2578a9.js} +65 -65
  22. package/es/{castArray-bdee0d50.js → castArray-9b96e1ad.js} +1 -1
  23. package/es/castArray-adec592d.cjs +1 -0
  24. package/es/{config-provider-465c8253.cjs → config-provider-25d2db4b.cjs} +1 -1
  25. package/es/{config-provider-be0e9c36.js → config-provider-ddbd0b1c.js} +11 -11
  26. package/es/{el-button-aad5268b.cjs → el-button-8fca9a5d.cjs} +1 -1
  27. package/es/{el-button-1b9c4fd6.js → el-button-daeb181f.js} +56 -56
  28. package/es/{el-empty-348c46f7.js → el-empty-b1d5d1e4.js} +4 -4
  29. package/es/{el-empty-608948d9.cjs → el-empty-d83469ab.cjs} +1 -1
  30. package/es/el-icon-0bfbe0c8.js +3795 -0
  31. package/es/el-icon-19bc1691.cjs +20 -0
  32. package/es/{el-overlay-4713107e.cjs → el-overlay-88994e77.cjs} +2 -2
  33. package/es/{el-overlay-400ac6ce.js → el-overlay-fcd84f34.js} +46 -46
  34. package/es/{el-scrollbar-83abe3de.js → el-scrollbar-0f49204a.js} +46 -46
  35. package/es/{el-scrollbar-bc381e35.cjs → el-scrollbar-43353984.cjs} +1 -1
  36. package/es/{el-select-895360ba.js → el-select-1a2f2c95.js} +285 -285
  37. package/es/el-select-c3d21536.cjs +9 -0
  38. package/es/{el-tag-30cecca3.js → el-tag-1e32cb79.js} +122 -122
  39. package/es/el-tag-7737bede.cjs +1 -0
  40. package/es/{focus-trap-a169f160.cjs → focus-trap-19c04a47.cjs} +1 -1
  41. package/es/{focus-trap-5ac78614.js → focus-trap-82e6ab3c.js} +18 -18
  42. package/es/{raf-92c5ed6d.js → raf-7414f3eb.js} +1 -1
  43. package/es/{raf-5e5c53db.cjs → raf-a8539dc6.cjs} +1 -1
  44. package/es/{scroll-bb8039ba.cjs → scroll-5ec08336.cjs} +1 -1
  45. package/es/{scroll-264c50f3.js → scroll-8d15ce5a.js} +1 -1
  46. package/es/style.css +1 -1
  47. package/es/{use-form-item-6cef6b15.cjs → use-form-item-3d2a7ac7.cjs} +2 -2
  48. package/es/{use-form-item-0e9cae13.js → use-form-item-ea29755c.js} +138 -137
  49. package/es/use-global-config-3496cd4f.cjs +1 -0
  50. package/es/use-global-config-9eba4e5e.js +110 -0
  51. package/es/{vnode-b78096e3.js → vnode-2ad5aae4.js} +4 -4
  52. package/es/{vnode-abafec9e.cjs → vnode-b447c505.cjs} +1 -1
  53. package/es/{zh-cn-e4d38144.cjs → zh-cn-35bd18a8.cjs} +1 -1
  54. package/es/{zh-cn-8aaa7dd2.js → zh-cn-6a7c1846.js} +2 -2
  55. package/lib/bundle.js +1 -1
  56. package/lib/bundle.umd.cjs +153 -153
  57. package/lib/{index-137cb843.js → index-cf938a55.js} +18765 -18608
  58. package/lib/{python-02b0f7eb.js → python-40015c17.js} +1 -1
  59. package/lib/style.css +1 -1
  60. package/package.json +1 -1
  61. package/packages/VarietySearch/components/CommonIndicator/index.vue +190 -59
  62. package/packages/VarietySearch/components/FactorScreen/index.vue +84 -27
  63. package/packages/VarietySearch/config.js +41 -12
  64. package/packages/VarietySearch/index.vue +67 -12
  65. package/src/pages/VarietySearch/index.vue +70 -11
  66. package/es/castArray-3341cbb4.cjs +0 -1
  67. package/es/el-icon-158ddc19.cjs +0 -1
  68. package/es/el-icon-d385d377.js +0 -593
  69. package/es/el-select-7116533b.cjs +0 -9
  70. package/es/el-tag-2c7e5d4a.cjs +0 -1
  71. package/es/use-global-config-17f3d7c7.cjs +0 -1
  72. package/es/use-global-config-8c9c775f.js +0 -110
@@ -1,11 +1,11 @@
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 L, 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 k, 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 Fl } from "./el-scrollbar-83abe3de.js";
3
- import { f as pt, i as Nl, j as ft, E as vt, C as mt, g as ht, t as bt } from "./el-tag-30cecca3.js";
4
- import { A as gt, c as Ul, n as yt, i as fl, t as Gl, v as Ct, l as Pl, s as St, V as Yl, B as wt, D as Ot, E as Te, F as Xl, G as Rl, u as It, a as Et } from "./use-form-item-0e9cae13.js";
5
- import { C as Al, j as il, Q as Tt, k as Ml, b as Zl, d as kl, i as al, u as be, N as kt, _ as We, e as vl, w as Dl, B as le, g as Kl, H as Pe, E as Lt, R as Ll, T as $t, f as Jl } from "./base-6faccb01.js";
6
- import { m as Mt } from "./typescript-7ae59c4c.js";
7
- import { U as te, i as Vt, E as Hl, C as xl } from "./focus-trap-5ac78614.js";
8
- import { s as zt } from "./scroll-264c50f3.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
10
  var Wl = 1 / 0, At = 17976931348623157e292;
11
11
  function Dt(e) {
@@ -21,19 +21,19 @@ function Kt(e) {
21
21
  var l = Dt(e), o = l % 1;
22
22
  return l === l ? o ? l - o : l : 0;
23
23
  }
24
- function Bt(e, l, o, s) {
24
+ function Ft(e, l, o, s) {
25
25
  for (var c = e.length, u = o + (s ? 1 : -1); s ? u-- : ++u < c; )
26
26
  if (l(e[u], u, e))
27
27
  return u;
28
28
  return -1;
29
29
  }
30
- var Ft = Math.max, Nt = Math.min;
30
+ var Bt = Math.max, Nt = Math.min;
31
31
  function Rt(e, l, o) {
32
32
  var s = e == null ? 0 : e.length;
33
33
  if (!s)
34
34
  return -1;
35
35
  var c = s - 1;
36
- return o !== void 0 && (c = Kt(o), c = o < 0 ? Ft(s + c, 0) : Nt(c, s - 1)), Bt(e, pt(l), c, !0);
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
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();
@@ -136,11 +136,11 @@ function ql(e, l = 1, o) {
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
  }
@@ -154,7 +154,7 @@ const xt = Zl({
154
154
  size: yt,
155
155
  disabled: Boolean,
156
156
  modelValue: {
157
- type: kl([
157
+ type: Ll([
158
158
  String,
159
159
  Number,
160
160
  Object
@@ -170,7 +170,7 @@ const xt = Zl({
170
170
  values: ["none", "both", "horizontal", "vertical"]
171
171
  },
172
172
  autosize: {
173
- type: kl([Boolean, Object]),
173
+ type: Ll([Boolean, Object]),
174
174
  default: !1
175
175
  },
176
176
  autocomplete: {
@@ -228,8 +228,8 @@ const xt = Zl({
228
228
  default: !0
229
229
  },
230
230
  inputStyle: {
231
- type: kl([Object, Array, String]),
232
- default: () => Mt({})
231
+ type: Ll([Object, Array, String]),
232
+ default: () => Vt({})
233
233
  },
234
234
  autofocus: {
235
235
  type: Boolean,
@@ -270,7 +270,7 @@ const xt = Zl({
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 = Zl({
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: B } = 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(), Z = 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)));
@@ -295,20 +295,20 @@ const xt = Zl({
295
295
  s.inputStyle,
296
296
  Z.value,
297
297
  { resize: s.resize }
298
- ]), F = v(() => Vt(s.modelValue) ? "" : String(s.modelValue)), ue = v(() => s.clearable && !$.value && !s.readonly && !!F.value && (ye.value || q.value)), Ce = v(() => s.showPassword && !$.value && !s.readonly && !!F.value && (!!F.value || ye.value)), U = v(() => s.showWordLimit && !!w.value.maxlength && (s.type === "text" || s.type === "textarea") && !$.value && !s.readonly && !s.showPassword), Se = v(() => F.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);
311
+ const V = vl(h) ? h.minRows : void 0, fe = vl(h) ? h.maxRows : void 0, Ie = ql(E.value, V, fe);
312
312
  Z.value = {
313
313
  overflowY: "hidden",
314
314
  ...Ie
@@ -322,36 +322,36 @@ const xt = Zl({
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
- const r = oe.value, h = s.formatter ? s.formatter(F.value) : F.value;
331
+ const r = oe.value, h = s.formatter ? s.formatter(B.value) : B.value;
332
332
  !r || r.value === h || (r.value = h);
333
- }, ke = async (r) => {
333
+ }, Le = async (r) => {
334
334
  Ye();
335
335
  let { value: h } = r.target;
336
336
  if (s.formatter && (h = s.parser ? s.parser(h) : h), !ne.value) {
337
- if (h === F.value) {
337
+ if (h === B.value) {
338
338
  G();
339
339
  return;
340
340
  }
341
341
  o(te, h), o("input", h), await D(), G(), Xe();
342
342
  }
343
- }, Le = (r) => {
343
+ }, ke = (r) => {
344
344
  o("change", r.target.value);
345
345
  }, we = (r) => {
346
346
  o("compositionstart", r), ne.value = !0;
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) => {
353
- o("compositionend", r), ne.value && (ne.value = !1, ke(r));
354
- }, Ve = () => {
352
+ }, Ve = (r) => {
353
+ o("compositionend", r), ne.value && (ne.value = !1, Le(r));
354
+ }, Me = () => {
355
355
  j.value = !j.value, pe();
356
356
  }, pe = async () => {
357
357
  var r;
@@ -368,13 +368,13 @@ const xt = Zl({
368
368
  }, _e = () => {
369
369
  var r;
370
370
  (r = oe.value) == null || r.select();
371
- }, Be = () => {
371
+ }, Fe = () => {
372
372
  o(te, ""), o("change", ""), o("clear"), o("input", "");
373
373
  };
374
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
- }), W(F, () => G()), W(() => 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);
@@ -387,9 +387,9 @@ const xt = Zl({
387
387
  focus: pe,
388
388
  blur: Ze,
389
389
  select: _e,
390
- clear: Be,
390
+ clear: Fe,
391
391
  resizeTextarea: de
392
- }), (r, h) => He((y(), L("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,
@@ -397,41 +397,41 @@ const xt = Zl({
397
397
  onMouseleave: Je
398
398
  }), [
399
399
  I(" input "),
400
- r.type !== "textarea" ? (y(), L(Ae, { key: 0 }, [
400
+ r.type !== "textarea" ? (y(), k(Ae, { key: 0 }, [
401
401
  I(" prepend slot "),
402
- r.$slots.prepend ? (y(), L("div", {
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
- r.$slots.prefix || r.prefixIcon ? (y(), L("span", {
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
- default: k(() => [
427
- (y(), V(Ne(r.prefixIcon)))
426
+ default: L(() => [
427
+ (y(), M(Ne(r.prefixIcon)))
428
428
  ]),
429
429
  _: 1
430
430
  }, 8, ["class"])) : I("v-if", !0)
431
431
  ], 2)
432
432
  ], 2)) : I("v-if", !0),
433
433
  z("input", El({
434
- id: a(B),
434
+ id: a(F),
435
435
  ref_key: "input",
436
436
  ref: T,
437
437
  class: a(n).e("inner")
@@ -450,72 +450,72 @@ const xt = Zl({
450
450
  autofocus: s.autofocus,
451
451
  onCompositionstart: we,
452
452
  onCompositionupdate: $e,
453
- onCompositionend: Me,
454
- onInput: ke,
455
- onFocus: h[0] || (h[0] = (...M) => a(ie) && a(ie)(...M)),
456
- onBlur: h[1] || (h[1] = (...M) => a(P) && a(P)(...M)),
457
- onChange: Le,
453
+ onCompositionend: Ve,
454
+ onInput: Le,
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
+ onChange: ke,
458
458
  onKeydown: Oe
459
459
  }), null, 16, ln),
460
460
  I(" suffix slot "),
461
- a(Ge) ? (y(), L("span", {
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(), L(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
- default: k(() => [
475
- (y(), V(Ne(r.suffixIcon)))
474
+ default: L(() => [
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")]),
483
- onMousedown: ee(a(kt), ["prevent"]),
484
- onClick: Be
482
+ class: C([a(n).e("icon"), a(n).e("clear")]),
483
+ onMousedown: ee(a(Lt), ["prevent"]),
484
+ onClick: Fe
485
485
  }, {
486
- default: k(() => [
486
+ default: L(() => [
487
487
  he(a(Xl))
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
- default: k(() => [
497
- (y(), V(Ne(a(je))))
496
+ default: L(() => [
497
+ (y(), M(Ne(a(je))))
498
498
  ]),
499
499
  _: 1
500
500
  }, 8, ["class"])) : I("v-if", !0),
501
- a(U) ? (y(), L("span", {
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
- default: k(() => [
518
- (y(), V(Ne(a(ae))))
517
+ default: L(() => [
518
+ (y(), M(Ne(a(ae))))
519
519
  ]),
520
520
  _: 1
521
521
  }, 8, ["class"])) : I("v-if", !0)
@@ -523,16 +523,16 @@ const xt = Zl({
523
523
  ], 2)) : I("v-if", !0)
524
524
  ], 2),
525
525
  I(" append slot "),
526
- r.$slots.append ? (y(), L("div", {
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)
532
- ], 64)) : (y(), L(Ae, { key: 1 }, [
532
+ ], 64)) : (y(), k(Ae, { key: 1 }, [
533
533
  I(" textarea "),
534
534
  z("textarea", El({
535
- id: a(B),
535
+ id: a(F),
536
536
  ref_key: "textarea",
537
537
  ref: E,
538
538
  class: a(O).e("inner")
@@ -548,18 +548,18 @@ const xt = Zl({
548
548
  autofocus: s.autofocus,
549
549
  onCompositionstart: we,
550
550
  onCompositionupdate: $e,
551
- onCompositionend: Me,
552
- onInput: ke,
553
- onFocus: h[2] || (h[2] = (...M) => a(ie) && a(ie)(...M)),
554
- onBlur: h[3] || (h[3] = (...M) => a(P) && a(P)(...M)),
555
- onChange: Le,
551
+ onCompositionend: Ve,
552
+ onInput: Le,
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
+ onChange: ke,
556
556
  onKeydown: Oe
557
557
  }), null, 16, tn),
558
- a(U) ? (y(), L("span", {
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"]
@@ -602,7 +602,7 @@ const sn = Dl(an), et = Zl({
602
602
  emits: rn,
603
603
  setup(e, { emit: l }) {
604
604
  const o = e, s = Pl(), c = be("tag"), u = v(() => {
605
- const { type: f, hit: w, effect: g, closable: m, round: B } = o;
605
+ const { type: f, hit: w, effect: g, closable: m, round: F } = o;
606
606
  return [
607
607
  c.b(),
608
608
  c.is("closable", m),
@@ -610,56 +610,56 @@ const sn = Dl(an), et = Zl({
610
610
  c.m(s.value),
611
611
  c.m(g),
612
612
  c.is("hit", w),
613
- c.is("round", B)
613
+ c.is("round", F)
614
614
  ];
615
615
  }), p = (f) => {
616
616
  l("close", f);
617
617
  }, b = (f) => {
618
618
  l("click", f);
619
619
  };
620
- return (f, w) => f.disableTransitions ? (y(), L("span", {
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
- default: k(() => [
636
+ default: L(() => [
637
637
  he(a(Rl))
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
- default: k(() => [
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
- default: k(() => [
662
+ default: L(() => [
663
663
  he(a(Rl))
664
664
  ]),
665
665
  _: 1
@@ -673,7 +673,7 @@ const sn = Dl(an), et = Zl({
673
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
- 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) : B(e.value, o.props.modelValue)), p = v(() => {
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(() => {
677
677
  if (o.props.multiple) {
678
678
  const n = o.props.modelValue || [];
679
679
  return !u.value && n.length >= o.props.multipleLimit && o.props.multipleLimit > 0;
@@ -685,7 +685,7 @@ function fn(e, l) {
685
685
  return n && n.some((E) => pl(le(E, T)) === le(O, T));
686
686
  } else
687
687
  return n && n.includes(O);
688
- }, B = (n, O) => {
688
+ }, F = (n, O) => {
689
689
  if (c.value) {
690
690
  const { valueKey: T } = o.props;
691
691
  return le(n, T) === le(O, T);
@@ -745,14 +745,14 @@ 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(() => {
752
752
  b.cachedOptions.get(A) === m && !O && b.cachedOptions.delete(A);
753
753
  }), b.onOptionDestroy(A, m);
754
754
  });
755
- function B() {
755
+ function F() {
756
756
  e.disabled !== !0 && s.groupDisabled !== !0 && b.handleOptionSelect(m);
757
757
  }
758
758
  return {
@@ -765,14 +765,14 @@ const vn = ge({
765
765
  hoverItem: f,
766
766
  visible: w,
767
767
  hover: g,
768
- selectOptionClick: B,
768
+ selectOptionClick: F,
769
769
  states: s
770
770
  };
771
771
  }
772
772
  });
773
773
  function mn(e, l, o, s, c, u) {
774
- return He((y(), L("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 Bl = /* @__PURE__ */ We(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",
@@ -805,8 +805,8 @@ const hn = ge({
805
805
  }
806
806
  });
807
807
  function bn(e, l, o, s, c, u) {
808
- return y(), L("div", {
809
- class: S([e.ns.b("dropdown"), e.ns.is("multiple", e.isMultiple), e.popperClass]),
808
+ return y(), k("div", {
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")
@@ -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",
@@ -850,7 +850,7 @@ const Cn = (e, l, o) => {
850
850
  scope: "props",
851
851
  ref: "https://element-plus.org/en-US/component/select.html#select-attributes"
852
852
  }, v(() => e.suffixTransition === !1));
853
- const u = K(null), p = K(null), b = K(null), f = K(null), w = K(null), g = K(null), m = K(null), B = K(null), A = K(-1), $ = Re({ query: "" }), n = Re(""), O = K([]);
853
+ const u = K(null), p = K(null), b = K(null), f = K(null), w = K(null), g = K(null), m = K(null), F = K(null), A = K(-1), $ = Re({ query: "" }), n = Re(""), O = K([]);
854
854
  let T = 0;
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 !== "";
@@ -858,8 +858,8 @@ const Cn = (e, l, o) => {
858
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);
@@ -879,13 +879,13 @@ const Cn = (e, l, o) => {
879
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
881
  }), W(() => e.modelValue, (t, i) => {
882
- e.multiple && (Q(), t && t.length > 0 || p.value && l.query !== "" ? l.currentPlaceholder = "" : l.currentPlaceholder = l.cachedPlaceHolder, e.filterable && !e.reserveKeyword && (l.query = "", F(l.query))), U(), e.filterable && !e.multiple && (l.inputLength = 20), !Nl(t, i) && e.validateEvent && (q == null || q.validate("change").catch((d) => il(d)));
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
886
  }), W(() => l.visible, (t) => {
887
- var i, d, C, 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 = (C = b.value) == null ? void 0 : C.focus) == null || N.call(C), e.multiple ? (H = p.value) == null || H.focus() : l.selectedLabel && (l.currentPlaceholder = `${l.selectedLabel}`, l.selectedLabel = ""), F(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(() => {
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
891
  }), W(() => l.options.entries(), () => {
@@ -893,12 +893,12 @@ const Cn = (e, l, o) => {
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 && !Lt(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
900
  }), W(() => l.hoverIndex, (t) => {
901
- Ml(t) && t > -1 ? A.value = P.value[t] || {} : A.value = {}, P.value.forEach((i) => {
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,10 +909,10 @@ 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 = 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(C ? C.clientHeight + (C.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));
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
- }, F = async (t) => {
915
+ }, B = async (t) => {
916
916
  if (!(l.previousQuery === t || l.isOnComposition)) {
917
917
  if (l.previousQuery === null && (Pe(e.filterMethod) || Pe(e.remoteMethod))) {
918
918
  l.previousQuery = t;
@@ -927,31 +927,31 @@ 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 = Ll(t).toLowerCase() === "object", C = Ll(t).toLowerCase() === "null", N = Ll(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
956
  const J = Ke.value[me];
957
957
  if (d ? le(J.value, e.valueKey) === le(t, e.valueKey) : J.value === t) {
@@ -965,7 +965,7 @@ const Cn = (e, l, o) => {
965
965
  }
966
966
  if (i)
967
967
  return i;
968
- const H = d ? t.label : !C && !N ? t : "", ve = {
968
+ const H = d ? t.label : !S && !N ? t : "", ve = {
969
969
  value: t,
970
970
  currentLabel: H
971
971
  };
@@ -982,14 +982,14 @@ const Cn = (e, l, o) => {
982
982
  var t;
983
983
  l.inputWidth = (t = u.value) == null ? void 0 : t.$el.offsetWidth;
984
984
  }, Xe = () => {
985
- e.filterable && l.query !== l.selectedLabel && (l.query = l.selectedLabel, F(l.query));
986
- }, de = Fl(() => {
985
+ e.filterable && l.query !== l.selectedLabel && (l.query = l.selectedLabel, B(l.query));
986
+ }, de = Bl(() => {
987
987
  Xe();
988
- }, ye.value), rl = Fl((t) => {
989
- F(t.target.value);
988
+ }, ye.value), rl = Bl((t) => {
989
+ B(t.target.value);
990
990
  }, ye.value), ce = (t) => {
991
991
  Nl(e.modelValue, t) || o.emit(xl, t);
992
- }, G = (t) => Rt(t, (i) => !l.disabledOptions.has(i)), ke = (t) => {
992
+ }, G = (t) => Rt(t, (i) => !l.disabledOptions.has(i)), Le = (t) => {
993
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);
@@ -999,11 +999,11 @@ const Cn = (e, l, o) => {
999
999
  }
1000
1000
  t.target.value.length === 1 && e.modelValue.length === 0 && (l.currentPlaceholder = l.cachedPlaceHolder);
1001
1001
  }
1002
- }, Le = (t, i) => {
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,24 +1016,24 @@ 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 = "", F(""), 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, H) => pl(le(N, d)) === le(i, d) ? (C = H, !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, H;
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) {
@@ -1041,10 +1041,10 @@ const Cn = (e, l, o) => {
1041
1041
  J.length > 0 && (me = J[0].$el);
1042
1042
  }
1043
1043
  if (f.value && me) {
1044
- const J = (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")}`);
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
1045
  J && zt(J, me);
1046
1046
  }
1047
- (H = B.value) == null || H.handleScroll();
1047
+ (H = F.value) == null || H.handleScroll();
1048
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
1050
  }, Je = (t, i) => {
@@ -1054,30 +1054,30 @@ const Cn = (e, l, o) => {
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) => {
1061
1061
  const i = t.target.value;
1062
1062
  if (t.type === "compositionend")
1063
- l.isOnComposition = !1, D(() => F(i));
1063
+ l.isOnComposition = !1, D(() => B(i));
1064
1064
  else {
1065
1065
  const d = i[i.length - 1] || "";
1066
1066
  l.isOnComposition = !_l(d);
1067
1067
  }
1068
- }, Be = () => {
1068
+ }, Fe = () => {
1069
1069
  D(() => pe(l.selected));
1070
1070
  }, r = (t) => {
1071
1071
  l.focused || ((e.automaticDropdown || e.filterable) && (e.filterable && !l.visible && (l.menuVisibleOnFocus = !0), l.visible = !0), l.focused = !0, o.emit("focus", t));
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;
@@ -1102,9 +1102,9 @@ const Cn = (e, l, o) => {
1102
1102
  l.mouseEnter = !0;
1103
1103
  }, Ol = () => {
1104
1104
  l.mouseEnter = !1;
1105
- }, Fe = (t, i) => {
1106
- var d, C;
1107
- Le(t, i), (C = (d = w.value) == null ? void 0 : d.updatePopper) == null || C.call(d);
1105
+ }, Be = (t, i) => {
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%"
@@ -1116,8 +1116,8 @@ const Cn = (e, l, o) => {
1116
1116
  handleResize: Ge,
1117
1117
  debouncedOnInputChange: de,
1118
1118
  debouncedQueryChange: rl,
1119
- deletePrevTag: ke,
1120
- deleteTag: Le,
1119
+ deletePrevTag: Le,
1120
+ deleteTag: ke,
1121
1121
  deleteSelected: we,
1122
1122
  handleOptionSelect: $e,
1123
1123
  scrollToOption: pe,
@@ -1137,10 +1137,10 @@ const Cn = (e, l, o) => {
1137
1137
  handleComposition: _e,
1138
1138
  onOptionCreate: Ze,
1139
1139
  onOptionDestroy: Je,
1140
- handleMenuEnter: Be,
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,
@@ -1149,12 +1149,12 @@ const Cn = (e, l, o) => {
1149
1149
  selectOption: dl,
1150
1150
  getValueKey: ll,
1151
1151
  navigateOptions: nl,
1152
- handleDeleteTooltipTag: Fe,
1152
+ handleDeleteTooltipTag: Be,
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,
@@ -1163,12 +1163,12 @@ const Cn = (e, l, o) => {
1163
1163
  tagTooltipRef: w,
1164
1164
  tags: g,
1165
1165
  selectWrapper: m,
1166
- scrollbar: B,
1166
+ scrollbar: F,
1167
1167
  handleMouseEnter: wl,
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 }) {
@@ -1186,8 +1186,8 @@ var Sn = ge({
1186
1186
  const b = (u = l.default) == null ? void 0 : u.call(l), f = [];
1187
1187
  function w(g) {
1188
1188
  Array.isArray(g) && g.forEach((m) => {
1189
- var B, A, $, n;
1190
- const O = (B = (m == null ? void 0 : m.type) || {}) == null ? void 0 : B.name;
1189
+ var F, A, $, n;
1190
+ const O = (F = (m == null ? void 0 : m.type) || {}) == null ? void 0 : F.name;
1191
1191
  O === "ElOptionGroup" ? w(!al(m.children) && !Array.isArray(m.children) && Pe((A = m.children) == null ? void 0 : A.default) ? ($ = m.children) == null ? void 0 : $.default() : m.children) : O === "ElOption" ? f.push((n = m.props) == null ? void 0 : n.label) : Array.isArray(m.children) && w(m.children);
1192
1192
  });
1193
1193
  }
@@ -1201,8 +1201,8 @@ const jl = "ElSelect", wn = ge({
1201
1201
  components: {
1202
1202
  ElInput: sn,
1203
1203
  ElSelectMenu: gn,
1204
- ElOption: Bl,
1205
- ElOptions: Sn,
1204
+ ElOption: Fl,
1205
+ ElOptions: Cn,
1206
1206
  ElTag: pn,
1207
1207
  ElScrollbar: ft,
1208
1208
  ElTooltip: vt,
@@ -1322,7 +1322,7 @@ const jl = "ElSelect", wn = ge({
1322
1322
  readonly: w,
1323
1323
  handleResize: g,
1324
1324
  collapseTagSize: m,
1325
- debouncedOnInputChange: B,
1325
+ debouncedOnInputChange: F,
1326
1326
  debouncedQueryChange: A,
1327
1327
  deletePrevTag: $,
1328
1328
  deleteTag: n,
@@ -1345,11 +1345,11 @@ const jl = "ElSelect", wn = ge({
1345
1345
  onOptionDestroy: je,
1346
1346
  handleMenuEnter: Qe,
1347
1347
  handleFocus: Q,
1348
- focus: F,
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,
@@ -1358,23 +1358,23 @@ const jl = "ElSelect", wn = ge({
1358
1358
  handleDeleteTooltipTag: rl,
1359
1359
  dropMenuVisible: ce,
1360
1360
  reference: G,
1361
- input: ke,
1362
- iOSInput: Le,
1361
+ input: Le,
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
1368
  queryChange: Ze,
1369
1369
  groupQueryChange: Je,
1370
1370
  handleMouseEnter: xe,
1371
1371
  handleMouseLeave: Oe,
1372
1372
  showTagList: _e,
1373
- collapseTagList: Be,
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,13 +1383,13 @@ 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
- prefixWidth: Fe
1392
- } = Vl(u), Il = v(() => {
1391
+ prefixWidth: Be
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(() => [
@@ -1397,19 +1397,19 @@ const jl = "ElSelect", wn = ge({
1397
1397
  o.is("disabled", a(Z))
1398
1398
  ]), i = v(() => [
1399
1399
  o.b("tags-wrapper"),
1400
- { "has-prefix": a(Fe) && 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
1404
  o.is("disabled", a(Z))
1405
- ]), C = v(() => [
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
1411
  ]), H = v(() => ({ maxWidth: `${a(h) > 123 ? a(h) - 123 : a(h) - 75}px` })), ve = v(() => ({
1412
- marginLeft: `${a(Fe)}px`,
1412
+ marginLeft: `${a(Be)}px`,
1413
1413
  flexGrow: 1,
1414
1414
  width: `${a(fe) / (a(h) - 32)}%`,
1415
1415
  maxWidth: `${a(h) - 42}px`
@@ -1425,17 +1425,17 @@ 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
1431
  queryChange: Ze,
1432
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")}`);
1438
- Fe.value = Math.max(ze.getBoundingClientRect().width + 11, 30);
1438
+ Be.value = Math.max(ze.getBoundingClientRect().width + 11, 30);
1439
1439
  }
1440
1440
  }), q();
1441
1441
  }), e.multiple && !Array.isArray(e.modelValue) && l.emit(te, []), !e.multiple && Array.isArray(e.modelValue) && l.emit(te, "");
@@ -1448,12 +1448,12 @@ const jl = "ElSelect", wn = ge({
1448
1448
  onOptionsRendered: (R) => {
1449
1449
  p.value = R;
1450
1450
  },
1451
- prefixWidth: Fe,
1451
+ prefixWidth: Be,
1452
1452
  selectSize: f,
1453
1453
  readonly: w,
1454
1454
  handleResize: g,
1455
1455
  collapseTagSize: m,
1456
- debouncedOnInputChange: B,
1456
+ debouncedOnInputChange: F,
1457
1457
  debouncedQueryChange: A,
1458
1458
  deletePrevTag: $,
1459
1459
  deleteTag: n,
@@ -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,8 +1471,8 @@ 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,
@@ -1487,11 +1487,11 @@ const jl = "ElSelect", wn = ge({
1487
1487
  handleComposition: re,
1488
1488
  handleMenuEnter: Qe,
1489
1489
  handleFocus: Q,
1490
- focus: F,
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,
@@ -1499,18 +1499,18 @@ const jl = "ElSelect", wn = ge({
1499
1499
  navigateOptions: de,
1500
1500
  dropMenuVisible: ce,
1501
1501
  reference: G,
1502
- input: ke,
1503
- iOSInput: Le,
1502
+ input: Le,
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,
@@ -1519,16 +1519,16 @@ const jl = "ElSelect", wn = ge({
1519
1519
  handleMouseEnter: xe,
1520
1520
  handleMouseLeave: Oe,
1521
1521
  showTagList: _e,
1522
- collapseTagList: Be,
1522
+ collapseTagList: Fe,
1523
1523
  tagTooltipRef: $e
1524
1524
  };
1525
1525
  }
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
- 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"), B = Ee("el-scrollbar"), A = Ee("el-select-menu"), $ = st("click-outside");
1529
- return He((y(), L("div", {
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 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"]))
@@ -1550,29 +1550,29 @@ function Tn(e, l, o, s, c, u) {
1550
1550
  persistent: e.persistent,
1551
1551
  onShow: e.handleMenuEnter
1552
1552
  }, {
1553
- default: k(() => [
1553
+ default: L(() => [
1554
1554
  z("div", {
1555
1555
  class: "select-trigger",
1556
1556
  onMouseenter: l[20] || (l[20] = (n) => e.inputHovering = !0),
1557
1557
  onMouseleave: l[21] || (l[21] = (n) => e.inputHovering = !1)
1558
1558
  }, [
1559
- e.multiple ? (y(), L("div", {
1559
+ e.multiple ? (y(), k("div", {
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
- default: k(() => [
1571
+ default: L(() => [
1572
1572
  z("span", {
1573
- class: S(e.tagWrapperKls)
1573
+ class: C(e.tagWrapperKls)
1574
1574
  }, [
1575
- (y(!0), L(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,
@@ -1581,23 +1581,23 @@ function Tn(e, l, o, s, c, u) {
1581
1581
  "disable-transitions": "",
1582
1582
  onClose: (O) => e.deleteTag(O, n)
1583
1583
  }, {
1584
- default: k(() => [
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,
1596
1596
  type: e.tagType,
1597
1597
  "disable-transitions": ""
1598
1598
  }, {
1599
- default: k(() => [
1600
- e.collapseTagsTooltip ? (y(), V(b, {
1599
+ default: L(() => [
1600
+ e.collapseTagsTooltip ? (y(), M(b, {
1601
1601
  key: 0,
1602
1602
  ref: "tagTooltipRef",
1603
1603
  disabled: e.dropMenuVisible,
@@ -1606,18 +1606,18 @@ function Tn(e, l, o, s, c, u) {
1606
1606
  placement: "bottom",
1607
1607
  teleported: e.teleported
1608
1608
  }, {
1609
- default: k(() => [
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
- content: k(() => [
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
- (y(!0), L(Ae, null, Tl(e.collapseTagList, (n) => (y(), L("div", {
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",
@@ -1629,9 +1629,9 @@ function Tn(e, l, o, s, c, u) {
1629
1629
  style: { margin: "2px" },
1630
1630
  onClose: (O) => e.handleDeleteTooltipTag(O, n)
1631
1631
  }, {
1632
- default: k(() => [
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
  })
@@ -1643,9 +1643,9 @@ function Tn(e, l, o, s, c, u) {
1643
1643
  ], 2)
1644
1644
  ]),
1645
1645
  _: 1
1646
- }, 8, ["disabled", "effect", "teleported"])) : (y(), L("span", {
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
- default: k(() => [
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), L(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,
@@ -1672,9 +1672,9 @@ function Tn(e, l, o, s, c, u) {
1672
1672
  "disable-transitions": "",
1673
1673
  onClose: (O) => e.deleteTag(O, n)
1674
1674
  }, {
1675
- default: k(() => [
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 ? He((y(), L("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),
@@ -1715,10 +1715,10 @@ function Tn(e, l, o, s, c, u) {
1715
1715
  ]) : I("v-if", !0)
1716
1716
  ], 6)) : I("v-if", !0),
1717
1717
  I(" fix: https://github.com/element-plus/element-plus/issues/11415 "),
1718
- e.isIOS && !e.multiple && e.filterable && e.readonly ? (y(), L("input", {
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,
@@ -1753,23 +1753,23 @@ function Tn(e, l, o, s, c, u) {
1753
1753
  l[19] || (l[19] = x((n) => e.visible = !1, ["tab"]))
1754
1754
  ]
1755
1755
  }, ut({
1756
- suffix: k(() => [
1757
- e.iconComponent && !e.showClose ? (y(), V(f, {
1756
+ suffix: L(() => [
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
- default: k(() => [
1762
- (y(), V(Ne(e.iconComponent)))
1761
+ default: L(() => [
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
- default: k(() => [
1772
- (y(), V(Ne(e.clearIcon)))
1771
+ default: L(() => [
1772
+ (y(), M(Ne(e.clearIcon)))
1773
1773
  ]),
1774
1774
  _: 1
1775
1775
  }, 8, ["class", "onClick"])) : I("v-if", !0)
@@ -1778,7 +1778,7 @@ function Tn(e, l, o, s, c, u) {
1778
1778
  }, [
1779
1779
  e.$slots.prefix ? {
1780
1780
  name: "prefix",
1781
- fn: k(() => [
1781
+ fn: L(() => [
1782
1782
  z("div", En, [
1783
1783
  X(e.$slots, "prefix")
1784
1784
  ])
@@ -1787,24 +1787,24 @@ function Tn(e, l, o, s, c, u) {
1787
1787
  ]), 1032, ["id", "modelValue", "placeholder", "name", "autocomplete", "size", "disabled", "readonly", "class", "tabindex", "label", "onFocus", "onBlur", "onInput", "onPaste", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onKeydown"])
1788
1788
  ], 32)
1789
1789
  ]),
1790
- content: k(() => [
1790
+ content: L(() => [
1791
1791
  he(A, null, {
1792
- default: k(() => [
1793
- He(he(B, {
1792
+ default: L(() => [
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
- default: k(() => [
1801
- e.showNewOption ? (y(), V(g, {
1800
+ default: L(() => [
1801
+ e.showNewOption ? (y(), M(g, {
1802
1802
  key: 0,
1803
1803
  value: e.query,
1804
1804
  created: !0
1805
1805
  }, null, 8, ["value"])) : I("v-if", !0),
1806
1806
  he(m, { onUpdateOptions: e.onOptionsRendered }, {
1807
- default: k(() => [
1807
+ default: L(() => [
1808
1808
  X(e.$slots, "default")
1809
1809
  ]),
1810
1810
  _: 3
@@ -1814,10 +1814,10 @@ function Tn(e, l, o, s, c, u) {
1814
1814
  }, 8, ["wrap-class", "view-class", "class"]), [
1815
1815
  [hl, e.options.size > 0 && !e.loading]
1816
1816
  ]),
1817
- e.emptyText && (!e.allowCreate || e.loading || e.allowCreate && e.options.size === 0) ? (y(), L(Ae, { key: 0 }, [
1818
- e.$slots.empty ? X(e.$slots, "empty", { key: 0 }) : (y(), L("p", {
1817
+ e.emptyText && (!e.allowCreate || e.loading || e.allowCreate && e.options.size === 0) ? (y(), k(Ae, { key: 0 }, [
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,8 +1830,8 @@ function Tn(e, l, o, s, c, u) {
1830
1830
  [$, e.handleClose, e.popperPaneRef]
1831
1831
  ]);
1832
1832
  }
1833
- var kn = /* @__PURE__ */ We(wn, [["render", Tn], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);
1834
- const Ln = ge({
1833
+ var Ln = /* @__PURE__ */ We(wn, [["render", Tn], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);
1834
+ const kn = ge({
1835
1835
  name: "ElOptionGroup",
1836
1836
  componentName: "ElOptionGroup",
1837
1837
  props: {
@@ -1841,7 +1841,7 @@ const Ln = 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(() => {
@@ -1863,15 +1863,15 @@ const Ln = ge({
1863
1863
  }
1864
1864
  });
1865
1865
  function $n(e, l, o, s, c, u) {
1866
- return He((y(), L("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,15 +1880,15 @@ function $n(e, l, o, s, c, u) {
1880
1880
  [hl, e.visible]
1881
1881
  ]);
1882
1882
  }
1883
- var tt = /* @__PURE__ */ We(Ln, [["render", $n], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);
1884
- const Fn = Dl(kn, {
1885
- Option: Bl,
1883
+ var tt = /* @__PURE__ */ We(kn, [["render", $n], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);
1884
+ const Bn = Dl(Ln, {
1885
+ Option: Fl,
1886
1886
  OptionGroup: tt
1887
- }), Nn = Jl(Bl);
1887
+ }), Nn = Jl(Fl);
1888
1888
  Jl(tt);
1889
1889
  export {
1890
1890
  Nn as E,
1891
- Fn as a,
1891
+ Bn as a,
1892
1892
  sn as b,
1893
1893
  pn as c
1894
1894
  };