@osovitny/anatoly 3.20.27 → 3.20.28

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.
@@ -6999,8 +6999,10 @@ class ListBase extends ComponentBase {
6999
6999
  }
7000
7000
  }
7001
7001
  setFilter(filter) {
7002
- this.currentFilter = filter;
7003
- this.loadPageOne();
7002
+ if (filter) {
7003
+ this.currentFilter = filter;
7004
+ this.loadPageOne();
7005
+ }
7004
7006
  }
7005
7007
  //Tos
7006
7008
  toIndex(index) {
@@ -7630,19 +7632,19 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
7630
7632
  </file>
7631
7633
  */
7632
7634
  //Node
7633
- function PublishStatusDropdownlist_div_0_kendo_label_1_Template(rf, ctx) { if (rf & 1) {
7635
+ function PublishStatusDropdownlist_div_1_kendo_label_1_Template(rf, ctx) { if (rf & 1) {
7634
7636
  i0.ɵɵelement(0, "kendo-label", 4);
7635
7637
  } if (rf & 2) {
7636
7638
  const ctx_r1 = i0.ɵɵnextContext(2);
7637
7639
  i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
7638
7640
  } }
7639
- function PublishStatusDropdownlist_div_0_Template(rf, ctx) { if (rf & 1) {
7641
+ function PublishStatusDropdownlist_div_1_Template(rf, ctx) { if (rf & 1) {
7640
7642
  const _r1 = i0.ɵɵgetCurrentView();
7641
7643
  i0.ɵɵelementStart(0, "div");
7642
- i0.ɵɵtemplate(1, PublishStatusDropdownlist_div_0_kendo_label_1_Template, 1, 2, "kendo-label", 2);
7644
+ i0.ɵɵtemplate(1, PublishStatusDropdownlist_div_1_kendo_label_1_Template, 1, 2, "kendo-label", 2);
7643
7645
  i0.ɵɵelementStart(2, "kendo-dropdownlist", 3);
7644
- i0.ɵɵtwoWayListener("ngModelChange", function PublishStatusDropdownlist_div_0_Template_kendo_dropdownlist_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.sv, $event) || (ctx_r1.sv = $event); return i0.ɵɵresetView($event); });
7645
- i0.ɵɵlistener("valueChange", function PublishStatusDropdownlist_div_0_Template_kendo_dropdownlist_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onChange($event)); });
7646
+ i0.ɵɵtwoWayListener("ngModelChange", function PublishStatusDropdownlist_div_1_Template_kendo_dropdownlist_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.sv, $event) || (ctx_r1.sv = $event); return i0.ɵɵresetView($event); });
7647
+ i0.ɵɵlistener("valueChange", function PublishStatusDropdownlist_div_1_Template_kendo_dropdownlist_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onChange($event)); });
7646
7648
  i0.ɵɵelementEnd()();
7647
7649
  } if (rf & 2) {
7648
7650
  const ctx_r1 = i0.ɵɵnextContext();
@@ -7652,15 +7654,15 @@ function PublishStatusDropdownlist_div_0_Template(rf, ctx) { if (rf & 1) {
7652
7654
  i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true);
7653
7655
  i0.ɵɵtwoWayProperty("ngModel", ctx_r1.sv);
7654
7656
  } }
7655
- function PublishStatusDropdownlist_div_1_kendo_label_1_Template(rf, ctx) { if (rf & 1) {
7657
+ function PublishStatusDropdownlist_div_2_kendo_label_1_Template(rf, ctx) { if (rf & 1) {
7656
7658
  i0.ɵɵelement(0, "kendo-label", 4);
7657
7659
  } if (rf & 2) {
7658
7660
  const ctx_r1 = i0.ɵɵnextContext(2);
7659
7661
  i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
7660
7662
  } }
7661
- function PublishStatusDropdownlist_div_1_Template(rf, ctx) { if (rf & 1) {
7663
+ function PublishStatusDropdownlist_div_2_Template(rf, ctx) { if (rf & 1) {
7662
7664
  i0.ɵɵelementStart(0, "div", 5);
7663
- i0.ɵɵtemplate(1, PublishStatusDropdownlist_div_1_kendo_label_1_Template, 1, 2, "kendo-label", 2);
7665
+ i0.ɵɵtemplate(1, PublishStatusDropdownlist_div_2_kendo_label_1_Template, 1, 2, "kendo-label", 2);
7664
7666
  i0.ɵɵelement(2, "kendo-dropdownlist", 6)(3, "anatoly-item-validation-summary", 7);
7665
7667
  i0.ɵɵelementEnd();
7666
7668
  } if (rf & 2) {
@@ -7680,9 +7682,12 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
7680
7682
  this.enumeration = PublishStatus;
7681
7683
  }
7682
7684
  static { this.ɵfac = function PublishStatusDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PublishStatusDropdownlist)(); }; }
7683
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PublishStatusDropdownlist, selectors: [["anatoly-publishstatus-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "formGroup", 4, "ngIf"], [3, "text", 4, "ngIf"], ["valueField", "value", "textField", "text", 3, "ngModelChange", "valueChange", "data", "valuePrimitive", "ngModel"], [3, "text"], [3, "formGroup"], ["valueField", "value", "textField", "text", 3, "data", "valuePrimitive", "formControlName"], [3, "formGroup", "formSubmitted", "controlName", "controlTitle"]], template: function PublishStatusDropdownlist_Template(rf, ctx) { if (rf & 1) {
7684
- i0.ɵɵtemplate(0, PublishStatusDropdownlist_div_0_Template, 3, 4, "div", 0)(1, PublishStatusDropdownlist_div_1_Template, 4, 9, "div", 1);
7685
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PublishStatusDropdownlist, selectors: [["anatoly-publishstatus-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "ngIf"], [3, "formGroup", 4, "ngIf"], [3, "text", 4, "ngIf"], ["valueField", "value", "textField", "text", 3, "ngModelChange", "valueChange", "data", "valuePrimitive", "ngModel"], [3, "text"], [3, "formGroup"], ["valueField", "value", "textField", "text", 3, "data", "valuePrimitive", "formControlName"], [3, "formGroup", "formSubmitted", "controlName", "controlTitle"]], template: function PublishStatusDropdownlist_Template(rf, ctx) { if (rf & 1) {
7686
+ i0.ɵɵelementStart(0, "div");
7687
+ i0.ɵɵtemplate(1, PublishStatusDropdownlist_div_1_Template, 3, 4, "div", 0)(2, PublishStatusDropdownlist_div_2_Template, 4, 9, "div", 1);
7688
+ i0.ɵɵelementEnd();
7685
7689
  } if (rf & 2) {
7690
+ i0.ɵɵadvance();
7686
7691
  i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
7687
7692
  i0.ɵɵadvance();
7688
7693
  i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
@@ -7690,7 +7695,7 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
7690
7695
  }
7691
7696
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
7692
7697
  type: Component,
7693
- args: [{ selector: 'anatoly-publishstatus-dropdownlist', standalone: false, template: "<div *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 [(ngModel)]=\"sv\"\r\n (valueChange)=\"onChange($event)\" />\r\n</div>\r\n\r\n<div *ngIf='!isNgModelBased' [formGroup]='formGroup'>\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 <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n [controlName]='controlName'\r\n [controlTitle]='controlTitle' />\r\n</div>\r\n" }]
7698
+ args: [{ selector: 'anatoly-publishstatus-dropdownlist', standalone: false, template: "<div>\r\n <div *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 [(ngModel)]=\"sv\"\r\n (valueChange)=\"onChange($event)\" />\r\n </div>\r\n\r\n <div *ngIf='!isNgModelBased' [formGroup]='formGroup'>\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 <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n [controlName]='controlName'\r\n [controlTitle]='controlTitle' />\r\n </div>\r\n</div>" }]
7694
7699
  }], () => [], null); })();
7695
7700
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PublishStatusDropdownlist, { className: "PublishStatusDropdownlist", filePath: "lib/ui/components/dropdownlists/publishstatus/publishstatus.dropdownlist.ts", lineNumber: 28 }); })();
7696
7701