@syncfusion/ej2-layouts 27.1.50 → 27.1.53

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.
@@ -4793,9 +4793,12 @@ var DashboardLayout = /** @__PURE__ @class */ (function (_super) {
4793
4793
  this.checkCollision = [];
4794
4794
  }
4795
4795
  this.setPanelPosition(cell, panelProp.row, panelProp.col);
4796
+ this.addPanelCalled = false;
4796
4797
  this.updatePanelLayout(cell, panelProp);
4797
4798
  }
4798
- this.addPanelCalled = false;
4799
+ if (this.addPanelCalled) {
4800
+ this.addPanelCalled = false;
4801
+ }
4799
4802
  if (this.allowDragging &&
4800
4803
  this.mediaQuery ? !(this.checkMediaQuery()) : false) {
4801
4804
  this.enableDraggingContent([document.getElementById(panelProp.id)]);
@@ -5668,10 +5671,10 @@ var Timeline = /** @__PURE__ @class */ (function (_super) {
5668
5671
  for (var index = 0; index < this.items.length; index++) {
5669
5672
  var item = this.items[parseInt(index.toString(), 10)];
5670
5673
  if (!haveContent) {
5671
- haveContent = item.content.length > 0;
5674
+ (haveContent = item.content.length > 0 || !isNullOrUndefined(item.content));
5672
5675
  }
5673
5676
  if (!haveOppContent) {
5674
- haveOppContent = item.oppositeContent.length > 0;
5677
+ (haveOppContent = item.oppositeContent.length > 0 || !isNullOrUndefined(item.content));
5675
5678
  }
5676
5679
  }
5677
5680
  this.element.classList.remove('e-content-only', 'e-opposite-content-only');