bt-core-app 1.4.160 → 1.4.162

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.
@@ -7970,7 +7970,7 @@ function V0(e) {
7970
7970
  function b(y, k) {
7971
7971
  var I;
7972
7972
  const x = r.value;
7973
- x.expiresOn = y.ExpiresOn, x.isGlobalAdmin = y.IsGlobalAdmin == "True", x.isLoggedIn = !0, x.permissions = y.Permissions, x.subscriptionCode = y.Subscription, x.timeZone ?? (x.timeZone = e.defaultTimeZone ?? Ls), x.token = k, x.userID = y.UserLoginID, x.userPermissions = ((I = y.Permissions) == null ? void 0 : I.split(",")) ?? [];
7973
+ x.expiresOn = y.ExpiresOn, x.isGlobalAdmin = y.IsGlobalAdmin == "True", x.isLoggedIn = !0, x.permissions = y.Permissions, x.subscriptionCode = y.Subscription, x.timeZone ?? (x.timeZone = e.defaultTimeZone ?? Ls), x.token = k, x.userID = y.UserLoginID, x.userPermissions = y.Permissions != null && y.Permissions.length > 0 ? ((I = y.Permissions) == null ? void 0 : I.split(",")) ?? [] : [];
7974
7974
  }
7975
7975
  function T() {
7976
7976
  var y;
@@ -31835,7 +31835,7 @@ function G_(e) {
31835
31835
  e.includeComponents == !0 && (t.component("bt-blade-item", DM), t.component("bt-blade-items", gh), t.component("bt-blade", IM), t.component("bt-btn", EM), t.component("bt-col", VM), t.component("bt-date", ry), t.component("bt-entity", $M), t.component("bt-field-checkbox", NM), t.component("bt-field-date", BM), t.component("bt-field-entity", RM), t.component("bt-field-select", FM), t.component("bt-field-string", OM), t.component("bt-field-switch", HM), t.component("bt-field-tags", zM), t.component("bt-field-text-area", YM), t.component("bt-field-trigger", ZM), t.component("bt-header-option", QM), t.component("bt-json", e_), t.component("bt-nav-sidebar", t_), t.component("bt-number", ly), t.component("bt-select-list-box", n_), t.component("bt-select", a_), t.component("bt-span", r_)), e.vuetifyInstance ?? (e.vuetifyInstance = n.vuetifyInstance);
31836
31836
  const a = M0(e.urls);
31837
31837
  B0(e);
31838
- const r = H0(), l = Hk(e);
31838
+ const r = H0(), l = Hk(e.navigation ?? {});
31839
31839
  zk(e), (c = e.auth).demo ?? (c.demo = r), e.auth.getAuthItem = l.findItem;
31840
31840
  const i = V0(e.auth);
31841
31841
  xM(e.menu);
package/dist/index.d.ts CHANGED
@@ -302,10 +302,11 @@ export declare interface CreateAuthOptions {
302
302
 
303
303
  export declare function createCore(options: CreateCoreOptions): CoreApp;
304
304
 
305
- export declare interface CreateCoreOptions extends UseCosmeticsOptions<BaseCosmeticTheme>, UseNavigationOptions {
305
+ export declare interface CreateCoreOptions extends UseCosmeticsOptions<BaseCosmeticTheme> {
306
306
  auth: CreateAuthOptions;
307
307
  includeComponents?: boolean;
308
308
  menu?: CreateMenuOptions;
309
+ navigation?: UseNavigationOptions;
309
310
  presets: any;
310
311
  /**suboptions */
311
312
  subscriptionOptions?: AuthSubscription[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.160",
3
+ "version": "1.4.162",
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": {