camunda-bpmn-js 1.3.0 → 1.3.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/base-modeler.development.js +37 -37
- package/dist/base-modeler.production.min.js +1 -1
- package/dist/camunda-cloud-modeler.development.js +37 -37
- package/dist/camunda-cloud-modeler.production.min.js +1 -1
- package/dist/camunda-platform-modeler.development.js +37 -37
- package/dist/camunda-platform-modeler.production.min.js +1 -1
- package/package.json +2 -2
|
@@ -20968,7 +20968,7 @@
|
|
|
20968
20968
|
return isPrimaryButton(event) || isAuxiliaryButton(event);
|
|
20969
20969
|
}
|
|
20970
20970
|
|
|
20971
|
-
var LOW_PRIORITY$
|
|
20971
|
+
var LOW_PRIORITY$s = 500;
|
|
20972
20972
|
|
|
20973
20973
|
|
|
20974
20974
|
/**
|
|
@@ -21163,7 +21163,7 @@
|
|
|
21163
21163
|
eventBus.on([
|
|
21164
21164
|
'shape.changed',
|
|
21165
21165
|
'connection.changed'
|
|
21166
|
-
], LOW_PRIORITY$
|
|
21166
|
+
], LOW_PRIORITY$s, function(event) {
|
|
21167
21167
|
|
|
21168
21168
|
var element = event.element,
|
|
21169
21169
|
gfx = event.gfx;
|
|
@@ -21171,7 +21171,7 @@
|
|
|
21171
21171
|
eventBus.fire('interactionEvents.updateHit', { element: element, gfx: gfx });
|
|
21172
21172
|
});
|
|
21173
21173
|
|
|
21174
|
-
eventBus.on('interactionEvents.createHit', LOW_PRIORITY$
|
|
21174
|
+
eventBus.on('interactionEvents.createHit', LOW_PRIORITY$s, function(event) {
|
|
21175
21175
|
var element = event.element,
|
|
21176
21176
|
gfx = event.gfx;
|
|
21177
21177
|
|
|
@@ -21448,7 +21448,7 @@
|
|
|
21448
21448
|
interactionEvents: [ 'type', InteractionEvents ]
|
|
21449
21449
|
};
|
|
21450
21450
|
|
|
21451
|
-
var LOW_PRIORITY$
|
|
21451
|
+
var LOW_PRIORITY$r = 500;
|
|
21452
21452
|
|
|
21453
21453
|
|
|
21454
21454
|
/**
|
|
@@ -21487,7 +21487,7 @@
|
|
|
21487
21487
|
|
|
21488
21488
|
// A low priortity is necessary, because outlines of labels have to be updated
|
|
21489
21489
|
// after the label bounds have been updated in the renderer.
|
|
21490
|
-
eventBus.on([ 'shape.added', 'shape.changed' ], LOW_PRIORITY$
|
|
21490
|
+
eventBus.on([ 'shape.added', 'shape.changed' ], LOW_PRIORITY$r, function(event) {
|
|
21491
21491
|
var element = event.element,
|
|
21492
21492
|
gfx = event.gfx;
|
|
21493
21493
|
|
|
@@ -21933,7 +21933,7 @@
|
|
|
21933
21933
|
// document wide unique overlay ids
|
|
21934
21934
|
var ids$1 = new IdGenerator('ov');
|
|
21935
21935
|
|
|
21936
|
-
var LOW_PRIORITY$
|
|
21936
|
+
var LOW_PRIORITY$q = 500;
|
|
21937
21937
|
|
|
21938
21938
|
|
|
21939
21939
|
/**
|
|
@@ -22505,7 +22505,7 @@
|
|
|
22505
22505
|
|
|
22506
22506
|
// move integration
|
|
22507
22507
|
|
|
22508
|
-
eventBus.on('element.changed', LOW_PRIORITY$
|
|
22508
|
+
eventBus.on('element.changed', LOW_PRIORITY$q, function(e) {
|
|
22509
22509
|
var element = e.element;
|
|
22510
22510
|
|
|
22511
22511
|
var container = self._getOverlayContainer(element, true);
|
|
@@ -23465,7 +23465,7 @@
|
|
|
23465
23465
|
return true;
|
|
23466
23466
|
}
|
|
23467
23467
|
|
|
23468
|
-
var LOW_PRIORITY$
|
|
23468
|
+
var LOW_PRIORITY$p = 250;
|
|
23469
23469
|
var ARROW_DOWN_SVG = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.81801948,3.50735931 L10.4996894,9.1896894 L10.5,4 L12,4 L12,12 L4,12 L4,10.5 L9.6896894,10.4996894 L3.75735931,4.56801948 C3.46446609,4.27512627 3.46446609,3.80025253 3.75735931,3.50735931 C4.05025253,3.21446609 4.52512627,3.21446609 4.81801948,3.50735931 Z"/></svg>';
|
|
23470
23470
|
|
|
23471
23471
|
var EMPTY_MARKER = 'bjs-drilldown-empty';
|
|
@@ -23482,7 +23482,7 @@
|
|
|
23482
23482
|
|
|
23483
23483
|
var self = this;
|
|
23484
23484
|
|
|
23485
|
-
this.executed('shape.toggleCollapse', LOW_PRIORITY$
|
|
23485
|
+
this.executed('shape.toggleCollapse', LOW_PRIORITY$p, function(context) {
|
|
23486
23486
|
var shape = context.shape;
|
|
23487
23487
|
|
|
23488
23488
|
// Add overlay to the collapsed shape
|
|
@@ -23494,7 +23494,7 @@
|
|
|
23494
23494
|
}, true);
|
|
23495
23495
|
|
|
23496
23496
|
|
|
23497
|
-
this.reverted('shape.toggleCollapse', LOW_PRIORITY$
|
|
23497
|
+
this.reverted('shape.toggleCollapse', LOW_PRIORITY$p, function(context) {
|
|
23498
23498
|
var shape = context.shape;
|
|
23499
23499
|
|
|
23500
23500
|
// Add overlay to the collapsed shape
|
|
@@ -23506,7 +23506,7 @@
|
|
|
23506
23506
|
}, true);
|
|
23507
23507
|
|
|
23508
23508
|
|
|
23509
|
-
this.executed([ 'shape.create', 'shape.move', 'shape.delete' ], LOW_PRIORITY$
|
|
23509
|
+
this.executed([ 'shape.create', 'shape.move', 'shape.delete' ], LOW_PRIORITY$p,
|
|
23510
23510
|
function(context) {
|
|
23511
23511
|
var oldParent = context.oldParent,
|
|
23512
23512
|
newParent = context.newParent || context.parent,
|
|
@@ -23523,7 +23523,7 @@
|
|
|
23523
23523
|
}, true);
|
|
23524
23524
|
|
|
23525
23525
|
|
|
23526
|
-
this.reverted([ 'shape.create', 'shape.move', 'shape.delete' ], LOW_PRIORITY$
|
|
23526
|
+
this.reverted([ 'shape.create', 'shape.move', 'shape.delete' ], LOW_PRIORITY$p,
|
|
23527
23527
|
function(context) {
|
|
23528
23528
|
var oldParent = context.oldParent,
|
|
23529
23529
|
newParent = context.newParent || context.parent,
|
|
@@ -23976,7 +23976,7 @@
|
|
|
23976
23976
|
return target && (matches(target, 'input, textarea') || target.contentEditable === 'true');
|
|
23977
23977
|
}
|
|
23978
23978
|
|
|
23979
|
-
var LOW_PRIORITY$
|
|
23979
|
+
var LOW_PRIORITY$o = 500;
|
|
23980
23980
|
|
|
23981
23981
|
|
|
23982
23982
|
/**
|
|
@@ -23992,7 +23992,7 @@
|
|
|
23992
23992
|
|
|
23993
23993
|
var self = this;
|
|
23994
23994
|
|
|
23995
|
-
eventBus.on('editorActions.init', LOW_PRIORITY$
|
|
23995
|
+
eventBus.on('editorActions.init', LOW_PRIORITY$o, function(event) {
|
|
23996
23996
|
|
|
23997
23997
|
var editorActions = event.editorActions;
|
|
23998
23998
|
|
|
@@ -29473,14 +29473,14 @@
|
|
|
29473
29473
|
|
|
29474
29474
|
var ICONS$1 = icons$1;
|
|
29475
29475
|
|
|
29476
|
-
var LOW_PRIORITY$
|
|
29476
|
+
var LOW_PRIORITY$n = 900;
|
|
29477
29477
|
|
|
29478
29478
|
/**
|
|
29479
29479
|
* A provider for align elements context pad button
|
|
29480
29480
|
*/
|
|
29481
29481
|
function AlignElementsContextPadProvider(contextPad, popupMenu, translate, canvas) {
|
|
29482
29482
|
|
|
29483
|
-
contextPad.registerProvider(LOW_PRIORITY$
|
|
29483
|
+
contextPad.registerProvider(LOW_PRIORITY$n, this);
|
|
29484
29484
|
|
|
29485
29485
|
this._contextPad = contextPad;
|
|
29486
29486
|
this._popupMenu = popupMenu;
|
|
@@ -30034,7 +30034,7 @@
|
|
|
30034
30034
|
return true;
|
|
30035
30035
|
}
|
|
30036
30036
|
|
|
30037
|
-
var LOW_PRIORITY$
|
|
30037
|
+
var LOW_PRIORITY$m = 100;
|
|
30038
30038
|
|
|
30039
30039
|
|
|
30040
30040
|
/**
|
|
@@ -30046,7 +30046,7 @@
|
|
|
30046
30046
|
*/
|
|
30047
30047
|
function AutoPlace$1(eventBus, modeling, canvas) {
|
|
30048
30048
|
|
|
30049
|
-
eventBus.on('autoPlace', LOW_PRIORITY$
|
|
30049
|
+
eventBus.on('autoPlace', LOW_PRIORITY$m, function(context) {
|
|
30050
30050
|
var shape = context.shape,
|
|
30051
30051
|
source = context.source;
|
|
30052
30052
|
|
|
@@ -33758,7 +33758,7 @@
|
|
|
33758
33758
|
}
|
|
33759
33759
|
|
|
33760
33760
|
var HIGH_PRIORITY$h = 1100,
|
|
33761
|
-
LOW_PRIORITY$
|
|
33761
|
+
LOW_PRIORITY$l = 900;
|
|
33762
33762
|
|
|
33763
33763
|
var MARKER_OK$3 = 'connect-ok',
|
|
33764
33764
|
MARKER_NOT_OK$3 = 'connect-not-ok';
|
|
@@ -33802,7 +33802,7 @@
|
|
|
33802
33802
|
});
|
|
33803
33803
|
});
|
|
33804
33804
|
|
|
33805
|
-
eventBus.on('connect.hover', LOW_PRIORITY$
|
|
33805
|
+
eventBus.on('connect.hover', LOW_PRIORITY$l, function(event) {
|
|
33806
33806
|
var context = event.context,
|
|
33807
33807
|
hover = event.hover,
|
|
33808
33808
|
canExecute = context.canExecute;
|
|
@@ -35360,7 +35360,7 @@
|
|
|
35360
35360
|
return !!element.labelTarget;
|
|
35361
35361
|
}
|
|
35362
35362
|
|
|
35363
|
-
var LOW_PRIORITY$
|
|
35363
|
+
var LOW_PRIORITY$k = 750;
|
|
35364
35364
|
|
|
35365
35365
|
|
|
35366
35366
|
function CreatePreview(
|
|
@@ -35405,7 +35405,7 @@
|
|
|
35405
35405
|
return dragGroup;
|
|
35406
35406
|
}
|
|
35407
35407
|
|
|
35408
|
-
eventBus.on('create.move', LOW_PRIORITY$
|
|
35408
|
+
eventBus.on('create.move', LOW_PRIORITY$k, function(event) {
|
|
35409
35409
|
|
|
35410
35410
|
var hover = event.hover,
|
|
35411
35411
|
context = event.context,
|
|
@@ -36187,7 +36187,7 @@
|
|
|
36187
36187
|
});
|
|
36188
36188
|
}
|
|
36189
36189
|
|
|
36190
|
-
var LOW_PRIORITY$
|
|
36190
|
+
var LOW_PRIORITY$j = 750;
|
|
36191
36191
|
|
|
36192
36192
|
|
|
36193
36193
|
function BpmnCopyPaste(bpmnFactory, eventBus, moddleCopy) {
|
|
@@ -36198,7 +36198,7 @@
|
|
|
36198
36198
|
return moddleCopy.copyElement(bo, targetBo, null, clone);
|
|
36199
36199
|
}
|
|
36200
36200
|
|
|
36201
|
-
eventBus.on('copyPaste.copyElement', LOW_PRIORITY$
|
|
36201
|
+
eventBus.on('copyPaste.copyElement', LOW_PRIORITY$j, function(context) {
|
|
36202
36202
|
var descriptor = context.descriptor,
|
|
36203
36203
|
element = context.element,
|
|
36204
36204
|
businessObject = getBusinessObject$1(element);
|
|
@@ -36295,7 +36295,7 @@
|
|
|
36295
36295
|
|
|
36296
36296
|
// copy + paste processRef with participant
|
|
36297
36297
|
|
|
36298
|
-
eventBus.on('copyPaste.copyElement', LOW_PRIORITY$
|
|
36298
|
+
eventBus.on('copyPaste.copyElement', LOW_PRIORITY$j, function(context) {
|
|
36299
36299
|
var descriptor = context.descriptor,
|
|
36300
36300
|
element = context.element;
|
|
36301
36301
|
|
|
@@ -36321,7 +36321,7 @@
|
|
|
36321
36321
|
|
|
36322
36322
|
// resolve references
|
|
36323
36323
|
|
|
36324
|
-
eventBus.on('copyPaste.pasteElement', LOW_PRIORITY$
|
|
36324
|
+
eventBus.on('copyPaste.pasteElement', LOW_PRIORITY$j, function(context) {
|
|
36325
36325
|
var cache = context.cache,
|
|
36326
36326
|
descriptor = context.descriptor;
|
|
36327
36327
|
|
|
@@ -40581,12 +40581,13 @@
|
|
|
40581
40581
|
* A palette provider for the create elements menu.
|
|
40582
40582
|
*/
|
|
40583
40583
|
function CreatePaletteProvider(palette, translate, popupMenu, canvas, mouse) {
|
|
40584
|
+
|
|
40584
40585
|
this._translate = translate;
|
|
40585
40586
|
this._popupMenu = popupMenu;
|
|
40586
40587
|
this._canvas = canvas;
|
|
40587
40588
|
this._mouse = mouse;
|
|
40588
40589
|
|
|
40589
|
-
palette.registerProvider(this);
|
|
40590
|
+
palette.registerProvider(800,this);
|
|
40590
40591
|
}
|
|
40591
40592
|
|
|
40592
40593
|
CreatePaletteProvider.$inject = [
|
|
@@ -40599,8 +40600,7 @@
|
|
|
40599
40600
|
|
|
40600
40601
|
|
|
40601
40602
|
CreatePaletteProvider.prototype.getPaletteEntries = function(element) {
|
|
40602
|
-
const
|
|
40603
|
-
translate = this._translate,
|
|
40603
|
+
const translate = this._translate,
|
|
40604
40604
|
popupMenu = this._popupMenu,
|
|
40605
40605
|
canvas = this._canvas,
|
|
40606
40606
|
mouse = this._mouse;
|
|
@@ -40623,7 +40623,7 @@
|
|
|
40623
40623
|
};
|
|
40624
40624
|
};
|
|
40625
40625
|
|
|
40626
|
-
|
|
40626
|
+
return {
|
|
40627
40627
|
'create': {
|
|
40628
40628
|
group: 'create',
|
|
40629
40629
|
imageUrl: createIcon,
|
|
@@ -40641,10 +40641,8 @@
|
|
|
40641
40641
|
});
|
|
40642
40642
|
}
|
|
40643
40643
|
}
|
|
40644
|
-
}
|
|
40645
|
-
}
|
|
40646
|
-
|
|
40647
|
-
return actions;
|
|
40644
|
+
}
|
|
40645
|
+
};
|
|
40648
40646
|
};
|
|
40649
40647
|
|
|
40650
40648
|
/**
|
|
@@ -40965,16 +40963,18 @@
|
|
|
40965
40963
|
return true;
|
|
40966
40964
|
};
|
|
40967
40965
|
|
|
40966
|
+
var LOW_PRIORITY$i = 900;
|
|
40967
|
+
|
|
40968
40968
|
/**
|
|
40969
40969
|
* A provider for align elements context pad button
|
|
40970
40970
|
*/
|
|
40971
40971
|
function AppendContextPadProvider(contextPad, popupMenu, translate, canvas) {
|
|
40972
|
+
contextPad.registerProvider(LOW_PRIORITY$i, this);
|
|
40973
|
+
|
|
40972
40974
|
this._contextPad = contextPad;
|
|
40973
40975
|
this._popupMenu = popupMenu;
|
|
40974
40976
|
this._translate = translate;
|
|
40975
40977
|
this._canvas = canvas;
|
|
40976
|
-
|
|
40977
|
-
contextPad.registerProvider(this);
|
|
40978
40978
|
}
|
|
40979
40979
|
|
|
40980
40980
|
AppendContextPadProvider.$inject = [
|
|
@@ -40991,7 +40991,7 @@
|
|
|
40991
40991
|
|
|
40992
40992
|
if (!popupMenu.isEmpty(element, 'bpmn-append')) {
|
|
40993
40993
|
|
|
40994
|
-
//
|
|
40994
|
+
// append menu entry
|
|
40995
40995
|
return {
|
|
40996
40996
|
'append': {
|
|
40997
40997
|
group: 'model',
|