bt-core-app 2.0.82 → 2.0.83
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 +6 -6
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -9417,10 +9417,10 @@ function dP(e) {
|
|
|
9417
9417
|
return !1;
|
|
9418
9418
|
}
|
|
9419
9419
|
function u(D, L, V) {
|
|
9420
|
-
let P = !0;
|
|
9421
|
-
return ht(r).isGlobalAdmin ? !0 : (L != null && L.length > 0 && L.forEach((
|
|
9422
|
-
V == "edit" ? o(
|
|
9423
|
-
}),
|
|
9420
|
+
let P = !0, $ = !0;
|
|
9421
|
+
return D != null && D.length > 0 && (D.some((z) => g(z)) || ($ = !1)), $ ? ht(r).isGlobalAdmin ? !0 : (L != null && L.length > 0 && L.forEach((z) => {
|
|
9422
|
+
V == "edit" ? o(z) || (P = !1) : c(z) || (P = !1);
|
|
9423
|
+
}), P) : !1;
|
|
9424
9424
|
}
|
|
9425
9425
|
function d(D, L = !1) {
|
|
9426
9426
|
var V = e.getAuthItem != null ? e.getAuthItem(D) : null;
|
|
@@ -9444,12 +9444,12 @@ function dP(e) {
|
|
|
9444
9444
|
}
|
|
9445
9445
|
function g(D) {
|
|
9446
9446
|
const L = ht(r);
|
|
9447
|
-
if (L.subscriptionCode == null)
|
|
9447
|
+
if (console.log(`testing: ${D}`), L.subscriptionCode == null)
|
|
9448
9448
|
return !1;
|
|
9449
9449
|
if (L.subscriptionCode == D)
|
|
9450
9450
|
return !0;
|
|
9451
9451
|
const V = f(D), P = f(L.subscriptionCode);
|
|
9452
|
-
return V <= P;
|
|
9452
|
+
return console.log(`${V} - ${P}`), V <= P;
|
|
9453
9453
|
}
|
|
9454
9454
|
function h(D) {
|
|
9455
9455
|
r.value = void 0, S(), D != null && e.router != null && e.router.currentRoute.value.path != D && e.router.push({ path: D });
|
package/package.json
CHANGED