@vtj/designer 0.8.62 → 0.8.63
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 +8 -4
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -11,10 +11,10 @@ import As from "mockjs";
|
|
|
11
11
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
|
12
12
|
* @name @vtj/designer
|
|
13
13
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
14
|
-
* @version 0.8.
|
|
14
|
+
* @version 0.8.63
|
|
15
15
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
16
16
|
*/
|
|
17
|
-
const js = "0.8.
|
|
17
|
+
const js = "0.8.63", Ut = {
|
|
18
18
|
width: 390,
|
|
19
19
|
height: 844
|
|
20
20
|
}, qt = {
|
|
@@ -8613,7 +8613,11 @@ class bu {
|
|
|
8613
8613
|
), t.addEventListener(
|
|
8614
8614
|
"scroll",
|
|
8615
8615
|
this.bind(this.onViewChange, "onViewChange")
|
|
8616
|
-
), e.addEventListener("resize", this.bind(this.onViewChange, "onViewChange")), t.addEventListener("mouseleave", this.bind(this.onLeave, "onLeave")), t.addEventListener("dragleave", this.bind(this.onLeave, "onLeave")), t.addEventListener("dragover", this.bind(this.onDragOver, "onDragOver")), t.addEventListener("drop", this.bind(this.onDrop, "onDrop")), t.addEventListener(
|
|
8616
|
+
), e.addEventListener("resize", this.bind(this.onViewChange, "onViewChange")), t.addEventListener("mouseleave", this.bind(this.onLeave, "onLeave")), t.addEventListener("dragleave", this.bind(this.onLeave, "onLeave")), t.addEventListener("dragover", this.bind(this.onDragOver, "onDragOver")), t.addEventListener("drop", this.bind(this.onDrop, "onDrop")), t.addEventListener(
|
|
8617
|
+
"click",
|
|
8618
|
+
this.bind(this.onSelected, "onSelected"),
|
|
8619
|
+
!0
|
|
8620
|
+
), te.on(
|
|
8617
8621
|
wt,
|
|
8618
8622
|
this.bind(this.onActiveChange, "onActiveChange")
|
|
8619
8623
|
), te.on(Je, this.bind(this.onViewChange, "onViewChange"));
|
|
@@ -8699,7 +8703,7 @@ class bu {
|
|
|
8699
8703
|
this.dropping.value = null, t.simulator.refresh(), t.assets.clearCaches();
|
|
8700
8704
|
}
|
|
8701
8705
|
onSelected(e) {
|
|
8702
|
-
this.setHover(null), this.selected.value = this.getHelper(e);
|
|
8706
|
+
e.stopPropagation(), this.setHover(null), this.selected.value = this.getHelper(e);
|
|
8703
8707
|
}
|
|
8704
8708
|
async onDragOver(e) {
|
|
8705
8709
|
const t = this.getHelper(e);
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtj/designer",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.63",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"mockjs": "~1.1.0",
|
|
8
8
|
"monaco-editor": "~0.48.0",
|
|
9
|
-
"@vtj/core": "~0.8.
|
|
10
|
-
"@vtj/renderer": "~0.8.
|
|
11
|
-
"@vtj/icons": "~0.8.
|
|
12
|
-
"@vtj/
|
|
13
|
-
"@vtj/
|
|
9
|
+
"@vtj/core": "~0.8.63",
|
|
10
|
+
"@vtj/renderer": "~0.8.63",
|
|
11
|
+
"@vtj/icons": "~0.8.63",
|
|
12
|
+
"@vtj/ui": "~0.8.63",
|
|
13
|
+
"@vtj/utils": "~0.8.63"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/mockjs": "~1.0.10",
|
|
17
17
|
"vue": "~3.4.15",
|
|
18
18
|
"vue-router": "~4.4.0",
|
|
19
|
-
"@vtj/cli": "~0.8.
|
|
19
|
+
"@vtj/cli": "~0.8.16"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
22
22
|
"dist",
|