bpmn-js 8.9.1 → 8.10.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/CHANGELOG.md +5 -0
- package/dist/bpmn-modeler.development.js +16 -17
- package/dist/bpmn-modeler.production.min.js +4 -4
- package/dist/bpmn-navigated-viewer.development.js +2 -3
- package/dist/bpmn-navigated-viewer.production.min.js +1 -1
- package/dist/bpmn-viewer.development.js +2 -3
- package/dist/bpmn-viewer.production.min.js +1 -1
- package/lib/features/modeling/util/ModelingUtil.js +2 -20
- package/lib/util/ModelUtil.js +32 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,11 @@ All notable changes to [bpmn-js](https://github.com/bpmn-io/bpmn-js) are documen
|
|
|
6
6
|
|
|
7
7
|
___Note:__ Yet to be released changes appear here._
|
|
8
8
|
|
|
9
|
+
## 8.10.0
|
|
10
|
+
|
|
11
|
+
* `CHORE`: provide `ModelUtil#isAny` utility ([#https://github.com/bpmn-io/bpmn-js/pull/1604](https://github.com/bpmn-io/bpmn-js/pull/1604))
|
|
12
|
+
* `CHORE`: provide `ModelUtil#getDi` utility ([#https://github.com/bpmn-io/bpmn-js/pull/1604](https://github.com/bpmn-io/bpmn-js/pull/1604))
|
|
13
|
+
|
|
9
14
|
## 8.9.1
|
|
10
15
|
|
|
11
16
|
* `FIX`: re-use process for redo of first participant ([#1439](https://github.com/bpmn-io/bpmn-js/issues/1439))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-modeler v8.
|
|
2
|
+
* bpmn-js - bpmn-modeler v8.10.0
|
|
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: 2022-
|
|
11
|
+
* Date: 2022-02-17
|
|
12
12
|
*/
|
|
13
13
|
(function (global, factory) {
|
|
14
14
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -16451,6 +16451,20 @@
|
|
|
16451
16451
|
}
|
|
16452
16452
|
|
|
16453
16453
|
|
|
16454
|
+
/**
|
|
16455
|
+
* Return true if element has any of the given types.
|
|
16456
|
+
*
|
|
16457
|
+
* @param {djs.model.Base} element
|
|
16458
|
+
* @param {Array<string>} types
|
|
16459
|
+
*
|
|
16460
|
+
* @return {boolean}
|
|
16461
|
+
*/
|
|
16462
|
+
function isAny(element, types) {
|
|
16463
|
+
return some(types, function(t) {
|
|
16464
|
+
return is$1(element, t);
|
|
16465
|
+
});
|
|
16466
|
+
}
|
|
16467
|
+
|
|
16454
16468
|
/**
|
|
16455
16469
|
* Return the business object for a given element.
|
|
16456
16470
|
*
|
|
@@ -26347,21 +26361,6 @@
|
|
|
26347
26361
|
autoPlaceSelectionBehavior: [ 'type', AutoPlaceSelectionBehavior ]
|
|
26348
26362
|
};
|
|
26349
26363
|
|
|
26350
|
-
/**
|
|
26351
|
-
* Return true if element has any of the given types.
|
|
26352
|
-
*
|
|
26353
|
-
* @param {djs.model.Base} element
|
|
26354
|
-
* @param {Array<string>} types
|
|
26355
|
-
*
|
|
26356
|
-
* @return {boolean}
|
|
26357
|
-
*/
|
|
26358
|
-
function isAny(element, types) {
|
|
26359
|
-
return some(types, function(t) {
|
|
26360
|
-
return is$1(element, t);
|
|
26361
|
-
});
|
|
26362
|
-
}
|
|
26363
|
-
|
|
26364
|
-
|
|
26365
26364
|
/**
|
|
26366
26365
|
* Return the parent of the element with any of the given types.
|
|
26367
26366
|
*
|