@vtj/designer 0.10.0 → 0.10.1-alpha.0

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.mjs CHANGED
@@ -16,10 +16,10 @@ import { PAGE_LIFE_CYCLES_LIST as po, APP_LIFE_CYCLE as mo, createUniAppComponen
16
16
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
17
17
  * @name @vtj/designer
18
18
  * @author CHC chenhuachun1549@dingtalk.com
19
- * @version 0.10.0
19
+ * @version 0.10.1-alpha.0
20
20
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
21
21
  */
22
- const wt = "0.10.0", hn = {
22
+ const wt = "0.10.1-alpha.0", hn = {
23
23
  width: 390,
24
24
  height: 844
25
25
  }, bn = {
@@ -11354,12 +11354,12 @@ class Dd extends qn {
11354
11354
  }
11355
11355
  async init(e) {
11356
11356
  const l = await this.service.init(e).catch((a) => (Be.warn("VTJEngine service init fail.", a), null));
11357
- l && ((l.platform || "web") === "uniapp" && un.set("UniConfig", {
11358
- invisible: !1
11359
- }), l.dependencies = Rc.merge(
11360
- l.dependencies || [],
11361
- l.platform
11362
- ), this.project.value = new aa(l), this.saveMaterials(), this.triggerReady());
11357
+ if (l) {
11358
+ const a = l.platform || "web";
11359
+ a === "uniapp" && un.set("UniConfig", {
11360
+ invisible: !1
11361
+ }), l.dependencies = Rc.merge(l.dependencies || [], a), this.project.value = new aa(l), this.saveMaterials(), this.triggerReady();
11362
+ }
11363
11363
  }
11364
11364
  render() {
11365
11365
  const e = n(this.container);
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@vtj/designer",
3
3
  "private": false,
4
- "version": "0.10.0",
4
+ "version": "0.10.1-alpha.0",
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.10.0",
11
- "@vtj/icons": "~0.10.0",
12
- "@vtj/ui": "~0.10.0",
13
- "@vtj/utils": "~0.10.0",
14
- "@vtj/uni": "~0.10.0",
15
- "@vtj/renderer": "~0.10.0"
10
+ "@vtj/renderer": "~0.10.1-alpha.0",
11
+ "@vtj/icons": "~0.10.1-alpha.0",
12
+ "@vtj/ui": "~0.10.1-alpha.0",
13
+ "@vtj/uni": "~0.10.1-alpha.0",
14
+ "@vtj/utils": "~0.10.1-alpha.0",
15
+ "@vtj/core": "~0.10.1-alpha.0"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/mockjs": "~1.0.10",
@@ -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.30
5
+ * @version 0.10.0
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.9.30";
8
+ export declare const version = "0.10.0";