@osovitny/anatoly 3.17.33 → 3.17.35
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 +4 -4
- package/fesm2022/osovitny-anatoly.mjs +25 -9
- 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==
|
|
@@ -83,7 +83,7 @@ export class UrlSlugComponent extends EditComponentBase {
|
|
|
83
83
|
this.generateUrlSlug(text);
|
|
84
84
|
}
|
|
85
85
|
static { this.ɵfac = function UrlSlugComponent_Factory(t) { return new (t || UrlSlugComponent)(); }; }
|
|
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", "
|
|
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", "controlName"], [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
87
|
i0.ɵɵelementStart(0, "div", 0);
|
|
88
88
|
i0.ɵɵelement(1, "anatoly-item-validation-summary", 1);
|
|
89
89
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -99,7 +99,7 @@ export class UrlSlugComponent extends EditComponentBase {
|
|
|
99
99
|
} if (rf & 2) {
|
|
100
100
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(10, _c0, ctx.isControlInvalid(ctx.controlName)));
|
|
101
101
|
i0.ɵɵadvance();
|
|
102
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted)("
|
|
102
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted)("controlName", ctx.controlName);
|
|
103
103
|
i0.ɵɵadvance();
|
|
104
104
|
i0.ɵɵproperty("ngClass", ctx.classes);
|
|
105
105
|
i0.ɵɵadvance();
|
|
@@ -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 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 [
|
|
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 [controlName]='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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXJsc2x1Zy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvdWkvY29tcG9uZW50cy91cmxzbHVnL3VybHNsdWcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5hdG9seS9zcmMvbGliL3VpL2NvbXBvbmVudHMvdXJsc2x1Zy91cmxzbHVnLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztFQWNFO0FBRUYsTUFBTTtBQUNOLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLFlBQVksRUFBRSxNQUFNLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFFL0UsS0FBSztBQUNMLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGlEQUFpRCxDQUFDO0FBQ3BGLE9BQU8sRUFBRSxLQUFLLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQzs7Ozs7OztJQ2I5QyxnQ0FBZ0Q7SUFBQSxZQUFXO0lBQUEsaUJBQVE7OztJQUFuQixjQUFXO0lBQVgsa0NBQVc7OztJQUczRCw0QkFBcUc7SUFBQSxrQkFBRTtJQUFBLGlCQUFJOzs7SUFBaEYsZ0dBQThCOzs7QURnQjdELE1BQU0sT0FBTyxnQkFBaUIsU0FBUSxpQk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yb3VwXT0nZm9ybUdyb3VwJ1xyXG4gICAgW2Zvcm1TdWJtaXR0ZWRdPSdmb3JtU3VibWl0dGVkJ1xyXG4gICAgW2NvbnRyb2xOYW1lXT0nY29udHJvbE5hbWUnPlxyXG4gIDwvYW5hdG9seS1pdGVtLXZhbGlkYXRpb24tc3VtbWFyeT5cclxuXHJcbiAgPGRpdiBjbGFzcz1cImlucHV0LWdyb3VwIHBlcm1hbGlua1wiIFtuZ0NsYXNzXT1cImNsYXNzZXNcIj5cclxuICAgIDxsYWJlbCBmb3I9XCJ1cmxQcmVmaXhJZFwiICpuZ0lmPSdpc1RpdGxlVmlzaWJsZSc+e3sgdGl0bGUgfX08L2xhYmVsPlxyXG4gICAgPGRpdiBjbGFzcz1cInVybFByZWZpeFwiPnt7IHVybFByZWZpeCB9fTwvZGl2PlxyXG4gICAgPGlucHV0IHR5cGU9XCJ0ZXh0XCIgY2xhc3M9XCJmb3JtLWNvbnRyb2xcIiBpZD1cInVybFByZWZpeElkXCIgW2Zvcm1Db250cm9sTmFtZV09J2NvbnRyb2xOYW1lJyAoZm9jdXNvdXQpPSdvblVybFNsdWdDaGFuZ2UoKSc+XHJcbiAgICA8YSBjbGFzcz1cImJ0biBidG4tcHJpbWFyeVwiIGhyZWY9XCJ7e3VybFByZWZpeH19e3tocmVmR299fVwiIHRhcmdldD1cIl9ibGFua1wiICpuZ0lmPVwiaXNHb0J1dHRvblZpc2libGVcIiA+R288L2E+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -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>
|
|
@@ -5293,7 +5309,7 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
5293
5309
|
this.generateUrlSlug(text);
|
|
5294
5310
|
}
|
|
5295
5311
|
static { this.ɵfac = function UrlSlugComponent_Factory(t) { return new (t || UrlSlugComponent)(); }; }
|
|
5296
|
-
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", "
|
|
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", "controlName"], [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) {
|
|
5297
5313
|
i0.ɵɵelementStart(0, "div", 0);
|
|
5298
5314
|
i0.ɵɵelement(1, "anatoly-item-validation-summary", 1);
|
|
5299
5315
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -5309,7 +5325,7 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
5309
5325
|
} if (rf & 2) {
|
|
5310
5326
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(10, _c0$9, ctx.isControlInvalid(ctx.controlName)));
|
|
5311
5327
|
i0.ɵɵadvance();
|
|
5312
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted)("
|
|
5328
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted)("controlName", ctx.controlName);
|
|
5313
5329
|
i0.ɵɵadvance();
|
|
5314
5330
|
i0.ɵɵproperty("ngClass", ctx.classes);
|
|
5315
5331
|
i0.ɵɵadvance();
|
|
@@ -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 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 [
|
|
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 [controlName]='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: [{
|