st-comp 0.0.93 → 0.0.94

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 (83) hide show
  1. package/components.d.ts +13 -0
  2. package/es/ChartLayout.cjs +1 -1
  3. package/es/ChartLayout.js +2 -2
  4. package/es/Dialog.cjs +1 -5
  5. package/es/Dialog.js +45 -711
  6. package/es/FactorWarning.cjs +1 -1
  7. package/es/FactorWarning.js +463 -1
  8. package/es/Kline.cjs +1 -1
  9. package/es/Kline.js +92 -91
  10. package/es/KlineNew.cjs +1 -1
  11. package/es/KlineNew.js +10 -9
  12. package/es/Pagination.cjs +1 -1
  13. package/es/Pagination.js +106 -104
  14. package/es/Table.cjs +1 -20
  15. package/es/Table.js +361 -4253
  16. package/es/VarietySearch.cjs +1 -1
  17. package/es/VarietySearch.js +2522 -1
  18. package/es/VirtualTable.cjs +3 -3
  19. package/es/VirtualTable.js +249 -254
  20. package/es/base-6e64c2e6.js +762 -0
  21. package/es/base-8776b83e.cjs +9 -0
  22. package/es/castArray-59d5ae43.cjs +1 -0
  23. package/es/castArray-8ec29ca6.js +10 -0
  24. package/es/config-provider-76ef1b35.cjs +1 -0
  25. package/es/config-provider-f4278c8e.js +46 -0
  26. package/es/{el-button-9476b767.js → el-button-4c7ae9df.js} +52 -52
  27. package/es/{el-button-ed961332.cjs → el-button-65e4598f.cjs} +1 -1
  28. package/es/{el-empty-f4c08c01.js → el-empty-05e13b3c.js} +3 -3
  29. package/es/{el-empty-7adcc7f0.cjs → el-empty-dfe11c21.cjs} +1 -1
  30. package/es/el-icon-0ea8fbf8.cjs +1 -0
  31. package/es/el-icon-4ed993c7.js +1 -0
  32. package/es/el-input-11327619.cjs +9 -0
  33. package/es/el-input-f4898cfa.js +544 -0
  34. package/es/el-overlay-9d9c6ba9.cjs +5 -0
  35. package/es/el-overlay-d7af7dda.js +678 -0
  36. package/es/el-popover-4a4a4b02.cjs +1 -0
  37. package/es/el-popover-dc9c7ff7.js +133 -0
  38. package/es/el-radio-group-a31fb7c0.js +1743 -0
  39. package/es/el-radio-group-cc2d6c87.cjs +12 -0
  40. package/es/{el-scrollbar-ffb7b9c1.js → el-scrollbar-a00aca2f.js} +48 -48
  41. package/es/{el-scrollbar-586be9bd.cjs → el-scrollbar-f197b544.cjs} +1 -1
  42. package/es/el-select-5dbb0da3.cjs +1 -0
  43. package/es/el-select-b9cf452e.js +1360 -0
  44. package/es/el-table-column-1e15361e.cjs +20 -0
  45. package/es/el-table-column-675f51e6.js +3795 -0
  46. package/es/el-tag-c9d5baa7.cjs +1 -0
  47. package/es/{el-tag-7549c103.js → el-tag-f878b1f1.js} +126 -119
  48. package/es/{focus-trap-5fc152a0.js → focus-trap-2677bd39.js} +35 -34
  49. package/es/focus-trap-5f42842b.cjs +1 -0
  50. package/es/raf-32ed81f4.js +6 -0
  51. package/es/{raf-c4bba516.cjs → raf-7c366b55.cjs} +1 -1
  52. package/es/{scroll-38e17abc.cjs → scroll-22a00b05.cjs} +1 -1
  53. package/es/{scroll-c6e51ef8.js → scroll-9b9249e9.js} +5 -5
  54. package/es/style.css +1 -1
  55. package/es/use-form-item-67e7ef93.cjs +3 -0
  56. package/es/use-form-item-bfc7dddf.js +669 -0
  57. package/es/use-global-config-89daeba3.js +110 -0
  58. package/es/use-global-config-f9103903.cjs +1 -0
  59. package/es/{vnode-40f9df3c.cjs → vnode-69f3ca85.cjs} +1 -1
  60. package/es/{vnode-f4b846cb.js → vnode-aa3448ec.js} +1 -1
  61. package/es/zh-cn-720e514b.cjs +1 -0
  62. package/es/{zh-cn-e36dfbf4.js → zh-cn-e662dc89.js} +6 -45
  63. package/lib/bundle.js +1 -1
  64. package/lib/bundle.umd.cjs +174 -174
  65. package/lib/{index-4635557b.js → index-5d6aca6c.js} +27787 -27281
  66. package/lib/{python-aa056c80.js → python-dae8be67.js} +1 -1
  67. package/lib/style.css +1 -1
  68. package/package.json +1 -1
  69. package/packages/VarietySearch/components/CommonIndicator/index.vue +270 -112
  70. package/packages/VarietySearch/config.js +12 -1
  71. package/packages/VarietySearch/index.vue +8 -0
  72. package/es/base-8aa55db5.js +0 -725
  73. package/es/base-b187e78f.cjs +0 -9
  74. package/es/el-select-a6cf0236.js +0 -1893
  75. package/es/el-select-eaa79c54.cjs +0 -9
  76. package/es/el-tag-5a8b728a.cjs +0 -1
  77. package/es/focus-trap-ea1e7a19.cjs +0 -1
  78. package/es/raf-3a2b250a.js +0 -6
  79. package/es/use-form-item-bd4b9eeb.js +0 -531
  80. package/es/use-form-item-c25c7251.cjs +0 -3
  81. package/es/use-global-config-2d21cd56.js +0 -110
  82. package/es/use-global-config-bce8cdd8.cjs +0 -1
  83. package/es/zh-cn-a61d484e.cjs +0 -1
@@ -1,22 +1,17 @@
1
- import { W as Gn, b as le, d as O, u as He, _ as $n, w as pt, X as Vn, F as Ae, E as Y, a as kn, g as Pt, Y as Kn, L as nt, H as Be, G as Bn, U as Ct, i as je, f as Qe, m as jn } from "./base-8aa55db5.js";
2
- import { E as on } from "./el-empty-f4c08c01.js";
3
- import { B as Un, d as qn, a as Yn } from "./el-scrollbar-ffb7b9c1.js";
4
- import { E as Zn } from "./el-button-9476b767.js";
5
- import { defineComponent as re, computed as x, openBlock as Le, createElementBlock as ut, normalizeClass as Wt, unref as r, normalizeStyle as Xn, renderSlot as Jn, createCommentVNode as ht, getCurrentInstance as Ht, ref as G, reactive as Qn, watch as Fe, onBeforeUnmount as ln, h as ve, withModifiers as eo, onMounted as rt, nextTick as We, resolveDynamicComponent as Ft, shallowRef as Te, isVNode as Ie, toRef as Gt, createVNode as C, mergeProps as B, inject as rn, provide as to, mergeModels as $t, useModel as no, onUnmounted as oo, createBlock as ct, withCtx as ze, createTextVNode as Vt } from "vue";
1
+ import { b as le, d as O, u as He, _ as Gn, w as pt, a8 as kn, a4 as Ae, k as Y, o as Vn, i as Lt, W as $n, t as nt, v as Be, E as Kn, e as Ct, s as je, m as Qe, J as Bn } from "./base-6e64c2e6.js";
2
+ import { E as on } from "./el-empty-05e13b3c.js";
3
+ import { B as jn, d as Un, u as qn } from "./el-scrollbar-a00aca2f.js";
4
+ import { E as Yn } from "./el-button-4c7ae9df.js";
5
+ import { defineComponent as re, computed as x, openBlock as Pe, createElementBlock as ut, normalizeClass as Wt, unref as r, normalizeStyle as Zn, renderSlot as Xn, createCommentVNode as ht, getCurrentInstance as Ht, ref as G, reactive as Jn, watch as Fe, onBeforeUnmount as ln, h as ve, withModifiers as Qn, onMounted as rt, nextTick as We, resolveDynamicComponent as Ft, shallowRef as Te, isVNode as Ie, toRef as Gt, createVNode as C, mergeProps as B, inject as rn, provide as eo, mergeModels as kt, useModel as to, onUnmounted as no, createBlock as ct, withCtx as ze, createTextVNode as Vt } from "vue";
6
6
  import { m as an } from "./typescript-7ae59c4c.js";
7
- import { c as sn, r as cn } from "./raf-3a2b250a.js";
8
- import { g as lo } from "./scroll-c6e51ef8.js";
9
- import { E as dn, y as ro, A as ao, o as so } from "./use-form-item-bd4b9eeb.js";
7
+ import { c as sn, r as cn } from "./raf-32ed81f4.js";
8
+ import { g as oo } from "./scroll-9b9249e9.js";
9
+ import { c as lo } from "./castArray-8ec29ca6.js";
10
+ import { E as dn, I as ro, J as ao, b as so } from "./use-form-item-bfc7dddf.js";
10
11
  import { _ as io } from "./_plugin-vue_export-helper-dad06003.js";
11
- import "./use-global-config-2d21cd56.js";
12
+ import "./use-global-config-89daeba3.js";
12
13
  import "./index-657047bb.js";
13
- function co() {
14
- if (!arguments.length)
15
- return [];
16
- var e = arguments[0];
17
- return Gn(e) ? e : [e];
18
- }
19
- const uo = le({
14
+ const co = le({
20
15
  direction: {
21
16
  type: String,
22
17
  values: ["horizontal", "vertical"],
@@ -31,47 +26,47 @@ const uo = le({
31
26
  type: O(String),
32
27
  default: "solid"
33
28
  }
34
- }), ho = re({
29
+ }), uo = re({
35
30
  name: "ElDivider"
36
- }), fo = /* @__PURE__ */ re({
37
- ...ho,
38
- props: uo,
31
+ }), ho = /* @__PURE__ */ re({
32
+ ...uo,
33
+ props: co,
39
34
  setup(e) {
40
35
  const t = e, n = He("divider"), o = x(() => n.cssVar({
41
36
  "border-style": t.borderStyle
42
37
  }));
43
- return (a, s) => (Le(), ut("div", {
38
+ return (a, s) => (Pe(), ut("div", {
44
39
  class: Wt([r(n).b(), r(n).m(a.direction)]),
45
- style: Xn(r(o)),
40
+ style: Zn(r(o)),
46
41
  role: "separator"
47
42
  }, [
48
- a.$slots.default && a.direction !== "vertical" ? (Le(), ut("div", {
43
+ a.$slots.default && a.direction !== "vertical" ? (Pe(), ut("div", {
49
44
  key: 0,
50
45
  class: Wt([r(n).e("text"), r(n).is(a.contentPosition)])
51
46
  }, [
52
- Jn(a.$slots, "default")
47
+ Xn(a.$slots, "default")
53
48
  ], 2)) : ht("v-if", !0)
54
49
  ], 6));
55
50
  }
56
51
  });
57
- var mo = /* @__PURE__ */ $n(fo, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);
58
- const vo = pt(mo);
59
- var kt = Number.isNaN || function(t) {
52
+ var fo = /* @__PURE__ */ Gn(ho, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);
53
+ const mo = pt(fo);
54
+ var $t = Number.isNaN || function(t) {
60
55
  return typeof t == "number" && t !== t;
61
56
  };
62
- function go(e, t) {
63
- return !!(e === t || kt(e) && kt(t));
57
+ function vo(e, t) {
58
+ return !!(e === t || $t(e) && $t(t));
64
59
  }
65
- function yo(e, t) {
60
+ function go(e, t) {
66
61
  if (e.length !== t.length)
67
62
  return !1;
68
63
  for (var n = 0; n < e.length; n++)
69
- if (!go(e[n], t[n]))
64
+ if (!vo(e[n], t[n]))
70
65
  return !1;
71
66
  return !0;
72
67
  }
73
- function wo(e, t) {
74
- t === void 0 && (t = yo);
68
+ function yo(e, t) {
69
+ t === void 0 && (t = go);
75
70
  var n = null;
76
71
  function o() {
77
72
  for (var a = [], s = 0; s < arguments.length; s++)
@@ -89,16 +84,16 @@ function wo(e, t) {
89
84
  n = null;
90
85
  }, o;
91
86
  }
92
- const bo = () => {
87
+ const wo = () => {
93
88
  const t = Ht().proxy.$props;
94
89
  return x(() => {
95
90
  const n = (o, a, s) => ({});
96
- return t.perfMode ? Vn(n) : wo(n);
91
+ return t.perfMode ? kn(n) : yo(n);
97
92
  });
98
- }, Kt = 50, Bt = "itemRendered", jt = "scroll", Ke = "forward", ft = "backward", _e = "auto", un = "smart", mt = "start", Pe = "center", vt = "end", gt = "horizontal", hn = "vertical", fn = "rtl", yt = "negative", mn = "positive-ascending", vn = "positive-descending", So = {
93
+ }, Kt = 50, Bt = "itemRendered", jt = "scroll", Ke = "forward", ft = "backward", _e = "auto", un = "smart", mt = "start", Le = "center", vt = "end", gt = "horizontal", hn = "vertical", fn = "rtl", yt = "negative", mn = "positive-ascending", vn = "positive-descending", bo = {
99
94
  [gt]: "left",
100
95
  [hn]: "top"
101
- }, Ro = 20, wt = Ae({
96
+ }, So = 20, wt = Ae({
102
97
  type: O([Number, Function]),
103
98
  required: !0
104
99
  }), bt = Ae({
@@ -106,7 +101,7 @@ const bo = () => {
106
101
  }), St = Ae({
107
102
  type: Number,
108
103
  default: 2
109
- }), xo = Ae({
104
+ }), Ro = Ae({
110
105
  type: String,
111
106
  values: ["ltr", "rtl"],
112
107
  default: "ltr"
@@ -133,7 +128,7 @@ const bo = () => {
133
128
  type: O(Array),
134
129
  default: () => an([])
135
130
  },
136
- direction: xo,
131
+ direction: Ro,
137
132
  height: {
138
133
  type: [String, Number],
139
134
  required: !0
@@ -161,7 +156,7 @@ const bo = () => {
161
156
  type: Boolean,
162
157
  default: !1
163
158
  }
164
- }), To = le({
159
+ }), xo = le({
165
160
  cache: St,
166
161
  estimatedItemSize: bt,
167
162
  layout: gn,
@@ -228,7 +223,7 @@ function qt(e = !1) {
228
223
  }
229
224
  return De;
230
225
  }
231
- function Eo({ move: e, size: t, bar: n }, o) {
226
+ function To({ move: e, size: t, bar: n }, o) {
232
227
  const a = {}, s = `translate${n.axis}(${e}px)`;
233
228
  return a[n.size] = t, a.transform = s, a.msTransform = s, a.webkitTransform = s, o === "horizontal" ? a.height = "100%" : a.width = "100%", a;
234
229
  }
@@ -239,14 +234,14 @@ const Yt = re({
239
234
  setup(e, { emit: t }) {
240
235
  const n = x(() => e.startGap + e.endGap), o = He("virtual-scrollbar"), a = He("scrollbar"), s = G(), i = G();
241
236
  let c = null, h = null;
242
- const u = Qn({
237
+ const u = Jn({
243
238
  isDragging: !1,
244
239
  traveled: 0
245
- }), d = x(() => Un[e.layout]), m = x(() => e.clientSize - r(n)), w = x(() => ({
240
+ }), d = x(() => jn[e.layout]), m = x(() => e.clientSize - r(n)), w = x(() => ({
246
241
  position: "absolute",
247
242
  width: `${gt === e.layout ? m.value : e.scrollbarSize}px`,
248
243
  height: `${gt === e.layout ? e.scrollbarSize : m.value}px`,
249
- [So[e.layout]]: "2px",
244
+ [bo[e.layout]]: "2px",
250
245
  right: "2px",
251
246
  bottom: "2px",
252
247
  borderRadius: "4px"
@@ -257,14 +252,14 @@ const Yt = re({
257
252
  if (R >= 50)
258
253
  return R * D / 100;
259
254
  const T = D / 3;
260
- return Math.floor(Math.min(Math.max(R * D, Ro), T));
255
+ return Math.floor(Math.min(Math.max(R * D, So), T));
261
256
  }), y = x(() => {
262
257
  if (!Number.isFinite(g.value))
263
258
  return {
264
259
  display: "none"
265
260
  };
266
261
  const R = `${g.value}px`;
267
- return Eo({
262
+ return To({
268
263
  bar: d.value,
269
264
  size: R,
270
265
  move: u.traveled
@@ -289,9 +284,9 @@ const Yt = re({
289
284
  if (!T)
290
285
  return;
291
286
  sn(c);
292
- const I = (s.value.getBoundingClientRect()[d.value.direction] - R[d.value.client]) * -1, _ = i.value[d.value.offset] - T, P = I - _;
287
+ const I = (s.value.getBoundingClientRect()[d.value.direction] - R[d.value.client]) * -1, _ = i.value[d.value.offset] - T, L = I - _;
293
288
  c = cn(() => {
294
- u.traveled = Math.max(e.startGap, Math.min(P, l.value)), t("scroll", P, l.value);
289
+ u.traveled = Math.max(e.startGap, Math.min(L, l.value)), t("scroll", L, l.value);
295
290
  });
296
291
  }, A = (R) => {
297
292
  const D = Math.abs(R.target.getBoundingClientRect()[d.value.direction] - R[d.value.client]), T = i.value[d.value.offset] / 2, I = D - T;
@@ -310,7 +305,7 @@ const Yt = re({
310
305
  (e.alwaysOn || u.isDragging) && "always-on"
311
306
  ],
312
307
  style: w.value,
313
- onMousedown: eo(A, ["stop", "prevent"]),
308
+ onMousedown: Qn(A, ["stop", "prevent"]),
314
309
  onTouchstartPrevent: S
315
310
  }, ve("div", {
316
311
  ref: i,
@@ -319,7 +314,7 @@ const Yt = re({
319
314
  onMousedown: S
320
315
  }, []));
321
316
  }
322
- }), _o = ({ atXEndEdge: e, atXStartEdge: t, atYEndEdge: n, atYStartEdge: o }, a) => {
317
+ }), Eo = ({ atXEndEdge: e, atXStartEdge: t, atYEndEdge: n, atYStartEdge: o }, a) => {
323
318
  let s = null, i = 0, c = 0;
324
319
  const h = (d, m) => {
325
320
  const w = d <= 0 && t.value || d >= 0 && e.value, g = m <= 0 && o.value || m >= 0 && n.value;
@@ -367,24 +362,24 @@ const Yt = re({
367
362
  updateRequested: !1,
368
363
  xAxisScrollDir: Ke,
369
364
  yAxisScrollDir: Ke
370
- }), P = bo(), k = x(() => Number.parseInt(`${l.height}`, 10)), K = x(() => Number.parseInt(`${l.width}`, 10)), V = x(() => {
371
- const { totalColumn: p, totalRow: H, columnCache: M } = l, { isScrolling: L, xAxisScrollDir: N, scrollLeft: z } = r(_);
365
+ }), L = wo(), $ = x(() => Number.parseInt(`${l.height}`, 10)), K = x(() => Number.parseInt(`${l.width}`, 10)), V = x(() => {
366
+ const { totalColumn: p, totalRow: H, columnCache: M } = l, { isScrolling: P, xAxisScrollDir: N, scrollLeft: z } = r(_);
372
367
  if (p === 0 || H === 0)
373
368
  return [0, 0, 0, 0];
374
- const W = o(l, z, r(A)), F = a(l, W, z, r(A)), $ = !L || N === ft ? Math.max(1, M) : 1, X = !L || N === Ke ? Math.max(1, M) : 1;
369
+ const W = o(l, z, r(A)), F = a(l, W, z, r(A)), k = !P || N === ft ? Math.max(1, M) : 1, X = !P || N === Ke ? Math.max(1, M) : 1;
375
370
  return [
376
- Math.max(0, W - $),
371
+ Math.max(0, W - k),
377
372
  Math.max(0, Math.min(p - 1, F + X)),
378
373
  W,
379
374
  F
380
375
  ];
381
376
  }), j = x(() => {
382
- const { totalColumn: p, totalRow: H, rowCache: M } = l, { isScrolling: L, yAxisScrollDir: N, scrollTop: z } = r(_);
377
+ const { totalColumn: p, totalRow: H, rowCache: M } = l, { isScrolling: P, yAxisScrollDir: N, scrollTop: z } = r(_);
383
378
  if (p === 0 || H === 0)
384
379
  return [0, 0, 0, 0];
385
- const W = d(l, z, r(A)), F = m(l, W, z, r(A)), $ = !L || N === ft ? Math.max(1, M) : 1, X = !L || N === Ke ? Math.max(1, M) : 1;
380
+ const W = d(l, z, r(A)), F = m(l, W, z, r(A)), k = !P || N === ft ? Math.max(1, M) : 1, X = !P || N === Ke ? Math.max(1, M) : 1;
386
381
  return [
387
- Math.max(0, W - $),
382
+ Math.max(0, W - k),
388
383
  Math.max(0, Math.min(H - 1, F + X)),
389
384
  W,
390
385
  F
@@ -417,13 +412,13 @@ const Yt = re({
417
412
  if (p > 0 && H > 0) {
418
413
  const [
419
414
  F,
420
- $,
415
+ k,
421
416
  X,
422
417
  te
423
418
  ] = r(V), [ee, q, Xe, at] = r(j);
424
419
  f(Bt, {
425
420
  columnCacheStart: F,
426
- columnCacheEnd: $,
421
+ columnCacheEnd: k,
427
422
  rowCacheStart: ee,
428
423
  rowCacheEnd: q,
429
424
  columnVisibleStart: X,
@@ -434,7 +429,7 @@ const Yt = re({
434
429
  }
435
430
  const {
436
431
  scrollLeft: M,
437
- scrollTop: L,
432
+ scrollTop: P,
438
433
  updateRequested: N,
439
434
  xAxisScrollDir: z,
440
435
  yAxisScrollDir: W
@@ -443,58 +438,58 @@ const Yt = re({
443
438
  xAxisScrollDir: z,
444
439
  scrollLeft: M,
445
440
  yAxisScrollDir: W,
446
- scrollTop: L,
441
+ scrollTop: P,
447
442
  updateRequested: N
448
443
  });
449
444
  }, we = (p) => {
450
445
  const {
451
446
  clientHeight: H,
452
447
  clientWidth: M,
453
- scrollHeight: L,
448
+ scrollHeight: P,
454
449
  scrollLeft: N,
455
450
  scrollTop: z,
456
451
  scrollWidth: W
457
452
  } = p.currentTarget, F = r(_);
458
453
  if (F.scrollTop === z && F.scrollLeft === N)
459
454
  return;
460
- let $ = N;
455
+ let k = N;
461
456
  if (Ut(l.direction))
462
457
  switch (qt()) {
463
458
  case yt:
464
- $ = -N;
459
+ k = -N;
465
460
  break;
466
461
  case vn:
467
- $ = W - M - N;
462
+ k = W - M - N;
468
463
  break;
469
464
  }
470
465
  _.value = {
471
466
  ...F,
472
467
  isScrolling: !0,
473
- scrollLeft: $,
474
- scrollTop: Math.max(0, Math.min(z, L - H)),
468
+ scrollLeft: k,
469
+ scrollTop: Math.max(0, Math.min(z, P - H)),
475
470
  updateRequested: !0,
476
- xAxisScrollDir: Je(F.scrollLeft, $),
471
+ xAxisScrollDir: Je(F.scrollLeft, k),
477
472
  yAxisScrollDir: Je(F.scrollTop, z)
478
473
  }, We(() => Se()), Oe(), ne();
479
474
  }, be = (p, H) => {
480
- const M = r(k), L = (Z.value - M) / H * p;
475
+ const M = r($), P = (Z.value - M) / H * p;
481
476
  J({
482
- scrollTop: Math.min(Z.value - M, L)
477
+ scrollTop: Math.min(Z.value - M, P)
483
478
  });
484
479
  }, ue = (p, H) => {
485
- const M = r(K), L = (U.value - M) / H * p;
480
+ const M = r(K), P = (U.value - M) / H * p;
486
481
  J({
487
- scrollLeft: Math.min(U.value - M, L)
482
+ scrollLeft: Math.min(U.value - M, P)
488
483
  });
489
- }, { onWheel: ae } = _o({
484
+ }, { onWheel: ae } = Eo({
490
485
  atXStartEdge: x(() => _.value.scrollLeft <= 0),
491
486
  atXEndEdge: x(() => _.value.scrollLeft >= U.value - r(K)),
492
487
  atYStartEdge: x(() => _.value.scrollTop <= 0),
493
- atYEndEdge: x(() => _.value.scrollTop >= Z.value - r(k))
488
+ atYEndEdge: x(() => _.value.scrollTop >= Z.value - r($))
494
489
  }, (p, H) => {
495
- var M, L, N, z;
496
- (L = (M = D.value) == null ? void 0 : M.onMouseUp) == null || L.call(M), (z = (N = T.value) == null ? void 0 : N.onMouseUp) == null || z.call(N);
497
- const W = r(K), F = r(k);
490
+ var M, P, N, z;
491
+ (P = (M = D.value) == null ? void 0 : M.onMouseUp) == null || P.call(M), (z = (N = T.value) == null ? void 0 : N.onMouseUp) == null || z.call(N);
492
+ const W = r(K), F = r($);
498
493
  J({
499
494
  scrollLeft: Math.min(_.value.scrollLeft + p, U.value - W),
500
495
  scrollTop: Math.min(_.value.scrollTop + H, Z.value - F)
@@ -514,19 +509,19 @@ const Yt = re({
514
509
  updateRequested: !0
515
510
  }, We(() => Se()), Oe(), ne());
516
511
  }, Ge = (p = 0, H = 0, M = _e) => {
517
- const L = r(_);
512
+ const P = r(_);
518
513
  H = Math.max(0, Math.min(H, l.totalColumn - 1)), p = Math.max(0, Math.min(p, l.totalRow - 1));
519
- const N = lo(b.namespace.value), z = r(A), W = s(l, z), F = i(l, z);
514
+ const N = oo(b.namespace.value), z = r(A), W = s(l, z), F = i(l, z);
520
515
  J({
521
- scrollLeft: c(l, H, M, L.scrollLeft, z, F > l.width ? N : 0),
522
- scrollTop: h(l, p, M, L.scrollTop, z, W > l.height ? N : 0)
516
+ scrollLeft: c(l, H, M, P.scrollLeft, z, F > l.width ? N : 0),
517
+ scrollTop: h(l, p, M, P.scrollTop, z, W > l.height ? N : 0)
523
518
  });
524
519
  }, he = (p, H) => {
525
- const { columnWidth: M, direction: L, rowHeight: N } = l, z = P.value(t && M, t && N, t && L), W = `${p},${H}`;
526
- if (Kn(z, W))
520
+ const { columnWidth: M, direction: P, rowHeight: N } = l, z = L.value(t && M, t && N, t && P), W = `${p},${H}`;
521
+ if ($n(z, W))
527
522
  return z[W];
528
523
  {
529
- const [, F] = n(l, H, r(A)), $ = r(A), X = Ut(L), [te, ee] = u(l, p, $), [q] = n(l, H, $);
524
+ const [, F] = n(l, H, r(A)), k = r(A), X = Ut(P), [te, ee] = u(l, p, k), [q] = n(l, H, k);
530
525
  return z[W] = {
531
526
  position: "absolute",
532
527
  left: X ? void 0 : `${F}px`,
@@ -538,18 +533,18 @@ const Yt = re({
538
533
  }
539
534
  }, Se = () => {
540
535
  _.value.isScrolling = !1, We(() => {
541
- P.value(-1, null, null);
536
+ L.value(-1, null, null);
542
537
  });
543
538
  };
544
539
  rt(() => {
545
- if (!kn)
540
+ if (!Vn)
546
541
  return;
547
542
  const { initScrollLeft: p, initScrollTop: H } = l, M = r(R);
548
543
  M && (Y(p) && (M.scrollLeft = p), Y(H) && (M.scrollTop = H)), ne();
549
544
  });
550
545
  const Oe = () => {
551
- const { direction: p } = l, { scrollLeft: H, scrollTop: M, updateRequested: L } = r(_), N = r(R);
552
- if (L && N) {
546
+ const { direction: p } = l, { scrollLeft: H, scrollTop: M, updateRequested: P } = r(_), N = r(R);
547
+ if (P && N) {
553
548
  if (p === fn)
554
549
  switch (qt()) {
555
550
  case yt: {
@@ -570,16 +565,16 @@ const Yt = re({
570
565
  N.scrollLeft = Math.max(0, H);
571
566
  N.scrollTop = Math.max(0, M);
572
567
  }
573
- }, { resetAfterColumnIndex: Re, resetAfterRowIndex: $e, resetAfter: Ve } = E.proxy;
568
+ }, { resetAfterColumnIndex: Re, resetAfterRowIndex: ke, resetAfter: Ve } = E.proxy;
574
569
  v({
575
570
  windowRef: R,
576
571
  innerRef: I,
577
- getItemStyleCache: P,
572
+ getItemStyleCache: L,
578
573
  scrollTo: J,
579
574
  scrollToItem: Ge,
580
575
  states: _,
581
576
  resetAfterColumnIndex: Re,
582
- resetAfterRowIndex: $e,
577
+ resetAfterRowIndex: ke,
583
578
  resetAfter: Ve
584
579
  });
585
580
  const Q = () => {
@@ -587,9 +582,9 @@ const Yt = re({
587
582
  scrollbarAlwaysOn: p,
588
583
  scrollbarStartGap: H,
589
584
  scrollbarEndGap: M,
590
- totalColumn: L,
585
+ totalColumn: P,
591
586
  totalRow: N
592
- } = l, z = r(K), W = r(k), F = r(U), $ = r(Z), { scrollLeft: X, scrollTop: te } = r(_), ee = ve(Yt, {
587
+ } = l, z = r(K), W = r($), F = r(U), k = r(Z), { scrollLeft: X, scrollTop: te } = r(_), ee = ve(Yt, {
593
588
  ref: D,
594
589
  alwaysOn: p,
595
590
  startGap: H,
@@ -611,9 +606,9 @@ const Yt = re({
611
606
  clientSize: W,
612
607
  layout: "vertical",
613
608
  onScroll: be,
614
- ratio: W * 100 / $,
615
- scrollFrom: te / ($ - W),
616
- total: L,
609
+ ratio: W * 100 / k,
610
+ scrollFrom: te / (k - W),
611
+ total: P,
617
612
  visible: !0
618
613
  });
619
614
  return {
@@ -622,15 +617,15 @@ const Yt = re({
622
617
  };
623
618
  }, se = () => {
624
619
  var p;
625
- const [H, M] = r(V), [L, N] = r(j), { data: z, totalColumn: W, totalRow: F, useIsScrolling: $, itemKey: X } = l, te = [];
620
+ const [H, M] = r(V), [P, N] = r(j), { data: z, totalColumn: W, totalRow: F, useIsScrolling: k, itemKey: X } = l, te = [];
626
621
  if (F > 0 && W > 0)
627
- for (let ee = L; ee <= N; ee++)
622
+ for (let ee = P; ee <= N; ee++)
628
623
  for (let q = H; q <= M; q++)
629
624
  te.push((p = S.default) == null ? void 0 : p.call(S, {
630
625
  columnIndex: q,
631
626
  data: z,
632
627
  key: X({ columnIndex: q, data: z, rowIndex: ee }),
633
- isScrolling: $ ? r(_).isScrolling : void 0,
628
+ isScrolling: k ? r(_).isScrolling : void 0,
634
629
  style: he(ee, q),
635
630
  rowIndex: ee
636
631
  }));
@@ -641,13 +636,13 @@ const Yt = re({
641
636
  ve(p, {
642
637
  style: r(ye),
643
638
  ref: I
644
- }, Pt(p) ? H : {
639
+ }, Lt(p) ? H : {
645
640
  default: () => H
646
641
  })
647
642
  ];
648
643
  };
649
644
  return () => {
650
- const p = Ft(l.containerElement), { horizontalScrollbar: H, verticalScrollbar: M } = Q(), L = fe();
645
+ const p = Ft(l.containerElement), { horizontalScrollbar: H, verticalScrollbar: M } = Q(), P = fe();
651
646
  return ve("div", {
652
647
  key: 0,
653
648
  class: b.e("wrapper"),
@@ -659,13 +654,13 @@ const Yt = re({
659
654
  onScroll: we,
660
655
  onWheel: ae,
661
656
  ref: R
662
- }, Pt(p) ? L : { default: () => L }),
657
+ }, Lt(p) ? P : { default: () => P }),
663
658
  H,
664
659
  M
665
660
  ]);
666
661
  };
667
662
  }
668
- }), Zt = "ElFixedSizeGrid", po = Rn({
663
+ }), Zt = "ElFixedSizeGrid", _o = Rn({
669
664
  name: "ElFixedSizeGrid",
670
665
  getColumnPosition: ({ columnWidth: e }, t) => [
671
666
  e,
@@ -680,12 +675,12 @@ const Yt = re({
680
675
  getColumnOffset: ({ totalColumn: e, columnWidth: t, width: n }, o, a, s, i, c) => {
681
676
  n = Number(n);
682
677
  const h = Math.max(0, e * t - n), u = Math.min(h, o * t), d = Math.max(0, o * t - n + c + t);
683
- switch (a === "smart" && (s >= d - n && s <= u + n ? a = _e : a = Pe), a) {
678
+ switch (a === "smart" && (s >= d - n && s <= u + n ? a = _e : a = Le), a) {
684
679
  case mt:
685
680
  return u;
686
681
  case vt:
687
682
  return d;
688
- case Pe: {
683
+ case Le: {
689
684
  const m = Math.round(d + (u - d) / 2);
690
685
  return m < Math.ceil(n / 2) ? 0 : m > h + Math.floor(n / 2) ? h : m;
691
686
  }
@@ -697,12 +692,12 @@ const Yt = re({
697
692
  getRowOffset: ({ rowHeight: e, height: t, totalRow: n }, o, a, s, i, c) => {
698
693
  t = Number(t);
699
694
  const h = Math.max(0, n * e - t), u = Math.min(h, o * e), d = Math.max(0, o * e - t + c + e);
700
- switch (a === un && (s >= d - t && s <= u + t ? a = _e : a = Pe), a) {
695
+ switch (a === un && (s >= d - t && s <= u + t ? a = _e : a = Le), a) {
701
696
  case mt:
702
697
  return u;
703
698
  case vt:
704
699
  return d;
705
- case Pe: {
700
+ case Le: {
706
701
  const m = Math.round(d + (u - d) / 2);
707
702
  return m < Math.ceil(t / 2) ? 0 : m > h + Math.floor(t / 2) ? h : m;
708
703
  }
@@ -733,7 +728,7 @@ const Yt = re({
733
728
  instead ${typeof t} was given.
734
729
  `));
735
730
  }
736
- }), { max: lt, min: xn, floor: Tn } = Math, Xt = "ElDynamicSizeGrid", Co = {
731
+ }), { max: lt, min: xn, floor: Tn } = Math, Xt = "ElDynamicSizeGrid", po = {
737
732
  column: "columnWidth",
738
733
  row: "rowHeight"
739
734
  }, Tt = {
@@ -742,7 +737,7 @@ const Yt = re({
742
737
  }, ce = (e, t, n, o) => {
743
738
  const [a, s, i] = [
744
739
  n[o],
745
- e[Co[o]],
740
+ e[po[o]],
746
741
  n[Tt[o]]
747
742
  ];
748
743
  if (t > i) {
@@ -769,7 +764,7 @@ const Yt = re({
769
764
  c < a ? n = i + 1 : o = i - 1;
770
765
  }
771
766
  return lt(0, n - 1);
772
- }, Ho = (e, t, n, o, a) => {
767
+ }, Co = (e, t, n, o, a) => {
773
768
  const s = a === "column" ? e.totalColumn : e.totalRow;
774
769
  let i = 1;
775
770
  for (; n < s && ce(e, n, t, a).offset < o; )
@@ -780,7 +775,7 @@ const Yt = re({
780
775
  t[o],
781
776
  t[Tt[o]]
782
777
  ];
783
- return (s > 0 ? a[s].offset : 0) >= n ? En(e, t, 0, s, n, o) : Ho(e, t, lt(0, s), n, o);
778
+ return (s > 0 ? a[s].offset : 0) >= n ? En(e, t, 0, s, n, o) : Co(e, t, lt(0, s), n, o);
784
779
  }, _n = ({ totalRow: e }, { estimatedRowHeight: t, lastVisitedRowIndex: n, row: o }) => {
785
780
  let a = 0;
786
781
  if (n >= e && (n = e - 1), n >= 0) {
@@ -797,26 +792,26 @@ const Yt = re({
797
792
  }
798
793
  const i = (e - o - 1) * n;
799
794
  return a + i;
800
- }, Mo = {
795
+ }, Ho = {
801
796
  column: pn,
802
797
  row: _n
803
798
  }, Qt = (e, t, n, o, a, s, i) => {
804
799
  const [c, h] = [
805
800
  s === "row" ? e.height : e.width,
806
- Mo[s]
801
+ Ho[s]
807
802
  ], u = ce(e, t, a, s), d = h(e, a), m = lt(0, xn(d - c, u.offset)), w = lt(0, u.offset - c + i + u.size);
808
- switch (n === un && (o >= w - c && o <= m + c ? n = _e : n = Pe), n) {
803
+ switch (n === un && (o >= w - c && o <= m + c ? n = _e : n = Le), n) {
809
804
  case mt:
810
805
  return m;
811
806
  case vt:
812
807
  return w;
813
- case Pe:
808
+ case Le:
814
809
  return Math.round(w + (m - w) / 2);
815
810
  case _e:
816
811
  default:
817
812
  return o >= w && o <= m ? o : w > m || o < w ? w : m;
818
813
  }
819
- }, Ao = Rn({
814
+ }, Mo = Rn({
820
815
  name: "ElDynamicSizeGrid",
821
816
  getColumnPosition: (e, t, n) => {
822
817
  const o = ce(e, t, n, "column");
@@ -849,7 +844,7 @@ const Yt = re({
849
844
  injectToInstance: (e, t) => {
850
845
  const n = ({ columnIndex: s, rowIndex: i }, c) => {
851
846
  var h, u;
852
- c = Bn(c) ? !0 : c, Y(s) && (t.value.lastVisitedColumnIndex = Math.min(t.value.lastVisitedColumnIndex, s - 1)), Y(i) && (t.value.lastVisitedRowIndex = Math.min(t.value.lastVisitedRowIndex, i - 1)), (h = e.exposed) == null || h.getItemStyleCache.value(-1, null, null), c && ((u = e.proxy) == null || u.$forceUpdate());
847
+ c = Kn(c) ? !0 : c, Y(s) && (t.value.lastVisitedColumnIndex = Math.min(t.value.lastVisitedColumnIndex, s - 1)), Y(i) && (t.value.lastVisitedRowIndex = Math.min(t.value.lastVisitedRowIndex, i - 1)), (h = e.exposed) == null || h.getItemStyleCache.value(-1, null, null), c && ((u = e.proxy) == null || u.$forceUpdate());
853
848
  }, o = (s, i) => {
854
849
  n({
855
850
  columnIndex: s
@@ -892,7 +887,7 @@ const Et = {
892
887
  asc: "desc",
893
888
  desc: "asc"
894
889
  /* ASC */
895
- }, Ye = Symbol("placeholder"), Io = (e, t, n) => {
890
+ }, Ye = Symbol("placeholder"), Ao = (e, t, n) => {
896
891
  var o;
897
892
  const a = {
898
893
  flexGrow: 0,
@@ -911,7 +906,7 @@ const Et = {
911
906
  };
912
907
  return t || (e.maxWidth && (s.maxWidth = e.maxWidth), e.minWidth && (s.minWidth = e.minWidth)), s;
913
908
  };
914
- function Oo(e, t, n) {
909
+ function Io(e, t, n) {
915
910
  const o = x(() => r(t).filter((l) => !l.hidden)), a = x(() => r(o).filter((l) => l.fixed === "left" || l.fixed === !0)), s = x(() => r(o).filter((l) => l.fixed === "right")), i = x(() => r(o).filter((l) => !l.fixed)), c = x(() => {
916
911
  const l = [];
917
912
  return r(a).forEach((f) => {
@@ -927,7 +922,7 @@ function Oo(e, t, n) {
927
922
  placeholderSign: Ye
928
923
  });
929
924
  }), l;
930
- }), h = x(() => r(a).length || r(s).length), u = x(() => r(t).reduce((f, v) => (f[v.key] = Io(v, r(n), e.fixed), f), {})), d = x(() => r(o).reduce((l, f) => l + f.width, 0)), m = (l) => r(t).find((f) => f.key === l), w = (l) => r(u)[l], g = (l, f) => {
925
+ }), h = x(() => r(a).length || r(s).length), u = x(() => r(t).reduce((f, v) => (f[v.key] = Ao(v, r(n), e.fixed), f), {})), d = x(() => r(o).reduce((l, f) => l + f.width, 0)), m = (l) => r(t).find((f) => f.key === l), w = (l) => r(u)[l], g = (l, f) => {
931
926
  l.width = f;
932
927
  };
933
928
  function y(l) {
@@ -955,7 +950,7 @@ function Oo(e, t, n) {
955
950
  onColumnSorted: y
956
951
  };
957
952
  }
958
- const No = (e, {
953
+ const Oo = (e, {
959
954
  mainTableRef: t,
960
955
  leftTableRef: n,
961
956
  rightTableRef: o,
@@ -1000,7 +995,7 @@ const No = (e, {
1000
995
  onScroll: d,
1001
996
  onVerticalScroll: m
1002
997
  };
1003
- }, zo = (e, { mainTableRef: t, leftTableRef: n, rightTableRef: o }) => {
998
+ }, No = (e, { mainTableRef: t, leftTableRef: n, rightTableRef: o }) => {
1004
999
  const a = Ht(), { emit: s } = a, i = Te(!1), c = Te(null), h = G(e.defaultExpandedRowKeys || []), u = G(-1), d = Te(null), m = G({}), w = G({}), g = Te({}), y = Te({}), l = Te({}), f = x(() => Y(e.estimatedRowHeight));
1005
1000
  function v(T) {
1006
1001
  var I;
@@ -1013,35 +1008,35 @@ const No = (e, {
1013
1008
  expanded: T,
1014
1009
  rowData: I,
1015
1010
  rowIndex: _,
1016
- rowKey: P
1011
+ rowKey: L
1017
1012
  }) {
1018
- var k, K;
1019
- const V = [...r(h)], j = V.indexOf(P);
1020
- T ? j === -1 && V.push(P) : j > -1 && V.splice(j, 1), h.value = V, s("update:expandedRowKeys", V), (k = e.onRowExpand) == null || k.call(e, {
1013
+ var $, K;
1014
+ const V = [...r(h)], j = V.indexOf(L);
1015
+ T ? j === -1 && V.push(L) : j > -1 && V.splice(j, 1), h.value = V, s("update:expandedRowKeys", V), ($ = e.onRowExpand) == null || $.call(e, {
1021
1016
  expanded: T,
1022
1017
  rowData: I,
1023
1018
  rowIndex: _,
1024
- rowKey: P
1019
+ rowKey: L
1025
1020
  }), (K = e.onExpandedRowsChange) == null || K.call(e, V);
1026
1021
  }
1027
- const E = qn(() => {
1028
- var T, I, _, P;
1029
- i.value = !0, m.value = { ...r(m), ...r(w) }, A(r(d), !1), w.value = {}, d.value = null, (T = t.value) == null || T.forceUpdate(), (I = n.value) == null || I.forceUpdate(), (_ = o.value) == null || _.forceUpdate(), (P = a.proxy) == null || P.$forceUpdate(), i.value = !1;
1022
+ const E = Un(() => {
1023
+ var T, I, _, L;
1024
+ i.value = !0, m.value = { ...r(m), ...r(w) }, A(r(d), !1), w.value = {}, d.value = null, (T = t.value) == null || T.forceUpdate(), (I = n.value) == null || I.forceUpdate(), (_ = o.value) == null || _.forceUpdate(), (L = a.proxy) == null || L.$forceUpdate(), i.value = !1;
1030
1025
  }, 0);
1031
1026
  function A(T, I = !1) {
1032
1027
  r(f) && [t, n, o].forEach((_) => {
1033
- const P = r(_);
1034
- P && P.resetAfterRowIndex(T, I);
1028
+ const L = r(_);
1029
+ L && L.resetAfterRowIndex(T, I);
1035
1030
  });
1036
1031
  }
1037
1032
  function R(T, I, _) {
1038
- const P = r(d);
1039
- (P === null || P > _) && (d.value = _), w.value[T] = I;
1033
+ const L = r(d);
1034
+ (L === null || L > _) && (d.value = _), w.value[T] = I;
1040
1035
  }
1041
- function D({ rowKey: T, height: I, rowIndex: _ }, P) {
1042
- P ? P === Cn.RIGHT ? l.value[T] = I : g.value[T] = I : y.value[T] = I;
1043
- const k = Math.max(...[g, l, y].map((K) => K.value[T] || 0));
1044
- r(m)[T] !== k && (R(T, k, _), E());
1036
+ function D({ rowKey: T, height: I, rowIndex: _ }, L) {
1037
+ L ? L === Cn.RIGHT ? l.value[T] = I : g.value[T] = I : y.value[T] = I;
1038
+ const $ = Math.max(...[g, l, y].map((K) => K.value[T] || 0));
1039
+ r(m)[T] !== $ && (R(T, $, _), E());
1045
1040
  }
1046
1041
  return {
1047
1042
  hoveringRowKey: c,
@@ -1056,7 +1051,7 @@ const No = (e, {
1056
1051
  onRowsRendered: v,
1057
1052
  onRowHeightChange: D
1058
1053
  };
1059
- }, Do = (e, { expandedRowKeys: t, lastRenderedRowIndex: n, resetAfterIndex: o }) => {
1054
+ }, zo = (e, { expandedRowKeys: t, lastRenderedRowIndex: n, resetAfterIndex: o }) => {
1060
1055
  const a = G({}), s = x(() => {
1061
1056
  const c = {}, { data: h, rowKey: u } = e, d = r(t);
1062
1057
  if (!d || !d.length)
@@ -1079,7 +1074,7 @@ const No = (e, {
1079
1074
  data: i,
1080
1075
  depthMap: a
1081
1076
  };
1082
- }, Lo = (e, t) => e + t, et = (e) => je(e) ? e.reduce(Lo, 0) : e, Me = (e, t, n = {}) => Be(e) ? e(t) : e ?? n, ge = (e) => (["width", "maxWidth", "minWidth", "height"].forEach((t) => {
1077
+ }, Do = (e, t) => e + t, et = (e) => je(e) ? e.reduce(Do, 0) : e, Me = (e, t, n = {}) => Be(e) ? e(t) : e ?? n, ge = (e) => (["width", "maxWidth", "minWidth", "height"].forEach((t) => {
1083
1078
  e[t] = Qe(e[t]);
1084
1079
  }), e), Hn = (e) => Ie(e) ? (t) => ve(e, t) : e, Po = (e, {
1085
1080
  columnsTotalWidth: t,
@@ -1135,11 +1130,11 @@ const No = (e, {
1135
1130
  rootStyle: f,
1136
1131
  headerHeight: g
1137
1132
  };
1138
- }, Wo = (e) => {
1133
+ }, Lo = (e) => {
1139
1134
  const t = G(), n = G(0), o = G(0);
1140
1135
  let a;
1141
1136
  return rt(() => {
1142
- a = Yn(t, ([s]) => {
1137
+ a = qn(t, ([s]) => {
1143
1138
  const { width: i, height: c } = s.contentRect, { paddingLeft: h, paddingRight: u, paddingTop: d, paddingBottom: m } = getComputedStyle(s.target), w = Number.parseInt(h) || 0, g = Number.parseInt(u) || 0, y = Number.parseInt(d) || 0, l = Number.parseInt(m) || 0;
1144
1139
  n.value = i - w - g, o.value = c - y - l;
1145
1140
  }).stop;
@@ -1157,7 +1152,7 @@ const No = (e, {
1157
1152
  height: o
1158
1153
  };
1159
1154
  };
1160
- function Fo(e) {
1155
+ function Wo(e) {
1161
1156
  const t = G(), n = G(), o = G(), {
1162
1157
  columns: a,
1163
1158
  columnsStyles: s,
@@ -1167,7 +1162,7 @@ function Fo(e) {
1167
1162
  hasFixedColumns: u,
1168
1163
  mainColumns: d,
1169
1164
  onColumnSorted: m
1170
- } = Oo(e, Gt(e, "columns"), Gt(e, "fixed")), {
1165
+ } = Io(e, Gt(e, "columns"), Gt(e, "fixed")), {
1171
1166
  scrollTo: w,
1172
1167
  scrollToLeft: g,
1173
1168
  scrollToTop: y,
@@ -1175,7 +1170,7 @@ function Fo(e) {
1175
1170
  onScroll: f,
1176
1171
  onVerticalScroll: v,
1177
1172
  scrollPos: S
1178
- } = No(e, {
1173
+ } = Oo(e, {
1179
1174
  mainTableRef: t,
1180
1175
  leftTableRef: n,
1181
1176
  rightTableRef: o,
@@ -1189,14 +1184,14 @@ function Fo(e) {
1189
1184
  rowHeights: T,
1190
1185
  resetAfterIndex: I,
1191
1186
  onRowExpanded: _,
1192
- onRowHeightChange: P,
1193
- onRowHovered: k,
1187
+ onRowHeightChange: L,
1188
+ onRowHovered: $,
1194
1189
  onRowsRendered: K
1195
- } = zo(e, {
1190
+ } = No(e, {
1196
1191
  mainTableRef: t,
1197
1192
  leftTableRef: n,
1198
1193
  rightTableRef: o
1199
- }), { data: V, depthMap: j } = Do(e, {
1194
+ }), { data: V, depthMap: j } = zo(e, {
1200
1195
  expandedRowKeys: b,
1201
1196
  lastRenderedRowIndex: A,
1202
1197
  resetAfterIndex: I
@@ -1222,7 +1217,7 @@ function Fo(e) {
1222
1217
  const Q = r(V).length === 0;
1223
1218
  return je(e.fixedData) ? e.fixedData.length === 0 && Q : Q;
1224
1219
  });
1225
- function $e(Q) {
1220
+ function ke(Q) {
1226
1221
  const { estimatedRowHeight: se, rowHeight: fe, rowKey: me } = e;
1227
1222
  return se ? r(T)[r(V)[Q][me]] || se : fe;
1228
1223
  }
@@ -1264,12 +1259,12 @@ function Fo(e) {
1264
1259
  leftTableWidth: ye,
1265
1260
  rightTableWidth: ne,
1266
1261
  showEmpty: Re,
1267
- getRowHeight: $e,
1262
+ getRowHeight: ke,
1268
1263
  onColumnSorted: m,
1269
- onRowHovered: k,
1264
+ onRowHovered: $,
1270
1265
  onRowExpanded: _,
1271
1266
  onRowsRendered: K,
1272
- onRowHeightChange: P,
1267
+ onRowHeightChange: L,
1273
1268
  scrollTo: w,
1274
1269
  scrollToLeft: g,
1275
1270
  scrollToTop: y,
@@ -1286,7 +1281,7 @@ const Mt = Symbol("tableV2"), Mn = String, Ze = {
1286
1281
  }, An = {
1287
1282
  ...At,
1288
1283
  required: !0
1289
- }, Go = String, en = {
1284
+ }, Fo = String, en = {
1290
1285
  type: O(Array),
1291
1286
  default: () => an([])
1292
1287
  }, Ee = {
@@ -1305,7 +1300,7 @@ const Mt = Symbol("tableV2"), Mn = String, Ze = {
1305
1300
  required: !0
1306
1301
  },
1307
1302
  depth: Number,
1308
- expandColumnKey: Go,
1303
+ expandColumnKey: Fo,
1309
1304
  estimatedRowHeight: {
1310
1305
  ...Ce.estimatedRowHeight,
1311
1306
  default: void 0
@@ -1370,7 +1365,7 @@ const Mt = Symbol("tableV2"), Mn = String, Ze = {
1370
1365
  headerHeight: It.headerHeight,
1371
1366
  bodyWidth: Ee,
1372
1367
  rowHeight: Ee,
1373
- cache: To.cache,
1368
+ cache: xo.cache,
1374
1369
  useIsScrolling: Boolean,
1375
1370
  scrollbarAlwaysOn: Ce.scrollbarAlwaysOn,
1376
1371
  scrollbarStartGap: Ce.scrollbarStartGap,
@@ -1389,7 +1384,7 @@ const Mt = Symbol("tableV2"), Mn = String, Ze = {
1389
1384
  onScroll: {
1390
1385
  type: O(Function)
1391
1386
  }
1392
- }), $o = le({
1387
+ }), Go = le({
1393
1388
  cache: tt.cache,
1394
1389
  estimatedRowHeight: pe.estimatedRowHeight,
1395
1390
  rowKey: In,
@@ -1509,7 +1504,7 @@ const Nt = (e, {
1509
1504
  };
1510
1505
  Nt.displayName = "ElTableV2HeaderCell";
1511
1506
  Nt.inheritAttrs = !1;
1512
- const Vo = le({
1507
+ const ko = le({
1513
1508
  class: String,
1514
1509
  columns: Ze,
1515
1510
  columnsStyles: {
@@ -1518,9 +1513,9 @@ const Vo = le({
1518
1513
  },
1519
1514
  headerIndex: Number,
1520
1515
  style: { type: O(Object) }
1521
- }), ko = re({
1516
+ }), Vo = re({
1522
1517
  name: "ElTableV2HeaderRow",
1523
- props: Vo,
1518
+ props: ko,
1524
1519
  setup(e, {
1525
1520
  slots: t
1526
1521
  }) {
@@ -1549,8 +1544,8 @@ const Vo = le({
1549
1544
  }, [i]);
1550
1545
  };
1551
1546
  }
1552
- }), Ko = "ElTableV2Header", Bo = re({
1553
- name: Ko,
1547
+ }), $o = "ElTableV2Header", Ko = re({
1548
+ name: $o,
1554
1549
  props: It,
1555
1550
  setup(e, {
1556
1551
  slots: t,
@@ -1562,7 +1557,7 @@ const Vo = le({
1562
1557
  })), i = x(() => ge({
1563
1558
  width: e.rowWidth,
1564
1559
  height: e.height
1565
- })), c = x(() => co(r(e.headerHeight))), h = (m) => {
1560
+ })), c = x(() => lo(r(e.headerHeight))), h = (m) => {
1566
1561
  const w = r(a);
1567
1562
  We(() => {
1568
1563
  w != null && w.scroll && w.scroll({
@@ -1622,7 +1617,7 @@ const Vo = le({
1622
1617
  }, [d(), u()])]);
1623
1618
  };
1624
1619
  }
1625
- }), jo = (e) => {
1620
+ }), Bo = (e) => {
1626
1621
  const {
1627
1622
  isScrolling: t
1628
1623
  } = rn(Mt), n = G(!1), o = G(), a = x(() => Y(e.estimatedRowHeight) && e.rowIndex >= 0), s = (h = !1) => {
@@ -1709,8 +1704,8 @@ const Vo = le({
1709
1704
  eventHandlers: i,
1710
1705
  onExpand: c
1711
1706
  };
1712
- }, Uo = "ElTableV2TableRow", qo = re({
1713
- name: Uo,
1707
+ }, jo = "ElTableV2TableRow", Uo = re({
1708
+ name: jo,
1714
1709
  props: pe,
1715
1710
  setup(e, {
1716
1711
  expose: t,
@@ -1724,7 +1719,7 @@ const Vo = le({
1724
1719
  measured: c,
1725
1720
  rowRef: h,
1726
1721
  onExpand: u
1727
- } = jo(e);
1722
+ } = Bo(e);
1728
1723
  return t({
1729
1724
  onExpand: u
1730
1725
  }), () => {
@@ -1783,7 +1778,7 @@ const Vo = le({
1783
1778
  }, r(a)), [v]);
1784
1779
  };
1785
1780
  }
1786
- }), Yo = (e) => {
1781
+ }), qo = (e) => {
1787
1782
  const {
1788
1783
  sortOrder: t
1789
1784
  } = e;
@@ -1793,7 +1788,7 @@ const Vo = le({
1793
1788
  }, {
1794
1789
  default: () => [t === Ue.ASC ? C(ro, null, null) : C(ao, null, null)]
1795
1790
  });
1796
- }, Zo = (e) => {
1791
+ }, Yo = (e) => {
1797
1792
  const {
1798
1793
  expanded: t,
1799
1794
  expandable: n,
@@ -1810,7 +1805,7 @@ const Vo = le({
1810
1805
  }), {
1811
1806
  default: () => [C(so, null, null)]
1812
1807
  });
1813
- }, Xo = "ElTableV2Grid", Jo = (e) => {
1808
+ }, Zo = "ElTableV2Grid", Xo = (e) => {
1814
1809
  const t = G(), n = G(), o = x(() => {
1815
1810
  const {
1816
1811
  data: l,
@@ -1890,7 +1885,7 @@ const Vo = le({
1890
1885
  scrollToRow: g
1891
1886
  };
1892
1887
  }, zt = re({
1893
- name: Xo,
1888
+ name: Zo,
1894
1889
  props: tt,
1895
1890
  setup(e, {
1896
1891
  slots: t,
@@ -1913,7 +1908,7 @@ const Vo = le({
1913
1908
  scrollTo: l,
1914
1909
  scrollToTop: f,
1915
1910
  scrollToRow: v
1916
- } = Jo(e);
1911
+ } = Xo(e);
1917
1912
  n({
1918
1913
  forceUpdate: m,
1919
1914
  totalHeight: d,
@@ -1933,8 +1928,8 @@ const Vo = le({
1933
1928
  scrollbarAlwaysOn: T,
1934
1929
  scrollbarEndGap: I,
1935
1930
  scrollbarStartGap: _,
1936
- style: P,
1937
- rowHeight: k,
1931
+ style: L,
1932
+ rowHeight: $,
1938
1933
  bodyWidth: K,
1939
1934
  estimatedRowHeight: V,
1940
1935
  headerWidth: j,
@@ -1942,11 +1937,11 @@ const Vo = le({
1942
1937
  width: U,
1943
1938
  getRowHeight: de,
1944
1939
  onScroll: ye
1945
- } = e, ne = Y(V), we = ne ? Ao : po, be = r(u);
1940
+ } = e, ne = Y(V), we = ne ? Mo : _o, be = r(u);
1946
1941
  return C("div", {
1947
1942
  role: "table",
1948
1943
  class: [o.e("table"), e.class],
1949
- style: P
1944
+ style: L
1950
1945
  }, [C(we, {
1951
1946
  ref: a,
1952
1947
  data: A,
@@ -1957,7 +1952,7 @@ const Vo = le({
1957
1952
  totalColumn: 1,
1958
1953
  totalRow: A.length,
1959
1954
  rowCache: b,
1960
- rowHeight: ne ? de : k,
1955
+ rowHeight: ne ? de : $,
1961
1956
  width: U,
1962
1957
  height: r(i),
1963
1958
  class: o.e("body"),
@@ -1978,7 +1973,7 @@ const Vo = le({
1978
1973
  rowData: J
1979
1974
  });
1980
1975
  }
1981
- }), r(c) && C(Bo, {
1976
+ }), r(c) && C(Ko, {
1982
1977
  ref: h,
1983
1978
  class: o.e("header-wrapper"),
1984
1979
  columns: E,
@@ -1986,7 +1981,7 @@ const Vo = le({
1986
1981
  headerHeight: e.headerHeight,
1987
1982
  fixedHeaderData: R,
1988
1983
  rowWidth: j,
1989
- rowHeight: k,
1984
+ rowHeight: $,
1990
1985
  width: U,
1991
1986
  height: Math.min(be + r(s), Z)
1992
1987
  }, {
@@ -1996,10 +1991,10 @@ const Vo = le({
1996
1991
  };
1997
1992
  }
1998
1993
  });
1999
- function Qo(e) {
1994
+ function Jo(e) {
2000
1995
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ie(e);
2001
1996
  }
2002
- const el = (e, {
1997
+ const Qo = (e, {
2003
1998
  slots: t
2004
1999
  }) => {
2005
2000
  const {
@@ -2008,14 +2003,14 @@ const el = (e, {
2008
2003
  } = e;
2009
2004
  return C(zt, B({
2010
2005
  ref: n
2011
- }, o), Qo(t) ? t : {
2006
+ }, o), Jo(t) ? t : {
2012
2007
  default: () => [t]
2013
2008
  });
2014
2009
  };
2015
- function tl(e) {
2010
+ function el(e) {
2016
2011
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ie(e);
2017
2012
  }
2018
- const nl = (e, {
2013
+ const tl = (e, {
2019
2014
  slots: t
2020
2015
  }) => {
2021
2016
  if (!e.columns.length)
@@ -2026,14 +2021,14 @@ const nl = (e, {
2026
2021
  } = e;
2027
2022
  return C(zt, B({
2028
2023
  ref: n
2029
- }, o), tl(t) ? t : {
2024
+ }, o), el(t) ? t : {
2030
2025
  default: () => [t]
2031
2026
  });
2032
2027
  };
2033
- function ol(e) {
2028
+ function nl(e) {
2034
2029
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ie(e);
2035
2030
  }
2036
- const ll = (e, {
2031
+ const ol = (e, {
2037
2032
  slots: t
2038
2033
  }) => {
2039
2034
  if (!e.columns.length)
@@ -2044,14 +2039,14 @@ const ll = (e, {
2044
2039
  } = e;
2045
2040
  return C(zt, B({
2046
2041
  ref: n
2047
- }, o), ol(t) ? t : {
2042
+ }, o), nl(t) ? t : {
2048
2043
  default: () => [t]
2049
2044
  });
2050
2045
  };
2051
- function rl(e) {
2046
+ function ll(e) {
2052
2047
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ie(e);
2053
2048
  }
2054
- const al = (e, {
2049
+ const rl = (e, {
2055
2050
  slots: t
2056
2051
  }) => {
2057
2052
  const {
@@ -2082,17 +2077,17 @@ const al = (e, {
2082
2077
  columns: n,
2083
2078
  rowData: d,
2084
2079
  rowIndex: m
2085
- }), D = d[f], T = a[D] || 0, I = !!s, _ = m < 0, P = [S.e("row"), A, {
2080
+ }), D = d[f], T = a[D] || 0, I = !!s, _ = m < 0, L = [S.e("row"), A, {
2086
2081
  [S.e(`row-depth-${T}`)]: I && m >= 0,
2087
2082
  [S.is("expanded")]: I && i.includes(D),
2088
2083
  [S.is("hovered")]: !g && D === u,
2089
2084
  [S.is("fixed")]: !T && _,
2090
2085
  [S.is("customized")]: !!t.row
2091
- }], k = h ? b : void 0, K = {
2086
+ }], $ = h ? b : void 0, K = {
2092
2087
  ...R,
2093
2088
  columns: n,
2094
2089
  columnsStyles: o,
2095
- class: P,
2090
+ class: L,
2096
2091
  depth: T,
2097
2092
  expandColumnKey: s,
2098
2093
  estimatedRowHeight: _ ? void 0 : c,
@@ -2103,10 +2098,10 @@ const al = (e, {
2103
2098
  rowEventHandlers: v,
2104
2099
  style: w
2105
2100
  };
2106
- return C(qo, B(K, {
2107
- onRowHover: k,
2101
+ return C(Uo, B(K, {
2102
+ onRowHover: $,
2108
2103
  onRowExpand: E
2109
- }), rl(t) ? t : {
2104
+ }), ll(t) ? t : {
2110
2105
  default: () => [t]
2111
2106
  });
2112
2107
  }, _t = ({
@@ -2145,7 +2140,7 @@ const al = (e, {
2145
2140
  columnIndex: n,
2146
2141
  rowData: i,
2147
2142
  rowIndex: c
2148
- }) : jn(i, b ?? ""), T = Me(m, {
2143
+ }) : Bn(i, b ?? ""), T = Me(m, {
2149
2144
  cellData: D,
2150
2145
  columns: e,
2151
2146
  column: t,
@@ -2161,10 +2156,10 @@ const al = (e, {
2161
2156
  isScrolling: s,
2162
2157
  rowData: i,
2163
2158
  rowIndex: c
2164
- }, _ = R(I), P = [d.e("row-cell"), t.class, t.align === qe.CENTER && d.is("align-center"), t.align === qe.RIGHT && d.is("align-right")], k = c >= 0 && w && t.key === w, K = c >= 0 && u.includes(i[l]);
2159
+ }, _ = R(I), L = [d.e("row-cell"), t.class, t.align === qe.CENTER && d.is("align-center"), t.align === qe.RIGHT && d.is("align-right")], $ = c >= 0 && w && t.key === w, K = c >= 0 && u.includes(i[l]);
2165
2160
  let V;
2166
2161
  const j = `margin-inline-start: ${o * g}px;`;
2167
- return k && (Ct(a) ? V = C(Zo, B(a, {
2162
+ return $ && (Ct(a) ? V = C(Yo, B(a, {
2168
2163
  class: [d.e("expand-icon"), d.is("expanded", K)],
2169
2164
  size: y,
2170
2165
  expanded: K,
@@ -2173,17 +2168,17 @@ const al = (e, {
2173
2168
  }), null) : V = C("div", {
2174
2169
  style: [j, `width: ${y}px; height: ${y}px;`].join(" ")
2175
2170
  }, null)), C("div", B({
2176
- class: P,
2171
+ class: L,
2177
2172
  style: v
2178
2173
  }, T, {
2179
2174
  role: "cell"
2180
2175
  }), [V, _]);
2181
2176
  };
2182
2177
  _t.inheritAttrs = !1;
2183
- function sl(e) {
2178
+ function al(e) {
2184
2179
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ie(e);
2185
2180
  }
2186
- const il = ({
2181
+ const sl = ({
2187
2182
  columns: e,
2188
2183
  columnsStyles: t,
2189
2184
  headerIndex: n,
@@ -2207,7 +2202,7 @@ const il = ({
2207
2202
  headerIndex: n,
2208
2203
  style: o
2209
2204
  };
2210
- return C(ko, d, sl(c) ? c : {
2205
+ return C(Vo, d, al(c) ? c : {
2211
2206
  default: () => [c]
2212
2207
  });
2213
2208
  }, nn = (e, {
@@ -2251,7 +2246,7 @@ const il = ({
2251
2246
  };
2252
2247
  return C("div", B(b, {
2253
2248
  role: "columnheader"
2254
- }), [w, u && C(Yo, {
2249
+ }), [w, u && C(qo, {
2255
2250
  class: [o.e("sort-icon"), f && o.is("sorting")],
2256
2251
  sortOrder: v
2257
2252
  }, null)]);
@@ -2282,12 +2277,12 @@ const zn = (e, {
2282
2277
  }, [(n = t.default) == null ? void 0 : n.call(t)]);
2283
2278
  };
2284
2279
  zn.displayName = "ElTableV2Overlay";
2285
- function ke(e) {
2280
+ function $e(e) {
2286
2281
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ie(e);
2287
2282
  }
2288
- const cl = "ElTableV2", dl = re({
2289
- name: cl,
2290
- props: $o,
2283
+ const il = "ElTableV2", cl = re({
2284
+ name: il,
2285
+ props: Go,
2291
2286
  setup(e, {
2292
2287
  slots: t,
2293
2288
  expose: n
@@ -2316,8 +2311,8 @@ const cl = "ElTableV2", dl = re({
2316
2311
  emptyStyle: T,
2317
2312
  rootStyle: I,
2318
2313
  headerWidth: _,
2319
- footerHeight: P,
2320
- showEmpty: k,
2314
+ footerHeight: L,
2315
+ showEmpty: $,
2321
2316
  scrollTo: K,
2322
2317
  scrollToLeft: V,
2323
2318
  scrollToTop: j,
@@ -2330,13 +2325,13 @@ const cl = "ElTableV2", dl = re({
2330
2325
  onRowsRendered: be,
2331
2326
  onScroll: ue,
2332
2327
  onVerticalScroll: ae
2333
- } = Fo(e);
2328
+ } = Wo(e);
2334
2329
  return n({
2335
2330
  scrollTo: K,
2336
2331
  scrollToLeft: V,
2337
2332
  scrollToTop: j,
2338
2333
  scrollToRow: Z
2339
- }), to(Mt, {
2334
+ }), eo(Mt, {
2340
2335
  ns: o,
2341
2336
  isResetting: A,
2342
2337
  hoveringRowKey: f,
@@ -2349,7 +2344,7 @@ const cl = "ElTableV2", dl = re({
2349
2344
  expandColumnKey: Se,
2350
2345
  fixedData: Oe,
2351
2346
  headerHeight: Re,
2352
- headerClass: $e,
2347
+ headerClass: ke,
2353
2348
  headerProps: Ve,
2354
2349
  headerCellProps: Q,
2355
2350
  sortBy: se,
@@ -2358,12 +2353,12 @@ const cl = "ElTableV2", dl = re({
2358
2353
  rowClass: p,
2359
2354
  rowEventHandlers: H,
2360
2355
  rowKey: M,
2361
- rowProps: L,
2356
+ rowProps: P,
2362
2357
  scrollbarAlwaysOn: N,
2363
2358
  indentSize: z,
2364
2359
  iconSize: W,
2365
2360
  useIsScrolling: F,
2366
- vScrollbarSize: $,
2361
+ vScrollbarSize: k,
2367
2362
  width: X
2368
2363
  } = e, te = r(w), ee = {
2369
2364
  cache: J,
@@ -2372,7 +2367,7 @@ const cl = "ElTableV2", dl = re({
2372
2367
  data: te,
2373
2368
  fixedData: Oe,
2374
2369
  estimatedRowHeight: he,
2375
- bodyWidth: r(D) + $,
2370
+ bodyWidth: r(D) + k,
2376
2371
  headerHeight: Re,
2377
2372
  headerWidth: r(_),
2378
2373
  height: r(h),
@@ -2381,7 +2376,7 @@ const cl = "ElTableV2", dl = re({
2381
2376
  rowHeight: me,
2382
2377
  scrollbarAlwaysOn: N,
2383
2378
  scrollbarStartGap: 2,
2384
- scrollbarEndGap: $,
2379
+ scrollbarEndGap: k,
2385
2380
  useIsScrolling: F,
2386
2381
  width: X,
2387
2382
  getRowHeight: U,
@@ -2402,12 +2397,12 @@ const cl = "ElTableV2", dl = re({
2402
2397
  rowKey: M,
2403
2398
  scrollbarAlwaysOn: N,
2404
2399
  scrollbarStartGap: 2,
2405
- scrollbarEndGap: $,
2400
+ scrollbarEndGap: k,
2406
2401
  useIsScrolling: F,
2407
2402
  width: q,
2408
2403
  getRowHeight: U,
2409
2404
  onScroll: ae
2410
- }, st = r(m) + $, Dn = {
2405
+ }, st = r(m) + k, Dn = {
2411
2406
  cache: J,
2412
2407
  class: o.e("right"),
2413
2408
  columns: r(i),
@@ -2422,13 +2417,13 @@ const cl = "ElTableV2", dl = re({
2422
2417
  rowKey: M,
2423
2418
  scrollbarAlwaysOn: N,
2424
2419
  scrollbarStartGap: 2,
2425
- scrollbarEndGap: $,
2420
+ scrollbarEndGap: k,
2426
2421
  width: st,
2427
- style: `--${r(o.namespace)}-table-scrollbar-size: ${$}px`,
2422
+ style: `--${r(o.namespace)}-table-scrollbar-size: ${k}px`,
2428
2423
  useIsScrolling: F,
2429
2424
  getRowHeight: U,
2430
2425
  onScroll: ae
2431
- }, Ne = r(a), Ln = {
2426
+ }, Ne = r(a), Pn = {
2432
2427
  ns: o,
2433
2428
  depthMap: r(g),
2434
2429
  columnsStyles: Ne,
@@ -2437,7 +2432,7 @@ const cl = "ElTableV2", dl = re({
2437
2432
  estimatedRowHeight: he,
2438
2433
  hasFixedColumns: r(l),
2439
2434
  hoveringRowKey: r(f),
2440
- rowProps: L,
2435
+ rowProps: P,
2441
2436
  rowClass: p,
2442
2437
  rowKey: M,
2443
2438
  rowEventHandlers: H,
@@ -2452,40 +2447,40 @@ const cl = "ElTableV2", dl = re({
2452
2447
  rowKey: M,
2453
2448
  expandedRowKeys: r(y),
2454
2449
  ns: o
2455
- }, Pn = {
2450
+ }, Ln = {
2456
2451
  ns: o,
2457
- headerClass: $e,
2452
+ headerClass: ke,
2458
2453
  headerProps: Ve,
2459
2454
  columnsStyles: Ne
2460
- }, Lt = {
2455
+ }, Pt = {
2461
2456
  ns: o,
2462
2457
  sortBy: se,
2463
2458
  sortState: fe,
2464
2459
  headerCellProps: Q,
2465
2460
  onColumnSorted: de
2466
2461
  }, ie = {
2467
- row: (it) => C(al, B(it, Ln), {
2462
+ row: (it) => C(rl, B(it, Pn), {
2468
2463
  row: t.row,
2469
2464
  cell: (oe) => {
2470
2465
  let xe;
2471
2466
  return t.cell ? C(_t, B(oe, Dt, {
2472
2467
  style: Ne[oe.column.key]
2473
- }), ke(xe = t.cell(oe)) ? xe : {
2468
+ }), $e(xe = t.cell(oe)) ? xe : {
2474
2469
  default: () => [xe]
2475
2470
  }) : C(_t, B(oe, Dt, {
2476
2471
  style: Ne[oe.column.key]
2477
2472
  }), null);
2478
2473
  }
2479
2474
  }),
2480
- header: (it) => C(il, B(it, Pn), {
2475
+ header: (it) => C(sl, B(it, Ln), {
2481
2476
  header: t.header,
2482
2477
  cell: (oe) => {
2483
2478
  let xe;
2484
- return t["header-cell"] ? C(nn, B(oe, Lt, {
2479
+ return t["header-cell"] ? C(nn, B(oe, Pt, {
2485
2480
  style: Ne[oe.column.key]
2486
- }), ke(xe = t["header-cell"](oe)) ? xe : {
2481
+ }), $e(xe = t["header-cell"](oe)) ? xe : {
2487
2482
  default: () => [xe]
2488
- }) : C(nn, B(oe, Lt, {
2483
+ }) : C(nn, B(oe, Pt, {
2489
2484
  style: Ne[oe.column.key]
2490
2485
  }), null);
2491
2486
  }
@@ -2494,20 +2489,20 @@ const cl = "ElTableV2", dl = re({
2494
2489
  [o.is("dynamic")]: r(E)
2495
2490
  }], Fn = {
2496
2491
  class: o.e("footer"),
2497
- style: r(P)
2492
+ style: r(L)
2498
2493
  };
2499
2494
  return C("div", {
2500
2495
  class: Wn,
2501
2496
  style: r(I)
2502
- }, [C(el, ee, ke(ie) ? ie : {
2497
+ }, [C(Qo, ee, $e(ie) ? ie : {
2503
2498
  default: () => [ie]
2504
- }), C(nl, at, ke(ie) ? ie : {
2499
+ }), C(tl, at, $e(ie) ? ie : {
2505
2500
  default: () => [ie]
2506
- }), C(ll, Dn, ke(ie) ? ie : {
2501
+ }), C(ol, Dn, $e(ie) ? ie : {
2507
2502
  default: () => [ie]
2508
2503
  }), t.footer && C(On, Fn, {
2509
2504
  default: t.footer
2510
- }), r(k) && C(Nn, {
2505
+ }), r($) && C(Nn, {
2511
2506
  class: o.e("empty"),
2512
2507
  style: r(T)
2513
2508
  }, {
@@ -2519,15 +2514,15 @@ const cl = "ElTableV2", dl = re({
2519
2514
  })]);
2520
2515
  };
2521
2516
  }
2522
- }), ul = le({
2517
+ }), dl = le({
2523
2518
  disableWidth: Boolean,
2524
2519
  disableHeight: Boolean,
2525
2520
  onResize: {
2526
2521
  type: O(Function)
2527
2522
  }
2528
- }), hl = re({
2523
+ }), ul = re({
2529
2524
  name: "ElAutoResizer",
2530
- props: ul,
2525
+ props: dl,
2531
2526
  setup(e, {
2532
2527
  slots: t
2533
2528
  }) {
@@ -2535,7 +2530,7 @@ const cl = "ElTableV2", dl = re({
2535
2530
  height: o,
2536
2531
  width: a,
2537
2532
  sizer: s
2538
- } = Wo(e), i = {
2533
+ } = Lo(e), i = {
2539
2534
  width: "100%",
2540
2535
  height: "100%"
2541
2536
  };
@@ -2551,13 +2546,13 @@ const cl = "ElTableV2", dl = re({
2551
2546
  })]);
2552
2547
  };
2553
2548
  }
2554
- }), fl = pt(dl), ml = pt(hl);
2555
- const vl = {
2549
+ }), hl = pt(cl), fl = pt(ul);
2550
+ const ml = {
2556
2551
  key: 0,
2557
2552
  class: "footer-box"
2558
- }, gl = {
2553
+ }, vl = {
2559
2554
  __name: "index",
2560
- props: /* @__PURE__ */ $t({
2555
+ props: /* @__PURE__ */ kt({
2561
2556
  tableData: {
2562
2557
  type: Array,
2563
2558
  default: []
@@ -2580,7 +2575,7 @@ const vl = {
2580
2575
  },
2581
2576
  tableActiveDataModifiers: {}
2582
2577
  }),
2583
- emits: /* @__PURE__ */ $t(["touchBottom"], ["update:tableActiveData"]),
2578
+ emits: /* @__PURE__ */ kt(["touchBottom"], ["update:tableActiveData"]),
2584
2579
  setup(e, {
2585
2580
  emit: t
2586
2581
  }) {
@@ -2599,7 +2594,7 @@ const vl = {
2599
2594
  ...o.config
2600
2595
  })), s = G(null), i = G(0);
2601
2596
  let c = 0, h = !1, u = null;
2602
- const d = no(e, "tableActiveData"), m = x(() => d.value.map((v) => v[a.value.tableActiveKey])), w = ({
2597
+ const d = to(e, "tableActiveData"), m = x(() => d.value.map((v) => v[a.value.tableActiveKey])), w = ({
2603
2598
  rowData: v,
2604
2599
  rowIndex: S
2605
2600
  }) => {
@@ -2660,11 +2655,11 @@ const vl = {
2660
2655
  window.addEventListener("keydown", g);
2661
2656
  }), Fe(() => o.tableLoading, (v) => {
2662
2657
  v || (i.value = 0);
2663
- }), oo(() => {
2658
+ }), no(() => {
2664
2659
  window.removeEventListener("keydown", g);
2665
2660
  }), (v, S) => {
2666
- const b = on, E = Zn, A = vo, R = fl, D = ml;
2667
- return Le(), ct(D, null, {
2661
+ const b = on, E = Yn, A = mo, R = hl, D = fl;
2662
+ return Pe(), ct(D, null, {
2668
2663
  default: ze(({
2669
2664
  height: T,
2670
2665
  width: I
@@ -2694,7 +2689,7 @@ const vl = {
2694
2689
  height: "100%"
2695
2690
  }
2696
2691
  })]),
2697
- footer: ze(() => [i.value ? (Le(), ut("div", vl, [e.tableLoading === "more" ? (Le(), ct(A, {
2692
+ footer: ze(() => [i.value ? (Pe(), ut("div", ml, [e.tableLoading === "more" ? (Pe(), ct(A, {
2698
2693
  key: 0
2699
2694
  }, {
2700
2695
  default: ze(() => [C(E, {
@@ -2706,7 +2701,7 @@ const vl = {
2706
2701
  _: 1
2707
2702
  })]),
2708
2703
  _: 1
2709
- })) : e.tableLoading === "all" ? (Le(), ct(A, {
2704
+ })) : e.tableLoading === "all" ? (Pe(), ct(A, {
2710
2705
  key: 1
2711
2706
  }, {
2712
2707
  default: ze(() => [Vt(" 已无更多数据 ")]),
@@ -2719,9 +2714,9 @@ const vl = {
2719
2714
  };
2720
2715
  }
2721
2716
  };
2722
- const yl = /* @__PURE__ */ io(gl, [["__scopeId", "data-v-7e702a8a"]]), Il = {
2717
+ const gl = /* @__PURE__ */ io(vl, [["__scopeId", "data-v-7e702a8a"]]), Il = {
2723
2718
  install(e) {
2724
- e.component("st-virtualTable", yl);
2719
+ e.component("st-virtualTable", gl);
2725
2720
  }
2726
2721
  };
2727
2722
  export {