@osovitny/anatoly 3.17.98 → 3.17.99
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/dropdownlists/moderationstatus/moderationstatus.dropdownlist.mjs +23 -19
- package/esm2022/lib/ui/components/dropdownlists/publishstatus/publishstatus.dropdownlist.mjs +23 -19
- package/fesm2022/osovitny-anatoly.mjs +42 -36
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/package.json +1 -1
package/esm2022/lib/ui/components/dropdownlists/moderationstatus/moderationstatus.dropdownlist.mjs
CHANGED
|
@@ -22,40 +22,44 @@ import * as i1 from "@angular/common";
|
|
|
22
22
|
import * as i2 from "@angular/forms";
|
|
23
23
|
import * as i3 from "@progress/kendo-angular-dropdowns";
|
|
24
24
|
import * as i4 from "@progress/kendo-angular-label";
|
|
25
|
+
import * as i5 from "../../../directives/native-element.directive";
|
|
25
26
|
function ModerationStatusDropdownlist_div_0_kendo_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
-
|
|
27
|
-
i0.ɵɵelementStart(0, "kendo-label", 4)(1, "kendo-dropdownlist", 5);
|
|
28
|
-
i0.ɵɵlistener("ngModelChange", function ModerationStatusDropdownlist_div_0_kendo_label_2_Template_kendo_dropdownlist_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.sv = $event); })("valueChange", function ModerationStatusDropdownlist_div_0_kendo_label_2_Template_kendo_dropdownlist_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.onChange($event)); });
|
|
29
|
-
i0.ɵɵelementEnd()();
|
|
27
|
+
i0.ɵɵelement(0, "kendo-label", 5);
|
|
30
28
|
} if (rf & 2) {
|
|
31
29
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
32
30
|
i0.ɵɵpropertyInterpolate("text", ctx_r2.title);
|
|
33
|
-
i0.ɵɵadvance();
|
|
34
|
-
i0.ɵɵproperty("data", ctx_r2.items)("valuePrimitive", true)("ngModel", ctx_r2.sv);
|
|
35
31
|
} }
|
|
36
32
|
function ModerationStatusDropdownlist_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
33
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
37
34
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
38
|
-
i0.ɵɵtemplate(2, ModerationStatusDropdownlist_div_0_kendo_label_2_Template,
|
|
39
|
-
i0.ɵɵ
|
|
35
|
+
i0.ɵɵtemplate(2, ModerationStatusDropdownlist_div_0_kendo_label_2_Template, 1, 1, "kendo-label", 3);
|
|
36
|
+
i0.ɵɵelementStart(3, "kendo-dropdownlist", 4);
|
|
37
|
+
i0.ɵɵlistener("ngModelChange", function ModerationStatusDropdownlist_div_0_Template_kendo_dropdownlist_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.sv = $event); })("valueChange", function ModerationStatusDropdownlist_div_0_Template_kendo_dropdownlist_valueChange_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.onChange($event)); });
|
|
38
|
+
i0.ɵɵelementEnd()()();
|
|
40
39
|
} if (rf & 2) {
|
|
41
40
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
42
41
|
i0.ɵɵadvance(2);
|
|
43
42
|
i0.ɵɵproperty("ngIf", ctx_r0.isTitleVisible);
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("data", ctx_r0.items)("valuePrimitive", true)("ngModel", ctx_r0.sv);
|
|
44
45
|
} }
|
|
45
|
-
function
|
|
46
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
46
|
+
function ModerationStatusDropdownlist_div_1_kendo_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
47
|
+
i0.ɵɵelement(0, "kendo-label", 5);
|
|
47
48
|
} if (rf & 2) {
|
|
48
49
|
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
49
50
|
i0.ɵɵpropertyInterpolate("text", ctx_r6.title);
|
|
50
51
|
} }
|
|
51
52
|
function ModerationStatusDropdownlist_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
-
i0.ɵɵelementStart(0, "div", 1)
|
|
53
|
-
i0.ɵɵtemplate(
|
|
54
|
-
i0.ɵɵ
|
|
53
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
54
|
+
i0.ɵɵtemplate(1, ModerationStatusDropdownlist_div_1_kendo_label_1_Template, 1, 1, "kendo-label", 3);
|
|
55
|
+
i0.ɵɵelement(2, "kendo-dropdownlist", 6);
|
|
56
|
+
i0.ɵɵelementEnd();
|
|
55
57
|
} if (rf & 2) {
|
|
56
58
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
57
|
-
i0.ɵɵadvance(
|
|
59
|
+
i0.ɵɵadvance();
|
|
58
60
|
i0.ɵɵproperty("ngIf", ctx_r1.isTitleVisible);
|
|
61
|
+
i0.ɵɵadvance();
|
|
62
|
+
i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true)("formControlName", ctx_r1.controlName);
|
|
59
63
|
} }
|
|
60
64
|
export class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
61
65
|
constructor() {
|
|
@@ -64,17 +68,17 @@ export class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
64
68
|
this.enumeration = ModerationStatus;
|
|
65
69
|
}
|
|
66
70
|
static { this.ɵfac = function ModerationStatusDropdownlist_Factory(t) { return new (t || ModerationStatusDropdownlist)(); }; }
|
|
67
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModerationStatusDropdownlist, selectors: [["anatoly-moderationstatus-dropdownlist"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "form-group", 4, "ngIf"], [1, "form-group"], [1, "controls"], [3, "text", 4, "ngIf"], [
|
|
68
|
-
i0.ɵɵtemplate(0, ModerationStatusDropdownlist_div_0_Template,
|
|
71
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModerationStatusDropdownlist, selectors: [["anatoly-moderationstatus-dropdownlist"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "form-group", 4, "ngIf"], [1, "form-group"], [1, "controls"], [3, "text", 4, "ngIf"], ["valueField", "value", "textField", "text", 3, "data", "valuePrimitive", "ngModel", "ngModelChange", "valueChange"], [3, "text"], ["valueField", "value", "textField", "text", 3, "data", "valuePrimitive", "formControlName"]], template: function ModerationStatusDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
72
|
+
i0.ɵɵtemplate(0, ModerationStatusDropdownlist_div_0_Template, 4, 4, "div", 0)(1, ModerationStatusDropdownlist_div_1_Template, 3, 4, "div", 0);
|
|
69
73
|
} if (rf & 2) {
|
|
70
74
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
71
75
|
i0.ɵɵadvance();
|
|
72
76
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
73
|
-
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.DropDownListComponent, i4.LabelComponent], encapsulation: 2 }); }
|
|
77
|
+
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4.LabelComponent, i5.NativeElementDirective], encapsulation: 2 }); }
|
|
74
78
|
}
|
|
75
79
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModerationStatusDropdownlist, [{
|
|
76
80
|
type: Component,
|
|
77
|
-
args: [{ selector: 'anatoly-moderationstatus-dropdownlist', template: "<div class=\"form-group\" *ngIf='isNgModelBased'>\r\n <div class=\"controls\">\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [(ngModel)]=\"sv\"\r\n (valueChange)=\"onChange($event)\"/>\r\n
|
|
81
|
+
args: [{ selector: 'anatoly-moderationstatus-dropdownlist', template: "<div class=\"form-group\" *ngIf='isNgModelBased'>\r\n <div class=\"controls\">\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'></kendo-label>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [(ngModel)]=\"sv\"\r\n (valueChange)=\"onChange($event)\" />\r\n </div>\r\n</div>\r\n\r\n<div class=\"form-group\" *ngIf='!isNgModelBased'>\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'></kendo-label>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [formControlName]='controlName' />\r\n</div>\r\n" }]
|
|
78
82
|
}], () => [], null); })();
|
|
79
83
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModerationStatusDropdownlist, { className: "ModerationStatusDropdownlist", filePath: "lib\\ui\\components\\dropdownlists\\moderationstatus\\moderationstatus.dropdownlist.ts", lineNumber: 27 }); })();
|
|
80
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZXJhdGlvbnN0YXR1cy5kcm9wZG93bmxpc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvdWkvY29tcG9uZW50cy9kcm9wZG93bmxpc3RzL21vZGVyYXRpb25zdGF0dXMvbW9kZXJhdGlvb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ie3sgdGl0bGUgfX1cIiAqbmdJZj0naXNUaXRsZVZpc2libGUnPjwva2VuZG8tbGFiZWw+XHJcbiAgPGtlbmRvLWRyb3Bkb3dubGlzdCBbZGF0YV09XCJpdGVtc1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICB2YWx1ZUZpZWxkPVwidmFsdWVcIiB0ZXh0RmllbGQ9XCJ0ZXh0XCJcclxuICAgICAgICAgICAgICAgICAgICAgIFt2YWx1ZVByaW1pdGl2ZV09XCJ0cnVlXCJcclxuICAgICAgICAgICAgICAgICAgICAgIFtmb3JtQ29udHJvbE5hbWVdPSdjb250cm9sTmFtZScgLz5cclxuPC9kaXY+XHJcbiJdfQ==
|
package/esm2022/lib/ui/components/dropdownlists/publishstatus/publishstatus.dropdownlist.mjs
CHANGED
|
@@ -22,40 +22,44 @@ import * as i1 from "@angular/common";
|
|
|
22
22
|
import * as i2 from "@angular/forms";
|
|
23
23
|
import * as i3 from "@progress/kendo-angular-dropdowns";
|
|
24
24
|
import * as i4 from "@progress/kendo-angular-label";
|
|
25
|
+
import * as i5 from "../../../directives/native-element.directive";
|
|
25
26
|
function PublishStatusDropdownlist_div_0_kendo_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
-
|
|
27
|
-
i0.ɵɵelementStart(0, "kendo-label", 4)(1, "kendo-dropdownlist", 5);
|
|
28
|
-
i0.ɵɵlistener("ngModelChange", function PublishStatusDropdownlist_div_0_kendo_label_2_Template_kendo_dropdownlist_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.sv = $event); })("valueChange", function PublishStatusDropdownlist_div_0_kendo_label_2_Template_kendo_dropdownlist_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.onChange($event)); });
|
|
29
|
-
i0.ɵɵelementEnd()();
|
|
27
|
+
i0.ɵɵelement(0, "kendo-label", 5);
|
|
30
28
|
} if (rf & 2) {
|
|
31
29
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
32
30
|
i0.ɵɵpropertyInterpolate("text", ctx_r2.title);
|
|
33
|
-
i0.ɵɵadvance();
|
|
34
|
-
i0.ɵɵproperty("data", ctx_r2.items)("valuePrimitive", true)("ngModel", ctx_r2.sv);
|
|
35
31
|
} }
|
|
36
32
|
function PublishStatusDropdownlist_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
33
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
37
34
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
38
|
-
i0.ɵɵtemplate(2, PublishStatusDropdownlist_div_0_kendo_label_2_Template,
|
|
39
|
-
i0.ɵɵ
|
|
35
|
+
i0.ɵɵtemplate(2, PublishStatusDropdownlist_div_0_kendo_label_2_Template, 1, 1, "kendo-label", 3);
|
|
36
|
+
i0.ɵɵelementStart(3, "kendo-dropdownlist", 4);
|
|
37
|
+
i0.ɵɵlistener("ngModelChange", function PublishStatusDropdownlist_div_0_Template_kendo_dropdownlist_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.sv = $event); })("valueChange", function PublishStatusDropdownlist_div_0_Template_kendo_dropdownlist_valueChange_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.onChange($event)); });
|
|
38
|
+
i0.ɵɵelementEnd()()();
|
|
40
39
|
} if (rf & 2) {
|
|
41
40
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
42
41
|
i0.ɵɵadvance(2);
|
|
43
42
|
i0.ɵɵproperty("ngIf", ctx_r0.isTitleVisible);
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("data", ctx_r0.items)("valuePrimitive", true)("ngModel", ctx_r0.sv);
|
|
44
45
|
} }
|
|
45
|
-
function
|
|
46
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
46
|
+
function PublishStatusDropdownlist_div_1_kendo_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
47
|
+
i0.ɵɵelement(0, "kendo-label", 5);
|
|
47
48
|
} if (rf & 2) {
|
|
48
49
|
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
49
50
|
i0.ɵɵpropertyInterpolate("text", ctx_r6.title);
|
|
50
51
|
} }
|
|
51
52
|
function PublishStatusDropdownlist_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
-
i0.ɵɵelementStart(0, "div", 1)
|
|
53
|
-
i0.ɵɵtemplate(
|
|
54
|
-
i0.ɵɵ
|
|
53
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
54
|
+
i0.ɵɵtemplate(1, PublishStatusDropdownlist_div_1_kendo_label_1_Template, 1, 1, "kendo-label", 3);
|
|
55
|
+
i0.ɵɵelement(2, "kendo-dropdownlist", 6);
|
|
56
|
+
i0.ɵɵelementEnd();
|
|
55
57
|
} if (rf & 2) {
|
|
56
58
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
57
|
-
i0.ɵɵadvance(
|
|
59
|
+
i0.ɵɵadvance();
|
|
58
60
|
i0.ɵɵproperty("ngIf", ctx_r1.isTitleVisible);
|
|
61
|
+
i0.ɵɵadvance();
|
|
62
|
+
i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true)("formControlName", ctx_r1.controlName);
|
|
59
63
|
} }
|
|
60
64
|
export class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
61
65
|
constructor() {
|
|
@@ -64,17 +68,17 @@ export class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
64
68
|
this.enumeration = PublishStatus;
|
|
65
69
|
}
|
|
66
70
|
static { this.ɵfac = function PublishStatusDropdownlist_Factory(t) { return new (t || PublishStatusDropdownlist)(); }; }
|
|
67
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PublishStatusDropdownlist, selectors: [["anatoly-publishstatus-dropdownlist"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "form-group", 4, "ngIf"], [1, "form-group"], [1, "controls"], [3, "text", 4, "ngIf"], [
|
|
68
|
-
i0.ɵɵtemplate(0, PublishStatusDropdownlist_div_0_Template,
|
|
71
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PublishStatusDropdownlist, selectors: [["anatoly-publishstatus-dropdownlist"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "form-group", 4, "ngIf"], [1, "form-group"], [1, "controls"], [3, "text", 4, "ngIf"], ["valueField", "value", "textField", "text", 3, "data", "valuePrimitive", "ngModel", "ngModelChange", "valueChange"], [3, "text"], ["valueField", "value", "textField", "text", 3, "data", "valuePrimitive", "formControlName"]], template: function PublishStatusDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
72
|
+
i0.ɵɵtemplate(0, PublishStatusDropdownlist_div_0_Template, 4, 4, "div", 0)(1, PublishStatusDropdownlist_div_1_Template, 3, 4, "div", 0);
|
|
69
73
|
} if (rf & 2) {
|
|
70
74
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
71
75
|
i0.ɵɵadvance();
|
|
72
76
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
73
|
-
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.DropDownListComponent, i4.LabelComponent], encapsulation: 2 }); }
|
|
77
|
+
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4.LabelComponent, i5.NativeElementDirective], encapsulation: 2 }); }
|
|
74
78
|
}
|
|
75
79
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
|
|
76
80
|
type: Component,
|
|
77
|
-
args: [{ selector: 'anatoly-publishstatus-dropdownlist', template: "<div class=\"form-group\" *ngIf='isNgModelBased'>\r\n <div class=\"controls\">\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [(ngModel)]=\"sv\"\r\n (valueChange)=\"onChange($event)\"/>\r\n
|
|
81
|
+
args: [{ selector: 'anatoly-publishstatus-dropdownlist', template: "<div class=\"form-group\" *ngIf='isNgModelBased'>\r\n <div class=\"controls\">\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'></kendo-label>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [(ngModel)]=\"sv\"\r\n (valueChange)=\"onChange($event)\" />\r\n </div>\r\n</div>\r\n\r\n<div class=\"form-group\" *ngIf='!isNgModelBased'>\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'></kendo-label>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [formControlName]='controlName' />\r\n</div>\r\n" }]
|
|
78
82
|
}], () => [], null); })();
|
|
79
83
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PublishStatusDropdownlist, { className: "PublishStatusDropdownlist", filePath: "lib\\ui\\components\\dropdownlists\\publishstatus\\publishstatus.dropdownlist.ts", lineNumber: 27 }); })();
|
|
80
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGlzaHN0YXR1cy5kcm9wZG93bmxpc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvdWkvY29tcG9uZW50cy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9XCJ7eyB0aXRsZSB9fVwiICpuZ0lmPSdpc1RpdGxlVmlzaWJsZSc+PC9rZW5kby1sYWJlbD5cclxuICA8a2VuZG8tZHJvcGRvd25saXN0IFtkYXRhXT1cIml0ZW1zXCJcclxuICAgICAgICAgICAgICAgICAgICAgIHZhbHVlRmllbGQ9XCJ2YWx1ZVwiIHRleHRGaWVsZD1cInRleHRcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgW3ZhbHVlUHJpbWl0aXZlXT1cInRydWVcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgW2Zvcm1Db250cm9sTmFtZV09J2NvbnRyb2xOYW1lJyAvPlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -6859,39 +6859,42 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
6859
6859
|
*/
|
|
6860
6860
|
//Node
|
|
6861
6861
|
function ModerationStatusDropdownlist_div_0_kendo_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
6862
|
-
|
|
6863
|
-
i0.ɵɵelementStart(0, "kendo-label", 4)(1, "kendo-dropdownlist", 5);
|
|
6864
|
-
i0.ɵɵlistener("ngModelChange", function ModerationStatusDropdownlist_div_0_kendo_label_2_Template_kendo_dropdownlist_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.sv = $event); })("valueChange", function ModerationStatusDropdownlist_div_0_kendo_label_2_Template_kendo_dropdownlist_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.onChange($event)); });
|
|
6865
|
-
i0.ɵɵelementEnd()();
|
|
6862
|
+
i0.ɵɵelement(0, "kendo-label", 5);
|
|
6866
6863
|
} if (rf & 2) {
|
|
6867
6864
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
6868
6865
|
i0.ɵɵpropertyInterpolate("text", ctx_r2.title);
|
|
6869
|
-
i0.ɵɵadvance();
|
|
6870
|
-
i0.ɵɵproperty("data", ctx_r2.items)("valuePrimitive", true)("ngModel", ctx_r2.sv);
|
|
6871
6866
|
} }
|
|
6872
6867
|
function ModerationStatusDropdownlist_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
6868
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
6873
6869
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
6874
|
-
i0.ɵɵtemplate(2, ModerationStatusDropdownlist_div_0_kendo_label_2_Template,
|
|
6875
|
-
i0.ɵɵ
|
|
6870
|
+
i0.ɵɵtemplate(2, ModerationStatusDropdownlist_div_0_kendo_label_2_Template, 1, 1, "kendo-label", 3);
|
|
6871
|
+
i0.ɵɵelementStart(3, "kendo-dropdownlist", 4);
|
|
6872
|
+
i0.ɵɵlistener("ngModelChange", function ModerationStatusDropdownlist_div_0_Template_kendo_dropdownlist_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.sv = $event); })("valueChange", function ModerationStatusDropdownlist_div_0_Template_kendo_dropdownlist_valueChange_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.onChange($event)); });
|
|
6873
|
+
i0.ɵɵelementEnd()()();
|
|
6876
6874
|
} if (rf & 2) {
|
|
6877
6875
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
6878
6876
|
i0.ɵɵadvance(2);
|
|
6879
6877
|
i0.ɵɵproperty("ngIf", ctx_r0.isTitleVisible);
|
|
6878
|
+
i0.ɵɵadvance();
|
|
6879
|
+
i0.ɵɵproperty("data", ctx_r0.items)("valuePrimitive", true)("ngModel", ctx_r0.sv);
|
|
6880
6880
|
} }
|
|
6881
|
-
function
|
|
6882
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
6881
|
+
function ModerationStatusDropdownlist_div_1_kendo_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
6882
|
+
i0.ɵɵelement(0, "kendo-label", 5);
|
|
6883
6883
|
} if (rf & 2) {
|
|
6884
6884
|
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
6885
6885
|
i0.ɵɵpropertyInterpolate("text", ctx_r6.title);
|
|
6886
6886
|
} }
|
|
6887
6887
|
function ModerationStatusDropdownlist_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
6888
|
-
i0.ɵɵelementStart(0, "div", 1)
|
|
6889
|
-
i0.ɵɵtemplate(
|
|
6890
|
-
i0.ɵɵ
|
|
6888
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
6889
|
+
i0.ɵɵtemplate(1, ModerationStatusDropdownlist_div_1_kendo_label_1_Template, 1, 1, "kendo-label", 3);
|
|
6890
|
+
i0.ɵɵelement(2, "kendo-dropdownlist", 6);
|
|
6891
|
+
i0.ɵɵelementEnd();
|
|
6891
6892
|
} if (rf & 2) {
|
|
6892
6893
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
6893
|
-
i0.ɵɵadvance(
|
|
6894
|
+
i0.ɵɵadvance();
|
|
6894
6895
|
i0.ɵɵproperty("ngIf", ctx_r1.isTitleVisible);
|
|
6896
|
+
i0.ɵɵadvance();
|
|
6897
|
+
i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true)("formControlName", ctx_r1.controlName);
|
|
6895
6898
|
} }
|
|
6896
6899
|
class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
6897
6900
|
constructor() {
|
|
@@ -6900,17 +6903,17 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
6900
6903
|
this.enumeration = ModerationStatus;
|
|
6901
6904
|
}
|
|
6902
6905
|
static { this.ɵfac = function ModerationStatusDropdownlist_Factory(t) { return new (t || ModerationStatusDropdownlist)(); }; }
|
|
6903
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModerationStatusDropdownlist, selectors: [["anatoly-moderationstatus-dropdownlist"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "form-group", 4, "ngIf"], [1, "form-group"], [1, "controls"], [3, "text", 4, "ngIf"], [
|
|
6904
|
-
i0.ɵɵtemplate(0, ModerationStatusDropdownlist_div_0_Template,
|
|
6906
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModerationStatusDropdownlist, selectors: [["anatoly-moderationstatus-dropdownlist"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "form-group", 4, "ngIf"], [1, "form-group"], [1, "controls"], [3, "text", 4, "ngIf"], ["valueField", "value", "textField", "text", 3, "data", "valuePrimitive", "ngModel", "ngModelChange", "valueChange"], [3, "text"], ["valueField", "value", "textField", "text", 3, "data", "valuePrimitive", "formControlName"]], template: function ModerationStatusDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
6907
|
+
i0.ɵɵtemplate(0, ModerationStatusDropdownlist_div_0_Template, 4, 4, "div", 0)(1, ModerationStatusDropdownlist_div_1_Template, 3, 4, "div", 0);
|
|
6905
6908
|
} if (rf & 2) {
|
|
6906
6909
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
6907
6910
|
i0.ɵɵadvance();
|
|
6908
6911
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
6909
|
-
} }, dependencies: [i1$2.NgIf, i2.NgControlStatus, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent], encapsulation: 2 }); }
|
|
6912
|
+
} }, dependencies: [i1$2.NgIf, i2.NgControlStatus, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
|
|
6910
6913
|
}
|
|
6911
6914
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModerationStatusDropdownlist, [{
|
|
6912
6915
|
type: Component,
|
|
6913
|
-
args: [{ selector: 'anatoly-moderationstatus-dropdownlist', template: "<div class=\"form-group\" *ngIf='isNgModelBased'>\r\n <div class=\"controls\">\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [(ngModel)]=\"sv\"\r\n (valueChange)=\"onChange($event)\"/>\r\n
|
|
6916
|
+
args: [{ selector: 'anatoly-moderationstatus-dropdownlist', template: "<div class=\"form-group\" *ngIf='isNgModelBased'>\r\n <div class=\"controls\">\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'></kendo-label>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [(ngModel)]=\"sv\"\r\n (valueChange)=\"onChange($event)\" />\r\n </div>\r\n</div>\r\n\r\n<div class=\"form-group\" *ngIf='!isNgModelBased'>\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'></kendo-label>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [formControlName]='controlName' />\r\n</div>\r\n" }]
|
|
6914
6917
|
}], () => [], null); })();
|
|
6915
6918
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModerationStatusDropdownlist, { className: "ModerationStatusDropdownlist", filePath: "lib\\ui\\components\\dropdownlists\\moderationstatus\\moderationstatus.dropdownlist.ts", lineNumber: 27 }); })();
|
|
6916
6919
|
|
|
@@ -6930,39 +6933,42 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
6930
6933
|
*/
|
|
6931
6934
|
//Node
|
|
6932
6935
|
function PublishStatusDropdownlist_div_0_kendo_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
6933
|
-
|
|
6934
|
-
i0.ɵɵelementStart(0, "kendo-label", 4)(1, "kendo-dropdownlist", 5);
|
|
6935
|
-
i0.ɵɵlistener("ngModelChange", function PublishStatusDropdownlist_div_0_kendo_label_2_Template_kendo_dropdownlist_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.sv = $event); })("valueChange", function PublishStatusDropdownlist_div_0_kendo_label_2_Template_kendo_dropdownlist_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.onChange($event)); });
|
|
6936
|
-
i0.ɵɵelementEnd()();
|
|
6936
|
+
i0.ɵɵelement(0, "kendo-label", 5);
|
|
6937
6937
|
} if (rf & 2) {
|
|
6938
6938
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
6939
6939
|
i0.ɵɵpropertyInterpolate("text", ctx_r2.title);
|
|
6940
|
-
i0.ɵɵadvance();
|
|
6941
|
-
i0.ɵɵproperty("data", ctx_r2.items)("valuePrimitive", true)("ngModel", ctx_r2.sv);
|
|
6942
6940
|
} }
|
|
6943
6941
|
function PublishStatusDropdownlist_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
6942
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
6944
6943
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
6945
|
-
i0.ɵɵtemplate(2, PublishStatusDropdownlist_div_0_kendo_label_2_Template,
|
|
6946
|
-
i0.ɵɵ
|
|
6944
|
+
i0.ɵɵtemplate(2, PublishStatusDropdownlist_div_0_kendo_label_2_Template, 1, 1, "kendo-label", 3);
|
|
6945
|
+
i0.ɵɵelementStart(3, "kendo-dropdownlist", 4);
|
|
6946
|
+
i0.ɵɵlistener("ngModelChange", function PublishStatusDropdownlist_div_0_Template_kendo_dropdownlist_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.sv = $event); })("valueChange", function PublishStatusDropdownlist_div_0_Template_kendo_dropdownlist_valueChange_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.onChange($event)); });
|
|
6947
|
+
i0.ɵɵelementEnd()()();
|
|
6947
6948
|
} if (rf & 2) {
|
|
6948
6949
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
6949
6950
|
i0.ɵɵadvance(2);
|
|
6950
6951
|
i0.ɵɵproperty("ngIf", ctx_r0.isTitleVisible);
|
|
6952
|
+
i0.ɵɵadvance();
|
|
6953
|
+
i0.ɵɵproperty("data", ctx_r0.items)("valuePrimitive", true)("ngModel", ctx_r0.sv);
|
|
6951
6954
|
} }
|
|
6952
|
-
function
|
|
6953
|
-
i0.ɵɵelement(0, "kendo-label",
|
|
6955
|
+
function PublishStatusDropdownlist_div_1_kendo_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
6956
|
+
i0.ɵɵelement(0, "kendo-label", 5);
|
|
6954
6957
|
} if (rf & 2) {
|
|
6955
6958
|
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
6956
6959
|
i0.ɵɵpropertyInterpolate("text", ctx_r6.title);
|
|
6957
6960
|
} }
|
|
6958
6961
|
function PublishStatusDropdownlist_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
6959
|
-
i0.ɵɵelementStart(0, "div", 1)
|
|
6960
|
-
i0.ɵɵtemplate(
|
|
6961
|
-
i0.ɵɵ
|
|
6962
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
6963
|
+
i0.ɵɵtemplate(1, PublishStatusDropdownlist_div_1_kendo_label_1_Template, 1, 1, "kendo-label", 3);
|
|
6964
|
+
i0.ɵɵelement(2, "kendo-dropdownlist", 6);
|
|
6965
|
+
i0.ɵɵelementEnd();
|
|
6962
6966
|
} if (rf & 2) {
|
|
6963
6967
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
6964
|
-
i0.ɵɵadvance(
|
|
6968
|
+
i0.ɵɵadvance();
|
|
6965
6969
|
i0.ɵɵproperty("ngIf", ctx_r1.isTitleVisible);
|
|
6970
|
+
i0.ɵɵadvance();
|
|
6971
|
+
i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true)("formControlName", ctx_r1.controlName);
|
|
6966
6972
|
} }
|
|
6967
6973
|
class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
6968
6974
|
constructor() {
|
|
@@ -6971,17 +6977,17 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
6971
6977
|
this.enumeration = PublishStatus;
|
|
6972
6978
|
}
|
|
6973
6979
|
static { this.ɵfac = function PublishStatusDropdownlist_Factory(t) { return new (t || PublishStatusDropdownlist)(); }; }
|
|
6974
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PublishStatusDropdownlist, selectors: [["anatoly-publishstatus-dropdownlist"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "form-group", 4, "ngIf"], [1, "form-group"], [1, "controls"], [3, "text", 4, "ngIf"], [
|
|
6975
|
-
i0.ɵɵtemplate(0, PublishStatusDropdownlist_div_0_Template,
|
|
6980
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PublishStatusDropdownlist, selectors: [["anatoly-publishstatus-dropdownlist"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "form-group", 4, "ngIf"], [1, "form-group"], [1, "controls"], [3, "text", 4, "ngIf"], ["valueField", "value", "textField", "text", 3, "data", "valuePrimitive", "ngModel", "ngModelChange", "valueChange"], [3, "text"], ["valueField", "value", "textField", "text", 3, "data", "valuePrimitive", "formControlName"]], template: function PublishStatusDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
6981
|
+
i0.ɵɵtemplate(0, PublishStatusDropdownlist_div_0_Template, 4, 4, "div", 0)(1, PublishStatusDropdownlist_div_1_Template, 3, 4, "div", 0);
|
|
6976
6982
|
} if (rf & 2) {
|
|
6977
6983
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
6978
6984
|
i0.ɵɵadvance();
|
|
6979
6985
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
6980
|
-
} }, dependencies: [i1$2.NgIf, i2.NgControlStatus, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent], encapsulation: 2 }); }
|
|
6986
|
+
} }, dependencies: [i1$2.NgIf, i2.NgControlStatus, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
|
|
6981
6987
|
}
|
|
6982
6988
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
|
|
6983
6989
|
type: Component,
|
|
6984
|
-
args: [{ selector: 'anatoly-publishstatus-dropdownlist', template: "<div class=\"form-group\" *ngIf='isNgModelBased'>\r\n <div class=\"controls\">\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [(ngModel)]=\"sv\"\r\n (valueChange)=\"onChange($event)\"/>\r\n
|
|
6990
|
+
args: [{ selector: 'anatoly-publishstatus-dropdownlist', template: "<div class=\"form-group\" *ngIf='isNgModelBased'>\r\n <div class=\"controls\">\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'></kendo-label>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [(ngModel)]=\"sv\"\r\n (valueChange)=\"onChange($event)\" />\r\n </div>\r\n</div>\r\n\r\n<div class=\"form-group\" *ngIf='!isNgModelBased'>\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'></kendo-label>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [formControlName]='controlName' />\r\n</div>\r\n" }]
|
|
6985
6991
|
}], () => [], null); })();
|
|
6986
6992
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PublishStatusDropdownlist, { className: "PublishStatusDropdownlist", filePath: "lib\\ui\\components\\dropdownlists\\publishstatus\\publishstatus.dropdownlist.ts", lineNumber: 27 }); })();
|
|
6987
6993
|
|