camunda-bpmn-js 0.16.0 → 0.16.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/CHANGELOG.md +8 -0
- package/dist/base-modeler.development.js +7 -3
- package/dist/base-modeler.production.min.js +1 -1
- package/dist/camunda-cloud-modeler.development.js +7 -3
- package/dist/camunda-cloud-modeler.production.min.js +1 -1
- package/dist/camunda-platform-modeler.development.js +7 -3
- package/dist/camunda-platform-modeler.production.min.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,14 @@ All notable changes to [camunda-bpmn-js](https://github.com/camunda/camunda-bpmn
|
|
|
6
6
|
|
|
7
7
|
___Note:__ Yet to be released changes appear here._
|
|
8
8
|
|
|
9
|
+
## 0.16.1
|
|
10
|
+
|
|
11
|
+
* `DEPS`: update to `bpmn-js@9.3.2`
|
|
12
|
+
|
|
13
|
+
### Key changes in Modeling
|
|
14
|
+
|
|
15
|
+
* `FIX`: check for replacement using actual target ([#1699](https://github.com/bpmn-io/bpmn-js/pull/1699))
|
|
16
|
+
|
|
9
17
|
## 0.16.0
|
|
10
18
|
|
|
11
19
|
* `DEPS`: update to `bpmn-js-properties-panel@1.4.0`
|
|
@@ -45534,10 +45534,14 @@
|
|
|
45534
45534
|
target = context.parent,
|
|
45535
45535
|
elements = context.elements;
|
|
45536
45536
|
|
|
45537
|
-
var
|
|
45537
|
+
var elementReplacements = reduce(elements, function(replacements, element) {
|
|
45538
|
+
var canReplace = bpmnRules.canReplace([ element ], element.host || element.parent || target);
|
|
45538
45539
|
|
|
45539
|
-
|
|
45540
|
-
|
|
45540
|
+
return canReplace ? replacements.concat(canReplace.replacements) : replacements;
|
|
45541
|
+
}, []);
|
|
45542
|
+
|
|
45543
|
+
if (elementReplacements.length) {
|
|
45544
|
+
this.replaceElements(elements, elementReplacements);
|
|
45541
45545
|
}
|
|
45542
45546
|
}, this);
|
|
45543
45547
|
|