scope360-core 0.0.124 → 0.0.126

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.
@@ -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-e6201bf9"), 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 = {
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(() => i.returnPeriod > 0), p = U(() => i.returnPeriod < 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. `);
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-e6201bf9"]]), 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 = {
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 = {
@@ -22732,7 +22732,7 @@ const cL = { class: "calendar-dropdown" }, dL = { class: "calendar-dropdown__out
22732
22732
  }, i = (a) => {
22733
22733
  const o = e.currentProfit > 0 ? a - 1 : a;
22734
22734
  return a === 5 ? e.currentProfit !== 0 : s(o) === 100;
22735
- }, r = U(() => Math.abs(n.value) > 100 ? n.value < 0 ? "0%" : "100%" : e.currentProfit > 0 ? `calc(${50 + n.value / 2}% - 88px)` : e.currentProfit < 0 ? 50 + n.value / 2 + "%" : "50%");
22735
+ }, r = U(() => Math.abs(n.value) > 100 ? n.value < 0 ? "0%" : "calc(100% - 88px)" : e.currentProfit > 0 ? `calc(${50 + n.value / 2}% - 88px)` : e.currentProfit < 0 ? 50 + n.value / 2 + "%" : "50%");
22736
22736
  return (a, o) => (D(), E("div", DL, [
22737
22737
  A("div", {
22738
22738
  class: "progress-badge",
@@ -22761,7 +22761,7 @@ const cL = { class: "calendar-dropdown" }, dL = { class: "calendar-dropdown__out
22761
22761
  ])
22762
22762
  ]));
22763
22763
  }
22764
- }, IL = /* @__PURE__ */ He($L, [["__scopeId", "data-v-44f0a07a"]]), NL = { class: "widget-chips__text" }, LL = {
22764
+ }, IL = /* @__PURE__ */ He($L, [["__scopeId", "data-v-c6fbd53e"]]), NL = { class: "widget-chips__text" }, LL = {
22765
22765
  __name: "WidgetChips",
22766
22766
  props: {
22767
22767
  delta: Number,