st-comp 0.0.90 → 0.0.92

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 (57) hide show
  1. package/components.d.ts +1 -0
  2. package/es/ChartLayout.js +2 -2
  3. package/es/Dialog.js +10 -10
  4. package/es/FactorWarning.cjs +1 -0
  5. package/es/FactorWarning.js +461 -0
  6. package/es/Kline.cjs +1 -1
  7. package/es/Kline.js +11 -10
  8. package/es/KlineNew.cjs +1 -1
  9. package/es/KlineNew.js +10 -9
  10. package/es/Pagination.cjs +1 -1
  11. package/es/Pagination.js +106 -105
  12. package/es/Table.cjs +1 -1
  13. package/es/Table.js +309 -431
  14. package/es/VarietySearch.cjs +1 -12
  15. package/es/VarietySearch.js +788 -2512
  16. package/es/VirtualTable.js +89 -89
  17. package/es/{base-e85dae08.js → base-1bc9f12c.js} +19 -19
  18. package/es/{castArray-b93d1330.js → castArray-f42865a2.js} +1 -1
  19. package/es/{config-provider-cb918d0f.js → config-provider-c8d3957d.js} +3 -3
  20. package/es/{el-button-aab1dbd4.js → el-button-93e0ac7c.js} +33 -33
  21. package/es/{el-empty-ab3ce002.js → el-empty-0c85d9b7.js} +13 -13
  22. package/es/el-icon-0ea8fbf8.cjs +1 -0
  23. package/es/el-icon-4ed993c7.js +1 -0
  24. package/es/el-input-29806e42.js +543 -0
  25. package/es/el-input-a8791103.cjs +9 -0
  26. package/es/{el-overlay-98d7f866.js → el-overlay-53eb27a5.js} +6 -6
  27. package/es/el-popover-1d087574.cjs +1 -0
  28. package/es/el-popover-dd66e2c8.js +133 -0
  29. package/es/el-radio-group-46e8f574.cjs +12 -0
  30. package/es/el-radio-group-caebab9d.js +1743 -0
  31. package/es/{el-scrollbar-7b9d83d5.js → el-scrollbar-e17fad47.js} +14 -14
  32. package/es/el-select-64511731.cjs +1 -0
  33. package/es/el-select-ac302f3c.js +1360 -0
  34. package/es/{el-icon-2d22f211.js → el-table-column-b8e2141b.js} +750 -750
  35. package/es/{el-tag-87576c55.js → el-tag-9493bdff.js} +66 -66
  36. package/es/{focus-trap-067be6d2.js → focus-trap-1b2aef75.js} +1 -1
  37. package/es/{raf-b091dc88.js → raf-6d7e80f4.js} +1 -1
  38. package/es/{scroll-510cef88.js → scroll-a928a93e.js} +1 -1
  39. package/es/style.css +1 -1
  40. package/es/{use-form-item-439ac27c.js → use-form-item-aeec8499.js} +38 -38
  41. package/es/{use-global-config-857b51f5.js → use-global-config-b07c467a.js} +12 -12
  42. package/es/{vnode-8c7963dc.js → vnode-aa872900.js} +1 -1
  43. package/es/{zh-cn-c2b42b5f.js → zh-cn-d29347f8.js} +2 -2
  44. package/lib/bundle.js +1 -1
  45. package/lib/bundle.umd.cjs +181 -181
  46. package/lib/{index-4512909d.js → index-74cdff5f.js} +23623 -23192
  47. package/lib/{python-7403caa0.js → python-ed84da20.js} +1 -1
  48. package/lib/style.css +1 -1
  49. package/package.json +1 -1
  50. package/packages/FactorWarning/index.ts +8 -0
  51. package/packages/FactorWarning/index.vue +383 -0
  52. package/packages/index.ts +2 -0
  53. package/src/pages/FactorWarning/index.vue +72 -0
  54. package/src/router/routes.ts +5 -0
  55. package/es/el-select-d3f15536.cjs +0 -9
  56. package/es/el-select-fd76b16b.js +0 -1894
  57. /package/es/{el-icon-773986c7.cjs → el-table-column-773986c7.cjs} +0 -0
@@ -1,17 +1,17 @@
1
- import { inject as se, computed as W, getCurrentInstance as ee, watch as ie, nextTick as Ee, ref as E, toRaw as Bt, defineComponent as he, useSlots as al, openBlock as V, createBlock as Le, resolveDynamicComponent as il, unref as O, normalizeClass as I, withCtx as ye, createElementVNode as oe, withDirectives as xe, createElementBlock as U, isRef as Be, withModifiers as Qe, vModelCheckbox as Ze, renderSlot as Fe, Fragment as Je, createTextVNode as ot, toDisplayString as Se, createCommentVNode as Ce, normalizeStyle as ke, provide as ul, toRefs as dl, resolveComponent as fe, resolveDirective as cl, createVNode as we, renderList as It, onBeforeMount as fl, onMounted as ze, onUpdated as wn, onUnmounted as Rt, h as H, watchEffect as He, vShow as Kt, Comment as Sn, onBeforeUnmount as xn } from "vue";
2
- import { o as hl, p as De, q as vl, r as En, t as it, b as kn, v as Rn, U as zt, k as Ln, f as Nn, w as On, S as Fn, j as Mn, x as Tn, i as Wn, y as An, z as Hn, l as pl, E as $n, C as Pn } from "./el-tag-87576c55.js";
1
+ import { inject as re, computed as T, getCurrentInstance as ee, watch as ie, nextTick as Ee, ref as E, toRaw as Bt, defineComponent as he, useSlots as al, openBlock as D, createBlock as Le, resolveDynamicComponent as il, unref as O, normalizeClass as I, withCtx as ye, createElementVNode as oe, withDirectives as xe, createElementBlock as U, isRef as Be, withModifiers as Qe, vModelCheckbox as Ze, renderSlot as Fe, Fragment as Je, createTextVNode as ot, toDisplayString as Se, createCommentVNode as Ce, normalizeStyle as ke, provide as ul, toRefs as dl, resolveComponent as fe, resolveDirective as cl, createVNode as we, renderList as It, onBeforeMount as fl, onMounted as Ke, onUpdated as wn, onUnmounted as Rt, h as H, watchEffect as He, vShow as zt, Comment as Sn, onBeforeUnmount as xn } from "vue";
2
+ import { o as hl, p as Ve, q as vl, r as En, t as it, b as kn, v as Rn, U as Kt, k as Ln, f as Nn, w as On, S as Fn, j as Mn, x as An, i as Tn, y as Wn, z as Hn, l as pl, E as $n, C as Pn } from "./el-tag-9493bdff.js";
3
3
  import { g as Bn } from "./_commonjsHelpers-10dfc225.js";
4
- import { v as Ve, O as ml, S as Dt, x as et, s as gl, P as In, Q as Kn, R as zn, T as Dn, U as Vn, V as jn, i as ut, k as dt, m as tt, C as lt, j as Lt, y as Me, e as ct, u as re, _ as je, b as Gn, d as Un, w as bl, f as Nt, W as Ie, t as Yn, K as Vt, o as Ke, g as yl, a as Cl, D as qn, h as Ue, r as ft } from "./base-e85dae08.js";
5
- import { d as jt, c as wl, a as Xn, e as _n, g as Qn } from "./use-global-config-857b51f5.js";
6
- import { G as Zn, l as Ot, n as Jn, o as Ft, h as ht, p as Sl, E as Mt, a as eo, s as to, y as lo, b as xl, H as no } from "./use-form-item-439ac27c.js";
7
- import { d as nt, a as Gt, u as Ut } from "./el-scrollbar-7b9d83d5.js";
8
- import { U as st } from "./focus-trap-067be6d2.js";
9
- import { r as oo } from "./raf-b091dc88.js";
10
- var Yt = Object.create, so = function() {
4
+ import { z as De, O as ml, S as Vt, A as et, y as gl, P as In, Q as zn, R as Kn, T as Vn, U as Dn, V as jn, i as ut, k as dt, l as tt, E as lt, j as Lt, B as Me, e as ct, u as se, _ as je, b as Gn, d as Un, w as bl, f as Nt, W as Ie, t as Yn, J as Dt, o as ze, g as yl, a as Cl, v as qn, h as Ue, r as ft } from "./base-1bc9f12c.js";
5
+ import { d as jt, c as wl, a as Xn, e as _n, g as Qn } from "./use-global-config-b07c467a.js";
6
+ import { G as Zn, r as Ot, s as Jn, t as Ft, h as ht, v as Sl, E as Mt, a as eo, x as to, y as lo, b as xl, H as no } from "./use-form-item-aeec8499.js";
7
+ import { d as nt, a as Gt, u as Ut } from "./el-scrollbar-e17fad47.js";
8
+ import { U as rt } from "./focus-trap-1b2aef75.js";
9
+ import { r as oo } from "./raf-6d7e80f4.js";
10
+ var Yt = Object.create, ro = function() {
11
11
  function e() {
12
12
  }
13
13
  return function(t) {
14
- if (!Ve(t))
14
+ if (!De(t))
15
15
  return {};
16
16
  if (Yt)
17
17
  return Yt(t);
@@ -20,7 +20,7 @@ var Yt = Object.create, so = function() {
20
20
  return e.prototype = void 0, l;
21
21
  };
22
22
  }();
23
- const ro = so;
23
+ const so = ro;
24
24
  function ao(e, t, l) {
25
25
  switch (l.length) {
26
26
  case 0:
@@ -44,8 +44,8 @@ var uo = 800, co = 16, fo = Date.now;
44
44
  function ho(e) {
45
45
  var t = 0, l = 0;
46
46
  return function() {
47
- var n = fo(), s = co - (n - l);
48
- if (l = n, s > 0) {
47
+ var n = fo(), r = co - (n - l);
48
+ if (l = n, r > 0) {
49
49
  if (++t >= uo)
50
50
  return arguments[0];
51
51
  } else
@@ -70,22 +70,22 @@ const mo = po;
70
70
  var go = ho(mo);
71
71
  const El = go;
72
72
  function bo(e, t, l, n) {
73
- var s = !l;
73
+ var r = !l;
74
74
  l || (l = {});
75
75
  for (var a = -1, i = t.length; ++a < i; ) {
76
- var o = t[a], r = n ? n(l[o], e[o], o, l, e) : void 0;
77
- r === void 0 && (r = e[o]), s ? wl(l, o, r) : Xn(l, o, r);
76
+ var o = t[a], s = n ? n(l[o], e[o], o, l, e) : void 0;
77
+ s === void 0 && (s = e[o]), r ? wl(l, o, s) : Xn(l, o, s);
78
78
  }
79
79
  return l;
80
80
  }
81
81
  var qt = Math.max;
82
82
  function kl(e, t, l) {
83
83
  return t = qt(t === void 0 ? e.length - 1 : t, 0), function() {
84
- for (var n = arguments, s = -1, a = qt(n.length - t, 0), i = Array(a); ++s < a; )
85
- i[s] = n[t + s];
86
- s = -1;
87
- for (var o = Array(t + 1); ++s < t; )
88
- o[s] = n[s];
84
+ for (var n = arguments, r = -1, a = qt(n.length - t, 0), i = Array(a); ++r < a; )
85
+ i[r] = n[t + r];
86
+ r = -1;
87
+ for (var o = Array(t + 1); ++r < t; )
88
+ o[r] = n[r];
89
89
  return o[t] = l(i), ao(e, this, o);
90
90
  };
91
91
  }
@@ -93,15 +93,15 @@ function yo(e, t) {
93
93
  return El(kl(e, t, hl), e + "");
94
94
  }
95
95
  function Co(e, t, l) {
96
- if (!Ve(l))
96
+ if (!De(l))
97
97
  return !1;
98
98
  var n = typeof t;
99
- return (n == "number" ? De(l) && Zn(t, l.length) : n == "string" && t in l) ? ml(l[t], e) : !1;
99
+ return (n == "number" ? Ve(l) && Zn(t, l.length) : n == "string" && t in l) ? ml(l[t], e) : !1;
100
100
  }
101
101
  function wo(e) {
102
102
  return yo(function(t, l) {
103
- var n = -1, s = l.length, a = s > 1 ? l[s - 1] : void 0, i = s > 2 ? l[2] : void 0;
104
- for (a = e.length > 3 && typeof a == "function" ? (s--, a) : void 0, i && Co(l[0], l[1], i) && (a = s < 3 ? void 0 : a, s = 1), t = Object(t); ++n < s; ) {
103
+ var n = -1, r = l.length, a = r > 1 ? l[r - 1] : void 0, i = r > 2 ? l[2] : void 0;
104
+ for (a = e.length > 3 && typeof a == "function" ? (r--, a) : void 0, i && Co(l[0], l[1], i) && (a = r < 3 ? void 0 : a, r = 1), t = Object(t); ++n < r; ) {
105
105
  var o = l[n];
106
106
  o && e(t, o, n, a);
107
107
  }
@@ -117,7 +117,7 @@ function So(e) {
117
117
  }
118
118
  var xo = Object.prototype, Eo = xo.hasOwnProperty;
119
119
  function ko(e) {
120
- if (!Ve(e))
120
+ if (!De(e))
121
121
  return So(e);
122
122
  var t = vl(e), l = [];
123
123
  for (var n in e)
@@ -125,40 +125,40 @@ function ko(e) {
125
125
  return l;
126
126
  }
127
127
  function Rl(e) {
128
- return De(e) ? En(e, !0) : ko(e);
128
+ return Ve(e) ? En(e, !0) : ko(e);
129
129
  }
130
- var Xt = Dt ? Dt.isConcatSpreadable : void 0;
130
+ var Xt = Vt ? Vt.isConcatSpreadable : void 0;
131
131
  function Ro(e) {
132
132
  return et(e) || it(e) || !!(Xt && e && e[Xt]);
133
133
  }
134
- function Tt(e, t, l, n, s) {
134
+ function At(e, t, l, n, r) {
135
135
  var a = -1, i = e.length;
136
- for (l || (l = Ro), s || (s = []); ++a < i; ) {
136
+ for (l || (l = Ro), r || (r = []); ++a < i; ) {
137
137
  var o = e[a];
138
- t > 0 && l(o) ? t > 1 ? Tt(o, t - 1, l, n, s) : kn(s, o) : n || (s[s.length] = o);
138
+ t > 0 && l(o) ? t > 1 ? At(o, t - 1, l, n, r) : kn(r, o) : n || (r[r.length] = o);
139
139
  }
140
- return s;
140
+ return r;
141
141
  }
142
142
  function Lo(e) {
143
143
  var t = e == null ? 0 : e.length;
144
- return t ? Tt(e, 1) : [];
144
+ return t ? At(e, 1) : [];
145
145
  }
146
146
  function No(e) {
147
147
  return El(kl(e, void 0, Lo), e + "");
148
148
  }
149
149
  var Oo = Rn(Object.getPrototypeOf, Object);
150
150
  const Ll = Oo;
151
- var Fo = "[object Object]", Mo = Function.prototype, To = Object.prototype, Nl = Mo.toString, Wo = To.hasOwnProperty, Ao = Nl.call(Object);
151
+ var Fo = "[object Object]", Mo = Function.prototype, Ao = Object.prototype, Nl = Mo.toString, To = Ao.hasOwnProperty, Wo = Nl.call(Object);
152
152
  function Ho(e) {
153
153
  if (!gl(e) || In(e) != Fo)
154
154
  return !1;
155
155
  var t = Ll(e);
156
156
  if (t === null)
157
157
  return !0;
158
- var l = Wo.call(t, "constructor") && t.constructor;
159
- return typeof l == "function" && l instanceof l && Nl.call(l) == Ao;
158
+ var l = To.call(t, "constructor") && t.constructor;
159
+ return typeof l == "function" && l instanceof l && Nl.call(l) == Wo;
160
160
  }
161
- var Ol = typeof exports == "object" && exports && !exports.nodeType && exports, _t = Ol && typeof module == "object" && module && !module.nodeType && module, $o = _t && _t.exports === Ol, Qt = $o ? Kn.Buffer : void 0, Zt = Qt ? Qt.allocUnsafe : void 0;
161
+ var Ol = typeof exports == "object" && exports && !exports.nodeType && exports, _t = Ol && typeof module == "object" && module && !module.nodeType && module, $o = _t && _t.exports === Ol, Qt = $o ? zn.Buffer : void 0, Zt = Qt ? Qt.allocUnsafe : void 0;
162
162
  function Po(e, t) {
163
163
  if (t)
164
164
  return e.slice();
@@ -167,48 +167,48 @@ function Po(e, t) {
167
167
  }
168
168
  function Bo(e) {
169
169
  var t = new e.constructor(e.byteLength);
170
- return new zt(t).set(new zt(e)), t;
170
+ return new Kt(t).set(new Kt(e)), t;
171
171
  }
172
172
  function Io(e, t) {
173
173
  var l = t ? Bo(e.buffer) : e.buffer;
174
174
  return new e.constructor(l, e.byteOffset, e.length);
175
175
  }
176
- function Ko(e) {
177
- return typeof e.constructor == "function" && !vl(e) ? ro(Ll(e)) : {};
178
- }
179
176
  function zo(e) {
177
+ return typeof e.constructor == "function" && !vl(e) ? so(Ll(e)) : {};
178
+ }
179
+ function Ko(e) {
180
180
  return function(t, l, n) {
181
- for (var s = -1, a = Object(t), i = n(t), o = i.length; o--; ) {
182
- var r = i[e ? o : ++s];
183
- if (l(a[r], r, a) === !1)
181
+ for (var r = -1, a = Object(t), i = n(t), o = i.length; o--; ) {
182
+ var s = i[e ? o : ++r];
183
+ if (l(a[s], s, a) === !1)
184
184
  break;
185
185
  }
186
186
  return t;
187
187
  };
188
188
  }
189
- var Do = zo();
190
- const Fl = Do;
191
- function Vo(e, t) {
189
+ var Vo = Ko();
190
+ const Fl = Vo;
191
+ function Do(e, t) {
192
192
  return e && Fl(e, t, Ln);
193
193
  }
194
194
  function jo(e, t) {
195
195
  return function(l, n) {
196
196
  if (l == null)
197
197
  return l;
198
- if (!De(l))
198
+ if (!Ve(l))
199
199
  return e(l, n);
200
- for (var s = l.length, a = t ? s : -1, i = Object(l); (t ? a-- : ++a < s) && n(i[a], a, i) !== !1; )
200
+ for (var r = l.length, a = t ? r : -1, i = Object(l); (t ? a-- : ++a < r) && n(i[a], a, i) !== !1; )
201
201
  ;
202
202
  return l;
203
203
  };
204
204
  }
205
- var Go = jo(Vo);
205
+ var Go = jo(Do);
206
206
  const Uo = Go;
207
207
  function vt(e, t, l) {
208
208
  (l !== void 0 && !ml(e[t], l) || l === void 0 && !(t in e)) && wl(e, t, l);
209
209
  }
210
210
  function Yo(e) {
211
- return gl(e) && De(e);
211
+ return gl(e) && Ve(e);
212
212
  }
213
213
  function pt(e, t) {
214
214
  if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
@@ -217,77 +217,77 @@ function pt(e, t) {
217
217
  function qo(e) {
218
218
  return bo(e, Rl(e));
219
219
  }
220
- function Xo(e, t, l, n, s, a, i) {
221
- var o = pt(e, l), r = pt(t, l), u = i.get(r);
220
+ function Xo(e, t, l, n, r, a, i) {
221
+ var o = pt(e, l), s = pt(t, l), u = i.get(s);
222
222
  if (u) {
223
223
  vt(e, l, u);
224
224
  return;
225
225
  }
226
- var d = a ? a(o, r, l + "", e, t, i) : void 0, h = d === void 0;
226
+ var d = a ? a(o, s, l + "", e, t, i) : void 0, h = d === void 0;
227
227
  if (h) {
228
- var p = et(r), m = !p && Nn(r), f = !p && !m && On(r);
229
- d = r, p || m || f ? et(o) ? d = o : Yo(o) ? d = io(o) : m ? (h = !1, d = Po(r, !0)) : f ? (h = !1, d = Io(r, !0)) : d = [] : Ho(r) || it(r) ? (d = o, it(o) ? d = qo(o) : (!Ve(o) || zn(o)) && (d = Ko(r))) : h = !1;
228
+ var p = et(s), m = !p && Nn(s), f = !p && !m && On(s);
229
+ d = s, p || m || f ? et(o) ? d = o : Yo(o) ? d = io(o) : m ? (h = !1, d = Po(s, !0)) : f ? (h = !1, d = Io(s, !0)) : d = [] : Ho(s) || it(s) ? (d = o, it(o) ? d = qo(o) : (!De(o) || Kn(o)) && (d = zo(s))) : h = !1;
230
230
  }
231
- h && (i.set(r, d), s(d, r, n, a, i), i.delete(r)), vt(e, l, d);
231
+ h && (i.set(s, d), r(d, s, n, a, i), i.delete(s)), vt(e, l, d);
232
232
  }
233
- function Ml(e, t, l, n, s) {
233
+ function Ml(e, t, l, n, r) {
234
234
  e !== t && Fl(t, function(a, i) {
235
- if (s || (s = new Fn()), Ve(a))
236
- Xo(e, t, i, l, Ml, n, s);
235
+ if (r || (r = new Fn()), De(a))
236
+ Xo(e, t, i, l, Ml, n, r);
237
237
  else {
238
- var o = n ? n(pt(e, i), a, i + "", e, t, s) : void 0;
238
+ var o = n ? n(pt(e, i), a, i + "", e, t, r) : void 0;
239
239
  o === void 0 && (o = a), vt(e, i, o);
240
240
  }
241
241
  }, Rl);
242
242
  }
243
243
  function _o(e, t) {
244
- var l = -1, n = De(e) ? Array(e.length) : [];
245
- return Uo(e, function(s, a, i) {
246
- n[++l] = t(s, a, i);
244
+ var l = -1, n = Ve(e) ? Array(e.length) : [];
245
+ return Uo(e, function(r, a, i) {
246
+ n[++l] = t(r, a, i);
247
247
  }), n;
248
248
  }
249
249
  function Qo(e, t) {
250
- var l = et(e) ? Dn : _o;
250
+ var l = et(e) ? Vn : _o;
251
251
  return l(e, Mn(t));
252
252
  }
253
253
  function Zo(e, t) {
254
- return Tt(Qo(e, t), 1);
254
+ return At(Qo(e, t), 1);
255
255
  }
256
256
  var Jo = wo(function(e, t, l) {
257
257
  Ml(e, t, l);
258
258
  });
259
- const Tl = Jo;
260
- function es(e, t, l) {
261
- for (var n = -1, s = t.length, a = {}; ++n < s; ) {
262
- var i = t[n], o = Vn(e, i);
259
+ const Al = Jo;
260
+ function er(e, t, l) {
261
+ for (var n = -1, r = t.length, a = {}; ++n < r; ) {
262
+ var i = t[n], o = Dn(e, i);
263
263
  l(o, i) && _n(a, jn(i, e), o);
264
264
  }
265
265
  return a;
266
266
  }
267
- function ts(e, t) {
268
- return es(e, t, function(l, n) {
269
- return Tn(e, n);
267
+ function tr(e, t) {
268
+ return er(e, t, function(l, n) {
269
+ return An(e, n);
270
270
  });
271
271
  }
272
- var ls = No(function(e, t) {
273
- return e == null ? {} : ts(e, t);
272
+ var lr = No(function(e, t) {
273
+ return e == null ? {} : tr(e, t);
274
274
  });
275
- const ns = ls;
276
- var Jt = !1, Re, mt, gt, Ye, qe, Wl, Xe, bt, yt, Ct, Al, wt, St, Hl, $l;
275
+ const nr = lr;
276
+ var Jt = !1, Re, mt, gt, Ye, qe, Tl, Xe, bt, yt, Ct, Wl, wt, St, Hl, $l;
277
277
  function ne() {
278
278
  if (!Jt) {
279
279
  Jt = !0;
280
280
  var e = navigator.userAgent, t = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e), l = /(Mac OS X)|(Windows)|(Linux)/.exec(e);
281
- if (wt = /\b(iPhone|iP[ao]d)/.exec(e), St = /\b(iP[ao]d)/.exec(e), Ct = /Android/i.exec(e), Hl = /FBAN\/\w+;/i.exec(e), $l = /Mobile/i.exec(e), Al = !!/Win64/.exec(e), t) {
281
+ if (wt = /\b(iPhone|iP[ao]d)/.exec(e), St = /\b(iP[ao]d)/.exec(e), Ct = /Android/i.exec(e), Hl = /FBAN\/\w+;/i.exec(e), $l = /Mobile/i.exec(e), Wl = !!/Win64/.exec(e), t) {
282
282
  Re = t[1] ? parseFloat(t[1]) : t[5] ? parseFloat(t[5]) : NaN, Re && document && document.documentMode && (Re = document.documentMode);
283
283
  var n = /(?:Trident\/(\d+.\d+))/.exec(e);
284
- Wl = n ? parseFloat(n[1]) + 4 : Re, mt = t[2] ? parseFloat(t[2]) : NaN, gt = t[3] ? parseFloat(t[3]) : NaN, Ye = t[4] ? parseFloat(t[4]) : NaN, Ye ? (t = /(?:Chrome\/(\d+\.\d+))/.exec(e), qe = t && t[1] ? parseFloat(t[1]) : NaN) : qe = NaN;
284
+ Tl = n ? parseFloat(n[1]) + 4 : Re, mt = t[2] ? parseFloat(t[2]) : NaN, gt = t[3] ? parseFloat(t[3]) : NaN, Ye = t[4] ? parseFloat(t[4]) : NaN, Ye ? (t = /(?:Chrome\/(\d+\.\d+))/.exec(e), qe = t && t[1] ? parseFloat(t[1]) : NaN) : qe = NaN;
285
285
  } else
286
286
  Re = mt = gt = qe = Ye = NaN;
287
287
  if (l) {
288
288
  if (l[1]) {
289
- var s = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);
290
- Xe = s ? parseFloat(s[1].replace("_", ".")) : !0;
289
+ var r = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);
290
+ Xe = r ? parseFloat(r[1].replace("_", ".")) : !0;
291
291
  } else
292
292
  Xe = !1;
293
293
  bt = !!l[2], yt = !!l[3];
@@ -298,9 +298,9 @@ function ne() {
298
298
  var xt = { ie: function() {
299
299
  return ne() || Re;
300
300
  }, ieCompatibilityMode: function() {
301
- return ne() || Wl > Re;
301
+ return ne() || Tl > Re;
302
302
  }, ie64: function() {
303
- return xt.ie() && Al;
303
+ return xt.ie() && Wl;
304
304
  }, firefox: function() {
305
305
  return ne() || mt;
306
306
  }, opera: function() {
@@ -327,27 +327,27 @@ var xt = { ie: function() {
327
327
  return ne() || Ct;
328
328
  }, ipad: function() {
329
329
  return ne() || St;
330
- } }, os = xt, Ge = !!(typeof window < "u" && window.document && window.document.createElement), ss = { canUseDOM: Ge, canUseWorkers: typeof Worker < "u", canUseEventListeners: Ge && !!(window.addEventListener || window.attachEvent), canUseViewport: Ge && !!window.screen, isInWorker: !Ge }, Pl = ss, Bl;
330
+ } }, or = xt, Ge = !!(typeof window < "u" && window.document && window.document.createElement), rr = { canUseDOM: Ge, canUseWorkers: typeof Worker < "u", canUseEventListeners: Ge && !!(window.addEventListener || window.attachEvent), canUseViewport: Ge && !!window.screen, isInWorker: !Ge }, Pl = rr, Bl;
331
331
  Pl.canUseDOM && (Bl = document.implementation && document.implementation.hasFeature && document.implementation.hasFeature("", "") !== !0);
332
- function rs(e, t) {
332
+ function sr(e, t) {
333
333
  if (!Pl.canUseDOM || t && !("addEventListener" in document))
334
334
  return !1;
335
335
  var l = "on" + e, n = l in document;
336
336
  if (!n) {
337
- var s = document.createElement("div");
338
- s.setAttribute(l, "return;"), n = typeof s[l] == "function";
337
+ var r = document.createElement("div");
338
+ r.setAttribute(l, "return;"), n = typeof r[l] == "function";
339
339
  }
340
340
  return !n && Bl && e === "wheel" && (n = document.implementation.hasFeature("Events.wheel", "3.0")), n;
341
341
  }
342
- var as = rs, el = 10, tl = 40, ll = 800;
342
+ var ar = sr, el = 10, tl = 40, ll = 800;
343
343
  function Il(e) {
344
- var t = 0, l = 0, n = 0, s = 0;
345
- return "detail" in e && (l = e.detail), "wheelDelta" in e && (l = -e.wheelDelta / 120), "wheelDeltaY" in e && (l = -e.wheelDeltaY / 120), "wheelDeltaX" in e && (t = -e.wheelDeltaX / 120), "axis" in e && e.axis === e.HORIZONTAL_AXIS && (t = l, l = 0), n = t * el, s = l * el, "deltaY" in e && (s = e.deltaY), "deltaX" in e && (n = e.deltaX), (n || s) && e.deltaMode && (e.deltaMode == 1 ? (n *= tl, s *= tl) : (n *= ll, s *= ll)), n && !t && (t = n < 1 ? -1 : 1), s && !l && (l = s < 1 ? -1 : 1), { spinX: t, spinY: l, pixelX: n, pixelY: s };
344
+ var t = 0, l = 0, n = 0, r = 0;
345
+ return "detail" in e && (l = e.detail), "wheelDelta" in e && (l = -e.wheelDelta / 120), "wheelDeltaY" in e && (l = -e.wheelDeltaY / 120), "wheelDeltaX" in e && (t = -e.wheelDeltaX / 120), "axis" in e && e.axis === e.HORIZONTAL_AXIS && (t = l, l = 0), n = t * el, r = l * el, "deltaY" in e && (r = e.deltaY), "deltaX" in e && (n = e.deltaX), (n || r) && e.deltaMode && (e.deltaMode == 1 ? (n *= tl, r *= tl) : (n *= ll, r *= ll)), n && !t && (t = n < 1 ? -1 : 1), r && !l && (l = r < 1 ? -1 : 1), { spinX: t, spinY: l, pixelX: n, pixelY: r };
346
346
  }
347
347
  Il.getEventType = function() {
348
- return os.firefox() ? "DOMMouseScroll" : as("wheel") ? "wheel" : "mousewheel";
348
+ return or.firefox() ? "DOMMouseScroll" : ar("wheel") ? "wheel" : "mousewheel";
349
349
  };
350
- var is = Il;
350
+ var ir = Il;
351
351
  /**
352
352
  * Checks if an event is supported in the current execution environment.
353
353
  *
@@ -362,19 +362,19 @@ var is = Il;
362
362
  * @internal
363
363
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
364
364
  */
365
- const us = function(e, t) {
365
+ const ur = function(e, t) {
366
366
  if (e && e.addEventListener) {
367
367
  const l = function(n) {
368
- const s = is(n);
369
- t && Reflect.apply(t, this, [n, s]);
368
+ const r = ir(n);
369
+ t && Reflect.apply(t, this, [n, r]);
370
370
  };
371
371
  e.addEventListener("wheel", l, { passive: !0 });
372
372
  }
373
- }, ds = {
373
+ }, dr = {
374
374
  beforeMount(e, t) {
375
- us(e, t.value);
375
+ ur(e, t.value);
376
376
  }
377
- }, Kl = {
377
+ }, zl = {
378
378
  modelValue: {
379
379
  type: [Number, String, Boolean],
380
380
  default: void 0
@@ -412,157 +412,157 @@ const us = function(e, t) {
412
412
  type: Boolean,
413
413
  default: !0
414
414
  }
415
- }, zl = {
416
- [st]: (e) => ut(e) || dt(e) || tt(e),
415
+ }, Kl = {
416
+ [rt]: (e) => ut(e) || dt(e) || tt(e),
417
417
  change: (e) => ut(e) || dt(e) || tt(e)
418
- }, Ae = Symbol("checkboxGroupContextKey"), cs = ({
418
+ }, We = Symbol("checkboxGroupContextKey"), cr = ({
419
419
  model: e,
420
420
  isChecked: t
421
421
  }) => {
422
- const l = se(Ae, void 0), n = W(() => {
422
+ const l = re(We, void 0), n = T(() => {
423
423
  var a, i;
424
- const o = (a = l == null ? void 0 : l.max) == null ? void 0 : a.value, r = (i = l == null ? void 0 : l.min) == null ? void 0 : i.value;
425
- return !lt(o) && e.value.length >= o && !t.value || !lt(r) && e.value.length <= r && t.value;
424
+ const o = (a = l == null ? void 0 : l.max) == null ? void 0 : a.value, s = (i = l == null ? void 0 : l.min) == null ? void 0 : i.value;
425
+ return !lt(o) && e.value.length >= o && !t.value || !lt(s) && e.value.length <= s && t.value;
426
426
  });
427
427
  return {
428
- isDisabled: Jn(W(() => (l == null ? void 0 : l.disabled.value) || n.value)),
428
+ isDisabled: Jn(T(() => (l == null ? void 0 : l.disabled.value) || n.value)),
429
429
  isLimitDisabled: n
430
430
  };
431
- }, fs = (e, {
431
+ }, fr = (e, {
432
432
  model: t,
433
433
  isLimitExceeded: l,
434
434
  hasOwnLabel: n,
435
- isDisabled: s,
435
+ isDisabled: r,
436
436
  isLabeledByFormItem: a
437
437
  }) => {
438
- const i = se(Ae, void 0), { formItem: o } = Ft(), { emit: r } = ee();
438
+ const i = re(We, void 0), { formItem: o } = Ft(), { emit: s } = ee();
439
439
  function u(f) {
440
440
  var g, v;
441
441
  return f === e.trueLabel || f === !0 ? (g = e.trueLabel) != null ? g : !0 : (v = e.falseLabel) != null ? v : !1;
442
442
  }
443
443
  function d(f, g) {
444
- r("change", u(f), g);
444
+ s("change", u(f), g);
445
445
  }
446
446
  function h(f) {
447
447
  if (l.value)
448
448
  return;
449
449
  const g = f.target;
450
- r("change", u(g.checked), f);
450
+ s("change", u(g.checked), f);
451
451
  }
452
452
  async function p(f) {
453
- l.value || !n.value && !s.value && a.value && (f.composedPath().some((y) => y.tagName === "LABEL") || (t.value = u([!1, e.falseLabel].includes(t.value)), await Ee(), d(t.value, f)));
453
+ l.value || !n.value && !r.value && a.value && (f.composedPath().some((y) => y.tagName === "LABEL") || (t.value = u([!1, e.falseLabel].includes(t.value)), await Ee(), d(t.value, f)));
454
454
  }
455
- const m = W(() => (i == null ? void 0 : i.validateEvent) || e.validateEvent);
455
+ const m = T(() => (i == null ? void 0 : i.validateEvent) || e.validateEvent);
456
456
  return ie(() => e.modelValue, () => {
457
457
  m.value && (o == null || o.validate("change").catch((f) => Lt(f)));
458
458
  }), {
459
459
  handleChange: h,
460
460
  onClickRoot: p
461
461
  };
462
- }, hs = (e) => {
463
- const t = E(!1), { emit: l } = ee(), n = se(Ae, void 0), s = W(() => lt(n) === !1), a = E(!1);
462
+ }, hr = (e) => {
463
+ const t = E(!1), { emit: l } = ee(), n = re(We, void 0), r = T(() => lt(n) === !1), a = E(!1);
464
464
  return {
465
- model: W({
465
+ model: T({
466
466
  get() {
467
- var o, r;
468
- return s.value ? (o = n == null ? void 0 : n.modelValue) == null ? void 0 : o.value : (r = e.modelValue) != null ? r : t.value;
467
+ var o, s;
468
+ return r.value ? (o = n == null ? void 0 : n.modelValue) == null ? void 0 : o.value : (s = e.modelValue) != null ? s : t.value;
469
469
  },
470
470
  set(o) {
471
- var r, u;
472
- s.value && Me(o) ? (a.value = ((r = n == null ? void 0 : n.max) == null ? void 0 : r.value) !== void 0 && o.length > (n == null ? void 0 : n.max.value), a.value === !1 && ((u = n == null ? void 0 : n.changeEvent) == null || u.call(n, o))) : (l(st, o), t.value = o);
471
+ var s, u;
472
+ r.value && Me(o) ? (a.value = ((s = n == null ? void 0 : n.max) == null ? void 0 : s.value) !== void 0 && o.length > (n == null ? void 0 : n.max.value), a.value === !1 && ((u = n == null ? void 0 : n.changeEvent) == null || u.call(n, o))) : (l(rt, o), t.value = o);
473
473
  }
474
474
  }),
475
- isGroup: s,
475
+ isGroup: r,
476
476
  isLimitExceeded: a
477
477
  };
478
- }, vs = (e, t, { model: l }) => {
479
- const n = se(Ae, void 0), s = E(!1), a = W(() => {
478
+ }, vr = (e, t, { model: l }) => {
479
+ const n = re(We, void 0), r = E(!1), a = T(() => {
480
480
  const u = l.value;
481
- return tt(u) ? u : Me(u) ? ct(e.label) ? u.map(Bt).some((d) => Wn(d, e.label)) : u.map(Bt).includes(e.label) : u != null ? u === e.trueLabel : !!u;
482
- }), i = ht(W(() => {
481
+ return tt(u) ? u : Me(u) ? ct(e.label) ? u.map(Bt).some((d) => Tn(d, e.label)) : u.map(Bt).includes(e.label) : u != null ? u === e.trueLabel : !!u;
482
+ }), i = ht(T(() => {
483
483
  var u;
484
484
  return (u = n == null ? void 0 : n.size) == null ? void 0 : u.value;
485
485
  }), {
486
486
  prop: !0
487
- }), o = ht(W(() => {
487
+ }), o = ht(T(() => {
488
488
  var u;
489
489
  return (u = n == null ? void 0 : n.size) == null ? void 0 : u.value;
490
- })), r = W(() => !!(t.default || e.label));
490
+ })), s = T(() => !!(t.default || e.label));
491
491
  return {
492
492
  checkboxButtonSize: i,
493
493
  isChecked: a,
494
- isFocused: s,
494
+ isFocused: r,
495
495
  checkboxSize: o,
496
- hasOwnLabel: r
496
+ hasOwnLabel: s
497
497
  };
498
- }, ps = (e, { model: t }) => {
498
+ }, pr = (e, { model: t }) => {
499
499
  function l() {
500
500
  Me(t.value) && !t.value.includes(e.label) ? t.value.push(e.label) : t.value = e.trueLabel || !0;
501
501
  }
502
502
  e.checked && l();
503
- }, Dl = (e, t) => {
504
- const { formItem: l } = Ft(), { model: n, isGroup: s, isLimitExceeded: a } = hs(e), {
503
+ }, Vl = (e, t) => {
504
+ const { formItem: l } = Ft(), { model: n, isGroup: r, isLimitExceeded: a } = hr(e), {
505
505
  isFocused: i,
506
506
  isChecked: o,
507
- checkboxButtonSize: r,
507
+ checkboxButtonSize: s,
508
508
  checkboxSize: u,
509
509
  hasOwnLabel: d
510
- } = vs(e, t, { model: n }), { isDisabled: h } = cs({ model: n, isChecked: o }), { inputId: p, isLabeledByFormItem: m } = Sl(e, {
510
+ } = vr(e, t, { model: n }), { isDisabled: h } = cr({ model: n, isChecked: o }), { inputId: p, isLabeledByFormItem: m } = Sl(e, {
511
511
  formItemContext: l,
512
512
  disableIdGeneration: d,
513
- disableIdManagement: s
514
- }), { handleChange: f, onClickRoot: g } = fs(e, {
513
+ disableIdManagement: r
514
+ }), { handleChange: f, onClickRoot: g } = fr(e, {
515
515
  model: n,
516
516
  isLimitExceeded: a,
517
517
  hasOwnLabel: d,
518
518
  isDisabled: h,
519
519
  isLabeledByFormItem: m
520
520
  });
521
- return ps(e, { model: n }), {
521
+ return pr(e, { model: n }), {
522
522
  inputId: p,
523
523
  isLabeledByFormItem: m,
524
524
  isChecked: o,
525
525
  isDisabled: h,
526
526
  isFocused: i,
527
- checkboxButtonSize: r,
527
+ checkboxButtonSize: s,
528
528
  checkboxSize: u,
529
529
  hasOwnLabel: d,
530
530
  model: n,
531
531
  handleChange: f,
532
532
  onClickRoot: g
533
533
  };
534
- }, ms = ["tabindex", "role", "aria-checked"], gs = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"], bs = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"], ys = he({
534
+ }, mr = ["tabindex", "role", "aria-checked"], gr = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"], br = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"], yr = he({
535
535
  name: "ElCheckbox"
536
- }), Cs = /* @__PURE__ */ he({
537
- ...ys,
538
- props: Kl,
539
- emits: zl,
536
+ }), Cr = /* @__PURE__ */ he({
537
+ ...yr,
538
+ props: zl,
539
+ emits: Kl,
540
540
  setup(e) {
541
541
  const t = e, l = al(), {
542
542
  inputId: n,
543
- isLabeledByFormItem: s,
543
+ isLabeledByFormItem: r,
544
544
  isChecked: a,
545
545
  isDisabled: i,
546
546
  isFocused: o,
547
- checkboxSize: r,
547
+ checkboxSize: s,
548
548
  hasOwnLabel: u,
549
549
  model: d,
550
550
  handleChange: h,
551
551
  onClickRoot: p
552
- } = Dl(t, l), m = re("checkbox"), f = W(() => [
552
+ } = Vl(t, l), m = se("checkbox"), f = T(() => [
553
553
  m.b(),
554
- m.m(r.value),
554
+ m.m(s.value),
555
555
  m.is("disabled", i.value),
556
556
  m.is("bordered", t.border),
557
557
  m.is("checked", a.value)
558
- ]), g = W(() => [
558
+ ]), g = T(() => [
559
559
  m.e("input"),
560
560
  m.is("disabled", i.value),
561
561
  m.is("checked", a.value),
562
562
  m.is("indeterminate", t.indeterminate),
563
563
  m.is("focus", o.value)
564
564
  ]);
565
- return (v, y) => (V(), Le(il(!O(u) && O(s) ? "span" : "label"), {
565
+ return (v, y) => (D(), Le(il(!O(u) && O(r) ? "span" : "label"), {
566
566
  class: I(O(f)),
567
567
  "aria-controls": v.indeterminate ? v.controls : null,
568
568
  onClick: O(p)
@@ -574,7 +574,7 @@ const us = function(e, t) {
574
574
  role: v.indeterminate ? "checkbox" : void 0,
575
575
  "aria-checked": v.indeterminate ? "mixed" : void 0
576
576
  }, [
577
- v.trueLabel || v.falseLabel ? xe((V(), U("input", {
577
+ v.trueLabel || v.falseLabel ? xe((D(), U("input", {
578
578
  key: 0,
579
579
  id: O(n),
580
580
  "onUpdate:modelValue": y[0] || (y[0] = (b) => Be(d) ? d.value = b : null),
@@ -591,9 +591,9 @@ const us = function(e, t) {
591
591
  onBlur: y[3] || (y[3] = (b) => o.value = !1),
592
592
  onClick: y[4] || (y[4] = Qe(() => {
593
593
  }, ["stop"]))
594
- }, null, 42, gs)), [
594
+ }, null, 42, gr)), [
595
595
  [Ze, O(d)]
596
- ]) : xe((V(), U("input", {
596
+ ]) : xe((D(), U("input", {
597
597
  key: 1,
598
598
  id: O(n),
599
599
  "onUpdate:modelValue": y[5] || (y[5] = (b) => Be(d) ? d.value = b : null),
@@ -609,19 +609,19 @@ const us = function(e, t) {
609
609
  onBlur: y[8] || (y[8] = (b) => o.value = !1),
610
610
  onClick: y[9] || (y[9] = Qe(() => {
611
611
  }, ["stop"]))
612
- }, null, 42, bs)), [
612
+ }, null, 42, br)), [
613
613
  [Ze, O(d)]
614
614
  ]),
615
615
  oe("span", {
616
616
  class: I(O(m).e("inner"))
617
617
  }, null, 2)
618
- ], 10, ms),
619
- O(u) ? (V(), U("span", {
618
+ ], 10, mr),
619
+ O(u) ? (D(), U("span", {
620
620
  key: 0,
621
621
  class: I(O(m).e("label"))
622
622
  }, [
623
623
  Fe(v.$slots, "default"),
624
- v.$slots.default ? Ce("v-if", !0) : (V(), U(Je, { key: 0 }, [
624
+ v.$slots.default ? Ce("v-if", !0) : (D(), U(Je, { key: 0 }, [
625
625
  ot(Se(v.label), 1)
626
626
  ], 64))
627
627
  ], 2)) : Ce("v-if", !0)
@@ -630,22 +630,22 @@ const us = function(e, t) {
630
630
  }, 8, ["class", "aria-controls", "onClick"]));
631
631
  }
632
632
  });
633
- var ws = /* @__PURE__ */ je(Cs, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);
634
- const Ss = ["name", "tabindex", "disabled", "true-value", "false-value"], xs = ["name", "tabindex", "disabled", "value"], Es = he({
633
+ var wr = /* @__PURE__ */ je(Cr, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);
634
+ const Sr = ["name", "tabindex", "disabled", "true-value", "false-value"], xr = ["name", "tabindex", "disabled", "value"], Er = he({
635
635
  name: "ElCheckboxButton"
636
- }), ks = /* @__PURE__ */ he({
637
- ...Es,
638
- props: Kl,
639
- emits: zl,
636
+ }), kr = /* @__PURE__ */ he({
637
+ ...Er,
638
+ props: zl,
639
+ emits: Kl,
640
640
  setup(e) {
641
641
  const t = e, l = al(), {
642
642
  isFocused: n,
643
- isChecked: s,
643
+ isChecked: r,
644
644
  isDisabled: a,
645
645
  checkboxButtonSize: i,
646
646
  model: o,
647
- handleChange: r
648
- } = Dl(t, l), u = se(Ae, void 0), d = re("checkbox"), h = W(() => {
647
+ handleChange: s
648
+ } = Vl(t, l), u = re(We, void 0), d = se("checkbox"), h = T(() => {
649
649
  var m, f, g, v;
650
650
  const y = (f = (m = u == null ? void 0 : u.fill) == null ? void 0 : m.value) != null ? f : "";
651
651
  return {
@@ -654,17 +654,17 @@ const Ss = ["name", "tabindex", "disabled", "true-value", "false-value"], xs = [
654
654
  color: (v = (g = u == null ? void 0 : u.textColor) == null ? void 0 : g.value) != null ? v : "",
655
655
  boxShadow: y ? `-1px 0 0 0 ${y}` : void 0
656
656
  };
657
- }), p = W(() => [
657
+ }), p = T(() => [
658
658
  d.b("button"),
659
659
  d.bm("button", i.value),
660
660
  d.is("disabled", a.value),
661
- d.is("checked", s.value),
661
+ d.is("checked", r.value),
662
662
  d.is("focus", n.value)
663
663
  ]);
664
- return (m, f) => (V(), U("label", {
664
+ return (m, f) => (D(), U("label", {
665
665
  class: I(O(p))
666
666
  }, [
667
- m.trueLabel || m.falseLabel ? xe((V(), U("input", {
667
+ m.trueLabel || m.falseLabel ? xe((D(), U("input", {
668
668
  key: 0,
669
669
  "onUpdate:modelValue": f[0] || (f[0] = (g) => Be(o) ? o.value = g : null),
670
670
  class: I(O(d).be("button", "original")),
@@ -674,14 +674,14 @@ const Ss = ["name", "tabindex", "disabled", "true-value", "false-value"], xs = [
674
674
  disabled: O(a),
675
675
  "true-value": m.trueLabel,
676
676
  "false-value": m.falseLabel,
677
- onChange: f[1] || (f[1] = (...g) => O(r) && O(r)(...g)),
677
+ onChange: f[1] || (f[1] = (...g) => O(s) && O(s)(...g)),
678
678
  onFocus: f[2] || (f[2] = (g) => n.value = !0),
679
679
  onBlur: f[3] || (f[3] = (g) => n.value = !1),
680
680
  onClick: f[4] || (f[4] = Qe(() => {
681
681
  }, ["stop"]))
682
- }, null, 42, Ss)), [
682
+ }, null, 42, Sr)), [
683
683
  [Ze, O(o)]
684
- ]) : xe((V(), U("input", {
684
+ ]) : xe((D(), U("input", {
685
685
  key: 1,
686
686
  "onUpdate:modelValue": f[5] || (f[5] = (g) => Be(o) ? o.value = g : null),
687
687
  class: I(O(d).be("button", "original")),
@@ -690,18 +690,18 @@ const Ss = ["name", "tabindex", "disabled", "true-value", "false-value"], xs = [
690
690
  tabindex: m.tabindex,
691
691
  disabled: O(a),
692
692
  value: m.label,
693
- onChange: f[6] || (f[6] = (...g) => O(r) && O(r)(...g)),
693
+ onChange: f[6] || (f[6] = (...g) => O(s) && O(s)(...g)),
694
694
  onFocus: f[7] || (f[7] = (g) => n.value = !0),
695
695
  onBlur: f[8] || (f[8] = (g) => n.value = !1),
696
696
  onClick: f[9] || (f[9] = Qe(() => {
697
697
  }, ["stop"]))
698
- }, null, 42, xs)), [
698
+ }, null, 42, xr)), [
699
699
  [Ze, O(o)]
700
700
  ]),
701
- m.$slots.default || m.label ? (V(), U("span", {
701
+ m.$slots.default || m.label ? (D(), U("span", {
702
702
  key: 2,
703
703
  class: I(O(d).be("button", "inner")),
704
- style: ke(O(s) ? O(h) : void 0)
704
+ style: ke(O(r) ? O(h) : void 0)
705
705
  }, [
706
706
  Fe(m.$slots, "default", {}, () => [
707
707
  ot(Se(m.label), 1)
@@ -710,8 +710,8 @@ const Ss = ["name", "tabindex", "disabled", "true-value", "false-value"], xs = [
710
710
  ], 2));
711
711
  }
712
712
  });
713
- var Vl = /* @__PURE__ */ je(ks, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);
714
- const Rs = Gn({
713
+ var Dl = /* @__PURE__ */ je(kr, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);
714
+ const Rr = Gn({
715
715
  modelValue: {
716
716
  type: Un(Array),
717
717
  default: () => []
@@ -731,21 +731,21 @@ const Rs = Gn({
731
731
  type: Boolean,
732
732
  default: !0
733
733
  }
734
- }), Ls = {
735
- [st]: (e) => Me(e),
734
+ }), Lr = {
735
+ [rt]: (e) => Me(e),
736
736
  change: (e) => Me(e)
737
- }, Ns = he({
737
+ }, Nr = he({
738
738
  name: "ElCheckboxGroup"
739
- }), Os = /* @__PURE__ */ he({
740
- ...Ns,
741
- props: Rs,
742
- emits: Ls,
739
+ }), Or = /* @__PURE__ */ he({
740
+ ...Nr,
741
+ props: Rr,
742
+ emits: Lr,
743
743
  setup(e, { emit: t }) {
744
- const l = e, n = re("checkbox"), { formItem: s } = Ft(), { inputId: a, isLabeledByFormItem: i } = Sl(l, {
745
- formItemContext: s
744
+ const l = e, n = se("checkbox"), { formItem: r } = Ft(), { inputId: a, isLabeledByFormItem: i } = Sl(l, {
745
+ formItemContext: r
746
746
  }), o = async (u) => {
747
- t(st, u), await Ee(), t("change", u);
748
- }, r = W({
747
+ t(rt, u), await Ee(), t("change", u);
748
+ }, s = T({
749
749
  get() {
750
750
  return l.modelValue;
751
751
  },
@@ -753,8 +753,8 @@ const Rs = Gn({
753
753
  o(u);
754
754
  }
755
755
  });
756
- return ul(Ae, {
757
- ...ns(dl(l), [
756
+ return ul(We, {
757
+ ...nr(dl(l), [
758
758
  "size",
759
759
  "min",
760
760
  "max",
@@ -763,18 +763,18 @@ const Rs = Gn({
763
763
  "fill",
764
764
  "textColor"
765
765
  ]),
766
- modelValue: r,
766
+ modelValue: s,
767
767
  changeEvent: o
768
768
  }), ie(() => l.modelValue, () => {
769
- l.validateEvent && (s == null || s.validate("change").catch((u) => Lt(u)));
769
+ l.validateEvent && (r == null || r.validate("change").catch((u) => Lt(u)));
770
770
  }), (u, d) => {
771
771
  var h;
772
- return V(), Le(il(u.tag), {
772
+ return D(), Le(il(u.tag), {
773
773
  id: O(a),
774
774
  class: I(O(n).b("group")),
775
775
  role: "group",
776
776
  "aria-label": O(i) ? void 0 : u.label || "checkbox-group",
777
- "aria-labelledby": O(i) ? (h = O(s)) == null ? void 0 : h.labelId : void 0
777
+ "aria-labelledby": O(i) ? (h = O(r)) == null ? void 0 : h.labelId : void 0
778
778
  }, {
779
779
  default: ye(() => [
780
780
  Fe(u.$slots, "default")
@@ -784,13 +784,13 @@ const Rs = Gn({
784
784
  };
785
785
  }
786
786
  });
787
- var jl = /* @__PURE__ */ je(Os, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);
788
- const Te = bl(ws, {
789
- CheckboxButton: Vl,
787
+ var jl = /* @__PURE__ */ je(Or, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);
788
+ const Ae = bl(wr, {
789
+ CheckboxButton: Dl,
790
790
  CheckboxGroup: jl
791
791
  });
792
- Nt(Vl);
793
- const qr = Nt(jl);
792
+ Nt(Dl);
793
+ const qs = Nt(jl);
794
794
  /*!
795
795
  * escape-html
796
796
  * Copyright(c) 2012-2013 TJ Holowaychuk
@@ -798,12 +798,12 @@ const qr = Nt(jl);
798
798
  * Copyright(c) 2015 Tiancheng "Timothy" Gu
799
799
  * MIT Licensed
800
800
  */
801
- var Fs = /["'&<>]/, Ms = Ts;
802
- function Ts(e) {
803
- var t = "" + e, l = Fs.exec(t);
801
+ var Fr = /["'&<>]/, Mr = Ar;
802
+ function Ar(e) {
803
+ var t = "" + e, l = Fr.exec(t);
804
804
  if (!l)
805
805
  return t;
806
- var n, s = "", a = 0, i = 0;
806
+ var n, r = "", a = 0, i = 0;
807
807
  for (a = l.index; a < t.length; a++) {
808
808
  switch (t.charCodeAt(a)) {
809
809
  case 34:
@@ -824,49 +824,49 @@ function Ts(e) {
824
824
  default:
825
825
  continue;
826
826
  }
827
- i !== a && (s += t.substring(i, a)), i = a + 1, s += n;
827
+ i !== a && (r += t.substring(i, a)), i = a + 1, r += n;
828
828
  }
829
- return i !== a ? s + t.substring(i, a) : s;
829
+ return i !== a ? r + t.substring(i, a) : r;
830
830
  }
831
- const Ws = /* @__PURE__ */ Bn(Ms), at = function(e) {
831
+ const Tr = /* @__PURE__ */ Bn(Mr), at = function(e) {
832
832
  var t;
833
833
  return (t = e.target) == null ? void 0 : t.closest("td");
834
- }, As = function(e, t, l, n, s) {
835
- if (!t && !n && (!s || Array.isArray(s) && !s.length))
834
+ }, Wr = function(e, t, l, n, r) {
835
+ if (!t && !n && (!r || Array.isArray(r) && !r.length))
836
836
  return e;
837
837
  typeof l == "string" ? l = l === "descending" ? -1 : 1 : l = l && l < 0 ? -1 : 1;
838
- const a = n ? null : function(o, r) {
839
- return s ? (Array.isArray(s) || (s = [s]), s.map((u) => typeof u == "string" ? Vt(o, u) : u(o, r, e))) : (t !== "$key" && ct(o) && "$value" in o && (o = o.$value), [ct(o) ? Vt(o, t) : o]);
840
- }, i = function(o, r) {
838
+ const a = n ? null : function(o, s) {
839
+ return r ? (Array.isArray(r) || (r = [r]), r.map((u) => typeof u == "string" ? Dt(o, u) : u(o, s, e))) : (t !== "$key" && ct(o) && "$value" in o && (o = o.$value), [ct(o) ? Dt(o, t) : o]);
840
+ }, i = function(o, s) {
841
841
  if (n)
842
- return n(o.value, r.value);
842
+ return n(o.value, s.value);
843
843
  for (let u = 0, d = o.key.length; u < d; u++) {
844
- if (o.key[u] < r.key[u])
844
+ if (o.key[u] < s.key[u])
845
845
  return -1;
846
- if (o.key[u] > r.key[u])
846
+ if (o.key[u] > s.key[u])
847
847
  return 1;
848
848
  }
849
849
  return 0;
850
850
  };
851
- return e.map((o, r) => ({
851
+ return e.map((o, s) => ({
852
852
  value: o,
853
- index: r,
854
- key: a ? a(o, r) : null
855
- })).sort((o, r) => {
856
- let u = i(o, r);
857
- return u || (u = o.index - r.index), u * +l;
853
+ index: s,
854
+ key: a ? a(o, s) : null
855
+ })).sort((o, s) => {
856
+ let u = i(o, s);
857
+ return u || (u = o.index - s.index), u * +l;
858
858
  }).map((o) => o.value);
859
859
  }, Gl = function(e, t) {
860
860
  let l = null;
861
861
  return e.columns.forEach((n) => {
862
862
  n.id === t && (l = n);
863
863
  }), l;
864
- }, Hs = function(e, t) {
864
+ }, Hr = function(e, t) {
865
865
  let l = null;
866
866
  for (let n = 0; n < e.columns.length; n++) {
867
- const s = e.columns[n];
868
- if (s.columnKey === t) {
869
- l = s;
867
+ const r = e.columns[n];
868
+ if (r.columnKey === t) {
869
+ l = r;
870
870
  break;
871
871
  }
872
872
  }
@@ -882,60 +882,60 @@ const Ws = /* @__PURE__ */ Bn(Ms), at = function(e) {
882
882
  return `${e[t]}`;
883
883
  const l = t.split(".");
884
884
  let n = e;
885
- for (const s of l)
886
- n = n[s];
885
+ for (const r of l)
886
+ n = n[r];
887
887
  return `${n}`;
888
888
  } else if (typeof t == "function")
889
889
  return t.call(null, e);
890
890
  }, Ne = function(e, t) {
891
891
  const l = {};
892
- return (e || []).forEach((n, s) => {
893
- l[Z(n, t)] = { row: n, index: s };
892
+ return (e || []).forEach((n, r) => {
893
+ l[Z(n, t)] = { row: n, index: r };
894
894
  }), l;
895
895
  };
896
- function $s(e, t) {
896
+ function $r(e, t) {
897
897
  const l = {};
898
898
  let n;
899
899
  for (n in e)
900
900
  l[n] = e[n];
901
901
  for (n in t)
902
902
  if (Ie(t, n)) {
903
- const s = t[n];
904
- typeof s < "u" && (l[n] = s);
903
+ const r = t[n];
904
+ typeof r < "u" && (l[n] = r);
905
905
  }
906
906
  return l;
907
907
  }
908
- function Wt(e) {
908
+ function Tt(e) {
909
909
  return e === "" || e !== void 0 && (e = Number.parseInt(e, 10), Number.isNaN(e) && (e = "")), e;
910
910
  }
911
911
  function Ul(e) {
912
- return e === "" || e !== void 0 && (e = Wt(e), Number.isNaN(e) && (e = 80)), e;
912
+ return e === "" || e !== void 0 && (e = Tt(e), Number.isNaN(e) && (e = 80)), e;
913
913
  }
914
- function Ps(e) {
914
+ function Pr(e) {
915
915
  return typeof e == "number" ? e : typeof e == "string" ? /^\d+(?:px)?$/.test(e) ? Number.parseInt(e, 10) : e : null;
916
916
  }
917
- function Bs(...e) {
917
+ function Br(...e) {
918
918
  return e.length === 0 ? (t) => t : e.length === 1 ? e[0] : e.reduce((t, l) => (...n) => t(l(...n)));
919
919
  }
920
920
  function $e(e, t, l) {
921
921
  let n = !1;
922
- const s = e.indexOf(t), a = s !== -1, i = (o) => {
923
- o === "add" ? e.push(t) : e.splice(s, 1), n = !0, Me(t.children) && t.children.forEach((r) => {
924
- $e(e, r, l ?? !a);
922
+ const r = e.indexOf(t), a = r !== -1, i = (o) => {
923
+ o === "add" ? e.push(t) : e.splice(r, 1), n = !0, Me(t.children) && t.children.forEach((s) => {
924
+ $e(e, s, l ?? !a);
925
925
  });
926
926
  };
927
927
  return tt(l) ? l && !a ? i("add") : !l && a && i("remove") : i(a ? "remove" : "add"), n;
928
928
  }
929
- function Is(e, t, l = "children", n = "hasChildren") {
930
- const s = (i) => !(Array.isArray(i) && i.length);
931
- function a(i, o, r) {
932
- t(i, o, r), o.forEach((u) => {
929
+ function Ir(e, t, l = "children", n = "hasChildren") {
930
+ const r = (i) => !(Array.isArray(i) && i.length);
931
+ function a(i, o, s) {
932
+ t(i, o, s), o.forEach((u) => {
933
933
  if (u[n]) {
934
- t(u, null, r + 1);
934
+ t(u, null, s + 1);
935
935
  return;
936
936
  }
937
937
  const d = u[l];
938
- s(d) || a(u, d, r + 1);
938
+ r(d) || a(u, d, s + 1);
939
939
  });
940
940
  }
941
941
  e.forEach((i) => {
@@ -944,25 +944,25 @@ function Is(e, t, l = "children", n = "hasChildren") {
944
944
  return;
945
945
  }
946
946
  const o = i[l];
947
- s(o) || a(i, o, 0);
947
+ r(o) || a(i, o, 0);
948
948
  });
949
949
  }
950
950
  let be;
951
- function Ks(e, t, l, n, s) {
952
- s = Tl({
951
+ function zr(e, t, l, n, r) {
952
+ r = Al({
953
953
  enterable: !0,
954
954
  showArrow: !0
955
- }, s);
955
+ }, r);
956
956
  const a = e == null ? void 0 : e.dataset.prefix, i = e == null ? void 0 : e.querySelector(`.${a}-scrollbar__wrap`);
957
957
  function o() {
958
- const v = s.effect === "light", y = document.createElement("div");
958
+ const v = r.effect === "light", y = document.createElement("div");
959
959
  return y.className = [
960
960
  `${a}-popper`,
961
961
  v ? "is-light" : "is-dark",
962
- s.popperClass || ""
963
- ].join(" "), l = Ws(l), y.innerHTML = l, y.style.zIndex = String(n()), e == null || e.appendChild(y), y;
962
+ r.popperClass || ""
963
+ ].join(" "), l = Tr(l), y.innerHTML = l, y.style.zIndex = String(n()), e == null || e.appendChild(y), y;
964
964
  }
965
- function r() {
965
+ function s() {
966
966
  const v = document.createElement("div");
967
967
  return v.className = `${a}-popper__arrow`, v;
968
968
  }
@@ -976,22 +976,22 @@ function Ks(e, t, l, n, s) {
976
976
  }
977
977
  };
978
978
  let d = null, h = u, p = be;
979
- s.enterable && ({ onOpen: h, onClose: p } = An({
980
- showAfter: s.showAfter,
981
- hideAfter: s.hideAfter,
979
+ r.enterable && ({ onOpen: h, onClose: p } = Wn({
980
+ showAfter: r.showAfter,
981
+ hideAfter: r.hideAfter,
982
982
  open: u,
983
983
  close: be
984
984
  }));
985
985
  const m = o();
986
986
  m.onmouseenter = h, m.onmouseleave = p;
987
987
  const f = [];
988
- if (s.offset && f.push({
988
+ if (r.offset && f.push({
989
989
  name: "offset",
990
990
  options: {
991
- offset: [0, s.offset]
991
+ offset: [0, r.offset]
992
992
  }
993
- }), s.showArrow) {
994
- const v = m.appendChild(r());
993
+ }), r.showArrow) {
994
+ const v = m.appendChild(s());
995
995
  f.push({
996
996
  name: "arrow",
997
997
  options: {
@@ -1000,9 +1000,9 @@ function Ks(e, t, l, n, s) {
1000
1000
  }
1001
1001
  });
1002
1002
  }
1003
- const g = s.popperOptions || {};
1003
+ const g = r.popperOptions || {};
1004
1004
  return d = Hn(t, m, {
1005
- placement: s.placement || "top",
1005
+ placement: r.placement || "top",
1006
1006
  strategy: "fixed",
1007
1007
  ...g,
1008
1008
  modifiers: g.modifiers ? f.concat(g.modifiers) : f
@@ -1015,83 +1015,83 @@ function ol(e, t) {
1015
1015
  return e + t.colSpan;
1016
1016
  }
1017
1017
  const ql = (e, t, l, n) => {
1018
- let s = 0, a = e;
1018
+ let r = 0, a = e;
1019
1019
  const i = l.states.columns.value;
1020
1020
  if (n) {
1021
- const r = Yl(n[e]);
1022
- s = i.slice(0, i.indexOf(r[0])).reduce(ol, 0), a = s + r.reduce(ol, 0) - 1;
1021
+ const s = Yl(n[e]);
1022
+ r = i.slice(0, i.indexOf(s[0])).reduce(ol, 0), a = r + s.reduce(ol, 0) - 1;
1023
1023
  } else
1024
- s = e;
1024
+ r = e;
1025
1025
  let o;
1026
1026
  switch (t) {
1027
1027
  case "left":
1028
1028
  a < l.states.fixedLeafColumnsLength.value && (o = "left");
1029
1029
  break;
1030
1030
  case "right":
1031
- s >= i.length - l.states.rightFixedLeafColumnsLength.value && (o = "right");
1031
+ r >= i.length - l.states.rightFixedLeafColumnsLength.value && (o = "right");
1032
1032
  break;
1033
1033
  default:
1034
- a < l.states.fixedLeafColumnsLength.value ? o = "left" : s >= i.length - l.states.rightFixedLeafColumnsLength.value && (o = "right");
1034
+ a < l.states.fixedLeafColumnsLength.value ? o = "left" : r >= i.length - l.states.rightFixedLeafColumnsLength.value && (o = "right");
1035
1035
  }
1036
1036
  return o ? {
1037
1037
  direction: o,
1038
- start: s,
1038
+ start: r,
1039
1039
  after: a
1040
1040
  } : {};
1041
- }, At = (e, t, l, n, s, a = 0) => {
1042
- const i = [], { direction: o, start: r, after: u } = ql(t, l, n, s);
1041
+ }, Wt = (e, t, l, n, r, a = 0) => {
1042
+ const i = [], { direction: o, start: s, after: u } = ql(t, l, n, r);
1043
1043
  if (o) {
1044
1044
  const d = o === "left";
1045
- i.push(`${e}-fixed-column--${o}`), d && u + a === n.states.fixedLeafColumnsLength.value - 1 ? i.push("is-last-column") : !d && r - a === n.states.columns.value.length - n.states.rightFixedLeafColumnsLength.value && i.push("is-first-column");
1045
+ i.push(`${e}-fixed-column--${o}`), d && u + a === n.states.fixedLeafColumnsLength.value - 1 ? i.push("is-last-column") : !d && s - a === n.states.columns.value.length - n.states.rightFixedLeafColumnsLength.value && i.push("is-first-column");
1046
1046
  }
1047
1047
  return i;
1048
1048
  };
1049
- function sl(e, t) {
1049
+ function rl(e, t) {
1050
1050
  return e + (t.realWidth === null || Number.isNaN(t.realWidth) ? Number(t.width) : t.realWidth);
1051
1051
  }
1052
1052
  const Ht = (e, t, l, n) => {
1053
1053
  const {
1054
- direction: s,
1054
+ direction: r,
1055
1055
  start: a = 0,
1056
1056
  after: i = 0
1057
1057
  } = ql(e, t, l, n);
1058
- if (!s)
1058
+ if (!r)
1059
1059
  return;
1060
- const o = {}, r = s === "left", u = l.states.columns.value;
1061
- return r ? o.left = u.slice(0, a).reduce(sl, 0) : o.right = u.slice(i + 1).reverse().reduce(sl, 0), o;
1062
- }, We = (e, t) => {
1060
+ const o = {}, s = r === "left", u = l.states.columns.value;
1061
+ return s ? o.left = u.slice(0, a).reduce(rl, 0) : o.right = u.slice(i + 1).reverse().reduce(rl, 0), o;
1062
+ }, Te = (e, t) => {
1063
1063
  e && (Number.isNaN(e[t]) || (e[t] = `${e[t]}px`));
1064
1064
  };
1065
- function zs(e) {
1065
+ function Kr(e) {
1066
1066
  const t = ee(), l = E(!1), n = E([]);
1067
1067
  return {
1068
1068
  updateExpandRows: () => {
1069
- const r = e.data.value || [], u = e.rowKey.value;
1069
+ const s = e.data.value || [], u = e.rowKey.value;
1070
1070
  if (l.value)
1071
- n.value = r.slice();
1071
+ n.value = s.slice();
1072
1072
  else if (u) {
1073
1073
  const d = Ne(n.value, u);
1074
- n.value = r.reduce((h, p) => {
1074
+ n.value = s.reduce((h, p) => {
1075
1075
  const m = Z(p, u);
1076
1076
  return d[m] && h.push(p), h;
1077
1077
  }, []);
1078
1078
  } else
1079
1079
  n.value = [];
1080
1080
  },
1081
- toggleRowExpansion: (r, u) => {
1082
- $e(n.value, r, u) && t.emit("expand-change", r, n.value.slice());
1081
+ toggleRowExpansion: (s, u) => {
1082
+ $e(n.value, s, u) && t.emit("expand-change", s, n.value.slice());
1083
1083
  },
1084
- setExpandRowKeys: (r) => {
1084
+ setExpandRowKeys: (s) => {
1085
1085
  t.store.assertRowKey();
1086
1086
  const u = e.data.value || [], d = e.rowKey.value, h = Ne(u, d);
1087
- n.value = r.reduce((p, m) => {
1087
+ n.value = s.reduce((p, m) => {
1088
1088
  const f = h[m];
1089
1089
  return f && p.push(f.row), p;
1090
1090
  }, []);
1091
1091
  },
1092
- isRowExpanded: (r) => {
1092
+ isRowExpanded: (s) => {
1093
1093
  const u = e.rowKey.value;
1094
- return u ? !!Ne(n.value, u)[Z(r, u)] : n.value.includes(r);
1094
+ return u ? !!Ne(n.value, u)[Z(s, u)] : n.value.includes(s);
1095
1095
  },
1096
1096
  states: {
1097
1097
  expandRows: n,
@@ -1099,8 +1099,8 @@ function zs(e) {
1099
1099
  }
1100
1100
  };
1101
1101
  }
1102
- function Ds(e) {
1103
- const t = ee(), l = E(null), n = E(null), s = (u) => {
1102
+ function Vr(e) {
1103
+ const t = ee(), l = E(null), n = E(null), r = (u) => {
1104
1104
  t.store.assertRowKey(), l.value = u, i(u);
1105
1105
  }, a = () => {
1106
1106
  l.value = null;
@@ -1110,7 +1110,7 @@ function Ds(e) {
1110
1110
  h.value && (p = (O(d) || []).find((m) => Z(m, h.value) === u)), n.value = p, t.emit("current-change", n.value, null);
1111
1111
  };
1112
1112
  return {
1113
- setCurrentRowKey: s,
1113
+ setCurrentRowKey: r,
1114
1114
  restoreCurrentRowKey: a,
1115
1115
  setCurrentRowByKey: i,
1116
1116
  updateCurrentRow: (u) => {
@@ -1139,13 +1139,13 @@ function Ds(e) {
1139
1139
  }
1140
1140
  };
1141
1141
  }
1142
- function Vs(e) {
1143
- const t = E([]), l = E({}), n = E(16), s = E(!1), a = E({}), i = E("hasChildren"), o = E("children"), r = ee(), u = W(() => {
1142
+ function Dr(e) {
1143
+ const t = E([]), l = E({}), n = E(16), r = E(!1), a = E({}), i = E("hasChildren"), o = E("children"), s = ee(), u = T(() => {
1144
1144
  if (!e.rowKey.value)
1145
1145
  return {};
1146
1146
  const y = e.data.value || [];
1147
1147
  return h(y);
1148
- }), d = W(() => {
1148
+ }), d = T(() => {
1149
1149
  const y = e.rowKey.value, b = Object.keys(a.value), S = {};
1150
1150
  return b.length && b.forEach((c) => {
1151
1151
  if (a.value[c].length) {
@@ -1158,58 +1158,58 @@ function Vs(e) {
1158
1158
  }), S;
1159
1159
  }), h = (y) => {
1160
1160
  const b = e.rowKey.value, S = {};
1161
- return Is(y, (c, x, k) => {
1161
+ return Ir(y, (c, x, k) => {
1162
1162
  const w = Z(c, b);
1163
1163
  Array.isArray(x) ? S[w] = {
1164
1164
  children: x.map((R) => Z(R, b)),
1165
1165
  level: k
1166
- } : s.value && (S[w] = {
1166
+ } : r.value && (S[w] = {
1167
1167
  children: [],
1168
1168
  lazy: !0,
1169
1169
  level: k
1170
1170
  });
1171
1171
  }, o.value, i.value), S;
1172
- }, p = (y = !1, b = ((S) => (S = r.store) == null ? void 0 : S.states.defaultExpandAll.value)()) => {
1172
+ }, p = (y = !1, b = ((S) => (S = s.store) == null ? void 0 : S.states.defaultExpandAll.value)()) => {
1173
1173
  var S;
1174
1174
  const c = u.value, x = d.value, k = Object.keys(c), w = {};
1175
1175
  if (k.length) {
1176
- const R = O(l), F = [], z = (M, K) => {
1176
+ const R = O(l), F = [], K = (M, z) => {
1177
1177
  if (y)
1178
- return t.value ? b || t.value.includes(K) : !!(b || M != null && M.expanded);
1178
+ return t.value ? b || t.value.includes(z) : !!(b || M != null && M.expanded);
1179
1179
  {
1180
- const j = b || t.value && t.value.includes(K);
1180
+ const j = b || t.value && t.value.includes(z);
1181
1181
  return !!(M != null && M.expanded || j);
1182
1182
  }
1183
1183
  };
1184
1184
  k.forEach((M) => {
1185
- const K = R[M], j = { ...c[M] };
1186
- if (j.expanded = z(K, M), j.lazy) {
1187
- const { loaded: X = !1, loading: _ = !1 } = K || {};
1185
+ const z = R[M], j = { ...c[M] };
1186
+ if (j.expanded = K(z, M), j.lazy) {
1187
+ const { loaded: X = !1, loading: _ = !1 } = z || {};
1188
1188
  j.loaded = !!X, j.loading = !!_, F.push(M);
1189
1189
  }
1190
1190
  w[M] = j;
1191
1191
  });
1192
1192
  const B = Object.keys(x);
1193
- s.value && B.length && F.length && B.forEach((M) => {
1194
- const K = R[M], j = x[M].children;
1193
+ r.value && B.length && F.length && B.forEach((M) => {
1194
+ const z = R[M], j = x[M].children;
1195
1195
  if (F.includes(M)) {
1196
1196
  if (w[M].children.length !== 0)
1197
1197
  throw new Error("[ElTable]children must be an empty array.");
1198
1198
  w[M].children = j;
1199
1199
  } else {
1200
- const { loaded: X = !1, loading: _ = !1 } = K || {};
1200
+ const { loaded: X = !1, loading: _ = !1 } = z || {};
1201
1201
  w[M] = {
1202
1202
  lazy: !0,
1203
1203
  loaded: !!X,
1204
1204
  loading: !!_,
1205
- expanded: z(K, M),
1205
+ expanded: K(z, M),
1206
1206
  children: j,
1207
1207
  level: ""
1208
1208
  };
1209
1209
  }
1210
1210
  });
1211
1211
  }
1212
- l.value = w, (S = r.store) == null || S.updateTableScrollY();
1212
+ l.value = w, (S = s.store) == null || S.updateTableScrollY();
1213
1213
  };
1214
1214
  ie(() => t.value, () => {
1215
1215
  p(!0);
@@ -1221,22 +1221,22 @@ function Vs(e) {
1221
1221
  const m = (y) => {
1222
1222
  t.value = y, p();
1223
1223
  }, f = (y, b) => {
1224
- r.store.assertRowKey();
1224
+ s.store.assertRowKey();
1225
1225
  const S = e.rowKey.value, c = Z(y, S), x = c && l.value[c];
1226
1226
  if (c && x && "expanded" in x) {
1227
1227
  const k = x.expanded;
1228
- b = typeof b > "u" ? !x.expanded : b, l.value[c].expanded = b, k !== b && r.emit("expand-change", y, b), r.store.updateTableScrollY();
1228
+ b = typeof b > "u" ? !x.expanded : b, l.value[c].expanded = b, k !== b && s.emit("expand-change", y, b), s.store.updateTableScrollY();
1229
1229
  }
1230
1230
  }, g = (y) => {
1231
- r.store.assertRowKey();
1231
+ s.store.assertRowKey();
1232
1232
  const b = e.rowKey.value, S = Z(y, b), c = l.value[S];
1233
- s.value && c && "loaded" in c && !c.loaded ? v(y, S, c) : f(y, void 0);
1233
+ r.value && c && "loaded" in c && !c.loaded ? v(y, S, c) : f(y, void 0);
1234
1234
  }, v = (y, b, S) => {
1235
- const { load: c } = r.props;
1235
+ const { load: c } = s.props;
1236
1236
  c && !l.value[b].loaded && (l.value[b].loading = !0, c(y, S, (x) => {
1237
1237
  if (!Array.isArray(x))
1238
1238
  throw new TypeError("[ElTable] data must be an array");
1239
- l.value[b].loading = !1, l.value[b].loaded = !0, l.value[b].expanded = !0, x.length && (a.value[b] = x), r.emit("expand-change", y, !0);
1239
+ l.value[b].loading = !1, l.value[b].loaded = !0, l.value[b].expanded = !0, x.length && (a.value[b] = x), s.emit("expand-change", y, !0);
1240
1240
  }));
1241
1241
  };
1242
1242
  return {
@@ -1250,164 +1250,164 @@ function Vs(e) {
1250
1250
  expandRowKeys: t,
1251
1251
  treeData: l,
1252
1252
  indent: n,
1253
- lazy: s,
1253
+ lazy: r,
1254
1254
  lazyTreeNodeMap: a,
1255
1255
  lazyColumnIdentifier: i,
1256
1256
  childrenColumnName: o
1257
1257
  }
1258
1258
  };
1259
1259
  }
1260
- const js = (e, t) => {
1260
+ const jr = (e, t) => {
1261
1261
  const l = t.sortingColumn;
1262
- return !l || typeof l.sortable == "string" ? e : As(e, t.sortProp, t.sortOrder, l.sortMethod, l.sortBy);
1262
+ return !l || typeof l.sortable == "string" ? e : Wr(e, t.sortProp, t.sortOrder, l.sortMethod, l.sortBy);
1263
1263
  }, _e = (e) => {
1264
1264
  const t = [];
1265
1265
  return e.forEach((l) => {
1266
1266
  l.children && l.children.length > 0 ? t.push.apply(t, _e(l.children)) : t.push(l);
1267
1267
  }), t;
1268
1268
  };
1269
- function Gs() {
1269
+ function Gr() {
1270
1270
  var e;
1271
- const t = ee(), { size: l } = dl((e = t.proxy) == null ? void 0 : e.$props), n = E(null), s = E([]), a = E([]), i = E(!1), o = E([]), r = E([]), u = E([]), d = E([]), h = E([]), p = E([]), m = E([]), f = E([]), g = [], v = E(0), y = E(0), b = E(0), S = E(!1), c = E([]), x = E(!1), k = E(!1), w = E(null), R = E({}), F = E(null), z = E(null), B = E(null), M = E(null), K = E(null);
1272
- ie(s, () => t.state && ue(!1), {
1271
+ const t = ee(), { size: l } = dl((e = t.proxy) == null ? void 0 : e.$props), n = E(null), r = E([]), a = E([]), i = E(!1), o = E([]), s = E([]), u = E([]), d = E([]), h = E([]), p = E([]), m = E([]), f = E([]), g = [], v = E(0), y = E(0), b = E(0), S = E(!1), c = E([]), x = E(!1), k = E(!1), w = E(null), R = E({}), F = E(null), K = E(null), B = E(null), M = E(null), z = E(null);
1272
+ ie(r, () => t.state && ue(!1), {
1273
1273
  deep: !0
1274
1274
  });
1275
1275
  const j = () => {
1276
1276
  if (!n.value)
1277
1277
  throw new Error("[ElTable] prop row-key is required");
1278
1278
  }, X = (N) => {
1279
- var T;
1280
- (T = N.children) == null || T.forEach(($) => {
1279
+ var A;
1280
+ (A = N.children) == null || A.forEach(($) => {
1281
1281
  $.fixed = N.fixed, X($);
1282
1282
  });
1283
1283
  }, _ = () => {
1284
- o.value.forEach((D) => {
1285
- X(D);
1286
- }), d.value = o.value.filter((D) => D.fixed === !0 || D.fixed === "left"), h.value = o.value.filter((D) => D.fixed === "right"), d.value.length > 0 && o.value[0] && o.value[0].type === "selection" && !o.value[0].fixed && (o.value[0].fixed = !0, d.value.unshift(o.value[0]));
1287
- const N = o.value.filter((D) => !D.fixed);
1288
- r.value = [].concat(d.value).concat(N).concat(h.value);
1289
- const T = _e(N), $ = _e(d.value), A = _e(h.value);
1290
- v.value = T.length, y.value = $.length, b.value = A.length, u.value = [].concat($).concat(T).concat(A), i.value = d.value.length > 0 || h.value.length > 0;
1291
- }, ue = (N, T = !1) => {
1292
- N && _(), T ? t.state.doLayout() : t.state.debouncedUpdateLayout();
1284
+ o.value.forEach((V) => {
1285
+ X(V);
1286
+ }), d.value = o.value.filter((V) => V.fixed === !0 || V.fixed === "left"), h.value = o.value.filter((V) => V.fixed === "right"), d.value.length > 0 && o.value[0] && o.value[0].type === "selection" && !o.value[0].fixed && (o.value[0].fixed = !0, d.value.unshift(o.value[0]));
1287
+ const N = o.value.filter((V) => !V.fixed);
1288
+ s.value = [].concat(d.value).concat(N).concat(h.value);
1289
+ const A = _e(N), $ = _e(d.value), W = _e(h.value);
1290
+ v.value = A.length, y.value = $.length, b.value = W.length, u.value = [].concat($).concat(A).concat(W), i.value = d.value.length > 0 || h.value.length > 0;
1291
+ }, ue = (N, A = !1) => {
1292
+ N && _(), A ? t.state.doLayout() : t.state.debouncedUpdateLayout();
1293
1293
  }, Q = (N) => c.value.includes(N), C = () => {
1294
1294
  S.value = !1, c.value.length && (c.value = [], t.emit("selection-change", []));
1295
1295
  }, L = () => {
1296
1296
  let N;
1297
1297
  if (n.value) {
1298
1298
  N = [];
1299
- const T = Ne(c.value, n.value), $ = Ne(s.value, n.value);
1300
- for (const A in T)
1301
- Ie(T, A) && !$[A] && N.push(T[A].row);
1299
+ const A = Ne(c.value, n.value), $ = Ne(r.value, n.value);
1300
+ for (const W in A)
1301
+ Ie(A, W) && !$[W] && N.push(A[W].row);
1302
1302
  } else
1303
- N = c.value.filter((T) => !s.value.includes(T));
1303
+ N = c.value.filter((A) => !r.value.includes(A));
1304
1304
  if (N.length) {
1305
- const T = c.value.filter(($) => !N.includes($));
1306
- c.value = T, t.emit("selection-change", T.slice());
1305
+ const A = c.value.filter(($) => !N.includes($));
1306
+ c.value = A, t.emit("selection-change", A.slice());
1307
1307
  }
1308
- }, P = () => (c.value || []).slice(), G = (N, T = void 0, $ = !0) => {
1309
- if ($e(c.value, N, T)) {
1310
- const D = (c.value || []).slice();
1311
- $ && t.emit("select", D, N), t.emit("selection-change", D);
1308
+ }, P = () => (c.value || []).slice(), G = (N, A = void 0, $ = !0) => {
1309
+ if ($e(c.value, N, A)) {
1310
+ const V = (c.value || []).slice();
1311
+ $ && t.emit("select", V, N), t.emit("selection-change", V);
1312
1312
  }
1313
1313
  }, Y = () => {
1314
- var N, T;
1314
+ var N, A;
1315
1315
  const $ = k.value ? !S.value : !(S.value || c.value.length);
1316
1316
  S.value = $;
1317
- let A = !1, D = 0;
1318
- const J = (T = (N = t == null ? void 0 : t.store) == null ? void 0 : N.states) == null ? void 0 : T.rowKey.value;
1319
- s.value.forEach((ce, Oe) => {
1320
- const ge = Oe + D;
1321
- w.value ? w.value.call(null, ce, ge) && $e(c.value, ce, $) && (A = !0) : $e(c.value, ce, $) && (A = !0), D += te(Z(ce, J));
1322
- }), A && t.emit("selection-change", c.value ? c.value.slice() : []), t.emit("select-all", c.value);
1317
+ let W = !1, V = 0;
1318
+ const J = (A = (N = t == null ? void 0 : t.store) == null ? void 0 : N.states) == null ? void 0 : A.rowKey.value;
1319
+ r.value.forEach((ce, Oe) => {
1320
+ const ge = Oe + V;
1321
+ w.value ? w.value.call(null, ce, ge) && $e(c.value, ce, $) && (W = !0) : $e(c.value, ce, $) && (W = !0), V += te(Z(ce, J));
1322
+ }), W && t.emit("selection-change", c.value ? c.value.slice() : []), t.emit("select-all", c.value);
1323
1323
  }, q = () => {
1324
1324
  const N = Ne(c.value, n.value);
1325
- s.value.forEach((T) => {
1326
- const $ = Z(T, n.value), A = N[$];
1327
- A && (c.value[A.index] = T);
1325
+ r.value.forEach((A) => {
1326
+ const $ = Z(A, n.value), W = N[$];
1327
+ W && (c.value[W.index] = A);
1328
1328
  });
1329
1329
  }, ae = () => {
1330
- var N, T, $;
1331
- if (((N = s.value) == null ? void 0 : N.length) === 0) {
1330
+ var N, A, $;
1331
+ if (((N = r.value) == null ? void 0 : N.length) === 0) {
1332
1332
  S.value = !1;
1333
1333
  return;
1334
1334
  }
1335
- let A;
1336
- n.value && (A = Ne(c.value, n.value));
1337
- const D = function(ge) {
1338
- return A ? !!A[Z(ge, n.value)] : c.value.includes(ge);
1335
+ let W;
1336
+ n.value && (W = Ne(c.value, n.value));
1337
+ const V = function(ge) {
1338
+ return W ? !!W[Z(ge, n.value)] : c.value.includes(ge);
1339
1339
  };
1340
1340
  let J = !0, ce = 0, Oe = 0;
1341
- for (let ge = 0, gn = (s.value || []).length; ge < gn; ge++) {
1342
- const bn = ($ = (T = t == null ? void 0 : t.store) == null ? void 0 : T.states) == null ? void 0 : $.rowKey.value, yn = ge + Oe, rt = s.value[ge], Cn = w.value && w.value.call(null, rt, yn);
1343
- if (D(rt))
1341
+ for (let ge = 0, gn = (r.value || []).length; ge < gn; ge++) {
1342
+ const bn = ($ = (A = t == null ? void 0 : t.store) == null ? void 0 : A.states) == null ? void 0 : $.rowKey.value, yn = ge + Oe, st = r.value[ge], Cn = w.value && w.value.call(null, st, yn);
1343
+ if (V(st))
1344
1344
  ce++;
1345
1345
  else if (!w.value || Cn) {
1346
1346
  J = !1;
1347
1347
  break;
1348
1348
  }
1349
- Oe += te(Z(rt, bn));
1349
+ Oe += te(Z(st, bn));
1350
1350
  }
1351
1351
  ce === 0 && (J = !1), S.value = J;
1352
1352
  }, te = (N) => {
1353
- var T;
1353
+ var A;
1354
1354
  if (!t || !t.store)
1355
1355
  return 0;
1356
1356
  const { treeData: $ } = t.store.states;
1357
- let A = 0;
1358
- const D = (T = $.value[N]) == null ? void 0 : T.children;
1359
- return D && (A += D.length, D.forEach((J) => {
1360
- A += te(J);
1361
- })), A;
1362
- }, me = (N, T) => {
1357
+ let W = 0;
1358
+ const V = (A = $.value[N]) == null ? void 0 : A.children;
1359
+ return V && (W += V.length, V.forEach((J) => {
1360
+ W += te(J);
1361
+ })), W;
1362
+ }, me = (N, A) => {
1363
1363
  Array.isArray(N) || (N = [N]);
1364
1364
  const $ = {};
1365
- return N.forEach((A) => {
1366
- R.value[A.id] = T, $[A.columnKey || A.id] = T;
1365
+ return N.forEach((W) => {
1366
+ R.value[W.id] = A, $[W.columnKey || W.id] = A;
1367
1367
  }), $;
1368
- }, le = (N, T, $) => {
1369
- z.value && z.value !== N && (z.value.order = null), z.value = N, B.value = T, M.value = $;
1368
+ }, le = (N, A, $) => {
1369
+ K.value && K.value !== N && (K.value.order = null), K.value = N, B.value = A, M.value = $;
1370
1370
  }, de = () => {
1371
1371
  let N = O(a);
1372
- Object.keys(R.value).forEach((T) => {
1373
- const $ = R.value[T];
1372
+ Object.keys(R.value).forEach((A) => {
1373
+ const $ = R.value[A];
1374
1374
  if (!$ || $.length === 0)
1375
1375
  return;
1376
- const A = Gl({
1376
+ const W = Gl({
1377
1377
  columns: u.value
1378
- }, T);
1379
- A && A.filterMethod && (N = N.filter((D) => $.some((J) => A.filterMethod.call(null, J, D, A))));
1378
+ }, A);
1379
+ W && W.filterMethod && (N = N.filter((V) => $.some((J) => W.filterMethod.call(null, J, V, W))));
1380
1380
  }), F.value = N;
1381
1381
  }, ve = () => {
1382
- s.value = js(F.value, {
1383
- sortingColumn: z.value,
1382
+ r.value = jr(F.value, {
1383
+ sortingColumn: K.value,
1384
1384
  sortProp: B.value,
1385
1385
  sortOrder: M.value
1386
1386
  });
1387
1387
  }, en = (N = void 0) => {
1388
1388
  N && N.filter || de(), ve();
1389
1389
  }, tn = (N) => {
1390
- const { tableHeaderRef: T } = t.refs;
1391
- if (!T)
1390
+ const { tableHeaderRef: A } = t.refs;
1391
+ if (!A)
1392
1392
  return;
1393
- const $ = Object.assign({}, T.filterPanels), A = Object.keys($);
1394
- if (A.length)
1393
+ const $ = Object.assign({}, A.filterPanels), W = Object.keys($);
1394
+ if (W.length)
1395
1395
  if (typeof N == "string" && (N = [N]), Array.isArray(N)) {
1396
- const D = N.map((J) => Hs({
1396
+ const V = N.map((J) => Hr({
1397
1397
  columns: u.value
1398
1398
  }, J));
1399
- A.forEach((J) => {
1400
- const ce = D.find((Oe) => Oe.id === J);
1399
+ W.forEach((J) => {
1400
+ const ce = V.find((Oe) => Oe.id === J);
1401
1401
  ce && (ce.filteredValue = []);
1402
1402
  }), t.store.commit("filterChange", {
1403
- column: D,
1403
+ column: V,
1404
1404
  values: [],
1405
1405
  silent: !0,
1406
1406
  multi: !0
1407
1407
  });
1408
1408
  } else
1409
- A.forEach((D) => {
1410
- const J = u.value.find((ce) => ce.id === D);
1409
+ W.forEach((V) => {
1410
+ const J = u.value.find((ce) => ce.id === V);
1411
1411
  J && (J.filteredValue = []);
1412
1412
  }), R.value = {}, t.store.commit("filterChange", {
1413
1413
  column: {},
@@ -1415,17 +1415,17 @@ function Gs() {
1415
1415
  silent: !0
1416
1416
  });
1417
1417
  }, ln = () => {
1418
- z.value && (le(null, null, null), t.store.commit("changeSortCondition", {
1418
+ K.value && (le(null, null, null), t.store.commit("changeSortCondition", {
1419
1419
  silent: !0
1420
1420
  }));
1421
1421
  }, {
1422
1422
  setExpandRowKeys: nn,
1423
1423
  toggleRowExpansion: Pt,
1424
1424
  updateExpandRows: on,
1425
- states: sn,
1426
- isRowExpanded: rn
1427
- } = zs({
1428
- data: s,
1425
+ states: rn,
1426
+ isRowExpanded: sn
1427
+ } = Kr({
1428
+ data: r,
1429
1429
  rowKey: n
1430
1430
  }), {
1431
1431
  updateTreeExpandKeys: an,
@@ -1433,16 +1433,16 @@ function Gs() {
1433
1433
  updateTreeData: dn,
1434
1434
  loadOrToggle: cn,
1435
1435
  states: fn
1436
- } = Vs({
1437
- data: s,
1436
+ } = Dr({
1437
+ data: r,
1438
1438
  rowKey: n
1439
1439
  }), {
1440
1440
  updateCurrentRowData: hn,
1441
1441
  updateCurrentRow: vn,
1442
1442
  setCurrentRowKey: pn,
1443
1443
  states: mn
1444
- } = Ds({
1445
- data: s,
1444
+ } = Vr({
1445
+ data: r,
1446
1446
  rowKey: n
1447
1447
  });
1448
1448
  return {
@@ -1471,10 +1471,10 @@ function Gs() {
1471
1471
  nn(N), an(N);
1472
1472
  },
1473
1473
  setCurrentRowKey: pn,
1474
- toggleRowExpansionAdapter: (N, T) => {
1475
- u.value.some(({ type: A }) => A === "expand") ? Pt(N, T) : un(N, T);
1474
+ toggleRowExpansionAdapter: (N, A) => {
1475
+ u.value.some(({ type: W }) => W === "expand") ? Pt(N, A) : un(N, A);
1476
1476
  },
1477
- isRowExpanded: rn,
1477
+ isRowExpanded: sn,
1478
1478
  updateExpandRows: on,
1479
1479
  updateCurrentRowData: hn,
1480
1480
  loadOrToggle: cn,
@@ -1482,11 +1482,11 @@ function Gs() {
1482
1482
  states: {
1483
1483
  tableSize: l,
1484
1484
  rowKey: n,
1485
- data: s,
1485
+ data: r,
1486
1486
  _data: a,
1487
1487
  isComplex: i,
1488
1488
  _columns: o,
1489
- originColumns: r,
1489
+ originColumns: s,
1490
1490
  columns: u,
1491
1491
  fixedColumns: d,
1492
1492
  rightFixedColumns: h,
@@ -1504,11 +1504,11 @@ function Gs() {
1504
1504
  selectable: w,
1505
1505
  filters: R,
1506
1506
  filteredData: F,
1507
- sortingColumn: z,
1507
+ sortingColumn: K,
1508
1508
  sortProp: B,
1509
1509
  sortOrder: M,
1510
- hoverRow: K,
1511
- ...sn,
1510
+ hoverRow: z,
1511
+ ...rn,
1512
1512
  ...fn,
1513
1513
  ...mn
1514
1514
  }
@@ -1526,32 +1526,32 @@ function kt(e) {
1526
1526
  t.no = (l = t.getColumnIndex) == null ? void 0 : l.call(t), (n = t.children) != null && n.length && kt(t.children);
1527
1527
  }), e.sort((t, l) => t.no - l.no);
1528
1528
  }
1529
- function Us() {
1530
- const e = ee(), t = Gs();
1529
+ function Ur() {
1530
+ const e = ee(), t = Gr();
1531
1531
  return {
1532
- ns: re("table"),
1532
+ ns: se("table"),
1533
1533
  ...t,
1534
1534
  mutations: {
1535
1535
  setData(i, o) {
1536
- const r = O(i._data) !== o;
1537
- i.data.value = o, i._data.value = o, e.store.execQuery(), e.store.updateCurrentRowData(), e.store.updateExpandRows(), e.store.updateTreeData(e.store.states.defaultExpandAll.value), O(i.reserveSelection) ? (e.store.assertRowKey(), e.store.updateSelectionByRowKey()) : r ? e.store.clearSelection() : e.store.cleanSelection(), e.store.updateAllSelected(), e.$ready && e.store.scheduleLayout();
1536
+ const s = O(i._data) !== o;
1537
+ i.data.value = o, i._data.value = o, e.store.execQuery(), e.store.updateCurrentRowData(), e.store.updateExpandRows(), e.store.updateTreeData(e.store.states.defaultExpandAll.value), O(i.reserveSelection) ? (e.store.assertRowKey(), e.store.updateSelectionByRowKey()) : s ? e.store.clearSelection() : e.store.cleanSelection(), e.store.updateAllSelected(), e.$ready && e.store.scheduleLayout();
1538
1538
  },
1539
- insertColumn(i, o, r, u) {
1539
+ insertColumn(i, o, s, u) {
1540
1540
  const d = O(i._columns);
1541
1541
  let h = [];
1542
- r ? (r && !r.children && (r.children = []), r.children.push(o), h = Et(d, r)) : (d.push(o), h = d), kt(h), i._columns.value = h, i.updateOrderFns.push(u), o.type === "selection" && (i.selectable.value = o.selectable, i.reserveSelection.value = o.reserveSelection), e.$ready && (e.store.updateColumns(), e.store.scheduleLayout());
1542
+ s ? (s && !s.children && (s.children = []), s.children.push(o), h = Et(d, s)) : (d.push(o), h = d), kt(h), i._columns.value = h, i.updateOrderFns.push(u), o.type === "selection" && (i.selectable.value = o.selectable, i.reserveSelection.value = o.reserveSelection), e.$ready && (e.store.updateColumns(), e.store.scheduleLayout());
1543
1543
  },
1544
1544
  updateColumnOrder(i, o) {
1545
- var r;
1546
- ((r = o.getColumnIndex) == null ? void 0 : r.call(o)) !== o.no && (kt(i._columns.value), e.$ready && e.store.updateColumns());
1545
+ var s;
1546
+ ((s = o.getColumnIndex) == null ? void 0 : s.call(o)) !== o.no && (kt(i._columns.value), e.$ready && e.store.updateColumns());
1547
1547
  },
1548
- removeColumn(i, o, r, u) {
1548
+ removeColumn(i, o, s, u) {
1549
1549
  const d = O(i._columns) || [];
1550
- if (r)
1551
- r.children.splice(r.children.findIndex((p) => p.id === o.id), 1), Ee(() => {
1550
+ if (s)
1551
+ s.children.splice(s.children.findIndex((p) => p.id === o.id), 1), Ee(() => {
1552
1552
  var p;
1553
- ((p = r.children) == null ? void 0 : p.length) === 0 && delete r.children;
1554
- }), i._columns.value = Et(d, r);
1553
+ ((p = s.children) == null ? void 0 : p.length) === 0 && delete s.children;
1554
+ }), i._columns.value = Et(d, s);
1555
1555
  else {
1556
1556
  const p = d.indexOf(o);
1557
1557
  p > -1 && (d.splice(p, 1), i._columns.value = d);
@@ -1560,14 +1560,14 @@ function Us() {
1560
1560
  h > -1 && i.updateOrderFns.splice(h, 1), e.$ready && (e.store.updateColumns(), e.store.scheduleLayout());
1561
1561
  },
1562
1562
  sort(i, o) {
1563
- const { prop: r, order: u, init: d } = o;
1564
- if (r) {
1565
- const h = O(i.columns).find((p) => p.property === r);
1566
- h && (h.order = u, e.store.updateSort(h, r, u), e.store.commit("changeSortCondition", { init: d }));
1563
+ const { prop: s, order: u, init: d } = o;
1564
+ if (s) {
1565
+ const h = O(i.columns).find((p) => p.property === s);
1566
+ h && (h.order = u, e.store.updateSort(h, s, u), e.store.commit("changeSortCondition", { init: d }));
1567
1567
  }
1568
1568
  },
1569
1569
  changeSortCondition(i, o) {
1570
- const { sortingColumn: r, sortProp: u, sortOrder: d } = i, h = O(r), p = O(u), m = O(d);
1570
+ const { sortingColumn: s, sortProp: u, sortOrder: d } = i, h = O(s), p = O(u), m = O(d);
1571
1571
  m === null && (i.sortingColumn.value = null, i.sortProp.value = null);
1572
1572
  const f = { filter: !0 };
1573
1573
  e.store.execQuery(f), (!o || !(o.silent || o.init)) && e.emit("sort-change", {
@@ -1577,7 +1577,7 @@ function Us() {
1577
1577
  }), e.store.updateTableScrollY();
1578
1578
  },
1579
1579
  filterChange(i, o) {
1580
- const { column: r, values: u, silent: d } = o, h = e.store.updateFilters(r, u);
1580
+ const { column: s, values: u, silent: d } = o, h = e.store.updateFilters(s, u);
1581
1581
  e.store.execQuery(), d || e.emit("filter-change", h), e.store.updateTableScrollY();
1582
1582
  },
1583
1583
  toggleAllSelection() {
@@ -1594,9 +1594,9 @@ function Us() {
1594
1594
  }
1595
1595
  },
1596
1596
  commit: function(i, ...o) {
1597
- const r = e.store.mutations;
1598
- if (r[i])
1599
- r[i].apply(e, [e.store.states].concat(o));
1597
+ const s = e.store.mutations;
1598
+ if (s[i])
1599
+ s[i].apply(e, [e.store.states].concat(o));
1600
1600
  else
1601
1601
  throw new Error(`Action not found: ${i}`);
1602
1602
  },
@@ -1621,15 +1621,15 @@ const Pe = {
1621
1621
  default: "children"
1622
1622
  }
1623
1623
  };
1624
- function Ys(e, t) {
1624
+ function Yr(e, t) {
1625
1625
  if (!e)
1626
1626
  throw new Error("Table is required.");
1627
- const l = Us();
1627
+ const l = Ur();
1628
1628
  return l.toggleAllSelection = nt(l._toggleAllSelection, 10), Object.keys(Pe).forEach((n) => {
1629
1629
  Xl(_l(t, n), n, l);
1630
- }), qs(l, t), l;
1630
+ }), qr(l, t), l;
1631
1631
  }
1632
- function qs(e, t) {
1632
+ function qr(e, t) {
1633
1633
  Object.keys(Pe).forEach((l) => {
1634
1634
  ie(() => _l(t, l), (n) => {
1635
1635
  Xl(n, l, e);
@@ -1637,20 +1637,20 @@ function qs(e, t) {
1637
1637
  });
1638
1638
  }
1639
1639
  function Xl(e, t, l) {
1640
- let n = e, s = Pe[t];
1641
- typeof Pe[t] == "object" && (s = s.key, n = n || Pe[t].default), l.states[s].value = n;
1640
+ let n = e, r = Pe[t];
1641
+ typeof Pe[t] == "object" && (r = r.key, n = n || Pe[t].default), l.states[r].value = n;
1642
1642
  }
1643
1643
  function _l(e, t) {
1644
1644
  if (t.includes(".")) {
1645
1645
  const l = t.split(".");
1646
1646
  let n = e;
1647
- return l.forEach((s) => {
1648
- n = n[s];
1647
+ return l.forEach((r) => {
1648
+ n = n[r];
1649
1649
  }), n;
1650
1650
  } else
1651
1651
  return e[t];
1652
1652
  }
1653
- class Xs {
1653
+ class Xr {
1654
1654
  constructor(t) {
1655
1655
  this.observers = [], this.table = null, this.store = null, this.columns = [], this.fit = !0, this.showHeader = !0, this.height = E(null), this.scrollX = E(!1), this.scrollY = E(!1), this.bodyWidth = E(null), this.fixedWidth = E(null), this.rightFixedWidth = E(null), this.gutterWidth = 0;
1656
1656
  for (const l in t)
@@ -1666,16 +1666,16 @@ class Xs {
1666
1666
  const l = this.table.refs.scrollBarRef;
1667
1667
  if (this.table.vnode.el && (l != null && l.wrapRef)) {
1668
1668
  let n = !0;
1669
- const s = this.scrollY.value;
1670
- return n = l.wrapRef.scrollHeight > l.wrapRef.clientHeight, this.scrollY.value = n, s !== n;
1669
+ const r = this.scrollY.value;
1670
+ return n = l.wrapRef.scrollHeight > l.wrapRef.clientHeight, this.scrollY.value = n, r !== n;
1671
1671
  }
1672
1672
  return !1;
1673
1673
  }
1674
1674
  setHeight(t, l = "height") {
1675
- if (!Ke)
1675
+ if (!ze)
1676
1676
  return;
1677
1677
  const n = this.table.vnode.el;
1678
- if (t = Ps(t), this.height.value = Number(t), !n && (t || t === 0))
1678
+ if (t = Pr(t), this.height.value = Number(t), !n && (t || t === 0))
1679
1679
  return Ee(() => this.setHeight(t, l));
1680
1680
  typeof t == "number" ? (n.style[l] = `${t}px`, this.updateElsHeight()) : typeof t == "string" && (n.style[l] = t, this.updateElsHeight());
1681
1681
  }
@@ -1703,53 +1703,53 @@ class Xs {
1703
1703
  return !1;
1704
1704
  }
1705
1705
  updateColumnsWidth() {
1706
- if (!Ke)
1706
+ if (!ze)
1707
1707
  return;
1708
1708
  const t = this.fit, l = this.table.vnode.el.clientWidth;
1709
1709
  let n = 0;
1710
- const s = this.getFlattenColumns(), a = s.filter((r) => typeof r.width != "number");
1711
- if (s.forEach((r) => {
1712
- typeof r.width == "number" && r.realWidth && (r.realWidth = null);
1710
+ const r = this.getFlattenColumns(), a = r.filter((s) => typeof s.width != "number");
1711
+ if (r.forEach((s) => {
1712
+ typeof s.width == "number" && s.realWidth && (s.realWidth = null);
1713
1713
  }), a.length > 0 && t) {
1714
- if (s.forEach((r) => {
1715
- n += Number(r.width || r.minWidth || 80);
1714
+ if (r.forEach((s) => {
1715
+ n += Number(s.width || s.minWidth || 80);
1716
1716
  }), n <= l) {
1717
1717
  this.scrollX.value = !1;
1718
- const r = l - n;
1718
+ const s = l - n;
1719
1719
  if (a.length === 1)
1720
- a[0].realWidth = Number(a[0].minWidth || 80) + r;
1720
+ a[0].realWidth = Number(a[0].minWidth || 80) + s;
1721
1721
  else {
1722
- const u = a.reduce((p, m) => p + Number(m.minWidth || 80), 0), d = r / u;
1722
+ const u = a.reduce((p, m) => p + Number(m.minWidth || 80), 0), d = s / u;
1723
1723
  let h = 0;
1724
1724
  a.forEach((p, m) => {
1725
1725
  if (m === 0)
1726
1726
  return;
1727
1727
  const f = Math.floor(Number(p.minWidth || 80) * d);
1728
1728
  h += f, p.realWidth = Number(p.minWidth || 80) + f;
1729
- }), a[0].realWidth = Number(a[0].minWidth || 80) + r - h;
1729
+ }), a[0].realWidth = Number(a[0].minWidth || 80) + s - h;
1730
1730
  }
1731
1731
  } else
1732
- this.scrollX.value = !0, a.forEach((r) => {
1733
- r.realWidth = Number(r.minWidth);
1732
+ this.scrollX.value = !0, a.forEach((s) => {
1733
+ s.realWidth = Number(s.minWidth);
1734
1734
  });
1735
1735
  this.bodyWidth.value = Math.max(n, l), this.table.state.resizeState.value.width = this.bodyWidth.value;
1736
1736
  } else
1737
- s.forEach((r) => {
1738
- !r.width && !r.minWidth ? r.realWidth = 80 : r.realWidth = Number(r.width || r.minWidth), n += r.realWidth;
1737
+ r.forEach((s) => {
1738
+ !s.width && !s.minWidth ? s.realWidth = 80 : s.realWidth = Number(s.width || s.minWidth), n += s.realWidth;
1739
1739
  }), this.scrollX.value = n > l, this.bodyWidth.value = n;
1740
1740
  const i = this.store.states.fixedColumns.value;
1741
1741
  if (i.length > 0) {
1742
- let r = 0;
1742
+ let s = 0;
1743
1743
  i.forEach((u) => {
1744
- r += Number(u.realWidth || u.width);
1745
- }), this.fixedWidth.value = r;
1744
+ s += Number(u.realWidth || u.width);
1745
+ }), this.fixedWidth.value = s;
1746
1746
  }
1747
1747
  const o = this.store.states.rightFixedColumns.value;
1748
1748
  if (o.length > 0) {
1749
- let r = 0;
1749
+ let s = 0;
1750
1750
  o.forEach((u) => {
1751
- r += Number(u.realWidth || u.width);
1752
- }), this.rightFixedWidth.value = r;
1751
+ s += Number(u.realWidth || u.width);
1752
+ }), this.rightFixedWidth.value = s;
1753
1753
  }
1754
1754
  this.notifyObservers("columns");
1755
1755
  }
@@ -1762,10 +1762,10 @@ class Xs {
1762
1762
  }
1763
1763
  notifyObservers(t) {
1764
1764
  this.observers.forEach((n) => {
1765
- var s, a;
1765
+ var r, a;
1766
1766
  switch (t) {
1767
1767
  case "columns":
1768
- (s = n.state) == null || s.onColumnsChange(this);
1768
+ (r = n.state) == null || r.onColumnsChange(this);
1769
1769
  break;
1770
1770
  case "scrollable":
1771
1771
  (a = n.state) == null || a.onScrollableChange(this);
@@ -1776,11 +1776,11 @@ class Xs {
1776
1776
  });
1777
1777
  }
1778
1778
  }
1779
- const { CheckboxGroup: _s } = Te, Qs = he({
1779
+ const { CheckboxGroup: _r } = Ae, Qr = he({
1780
1780
  name: "ElTableFilterPanel",
1781
1781
  components: {
1782
- ElCheckbox: Te,
1783
- ElCheckboxGroup: _s,
1782
+ ElCheckbox: Ae,
1783
+ ElCheckboxGroup: _r,
1784
1784
  ElScrollbar: pl,
1785
1785
  ElTooltip: $n,
1786
1786
  ElIcon: Mt,
@@ -1804,9 +1804,9 @@ const { CheckboxGroup: _s } = Te, Qs = he({
1804
1804
  }
1805
1805
  },
1806
1806
  setup(e) {
1807
- const t = ee(), { t: l } = yl(), n = re("table-filter"), s = t == null ? void 0 : t.parent;
1808
- s.filterPanels.value[e.column.id] || (s.filterPanels.value[e.column.id] = t);
1809
- const a = E(!1), i = E(null), o = W(() => e.column && e.column.filters), r = W({
1807
+ const t = ee(), { t: l } = yl(), n = se("table-filter"), r = t == null ? void 0 : t.parent;
1808
+ r.filterPanels.value[e.column.id] || (r.filterPanels.value[e.column.id] = t);
1809
+ const a = E(!1), i = E(null), o = T(() => e.column && e.column.filters), s = T({
1810
1810
  get: () => {
1811
1811
  var c;
1812
1812
  return (((c = e.column) == null ? void 0 : c.filteredValue) || [])[0];
@@ -1814,14 +1814,14 @@ const { CheckboxGroup: _s } = Te, Qs = he({
1814
1814
  set: (c) => {
1815
1815
  u.value && (typeof c < "u" && c !== null ? u.value.splice(0, 1, c) : u.value.splice(0, 1));
1816
1816
  }
1817
- }), u = W({
1817
+ }), u = T({
1818
1818
  get() {
1819
1819
  return e.column ? e.column.filteredValue || [] : [];
1820
1820
  },
1821
1821
  set(c) {
1822
1822
  e.column && e.upDataColumn("filteredValue", c);
1823
1823
  }
1824
- }), d = W(() => e.column ? e.column.filterMultiple : !0), h = (c) => c.value === r.value, p = () => {
1824
+ }), d = T(() => e.column ? e.column.filterMultiple : !0), h = (c) => c.value === s.value, p = () => {
1825
1825
  a.value = !1;
1826
1826
  }, m = (c) => {
1827
1827
  c.stopPropagation(), a.value = !a.value;
@@ -1832,7 +1832,7 @@ const { CheckboxGroup: _s } = Te, Qs = he({
1832
1832
  }, v = () => {
1833
1833
  u.value = [], b(u.value), p();
1834
1834
  }, y = (c) => {
1835
- r.value = c, b(typeof c < "u" && c !== null ? u.value : []), p();
1835
+ s.value = c, b(typeof c < "u" && c !== null ? u.value : []), p();
1836
1836
  }, b = (c) => {
1837
1837
  e.store.commit("filterChange", {
1838
1838
  column: e.column,
@@ -1844,7 +1844,7 @@ const { CheckboxGroup: _s } = Te, Qs = he({
1844
1844
  }, {
1845
1845
  immediate: !0
1846
1846
  });
1847
- const S = W(() => {
1847
+ const S = T(() => {
1848
1848
  var c, x;
1849
1849
  return (x = (c = i.value) == null ? void 0 : c.popperRef) == null ? void 0 : x.contentRef;
1850
1850
  });
@@ -1852,7 +1852,7 @@ const { CheckboxGroup: _s } = Te, Qs = he({
1852
1852
  tooltipVisible: a,
1853
1853
  multiple: d,
1854
1854
  filteredValue: u,
1855
- filterValue: r,
1855
+ filterValue: s,
1856
1856
  filters: o,
1857
1857
  handleConfirm: g,
1858
1858
  handleReset: v,
@@ -1866,10 +1866,10 @@ const { CheckboxGroup: _s } = Te, Qs = he({
1866
1866
  tooltip: i
1867
1867
  };
1868
1868
  }
1869
- }), Zs = { key: 0 }, Js = ["disabled"], er = ["label", "onClick"];
1870
- function tr(e, t, l, n, s, a) {
1871
- const i = fe("el-checkbox"), o = fe("el-checkbox-group"), r = fe("el-scrollbar"), u = fe("arrow-up"), d = fe("arrow-down"), h = fe("el-icon"), p = fe("el-tooltip"), m = cl("click-outside");
1872
- return V(), Le(p, {
1869
+ }), Zr = { key: 0 }, Jr = ["disabled"], es = ["label", "onClick"];
1870
+ function ts(e, t, l, n, r, a) {
1871
+ const i = fe("el-checkbox"), o = fe("el-checkbox-group"), s = fe("el-scrollbar"), u = fe("arrow-up"), d = fe("arrow-down"), h = fe("el-icon"), p = fe("el-tooltip"), m = cl("click-outside");
1872
+ return D(), Le(p, {
1873
1873
  ref: "tooltip",
1874
1874
  visible: e.tooltipVisible,
1875
1875
  offset: 0,
@@ -1883,11 +1883,11 @@ function tr(e, t, l, n, s, a) {
1883
1883
  persistent: ""
1884
1884
  }, {
1885
1885
  content: ye(() => [
1886
- e.multiple ? (V(), U("div", Zs, [
1886
+ e.multiple ? (D(), U("div", Zr, [
1887
1887
  oe("div", {
1888
1888
  class: I(e.ns.e("content"))
1889
1889
  }, [
1890
- we(r, {
1890
+ we(s, {
1891
1891
  "wrap-class": e.ns.e("wrap")
1892
1892
  }, {
1893
1893
  default: ye(() => [
@@ -1897,7 +1897,7 @@ function tr(e, t, l, n, s, a) {
1897
1897
  class: I(e.ns.e("checkbox-group"))
1898
1898
  }, {
1899
1899
  default: ye(() => [
1900
- (V(!0), U(Je, null, It(e.filters, (f) => (V(), Le(i, {
1900
+ (D(!0), U(Je, null, It(e.filters, (f) => (D(), Le(i, {
1901
1901
  key: f.value,
1902
1902
  label: f.value
1903
1903
  }, {
@@ -1921,13 +1921,13 @@ function tr(e, t, l, n, s, a) {
1921
1921
  disabled: e.filteredValue.length === 0,
1922
1922
  type: "button",
1923
1923
  onClick: t[1] || (t[1] = (...f) => e.handleConfirm && e.handleConfirm(...f))
1924
- }, Se(e.t("el.table.confirmFilter")), 11, Js),
1924
+ }, Se(e.t("el.table.confirmFilter")), 11, Jr),
1925
1925
  oe("button", {
1926
1926
  type: "button",
1927
1927
  onClick: t[2] || (t[2] = (...f) => e.handleReset && e.handleReset(...f))
1928
1928
  }, Se(e.t("el.table.resetFilter")), 1)
1929
1929
  ], 2)
1930
- ])) : (V(), U("ul", {
1930
+ ])) : (D(), U("ul", {
1931
1931
  key: 1,
1932
1932
  class: I(e.ns.e("list"))
1933
1933
  }, [
@@ -1940,16 +1940,16 @@ function tr(e, t, l, n, s, a) {
1940
1940
  ]),
1941
1941
  onClick: t[3] || (t[3] = (f) => e.handleSelect(null))
1942
1942
  }, Se(e.t("el.table.clearFilter")), 3),
1943
- (V(!0), U(Je, null, It(e.filters, (f) => (V(), U("li", {
1943
+ (D(!0), U(Je, null, It(e.filters, (f) => (D(), U("li", {
1944
1944
  key: f.value,
1945
1945
  class: I([e.ns.e("list-item"), e.ns.is("active", e.isActive(f))]),
1946
1946
  label: f.value,
1947
1947
  onClick: (g) => e.handleSelect(f.value)
1948
- }, Se(f.text), 11, er))), 128))
1948
+ }, Se(f.text), 11, es))), 128))
1949
1949
  ], 2))
1950
1950
  ]),
1951
1951
  default: ye(() => [
1952
- xe((V(), U("span", {
1952
+ xe((D(), U("span", {
1953
1953
  class: I([
1954
1954
  `${e.ns.namespace.value}-table__column-filter-trigger`,
1955
1955
  `${e.ns.namespace.value}-none-outline`
@@ -1958,7 +1958,7 @@ function tr(e, t, l, n, s, a) {
1958
1958
  }, [
1959
1959
  we(h, null, {
1960
1960
  default: ye(() => [
1961
- e.column.filterOpened ? (V(), Le(u, { key: 0 })) : (V(), Le(d, { key: 1 }))
1961
+ e.column.filterOpened ? (D(), Le(u, { key: 0 })) : (D(), Le(d, { key: 1 }))
1962
1962
  ]),
1963
1963
  _: 1
1964
1964
  })
@@ -1969,19 +1969,19 @@ function tr(e, t, l, n, s, a) {
1969
1969
  _: 1
1970
1970
  }, 8, ["visible", "placement", "popper-class"]);
1971
1971
  }
1972
- var lr = /* @__PURE__ */ je(Qs, [["render", tr], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);
1972
+ var ls = /* @__PURE__ */ je(Qr, [["render", ts], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);
1973
1973
  function Ql(e) {
1974
1974
  const t = ee();
1975
1975
  fl(() => {
1976
1976
  l.value.addObserver(t);
1977
- }), ze(() => {
1978
- n(l.value), s(l.value);
1977
+ }), Ke(() => {
1978
+ n(l.value), r(l.value);
1979
1979
  }), wn(() => {
1980
- n(l.value), s(l.value);
1980
+ n(l.value), r(l.value);
1981
1981
  }), Rt(() => {
1982
1982
  l.value.removeObserver(t);
1983
1983
  });
1984
- const l = W(() => {
1984
+ const l = T(() => {
1985
1985
  const a = e.layout;
1986
1986
  if (!a)
1987
1987
  throw new Error("Can not find table layout.");
@@ -1991,19 +1991,19 @@ function Ql(e) {
1991
1991
  const o = ((i = e.vnode.el) == null ? void 0 : i.querySelectorAll("colgroup > col")) || [];
1992
1992
  if (!o.length)
1993
1993
  return;
1994
- const r = a.getFlattenColumns(), u = {};
1995
- r.forEach((d) => {
1994
+ const s = a.getFlattenColumns(), u = {};
1995
+ s.forEach((d) => {
1996
1996
  u[d.id] = d;
1997
1997
  });
1998
1998
  for (let d = 0, h = o.length; d < h; d++) {
1999
1999
  const p = o[d], m = p.getAttribute("name"), f = u[m];
2000
2000
  f && p.setAttribute("width", f.realWidth || f.width);
2001
2001
  }
2002
- }, s = (a) => {
2002
+ }, r = (a) => {
2003
2003
  var i, o;
2004
- const r = ((i = e.vnode.el) == null ? void 0 : i.querySelectorAll("colgroup > col[name=gutter]")) || [];
2005
- for (let d = 0, h = r.length; d < h; d++)
2006
- r[d].setAttribute("width", a.scrollY.value ? a.gutterWidth : "0");
2004
+ const s = ((i = e.vnode.el) == null ? void 0 : i.querySelectorAll("colgroup > col[name=gutter]")) || [];
2005
+ for (let d = 0, h = s.length; d < h; d++)
2006
+ s[d].setAttribute("width", a.scrollY.value ? a.gutterWidth : "0");
2007
2007
  const u = ((o = e.vnode.el) == null ? void 0 : o.querySelectorAll("th.gutter")) || [];
2008
2008
  for (let d = 0, h = u.length; d < h; d++) {
2009
2009
  const p = u[d];
@@ -2013,20 +2013,20 @@ function Ql(e) {
2013
2013
  return {
2014
2014
  tableLayout: l.value,
2015
2015
  onColumnsChange: n,
2016
- onScrollableChange: s
2016
+ onScrollableChange: r
2017
2017
  };
2018
2018
  }
2019
2019
  const pe = Symbol("ElTable");
2020
- function nr(e, t) {
2021
- const l = ee(), n = se(pe), s = (g) => {
2020
+ function ns(e, t) {
2021
+ const l = ee(), n = re(pe), r = (g) => {
2022
2022
  g.stopPropagation();
2023
2023
  }, a = (g, v) => {
2024
- !v.filters && v.sortable ? f(g, v, !1) : v.filterable && !v.sortable && s(g), n == null || n.emit("header-click", v, g);
2024
+ !v.filters && v.sortable ? f(g, v, !1) : v.filterable && !v.sortable && r(g), n == null || n.emit("header-click", v, g);
2025
2025
  }, i = (g, v) => {
2026
2026
  n == null || n.emit("header-contextmenu", v, g);
2027
- }, o = E(null), r = E(!1), u = E({}), d = (g, v) => {
2028
- if (Ke && !(v.children && v.children.length > 0) && o.value && e.border) {
2029
- r.value = !0;
2027
+ }, o = E(null), s = E(!1), u = E({}), d = (g, v) => {
2028
+ if (ze && !(v.children && v.children.length > 0) && o.value && e.border) {
2029
+ s.value = !0;
2030
2030
  const y = n;
2031
2031
  t("set-drag-visible", !0);
2032
2032
  const S = (y == null ? void 0 : y.vnode.el).getBoundingClientRect().left, c = l.vnode.el.querySelector(`th.${v.id}`), x = c.getBoundingClientRect(), k = x.left - S + 30;
@@ -2042,15 +2042,15 @@ function nr(e, t) {
2042
2042
  }, document.ondragstart = function() {
2043
2043
  return !1;
2044
2044
  };
2045
- const R = (z) => {
2046
- const B = z.clientX - u.value.startMouseLeft, M = u.value.startLeft + B;
2045
+ const R = (K) => {
2046
+ const B = K.clientX - u.value.startMouseLeft, M = u.value.startLeft + B;
2047
2047
  w.style.left = `${Math.max(k, M)}px`;
2048
2048
  }, F = () => {
2049
- if (r.value) {
2050
- const { startColumnLeft: z, startLeft: B } = u.value, K = Number.parseInt(w.style.left, 10) - z;
2051
- v.width = v.realWidth = K, y == null || y.emit("header-dragend", v.width, B - z, v, g), requestAnimationFrame(() => {
2049
+ if (s.value) {
2050
+ const { startColumnLeft: K, startLeft: B } = u.value, z = Number.parseInt(w.style.left, 10) - K;
2051
+ v.width = v.realWidth = z, y == null || y.emit("header-dragend", v.width, B - K, v, g), requestAnimationFrame(() => {
2052
2052
  e.store.scheduleLayout(!1, !0);
2053
- }), document.body.style.cursor = "", r.value = !1, o.value = null, u.value = {}, t("set-drag-visible", !1);
2053
+ }), document.body.style.cursor = "", s.value = !1, o.value = null, u.value = {}, t("set-drag-visible", !1);
2054
2054
  }
2055
2055
  document.removeEventListener("mousemove", R), document.removeEventListener("mouseup", F), document.onselectstart = null, document.ondragstart = null, setTimeout(() => {
2056
2056
  ft(c, "noclick");
@@ -2065,12 +2065,12 @@ function nr(e, t) {
2065
2065
  if (!qn(y))
2066
2066
  return;
2067
2067
  const b = y == null ? void 0 : y.closest("th");
2068
- if (!(!v || !v.resizable) && !r.value && e.border) {
2068
+ if (!(!v || !v.resizable) && !s.value && e.border) {
2069
2069
  const S = b.getBoundingClientRect(), c = document.body.style;
2070
- S.width > 12 && S.right - g.pageX < 8 ? (c.cursor = "col-resize", Ue(b, "is-sortable") && (b.style.cursor = "col-resize"), o.value = v) : r.value || (c.cursor = "", Ue(b, "is-sortable") && (b.style.cursor = "pointer"), o.value = null);
2070
+ S.width > 12 && S.right - g.pageX < 8 ? (c.cursor = "col-resize", Ue(b, "is-sortable") && (b.style.cursor = "col-resize"), o.value = v) : s.value || (c.cursor = "", Ue(b, "is-sortable") && (b.style.cursor = "pointer"), o.value = null);
2071
2071
  }
2072
2072
  }, p = () => {
2073
- Ke && (document.body.style.cursor = "");
2073
+ ze && (document.body.style.cursor = "");
2074
2074
  }, m = ({ order: g, sortOrders: v }) => {
2075
2075
  if (g === "")
2076
2076
  return v[0];
@@ -2098,34 +2098,34 @@ function nr(e, t) {
2098
2098
  handleMouseMove: h,
2099
2099
  handleMouseOut: p,
2100
2100
  handleSortClick: f,
2101
- handleFilterClick: s
2101
+ handleFilterClick: r
2102
2102
  };
2103
2103
  }
2104
- function or(e) {
2105
- const t = se(pe), l = re("table");
2104
+ function os(e) {
2105
+ const t = re(pe), l = se("table");
2106
2106
  return {
2107
2107
  getHeaderRowStyle: (o) => {
2108
- const r = t == null ? void 0 : t.props.headerRowStyle;
2109
- return typeof r == "function" ? r.call(null, { rowIndex: o }) : r;
2108
+ const s = t == null ? void 0 : t.props.headerRowStyle;
2109
+ return typeof s == "function" ? s.call(null, { rowIndex: o }) : s;
2110
2110
  },
2111
2111
  getHeaderRowClass: (o) => {
2112
- const r = [], u = t == null ? void 0 : t.props.headerRowClassName;
2113
- return typeof u == "string" ? r.push(u) : typeof u == "function" && r.push(u.call(null, { rowIndex: o })), r.join(" ");
2112
+ const s = [], u = t == null ? void 0 : t.props.headerRowClassName;
2113
+ return typeof u == "string" ? s.push(u) : typeof u == "function" && s.push(u.call(null, { rowIndex: o })), s.join(" ");
2114
2114
  },
2115
- getHeaderCellStyle: (o, r, u, d) => {
2115
+ getHeaderCellStyle: (o, s, u, d) => {
2116
2116
  var h;
2117
2117
  let p = (h = t == null ? void 0 : t.props.headerCellStyle) != null ? h : {};
2118
2118
  typeof p == "function" && (p = p.call(null, {
2119
2119
  rowIndex: o,
2120
- columnIndex: r,
2120
+ columnIndex: s,
2121
2121
  row: u,
2122
2122
  column: d
2123
2123
  }));
2124
- const m = Ht(r, d.fixed, e.store, u);
2125
- return We(m, "left"), We(m, "right"), Object.assign({}, p, m);
2124
+ const m = Ht(s, d.fixed, e.store, u);
2125
+ return Te(m, "left"), Te(m, "right"), Object.assign({}, p, m);
2126
2126
  },
2127
- getHeaderCellClass: (o, r, u, d) => {
2128
- const h = At(l.b(), r, d.fixed, e.store, u), p = [
2127
+ getHeaderCellClass: (o, s, u, d) => {
2128
+ const h = Wt(l.b(), s, d.fixed, e.store, u), p = [
2129
2129
  d.id,
2130
2130
  d.order,
2131
2131
  d.headerAlign,
@@ -2137,7 +2137,7 @@ function or(e) {
2137
2137
  const m = t == null ? void 0 : t.props.headerCellClassName;
2138
2138
  return typeof m == "string" ? p.push(m) : typeof m == "function" && p.push(m.call(null, {
2139
2139
  rowIndex: o,
2140
- columnIndex: r,
2140
+ columnIndex: s,
2141
2141
  row: u,
2142
2142
  column: d
2143
2143
  })), p.push(l.e("cell")), p.filter((f) => !!f).join(" ");
@@ -2149,13 +2149,13 @@ const Zl = (e) => {
2149
2149
  return e.forEach((l) => {
2150
2150
  l.children ? (t.push(l), t.push.apply(t, Zl(l.children))) : t.push(l);
2151
2151
  }), t;
2152
- }, sr = (e) => {
2152
+ }, rs = (e) => {
2153
2153
  let t = 1;
2154
2154
  const l = (a, i) => {
2155
2155
  if (i && (a.level = i.level + 1, t < a.level && (t = a.level)), a.children) {
2156
2156
  let o = 0;
2157
- a.children.forEach((r) => {
2158
- l(r, a), o += r.colSpan;
2157
+ a.children.forEach((s) => {
2158
+ l(s, a), o += s.colSpan;
2159
2159
  }), a.colSpan = o;
2160
2160
  } else
2161
2161
  a.colSpan = 1;
@@ -2170,10 +2170,10 @@ const Zl = (e) => {
2170
2170
  a.children ? (a.rowSpan = 1, a.children.forEach((i) => i.isSubColumn = !0)) : a.rowSpan = t - a.level + 1, n[a.level - 1].push(a);
2171
2171
  }), n;
2172
2172
  };
2173
- function rr(e) {
2174
- const t = se(pe), l = W(() => sr(e.store.states.originColumns.value));
2173
+ function ss(e) {
2174
+ const t = re(pe), l = T(() => rs(e.store.states.originColumns.value));
2175
2175
  return {
2176
- isGroup: W(() => {
2176
+ isGroup: T(() => {
2177
2177
  const a = l.value.length > 1;
2178
2178
  return a && t && (t.state.isGroup.value = !0), a;
2179
2179
  }),
@@ -2183,10 +2183,10 @@ function rr(e) {
2183
2183
  columnRows: l
2184
2184
  };
2185
2185
  }
2186
- var ar = he({
2186
+ var as = he({
2187
2187
  name: "ElTableHeader",
2188
2188
  components: {
2189
- ElCheckbox: Te
2189
+ ElCheckbox: Ae
2190
2190
  },
2191
2191
  props: {
2192
2192
  fixed: {
@@ -2207,31 +2207,31 @@ var ar = he({
2207
2207
  }
2208
2208
  },
2209
2209
  setup(e, { emit: t }) {
2210
- const l = ee(), n = se(pe), s = re("table"), a = E({}), { onColumnsChange: i, onScrollableChange: o } = Ql(n);
2211
- ze(async () => {
2210
+ const l = ee(), n = re(pe), r = se("table"), a = E({}), { onColumnsChange: i, onScrollableChange: o } = Ql(n);
2211
+ Ke(async () => {
2212
2212
  await Ee(), await Ee();
2213
2213
  const { prop: k, order: w } = e.defaultSort;
2214
2214
  n == null || n.store.commit("sort", { prop: k, order: w, init: !0 });
2215
2215
  });
2216
2216
  const {
2217
- handleHeaderClick: r,
2217
+ handleHeaderClick: s,
2218
2218
  handleHeaderContextMenu: u,
2219
2219
  handleMouseDown: d,
2220
2220
  handleMouseMove: h,
2221
2221
  handleMouseOut: p,
2222
2222
  handleSortClick: m,
2223
2223
  handleFilterClick: f
2224
- } = nr(e, t), {
2224
+ } = ns(e, t), {
2225
2225
  getHeaderRowStyle: g,
2226
2226
  getHeaderRowClass: v,
2227
2227
  getHeaderCellStyle: y,
2228
2228
  getHeaderCellClass: b
2229
- } = or(e), { isGroup: S, toggleAllSelection: c, columnRows: x } = rr(e);
2229
+ } = os(e), { isGroup: S, toggleAllSelection: c, columnRows: x } = ss(e);
2230
2230
  return l.state = {
2231
2231
  onColumnsChange: i,
2232
2232
  onScrollableChange: o
2233
2233
  }, l.filterPanels = a, {
2234
- ns: s,
2234
+ ns: r,
2235
2235
  filterPanels: a,
2236
2236
  onColumnsChange: i,
2237
2237
  onScrollableChange: o,
@@ -2240,7 +2240,7 @@ var ar = he({
2240
2240
  getHeaderRowStyle: g,
2241
2241
  getHeaderCellClass: b,
2242
2242
  getHeaderCellStyle: y,
2243
- handleHeaderClick: r,
2243
+ handleHeaderClick: s,
2244
2244
  handleHeaderContextMenu: u,
2245
2245
  handleMouseDown: d,
2246
2246
  handleMouseMove: h,
@@ -2257,11 +2257,11 @@ var ar = he({
2257
2257
  isGroup: t,
2258
2258
  columnRows: l,
2259
2259
  getHeaderCellStyle: n,
2260
- getHeaderCellClass: s,
2260
+ getHeaderCellClass: r,
2261
2261
  getHeaderRowClass: a,
2262
2262
  getHeaderRowStyle: i,
2263
2263
  handleHeaderClick: o,
2264
- handleHeaderContextMenu: r,
2264
+ handleHeaderContextMenu: s,
2265
2265
  handleMouseDown: u,
2266
2266
  handleMouseMove: d,
2267
2267
  handleSortClick: h,
@@ -2277,13 +2277,13 @@ var ar = he({
2277
2277
  key: y,
2278
2278
  style: i(y)
2279
2279
  }, v.map((b, S) => (b.rowSpan > g && (g = b.rowSpan), H("th", {
2280
- class: s(y, S, v, b),
2280
+ class: r(y, S, v, b),
2281
2281
  colspan: b.colSpan,
2282
2282
  key: `${b.id}-thead`,
2283
2283
  rowspan: b.rowSpan,
2284
2284
  style: n(y, S, v, b),
2285
2285
  onClick: (c) => o(c, b),
2286
- onContextmenu: (c) => r(c, b),
2286
+ onContextmenu: (c) => s(c, b),
2287
2287
  onMousedown: (c) => u(c, b),
2288
2288
  onMousemove: (c) => d(c, b),
2289
2289
  onMouseout: p
@@ -2313,7 +2313,7 @@ var ar = he({
2313
2313
  class: "sort-caret descending"
2314
2314
  })
2315
2315
  ]),
2316
- b.filterable && H(lr, {
2316
+ b.filterable && H(ls, {
2317
2317
  store: m,
2318
2318
  placement: b.filterPlacement || "bottom-start",
2319
2319
  column: b,
@@ -2325,8 +2325,8 @@ var ar = he({
2325
2325
  ]))))));
2326
2326
  }
2327
2327
  });
2328
- function ir(e) {
2329
- const t = se(pe), l = E(""), n = E(H("div")), { nextZIndex: s } = lo(), a = (f, g, v) => {
2328
+ function is(e) {
2329
+ const t = re(pe), l = E(""), n = E(H("div")), { nextZIndex: r } = lo(), a = (f, g, v) => {
2330
2330
  var y;
2331
2331
  const b = t, S = at(f);
2332
2332
  let c;
@@ -2338,7 +2338,7 @@ function ir(e) {
2338
2338
  a(f, g, "dblclick");
2339
2339
  }, o = (f, g) => {
2340
2340
  e.store.commit("setCurrentRow", g), a(f, g, "click");
2341
- }, r = (f, g) => {
2341
+ }, s = (f, g) => {
2342
2342
  a(f, g, "contextmenu");
2343
2343
  }, u = nt((f) => {
2344
2344
  e.store.commit("setHoverRow", f);
@@ -2356,7 +2356,7 @@ function ir(e) {
2356
2356
  return {
2357
2357
  handleDoubleClick: i,
2358
2358
  handleClick: o,
2359
- handleContextMenu: r,
2359
+ handleContextMenu: s,
2360
2360
  handleMouseEnter: u,
2361
2361
  handleMouseLeave: d,
2362
2362
  handleCellMouseEnter: (f, g, v) => {
@@ -2377,8 +2377,8 @@ function ir(e) {
2377
2377
  k.setStart(x, 0), k.setEnd(x, x.childNodes.length);
2378
2378
  let w = k.getBoundingClientRect().width, R = k.getBoundingClientRect().height;
2379
2379
  w - Math.floor(w) < 1e-3 && (w = Math.floor(w)), R - Math.floor(R) < 1e-3 && (R = Math.floor(R));
2380
- const { top: B, left: M, right: K, bottom: j } = h(x), X = M + K, _ = B + j;
2381
- (w + X > x.offsetWidth || R + _ > x.offsetHeight || x.scrollWidth > x.offsetWidth) && Ks(t == null ? void 0 : t.refs.tableWrapper, S, S.innerText || S.textContent, s, v);
2380
+ const { top: B, left: M, right: z, bottom: j } = h(x), X = M + z, _ = B + j;
2381
+ (w + X > x.offsetWidth || R + _ > x.offsetHeight || x.scrollWidth > x.offsetWidth) && zr(t == null ? void 0 : t.refs.tableWrapper, S, S.innerText || S.textContent, r, v);
2382
2382
  },
2383
2383
  handleCellMouseLeave: (f) => {
2384
2384
  if (!at(f))
@@ -2390,8 +2390,8 @@ function ir(e) {
2390
2390
  tooltipTrigger: n
2391
2391
  };
2392
2392
  }
2393
- function ur(e) {
2394
- const t = se(pe), l = re("table");
2393
+ function us(e) {
2394
+ const t = re(pe), l = se("table");
2395
2395
  return {
2396
2396
  getRowStyle: (u, d) => {
2397
2397
  const h = t == null ? void 0 : t.props.rowStyle;
@@ -2419,10 +2419,10 @@ function ur(e) {
2419
2419
  column: p
2420
2420
  }));
2421
2421
  const g = Ht(d, e == null ? void 0 : e.fixed, e.store);
2422
- return We(g, "left"), We(g, "right"), Object.assign({}, f, g);
2422
+ return Te(g, "left"), Te(g, "right"), Object.assign({}, f, g);
2423
2423
  },
2424
2424
  getCellClass: (u, d, h, p, m) => {
2425
- const f = At(l.b(), d, e == null ? void 0 : e.fixed, e.store, void 0, m), g = [p.id, p.align, p.className, ...f], v = t == null ? void 0 : t.props.cellClassName;
2425
+ const f = Wt(l.b(), d, e == null ? void 0 : e.fixed, e.store, void 0, m), g = [p.id, p.align, p.className, ...f], v = t == null ? void 0 : t.props.cellClassName;
2426
2426
  return typeof v == "string" ? g.push(v) : typeof v == "function" && g.push(v.call(null, {
2427
2427
  rowIndex: u,
2428
2428
  columnIndex: d,
@@ -2452,29 +2452,29 @@ function ur(e) {
2452
2452
  }
2453
2453
  };
2454
2454
  }
2455
- function dr(e) {
2456
- const t = se(pe), l = re("table"), {
2455
+ function ds(e) {
2456
+ const t = re(pe), l = se("table"), {
2457
2457
  handleDoubleClick: n,
2458
- handleClick: s,
2458
+ handleClick: r,
2459
2459
  handleContextMenu: a,
2460
2460
  handleMouseEnter: i,
2461
2461
  handleMouseLeave: o,
2462
- handleCellMouseEnter: r,
2462
+ handleCellMouseEnter: s,
2463
2463
  handleCellMouseLeave: u,
2464
2464
  tooltipContent: d,
2465
2465
  tooltipTrigger: h
2466
- } = ir(e), {
2466
+ } = is(e), {
2467
2467
  getRowStyle: p,
2468
2468
  getRowClass: m,
2469
2469
  getCellStyle: f,
2470
2470
  getCellClass: g,
2471
2471
  getSpan: v,
2472
2472
  getColspanRealWidth: y
2473
- } = ur(e), b = W(() => e.store.states.columns.value.findIndex(({ type: w }) => w === "default")), S = (w, R) => {
2473
+ } = us(e), b = T(() => e.store.states.columns.value.findIndex(({ type: w }) => w === "default")), S = (w, R) => {
2474
2474
  const F = t.props.rowKey;
2475
2475
  return F ? Z(w, F) : R;
2476
- }, c = (w, R, F, z = !1) => {
2477
- const { tooltipEffect: B, tooltipOptions: M, store: K } = e, { indent: j, columns: X } = K.states, _ = m(w, R);
2476
+ }, c = (w, R, F, K = !1) => {
2477
+ const { tooltipEffect: B, tooltipOptions: M, store: z } = e, { indent: j, columns: X } = z.states, _ = m(w, R);
2478
2478
  let ue = !0;
2479
2479
  return F && (_.push(l.em("row", `level-${F.level}`)), ue = F.display), H("tr", {
2480
2480
  style: [ue ? null : {
@@ -2483,7 +2483,7 @@ function dr(e) {
2483
2483
  class: _,
2484
2484
  key: S(w, R),
2485
2485
  onDblclick: (C) => n(C, w),
2486
- onClick: (C) => s(C, w),
2486
+ onClick: (C) => r(C, w),
2487
2487
  onContextmenu: (C) => a(C, w),
2488
2488
  onMouseenter: () => i(R),
2489
2489
  onMouseleave: o
@@ -2500,13 +2500,13 @@ function dr(e) {
2500
2500
  row: w,
2501
2501
  $index: R,
2502
2502
  cellIndex: L,
2503
- expanded: z
2503
+ expanded: K
2504
2504
  };
2505
2505
  L === b.value && F && (q.treeNode = {
2506
2506
  indent: F.level * j.value,
2507
2507
  level: F.level
2508
2508
  }, typeof F.expanded == "boolean" && (q.treeNode.expanded = F.expanded, "loading" in F && (q.treeNode.loading = F.loading), "noLazyChildren" in F && (q.treeNode.noLazyChildren = F.noLazyChildren)));
2509
- const ae = `${R},${L}`, te = Y.columnKey || Y.rawColumnKey || "", me = x(L, C, q), le = C.showOverflowTooltip && Tl({
2509
+ const ae = `${R},${L}`, te = Y.columnKey || Y.rawColumnKey || "", me = x(L, C, q), le = C.showOverflowTooltip && Al({
2510
2510
  effect: B
2511
2511
  }, M, C.showOverflowTooltip);
2512
2512
  return H("td", {
@@ -2515,16 +2515,16 @@ function dr(e) {
2515
2515
  key: `${te}${ae}`,
2516
2516
  rowspan: P,
2517
2517
  colspan: G,
2518
- onMouseenter: (de) => r(de, w, le),
2518
+ onMouseenter: (de) => s(de, w, le),
2519
2519
  onMouseleave: u
2520
2520
  }, [me]);
2521
2521
  }));
2522
2522
  }, x = (w, R, F) => R.renderCell(F);
2523
2523
  return {
2524
2524
  wrappedRowRender: (w, R) => {
2525
- const F = e.store, { isRowExpanded: z, assertRowKey: B } = F, { treeData: M, lazyTreeNodeMap: K, childrenColumnName: j, rowKey: X } = F.states, _ = F.states.columns.value;
2525
+ const F = e.store, { isRowExpanded: K, assertRowKey: B } = F, { treeData: M, lazyTreeNodeMap: z, childrenColumnName: j, rowKey: X } = F.states, _ = F.states.columns.value;
2526
2526
  if (_.some(({ type: Q }) => Q === "expand")) {
2527
- const Q = z(w), C = c(w, R, void 0, Q), L = t.renderExpanded;
2527
+ const Q = K(w), C = c(w, R, void 0, Q), L = t.renderExpanded;
2528
2528
  return Q ? L ? [
2529
2529
  [
2530
2530
  C,
@@ -2562,13 +2562,13 @@ function dr(e) {
2562
2562
  if (de == null)
2563
2563
  throw new Error("For nested data item, row-key is required.");
2564
2564
  if (C = { ...M.value[de] }, C && (le.expanded = C.expanded, C.level = C.level || le.level, C.display = !!(C.expanded && le.display), typeof C.lazy == "boolean" && (typeof C.loaded == "boolean" && C.loaded && (le.noLazyChildren = !(C.children && C.children.length)), le.loading = C.loading)), G++, P.push(c(me, R + G, le)), C) {
2565
- const ve = K.value[de] || me[j.value];
2565
+ const ve = z.value[de] || me[j.value];
2566
2566
  Y(ve, C);
2567
2567
  }
2568
2568
  });
2569
2569
  };
2570
2570
  C.display = !0;
2571
- const q = K.value[Q] || w[j.value];
2571
+ const q = z.value[Q] || w[j.value];
2572
2572
  Y(q, C);
2573
2573
  }
2574
2574
  return P;
@@ -2579,7 +2579,7 @@ function dr(e) {
2579
2579
  tooltipTrigger: h
2580
2580
  };
2581
2581
  }
2582
- const cr = {
2582
+ const cs = {
2583
2583
  store: {
2584
2584
  required: !0,
2585
2585
  type: Object
@@ -2601,13 +2601,13 @@ const cr = {
2601
2601
  },
2602
2602
  highlight: Boolean
2603
2603
  };
2604
- var fr = he({
2604
+ var fs = he({
2605
2605
  name: "ElTableBody",
2606
- props: cr,
2606
+ props: cs,
2607
2607
  setup(e) {
2608
- const t = ee(), l = se(pe), n = re("table"), { wrappedRowRender: s, tooltipContent: a, tooltipTrigger: i } = dr(e), { onColumnsChange: o, onScrollableChange: r } = Ql(l);
2608
+ const t = ee(), l = re(pe), n = se("table"), { wrappedRowRender: r, tooltipContent: a, tooltipTrigger: i } = ds(e), { onColumnsChange: o, onScrollableChange: s } = Ql(l);
2609
2609
  return ie(e.store.states.hoverRow, (u, d) => {
2610
- !e.store.states.isComplex.value || !Ke || oo(() => {
2610
+ !e.store.states.isComplex.value || !ze || oo(() => {
2611
2611
  const h = t == null ? void 0 : t.vnode.el, p = Array.from((h == null ? void 0 : h.children) || []).filter((g) => g == null ? void 0 : g.classList.contains(`${n.e("row")}`)), m = p[d], f = p[u];
2612
2612
  m && ft(m, "hover-row"), f && Cl(f, "hover-row");
2613
2613
  });
@@ -2617,8 +2617,8 @@ var fr = he({
2617
2617
  }), {
2618
2618
  ns: n,
2619
2619
  onColumnsChange: o,
2620
- onScrollableChange: r,
2621
- wrappedRowRender: s,
2620
+ onScrollableChange: s,
2621
+ wrappedRowRender: r,
2622
2622
  tooltipContent: a,
2623
2623
  tooltipTrigger: i
2624
2624
  };
@@ -2626,59 +2626,59 @@ var fr = he({
2626
2626
  render() {
2627
2627
  const { wrappedRowRender: e, store: t } = this, l = t.states.data.value || [];
2628
2628
  return H("tbody", { tabIndex: -1 }, [
2629
- l.reduce((n, s) => n.concat(e(s, n.length)), [])
2629
+ l.reduce((n, r) => n.concat(e(r, n.length)), [])
2630
2630
  ]);
2631
2631
  }
2632
2632
  });
2633
2633
  function $t(e) {
2634
2634
  const t = e.tableLayout === "auto";
2635
2635
  let l = e.columns || [];
2636
- t && l.every((s) => s.width === void 0) && (l = []);
2637
- const n = (s) => {
2636
+ t && l.every((r) => r.width === void 0) && (l = []);
2637
+ const n = (r) => {
2638
2638
  const a = {
2639
- key: `${e.tableLayout}_${s.id}`,
2639
+ key: `${e.tableLayout}_${r.id}`,
2640
2640
  style: {},
2641
2641
  name: void 0
2642
2642
  };
2643
2643
  return t ? a.style = {
2644
- width: `${s.width}px`
2645
- } : a.name = s.id, a;
2644
+ width: `${r.width}px`
2645
+ } : a.name = r.id, a;
2646
2646
  };
2647
- return H("colgroup", {}, l.map((s) => H("col", n(s))));
2647
+ return H("colgroup", {}, l.map((r) => H("col", n(r))));
2648
2648
  }
2649
2649
  $t.props = ["columns", "tableLayout"];
2650
- function hr() {
2651
- const e = se(pe), t = e == null ? void 0 : e.store, l = W(() => t.states.fixedLeafColumnsLength.value), n = W(() => t.states.rightFixedColumns.value.length), s = W(() => t.states.columns.value.length), a = W(() => t.states.fixedColumns.value.length), i = W(() => t.states.rightFixedColumns.value.length);
2650
+ function hs() {
2651
+ const e = re(pe), t = e == null ? void 0 : e.store, l = T(() => t.states.fixedLeafColumnsLength.value), n = T(() => t.states.rightFixedColumns.value.length), r = T(() => t.states.columns.value.length), a = T(() => t.states.fixedColumns.value.length), i = T(() => t.states.rightFixedColumns.value.length);
2652
2652
  return {
2653
2653
  leftFixedLeafCount: l,
2654
2654
  rightFixedLeafCount: n,
2655
- columnsCount: s,
2655
+ columnsCount: r,
2656
2656
  leftFixedCount: a,
2657
2657
  rightFixedCount: i,
2658
2658
  columns: t.states.columns
2659
2659
  };
2660
2660
  }
2661
- function vr(e) {
2662
- const { columns: t } = hr(), l = re("table");
2661
+ function vs(e) {
2662
+ const { columns: t } = hs(), l = se("table");
2663
2663
  return {
2664
2664
  getCellClasses: (a, i) => {
2665
- const o = a[i], r = [
2665
+ const o = a[i], s = [
2666
2666
  l.e("cell"),
2667
2667
  o.id,
2668
2668
  o.align,
2669
2669
  o.labelClassName,
2670
- ...At(l.b(), i, o.fixed, e.store)
2670
+ ...Wt(l.b(), i, o.fixed, e.store)
2671
2671
  ];
2672
- return o.className && r.push(o.className), o.children || r.push(l.is("leaf")), r;
2672
+ return o.className && s.push(o.className), o.children || s.push(l.is("leaf")), s;
2673
2673
  },
2674
2674
  getCellStyles: (a, i) => {
2675
2675
  const o = Ht(i, a.fixed, e.store);
2676
- return We(o, "left"), We(o, "right"), o;
2676
+ return Te(o, "left"), Te(o, "right"), o;
2677
2677
  },
2678
2678
  columns: t
2679
2679
  };
2680
2680
  }
2681
- var pr = he({
2681
+ var ps = he({
2682
2682
  name: "ElTableFooter",
2683
2683
  props: {
2684
2684
  fixed: {
@@ -2701,9 +2701,9 @@ var pr = he({
2701
2701
  }
2702
2702
  },
2703
2703
  setup(e) {
2704
- const { getCellClasses: t, getCellStyles: l, columns: n } = vr(e);
2704
+ const { getCellClasses: t, getCellStyles: l, columns: n } = vs(e);
2705
2705
  return {
2706
- ns: re("table"),
2706
+ ns: se("table"),
2707
2707
  getCellClasses: t,
2708
2708
  getCellStyles: l,
2709
2709
  columns: n
@@ -2715,19 +2715,19 @@ var pr = he({
2715
2715
  getCellStyles: t,
2716
2716
  getCellClasses: l,
2717
2717
  summaryMethod: n,
2718
- sumText: s,
2718
+ sumText: r,
2719
2719
  ns: a
2720
2720
  } = this, i = this.store.states.data.value;
2721
2721
  let o = [];
2722
2722
  return n ? o = n({
2723
2723
  columns: e,
2724
2724
  data: i
2725
- }) : e.forEach((r, u) => {
2725
+ }) : e.forEach((s, u) => {
2726
2726
  if (u === 0) {
2727
- o[u] = s;
2727
+ o[u] = r;
2728
2728
  return;
2729
2729
  }
2730
- const d = i.map((f) => Number(f[r.property])), h = [];
2730
+ const d = i.map((f) => Number(f[s.property])), h = [];
2731
2731
  let p = !0;
2732
2732
  d.forEach((f) => {
2733
2733
  if (!Number.isNaN(+f)) {
@@ -2752,15 +2752,15 @@ var pr = he({
2752
2752
  }),
2753
2753
  H("tbody", [
2754
2754
  H("tr", {}, [
2755
- ...e.map((r, u) => H("td", {
2755
+ ...e.map((s, u) => H("td", {
2756
2756
  key: u,
2757
- colspan: r.colSpan,
2758
- rowspan: r.rowSpan,
2757
+ colspan: s.colSpan,
2758
+ rowspan: s.rowSpan,
2759
2759
  class: l(e, u),
2760
- style: t(r, u)
2760
+ style: t(s, u)
2761
2761
  }, [
2762
2762
  H("div", {
2763
- class: ["cell", r.labelClassName]
2763
+ class: ["cell", s.labelClassName]
2764
2764
  }, [o[u]])
2765
2765
  ]))
2766
2766
  ])
@@ -2768,7 +2768,7 @@ var pr = he({
2768
2768
  ]);
2769
2769
  }
2770
2770
  });
2771
- function mr(e) {
2771
+ function ms(e) {
2772
2772
  return {
2773
2773
  setCurrentRow: (d) => {
2774
2774
  e.commit("setCurrentRow", d);
@@ -2797,10 +2797,10 @@ function mr(e) {
2797
2797
  }
2798
2798
  };
2799
2799
  }
2800
- function gr(e, t, l, n) {
2801
- const s = E(!1), a = E(null), i = E(!1), o = (C) => {
2800
+ function gs(e, t, l, n) {
2801
+ const r = E(!1), a = E(null), i = E(!1), o = (C) => {
2802
2802
  i.value = C;
2803
- }, r = E({
2803
+ }, s = E({
2804
2804
  width: null,
2805
2805
  height: null,
2806
2806
  headerHeight: null
@@ -2829,15 +2829,15 @@ function gr(e, t, l, n) {
2829
2829
  }, b = (C, L) => {
2830
2830
  const { pixelX: P, pixelY: G } = L;
2831
2831
  Math.abs(P) >= Math.abs(G) && (n.refs.bodyWrapper.scrollLeft += L.pixelX / 5);
2832
- }, S = W(() => e.height || e.maxHeight || l.states.fixedColumns.value.length > 0 || l.states.rightFixedColumns.value.length > 0), c = W(() => ({
2832
+ }, S = T(() => e.height || e.maxHeight || l.states.fixedColumns.value.length > 0 || l.states.rightFixedColumns.value.length > 0), c = T(() => ({
2833
2833
  width: t.bodyWidth.value ? `${t.bodyWidth.value}px` : ""
2834
2834
  })), x = () => {
2835
2835
  S.value && t.updateElsHeight(), t.updateColumnsWidth(), requestAnimationFrame(F);
2836
2836
  };
2837
- ze(async () => {
2838
- await Ee(), l.updateColumns(), z(), requestAnimationFrame(x);
2837
+ Ke(async () => {
2838
+ await Ee(), l.updateColumns(), K(), requestAnimationFrame(x);
2839
2839
  const C = n.vnode.el, L = n.refs.headerWrapper;
2840
- e.flexible && C && C.parentElement && (C.parentElement.style.minWidth = "0"), r.value = {
2840
+ e.flexible && C && C.parentElement && (C.parentElement.style.minWidth = "0"), s.value = {
2841
2841
  width: h.value = C.offsetWidth,
2842
2842
  height: C.offsetHeight,
2843
2843
  headerHeight: e.showHeader && L ? L.offsetHeight : null
@@ -2875,7 +2875,7 @@ function gr(e, t, l, n) {
2875
2875
  Y && (Y.scrollLeft = L), q && (q.scrollLeft = L);
2876
2876
  const ae = G - P - 1;
2877
2877
  L >= ae ? w("is-scrolling-right") : w(L === 0 ? "is-scrolling-left" : "is-scrolling-middle");
2878
- }, z = () => {
2878
+ }, K = () => {
2879
2879
  n.refs.scrollBarRef && (n.refs.scrollBarRef.wrapRef && Gt(n.refs.scrollBarRef.wrapRef, "scroll", F, {
2880
2880
  passive: !0
2881
2881
  }), e.fit ? Ut(n.vnode.el, B) : Gt(window, "resize", B), Ut(n.refs.bodyWrapper, () => {
@@ -2892,20 +2892,20 @@ function gr(e, t, l, n) {
2892
2892
  width: ae,
2893
2893
  height: te,
2894
2894
  headerHeight: me
2895
- } = r.value, le = h.value = Y.offsetWidth;
2895
+ } = s.value, le = h.value = Y.offsetWidth;
2896
2896
  ae !== le && (q = !0);
2897
2897
  const de = Y.offsetHeight;
2898
2898
  (e.height || S.value) && te !== de && (q = !0);
2899
2899
  const ve = e.tableLayout === "fixed" ? n.refs.headerWrapper : (C = n.refs.tableHeaderRef) == null ? void 0 : C.$el;
2900
- e.showHeader && (ve == null ? void 0 : ve.offsetHeight) !== me && (q = !0), p.value = ((L = n.refs.tableWrapper) == null ? void 0 : L.scrollHeight) || 0, f.value = (ve == null ? void 0 : ve.scrollHeight) || 0, g.value = ((P = n.refs.footerWrapper) == null ? void 0 : P.offsetHeight) || 0, v.value = ((G = n.refs.appendWrapper) == null ? void 0 : G.offsetHeight) || 0, m.value = p.value - f.value - g.value - v.value, q && (r.value = {
2900
+ e.showHeader && (ve == null ? void 0 : ve.offsetHeight) !== me && (q = !0), p.value = ((L = n.refs.tableWrapper) == null ? void 0 : L.scrollHeight) || 0, f.value = (ve == null ? void 0 : ve.scrollHeight) || 0, g.value = ((P = n.refs.footerWrapper) == null ? void 0 : P.offsetHeight) || 0, v.value = ((G = n.refs.appendWrapper) == null ? void 0 : G.offsetHeight) || 0, m.value = p.value - f.value - g.value - v.value, q && (s.value = {
2901
2901
  width: le,
2902
2902
  height: de,
2903
2903
  headerHeight: e.showHeader && (ve == null ? void 0 : ve.offsetHeight) || 0
2904
2904
  }, x());
2905
- }, M = ht(), K = W(() => {
2905
+ }, M = ht(), z = T(() => {
2906
2906
  const { bodyWidth: C, scrollY: L, gutterWidth: P } = t;
2907
2907
  return C.value ? `${C.value - (L.value ? P : 0)}px` : "";
2908
- }), j = W(() => e.maxHeight ? "fixed" : e.tableLayout), X = W(() => {
2908
+ }), j = T(() => e.maxHeight ? "fixed" : e.tableLayout), X = T(() => {
2909
2909
  if (e.data && e.data.length)
2910
2910
  return null;
2911
2911
  let C = "100%";
@@ -2915,11 +2915,11 @@ function gr(e, t, l, n) {
2915
2915
  width: L ? `${L}px` : "",
2916
2916
  height: C
2917
2917
  };
2918
- }), _ = W(() => e.height ? {
2918
+ }), _ = T(() => e.height ? {
2919
2919
  height: Number.isNaN(Number(e.height)) ? e.height : `${e.height}px`
2920
2920
  } : e.maxHeight ? {
2921
2921
  maxHeight: Number.isNaN(Number(e.maxHeight)) ? e.maxHeight : `${e.maxHeight}px`
2922
- } : {}), ue = W(() => e.height ? {
2922
+ } : {}), ue = T(() => e.height ? {
2923
2923
  height: "100%"
2924
2924
  } : e.maxHeight ? Number.isNaN(Number(e.maxHeight)) ? {
2925
2925
  maxHeight: `calc(${e.maxHeight} - ${f.value + g.value}px)`
@@ -2927,7 +2927,7 @@ function gr(e, t, l, n) {
2927
2927
  maxHeight: `${e.maxHeight - f.value - g.value}px`
2928
2928
  } : {});
2929
2929
  return {
2930
- isHidden: s,
2930
+ isHidden: r,
2931
2931
  renderExpanded: a,
2932
2932
  setDragVisible: o,
2933
2933
  isGroup: u,
@@ -2944,8 +2944,8 @@ function gr(e, t, l, n) {
2944
2944
  P.scrollLeft += Math.ceil(L.pixelX / 5);
2945
2945
  },
2946
2946
  resizeProxyVisible: i,
2947
- bodyWidth: K,
2948
- resizeState: r,
2947
+ bodyWidth: z,
2948
+ resizeState: s,
2949
2949
  doLayout: x,
2950
2950
  tableBodyStyles: c,
2951
2951
  tableLayout: j,
@@ -2954,21 +2954,21 @@ function gr(e, t, l, n) {
2954
2954
  scrollbarStyle: ue
2955
2955
  };
2956
2956
  }
2957
- function br(e) {
2957
+ function bs(e) {
2958
2958
  const t = E(), l = () => {
2959
- const s = e.vnode.el.querySelector(".hidden-columns"), a = { childList: !0, subtree: !0 }, i = e.store.states.updateOrderFns;
2959
+ const r = e.vnode.el.querySelector(".hidden-columns"), a = { childList: !0, subtree: !0 }, i = e.store.states.updateOrderFns;
2960
2960
  t.value = new MutationObserver(() => {
2961
2961
  i.forEach((o) => o());
2962
- }), t.value.observe(s, a);
2962
+ }), t.value.observe(r, a);
2963
2963
  };
2964
- ze(() => {
2964
+ Ke(() => {
2965
2965
  l();
2966
2966
  }), Rt(() => {
2967
2967
  var n;
2968
2968
  (n = t.value) == null || n.disconnect();
2969
2969
  });
2970
2970
  }
2971
- var yr = {
2971
+ var ys = {
2972
2972
  data: {
2973
2973
  type: Array,
2974
2974
  default: () => []
@@ -3044,7 +3044,7 @@ var yr = {
3044
3044
  flexible: Boolean,
3045
3045
  showOverflowTooltip: [Boolean, Object]
3046
3046
  };
3047
- const Cr = () => {
3047
+ const Cs = () => {
3048
3048
  const e = E(), t = (a, i) => {
3049
3049
  const o = e.value;
3050
3050
  o && o.scrollTo(a, i);
@@ -3059,20 +3059,20 @@ const Cr = () => {
3059
3059
  setScrollLeft: (a) => l("Left", a)
3060
3060
  };
3061
3061
  };
3062
- let wr = 1;
3063
- const Sr = he({
3062
+ let ws = 1;
3063
+ const Ss = he({
3064
3064
  name: "ElTable",
3065
3065
  directives: {
3066
- Mousewheel: ds
3066
+ Mousewheel: dr
3067
3067
  },
3068
3068
  components: {
3069
- TableHeader: ar,
3070
- TableBody: fr,
3071
- TableFooter: pr,
3069
+ TableHeader: as,
3070
+ TableBody: fs,
3071
+ TableFooter: ps,
3072
3072
  ElScrollbar: pl,
3073
3073
  hColgroup: $t
3074
3074
  },
3075
- props: yr,
3075
+ props: ys,
3076
3076
  emits: [
3077
3077
  "select",
3078
3078
  "select-all",
@@ -3094,20 +3094,20 @@ const Sr = he({
3094
3094
  "expand-change"
3095
3095
  ],
3096
3096
  setup(e) {
3097
- const { t } = yl(), l = re("table"), n = ee();
3097
+ const { t } = yl(), l = se("table"), n = ee();
3098
3098
  ul(pe, n);
3099
- const s = Ys(n, e);
3100
- n.store = s;
3101
- const a = new Xs({
3099
+ const r = Yr(n, e);
3100
+ n.store = r;
3101
+ const a = new Xr({
3102
3102
  store: n.store,
3103
3103
  table: n,
3104
3104
  fit: e.fit,
3105
3105
  showHeader: e.showHeader
3106
3106
  });
3107
3107
  n.layout = a;
3108
- const i = W(() => (s.states.data.value || []).length === 0), {
3108
+ const i = T(() => (r.states.data.value || []).length === 0), {
3109
3109
  setCurrentRow: o,
3110
- getSelectionRows: r,
3110
+ getSelectionRows: s,
3111
3111
  toggleRowSelection: u,
3112
3112
  clearSelection: d,
3113
3113
  clearFilter: h,
@@ -3115,7 +3115,7 @@ const Sr = he({
3115
3115
  toggleRowExpansion: m,
3116
3116
  clearSort: f,
3117
3117
  sort: g
3118
- } = mr(s), {
3118
+ } = ms(r), {
3119
3119
  isHidden: v,
3120
3120
  renderExpanded: y,
3121
3121
  setDragVisible: b,
@@ -3126,26 +3126,26 @@ const Sr = he({
3126
3126
  emptyBlockStyle: w,
3127
3127
  handleFixedMousewheel: R,
3128
3128
  resizeProxyVisible: F,
3129
- bodyWidth: z,
3129
+ bodyWidth: K,
3130
3130
  resizeState: B,
3131
3131
  doLayout: M,
3132
- tableBodyStyles: K,
3132
+ tableBodyStyles: z,
3133
3133
  tableLayout: j,
3134
3134
  scrollbarViewStyle: X,
3135
3135
  tableInnerStyle: _,
3136
3136
  scrollbarStyle: ue
3137
- } = gr(e, a, s, n), { scrollBarRef: Q, scrollTo: C, setScrollLeft: L, setScrollTop: P } = Cr(), G = nt(M, 50), Y = `${l.namespace.value}-table_${wr++}`;
3137
+ } = gs(e, a, r, n), { scrollBarRef: Q, scrollTo: C, setScrollLeft: L, setScrollTop: P } = Cs(), G = nt(M, 50), Y = `${l.namespace.value}-table_${ws++}`;
3138
3138
  n.tableId = Y, n.state = {
3139
3139
  isGroup: S,
3140
3140
  resizeState: B,
3141
3141
  doLayout: M,
3142
3142
  debouncedUpdateLayout: G
3143
3143
  };
3144
- const q = W(() => e.sumText || t("el.table.sumText")), ae = W(() => e.emptyText || t("el.table.emptyText"));
3145
- return br(n), {
3144
+ const q = T(() => e.sumText || t("el.table.sumText")), ae = T(() => e.emptyText || t("el.table.emptyText"));
3145
+ return bs(n), {
3146
3146
  ns: l,
3147
3147
  layout: a,
3148
- store: s,
3148
+ store: r,
3149
3149
  handleHeaderFooterMousewheel: x,
3150
3150
  handleMouseLeave: c,
3151
3151
  tableId: Y,
@@ -3156,13 +3156,13 @@ const Sr = he({
3156
3156
  resizeProxyVisible: F,
3157
3157
  resizeState: B,
3158
3158
  isGroup: S,
3159
- bodyWidth: z,
3160
- tableBodyStyles: K,
3159
+ bodyWidth: K,
3160
+ tableBodyStyles: z,
3161
3161
  emptyBlockStyle: w,
3162
3162
  debouncedUpdateLayout: G,
3163
3163
  handleFixedMousewheel: R,
3164
3164
  setCurrentRow: o,
3165
- getSelectionRows: r,
3165
+ getSelectionRows: s,
3166
3166
  toggleRowSelection: u,
3167
3167
  clearSelection: d,
3168
3168
  clearFilter: h,
@@ -3186,13 +3186,13 @@ const Sr = he({
3186
3186
  setScrollTop: P
3187
3187
  };
3188
3188
  }
3189
- }), xr = ["data-prefix"], Er = {
3189
+ }), xs = ["data-prefix"], Es = {
3190
3190
  ref: "hiddenColumns",
3191
3191
  class: "hidden-columns"
3192
3192
  };
3193
- function kr(e, t, l, n, s, a) {
3194
- const i = fe("hColgroup"), o = fe("table-header"), r = fe("table-body"), u = fe("el-scrollbar"), d = fe("table-footer"), h = cl("mousewheel");
3195
- return V(), U("div", {
3193
+ function ks(e, t, l, n, r, a) {
3194
+ const i = fe("hColgroup"), o = fe("table-header"), s = fe("table-body"), u = fe("el-scrollbar"), d = fe("table-footer"), h = cl("mousewheel");
3195
+ return D(), U("div", {
3196
3196
  ref: "tableWrapper",
3197
3197
  class: I([
3198
3198
  {
@@ -3221,10 +3221,10 @@ function kr(e, t, l, n, s, a) {
3221
3221
  class: I(e.ns.e("inner-wrapper")),
3222
3222
  style: ke(e.tableInnerStyle)
3223
3223
  }, [
3224
- oe("div", Er, [
3224
+ oe("div", Es, [
3225
3225
  Fe(e.$slots, "default")
3226
3226
  ], 512),
3227
- e.showHeader && e.tableLayout === "fixed" ? xe((V(), U("div", {
3227
+ e.showHeader && e.tableLayout === "fixed" ? xe((D(), U("div", {
3228
3228
  key: 0,
3229
3229
  ref: "headerWrapper",
3230
3230
  class: I(e.ns.e("header-wrapper"))
@@ -3278,7 +3278,7 @@ function kr(e, t, l, n, s, a) {
3278
3278
  columns: e.store.states.columns.value,
3279
3279
  "table-layout": e.tableLayout
3280
3280
  }, null, 8, ["columns", "table-layout"]),
3281
- e.showHeader && e.tableLayout === "auto" ? (V(), Le(o, {
3281
+ e.showHeader && e.tableLayout === "auto" ? (D(), Le(o, {
3282
3282
  key: 0,
3283
3283
  ref: "tableHeaderRef",
3284
3284
  border: e.border,
@@ -3286,7 +3286,7 @@ function kr(e, t, l, n, s, a) {
3286
3286
  store: e.store,
3287
3287
  onSetDragVisible: e.setDragVisible
3288
3288
  }, null, 8, ["border", "default-sort", "store", "onSetDragVisible"])) : Ce("v-if", !0),
3289
- we(r, {
3289
+ we(s, {
3290
3290
  context: e.context,
3291
3291
  highlight: e.highlightCurrentRow,
3292
3292
  "row-class-name": e.rowClassName,
@@ -3297,7 +3297,7 @@ function kr(e, t, l, n, s, a) {
3297
3297
  stripe: e.stripe
3298
3298
  }, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "tooltip-options", "row-style", "store", "stripe"])
3299
3299
  ], 6),
3300
- e.isEmpty ? (V(), U("div", {
3300
+ e.isEmpty ? (D(), U("div", {
3301
3301
  key: 0,
3302
3302
  ref: "emptyBlock",
3303
3303
  style: ke(e.emptyBlockStyle),
@@ -3311,7 +3311,7 @@ function kr(e, t, l, n, s, a) {
3311
3311
  ])
3312
3312
  ], 2)
3313
3313
  ], 6)) : Ce("v-if", !0),
3314
- e.$slots.append ? (V(), U("div", {
3314
+ e.$slots.append ? (D(), U("div", {
3315
3315
  key: 1,
3316
3316
  ref: "appendWrapper",
3317
3317
  class: I(e.ns.e("append-wrapper"))
@@ -3322,7 +3322,7 @@ function kr(e, t, l, n, s, a) {
3322
3322
  _: 3
3323
3323
  }, 8, ["view-style", "wrap-style", "always"])
3324
3324
  ], 2),
3325
- e.showSummary ? xe((V(), U("div", {
3325
+ e.showSummary ? xe((D(), U("div", {
3326
3326
  key: 1,
3327
3327
  ref: "footerWrapper",
3328
3328
  class: I(e.ns.e("footer-wrapper"))
@@ -3336,10 +3336,10 @@ function kr(e, t, l, n, s, a) {
3336
3336
  "summary-method": e.summaryMethod
3337
3337
  }, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
3338
3338
  ], 2)), [
3339
- [Kt, !e.isEmpty],
3339
+ [zt, !e.isEmpty],
3340
3340
  [h, e.handleHeaderFooterMousewheel]
3341
3341
  ]) : Ce("v-if", !0),
3342
- e.border || e.isGroup ? (V(), U("div", {
3342
+ e.border || e.isGroup ? (D(), U("div", {
3343
3343
  key: 2,
3344
3344
  class: I(e.ns.e("border-left-patch"))
3345
3345
  }, null, 2)) : Ce("v-if", !0)
@@ -3348,15 +3348,15 @@ function kr(e, t, l, n, s, a) {
3348
3348
  ref: "resizeProxy",
3349
3349
  class: I(e.ns.e("column-resize-proxy"))
3350
3350
  }, null, 2), [
3351
- [Kt, e.resizeProxyVisible]
3351
+ [zt, e.resizeProxyVisible]
3352
3352
  ])
3353
- ], 46, xr);
3353
+ ], 46, xs);
3354
3354
  }
3355
- var Rr = /* @__PURE__ */ je(Sr, [["render", kr], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);
3356
- const Lr = {
3355
+ var Rs = /* @__PURE__ */ je(Ss, [["render", ks], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);
3356
+ const Ls = {
3357
3357
  selection: "table-column--selection",
3358
3358
  expand: "table__expand-column"
3359
- }, Nr = {
3359
+ }, Ns = {
3360
3360
  default: {
3361
3361
  order: ""
3362
3362
  },
@@ -3378,13 +3378,13 @@ const Lr = {
3378
3378
  realWidth: 48,
3379
3379
  order: ""
3380
3380
  }
3381
- }, Or = (e) => Lr[e] || "", Fr = {
3381
+ }, Os = (e) => Ls[e] || "", Fs = {
3382
3382
  selection: {
3383
3383
  renderHeader({ store: e, column: t }) {
3384
3384
  function l() {
3385
3385
  return e.states.data.value && e.states.data.value.length === 0;
3386
3386
  }
3387
- return H(Te, {
3387
+ return H(Ae, {
3388
3388
  disabled: l(),
3389
3389
  size: e.states.tableSize.value,
3390
3390
  indeterminate: e.states.selection.value.length > 0 && !e.states.isAllSelected.value,
@@ -3399,13 +3399,13 @@ const Lr = {
3399
3399
  store: l,
3400
3400
  $index: n
3401
3401
  }) {
3402
- return H(Te, {
3402
+ return H(Ae, {
3403
3403
  disabled: t.selectable ? !t.selectable.call(null, e, n) : !1,
3404
3404
  size: l.states.tableSize.value,
3405
3405
  onChange: () => {
3406
3406
  l.commit("rowSelectedChanged", e);
3407
3407
  },
3408
- onClick: (s) => s.stopPropagation(),
3408
+ onClick: (r) => r.stopPropagation(),
3409
3409
  modelValue: l.isSelected(e),
3410
3410
  ariaLabel: t.label
3411
3411
  });
@@ -3436,9 +3436,9 @@ const Lr = {
3436
3436
  store: t,
3437
3437
  expanded: l
3438
3438
  }) {
3439
- const { ns: n } = t, s = [n.e("expand-icon")];
3440
- return l && s.push(n.em("expand-icon", "expanded")), H("div", {
3441
- class: s,
3439
+ const { ns: n } = t, r = [n.e("expand-icon")];
3440
+ return l && r.push(n.em("expand-icon", "expanded")), H("div", {
3441
+ class: r,
3442
3442
  onClick: function(i) {
3443
3443
  i.stopPropagation(), t.toggleRowExpansion(e);
3444
3444
  }
@@ -3454,71 +3454,71 @@ const Lr = {
3454
3454
  resizable: !1
3455
3455
  }
3456
3456
  };
3457
- function Mr({
3457
+ function Ms({
3458
3458
  row: e,
3459
3459
  column: t,
3460
3460
  $index: l
3461
3461
  }) {
3462
3462
  var n;
3463
- const s = t.property, a = s && Qn(e, s).value;
3463
+ const r = t.property, a = r && Qn(e, r).value;
3464
3464
  return t && t.formatter ? t.formatter(e, t, a, l) : ((n = a == null ? void 0 : a.toString) == null ? void 0 : n.call(a)) || "";
3465
3465
  }
3466
- function Tr({
3466
+ function As({
3467
3467
  row: e,
3468
3468
  treeNode: t,
3469
3469
  store: l
3470
3470
  }, n = !1) {
3471
- const { ns: s } = l;
3471
+ const { ns: r } = l;
3472
3472
  if (!t)
3473
3473
  return n ? [
3474
3474
  H("span", {
3475
- class: s.e("placeholder")
3475
+ class: r.e("placeholder")
3476
3476
  })
3477
3477
  ] : null;
3478
3478
  const a = [], i = function(o) {
3479
3479
  o.stopPropagation(), !t.loading && l.loadOrToggle(e);
3480
3480
  };
3481
3481
  if (t.indent && a.push(H("span", {
3482
- class: s.e("indent"),
3482
+ class: r.e("indent"),
3483
3483
  style: { "padding-left": `${t.indent}px` }
3484
3484
  })), typeof t.expanded == "boolean" && !t.noLazyChildren) {
3485
3485
  const o = [
3486
- s.e("expand-icon"),
3487
- t.expanded ? s.em("expand-icon", "expanded") : ""
3486
+ r.e("expand-icon"),
3487
+ t.expanded ? r.em("expand-icon", "expanded") : ""
3488
3488
  ];
3489
- let r = xl;
3490
- t.loading && (r = no), a.push(H("div", {
3489
+ let s = xl;
3490
+ t.loading && (s = no), a.push(H("div", {
3491
3491
  class: o,
3492
3492
  onClick: i
3493
3493
  }, {
3494
3494
  default: () => [
3495
- H(Mt, { class: { [s.is("loading")]: t.loading } }, {
3496
- default: () => [H(r)]
3495
+ H(Mt, { class: { [r.is("loading")]: t.loading } }, {
3496
+ default: () => [H(s)]
3497
3497
  })
3498
3498
  ]
3499
3499
  }));
3500
3500
  } else
3501
3501
  a.push(H("span", {
3502
- class: s.e("placeholder")
3502
+ class: r.e("placeholder")
3503
3503
  }));
3504
3504
  return a;
3505
3505
  }
3506
- function rl(e, t) {
3506
+ function sl(e, t) {
3507
3507
  return e.reduce((l, n) => (l[n] = n, l), t);
3508
3508
  }
3509
- function Wr(e, t) {
3509
+ function Ts(e, t) {
3510
3510
  const l = ee();
3511
3511
  return {
3512
3512
  registerComplexWatchers: () => {
3513
3513
  const a = ["fixed"], i = {
3514
3514
  realWidth: "width",
3515
3515
  realMinWidth: "minWidth"
3516
- }, o = rl(a, i);
3517
- Object.keys(o).forEach((r) => {
3518
- const u = i[r];
3516
+ }, o = sl(a, i);
3517
+ Object.keys(o).forEach((s) => {
3518
+ const u = i[s];
3519
3519
  Ie(t, u) && ie(() => t[u], (d) => {
3520
3520
  let h = d;
3521
- u === "width" && r === "realWidth" && (h = Wt(d)), u === "minWidth" && r === "realMinWidth" && (h = Ul(d)), l.columnConfig.value[u] = h, l.columnConfig.value[r] = h;
3521
+ u === "width" && s === "realWidth" && (h = Tt(d)), u === "minWidth" && s === "realMinWidth" && (h = Ul(d)), l.columnConfig.value[u] = h, l.columnConfig.value[s] = h;
3522
3522
  const p = u === "fixed";
3523
3523
  e.value.store.scheduleLayout(p);
3524
3524
  });
@@ -3540,43 +3540,43 @@ function Wr(e, t) {
3540
3540
  property: "prop",
3541
3541
  align: "realAlign",
3542
3542
  headerAlign: "realHeaderAlign"
3543
- }, o = rl(a, i);
3544
- Object.keys(o).forEach((r) => {
3545
- const u = i[r];
3543
+ }, o = sl(a, i);
3544
+ Object.keys(o).forEach((s) => {
3545
+ const u = i[s];
3546
3546
  Ie(t, u) && ie(() => t[u], (d) => {
3547
- l.columnConfig.value[r] = d;
3547
+ l.columnConfig.value[s] = d;
3548
3548
  });
3549
3549
  });
3550
3550
  }
3551
3551
  };
3552
3552
  }
3553
- function Ar(e, t, l) {
3554
- const n = ee(), s = E(""), a = E(!1), i = E(), o = E(), r = re("table");
3553
+ function Ws(e, t, l) {
3554
+ const n = ee(), r = E(""), a = E(!1), i = E(), o = E(), s = se("table");
3555
3555
  He(() => {
3556
3556
  i.value = e.align ? `is-${e.align}` : null, i.value;
3557
3557
  }), He(() => {
3558
3558
  o.value = e.headerAlign ? `is-${e.headerAlign}` : i.value, o.value;
3559
3559
  });
3560
- const u = W(() => {
3560
+ const u = T(() => {
3561
3561
  let c = n.vnode.vParent || n.parent;
3562
3562
  for (; c && !c.tableId && !c.columnId; )
3563
3563
  c = c.vnode.vParent || c.parent;
3564
3564
  return c;
3565
- }), d = W(() => {
3565
+ }), d = T(() => {
3566
3566
  const { store: c } = n.parent;
3567
3567
  if (!c)
3568
3568
  return !1;
3569
3569
  const { treeData: x } = c.states, k = x.value;
3570
3570
  return k && Object.keys(k).length > 0;
3571
- }), h = E(Wt(e.width)), p = E(Ul(e.minWidth)), m = (c) => (h.value && (c.width = h.value), p.value && (c.minWidth = p.value), !h.value && p.value && (c.width = void 0), c.minWidth || (c.minWidth = 80), c.realWidth = Number(c.width === void 0 ? c.minWidth : c.width), c), f = (c) => {
3572
- const x = c.type, k = Fr[x] || {};
3571
+ }), h = E(Tt(e.width)), p = E(Ul(e.minWidth)), m = (c) => (h.value && (c.width = h.value), p.value && (c.minWidth = p.value), !h.value && p.value && (c.width = void 0), c.minWidth || (c.minWidth = 80), c.realWidth = Number(c.width === void 0 ? c.minWidth : c.width), c), f = (c) => {
3572
+ const x = c.type, k = Fs[x] || {};
3573
3573
  Object.keys(k).forEach((R) => {
3574
3574
  const F = k[R];
3575
3575
  R !== "className" && F !== void 0 && (c[R] = F);
3576
3576
  });
3577
- const w = Or(x);
3577
+ const w = Os(x);
3578
3578
  if (w) {
3579
- const R = `${O(r.namespace)}-${w}`;
3579
+ const R = `${O(s.namespace)}-${w}`;
3580
3580
  c.className = c.className ? `${c.className} ${R}` : R;
3581
3581
  }
3582
3582
  return c;
@@ -3588,7 +3588,7 @@ function Ar(e, t, l) {
3588
3588
  }
3589
3589
  };
3590
3590
  return {
3591
- columnId: s,
3591
+ columnId: r,
3592
3592
  realAlign: i,
3593
3593
  isSubColumn: a,
3594
3594
  realHeaderAlign: o,
@@ -3604,18 +3604,18 @@ function Ar(e, t, l) {
3604
3604
  let x = c.renderCell;
3605
3605
  return c.type === "expand" ? (c.renderCell = (k) => H("div", {
3606
3606
  class: "cell"
3607
- }, [x(k)]), l.value.renderExpanded = (k) => t.default ? t.default(k) : t.default) : (x = x || Mr, c.renderCell = (k) => {
3607
+ }, [x(k)]), l.value.renderExpanded = (k) => t.default ? t.default(k) : t.default) : (x = x || Ms, c.renderCell = (k) => {
3608
3608
  let w = null;
3609
3609
  if (t.default) {
3610
- const K = t.default(k);
3611
- w = K.some((j) => j.type !== Sn) ? K : x(k);
3610
+ const z = t.default(k);
3611
+ w = z.some((j) => j.type !== Sn) ? z : x(k);
3612
3612
  } else
3613
3613
  w = x(k);
3614
- const { columns: R } = l.value.store.states, F = R.value.findIndex((K) => K.type === "default"), z = d.value && k.cellIndex === F, B = Tr(k, z), M = {
3614
+ const { columns: R } = l.value.store.states, F = R.value.findIndex((z) => z.type === "default"), K = d.value && k.cellIndex === F, B = As(k, K), M = {
3615
3615
  class: "cell",
3616
3616
  style: {}
3617
3617
  };
3618
- return c.showOverflowTooltip && (M.class = `${M.class} ${O(r.namespace)}-tooltip`, M.style = {
3618
+ return c.showOverflowTooltip && (M.class = `${M.class} ${O(s.namespace)}-tooltip`, M.style = {
3619
3619
  width: `${(k.column.realWidth || Number(k.column.width)) - 1}px`
3620
3620
  }), g(w), H("div", M, [B, w]);
3621
3621
  }), c;
@@ -3629,7 +3629,7 @@ function Ar(e, t, l) {
3629
3629
  }
3630
3630
  };
3631
3631
  }
3632
- var Hr = {
3632
+ var Hs = {
3633
3633
  type: {
3634
3634
  type: String,
3635
3635
  default: "default"
@@ -3684,22 +3684,22 @@ var Hr = {
3684
3684
  validator: (e) => e.every((t) => ["ascending", "descending", null].includes(t))
3685
3685
  }
3686
3686
  };
3687
- let $r = 1;
3687
+ let $s = 1;
3688
3688
  var Jl = he({
3689
3689
  name: "ElTableColumn",
3690
3690
  components: {
3691
- ElCheckbox: Te
3691
+ ElCheckbox: Ae
3692
3692
  },
3693
- props: Hr,
3693
+ props: Hs,
3694
3694
  setup(e, { slots: t }) {
3695
- const l = ee(), n = E({}), s = W(() => {
3695
+ const l = ee(), n = E({}), r = T(() => {
3696
3696
  let S = l.parent;
3697
3697
  for (; S && !S.tableId; )
3698
3698
  S = S.parent;
3699
3699
  return S;
3700
- }), { registerNormalWatchers: a, registerComplexWatchers: i } = Wr(s, e), {
3700
+ }), { registerNormalWatchers: a, registerComplexWatchers: i } = Ts(r, e), {
3701
3701
  columnId: o,
3702
- isSubColumn: r,
3702
+ isSubColumn: s,
3703
3703
  realHeaderAlign: u,
3704
3704
  columnOrTableParent: d,
3705
3705
  setColumnWidth: h,
@@ -3709,11 +3709,11 @@ var Jl = he({
3709
3709
  getColumnElIndex: g,
3710
3710
  realAlign: v,
3711
3711
  updateColumnOrder: y
3712
- } = Ar(e, t, s), b = d.value;
3713
- o.value = `${b.tableId || b.columnId}_column_${$r++}`, fl(() => {
3714
- r.value = s.value !== b;
3712
+ } = Ws(e, t, r), b = d.value;
3713
+ o.value = `${b.tableId || b.columnId}_column_${$s++}`, fl(() => {
3714
+ s.value = r.value !== b;
3715
3715
  const S = e.type || "default", c = e.sortable === "" ? !0 : e.sortable, x = lt(e.showOverflowTooltip) ? b.props.showOverflowTooltip : e.showOverflowTooltip, k = {
3716
- ...Nr[S],
3716
+ ...Ns[S],
3717
3717
  id: o.value,
3718
3718
  type: S,
3719
3719
  property: e.prop || e.property,
@@ -3748,13 +3748,13 @@ var Jl = he({
3748
3748
  "filteredValue",
3749
3749
  "filterPlacement"
3750
3750
  ]);
3751
- B = $s(k, B), B = Bs(m, h, p)(B), n.value = B, a(), i();
3752
- }), ze(() => {
3751
+ B = $r(k, B), B = Br(m, h, p)(B), n.value = B, a(), i();
3752
+ }), Ke(() => {
3753
3753
  var S;
3754
- const c = d.value, x = r.value ? c.vnode.el.children : (S = c.refs.hiddenColumns) == null ? void 0 : S.children, k = () => g(x || [], l.vnode.el);
3755
- n.value.getColumnIndex = k, k() > -1 && s.value.store.commit("insertColumn", n.value, r.value ? c.columnConfig.value : null, y);
3754
+ const c = d.value, x = s.value ? c.vnode.el.children : (S = c.refs.hiddenColumns) == null ? void 0 : S.children, k = () => g(x || [], l.vnode.el);
3755
+ n.value.getColumnIndex = k, k() > -1 && r.value.store.commit("insertColumn", n.value, s.value ? c.columnConfig.value : null, y);
3756
3756
  }), xn(() => {
3757
- s.value.store.commit("removeColumn", n.value, r.value ? b.columnConfig.value : null, y);
3757
+ r.value.store.commit("removeColumn", n.value, s.value ? b.columnConfig.value : null, y);
3758
3758
  }), l.columnId = o.value, l.columnConfig = n;
3759
3759
  },
3760
3760
  render() {
@@ -3764,32 +3764,32 @@ var Jl = he({
3764
3764
  row: {},
3765
3765
  column: {},
3766
3766
  $index: -1
3767
- }), s = [];
3767
+ }), r = [];
3768
3768
  if (Array.isArray(n))
3769
3769
  for (const i of n)
3770
- ((l = i.type) == null ? void 0 : l.name) === "ElTableColumn" || i.shapeFlag & 2 ? s.push(i) : i.type === Je && Array.isArray(i.children) && i.children.forEach((o) => {
3771
- (o == null ? void 0 : o.patchFlag) !== 1024 && !ut(o == null ? void 0 : o.children) && s.push(o);
3770
+ ((l = i.type) == null ? void 0 : l.name) === "ElTableColumn" || i.shapeFlag & 2 ? r.push(i) : i.type === Je && Array.isArray(i.children) && i.children.forEach((o) => {
3771
+ (o == null ? void 0 : o.patchFlag) !== 1024 && !ut(o == null ? void 0 : o.children) && r.push(o);
3772
3772
  });
3773
- return H("div", s);
3773
+ return H("div", r);
3774
3774
  } catch {
3775
3775
  return H("div", []);
3776
3776
  }
3777
3777
  }
3778
3778
  });
3779
- const Xr = bl(Rr, {
3779
+ const Xs = bl(Rs, {
3780
3780
  TableColumn: Jl
3781
- }), _r = Nt(Jl);
3781
+ }), _s = Nt(Jl);
3782
3782
  export {
3783
- _r as E,
3784
- Xr as a,
3785
- Bo as b,
3786
- bo as c,
3787
- Io as d,
3788
- io as e,
3789
- Po as f,
3783
+ Ae as E,
3784
+ qs as a,
3785
+ _s as b,
3786
+ Xs as c,
3787
+ bo as d,
3788
+ Bo as e,
3789
+ Io as f,
3790
3790
  Ll as g,
3791
- Te as h,
3792
- Ko as i,
3793
- qr as j,
3791
+ io as h,
3792
+ Po as i,
3793
+ zo as j,
3794
3794
  Rl as k
3795
3795
  };