st-comp 0.0.208 → 0.0.209
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/ChartLayout.cjs +1 -1
- package/es/ChartLayout.js +74 -1
- package/es/CustomFunction.cjs +1 -1
- package/es/CustomFunction.js +56 -53
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +48 -45
- package/es/HeatMap.cjs +1 -1
- package/es/HeatMap.js +118 -1
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +90 -87
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +28 -25
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +164 -161
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +114 -111
- package/es/KlinePlus.cjs +2 -2
- package/es/KlinePlus.js +183 -180
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +143 -140
- package/es/PasswordPrompt.cjs +1 -1
- package/es/PasswordPrompt.js +3 -2
- package/es/Table.cjs +1 -1
- package/es/Table.js +58 -55
- package/es/User.cjs +1 -1
- package/es/User.js +88 -85
- package/es/VarSelectDialog.cjs +2 -2
- package/es/VarSelectDialog.js +56 -53
- package/es/VarietyAutoComplete.cjs +1 -1
- package/es/VarietyAutoComplete.js +17 -15
- package/es/VarietySearch.cjs +10 -10
- package/es/VarietySearch.js +56 -53
- package/es/VarietyTextCopy.cjs +3 -3
- package/es/VarietyTextCopy.js +34 -31
- package/es/VirtualTable.cjs +1 -1
- package/es/VirtualTable.js +106 -103
- package/es/_initCloneObject-52b6a510.cjs +1 -0
- package/es/{_initCloneObject-c477c74d.js → _initCloneObject-eaef9418.js} +26 -25
- package/es/base-a5af3db3.js +288 -0
- package/es/base-ef747d02.cjs +5 -0
- package/es/castArray-35947698.cjs +1 -0
- package/es/{castArray-1eb17278.js → castArray-7741a212.js} +1 -1
- package/es/{config-provider-18c0a68a.cjs → config-provider-a584d81e.cjs} +1 -1
- package/es/{config-provider-49c17381.js → config-provider-b16efd62.js} +6 -6
- package/es/debounce-62f5b6e8.cjs +1 -0
- package/es/{debounce-33406a0d.js → debounce-8d53f4dd.js} +9 -9
- package/es/{dropdown-3f1fe325.cjs → dropdown-071c5d7e.cjs} +1 -1
- package/es/{dropdown-6e7b1df0.js → dropdown-a59bba73.js} +15 -15
- package/es/el-autocomplete-a07e9439.cjs +1 -0
- package/es/{el-autocomplete-87b7f461.js → el-autocomplete-ba808eb6.js} +53 -51
- package/es/{el-button-56624e61.js → el-button-c95adb85.js} +46 -45
- package/es/el-button-eec58cff.cjs +1 -0
- package/es/{el-checkbox-f13560e9.js → el-checkbox-7421ccd3.js} +40 -40
- package/es/{el-checkbox-09f3b57f.cjs → el-checkbox-c25236a6.cjs} +1 -1
- package/es/{el-dialog-1d5f5877.js → el-dialog-41ab8417.js} +10 -9
- package/es/el-dialog-ae86edb8.cjs +1 -0
- package/es/{el-divider-8a4c87e3.cjs → el-divider-4713d74c.cjs} +1 -1
- package/es/{el-divider-1cda1783.js → el-divider-4e059794.js} +1 -1
- package/es/el-empty-1697ded8.cjs +1 -0
- package/es/{el-empty-04682b5d.js → el-empty-33cb66f1.js} +3 -3
- package/es/el-form-item-c3fe189b.cjs +12 -0
- package/es/{el-form-item-505c0b70.js → el-form-item-c53c374d.js} +76 -75
- package/es/{el-input-262851e8.js → el-input-2f75c4ba.js} +85 -84
- package/es/el-input-7fd293af.cjs +1 -0
- package/es/el-input-number-22e21d16.cjs +1 -0
- package/es/{el-input-number-fdac2b86.js → el-input-number-5193fe6d.js} +83 -82
- package/es/{el-loading-3cf7b796.cjs → el-loading-cfd86c15.cjs} +1 -1
- package/es/{el-loading-7440dc64.js → el-loading-f6022062.js} +2 -2
- package/es/el-menu-item-17dc717e.cjs +1 -0
- package/es/{el-menu-item-36c3004c.js → el-menu-item-7e881203.js} +54 -53
- package/es/el-message-5e6a6be9.cjs +1 -0
- package/es/{el-message-box-8f5e34ca.js → el-message-box-a93d2f6a.js} +22 -20
- package/es/el-message-box-c10adb52.cjs +1 -0
- package/es/{el-message-416bd265.js → el-message-e544a8f5.js} +29 -28
- package/es/{el-overlay-04426e36.js → el-overlay-09ad71cd.js} +53 -52
- package/es/el-overlay-9e34965f.cjs +1 -0
- package/es/el-popconfirm-70a976bf.cjs +1 -0
- package/es/{el-popconfirm-3790cda2.js → el-popconfirm-81dcd202.js} +39 -38
- package/es/{el-popper-49152708.js → el-popper-b4f97157.js} +192 -191
- package/es/el-popper-b6c99b28.cjs +1 -0
- package/es/{el-segmented-05509f9d.js → el-segmented-b868d074.js} +13 -12
- package/es/el-segmented-f8fce9ac.cjs +1 -0
- package/es/{el-select-700f3686.js → el-select-95627997.js} +295 -292
- package/es/el-select-d8d91db1.cjs +1 -0
- package/es/{el-table-column-44360700.js → el-table-column-376cd907.js} +57 -54
- package/es/el-table-column-c974cb96.cjs +14 -0
- package/es/{el-tag-55a172c9.js → el-tag-66cab138.js} +31 -30
- package/es/el-tag-a33c4b22.cjs +1 -0
- package/es/{el-text-ab6bfc40.js → el-text-ac60d0f2.js} +4 -4
- package/es/{el-text-5bcaffb6.cjs → el-text-c20a9f48.cjs} +1 -1
- package/es/index-098c2447.cjs +1 -0
- package/es/{index-d8294b1a.cjs → index-11547a0c.cjs} +1 -1
- package/es/{index-0afedcbd.js → index-1f7d4f70.js} +12 -11
- package/es/{index-ae6c9d97.cjs → index-298075cf.cjs} +1 -1
- package/es/{index-4e46f96c.js → index-57672682.js} +13 -12
- package/es/{index-66ad0d6a.js → index-844bdd85.js} +34 -34
- package/es/{index-29418a8d.js → index-88546436.js} +18 -18
- package/es/index-960806da.js +314 -0
- package/es/index-9780a537.cjs +1 -0
- package/es/index-9b9ef5dd.cjs +1 -0
- package/es/{base-aa512893.js → index-a871c3eb.js} +171 -454
- package/es/index-bb833443.cjs +1 -0
- package/es/index-c108567d.cjs +1 -0
- package/es/index-d77a7336.js +204 -0
- package/es/{index-cbbd78b4.js → index-d91dc23f.js} +12 -12
- package/es/index-e5566b94.js +368 -0
- package/es/index-f3562b52.cjs +1 -0
- package/es/{index-882d77d3.cjs → index-f967d6c1.cjs} +1 -1
- package/es/raf-80ef0c0a.js +6 -0
- package/es/{raf-336ef01e.cjs → raf-8249652f.cjs} +1 -1
- package/es/{scroll-0a48995c.js → scroll-679bd6bf.js} +5 -5
- package/es/{scroll-19533c53.cjs → scroll-b108dabd.cjs} +1 -1
- package/es/style.css +1 -1
- package/es/use-form-common-props-815d48a6.js +364 -0
- package/es/use-form-common-props-fd9b61a0.cjs +1 -0
- package/es/use-global-config-30d7d8ce.cjs +1 -0
- package/es/use-global-config-b5e9d3d5.js +72 -0
- package/es/{validator-28b22907.cjs → validator-1b8a6128.cjs} +1 -1
- package/es/{validator-e35f7978.js → validator-764a9db0.js} +1 -1
- package/es/{vnode-b62d0045.js → vnode-5ddb7ed1.js} +1 -1
- package/es/{vnode-8cb31692.cjs → vnode-b906ae6d.cjs} +1 -1
- package/es/{zh-cn-7c8640bb.cjs → zh-cn-90317f62.cjs} +1 -1
- package/es/{zh-cn-346f3a73.js → zh-cn-e963c628.js} +2 -2
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +105 -105
- package/lib/{index-da0f2951.js → index-e158c3d6.js} +1529 -1529
- package/lib/{python-c0a1e4ef.js → python-57033756.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/Kline/componentsNew/KlineTips/index.vue +4 -4
- package/packages/Kline/index.vue +4 -4
- package/packages/KlineNew/components/KlineTips/index.vue +8 -8
- package/packages/KlinePlus/index.vue +4 -4
- package/src/pages/KlineBasic/api.js +1 -1
- package/es/_initCloneObject-e660897e.cjs +0 -1
- package/es/base-7ba08794.cjs +0 -5
- package/es/castArray-efa457a5.cjs +0 -1
- package/es/debounce-4aa22feb.cjs +0 -1
- package/es/el-autocomplete-609ac86d.cjs +0 -1
- package/es/el-button-08310c06.cjs +0 -1
- package/es/el-dialog-ea480083.cjs +0 -1
- package/es/el-empty-b40fa7ea.cjs +0 -1
- package/es/el-form-item-338ea2f7.cjs +0 -12
- package/es/el-input-b04b5bfc.cjs +0 -1
- package/es/el-input-number-7242c8b5.cjs +0 -1
- package/es/el-menu-item-7aca344e.cjs +0 -1
- package/es/el-message-05cd85bf.cjs +0 -1
- package/es/el-message-box-b7e9917e.cjs +0 -1
- package/es/el-overlay-60bc5a02.cjs +0 -1
- package/es/el-popconfirm-24b622c5.cjs +0 -1
- package/es/el-popper-1dd8f5b4.cjs +0 -1
- package/es/el-segmented-a928d89b.cjs +0 -1
- package/es/el-select-5fd77a96.cjs +0 -1
- package/es/el-table-column-bf3ab2a6.cjs +0 -14
- package/es/el-tag-d59f3463.cjs +0 -1
- package/es/index-3d0bc5da.js +0 -566
- package/es/index-a206f6eb.cjs +0 -1
- package/es/index-b4700d83.cjs +0 -1
- package/es/index-c30cf7f9.cjs +0 -1
- package/es/raf-d8c44079.js +0 -6
- package/es/use-form-common-props-41182853.cjs +0 -1
- package/es/use-form-common-props-4cdda474.js +0 -671
- package/es/use-global-config-7bfbe48c.js +0 -71
- package/es/use-global-config-dc5527e8.cjs +0 -1
package/es/KlineConfig.js
CHANGED
|
@@ -1,30 +1,33 @@
|
|
|
1
|
-
import { b as ne,
|
|
2
|
-
import {
|
|
3
|
-
import { E 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
|
+
import { E as Ce } from "./el-button-c95adb85.js";
|
|
4
4
|
import "./el-scrollbar-323542e7.js";
|
|
5
|
-
import { E as
|
|
6
|
-
import { E as
|
|
7
|
-
import "./el-tag-
|
|
8
|
-
import { E as
|
|
9
|
-
import {
|
|
10
|
-
import { E as
|
|
11
|
-
import { computed as I, ref as T, watch as se, onBeforeUnmount as
|
|
12
|
-
import { _ as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
5
|
+
import { E as ke } from "./el-segmented-b868d074.js";
|
|
6
|
+
import { E as we } from "./el-checkbox-7421ccd3.js";
|
|
7
|
+
import "./el-tag-66cab138.js";
|
|
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";
|
|
16
17
|
import { u as el } from "./index-2e331d74.js";
|
|
17
|
-
import {
|
|
18
|
-
import "./vnode-
|
|
19
|
-
import "./scroll-
|
|
20
|
-
import "./
|
|
18
|
+
import { u as ll } from "./index-d77a7336.js";
|
|
19
|
+
import "./vnode-5ddb7ed1.js";
|
|
20
|
+
import "./scroll-679bd6bf.js";
|
|
21
|
+
import "./index-960806da.js";
|
|
22
|
+
import "./use-global-config-b5e9d3d5.js";
|
|
23
|
+
import "./index-e5566b94.js";
|
|
21
24
|
import "./index-657047bb.js";
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./castArray-
|
|
24
|
-
import "./index-
|
|
25
|
-
import "./debounce-
|
|
26
|
-
const
|
|
27
|
-
...
|
|
25
|
+
import "./index-57672682.js";
|
|
26
|
+
import "./castArray-7741a212.js";
|
|
27
|
+
import "./index-d91dc23f.js";
|
|
28
|
+
import "./debounce-8d53f4dd.js";
|
|
29
|
+
const tl = ne({
|
|
30
|
+
...ye,
|
|
28
31
|
direction: {
|
|
29
32
|
type: String,
|
|
30
33
|
default: "rtl",
|
|
@@ -47,32 +50,32 @@ const al = ne({
|
|
|
47
50
|
type: String,
|
|
48
51
|
default: "2"
|
|
49
52
|
}
|
|
50
|
-
}),
|
|
53
|
+
}), al = ge;
|
|
51
54
|
function sl(r, L) {
|
|
52
|
-
const { width: C, height: c } = Xe(),
|
|
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);
|
|
53
56
|
let z = [], U = [];
|
|
54
57
|
const v = () => {
|
|
55
58
|
var h;
|
|
56
59
|
const N = (h = L.value) == null ? void 0 : h.closest('[aria-modal="true"]');
|
|
57
|
-
return N ?
|
|
60
|
+
return N ? w.value ? N.offsetWidth : N.offsetHeight : 100;
|
|
58
61
|
};
|
|
59
62
|
se(() => [r.size, r.resizable], () => {
|
|
60
|
-
O.value = !1,
|
|
63
|
+
O.value = !1, g.value = 0, S.value = 0, d();
|
|
61
64
|
});
|
|
62
65
|
const s = (h) => {
|
|
63
|
-
r.resizable && (O.value || (
|
|
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)));
|
|
64
67
|
}, A = (h) => {
|
|
65
68
|
const { pageX: N, pageY: l } = h, f = N - z[0], R = l - z[1];
|
|
66
|
-
S.value =
|
|
69
|
+
S.value = w.value ? f : R;
|
|
67
70
|
}, d = () => {
|
|
68
|
-
z = [],
|
|
71
|
+
z = [], g.value = t.value, S.value = 0, V.value = !1, U.forEach((h) => h == null ? void 0 : h()), U = [];
|
|
69
72
|
}, E = ee(L, "mousedown", s);
|
|
70
|
-
return
|
|
73
|
+
return Pe(() => {
|
|
71
74
|
E(), d();
|
|
72
75
|
}), {
|
|
73
|
-
size: I(() => O.value ? `${
|
|
74
|
-
isResizing:
|
|
75
|
-
isHorizontal:
|
|
76
|
+
size: I(() => O.value ? `${t.value}px` : ie(r.size)),
|
|
77
|
+
isResizing: V,
|
|
78
|
+
isHorizontal: w
|
|
76
79
|
};
|
|
77
80
|
}
|
|
78
81
|
const ol = Q({
|
|
@@ -80,10 +83,10 @@ const ol = Q({
|
|
|
80
83
|
inheritAttrs: !1
|
|
81
84
|
}), nl = /* @__PURE__ */ Q({
|
|
82
85
|
...ol,
|
|
83
|
-
props:
|
|
84
|
-
emits:
|
|
86
|
+
props: tl,
|
|
87
|
+
emits: al,
|
|
85
88
|
setup(r, { expose: L }) {
|
|
86
|
-
const C = r, c =
|
|
89
|
+
const C = r, c = Ae();
|
|
87
90
|
el({
|
|
88
91
|
scope: "el-drawer",
|
|
89
92
|
from: "the title slot",
|
|
@@ -91,9 +94,9 @@ const ol = Q({
|
|
|
91
94
|
version: "3.0.0",
|
|
92
95
|
ref: "https://element-plus.org/en-US/component/drawer.html#slots"
|
|
93
96
|
}, I(() => !!c.title));
|
|
94
|
-
const
|
|
97
|
+
const w = T(), B = T(), u = T(), t = re("drawer"), { t: g } = ll(), {
|
|
95
98
|
afterEnter: S,
|
|
96
|
-
afterLeave:
|
|
99
|
+
afterLeave: V,
|
|
97
100
|
beforeLeave: O,
|
|
98
101
|
visible: z,
|
|
99
102
|
rendered: U,
|
|
@@ -106,37 +109,37 @@ const ol = Q({
|
|
|
106
109
|
onFocusoutPrevented: N,
|
|
107
110
|
onCloseRequested: l,
|
|
108
111
|
handleClose: f
|
|
109
|
-
} =
|
|
112
|
+
} = he(C, w), { isHorizontal: R, size: F, isResizing: a } = sl(C, u);
|
|
110
113
|
return L({
|
|
111
114
|
handleClose: f,
|
|
112
115
|
afterEnter: S,
|
|
113
|
-
afterLeave:
|
|
114
|
-
}), (i, K) => (o(), k(e(
|
|
116
|
+
afterLeave: V
|
|
117
|
+
}), (i, K) => (o(), k(e(Ee), {
|
|
115
118
|
to: i.appendTo,
|
|
116
119
|
disabled: i.appendTo !== "body" ? !1 : !i.appendToBody
|
|
117
120
|
}, {
|
|
118
121
|
default: m(() => [
|
|
119
|
-
p(
|
|
120
|
-
name: e(
|
|
122
|
+
p(Le, {
|
|
123
|
+
name: e(t).b("fade"),
|
|
121
124
|
onAfterEnter: e(S),
|
|
122
|
-
onAfterLeave: e(
|
|
125
|
+
onAfterLeave: e(V),
|
|
123
126
|
onBeforeLeave: e(O),
|
|
124
127
|
persisted: ""
|
|
125
128
|
}, {
|
|
126
129
|
default: m(() => {
|
|
127
|
-
var
|
|
130
|
+
var W;
|
|
128
131
|
return [
|
|
129
|
-
|
|
132
|
+
Oe(p(e(_e), {
|
|
130
133
|
mask: i.modal,
|
|
131
|
-
"overlay-class": [e(
|
|
134
|
+
"overlay-class": [e(t).is("drawer"), (W = i.modalClass) != null ? W : ""],
|
|
132
135
|
"z-index": e(A),
|
|
133
136
|
onClick: e(d)
|
|
134
137
|
}, {
|
|
135
138
|
default: m(() => [
|
|
136
|
-
p(e(
|
|
139
|
+
p(e(Ie), {
|
|
137
140
|
loop: "",
|
|
138
141
|
trapped: e(z),
|
|
139
|
-
"focus-trap-el":
|
|
142
|
+
"focus-trap-el": w.value,
|
|
140
143
|
"focus-start-el": B.value,
|
|
141
144
|
onFocusAfterTrapped: e(E),
|
|
142
145
|
onFocusAfterReleased: e(h),
|
|
@@ -144,19 +147,19 @@ const ol = Q({
|
|
|
144
147
|
onReleaseRequested: e(l)
|
|
145
148
|
}, {
|
|
146
149
|
default: m(() => [
|
|
147
|
-
n("div",
|
|
150
|
+
n("div", Ue({
|
|
148
151
|
ref_key: "drawerRef",
|
|
149
|
-
ref:
|
|
152
|
+
ref: w,
|
|
150
153
|
"aria-modal": "true",
|
|
151
154
|
"aria-label": i.title || void 0,
|
|
152
155
|
"aria-labelledby": i.title ? void 0 : e(v),
|
|
153
156
|
"aria-describedby": e(s)
|
|
154
157
|
}, i.$attrs, {
|
|
155
158
|
class: [
|
|
156
|
-
e(
|
|
159
|
+
e(t).b(),
|
|
157
160
|
i.direction,
|
|
158
161
|
e(z) && "open",
|
|
159
|
-
e(
|
|
162
|
+
e(t).is("dragging", e(a))
|
|
160
163
|
],
|
|
161
164
|
style: { [e(R) ? "width" : "height"]: e(F) },
|
|
162
165
|
role: "dialog",
|
|
@@ -166,12 +169,12 @@ const ol = Q({
|
|
|
166
169
|
n("span", {
|
|
167
170
|
ref_key: "focusStartRef",
|
|
168
171
|
ref: B,
|
|
169
|
-
class: b(e(
|
|
172
|
+
class: b(e(t).e("sr-focus")),
|
|
170
173
|
tabindex: "-1"
|
|
171
174
|
}, null, 2),
|
|
172
|
-
i.withHeader ? (o(),
|
|
175
|
+
i.withHeader ? (o(), y("header", {
|
|
173
176
|
key: 0,
|
|
174
|
-
class: b([e(
|
|
177
|
+
class: b([e(t).e("header"), i.headerClass])
|
|
175
178
|
}, [
|
|
176
179
|
i.$slots.title ? $(i.$slots, "title", { key: 1 }, () => [
|
|
177
180
|
_(" DEPRECATED SLOT ")
|
|
@@ -179,51 +182,51 @@ const ol = Q({
|
|
|
179
182
|
key: 0,
|
|
180
183
|
close: e(f),
|
|
181
184
|
titleId: e(v),
|
|
182
|
-
titleClass: e(
|
|
185
|
+
titleClass: e(t).e("title")
|
|
183
186
|
}, () => [
|
|
184
187
|
n("span", {
|
|
185
188
|
id: e(v),
|
|
186
189
|
role: "heading",
|
|
187
190
|
"aria-level": i.headerAriaLevel,
|
|
188
|
-
class: b(e(
|
|
191
|
+
class: b(e(t).e("title"))
|
|
189
192
|
}, M(i.title), 11, ["id", "aria-level"])
|
|
190
193
|
]),
|
|
191
|
-
i.showClose ? (o(),
|
|
194
|
+
i.showClose ? (o(), y("button", {
|
|
192
195
|
key: 2,
|
|
193
|
-
"aria-label": e(
|
|
194
|
-
class: b(e(
|
|
196
|
+
"aria-label": e(g)("el.drawer.close"),
|
|
197
|
+
class: b(e(t).e("close-btn")),
|
|
195
198
|
type: "button",
|
|
196
199
|
onClick: e(f)
|
|
197
200
|
}, [
|
|
198
201
|
p(e(D), {
|
|
199
|
-
class: b(e(
|
|
202
|
+
class: b(e(t).e("close"))
|
|
200
203
|
}, {
|
|
201
204
|
default: m(() => [
|
|
202
|
-
p(e(
|
|
205
|
+
p(e(He))
|
|
203
206
|
]),
|
|
204
207
|
_: 1
|
|
205
208
|
}, 8, ["class"])
|
|
206
209
|
], 10, ["aria-label", "onClick"])) : _("v-if", !0)
|
|
207
210
|
], 2)) : _("v-if", !0),
|
|
208
|
-
e(U) ? (o(),
|
|
211
|
+
e(U) ? (o(), y("div", {
|
|
209
212
|
key: 1,
|
|
210
213
|
id: e(s),
|
|
211
|
-
class: b([e(
|
|
214
|
+
class: b([e(t).e("body"), i.bodyClass])
|
|
212
215
|
}, [
|
|
213
216
|
$(i.$slots, "default")
|
|
214
217
|
], 10, ["id"])) : _("v-if", !0),
|
|
215
|
-
i.$slots.footer ? (o(),
|
|
218
|
+
i.$slots.footer ? (o(), y("div", {
|
|
216
219
|
key: 2,
|
|
217
|
-
class: b([e(
|
|
220
|
+
class: b([e(t).e("footer"), i.footerClass])
|
|
218
221
|
}, [
|
|
219
222
|
$(i.$slots, "footer")
|
|
220
223
|
], 2)) : _("v-if", !0),
|
|
221
|
-
i.resizable ? (o(),
|
|
224
|
+
i.resizable ? (o(), y("div", {
|
|
222
225
|
key: 3,
|
|
223
226
|
ref_key: "draggerRef",
|
|
224
227
|
ref: u,
|
|
225
228
|
style: pe({ zIndex: e(A) }),
|
|
226
|
-
class: b(e(
|
|
229
|
+
class: b(e(t).e("dragger"))
|
|
227
230
|
}, null, 6)) : _("v-if", !0)
|
|
228
231
|
], 16, ["aria-label", "aria-labelledby", "aria-describedby", "onClick"])
|
|
229
232
|
]),
|
|
@@ -232,7 +235,7 @@ const ol = Q({
|
|
|
232
235
|
]),
|
|
233
236
|
_: 3
|
|
234
237
|
}, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
|
|
235
|
-
[
|
|
238
|
+
[Re, e(z)]
|
|
236
239
|
])
|
|
237
240
|
];
|
|
238
241
|
}),
|
|
@@ -253,7 +256,7 @@ const rl = de(il), ul = ne({
|
|
|
253
256
|
loading: Boolean,
|
|
254
257
|
size: {
|
|
255
258
|
type: String,
|
|
256
|
-
validator:
|
|
259
|
+
validator: We
|
|
257
260
|
},
|
|
258
261
|
width: {
|
|
259
262
|
type: [String, Number],
|
|
@@ -297,17 +300,17 @@ const rl = de(il), ul = ne({
|
|
|
297
300
|
default: !0
|
|
298
301
|
},
|
|
299
302
|
beforeChange: {
|
|
300
|
-
type:
|
|
303
|
+
type: be(Function)
|
|
301
304
|
},
|
|
302
305
|
id: String,
|
|
303
306
|
tabindex: {
|
|
304
307
|
type: [String, Number]
|
|
305
308
|
},
|
|
306
|
-
...
|
|
309
|
+
...Te(["ariaLabel"])
|
|
307
310
|
}), dl = {
|
|
308
311
|
[le]: (r) => G(r) || Z(r) || x(r),
|
|
309
|
-
[
|
|
310
|
-
[
|
|
312
|
+
[te]: (r) => G(r) || Z(r) || x(r),
|
|
313
|
+
[ae]: (r) => G(r) || Z(r) || x(r)
|
|
311
314
|
}, ve = "ElSwitch", cl = Q({
|
|
312
315
|
name: ve
|
|
313
316
|
}), pl = /* @__PURE__ */ Q({
|
|
@@ -315,12 +318,12 @@ const rl = de(il), ul = ne({
|
|
|
315
318
|
props: ul,
|
|
316
319
|
emits: dl,
|
|
317
320
|
setup(r, { expose: L, emit: C }) {
|
|
318
|
-
const c = r, { formItem:
|
|
319
|
-
formItemContext:
|
|
320
|
-
}),
|
|
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(() => [
|
|
321
324
|
u.b(),
|
|
322
325
|
u.m(B.value),
|
|
323
|
-
u.is("disabled",
|
|
326
|
+
u.is("disabled", g.value),
|
|
324
327
|
u.is("checked", d.value)
|
|
325
328
|
]), U = I(() => [
|
|
326
329
|
u.e("label"),
|
|
@@ -337,17 +340,17 @@ const rl = de(il), ul = ne({
|
|
|
337
340
|
S.value = !0;
|
|
338
341
|
});
|
|
339
342
|
const A = I(() => S.value ? c.modelValue : !1), d = I(() => A.value === c.activeValue);
|
|
340
|
-
[c.activeValue, c.inactiveValue].includes(A.value) || (C(le, c.inactiveValue), C(
|
|
343
|
+
[c.activeValue, c.inactiveValue].includes(A.value) || (C(le, c.inactiveValue), C(te, c.inactiveValue), C(ae, c.inactiveValue)), se(d, (l) => {
|
|
341
344
|
var f;
|
|
342
|
-
|
|
345
|
+
V.value.checked = l, c.validateEvent && ((f = w == null ? void 0 : w.validate) == null || f.call(w, "change").catch((R) => Be()));
|
|
343
346
|
});
|
|
344
347
|
const E = () => {
|
|
345
348
|
const l = d.value ? c.inactiveValue : c.activeValue;
|
|
346
|
-
C(le, l), C(
|
|
347
|
-
|
|
349
|
+
C(le, l), C(te, l), C(ae, l), Fe(() => {
|
|
350
|
+
V.value.checked = d.value;
|
|
348
351
|
});
|
|
349
352
|
}, h = () => {
|
|
350
|
-
if (
|
|
353
|
+
if (g.value)
|
|
351
354
|
return;
|
|
352
355
|
const { beforeChange: l } = c;
|
|
353
356
|
if (!l) {
|
|
@@ -358,42 +361,42 @@ const rl = de(il), ul = ne({
|
|
|
358
361
|
[
|
|
359
362
|
oe(f),
|
|
360
363
|
G(f)
|
|
361
|
-
].includes(!0) ||
|
|
364
|
+
].includes(!0) || ze(ve, "beforeChange must return type `Promise<boolean>` or `boolean`"), oe(f) ? f.then((F) => {
|
|
362
365
|
F && E();
|
|
363
366
|
}).catch((F) => {
|
|
364
367
|
}) : f && E();
|
|
365
368
|
}, N = () => {
|
|
366
369
|
var l, f;
|
|
367
|
-
(f = (l =
|
|
370
|
+
(f = (l = V.value) == null ? void 0 : l.focus) == null || f.call(l);
|
|
368
371
|
};
|
|
369
372
|
return me(() => {
|
|
370
|
-
|
|
373
|
+
V.value.checked = d.value;
|
|
371
374
|
}), L({
|
|
372
375
|
focus: N,
|
|
373
376
|
checked: d
|
|
374
|
-
}), (l, f) => (o(),
|
|
377
|
+
}), (l, f) => (o(), y("div", {
|
|
375
378
|
class: b(e(z)),
|
|
376
379
|
onClick: ce(h, ["prevent"])
|
|
377
380
|
}, [
|
|
378
381
|
n("input", {
|
|
379
|
-
id: e(
|
|
382
|
+
id: e(t),
|
|
380
383
|
ref_key: "input",
|
|
381
|
-
ref:
|
|
384
|
+
ref: V,
|
|
382
385
|
class: b(e(u).e("input")),
|
|
383
386
|
type: "checkbox",
|
|
384
387
|
role: "switch",
|
|
385
388
|
"aria-checked": e(d),
|
|
386
|
-
"aria-disabled": e(
|
|
389
|
+
"aria-disabled": e(g),
|
|
387
390
|
"aria-label": l.ariaLabel,
|
|
388
391
|
name: l.name,
|
|
389
392
|
"true-value": l.activeValue,
|
|
390
393
|
"false-value": l.inactiveValue,
|
|
391
|
-
disabled: e(
|
|
394
|
+
disabled: e(g),
|
|
392
395
|
tabindex: l.tabindex,
|
|
393
396
|
onChange: E,
|
|
394
|
-
onKeydown:
|
|
397
|
+
onKeydown: De(h, ["enter"])
|
|
395
398
|
}, null, 42, ["id", "aria-checked", "aria-disabled", "aria-label", "name", "true-value", "false-value", "disabled", "tabindex", "onKeydown"]),
|
|
396
|
-
!l.inlinePrompt && (l.inactiveIcon || l.inactiveText) ? (o(),
|
|
399
|
+
!l.inlinePrompt && (l.inactiveIcon || l.inactiveText) ? (o(), y("span", {
|
|
397
400
|
key: 0,
|
|
398
401
|
class: b(e(U))
|
|
399
402
|
}, [
|
|
@@ -403,7 +406,7 @@ const rl = de(il), ul = ne({
|
|
|
403
406
|
]),
|
|
404
407
|
_: 1
|
|
405
408
|
})) : _("v-if", !0),
|
|
406
|
-
!l.inactiveIcon && l.inactiveText ? (o(),
|
|
409
|
+
!l.inactiveIcon && l.inactiveText ? (o(), y("span", {
|
|
407
410
|
key: 1,
|
|
408
411
|
"aria-hidden": e(d)
|
|
409
412
|
}, M(l.inactiveText), 9, ["aria-hidden"])) : _("v-if", !0)
|
|
@@ -414,7 +417,7 @@ const rl = de(il), ul = ne({
|
|
|
414
417
|
class: b(e(u).e("core")),
|
|
415
418
|
style: pe(e(s))
|
|
416
419
|
}, [
|
|
417
|
-
l.inlinePrompt ? (o(),
|
|
420
|
+
l.inlinePrompt ? (o(), y("div", {
|
|
418
421
|
key: 0,
|
|
419
422
|
class: b(e(u).e("inner"))
|
|
420
423
|
}, [
|
|
@@ -426,7 +429,7 @@ const rl = de(il), ul = ne({
|
|
|
426
429
|
(o(), k(q(e(d) ? l.activeIcon : l.inactiveIcon)))
|
|
427
430
|
]),
|
|
428
431
|
_: 1
|
|
429
|
-
}, 8, ["class"])) : l.activeText || l.inactiveText ? (o(),
|
|
432
|
+
}, 8, ["class"])) : l.activeText || l.inactiveText ? (o(), y("span", {
|
|
430
433
|
key: 1,
|
|
431
434
|
class: b(e(u).is("text")),
|
|
432
435
|
"aria-hidden": !e(d)
|
|
@@ -440,7 +443,7 @@ const rl = de(il), ul = ne({
|
|
|
440
443
|
class: b(e(u).is("loading"))
|
|
441
444
|
}, {
|
|
442
445
|
default: m(() => [
|
|
443
|
-
p(e(
|
|
446
|
+
p(e(Je))
|
|
444
447
|
]),
|
|
445
448
|
_: 1
|
|
446
449
|
}, 8, ["class"])) : e(d) ? $(l.$slots, "active-action", { key: 1 }, () => [
|
|
@@ -460,7 +463,7 @@ const rl = de(il), ul = ne({
|
|
|
460
463
|
])
|
|
461
464
|
], 2)
|
|
462
465
|
], 6),
|
|
463
|
-
!l.inlinePrompt && (l.activeIcon || l.activeText) ? (o(),
|
|
466
|
+
!l.inlinePrompt && (l.activeIcon || l.activeText) ? (o(), y("span", {
|
|
464
467
|
key: 1,
|
|
465
468
|
class: b(e(v))
|
|
466
469
|
}, [
|
|
@@ -470,7 +473,7 @@ const rl = de(il), ul = ne({
|
|
|
470
473
|
]),
|
|
471
474
|
_: 1
|
|
472
475
|
})) : _("v-if", !0),
|
|
473
|
-
!l.activeIcon && l.activeText ? (o(),
|
|
476
|
+
!l.activeIcon && l.activeText ? (o(), y("span", {
|
|
474
477
|
key: 1,
|
|
475
478
|
"aria-hidden": !e(d)
|
|
476
479
|
}, M(l.activeText), 9, ["aria-hidden"])) : _("v-if", !0)
|
|
@@ -524,7 +527,7 @@ const fl = [
|
|
|
524
527
|
var C;
|
|
525
528
|
return ((C = L.find((c) => c.value === r)) == null ? void 0 : C.label) ?? "-";
|
|
526
529
|
};
|
|
527
|
-
const P = (r) => (
|
|
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: () => ({}) },
|
|
@@ -536,28 +539,28 @@ const P = (r) => (je("data-v-009e01e7"), r = r(), He(), r), gl = { class: "kline
|
|
|
536
539
|
},
|
|
537
540
|
emits: "callBack",
|
|
538
541
|
setup(r, { expose: L, emit: C }) {
|
|
539
|
-
const { request: c } =
|
|
540
|
-
Object.assign(
|
|
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());
|
|
541
544
|
}, O = async () => {
|
|
542
|
-
const v = JSON.stringify(
|
|
543
|
-
B.origin === "server" ? await c.post("/common/qt/updateUserConfig", { appId: 1, json: v }) : localStorage.setItem("userKlineConfig", v),
|
|
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;
|
|
544
547
|
}, z = async () => {
|
|
545
548
|
if (B.origin === "server") {
|
|
546
549
|
const { body: v } = await c.post("/common/qt/getUserConfig", { appId: 1 });
|
|
547
|
-
Object.assign(
|
|
550
|
+
Object.assign(t, Y(), v ? JSON.parse(v) : {});
|
|
548
551
|
} else {
|
|
549
552
|
const v = localStorage.getItem("userKlineConfig");
|
|
550
|
-
Object.assign(
|
|
553
|
+
Object.assign(t, Y(), v ? JSON.parse(v) : {});
|
|
551
554
|
}
|
|
552
555
|
}, U = async () => {
|
|
553
556
|
if (B.origin === "server") {
|
|
554
557
|
const { body: v } = await c.post("/common/qt/getDict", { dictIds: [1002] });
|
|
555
|
-
|
|
558
|
+
g.value = v[1002].map((s) => ({
|
|
556
559
|
label: s.dictName,
|
|
557
560
|
value: s.dictCode
|
|
558
561
|
}));
|
|
559
562
|
} else
|
|
560
|
-
|
|
563
|
+
g.value = B.cycleOptions;
|
|
561
564
|
};
|
|
562
565
|
return me(() => {
|
|
563
566
|
U(), S.value = B.indicatorStore.mainIndicatorList ?? [];
|
|
@@ -569,11 +572,11 @@ const P = (r) => (je("data-v-009e01e7"), r = r(), He(), r), gl = { class: "kline
|
|
|
569
572
|
// 获取默认配置
|
|
570
573
|
getDefaultUserKlineConfig: Y
|
|
571
574
|
}), (v, s) => {
|
|
572
|
-
const A =
|
|
573
|
-
return o(),
|
|
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, [
|
|
574
577
|
p(F, {
|
|
575
578
|
modelValue: u.value,
|
|
576
|
-
"onUpdate:modelValue": s[12] || (s[12] = (
|
|
579
|
+
"onUpdate:modelValue": s[12] || (s[12] = (a) => u.value = a),
|
|
577
580
|
title: "K线自定义配置",
|
|
578
581
|
size: 320
|
|
579
582
|
}, {
|
|
@@ -586,18 +589,18 @@ const P = (r) => (je("data-v-009e01e7"), r = r(), He(), r), gl = { class: "kline
|
|
|
586
589
|
]),
|
|
587
590
|
_: 1
|
|
588
591
|
}),
|
|
589
|
-
n("div",
|
|
592
|
+
n("div", gl, [
|
|
590
593
|
hl,
|
|
591
594
|
p(E, {
|
|
592
|
-
modelValue:
|
|
593
|
-
"onUpdate:modelValue": s[0] || (s[0] = (
|
|
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
|
-
(o(!0),
|
|
600
|
+
(o(!0), y(H, null, J(S.value, (a, i) => (o(), k(d, {
|
|
598
601
|
key: i,
|
|
599
|
-
label:
|
|
600
|
-
value:
|
|
602
|
+
label: a.label,
|
|
603
|
+
value: a.value
|
|
601
604
|
}, null, 8, ["label", "value"]))), 128))
|
|
602
605
|
]),
|
|
603
606
|
_: 1
|
|
@@ -606,41 +609,41 @@ const P = (r) => (je("data-v-009e01e7"), r = r(), He(), r), gl = { class: "kline
|
|
|
606
609
|
n("div", _l, [
|
|
607
610
|
Cl,
|
|
608
611
|
p(E, {
|
|
609
|
-
modelValue:
|
|
610
|
-
"onUpdate:modelValue": s[1] || (s[1] = (
|
|
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
|
-
(o(!0),
|
|
617
|
+
(o(!0), y(H, null, J(e(fl), (a, i) => (o(), k(d, {
|
|
615
618
|
key: i,
|
|
616
|
-
label:
|
|
617
|
-
value:
|
|
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
626
|
n("div", kl, [
|
|
624
|
-
|
|
627
|
+
wl,
|
|
625
628
|
p(h, {
|
|
626
|
-
modelValue:
|
|
627
|
-
"onUpdate:modelValue": s[2] || (s[2] = (
|
|
629
|
+
modelValue: t.sellBuyByPrice,
|
|
630
|
+
"onUpdate:modelValue": s[2] || (s[2] = (a) => t.sellBuyByPrice = a),
|
|
628
631
|
"true-value": 1,
|
|
629
632
|
"false-value": 0
|
|
630
633
|
}, null, 8, ["modelValue"])
|
|
631
634
|
]),
|
|
632
|
-
n("div",
|
|
635
|
+
n("div", Vl, [
|
|
633
636
|
Sl,
|
|
634
637
|
p(E, {
|
|
635
|
-
modelValue:
|
|
636
|
-
"onUpdate:modelValue": s[3] || (s[3] = (
|
|
638
|
+
modelValue: t.singelCycle,
|
|
639
|
+
"onUpdate:modelValue": s[3] || (s[3] = (a) => t.singelCycle = a),
|
|
637
640
|
"popper-class": "element-dark"
|
|
638
641
|
}, {
|
|
639
642
|
default: m(() => [
|
|
640
|
-
(o(!0),
|
|
643
|
+
(o(!0), y(H, null, J(g.value, (a, i) => (o(), k(d, {
|
|
641
644
|
key: i,
|
|
642
|
-
label:
|
|
643
|
-
value:
|
|
645
|
+
label: a.label,
|
|
646
|
+
value: a.value
|
|
644
647
|
}, null, 8, ["label", "value"]))), 128))
|
|
645
648
|
]),
|
|
646
649
|
_: 1
|
|
@@ -650,8 +653,8 @@ const P = (r) => (je("data-v-009e01e7"), r = r(), He(), r), gl = { class: "kline
|
|
|
650
653
|
Il,
|
|
651
654
|
p(N, {
|
|
652
655
|
size: "small",
|
|
653
|
-
modelValue:
|
|
654
|
-
"onUpdate:modelValue": s[4] || (s[4] = (
|
|
656
|
+
modelValue: t.multiCycleNum,
|
|
657
|
+
"onUpdate:modelValue": s[4] || (s[4] = (a) => t.multiCycleNum = a),
|
|
655
658
|
options: [
|
|
656
659
|
{ label: "二图", value: 2 },
|
|
657
660
|
{ label: "四图", value: 4 },
|
|
@@ -661,19 +664,19 @@ const P = (r) => (je("data-v-009e01e7"), r = r(), He(), r), gl = { class: "kline
|
|
|
661
664
|
}, null, 8, ["modelValue"])
|
|
662
665
|
]),
|
|
663
666
|
n("div", {
|
|
664
|
-
class: b(`setting-multi-box grid-${
|
|
667
|
+
class: b(`setting-multi-box grid-${t.multiCycleNum}`)
|
|
665
668
|
}, [
|
|
666
|
-
(o(!0),
|
|
669
|
+
(o(!0), y(H, null, J(t.multiCycleList.slice(0, t.multiCycleNum), (a, i) => (o(), y("div", Tl, [
|
|
667
670
|
n("div", Bl, [
|
|
668
|
-
n("span", null, M(e(bl)(
|
|
671
|
+
n("span", null, M(e(bl)(t.multiCycleList[i], g.value)), 1),
|
|
669
672
|
p(E, {
|
|
670
|
-
modelValue:
|
|
671
|
-
"onUpdate:modelValue": (K) =>
|
|
673
|
+
modelValue: t.multiCycleList[i],
|
|
674
|
+
"onUpdate:modelValue": (K) => t.multiCycleList[i] = K,
|
|
672
675
|
"popper-class": "element-dark"
|
|
673
676
|
}, {
|
|
674
677
|
default: m(() => [
|
|
675
|
-
(o(!0),
|
|
676
|
-
key:
|
|
678
|
+
(o(!0), y(H, null, J(g.value, (K, W) => (o(), k(d, {
|
|
679
|
+
key: W,
|
|
677
680
|
label: K.label,
|
|
678
681
|
value: K.value
|
|
679
682
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -688,8 +691,8 @@ const P = (r) => (je("data-v-009e01e7"), r = r(), He(), r), gl = { class: "kline
|
|
|
688
691
|
Pl,
|
|
689
692
|
p(N, {
|
|
690
693
|
size: "small",
|
|
691
|
-
modelValue:
|
|
692
|
-
"onUpdate:modelValue": s[5] || (s[5] = (
|
|
694
|
+
modelValue: t.pageType,
|
|
695
|
+
"onUpdate:modelValue": s[5] || (s[5] = (a) => t.pageType = a),
|
|
693
696
|
options: [
|
|
694
697
|
{ label: "单周期", value: 1 },
|
|
695
698
|
{ label: "多周期", value: 2 }
|
|
@@ -706,29 +709,29 @@ const P = (r) => (je("data-v-009e01e7"), r = r(), He(), r), gl = { class: "kline
|
|
|
706
709
|
n("div", Al, [
|
|
707
710
|
Ll,
|
|
708
711
|
p(l, {
|
|
709
|
-
modelValue:
|
|
710
|
-
"onUpdate:modelValue": s[6] || (s[6] = (
|
|
712
|
+
modelValue: t.enable_tradeLogBrush,
|
|
713
|
+
"onUpdate:modelValue": s[6] || (s[6] = (a) => t.enable_tradeLogBrush = a)
|
|
711
714
|
}, null, 8, ["modelValue"])
|
|
712
715
|
]),
|
|
713
716
|
n("div", Ol, [
|
|
714
717
|
Ul,
|
|
715
718
|
p(l, {
|
|
716
|
-
modelValue:
|
|
717
|
-
"onUpdate:modelValue": s[7] || (s[7] = (
|
|
719
|
+
modelValue: t.enable_showScreenTimeRange,
|
|
720
|
+
"onUpdate:modelValue": s[7] || (s[7] = (a) => t.enable_showScreenTimeRange = a)
|
|
718
721
|
}, null, 8, ["modelValue"])
|
|
719
722
|
]),
|
|
720
723
|
n("div", Rl, [
|
|
721
724
|
Dl,
|
|
722
725
|
p(l, {
|
|
723
|
-
modelValue:
|
|
724
|
-
"onUpdate:modelValue": s[8] || (s[8] = (
|
|
726
|
+
modelValue: t.enable_showScreenMaxPrice,
|
|
727
|
+
"onUpdate:modelValue": s[8] || (s[8] = (a) => t.enable_showScreenMaxPrice = a)
|
|
725
728
|
}, null, 8, ["modelValue"])
|
|
726
729
|
]),
|
|
727
730
|
n("div", Fl, [
|
|
728
731
|
$l,
|
|
729
732
|
p(l, {
|
|
730
|
-
modelValue:
|
|
731
|
-
"onUpdate:modelValue": s[9] || (s[9] = (
|
|
733
|
+
modelValue: t.enable_dbClickOpenSingel,
|
|
734
|
+
"onUpdate:modelValue": s[9] || (s[9] = (a) => t.enable_dbClickOpenSingel = a)
|
|
732
735
|
}, null, 8, ["modelValue"])
|
|
733
736
|
]),
|
|
734
737
|
p(A, { style: { "margin-top": "44px" } }, {
|
|
@@ -740,22 +743,22 @@ const P = (r) => (je("data-v-009e01e7"), r = r(), He(), r), gl = { class: "kline
|
|
|
740
743
|
n("div", Ml, [
|
|
741
744
|
Kl,
|
|
742
745
|
p(l, {
|
|
743
|
-
modelValue:
|
|
744
|
-
"onUpdate:modelValue": s[10] || (s[10] = (
|
|
746
|
+
modelValue: t.enable_subChart,
|
|
747
|
+
"onUpdate:modelValue": s[10] || (s[10] = (a) => t.enable_subChart = a)
|
|
745
748
|
}, null, 8, ["modelValue"])
|
|
746
749
|
]),
|
|
747
750
|
n("div", ql, [
|
|
748
751
|
jl,
|
|
749
752
|
p(l, {
|
|
750
|
-
modelValue:
|
|
751
|
-
"onUpdate:modelValue": s[11] || (s[11] = (
|
|
753
|
+
modelValue: t.enable_sliderChart,
|
|
754
|
+
"onUpdate:modelValue": s[11] || (s[11] = (a) => t.enable_sliderChart = a)
|
|
752
755
|
}, null, 8, ["modelValue"])
|
|
753
756
|
])
|
|
754
757
|
]),
|
|
755
758
|
_: 1
|
|
756
759
|
}),
|
|
757
760
|
n("div", Hl, [
|
|
758
|
-
p(R, { onClick:
|
|
761
|
+
p(R, { onClick: V }, {
|
|
759
762
|
default: m(() => [
|
|
760
763
|
j(" 恢复默认 ")
|
|
761
764
|
]),
|
|
@@ -777,11 +780,11 @@ const P = (r) => (je("data-v-009e01e7"), r = r(), He(), r), gl = { class: "kline
|
|
|
777
780
|
]);
|
|
778
781
|
};
|
|
779
782
|
}
|
|
780
|
-
},
|
|
783
|
+
}, Wl = /* @__PURE__ */ je(Jl, [["__scopeId", "data-v-009e01e7"]]), kt = {
|
|
781
784
|
install(r) {
|
|
782
|
-
r.component("st-klineConfig",
|
|
785
|
+
r.component("st-klineConfig", Wl);
|
|
783
786
|
}
|
|
784
787
|
};
|
|
785
788
|
export {
|
|
786
|
-
|
|
789
|
+
kt as default
|
|
787
790
|
};
|