scope360-core 0.0.124 → 0.0.125
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/dist/scope360-core.js
CHANGED
|
@@ -19737,7 +19737,7 @@ ${e.dataType === "balanceChartData" ? `$${$g(g[0])}` : `${$g(g[0])}%`}
|
|
|
19737
19737
|
}, null, 8, ["data"])
|
|
19738
19738
|
]));
|
|
19739
19739
|
}
|
|
19740
|
-
}, AV = /* @__PURE__ */ He(KA, [["__scopeId", "data-v-db6b817e"]]), tf = (t) => (vn("data-v-
|
|
19740
|
+
}, AV = /* @__PURE__ */ He(KA, [["__scopeId", "data-v-db6b817e"]]), tf = (t) => (vn("data-v-20e94928"), t = t(), bn(), t), QA = { class: "return-widget" }, JA = { class: "return-widget__content" }, eR = { class: "return-widget__top" }, tR = { class: "return-widget__title-wrapper" }, nR = /* @__PURE__ */ tf(() => /* @__PURE__ */ A("div", { class: "return-widget__title" }, "Return", -1)), sR = { class: "return-widget__info" }, iR = { class: "return-widget__total-wrapper" }, rR = /* @__PURE__ */ tf(() => /* @__PURE__ */ A("div", { class: "return-widget__total-wrapper__title" }, "Total", -1)), aR = { class: "return-widget__total-wrapper__total" }, oR = { class: "return-widget__points" }, lR = { class: "return-widget__point" }, uR = { class: "return-widget__point__title" }, cR = /* @__PURE__ */ tf(() => /* @__PURE__ */ A("div", { class: "return-widget__point__line" }, null, -1)), dR = ["innerHTML"], hR = {
|
|
19741
19741
|
__name: "ReturnWidget",
|
|
19742
19742
|
props: {
|
|
19743
19743
|
returnData: Object,
|
|
@@ -19760,7 +19760,7 @@ ${e.dataType === "balanceChartData" ? `$${$g(g[0])}` : `${$g(g[0])}%`}
|
|
|
19760
19760
|
},
|
|
19761
19761
|
{ title: "Return on winners", value: c.value || 0 },
|
|
19762
19762
|
{ title: "Return on losers", value: d.value || 0 }
|
|
19763
|
-
]), l = U(() => i.returnData && i.returnData.avarage_total_return), u = U(() => i.returnData && i.returnData.daily), c = U(() => i.returnData && i.returnData.win), d = U(() => i.returnData && i.returnData.lose), h = U(() => i.returnData && i.returnData.period_balance_change_rate), f = U(() =>
|
|
19763
|
+
]), l = U(() => i.returnData && i.returnData.avarage_total_return), u = U(() => i.returnData && i.returnData.daily), c = U(() => i.returnData && i.returnData.win), d = U(() => i.returnData && i.returnData.lose), h = U(() => i.returnData && i.returnData.period_balance_change_rate), f = U(() => a.value > 0), p = U(() => a.value < 0), m = U(() => r.value > 0 ? "-positive" : "-negative"), g = U(() => r.value > 0 ? `Your profit factor is ${_n(r.value, 2)}. <br /> You earn ${qn(r.value)} on every $1 loss.` : `Your profit factor is ${_n(r.value, 2)}. <br/> You loss ${qn(Math.abs(r.value))} on every $1 earn. `);
|
|
19764
19764
|
return (y, w) => (D(), E("div", QA, [
|
|
19765
19765
|
A("div", JA, [
|
|
19766
19766
|
A("div", eR, [
|
|
@@ -19820,7 +19820,7 @@ ${e.dataType === "balanceChartData" ? `$${$g(g[0])}` : `${$g(g[0])}%`}
|
|
|
19820
19820
|
], 2)) : H("", !0)
|
|
19821
19821
|
]));
|
|
19822
19822
|
}
|
|
19823
|
-
}, RV = /* @__PURE__ */ He(hR, [["__scopeId", "data-v-
|
|
19823
|
+
}, RV = /* @__PURE__ */ He(hR, [["__scopeId", "data-v-20e94928"]]), v_ = (t) => (vn("data-v-60161694"), t = t(), bn(), t), fR = { class: "top-positions-widget" }, mR = { class: "top-positions-widget__top" }, pR = { class: "top-positions-widget__title-wrapper" }, gR = /* @__PURE__ */ v_(() => /* @__PURE__ */ A("div", { class: "top-positions-widget__title" }, "Top-3 Positions", -1)), yR = {
|
|
19824
19824
|
key: 0,
|
|
19825
19825
|
class: "top-positions-widget__returns"
|
|
19826
19826
|
}, _R = { class: "top-positions-widget__return" }, vR = { class: "top-positions-widget__return__left" }, bR = /* @__PURE__ */ v_(() => /* @__PURE__ */ A("div", { class: "top-positions-widget__return__line" }, null, -1)), wR = { class: "top-positions-widget__return__pair" }, kR = { class: "top-positions-widget__return__right" }, xR = { class: "top-positions-widget__return__pnl" }, SR = {
|