scope360-core 0.0.446 → 0.0.448
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/index.css +1 -1
- package/dist/scope360-core.js +132 -128
- package/dist/scope360-core.js.map +1 -1
- package/dist/scope360-core.umd.cjs +23 -23
- package/dist/scope360-core.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/scope360-core.js
CHANGED
|
@@ -1282,7 +1282,7 @@ const B1 = {
|
|
|
1282
1282
|
], 2)
|
|
1283
1283
|
], 4));
|
|
1284
1284
|
}
|
|
1285
|
-
},
|
|
1285
|
+
}, u4 = /* @__PURE__ */ Ee(Y1, [["__scopeId", "data-v-3bef59a1"]]), W1 = {
|
|
1286
1286
|
key: 0,
|
|
1287
1287
|
class: "scope-input__label"
|
|
1288
1288
|
}, z1 = {
|
|
@@ -1428,7 +1428,7 @@ const B1 = {
|
|
|
1428
1428
|
t.invalid && t.errorMessage ? (w(), O("div", j1, J(t.errorMessage), 1)) : B("", !0)
|
|
1429
1429
|
], 2));
|
|
1430
1430
|
}
|
|
1431
|
-
},
|
|
1431
|
+
}, c4 = /* @__PURE__ */ Ee(q1, [["__scopeId", "data-v-534f8650"]]), G1 = { class: "scope-radio-label" }, X1 = ["value"], Z1 = { class: "scope-text" }, K1 = {
|
|
1432
1432
|
__name: "Radio",
|
|
1433
1433
|
props: /* @__PURE__ */ ut({
|
|
1434
1434
|
value: String | Object | Boolean | Number,
|
|
@@ -1456,7 +1456,7 @@ const B1 = {
|
|
|
1456
1456
|
k("span", Z1, J(t.label), 1)
|
|
1457
1457
|
]));
|
|
1458
1458
|
}
|
|
1459
|
-
},
|
|
1459
|
+
}, d4 = /* @__PURE__ */ Ee(K1, [["__scopeId", "data-v-2ff612fa"]]), Q1 = (t) => (kt("data-v-a4862285"), t = t(), xt(), t), J1 = { class: "scope-toggle-wrapper" }, ek = ["checked", "name"], tk = /* @__PURE__ */ Q1(() => /* @__PURE__ */ k("div", { class: "scope-toggle-wrapper__indicator" }, null, -1)), nk = {
|
|
1460
1460
|
__name: "Toggle",
|
|
1461
1461
|
props: /* @__PURE__ */ ut({
|
|
1462
1462
|
name: String
|
|
@@ -1508,7 +1508,7 @@ const B1 = {
|
|
|
1508
1508
|
])
|
|
1509
1509
|
]));
|
|
1510
1510
|
}
|
|
1511
|
-
},
|
|
1511
|
+
}, h4 = /* @__PURE__ */ Ee(ok, [["__scopeId", "data-v-d019d4a8"]]), lk = { class: "scope-menu-tabs" }, uk = ["onClick"], ck = {
|
|
1512
1512
|
__name: "Menu",
|
|
1513
1513
|
props: /* @__PURE__ */ ut({
|
|
1514
1514
|
tabs: Array
|
|
@@ -1529,7 +1529,7 @@ const B1 = {
|
|
|
1529
1529
|
}, J(r.name), 11, uk))), 128))
|
|
1530
1530
|
]));
|
|
1531
1531
|
}
|
|
1532
|
-
},
|
|
1532
|
+
}, f4 = /* @__PURE__ */ Ee(ck, [["__scopeId", "data-v-a3d1f445"]]), dk = { class: "scope-switcher" }, hk = { class: "scope-switcher__current-item" }, fk = {
|
|
1533
1533
|
__name: "Switcher",
|
|
1534
1534
|
props: /* @__PURE__ */ ut({
|
|
1535
1535
|
items: Array
|
|
@@ -1562,7 +1562,7 @@ const B1 = {
|
|
|
1562
1562
|
}, null, 8, ["class"])
|
|
1563
1563
|
]));
|
|
1564
1564
|
}
|
|
1565
|
-
},
|
|
1565
|
+
}, m4 = /* @__PURE__ */ Ee(fk, [["__scopeId", "data-v-7b553806"]]);
|
|
1566
1566
|
function Me(t) {
|
|
1567
1567
|
const e = Object.prototype.toString.call(t);
|
|
1568
1568
|
return t instanceof Date || typeof t == "object" && e === "[object Date]" ? new t.constructor(+t) : typeof t == "number" || e === "[object Number]" || typeof t == "string" || e === "[object String]" ? new Date(t) : /* @__PURE__ */ new Date(NaN);
|
|
@@ -9618,7 +9618,7 @@ const _D = { class: "scope-calendar scope-datepicker__wrapper" }, yD = {
|
|
|
9618
9618
|
t.isInvalid && t.errorMessage ? (w(), O("div", xD, J(t.errorMessage), 1)) : B("", !0)
|
|
9619
9619
|
], 512));
|
|
9620
9620
|
}
|
|
9621
|
-
},
|
|
9621
|
+
}, p4 = /* @__PURE__ */ Ee(SD, [["__scopeId", "data-v-6f817b77"]]), MD = { class: "scope-navigation-tab__icon-wrapper" }, DD = { key: 0 }, TD = {
|
|
9622
9622
|
__name: "NavigationTab",
|
|
9623
9623
|
props: {
|
|
9624
9624
|
icon: String,
|
|
@@ -9649,7 +9649,7 @@ const _D = { class: "scope-calendar scope-datepicker__wrapper" }, yD = {
|
|
|
9649
9649
|
t.isFull ? (w(), O("span", DD, J(t.tabName), 1)) : B("", !0)
|
|
9650
9650
|
], 2));
|
|
9651
9651
|
}
|
|
9652
|
-
},
|
|
9652
|
+
}, g4 = /* @__PURE__ */ Ee(TD, [["__scopeId", "data-v-e4740b5b"]]), OD = { class: "toast__content" }, CD = { class: "toast__content-wrapper" }, PD = ["innerHTML"], AD = /* @__PURE__ */ Xt({
|
|
9653
9653
|
__name: "Toast",
|
|
9654
9654
|
props: {
|
|
9655
9655
|
type: { type: String, default: "success" },
|
|
@@ -9761,7 +9761,7 @@ const _D = { class: "scope-calendar scope-datepicker__wrapper" }, yD = {
|
|
|
9761
9761
|
t.invalid ? (w(), O("div", ID, J(t.errorMessage), 1)) : B("", !0)
|
|
9762
9762
|
], 2));
|
|
9763
9763
|
}
|
|
9764
|
-
},
|
|
9764
|
+
}, _4 = /* @__PURE__ */ Ee(FD, [["__scopeId", "data-v-9f9b48fd"]]);
|
|
9765
9765
|
function $y(t, e) {
|
|
9766
9766
|
return function() {
|
|
9767
9767
|
return t.apply(e, arguments);
|
|
@@ -11681,7 +11681,7 @@ const nv = (t) => (kt("data-v-6c371e0f"), t = t(), xt(), t), hO = { class: "scop
|
|
|
11681
11681
|
])) : B("", !0)
|
|
11682
11682
|
]));
|
|
11683
11683
|
}
|
|
11684
|
-
},
|
|
11684
|
+
}, y4 = /* @__PURE__ */ Ee(SO, [["__scopeId", "data-v-6c371e0f"]]), MO = { class: "scope-tooltip" }, DO = {
|
|
11685
11685
|
__name: "Tooltip",
|
|
11686
11686
|
props: {
|
|
11687
11687
|
alternative: Boolean,
|
|
@@ -11764,7 +11764,7 @@ const nv = (t) => (kt("data-v-6c371e0f"), t = t(), xt(), t), hO = { class: "scop
|
|
|
11764
11764
|
[Pn, t.isOpen]
|
|
11765
11765
|
]);
|
|
11766
11766
|
}
|
|
11767
|
-
},
|
|
11767
|
+
}, v4 = /* @__PURE__ */ Ee(PO, [["__scopeId", "data-v-b712f5b6"]]), df = (t) => (kt("data-v-12157948"), t = t(), xt(), t), AO = { class: "sidebar-popup-container" }, $O = { class: "sidebar-popup__profile-info" }, EO = ["src"], RO = {
|
|
11768
11768
|
key: 1,
|
|
11769
11769
|
class: "sidebar-popup__profile-info__letter"
|
|
11770
11770
|
}, LO = { class: "sidebar-popup__profile-info__wrapper" }, IO = { class: "sidebar-popup__profile-info__name" }, FO = { class: "sidebar-popup__profile-info__e-mail" }, NO = /* @__PURE__ */ df(() => /* @__PURE__ */ k("div", { class: "sidebar-popup__divider" }, null, -1)), BO = { class: "sidebar-popup__tabs" }, VO = ["onClick"], YO = { class: "sidebar-popup__tab__icon-wrapper" }, WO = { class: "sidebar-popup__tab__name" }, zO = /* @__PURE__ */ df(() => /* @__PURE__ */ k("div", { class: "sidebar-popup__divider" }, null, -1)), HO = { class: "sidebar-popup__actions-buttons" }, UO = { class: "sidebar-popup__dark-mode" }, jO = /* @__PURE__ */ df(() => /* @__PURE__ */ k("span", null, "Dark Mode", -1)), qO = {
|
|
@@ -11874,13 +11874,13 @@ const nv = (t) => (kt("data-v-6c371e0f"), t = t(), xt(), t), hO = { class: "scop
|
|
|
11874
11874
|
], 512)) : B("", !0)
|
|
11875
11875
|
]));
|
|
11876
11876
|
}
|
|
11877
|
-
},
|
|
11877
|
+
}, b4 = /* @__PURE__ */ Ee(qO, [["__scopeId", "data-v-12157948"]]), GO = {}, XO = { class: "scope-sidebar" };
|
|
11878
11878
|
function ZO(t, e) {
|
|
11879
11879
|
return w(), O("div", XO, [
|
|
11880
11880
|
he(t.$slots, "default", {}, void 0, !0)
|
|
11881
11881
|
]);
|
|
11882
11882
|
}
|
|
11883
|
-
const
|
|
11883
|
+
const w4 = /* @__PURE__ */ Ee(GO, [["render", ZO], ["__scopeId", "data-v-bf4866bc"]]), KO = { class: "no-more__icon-wrapper" }, QO = { class: "no-more__text-wrapper" }, JO = { class: "no-more__title" }, e2 = { class: "no-more__subtitle" }, t2 = {
|
|
11884
11884
|
__name: "NoMore",
|
|
11885
11885
|
props: {
|
|
11886
11886
|
title: {
|
|
@@ -14000,7 +14000,7 @@ const n0 = (t) => (kt("data-v-d015d2ed"), t = t(), xt(), t), gC = { class: "long
|
|
|
14000
14000
|
DC
|
|
14001
14001
|
]));
|
|
14002
14002
|
}
|
|
14003
|
-
},
|
|
14003
|
+
}, k4 = /* @__PURE__ */ Ee(TC, [["__scopeId", "data-v-2f2b39bd"]]);
|
|
14004
14004
|
/*!
|
|
14005
14005
|
* @kurkle/color v0.3.2
|
|
14006
14006
|
* https://github.com/kurkle/color#readme
|
|
@@ -21753,7 +21753,7 @@ function iR(t, { min: e, max: n }) {
|
|
|
21753
21753
|
significand: d
|
|
21754
21754
|
}), s;
|
|
21755
21755
|
}
|
|
21756
|
-
class
|
|
21756
|
+
class S4 extends zr {
|
|
21757
21757
|
static id = "logarithmic";
|
|
21758
21758
|
static defaults = {
|
|
21759
21759
|
ticks: {
|
|
@@ -21965,7 +21965,7 @@ function _R(t, e, n) {
|
|
|
21965
21965
|
type: "pointLabel"
|
|
21966
21966
|
});
|
|
21967
21967
|
}
|
|
21968
|
-
class
|
|
21968
|
+
class M4 extends Ru {
|
|
21969
21969
|
static id = "radialLinear";
|
|
21970
21970
|
static defaults = {
|
|
21971
21971
|
display: !0,
|
|
@@ -22409,7 +22409,7 @@ function Ul(t, e, n) {
|
|
|
22409
22409
|
const u = a - r;
|
|
22410
22410
|
return u ? o + (l - o) * (e - r) / u : o;
|
|
22411
22411
|
}
|
|
22412
|
-
class
|
|
22412
|
+
class D4 extends Gg {
|
|
22413
22413
|
static id = "timeseries";
|
|
22414
22414
|
static defaults = Gg.defaults;
|
|
22415
22415
|
constructor(e) {
|
|
@@ -22933,7 +22933,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
22933
22933
|
})) : B("", !0)
|
|
22934
22934
|
]));
|
|
22935
22935
|
}
|
|
22936
|
-
},
|
|
22936
|
+
}, T4 = /* @__PURE__ */ Ee(YR, [["__scopeId", "data-v-969073e2"]]), nb = (t) => (kt("data-v-ccf45b88"), t = t(), xt(), t), WR = { class: "balance-widget" }, zR = { class: "balance-part" }, HR = { class: "balance-part__top" }, UR = { class: "balance-part__title-wrapper" }, jR = /* @__PURE__ */ nb(() => /* @__PURE__ */ k("div", { class: "balance-part__title" }, "Balance", -1)), qR = { class: "balance-part__content" }, GR = { class: "balance-part__content__wrapper" }, XR = {
|
|
22937
22937
|
key: 0,
|
|
22938
22938
|
class: "balance-part__content__bitcoin"
|
|
22939
22939
|
}, ZR = {
|
|
@@ -23095,7 +23095,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
23095
23095
|
y(rt)(t.profit, { isPercentage: t.isPercentage, isFixed: !0 })
|
|
23096
23096
|
)), 1)
|
|
23097
23097
|
]),
|
|
23098
|
-
(w(), pe(y(
|
|
23098
|
+
(w(), pe(y(e4), {
|
|
23099
23099
|
key: a.value,
|
|
23100
23100
|
"current-profit": t.currentProfit,
|
|
23101
23101
|
"is-hidden": t.isMaskPersonalTarget,
|
|
@@ -23110,7 +23110,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
23110
23110
|
})) : B("", !0)
|
|
23111
23111
|
]));
|
|
23112
23112
|
}
|
|
23113
|
-
},
|
|
23113
|
+
}, O4 = /* @__PURE__ */ Ee(iL, [["__scopeId", "data-v-ccf45b88"]]), dc = (t) => (kt("data-v-9786b83c"), t = t(), xt(), t), rL = { class: "calendar-widget" }, aL = { class: "calendar-widget__calendar" }, oL = { class: "calendar-widget__top" }, lL = { class: "calendar-widget__title-wrapper" }, uL = /* @__PURE__ */ dc(() => /* @__PURE__ */ k("div", { class: "calendar-widget__title" }, "Calendar", -1)), cL = { class: "stat-calendar" }, dL = { class: "stat-calendar__week-days" }, hL = {
|
|
23114
23114
|
key: 0,
|
|
23115
23115
|
class: "stat-calendar__row-wrapper"
|
|
23116
23116
|
}, fL = { class: "stat-calendar__row" }, mL = ["onClick"], pL = /* @__PURE__ */ dc(() => /* @__PURE__ */ k("div", { class: "calendar-widget__divider" }, null, -1)), gL = {
|
|
@@ -23299,7 +23299,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
23299
23299
|
})) : B("", !0)
|
|
23300
23300
|
]));
|
|
23301
23301
|
}
|
|
23302
|
-
},
|
|
23302
|
+
}, C4 = /* @__PURE__ */ Ee(TL, [["__scopeId", "data-v-9786b83c"]]), Xf = (t) => (kt("data-v-f0601396"), t = t(), xt(), t), OL = { class: "commission-widget" }, CL = { class: "commission-widget__content" }, PL = { class: "commission-widget__top" }, AL = { class: "commission-widget__title-wrapper" }, $L = /* @__PURE__ */ Xf(() => /* @__PURE__ */ k("div", { class: "commission-widget__title" }, "Commissions and Fees", -1)), EL = { class: "commission-widget__info" }, RL = { class: "commission-widget__total-wrapper" }, LL = /* @__PURE__ */ Xf(() => /* @__PURE__ */ k("div", { class: "commission-widget__total-wrapper__title" }, "Total", -1)), IL = { class: "commission-widget__total-wrapper__total" }, FL = { class: "commission-widget__total-wrapper__value" }, NL = { class: "commission-widget__points" }, BL = { class: "commission-widget__point" }, VL = { class: "commission-widget__point__title" }, YL = /* @__PURE__ */ Xf(() => /* @__PURE__ */ k("div", { class: "commission-widget__point__line" }, null, -1)), WL = {
|
|
23303
23303
|
__name: "CommissionsFeesWidget",
|
|
23304
23304
|
props: {
|
|
23305
23305
|
commissionData: Object,
|
|
@@ -23389,7 +23389,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
23389
23389
|
})) : B("", !0)
|
|
23390
23390
|
]));
|
|
23391
23391
|
}
|
|
23392
|
-
},
|
|
23392
|
+
}, P4 = /* @__PURE__ */ Ee(WL, [["__scopeId", "data-v-f0601396"]]), zL = { class: "chart-wrapper" }, HL = ["id", "onMouseover", "onMouseleave"], hc = {
|
|
23393
23393
|
__name: "BarChart",
|
|
23394
23394
|
props: {
|
|
23395
23395
|
data: { type: Object, required: !0 },
|
|
@@ -23675,7 +23675,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
23675
23675
|
})) : B("", !0)
|
|
23676
23676
|
]));
|
|
23677
23677
|
}
|
|
23678
|
-
},
|
|
23678
|
+
}, A4 = /* @__PURE__ */ Ee(iI, [["__scopeId", "data-v-d430cc1b"]]), rI = (t) => (kt("data-v-9276a75c"), t = t(), xt(), t), aI = { class: "size-widget" }, oI = { class: "size-widget__top" }, lI = { class: "size-widget__title-wrapper" }, uI = /* @__PURE__ */ rI(() => /* @__PURE__ */ k("div", { class: "size-widget__title" }, "Result by position size", -1)), cI = { key: 0 }, dI = {
|
|
23679
23679
|
key: 1,
|
|
23680
23680
|
class: "size-widget__grid"
|
|
23681
23681
|
}, hI = { class: "size-widget__card" }, fI = { class: "size-widget__card__top" }, mI = { class: "size-widget__card__title" }, pI = { class: "size-widget__card__trades" }, gI = { class: "size-widget__card__bottom" }, _I = {
|
|
@@ -23767,7 +23767,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
23767
23767
|
})) : B("", !0)
|
|
23768
23768
|
]));
|
|
23769
23769
|
}
|
|
23770
|
-
}, $
|
|
23770
|
+
}, $4 = /* @__PURE__ */ Ee(_I, [["__scopeId", "data-v-9276a75c"]]), yI = (t) => (kt("data-v-98670dfc"), t = t(), xt(), t), vI = { class: "performance-widget" }, bI = { class: "performance-widget__top" }, wI = { class: "performance-widget__title-wrapper" }, kI = /* @__PURE__ */ yI(() => /* @__PURE__ */ k("div", { class: "performance-widget__title" }, "Performance (cumulative)", -1)), xI = {
|
|
23771
23771
|
__name: "PerformanceWidget",
|
|
23772
23772
|
props: {
|
|
23773
23773
|
performanceChartData: { type: Array, default: [] },
|
|
@@ -23803,7 +23803,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
23803
23803
|
})) : B("", !0)
|
|
23804
23804
|
]));
|
|
23805
23805
|
}
|
|
23806
|
-
},
|
|
23806
|
+
}, E4 = /* @__PURE__ */ Ee(xI, [["__scopeId", "data-v-98670dfc"]]), Zf = (t) => (kt("data-v-e936f12b"), t = t(), xt(), t), SI = { class: "return-widget" }, MI = { class: "return-widget__content" }, DI = { class: "return-widget__top" }, TI = { class: "return-widget__title-wrapper" }, OI = /* @__PURE__ */ Zf(() => /* @__PURE__ */ k("div", { class: "return-widget__title" }, "Return", -1)), CI = { class: "return-widget__info" }, PI = { class: "return-widget__total-wrapper" }, AI = /* @__PURE__ */ Zf(() => /* @__PURE__ */ k("div", { class: "return-widget__total-wrapper__title" }, "Total", -1)), $I = { class: "return-widget__total-wrapper__total" }, EI = { class: "return-widget__points" }, RI = { class: "return-widget__point" }, LI = { class: "return-widget__point__title" }, II = /* @__PURE__ */ Zf(() => /* @__PURE__ */ k("div", { class: "return-widget__point__line" }, null, -1)), FI = ["innerHTML"], NI = {
|
|
23807
23807
|
__name: "ReturnWidget",
|
|
23808
23808
|
props: {
|
|
23809
23809
|
totalReturn: { type: Number, default: 0 },
|
|
@@ -23962,7 +23962,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
23962
23962
|
})) : B("", !0)
|
|
23963
23963
|
]));
|
|
23964
23964
|
}
|
|
23965
|
-
},
|
|
23965
|
+
}, R4 = /* @__PURE__ */ Ee(NI, [["__scopeId", "data-v-e936f12b"]]), sb = (t) => (kt("data-v-1522f636"), t = t(), xt(), t), BI = { class: "top-positions-widget" }, VI = { class: "top-positions-widget__top" }, YI = { class: "top-positions-widget__title-wrapper" }, WI = /* @__PURE__ */ sb(() => /* @__PURE__ */ k("div", { class: "top-positions-widget__title" }, "Top Positions", -1)), zI = {
|
|
23966
23966
|
key: 0,
|
|
23967
23967
|
class: "top-positions-widget__returns"
|
|
23968
23968
|
}, HI = { class: "top-positions-widget__return" }, UI = { class: "top-positions-widget__return__left" }, jI = /* @__PURE__ */ sb(() => /* @__PURE__ */ k("div", { class: "top-positions-widget__return__line" }, null, -1)), qI = ["onClick"], GI = { class: "top-positions-widget__return__right" }, XI = { class: "top-positions-widget__return__pnl" }, ZI = {
|
|
@@ -24038,7 +24038,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
24038
24038
|
})) : B("", !0)
|
|
24039
24039
|
]));
|
|
24040
24040
|
}
|
|
24041
|
-
},
|
|
24041
|
+
}, L4 = /* @__PURE__ */ Ee(ZI, [["__scopeId", "data-v-1522f636"]]), Kf = (t) => (kt("data-v-a3559196"), t = t(), xt(), t), KI = { class: "trade-widget" }, QI = { class: "trade-widget__content" }, JI = { class: "trade-widget__top" }, eF = { class: "trade-widget__title-wrapper" }, tF = /* @__PURE__ */ Kf(() => /* @__PURE__ */ k("div", { class: "trade-widget__title" }, "Trades Performance", -1)), nF = { class: "trade-widget__info" }, sF = { class: "trade-widget__total-wrapper" }, iF = /* @__PURE__ */ Kf(() => /* @__PURE__ */ k("div", { class: "trade-widget__total-wrapper__title" }, "Total", -1)), rF = { class: "trade-widget__total-wrapper__total" }, aF = { class: "trade-widget__total-wrapper__value" }, oF = { class: "trade-widget__points" }, lF = { class: "trade-widget__point" }, uF = { class: "trade-widget__point__title" }, cF = /* @__PURE__ */ Kf(() => /* @__PURE__ */ k("div", { class: "trade-widget__point__line" }, null, -1)), dF = {
|
|
24042
24042
|
__name: "TradePerformanceWidget",
|
|
24043
24043
|
props: {
|
|
24044
24044
|
totalTrades: Number,
|
|
@@ -24103,7 +24103,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
24103
24103
|
})) : B("", !0)
|
|
24104
24104
|
]));
|
|
24105
24105
|
}
|
|
24106
|
-
},
|
|
24106
|
+
}, I4 = /* @__PURE__ */ Ee(dF, [["__scopeId", "data-v-a3559196"]]), Qf = (t) => (kt("data-v-6e6e0081"), t = t(), xt(), t), hF = { class: "winrate-widget" }, fF = { class: "winrate-widget__winrate" }, mF = { class: "winrate-widget__title-wrapper" }, pF = /* @__PURE__ */ Qf(() => /* @__PURE__ */ k("div", { class: "winrate-widget__title" }, "Winrate", -1)), gF = { class: "winrate-widget__chart" }, _F = { class: "winrate-widget__data" }, yF = { class: "winrate-widget__data_value" }, vF = /* @__PURE__ */ Qf(() => /* @__PURE__ */ k("div", { class: "winrate-widget__data_title" }, "Winrate", -1)), bF = { class: "winrate-widget__average-rr" }, wF = { class: "winrate-widget__title-wrapper" }, kF = /* @__PURE__ */ Qf(() => /* @__PURE__ */ k("div", { class: "winrate-widget__title" }, "Average RR", -1)), xF = {
|
|
24107
24107
|
__name: "WinrateWidget",
|
|
24108
24108
|
props: {
|
|
24109
24109
|
winrate: { type: Number, default: 0 },
|
|
@@ -24158,7 +24158,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
24158
24158
|
})) : B("", !0)
|
|
24159
24159
|
]));
|
|
24160
24160
|
}
|
|
24161
|
-
},
|
|
24161
|
+
}, F4 = /* @__PURE__ */ Ee(xF, [["__scopeId", "data-v-6e6e0081"]]), ib = (t) => (kt("data-v-47e8b59d"), t = t(), xt(), t), SF = { class: "oh-widget" }, MF = { class: "oh-widget__top" }, DF = { class: "oh-widget__title-wrapper" }, TF = /* @__PURE__ */ ib(() => /* @__PURE__ */ k("div", { class: "oh-widget__title" }, "Result by Open Hour", -1)), OF = { key: 0 }, CF = {
|
|
24162
24162
|
key: 1,
|
|
24163
24163
|
class: "oh-widget__table-wrapper"
|
|
24164
24164
|
}, PF = { class: "oh-widget__list" }, AF = /* @__PURE__ */ ib(() => /* @__PURE__ */ k("thead", { class: "oh-widget__list__header" }, [
|
|
@@ -24269,7 +24269,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
24269
24269
|
})) : B("", !0)
|
|
24270
24270
|
]));
|
|
24271
24271
|
}
|
|
24272
|
-
},
|
|
24272
|
+
}, N4 = /* @__PURE__ */ Ee(IF, [["__scopeId", "data-v-47e8b59d"]]), rb = (t) => (kt("data-v-d5c0014c"), t = t(), xt(), t), FF = { class: "duration-widget" }, NF = { class: "duration-widget__top" }, BF = { class: "duration-widget__title-wrapper" }, VF = /* @__PURE__ */ rb(() => /* @__PURE__ */ k("div", { class: "duration-widget__title" }, "Result by time duration", -1)), YF = { key: 0 }, WF = {
|
|
24273
24273
|
key: 1,
|
|
24274
24274
|
class: "duration-widget__list"
|
|
24275
24275
|
}, zF = /* @__PURE__ */ rb(() => /* @__PURE__ */ k("thead", { class: "duration-widget__list__header" }, [
|
|
@@ -24372,7 +24372,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
24372
24372
|
})) : B("", !0)
|
|
24373
24373
|
]));
|
|
24374
24374
|
}
|
|
24375
|
-
},
|
|
24375
|
+
}, B4 = /* @__PURE__ */ Ee(GF, [["__scopeId", "data-v-d5c0014c"]]), XF = { class: "doughnut-wrapper" }, ZF = { class: "doughnut-wrapper__total" }, KF = { class: "doughnut-wrapper__total__value" }, QF = /* @__PURE__ */ k("div", { class: "doughnut-wrapper__total__label" }, "Total positions", -1), JF = {
|
|
24376
24376
|
__name: "DoughnutChart",
|
|
24377
24377
|
props: {
|
|
24378
24378
|
total: { type: Number, required: !0 },
|
|
@@ -24454,7 +24454,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
24454
24454
|
])
|
|
24455
24455
|
]));
|
|
24456
24456
|
}
|
|
24457
|
-
}, ab = (t) => (kt("data-v-
|
|
24457
|
+
}, ab = (t) => (kt("data-v-efa43123"), t = t(), xt(), t), eN = { class: "pd-widget" }, tN = { class: "pd-widget__top" }, nN = { class: "pd-widget__title-wrapper" }, sN = /* @__PURE__ */ ab(() => /* @__PURE__ */ k("div", { class: "pd-widget__title" }, "Position distribution", -1)), iN = { class: "pd-widget__grid" }, rN = { class: "pd-widget__info" }, aN = { class: "pd-widget__info__top" }, oN = { class: "pd-widget__info__pair" }, lN = { class: "pd-widget__info__bottom" }, uN = { class: "pd-widget__info__trades" }, cN = /* @__PURE__ */ ab(() => /* @__PURE__ */ k("div", { class: "pd-widget__info__line" }, null, -1)), dN = { class: "pd-widget__info__percentage" }, hN = {
|
|
24458
24458
|
__name: "PositionDistributionWidget",
|
|
24459
24459
|
props: {
|
|
24460
24460
|
total: Number,
|
|
@@ -24471,17 +24471,18 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
24471
24471
|
"#007AFF",
|
|
24472
24472
|
"#56B683",
|
|
24473
24473
|
"#A9B656"
|
|
24474
|
-
], i = U(() => {
|
|
24474
|
+
], i = e, r = U(() => {
|
|
24475
24475
|
if (n.results) {
|
|
24476
|
-
const
|
|
24476
|
+
const a = n.results.map((c) => c.trades_count_rate), o = n.results.map((c) => c.trades_count), l = n.results.map((c, d) => s[d]), u = n.results.map((c) => Ia(c.pair));
|
|
24477
24477
|
return {
|
|
24478
|
-
totals:
|
|
24479
|
-
labels:
|
|
24478
|
+
totals: o,
|
|
24479
|
+
labels: u,
|
|
24480
24480
|
datasets: [
|
|
24481
24481
|
{
|
|
24482
|
-
data:
|
|
24483
|
-
backgroundColor:
|
|
24482
|
+
data: a,
|
|
24483
|
+
backgroundColor: l,
|
|
24484
24484
|
borderRadius: 8,
|
|
24485
|
+
borderColor: "transparent",
|
|
24485
24486
|
hoverBorderColor: "transparent",
|
|
24486
24487
|
weight: 10
|
|
24487
24488
|
}
|
|
@@ -24489,7 +24490,7 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
24489
24490
|
};
|
|
24490
24491
|
}
|
|
24491
24492
|
});
|
|
24492
|
-
return (
|
|
24493
|
+
return (a, o) => (w(), O("div", eN, [
|
|
24493
24494
|
k("div", tN, [
|
|
24494
24495
|
k("div", nN, [
|
|
24495
24496
|
sN,
|
|
@@ -24503,23 +24504,23 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
24503
24504
|
]),
|
|
24504
24505
|
n.results ? (w(), O(be, { key: 0 }, [
|
|
24505
24506
|
ie(JF, {
|
|
24506
|
-
data:
|
|
24507
|
+
data: r.value,
|
|
24507
24508
|
total: t.total,
|
|
24508
24509
|
"data-type": "doughnut"
|
|
24509
24510
|
}, null, 8, ["data", "total"]),
|
|
24510
24511
|
k("div", iN, [
|
|
24511
|
-
(w(!0), O(be, null, Oe(t.results, (
|
|
24512
|
+
(w(!0), O(be, null, Oe(t.results, (l, u) => (w(), O("div", rN, [
|
|
24512
24513
|
k("div", aN, [
|
|
24513
24514
|
k("div", {
|
|
24514
24515
|
class: "pd-widget__info__dot",
|
|
24515
|
-
style: et({ backgroundColor: s[
|
|
24516
|
+
style: et({ backgroundColor: s[u] })
|
|
24516
24517
|
}, null, 4),
|
|
24517
|
-
k("div", oN, J(y(Ia)(
|
|
24518
|
+
k("div", oN, J(y(Ia)(l.pair)), 1)
|
|
24518
24519
|
]),
|
|
24519
24520
|
k("div", lN, [
|
|
24520
|
-
k("div", uN, J(
|
|
24521
|
+
k("div", uN, J(l.trades_count), 1),
|
|
24521
24522
|
cN,
|
|
24522
|
-
k("div", dN, J(
|
|
24523
|
+
k("div", dN, J(l.trades_count_rate) + "% ", 1)
|
|
24523
24524
|
])
|
|
24524
24525
|
]))), 256))
|
|
24525
24526
|
])
|
|
@@ -24527,10 +24528,13 @@ const OR = /* @__PURE__ */ Gf("bar", BA), CR = /* @__PURE__ */ Gf("doughnut", YA
|
|
|
24527
24528
|
key: 1,
|
|
24528
24529
|
absolute: ""
|
|
24529
24530
|
})),
|
|
24530
|
-
t.requiredUpdate ? (w(), pe(Yn, {
|
|
24531
|
+
t.requiredUpdate ? (w(), pe(Yn, {
|
|
24532
|
+
key: 2,
|
|
24533
|
+
onRefresh: o[0] || (o[0] = (l) => i("refresh"))
|
|
24534
|
+
})) : B("", !0)
|
|
24531
24535
|
]));
|
|
24532
24536
|
}
|
|
24533
|
-
},
|
|
24537
|
+
}, V4 = /* @__PURE__ */ Ee(hN, [["__scopeId", "data-v-efa43123"]]);
|
|
24534
24538
|
class Ur extends Error {
|
|
24535
24539
|
}
|
|
24536
24540
|
class fN extends Ur {
|
|
@@ -29912,12 +29916,12 @@ function D_(t) {
|
|
|
29912
29916
|
} else
|
|
29913
29917
|
return t;
|
|
29914
29918
|
}
|
|
29915
|
-
function
|
|
29919
|
+
function Y4(t, e) {
|
|
29916
29920
|
const n = parseFloat(t.entry_price), s = t.amount, i = t.multiplier, r = t.side;
|
|
29917
29921
|
let a = 0, o = 0;
|
|
29918
29922
|
return r === "SHORT" ? (a = (n - e) * Math.abs(s), o = (n - e) * s * i / (n * Math.abs(s)) * 100) : r === "LONG" && (a = (e - n) * Math.abs(s), o = (e - n) * s * i / (n * Math.abs(s)) * 100), { pnl: a, pnlToBalanceRatio: o };
|
|
29919
29923
|
}
|
|
29920
|
-
function
|
|
29924
|
+
function W4(t) {
|
|
29921
29925
|
if (isNaN(+t)) return 0;
|
|
29922
29926
|
const e = parseFloat(String(t));
|
|
29923
29927
|
if (Number.isInteger(e)) return e;
|
|
@@ -29937,7 +29941,7 @@ function Le(t, e, n = {}) {
|
|
|
29937
29941
|
let o, l;
|
|
29938
29942
|
return t ? (o = r === "$" ? el() : r, l = a === "$" ? el() : a, o + i.repeat(s) + l) : e;
|
|
29939
29943
|
}
|
|
29940
|
-
function
|
|
29944
|
+
function z4(t) {
|
|
29941
29945
|
return t.reduce((e, n, s) => s === 0 ? `key=${encodeURIComponent(n.id)}` : e + `&key=${encodeURIComponent(n.id)}`, "");
|
|
29942
29946
|
}
|
|
29943
29947
|
function vl() {
|
|
@@ -29951,10 +29955,10 @@ function vl() {
|
|
|
29951
29955
|
const n = Number(ni.getItem("scope360::timezone")) || 0, s = t(n) ? e(n) : n;
|
|
29952
29956
|
return `UTC${n >= 0 ? "+" : ""}${s}`;
|
|
29953
29957
|
}
|
|
29954
|
-
function
|
|
29958
|
+
function H4(t) {
|
|
29955
29959
|
return new Date(t).getFullYear();
|
|
29956
29960
|
}
|
|
29957
|
-
function
|
|
29961
|
+
function U4(t) {
|
|
29958
29962
|
const e = vl();
|
|
29959
29963
|
return Pe.fromISO(t, { setZone: !0 }).setZone(e).toFormat("dd LLLL, y, TT");
|
|
29960
29964
|
}
|
|
@@ -29962,10 +29966,10 @@ function ow(t, e = "dd/LL/y", n = !0) {
|
|
|
29962
29966
|
const s = n ? vl() : "UTC+0";
|
|
29963
29967
|
return Pe.fromISO(t, { setZone: !0 }).setZone(s).toFormat(e);
|
|
29964
29968
|
}
|
|
29965
|
-
function
|
|
29969
|
+
function j4(t) {
|
|
29966
29970
|
return t.toISOString().split("T")[0];
|
|
29967
29971
|
}
|
|
29968
|
-
function
|
|
29972
|
+
function q4(t) {
|
|
29969
29973
|
return [
|
|
29970
29974
|
"January",
|
|
29971
29975
|
"February",
|
|
@@ -29981,13 +29985,13 @@ function qz(t) {
|
|
|
29981
29985
|
"December"
|
|
29982
29986
|
][new Date(t).getMonth()];
|
|
29983
29987
|
}
|
|
29984
|
-
function
|
|
29988
|
+
function G4(t) {
|
|
29985
29989
|
return new Date(t).getDate();
|
|
29986
29990
|
}
|
|
29987
29991
|
function pB(t) {
|
|
29988
29992
|
return Pe.fromISO(t, { setZone: !0 }).toFormat("cccc");
|
|
29989
29993
|
}
|
|
29990
|
-
function
|
|
29994
|
+
function X4(t) {
|
|
29991
29995
|
const e = new Date(t), s = /* @__PURE__ */ new Date() - e;
|
|
29992
29996
|
return Math.floor(s / (1e3 * 3600 * 24));
|
|
29993
29997
|
}
|
|
@@ -30022,7 +30026,7 @@ const rt = (t, e = {
|
|
|
30022
30026
|
`${n}${el()}${Rt(s * lw())}`
|
|
30023
30027
|
);
|
|
30024
30028
|
};
|
|
30025
|
-
function
|
|
30029
|
+
function Z4(t, e) {
|
|
30026
30030
|
const n = +new Date(e) - +new Date(t);
|
|
30027
30031
|
return _B(n);
|
|
30028
30032
|
}
|
|
@@ -30075,7 +30079,7 @@ function Bu(t, e) {
|
|
|
30075
30079
|
const s = Ia(t).split("/")[e];
|
|
30076
30080
|
if (s) return s.toLowerCase();
|
|
30077
30081
|
}
|
|
30078
|
-
function
|
|
30082
|
+
function K4(t, e) {
|
|
30079
30083
|
let n = [], s = new Date(e, t, 1), i = new Date(e, t + 1, 0), r = i.getDate(), a = 1, o;
|
|
30080
30084
|
for (s.getDay() === 1 ? o = 7 : s.getDay() === 0 ? (a = new Date(e, t, 0).getDate() - 6 + 1, o = 1) : (a = new Date(e, t, 0).getDate() + 1 - s.getDay() + 1, o = 7 - s.getDay() + 1, n.push({
|
|
30081
30085
|
start: a,
|
|
@@ -30103,7 +30107,7 @@ function Kz(t, e) {
|
|
|
30103
30107
|
});
|
|
30104
30108
|
});
|
|
30105
30109
|
}
|
|
30106
|
-
function
|
|
30110
|
+
function Q4(t, e, n) {
|
|
30107
30111
|
let s = new Date(t), i = new Date(e);
|
|
30108
30112
|
s > i && ([s, i] = [i, s]);
|
|
30109
30113
|
let r = [], a = new Date(s.getFullYear(), s.getMonth(), 1), o = 0;
|
|
@@ -30121,7 +30125,7 @@ function Qz(t, e, n) {
|
|
|
30121
30125
|
}
|
|
30122
30126
|
return r;
|
|
30123
30127
|
}
|
|
30124
|
-
function
|
|
30128
|
+
function J4(t, e, n) {
|
|
30125
30129
|
let s = new Date(t), i = new Date(e);
|
|
30126
30130
|
s > i && ([s, i] = [i, s]);
|
|
30127
30131
|
let r = [], a = s.getFullYear(), o = i.getFullYear(), l = 0;
|
|
@@ -30129,11 +30133,11 @@ function Jz(t, e, n) {
|
|
|
30129
30133
|
n ? r.push({ value: u, name: u.toString(), id: l }) : r.push(u.toString()), l = l + 1;
|
|
30130
30134
|
return r;
|
|
30131
30135
|
}
|
|
30132
|
-
function
|
|
30136
|
+
function ez(t, e) {
|
|
30133
30137
|
let i = new Date(t).getTime() - e * 24 * 60 * 60 * 1e3;
|
|
30134
30138
|
return new Date(i).toISOString().split(".")[0] + "Z";
|
|
30135
30139
|
}
|
|
30136
|
-
function
|
|
30140
|
+
function tz(t) {
|
|
30137
30141
|
function e(s, i) {
|
|
30138
30142
|
let r = [], a = new Date(i, s, 1), o = new Date(i, s + 1, 0), l = o.getDate(), u = 1, c;
|
|
30139
30143
|
for (a.getDay() === 1 ? c = 7 : a.getDay() === 0 ? (u = new Date(i, s, 0).getDate() - 6 + 1, c = 1) : (u = new Date(i, s, 0).getDate() + 1 - a.getDay() + 1, c = 7 - a.getDay() + 1, r.push({
|
|
@@ -30166,7 +30170,7 @@ function t4(t) {
|
|
|
30166
30170
|
n.push(e(s, t));
|
|
30167
30171
|
return n;
|
|
30168
30172
|
}
|
|
30169
|
-
function
|
|
30173
|
+
function nz(t) {
|
|
30170
30174
|
const e = t.map((s) => new Date(s));
|
|
30171
30175
|
return new Date(
|
|
30172
30176
|
Math.min(...e.map((s) => s.getTime()))
|
|
@@ -30269,7 +30273,7 @@ const yB = { class: "session-chart__container" }, vB = { class: "session-chart__
|
|
|
30269
30273
|
])
|
|
30270
30274
|
]));
|
|
30271
30275
|
}
|
|
30272
|
-
}, PB = /* @__PURE__ */ Ee(CB, [["__scopeId", "data-v-
|
|
30276
|
+
}, PB = /* @__PURE__ */ Ee(CB, [["__scopeId", "data-v-3178c1a4"]]), AB = (t) => (kt("data-v-4e857607"), t = t(), xt(), t), $B = { class: "session-widget" }, EB = { class: "session-widget__top" }, RB = { class: "session-widget__title-wrapper" }, LB = /* @__PURE__ */ AB(() => /* @__PURE__ */ k("div", { class: "session-widget__title" }, "Sessions", -1)), IB = { class: "session-widget__timezone" }, FB = {
|
|
30273
30277
|
__name: "SessionWidget",
|
|
30274
30278
|
setup(t) {
|
|
30275
30279
|
const e = vl();
|
|
@@ -30289,7 +30293,7 @@ const yB = { class: "session-chart__container" }, vB = { class: "session-chart__
|
|
|
30289
30293
|
ie(PB)
|
|
30290
30294
|
]));
|
|
30291
30295
|
}
|
|
30292
|
-
},
|
|
30296
|
+
}, sz = /* @__PURE__ */ Ee(FB, [["__scopeId", "data-v-4e857607"]]), wl = (t) => (kt("data-v-02ee0c5c"), t = t(), xt(), t), NB = { class: "news-widget" }, BB = { class: "news-widget__top" }, VB = { class: "news-widget__title-wrapper" }, YB = /* @__PURE__ */ wl(() => /* @__PURE__ */ k("div", { class: "news-widget__title" }, "News", -1)), WB = {
|
|
30293
30297
|
key: 0,
|
|
30294
30298
|
class: "news-widget__content"
|
|
30295
30299
|
}, zB = { class: "news-widget__point" }, HB = { class: "news-widget__point__content" }, UB = { class: "news-widget__point__top" }, jB = { class: "news-widget__point__time" }, qB = /* @__PURE__ */ wl(() => /* @__PURE__ */ k("div", { class: "news-widget__point__dot" }, null, -1)), GB = { class: "news-widget__point__source" }, XB = { class: "news-widget__point__bottom" }, ZB = { class: "news-widget__point__estimate" }, KB = /* @__PURE__ */ wl(() => /* @__PURE__ */ k("div", { class: "news-widget__point__label" }, "Actual", -1)), QB = { class: "news-widget__point__value" }, JB = { class: "news-widget__point__estimate" }, eV = /* @__PURE__ */ wl(() => /* @__PURE__ */ k("div", { class: "news-widget__point__label" }, "Forecast", -1)), tV = { class: "news-widget__point__value" }, nV = { class: "news-widget__point__estimate" }, sV = /* @__PURE__ */ wl(() => /* @__PURE__ */ k("div", { class: "news-widget__point__label" }, "Previous", -1)), iV = { class: "news-widget__point__value" }, rV = {
|
|
@@ -30363,7 +30367,7 @@ const yB = { class: "session-chart__container" }, vB = { class: "session-chart__
|
|
|
30363
30367
|
}))
|
|
30364
30368
|
]));
|
|
30365
30369
|
}
|
|
30366
|
-
},
|
|
30370
|
+
}, iz = /* @__PURE__ */ Ee(aV, [["__scopeId", "data-v-02ee0c5c"]]), oV = (t) => (kt("data-v-d204a720"), t = t(), xt(), t), lV = { class: "average-rr-line-container" }, uV = { class: "average-rr-line" }, cV = {
|
|
30367
30371
|
key: 0,
|
|
30368
30372
|
class: "average-rr-line__progress"
|
|
30369
30373
|
}, dV = /* @__PURE__ */ oV(() => /* @__PURE__ */ k("div", { class: "average-rr-line__dot" }, null, -1)), hV = [
|
|
@@ -33374,7 +33378,7 @@ const D6 = { class: "calendar-dropdown" }, T6 = { class: "calendar-dropdown__out
|
|
|
33374
33378
|
]) : B("", !0)
|
|
33375
33379
|
]));
|
|
33376
33380
|
}
|
|
33377
|
-
},
|
|
33381
|
+
}, rz = /* @__PURE__ */ Ee(W6, [["__scopeId", "data-v-63b112a1"]]), i1 = (t) => (kt("data-v-3539e205"), t = t(), xt(), t), z6 = { class: "progress-line-container" }, H6 = { class: "progress-line" }, U6 = { class: "progress-line__part" }, j6 = /* @__PURE__ */ i1(() => /* @__PURE__ */ k("div", { class: "progress-line__dot" }, null, -1)), q6 = /* @__PURE__ */ i1(() => /* @__PURE__ */ k("div", {
|
|
33378
33382
|
class: "progress-line__progress",
|
|
33379
33383
|
style: { width: "0%" }
|
|
33380
33384
|
}, null, -1)), G6 = [
|
|
@@ -33474,7 +33478,7 @@ const D6 = { class: "calendar-dropdown" }, T6 = { class: "calendar-dropdown__out
|
|
|
33474
33478
|
])
|
|
33475
33479
|
]));
|
|
33476
33480
|
}
|
|
33477
|
-
},
|
|
33481
|
+
}, e4 = /* @__PURE__ */ Ee(J6, [["__scopeId", "data-v-3539e205"]]), t4 = { class: "widget-chips__text" }, n4 = {
|
|
33478
33482
|
__name: "WidgetChips",
|
|
33479
33483
|
props: {
|
|
33480
33484
|
delta: Number,
|
|
@@ -33495,13 +33499,13 @@ const D6 = { class: "calendar-dropdown" }, T6 = { class: "calendar-dropdown__out
|
|
|
33495
33499
|
icon: "bxs_up-arrow",
|
|
33496
33500
|
class: "widget-chips__icon"
|
|
33497
33501
|
}),
|
|
33498
|
-
k("div",
|
|
33502
|
+
k("div", t4, J(y(Le)(
|
|
33499
33503
|
t.isHidden,
|
|
33500
33504
|
y(Rt)(Math.abs(e.delta)) + (e.percentage ? "%" : "")
|
|
33501
33505
|
)), 1)
|
|
33502
33506
|
], 2));
|
|
33503
33507
|
}
|
|
33504
|
-
}, Cm = /* @__PURE__ */ Ee(
|
|
33508
|
+
}, Cm = /* @__PURE__ */ Ee(n4, [["__scopeId", "data-v-d36062ef"]]), az = {
|
|
33505
33509
|
apiKey: "AIzaSyB_Ld2DPvpUNvAUB5zRFVewb1E3NOwZ56I",
|
|
33506
33510
|
authDomain: "scope360-384414.firebaseapp.com",
|
|
33507
33511
|
projectId: "scope360-384414",
|
|
@@ -33509,10 +33513,10 @@ const D6 = { class: "calendar-dropdown" }, T6 = { class: "calendar-dropdown__out
|
|
|
33509
33513
|
messagingSenderId: "642994439819",
|
|
33510
33514
|
appId: "1:642994439819:web:963368ff44bab507a6368e",
|
|
33511
33515
|
measurementId: "G-BGYS3877GQ"
|
|
33512
|
-
},
|
|
33516
|
+
}, s4 = (t, e, n, s = {}, i) => {
|
|
33513
33517
|
const r = Eo(t, e, s), a = document.createElement("div");
|
|
33514
33518
|
return a.setAttribute("id", i), n.appendChild(a), Fd(r, a), r.component;
|
|
33515
|
-
},
|
|
33519
|
+
}, i4 = {
|
|
33516
33520
|
type: "info",
|
|
33517
33521
|
textOnClose: "Dismiss",
|
|
33518
33522
|
duration: 5e3,
|
|
@@ -33520,7 +33524,7 @@ const D6 = { class: "calendar-dropdown" }, T6 = { class: "calendar-dropdown__out
|
|
|
33520
33524
|
}, Cc = (t) => {
|
|
33521
33525
|
if (!t?.message)
|
|
33522
33526
|
return;
|
|
33523
|
-
const e = { ...
|
|
33527
|
+
const e = { ...i4, ...t }, n = s4($D, e, document.body, void 0, "toast"), s = () => {
|
|
33524
33528
|
n?.refs?.toast?.parentElement?.remove();
|
|
33525
33529
|
};
|
|
33526
33530
|
if (setTimeout(s, e.duration), e?.hideOnRouteChange) {
|
|
@@ -33531,102 +33535,102 @@ const D6 = { class: "calendar-dropdown" }, T6 = { class: "calendar-dropdown__out
|
|
|
33531
33535
|
return {
|
|
33532
33536
|
dismiss: s
|
|
33533
33537
|
};
|
|
33534
|
-
},
|
|
33538
|
+
}, r4 = (t, e) => Cc({
|
|
33535
33539
|
...e,
|
|
33536
33540
|
message: t,
|
|
33537
33541
|
type: "success"
|
|
33538
|
-
}),
|
|
33542
|
+
}), a4 = (t, e) => Cc({
|
|
33539
33543
|
...e,
|
|
33540
33544
|
message: t,
|
|
33541
33545
|
type: "error"
|
|
33542
|
-
}),
|
|
33546
|
+
}), o4 = (t, e) => Cc({
|
|
33543
33547
|
...e,
|
|
33544
33548
|
message: t,
|
|
33545
33549
|
type: "info"
|
|
33546
33550
|
}), r1 = () => ({
|
|
33547
33551
|
open: Cc,
|
|
33548
|
-
success:
|
|
33549
|
-
error:
|
|
33550
|
-
info:
|
|
33552
|
+
success: r4,
|
|
33553
|
+
error: a4,
|
|
33554
|
+
info: o4
|
|
33551
33555
|
});
|
|
33552
33556
|
export {
|
|
33553
|
-
|
|
33557
|
+
T4 as AccountBalanceWidget,
|
|
33554
33558
|
yV as AverageRRLine,
|
|
33555
|
-
|
|
33559
|
+
O4 as BalanceWidget,
|
|
33556
33560
|
Er as Button,
|
|
33557
33561
|
Py as Calendar,
|
|
33558
33562
|
I6 as CalendarDropdown,
|
|
33559
|
-
|
|
33560
|
-
|
|
33561
|
-
|
|
33563
|
+
C4 as CalendarWidget,
|
|
33564
|
+
h4 as CheckBox,
|
|
33565
|
+
P4 as CommissionsFeesWidget,
|
|
33562
33566
|
ni as CookieManager,
|
|
33563
|
-
|
|
33564
|
-
|
|
33565
|
-
|
|
33567
|
+
u4 as Dropdown,
|
|
33568
|
+
y4 as Dropzone,
|
|
33569
|
+
B4 as DurationWidget,
|
|
33566
33570
|
Ye as Icon,
|
|
33567
|
-
|
|
33568
|
-
|
|
33571
|
+
c4 as Input,
|
|
33572
|
+
A4 as InstrumentWidget,
|
|
33569
33573
|
tb as LineChart,
|
|
33570
33574
|
kC as LongShort,
|
|
33571
|
-
|
|
33572
|
-
|
|
33573
|
-
|
|
33574
|
-
|
|
33575
|
+
f4 as Menu,
|
|
33576
|
+
v4 as Modal,
|
|
33577
|
+
g4 as NavigationTab,
|
|
33578
|
+
iz as NewsWidget,
|
|
33575
33579
|
Ji as NoMore,
|
|
33576
|
-
|
|
33577
|
-
|
|
33578
|
-
|
|
33579
|
-
|
|
33580
|
-
|
|
33581
|
-
|
|
33582
|
-
|
|
33583
|
-
|
|
33580
|
+
p4 as NumberInput,
|
|
33581
|
+
N4 as OpenHourWidget,
|
|
33582
|
+
E4 as PerformanceWidget,
|
|
33583
|
+
rz as PeriodDropdown,
|
|
33584
|
+
V4 as PositionDistributionWidget,
|
|
33585
|
+
e4 as ProgressLine,
|
|
33586
|
+
d4 as Radio,
|
|
33587
|
+
R4 as ReturnWidget,
|
|
33584
33588
|
Ay as Selector,
|
|
33585
|
-
|
|
33586
|
-
|
|
33587
|
-
|
|
33589
|
+
sz as SessionWidget,
|
|
33590
|
+
w4 as Sidebar,
|
|
33591
|
+
b4 as SidebarPopup,
|
|
33588
33592
|
Xg as SimpleLineChart,
|
|
33589
|
-
$
|
|
33590
|
-
|
|
33591
|
-
|
|
33592
|
-
|
|
33593
|
+
$4 as SizeWidget,
|
|
33594
|
+
m4 as Switcher,
|
|
33595
|
+
k4 as TechnicalWorks,
|
|
33596
|
+
_4 as Textarea,
|
|
33593
33597
|
$D as Toast,
|
|
33594
33598
|
sk as Toggle,
|
|
33595
33599
|
Jt as Tooltip,
|
|
33596
|
-
|
|
33597
|
-
|
|
33600
|
+
L4 as TopPositionsWidget,
|
|
33601
|
+
I4 as TradePerformanceWidget,
|
|
33598
33602
|
Cm as WidgetChips,
|
|
33599
|
-
|
|
33603
|
+
F4 as WinrateWidget,
|
|
33600
33604
|
Ia as addSlashToPair,
|
|
33601
33605
|
D_ as addSpaces,
|
|
33602
|
-
|
|
33603
|
-
|
|
33606
|
+
Y4 as calculatePNL,
|
|
33607
|
+
Z4 as calculateTimeDifference,
|
|
33604
33608
|
gB as convertMarketHoursToUserTime,
|
|
33605
|
-
|
|
33606
|
-
|
|
33609
|
+
nz as findEarliestDate,
|
|
33610
|
+
az as firebaseConfig,
|
|
33607
33611
|
ow as formatDate,
|
|
33608
33612
|
Bu as getCurrency,
|
|
33609
33613
|
lw as getCurrencyRate,
|
|
33610
33614
|
el as getCurrencySymbol,
|
|
33611
|
-
|
|
33615
|
+
G4 as getDate,
|
|
33612
33616
|
pB as getDay,
|
|
33613
|
-
|
|
33614
|
-
|
|
33617
|
+
X4 as getDaysDifference,
|
|
33618
|
+
j4 as getFormattedDate,
|
|
33615
33619
|
_B as getFormattedDuration,
|
|
33616
|
-
|
|
33617
|
-
|
|
33618
|
-
|
|
33619
|
-
|
|
33620
|
+
K4 as getFullWeeksStartAndEndInMonth,
|
|
33621
|
+
H4 as getFullYear,
|
|
33622
|
+
q4 as getMonth,
|
|
33623
|
+
Q4 as getMonthsBetweenDates,
|
|
33620
33624
|
vl as getTimezoneOffset,
|
|
33621
|
-
|
|
33622
|
-
|
|
33625
|
+
tz as getYearStructure,
|
|
33626
|
+
J4 as getYearsBetweenDates,
|
|
33623
33627
|
Le as maskData,
|
|
33624
33628
|
Ph as numFormat,
|
|
33625
|
-
|
|
33626
|
-
|
|
33627
|
-
|
|
33629
|
+
ez as subtractDays,
|
|
33630
|
+
U4 as toBaseDate,
|
|
33631
|
+
W4 as toDynamicFix,
|
|
33628
33632
|
Rt as toFix,
|
|
33629
|
-
|
|
33633
|
+
z4 as transformKeysToQuery,
|
|
33630
33634
|
r1 as useToast,
|
|
33631
33635
|
rt as withSign,
|
|
33632
33636
|
bl as yTicksCallback
|