bpmn-js 14.1.2 → 14.2.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/diagram-js.css +27 -4
- package/dist/bpmn-modeler.development.js +69 -37
- package/dist/bpmn-modeler.production.min.js +5 -5
- package/dist/bpmn-navigated-viewer.development.js +10 -13
- package/dist/bpmn-navigated-viewer.production.min.js +2 -2
- package/dist/bpmn-viewer.development.js +10 -13
- package/dist/bpmn-viewer.production.min.js +2 -2
- package/package.json +7 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-navigated-viewer v14.
|
|
2
|
+
* bpmn-js - bpmn-navigated-viewer v14.2.0
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2014-present, camunda Services GmbH
|
|
5
5
|
*
|
|
@@ -2587,9 +2587,8 @@
|
|
|
2587
2587
|
transform$1(gfx, rotate);
|
|
2588
2588
|
}
|
|
2589
2589
|
|
|
2590
|
-
function createCommonjsModule(fn) {
|
|
2591
|
-
|
|
2592
|
-
return fn(module, module.exports), module.exports;
|
|
2590
|
+
function createCommonjsModule(fn, module) {
|
|
2591
|
+
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
2593
2592
|
}
|
|
2594
2593
|
|
|
2595
2594
|
var hat_1 = createCommonjsModule(function (module) {
|
|
@@ -2657,16 +2656,12 @@
|
|
|
2657
2656
|
};
|
|
2658
2657
|
});
|
|
2659
2658
|
|
|
2660
|
-
/**
|
|
2661
|
-
* @typedef { [ number, number ] | [ number, number, number ] } Seed
|
|
2662
|
-
*/
|
|
2663
|
-
|
|
2664
2659
|
/**
|
|
2665
2660
|
* Create a new id generator / cache instance.
|
|
2666
2661
|
*
|
|
2667
2662
|
* You may optionally provide a seed that is used internally.
|
|
2668
2663
|
*
|
|
2669
|
-
* @param {Seed}
|
|
2664
|
+
* @param {Seed} seed
|
|
2670
2665
|
*/
|
|
2671
2666
|
function Ids(seed) {
|
|
2672
2667
|
if (!(this instanceof Ids)) {
|
|
@@ -13393,13 +13388,14 @@
|
|
|
13393
13388
|
*
|
|
13394
13389
|
* @param {SVGElement} visual The graphical element.
|
|
13395
13390
|
* @param {ShapeLike} element The shape.
|
|
13391
|
+
* @param {Object} attrs Optional attributes.
|
|
13396
13392
|
*
|
|
13397
13393
|
* @return {SVGElement}
|
|
13398
13394
|
*/
|
|
13399
|
-
GraphicsFactory.prototype.drawShape = function(visual, element) {
|
|
13395
|
+
GraphicsFactory.prototype.drawShape = function(visual, element, attrs = {}) {
|
|
13400
13396
|
var eventBus = this._eventBus;
|
|
13401
13397
|
|
|
13402
|
-
return eventBus.fire('render.shape', { gfx: visual, element
|
|
13398
|
+
return eventBus.fire('render.shape', { gfx: visual, element, attrs });
|
|
13403
13399
|
};
|
|
13404
13400
|
|
|
13405
13401
|
/**
|
|
@@ -13420,13 +13416,14 @@
|
|
|
13420
13416
|
*
|
|
13421
13417
|
* @param {SVGElement} visual The graphical element.
|
|
13422
13418
|
* @param {ConnectionLike} element The connection.
|
|
13419
|
+
* @param {Object} attrs Optional attributes.
|
|
13423
13420
|
*
|
|
13424
13421
|
* @return {SVGElement}
|
|
13425
13422
|
*/
|
|
13426
|
-
GraphicsFactory.prototype.drawConnection = function(visual, element) {
|
|
13423
|
+
GraphicsFactory.prototype.drawConnection = function(visual, element, attrs = {}) {
|
|
13427
13424
|
var eventBus = this._eventBus;
|
|
13428
13425
|
|
|
13429
|
-
return eventBus.fire('render.connection', { gfx: visual, element
|
|
13426
|
+
return eventBus.fire('render.connection', { gfx: visual, element, attrs });
|
|
13430
13427
|
};
|
|
13431
13428
|
|
|
13432
13429
|
/**
|