@vtj/designer 0.9.13 → 0.9.15
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 +5 -5
- package/package.json +6 -6
- package/types/version.d.ts +2 -2
package/dist/index.mjs
CHANGED
@@ -15,10 +15,10 @@ import to from "mockjs";
|
|
15
15
|
* Copyright (c) 2025, VTJ.PRO All rights reserved.
|
16
16
|
* @name @vtj/designer
|
17
17
|
* @author CHC chenhuachun1549@dingtalk.com
|
18
|
-
* @version 0.9.
|
18
|
+
* @version 0.9.15
|
19
19
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
20
20
|
*/
|
21
|
-
const no = "0.9.
|
21
|
+
const no = "0.9.15", cn = {
|
22
22
|
width: 390,
|
23
23
|
height: 844
|
24
24
|
}, dn = {
|
@@ -9698,7 +9698,7 @@ class pc {
|
|
9698
9698
|
Kt(l, e), e.component && (l.component = e.component);
|
9699
9699
|
}
|
9700
9700
|
getByType(t) {
|
9701
|
-
return Object.values(this.setters).filter((l) => l.type === t).map((l) => l.name);
|
9701
|
+
return Object.values(this.setters).filter((l) => l.type.toLowerCase() === t.toLowerCase()).map((l) => l.name);
|
9702
9702
|
}
|
9703
9703
|
}
|
9704
9704
|
const Ye = new pc();
|
@@ -10034,7 +10034,7 @@ class gc {
|
|
10034
10034
|
const o = t[a];
|
10035
10035
|
(o ? zn(o) : []).forEach((r) => {
|
10036
10036
|
const u = r?.$el || r;
|
10037
|
-
if (u) {
|
10037
|
+
if (u && u.getBoundingClientRect) {
|
10038
10038
|
const f = u.getBoundingClientRect();
|
10039
10039
|
e.push(f);
|
10040
10040
|
}
|
@@ -10869,7 +10869,7 @@ const $e = P({
|
|
10869
10869
|
defaultSetter() {
|
10870
10870
|
const { value: i, computedSetters: t } = this;
|
10871
10871
|
let e = typeof i;
|
10872
|
-
e === "
|
10872
|
+
e === "object" && (Array.isArray(i) ? e = "array" : nt(i) ? e = "object" : ba(i) && (e = "function"));
|
10873
10873
|
const l = Ye.getByType(e) || [];
|
10874
10874
|
return l.length ? (t.find((a) => l.includes(a.name)) || t[0])?.name : t[0]?.name;
|
10875
10875
|
}
|
package/package.json
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vtj/designer",
|
3
3
|
"private": false,
|
4
|
-
"version": "0.9.
|
4
|
+
"version": "0.9.15",
|
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/
|
11
|
-
"@vtj/
|
12
|
-
"@vtj/
|
13
|
-
"@vtj/
|
14
|
-
"@vtj/
|
10
|
+
"@vtj/core": "~0.9.15",
|
11
|
+
"@vtj/icons": "~0.9.15",
|
12
|
+
"@vtj/renderer": "~0.9.15",
|
13
|
+
"@vtj/utils": "~0.9.15",
|
14
|
+
"@vtj/ui": "~0.9.15"
|
15
15
|
},
|
16
16
|
"devDependencies": {
|
17
17
|
"@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.9.
|
5
|
+
* @version 0.9.14
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
7
7
|
*/
|
8
|
-
export declare const version = "0.9.
|
8
|
+
export declare const version = "0.9.14";
|