@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
|
@@ -22,15 +22,21 @@ export class ProgressBarComponent {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
ProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
-
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}}
|
|
25
|
+
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 " });
|
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
|
-
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}}
|
|
28
|
+
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 " }]
|
|
29
29
|
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
30
30
|
type: Input
|
|
31
|
+
}], valueText: [{
|
|
32
|
+
type: Input,
|
|
33
|
+
args: ['value-text']
|
|
31
34
|
}], total: [{
|
|
32
35
|
type: Input
|
|
36
|
+
}], totalText: [{
|
|
37
|
+
type: Input,
|
|
38
|
+
args: ['total-text']
|
|
33
39
|
}], text: [{
|
|
34
40
|
type: Input
|
|
35
41
|
}] } });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLWNvbXBvbmVudHMvc3JjL2xpYi9jb250cm9scy9wcm9ncmVzcy1iYXIvcHJvZ3Jlc3MtYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLWNvbXBvbmVudHMvc3JjL2xpYi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MDA7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRoaXMucGVyY2VudGFnZSA9IDA7XG4gICAgfVxuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwiZmxleCBncmlkIGdyaWQtY29scy0xXCI+XG4gICAgPGRpdiBjbGFzcz1cInRleHQteHMgbXQtMiB0cnVuY2F0ZSB0ZXh0LWVsbGlwc2lzXCI+e3t0ZXh0fX0ge3t2YWx1ZVRleHQgPz8gdmFsdWV9fS97e3RvdGFsVGV4dCA/PyB0b3RhbH19IDwvZGl2PlxuICAgIDxkaXYgY2xhc3M9XCJmbGV4IG10LTEgaC00IHJvdW5kZWQtbWQgYmFja2Ryb3AtYmx1ci1zbSBiZy1zbGF0ZS0yMDAvMjVcIj5cbiAgICAgIDxkaXYgY2xhc3M9XCJoLTIgbS0xIHJvdW5kZWQtbWQgYmctc2t5LTIwMCB0cmFuc2l0aW9uLVt3aWR0aF0gZWFzZSBkdXJhdGlvbi0zMDAgdHJhbnNmb3JtXCIgW3N0eWxlXT1cIid3aWR0aDonICsgcGVyY2VudGFnZSArICclJyBcIj48L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gICJdfQ==
|
|
@@ -2702,14 +2702,20 @@ class ProgressBarComponent {
|
|
|
2702
2702
|
}
|
|
2703
2703
|
}
|
|
2704
2704
|
ProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2705
|
-
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}}
|
|
2705
|
+
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 " });
|
|
2706
2706
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.3", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
2707
2707
|
type: Component,
|
|
2708
|
-
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}}
|
|
2708
|
+
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 " }]
|
|
2709
2709
|
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
2710
2710
|
type: Input
|
|
2711
|
+
}], valueText: [{
|
|
2712
|
+
type: Input,
|
|
2713
|
+
args: ['value-text']
|
|
2711
2714
|
}], total: [{
|
|
2712
2715
|
type: Input
|
|
2716
|
+
}], totalText: [{
|
|
2717
|
+
type: Input,
|
|
2718
|
+
args: ['total-text']
|
|
2713
2719
|
}], text: [{
|
|
2714
2720
|
type: Input
|
|
2715
2721
|
}] } });
|