@vtj/renderer 0.8.170 → 0.8.171

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,14 +1,14 @@
1
1
  {
2
2
  "name": "@vtj/renderer",
3
3
  "private": false,
4
- "version": "0.8.170",
4
+ "version": "0.8.171",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "mockjs": "~1.1.0",
8
- "@vtj/core": "~0.8.170",
9
- "@vtj/icons": "~0.8.170",
10
- "@vtj/utils": "~0.8.170",
11
- "@vtj/ui": "~0.8.170"
8
+ "@vtj/core": "~0.8.171",
9
+ "@vtj/icons": "~0.8.171",
10
+ "@vtj/ui": "~0.8.171",
11
+ "@vtj/utils": "~0.8.171"
12
12
  },
13
13
  "devDependencies": {
14
14
  "vue": "~3.5.5",
@@ -30,3 +30,11 @@ export declare const BUILT_IN_DIRECTIVES: string[];
30
30
  * 数据类型
31
31
  */
32
32
  export declare const DATA_TYPES: Record<BlockPropDataType, any>;
33
+ /**
34
+ * 页面路由名称
35
+ */
36
+ export declare const PAGE_ROUTE_NAME = "VtjPage";
37
+ /**
38
+ * 主页路由名称
39
+ */
40
+ export declare const HOMEPAGE_ROUTE_NAME = "VtjHomepage";
@@ -56,9 +56,9 @@ export interface AccessOptions {
56
56
  */
57
57
  unauthorizedMessage?: string;
58
58
  /**
59
- * 密钥
59
+ * RSA解密私钥
60
60
  */
61
- crypto?: string;
61
+ privateKey?: string;
62
62
  }
63
63
  export interface AccessData {
64
64
  token: string;
@@ -86,7 +86,7 @@ export declare class Access {
86
86
  private mode?;
87
87
  constructor(options: Partial<AccessOptions>);
88
88
  connect(params: AccessConnectParams): void;
89
- login(data: AccessData | string): void;
89
+ login(data: AccessData | string | string[]): void;
90
90
  clear(): void;
91
91
  logout(): void;
92
92
  getData(): AccessData | null;
@@ -104,6 +104,7 @@ export declare class Access {
104
104
  private isWhiteList;
105
105
  private isUnauthorized;
106
106
  private showUnauthorizedAlert;
107
+ private showTip;
107
108
  private setRequest;
108
109
  }
109
110
  export declare function useAccess(): Access;
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/renderer
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.8.169
5
+ * @version 0.8.170
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.8.169";
8
+ export declare const version = "0.8.170";