st-comp 0.0.63 → 0.0.64

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/lib/bundle.js CHANGED
@@ -38430,7 +38430,7 @@ const Sue = { class: "klineSub" }, Tue = { class: "klineSub-tips" }, Iue = {
38430
38430
  symbol: "none",
38431
38431
  data: G.data.map((oe, ee) => G.seriesColor === "kline" ? {
38432
38432
  value: oe,
38433
- itemStyle: R(w.data.kline, ee)
38433
+ itemStyle: R(w.data.data, ee)
38434
38434
  } : G.seriesColor === "value" ? {
38435
38435
  value: oe,
38436
38436
  itemStyle: {
@@ -38582,7 +38582,7 @@ const Sue = { class: "klineSub" }, Tue = { class: "klineSub-tips" }, Iue = {
38582
38582
  ]);
38583
38583
  };
38584
38584
  }
38585
- }, Lue = /* @__PURE__ */ Rn(Oue, [["__scopeId", "data-v-97ff4d20"]]);
38585
+ }, Lue = /* @__PURE__ */ Rn(Oue, [["__scopeId", "data-v-4264b76c"]]);
38586
38586
  const Rue = { class: "kline-tips" }, Fue = {
38587
38587
  __name: "index",
38588
38588
  props: {
@@ -38599,8 +38599,8 @@ const Rue = { class: "kline-tips" }, Fue = {
38599
38599
  setup(e) {
38600
38600
  const { round: t, formatValue: n } = O0.stMath, c = e, g = se(() => {
38601
38601
  const { data: x, activeIndex: w } = c;
38602
- if (x.kline && x.kline[w]) {
38603
- const M = x.kline[w], C = [
38602
+ if (x.data && x.data[w]) {
38603
+ const M = x.data[w], C = [
38604
38604
  { label: "开", value: t(M[0]) },
38605
38605
  { label: "高", value: t(M[3]) },
38606
38606
  { label: "低", value: t(M[2]) },
@@ -38621,7 +38621,7 @@ const Rue = { class: "kline-tips" }, Fue = {
38621
38621
  Ke(q8, { data: y.value }, null, 8, ["data"])
38622
38622
  ]));
38623
38623
  }
38624
- }, zue = /* @__PURE__ */ Rn(Fue, [["__scopeId", "data-v-152a9a70"]]), Pue = {
38624
+ }, zue = /* @__PURE__ */ Rn(Fue, [["__scopeId", "data-v-2e8a1081"]]), Pue = {
38625
38625
  __name: "index",
38626
38626
  setup(e, { expose: t }) {
38627
38627
  return t({
@@ -38653,7 +38653,7 @@ const Rue = { class: "kline-tips" }, Fue = {
38653
38653
  // 合并数据
38654
38654
  mergeData: (n, c) => ({
38655
38655
  time: [...n.time, ...c.time.slice(1)],
38656
- kline: [...n.kline, ...c.kline.slice(1)],
38656
+ data: [...n.data, ...c.data.slice(1)],
38657
38657
  mainIndicator: n.mainIndicator.map((g, y) => ({
38658
38658
  ...g,
38659
38659
  data: [...g.data, ...c.mainIndicator[y].data.slice(1)]