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