bpmn-js 18.3.1 → 18.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 -4
- 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/SubProcessStartEventBehavior.js +1 -0
- package/lib/features/modeling/behavior/index.d.ts +84 -1
- package/lib/features/modeling-feedback/ModelingFeedback.js +7 -2
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-modeler v18.3.
|
|
2
|
+
* bpmn-js - bpmn-modeler v18.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: 2025-
|
|
11
|
+
* Date: 2025-03-17
|
|
12
12
|
*/
|
|
13
13
|
(function (global, factory) {
|
|
14
14
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -40718,6 +40718,7 @@
|
|
|
40718
40718
|
|
|
40719
40719
|
if (
|
|
40720
40720
|
!is$1(newShape, 'bpmn:SubProcess') ||
|
|
40721
|
+
is$1(newShape,'bpmn:AdHocSubProcess') ||
|
|
40721
40722
|
! (is$1(oldShape, 'bpmn:Task') || is$1(oldShape, 'bpmn:CallActivity')) ||
|
|
40722
40723
|
!isExpanded(newShape)
|
|
40723
40724
|
) {
|
|
@@ -61634,6 +61635,7 @@
|
|
|
61634
61635
|
*/
|
|
61635
61636
|
|
|
61636
61637
|
var COLLAB_ERR_MSG = 'flow elements must be children of pools/participants';
|
|
61638
|
+
var DATA_OBJECT_ERR_MSG = 'Data object must be placed within a pool/participant.';
|
|
61637
61639
|
|
|
61638
61640
|
/**
|
|
61639
61641
|
* @param {EventBus} eventBus
|
|
@@ -61659,8 +61661,12 @@
|
|
|
61659
61661
|
shape = context.shape,
|
|
61660
61662
|
target = context.target;
|
|
61661
61663
|
|
|
61662
|
-
if (is$1(target, 'bpmn:Collaboration')
|
|
61663
|
-
|
|
61664
|
+
if (is$1(target, 'bpmn:Collaboration')) {
|
|
61665
|
+
if (is$1(shape, 'bpmn:FlowNode')) {
|
|
61666
|
+
showError(event, translate(COLLAB_ERR_MSG));
|
|
61667
|
+
} else if (is$1(shape, 'bpmn:DataObjectReference')) {
|
|
61668
|
+
showError(event, translate(DATA_OBJECT_ERR_MSG));
|
|
61669
|
+
}
|
|
61664
61670
|
}
|
|
61665
61671
|
});
|
|
61666
61672
|
|