bpmn-js 16.3.1 → 16.3.2
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/bpmn-modeler.development.js +10 -8
- package/dist/bpmn-modeler.production.min.js +2 -2
- package/dist/bpmn-navigated-viewer.development.js +2 -2
- package/dist/bpmn-navigated-viewer.production.min.js +1 -1
- package/dist/bpmn-viewer.development.js +2 -2
- package/dist/bpmn-viewer.production.min.js +1 -1
- package/lib/features/modeling/behavior/CompensateBoundaryEventBehavior.js +8 -6
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-modeler v16.3.
|
|
2
|
+
* bpmn-js - bpmn-modeler v16.3.2
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2014-present, camunda Services GmbH
|
|
5
5
|
*
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* Source Code: https://github.com/bpmn-io/bpmn-js
|
|
10
10
|
*
|
|
11
|
-
* Date: 2024-01-
|
|
11
|
+
* Date: 2024-01-09
|
|
12
12
|
*/
|
|
13
13
|
(function (global, factory) {
|
|
14
14
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -37401,13 +37401,15 @@
|
|
|
37401
37401
|
* and remove the potential candidates for connection replacement to have a single compensation activity.
|
|
37402
37402
|
*/
|
|
37403
37403
|
function handleReplacement(context) {
|
|
37404
|
-
const {
|
|
37405
|
-
|
|
37404
|
+
const {
|
|
37405
|
+
newData,
|
|
37406
|
+
oldShape
|
|
37407
|
+
} = context;
|
|
37406
37408
|
|
|
37407
37409
|
// from compensate boundary event
|
|
37408
37410
|
if (isCompensationBoundaryEvent(context.oldShape) &&
|
|
37409
|
-
|
|
37410
|
-
|
|
37411
|
+
newData.eventDefinitionType !== 'bpmn:CompensateEventDefinition' ||
|
|
37412
|
+
newData.type !== 'bpmn:BoundaryEvent'
|
|
37411
37413
|
) {
|
|
37412
37414
|
const targetConnection = oldShape.outgoing.find(
|
|
37413
37415
|
({ target }) => isForCompensation$1(target)
|
|
@@ -37421,8 +37423,8 @@
|
|
|
37421
37423
|
// to compensate boundary event
|
|
37422
37424
|
else if (
|
|
37423
37425
|
!isCompensationBoundaryEvent(context.oldShape) &&
|
|
37424
|
-
|
|
37425
|
-
|
|
37426
|
+
newData.eventDefinitionType === 'bpmn:CompensateEventDefinition' &&
|
|
37427
|
+
newData.type === 'bpmn:BoundaryEvent'
|
|
37426
37428
|
) {
|
|
37427
37429
|
const targetConnection = oldShape.outgoing.find(
|
|
37428
37430
|
({ target }) => isForCompensationAllowed(target)
|