halo-pc 1.0.15 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-BZph3Slr.js +194 -0
- package/dist/{ArticleFooter-BFYDplbW.js → ArticleFooter-BW_G0Irk.js} +17 -24
- package/dist/Autocomplete-CuAwiHhE.js +49 -0
- package/dist/Autocomplete-Dw1r9LjJ.js +48 -0
- package/dist/{Autocomplete-CIXGPZaG.js → Autocomplete-qmcT2ECx.js} +1 -1
- package/dist/{CSharp-BGzxI5QJ.js → CSharp-BWYY3ixE.js} +1 -1
- package/dist/{Calender-DkBPl9bM.js → Calender-CGxlpOR0.js} +3 -3
- package/dist/Callback-phrGGQ_Q.js +20 -0
- package/dist/Cascader-CT7ASkSy.js +41 -0
- package/dist/Cascader-CsJ1jVBY.js +81 -0
- package/dist/{Checkbox-CuRjXSPc.js → Checkbox-BOC7ECAx.js} +1 -1
- package/dist/Checkbox-BePH3x-V.js +70 -0
- package/dist/Code-CE-Fe7WB.js +36 -0
- package/dist/{Code-BlwPnx9J.js → Code-CWxVzJHq.js} +1 -1
- package/dist/Code-CqLG9fEE.js +54 -0
- package/dist/Code-TBB9w4CV.js +4 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-oiyt3bsp.js +59 -0
- package/dist/Column-Ctyq9hqP.js +68 -0
- package/dist/Comment-RyVJJjTd.js +98 -0
- package/dist/Compare-DEccApnU.js +56 -0
- package/dist/Compare-ZBeSkf8f.js +26 -0
- package/dist/Copy-CNJ1TZJl.js +43 -0
- package/dist/Custom-DHvr_EJi.js +51 -0
- package/dist/{DataExport-C0jItlVY.js → DataExport-39v2Wzii.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dx7mLyuz.js → DataExport.vue_vue_type_script_setup_true_lang-Bmm7IDoz.js} +34 -40
- package/dist/{DataImport-BfBkneEy.js → DataImport-C1O_zTRs.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-C9qjFakZ.js → DataImport.vue_vue_type_script_setup_true_lang-CGKObmMj.js} +54 -59
- package/dist/{Date-B8b9JXpP.js → Date-BAk-TE4a.js} +1 -1
- package/dist/Date-CsIPLFzI.js +37 -0
- package/dist/DateRange-BXSMqDJ0.js +57 -0
- package/dist/DateTime-2RoBkqWb.js +38 -0
- package/dist/{DateTime-DjhuyxFC.js → DateTime-DSiPx95t.js} +1 -1
- package/dist/{DateTimeRange-D01wtitk.js → DateTimeRange-l6kVSbZe.js} +13 -20
- package/dist/Daterange-DRq9WIRI.js +57 -0
- package/dist/{Decimal-DqMMTfvl.js → Decimal-DGia5Sy8.js} +1 -1
- package/dist/Delete-B7X35s7r.js +56 -0
- package/dist/{Detail-C-OFWPso.js → Detail-wJXhceca.js} +16 -23
- package/dist/Dictionary-CUFHT-1d.js +55 -0
- package/dist/Email-BqiiArN8.js +48 -0
- package/dist/{File-C2fLmTcj.js → File-DngRHLmK.js} +40 -47
- package/dist/Image-D3FNAo-5.js +9 -0
- package/dist/Index-B3hh_9-f.js +4 -0
- package/dist/{Index-D7DerkIw.js → Index-B4bG41Qh.js} +1 -1
- package/dist/Index-BJ4rN3ua.js +4 -0
- package/dist/Index-C3EFws1o.js +4 -0
- package/dist/Index-ChQl4mWS.js +70 -0
- package/dist/{Index-B90giDWQ.js → Index-D6WfgZso.js} +1 -1
- package/dist/Index-Dec7ANPo.js +173 -0
- package/dist/{Index-CQURvmzd.js → Index-yxohMYWu.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-B93cecQQ.js → Index.vue_vue_type_script_setup_true_lang-BzE42p5R.js} +16 -23
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DZdvfweh.js → Index.vue_vue_type_script_setup_true_lang-CCvdKImo.js} +14 -21
- package/dist/{Index.vue_vue_type_style_index_0_lang-DYwz3Eu2.js → Index.vue_vue_type_style_index_0_lang-AFTrgrBJ.js} +30 -36
- package/dist/{Install-Cqj44p9F.js → Install-DvLkDt-G.js} +20 -27
- package/dist/{Int-Bj3Gagp5.js → Int-CTZDyiRf.js} +9 -16
- package/dist/Int-DUxDmxeN.js +41 -0
- package/dist/List-DhQAnj6h.js +73 -0
- package/dist/Maintaince-DlOgC995.js +14 -0
- package/dist/{Markdown-COY9enBf.js → Markdown-BBZs8Oeu.js} +1 -1
- package/dist/Month-BOpeFNyJ.js +37 -0
- package/dist/Month-CGeJVL3p.js +38 -0
- package/dist/{Month-B7jIGlKI.js → Month-UvBNgDPi.js} +1 -1
- package/dist/{Normal-B8YL2DeI.js → Normal-AYl3k_ON.js} +43 -49
- package/dist/Paging-B45u8Pwz.js +94 -0
- package/dist/{PagingHeader-c1vaXeWH.js → PagingHeader-BKtQX0FN.js} +37 -44
- package/dist/{PagingRow-CHDlm8UI.js → PagingRow-C1sBqbWn.js} +21 -28
- package/dist/QueryApi-DwKYCq-u.js +13 -0
- package/dist/{Racebar-ClsuYbRj.js → Racebar-DEHtOLFI.js} +43 -49
- package/dist/{Radio-C6j5nvI9.js → Radio-i6CjikAh.js} +1 -1
- package/dist/{Register-BnwfjjXP.js → Register-SHm6xbyk.js} +74 -80
- package/dist/RichText-Bxc-XIY-.js +41 -0
- package/dist/{SearchFooter-D10vYX7H.js → SearchFooter-Co8AjPaU.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-B3AD4sx-.js → SearchFooter.vue_vue_type_style_index_0_lang-CL0CnYJg.js} +1 -1
- package/dist/{SearchForm-BRKHMJRS.js → SearchForm-CMiBnK26.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-B-YCROWC.js → SearchForm.vue_vue_type_style_index_0_lang-OBkIrjUP.js} +34 -40
- package/dist/{Select-BiFIpc5-.js → Select-B-gNnoDq.js} +1 -1
- package/dist/Select-DuecGTXX.js +111 -0
- package/dist/{Select-Z8b2t5QQ.js → Select-t1xYHXcV.js} +19 -26
- package/dist/{Single-DdcVVH9V.js → Single-Da4zGSt4.js} +116 -122
- package/dist/{Statistic-B7niMPBf.js → Statistic-MUCQAxl_.js} +25 -31
- package/dist/{Stock-CRsu1vcy.js → Stock-C0gpktjX.js} +1 -1
- package/dist/{Stock-xm8v4vDf.js → Stock-CFVyfAIN.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-Cb3jPDk8.js → Stock.vue_vue_type_style_index_0_lang-B-uQM5GU.js} +26 -32
- package/dist/{Switch-BaER4xWy.js → Switch-CT0S6MHJ.js} +1 -1
- package/dist/{Table-C2dYPoGi.js → Table-CU6q8l3a.js} +54 -61
- package/dist/{Table-a5uj25Nj.js → Table-NC8CrrxW.js} +63 -68
- package/dist/Text-Bx4cfjya.js +52 -0
- package/dist/{Text-CMEzogZ8.js → Text-ChJQSLGE.js} +1 -1
- package/dist/Text-ChdZDU0g.js +53 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-BZNDg39p.js +53 -0
- package/dist/TextLink-DIHx9sjo.js +59 -0
- package/dist/{Textarea-DAICkidp.js → Textarea-CRi6hLdT.js} +1 -1
- package/dist/Time-Cn6eQVUQ.js +37 -0
- package/dist/Timeline-DpEcUmkJ.js +53 -0
- package/dist/{Tree-BwQkDP2T.js → Tree-B0Rqvp37.js} +73 -79
- package/dist/Tree-nr0ZIvCA.js +117 -0
- package/dist/TreeNode-e51TMrSj.js +37 -0
- package/dist/{Update-BZe92EwV.js → Update-QF8Zkcdq.js} +13 -20
- package/dist/{UpdateChild-DN6pwrUK.js → UpdateChild-DouQaV7E.js} +19 -26
- package/dist/Upload-0ba29Dyr.js +67 -0
- package/dist/Upload-BXj28BSA.js +146 -0
- package/dist/UploadApi-Boq1A5E-.js +13 -0
- package/dist/Year-DuBH5ghc.js +41 -0
- package/dist/{Year-2tcz8PDF.js → Year-x4NXoaB_.js} +1 -1
- package/dist/main-RFuk2-Bk.js +19837 -0
- package/dist/main.js +54 -56
- package/dist/style.css +1 -1
- package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
- package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
- package/esm/vite.config.d.ts +6 -0
- package/package.json +1 -1
- package/dist/Article-BH4dl6Bf.js +0 -201
- package/dist/Autocomplete-DYxWYClO.js +0 -55
- package/dist/Autocomplete-SOenNkH4.js +0 -54
- package/dist/Callback-B57W83N1.js +0 -27
- package/dist/Cascader-BI6T7N-q.js +0 -88
- package/dist/Cascader-BoN_F8v4.js +0 -48
- package/dist/Checkbox-DdolP6wO.js +0 -77
- package/dist/Code--y8oCkjX.js +0 -43
- package/dist/Code-C48Gf7gU.js +0 -61
- package/dist/Code-DiOQvIZv.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-DlLh3JlB.js +0 -66
- package/dist/Column-BNGw36Iq.js +0 -75
- package/dist/Comment-D37SdQb6.js +0 -105
- package/dist/Compare-C09T8aaU.js +0 -33
- package/dist/Compare-CnnCTG12.js +0 -63
- package/dist/Copy-DNrXXJRQ.js +0 -50
- package/dist/Custom--I04Jyzr.js +0 -58
- package/dist/Date-TKW4HbCJ.js +0 -44
- package/dist/DateRange-JCP1Eokf.js +0 -64
- package/dist/DateTime-DVOVXS_f.js +0 -45
- package/dist/Daterange-CqHXC9JN.js +0 -64
- package/dist/Delete-PcTE_3Cp.js +0 -63
- package/dist/Dictionary-Cfhmc2OQ.js +0 -60
- package/dist/Email-Rj-ZvdfJ.js +0 -55
- package/dist/Image-zgBgvAup.js +0 -9
- package/dist/Index-9fyKz8TT.js +0 -4
- package/dist/Index-CAlWNb2l.js +0 -179
- package/dist/Index-CjFLlnmH.js +0 -4
- package/dist/Index-Cr2WAY6Z.js +0 -76
- package/dist/Index-Izl4chSJ.js +0 -4
- package/dist/Int-dlbcQ6_t.js +0 -47
- package/dist/List-BsAOvgmQ.js +0 -80
- package/dist/Maintaince-DjSvIfbu.js +0 -21
- package/dist/Month-BhNUuzcc.js +0 -44
- package/dist/Month-KDuTRSA0.js +0 -45
- package/dist/Paging-BlFnu-w0.js +0 -100
- package/dist/QueryApi-Bc_kmvgs.js +0 -21
- package/dist/RichText-BImFNkHQ.js +0 -48
- package/dist/Select-f15Y0Ko-.js +0 -118
- package/dist/Text-CqKE2xDo.js +0 -59
- package/dist/Text-DfqLW_KH.js +0 -60
- package/dist/Text.vue_vue_type_style_index_0_lang-BNpeGb1c.js +0 -60
- package/dist/TextLink-XJurKE8Q.js +0 -66
- package/dist/Time-BmdIHgOY.js +0 -44
- package/dist/Timeline-BOPAiaK-.js +0 -60
- package/dist/Tree-BR8gmBBa.js +0 -123
- package/dist/TreeNode-CdBVgaRW.js +0 -43
- package/dist/Upload-BtErvzEO.js +0 -151
- package/dist/Upload-vPTA8ndw.js +0 -73
- package/dist/UploadApi-CpwS4Kf1.js +0 -21
- package/dist/Year-CVqwpSLR.js +0 -48
- package/dist/assets/@intlify-BISCQg1h.js +0 -2189
- package/dist/assets/@monaco-editor-BCDRi0Ti.js +0 -258
- package/dist/assets/@vue-aVYGocXp.js +0 -93
- package/dist/assets/clone-BZn0cTAu.js +0 -134
- package/dist/assets/file-saver-CwlpTZSc.js +0 -74
- package/dist/assets/liquidjs-C-LVcoaY.js +0 -2893
- package/dist/assets/moment-h96o7c8I.js +0 -2578
- package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
- package/dist/assets/state-local-CEworIRt.js +0 -131
- package/dist/assets/underscore-B0BCaBxV.js +0 -1070
- package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
- package/dist/assets/util-deprecate-Dzun97re.js +0 -28
- package/dist/assets/vue-i18n-CLr3brPz.js +0 -1670
- package/dist/main-BS_9gx1M.js +0 -8937
@@ -1,13 +1,7 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { s as Q,
|
3
|
-
import "./
|
4
|
-
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
7
|
-
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-B-YCROWC.js";
|
10
|
-
const de = /* @__PURE__ */ j({
|
1
|
+
import { defineComponent as $, toRefs as j, ref as n, onMounted as G, watch as M, openBlock as O, createElementBlock as I, createVNode as J, unref as i, createElementVNode as K, normalizeStyle as P, nextTick as x } from "vue";
|
2
|
+
import { s as Q, w as U, i as W, k as R, v as X, N as Y } from "./main-RFuk2-Bk.js";
|
3
|
+
import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-OBkIrjUP.js";
|
4
|
+
const re = /* @__PURE__ */ $({
|
11
5
|
__name: "Statistic",
|
12
6
|
props: {
|
13
7
|
searchData: {},
|
@@ -20,18 +14,18 @@ const de = /* @__PURE__ */ j({
|
|
20
14
|
set: {}
|
21
15
|
},
|
22
16
|
emits: ["search"],
|
23
|
-
setup(
|
24
|
-
let
|
17
|
+
setup(C, { expose: A, emit: F }) {
|
18
|
+
let z = F, H = C, { route: B, module: E, schema: m, table: y, layout: l, next: ee, set: u, searchData: g } = j(H), s = null, p = null, v = n(), d = n(), b = n(), S = n(), N = (t) => {
|
25
19
|
T("search");
|
26
20
|
}, T = (t, e = null) => {
|
27
|
-
|
28
|
-
|
21
|
+
z(t, (r) => {
|
22
|
+
x(() => {
|
29
23
|
f(), e && e(r);
|
30
24
|
});
|
31
25
|
});
|
32
26
|
}, f = () => {
|
33
27
|
let t = W.distinct(u.value[l.value.table], (a) => a[l.value.date]), e = {
|
34
|
-
title: { text:
|
28
|
+
title: { text: E.value.title, left: "center", textStyle: { color: "#777" } },
|
35
29
|
//标题
|
36
30
|
tooltip: { trigger: "axis" },
|
37
31
|
//提示
|
@@ -65,9 +59,9 @@ const de = /* @__PURE__ */ j({
|
|
65
59
|
series: []
|
66
60
|
};
|
67
61
|
R.theme == "dark" && (e.title.textStyle.color = "rgba(255,255,255,0.8)", e.legend.textStyle.color = "rgba(255,255,255,.72)", e.xAxis.axisLabel.color = "rgba(255,255,255,.72)", e.yAxis.splitLine.lineStyle.color = "rgba(110,117,130,0.2)", e.yAxis.axisLabel.color = "rgba(255,255,255,.72)");
|
68
|
-
let r = l.value.fields.find((a) => a.group && a.name != l.value.date),
|
69
|
-
for (let a = 0; a <
|
70
|
-
let o =
|
62
|
+
let r = l.value.fields.find((a) => a.group && a.name != l.value.date), w = y.value.fields.find((a) => a.name == r.name).control.data.data;
|
63
|
+
for (let a = 0; a < w.length; a++) {
|
64
|
+
let o = w[a];
|
71
65
|
o.color || X.error("颜色字段不能为空");
|
72
66
|
let c = {
|
73
67
|
name: o.text,
|
@@ -109,8 +103,8 @@ const de = /* @__PURE__ */ j({
|
|
109
103
|
global: !0
|
110
104
|
});
|
111
105
|
for (let h = 0; h < t.length; h++) {
|
112
|
-
let
|
113
|
-
|
106
|
+
let D = t[h], _ = u.value[l.value.table].find((L) => L[r.name] == o.value && L[l.value.date] == D);
|
107
|
+
_ == null ? c.data.push(null) : c.data.push(_[l.value.value]);
|
114
108
|
}
|
115
109
|
e.series.push(c), e.legend.data.push(o.text);
|
116
110
|
}
|
@@ -120,19 +114,19 @@ const de = /* @__PURE__ */ j({
|
|
120
114
|
let t = Y.getHeight([(r = d.value) == null ? void 0 : r.$el]), e = S.value.getBoundingClientRect();
|
121
115
|
v.value = e.height - t - 10 - 1;
|
122
116
|
}, V = (t) => {
|
123
|
-
d.value.resize(t),
|
117
|
+
d.value.resize(t), x(() => {
|
124
118
|
k(), s == null || s.resize();
|
125
119
|
});
|
126
|
-
},
|
127
|
-
k(),
|
128
|
-
s =
|
120
|
+
}, q = () => {
|
121
|
+
k(), x(() => {
|
122
|
+
s = p.init(b.value), f();
|
129
123
|
});
|
130
124
|
};
|
131
125
|
return G(async () => {
|
132
|
-
|
126
|
+
g.value = Q.getConditionForm(m.value, B.value.query.condition), p = await U.getECharts(), q();
|
133
127
|
}), M(() => l.value, (t, e) => {
|
134
128
|
f();
|
135
|
-
}),
|
129
|
+
}), A({ resize: V }), (t, e) => (O(), I("div", {
|
136
130
|
ref_key: "statisticRef",
|
137
131
|
ref: S,
|
138
132
|
class: "ha-statistic-layout"
|
@@ -140,12 +134,12 @@ const de = /* @__PURE__ */ j({
|
|
140
134
|
J(Z, {
|
141
135
|
ref_key: "searchRef",
|
142
136
|
ref: d,
|
143
|
-
schema: i(
|
144
|
-
table: i(
|
137
|
+
schema: i(m),
|
138
|
+
table: i(y),
|
145
139
|
layout: i(l),
|
146
140
|
set: i(u),
|
147
|
-
"search-data": i(
|
148
|
-
onChange: i(
|
141
|
+
"search-data": i(g),
|
142
|
+
onChange: i(N)
|
149
143
|
}, null, 8, ["schema", "table", "layout", "set", "search-data", "onChange"]),
|
150
144
|
K("div", {
|
151
145
|
ref_key: "chartRef",
|
@@ -157,5 +151,5 @@ const de = /* @__PURE__ */ j({
|
|
157
151
|
}
|
158
152
|
});
|
159
153
|
export {
|
160
|
-
|
154
|
+
re as default
|
161
155
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as c, toRefs as m, openBlock as u, createBlock as p, unref as e } from "vue";
|
2
|
-
import { _ } from "./Stock.vue_vue_type_style_index_0_lang-
|
2
|
+
import { _ } from "./Stock.vue_vue_type_style_index_0_lang-B-uQM5GU.js";
|
3
3
|
const b = /* @__PURE__ */ c({
|
4
4
|
__name: "Stock",
|
5
5
|
props: {
|
@@ -1,14 +1,8 @@
|
|
1
|
-
import { defineComponent as F, toRefs as
|
2
|
-
import {
|
3
|
-
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
7
|
-
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据", -1), z = [
|
1
|
+
import { defineComponent as F, toRefs as R, ref as T, onMounted as B, openBlock as E, createBlock as G, unref as m, withCtx as P, createElementVNode as A, createTextVNode as V, toDisplayString as b } from "vue";
|
2
|
+
import { w as O, y as K, i as N, k as S } from "./main-RFuk2-Bk.js";
|
3
|
+
const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据", -1), q = [
|
10
4
|
j
|
11
|
-
],
|
5
|
+
], U = /* @__PURE__ */ F({
|
12
6
|
__name: "Stock",
|
13
7
|
props: {
|
14
8
|
searchData: {},
|
@@ -21,21 +15,21 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
21
15
|
set: {}
|
22
16
|
},
|
23
17
|
setup(k) {
|
24
|
-
let L = k, { module:
|
18
|
+
let L = k, { module: z, schema: W, table: v, layout: n, next: H, set: f } = R(L), y = null, c = null, p = "#04aa4e", x = "#ff5945", w = T(), u = { history: null, week: null, month: null }, _ = (t) => {
|
25
19
|
let o = N.orderBy(t, (i) => i[n.value.time], !1), e = [], l = [], r = [];
|
26
20
|
for (let i = 0; i < o.length; i++) {
|
27
21
|
let a = o[i];
|
28
22
|
e.push(a[n.value.time]);
|
29
|
-
let
|
30
|
-
l.push([
|
23
|
+
let d = parseFloat(a[n.value.open]), s = parseFloat(a[n.value.close]);
|
24
|
+
l.push([d, s, parseFloat(a[n.value.low]), parseFloat(a[n.value.high])]);
|
31
25
|
let C = {
|
32
26
|
value: parseFloat(a[n.value.volumn]),
|
33
|
-
itemStyle: { color: s >
|
27
|
+
itemStyle: { color: s > d ? p : x }
|
34
28
|
};
|
35
29
|
r.push(C);
|
36
30
|
}
|
37
31
|
return { times: e, values: l, volumes: r };
|
38
|
-
},
|
32
|
+
}, h = (t, o) => {
|
39
33
|
let e = [];
|
40
34
|
for (let l = 0, r = t.values.length; l < r; l++) {
|
41
35
|
if (l < o) {
|
@@ -153,9 +147,9 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
153
147
|
//网格索引,表示使用第2个网格的配置
|
154
148
|
data: t.values,
|
155
149
|
itemStyle: {
|
156
|
-
color:
|
150
|
+
color: p,
|
157
151
|
color0: x,
|
158
|
-
borderColor:
|
152
|
+
borderColor: p,
|
159
153
|
borderColor0: x
|
160
154
|
},
|
161
155
|
markPoint: {
|
@@ -190,7 +184,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
190
184
|
{
|
191
185
|
name: "MA5",
|
192
186
|
type: "line",
|
193
|
-
data:
|
187
|
+
data: h(t, 5),
|
194
188
|
smooth: !0,
|
195
189
|
lineStyle: { width: 1 },
|
196
190
|
itemStyle: { opacity: 0 }
|
@@ -199,7 +193,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
199
193
|
{
|
200
194
|
name: "MA10",
|
201
195
|
type: "line",
|
202
|
-
data:
|
196
|
+
data: h(t, 10),
|
203
197
|
smooth: !0,
|
204
198
|
lineStyle: { width: 1 },
|
205
199
|
itemStyle: { opacity: 0 }
|
@@ -208,7 +202,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
208
202
|
{
|
209
203
|
name: "MA20",
|
210
204
|
type: "line",
|
211
|
-
data:
|
205
|
+
data: h(t, 20),
|
212
206
|
smooth: !0,
|
213
207
|
lineStyle: { width: 1 },
|
214
208
|
itemStyle: { opacity: 0 }
|
@@ -217,7 +211,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
217
211
|
{
|
218
212
|
name: "MA30",
|
219
213
|
type: "line",
|
220
|
-
data:
|
214
|
+
data: h(t, 30),
|
221
215
|
smooth: !0,
|
222
216
|
lineStyle: { width: 1 },
|
223
217
|
itemStyle: { opacity: 0 }
|
@@ -235,7 +229,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
235
229
|
smooth: !0,
|
236
230
|
data: [],
|
237
231
|
areaStyle: {
|
238
|
-
color: new
|
232
|
+
color: new c.graphic.LinearGradient(0, 0, 0, 1, [{
|
239
233
|
offset: 0,
|
240
234
|
color: l
|
241
235
|
}, {
|
@@ -244,7 +238,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
244
238
|
}])
|
245
239
|
}
|
246
240
|
};
|
247
|
-
S.theme == "dark" && (r.areaStyle.color = new
|
241
|
+
S.theme == "dark" && (r.areaStyle.color = new c.graphic.LinearGradient(
|
248
242
|
0,
|
249
243
|
0,
|
250
244
|
0,
|
@@ -258,14 +252,14 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
258
252
|
r.data.push(...i), e.series.push(r);
|
259
253
|
}
|
260
254
|
return o && f.value[o.table].forEach((r) => {
|
261
|
-
let i = r[o.time], a = t.times.indexOf(i),
|
255
|
+
let i = r[o.time], a = t.times.indexOf(i), d = t.values[a], s = {
|
262
256
|
coord: [i],
|
263
257
|
itemStyle: { color: null },
|
264
258
|
label: { position: null, offset: null },
|
265
259
|
value: null,
|
266
260
|
symbolRotate: null
|
267
261
|
};
|
268
|
-
r[o.direction] == 1 ? (s.coord.push(
|
262
|
+
r[o.direction] == 1 ? (s.coord.push(d[2] * 0.99), s.value = "买", s.itemStyle.color = "#00c805", s.symbolRotate = 180, s.label.position = "insideBottom", s.label.offset = [0, -5]) : (s.coord.push(d[3] * 1.01), s.value = "卖", s.itemStyle.color = "#ff5000"), e.series[0].markPoint.data.push(s);
|
269
263
|
}), e;
|
270
264
|
}, g = (t) => {
|
271
265
|
let o = 0;
|
@@ -275,28 +269,28 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
275
269
|
}), o / t.length * 100;
|
276
270
|
}, I = (t) => {
|
277
271
|
let o = M(t);
|
278
|
-
|
272
|
+
y || (y = c.init(w.value)), y.setOption(o);
|
279
273
|
let e = t.values, l = e.reverse();
|
280
274
|
u.history = g(e), u.week = g(l.slice(0, 7)), u.month = g(l.slice(0, 30));
|
281
275
|
}, Z = () => {
|
282
276
|
let t = f.value[v.value.name];
|
283
277
|
t.length > 0 && I(_(t));
|
284
278
|
};
|
285
|
-
return
|
286
|
-
|
287
|
-
}), (t, o) => (
|
279
|
+
return B(async () => {
|
280
|
+
c = await O.getECharts(), Z();
|
281
|
+
}), (t, o) => (E(), G(m(K), null, {
|
288
282
|
default: P(() => [
|
289
283
|
A("div", {
|
290
284
|
ref_key: "chartRef",
|
291
285
|
ref: w,
|
292
286
|
class: "chart"
|
293
|
-
},
|
294
|
-
V(" 30日开盘振幅:" + b(
|
287
|
+
}, q, 512),
|
288
|
+
V(" 30日开盘振幅:" + b(m(u).month) + "% 7日开盘振幅:" + b(m(u).week) + "% 历史开盘振幅:" + b(m(u).history) + "% ", 1)
|
295
289
|
]),
|
296
290
|
_: 1
|
297
291
|
}));
|
298
292
|
}
|
299
293
|
});
|
300
294
|
export {
|
301
|
-
|
295
|
+
U as _
|
302
296
|
};
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: { type: [String, Number, Boolean] }
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = f(() => import("./Dictionary-
|
13
|
+
let r = f(() => import("./Dictionary-CUFHT-1d.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
|
14
14
|
return (h, l) => (b(), w(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(s),
|
@@ -1,23 +1,16 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import "./
|
3
|
-
import {
|
4
|
-
import "./
|
5
|
-
import "./
|
6
|
-
import "./
|
7
|
-
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
10
|
-
import { _ as Ge } from "./SearchForm.vue_vue_type_style_index_0_lang-B-YCROWC.js";
|
11
|
-
import { _ as Je } from "./DataImport.vue_vue_type_script_setup_true_lang-C9qjFakZ.js";
|
12
|
-
import { _ as Qe } from "./DataExport.vue_vue_type_script_setup_true_lang-Dx7mLyuz.js";
|
13
|
-
import { _ as Xe } from "./Index.vue_vue_type_style_index_0_lang-DYwz3Eu2.js";
|
1
|
+
import { defineComponent as Ve, toRefs as Be, ref as u, onMounted as Te, nextTick as F, computed as le, resolveComponent as k, openBlock as f, createElementBlock as D, createVNode as v, unref as e, isRef as w, normalizeClass as De, withCtx as h, createTextVNode as oe, toDisplayString as R, Fragment as He, renderList as Ue, createBlock as S, createCommentVNode as z, createElementVNode as H, resolveDynamicComponent as Ee } from "vue";
|
2
|
+
import { C as P, N as $, c as Ne, E as Le, U as j, q as Me, g as qe, F as Fe, M as Pe, W as je, _ as Ae, L as Ke, v as Oe, a as Ie } from "./main-RFuk2-Bk.js";
|
3
|
+
import { _ as Ge } from "./SearchForm.vue_vue_type_style_index_0_lang-OBkIrjUP.js";
|
4
|
+
import { _ as Je } from "./DataImport.vue_vue_type_script_setup_true_lang-CGKObmMj.js";
|
5
|
+
import { _ as Qe } from "./DataExport.vue_vue_type_script_setup_true_lang-Bmm7IDoz.js";
|
6
|
+
import { _ as Xe } from "./Index.vue_vue_type_style_index_0_lang-AFTrgrBJ.js";
|
14
7
|
import "vue-router";
|
15
8
|
import "./assets/intro.js-DxWjEdp_.js";
|
16
|
-
import { _ as Ye } from "./SearchFooter.vue_vue_type_style_index_0_lang-
|
9
|
+
import { _ as Ye } from "./SearchFooter.vue_vue_type_style_index_0_lang-CL0CnYJg.js";
|
17
10
|
const Ze = {
|
18
11
|
key: 0,
|
19
12
|
class: "required"
|
20
|
-
}, et = ["onMouseenter"], tt = { class: "el-drawer__title" }, at = { key: 0 }, lt = ["href"],
|
13
|
+
}, et = ["onMouseenter"], tt = { class: "el-drawer__title" }, at = { key: 0 }, lt = ["href"], ct = /* @__PURE__ */ Ve({
|
21
14
|
__name: "Table",
|
22
15
|
props: {
|
23
16
|
searchData: {},
|
@@ -30,7 +23,7 @@ const Ze = {
|
|
30
23
|
},
|
31
24
|
emits: ["search", "navigate", "sort", "page-change", "size-change", "succeed", "close"],
|
32
25
|
setup(ne, { expose: re, emit: se }) {
|
33
|
-
let b = se,
|
26
|
+
let b = se, ue = ne, { module: ie, schema: U, table: r, layout: i, next: p, set: _, searchData: A } = Be(ue), E = u([]), W = u(), N = u(), L = u(), K = u(), O = u(), V = u(), m = u(!1), g = u(!1), I = u(), G = u("120px"), J = u(), y = u({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), B = u(), n = u({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), de = (t) => {
|
34
27
|
x("insert", null, t);
|
35
28
|
}, pe = (t, a) => {
|
36
29
|
x("detail", t, a);
|
@@ -42,7 +35,7 @@ const Ze = {
|
|
42
35
|
x("delete", t, a);
|
43
36
|
}, Q = (t) => {
|
44
37
|
let a = t.map((o) => o[r.value.key.name]);
|
45
|
-
|
38
|
+
Ke.post(p.value.delete.route, a).then((o) => {
|
46
39
|
Oe.success(o.message), M();
|
47
40
|
});
|
48
41
|
}, x = (t, a, o) => {
|
@@ -61,22 +54,22 @@ const Ze = {
|
|
61
54
|
n.value.title = Ie(t.module.type, t.module.name), n.value.env = t.module.env;
|
62
55
|
}, M = () => {
|
63
56
|
n.value.visible = !1;
|
64
|
-
let t =
|
57
|
+
let t = E.value;
|
65
58
|
b("succeed", (a) => {
|
66
59
|
let o = a.data.set[r.value.name];
|
67
60
|
if (!o.length)
|
68
61
|
return;
|
69
62
|
let s = r.value.key;
|
70
|
-
|
63
|
+
F(() => {
|
71
64
|
let c = n.value.row;
|
72
65
|
if (c) {
|
73
66
|
let d = o.find((C) => C[s.name] == c[s.name]);
|
74
|
-
d &&
|
67
|
+
d && N.value.setCurrentRow(d);
|
75
68
|
}
|
76
69
|
if (t.length > 0)
|
77
70
|
for (let d of t) {
|
78
71
|
let C = o.find((l) => l[s.name] == d[s.name]);
|
79
|
-
|
72
|
+
N.value.toggleRowSelection(C, !0);
|
80
73
|
}
|
81
74
|
});
|
82
75
|
});
|
@@ -93,45 +86,45 @@ const Ze = {
|
|
93
86
|
}, xe = (t) => {
|
94
87
|
G.value = t;
|
95
88
|
}, Ce = (t, a) => {
|
96
|
-
|
89
|
+
E.value = t;
|
97
90
|
}, ke = (t, a, o) => {
|
98
91
|
let s = t.target.children[0], c = $.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
|
99
92
|
o._headerTooltip = c > d;
|
100
93
|
}, Re = async (t, a, o, s) => {
|
101
|
-
await
|
94
|
+
await P.setColumnWidth(p.value.paging.route, r.value.name, o.property, t);
|
102
95
|
}, Y = () => {
|
103
96
|
var s, c, d;
|
104
|
-
let t = $.getHeight(
|
97
|
+
let t = $.getHeight(W.value), a = $.getHeight([(s = L.value) == null ? void 0 : s.$el, (c = K.value) == null ? void 0 : c.$el, (d = O.value) == null ? void 0 : d.$el]), o = t - a;
|
105
98
|
I.value = `${o}px`;
|
106
99
|
}, Z = () => {
|
107
|
-
let t =
|
100
|
+
let t = B.value;
|
108
101
|
t <= 690 ? y.value.count = 5 : y.value.count = 7, t <= 300 ? y.value.layout = "pager" : t <= 620 ? y.value.layout = "prev, pager, next" : y.value.layout = "sizes, total, prev, pager, next, jumper";
|
109
102
|
}, Se = (t, a) => {
|
110
|
-
if (!
|
103
|
+
if (!V.value || !V.value.keyboard)
|
111
104
|
return !1;
|
112
|
-
|
105
|
+
V.value.keyboard(t, a);
|
113
106
|
}, ze = (t) => {
|
114
|
-
L.value.resize(t),
|
107
|
+
L.value.resize(t), B.value = $.getWidth(W.value), Z(), F(() => {
|
115
108
|
Y();
|
116
109
|
});
|
117
110
|
};
|
118
|
-
|
119
|
-
J.value = await
|
111
|
+
Te(async () => {
|
112
|
+
J.value = await P.getFieldConfigs(), B.value = $.getWidth(W.value), Z(), F(() => {
|
120
113
|
Y();
|
121
114
|
});
|
122
115
|
});
|
123
116
|
let $e = le(() => {
|
124
|
-
let a = Object.keys(
|
117
|
+
let a = Object.keys(i.value.orderBys)[0], o = i.value.orderBys[a];
|
125
118
|
return { prop: a, order: o ? "ascending" : "descending" };
|
126
|
-
}),
|
119
|
+
}), We = le(() => {
|
127
120
|
let t = `/${r.value.name}/paging-row`;
|
128
|
-
return
|
121
|
+
return Ne.getComponent(t, "partial", "paging-row");
|
129
122
|
});
|
130
123
|
return re({ keyboard: Se, resize: ze }), (t, a) => {
|
131
124
|
const o = k("el-table-column"), s = k("el-tooltip"), c = k("el-table"), d = k("el-pagination"), C = k("el-drawer");
|
132
125
|
return f(), D("div", {
|
133
126
|
ref_key: "pagingRef",
|
134
|
-
ref:
|
127
|
+
ref: W,
|
135
128
|
class: "paging-table"
|
136
129
|
}, [
|
137
130
|
v(Ge, {
|
@@ -139,19 +132,19 @@ const Ze = {
|
|
139
132
|
ref: L,
|
140
133
|
schema: e(U),
|
141
134
|
table: e(r),
|
142
|
-
layout: e(
|
135
|
+
layout: e(i),
|
143
136
|
"search-data": e(A),
|
144
137
|
onSubmit: e(X)
|
145
138
|
}, null, 8, ["schema", "table", "layout", "search-data", "onSubmit"]),
|
146
139
|
v(Ye, {
|
147
140
|
ref_key: "headerRef",
|
148
|
-
ref:
|
141
|
+
ref: K,
|
149
142
|
schema: e(U),
|
150
143
|
table: e(r),
|
151
|
-
layout: e(
|
144
|
+
layout: e(i),
|
152
145
|
set: e(_),
|
153
146
|
next: e(p),
|
154
|
-
selection: e(
|
147
|
+
selection: e(E),
|
155
148
|
"search-data": e(A),
|
156
149
|
onAdd: e(de),
|
157
150
|
onRemove: e(Q),
|
@@ -161,7 +154,7 @@ const Ze = {
|
|
161
154
|
}, null, 8, ["schema", "table", "layout", "set", "next", "selection", "search-data", "onAdd", "onRemove", "onSearch"]),
|
162
155
|
v(c, {
|
163
156
|
ref_key: "tableRef",
|
164
|
-
ref:
|
157
|
+
ref: N,
|
165
158
|
class: De([{ "hide-nav": e(Le).hideNav }, "table-default table-paging"]),
|
166
159
|
size: "small",
|
167
160
|
border: "",
|
@@ -181,18 +174,18 @@ const Ze = {
|
|
181
174
|
type: "selection",
|
182
175
|
width: "30"
|
183
176
|
}),
|
184
|
-
(f(!0), D(
|
177
|
+
(f(!0), D(He, null, Ue(e(r).show, (l, ot) => {
|
185
178
|
var ee, te, ae;
|
186
179
|
return f(), S(o, {
|
187
180
|
sortable: e(r) ? "custom" : !1,
|
188
181
|
prop: l.name,
|
189
182
|
"sort-orders": ["descending", "ascending"],
|
190
|
-
fixed: e(
|
183
|
+
fixed: e(i).fixed.indexOf(l.name) > -1,
|
191
184
|
"min-width": ((ae = (te = (ee = e(J)) == null ? void 0 : ee[e(p).paging.route]) == null ? void 0 : te[e(r).name]) == null ? void 0 : ae[l.name]) ?? l.control.width,
|
192
185
|
label: `${l.label}${l.control.prefix || l.suffix ? "(" + (l.control.prefix || l.suffix) + ")" : ""}`,
|
193
186
|
key: `${e(r).name}.${l.name}`
|
194
187
|
}, {
|
195
|
-
header: h((
|
188
|
+
header: h((T) => [
|
196
189
|
l.control.required && l.control.editable ? (f(), D("i", Ze)) : z("", !0),
|
197
190
|
v(s, {
|
198
191
|
placement: "top",
|
@@ -200,24 +193,24 @@ const Ze = {
|
|
200
193
|
disabled: !l._headerTooltip
|
201
194
|
}, {
|
202
195
|
default: h(() => [
|
203
|
-
|
204
|
-
onMouseenter: (
|
196
|
+
H("span", {
|
197
|
+
onMouseenter: (q) => e(ke)(q, T.column, l)
|
205
198
|
}, [
|
206
|
-
|
199
|
+
H("span", null, R(e(Me)(e(r).name, l.name)), 1)
|
207
200
|
], 40, et)
|
208
201
|
]),
|
209
202
|
_: 2
|
210
203
|
}, 1032, ["content", "disabled"])
|
211
204
|
]),
|
212
|
-
default: h((
|
205
|
+
default: h((T) => [
|
213
206
|
v(Xe, {
|
214
207
|
schema: e(U),
|
215
208
|
table: e(r),
|
216
209
|
field: l,
|
217
210
|
set: e(_),
|
218
|
-
row:
|
219
|
-
config: e(
|
220
|
-
onChange: (
|
211
|
+
row: T.row,
|
212
|
+
config: e(qe).getConfig(l, e(ie).type, e(i).type),
|
213
|
+
onChange: (q) => e(_e)(q, e(r), l, e(_), T.row)
|
221
214
|
}, null, 8, ["schema", "table", "field", "set", "row", "config", "onChange"])
|
222
215
|
]),
|
223
216
|
_: 2
|
@@ -230,7 +223,7 @@ const Ze = {
|
|
230
223
|
"min-width": e(G)
|
231
224
|
}, {
|
232
225
|
default: h((l) => [
|
233
|
-
(f(), S(
|
226
|
+
(f(), S(Ee(e(We)), {
|
234
227
|
table: e(r),
|
235
228
|
next: e(p),
|
236
229
|
set: e(_),
|
@@ -248,7 +241,7 @@ const Ze = {
|
|
248
241
|
]),
|
249
242
|
_: 1
|
250
243
|
}, 8, ["class", "max-height", "data", "default-sort", "onHeaderDragend"]),
|
251
|
-
v(e(
|
244
|
+
v(e(Fe), {
|
252
245
|
ref_key: "footerRef",
|
253
246
|
ref: O,
|
254
247
|
class: "list-toolbar"
|
@@ -257,14 +250,14 @@ const Ze = {
|
|
257
250
|
v(d, {
|
258
251
|
background: "",
|
259
252
|
layout: e(y).layout,
|
260
|
-
"current-page": e(
|
253
|
+
"current-page": e(i).page,
|
261
254
|
"pager-count": e(y).count,
|
262
|
-
total: e(
|
255
|
+
total: e(i).count,
|
263
256
|
"page-sizes": e(y).sizes,
|
264
257
|
onCurrentChange: e(ye),
|
265
258
|
onSizeChange: e(be),
|
266
|
-
"page-size": e(
|
267
|
-
"onUpdate:pageSize": a[4] || (a[4] = (l) => e(
|
259
|
+
"page-size": e(i).pageSize,
|
260
|
+
"onUpdate:pageSize": a[4] || (a[4] = (l) => e(i).pageSize = l)
|
268
261
|
}, null, 8, ["layout", "current-page", "pager-count", "total", "page-sizes", "onCurrentChange", "onSizeChange", "page-size"])
|
269
262
|
]),
|
270
263
|
_: 1
|
@@ -280,7 +273,7 @@ const Ze = {
|
|
280
273
|
e(p).export ? (f(), S(Qe, {
|
281
274
|
key: 1,
|
282
275
|
route: e(p).export.route,
|
283
|
-
"page-count": e(
|
276
|
+
"page-count": e(Pe).pageCount(e(i).count, e(i).pageSize),
|
284
277
|
onClose: a[7] || (a[7] = (l) => w(g) ? g.value = !1 : g = !1),
|
285
278
|
modelValue: e(g),
|
286
279
|
"onUpdate:modelValue": a[8] || (a[8] = (l) => w(g) ? g.value = l : g = l)
|
@@ -289,15 +282,15 @@ const Ze = {
|
|
289
282
|
key: 2,
|
290
283
|
"destroy-on-close": "",
|
291
284
|
"append-to-body": e(n).appendToBody,
|
292
|
-
size: e(
|
285
|
+
size: e(P).getDrawerWidth(e(B)),
|
293
286
|
modelValue: e(n).visible,
|
294
287
|
"onUpdate:modelValue": a[9] || (a[9] = (l) => e(n).visible = l)
|
295
288
|
}, {
|
296
289
|
header: h(() => [
|
297
|
-
|
290
|
+
H("div", tt, [
|
298
291
|
oe(R(e(n).title) + " ", 1),
|
299
292
|
e(n).env ? (f(), D("span", at, "[" + R(e(n).env) + "]", 1)) : z("", !0),
|
300
|
-
|
293
|
+
H("a", {
|
301
294
|
class: "drawer-copy",
|
302
295
|
href: e(je).getToUrl(e(n).url)
|
303
296
|
}, R(e(j)("common.link")), 9, lt)
|
@@ -306,7 +299,7 @@ const Ze = {
|
|
306
299
|
default: h(() => [
|
307
300
|
v(e(Ae), {
|
308
301
|
ref_key: "pageRef",
|
309
|
-
ref:
|
302
|
+
ref: V,
|
310
303
|
url: e(n).url,
|
311
304
|
onLoaded: e(he),
|
312
305
|
onSucceed: e(M),
|
@@ -320,5 +313,5 @@ const Ze = {
|
|
320
313
|
}
|
321
314
|
});
|
322
315
|
export {
|
323
|
-
|
316
|
+
ct as default
|
324
317
|
};
|