scope360-core 0.0.372 → 0.0.373
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 +44 -19
- package/dist/scope360-core.js.map +1 -1
- package/dist/scope360-core.umd.cjs +20 -20
- package/dist/scope360-core.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/scope360-core.js
CHANGED
|
@@ -68,7 +68,7 @@ const Aw = (t, e, n) => {
|
|
|
68
68
|
t.ctaText ? (w(), R("span", Ew, ie(t.ctaText), 1)) : F("", !0)
|
|
69
69
|
], 14, Rw));
|
|
70
70
|
}
|
|
71
|
-
}, gd = /* @__PURE__ */ Ye($w, [["__scopeId", "data-v-
|
|
71
|
+
}, gd = /* @__PURE__ */ Ye($w, [["__scopeId", "data-v-9a1e41eb"]]);
|
|
72
72
|
function yc(t) {
|
|
73
73
|
return t === 0 ? !1 : Array.isArray(t) && t.length === 0 ? !0 : !t;
|
|
74
74
|
}
|
|
@@ -1282,7 +1282,7 @@ const Xw = {
|
|
|
1282
1282
|
], 2)
|
|
1283
1283
|
], 4));
|
|
1284
1284
|
}
|
|
1285
|
-
}, jY = /* @__PURE__ */ Ye(Qw, [["__scopeId", "data-v-
|
|
1285
|
+
}, jY = /* @__PURE__ */ Ye(Qw, [["__scopeId", "data-v-3bef59a1"]]), e1 = {
|
|
1286
1286
|
key: 0,
|
|
1287
1287
|
class: "scope-input__label"
|
|
1288
1288
|
}, t1 = {
|
|
@@ -1345,7 +1345,16 @@ const Xw = {
|
|
|
1345
1345
|
});
|
|
1346
1346
|
};
|
|
1347
1347
|
return e({ focus: c }), (h, f) => (w(), R("div", {
|
|
1348
|
-
class: oe([
|
|
1348
|
+
class: oe([
|
|
1349
|
+
"scope-input",
|
|
1350
|
+
{
|
|
1351
|
+
"-have-icon": t.icon,
|
|
1352
|
+
"-full-width": t.fullWidth,
|
|
1353
|
+
"-clear-button": t.haveClearButton || t.haveCopyButton,
|
|
1354
|
+
"-only-search": t.haveClearButton || t.haveCopyButton && !t.icon,
|
|
1355
|
+
"-has-save": t.hasSave
|
|
1356
|
+
}
|
|
1357
|
+
])
|
|
1349
1358
|
}, [
|
|
1350
1359
|
t.label ? (w(), R("div", e1, ie(t.label), 1)) : F("", !0),
|
|
1351
1360
|
t.prompt ? (w(), R("div", t1, ie(t.prompt), 1)) : F("", !0),
|
|
@@ -1357,7 +1366,14 @@ const Xw = {
|
|
|
1357
1366
|
ref_key: "inputRef",
|
|
1358
1367
|
ref: r,
|
|
1359
1368
|
disabled: t.disabled,
|
|
1360
|
-
class: oe(["scope-input__input", [
|
|
1369
|
+
class: oe(["scope-input__input", [
|
|
1370
|
+
`-${t.size}`,
|
|
1371
|
+
{
|
|
1372
|
+
"-invalid": t.invalid,
|
|
1373
|
+
"-side-sign": !!t.sideSign,
|
|
1374
|
+
"-has-save": t.hasSave
|
|
1375
|
+
}
|
|
1376
|
+
]]),
|
|
1361
1377
|
"onUpdate:modelValue": f[0] || (f[0] = (p) => a.value = p),
|
|
1362
1378
|
style: It(l.value),
|
|
1363
1379
|
placeholder: t.placeholder,
|
|
@@ -1375,7 +1391,10 @@ const Xw = {
|
|
|
1375
1391
|
class: oe([
|
|
1376
1392
|
"scope-input__icon-wrapper",
|
|
1377
1393
|
`-${t.size}`,
|
|
1378
|
-
{
|
|
1394
|
+
{
|
|
1395
|
+
"-only-search": t.haveClearButton || t.hasSave || t.haveCopyButton && !t.icon,
|
|
1396
|
+
"-with-label": !!t.label
|
|
1397
|
+
}
|
|
1379
1398
|
])
|
|
1380
1399
|
}, [
|
|
1381
1400
|
t.icon ? (w(), pe(v(He), {
|
|
@@ -1404,12 +1423,12 @@ const Xw = {
|
|
|
1404
1423
|
key: 4,
|
|
1405
1424
|
class: "scope-input__save",
|
|
1406
1425
|
onClick: f[5] || (f[5] = (p) => i("save"))
|
|
1407
|
-
}, "Save")) : F("", !0)
|
|
1426
|
+
}, " Save ")) : F("", !0)
|
|
1408
1427
|
], 2),
|
|
1409
1428
|
t.invalid && t.errorMessage ? (w(), R("div", i1, ie(t.errorMessage), 1)) : F("", !0)
|
|
1410
1429
|
], 2));
|
|
1411
1430
|
}
|
|
1412
|
-
}, qY = /* @__PURE__ */ Ye(r1, [["__scopeId", "data-v-
|
|
1431
|
+
}, qY = /* @__PURE__ */ Ye(r1, [["__scopeId", "data-v-890ba246"]]), a1 = { class: "scope-radio-label" }, o1 = ["value"], l1 = { class: "scope-text" }, u1 = {
|
|
1413
1432
|
__name: "Radio",
|
|
1414
1433
|
props: /* @__PURE__ */ wt({
|
|
1415
1434
|
value: String | Object | Boolean | Number,
|
|
@@ -1437,7 +1456,7 @@ const Xw = {
|
|
|
1437
1456
|
P("span", l1, ie(t.label), 1)
|
|
1438
1457
|
]));
|
|
1439
1458
|
}
|
|
1440
|
-
}, GY = /* @__PURE__ */ Ye(u1, [["__scopeId", "data-v-
|
|
1459
|
+
}, GY = /* @__PURE__ */ Ye(u1, [["__scopeId", "data-v-2ff612fa"]]), c1 = (t) => (cn("data-v-a4862285"), t = t(), dn(), t), d1 = { class: "scope-toggle-wrapper" }, h1 = ["checked", "name"], f1 = /* @__PURE__ */ c1(() => /* @__PURE__ */ P("div", { class: "scope-toggle-wrapper__indicator" }, null, -1)), m1 = {
|
|
1441
1460
|
__name: "Toggle",
|
|
1442
1461
|
props: /* @__PURE__ */ wt({
|
|
1443
1462
|
name: String
|
|
@@ -1489,7 +1508,7 @@ const Xw = {
|
|
|
1489
1508
|
])
|
|
1490
1509
|
]));
|
|
1491
1510
|
}
|
|
1492
|
-
}, KY = /* @__PURE__ */ Ye(v1, [["__scopeId", "data-v-
|
|
1511
|
+
}, KY = /* @__PURE__ */ Ye(v1, [["__scopeId", "data-v-d019d4a8"]]), _1 = { class: "scope-menu-tabs" }, b1 = ["onClick"], w1 = {
|
|
1493
1512
|
__name: "Menu",
|
|
1494
1513
|
props: /* @__PURE__ */ wt({
|
|
1495
1514
|
tabs: Array
|
|
@@ -1510,7 +1529,7 @@ const Xw = {
|
|
|
1510
1529
|
}, ie(r.name), 11, b1))), 128))
|
|
1511
1530
|
]));
|
|
1512
1531
|
}
|
|
1513
|
-
}, XY = /* @__PURE__ */ Ye(w1, [["__scopeId", "data-v-
|
|
1532
|
+
}, XY = /* @__PURE__ */ Ye(w1, [["__scopeId", "data-v-a3d1f445"]]), k1 = { class: "scope-switcher" }, x1 = { class: "scope-switcher__current-item" }, S1 = {
|
|
1514
1533
|
__name: "Switcher",
|
|
1515
1534
|
props: /* @__PURE__ */ wt({
|
|
1516
1535
|
items: Array
|
|
@@ -1543,7 +1562,7 @@ const Xw = {
|
|
|
1543
1562
|
}, null, 8, ["class"])
|
|
1544
1563
|
]));
|
|
1545
1564
|
}
|
|
1546
|
-
}, JY = /* @__PURE__ */ Ye(S1, [["__scopeId", "data-v-
|
|
1565
|
+
}, JY = /* @__PURE__ */ Ye(S1, [["__scopeId", "data-v-75445c01"]]);
|
|
1547
1566
|
function ke(t) {
|
|
1548
1567
|
const e = Object.prototype.toString.call(t);
|
|
1549
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);
|
|
@@ -9417,7 +9436,7 @@ const LD = { class: "scope-calendar scope-datepicker__wrapper" }, ND = {
|
|
|
9417
9436
|
], 2)
|
|
9418
9437
|
]));
|
|
9419
9438
|
}
|
|
9420
|
-
}, VD = /* @__PURE__ */ Ye(FD, [["__scopeId", "data-v-
|
|
9439
|
+
}, VD = /* @__PURE__ */ Ye(FD, [["__scopeId", "data-v-58e24d1e"]]), YD = ["onClick"], BD = {
|
|
9421
9440
|
__name: "Selector",
|
|
9422
9441
|
props: /* @__PURE__ */ wt({
|
|
9423
9442
|
options: Array,
|
|
@@ -9451,7 +9470,7 @@ const LD = { class: "scope-calendar scope-datepicker__wrapper" }, ND = {
|
|
|
9451
9470
|
}, ie(typeof u == "object" ? u.name : u), 11, YD))), 128))
|
|
9452
9471
|
], 6));
|
|
9453
9472
|
}
|
|
9454
|
-
}, QY = /* @__PURE__ */ Ye(BD, [["__scopeId", "data-v-
|
|
9473
|
+
}, QY = /* @__PURE__ */ Ye(BD, [["__scopeId", "data-v-34c70f0b"]]), WD = ["disabled", "onInput", "onKeydown"], zD = {
|
|
9455
9474
|
key: 0,
|
|
9456
9475
|
class: "scope-number-input__error-message"
|
|
9457
9476
|
}, HD = {
|
|
@@ -9650,7 +9669,9 @@ const LD = { class: "scope-calendar scope-datepicker__wrapper" }, ND = {
|
|
|
9650
9669
|
}),
|
|
9651
9670
|
emits: /* @__PURE__ */ wt(["input", "enter"], ["update:modelValue"]),
|
|
9652
9671
|
setup(t, { emit: e }) {
|
|
9653
|
-
const n = e, s = gn(t, "modelValue"), i = t, r = H(
|
|
9672
|
+
const n = e, s = gn(t, "modelValue"), i = t, r = H(
|
|
9673
|
+
() => i.width || i.height ? { width: i.width, height: i.height } : null
|
|
9674
|
+
);
|
|
9654
9675
|
return (a, o) => (w(), R("div", {
|
|
9655
9676
|
class: oe(["scope-textarea", { "-full-width": t.fullWidth }])
|
|
9656
9677
|
}, [
|
|
@@ -9672,7 +9693,7 @@ const LD = { class: "scope-calendar scope-datepicker__wrapper" }, ND = {
|
|
|
9672
9693
|
t.invalid ? (w(), R("div", nT, ie(t.errorMessage), 1)) : F("", !0)
|
|
9673
9694
|
], 2));
|
|
9674
9695
|
}
|
|
9675
|
-
}, nB = /* @__PURE__ */ Ye(sT, [["__scopeId", "data-v-
|
|
9696
|
+
}, nB = /* @__PURE__ */ Ye(sT, [["__scopeId", "data-v-9f9b48fd"]]);
|
|
9676
9697
|
function Jy(t, e) {
|
|
9677
9698
|
return function() {
|
|
9678
9699
|
return t.apply(e, arguments);
|
|
@@ -11630,7 +11651,7 @@ const k0 = (t) => (cn("data-v-6c371e0f"), t = t(), dn(), t), RM = { class: "scop
|
|
|
11630
11651
|
], 2)
|
|
11631
11652
|
])) : F("", !0);
|
|
11632
11653
|
}
|
|
11633
|
-
}, iB = /* @__PURE__ */ Ye(ZM, [["__scopeId", "data-v-f1c27353"]]), x0 = (t) => (cn("data-v-
|
|
11654
|
+
}, iB = /* @__PURE__ */ Ye(ZM, [["__scopeId", "data-v-f1c27353"]]), x0 = (t) => (cn("data-v-5b4aea20"), t = t(), dn(), t), KM = { class: "sidebar-popup-container" }, XM = { class: "sidebar-popup__profile-info" }, JM = ["src"], QM = {
|
|
11634
11655
|
key: 1,
|
|
11635
11656
|
class: "sidebar-popup__profile-info__letter"
|
|
11636
11657
|
}, eO = { class: "sidebar-popup__profile-info__wrapper" }, tO = { class: "sidebar-popup__profile-info__name" }, nO = { class: "sidebar-popup__profile-info__e-mail" }, sO = /* @__PURE__ */ x0(() => /* @__PURE__ */ P("div", { class: "sidebar-popup__divider" }, null, -1)), iO = { class: "sidebar-popup__tabs" }, rO = ["onClick"], aO = { class: "sidebar-popup__tab__icon-wrapper" }, oO = { class: "sidebar-popup__tab__name" }, lO = /* @__PURE__ */ x0(() => /* @__PURE__ */ P("div", { class: "sidebar-popup__divider" }, null, -1)), uO = { class: "sidebar-popup__actions-buttons" }, cO = {
|
|
@@ -11647,13 +11668,17 @@ const k0 = (t) => (cn("data-v-6c371e0f"), t = t(), dn(), t), RM = { class: "scop
|
|
|
11647
11668
|
{ name: "futures", isActive: !0 },
|
|
11648
11669
|
{ name: "spot", isActive: !1 },
|
|
11649
11670
|
{ name: "trading terminal", isActive: !1 }
|
|
11650
|
-
]), o = H(
|
|
11671
|
+
]), o = H(
|
|
11672
|
+
() => n.user && n.user.name ? n.user.name.charAt(0) : "U"
|
|
11673
|
+
), l = () => {
|
|
11651
11674
|
if (window !== void 0) {
|
|
11652
11675
|
let h = "";
|
|
11653
11676
|
window.location.hostname === "localhost" ? h = "http://localhost:8080" : h = window.location.hostname.includes("stage") ? "https://stage.scope360.io" : "https://scope360.io", window.open(`${h}/settings/profile`, "_self");
|
|
11654
11677
|
}
|
|
11655
11678
|
}, u = (h) => {
|
|
11656
|
-
h.isActive && window !== void 0 && window.open(
|
|
11679
|
+
h.isActive && window !== void 0 && window.open(
|
|
11680
|
+
`https://${h.name}${window.location.hostname.includes("stage") ? "-stage" : ""}.scope360.io/`
|
|
11681
|
+
);
|
|
11657
11682
|
}, c = () => {
|
|
11658
11683
|
i.value = !i.value;
|
|
11659
11684
|
}, d = (h) => {
|
|
@@ -11726,7 +11751,7 @@ const k0 = (t) => (cn("data-v-6c371e0f"), t = t(), dn(), t), RM = { class: "scop
|
|
|
11726
11751
|
], 512)) : F("", !0)
|
|
11727
11752
|
]));
|
|
11728
11753
|
}
|
|
11729
|
-
}, rB = /* @__PURE__ */ Ye(cO, [["__scopeId", "data-v-
|
|
11754
|
+
}, rB = /* @__PURE__ */ Ye(cO, [["__scopeId", "data-v-5b4aea20"]]), dO = {}, hO = { class: "scope-sidebar" };
|
|
11730
11755
|
function fO(t, e) {
|
|
11731
11756
|
return w(), R("div", hO, [
|
|
11732
11757
|
le(t.$slots, "default", {}, void 0, !0)
|