st-comp 0.0.221 → 0.0.222

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 (73) hide show
  1. package/es/ChartLayout.js +4 -4
  2. package/es/CustomFunction.js +30 -30
  3. package/es/FactorWarning.js +33 -33
  4. package/es/Kline.js +17 -17
  5. package/es/KlineBasic.cjs +1 -1
  6. package/es/KlineBasic.js +28 -28
  7. package/es/KlineConfig.js +61 -61
  8. package/es/KlineNew.js +16 -16
  9. package/es/KlinePlus.js +19 -19
  10. package/es/Pagination.js +73 -73
  11. package/es/PasswordPrompt.js +3 -3
  12. package/es/Table.js +38 -38
  13. package/es/TreeMap.cjs +1 -2
  14. package/es/TreeMap.js +1 -163
  15. package/es/User.js +44 -44
  16. package/es/VarSelectDialog.js +24 -24
  17. package/es/VarietyAutoComplete.js +10 -10
  18. package/es/VarietySearch.js +35 -35
  19. package/es/VarietyTextCopy.cjs +3 -3
  20. package/es/VarietyTextCopy.js +15 -15
  21. package/es/VirtualTable.js +70 -70
  22. package/es/{_initCloneObject-eaef9418.js → _initCloneObject-71a2d663.js} +7 -7
  23. package/es/{base-a5af3db3.js → base-ff0e366f.js} +40 -40
  24. package/es/{castArray-7741a212.js → castArray-15070be9.js} +1 -1
  25. package/es/{config-provider-b16efd62.js → config-provider-ef3c8ca2.js} +6 -6
  26. package/es/{debounce-8d53f4dd.js → debounce-e9e47f9a.js} +1 -1
  27. package/es/{dropdown-a59bba73.js → dropdown-41512a70.js} +13 -13
  28. package/es/{el-autocomplete-ba808eb6.js → el-autocomplete-6b56f161.js} +16 -16
  29. package/es/{el-button-c95adb85.js → el-button-72e66b1c.js} +39 -39
  30. package/es/{el-checkbox-7421ccd3.js → el-checkbox-7df65088.js} +31 -31
  31. package/es/{el-dialog-41ab8417.js → el-dialog-7d6e8f91.js} +15 -15
  32. package/es/{el-divider-4e059794.js → el-divider-4fe55ebe.js} +1 -1
  33. package/es/{el-empty-33cb66f1.js → el-empty-ceecb81c.js} +5 -5
  34. package/es/{el-form-item-c53c374d.js → el-form-item-706eb72e.js} +36 -36
  35. package/es/{el-input-2f75c4ba.js → el-input-8cafa639.js} +55 -55
  36. package/es/{el-input-number-5193fe6d.js → el-input-number-7907c63c.js} +36 -36
  37. package/es/{el-loading-f6022062.js → el-loading-3cfc4e19.js} +5 -5
  38. package/es/{el-menu-item-7e881203.js → el-menu-item-f7436984.js} +22 -22
  39. package/es/{el-message-box-a93d2f6a.js → el-message-box-8e4d6990.js} +11 -11
  40. package/es/{el-message-e544a8f5.js → el-message-f3d56a3e.js} +23 -23
  41. package/es/{el-overlay-09ad71cd.js → el-overlay-31707230.js} +56 -56
  42. package/es/{el-popconfirm-81dcd202.js → el-popconfirm-b113716a.js} +20 -20
  43. package/es/{el-popper-b4f97157.js → el-popper-f28554e1.js} +109 -109
  44. package/es/{el-segmented-b868d074.js → el-segmented-5f4d8e64.js} +8 -8
  45. package/es/{el-select-95627997.js → el-select-90ba1ff9.js} +64 -64
  46. package/es/{el-table-column-376cd907.js → el-table-column-bccab55d.js} +15 -15
  47. package/es/{el-tag-66cab138.js → el-tag-f03f602d.js} +15 -15
  48. package/es/{el-text-ac60d0f2.js → el-text-f106c80e.js} +2 -2
  49. package/es/{index-57672682.js → index-00e91ed2.js} +3 -3
  50. package/es/{index-a871c3eb.js → index-065f4c40.js} +29 -29
  51. package/es/{index-844bdd85.js → index-158df623.js} +34 -34
  52. package/es/{index-960806da.js → index-269b8a8c.js} +36 -36
  53. package/es/{index-d91dc23f.js → index-49767c81.js} +12 -12
  54. package/es/{index-e5566b94.js → index-60dd8509.js} +43 -43
  55. package/es/{index-88546436.js → index-89707217.js} +17 -17
  56. package/es/{index-d77a7336.js → index-93a8960e.js} +1 -1
  57. package/es/{index-1f7d4f70.js → index-b792012c.js} +2 -2
  58. package/es/raf-8e05a7f4.js +6 -0
  59. package/es/{scroll-679bd6bf.js → scroll-41b4f625.js} +5 -5
  60. package/es/style.css +1 -1
  61. package/es/{use-form-common-props-815d48a6.js → use-form-common-props-1f967d2e.js} +67 -67
  62. package/es/{use-global-config-b5e9d3d5.js → use-global-config-ded5e07b.js} +14 -14
  63. package/es/{validator-764a9db0.js → validator-5c8b5cdc.js} +1 -1
  64. package/es/{vnode-5ddb7ed1.js → vnode-06571d5b.js} +1 -1
  65. package/es/{zh-cn-e963c628.js → zh-cn-cae8ba43.js} +2 -2
  66. package/lib/bundle.js +1 -1
  67. package/lib/bundle.umd.cjs +1 -1
  68. package/lib/{index-d3e408b3.js → index-b2c7b8c5.js} +3 -3
  69. package/lib/{python-34cb78d0.js → python-430bbf9c.js} +1 -1
  70. package/lib/style.css +1 -1
  71. package/package.json +1 -1
  72. package/packages/KlineBasic/components/Tips/index.vue +2 -2
  73. package/es/raf-80ef0c0a.js +0 -6
package/es/Pagination.js CHANGED
@@ -1,28 +1,28 @@
1
- import { b as D, _ as L, e as te, u as A, j as ce, p as M, w as pe } from "./base-a5af3db3.js";
2
- import { z as ge, E as de } from "./zh-cn-e963c628.js";
3
- import "./el-tag-66cab138.js";
4
- import { a as fe, E as ve } from "./el-select-95627997.js";
1
+ import { b as D, _ as j, d as te, u as L, i as ce, f as M, w as pe } from "./base-ff0e366f.js";
2
+ import { z as ge, E as de } from "./zh-cn-cae8ba43.js";
3
+ import "./el-tag-f03f602d.js";
4
+ import { a as fe, E as ve } from "./el-select-90ba1ff9.js";
5
5
  import "./el-scrollbar-323542e7.js";
6
- import { C as J, d as me } from "./el-popper-b4f97157.js";
7
- import { E as be } from "./el-input-2f75c4ba.js";
8
- import { defineComponent as _, computed as C, openBlock as p, createElementBlock as y, unref as a, toDisplayString as I, createBlock as w, withCtx as R, resolveDynamicComponent as ne, inject as Pe, ref as T, watch as O, normalizeClass as N, createVNode as X, Fragment as ie, renderList as re, createElementVNode as Z, withKeys as Ce, createCommentVNode as H, getCurrentInstance as ze, provide as he, h as B, withDirectives as ye, mergeProps as Se, vShow as _e } from "vue";
9
- import { E as le, h as ke, j as ee, k as Ne, n as xe, g as Ee } from "./index-a871c3eb.js";
10
- import { i as G, k as oe, l as Te, h as we } from "./use-form-common-props-815d48a6.js";
11
- import { u as j } from "./index-d77a7336.js";
6
+ import { C as J, d as me } from "./el-popper-f28554e1.js";
7
+ import { E as be } from "./el-input-8cafa639.js";
8
+ import { defineComponent as _, computed as C, openBlock as p, createElementBlock as y, unref as a, toDisplayString as I, createBlock as w, withCtx as R, resolveDynamicComponent as ne, inject as Pe, ref as T, watch as O, normalizeClass as k, createVNode as X, Fragment as ie, renderList as re, createElementVNode as Z, withKeys as Ce, createCommentVNode as H, getCurrentInstance as ze, provide as he, h as B, withDirectives as ye, mergeProps as Se, vShow as _e } from "vue";
9
+ import { E as le, u as Ne, m as ee, x as ke, y as xe, r as Ee } from "./index-065f4c40.js";
10
+ import { i as G, c as oe, s as Te, u as we } from "./use-form-common-props-1f967d2e.js";
11
+ import { u as q } from "./index-93a8960e.js";
12
12
  import { m as se } from "./typescript-7ae59c4c.js";
13
- import { i as Me } from "./index-e5566b94.js";
13
+ import { d as Me } from "./index-60dd8509.js";
14
14
  import { u as $e } from "./index-2e331d74.js";
15
15
  import { _ as Be } from "./_plugin-vue_export-helper-dad06003.js";
16
- import "./config-provider-b16efd62.js";
17
- import "./use-global-config-b5e9d3d5.js";
18
- import "./index-960806da.js";
19
- import "./index-844bdd85.js";
20
- import "./index-57672682.js";
21
- import "./castArray-7741a212.js";
22
- import "./index-d91dc23f.js";
23
- import "./scroll-679bd6bf.js";
24
- import "./debounce-8d53f4dd.js";
25
- import "./vnode-5ddb7ed1.js";
16
+ import "./config-provider-ef3c8ca2.js";
17
+ import "./use-global-config-ded5e07b.js";
18
+ import "./index-269b8a8c.js";
19
+ import "./index-158df623.js";
20
+ import "./index-00e91ed2.js";
21
+ import "./castArray-15070be9.js";
22
+ import "./index-49767c81.js";
23
+ import "./scroll-41b4f625.js";
24
+ import "./debounce-e9e47f9a.js";
25
+ import "./vnode-06571d5b.js";
26
26
  const ue = Symbol("elPaginationKey"), Ie = D({
27
27
  disabled: Boolean,
28
28
  currentPage: {
@@ -37,14 +37,14 @@ const ue = Symbol("elPaginationKey"), Ie = D({
37
37
  }
38
38
  }), De = {
39
39
  click: (e) => e instanceof MouseEvent
40
- }, je = _({
40
+ }, qe = _({
41
41
  name: "ElPaginationPrev"
42
- }), qe = /* @__PURE__ */ _({
43
- ...je,
42
+ }), Ae = /* @__PURE__ */ _({
43
+ ...qe,
44
44
  props: Ie,
45
45
  emits: De,
46
46
  setup(e) {
47
- const o = e, { t: i } = j(), s = C(() => o.disabled || o.currentPage <= 1);
47
+ const o = e, { t: i } = q(), s = C(() => o.disabled || o.currentPage <= 1);
48
48
  return (l, g) => (p(), y("button", {
49
49
  type: "button",
50
50
  class: "btn-prev",
@@ -62,8 +62,8 @@ const ue = Symbol("elPaginationKey"), Ie = D({
62
62
  ], 8, ["disabled", "aria-label", "aria-disabled", "onClick"]));
63
63
  }
64
64
  });
65
- var Ae = /* @__PURE__ */ L(qe, [["__file", "prev.vue"]]);
66
- const Le = D({
65
+ var Le = /* @__PURE__ */ j(Ae, [["__file", "prev.vue"]]);
66
+ const je = D({
67
67
  disabled: Boolean,
68
68
  currentPage: {
69
69
  type: Number,
@@ -83,10 +83,10 @@ const Le = D({
83
83
  name: "ElPaginationNext"
84
84
  }), Ue = /* @__PURE__ */ _({
85
85
  ...Fe,
86
- props: Le,
86
+ props: je,
87
87
  emits: ["click"],
88
88
  setup(e) {
89
- const o = e, { t: i } = j(), s = C(() => o.disabled || o.currentPage === o.pageCount || o.pageCount === 0);
89
+ const o = e, { t: i } = q(), s = C(() => o.disabled || o.currentPage === o.pageCount || o.pageCount === 0);
90
90
  return (l, g) => (p(), y("button", {
91
91
  type: "button",
92
92
  class: "btn-next",
@@ -104,7 +104,7 @@ const Le = D({
104
104
  ], 8, ["disabled", "aria-label", "aria-disabled", "onClick"]));
105
105
  }
106
106
  });
107
- var Ke = /* @__PURE__ */ L(Ue, [["__file", "next.vue"]]);
107
+ var Ke = /* @__PURE__ */ j(Ue, [["__file", "next.vue"]]);
108
108
  const Y = () => Pe(ue, {}), Oe = D({
109
109
  pageSize: {
110
110
  type: Number,
@@ -131,7 +131,7 @@ const Y = () => Pe(ue, {}), Oe = D({
131
131
  props: Oe,
132
132
  emits: ["page-size-change"],
133
133
  setup(e, { emit: o }) {
134
- const i = e, { t: s } = j(), l = A("pagination"), g = Y(), f = T(i.pageSize);
134
+ const i = e, { t: s } = q(), l = L("pagination"), g = Y(), f = T(i.pageSize);
135
135
  O(() => i.pageSizes, (u, z) => {
136
136
  if (!Me(u, z) && ce(u)) {
137
137
  const c = u.includes(i.pageSize) ? i.pageSize : i.pageSizes[0];
@@ -146,7 +146,7 @@ const Y = () => Pe(ue, {}), Oe = D({
146
146
  u !== f.value && (f.value = u, (z = g.handleSizeChange) == null || z.call(g, Number(u)));
147
147
  }
148
148
  return (u, z) => (p(), y("span", {
149
- class: N(a(l).e("sizes"))
149
+ class: k(a(l).e("sizes"))
150
150
  }, [
151
151
  X(a(fe), {
152
152
  "model-value": f.value,
@@ -170,7 +170,7 @@ const Y = () => Pe(ue, {}), Oe = D({
170
170
  ], 2));
171
171
  }
172
172
  });
173
- var He = /* @__PURE__ */ L(We, [["__file", "sizes.vue"]]);
173
+ var He = /* @__PURE__ */ j(We, [["__file", "sizes.vue"]]);
174
174
  const Je = D({
175
175
  size: {
176
176
  type: String,
@@ -182,7 +182,7 @@ const Je = D({
182
182
  ...Ge,
183
183
  props: Je,
184
184
  setup(e) {
185
- const { t: o } = j(), i = A("pagination"), { pageCount: s, disabled: l, currentPage: g, changeEvent: f } = Y(), m = T(), P = C(() => {
185
+ const { t: o } = q(), i = L("pagination"), { pageCount: s, disabled: l, currentPage: g, changeEvent: f } = Y(), m = T(), P = C(() => {
186
186
  var c;
187
187
  return (c = m.value) != null ? c : g == null ? void 0 : g.value;
188
188
  });
@@ -193,15 +193,15 @@ const Je = D({
193
193
  c = Math.trunc(+c), f == null || f(c), m.value = void 0;
194
194
  }
195
195
  return (c, F) => (p(), y("span", {
196
- class: N(a(i).e("jump")),
196
+ class: k(a(i).e("jump")),
197
197
  disabled: a(l)
198
198
  }, [
199
199
  Z("span", {
200
- class: N([a(i).e("goto")])
200
+ class: k([a(i).e("goto")])
201
201
  }, I(a(o)("el.pagination.goto")), 3),
202
202
  X(a(be), {
203
203
  size: c.size,
204
- class: N([a(i).e("editor"), a(i).is("in-pagination")]),
204
+ class: k([a(i).e("editor"), a(i).is("in-pagination")]),
205
205
  min: 1,
206
206
  max: a(s),
207
207
  disabled: a(l),
@@ -213,12 +213,12 @@ const Je = D({
213
213
  onChange: z
214
214
  }, null, 8, ["size", "class", "max", "disabled", "model-value", "aria-label"]),
215
215
  Z("span", {
216
- class: N([a(i).e("classifier")])
216
+ class: k([a(i).e("classifier")])
217
217
  }, I(a(o)("el.pagination.pageClassifier")), 3)
218
218
  ], 10, ["disabled"]));
219
219
  }
220
220
  });
221
- var Qe = /* @__PURE__ */ L(Re, [["__file", "jumper.vue"]]);
221
+ var Qe = /* @__PURE__ */ j(Re, [["__file", "jumper.vue"]]);
222
222
  const Xe = D({
223
223
  total: {
224
224
  type: Number,
@@ -230,16 +230,16 @@ const Xe = D({
230
230
  ...Ye,
231
231
  props: Xe,
232
232
  setup(e) {
233
- const { t: o } = j(), i = A("pagination"), { disabled: s } = Y();
233
+ const { t: o } = q(), i = L("pagination"), { disabled: s } = Y();
234
234
  return (l, g) => (p(), y("span", {
235
- class: N(a(i).e("total")),
235
+ class: k(a(i).e("total")),
236
236
  disabled: a(s)
237
237
  }, I(a(o)("el.pagination.total", {
238
238
  total: l.total
239
239
  })), 11, ["disabled"]));
240
240
  }
241
241
  });
242
- var ea = /* @__PURE__ */ L(Ze, [["__file", "total.vue"]]);
242
+ var ea = /* @__PURE__ */ j(Ze, [["__file", "total.vue"]]);
243
243
  const aa = D({
244
244
  currentPage: {
245
245
  type: Number,
@@ -261,19 +261,19 @@ const aa = D({
261
261
  props: aa,
262
262
  emits: [J],
263
263
  setup(e, { emit: o }) {
264
- const i = e, s = A("pager"), l = A("icon"), { t: g } = j(), f = T(!1), m = T(!1), P = T(!1), u = T(!1), z = T(!1), c = T(!1), F = C(() => {
264
+ const i = e, s = L("pager"), l = L("icon"), { t: g } = q(), f = T(!1), m = T(!1), P = T(!1), u = T(!1), z = T(!1), c = T(!1), F = C(() => {
265
265
  const r = i.pagerCount, t = (r - 1) / 2, n = Number(i.currentPage), b = Number(i.pageCount);
266
- let v = !1, k = !1;
267
- b > r && (n > r - t && (v = !0), n < b - t && (k = !0));
266
+ let v = !1, N = !1;
267
+ b > r && (n > r - t && (v = !0), n < b - t && (N = !0));
268
268
  const $ = [];
269
- if (v && !k) {
269
+ if (v && !N) {
270
270
  const S = b - (r - 2);
271
271
  for (let x = S; x < b; x++)
272
272
  $.push(x);
273
- } else if (!v && k)
273
+ } else if (!v && N)
274
274
  for (let S = 2; S < r; S++)
275
275
  $.push(S);
276
- else if (v && k) {
276
+ else if (v && N) {
277
277
  const S = Math.floor(r / 2) - 1;
278
278
  for (let x = n - S; x <= n + S; x++)
279
279
  $.push(x);
@@ -281,7 +281,7 @@ const aa = D({
281
281
  for (let S = 2; S < b; S++)
282
282
  $.push(S);
283
283
  return $;
284
- }), q = C(() => [
284
+ }), A = C(() => [
285
285
  "more",
286
286
  "btn-quickprev",
287
287
  l.b(),
@@ -294,8 +294,8 @@ const aa = D({
294
294
  ]), d = C(() => i.disabled ? -1 : 0);
295
295
  O(() => [i.pageCount, i.pagerCount, i.currentPage], ([r, t, n]) => {
296
296
  const b = (t - 1) / 2;
297
- let v = !1, k = !1;
298
- r > t && (v = n > t - b, k = n < r - b), P.value && (P.value = v), u.value && (u.value = k), f.value = v, m.value = k;
297
+ let v = !1, N = !1;
298
+ r > t && (v = n > t - b, N = n < r - b), P.value && (P.value = v), u.value && (u.value = N), f.value = v, m.value = N;
299
299
  }, { immediate: !0 });
300
300
  function U(r = !1) {
301
301
  i.disabled || (r ? P.value = !0 : u.value = !0);
@@ -316,17 +316,17 @@ const aa = D({
316
316
  if (t.tagName.toLowerCase() === "ul" || i.disabled)
317
317
  return;
318
318
  let n = Number(t.textContent);
319
- const b = i.pageCount, v = i.currentPage, k = i.pagerCount - 2;
320
- t.className.includes("more") && (t.className.includes("quickprev") ? n = v - k : t.className.includes("quicknext") && (n = v + k)), Number.isNaN(+n) || (n < 1 && (n = 1), n > b && (n = b)), n !== v && o(J, n);
319
+ const b = i.pageCount, v = i.currentPage, N = i.pagerCount - 2;
320
+ t.className.includes("more") && (t.className.includes("quickprev") ? n = v - N : t.className.includes("quicknext") && (n = v + N)), Number.isNaN(+n) || (n < 1 && (n = 1), n > b && (n = b)), n !== v && o(J, n);
321
321
  }
322
322
  return (r, t) => (p(), y("ul", {
323
- class: N(a(s).b()),
323
+ class: k(a(s).b()),
324
324
  onClick: W,
325
325
  onKeyup: Ce(Q, ["enter"])
326
326
  }, [
327
327
  r.pageCount > 0 ? (p(), y("li", {
328
328
  key: 0,
329
- class: N([[
329
+ class: k([[
330
330
  a(s).is("active", r.currentPage === 1),
331
331
  a(s).is("disabled", r.disabled)
332
332
  ], "number"]),
@@ -336,7 +336,7 @@ const aa = D({
336
336
  }, " 1 ", 10, ["aria-current", "aria-label", "tabindex"])) : H("v-if", !0),
337
337
  f.value ? (p(), y("li", {
338
338
  key: 1,
339
- class: N(a(q)),
339
+ class: k(a(A)),
340
340
  tabindex: a(d),
341
341
  "aria-label": a(g)("el.pagination.prevPages", { pager: r.pagerCount - 2 }),
342
342
  onMouseenter: (n) => U(!0),
@@ -344,11 +344,11 @@ const aa = D({
344
344
  onFocus: (n) => V(!0),
345
345
  onBlur: (n) => z.value = !1
346
346
  }, [
347
- (P.value || z.value) && !r.disabled ? (p(), w(a(ke), { key: 0 })) : (p(), w(a(ee), { key: 1 }))
347
+ (P.value || z.value) && !r.disabled ? (p(), w(a(Ne), { key: 0 })) : (p(), w(a(ee), { key: 1 }))
348
348
  ], 42, ["tabindex", "aria-label", "onMouseenter", "onMouseleave", "onFocus", "onBlur"])) : H("v-if", !0),
349
349
  (p(!0), y(ie, null, re(a(F), (n) => (p(), y("li", {
350
350
  key: n,
351
- class: N([[
351
+ class: k([[
352
352
  a(s).is("active", r.currentPage === n),
353
353
  a(s).is("disabled", r.disabled)
354
354
  ], "number"]),
@@ -358,7 +358,7 @@ const aa = D({
358
358
  }, I(n), 11, ["aria-current", "aria-label", "tabindex"]))), 128)),
359
359
  m.value ? (p(), y("li", {
360
360
  key: 2,
361
- class: N(a(E)),
361
+ class: k(a(E)),
362
362
  tabindex: a(d),
363
363
  "aria-label": a(g)("el.pagination.nextPages", { pager: r.pagerCount - 2 }),
364
364
  onMouseenter: (n) => U(),
@@ -366,11 +366,11 @@ const aa = D({
366
366
  onFocus: (n) => V(),
367
367
  onBlur: (n) => c.value = !1
368
368
  }, [
369
- (u.value || c.value) && !r.disabled ? (p(), w(a(Ne), { key: 0 })) : (p(), w(a(ee), { key: 1 }))
369
+ (u.value || c.value) && !r.disabled ? (p(), w(a(ke), { key: 0 })) : (p(), w(a(ee), { key: 1 }))
370
370
  ], 42, ["tabindex", "aria-label", "onMouseenter", "onMouseleave", "onFocus", "onBlur"])) : H("v-if", !0),
371
371
  r.pageCount > 1 ? (p(), y("li", {
372
372
  key: 3,
373
- class: N([[
373
+ class: k([[
374
374
  a(s).is("active", r.currentPage === r.pageCount),
375
375
  a(s).is("disabled", r.disabled)
376
376
  ], "number"]),
@@ -381,7 +381,7 @@ const aa = D({
381
381
  ], 42, ["onKeyup"]));
382
382
  }
383
383
  });
384
- var ia = /* @__PURE__ */ L(na, [["__file", "pager.vue"]]);
384
+ var ia = /* @__PURE__ */ j(na, [["__file", "pager.vue"]]);
385
385
  const h = (e) => typeof e != "number", ra = D({
386
386
  pageSize: Number,
387
387
  defaultPageSize: Number,
@@ -446,7 +446,7 @@ var oa = _({
446
446
  props: ra,
447
447
  emits: la,
448
448
  setup(e, { emit: o, slots: i }) {
449
- const { t: s } = j(), l = A("pagination"), g = ze().vnode.props || {}, f = Te(), m = C(() => {
449
+ const { t: s } = q(), l = L("pagination"), g = ze().vnode.props || {}, f = Te(), m = C(() => {
450
450
  var t;
451
451
  return e.small ? "small" : (t = e.size) != null ? t : f.value;
452
452
  });
@@ -468,7 +468,7 @@ var oa = _({
468
468
  return !1;
469
469
  }
470
470
  return !0;
471
- }), c = T(h(e.defaultPageSize) ? 10 : e.defaultPageSize), F = T(h(e.defaultCurrentPage) ? 1 : e.defaultCurrentPage), q = C({
471
+ }), c = T(h(e.defaultPageSize) ? 10 : e.defaultPageSize), F = T(h(e.defaultCurrentPage) ? 1 : e.defaultCurrentPage), A = C({
472
472
  get() {
473
473
  return h(e.pageSize) ? c.value : e.pageSize;
474
474
  },
@@ -477,7 +477,7 @@ var oa = _({
477
477
  }
478
478
  }), E = C(() => {
479
479
  let t = 0;
480
- return h(e.pageCount) ? h(e.total) || (t = Math.max(1, Math.ceil(e.total / q.value))) : t = e.pageCount, t;
480
+ return h(e.pageCount) ? h(e.total) || (t = Math.max(1, Math.ceil(e.total / A.value))) : t = e.pageCount, t;
481
481
  }), d = C({
482
482
  get() {
483
483
  return h(e.currentPage) ? F.value : e.currentPage;
@@ -489,14 +489,14 @@ var oa = _({
489
489
  });
490
490
  O(E, (t) => {
491
491
  d.value > t && (d.value = t);
492
- }), O([d, q], (t) => {
492
+ }), O([d, A], (t) => {
493
493
  o(J, ...t);
494
494
  }, { flush: "post" });
495
495
  function U(t) {
496
496
  d.value = t;
497
497
  }
498
498
  function V(t) {
499
- q.value = t;
499
+ A.value = t;
500
500
  const n = E.value;
501
501
  d.value > n && (d.value = n);
502
502
  }
@@ -521,8 +521,8 @@ var oa = _({
521
521
  return me(ae, s("el.pagination.deprecationWarning")), null;
522
522
  if (!e.layout || e.hideOnSinglePage && E.value <= 1)
523
523
  return null;
524
- const b = [], v = [], k = B("div", { class: l.e("rightwrapper") }, v), $ = {
525
- prev: B(Ae, {
524
+ const b = [], v = [], N = B("div", { class: l.e("rightwrapper") }, v), $ = {
525
+ prev: B(Le, {
526
526
  disabled: e.disabled,
527
527
  currentPage: d.value,
528
528
  prevText: e.prevText,
@@ -548,7 +548,7 @@ var oa = _({
548
548
  onClick: W
549
549
  }),
550
550
  sizes: B(He, {
551
- pageSize: q.value,
551
+ pageSize: A.value,
552
552
  pageSizes: e.pageSizes,
553
553
  popperClass: e.popperClass,
554
554
  disabled: e.disabled,
@@ -566,7 +566,7 @@ var oa = _({
566
566
  return;
567
567
  }
568
568
  x ? v.push($[K]) : b.push($[K]);
569
- }), r(b[0], l.is("first")), r(b[b.length - 1], l.is("last")), x && v.length > 0 && (r(v[0], l.is("first")), r(v[v.length - 1], l.is("last")), b.push(k)), B("div", {
569
+ }), r(b[0], l.is("first")), r(b[b.length - 1], l.is("last")), x && v.length > 0 && (r(v[0], l.is("first")), r(v[v.length - 1], l.is("last")), b.push(N)), B("div", {
570
570
  class: [
571
571
  l.b(),
572
572
  l.is("background", e.background),
@@ -646,11 +646,11 @@ const ua = /* @__PURE__ */ _({
646
646
  };
647
647
  }
648
648
  });
649
- const ca = /* @__PURE__ */ Be(ua, [["__scopeId", "data-v-61b7745b"]]), ja = {
649
+ const ca = /* @__PURE__ */ Be(ua, [["__scopeId", "data-v-61b7745b"]]), qa = {
650
650
  install(e) {
651
651
  e.component("st-pagination", ca);
652
652
  }
653
653
  };
654
654
  export {
655
- ja as default
655
+ qa as default
656
656
  };
@@ -1,7 +1,7 @@
1
- import { P as t } from "./index-1f7d4f70.js";
2
- import "./base-a5af3db3.js";
1
+ import { P as t } from "./index-b792012c.js";
2
+ import "./base-ff0e366f.js";
3
3
  import "vue";
4
- import "./index-a871c3eb.js";
4
+ import "./index-065f4c40.js";
5
5
  import "./_plugin-vue_export-helper-dad06003.js";
6
6
  const a = {
7
7
  install(o) {
package/es/Table.js CHANGED
@@ -1,32 +1,32 @@
1
- import "./base-a5af3db3.js";
2
- import { v as L } from "./el-loading-f6022062.js";
3
- import { z as N, E as P } from "./zh-cn-e963c628.js";
4
- import { E as V, a as D } from "./el-table-column-376cd907.js";
5
- import "./el-checkbox-7421ccd3.js";
1
+ import "./base-ff0e366f.js";
2
+ import { v as L } from "./el-loading-3cfc4e19.js";
3
+ import { z as N, E as P } from "./zh-cn-cae8ba43.js";
4
+ import { E as V, a as D } from "./el-table-column-bccab55d.js";
5
+ import "./el-checkbox-7df65088.js";
6
6
  import "./el-tooltip-4ed993c7.js";
7
- import "./el-popper-b4f97157.js";
7
+ import "./el-popper-f28554e1.js";
8
8
  import "./el-scrollbar-323542e7.js";
9
- import "./el-tag-66cab138.js";
9
+ import "./el-tag-f03f602d.js";
10
10
  import "./el-popover-4ed993c7.js";
11
- import { defineComponent as C, computed as j, openBlock as t, createElementBlock as l, Fragment as c, createBlock as d, withCtx as n, createVNode as m, normalizeStyle as b, createTextVNode as E, toDisplayString as k, unref as S, withDirectives as W, renderList as g, createSlots as F, renderSlot as G, createCommentVNode as H } from "vue";
12
- import { j as I, E as J } from "./index-a871c3eb.js";
13
- import { E as K } from "./el-popconfirm-81dcd202.js";
14
- import { E as Q } from "./el-button-c95adb85.js";
15
- import { E as R } from "./index-88546436.js";
16
- import "./use-global-config-b5e9d3d5.js";
17
- import "./use-form-common-props-815d48a6.js";
18
- import "./index-960806da.js";
19
- import "./index-d77a7336.js";
20
- import "./index-e5566b94.js";
21
- import "./config-provider-b16efd62.js";
22
- import "./index-844bdd85.js";
23
- import "./_initCloneObject-eaef9418.js";
24
- import "./castArray-7741a212.js";
25
- import "./debounce-8d53f4dd.js";
26
- import "./raf-80ef0c0a.js";
11
+ import { defineComponent as C, computed as M, openBlock as t, createElementBlock as l, Fragment as c, createBlock as d, withCtx as n, createVNode as f, normalizeStyle as b, createTextVNode as E, toDisplayString as k, unref as S, withDirectives as W, renderList as g, createSlots as F, renderSlot as G, createCommentVNode as H } from "vue";
12
+ import { m as I, E as J } from "./index-065f4c40.js";
13
+ import { E as K } from "./el-popconfirm-b113716a.js";
14
+ import { E as Q } from "./el-button-72e66b1c.js";
15
+ import { E as R } from "./index-89707217.js";
16
+ import "./use-global-config-ded5e07b.js";
17
+ import "./use-form-common-props-1f967d2e.js";
18
+ import "./index-269b8a8c.js";
19
+ import "./index-93a8960e.js";
20
+ import "./index-60dd8509.js";
21
+ import "./config-provider-ef3c8ca2.js";
22
+ import "./index-158df623.js";
23
+ import "./_initCloneObject-71a2d663.js";
24
+ import "./castArray-15070be9.js";
25
+ import "./debounce-e9e47f9a.js";
26
+ import "./raf-8e05a7f4.js";
27
27
  import "./index-2e331d74.js";
28
28
  import "./index-657047bb.js";
29
- import "./dropdown-a59bba73.js";
29
+ import "./dropdown-41512a70.js";
30
30
  const T = /* @__PURE__ */ C({
31
31
  __name: "index",
32
32
  props: {
@@ -44,7 +44,7 @@ const T = /* @__PURE__ */ C({
44
44
  }
45
45
  },
46
46
  setup(e) {
47
- const u = e, y = j(() => {
47
+ const u = e, y = M(() => {
48
48
  const { option: p, scope: i } = u;
49
49
  return typeof p.show == "function" ? p.show(i.row, i.$index) : p.show !== !1;
50
50
  });
@@ -57,7 +57,7 @@ const T = /* @__PURE__ */ C({
57
57
  onConfirm: i[0] || (i[0] = (r) => e.option.onClick(e.scope.row, e.scope.$index))
58
58
  }, {
59
59
  reference: n(() => [
60
- m(w, {
60
+ f(w, {
61
61
  type: e.option.type,
62
62
  disabled: typeof e.option.disabled == "function" ? e.option.disabled(e.scope.row, e.scope.$index) : e.option.disabled,
63
63
  style: b({ marginTop: e.showMargin ? "10px" : 0 })
@@ -123,11 +123,11 @@ const T = /* @__PURE__ */ C({
123
123
  },
124
124
  emits: ["sortChange"],
125
125
  setup(e, { emit: u }) {
126
- const y = u, p = e, i = j(() => p.column.filter((r) => r.show !== !1)), w = (r) => {
126
+ const y = u, p = e, i = M(() => p.column.filter((r) => r.show !== !1)), w = (r) => {
127
127
  y("sortChange", r);
128
128
  }, h = (r, x) => r.filter((s) => typeof s.show == "function" && s.show(x.row, x.$index) === !1 ? !1 : s.show !== !1);
129
129
  return (r, x) => {
130
- const s = J, M = R, q = V, z = D, B = P, O = L;
130
+ const s = J, j = R, q = V, z = D, B = P, O = L;
131
131
  return t(), d(B, { locale: S(N) }, {
132
132
  default: n(() => [
133
133
  W((t(), d(z, {
@@ -149,7 +149,7 @@ const T = /* @__PURE__ */ C({
149
149
  o.type === "formatter" ? {
150
150
  name: "default",
151
151
  fn: n((a) => [
152
- m(U, {
152
+ f(U, {
153
153
  option: o,
154
154
  scope: a
155
155
  }, null, 8, ["option", "scope"])
@@ -166,32 +166,32 @@ const T = /* @__PURE__ */ C({
166
166
  } : o.type === "btns" ? {
167
167
  name: "default",
168
168
  fn: n((a) => [
169
- (t(!0), l(c, null, g(o.btns, (f, A) => (t(), l(c, {
170
- key: `${f.text}-${A}`
169
+ (t(!0), l(c, null, g(o.btns, (m, A) => (t(), l(c, {
170
+ key: `${m.text}-${A}`
171
171
  }, [
172
- f.children ? (t(), l(c, { key: 0 }, [
173
- h(f.children, a).length ? (t(), d(M, {
172
+ m.children ? (t(), l(c, { key: 0 }, [
173
+ h(m.children, a).length ? (t(), d(j, {
174
174
  key: 0,
175
175
  placement: "bottom",
176
176
  trigger: "hover",
177
177
  "popper-style": { minWidth: "0px", width: null }
178
178
  }, {
179
179
  reference: n(() => [
180
- m(s, {
180
+ f(s, {
181
181
  style: { marginLeft: "10px", verticalAlign: "-5px", cursor: "pointer" },
182
182
  size: "20"
183
183
  }, {
184
184
  default: n(() => [
185
- m(S(I))
185
+ f(S(I))
186
186
  ]),
187
187
  _: 1
188
188
  })
189
189
  ]),
190
190
  default: n(() => [
191
- (t(!0), l(c, null, g(h(f.children, a), (v, $) => (t(), l("div", {
191
+ (t(!0), l(c, null, g(h(m.children, a), (v, $) => (t(), l("div", {
192
192
  key: `${v.text}-${$}`
193
193
  }, [
194
- m(T, {
194
+ f(T, {
195
195
  option: v,
196
196
  scope: a,
197
197
  showMargin: $ !== 0
@@ -202,7 +202,7 @@ const T = /* @__PURE__ */ C({
202
202
  }, 1024)) : H("", !0)
203
203
  ], 64)) : (t(), d(T, {
204
204
  key: 1,
205
- option: f,
205
+ option: m,
206
206
  scope: a
207
207
  }, null, 8, ["option", "scope"]))
208
208
  ], 64))), 128))
package/es/TreeMap.cjs CHANGED
@@ -1,2 +1 @@
1
- "use strict";const r=require("vue"),f=require("echarts"),p=require("./_plugin-vue_export-helper-f246444f.cjs");function b(t){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(l,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return l.default=t,Object.freeze(l)}const h=b(f),_=r.defineComponent({__name:"index",props:{data:{type:Array,default:()=>[]},config:{type:Object,default:()=>({})}},setup(t,{expose:l}){const n={tooltipFormatter:null,visibleMin:300};let o,a;const i=t,c=r.ref(),s=r.computed(()=>({...n,...i.config}));r.watch(()=>[i.data],()=>{d()},{deep:!0}),r.onMounted(()=>{o=h.init(c.value),d();let e=!0;a=new ResizeObserver(()=>{if(e){e=null;return}o.resize()}),a.observe(c.value)}),r.onUnmounted(()=>{o.dispose(),a.disconnect(),a=null});const d=()=>{o.setOption({tooltip:{confine:!0,formatter:s.value.tooltipFormatter},series:[{type:"treemap",width:"100%",height:"100%",visibleMin:s.value.visibleMin,breadcrumb:{show:!1},label:{show:!0,formatter:"{b}"},upperLabel:{show:!0,height:30},itemStyle:{borderColor:"#fff"},levels:[{itemStyle:{borderColor:"#777",borderWidth:0,gapWidth:0},upperLabel:{show:!1}},{itemStyle:{borderColor:"#000",borderWidth:2,gapWidth:1},upperLabel:{padding:[8,0,0,0],formatter:e=>`{title|${e.data.name} ${e.data.labelValue}} ${e.data.percent===null?"":`{${e.data.percent>=0?e.data.percent===0?"defaultPercent":"redPercent":"greenPercent"}|${e.data.percent}%}`}`,rich:{title:{color:"#fff",fontSize:14},defaultPercent:{color:"#fff",fontSize:14},redPercent:{color:"red",fontSize:14},greenPercent:{color:"green",fontSize:14}}}},{colorSaturation:[.35,.5],itemStyle:{borderWidth:0,gapWidth:1,borderColorSaturation:.6},label:{align:"center",verticalAlign:"middle",fontSize:20,formatter:e=>`${e.data.name}
2
- ${e.data.colorValue}`}}],data:i.data.map(e=>({...e,itemStyle:{color:e.color},children:e.children.map(u=>({...u,itemStyle:{color:u.color}}))}))}]},!0)};return l({reset:()=>{d()}}),(e,u)=>(r.openBlock(),r.createElementBlock("div",{ref_key:"chartRef",ref:c,class:"chart"},null,512))}});const g=p._export_sfc(_,[["__scopeId","data-v-ab677899"]]),m={install(t){t.component("st-treeMap",g)}};module.exports=m;
1
+ "use strict";