@osovitny/anatoly 2.14.48 → 2.14.49
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/ui/components/nodata/nodata.component.mjs +9 -10
- package/fesm2015/osovitny-anatoly.mjs +8 -9
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +8 -9
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/ui/components/nodata/nodata.component.d.ts +4 -4
- package/package.json +1 -1
|
@@ -3220,25 +3220,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3220
3220
|
*/
|
|
3221
3221
|
class NodataComponent {
|
|
3222
3222
|
constructor() {
|
|
3223
|
-
|
|
3224
|
-
this.
|
|
3225
|
-
this.
|
|
3226
|
-
this.datafound = false;
|
|
3223
|
+
this.dataLoading = false;
|
|
3224
|
+
this.dataLoaded = false;
|
|
3225
|
+
this.dataFound = false;
|
|
3227
3226
|
this.icon = 'fas fa-cubes fa-w-16 fa-9x';
|
|
3228
3227
|
this.heading = 'No data found';
|
|
3229
3228
|
this.headingClass = 'text-uppercase text-primary';
|
|
3230
3229
|
}
|
|
3231
3230
|
}
|
|
3232
3231
|
NodataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3233
|
-
NodataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: NodataComponent, selector: "anatoly-nodata", inputs: {
|
|
3232
|
+
NodataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: NodataComponent, selector: "anatoly-nodata", inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", icon: "icon", heading: "heading", headingClass: "headingClass" }, ngImport: i0, template: "<div class=\"no-data\">\r\n <div class='loaded' *ngIf='dataLoaded && !dataFound'>\r\n <i class='{{icon}}'></i>\r\n <h2 class='{{headingClass}}'>{{heading}}</h2>\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3234
3233
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, decorators: [{
|
|
3235
3234
|
type: Component,
|
|
3236
|
-
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\">\r\n <div class='loaded' *ngIf='
|
|
3237
|
-
}], ctorParameters: function () { return []; }, propDecorators: {
|
|
3235
|
+
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\">\r\n <div class='loaded' *ngIf='dataLoaded && !dataFound'>\r\n <i class='{{icon}}'></i>\r\n <h2 class='{{headingClass}}'>{{heading}}</h2>\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n" }]
|
|
3236
|
+
}], ctorParameters: function () { return []; }, propDecorators: { dataLoading: [{
|
|
3238
3237
|
type: Input
|
|
3239
|
-
}],
|
|
3238
|
+
}], dataLoaded: [{
|
|
3240
3239
|
type: Input
|
|
3241
|
-
}],
|
|
3240
|
+
}], dataFound: [{
|
|
3242
3241
|
type: Input
|
|
3243
3242
|
}], icon: [{
|
|
3244
3243
|
type: Input
|