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.
- package/components.d.ts +0 -3
- package/es/ChartLayout.cjs +1 -1
- package/es/ChartLayout.js +2 -2
- package/es/Dialog.cjs +1 -1
- package/es/Dialog.js +22 -26
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +103 -112
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +1426 -671
- package/es/KlineNew.cjs +3 -1
- package/es/KlineNew.js +2736 -314
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +96 -102
- package/es/Table.cjs +1 -1
- package/es/Table.js +60 -66
- package/es/User.cjs +1 -1
- package/es/User.js +96 -103
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +32 -41
- package/es/VirtualTable.cjs +1 -13
- package/es/VirtualTable.js +1 -2801
- package/es/_initCloneObject-7493ecd5.cjs +1 -0
- package/es/{_initCloneObject-14b53c6f.js → _initCloneObject-a8dcd058.js} +26 -26
- package/es/{base-ec05f348.cjs → base-00ce90ec.cjs} +3 -3
- package/es/{base-437d17f3.js → base-674a354a.js} +63 -64
- package/es/config-provider-419ffbf2.js +120 -0
- package/es/config-provider-68414290.cjs +3 -0
- package/es/dropdown-127a8c0d.cjs +1 -0
- package/es/{dropdown-634b5e27.js → dropdown-ce30ada6.js} +30 -31
- package/es/el-button-7b9f5933.js +745 -0
- package/es/el-button-c00975e1.cjs +1 -0
- package/es/{el-checkbox-group-e8fece80.js → el-checkbox-group-0554b352.js} +10 -10
- package/es/el-checkbox-group-7a313d34.cjs +1 -0
- package/es/{el-empty-bacc6613.js → el-empty-39b3aed7.js} +5 -5
- package/es/{el-empty-19ea04f4.cjs → el-empty-87154b6d.cjs} +1 -1
- package/es/el-form-item-7867f64d.cjs +12 -0
- package/es/{el-form-item-af1855f0.js → el-form-item-fc6f80ab.js} +78 -79
- package/es/el-input-2ff1628c.cjs +1 -0
- package/es/{el-input-4961b99f.js → el-input-d249ac86.js} +82 -84
- package/es/{el-input-number-610fc8ba.js → el-input-number-2066fbb7.js} +35 -36
- package/es/el-input-number-d6801a5c.cjs +1 -0
- package/es/{el-message-c3b3ac96.js → el-message-9859835d.js} +79 -81
- package/es/el-message-ffcf690c.cjs +1 -0
- package/es/el-overlay-91784be2.cjs +1 -0
- package/es/el-overlay-f0757cc4.js +525 -0
- package/es/el-popover-4db657e2.cjs +1 -0
- package/es/{el-popover-0aa071f2.js → el-popover-b7b43c1f.js} +18 -18
- package/es/el-scrollbar-35bac6b3.js +2452 -0
- package/es/el-scrollbar-ec09bbd3.cjs +1 -0
- package/es/el-select-0785c35a.cjs +1 -0
- package/es/{el-select-9381b156.js → el-select-bcbb7e55.js} +329 -333
- package/es/el-table-column-2478adf8.cjs +14 -0
- package/es/{el-table-column-55bffba5.js → el-table-column-c1e1a206.js} +346 -350
- package/es/el-tag-13ee17b3.cjs +1 -0
- package/es/el-tag-73372c6c.js +359 -0
- package/es/index-07b61d12.cjs +1 -0
- package/es/{index-39ec9741.js → index-45de4a12.js} +7 -7
- package/es/index-65b719a4.cjs +1 -0
- package/es/index-8b5fbc11.js +66 -0
- package/es/index-8c85d7c5.js +858 -0
- package/es/index-a49f4743.cjs +2 -0
- package/es/{scroll-387fcfdb.js → scroll-cb696ed2.js} +1 -1
- package/es/{scroll-41224831.cjs → scroll-cca17da0.cjs} +1 -1
- package/es/style.css +1 -1
- package/es/{zh-cn-ab9a583d.cjs → zh-cn-37af467d.cjs} +1 -1
- package/es/{zh-cn-eb9c2820.js → zh-cn-ef7d7220.js} +2 -2
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +206 -206
- package/lib/{index-9b8ff62a.js → index-24f8572c.js} +31450 -33319
- package/lib/{python-a9c3d9e5.js → python-2143eee4.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlineBasic/components/KlineSub/index.vue +17 -3
- package/packages/KlineBasic/index.vue +2 -1
- package/packages/KlineBasic/utils.js +20 -2
- package/packages/index.ts +0 -2
- package/src/pages/KlineBasic/api.js +1 -1
- package/src/router/routes.ts +0 -5
- package/es/Kline.cjs +0 -1
- package/es/Kline.js +0 -1901
- package/es/_initCloneObject-441db749.cjs +0 -1
- package/es/castArray-4251bbe4.js +0 -10
- package/es/castArray-a45823fe.cjs +0 -1
- package/es/config-provider-55482a43.js +0 -47
- package/es/config-provider-7cdfca4d.cjs +0 -1
- package/es/debounce-ac30be50.js +0 -83
- package/es/debounce-b2ff12bd.cjs +0 -1
- package/es/dropdown-d7c59a21.cjs +0 -1
- package/es/el-button-196807af.cjs +0 -1
- package/es/el-button-e1665717.js +0 -235
- package/es/el-checkbox-group-492b95cc.cjs +0 -1
- package/es/el-form-item-5bdffd07.cjs +0 -12
- package/es/el-input-23e2bac3.cjs +0 -1
- package/es/el-input-number-40a81eb5.cjs +0 -1
- package/es/el-menu-item-78b858f2.cjs +0 -1
- package/es/el-menu-item-7d04c11a.js +0 -771
- package/es/el-message-d4df8136.cjs +0 -1
- package/es/el-overlay-12dd9b35.js +0 -519
- package/es/el-overlay-bc0790a2.cjs +0 -1
- package/es/el-popover-8a77e015.cjs +0 -1
- package/es/el-popper-50100766.js +0 -2262
- package/es/el-popper-746070ba.cjs +0 -1
- package/es/el-scrollbar-562d0595.js +0 -201
- package/es/el-scrollbar-d1c3e7f7.cjs +0 -1
- package/es/el-select-b162dffc.cjs +0 -1
- package/es/el-table-column-6d761fce.cjs +0 -14
- package/es/el-tag-985d9aff.js +0 -279
- package/es/el-tag-c51a6490.cjs +0 -1
- package/es/index-09e01b1d.js +0 -81
- package/es/index-0cb48e01.js +0 -306
- package/es/index-3bf8d597.cjs +0 -1
- package/es/index-657047bb.js +0 -513
- package/es/index-8a0b1c53.cjs +0 -3
- package/es/index-a387515d.cjs +0 -1
- package/es/index-a902a0d9.js +0 -59
- package/es/index-deb8de52.cjs +0 -1
- package/es/index-eea0bcb3.cjs +0 -1
- package/es/index.esm-8d9a2abe.js +0 -2432
- package/es/index.esm-94a95a2a.cjs +0 -3
- package/es/raf-8fc301fd.cjs +0 -1
- package/es/raf-b128c7b7.js +0 -6
- package/es/typescript-7ae59c4c.js +0 -4
- package/es/typescript-b63f8e83.cjs +0 -1
- package/es/use-form-common-props-1b84d8f4.cjs +0 -2
- package/es/use-form-common-props-f377e500.js +0 -587
- package/es/vnode-7dfd4ed5.js +0 -14
- package/es/vnode-7fbc61e1.cjs +0 -1
- package/packages/Kline/components/Contextmenu/index.vue +0 -110
- package/packages/Kline/components/Tips/index.vue +0 -40
- package/packages/Kline/componentsNew/KlineSlide/index.vue +0 -155
- package/packages/Kline/componentsNew/KlineSub/index.vue +0 -297
- package/packages/Kline/componentsNew/KlineTips/index.vue +0 -66
- package/packages/Kline/componentsNew/KlineUtils/index.vue +0 -84
- package/packages/Kline/componentsNew/Tips/index.vue +0 -33
- package/packages/Kline/formatKlineData.ts +0 -109
- package/packages/Kline/images/buy.svg +0 -1
- package/packages/Kline/images/pen.png +0 -0
- package/packages/Kline/images/sell.svg +0 -1
- package/packages/Kline/images/t.svg +0 -1
- package/packages/Kline/index.ts +0 -16
- package/packages/Kline/index.vue +0 -891
- package/packages/Kline/option.ts +0 -539
- package/packages/Kline/type.d.ts +0 -219
- package/packages/Kline/utils.ts +0 -682
- package/src/pages/Kline/api.ts +0 -127
- package/src/pages/Kline/components/MultiCycleSingleVariety.vue +0 -701
- package/src/pages/Kline/components/SingleCycleSingleVariety.vue +0 -924
- 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,
|
|
2
|
-
import { d as ge, E as ke } from "./el-overlay-
|
|
3
|
-
import { E as re } from "./el-button-
|
|
4
|
-
import { E as Oe, a as De } from "./el-form-item-
|
|
5
|
-
import { E as Ne } from "./el-input-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { c as
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import "./
|
|
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
|
-
} =
|
|
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
|
-
},
|
|
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 =
|
|
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
|
|
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 =
|
|
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
|
-
}),
|
|
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:
|
|
113
|
+
loop: j(e, "loop"),
|
|
121
114
|
tabIndex: k(() => P(v) ? -1 : 0),
|
|
122
115
|
rovingFocusGroupRef: c,
|
|
123
116
|
rovingFocusGroupRootStyle: a,
|
|
124
|
-
orientation:
|
|
125
|
-
dir:
|
|
117
|
+
orientation: j(e, "orientation"),
|
|
118
|
+
dir: j(e, "dir"),
|
|
126
119
|
onItemFocus: b,
|
|
127
120
|
onItemShiftTab: _,
|
|
128
121
|
onBlur: o,
|
|
129
|
-
onFocus:
|
|
122
|
+
onFocus: E,
|
|
130
123
|
onMousedown: h
|
|
131
124
|
}), _e(() => e.currentTabId, (i) => {
|
|
132
125
|
r.value = i ?? null;
|
|
133
|
-
}),
|
|
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(),
|
|
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:
|
|
168
|
-
ElDropdownCollection:
|
|
169
|
-
ElTooltip:
|
|
160
|
+
ElScrollbar: Be,
|
|
161
|
+
ElDropdownCollection: so,
|
|
162
|
+
ElTooltip: Le,
|
|
170
163
|
ElRovingFocusGroup: ko,
|
|
171
|
-
ElOnlyChild:
|
|
164
|
+
ElOnlyChild: Me,
|
|
172
165
|
ElIcon: le,
|
|
173
166
|
ArrowDown: he
|
|
174
167
|
},
|
|
175
|
-
props:
|
|
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 =
|
|
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
|
|
212
|
+
function q() {
|
|
220
213
|
n("visible-change", !0);
|
|
221
214
|
}
|
|
222
|
-
function
|
|
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:
|
|
241
|
-
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:
|
|
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:
|
|
259
|
-
handleShowTooltip:
|
|
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"),
|
|
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(),
|
|
349
|
+
e.splitButton ? (O(), H(i, { key: 0 }, {
|
|
357
350
|
default: d(() => [
|
|
358
|
-
u(
|
|
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(
|
|
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 =
|
|
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
|
-
|
|
444
|
+
He(() => {
|
|
452
445
|
ie(w);
|
|
453
446
|
});
|
|
454
447
|
}
|
|
455
|
-
}),
|
|
456
|
-
return Q(
|
|
448
|
+
}), E = k(() => f.value === P(s));
|
|
449
|
+
return Q(Ee, {
|
|
457
450
|
rovingFocusGroupItemRef: a,
|
|
458
|
-
tabIndex: k(() => P(
|
|
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(),
|
|
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:
|
|
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(
|
|
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(
|
|
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
|
-
[
|
|
499
|
+
[uo]: ""
|
|
507
500
|
},
|
|
508
|
-
role:
|
|
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(
|
|
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
|
-
|
|
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(),
|
|
529
|
+
e.icon ? (O(), H(c, { key: 0 }, {
|
|
537
530
|
default: d(() => [
|
|
538
|
-
(O(),
|
|
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:
|
|
549
|
+
ElDropdownCollectionItem: co,
|
|
557
550
|
ElRovingFocusItem: Mo,
|
|
558
551
|
ElDropdownItemImpl: Vo
|
|
559
552
|
},
|
|
560
553
|
inheritAttrs: !1,
|
|
561
|
-
props:
|
|
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 =
|
|
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
|
-
}),
|
|
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:
|
|
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(),
|
|
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
|
|
617
|
+
const Ho = U({
|
|
625
618
|
name: "ElDropdownMenu",
|
|
626
|
-
props:
|
|
619
|
+
props: po,
|
|
627
620
|
setup(e) {
|
|
628
|
-
const n = te("dropdown"), { _elDropdownSize: f } = Ce(), r = f.value, { focusTrapRef: v, onKeydown: m } = R(
|
|
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:
|
|
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) || !
|
|
633
|
+
if (M.contains(S), D.tab === B && g.stopImmediatePropagation(), g.preventDefault(), S !== P(c) || !mo.includes(B))
|
|
641
634
|
return;
|
|
642
|
-
const
|
|
643
|
-
|
|
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:
|
|
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
|
|
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:
|
|
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(
|
|
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
|
-
}),
|
|
683
|
-
const
|
|
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 =
|
|
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
|
-
}), _ =
|
|
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
|
-
|
|
717
|
-
},
|
|
709
|
+
oo(i);
|
|
710
|
+
}, E = () => {
|
|
718
711
|
const { loginoutToLogin: i, loginoutUrl: t } = m.config || {};
|
|
719
|
-
|
|
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
|
-
}),
|
|
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, $ =
|
|
737
|
-
return O(), A("div",
|
|
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:
|
|
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
|
-
|
|
757
|
+
W("div", Xo, [
|
|
765
758
|
u(C, { class: "user-msg-icon" }, {
|
|
766
759
|
default: d(() => [
|
|
767
|
-
u(P(
|
|
760
|
+
u(P(Ze))
|
|
768
761
|
]),
|
|
769
762
|
_: 1
|
|
770
763
|
}),
|
|
771
|
-
|
|
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(
|
|
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
|
-
|
|
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:
|
|
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__ */
|
|
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
|
-
|
|
886
|
+
hn as default
|
|
894
887
|
};
|