bpmn-js 9.2.1 → 9.2.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/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ 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.2.2
11
+
12
+ * `FIX`: correctly toggle loop characteristics ([#1673](https://github.com/bpmn-io/bpmn-js/issues/1673))
13
+
10
14
  ## 9.2.1
11
15
 
12
16
  * `FIX`: cancel direct editing before shape deletion ([#1677](https://github.com/bpmn-io/bpmn-js/issues/1677))
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * bpmn-js - bpmn-modeler v9.2.1
2
+ * bpmn-js - bpmn-modeler v9.2.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: 2022-06-08
11
+ * Date: 2022-06-09
12
12
  */
13
13
  (function (global, factory) {
14
14
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -37316,18 +37316,19 @@
37316
37316
  var translate = this._translate;
37317
37317
 
37318
37318
  function toggleLoopEntry(event, entry) {
37319
- var loopCharacteristics = getBusinessObject(element).loopCharacteristics;
37319
+ var newLoopCharacteristics = getBusinessObject(element).loopCharacteristics;
37320
37320
 
37321
37321
  if (entry.active) {
37322
- loopCharacteristics = undefined;
37322
+ newLoopCharacteristics = undefined;
37323
37323
  } else {
37324
- if (isUndefined$2(entry.options.isSequential) || !loopCharacteristics) {
37325
- loopCharacteristics = self._moddle.create(entry.options.loopCharacteristics);
37324
+ if (isUndefined$2(entry.options.isSequential) || !newLoopCharacteristics
37325
+ || !is$1(newLoopCharacteristics, entry.options.loopCharacteristics)) {
37326
+ newLoopCharacteristics = self._moddle.create(entry.options.loopCharacteristics);
37326
37327
  }
37327
37328
 
37328
- loopCharacteristics.isSequential = entry.options.isSequential;
37329
+ newLoopCharacteristics.isSequential = entry.options.isSequential;
37329
37330
  }
37330
- self._modeling.updateProperties(element, { loopCharacteristics: loopCharacteristics });
37331
+ self._modeling.updateProperties(element, { loopCharacteristics: newLoopCharacteristics });
37331
37332
  }
37332
37333
 
37333
37334
  var businessObject = getBusinessObject(element),