st-comp 0.0.75 → 0.0.76

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 (77) hide show
  1. package/components.d.ts +3 -0
  2. package/es/ChartLayout.cjs +1 -1
  3. package/es/ChartLayout.js +25 -223
  4. package/es/Dialog.cjs +1 -1
  5. package/es/Dialog.js +15 -13
  6. package/es/Kline.cjs +1 -1
  7. package/es/Kline.js +105 -102
  8. package/es/KlineNew.cjs +1 -1
  9. package/es/KlineNew.js +45 -42
  10. package/es/MonacoEditor.cjs +1 -1
  11. package/es/MonacoEditor.js +1 -1
  12. package/es/Pagination.cjs +1 -1
  13. package/es/Pagination.js +121 -117
  14. package/es/Table.cjs +3 -3
  15. package/es/Table.js +275 -271
  16. package/es/VarietySearch.cjs +2 -2
  17. package/es/VarietySearch.js +476 -477
  18. package/es/VirtualTable.cjs +13 -1
  19. package/es/VirtualTable.js +2724 -1
  20. package/es/{base-dbd10dcf.cjs → base-4865d432.cjs} +3 -3
  21. package/es/{base-00f6b0ab.js → base-6faccb01.js} +66 -65
  22. package/es/castArray-3341cbb4.cjs +1 -0
  23. package/es/castArray-bdee0d50.js +10 -0
  24. package/es/config-provider-465c8253.cjs +1 -0
  25. package/es/config-provider-be0e9c36.js +46 -0
  26. package/es/{el-button-12e38f0b.js → el-button-1b9c4fd6.js} +31 -31
  27. package/es/el-button-aad5268b.cjs +1 -0
  28. package/es/el-empty-348c46f7.js +204 -0
  29. package/es/el-empty-608948d9.cjs +1 -0
  30. package/es/el-icon-158ddc19.cjs +1 -0
  31. package/es/{el-icon-bacbcecf.js → el-icon-d385d377.js} +58 -57
  32. package/es/{el-overlay-ea0f5492.js → el-overlay-400ac6ce.js} +58 -57
  33. package/es/el-overlay-4713107e.cjs +5 -0
  34. package/es/el-scrollbar-83abe3de.js +248 -0
  35. package/es/el-scrollbar-bc381e35.cjs +1 -0
  36. package/es/el-select-7116533b.cjs +9 -0
  37. package/es/{el-select-f84b87d9.js → el-select-895360ba.js} +282 -280
  38. package/es/el-tag-2c7e5d4a.cjs +1 -0
  39. package/es/el-tag-30cecca3.js +2417 -0
  40. package/es/focus-trap-5ac78614.js +259 -0
  41. package/es/focus-trap-a169f160.cjs +1 -0
  42. package/es/{index-2cc1c02e.cjs → index-a091492d.cjs} +1 -1
  43. package/es/{index-16dfa199.js → index-caa490bf.js} +17 -14
  44. package/es/{python-336a8c96.js → python-0b8dfd75.js} +1 -1
  45. package/es/{python-044eec0c.cjs → python-bd86111b.cjs} +1 -1
  46. package/es/raf-5e5c53db.cjs +1 -0
  47. package/es/raf-92c5ed6d.js +6 -0
  48. package/es/{scroll-c6489061.js → scroll-264c50f3.js} +5 -5
  49. package/es/{scroll-891e3e9f.cjs → scroll-bb8039ba.cjs} +1 -1
  50. package/es/style.css +1 -1
  51. package/es/typescript-7ae59c4c.js +4 -0
  52. package/es/typescript-b63f8e83.cjs +1 -0
  53. package/es/use-form-item-0e9cae13.js +668 -0
  54. package/es/use-form-item-6cef6b15.cjs +3 -0
  55. package/es/use-global-config-17f3d7c7.cjs +1 -0
  56. package/es/use-global-config-8c9c775f.js +110 -0
  57. package/es/{vnode-b44a499a.cjs → vnode-abafec9e.cjs} +1 -1
  58. package/es/{vnode-229e6729.js → vnode-b78096e3.js} +4 -4
  59. package/es/{zh-cn-e0c3b8df.js → zh-cn-8aaa7dd2.js} +2 -2
  60. package/es/{zh-cn-5c01bb26.cjs → zh-cn-e4d38144.cjs} +1 -1
  61. package/lib/bundle.js +1 -1
  62. package/lib/bundle.umd.cjs +1 -1
  63. package/lib/{index-d7f5d65b.js → index-bdeb684f.js} +17 -14
  64. package/lib/{python-31d7356c.js → python-c9833067.js} +1 -1
  65. package/package.json +1 -1
  66. package/packages/MonacoEditor/index.vue +5 -0
  67. package/src/pages/MonacoEditor/index.vue +5 -0
  68. package/es/config-provider-33068fb6.cjs +0 -1
  69. package/es/config-provider-c98bd563.js +0 -148
  70. package/es/el-button-fc645d0f.cjs +0 -1
  71. package/es/el-icon-99876220.cjs +0 -1
  72. package/es/el-overlay-dcbc4437.cjs +0 -5
  73. package/es/el-scrollbar-6800cb98.js +0 -2653
  74. package/es/el-scrollbar-9da140ab.cjs +0 -1
  75. package/es/el-select-d22b5aa3.cjs +0 -9
  76. package/es/focus-trap-9f4b1039.js +0 -880
  77. package/es/focus-trap-fae33d9d.cjs +0 -3
package/es/Table.js CHANGED
@@ -1,44 +1,48 @@
1
- import { k as Nt, j as tl, R as ll, W as tn, O as ut, X as ln, Y as nn, a as Me, _ as Ie, c as Ue, f as Oe, d as Tt, u as de, e as nl, w as At, D as ol, Z as on, $ as qe, y as rn, i as sn, m as Bt, K as lt, B as nt, U as an, z as Ze, C as We, F as un, n as cn, H as dn, I as Ot, g as fn, A as Ke, a0 as pn } from "./base-00f6b0ab.js";
2
- import { z as hn, E as vn } from "./zh-cn-e0c3b8df.js";
3
- import { s as mn, o as gn, g as yn, c as bn, k as rl, d as Cn, e as wn, b as Sn, i as xn, h as En, E as Pe } from "./el-icon-bacbcecf.js";
1
+ import { l as Nt, m as tl, n as ll, o as tn, p as ut, q as ln, s as nn, _ as Ie, b as Ue, d as ke, g as Tt, u as de, v as nl, w as At, x as ol, y as on, z as qe, t as rn, A as sn, B as Bt, e as lt, C as Fe, a as nt, D as an, h as Qe, r as Me, k as un, j as cn, E as dn, i as kt, f as fn, F as Ke, G as pn } from "./base-6faccb01.js";
2
+ import { z as hn, E as vn } from "./zh-cn-8aaa7dd2.js";
3
+ import { s as mn, o as gn, g as yn, c as bn, k as rl, a as Cn, b as wn, d as Sn, i as xn, e as En, E as Pe } from "./el-icon-d385d377.js";
4
4
  import "./el-tooltip-4ed993c7.js";
5
- import { g as Rn, j as rt, p as Ln, y as Nn, A as Tn, l as It, S as An, b as On, B as ct, e as ve, c as kt, D as kn, F as $n, d as ot, E as sl, C as Mn, u as zt, a as Kt } from "./el-scrollbar-6800cb98.js";
6
- import { defineComponent as ne, renderSlot as Ne, ref as E, provide as dt, inject as Se, onMounted as ze, unref as M, onBeforeUnmount as al, computed as W, openBlock as F, createBlock as le, mergeProps as il, withCtx as j, createElementVNode as re, normalizeClass as Y, normalizeStyle as Ce, resolveDynamicComponent as Wn, createCommentVNode as ye, createTextVNode as Te, toDisplayString as ie, createVNode as J, createElementBlock as U, getCurrentInstance as ue, watch as be, toRefs as ul, nextTick as Ae, isRef as cl, resolveComponent as me, resolveDirective as dl, Fragment as we, renderList as Ve, withDirectives as He, onBeforeMount as fl, onUpdated as Fn, onUnmounted as $t, h as $, watchEffect as je, vShow as ft, Comment as Hn, reactive as Pn, Transition as Bn, createApp as In, createSlots as zn } from "vue";
7
- import { e as Kn, i as pl, O as Vn, E as Xe, B as jn, K as Dn, f as Yn, b as qn, d as Un, p as hl, l as Xn, m as Gn } from "./focus-trap-9f4b1039.js";
8
- import { b as Vt, E as pt } from "./el-button-12e38f0b.js";
5
+ import { a as Rn, b as rt, k as Ln, c as Nn, d as Tn, e as It, S as An, f as kn, u as ct, g as ve, E as Ot, h as On, y as $n, j as sl, C as Mn } from "./el-tag-30cecca3.js";
6
+ import { d as ot, a as zt, u as Kt } from "./el-scrollbar-83abe3de.js";
7
+ import { defineComponent as ne, renderSlot as Ne, ref as E, provide as dt, inject as Se, onMounted as ze, unref as M, onBeforeUnmount as al, computed as W, openBlock as H, createBlock as le, mergeProps as il, withCtx as j, createElementVNode as re, normalizeClass as Y, normalizeStyle as Ce, resolveDynamicComponent as Wn, createCommentVNode as ye, createTextVNode as Te, toDisplayString as ie, createVNode as J, createElementBlock as U, getCurrentInstance as ue, watch as be, toRefs as ul, nextTick as Ae, isRef as cl, resolveComponent as me, resolveDirective as dl, Fragment as we, renderList as Ve, withDirectives as He, onBeforeMount as fl, onUpdated as Hn, onUnmounted as $t, h as $, watchEffect as je, vShow as ft, Comment as Fn, reactive as Pn, Transition as Bn, createApp as In, createSlots as zn } from "vue";
8
+ import { h as Kn, i as pl, q as Vn, E as Xe, a as jn, j as Dn, k as Yn, l as qn, n as Un, b as hl, o as Xn, e as Gn } from "./use-form-item-0e9cae13.js";
9
+ import { b as Vt, E as pt } from "./el-button-1b9c4fd6.js";
9
10
  import { g as _n } from "./_commonjsHelpers-10dfc225.js";
10
- import { b as Zn, g as Qn, e as Jn } from "./config-provider-c98bd563.js";
11
+ import { b as Qn, g as Zn, u as Jn } from "./use-global-config-8c9c775f.js";
12
+ import { r as eo } from "./raf-92c5ed6d.js";
13
+ import "./config-provider-be0e9c36.js";
14
+ import "./focus-trap-5ac78614.js";
11
15
  import "./index-657047bb.js";
12
- function eo(e, t) {
16
+ function to(e, t) {
13
17
  return mn(gn(e, t, Rn), e + "");
14
18
  }
15
- function to(e, t, l) {
19
+ function lo(e, t, l) {
16
20
  if (!Nt(l))
17
21
  return !1;
18
22
  var n = typeof t;
19
23
  return (n == "number" ? rt(l) && Kn(t, l.length) : n == "string" && t in l) ? tl(l[t], e) : !1;
20
24
  }
21
- function lo(e) {
22
- return eo(function(t, l) {
25
+ function no(e) {
26
+ return to(function(t, l) {
23
27
  var n = -1, o = l.length, s = o > 1 ? l[o - 1] : void 0, i = o > 2 ? l[2] : void 0;
24
- for (s = e.length > 3 && typeof s == "function" ? (o--, s) : void 0, i && to(l[0], l[1], i) && (s = o < 3 ? void 0 : s, o = 1), t = Object(t); ++n < o; ) {
28
+ for (s = e.length > 3 && typeof s == "function" ? (o--, s) : void 0, i && lo(l[0], l[1], i) && (s = o < 3 ? void 0 : s, o = 1), t = Object(t); ++n < o; ) {
25
29
  var r = l[n];
26
30
  r && e(t, r, n, s);
27
31
  }
28
32
  return t;
29
33
  });
30
34
  }
31
- var no = "[object Object]", oo = Function.prototype, ro = Object.prototype, vl = oo.toString, so = ro.hasOwnProperty, ao = vl.call(Object);
32
- function io(e) {
33
- if (!ll(e) || tn(e) != no)
35
+ var oo = "[object Object]", ro = Function.prototype, so = Object.prototype, vl = ro.toString, ao = so.hasOwnProperty, io = vl.call(Object);
36
+ function uo(e) {
37
+ if (!ll(e) || tn(e) != oo)
34
38
  return !1;
35
39
  var t = yn(e);
36
40
  if (t === null)
37
41
  return !0;
38
- var l = so.call(t, "constructor") && t.constructor;
39
- return typeof l == "function" && l instanceof l && vl.call(l) == ao;
42
+ var l = ao.call(t, "constructor") && t.constructor;
43
+ return typeof l == "function" && l instanceof l && vl.call(l) == io;
40
44
  }
41
- function uo(e) {
45
+ function co(e) {
42
46
  return function(t, l, n) {
43
47
  for (var o = -1, s = Object(t), i = n(t), r = i.length; r--; ) {
44
48
  var a = i[e ? r : ++o];
@@ -48,12 +52,12 @@ function uo(e) {
48
52
  return t;
49
53
  };
50
54
  }
51
- var co = uo();
52
- const ml = co;
53
- function fo(e, t) {
55
+ var fo = co();
56
+ const ml = fo;
57
+ function po(e, t) {
54
58
  return e && ml(e, t, Ln);
55
59
  }
56
- function po(e, t) {
60
+ function ho(e, t) {
57
61
  return function(l, n) {
58
62
  if (l == null)
59
63
  return l;
@@ -64,22 +68,22 @@ function po(e, t) {
64
68
  return l;
65
69
  };
66
70
  }
67
- var ho = po(fo);
68
- const vo = ho;
71
+ var vo = ho(po);
72
+ const mo = vo;
69
73
  function ht(e, t, l) {
70
- (l !== void 0 && !tl(e[t], l) || l === void 0 && !(t in e)) && Zn(e, t, l);
74
+ (l !== void 0 && !tl(e[t], l) || l === void 0 && !(t in e)) && Qn(e, t, l);
71
75
  }
72
- function mo(e) {
76
+ function go(e) {
73
77
  return ll(e) && rt(e);
74
78
  }
75
79
  function vt(e, t) {
76
80
  if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
77
81
  return e[t];
78
82
  }
79
- function go(e) {
83
+ function yo(e) {
80
84
  return bn(e, rl(e));
81
85
  }
82
- function yo(e, t, l, n, o, s, i) {
86
+ function bo(e, t, l, n, o, s, i) {
83
87
  var r = vt(e, l), a = vt(t, l), u = i.get(a);
84
88
  if (u) {
85
89
  ht(e, l, u);
@@ -88,48 +92,48 @@ function yo(e, t, l, n, o, s, i) {
88
92
  var c = s ? s(r, a, l + "", e, t, i) : void 0, p = c === void 0;
89
93
  if (p) {
90
94
  var d = ut(a), m = !d && Nn(a), v = !d && !m && Tn(a);
91
- c = a, d || m || v ? ut(r) ? c = r : mo(r) ? c = Cn(r) : m ? (p = !1, c = wn(a, !0)) : v ? (p = !1, c = Sn(a, !0)) : c = [] : io(a) || It(a) ? (c = r, It(r) ? c = go(r) : (!Nt(r) || ln(r)) && (c = xn(a))) : p = !1;
95
+ c = a, d || m || v ? ut(r) ? c = r : go(r) ? c = Cn(r) : m ? (p = !1, c = wn(a, !0)) : v ? (p = !1, c = Sn(a, !0)) : c = [] : uo(a) || It(a) ? (c = r, It(r) ? c = yo(r) : (!Nt(r) || ln(r)) && (c = xn(a))) : p = !1;
92
96
  }
93
97
  p && (i.set(a, c), o(c, a, n, s, i), i.delete(a)), ht(e, l, c);
94
98
  }
95
99
  function gl(e, t, l, n, o) {
96
100
  e !== t && ml(t, function(s, i) {
97
101
  if (o || (o = new An()), Nt(s))
98
- yo(e, t, i, l, gl, n, o);
102
+ bo(e, t, i, l, gl, n, o);
99
103
  else {
100
104
  var r = n ? n(vt(e, i), s, i + "", e, t, o) : void 0;
101
105
  r === void 0 && (r = s), ht(e, i, r);
102
106
  }
103
107
  }, rl);
104
108
  }
105
- function bo(e, t) {
109
+ function Co(e, t) {
106
110
  var l = -1, n = rt(e) ? Array(e.length) : [];
107
- return vo(e, function(o, s, i) {
111
+ return mo(e, function(o, s, i) {
108
112
  n[++l] = t(o, s, i);
109
113
  }), n;
110
114
  }
111
- function Co(e, t) {
112
- var l = ut(e) ? nn : bo;
113
- return l(e, On(t));
114
- }
115
115
  function wo(e, t) {
116
- return En(Co(e, t), 1);
116
+ var l = ut(e) ? nn : Co;
117
+ return l(e, kn(t));
118
+ }
119
+ function So(e, t) {
120
+ return En(wo(e, t), 1);
117
121
  }
118
- var So = lo(function(e, t, l) {
122
+ var xo = no(function(e, t, l) {
119
123
  gl(e, t, l);
120
124
  });
121
- const yl = So, xo = (e) => Me ? window.requestAnimationFrame(e) : setTimeout(e, 16);
122
- var jt = !1, ke, mt, gt, Qe, Je, bl, et, yt, bt, Ct, Cl, wt, St, wl, Sl;
125
+ const yl = xo;
126
+ var jt = !1, Oe, mt, gt, Ze, Je, bl, et, yt, bt, Ct, Cl, wt, St, wl, Sl;
123
127
  function ae() {
124
128
  if (!jt) {
125
129
  jt = !0;
126
130
  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);
127
131
  if (wt = /\b(iPhone|iP[ao]d)/.exec(e), St = /\b(iP[ao]d)/.exec(e), Ct = /Android/i.exec(e), wl = /FBAN\/\w+;/i.exec(e), Sl = /Mobile/i.exec(e), Cl = !!/Win64/.exec(e), t) {
128
- ke = t[1] ? parseFloat(t[1]) : t[5] ? parseFloat(t[5]) : NaN, ke && document && document.documentMode && (ke = document.documentMode);
132
+ Oe = t[1] ? parseFloat(t[1]) : t[5] ? parseFloat(t[5]) : NaN, Oe && document && document.documentMode && (Oe = document.documentMode);
129
133
  var n = /(?:Trident\/(\d+.\d+))/.exec(e);
130
- bl = n ? parseFloat(n[1]) + 4 : ke, mt = t[2] ? parseFloat(t[2]) : NaN, gt = t[3] ? parseFloat(t[3]) : NaN, Qe = t[4] ? parseFloat(t[4]) : NaN, Qe ? (t = /(?:Chrome\/(\d+\.\d+))/.exec(e), Je = t && t[1] ? parseFloat(t[1]) : NaN) : Je = NaN;
134
+ bl = n ? parseFloat(n[1]) + 4 : Oe, mt = t[2] ? parseFloat(t[2]) : NaN, gt = t[3] ? parseFloat(t[3]) : NaN, Ze = t[4] ? parseFloat(t[4]) : NaN, Ze ? (t = /(?:Chrome\/(\d+\.\d+))/.exec(e), Je = t && t[1] ? parseFloat(t[1]) : NaN) : Je = NaN;
131
135
  } else
132
- ke = mt = gt = Je = Qe = NaN;
136
+ Oe = mt = gt = Je = Ze = NaN;
133
137
  if (l) {
134
138
  if (l[1]) {
135
139
  var o = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);
@@ -142,9 +146,9 @@ function ae() {
142
146
  }
143
147
  }
144
148
  var xt = { ie: function() {
145
- return ae() || ke;
149
+ return ae() || Oe;
146
150
  }, ieCompatibilityMode: function() {
147
- return ae() || bl > ke;
151
+ return ae() || bl > Oe;
148
152
  }, ie64: function() {
149
153
  return xt.ie() && Cl;
150
154
  }, firefox: function() {
@@ -152,7 +156,7 @@ var xt = { ie: function() {
152
156
  }, opera: function() {
153
157
  return ae() || gt;
154
158
  }, webkit: function() {
155
- return ae() || Qe;
159
+ return ae() || Ze;
156
160
  }, safari: function() {
157
161
  return xt.webkit();
158
162
  }, chrome: function() {
@@ -216,25 +220,25 @@ const Ao = function(e, t) {
216
220
  };
217
221
  e.addEventListener("wheel", l, { passive: !0 });
218
222
  }
219
- }, Oo = {
223
+ }, ko = {
220
224
  beforeMount(e, t) {
221
225
  Ao(e, t.value);
222
226
  }
223
- }, ko = /* @__PURE__ */ ne({
227
+ }, Oo = /* @__PURE__ */ ne({
224
228
  inheritAttrs: !1
225
229
  });
226
230
  function $o(e, t, l, n, o, s) {
227
231
  return Ne(e.$slots, "default");
228
232
  }
229
- var Mo = /* @__PURE__ */ Ie(ko, [["render", $o], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);
233
+ var Mo = /* @__PURE__ */ Ie(Oo, [["render", $o], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);
230
234
  const Wo = /* @__PURE__ */ ne({
231
235
  name: "ElCollectionItem",
232
236
  inheritAttrs: !1
233
237
  });
234
- function Fo(e, t, l, n, o, s) {
238
+ function Ho(e, t, l, n, o, s) {
235
239
  return Ne(e.$slots, "default");
236
240
  }
237
- var Ho = /* @__PURE__ */ Ie(Wo, [["render", Fo], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);
241
+ var Fo = /* @__PURE__ */ Ie(Wo, [["render", Ho], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);
238
242
  const Po = "data-el-collection-item", Bo = (e) => {
239
243
  const t = `El${e}Collection`, l = `${t}Item`, n = Symbol(t), o = Symbol(l), s = {
240
244
  ...Mo,
@@ -254,7 +258,7 @@ const Po = "data-el-collection-item", Bo = (e) => {
254
258
  });
255
259
  }
256
260
  }, i = {
257
- ...Ho,
261
+ ...Fo,
258
262
  name: l,
259
263
  setup(r, { attrs: a }) {
260
264
  const u = E(null), c = Se(n, void 0);
@@ -285,14 +289,14 @@ const Po = "data-el-collection-item", Bo = (e) => {
285
289
  default: "light"
286
290
  },
287
291
  type: {
288
- type: Oe(String)
292
+ type: ke(String)
289
293
  },
290
294
  placement: {
291
- type: Oe(String),
295
+ type: ke(String),
292
296
  default: "bottom"
293
297
  },
294
298
  popperOptions: {
295
- type: Oe(Object),
299
+ type: ke(Object),
296
300
  default: () => ({})
297
301
  },
298
302
  id: String,
@@ -318,11 +322,11 @@ const Po = "data-el-collection-item", Bo = (e) => {
318
322
  default: 150
319
323
  },
320
324
  tabindex: {
321
- type: Oe([Number, String]),
325
+ type: ke([Number, String]),
322
326
  default: 0
323
327
  },
324
328
  maxHeight: {
325
- type: Oe([Number, String]),
329
+ type: ke([Number, String]),
326
330
  default: ""
327
331
  },
328
332
  popperClass: {
@@ -338,7 +342,7 @@ const Po = "data-el-collection-item", Bo = (e) => {
338
342
  default: "menu"
339
343
  },
340
344
  buttonProps: {
341
- type: Oe(Object)
345
+ type: ke(Object)
342
346
  },
343
347
  teleported: ve.teleported
344
348
  });
@@ -355,7 +359,7 @@ Ue({
355
359
  }
356
360
  });
357
361
  Ue({
358
- onKeydown: { type: Oe(Function) }
362
+ onKeydown: { type: ke(Function) }
359
363
  });
360
364
  Bo("Dropdown");
361
365
  const Io = Ue({
@@ -414,7 +418,7 @@ const Io = Ue({
414
418
  }, u = (d) => {
415
419
  t("cancel", d), i();
416
420
  }, c = W(() => l.confirmButtonText || n("el.popconfirm.confirmButtonText")), p = W(() => l.cancelButtonText || n("el.popconfirm.cancelButtonText"));
417
- return (d, m) => (F(), le(M(kt), il({
421
+ return (d, m) => (H(), le(M(Ot), il({
418
422
  ref_key: "tooltipRef",
419
423
  ref: s,
420
424
  trigger: "click",
@@ -434,13 +438,13 @@ const Io = Ue({
434
438
  re("div", {
435
439
  class: Y(M(o).e("main"))
436
440
  }, [
437
- !d.hideIcon && d.icon ? (F(), le(M(Xe), {
441
+ !d.hideIcon && d.icon ? (H(), le(M(Xe), {
438
442
  key: 0,
439
443
  class: Y(M(o).e("icon")),
440
444
  style: Ce({ color: d.iconColor })
441
445
  }, {
442
446
  default: j(() => [
443
- (F(), le(Wn(d.icon)))
447
+ (H(), le(Wn(d.icon)))
444
448
  ]),
445
449
  _: 1
446
450
  }, 8, ["class", "style"])) : ye("v-if", !0),
@@ -570,7 +574,7 @@ const Do = At(jo), Yo = Ue({
570
574
  return t({
571
575
  popperRef: r,
572
576
  hide: p
573
- }), (h, S) => (F(), le(M(kt), il({
577
+ }), (h, S) => (H(), le(M(Ot), il({
574
578
  ref_key: "tooltipRef",
575
579
  ref: i
576
580
  }, h.$attrs, {
@@ -602,7 +606,7 @@ const Do = At(jo), Yo = Ue({
602
606
  onHide: g
603
607
  }), {
604
608
  content: j(() => [
605
- h.title ? (F(), U("div", {
609
+ h.title ? (H(), U("div", {
606
610
  key: 0,
607
611
  class: Y(M(s).e("title")),
608
612
  role: "title"
@@ -623,7 +627,7 @@ const Ut = (e, t) => {
623
627
  const l = t.arg || t.value, n = l == null ? void 0 : l.popperRef;
624
628
  n && (n.triggerRef = e);
625
629
  };
626
- var Zo = {
630
+ var Qo = {
627
631
  mounted(e, t) {
628
632
  Ut(e, t);
629
633
  },
@@ -631,7 +635,7 @@ var Zo = {
631
635
  Ut(e, t);
632
636
  }
633
637
  };
634
- const Qo = "popover", Jo = on(Zo, Qo), er = At(_o, {
638
+ const Zo = "popover", Jo = on(Qo, Zo), er = At(_o, {
635
639
  directive: Jo
636
640
  });
637
641
  /*!
@@ -819,7 +823,7 @@ function dr(e, t, l, n, o) {
819
823
  }
820
824
  };
821
825
  let c = null, p = u, d = Le;
822
- o.enterable && ({ onOpen: p, onClose: d } = kn({
826
+ o.enterable && ({ onOpen: p, onClose: d } = On({
823
827
  showAfter: o.showAfter,
824
828
  hideAfter: o.hideAfter,
825
829
  open: u,
@@ -852,7 +856,7 @@ function dr(e, t, l, n, o) {
852
856
  }), t.addEventListener("mouseenter", p), t.addEventListener("mouseleave", d), i == null || i.addEventListener("scroll", Le), c;
853
857
  }
854
858
  function Tl(e) {
855
- return e.children ? wo(e.children, Tl) : [e];
859
+ return e.children ? So(e.children, Tl) : [e];
856
860
  }
857
861
  function Gt(e, t) {
858
862
  return e + t.colSpan;
@@ -892,7 +896,7 @@ const Al = (e, t, l, n) => {
892
896
  function _t(e, t) {
893
897
  return e + (t.realWidth === null || Number.isNaN(t.realWidth) ? Number(t.width) : t.realWidth);
894
898
  }
895
- const Ft = (e, t, l, n) => {
899
+ const Ht = (e, t, l, n) => {
896
900
  const {
897
901
  direction: o,
898
902
  start: s = 0,
@@ -1016,36 +1020,36 @@ function hr(e) {
1016
1020
  var C;
1017
1021
  const f = u.value, x = c.value, R = Object.keys(f), w = {};
1018
1022
  if (R.length) {
1019
- const L = M(l), A = [], K = (O, z) => {
1023
+ const L = M(l), A = [], K = (k, z) => {
1020
1024
  if (S)
1021
- return t.value ? y || t.value.includes(z) : !!(y || O != null && O.expanded);
1025
+ return t.value ? y || t.value.includes(z) : !!(y || k != null && k.expanded);
1022
1026
  {
1023
1027
  const D = y || t.value && t.value.includes(z);
1024
- return !!(O != null && O.expanded || D);
1028
+ return !!(k != null && k.expanded || D);
1025
1029
  }
1026
1030
  };
1027
- R.forEach((O) => {
1028
- const z = L[O], D = { ...f[O] };
1029
- if (D.expanded = K(z, O), D.lazy) {
1030
- const { loaded: _ = !1, loading: Z = !1 } = z || {};
1031
- D.loaded = !!_, D.loading = !!Z, A.push(O);
1031
+ R.forEach((k) => {
1032
+ const z = L[k], D = { ...f[k] };
1033
+ if (D.expanded = K(z, k), D.lazy) {
1034
+ const { loaded: _ = !1, loading: Q = !1 } = z || {};
1035
+ D.loaded = !!_, D.loading = !!Q, A.push(k);
1032
1036
  }
1033
- w[O] = D;
1037
+ w[k] = D;
1034
1038
  });
1035
1039
  const I = Object.keys(x);
1036
- o.value && I.length && A.length && I.forEach((O) => {
1037
- const z = L[O], D = x[O].children;
1038
- if (A.includes(O)) {
1039
- if (w[O].children.length !== 0)
1040
+ o.value && I.length && A.length && I.forEach((k) => {
1041
+ const z = L[k], D = x[k].children;
1042
+ if (A.includes(k)) {
1043
+ if (w[k].children.length !== 0)
1040
1044
  throw new Error("[ElTable]children must be an empty array.");
1041
- w[O].children = D;
1045
+ w[k].children = D;
1042
1046
  } else {
1043
- const { loaded: _ = !1, loading: Z = !1 } = z || {};
1044
- w[O] = {
1047
+ const { loaded: _ = !1, loading: Q = !1 } = z || {};
1048
+ w[k] = {
1045
1049
  lazy: !0,
1046
1050
  loaded: !!_,
1047
- loading: !!Z,
1048
- expanded: K(z, O),
1051
+ loading: !!Q,
1052
+ expanded: K(z, k),
1049
1053
  children: D,
1050
1054
  level: ""
1051
1055
  };
@@ -1111,7 +1115,7 @@ const vr = (e, t) => {
1111
1115
  };
1112
1116
  function mr() {
1113
1117
  var e;
1114
- const t = ue(), { size: l } = ul((e = t.proxy) == null ? void 0 : e.$props), n = E(null), o = E([]), s = E([]), i = E(!1), r = E([]), a = E([]), u = E([]), c = E([]), p = E([]), d = E([]), m = E([]), v = E([]), g = [], h = E(0), S = E(0), y = E(0), C = E(!1), f = E([]), x = E(!1), R = E(!1), w = E(null), L = E({}), A = E(null), K = E(null), I = E(null), O = E(null), z = E(null);
1118
+ const t = ue(), { size: l } = ul((e = t.proxy) == null ? void 0 : e.$props), n = E(null), o = E([]), s = E([]), i = E(!1), r = E([]), a = E([]), u = E([]), c = E([]), p = E([]), d = E([]), m = E([]), v = E([]), g = [], h = E(0), S = E(0), y = E(0), C = E(!1), f = E([]), x = E(!1), R = E(!1), w = E(null), L = E({}), A = E(null), K = E(null), I = E(null), k = E(null), z = E(null);
1115
1119
  be(o, () => t.state && fe(!1), {
1116
1120
  deep: !0
1117
1121
  });
@@ -1119,128 +1123,128 @@ function mr() {
1119
1123
  if (!n.value)
1120
1124
  throw new Error("[ElTable] prop row-key is required");
1121
1125
  }, _ = (T) => {
1122
- var k;
1123
- (k = T.children) == null || k.forEach((P) => {
1126
+ var O;
1127
+ (O = T.children) == null || O.forEach((P) => {
1124
1128
  P.fixed = T.fixed, _(P);
1125
1129
  });
1126
- }, Z = () => {
1130
+ }, Q = () => {
1127
1131
  r.value.forEach((V) => {
1128
1132
  _(V);
1129
1133
  }), c.value = r.value.filter((V) => V.fixed === !0 || V.fixed === "left"), p.value = r.value.filter((V) => V.fixed === "right"), c.value.length > 0 && r.value[0] && r.value[0].type === "selection" && !r.value[0].fixed && (r.value[0].fixed = !0, c.value.unshift(r.value[0]));
1130
1134
  const T = r.value.filter((V) => !V.fixed);
1131
1135
  a.value = [].concat(c.value).concat(T).concat(p.value);
1132
- const k = tt(T), P = tt(c.value), H = tt(p.value);
1133
- h.value = k.length, S.value = P.length, y.value = H.length, u.value = [].concat(P).concat(k).concat(H), i.value = c.value.length > 0 || p.value.length > 0;
1134
- }, fe = (T, k = !1) => {
1135
- T && Z(), k ? t.state.doLayout() : t.state.debouncedUpdateLayout();
1136
- }, Q = (T) => f.value.includes(T), b = () => {
1136
+ const O = tt(T), P = tt(c.value), F = tt(p.value);
1137
+ h.value = O.length, S.value = P.length, y.value = F.length, u.value = [].concat(P).concat(O).concat(F), i.value = c.value.length > 0 || p.value.length > 0;
1138
+ }, fe = (T, O = !1) => {
1139
+ T && Q(), O ? t.state.doLayout() : t.state.debouncedUpdateLayout();
1140
+ }, Z = (T) => f.value.includes(T), b = () => {
1137
1141
  C.value = !1, f.value.length && (f.value = [], t.emit("selection-change", []));
1138
1142
  }, N = () => {
1139
1143
  let T;
1140
1144
  if (n.value) {
1141
1145
  T = [];
1142
- const k = $e(f.value, n.value), P = $e(o.value, n.value);
1143
- for (const H in k)
1144
- qe(k, H) && !P[H] && T.push(k[H].row);
1146
+ const O = $e(f.value, n.value), P = $e(o.value, n.value);
1147
+ for (const F in O)
1148
+ qe(O, F) && !P[F] && T.push(O[F].row);
1145
1149
  } else
1146
- T = f.value.filter((k) => !o.value.includes(k));
1150
+ T = f.value.filter((O) => !o.value.includes(O));
1147
1151
  if (T.length) {
1148
- const k = f.value.filter((P) => !T.includes(P));
1149
- f.value = k, t.emit("selection-change", k.slice());
1152
+ const O = f.value.filter((P) => !T.includes(P));
1153
+ f.value = O, t.emit("selection-change", O.slice());
1150
1154
  }
1151
- }, B = () => (f.value || []).slice(), q = (T, k = void 0, P = !0) => {
1152
- if (De(f.value, T, k)) {
1155
+ }, B = () => (f.value || []).slice(), q = (T, O = void 0, P = !0) => {
1156
+ if (De(f.value, T, O)) {
1153
1157
  const V = (f.value || []).slice();
1154
1158
  P && t.emit("select", V, T), t.emit("selection-change", V);
1155
1159
  }
1156
1160
  }, X = () => {
1157
- var T, k;
1161
+ var T, O;
1158
1162
  const P = R.value ? !C.value : !(C.value || f.value.length);
1159
1163
  C.value = P;
1160
- let H = !1, V = 0;
1161
- const te = (k = (T = t == null ? void 0 : t.store) == null ? void 0 : T.states) == null ? void 0 : k.rowKey.value;
1162
- o.value.forEach((he, Fe) => {
1163
- const Re = Fe + V;
1164
- w.value ? w.value.call(null, he, Re) && De(f.value, he, P) && (H = !0) : De(f.value, he, P) && (H = !0), V += oe(ee(he, te));
1165
- }), H && t.emit("selection-change", f.value ? f.value.slice() : []), t.emit("select-all", f.value);
1164
+ let F = !1, V = 0;
1165
+ const te = (O = (T = t == null ? void 0 : t.store) == null ? void 0 : T.states) == null ? void 0 : O.rowKey.value;
1166
+ o.value.forEach((he, We) => {
1167
+ const Re = We + V;
1168
+ w.value ? w.value.call(null, he, Re) && De(f.value, he, P) && (F = !0) : De(f.value, he, P) && (F = !0), V += oe(ee(he, te));
1169
+ }), F && t.emit("selection-change", f.value ? f.value.slice() : []), t.emit("select-all", f.value);
1166
1170
  }, G = () => {
1167
1171
  const T = $e(f.value, n.value);
1168
- o.value.forEach((k) => {
1169
- const P = ee(k, n.value), H = T[P];
1170
- H && (f.value[H.index] = k);
1172
+ o.value.forEach((O) => {
1173
+ const P = ee(O, n.value), F = T[P];
1174
+ F && (f.value[F.index] = O);
1171
1175
  });
1172
1176
  }, ce = () => {
1173
- var T, k, P;
1177
+ var T, O, P;
1174
1178
  if (((T = o.value) == null ? void 0 : T.length) === 0) {
1175
1179
  C.value = !1;
1176
1180
  return;
1177
1181
  }
1178
- let H;
1179
- n.value && (H = $e(f.value, n.value));
1182
+ let F;
1183
+ n.value && (F = $e(f.value, n.value));
1180
1184
  const V = function(Re) {
1181
- return H ? !!H[ee(Re, n.value)] : f.value.includes(Re);
1185
+ return F ? !!F[ee(Re, n.value)] : f.value.includes(Re);
1182
1186
  };
1183
- let te = !0, he = 0, Fe = 0;
1184
- for (let Re = 0, Zl = (o.value || []).length; Re < Zl; Re++) {
1185
- const Ql = (P = (k = t == null ? void 0 : t.store) == null ? void 0 : k.states) == null ? void 0 : P.rowKey.value, Jl = Re + Fe, st = o.value[Re], en = w.value && w.value.call(null, st, Jl);
1187
+ let te = !0, he = 0, We = 0;
1188
+ for (let Re = 0, Ql = (o.value || []).length; Re < Ql; Re++) {
1189
+ const Zl = (P = (O = t == null ? void 0 : t.store) == null ? void 0 : O.states) == null ? void 0 : P.rowKey.value, Jl = Re + We, st = o.value[Re], en = w.value && w.value.call(null, st, Jl);
1186
1190
  if (V(st))
1187
1191
  he++;
1188
1192
  else if (!w.value || en) {
1189
1193
  te = !1;
1190
1194
  break;
1191
1195
  }
1192
- Fe += oe(ee(st, Ql));
1196
+ We += oe(ee(st, Zl));
1193
1197
  }
1194
1198
  he === 0 && (te = !1), C.value = te;
1195
1199
  }, oe = (T) => {
1196
- var k;
1200
+ var O;
1197
1201
  if (!t || !t.store)
1198
1202
  return 0;
1199
1203
  const { treeData: P } = t.store.states;
1200
- let H = 0;
1201
- const V = (k = P.value[T]) == null ? void 0 : k.children;
1202
- return V && (H += V.length, V.forEach((te) => {
1203
- H += oe(te);
1204
- })), H;
1205
- }, Ee = (T, k) => {
1204
+ let F = 0;
1205
+ const V = (O = P.value[T]) == null ? void 0 : O.children;
1206
+ return V && (F += V.length, V.forEach((te) => {
1207
+ F += oe(te);
1208
+ })), F;
1209
+ }, Ee = (T, O) => {
1206
1210
  Array.isArray(T) || (T = [T]);
1207
1211
  const P = {};
1208
- return T.forEach((H) => {
1209
- L.value[H.id] = k, P[H.columnKey || H.id] = k;
1212
+ return T.forEach((F) => {
1213
+ L.value[F.id] = O, P[F.columnKey || F.id] = O;
1210
1214
  }), P;
1211
- }, se = (T, k, P) => {
1212
- K.value && K.value !== T && (K.value.order = null), K.value = T, I.value = k, O.value = P;
1215
+ }, se = (T, O, P) => {
1216
+ K.value && K.value !== T && (K.value.order = null), K.value = T, I.value = O, k.value = P;
1213
1217
  }, pe = () => {
1214
1218
  let T = M(s);
1215
- Object.keys(L.value).forEach((k) => {
1216
- const P = L.value[k];
1219
+ Object.keys(L.value).forEach((O) => {
1220
+ const P = L.value[O];
1217
1221
  if (!P || P.length === 0)
1218
1222
  return;
1219
- const H = Ll({
1223
+ const F = Ll({
1220
1224
  columns: u.value
1221
- }, k);
1222
- H && H.filterMethod && (T = T.filter((V) => P.some((te) => H.filterMethod.call(null, te, V, H))));
1225
+ }, O);
1226
+ F && F.filterMethod && (T = T.filter((V) => P.some((te) => F.filterMethod.call(null, te, V, F))));
1223
1227
  }), A.value = T;
1224
1228
  }, ge = () => {
1225
1229
  o.value = vr(A.value, {
1226
1230
  sortingColumn: K.value,
1227
1231
  sortProp: I.value,
1228
- sortOrder: O.value
1232
+ sortOrder: k.value
1229
1233
  });
1230
- }, Fl = (T = void 0) => {
1234
+ }, Hl = (T = void 0) => {
1231
1235
  T && T.filter || pe(), ge();
1232
- }, Hl = (T) => {
1233
- const { tableHeaderRef: k } = t.refs;
1234
- if (!k)
1236
+ }, Fl = (T) => {
1237
+ const { tableHeaderRef: O } = t.refs;
1238
+ if (!O)
1235
1239
  return;
1236
- const P = Object.assign({}, k.filterPanels), H = Object.keys(P);
1237
- if (H.length)
1240
+ const P = Object.assign({}, O.filterPanels), F = Object.keys(P);
1241
+ if (F.length)
1238
1242
  if (typeof T == "string" && (T = [T]), Array.isArray(T)) {
1239
1243
  const V = T.map((te) => sr({
1240
1244
  columns: u.value
1241
1245
  }, te));
1242
- H.forEach((te) => {
1243
- const he = V.find((Fe) => Fe.id === te);
1246
+ F.forEach((te) => {
1247
+ const he = V.find((We) => We.id === te);
1244
1248
  he && (he.filteredValue = []);
1245
1249
  }), t.store.commit("filterChange", {
1246
1250
  column: V,
@@ -1249,7 +1253,7 @@ function mr() {
1249
1253
  multi: !0
1250
1254
  });
1251
1255
  } else
1252
- H.forEach((V) => {
1256
+ F.forEach((V) => {
1253
1257
  const te = u.value.find((he) => he.id === V);
1254
1258
  te && (te.filteredValue = []);
1255
1259
  }), L.value = {}, t.store.commit("filterChange", {
@@ -1290,9 +1294,9 @@ function mr() {
1290
1294
  });
1291
1295
  return {
1292
1296
  assertRowKey: D,
1293
- updateColumns: Z,
1297
+ updateColumns: Q,
1294
1298
  scheduleLayout: fe,
1295
- isSelected: Q,
1299
+ isSelected: Z,
1296
1300
  clearSelection: b,
1297
1301
  cleanSelection: N,
1298
1302
  getSelectionRows: B,
@@ -1306,16 +1310,16 @@ function mr() {
1306
1310
  updateSort: se,
1307
1311
  execFilter: pe,
1308
1312
  execSort: ge,
1309
- execQuery: Fl,
1310
- clearFilter: Hl,
1313
+ execQuery: Hl,
1314
+ clearFilter: Fl,
1311
1315
  clearSort: Pl,
1312
1316
  toggleRowExpansion: Pt,
1313
1317
  setExpandRowKeysAdapter: (T) => {
1314
1318
  Bl(T), Vl(T);
1315
1319
  },
1316
1320
  setCurrentRowKey: Gl,
1317
- toggleRowExpansionAdapter: (T, k) => {
1318
- u.value.some(({ type: H }) => H === "expand") ? Pt(T, k) : jl(T, k);
1321
+ toggleRowExpansionAdapter: (T, O) => {
1322
+ u.value.some(({ type: F }) => F === "expand") ? Pt(T, O) : jl(T, O);
1319
1323
  },
1320
1324
  isRowExpanded: Kl,
1321
1325
  updateExpandRows: Il,
@@ -1349,7 +1353,7 @@ function mr() {
1349
1353
  filteredData: A,
1350
1354
  sortingColumn: K,
1351
1355
  sortProp: I,
1352
- sortOrder: O,
1356
+ sortOrder: k,
1353
1357
  hoverRow: z,
1354
1358
  ...zl,
1355
1359
  ...ql,
@@ -1469,21 +1473,21 @@ function yr(e, t) {
1469
1473
  throw new Error("Table is required.");
1470
1474
  const l = gr();
1471
1475
  return l.toggleAllSelection = ot(l._toggleAllSelection, 10), Object.keys(Ye).forEach((n) => {
1472
- Ol(kl(t, n), n, l);
1476
+ kl(Ol(t, n), n, l);
1473
1477
  }), br(l, t), l;
1474
1478
  }
1475
1479
  function br(e, t) {
1476
1480
  Object.keys(Ye).forEach((l) => {
1477
- be(() => kl(t, l), (n) => {
1478
- Ol(n, l, e);
1481
+ be(() => Ol(t, l), (n) => {
1482
+ kl(n, l, e);
1479
1483
  });
1480
1484
  });
1481
1485
  }
1482
- function Ol(e, t, l) {
1486
+ function kl(e, t, l) {
1483
1487
  let n = e, o = Ye[t];
1484
1488
  typeof Ye[t] == "object" && (o = o.key, n = n || Ye[t].default), l.states[o].value = n;
1485
1489
  }
1486
- function kl(e, t) {
1490
+ function Ol(e, t) {
1487
1491
  if (t.includes(".")) {
1488
1492
  const l = t.split(".");
1489
1493
  let n = e;
@@ -1515,7 +1519,7 @@ class Cr {
1515
1519
  return !1;
1516
1520
  }
1517
1521
  setHeight(t, l = "height") {
1518
- if (!Me)
1522
+ if (!Fe)
1519
1523
  return;
1520
1524
  const n = this.table.vnode.el;
1521
1525
  if (t = ir(t), this.height.value = Number(t), !n && (t || t === 0))
@@ -1546,7 +1550,7 @@ class Cr {
1546
1550
  return !1;
1547
1551
  }
1548
1552
  updateColumnsWidth() {
1549
- if (!Me)
1553
+ if (!Fe)
1550
1554
  return;
1551
1555
  const t = this.fit, l = this.table.vnode.el.clientWidth;
1552
1556
  let n = 0;
@@ -1625,7 +1629,7 @@ const { CheckboxGroup: wr } = Pe, Sr = ne({
1625
1629
  ElCheckbox: Pe,
1626
1630
  ElCheckboxGroup: wr,
1627
1631
  ElScrollbar: sl,
1628
- ElTooltip: kt,
1632
+ ElTooltip: Ot,
1629
1633
  ElIcon: Xe,
1630
1634
  ArrowDown: jn,
1631
1635
  ArrowUp: Dn
@@ -1712,7 +1716,7 @@ const { CheckboxGroup: wr } = Pe, Sr = ne({
1712
1716
  }), xr = { key: 0 }, Er = ["disabled"], Rr = ["label", "onClick"];
1713
1717
  function Lr(e, t, l, n, o, s) {
1714
1718
  const i = me("el-checkbox"), r = me("el-checkbox-group"), a = me("el-scrollbar"), u = me("arrow-up"), c = me("arrow-down"), p = me("el-icon"), d = me("el-tooltip"), m = dl("click-outside");
1715
- return F(), le(d, {
1719
+ return H(), le(d, {
1716
1720
  ref: "tooltip",
1717
1721
  visible: e.tooltipVisible,
1718
1722
  offset: 0,
@@ -1726,7 +1730,7 @@ function Lr(e, t, l, n, o, s) {
1726
1730
  persistent: ""
1727
1731
  }, {
1728
1732
  content: j(() => [
1729
- e.multiple ? (F(), U("div", xr, [
1733
+ e.multiple ? (H(), U("div", xr, [
1730
1734
  re("div", {
1731
1735
  class: Y(e.ns.e("content"))
1732
1736
  }, [
@@ -1740,7 +1744,7 @@ function Lr(e, t, l, n, o, s) {
1740
1744
  class: Y(e.ns.e("checkbox-group"))
1741
1745
  }, {
1742
1746
  default: j(() => [
1743
- (F(!0), U(we, null, Ve(e.filters, (v) => (F(), le(i, {
1747
+ (H(!0), U(we, null, Ve(e.filters, (v) => (H(), le(i, {
1744
1748
  key: v.value,
1745
1749
  label: v.value
1746
1750
  }, {
@@ -1770,7 +1774,7 @@ function Lr(e, t, l, n, o, s) {
1770
1774
  onClick: t[2] || (t[2] = (...v) => e.handleReset && e.handleReset(...v))
1771
1775
  }, ie(e.t("el.table.resetFilter")), 1)
1772
1776
  ], 2)
1773
- ])) : (F(), U("ul", {
1777
+ ])) : (H(), U("ul", {
1774
1778
  key: 1,
1775
1779
  class: Y(e.ns.e("list"))
1776
1780
  }, [
@@ -1783,7 +1787,7 @@ function Lr(e, t, l, n, o, s) {
1783
1787
  ]),
1784
1788
  onClick: t[3] || (t[3] = (v) => e.handleSelect(null))
1785
1789
  }, ie(e.t("el.table.clearFilter")), 3),
1786
- (F(!0), U(we, null, Ve(e.filters, (v) => (F(), U("li", {
1790
+ (H(!0), U(we, null, Ve(e.filters, (v) => (H(), U("li", {
1787
1791
  key: v.value,
1788
1792
  class: Y([e.ns.e("list-item"), e.ns.is("active", e.isActive(v))]),
1789
1793
  label: v.value,
@@ -1792,7 +1796,7 @@ function Lr(e, t, l, n, o, s) {
1792
1796
  ], 2))
1793
1797
  ]),
1794
1798
  default: j(() => [
1795
- He((F(), U("span", {
1799
+ He((H(), U("span", {
1796
1800
  class: Y([
1797
1801
  `${e.ns.namespace.value}-table__column-filter-trigger`,
1798
1802
  `${e.ns.namespace.value}-none-outline`
@@ -1801,7 +1805,7 @@ function Lr(e, t, l, n, o, s) {
1801
1805
  }, [
1802
1806
  J(p, null, {
1803
1807
  default: j(() => [
1804
- e.column.filterOpened ? (F(), le(u, { key: 0 })) : (F(), le(c, { key: 1 }))
1808
+ e.column.filterOpened ? (H(), le(u, { key: 0 })) : (H(), le(c, { key: 1 }))
1805
1809
  ]),
1806
1810
  _: 1
1807
1811
  })
@@ -1819,7 +1823,7 @@ function $l(e) {
1819
1823
  l.value.addObserver(t);
1820
1824
  }), ze(() => {
1821
1825
  n(l.value), o(l.value);
1822
- }), Fn(() => {
1826
+ }), Hn(() => {
1823
1827
  n(l.value), o(l.value);
1824
1828
  }), $t(() => {
1825
1829
  l.value.removeObserver(t);
@@ -1868,7 +1872,7 @@ function Tr(e, t) {
1868
1872
  }, i = (g, h) => {
1869
1873
  n == null || n.emit("header-contextmenu", h, g);
1870
1874
  }, r = E(null), a = E(!1), u = E({}), c = (g, h) => {
1871
- if (Me && !(h.children && h.children.length > 0) && r.value && e.border) {
1875
+ if (Fe && !(h.children && h.children.length > 0) && r.value && e.border) {
1872
1876
  a.value = !0;
1873
1877
  const S = n;
1874
1878
  t("set-drag-visible", !0);
@@ -1886,8 +1890,8 @@ function Tr(e, t) {
1886
1890
  return !1;
1887
1891
  };
1888
1892
  const L = (K) => {
1889
- const I = K.clientX - u.value.startMouseLeft, O = u.value.startLeft + I;
1890
- w.style.left = `${Math.max(R, O)}px`;
1893
+ const I = K.clientX - u.value.startMouseLeft, k = u.value.startLeft + I;
1894
+ w.style.left = `${Math.max(R, k)}px`;
1891
1895
  }, A = () => {
1892
1896
  if (a.value) {
1893
1897
  const { startColumnLeft: K, startLeft: I } = u.value, z = Number.parseInt(w.style.left, 10) - K;
@@ -1896,7 +1900,7 @@ function Tr(e, t) {
1896
1900
  }), document.body.style.cursor = "", a.value = !1, r.value = null, u.value = {}, t("set-drag-visible", !1);
1897
1901
  }
1898
1902
  document.removeEventListener("mousemove", L), document.removeEventListener("mouseup", A), document.onselectstart = null, document.ondragstart = null, setTimeout(() => {
1899
- We(f, "noclick");
1903
+ Me(f, "noclick");
1900
1904
  }, 0);
1901
1905
  };
1902
1906
  document.addEventListener("mousemove", L), document.addEventListener("mouseup", A);
@@ -1910,10 +1914,10 @@ function Tr(e, t) {
1910
1914
  const y = S == null ? void 0 : S.closest("th");
1911
1915
  if (!(!h || !h.resizable) && !a.value && e.border) {
1912
1916
  const C = y.getBoundingClientRect(), f = document.body.style;
1913
- C.width > 12 && C.right - g.pageX < 8 ? (f.cursor = "col-resize", Ze(y, "is-sortable") && (y.style.cursor = "col-resize"), r.value = h) : a.value || (f.cursor = "", Ze(y, "is-sortable") && (y.style.cursor = "pointer"), r.value = null);
1917
+ C.width > 12 && C.right - g.pageX < 8 ? (f.cursor = "col-resize", Qe(y, "is-sortable") && (y.style.cursor = "col-resize"), r.value = h) : a.value || (f.cursor = "", Qe(y, "is-sortable") && (y.style.cursor = "pointer"), r.value = null);
1914
1918
  }
1915
1919
  }, d = () => {
1916
- Me && (document.body.style.cursor = "");
1920
+ Fe && (document.body.style.cursor = "");
1917
1921
  }, m = ({ order: g, sortOrders: h }) => {
1918
1922
  if (g === "")
1919
1923
  return h[0];
@@ -1923,8 +1927,8 @@ function Tr(e, t) {
1923
1927
  var y;
1924
1928
  g.stopPropagation();
1925
1929
  const C = h.order === S ? null : S || m(h), f = (y = g.target) == null ? void 0 : y.closest("th");
1926
- if (f && Ze(f, "noclick")) {
1927
- We(f, "noclick");
1930
+ if (f && Qe(f, "noclick")) {
1931
+ Me(f, "noclick");
1928
1932
  return;
1929
1933
  }
1930
1934
  if (!h.sortable)
@@ -1964,7 +1968,7 @@ function Ar(e) {
1964
1968
  row: u,
1965
1969
  column: c
1966
1970
  }));
1967
- const m = Ft(a, c.fixed, e.store, u);
1971
+ const m = Ht(a, c.fixed, e.store, u);
1968
1972
  return Be(m, "left"), Be(m, "right"), Object.assign({}, d, m);
1969
1973
  },
1970
1974
  getHeaderCellClass: (r, a, u, c) => {
@@ -1992,7 +1996,7 @@ const Ml = (e) => {
1992
1996
  return e.forEach((l) => {
1993
1997
  l.children ? (t.push(l), t.push.apply(t, Ml(l.children))) : t.push(l);
1994
1998
  }), t;
1995
- }, Or = (e) => {
1999
+ }, kr = (e) => {
1996
2000
  let t = 1;
1997
2001
  const l = (s, i) => {
1998
2002
  if (i && (s.level = i.level + 1, t < s.level && (t = s.level)), s.children) {
@@ -2013,8 +2017,8 @@ const Ml = (e) => {
2013
2017
  s.children ? (s.rowSpan = 1, s.children.forEach((i) => i.isSubColumn = !0)) : s.rowSpan = t - s.level + 1, n[s.level - 1].push(s);
2014
2018
  }), n;
2015
2019
  };
2016
- function kr(e) {
2017
- const t = Se(xe), l = W(() => Or(e.store.states.originColumns.value));
2020
+ function Or(e) {
2021
+ const t = Se(xe), l = W(() => kr(e.store.states.originColumns.value));
2018
2022
  return {
2019
2023
  isGroup: W(() => {
2020
2024
  const s = l.value.length > 1;
@@ -2069,7 +2073,7 @@ var $r = ne({
2069
2073
  getHeaderRowClass: h,
2070
2074
  getHeaderCellStyle: S,
2071
2075
  getHeaderCellClass: y
2072
- } = Ar(e), { isGroup: C, toggleAllSelection: f, columnRows: x } = kr(e);
2076
+ } = Ar(e), { isGroup: C, toggleAllSelection: f, columnRows: x } = Or(e);
2073
2077
  return l.state = {
2074
2078
  onColumnsChange: i,
2075
2079
  onScrollableChange: r
@@ -2208,20 +2212,20 @@ function Mr(e) {
2208
2212
  if (C) {
2209
2213
  const fe = Xt({
2210
2214
  columns: e.store.states.columns.value
2211
- }, C, f), Q = y.hoverState = { cell: C, column: fe, row: g };
2212
- y == null || y.emit("cell-mouse-enter", Q.row, Q.column, Q.cell, v);
2215
+ }, C, f), Z = y.hoverState = { cell: C, column: fe, row: g };
2216
+ y == null || y.emit("cell-mouse-enter", Z.row, Z.column, Z.cell, v);
2213
2217
  }
2214
2218
  if (!h)
2215
2219
  return;
2216
2220
  const x = v.target.querySelector(".cell");
2217
- if (!(Ze(x, `${f}-tooltip`) && x.childNodes.length))
2221
+ if (!(Qe(x, `${f}-tooltip`) && x.childNodes.length))
2218
2222
  return;
2219
2223
  const R = document.createRange();
2220
2224
  R.setStart(x, 0), R.setEnd(x, x.childNodes.length);
2221
2225
  let w = R.getBoundingClientRect().width, L = R.getBoundingClientRect().height;
2222
2226
  w - Math.floor(w) < 1e-3 && (w = Math.floor(w)), L - Math.floor(L) < 1e-3 && (L = Math.floor(L));
2223
- const { top: I, left: O, right: z, bottom: D } = p(x), _ = O + z, Z = I + D;
2224
- (w + _ > x.offsetWidth || L + Z > x.offsetHeight || x.scrollWidth > x.offsetWidth) && dr(t == null ? void 0 : t.refs.tableWrapper, C, C.innerText || C.textContent, o, h);
2227
+ const { top: I, left: k, right: z, bottom: D } = p(x), _ = k + z, Q = I + D;
2228
+ (w + _ > x.offsetWidth || L + Q > x.offsetHeight || x.scrollWidth > x.offsetWidth) && dr(t == null ? void 0 : t.refs.tableWrapper, C, C.innerText || C.textContent, o, h);
2225
2229
  },
2226
2230
  handleCellMouseLeave: (v) => {
2227
2231
  if (!it(v))
@@ -2261,7 +2265,7 @@ function Wr(e) {
2261
2265
  row: p,
2262
2266
  column: d
2263
2267
  }));
2264
- const g = Ft(c, e == null ? void 0 : e.fixed, e.store);
2268
+ const g = Ht(c, e == null ? void 0 : e.fixed, e.store);
2265
2269
  return Be(g, "left"), Be(g, "right"), Object.assign({}, v, g);
2266
2270
  },
2267
2271
  getCellClass: (u, c, p, d, m) => {
@@ -2295,7 +2299,7 @@ function Wr(e) {
2295
2299
  }
2296
2300
  };
2297
2301
  }
2298
- function Fr(e) {
2302
+ function Hr(e) {
2299
2303
  const t = Se(xe), l = de("table"), {
2300
2304
  handleDoubleClick: n,
2301
2305
  handleClick: o,
@@ -2317,13 +2321,13 @@ function Fr(e) {
2317
2321
  const A = t.props.rowKey;
2318
2322
  return A ? ee(w, A) : L;
2319
2323
  }, f = (w, L, A, K = !1) => {
2320
- const { tooltipEffect: I, tooltipOptions: O, store: z } = e, { indent: D, columns: _ } = z.states, Z = m(w, L);
2324
+ const { tooltipEffect: I, tooltipOptions: k, store: z } = e, { indent: D, columns: _ } = z.states, Q = m(w, L);
2321
2325
  let fe = !0;
2322
- return A && (Z.push(l.em("row", `level-${A.level}`)), fe = A.display), $("tr", {
2326
+ return A && (Q.push(l.em("row", `level-${A.level}`)), fe = A.display), $("tr", {
2323
2327
  style: [fe ? null : {
2324
2328
  display: "none"
2325
2329
  }, d(w, L)],
2326
- class: Z,
2330
+ class: Q,
2327
2331
  key: C(w, L),
2328
2332
  onDblclick: (b) => n(b, w),
2329
2333
  onClick: (b) => o(b, w),
@@ -2351,7 +2355,7 @@ function Fr(e) {
2351
2355
  }, typeof A.expanded == "boolean" && (G.treeNode.expanded = A.expanded, "loading" in A && (G.treeNode.loading = A.loading), "noLazyChildren" in A && (G.treeNode.noLazyChildren = A.noLazyChildren)));
2352
2356
  const ce = `${L},${N}`, oe = X.columnKey || X.rawColumnKey || "", Ee = x(N, b, G), se = b.showOverflowTooltip && yl({
2353
2357
  effect: I
2354
- }, O, b.showOverflowTooltip);
2358
+ }, k, b.showOverflowTooltip);
2355
2359
  return $("td", {
2356
2360
  style: v(L, N, w, b),
2357
2361
  class: g(L, N, w, b, q - 1),
@@ -2365,26 +2369,26 @@ function Fr(e) {
2365
2369
  }, x = (w, L, A) => L.renderCell(A);
2366
2370
  return {
2367
2371
  wrappedRowRender: (w, L) => {
2368
- const A = e.store, { isRowExpanded: K, assertRowKey: I } = A, { treeData: O, lazyTreeNodeMap: z, childrenColumnName: D, rowKey: _ } = A.states, Z = A.states.columns.value;
2369
- if (Z.some(({ type: Q }) => Q === "expand")) {
2370
- const Q = K(w), b = f(w, L, void 0, Q), N = t.renderExpanded;
2371
- return Q ? N ? [
2372
+ const A = e.store, { isRowExpanded: K, assertRowKey: I } = A, { treeData: k, lazyTreeNodeMap: z, childrenColumnName: D, rowKey: _ } = A.states, Q = A.states.columns.value;
2373
+ if (Q.some(({ type: Z }) => Z === "expand")) {
2374
+ const Z = K(w), b = f(w, L, void 0, Z), N = t.renderExpanded;
2375
+ return Z ? N ? [
2372
2376
  [
2373
2377
  b,
2374
2378
  $("tr", {
2375
2379
  key: `expanded-row__${b.key}`
2376
2380
  }, [
2377
2381
  $("td", {
2378
- colspan: Z.length,
2382
+ colspan: Q.length,
2379
2383
  class: `${l.e("cell")} ${l.e("expanded-cell")}`
2380
- }, [N({ row: w, $index: L, store: A, expanded: Q })])
2384
+ }, [N({ row: w, $index: L, store: A, expanded: Z })])
2381
2385
  ])
2382
2386
  ]
2383
2387
  ] : (console.error("[Element Error]renderExpanded is required."), b) : [[b]];
2384
- } else if (Object.keys(O.value).length) {
2388
+ } else if (Object.keys(k.value).length) {
2385
2389
  I();
2386
- const Q = ee(w, _.value);
2387
- let b = O.value[Q], N = null;
2390
+ const Z = ee(w, _.value);
2391
+ let b = k.value[Z], N = null;
2388
2392
  b && (N = {
2389
2393
  expanded: b.expanded,
2390
2394
  level: b.level,
@@ -2404,14 +2408,14 @@ function Fr(e) {
2404
2408
  }, pe = ee(Ee, _.value);
2405
2409
  if (pe == null)
2406
2410
  throw new Error("For nested data item, row-key is required.");
2407
- if (b = { ...O.value[pe] }, b && (se.expanded = b.expanded, b.level = b.level || se.level, b.display = !!(b.expanded && se.display), typeof b.lazy == "boolean" && (typeof b.loaded == "boolean" && b.loaded && (se.noLazyChildren = !(b.children && b.children.length)), se.loading = b.loading)), q++, B.push(f(Ee, L + q, se)), b) {
2411
+ if (b = { ...k.value[pe] }, b && (se.expanded = b.expanded, b.level = b.level || se.level, b.display = !!(b.expanded && se.display), typeof b.lazy == "boolean" && (typeof b.loaded == "boolean" && b.loaded && (se.noLazyChildren = !(b.children && b.children.length)), se.loading = b.loading)), q++, B.push(f(Ee, L + q, se)), b) {
2408
2412
  const ge = z.value[pe] || Ee[D.value];
2409
2413
  X(ge, b);
2410
2414
  }
2411
2415
  });
2412
2416
  };
2413
2417
  b.display = !0;
2414
- const G = z.value[Q] || w[D.value];
2418
+ const G = z.value[Z] || w[D.value];
2415
2419
  X(G, b);
2416
2420
  }
2417
2421
  return B;
@@ -2422,7 +2426,7 @@ function Fr(e) {
2422
2426
  tooltipTrigger: p
2423
2427
  };
2424
2428
  }
2425
- const Hr = {
2429
+ const Fr = {
2426
2430
  store: {
2427
2431
  required: !0,
2428
2432
  type: Object
@@ -2446,13 +2450,13 @@ const Hr = {
2446
2450
  };
2447
2451
  var Pr = ne({
2448
2452
  name: "ElTableBody",
2449
- props: Hr,
2453
+ props: Fr,
2450
2454
  setup(e) {
2451
- const t = ue(), l = Se(xe), n = de("table"), { wrappedRowRender: o, tooltipContent: s, tooltipTrigger: i } = Fr(e), { onColumnsChange: r, onScrollableChange: a } = $l(l);
2455
+ const t = ue(), l = Se(xe), n = de("table"), { wrappedRowRender: o, tooltipContent: s, tooltipTrigger: i } = Hr(e), { onColumnsChange: r, onScrollableChange: a } = $l(l);
2452
2456
  return be(e.store.states.hoverRow, (u, c) => {
2453
- !e.store.states.isComplex.value || !Me || xo(() => {
2457
+ !e.store.states.isComplex.value || !Fe || eo(() => {
2454
2458
  const p = t == null ? void 0 : t.vnode.el, d = Array.from((p == null ? void 0 : p.children) || []).filter((g) => g == null ? void 0 : g.classList.contains(`${n.e("row")}`)), m = d[c], v = d[u];
2455
- m && We(m, "hover-row"), v && nt(v, "hover-row");
2459
+ m && Me(m, "hover-row"), v && nt(v, "hover-row");
2456
2460
  });
2457
2461
  }), $t(() => {
2458
2462
  var u;
@@ -2473,7 +2477,7 @@ var Pr = ne({
2473
2477
  ]);
2474
2478
  }
2475
2479
  });
2476
- function Ht(e) {
2480
+ function Ft(e) {
2477
2481
  const t = e.tableLayout === "auto";
2478
2482
  let l = e.columns || [];
2479
2483
  t && l.every((o) => o.width === void 0) && (l = []);
@@ -2489,7 +2493,7 @@ function Ht(e) {
2489
2493
  };
2490
2494
  return $("colgroup", {}, l.map((o) => $("col", n(o))));
2491
2495
  }
2492
- Ht.props = ["columns", "tableLayout"];
2496
+ Ft.props = ["columns", "tableLayout"];
2493
2497
  function Br() {
2494
2498
  const e = Se(xe), t = e == null ? void 0 : e.store, l = W(() => t.states.fixedLeafColumnsLength.value), n = W(() => t.states.rightFixedColumns.value.length), o = W(() => t.states.columns.value.length), s = W(() => t.states.fixedColumns.value.length), i = W(() => t.states.rightFixedColumns.value.length);
2495
2499
  return {
@@ -2515,7 +2519,7 @@ function Ir(e) {
2515
2519
  return r.className && a.push(r.className), r.children || a.push(l.is("leaf")), a;
2516
2520
  },
2517
2521
  getCellStyles: (s, i) => {
2518
- const r = Ft(i, s.fixed, e.store);
2522
+ const r = Ht(i, s.fixed, e.store);
2519
2523
  return Be(r, "left"), Be(r, "right"), r;
2520
2524
  },
2521
2525
  columns: t
@@ -2590,7 +2594,7 @@ var zr = ne({
2590
2594
  cellpadding: "0",
2591
2595
  border: "0"
2592
2596
  }, [
2593
- Ht({
2597
+ Ft({
2594
2598
  columns: e
2595
2599
  }),
2596
2600
  $("tbody", [
@@ -2745,7 +2749,7 @@ function Vr(e, t, l, n) {
2745
2749
  height: pe,
2746
2750
  headerHeight: e.showHeader && (ge == null ? void 0 : ge.offsetHeight) || 0
2747
2751
  }, x());
2748
- }, O = qn(), z = W(() => {
2752
+ }, k = qn(), z = W(() => {
2749
2753
  const { bodyWidth: b, scrollY: N, gutterWidth: B } = t;
2750
2754
  return b.value ? `${b.value - (N.value ? B : 0)}px` : "";
2751
2755
  }), D = W(() => e.maxHeight ? "fixed" : e.tableLayout), _ = W(() => {
@@ -2758,7 +2762,7 @@ function Vr(e, t, l, n) {
2758
2762
  width: N ? `${N}px` : "",
2759
2763
  height: b
2760
2764
  };
2761
- }), Z = W(() => e.height ? {
2765
+ }), Q = W(() => e.height ? {
2762
2766
  height: Number.isNaN(Number(e.height)) ? e.height : `${e.height}px`
2763
2767
  } : e.maxHeight ? {
2764
2768
  maxHeight: Number.isNaN(Number(e.maxHeight)) ? e.maxHeight : `${e.maxHeight}px`
@@ -2776,7 +2780,7 @@ function Vr(e, t, l, n) {
2776
2780
  isGroup: u,
2777
2781
  handleMouseLeave: S,
2778
2782
  handleHeaderFooterMousewheel: y,
2779
- tableSize: O,
2783
+ tableSize: k,
2780
2784
  emptyBlockStyle: _,
2781
2785
  handleFixedMousewheel: (b, N) => {
2782
2786
  const B = n.refs.bodyWrapper;
@@ -2793,7 +2797,7 @@ function Vr(e, t, l, n) {
2793
2797
  tableBodyStyles: f,
2794
2798
  tableLayout: D,
2795
2799
  scrollbarViewStyle: c,
2796
- tableInnerStyle: Z,
2800
+ tableInnerStyle: Q,
2797
2801
  scrollbarStyle: fe
2798
2802
  };
2799
2803
  }
@@ -2906,14 +2910,14 @@ let qr = 1;
2906
2910
  const Ur = ne({
2907
2911
  name: "ElTable",
2908
2912
  directives: {
2909
- Mousewheel: Oo
2913
+ Mousewheel: ko
2910
2914
  },
2911
2915
  components: {
2912
2916
  TableHeader: $r,
2913
2917
  TableBody: Pr,
2914
2918
  TableFooter: zr,
2915
2919
  ElScrollbar: sl,
2916
- hColgroup: Ht
2920
+ hColgroup: Ft
2917
2921
  },
2918
2922
  props: Dr,
2919
2923
  emits: [
@@ -2971,17 +2975,17 @@ const Ur = ne({
2971
2975
  resizeProxyVisible: A,
2972
2976
  bodyWidth: K,
2973
2977
  resizeState: I,
2974
- doLayout: O,
2978
+ doLayout: k,
2975
2979
  tableBodyStyles: z,
2976
2980
  tableLayout: D,
2977
2981
  scrollbarViewStyle: _,
2978
- tableInnerStyle: Z,
2982
+ tableInnerStyle: Q,
2979
2983
  scrollbarStyle: fe
2980
- } = Vr(e, s, o, n), { scrollBarRef: Q, scrollTo: b, setScrollLeft: N, setScrollTop: B } = Yr(), q = ot(O, 50), X = `${l.namespace.value}-table_${qr++}`;
2984
+ } = Vr(e, s, o, n), { scrollBarRef: Z, scrollTo: b, setScrollLeft: N, setScrollTop: B } = Yr(), q = ot(k, 50), X = `${l.namespace.value}-table_${qr++}`;
2981
2985
  n.tableId = X, n.state = {
2982
2986
  isGroup: C,
2983
2987
  resizeState: I,
2984
- doLayout: O,
2988
+ doLayout: k,
2985
2989
  debouncedUpdateLayout: q
2986
2990
  };
2987
2991
  const G = W(() => e.sumText || t("el.table.sumText")), ce = W(() => e.emptyText || t("el.table.emptyText"));
@@ -3012,7 +3016,7 @@ const Ur = ne({
3012
3016
  toggleAllSelection: d,
3013
3017
  toggleRowExpansion: m,
3014
3018
  clearSort: v,
3015
- doLayout: O,
3019
+ doLayout: k,
3016
3020
  sort: g,
3017
3021
  t,
3018
3022
  setDragVisible: y,
@@ -3021,9 +3025,9 @@ const Ur = ne({
3021
3025
  computedEmptyText: ce,
3022
3026
  tableLayout: D,
3023
3027
  scrollbarViewStyle: _,
3024
- tableInnerStyle: Z,
3028
+ tableInnerStyle: Q,
3025
3029
  scrollbarStyle: fe,
3026
- scrollBarRef: Q,
3030
+ scrollBarRef: Z,
3027
3031
  scrollTo: b,
3028
3032
  setScrollLeft: N,
3029
3033
  setScrollTop: B
@@ -3035,7 +3039,7 @@ const Ur = ne({
3035
3039
  };
3036
3040
  function _r(e, t, l, n, o, s) {
3037
3041
  const i = me("hColgroup"), r = me("table-header"), a = me("table-body"), u = me("el-scrollbar"), c = me("table-footer"), p = dl("mousewheel");
3038
- return F(), U("div", {
3042
+ return H(), U("div", {
3039
3043
  ref: "tableWrapper",
3040
3044
  class: Y([
3041
3045
  {
@@ -3067,7 +3071,7 @@ function _r(e, t, l, n, o, s) {
3067
3071
  re("div", Gr, [
3068
3072
  Ne(e.$slots, "default")
3069
3073
  ], 512),
3070
- e.showHeader && e.tableLayout === "fixed" ? He((F(), U("div", {
3074
+ e.showHeader && e.tableLayout === "fixed" ? He((H(), U("div", {
3071
3075
  key: 0,
3072
3076
  ref: "headerWrapper",
3073
3077
  class: Y(e.ns.e("header-wrapper"))
@@ -3121,7 +3125,7 @@ function _r(e, t, l, n, o, s) {
3121
3125
  columns: e.store.states.columns.value,
3122
3126
  "table-layout": e.tableLayout
3123
3127
  }, null, 8, ["columns", "table-layout"]),
3124
- e.showHeader && e.tableLayout === "auto" ? (F(), le(r, {
3128
+ e.showHeader && e.tableLayout === "auto" ? (H(), le(r, {
3125
3129
  key: 0,
3126
3130
  ref: "tableHeaderRef",
3127
3131
  border: e.border,
@@ -3140,7 +3144,7 @@ function _r(e, t, l, n, o, s) {
3140
3144
  stripe: e.stripe
3141
3145
  }, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "tooltip-options", "row-style", "store", "stripe"])
3142
3146
  ], 6),
3143
- e.isEmpty ? (F(), U("div", {
3147
+ e.isEmpty ? (H(), U("div", {
3144
3148
  key: 0,
3145
3149
  ref: "emptyBlock",
3146
3150
  style: Ce(e.emptyBlockStyle),
@@ -3154,7 +3158,7 @@ function _r(e, t, l, n, o, s) {
3154
3158
  ])
3155
3159
  ], 2)
3156
3160
  ], 6)) : ye("v-if", !0),
3157
- e.$slots.append ? (F(), U("div", {
3161
+ e.$slots.append ? (H(), U("div", {
3158
3162
  key: 1,
3159
3163
  ref: "appendWrapper",
3160
3164
  class: Y(e.ns.e("append-wrapper"))
@@ -3165,7 +3169,7 @@ function _r(e, t, l, n, o, s) {
3165
3169
  _: 3
3166
3170
  }, 8, ["view-style", "wrap-style", "always"])
3167
3171
  ], 2),
3168
- e.showSummary ? He((F(), U("div", {
3172
+ e.showSummary ? He((H(), U("div", {
3169
3173
  key: 1,
3170
3174
  ref: "footerWrapper",
3171
3175
  class: Y(e.ns.e("footer-wrapper"))
@@ -3182,7 +3186,7 @@ function _r(e, t, l, n, o, s) {
3182
3186
  [ft, !e.isEmpty],
3183
3187
  [p, e.handleHeaderFooterMousewheel]
3184
3188
  ]) : ye("v-if", !0),
3185
- e.border || e.isGroup ? (F(), U("div", {
3189
+ e.border || e.isGroup ? (H(), U("div", {
3186
3190
  key: 2,
3187
3191
  class: Y(e.ns.e("border-left-patch"))
3188
3192
  }, null, 2)) : ye("v-if", !0)
@@ -3195,8 +3199,8 @@ function _r(e, t, l, n, o, s) {
3195
3199
  ])
3196
3200
  ], 46, Xr);
3197
3201
  }
3198
- var Zr = /* @__PURE__ */ Ie(Ur, [["render", _r], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);
3199
- const Qr = {
3202
+ var Qr = /* @__PURE__ */ Ie(Ur, [["render", _r], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);
3203
+ const Zr = {
3200
3204
  selection: "table-column--selection",
3201
3205
  expand: "table__expand-column"
3202
3206
  }, Jr = {
@@ -3221,7 +3225,7 @@ const Qr = {
3221
3225
  realWidth: 48,
3222
3226
  order: ""
3223
3227
  }
3224
- }, es = (e) => Qr[e] || "", ts = {
3228
+ }, es = (e) => Zr[e] || "", ts = {
3225
3229
  selection: {
3226
3230
  renderHeader({ store: e, column: t }) {
3227
3231
  function l() {
@@ -3303,7 +3307,7 @@ function ls({
3303
3307
  $index: l
3304
3308
  }) {
3305
3309
  var n;
3306
- const o = t.property, s = o && Qn(e, o).value;
3310
+ const o = t.property, s = o && Zn(e, o).value;
3307
3311
  return t && t.formatter ? t.formatter(e, t, s, l) : ((n = s == null ? void 0 : s.toString) == null ? void 0 : n.call(s)) || "";
3308
3312
  }
3309
3313
  function ns({
@@ -3346,7 +3350,7 @@ function ns({
3346
3350
  }));
3347
3351
  return s;
3348
3352
  }
3349
- function Zt(e, t) {
3353
+ function Qt(e, t) {
3350
3354
  return e.reduce((l, n) => (l[n] = n, l), t);
3351
3355
  }
3352
3356
  function os(e, t) {
@@ -3356,7 +3360,7 @@ function os(e, t) {
3356
3360
  const s = ["fixed"], i = {
3357
3361
  realWidth: "width",
3358
3362
  realMinWidth: "minWidth"
3359
- }, r = Zt(s, i);
3363
+ }, r = Qt(s, i);
3360
3364
  Object.keys(r).forEach((a) => {
3361
3365
  const u = i[a];
3362
3366
  qe(t, u) && be(() => t[u], (c) => {
@@ -3383,7 +3387,7 @@ function os(e, t) {
3383
3387
  property: "prop",
3384
3388
  align: "realAlign",
3385
3389
  headerAlign: "realHeaderAlign"
3386
- }, r = Zt(s, i);
3390
+ }, r = Qt(s, i);
3387
3391
  Object.keys(r).forEach((a) => {
3388
3392
  const u = i[a];
3389
3393
  qe(t, u) && be(() => t[u], (c) => {
@@ -3451,16 +3455,16 @@ function rs(e, t, l) {
3451
3455
  let w = null;
3452
3456
  if (t.default) {
3453
3457
  const z = t.default(R);
3454
- w = z.some((D) => D.type !== Hn) ? z : x(R);
3458
+ w = z.some((D) => D.type !== Fn) ? z : x(R);
3455
3459
  } else
3456
3460
  w = x(R);
3457
- const { columns: L } = l.value.store.states, A = L.value.findIndex((z) => z.type === "default"), K = c.value && R.cellIndex === A, I = ns(R, K), O = {
3461
+ const { columns: L } = l.value.store.states, A = L.value.findIndex((z) => z.type === "default"), K = c.value && R.cellIndex === A, I = ns(R, K), k = {
3458
3462
  class: "cell",
3459
3463
  style: {}
3460
3464
  };
3461
- return f.showOverflowTooltip && (O.class = `${O.class} ${M(a.namespace)}-tooltip`, O.style = {
3465
+ return f.showOverflowTooltip && (k.class = `${k.class} ${M(a.namespace)}-tooltip`, k.style = {
3462
3466
  width: `${(R.column.realWidth || Number(R.column.width)) - 1}px`
3463
- }), g(w), $("div", O, [I, w]);
3467
+ }), g(w), $("div", k, [I, w]);
3464
3468
  }), f;
3465
3469
  },
3466
3470
  getPropsData: (...f) => f.reduce((x, R) => (Array.isArray(R) && R.forEach((w) => {
@@ -3611,7 +3615,7 @@ var Wl = ne({
3611
3615
  if (Array.isArray(n))
3612
3616
  for (const i of n)
3613
3617
  ((l = i.type) == null ? void 0 : l.name) === "ElTableColumn" || i.shapeFlag & 2 ? o.push(i) : i.type === we && Array.isArray(i.children) && i.children.forEach((r) => {
3614
- (r == null ? void 0 : r.patchFlag) !== 1024 && !Ot(r == null ? void 0 : r.children) && o.push(r);
3618
+ (r == null ? void 0 : r.patchFlag) !== 1024 && !kt(r == null ? void 0 : r.children) && o.push(r);
3615
3619
  });
3616
3620
  return $("div", o);
3617
3621
  } catch {
@@ -3619,7 +3623,7 @@ var Wl = ne({
3619
3623
  }
3620
3624
  }
3621
3625
  });
3622
- const is = At(Zr, {
3626
+ const is = At(Qr, {
3623
3627
  TableColumn: Wl
3624
3628
  }), us = fn(Wl);
3625
3629
  function cs(e) {
@@ -3637,7 +3641,7 @@ function cs(e) {
3637
3641
  const d = n.parent, m = p.ns;
3638
3642
  if (!d.vLoadingAddClassList) {
3639
3643
  let v = d.getAttribute("loading-number");
3640
- v = Number.parseInt(v) - 1, v ? d.setAttribute("loading-number", v.toString()) : (We(d, m.bm("parent", "relative")), d.removeAttribute("loading-number")), We(d, m.bm("parent", "hidden"));
3644
+ v = Number.parseInt(v) - 1, v ? d.setAttribute("loading-number", v.toString()) : (Me(d, m.bm("parent", "relative")), d.removeAttribute("loading-number")), Me(d, m.bm("parent", "hidden"));
3641
3645
  }
3642
3646
  i(), c.unmount();
3643
3647
  }
@@ -3714,7 +3718,7 @@ function cs(e) {
3714
3718
  }
3715
3719
  let _e;
3716
3720
  const ds = function(e = {}) {
3717
- if (!Me)
3721
+ if (!Fe)
3718
3722
  return;
3719
3723
  const t = fs(e);
3720
3724
  if (t.fullscreen && _e)
@@ -3726,13 +3730,13 @@ const ds = function(e = {}) {
3726
3730
  (o = t.closed) == null || o.call(t), t.fullscreen && (_e = void 0);
3727
3731
  }
3728
3732
  });
3729
- ps(t, t.parent, l), Qt(t, t.parent, l), t.parent.vLoadingAddClassList = () => Qt(t, t.parent, l);
3733
+ ps(t, t.parent, l), Zt(t, t.parent, l), t.parent.vLoadingAddClassList = () => Zt(t, t.parent, l);
3730
3734
  let n = t.parent.getAttribute("loading-number");
3731
3735
  return n ? n = `${Number.parseInt(n) + 1}` : n = "1", t.parent.setAttribute("loading-number", n), t.parent.appendChild(l.$el), Ae(() => l.visible.value = t.visible), t.fullscreen && (_e = l), l;
3732
3736
  }, fs = (e) => {
3733
3737
  var t, l, n, o;
3734
3738
  let s;
3735
- return Ot(e.target) ? s = (t = document.querySelector(e.target)) != null ? t : document.body : s = e.target || document.body, {
3739
+ return kt(e.target) ? s = (t = document.querySelector(e.target)) != null ? t : document.body : s = e.target || document.body, {
3736
3740
  parent: s === document.body || e.body ? document.body : s,
3737
3741
  background: e.background || "",
3738
3742
  svg: e.svg || "",
@@ -3761,13 +3765,13 @@ const ds = function(e = {}) {
3761
3765
  l.originalPosition.value = Ke(t, "position");
3762
3766
  for (const [s, i] of Object.entries(o))
3763
3767
  l.$el.style[s] = i;
3764
- }, Qt = (e, t, l) => {
3768
+ }, Zt = (e, t, l) => {
3765
3769
  const n = l.vm.ns || l.vm._.exposed.ns;
3766
- ["absolute", "fixed", "sticky"].includes(l.originalPosition.value) ? We(t, n.bm("parent", "relative")) : nt(t, n.bm("parent", "relative")), e.fullscreen && e.lock ? nt(t, n.bm("parent", "hidden")) : We(t, n.bm("parent", "hidden"));
3770
+ ["absolute", "fixed", "sticky"].includes(l.originalPosition.value) ? Me(t, n.bm("parent", "relative")) : nt(t, n.bm("parent", "relative")), e.fullscreen && e.lock ? nt(t, n.bm("parent", "hidden")) : Me(t, n.bm("parent", "hidden"));
3767
3771
  }, Lt = Symbol("ElLoading"), Jt = (e, t) => {
3768
3772
  var l, n, o, s;
3769
3773
  const i = t.instance, r = (d) => lt(t.value) ? t.value[d] : void 0, a = (d) => {
3770
- const m = Ot(d) && (i == null ? void 0 : i[d]) || d;
3774
+ const m = kt(d) && (i == null ? void 0 : i[d]) || d;
3771
3775
  return m && E(m);
3772
3776
  }, u = (d) => a(r(d) || e.getAttribute(`element-loading-${pn(d)}`)), c = (l = r("fullscreen")) != null ? l : t.modifiers.fullscreen, p = {
3773
3777
  text: u("text"),
@@ -3824,8 +3828,8 @@ const el = /* @__PURE__ */ ne({
3824
3828
  });
3825
3829
  return (n, o) => {
3826
3830
  const s = pt, i = Do;
3827
- return l.value ? (F(), U(we, { key: 0 }, [
3828
- e.option.needCheck ? (F(), le(i, {
3831
+ return l.value ? (H(), U(we, { key: 0 }, [
3832
+ e.option.needCheck ? (H(), le(i, {
3829
3833
  key: 0,
3830
3834
  title: e.option.needCheck.title,
3831
3835
  onConfirm: o[0] || (o[0] = (r) => e.option.onClick(e.scope.row, e.scope.$index))
@@ -3843,7 +3847,7 @@ const el = /* @__PURE__ */ ne({
3843
3847
  }, 8, ["type", "disabled", "style"])
3844
3848
  ]),
3845
3849
  _: 1
3846
- }, 8, ["title"])) : (F(), le(s, {
3850
+ }, 8, ["title"])) : (H(), le(s, {
3847
3851
  key: 1,
3848
3852
  type: e.option.type,
3849
3853
  disabled: typeof e.option.disabled == "function" ? e.option.disabled(e.scope.row, e.scope.$index) : e.option.disabled,
@@ -3855,7 +3859,7 @@ const el = /* @__PURE__ */ ne({
3855
3859
  ]),
3856
3860
  _: 1
3857
3861
  }, 8, ["type", "disabled", "style"]))
3858
- ], 64)) : (F(), U(we, { key: 1 }, [], 64));
3862
+ ], 64)) : (H(), U(we, { key: 1 }, [], 64));
3859
3863
  };
3860
3864
  }
3861
3865
  }), ms = /* @__PURE__ */ ne({
@@ -3871,7 +3875,7 @@ const el = /* @__PURE__ */ ne({
3871
3875
  }
3872
3876
  },
3873
3877
  setup(e) {
3874
- return (t, l) => (F(), U("div", {
3878
+ return (t, l) => (H(), U("div", {
3875
3879
  style: Ce(typeof e.option.style == "function" ? e.option.style(e.scope.row[e.option.prop], e.scope.row) : e.option.style)
3876
3880
  }, ie(typeof e.option.formatter == "function" ? e.option.formatter(e.scope.row[e.option.prop], e.scope.row) : e.scope.row[e.option.prop]), 5));
3877
3881
  }
@@ -3902,9 +3906,9 @@ const el = /* @__PURE__ */ ne({
3902
3906
  }, i = (r, a) => r.filter((u) => typeof u.show == "function" && u.show(a.row, a.$index) === !1 ? !1 : u.show !== !1);
3903
3907
  return (r, a) => {
3904
3908
  const u = Xe, c = er, p = us, d = is, m = vn, v = vs;
3905
- return F(), le(m, { locale: M(hn) }, {
3909
+ return H(), le(m, { locale: M(hn) }, {
3906
3910
  default: j(() => [
3907
- He((F(), le(d, {
3911
+ He((H(), le(d, {
3908
3912
  data: e.data,
3909
3913
  "empty-text": e.emptyText,
3910
3914
  stripe: "",
@@ -3912,7 +3916,7 @@ const el = /* @__PURE__ */ ne({
3912
3916
  onSortChange: s
3913
3917
  }, {
3914
3918
  default: j(() => [
3915
- (F(!0), U(we, null, Ve(o.value, (g) => (F(), le(p, {
3919
+ (H(!0), U(we, null, Ve(o.value, (g) => (H(), le(p, {
3916
3920
  key: g.prop,
3917
3921
  prop: g.prop,
3918
3922
  label: g.label,
@@ -3940,11 +3944,11 @@ const el = /* @__PURE__ */ ne({
3940
3944
  } : g.type === "btns" ? {
3941
3945
  name: "default",
3942
3946
  fn: j((h) => [
3943
- (F(!0), U(we, null, Ve(g.btns, (S, y) => (F(), U(we, {
3947
+ (H(!0), U(we, null, Ve(g.btns, (S, y) => (H(), U(we, {
3944
3948
  key: `${S.text}-${y}`
3945
3949
  }, [
3946
- S.children ? (F(), U(we, { key: 0 }, [
3947
- i(S.children, h).length ? (F(), le(c, {
3950
+ S.children ? (H(), U(we, { key: 0 }, [
3951
+ i(S.children, h).length ? (H(), le(c, {
3948
3952
  key: 0,
3949
3953
  placement: "bottom",
3950
3954
  trigger: "hover",
@@ -3962,7 +3966,7 @@ const el = /* @__PURE__ */ ne({
3962
3966
  })
3963
3967
  ]),
3964
3968
  default: j(() => [
3965
- (F(!0), U(we, null, Ve(i(S.children, h), (C, f) => (F(), U("div", {
3969
+ (H(!0), U(we, null, Ve(i(S.children, h), (C, f) => (H(), U("div", {
3966
3970
  key: `${C.text}-${f}`
3967
3971
  }, [
3968
3972
  J(el, {
@@ -3974,7 +3978,7 @@ const el = /* @__PURE__ */ ne({
3974
3978
  ]),
3975
3979
  _: 2
3976
3980
  }, 1024)) : ye("", !0)
3977
- ], 64)) : (F(), le(el, {
3981
+ ], 64)) : (H(), le(el, {
3978
3982
  key: 1,
3979
3983
  option: S,
3980
3984
  scope: h
@@ -3994,11 +3998,11 @@ const el = /* @__PURE__ */ ne({
3994
3998
  }, 8, ["locale"]);
3995
3999
  };
3996
4000
  }
3997
- }), ks = {
4001
+ }), Hs = {
3998
4002
  install(e) {
3999
4003
  e.component("st-table", gs);
4000
4004
  }
4001
4005
  };
4002
4006
  export {
4003
- ks as default
4007
+ Hs as default
4004
4008
  };