bt-core-app 2.0.155 → 2.0.156
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 +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -9333,7 +9333,7 @@ function hP(e) {
|
|
|
9333
9333
|
D.name == (A == null ? void 0 : A.name) && ((A == null ? void 0 : A.params.id) == "new" || (A == null ? void 0 : A.query.id) == "new") && a.value.pop(), D.params.navIgnore !== "true" && a.value.push(D);
|
|
9334
9334
|
const L = D.meta.nav ?? D.name, V = b(L);
|
|
9335
9335
|
o.value = void 0;
|
|
9336
|
-
|
|
9336
|
+
var P = D.meta.background ?? (V == null ? void 0 : V.background) ?? e.defaultBackgroundName;
|
|
9337
9337
|
P != s.value && (s.value = P, o.value == null && x()), l.value = D.meta.hideNavigation !== !0 && (V == null ? void 0 : V.hideNavigation) !== !0, r.value = D.meta.hideBottomNavigation !== !0 && (V == null ? void 0 : V.hideBottomNavigation) !== !0, n.value = D.meta.hideAppBar !== !0 && (V == null ? void 0 : V.hideAppBar) !== !0, e.menu != null && D.meta.menuGroup != null && e.updateNavItems && (e.menu.currentGroup.value = D.meta.menuGroup);
|
|
9338
9338
|
}
|
|
9339
9339
|
return Sy = {
|
package/dist/index.d.ts
CHANGED
|
@@ -2567,6 +2567,7 @@ export declare function useNavBack(): {
|
|
|
2567
2567
|
export declare function useNavigation(): BTNavigation;
|
|
2568
2568
|
|
|
2569
2569
|
export declare interface UseNavigationOptions {
|
|
2570
|
+
defaultBackgroundName?: string;
|
|
2570
2571
|
defaultCacheExpiryHours?: number;
|
|
2571
2572
|
/**for overriding getting the display name */
|
|
2572
2573
|
getDisplayName?: (navItem: NavigationItem) => string | undefined;
|
package/package.json
CHANGED