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$w = 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$w, 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$w, 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$v = 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$v, 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$u = 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$u, 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$t = 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$t, 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$t, 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$t,
|
|
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$t,
|
|
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$s = 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$s, 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$r = 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$r, 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$q = 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$q, 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$l = 1100,
|
|
33761
|
-
LOW_PRIORITY$
|
|
33761
|
+
LOW_PRIORITY$p = 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$p, 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$o = 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$o, 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$n = 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$n, 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$n, 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$n, function(context) {
|
|
36325
36325
|
var cache = context.cache,
|
|
36326
36326
|
descriptor = context.descriptor;
|
|
36327
36327
|
|
|
@@ -40600,12 +40600,13 @@
|
|
|
40600
40600
|
* A palette provider for the create elements menu.
|
|
40601
40601
|
*/
|
|
40602
40602
|
function CreatePaletteProvider(palette, translate, popupMenu, canvas, mouse) {
|
|
40603
|
+
|
|
40603
40604
|
this._translate = translate;
|
|
40604
40605
|
this._popupMenu = popupMenu;
|
|
40605
40606
|
this._canvas = canvas;
|
|
40606
40607
|
this._mouse = mouse;
|
|
40607
40608
|
|
|
40608
|
-
palette.registerProvider(this);
|
|
40609
|
+
palette.registerProvider(800,this);
|
|
40609
40610
|
}
|
|
40610
40611
|
|
|
40611
40612
|
CreatePaletteProvider.$inject = [
|
|
@@ -40618,8 +40619,7 @@
|
|
|
40618
40619
|
|
|
40619
40620
|
|
|
40620
40621
|
CreatePaletteProvider.prototype.getPaletteEntries = function(element) {
|
|
40621
|
-
const
|
|
40622
|
-
translate = this._translate,
|
|
40622
|
+
const translate = this._translate,
|
|
40623
40623
|
popupMenu = this._popupMenu,
|
|
40624
40624
|
canvas = this._canvas,
|
|
40625
40625
|
mouse = this._mouse;
|
|
@@ -40642,7 +40642,7 @@
|
|
|
40642
40642
|
};
|
|
40643
40643
|
};
|
|
40644
40644
|
|
|
40645
|
-
|
|
40645
|
+
return {
|
|
40646
40646
|
'create': {
|
|
40647
40647
|
group: 'create',
|
|
40648
40648
|
imageUrl: createIcon,
|
|
@@ -40660,10 +40660,8 @@
|
|
|
40660
40660
|
});
|
|
40661
40661
|
}
|
|
40662
40662
|
}
|
|
40663
|
-
}
|
|
40664
|
-
}
|
|
40665
|
-
|
|
40666
|
-
return actions;
|
|
40663
|
+
}
|
|
40664
|
+
};
|
|
40667
40665
|
};
|
|
40668
40666
|
|
|
40669
40667
|
/**
|
|
@@ -40984,16 +40982,18 @@
|
|
|
40984
40982
|
return true;
|
|
40985
40983
|
};
|
|
40986
40984
|
|
|
40985
|
+
var LOW_PRIORITY$m = 900;
|
|
40986
|
+
|
|
40987
40987
|
/**
|
|
40988
40988
|
* A provider for align elements context pad button
|
|
40989
40989
|
*/
|
|
40990
40990
|
function AppendContextPadProvider(contextPad, popupMenu, translate, canvas) {
|
|
40991
|
+
contextPad.registerProvider(LOW_PRIORITY$m, this);
|
|
40992
|
+
|
|
40991
40993
|
this._contextPad = contextPad;
|
|
40992
40994
|
this._popupMenu = popupMenu;
|
|
40993
40995
|
this._translate = translate;
|
|
40994
40996
|
this._canvas = canvas;
|
|
40995
|
-
|
|
40996
|
-
contextPad.registerProvider(this);
|
|
40997
40997
|
}
|
|
40998
40998
|
|
|
40999
40999
|
AppendContextPadProvider.$inject = [
|
|
@@ -41010,7 +41010,7 @@
|
|
|
41010
41010
|
|
|
41011
41011
|
if (!popupMenu.isEmpty(element, 'bpmn-append')) {
|
|
41012
41012
|
|
|
41013
|
-
//
|
|
41013
|
+
// append menu entry
|
|
41014
41014
|
return {
|
|
41015
41015
|
'append': {
|
|
41016
41016
|
group: 'model',
|