camunda-bpmn-js 3.4.0 → 3.6.0
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/assets/properties-panel.css +6 -1
- package/dist/base-modeler.development.js +3218 -3400
- package/dist/base-modeler.production.min.js +33 -33
- package/dist/base-navigated-viewer.development.js +7 -5
- package/dist/base-navigated-viewer.production.min.js +1 -1
- package/dist/base-viewer.development.js +6 -4
- package/dist/base-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-modeler.development.js +4494 -4162
- package/dist/camunda-cloud-modeler.production.min.js +35 -35
- package/dist/camunda-cloud-navigated-viewer.development.js +7 -5
- package/dist/camunda-cloud-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-viewer.development.js +6 -4
- package/dist/camunda-cloud-viewer.production.min.js +1 -1
- package/dist/camunda-platform-modeler.development.js +3251 -3429
- package/dist/camunda-platform-modeler.production.min.js +34 -34
- package/dist/camunda-platform-navigated-viewer.development.js +7 -5
- package/dist/camunda-platform-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-platform-viewer.development.js +6 -4
- package/dist/camunda-platform-viewer.production.min.js +1 -1
- package/package.json +5 -5
|
@@ -13388,13 +13388,14 @@
|
|
|
13388
13388
|
*
|
|
13389
13389
|
* @param {SVGElement} visual The graphical element.
|
|
13390
13390
|
* @param {ShapeLike} element The shape.
|
|
13391
|
+
* @param {Object} attrs Optional attributes.
|
|
13391
13392
|
*
|
|
13392
13393
|
* @return {SVGElement}
|
|
13393
13394
|
*/
|
|
13394
|
-
GraphicsFactory.prototype.drawShape = function(visual, element) {
|
|
13395
|
+
GraphicsFactory.prototype.drawShape = function(visual, element, attrs = {}) {
|
|
13395
13396
|
var eventBus = this._eventBus;
|
|
13396
13397
|
|
|
13397
|
-
return eventBus.fire('render.shape', { gfx: visual, element
|
|
13398
|
+
return eventBus.fire('render.shape', { gfx: visual, element, attrs });
|
|
13398
13399
|
};
|
|
13399
13400
|
|
|
13400
13401
|
/**
|
|
@@ -13415,13 +13416,14 @@
|
|
|
13415
13416
|
*
|
|
13416
13417
|
* @param {SVGElement} visual The graphical element.
|
|
13417
13418
|
* @param {ConnectionLike} element The connection.
|
|
13419
|
+
* @param {Object} attrs Optional attributes.
|
|
13418
13420
|
*
|
|
13419
13421
|
* @return {SVGElement}
|
|
13420
13422
|
*/
|
|
13421
|
-
GraphicsFactory.prototype.drawConnection = function(visual, element) {
|
|
13423
|
+
GraphicsFactory.prototype.drawConnection = function(visual, element, attrs = {}) {
|
|
13422
13424
|
var eventBus = this._eventBus;
|
|
13423
13425
|
|
|
13424
|
-
return eventBus.fire('render.connection', { gfx: visual, element
|
|
13426
|
+
return eventBus.fire('render.connection', { gfx: visual, element, attrs });
|
|
13425
13427
|
};
|
|
13426
13428
|
|
|
13427
13429
|
/**
|
|
@@ -23770,7 +23772,7 @@
|
|
|
23770
23772
|
// pinch to zoom is mapped to wheel + ctrlKey = true
|
|
23771
23773
|
// in modern browsers (!)
|
|
23772
23774
|
|
|
23773
|
-
var isZoom = event.ctrlKey;
|
|
23775
|
+
var isZoom = event.ctrlKey || (isMac() && event.metaKey);
|
|
23774
23776
|
|
|
23775
23777
|
var isHorizontalScroll = event.shiftKey;
|
|
23776
23778
|
|