bpmn-js 18.9.0 → 18.9.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/dist/bpmn-modeler.development.js +7 -3
- 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/label-link/LabelLink.js +5 -1
- package/package.json +1 -1
- package/test/util/svgHelpers.js +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-modeler v18.9.
|
|
2
|
+
* bpmn-js - bpmn-modeler v18.9.1
|
|
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-
|
|
11
|
+
* Date: 2025-11-21
|
|
12
12
|
*/
|
|
13
13
|
(function (global, factory) {
|
|
14
14
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -61776,7 +61776,7 @@
|
|
|
61776
61776
|
|
|
61777
61777
|
eventBus.on('shape.changed', function({ element }) {
|
|
61778
61778
|
|
|
61779
|
-
if (!isAny(element, ALLOWED_ELEMENTS)) {
|
|
61779
|
+
if (!isAny(element, ALLOWED_ELEMENTS) || !isElementSelected(element)) {
|
|
61780
61780
|
return;
|
|
61781
61781
|
}
|
|
61782
61782
|
|
|
@@ -61878,6 +61878,10 @@
|
|
|
61878
61878
|
function getElementPath(element) {
|
|
61879
61879
|
return graphicsFactory.getShapePath(element);
|
|
61880
61880
|
}
|
|
61881
|
+
|
|
61882
|
+
function isElementSelected(element) {
|
|
61883
|
+
return selection.get().includes(element);
|
|
61884
|
+
}
|
|
61881
61885
|
}
|
|
61882
61886
|
|
|
61883
61887
|
LabelLink$1.$inject = [
|