scope360-core 0.0.25 → 0.0.27
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
|
@@ -9243,7 +9243,7 @@ const em = { class: "scope-datepicker__wrapper" }, tm = {
|
|
|
9243
9243
|
emits: ["openPage"],
|
|
9244
9244
|
setup(n, { emit: e }) {
|
|
9245
9245
|
const t = e, a = (r) => {
|
|
9246
|
-
|
|
9246
|
+
t("openPage", r);
|
|
9247
9247
|
};
|
|
9248
9248
|
return (r, i) => (A(), V("button", {
|
|
9249
9249
|
class: he(["scope-navigation-tab", { "-selected": n.selected }]),
|
|
@@ -9258,7 +9258,7 @@ const em = { class: "scope-datepicker__wrapper" }, tm = {
|
|
|
9258
9258
|
n.isFull ? (A(), V("span", um, Pe(n.tabName), 1)) : W("", !0)
|
|
9259
9259
|
], 2));
|
|
9260
9260
|
}
|
|
9261
|
-
}, yy = /* @__PURE__ */ Yt(cm, [["__scopeId", "data-v-
|
|
9261
|
+
}, yy = /* @__PURE__ */ Yt(cm, [["__scopeId", "data-v-5e3c38cb"]]);
|
|
9262
9262
|
function hn(n) {
|
|
9263
9263
|
if (n === void 0)
|
|
9264
9264
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -11339,7 +11339,7 @@ const gy = {
|
|
|
11339
11339
|
class: "confetti"
|
|
11340
11340
|
}, null, 512));
|
|
11341
11341
|
}
|
|
11342
|
-
}, Au = (n) => (Vo("data-v-
|
|
11342
|
+
}, Au = (n) => (Vo("data-v-41b50feb"), n = n(), Ho(), n), Pv = { class: "sidebar-popup-container" }, Mv = { class: "sidebar-popup__profile-info" }, Sv = ["src"], Ov = { class: "sidebar-popup__profile-info__wrapper" }, Av = { class: "sidebar-popup__profile-info__name" }, Cv = { class: "sidebar-popup__profile-info__e-mail" }, Rv = /* @__PURE__ */ Au(() => /* @__PURE__ */ se("div", { class: "sidebar-popup__divider" }, null, -1)), Ev = { class: "sidebar-popup__tabs" }, $v = ["onClick"], Nv = { class: "sidebar-popup__tab__icon-wrapper" }, Iv = { class: "sidebar-popup__tab__name" }, Bv = /* @__PURE__ */ Au(() => /* @__PURE__ */ se("div", { class: "sidebar-popup__divider" }, null, -1)), Lv = { class: "sidebar-popup__actions-buttons" }, Yv = {
|
|
11343
11343
|
__name: "SidebarPopup",
|
|
11344
11344
|
props: {
|
|
11345
11345
|
activeSection: String,
|
|
@@ -11353,8 +11353,10 @@ const gy = {
|
|
|
11353
11353
|
{ name: "spot", isActive: !1 },
|
|
11354
11354
|
{ name: "trading terminal", isActive: !1 }
|
|
11355
11355
|
]), s = () => {
|
|
11356
|
-
|
|
11357
|
-
|
|
11356
|
+
if (window !== void 0) {
|
|
11357
|
+
const u = window.location.hostname === "localhost" ? "http://localhost:8080" : "https://scope360.io";
|
|
11358
|
+
window.open(`${u}/settings/profile`, "_self");
|
|
11359
|
+
}
|
|
11358
11360
|
}, o = (u) => {
|
|
11359
11361
|
u.isActive && window.open(`https://${u.name}.scope360.io/`);
|
|
11360
11362
|
}, l = () => {
|
|
@@ -11428,7 +11430,7 @@ const gy = {
|
|
|
11428
11430
|
], 512)) : W("", !0)
|
|
11429
11431
|
]));
|
|
11430
11432
|
}
|
|
11431
|
-
}, _y = /* @__PURE__ */ Yt(Yv, [["__scopeId", "data-v-
|
|
11433
|
+
}, _y = /* @__PURE__ */ Yt(Yv, [["__scopeId", "data-v-41b50feb"]]);
|
|
11432
11434
|
/*! js-cookie v3.0.5 | MIT */
|
|
11433
11435
|
function _r(n) {
|
|
11434
11436
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -13015,9 +13017,11 @@ as.interceptors.response.use(
|
|
|
13015
13017
|
} else
|
|
13016
13018
|
return Promise.reject(n);
|
|
13017
13019
|
} catch {
|
|
13018
|
-
_n.removeItem("access_token"), _n.removeItem("refresh_token"), _n.removeItem("isOAuth")
|
|
13019
|
-
|
|
13020
|
-
|
|
13020
|
+
if (_n.removeItem("access_token"), _n.removeItem("refresh_token"), _n.removeItem("isOAuth"), window !== void 0) {
|
|
13021
|
+
const e = window.location.hostname === "localhost" ? "http://localhost:8080" : "https://scope360.io";
|
|
13022
|
+
window.open(`${e}/login?redirectUrl=${window.location.href}`, "_self");
|
|
13023
|
+
}
|
|
13024
|
+
return Promise.reject(n);
|
|
13021
13025
|
}
|
|
13022
13026
|
}
|
|
13023
13027
|
);
|