scope360-core 0.0.128 → 0.0.129
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
|
@@ -19749,7 +19749,7 @@ ${e.dataType === "balanceChartData" ? `$${Ng(g[0])}` : `${Ng(g[0])}%`}
|
|
|
19749
19749
|
}, null, 8, ["data"])
|
|
19750
19750
|
]));
|
|
19751
19751
|
}
|
|
19752
|
-
}, WV = /* @__PURE__ */ Ue(sR, [["__scopeId", "data-v-71fad3e1"]]), Eu = (t) => (vn("data-v-
|
|
19752
|
+
}, WV = /* @__PURE__ */ Ue(sR, [["__scopeId", "data-v-71fad3e1"]]), Eu = (t) => (vn("data-v-749a82e0"), t = t(), bn(), t), iR = { class: "return-widget" }, rR = { class: "return-widget__content" }, aR = { class: "return-widget__top" }, oR = { class: "return-widget__title-wrapper" }, lR = /* @__PURE__ */ Eu(() => /* @__PURE__ */ O("div", { class: "return-widget__title" }, "Return", -1)), uR = /* @__PURE__ */ Eu(() => /* @__PURE__ */ O("br", null, null, -1)), cR = { class: "return-widget__info" }, dR = { class: "return-widget__total-wrapper" }, hR = /* @__PURE__ */ Eu(() => /* @__PURE__ */ O("div", { class: "return-widget__total-wrapper__title" }, "Total", -1)), fR = { class: "return-widget__total-wrapper__total" }, mR = { class: "return-widget__points" }, pR = { class: "return-widget__point" }, gR = { class: "return-widget__point__title" }, yR = /* @__PURE__ */ Eu(() => /* @__PURE__ */ O("div", { class: "return-widget__point__line" }, null, -1)), _R = ["innerHTML"], vR = {
|
|
19753
19753
|
__name: "ReturnWidget",
|
|
19754
19754
|
props: {
|
|
19755
19755
|
returnData: Object,
|
|
@@ -19772,7 +19772,7 @@ ${e.dataType === "balanceChartData" ? `$${Ng(g[0])}` : `${Ng(g[0])}%`}
|
|
|
19772
19772
|
},
|
|
19773
19773
|
{ title: "Return on winners", value: c.value || 0 },
|
|
19774
19774
|
{ title: "Return on losers", value: d.value || 0 }
|
|
19775
|
-
]), 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 >
|
|
19775
|
+
]), 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 > 1 ? "-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. `);
|
|
19776
19776
|
return (y, w) => (D(), E("div", iR, [
|
|
19777
19777
|
O("div", rR, [
|
|
19778
19778
|
O("div", aR, [
|
|
@@ -19834,7 +19834,7 @@ ${e.dataType === "balanceChartData" ? `$${Ng(g[0])}` : `${Ng(g[0])}%`}
|
|
|
19834
19834
|
], 2)) : H("", !0)
|
|
19835
19835
|
]));
|
|
19836
19836
|
}
|
|
19837
|
-
}, zV = /* @__PURE__ */ Ue(vR, [["__scopeId", "data-v-
|
|
19837
|
+
}, zV = /* @__PURE__ */ Ue(vR, [["__scopeId", "data-v-749a82e0"]]), af = (t) => (vn("data-v-69c2a2fa"), t = t(), bn(), t), bR = { class: "top-positions-widget" }, wR = { class: "top-positions-widget__top" }, kR = { class: "top-positions-widget__title-wrapper" }, xR = /* @__PURE__ */ af(() => /* @__PURE__ */ O("div", { class: "top-positions-widget__title" }, "Top-3 Positions", -1)), SR = /* @__PURE__ */ af(() => /* @__PURE__ */ O("br", null, null, -1)), TR = {
|
|
19838
19838
|
key: 0,
|
|
19839
19839
|
class: "top-positions-widget__returns"
|
|
19840
19840
|
}, MR = { class: "top-positions-widget__return" }, DR = { class: "top-positions-widget__return__left" }, OR = /* @__PURE__ */ af(() => /* @__PURE__ */ O("div", { class: "top-positions-widget__return__line" }, null, -1)), PR = { class: "top-positions-widget__return__pair" }, CR = { class: "top-positions-widget__return__right" }, AR = { class: "top-positions-widget__return__pnl" }, RR = {
|