@vtj/designer 0.10.0 → 0.10.1-alpha.1

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.1
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.1", hn = {
23
23
  width: 390,
24
24
  height: 844
25
25
  }, bn = {
@@ -84,8 +84,8 @@ function Co() {
84
84
  };
85
85
  }
86
86
  const Vo = (i = []) => i.map((t) => t.name), jo = (i) => {
87
- const t = i.find((e) => e.name === yt);
88
- t && (t.children = t.children?.filter((e) => e.name === "elements") || [], t.names = [], t.count = t.children?.[0].count || 0);
87
+ const t = i.findIndex((e) => e.name === yt);
88
+ i.splice(t, 1);
89
89
  };
90
90
  function Ao() {
91
91
  const i = de(), { components: t, groups: e, componentMap: l } = i.assets, { platform: a = "web" } = i.project.value || {};
@@ -8878,6 +8878,21 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8878
8878
  assetsLibrary: "UniH5Material",
8879
8879
  platform: "uniapp"
8880
8880
  },
8881
+ {
8882
+ package: "uni-ui",
8883
+ version: "latest",
8884
+ library: "UniUI",
8885
+ urls: [
8886
+ "@vtj/materials/deps/uni-ui/style.css",
8887
+ "@vtj/materials/deps/uni-ui/index.umd.js"
8888
+ ],
8889
+ required: !0,
8890
+ official: !0,
8891
+ enabled: !0,
8892
+ assetsUrl: "@vtj/materials/assets/uni-ui/index.umd.js",
8893
+ assetsLibrary: "UniUIMaterial",
8894
+ platform: "uniapp"
8895
+ },
8881
8896
  {
8882
8897
  package: "@vtj/utils",
8883
8898
  version: "latest",
@@ -8985,7 +9000,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8985
9000
  required: !1,
8986
9001
  official: !0,
8987
9002
  enabled: !0,
8988
- platform: ["h5", "uniapp"]
9003
+ platform: ["h5"]
8989
9004
  },
8990
9005
  {
8991
9006
  package: "@vtj/charts",
@@ -11354,12 +11369,12 @@ class Dd extends qn {
11354
11369
  }
11355
11370
  async init(e) {
11356
11371
  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());
11372
+ if (l) {
11373
+ const a = l.platform || "web";
11374
+ a === "uniapp" && un.set("UniConfig", {
11375
+ invisible: !1
11376
+ }), l.dependencies = Rc.merge(l.dependencies || [], a), this.project.value = new aa(l), this.saveMaterials(), this.triggerReady();
11377
+ }
11363
11378
  }
11364
11379
  render() {
11365
11380
  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.1",
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/core": "~0.10.1-alpha.1",
11
+ "@vtj/renderer": "~0.10.1-alpha.1",
12
+ "@vtj/icons": "~0.10.1-alpha.1",
13
+ "@vtj/uni": "~0.10.1-alpha.1",
14
+ "@vtj/ui": "~0.10.1-alpha.1",
15
+ "@vtj/utils": "~0.10.1-alpha.1"
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.1-alpha.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.1-alpha.0";