st-comp 0.0.147 → 0.0.149

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