bpmn-js 15.1.1 → 15.1.3
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/assets/diagram-js.css +1 -32
- package/dist/bpmn-modeler.development.js +36 -2
- package/dist/bpmn-modeler.production.min.js +3 -3
- package/dist/bpmn-navigated-viewer.development.js +120 -88
- package/dist/bpmn-navigated-viewer.production.min.js +3 -3
- package/dist/bpmn-viewer.development.js +120 -88
- package/dist/bpmn-viewer.production.min.js +2 -2
- package/package.json +2 -2
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
--context-pad-entry-hover-background-color: var(--color-grey-225-10-95);
|
|
41
41
|
|
|
42
42
|
--element-dragger-color: var(--color-blue-205-100-50);
|
|
43
|
-
--element-dragging-color: var(--color-grey-225-10-75);
|
|
44
43
|
--element-hover-outline-fill-color: var(--color-blue-205-100-45);
|
|
45
44
|
--element-selected-outline-stroke-color: var(--color-blue-205-100-50);
|
|
46
45
|
--element-selected-outline-secondary-stroke-color: var(--color-blue-205-100-70);
|
|
@@ -283,40 +282,10 @@ marker.djs-dragger tspan {
|
|
|
283
282
|
|
|
284
283
|
.djs-dragging,
|
|
285
284
|
.djs-dragging > * {
|
|
285
|
+
opacity: 0.3 !important;
|
|
286
286
|
pointer-events: none !important;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
.djs-dragging .djs-context-pad,
|
|
290
|
-
.djs-dragging .djs-outline {
|
|
291
|
-
display: none !important;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.djs-dragging * {
|
|
295
|
-
fill: none !important;
|
|
296
|
-
stroke: var(--element-dragging-color) !important;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.djs-dragging tspan,
|
|
300
|
-
.djs-dragging text {
|
|
301
|
-
fill: var(--element-dragging-color) !important;
|
|
302
|
-
stroke: none !important;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
marker.djs-dragging circle,
|
|
306
|
-
marker.djs-dragging path,
|
|
307
|
-
marker.djs-dragging polygon,
|
|
308
|
-
marker.djs-dragging polyline,
|
|
309
|
-
marker.djs-dragging rect {
|
|
310
|
-
fill: var(--element-dragging-color) !important;
|
|
311
|
-
stroke: none !important;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
marker.djs-dragging text,
|
|
315
|
-
marker.djs-dragging tspan {
|
|
316
|
-
fill: none !important;
|
|
317
|
-
stroke: var(--element-dragging-color) !important;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
289
|
/**
|
|
321
290
|
* no pointer events for visual
|
|
322
291
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-modeler v15.1.
|
|
2
|
+
* bpmn-js - bpmn-modeler v15.1.3
|
|
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: 2023-11-
|
|
11
|
+
* Date: 2023-11-07
|
|
12
12
|
*/
|
|
13
13
|
(function (global, factory) {
|
|
14
14
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -22679,6 +22679,19 @@
|
|
|
22679
22679
|
}
|
|
22680
22680
|
});
|
|
22681
22681
|
|
|
22682
|
+
eventBus.on([ 'connection.added', 'connection.changed' ], function(event) {
|
|
22683
|
+
var element = event.element,
|
|
22684
|
+
gfx = event.gfx;
|
|
22685
|
+
|
|
22686
|
+
var outline = query('.djs-outline', gfx);
|
|
22687
|
+
|
|
22688
|
+
if (!outline) {
|
|
22689
|
+
outline = createOutline(gfx, element);
|
|
22690
|
+
append(gfx, outline);
|
|
22691
|
+
}
|
|
22692
|
+
|
|
22693
|
+
self.updateConnectionOutline(outline, element);
|
|
22694
|
+
});
|
|
22682
22695
|
}
|
|
22683
22696
|
|
|
22684
22697
|
|
|
@@ -22710,6 +22723,25 @@
|
|
|
22710
22723
|
}
|
|
22711
22724
|
};
|
|
22712
22725
|
|
|
22726
|
+
/**
|
|
22727
|
+
* Updates the outline of a connection respecting the bounding box of
|
|
22728
|
+
* the connection and an outline offset.
|
|
22729
|
+
* Register an outline provider with the given priority.
|
|
22730
|
+
*
|
|
22731
|
+
* @param {SVGElement} outline
|
|
22732
|
+
* @param {Element} connection
|
|
22733
|
+
**/
|
|
22734
|
+
Outline.prototype.updateConnectionOutline = function(outline, connection) {
|
|
22735
|
+
var bbox = getBBox(connection);
|
|
22736
|
+
|
|
22737
|
+
attr(outline, {
|
|
22738
|
+
x: bbox.x - this.offset,
|
|
22739
|
+
y: bbox.y - this.offset,
|
|
22740
|
+
width: bbox.width + this.offset * 2,
|
|
22741
|
+
height: bbox.height + this.offset * 2
|
|
22742
|
+
});
|
|
22743
|
+
};
|
|
22744
|
+
|
|
22713
22745
|
/**
|
|
22714
22746
|
* Register an outline provider with the given priority.
|
|
22715
22747
|
*
|
|
@@ -29950,6 +29982,8 @@
|
|
|
29950
29982
|
return;
|
|
29951
29983
|
}
|
|
29952
29984
|
|
|
29985
|
+
clearTimeout(this._timeout);
|
|
29986
|
+
|
|
29953
29987
|
this._overlays.remove(this._overlayId);
|
|
29954
29988
|
|
|
29955
29989
|
this._overlayId = null;
|