bt-core-app 1.4.377 → 1.4.379
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 +7 -8
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -23772,15 +23772,14 @@ function br() {
|
|
|
23772
23772
|
function Ap() {
|
|
23773
23773
|
const e = xs(), t = br();
|
|
23774
23774
|
function n() {
|
|
23775
|
-
|
|
23776
|
-
if (a > 1) {
|
|
23775
|
+
if (t.navHistory.length > 1) {
|
|
23777
23776
|
t.navHistory.pop();
|
|
23778
|
-
const
|
|
23779
|
-
t.navHistory.pop(), e.push(
|
|
23780
|
-
}
|
|
23781
|
-
e.back();
|
|
23777
|
+
const a = t.navHistory[t.navHistory.length - 1];
|
|
23778
|
+
t.navHistory.pop(), a != null && e.push(a);
|
|
23779
|
+
}
|
|
23782
23780
|
}
|
|
23783
23781
|
return {
|
|
23782
|
+
canNavBack: _(() => t.navHistory.length > 0),
|
|
23784
23783
|
navBack: n
|
|
23785
23784
|
};
|
|
23786
23785
|
}
|
|
@@ -23866,9 +23865,9 @@ function qM(e) {
|
|
|
23866
23865
|
}
|
|
23867
23866
|
}
|
|
23868
23867
|
function w(T, L) {
|
|
23869
|
-
|
|
23868
|
+
T.name == (L == null ? void 0 : L.name) && ((L == null ? void 0 : L.params.id) == "new" || (L == null ? void 0 : L.query.id) == "new") && n.pop(), T.params.navIgnore !== "true" && n.push(T);
|
|
23870
23869
|
const M = T.meta.nav ?? T.name, P = u(M), W = T.meta.background ?? (P == null ? void 0 : P.background);
|
|
23871
|
-
W != o.value && (o.value = W, i.value == null && x()), l.value = T.meta.hideNavigation !== "true" && (P == null ? void 0 : P.hideNavigation) !== !0, a.value = T.meta.hideAppBar !== "true" && (P == null ? void 0 : P.hideAppBar) !== !0
|
|
23870
|
+
W != o.value && (o.value = W, i.value == null && x()), l.value = T.meta.hideNavigation !== "true" && (P == null ? void 0 : P.hideNavigation) !== !0, a.value = T.meta.hideAppBar !== "true" && (P == null ? void 0 : P.hideAppBar) !== !0;
|
|
23872
23871
|
}
|
|
23873
23872
|
return _c = {
|
|
23874
23873
|
showAppBar: a,
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED