@osovitny/anatoly 3.17.32 → 3.17.34
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/esm2022/lib/ui/components/nodata/nodata.component.mjs +23 -7
- package/esm2022/lib/ui/components/urlslug/urlslug.component.mjs +24 -24
- package/fesm2022/osovitny-anatoly.mjs +45 -29
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/lib/ui/components/nodata/nodata.component.d.ts +4 -1
- package/package.json +1 -1
|
@@ -18,9 +18,18 @@ 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 NodataComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
22
|
+
i0.ɵɵelementStart(0, "div");
|
|
23
|
+
i0.ɵɵelement(1, "fa-icon", 4);
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
} if (rf & 2) {
|
|
26
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
27
|
+
i0.ɵɵadvance();
|
|
28
|
+
i0.ɵɵproperty("icon", ctx_r1.icon)("size", ctx_r1.iconSize);
|
|
29
|
+
} }
|
|
21
30
|
function NodataComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
22
31
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
23
|
-
i0.ɵɵ
|
|
32
|
+
i0.ɵɵtemplate(2, NodataComponent_div_0_div_2_Template, 2, 2, "div", 3);
|
|
24
33
|
i0.ɵɵelementStart(3, "h3");
|
|
25
34
|
i0.ɵɵtext(4);
|
|
26
35
|
i0.ɵɵelementEnd();
|
|
@@ -28,7 +37,9 @@ function NodataComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
28
37
|
i0.ɵɵelementEnd()();
|
|
29
38
|
} if (rf & 2) {
|
|
30
39
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
31
|
-
i0.ɵɵadvance(
|
|
40
|
+
i0.ɵɵadvance(2);
|
|
41
|
+
i0.ɵɵproperty("ngIf", ctx_r0.icon);
|
|
42
|
+
i0.ɵɵadvance();
|
|
32
43
|
i0.ɵɵclassMap(ctx_r0.headingClass);
|
|
33
44
|
i0.ɵɵadvance();
|
|
34
45
|
i0.ɵɵtextInterpolate(ctx_r0.heading);
|
|
@@ -39,30 +50,35 @@ export class NodataComponent {
|
|
|
39
50
|
this.dataLoading = false;
|
|
40
51
|
this.dataLoaded = false;
|
|
41
52
|
this.dataFound = false;
|
|
53
|
+
this.iconSize = '10x';
|
|
42
54
|
this.heading = 'No data found';
|
|
43
55
|
this.headingClass = 'text-uppercase';
|
|
44
56
|
}
|
|
45
57
|
static { this.ɵfac = function NodataComponent_Factory(t) { return new (t || NodataComponent)(); }; }
|
|
46
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodataComponent, selectors: [["anatoly-nodata"]], inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", heading: "heading", headingClass: "headingClass" }, ngContentSelectors: _c0, decls: 1, vars: 1, consts: [["class", "no-data", 4, "ngIf"], [1, "no-data"], [1, "loaded", "text-info"], [
|
|
58
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodataComponent, selectors: [["anatoly-nodata"]], inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", icon: "icon", iconSize: "iconSize", heading: "heading", headingClass: "headingClass" }, ngContentSelectors: _c0, decls: 1, vars: 1, consts: [["class", "no-data", 4, "ngIf"], [1, "no-data"], [1, "loaded", "text-info"], [4, "ngIf"], [3, "icon", "size"]], template: function NodataComponent_Template(rf, ctx) { if (rf & 1) {
|
|
47
59
|
i0.ɵɵprojectionDef();
|
|
48
|
-
i0.ɵɵtemplate(0, NodataComponent_div_0_Template, 6,
|
|
60
|
+
i0.ɵɵtemplate(0, NodataComponent_div_0_Template, 6, 5, "div", 0);
|
|
49
61
|
} if (rf & 2) {
|
|
50
62
|
i0.ɵɵproperty("ngIf", ctx.dataLoaded && !ctx.dataFound);
|
|
51
63
|
} }, dependencies: [i1.NgIf, i2.FaIconComponent], encapsulation: 2 }); }
|
|
52
64
|
}
|
|
53
65
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
54
66
|
type: Component,
|
|
55
|
-
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\" *ngIf='dataLoaded && !dataFound'>\r\n <div class='loaded text-info'>\r\n <fa-icon icon=\"
|
|
67
|
+
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\" *ngIf='dataLoaded && !dataFound'>\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='{{headingClass}}'>{{heading}}</h3>\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n" }]
|
|
56
68
|
}], () => [], { dataLoading: [{
|
|
57
69
|
type: Input
|
|
58
70
|
}], dataLoaded: [{
|
|
59
71
|
type: Input
|
|
60
72
|
}], dataFound: [{
|
|
61
73
|
type: Input
|
|
74
|
+
}], icon: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], iconSize: [{
|
|
77
|
+
type: Input
|
|
62
78
|
}], heading: [{
|
|
63
79
|
type: Input
|
|
64
80
|
}], headingClass: [{
|
|
65
81
|
type: Input
|
|
66
82
|
}] }); })();
|
|
67
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NodataComponent, { className: "NodataComponent", filePath: "lib\\ui\\components\\nodata\\nodata.component.ts", lineNumber:
|
|
68
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
83
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NodataComponent, { className: "NodataComponent", filePath: "lib\\ui\\components\\nodata\\nodata.component.ts", lineNumber: 25 }); })();
|
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kYXRhLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuYXRvbHkvc3JjL2xpYi91aS9jb21wb25lbnRzL25vZGF0YS9ub2RhdGEuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5hdG9seS9zcmMvbGliL3VpL2NvbXBvbmVudHMvbm9kYXRhL25vZGF0YS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7RUFjRTtBQUVGLE1BQU07QUFDTixPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7SUNmN0MsMkJBQWtCO0lBQ2hCLDZCQUFtRDtJQUNyRCxpQkFBTTs7O0lBREssY0FBYTtJQUFiLGtDQUFhLHlCQUFBOzs7SUFINUIsOEJBQXNELGFBQUE7SUFFbEQsc0VBRU07SUFDTiwwQkFBNkI7SUFBQSxZQUFXO0lBQUEsaUJBQUs7SUFDN0Msa0JBQXlCO0lBQzNCLGlCQUFNLEVBQUE7OztJQUxFLGVBQVU7SUFBVixrQ0FBVTtJQUdaLGNBQXdCO0lBQXhCLGtDQUF3QjtJQUFDLGNBQVc7SUFBWCxvQ0FBVzs7O0FEbUI1QyxNQUFNLE9BQU8sZUFBZTtJQVUxQjtRQVRTLGdCQUFXLEdBQVksS0FBSyxDQUFDO1FBQzdCLGVBQVUsR0FBWSxLQUFLLENBQUM7UUFDNUIsY0FBUyxHQUFZLEtBQUssQ0FBQztRQUczQixhQUFRLEdBQWEsS0FBSyx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iAgdGVtcGxhdGVVcmw6ICcuL25vZGF0YS5jb21wb25lbnQuaHRtbCdcclxufSlcclxuZXhwb3J0IGNsYXNzIE5vZGF0YUNvbXBvbmVudCB7XHJcbiAgQElucHV0KCkgZGF0YUxvYWRpbmc6IGJvb2xlYW4gPSBmYWxzZTtcclxuICBASW5wdXQoKSBkYXRhTG9hZGVkOiBib29sZWFuID0gZmFsc2U7XHJcbiAgQElucHV0KCkgZGF0YUZvdW5kOiBib29sZWFuID0gZmFsc2U7XHJcblxyXG4gIEBJbnB1dCgpIGljb247XHJcbiAgQElucHV0KCkgaWNvblNpemU6IFNpemVQcm9wID0gJzEweCc7XHJcbiAgQElucHV0KCkgaGVhZGluZzogc3RyaW5nID0gJ05vIGRhdGEgZm91bmQnO1xyXG4gIEBJbnB1dCgpIGhlYWRpbmdDbGFzczogc3RyaW5nID0gJ3RleHQtdXBwZXJjYXNlJztcclxuXHJcbiAgY29uc3RydWN0b3IoKSB7XHJcbiAgfVxyXG59XHJcbiIsIjxkaXYgY2xhc3M9XCJuby1kYXRhXCIgKm5nSWY9J2RhdGFMb2FkZWQgJiYgIWRhdGFGb3VuZCc+XHJcbiAgPGRpdiBjbGFzcz0nbG9hZGVkIHRleHQtaW5mbyc+XHJcbiAgICA8ZGl2ICpuZ0lmPSdpY29uJz5cclxuICAgICAgPGZhLWljb24gW2ljb25dPVwiaWNvblwiIFtzaXplXT1cImljb25TaXplXCI+PC9mYS1pY29uPlxyXG4gICAgPC9kaXY+XHJcbiAgICA8aDMgY2xhc3M9J3t7aGVhZGluZ0NsYXNzfX0nPnt7aGVhZGluZ319PC9oMz5cclxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cclxuICA8L2Rpdj5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -23,8 +23,8 @@ import * as i1 from "@angular/common";
|
|
|
23
23
|
import * as i2 from "@angular/forms";
|
|
24
24
|
import * as i3 from "../../directives/native-element.directive";
|
|
25
25
|
import * as i4 from "../../validation/item-validation-summary.component";
|
|
26
|
-
function
|
|
27
|
-
i0.ɵɵelementStart(0, "label");
|
|
26
|
+
function UrlSlugComponent_label_3_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵelementStart(0, "label", 7);
|
|
28
28
|
i0.ɵɵtext(1);
|
|
29
29
|
i0.ɵɵelementEnd();
|
|
30
30
|
} if (rf & 2) {
|
|
@@ -32,13 +32,12 @@ function UrlSlugComponent_label_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
32
32
|
i0.ɵɵadvance();
|
|
33
33
|
i0.ɵɵtextInterpolate(ctx_r0.title);
|
|
34
34
|
} }
|
|
35
|
-
function
|
|
36
|
-
i0.ɵɵelementStart(0, "
|
|
37
|
-
i0.ɵɵtext(
|
|
38
|
-
i0.ɵɵelementEnd()
|
|
35
|
+
function UrlSlugComponent_a_7_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
i0.ɵɵelementStart(0, "a", 8);
|
|
37
|
+
i0.ɵɵtext(1, "Go");
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
39
|
} if (rf & 2) {
|
|
40
40
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
41
|
-
i0.ɵɵadvance();
|
|
42
41
|
i0.ɵɵpropertyInterpolate2("href", "", ctx_r1.urlPrefix, "", ctx_r1.hrefGo, "", i0.ɵɵsanitizeUrl);
|
|
43
42
|
} }
|
|
44
43
|
const _c0 = a0 => ({ "has-error": a0 });
|
|
@@ -84,25 +83,26 @@ export class UrlSlugComponent extends EditComponentBase {
|
|
|
84
83
|
this.generateUrlSlug(text);
|
|
85
84
|
}
|
|
86
85
|
static { this.ɵfac = function UrlSlugComponent_Factory(t) { return new (t || UrlSlugComponent)(); }; }
|
|
87
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UrlSlugComponent, selectors: [["anatoly-urlslug"]], inputs: { urlPrefix: "urlPrefix", isGoButtonVisible: "isGoButtonVisible", watchedControlName: "watchedControlName" }, outputs: { generated: "generated" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
88
|
-
i0.ɵɵelementStart(0, "div", 0)
|
|
89
|
-
i0.ɵɵelement(
|
|
90
|
-
i0.ɵɵelementStart(
|
|
91
|
-
i0.ɵɵtemplate(
|
|
92
|
-
i0.ɵɵelementStart(
|
|
93
|
-
i0.ɵɵtext(
|
|
86
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UrlSlugComponent, selectors: [["anatoly-urlslug"]], inputs: { urlPrefix: "urlPrefix", isGoButtonVisible: "isGoButtonVisible", watchedControlName: "watchedControlName" }, outputs: { generated: "generated" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 12, consts: [[1, "form-group", 3, "formGroup", "ngClass"], [3, "formGroup", "formSubmitted", "formControlName"], [1, "input-group", "permalink", 3, "ngClass"], ["for", "urlPrefixId", 4, "ngIf"], [1, "urlPrefix"], ["type", "text", "id", "urlPrefixId", 1, "form-control", 3, "formControlName", "focusout"], ["class", "btn btn-primary", "target", "_blank", 3, "href", 4, "ngIf"], ["for", "urlPrefixId"], ["target", "_blank", 1, "btn", "btn-primary", 3, "href"]], template: function UrlSlugComponent_Template(rf, ctx) { if (rf & 1) {
|
|
87
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
88
|
+
i0.ɵɵelement(1, "anatoly-item-validation-summary", 1);
|
|
89
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
90
|
+
i0.ɵɵtemplate(3, UrlSlugComponent_label_3_Template, 2, 1, "label", 3);
|
|
91
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
92
|
+
i0.ɵɵtext(5);
|
|
94
93
|
i0.ɵɵelementEnd();
|
|
95
|
-
i0.ɵɵelementStart(
|
|
96
|
-
i0.ɵɵlistener("focusout", function
|
|
97
|
-
i0.ɵɵelementEnd()
|
|
98
|
-
i0.ɵɵtemplate(
|
|
94
|
+
i0.ɵɵelementStart(6, "input", 5);
|
|
95
|
+
i0.ɵɵlistener("focusout", function UrlSlugComponent_Template_input_focusout_6_listener() { return ctx.onUrlSlugChange(); });
|
|
96
|
+
i0.ɵɵelementEnd();
|
|
97
|
+
i0.ɵɵtemplate(7, UrlSlugComponent_a_7_Template, 2, 2, "a", 6);
|
|
99
98
|
i0.ɵɵelementEnd()();
|
|
100
99
|
} if (rf & 2) {
|
|
101
|
-
i0.ɵɵ
|
|
102
|
-
i0.ɵɵ
|
|
103
|
-
i0.ɵɵadvance(2);
|
|
100
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(10, _c0, ctx.isControlInvalid(ctx.controlName)));
|
|
101
|
+
i0.ɵɵadvance();
|
|
104
102
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted)("formControlName", ctx.controlName);
|
|
105
|
-
i0.ɵɵadvance(
|
|
103
|
+
i0.ɵɵadvance();
|
|
104
|
+
i0.ɵɵproperty("ngClass", ctx.classes);
|
|
105
|
+
i0.ɵɵadvance();
|
|
106
106
|
i0.ɵɵproperty("ngIf", ctx.isTitleVisible);
|
|
107
107
|
i0.ɵɵadvance(2);
|
|
108
108
|
i0.ɵɵtextInterpolate(ctx.urlPrefix);
|
|
@@ -114,7 +114,7 @@ export class UrlSlugComponent extends EditComponentBase {
|
|
|
114
114
|
}
|
|
115
115
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
|
|
116
116
|
type: Component,
|
|
117
|
-
args: [{ selector: 'anatoly-urlslug', template: "<div [formGroup]='formGroup' [ngClass]=\"{'has-error': isControlInvalid(controlName)}\"
|
|
117
|
+
args: [{ selector: 'anatoly-urlslug', template: "<div class=\"form-group\" [formGroup]='formGroup' [ngClass]=\"{'has-error': isControlInvalid(controlName)}\" >\r\n <anatoly-item-validation-summary\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n [formControlName]='controlName'>\r\n </anatoly-item-validation-summary>\r\n\r\n <div class=\"input-group permalink\" [ngClass]=\"classes\">\r\n <label for=\"urlPrefixId\" *ngIf='isTitleVisible'>{{ title }}</label>\r\n <div class=\"urlPrefix\">{{ urlPrefix }}</div>\r\n <input type=\"text\" class=\"form-control\" id=\"urlPrefixId\" [formControlName]='controlName' (focusout)='onUrlSlugChange()'>\r\n <a class=\"btn btn-primary\" href=\"{{urlPrefix}}{{hrefGo}}\" target=\"_blank\" *ngIf=\"isGoButtonVisible\" >Go</a>\r\n </div>\r\n</div>\r\n" }]
|
|
118
118
|
}], () => [], { urlPrefix: [{
|
|
119
119
|
type: Input
|
|
120
120
|
}], isGoButtonVisible: [{
|
|
@@ -125,4 +125,4 @@ export class UrlSlugComponent extends EditComponentBase {
|
|
|
125
125
|
type: Output
|
|
126
126
|
}] }); })();
|
|
127
127
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UrlSlugComponent, { className: "UrlSlugComponent", filePath: "lib\\ui\\components\\urlslug\\urlslug.component.ts", lineNumber: 28 }); })();
|
|
128
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
128
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXJsc2x1Zy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvdWkvY29tcG9uZW50cy91cmxzbHVnL3VybHNsdWcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5hdG9seS9zcmMvbGliL3VpL2NvbXBvbmVudHMvdXJsc2x1Zy91cmxzbHVnLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztFQWNFO0FBRUYsTUFBTTtBQUNOLE9BQU8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xhc3M9XCJidG4gYnRuLXByaW1hcnlcIiBocmVmPVwie3t1cmxQcmVmaXh9fXt7aHJlZkdvfX1cIiB0YXJnZXQ9XCJfYmxhbmtcIiAqbmdJZj1cImlzR29CdXR0b25WaXNpYmxlXCIgPkdvPC9hPlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -4782,9 +4782,18 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
4782
4782
|
</file>
|
|
4783
4783
|
*/
|
|
4784
4784
|
//Node
|
|
4785
|
+
function NodataComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
4786
|
+
i0.ɵɵelementStart(0, "div");
|
|
4787
|
+
i0.ɵɵelement(1, "fa-icon", 4);
|
|
4788
|
+
i0.ɵɵelementEnd();
|
|
4789
|
+
} if (rf & 2) {
|
|
4790
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
4791
|
+
i0.ɵɵadvance();
|
|
4792
|
+
i0.ɵɵproperty("icon", ctx_r1.icon)("size", ctx_r1.iconSize);
|
|
4793
|
+
} }
|
|
4785
4794
|
function NodataComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
4786
4795
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
4787
|
-
i0.ɵɵ
|
|
4796
|
+
i0.ɵɵtemplate(2, NodataComponent_div_0_div_2_Template, 2, 2, "div", 3);
|
|
4788
4797
|
i0.ɵɵelementStart(3, "h3");
|
|
4789
4798
|
i0.ɵɵtext(4);
|
|
4790
4799
|
i0.ɵɵelementEnd();
|
|
@@ -4792,7 +4801,9 @@ function NodataComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
4792
4801
|
i0.ɵɵelementEnd()();
|
|
4793
4802
|
} if (rf & 2) {
|
|
4794
4803
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
4795
|
-
i0.ɵɵadvance(
|
|
4804
|
+
i0.ɵɵadvance(2);
|
|
4805
|
+
i0.ɵɵproperty("ngIf", ctx_r0.icon);
|
|
4806
|
+
i0.ɵɵadvance();
|
|
4796
4807
|
i0.ɵɵclassMap(ctx_r0.headingClass);
|
|
4797
4808
|
i0.ɵɵadvance();
|
|
4798
4809
|
i0.ɵɵtextInterpolate(ctx_r0.heading);
|
|
@@ -4803,32 +4814,37 @@ class NodataComponent {
|
|
|
4803
4814
|
this.dataLoading = false;
|
|
4804
4815
|
this.dataLoaded = false;
|
|
4805
4816
|
this.dataFound = false;
|
|
4817
|
+
this.iconSize = '10x';
|
|
4806
4818
|
this.heading = 'No data found';
|
|
4807
4819
|
this.headingClass = 'text-uppercase';
|
|
4808
4820
|
}
|
|
4809
4821
|
static { this.ɵfac = function NodataComponent_Factory(t) { return new (t || NodataComponent)(); }; }
|
|
4810
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodataComponent, selectors: [["anatoly-nodata"]], inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", heading: "heading", headingClass: "headingClass" }, ngContentSelectors: _c0$a, decls: 1, vars: 1, consts: [["class", "no-data", 4, "ngIf"], [1, "no-data"], [1, "loaded", "text-info"], [
|
|
4822
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodataComponent, selectors: [["anatoly-nodata"]], inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", icon: "icon", iconSize: "iconSize", heading: "heading", headingClass: "headingClass" }, ngContentSelectors: _c0$a, decls: 1, vars: 1, consts: [["class", "no-data", 4, "ngIf"], [1, "no-data"], [1, "loaded", "text-info"], [4, "ngIf"], [3, "icon", "size"]], template: function NodataComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4811
4823
|
i0.ɵɵprojectionDef();
|
|
4812
|
-
i0.ɵɵtemplate(0, NodataComponent_div_0_Template, 6,
|
|
4824
|
+
i0.ɵɵtemplate(0, NodataComponent_div_0_Template, 6, 5, "div", 0);
|
|
4813
4825
|
} if (rf & 2) {
|
|
4814
4826
|
i0.ɵɵproperty("ngIf", ctx.dataLoaded && !ctx.dataFound);
|
|
4815
4827
|
} }, dependencies: [i1$2.NgIf, i1$6.FaIconComponent], encapsulation: 2 }); }
|
|
4816
4828
|
}
|
|
4817
4829
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
4818
4830
|
type: Component,
|
|
4819
|
-
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\" *ngIf='dataLoaded && !dataFound'>\r\n <div class='loaded text-info'>\r\n <fa-icon icon=\"
|
|
4831
|
+
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\" *ngIf='dataLoaded && !dataFound'>\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='{{headingClass}}'>{{heading}}</h3>\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n" }]
|
|
4820
4832
|
}], () => [], { dataLoading: [{
|
|
4821
4833
|
type: Input
|
|
4822
4834
|
}], dataLoaded: [{
|
|
4823
4835
|
type: Input
|
|
4824
4836
|
}], dataFound: [{
|
|
4825
4837
|
type: Input
|
|
4838
|
+
}], icon: [{
|
|
4839
|
+
type: Input
|
|
4840
|
+
}], iconSize: [{
|
|
4841
|
+
type: Input
|
|
4826
4842
|
}], heading: [{
|
|
4827
4843
|
type: Input
|
|
4828
4844
|
}], headingClass: [{
|
|
4829
4845
|
type: Input
|
|
4830
4846
|
}] }); })();
|
|
4831
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NodataComponent, { className: "NodataComponent", filePath: "lib\\ui\\components\\nodata\\nodata.component.ts", lineNumber:
|
|
4847
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NodataComponent, { className: "NodataComponent", filePath: "lib\\ui\\components\\nodata\\nodata.component.ts", lineNumber: 25 }); })();
|
|
4832
4848
|
|
|
4833
4849
|
/*
|
|
4834
4850
|
<file>
|
|
@@ -5233,8 +5249,8 @@ class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
5233
5249
|
</file>
|
|
5234
5250
|
*/
|
|
5235
5251
|
//Node
|
|
5236
|
-
function
|
|
5237
|
-
i0.ɵɵelementStart(0, "label");
|
|
5252
|
+
function UrlSlugComponent_label_3_Template(rf, ctx) { if (rf & 1) {
|
|
5253
|
+
i0.ɵɵelementStart(0, "label", 7);
|
|
5238
5254
|
i0.ɵɵtext(1);
|
|
5239
5255
|
i0.ɵɵelementEnd();
|
|
5240
5256
|
} if (rf & 2) {
|
|
@@ -5242,13 +5258,12 @@ function UrlSlugComponent_label_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
5242
5258
|
i0.ɵɵadvance();
|
|
5243
5259
|
i0.ɵɵtextInterpolate(ctx_r0.title);
|
|
5244
5260
|
} }
|
|
5245
|
-
function
|
|
5246
|
-
i0.ɵɵelementStart(0, "
|
|
5247
|
-
i0.ɵɵtext(
|
|
5248
|
-
i0.ɵɵelementEnd()
|
|
5261
|
+
function UrlSlugComponent_a_7_Template(rf, ctx) { if (rf & 1) {
|
|
5262
|
+
i0.ɵɵelementStart(0, "a", 8);
|
|
5263
|
+
i0.ɵɵtext(1, "Go");
|
|
5264
|
+
i0.ɵɵelementEnd();
|
|
5249
5265
|
} if (rf & 2) {
|
|
5250
5266
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
5251
|
-
i0.ɵɵadvance();
|
|
5252
5267
|
i0.ɵɵpropertyInterpolate2("href", "", ctx_r1.urlPrefix, "", ctx_r1.hrefGo, "", i0.ɵɵsanitizeUrl);
|
|
5253
5268
|
} }
|
|
5254
5269
|
const _c0$9 = a0 => ({ "has-error": a0 });
|
|
@@ -5294,25 +5309,26 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
5294
5309
|
this.generateUrlSlug(text);
|
|
5295
5310
|
}
|
|
5296
5311
|
static { this.ɵfac = function UrlSlugComponent_Factory(t) { return new (t || UrlSlugComponent)(); }; }
|
|
5297
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UrlSlugComponent, selectors: [["anatoly-urlslug"]], inputs: { urlPrefix: "urlPrefix", isGoButtonVisible: "isGoButtonVisible", watchedControlName: "watchedControlName" }, outputs: { generated: "generated" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
5298
|
-
i0.ɵɵelementStart(0, "div", 0)
|
|
5299
|
-
i0.ɵɵelement(
|
|
5300
|
-
i0.ɵɵelementStart(
|
|
5301
|
-
i0.ɵɵtemplate(
|
|
5302
|
-
i0.ɵɵelementStart(
|
|
5303
|
-
i0.ɵɵtext(
|
|
5312
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UrlSlugComponent, selectors: [["anatoly-urlslug"]], inputs: { urlPrefix: "urlPrefix", isGoButtonVisible: "isGoButtonVisible", watchedControlName: "watchedControlName" }, outputs: { generated: "generated" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 12, consts: [[1, "form-group", 3, "formGroup", "ngClass"], [3, "formGroup", "formSubmitted", "formControlName"], [1, "input-group", "permalink", 3, "ngClass"], ["for", "urlPrefixId", 4, "ngIf"], [1, "urlPrefix"], ["type", "text", "id", "urlPrefixId", 1, "form-control", 3, "formControlName", "focusout"], ["class", "btn btn-primary", "target", "_blank", 3, "href", 4, "ngIf"], ["for", "urlPrefixId"], ["target", "_blank", 1, "btn", "btn-primary", 3, "href"]], template: function UrlSlugComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5313
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
5314
|
+
i0.ɵɵelement(1, "anatoly-item-validation-summary", 1);
|
|
5315
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
5316
|
+
i0.ɵɵtemplate(3, UrlSlugComponent_label_3_Template, 2, 1, "label", 3);
|
|
5317
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
5318
|
+
i0.ɵɵtext(5);
|
|
5304
5319
|
i0.ɵɵelementEnd();
|
|
5305
|
-
i0.ɵɵelementStart(
|
|
5306
|
-
i0.ɵɵlistener("focusout", function
|
|
5307
|
-
i0.ɵɵelementEnd()
|
|
5308
|
-
i0.ɵɵtemplate(
|
|
5320
|
+
i0.ɵɵelementStart(6, "input", 5);
|
|
5321
|
+
i0.ɵɵlistener("focusout", function UrlSlugComponent_Template_input_focusout_6_listener() { return ctx.onUrlSlugChange(); });
|
|
5322
|
+
i0.ɵɵelementEnd();
|
|
5323
|
+
i0.ɵɵtemplate(7, UrlSlugComponent_a_7_Template, 2, 2, "a", 6);
|
|
5309
5324
|
i0.ɵɵelementEnd()();
|
|
5310
5325
|
} if (rf & 2) {
|
|
5311
|
-
i0.ɵɵ
|
|
5312
|
-
i0.ɵɵ
|
|
5313
|
-
i0.ɵɵadvance(2);
|
|
5326
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(10, _c0$9, ctx.isControlInvalid(ctx.controlName)));
|
|
5327
|
+
i0.ɵɵadvance();
|
|
5314
5328
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted)("formControlName", ctx.controlName);
|
|
5315
|
-
i0.ɵɵadvance(
|
|
5329
|
+
i0.ɵɵadvance();
|
|
5330
|
+
i0.ɵɵproperty("ngClass", ctx.classes);
|
|
5331
|
+
i0.ɵɵadvance();
|
|
5316
5332
|
i0.ɵɵproperty("ngIf", ctx.isTitleVisible);
|
|
5317
5333
|
i0.ɵɵadvance(2);
|
|
5318
5334
|
i0.ɵɵtextInterpolate(ctx.urlPrefix);
|
|
@@ -5324,7 +5340,7 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
5324
5340
|
}
|
|
5325
5341
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
|
|
5326
5342
|
type: Component,
|
|
5327
|
-
args: [{ selector: 'anatoly-urlslug', template: "<div [formGroup]='formGroup' [ngClass]=\"{'has-error': isControlInvalid(controlName)}\"
|
|
5343
|
+
args: [{ selector: 'anatoly-urlslug', template: "<div class=\"form-group\" [formGroup]='formGroup' [ngClass]=\"{'has-error': isControlInvalid(controlName)}\" >\r\n <anatoly-item-validation-summary\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n [formControlName]='controlName'>\r\n </anatoly-item-validation-summary>\r\n\r\n <div class=\"input-group permalink\" [ngClass]=\"classes\">\r\n <label for=\"urlPrefixId\" *ngIf='isTitleVisible'>{{ title }}</label>\r\n <div class=\"urlPrefix\">{{ urlPrefix }}</div>\r\n <input type=\"text\" class=\"form-control\" id=\"urlPrefixId\" [formControlName]='controlName' (focusout)='onUrlSlugChange()'>\r\n <a class=\"btn btn-primary\" href=\"{{urlPrefix}}{{hrefGo}}\" target=\"_blank\" *ngIf=\"isGoButtonVisible\" >Go</a>\r\n </div>\r\n</div>\r\n" }]
|
|
5328
5344
|
}], () => [], { urlPrefix: [{
|
|
5329
5345
|
type: Input
|
|
5330
5346
|
}], isGoButtonVisible: [{
|