bpmn-js 9.3.1 → 9.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/CHANGELOG.md +797 -0
- package/dist/bpmn-modeler.development.js +16 -9
- package/dist/bpmn-modeler.production.min.js +3 -3
- package/dist/bpmn-navigated-viewer.development.js +9 -6
- package/dist/bpmn-navigated-viewer.production.min.js +2 -2
- package/dist/bpmn-viewer.development.js +9 -6
- package/dist/bpmn-viewer.production.min.js +2 -2
- package/lib/features/modeling/behavior/ReplaceElementBehaviour.js +8 -4
- package/package.json +2 -2
- package/test/helper/index.js +25 -0
- package/lib/features/distribute-elements/dist/distribute-horizontally-tool.svg +0 -1
- package/lib/features/distribute-elements/dist/distribute-vertically-tool.svg +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-modeler v9.3.
|
|
2
|
+
* bpmn-js - bpmn-modeler v9.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: 2022-
|
|
11
|
+
* Date: 2022-08-04
|
|
12
12
|
*/
|
|
13
13
|
(function (global, factory) {
|
|
14
14
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -19354,11 +19354,14 @@
|
|
|
19354
19354
|
helperSvg = create$1('svg');
|
|
19355
19355
|
|
|
19356
19356
|
attr(helperSvg, {
|
|
19357
|
-
id: 'helper-svg'
|
|
19358
|
-
|
|
19359
|
-
|
|
19357
|
+
id: 'helper-svg'
|
|
19358
|
+
});
|
|
19359
|
+
|
|
19360
|
+
assign$1(helperSvg, {
|
|
19360
19361
|
visibility: 'hidden',
|
|
19361
|
-
position: 'fixed'
|
|
19362
|
+
position: 'fixed',
|
|
19363
|
+
width: 0,
|
|
19364
|
+
height: 0
|
|
19362
19365
|
});
|
|
19363
19366
|
|
|
19364
19367
|
document.body.appendChild(helperSvg);
|
|
@@ -45423,10 +45426,14 @@
|
|
|
45423
45426
|
target = context.parent,
|
|
45424
45427
|
elements = context.elements;
|
|
45425
45428
|
|
|
45426
|
-
var
|
|
45429
|
+
var elementReplacements = reduce(elements, function(replacements, element) {
|
|
45430
|
+
var canReplace = bpmnRules.canReplace([ element ], element.host || element.parent || target);
|
|
45427
45431
|
|
|
45428
|
-
|
|
45429
|
-
|
|
45432
|
+
return canReplace ? replacements.concat(canReplace.replacements) : replacements;
|
|
45433
|
+
}, []);
|
|
45434
|
+
|
|
45435
|
+
if (elementReplacements.length) {
|
|
45436
|
+
this.replaceElements(elements, elementReplacements);
|
|
45430
45437
|
}
|
|
45431
45438
|
}, this);
|
|
45432
45439
|
|