@vtj/designer 0.11.11 → 0.11.13

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 ho, APP_LIFE_CYCLE as bo, 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.11.11
19
+ * @version 0.11.13
20
20
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
21
21
  */
22
- const pt = "0.11.11", wo = {
22
+ const pt = "0.11.13", wo = {
23
23
  width: 390,
24
24
  height: 844
25
25
  }, ko = {
@@ -11262,6 +11262,7 @@ class od {
11262
11262
  }
11263
11263
  const rd = [
11264
11264
  "ResizeObserver loop completed with undelivered notifications.",
11265
+ '"ResizeObserver loop completed with undelivered notifications."',
11265
11266
  "ResizeObserver loop limit exceeded"
11266
11267
  ];
11267
11268
  class id {
@@ -11276,7 +11277,7 @@ class id {
11276
11277
  (l) => {
11277
11278
  if (l && l.data && l.data.code !== 0) {
11278
11279
  const { url: a, data: r, params: s, headers: o } = l.config;
11279
- this.error(l.data, {
11280
+ ["/__vtj__/", "lcdp.vtj.pro"].some((d) => a?.includes(d)) && this.error(l.data, {
11280
11281
  url: a,
11281
11282
  data: r,
11282
11283
  params: s,
@@ -11289,7 +11290,7 @@ class id {
11289
11290
  type: "request.error",
11290
11291
  event: l,
11291
11292
  eventString: l.toString()
11292
- }), l)
11293
+ }), Promise.reject(l))
11293
11294
  );
11294
11295
  }
11295
11296
  bindGlobalError() {
@@ -11479,6 +11480,8 @@ class ud {
11479
11480
  this.dsl && this.updateChild(t.toDsl(), this.dsl);
11480
11481
  }
11481
11482
  __onBlockChange(t) {
11483
+ if (this.app?._container)
11484
+ return;
11482
11485
  const e = this.file;
11483
11486
  this.dispose(), this.render(t, e), this.designer?.selected.value && this.designer.setSelected(t);
11484
11487
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/designer",
3
3
  "private": false,
4
- "version": "0.11.11",
4
+ "version": "0.11.13",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "低代码引擎",
@@ -24,12 +24,12 @@
24
24
  "html2canvas": "~1.4.1",
25
25
  "mockjs": "~1.1.0",
26
26
  "monaco-editor": "~0.52.0",
27
- "@vtj/core": "~0.11.11",
28
- "@vtj/icons": "~0.11.11",
29
- "@vtj/renderer": "~0.11.11",
30
- "@vtj/uni": "~0.11.11",
31
- "@vtj/ui": "~0.11.11",
32
- "@vtj/utils": "~0.11.11"
27
+ "@vtj/core": "~0.11.13",
28
+ "@vtj/renderer": "~0.11.13",
29
+ "@vtj/icons": "~0.11.13",
30
+ "@vtj/uni": "~0.11.13",
31
+ "@vtj/ui": "~0.11.13",
32
+ "@vtj/utils": "~0.11.13"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@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.11.10
5
+ * @version 0.11.12
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.11.10";
8
+ export declare const version = "0.11.12";