bt-core-app 2.0.63 → 2.0.64
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 +11 -11
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -9016,17 +9016,17 @@ function oP(e) {
|
|
|
9016
9016
|
}
|
|
9017
9017
|
function S() {
|
|
9018
9018
|
let T = o.value ?? e.getDefaultBackgroundID();
|
|
9019
|
-
T != null && c.some((L) => L == T) && (T = void 0)
|
|
9020
|
-
let D = e.getBackgroundURL(T, s.value);
|
|
9021
|
-
T != null && D != null && !d.some((L) => L == T) &&
|
|
9019
|
+
T != null && c.some((L) => L == T) && (T = void 0);
|
|
9020
|
+
let D = e.getBackgroundURL(T, s.value, e.urls);
|
|
9021
|
+
T != null && D != null && !d.some((L) => L == T) && Ix(
|
|
9022
9022
|
D,
|
|
9023
9023
|
() => {
|
|
9024
|
-
|
|
9024
|
+
d.push(T), S();
|
|
9025
9025
|
},
|
|
9026
9026
|
() => {
|
|
9027
|
-
|
|
9027
|
+
c.push(T), S();
|
|
9028
9028
|
}
|
|
9029
|
-
)
|
|
9029
|
+
), o.value = T, i.value = D;
|
|
9030
9030
|
}
|
|
9031
9031
|
function C(T) {
|
|
9032
9032
|
if (T == null || d.some((D) => D == T))
|
|
@@ -9034,7 +9034,7 @@ function oP(e) {
|
|
|
9034
9034
|
else if (c.some((D) => D == T))
|
|
9035
9035
|
o.value = void 0, S();
|
|
9036
9036
|
else {
|
|
9037
|
-
const D = e.getBackgroundURL != null ? e.getBackgroundURL(T) : void 0;
|
|
9037
|
+
const D = e.getBackgroundURL != null ? e.getBackgroundURL(T, void 0, e.urls) : void 0;
|
|
9038
9038
|
D != null && Ix(
|
|
9039
9039
|
D,
|
|
9040
9040
|
() => {
|
|
@@ -44993,16 +44993,16 @@ const eY = /* @__PURE__ */ et({
|
|
|
44993
44993
|
function Qoe(e) {
|
|
44994
44994
|
return {
|
|
44995
44995
|
install(t, a) {
|
|
44996
|
-
var c, d, v, f, g, h, m, y;
|
|
44996
|
+
var c, d, v, f, g, h, m, y, w;
|
|
44997
44997
|
e.includeComponents == !0 && (t.component("bt-avatar", ZB), t.component("bt-background-task", x8), t.component("bt-blade-item", W8), t.component("bt-blade-items", Z7), t.component("bt-blade-steps", vF), t.component("bt-blade", LF), t.component("bt-btn", PF), t.component("bt-camera-overlay", NF), t.component("bt-col", FF), t.component("bt-cosmetics-menu", VR), t.component("bt-cron", QR), t.component("bt-date", cW), t.component("bt-drag-counter", pW), t.component("bt-entity", bW), t.component("bt-error", wW), t.component("bt-field", xW), t.component("bt-field-checkbox", MW), t.component("bt-field-date", _W), t.component("bt-field-entity", TW), t.component("bt-field-select", DW), t.component("bt-field-string", $W), t.component("bt-field-switch", EW), t.component("bt-field-tags", aj), t.component("bt-field-text-area", lj), t.component("bt-field-trigger", uj), t.component("bt-header-option", fj), t.component("bt-image-uploader", t3), t.component("bt-json", CU), t.component("bt-loader", MU), t.component("bt-nav-sidebar", PU), t.component("bt-number", NU), t.component("bt-numpad", FU), t.component("bt-select-inline", UU), t.component("bt-select-list-box", GU), t.component("bt-select", ZU), t.component("bt-signature", eY), t.component("bt-signature-overlay", tY), t.component("bt-slider", aY), t.component("bt-span", nY), t.component("bt-status-item", iY), t.component("bt-tags", IA)), e.cosmetics ?? (e.cosmetics = {}), (c = e.cosmetics).vuetifyInstance ?? (c.vuetifyInstance = a.vuetifyInstance), uP(e.assistant ?? { items: [] });
|
|
44998
44998
|
const n = XL(e.urls);
|
|
44999
44999
|
CF(e.componentConfig), hP(e.cosmetics);
|
|
45000
45000
|
const l = wB(e.menu);
|
|
45001
|
-
e.navigation ?? (e.navigation = {}), (d = e.navigation).menu ?? (d.menu = l), (v = e.navigation).updateNavItems ?? (v.updateNavItems = !1);
|
|
45001
|
+
e.navigation ?? (e.navigation = {}), (d = e.navigation).menu ?? (d.menu = l), (v = e.navigation).updateNavItems ?? (v.updateNavItems = !1), (f = e.navigation).urls ?? (f.urls = n);
|
|
45002
45002
|
const r = oP(e.navigation);
|
|
45003
|
-
e.heights ?? (e.heights = {}), (
|
|
45003
|
+
e.heights ?? (e.heights = {}), (g = e.heights).display ?? (g.display = a.vuetifyDisplay), (h = e.heights).navigation ?? (h.navigation = r), wh(e.heights), kB(e), (m = e.auth).menu ?? (m.menu = l), (y = e.auth).router ?? (y.router = a.router), e.auth.getAuthItem = r.findItem;
|
|
45004
45004
|
const i = cP(e.auth);
|
|
45005
|
-
e.demo != null && ((
|
|
45005
|
+
e.demo != null && ((w = e.demo).auth ?? (w.auth = i));
|
|
45006
45006
|
const o = WP(e.demo), s = iP({
|
|
45007
45007
|
...e.api,
|
|
45008
45008
|
auth: i,
|
package/dist/index.d.ts
CHANGED
|
@@ -2544,10 +2544,11 @@ export declare interface UseNavigationOptions {
|
|
|
2544
2544
|
/**returns potential a default company id for background image */
|
|
2545
2545
|
getDefaultBackgroundID?: () => string | undefined;
|
|
2546
2546
|
/**formulate the background url - whether external or internal */
|
|
2547
|
-
getBackgroundURL?: (backgroundID?: string, backgroundName?: string) => string | undefined;
|
|
2547
|
+
getBackgroundURL?: (backgroundID?: string, backgroundName?: string, urls?: CreateUrlOptions) => string | undefined;
|
|
2548
2548
|
menu?: BTCreateMenu;
|
|
2549
2549
|
navItems?: NavigationItem[];
|
|
2550
2550
|
updateNavItems?: boolean;
|
|
2551
|
+
urls?: CreateUrlOptions;
|
|
2551
2552
|
}
|
|
2552
2553
|
|
|
2553
2554
|
export declare function useNested(): {
|
package/package.json
CHANGED