st-comp 0.0.246 → 0.0.248
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.js +4 -4
- package/es/CustomFunction.js +42 -42
- package/es/FactorWarning.js +33 -33
- package/es/Kline.js +17 -17
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +520 -512
- package/es/KlineConfig.js +61 -61
- package/es/KlineNew.js +16 -16
- package/es/KlinePlus.cjs +4 -4
- package/es/KlinePlus.js +589 -575
- package/es/LinearLegend.cjs +1 -1
- package/es/LinearLegend.js +1 -63
- package/es/MonacoEditor.js +24 -24
- package/es/Pagination.js +73 -73
- package/es/PasswordPrompt.js +3 -3
- package/es/Table.js +38 -38
- package/es/User.js +44 -44
- package/es/VarSelectDialog.js +25 -25
- package/es/VarietyAutoComplete.js +10 -10
- package/es/VarietySearch.js +38 -38
- package/es/{VarietySelect-5a9dd50b.js → VarietySelect-b9fe3000.js} +4 -4
- package/es/VarietyTextCopy.cjs +3 -3
- package/es/VarietyTextCopy.js +15 -15
- package/es/VirtualTable.js +14 -14
- package/es/{_initCloneObject-c34c65bc.js → _initCloneObject-382335b2.js} +7 -7
- package/es/{base-a5af3db3.js → base-ff0e366f.js} +40 -40
- package/es/{castArray-7741a212.js → castArray-15070be9.js} +1 -1
- package/es/{config-provider-06a63185.js → config-provider-2e85eee8.js} +6 -6
- package/es/{debounce-8d53f4dd.js → debounce-e9e47f9a.js} +1 -1
- package/es/{dropdown-302f71e7.js → dropdown-2b35a683.js} +13 -13
- package/es/{el-autocomplete-ed75a659.js → el-autocomplete-18be2c5a.js} +16 -16
- package/es/{el-button-d09ff85f.js → el-button-f08c0639.js} +39 -39
- package/es/{el-checkbox-64648e02.js → el-checkbox-058dba2d.js} +31 -31
- package/es/{el-dialog-6a80e3d8.js → el-dialog-d328e0d8.js} +15 -15
- package/es/{el-divider-4e059794.js → el-divider-4fe55ebe.js} +1 -1
- package/es/{el-empty-33cb66f1.js → el-empty-ceecb81c.js} +5 -5
- package/es/{el-form-item-4eca95be.js → el-form-item-cb328886.js} +36 -36
- package/es/{el-input-cae60510.js → el-input-0f6ead19.js} +50 -50
- package/es/{el-input-number-c2499410.js → el-input-number-66e68609.js} +36 -36
- package/es/{el-loading-c738468d.js → el-loading-412370c7.js} +5 -5
- package/es/{el-menu-item-f904f685.js → el-menu-item-0ee8ad18.js} +22 -22
- package/es/{el-message-box-05d8cf39.js → el-message-box-6db52b29.js} +11 -11
- package/es/{el-message-0df23ae7.js → el-message-e6c755df.js} +23 -23
- package/es/{el-overlay-cc9bc792.js → el-overlay-981f8d49.js} +56 -56
- package/es/{el-popconfirm-a6f66a0e.js → el-popconfirm-005013fa.js} +20 -20
- package/es/{el-popper-a38874f4.js → el-popper-fdc7c793.js} +109 -109
- package/es/{el-segmented-51b1c797.js → el-segmented-050d0090.js} +8 -8
- package/es/{el-select-1b149fab.js → el-select-23a1f302.js} +64 -64
- package/es/{el-table-column-3e30ebae.js → el-table-column-d0c374cf.js} +15 -15
- package/es/{el-tag-0a25efdf.js → el-tag-f13f463b.js} +15 -15
- package/es/{el-text-73d899ff.js → el-text-27cef2be.js} +2 -2
- package/es/{index-42e59bf5.js → index-09bd2621.js} +43 -43
- package/es/{index-94e43e0d.js → index-15b9603e.js} +3 -3
- package/es/{index-960806da.js → index-269b8a8c.js} +36 -36
- package/es/{index-54d289d1.js → index-4a3f30c5.js} +12 -12
- package/es/{index-6e967429.js → index-80a7ad32.js} +17 -17
- package/es/{index-d77a7336.js → index-93a8960e.js} +1 -1
- package/es/{index-4194c942.js → index-b937ea22.js} +2 -2
- package/es/{index-ac98a4d8.js → index-c266c23a.js} +10 -10
- package/es/{index-6806997d.js → index-e0901394.js} +34 -34
- package/es/{index-87b4bf61.js → index-ec7ad93f.js} +31 -31
- package/es/{python-a914569a.js → python-823b276b.js} +24 -24
- package/es/raf-8e05a7f4.js +6 -0
- package/es/{scroll-679bd6bf.js → scroll-41b4f625.js} +5 -5
- package/es/style.css +1 -1
- package/es/{use-form-common-props-47e50c10.js → use-form-common-props-631cacae.js} +65 -65
- package/es/{use-global-config-f52caea0.js → use-global-config-5d001623.js} +14 -14
- package/es/{validator-94c04152.js → validator-4160d9e7.js} +1 -1
- package/es/{vnode-5ddb7ed1.js → vnode-06571d5b.js} +1 -1
- package/es/{zh-cn-4921961d.js → zh-cn-5df98ac2.js} +2 -2
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +162 -162
- package/lib/{index-2a325d42.js → index-f00d1e1f.js} +13173 -13151
- package/lib/{python-eb65d93b.js → python-0f34e2e6.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlineBasic/components/KlineSub/index.vue +35 -15
- package/packages/KlineBasic/components/KlineTips/index.vue +2 -2
- package/packages/KlineBasic/index.vue +39 -41
- package/packages/KlinePlus/index.vue +88 -62
- package/src/App.vue +15 -4
- package/src/pages/KlineBasic/index.vue +7 -7
- package/src/pages/KlineNew/components/KlineAction/mockApi/index.js +1 -1
- package/src/pages/KlineNew/components/KlineBasic/utils.js +1 -1
- package/src/pages/KlineNew/components/KlineSlide/utils.js +1 -1
- package/src/pages/KlinePlus/KlineDialog/MultiCycle.vue +312 -0
- package/src/pages/KlinePlus/KlineDialog/api.js +108 -0
- package/src/pages/KlinePlus/KlineDialog/index.vue +582 -0
- package/src/pages/KlinePlus/KlineDialog/indicator.js +109 -0
- package/src/pages/KlinePlus/KlineDialog/tools.js +86 -0
- package/src/pages/KlinePlus/index.vue +23 -209
- package/es/raf-80ef0c0a.js +0 -6
package/es/KlineConfig.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { b as ne,
|
|
2
|
-
import {
|
|
3
|
-
import { E as Ce } from "./el-button-
|
|
1
|
+
import { b as ne, C as fe, j as ie, u as re, _ as ue, w as de, d as be, g as G, e as x, f as ee, D as oe } from "./base-ff0e366f.js";
|
|
2
|
+
import { e as ge, f as ye, g as he, E as _e } from "./el-overlay-981f8d49.js";
|
|
3
|
+
import { E as Ce } from "./el-button-f08c0639.js";
|
|
4
4
|
import "./el-scrollbar-323542e7.js";
|
|
5
|
-
import { E as ke } from "./el-segmented-
|
|
6
|
-
import { E as we } from "./el-checkbox-
|
|
7
|
-
import "./el-tag-
|
|
8
|
-
import { E as Ve, a as Se } from "./el-select-
|
|
9
|
-
import {
|
|
10
|
-
import { E as Ne } from "./el-divider-
|
|
11
|
-
import { computed as T, ref as B, watch as Q, onBeforeUnmount as Pe, defineComponent as Z, useSlots as Le, openBlock as o, createBlock as k, unref as e, withCtx as p, createVNode as m, Transition as Ae, withDirectives as Oe, createElementVNode as n, mergeProps as Ue, withModifiers as ce, normalizeClass as b, createElementBlock as
|
|
5
|
+
import { E as ke } from "./el-segmented-050d0090.js";
|
|
6
|
+
import { E as we } from "./el-checkbox-058dba2d.js";
|
|
7
|
+
import "./el-tag-f13f463b.js";
|
|
8
|
+
import { E as Ve, a as Se } from "./el-select-23a1f302.js";
|
|
9
|
+
import { f as Ie, b as Ee, u as Te, U as te, C as ae, I as se, d as Be, t as ze } from "./el-popper-fdc7c793.js";
|
|
10
|
+
import { E as Ne } from "./el-divider-4fe55ebe.js";
|
|
11
|
+
import { computed as T, ref as B, watch as Q, onBeforeUnmount as Pe, defineComponent as Z, useSlots as Le, openBlock as o, createBlock as k, unref as e, withCtx as p, createVNode as m, Transition as Ae, withDirectives as Oe, createElementVNode as n, mergeProps as Ue, withModifiers as ce, normalizeClass as b, createElementBlock as g, renderSlot as $, toDisplayString as M, createCommentVNode as _, normalizeStyle as me, vShow as Re, onMounted as pe, 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
12
|
import { _ as je } from "./_plugin-vue_export-helper-dad06003.js";
|
|
13
|
-
import { E as D,
|
|
14
|
-
import { i as We } from "./validator-
|
|
15
|
-
import {
|
|
16
|
-
import { E as xe } from "./index-
|
|
13
|
+
import { E as D, a as He, l as Je } from "./index-ec7ad93f.js";
|
|
14
|
+
import { i as We } from "./validator-4160d9e7.js";
|
|
15
|
+
import { q as Xe, b as le, i as X, e as Ye, a as Ge, f as Qe, d as Ze } from "./use-form-common-props-631cacae.js";
|
|
16
|
+
import { E as xe } from "./index-e0901394.js";
|
|
17
17
|
import { u as el } from "./index-2e331d74.js";
|
|
18
|
-
import { u as ll } from "./index-
|
|
19
|
-
import "./vnode-
|
|
20
|
-
import "./scroll-
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./use-global-config-
|
|
23
|
-
import "./index-
|
|
18
|
+
import { u as ll } from "./index-93a8960e.js";
|
|
19
|
+
import "./vnode-06571d5b.js";
|
|
20
|
+
import "./scroll-41b4f625.js";
|
|
21
|
+
import "./index-269b8a8c.js";
|
|
22
|
+
import "./use-global-config-5d001623.js";
|
|
23
|
+
import "./index-09bd2621.js";
|
|
24
24
|
import "./index-657047bb.js";
|
|
25
|
-
import "./index-
|
|
26
|
-
import "./castArray-
|
|
27
|
-
import "./index-
|
|
28
|
-
import "./debounce-
|
|
25
|
+
import "./index-15b9603e.js";
|
|
26
|
+
import "./castArray-15070be9.js";
|
|
27
|
+
import "./index-4a3f30c5.js";
|
|
28
|
+
import "./debounce-e9e47f9a.js";
|
|
29
29
|
const tl = ne({
|
|
30
|
-
...
|
|
30
|
+
...ge,
|
|
31
31
|
direction: {
|
|
32
32
|
type: String,
|
|
33
33
|
default: "rtl",
|
|
@@ -50,9 +50,9 @@ const tl = ne({
|
|
|
50
50
|
type: String,
|
|
51
51
|
default: "2"
|
|
52
52
|
}
|
|
53
|
-
}), al =
|
|
53
|
+
}), al = ye;
|
|
54
54
|
function sl(r, A) {
|
|
55
|
-
const { width: C, height: c } = Xe(), w = T(() => ["ltr", "rtl"].includes(r.direction)), V = T(() => ["ltr", "ttb"].includes(r.direction) ? 1 : -1), u = T(() => w.value ? C.value : c.value), t = T(() => fe(
|
|
55
|
+
const { width: C, height: c } = Xe(), w = T(() => ["ltr", "rtl"].includes(r.direction)), V = T(() => ["ltr", "ttb"].includes(r.direction) ? 1 : -1), u = T(() => w.value ? C.value : c.value), t = T(() => fe(y.value + V.value * S.value, 4, u.value)), y = B(0), S = B(0), I = B(!1), O = B(!1);
|
|
56
56
|
let z = [], U = [];
|
|
57
57
|
const v = () => {
|
|
58
58
|
var h;
|
|
@@ -60,15 +60,15 @@ function sl(r, A) {
|
|
|
60
60
|
return N ? w.value ? N.offsetWidth : N.offsetHeight : 100;
|
|
61
61
|
};
|
|
62
62
|
Q(() => [r.size, r.resizable], () => {
|
|
63
|
-
O.value = !1,
|
|
63
|
+
O.value = !1, y.value = 0, S.value = 0, d();
|
|
64
64
|
});
|
|
65
65
|
const s = (h) => {
|
|
66
|
-
r.resizable && (O.value || (
|
|
66
|
+
r.resizable && (O.value || (y.value = v(), O.value = !0), z = [h.pageX, h.pageY], I.value = !0, U.push(le(window, "mouseup", d), le(window, "mousemove", L)));
|
|
67
67
|
}, L = (h) => {
|
|
68
68
|
const { pageX: N, pageY: l } = h, f = N - z[0], R = l - z[1];
|
|
69
69
|
S.value = w.value ? f : R;
|
|
70
70
|
}, d = () => {
|
|
71
|
-
z = [],
|
|
71
|
+
z = [], y.value = t.value, S.value = 0, I.value = !1, U.forEach((h) => h == null ? void 0 : h()), U = [];
|
|
72
72
|
}, E = le(A, "mousedown", s);
|
|
73
73
|
return Pe(() => {
|
|
74
74
|
E(), d();
|
|
@@ -94,7 +94,7 @@ const ol = Z({
|
|
|
94
94
|
version: "3.0.0",
|
|
95
95
|
ref: "https://element-plus.org/en-US/component/drawer.html#slots"
|
|
96
96
|
}, T(() => !!c.title));
|
|
97
|
-
const w = B(), V = B(), u = B(), t = re("drawer"), { t:
|
|
97
|
+
const w = B(), V = B(), u = B(), t = re("drawer"), { t: y } = ll(), {
|
|
98
98
|
afterEnter: S,
|
|
99
99
|
afterLeave: I,
|
|
100
100
|
beforeLeave: O,
|
|
@@ -172,7 +172,7 @@ const ol = Z({
|
|
|
172
172
|
class: b(e(t).e("sr-focus")),
|
|
173
173
|
tabindex: "-1"
|
|
174
174
|
}, null, 2),
|
|
175
|
-
i.withHeader ? (o(),
|
|
175
|
+
i.withHeader ? (o(), g("header", {
|
|
176
176
|
key: 0,
|
|
177
177
|
class: b([e(t).e("header"), i.headerClass])
|
|
178
178
|
}, [
|
|
@@ -191,9 +191,9 @@ const ol = Z({
|
|
|
191
191
|
class: b(e(t).e("title"))
|
|
192
192
|
}, M(i.title), 11, ["id", "aria-level"])
|
|
193
193
|
]),
|
|
194
|
-
i.showClose ? (o(),
|
|
194
|
+
i.showClose ? (o(), g("button", {
|
|
195
195
|
key: 2,
|
|
196
|
-
"aria-label": e(
|
|
196
|
+
"aria-label": e(y)("el.drawer.close"),
|
|
197
197
|
class: b(e(t).e("close-btn")),
|
|
198
198
|
type: "button",
|
|
199
199
|
onClick: e(f)
|
|
@@ -208,20 +208,20 @@ const ol = Z({
|
|
|
208
208
|
}, 8, ["class"])
|
|
209
209
|
], 10, ["aria-label", "onClick"])) : _("v-if", !0)
|
|
210
210
|
], 2)) : _("v-if", !0),
|
|
211
|
-
e(U) ? (o(),
|
|
211
|
+
e(U) ? (o(), g("div", {
|
|
212
212
|
key: 1,
|
|
213
213
|
id: e(s),
|
|
214
214
|
class: b([e(t).e("body"), i.bodyClass])
|
|
215
215
|
}, [
|
|
216
216
|
$(i.$slots, "default")
|
|
217
217
|
], 10, ["id"])) : _("v-if", !0),
|
|
218
|
-
i.$slots.footer ? (o(),
|
|
218
|
+
i.$slots.footer ? (o(), g("div", {
|
|
219
219
|
key: 2,
|
|
220
220
|
class: b([e(t).e("footer"), i.footerClass])
|
|
221
221
|
}, [
|
|
222
222
|
$(i.$slots, "footer")
|
|
223
223
|
], 2)) : _("v-if", !0),
|
|
224
|
-
i.resizable ? (o(),
|
|
224
|
+
i.resizable ? (o(), g("div", {
|
|
225
225
|
key: 3,
|
|
226
226
|
ref_key: "draggerRef",
|
|
227
227
|
ref: u,
|
|
@@ -320,10 +320,10 @@ const rl = de(il), ul = ne({
|
|
|
320
320
|
setup(r, { expose: A, emit: C }) {
|
|
321
321
|
const c = r, { formItem: w } = Ye(), V = Ge(), u = re("switch"), { inputId: t } = Qe(c, {
|
|
322
322
|
formItemContext: w
|
|
323
|
-
}),
|
|
323
|
+
}), y = Ze(T(() => c.loading)), S = B(c.modelValue !== !1), I = B(), O = B(), z = T(() => [
|
|
324
324
|
u.b(),
|
|
325
325
|
u.m(V.value),
|
|
326
|
-
u.is("disabled",
|
|
326
|
+
u.is("disabled", y.value),
|
|
327
327
|
u.is("checked", d.value)
|
|
328
328
|
]), U = T(() => [
|
|
329
329
|
u.e("label"),
|
|
@@ -350,7 +350,7 @@ const rl = de(il), ul = ne({
|
|
|
350
350
|
I.value.checked = d.value;
|
|
351
351
|
});
|
|
352
352
|
}, h = () => {
|
|
353
|
-
if (
|
|
353
|
+
if (y.value)
|
|
354
354
|
return;
|
|
355
355
|
const { beforeChange: l } = c;
|
|
356
356
|
if (!l) {
|
|
@@ -374,7 +374,7 @@ const rl = de(il), ul = ne({
|
|
|
374
374
|
}), A({
|
|
375
375
|
focus: N,
|
|
376
376
|
checked: d
|
|
377
|
-
}), (l, f) => (o(),
|
|
377
|
+
}), (l, f) => (o(), g("div", {
|
|
378
378
|
class: b(e(z)),
|
|
379
379
|
onClick: ce(h, ["prevent"])
|
|
380
380
|
}, [
|
|
@@ -386,17 +386,17 @@ const rl = de(il), ul = ne({
|
|
|
386
386
|
type: "checkbox",
|
|
387
387
|
role: "switch",
|
|
388
388
|
"aria-checked": e(d),
|
|
389
|
-
"aria-disabled": e(
|
|
389
|
+
"aria-disabled": e(y),
|
|
390
390
|
"aria-label": l.ariaLabel,
|
|
391
391
|
name: l.name,
|
|
392
392
|
"true-value": l.activeValue,
|
|
393
393
|
"false-value": l.inactiveValue,
|
|
394
|
-
disabled: e(
|
|
394
|
+
disabled: e(y),
|
|
395
395
|
tabindex: l.tabindex,
|
|
396
396
|
onChange: E,
|
|
397
397
|
onKeydown: De(h, ["enter"])
|
|
398
398
|
}, 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(),
|
|
399
|
+
!l.inlinePrompt && (l.inactiveIcon || l.inactiveText) ? (o(), g("span", {
|
|
400
400
|
key: 0,
|
|
401
401
|
class: b(e(U))
|
|
402
402
|
}, [
|
|
@@ -406,7 +406,7 @@ const rl = de(il), ul = ne({
|
|
|
406
406
|
]),
|
|
407
407
|
_: 1
|
|
408
408
|
})) : _("v-if", !0),
|
|
409
|
-
!l.inactiveIcon && l.inactiveText ? (o(),
|
|
409
|
+
!l.inactiveIcon && l.inactiveText ? (o(), g("span", {
|
|
410
410
|
key: 1,
|
|
411
411
|
"aria-hidden": e(d)
|
|
412
412
|
}, M(l.inactiveText), 9, ["aria-hidden"])) : _("v-if", !0)
|
|
@@ -417,7 +417,7 @@ const rl = de(il), ul = ne({
|
|
|
417
417
|
class: b(e(u).e("core")),
|
|
418
418
|
style: me(e(s))
|
|
419
419
|
}, [
|
|
420
|
-
l.inlinePrompt ? (o(),
|
|
420
|
+
l.inlinePrompt ? (o(), g("div", {
|
|
421
421
|
key: 0,
|
|
422
422
|
class: b(e(u).e("inner"))
|
|
423
423
|
}, [
|
|
@@ -429,7 +429,7 @@ const rl = de(il), ul = ne({
|
|
|
429
429
|
(o(), k(q(e(d) ? l.activeIcon : l.inactiveIcon)))
|
|
430
430
|
]),
|
|
431
431
|
_: 1
|
|
432
|
-
}, 8, ["class"])) : l.activeText || l.inactiveText ? (o(),
|
|
432
|
+
}, 8, ["class"])) : l.activeText || l.inactiveText ? (o(), g("span", {
|
|
433
433
|
key: 1,
|
|
434
434
|
class: b(e(u).is("text")),
|
|
435
435
|
"aria-hidden": !e(d)
|
|
@@ -463,7 +463,7 @@ const rl = de(il), ul = ne({
|
|
|
463
463
|
])
|
|
464
464
|
], 2)
|
|
465
465
|
], 6),
|
|
466
|
-
!l.inlinePrompt && (l.activeIcon || l.activeText) ? (o(),
|
|
466
|
+
!l.inlinePrompt && (l.activeIcon || l.activeText) ? (o(), g("span", {
|
|
467
467
|
key: 1,
|
|
468
468
|
class: b(e(v))
|
|
469
469
|
}, [
|
|
@@ -473,7 +473,7 @@ const rl = de(il), ul = ne({
|
|
|
473
473
|
]),
|
|
474
474
|
_: 1
|
|
475
475
|
})) : _("v-if", !0),
|
|
476
|
-
!l.activeIcon && l.activeText ? (o(),
|
|
476
|
+
!l.activeIcon && l.activeText ? (o(), g("span", {
|
|
477
477
|
key: 1,
|
|
478
478
|
"aria-hidden": !e(d)
|
|
479
479
|
}, M(l.activeText), 9, ["aria-hidden"])) : _("v-if", !0)
|
|
@@ -527,7 +527,7 @@ const fl = [
|
|
|
527
527
|
var C;
|
|
528
528
|
return ((C = A.find((c) => c.value === r)) == null ? void 0 : C.label) ?? "-";
|
|
529
529
|
};
|
|
530
|
-
const P = (r) => (Ke("data-v-6e5050a9"), r = r(), qe(), r),
|
|
530
|
+
const P = (r) => (Ke("data-v-6e5050a9"), r = r(), qe(), 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" }, wl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "开平点按价格标: ", -1)), Vl = { class: "setting-item" }, Sl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "单周期: ", -1)), Il = { class: "setting-item" }, El = /* @__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)), Ll = { class: "setting-item" }, Al = /* @__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 = {
|
|
531
531
|
__name: "index",
|
|
532
532
|
props: {
|
|
533
533
|
indicatorStore: { type: Object, default: () => ({}) },
|
|
@@ -539,7 +539,7 @@ const P = (r) => (Ke("data-v-6e5050a9"), r = r(), qe(), r), yl = { class: "kline
|
|
|
539
539
|
},
|
|
540
540
|
emits: "callBack",
|
|
541
541
|
setup(r, { expose: A, emit: C }) {
|
|
542
|
-
const { request: c } = $e("stConfig"), w = C, V = r, u = B(!1), t = Me({}),
|
|
542
|
+
const { request: c } = $e("stConfig"), w = C, V = r, u = B(!1), t = Me({}), y = B([]), S = B([]), I = () => {
|
|
543
543
|
Object.assign(t, Y());
|
|
544
544
|
}, O = async () => {
|
|
545
545
|
const v = JSON.stringify(t);
|
|
@@ -555,12 +555,12 @@ const P = (r) => (Ke("data-v-6e5050a9"), r = r(), qe(), r), yl = { class: "kline
|
|
|
555
555
|
}, U = async () => {
|
|
556
556
|
if (V.origin === "server") {
|
|
557
557
|
const { body: v } = await c.post("/common/qt/getDict", { dictIds: [1002] });
|
|
558
|
-
|
|
558
|
+
y.value = v[1002].map((s) => ({
|
|
559
559
|
label: s.dictName,
|
|
560
560
|
value: s.dictCode
|
|
561
561
|
}));
|
|
562
562
|
} else
|
|
563
|
-
|
|
563
|
+
y.value = V.cycleOptions;
|
|
564
564
|
};
|
|
565
565
|
return pe(() => {
|
|
566
566
|
U(), S.value = V.indicatorStore.mainIndicatorList ?? [];
|
|
@@ -578,7 +578,7 @@ const P = (r) => (Ke("data-v-6e5050a9"), r = r(), qe(), r), yl = { class: "kline
|
|
|
578
578
|
getDefaultUserKlineConfig: Y
|
|
579
579
|
}), (v, s) => {
|
|
580
580
|
const L = Ne, d = Ve, E = Se, h = we, N = ke, l = vl, f = xe, R = Ce, F = rl;
|
|
581
|
-
return o(),
|
|
581
|
+
return o(), g("div", gl, [
|
|
582
582
|
m(F, {
|
|
583
583
|
modelValue: u.value,
|
|
584
584
|
"onUpdate:modelValue": s[12] || (s[12] = (a) => u.value = a),
|
|
@@ -594,7 +594,7 @@ const P = (r) => (Ke("data-v-6e5050a9"), r = r(), qe(), r), yl = { class: "kline
|
|
|
594
594
|
]),
|
|
595
595
|
_: 1
|
|
596
596
|
}),
|
|
597
|
-
n("div",
|
|
597
|
+
n("div", yl, [
|
|
598
598
|
hl,
|
|
599
599
|
m(E, {
|
|
600
600
|
modelValue: t.mainIndicator,
|
|
@@ -602,7 +602,7 @@ const P = (r) => (Ke("data-v-6e5050a9"), r = r(), qe(), r), yl = { class: "kline
|
|
|
602
602
|
"popper-class": "element-dark"
|
|
603
603
|
}, {
|
|
604
604
|
default: p(() => [
|
|
605
|
-
(o(!0),
|
|
605
|
+
(o(!0), g(H, null, J(S.value, (a, i) => (o(), k(d, {
|
|
606
606
|
key: i,
|
|
607
607
|
label: a.label,
|
|
608
608
|
value: a.value
|
|
@@ -619,7 +619,7 @@ const P = (r) => (Ke("data-v-6e5050a9"), r = r(), qe(), r), yl = { class: "kline
|
|
|
619
619
|
"popper-class": "element-dark"
|
|
620
620
|
}, {
|
|
621
621
|
default: p(() => [
|
|
622
|
-
(o(!0),
|
|
622
|
+
(o(!0), g(H, null, J(e(fl), (a, i) => (o(), k(d, {
|
|
623
623
|
key: i,
|
|
624
624
|
label: a.label,
|
|
625
625
|
value: a.value
|
|
@@ -645,7 +645,7 @@ const P = (r) => (Ke("data-v-6e5050a9"), r = r(), qe(), r), yl = { class: "kline
|
|
|
645
645
|
"popper-class": "element-dark"
|
|
646
646
|
}, {
|
|
647
647
|
default: p(() => [
|
|
648
|
-
(o(!0),
|
|
648
|
+
(o(!0), g(H, null, J(y.value, (a, i) => (o(), k(d, {
|
|
649
649
|
key: i,
|
|
650
650
|
label: a.label,
|
|
651
651
|
value: a.value
|
|
@@ -671,16 +671,16 @@ const P = (r) => (Ke("data-v-6e5050a9"), r = r(), qe(), r), yl = { class: "kline
|
|
|
671
671
|
n("div", {
|
|
672
672
|
class: b(`setting-multi-box grid-${t.multiCycleNum}`)
|
|
673
673
|
}, [
|
|
674
|
-
(o(!0),
|
|
674
|
+
(o(!0), g(H, null, J(t.multiCycleList.slice(0, t.multiCycleNum), (a, i) => (o(), g("div", Tl, [
|
|
675
675
|
n("div", Bl, [
|
|
676
|
-
n("span", null, M(e(bl)(t.multiCycleList[i],
|
|
676
|
+
n("span", null, M(e(bl)(t.multiCycleList[i], y.value)), 1),
|
|
677
677
|
m(E, {
|
|
678
678
|
modelValue: t.multiCycleList[i],
|
|
679
679
|
"onUpdate:modelValue": (K) => t.multiCycleList[i] = K,
|
|
680
680
|
"popper-class": "element-dark"
|
|
681
681
|
}, {
|
|
682
682
|
default: p(() => [
|
|
683
|
-
(o(!0),
|
|
683
|
+
(o(!0), g(H, null, J(y.value, (K, W) => (o(), k(d, {
|
|
684
684
|
key: W,
|
|
685
685
|
label: K.label,
|
|
686
686
|
value: K.value
|
package/es/KlineNew.js
CHANGED
|
@@ -2,24 +2,24 @@ import { defineComponent as R, openBlock as T, createElementBlock as L, Fragment
|
|
|
2
2
|
import { i as te, t as z } from "./index.esm-8d9a2abe.js";
|
|
3
3
|
import { _ as q } from "./_plugin-vue_export-helper-dad06003.js";
|
|
4
4
|
import { x as G } from "./index-7ed0999e.js";
|
|
5
|
-
import "./base-
|
|
6
|
-
import "./el-tag-
|
|
7
|
-
import { E as ae, a as ne } from "./el-select-
|
|
5
|
+
import "./base-ff0e366f.js";
|
|
6
|
+
import "./el-tag-f13f463b.js";
|
|
7
|
+
import { E as ae, a as ne } from "./el-select-23a1f302.js";
|
|
8
8
|
import "./el-scrollbar-323542e7.js";
|
|
9
|
-
import "./el-popper-
|
|
9
|
+
import "./el-popper-fdc7c793.js";
|
|
10
10
|
import * as B from "echarts";
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./use-form-common-props-
|
|
14
|
-
import "./index-
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./castArray-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./scroll-
|
|
21
|
-
import "./debounce-
|
|
22
|
-
import "./vnode-
|
|
11
|
+
import "./index-09bd2621.js";
|
|
12
|
+
import "./index-269b8a8c.js";
|
|
13
|
+
import "./use-form-common-props-631cacae.js";
|
|
14
|
+
import "./index-ec7ad93f.js";
|
|
15
|
+
import "./index-93a8960e.js";
|
|
16
|
+
import "./index-e0901394.js";
|
|
17
|
+
import "./index-15b9603e.js";
|
|
18
|
+
import "./castArray-15070be9.js";
|
|
19
|
+
import "./index-4a3f30c5.js";
|
|
20
|
+
import "./scroll-41b4f625.js";
|
|
21
|
+
import "./debounce-e9e47f9a.js";
|
|
22
|
+
import "./vnode-06571d5b.js";
|
|
23
23
|
const oe = /* @__PURE__ */ R({
|
|
24
24
|
__name: "index",
|
|
25
25
|
setup(w, { expose: A }) {
|