@indice/ng-components 0.2.173-beta.10 → 0.2.173-beta.11
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/esm2020/lib/controls/progress-bar/progress-bar.component.mjs +9 -3
- package/fesm2015/indice-ng-components.mjs +8 -2
- package/fesm2015/indice-ng-components.mjs.map +1 -1
- package/fesm2020/indice-ng-components.mjs +8 -2
- package/fesm2020/indice-ng-components.mjs.map +1 -1
- package/lib/controls/progress-bar/progress-bar.component.d.ts +3 -1
- package/package.json +1 -1
|
@@ -2660,14 +2660,20 @@ class ProgressBarComponent {
|
|
|
2660
2660
|
}
|
|
2661
2661
|
}
|
|
2662
2662
|
ProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2663
|
-
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: ProgressBarComponent, selector: "lib-progress-bar", inputs: { value: "value", total: "total", text: "text" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"flex grid grid-cols-1\">\n <div class=\"text-xs mt-2 truncate text-ellipsis\">{{value}}/{{total}}
|
|
2663
|
+
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.3", type: ProgressBarComponent, selector: "lib-progress-bar", inputs: { value: "value", valueText: ["value-text", "valueText"], total: "total", totalText: ["total-text", "totalText"], text: "text" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"flex grid grid-cols-1\">\n <div class=\"text-xs mt-2 truncate text-ellipsis\">{{text}} {{valueText ?? value}}/{{totalText ?? total}} </div>\n <div class=\"flex mt-1 h-4 rounded-md backdrop-blur-sm bg-slate-200/25\">\n <div class=\"h-2 m-1 rounded-md bg-sky-200 transition-[width] ease duration-300 transform\" [style]=\"'width:' + percentage + '%' \"></div>\n </div>\n </div>\n " });
|
|
2664
2664
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
2665
2665
|
type: Component,
|
|
2666
|
-
args: [{ selector: 'lib-progress-bar', template: "<div class=\"flex grid grid-cols-1\">\n <div class=\"text-xs mt-2 truncate text-ellipsis\">{{value}}/{{total}}
|
|
2666
|
+
args: [{ selector: 'lib-progress-bar', template: "<div class=\"flex grid grid-cols-1\">\n <div class=\"text-xs mt-2 truncate text-ellipsis\">{{text}} {{valueText ?? value}}/{{totalText ?? total}} </div>\n <div class=\"flex mt-1 h-4 rounded-md backdrop-blur-sm bg-slate-200/25\">\n <div class=\"h-2 m-1 rounded-md bg-sky-200 transition-[width] ease duration-300 transform\" [style]=\"'width:' + percentage + '%' \"></div>\n </div>\n </div>\n " }]
|
|
2667
2667
|
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
2668
2668
|
type: Input
|
|
2669
|
+
}], valueText: [{
|
|
2670
|
+
type: Input,
|
|
2671
|
+
args: ['value-text']
|
|
2669
2672
|
}], total: [{
|
|
2670
2673
|
type: Input
|
|
2674
|
+
}], totalText: [{
|
|
2675
|
+
type: Input,
|
|
2676
|
+
args: ['total-text']
|
|
2671
2677
|
}], text: [{
|
|
2672
2678
|
type: Input
|
|
2673
2679
|
}] } });
|