bt-core-app 1.4.423 → 1.4.425
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 +10 -10
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -5562,8 +5562,8 @@ function sV(e, t) {
|
|
|
5562
5562
|
return Math.round(e * l) / l;
|
|
5563
5563
|
}
|
|
5564
5564
|
function uV(e, t) {
|
|
5565
|
-
let n =
|
|
5566
|
-
return t != null && (Xw(n, t) ? n = n.split(",").filter((a) => a != t).toString() : n != null ? n = `${n},${t}` : n = t), n != null && n.length > 0 ? n : null;
|
|
5565
|
+
let n = "";
|
|
5566
|
+
return e != null && (Array.isArray(e) ? n = e.toString() : n = e), t != null && (Xw(n, t) ? n = n.split(",").filter((a) => a != t).toString() : n != null ? n = `${n},${t}` : n = t), n != null && n.length > 0 ? n : null;
|
|
5567
5567
|
}
|
|
5568
5568
|
function Xw(e, t) {
|
|
5569
5569
|
if (e == null || e.length == 0)
|
|
@@ -33774,20 +33774,20 @@ function iI() {
|
|
|
33774
33774
|
}
|
|
33775
33775
|
const w1 = Symbol(), oI = Symbol(), x1 = Symbol(), k1 = Symbol();
|
|
33776
33776
|
function VV(e, t, n) {
|
|
33777
|
-
const a = Ye(w1), l = Ye(k1), r = Ye(x1), i = a.findItem(e.meta.nav ?? e.name) ?? void 0, o = e.meta.requiresAuth !== !1 || i != null && i.requiresAuth !== !1, s = e.query.isDemo === "true";
|
|
33778
|
-
function
|
|
33777
|
+
const a = Ye(w1), l = Ye(k1), r = Ye(x1), i = a.findItem(e.meta.nav ?? e.name) ?? void 0, o = e.meta.requiresAuth !== !1 || i != null && i.requiresAuth !== !1, s = e.query.isDemo === "true", c = e.meta.permissions ?? [], f = e.meta.subscriptions ?? [];
|
|
33778
|
+
function d() {
|
|
33779
33779
|
document.title = `${r.isDemoing.value ? "(Demo) " : ""}${sx() ?? ""}`;
|
|
33780
33780
|
}
|
|
33781
33781
|
if (!o)
|
|
33782
|
-
|
|
33782
|
+
d(), a.updateNavigationChange(e, t);
|
|
33783
33783
|
else if (s)
|
|
33784
|
-
r.isDemoing.value || r.startDemo(),
|
|
33784
|
+
r.isDemoing.value || r.startDemo(), d(), a.updateNavigationChange(e, t);
|
|
33785
33785
|
else {
|
|
33786
33786
|
if (r.isDemoing.value)
|
|
33787
|
-
return r.endDemo(!1),
|
|
33788
|
-
if (
|
|
33789
|
-
const
|
|
33790
|
-
if (l.doShow(
|
|
33787
|
+
return r.endDemo(!1), d(), { path: "/" };
|
|
33788
|
+
if (d(), l.tryLogin()) {
|
|
33789
|
+
const h = (i == null ? void 0 : i.subscriptions) ?? [], v = (i == null ? void 0 : i.permissions) ?? [];
|
|
33790
|
+
if (h.push(...f), v.push(...c), l.doShow(h, v, "view")) {
|
|
33791
33791
|
a.updateNavigationChange(e, t);
|
|
33792
33792
|
return;
|
|
33793
33793
|
} else
|
package/dist/index.d.ts
CHANGED
|
@@ -1249,7 +1249,7 @@ export declare function toCamelCase(value: any): any;
|
|
|
1249
1249
|
|
|
1250
1250
|
export declare function toCompareString(str?: string): string | null;
|
|
1251
1251
|
|
|
1252
|
-
export declare function toggleCSV(value?: string, tag?: string): string | null;
|
|
1252
|
+
export declare function toggleCSV(value?: string | string[], tag?: string): string | null;
|
|
1253
1253
|
|
|
1254
1254
|
export declare function twiddleThumbs(mSec?: number): Promise<void>;
|
|
1255
1255
|
|
package/package.json
CHANGED