bt-core-app 1.4.425 → 1.4.427

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 +3 -1
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -16,7 +16,9 @@ import { Ref } from 'vue';
16
16
  import { RemovableRef } from '@vueuse/core';
17
17
  import { RouteLocation } from 'vue-router';
18
18
  import { RouteLocationNormalized } from 'vue-router';
19
+ import { RouteLocationNormalizedGeneric } from 'vue-router';
19
20
  import { RouteLocationNormalizedLoaded } from 'vue-router';
21
+ import { RouteLocationNormalizedLoadedGeneric } from 'vue-router';
20
22
  import { Router } from 'vue-router';
21
23
  import { ShallowRef } from 'vue';
22
24
  import { Store } from 'pinia';
@@ -688,7 +690,7 @@ export declare interface GroupedHeaderOption {
688
690
  values: TableColumn[];
689
691
  }
690
692
 
691
- export declare function guardRoute(to: RouteLocationNormalized, from: RouteLocationNormalized, restrictedName: string): {
693
+ export declare function guardRoute(to: RouteLocationNormalized | RouteLocationNormalizedGeneric, from: RouteLocationNormalized | RouteLocationNormalizedLoadedGeneric, restrictedName: string): {
692
694
  path: string;
693
695
  name?: undefined;
694
696
  } | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.425",
3
+ "version": "1.4.427",
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": {
@@ -54,7 +54,7 @@
54
54
  "@vueuse/core": "^10.4.1",
55
55
  "pinia": "^2.1.7",
56
56
  "vue": "^3.4.27",
57
- "vue-router": "^4.0.0"
57
+ "vue-router": "^4.4.0"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@testing-library/vue": "^8.0.3",