@kengic/vue 0.30.1-beta.52 → 0.30.1-beta.54
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/CHANGELOG.md +1 -1
- package/dist/kengic-vue.js +22490 -22534
- package/dist/src/util/kg-auth.util.d.ts +7 -6
- package/dist/src/util/kg-route.util.d.ts +9 -6
- package/package.json +2 -2
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KgUtil } from './kg.util';
|
|
2
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
2
3
|
export declare class KgAuthUtil {
|
|
3
4
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
4
|
-
static isAdminUser
|
|
5
|
+
static isAdminUser: typeof KgUtil.isAdminUser;
|
|
5
6
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
6
|
-
static isAppAuthenticated
|
|
7
|
-
/** @deprecated 已弃用, 请使用 {@link KgUtil.isPathAuthenticated()}. */
|
|
8
|
-
static isPathAuthenticated(path: string | null | undefined): boolean;
|
|
7
|
+
static isAppAuthenticated: typeof KgUtil.isAppAuthenticated;
|
|
9
8
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
10
|
-
static
|
|
9
|
+
static isPathAuthenticated: typeof KgUtil.isPathAuthenticated;
|
|
10
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
11
|
+
static getPermissionType: typeof KgUtil.getPermissionType;
|
|
11
12
|
}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import { KG_APP } from '../const';
|
|
2
|
-
import { Menu } from '../project/src/router/types';
|
|
3
1
|
import { KgUtil } from './kg.util';
|
|
2
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
4
3
|
export declare class KgRouteUtil {
|
|
5
|
-
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
6
|
-
static getMenuByPath(menus: Array<Menu> | null | undefined, path: string): Menu | null;
|
|
7
|
-
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
8
|
-
static getFirstLeafMenu(app?: KG_APP | null): Menu | null;
|
|
9
4
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
10
5
|
static translateMenus: typeof KgUtil.translateMenus;
|
|
6
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
11
7
|
static transformMenus: typeof KgUtil.transformMenus;
|
|
8
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
12
9
|
static isPathInApp: typeof KgUtil.isPathInApp;
|
|
10
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
13
11
|
static getAppByPath: typeof KgUtil.getAppByPath;
|
|
12
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
14
13
|
static getAppIndexPath: typeof KgUtil.getAppIndexPath;
|
|
14
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
15
|
+
static getFirstLeafMenu: typeof KgUtil.getFirstLeafMenu;
|
|
16
|
+
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
17
|
+
static getMenuByPath: typeof KgUtil.getMenuByPath;
|
|
15
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.30.1-beta.
|
|
3
|
+
"version": "0.30.1-beta.54",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
|
6
6
|
"build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@kengic/core.react": "0.0.2-beta.42",
|
|
48
48
|
"@kengic/pont": "1.2.17-beta.5",
|
|
49
49
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
|
50
|
-
"@thymine/xunee": "0.4.9-beta.
|
|
50
|
+
"@thymine/xunee": "0.4.9-beta.40",
|
|
51
51
|
"@types/crypto-js": "4.1.1",
|
|
52
52
|
"@types/fs-extra": "9.0.13",
|
|
53
53
|
"@types/inquirer": "8.2.5",
|