e-virt-table 0.1.24 → 0.1.25
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/README.md +4 -0
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +6 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Editor.js +0 -1
- package/dist/lib/Editor.js.map +1 -1
- package/dist/lib/EventBrowser.d.ts +2 -2
- package/dist/lib/EventBrowser.js +6 -10
- package/dist/lib/EventBrowser.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1492,7 +1492,7 @@ class ri {
|
|
|
1492
1492
|
this.ctx = t, this.init();
|
|
1493
1493
|
}
|
|
1494
1494
|
init() {
|
|
1495
|
-
this.bind(window, "resize", this.handleResize.bind(this)), this.bind(window, "mouseup", this.handleMouseUp.bind(this)), this.bind(window, "mousemove", this.handleMousemove.bind(this)), this.bind(this.ctx.stageElement, "click", this.handleClick.bind(this)), this.bind(window, "keydown", this.handleKeydown.bind(this)), this.bind(this.ctx.stageElement, "wheel", this.handleWheel.bind(this)), this.bind(this.ctx.stageElement, "contextmenu", this.handleContextMenu.bind(this)), this.bind(this.ctx.stageElement, "mousedown", this.handleMouseDown.bind(this)), this.bind(this.ctx.stageElement, "
|
|
1495
|
+
this.bind(window, "resize", this.handleResize.bind(this)), this.bind(window, "mouseup", this.handleMouseUp.bind(this)), this.bind(window, "mousemove", this.handleMousemove.bind(this)), this.bind(this.ctx.stageElement, "click", this.handleClick.bind(this)), this.bind(window, "keydown", this.handleKeydown.bind(this)), this.bind(this.ctx.stageElement, "wheel", this.handleWheel.bind(this)), this.bind(this.ctx.stageElement, "contextmenu", this.handleContextMenu.bind(this)), this.bind(this.ctx.stageElement, "mousedown", this.handleMouseDown.bind(this)), this.bind(this.ctx.stageElement, "dblclick", this.handleDblclick.bind(this)), this.bind(this.ctx.stageElement, "mouseover", this.handleMouseover.bind(this)), this.bind(this.ctx.stageElement, "mouseout", this.handleMouseout.bind(this));
|
|
1496
1496
|
}
|
|
1497
1497
|
destroy() {
|
|
1498
1498
|
this.eventTasks.forEach((t, e) => {
|
|
@@ -1524,11 +1524,11 @@ class ri {
|
|
|
1524
1524
|
handleContextMenu(t) {
|
|
1525
1525
|
this.ctx.emit("contextMenu", t);
|
|
1526
1526
|
}
|
|
1527
|
-
|
|
1528
|
-
this.ctx.isInsideTargetContainer = !0, this.ctx.emit("
|
|
1527
|
+
handleMouseover(t) {
|
|
1528
|
+
this.ctx.isInsideTargetContainer = !0, this.ctx.emit("mouseover", t);
|
|
1529
1529
|
}
|
|
1530
|
-
|
|
1531
|
-
this.ctx.
|
|
1530
|
+
handleMouseout(t) {
|
|
1531
|
+
this.ctx.isInsideTargetContainer = !1, this.ctx.emit("mouseout", t);
|
|
1532
1532
|
}
|
|
1533
1533
|
handleDblclick(t) {
|
|
1534
1534
|
this.ctx.emit("dblclick", t);
|
|
@@ -5287,7 +5287,7 @@ class qi {
|
|
|
5287
5287
|
r && !h && (this.enable = !0, this.ctx.editing = !0, this.cellTarget = r, this.startEditByInput(this.cellTarget), this.ctx.emit("startEdit", this.cellTarget));
|
|
5288
5288
|
}
|
|
5289
5289
|
doneEdit() {
|
|
5290
|
-
this.enable && (this.doneEditByInput(), this.ctx.emit("doneEdit", this.cellTarget), this.enable = !1, this.ctx.
|
|
5290
|
+
this.enable && (this.doneEditByInput(), this.ctx.emit("doneEdit", this.cellTarget), this.enable = !1, this.ctx.editing = !1);
|
|
5291
5291
|
}
|
|
5292
5292
|
destroy() {
|
|
5293
5293
|
var t;
|