@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.
- package/bundles/datorama-core.umd.js +8 -2
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +1 -1
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.metadata.json +1 -1
- package/esm2015/lib/progress-bar/progress-bar.component.js +10 -4
- package/esm5/lib/progress-bar/progress-bar.component.js +10 -4
- package/fesm2015/datorama-core.js +8 -2
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +8 -2
- package/fesm5/datorama-core.js.map +1 -1
- package/lib/progress-bar/progress-bar.component.d.ts +3 -1
- package/package.json +1 -1
package/fesm5/datorama-core.js
CHANGED
|
@@ -24493,7 +24493,8 @@ var DatoPillsModule = /** @class */ (function () {
|
|
|
24493
24493
|
}());
|
|
24494
24494
|
|
|
24495
24495
|
var DatoProgressBarComponent = /** @class */ (function () {
|
|
24496
|
-
function DatoProgressBarComponent() {
|
|
24496
|
+
function DatoProgressBarComponent(cdr) {
|
|
24497
|
+
this.cdr = cdr;
|
|
24497
24498
|
this.barColor = 'primary-100';
|
|
24498
24499
|
this.thresholds = [33, 66];
|
|
24499
24500
|
}
|
|
@@ -24515,6 +24516,7 @@ var DatoProgressBarComponent = /** @class */ (function () {
|
|
|
24515
24516
|
(changes.color && !changes.color.firstChange) ||
|
|
24516
24517
|
(changes.tooltip && !changes.tooltip.firstChange))) {
|
|
24517
24518
|
this.initSinglePart();
|
|
24519
|
+
this.cdr.detectChanges();
|
|
24518
24520
|
}
|
|
24519
24521
|
};
|
|
24520
24522
|
DatoProgressBarComponent.prototype.initSinglePart = function () {
|
|
@@ -24569,6 +24571,9 @@ var DatoProgressBarComponent = /** @class */ (function () {
|
|
|
24569
24571
|
}
|
|
24570
24572
|
}
|
|
24571
24573
|
};
|
|
24574
|
+
DatoProgressBarComponent.ctorParameters = function () { return [
|
|
24575
|
+
{ type: ChangeDetectorRef }
|
|
24576
|
+
]; };
|
|
24572
24577
|
__decorate([
|
|
24573
24578
|
Input(),
|
|
24574
24579
|
__metadata("design:type", String)
|
|
@@ -24608,7 +24613,8 @@ var DatoProgressBarComponent = /** @class */ (function () {
|
|
|
24608
24613
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
24609
24614
|
encapsulation: ViewEncapsulation.None,
|
|
24610
24615
|
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%}"]
|
|
24611
|
-
})
|
|
24616
|
+
}),
|
|
24617
|
+
__metadata("design:paramtypes", [ChangeDetectorRef])
|
|
24612
24618
|
], DatoProgressBarComponent);
|
|
24613
24619
|
return DatoProgressBarComponent;
|
|
24614
24620
|
}());
|