st-comp 0.0.75 → 0.0.77

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 (80) hide show
  1. package/components.d.ts +3 -0
  2. package/es/ChartLayout.cjs +1 -1
  3. package/es/ChartLayout.js +25 -223
  4. package/es/Dialog.cjs +1 -1
  5. package/es/Dialog.js +15 -13
  6. package/es/Kline.cjs +1 -1
  7. package/es/Kline.js +105 -102
  8. package/es/KlineNew.cjs +1 -1
  9. package/es/KlineNew.js +45 -42
  10. package/es/MonacoEditor.cjs +1 -1
  11. package/es/MonacoEditor.js +1 -1
  12. package/es/Pagination.cjs +1 -1
  13. package/es/Pagination.js +121 -117
  14. package/es/Table.cjs +3 -3
  15. package/es/Table.js +275 -271
  16. package/es/VarietySearch.cjs +2 -2
  17. package/es/VarietySearch.js +734 -716
  18. package/es/VirtualTable.cjs +13 -1
  19. package/es/VirtualTable.js +2724 -1
  20. package/es/{base-dbd10dcf.cjs → base-4865d432.cjs} +3 -3
  21. package/es/{base-00f6b0ab.js → base-6faccb01.js} +66 -65
  22. package/es/castArray-3341cbb4.cjs +1 -0
  23. package/es/castArray-bdee0d50.js +10 -0
  24. package/es/config-provider-465c8253.cjs +1 -0
  25. package/es/config-provider-be0e9c36.js +46 -0
  26. package/es/{el-button-12e38f0b.js → el-button-1b9c4fd6.js} +31 -31
  27. package/es/el-button-aad5268b.cjs +1 -0
  28. package/es/el-empty-348c46f7.js +204 -0
  29. package/es/el-empty-608948d9.cjs +1 -0
  30. package/es/el-icon-158ddc19.cjs +1 -0
  31. package/es/{el-icon-bacbcecf.js → el-icon-d385d377.js} +58 -57
  32. package/es/{el-overlay-ea0f5492.js → el-overlay-400ac6ce.js} +58 -57
  33. package/es/el-overlay-4713107e.cjs +5 -0
  34. package/es/el-scrollbar-83abe3de.js +248 -0
  35. package/es/el-scrollbar-bc381e35.cjs +1 -0
  36. package/es/el-select-7116533b.cjs +9 -0
  37. package/es/{el-select-f84b87d9.js → el-select-895360ba.js} +282 -280
  38. package/es/el-tag-2c7e5d4a.cjs +1 -0
  39. package/es/el-tag-30cecca3.js +2417 -0
  40. package/es/focus-trap-5ac78614.js +259 -0
  41. package/es/focus-trap-a169f160.cjs +1 -0
  42. package/es/{index-2cc1c02e.cjs → index-a091492d.cjs} +1 -1
  43. package/es/{index-16dfa199.js → index-caa490bf.js} +17 -14
  44. package/es/{python-336a8c96.js → python-0b8dfd75.js} +1 -1
  45. package/es/{python-044eec0c.cjs → python-bd86111b.cjs} +1 -1
  46. package/es/raf-5e5c53db.cjs +1 -0
  47. package/es/raf-92c5ed6d.js +6 -0
  48. package/es/{scroll-c6489061.js → scroll-264c50f3.js} +5 -5
  49. package/es/{scroll-891e3e9f.cjs → scroll-bb8039ba.cjs} +1 -1
  50. package/es/style.css +1 -1
  51. package/es/typescript-7ae59c4c.js +4 -0
  52. package/es/typescript-b63f8e83.cjs +1 -0
  53. package/es/use-form-item-0e9cae13.js +668 -0
  54. package/es/use-form-item-6cef6b15.cjs +3 -0
  55. package/es/use-global-config-17f3d7c7.cjs +1 -0
  56. package/es/use-global-config-8c9c775f.js +110 -0
  57. package/es/{vnode-b44a499a.cjs → vnode-abafec9e.cjs} +1 -1
  58. package/es/{vnode-229e6729.js → vnode-b78096e3.js} +4 -4
  59. package/es/{zh-cn-e0c3b8df.js → zh-cn-8aaa7dd2.js} +2 -2
  60. package/es/{zh-cn-5c01bb26.cjs → zh-cn-e4d38144.cjs} +1 -1
  61. package/lib/bundle.js +1 -1
  62. package/lib/bundle.umd.cjs +2 -2
  63. package/lib/{index-d7f5d65b.js → index-7d3b5736.js} +72 -50
  64. package/lib/{python-31d7356c.js → python-d1c44236.js} +1 -1
  65. package/lib/style.css +1 -1
  66. package/package.json +1 -1
  67. package/packages/MonacoEditor/index.vue +5 -0
  68. package/packages/VarietySearch/config.js +44 -21
  69. package/packages/VarietySearch/index.vue +64 -24
  70. package/src/pages/MonacoEditor/index.vue +5 -0
  71. package/es/config-provider-33068fb6.cjs +0 -1
  72. package/es/config-provider-c98bd563.js +0 -148
  73. package/es/el-button-fc645d0f.cjs +0 -1
  74. package/es/el-icon-99876220.cjs +0 -1
  75. package/es/el-overlay-dcbc4437.cjs +0 -5
  76. package/es/el-scrollbar-6800cb98.js +0 -2653
  77. package/es/el-scrollbar-9da140ab.cjs +0 -1
  78. package/es/el-select-d22b5aa3.cjs +0 -9
  79. package/es/focus-trap-9f4b1039.js +0 -880
  80. package/es/focus-trap-fae33d9d.cjs +0 -3
@@ -1,42 +1,45 @@
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 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, b as ct, u as pt, a as zl, i as Bl, d as Nl, E as ft, c as vt, C as mt, e as ht, f as bt } from "./el-scrollbar-6800cb98.js";
3
- import { q as gt, j as Ul, d as yt, i as fl, U as te, a as Gl, r as St, b as Pl, c as Ct, V as Yl, v as wt, s as Ot, t as It, E as Te, w as Xl, x as Rl, u as Et, y as Hl, A as Jl, B as Tt } from "./focus-trap-9f4b1039.js";
4
- import { a as Al, n as il, J as Lt, F as Ml, c as Zl, f as Ll, I as al, u as be, N as kt, _ as We, K as vl, w as Dl, m as le, d as Kl, r as Pe, H as $t, L as kl, M as Mt, g as xl } from "./base-00f6b0ab.js";
5
- import { s as Vt } from "./scroll-c6489061.js";
6
- const zt = () => Al && /firefox/i.test(window.navigator.userAgent);
7
- var Wl = 1 / 0, Pt = 17976931348623157e292;
8
- function At(e) {
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";
9
+ const Pt = () => Al && /firefox/i.test(window.navigator.userAgent);
10
+ var Wl = 1 / 0, At = 17976931348623157e292;
11
+ function Dt(e) {
9
12
  if (!e)
10
13
  return e === 0 ? e : 0;
11
14
  if (e = dt(e), e === Wl || e === -Wl) {
12
15
  var l = e < 0 ? -1 : 1;
13
- return l * Pt;
16
+ return l * At;
14
17
  }
15
18
  return e === e ? e : 0;
16
19
  }
17
- function Dt(e) {
18
- var l = At(e), o = l % 1;
20
+ function Kt(e) {
21
+ var l = Dt(e), o = l % 1;
19
22
  return l === l ? o ? l - o : l : 0;
20
23
  }
21
- function Kt(e, l, o, s) {
24
+ function Bt(e, l, o, s) {
22
25
  for (var c = e.length, u = o + (s ? 1 : -1); s ? u-- : ++u < c; )
23
26
  if (l(e[u], u, e))
24
27
  return u;
25
28
  return -1;
26
29
  }
27
- var Ft = Math.max, Bt = Math.min;
28
- function Nt(e, l, o) {
30
+ var Ft = Math.max, Nt = Math.min;
31
+ function Rt(e, l, o) {
29
32
  var s = e == null ? 0 : e.length;
30
33
  if (!s)
31
34
  return -1;
32
35
  var c = s - 1;
33
- return o !== void 0 && (c = Dt(o), c = o < 0 ? Ft(s + c, 0) : Bt(c, s - 1)), Kt(e, ct(l), c, !0);
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);
34
37
  }
35
- const Rt = (e = "") => e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), Ht = (e) => gt[e || "default"], Wt = (e) => ["", ...Ul].includes(e), _l = (e) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e), qt = (e) => 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 = {}) => {
36
39
  const { excludeListeners: l = !1, excludeKeys: o } = e, s = v(() => ((o == null ? void 0 : o.value) || []).concat(jt)), c = sl();
37
40
  return c ? v(() => {
38
41
  var u;
39
- return Lt(Object.entries((u = c.proxy) == null ? void 0 : u.$attrs).filter(([p]) => !s.value.includes(p) && !(l && Qt.test(p))));
42
+ return Tt(Object.entries((u = c.proxy) == null ? void 0 : u.$attrs).filter(([p]) => !s.value.includes(p) && !(l && Qt.test(p))));
40
43
  }) : (il("use-attrs", "getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"), v(() => ({})));
41
44
  };
42
45
  function Gt(e) {
@@ -87,7 +90,7 @@ function Yt(e, { afterFocus: l, afterBlur: o } = {}) {
87
90
  };
88
91
  return W(u, (g) => {
89
92
  g && g.setAttribute("tabindex", "-1");
90
- }), pt(u, "click", w), {
93
+ }), ct(u, "click", w), {
91
94
  wrapperRef: u,
92
95
  isFocused: p,
93
96
  handleFocus: b,
@@ -98,12 +101,12 @@ let _;
98
101
  const Xt = `
99
102
  height:0 !important;
100
103
  visibility:hidden !important;
101
- ${zt() ? "" : "overflow:hidden !important;"}
104
+ ${Pt() ? "" : "overflow:hidden !important;"}
102
105
  position:absolute !important;
103
106
  z-index:-1000 !important;
104
107
  top:0 !important;
105
108
  right:0 !important;
106
- `, Jt = [
109
+ `, Zt = [
107
110
  "letter-spacing",
108
111
  "line-height",
109
112
  "padding-top",
@@ -120,14 +123,14 @@ const Xt = `
120
123
  "border-width",
121
124
  "box-sizing"
122
125
  ];
123
- function Zt(e) {
126
+ function Jt(e) {
124
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"));
125
- 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 };
126
129
  }
127
130
  function ql(e, l = 1, o) {
128
131
  var s;
129
132
  _ || (_ = document.createElement("textarea"), document.body.appendChild(_));
130
- const { paddingSize: c, borderSize: u, boxSizing: p, contextStyle: b } = Zt(e);
133
+ const { paddingSize: c, borderSize: u, boxSizing: p, contextStyle: b } = Jt(e);
131
134
  _.setAttribute("style", `${b};${Xt}`), _.value = e.value || e.placeholder || "";
132
135
  let f = _.scrollHeight;
133
136
  const w = {};
@@ -151,7 +154,7 @@ const xt = Zl({
151
154
  size: yt,
152
155
  disabled: Boolean,
153
156
  modelValue: {
154
- type: Ll([
157
+ type: kl([
155
158
  String,
156
159
  Number,
157
160
  Object
@@ -167,7 +170,7 @@ const xt = Zl({
167
170
  values: ["none", "both", "horizontal", "vertical"]
168
171
  },
169
172
  autosize: {
170
- type: Ll([Boolean, Object]),
173
+ type: kl([Boolean, Object]),
171
174
  default: !1
172
175
  },
173
176
  autocomplete: {
@@ -225,8 +228,8 @@ const xt = Zl({
225
228
  default: !0
226
229
  },
227
230
  inputStyle: {
228
- type: Ll([Object, Array, String]),
229
- default: () => qt({})
231
+ type: kl([Object, Array, String]),
232
+ default: () => Mt({})
230
233
  },
231
234
  autofocus: {
232
235
  type: Boolean,
@@ -267,7 +270,7 @@ const xt = Zl({
267
270
  [n.bm("group", "prepend")]: u.prepend,
268
271
  [n.m("prefix")]: u.prefix || s.prefixIcon,
269
272
  [n.m("suffix")]: u.suffix || s.suffixIcon || s.clearable || s.showPassword,
270
- [n.bm("suffix", "password-clear")]: ue.value && Se.value
273
+ [n.bm("suffix", "password-clear")]: ue.value && Ce.value
271
274
  },
272
275
  c.class
273
276
  ]), f = v(() => [
@@ -275,9 +278,9 @@ const xt = Zl({
275
278
  n.is("focus", ye.value)
276
279
  ]), w = Ut({
277
280
  excludeKeys: v(() => Object.keys(p.value))
278
- }), { form: g, formItem: m } = Gl(), { inputId: F } = St(s, {
281
+ }), { form: g, formItem: m } = Gl(), { inputId: B } = Ct(s, {
279
282
  formItemContext: m
280
- }), A = Pl(), $ = Ct(), 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(), $ = 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, {
281
284
  afterBlur() {
282
285
  var r;
283
286
  s.validateEvent && ((r = m == null ? void 0 : m.validate) == null || r.call(m, "blur").catch((h) => il(h)));
@@ -290,9 +293,9 @@ const xt = Zl({
290
293
  s.inputStyle
291
294
  ]), Q = v(() => [
292
295
  s.inputStyle,
293
- J.value,
296
+ Z.value,
294
297
  { resize: s.resize }
295
- ]), B = v(() => It(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);
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);
296
299
  zl(E, (r) => {
297
300
  if (ce(), !U.value || s.resize !== "both")
298
301
  return;
@@ -306,14 +309,14 @@ const xt = Zl({
306
309
  if (!(!Al || r !== "textarea" || !E.value))
307
310
  if (h) {
308
311
  const M = vl(h) ? h.minRows : void 0, fe = vl(h) ? h.maxRows : void 0, Ie = ql(E.value, M, fe);
309
- J.value = {
312
+ Z.value = {
310
313
  overflowY: "hidden",
311
314
  ...Ie
312
315
  }, D(() => {
313
- E.value.offsetHeight, J.value = Ie;
316
+ E.value.offsetHeight, Z.value = Ie;
314
317
  });
315
318
  } else
316
- J.value = {
319
+ Z.value = {
317
320
  minHeight: ql(E.value).minHeight
318
321
  };
319
322
  }, ce = ((r) => {
@@ -325,19 +328,19 @@ const xt = Zl({
325
328
  ((M = E.value) == null ? void 0 : M.offsetParent) === null || (r(), h = !0);
326
329
  };
327
330
  })(de), G = () => {
328
- const r = oe.value, h = s.formatter ? s.formatter(B.value) : B.value;
331
+ const r = oe.value, h = s.formatter ? s.formatter(F.value) : F.value;
329
332
  !r || r.value === h || (r.value = h);
330
- }, Le = async (r) => {
333
+ }, ke = async (r) => {
331
334
  Ye();
332
335
  let { value: h } = r.target;
333
336
  if (s.formatter && (h = s.parser ? s.parser(h) : h), !ne.value) {
334
- if (h === B.value) {
337
+ if (h === F.value) {
335
338
  G();
336
339
  return;
337
340
  }
338
341
  o(te, h), o("input", h), await D(), G(), Xe();
339
342
  }
340
- }, ke = (r) => {
343
+ }, Le = (r) => {
341
344
  o("change", r.target.value);
342
345
  }, we = (r) => {
343
346
  o("compositionstart", r), ne.value = !0;
@@ -347,16 +350,16 @@ const xt = Zl({
347
350
  const M = (h = r.target) == null ? void 0 : h.value, fe = M[M.length - 1] || "";
348
351
  ne.value = !_l(fe);
349
352
  }, Me = (r) => {
350
- o("compositionend", r), ne.value && (ne.value = !1, Le(r));
353
+ o("compositionend", r), ne.value && (ne.value = !1, ke(r));
351
354
  }, Ve = () => {
352
355
  j.value = !j.value, pe();
353
356
  }, pe = async () => {
354
357
  var r;
355
358
  await D(), (r = oe.value) == null || r.focus();
356
- }, Je = () => {
359
+ }, Ze = () => {
357
360
  var r;
358
361
  return (r = oe.value) == null ? void 0 : r.blur();
359
- }, Ze = (r) => {
362
+ }, Je = (r) => {
360
363
  q.value = !1, o("mouseleave", r);
361
364
  }, xe = (r) => {
362
365
  q.value = !0, o("mouseenter", r);
@@ -365,13 +368,13 @@ const xt = Zl({
365
368
  }, _e = () => {
366
369
  var r;
367
370
  (r = oe.value) == null || r.select();
368
- }, Fe = () => {
371
+ }, Be = () => {
369
372
  o(te, ""), o("change", ""), o("clear"), o("input", "");
370
373
  };
371
374
  return W(() => s.modelValue, () => {
372
375
  var r;
373
376
  D(() => de()), s.validateEvent && ((r = m == null ? void 0 : m.validate) == null || r.call(m, "change").catch((h) => il(h)));
374
- }), W(B, () => G()), W(() => s.type, async () => {
377
+ }), W(F, () => G()), W(() => s.type, async () => {
375
378
  await D(), G(), de();
376
379
  }), ml(() => {
377
380
  !s.formatter && s.parser && il("ElInput", "If you set the parser, you also need to set the formatter."), G(), D(de);
@@ -382,45 +385,45 @@ const xt = Zl({
382
385
  textareaStyle: Q,
383
386
  autosize: it(s, "autosize"),
384
387
  focus: pe,
385
- blur: Je,
388
+ blur: Ze,
386
389
  select: _e,
387
- clear: Fe,
390
+ clear: Be,
388
391
  resizeTextarea: de
389
- }), (r, h) => He((y(), k("div", El(a(p), {
392
+ }), (r, h) => He((y(), L("div", El(a(p), {
390
393
  class: a(b),
391
394
  style: a(Qe),
392
395
  role: r.containerRole,
393
396
  onMouseenter: xe,
394
- onMouseleave: Ze
397
+ onMouseleave: Je
395
398
  }), [
396
399
  I(" input "),
397
- r.type !== "textarea" ? (y(), k(Ae, { key: 0 }, [
400
+ r.type !== "textarea" ? (y(), L(Ae, { key: 0 }, [
398
401
  I(" prepend slot "),
399
- r.$slots.prepend ? (y(), k("div", {
402
+ r.$slots.prepend ? (y(), L("div", {
400
403
  key: 0,
401
- class: C(a(n).be("group", "prepend"))
404
+ class: S(a(n).be("group", "prepend"))
402
405
  }, [
403
406
  X(r.$slots, "prepend")
404
407
  ], 2)) : I("v-if", !0),
405
408
  z("div", {
406
409
  ref_key: "wrapperRef",
407
410
  ref: qe,
408
- class: C(a(f))
411
+ class: S(a(f))
409
412
  }, [
410
413
  I(" prefix slot "),
411
- r.$slots.prefix || r.prefixIcon ? (y(), k("span", {
414
+ r.$slots.prefix || r.prefixIcon ? (y(), L("span", {
412
415
  key: 0,
413
- class: C(a(n).e("prefix"))
416
+ class: S(a(n).e("prefix"))
414
417
  }, [
415
418
  z("span", {
416
- class: C(a(n).e("prefix-inner"))
419
+ class: S(a(n).e("prefix-inner"))
417
420
  }, [
418
421
  X(r.$slots, "prefix"),
419
422
  r.prefixIcon ? (y(), V(a(Te), {
420
423
  key: 0,
421
- class: C(a(n).e("icon"))
424
+ class: S(a(n).e("icon"))
422
425
  }, {
423
- default: L(() => [
426
+ default: k(() => [
424
427
  (y(), V(Ne(r.prefixIcon)))
425
428
  ]),
426
429
  _: 1
@@ -428,7 +431,7 @@ const xt = Zl({
428
431
  ], 2)
429
432
  ], 2)) : I("v-if", !0),
430
433
  z("input", El({
431
- id: a(F),
434
+ id: a(B),
432
435
  ref_key: "input",
433
436
  ref: T,
434
437
  class: a(n).e("inner")
@@ -448,27 +451,27 @@ const xt = Zl({
448
451
  onCompositionstart: we,
449
452
  onCompositionupdate: $e,
450
453
  onCompositionend: Me,
451
- onInput: Le,
454
+ onInput: ke,
452
455
  onFocus: h[0] || (h[0] = (...M) => a(ie) && a(ie)(...M)),
453
456
  onBlur: h[1] || (h[1] = (...M) => a(P) && a(P)(...M)),
454
- onChange: ke,
457
+ onChange: Le,
455
458
  onKeydown: Oe
456
459
  }), null, 16, ln),
457
460
  I(" suffix slot "),
458
- a(Ge) ? (y(), k("span", {
461
+ a(Ge) ? (y(), L("span", {
459
462
  key: 1,
460
- class: C(a(n).e("suffix"))
463
+ class: S(a(n).e("suffix"))
461
464
  }, [
462
465
  z("span", {
463
- class: C(a(n).e("suffix-inner"))
466
+ class: S(a(n).e("suffix-inner"))
464
467
  }, [
465
- !a(ue) || !a(Se) || !a(U) ? (y(), k(Ae, { key: 0 }, [
468
+ !a(ue) || !a(Ce) || !a(U) ? (y(), L(Ae, { key: 0 }, [
466
469
  X(r.$slots, "suffix"),
467
470
  r.suffixIcon ? (y(), V(a(Te), {
468
471
  key: 0,
469
- class: C(a(n).e("icon"))
472
+ class: S(a(n).e("icon"))
470
473
  }, {
471
- default: L(() => [
474
+ default: k(() => [
472
475
  (y(), V(Ne(r.suffixIcon)))
473
476
  ]),
474
477
  _: 1
@@ -476,42 +479,42 @@ const xt = Zl({
476
479
  ], 64)) : I("v-if", !0),
477
480
  a(ue) ? (y(), V(a(Te), {
478
481
  key: 1,
479
- class: C([a(n).e("icon"), a(n).e("clear")]),
482
+ class: S([a(n).e("icon"), a(n).e("clear")]),
480
483
  onMousedown: ee(a(kt), ["prevent"]),
481
- onClick: Fe
484
+ onClick: Be
482
485
  }, {
483
- default: L(() => [
486
+ default: k(() => [
484
487
  he(a(Xl))
485
488
  ]),
486
489
  _: 1
487
490
  }, 8, ["class", "onMousedown"])) : I("v-if", !0),
488
- a(Se) ? (y(), V(a(Te), {
491
+ a(Ce) ? (y(), V(a(Te), {
489
492
  key: 2,
490
- class: C([a(n).e("icon"), a(n).e("password")]),
493
+ class: S([a(n).e("icon"), a(n).e("password")]),
491
494
  onClick: Ve
492
495
  }, {
493
- default: L(() => [
496
+ default: k(() => [
494
497
  (y(), V(Ne(a(je))))
495
498
  ]),
496
499
  _: 1
497
500
  }, 8, ["class"])) : I("v-if", !0),
498
- a(U) ? (y(), k("span", {
501
+ a(U) ? (y(), L("span", {
499
502
  key: 3,
500
- class: C(a(n).e("count"))
503
+ class: S(a(n).e("count"))
501
504
  }, [
502
505
  z("span", {
503
- class: C(a(n).e("count-inner"))
504
- }, Y(a(Ce)) + " / " + Y(a(w).maxlength), 3)
506
+ class: S(a(n).e("count-inner"))
507
+ }, Y(a(Se)) + " / " + Y(a(w).maxlength), 3)
505
508
  ], 2)) : I("v-if", !0),
506
509
  a(re) && a(ae) && a(Ke) ? (y(), V(a(Te), {
507
510
  key: 4,
508
- class: C([
511
+ class: S([
509
512
  a(n).e("icon"),
510
513
  a(n).e("validateIcon"),
511
514
  a(n).is("loading", a(re) === "validating")
512
515
  ])
513
516
  }, {
514
- default: L(() => [
517
+ default: k(() => [
515
518
  (y(), V(Ne(a(ae))))
516
519
  ]),
517
520
  _: 1
@@ -520,16 +523,16 @@ const xt = Zl({
520
523
  ], 2)) : I("v-if", !0)
521
524
  ], 2),
522
525
  I(" append slot "),
523
- r.$slots.append ? (y(), k("div", {
526
+ r.$slots.append ? (y(), L("div", {
524
527
  key: 1,
525
- class: C(a(n).be("group", "append"))
528
+ class: S(a(n).be("group", "append"))
526
529
  }, [
527
530
  X(r.$slots, "append")
528
531
  ], 2)) : I("v-if", !0)
529
- ], 64)) : (y(), k(Ae, { key: 1 }, [
532
+ ], 64)) : (y(), L(Ae, { key: 1 }, [
530
533
  I(" textarea "),
531
534
  z("textarea", El({
532
- id: a(F),
535
+ id: a(B),
533
536
  ref_key: "textarea",
534
537
  ref: E,
535
538
  class: a(O).e("inner")
@@ -546,17 +549,17 @@ const xt = Zl({
546
549
  onCompositionstart: we,
547
550
  onCompositionupdate: $e,
548
551
  onCompositionend: Me,
549
- onInput: Le,
552
+ onInput: ke,
550
553
  onFocus: h[2] || (h[2] = (...M) => a(ie) && a(ie)(...M)),
551
554
  onBlur: h[3] || (h[3] = (...M) => a(P) && a(P)(...M)),
552
- onChange: ke,
555
+ onChange: Le,
553
556
  onKeydown: Oe
554
557
  }), null, 16, tn),
555
- a(U) ? (y(), k("span", {
558
+ a(U) ? (y(), L("span", {
556
559
  key: 0,
557
560
  style: se(De.value),
558
- class: C(a(n).e("count"))
559
- }, Y(a(Ce)) + " / " + Y(a(w).maxlength), 7)) : I("v-if", !0)
561
+ class: S(a(n).e("count"))
562
+ }, Y(a(Se)) + " / " + Y(a(w).maxlength), 7)) : I("v-if", !0)
560
563
  ], 64))
561
564
  ], 16, en)), [
562
565
  [hl, r.type !== "hidden"]
@@ -599,7 +602,7 @@ const sn = Dl(an), et = Zl({
599
602
  emits: rn,
600
603
  setup(e, { emit: l }) {
601
604
  const o = e, s = Pl(), c = be("tag"), u = v(() => {
602
- const { type: f, hit: w, effect: g, closable: m, round: F } = o;
605
+ const { type: f, hit: w, effect: g, closable: m, round: B } = o;
603
606
  return [
604
607
  c.b(),
605
608
  c.is("closable", m),
@@ -607,30 +610,30 @@ const sn = Dl(an), et = Zl({
607
610
  c.m(s.value),
608
611
  c.m(g),
609
612
  c.is("hit", w),
610
- c.is("round", F)
613
+ c.is("round", B)
611
614
  ];
612
615
  }), p = (f) => {
613
616
  l("close", f);
614
617
  }, b = (f) => {
615
618
  l("click", f);
616
619
  };
617
- return (f, w) => f.disableTransitions ? (y(), k("span", {
620
+ return (f, w) => f.disableTransitions ? (y(), L("span", {
618
621
  key: 0,
619
- class: C(a(u)),
622
+ class: S(a(u)),
620
623
  style: se({ backgroundColor: f.color }),
621
624
  onClick: b
622
625
  }, [
623
626
  z("span", {
624
- class: C(a(c).e("content"))
627
+ class: S(a(c).e("content"))
625
628
  }, [
626
629
  X(f.$slots, "default")
627
630
  ], 2),
628
631
  f.closable ? (y(), V(a(Te), {
629
632
  key: 0,
630
- class: C(a(c).e("close")),
633
+ class: S(a(c).e("close")),
631
634
  onClick: ee(p, ["stop"])
632
635
  }, {
633
- default: L(() => [
636
+ default: k(() => [
634
637
  he(a(Rl))
635
638
  ]),
636
639
  _: 1
@@ -640,23 +643,23 @@ const sn = Dl(an), et = Zl({
640
643
  name: `${a(c).namespace.value}-zoom-in-center`,
641
644
  appear: ""
642
645
  }, {
643
- default: L(() => [
646
+ default: k(() => [
644
647
  z("span", {
645
- class: C(a(u)),
648
+ class: S(a(u)),
646
649
  style: se({ backgroundColor: f.color }),
647
650
  onClick: b
648
651
  }, [
649
652
  z("span", {
650
- class: C(a(c).e("content"))
653
+ class: S(a(c).e("content"))
651
654
  }, [
652
655
  X(f.$slots, "default")
653
656
  ], 2),
654
657
  f.closable ? (y(), V(a(Te), {
655
658
  key: 0,
656
- class: C(a(c).e("close")),
659
+ class: S(a(c).e("close")),
657
660
  onClick: ee(p, ["stop"])
658
661
  }, {
659
- default: L(() => [
662
+ default: k(() => [
660
663
  he(a(Rl))
661
664
  ]),
662
665
  _: 1
@@ -670,7 +673,7 @@ const sn = Dl(an), et = Zl({
670
673
  var cn = /* @__PURE__ */ We(dn, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);
671
674
  const pn = Dl(cn), lt = Symbol("ElSelectGroup"), gl = Symbol("ElSelect");
672
675
  function fn(e, l) {
673
- 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(() => {
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(() => {
674
677
  if (o.props.multiple) {
675
678
  const n = o.props.modelValue || [];
676
679
  return !u.value && n.length >= o.props.multipleLimit && o.props.multipleLimit > 0;
@@ -682,7 +685,7 @@ function fn(e, l) {
682
685
  return n && n.some((E) => pl(le(E, T)) === le(O, T));
683
686
  } else
684
687
  return n && n.includes(O);
685
- }, F = (n, O) => {
688
+ }, B = (n, O) => {
686
689
  if (c.value) {
687
690
  const { valueKey: T } = o.props;
688
691
  return le(n, T) === le(O, T);
@@ -705,7 +708,7 @@ function fn(e, l) {
705
708
  }, { immediate: !0 });
706
709
  const { queryChange: $ } = pl(o);
707
710
  return W($, (n) => {
708
- const { query: O } = a(n), T = new RegExp(Rt(O), "i");
711
+ const { query: O } = a(n), T = new RegExp(Ht(O), "i");
709
712
  l.visible = T.test(b.value) || e.created, l.visible || o.filteredOptionsCount--;
710
713
  }, { immediate: !0 }), {
711
714
  select: o,
@@ -749,7 +752,7 @@ const vn = ge({
749
752
  b.cachedOptions.get(A) === m && !O && b.cachedOptions.delete(A);
750
753
  }), b.onOptionDestroy(A, m);
751
754
  });
752
- function F() {
755
+ function B() {
753
756
  e.disabled !== !0 && s.groupDisabled !== !0 && b.handleOptionSelect(m);
754
757
  }
755
758
  return {
@@ -762,14 +765,14 @@ const vn = ge({
762
765
  hoverItem: f,
763
766
  visible: w,
764
767
  hover: g,
765
- selectOptionClick: F,
768
+ selectOptionClick: B,
766
769
  states: s
767
770
  };
768
771
  }
769
772
  });
770
773
  function mn(e, l, o, s, c, u) {
771
- return He((y(), k("li", {
772
- class: C(e.containerKls),
774
+ return He((y(), L("li", {
775
+ class: S(e.containerKls),
773
776
  onMouseenter: l[0] || (l[0] = (...p) => e.hoverItem && e.hoverItem(...p)),
774
777
  onClick: l[1] || (l[1] = ee((...p) => e.selectOptionClick && e.selectOptionClick(...p), ["stop"]))
775
778
  }, [
@@ -780,7 +783,7 @@ function mn(e, l, o, s, c, u) {
780
783
  [hl, e.visible]
781
784
  ]);
782
785
  }
783
- var Fl = /* @__PURE__ */ We(vn, [["render", mn], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);
786
+ var Bl = /* @__PURE__ */ We(vn, [["render", mn], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);
784
787
  const hn = ge({
785
788
  name: "ElSelectDropdown",
786
789
  componentName: "ElSelectDropdown",
@@ -802,8 +805,8 @@ const hn = ge({
802
805
  }
803
806
  });
804
807
  function bn(e, l, o, s, c, u) {
805
- return y(), k("div", {
806
- class: C([e.ns.b("dropdown"), e.ns.is("multiple", e.isMultiple), e.popperClass]),
808
+ return y(), L("div", {
809
+ class: S([e.ns.b("dropdown"), e.ns.is("multiple", e.isMultiple), e.popperClass]),
807
810
  style: se({ [e.isFitInputWidth ? "width" : "minWidth"]: e.minWidth })
808
811
  }, [
809
812
  X(e.$slots, "default")
@@ -838,25 +841,25 @@ function yn(e) {
838
841
  focused: !1
839
842
  });
840
843
  }
841
- const Sn = (e, l, o) => {
844
+ const Cn = (e, l, o) => {
842
845
  const { t: s } = Kl(), c = be("select");
843
- Et({
846
+ It({
844
847
  from: "suffixTransition",
845
848
  replacement: "override style scheme",
846
849
  version: "2.3.0",
847
850
  scope: "props",
848
851
  ref: "https://element-plus.org/en-US/component/select.html#select-attributes"
849
852
  }, v(() => e.suffixTransition === !1));
850
- 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([]);
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([]);
851
854
  let T = 0;
852
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(() => {
853
856
  const t = e.multiple ? Array.isArray(e.modelValue) && e.modelValue.length > 0 : e.modelValue !== void 0 && e.modelValue !== null && e.modelValue !== "";
854
857
  return e.clearable && !j.value && l.inputHovering && t;
855
- }), 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(() => {
856
859
  const t = Array.from(l.options.values()), i = [];
857
860
  return O.value.forEach((d) => {
858
- const S = t.findIndex((N) => N.currentLabel === d);
859
- S > -1 && i.push(t[S]);
861
+ const C = t.findIndex((N) => N.currentLabel === d);
862
+ C > -1 && i.push(t[C]);
860
863
  }), i.length >= t.length ? i : t;
861
864
  }), Ke = v(() => Array.from(l.cachedOptions.values())), re = v(() => {
862
865
  const t = P.value.filter((i) => !i.created).some((i) => i.currentLabel === l.query);
@@ -876,13 +879,13 @@ const Sn = (e, l, o) => {
876
879
  }), W(() => e.placeholder, (t) => {
877
880
  l.cachedPlaceHolder = l.currentPlaceholder = t, e.multiple && Array.isArray(e.modelValue) && e.modelValue.length > 0 && (l.currentPlaceholder = "");
878
881
  }), W(() => e.modelValue, (t, i) => {
879
- 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), !Bl(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 = "", 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)));
880
883
  }, {
881
884
  flush: "post",
882
885
  deep: !0
883
886
  }), W(() => l.visible, (t) => {
884
- var i, d, S, N, H;
885
- 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(() => {
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(() => {
886
889
  p.value && p.value.value === "" && l.selected.length === 0 && (l.currentPlaceholder = l.cachedPlaceHolder);
887
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);
888
891
  }), W(() => l.options.entries(), () => {
@@ -890,8 +893,8 @@ const Sn = (e, l, o) => {
890
893
  if (!Al)
891
894
  return;
892
895
  (i = (t = f.value) == null ? void 0 : t.updatePopper) == null || i.call(t), e.multiple && Q();
893
- const S = ((d = m.value) == null ? void 0 : d.querySelectorAll("input")) || [];
894
- (!e.filterable && !e.defaultFirstOption && !$t(e.modelValue) || !Array.from(S).includes(document.activeElement)) && U(), e.defaultFirstOption && (e.filterable || e.remote) && l.filteredOptionsCount && Se();
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();
895
898
  }, {
896
899
  flush: "post"
897
900
  }), W(() => l.hoverIndex, (t) => {
@@ -906,10 +909,10 @@ const Sn = (e, l, o) => {
906
909
  return;
907
910
  const d = u.value.$el.querySelector("input");
908
911
  T = T || (d.clientHeight > 0 ? d.clientHeight + 2 : 0);
909
- const S = g.value, N = Ht(ae.value || (E == null ? void 0 : E.size)), H = ae.value || N === T || T <= 0 ? N : T;
910
- !(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));
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));
911
914
  });
912
- }, B = async (t) => {
915
+ }, F = async (t) => {
913
916
  if (!(l.previousQuery === t || l.isOnComposition)) {
914
917
  if (l.previousQuery === null && (Pe(e.filterMethod) || Pe(e.remoteMethod))) {
915
918
  l.previousQuery = t;
@@ -924,45 +927,45 @@ const Sn = (e, l, o) => {
924
927
  l.inputLength = e.collapseTags ? Math.min(50, i) : i, ue();
925
928
  }
926
929
  Q();
927
- }), 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());
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());
928
931
  }
929
932
  }, ue = () => {
930
933
  l.currentPlaceholder !== "" && (l.currentPlaceholder = p.value.value ? "" : l.cachedPlaceHolder);
931
- }, Se = () => {
932
- const t = P.value.filter((S) => S.visible && !S.disabled && !S.states.groupDisabled), i = t.find((S) => S.created), d = t[0];
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];
933
936
  l.hoverIndex = Me(P.value, i || d);
934
937
  }, U = () => {
935
938
  var t;
936
939
  if (e.multiple)
937
940
  l.selectedLabel = "";
938
941
  else {
939
- const d = Ce(e.modelValue);
942
+ const d = Se(e.modelValue);
940
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);
941
944
  return;
942
945
  }
943
946
  const i = [];
944
947
  Array.isArray(e.modelValue) && e.modelValue.forEach((d) => {
945
- i.push(Ce(d));
948
+ i.push(Se(d));
946
949
  }), l.selected = i, D(() => {
947
950
  Q();
948
951
  });
949
- }, Ce = (t) => {
952
+ }, Se = (t) => {
950
953
  let i;
951
- const d = kl(t).toLowerCase() === "object", S = kl(t).toLowerCase() === "null", N = kl(t).toLowerCase() === "undefined";
954
+ const d = Ll(t).toLowerCase() === "object", C = Ll(t).toLowerCase() === "null", N = Ll(t).toLowerCase() === "undefined";
952
955
  for (let me = l.cachedOptions.size - 1; me >= 0; me--) {
953
- const Z = Ke.value[me];
954
- 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) {
955
958
  i = {
956
959
  value: t,
957
- currentLabel: Z.currentLabel,
958
- isDisabled: Z.isDisabled
960
+ currentLabel: J.currentLabel,
961
+ isDisabled: J.isDisabled
959
962
  };
960
963
  break;
961
964
  }
962
965
  }
963
966
  if (i)
964
967
  return i;
965
- const H = d ? t.label : !S && !N ? t : "", ve = {
968
+ const H = d ? t.label : !C && !N ? t : "", ve = {
966
969
  value: t,
967
970
  currentLabel: H
968
971
  };
@@ -979,14 +982,14 @@ const Sn = (e, l, o) => {
979
982
  var t;
980
983
  l.inputWidth = (t = u.value) == null ? void 0 : t.$el.offsetWidth;
981
984
  }, Xe = () => {
982
- e.filterable && l.query !== l.selectedLabel && (l.query = l.selectedLabel, B(l.query));
983
- }, de = Nl(() => {
985
+ e.filterable && l.query !== l.selectedLabel && (l.query = l.selectedLabel, F(l.query));
986
+ }, de = Fl(() => {
984
987
  Xe();
985
- }, ye.value), rl = Nl((t) => {
986
- B(t.target.value);
988
+ }, ye.value), rl = Fl((t) => {
989
+ F(t.target.value);
987
990
  }, ye.value), ce = (t) => {
988
- Bl(e.modelValue, t) || o.emit(Jl, t);
989
- }, G = (t) => Nt(t, (i) => !l.disabledOptions.has(i)), Le = (t) => {
991
+ Nl(e.modelValue, t) || o.emit(xl, t);
992
+ }, G = (t) => Rt(t, (i) => !l.disabledOptions.has(i)), ke = (t) => {
990
993
  if (t.code !== Hl.delete) {
991
994
  if (t.target.value.length <= 0 && !Oe()) {
992
995
  const i = e.modelValue.slice(), d = G(i);
@@ -996,11 +999,11 @@ const Sn = (e, l, o) => {
996
999
  }
997
1000
  t.target.value.length === 1 && e.modelValue.length === 0 && (l.currentPlaceholder = l.cachedPlaceHolder);
998
1001
  }
999
- }, ke = (t, i) => {
1002
+ }, Le = (t, i) => {
1000
1003
  const d = l.selected.indexOf(i);
1001
1004
  if (d > -1 && !j.value) {
1002
- const S = e.modelValue.slice();
1003
- S.splice(d, 1), o.emit(te, S), ce(S), o.emit("remove-tag", i.value);
1005
+ const C = e.modelValue.slice();
1006
+ C.splice(d, 1), o.emit(te, C), ce(C), o.emit("remove-tag", i.value);
1004
1007
  }
1005
1008
  t.stopPropagation(), h();
1006
1009
  }, we = (t) => {
@@ -1013,8 +1016,8 @@ const Sn = (e, l, o) => {
1013
1016
  }, $e = (t) => {
1014
1017
  var i;
1015
1018
  if (e.multiple) {
1016
- const d = (e.modelValue || []).slice(), S = Me(d, t.value);
1017
- 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());
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());
1018
1021
  } else
1019
1022
  o.emit(te, t.value), ce(t.value), l.visible = !1;
1020
1023
  Ve(), !l.visible && D(() => {
@@ -1024,45 +1027,45 @@ const Sn = (e, l, o) => {
1024
1027
  if (!vl(i))
1025
1028
  return t.indexOf(i);
1026
1029
  const d = e.valueKey;
1027
- let S = -1;
1028
- return t.some((N, H) => pl(le(N, d)) === le(i, d) ? (S = H, !0) : !1), S;
1030
+ let C = -1;
1031
+ return t.some((N, H) => pl(le(N, d)) === le(i, d) ? (C = H, !0) : !1), C;
1029
1032
  }, Ve = () => {
1030
1033
  const t = p.value || u.value;
1031
1034
  t && (t == null || t.focus());
1032
1035
  }, pe = (t) => {
1033
- var i, d, S, N, H;
1036
+ var i, d, C, N, H;
1034
1037
  const ve = Array.isArray(t) ? t[0] : t;
1035
1038
  let me = null;
1036
1039
  if (ve != null && ve.value) {
1037
- const Z = P.value.filter((R) => R.value === ve.value);
1038
- 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);
1039
1042
  }
1040
1043
  if (f.value && me) {
1041
- const Z = (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")}`);
1042
- Z && Vt(Z, 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")}`);
1045
+ J && zt(J, me);
1043
1046
  }
1044
- (H = F.value) == null || H.handleScroll();
1045
- }, Je = (t) => {
1047
+ (H = B.value) == null || H.handleScroll();
1048
+ }, Ze = (t) => {
1046
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);
1047
- }, Ze = (t, i) => {
1050
+ }, Je = (t, i) => {
1048
1051
  l.options.get(t) === i && (l.optionsCount--, l.filteredOptionsCount--, l.options.delete(t));
1049
1052
  }, xe = (t) => {
1050
1053
  t.code !== Hl.backspace && Oe(!1), l.inputLength = p.value.value.length * 15 + 20, Q();
1051
1054
  }, Oe = (t) => {
1052
1055
  if (!Array.isArray(l.selected))
1053
1056
  return;
1054
- const i = G(l.selected.map((S) => S.value)), d = l.selected[i];
1057
+ const i = G(l.selected.map((C) => C.value)), d = l.selected[i];
1055
1058
  if (d)
1056
1059
  return t === !0 || t === !1 ? (d.hitState = t, t) : (d.hitState = !d.hitState, d.hitState);
1057
1060
  }, _e = (t) => {
1058
1061
  const i = t.target.value;
1059
1062
  if (t.type === "compositionend")
1060
- l.isOnComposition = !1, D(() => B(i));
1063
+ l.isOnComposition = !1, D(() => F(i));
1061
1064
  else {
1062
1065
  const d = i[i.length - 1] || "";
1063
1066
  l.isOnComposition = !_l(d);
1064
1067
  }
1065
- }, Fe = () => {
1068
+ }, Be = () => {
1066
1069
  D(() => pe(l.selected));
1067
1070
  }, r = (t) => {
1068
1071
  l.focused || ((e.automaticDropdown || e.filterable) && (e.filterable && !l.visible && (l.menuVisibleOnFocus = !0), l.visible = !0), l.focused = !0, o.emit("focus", t));
@@ -1073,8 +1076,8 @@ const Sn = (e, l, o) => {
1073
1076
  var t, i, d;
1074
1077
  l.visible = !1, (t = u.value) == null || t.blur(), (d = (i = b.value) == null ? void 0 : i.blur) == null || d.call(i);
1075
1078
  }, fe = (t) => {
1076
- var i, d, S;
1077
- (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));
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));
1078
1081
  }, Ie = (t) => {
1079
1082
  we(t);
1080
1083
  }, ul = () => {
@@ -1085,7 +1088,7 @@ const Sn = (e, l, o) => {
1085
1088
  t && !l.mouseEnter || j.value || (l.menuVisibleOnFocus ? l.menuVisibleOnFocus = !1 : (!f.value || !f.value.isFocusInsideContent()) && (l.visible = !l.visible), h());
1086
1089
  }, dl = () => {
1087
1090
  l.visible ? P.value[l.hoverIndex] && $e(P.value[l.hoverIndex]) : el();
1088
- }, 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) => {
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) => {
1089
1092
  if (!l.visible) {
1090
1093
  l.visible = !0;
1091
1094
  return;
@@ -1099,9 +1102,9 @@ const Sn = (e, l, o) => {
1099
1102
  l.mouseEnter = !0;
1100
1103
  }, Ol = () => {
1101
1104
  l.mouseEnter = !1;
1102
- }, Be = (t, i) => {
1103
- var d, S;
1104
- ke(t, i), (S = (d = w.value) == null ? void 0 : d.updatePopper) == null || S.call(d);
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
1108
  }, Il = v(() => ({
1106
1109
  maxWidth: `${a(l.inputWidth) - 32 - (qe.value ? 22 : 0)}px`,
1107
1110
  width: "100%"
@@ -1113,15 +1116,15 @@ const Sn = (e, l, o) => {
1113
1116
  handleResize: Ge,
1114
1117
  debouncedOnInputChange: de,
1115
1118
  debouncedQueryChange: rl,
1116
- deletePrevTag: Le,
1117
- deleteTag: ke,
1119
+ deletePrevTag: ke,
1120
+ deleteTag: Le,
1118
1121
  deleteSelected: we,
1119
1122
  handleOptionSelect: $e,
1120
1123
  scrollToOption: pe,
1121
1124
  readonly: ne,
1122
1125
  resetInputHeight: Q,
1123
1126
  showClose: De,
1124
- iconComponent: J,
1127
+ iconComponent: Z,
1125
1128
  iconReverse: oe,
1126
1129
  showNewOption: re,
1127
1130
  collapseTagSize: je,
@@ -1132,9 +1135,9 @@ const Sn = (e, l, o) => {
1132
1135
  toggleLastOptionHitState: Oe,
1133
1136
  resetInputState: xe,
1134
1137
  handleComposition: _e,
1135
- onOptionCreate: Je,
1136
- onOptionDestroy: Ze,
1137
- handleMenuEnter: Fe,
1138
+ onOptionCreate: Ze,
1139
+ onOptionDestroy: Je,
1140
+ handleMenuEnter: Be,
1138
1141
  handleFocus: r,
1139
1142
  focus: h,
1140
1143
  blur: M,
@@ -1146,12 +1149,12 @@ const Sn = (e, l, o) => {
1146
1149
  selectOption: dl,
1147
1150
  getValueKey: ll,
1148
1151
  navigateOptions: nl,
1149
- handleDeleteTooltipTag: Be,
1152
+ handleDeleteTooltipTag: Fe,
1150
1153
  dropMenuVisible: Qe,
1151
1154
  queryChange: $,
1152
1155
  groupQueryChange: n,
1153
- showTagList: Sl,
1154
- collapseTagList: Cl,
1156
+ showTagList: Cl,
1157
+ collapseTagList: Sl,
1155
1158
  selectTagsStyle: Il,
1156
1159
  reference: u,
1157
1160
  input: p,
@@ -1160,12 +1163,12 @@ const Sn = (e, l, o) => {
1160
1163
  tagTooltipRef: w,
1161
1164
  tags: g,
1162
1165
  selectWrapper: m,
1163
- scrollbar: F,
1166
+ scrollbar: B,
1164
1167
  handleMouseEnter: wl,
1165
1168
  handleMouseLeave: Ol
1166
1169
  };
1167
1170
  };
1168
- var Cn = ge({
1171
+ var Sn = ge({
1169
1172
  name: "ElOptions",
1170
1173
  emits: ["update-options"],
1171
1174
  setup(e, { slots: l, emit: o }) {
@@ -1183,8 +1186,8 @@ var Cn = ge({
1183
1186
  const b = (u = l.default) == null ? void 0 : u.call(l), f = [];
1184
1187
  function w(g) {
1185
1188
  Array.isArray(g) && g.forEach((m) => {
1186
- var F, A, $, n;
1187
- const O = (F = (m == null ? void 0 : m.type) || {}) == null ? void 0 : F.name;
1189
+ var B, A, $, n;
1190
+ const O = (B = (m == null ? void 0 : m.type) || {}) == null ? void 0 : B.name;
1188
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);
1189
1192
  });
1190
1193
  }
@@ -1198,8 +1201,8 @@ const jl = "ElSelect", wn = ge({
1198
1201
  components: {
1199
1202
  ElInput: sn,
1200
1203
  ElSelectMenu: gn,
1201
- ElOption: Fl,
1202
- ElOptions: Cn,
1204
+ ElOption: Bl,
1205
+ ElOptions: Sn,
1203
1206
  ElTag: pn,
1204
1207
  ElScrollbar: ft,
1205
1208
  ElTooltip: vt,
@@ -1220,7 +1223,7 @@ const jl = "ElSelect", wn = ge({
1220
1223
  automaticDropdown: Boolean,
1221
1224
  size: {
1222
1225
  type: String,
1223
- validator: Wt
1226
+ validator: qt
1224
1227
  },
1225
1228
  effect: {
1226
1229
  type: String,
@@ -1280,7 +1283,7 @@ const jl = "ElSelect", wn = ge({
1280
1283
  fitInputWidth: Boolean,
1281
1284
  suffixIcon: {
1282
1285
  type: fl,
1283
- default: Tt
1286
+ default: Et
1284
1287
  },
1285
1288
  tagType: { ...et.type, default: "info" },
1286
1289
  validateEvent: {
@@ -1304,7 +1307,7 @@ const jl = "ElSelect", wn = ge({
1304
1307
  },
1305
1308
  emits: [
1306
1309
  te,
1307
- Jl,
1310
+ xl,
1308
1311
  "remove-tag",
1309
1312
  "clear",
1310
1313
  "visible-change",
@@ -1319,7 +1322,7 @@ const jl = "ElSelect", wn = ge({
1319
1322
  readonly: w,
1320
1323
  handleResize: g,
1321
1324
  collapseTagSize: m,
1322
- debouncedOnInputChange: F,
1325
+ debouncedOnInputChange: B,
1323
1326
  debouncedQueryChange: A,
1324
1327
  deletePrevTag: $,
1325
1328
  deleteTag: n,
@@ -1330,7 +1333,7 @@ const jl = "ElSelect", wn = ge({
1330
1333
  resetInputHeight: ne,
1331
1334
  managePlaceholder: j,
1332
1335
  showClose: De,
1333
- selectDisabled: J,
1336
+ selectDisabled: Z,
1334
1337
  iconComponent: oe,
1335
1338
  iconReverse: qe,
1336
1339
  showNewOption: ye,
@@ -1342,11 +1345,11 @@ const jl = "ElSelect", wn = ge({
1342
1345
  onOptionDestroy: je,
1343
1346
  handleMenuEnter: Qe,
1344
1347
  handleFocus: Q,
1345
- focus: B,
1348
+ focus: F,
1346
1349
  blur: ue,
1347
- handleBlur: Se,
1350
+ handleBlur: Ce,
1348
1351
  handleClearClick: U,
1349
- handleClose: Ce,
1352
+ handleClose: Se,
1350
1353
  handleKeydownEscape: Ue,
1351
1354
  toggleMenu: Ge,
1352
1355
  selectOption: Ye,
@@ -1355,21 +1358,21 @@ const jl = "ElSelect", wn = ge({
1355
1358
  handleDeleteTooltipTag: rl,
1356
1359
  dropMenuVisible: ce,
1357
1360
  reference: G,
1358
- input: Le,
1359
- iOSInput: ke,
1361
+ input: ke,
1362
+ iOSInput: Le,
1360
1363
  tooltipRef: we,
1361
1364
  tagTooltipRef: $e,
1362
1365
  tags: Me,
1363
1366
  selectWrapper: Ve,
1364
1367
  scrollbar: pe,
1365
- queryChange: Je,
1366
- groupQueryChange: Ze,
1368
+ queryChange: Ze,
1369
+ groupQueryChange: Je,
1367
1370
  handleMouseEnter: xe,
1368
1371
  handleMouseLeave: Oe,
1369
1372
  showTagList: _e,
1370
- collapseTagList: Fe,
1373
+ collapseTagList: Be,
1371
1374
  selectTagsStyle: r
1372
- } = Sn(e, u, l), {
1375
+ } = Cn(e, u, l), {
1373
1376
  inputWidth: h,
1374
1377
  selected: M,
1375
1378
  inputLength: fe,
@@ -1380,33 +1383,33 @@ const jl = "ElSelect", wn = ge({
1380
1383
  query: dl,
1381
1384
  inputHovering: ll,
1382
1385
  currentPlaceholder: tl,
1383
- menuVisibleOnFocus: Sl,
1384
- isOnComposition: Cl,
1386
+ menuVisibleOnFocus: Cl,
1387
+ isOnComposition: Sl,
1385
1388
  options: nl,
1386
1389
  cachedOptions: wl,
1387
1390
  optionsCount: Ol,
1388
- prefixWidth: Be
1391
+ prefixWidth: Fe
1389
1392
  } = Vl(u), Il = v(() => {
1390
1393
  const R = [o.b()], ze = a(f);
1391
1394
  return ze && R.push(o.m(ze)), e.disabled && R.push(o.m("disabled")), R;
1392
1395
  }), t = v(() => [
1393
1396
  o.e("tags"),
1394
- o.is("disabled", a(J))
1397
+ o.is("disabled", a(Z))
1395
1398
  ]), i = v(() => [
1396
1399
  o.b("tags-wrapper"),
1397
- { "has-prefix": a(Be) && a(M).length }
1400
+ { "has-prefix": a(Fe) && a(M).length }
1398
1401
  ]), d = v(() => [
1399
1402
  o.e("input"),
1400
1403
  o.is(a(f)),
1401
- o.is("disabled", a(J))
1402
- ]), S = v(() => [
1404
+ o.is("disabled", a(Z))
1405
+ ]), C = v(() => [
1403
1406
  o.e("input"),
1404
1407
  o.is(a(f)),
1405
1408
  o.em("input", "iOS")
1406
1409
  ]), N = v(() => [
1407
1410
  o.is("empty", !e.allowCreate && !!a(dl) && a(Ie) === 0)
1408
1411
  ]), H = v(() => ({ maxWidth: `${a(h) > 123 ? a(h) - 123 : a(h) - 75}px` })), ve = v(() => ({
1409
- marginLeft: `${a(Be)}px`,
1412
+ marginLeft: `${a(Fe)}px`,
1410
1413
  flexGrow: 1,
1411
1414
  width: `${a(fe) / (a(h) - 32)}%`,
1412
1415
  maxWidth: `${a(h) - 42}px`
@@ -1425,14 +1428,14 @@ const jl = "ElSelect", wn = ge({
1425
1428
  selectWrapper: Ve,
1426
1429
  selected: M,
1427
1430
  setSelected: q,
1428
- queryChange: Je,
1429
- groupQueryChange: Ze
1431
+ queryChange: Ze,
1432
+ groupQueryChange: Je
1430
1433
  })), ml(() => {
1431
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(() => {
1432
1435
  const R = G.value && G.value.$el;
1433
1436
  if (R && (h.value = R.getBoundingClientRect().width, l.slots.prefix)) {
1434
1437
  const ze = R.querySelector(`.${s.e("prefix")}`);
1435
- Be.value = Math.max(ze.getBoundingClientRect().width + 11, 30);
1438
+ Fe.value = Math.max(ze.getBoundingClientRect().width + 11, 30);
1436
1439
  }
1437
1440
  }), q();
1438
1441
  }), e.multiple && !Array.isArray(e.modelValue) && l.emit(te, []), !e.multiple && Array.isArray(e.modelValue) && l.emit(te, "");
@@ -1441,16 +1444,16 @@ const jl = "ElSelect", wn = ge({
1441
1444
  return (ze = (R = we.value) == null ? void 0 : R.popperRef) == null ? void 0 : ze.contentRef;
1442
1445
  });
1443
1446
  return {
1444
- isIOS: Mt,
1447
+ isIOS: $t,
1445
1448
  onOptionsRendered: (R) => {
1446
1449
  p.value = R;
1447
1450
  },
1448
- prefixWidth: Be,
1451
+ prefixWidth: Fe,
1449
1452
  selectSize: f,
1450
1453
  readonly: w,
1451
1454
  handleResize: g,
1452
1455
  collapseTagSize: m,
1453
- debouncedOnInputChange: F,
1456
+ debouncedOnInputChange: B,
1454
1457
  debouncedQueryChange: A,
1455
1458
  deletePrevTag: $,
1456
1459
  deleteTag: n,
@@ -1468,13 +1471,13 @@ const jl = "ElSelect", wn = ge({
1468
1471
  query: dl,
1469
1472
  inputHovering: ll,
1470
1473
  currentPlaceholder: tl,
1471
- menuVisibleOnFocus: Sl,
1472
- isOnComposition: Cl,
1474
+ menuVisibleOnFocus: Cl,
1475
+ isOnComposition: Sl,
1473
1476
  options: nl,
1474
1477
  resetInputHeight: ne,
1475
1478
  managePlaceholder: j,
1476
1479
  showClose: De,
1477
- selectDisabled: J,
1480
+ selectDisabled: Z,
1478
1481
  iconComponent: oe,
1479
1482
  iconReverse: qe,
1480
1483
  showNewOption: ye,
@@ -1484,11 +1487,11 @@ const jl = "ElSelect", wn = ge({
1484
1487
  handleComposition: re,
1485
1488
  handleMenuEnter: Qe,
1486
1489
  handleFocus: Q,
1487
- focus: B,
1490
+ focus: F,
1488
1491
  blur: ue,
1489
- handleBlur: Se,
1492
+ handleBlur: Ce,
1490
1493
  handleClearClick: U,
1491
- handleClose: Ce,
1494
+ handleClose: Se,
1492
1495
  handleKeydownEscape: Ue,
1493
1496
  toggleMenu: Ge,
1494
1497
  selectOption: Ye,
@@ -1496,8 +1499,8 @@ const jl = "ElSelect", wn = ge({
1496
1499
  navigateOptions: de,
1497
1500
  dropMenuVisible: ce,
1498
1501
  reference: G,
1499
- input: Le,
1500
- iOSInput: ke,
1502
+ input: ke,
1503
+ iOSInput: Le,
1501
1504
  tooltipRef: we,
1502
1505
  popperPaneRef: me,
1503
1506
  tags: Me,
@@ -1507,7 +1510,7 @@ const jl = "ElSelect", wn = ge({
1507
1510
  tagsKls: t,
1508
1511
  tagWrapperKls: i,
1509
1512
  inputKls: d,
1510
- iOSInputKls: S,
1513
+ iOSInputKls: C,
1511
1514
  scrollbarKls: N,
1512
1515
  selectTagsStyle: r,
1513
1516
  nsSelect: o,
@@ -1516,16 +1519,16 @@ const jl = "ElSelect", wn = ge({
1516
1519
  handleMouseEnter: xe,
1517
1520
  handleMouseLeave: Oe,
1518
1521
  showTagList: _e,
1519
- collapseTagList: Fe,
1522
+ collapseTagList: Be,
1520
1523
  tagTooltipRef: $e
1521
1524
  };
1522
1525
  }
1523
1526
  }), On = ["disabled", "autocomplete", "aria-label"], In = ["disabled"], En = { style: { height: "100%", display: "flex", "justify-content": "center", "align-items": "center" } };
1524
1527
  function Tn(e, l, o, s, c, u) {
1525
- 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");
1526
- return He((y(), k("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"), B = Ee("el-scrollbar"), A = Ee("el-select-menu"), $ = st("click-outside");
1529
+ return He((y(), L("div", {
1527
1530
  ref: "selectWrapper",
1528
- class: C(e.wrapperKls),
1531
+ class: S(e.wrapperKls),
1529
1532
  onMouseenter: l[22] || (l[22] = (...n) => e.handleMouseEnter && e.handleMouseEnter(...n)),
1530
1533
  onMouseleave: l[23] || (l[23] = (...n) => e.handleMouseLeave && e.handleMouseLeave(...n)),
1531
1534
  onClick: l[24] || (l[24] = ee((...n) => e.toggleMenu && e.toggleMenu(...n), ["stop"]))
@@ -1547,17 +1550,17 @@ function Tn(e, l, o, s, c, u) {
1547
1550
  persistent: e.persistent,
1548
1551
  onShow: e.handleMenuEnter
1549
1552
  }, {
1550
- default: L(() => [
1553
+ default: k(() => [
1551
1554
  z("div", {
1552
1555
  class: "select-trigger",
1553
1556
  onMouseenter: l[20] || (l[20] = (n) => e.inputHovering = !0),
1554
1557
  onMouseleave: l[21] || (l[21] = (n) => e.inputHovering = !1)
1555
1558
  }, [
1556
- e.multiple ? (y(), k("div", {
1559
+ e.multiple ? (y(), L("div", {
1557
1560
  key: 0,
1558
1561
  ref: "tags",
1559
1562
  tabindex: "-1",
1560
- class: C(e.tagsKls),
1563
+ class: S(e.tagsKls),
1561
1564
  style: se(e.selectTagsStyle),
1562
1565
  onClick: l[15] || (l[15] = (...n) => e.focus && e.focus(...n))
1563
1566
  }, [
@@ -1565,11 +1568,11 @@ function Tn(e, l, o, s, c, u) {
1565
1568
  key: 0,
1566
1569
  onAfterLeave: e.resetInputHeight
1567
1570
  }, {
1568
- default: L(() => [
1571
+ default: k(() => [
1569
1572
  z("span", {
1570
- class: C(e.tagWrapperKls)
1573
+ class: S(e.tagWrapperKls)
1571
1574
  }, [
1572
- (y(!0), k(Ae, null, Tl(e.showTagList, (n) => (y(), V(p, {
1575
+ (y(!0), L(Ae, null, Tl(e.showTagList, (n) => (y(), V(p, {
1573
1576
  key: e.getValueKey(n),
1574
1577
  closable: !e.selectDisabled && !n.isDisabled,
1575
1578
  size: e.collapseTagSize,
@@ -1578,9 +1581,9 @@ function Tn(e, l, o, s, c, u) {
1578
1581
  "disable-transitions": "",
1579
1582
  onClose: (O) => e.deleteTag(O, n)
1580
1583
  }, {
1581
- default: L(() => [
1584
+ default: k(() => [
1582
1585
  z("span", {
1583
- class: C(e.nsSelect.e("tags-text")),
1586
+ class: S(e.nsSelect.e("tags-text")),
1584
1587
  style: se(e.tagTextStyle)
1585
1588
  }, Y(n.currentLabel), 7)
1586
1589
  ]),
@@ -1593,7 +1596,7 @@ function Tn(e, l, o, s, c, u) {
1593
1596
  type: e.tagType,
1594
1597
  "disable-transitions": ""
1595
1598
  }, {
1596
- default: L(() => [
1599
+ default: k(() => [
1597
1600
  e.collapseTagsTooltip ? (y(), V(b, {
1598
1601
  key: 0,
1599
1602
  ref: "tagTooltipRef",
@@ -1603,18 +1606,18 @@ function Tn(e, l, o, s, c, u) {
1603
1606
  placement: "bottom",
1604
1607
  teleported: e.teleported
1605
1608
  }, {
1606
- default: L(() => [
1609
+ default: k(() => [
1607
1610
  z("span", {
1608
- class: C(e.nsSelect.e("tags-text"))
1611
+ class: S(e.nsSelect.e("tags-text"))
1609
1612
  }, "+ " + Y(e.selected.length - e.maxCollapseTags), 3)
1610
1613
  ]),
1611
- content: L(() => [
1614
+ content: k(() => [
1612
1615
  z("div", {
1613
- class: C(e.nsSelect.e("collapse-tags"))
1616
+ class: S(e.nsSelect.e("collapse-tags"))
1614
1617
  }, [
1615
- (y(!0), k(Ae, null, Tl(e.collapseTagList, (n) => (y(), k("div", {
1618
+ (y(!0), L(Ae, null, Tl(e.collapseTagList, (n) => (y(), L("div", {
1616
1619
  key: e.getValueKey(n),
1617
- class: C(e.nsSelect.e("collapse-tag"))
1620
+ class: S(e.nsSelect.e("collapse-tag"))
1618
1621
  }, [
1619
1622
  he(p, {
1620
1623
  class: "in-tooltip",
@@ -1626,9 +1629,9 @@ function Tn(e, l, o, s, c, u) {
1626
1629
  style: { margin: "2px" },
1627
1630
  onClose: (O) => e.handleDeleteTooltipTag(O, n)
1628
1631
  }, {
1629
- default: L(() => [
1632
+ default: k(() => [
1630
1633
  z("span", {
1631
- class: C(e.nsSelect.e("tags-text")),
1634
+ class: S(e.nsSelect.e("tags-text")),
1632
1635
  style: se({
1633
1636
  maxWidth: e.inputWidth - 75 + "px"
1634
1637
  })
@@ -1640,9 +1643,9 @@ function Tn(e, l, o, s, c, u) {
1640
1643
  ], 2)
1641
1644
  ]),
1642
1645
  _: 1
1643
- }, 8, ["disabled", "effect", "teleported"])) : (y(), k("span", {
1646
+ }, 8, ["disabled", "effect", "teleported"])) : (y(), L("span", {
1644
1647
  key: 1,
1645
- class: C(e.nsSelect.e("tags-text"))
1648
+ class: S(e.nsSelect.e("tags-text"))
1646
1649
  }, "+ " + Y(e.selected.length - e.maxCollapseTags), 3))
1647
1650
  ]),
1648
1651
  _: 1
@@ -1655,12 +1658,12 @@ function Tn(e, l, o, s, c, u) {
1655
1658
  key: 1,
1656
1659
  onAfterLeave: e.resetInputHeight
1657
1660
  }, {
1658
- default: L(() => [
1661
+ default: k(() => [
1659
1662
  z("span", {
1660
- class: C(e.tagWrapperKls),
1663
+ class: S(e.tagWrapperKls),
1661
1664
  style: se(e.prefixWidth && e.selected.length ? { marginLeft: `${e.prefixWidth}px` } : "")
1662
1665
  }, [
1663
- (y(!0), k(Ae, null, Tl(e.selected, (n) => (y(), V(p, {
1666
+ (y(!0), L(Ae, null, Tl(e.selected, (n) => (y(), V(p, {
1664
1667
  key: e.getValueKey(n),
1665
1668
  closable: !e.selectDisabled && !n.isDisabled,
1666
1669
  size: e.collapseTagSize,
@@ -1669,9 +1672,9 @@ function Tn(e, l, o, s, c, u) {
1669
1672
  "disable-transitions": "",
1670
1673
  onClose: (O) => e.deleteTag(O, n)
1671
1674
  }, {
1672
- default: L(() => [
1675
+ default: k(() => [
1673
1676
  z("span", {
1674
- class: C(e.nsSelect.e("tags-text")),
1677
+ class: S(e.nsSelect.e("tags-text")),
1675
1678
  style: se({ maxWidth: e.inputWidth - 75 + "px" })
1676
1679
  }, Y(n.currentLabel), 7)
1677
1680
  ]),
@@ -1681,12 +1684,12 @@ function Tn(e, l, o, s, c, u) {
1681
1684
  ]),
1682
1685
  _: 1
1683
1686
  }, 8, ["onAfterLeave"])),
1684
- e.filterable && !e.selectDisabled ? He((y(), k("input", {
1687
+ e.filterable && !e.selectDisabled ? He((y(), L("input", {
1685
1688
  key: 2,
1686
1689
  ref: "input",
1687
1690
  "onUpdate:modelValue": l[0] || (l[0] = (n) => e.query = n),
1688
1691
  type: "text",
1689
- class: C(e.inputKls),
1692
+ class: S(e.inputKls),
1690
1693
  disabled: e.selectDisabled,
1691
1694
  autocomplete: e.autocomplete,
1692
1695
  style: se(e.inputStyle),
@@ -1712,10 +1715,10 @@ function Tn(e, l, o, s, c, u) {
1712
1715
  ]) : I("v-if", !0)
1713
1716
  ], 6)) : I("v-if", !0),
1714
1717
  I(" fix: https://github.com/element-plus/element-plus/issues/11415 "),
1715
- e.isIOS && !e.multiple && e.filterable && e.readonly ? (y(), k("input", {
1718
+ e.isIOS && !e.multiple && e.filterable && e.readonly ? (y(), L("input", {
1716
1719
  key: 1,
1717
1720
  ref: "iOSInput",
1718
- class: C(e.iOSInputKls),
1721
+ class: S(e.iOSInputKls),
1719
1722
  disabled: e.selectDisabled,
1720
1723
  type: "text"
1721
1724
  }, null, 10, In)) : I("v-if", !0),
@@ -1732,7 +1735,7 @@ function Tn(e, l, o, s, c, u) {
1732
1735
  disabled: e.selectDisabled,
1733
1736
  readonly: e.readonly,
1734
1737
  "validate-event": !1,
1735
- class: C([e.nsSelect.is("focus", e.visible)]),
1738
+ class: S([e.nsSelect.is("focus", e.visible)]),
1736
1739
  tabindex: e.multiple && e.filterable ? -1 : void 0,
1737
1740
  label: e.ariaLabel,
1738
1741
  onFocus: e.handleFocus,
@@ -1750,22 +1753,22 @@ function Tn(e, l, o, s, c, u) {
1750
1753
  l[19] || (l[19] = x((n) => e.visible = !1, ["tab"]))
1751
1754
  ]
1752
1755
  }, ut({
1753
- suffix: L(() => [
1756
+ suffix: k(() => [
1754
1757
  e.iconComponent && !e.showClose ? (y(), V(f, {
1755
1758
  key: 0,
1756
- class: C([e.nsSelect.e("caret"), e.nsSelect.e("icon"), e.iconReverse])
1759
+ class: S([e.nsSelect.e("caret"), e.nsSelect.e("icon"), e.iconReverse])
1757
1760
  }, {
1758
- default: L(() => [
1761
+ default: k(() => [
1759
1762
  (y(), V(Ne(e.iconComponent)))
1760
1763
  ]),
1761
1764
  _: 1
1762
1765
  }, 8, ["class"])) : I("v-if", !0),
1763
1766
  e.showClose && e.clearIcon ? (y(), V(f, {
1764
1767
  key: 1,
1765
- class: C([e.nsSelect.e("caret"), e.nsSelect.e("icon")]),
1768
+ class: S([e.nsSelect.e("caret"), e.nsSelect.e("icon")]),
1766
1769
  onClick: e.handleClearClick
1767
1770
  }, {
1768
- default: L(() => [
1771
+ default: k(() => [
1769
1772
  (y(), V(Ne(e.clearIcon)))
1770
1773
  ]),
1771
1774
  _: 1
@@ -1775,7 +1778,7 @@ function Tn(e, l, o, s, c, u) {
1775
1778
  }, [
1776
1779
  e.$slots.prefix ? {
1777
1780
  name: "prefix",
1778
- fn: L(() => [
1781
+ fn: k(() => [
1779
1782
  z("div", En, [
1780
1783
  X(e.$slots, "prefix")
1781
1784
  ])
@@ -1784,24 +1787,24 @@ function Tn(e, l, o, s, c, u) {
1784
1787
  ]), 1032, ["id", "modelValue", "placeholder", "name", "autocomplete", "size", "disabled", "readonly", "class", "tabindex", "label", "onFocus", "onBlur", "onInput", "onPaste", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onKeydown"])
1785
1788
  ], 32)
1786
1789
  ]),
1787
- content: L(() => [
1790
+ content: k(() => [
1788
1791
  he(A, null, {
1789
- default: L(() => [
1790
- He(he(F, {
1792
+ default: k(() => [
1793
+ He(he(B, {
1791
1794
  ref: "scrollbar",
1792
1795
  tag: "ul",
1793
1796
  "wrap-class": e.nsSelect.be("dropdown", "wrap"),
1794
1797
  "view-class": e.nsSelect.be("dropdown", "list"),
1795
- class: C(e.scrollbarKls)
1798
+ class: S(e.scrollbarKls)
1796
1799
  }, {
1797
- default: L(() => [
1800
+ default: k(() => [
1798
1801
  e.showNewOption ? (y(), V(g, {
1799
1802
  key: 0,
1800
1803
  value: e.query,
1801
1804
  created: !0
1802
1805
  }, null, 8, ["value"])) : I("v-if", !0),
1803
1806
  he(m, { onUpdateOptions: e.onOptionsRendered }, {
1804
- default: L(() => [
1807
+ default: k(() => [
1805
1808
  X(e.$slots, "default")
1806
1809
  ]),
1807
1810
  _: 3
@@ -1811,10 +1814,10 @@ function Tn(e, l, o, s, c, u) {
1811
1814
  }, 8, ["wrap-class", "view-class", "class"]), [
1812
1815
  [hl, e.options.size > 0 && !e.loading]
1813
1816
  ]),
1814
- e.emptyText && (!e.allowCreate || e.loading || e.allowCreate && e.options.size === 0) ? (y(), k(Ae, { key: 0 }, [
1815
- e.$slots.empty ? X(e.$slots, "empty", { key: 0 }) : (y(), k("p", {
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", {
1816
1819
  key: 1,
1817
- class: C(e.nsSelect.be("dropdown", "empty"))
1820
+ class: S(e.nsSelect.be("dropdown", "empty"))
1818
1821
  }, Y(e.emptyText), 3))
1819
1822
  ], 64)) : I("v-if", !0)
1820
1823
  ]),
@@ -1827,8 +1830,8 @@ function Tn(e, l, o, s, c, u) {
1827
1830
  [$, e.handleClose, e.popperPaneRef]
1828
1831
  ]);
1829
1832
  }
1830
- var Ln = /* @__PURE__ */ We(wn, [["render", Tn], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);
1831
- const kn = ge({
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({
1832
1835
  name: "ElOptionGroup",
1833
1836
  componentName: "ElOptionGroup",
1834
1837
  props: {
@@ -1860,15 +1863,15 @@ const kn = ge({
1860
1863
  }
1861
1864
  });
1862
1865
  function $n(e, l, o, s, c, u) {
1863
- return He((y(), k("ul", {
1864
- class: C(e.ns.be("group", "wrap"))
1866
+ return He((y(), L("ul", {
1867
+ class: S(e.ns.be("group", "wrap"))
1865
1868
  }, [
1866
1869
  z("li", {
1867
- class: C(e.ns.be("group", "title"))
1870
+ class: S(e.ns.be("group", "title"))
1868
1871
  }, Y(e.label), 3),
1869
1872
  z("li", null, [
1870
1873
  z("ul", {
1871
- class: C(e.ns.b("group"))
1874
+ class: S(e.ns.b("group"))
1872
1875
  }, [
1873
1876
  X(e.$slots, "default")
1874
1877
  ], 2)
@@ -1877,16 +1880,15 @@ function $n(e, l, o, s, c, u) {
1877
1880
  [hl, e.visible]
1878
1881
  ]);
1879
1882
  }
1880
- var tt = /* @__PURE__ */ We(kn, [["render", $n], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);
1881
- const Dn = Dl(Ln, {
1882
- Option: Fl,
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
1886
  OptionGroup: tt
1884
- }), Kn = xl(Fl);
1885
- xl(tt);
1887
+ }), Nn = Jl(Bl);
1888
+ Jl(tt);
1886
1889
  export {
1887
- Kn as E,
1888
- Dn as a,
1890
+ Nn as E,
1891
+ Fn as a,
1889
1892
  sn as b,
1890
- pn as c,
1891
- qt as m
1893
+ pn as c
1892
1894
  };