@vtj/designer 0.9.0-alpha.27 → 0.9.0-alpha.29

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
@@ -15,10 +15,10 @@ import Zs from "mockjs";
15
15
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
16
16
  * @name @vtj/designer
17
17
  * @author CHC chenhuachun1549@dingtalk.com
18
- * @version 0.9.0-alpha.27
18
+ * @version 0.9.0-alpha.29
19
19
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
20
20
  */
21
- const eo = "0.9.0-alpha.27", un = {
21
+ const eo = "0.9.0-alpha.29", un = {
22
22
  width: 390,
23
23
  height: 844
24
24
  }, cn = {
@@ -10176,7 +10176,10 @@ class uc {
10176
10176
  async getBlockMaterial(t, e) {
10177
10177
  if (!t || typeof t == "string") return null;
10178
10178
  let l;
10179
- if (t.type === "Schema" && t.id && (l = this.caches[t.id] || await this.service.getFile(t.id), this.caches[t.id] = l), t.type === "UrlSchema" && t.url && (l = this.caches[t.url] || await this.provider.getDslByUrl(t.url), this.caches[t.url] = l), t.type === "Plugin") {
10179
+ if (t.type === "Schema" && t.id && (l = this.caches[t.id] || await this.service.getFile(
10180
+ t.id,
10181
+ this.provider.project || void 0
10182
+ ), this.caches[t.id] = l), t.type === "UrlSchema" && t.url && (l = this.caches[t.url] || await this.provider.getDslByUrl(t.url), this.caches[t.url] = l), t.type === "Plugin") {
10180
10183
  const v = await this.service.getPluginMaterial(t);
10181
10184
  return v ? (v.name = e || v.name, v.from = t, this.componentMap.set(v.name, v), v) : null;
10182
10185
  }
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@vtj/designer",
3
3
  "private": false,
4
- "version": "0.9.0-alpha.27",
4
+ "version": "0.9.0-alpha.29",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "html2canvas": "~1.4.1",
8
8
  "mockjs": "~1.1.0",
9
9
  "monaco-editor": "~0.51.0",
10
- "@vtj/core": "~0.9.0-alpha.27",
11
- "@vtj/icons": "~0.9.0-alpha.27",
12
- "@vtj/ui": "~0.9.0-alpha.27",
13
- "@vtj/renderer": "~0.9.0-alpha.27",
14
- "@vtj/utils": "~0.9.0-alpha.27"
10
+ "@vtj/core": "~0.9.0-alpha.29",
11
+ "@vtj/icons": "~0.9.0-alpha.29",
12
+ "@vtj/renderer": "~0.9.0-alpha.29",
13
+ "@vtj/utils": "~0.9.0-alpha.29",
14
+ "@vtj/ui": "~0.9.0-alpha.29"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/mockjs": "~1.0.10",
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/designer
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.9.0-alpha.26
5
+ * @version 0.9.0-alpha.28
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.9.0-alpha.26";
8
+ export declare const version = "0.9.0-alpha.28";