camunda-bpmn-js 3.9.0 → 3.10.1
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 +5 -0
- package/dist/base-modeler.development.js +48 -14
- package/dist/base-modeler.production.min.js +3 -3
- package/dist/base-navigated-viewer.development.js +18 -14
- package/dist/base-navigated-viewer.production.min.js +1 -1
- package/dist/base-viewer.development.js +18 -14
- package/dist/base-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-modeler.development.js +414 -517
- package/dist/camunda-cloud-modeler.production.min.js +6 -6
- package/dist/camunda-cloud-navigated-viewer.development.js +18 -14
- package/dist/camunda-cloud-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-viewer.development.js +18 -14
- package/dist/camunda-cloud-viewer.production.min.js +1 -1
- package/dist/camunda-platform-modeler.development.js +92 -21
- package/dist/camunda-platform-modeler.production.min.js +5 -5
- package/dist/camunda-platform-navigated-viewer.development.js +18 -14
- package/dist/camunda-platform-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-platform-viewer.development.js +18 -14
- package/dist/camunda-platform-viewer.production.min.js +1 -1
- package/lib/camunda-cloud/Modeler.js +0 -3
- package/package.json +6 -6
- package/lib/camunda-cloud/features/rules/BpmnRules.d.ts +0 -32
- package/lib/camunda-cloud/features/rules/BpmnRules.js +0 -161
- package/lib/camunda-cloud/features/rules/index.d.ts +0 -6
- package/lib/camunda-cloud/features/rules/index.js +0 -6
|
@@ -1974,7 +1974,7 @@
|
|
|
1974
1974
|
/**
|
|
1975
1975
|
* Get width and height from element or overrides.
|
|
1976
1976
|
*
|
|
1977
|
-
* @param {Dimensions|Rect|
|
|
1977
|
+
* @param {Dimensions|Rect|ShapeLike} bounds
|
|
1978
1978
|
* @param {Object} overrides
|
|
1979
1979
|
*
|
|
1980
1980
|
* @returns {Dimensions}
|
|
@@ -1989,7 +1989,7 @@
|
|
|
1989
1989
|
/**
|
|
1990
1990
|
* Get width from element or overrides.
|
|
1991
1991
|
*
|
|
1992
|
-
* @param {Dimensions|Rect|
|
|
1992
|
+
* @param {Dimensions|Rect|ShapeLike} bounds
|
|
1993
1993
|
* @param {Object} overrides
|
|
1994
1994
|
*
|
|
1995
1995
|
* @returns {number}
|
|
@@ -2001,7 +2001,7 @@
|
|
|
2001
2001
|
/**
|
|
2002
2002
|
* Get height from element or overrides.
|
|
2003
2003
|
*
|
|
2004
|
-
* @param {Dimensions|Rect|
|
|
2004
|
+
* @param {Dimensions|Rect|ShapeLike} bounds
|
|
2005
2005
|
* @param {Object} overrides
|
|
2006
2006
|
*
|
|
2007
2007
|
* @returns {number}
|
|
@@ -7357,15 +7357,20 @@
|
|
|
7357
7357
|
|
|
7358
7358
|
var self = this;
|
|
7359
7359
|
|
|
7360
|
-
|
|
7360
|
+
/**
|
|
7361
|
+
* @param {SVGElement} gfx
|
|
7362
|
+
*
|
|
7363
|
+
* @return {SVGElement} outline
|
|
7364
|
+
*/
|
|
7365
|
+
function createOutline(gfx) {
|
|
7361
7366
|
var outline = create$1('rect');
|
|
7362
7367
|
|
|
7363
7368
|
attr$1(outline, assign$1({
|
|
7364
|
-
x:
|
|
7365
|
-
y:
|
|
7369
|
+
x: 0,
|
|
7370
|
+
y: 0,
|
|
7366
7371
|
rx: 4,
|
|
7367
|
-
width:
|
|
7368
|
-
height:
|
|
7372
|
+
width: 100,
|
|
7373
|
+
height: 100
|
|
7369
7374
|
}, OUTLINE_STYLE));
|
|
7370
7375
|
|
|
7371
7376
|
return outline;
|
|
@@ -7380,12 +7385,11 @@
|
|
|
7380
7385
|
var outline = query('.djs-outline', gfx);
|
|
7381
7386
|
|
|
7382
7387
|
if (!outline) {
|
|
7383
|
-
outline = self.getOutline(element) || createOutline(
|
|
7388
|
+
outline = self.getOutline(element) || createOutline();
|
|
7384
7389
|
append(gfx, outline);
|
|
7385
|
-
|
|
7386
|
-
} else {
|
|
7387
|
-
self.updateShapeOutline(outline, element);
|
|
7388
7390
|
}
|
|
7391
|
+
|
|
7392
|
+
self.updateShapeOutline(outline, element);
|
|
7389
7393
|
});
|
|
7390
7394
|
|
|
7391
7395
|
eventBus.on([ 'connection.added', 'connection.changed' ], function(event) {
|
|
@@ -7395,7 +7399,7 @@
|
|
|
7395
7399
|
var outline = query('.djs-outline', gfx);
|
|
7396
7400
|
|
|
7397
7401
|
if (!outline) {
|
|
7398
|
-
outline = createOutline(
|
|
7402
|
+
outline = createOutline();
|
|
7399
7403
|
append(gfx, outline);
|
|
7400
7404
|
}
|
|
7401
7405
|
|
|
@@ -7439,7 +7443,7 @@
|
|
|
7439
7443
|
*
|
|
7440
7444
|
* @param {SVGElement} outline
|
|
7441
7445
|
* @param {Element} connection
|
|
7442
|
-
|
|
7446
|
+
*/
|
|
7443
7447
|
Outline.prototype.updateConnectionOutline = function(outline, connection) {
|
|
7444
7448
|
var bbox = getBBox(connection);
|
|
7445
7449
|
|