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