st-comp 0.0.227 → 0.0.228

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.
@@ -67604,7 +67604,7 @@ const _1t = (n) => {
67604
67604
  i.value.length === 0 && Ft(() => {
67605
67605
  Array.from(t.value.children).forEach((r, o) => {
67606
67606
  var s, a, l, u, c, d, h, f;
67607
- ((a = (s = e.data) == null ? void 0 : s[o]) == null ? void 0 : a.label) === "涨跌" ? i.value[o] = "85px" : ((u = (l = e.data) == null ? void 0 : l[o]) == null ? void 0 : u.label) === "至今涨幅" ? i.value[o] = "115px" : ((d = (c = e.data) == null ? void 0 : c[o]) == null ? void 0 : d.label) === "额" ? i.value[o] = "75px" : ["开", "高", "低", "收"].includes((f = (h = e.data) == null ? void 0 : h[o]) == null ? void 0 : f.label) ? i.value[o] = `${r.offsetWidth + 20}px` : i.value[o] = `${r.offsetWidth + 30}px`;
67607
+ ((a = (s = e.data) == null ? void 0 : s[o]) == null ? void 0 : a.label) === "涨跌" ? i.value[o] = "85px" : ((u = (l = e.data) == null ? void 0 : l[o]) == null ? void 0 : u.label) === "至今涨幅" ? i.value[o] = "115px" : ((d = (c = e.data) == null ? void 0 : c[o]) == null ? void 0 : d.label) === "额" ? i.value[o] = "75px" : ["开", "高", "低", "收"].includes((f = (h = e.data) == null ? void 0 : h[o]) == null ? void 0 : f.label) ? i.value[o] = `${r.offsetWidth + 20}px` : i.value[o] = `${r.offsetWidth + 36}px`;
67608
67608
  });
67609
67609
  });
67610
67610
  }), (r, o) => (q(), ge("div", {
@@ -67620,7 +67620,7 @@ const _1t = (n) => {
67620
67620
  ], 512));
67621
67621
  }
67622
67622
  });
67623
- const fU = /* @__PURE__ */ Sn(E1t, [["__scopeId", "data-v-5f7d4137"]]);
67623
+ const fU = /* @__PURE__ */ Sn(E1t, [["__scopeId", "data-v-c6a71281"]]);
67624
67624
  const L1t = { class: "kline-tips" }, M1t = {
67625
67625
  __name: "index",
67626
67626
  props: {
@@ -67632,12 +67632,18 @@ const L1t = { class: "kline-tips" }, M1t = {
67632
67632
  activeIndex: {
67633
67633
  type: [Number, String],
67634
67634
  require: !0
67635
+ },
67636
+ variety: {
67637
+ type: [String, Number],
67638
+ default: () => null
67635
67639
  }
67636
67640
  },
67637
67641
  setup(n) {
67638
67642
  const { round: e, formatValue: t } = Cu, i = n, r = ae(null);
67639
67643
  nt(() => i.activeIndex, () => {
67640
67644
  r.value === null && (r.value = i.data.data[i.activeIndex][1]);
67645
+ }), nt(() => i.variety, () => {
67646
+ r.value;
67641
67647
  });
67642
67648
  const o = ne(() => {
67643
67649
  const { data: a, activeIndex: l } = i;
@@ -67666,7 +67672,7 @@ const L1t = { class: "kline-tips" }, M1t = {
67666
67672
  X(fU, { data: s.value }, null, 8, ["data"])
67667
67673
  ]));
67668
67674
  }
67669
- }, T1t = /* @__PURE__ */ Sn(M1t, [["__scopeId", "data-v-85e9befe"]]), A1t = { class: "kline-averageTips" }, k1t = /* @__PURE__ */ Be({
67675
+ }, T1t = /* @__PURE__ */ Sn(M1t, [["__scopeId", "data-v-946e09fc"]]), A1t = { class: "kline-averageTips" }, k1t = /* @__PURE__ */ Be({
67670
67676
  __name: "index",
67671
67677
  props: {
67672
67678
  // 提示数据
@@ -67965,7 +67971,7 @@ const O1t = { class: "klineSub" }, R1t = { class: "klineSub-tips" }, F1t = {
67965
67971
  }
67966
67972
  });
67967
67973
  const V1t = /* @__PURE__ */ Sn(z1t, [["__scopeId", "data-v-811db6b4"]]);
67968
- const aue = (n) => (g1("data-v-eff0fd1a"), n = n(), m1(), n), H1t = { class: "klineBasic-tips" }, W1t = {
67974
+ const aue = (n) => (g1("data-v-e675b051"), n = n(), m1(), n), H1t = { class: "klineBasic-tips" }, W1t = {
67969
67975
  key: 0,
67970
67976
  class: "klineBasic-sub"
67971
67977
  }, j1t = {
@@ -68418,9 +68424,10 @@ const aue = (n) => (g1("data-v-eff0fd1a"), n = n(), m1(), n), H1t = { class: "kl
68418
68424
  }, [
68419
68425
  ce("div", H1t, [
68420
68426
  X(T1t, {
68427
+ variety: n.variety,
68421
68428
  data: m.value,
68422
68429
  activeIndex: y.value
68423
- }, null, 8, ["data", "activeIndex"])
68430
+ }, null, 8, ["variety", "data", "activeIndex"])
68424
68431
  ]),
68425
68432
  ce("div", {
68426
68433
  class: "klineBasic-main",
@@ -68531,7 +68538,7 @@ const aue = (n) => (g1("data-v-eff0fd1a"), n = n(), m1(), n), H1t = { class: "kl
68531
68538
  ], 64);
68532
68539
  };
68533
68540
  }
68534
- }, Q1t = /* @__PURE__ */ Sn(Y1t, [["__scopeId", "data-v-eff0fd1a"]]), Z1t = {
68541
+ }, Q1t = /* @__PURE__ */ Sn(Y1t, [["__scopeId", "data-v-e675b051"]]), Z1t = {
68535
68542
  install(n) {
68536
68543
  n.component("st-klineBasic", Q1t);
68537
68544
  }
@@ -246774,7 +246781,7 @@ Z0e({
246774
246781
  extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
246775
246782
  aliases: ["Python", "py"],
246776
246783
  firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
246777
- loader: () => import("./python-434eff89.js")
246784
+ loader: () => import("./python-7e10b7a2.js")
246778
246785
  });
246779
246786
  /*!-----------------------------------------------------------------------------
246780
246787
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- import { m as a } from "./index-3c259068.js";
1
+ import { m as a } from "./index-e340af53.js";
2
2
  import "vue";
3
3
  import "echarts";
4
4
  /*!-----------------------------------------------------------------------------