@vtj/renderer 0.8.129 → 0.8.131
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/dist/index.cjs +5 -5
- package/dist/index.mjs +484 -472
- package/package.json +6 -6
- package/types/provider/provider.d.ts +6 -2
- package/types/utils/deps.d.ts +2 -1
- package/types/version.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtj/renderer",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.131",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"mockjs": "~1.1.0",
|
|
8
|
-
"@vtj/core": "~0.8.
|
|
9
|
-
"@vtj/
|
|
10
|
-
"@vtj/
|
|
11
|
-
"@vtj/
|
|
8
|
+
"@vtj/core": "~0.8.131",
|
|
9
|
+
"@vtj/ui": "~0.8.131",
|
|
10
|
+
"@vtj/utils": "~0.8.131",
|
|
11
|
+
"@vtj/icons": "~0.8.131"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"vue": "~3.4.15",
|
|
15
15
|
"vue-router": "~4.4.0",
|
|
16
|
-
"@vtj/cli": "~0.8.
|
|
16
|
+
"@vtj/cli": "~0.8.29"
|
|
17
17
|
},
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
@@ -17,9 +17,13 @@ export interface ProviderOptions {
|
|
|
17
17
|
materials?: Record<string, () => Promise<any>>;
|
|
18
18
|
globals?: Record<string, any>;
|
|
19
19
|
materialPath?: string;
|
|
20
|
-
nodeEnv?:
|
|
20
|
+
nodeEnv?: NodeEnv;
|
|
21
21
|
install?: (app: App) => void;
|
|
22
22
|
}
|
|
23
|
+
export declare enum NodeEnv {
|
|
24
|
+
Production = "production",
|
|
25
|
+
Development = "development"
|
|
26
|
+
}
|
|
23
27
|
export interface ProvideAdapter {
|
|
24
28
|
request: IStaticRequest;
|
|
25
29
|
jsonp: Jsonp;
|
|
@@ -39,7 +43,7 @@ export declare class Provider extends Base {
|
|
|
39
43
|
service: Service;
|
|
40
44
|
project: ProjectSchema | null;
|
|
41
45
|
components: Record<string, any>;
|
|
42
|
-
nodeEnv:
|
|
46
|
+
nodeEnv: NodeEnv;
|
|
43
47
|
private router;
|
|
44
48
|
private materialPath;
|
|
45
49
|
private urlDslCaches;
|
package/types/utils/deps.d.ts
CHANGED
|
@@ -6,7 +6,8 @@ export declare function isJSUrl(url: string): boolean;
|
|
|
6
6
|
export declare function isJSON(url: string): boolean;
|
|
7
7
|
export declare function createAssetScripts(scripts: string[]): string;
|
|
8
8
|
export declare function createAssetsCss(css?: string[]): string;
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function removeProdFlag(url: string, isDev?: boolean): string;
|
|
10
|
+
export declare function parseDeps(deps: Dependencie[], basePath: string, isDev?: boolean): {
|
|
10
11
|
scripts: string[];
|
|
11
12
|
css: string[];
|
|
12
13
|
materials: string[];
|
package/types/version.d.ts
CHANGED
|
@@ -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.
|
|
5
|
+
* @version 0.8.130
|
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
7
7
|
*/
|
|
8
|
-
export declare const version = "0.8.
|
|
8
|
+
export declare const version = "0.8.130";
|