st-comp 0.0.52 → 0.0.53
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 +7 -4
- package/lib/bundle.umd.cjs +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlineNew/components/KlineSlide/index.vue +5 -1
- package/src/pages/KlineNew/components/KlineBasic/utils.js +1 -1
- package/src/pages/KlineNew/components/KlineSlide/utils.js +1 -1
package/lib/bundle.js
CHANGED
|
@@ -37801,8 +37801,8 @@ const ts1 = /* @__PURE__ */ Pn(es1, [["__scopeId", "data-v-2ece79b3"]]), ns1 = /
|
|
|
37801
37801
|
resetSlide: (k, $, j) => {
|
|
37802
37802
|
let O = -1, W = -1;
|
|
37803
37803
|
A.data.forEach((V, r1) => {
|
|
37804
|
-
O === -1 && V[0] === k ? O = r1 : O === -1 && new Date(V[0]) > new Date(k) && (O = r1 - 1), W === -1 && V[0] === $
|
|
37805
|
-
}), W = W === -1 ? A.data.length - 1 : W, m.setOption({
|
|
37804
|
+
O === -1 && V[0] === k ? O = r1 : O === -1 && new Date(V[0]) > new Date(k) && (O = r1 - 1), (W === -1 && V[0] === $ || W === -1 && new Date(V[0]) > new Date($)) && (W = r1);
|
|
37805
|
+
}), W = W === -1 ? A.data.length - 1 : W, O = W - O > j ? W - j : O, m.setOption({
|
|
37806
37806
|
dataZoom: [
|
|
37807
37807
|
{
|
|
37808
37808
|
show: !0,
|
|
@@ -37818,8 +37818,11 @@ const ts1 = /* @__PURE__ */ Pn(es1, [["__scopeId", "data-v-2ece79b3"]]), ns1 = /
|
|
|
37818
37818
|
}
|
|
37819
37819
|
]
|
|
37820
37820
|
});
|
|
37821
|
-
}
|
|
37821
|
+
},
|
|
37822
37822
|
// 重置
|
|
37823
|
+
resize: () => {
|
|
37824
|
+
m == null || m.resize();
|
|
37825
|
+
}
|
|
37823
37826
|
}), (k, $) => (g1(), P1("div", {
|
|
37824
37827
|
class: "klineSlide",
|
|
37825
37828
|
ref_key: "slideChartRef",
|
|
@@ -37827,7 +37830,7 @@ const ts1 = /* @__PURE__ */ Pn(es1, [["__scopeId", "data-v-2ece79b3"]]), ns1 = /
|
|
|
37827
37830
|
}, null, 512));
|
|
37828
37831
|
}
|
|
37829
37832
|
});
|
|
37830
|
-
const rs1 = /* @__PURE__ */ Pn(ns1, [["__scopeId", "data-v-
|
|
37833
|
+
const rs1 = /* @__PURE__ */ Pn(ns1, [["__scopeId", "data-v-b5986280"]]), as1 = {
|
|
37831
37834
|
install(e) {
|
|
37832
37835
|
e.component("st-klineUtils", V71), e.component("st-klineSub", ts1), e.component("st-klineTips", Z71), e.component("st-klineSlide", rs1);
|
|
37833
37836
|
}
|