bt-core-app 2.0.65 → 2.0.66

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.
@@ -9017,7 +9017,7 @@ function oP(e) {
9017
9017
  function S() {
9018
9018
  let T = o.value ?? e.getDefaultBackgroundID();
9019
9019
  T != null && c.some((L) => L == T) && (T = void 0);
9020
- let D = e.getBackgroundURL(T, s.value, e.urls);
9020
+ let D = e.getBackgroundURL(T, s.value);
9021
9021
  T != null && D != null && !d.some((L) => L == T) && Ix(
9022
9022
  D,
9023
9023
  () => {
@@ -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, e.urls) : void 0;
9037
+ const D = e.getBackgroundURL != null ? e.getBackgroundURL(T, void 0) : 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, w;
44996
+ var c, d, v, f, g, h, m, y;
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), (f = e.navigation).urls ?? (f.urls = n);
45001
+ e.navigation ?? (e.navigation = {}), (d = e.navigation).menu ?? (d.menu = l), (v = e.navigation).updateNavItems ?? (v.updateNavItems = !1);
45002
45002
  const r = oP(e.navigation);
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;
45003
+ e.heights ?? (e.heights = {}), (f = e.heights).display ?? (f.display = a.vuetifyDisplay), (g = e.heights).navigation ?? (g.navigation = r), wh(e.heights), kB(e), (h = e.auth).menu ?? (h.menu = l), (m = e.auth).router ?? (m.router = a.router), e.auth.getAuthItem = r.findItem;
45004
45004
  const i = cP(e.auth);
45005
- e.demo != null && ((w = e.demo).auth ?? (w.auth = i));
45005
+ e.demo != null && ((y = e.demo).auth ?? (y.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,11 +2544,10 @@ 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, urls?: CreateUrlOptions) => string | undefined;
2547
+ getBackgroundURL?: (backgroundID?: string, backgroundName?: string) => string | undefined;
2548
2548
  menu?: BTCreateMenu;
2549
2549
  navItems?: NavigationItem[];
2550
2550
  updateNavItems?: boolean;
2551
- urls?: CreateUrlOptions;
2552
2551
  }
2553
2552
 
2554
2553
  export declare function useNested(): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.65",
3
+ "version": "2.0.66",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {