@vtj/designer 0.8.62 → 0.8.64

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
@@ -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.62
14
+ * @version 0.8.64
15
15
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
16
16
  */
17
- const js = "0.8.62", Ut = {
17
+ const js = "0.8.64", 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("click", this.bind(this.onSelected, "onSelected")), te.on(
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.62",
4
+ "version": "0.8.64",
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.62",
10
- "@vtj/renderer": "~0.8.62",
11
- "@vtj/icons": "~0.8.62",
12
- "@vtj/utils": "~0.8.62",
13
- "@vtj/ui": "~0.8.62"
9
+ "@vtj/icons": "~0.8.64",
10
+ "@vtj/core": "~0.8.64",
11
+ "@vtj/ui": "~0.8.64",
12
+ "@vtj/utils": "~0.8.64",
13
+ "@vtj/renderer": "~0.8.64"
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.15"
19
+ "@vtj/cli": "~0.8.16"
20
20
  },
21
21
  "files": [
22
22
  "dist",
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/designer
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.8.62
5
+ * @version 0.8.63
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.8.62";
8
+ export declare const version = "0.8.63";