camunda-bpmn-js 5.14.2 → 5.15.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/assets/properties-panel.css +7 -1
- package/dist/base-modeler.development.js +1047 -583
- package/dist/base-modeler.production.min.js +35 -35
- package/dist/base-navigated-viewer.development.js +21 -4
- package/dist/base-navigated-viewer.production.min.js +1 -1
- package/dist/base-viewer.development.js +21 -4
- package/dist/base-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-modeler.development.js +1895 -920
- package/dist/camunda-cloud-modeler.production.min.js +37 -37
- package/dist/camunda-cloud-navigated-viewer.development.js +10 -4
- package/dist/camunda-cloud-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-viewer.development.js +10 -4
- package/dist/camunda-cloud-viewer.production.min.js +1 -1
- package/dist/camunda-platform-modeler.development.js +1650 -945
- package/dist/camunda-platform-modeler.production.min.js +35 -35
- package/dist/camunda-platform-navigated-viewer.development.js +21 -4
- package/dist/camunda-platform-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-platform-viewer.development.js +21 -4
- package/dist/camunda-platform-viewer.production.min.js +1 -1
- package/package.json +6 -6
|
@@ -1935,11 +1935,11 @@
|
|
|
1935
1935
|
[ 'l', width - borderRadius * 2, 0 ],
|
|
1936
1936
|
[ 'a', borderRadius, borderRadius, 0, 0, 1, borderRadius, borderRadius ],
|
|
1937
1937
|
[ 'l', 0, height - borderRadius * 2 ],
|
|
1938
|
-
[ 'a', borderRadius, borderRadius, 0, 0, 1, -
|
|
1938
|
+
[ 'a', borderRadius, borderRadius, 0, 0, 1, -borderRadius, borderRadius ],
|
|
1939
1939
|
[ 'l', borderRadius * 2 - width, 0 ],
|
|
1940
|
-
[ 'a', borderRadius, borderRadius, 0, 0, 1, -
|
|
1940
|
+
[ 'a', borderRadius, borderRadius, 0, 0, 1, -borderRadius, -borderRadius ],
|
|
1941
1941
|
[ 'l', 0, borderRadius * 2 - height ],
|
|
1942
|
-
[ 'a', borderRadius, borderRadius, 0, 0, 1, borderRadius, -
|
|
1942
|
+
[ 'a', borderRadius, borderRadius, 0, 0, 1, borderRadius, -borderRadius ],
|
|
1943
1943
|
[ 'z' ]
|
|
1944
1944
|
];
|
|
1945
1945
|
|
|
@@ -2736,7 +2736,8 @@
|
|
|
2736
2736
|
var ELEMENT_LABEL_DISTANCE = 10,
|
|
2737
2737
|
INNER_OUTER_DIST = 3,
|
|
2738
2738
|
PARTICIPANT_STROKE_WIDTH = 1.5,
|
|
2739
|
-
TASK_BORDER_RADIUS = 10
|
|
2739
|
+
TASK_BORDER_RADIUS = 10,
|
|
2740
|
+
EXTERNAL_LABEL_BORDER_RADIUS = 4;
|
|
2740
2741
|
|
|
2741
2742
|
var DEFAULT_OPACITY = 0.95,
|
|
2742
2743
|
FULL_OPACITY = 1,
|
|
@@ -5045,6 +5046,11 @@
|
|
|
5045
5046
|
* @return {string} path
|
|
5046
5047
|
*/
|
|
5047
5048
|
BpmnRenderer.prototype.getShapePath = function(shape) {
|
|
5049
|
+
|
|
5050
|
+
if (isLabel(shape)) {
|
|
5051
|
+
return getRoundRectPath(shape, EXTERNAL_LABEL_BORDER_RADIUS);
|
|
5052
|
+
}
|
|
5053
|
+
|
|
5048
5054
|
if (is$1(shape, 'bpmn:Event')) {
|
|
5049
5055
|
return getCirclePath(shape);
|
|
5050
5056
|
}
|