scope360-core 0.0.151 → 0.0.152

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.
@@ -9342,6 +9342,7 @@ const zS = { class: "scope-datepicker__wrapper" }, HS = {
9342
9342
  icon: String,
9343
9343
  tabName: String,
9344
9344
  selected: Boolean,
9345
+ notActive: Boolean,
9345
9346
  isFull: { type: Boolean, default: !0 },
9346
9347
  page: String
9347
9348
  },
@@ -9351,7 +9352,7 @@ const zS = { class: "scope-datepicker__wrapper" }, HS = {
9351
9352
  n("openPage", i);
9352
9353
  };
9353
9354
  return (i, r) => (D(), E("button", {
9354
- class: de(["scope-navigation-tab", { "-selected": t.selected }]),
9355
+ class: de(["scope-navigation-tab", { "-selected": t.selected, "-not-active": t.notActive }]),
9355
9356
  onClick: r[0] || (r[0] = (a) => s(t.page))
9356
9357
  }, [
9357
9358
  P("div", QS, [
@@ -9363,7 +9364,7 @@ const zS = { class: "scope-datepicker__wrapper" }, HS = {
9363
9364
  t.isFull ? (D(), E("span", JS, ae(t.tabName), 1)) : H("", !0)
9364
9365
  ], 2));
9365
9366
  }
9366
- }, PV = /* @__PURE__ */ Ue(eT, [["__scopeId", "data-v-6445e4bf"]]);
9367
+ }, PV = /* @__PURE__ */ Ue(eT, [["__scopeId", "data-v-4d7796fc"]]);
9367
9368
  function zs(t) {
9368
9369
  if (t === void 0)
9369
9370
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -11642,7 +11643,7 @@ const CV = {
11642
11643
  ])) : H("", !0)
11643
11644
  ]));
11644
11645
  }
11645
- }, RV = /* @__PURE__ */ Ue($M, [["__scopeId", "data-v-9bce09c1"]]), Py = (t) => (vn("data-v-c6866516"), t = t(), bn(), t), IM = { class: "sidebar-popup-container" }, NM = { class: "sidebar-popup__profile-info" }, LM = ["src"], FM = {
11646
+ }, RV = /* @__PURE__ */ Ue($M, [["__scopeId", "data-v-9bce09c1"]]), Py = (t) => (vn("data-v-cd05e8e4"), t = t(), bn(), t), IM = { class: "sidebar-popup-container" }, NM = { class: "sidebar-popup__profile-info" }, LM = ["src"], FM = {
11646
11647
  key: 1,
11647
11648
  class: "sidebar-popup__profile-info__letter"
11648
11649
  }, YM = { class: "sidebar-popup__profile-info__wrapper" }, VM = { class: "sidebar-popup__profile-info__name" }, BM = { class: "sidebar-popup__profile-info__e-mail" }, WM = /* @__PURE__ */ Py(() => /* @__PURE__ */ P("div", { class: "sidebar-popup__divider" }, null, -1)), zM = { class: "sidebar-popup__tabs" }, HM = ["onClick"], UM = { class: "sidebar-popup__tab__icon-wrapper" }, jM = { class: "sidebar-popup__tab__name" }, qM = /* @__PURE__ */ Py(() => /* @__PURE__ */ P("div", { class: "sidebar-popup__divider" }, null, -1)), GM = { class: "sidebar-popup__actions-buttons" }, ZM = {
@@ -11655,7 +11656,7 @@ const CV = {
11655
11656
  setup(t, { emit: e }) {
11656
11657
  const n = t, s = e, i = Q(!1), r = Q(null), a = kr([
11657
11658
  { name: "charts", isActive: !0 },
11658
- { name: "futures", isActive: !1 },
11659
+ { name: "futures", isActive: !0 },
11659
11660
  { name: "spot", isActive: !1 },
11660
11661
  { name: "trading terminal", isActive: !1 }
11661
11662
  ]), o = U(() => n.user && n.user.name ? n.user.name.charAt(0) : "U"), l = () => {
@@ -11737,7 +11738,7 @@ const CV = {
11737
11738
  ], 512)) : H("", !0)
11738
11739
  ]));
11739
11740
  }
11740
- }, EV = /* @__PURE__ */ Ue(ZM, [["__scopeId", "data-v-c6866516"]]), XM = { class: "scope-tooltip" }, KM = {
11741
+ }, EV = /* @__PURE__ */ Ue(ZM, [["__scopeId", "data-v-cd05e8e4"]]), XM = { class: "scope-tooltip" }, KM = {
11741
11742
  __name: "Tooltip",
11742
11743
  props: {
11743
11744
  alternative: Boolean
@@ -19770,7 +19771,7 @@ const v_ = /* @__PURE__ */ YC("line", Ol), VC = { class: "chart-container" }, b_
19770
19771
  }, null, 8, ["data"])
19771
19772
  ]));
19772
19773
  }
19773
- }, YV = /* @__PURE__ */ Ue(nR, [["__scopeId", "data-v-71fad3e1"]]), Au = (t) => (vn("data-v-d99b6067"), t = t(), bn(), t), sR = { class: "return-widget" }, iR = { class: "return-widget__content" }, rR = { class: "return-widget__top" }, aR = { class: "return-widget__title-wrapper" }, oR = /* @__PURE__ */ Au(() => /* @__PURE__ */ P("div", { class: "return-widget__title" }, "Return", -1)), lR = /* @__PURE__ */ Au(() => /* @__PURE__ */ P("br", null, null, -1)), uR = { class: "return-widget__info" }, cR = { class: "return-widget__total-wrapper" }, dR = /* @__PURE__ */ Au(() => /* @__PURE__ */ P("div", { class: "return-widget__total-wrapper__title" }, "Total", -1)), hR = { class: "return-widget__total-wrapper__total" }, fR = { class: "return-widget__points" }, mR = { class: "return-widget__point" }, pR = { class: "return-widget__point__title" }, gR = /* @__PURE__ */ Au(() => /* @__PURE__ */ P("div", { class: "return-widget__point__line" }, null, -1)), yR = ["innerHTML"], _R = {
19774
+ }, YV = /* @__PURE__ */ Ue(nR, [["__scopeId", "data-v-71fad3e1"]]), Au = (t) => (vn("data-v-7f41e546"), t = t(), bn(), t), sR = { class: "return-widget" }, iR = { class: "return-widget__content" }, rR = { class: "return-widget__top" }, aR = { class: "return-widget__title-wrapper" }, oR = /* @__PURE__ */ Au(() => /* @__PURE__ */ P("div", { class: "return-widget__title" }, "Return", -1)), lR = /* @__PURE__ */ Au(() => /* @__PURE__ */ P("br", null, null, -1)), uR = { class: "return-widget__info" }, cR = { class: "return-widget__total-wrapper" }, dR = /* @__PURE__ */ Au(() => /* @__PURE__ */ P("div", { class: "return-widget__total-wrapper__title" }, "Total", -1)), hR = { class: "return-widget__total-wrapper__total" }, fR = { class: "return-widget__points" }, mR = { class: "return-widget__point" }, pR = { class: "return-widget__point__title" }, gR = /* @__PURE__ */ Au(() => /* @__PURE__ */ P("div", { class: "return-widget__point__line" }, null, -1)), yR = ["innerHTML"], _R = {
19774
19775
  __name: "ReturnWidget",
19775
19776
  props: {
19776
19777
  returnData: Object,
@@ -19791,8 +19792,8 @@ const v_ = /* @__PURE__ */ YC("line", Ol), VC = { class: "chart-container" }, b_
19791
19792
  options: { isPlus: !0, isFixed: !0 },
19792
19793
  class: u.value === 0 ? "" : u.value >= 0 ? "-win" : "-loss"
19793
19794
  },
19794
- { title: "Return on winners", value: c.value || 0 },
19795
- { title: "Return on losers", value: d.value || 0 }
19795
+ { title: "Return on winners", value: c.value || 0, class: "-win" },
19796
+ { title: "Return on losers", value: d.value || 0, class: "-loss" }
19796
19797
  ]), 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 ${nn(r.value, 2)}. <br /> You earn ${qn(r.value)} on every $1 loss.` : `Your profit factor is ${nn(r.value, 2)}. <br/> You loss ${qn(Math.abs(r.value))} on every $1 earn. `);
19797
19798
  return (y, w) => (D(), E("div", sR, [
19798
19799
  P("div", iR, [
@@ -19855,7 +19856,7 @@ const v_ = /* @__PURE__ */ YC("line", Ol), VC = { class: "chart-container" }, b_
19855
19856
  ], 2)) : H("", !0)
19856
19857
  ]));
19857
19858
  }
19858
- }, VV = /* @__PURE__ */ Ue(_R, [["__scopeId", "data-v-d99b6067"]]), rf = (t) => (vn("data-v-69c2a2fa"), t = t(), bn(), t), vR = { class: "top-positions-widget" }, bR = { class: "top-positions-widget__top" }, wR = { class: "top-positions-widget__title-wrapper" }, kR = /* @__PURE__ */ rf(() => /* @__PURE__ */ P("div", { class: "top-positions-widget__title" }, "Top-3 Positions", -1)), xR = /* @__PURE__ */ rf(() => /* @__PURE__ */ P("br", null, null, -1)), SR = {
19859
+ }, VV = /* @__PURE__ */ Ue(_R, [["__scopeId", "data-v-7f41e546"]]), rf = (t) => (vn("data-v-69c2a2fa"), t = t(), bn(), t), vR = { class: "top-positions-widget" }, bR = { class: "top-positions-widget__top" }, wR = { class: "top-positions-widget__title-wrapper" }, kR = /* @__PURE__ */ rf(() => /* @__PURE__ */ P("div", { class: "top-positions-widget__title" }, "Top-3 Positions", -1)), xR = /* @__PURE__ */ rf(() => /* @__PURE__ */ P("br", null, null, -1)), SR = {
19859
19860
  key: 0,
19860
19861
  class: "top-positions-widget__returns"
19861
19862
  }, TR = { class: "top-positions-widget__return" }, MR = { class: "top-positions-widget__return__left" }, DR = /* @__PURE__ */ rf(() => /* @__PURE__ */ P("div", { class: "top-positions-widget__return__line" }, null, -1)), OR = { class: "top-positions-widget__return__pair" }, PR = { class: "top-positions-widget__return__right" }, CR = { class: "top-positions-widget__return__pnl" }, AR = {