camunda-bpmn-js 3.1.2 → 3.2.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.
@@ -10312,9 +10312,9 @@
10312
10312
 
10313
10313
  const viewport = this._viewport = createGroup(svg, 'viewport');
10314
10314
 
10315
- // debounce canvas.viewbox.changed events
10316
- // for smoother diagram interaction
10317
- if (config.deferUpdate !== false) {
10315
+ // debounce canvas.viewbox.changed events when deferUpdate is set
10316
+ // to help with potential performance issues
10317
+ if (config.deferUpdate) {
10318
10318
  this._viewboxChanged = debounce(bind$2(this._viewboxChanged, this), 300);
10319
10319
  }
10320
10320
 
@@ -11338,6 +11338,11 @@
11338
11338
  this.setRootElement(rootElement);
11339
11339
  }
11340
11340
 
11341
+ // element is rootElement, do not change viewport
11342
+ if (rootElement === element) {
11343
+ return;
11344
+ }
11345
+
11341
11346
  if (!padding) {
11342
11347
  padding = {};
11343
11348
  }
@@ -24387,6 +24392,12 @@
24387
24392
  name: "propagateAllChildVariables",
24388
24393
  isAttr: true,
24389
24394
  type: "Boolean"
24395
+ },
24396
+ {
24397
+ name: "propagateAllParentVariables",
24398
+ isAttr: true,
24399
+ type: "Boolean",
24400
+ "default": true
24390
24401
  }
24391
24402
  ]
24392
24403
  },
@@ -24428,6 +24439,11 @@
24428
24439
  name: "formKey",
24429
24440
  type: "String",
24430
24441
  isAttr: true
24442
+ },
24443
+ {
24444
+ name: "formId",
24445
+ type: "String",
24446
+ isAttr: true
24431
24447
  }
24432
24448
  ]
24433
24449
  },