@jnrs/vue-core 1.2.9 → 1.2.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.
@@ -1,5 +1,5 @@
1
1
  import { Router, RouteLocationRaw } from 'vue-router';
2
- import { MenuItem } from '../types/base';
2
+ import { IMenuItem } from '../types/base';
3
3
  import { CreateVueRouter } from './types';
4
4
  /**
5
5
  * 创建 vue-router 实例
@@ -23,6 +23,6 @@ declare const handleRouter: (to: RouteLocationRaw, type?: "push" | "replace") =>
23
23
  * @param menus 菜单项
24
24
  * @param parent 父级菜单项
25
25
  */
26
- declare const asyncGenerateRoute: (menus: MenuItem[], parent?: MenuItem) => Promise<void>;
27
- declare const getRoutes: () => MenuItem[];
26
+ declare const asyncGenerateRoute: (menus: IMenuItem[], parent?: IMenuItem) => Promise<void>;
27
+ declare const getRoutes: () => IMenuItem[];
28
28
  export { createVueRouter, asyncGenerateRoute, handleRouter, getRoutes };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jnrs/vue-core",
3
- "version": "1.2.9",
3
+ "version": "1.2.11",
4
4
  "description": "巨能前端工程化开发,Vue 专用核心功能包。",
5
5
  "keywords": [
6
6
  "jnrs",
@@ -40,10 +40,6 @@
40
40
  "import": "./dist/piniaStore/index.js",
41
41
  "types": "./dist/piniaStore/index.d.ts"
42
42
  },
43
- "./request": {
44
- "import": "./dist/request/index.js",
45
- "types": "./dist/request/index.d.ts"
46
- },
47
43
  "./components": {
48
44
  "import": "./dist/components/index.js",
49
45
  "types": "./dist/components/index.d.ts"
@@ -55,14 +51,14 @@
55
51
  },
56
52
  "peerDependencies": {
57
53
  "@vueuse/core": "^14.1.0",
58
- "element-plus": "^2.11.9",
54
+ "element-plus": "^2.13.3",
59
55
  "@element-plus/icons-vue": "^2.3.2",
60
56
  "pinia": "^3.0.3",
61
57
  "pinia-plugin-persistedstate": "^4.7.1",
62
58
  "vue": "^3.5.22",
63
59
  "vue-router": "^4.5.1",
64
60
  "vue-i18n": "^11.2.8",
65
- "@jnrs/shared": "1.1.11"
61
+ "@jnrs/shared": "1.1.16"
66
62
  },
67
63
  "devDependencies": {
68
64
  "@vitejs/plugin-vue": "^6.0.1",