bpmn-js 11.4.1 → 11.5.0
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 +13 -5
- 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/RootElementReferenceBehavior.js +11 -3
- package/lib/features/replace-preview/BpmnReplacePreview.js +1 -1
- package/package.json +1 -2
- package/lib/icons/dist/append.svg +0 -1
- package/lib/icons/dist/connect-context-pad.svg +0 -1
- package/lib/icons/dist/connect-palette.svg +0 -1
- package/lib/icons/dist/create.svg +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-modeler v11.
|
|
2
|
+
* bpmn-js - bpmn-modeler v11.5.0
|
|
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: 2023-02-
|
|
11
|
+
* Date: 2023-02-27
|
|
12
12
|
*/
|
|
13
13
|
(function (global, factory) {
|
|
14
14
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -48299,8 +48299,12 @@
|
|
|
48299
48299
|
}
|
|
48300
48300
|
|
|
48301
48301
|
// create shape
|
|
48302
|
-
this.executed(
|
|
48303
|
-
|
|
48302
|
+
this.executed([
|
|
48303
|
+
'shape.create',
|
|
48304
|
+
'element.updateProperties',
|
|
48305
|
+
'element.updateModdleProperties'
|
|
48306
|
+
], function(context) {
|
|
48307
|
+
var shape = context.shape || context.element;
|
|
48304
48308
|
|
|
48305
48309
|
if (!canHaveRootElementReference(shape)) {
|
|
48306
48310
|
return;
|
|
@@ -48320,7 +48324,11 @@
|
|
|
48320
48324
|
}
|
|
48321
48325
|
}, true);
|
|
48322
48326
|
|
|
48323
|
-
this.reverted(
|
|
48327
|
+
this.reverted([
|
|
48328
|
+
'shape.create',
|
|
48329
|
+
'element.updateProperties',
|
|
48330
|
+
'element.updateModdleProperties'
|
|
48331
|
+
], function(context) {
|
|
48324
48332
|
var addedRootElement = context.addedRootElement;
|
|
48325
48333
|
|
|
48326
48334
|
if (!addedRootElement) {
|