@seniorsistemas/angular-components 15.1.0 → 15.1.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.
@@ -7472,7 +7472,7 @@ var TimelineComponent = /** @class */ (function () {
7472
7472
  TimelineComponent = __decorate([
7473
7473
  Component({
7474
7474
  selector: "s-timeline",
7475
- template: "<div *ngIf=\"changeToVertical(); then vertical else horizontal\"></div>\n\n<ng-template #horizontal>\n <s-horizontal-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\">\n </s-horizontal-timeline>\n</ng-template>\n\n<ng-template #vertical>\n <s-vertical-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\"\n [counterLabel]=\"counterLabel\"\n [collapsable]=\"collapsable\">\n </s-vertical-timeline>\n</ng-template>"
7475
+ template: "<ng-template *ngIf=\"items?.length\">\n <div *ngIf=\"changeToVertical(); then vertical else horizontal\"></div>\n</ng-template>\n\n<ng-template #horizontal>\n <s-horizontal-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\">\n </s-horizontal-timeline>\n</ng-template>\n\n<ng-template #vertical>\n <s-vertical-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\"\n [counterLabel]=\"counterLabel\"\n [collapsable]=\"collapsable\">\n </s-vertical-timeline>\n</ng-template>"
7476
7476
  })
7477
7477
  ], TimelineComponent);
7478
7478
  return TimelineComponent;