@datorama/core 22.0.4-rc.1 → 22.0.4-rc.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.
@@ -24692,7 +24692,8 @@
24692
24692
  }());
24693
24693
 
24694
24694
  var DatoProgressBarComponent = /** @class */ (function () {
24695
- function DatoProgressBarComponent() {
24695
+ function DatoProgressBarComponent(cdr) {
24696
+ this.cdr = cdr;
24696
24697
  this.barColor = 'primary-100';
24697
24698
  this.thresholds = [33, 66];
24698
24699
  }
@@ -24714,6 +24715,7 @@
24714
24715
  (changes.color && !changes.color.firstChange) ||
24715
24716
  (changes.tooltip && !changes.tooltip.firstChange))) {
24716
24717
  this.initSinglePart();
24718
+ this.cdr.detectChanges();
24717
24719
  }
24718
24720
  };
24719
24721
  DatoProgressBarComponent.prototype.initSinglePart = function () {
@@ -24768,6 +24770,9 @@
24768
24770
  }
24769
24771
  }
24770
24772
  };
24773
+ DatoProgressBarComponent.ctorParameters = function () { return [
24774
+ { type: core.ChangeDetectorRef }
24775
+ ]; };
24771
24776
  __decorate([
24772
24777
  core.Input(),
24773
24778
  __metadata("design:type", String)
@@ -24807,7 +24812,8 @@
24807
24812
  changeDetection: core.ChangeDetectionStrategy.OnPush,
24808
24813
  encapsulation: core.ViewEncapsulation.None,
24809
24814
  styles: ["dato-progress-bar .bar{height:8px;border-radius:4px}dato-progress-bar .part{border-radius:0 4px 4px 0}dato-progress-bar .part:not(:first-child){margin-left:-8px}dato-progress-bar .legend-color{width:16px;height:16px;min-width:16px;border-radius:50%}"]
24810
- })
24815
+ }),
24816
+ __metadata("design:paramtypes", [core.ChangeDetectorRef])
24811
24817
  ], DatoProgressBarComponent);
24812
24818
  return DatoProgressBarComponent;
24813
24819
  }());