@osovitny/anatoly 2.14.36 → 2.14.37
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/assets/styles/styles.scss +7 -2
- package/esm2020/lib/ui/components/nodata/nodata.component.mjs +15 -4
- package/fesm2015/osovitny-anatoly.mjs +13 -3
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +13 -3
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/ui/components/nodata/nodata.component.d.ts +5 -1
- package/package.json +1 -1
|
@@ -15,9 +15,14 @@
|
|
|
15
15
|
no data
|
|
16
16
|
*******************/
|
|
17
17
|
.no-data {
|
|
18
|
-
display:
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
align-content: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
text-align: center;
|
|
19
23
|
|
|
20
|
-
|
|
24
|
+
.loading,
|
|
25
|
+
.loaded {
|
|
21
26
|
padding: 30px;
|
|
22
27
|
|
|
23
28
|
svg,
|
|
@@ -16,23 +16,34 @@
|
|
|
16
16
|
//Node
|
|
17
17
|
import { Component, Input } from '@angular/core';
|
|
18
18
|
import * as i0 from "@angular/core";
|
|
19
|
+
import * as i1 from "@angular/common";
|
|
19
20
|
export class NodataComponent {
|
|
20
21
|
constructor() {
|
|
22
|
+
//Inputs
|
|
23
|
+
this.loading = false;
|
|
24
|
+
this.loaded = false;
|
|
25
|
+
this.datafound = false;
|
|
21
26
|
this.icon = 'fas fa-cubes fa-w-16 fa-9x';
|
|
22
27
|
this.heading = 'No data found';
|
|
23
28
|
this.headingClass = 'text-uppercase text-primary';
|
|
24
29
|
}
|
|
25
30
|
}
|
|
26
31
|
NodataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
-
NodataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: NodataComponent, selector: "anatoly-nodata", inputs: { icon: "icon", heading: "heading", headingClass: "headingClass" }, ngImport: i0, template: "<div class=\"no-data\">\r\n <div class
|
|
32
|
+
NodataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: NodataComponent, selector: "anatoly-nodata", inputs: { loading: "loading", loaded: "loaded", datafound: "datafound", icon: "icon", heading: "heading", headingClass: "headingClass" }, ngImport: i0, template: "<div class=\"no-data\">\r\n <div class='loaded' *ngIf='loaded && !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"] }] });
|
|
28
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, decorators: [{
|
|
29
34
|
type: Component,
|
|
30
|
-
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\">\r\n <div class
|
|
31
|
-
}], propDecorators: {
|
|
35
|
+
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\">\r\n <div class='loaded' *ngIf='loaded && !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" }]
|
|
36
|
+
}], ctorParameters: function () { return []; }, propDecorators: { loading: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], loaded: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}], datafound: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}], icon: [{
|
|
32
43
|
type: Input
|
|
33
44
|
}], heading: [{
|
|
34
45
|
type: Input
|
|
35
46
|
}], headingClass: [{
|
|
36
47
|
type: Input
|
|
37
48
|
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clxuICBjb25zdHJ1Y3RvcigpIHtcclxuICB9XHJcbn1cclxuIiwiPGRpdiBjbGFzcz1cIm5vLWRhdGFcIj5cclxuICA8ZGl2IGNsYXNzPSdsb2FkZWQnICpuZ0lmPSdsb2FkZWQgJiYgIWRhdGFmb3VuZCc+XHJcbiAgICA8aSBjbGFzcz0ne3tpY29ufX0nPjwvaT5cclxuICAgIDxoMiBjbGFzcz0ne3toZWFkaW5nQ2xhc3N9fSc+e3toZWFkaW5nfX08L2gyPlxyXG4gICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -3165,17 +3165,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3165
3165
|
*/
|
|
3166
3166
|
class NodataComponent {
|
|
3167
3167
|
constructor() {
|
|
3168
|
+
//Inputs
|
|
3169
|
+
this.loading = false;
|
|
3170
|
+
this.loaded = false;
|
|
3171
|
+
this.datafound = false;
|
|
3168
3172
|
this.icon = 'fas fa-cubes fa-w-16 fa-9x';
|
|
3169
3173
|
this.heading = 'No data found';
|
|
3170
3174
|
this.headingClass = 'text-uppercase text-primary';
|
|
3171
3175
|
}
|
|
3172
3176
|
}
|
|
3173
3177
|
NodataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3174
|
-
NodataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: NodataComponent, selector: "anatoly-nodata", inputs: { icon: "icon", heading: "heading", headingClass: "headingClass" }, ngImport: i0, template: "<div class=\"no-data\">\r\n <div class
|
|
3178
|
+
NodataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: NodataComponent, selector: "anatoly-nodata", inputs: { loading: "loading", loaded: "loaded", datafound: "datafound", icon: "icon", heading: "heading", headingClass: "headingClass" }, ngImport: i0, template: "<div class=\"no-data\">\r\n <div class='loaded' *ngIf='loaded && !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"] }] });
|
|
3175
3179
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, decorators: [{
|
|
3176
3180
|
type: Component,
|
|
3177
|
-
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\">\r\n <div class
|
|
3178
|
-
}], propDecorators: {
|
|
3181
|
+
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\">\r\n <div class='loaded' *ngIf='loaded && !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" }]
|
|
3182
|
+
}], ctorParameters: function () { return []; }, propDecorators: { loading: [{
|
|
3183
|
+
type: Input
|
|
3184
|
+
}], loaded: [{
|
|
3185
|
+
type: Input
|
|
3186
|
+
}], datafound: [{
|
|
3187
|
+
type: Input
|
|
3188
|
+
}], icon: [{
|
|
3179
3189
|
type: Input
|
|
3180
3190
|
}], heading: [{
|
|
3181
3191
|
type: Input
|