st-comp 0.0.279 → 0.0.280
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 +13 -14
- package/es/CustomFunction.cjs +2 -2
- package/es/CustomFunction.js +342 -547
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +294 -294
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +19 -19
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +253 -253
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +579 -553
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +17 -17
- package/es/KlinePlus.cjs +2 -2
- package/es/KlinePlus.js +23 -24
- package/es/MonacoEditor.cjs +1 -1
- package/es/MonacoEditor.js +30 -29
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +517 -425
- package/es/PasswordPrompt.cjs +1 -1
- package/es/PasswordPrompt.js +3 -3
- package/es/Table.cjs +1 -1
- package/es/Table.js +46 -46
- package/es/User.cjs +1 -1
- package/es/User.js +898 -866
- package/es/VarSelectDialog.cjs +3 -3
- package/es/VarSelectDialog.js +110 -109
- package/es/VarietyAiHelper.cjs +7 -7
- package/es/VarietyAiHelper.js +605 -443
- package/es/VarietyAutoComplete.cjs +1 -1
- package/es/VarietyAutoComplete.js +11 -11
- package/es/VarietySearch.cjs +18 -18
- package/es/VarietySearch.js +3079 -2913
- package/es/{VarietySelect-d58eee29.cjs → VarietySelect-aa082a9c.cjs} +1 -1
- package/es/{VarietySelect-41daac7b.js → VarietySelect-c402bade.js} +5 -5
- package/es/VarietyTextCopy.cjs +3 -3
- package/es/VarietyTextCopy.js +51 -51
- package/es/VirtualTable.cjs +13 -1
- package/es/VirtualTable.js +1929 -2261
- package/es/_baseClone-10bdb989.cjs +1 -0
- package/es/_baseClone-98af8b33.js +210 -0
- package/es/base-d987e5c9.cjs +5 -0
- package/es/base-dd156b8e.js +790 -0
- package/es/{castArray-7741a212.js → castArray-18eb6a41.js} +1 -1
- package/es/{castArray-35947698.cjs → castArray-d9ffe84a.cjs} +1 -1
- package/es/clamp-17c4d8aa.cjs +1 -0
- package/es/clamp-c7512966.js +10 -0
- package/es/config-provider-33a127c4.cjs +1 -0
- package/es/config-provider-563023c9.js +86 -0
- package/es/debounce-0a98a9c6.js +57 -0
- package/es/debounce-37b17615.cjs +1 -0
- package/es/dropdown-ce7496c7.cjs +1 -0
- package/es/dropdown-feea8702.js +178 -0
- package/es/el-autocomplete-d9253bba.cjs +1 -0
- package/es/el-autocomplete-eac54f9f.js +434 -0
- package/es/el-button-8259594b.cjs +1 -0
- package/es/el-button-8a9721f8.js +343 -0
- package/es/el-checkbox-6303fc92.cjs +1 -0
- package/es/el-checkbox-c328b097.js +566 -0
- package/es/el-dialog-67536fac.js +252 -0
- package/es/el-dialog-8788bcc1.cjs +1 -0
- package/es/el-divider-3f0320be.cjs +1 -0
- package/es/el-divider-c5d72961.js +51 -0
- package/es/el-empty-552baf04.js +159 -0
- package/es/el-empty-58bc2a10.cjs +1 -0
- package/es/el-form-item-8efcf2c3.js +1265 -0
- package/es/el-form-item-95e68669.cjs +12 -0
- package/es/el-input-c8a9bb71.cjs +1 -0
- package/es/el-input-e66500b7.js +761 -0
- package/es/el-input-number-68ee0d65.js +390 -0
- package/es/el-input-number-d7a81922.cjs +1 -0
- package/es/el-loading-62132db2.cjs +1 -0
- package/es/el-loading-db4c6d13.js +190 -0
- package/es/el-menu-item-4b8e7794.cjs +1 -0
- package/es/el-menu-item-c2523d82.js +824 -0
- package/es/el-message-box-7c13546c.js +481 -0
- package/es/el-message-box-fed174f0.cjs +1 -0
- package/es/el-overlay-17299785.cjs +1 -0
- package/es/el-overlay-36f223e9.js +444 -0
- package/es/el-popconfirm-520b2928.cjs +1 -0
- package/es/el-popconfirm-a857c54a.js +190 -0
- package/es/el-popper-852446fd.js +2235 -0
- package/es/el-popper-f824c63b.cjs +1 -0
- package/es/{el-scrollbar-323542e7.js → el-scrollbar-0a42c1d0.js} +4 -9
- package/es/{el-scrollbar-bc3f790d.cjs → el-scrollbar-225c6c9e.cjs} +1 -1
- package/es/el-segmented-45dcc036.cjs +1 -0
- package/es/el-segmented-bf08279f.js +168 -0
- package/es/el-select-a34348e1.js +1535 -0
- package/es/el-select-d2958ae8.cjs +1 -0
- package/es/el-table-column-ad70ee0e.cjs +14 -0
- package/es/el-table-column-e2be313e.js +3651 -0
- package/es/el-tag-527f06f0.cjs +1 -0
- package/es/el-tag-9bcfae32.js +77 -0
- package/es/el-text-f9379288.js +84 -0
- package/es/el-text-fc345ffd.cjs +1 -0
- package/es/index-2419d69a.js +468 -0
- package/es/index-3806160e.js +710 -0
- package/es/index-3a0a7c36.cjs +1 -0
- package/es/index-3e7d5ffb.cjs +1 -0
- package/es/index-3ed0c678.cjs +1 -0
- package/es/index-47d30a52.js +372 -0
- package/es/index-5dec535a.cjs +1 -0
- package/es/index-5e76a22d.cjs +1 -0
- package/es/{index-eb96e074.js → index-60900c6c.js} +223 -254
- package/es/{index-a33b2fb8.js → index-69d2353a.js} +5090 -5090
- package/es/index-71ba4c28.cjs +1 -0
- package/es/index-7711aa69.cjs +1 -0
- package/es/index-7c4d8f5d.js +47 -0
- package/es/index-86678b72.js +131 -0
- package/es/index-99bb359f.cjs +1 -0
- package/es/index-99d4335d.cjs +1 -0
- package/es/index-a0522466.js +413 -0
- package/es/index-a181f161.js +429 -0
- package/es/index-b9a26e7f.js +141 -0
- package/es/{index-a9246d17.cjs → index-bb0bc131.cjs} +109 -109
- package/es/index-d372e68f.cjs +5 -0
- package/es/index-de9ad85c.js +12 -0
- package/es/{index-44a382a5.js → index-dfb34e00.js} +12 -12
- package/es/index-f5474dcc.cjs +3 -0
- package/es/{python-8a1664e6.js → python-6eafa04b.js} +32 -31
- package/es/{python-a3db9620.cjs → python-922eca89.cjs} +1 -1
- package/es/{raf-8249652f.cjs → raf-735cc598.cjs} +1 -1
- package/es/{raf-80ef0c0a.js → raf-b4fd1e12.js} +1 -1
- package/es/scroll-07bade1e.cjs +1 -0
- package/es/scroll-70271cb1.js +35 -0
- package/es/style.css +1 -1
- package/es/toNumber-b47ceb68.cjs +1 -0
- package/es/toNumber-f077c66a.js +31 -0
- package/es/use-form-item-0a831287.cjs +2 -0
- package/es/use-form-item-187cd7db.js +422 -0
- package/es/use-global-config-17dafd40.js +71 -0
- package/es/use-global-config-c90c91f7.cjs +1 -0
- package/es/{validator-c60a8956.js → validator-800ed2ba.js} +1 -1
- package/es/validator-ee5bc3eb.cjs +1 -0
- package/es/vnode-6f7b84f0.cjs +1 -0
- package/es/vnode-8ee9bf4e.js +12 -0
- package/es/{zh-cn-b59a0910.js → zh-cn-26cc7233.js} +36 -33
- package/es/zh-cn-a22a6792.cjs +1 -0
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +271 -252
- package/lib/{index-62fa175a.js → index-74ed48c6.js} +54107 -52151
- package/lib/{python-4a48fa39.js → python-7aaa84e4.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/_initCloneObject-5e73c9c8.js +0 -81
- package/es/_initCloneObject-a5832933.cjs +0 -1
- package/es/base-a5af3db3.js +0 -288
- package/es/base-ef747d02.cjs +0 -5
- package/es/config-provider-06ea6b42.cjs +0 -1
- package/es/config-provider-88b637a8.js +0 -59
- package/es/dayjs.min-2c20abe6.cjs +0 -1
- package/es/dayjs.min-8313b006.js +0 -299
- package/es/debounce-62f5b6e8.cjs +0 -1
- package/es/debounce-8d53f4dd.js +0 -83
- package/es/dropdown-4ce4c3e2.cjs +0 -1
- package/es/dropdown-72fbc15d.js +0 -178
- package/es/el-autocomplete-6cafcdf1.js +0 -329
- package/es/el-autocomplete-e0857c5b.cjs +0 -1
- package/es/el-button-613e0bb2.cjs +0 -1
- package/es/el-button-94d3de38.js +0 -272
- package/es/el-checkbox-6d4cb393.js +0 -459
- package/es/el-checkbox-e90762df.cjs +0 -1
- package/es/el-dialog-02942e22.cjs +0 -1
- package/es/el-dialog-5e30161f.js +0 -276
- package/es/el-divider-4713d74c.cjs +0 -1
- package/es/el-divider-4e059794.js +0 -45
- package/es/el-empty-1697ded8.cjs +0 -1
- package/es/el-empty-33cb66f1.js +0 -183
- package/es/el-form-item-44f060d8.cjs +0 -12
- package/es/el-form-item-9e8969ea.js +0 -1269
- package/es/el-input-342b2def.js +0 -531
- package/es/el-input-9a9a7f7f.cjs +0 -1
- package/es/el-input-number-65c847d6.cjs +0 -1
- package/es/el-input-number-c22b803a.js +0 -311
- package/es/el-loading-8179b497.cjs +0 -1
- package/es/el-loading-bcc51e3d.js +0 -203
- package/es/el-menu-item-339baf6d.js +0 -768
- package/es/el-menu-item-83186444.cjs +0 -1
- package/es/el-message-box-035b699c.js +0 -489
- package/es/el-message-box-c62d3217.cjs +0 -1
- package/es/el-overlay-3e17604b.js +0 -324
- package/es/el-overlay-8f1da9e8.cjs +0 -1
- package/es/el-popconfirm-4e32ec1b.cjs +0 -1
- package/es/el-popconfirm-f8a86e2c.js +0 -162
- package/es/el-popper-a4f3ae4d.cjs +0 -1
- package/es/el-popper-fbd0dcea.js +0 -2094
- package/es/el-segmented-56bd58a8.js +0 -142
- package/es/el-segmented-833ac177.cjs +0 -1
- package/es/el-select-44fa547d.js +0 -1256
- package/es/el-select-70806166.cjs +0 -1
- package/es/el-table-column-3e2cdfca.cjs +0 -14
- package/es/el-table-column-b74a857d.js +0 -3432
- package/es/el-tag-66c83156.js +0 -117
- package/es/el-tag-9c2f329f.cjs +0 -1
- package/es/el-text-034bd3f4.js +0 -67
- package/es/el-text-6b2374bb.cjs +0 -1
- package/es/index-00f6ca75.cjs +0 -1
- package/es/index-185792a7.cjs +0 -1
- package/es/index-1e2a38ab.js +0 -113
- package/es/index-2e331d74.js +0 -10
- package/es/index-3153c1db.cjs +0 -1
- package/es/index-5216d5f5.js +0 -406
- package/es/index-5c0dd943.cjs +0 -1
- package/es/index-657047bb.js +0 -513
- package/es/index-870b6c9d.cjs +0 -1
- package/es/index-8c2d7e05.js +0 -368
- package/es/index-960806da.js +0 -314
- package/es/index-9780a537.cjs +0 -1
- package/es/index-9d16cea8.cjs +0 -1
- package/es/index-ac8dc53d.cjs +0 -1
- package/es/index-bb833443.cjs +0 -1
- package/es/index-c5f2d372.js +0 -326
- package/es/index-c6584658.js +0 -163
- package/es/index-d77a7336.js +0 -204
- package/es/index-eea0bcb3.cjs +0 -1
- package/es/index-f034b910.js +0 -60
- package/es/index-f1c702f6.cjs +0 -1
- package/es/index-f58b2920.cjs +0 -1
- package/es/scroll-679bd6bf.js +0 -35
- package/es/scroll-b108dabd.cjs +0 -1
- package/es/use-form-common-props-ac666630.cjs +0 -1
- package/es/use-form-common-props-ed72e914.js +0 -364
- package/es/use-global-config-23472471.cjs +0 -1
- package/es/use-global-config-ee406d58.js +0 -72
- package/es/validator-366dbf39.cjs +0 -1
- package/es/vnode-5ddb7ed1.js +0 -14
- package/es/vnode-b906ae6d.cjs +0 -1
- package/es/zh-cn-c21d12d8.cjs +0 -1
package/es/KlineBasic.js
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { E as We } from "./el-dialog-
|
|
3
|
-
import "./el-
|
|
4
|
-
import "./el-input-
|
|
5
|
-
import { E as
|
|
6
|
-
import { E as
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
1
|
+
import { E as Ie } from "./el-button-8a9721f8.js";
|
|
2
|
+
import { E as We } from "./el-dialog-67536fac.js";
|
|
3
|
+
import { E as qe } from "./el-empty-552baf04.js";
|
|
4
|
+
import { E as ze } from "./el-input-number-68ee0d65.js";
|
|
5
|
+
import { E as Ze, a as Ue } from "./el-menu-item-c2523d82.js";
|
|
6
|
+
import { E as ce } from "./index-2419d69a.js";
|
|
7
|
+
import { d as F } from "./base-dd156b8e.js";
|
|
8
|
+
import "./el-overlay-36f223e9.js";
|
|
9
|
+
import "./el-input-e66500b7.js";
|
|
10
|
+
import "./el-popper-852446fd.js";
|
|
9
11
|
import "./el-tooltip-4ed993c7.js";
|
|
10
|
-
import "
|
|
11
|
-
import { defineComponent as be, ref as A, watch as te, nextTick as ne, openBlock as T, createElementBlock as E, Fragment as oe, renderList as fe, normalizeStyle as pe, toDisplayString as ae, computed as le, createVNode as I, onMounted as Se, onUnmounted as Me, createElementVNode as U, withCtx as z, createBlock as Le, createCommentVNode as G, renderSlot as Ye, createTextVNode as ue, pushScopeId as Ke, popScopeId as je } from "vue";
|
|
12
|
-
import { d as F } from "./dayjs.min-8313b006.js";
|
|
12
|
+
import { defineComponent as be, ref as A, watch as te, nextTick as ne, openBlock as T, createElementBlock as E, Fragment as oe, renderList as fe, normalizeStyle as pe, toDisplayString as ae, computed as le, createVNode as $, onMounted as Se, onUnmounted as Me, createElementVNode as U, withCtx as z, createBlock as Le, createCommentVNode as G, renderSlot as Ye, createTextVNode as ue } from "vue";
|
|
13
13
|
import * as xe from "echarts";
|
|
14
|
-
import { y as
|
|
14
|
+
import { y as He, V as Ke, R as je, A as Ce, U as ie, x as _e, D as Xe, j as de } from "./index-53cc4e43.js";
|
|
15
15
|
import "./el-message-4ed993c7.js";
|
|
16
|
-
import { E as de } from "./index-5216d5f5.js";
|
|
17
16
|
import { _ as J } from "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
import "./el-
|
|
19
|
-
import
|
|
20
|
-
import "./el-
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./use-form-
|
|
23
|
-
import "./index-
|
|
24
|
-
import "./index-
|
|
25
|
-
import "./
|
|
26
|
-
import "./
|
|
27
|
-
import "./
|
|
28
|
-
import "./
|
|
29
|
-
import "./
|
|
17
|
+
import { E as Ge, a as Je } from "./el-select-a34348e1.js";
|
|
18
|
+
import "./el-scrollbar-0a42c1d0.js";
|
|
19
|
+
import "./el-tag-9bcfae32.js";
|
|
20
|
+
import "./index-60900c6c.js";
|
|
21
|
+
import "./use-form-item-187cd7db.js";
|
|
22
|
+
import "./index-a181f161.js";
|
|
23
|
+
import "./index-de9ad85c.js";
|
|
24
|
+
import "./use-global-config-17dafd40.js";
|
|
25
|
+
import "./index-47d30a52.js";
|
|
26
|
+
import "./index-3806160e.js";
|
|
27
|
+
import "./clamp-c7512966.js";
|
|
28
|
+
import "./toNumber-f077c66a.js";
|
|
29
|
+
import "./vnode-8ee9bf4e.js";
|
|
30
30
|
import "./typescript-7ae59c4c.js";
|
|
31
|
-
import "./
|
|
32
|
-
import "./
|
|
33
|
-
import "./
|
|
34
|
-
import "./index-
|
|
35
|
-
import "./
|
|
36
|
-
import "./
|
|
37
|
-
import "./
|
|
31
|
+
import "./config-provider-563023c9.js";
|
|
32
|
+
import "./scroll-70271cb1.js";
|
|
33
|
+
import "./raf-b4fd1e12.js";
|
|
34
|
+
import "./index-7c4d8f5d.js";
|
|
35
|
+
import "./castArray-18eb6a41.js";
|
|
36
|
+
import "./index-a0522466.js";
|
|
37
|
+
import "./index-86678b72.js";
|
|
38
38
|
let C = null;
|
|
39
|
-
const
|
|
40
|
-
const w =
|
|
39
|
+
const Qe = (o) => {
|
|
40
|
+
const w = He(o, {
|
|
41
41
|
handleReq: (h) => {
|
|
42
|
-
|
|
42
|
+
Ke() && (h.headers.token = je());
|
|
43
43
|
},
|
|
44
44
|
handleRes: (h) => {
|
|
45
45
|
const { data: r } = h;
|
|
46
46
|
if (r.code === 401)
|
|
47
|
-
return location.origin.includes("localhost") ? location.href = `${location.origin}/#/404` :
|
|
47
|
+
return location.origin.includes("localhost") ? location.href = `${location.origin}/#/404` : Ce(), !0;
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
w.get, C = w.post;
|
|
51
|
-
},
|
|
52
|
-
const { data: e, time: m } =
|
|
51
|
+
}, et = (o) => C("/middleLayer/kline/getKlineBasic", { ...o, userId: ie("id") }), tt = (o) => C("/middleLayer/kline/getKline", o), nt = async (o) => C("/alarm/deliversign/addAlarmPrice", { ...o, userId: ie("id") }), ot = async (o) => C("/alarm/deliversign/findAlarmPriceByUserId", { ...o, userId: ie("id") }), Fe = async (o) => C("/alarm/deliversign/updateAlarmPrice", { ...o, userId: ie("id") }), at = async (o) => C("/alarm/deliversign/deleteAlarmPrice", { ...o, userId: ie("id") }), { round: j } = _e, lt = (o, w, h, r, i) => {
|
|
52
|
+
const { data: e, time: m } = o, { gridTop: s, gridRight: c, gridLeft: f, maxShowCounts: y, showSubChart: Y } = w;
|
|
53
53
|
return {
|
|
54
54
|
animation: !1,
|
|
55
55
|
grid: {
|
|
56
56
|
top: `${s}px`,
|
|
57
|
-
right: `${
|
|
57
|
+
right: `${c}px`,
|
|
58
58
|
bottom: Y ? "6px" : "24px",
|
|
59
59
|
left: `${f}px`
|
|
60
60
|
},
|
|
@@ -120,7 +120,7 @@ const nt = (t) => {
|
|
|
120
120
|
borderWidth: 1
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
|
-
...
|
|
123
|
+
...o.mainIndicator.map((a) => ({
|
|
124
124
|
name: a.key,
|
|
125
125
|
type: "line",
|
|
126
126
|
silent: !0,
|
|
@@ -150,11 +150,11 @@ const nt = (t) => {
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
|
-
},
|
|
154
|
-
const { variety: e, featureId: m, featureType: s } = h, { gridTop:
|
|
153
|
+
}, it = (o, w, h, r, i) => {
|
|
154
|
+
const { variety: e, featureId: m, featureType: s } = h, { gridTop: c, gridLeft: f, gridRight: y } = r;
|
|
155
155
|
return w.reduce((Y, a) => {
|
|
156
|
-
const { warnPrice: p } = a, _ =
|
|
157
|
-
if (_ <=
|
|
156
|
+
const { warnPrice: p } = a, _ = o == null ? void 0 : o.convertToPixel({ yAxisIndex: 0 }, p);
|
|
157
|
+
if (_ <= c || _ >= (o == null ? void 0 : o.getHeight()))
|
|
158
158
|
return Y;
|
|
159
159
|
let L = 0;
|
|
160
160
|
return [
|
|
@@ -173,7 +173,7 @@ const nt = (t) => {
|
|
|
173
173
|
// 开始X坐标
|
|
174
174
|
y1: _,
|
|
175
175
|
// 开始Y坐标
|
|
176
|
-
x2: (
|
|
176
|
+
x2: (o == null ? void 0 : o.getWidth()) - y,
|
|
177
177
|
// 结束X坐标
|
|
178
178
|
y2: _
|
|
179
179
|
// 结束Y坐标
|
|
@@ -188,7 +188,7 @@ const nt = (t) => {
|
|
|
188
188
|
{
|
|
189
189
|
type: "text",
|
|
190
190
|
info: a,
|
|
191
|
-
x: (
|
|
191
|
+
x: (o == null ? void 0 : o.getWidth()) - y,
|
|
192
192
|
y: _ - 5,
|
|
193
193
|
style: {
|
|
194
194
|
fill: "#FFF",
|
|
@@ -207,15 +207,15 @@ const nt = (t) => {
|
|
|
207
207
|
ondrag: (D) => {
|
|
208
208
|
var R;
|
|
209
209
|
if (D.target && D.target.childAt(1)) {
|
|
210
|
-
const
|
|
211
|
-
(R = D.target.childAt(1)) == null || R.animate("style", !1).when(1, { text: j(
|
|
210
|
+
const N = o.convertFromPixel({ yAxisIndex: 0 }, _ + (D.offsetY - L));
|
|
211
|
+
(R = D.target.childAt(1)) == null || R.animate("style", !1).when(1, { text: j(N, 3) }).start();
|
|
212
212
|
}
|
|
213
213
|
},
|
|
214
214
|
// 事件:结束拖拽
|
|
215
215
|
ondragend: async (D) => {
|
|
216
|
-
const
|
|
217
|
-
if (
|
|
218
|
-
const B =
|
|
216
|
+
const N = D.offsetY - L;
|
|
217
|
+
if (N !== 0) {
|
|
218
|
+
const B = o == null ? void 0 : o.convertFromPixel({ yAxisIndex: 0 }, N + _), V = {
|
|
219
219
|
id: a.id,
|
|
220
220
|
warnPrice: j(B, 3),
|
|
221
221
|
featureId: m,
|
|
@@ -225,14 +225,14 @@ const nt = (t) => {
|
|
|
225
225
|
featureType: s
|
|
226
226
|
//品种类型
|
|
227
227
|
};
|
|
228
|
-
await Fe(V),
|
|
228
|
+
await Fe(V), ce.success("画线预警修改成功"), i && i();
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
];
|
|
233
233
|
}, []);
|
|
234
234
|
};
|
|
235
|
-
function Ae(
|
|
235
|
+
function Ae(o) {
|
|
236
236
|
function w(r) {
|
|
237
237
|
if (typeof r == "number")
|
|
238
238
|
return Number.isFinite(r) ? r : null;
|
|
@@ -245,7 +245,7 @@ function Ae(t) {
|
|
|
245
245
|
}
|
|
246
246
|
return null;
|
|
247
247
|
}
|
|
248
|
-
const h = w(
|
|
248
|
+
const h = w(o);
|
|
249
249
|
if (h === null)
|
|
250
250
|
return "-";
|
|
251
251
|
try {
|
|
@@ -259,7 +259,7 @@ function Ae(t) {
|
|
|
259
259
|
return "-";
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
|
-
const
|
|
262
|
+
const rt = /* @__PURE__ */ be({
|
|
263
263
|
__name: "index",
|
|
264
264
|
props: {
|
|
265
265
|
// 提示数据
|
|
@@ -268,13 +268,13 @@ const ct = /* @__PURE__ */ be({
|
|
|
268
268
|
require: !0
|
|
269
269
|
}
|
|
270
270
|
},
|
|
271
|
-
setup(
|
|
272
|
-
const w =
|
|
271
|
+
setup(o) {
|
|
272
|
+
const w = o, h = A(null), r = A([]);
|
|
273
273
|
return te(() => w.data, () => {
|
|
274
274
|
r.value.length === 0 && ne(() => {
|
|
275
275
|
Array.from(h.value.children).forEach((i, e) => {
|
|
276
|
-
var m, s,
|
|
277
|
-
((s = (m = w.data) == null ? void 0 : m[e]) == null ? void 0 : s.label) === "涨跌" ? r.value[e] = "85px" : ((f = (
|
|
276
|
+
var m, s, c, f, y, Y, a, p;
|
|
277
|
+
((s = (m = w.data) == null ? void 0 : m[e]) == null ? void 0 : s.label) === "涨跌" ? r.value[e] = "85px" : ((f = (c = w.data) == null ? void 0 : c[e]) == null ? void 0 : f.label) === "至今涨幅" ? r.value[e] = "115px" : ((Y = (y = w.data) == null ? void 0 : y[e]) == null ? void 0 : Y.label) === "额" ? r.value[e] = "85px" : ["开", "高", "低", "收"].includes((p = (a = w.data) == null ? void 0 : a[e]) == null ? void 0 : p.label) ? r.value[e] = `${i.offsetWidth + 24}px` : r.value[e] = `${i.offsetWidth + 36}px`;
|
|
278
278
|
});
|
|
279
279
|
});
|
|
280
280
|
}), (i, e) => (T(), E("div", {
|
|
@@ -282,7 +282,7 @@ const ct = /* @__PURE__ */ be({
|
|
|
282
282
|
ref_key: "tipsRef",
|
|
283
283
|
ref: h
|
|
284
284
|
}, [
|
|
285
|
-
(T(!0), E(oe, null, fe(
|
|
285
|
+
(T(!0), E(oe, null, fe(o.data, (m, s) => (T(), E("div", {
|
|
286
286
|
key: s,
|
|
287
287
|
class: "kline-tips-item",
|
|
288
288
|
style: pe({ color: m.color, width: r.value[s] ? r.value[s] : null })
|
|
@@ -290,8 +290,8 @@ const ct = /* @__PURE__ */ be({
|
|
|
290
290
|
], 512));
|
|
291
291
|
}
|
|
292
292
|
});
|
|
293
|
-
const De = /* @__PURE__ */ J(
|
|
294
|
-
const
|
|
293
|
+
const De = /* @__PURE__ */ J(rt, [["__scopeId", "data-v-0ed8d951"]]);
|
|
294
|
+
const st = { class: "kline-tips" }, ut = {
|
|
295
295
|
__name: "index",
|
|
296
296
|
props: {
|
|
297
297
|
// 提示数据
|
|
@@ -308,8 +308,8 @@ const dt = { class: "kline-tips" }, ft = {
|
|
|
308
308
|
default: () => null
|
|
309
309
|
}
|
|
310
310
|
},
|
|
311
|
-
setup(
|
|
312
|
-
const { round: w, formatValue: h } = _e, r =
|
|
311
|
+
setup(o) {
|
|
312
|
+
const { round: w, formatValue: h } = _e, r = o, i = A(null);
|
|
313
313
|
te(() => r.activeIndex, () => {
|
|
314
314
|
var s;
|
|
315
315
|
i.value === null && (i.value = ((s = r.data.data[r.activeIndex]) == null ? void 0 : s[1]) ?? 0);
|
|
@@ -320,9 +320,9 @@ const dt = { class: "kline-tips" }, ft = {
|
|
|
320
320
|
i.value = null;
|
|
321
321
|
});
|
|
322
322
|
const e = le(() => {
|
|
323
|
-
const { data: s, activeIndex:
|
|
324
|
-
if (s.data && s.data[
|
|
325
|
-
const f = s.data[
|
|
323
|
+
const { data: s, activeIndex: c } = r;
|
|
324
|
+
if (s.data && s.data[c]) {
|
|
325
|
+
const f = s.data[c], y = [
|
|
326
326
|
{ label: "开", value: f[0] },
|
|
327
327
|
{ label: "高", value: f[3] },
|
|
328
328
|
{ label: "低", value: f[2] },
|
|
@@ -338,15 +338,15 @@ const dt = { class: "kline-tips" }, ft = {
|
|
|
338
338
|
return [];
|
|
339
339
|
}), m = le(() => {
|
|
340
340
|
var f;
|
|
341
|
-
const { data: s, activeIndex:
|
|
342
|
-
return ((f = s == null ? void 0 : s.mainIndicator) == null ? void 0 : f.map((y) => ({ label: y.key, value: Ae(y.data[
|
|
341
|
+
const { data: s, activeIndex: c } = r;
|
|
342
|
+
return ((f = s == null ? void 0 : s.mainIndicator) == null ? void 0 : f.map((y) => ({ label: y.key, value: Ae(y.data[c]), color: y.color }))) || [];
|
|
343
343
|
});
|
|
344
|
-
return (s,
|
|
345
|
-
|
|
346
|
-
|
|
344
|
+
return (s, c) => (T(), E("div", st, [
|
|
345
|
+
$(De, { data: e.value }, null, 8, ["data"]),
|
|
346
|
+
$(De, { data: m.value }, null, 8, ["data"])
|
|
347
347
|
]));
|
|
348
348
|
}
|
|
349
|
-
},
|
|
349
|
+
}, dt = /* @__PURE__ */ J(ut, [["__scopeId", "data-v-db894a3c"]]), ct = { class: "kline-averageTips" }, ft = /* @__PURE__ */ be({
|
|
350
350
|
__name: "index",
|
|
351
351
|
props: {
|
|
352
352
|
// 提示数据
|
|
@@ -355,9 +355,9 @@ const dt = { class: "kline-tips" }, ft = {
|
|
|
355
355
|
require: !0
|
|
356
356
|
}
|
|
357
357
|
},
|
|
358
|
-
setup(
|
|
359
|
-
return (w, h) => (T(), E("div",
|
|
360
|
-
(T(!0), E(oe, null, fe(
|
|
358
|
+
setup(o) {
|
|
359
|
+
return (w, h) => (T(), E("div", ct, [
|
|
360
|
+
(T(!0), E(oe, null, fe(o.data, (r, i) => (T(), E("div", {
|
|
361
361
|
key: i,
|
|
362
362
|
class: "kline-averageTips-item",
|
|
363
363
|
style: pe({ color: r.color })
|
|
@@ -365,11 +365,11 @@ const dt = { class: "kline-tips" }, ft = {
|
|
|
365
365
|
]));
|
|
366
366
|
}
|
|
367
367
|
});
|
|
368
|
-
const
|
|
369
|
-
const
|
|
368
|
+
const pt = /* @__PURE__ */ J(ft, [["__scopeId", "data-v-c544514b"]]);
|
|
369
|
+
const mt = { class: "klineSub" }, vt = { class: "klineSub-tips" }, yt = {
|
|
370
370
|
key: 0,
|
|
371
371
|
class: "klineSub-tips-select"
|
|
372
|
-
},
|
|
372
|
+
}, gt = {
|
|
373
373
|
__name: "index",
|
|
374
374
|
props: {
|
|
375
375
|
cycle: {
|
|
@@ -382,12 +382,12 @@ const gt = { class: "klineSub" }, xt = { class: "klineSub-tips" }, bt = {
|
|
|
382
382
|
subIndicatorList: { type: Array, required: !0 }
|
|
383
383
|
},
|
|
384
384
|
emits: ["update:modelValue"],
|
|
385
|
-
setup(
|
|
385
|
+
setup(o, { expose: w, emit: h }) {
|
|
386
386
|
const { round: r } = _e;
|
|
387
387
|
let i = null, e = null;
|
|
388
|
-
const m = A(!0), s = h,
|
|
388
|
+
const m = A(!0), s = h, c = o, f = A(), y = le({
|
|
389
389
|
get() {
|
|
390
|
-
return
|
|
390
|
+
return c.modelValue;
|
|
391
391
|
},
|
|
392
392
|
set(p) {
|
|
393
393
|
s("update:modelValue", p);
|
|
@@ -396,7 +396,7 @@ const gt = { class: "klineSub" }, xt = { class: "klineSub-tips" }, bt = {
|
|
|
396
396
|
var L;
|
|
397
397
|
if (!m.value)
|
|
398
398
|
return [];
|
|
399
|
-
const { data: p, activeIndex: _ } =
|
|
399
|
+
const { data: p, activeIndex: _ } = c;
|
|
400
400
|
return ((L = p == null ? void 0 : p.subIndicator) == null ? void 0 : L.map((D) => ({ label: D.key, color: D.color, value: Ae(D.data[_]) }))) || [];
|
|
401
401
|
});
|
|
402
402
|
Se(() => {
|
|
@@ -436,7 +436,7 @@ const gt = { class: "klineSub" }, xt = { class: "klineSub-tips" }, bt = {
|
|
|
436
436
|
!m.value || !i || i.isDisposed() || ne(() => {
|
|
437
437
|
if (!m.value || !i || i.isDisposed())
|
|
438
438
|
return;
|
|
439
|
-
const { startValue: L, endValue: D, maxValueSpan: R } = p, { leftYAxisRange:
|
|
439
|
+
const { startValue: L, endValue: D, maxValueSpan: R } = p, { leftYAxisRange: N, rightYAxisRange: B } = c.data.subIndicator[0], V = c.data.subIndicator.map((x) => {
|
|
440
440
|
if (x.series === "bar")
|
|
441
441
|
return {
|
|
442
442
|
name: "subMain",
|
|
@@ -445,16 +445,16 @@ const gt = { class: "klineSub" }, xt = { class: "klineSub-tips" }, bt = {
|
|
|
445
445
|
type: "bar",
|
|
446
446
|
silent: !0,
|
|
447
447
|
symbol: "none",
|
|
448
|
-
data: x.data.map((
|
|
449
|
-
value:
|
|
450
|
-
itemStyle: a(
|
|
448
|
+
data: x.data.map((I, q) => x.seriesColor === "kline" ? {
|
|
449
|
+
value: I,
|
|
450
|
+
itemStyle: a(c.data.data, q)
|
|
451
451
|
} : x.seriesColor === "value" ? {
|
|
452
|
-
value:
|
|
452
|
+
value: I,
|
|
453
453
|
itemStyle: {
|
|
454
|
-
color:
|
|
454
|
+
color: I >= 0 ? "#FF0000" : "#00FFFF"
|
|
455
455
|
}
|
|
456
456
|
} : {
|
|
457
|
-
value:
|
|
457
|
+
value: I,
|
|
458
458
|
itemStyle: {
|
|
459
459
|
color: x.seriesColor
|
|
460
460
|
}
|
|
@@ -503,9 +503,9 @@ const gt = { class: "klineSub" }, xt = { class: "klineSub-tips" }, bt = {
|
|
|
503
503
|
label: {
|
|
504
504
|
rich: {},
|
|
505
505
|
formatter: (x) => {
|
|
506
|
-
const { axisDimension:
|
|
507
|
-
if (
|
|
508
|
-
return ["6", "7", "8"].includes(
|
|
506
|
+
const { axisDimension: I, value: q } = x;
|
|
507
|
+
if (I === "x")
|
|
508
|
+
return ["6", "7", "8"].includes(c.cycle) ? F(q).format("YYYY-MM-DD") : q;
|
|
509
509
|
if (x.axisIndex === 1)
|
|
510
510
|
return String(r(q));
|
|
511
511
|
}
|
|
@@ -515,7 +515,7 @@ const gt = { class: "klineSub" }, xt = { class: "klineSub-tips" }, bt = {
|
|
|
515
515
|
},
|
|
516
516
|
xAxis: {
|
|
517
517
|
type: "category",
|
|
518
|
-
data:
|
|
518
|
+
data: c.data.time,
|
|
519
519
|
axisLine: {
|
|
520
520
|
show: !0
|
|
521
521
|
},
|
|
@@ -523,7 +523,7 @@ const gt = { class: "klineSub" }, xt = { class: "klineSub-tips" }, bt = {
|
|
|
523
523
|
show: !1
|
|
524
524
|
},
|
|
525
525
|
axisLabel: {
|
|
526
|
-
formatter: (x) => ["6", "7", "8"].includes(
|
|
526
|
+
formatter: (x) => ["6", "7", "8"].includes(c.cycle) ? F(x).format("YYYY-MM-DD") : x
|
|
527
527
|
}
|
|
528
528
|
},
|
|
529
529
|
yAxis: [
|
|
@@ -532,8 +532,8 @@ const gt = { class: "klineSub" }, xt = { class: "klineSub-tips" }, bt = {
|
|
|
532
532
|
},
|
|
533
533
|
{
|
|
534
534
|
position: "left",
|
|
535
|
-
min:
|
|
536
|
-
max:
|
|
535
|
+
min: N === "cover" ? (x) => x.min : null,
|
|
536
|
+
max: N === "cover" ? (x) => x.max : null,
|
|
537
537
|
splitNumber: 1,
|
|
538
538
|
axisLine: {
|
|
539
539
|
show: !0
|
|
@@ -569,11 +569,11 @@ const gt = { class: "klineSub" }, xt = { class: "klineSub-tips" }, bt = {
|
|
|
569
569
|
});
|
|
570
570
|
}
|
|
571
571
|
}), (p, _) => {
|
|
572
|
-
const L =
|
|
573
|
-
return T(), E("div",
|
|
574
|
-
U("div",
|
|
575
|
-
Y.value.length ? (T(), E("div",
|
|
576
|
-
|
|
572
|
+
const L = Ge, D = Je;
|
|
573
|
+
return T(), E("div", mt, [
|
|
574
|
+
U("div", vt, [
|
|
575
|
+
Y.value.length ? (T(), E("div", yt, [
|
|
576
|
+
$(D, {
|
|
577
577
|
modelValue: y.value,
|
|
578
578
|
"onUpdate:modelValue": _[0] || (_[0] = (R) => y.value = R),
|
|
579
579
|
size: "small",
|
|
@@ -581,7 +581,7 @@ const gt = { class: "klineSub" }, xt = { class: "klineSub-tips" }, bt = {
|
|
|
581
581
|
class: "element-dark subIndicator"
|
|
582
582
|
}, {
|
|
583
583
|
default: z(() => [
|
|
584
|
-
(T(!0), E(oe, null, fe(
|
|
584
|
+
(T(!0), E(oe, null, fe(o.subIndicatorList, (R) => (T(), Le(L, {
|
|
585
585
|
key: R.value,
|
|
586
586
|
label: R.label,
|
|
587
587
|
value: R.value
|
|
@@ -590,7 +590,7 @@ const gt = { class: "klineSub" }, xt = { class: "klineSub-tips" }, bt = {
|
|
|
590
590
|
_: 1
|
|
591
591
|
}, 8, ["modelValue"])
|
|
592
592
|
])) : G("", !0),
|
|
593
|
-
|
|
593
|
+
$(pt, { data: Y.value }, null, 8, ["data"])
|
|
594
594
|
]),
|
|
595
595
|
U("div", {
|
|
596
596
|
class: "klineSub-chart",
|
|
@@ -600,39 +600,39 @@ const gt = { class: "klineSub" }, xt = { class: "klineSub-tips" }, bt = {
|
|
|
600
600
|
]);
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
|
-
},
|
|
603
|
+
}, xt = /* @__PURE__ */ J(gt, [["__scopeId", "data-v-6e6b5f5b"]]), bt = /* @__PURE__ */ be({
|
|
604
604
|
__name: "index",
|
|
605
605
|
emits: ["closeContextMenuCallBack"],
|
|
606
|
-
setup(
|
|
606
|
+
setup(o, { emit: w }) {
|
|
607
607
|
const h = w, r = A(), i = A(), e = A({
|
|
608
608
|
display: "none",
|
|
609
609
|
top: "0px",
|
|
610
610
|
left: "0px"
|
|
611
611
|
}), m = () => {
|
|
612
612
|
e.value.display = "none", h("closeContextMenuCallBack"), document.removeEventListener("click", m);
|
|
613
|
-
}, s = (
|
|
614
|
-
if (
|
|
615
|
-
const { offsetX: f, offsetY: y } =
|
|
613
|
+
}, s = (c) => {
|
|
614
|
+
if (c.preventDefault(), e.value.display === "block") {
|
|
615
|
+
const { offsetX: f, offsetY: y } = c, { offsetWidth: Y, offsetHeight: a } = i.value;
|
|
616
616
|
if (f <= Y && y <= a)
|
|
617
617
|
return;
|
|
618
618
|
}
|
|
619
619
|
r.value.click(), e.value = {
|
|
620
620
|
display: "block",
|
|
621
|
-
top: `${
|
|
622
|
-
left: `${
|
|
621
|
+
top: `${c.offsetY}px`,
|
|
622
|
+
left: `${c.offsetX}px`
|
|
623
623
|
}, ne(() => {
|
|
624
624
|
const f = r.value.getBoundingClientRect(), y = i.value.getBoundingClientRect();
|
|
625
|
-
y.left + y.width >= f.right && (e.value.left = `${
|
|
625
|
+
y.left + y.width >= f.right && (e.value.left = `${c.offsetX - y.width}px`), y.top + y.height >= f.bottom && (console.log("高度超出"), e.value.top = `${c.offsetY - y.height}px`);
|
|
626
626
|
}), document.addEventListener("click", m);
|
|
627
627
|
};
|
|
628
|
-
return (
|
|
628
|
+
return (c, f) => (T(), E("div", {
|
|
629
629
|
ref_key: "contextmenuRef",
|
|
630
630
|
ref: r,
|
|
631
631
|
class: "contextmenu",
|
|
632
632
|
onContextmenu: s,
|
|
633
633
|
onMouseleave: m
|
|
634
634
|
}, [
|
|
635
|
-
Ye(
|
|
635
|
+
Ye(c.$slots, "default", {}, void 0, !0),
|
|
636
636
|
e.value.display !== "none" ? (T(), E("div", {
|
|
637
637
|
key: 0,
|
|
638
638
|
ref_key: "contextmenuContentRef",
|
|
@@ -640,25 +640,25 @@ const gt = { class: "klineSub" }, xt = { class: "klineSub-tips" }, bt = {
|
|
|
640
640
|
class: "contextmenu-popover",
|
|
641
641
|
style: pe(e.value)
|
|
642
642
|
}, [
|
|
643
|
-
Ye(
|
|
643
|
+
Ye(c.$slots, "popover", {}, void 0, !0)
|
|
644
644
|
], 4)) : G("", !0)
|
|
645
645
|
], 544));
|
|
646
646
|
}
|
|
647
647
|
});
|
|
648
|
-
const
|
|
649
|
-
const
|
|
648
|
+
const _t = /* @__PURE__ */ J(bt, [["__scopeId", "data-v-8d581ce9"]]);
|
|
649
|
+
const ht = {
|
|
650
650
|
key: 0,
|
|
651
651
|
class: "klineBasic-tips"
|
|
652
|
-
},
|
|
652
|
+
}, wt = {
|
|
653
653
|
key: 1,
|
|
654
654
|
class: "klineBasic-sub"
|
|
655
|
-
},
|
|
655
|
+
}, kt = {
|
|
656
656
|
key: 2,
|
|
657
657
|
class: "klineBasic-empty"
|
|
658
|
-
},
|
|
658
|
+
}, Yt = {
|
|
659
659
|
key: 3,
|
|
660
660
|
class: "klineBasic-error"
|
|
661
|
-
},
|
|
661
|
+
}, Dt = { style: { "text-align": "center" } }, St = { class: "dialog-footer" }, Mt = {
|
|
662
662
|
__name: "index",
|
|
663
663
|
props: {
|
|
664
664
|
variety: {
|
|
@@ -715,10 +715,10 @@ const Te = (t) => (Ke("data-v-c051c308"), t = t(), je(), t), Yt = {
|
|
|
715
715
|
}
|
|
716
716
|
},
|
|
717
717
|
emits: ["change", "getFactorData"],
|
|
718
|
-
setup(
|
|
718
|
+
setup(o, { expose: w, emit: h }) {
|
|
719
719
|
const r = [{ label: "画线预警", key: "drawWarningLine" }];
|
|
720
|
-
let i = null, e = null, m = null, s = null,
|
|
721
|
-
const Y = h, a =
|
|
720
|
+
let i = null, e = null, m = null, s = null, c = null, f = !1, y = !1;
|
|
721
|
+
const Y = h, a = o, p = A(!1), _ = A(!1), L = A(!1), D = A(null), R = A(null), N = A("VOL"), B = A(0), V = A({}), x = A([]), I = A({}), q = A(!1), re = A(""), me = A([...r]), W = le(() => ({
|
|
722
722
|
defaultShowCounts: 500,
|
|
723
723
|
addCounts: 2e3,
|
|
724
724
|
maxShowCounts: 5e3,
|
|
@@ -730,8 +730,8 @@ const Te = (t) => (Ke("data-v-c051c308"), t = t(), je(), t), Yt = {
|
|
|
730
730
|
showWarningLine: !0,
|
|
731
731
|
getFactorData: !0,
|
|
732
732
|
...a.config
|
|
733
|
-
})),
|
|
734
|
-
e || (e = xe.init(D.value), $e(), W.value.showSubChart && R.value.connect(e), i =
|
|
733
|
+
})), Te = () => {
|
|
734
|
+
e || (e = xe.init(D.value), $e(), W.value.showSubChart && R.value.connect(e), i = Xe(D.value), i.listen(() => {
|
|
735
735
|
requestAnimationFrame(() => {
|
|
736
736
|
e == null || e.resize(), Q();
|
|
737
737
|
});
|
|
@@ -740,39 +740,39 @@ const Te = (t) => (Ke("data-v-c051c308"), t = t(), je(), t), Yt = {
|
|
|
740
740
|
e && !e.isDisposed() && e.hideLoading();
|
|
741
741
|
}, he = (n = !1) => {
|
|
742
742
|
m && (cancelAnimationFrame(m), m = null), m = requestAnimationFrame(() => {
|
|
743
|
-
|
|
744
|
-
|
|
743
|
+
Ve(n), m = requestAnimationFrame(() => {
|
|
744
|
+
Ee(), m = requestAnimationFrame(() => {
|
|
745
745
|
Q(), m = null;
|
|
746
746
|
});
|
|
747
747
|
});
|
|
748
748
|
});
|
|
749
|
-
},
|
|
749
|
+
}, Ve = (n = !1) => {
|
|
750
750
|
var u, S, k;
|
|
751
751
|
if (!e || e.isDisposed())
|
|
752
752
|
return;
|
|
753
|
-
const { time:
|
|
754
|
-
let
|
|
753
|
+
const { time: t } = V.value, { defaultShowCounts: v } = W.value;
|
|
754
|
+
let d = t.length - 1 - v, g = t.length - 1;
|
|
755
755
|
if (n && e) {
|
|
756
|
-
const M = e.getOption(), b = (S = (u = M == null ? void 0 : M.xAxis) == null ? void 0 : u[0]) == null ? void 0 : S.data,
|
|
757
|
-
if (b != null && b.length &&
|
|
758
|
-
const H = b[
|
|
756
|
+
const M = e.getOption(), b = (S = (u = M == null ? void 0 : M.xAxis) == null ? void 0 : u[0]) == null ? void 0 : S.data, O = (k = M == null ? void 0 : M.dataZoom) == null ? void 0 : k[0];
|
|
757
|
+
if (b != null && b.length && O) {
|
|
758
|
+
const H = b[O.startValue], K = b[O.endValue];
|
|
759
759
|
if (H && K) {
|
|
760
|
-
const ge =
|
|
761
|
-
|
|
760
|
+
const ge = t.findIndex((ee) => new Date(ee).getTime() >= new Date(H).getTime()), X = t.findLastIndex((ee) => new Date(ee).getTime() <= new Date(K).getTime());
|
|
761
|
+
d = ge !== -1 ? ge : 0, g = X !== -1 ? X : t.length - 1, d > g && (d = Math.max(0, g - Math.min(100, t.length - 1)));
|
|
762
762
|
}
|
|
763
763
|
}
|
|
764
764
|
}
|
|
765
|
-
const l =
|
|
765
|
+
const l = lt(V.value, W.value, d, g, a.cycle);
|
|
766
766
|
requestAnimationFrame(() => {
|
|
767
767
|
e == null || e.setOption(l, !0), B.value = g, requestAnimationFrame(() => {
|
|
768
|
-
|
|
768
|
+
Re();
|
|
769
769
|
});
|
|
770
770
|
});
|
|
771
|
-
},
|
|
771
|
+
}, Ee = () => {
|
|
772
772
|
var S;
|
|
773
773
|
if (!W.value.showSubChart || !R.value)
|
|
774
774
|
return;
|
|
775
|
-
const { time: n } = V.value, { gridLeft:
|
|
775
|
+
const { time: n } = V.value, { gridLeft: t, gridRight: v, maxShowCounts: d, defaultShowCounts: g } = W.value;
|
|
776
776
|
let l = n.length - 1 - g, u = n.length - 1;
|
|
777
777
|
if (e && !e.isDisposed()) {
|
|
778
778
|
const k = e.getOption();
|
|
@@ -783,16 +783,16 @@ const Te = (t) => (Ke("data-v-c051c308"), t = t(), je(), t), Yt = {
|
|
|
783
783
|
}
|
|
784
784
|
requestAnimationFrame(() => {
|
|
785
785
|
var k;
|
|
786
|
-
(k = R.value) == null || k.draw({ startValue: l, endValue: u, maxValueSpan:
|
|
786
|
+
(k = R.value) == null || k.draw({ startValue: l, endValue: u, maxValueSpan: d }, { gridLeft: t, gridRight: v });
|
|
787
787
|
});
|
|
788
788
|
}, Q = () => {
|
|
789
789
|
e && (s && (cancelAnimationFrame(s), s = null), s = requestAnimationFrame(() => {
|
|
790
790
|
if (!(e == null ? void 0 : e.getOption()))
|
|
791
791
|
return;
|
|
792
|
-
const
|
|
793
|
-
!
|
|
792
|
+
const t = e == null ? void 0 : e.getWidth(), v = e == null ? void 0 : e.getHeight();
|
|
793
|
+
!t || !v || (e == null || e.setOption(
|
|
794
794
|
{
|
|
795
|
-
graphic:
|
|
795
|
+
graphic: it(e, x.value, a, W.value, () => {
|
|
796
796
|
se();
|
|
797
797
|
})
|
|
798
798
|
},
|
|
@@ -803,52 +803,52 @@ const Te = (t) => (Ke("data-v-c051c308"), t = t(), je(), t), Yt = {
|
|
|
803
803
|
}
|
|
804
804
|
), s = null);
|
|
805
805
|
}));
|
|
806
|
-
},
|
|
807
|
-
|
|
806
|
+
}, Re = () => {
|
|
807
|
+
c && cancelAnimationFrame(c), c = requestAnimationFrame(() => {
|
|
808
808
|
const { time: n } = V.value;
|
|
809
809
|
if (!a.brushRange || !(n != null && n.length) || !e)
|
|
810
810
|
return;
|
|
811
|
-
let
|
|
811
|
+
let t = F(a.brushRange[0]).format("YYYY-MM-DD 00:00:00"), v = F(a.brushRange[1]).format("YYYY-MM-DD 23:59:59"), d = null, g = null;
|
|
812
812
|
switch (String(a.cycle)) {
|
|
813
813
|
case "6": {
|
|
814
|
-
|
|
814
|
+
d = n.find((l) => F(l).format("YYYY-MM-DD") === F(t).format("YYYY-MM-DD")), g = d;
|
|
815
815
|
break;
|
|
816
816
|
}
|
|
817
817
|
case "7": {
|
|
818
|
-
|
|
818
|
+
d = n.find((l) => F(l).day(5).format("YYYY-MM-DD") === F(t).day(5).format("YYYY-MM-DD")), g = n.findLast((l) => F(l).day(5).format("YYYY-MM-DD") === F(v).day(5).format("YYYY-MM-DD"));
|
|
819
819
|
break;
|
|
820
820
|
}
|
|
821
821
|
case "8": {
|
|
822
|
-
|
|
822
|
+
d = n.find((l) => F(l).endOf("month").format("YYYY-MM-DD") === F(t).endOf("month").format("YYYY-MM-DD")), g = n.findLast((l) => F(l).endOf("month").format("YYYY-MM-DD") === F(v).endOf("month").format("YYYY-MM-DD"));
|
|
823
823
|
break;
|
|
824
824
|
}
|
|
825
825
|
default:
|
|
826
|
-
|
|
827
|
-
const u = F(l).format("YYYY-MM-DD") === F(
|
|
826
|
+
d = n.find((l) => {
|
|
827
|
+
const u = F(l).format("YYYY-MM-DD") === F(t).format("YYYY-MM-DD"), S = new Date(l).getTime() >= new Date(t).getTime();
|
|
828
828
|
return u && S;
|
|
829
829
|
}), g = n.findLast((l) => {
|
|
830
830
|
const u = F(l).format("YYYY-MM-DD") === F(v).format("YYYY-MM-DD"), S = new Date(l).getTime() <= new Date(v).getTime();
|
|
831
831
|
return u && S;
|
|
832
832
|
});
|
|
833
833
|
}
|
|
834
|
-
|
|
834
|
+
d && g && e.dispatchAction({
|
|
835
835
|
type: "brush",
|
|
836
836
|
areas: [
|
|
837
837
|
{
|
|
838
838
|
brushType: "lineX",
|
|
839
|
-
coordRange: [
|
|
839
|
+
coordRange: [d, g],
|
|
840
840
|
xAxisIndex: 0
|
|
841
841
|
}
|
|
842
842
|
]
|
|
843
|
-
}),
|
|
843
|
+
}), c = null;
|
|
844
844
|
});
|
|
845
845
|
}, ye = async () => {
|
|
846
|
-
var n,
|
|
846
|
+
var n, t, v, d, g, l;
|
|
847
847
|
try {
|
|
848
848
|
if (!a.variety || !a.cycle)
|
|
849
849
|
return;
|
|
850
|
-
const { variety: u, featureId: S, cycle: k, indicatorStore: M, mainIndicator: b, right:
|
|
851
|
-
|
|
850
|
+
const { variety: u, featureId: S, cycle: k, indicatorStore: M, mainIndicator: b, right: O, startTime: H, endTime: K } = a, { defaultShowCounts: ge, addCounts: X, showWarningLine: ee, getFactorData: ke } = W.value;
|
|
851
|
+
Te(), e && !e.isDisposed() && e.showLoading({
|
|
852
852
|
text: "加载中...",
|
|
853
853
|
color: "#409eff",
|
|
854
854
|
textColor: "#fff",
|
|
@@ -860,57 +860,57 @@ const Te = (t) => (Ke("data-v-c051c308"), t = t(), je(), t), Yt = {
|
|
|
860
860
|
featureId: S,
|
|
861
861
|
cycle: k,
|
|
862
862
|
mainIndicatorList: M.getIndicatorParams(b),
|
|
863
|
-
subIndicator:
|
|
864
|
-
right:
|
|
863
|
+
subIndicator: N.value,
|
|
864
|
+
right: O,
|
|
865
865
|
showWarningLine: ee,
|
|
866
866
|
getFactorData: ke
|
|
867
867
|
};
|
|
868
868
|
H && K ? (Z.startTime = H, Z.endTime = K) : H ? (Z.startTime = H, Z.limit = X) : K ? (Z.endTime = K, Z.limit = X) : (Z.endTime = F().add(1, "hour").format("YYYY-MM-DD HH:mm:ss"), Z.limit = X);
|
|
869
|
-
const
|
|
870
|
-
if (!((v = (
|
|
869
|
+
const P = await et(Z);
|
|
870
|
+
if (!((v = (t = (n = P == null ? void 0 : P.body) == null ? void 0 : n.kline) == null ? void 0 : t.time) != null && v.length)) {
|
|
871
871
|
_.value = !0, L.value = !1, ve();
|
|
872
872
|
return;
|
|
873
873
|
}
|
|
874
|
-
_.value = !1, L.value = !1, V.value = (
|
|
874
|
+
_.value = !1, L.value = !1, V.value = (d = P == null ? void 0 : P.body) == null ? void 0 : d.kline, x.value = ((g = P == null ? void 0 : P.body) == null ? void 0 : g.warningLine) || [], await ne(), he(!1), ke && Y("getFactorData", (l = P == null ? void 0 : P.body) == null ? void 0 : l.factor), ve();
|
|
875
875
|
} catch (u) {
|
|
876
876
|
throw ve(), L.value = !0, _.value = !1, new Error(u);
|
|
877
877
|
}
|
|
878
|
-
},
|
|
879
|
-
const { variety:
|
|
878
|
+
}, Be = async (n) => {
|
|
879
|
+
const { variety: t, cycle: v, indicatorStore: d, mainIndicator: g, right: l } = a, { addCounts: u } = W.value, { time: S } = V.value;
|
|
880
880
|
if (n === "history") {
|
|
881
|
-
const k = await
|
|
882
|
-
variety:
|
|
881
|
+
const k = await tt({
|
|
882
|
+
variety: t,
|
|
883
883
|
cycle: v,
|
|
884
884
|
endTime: S[0],
|
|
885
885
|
limit: u,
|
|
886
|
-
mainIndicatorList:
|
|
887
|
-
subIndicator:
|
|
886
|
+
mainIndicatorList: d.getIndicatorParams(g),
|
|
887
|
+
subIndicator: N.value,
|
|
888
888
|
right: l
|
|
889
889
|
});
|
|
890
890
|
V.value = {
|
|
891
891
|
time: [...k.body.time, ...V.value.time.slice(1)],
|
|
892
892
|
data: [...k.body.data, ...V.value.data.slice(1)],
|
|
893
893
|
mainIndicator: V.value.mainIndicator.map((M, b) => {
|
|
894
|
-
var
|
|
894
|
+
var O;
|
|
895
895
|
return {
|
|
896
896
|
...M,
|
|
897
|
-
data: [...((
|
|
897
|
+
data: [...((O = k.body.mainIndicator[b]) == null ? void 0 : O.data) ?? [], ...M.data.slice(1)]
|
|
898
898
|
};
|
|
899
899
|
}),
|
|
900
900
|
subIndicator: V.value.subIndicator.map((M, b) => {
|
|
901
|
-
var
|
|
901
|
+
var O;
|
|
902
902
|
return {
|
|
903
903
|
...M,
|
|
904
|
-
data: [...((
|
|
904
|
+
data: [...((O = k.body.subIndicator[b]) == null ? void 0 : O.data) ?? [], ...M.data.slice(1)]
|
|
905
905
|
};
|
|
906
906
|
})
|
|
907
907
|
}, console.log("触发了加载更多数据"), await ne(), he(!0), k.body.data.length < u && (y = !0, console.log("历史数据已经全部加载完毕")), f = !1;
|
|
908
908
|
}
|
|
909
|
-
}, we = ({ code: n, ctrlKey:
|
|
910
|
-
if (!(
|
|
909
|
+
}, we = ({ code: n, ctrlKey: t }) => {
|
|
910
|
+
if (!(t || p.value))
|
|
911
911
|
return;
|
|
912
|
-
const { xAxis: v, dataZoom:
|
|
913
|
-
let { startValue: l, endValue: u } = (
|
|
912
|
+
const { xAxis: v, dataZoom: d } = e.getOption(), { data: g } = (v == null ? void 0 : v[0]) ?? { data: [] };
|
|
913
|
+
let { startValue: l, endValue: u } = (d == null ? void 0 : d[0]) ?? {};
|
|
914
914
|
if (g != null && g.length) {
|
|
915
915
|
switch (n) {
|
|
916
916
|
case "ArrowUp": {
|
|
@@ -948,44 +948,44 @@ const Te = (t) => (Ke("data-v-c051c308"), t = t(), je(), t), Yt = {
|
|
|
948
948
|
}, $e = () => {
|
|
949
949
|
e == null || e.on(
|
|
950
950
|
"datazoom",
|
|
951
|
-
|
|
952
|
-
var v,
|
|
953
|
-
const { loadCheckCounts:
|
|
954
|
-
if ((
|
|
951
|
+
de((n) => {
|
|
952
|
+
var v, d, g, l;
|
|
953
|
+
const { loadCheckCounts: t } = W.value;
|
|
954
|
+
if ((d = (v = e == null ? void 0 : e.getOption()) == null ? void 0 : v.dataZoom) != null && d[0]) {
|
|
955
955
|
const { startValue: u } = (l = (g = e == null ? void 0 : e.getOption()) == null ? void 0 : g.dataZoom) == null ? void 0 : l[0];
|
|
956
|
-
u <
|
|
956
|
+
u < t && !f && !y && (f = !0, Be("history")), Q();
|
|
957
957
|
}
|
|
958
958
|
}, 100)
|
|
959
959
|
), e == null || e.on(
|
|
960
960
|
"highlight",
|
|
961
|
-
|
|
962
|
-
var v,
|
|
963
|
-
let
|
|
964
|
-
n.batch && (
|
|
961
|
+
de((n) => {
|
|
962
|
+
var v, d;
|
|
963
|
+
let t = n.dataIndex || -1;
|
|
964
|
+
n.batch && (t = typeof ((v = n == null ? void 0 : n.batch[0]) == null ? void 0 : v.dataIndex) == "number" ? (d = n == null ? void 0 : n.batch[0]) == null ? void 0 : d.dataIndex : -1), B.value = t;
|
|
965
965
|
}, 20)
|
|
966
966
|
), e == null || e.on(
|
|
967
967
|
"globalout",
|
|
968
|
-
|
|
969
|
-
var n,
|
|
968
|
+
de(() => {
|
|
969
|
+
var n, t, v;
|
|
970
970
|
if (e) {
|
|
971
|
-
const
|
|
972
|
-
B.value =
|
|
971
|
+
const d = (v = (t = (n = e == null ? void 0 : e.getOption()) == null ? void 0 : n.dataZoom) == null ? void 0 : t[0]) == null ? void 0 : v.endValue;
|
|
972
|
+
B.value = d;
|
|
973
973
|
}
|
|
974
974
|
}, 30)
|
|
975
975
|
), e == null || e.on(
|
|
976
976
|
"contextmenu",
|
|
977
|
-
|
|
978
|
-
n.componentType === "graphic" && (
|
|
977
|
+
de((n) => {
|
|
978
|
+
n.componentType === "graphic" && (I.value = n.info, me.value = [
|
|
979
979
|
{ label: "删除画线", key: "deleteWarningLine" },
|
|
980
980
|
{ label: "修改画线", key: "changeWarningLine" }
|
|
981
981
|
]);
|
|
982
982
|
}, 0)
|
|
983
983
|
);
|
|
984
984
|
}, se = async () => {
|
|
985
|
-
const n = await
|
|
985
|
+
const n = await ot({ featureId: a.featureId });
|
|
986
986
|
x.value = (n == null ? void 0 : n.body) || [], Q(), Y("change", "warningLine", x.value);
|
|
987
987
|
}, Ne = async (n) => {
|
|
988
|
-
const { variety:
|
|
988
|
+
const { variety: t, varietyName: v, featureId: d, featureType: g } = a;
|
|
989
989
|
if (n.key === "drawWarningLine") {
|
|
990
990
|
const l = e == null ? void 0 : e.getOption(), u = l.tooltip[0];
|
|
991
991
|
e == null || e.setOption({
|
|
@@ -1021,36 +1021,36 @@ const Te = (t) => (Ke("data-v-c051c308"), t = t(), je(), t), Yt = {
|
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
1023
1023
|
}
|
|
1024
|
-
}), await
|
|
1025
|
-
featureCode:
|
|
1024
|
+
}), await nt({
|
|
1025
|
+
featureCode: t,
|
|
1026
1026
|
featureName: v,
|
|
1027
|
-
featureId:
|
|
1027
|
+
featureId: d,
|
|
1028
1028
|
featureType: g,
|
|
1029
1029
|
warnPrice: b
|
|
1030
|
-
}),
|
|
1030
|
+
}), ce.success("画线预警成功!"), se();
|
|
1031
1031
|
};
|
|
1032
1032
|
e == null || e.getZr().on("mousedown", S);
|
|
1033
1033
|
} else
|
|
1034
|
-
n.key === "deleteWarningLine" ? (await
|
|
1034
|
+
n.key === "deleteWarningLine" ? (await at({ id: I.value.id }), ce.success("画线预警删除成功"), se()) : n.key === "changeWarningLine" && (q.value = !0, re.value = I.value.warnPrice);
|
|
1035
1035
|
}, Oe = async () => {
|
|
1036
|
-
const { variety: n, varietyName:
|
|
1036
|
+
const { variety: n, varietyName: t, featureId: v, featureType: d } = a;
|
|
1037
1037
|
await Fe({
|
|
1038
|
-
id:
|
|
1038
|
+
id: I.value.id,
|
|
1039
1039
|
featureCode: n,
|
|
1040
|
-
featureName:
|
|
1040
|
+
featureName: t,
|
|
1041
1041
|
featureId: v,
|
|
1042
|
-
featureType:
|
|
1042
|
+
featureType: d,
|
|
1043
1043
|
warnPrice: re.value
|
|
1044
|
-
}),
|
|
1044
|
+
}), ce.success("画线预警修改成功"), se();
|
|
1045
1045
|
}, Pe = () => {
|
|
1046
1046
|
me.value = [...r];
|
|
1047
1047
|
};
|
|
1048
1048
|
return Se(() => {
|
|
1049
|
-
|
|
1049
|
+
Qe(a.env), ye(), window.addEventListener("keydown", we);
|
|
1050
1050
|
}), te(
|
|
1051
1051
|
() => {
|
|
1052
|
-
var n,
|
|
1053
|
-
return [a.variety, a.cycle, a.mainIndicator,
|
|
1052
|
+
var n, t;
|
|
1053
|
+
return [a.variety, a.cycle, a.mainIndicator, N.value, (n = a.indicatorStore) == null ? void 0 : n.filterIndicator, (t = a.indicatorStore) == null ? void 0 : t.customIndicator];
|
|
1054
1054
|
},
|
|
1055
1055
|
() => {
|
|
1056
1056
|
f = !1, y = !1, ye();
|
|
@@ -1059,21 +1059,21 @@ const Te = (t) => (Ke("data-v-c051c308"), t = t(), je(), t), Yt = {
|
|
|
1059
1059
|
), Me(() => {
|
|
1060
1060
|
m && (cancelAnimationFrame(m), m = null), s && (cancelAnimationFrame(s), s = null), e == null || e.off("datazoom"), e == null || e.off("highlight"), e == null || e.off("globalout"), e == null || e.dispose(), i == null || i.dispose(), window.removeEventListener("keydown", we);
|
|
1061
1061
|
}), w({
|
|
1062
|
-
draw: (n,
|
|
1063
|
-
n === "warningLine" && (x.value =
|
|
1062
|
+
draw: (n, t) => {
|
|
1063
|
+
n === "warningLine" && (x.value = t, Q());
|
|
1064
1064
|
}
|
|
1065
|
-
}), (n,
|
|
1065
|
+
}), (n, t) => {
|
|
1066
1066
|
var k, M;
|
|
1067
|
-
const v =
|
|
1067
|
+
const v = Ze, d = Ue, g = qe, l = Ie, u = ze, S = We;
|
|
1068
1068
|
return T(), E(oe, null, [
|
|
1069
1069
|
U("div", {
|
|
1070
1070
|
class: "klineBasic",
|
|
1071
|
-
onMousemove:
|
|
1072
|
-
onMouseout:
|
|
1071
|
+
onMousemove: t[1] || (t[1] = (b) => p.value = !0),
|
|
1072
|
+
onMouseout: t[2] || (t[2] = (b) => p.value = !1)
|
|
1073
1073
|
}, [
|
|
1074
|
-
(k = V.value.time) != null && k.length ? (T(), E("div",
|
|
1075
|
-
|
|
1076
|
-
variety:
|
|
1074
|
+
(k = V.value.time) != null && k.length ? (T(), E("div", ht, [
|
|
1075
|
+
$(dt, {
|
|
1076
|
+
variety: o.variety,
|
|
1077
1077
|
data: V.value,
|
|
1078
1078
|
activeIndex: B.value
|
|
1079
1079
|
}, null, 8, ["variety", "data", "activeIndex"])
|
|
@@ -1082,9 +1082,9 @@ const Te = (t) => (Ke("data-v-c051c308"), t = t(), je(), t), Yt = {
|
|
|
1082
1082
|
class: "klineBasic-main",
|
|
1083
1083
|
style: pe({ height: W.value.showSubChart ? "70%" : "100%" })
|
|
1084
1084
|
}, [
|
|
1085
|
-
|
|
1085
|
+
$(_t, { onCloseContextMenuCallBack: Pe }, {
|
|
1086
1086
|
popover: z(() => [
|
|
1087
|
-
|
|
1087
|
+
$(d, { style: {
|
|
1088
1088
|
borderRadius: "4px",
|
|
1089
1089
|
overflow: "hidden",
|
|
1090
1090
|
background: "#fff",
|
|
@@ -1095,7 +1095,7 @@ const Te = (t) => (Ke("data-v-c051c308"), t = t(), je(), t), Yt = {
|
|
|
1095
1095
|
style: { height: "36px" },
|
|
1096
1096
|
key: b.key,
|
|
1097
1097
|
index: b.key,
|
|
1098
|
-
onClick: (
|
|
1098
|
+
onClick: (O) => Ne(b)
|
|
1099
1099
|
}, {
|
|
1100
1100
|
default: z(() => [
|
|
1101
1101
|
ue(ae(b.label), 1)
|
|
@@ -1116,69 +1116,69 @@ const Te = (t) => (Ke("data-v-c051c308"), t = t(), je(), t), Yt = {
|
|
|
1116
1116
|
_: 1
|
|
1117
1117
|
})
|
|
1118
1118
|
], 4),
|
|
1119
|
-
W.value.showSubChart ? (T(), E("div",
|
|
1120
|
-
|
|
1119
|
+
W.value.showSubChart ? (T(), E("div", wt, [
|
|
1120
|
+
$(xt, {
|
|
1121
1121
|
ref_key: "klineSubRef",
|
|
1122
1122
|
ref: R,
|
|
1123
|
-
modelValue:
|
|
1124
|
-
"onUpdate:modelValue":
|
|
1123
|
+
modelValue: N.value,
|
|
1124
|
+
"onUpdate:modelValue": t[0] || (t[0] = (b) => N.value = b),
|
|
1125
1125
|
data: V.value,
|
|
1126
|
-
cycle:
|
|
1126
|
+
cycle: o.cycle,
|
|
1127
1127
|
activeIndex: B.value,
|
|
1128
|
-
subIndicatorList: (M =
|
|
1128
|
+
subIndicatorList: (M = o.indicatorStore) == null ? void 0 : M.subIndicatorList
|
|
1129
1129
|
}, null, 8, ["modelValue", "data", "cycle", "activeIndex", "subIndicatorList"])
|
|
1130
1130
|
])) : G("", !0),
|
|
1131
|
-
_.value ? (T(), E("div",
|
|
1132
|
-
|
|
1131
|
+
_.value ? (T(), E("div", kt, [
|
|
1132
|
+
$(g, {
|
|
1133
1133
|
class: "klineBasic-empty-content",
|
|
1134
1134
|
description: "暂无数据"
|
|
1135
1135
|
})
|
|
1136
1136
|
])) : G("", !0),
|
|
1137
|
-
L.value ? (T(), E("div",
|
|
1138
|
-
|
|
1139
|
-
U("div",
|
|
1140
|
-
|
|
1141
|
-
default: z(() => [
|
|
1142
|
-
ue("刷新")
|
|
1143
|
-
]),
|
|
1137
|
+
L.value ? (T(), E("div", Yt, [
|
|
1138
|
+
t[7] || (t[7] = U("div", { class: "klineBasic-error-content" }, "加载失败,请刷新重试", -1)),
|
|
1139
|
+
U("div", Dt, [
|
|
1140
|
+
$(l, { onClick: ye }, {
|
|
1141
|
+
default: z(() => [...t[6] || (t[6] = [
|
|
1142
|
+
ue("刷新", -1)
|
|
1143
|
+
])]),
|
|
1144
1144
|
_: 1
|
|
1145
1145
|
})
|
|
1146
1146
|
])
|
|
1147
1147
|
])) : G("", !0)
|
|
1148
1148
|
], 32),
|
|
1149
|
-
|
|
1149
|
+
$(S, {
|
|
1150
1150
|
modelValue: q.value,
|
|
1151
|
-
"onUpdate:modelValue":
|
|
1151
|
+
"onUpdate:modelValue": t[5] || (t[5] = (b) => q.value = b),
|
|
1152
1152
|
title: "画线预警-修改价格",
|
|
1153
1153
|
width: "30%",
|
|
1154
1154
|
"align-center": ""
|
|
1155
1155
|
}, {
|
|
1156
1156
|
footer: z(() => [
|
|
1157
|
-
U("span",
|
|
1158
|
-
|
|
1159
|
-
onClick:
|
|
1157
|
+
U("span", St, [
|
|
1158
|
+
$(l, {
|
|
1159
|
+
onClick: t[4] || (t[4] = (b) => q.value = !1)
|
|
1160
1160
|
}, {
|
|
1161
|
-
default: z(() => [
|
|
1162
|
-
ue("取消")
|
|
1163
|
-
]),
|
|
1161
|
+
default: z(() => [...t[8] || (t[8] = [
|
|
1162
|
+
ue("取消", -1)
|
|
1163
|
+
])]),
|
|
1164
1164
|
_: 1
|
|
1165
1165
|
}),
|
|
1166
|
-
|
|
1166
|
+
$(l, {
|
|
1167
1167
|
type: "primary",
|
|
1168
1168
|
onClick: Oe
|
|
1169
1169
|
}, {
|
|
1170
|
-
default: z(() => [
|
|
1171
|
-
ue("确定")
|
|
1172
|
-
]),
|
|
1170
|
+
default: z(() => [...t[9] || (t[9] = [
|
|
1171
|
+
ue("确定", -1)
|
|
1172
|
+
])]),
|
|
1173
1173
|
_: 1
|
|
1174
1174
|
})
|
|
1175
1175
|
])
|
|
1176
1176
|
]),
|
|
1177
1177
|
default: z(() => [
|
|
1178
|
-
|
|
1179
|
-
|
|
1178
|
+
t[10] || (t[10] = U("span", { style: { "margin-right": "10px" } }, "预警价格:", -1)),
|
|
1179
|
+
$(u, {
|
|
1180
1180
|
modelValue: re.value,
|
|
1181
|
-
"onUpdate:modelValue":
|
|
1181
|
+
"onUpdate:modelValue": t[3] || (t[3] = (b) => re.value = b),
|
|
1182
1182
|
placeholder: "输入预警价格"
|
|
1183
1183
|
}, null, 8, ["modelValue"])
|
|
1184
1184
|
]),
|
|
@@ -1187,11 +1187,11 @@ const Te = (t) => (Ke("data-v-c051c308"), t = t(), je(), t), Yt = {
|
|
|
1187
1187
|
], 64);
|
|
1188
1188
|
};
|
|
1189
1189
|
}
|
|
1190
|
-
},
|
|
1191
|
-
install(
|
|
1192
|
-
|
|
1190
|
+
}, Lt = /* @__PURE__ */ J(Mt, [["__scopeId", "data-v-c051c308"]]), fn = {
|
|
1191
|
+
install(o) {
|
|
1192
|
+
o.component("st-klineBasic", Lt);
|
|
1193
1193
|
}
|
|
1194
1194
|
};
|
|
1195
1195
|
export {
|
|
1196
|
-
|
|
1196
|
+
fn as default
|
|
1197
1197
|
};
|