bpmn-js 9.0.0 → 9.0.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/CHANGELOG.md CHANGED
@@ -7,36 +7,26 @@ All notable changes to [bpmn-js](https://github.com/bpmn-io/bpmn-js) are documen
7
7
 
8
8
  ___Note:__ Yet to be released changes appear here._
9
9
 
10
- ## 9.0.0
11
10
 
12
- * `FEAT`: update umbedded label bounds when shape is moved ([#1586](https://github.com/bpmn-io/bpmn-js/pull/1586))
13
- * `FIX`: ensure plane ID change is undoable ([#1600](https://github.com/bpmn-io/bpmn-js/pull/1600))
14
- * `FIX`: allow groups and associations to be created in subprocesses ([#1599](https://github.com/bpmn-io/bpmn-js/pull/1599))
15
- * `CHORE`: expose `BpmnRenderer` extension points ([#1585](https://github.com/bpmn-io/bpmn-js/pull/1585))
11
+ ## 9.0.1
16
12
 
17
- ## 9.0.0-alpha.2
13
+ * `FIX`: use ES5 everywhere ([#1605](https://github.com/bpmn-io/bpmn-js/pull/1605))
14
+ * `FIX`: support DIs without associated business object ([#1605](https://github.com/bpmn-io/bpmn-js/pull/1605))
15
+ * `DEPS`: bump to `diagram-js@8.1.2` ([bdf9cf3](https://github.com/bpmn-io/bpmn-js/commit/bdf9cf3e752254a4c8172031d8a493955a9fca9c))
18
16
 
19
- * `FIX`: use active plane for svg export ([#1592](https://github.com/bpmn-io/bpmn-js/issues/1592))
20
- * `FIX`: prevent infinite loop on root property change ([#1593](https://github.com/bpmn-io/bpmn-js/pull/1593))
21
17
 
22
- ## 9.0.0-alpha.1
18
+ ## 9.0.0
23
19
 
24
- * `FEAT`: support modeling of collapsed subprocesses ([#1443](https://github.com/bpmn-io/bpmn-js/issues/1443))
20
+ * `FEAT`: support drilldown and modeling of collapsed subprocesses ([#1443](https://github.com/bpmn-io/bpmn-js/issues/1443))
21
+ * `FEAT`: update embedded label bounds when shape is moved ([#1586](https://github.com/bpmn-io/bpmn-js/pull/1586))
25
22
  * `FIX`: create di for embedded labels ([#1579](https://github.com/bpmn-io/bpmn-js/pull/1579))
23
+ * `CHORE`: expose `BpmnRenderer` extension points ([#1585](https://github.com/bpmn-io/bpmn-js/pull/1585))
26
24
  * `CHORE`: bump to `diagram-js@8.1.1`
27
25
 
28
26
  ### Breaking Changes
29
27
 
30
- * Reworked `viewer.open` behavior for single planes. ([#1576](https://github.com/bpmn-io/bpmn-js/pull/1576))
31
-
32
- ## 9.0.0-alpha.0
33
-
34
- * `FEAT`: support drilldown into collapsed subprocesses ([#1443](https://github.com/bpmn-io/bpmn-js/issues/1443))
35
- * `CHORE`: bump to `diagram-js@8.0.1`
36
-
37
- ### Breaking Changes
38
-
39
28
  * Reworked the link of elements to bpmn DIs. You must access the `di` directly from the diagram element instead of the `businessObject`. [#1472](https://github.com/bpmn-io/bpmn-js/issues/1472)
29
+ * Reworked `viewer.open` behavior for single planes. ([#1576](https://github.com/bpmn-io/bpmn-js/pull/1576))
40
30
  * Reworked import and `BpmnFactory` APIs. [#1472](https://github.com/bpmn-io/bpmn-js/issues/1472)
41
31
  * Added `bpmn-js.css`, which is required to display drilldown overlays correctly.
42
32
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * bpmn-js - bpmn-modeler v9.0.0
2
+ * bpmn-js - bpmn-modeler v9.0.1
3
3
  *
4
4
  * Copyright (c) 2014-present, camunda Services GmbH
5
5
  *
@@ -22656,6 +22656,11 @@
22656
22656
 
22657
22657
  plane.get('planeElement').forEach(function(diElement) {
22658
22658
  var bo = diElement.bpmnElement;
22659
+
22660
+ if (!bo) {
22661
+ return;
22662
+ }
22663
+
22659
22664
  var parent = bo.$parent;
22660
22665
 
22661
22666
  if (is$1(bo, 'bpmn:SubProcess') && !diElement.isExpanded) {
@@ -22685,7 +22690,7 @@
22685
22690
  var parent = element.parent;
22686
22691
 
22687
22692
  // parent is expanded, get nearest collapsed parent
22688
- while (parent && !collapsedElements.includes(parent)) {
22693
+ while (parent && collapsedElements.indexOf(parent) === -1) {
22689
22694
  parent = parent.$parent;
22690
22695
  }
22691
22696
 
@@ -23176,7 +23181,7 @@
23176
23181
  }
23177
23182
 
23178
23183
  var allowedModifiers = this._getAllowedModifiers(event.target);
23179
- return !allowedModifiers.includes(event.key);
23184
+ return allowedModifiers.indexOf(event.key) === -1;
23180
23185
  };
23181
23186
 
23182
23187
  Keyboard.prototype._getAllowedModifiers = function(element) {
@@ -45458,7 +45463,7 @@
45458
45463
 
45459
45464
 
45460
45465
  function handleConnection(c, incoming) {
45461
- if (allChildren.includes(c.source) && allChildren.includes(c.target)) {
45466
+ if (allChildren.indexOf(c.source) !== -1 && allChildren.indexOf(c.target) !== -1) {
45462
45467
  return;
45463
45468
  }
45464
45469