bt-core-app 1.4.156 → 1.4.157

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -12,6 +12,7 @@ import { Ref } from 'vue';
12
12
  import { RemovableRef } from '@vueuse/core';
13
13
  import { RouteLocation } from 'vue-router';
14
14
  import { RouteLocationNormalized } from 'vue-router';
15
+ import { RouteLocationRaw } from 'vue-router';
15
16
  import { Router } from 'vue-router';
16
17
  import { ShallowRef } from 'vue';
17
18
  import { Store } from 'pinia';
@@ -555,7 +556,7 @@ export declare interface GroupedHeaderOption {
555
556
  values: TableColumn[];
556
557
  }
557
558
 
558
- export declare function guardRoute(to: RouteLocation, from: RouteLocation, restrictedRoute: RouteLocation): RouteLocation;
559
+ export declare function guardRoute(to: RouteLocationNormalized, from: RouteLocationNormalized, restrictedRoute: RouteLocationRaw): RouteLocationRaw | RouteLocationNormalized;
559
560
 
560
561
  /**tests for whether string is contains in any of the given props of the given value */
561
562
  export declare function hasSearch(value: any, str?: string, props?: string[]): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.156",
3
+ "version": "1.4.157",
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": {