bpmn-js 18.11.0 → 18.12.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 +35 -7
- package/dist/bpmn-modeler.production.min.js +9 -9
- package/dist/bpmn-navigated-viewer.development.js +18 -5
- package/dist/bpmn-navigated-viewer.production.min.js +3 -3
- package/dist/bpmn-viewer.development.js +10 -2
- package/dist/bpmn-viewer.production.min.js +2 -2
- package/lib/features/rules/BpmnRules.js +13 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-modeler v18.
|
|
2
|
+
* bpmn-js - bpmn-modeler v18.12.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: 2026-02-
|
|
11
|
+
* Date: 2026-02-05
|
|
12
12
|
*/
|
|
13
13
|
(function (global, factory) {
|
|
14
14
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -5085,6 +5085,14 @@
|
|
|
5085
5085
|
this._setFocused(false);
|
|
5086
5086
|
});
|
|
5087
5087
|
|
|
5088
|
+
svg.addEventListener('mouseover', () => {
|
|
5089
|
+
this._eventBus.fire('canvas.mouseover');
|
|
5090
|
+
});
|
|
5091
|
+
|
|
5092
|
+
svg.addEventListener('mouseout', () => {
|
|
5093
|
+
this._eventBus.fire('canvas.mouseout');
|
|
5094
|
+
});
|
|
5095
|
+
|
|
5088
5096
|
append(container, svg);
|
|
5089
5097
|
|
|
5090
5098
|
const viewport = this._viewport = createGroup(svg, 'viewport');
|
|
@@ -26249,9 +26257,14 @@
|
|
|
26249
26257
|
|
|
26250
26258
|
var self = this;
|
|
26251
26259
|
|
|
26252
|
-
eventBus.on('canvas.
|
|
26253
|
-
self._init(
|
|
26260
|
+
eventBus.on('canvas.mouseover', function() {
|
|
26261
|
+
self._init(config.enabled !== false);
|
|
26254
26262
|
});
|
|
26263
|
+
|
|
26264
|
+
eventBus.on('canvas.mouseout', function() {
|
|
26265
|
+
self._init(false);
|
|
26266
|
+
});
|
|
26267
|
+
|
|
26255
26268
|
}
|
|
26256
26269
|
|
|
26257
26270
|
ZoomScroll.$inject = [
|
|
@@ -26297,7 +26310,7 @@
|
|
|
26297
26310
|
|
|
26298
26311
|
ZoomScroll.prototype._handleWheel = function handleWheel(event) {
|
|
26299
26312
|
|
|
26300
|
-
if (!this.
|
|
26313
|
+
if (!this._enabled) {
|
|
26301
26314
|
return;
|
|
26302
26315
|
}
|
|
26303
26316
|
|
|
@@ -41740,7 +41753,19 @@
|
|
|
41740
41753
|
|
|
41741
41754
|
var target = context.target,
|
|
41742
41755
|
shapes = context.shapes,
|
|
41743
|
-
position = context.position
|
|
41756
|
+
position = context.position,
|
|
41757
|
+
hints = context.hints;
|
|
41758
|
+
|
|
41759
|
+
// prevent keyboard movement of boundary events without host
|
|
41760
|
+
if (hints?.keyboardMove) {
|
|
41761
|
+
const hasAttachedEventWithoutHost = shapes.some(function(shape) {
|
|
41762
|
+
return isBoundaryEvent(shape) && !shapes.includes(shape.host);
|
|
41763
|
+
});
|
|
41764
|
+
|
|
41765
|
+
if (hasAttachedEventWithoutHost) {
|
|
41766
|
+
return false;
|
|
41767
|
+
}
|
|
41768
|
+
}
|
|
41744
41769
|
|
|
41745
41770
|
return canAttach(shapes, target, null, position) ||
|
|
41746
41771
|
canReplace(shapes, target, position) ||
|
|
@@ -60341,7 +60366,10 @@
|
|
|
60341
60366
|
var delta = DIRECTIONS_DELTA[direction](speed);
|
|
60342
60367
|
|
|
60343
60368
|
var canMove = rules.allowed('elements.move', {
|
|
60344
|
-
shapes: selectedElements
|
|
60369
|
+
shapes: selectedElements,
|
|
60370
|
+
hints: {
|
|
60371
|
+
keyboardMove: true
|
|
60372
|
+
}
|
|
60345
60373
|
});
|
|
60346
60374
|
|
|
60347
60375
|
if (canMove) {
|