@inweb/viewer-visualize 25.3.20 → 25.3.21

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.
@@ -365,7 +365,9 @@
365
365
  }
366
366
  }
367
367
 
368
- const CANVAS_EVENTS = [ "click", "dblclick", "mousedown", "mousemove", "mouseup", "mouseleave", "pointerdown", "pointermove", "pointerup", "pointerleave", "pointercancel", "wheel", "touchstart", "touchmove", "touchend", "touchcancel" ];
368
+ const CanvasEvents = [ "click", "contextmenu", "dblclick", "mousedown", "mouseleave", "mousemove", "mouseup", "pointercancel", "pointerdown", "pointerleave", "pointermove", "pointerup", "touchcancel", "touchend", "touchmove", "touchstart", "wheel" ];
369
+
370
+ const CANVAS_EVENTS = CanvasEvents;
369
371
 
370
372
  ///////////////////////////////////////////////////////////////////////////////
371
373
  const composeMatrixFromTransform = (translate, rotate, scale, modelCenter, matrix) => {
@@ -16426,7 +16428,7 @@
16426
16428
  markupDraggers === null || markupDraggers === void 0 ? void 0 : markupDraggers.forEach((value, key) => {
16427
16429
  this.registerDragger(key, value);
16428
16430
  });
16429
- this.canvasEvents = CANVAS_EVENTS;
16431
+ this.canvasEvents = CANVAS_EVENTS.slice();
16430
16432
  this.canvaseventlistener = (event) => this.emit(event);
16431
16433
  this._enableAutoUpdate = (_b = params.enableAutoUpdate) !== null && _b !== void 0 ? _b : true;
16432
16434
  this._isNeedRender = false;
@@ -17295,6 +17297,7 @@
17295
17297
  }
17296
17298
 
17297
17299
  exports.CANVAS_EVENTS = CANVAS_EVENTS;
17300
+ exports.CanvasEvents = CanvasEvents;
17298
17301
  exports.OdBaseDragger = OdBaseDragger;
17299
17302
  exports.Options = Options;
17300
17303
  exports.Viewer = Viewer;