@vtj/designer 0.10.12 → 0.10.14

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,24 +1,24 @@
1
1
  {
2
2
  "name": "@vtj/designer",
3
3
  "private": false,
4
- "version": "0.10.12",
4
+ "version": "0.10.14",
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/icons": "~0.10.12",
11
- "@vtj/renderer": "~0.10.12",
12
- "@vtj/core": "~0.10.12",
13
- "@vtj/uni": "~0.10.12",
14
- "@vtj/ui": "~0.10.12",
15
- "@vtj/utils": "~0.10.12"
10
+ "@vtj/core": "~0.10.14",
11
+ "@vtj/icons": "~0.10.14",
12
+ "@vtj/uni": "~0.10.14",
13
+ "@vtj/renderer": "~0.10.14",
14
+ "@vtj/ui": "~0.10.14",
15
+ "@vtj/utils": "~0.10.14"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/mockjs": "~1.0.10",
19
19
  "vue": "~3.5.5",
20
20
  "vue-router": "~4.5.0",
21
- "@vtj/cli": "~0.10.2"
21
+ "@vtj/cli": "~0.10.3"
22
22
  },
23
23
  "files": [
24
24
  "dist",
@@ -13,7 +13,7 @@ export interface EngineOptions {
13
13
  materials?: Record<string, () => Promise<any>>;
14
14
  materialPath?: string;
15
15
  globals?: Record<string, any>;
16
- adapter?: ProvideAdapter;
16
+ adapter?: Partial<ProvideAdapter>;
17
17
  install?: (app: App, engine?: Engine) => void;
18
18
  pageBasePath?: string;
19
19
  pageRouteName?: string;
@@ -34,7 +34,7 @@ export declare class Engine extends Base {
34
34
  isEmptyCurrent: Ref<boolean>;
35
35
  history: Ref<HistoryModel | null>;
36
36
  provider: Provider;
37
- adapter?: ProvideAdapter;
37
+ adapter?: Partial<ProvideAdapter>;
38
38
  /**
39
39
  * 当current变化时,更新该值,用于通知组件更新
40
40
  */
package/types/utils.d.ts CHANGED
@@ -6,3 +6,4 @@ export declare function message(message: string, type?: 'success' | 'warning'):
6
6
  export declare function proxyContext(context: any): any;
7
7
  export declare function expressionValidate(str: JSExpression | JSFunction, self: any, thisRequired?: boolean): boolean;
8
8
  export declare function getClassProperties(obj: any): string[];
9
+ export declare function normalizedStyle(style?: Record<string, any>): Record<string, any>;
@@ -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.10.11
5
+ * @version 0.10.13
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.10.11";
8
+ export declare const version = "0.10.13";