@vtj/designer 0.9.13 → 0.9.14

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 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.13
18
+ * @version 0.9.14
19
19
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
20
20
  */
21
- const no = "0.9.13", cn = {
21
+ const no = "0.9.14", 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();
@@ -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 === "Object" && (Array.isArray(i) ? e = "Array" : nt(i) ? e = "Object" : ba(i) && (e = "Function"));
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.13",
4
+ "version": "0.9.14",
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/icons": "~0.9.13",
11
- "@vtj/renderer": "~0.9.13",
12
- "@vtj/ui": "~0.9.13",
13
- "@vtj/core": "~0.9.13",
14
- "@vtj/utils": "~0.9.13"
10
+ "@vtj/core": "~0.9.14",
11
+ "@vtj/renderer": "~0.9.14",
12
+ "@vtj/icons": "~0.9.14",
13
+ "@vtj/utils": "~0.9.14",
14
+ "@vtj/ui": "~0.9.14"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@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.12
5
+ * @version 0.9.13
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.9.12";
8
+ export declare const version = "0.9.13";