@osovitny/anatoly 3.17.105 → 3.17.106
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.
|
@@ -18,7 +18,7 @@ import { Component, Input } from '@angular/core';
|
|
|
18
18
|
import * as i0 from "@angular/core";
|
|
19
19
|
import * as i1 from "@angular/common";
|
|
20
20
|
import * as i2 from "@fortawesome/angular-fontawesome";
|
|
21
|
-
function
|
|
21
|
+
function NodataComponent_Conditional_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
22
22
|
i0.ɵɵelementStart(0, "div");
|
|
23
23
|
i0.ɵɵelement(1, "fa-icon", 5);
|
|
24
24
|
i0.ɵɵelementEnd();
|
|
@@ -27,9 +27,9 @@ function NodataComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
27
27
|
i0.ɵɵadvance();
|
|
28
28
|
i0.ɵɵproperty("icon", ctx_r1.icon)("size", ctx_r1.iconSize);
|
|
29
29
|
} }
|
|
30
|
-
function
|
|
30
|
+
function NodataComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
31
31
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
32
|
-
i0.ɵɵtemplate(2,
|
|
32
|
+
i0.ɵɵtemplate(2, NodataComponent_Conditional_0_div_2_Template, 2, 2, "div", 3);
|
|
33
33
|
i0.ɵɵelementStart(3, "h3", 4);
|
|
34
34
|
i0.ɵɵtext(4);
|
|
35
35
|
i0.ɵɵelementEnd();
|
|
@@ -45,24 +45,21 @@ function NodataComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
45
45
|
const _c0 = ["*"];
|
|
46
46
|
export class NodataComponent {
|
|
47
47
|
constructor() {
|
|
48
|
-
this.dataLoading = false;
|
|
49
|
-
this.dataLoaded = false;
|
|
50
|
-
this.dataFound = false;
|
|
51
48
|
this.iconSize = '10x';
|
|
52
49
|
this.heading = 'No data found';
|
|
53
50
|
}
|
|
54
51
|
static { this.ɵfac = function NodataComponent_Factory(t) { return new (t || NodataComponent)(); }; }
|
|
55
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodataComponent, selectors: [["anatoly-nodata"]], inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", icon: "icon", iconSize: "iconSize", heading: "heading" }, ngContentSelectors: _c0, decls: 1, vars: 1, consts: [["class", "no-data"
|
|
52
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodataComponent, selectors: [["anatoly-nodata"]], inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", icon: "icon", iconSize: "iconSize", heading: "heading" }, ngContentSelectors: _c0, decls: 1, vars: 1, consts: [["class", "no-data"], [1, "no-data"], [1, "loaded", "text-info"], [4, "ngIf"], [1, "no-data-heading"], [3, "icon", "size"]], template: function NodataComponent_Template(rf, ctx) { if (rf & 1) {
|
|
56
53
|
i0.ɵɵprojectionDef();
|
|
57
|
-
i0.ɵɵtemplate(0,
|
|
54
|
+
i0.ɵɵtemplate(0, NodataComponent_Conditional_0_Template, 6, 2, "div", 0);
|
|
58
55
|
} if (rf & 2) {
|
|
59
|
-
i0.ɵɵ
|
|
56
|
+
i0.ɵɵconditional(0, !ctx.dataLoading && ctx.dataLoaded && !ctx.dataFound ? 0 : -1);
|
|
60
57
|
} }, dependencies: [i1.NgIf, i2.FaIconComponent], encapsulation: 2 }); }
|
|
61
58
|
}
|
|
62
59
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
63
60
|
type: Component,
|
|
64
|
-
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\"
|
|
65
|
-
}],
|
|
61
|
+
args: [{ selector: 'anatoly-nodata', template: "@if (!dataLoading && dataLoaded && !dataFound) {\r\n <div class=\"no-data\">\r\n <div class='loaded text-info'>\r\n <div *ngIf='icon'>\r\n <fa-icon [icon]=\"icon\" [size]=\"iconSize\"></fa-icon>\r\n </div>\r\n <h3 class='no-data-heading'>{{heading}}</h3>\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n}\r\n" }]
|
|
62
|
+
}], null, { dataLoading: [{
|
|
66
63
|
type: Input
|
|
67
64
|
}], dataLoaded: [{
|
|
68
65
|
type: Input
|
|
@@ -76,4 +73,4 @@ export class NodataComponent {
|
|
|
76
73
|
type: Input
|
|
77
74
|
}] }); })();
|
|
78
75
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NodataComponent, { className: "NodataComponent", filePath: "lib\\ui\\components\\nodata\\nodata.component.ts", lineNumber: 25 }); })();
|
|
79
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kYXRhLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuYXRvbHkvc3JjL2xpYi91aS9jb21wb25lbnRzL25vZGF0YS9ub2RhdGEuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5hdG9seS9zcmMvbGliL3VpL2NvbXBvbmVudHMvbm9kYXRhL25vZGF0YS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7RUFjRTtBQUVGLE1BQU07QUFDTixPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7SUNkM0MsMkJBQWtCO0lBQ2hCLDZCQUFtRDtJQUNyRCxpQkFBTTs7O0lBREssY0FBYTtJQUFiLGtDQUFhLHlCQUFBOzs7SUFINUIsOEJBQXFCLGFBQUE7SUFFakIsOEVBRU07SUFDTiw2Q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2NvcmUnO1xyXG5pbXBvcnQgeyBTaXplUHJvcCB9IGZyb20gJ0Bmb3J0YXdlc29tZS9mb250YXdlc29tZS1zdmctY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2FuYXRvbHktbm9kYXRhJyxcclxuICB0ZW1wbGF0ZVVybDogJy4vbm9kYXRhLmNvbXBvbmVudC5odG1sJ1xyXG59KVxyXG5leHBvcnQgY2xhc3MgTm9kYXRhQ29tcG9uZW50IHtcclxuICBASW5wdXQoKSBkYXRhTG9hZGluZztcclxuICBASW5wdXQoKSBkYXRhTG9hZGVkO1xyXG4gIEBJbnB1dCgpIGRhdGFGb3VuZDtcclxuXHJcbiAgQElucHV0KCkgaWNvbjtcclxuICBASW5wdXQoKSBpY29uU2l6ZTogU2l6ZVByb3AgPSAnMTB4JztcclxuICBASW5wdXQoKSBoZWFkaW5nOiBzdHJpbmcgPSAnTm8gZGF0YSBmb3VuZCc7XHJcbn1cclxuIiwiQGlmICghZGF0YUxvYWRpbmcgJiYgZGF0YUxvYWRlZCAmJiAhZGF0YUZvdW5kKSB7XHJcbiAgPGRpdiBjbGFzcz1cIm5vLWRhdGFcIj5cclxuICAgIDxkaXYgY2xhc3M9J2xvYWRlZCB0ZXh0LWluZm8nPlxyXG4gICAgICA8ZGl2ICpuZ0lmPSdpY29uJz5cclxuICAgICAgICA8ZmEtaWNvbiBbaWNvbl09XCJpY29uXCIgW3NpemVdPVwiaWNvblNpemVcIj48L2ZhLWljb24+XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgICA8aDMgY2xhc3M9J25vLWRhdGEtaGVhZGluZyc+e3toZWFkaW5nfX08L2gzPlxyXG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxufVxyXG4iXX0=
|
|
@@ -7878,7 +7878,7 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
7878
7878
|
</file>
|
|
7879
7879
|
*/
|
|
7880
7880
|
//Node
|
|
7881
|
-
function
|
|
7881
|
+
function NodataComponent_Conditional_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
7882
7882
|
i0.ɵɵelementStart(0, "div");
|
|
7883
7883
|
i0.ɵɵelement(1, "fa-icon", 5);
|
|
7884
7884
|
i0.ɵɵelementEnd();
|
|
@@ -7887,9 +7887,9 @@ function NodataComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
7887
7887
|
i0.ɵɵadvance();
|
|
7888
7888
|
i0.ɵɵproperty("icon", ctx_r1.icon)("size", ctx_r1.iconSize);
|
|
7889
7889
|
} }
|
|
7890
|
-
function
|
|
7890
|
+
function NodataComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
7891
7891
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
7892
|
-
i0.ɵɵtemplate(2,
|
|
7892
|
+
i0.ɵɵtemplate(2, NodataComponent_Conditional_0_div_2_Template, 2, 2, "div", 3);
|
|
7893
7893
|
i0.ɵɵelementStart(3, "h3", 4);
|
|
7894
7894
|
i0.ɵɵtext(4);
|
|
7895
7895
|
i0.ɵɵelementEnd();
|
|
@@ -7905,24 +7905,21 @@ function NodataComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
7905
7905
|
const _c0$5 = ["*"];
|
|
7906
7906
|
class NodataComponent {
|
|
7907
7907
|
constructor() {
|
|
7908
|
-
this.dataLoading = false;
|
|
7909
|
-
this.dataLoaded = false;
|
|
7910
|
-
this.dataFound = false;
|
|
7911
7908
|
this.iconSize = '10x';
|
|
7912
7909
|
this.heading = 'No data found';
|
|
7913
7910
|
}
|
|
7914
7911
|
static { this.ɵfac = function NodataComponent_Factory(t) { return new (t || NodataComponent)(); }; }
|
|
7915
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodataComponent, selectors: [["anatoly-nodata"]], inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", icon: "icon", iconSize: "iconSize", heading: "heading" }, ngContentSelectors: _c0$5, decls: 1, vars: 1, consts: [["class", "no-data"
|
|
7912
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodataComponent, selectors: [["anatoly-nodata"]], inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", icon: "icon", iconSize: "iconSize", heading: "heading" }, ngContentSelectors: _c0$5, decls: 1, vars: 1, consts: [["class", "no-data"], [1, "no-data"], [1, "loaded", "text-info"], [4, "ngIf"], [1, "no-data-heading"], [3, "icon", "size"]], template: function NodataComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7916
7913
|
i0.ɵɵprojectionDef();
|
|
7917
|
-
i0.ɵɵtemplate(0,
|
|
7914
|
+
i0.ɵɵtemplate(0, NodataComponent_Conditional_0_Template, 6, 2, "div", 0);
|
|
7918
7915
|
} if (rf & 2) {
|
|
7919
|
-
i0.ɵɵ
|
|
7916
|
+
i0.ɵɵconditional(0, !ctx.dataLoading && ctx.dataLoaded && !ctx.dataFound ? 0 : -1);
|
|
7920
7917
|
} }, dependencies: [i1$2.NgIf, i1$6.FaIconComponent], encapsulation: 2 }); }
|
|
7921
7918
|
}
|
|
7922
7919
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
7923
7920
|
type: Component,
|
|
7924
|
-
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\"
|
|
7925
|
-
}],
|
|
7921
|
+
args: [{ selector: 'anatoly-nodata', template: "@if (!dataLoading && dataLoaded && !dataFound) {\r\n <div class=\"no-data\">\r\n <div class='loaded text-info'>\r\n <div *ngIf='icon'>\r\n <fa-icon [icon]=\"icon\" [size]=\"iconSize\"></fa-icon>\r\n </div>\r\n <h3 class='no-data-heading'>{{heading}}</h3>\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n}\r\n" }]
|
|
7922
|
+
}], null, { dataLoading: [{
|
|
7926
7923
|
type: Input
|
|
7927
7924
|
}], dataLoaded: [{
|
|
7928
7925
|
type: Input
|