aurea-eden 1.44.0 → 1.44.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-diagram.es.js
CHANGED
|
@@ -59419,7 +59419,8 @@ class BpmnExporter {
|
|
|
59419
59419
|
id: el.elementId,
|
|
59420
59420
|
type: bpmnType,
|
|
59421
59421
|
width,
|
|
59422
|
-
height
|
|
59422
|
+
height,
|
|
59423
|
+
businessObject: bpmnFactory.create(bpmnType, { id: el.elementId })
|
|
59423
59424
|
});
|
|
59424
59425
|
let labelText = "";
|
|
59425
59426
|
if (el.texts && el.texts.length > 0) {
|
|
@@ -60421,7 +60422,7 @@ SPREAD LOG: Target ${nodeId} Port ${basePort}`);
|
|
|
60421
60422
|
return text.replace(/\n/g, "\\n").replace(/'/g, "\\'");
|
|
60422
60423
|
}
|
|
60423
60424
|
}
|
|
60424
|
-
const version = "1.44.
|
|
60425
|
+
const version = "1.44.2";
|
|
60425
60426
|
var Easing = Object.freeze({
|
|
60426
60427
|
Linear: Object.freeze({
|
|
60427
60428
|
None: function(amount) {
|
|
@@ -69157,6 +69158,18 @@ class BpmnDiagram extends Diagram {
|
|
|
69157
69158
|
* @returns {Promise<void>}
|
|
69158
69159
|
*/
|
|
69159
69160
|
async autoLayout(overrides = []) {
|
|
69161
|
+
if (this.pendingConnections && this.pendingConnections.length > 0) {
|
|
69162
|
+
this.arrange();
|
|
69163
|
+
}
|
|
69164
|
+
let staggerIndex = 1;
|
|
69165
|
+
for (const el of this.elements) {
|
|
69166
|
+
if (el.position.x === 0 && el.position.y === 0) {
|
|
69167
|
+
el.position.x = staggerIndex * 150;
|
|
69168
|
+
el.position.y = staggerIndex * 120;
|
|
69169
|
+
el.updateMatrixWorld(true);
|
|
69170
|
+
staggerIndex++;
|
|
69171
|
+
}
|
|
69172
|
+
}
|
|
69160
69173
|
const exporter = new BpmnExporter();
|
|
69161
69174
|
const xmlContent = await exporter.export(this);
|
|
69162
69175
|
const converter = new BpmnToFluentConverter();
|