@vtj/designer 0.11.8 → 0.11.9
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 +14 -5
- package/package.json +7 -7
- package/types/version.d.ts +2 -2
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.
|
19
|
+
* @version 0.11.9
|
20
20
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
21
21
|
*/
|
22
|
-
const pt = "0.11.
|
22
|
+
const pt = "0.11.9", wo = {
|
23
23
|
width: 390,
|
24
24
|
height: 844
|
25
25
|
}, ko = {
|
@@ -11264,7 +11264,12 @@ class rd {
|
|
11264
11264
|
constructor(t, e, l) {
|
11265
11265
|
F(this, "api");
|
11266
11266
|
if (this.remote = t, this.access = e, this.service = l, this.api = this.remote + To, this.online(), window.addEventListener("error", (a) => {
|
11267
|
-
|
11267
|
+
const o = a.error || a;
|
11268
|
+
this.error(o, {
|
11269
|
+
type: "window.error",
|
11270
|
+
event: o,
|
11271
|
+
eventString: o.toString()
|
11272
|
+
});
|
11268
11273
|
}), this.service) {
|
11269
11274
|
const a = this.service.req;
|
11270
11275
|
a && a.useResponse(
|
@@ -11281,7 +11286,11 @@ class rd {
|
|
11281
11286
|
return o;
|
11282
11287
|
},
|
11283
11288
|
(o) => {
|
11284
|
-
this.error(o
|
11289
|
+
this.error(o, {
|
11290
|
+
type: "request.error",
|
11291
|
+
event: o,
|
11292
|
+
eventString: o.toString()
|
11293
|
+
});
|
11285
11294
|
}
|
11286
11295
|
);
|
11287
11296
|
}
|
@@ -11329,7 +11338,7 @@ class rd {
|
|
11329
11338
|
const { message: l, stack: a, msg: o } = t || {};
|
11330
11339
|
this.send({
|
11331
11340
|
type: "error",
|
11332
|
-
message: l || o || JSON.stringify(t)
|
11341
|
+
message: l || o || (t ? JSON.stringify(t) : "unknown error"),
|
11333
11342
|
stack: a,
|
11334
11343
|
source: e ? JSON.stringify(e) : void 0
|
11335
11344
|
});
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vtj/designer",
|
3
3
|
"private": false,
|
4
|
-
"version": "0.11.
|
4
|
+
"version": "0.11.9",
|
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/
|
28
|
-
"@vtj/
|
29
|
-
"@vtj/renderer": "~0.11.
|
30
|
-
"@vtj/
|
31
|
-
"@vtj/
|
32
|
-
"@vtj/
|
27
|
+
"@vtj/core": "~0.11.9",
|
28
|
+
"@vtj/icons": "~0.11.9",
|
29
|
+
"@vtj/renderer": "~0.11.9",
|
30
|
+
"@vtj/ui": "~0.11.9",
|
31
|
+
"@vtj/uni": "~0.11.9",
|
32
|
+
"@vtj/utils": "~0.11.9"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
35
|
"@types/mockjs": "~1.0.10",
|
package/types/version.d.ts
CHANGED
@@ -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.
|
5
|
+
* @version 0.11.8
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
7
7
|
*/
|
8
|
-
export declare const version = "0.11.
|
8
|
+
export declare const version = "0.11.8";
|