bpmn-js 18.11.0 → 18.12.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 +49 -14
- package/dist/bpmn-modeler.production.min.js +4 -4
- 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/replace/ReplaceOptions.js +14 -7
- 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.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: 2026-
|
|
11
|
+
* Date: 2026-03-02
|
|
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);
|
|
26262
|
+
});
|
|
26263
|
+
|
|
26264
|
+
eventBus.on('canvas.mouseout', function() {
|
|
26265
|
+
self._init(false);
|
|
26254
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) ||
|
|
@@ -56658,7 +56683,8 @@
|
|
|
56658
56683
|
className: 'bpmn-icon-start-event-message',
|
|
56659
56684
|
target: {
|
|
56660
56685
|
type: 'bpmn:StartEvent',
|
|
56661
|
-
eventDefinitionType: 'bpmn:MessageEventDefinition'
|
|
56686
|
+
eventDefinitionType: 'bpmn:MessageEventDefinition',
|
|
56687
|
+
isInterrupting: true
|
|
56662
56688
|
}
|
|
56663
56689
|
},
|
|
56664
56690
|
{
|
|
@@ -56696,7 +56722,8 @@
|
|
|
56696
56722
|
className: 'bpmn-icon-start-event-timer',
|
|
56697
56723
|
target: {
|
|
56698
56724
|
type: 'bpmn:StartEvent',
|
|
56699
|
-
eventDefinitionType: 'bpmn:TimerEventDefinition'
|
|
56725
|
+
eventDefinitionType: 'bpmn:TimerEventDefinition',
|
|
56726
|
+
isInterrupting: true
|
|
56700
56727
|
}
|
|
56701
56728
|
},
|
|
56702
56729
|
{
|
|
@@ -56716,7 +56743,8 @@
|
|
|
56716
56743
|
className: 'bpmn-icon-start-event-condition',
|
|
56717
56744
|
target: {
|
|
56718
56745
|
type: 'bpmn:StartEvent',
|
|
56719
|
-
eventDefinitionType: 'bpmn:ConditionalEventDefinition'
|
|
56746
|
+
eventDefinitionType: 'bpmn:ConditionalEventDefinition',
|
|
56747
|
+
isInterrupting: true
|
|
56720
56748
|
}
|
|
56721
56749
|
},
|
|
56722
56750
|
{
|
|
@@ -56736,7 +56764,8 @@
|
|
|
56736
56764
|
className: 'bpmn-icon-start-event-signal',
|
|
56737
56765
|
target: {
|
|
56738
56766
|
type: 'bpmn:StartEvent',
|
|
56739
|
-
eventDefinitionType: 'bpmn:SignalEventDefinition'
|
|
56767
|
+
eventDefinitionType: 'bpmn:SignalEventDefinition',
|
|
56768
|
+
isInterrupting: true
|
|
56740
56769
|
}
|
|
56741
56770
|
},
|
|
56742
56771
|
{
|
|
@@ -56774,7 +56803,8 @@
|
|
|
56774
56803
|
className: 'bpmn-icon-start-event-error',
|
|
56775
56804
|
target: {
|
|
56776
56805
|
type: 'bpmn:StartEvent',
|
|
56777
|
-
eventDefinitionType: 'bpmn:ErrorEventDefinition'
|
|
56806
|
+
eventDefinitionType: 'bpmn:ErrorEventDefinition',
|
|
56807
|
+
isInterrupting: true
|
|
56778
56808
|
}
|
|
56779
56809
|
},
|
|
56780
56810
|
{
|
|
@@ -56794,7 +56824,8 @@
|
|
|
56794
56824
|
className: 'bpmn-icon-start-event-escalation',
|
|
56795
56825
|
target: {
|
|
56796
56826
|
type: 'bpmn:StartEvent',
|
|
56797
|
-
eventDefinitionType: 'bpmn:EscalationEventDefinition'
|
|
56827
|
+
eventDefinitionType: 'bpmn:EscalationEventDefinition',
|
|
56828
|
+
isInterrupting: true
|
|
56798
56829
|
}
|
|
56799
56830
|
},
|
|
56800
56831
|
{
|
|
@@ -56823,7 +56854,8 @@
|
|
|
56823
56854
|
className: 'bpmn-icon-start-event-compensation',
|
|
56824
56855
|
target: {
|
|
56825
56856
|
type: 'bpmn:StartEvent',
|
|
56826
|
-
eventDefinitionType: 'bpmn:CompensateEventDefinition'
|
|
56857
|
+
eventDefinitionType: 'bpmn:CompensateEventDefinition',
|
|
56858
|
+
isInterrupting: true
|
|
56827
56859
|
}
|
|
56828
56860
|
},
|
|
56829
56861
|
{
|
|
@@ -60341,7 +60373,10 @@
|
|
|
60341
60373
|
var delta = DIRECTIONS_DELTA[direction](speed);
|
|
60342
60374
|
|
|
60343
60375
|
var canMove = rules.allowed('elements.move', {
|
|
60344
|
-
shapes: selectedElements
|
|
60376
|
+
shapes: selectedElements,
|
|
60377
|
+
hints: {
|
|
60378
|
+
keyboardMove: true
|
|
60379
|
+
}
|
|
60345
60380
|
});
|
|
60346
60381
|
|
|
60347
60382
|
if (canMove) {
|