@progress/kendo-angular-filter 14.0.2-develop.1 → 14.0.2-develop.3

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.
@@ -98,7 +98,6 @@ export class FilterExpressionComponent extends BaseFilterRowComponent {
98
98
  this.setOperators(defaultFilter);
99
99
  }
100
100
  this.setEditorTemplate();
101
- this.setEditorType();
102
101
  this.localizationSubscription = this.localization.changes.subscribe(() => {
103
102
  this.setOperators(foundFilter || defaultFilter);
104
103
  this.cdr.detectChanges();
@@ -151,9 +150,9 @@ export class FilterExpressionComponent extends BaseFilterRowComponent {
151
150
  break;
152
151
  }
153
152
  }
154
- setEditorType() {
153
+ getEditorType() {
155
154
  const filterExpression = this.filterService.filters.find((filterExpression) => filterExpression.field === this.currentItem.field);
156
- this.editorType = filterExpression?.editor;
155
+ return filterExpression?.editor;
157
156
  }
158
157
  removeFilterExpression() {
159
158
  this.filterService.remove(this.currentItem, this.index);
@@ -220,13 +219,13 @@ FilterExpressionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
220
219
  <kendo-filter-expression-operators
221
220
  [currentItem]="currentItem"
222
221
  [operators]="operators"
223
- [editorType]="editorType"
222
+ [editorType]="getEditorType()"
224
223
  (valueChange)="onOperatorChange($event);">
225
224
  </kendo-filter-expression-operators>
226
225
  </div>
227
226
 
228
227
  <div class="k-filter-value k-toolbar-item">
229
- <ng-container *ngIf="!editorTemplate" [ngSwitch]="editorType">
228
+ <ng-container *ngIf="!editorTemplate" [ngSwitch]="getEditorType()">
230
229
  <kendo-filter-text-editor *ngSwitchCase="'string'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" (valueChange)="valueChange.emit()"></kendo-filter-text-editor>
231
230
  <kendo-filter-numeric-editor *ngSwitchCase="'number'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="numericEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-numeric-editor>
232
231
  <kendo-filter-boolean-editor *ngSwitchCase="'boolean'" [currentItem]="currentItem" (valueChange)="valueChange.emit()"></kendo-filter-boolean-editor>
@@ -280,13 +279,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
280
279
  <kendo-filter-expression-operators
281
280
  [currentItem]="currentItem"
282
281
  [operators]="operators"
283
- [editorType]="editorType"
282
+ [editorType]="getEditorType()"
284
283
  (valueChange)="onOperatorChange($event);">
285
284
  </kendo-filter-expression-operators>
286
285
  </div>
287
286
 
288
287
  <div class="k-filter-value k-toolbar-item">
289
- <ng-container *ngIf="!editorTemplate" [ngSwitch]="editorType">
288
+ <ng-container *ngIf="!editorTemplate" [ngSwitch]="getEditorType()">
290
289
  <kendo-filter-text-editor *ngSwitchCase="'string'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" (valueChange)="valueChange.emit()"></kendo-filter-text-editor>
291
290
  <kendo-filter-numeric-editor *ngSwitchCase="'number'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="numericEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-numeric-editor>
292
291
  <kendo-filter-boolean-editor *ngSwitchCase="'boolean'" [currentItem]="currentItem" (valueChange)="valueChange.emit()"></kendo-filter-boolean-editor>
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-filter',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1697636249,
13
- version: '14.0.2-develop.1',
12
+ publishDate: 1697801661,
13
+ version: '14.0.2-develop.3',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -235,8 +235,8 @@ const packageMetadata = {
235
235
  name: '@progress/kendo-angular-filter',
236
236
  productName: 'Kendo UI for Angular',
237
237
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
238
- publishDate: 1697636249,
239
- version: '14.0.2-develop.1',
238
+ publishDate: 1697801661,
239
+ version: '14.0.2-develop.3',
240
240
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
241
241
  };
242
242
 
@@ -949,7 +949,6 @@ class FilterExpressionComponent extends BaseFilterRowComponent {
949
949
  this.setOperators(defaultFilter);
950
950
  }
951
951
  this.setEditorTemplate();
952
- this.setEditorType();
953
952
  this.localizationSubscription = this.localization.changes.subscribe(() => {
954
953
  this.setOperators(foundFilter || defaultFilter);
955
954
  this.cdr.detectChanges();
@@ -1002,9 +1001,9 @@ class FilterExpressionComponent extends BaseFilterRowComponent {
1002
1001
  break;
1003
1002
  }
1004
1003
  }
1005
- setEditorType() {
1004
+ getEditorType() {
1006
1005
  const filterExpression = this.filterService.filters.find((filterExpression) => filterExpression.field === this.currentItem.field);
1007
- this.editorType = filterExpression === null || filterExpression === void 0 ? void 0 : filterExpression.editor;
1006
+ return filterExpression === null || filterExpression === void 0 ? void 0 : filterExpression.editor;
1008
1007
  }
1009
1008
  removeFilterExpression() {
1010
1009
  this.filterService.remove(this.currentItem, this.index);
@@ -1071,13 +1070,13 @@ FilterExpressionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
1071
1070
  <kendo-filter-expression-operators
1072
1071
  [currentItem]="currentItem"
1073
1072
  [operators]="operators"
1074
- [editorType]="editorType"
1073
+ [editorType]="getEditorType()"
1075
1074
  (valueChange)="onOperatorChange($event);">
1076
1075
  </kendo-filter-expression-operators>
1077
1076
  </div>
1078
1077
 
1079
1078
  <div class="k-filter-value k-toolbar-item">
1080
- <ng-container *ngIf="!editorTemplate" [ngSwitch]="editorType">
1079
+ <ng-container *ngIf="!editorTemplate" [ngSwitch]="getEditorType()">
1081
1080
  <kendo-filter-text-editor *ngSwitchCase="'string'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" (valueChange)="valueChange.emit()"></kendo-filter-text-editor>
1082
1081
  <kendo-filter-numeric-editor *ngSwitchCase="'number'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="numericEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-numeric-editor>
1083
1082
  <kendo-filter-boolean-editor *ngSwitchCase="'boolean'" [currentItem]="currentItem" (valueChange)="valueChange.emit()"></kendo-filter-boolean-editor>
@@ -1131,13 +1130,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1131
1130
  <kendo-filter-expression-operators
1132
1131
  [currentItem]="currentItem"
1133
1132
  [operators]="operators"
1134
- [editorType]="editorType"
1133
+ [editorType]="getEditorType()"
1135
1134
  (valueChange)="onOperatorChange($event);">
1136
1135
  </kendo-filter-expression-operators>
1137
1136
  </div>
1138
1137
 
1139
1138
  <div class="k-filter-value k-toolbar-item">
1140
- <ng-container *ngIf="!editorTemplate" [ngSwitch]="editorType">
1139
+ <ng-container *ngIf="!editorTemplate" [ngSwitch]="getEditorType()">
1141
1140
  <kendo-filter-text-editor *ngSwitchCase="'string'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" (valueChange)="valueChange.emit()"></kendo-filter-text-editor>
1142
1141
  <kendo-filter-numeric-editor *ngSwitchCase="'number'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="numericEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-numeric-editor>
1143
1142
  <kendo-filter-boolean-editor *ngSwitchCase="'boolean'" [currentItem]="currentItem" (valueChange)="valueChange.emit()"></kendo-filter-boolean-editor>
@@ -235,8 +235,8 @@ const packageMetadata = {
235
235
  name: '@progress/kendo-angular-filter',
236
236
  productName: 'Kendo UI for Angular',
237
237
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
238
- publishDate: 1697636249,
239
- version: '14.0.2-develop.1',
238
+ publishDate: 1697801661,
239
+ version: '14.0.2-develop.3',
240
240
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
241
241
  };
242
242
 
@@ -948,7 +948,6 @@ class FilterExpressionComponent extends BaseFilterRowComponent {
948
948
  this.setOperators(defaultFilter);
949
949
  }
950
950
  this.setEditorTemplate();
951
- this.setEditorType();
952
951
  this.localizationSubscription = this.localization.changes.subscribe(() => {
953
952
  this.setOperators(foundFilter || defaultFilter);
954
953
  this.cdr.detectChanges();
@@ -1001,9 +1000,9 @@ class FilterExpressionComponent extends BaseFilterRowComponent {
1001
1000
  break;
1002
1001
  }
1003
1002
  }
1004
- setEditorType() {
1003
+ getEditorType() {
1005
1004
  const filterExpression = this.filterService.filters.find((filterExpression) => filterExpression.field === this.currentItem.field);
1006
- this.editorType = filterExpression?.editor;
1005
+ return filterExpression?.editor;
1007
1006
  }
1008
1007
  removeFilterExpression() {
1009
1008
  this.filterService.remove(this.currentItem, this.index);
@@ -1070,13 +1069,13 @@ FilterExpressionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
1070
1069
  <kendo-filter-expression-operators
1071
1070
  [currentItem]="currentItem"
1072
1071
  [operators]="operators"
1073
- [editorType]="editorType"
1072
+ [editorType]="getEditorType()"
1074
1073
  (valueChange)="onOperatorChange($event);">
1075
1074
  </kendo-filter-expression-operators>
1076
1075
  </div>
1077
1076
 
1078
1077
  <div class="k-filter-value k-toolbar-item">
1079
- <ng-container *ngIf="!editorTemplate" [ngSwitch]="editorType">
1078
+ <ng-container *ngIf="!editorTemplate" [ngSwitch]="getEditorType()">
1080
1079
  <kendo-filter-text-editor *ngSwitchCase="'string'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" (valueChange)="valueChange.emit()"></kendo-filter-text-editor>
1081
1080
  <kendo-filter-numeric-editor *ngSwitchCase="'number'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="numericEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-numeric-editor>
1082
1081
  <kendo-filter-boolean-editor *ngSwitchCase="'boolean'" [currentItem]="currentItem" (valueChange)="valueChange.emit()"></kendo-filter-boolean-editor>
@@ -1130,13 +1129,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1130
1129
  <kendo-filter-expression-operators
1131
1130
  [currentItem]="currentItem"
1132
1131
  [operators]="operators"
1133
- [editorType]="editorType"
1132
+ [editorType]="getEditorType()"
1134
1133
  (valueChange)="onOperatorChange($event);">
1135
1134
  </kendo-filter-expression-operators>
1136
1135
  </div>
1137
1136
 
1138
1137
  <div class="k-filter-value k-toolbar-item">
1139
- <ng-container *ngIf="!editorTemplate" [ngSwitch]="editorType">
1138
+ <ng-container *ngIf="!editorTemplate" [ngSwitch]="getEditorType()">
1140
1139
  <kendo-filter-text-editor *ngSwitchCase="'string'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" (valueChange)="valueChange.emit()"></kendo-filter-text-editor>
1141
1140
  <kendo-filter-numeric-editor *ngSwitchCase="'number'" [currentItem]="currentItem" [isDisabled]="isEditorDisabled" [format]="numericEditorFormat" (valueChange)="valueChange.emit()"></kendo-filter-numeric-editor>
1142
1141
  <kendo-filter-boolean-editor *ngSwitchCase="'boolean'" [currentItem]="currentItem" (valueChange)="valueChange.emit()"></kendo-filter-boolean-editor>
@@ -49,7 +49,7 @@ export declare class FilterExpressionComponent extends BaseFilterRowComponent im
49
49
  text: string;
50
50
  value: string;
51
51
  }[];
52
- setEditorType(): void;
52
+ getEditorType(): FilterEditor;
53
53
  removeFilterExpression(): void;
54
54
  private setOperators;
55
55
  onOperatorChange(value: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-filter",
3
- "version": "14.0.2-develop.1",
3
+ "version": "14.0.2-develop.3",
4
4
  "description": "Kendo UI Angular Filter",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -22,20 +22,20 @@
22
22
  "@angular/platform-browser": "13 - 16",
23
23
  "@progress/kendo-data-query": "^1.5.5",
24
24
  "@progress/kendo-licensing": "^1.0.2",
25
- "@progress/kendo-angular-buttons": "14.0.2-develop.1",
26
- "@progress/kendo-angular-common": "14.0.2-develop.1",
27
- "@progress/kendo-angular-dateinputs": "14.0.2-develop.1",
28
- "@progress/kendo-angular-dropdowns": "14.0.2-develop.1",
29
- "@progress/kendo-angular-inputs": "14.0.2-develop.1",
30
- "@progress/kendo-angular-intl": "14.0.2-develop.1",
31
- "@progress/kendo-angular-l10n": "14.0.2-develop.1",
32
- "@progress/kendo-angular-icons": "14.0.2-develop.1",
33
- "@progress/kendo-angular-label": "14.0.2-develop.1",
25
+ "@progress/kendo-angular-buttons": "14.0.2-develop.3",
26
+ "@progress/kendo-angular-common": "14.0.2-develop.3",
27
+ "@progress/kendo-angular-dateinputs": "14.0.2-develop.3",
28
+ "@progress/kendo-angular-dropdowns": "14.0.2-develop.3",
29
+ "@progress/kendo-angular-inputs": "14.0.2-develop.3",
30
+ "@progress/kendo-angular-intl": "14.0.2-develop.3",
31
+ "@progress/kendo-angular-l10n": "14.0.2-develop.3",
32
+ "@progress/kendo-angular-icons": "14.0.2-develop.3",
33
+ "@progress/kendo-angular-label": "14.0.2-develop.3",
34
34
  "rxjs": "^6.5.3 || ^7.0.0"
35
35
  },
36
36
  "dependencies": {
37
37
  "tslib": "^2.3.1",
38
- "@progress/kendo-angular-schematics": "14.0.2-develop.1"
38
+ "@progress/kendo-angular-schematics": "14.0.2-develop.3"
39
39
  },
40
40
  "schematics": "./schematics/collection.json",
41
41
  "module": "fesm2015/progress-kendo-angular-filter.mjs",
@@ -4,11 +4,11 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'FilterModule', package: 'filter', peerDependencies: {
6
6
  // peer dep of the dropdowns
7
- '@progress/kendo-angular-treeview': '14.0.2-develop.1',
8
- '@progress/kendo-angular-popup': '14.0.2-develop.1',
7
+ '@progress/kendo-angular-treeview': '14.0.2-develop.3',
8
+ '@progress/kendo-angular-popup': '14.0.2-develop.3',
9
9
  // peer dependency of kendo-angular-inputs
10
10
  '@progress/kendo-drawing': '^1.16.0',
11
- '@progress/kendo-angular-dialog': '14.0.2-develop.1',
11
+ '@progress/kendo-angular-dialog': '14.0.2-develop.3',
12
12
  // Peer dependency of icons
13
13
  '@progress/kendo-svg-icons': '^2.0.0'
14
14
  } });