bpmn-js 17.8.1 → 17.8.2
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 +21 -75
- package/dist/bpmn-modeler.production.min.js +37 -37
- package/dist/bpmn-navigated-viewer.development.js +10 -60
- package/dist/bpmn-navigated-viewer.production.min.js +5 -5
- package/dist/bpmn-viewer.development.js +9 -60
- package/dist/bpmn-viewer.production.min.js +5 -5
- package/lib/features/search/BpmnSearchProvider.js +2 -2
- package/package.json +8 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-viewer v17.8.
|
|
2
|
+
* bpmn-js - bpmn-viewer v17.8.2
|
|
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: 2024-
|
|
11
|
+
* Date: 2024-06-17
|
|
12
12
|
*/
|
|
13
13
|
(function (global, factory) {
|
|
14
14
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
*
|
|
505
505
|
* @return {T}
|
|
506
506
|
*/
|
|
507
|
-
function set
|
|
507
|
+
function set(target, path, value) {
|
|
508
508
|
|
|
509
509
|
let currentTarget = target;
|
|
510
510
|
|
|
@@ -1526,9 +1526,7 @@
|
|
|
1526
1526
|
}
|
|
1527
1527
|
|
|
1528
1528
|
function createTransform(matrix) {
|
|
1529
|
-
|
|
1530
|
-
return getNode().createSVGTransformFromMatrix(matrix);
|
|
1531
|
-
} else {
|
|
1529
|
+
{
|
|
1532
1530
|
return getNode().createSVGTransform();
|
|
1533
1531
|
}
|
|
1534
1532
|
}
|
|
@@ -1610,39 +1608,6 @@
|
|
|
1610
1608
|
return output;
|
|
1611
1609
|
}
|
|
1612
1610
|
|
|
1613
|
-
/**
|
|
1614
|
-
* innerHTML like functionality for SVG elements.
|
|
1615
|
-
* based on innerSVG (https://code.google.com/p/innersvg)
|
|
1616
|
-
*/
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
function set(element, svg) {
|
|
1621
|
-
|
|
1622
|
-
var parsed = parse$1(svg);
|
|
1623
|
-
|
|
1624
|
-
// clear element contents
|
|
1625
|
-
clear$1(element);
|
|
1626
|
-
|
|
1627
|
-
if (!svg) {
|
|
1628
|
-
return;
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
if (!isFragment(parsed)) {
|
|
1632
|
-
|
|
1633
|
-
// extract <svg> from parsed document
|
|
1634
|
-
parsed = parsed.documentElement;
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
|
-
var nodes = slice$1(parsed.childNodes);
|
|
1638
|
-
|
|
1639
|
-
// import + append each node
|
|
1640
|
-
for (var i = 0; i < nodes.length; i++) {
|
|
1641
|
-
appendTo(nodes[i], element);
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
|
-
}
|
|
1645
|
-
|
|
1646
1611
|
function get(element) {
|
|
1647
1612
|
var child = element.firstChild,
|
|
1648
1613
|
output = [];
|
|
@@ -1655,31 +1620,13 @@
|
|
|
1655
1620
|
return output.join('');
|
|
1656
1621
|
}
|
|
1657
1622
|
|
|
1658
|
-
function isFragment(node) {
|
|
1659
|
-
return node.nodeName === '#document-fragment';
|
|
1660
|
-
}
|
|
1661
|
-
|
|
1662
1623
|
function innerSVG(element, svg) {
|
|
1663
1624
|
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
try {
|
|
1667
|
-
set(element, svg);
|
|
1668
|
-
} catch (e) {
|
|
1669
|
-
throw new Error('error parsing SVG: ' + e.message);
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
return element;
|
|
1673
|
-
} else {
|
|
1625
|
+
{
|
|
1674
1626
|
return get(element);
|
|
1675
1627
|
}
|
|
1676
1628
|
}
|
|
1677
1629
|
|
|
1678
|
-
|
|
1679
|
-
function slice$1(arr) {
|
|
1680
|
-
return Array.prototype.slice.call(arr);
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
1630
|
function remove$2(element) {
|
|
1684
1631
|
var parent = element.parentNode;
|
|
1685
1632
|
|
|
@@ -2684,7 +2631,7 @@
|
|
|
2684
2631
|
rotate.setRotate(angle || 0, 0, 0);
|
|
2685
2632
|
|
|
2686
2633
|
var scale = createTransform();
|
|
2687
|
-
scale.setScale(
|
|
2634
|
+
scale.setScale(1, 1);
|
|
2688
2635
|
|
|
2689
2636
|
transform$1(gfx, [ translate, rotate, scale ]);
|
|
2690
2637
|
}
|
|
@@ -9119,6 +9066,7 @@
|
|
|
9119
9066
|
* @typedef {import('../util/Types').Point} Point
|
|
9120
9067
|
*/
|
|
9121
9068
|
|
|
9069
|
+
|
|
9122
9070
|
/**
|
|
9123
9071
|
* @param {import('../core/EventBus').Event} event
|
|
9124
9072
|
*
|
|
@@ -15333,7 +15281,7 @@
|
|
|
15333
15281
|
return this[key];
|
|
15334
15282
|
},
|
|
15335
15283
|
set: function(key, value) {
|
|
15336
|
-
set
|
|
15284
|
+
set(this, [ key ], value);
|
|
15337
15285
|
}
|
|
15338
15286
|
};
|
|
15339
15287
|
|
|
@@ -22714,6 +22662,7 @@
|
|
|
22714
22662
|
*/
|
|
22715
22663
|
|
|
22716
22664
|
|
|
22665
|
+
|
|
22717
22666
|
// inlined ../../resources/logo.svg
|
|
22718
22667
|
var BPMNIO_LOGO_SVG = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.02 5.57" width="53" height="21"><path fill="currentColor" d="M1.88.92v.14c0 .41-.13.68-.4.8.33.14.46.44.46.86v.33c0 .61-.33.95-.95.95H0V0h.95c.65 0 .93.3.93.92zM.63.57v1.06h.24c.24 0 .38-.1.38-.43V.98c0-.28-.1-.4-.32-.4zm0 1.63v1.22h.36c.2 0 .32-.1.32-.39v-.35c0-.37-.12-.48-.4-.48H.63zM4.18.99v.52c0 .64-.31.98-.94.98h-.3V4h-.62V0h.92c.63 0 .94.35.94.99zM2.94.57v1.35h.3c.2 0 .3-.09.3-.37v-.6c0-.29-.1-.38-.3-.38h-.3zm2.89 2.27L6.25 0h.88v4h-.6V1.12L6.1 3.99h-.6l-.46-2.82v2.82h-.55V0h.87zM8.14 1.1V4h-.56V0h.79L9 2.4V0h.56v4h-.64zm2.49 2.29v.6h-.6v-.6zM12.12 1c0-.63.33-1 .95-1 .61 0 .95.37.95 1v2.04c0 .64-.34 1-.95 1-.62 0-.95-.37-.95-1zm.62 2.08c0 .28.13.39.33.39s.32-.1.32-.4V.98c0-.29-.12-.4-.32-.4s-.33.11-.33.4z"/><path fill="currentColor" d="M0 4.53h14.02v1.04H0zM11.08 0h.63v.62h-.63zm.63 4V1h-.63v2.98z"/></svg>';
|
|
22719
22668
|
|