st-comp 0.0.201 → 0.0.202
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/es/CustomFunction.cjs +1 -1
- package/es/CustomFunction.js +5 -5
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +8 -7
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +333 -321
- package/es/KlinePlus.cjs +4 -4
- package/es/KlinePlus.js +587 -570
- package/es/Table.cjs +1 -1
- package/es/Table.js +12 -11
- package/es/VarietySearch.cjs +7 -7
- package/es/VarietySearch.js +18 -17
- package/es/el-checkbox-7421ccd3.js +459 -0
- package/es/el-checkbox-c25236a6.cjs +1 -0
- package/es/el-table-column-376cd907.js +3432 -0
- package/es/el-table-column-c974cb96.cjs +14 -0
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +152 -152
- package/lib/{index-c0ce50bc.js → index-a45d1494.js} +10615 -10587
- package/lib/{python-9dae326e.js → python-82d17c8d.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlineConfig/config.js +2 -0
- package/packages/KlineConfig/index.vue +9 -0
- package/packages/KlinePlus/index.vue +8 -8
- package/packages/KlinePlus/utils.js +41 -5
- package/es/el-table-column-079b76f5.cjs +0 -14
- package/es/el-table-column-72c50d58.js +0 -3882
package/es/KlineConfig.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { b as ne, m as fe, n as ie, u as re, _ as ue, w as de, e as be, o as
|
|
2
|
-
import { d as
|
|
1
|
+
import { b as ne, m as fe, n as ie, u as re, _ as ue, w as de, e as be, o as G, c as Z, p as x, q as oe } from "./base-a5af3db3.js";
|
|
2
|
+
import { d as ye, a as ge, u as he, E as _e } from "./el-overlay-09ad71cd.js";
|
|
3
3
|
import { E as Ce } from "./el-button-c95adb85.js";
|
|
4
4
|
import "./el-scrollbar-323542e7.js";
|
|
5
|
-
import { E as
|
|
5
|
+
import { E as ke } from "./el-segmented-b868d074.js";
|
|
6
|
+
import { E as we } from "./el-checkbox-7421ccd3.js";
|
|
6
7
|
import "./el-tag-66cab138.js";
|
|
7
|
-
import { E as
|
|
8
|
-
import { c as
|
|
9
|
-
import { E as
|
|
10
|
-
import { computed as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { E as
|
|
13
|
-
import { i as
|
|
14
|
-
import { b as
|
|
15
|
-
import { E as
|
|
16
|
-
import { u as
|
|
17
|
-
import { u as
|
|
8
|
+
import { E as Ve, a as Se } from "./el-select-95627997.js";
|
|
9
|
+
import { c as Ee, e as Ie, u as Te, U as le, C as te, I as ae, d as Be, b as ze } from "./el-popper-b4f97157.js";
|
|
10
|
+
import { E as Ne } from "./el-divider-4e059794.js";
|
|
11
|
+
import { computed as I, ref as T, watch as se, onBeforeUnmount as Pe, defineComponent as Q, useSlots as Ae, openBlock as o, createBlock as k, unref as e, withCtx as m, createVNode as p, Transition as Le, withDirectives as Oe, createElementVNode as n, mergeProps as Ue, withModifiers as ce, normalizeClass as b, createElementBlock as y, renderSlot as $, toDisplayString as M, createCommentVNode as _, normalizeStyle as pe, vShow as Re, onMounted as me, withKeys as De, resolveDynamicComponent as q, nextTick as Fe, inject as $e, reactive as Me, createTextVNode as j, Fragment as H, renderList as J, pushScopeId as Ke, popScopeId as qe } from "vue";
|
|
12
|
+
import { _ as je } from "./_plugin-vue_export-helper-dad06003.js";
|
|
13
|
+
import { E as D, c as He, l as Je } from "./index-a871c3eb.js";
|
|
14
|
+
import { i as We } from "./validator-764a9db0.js";
|
|
15
|
+
import { b as Xe, c as ee, i as X, d as Ye, e as Ge, f as Qe, g as Ze } from "./use-form-common-props-815d48a6.js";
|
|
16
|
+
import { E as xe } from "./index-844bdd85.js";
|
|
17
|
+
import { u as el } from "./index-2e331d74.js";
|
|
18
|
+
import { u as ll } from "./index-d77a7336.js";
|
|
18
19
|
import "./vnode-5ddb7ed1.js";
|
|
19
20
|
import "./scroll-679bd6bf.js";
|
|
20
21
|
import "./index-960806da.js";
|
|
@@ -25,8 +26,8 @@ import "./index-57672682.js";
|
|
|
25
26
|
import "./castArray-7741a212.js";
|
|
26
27
|
import "./index-d91dc23f.js";
|
|
27
28
|
import "./debounce-8d53f4dd.js";
|
|
28
|
-
const
|
|
29
|
-
...
|
|
29
|
+
const tl = ne({
|
|
30
|
+
...ye,
|
|
30
31
|
direction: {
|
|
31
32
|
type: String,
|
|
32
33
|
default: "rtl",
|
|
@@ -49,118 +50,118 @@ const ll = ne({
|
|
|
49
50
|
type: String,
|
|
50
51
|
default: "2"
|
|
51
52
|
}
|
|
52
|
-
}), al =
|
|
53
|
-
function
|
|
54
|
-
const { width: C, height: c } =
|
|
55
|
-
let
|
|
56
|
-
const
|
|
57
|
-
var
|
|
58
|
-
const
|
|
59
|
-
return
|
|
53
|
+
}), al = ge;
|
|
54
|
+
function sl(r, L) {
|
|
55
|
+
const { width: C, height: c } = Xe(), w = I(() => ["ltr", "rtl"].includes(r.direction)), B = I(() => ["ltr", "ttb"].includes(r.direction) ? 1 : -1), u = I(() => w.value ? C.value : c.value), t = I(() => fe(g.value + B.value * S.value, 4, u.value)), g = T(0), S = T(0), V = T(!1), O = T(!1);
|
|
56
|
+
let z = [], U = [];
|
|
57
|
+
const v = () => {
|
|
58
|
+
var h;
|
|
59
|
+
const N = (h = L.value) == null ? void 0 : h.closest('[aria-modal="true"]');
|
|
60
|
+
return N ? w.value ? N.offsetWidth : N.offsetHeight : 100;
|
|
60
61
|
};
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
se(() => [r.size, r.resizable], () => {
|
|
63
|
+
O.value = !1, g.value = 0, S.value = 0, d();
|
|
63
64
|
});
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
},
|
|
67
|
-
const { pageX:
|
|
68
|
-
|
|
65
|
+
const s = (h) => {
|
|
66
|
+
r.resizable && (O.value || (g.value = v(), O.value = !0), z = [h.pageX, h.pageY], V.value = !0, U.push(ee(window, "mouseup", d), ee(window, "mousemove", A)));
|
|
67
|
+
}, A = (h) => {
|
|
68
|
+
const { pageX: N, pageY: l } = h, f = N - z[0], R = l - z[1];
|
|
69
|
+
S.value = w.value ? f : R;
|
|
69
70
|
}, d = () => {
|
|
70
|
-
|
|
71
|
-
}, E =
|
|
72
|
-
return
|
|
71
|
+
z = [], g.value = t.value, S.value = 0, V.value = !1, U.forEach((h) => h == null ? void 0 : h()), U = [];
|
|
72
|
+
}, E = ee(L, "mousedown", s);
|
|
73
|
+
return Pe(() => {
|
|
73
74
|
E(), d();
|
|
74
75
|
}), {
|
|
75
|
-
size:
|
|
76
|
-
isResizing:
|
|
77
|
-
isHorizontal:
|
|
76
|
+
size: I(() => O.value ? `${t.value}px` : ie(r.size)),
|
|
77
|
+
isResizing: V,
|
|
78
|
+
isHorizontal: w
|
|
78
79
|
};
|
|
79
80
|
}
|
|
80
|
-
const
|
|
81
|
+
const ol = Q({
|
|
81
82
|
name: "ElDrawer",
|
|
82
83
|
inheritAttrs: !1
|
|
83
|
-
}),
|
|
84
|
-
...
|
|
85
|
-
props:
|
|
84
|
+
}), nl = /* @__PURE__ */ Q({
|
|
85
|
+
...ol,
|
|
86
|
+
props: tl,
|
|
86
87
|
emits: al,
|
|
87
|
-
setup(
|
|
88
|
-
const C =
|
|
89
|
-
|
|
88
|
+
setup(r, { expose: L }) {
|
|
89
|
+
const C = r, c = Ae();
|
|
90
|
+
el({
|
|
90
91
|
scope: "el-drawer",
|
|
91
92
|
from: "the title slot",
|
|
92
93
|
replacement: "the header slot",
|
|
93
94
|
version: "3.0.0",
|
|
94
95
|
ref: "https://element-plus.org/en-US/component/drawer.html#slots"
|
|
95
|
-
},
|
|
96
|
-
const
|
|
97
|
-
afterEnter:
|
|
98
|
-
afterLeave:
|
|
99
|
-
beforeLeave:
|
|
100
|
-
visible:
|
|
101
|
-
rendered:
|
|
102
|
-
titleId:
|
|
103
|
-
bodyId:
|
|
104
|
-
zIndex:
|
|
96
|
+
}, I(() => !!c.title));
|
|
97
|
+
const w = T(), B = T(), u = T(), t = re("drawer"), { t: g } = ll(), {
|
|
98
|
+
afterEnter: S,
|
|
99
|
+
afterLeave: V,
|
|
100
|
+
beforeLeave: O,
|
|
101
|
+
visible: z,
|
|
102
|
+
rendered: U,
|
|
103
|
+
titleId: v,
|
|
104
|
+
bodyId: s,
|
|
105
|
+
zIndex: A,
|
|
105
106
|
onModalClick: d,
|
|
106
107
|
onOpenAutoFocus: E,
|
|
107
|
-
onCloseAutoFocus:
|
|
108
|
-
onFocusoutPrevented:
|
|
108
|
+
onCloseAutoFocus: h,
|
|
109
|
+
onFocusoutPrevented: N,
|
|
109
110
|
onCloseRequested: l,
|
|
110
|
-
handleClose:
|
|
111
|
-
} = he(C,
|
|
112
|
-
return
|
|
113
|
-
handleClose:
|
|
114
|
-
afterEnter:
|
|
115
|
-
afterLeave:
|
|
116
|
-
}), (
|
|
117
|
-
to:
|
|
118
|
-
disabled:
|
|
111
|
+
handleClose: f
|
|
112
|
+
} = he(C, w), { isHorizontal: R, size: F, isResizing: a } = sl(C, u);
|
|
113
|
+
return L({
|
|
114
|
+
handleClose: f,
|
|
115
|
+
afterEnter: S,
|
|
116
|
+
afterLeave: V
|
|
117
|
+
}), (i, K) => (o(), k(e(Ee), {
|
|
118
|
+
to: i.appendTo,
|
|
119
|
+
disabled: i.appendTo !== "body" ? !1 : !i.appendToBody
|
|
119
120
|
}, {
|
|
120
121
|
default: m(() => [
|
|
121
|
-
p(
|
|
122
|
-
name: e(
|
|
123
|
-
onAfterEnter: e(
|
|
124
|
-
onAfterLeave: e(
|
|
125
|
-
onBeforeLeave: e(
|
|
122
|
+
p(Le, {
|
|
123
|
+
name: e(t).b("fade"),
|
|
124
|
+
onAfterEnter: e(S),
|
|
125
|
+
onAfterLeave: e(V),
|
|
126
|
+
onBeforeLeave: e(O),
|
|
126
127
|
persisted: ""
|
|
127
128
|
}, {
|
|
128
129
|
default: m(() => {
|
|
129
|
-
var
|
|
130
|
+
var W;
|
|
130
131
|
return [
|
|
131
|
-
|
|
132
|
-
mask:
|
|
133
|
-
"overlay-class": [e(
|
|
134
|
-
"z-index": e(
|
|
132
|
+
Oe(p(e(_e), {
|
|
133
|
+
mask: i.modal,
|
|
134
|
+
"overlay-class": [e(t).is("drawer"), (W = i.modalClass) != null ? W : ""],
|
|
135
|
+
"z-index": e(A),
|
|
135
136
|
onClick: e(d)
|
|
136
137
|
}, {
|
|
137
138
|
default: m(() => [
|
|
138
139
|
p(e(Ie), {
|
|
139
140
|
loop: "",
|
|
140
|
-
trapped: e(
|
|
141
|
-
"focus-trap-el":
|
|
141
|
+
trapped: e(z),
|
|
142
|
+
"focus-trap-el": w.value,
|
|
142
143
|
"focus-start-el": B.value,
|
|
143
144
|
onFocusAfterTrapped: e(E),
|
|
144
|
-
onFocusAfterReleased: e(
|
|
145
|
-
onFocusoutPrevented: e(
|
|
145
|
+
onFocusAfterReleased: e(h),
|
|
146
|
+
onFocusoutPrevented: e(N),
|
|
146
147
|
onReleaseRequested: e(l)
|
|
147
148
|
}, {
|
|
148
149
|
default: m(() => [
|
|
149
|
-
n("div",
|
|
150
|
+
n("div", Ue({
|
|
150
151
|
ref_key: "drawerRef",
|
|
151
|
-
ref:
|
|
152
|
+
ref: w,
|
|
152
153
|
"aria-modal": "true",
|
|
153
|
-
"aria-label":
|
|
154
|
-
"aria-labelledby":
|
|
155
|
-
"aria-describedby": e(
|
|
156
|
-
},
|
|
154
|
+
"aria-label": i.title || void 0,
|
|
155
|
+
"aria-labelledby": i.title ? void 0 : e(v),
|
|
156
|
+
"aria-describedby": e(s)
|
|
157
|
+
}, i.$attrs, {
|
|
157
158
|
class: [
|
|
158
|
-
e(
|
|
159
|
-
|
|
160
|
-
e(
|
|
161
|
-
e(
|
|
159
|
+
e(t).b(),
|
|
160
|
+
i.direction,
|
|
161
|
+
e(z) && "open",
|
|
162
|
+
e(t).is("dragging", e(a))
|
|
162
163
|
],
|
|
163
|
-
style: { [e(
|
|
164
|
+
style: { [e(R) ? "width" : "height"]: e(F) },
|
|
164
165
|
role: "dialog",
|
|
165
166
|
onClick: ce(() => {
|
|
166
167
|
}, ["stop"])
|
|
@@ -168,64 +169,64 @@ const sl = Y({
|
|
|
168
169
|
n("span", {
|
|
169
170
|
ref_key: "focusStartRef",
|
|
170
171
|
ref: B,
|
|
171
|
-
class: b(e(
|
|
172
|
+
class: b(e(t).e("sr-focus")),
|
|
172
173
|
tabindex: "-1"
|
|
173
174
|
}, null, 2),
|
|
174
|
-
|
|
175
|
+
i.withHeader ? (o(), y("header", {
|
|
175
176
|
key: 0,
|
|
176
|
-
class: b([e(
|
|
177
|
+
class: b([e(t).e("header"), i.headerClass])
|
|
177
178
|
}, [
|
|
178
|
-
|
|
179
|
+
i.$slots.title ? $(i.$slots, "title", { key: 1 }, () => [
|
|
179
180
|
_(" DEPRECATED SLOT ")
|
|
180
|
-
]) : $(
|
|
181
|
+
]) : $(i.$slots, "header", {
|
|
181
182
|
key: 0,
|
|
182
|
-
close: e(
|
|
183
|
-
titleId: e(
|
|
184
|
-
titleClass: e(
|
|
183
|
+
close: e(f),
|
|
184
|
+
titleId: e(v),
|
|
185
|
+
titleClass: e(t).e("title")
|
|
185
186
|
}, () => [
|
|
186
187
|
n("span", {
|
|
187
|
-
id: e(
|
|
188
|
+
id: e(v),
|
|
188
189
|
role: "heading",
|
|
189
|
-
"aria-level":
|
|
190
|
-
class: b(e(
|
|
191
|
-
}, M(
|
|
190
|
+
"aria-level": i.headerAriaLevel,
|
|
191
|
+
class: b(e(t).e("title"))
|
|
192
|
+
}, M(i.title), 11, ["id", "aria-level"])
|
|
192
193
|
]),
|
|
193
|
-
|
|
194
|
+
i.showClose ? (o(), y("button", {
|
|
194
195
|
key: 2,
|
|
195
|
-
"aria-label": e(
|
|
196
|
-
class: b(e(
|
|
196
|
+
"aria-label": e(g)("el.drawer.close"),
|
|
197
|
+
class: b(e(t).e("close-btn")),
|
|
197
198
|
type: "button",
|
|
198
|
-
onClick: e(
|
|
199
|
+
onClick: e(f)
|
|
199
200
|
}, [
|
|
200
|
-
p(e(
|
|
201
|
-
class: b(e(
|
|
201
|
+
p(e(D), {
|
|
202
|
+
class: b(e(t).e("close"))
|
|
202
203
|
}, {
|
|
203
204
|
default: m(() => [
|
|
204
|
-
p(e(
|
|
205
|
+
p(e(He))
|
|
205
206
|
]),
|
|
206
207
|
_: 1
|
|
207
208
|
}, 8, ["class"])
|
|
208
209
|
], 10, ["aria-label", "onClick"])) : _("v-if", !0)
|
|
209
210
|
], 2)) : _("v-if", !0),
|
|
210
|
-
e(
|
|
211
|
+
e(U) ? (o(), y("div", {
|
|
211
212
|
key: 1,
|
|
212
|
-
id: e(
|
|
213
|
-
class: b([e(
|
|
213
|
+
id: e(s),
|
|
214
|
+
class: b([e(t).e("body"), i.bodyClass])
|
|
214
215
|
}, [
|
|
215
|
-
$(
|
|
216
|
+
$(i.$slots, "default")
|
|
216
217
|
], 10, ["id"])) : _("v-if", !0),
|
|
217
|
-
|
|
218
|
+
i.$slots.footer ? (o(), y("div", {
|
|
218
219
|
key: 2,
|
|
219
|
-
class: b([e(
|
|
220
|
+
class: b([e(t).e("footer"), i.footerClass])
|
|
220
221
|
}, [
|
|
221
|
-
$(
|
|
222
|
+
$(i.$slots, "footer")
|
|
222
223
|
], 2)) : _("v-if", !0),
|
|
223
|
-
|
|
224
|
+
i.resizable ? (o(), y("div", {
|
|
224
225
|
key: 3,
|
|
225
226
|
ref_key: "draggerRef",
|
|
226
227
|
ref: u,
|
|
227
|
-
style: pe({ zIndex: e(
|
|
228
|
-
class: b(e(
|
|
228
|
+
style: pe({ zIndex: e(A) }),
|
|
229
|
+
class: b(e(t).e("dragger"))
|
|
229
230
|
}, null, 6)) : _("v-if", !0)
|
|
230
231
|
], 16, ["aria-label", "aria-labelledby", "aria-describedby", "onClick"])
|
|
231
232
|
]),
|
|
@@ -234,7 +235,7 @@ const sl = Y({
|
|
|
234
235
|
]),
|
|
235
236
|
_: 3
|
|
236
237
|
}, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
|
|
237
|
-
[
|
|
238
|
+
[Re, e(z)]
|
|
238
239
|
])
|
|
239
240
|
];
|
|
240
241
|
}),
|
|
@@ -245,8 +246,8 @@ const sl = Y({
|
|
|
245
246
|
}, 8, ["to", "disabled"]));
|
|
246
247
|
}
|
|
247
248
|
});
|
|
248
|
-
var
|
|
249
|
-
const
|
|
249
|
+
var il = /* @__PURE__ */ ue(nl, [["__file", "drawer.vue"]]);
|
|
250
|
+
const rl = de(il), ul = ne({
|
|
250
251
|
modelValue: {
|
|
251
252
|
type: [Boolean, String, Number],
|
|
252
253
|
default: !1
|
|
@@ -255,7 +256,7 @@ const il = de(nl), rl = ne({
|
|
|
255
256
|
loading: Boolean,
|
|
256
257
|
size: {
|
|
257
258
|
type: String,
|
|
258
|
-
validator:
|
|
259
|
+
validator: We
|
|
259
260
|
},
|
|
260
261
|
width: {
|
|
261
262
|
type: [String, Number],
|
|
@@ -263,16 +264,16 @@ const il = de(nl), rl = ne({
|
|
|
263
264
|
},
|
|
264
265
|
inlinePrompt: Boolean,
|
|
265
266
|
inactiveActionIcon: {
|
|
266
|
-
type:
|
|
267
|
+
type: X
|
|
267
268
|
},
|
|
268
269
|
activeActionIcon: {
|
|
269
|
-
type:
|
|
270
|
+
type: X
|
|
270
271
|
},
|
|
271
272
|
activeIcon: {
|
|
272
|
-
type:
|
|
273
|
+
type: X
|
|
273
274
|
},
|
|
274
275
|
inactiveIcon: {
|
|
275
|
-
type:
|
|
276
|
+
type: X
|
|
276
277
|
},
|
|
277
278
|
activeText: {
|
|
278
279
|
type: String,
|
|
@@ -305,130 +306,130 @@ const il = de(nl), rl = ne({
|
|
|
305
306
|
tabindex: {
|
|
306
307
|
type: [String, Number]
|
|
307
308
|
},
|
|
308
|
-
...
|
|
309
|
-
}),
|
|
310
|
-
[
|
|
311
|
-
[
|
|
312
|
-
[
|
|
313
|
-
}, ve = "ElSwitch",
|
|
309
|
+
...Te(["ariaLabel"])
|
|
310
|
+
}), dl = {
|
|
311
|
+
[le]: (r) => G(r) || Z(r) || x(r),
|
|
312
|
+
[te]: (r) => G(r) || Z(r) || x(r),
|
|
313
|
+
[ae]: (r) => G(r) || Z(r) || x(r)
|
|
314
|
+
}, ve = "ElSwitch", cl = Q({
|
|
314
315
|
name: ve
|
|
315
|
-
}),
|
|
316
|
-
...
|
|
317
|
-
props:
|
|
318
|
-
emits:
|
|
319
|
-
setup(
|
|
320
|
-
const c =
|
|
321
|
-
formItemContext:
|
|
322
|
-
}),
|
|
316
|
+
}), pl = /* @__PURE__ */ Q({
|
|
317
|
+
...cl,
|
|
318
|
+
props: ul,
|
|
319
|
+
emits: dl,
|
|
320
|
+
setup(r, { expose: L, emit: C }) {
|
|
321
|
+
const c = r, { formItem: w } = Ye(), B = Ge(), u = re("switch"), { inputId: t } = Qe(c, {
|
|
322
|
+
formItemContext: w
|
|
323
|
+
}), g = Ze(I(() => c.loading)), S = T(c.modelValue !== !1), V = T(), O = T(), z = I(() => [
|
|
323
324
|
u.b(),
|
|
324
325
|
u.m(B.value),
|
|
325
|
-
u.is("disabled",
|
|
326
|
+
u.is("disabled", g.value),
|
|
326
327
|
u.is("checked", d.value)
|
|
327
|
-
]),
|
|
328
|
+
]), U = I(() => [
|
|
328
329
|
u.e("label"),
|
|
329
330
|
u.em("label", "left"),
|
|
330
331
|
u.is("active", !d.value)
|
|
331
|
-
]),
|
|
332
|
+
]), v = I(() => [
|
|
332
333
|
u.e("label"),
|
|
333
334
|
u.em("label", "right"),
|
|
334
335
|
u.is("active", d.value)
|
|
335
|
-
]),
|
|
336
|
+
]), s = I(() => ({
|
|
336
337
|
width: ie(c.width)
|
|
337
338
|
}));
|
|
338
|
-
|
|
339
|
-
|
|
339
|
+
se(() => c.modelValue, () => {
|
|
340
|
+
S.value = !0;
|
|
340
341
|
});
|
|
341
|
-
const
|
|
342
|
-
[c.activeValue, c.inactiveValue].includes(
|
|
343
|
-
var
|
|
344
|
-
|
|
342
|
+
const A = I(() => S.value ? c.modelValue : !1), d = I(() => A.value === c.activeValue);
|
|
343
|
+
[c.activeValue, c.inactiveValue].includes(A.value) || (C(le, c.inactiveValue), C(te, c.inactiveValue), C(ae, c.inactiveValue)), se(d, (l) => {
|
|
344
|
+
var f;
|
|
345
|
+
V.value.checked = l, c.validateEvent && ((f = w == null ? void 0 : w.validate) == null || f.call(w, "change").catch((R) => Be()));
|
|
345
346
|
});
|
|
346
347
|
const E = () => {
|
|
347
348
|
const l = d.value ? c.inactiveValue : c.activeValue;
|
|
348
|
-
C(
|
|
349
|
-
|
|
349
|
+
C(le, l), C(te, l), C(ae, l), Fe(() => {
|
|
350
|
+
V.value.checked = d.value;
|
|
350
351
|
});
|
|
351
|
-
},
|
|
352
|
-
if (
|
|
352
|
+
}, h = () => {
|
|
353
|
+
if (g.value)
|
|
353
354
|
return;
|
|
354
355
|
const { beforeChange: l } = c;
|
|
355
356
|
if (!l) {
|
|
356
357
|
E();
|
|
357
358
|
return;
|
|
358
359
|
}
|
|
359
|
-
const
|
|
360
|
+
const f = l();
|
|
360
361
|
[
|
|
361
|
-
oe(
|
|
362
|
-
|
|
363
|
-
].includes(!0) || ze(ve, "beforeChange must return type `Promise<boolean>` or `boolean`"), oe(
|
|
364
|
-
|
|
365
|
-
}).catch((
|
|
366
|
-
}) :
|
|
367
|
-
},
|
|
368
|
-
var l,
|
|
369
|
-
(
|
|
362
|
+
oe(f),
|
|
363
|
+
G(f)
|
|
364
|
+
].includes(!0) || ze(ve, "beforeChange must return type `Promise<boolean>` or `boolean`"), oe(f) ? f.then((F) => {
|
|
365
|
+
F && E();
|
|
366
|
+
}).catch((F) => {
|
|
367
|
+
}) : f && E();
|
|
368
|
+
}, N = () => {
|
|
369
|
+
var l, f;
|
|
370
|
+
(f = (l = V.value) == null ? void 0 : l.focus) == null || f.call(l);
|
|
370
371
|
};
|
|
371
372
|
return me(() => {
|
|
372
|
-
|
|
373
|
-
}),
|
|
374
|
-
focus:
|
|
373
|
+
V.value.checked = d.value;
|
|
374
|
+
}), L({
|
|
375
|
+
focus: N,
|
|
375
376
|
checked: d
|
|
376
|
-
}), (l,
|
|
377
|
-
class: b(e(
|
|
378
|
-
onClick: ce(
|
|
377
|
+
}), (l, f) => (o(), y("div", {
|
|
378
|
+
class: b(e(z)),
|
|
379
|
+
onClick: ce(h, ["prevent"])
|
|
379
380
|
}, [
|
|
380
381
|
n("input", {
|
|
381
|
-
id: e(
|
|
382
|
+
id: e(t),
|
|
382
383
|
ref_key: "input",
|
|
383
|
-
ref:
|
|
384
|
+
ref: V,
|
|
384
385
|
class: b(e(u).e("input")),
|
|
385
386
|
type: "checkbox",
|
|
386
387
|
role: "switch",
|
|
387
388
|
"aria-checked": e(d),
|
|
388
|
-
"aria-disabled": e(
|
|
389
|
+
"aria-disabled": e(g),
|
|
389
390
|
"aria-label": l.ariaLabel,
|
|
390
391
|
name: l.name,
|
|
391
392
|
"true-value": l.activeValue,
|
|
392
393
|
"false-value": l.inactiveValue,
|
|
393
|
-
disabled: e(
|
|
394
|
+
disabled: e(g),
|
|
394
395
|
tabindex: l.tabindex,
|
|
395
396
|
onChange: E,
|
|
396
|
-
onKeydown:
|
|
397
|
+
onKeydown: De(h, ["enter"])
|
|
397
398
|
}, null, 42, ["id", "aria-checked", "aria-disabled", "aria-label", "name", "true-value", "false-value", "disabled", "tabindex", "onKeydown"]),
|
|
398
|
-
!l.inlinePrompt && (l.inactiveIcon || l.inactiveText) ? (
|
|
399
|
+
!l.inlinePrompt && (l.inactiveIcon || l.inactiveText) ? (o(), y("span", {
|
|
399
400
|
key: 0,
|
|
400
|
-
class: b(e(
|
|
401
|
+
class: b(e(U))
|
|
401
402
|
}, [
|
|
402
|
-
l.inactiveIcon ? (
|
|
403
|
+
l.inactiveIcon ? (o(), k(e(D), { key: 0 }, {
|
|
403
404
|
default: m(() => [
|
|
404
|
-
(
|
|
405
|
+
(o(), k(q(l.inactiveIcon)))
|
|
405
406
|
]),
|
|
406
407
|
_: 1
|
|
407
408
|
})) : _("v-if", !0),
|
|
408
|
-
!l.inactiveIcon && l.inactiveText ? (
|
|
409
|
+
!l.inactiveIcon && l.inactiveText ? (o(), y("span", {
|
|
409
410
|
key: 1,
|
|
410
411
|
"aria-hidden": e(d)
|
|
411
412
|
}, M(l.inactiveText), 9, ["aria-hidden"])) : _("v-if", !0)
|
|
412
413
|
], 2)) : _("v-if", !0),
|
|
413
414
|
n("span", {
|
|
414
415
|
ref_key: "core",
|
|
415
|
-
ref:
|
|
416
|
+
ref: O,
|
|
416
417
|
class: b(e(u).e("core")),
|
|
417
|
-
style: pe(e(
|
|
418
|
+
style: pe(e(s))
|
|
418
419
|
}, [
|
|
419
|
-
l.inlinePrompt ? (
|
|
420
|
+
l.inlinePrompt ? (o(), y("div", {
|
|
420
421
|
key: 0,
|
|
421
422
|
class: b(e(u).e("inner"))
|
|
422
423
|
}, [
|
|
423
|
-
l.activeIcon || l.inactiveIcon ? (
|
|
424
|
+
l.activeIcon || l.inactiveIcon ? (o(), k(e(D), {
|
|
424
425
|
key: 0,
|
|
425
426
|
class: b(e(u).is("icon"))
|
|
426
427
|
}, {
|
|
427
428
|
default: m(() => [
|
|
428
|
-
(
|
|
429
|
+
(o(), k(q(e(d) ? l.activeIcon : l.inactiveIcon)))
|
|
429
430
|
]),
|
|
430
431
|
_: 1
|
|
431
|
-
}, 8, ["class"])) : l.activeText || l.inactiveText ? (
|
|
432
|
+
}, 8, ["class"])) : l.activeText || l.inactiveText ? (o(), y("span", {
|
|
432
433
|
key: 1,
|
|
433
434
|
class: b(e(u).is("text")),
|
|
434
435
|
"aria-hidden": !e(d)
|
|
@@ -437,42 +438,42 @@ const il = de(nl), rl = ne({
|
|
|
437
438
|
n("div", {
|
|
438
439
|
class: b(e(u).e("action"))
|
|
439
440
|
}, [
|
|
440
|
-
l.loading ? (
|
|
441
|
+
l.loading ? (o(), k(e(D), {
|
|
441
442
|
key: 0,
|
|
442
443
|
class: b(e(u).is("loading"))
|
|
443
444
|
}, {
|
|
444
445
|
default: m(() => [
|
|
445
|
-
p(e(
|
|
446
|
+
p(e(Je))
|
|
446
447
|
]),
|
|
447
448
|
_: 1
|
|
448
449
|
}, 8, ["class"])) : e(d) ? $(l.$slots, "active-action", { key: 1 }, () => [
|
|
449
|
-
l.activeActionIcon ? (
|
|
450
|
+
l.activeActionIcon ? (o(), k(e(D), { key: 0 }, {
|
|
450
451
|
default: m(() => [
|
|
451
|
-
(
|
|
452
|
+
(o(), k(q(l.activeActionIcon)))
|
|
452
453
|
]),
|
|
453
454
|
_: 1
|
|
454
455
|
})) : _("v-if", !0)
|
|
455
456
|
]) : e(d) ? _("v-if", !0) : $(l.$slots, "inactive-action", { key: 2 }, () => [
|
|
456
|
-
l.inactiveActionIcon ? (
|
|
457
|
+
l.inactiveActionIcon ? (o(), k(e(D), { key: 0 }, {
|
|
457
458
|
default: m(() => [
|
|
458
|
-
(
|
|
459
|
+
(o(), k(q(l.inactiveActionIcon)))
|
|
459
460
|
]),
|
|
460
461
|
_: 1
|
|
461
462
|
})) : _("v-if", !0)
|
|
462
463
|
])
|
|
463
464
|
], 2)
|
|
464
465
|
], 6),
|
|
465
|
-
!l.inlinePrompt && (l.activeIcon || l.activeText) ? (
|
|
466
|
+
!l.inlinePrompt && (l.activeIcon || l.activeText) ? (o(), y("span", {
|
|
466
467
|
key: 1,
|
|
467
|
-
class: b(e(
|
|
468
|
+
class: b(e(v))
|
|
468
469
|
}, [
|
|
469
|
-
l.activeIcon ? (
|
|
470
|
+
l.activeIcon ? (o(), k(e(D), { key: 0 }, {
|
|
470
471
|
default: m(() => [
|
|
471
|
-
(
|
|
472
|
+
(o(), k(q(l.activeIcon)))
|
|
472
473
|
]),
|
|
473
474
|
_: 1
|
|
474
475
|
})) : _("v-if", !0),
|
|
475
|
-
!l.activeIcon && l.activeText ? (
|
|
476
|
+
!l.activeIcon && l.activeText ? (o(), y("span", {
|
|
476
477
|
key: 1,
|
|
477
478
|
"aria-hidden": !e(d)
|
|
478
479
|
}, M(l.activeText), 9, ["aria-hidden"])) : _("v-if", !0)
|
|
@@ -480,12 +481,12 @@ const il = de(nl), rl = ne({
|
|
|
480
481
|
], 10, ["onClick"]));
|
|
481
482
|
}
|
|
482
483
|
});
|
|
483
|
-
var
|
|
484
|
-
const
|
|
485
|
-
const
|
|
484
|
+
var ml = /* @__PURE__ */ ue(pl, [["__file", "switch.vue"]]);
|
|
485
|
+
const vl = de(ml);
|
|
486
|
+
const fl = [
|
|
486
487
|
{ label: "买卖", value: 0 },
|
|
487
488
|
{ label: "开平", value: 1 }
|
|
488
|
-
],
|
|
489
|
+
], Y = () => ({
|
|
489
490
|
/**
|
|
490
491
|
* @description: 偏好设置
|
|
491
492
|
*/
|
|
@@ -493,6 +494,8 @@ const vl = [
|
|
|
493
494
|
mainIndicator: "MA",
|
|
494
495
|
// 成交点默认展示
|
|
495
496
|
sellBuy: 1,
|
|
497
|
+
// 成交点默认按照实际价格标记
|
|
498
|
+
sellBuyByPrice: 1,
|
|
496
499
|
// 单周期默认展示
|
|
497
500
|
singelCycle: "6",
|
|
498
501
|
// 多周期布局 2 4 6
|
|
@@ -520,11 +523,11 @@ const vl = [
|
|
|
520
523
|
// 是否启用副图
|
|
521
524
|
enable_sliderChart: !0
|
|
522
525
|
// 是否启用拖拽轴
|
|
523
|
-
}),
|
|
526
|
+
}), bl = (r, L) => {
|
|
524
527
|
var C;
|
|
525
|
-
return ((C =
|
|
528
|
+
return ((C = L.find((c) => c.value === r)) == null ? void 0 : C.label) ?? "-";
|
|
526
529
|
};
|
|
527
|
-
const
|
|
530
|
+
const P = (r) => (Ke("data-v-009e01e7"), r = r(), qe(), r), yl = { class: "kline-config element-dark" }, gl = { class: "setting-item" }, hl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "主图指标: ", -1)), _l = { class: "setting-item" }, Cl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "交易点位: ", -1)), kl = { class: "setting-item" }, wl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "开平点按价格标: ", -1)), Vl = { class: "setting-item" }, Sl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "单周期: ", -1)), El = { class: "setting-item" }, Il = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "多周期: ", -1)), Tl = { class: "mode" }, Bl = { class: "cycleName" }, zl = { class: "content" }, Nl = { class: "setting-item" }, Pl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "默认展示: ", -1)), Al = { class: "setting-item" }, Ll = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "高亮交易范围: ", -1)), Ol = { class: "setting-item" }, Ul = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "展示当屏时间: ", -1)), Rl = { class: "setting-item" }, Dl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "展示当屏最高价: ", -1)), Fl = { class: "setting-item" }, $l = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "多周期双击图表切换至单周期: ", -1)), Ml = { class: "setting-item" }, Kl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "开启副图: ", -1)), ql = { class: "setting-item" }, jl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "开启拖拽轴: ", -1)), Hl = { class: "setting-footer" }, Jl = {
|
|
528
531
|
__name: "index",
|
|
529
532
|
props: {
|
|
530
533
|
indicatorStore: { type: Object, default: () => ({}) },
|
|
@@ -535,114 +538,123 @@ const L = (i) => (Me("data-v-da9cf1c8"), i = i(), Ke(), i), bl = { class: "kline
|
|
|
535
538
|
cycleOptions: { type: Array, default: () => [] }
|
|
536
539
|
},
|
|
537
540
|
emits: "callBack",
|
|
538
|
-
setup(
|
|
539
|
-
const { request: c } =
|
|
540
|
-
Object.assign(
|
|
541
|
-
},
|
|
542
|
-
const
|
|
543
|
-
B.origin === "server" ? await c.post("/common/qt/updateUserConfig", { appId: 1, json:
|
|
544
|
-
},
|
|
541
|
+
setup(r, { expose: L, emit: C }) {
|
|
542
|
+
const { request: c } = $e("stConfig"), w = C, B = r, u = T(!1), t = Me({}), g = T([]), S = T([]), V = () => {
|
|
543
|
+
Object.assign(t, Y());
|
|
544
|
+
}, O = async () => {
|
|
545
|
+
const v = JSON.stringify(t);
|
|
546
|
+
B.origin === "server" ? await c.post("/common/qt/updateUserConfig", { appId: 1, json: v }) : localStorage.setItem("userKlineConfig", v), w("callBack", v), u.value = !1;
|
|
547
|
+
}, z = async () => {
|
|
545
548
|
if (B.origin === "server") {
|
|
546
|
-
const { body:
|
|
547
|
-
Object.assign(
|
|
549
|
+
const { body: v } = await c.post("/common/qt/getUserConfig", { appId: 1 });
|
|
550
|
+
Object.assign(t, Y(), v ? JSON.parse(v) : {});
|
|
548
551
|
} else {
|
|
549
|
-
const
|
|
550
|
-
Object.assign(
|
|
552
|
+
const v = localStorage.getItem("userKlineConfig");
|
|
553
|
+
Object.assign(t, Y(), v ? JSON.parse(v) : {});
|
|
551
554
|
}
|
|
552
|
-
},
|
|
555
|
+
}, U = async () => {
|
|
553
556
|
if (B.origin === "server") {
|
|
554
|
-
const { body:
|
|
555
|
-
|
|
556
|
-
label:
|
|
557
|
-
value:
|
|
557
|
+
const { body: v } = await c.post("/common/qt/getDict", { dictIds: [1002] });
|
|
558
|
+
g.value = v[1002].map((s) => ({
|
|
559
|
+
label: s.dictName,
|
|
560
|
+
value: s.dictCode
|
|
558
561
|
}));
|
|
559
562
|
} else
|
|
560
|
-
|
|
563
|
+
g.value = B.cycleOptions;
|
|
561
564
|
};
|
|
562
565
|
return me(() => {
|
|
563
|
-
|
|
564
|
-
}),
|
|
566
|
+
U(), S.value = B.indicatorStore.mainIndicatorList ?? [];
|
|
567
|
+
}), L({
|
|
565
568
|
// 打开
|
|
566
569
|
open: async () => {
|
|
567
|
-
await
|
|
570
|
+
await z(), u.value = !0;
|
|
568
571
|
},
|
|
569
572
|
// 获取默认配置
|
|
570
|
-
getDefaultUserKlineConfig:
|
|
571
|
-
}), (
|
|
572
|
-
const
|
|
573
|
-
return
|
|
574
|
-
p(
|
|
573
|
+
getDefaultUserKlineConfig: Y
|
|
574
|
+
}), (v, s) => {
|
|
575
|
+
const A = Ne, d = Ve, E = Se, h = we, N = ke, l = vl, f = xe, R = Ce, F = rl;
|
|
576
|
+
return o(), y("div", yl, [
|
|
577
|
+
p(F, {
|
|
575
578
|
modelValue: u.value,
|
|
576
|
-
"onUpdate:modelValue":
|
|
579
|
+
"onUpdate:modelValue": s[12] || (s[12] = (a) => u.value = a),
|
|
577
580
|
title: "K线自定义配置",
|
|
578
581
|
size: 320
|
|
579
582
|
}, {
|
|
580
583
|
default: m(() => [
|
|
581
|
-
p(
|
|
584
|
+
p(f, { class: "setting-main" }, {
|
|
582
585
|
default: m(() => [
|
|
583
|
-
p(
|
|
586
|
+
p(A, { style: { "margin-top": "8px" } }, {
|
|
584
587
|
default: m(() => [
|
|
585
|
-
|
|
588
|
+
j("偏好设置")
|
|
586
589
|
]),
|
|
587
590
|
_: 1
|
|
588
591
|
}),
|
|
589
592
|
n("div", gl, [
|
|
590
|
-
|
|
593
|
+
hl,
|
|
591
594
|
p(E, {
|
|
592
|
-
modelValue:
|
|
593
|
-
"onUpdate:modelValue":
|
|
595
|
+
modelValue: t.mainIndicator,
|
|
596
|
+
"onUpdate:modelValue": s[0] || (s[0] = (a) => t.mainIndicator = a),
|
|
594
597
|
"popper-class": "element-dark"
|
|
595
598
|
}, {
|
|
596
599
|
default: m(() => [
|
|
597
|
-
(
|
|
598
|
-
key:
|
|
599
|
-
label:
|
|
600
|
-
value:
|
|
600
|
+
(o(!0), y(H, null, J(S.value, (a, i) => (o(), k(d, {
|
|
601
|
+
key: i,
|
|
602
|
+
label: a.label,
|
|
603
|
+
value: a.value
|
|
601
604
|
}, null, 8, ["label", "value"]))), 128))
|
|
602
605
|
]),
|
|
603
606
|
_: 1
|
|
604
607
|
}, 8, ["modelValue"])
|
|
605
608
|
]),
|
|
606
|
-
n("div",
|
|
607
|
-
|
|
609
|
+
n("div", _l, [
|
|
610
|
+
Cl,
|
|
608
611
|
p(E, {
|
|
609
|
-
modelValue:
|
|
610
|
-
"onUpdate:modelValue":
|
|
612
|
+
modelValue: t.sellBuy,
|
|
613
|
+
"onUpdate:modelValue": s[1] || (s[1] = (a) => t.sellBuy = a),
|
|
611
614
|
"popper-class": "element-dark"
|
|
612
615
|
}, {
|
|
613
616
|
default: m(() => [
|
|
614
|
-
(
|
|
615
|
-
key:
|
|
616
|
-
label:
|
|
617
|
-
value:
|
|
617
|
+
(o(!0), y(H, null, J(e(fl), (a, i) => (o(), k(d, {
|
|
618
|
+
key: i,
|
|
619
|
+
label: a.label,
|
|
620
|
+
value: a.value
|
|
618
621
|
}, null, 8, ["label", "value"]))), 128))
|
|
619
622
|
]),
|
|
620
623
|
_: 1
|
|
621
624
|
}, 8, ["modelValue"])
|
|
622
625
|
]),
|
|
623
|
-
n("div",
|
|
626
|
+
n("div", kl, [
|
|
624
627
|
wl,
|
|
628
|
+
p(h, {
|
|
629
|
+
modelValue: t.sellBuyByPrice,
|
|
630
|
+
"onUpdate:modelValue": s[2] || (s[2] = (a) => t.sellBuyByPrice = a),
|
|
631
|
+
"true-value": 1,
|
|
632
|
+
"false-value": 0
|
|
633
|
+
}, null, 8, ["modelValue"])
|
|
634
|
+
]),
|
|
635
|
+
n("div", Vl, [
|
|
636
|
+
Sl,
|
|
625
637
|
p(E, {
|
|
626
|
-
modelValue:
|
|
627
|
-
"onUpdate:modelValue":
|
|
638
|
+
modelValue: t.singelCycle,
|
|
639
|
+
"onUpdate:modelValue": s[3] || (s[3] = (a) => t.singelCycle = a),
|
|
628
640
|
"popper-class": "element-dark"
|
|
629
641
|
}, {
|
|
630
642
|
default: m(() => [
|
|
631
|
-
(
|
|
632
|
-
key:
|
|
633
|
-
label:
|
|
634
|
-
value:
|
|
643
|
+
(o(!0), y(H, null, J(g.value, (a, i) => (o(), k(d, {
|
|
644
|
+
key: i,
|
|
645
|
+
label: a.label,
|
|
646
|
+
value: a.value
|
|
635
647
|
}, null, 8, ["label", "value"]))), 128))
|
|
636
648
|
]),
|
|
637
649
|
_: 1
|
|
638
650
|
}, 8, ["modelValue"])
|
|
639
651
|
]),
|
|
640
|
-
n("div",
|
|
641
|
-
|
|
642
|
-
p(
|
|
652
|
+
n("div", El, [
|
|
653
|
+
Il,
|
|
654
|
+
p(N, {
|
|
643
655
|
size: "small",
|
|
644
|
-
modelValue:
|
|
645
|
-
"onUpdate:modelValue":
|
|
656
|
+
modelValue: t.multiCycleNum,
|
|
657
|
+
"onUpdate:modelValue": s[4] || (s[4] = (a) => t.multiCycleNum = a),
|
|
646
658
|
options: [
|
|
647
659
|
{ label: "二图", value: 2 },
|
|
648
660
|
{ label: "四图", value: 4 },
|
|
@@ -652,35 +664,35 @@ const L = (i) => (Me("data-v-da9cf1c8"), i = i(), Ke(), i), bl = { class: "kline
|
|
|
652
664
|
}, null, 8, ["modelValue"])
|
|
653
665
|
]),
|
|
654
666
|
n("div", {
|
|
655
|
-
class: b(`setting-multi-box grid-${
|
|
667
|
+
class: b(`setting-multi-box grid-${t.multiCycleNum}`)
|
|
656
668
|
}, [
|
|
657
|
-
(
|
|
658
|
-
n("div",
|
|
659
|
-
n("span", null, M(e(
|
|
669
|
+
(o(!0), y(H, null, J(t.multiCycleList.slice(0, t.multiCycleNum), (a, i) => (o(), y("div", Tl, [
|
|
670
|
+
n("div", Bl, [
|
|
671
|
+
n("span", null, M(e(bl)(t.multiCycleList[i], g.value)), 1),
|
|
660
672
|
p(E, {
|
|
661
|
-
modelValue:
|
|
662
|
-
"onUpdate:modelValue": (
|
|
673
|
+
modelValue: t.multiCycleList[i],
|
|
674
|
+
"onUpdate:modelValue": (K) => t.multiCycleList[i] = K,
|
|
663
675
|
"popper-class": "element-dark"
|
|
664
676
|
}, {
|
|
665
677
|
default: m(() => [
|
|
666
|
-
(
|
|
667
|
-
key:
|
|
668
|
-
label:
|
|
669
|
-
value:
|
|
678
|
+
(o(!0), y(H, null, J(g.value, (K, W) => (o(), k(d, {
|
|
679
|
+
key: W,
|
|
680
|
+
label: K.label,
|
|
681
|
+
value: K.value
|
|
670
682
|
}, null, 8, ["label", "value"]))), 128))
|
|
671
683
|
]),
|
|
672
684
|
_: 2
|
|
673
685
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
674
686
|
]),
|
|
675
|
-
n("span",
|
|
687
|
+
n("span", zl, M(i + 1) + "号位K线", 1)
|
|
676
688
|
]))), 256))
|
|
677
689
|
], 2),
|
|
678
|
-
n("div",
|
|
679
|
-
|
|
680
|
-
p(
|
|
690
|
+
n("div", Nl, [
|
|
691
|
+
Pl,
|
|
692
|
+
p(N, {
|
|
681
693
|
size: "small",
|
|
682
|
-
modelValue:
|
|
683
|
-
"onUpdate:modelValue":
|
|
694
|
+
modelValue: t.pageType,
|
|
695
|
+
"onUpdate:modelValue": s[5] || (s[5] = (a) => t.pageType = a),
|
|
684
696
|
options: [
|
|
685
697
|
{ label: "单周期", value: 1 },
|
|
686
698
|
{ label: "多周期", value: 2 }
|
|
@@ -688,76 +700,76 @@ const L = (i) => (Me("data-v-da9cf1c8"), i = i(), Ke(), i), bl = { class: "kline
|
|
|
688
700
|
style: { height: "26px" }
|
|
689
701
|
}, null, 8, ["modelValue"])
|
|
690
702
|
]),
|
|
691
|
-
p(
|
|
703
|
+
p(A, { style: { "margin-top": "44px" } }, {
|
|
692
704
|
default: m(() => [
|
|
693
|
-
|
|
705
|
+
j("功能配置")
|
|
694
706
|
]),
|
|
695
707
|
_: 1
|
|
696
708
|
}),
|
|
697
|
-
n("div",
|
|
698
|
-
|
|
699
|
-
p(
|
|
700
|
-
modelValue:
|
|
701
|
-
"onUpdate:modelValue":
|
|
709
|
+
n("div", Al, [
|
|
710
|
+
Ll,
|
|
711
|
+
p(l, {
|
|
712
|
+
modelValue: t.enable_tradeLogBrush,
|
|
713
|
+
"onUpdate:modelValue": s[6] || (s[6] = (a) => t.enable_tradeLogBrush = a)
|
|
702
714
|
}, null, 8, ["modelValue"])
|
|
703
715
|
]),
|
|
704
|
-
n("div",
|
|
705
|
-
|
|
706
|
-
p(
|
|
707
|
-
modelValue:
|
|
708
|
-
"onUpdate:modelValue":
|
|
716
|
+
n("div", Ol, [
|
|
717
|
+
Ul,
|
|
718
|
+
p(l, {
|
|
719
|
+
modelValue: t.enable_showScreenTimeRange,
|
|
720
|
+
"onUpdate:modelValue": s[7] || (s[7] = (a) => t.enable_showScreenTimeRange = a)
|
|
709
721
|
}, null, 8, ["modelValue"])
|
|
710
722
|
]),
|
|
711
|
-
n("div",
|
|
712
|
-
|
|
713
|
-
p(
|
|
714
|
-
modelValue:
|
|
715
|
-
"onUpdate:modelValue":
|
|
723
|
+
n("div", Rl, [
|
|
724
|
+
Dl,
|
|
725
|
+
p(l, {
|
|
726
|
+
modelValue: t.enable_showScreenMaxPrice,
|
|
727
|
+
"onUpdate:modelValue": s[8] || (s[8] = (a) => t.enable_showScreenMaxPrice = a)
|
|
716
728
|
}, null, 8, ["modelValue"])
|
|
717
729
|
]),
|
|
718
|
-
n("div",
|
|
719
|
-
|
|
720
|
-
p(
|
|
721
|
-
modelValue:
|
|
722
|
-
"onUpdate:modelValue":
|
|
730
|
+
n("div", Fl, [
|
|
731
|
+
$l,
|
|
732
|
+
p(l, {
|
|
733
|
+
modelValue: t.enable_dbClickOpenSingel,
|
|
734
|
+
"onUpdate:modelValue": s[9] || (s[9] = (a) => t.enable_dbClickOpenSingel = a)
|
|
723
735
|
}, null, 8, ["modelValue"])
|
|
724
736
|
]),
|
|
725
|
-
p(
|
|
737
|
+
p(A, { style: { "margin-top": "44px" } }, {
|
|
726
738
|
default: m(() => [
|
|
727
|
-
|
|
739
|
+
j("组件开关")
|
|
728
740
|
]),
|
|
729
741
|
_: 1
|
|
730
742
|
}),
|
|
731
|
-
n("div",
|
|
732
|
-
|
|
733
|
-
p(
|
|
734
|
-
modelValue:
|
|
735
|
-
"onUpdate:modelValue":
|
|
743
|
+
n("div", Ml, [
|
|
744
|
+
Kl,
|
|
745
|
+
p(l, {
|
|
746
|
+
modelValue: t.enable_subChart,
|
|
747
|
+
"onUpdate:modelValue": s[10] || (s[10] = (a) => t.enable_subChart = a)
|
|
736
748
|
}, null, 8, ["modelValue"])
|
|
737
749
|
]),
|
|
738
|
-
n("div",
|
|
739
|
-
|
|
740
|
-
p(
|
|
741
|
-
modelValue:
|
|
742
|
-
"onUpdate:modelValue":
|
|
750
|
+
n("div", ql, [
|
|
751
|
+
jl,
|
|
752
|
+
p(l, {
|
|
753
|
+
modelValue: t.enable_sliderChart,
|
|
754
|
+
"onUpdate:modelValue": s[11] || (s[11] = (a) => t.enable_sliderChart = a)
|
|
743
755
|
}, null, 8, ["modelValue"])
|
|
744
756
|
])
|
|
745
757
|
]),
|
|
746
758
|
_: 1
|
|
747
759
|
}),
|
|
748
|
-
n("div",
|
|
749
|
-
p(
|
|
760
|
+
n("div", Hl, [
|
|
761
|
+
p(R, { onClick: V }, {
|
|
750
762
|
default: m(() => [
|
|
751
|
-
|
|
763
|
+
j(" 恢复默认 ")
|
|
752
764
|
]),
|
|
753
765
|
_: 1
|
|
754
766
|
}),
|
|
755
|
-
p(
|
|
767
|
+
p(R, {
|
|
756
768
|
type: "primary",
|
|
757
|
-
onClick:
|
|
769
|
+
onClick: O
|
|
758
770
|
}, {
|
|
759
771
|
default: m(() => [
|
|
760
|
-
|
|
772
|
+
j(" 保存配置 ")
|
|
761
773
|
]),
|
|
762
774
|
_: 1
|
|
763
775
|
})
|
|
@@ -768,11 +780,11 @@ const L = (i) => (Me("data-v-da9cf1c8"), i = i(), Ke(), i), bl = { class: "kline
|
|
|
768
780
|
]);
|
|
769
781
|
};
|
|
770
782
|
}
|
|
771
|
-
},
|
|
772
|
-
install(
|
|
773
|
-
|
|
783
|
+
}, Wl = /* @__PURE__ */ je(Jl, [["__scopeId", "data-v-009e01e7"]]), kt = {
|
|
784
|
+
install(r) {
|
|
785
|
+
r.component("st-klineConfig", Wl);
|
|
774
786
|
}
|
|
775
787
|
};
|
|
776
788
|
export {
|
|
777
|
-
|
|
789
|
+
kt as default
|
|
778
790
|
};
|