camunda-bpmn-js 5.6.1 → 5.6.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/base-modeler.development.js +8 -2
- package/dist/base-modeler.production.min.js +1 -1
- package/dist/camunda-cloud-modeler.development.js +8 -2
- package/dist/camunda-cloud-modeler.production.min.js +1 -1
- package/dist/camunda-platform-modeler.development.js +8 -2
- package/dist/camunda-platform-modeler.production.min.js +1 -1
- package/package.json +3 -3
|
@@ -40735,6 +40735,7 @@
|
|
|
40735
40735
|
|
|
40736
40736
|
if (
|
|
40737
40737
|
!is$1(newShape, 'bpmn:SubProcess') ||
|
|
40738
|
+
is$1(newShape,'bpmn:AdHocSubProcess') ||
|
|
40738
40739
|
! (is$1(oldShape, 'bpmn:Task') || is$1(oldShape, 'bpmn:CallActivity')) ||
|
|
40739
40740
|
!isExpanded(newShape)
|
|
40740
40741
|
) {
|
|
@@ -61651,6 +61652,7 @@
|
|
|
61651
61652
|
*/
|
|
61652
61653
|
|
|
61653
61654
|
var COLLAB_ERR_MSG = 'flow elements must be children of pools/participants';
|
|
61655
|
+
var DATA_OBJECT_ERR_MSG = 'Data object must be placed within a pool/participant.';
|
|
61654
61656
|
|
|
61655
61657
|
/**
|
|
61656
61658
|
* @param {EventBus} eventBus
|
|
@@ -61676,8 +61678,12 @@
|
|
|
61676
61678
|
shape = context.shape,
|
|
61677
61679
|
target = context.target;
|
|
61678
61680
|
|
|
61679
|
-
if (is$1(target, 'bpmn:Collaboration')
|
|
61680
|
-
|
|
61681
|
+
if (is$1(target, 'bpmn:Collaboration')) {
|
|
61682
|
+
if (is$1(shape, 'bpmn:FlowNode')) {
|
|
61683
|
+
showError(event, translate(COLLAB_ERR_MSG));
|
|
61684
|
+
} else if (is$1(shape, 'bpmn:DataObjectReference')) {
|
|
61685
|
+
showError(event, translate(DATA_OBJECT_ERR_MSG));
|
|
61686
|
+
}
|
|
61681
61687
|
}
|
|
61682
61688
|
});
|
|
61683
61689
|
|