st-comp 0.0.147 → 0.0.148

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 (108) hide show
  1. package/components.d.ts +3 -3
  2. package/es/ChartLayout.cjs +1 -1
  3. package/es/ChartLayout.js +2 -2
  4. package/es/Dialog.cjs +1 -1
  5. package/es/Dialog.js +22 -20
  6. package/es/FactorWarning.cjs +1 -1
  7. package/es/FactorWarning.js +631 -566
  8. package/es/KlineBasic.cjs +1 -1
  9. package/es/KlineBasic.js +83 -77
  10. package/es/KlineNew.cjs +2 -2
  11. package/es/KlineNew.js +14 -10
  12. package/es/Pagination.cjs +1 -1
  13. package/es/Pagination.js +95 -89
  14. package/es/Table.cjs +1 -1
  15. package/es/Table.js +62 -58
  16. package/es/User.cjs +1 -1
  17. package/es/User.js +151 -146
  18. package/es/VarietySearch.cjs +1 -1
  19. package/es/VarietySearch.js +1 -2384
  20. package/es/VirtualTable.cjs +13 -1
  21. package/es/VirtualTable.js +2800 -1
  22. package/es/_initCloneObject-476b02ce.cjs +1 -0
  23. package/es/{_initCloneObject-a8dcd058.js → _initCloneObject-ec5c9523.js} +5 -5
  24. package/es/{base-00ce90ec.cjs → base-6ccc8fc2.cjs} +3 -3
  25. package/es/{base-674a354a.js → base-950bac7e.js} +59 -58
  26. package/es/castArray-374558a5.cjs +1 -0
  27. package/es/castArray-c770910d.js +10 -0
  28. package/es/config-provider-c87e277f.cjs +1 -0
  29. package/es/config-provider-feed0e8a.js +47 -0
  30. package/es/debounce-a6b4f91b.cjs +1 -0
  31. package/es/debounce-c64fb3b5.js +83 -0
  32. package/es/dropdown-6bdb3cf4.cjs +1 -0
  33. package/es/{dropdown-ce30ada6.js → dropdown-c9272ca3.js} +31 -30
  34. package/es/el-button-b8f71c7d.cjs +1 -0
  35. package/es/{el-button-7b9f5933.js → el-button-d7b6eebd.js} +12 -12
  36. package/es/{el-empty-87154b6d.cjs → el-empty-12eece57.cjs} +1 -1
  37. package/es/{el-empty-39b3aed7.js → el-empty-89a523ed.js} +5 -5
  38. package/es/{el-form-item-fc6f80ab.js → el-form-item-55d36086.js} +72 -71
  39. package/es/el-form-item-ebbf096d.cjs +12 -0
  40. package/es/el-input-2c7e70a3.cjs +1 -0
  41. package/es/{el-input-d249ac86.js → el-input-cb528574.js} +65 -63
  42. package/es/el-input-number-8e168e83.cjs +1 -0
  43. package/es/{el-input-number-2066fbb7.js → el-input-number-ce30bfa8.js} +22 -21
  44. package/es/el-message-612c2346.cjs +1 -0
  45. package/es/{el-message-9859835d.js → el-message-d51d032b.js} +80 -78
  46. package/es/{el-overlay-f0757cc4.js → el-overlay-07414277.js} +70 -69
  47. package/es/el-overlay-fb255b83.cjs +1 -0
  48. package/es/el-popper-8360bd91.cjs +1 -0
  49. package/es/el-popper-f4b01f85.js +2262 -0
  50. package/es/el-scrollbar-271142ad.cjs +1 -0
  51. package/es/el-scrollbar-e8e93751.js +201 -0
  52. package/es/el-select-2e71d4af.cjs +1 -0
  53. package/es/{el-select-bcbb7e55.js → el-select-e71af2e6.js} +333 -329
  54. package/es/el-table-column-9fe79f05.cjs +14 -0
  55. package/es/el-table-column-dc562f14.js +3933 -0
  56. package/es/el-tag-930e7b32.cjs +1 -0
  57. package/es/el-tag-d65768f4.js +279 -0
  58. package/es/index-0ed86daf.cjs +3 -0
  59. package/es/index-121e2861.js +306 -0
  60. package/es/index-18416440.cjs +1 -0
  61. package/es/index-674d2fd7.cjs +1 -0
  62. package/es/index-709675d5.js +59 -0
  63. package/es/{index-45de4a12.js → index-92ba4292.js} +13 -13
  64. package/es/index-aece600c.js +81 -0
  65. package/es/index-da646183.cjs +1 -0
  66. package/es/raf-2d77cbbe.cjs +1 -0
  67. package/es/raf-f55e0daa.js +6 -0
  68. package/es/{scroll-cca17da0.cjs → scroll-c8ac196e.cjs} +1 -1
  69. package/es/{scroll-cb696ed2.js → scroll-ca84f80a.js} +1 -1
  70. package/es/style.css +1 -1
  71. package/es/typescript-7ae59c4c.js +4 -0
  72. package/es/typescript-b63f8e83.cjs +1 -0
  73. package/es/use-form-common-props-4d37077d.js +586 -0
  74. package/es/use-form-common-props-c1960844.cjs +2 -0
  75. package/es/{zh-cn-ef7d7220.js → zh-cn-23c8e0d1.js} +2 -2
  76. package/es/{zh-cn-37af467d.cjs → zh-cn-414d7f0c.cjs} +1 -1
  77. package/lib/bundle.js +1 -1
  78. package/lib/bundle.umd.cjs +1 -1
  79. package/lib/{index-24f8572c.js → index-ffeb163e.js} +2 -2
  80. package/lib/{python-2143eee4.js → python-0ec8f68c.js} +1 -1
  81. package/package.json +1 -1
  82. package/packages/KlineBasic/utils.js +1 -1
  83. package/es/_initCloneObject-7493ecd5.cjs +0 -1
  84. package/es/config-provider-419ffbf2.js +0 -120
  85. package/es/config-provider-68414290.cjs +0 -3
  86. package/es/dropdown-127a8c0d.cjs +0 -1
  87. package/es/el-button-c00975e1.cjs +0 -1
  88. package/es/el-checkbox-group-0554b352.js +0 -67
  89. package/es/el-checkbox-group-7a313d34.cjs +0 -1
  90. package/es/el-form-item-7867f64d.cjs +0 -12
  91. package/es/el-input-2ff1628c.cjs +0 -1
  92. package/es/el-input-number-d6801a5c.cjs +0 -1
  93. package/es/el-message-ffcf690c.cjs +0 -1
  94. package/es/el-overlay-91784be2.cjs +0 -1
  95. package/es/el-popover-4db657e2.cjs +0 -1
  96. package/es/el-popover-b7b43c1f.js +0 -138
  97. package/es/el-scrollbar-35bac6b3.js +0 -2452
  98. package/es/el-scrollbar-ec09bbd3.cjs +0 -1
  99. package/es/el-select-0785c35a.cjs +0 -1
  100. package/es/el-table-column-2478adf8.cjs +0 -14
  101. package/es/el-table-column-c1e1a206.js +0 -3798
  102. package/es/el-tag-13ee17b3.cjs +0 -1
  103. package/es/el-tag-73372c6c.js +0 -359
  104. package/es/index-07b61d12.cjs +0 -1
  105. package/es/index-65b719a4.cjs +0 -1
  106. package/es/index-8b5fbc11.js +0 -66
  107. package/es/index-8c85d7c5.js +0 -858
  108. package/es/index-a49f4743.cjs +0 -2
package/es/User.js CHANGED
@@ -1,20 +1,25 @@
1
- import { b as Fe, d as oe, _ as V, u as te, g as Te, h as Re, f as ve, w as Se, I as we } from "./base-674a354a.js";
2
- import { d as ge, E as ke } from "./el-overlay-f0757cc4.js";
3
- import { E as re } from "./el-button-7b9f5933.js";
4
- import { E as Oe, a as De } from "./el-form-item-fc6f80ab.js";
5
- import { E as Ne } from "./el-input-d249ac86.js";
6
- import { b as Ke, l as K, j as Be, E as Le, O as Me, w as pe } from "./el-scrollbar-35bac6b3.js";
7
- import { defineComponent as U, ref as I, inject as R, computed as k, provide as Q, readonly as Ge, toRef as j, unref as P, watch as _e, renderSlot as G, resolveComponent as y, openBlock as O, createBlock as H, withCtx as d, createVNode as u, normalizeProps as Ae, guardReactiveProps as Ve, getCurrentInstance as be, onBeforeUnmount as Ue, createElementBlock as A, normalizeClass as X, createSlots as ze, mergeProps as Z, createCommentVNode as ne, nextTick as He, Fragment as Ye, createElementVNode as W, withModifiers as x, resolveDynamicComponent as Je, normalizeStyle as je, createTextVNode as J, toDisplayString as qe, withKeys as We } from "vue";
8
- import { b as D, E as le, g as he, u as Qe, H as Xe, N as Ze, O as xe } from "./index-8c85d7c5.js";
9
- import { V as eo, A as oo, K as no } from "./index-8542fe24.js";
10
- import { E as to } from "./el-message-9859835d.js";
11
- import { _ as ro } from "./_plugin-vue_export-helper-dad06003.js";
12
- import { c as lo, E as so, d as ao, a as Ie, C as io, b as uo, e as co, f as po, g as fo, F as mo, L as vo } from "./dropdown-ce30ada6.js";
13
- import { c as wo } from "./index-8b5fbc11.js";
14
- import "./scroll-cb696ed2.js";
15
- import "./config-provider-419ffbf2.js";
16
- import "./_initCloneObject-a8dcd058.js";
17
- const go = Fe({
1
+ import { b as $e, d as oe, _ as V, u as te, o as Te, y as Re, x as ve, w as Se, R as we } from "./base-950bac7e.js";
2
+ import { d as ge, E as ke } from "./el-overlay-07414277.js";
3
+ import { E as re } from "./el-button-d7b6eebd.js";
4
+ import { E as De, a as Oe } from "./el-form-item-55d36086.js";
5
+ import { E as Ne } from "./el-input-cb528574.js";
6
+ import { g as K, f as Ke, E as Be, O as Le, w as pe } from "./el-popper-f4b01f85.js";
7
+ import { u as Me } from "./el-scrollbar-e8e93751.js";
8
+ import { defineComponent as U, ref as E, inject as R, computed as k, provide as Q, readonly as Ge, toRef as q, unref as F, watch as _e, renderSlot as G, resolveComponent as y, openBlock as D, createBlock as Y, withCtx as d, createVNode as u, normalizeProps as Ae, guardReactiveProps as Ve, getCurrentInstance as be, onBeforeUnmount as Ue, createElementBlock as A, normalizeClass as X, createSlots as ze, mergeProps as Z, createCommentVNode as ne, nextTick as Ye, Fragment as He, createElementVNode as j, withModifiers as x, resolveDynamicComponent as Je, normalizeStyle as qe, createTextVNode as J, toDisplayString as We, withKeys as je } from "vue";
9
+ import { E as le, g as he, b as Qe, D as Xe, F as Ze } from "./use-form-common-props-4d37077d.js";
10
+ import { V as xe, A as eo, K as oo } from "./index-8542fe24.js";
11
+ import { _ as no } from "./_plugin-vue_export-helper-dad06003.js";
12
+ import { E as to } from "./el-message-d51d032b.js";
13
+ import { c as ro, E as lo, d as so, a as Ee, C as ao, b as io, e as uo, f as co, g as po, F as fo, L as mo } from "./dropdown-c9272ca3.js";
14
+ import { E as O, F as vo } from "./index-121e2861.js";
15
+ import { c as wo } from "./castArray-c770910d.js";
16
+ import "./scroll-ca84f80a.js";
17
+ import "./index-aece600c.js";
18
+ import "./_initCloneObject-ec5c9523.js";
19
+ import "./typescript-7ae59c4c.js";
20
+ import "./index-709675d5.js";
21
+ import "./config-provider-feed0e8a.js";
22
+ const go = $e({
18
23
  style: { type: oe([String, Array, Object]) },
19
24
  currentTabId: {
20
25
  type: oe(String)
@@ -37,7 +42,7 @@ const go = Fe({
37
42
  ElCollectionItem: bo,
38
43
  COLLECTION_INJECTION_KEY: se,
39
44
  COLLECTION_ITEM_INJECTION_KEY: ho
40
- } = lo("RovingFocusGroup"), ae = Symbol("elRovingFocusGroup"), Ee = Symbol("elRovingFocusGroupItem"), Io = {
45
+ } = ro("RovingFocusGroup"), ae = Symbol("elRovingFocusGroup"), Ie = Symbol("elRovingFocusGroupItem"), Eo = {
41
46
  ArrowLeft: "prev",
42
47
  ArrowUp: "prev",
43
48
  ArrowRight: "next",
@@ -46,34 +51,34 @@ const go = Fe({
46
51
  Home: "first",
47
52
  PageDown: "last",
48
53
  End: "last"
49
- }, Eo = (e, n) => {
54
+ }, Io = (e, n) => {
50
55
  if (n !== "rtl")
51
56
  return e;
52
57
  switch (e) {
53
- case D.right:
54
- return D.left;
55
- case D.left:
56
- return D.right;
58
+ case O.right:
59
+ return O.left;
60
+ case O.left:
61
+ return O.right;
57
62
  default:
58
63
  return e;
59
64
  }
60
65
  }, Co = (e, n, f) => {
61
- const r = Eo(e.code, f);
62
- if (!(n === "vertical" && [D.left, D.right].includes(r)) && !(n === "horizontal" && [D.up, D.down].includes(r)))
63
- return Io[r];
66
+ const r = Io(e.code, f);
67
+ if (!(n === "vertical" && [O.left, O.right].includes(r)) && !(n === "horizontal" && [O.up, O.down].includes(r)))
68
+ return Eo[r];
64
69
  }, yo = (e, n) => e.map((f, r) => e[(r + n) % e.length]), ie = (e) => {
65
70
  const { activeElement: n } = document;
66
71
  for (const f of e)
67
72
  if (f === n || (f.focus(), n !== document.activeElement))
68
73
  return;
69
- }, fe = "currentTabIdChange", me = "rovingFocusGroup.entryFocus", Po = { bubbles: !1, cancelable: !0 }, $o = U({
74
+ }, fe = "currentTabIdChange", me = "rovingFocusGroup.entryFocus", Fo = { bubbles: !1, cancelable: !0 }, Po = U({
70
75
  name: "ElRovingFocusGroupImpl",
71
76
  inheritAttrs: !1,
72
77
  props: go,
73
78
  emits: [fe, "entryFocus"],
74
79
  setup(e, { emit: n }) {
75
80
  var f;
76
- const r = I((f = e.currentTabId || e.defaultCurrentTabId) != null ? f : null), v = I(!1), m = I(!1), c = I(null), { getItems: s } = R(se, void 0), a = k(() => [
81
+ const r = E((f = e.currentTabId || e.defaultCurrentTabId) != null ? f : null), v = E(!1), m = E(!1), c = E(null), { getItems: s } = R(se, void 0), a = k(() => [
77
82
  {
78
83
  outline: "none"
79
84
  },
@@ -87,15 +92,15 @@ const go = Fe({
87
92
  (t = e.onMousedown) == null || t.call(e, i);
88
93
  }, () => {
89
94
  m.value = !0;
90
- }), E = K((i) => {
95
+ }), I = K((i) => {
91
96
  var t;
92
97
  (t = e.onFocus) == null || t.call(e, i);
93
98
  }, (i) => {
94
- const t = !P(m), { target: C, currentTarget: $ } = i;
95
- if (C === $ && t && !P(v)) {
96
- const L = new Event(me, Po);
97
- if ($ == null || $.dispatchEvent(L), !L.defaultPrevented) {
98
- const w = s().filter((S) => S.focusable), F = w.find((S) => S.active), g = w.find((S) => S.id === P(r)), B = [F, g, ...w].filter(Boolean).map((S) => S.ref);
99
+ const t = !F(m), { target: C, currentTarget: P } = i;
100
+ if (C === P && t && !F(v)) {
101
+ const L = new Event(me, Fo);
102
+ if (P == null || P.dispatchEvent(L), !L.defaultPrevented) {
103
+ const w = s().filter((S) => S.focusable), $ = w.find((S) => S.active), g = w.find((S) => S.id === F(r)), B = [$, g, ...w].filter(Boolean).map((S) => S.ref);
99
104
  ie(B);
100
105
  }
101
106
  }
@@ -110,26 +115,26 @@ const go = Fe({
110
115
  };
111
116
  Q(ae, {
112
117
  currentTabbedId: Ge(r),
113
- loop: j(e, "loop"),
114
- tabIndex: k(() => P(v) ? -1 : 0),
118
+ loop: q(e, "loop"),
119
+ tabIndex: k(() => F(v) ? -1 : 0),
115
120
  rovingFocusGroupRef: c,
116
121
  rovingFocusGroupRootStyle: a,
117
- orientation: j(e, "orientation"),
118
- dir: j(e, "dir"),
122
+ orientation: q(e, "orientation"),
123
+ dir: q(e, "dir"),
119
124
  onItemFocus: b,
120
125
  onItemShiftTab: _,
121
126
  onBlur: o,
122
- onFocus: E,
127
+ onFocus: I,
123
128
  onMousedown: h
124
129
  }), _e(() => e.currentTabId, (i) => {
125
130
  r.value = i ?? null;
126
- }), Ke(c, me, p);
131
+ }), Me(c, me, p);
127
132
  }
128
133
  });
129
- function Fo(e, n, f, r, v, m) {
134
+ function $o(e, n, f, r, v, m) {
130
135
  return G(e.$slots, "default");
131
136
  }
132
- var To = /* @__PURE__ */ V($o, [["render", Fo], ["__file", "roving-focus-group-impl.vue"]]);
137
+ var To = /* @__PURE__ */ V(Po, [["render", $o], ["__file", "roving-focus-group-impl.vue"]]);
133
138
  const Ro = U({
134
139
  name: "ElRovingFocusGroup",
135
140
  components: {
@@ -139,7 +144,7 @@ const Ro = U({
139
144
  });
140
145
  function So(e, n, f, r, v, m) {
141
146
  const c = y("el-roving-focus-group-impl"), s = y("el-focus-group-collection");
142
- return O(), H(s, null, {
147
+ return D(), Y(s, null, {
143
148
  default: d(() => [
144
149
  u(c, Ae(Ve(e.$attrs)), {
145
150
  default: d(() => [
@@ -152,23 +157,23 @@ function So(e, n, f, r, v, m) {
152
157
  });
153
158
  }
154
159
  var ko = /* @__PURE__ */ V(Ro, [["render", So], ["__file", "roving-focus-group.vue"]]);
155
- const ee = Symbol("elDropdown"), { ButtonGroup: Oo } = re, Do = U({
160
+ const ee = Symbol("elDropdown"), { ButtonGroup: Do } = re, Oo = U({
156
161
  name: "ElDropdown",
157
162
  components: {
158
163
  ElButton: re,
159
- ElButtonGroup: Oo,
160
- ElScrollbar: Be,
161
- ElDropdownCollection: so,
162
- ElTooltip: Le,
164
+ ElButtonGroup: Do,
165
+ ElScrollbar: Ke,
166
+ ElDropdownCollection: lo,
167
+ ElTooltip: Be,
163
168
  ElRovingFocusGroup: ko,
164
- ElOnlyChild: Me,
169
+ ElOnlyChild: Le,
165
170
  ElIcon: le,
166
171
  ArrowDown: he
167
172
  },
168
- props: ao,
173
+ props: so,
169
174
  emits: ["visible-change", "click", "command"],
170
175
  setup(e, { emit: n }) {
171
- const f = be(), r = te("dropdown"), { t: v } = Te(), m = I(), c = I(), s = I(null), a = I(null), b = I(null), _ = I(null), h = I(!1), E = k(() => ({
176
+ const f = be(), r = te("dropdown"), { t: v } = Te(), m = E(), c = E(), s = E(null), a = E(null), b = E(null), _ = E(null), h = E(!1), I = k(() => ({
172
177
  maxHeight: Re(e.maxHeight)
173
178
  })), o = k(() => [r.m(w.value)]), p = k(() => wo(e.trigger)), i = ve().value, t = k(() => e.id || i);
174
179
  _e([m, p], ([l, N], [z]) => {
@@ -179,9 +184,9 @@ const ee = Symbol("elDropdown"), { ButtonGroup: Oo } = re, Do = U({
179
184
  (N = (l = m.value) == null ? void 0 : l.$el) != null && N.removeEventListener && m.value.$el.removeEventListener("pointerenter", g);
180
185
  });
181
186
  function C() {
182
- $();
187
+ P();
183
188
  }
184
- function $() {
189
+ function P() {
185
190
  var l;
186
191
  (l = s.value) == null || l.onClose();
187
192
  }
@@ -190,7 +195,7 @@ const ee = Symbol("elDropdown"), { ButtonGroup: Oo } = re, Do = U({
190
195
  (l = s.value) == null || l.onOpen();
191
196
  }
192
197
  const w = Qe();
193
- function F(...l) {
198
+ function $(...l) {
194
199
  n("command", ...l);
195
200
  }
196
201
  function g() {
@@ -200,7 +205,7 @@ const ee = Symbol("elDropdown"), { ButtonGroup: Oo } = re, Do = U({
200
205
  function M() {
201
206
  }
202
207
  function B() {
203
- const l = P(a);
208
+ const l = F(a);
204
209
  p.value.includes("hover") && (l == null || l.focus()), _.value = null;
205
210
  }
206
211
  function S(l) {
@@ -209,13 +214,13 @@ const ee = Symbol("elDropdown"), { ButtonGroup: Oo } = re, Do = U({
209
214
  function T(l) {
210
215
  h.value || (l.preventDefault(), l.stopImmediatePropagation());
211
216
  }
212
- function q() {
217
+ function W() {
213
218
  n("visible-change", !0);
214
219
  }
215
- function Y(l) {
220
+ function H(l) {
216
221
  (l == null ? void 0 : l.type) === "keydown" && a.value.focus();
217
222
  }
218
- function $e() {
223
+ function Pe() {
219
224
  n("visible-change", !1);
220
225
  }
221
226
  return Q(ee, {
@@ -229,14 +234,14 @@ const ee = Symbol("elDropdown"), { ButtonGroup: Oo } = re, Do = U({
229
234
  instance: f,
230
235
  dropdownSize: w,
231
236
  handleClick: C,
232
- commandHandler: F,
233
- trigger: j(e, "trigger"),
234
- hideOnClick: j(e, "hideOnClick")
237
+ commandHandler: $,
238
+ trigger: q(e, "trigger"),
239
+ hideOnClick: q(e, "hideOnClick")
235
240
  }), {
236
241
  t: v,
237
242
  ns: r,
238
243
  scrollbar: b,
239
- wrapStyle: E,
244
+ wrapStyle: I,
240
245
  dropdownTriggerKls: o,
241
246
  dropdownSize: w,
242
247
  triggerId: t,
@@ -246,11 +251,11 @@ const ee = Symbol("elDropdown"), { ButtonGroup: Oo } = re, Do = U({
246
251
  n("click", l);
247
252
  },
248
253
  handleEntryFocus: T,
249
- handleClose: $,
254
+ handleClose: P,
250
255
  handleOpen: L,
251
- handleBeforeShowTooltip: q,
252
- handleShowTooltip: Y,
253
- handleBeforeHideTooltip: $e,
256
+ handleBeforeShowTooltip: W,
257
+ handleShowTooltip: H,
258
+ handleBeforeHideTooltip: Pe,
254
259
  onFocusAfterTrapped: (l) => {
255
260
  var N, z;
256
261
  l.preventDefault(), (z = (N = a.value) == null ? void 0 : N.focus) == null || z.call(N, {
@@ -266,8 +271,8 @@ const ee = Symbol("elDropdown"), { ButtonGroup: Oo } = re, Do = U({
266
271
  });
267
272
  function No(e, n, f, r, v, m) {
268
273
  var c;
269
- const s = y("el-dropdown-collection"), a = y("el-roving-focus-group"), b = y("el-scrollbar"), _ = y("el-only-child"), h = y("el-tooltip"), E = y("el-button"), o = y("arrow-down"), p = y("el-icon"), i = y("el-button-group");
270
- return O(), A("div", {
274
+ const s = y("el-dropdown-collection"), a = y("el-roving-focus-group"), b = y("el-scrollbar"), _ = y("el-only-child"), h = y("el-tooltip"), I = y("el-button"), o = y("arrow-down"), p = y("el-icon"), i = y("el-button-group");
275
+ return D(), A("div", {
271
276
  class: X([e.ns.b(), e.ns.is("disabled", e.disabled)])
272
277
  }, [
273
278
  u(h, {
@@ -346,9 +351,9 @@ function No(e, n, f, r, v, m) {
346
351
  ])
347
352
  }
348
353
  ]), 1032, ["role", "effect", "popper-options", "hide-after", "placement", "popper-class", "reference-element", "trigger", "trigger-keys", "trigger-target-el", "show-after", "virtual-ref", "virtual-triggering", "disabled", "transition", "teleported", "onBeforeShow", "onShow", "onBeforeHide"]),
349
- e.splitButton ? (O(), H(i, { key: 0 }, {
354
+ e.splitButton ? (D(), Y(i, { key: 0 }, {
350
355
  default: d(() => [
351
- u(E, Z({ ref: "referenceElementRef" }, e.buttonProps, {
356
+ u(I, Z({ ref: "referenceElementRef" }, e.buttonProps, {
352
357
  size: e.dropdownSize,
353
358
  type: e.type,
354
359
  disabled: e.disabled,
@@ -360,7 +365,7 @@ function No(e, n, f, r, v, m) {
360
365
  ]),
361
366
  _: 3
362
367
  }, 16, ["size", "type", "disabled", "tabindex", "onClick"]),
363
- u(E, Z({
368
+ u(I, Z({
364
369
  id: e.triggerId,
365
370
  ref: "triggeringElementRef"
366
371
  }, e.buttonProps, {
@@ -389,7 +394,7 @@ function No(e, n, f, r, v, m) {
389
394
  })) : ne("v-if", !0)
390
395
  ], 2);
391
396
  }
392
- var Ko = /* @__PURE__ */ V(Do, [["render", No], ["__file", "dropdown.vue"]]);
397
+ var Ko = /* @__PURE__ */ V(Oo, [["render", No], ["__file", "dropdown.vue"]]);
393
398
  const Bo = U({
394
399
  components: {
395
400
  ElRovingFocusCollectionItem: bo
@@ -406,49 +411,49 @@ const Bo = U({
406
411
  },
407
412
  emits: ["mousedown", "focus", "keydown"],
408
413
  setup(e, { emit: n }) {
409
- const { currentTabbedId: f, loop: r, onItemFocus: v, onItemShiftTab: m } = R(ae, void 0), { getItems: c } = R(se, void 0), s = ve(), a = I(null), b = K((o) => {
414
+ const { currentTabbedId: f, loop: r, onItemFocus: v, onItemShiftTab: m } = R(ae, void 0), { getItems: c } = R(se, void 0), s = ve(), a = E(null), b = K((o) => {
410
415
  n("mousedown", o);
411
416
  }, (o) => {
412
- e.focusable ? v(P(s)) : o.preventDefault();
417
+ e.focusable ? v(F(s)) : o.preventDefault();
413
418
  }), _ = K((o) => {
414
419
  n("focus", o);
415
420
  }, () => {
416
- v(P(s));
421
+ v(F(s));
417
422
  }), h = K((o) => {
418
423
  n("keydown", o);
419
424
  }, (o) => {
420
425
  const { code: p, shiftKey: i, target: t, currentTarget: C } = o;
421
- if (p === D.tab && i) {
426
+ if (p === O.tab && i) {
422
427
  m();
423
428
  return;
424
429
  }
425
430
  if (t !== C)
426
431
  return;
427
- const $ = Co(o);
428
- if ($) {
432
+ const P = Co(o);
433
+ if (P) {
429
434
  o.preventDefault();
430
- let w = c().filter((F) => F.focusable).map((F) => F.ref);
431
- switch ($) {
435
+ let w = c().filter(($) => $.focusable).map(($) => $.ref);
436
+ switch (P) {
432
437
  case "last": {
433
438
  w.reverse();
434
439
  break;
435
440
  }
436
441
  case "prev":
437
442
  case "next": {
438
- $ === "prev" && w.reverse();
439
- const F = w.indexOf(C);
440
- w = r.value ? yo(w, F + 1) : w.slice(F + 1);
443
+ P === "prev" && w.reverse();
444
+ const $ = w.indexOf(C);
445
+ w = r.value ? yo(w, $ + 1) : w.slice($ + 1);
441
446
  break;
442
447
  }
443
448
  }
444
- He(() => {
449
+ Ye(() => {
445
450
  ie(w);
446
451
  });
447
452
  }
448
- }), E = k(() => f.value === P(s));
449
- return Q(Ee, {
453
+ }), I = k(() => f.value === F(s));
454
+ return Q(Ie, {
450
455
  rovingFocusGroupItemRef: a,
451
- tabIndex: k(() => P(E) ? 0 : -1),
456
+ tabIndex: k(() => F(I) ? 0 : -1),
452
457
  handleMousedown: b,
453
458
  handleFocus: _,
454
459
  handleKeydown: h
@@ -462,7 +467,7 @@ const Bo = U({
462
467
  });
463
468
  function Lo(e, n, f, r, v, m) {
464
469
  const c = y("el-roving-focus-collection-item");
465
- return O(), H(c, {
470
+ return D(), Y(c, {
466
471
  id: e.id,
467
472
  focusable: e.focusable,
468
473
  active: e.active
@@ -479,26 +484,26 @@ const Go = U({
479
484
  components: {
480
485
  ElIcon: le
481
486
  },
482
- props: Ie,
487
+ props: Ee,
483
488
  emits: ["pointermove", "pointerleave", "click", "clickimpl"],
484
489
  setup(e, { emit: n }) {
485
- const f = te("dropdown"), { role: r } = R(ee, void 0), { collectionItemRef: v } = R(io, void 0), { collectionItemRef: m } = R(ho, void 0), {
490
+ const f = te("dropdown"), { role: r } = R(ee, void 0), { collectionItemRef: v } = R(ao, void 0), { collectionItemRef: m } = R(ho, void 0), {
486
491
  rovingFocusGroupItemRef: c,
487
492
  tabIndex: s,
488
493
  handleFocus: a,
489
494
  handleKeydown: b,
490
495
  handleMousedown: _
491
- } = R(Ee, void 0), h = ge(v, m, c), E = k(() => r.value === "menu" ? "menuitem" : r.value === "navigation" ? "link" : "button"), o = K((p) => {
492
- if ([D.enter, D.numpadEnter, D.space].includes(p.code))
496
+ } = R(Ie, void 0), h = ge(v, m, c), I = k(() => r.value === "menu" ? "menuitem" : r.value === "navigation" ? "link" : "button"), o = K((p) => {
497
+ if ([O.enter, O.numpadEnter, O.space].includes(p.code))
493
498
  return p.preventDefault(), p.stopImmediatePropagation(), n("clickimpl", p), !0;
494
499
  }, b);
495
500
  return {
496
501
  ns: f,
497
502
  itemRef: h,
498
503
  dataset: {
499
- [uo]: ""
504
+ [io]: ""
500
505
  },
501
- role: E,
506
+ role: I,
502
507
  tabIndex: s,
503
508
  handleFocus: a,
504
509
  handleKeydown: o,
@@ -508,13 +513,13 @@ const Go = U({
508
513
  });
509
514
  function Ao(e, n, f, r, v, m) {
510
515
  const c = y("el-icon");
511
- return O(), A(Ye, null, [
512
- e.divided ? (O(), A("li", {
516
+ return D(), A(He, null, [
517
+ e.divided ? (D(), A("li", {
513
518
  key: 0,
514
519
  role: "separator",
515
520
  class: X(e.ns.bem("menu", "item", "divided"))
516
521
  }, null, 2)) : ne("v-if", !0),
517
- W("li", Z({ ref: e.itemRef }, { ...e.dataset, ...e.$attrs }, {
522
+ j("li", Z({ ref: e.itemRef }, { ...e.dataset, ...e.$attrs }, {
518
523
  "aria-disabled": e.disabled,
519
524
  class: [e.ns.be("menu", "item"), e.ns.is("disabled", e.disabled)],
520
525
  tabindex: e.tabIndex,
@@ -526,9 +531,9 @@ function Ao(e, n, f, r, v, m) {
526
531
  onPointermove: (s) => e.$emit("pointermove", s),
527
532
  onPointerleave: (s) => e.$emit("pointerleave", s)
528
533
  }), [
529
- e.icon ? (O(), H(c, { key: 0 }, {
534
+ e.icon ? (D(), Y(c, { key: 0 }, {
530
535
  default: d(() => [
531
- (O(), H(Je(e.icon)))
536
+ (D(), Y(Je(e.icon)))
532
537
  ]),
533
538
  _: 1
534
539
  })) : ne("v-if", !0),
@@ -546,17 +551,17 @@ const Ce = () => {
546
551
  }, Uo = U({
547
552
  name: "ElDropdownItem",
548
553
  components: {
549
- ElDropdownCollectionItem: co,
554
+ ElDropdownCollectionItem: uo,
550
555
  ElRovingFocusItem: Mo,
551
556
  ElDropdownItemImpl: Vo
552
557
  },
553
558
  inheritAttrs: !1,
554
- props: Ie,
559
+ props: Ee,
555
560
  emits: ["pointermove", "pointerleave", "click"],
556
561
  setup(e, { emit: n, attrs: f }) {
557
- const { elDropdown: r } = Ce(), v = be(), m = I(null), c = k(() => {
562
+ const { elDropdown: r } = Ce(), v = be(), m = E(null), c = k(() => {
558
563
  var o, p;
559
- return (p = (o = P(m)) == null ? void 0 : o.textContent) != null ? p : "";
564
+ return (p = (o = F(m)) == null ? void 0 : o.textContent) != null ? p : "";
560
565
  }), { onItemEnter: s, onItemLeave: a } = R(ee, void 0), b = K((o) => (n("pointermove", o), o.defaultPrevented), pe((o) => {
561
566
  if (e.disabled) {
562
567
  a(o);
@@ -574,20 +579,20 @@ const Ce = () => {
574
579
  return;
575
580
  }
576
581
  (p = r == null ? void 0 : r.hideOnClick) != null && p.value && ((i = r.handleClick) == null || i.call(r)), (t = r.commandHandler) == null || t.call(r, e.command, v, o);
577
- }), E = k(() => ({ ...e, ...f }));
582
+ }), I = k(() => ({ ...e, ...f }));
578
583
  return {
579
584
  handleClick: h,
580
585
  handlePointerMove: b,
581
586
  handlePointerLeave: _,
582
587
  textContent: c,
583
- propsAndAttrs: E
588
+ propsAndAttrs: I
584
589
  };
585
590
  }
586
591
  });
587
592
  function zo(e, n, f, r, v, m) {
588
593
  var c;
589
594
  const s = y("el-dropdown-item-impl"), a = y("el-roving-focus-item"), b = y("el-dropdown-collection-item");
590
- return O(), H(b, {
595
+ return D(), Y(b, {
591
596
  disabled: e.disabled,
592
597
  "text-value": (c = e.textValue) != null ? c : e.textContent
593
598
  }, {
@@ -614,32 +619,32 @@ function zo(e, n, f, r, v, m) {
614
619
  }, 8, ["disabled", "text-value"]);
615
620
  }
616
621
  var ye = /* @__PURE__ */ V(Uo, [["render", zo], ["__file", "dropdown-item.vue"]]);
617
- const Ho = U({
622
+ const Yo = U({
618
623
  name: "ElDropdownMenu",
619
- props: po,
624
+ props: co,
620
625
  setup(e) {
621
- const n = te("dropdown"), { _elDropdownSize: f } = Ce(), r = f.value, { focusTrapRef: v, onKeydown: m } = R(Xe, void 0), { contentRef: c, role: s, triggerId: a } = R(ee, void 0), { collectionRef: b, getItems: _ } = R(fo, void 0), {
626
+ const n = te("dropdown"), { _elDropdownSize: f } = Ce(), r = f.value, { focusTrapRef: v, onKeydown: m } = R(vo, void 0), { contentRef: c, role: s, triggerId: a } = R(ee, void 0), { collectionRef: b, getItems: _ } = R(po, void 0), {
622
627
  rovingFocusGroupRef: h,
623
- rovingFocusGroupRootStyle: E,
628
+ rovingFocusGroupRootStyle: I,
624
629
  tabIndex: o,
625
630
  onBlur: p,
626
631
  onFocus: i,
627
632
  onMousedown: t
628
- } = R(ae, void 0), { collectionRef: C } = R(se, void 0), $ = k(() => [n.b("menu"), n.bm("menu", r == null ? void 0 : r.value)]), L = ge(c, b, v, h, C), w = K((g) => {
633
+ } = R(ae, void 0), { collectionRef: C } = R(se, void 0), P = k(() => [n.b("menu"), n.bm("menu", r == null ? void 0 : r.value)]), L = ge(c, b, v, h, C), w = K((g) => {
629
634
  var M;
630
635
  (M = e.onKeydown) == null || M.call(e, g);
631
636
  }, (g) => {
632
637
  const { currentTarget: M, code: B, target: S } = g;
633
- if (M.contains(S), D.tab === B && g.stopImmediatePropagation(), g.preventDefault(), S !== P(c) || !mo.includes(B))
638
+ if (M.contains(S), O.tab === B && g.stopImmediatePropagation(), g.preventDefault(), S !== F(c) || !fo.includes(B))
634
639
  return;
635
- const q = _().filter((Y) => !Y.disabled).map((Y) => Y.ref);
636
- vo.includes(B) && q.reverse(), ie(q);
640
+ const W = _().filter((H) => !H.disabled).map((H) => H.ref);
641
+ mo.includes(B) && W.reverse(), ie(W);
637
642
  });
638
643
  return {
639
644
  size: r,
640
- rovingFocusGroupRootStyle: E,
645
+ rovingFocusGroupRootStyle: I,
641
646
  tabIndex: o,
642
- dropdownKls: $,
647
+ dropdownKls: P,
643
648
  role: s,
644
649
  triggerId: a,
645
650
  dropdownListWrapperRef: L,
@@ -652,11 +657,11 @@ const Ho = U({
652
657
  };
653
658
  }
654
659
  });
655
- function Yo(e, n, f, r, v, m) {
656
- return O(), A("ul", {
660
+ function Ho(e, n, f, r, v, m) {
661
+ return D(), A("ul", {
657
662
  ref: e.dropdownListWrapperRef,
658
663
  class: X(e.dropdownKls),
659
- style: je(e.rovingFocusGroupRootStyle),
664
+ style: qe(e.rovingFocusGroupRootStyle),
660
665
  tabindex: -1,
661
666
  role: e.role,
662
667
  "aria-labelledby": e.triggerId,
@@ -668,12 +673,12 @@ function Yo(e, n, f, r, v, m) {
668
673
  G(e.$slots, "default")
669
674
  ], 46, ["role", "aria-labelledby", "onBlur", "onFocus", "onKeydown", "onMousedown"]);
670
675
  }
671
- var Pe = /* @__PURE__ */ V(Ho, [["render", Yo], ["__file", "dropdown-menu.vue"]]);
676
+ var Fe = /* @__PURE__ */ V(Yo, [["render", Ho], ["__file", "dropdown-menu.vue"]]);
672
677
  const Jo = Se(Ko, {
673
678
  DropdownItem: ye,
674
- DropdownMenu: Pe
675
- }), jo = we(ye), qo = we(Pe);
676
- const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo = { class: "dialog-footer" }, xo = {
679
+ DropdownMenu: Fe
680
+ }), qo = we(ye), Wo = we(Fe);
681
+ const jo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo = { class: "dialog-footer" }, xo = {
677
682
  __name: "index",
678
683
  props: {
679
684
  config: {
@@ -684,11 +689,11 @@ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
684
689
  },
685
690
  emits: ["loginout"],
686
691
  setup(e, { emit: n }) {
687
- const f = R("stConfig"), r = eo(), v = n, m = e, c = I(null), s = I(!1), a = I({
692
+ const f = R("stConfig"), r = xe(), v = n, m = e, c = E(null), s = E(!1), a = E({
688
693
  oldPassword: "",
689
694
  newPassword: "",
690
695
  confirmPassword: ""
691
- }), _ = I({
696
+ }), _ = E({
692
697
  oldPassword: [
693
698
  { required: !0, message: "请输入原密码", trigger: "blur" },
694
699
  { min: 6, max: 18, trigger: "blur", message: "密码长度为6到18位" }
@@ -706,10 +711,10 @@ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
706
711
  ]
707
712
  }), h = () => {
708
713
  const { loginUrl: i } = m.config || {};
709
- oo(i);
710
- }, E = () => {
714
+ eo(i);
715
+ }, I = () => {
711
716
  const { loginoutToLogin: i, loginoutUrl: t } = m.config || {};
712
- no(i, t), v("loginout");
717
+ oo(i, t), v("loginout");
713
718
  }, o = () => {
714
719
  c.value.validate(async (i, t) => {
715
720
  i && (await f.request.post("/invest/sys/user/password", {
@@ -726,14 +731,14 @@ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
726
731
  }, c.value.resetFields();
727
732
  };
728
733
  return (i, t) => {
729
- const C = le, $ = jo, L = qo, w = Jo, F = Ne, g = Oe, M = De, B = re, S = ke;
730
- return O(), A("div", Wo, [
731
- P(r) ? (O(), A("div", Qo, [
734
+ const C = le, P = qo, L = Wo, w = Jo, $ = Ne, g = De, M = Oe, B = re, S = ke;
735
+ return D(), A("div", jo, [
736
+ F(r) ? (D(), A("div", Qo, [
732
737
  u(w, { placement: "bottom" }, {
733
738
  dropdown: d(() => [
734
739
  u(L, null, {
735
740
  default: d(() => [
736
- u($, {
741
+ u(P, {
737
742
  onClick: t[0] || (t[0] = (T) => s.value = !0)
738
743
  }, {
739
744
  default: d(() => [
@@ -741,7 +746,7 @@ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
741
746
  ]),
742
747
  _: 1
743
748
  }),
744
- u($, { onClick: E }, {
749
+ u(P, { onClick: I }, {
745
750
  default: d(() => [
746
751
  J("退出登录")
747
752
  ]),
@@ -754,17 +759,17 @@ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
754
759
  default: d(() => {
755
760
  var T;
756
761
  return [
757
- W("div", Xo, [
762
+ j("div", Xo, [
758
763
  u(C, { class: "user-msg-icon" }, {
759
764
  default: d(() => [
760
- u(P(Ze))
765
+ u(F(Xe))
761
766
  ]),
762
767
  _: 1
763
768
  }),
764
- W("span", null, qe((T = P(r)) == null ? void 0 : T.username), 1),
769
+ j("span", null, We((T = F(r)) == null ? void 0 : T.username), 1),
765
770
  u(C, { class: "user-msg-arrow" }, {
766
771
  default: d(() => [
767
- u(P(he))
772
+ u(F(he))
768
773
  ]),
769
774
  _: 1
770
775
  })
@@ -773,7 +778,7 @@ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
773
778
  }),
774
779
  _: 1
775
780
  })
776
- ])) : (O(), A("div", {
781
+ ])) : (D(), A("div", {
777
782
  key: 1,
778
783
  class: "user-login",
779
784
  onClick: h
@@ -781,7 +786,7 @@ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
781
786
  J(" 前往登录 "),
782
787
  u(C, { class: "user-login-icon" }, {
783
788
  default: d(() => [
784
- u(P(xe))
789
+ u(F(Ze))
785
790
  ]),
786
791
  _: 1
787
792
  })
@@ -795,7 +800,7 @@ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
795
800
  onClosed: p
796
801
  }, {
797
802
  footer: d(() => [
798
- W("div", Zo, [
803
+ j("div", Zo, [
799
804
  u(B, {
800
805
  onClick: t[4] || (t[4] = (T) => s.value = !1)
801
806
  }, {
@@ -822,7 +827,7 @@ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
822
827
  model: a.value,
823
828
  rules: _.value,
824
829
  onSubmit: x(o, ["prevent"]),
825
- onKeyup: We(o, ["enter", "native"]),
830
+ onKeyup: je(o, ["enter", "native"]),
826
831
  "label-width": "auto"
827
832
  }, {
828
833
  default: d(() => [
@@ -831,7 +836,7 @@ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
831
836
  prop: "oldPassword"
832
837
  }, {
833
838
  default: d(() => [
834
- u(F, {
839
+ u($, {
835
840
  modelValue: a.value.oldPassword,
836
841
  "onUpdate:modelValue": t[1] || (t[1] = (T) => a.value.oldPassword = T),
837
842
  type: "password",
@@ -845,7 +850,7 @@ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
845
850
  prop: "newPassword"
846
851
  }, {
847
852
  default: d(() => [
848
- u(F, {
853
+ u($, {
849
854
  modelValue: a.value.newPassword,
850
855
  "onUpdate:modelValue": t[2] || (t[2] = (T) => a.value.newPassword = T),
851
856
  type: "password",
@@ -859,7 +864,7 @@ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
859
864
  prop: "confirmPassword"
860
865
  }, {
861
866
  default: d(() => [
862
- u(F, {
867
+ u($, {
863
868
  modelValue: a.value.confirmPassword,
864
869
  "onUpdate:modelValue": t[3] || (t[3] = (T) => a.value.confirmPassword = T),
865
870
  type: "password",
@@ -877,11 +882,11 @@ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
877
882
  ]);
878
883
  };
879
884
  }
880
- }, en = /* @__PURE__ */ ro(xo, [["__scopeId", "data-v-ca7165c7"]]), hn = {
885
+ }, en = /* @__PURE__ */ no(xo, [["__scopeId", "data-v-ca7165c7"]]), Fn = {
881
886
  install(e) {
882
887
  e.component("st-user", en);
883
888
  }
884
889
  };
885
890
  export {
886
- hn as default
891
+ Fn as default
887
892
  };