@visactor/vtable-calendar 1.17.4-alpha.7 → 1.17.4-alpha.9
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/vtable-calendar.js +13 -15
- package/dist/vtable-calendar.min.js +1 -1
- package/package.json +4 -4
package/dist/vtable-calendar.js
CHANGED
|
@@ -43734,7 +43734,10 @@
|
|
|
43734
43734
|
event: e.nativeEvent
|
|
43735
43735
|
});
|
|
43736
43736
|
});
|
|
43737
|
-
|
|
43737
|
+
eventManager.globalEventListeners.push({
|
|
43738
|
+
name: "pointerup",
|
|
43739
|
+
env: "document",
|
|
43740
|
+
callback: e => {
|
|
43738
43741
|
var _a;
|
|
43739
43742
|
const target = e.target;
|
|
43740
43743
|
if (!table.getElement().contains(target)) {
|
|
@@ -43743,8 +43746,11 @@
|
|
|
43743
43746
|
!1 !== isCompleteEdit && (stateManager.updateInteractionState(InteractionState.default), eventManager.dealTableHover());
|
|
43744
43747
|
});
|
|
43745
43748
|
}
|
|
43746
|
-
}
|
|
43747
|
-
|
|
43749
|
+
}
|
|
43750
|
+
}), eventManager.globalEventListeners.push({
|
|
43751
|
+
name: "pointerdown",
|
|
43752
|
+
env: "document",
|
|
43753
|
+
callback: e => {
|
|
43748
43754
|
var _a;
|
|
43749
43755
|
const target = e.target;
|
|
43750
43756
|
if (!table.getElement().contains(target) && !table.internalProps.menuHandler.containElement(target)) {
|
|
@@ -43757,16 +43763,8 @@
|
|
|
43757
43763
|
}
|
|
43758
43764
|
});
|
|
43759
43765
|
}
|
|
43760
|
-
}
|
|
43761
|
-
|
|
43762
|
-
name: "pointerup",
|
|
43763
|
-
env: "document",
|
|
43764
|
-
callback: globalPointerupCallback
|
|
43765
|
-
}), eventManager.globalEventListeners.push({
|
|
43766
|
-
name: "pointerdown",
|
|
43767
|
-
env: "document",
|
|
43768
|
-
callback: globalPointerdownCallback
|
|
43769
|
-
}), vglobal.addEventListener("pointerup", globalPointerupCallback), vglobal.addEventListener("pointerdown", globalPointerdownCallback), table.scenegraph.tableGroup.addEventListener("pointerdown", e => {
|
|
43766
|
+
}
|
|
43767
|
+
}), table.scenegraph.tableGroup.addEventListener("pointerdown", e => {
|
|
43770
43768
|
var _a, _b, _c, _d, _e;
|
|
43771
43769
|
if (table.hasListeners(TABLE_EVENT_TYPE.MOUSEDOWN_TABLE) && table.fireListeners(TABLE_EVENT_TYPE.MOUSEDOWN_TABLE, {
|
|
43772
43770
|
event: e.nativeEvent
|
|
@@ -45047,7 +45045,7 @@
|
|
|
45047
45045
|
}
|
|
45048
45046
|
release() {
|
|
45049
45047
|
this.gesture.release(), this.globalEventListeners.forEach(item => {
|
|
45050
|
-
"document" === item.env ? document.removeEventListener(item.name, item.callback) : "body" === item.env ? document.body.removeEventListener(item.name, item.callback) : "window" === item.env
|
|
45048
|
+
"document" === item.env ? document.removeEventListener(item.name, item.callback) : "body" === item.env ? document.body.removeEventListener(item.name, item.callback) : "window" === item.env ? window.removeEventListener(item.name, item.callback) : "vglobal" === item.env && vglobal.removeEventListener(item.name, item.callback);
|
|
45051
45049
|
}), this.globalEventListeners = [];
|
|
45052
45050
|
}
|
|
45053
45051
|
enableScroll() {
|
|
@@ -47627,7 +47625,7 @@
|
|
|
47627
47625
|
constructor(container) {
|
|
47628
47626
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
47629
47627
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
47630
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.17.4-alpha.
|
|
47628
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.17.4-alpha.9", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
|
|
47631
47629
|
!1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
|
|
47632
47630
|
const {
|
|
47633
47631
|
frozenColCount = 0,
|