bt-core-app 2.0.22 → 2.0.24
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 +14 -14
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -8993,7 +8993,7 @@ function iP(e) {
|
|
|
8993
8993
|
function C(T, D) {
|
|
8994
8994
|
T.name == (D == null ? void 0 : D.name) && ((D == null ? void 0 : D.params.id) == "new" || (D == null ? void 0 : D.query.id) == "new") && a.value.pop(), T.params.navIgnore !== "true" && a.value.push(T);
|
|
8995
8995
|
const L = T.meta.nav ?? T.name, $ = y(L), P = T.meta.background ?? ($ == null ? void 0 : $.background);
|
|
8996
|
-
P != s.value && (s.value = P, o.value == null && k()), l.value = T.meta.hideNavigation !== !0 && ($ == null ? void 0 : $.hideNavigation) !== !0, r.value = T.meta.hideBottomNavigation !== !0 && ($ == null ? void 0 : $.hideBottomNavigation) !== !0, n.value = T.meta.hideAppBar !== !0 && ($ == null ? void 0 : $.hideAppBar) !== !0;
|
|
8996
|
+
P != s.value && (s.value = P, o.value == null && k()), l.value = T.meta.hideNavigation !== !0 && ($ == null ? void 0 : $.hideNavigation) !== !0, r.value = T.meta.hideBottomNavigation !== !0 && ($ == null ? void 0 : $.hideBottomNavigation) !== !0, n.value = T.meta.hideAppBar !== !0 && ($ == null ? void 0 : $.hideAppBar) !== !0, e.menu != null && T.meta.menuGroup != null && (e.menu.currentGroup.value = T.meta.menuGroup);
|
|
8997
8997
|
}
|
|
8998
8998
|
return gy = {
|
|
8999
8999
|
showAppBar: n,
|
|
@@ -9979,7 +9979,7 @@ function mP(e) {
|
|
|
9979
9979
|
dark: { ...Op, ...e.defaultDarkTheme },
|
|
9980
9980
|
drawer: e.defaultDrawer ?? !0,
|
|
9981
9981
|
drawerStick: e.defaultDrawerStick ?? !1
|
|
9982
|
-
};
|
|
9982
|
+
}, i(!1);
|
|
9983
9983
|
}
|
|
9984
9984
|
function r() {
|
|
9985
9985
|
localStorage.setItem(n, JSON.stringify(t.value));
|
|
@@ -9987,7 +9987,7 @@ function mP(e) {
|
|
|
9987
9987
|
function i(f) {
|
|
9988
9988
|
var g;
|
|
9989
9989
|
if (a != null) {
|
|
9990
|
-
a.
|
|
9990
|
+
a.change(t.value.theme);
|
|
9991
9991
|
let p;
|
|
9992
9992
|
a.global.name.value == "dark" ? (f && (t.value.dark = { ...Op, ...e.defaultDarkTheme }), a.themes.value.dark = {
|
|
9993
9993
|
...a.themes.value.dark,
|
|
@@ -43381,7 +43381,7 @@ function WU(e, t, a, n, l, r) {
|
|
|
43381
43381
|
e.clearable && !e.isEmpty ? (N(), ce(Ct, {
|
|
43382
43382
|
key: 0,
|
|
43383
43383
|
size: "small",
|
|
43384
|
-
icon: "
|
|
43384
|
+
icon: "$close",
|
|
43385
43385
|
onClick: t[0] || (t[0] = Ut((i) => e.clear(), ["stop"]))
|
|
43386
43386
|
})) : ee("", !0),
|
|
43387
43387
|
w(Ct, {
|
|
@@ -44876,21 +44876,21 @@ const JU = /* @__PURE__ */ et({
|
|
|
44876
44876
|
function Koe(e) {
|
|
44877
44877
|
return {
|
|
44878
44878
|
install(t, a) {
|
|
44879
|
-
var u, d, m, f, g, p;
|
|
44879
|
+
var u, d, m, f, g, p, h;
|
|
44880
44880
|
e.includeComponents == !0 && (t.component("bt-avatar", GB), t.component("bt-background-task", w8), t.component("bt-blade-item", H8), t.component("bt-blade-items", G7), t.component("bt-blade-steps", fF), t.component("bt-blade", VF), t.component("bt-btn", LF), t.component("bt-camera-overlay", BF), t.component("bt-col", NF), t.component("bt-cosmetics-menu", ER), t.component("bt-cron", XR), t.component("bt-date", uW), t.component("bt-drag-counter", hW), t.component("bt-entity", yW), t.component("bt-error", bW), t.component("bt-field", wW), t.component("bt-field-checkbox", CW), t.component("bt-field-date", MW), t.component("bt-field-entity", _W), t.component("bt-field-select", TW), t.component("bt-field-string", AW), t.component("bt-field-switch", IW), t.component("bt-field-tags", tj), t.component("bt-field-text-area", nj), t.component("bt-field-trigger", sj), t.component("bt-header-option", dj), t.component("bt-image-uploader", JA), t.component("bt-json", SU), t.component("bt-loader", CU), t.component("bt-nav-sidebar", LU), t.component("bt-number", BU), t.component("bt-numpad", NU), t.component("bt-select-inline", jU), t.component("bt-select-list-box", qU), t.component("bt-select", GU), t.component("bt-signature", JU), t.component("bt-signature-overlay", eY), t.component("bt-slider", tY), t.component("bt-span", aY), t.component("bt-status-item", rY), t.component("bt-tags", AA)), e.cosmetics ?? (e.cosmetics = {}), (u = e.cosmetics).vuetifyInstance ?? (u.vuetifyInstance = a.vuetifyInstance), sP(e.assistant ?? { items: [] });
|
|
44881
44881
|
const n = KL(e.urls);
|
|
44882
44882
|
SF(e.componentConfig), mP(e.cosmetics);
|
|
44883
|
-
const l =
|
|
44884
|
-
e.
|
|
44885
|
-
const r =
|
|
44886
|
-
|
|
44883
|
+
const l = bB(e.menu);
|
|
44884
|
+
e.navigation ?? (e.navigation = {}), (d = e.navigation).menu ?? (d.menu = l);
|
|
44885
|
+
const r = iP(e.navigation);
|
|
44886
|
+
e.heights ?? (e.heights = {}), (m = e.heights).display ?? (m.display = a.vuetifyDisplay), (f = e.heights).navigation ?? (f.navigation = r), bh(e.heights), xB(e), (g = e.auth).menu ?? (g.menu = l), (p = e.auth).router ?? (p.router = a.router), e.auth.getAuthItem = r.findItem;
|
|
44887
44887
|
const i = uP(e.auth);
|
|
44888
|
-
e.demo != null && ((
|
|
44888
|
+
e.demo != null && ((h = e.demo).auth ?? (h.auth = i));
|
|
44889
44889
|
const o = HP(e.demo), s = rP({
|
|
44890
44890
|
...e.api,
|
|
44891
44891
|
auth: i,
|
|
44892
44892
|
demo: o,
|
|
44893
|
-
findPath:
|
|
44893
|
+
findPath: r.findPath,
|
|
44894
44894
|
useBearerToken: !0
|
|
44895
44895
|
});
|
|
44896
44896
|
e.backgroundTasks != null && cP({ api: s, ...e.backgroundTasks });
|
|
@@ -44907,14 +44907,14 @@ function Koe(e) {
|
|
|
44907
44907
|
auth: i,
|
|
44908
44908
|
dates: c,
|
|
44909
44909
|
demo: o,
|
|
44910
|
-
navigation:
|
|
44910
|
+
navigation: r
|
|
44911
44911
|
}), JL({
|
|
44912
44912
|
api: s,
|
|
44913
44913
|
auth: i,
|
|
44914
44914
|
dates: c,
|
|
44915
44915
|
demo: o,
|
|
44916
|
-
navigation:
|
|
44917
|
-
}), t.provide(rT,
|
|
44916
|
+
navigation: r
|
|
44917
|
+
}), t.provide(rT, r), t.provide(oT, i), t.provide(iT, o), t.provide(SB, n);
|
|
44918
44918
|
}
|
|
44919
44919
|
};
|
|
44920
44920
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -2522,6 +2522,7 @@ export declare interface UseNavigationOptions {
|
|
|
2522
2522
|
getDefaultBackgroundID?: () => string | undefined;
|
|
2523
2523
|
/**formulate the background url - whether external or internal */
|
|
2524
2524
|
getBackgroundURL?: (backgroundID?: string, backgroundName?: string) => string | undefined;
|
|
2525
|
+
menu?: BTCreateMenu;
|
|
2525
2526
|
navItems?: NavigationItem[];
|
|
2526
2527
|
}
|
|
2527
2528
|
|
package/package.json
CHANGED