st-comp 0.0.88 → 0.0.89

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 (70) hide show
  1. package/es/ChartLayout.cjs +1 -1
  2. package/es/ChartLayout.js +2 -2
  3. package/es/Dialog.cjs +1 -1
  4. package/es/Dialog.js +10 -10
  5. package/es/Kline.cjs +1 -1
  6. package/es/Kline.js +89 -89
  7. package/es/KlineNew.cjs +1 -1
  8. package/es/KlineNew.js +7 -7
  9. package/es/Pagination.cjs +1 -1
  10. package/es/Pagination.js +138 -138
  11. package/es/Table.cjs +1 -1
  12. package/es/Table.js +27 -27
  13. package/es/TreeMap.cjs +2 -1
  14. package/es/TreeMap.js +163 -1
  15. package/es/VarietySearch.cjs +2 -2
  16. package/es/VarietySearch.js +181 -181
  17. package/es/VirtualTable.cjs +3 -3
  18. package/es/VirtualTable.js +119 -119
  19. package/es/{base-2b869b95.cjs → base-315cbfab.cjs} +1 -1
  20. package/es/{base-5e2578a9.js → base-e85dae08.js} +66 -66
  21. package/es/{castArray-9b96e1ad.js → castArray-b93d1330.js} +1 -1
  22. package/es/castArray-f54f6f75.cjs +1 -0
  23. package/es/{config-provider-25d2db4b.cjs → config-provider-17c85684.cjs} +1 -1
  24. package/es/{config-provider-ddbd0b1c.js → config-provider-cb918d0f.js} +8 -8
  25. package/es/{el-button-daeb181f.js → el-button-aab1dbd4.js} +60 -60
  26. package/es/{el-button-8fca9a5d.cjs → el-button-ec16f484.cjs} +1 -1
  27. package/es/{el-empty-d83469ab.cjs → el-empty-16ceef82.cjs} +1 -1
  28. package/es/{el-empty-b1d5d1e4.js → el-empty-ab3ce002.js} +11 -11
  29. package/es/{el-icon-0bfbe0c8.js → el-icon-2d22f211.js} +673 -673
  30. package/es/el-icon-773986c7.cjs +20 -0
  31. package/es/el-overlay-6d0c5cc3.cjs +5 -0
  32. package/es/{el-overlay-fcd84f34.js → el-overlay-98d7f866.js} +66 -66
  33. package/es/{el-scrollbar-0f49204a.js → el-scrollbar-7b9d83d5.js} +44 -44
  34. package/es/{el-scrollbar-43353984.cjs → el-scrollbar-9473fd47.cjs} +1 -1
  35. package/es/el-select-d3f15536.cjs +9 -0
  36. package/es/{el-select-1a2f2c95.js → el-select-fd76b16b.js} +239 -239
  37. package/es/{el-tag-1e32cb79.js → el-tag-87576c55.js} +144 -144
  38. package/es/el-tag-a6a4d4ef.cjs +1 -0
  39. package/es/{focus-trap-82e6ab3c.js → focus-trap-067be6d2.js} +12 -12
  40. package/es/{focus-trap-19c04a47.cjs → focus-trap-ea177336.cjs} +1 -1
  41. package/es/raf-b091dc88.js +6 -0
  42. package/es/{raf-a8539dc6.cjs → raf-c437ab23.cjs} +1 -1
  43. package/es/{scroll-8d15ce5a.js → scroll-510cef88.js} +1 -1
  44. package/es/{scroll-5ec08336.cjs → scroll-a80e1458.cjs} +1 -1
  45. package/es/style.css +1 -1
  46. package/es/{use-form-item-ea29755c.js → use-form-item-439ac27c.js} +135 -135
  47. package/es/{use-form-item-3d2a7ac7.cjs → use-form-item-7924b6c1.cjs} +1 -1
  48. package/es/use-global-config-857b51f5.js +110 -0
  49. package/es/use-global-config-d02be80b.cjs +1 -0
  50. package/es/{vnode-b447c505.cjs → vnode-85a610a2.cjs} +1 -1
  51. package/es/{vnode-2ad5aae4.js → vnode-8c7963dc.js} +1 -1
  52. package/es/{zh-cn-35bd18a8.cjs → zh-cn-0024c96d.cjs} +1 -1
  53. package/es/{zh-cn-6a7c1846.js → zh-cn-c2b42b5f.js} +2 -2
  54. package/lib/bundle.js +1 -1
  55. package/lib/bundle.umd.cjs +1 -1
  56. package/lib/{index-cf938a55.js → index-ddb17176.js} +32 -32
  57. package/lib/{python-40015c17.js → python-4a81b776.js} +1 -1
  58. package/lib/style.css +1 -1
  59. package/package.json +1 -1
  60. package/packages/VarietySearch/config.js +8 -8
  61. package/packages/VarietySearch/index.vue +18 -18
  62. package/src/pages/VarietySearch/index.vue +9 -9
  63. package/es/castArray-adec592d.cjs +0 -1
  64. package/es/el-icon-19bc1691.cjs +0 -20
  65. package/es/el-overlay-88994e77.cjs +0 -5
  66. package/es/el-select-c3d21536.cjs +0 -9
  67. package/es/el-tag-7737bede.cjs +0 -1
  68. package/es/raf-7414f3eb.js +0 -6
  69. package/es/use-global-config-3496cd4f.cjs +0 -1
  70. package/es/use-global-config-9eba4e5e.js +0 -110
package/es/Pagination.js CHANGED
@@ -1,17 +1,17 @@
1
- import { c as j, f as A, _ as F, d as ee, u as U, o as se, F as D, w as ue } from "./base-5e2578a9.js";
2
- import { z as pe, E as ge } from "./zh-cn-6a7c1846.js";
3
- import { a as ce, E as de, b as fe } from "./el-select-1a2f2c95.js";
4
- import { i as me } from "./el-tag-1e32cb79.js";
5
- import "./el-scrollbar-0f49204a.js";
6
- import { defineComponent as _, computed as y, openBlock as d, createElementBlock as h, unref as a, toDisplayString as q, createBlock as $, withCtx as H, resolveDynamicComponent as ae, inject as ve, ref as E, watch as R, normalizeClass as S, createVNode as G, Fragment as te, renderList as ne, createElementVNode as X, watchEffect as be, withKeys as Pe, createCommentVNode as V, getCurrentInstance as Ce, provide as he, h as B, withDirectives as ye, mergeProps as ze, vShow as _e } from "vue";
7
- import { g as J, E as ie, h as re, j as Se, m as Y, k as ke, n as Ne, o as xe } from "./use-form-item-ea29755c.js";
8
- import { m as oe } from "./typescript-7ae59c4c.js";
1
+ import { b as j, g as A, _ as K, d as ee, u as U, j as se, k as D, w as ue } from "./base-e85dae08.js";
2
+ import { z as ge, E as pe } from "./zh-cn-c2b42b5f.js";
3
+ import { a as ce, E as de, b as fe } from "./el-select-fd76b16b.js";
4
+ import { i as me } from "./el-tag-87576c55.js";
5
+ import "./el-scrollbar-7b9d83d5.js";
6
+ import { defineComponent as _, computed as y, openBlock as d, createElementBlock as h, unref as a, toDisplayString as q, createBlock as $, withCtx as H, resolveDynamicComponent as ae, inject as be, ref as E, watch as R, normalizeClass as S, createVNode as G, Fragment as te, renderList as ne, createElementVNode as X, watchEffect as ve, withKeys as Pe, createCommentVNode as V, getCurrentInstance as Ce, provide as he, h as B, withDirectives as ye, mergeProps as ze, vShow as _e } from "vue";
7
+ import { i as J, E as ie, c as re, d as Se, e as Y, f as ke, g as Ne, b as xe } from "./use-form-item-439ac27c.js";
8
+ import { m as le } from "./typescript-7ae59c4c.js";
9
9
  import { _ as Ee } from "./_plugin-vue_export-helper-dad06003.js";
10
- import "./config-provider-ddbd0b1c.js";
11
- import "./use-global-config-9eba4e5e.js";
12
- import "./focus-trap-82e6ab3c.js";
13
- import "./scroll-8d15ce5a.js";
14
- const le = Symbol("elPaginationKey"), $e = j({
10
+ import "./config-provider-cb918d0f.js";
11
+ import "./use-global-config-857b51f5.js";
12
+ import "./focus-trap-067be6d2.js";
13
+ import "./scroll-510cef88.js";
14
+ const oe = Symbol("elPaginationKey"), $e = j({
15
15
  disabled: Boolean,
16
16
  currentPage: {
17
17
  type: Number,
@@ -32,25 +32,25 @@ const le = Symbol("elPaginationKey"), $e = j({
32
32
  props: $e,
33
33
  emits: we,
34
34
  setup(e) {
35
- const g = e, { t: n } = A(), s = y(() => g.disabled || g.currentPage <= 1);
36
- return (o, p) => (d(), h("button", {
35
+ const p = e, { t: n } = A(), s = y(() => p.disabled || p.currentPage <= 1);
36
+ return (l, g) => (d(), h("button", {
37
37
  type: "button",
38
38
  class: "btn-prev",
39
39
  disabled: a(s),
40
- "aria-label": o.prevText || a(n)("el.pagination.prev"),
40
+ "aria-label": l.prevText || a(n)("el.pagination.prev"),
41
41
  "aria-disabled": a(s),
42
- onClick: p[0] || (p[0] = (f) => o.$emit("click", f))
42
+ onClick: g[0] || (g[0] = (f) => l.$emit("click", f))
43
43
  }, [
44
- o.prevText ? (d(), h("span", Be, q(o.prevText), 1)) : (d(), $(a(ie), { key: 1 }, {
44
+ l.prevText ? (d(), h("span", Be, q(l.prevText), 1)) : (d(), $(a(ie), { key: 1 }, {
45
45
  default: H(() => [
46
- (d(), $(ae(o.prevIcon)))
46
+ (d(), $(ae(l.prevIcon)))
47
47
  ]),
48
48
  _: 1
49
49
  }))
50
50
  ], 8, Te));
51
51
  }
52
52
  });
53
- var De = /* @__PURE__ */ F(Ie, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);
53
+ var De = /* @__PURE__ */ K(Ie, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);
54
54
  const qe = j({
55
55
  disabled: Boolean,
56
56
  currentPage: {
@@ -74,33 +74,33 @@ const qe = j({
74
74
  props: qe,
75
75
  emits: ["click"],
76
76
  setup(e) {
77
- const g = e, { t: n } = A(), s = y(() => g.disabled || g.currentPage === g.pageCount || g.pageCount === 0);
78
- return (o, p) => (d(), h("button", {
77
+ const p = e, { t: n } = A(), s = y(() => p.disabled || p.currentPage === p.pageCount || p.pageCount === 0);
78
+ return (l, g) => (d(), h("button", {
79
79
  type: "button",
80
80
  class: "btn-next",
81
81
  disabled: a(s),
82
- "aria-label": o.nextText || a(n)("el.pagination.next"),
82
+ "aria-label": l.nextText || a(n)("el.pagination.next"),
83
83
  "aria-disabled": a(s),
84
- onClick: p[0] || (p[0] = (f) => o.$emit("click", f))
84
+ onClick: g[0] || (g[0] = (f) => l.$emit("click", f))
85
85
  }, [
86
- o.nextText ? (d(), h("span", Ae, q(o.nextText), 1)) : (d(), $(a(ie), { key: 1 }, {
86
+ l.nextText ? (d(), h("span", Ae, q(l.nextText), 1)) : (d(), $(a(ie), { key: 1 }, {
87
87
  default: H(() => [
88
- (d(), $(ae(o.nextIcon)))
88
+ (d(), $(ae(l.nextIcon)))
89
89
  ]),
90
90
  _: 1
91
91
  }))
92
92
  ], 8, je));
93
93
  }
94
94
  });
95
- var Fe = /* @__PURE__ */ F(Ue, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);
96
- const Q = () => ve(le, {}), Ke = j({
95
+ var Ke = /* @__PURE__ */ K(Ue, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);
96
+ const Q = () => be(oe, {}), Fe = j({
97
97
  pageSize: {
98
98
  type: Number,
99
99
  required: !0
100
100
  },
101
101
  pageSizes: {
102
102
  type: ee(Array),
103
- default: () => oe([10, 20, 30, 40, 50, 100])
103
+ default: () => le([10, 20, 30, 40, 50, 100])
104
104
  },
105
105
  popperClass: {
106
106
  type: String
@@ -115,25 +115,25 @@ const Q = () => ve(le, {}), Ke = j({
115
115
  name: "ElPaginationSizes"
116
116
  }), We = /* @__PURE__ */ _({
117
117
  ...Oe,
118
- props: Ke,
118
+ props: Fe,
119
119
  emits: ["page-size-change"],
120
- setup(e, { emit: g }) {
121
- const n = e, { t: s } = A(), o = U("pagination"), p = Q(), f = E(n.pageSize);
122
- R(() => n.pageSizes, (c, b) => {
123
- if (!me(c, b) && Array.isArray(c)) {
120
+ setup(e, { emit: p }) {
121
+ const n = e, { t: s } = A(), l = U("pagination"), g = Q(), f = E(n.pageSize);
122
+ R(() => n.pageSizes, (c, v) => {
123
+ if (!me(c, v) && Array.isArray(c)) {
124
124
  const u = c.includes(n.pageSize) ? n.pageSize : n.pageSizes[0];
125
- g("page-size-change", u);
125
+ p("page-size-change", u);
126
126
  }
127
127
  }), R(() => n.pageSize, (c) => {
128
128
  f.value = c;
129
129
  });
130
130
  const m = y(() => n.pageSizes);
131
131
  function z(c) {
132
- var b;
133
- c !== f.value && (f.value = c, (b = p.handleSizeChange) == null || b.call(p, Number(c)));
132
+ var v;
133
+ c !== f.value && (f.value = c, (v = g.handleSizeChange) == null || v.call(g, Number(c)));
134
134
  }
135
- return (c, b) => (d(), h("span", {
136
- class: S(a(o).e("sizes"))
135
+ return (c, v) => (d(), h("span", {
136
+ class: S(a(l).e("sizes"))
137
137
  }, [
138
138
  G(a(ce), {
139
139
  "model-value": f.value,
@@ -156,7 +156,7 @@ const Q = () => ve(le, {}), Ke = j({
156
156
  ], 2));
157
157
  }
158
158
  });
159
- var Ve = /* @__PURE__ */ F(We, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);
159
+ var Ve = /* @__PURE__ */ K(We, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);
160
160
  const Je = j({
161
161
  size: {
162
162
  type: String,
@@ -168,43 +168,43 @@ const Je = j({
168
168
  ...Re,
169
169
  props: Je,
170
170
  setup(e) {
171
- const { t: g } = A(), n = U("pagination"), { pageCount: s, disabled: o, currentPage: p, changeEvent: f } = Q(), m = E(), z = y(() => {
171
+ const { t: p } = A(), n = U("pagination"), { pageCount: s, disabled: l, currentPage: g, changeEvent: f } = Q(), m = E(), z = y(() => {
172
172
  var u;
173
- return (u = m.value) != null ? u : p == null ? void 0 : p.value;
173
+ return (u = m.value) != null ? u : g == null ? void 0 : g.value;
174
174
  });
175
175
  function c(u) {
176
176
  m.value = u ? +u : "";
177
177
  }
178
- function b(u) {
178
+ function v(u) {
179
179
  u = Math.trunc(+u), f == null || f(u), m.value = void 0;
180
180
  }
181
181
  return (u, k) => (d(), h("span", {
182
182
  class: S(a(n).e("jump")),
183
- disabled: a(o)
183
+ disabled: a(l)
184
184
  }, [
185
185
  X("span", {
186
186
  class: S([a(n).e("goto")])
187
- }, q(a(g)("el.pagination.goto")), 3),
187
+ }, q(a(p)("el.pagination.goto")), 3),
188
188
  G(a(fe), {
189
189
  size: u.size,
190
190
  class: S([a(n).e("editor"), a(n).is("in-pagination")]),
191
191
  min: 1,
192
192
  max: a(s),
193
- disabled: a(o),
193
+ disabled: a(l),
194
194
  "model-value": a(z),
195
195
  "validate-event": !1,
196
- label: a(g)("el.pagination.page"),
196
+ label: a(p)("el.pagination.page"),
197
197
  type: "number",
198
198
  "onUpdate:modelValue": c,
199
- onChange: b
199
+ onChange: v
200
200
  }, null, 8, ["size", "class", "max", "disabled", "model-value", "label"]),
201
201
  X("span", {
202
202
  class: S([a(n).e("classifier")])
203
- }, q(a(g)("el.pagination.pageClassifier")), 3)
203
+ }, q(a(p)("el.pagination.pageClassifier")), 3)
204
204
  ], 10, He));
205
205
  }
206
206
  });
207
- var Qe = /* @__PURE__ */ F(Ge, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);
207
+ var Qe = /* @__PURE__ */ K(Ge, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);
208
208
  const Xe = j({
209
209
  total: {
210
210
  type: Number,
@@ -216,16 +216,16 @@ const Xe = j({
216
216
  ...Ze,
217
217
  props: Xe,
218
218
  setup(e) {
219
- const { t: g } = A(), n = U("pagination"), { disabled: s } = Q();
220
- return (o, p) => (d(), h("span", {
219
+ const { t: p } = A(), n = U("pagination"), { disabled: s } = Q();
220
+ return (l, g) => (d(), h("span", {
221
221
  class: S(a(n).e("total")),
222
222
  disabled: a(s)
223
- }, q(a(g)("el.pagination.total", {
224
- total: o.total
223
+ }, q(a(p)("el.pagination.total", {
224
+ total: l.total
225
225
  })), 11, Ye));
226
226
  }
227
227
  });
228
- var aa = /* @__PURE__ */ F(ea, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);
228
+ var aa = /* @__PURE__ */ K(ea, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);
229
229
  const ta = j({
230
230
  currentPage: {
231
231
  type: Number,
@@ -240,45 +240,45 @@ const ta = j({
240
240
  default: 7
241
241
  },
242
242
  disabled: Boolean
243
- }), na = ["onKeyup"], ia = ["aria-current", "aria-label", "tabindex"], ra = ["tabindex", "aria-label"], oa = ["aria-current", "aria-label", "tabindex"], la = ["tabindex", "aria-label"], sa = ["aria-current", "aria-label", "tabindex"], ua = _({
243
+ }), na = ["onKeyup"], ia = ["aria-current", "aria-label", "tabindex"], ra = ["tabindex", "aria-label"], la = ["aria-current", "aria-label", "tabindex"], oa = ["tabindex", "aria-label"], sa = ["aria-current", "aria-label", "tabindex"], ua = _({
244
244
  name: "ElPaginationPager"
245
- }), pa = /* @__PURE__ */ _({
245
+ }), ga = /* @__PURE__ */ _({
246
246
  ...ua,
247
247
  props: ta,
248
248
  emits: ["change"],
249
- setup(e, { emit: g }) {
250
- const n = e, s = U("pager"), o = U("icon"), { t: p } = A(), f = E(!1), m = E(!1), z = E(!1), c = E(!1), b = E(!1), u = E(!1), k = y(() => {
249
+ setup(e, { emit: p }) {
250
+ const n = e, s = U("pager"), l = U("icon"), { t: g } = A(), f = E(!1), m = E(!1), z = E(!1), c = E(!1), v = E(!1), u = E(!1), k = y(() => {
251
251
  const t = n.pagerCount, i = (t - 1) / 2, r = Number(n.currentPage), x = Number(n.pageCount);
252
252
  let N = !1, w = !1;
253
253
  x > t && (r > t - i && (N = !0), r < x - i && (w = !0));
254
254
  const T = [];
255
255
  if (N && !w) {
256
- const v = x - (t - 2);
257
- for (let I = v; I < x; I++)
256
+ const b = x - (t - 2);
257
+ for (let I = b; I < x; I++)
258
258
  T.push(I);
259
259
  } else if (!N && w)
260
- for (let v = 2; v < t; v++)
261
- T.push(v);
260
+ for (let b = 2; b < t; b++)
261
+ T.push(b);
262
262
  else if (N && w) {
263
- const v = Math.floor(t / 2) - 1;
264
- for (let I = r - v; I <= r + v; I++)
263
+ const b = Math.floor(t / 2) - 1;
264
+ for (let I = r - b; I <= r + b; I++)
265
265
  T.push(I);
266
266
  } else
267
- for (let v = 2; v < x; v++)
268
- T.push(v);
267
+ for (let b = 2; b < x; b++)
268
+ T.push(b);
269
269
  return T;
270
270
  }), P = y(() => [
271
271
  "more",
272
272
  "btn-quickprev",
273
- o.b(),
273
+ l.b(),
274
274
  s.is("disabled", n.disabled)
275
- ]), K = y(() => [
275
+ ]), F = y(() => [
276
276
  "more",
277
277
  "btn-quicknext",
278
- o.b(),
278
+ l.b(),
279
279
  s.is("disabled", n.disabled)
280
280
  ]), M = y(() => n.disabled ? -1 : 0);
281
- be(() => {
281
+ ve(() => {
282
282
  const t = (n.pagerCount - 1) / 2;
283
283
  f.value = !1, m.value = !1, n.pageCount > n.pagerCount && (n.currentPage > n.pagerCount - t && (f.value = !0), n.currentPage < n.pageCount - t && (m.value = !0));
284
284
  });
@@ -286,27 +286,27 @@ const ta = j({
286
286
  n.disabled || (t ? z.value = !0 : c.value = !0);
287
287
  }
288
288
  function W(t = !1) {
289
- t ? b.value = !0 : u.value = !0;
289
+ t ? v.value = !0 : u.value = !0;
290
290
  }
291
291
  function L(t) {
292
292
  const i = t.target;
293
293
  if (i.tagName.toLowerCase() === "li" && Array.from(i.classList).includes("number")) {
294
294
  const r = Number(i.textContent);
295
- r !== n.currentPage && g("change", r);
295
+ r !== n.currentPage && p("change", r);
296
296
  } else
297
- i.tagName.toLowerCase() === "li" && Array.from(i.classList).includes("more") && l(t);
297
+ i.tagName.toLowerCase() === "li" && Array.from(i.classList).includes("more") && o(t);
298
298
  }
299
- function l(t) {
299
+ function o(t) {
300
300
  const i = t.target;
301
301
  if (i.tagName.toLowerCase() === "ul" || n.disabled)
302
302
  return;
303
303
  let r = Number(i.textContent);
304
304
  const x = n.pageCount, N = n.currentPage, w = n.pagerCount - 2;
305
- i.className.includes("more") && (i.className.includes("quickprev") ? r = N - w : i.className.includes("quicknext") && (r = N + w)), Number.isNaN(+r) || (r < 1 && (r = 1), r > x && (r = x)), r !== N && g("change", r);
305
+ i.className.includes("more") && (i.className.includes("quickprev") ? r = N - w : i.className.includes("quicknext") && (r = N + w)), Number.isNaN(+r) || (r < 1 && (r = 1), r > x && (r = x)), r !== N && p("change", r);
306
306
  }
307
307
  return (t, i) => (d(), h("ul", {
308
308
  class: S(a(s).b()),
309
- onClick: l,
309
+ onClick: o,
310
310
  onKeyup: Pe(L, ["enter"])
311
311
  }, [
312
312
  t.pageCount > 0 ? (d(), h("li", {
@@ -316,20 +316,20 @@ const ta = j({
316
316
  a(s).is("disabled", t.disabled)
317
317
  ], "number"]),
318
318
  "aria-current": t.currentPage === 1,
319
- "aria-label": a(p)("el.pagination.currentPage", { pager: 1 }),
319
+ "aria-label": a(g)("el.pagination.currentPage", { pager: 1 }),
320
320
  tabindex: a(M)
321
321
  }, " 1 ", 10, ia)) : V("v-if", !0),
322
322
  f.value ? (d(), h("li", {
323
323
  key: 1,
324
324
  class: S(a(P)),
325
325
  tabindex: a(M),
326
- "aria-label": a(p)("el.pagination.prevPages", { pager: t.pagerCount - 2 }),
326
+ "aria-label": a(g)("el.pagination.prevPages", { pager: t.pagerCount - 2 }),
327
327
  onMouseenter: i[0] || (i[0] = (r) => O(!0)),
328
328
  onMouseleave: i[1] || (i[1] = (r) => z.value = !1),
329
329
  onFocus: i[2] || (i[2] = (r) => W(!0)),
330
- onBlur: i[3] || (i[3] = (r) => b.value = !1)
330
+ onBlur: i[3] || (i[3] = (r) => v.value = !1)
331
331
  }, [
332
- (z.value || b.value) && !t.disabled ? (d(), $(a(Se), { key: 0 })) : (d(), $(a(Y), { key: 1 }))
332
+ (z.value || v.value) && !t.disabled ? (d(), $(a(Se), { key: 0 })) : (d(), $(a(Y), { key: 1 }))
333
333
  ], 42, ra)) : V("v-if", !0),
334
334
  (d(!0), h(te, null, ne(a(k), (r) => (d(), h("li", {
335
335
  key: r,
@@ -338,21 +338,21 @@ const ta = j({
338
338
  a(s).is("disabled", t.disabled)
339
339
  ], "number"]),
340
340
  "aria-current": t.currentPage === r,
341
- "aria-label": a(p)("el.pagination.currentPage", { pager: r }),
341
+ "aria-label": a(g)("el.pagination.currentPage", { pager: r }),
342
342
  tabindex: a(M)
343
- }, q(r), 11, oa))), 128)),
343
+ }, q(r), 11, la))), 128)),
344
344
  m.value ? (d(), h("li", {
345
345
  key: 2,
346
- class: S(a(K)),
346
+ class: S(a(F)),
347
347
  tabindex: a(M),
348
- "aria-label": a(p)("el.pagination.nextPages", { pager: t.pagerCount - 2 }),
348
+ "aria-label": a(g)("el.pagination.nextPages", { pager: t.pagerCount - 2 }),
349
349
  onMouseenter: i[4] || (i[4] = (r) => O()),
350
350
  onMouseleave: i[5] || (i[5] = (r) => c.value = !1),
351
351
  onFocus: i[6] || (i[6] = (r) => W()),
352
352
  onBlur: i[7] || (i[7] = (r) => u.value = !1)
353
353
  }, [
354
354
  (c.value || u.value) && !t.disabled ? (d(), $(a(ke), { key: 0 })) : (d(), $(a(Y), { key: 1 }))
355
- ], 42, la)) : V("v-if", !0),
355
+ ], 42, oa)) : V("v-if", !0),
356
356
  t.pageCount > 1 ? (d(), h("li", {
357
357
  key: 3,
358
358
  class: S([[
@@ -360,13 +360,13 @@ const ta = j({
360
360
  a(s).is("disabled", t.disabled)
361
361
  ], "number"]),
362
362
  "aria-current": t.currentPage === t.pageCount,
363
- "aria-label": a(p)("el.pagination.currentPage", { pager: t.pageCount }),
363
+ "aria-label": a(g)("el.pagination.currentPage", { pager: t.pageCount }),
364
364
  tabindex: a(M)
365
365
  }, q(t.pageCount), 11, sa)) : V("v-if", !0)
366
366
  ], 42, na));
367
367
  }
368
368
  });
369
- var ga = /* @__PURE__ */ F(pa, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);
369
+ var pa = /* @__PURE__ */ K(ga, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);
370
370
  const C = (e) => typeof e != "number", ca = j({
371
371
  pageSize: Number,
372
372
  defaultPageSize: Number,
@@ -385,7 +385,7 @@ const C = (e) => typeof e != "number", ca = j({
385
385
  },
386
386
  pageSizes: {
387
387
  type: ee(Array),
388
- default: () => oe([10, 20, 30, 40, 50, 100])
388
+ default: () => le([10, 20, 30, 40, 50, 100])
389
389
  },
390
390
  popperClass: {
391
391
  type: String,
@@ -427,8 +427,8 @@ var fa = _({
427
427
  name: Z,
428
428
  props: ca,
429
429
  emits: da,
430
- setup(e, { emit: g, slots: n }) {
431
- const { t: s } = A(), o = U("pagination"), p = Ce().vnode.props || {}, f = "onUpdate:currentPage" in p || "onUpdate:current-page" in p || "onCurrentChange" in p, m = "onUpdate:pageSize" in p || "onUpdate:page-size" in p || "onSizeChange" in p, z = y(() => {
430
+ setup(e, { emit: p, slots: n }) {
431
+ const { t: s } = A(), l = U("pagination"), g = Ce().vnode.props || {}, f = "onUpdate:currentPage" in g || "onUpdate:current-page" in g || "onCurrentChange" in g, m = "onUpdate:pageSize" in g || "onUpdate:page-size" in g || "onSizeChange" in g, z = y(() => {
432
432
  if (C(e.total) && C(e.pageCount) || !C(e.currentPage) && !f)
433
433
  return !1;
434
434
  if (e.layout.includes("sizes")) {
@@ -439,58 +439,58 @@ var fa = _({
439
439
  return !1;
440
440
  }
441
441
  return !0;
442
- }), c = E(C(e.defaultPageSize) ? 10 : e.defaultPageSize), b = E(C(e.defaultCurrentPage) ? 1 : e.defaultCurrentPage), u = y({
442
+ }), c = E(C(e.defaultPageSize) ? 10 : e.defaultPageSize), v = E(C(e.defaultCurrentPage) ? 1 : e.defaultCurrentPage), u = y({
443
443
  get() {
444
444
  return C(e.pageSize) ? c.value : e.pageSize;
445
445
  },
446
- set(l) {
447
- C(e.pageSize) && (c.value = l), m && (g("update:page-size", l), g("size-change", l));
446
+ set(o) {
447
+ C(e.pageSize) && (c.value = o), m && (p("update:page-size", o), p("size-change", o));
448
448
  }
449
449
  }), k = y(() => {
450
- let l = 0;
451
- return C(e.pageCount) ? C(e.total) || (l = Math.max(1, Math.ceil(e.total / u.value))) : l = e.pageCount, l;
450
+ let o = 0;
451
+ return C(e.pageCount) ? C(e.total) || (o = Math.max(1, Math.ceil(e.total / u.value))) : o = e.pageCount, o;
452
452
  }), P = y({
453
453
  get() {
454
- return C(e.currentPage) ? b.value : e.currentPage;
454
+ return C(e.currentPage) ? v.value : e.currentPage;
455
455
  },
456
- set(l) {
457
- let t = l;
458
- l < 1 ? t = 1 : l > k.value && (t = k.value), C(e.currentPage) && (b.value = t), f && (g("update:current-page", t), g("current-change", t));
456
+ set(o) {
457
+ let t = o;
458
+ o < 1 ? t = 1 : o > k.value && (t = k.value), C(e.currentPage) && (v.value = t), f && (p("update:current-page", t), p("current-change", t));
459
459
  }
460
460
  });
461
- R(k, (l) => {
462
- P.value > l && (P.value = l);
461
+ R(k, (o) => {
462
+ P.value > o && (P.value = o);
463
463
  });
464
- function K(l) {
465
- P.value = l;
464
+ function F(o) {
465
+ P.value = o;
466
466
  }
467
- function M(l) {
468
- u.value = l;
467
+ function M(o) {
468
+ u.value = o;
469
469
  const t = k.value;
470
470
  P.value > t && (P.value = t);
471
471
  }
472
472
  function O() {
473
- e.disabled || (P.value -= 1, g("prev-click", P.value));
473
+ e.disabled || (P.value -= 1, p("prev-click", P.value));
474
474
  }
475
475
  function W() {
476
- e.disabled || (P.value += 1, g("next-click", P.value));
476
+ e.disabled || (P.value += 1, p("next-click", P.value));
477
477
  }
478
- function L(l, t) {
479
- l && (l.props || (l.props = {}), l.props.class = [l.props.class, t].join(" "));
478
+ function L(o, t) {
479
+ o && (o.props || (o.props = {}), o.props.class = [o.props.class, t].join(" "));
480
480
  }
481
- return he(le, {
481
+ return he(oe, {
482
482
  pageCount: k,
483
483
  disabled: y(() => e.disabled),
484
484
  currentPage: P,
485
- changeEvent: K,
485
+ changeEvent: F,
486
486
  handleSizeChange: M
487
487
  }), () => {
488
- var l, t;
488
+ var o, t;
489
489
  if (!z.value)
490
490
  return se(Z, s("el.pagination.deprecationWarning")), null;
491
491
  if (!e.layout || e.hideOnSinglePage && k.value <= 1)
492
492
  return null;
493
- const i = [], r = [], x = B("div", { class: o.e("rightwrapper") }, r), N = {
493
+ const i = [], r = [], x = B("div", { class: l.e("rightwrapper") }, r), N = {
494
494
  prev: B(De, {
495
495
  disabled: e.disabled,
496
496
  currentPage: P.value,
@@ -501,14 +501,14 @@ var fa = _({
501
501
  jumper: B(Qe, {
502
502
  size: e.small ? "small" : "default"
503
503
  }),
504
- pager: B(ga, {
504
+ pager: B(pa, {
505
505
  currentPage: P.value,
506
506
  pageCount: k.value,
507
507
  pagerCount: e.pagerCount,
508
- onChange: K,
508
+ onChange: F,
509
509
  disabled: e.disabled
510
510
  }),
511
- next: B(Fe, {
511
+ next: B(Ke, {
512
512
  disabled: e.disabled,
513
513
  currentPage: P.value,
514
514
  pageCount: k.value,
@@ -524,22 +524,22 @@ var fa = _({
524
524
  teleported: e.teleported,
525
525
  size: e.small ? "small" : "default"
526
526
  }),
527
- slot: (t = (l = n == null ? void 0 : n.default) == null ? void 0 : l.call(n)) != null ? t : null,
527
+ slot: (t = (o = n == null ? void 0 : n.default) == null ? void 0 : o.call(n)) != null ? t : null,
528
528
  total: B(aa, { total: C(e.total) ? 0 : e.total })
529
- }, w = e.layout.split(",").map((v) => v.trim());
529
+ }, w = e.layout.split(",").map((b) => b.trim());
530
530
  let T = !1;
531
- return w.forEach((v) => {
532
- if (v === "->") {
531
+ return w.forEach((b) => {
532
+ if (b === "->") {
533
533
  T = !0;
534
534
  return;
535
535
  }
536
- T ? r.push(N[v]) : i.push(N[v]);
537
- }), L(i[0], o.is("first")), L(i[i.length - 1], o.is("last")), T && r.length > 0 && (L(r[0], o.is("first")), L(r[r.length - 1], o.is("last")), i.push(x)), B("div", {
536
+ T ? r.push(N[b]) : i.push(N[b]);
537
+ }), L(i[0], l.is("first")), L(i[i.length - 1], l.is("last")), T && r.length > 0 && (L(r[0], l.is("first")), L(r[r.length - 1], l.is("last")), i.push(x)), B("div", {
538
538
  class: [
539
- o.b(),
540
- o.is("background", e.background),
539
+ l.b(),
540
+ l.is("background", e.background),
541
541
  {
542
- [o.m("small")]: e.small
542
+ [l.m("small")]: e.small
543
543
  }
544
544
  ]
545
545
  }, i);
@@ -547,7 +547,7 @@ var fa = _({
547
547
  }
548
548
  });
549
549
  const ma = ue(fa);
550
- const va = /* @__PURE__ */ _({
550
+ const ba = /* @__PURE__ */ _({
551
551
  __name: "index",
552
552
  props: {
553
553
  pageData: {
@@ -572,15 +572,15 @@ const va = /* @__PURE__ */ _({
572
572
  }
573
573
  },
574
574
  emits: ["update:pageData", "change"],
575
- setup(e, { emit: g }) {
576
- const n = g, s = e, o = y({
575
+ setup(e, { emit: p }) {
576
+ const n = p, s = e, l = y({
577
577
  get() {
578
578
  return s.pageData.pageNum;
579
579
  },
580
580
  set(m) {
581
581
  n("update:pageData", { ...s.pageData, pageNum: m });
582
582
  }
583
- }), p = y({
583
+ }), g = y({
584
584
  get() {
585
585
  return s.pageData.pageSize;
586
586
  },
@@ -591,15 +591,15 @@ const va = /* @__PURE__ */ _({
591
591
  n("change", s.pageData);
592
592
  };
593
593
  return (m, z) => {
594
- const c = ma, b = ge;
595
- return d(), $(b, { locale: a(pe) }, {
594
+ const c = ma, v = pe;
595
+ return d(), $(v, { locale: a(ge) }, {
596
596
  default: H(() => [
597
597
  ye(G(c, ze({
598
598
  class: "st-pagination",
599
- currentPage: o.value,
600
- "onUpdate:currentPage": z[0] || (z[0] = (u) => o.value = u),
601
- "page-size": p.value,
602
- "onUpdate:pageSize": z[1] || (z[1] = (u) => p.value = u),
599
+ currentPage: l.value,
600
+ "onUpdate:currentPage": z[0] || (z[0] = (u) => l.value = u),
601
+ "page-size": g.value,
602
+ "onUpdate:pageSize": z[1] || (z[1] = (u) => g.value = u),
603
603
  total: e.total,
604
604
  background: e.background,
605
605
  "page-sizes": e.pageSizes,
@@ -616,9 +616,9 @@ const va = /* @__PURE__ */ _({
616
616
  };
617
617
  }
618
618
  });
619
- const ba = /* @__PURE__ */ Ee(va, [["__scopeId", "data-v-61b7745b"]]), Ta = {
619
+ const va = /* @__PURE__ */ Ee(ba, [["__scopeId", "data-v-61b7745b"]]), Ta = {
620
620
  install(e) {
621
- e.component("st-pagination", ba);
621
+ e.component("st-pagination", va);
622
622
  }
623
623
  };
624
624
  export {