af-mobile-client-vue3 1.1.10 → 1.1.11

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "af-mobile-client-vue3",
3
3
  "type": "module",
4
- "version": "1.1.10",
4
+ "version": "1.1.11",
5
5
  "description": "Vue + Vite component lib",
6
6
  "license": "MIT",
7
7
  "engines": {
@@ -0,0 +1,9 @@
1
+ import type { RouteLocationNormalized } from 'vue-router'
2
+
3
+ export type EnhancedRouteLocation = RouteLocationNormalized & {
4
+ meta: {
5
+ level?: number | unknown
6
+ name?: string
7
+ keepAlive?: boolean
8
+ }
9
+ }
@@ -1,6 +1,7 @@
1
- import { defineStore } from 'pinia'
1
+ import type { EnhancedRouteLocation } from '@af-mobile-client-vue3//router/types'
2
2
  import type { RouteRecordName } from 'vue-router'
3
- import type { EnhancedRouteLocation } from '@/router/types'
3
+ import { defineStore } from 'pinia'
4
+ import { ref } from 'vue'
4
5
 
5
6
  const useRouteCacheStore = defineStore('route-cache', () => {
6
7
  const routeCaches = ref<RouteRecordName[]>([])