bpmn-js 11.4.0 → 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 +17 -9
- package/dist/bpmn-modeler.production.min.js +3 -3
- package/dist/bpmn-navigated-viewer.development.js +6 -6
- package/dist/bpmn-navigated-viewer.production.min.js +2 -2
- 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 +2 -3
- package/lib/features/align-elements/dist/align-bottom-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-horizontal-center-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-left-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-right-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-top-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-vertical-center-tool.svg +0 -1
- package/lib/features/palette/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() :
|
|
@@ -23526,10 +23526,10 @@
|
|
|
23526
23526
|
// default moddle extensions the viewer is composed of
|
|
23527
23527
|
Viewer.prototype._moddleExtensions = {};
|
|
23528
23528
|
|
|
23529
|
-
var KEYS_COPY = [ 'c', 'C'
|
|
23530
|
-
var KEYS_PASTE = [ 'v', 'V'
|
|
23531
|
-
var KEYS_REDO = [ 'y', 'Y'
|
|
23532
|
-
var KEYS_UNDO = [ 'z', 'Z'
|
|
23529
|
+
var KEYS_COPY = [ 'c', 'C' ];
|
|
23530
|
+
var KEYS_PASTE = [ 'v', 'V' ];
|
|
23531
|
+
var KEYS_REDO = [ 'y', 'Y' ];
|
|
23532
|
+
var KEYS_UNDO = [ 'z', 'Z' ];
|
|
23533
23533
|
|
|
23534
23534
|
/**
|
|
23535
23535
|
* Returns true if event was triggered with any modifier
|
|
@@ -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) {
|