st-comp 0.0.146 → 0.0.147

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 (148) hide show
  1. package/components.d.ts +0 -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 -26
  6. package/es/FactorWarning.cjs +1 -1
  7. package/es/FactorWarning.js +103 -112
  8. package/es/KlineBasic.cjs +1 -1
  9. package/es/KlineBasic.js +1426 -671
  10. package/es/KlineNew.cjs +3 -1
  11. package/es/KlineNew.js +2736 -314
  12. package/es/Pagination.cjs +1 -1
  13. package/es/Pagination.js +96 -102
  14. package/es/Table.cjs +1 -1
  15. package/es/Table.js +60 -66
  16. package/es/User.cjs +1 -1
  17. package/es/User.js +96 -103
  18. package/es/VarietySearch.cjs +1 -1
  19. package/es/VarietySearch.js +32 -41
  20. package/es/VirtualTable.cjs +1 -13
  21. package/es/VirtualTable.js +1 -2801
  22. package/es/_initCloneObject-7493ecd5.cjs +1 -0
  23. package/es/{_initCloneObject-14b53c6f.js → _initCloneObject-a8dcd058.js} +26 -26
  24. package/es/{base-ec05f348.cjs → base-00ce90ec.cjs} +3 -3
  25. package/es/{base-437d17f3.js → base-674a354a.js} +63 -64
  26. package/es/config-provider-419ffbf2.js +120 -0
  27. package/es/config-provider-68414290.cjs +3 -0
  28. package/es/dropdown-127a8c0d.cjs +1 -0
  29. package/es/{dropdown-634b5e27.js → dropdown-ce30ada6.js} +30 -31
  30. package/es/el-button-7b9f5933.js +745 -0
  31. package/es/el-button-c00975e1.cjs +1 -0
  32. package/es/{el-checkbox-group-e8fece80.js → el-checkbox-group-0554b352.js} +10 -10
  33. package/es/el-checkbox-group-7a313d34.cjs +1 -0
  34. package/es/{el-empty-bacc6613.js → el-empty-39b3aed7.js} +5 -5
  35. package/es/{el-empty-19ea04f4.cjs → el-empty-87154b6d.cjs} +1 -1
  36. package/es/el-form-item-7867f64d.cjs +12 -0
  37. package/es/{el-form-item-af1855f0.js → el-form-item-fc6f80ab.js} +78 -79
  38. package/es/el-input-2ff1628c.cjs +1 -0
  39. package/es/{el-input-4961b99f.js → el-input-d249ac86.js} +82 -84
  40. package/es/{el-input-number-610fc8ba.js → el-input-number-2066fbb7.js} +35 -36
  41. package/es/el-input-number-d6801a5c.cjs +1 -0
  42. package/es/{el-message-c3b3ac96.js → el-message-9859835d.js} +79 -81
  43. package/es/el-message-ffcf690c.cjs +1 -0
  44. package/es/el-overlay-91784be2.cjs +1 -0
  45. package/es/el-overlay-f0757cc4.js +525 -0
  46. package/es/el-popover-4db657e2.cjs +1 -0
  47. package/es/{el-popover-0aa071f2.js → el-popover-b7b43c1f.js} +18 -18
  48. package/es/el-scrollbar-35bac6b3.js +2452 -0
  49. package/es/el-scrollbar-ec09bbd3.cjs +1 -0
  50. package/es/el-select-0785c35a.cjs +1 -0
  51. package/es/{el-select-9381b156.js → el-select-bcbb7e55.js} +329 -333
  52. package/es/el-table-column-2478adf8.cjs +14 -0
  53. package/es/{el-table-column-55bffba5.js → el-table-column-c1e1a206.js} +346 -350
  54. package/es/el-tag-13ee17b3.cjs +1 -0
  55. package/es/el-tag-73372c6c.js +359 -0
  56. package/es/index-07b61d12.cjs +1 -0
  57. package/es/{index-39ec9741.js → index-45de4a12.js} +7 -7
  58. package/es/index-65b719a4.cjs +1 -0
  59. package/es/index-8b5fbc11.js +66 -0
  60. package/es/index-8c85d7c5.js +858 -0
  61. package/es/index-a49f4743.cjs +2 -0
  62. package/es/{scroll-387fcfdb.js → scroll-cb696ed2.js} +1 -1
  63. package/es/{scroll-41224831.cjs → scroll-cca17da0.cjs} +1 -1
  64. package/es/style.css +1 -1
  65. package/es/{zh-cn-ab9a583d.cjs → zh-cn-37af467d.cjs} +1 -1
  66. package/es/{zh-cn-eb9c2820.js → zh-cn-ef7d7220.js} +2 -2
  67. package/lib/bundle.js +1 -1
  68. package/lib/bundle.umd.cjs +206 -206
  69. package/lib/{index-9b8ff62a.js → index-24f8572c.js} +31450 -33319
  70. package/lib/{python-a9c3d9e5.js → python-2143eee4.js} +1 -1
  71. package/lib/style.css +1 -1
  72. package/package.json +1 -1
  73. package/packages/KlineBasic/components/KlineSub/index.vue +17 -3
  74. package/packages/KlineBasic/index.vue +2 -1
  75. package/packages/KlineBasic/utils.js +20 -2
  76. package/packages/index.ts +0 -2
  77. package/src/pages/KlineBasic/api.js +1 -1
  78. package/src/router/routes.ts +0 -5
  79. package/es/Kline.cjs +0 -1
  80. package/es/Kline.js +0 -1901
  81. package/es/_initCloneObject-441db749.cjs +0 -1
  82. package/es/castArray-4251bbe4.js +0 -10
  83. package/es/castArray-a45823fe.cjs +0 -1
  84. package/es/config-provider-55482a43.js +0 -47
  85. package/es/config-provider-7cdfca4d.cjs +0 -1
  86. package/es/debounce-ac30be50.js +0 -83
  87. package/es/debounce-b2ff12bd.cjs +0 -1
  88. package/es/dropdown-d7c59a21.cjs +0 -1
  89. package/es/el-button-196807af.cjs +0 -1
  90. package/es/el-button-e1665717.js +0 -235
  91. package/es/el-checkbox-group-492b95cc.cjs +0 -1
  92. package/es/el-form-item-5bdffd07.cjs +0 -12
  93. package/es/el-input-23e2bac3.cjs +0 -1
  94. package/es/el-input-number-40a81eb5.cjs +0 -1
  95. package/es/el-menu-item-78b858f2.cjs +0 -1
  96. package/es/el-menu-item-7d04c11a.js +0 -771
  97. package/es/el-message-d4df8136.cjs +0 -1
  98. package/es/el-overlay-12dd9b35.js +0 -519
  99. package/es/el-overlay-bc0790a2.cjs +0 -1
  100. package/es/el-popover-8a77e015.cjs +0 -1
  101. package/es/el-popper-50100766.js +0 -2262
  102. package/es/el-popper-746070ba.cjs +0 -1
  103. package/es/el-scrollbar-562d0595.js +0 -201
  104. package/es/el-scrollbar-d1c3e7f7.cjs +0 -1
  105. package/es/el-select-b162dffc.cjs +0 -1
  106. package/es/el-table-column-6d761fce.cjs +0 -14
  107. package/es/el-tag-985d9aff.js +0 -279
  108. package/es/el-tag-c51a6490.cjs +0 -1
  109. package/es/index-09e01b1d.js +0 -81
  110. package/es/index-0cb48e01.js +0 -306
  111. package/es/index-3bf8d597.cjs +0 -1
  112. package/es/index-657047bb.js +0 -513
  113. package/es/index-8a0b1c53.cjs +0 -3
  114. package/es/index-a387515d.cjs +0 -1
  115. package/es/index-a902a0d9.js +0 -59
  116. package/es/index-deb8de52.cjs +0 -1
  117. package/es/index-eea0bcb3.cjs +0 -1
  118. package/es/index.esm-8d9a2abe.js +0 -2432
  119. package/es/index.esm-94a95a2a.cjs +0 -3
  120. package/es/raf-8fc301fd.cjs +0 -1
  121. package/es/raf-b128c7b7.js +0 -6
  122. package/es/typescript-7ae59c4c.js +0 -4
  123. package/es/typescript-b63f8e83.cjs +0 -1
  124. package/es/use-form-common-props-1b84d8f4.cjs +0 -2
  125. package/es/use-form-common-props-f377e500.js +0 -587
  126. package/es/vnode-7dfd4ed5.js +0 -14
  127. package/es/vnode-7fbc61e1.cjs +0 -1
  128. package/packages/Kline/components/Contextmenu/index.vue +0 -110
  129. package/packages/Kline/components/Tips/index.vue +0 -40
  130. package/packages/Kline/componentsNew/KlineSlide/index.vue +0 -155
  131. package/packages/Kline/componentsNew/KlineSub/index.vue +0 -297
  132. package/packages/Kline/componentsNew/KlineTips/index.vue +0 -66
  133. package/packages/Kline/componentsNew/KlineUtils/index.vue +0 -84
  134. package/packages/Kline/componentsNew/Tips/index.vue +0 -33
  135. package/packages/Kline/formatKlineData.ts +0 -109
  136. package/packages/Kline/images/buy.svg +0 -1
  137. package/packages/Kline/images/pen.png +0 -0
  138. package/packages/Kline/images/sell.svg +0 -1
  139. package/packages/Kline/images/t.svg +0 -1
  140. package/packages/Kline/index.ts +0 -16
  141. package/packages/Kline/index.vue +0 -891
  142. package/packages/Kline/option.ts +0 -539
  143. package/packages/Kline/type.d.ts +0 -219
  144. package/packages/Kline/utils.ts +0 -682
  145. package/src/pages/Kline/api.ts +0 -127
  146. package/src/pages/Kline/components/MultiCycleSingleVariety.vue +0 -701
  147. package/src/pages/Kline/components/SingleCycleSingleVariety.vue +0 -924
  148. package/src/pages/Kline/index.vue +0 -90
package/es/User.js CHANGED
@@ -1,26 +1,19 @@
1
- import { b as Fe, d as oe, _ as V, u as te, x as Te, y as Re, e as ve, w as Se, v as we } from "./base-437d17f3.js";
2
- import { d as ge, E as ke } from "./el-overlay-12dd9b35.js";
3
- import { E as re } from "./el-button-e1665717.js";
4
- import { E as Oe, a as De } from "./el-form-item-af1855f0.js";
5
- import { E as Ne } from "./el-input-4961b99f.js";
6
- import { c as K, d as Ke, E as Be, O as Le, w as pe } from "./el-popper-50100766.js";
7
- import { b as Me } from "./el-scrollbar-562d0595.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 P, watch as _e, renderSlot as G, resolveComponent as y, openBlock as O, 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, a as Qe, s as Xe, t as Ze } from "./use-form-common-props-f377e500.js";
10
- import { V as xe, A as eo, K as oo } from "./index-8542fe24.js";
11
- import { E as no } from "./el-message-c3b3ac96.js";
12
- import { _ as to } from "./_plugin-vue_export-helper-dad06003.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-634b5e27.js";
14
- import { E as D, F as vo } from "./index-0cb48e01.js";
15
- import { c as wo } from "./castArray-4251bbe4.js";
16
- import "./vnode-7dfd4ed5.js";
17
- import "./scroll-387fcfdb.js";
18
- import "./index-09e01b1d.js";
19
- import "./index-657047bb.js";
20
- import "./_initCloneObject-14b53c6f.js";
21
- import "./typescript-7ae59c4c.js";
22
- import "./index-a902a0d9.js";
23
- import "./config-provider-55482a43.js";
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";
24
17
  const go = Fe({
25
18
  style: { type: oe([String, Array, Object]) },
26
19
  currentTabId: {
@@ -44,7 +37,7 @@ const go = Fe({
44
37
  ElCollectionItem: bo,
45
38
  COLLECTION_INJECTION_KEY: se,
46
39
  COLLECTION_ITEM_INJECTION_KEY: ho
47
- } = ro("RovingFocusGroup"), ae = Symbol("elRovingFocusGroup"), Ie = Symbol("elRovingFocusGroupItem"), Eo = {
40
+ } = lo("RovingFocusGroup"), ae = Symbol("elRovingFocusGroup"), Ee = Symbol("elRovingFocusGroupItem"), Io = {
48
41
  ArrowLeft: "prev",
49
42
  ArrowUp: "prev",
50
43
  ArrowRight: "next",
@@ -53,7 +46,7 @@ const go = Fe({
53
46
  Home: "first",
54
47
  PageDown: "last",
55
48
  End: "last"
56
- }, Io = (e, n) => {
49
+ }, Eo = (e, n) => {
57
50
  if (n !== "rtl")
58
51
  return e;
59
52
  switch (e) {
@@ -65,9 +58,9 @@ const go = Fe({
65
58
  return e;
66
59
  }
67
60
  }, Co = (e, n, f) => {
68
- const r = Io(e.code, f);
61
+ const r = Eo(e.code, f);
69
62
  if (!(n === "vertical" && [D.left, D.right].includes(r)) && !(n === "horizontal" && [D.up, D.down].includes(r)))
70
- return Eo[r];
63
+ return Io[r];
71
64
  }, yo = (e, n) => e.map((f, r) => e[(r + n) % e.length]), ie = (e) => {
72
65
  const { activeElement: n } = document;
73
66
  for (const f of e)
@@ -80,7 +73,7 @@ const go = Fe({
80
73
  emits: [fe, "entryFocus"],
81
74
  setup(e, { emit: n }) {
82
75
  var f;
83
- 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(() => [
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(() => [
84
77
  {
85
78
  outline: "none"
86
79
  },
@@ -94,7 +87,7 @@ const go = Fe({
94
87
  (t = e.onMousedown) == null || t.call(e, i);
95
88
  }, () => {
96
89
  m.value = !0;
97
- }), I = K((i) => {
90
+ }), E = K((i) => {
98
91
  var t;
99
92
  (t = e.onFocus) == null || t.call(e, i);
100
93
  }, (i) => {
@@ -117,20 +110,20 @@ const go = Fe({
117
110
  };
118
111
  Q(ae, {
119
112
  currentTabbedId: Ge(r),
120
- loop: q(e, "loop"),
113
+ loop: j(e, "loop"),
121
114
  tabIndex: k(() => P(v) ? -1 : 0),
122
115
  rovingFocusGroupRef: c,
123
116
  rovingFocusGroupRootStyle: a,
124
- orientation: q(e, "orientation"),
125
- dir: q(e, "dir"),
117
+ orientation: j(e, "orientation"),
118
+ dir: j(e, "dir"),
126
119
  onItemFocus: b,
127
120
  onItemShiftTab: _,
128
121
  onBlur: o,
129
- onFocus: I,
122
+ onFocus: E,
130
123
  onMousedown: h
131
124
  }), _e(() => e.currentTabId, (i) => {
132
125
  r.value = i ?? null;
133
- }), Me(c, me, p);
126
+ }), Ke(c, me, p);
134
127
  }
135
128
  });
136
129
  function Fo(e, n, f, r, v, m) {
@@ -146,7 +139,7 @@ const Ro = U({
146
139
  });
147
140
  function So(e, n, f, r, v, m) {
148
141
  const c = y("el-roving-focus-group-impl"), s = y("el-focus-group-collection");
149
- return O(), Y(s, null, {
142
+ return O(), H(s, null, {
150
143
  default: d(() => [
151
144
  u(c, Ae(Ve(e.$attrs)), {
152
145
  default: d(() => [
@@ -164,18 +157,18 @@ const ee = Symbol("elDropdown"), { ButtonGroup: Oo } = re, Do = U({
164
157
  components: {
165
158
  ElButton: re,
166
159
  ElButtonGroup: Oo,
167
- ElScrollbar: Ke,
168
- ElDropdownCollection: lo,
169
- ElTooltip: Be,
160
+ ElScrollbar: Be,
161
+ ElDropdownCollection: so,
162
+ ElTooltip: Le,
170
163
  ElRovingFocusGroup: ko,
171
- ElOnlyChild: Le,
164
+ ElOnlyChild: Me,
172
165
  ElIcon: le,
173
166
  ArrowDown: he
174
167
  },
175
- props: so,
168
+ props: ao,
176
169
  emits: ["visible-change", "click", "command"],
177
170
  setup(e, { emit: n }) {
178
- 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(() => ({
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(() => ({
179
172
  maxHeight: Re(e.maxHeight)
180
173
  })), o = k(() => [r.m(w.value)]), p = k(() => wo(e.trigger)), i = ve().value, t = k(() => e.id || i);
181
174
  _e([m, p], ([l, N], [z]) => {
@@ -216,10 +209,10 @@ const ee = Symbol("elDropdown"), { ButtonGroup: Oo } = re, Do = U({
216
209
  function T(l) {
217
210
  h.value || (l.preventDefault(), l.stopImmediatePropagation());
218
211
  }
219
- function W() {
212
+ function q() {
220
213
  n("visible-change", !0);
221
214
  }
222
- function H(l) {
215
+ function Y(l) {
223
216
  (l == null ? void 0 : l.type) === "keydown" && a.value.focus();
224
217
  }
225
218
  function $e() {
@@ -237,13 +230,13 @@ const ee = Symbol("elDropdown"), { ButtonGroup: Oo } = re, Do = U({
237
230
  dropdownSize: w,
238
231
  handleClick: C,
239
232
  commandHandler: F,
240
- trigger: q(e, "trigger"),
241
- hideOnClick: q(e, "hideOnClick")
233
+ trigger: j(e, "trigger"),
234
+ hideOnClick: j(e, "hideOnClick")
242
235
  }), {
243
236
  t: v,
244
237
  ns: r,
245
238
  scrollbar: b,
246
- wrapStyle: I,
239
+ wrapStyle: E,
247
240
  dropdownTriggerKls: o,
248
241
  dropdownSize: w,
249
242
  triggerId: t,
@@ -255,8 +248,8 @@ const ee = Symbol("elDropdown"), { ButtonGroup: Oo } = re, Do = U({
255
248
  handleEntryFocus: T,
256
249
  handleClose: $,
257
250
  handleOpen: L,
258
- handleBeforeShowTooltip: W,
259
- handleShowTooltip: H,
251
+ handleBeforeShowTooltip: q,
252
+ handleShowTooltip: Y,
260
253
  handleBeforeHideTooltip: $e,
261
254
  onFocusAfterTrapped: (l) => {
262
255
  var N, z;
@@ -273,7 +266,7 @@ const ee = Symbol("elDropdown"), { ButtonGroup: Oo } = re, Do = U({
273
266
  });
274
267
  function No(e, n, f, r, v, m) {
275
268
  var c;
276
- 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");
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");
277
270
  return O(), A("div", {
278
271
  class: X([e.ns.b(), e.ns.is("disabled", e.disabled)])
279
272
  }, [
@@ -353,9 +346,9 @@ function No(e, n, f, r, v, m) {
353
346
  ])
354
347
  }
355
348
  ]), 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"]),
356
- e.splitButton ? (O(), Y(i, { key: 0 }, {
349
+ e.splitButton ? (O(), H(i, { key: 0 }, {
357
350
  default: d(() => [
358
- u(I, Z({ ref: "referenceElementRef" }, e.buttonProps, {
351
+ u(E, Z({ ref: "referenceElementRef" }, e.buttonProps, {
359
352
  size: e.dropdownSize,
360
353
  type: e.type,
361
354
  disabled: e.disabled,
@@ -367,7 +360,7 @@ function No(e, n, f, r, v, m) {
367
360
  ]),
368
361
  _: 3
369
362
  }, 16, ["size", "type", "disabled", "tabindex", "onClick"]),
370
- u(I, Z({
363
+ u(E, Z({
371
364
  id: e.triggerId,
372
365
  ref: "triggeringElementRef"
373
366
  }, e.buttonProps, {
@@ -413,7 +406,7 @@ const Bo = U({
413
406
  },
414
407
  emits: ["mousedown", "focus", "keydown"],
415
408
  setup(e, { emit: n }) {
416
- 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) => {
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) => {
417
410
  n("mousedown", o);
418
411
  }, (o) => {
419
412
  e.focusable ? v(P(s)) : o.preventDefault();
@@ -448,14 +441,14 @@ const Bo = U({
448
441
  break;
449
442
  }
450
443
  }
451
- Ye(() => {
444
+ He(() => {
452
445
  ie(w);
453
446
  });
454
447
  }
455
- }), I = k(() => f.value === P(s));
456
- return Q(Ie, {
448
+ }), E = k(() => f.value === P(s));
449
+ return Q(Ee, {
457
450
  rovingFocusGroupItemRef: a,
458
- tabIndex: k(() => P(I) ? 0 : -1),
451
+ tabIndex: k(() => P(E) ? 0 : -1),
459
452
  handleMousedown: b,
460
453
  handleFocus: _,
461
454
  handleKeydown: h
@@ -469,7 +462,7 @@ const Bo = U({
469
462
  });
470
463
  function Lo(e, n, f, r, v, m) {
471
464
  const c = y("el-roving-focus-collection-item");
472
- return O(), Y(c, {
465
+ return O(), H(c, {
473
466
  id: e.id,
474
467
  focusable: e.focusable,
475
468
  active: e.active
@@ -486,16 +479,16 @@ const Go = U({
486
479
  components: {
487
480
  ElIcon: le
488
481
  },
489
- props: Ee,
482
+ props: Ie,
490
483
  emits: ["pointermove", "pointerleave", "click", "clickimpl"],
491
484
  setup(e, { emit: n }) {
492
- const f = te("dropdown"), { role: r } = R(ee, void 0), { collectionItemRef: v } = R(ao, void 0), { collectionItemRef: m } = R(ho, void 0), {
485
+ const f = te("dropdown"), { role: r } = R(ee, void 0), { collectionItemRef: v } = R(io, void 0), { collectionItemRef: m } = R(ho, void 0), {
493
486
  rovingFocusGroupItemRef: c,
494
487
  tabIndex: s,
495
488
  handleFocus: a,
496
489
  handleKeydown: b,
497
490
  handleMousedown: _
498
- } = R(Ie, void 0), h = ge(v, m, c), I = k(() => r.value === "menu" ? "menuitem" : r.value === "navigation" ? "link" : "button"), o = K((p) => {
491
+ } = R(Ee, void 0), h = ge(v, m, c), E = k(() => r.value === "menu" ? "menuitem" : r.value === "navigation" ? "link" : "button"), o = K((p) => {
499
492
  if ([D.enter, D.numpadEnter, D.space].includes(p.code))
500
493
  return p.preventDefault(), p.stopImmediatePropagation(), n("clickimpl", p), !0;
501
494
  }, b);
@@ -503,9 +496,9 @@ const Go = U({
503
496
  ns: f,
504
497
  itemRef: h,
505
498
  dataset: {
506
- [io]: ""
499
+ [uo]: ""
507
500
  },
508
- role: I,
501
+ role: E,
509
502
  tabIndex: s,
510
503
  handleFocus: a,
511
504
  handleKeydown: o,
@@ -515,13 +508,13 @@ const Go = U({
515
508
  });
516
509
  function Ao(e, n, f, r, v, m) {
517
510
  const c = y("el-icon");
518
- return O(), A(He, null, [
511
+ return O(), A(Ye, null, [
519
512
  e.divided ? (O(), A("li", {
520
513
  key: 0,
521
514
  role: "separator",
522
515
  class: X(e.ns.bem("menu", "item", "divided"))
523
516
  }, null, 2)) : ne("v-if", !0),
524
- j("li", Z({ ref: e.itemRef }, { ...e.dataset, ...e.$attrs }, {
517
+ W("li", Z({ ref: e.itemRef }, { ...e.dataset, ...e.$attrs }, {
525
518
  "aria-disabled": e.disabled,
526
519
  class: [e.ns.be("menu", "item"), e.ns.is("disabled", e.disabled)],
527
520
  tabindex: e.tabIndex,
@@ -533,9 +526,9 @@ function Ao(e, n, f, r, v, m) {
533
526
  onPointermove: (s) => e.$emit("pointermove", s),
534
527
  onPointerleave: (s) => e.$emit("pointerleave", s)
535
528
  }), [
536
- e.icon ? (O(), Y(c, { key: 0 }, {
529
+ e.icon ? (O(), H(c, { key: 0 }, {
537
530
  default: d(() => [
538
- (O(), Y(Je(e.icon)))
531
+ (O(), H(Je(e.icon)))
539
532
  ]),
540
533
  _: 1
541
534
  })) : ne("v-if", !0),
@@ -553,15 +546,15 @@ const Ce = () => {
553
546
  }, Uo = U({
554
547
  name: "ElDropdownItem",
555
548
  components: {
556
- ElDropdownCollectionItem: uo,
549
+ ElDropdownCollectionItem: co,
557
550
  ElRovingFocusItem: Mo,
558
551
  ElDropdownItemImpl: Vo
559
552
  },
560
553
  inheritAttrs: !1,
561
- props: Ee,
554
+ props: Ie,
562
555
  emits: ["pointermove", "pointerleave", "click"],
563
556
  setup(e, { emit: n, attrs: f }) {
564
- const { elDropdown: r } = Ce(), v = be(), m = E(null), c = k(() => {
557
+ const { elDropdown: r } = Ce(), v = be(), m = I(null), c = k(() => {
565
558
  var o, p;
566
559
  return (p = (o = P(m)) == null ? void 0 : o.textContent) != null ? p : "";
567
560
  }), { onItemEnter: s, onItemLeave: a } = R(ee, void 0), b = K((o) => (n("pointermove", o), o.defaultPrevented), pe((o) => {
@@ -581,20 +574,20 @@ const Ce = () => {
581
574
  return;
582
575
  }
583
576
  (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);
584
- }), I = k(() => ({ ...e, ...f }));
577
+ }), E = k(() => ({ ...e, ...f }));
585
578
  return {
586
579
  handleClick: h,
587
580
  handlePointerMove: b,
588
581
  handlePointerLeave: _,
589
582
  textContent: c,
590
- propsAndAttrs: I
583
+ propsAndAttrs: E
591
584
  };
592
585
  }
593
586
  });
594
587
  function zo(e, n, f, r, v, m) {
595
588
  var c;
596
589
  const s = y("el-dropdown-item-impl"), a = y("el-roving-focus-item"), b = y("el-dropdown-collection-item");
597
- return O(), Y(b, {
590
+ return O(), H(b, {
598
591
  disabled: e.disabled,
599
592
  "text-value": (c = e.textValue) != null ? c : e.textContent
600
593
  }, {
@@ -621,13 +614,13 @@ function zo(e, n, f, r, v, m) {
621
614
  }, 8, ["disabled", "text-value"]);
622
615
  }
623
616
  var ye = /* @__PURE__ */ V(Uo, [["render", zo], ["__file", "dropdown-item.vue"]]);
624
- const Yo = U({
617
+ const Ho = U({
625
618
  name: "ElDropdownMenu",
626
- props: co,
619
+ props: po,
627
620
  setup(e) {
628
- 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), {
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), {
629
622
  rovingFocusGroupRef: h,
630
- rovingFocusGroupRootStyle: I,
623
+ rovingFocusGroupRootStyle: E,
631
624
  tabIndex: o,
632
625
  onBlur: p,
633
626
  onFocus: i,
@@ -637,14 +630,14 @@ const Yo = U({
637
630
  (M = e.onKeydown) == null || M.call(e, g);
638
631
  }, (g) => {
639
632
  const { currentTarget: M, code: B, target: S } = g;
640
- if (M.contains(S), D.tab === B && g.stopImmediatePropagation(), g.preventDefault(), S !== P(c) || !fo.includes(B))
633
+ if (M.contains(S), D.tab === B && g.stopImmediatePropagation(), g.preventDefault(), S !== P(c) || !mo.includes(B))
641
634
  return;
642
- const W = _().filter((H) => !H.disabled).map((H) => H.ref);
643
- mo.includes(B) && W.reverse(), ie(W);
635
+ const q = _().filter((Y) => !Y.disabled).map((Y) => Y.ref);
636
+ vo.includes(B) && q.reverse(), ie(q);
644
637
  });
645
638
  return {
646
639
  size: r,
647
- rovingFocusGroupRootStyle: I,
640
+ rovingFocusGroupRootStyle: E,
648
641
  tabIndex: o,
649
642
  dropdownKls: $,
650
643
  role: s,
@@ -659,11 +652,11 @@ const Yo = U({
659
652
  };
660
653
  }
661
654
  });
662
- function Ho(e, n, f, r, v, m) {
655
+ function Yo(e, n, f, r, v, m) {
663
656
  return O(), A("ul", {
664
657
  ref: e.dropdownListWrapperRef,
665
658
  class: X(e.dropdownKls),
666
- style: qe(e.rovingFocusGroupRootStyle),
659
+ style: je(e.rovingFocusGroupRootStyle),
667
660
  tabindex: -1,
668
661
  role: e.role,
669
662
  "aria-labelledby": e.triggerId,
@@ -675,12 +668,12 @@ function Ho(e, n, f, r, v, m) {
675
668
  G(e.$slots, "default")
676
669
  ], 46, ["role", "aria-labelledby", "onBlur", "onFocus", "onKeydown", "onMousedown"]);
677
670
  }
678
- var Pe = /* @__PURE__ */ V(Yo, [["render", Ho], ["__file", "dropdown-menu.vue"]]);
671
+ var Pe = /* @__PURE__ */ V(Ho, [["render", Yo], ["__file", "dropdown-menu.vue"]]);
679
672
  const Jo = Se(Ko, {
680
673
  DropdownItem: ye,
681
674
  DropdownMenu: Pe
682
- }), qo = we(ye), Wo = we(Pe);
683
- const jo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo = { class: "dialog-footer" }, xo = {
675
+ }), jo = we(ye), qo = we(Pe);
676
+ const Wo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo = { class: "dialog-footer" }, xo = {
684
677
  __name: "index",
685
678
  props: {
686
679
  config: {
@@ -691,11 +684,11 @@ const jo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
691
684
  },
692
685
  emits: ["loginout"],
693
686
  setup(e, { emit: n }) {
694
- const f = R("stConfig"), r = xe(), v = n, m = e, c = E(null), s = E(!1), a = E({
687
+ const f = R("stConfig"), r = eo(), v = n, m = e, c = I(null), s = I(!1), a = I({
695
688
  oldPassword: "",
696
689
  newPassword: "",
697
690
  confirmPassword: ""
698
- }), _ = E({
691
+ }), _ = I({
699
692
  oldPassword: [
700
693
  { required: !0, message: "请输入原密码", trigger: "blur" },
701
694
  { min: 6, max: 18, trigger: "blur", message: "密码长度为6到18位" }
@@ -713,17 +706,17 @@ const jo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
713
706
  ]
714
707
  }), h = () => {
715
708
  const { loginUrl: i } = m.config || {};
716
- eo(i);
717
- }, I = () => {
709
+ oo(i);
710
+ }, E = () => {
718
711
  const { loginoutToLogin: i, loginoutUrl: t } = m.config || {};
719
- oo(i, t), v("loginout");
712
+ no(i, t), v("loginout");
720
713
  }, o = () => {
721
714
  c.value.validate(async (i, t) => {
722
715
  i && (await f.request.post("/invest/sys/user/password", {
723
716
  password: a.value.oldPassword,
724
717
  newPassword: a.value.newPassword,
725
718
  newPassword2: a.value.confirmPassword
726
- }), no.success("修改成功!"), s.value = !1);
719
+ }), to.success("修改成功!"), s.value = !1);
727
720
  });
728
721
  }, p = () => {
729
722
  a.value = {
@@ -733,8 +726,8 @@ const jo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
733
726
  }, c.value.resetFields();
734
727
  };
735
728
  return (i, t) => {
736
- const C = le, $ = qo, L = Wo, w = Jo, F = Ne, g = Oe, M = De, B = re, S = ke;
737
- return O(), A("div", jo, [
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, [
738
731
  P(r) ? (O(), A("div", Qo, [
739
732
  u(w, { placement: "bottom" }, {
740
733
  dropdown: d(() => [
@@ -748,7 +741,7 @@ const jo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
748
741
  ]),
749
742
  _: 1
750
743
  }),
751
- u($, { onClick: I }, {
744
+ u($, { onClick: E }, {
752
745
  default: d(() => [
753
746
  J("退出登录")
754
747
  ]),
@@ -761,14 +754,14 @@ const jo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
761
754
  default: d(() => {
762
755
  var T;
763
756
  return [
764
- j("div", Xo, [
757
+ W("div", Xo, [
765
758
  u(C, { class: "user-msg-icon" }, {
766
759
  default: d(() => [
767
- u(P(Xe))
760
+ u(P(Ze))
768
761
  ]),
769
762
  _: 1
770
763
  }),
771
- j("span", null, We((T = P(r)) == null ? void 0 : T.username), 1),
764
+ W("span", null, qe((T = P(r)) == null ? void 0 : T.username), 1),
772
765
  u(C, { class: "user-msg-arrow" }, {
773
766
  default: d(() => [
774
767
  u(P(he))
@@ -788,7 +781,7 @@ const jo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
788
781
  J(" 前往登录 "),
789
782
  u(C, { class: "user-login-icon" }, {
790
783
  default: d(() => [
791
- u(P(Ze))
784
+ u(P(xe))
792
785
  ]),
793
786
  _: 1
794
787
  })
@@ -802,7 +795,7 @@ const jo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
802
795
  onClosed: p
803
796
  }, {
804
797
  footer: d(() => [
805
- j("div", Zo, [
798
+ W("div", Zo, [
806
799
  u(B, {
807
800
  onClick: t[4] || (t[4] = (T) => s.value = !1)
808
801
  }, {
@@ -829,7 +822,7 @@ const jo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
829
822
  model: a.value,
830
823
  rules: _.value,
831
824
  onSubmit: x(o, ["prevent"]),
832
- onKeyup: je(o, ["enter", "native"]),
825
+ onKeyup: We(o, ["enter", "native"]),
833
826
  "label-width": "auto"
834
827
  }, {
835
828
  default: d(() => [
@@ -884,11 +877,11 @@ const jo = { class: "user" }, Qo = { key: 0 }, Xo = { class: "user-msg" }, Zo =
884
877
  ]);
885
878
  };
886
879
  }
887
- }, en = /* @__PURE__ */ to(xo, [["__scopeId", "data-v-ca7165c7"]]), Fn = {
880
+ }, en = /* @__PURE__ */ ro(xo, [["__scopeId", "data-v-ca7165c7"]]), hn = {
888
881
  install(e) {
889
882
  e.component("st-user", en);
890
883
  }
891
884
  };
892
885
  export {
893
- Fn as default
886
+ hn as default
894
887
  };