@vtj/designer 0.9.15 → 0.9.16
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/{Editor-ZiUDqfgK.js → Editor-Cp9Sb2ni.js} +4 -4
- package/dist/index.mjs +1566 -1533
- package/dist/{json.worker-Deqi-XXW.js → json.worker-Cz3wPAlQ.js} +1 -1
- package/dist/{ts.worker-P1pVlN2Z.js → ts.worker-C2xNNmKz.js} +166 -166
- package/package.json +6 -6
- package/types/managers/deps.d.ts +8 -2
- package/types/version.d.ts +2 -2
package/package.json
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vtj/designer",
|
3
3
|
"private": false,
|
4
|
-
"version": "0.9.
|
4
|
+
"version": "0.9.16",
|
5
5
|
"type": "module",
|
6
6
|
"dependencies": {
|
7
7
|
"html2canvas": "~1.4.1",
|
8
8
|
"mockjs": "~1.1.0",
|
9
9
|
"monaco-editor": "~0.52.0",
|
10
|
-
"@vtj/core": "~0.9.
|
11
|
-
"@vtj/
|
12
|
-
"@vtj/
|
13
|
-
"@vtj/
|
14
|
-
"@vtj/
|
10
|
+
"@vtj/core": "~0.9.16",
|
11
|
+
"@vtj/renderer": "~0.9.16",
|
12
|
+
"@vtj/icons": "~0.9.16",
|
13
|
+
"@vtj/ui": "~0.9.16",
|
14
|
+
"@vtj/utils": "~0.9.16"
|
15
15
|
},
|
16
16
|
"devDependencies": {
|
17
17
|
"@types/mockjs": "~1.0.10",
|
package/types/managers/deps.d.ts
CHANGED
@@ -1,7 +1,13 @@
|
|
1
|
-
import { Dependencie } from '@vtj/core';
|
1
|
+
import { Dependencie, PlatformType } from '@vtj/core';
|
2
2
|
declare class DepsManager {
|
3
3
|
private deps;
|
4
4
|
constructor(deps?: Dependencie[]);
|
5
|
+
/**
|
6
|
+
* 匹配平台的依赖
|
7
|
+
* @param platform
|
8
|
+
* @returns
|
9
|
+
*/
|
10
|
+
private matchDeps;
|
5
11
|
/**
|
6
12
|
* 获取内置依赖
|
7
13
|
* @returns
|
@@ -22,7 +28,7 @@ declare class DepsManager {
|
|
22
28
|
* @param projectDeps
|
23
29
|
* @returns
|
24
30
|
*/
|
25
|
-
merge(projectDeps: Dependencie[]): Dependencie[];
|
31
|
+
merge(projectDeps: Dependencie[], platform?: PlatformType): Dependencie[];
|
26
32
|
/**
|
27
33
|
* 删除内置依赖项
|
28
34
|
* @param name
|
package/types/version.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Copyright (c) 2025, VTJ.PRO All rights reserved.
|
3
3
|
* @name @vtj/designer
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
5
|
-
* @version 0.9.
|
5
|
+
* @version 0.9.15
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
7
7
|
*/
|
8
|
-
export declare const version = "0.9.
|
8
|
+
export declare const version = "0.9.15";
|