@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
|
@@ -19,25 +19,24 @@ import * as i0 from "@angular/core";
|
|
|
19
19
|
import * as i1 from "@angular/common";
|
|
20
20
|
export class NodataComponent {
|
|
21
21
|
constructor() {
|
|
22
|
-
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.datafound = false;
|
|
22
|
+
this.dataLoading = false;
|
|
23
|
+
this.dataLoaded = false;
|
|
24
|
+
this.dataFound = false;
|
|
26
25
|
this.icon = 'fas fa-cubes fa-w-16 fa-9x';
|
|
27
26
|
this.heading = 'No data found';
|
|
28
27
|
this.headingClass = 'text-uppercase text-primary';
|
|
29
28
|
}
|
|
30
29
|
}
|
|
31
30
|
NodataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
-
NodataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: NodataComponent, selector: "anatoly-nodata", inputs: {
|
|
31
|
+
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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
33
32
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, decorators: [{
|
|
34
33
|
type: Component,
|
|
35
|
-
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\">\r\n <div class='loaded' *ngIf='
|
|
36
|
-
}], ctorParameters: function () { return []; }, propDecorators: {
|
|
34
|
+
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" }]
|
|
35
|
+
}], ctorParameters: function () { return []; }, propDecorators: { dataLoading: [{
|
|
37
36
|
type: Input
|
|
38
|
-
}],
|
|
37
|
+
}], dataLoaded: [{
|
|
39
38
|
type: Input
|
|
40
|
-
}],
|
|
39
|
+
}], dataFound: [{
|
|
41
40
|
type: Input
|
|
42
41
|
}], icon: [{
|
|
43
42
|
type: Input
|
|
@@ -46,4 +45,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
46
45
|
}], headingClass: [{
|
|
47
46
|
type: Input
|
|
48
47
|
}] } });
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kYXRhLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuYXRvbHkvc3JjL2xpYi91aS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cz0ne3toZWFkaW5nQ2xhc3N9fSc+e3toZWFkaW5nfX08L2gyPlxyXG4gICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -3209,25 +3209,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3209
3209
|
*/
|
|
3210
3210
|
class NodataComponent {
|
|
3211
3211
|
constructor() {
|
|
3212
|
-
|
|
3213
|
-
this.
|
|
3214
|
-
this.
|
|
3215
|
-
this.datafound = false;
|
|
3212
|
+
this.dataLoading = false;
|
|
3213
|
+
this.dataLoaded = false;
|
|
3214
|
+
this.dataFound = false;
|
|
3216
3215
|
this.icon = 'fas fa-cubes fa-w-16 fa-9x';
|
|
3217
3216
|
this.heading = 'No data found';
|
|
3218
3217
|
this.headingClass = 'text-uppercase text-primary';
|
|
3219
3218
|
}
|
|
3220
3219
|
}
|
|
3221
3220
|
NodataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3222
|
-
NodataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: NodataComponent, selector: "anatoly-nodata", inputs: {
|
|
3221
|
+
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"] }] });
|
|
3223
3222
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, decorators: [{
|
|
3224
3223
|
type: Component,
|
|
3225
|
-
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\">\r\n <div class='loaded' *ngIf='
|
|
3226
|
-
}], ctorParameters: function () { return []; }, propDecorators: {
|
|
3224
|
+
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" }]
|
|
3225
|
+
}], ctorParameters: function () { return []; }, propDecorators: { dataLoading: [{
|
|
3227
3226
|
type: Input
|
|
3228
|
-
}],
|
|
3227
|
+
}], dataLoaded: [{
|
|
3229
3228
|
type: Input
|
|
3230
|
-
}],
|
|
3229
|
+
}], dataFound: [{
|
|
3231
3230
|
type: Input
|
|
3232
3231
|
}], icon: [{
|
|
3233
3232
|
type: Input
|