st-comp 0.0.147 → 0.0.149

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 (142) hide show
  1. package/components.d.ts +3 -0
  2. package/es/ChartLayout.cjs +1 -1
  3. package/es/ChartLayout.js +2 -2
  4. package/es/Dialog.cjs +1 -1
  5. package/es/Dialog.js +26 -22
  6. package/es/FactorWarning.cjs +1 -1
  7. package/es/FactorWarning.js +112 -103
  8. package/es/Kline.cjs +1 -0
  9. package/es/Kline.js +1901 -0
  10. package/es/KlineBasic.cjs +1 -1
  11. package/es/KlineBasic.js +675 -1422
  12. package/es/KlineNew.cjs +1 -3
  13. package/es/KlineNew.js +314 -2736
  14. package/es/Pagination.cjs +1 -1
  15. package/es/Pagination.js +102 -96
  16. package/es/Table.cjs +1 -1
  17. package/es/Table.js +66 -60
  18. package/es/User.cjs +1 -1
  19. package/es/User.js +102 -95
  20. package/es/VarietySearch.cjs +1 -1
  21. package/es/VarietySearch.js +41 -32
  22. package/es/VirtualTable.cjs +13 -1
  23. package/es/VirtualTable.js +2801 -1
  24. package/es/{_initCloneObject-a8dcd058.js → _initCloneObject-14b53c6f.js} +26 -26
  25. package/es/_initCloneObject-441db749.cjs +1 -0
  26. package/es/{base-674a354a.js → base-437d17f3.js} +64 -63
  27. package/es/{base-00ce90ec.cjs → base-ec05f348.cjs} +3 -3
  28. package/es/castArray-4251bbe4.js +10 -0
  29. package/es/castArray-a45823fe.cjs +1 -0
  30. package/es/config-provider-55482a43.js +47 -0
  31. package/es/config-provider-7cdfca4d.cjs +1 -0
  32. package/es/debounce-ac30be50.js +83 -0
  33. package/es/debounce-b2ff12bd.cjs +1 -0
  34. package/es/{dropdown-ce30ada6.js → dropdown-634b5e27.js} +31 -30
  35. package/es/dropdown-d7c59a21.cjs +1 -0
  36. package/es/el-button-196807af.cjs +1 -0
  37. package/es/el-button-e1665717.js +235 -0
  38. package/es/el-checkbox-group-492b95cc.cjs +1 -0
  39. package/es/{el-checkbox-group-0554b352.js → el-checkbox-group-e8fece80.js} +10 -10
  40. package/es/{el-empty-87154b6d.cjs → el-empty-19ea04f4.cjs} +1 -1
  41. package/es/{el-empty-39b3aed7.js → el-empty-bacc6613.js} +5 -5
  42. package/es/el-form-item-5bdffd07.cjs +12 -0
  43. package/es/{el-form-item-fc6f80ab.js → el-form-item-af1855f0.js} +79 -78
  44. package/es/el-input-23e2bac3.cjs +1 -0
  45. package/es/{el-input-d249ac86.js → el-input-4961b99f.js} +84 -82
  46. package/es/el-input-number-40a81eb5.cjs +1 -0
  47. package/es/{el-input-number-2066fbb7.js → el-input-number-610fc8ba.js} +36 -35
  48. package/es/el-menu-item-78b858f2.cjs +1 -0
  49. package/es/el-menu-item-7d04c11a.js +771 -0
  50. package/es/{el-message-9859835d.js → el-message-c3b3ac96.js} +81 -79
  51. package/es/el-message-d4df8136.cjs +1 -0
  52. package/es/el-overlay-12dd9b35.js +519 -0
  53. package/es/el-overlay-bc0790a2.cjs +1 -0
  54. package/es/{el-popover-b7b43c1f.js → el-popover-0aa071f2.js} +18 -18
  55. package/es/el-popover-8a77e015.cjs +1 -0
  56. package/es/el-popper-50100766.js +2262 -0
  57. package/es/el-popper-746070ba.cjs +1 -0
  58. package/es/el-scrollbar-562d0595.js +201 -0
  59. package/es/el-scrollbar-d1c3e7f7.cjs +1 -0
  60. package/es/{el-select-bcbb7e55.js → el-select-9381b156.js} +333 -329
  61. package/es/el-select-b162dffc.cjs +1 -0
  62. package/es/{el-table-column-c1e1a206.js → el-table-column-55bffba5.js} +350 -346
  63. package/es/el-table-column-6d761fce.cjs +14 -0
  64. package/es/el-tag-985d9aff.js +279 -0
  65. package/es/el-tag-c51a6490.cjs +1 -0
  66. package/es/index-09e01b1d.js +81 -0
  67. package/es/index-0cb48e01.js +306 -0
  68. package/es/{index-45de4a12.js → index-39ec9741.js} +7 -7
  69. package/es/index-3bf8d597.cjs +1 -0
  70. package/es/index-657047bb.js +513 -0
  71. package/es/index-8a0b1c53.cjs +3 -0
  72. package/es/index-a387515d.cjs +1 -0
  73. package/es/index-a902a0d9.js +59 -0
  74. package/es/index-deb8de52.cjs +1 -0
  75. package/es/index-eea0bcb3.cjs +1 -0
  76. package/es/index.esm-8d9a2abe.js +2432 -0
  77. package/es/index.esm-94a95a2a.cjs +3 -0
  78. package/es/raf-8fc301fd.cjs +1 -0
  79. package/es/raf-b128c7b7.js +6 -0
  80. package/es/{scroll-cb696ed2.js → scroll-387fcfdb.js} +1 -1
  81. package/es/{scroll-cca17da0.cjs → scroll-41224831.cjs} +1 -1
  82. package/es/style.css +1 -1
  83. package/es/typescript-7ae59c4c.js +4 -0
  84. package/es/typescript-b63f8e83.cjs +1 -0
  85. package/es/use-form-common-props-1b84d8f4.cjs +2 -0
  86. package/es/use-form-common-props-f377e500.js +587 -0
  87. package/es/vnode-7dfd4ed5.js +14 -0
  88. package/es/vnode-7fbc61e1.cjs +1 -0
  89. package/es/{zh-cn-37af467d.cjs → zh-cn-ab9a583d.cjs} +1 -1
  90. package/es/{zh-cn-ef7d7220.js → zh-cn-eb9c2820.js} +2 -2
  91. package/lib/bundle.js +1 -1
  92. package/lib/bundle.umd.cjs +206 -206
  93. package/lib/{index-24f8572c.js → index-d2de454d.js} +33249 -31372
  94. package/lib/{python-2143eee4.js → python-22975586.js} +1 -1
  95. package/lib/style.css +1 -1
  96. package/package.json +1 -1
  97. package/packages/Kline/components/Contextmenu/index.vue +110 -0
  98. package/packages/Kline/components/Tips/index.vue +40 -0
  99. package/packages/Kline/componentsNew/KlineSlide/index.vue +155 -0
  100. package/packages/Kline/componentsNew/KlineSub/index.vue +297 -0
  101. package/packages/Kline/componentsNew/KlineTips/index.vue +66 -0
  102. package/packages/Kline/componentsNew/KlineUtils/index.vue +84 -0
  103. package/packages/Kline/componentsNew/Tips/index.vue +33 -0
  104. package/packages/Kline/formatKlineData.ts +109 -0
  105. package/packages/Kline/images/buy.svg +1 -0
  106. package/packages/Kline/images/pen.png +0 -0
  107. package/packages/Kline/images/sell.svg +1 -0
  108. package/packages/Kline/images/t.svg +1 -0
  109. package/packages/Kline/index.ts +16 -0
  110. package/packages/Kline/index.vue +891 -0
  111. package/packages/Kline/option.ts +539 -0
  112. package/packages/Kline/type.d.ts +219 -0
  113. package/packages/Kline/utils.ts +682 -0
  114. package/packages/KlineBasic/utils.js +1 -1
  115. package/packages/index.ts +2 -0
  116. package/src/pages/Kline/index.vue +12 -0
  117. package/src/router/routes.ts +5 -0
  118. package/es/_initCloneObject-7493ecd5.cjs +0 -1
  119. package/es/config-provider-419ffbf2.js +0 -120
  120. package/es/config-provider-68414290.cjs +0 -3
  121. package/es/dropdown-127a8c0d.cjs +0 -1
  122. package/es/el-button-7b9f5933.js +0 -745
  123. package/es/el-button-c00975e1.cjs +0 -1
  124. package/es/el-checkbox-group-7a313d34.cjs +0 -1
  125. package/es/el-form-item-7867f64d.cjs +0 -12
  126. package/es/el-input-2ff1628c.cjs +0 -1
  127. package/es/el-input-number-d6801a5c.cjs +0 -1
  128. package/es/el-message-ffcf690c.cjs +0 -1
  129. package/es/el-overlay-91784be2.cjs +0 -1
  130. package/es/el-overlay-f0757cc4.js +0 -525
  131. package/es/el-popover-4db657e2.cjs +0 -1
  132. package/es/el-scrollbar-35bac6b3.js +0 -2452
  133. package/es/el-scrollbar-ec09bbd3.cjs +0 -1
  134. package/es/el-select-0785c35a.cjs +0 -1
  135. package/es/el-table-column-2478adf8.cjs +0 -14
  136. package/es/el-tag-13ee17b3.cjs +0 -1
  137. package/es/el-tag-73372c6c.js +0 -359
  138. package/es/index-07b61d12.cjs +0 -1
  139. package/es/index-65b719a4.cjs +0 -1
  140. package/es/index-8b5fbc11.js +0 -66
  141. package/es/index-8c85d7c5.js +0 -858
  142. package/es/index-a49f4743.cjs +0 -2
@@ -1,40 +1,44 @@
1
- import { inject as se, computed as T, getCurrentInstance as ne, watch as de, nextTick as We, ref as L, toRaw as _t, defineComponent as he, useSlots as sl, openBlock as I, createBlock as Fe, resolveDynamicComponent as rl, unref as O, normalizeClass as B, withCtx as Re, createElementVNode as ae, withDirectives as Oe, createElementBlock as X, isRef as je, withModifiers as at, vModelCheckbox as st, renderSlot as Le, Fragment as rt, createTextVNode as dt, toDisplayString as Ne, createCommentVNode as xe, normalizeStyle as $e, provide as il, toRefs as ul, createVNode as we, render as jt, isVNode as vn, resolveComponent as be, resolveDirective as cl, renderList as Ut, onBeforeMount as dl, onMounted as qe, onUpdated as pn, onUnmounted as Tt, reactive as mn, h as P, watchEffect as Ie, onBeforeUnmount as fl, vShow as Gt, Comment as gn } from "vue";
2
- import { C as bn, D as yn, B as Cn, e as ft, m as wn, x as Sn, z as xn, F as Yt, S as En, G as Ln, c as hl, H as kn, E as vl, j as pl, b as qt, d as Xt } from "./el-scrollbar-35bac6b3.js";
3
- import { A as Wt, T as ml, P as gl, a0 as Rn, a as gt, a1 as Nn, a2 as Fn, i as Ae, n as fe, k as Te, y as Ee, j as Ce, m as Mt, J as ee, O as He, v as Ue, u as ve, _ as Ve, b as On, d as Tn, w as bl, I as Ht, H as Ge, e as ye, t as Wn, o as Qt, g as yl, F as it, c as Mn, K as ze, D as Ye } from "./base-674a354a.js";
4
- import { a as vt, g as Cl } from "./config-provider-419ffbf2.js";
5
- import { a1 as Hn, x as $n, d as $t, U as ht, f as An, e as At, u as bt, r as wl, E as Pt, g as Pn, h as Bn, X as Sl, F as Vn } from "./index-8c85d7c5.js";
6
- import { g as Kn, c as zn, k as xl, d as In, e as Dn, b as _n, i as jn } from "./_initCloneObject-a8dcd058.js";
7
- import { b as Un, i as Gn, d as ut, C as Yn } from "./el-tag-73372c6c.js";
8
- function qn(e, t) {
1
+ import { inject as se, computed as T, getCurrentInstance as ne, watch as de, nextTick as Me, ref as L, toRaw as _t, defineComponent as he, useSlots as sl, openBlock as z, createBlock as Fe, resolveDynamicComponent as rl, unref as O, normalizeClass as B, withCtx as Re, createElementVNode as ae, withDirectives as Oe, createElementBlock as X, isRef as _e, withModifiers as at, vModelCheckbox as st, renderSlot as Le, Fragment as rt, createTextVNode as dt, toDisplayString as Ne, createCommentVNode as xe, normalizeStyle as He, provide as il, toRefs as ul, createVNode as we, render as jt, isVNode as vn, resolveComponent as be, resolveDirective as cl, renderList as Ut, onBeforeMount as dl, onMounted as qe, onUpdated as pn, onUnmounted as Tt, reactive as mn, h as P, watchEffect as Ie, onBeforeUnmount as fl, vShow as Gt, Comment as gn } from "vue";
2
+ import { s as bn, o as yn, i as Cn, f as ft, k as wn, g as Sn, h as xn, j as Yt, S as En, l as Ln, u as hl, p as kn, E as vl, d as pl } from "./el-popper-50100766.js";
3
+ import { G as Mt, H as ml, I as gl, J as Rn, K as gt, L as Nn, M as Fn, i as fe, a as Te, c as Ee, l as Ce, f as Wt, s as ee, C as $e, g as je, u as ve, _ as Be, b as On, d as Tn, w as bl, v as $t, k as Ue, h as ye, t as Mn, D as qt, j as Ge, x as yl, n as it, m as Wn, o as Ke, r as Ye } from "./base-437d17f3.js";
4
+ import { a as vt, g as Cl } from "./index-09e01b1d.js";
5
+ import { D as $n, F as Hn, u as Ht, b as An, d as At, a as bt, e as wl, E as Pt, g as Pn, y as Bn, h as Sl, l as Vn } from "./use-form-common-props-f377e500.js";
6
+ import { g as Kn, c as In, k as xl, a as zn, b as Dn, d as _n, i as jn } from "./_initCloneObject-14b53c6f.js";
7
+ import { b as Un, i as Gn, C as Yn } from "./el-tag-985d9aff.js";
8
+ import { d as ut } from "./debounce-ac30be50.js";
9
+ import { U as ht } from "./index-0cb48e01.js";
10
+ import { r as qn } from "./raf-b128c7b7.js";
11
+ import { b as Xt, a as Qt } from "./el-scrollbar-562d0595.js";
12
+ function Xn(e, t) {
9
13
  return bn(yn(e, t, Cn), e + "");
10
14
  }
11
- function Xn(e, t, n) {
12
- if (!Wt(n))
15
+ function Qn(e, t, n) {
16
+ if (!Mt(n))
13
17
  return !1;
14
18
  var l = typeof t;
15
- return (l == "number" ? ft(n) && Hn(t, n.length) : l == "string" && t in n) ? ml(n[t], e) : !1;
19
+ return (l == "number" ? ft(n) && $n(t, n.length) : l == "string" && t in n) ? ml(n[t], e) : !1;
16
20
  }
17
- function Qn(e) {
18
- return qn(function(t, n) {
21
+ function Jn(e) {
22
+ return Xn(function(t, n) {
19
23
  var l = -1, s = n.length, r = s > 1 ? n[s - 1] : void 0, i = s > 2 ? n[2] : void 0;
20
- for (r = e.length > 3 && typeof r == "function" ? (s--, r) : void 0, i && Xn(n[0], n[1], i) && (r = s < 3 ? void 0 : r, s = 1), t = Object(t); ++l < s; ) {
24
+ for (r = e.length > 3 && typeof r == "function" ? (s--, r) : void 0, i && Qn(n[0], n[1], i) && (r = s < 3 ? void 0 : r, s = 1), t = Object(t); ++l < s; ) {
21
25
  var o = n[l];
22
26
  o && e(t, o, l, r);
23
27
  }
24
28
  return t;
25
29
  });
26
30
  }
27
- var Jn = "[object Object]", Zn = Function.prototype, eo = Object.prototype, El = Zn.toString, to = eo.hasOwnProperty, lo = El.call(Object);
28
- function no(e) {
29
- if (!gl(e) || Rn(e) != Jn)
31
+ var Zn = "[object Object]", eo = Function.prototype, to = Object.prototype, El = eo.toString, lo = to.hasOwnProperty, no = El.call(Object);
32
+ function oo(e) {
33
+ if (!gl(e) || Rn(e) != Zn)
30
34
  return !1;
31
35
  var t = Kn(e);
32
36
  if (t === null)
33
37
  return !0;
34
- var n = to.call(t, "constructor") && t.constructor;
35
- return typeof n == "function" && n instanceof n && El.call(n) == lo;
38
+ var n = lo.call(t, "constructor") && t.constructor;
39
+ return typeof n == "function" && n instanceof n && El.call(n) == no;
36
40
  }
37
- function oo(e) {
41
+ function ao(e) {
38
42
  return function(t, n, l) {
39
43
  for (var s = -1, r = Object(t), i = l(t), o = i.length; o--; ) {
40
44
  var a = i[e ? o : ++s];
@@ -44,12 +48,12 @@ function oo(e) {
44
48
  return t;
45
49
  };
46
50
  }
47
- var ao = oo();
48
- const Ll = ao;
49
- function so(e, t) {
51
+ var so = ao();
52
+ const Ll = so;
53
+ function ro(e, t) {
50
54
  return e && Ll(e, t, wn);
51
55
  }
52
- function ro(e, t) {
56
+ function io(e, t) {
53
57
  return function(n, l) {
54
58
  if (n == null)
55
59
  return n;
@@ -60,22 +64,22 @@ function ro(e, t) {
60
64
  return n;
61
65
  };
62
66
  }
63
- var io = ro(so);
64
- const uo = io;
67
+ var uo = io(ro);
68
+ const co = uo;
65
69
  function yt(e, t, n) {
66
- (n !== void 0 && !ml(e[t], n) || n === void 0 && !(t in e)) && $n(e, t, n);
70
+ (n !== void 0 && !ml(e[t], n) || n === void 0 && !(t in e)) && Hn(e, t, n);
67
71
  }
68
- function co(e) {
72
+ function fo(e) {
69
73
  return gl(e) && ft(e);
70
74
  }
71
75
  function Ct(e, t) {
72
76
  if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
73
77
  return e[t];
74
78
  }
75
- function fo(e) {
76
- return zn(e, xl(e));
79
+ function ho(e) {
80
+ return In(e, xl(e));
77
81
  }
78
- function ho(e, t, n, l, s, r, i) {
82
+ function vo(e, t, n, l, s, r, i) {
79
83
  var o = Ct(e, n), a = Ct(t, n), u = i.get(a);
80
84
  if (u) {
81
85
  yt(e, n, u);
@@ -84,40 +88,40 @@ function ho(e, t, n, l, s, r, i) {
84
88
  var c = r ? r(o, a, n + "", e, t, i) : void 0, h = c === void 0;
85
89
  if (h) {
86
90
  var v = gt(a), y = !v && Sn(a), f = !v && !y && xn(a);
87
- c = a, v || y || f ? gt(o) ? c = o : co(o) ? c = In(o) : y ? (h = !1, c = Dn(a, !0)) : f ? (h = !1, c = _n(a, !0)) : c = [] : no(a) || Yt(a) ? (c = o, Yt(o) ? c = fo(o) : (!Wt(o) || Nn(o)) && (c = jn(a))) : h = !1;
91
+ c = a, v || y || f ? gt(o) ? c = o : fo(o) ? c = zn(o) : y ? (h = !1, c = Dn(a, !0)) : f ? (h = !1, c = _n(a, !0)) : c = [] : oo(a) || Yt(a) ? (c = o, Yt(o) ? c = ho(o) : (!Mt(o) || Nn(o)) && (c = jn(a))) : h = !1;
88
92
  }
89
93
  h && (i.set(a, c), s(c, a, l, r, i), i.delete(a)), yt(e, n, c);
90
94
  }
91
95
  function kl(e, t, n, l, s) {
92
96
  e !== t && Ll(t, function(r, i) {
93
- if (s || (s = new En()), Wt(r))
94
- ho(e, t, i, n, kl, l, s);
97
+ if (s || (s = new En()), Mt(r))
98
+ vo(e, t, i, n, kl, l, s);
95
99
  else {
96
100
  var o = l ? l(Ct(e, i), r, i + "", e, t, s) : void 0;
97
101
  o === void 0 && (o = r), yt(e, i, o);
98
102
  }
99
103
  }, xl);
100
104
  }
101
- function vo(e, t) {
105
+ function po(e, t) {
102
106
  var n = -1, l = ft(e) ? Array(e.length) : [];
103
- return uo(e, function(s, r, i) {
107
+ return co(e, function(s, r, i) {
104
108
  l[++n] = t(s, r, i);
105
109
  }), l;
106
110
  }
107
- function po(e, t) {
108
- var n = gt(e) ? Fn : vo;
111
+ function mo(e, t) {
112
+ var n = gt(e) ? Fn : po;
109
113
  return n(e, Un(t));
110
114
  }
111
- function mo(e, t) {
112
- return Ln(po(e, t), 1);
115
+ function go(e, t) {
116
+ return Ln(mo(e, t), 1);
113
117
  }
114
118
  function Xe(e) {
115
119
  return e === null;
116
120
  }
117
- var go = Qn(function(e, t, n) {
121
+ var bo = Jn(function(e, t, n) {
118
122
  kl(e, t, n);
119
123
  });
120
- const Rl = go, bo = (e) => Ae ? window.requestAnimationFrame(e) : setTimeout(e, 16), Nl = {
124
+ const Rl = bo, Nl = {
121
125
  modelValue: {
122
126
  type: [Number, String, Boolean],
123
127
  default: void 0
@@ -158,7 +162,7 @@ const Rl = go, bo = (e) => Ae ? window.requestAnimationFrame(e) : setTimeout(e,
158
162
  default: void 0
159
163
  },
160
164
  border: Boolean,
161
- size: $t,
165
+ size: Ht,
162
166
  tabindex: [String, Number],
163
167
  validateEvent: {
164
168
  type: Boolean,
@@ -168,11 +172,11 @@ const Rl = go, bo = (e) => Ae ? window.requestAnimationFrame(e) : setTimeout(e,
168
172
  }, Fl = {
169
173
  [ht]: (e) => fe(e) || Te(e) || Ee(e),
170
174
  change: (e) => fe(e) || Te(e) || Ee(e)
171
- }, Ke = Symbol("checkboxGroupContextKey"), yo = ({
175
+ }, Ve = Symbol("checkboxGroupContextKey"), yo = ({
172
176
  model: e,
173
177
  isChecked: t
174
178
  }) => {
175
- const n = se(Ke, void 0), l = T(() => {
179
+ const n = se(Ve, void 0), l = T(() => {
176
180
  var r, i;
177
181
  const o = (r = n == null ? void 0 : n.max) == null ? void 0 : r.value, a = (i = n == null ? void 0 : n.min) == null ? void 0 : i.value;
178
182
  return !Ce(o) && e.value.length >= o && !t.value || !Ce(a) && e.value.length <= a && t.value;
@@ -188,7 +192,7 @@ const Rl = go, bo = (e) => Ae ? window.requestAnimationFrame(e) : setTimeout(e,
188
192
  isDisabled: s,
189
193
  isLabeledByFormItem: r
190
194
  }) => {
191
- const i = se(Ke, void 0), { formItem: o } = At(), { emit: a } = ne();
195
+ const i = se(Ve, void 0), { formItem: o } = At(), { emit: a } = ne();
192
196
  function u(f) {
193
197
  var b, g, C, k;
194
198
  return [!0, e.trueValue, e.trueLabel].includes(f) ? (g = (b = e.trueValue) != null ? b : e.trueLabel) != null ? g : !0 : (k = (C = e.falseValue) != null ? C : e.falseLabel) != null ? k : !1;
@@ -203,17 +207,17 @@ const Rl = go, bo = (e) => Ae ? window.requestAnimationFrame(e) : setTimeout(e,
203
207
  a("change", u(b.checked), f);
204
208
  }
205
209
  async function v(f) {
206
- n.value || !l.value && !s.value && r.value && (f.composedPath().some((C) => C.tagName === "LABEL") || (t.value = u([!1, e.falseValue, e.falseLabel].includes(t.value)), await We(), c(t.value, f)));
210
+ n.value || !l.value && !s.value && r.value && (f.composedPath().some((C) => C.tagName === "LABEL") || (t.value = u([!1, e.falseValue, e.falseLabel].includes(t.value)), await Me(), c(t.value, f)));
207
211
  }
208
212
  const y = T(() => (i == null ? void 0 : i.validateEvent) || e.validateEvent);
209
213
  return de(() => e.modelValue, () => {
210
- y.value && (o == null || o.validate("change").catch((f) => Mt(f)));
214
+ y.value && (o == null || o.validate("change").catch((f) => Wt(f)));
211
215
  }), {
212
216
  handleChange: h,
213
217
  onClickRoot: v
214
218
  };
215
219
  }, wo = (e) => {
216
- const t = L(!1), { emit: n } = ne(), l = se(Ke, void 0), s = T(() => Ce(l) === !1), r = L(!1), i = T({
220
+ const t = L(!1), { emit: n } = ne(), l = se(Ve, void 0), s = T(() => Ce(l) === !1), r = L(!1), i = T({
217
221
  get() {
218
222
  var o, a;
219
223
  return s.value ? (o = l == null ? void 0 : l.modelValue) == null ? void 0 : o.value : (a = e.modelValue) != null ? a : t.value;
@@ -229,9 +233,9 @@ const Rl = go, bo = (e) => Ae ? window.requestAnimationFrame(e) : setTimeout(e,
229
233
  isLimitExceeded: r
230
234
  };
231
235
  }, So = (e, t, { model: n }) => {
232
- const l = se(Ke, void 0), s = L(!1), r = T(() => He(e.value) ? e.label : e.value), i = T(() => {
236
+ const l = se(Ve, void 0), s = L(!1), r = T(() => $e(e.value) ? e.label : e.value), i = T(() => {
233
237
  const c = n.value;
234
- return Ee(c) ? c : ee(c) ? Ue(r.value) ? c.map(_t).some((h) => Gn(h, r.value)) : c.map(_t).includes(r.value) : c != null ? c === e.trueValue || c === e.trueLabel : !!c;
238
+ return Ee(c) ? c : ee(c) ? je(r.value) ? c.map(_t).some((h) => Gn(h, r.value)) : c.map(_t).includes(r.value) : c != null ? c === e.trueValue || c === e.trueLabel : !!c;
235
239
  }), o = bt(T(() => {
236
240
  var c;
237
241
  return (c = l == null ? void 0 : l.size) == null ? void 0 : c.value;
@@ -240,7 +244,7 @@ const Rl = go, bo = (e) => Ae ? window.requestAnimationFrame(e) : setTimeout(e,
240
244
  }), a = bt(T(() => {
241
245
  var c;
242
246
  return (c = l == null ? void 0 : l.size) == null ? void 0 : c.value;
243
- })), u = T(() => !!t.default || !He(r.value));
247
+ })), u = T(() => !!t.default || !$e(r.value));
244
248
  return {
245
249
  checkboxButtonSize: o,
246
250
  isChecked: i,
@@ -280,7 +284,7 @@ const Rl = go, bo = (e) => Ae ? window.requestAnimationFrame(e) : setTimeout(e,
280
284
  version: "3.0.0",
281
285
  scope: "el-checkbox",
282
286
  ref: "https://element-plus.org/en-US/component/checkbox.html"
283
- }, T(() => s.value && He(e.value))), vt({
287
+ }, T(() => s.value && $e(e.value))), vt({
284
288
  from: "true-label",
285
289
  replacement: "true-value",
286
290
  version: "3.0.0",
@@ -338,7 +342,7 @@ const Rl = go, bo = (e) => Ae ? window.requestAnimationFrame(e) : setTimeout(e,
338
342
  f.is("indeterminate", t.indeterminate),
339
343
  f.is("focus", o.value)
340
344
  ]);
341
- return (C, k) => (I(), Fe(rl(!O(u) && O(s) ? "span" : "label"), {
345
+ return (C, k) => (z(), Fe(rl(!O(u) && O(s) ? "span" : "label"), {
342
346
  class: B(O(b)),
343
347
  "aria-controls": C.indeterminate ? C.ariaControls : null,
344
348
  onClick: O(y)
@@ -349,10 +353,10 @@ const Rl = go, bo = (e) => Ae ? window.requestAnimationFrame(e) : setTimeout(e,
349
353
  ae("span", {
350
354
  class: B(O(g))
351
355
  }, [
352
- C.trueValue || C.falseValue || C.trueLabel || C.falseLabel ? Oe((I(), X("input", {
356
+ C.trueValue || C.falseValue || C.trueLabel || C.falseLabel ? Oe((z(), X("input", {
353
357
  key: 0,
354
358
  id: O(l),
355
- "onUpdate:modelValue": (m) => je(c) ? c.value = m : null,
359
+ "onUpdate:modelValue": (m) => _e(c) ? c.value = m : null,
356
360
  class: B(O(f).e("original")),
357
361
  type: "checkbox",
358
362
  indeterminate: C.indeterminate,
@@ -368,10 +372,10 @@ const Rl = go, bo = (e) => Ae ? window.requestAnimationFrame(e) : setTimeout(e,
368
372
  }, ["stop"])
369
373
  }, null, 42, ["id", "onUpdate:modelValue", "indeterminate", "name", "tabindex", "disabled", "true-value", "false-value", "onChange", "onFocus", "onBlur", "onClick"])), [
370
374
  [st, O(c)]
371
- ]) : Oe((I(), X("input", {
375
+ ]) : Oe((z(), X("input", {
372
376
  key: 1,
373
377
  id: O(l),
374
- "onUpdate:modelValue": (m) => je(c) ? c.value = m : null,
378
+ "onUpdate:modelValue": (m) => _e(c) ? c.value = m : null,
375
379
  class: B(O(f).e("original")),
376
380
  type: "checkbox",
377
381
  indeterminate: C.indeterminate,
@@ -391,12 +395,12 @@ const Rl = go, bo = (e) => Ae ? window.requestAnimationFrame(e) : setTimeout(e,
391
395
  class: B(O(f).e("inner"))
392
396
  }, null, 2)
393
397
  ], 2),
394
- O(u) ? (I(), X("span", {
398
+ O(u) ? (z(), X("span", {
395
399
  key: 0,
396
400
  class: B(O(f).e("label"))
397
401
  }, [
398
402
  Le(C.$slots, "default"),
399
- C.$slots.default ? xe("v-if", !0) : (I(), X(rt, { key: 0 }, [
403
+ C.$slots.default ? xe("v-if", !0) : (z(), X(rt, { key: 0 }, [
400
404
  dt(Ne(C.label), 1)
401
405
  ], 64))
402
406
  ], 2)) : xe("v-if", !0)
@@ -406,7 +410,7 @@ const Rl = go, bo = (e) => Ae ? window.requestAnimationFrame(e) : setTimeout(e,
406
410
  }, 8, ["class", "aria-controls", "onClick"]));
407
411
  }
408
412
  });
409
- var Lo = /* @__PURE__ */ Ve(Eo, [["__file", "checkbox.vue"]]);
413
+ var Lo = /* @__PURE__ */ Be(Eo, [["__file", "checkbox.vue"]]);
410
414
  const ko = he({
411
415
  name: "ElCheckboxButton"
412
416
  }), Ro = /* @__PURE__ */ he({
@@ -422,7 +426,7 @@ const ko = he({
422
426
  model: o,
423
427
  actualValue: a,
424
428
  handleChange: u
425
- } = Ol(t, n), c = se(Ke, void 0), h = ve("checkbox"), v = T(() => {
429
+ } = Ol(t, n), c = se(Ve, void 0), h = ve("checkbox"), v = T(() => {
426
430
  var f, b, g, C;
427
431
  const k = (b = (f = c == null ? void 0 : c.fill) == null ? void 0 : f.value) != null ? b : "";
428
432
  return {
@@ -440,12 +444,12 @@ const ko = he({
440
444
  ]);
441
445
  return (f, b) => {
442
446
  var g, C, k, x;
443
- return I(), X("label", {
447
+ return z(), X("label", {
444
448
  class: B(O(y))
445
449
  }, [
446
- f.trueValue || f.falseValue || f.trueLabel || f.falseLabel ? Oe((I(), X("input", {
450
+ f.trueValue || f.falseValue || f.trueLabel || f.falseLabel ? Oe((z(), X("input", {
447
451
  key: 0,
448
- "onUpdate:modelValue": (d) => je(o) ? o.value = d : null,
452
+ "onUpdate:modelValue": (d) => _e(o) ? o.value = d : null,
449
453
  class: B(O(h).be("button", "original")),
450
454
  type: "checkbox",
451
455
  name: f.name,
@@ -460,9 +464,9 @@ const ko = he({
460
464
  }, ["stop"])
461
465
  }, null, 42, ["onUpdate:modelValue", "name", "tabindex", "disabled", "true-value", "false-value", "onChange", "onFocus", "onBlur", "onClick"])), [
462
466
  [st, O(o)]
463
- ]) : Oe((I(), X("input", {
467
+ ]) : Oe((z(), X("input", {
464
468
  key: 1,
465
- "onUpdate:modelValue": (d) => je(o) ? o.value = d : null,
469
+ "onUpdate:modelValue": (d) => _e(o) ? o.value = d : null,
466
470
  class: B(O(h).be("button", "original")),
467
471
  type: "checkbox",
468
472
  name: f.name,
@@ -477,10 +481,10 @@ const ko = he({
477
481
  }, null, 42, ["onUpdate:modelValue", "name", "tabindex", "disabled", "value", "onChange", "onFocus", "onBlur", "onClick"])), [
478
482
  [st, O(o)]
479
483
  ]),
480
- f.$slots.default || f.label ? (I(), X("span", {
484
+ f.$slots.default || f.label ? (z(), X("span", {
481
485
  key: 2,
482
486
  class: B(O(h).be("button", "inner")),
483
- style: $e(O(s) ? O(v) : void 0)
487
+ style: He(O(s) ? O(v) : void 0)
484
488
  }, [
485
489
  Le(f.$slots, "default", {}, () => [
486
490
  dt(Ne(f.label), 1)
@@ -490,7 +494,7 @@ const ko = he({
490
494
  };
491
495
  }
492
496
  });
493
- var Tl = /* @__PURE__ */ Ve(Ro, [["__file", "checkbox-button.vue"]]);
497
+ var Tl = /* @__PURE__ */ Be(Ro, [["__file", "checkbox-button.vue"]]);
494
498
  const No = On({
495
499
  modelValue: {
496
500
  type: Tn(Array),
@@ -499,7 +503,7 @@ const No = On({
499
503
  disabled: Boolean,
500
504
  min: Number,
501
505
  max: Number,
502
- size: $t,
506
+ size: Ht,
503
507
  fill: String,
504
508
  textColor: String,
505
509
  tag: {
@@ -524,7 +528,7 @@ const No = On({
524
528
  const n = e, l = ve("checkbox"), { formItem: s } = At(), { inputId: r, isLabeledByFormItem: i } = wl(n, {
525
529
  formItemContext: s
526
530
  }), o = async (u) => {
527
- t(ht, u), await We(), t("change", u);
531
+ t(ht, u), await Me(), t("change", u);
528
532
  }, a = T({
529
533
  get() {
530
534
  return n.modelValue;
@@ -533,7 +537,7 @@ const No = On({
533
537
  o(u);
534
538
  }
535
539
  });
536
- return il(Ke, {
540
+ return il(Ve, {
537
541
  ...kn(ul(n), [
538
542
  "size",
539
543
  "min",
@@ -546,10 +550,10 @@ const No = On({
546
550
  modelValue: a,
547
551
  changeEvent: o
548
552
  }), de(() => n.modelValue, () => {
549
- n.validateEvent && (s == null || s.validate("change").catch((u) => Mt(u)));
553
+ n.validateEvent && (s == null || s.validate("change").catch((u) => Wt(u)));
550
554
  }), (u, c) => {
551
555
  var h;
552
- return I(), Fe(rl(u.tag), {
556
+ return z(), Fe(rl(u.tag), {
553
557
  id: O(r),
554
558
  class: B(O(l).b("group")),
555
559
  role: "group",
@@ -564,21 +568,21 @@ const No = On({
564
568
  };
565
569
  }
566
570
  });
567
- var Wl = /* @__PURE__ */ Ve(To, [["__file", "checkbox-group.vue"]]);
568
- const Pe = bl(Lo, {
571
+ var Ml = /* @__PURE__ */ Be(To, [["__file", "checkbox-group.vue"]]);
572
+ const Ae = bl(Lo, {
569
573
  CheckboxButton: Tl,
570
- CheckboxGroup: Wl
574
+ CheckboxGroup: Ml
571
575
  });
572
- Ht(Tl);
573
- const qa = Ht(Wl), pt = function(e) {
576
+ $t(Tl);
577
+ const Za = $t(Ml), pt = function(e) {
574
578
  var t;
575
579
  return (t = e.target) == null ? void 0 : t.closest("td");
576
- }, Wo = function(e, t, n, l, s) {
580
+ }, Mo = function(e, t, n, l, s) {
577
581
  if (!t && !l && (!s || ee(s) && !s.length))
578
582
  return e;
579
583
  fe(n) ? n = n === "descending" ? -1 : 1 : n = n && n < 0 ? -1 : 1;
580
584
  const r = l ? null : function(o, a) {
581
- return s ? (ee(s) || (s = [s]), s.map((u) => fe(u) ? Qt(o, u) : u(o, a, e))) : (t !== "$key" && Ue(o) && "$value" in o && (o = o.$value), [Ue(o) ? Qt(o, t) : o]);
585
+ return s ? (ee(s) || (s = [s]), s.map((u) => fe(u) ? qt(o, u) : u(o, a, e))) : (t !== "$key" && je(o) && "$value" in o && (o = o.$value), [je(o) ? qt(o, t) : o]);
582
586
  }, i = function(o, a) {
583
587
  if (l)
584
588
  return l(o.value, a.value);
@@ -598,12 +602,12 @@ const qa = Ht(Wl), pt = function(e) {
598
602
  let u = i(o, a);
599
603
  return u || (u = o.index - a.index), u * +n;
600
604
  }).map((o) => o.value);
601
- }, Ml = function(e, t) {
605
+ }, Wl = function(e, t) {
602
606
  let n = null;
603
607
  return e.columns.forEach((l) => {
604
608
  l.id === t && (n = l);
605
609
  }), n;
606
- }, Mo = function(e, t) {
610
+ }, Wo = function(e, t) {
607
611
  let n = null;
608
612
  for (let l = 0; l < e.columns.length; l++) {
609
613
  const s = e.columns[l];
@@ -612,10 +616,10 @@ const qa = Ht(Wl), pt = function(e) {
612
616
  break;
613
617
  }
614
618
  }
615
- return n || Wn("ElTable", `No column matching with column-key: ${t}`), n;
619
+ return n || Mn("ElTable", `No column matching with column-key: ${t}`), n;
616
620
  }, Jt = function(e, t, n) {
617
621
  const l = (t.className || "").match(new RegExp(`${n}-table_[^\\s]+`, "gm"));
618
- return l ? Ml(e, l[0]) : null;
622
+ return l ? Wl(e, l[0]) : null;
619
623
  }, le = (e, t) => {
620
624
  if (!e)
621
625
  throw new Error("Row is required when get row identity");
@@ -629,19 +633,19 @@ const qa = Ht(Wl), pt = function(e) {
629
633
  return `${l}`;
630
634
  } else if (ye(t))
631
635
  return t.call(null, e);
632
- }, De = function(e, t) {
636
+ }, ze = function(e, t) {
633
637
  const n = {};
634
638
  return (e || []).forEach((l, s) => {
635
639
  n[le(l, t)] = { row: l, index: s };
636
640
  }), n;
637
641
  };
638
- function Ho(e, t) {
642
+ function $o(e, t) {
639
643
  const n = {};
640
644
  let l;
641
645
  for (l in e)
642
646
  n[l] = e[l];
643
647
  for (l in t)
644
- if (Ge(t, l)) {
648
+ if (Ue(t, l)) {
645
649
  const s = t[l];
646
650
  Ce(s) || (n[l] = s);
647
651
  }
@@ -650,10 +654,10 @@ function Ho(e, t) {
650
654
  function Bt(e) {
651
655
  return e === "" || Ce(e) || (e = Number.parseInt(e, 10), Number.isNaN(e) && (e = "")), e;
652
656
  }
653
- function Hl(e) {
657
+ function $l(e) {
654
658
  return e === "" || Ce(e) || (e = Bt(e), Number.isNaN(e) && (e = 80)), e;
655
659
  }
656
- function $o(e) {
660
+ function Ho(e) {
657
661
  return Te(e) ? e : fe(e) ? /^\d+(?:px)?$/.test(e) ? Number.parseInt(e, 10) : e : null;
658
662
  }
659
663
  function Ao(...e) {
@@ -749,8 +753,8 @@ function Vo(e, t, n, l, s, r) {
749
753
  jt(null, h), v == null || v.removeEventListener("scroll", ce), ce = null;
750
754
  }, ce.trigger = s, ce.vm = c, v == null || v.addEventListener("scroll", ce);
751
755
  }
752
- function $l(e) {
753
- return e.children ? mo(e.children, $l) : [e];
756
+ function Hl(e) {
757
+ return e.children ? go(e.children, Hl) : [e];
754
758
  }
755
759
  function Zt(e, t) {
756
760
  return e + t.colSpan;
@@ -759,7 +763,7 @@ const Al = (e, t, n, l) => {
759
763
  let s = 0, r = e;
760
764
  const i = n.states.columns.value;
761
765
  if (l) {
762
- const a = $l(l[e]);
766
+ const a = Hl(l[e]);
763
767
  s = i.slice(0, i.indexOf(a[0])).reduce(Zt, 0), r = s + a.reduce(Zt, 0) - 1;
764
768
  } else
765
769
  s = e;
@@ -800,7 +804,7 @@ const Kt = (e, t, n, l) => {
800
804
  return;
801
805
  const o = {}, a = s === "left", u = n.states.columns.value;
802
806
  return a ? o.left = u.slice(0, r).reduce(el, 0) : o.right = u.slice(i + 1).reverse().reduce(el, 0), o;
803
- }, Be = (e, t) => {
807
+ }, Pe = (e, t) => {
804
808
  e && (Number.isNaN(e[t]) || (e[t] = `${e[t]}px`));
805
809
  };
806
810
  function Ko(e) {
@@ -811,7 +815,7 @@ function Ko(e) {
811
815
  if (n.value)
812
816
  l.value = a.slice();
813
817
  else if (u) {
814
- const c = De(l.value, u);
818
+ const c = ze(l.value, u);
815
819
  l.value = a.reduce((h, v) => {
816
820
  const y = le(v, u);
817
821
  return c[y] && h.push(v), h;
@@ -824,7 +828,7 @@ function Ko(e) {
824
828
  },
825
829
  setExpandRowKeys: (a) => {
826
830
  t.store.assertRowKey();
827
- const u = e.data.value || [], c = e.rowKey.value, h = De(u, c);
831
+ const u = e.data.value || [], c = e.rowKey.value, h = ze(u, c);
828
832
  l.value = a.reduce((v, y) => {
829
833
  const f = h[y];
830
834
  return f && v.push(f.row), v;
@@ -832,7 +836,7 @@ function Ko(e) {
832
836
  },
833
837
  isRowExpanded: (a) => {
834
838
  const u = e.rowKey.value;
835
- return u ? !!De(l.value, u)[le(a, u)] : l.value.includes(a);
839
+ return u ? !!ze(l.value, u)[le(a, u)] : l.value.includes(a);
836
840
  },
837
841
  states: {
838
842
  expandRows: l,
@@ -840,7 +844,7 @@ function Ko(e) {
840
844
  }
841
845
  };
842
846
  }
843
- function zo(e) {
847
+ function Io(e) {
844
848
  const t = ne(), n = L(null), l = L(null), s = (u) => {
845
849
  t.store.assertRowKey(), n.value = u, i(u);
846
850
  }, r = () => {
@@ -880,7 +884,7 @@ function zo(e) {
880
884
  }
881
885
  };
882
886
  }
883
- function Io(e) {
887
+ function zo(e) {
884
888
  const t = L([]), n = L({}), l = L(16), s = L(!1), r = L({}), i = L("hasChildren"), o = L("children"), a = L(!1), u = ne(), c = T(() => {
885
889
  if (!e.rowKey.value)
886
890
  return {};
@@ -892,19 +896,19 @@ function Io(e) {
892
896
  if (r.value[m].length) {
893
897
  const E = { children: [] };
894
898
  r.value[m].forEach((R) => {
895
- const M = le(R, d);
896
- E.children.push(M), R[i.value] && !w[M] && (w[M] = { children: [] });
899
+ const W = le(R, d);
900
+ E.children.push(W), R[i.value] && !w[W] && (w[W] = { children: [] });
897
901
  }), w[m] = E;
898
902
  }
899
903
  }), w;
900
904
  }), v = (d) => {
901
905
  const p = e.rowKey.value, w = {};
902
906
  return Po(d, (m, E, R) => {
903
- const M = le(m, p);
904
- ee(E) ? w[M] = {
907
+ const W = le(m, p);
908
+ ee(E) ? w[W] = {
905
909
  children: E.map((K) => le(K, p)),
906
910
  level: R
907
- } : s.value && (w[M] = {
911
+ } : s.value && (w[W] = {
908
912
  children: [],
909
913
  lazy: !0,
910
914
  level: R
@@ -912,9 +916,9 @@ function Io(e) {
912
916
  }, o.value, i.value), w;
913
917
  }, y = (d = !1, p = ((w) => (w = u.store) == null ? void 0 : w.states.defaultExpandAll.value)()) => {
914
918
  var w;
915
- const m = c.value, E = h.value, R = Object.keys(m), M = {};
919
+ const m = c.value, E = h.value, R = Object.keys(m), W = {};
916
920
  if (R.length) {
917
- const K = O(n), $ = [], D = (V, _) => {
921
+ const K = O(n), H = [], D = (V, _) => {
918
922
  if (d)
919
923
  return t.value ? p || t.value.includes(_) : !!(p || V != null && V.expanded);
920
924
  {
@@ -926,20 +930,20 @@ function Io(e) {
926
930
  const _ = K[V], G = { ...m[V] };
927
931
  if (G.expanded = D(_, V), G.lazy) {
928
932
  const { loaded: F = !1, loading: S = !1 } = _ || {};
929
- G.loaded = !!F, G.loading = !!S, $.push(V);
933
+ G.loaded = !!F, G.loading = !!S, H.push(V);
930
934
  }
931
- M[V] = G;
935
+ W[V] = G;
932
936
  });
933
937
  const U = Object.keys(E);
934
- s.value && U.length && $.length && U.forEach((V) => {
938
+ s.value && U.length && H.length && U.forEach((V) => {
935
939
  const _ = K[V], G = E[V].children;
936
- if ($.includes(V)) {
937
- if (M[V].children.length !== 0)
940
+ if (H.includes(V)) {
941
+ if (W[V].children.length !== 0)
938
942
  throw new Error("[ElTable]children must be an empty array.");
939
- M[V].children = G;
943
+ W[V].children = G;
940
944
  } else {
941
945
  const { loaded: F = !1, loading: S = !1 } = _ || {};
942
- M[V] = {
946
+ W[V] = {
943
947
  lazy: !0,
944
948
  loaded: !!F,
945
949
  loading: !!S,
@@ -950,7 +954,7 @@ function Io(e) {
950
954
  }
951
955
  });
952
956
  }
953
- n.value = M, (w = u.store) == null || w.updateTableScrollY();
957
+ n.value = W, (w = u.store) == null || w.updateTableScrollY();
954
958
  };
955
959
  de(() => t.value, () => {
956
960
  y(!0);
@@ -1009,7 +1013,7 @@ function Io(e) {
1009
1013
  }
1010
1014
  const Do = (e, t) => {
1011
1015
  const n = t.sortingColumn;
1012
- return !n || fe(n.sortable) ? e : Wo(e, t.sortProp, t.sortOrder, n.sortMethod, n.sortBy);
1016
+ return !n || fe(n.sortable) ? e : Mo(e, t.sortProp, t.sortOrder, n.sortMethod, n.sortBy);
1013
1017
  }, tt = (e) => {
1014
1018
  const t = [];
1015
1019
  return e.forEach((n) => {
@@ -1018,7 +1022,7 @@ const Do = (e, t) => {
1018
1022
  };
1019
1023
  function _o() {
1020
1024
  var e;
1021
- const t = ne(), { size: n } = ul((e = t.proxy) == null ? void 0 : e.$props), l = L(null), s = L([]), r = L([]), i = L(!1), o = L([]), a = L([]), u = L([]), c = L([]), h = L([]), v = L([]), y = L([]), f = L([]), b = [], g = L(0), C = L(0), k = L(0), x = L(!1), d = L([]), p = L(!1), w = L(!1), m = L(null), E = L({}), R = L(null), M = L(null), K = L(null), $ = L(null), D = L(null), U = T(() => l.value ? De(d.value, l.value) : void 0);
1025
+ const t = ne(), { size: n } = ul((e = t.proxy) == null ? void 0 : e.$props), l = L(null), s = L([]), r = L([]), i = L(!1), o = L([]), a = L([]), u = L([]), c = L([]), h = L([]), v = L([]), y = L([]), f = L([]), b = [], g = L(0), C = L(0), k = L(0), x = L(!1), d = L([]), p = L(!1), w = L(!1), m = L(null), E = L({}), R = L(null), W = L(null), K = L(null), H = L(null), D = L(null), U = T(() => l.value ? ze(d.value, l.value) : void 0);
1022
1026
  de(s, () => {
1023
1027
  var N;
1024
1028
  t.state && (F(!1), t.props.tableLayout === "auto" && ((N = t.refs.tableHeaderRef) == null || N.updateFixedColumnStyle()));
@@ -1029,28 +1033,28 @@ function _o() {
1029
1033
  if (!l.value)
1030
1034
  throw new Error("[ElTable] prop row-key is required");
1031
1035
  }, _ = (N) => {
1032
- var H;
1033
- (H = N.children) == null || H.forEach((A) => {
1036
+ var $;
1037
+ ($ = N.children) == null || $.forEach((A) => {
1034
1038
  A.fixed = N.fixed, _(A);
1035
1039
  });
1036
1040
  }, G = () => {
1037
- var N, H;
1041
+ var N, $;
1038
1042
  o.value.forEach((j) => {
1039
1043
  _(j);
1040
1044
  }), c.value = o.value.filter((j) => j.type !== "selection" && [!0, "left"].includes(j.fixed));
1041
1045
  let A;
1042
- if (((H = (N = o.value) == null ? void 0 : N[0]) == null ? void 0 : H.type) === "selection") {
1046
+ if ((($ = (N = o.value) == null ? void 0 : N[0]) == null ? void 0 : $.type) === "selection") {
1043
1047
  const j = o.value[0];
1044
1048
  A = [!0, "left"].includes(j.fixed) || c.value.length && j.fixed !== "right", A && c.value.unshift(j);
1045
1049
  }
1046
1050
  h.value = o.value.filter((j) => j.fixed === "right");
1047
- const z = o.value.filter((j) => (A ? j.type !== "selection" : !0) && !j.fixed);
1048
- a.value = [].concat(c.value).concat(z).concat(h.value);
1049
- const Y = tt(z), Z = tt(c.value), ie = tt(h.value);
1051
+ const I = o.value.filter((j) => (A ? j.type !== "selection" : !0) && !j.fixed);
1052
+ a.value = [].concat(c.value).concat(I).concat(h.value);
1053
+ const Y = tt(I), Z = tt(c.value), ie = tt(h.value);
1050
1054
  g.value = Y.length, C.value = Z.length, k.value = ie.length, u.value = [].concat(Z).concat(Y).concat(ie), i.value = c.value.length > 0 || h.value.length > 0;
1051
- }, F = (N, H = !1) => {
1052
- N && G(), H ? t.state.doLayout() : t.state.debouncedUpdateLayout();
1053
- }, S = (N) => U.value ? !!U.value[le(N, l.value)] : d.value.includes(N), W = () => {
1055
+ }, F = (N, $ = !1) => {
1056
+ N && G(), $ ? t.state.doLayout() : t.state.debouncedUpdateLayout();
1057
+ }, S = (N) => U.value ? !!U.value[le(N, l.value)] : d.value.includes(N), M = () => {
1054
1058
  x.value = !1;
1055
1059
  const N = d.value;
1056
1060
  d.value = [], N.length && t.emit("selection-change", []);
@@ -1058,41 +1062,41 @@ function _o() {
1058
1062
  let N;
1059
1063
  if (l.value) {
1060
1064
  N = [];
1061
- const H = De(s.value, l.value);
1065
+ const $ = ze(s.value, l.value);
1062
1066
  for (const A in U.value)
1063
- Ge(U.value, A) && !H[A] && N.push(U.value[A].row);
1067
+ Ue(U.value, A) && !$[A] && N.push(U.value[A].row);
1064
1068
  } else
1065
- N = d.value.filter((H) => !s.value.includes(H));
1069
+ N = d.value.filter(($) => !s.value.includes($));
1066
1070
  if (N.length) {
1067
- const H = d.value.filter((A) => !N.includes(A));
1068
- d.value = H, t.emit("selection-change", H.slice());
1071
+ const $ = d.value.filter((A) => !N.includes(A));
1072
+ d.value = $, t.emit("selection-change", $.slice());
1069
1073
  }
1070
- }, Q = () => (d.value || []).slice(), J = (N, H, A = !0, z = !1) => {
1074
+ }, Q = () => (d.value || []).slice(), J = (N, $, A = !0, I = !1) => {
1071
1075
  var Y, Z, ie, j;
1072
1076
  const ke = {
1073
1077
  children: (Z = (Y = t == null ? void 0 : t.store) == null ? void 0 : Y.states) == null ? void 0 : Z.childrenColumnName.value,
1074
1078
  checkStrictly: (j = (ie = t == null ? void 0 : t.store) == null ? void 0 : ie.states) == null ? void 0 : j.checkStrictly.value
1075
1079
  };
1076
- if (ct(d.value, N, H, ke, z ? void 0 : m.value, s.value.indexOf(N))) {
1080
+ if (ct(d.value, N, $, ke, I ? void 0 : m.value, s.value.indexOf(N))) {
1077
1081
  const Ze = (d.value || []).slice();
1078
1082
  A && t.emit("select", Ze, N), t.emit("selection-change", Ze);
1079
1083
  }
1080
1084
  }, oe = () => {
1081
- var N, H;
1085
+ var N, $;
1082
1086
  const A = w.value ? !x.value : !(x.value || d.value.length);
1083
1087
  x.value = A;
1084
- let z = !1, Y = 0;
1085
- const Z = (H = (N = t == null ? void 0 : t.store) == null ? void 0 : N.states) == null ? void 0 : H.rowKey.value, { childrenColumnName: ie } = t.store.states, j = {
1088
+ let I = !1, Y = 0;
1089
+ const Z = ($ = (N = t == null ? void 0 : t.store) == null ? void 0 : N.states) == null ? void 0 : $.rowKey.value, { childrenColumnName: ie } = t.store.states, j = {
1086
1090
  children: ie.value,
1087
1091
  checkStrictly: !1
1088
1092
  };
1089
1093
  s.value.forEach((ke, Je) => {
1090
1094
  const Ze = Je + Y;
1091
- ct(d.value, ke, A, j, m.value, Ze) && (z = !0), Y += te(le(ke, Z));
1092
- }), z && t.emit("selection-change", d.value ? d.value.slice() : []), t.emit("select-all", (d.value || []).slice());
1095
+ ct(d.value, ke, A, j, m.value, Ze) && (I = !0), Y += te(le(ke, Z));
1096
+ }), I && t.emit("selection-change", d.value ? d.value.slice() : []), t.emit("select-all", (d.value || []).slice());
1093
1097
  }, re = () => {
1094
1098
  s.value.forEach((N) => {
1095
- const H = le(N, l.value), A = U.value[H];
1099
+ const $ = le(N, l.value), A = U.value[$];
1096
1100
  A && (d.value[A.index] = N);
1097
1101
  });
1098
1102
  }, ge = () => {
@@ -1101,70 +1105,70 @@ function _o() {
1101
1105
  x.value = !1;
1102
1106
  return;
1103
1107
  }
1104
- const { childrenColumnName: H } = t.store.states;
1105
- let A = 0, z = 0;
1108
+ const { childrenColumnName: $ } = t.store.states;
1109
+ let A = 0, I = 0;
1106
1110
  const Y = (ie) => {
1107
1111
  var j;
1108
1112
  for (const ke of ie) {
1109
1113
  const Je = m.value && m.value.call(null, ke, A);
1110
1114
  if (S(ke))
1111
- z++;
1115
+ I++;
1112
1116
  else if (!m.value || Je)
1113
1117
  return !1;
1114
- if (A++, (j = ke[H.value]) != null && j.length && !Y(ke[H.value]))
1118
+ if (A++, (j = ke[$.value]) != null && j.length && !Y(ke[$.value]))
1115
1119
  return !1;
1116
1120
  }
1117
1121
  return !0;
1118
1122
  }, Z = Y(s.value || []);
1119
- x.value = z === 0 ? !1 : Z;
1123
+ x.value = I === 0 ? !1 : Z;
1120
1124
  }, te = (N) => {
1121
- var H;
1125
+ var $;
1122
1126
  if (!t || !t.store)
1123
1127
  return 0;
1124
1128
  const { treeData: A } = t.store.states;
1125
- let z = 0;
1126
- const Y = (H = A.value[N]) == null ? void 0 : H.children;
1127
- return Y && (z += Y.length, Y.forEach((Z) => {
1128
- z += te(Z);
1129
- })), z;
1130
- }, pe = (N, H) => {
1129
+ let I = 0;
1130
+ const Y = ($ = A.value[N]) == null ? void 0 : $.children;
1131
+ return Y && (I += Y.length, Y.forEach((Z) => {
1132
+ I += te(Z);
1133
+ })), I;
1134
+ }, pe = (N, $) => {
1131
1135
  ee(N) || (N = [N]);
1132
1136
  const A = {};
1133
- return N.forEach((z) => {
1134
- E.value[z.id] = H, A[z.columnKey || z.id] = H;
1137
+ return N.forEach((I) => {
1138
+ E.value[I.id] = $, A[I.columnKey || I.id] = $;
1135
1139
  }), A;
1136
- }, me = (N, H, A) => {
1137
- M.value && M.value !== N && (M.value.order = null), M.value = N, K.value = H, $.value = A;
1140
+ }, me = (N, $, A) => {
1141
+ W.value && W.value !== N && (W.value.order = null), W.value = N, K.value = $, H.value = A;
1138
1142
  }, Qe = () => {
1139
1143
  let N = O(r);
1140
- Object.keys(E.value).forEach((H) => {
1141
- const A = E.value[H];
1144
+ Object.keys(E.value).forEach(($) => {
1145
+ const A = E.value[$];
1142
1146
  if (!A || A.length === 0)
1143
1147
  return;
1144
- const z = Ml({
1148
+ const I = Wl({
1145
1149
  columns: u.value
1146
- }, H);
1147
- z && z.filterMethod && (N = N.filter((Y) => A.some((Z) => z.filterMethod.call(null, Z, Y, z))));
1150
+ }, $);
1151
+ I && I.filterMethod && (N = N.filter((Y) => A.some((Z) => I.filterMethod.call(null, Z, Y, I))));
1148
1152
  }), R.value = N;
1149
- }, It = () => {
1153
+ }, zt = () => {
1150
1154
  s.value = Do(R.value, {
1151
- sortingColumn: M.value,
1155
+ sortingColumn: W.value,
1152
1156
  sortProp: K.value,
1153
- sortOrder: $.value
1157
+ sortOrder: H.value
1154
1158
  });
1155
1159
  }, Xl = (N = void 0) => {
1156
- N && N.filter || Qe(), It();
1160
+ N && N.filter || Qe(), zt();
1157
1161
  }, Ql = (N) => {
1158
- const { tableHeaderRef: H } = t.refs;
1159
- if (!H)
1162
+ const { tableHeaderRef: $ } = t.refs;
1163
+ if (!$)
1160
1164
  return;
1161
- const A = Object.assign({}, H.filterPanels), z = Object.keys(A);
1162
- if (z.length)
1165
+ const A = Object.assign({}, $.filterPanels), I = Object.keys(A);
1166
+ if (I.length)
1163
1167
  if (fe(N) && (N = [N]), ee(N)) {
1164
- const Y = N.map((Z) => Mo({
1168
+ const Y = N.map((Z) => Wo({
1165
1169
  columns: u.value
1166
1170
  }, Z));
1167
- z.forEach((Z) => {
1171
+ I.forEach((Z) => {
1168
1172
  const ie = Y.find((j) => j.id === Z);
1169
1173
  ie && (ie.filteredValue = []);
1170
1174
  }), t.store.commit("filterChange", {
@@ -1174,7 +1178,7 @@ function _o() {
1174
1178
  multi: !0
1175
1179
  });
1176
1180
  } else
1177
- z.forEach((Y) => {
1181
+ I.forEach((Y) => {
1178
1182
  const Z = u.value.find((ie) => ie.id === Y);
1179
1183
  Z && (Z.filteredValue = []);
1180
1184
  }), E.value = {}, t.store.commit("filterChange", {
@@ -1183,7 +1187,7 @@ function _o() {
1183
1187
  silent: !0
1184
1188
  });
1185
1189
  }, Jl = () => {
1186
- M.value && (me(null, null, null), t.store.commit("changeSortCondition", {
1190
+ W.value && (me(null, null, null), t.store.commit("changeSortCondition", {
1187
1191
  silent: !0
1188
1192
  }));
1189
1193
  }, {
@@ -1202,7 +1206,7 @@ function _o() {
1202
1206
  updateKeyChildren: sn,
1203
1207
  loadOrToggle: rn,
1204
1208
  states: un
1205
- } = Io({
1209
+ } = zo({
1206
1210
  data: s,
1207
1211
  rowKey: l
1208
1212
  }), {
@@ -1210,7 +1214,7 @@ function _o() {
1210
1214
  updateCurrentRow: dn,
1211
1215
  setCurrentRowKey: fn,
1212
1216
  states: hn
1213
- } = zo({
1217
+ } = Io({
1214
1218
  data: s,
1215
1219
  rowKey: l
1216
1220
  });
@@ -1219,7 +1223,7 @@ function _o() {
1219
1223
  updateColumns: G,
1220
1224
  scheduleLayout: F,
1221
1225
  isSelected: S,
1222
- clearSelection: W,
1226
+ clearSelection: M,
1223
1227
  cleanSelection: q,
1224
1228
  getSelectionRows: Q,
1225
1229
  toggleRowSelection: J,
@@ -1231,7 +1235,7 @@ function _o() {
1231
1235
  updateCurrentRow: dn,
1232
1236
  updateSort: me,
1233
1237
  execFilter: Qe,
1234
- execSort: It,
1238
+ execSort: zt,
1235
1239
  execQuery: Xl,
1236
1240
  clearFilter: Ql,
1237
1241
  clearSort: Jl,
@@ -1240,8 +1244,8 @@ function _o() {
1240
1244
  Zl(N), nn(N);
1241
1245
  },
1242
1246
  setCurrentRowKey: fn,
1243
- toggleRowExpansionAdapter: (N, H) => {
1244
- u.value.some(({ type: z }) => z === "expand") ? Dt(N, H) : on(N, H);
1247
+ toggleRowExpansionAdapter: (N, $) => {
1248
+ u.value.some(({ type: I }) => I === "expand") ? Dt(N, $) : on(N, $);
1245
1249
  },
1246
1250
  isRowExpanded: ln,
1247
1251
  updateExpandRows: en,
@@ -1274,9 +1278,9 @@ function _o() {
1274
1278
  selectable: m,
1275
1279
  filters: E,
1276
1280
  filteredData: R,
1277
- sortingColumn: M,
1281
+ sortingColumn: W,
1278
1282
  sortProp: K,
1279
- sortOrder: $,
1283
+ sortOrder: H,
1280
1284
  hoverRow: D,
1281
1285
  ...tn,
1282
1286
  ...un,
@@ -1318,7 +1322,7 @@ function jo() {
1318
1322
  removeColumn(i, o, a, u) {
1319
1323
  const c = O(i._columns) || [];
1320
1324
  if (a)
1321
- a.children.splice(a.children.findIndex((v) => v.id === o.id), 1), We(() => {
1325
+ a.children.splice(a.children.findIndex((v) => v.id === o.id), 1), Me(() => {
1322
1326
  var v;
1323
1327
  ((v = a.children) == null ? void 0 : v.length) === 0 && delete a.children;
1324
1328
  }), i._columns.value = wt(c, a);
@@ -1371,11 +1375,11 @@ function jo() {
1371
1375
  throw new Error(`Action not found: ${i}`);
1372
1376
  },
1373
1377
  updateTableScrollY: function() {
1374
- We(() => e.layout.updateScrollY.apply(e.layout));
1378
+ Me(() => e.layout.updateScrollY.apply(e.layout));
1375
1379
  }
1376
1380
  };
1377
1381
  }
1378
- const _e = {
1382
+ const De = {
1379
1383
  rowKey: "rowKey",
1380
1384
  defaultExpandAll: "defaultExpandAll",
1381
1385
  selectOnIndeterminate: "selectOnIndeterminate",
@@ -1399,20 +1403,20 @@ function Uo(e, t) {
1399
1403
  if (!e)
1400
1404
  throw new Error("Table is required.");
1401
1405
  const n = jo();
1402
- return n.toggleAllSelection = ut(n._toggleAllSelection, 10), Object.keys(_e).forEach((l) => {
1406
+ return n.toggleAllSelection = ut(n._toggleAllSelection, 10), Object.keys(De).forEach((l) => {
1403
1407
  Pl(Bl(t, l), l, n);
1404
1408
  }), Go(n, t), n;
1405
1409
  }
1406
1410
  function Go(e, t) {
1407
- Object.keys(_e).forEach((n) => {
1411
+ Object.keys(De).forEach((n) => {
1408
1412
  de(() => Bl(t, n), (l) => {
1409
1413
  Pl(l, n, e);
1410
1414
  });
1411
1415
  });
1412
1416
  }
1413
1417
  function Pl(e, t, n) {
1414
- let l = e, s = _e[t];
1415
- Ue(_e[t]) && (s = s.key, l = l || _e[t].default), n.states[s].value = l;
1418
+ let l = e, s = De[t];
1419
+ je(De[t]) && (s = s.key, l = l || De[t].default), n.states[s].value = l;
1416
1420
  }
1417
1421
  function Bl(e, t) {
1418
1422
  if (t.includes(".")) {
@@ -1428,7 +1432,7 @@ class Yo {
1428
1432
  constructor(t) {
1429
1433
  this.observers = [], this.table = null, this.store = null, this.columns = [], this.fit = !0, this.showHeader = !0, this.height = L(null), this.scrollX = L(!1), this.scrollY = L(!1), this.bodyWidth = L(null), this.fixedWidth = L(null), this.rightFixedWidth = L(null), this.gutterWidth = 0;
1430
1434
  for (const n in t)
1431
- Ge(t, n) && (je(this[n]) ? this[n].value = t[n] : this[n] = t[n]);
1435
+ Ue(t, n) && (_e(this[n]) ? this[n].value = t[n] : this[n] = t[n]);
1432
1436
  if (!this.table)
1433
1437
  throw new Error("Table is required for Table Layout");
1434
1438
  if (!this.store)
@@ -1447,11 +1451,11 @@ class Yo {
1447
1451
  return !1;
1448
1452
  }
1449
1453
  setHeight(t, n = "height") {
1450
- if (!Ae)
1454
+ if (!Ge)
1451
1455
  return;
1452
1456
  const l = this.table.vnode.el;
1453
- if (t = $o(t), this.height.value = Number(t), !l && (t || t === 0))
1454
- return We(() => this.setHeight(t, n));
1457
+ if (t = Ho(t), this.height.value = Number(t), !l && (t || t === 0))
1458
+ return Me(() => this.setHeight(t, n));
1455
1459
  Te(t) ? (l.style[n] = `${t}px`, this.updateElsHeight()) : fe(t) && (l.style[n] = t, this.updateElsHeight());
1456
1460
  }
1457
1461
  setMaxHeight(t) {
@@ -1478,7 +1482,7 @@ class Yo {
1478
1482
  return !1;
1479
1483
  }
1480
1484
  updateColumnsWidth() {
1481
- if (!Ae)
1485
+ if (!Ge)
1482
1486
  return;
1483
1487
  const t = this.fit, n = this.table.vnode.el.clientWidth;
1484
1488
  let l = 0;
@@ -1551,10 +1555,10 @@ class Yo {
1551
1555
  });
1552
1556
  }
1553
1557
  }
1554
- const { CheckboxGroup: qo } = Pe, Xo = he({
1558
+ const { CheckboxGroup: qo } = Ae, Xo = he({
1555
1559
  name: "ElTableFilterPanel",
1556
1560
  components: {
1557
- ElCheckbox: Pe,
1561
+ ElCheckbox: Ae,
1558
1562
  ElCheckboxGroup: qo,
1559
1563
  ElScrollbar: pl,
1560
1564
  ElTooltip: vl,
@@ -1590,7 +1594,7 @@ const { CheckboxGroup: qo } = Pe, Xo = he({
1590
1594
  return (((p = e.column) == null ? void 0 : p.filteredValue) || [])[0];
1591
1595
  },
1592
1596
  set: (p) => {
1593
- c.value && (He(p) ? c.value.splice(0, 1) : c.value.splice(0, 1, p));
1597
+ c.value && ($e(p) ? c.value.splice(0, 1) : c.value.splice(0, 1, p));
1594
1598
  }
1595
1599
  }), c = T({
1596
1600
  get() {
@@ -1610,7 +1614,7 @@ const { CheckboxGroup: qo } = Pe, Xo = he({
1610
1614
  }, C = () => {
1611
1615
  c.value = [], x(c.value), y();
1612
1616
  }, k = (p) => {
1613
- u.value = p, He(p) ? x([]) : x(c.value), y();
1617
+ u.value = p, $e(p) ? x([]) : x(c.value), y();
1614
1618
  }, x = (p) => {
1615
1619
  e.store.commit("filterChange", {
1616
1620
  column: e.column,
@@ -1636,7 +1640,7 @@ const { CheckboxGroup: qo } = Pe, Xo = he({
1636
1640
  handleConfirm: g,
1637
1641
  handleReset: C,
1638
1642
  handleSelect: k,
1639
- isPropAbsent: He,
1643
+ isPropAbsent: $e,
1640
1644
  isActive: v,
1641
1645
  t: n,
1642
1646
  ns: l,
@@ -1649,7 +1653,7 @@ const { CheckboxGroup: qo } = Pe, Xo = he({
1649
1653
  });
1650
1654
  function Qo(e, t, n, l, s, r) {
1651
1655
  const i = be("el-checkbox"), o = be("el-checkbox-group"), a = be("el-scrollbar"), u = be("arrow-up"), c = be("arrow-down"), h = be("el-icon"), v = be("el-tooltip"), y = cl("click-outside");
1652
- return I(), Fe(v, {
1656
+ return z(), Fe(v, {
1653
1657
  ref: "tooltip",
1654
1658
  visible: e.tooltipVisible,
1655
1659
  offset: 0,
@@ -1664,7 +1668,7 @@ function Qo(e, t, n, l, s, r) {
1664
1668
  "append-to": e.appendTo
1665
1669
  }, {
1666
1670
  content: Re(() => [
1667
- e.multiple ? (I(), X("div", { key: 0 }, [
1671
+ e.multiple ? (z(), X("div", { key: 0 }, [
1668
1672
  ae("div", {
1669
1673
  class: B(e.ns.e("content"))
1670
1674
  }, [
@@ -1678,7 +1682,7 @@ function Qo(e, t, n, l, s, r) {
1678
1682
  class: B(e.ns.e("checkbox-group"))
1679
1683
  }, {
1680
1684
  default: Re(() => [
1681
- (I(!0), X(rt, null, Ut(e.filters, (f) => (I(), Fe(i, {
1685
+ (z(!0), X(rt, null, Ut(e.filters, (f) => (z(), Fe(i, {
1682
1686
  key: f.value,
1683
1687
  value: f.value
1684
1688
  }, {
@@ -1708,7 +1712,7 @@ function Qo(e, t, n, l, s, r) {
1708
1712
  onClick: e.handleReset
1709
1713
  }, Ne(e.t("el.table.resetFilter")), 9, ["onClick"])
1710
1714
  ], 2)
1711
- ])) : (I(), X("ul", {
1715
+ ])) : (z(), X("ul", {
1712
1716
  key: 1,
1713
1717
  class: B(e.ns.e("list"))
1714
1718
  }, [
@@ -1721,7 +1725,7 @@ function Qo(e, t, n, l, s, r) {
1721
1725
  ]),
1722
1726
  onClick: (f) => e.handleSelect(null)
1723
1727
  }, Ne(e.t("el.table.clearFilter")), 11, ["onClick"]),
1724
- (I(!0), X(rt, null, Ut(e.filters, (f) => (I(), X("li", {
1728
+ (z(!0), X(rt, null, Ut(e.filters, (f) => (z(), X("li", {
1725
1729
  key: f.value,
1726
1730
  class: B([e.ns.e("list-item"), e.ns.is("active", e.isActive(f))]),
1727
1731
  label: f.value,
@@ -1730,7 +1734,7 @@ function Qo(e, t, n, l, s, r) {
1730
1734
  ], 2))
1731
1735
  ]),
1732
1736
  default: Re(() => [
1733
- Oe((I(), X("span", {
1737
+ Oe((z(), X("span", {
1734
1738
  class: B([
1735
1739
  `${e.ns.namespace.value}-table__column-filter-trigger`,
1736
1740
  `${e.ns.namespace.value}-none-outline`
@@ -1740,7 +1744,7 @@ function Qo(e, t, n, l, s, r) {
1740
1744
  we(h, null, {
1741
1745
  default: Re(() => [
1742
1746
  Le(e.$slots, "filter-icon", {}, () => [
1743
- e.column.filterOpened ? (I(), Fe(u, { key: 0 })) : (I(), Fe(c, { key: 1 }))
1747
+ e.column.filterOpened ? (z(), Fe(u, { key: 0 })) : (z(), Fe(c, { key: 1 }))
1744
1748
  ])
1745
1749
  ]),
1746
1750
  _: 3
@@ -1752,8 +1756,8 @@ function Qo(e, t, n, l, s, r) {
1752
1756
  _: 3
1753
1757
  }, 8, ["visible", "placement", "popper-class", "append-to"]);
1754
1758
  }
1755
- var Jo = /* @__PURE__ */ Ve(Xo, [["render", Qo], ["__file", "filter-panel.vue"]]);
1756
- function zt(e) {
1759
+ var Jo = /* @__PURE__ */ Be(Xo, [["render", Qo], ["__file", "filter-panel.vue"]]);
1760
+ function It(e) {
1757
1761
  const t = ne();
1758
1762
  dl(() => {
1759
1763
  n.value.addObserver(t);
@@ -1808,7 +1812,7 @@ function Zo(e, t) {
1808
1812
  }, i = (b, g) => {
1809
1813
  l == null || l.emit("header-contextmenu", g, b);
1810
1814
  }, o = L(null), a = L(!1), u = L({}), c = (b, g) => {
1811
- if (Ae && !(g.children && g.children.length > 0) && o.value && e.border) {
1815
+ if (Ge && !(g.children && g.children.length > 0) && o.value && e.border) {
1812
1816
  a.value = !0;
1813
1817
  const C = l;
1814
1818
  t("set-drag-visible", !0);
@@ -1825,13 +1829,13 @@ function Zo(e, t) {
1825
1829
  }, document.ondragstart = function() {
1826
1830
  return !1;
1827
1831
  };
1828
- const E = (M) => {
1829
- const K = M.clientX - u.value.startMouseLeft, $ = u.value.startLeft + K;
1830
- m.style.left = `${Math.max(w, $)}px`;
1832
+ const E = (W) => {
1833
+ const K = W.clientX - u.value.startMouseLeft, H = u.value.startLeft + K;
1834
+ m.style.left = `${Math.max(w, H)}px`;
1831
1835
  }, R = () => {
1832
1836
  if (a.value) {
1833
- const { startColumnLeft: M, startLeft: K } = u.value, D = Number.parseInt(m.style.left, 10) - M;
1834
- g.width = g.realWidth = D, C == null || C.emit("header-dragend", g.width, K - M, g, b), requestAnimationFrame(() => {
1837
+ const { startColumnLeft: W, startLeft: K } = u.value, D = Number.parseInt(m.style.left, 10) - W;
1838
+ g.width = g.realWidth = D, C == null || C.emit("header-dragend", g.width, K - W, g, b), requestAnimationFrame(() => {
1835
1839
  e.store.scheduleLayout(!1, !0);
1836
1840
  }), document.body.style.cursor = "", a.value = !1, o.value = null, u.value = {}, t("set-drag-visible", !1);
1837
1841
  }
@@ -1846,15 +1850,15 @@ function Zo(e, t) {
1846
1850
  if (g.children && g.children.length > 0)
1847
1851
  return;
1848
1852
  const k = b.target;
1849
- if (!Mn(k))
1853
+ if (!Wn(k))
1850
1854
  return;
1851
1855
  const x = k == null ? void 0 : k.closest("th");
1852
1856
  if (!(!g || !g.resizable || !x) && !a.value && e.border) {
1853
1857
  const d = x.getBoundingClientRect(), p = document.body.style, w = ((C = x.parentNode) == null ? void 0 : C.lastElementChild) === x, m = e.allowDragLastColumn || !w;
1854
- d.width > 12 && d.right - b.pageX < 8 && m ? (p.cursor = "col-resize", ze(x, "is-sortable") && (x.style.cursor = "col-resize"), o.value = g) : a.value || (p.cursor = "", ze(x, "is-sortable") && (x.style.cursor = "pointer"), o.value = null);
1858
+ d.width > 12 && d.right - b.pageX < 8 && m ? (p.cursor = "col-resize", Ke(x, "is-sortable") && (x.style.cursor = "col-resize"), o.value = g) : a.value || (p.cursor = "", Ke(x, "is-sortable") && (x.style.cursor = "pointer"), o.value = null);
1855
1859
  }
1856
1860
  }, v = () => {
1857
- Ae && (document.body.style.cursor = "");
1861
+ Ge && (document.body.style.cursor = "");
1858
1862
  }, y = ({ order: b, sortOrders: g }) => {
1859
1863
  if (b === "")
1860
1864
  return g[0];
@@ -1864,14 +1868,14 @@ function Zo(e, t) {
1864
1868
  var k;
1865
1869
  b.stopPropagation();
1866
1870
  const x = g.order === C ? null : C || y(g), d = (k = b.target) == null ? void 0 : k.closest("th");
1867
- if (d && ze(d, "noclick")) {
1871
+ if (d && Ke(d, "noclick")) {
1868
1872
  Ye(d, "noclick");
1869
1873
  return;
1870
1874
  }
1871
1875
  if (!g.sortable)
1872
1876
  return;
1873
1877
  const p = b.currentTarget;
1874
- if (["ascending", "descending"].some((M) => ze(p, M) && !g.sortOrders.includes(M)))
1878
+ if (["ascending", "descending"].some((W) => Ke(p, W) && !g.sortOrders.includes(W)))
1875
1879
  return;
1876
1880
  const w = e.store.states;
1877
1881
  let m = w.sortProp.value, E;
@@ -1909,7 +1913,7 @@ function ea(e) {
1909
1913
  column: c
1910
1914
  }));
1911
1915
  const y = Kt(a, c.fixed, e.store, u);
1912
- return Be(y, "left"), Be(y, "right"), Object.assign({}, v, y);
1916
+ return Pe(y, "left"), Pe(y, "right"), Object.assign({}, v, y);
1913
1917
  },
1914
1918
  getHeaderCellClass: (o, a, u, c) => {
1915
1919
  const h = Vt(n.b(), a, c.fixed, e.store, u), v = [
@@ -1973,7 +1977,7 @@ function ta(e) {
1973
1977
  var la = he({
1974
1978
  name: "ElTableHeader",
1975
1979
  components: {
1976
- ElCheckbox: Pe
1980
+ ElCheckbox: Ae
1977
1981
  },
1978
1982
  props: {
1979
1983
  fixed: {
@@ -2000,21 +2004,21 @@ var la = he({
2000
2004
  }
2001
2005
  },
2002
2006
  setup(e, { emit: t }) {
2003
- const n = ne(), l = se(Se), s = ve("table"), r = L({}), { onColumnsChange: i, onScrollableChange: o } = zt(l), a = (l == null ? void 0 : l.props.tableLayout) === "auto", u = mn(/* @__PURE__ */ new Map()), c = L(), h = () => {
2007
+ const n = ne(), l = se(Se), s = ve("table"), r = L({}), { onColumnsChange: i, onScrollableChange: o } = It(l), a = (l == null ? void 0 : l.props.tableLayout) === "auto", u = mn(/* @__PURE__ */ new Map()), c = L(), h = () => {
2004
2008
  setTimeout(() => {
2005
- u.size > 0 && (u.forEach((M, K) => {
2006
- const $ = c.value.querySelector(`.${K.replace(/\s/g, ".")}`);
2007
- if ($) {
2008
- const D = $.getBoundingClientRect().width;
2009
- M.width = D;
2009
+ u.size > 0 && (u.forEach((W, K) => {
2010
+ const H = c.value.querySelector(`.${K.replace(/\s/g, ".")}`);
2011
+ if (H) {
2012
+ const D = H.getBoundingClientRect().width;
2013
+ W.width = D;
2010
2014
  }
2011
2015
  }), u.clear());
2012
2016
  });
2013
2017
  };
2014
2018
  de(u, h), qe(async () => {
2015
- await We(), await We();
2016
- const { prop: M, order: K } = e.defaultSort;
2017
- l == null || l.store.commit("sort", { prop: M, order: K, init: !0 }), h();
2019
+ await Me(), await Me();
2020
+ const { prop: W, order: K } = e.defaultSort;
2021
+ l == null || l.store.commit("sort", { prop: W, order: K, init: !0 }), h();
2018
2022
  });
2019
2023
  const {
2020
2024
  handleHeaderClick: v,
@@ -2195,18 +2199,18 @@ function na(e) {
2195
2199
  m = Jt({
2196
2200
  columns: e.store.states.columns.value
2197
2201
  }, p, w), p.rowSpan > 1 && h(p.rowSpan, f, it);
2198
- const W = d.hoverState = { cell: p, column: m, row: b };
2199
- d == null || d.emit("cell-mouse-enter", W.row, W.column, W.cell, f);
2202
+ const M = d.hoverState = { cell: p, column: m, row: b };
2203
+ d == null || d.emit("cell-mouse-enter", M.row, M.column, M.cell, f);
2200
2204
  }
2201
2205
  if (!g)
2202
2206
  return;
2203
2207
  const E = f.target.querySelector(".cell");
2204
- if (!(ze(E, `${w}-tooltip`) && E.childNodes.length))
2208
+ if (!(Ke(E, `${w}-tooltip`) && E.childNodes.length))
2205
2209
  return;
2206
2210
  const R = document.createRange();
2207
2211
  R.setStart(E, 0), R.setEnd(E, E.childNodes.length);
2208
- const { width: M, height: K } = R.getBoundingClientRect(), { width: $, height: D } = E.getBoundingClientRect(), { top: U, left: V, right: _, bottom: G } = c(E), F = V + _, S = U + G;
2209
- mt(M + F, $) || mt(K + S, D) || mt(E.scrollWidth, $) ? Vo(g, p.innerText || p.textContent, b, m, p, d) : ((k = ce) == null ? void 0 : k.trigger) === p && ((x = ce) == null || x());
2212
+ const { width: W, height: K } = R.getBoundingClientRect(), { width: H, height: D } = E.getBoundingClientRect(), { top: U, left: V, right: _, bottom: G } = c(E), F = V + _, S = U + G;
2213
+ mt(W + F, H) || mt(K + S, D) || mt(E.scrollWidth, H) ? Vo(g, p.innerText || p.textContent, b, m, p, d) : ((k = ce) == null ? void 0 : k.trigger) === p && ((x = ce) == null || x());
2210
2214
  },
2211
2215
  handleCellMouseLeave: (f) => {
2212
2216
  const b = pt(f);
@@ -2249,7 +2253,7 @@ function oa(e) {
2249
2253
  column: v
2250
2254
  }));
2251
2255
  const b = Kt(c, e == null ? void 0 : e.fixed, e.store);
2252
- return Be(b, "left"), Be(b, "right"), Object.assign({}, f, b);
2256
+ return Pe(b, "left"), Pe(b, "right"), Object.assign({}, f, b);
2253
2257
  },
2254
2258
  getCellClass: (u, c, h, v, y) => {
2255
2259
  const f = Vt(n.b(), c, e == null ? void 0 : e.fixed, e.store, void 0, y), b = [v.id, v.align, v.className, ...f], g = t == null ? void 0 : t.props.cellClassName;
@@ -2270,7 +2274,7 @@ function oa(e) {
2270
2274
  rowIndex: h,
2271
2275
  columnIndex: v
2272
2276
  });
2273
- ee(g) ? (y = g[0], f = g[1]) : Ue(g) && (y = g.rowspan, f = g.colspan);
2277
+ ee(g) ? (y = g[0], f = g[1]) : je(g) && (y = g.rowspan, f = g.colspan);
2274
2278
  }
2275
2279
  return { rowspan: y, colspan: f };
2276
2280
  },
@@ -2297,7 +2301,7 @@ const aa = he({
2297
2301
  }
2298
2302
  },
2299
2303
  setup(e) {
2300
- return (t, n) => (I(), X("td", {
2304
+ return (t, n) => (z(), X("td", {
2301
2305
  colspan: e.colspan,
2302
2306
  rowspan: e.rowspan
2303
2307
  }, [
@@ -2305,7 +2309,7 @@ const aa = he({
2305
2309
  ], 8, ["colspan", "rowspan"]));
2306
2310
  }
2307
2311
  });
2308
- var ra = /* @__PURE__ */ Ve(sa, [["__file", "td-wrapper.vue"]]);
2312
+ var ra = /* @__PURE__ */ Be(sa, [["__file", "td-wrapper.vue"]]);
2309
2313
  function ia(e) {
2310
2314
  const t = se(Se), n = ve("table"), {
2311
2315
  handleDoubleClick: l,
@@ -2327,8 +2331,8 @@ function ia(e) {
2327
2331
  } = oa(e), k = T(() => e.store.states.columns.value.findIndex(({ type: m }) => m === "default")), x = (m, E) => {
2328
2332
  const R = t.props.rowKey;
2329
2333
  return R ? le(m, R) : E;
2330
- }, d = (m, E, R, M = !1) => {
2331
- const { tooltipEffect: K, tooltipOptions: $, store: D } = e, { indent: U, columns: V } = D.states, _ = y(m, E);
2334
+ }, d = (m, E, R, W = !1) => {
2335
+ const { tooltipEffect: K, tooltipOptions: H, store: D } = e, { indent: U, columns: V } = D.states, _ = y(m, E);
2332
2336
  let G = !0;
2333
2337
  return R && (_.push(n.em("row", `level-${R.level}`)), G = R.display), P("tr", {
2334
2338
  style: [G ? null : {
@@ -2341,47 +2345,47 @@ function ia(e) {
2341
2345
  onContextmenu: (S) => r(S, m),
2342
2346
  onMouseenter: () => i(E),
2343
2347
  onMouseleave: o
2344
- }, V.value.map((S, W) => {
2345
- const { rowspan: q, colspan: Q } = g(m, S, E, W);
2348
+ }, V.value.map((S, M) => {
2349
+ const { rowspan: q, colspan: Q } = g(m, S, E, M);
2346
2350
  if (!q || !Q)
2347
2351
  return null;
2348
2352
  const J = Object.assign({}, S);
2349
- J.realWidth = C(V.value, Q, W);
2353
+ J.realWidth = C(V.value, Q, M);
2350
2354
  const oe = {
2351
2355
  store: e.store,
2352
2356
  _self: e.context || t,
2353
2357
  column: J,
2354
2358
  row: m,
2355
2359
  $index: E,
2356
- cellIndex: W,
2357
- expanded: M
2360
+ cellIndex: M,
2361
+ expanded: W
2358
2362
  };
2359
- W === k.value && R && (oe.treeNode = {
2363
+ M === k.value && R && (oe.treeNode = {
2360
2364
  indent: R.level * U.value,
2361
2365
  level: R.level
2362
2366
  }, Ee(R.expanded) && (oe.treeNode.expanded = R.expanded, "loading" in R && (oe.treeNode.loading = R.loading), "noLazyChildren" in R && (oe.treeNode.noLazyChildren = R.noLazyChildren)));
2363
- const re = `${x(m, E)},${W}`, ge = J.columnKey || J.rawColumnKey || "", te = S.showOverflowTooltip && Rl({
2367
+ const re = `${x(m, E)},${M}`, ge = J.columnKey || J.rawColumnKey || "", te = S.showOverflowTooltip && Rl({
2364
2368
  effect: K
2365
- }, $, S.showOverflowTooltip);
2369
+ }, H, S.showOverflowTooltip);
2366
2370
  return P(ra, {
2367
- style: f(E, W, m, S),
2368
- class: b(E, W, m, S, Q - 1),
2371
+ style: f(E, M, m, S),
2372
+ class: b(E, M, m, S, Q - 1),
2369
2373
  key: `${ge}${re}`,
2370
2374
  rowspan: q,
2371
2375
  colspan: Q,
2372
2376
  onMouseenter: (pe) => a(pe, m, te),
2373
2377
  onMouseleave: u
2374
2378
  }, {
2375
- default: () => p(W, S, oe)
2379
+ default: () => p(M, S, oe)
2376
2380
  });
2377
2381
  }));
2378
2382
  }, p = (m, E, R) => E.renderCell(R);
2379
2383
  return {
2380
2384
  wrappedRowRender: (m, E) => {
2381
- const R = e.store, { isRowExpanded: M, assertRowKey: K } = R, { treeData: $, lazyTreeNodeMap: D, childrenColumnName: U, rowKey: V } = R.states, _ = R.states.columns.value;
2385
+ const R = e.store, { isRowExpanded: W, assertRowKey: K } = R, { treeData: H, lazyTreeNodeMap: D, childrenColumnName: U, rowKey: V } = R.states, _ = R.states.columns.value;
2382
2386
  if (_.some(({ type: F }) => F === "expand")) {
2383
- const F = M(m), S = d(m, E, void 0, F), W = t.renderExpanded;
2384
- return F ? W ? [
2387
+ const F = W(m), S = d(m, E, void 0, F), M = t.renderExpanded;
2388
+ return F ? M ? [
2385
2389
  [
2386
2390
  S,
2387
2391
  P("tr", {
@@ -2390,20 +2394,20 @@ function ia(e) {
2390
2394
  P("td", {
2391
2395
  colspan: _.length,
2392
2396
  class: `${n.e("cell")} ${n.e("expanded-cell")}`
2393
- }, [W({ row: m, $index: E, store: R, expanded: F })])
2397
+ }, [M({ row: m, $index: E, store: R, expanded: F })])
2394
2398
  ])
2395
2399
  ]
2396
2400
  ] : (console.error("[Element Error]renderExpanded is required."), S) : [[S]];
2397
- } else if (Object.keys($.value).length) {
2401
+ } else if (Object.keys(H.value).length) {
2398
2402
  K();
2399
2403
  const F = le(m, V.value);
2400
- let S = $.value[F], W = null;
2401
- S && (W = {
2404
+ let S = H.value[F], M = null;
2405
+ S && (M = {
2402
2406
  expanded: S.expanded,
2403
2407
  level: S.level,
2404
2408
  display: !0
2405
- }, Ee(S.lazy) && (Ee(S.loaded) && S.loaded && (W.noLazyChildren = !(S.children && S.children.length)), W.loading = S.loading));
2406
- const q = [d(m, E, W)];
2409
+ }, Ee(S.lazy) && (Ee(S.loaded) && S.loaded && (M.noLazyChildren = !(S.children && S.children.length)), M.loading = S.loading));
2410
+ const q = [d(m, E, M)];
2407
2411
  if (S) {
2408
2412
  let Q = 0;
2409
2413
  const J = (re, ge) => {
@@ -2415,9 +2419,9 @@ function ia(e) {
2415
2419
  noLazyChildren: !1,
2416
2420
  loading: !1
2417
2421
  }, me = le(te, V.value);
2418
- if (He(me))
2422
+ if ($e(me))
2419
2423
  throw new Error("For nested data item, row-key is required.");
2420
- if (S = { ...$.value[me] }, S && (pe.expanded = S.expanded, S.level = S.level || pe.level, S.display = !!(S.expanded && pe.display), Ee(S.lazy) && (Ee(S.loaded) && S.loaded && (pe.noLazyChildren = !(S.children && S.children.length)), pe.loading = S.loading)), Q++, q.push(d(te, E + Q, pe)), S) {
2424
+ if (S = { ...H.value[me] }, S && (pe.expanded = S.expanded, S.level = S.level || pe.level, S.display = !!(S.expanded && pe.display), Ee(S.lazy) && (Ee(S.loaded) && S.loaded && (pe.noLazyChildren = !(S.children && S.children.length)), pe.loading = S.loading)), Q++, q.push(d(te, E + Q, pe)), S) {
2421
2425
  const Qe = D.value[me] || te[U.value];
2422
2426
  J(Qe, S);
2423
2427
  }
@@ -2461,7 +2465,7 @@ var ca = he({
2461
2465
  name: "ElTableBody",
2462
2466
  props: ua,
2463
2467
  setup(e) {
2464
- const t = ne(), n = se(Se), l = ve("table"), { wrappedRowRender: s, tooltipContent: r, tooltipTrigger: i } = ia(e), { onColumnsChange: o, onScrollableChange: a } = zt(n), u = [];
2468
+ const t = ne(), n = se(Se), l = ve("table"), { wrappedRowRender: s, tooltipContent: r, tooltipTrigger: i } = ia(e), { onColumnsChange: o, onScrollableChange: a } = It(n), u = [];
2465
2469
  return de(e.store.states.hoverRow, (c, h) => {
2466
2470
  var v;
2467
2471
  const y = t == null ? void 0 : t.vnode.el, f = Array.from((y == null ? void 0 : y.children) || []).filter((C) => C == null ? void 0 : C.classList.contains(`${l.e("row")}`));
@@ -2485,7 +2489,7 @@ var ca = he({
2485
2489
  });
2486
2490
  } else
2487
2491
  u.forEach((C) => Ye(C, "hover-cell")), u.length = 0;
2488
- !e.store.states.isComplex.value || !Ae || bo(() => {
2492
+ !e.store.states.isComplex.value || !Ge || qn(() => {
2489
2493
  const C = f[h], k = f[c];
2490
2494
  C && !C.classList.contains("hover-fixed-row") && Ye(C, "hover-row"), k && it(k, "hover-row");
2491
2495
  });
@@ -2534,7 +2538,7 @@ function fa(e) {
2534
2538
  },
2535
2539
  getCellStyles: (r, i) => {
2536
2540
  const o = Kt(i, r.fixed, e.store);
2537
- return Be(o, "left"), Be(o, "right"), o;
2541
+ return Pe(o, "left"), Pe(o, "right"), o;
2538
2542
  },
2539
2543
  columns: t
2540
2544
  };
@@ -2562,7 +2566,7 @@ var ha = he({
2562
2566
  }
2563
2567
  },
2564
2568
  setup(e) {
2565
- const t = se(Se), n = ve("table"), { getCellClasses: l, getCellStyles: s, columns: r } = fa(e), { onScrollableChange: i, onColumnsChange: o } = zt(t);
2569
+ const t = se(Se), n = ve("table"), { getCellClasses: l, getCellStyles: s, columns: r } = fa(e), { onScrollableChange: i, onColumnsChange: o } = It(t);
2566
2570
  return {
2567
2571
  ns: n,
2568
2572
  onScrollableChange: i,
@@ -2676,24 +2680,24 @@ function pa(e, t, n, l) {
2676
2680
  const C = () => {
2677
2681
  l.store.commit("setHoverRow", null), l.hoverState && (l.hoverState = null);
2678
2682
  }, k = (F, S) => {
2679
- const { pixelX: W, pixelY: q } = S;
2680
- Math.abs(W) >= Math.abs(q) && (l.refs.bodyWrapper.scrollLeft += S.pixelX / 5);
2683
+ const { pixelX: M, pixelY: q } = S;
2684
+ Math.abs(M) >= Math.abs(q) && (l.refs.bodyWrapper.scrollLeft += S.pixelX / 5);
2681
2685
  }, x = T(() => e.height || e.maxHeight || n.states.fixedColumns.value.length > 0 || n.states.rightFixedColumns.value.length > 0), d = T(() => ({
2682
2686
  width: t.bodyWidth.value ? `${t.bodyWidth.value}px` : ""
2683
2687
  })), p = () => {
2684
2688
  x.value && t.updateElsHeight(), t.updateColumnsWidth(), requestAnimationFrame(R);
2685
2689
  };
2686
2690
  qe(async () => {
2687
- await We(), n.updateColumns(), M(), requestAnimationFrame(p);
2691
+ await Me(), n.updateColumns(), W(), requestAnimationFrame(p);
2688
2692
  const F = l.vnode.el, S = l.refs.headerWrapper;
2689
2693
  e.flexible && F && F.parentElement && (F.parentElement.style.minWidth = "0"), a.value = {
2690
2694
  width: h.value = F.offsetWidth,
2691
2695
  height: F.offsetHeight,
2692
2696
  headerHeight: e.showHeader && S ? S.offsetHeight : null
2693
- }, n.states.columns.value.forEach((W) => {
2694
- W.filteredValue && W.filteredValue.length && l.store.commit("filterChange", {
2695
- column: W,
2696
- values: W.filteredValue,
2697
+ }, n.states.columns.value.forEach((M) => {
2698
+ M.filteredValue && M.filteredValue.length && l.store.commit("filterChange", {
2699
+ column: M,
2700
+ values: M.filteredValue,
2697
2701
  silent: !0
2698
2702
  });
2699
2703
  }), l.$ready = !0;
@@ -2701,8 +2705,8 @@ function pa(e, t, n, l) {
2701
2705
  const w = (F, S) => {
2702
2706
  if (!F)
2703
2707
  return;
2704
- const W = Array.from(F.classList).filter((q) => !q.startsWith("is-scrolling-"));
2705
- W.push(t.scrollX.value ? S : "is-scrolling-none"), F.className = W.join(" ");
2708
+ const M = Array.from(F.classList).filter((q) => !q.startsWith("is-scrolling-"));
2709
+ M.push(t.scrollX.value ? S : "is-scrolling-none"), F.className = M.join(" ");
2706
2710
  }, m = (F) => {
2707
2711
  const { tableWrapper: S } = l.refs;
2708
2712
  w(S, F);
@@ -2720,19 +2724,19 @@ function pa(e, t, n, l) {
2720
2724
  const F = l.refs.scrollBarRef.wrapRef;
2721
2725
  if (!F)
2722
2726
  return;
2723
- const { scrollLeft: S, offsetWidth: W, scrollWidth: q } = F, { headerWrapper: Q, footerWrapper: J } = l.refs;
2727
+ const { scrollLeft: S, offsetWidth: M, scrollWidth: q } = F, { headerWrapper: Q, footerWrapper: J } = l.refs;
2724
2728
  Q && (Q.scrollLeft = S), J && (J.scrollLeft = S);
2725
- const oe = q - W - 1;
2729
+ const oe = q - M - 1;
2726
2730
  S >= oe ? m("is-scrolling-right") : m(S === 0 ? "is-scrolling-left" : "is-scrolling-middle");
2727
- }, M = () => {
2728
- l.refs.scrollBarRef && (l.refs.scrollBarRef.wrapRef && qt(l.refs.scrollBarRef.wrapRef, "scroll", R, {
2731
+ }, W = () => {
2732
+ l.refs.scrollBarRef && (l.refs.scrollBarRef.wrapRef && Xt(l.refs.scrollBarRef.wrapRef, "scroll", R, {
2729
2733
  passive: !0
2730
- }), e.fit ? Xt(l.vnode.el, K) : qt(window, "resize", K), Xt(l.refs.bodyWrapper, () => {
2734
+ }), e.fit ? Qt(l.vnode.el, K) : Xt(window, "resize", K), Qt(l.refs.bodyWrapper, () => {
2731
2735
  var F, S;
2732
2736
  K(), (S = (F = l.refs) == null ? void 0 : F.scrollBarRef) == null || S.update();
2733
2737
  }));
2734
2738
  }, K = () => {
2735
- var F, S, W, q;
2739
+ var F, S, M, q;
2736
2740
  const Q = l.vnode.el;
2737
2741
  if (!l.$ready || !Q)
2738
2742
  return;
@@ -2746,14 +2750,14 @@ function pa(e, t, n, l) {
2746
2750
  const pe = Q.offsetHeight;
2747
2751
  (e.height || x.value) && re !== pe && (J = !0);
2748
2752
  const me = e.tableLayout === "fixed" ? l.refs.headerWrapper : (F = l.refs.tableHeaderRef) == null ? void 0 : F.$el;
2749
- e.showHeader && (me == null ? void 0 : me.offsetHeight) !== ge && (J = !0), v.value = ((S = l.refs.tableWrapper) == null ? void 0 : S.scrollHeight) || 0, f.value = (me == null ? void 0 : me.scrollHeight) || 0, b.value = ((W = l.refs.footerWrapper) == null ? void 0 : W.offsetHeight) || 0, g.value = ((q = l.refs.appendWrapper) == null ? void 0 : q.offsetHeight) || 0, y.value = v.value - f.value - b.value - g.value, J && (a.value = {
2753
+ e.showHeader && (me == null ? void 0 : me.offsetHeight) !== ge && (J = !0), v.value = ((S = l.refs.tableWrapper) == null ? void 0 : S.scrollHeight) || 0, f.value = (me == null ? void 0 : me.scrollHeight) || 0, b.value = ((M = l.refs.footerWrapper) == null ? void 0 : M.offsetHeight) || 0, g.value = ((q = l.refs.appendWrapper) == null ? void 0 : q.offsetHeight) || 0, y.value = v.value - f.value - b.value - g.value, J && (a.value = {
2750
2754
  width: te,
2751
2755
  height: pe,
2752
2756
  headerHeight: e.showHeader && (me == null ? void 0 : me.offsetHeight) || 0
2753
2757
  }, p());
2754
- }, $ = bt(), D = T(() => {
2755
- const { bodyWidth: F, scrollY: S, gutterWidth: W } = t;
2756
- return F.value ? `${F.value - (S.value ? W : 0)}px` : "";
2758
+ }, H = bt(), D = T(() => {
2759
+ const { bodyWidth: F, scrollY: S, gutterWidth: M } = t;
2760
+ return F.value ? `${F.value - (S.value ? M : 0)}px` : "";
2757
2761
  }), U = T(() => e.maxHeight ? "fixed" : e.tableLayout), V = T(() => {
2758
2762
  if (e.data && e.data.length)
2759
2763
  return null;
@@ -2778,15 +2782,15 @@ function pa(e, t, n, l) {
2778
2782
  isGroup: u,
2779
2783
  handleMouseLeave: C,
2780
2784
  handleHeaderFooterMousewheel: k,
2781
- tableSize: $,
2785
+ tableSize: H,
2782
2786
  emptyBlockStyle: V,
2783
2787
  handleFixedMousewheel: (F, S) => {
2784
- const W = l.refs.bodyWrapper;
2788
+ const M = l.refs.bodyWrapper;
2785
2789
  if (Math.abs(S.spinY) > 0) {
2786
- const q = W.scrollTop;
2787
- S.pixelY < 0 && q !== 0 && F.preventDefault(), S.pixelY > 0 && W.scrollHeight - W.clientHeight > q && F.preventDefault(), W.scrollTop += Math.ceil(S.pixelY / 5);
2790
+ const q = M.scrollTop;
2791
+ S.pixelY < 0 && q !== 0 && F.preventDefault(), S.pixelY > 0 && M.scrollHeight - M.clientHeight > q && F.preventDefault(), M.scrollTop += Math.ceil(S.pixelY / 5);
2788
2792
  } else
2789
- W.scrollLeft += Math.ceil(S.pixelX / 5);
2793
+ M.scrollLeft += Math.ceil(S.pixelX / 5);
2790
2794
  },
2791
2795
  resizeProxyVisible: i,
2792
2796
  bodyWidth: D,
@@ -2817,7 +2821,7 @@ var ga = {
2817
2821
  type: Array,
2818
2822
  default: () => []
2819
2823
  },
2820
- size: $t,
2824
+ size: Ht,
2821
2825
  width: [String, Number],
2822
2826
  height: [String, Number],
2823
2827
  maxHeight: [String, Number],
@@ -2896,7 +2900,7 @@ var ga = {
2896
2900
  default: !0
2897
2901
  }
2898
2902
  };
2899
- function zl(e) {
2903
+ function Il(e) {
2900
2904
  const t = e.tableLayout === "auto";
2901
2905
  let n = e.columns || [];
2902
2906
  t && n.every(({ width: s }) => Ce(s)) && (n = []);
@@ -2912,7 +2916,7 @@ function zl(e) {
2912
2916
  };
2913
2917
  return P("colgroup", {}, n.map((s) => P("col", l(s))));
2914
2918
  }
2915
- zl.props = ["columns", "tableLayout"];
2919
+ Il.props = ["columns", "tableLayout"];
2916
2920
  const ba = () => {
2917
2921
  const e = L(), t = (r, i) => {
2918
2922
  const o = e.value;
@@ -2928,17 +2932,17 @@ const ba = () => {
2928
2932
  setScrollLeft: (r) => n("Left", r)
2929
2933
  };
2930
2934
  };
2931
- var tl = !1, Me, xt, Et, lt, nt, Il, ot, Lt, kt, Rt, Dl, Nt, Ft, _l, jl;
2935
+ var tl = !1, We, xt, Et, lt, nt, zl, ot, Lt, kt, Rt, Dl, Nt, Ft, _l, jl;
2932
2936
  function ue() {
2933
2937
  if (!tl) {
2934
2938
  tl = !0;
2935
2939
  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), n = /(Mac OS X)|(Windows)|(Linux)/.exec(e);
2936
2940
  if (Nt = /\b(iPhone|iP[ao]d)/.exec(e), Ft = /\b(iP[ao]d)/.exec(e), Rt = /Android/i.exec(e), _l = /FBAN\/\w+;/i.exec(e), jl = /Mobile/i.exec(e), Dl = !!/Win64/.exec(e), t) {
2937
- Me = t[1] ? parseFloat(t[1]) : t[5] ? parseFloat(t[5]) : NaN, Me && document && document.documentMode && (Me = document.documentMode);
2941
+ We = t[1] ? parseFloat(t[1]) : t[5] ? parseFloat(t[5]) : NaN, We && document && document.documentMode && (We = document.documentMode);
2938
2942
  var l = /(?:Trident\/(\d+.\d+))/.exec(e);
2939
- Il = l ? parseFloat(l[1]) + 4 : Me, xt = t[2] ? parseFloat(t[2]) : NaN, Et = t[3] ? parseFloat(t[3]) : NaN, lt = t[4] ? parseFloat(t[4]) : NaN, lt ? (t = /(?:Chrome\/(\d+\.\d+))/.exec(e), nt = t && t[1] ? parseFloat(t[1]) : NaN) : nt = NaN;
2943
+ zl = l ? parseFloat(l[1]) + 4 : We, xt = t[2] ? parseFloat(t[2]) : NaN, Et = t[3] ? parseFloat(t[3]) : NaN, lt = t[4] ? parseFloat(t[4]) : NaN, lt ? (t = /(?:Chrome\/(\d+\.\d+))/.exec(e), nt = t && t[1] ? parseFloat(t[1]) : NaN) : nt = NaN;
2940
2944
  } else
2941
- Me = xt = Et = nt = lt = NaN;
2945
+ We = xt = Et = nt = lt = NaN;
2942
2946
  if (n) {
2943
2947
  if (n[1]) {
2944
2948
  var s = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);
@@ -2951,9 +2955,9 @@ function ue() {
2951
2955
  }
2952
2956
  }
2953
2957
  var Ot = { ie: function() {
2954
- return ue() || Me;
2958
+ return ue() || We;
2955
2959
  }, ieCompatibilityMode: function() {
2956
- return ue() || Il > Me;
2960
+ return ue() || zl > We;
2957
2961
  }, ie64: function() {
2958
2962
  return Ot.ie() && Dl;
2959
2963
  }, firefox: function() {
@@ -3041,7 +3045,7 @@ const Ra = he({
3041
3045
  TableBody: ca,
3042
3046
  TableFooter: ha,
3043
3047
  ElScrollbar: pl,
3044
- hColgroup: zl
3048
+ hColgroup: Il
3045
3049
  },
3046
3050
  props: ga,
3047
3051
  emits: [
@@ -3098,18 +3102,18 @@ const Ra = he({
3098
3102
  tableSize: m,
3099
3103
  emptyBlockStyle: E,
3100
3104
  handleFixedMousewheel: R,
3101
- resizeProxyVisible: M,
3105
+ resizeProxyVisible: W,
3102
3106
  bodyWidth: K,
3103
- resizeState: $,
3107
+ resizeState: H,
3104
3108
  doLayout: D,
3105
3109
  tableBodyStyles: U,
3106
3110
  tableLayout: V,
3107
3111
  scrollbarViewStyle: _,
3108
3112
  scrollbarStyle: G
3109
- } = pa(e, r, s, l), { scrollBarRef: F, scrollTo: S, setScrollLeft: W, setScrollTop: q } = ba(), Q = ut(D, 50), J = `${n.namespace.value}-table_${ka++}`;
3113
+ } = pa(e, r, s, l), { scrollBarRef: F, scrollTo: S, setScrollLeft: M, setScrollTop: q } = ba(), Q = ut(D, 50), J = `${n.namespace.value}-table_${ka++}`;
3110
3114
  l.tableId = J, l.state = {
3111
3115
  isGroup: d,
3112
- resizeState: $,
3116
+ resizeState: H,
3113
3117
  doLayout: D,
3114
3118
  debouncedUpdateLayout: Q
3115
3119
  };
@@ -3134,8 +3138,8 @@ const Ra = he({
3134
3138
  isHidden: C,
3135
3139
  isEmpty: i,
3136
3140
  renderExpanded: k,
3137
- resizeProxyVisible: M,
3138
- resizeState: $,
3141
+ resizeProxyVisible: W,
3142
+ resizeState: H,
3139
3143
  isGroup: d,
3140
3144
  bodyWidth: K,
3141
3145
  tableBodyStyles: U,
@@ -3163,7 +3167,7 @@ const Ra = he({
3163
3167
  scrollbarStyle: G,
3164
3168
  scrollBarRef: F,
3165
3169
  scrollTo: S,
3166
- setScrollLeft: W,
3170
+ setScrollLeft: M,
3167
3171
  setScrollTop: q,
3168
3172
  allowDragLastColumn: e.allowDragLastColumn
3169
3173
  };
@@ -3171,7 +3175,7 @@ const Ra = he({
3171
3175
  });
3172
3176
  function Na(e, t, n, l, s, r) {
3173
3177
  const i = be("hColgroup"), o = be("table-header"), a = be("table-body"), u = be("table-footer"), c = be("el-scrollbar"), h = cl("mousewheel");
3174
- return I(), X("div", {
3178
+ return z(), X("div", {
3175
3179
  ref: "tableWrapper",
3176
3180
  class: B([
3177
3181
  {
@@ -3192,7 +3196,7 @@ function Na(e, t, n, l, s, r) {
3192
3196
  e.ns.b(),
3193
3197
  e.ns.m(`layout-${e.tableLayout}`)
3194
3198
  ]),
3195
- style: $e(e.style),
3199
+ style: He(e.style),
3196
3200
  "data-prefix": e.ns.namespace.value,
3197
3201
  onMouseleave: e.handleMouseLeave
3198
3202
  }, [
@@ -3205,7 +3209,7 @@ function Na(e, t, n, l, s, r) {
3205
3209
  }, [
3206
3210
  Le(e.$slots, "default")
3207
3211
  ], 512),
3208
- e.showHeader && e.tableLayout === "fixed" ? Oe((I(), X("div", {
3212
+ e.showHeader && e.tableLayout === "fixed" ? Oe((z(), X("div", {
3209
3213
  key: 0,
3210
3214
  ref: "headerWrapper",
3211
3215
  class: B(e.ns.e("header-wrapper"))
@@ -3213,7 +3217,7 @@ function Na(e, t, n, l, s, r) {
3213
3217
  ae("table", {
3214
3218
  ref: "tableHeader",
3215
3219
  class: B(e.ns.e("header")),
3216
- style: $e(e.tableBodyStyles),
3220
+ style: He(e.tableBodyStyles),
3217
3221
  border: "0",
3218
3222
  cellpadding: "0",
3219
3223
  cellspacing: "0"
@@ -3254,7 +3258,7 @@ function Na(e, t, n, l, s, r) {
3254
3258
  cellspacing: "0",
3255
3259
  cellpadding: "0",
3256
3260
  border: "0",
3257
- style: $e({
3261
+ style: He({
3258
3262
  width: e.bodyWidth,
3259
3263
  tableLayout: e.tableLayout
3260
3264
  })
@@ -3263,7 +3267,7 @@ function Na(e, t, n, l, s, r) {
3263
3267
  columns: e.store.states.columns.value,
3264
3268
  "table-layout": e.tableLayout
3265
3269
  }, null, 8, ["columns", "table-layout"]),
3266
- e.showHeader && e.tableLayout === "auto" ? (I(), Fe(o, {
3270
+ e.showHeader && e.tableLayout === "auto" ? (z(), Fe(o, {
3267
3271
  key: 0,
3268
3272
  ref: "tableHeaderRef",
3269
3273
  class: B(e.ns.e("body-header")),
@@ -3283,7 +3287,7 @@ function Na(e, t, n, l, s, r) {
3283
3287
  store: e.store,
3284
3288
  stripe: e.stripe
3285
3289
  }, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "tooltip-options", "row-style", "store", "stripe"]),
3286
- e.showSummary && e.tableLayout === "auto" ? (I(), Fe(u, {
3290
+ e.showSummary && e.tableLayout === "auto" ? (z(), Fe(u, {
3287
3291
  key: 1,
3288
3292
  class: B(e.ns.e("body-footer")),
3289
3293
  border: e.border,
@@ -3293,10 +3297,10 @@ function Na(e, t, n, l, s, r) {
3293
3297
  "summary-method": e.summaryMethod
3294
3298
  }, null, 8, ["class", "border", "default-sort", "store", "sum-text", "summary-method"])) : xe("v-if", !0)
3295
3299
  ], 6),
3296
- e.isEmpty ? (I(), X("div", {
3300
+ e.isEmpty ? (z(), X("div", {
3297
3301
  key: 0,
3298
3302
  ref: "emptyBlock",
3299
- style: $e(e.emptyBlockStyle),
3303
+ style: He(e.emptyBlockStyle),
3300
3304
  class: B(e.ns.e("empty-block"))
3301
3305
  }, [
3302
3306
  ae("span", {
@@ -3307,7 +3311,7 @@ function Na(e, t, n, l, s, r) {
3307
3311
  ])
3308
3312
  ], 2)
3309
3313
  ], 6)) : xe("v-if", !0),
3310
- e.$slots.append ? (I(), X("div", {
3314
+ e.$slots.append ? (z(), X("div", {
3311
3315
  key: 1,
3312
3316
  ref: "appendWrapper",
3313
3317
  class: B(e.ns.e("append-wrapper"))
@@ -3318,7 +3322,7 @@ function Na(e, t, n, l, s, r) {
3318
3322
  _: 3
3319
3323
  }, 8, ["view-style", "wrap-style", "always", "tabindex", "onScroll"])
3320
3324
  ], 2),
3321
- e.showSummary && e.tableLayout === "fixed" ? Oe((I(), X("div", {
3325
+ e.showSummary && e.tableLayout === "fixed" ? Oe((z(), X("div", {
3322
3326
  key: 1,
3323
3327
  ref: "footerWrapper",
3324
3328
  class: B(e.ns.e("footer-wrapper"))
@@ -3328,7 +3332,7 @@ function Na(e, t, n, l, s, r) {
3328
3332
  cellspacing: "0",
3329
3333
  cellpadding: "0",
3330
3334
  border: "0",
3331
- style: $e(e.tableBodyStyles)
3335
+ style: He(e.tableBodyStyles)
3332
3336
  }, [
3333
3337
  we(i, {
3334
3338
  columns: e.store.states.columns.value,
@@ -3346,7 +3350,7 @@ function Na(e, t, n, l, s, r) {
3346
3350
  [Gt, !e.isEmpty],
3347
3351
  [h, e.handleHeaderFooterMousewheel]
3348
3352
  ]) : xe("v-if", !0),
3349
- e.border || e.isGroup ? (I(), X("div", {
3353
+ e.border || e.isGroup ? (z(), X("div", {
3350
3354
  key: 2,
3351
3355
  class: B(e.ns.e("border-left-patch"))
3352
3356
  }, null, 2)) : xe("v-if", !0)
@@ -3359,7 +3363,7 @@ function Na(e, t, n, l, s, r) {
3359
3363
  ])
3360
3364
  ], 46, ["data-prefix", "onMouseleave"]);
3361
3365
  }
3362
- var Fa = /* @__PURE__ */ Ve(Ra, [["render", Na], ["__file", "table.vue"]]);
3366
+ var Fa = /* @__PURE__ */ Be(Ra, [["render", Na], ["__file", "table.vue"]]);
3363
3367
  const Oa = {
3364
3368
  selection: "table-column--selection",
3365
3369
  expand: "table__expand-column"
@@ -3385,13 +3389,13 @@ const Oa = {
3385
3389
  realWidth: 48,
3386
3390
  order: ""
3387
3391
  }
3388
- }, Wa = (e) => Oa[e] || "", Ma = {
3392
+ }, Ma = (e) => Oa[e] || "", Wa = {
3389
3393
  selection: {
3390
3394
  renderHeader({ store: e, column: t }) {
3391
3395
  function n() {
3392
3396
  return e.states.data.value && e.states.data.value.length === 0;
3393
3397
  }
3394
- return P(Pe, {
3398
+ return P(Ae, {
3395
3399
  disabled: n(),
3396
3400
  size: e.states.tableSize.value,
3397
3401
  indeterminate: e.states.selection.value.length > 0 && !e.states.isAllSelected.value,
@@ -3406,7 +3410,7 @@ const Oa = {
3406
3410
  store: n,
3407
3411
  $index: l
3408
3412
  }) {
3409
- return P(Pe, {
3413
+ return P(Ae, {
3410
3414
  disabled: t.selectable ? !t.selectable.call(null, e, l) : !1,
3411
3415
  size: n.states.tableSize.value,
3412
3416
  onChange: () => {
@@ -3461,7 +3465,7 @@ const Oa = {
3461
3465
  resizable: !1
3462
3466
  }
3463
3467
  };
3464
- function Ha({
3468
+ function $a({
3465
3469
  row: e,
3466
3470
  column: t,
3467
3471
  $index: n
@@ -3470,7 +3474,7 @@ function Ha({
3470
3474
  const s = t.property, r = s && Cl(e, s).value;
3471
3475
  return t && t.formatter ? t.formatter(e, t, r, n) : ((l = r == null ? void 0 : r.toString) == null ? void 0 : l.call(r)) || "";
3472
3476
  }
3473
- function $a({
3477
+ function Ha({
3474
3478
  row: e,
3475
3479
  treeNode: t,
3476
3480
  store: n
@@ -3523,9 +3527,9 @@ function Aa(e, t) {
3523
3527
  }, o = al(r, i);
3524
3528
  Object.keys(o).forEach((a) => {
3525
3529
  const u = i[a];
3526
- Ge(t, u) && de(() => t[u], (c) => {
3530
+ Ue(t, u) && de(() => t[u], (c) => {
3527
3531
  let h = c;
3528
- u === "width" && a === "realWidth" && (h = Bt(c)), u === "minWidth" && a === "realMinWidth" && (h = Hl(c)), n.columnConfig.value[u] = h, n.columnConfig.value[a] = h;
3532
+ u === "width" && a === "realWidth" && (h = Bt(c)), u === "minWidth" && a === "realMinWidth" && (h = $l(c)), n.columnConfig.value[u] = h, n.columnConfig.value[a] = h;
3529
3533
  const v = u === "fixed";
3530
3534
  e.value.store.scheduleLayout(v);
3531
3535
  });
@@ -3552,7 +3556,7 @@ function Aa(e, t) {
3552
3556
  }, o = al(r, i);
3553
3557
  Object.keys(o).forEach((a) => {
3554
3558
  const u = i[a];
3555
- Ge(t, u) && de(() => t[u], (c) => {
3559
+ Ue(t, u) && de(() => t[u], (c) => {
3556
3560
  n.columnConfig.value[a] = c;
3557
3561
  });
3558
3562
  });
@@ -3577,13 +3581,13 @@ function Pa(e, t, n) {
3577
3581
  return !1;
3578
3582
  const { treeData: p } = d.states, w = p.value;
3579
3583
  return w && Object.keys(w).length > 0;
3580
- }), h = L(Bt(e.width)), v = L(Hl(e.minWidth)), y = (d) => (h.value && (d.width = h.value), v.value && (d.minWidth = v.value), !h.value && v.value && (d.width = void 0), d.minWidth || (d.minWidth = 80), d.realWidth = Number(Ce(d.width) ? d.minWidth : d.width), d), f = (d) => {
3581
- const p = d.type, w = Ma[p] || {};
3584
+ }), h = L(Bt(e.width)), v = L($l(e.minWidth)), y = (d) => (h.value && (d.width = h.value), v.value && (d.minWidth = v.value), !h.value && v.value && (d.width = void 0), d.minWidth || (d.minWidth = 80), d.realWidth = Number(Ce(d.width) ? d.minWidth : d.width), d), f = (d) => {
3585
+ const p = d.type, w = Wa[p] || {};
3582
3586
  Object.keys(w).forEach((E) => {
3583
3587
  const R = w[E];
3584
3588
  E !== "className" && !Ce(R) && (d[E] = R);
3585
3589
  });
3586
- const m = Wa(p);
3590
+ const m = Ma(p);
3587
3591
  if (m) {
3588
3592
  const E = `${O(a.namespace)}-${m}`;
3589
3593
  d.className = d.className ? `${d.className} ${E}` : E;
@@ -3605,24 +3609,24 @@ function Pa(e, t, n) {
3605
3609
  setColumnWidth: y,
3606
3610
  setColumnForcedProps: f,
3607
3611
  setColumnRenders: (d) => {
3608
- e.renderHeader ? Mt("TableColumn", "Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header.") : d.type !== "selection" && (d.renderHeader = (w) => (l.columnConfig.value.label, Le(t, "header", w, () => [d.label]))), t["filter-icon"] && (d.renderFilterIcon = (w) => Le(t, "filter-icon", w));
3612
+ e.renderHeader ? Wt("TableColumn", "Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header.") : d.type !== "selection" && (d.renderHeader = (w) => (l.columnConfig.value.label, Le(t, "header", w, () => [d.label]))), t["filter-icon"] && (d.renderFilterIcon = (w) => Le(t, "filter-icon", w));
3609
3613
  let p = d.renderCell;
3610
3614
  return d.type === "expand" ? (d.renderCell = (w) => P("div", {
3611
3615
  class: "cell"
3612
- }, [p(w)]), n.value.renderExpanded = (w) => t.default ? t.default(w) : t.default) : (p = p || Ha, d.renderCell = (w) => {
3616
+ }, [p(w)]), n.value.renderExpanded = (w) => t.default ? t.default(w) : t.default) : (p = p || $a, d.renderCell = (w) => {
3613
3617
  let m = null;
3614
3618
  if (t.default) {
3615
3619
  const D = t.default(w);
3616
3620
  m = D.some((U) => U.type !== gn) ? D : p(w);
3617
3621
  } else
3618
3622
  m = p(w);
3619
- const { columns: E } = n.value.store.states, R = E.value.findIndex((D) => D.type === "default"), M = c.value && w.cellIndex === R, K = $a(w, M), $ = {
3623
+ const { columns: E } = n.value.store.states, R = E.value.findIndex((D) => D.type === "default"), W = c.value && w.cellIndex === R, K = Ha(w, W), H = {
3620
3624
  class: "cell",
3621
3625
  style: {}
3622
3626
  };
3623
- return d.showOverflowTooltip && ($.class = `${$.class} ${O(a.namespace)}-tooltip`, $.style = {
3627
+ return d.showOverflowTooltip && (H.class = `${H.class} ${O(a.namespace)}-tooltip`, H.style = {
3624
3628
  width: `${(w.column.realWidth || Number(w.column.width)) - 1}px`
3625
- }), b(m), P("div", $, [K, m]);
3629
+ }), b(m), P("div", H, [K, m]);
3626
3630
  }), d;
3627
3631
  },
3628
3632
  getPropsData: (...d) => d.reduce((p, w) => (ee(w) && w.forEach((m) => {
@@ -3695,7 +3699,7 @@ let Va = 1;
3695
3699
  var ql = he({
3696
3700
  name: "ElTableColumn",
3697
3701
  components: {
3698
- ElCheckbox: Pe
3702
+ ElCheckbox: Ae
3699
3703
  },
3700
3704
  props: Ba,
3701
3705
  setup(e, { slots: t }) {
@@ -3739,7 +3743,7 @@ var ql = he({
3739
3743
  index: e.index,
3740
3744
  rawColumnKey: n.vnode.key
3741
3745
  };
3742
- let $ = f([
3746
+ let H = f([
3743
3747
  "columnKey",
3744
3748
  "label",
3745
3749
  "className",
@@ -3758,7 +3762,7 @@ var ql = he({
3758
3762
  "filterPlacement",
3759
3763
  "filterClassName"
3760
3764
  ]);
3761
- $ = Ho(m, $), $ = Ao(y, h, v)($), l.value = $, r(), i();
3765
+ H = $o(m, H), H = Ao(y, h, v)(H), l.value = H, r(), i();
3762
3766
  }), qe(() => {
3763
3767
  var x;
3764
3768
  const d = c.value, p = a.value ? d.vnode.el.children : (x = d.refs.hiddenColumns) == null ? void 0 : x.children, w = () => b(p || [], n.vnode.el);
@@ -3787,12 +3791,12 @@ var ql = he({
3787
3791
  }
3788
3792
  }
3789
3793
  });
3790
- const Xa = bl(Fa, {
3794
+ const es = bl(Fa, {
3791
3795
  TableColumn: ql
3792
- }), Qa = Ht(ql);
3796
+ }), ts = $t(ql);
3793
3797
  export {
3794
- Qa as E,
3795
- Xa as a,
3796
- Pe as b,
3797
- qa as c
3798
+ Ae as E,
3799
+ Za as a,
3800
+ ts as b,
3801
+ es as c
3798
3802
  };