@visactor/vtable-plugins 1.18.5 → 1.18.6

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.
@@ -15058,6 +15058,18 @@
15058
15058
  const changeEvent = new CustomEvent(eventName, details);
15059
15059
  changeEvent.manager = null === (_a = this.stage) || void 0 === _a ? void 0 : _a.eventSystem.manager, this.dispatchEvent(changeEvent);
15060
15060
  }
15061
+ eventPosToStagePos(e) {
15062
+ var _a, _b;
15063
+ const result = {
15064
+ x: 0,
15065
+ y: 0
15066
+ },
15067
+ stagePoints = null !== (_b = null === (_a = this.stage) || void 0 === _a ? void 0 : _a.eventPointTransform(e)) && void 0 !== _b ? _b : {
15068
+ x: 0,
15069
+ y: 0
15070
+ };
15071
+ return this.globalTransMatrix.transformPoint(stagePoints, result), result;
15072
+ }
15061
15073
  }
15062
15074
 
15063
15075
  const MathPickerContribution = Symbol.for("MathPickerContribution");