st-comp 0.0.171 → 0.0.172
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/KlinePlus.cjs +3 -3
- package/es/KlinePlus.js +182 -192
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +2 -2
- package/lib/{index-42745784.js → index-d9f6d2bc.js} +16 -26
- package/lib/{python-bea23b43.js → python-e8bc0c16.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlinePlus/components/SliderChart.vue +4 -19
- package/packages/KlinePlus/index.vue +5 -5
|
@@ -68853,9 +68853,9 @@ const act = {
|
|
|
68853
68853
|
// 品种市场类型: 0-期货, 1-股票, 2-期权
|
|
68854
68854
|
varietyStock: { type: Number, required: !0 },
|
|
68855
68855
|
// 复权选项 [股票]
|
|
68856
|
-
rightType: { type: Number,
|
|
68856
|
+
rightType: { type: [Number, null], default: null },
|
|
68857
68857
|
// 常用选项 [期货]
|
|
68858
|
-
klineType: { type: Number,
|
|
68858
|
+
klineType: { type: [Number, null], default: null },
|
|
68859
68859
|
// 业务系统相关
|
|
68860
68860
|
deleteFirstNumber: { type: Number, default: 1 },
|
|
68861
68861
|
// 绩效标记
|
|
@@ -68876,26 +68876,15 @@ const act = {
|
|
|
68876
68876
|
const f = {
|
|
68877
68877
|
varietyCode: a.varietyCode,
|
|
68878
68878
|
cycle: "6",
|
|
68879
|
+
right: a.varietyStock === 1 ? a.rightType : 0,
|
|
68880
|
+
// 复权方式
|
|
68881
|
+
contractType: a.varietyStock ? null : a.klineType,
|
|
68882
|
+
// 合约类型
|
|
68879
68883
|
startTime: "1999-01-01 00:00:00",
|
|
68880
68884
|
endTime: en().format("YYYY-MM-DD 23:59:59"),
|
|
68881
68885
|
deleteFirstNumber: a.deleteFirstNumber,
|
|
68882
68886
|
withoutPermission: a.withoutPermission
|
|
68883
|
-
};
|
|
68884
|
-
switch (a.varietyStock) {
|
|
68885
|
-
case 0: {
|
|
68886
|
-
Object.assign(f, {
|
|
68887
|
-
contractType: a.klineType
|
|
68888
|
-
});
|
|
68889
|
-
break;
|
|
68890
|
-
}
|
|
68891
|
-
case 1: {
|
|
68892
|
-
Object.assign(f, {
|
|
68893
|
-
right: a.rightType
|
|
68894
|
-
});
|
|
68895
|
-
break;
|
|
68896
|
-
}
|
|
68897
|
-
}
|
|
68898
|
-
const { body: p } = await i.post("/middleLayer/kline/getKline", f);
|
|
68887
|
+
}, { body: p } = await i.post("/middleLayer/kline/getKline", f);
|
|
68899
68888
|
p ? l.value = p : l.value = { data: [], mainIndicator: [], subIndicator: [], time: [] }, h("init");
|
|
68900
68889
|
}, c = _p((f) => {
|
|
68901
68890
|
if (!f.dataZoomId)
|
|
@@ -68994,7 +68983,7 @@ const act = {
|
|
|
68994
68983
|
ref: o
|
|
68995
68984
|
}, null, 512));
|
|
68996
68985
|
}
|
|
68997
|
-
}, lct = /* @__PURE__ */ Ai(act, [["__scopeId", "data-v-
|
|
68986
|
+
}, lct = /* @__PURE__ */ Ai(act, [["__scopeId", "data-v-0c715da1"]]);
|
|
68998
68987
|
const uct = { class: "main-chart" }, cct = { class: "indicator" }, dct = {
|
|
68999
68988
|
key: 0,
|
|
69000
68989
|
class: "screen-time-range"
|
|
@@ -69017,9 +69006,9 @@ const uct = { class: "main-chart" }, cct = { class: "indicator" }, dct = {
|
|
|
69017
69006
|
// 交互选项
|
|
69018
69007
|
cycle: { type: String, required: !0 },
|
|
69019
69008
|
sellBuy: { type: Number, default: 1 },
|
|
69020
|
-
rightType: { type: Number, default: null },
|
|
69009
|
+
rightType: { type: [Number, null], default: null },
|
|
69021
69010
|
// 复权类型
|
|
69022
|
-
klineType: { type: Number, default: null },
|
|
69011
|
+
klineType: { type: [Number, null], default: null },
|
|
69023
69012
|
// 合约类型
|
|
69024
69013
|
incomeType: { type: Number, default: 0 },
|
|
69025
69014
|
// 收益计算类型 0-单利, 1-复利
|
|
@@ -69110,7 +69099,7 @@ const uct = { class: "main-chart" }, cct = { class: "indicator" }, dct = {
|
|
|
69110
69099
|
varietyCode: l.varietyCode,
|
|
69111
69100
|
cycle: l.cycle,
|
|
69112
69101
|
// 周期
|
|
69113
|
-
right: l.rightType,
|
|
69102
|
+
right: l.varietyStock === 1 ? l.rightType : 0,
|
|
69114
69103
|
// 复权方式
|
|
69115
69104
|
contractType: l.varietyStock ? null : l.klineType,
|
|
69116
69105
|
// 合约类型
|
|
@@ -69154,7 +69143,8 @@ const uct = { class: "main-chart" }, cct = { class: "indicator" }, dct = {
|
|
|
69154
69143
|
const Se = {
|
|
69155
69144
|
varietyCode: l.varietyCode,
|
|
69156
69145
|
cycle: l.cycle,
|
|
69157
|
-
right: l.rightType,
|
|
69146
|
+
right: l.varietyStock === 1 ? l.rightType : 0,
|
|
69147
|
+
// 复权方式
|
|
69158
69148
|
contractType: l.varietyStock ? null : l.klineType,
|
|
69159
69149
|
endTime: _.value.time[0],
|
|
69160
69150
|
limit: W,
|
|
@@ -69172,7 +69162,7 @@ const uct = { class: "main-chart" }, cct = { class: "indicator" }, dct = {
|
|
|
69172
69162
|
varietyCode: l.varietyCode,
|
|
69173
69163
|
cycle: l.cycle,
|
|
69174
69164
|
// 周期
|
|
69175
|
-
right: l.rightType,
|
|
69165
|
+
right: l.varietyStock === 1 ? l.rightType : 0,
|
|
69176
69166
|
// 复权方式
|
|
69177
69167
|
contractType: l.varietyStock ? null : l.klineType,
|
|
69178
69168
|
// 合约类型
|
|
@@ -69608,7 +69598,7 @@ const uct = { class: "main-chart" }, cct = { class: "indicator" }, dct = {
|
|
|
69608
69598
|
]);
|
|
69609
69599
|
};
|
|
69610
69600
|
}
|
|
69611
|
-
}, vct = /* @__PURE__ */ Ai(mct, [["__scopeId", "data-v-
|
|
69601
|
+
}, vct = /* @__PURE__ */ Ai(mct, [["__scopeId", "data-v-366a34a3"]]), bct = {
|
|
69612
69602
|
install(n) {
|
|
69613
69603
|
n.component("st-klinePlus", vct);
|
|
69614
69604
|
}
|
|
@@ -245575,7 +245565,7 @@ xhe({
|
|
|
245575
245565
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
245576
245566
|
aliases: ["Python", "py"],
|
|
245577
245567
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
245578
|
-
loader: () => import("./python-
|
|
245568
|
+
loader: () => import("./python-e8bc0c16.js")
|
|
245579
245569
|
});
|
|
245580
245570
|
/*!-----------------------------------------------------------------------------
|
|
245581
245571
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|