bt-core-app 1.4.409 → 1.4.411
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/bt-core-app.js +5 -5
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -9518,12 +9518,12 @@ function Zx(e) {
|
|
|
9518
9518
|
const t = "isInDemoMode", n = localStorage.getItem(t), a = W((e == null ? void 0 : e.startInDemo) == !0 || n == "true"), l = (e == null ? void 0 : e.apis) ?? [];
|
|
9519
9519
|
function r() {
|
|
9520
9520
|
var v;
|
|
9521
|
-
((v = e == null ? void 0 : e.auth) == null ? void 0 : v.isLoggedIn.value) == !0 && (e == null || e.auth.logout(
|
|
9521
|
+
((v = e == null ? void 0 : e.auth) == null ? void 0 : v.isLoggedIn.value) == !0 && (e == null || e.auth.logout()), (e == null ? void 0 : e.getAuthToken) != null && e.auth != null && e.auth.setAuth(Hw(e.getAuthToken())), a.value = !0, localStorage.setItem(t, "true"), window.location.href = location.href;
|
|
9522
9522
|
}
|
|
9523
|
-
function i() {
|
|
9523
|
+
function i(v) {
|
|
9524
9524
|
a.value = !1;
|
|
9525
|
-
const
|
|
9526
|
-
|
|
9525
|
+
const m = B0();
|
|
9526
|
+
m && m._s.forEach((g) => g.$reset()), localStorage.setItem(t, "false"), (e == null ? void 0 : e.auth) != null && (e == null || e.auth.logout()), window.location.href = v == !0 ? location.origin : location.href;
|
|
9527
9527
|
}
|
|
9528
9528
|
function o(v) {
|
|
9529
9529
|
let m;
|
|
@@ -33781,7 +33781,7 @@ function VV(e, t, n) {
|
|
|
33781
33781
|
r.isDemoing.value || r.startDemo(), c(), a.updateNavigationChange(e, t);
|
|
33782
33782
|
else {
|
|
33783
33783
|
if (r.isDemoing.value)
|
|
33784
|
-
return r.endDemo(), c(), { path: "/" };
|
|
33784
|
+
return r.endDemo(!1), c(), { path: "/" };
|
|
33785
33785
|
if (c(), l.tryLogin()) {
|
|
33786
33786
|
const f = (i == null ? void 0 : i.subscriptions) ?? [], d = (i == null ? void 0 : i.permissions) ?? [];
|
|
33787
33787
|
if (l.doShow(f, d, "view")) {
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED