@progress/kendo-angular-filter 17.0.0-develop.9 → 17.0.0

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.
Files changed (44) hide show
  1. package/aria-label.directive.d.ts +1 -1
  2. package/base-filter-row.component.d.ts +1 -1
  3. package/editors/boolean-editor.component.d.ts +1 -1
  4. package/editors/date-editor.component.d.ts +1 -1
  5. package/editors/numeric-editor.component.d.ts +1 -1
  6. package/editors/text-editor.component.d.ts +1 -1
  7. package/{esm2020 → esm2022}/aria-label.directive.mjs +6 -3
  8. package/{esm2020 → esm2022}/base-filter-row.component.mjs +10 -5
  9. package/{esm2020 → esm2022}/editors/boolean-editor.component.mjs +11 -7
  10. package/{esm2020 → esm2022}/editors/date-editor.component.mjs +9 -5
  11. package/{esm2020 → esm2022}/editors/numeric-editor.component.mjs +9 -5
  12. package/{esm2020 → esm2022}/editors/text-editor.component.mjs +8 -5
  13. package/{esm2020 → esm2022}/filter-expression-operators.component.mjs +9 -6
  14. package/{esm2020 → esm2022}/filter-expression.component.mjs +27 -19
  15. package/{esm2020 → esm2022}/filter-field.component.mjs +50 -3
  16. package/{esm2020 → esm2022}/filter-group.component.mjs +40 -35
  17. package/{esm2020 → esm2022}/filter.component.mjs +40 -29
  18. package/{esm2020 → esm2022}/filter.module.mjs +26 -26
  19. package/{esm2020 → esm2022}/filter.service.mjs +5 -7
  20. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  21. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  22. package/esm2022/localization/messages.mjs +243 -0
  23. package/{esm2020 → esm2022}/navigation.service.mjs +12 -9
  24. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  25. package/{esm2020 → esm2022}/templates/value-editor.template.mjs +4 -3
  26. package/{esm2020 → esm2022}/util.mjs +3 -3
  27. package/{fesm2020 → fesm2022}/progress-kendo-angular-filter.mjs +440 -191
  28. package/filter-expression-operators.component.d.ts +1 -1
  29. package/filter-expression.component.d.ts +1 -1
  30. package/filter-field.component.d.ts +1 -1
  31. package/filter-group.component.d.ts +1 -1
  32. package/filter.component.d.ts +1 -1
  33. package/localization/messages.d.ts +1 -1
  34. package/model/filter-expression.d.ts +2 -2
  35. package/package.json +19 -25
  36. package/schematics/ngAdd/index.js +5 -5
  37. package/util.d.ts +1 -1
  38. package/esm2020/localization/messages.mjs +0 -95
  39. package/fesm2015/progress-kendo-angular-filter.mjs +0 -2278
  40. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  41. /package/{esm2020 → esm2022}/error-messages.mjs +0 -0
  42. /package/{esm2020 → esm2022}/index.mjs +0 -0
  43. /package/{esm2020 → esm2022}/model/filter-expression.mjs +0 -0
  44. /package/{esm2020 → esm2022}/progress-kendo-angular-filter.mjs +0 -0
@@ -22,10 +22,8 @@ import { DialogContainerService, DialogService, WindowService, WindowContainerSe
22
22
  * @hidden
23
23
  */
24
24
  class FilterService {
25
- constructor() {
26
- this.normalizedValue = { logic: 'and', filters: [] };
27
- this.filters = [];
28
- }
25
+ normalizedValue = { logic: 'and', filters: [] };
26
+ filters = [];
29
27
  addFilterGroup(item) {
30
28
  const filterGroup = { logic: 'and', filters: [] };
31
29
  item.filters.push(filterGroup);
@@ -49,10 +47,10 @@ class FilterService {
49
47
  }
50
48
  parentItem.filters.forEach((filter) => filter.filters && this.remove(item, positionIndex, filter));
51
49
  }
50
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
51
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterService });
52
52
  }
53
- FilterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
54
- FilterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterService });
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterService, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterService, decorators: [{
56
54
  type: Injectable
57
55
  }] });
58
56
 
@@ -196,10 +194,10 @@ const isPresent = (value) => value !== null && value !== undefined;
196
194
  * @hidden
197
195
  */
198
196
  class FilterItem {
197
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterItem, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
198
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterItem });
199
199
  }
200
- FilterItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterItem, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
201
- FilterItem.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterItem });
202
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterItem, decorators: [{
200
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterItem, decorators: [{
203
201
  type: Injectable
204
202
  }] });
205
203
  /**
@@ -232,19 +230,20 @@ const packageMetadata = {
232
230
  name: '@progress/kendo-angular-filter',
233
231
  productName: 'Kendo UI for Angular',
234
232
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
235
- publishDate: 1729174790,
236
- version: '17.0.0-develop.9',
233
+ publishDate: 1731414232,
234
+ version: '17.0.0',
237
235
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
238
236
  };
239
237
 
240
238
  class FilterValueEditorTemplateDirective {
239
+ templateRef;
241
240
  constructor(templateRef) {
242
241
  this.templateRef = templateRef;
243
242
  }
243
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterValueEditorTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
244
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FilterValueEditorTemplateDirective, isStandalone: true, selector: "[kendoFilterValueEditorTemplate]", ngImport: i0 });
244
245
  }
245
- FilterValueEditorTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterValueEditorTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
246
- FilterValueEditorTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FilterValueEditorTemplateDirective, isStandalone: true, selector: "[kendoFilterValueEditorTemplate]", ngImport: i0 });
247
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterValueEditorTemplateDirective, decorators: [{
246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterValueEditorTemplateDirective, decorators: [{
248
247
  type: Directive,
249
248
  args: [{
250
249
  selector: '[kendoFilterValueEditorTemplate]',
@@ -276,6 +275,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
276
275
  * ```
277
276
  */
278
277
  class FilterFieldComponent {
278
+ /**
279
+ * Specifies the `field` that will be used by the user-defined filter.
280
+ */
281
+ field;
279
282
  /**
280
283
  * Specifies the `title` text that will be displayed by the user-defined filter.
281
284
  * If the `title` isn't set, the value passed to `field` is used.
@@ -291,10 +294,53 @@ class FilterFieldComponent {
291
294
  get title() {
292
295
  return this._title;
293
296
  }
297
+ _title;
298
+ /**
299
+ * Specifies the user-defined filter `editor` type that will be used.
300
+ * The available options are 'string', 'number', 'boolean', and 'date'.
301
+ */
302
+ editor;
303
+ /**
304
+ * Specifies the operators that will be available in the order of providing them.
305
+ * If no operators are provided, default operators are used for each filter type.
306
+ *
307
+ * The default string operators are:
308
+ * * `eq`— Is equal to
309
+ * * `neq`— Is not equal to
310
+ * * `isnull`— Is null
311
+ * * `isnotnull`— Is not null
312
+ * * `contains`— Contains
313
+ * * `doesnotcontain`— Does not contain
314
+ * * `startswith`— Starts with
315
+ * * `endswith`— Ends with
316
+ * * `isempty`— Is empty
317
+ * * `isnotempty`— Is not empty
318
+ *
319
+ * The default number and date operators are:
320
+ * * `eq`— Is equals to
321
+ * * `neq`— Is not equal to
322
+ * * `isnull`— Is null
323
+ * * `isnotnull`— Is not null
324
+ * * `gt`— Greater than
325
+ * * `gte`— Greater than or equal to
326
+ * * `lt`— Less than
327
+ * * `lte`— Less than or equal to
328
+ *
329
+ * The boolean operator is always set to `eq`
330
+ */
331
+ operators;
332
+ /**
333
+ * Specifies the user-defined filter `editor` format that will be used. ([see example]({% slug filter_editor_formats %}))
334
+ */
335
+ editorFormat;
336
+ /**
337
+ * @hidden
338
+ */
339
+ editorTemplate;
340
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
341
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterFieldComponent, isStandalone: true, selector: "kendo-filter-field", inputs: { field: "field", title: "title", editor: "editor", operators: "operators", editorFormat: "editorFormat" }, queries: [{ propertyName: "editorTemplate", first: true, predicate: FilterValueEditorTemplateDirective, descendants: true }], ngImport: i0, template: ``, isInline: true });
294
342
  }
295
- FilterFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
296
- FilterFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterFieldComponent, isStandalone: true, selector: "kendo-filter-field", inputs: { field: "field", title: "title", editor: "editor", operators: "operators", editorFormat: "editorFormat" }, queries: [{ propertyName: "editorTemplate", first: true, predicate: FilterValueEditorTemplateDirective, descendants: true }], ngImport: i0, template: ``, isInline: true });
297
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterFieldComponent, decorators: [{
343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterFieldComponent, decorators: [{
298
344
  type: Component,
299
345
  args: [{
300
346
  selector: 'kendo-filter-field',
@@ -320,15 +366,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
320
366
  * @hidden
321
367
  */
322
368
  class NavigationService {
369
+ cdr;
370
+ renderer;
371
+ hierarchicalFilterItems = [];
372
+ flattenFilterItems = [];
373
+ currentToolbarItemIndex = 0;
374
+ currentToolbarItemChildrenIndex = 0;
375
+ isInnerNavigationActivated = true;
376
+ isFilterExpressionComponentFocused = false;
377
+ currentlyFocusedElement;
323
378
  constructor(cdr, renderer) {
324
379
  this.cdr = cdr;
325
380
  this.renderer = renderer;
326
- this.hierarchicalFilterItems = [];
327
- this.flattenFilterItems = [];
328
- this.currentToolbarItemIndex = 0;
329
- this.currentToolbarItemChildrenIndex = 0;
330
- this.isInnerNavigationActivated = true;
331
- this.isFilterExpressionComponentFocused = false;
332
381
  }
333
382
  processKeyDown(key, event) {
334
383
  switch (key) {
@@ -452,10 +501,10 @@ class NavigationService {
452
501
  this.flattenHierarchicalFilterItems(items);
453
502
  this.setItemIndexes();
454
503
  }
504
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
505
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService });
455
506
  }
456
- NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
457
- NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService });
458
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService, decorators: [{
507
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService, decorators: [{
459
508
  type: Injectable
460
509
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; } });
461
510
 
@@ -476,14 +525,19 @@ const FilterErrorMessages = {
476
525
  * @hidden
477
526
  */
478
527
  class BaseFilterRowComponent {
528
+ element;
529
+ navigationService;
530
+ localization;
531
+ renderer;
532
+ index;
533
+ valueChange = new EventEmitter();
479
534
  constructor(element, navigationService, localization, renderer) {
480
535
  this.element = element;
481
536
  this.navigationService = navigationService;
482
537
  this.localization = localization;
483
538
  this.renderer = renderer;
484
- this.valueChange = new EventEmitter();
485
- this.itemNumber = 0;
486
539
  }
540
+ itemNumber = 0;
487
541
  get toolbarElement() {
488
542
  return this.element.nativeElement.querySelector('.k-toolbar');
489
543
  }
@@ -520,10 +574,10 @@ class BaseFilterRowComponent {
520
574
  this.navigationService.currentToolbarItemIndex = this.itemNumber;
521
575
  this.navigationService.focusCurrentElement(elementToFocus, true);
522
576
  }
577
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseFilterRowComponent, deps: [{ token: i0.ElementRef }, { token: NavigationService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
578
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BaseFilterRowComponent, inputs: { index: "index" }, outputs: { valueChange: "valueChange" }, ngImport: i0 });
523
579
  }
524
- BaseFilterRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseFilterRowComponent, deps: [{ token: i0.ElementRef }, { token: NavigationService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
525
- BaseFilterRowComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BaseFilterRowComponent, inputs: { index: "index" }, outputs: { valueChange: "valueChange" }, ngImport: i0 });
526
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseFilterRowComponent, decorators: [{
580
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseFilterRowComponent, decorators: [{
527
581
  type: Directive,
528
582
  args: [{}]
529
583
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: NavigationService }, { type: i1.LocalizationService }, { type: i0.Renderer2 }]; }, propDecorators: { index: [{
@@ -536,6 +590,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
536
590
  * @hidden
537
591
  */
538
592
  class AriaLabelValueDirective {
593
+ hostElement;
594
+ renderer;
595
+ ariaLabel;
539
596
  constructor(hostElement, renderer) {
540
597
  this.hostElement = hostElement;
541
598
  this.renderer = renderer;
@@ -544,10 +601,10 @@ class AriaLabelValueDirective {
544
601
  const target = this.hostElement.nativeElement.querySelector('input') || this.hostElement.nativeElement;
545
602
  this.renderer.setAttribute(target, 'aria-label', this.ariaLabel);
546
603
  }
604
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AriaLabelValueDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
605
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AriaLabelValueDirective, isStandalone: true, selector: "[kendoAriaLabelValue]", inputs: { ariaLabel: ["kendoAriaLabelValue", "ariaLabel"] }, ngImport: i0 });
547
606
  }
548
- AriaLabelValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AriaLabelValueDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
549
- AriaLabelValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AriaLabelValueDirective, isStandalone: true, selector: "[kendoAriaLabelValue]", inputs: { ariaLabel: ["kendoAriaLabelValue", "ariaLabel"] }, ngImport: i0 });
550
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AriaLabelValueDirective, decorators: [{
607
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AriaLabelValueDirective, decorators: [{
551
608
  type: Directive,
552
609
  args: [{
553
610
  selector: '[kendoAriaLabelValue]',
@@ -562,9 +619,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
562
619
  * @hidden
563
620
  */
564
621
  class FilterDateEditorComponent {
622
+ localization;
623
+ currentItem;
624
+ isDisabled;
625
+ format;
626
+ valueChange = new EventEmitter();
565
627
  constructor(localization) {
566
628
  this.localization = localization;
567
- this.valueChange = new EventEmitter();
568
629
  }
569
630
  messageFor(key) {
570
631
  return this.localization.get(key);
@@ -573,9 +634,8 @@ class FilterDateEditorComponent {
573
634
  this.currentItem.value = value;
574
635
  this.valueChange.emit();
575
636
  }
576
- }
577
- FilterDateEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterDateEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
578
- FilterDateEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterDateEditorComponent, isStandalone: true, selector: "kendo-filter-date-editor", inputs: { currentItem: "currentItem", isDisabled: "isDisabled", format: "format" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
637
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterDateEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
638
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterDateEditorComponent, isStandalone: true, selector: "kendo-filter-date-editor", inputs: { currentItem: "currentItem", isDisabled: "isDisabled", format: "format" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
579
639
  <kendo-datepicker
580
640
  [tabindex]="-1"
581
641
  [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
@@ -589,7 +649,8 @@ FilterDateEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
589
649
  </kendo-datepicker-messages>
590
650
  </kendo-datepicker>
591
651
  `, isInline: true, dependencies: [{ kind: "component", type: DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "clearButton", "inputAttributes", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "footer", "navigationItemTemplate", "weekDaysFormat", "showOtherMonthDays", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "subtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }, { kind: "directive", type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }, { kind: "component", type: DatePickerCustomMessagesComponent, selector: "kendo-datepicker-messages" }] });
592
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterDateEditorComponent, decorators: [{
652
+ }
653
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterDateEditorComponent, decorators: [{
593
654
  type: Component,
594
655
  args: [{
595
656
  selector: 'kendo-filter-date-editor',
@@ -624,12 +685,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
624
685
  * @hidden
625
686
  */
626
687
  class FilterBooleanEditorComponent {
688
+ localization;
689
+ cdr;
690
+ currentItem;
691
+ valueChange = new EventEmitter();
692
+ items = this.getValueItems();
693
+ defaultItem = this.getDefaultItem();
694
+ localizationSubscription;
627
695
  constructor(localization, cdr) {
628
696
  this.localization = localization;
629
697
  this.cdr = cdr;
630
- this.valueChange = new EventEmitter();
631
- this.items = this.getValueItems();
632
- this.defaultItem = this.getDefaultItem();
633
698
  }
634
699
  ngOnInit() {
635
700
  this.localizationSubscription = this.localization.changes.subscribe(() => {
@@ -659,9 +724,8 @@ class FilterBooleanEditorComponent {
659
724
  this.currentItem.value = value;
660
725
  this.valueChange.emit();
661
726
  }
662
- }
663
- FilterBooleanEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterBooleanEditorComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
664
- FilterBooleanEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterBooleanEditorComponent, isStandalone: true, selector: "kendo-filter-boolean-editor", inputs: { currentItem: "currentItem" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
727
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterBooleanEditorComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
728
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterBooleanEditorComponent, isStandalone: true, selector: "kendo-filter-boolean-editor", inputs: { currentItem: "currentItem" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
665
729
  <kendo-dropdownlist
666
730
  [tabindex]="-1"
667
731
  [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
@@ -675,7 +739,8 @@ FilterBooleanEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
675
739
  >
676
740
  </kendo-dropdownlist>
677
741
  `, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }] });
678
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterBooleanEditorComponent, decorators: [{
742
+ }
743
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterBooleanEditorComponent, decorators: [{
679
744
  type: Component,
680
745
  args: [{
681
746
  selector: 'kendo-filter-boolean-editor',
@@ -706,9 +771,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
706
771
  * @hidden
707
772
  */
708
773
  class FilterNumericEditorComponent {
774
+ localization;
775
+ currentItem;
776
+ isDisabled;
777
+ format;
778
+ valueChange = new EventEmitter();
709
779
  constructor(localization) {
710
780
  this.localization = localization;
711
- this.valueChange = new EventEmitter();
712
781
  }
713
782
  messageFor(key) {
714
783
  return this.localization.get(key);
@@ -717,9 +786,8 @@ class FilterNumericEditorComponent {
717
786
  this.currentItem.value = value;
718
787
  this.valueChange.emit();
719
788
  }
720
- }
721
- FilterNumericEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterNumericEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
722
- FilterNumericEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterNumericEditorComponent, isStandalone: true, selector: "kendo-filter-numeric-editor", inputs: { currentItem: "currentItem", isDisabled: "isDisabled", format: "format" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
789
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterNumericEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
790
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterNumericEditorComponent, isStandalone: true, selector: "kendo-filter-numeric-editor", inputs: { currentItem: "currentItem", isDisabled: "isDisabled", format: "format" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
723
791
  <kendo-numerictextbox
724
792
  [tabindex]="-1"
725
793
  [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
@@ -733,7 +801,8 @@ FilterNumericEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
733
801
  </kendo-numerictextbox-messages>
734
802
  </kendo-numerictextbox>
735
803
  `, isInline: true, dependencies: [{ kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "directive", type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }, { kind: "component", type: NumericTextBoxCustomMessagesComponent, selector: "kendo-numerictextbox-messages" }] });
736
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterNumericEditorComponent, decorators: [{
804
+ }
805
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterNumericEditorComponent, decorators: [{
737
806
  type: Component,
738
807
  args: [{
739
808
  selector: 'kendo-filter-numeric-editor',
@@ -768,9 +837,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
768
837
  * @hidden
769
838
  */
770
839
  class FilterTextEditorComponent {
840
+ localization;
841
+ currentItem;
842
+ isDisabled;
843
+ valueChange = new EventEmitter();
771
844
  constructor(localization) {
772
845
  this.localization = localization;
773
- this.valueChange = new EventEmitter();
774
846
  }
775
847
  messageFor(key) {
776
848
  return this.localization.get(key);
@@ -779,9 +851,8 @@ class FilterTextEditorComponent {
779
851
  this.currentItem.value = value;
780
852
  this.valueChange.emit();
781
853
  }
782
- }
783
- FilterTextEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterTextEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
784
- FilterTextEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterTextEditorComponent, isStandalone: true, selector: "kendo-filter-text-editor", inputs: { currentItem: "currentItem", isDisabled: "isDisabled" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
854
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterTextEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
855
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterTextEditorComponent, isStandalone: true, selector: "kendo-filter-text-editor", inputs: { currentItem: "currentItem", isDisabled: "isDisabled" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
785
856
  <kendo-textbox
786
857
  [tabindex]="-1"
787
858
  [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
@@ -790,7 +861,8 @@ FilterTextEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
790
861
  [disabled]="isDisabled">
791
862
  </kendo-textbox>
792
863
  `, isInline: true, dependencies: [{ kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }] });
793
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterTextEditorComponent, decorators: [{
864
+ }
865
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterTextEditorComponent, decorators: [{
794
866
  type: Component,
795
867
  args: [{
796
868
  selector: 'kendo-filter-text-editor',
@@ -818,10 +890,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
818
890
  * @hidden
819
891
  */
820
892
  class FilterExpressionOperatorsComponent {
893
+ localization;
894
+ currentItem;
895
+ editorType;
896
+ valueChange = new EventEmitter();
897
+ operators = [];
821
898
  constructor(localization) {
822
899
  this.localization = localization;
823
- this.valueChange = new EventEmitter();
824
- this.operators = [];
825
900
  }
826
901
  messageFor(key) {
827
902
  return this.localization.get(key);
@@ -832,9 +907,8 @@ class FilterExpressionOperatorsComponent {
832
907
  operatorValueChange(value) {
833
908
  this.valueChange.emit(value);
834
909
  }
835
- }
836
- FilterExpressionOperatorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterExpressionOperatorsComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
837
- FilterExpressionOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterExpressionOperatorsComponent, isStandalone: true, selector: "kendo-filter-expression-operators", inputs: { currentItem: "currentItem", editorType: "editorType", operators: "operators" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
910
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterExpressionOperatorsComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
911
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterExpressionOperatorsComponent, isStandalone: true, selector: "kendo-filter-expression-operators", inputs: { currentItem: "currentItem", editorType: "editorType", operators: "operators" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
838
912
  <kendo-dropdownlist
839
913
  [tabindex]="-1"
840
914
  [kendoAriaLabelValue]="messageFor('filterOperatorAriaLabel')"
@@ -854,7 +928,8 @@ FilterExpressionOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersio
854
928
  </ng-template>
855
929
  </kendo-dropdownlist>
856
930
  `, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }, { kind: "directive", type: ValueTemplateDirective, selector: "[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]" }, { kind: "directive", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }] });
857
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterExpressionOperatorsComponent, decorators: [{
931
+ }
932
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterExpressionOperatorsComponent, decorators: [{
858
933
  type: Component,
859
934
  args: [{
860
935
  selector: "kendo-filter-expression-operators",
@@ -895,18 +970,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
895
970
  * @hidden
896
971
  */
897
972
  class FilterExpressionComponent extends BaseFilterRowComponent {
898
- constructor(filterService, cdr, element, navigationService, localization, renderer) {
899
- super(element, navigationService, localization, renderer);
900
- this.filterService = filterService;
901
- this.cdr = cdr;
902
- /**
903
- * @hidden
904
- */
905
- this.xIcon = xIcon;
906
- this.operators = [];
907
- this.isBoolean = false;
908
- this.isEditorDisabled = false;
909
- }
973
+ filterService;
974
+ cdr;
975
+ /**
976
+ * @hidden
977
+ */
978
+ xIcon = xIcon;
979
+ static ngAcceptInputType_currentItem;
980
+ currentItem;
981
+ operators = [];
982
+ isBoolean = false;
983
+ editorType;
984
+ isEditorDisabled = false;
985
+ editorTemplate;
986
+ editorFormat;
910
987
  get currentFilterExpression() {
911
988
  return this.getFilterExpressionByField(this.currentItem.field);
912
989
  }
@@ -946,6 +1023,12 @@ class FilterExpressionComponent extends BaseFilterRowComponent {
946
1023
  return false;
947
1024
  }
948
1025
  }
1026
+ localizationSubscription;
1027
+ constructor(filterService, cdr, element, navigationService, localization, renderer) {
1028
+ super(element, navigationService, localization, renderer);
1029
+ this.filterService = filterService;
1030
+ this.cdr = cdr;
1031
+ }
949
1032
  ngOnInit() {
950
1033
  this.isEditorDisabled = nullOperators.indexOf(this.currentItem.operator) >= 0;
951
1034
  const foundFilter = this.getFilterExpressionByField(this.currentItem.field);
@@ -1063,12 +1146,11 @@ class FilterExpressionComponent extends BaseFilterRowComponent {
1063
1146
  const filterExpression = this.filterService.filters.find((filter) => filter.field === this.currentItem.field);
1064
1147
  this.editorTemplate = filterExpression?.editorTemplate;
1065
1148
  }
1066
- }
1067
- FilterExpressionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterExpressionComponent, deps: [{ token: FilterService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: NavigationService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1068
- FilterExpressionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterExpressionComponent, isStandalone: true, selector: "kendo-filter-expression", inputs: { currentItem: "currentItem" }, providers: [{
1069
- provide: FilterItem,
1070
- useExisting: forwardRef(() => FilterExpressionComponent)
1071
- }], usesInheritance: true, ngImport: i0, template: `
1149
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterExpressionComponent, deps: [{ token: FilterService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: NavigationService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1150
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterExpressionComponent, isStandalone: true, selector: "kendo-filter-expression", inputs: { currentItem: "currentItem" }, providers: [{
1151
+ provide: FilterItem,
1152
+ useExisting: forwardRef(() => FilterExpressionComponent)
1153
+ }], usesInheritance: true, ngImport: i0, template: `
1072
1154
  <div class="k-filter-toolbar">
1073
1155
  <div class="k-toolbar k-toolbar-md" role="toolbar" [attr.aria-label]="messageFor('filterToolbarAriaLabel')" (mousedown)="onMouseDown($event)">
1074
1156
  <div class="k-filter-field k-toolbar-item" >
@@ -1120,7 +1202,8 @@ FilterExpressionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
1120
1202
  </div>
1121
1203
  </div>
1122
1204
  `, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FilterExpressionOperatorsComponent, selector: "kendo-filter-expression-operators", inputs: ["currentItem", "editorType", "operators"], outputs: ["valueChange"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: FilterTextEditorComponent, selector: "kendo-filter-text-editor", inputs: ["currentItem", "isDisabled"], outputs: ["valueChange"] }, { kind: "component", type: FilterNumericEditorComponent, selector: "kendo-filter-numeric-editor", inputs: ["currentItem", "isDisabled", "format"], outputs: ["valueChange"] }, { kind: "component", type: FilterBooleanEditorComponent, selector: "kendo-filter-boolean-editor", inputs: ["currentItem"], outputs: ["valueChange"] }, { kind: "component", type: FilterDateEditorComponent, selector: "kendo-filter-date-editor", inputs: ["currentItem", "isDisabled", "format"], outputs: ["valueChange"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
1123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterExpressionComponent, decorators: [{
1205
+ }
1206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterExpressionComponent, decorators: [{
1124
1207
  type: Component,
1125
1208
  args: [{
1126
1209
  providers: [{
@@ -1191,34 +1274,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1191
1274
  * @hidden
1192
1275
  */
1193
1276
  class FilterGroupComponent extends BaseFilterRowComponent {
1194
- constructor(filterService, cdr, element, navigationService, localization, renderer) {
1195
- super(element, navigationService, localization, renderer);
1196
- this.filterService = filterService;
1197
- this.cdr = cdr;
1198
- /**
1199
- * @hidden
1200
- */
1201
- this.xIcon = xIcon;
1202
- /**
1203
- * @hidden
1204
- */
1205
- this.filterAddGroupIcon = filterAddGroupIcon;
1206
- /**
1207
- * @hidden
1208
- */
1209
- this.filterAddExpressionIcon = filterAddExpressionIcon;
1210
- this.currentItem = {
1211
- logic: 'or',
1212
- filters: []
1213
- };
1214
- /**
1215
- * @hidden
1216
- */
1217
- this.trackByFunction = (index) => {
1218
- return index;
1219
- };
1220
- this.operators = [];
1221
- }
1277
+ filterService;
1278
+ cdr;
1279
+ static ngAcceptInputType_currentItem;
1280
+ /**
1281
+ * @hidden
1282
+ */
1283
+ xIcon = xIcon;
1284
+ /**
1285
+ * @hidden
1286
+ */
1287
+ filterAddGroupIcon = filterAddGroupIcon;
1288
+ /**
1289
+ * @hidden
1290
+ */
1291
+ filterAddExpressionIcon = filterAddExpressionIcon;
1292
+ _filterItems;
1222
1293
  get filterItems() {
1223
1294
  return this._filterItems.toArray();
1224
1295
  }
@@ -1235,6 +1306,23 @@ class FilterGroupComponent extends BaseFilterRowComponent {
1235
1306
  }
1236
1307
  this.valueChange.emit(isRemoveOperation);
1237
1308
  }
1309
+ currentItem = {
1310
+ logic: 'or',
1311
+ filters: []
1312
+ };
1313
+ /**
1314
+ * @hidden
1315
+ */
1316
+ trackByFunction = (index) => {
1317
+ return index;
1318
+ };
1319
+ operators = [];
1320
+ localizationSubscription;
1321
+ constructor(filterService, cdr, element, navigationService, localization, renderer) {
1322
+ super(element, navigationService, localization, renderer);
1323
+ this.filterService = filterService;
1324
+ this.cdr = cdr;
1325
+ }
1238
1326
  ngOnInit() {
1239
1327
  this.operators = this.getLogicOperators();
1240
1328
  this.localizationSubscription = this.localization.changes.subscribe(() => {
@@ -1289,12 +1377,11 @@ class FilterGroupComponent extends BaseFilterRowComponent {
1289
1377
  this.navigationService.currentToolbarItemIndex = this.itemNumber;
1290
1378
  this.navigationService.focusCurrentElement(elementToFocus, true);
1291
1379
  }
1292
- }
1293
- FilterGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterGroupComponent, deps: [{ token: FilterService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: NavigationService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1294
- FilterGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterGroupComponent, isStandalone: true, selector: "kendo-filter-group", inputs: { currentItem: "currentItem" }, providers: [{
1295
- provide: FilterItem,
1296
- useExisting: forwardRef(() => FilterGroupComponent)
1297
- }], viewQueries: [{ propertyName: "_filterItems", predicate: FilterItem, descendants: true }], usesInheritance: true, ngImport: i0, template: `
1380
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterGroupComponent, deps: [{ token: FilterService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: NavigationService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1381
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterGroupComponent, isStandalone: true, selector: "kendo-filter-group", inputs: { currentItem: "currentItem" }, providers: [{
1382
+ provide: FilterItem,
1383
+ useExisting: forwardRef(() => FilterGroupComponent)
1384
+ }], viewQueries: [{ propertyName: "_filterItems", predicate: FilterItem, descendants: true }], usesInheritance: true, ngImport: i0, template: `
1298
1385
  <div class="k-filter-toolbar">
1299
1386
  <div class="k-toolbar k-toolbar-md" role="toolbar" [attr.aria-label]="messageFor('filterToolbarAriaLabel')" (mousedown)="onMouseDown($event)">
1300
1387
  <div class="k-toolbar-button-group k-button-group k-button-group-solid" role="group">
@@ -1365,7 +1452,8 @@ FilterGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
1365
1452
  </ng-container>
1366
1453
  </ul>
1367
1454
  `, isInline: true, dependencies: [{ kind: "component", type: FilterGroupComponent, selector: "kendo-filter-group", inputs: ["currentItem"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FilterExpressionComponent, selector: "kendo-filter-expression", inputs: ["currentItem"] }] });
1368
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterGroupComponent, decorators: [{
1455
+ }
1456
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterGroupComponent, decorators: [{
1369
1457
  type: Component,
1370
1458
  args: [{
1371
1459
  providers: [{
@@ -1458,10 +1546,158 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1458
1546
  * @hidden
1459
1547
  */
1460
1548
  class Messages extends ComponentMessages {
1549
+ /**
1550
+ * The text of the Filter Expression `operators` drop down title.
1551
+ */
1552
+ filterExpressionOperators;
1553
+ /**
1554
+ * The text of the Filter Expression 'fields' drop down title.
1555
+ */
1556
+ filterExpressionFilters;
1557
+ /**
1558
+ * The text of the `Remove` button.
1559
+ */
1560
+ remove;
1561
+ /**
1562
+ * The text of the Filter Group `Add Group` button.
1563
+ */
1564
+ addGroup;
1565
+ /**
1566
+ * The text of the Filter Group `Add Filter` button.
1567
+ */
1568
+ addFilter;
1569
+ /**
1570
+ * The text of the `And` Filter Group logic.
1571
+ */
1572
+ filterAndLogic;
1573
+ /**
1574
+ * The text of the `Or` Filter Group logic.
1575
+ */
1576
+ filterOrLogic;
1577
+ /**
1578
+ * The text of the `Equal` (**Is equal to**) Filter Expression operator.
1579
+ */
1580
+ filterEqOperator;
1581
+ /**
1582
+ * The text of the `NotEqual` (**Is not equal to**) Filter Expression operator.
1583
+ */
1584
+ filterNotEqOperator;
1585
+ /**
1586
+ * The text of the `IsNull` (**Is null**) Filter Expression operator.
1587
+ */
1588
+ filterIsNullOperator;
1589
+ /**
1590
+ * The text of the `IsNotNull` (**Is not null**) Filter Expression operator.
1591
+ */
1592
+ filterIsNotNullOperator;
1593
+ /**
1594
+ * The text of the `IsEmpty` (**Is empty**) Filter Expression operator.
1595
+ */
1596
+ filterIsEmptyOperator;
1597
+ /**
1598
+ * The text of the `IsNotEmpty` (**Is not empty**) Filter Expression operator.
1599
+ */
1600
+ filterIsNotEmptyOperator;
1601
+ /**
1602
+ * The text of the `StartsWith` (**Starts with**) Filter Expression operator.
1603
+ */
1604
+ filterStartsWithOperator;
1605
+ /**
1606
+ * The text of the `Contains` (**Contains**) Filter Expression operator.
1607
+ */
1608
+ filterContainsOperator;
1609
+ /**
1610
+ * The text of the `DoesNotContain` (**Does not contain**) Filter Expression operator.
1611
+ */
1612
+ filterNotContainsOperator;
1613
+ /**
1614
+ * The text of the `EndsWith` (**Ends with**) string Filter Expression operator.
1615
+ */
1616
+ filterEndsWithOperator;
1617
+ /**
1618
+ * The text of the `GreaterOrEqualTo` (**Is greater than or equal to**) numeric Filter Expression operator.
1619
+ */
1620
+ filterGteOperator;
1621
+ /**
1622
+ * The text of the `Greater` (**Is greater than**) numeric Filter Expression operator.
1623
+ */
1624
+ filterGtOperator;
1625
+ /**
1626
+ * The text of the `LessOrEqualTo` (**Is less than or equal to**) numeric Filter Expression operator.
1627
+ */
1628
+ filterLteOperator;
1629
+ /**
1630
+ * The text of the `Less` (**Is less than**) numeric Filter Expression operator.
1631
+ */
1632
+ filterLtOperator;
1633
+ /**
1634
+ * The text of the `IsTrue` boolean Filter Expression option.
1635
+ */
1636
+ filterIsTrue;
1637
+ /**
1638
+ * The text of the `IsFalse` boolean Filter Expression option.
1639
+ */
1640
+ filterIsFalse;
1641
+ /**
1642
+ * The text of the `(All)` boolean Filter Expression option.
1643
+ */
1644
+ filterBooleanAll;
1645
+ /**
1646
+ * The text of the `AfterOrEqualTo` (**Is after or equal to**) date Filter Expression operator.
1647
+ */
1648
+ filterAfterOrEqualOperator;
1649
+ /**
1650
+ * The text of the `After` (**Is after**) date Filter Expression operator.
1651
+ */
1652
+ filterAfterOperator;
1653
+ /**
1654
+ * The text of the `Before` (**Is before**) date Filter Expression operator.
1655
+ */
1656
+ filterBeforeOperator;
1657
+ /**
1658
+ * The text of the `BeforeOrEqualTo` (**Is before or equal to**) date Filter Expression operator.
1659
+ */
1660
+ filterBeforeOrEqualOperator;
1661
+ /**
1662
+ * The title of the Decrement button of the Filter Expression numeric editor.
1663
+ */
1664
+ editorNumericDecrement;
1665
+ /**
1666
+ * The title of the Increment button of the Filter Expression numeric editor.
1667
+ */
1668
+ editorNumericIncrement;
1669
+ /**
1670
+ * The text of the Today button of the Filter Expression date editor.
1671
+ */
1672
+ editorDateTodayText;
1673
+ /**
1674
+ * The title of the Toggle button of the Filter Expression date editor.
1675
+ */
1676
+ editorDateToggleText;
1677
+ /**
1678
+ * The text of the filter field aria label.
1679
+ */
1680
+ filterFieldAriaLabel;
1681
+ /**
1682
+ * The text of the filter operator aria label.
1683
+ */
1684
+ filterOperatorAriaLabel;
1685
+ /**
1686
+ * The text of the filter value aria label.
1687
+ */
1688
+ filterValueAriaLabel;
1689
+ /**
1690
+ * The text of the filter row aria label.
1691
+ */
1692
+ filterToolbarAriaLabel;
1693
+ /**
1694
+ * The text of the filter toolbar aria label.
1695
+ */
1696
+ filterComponentAriaLabel;
1697
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1698
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Messages, selector: "[kendoFilterMessages]", inputs: { filterExpressionOperators: "filterExpressionOperators", filterExpressionFilters: "filterExpressionFilters", remove: "remove", addGroup: "addGroup", addFilter: "addFilter", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", editorNumericDecrement: "editorNumericDecrement", editorNumericIncrement: "editorNumericIncrement", editorDateTodayText: "editorDateTodayText", editorDateToggleText: "editorDateToggleText", filterFieldAriaLabel: "filterFieldAriaLabel", filterOperatorAriaLabel: "filterOperatorAriaLabel", filterValueAriaLabel: "filterValueAriaLabel", filterToolbarAriaLabel: "filterToolbarAriaLabel", filterComponentAriaLabel: "filterComponentAriaLabel" }, usesInheritance: true, ngImport: i0 });
1461
1699
  }
1462
- Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1463
- Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Messages, selector: "[kendoFilterMessages]", inputs: { filterExpressionOperators: "filterExpressionOperators", filterExpressionFilters: "filterExpressionFilters", remove: "remove", addGroup: "addGroup", addFilter: "addFilter", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", editorNumericDecrement: "editorNumericDecrement", editorNumericIncrement: "editorNumericIncrement", editorDateTodayText: "editorDateTodayText", editorDateToggleText: "editorDateToggleText", filterFieldAriaLabel: "filterFieldAriaLabel", filterOperatorAriaLabel: "filterOperatorAriaLabel", filterValueAriaLabel: "filterValueAriaLabel", filterToolbarAriaLabel: "filterToolbarAriaLabel", filterComponentAriaLabel: "filterComponentAriaLabel" }, usesInheritance: true, ngImport: i0 });
1464
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
1700
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, decorators: [{
1465
1701
  type: Directive,
1466
1702
  args: [{
1467
1703
  selector: '[kendoFilterMessages]'
@@ -1546,19 +1782,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1546
1782
  * @hidden
1547
1783
  */
1548
1784
  class LocalizedMessagesDirective extends Messages {
1785
+ service;
1549
1786
  constructor(service) {
1550
1787
  super();
1551
1788
  this.service = service;
1552
1789
  }
1790
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
1791
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoFilterLocalizedMessages]", providers: [
1792
+ {
1793
+ provide: Messages,
1794
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
1795
+ }
1796
+ ], usesInheritance: true, ngImport: i0 });
1553
1797
  }
1554
- LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
1555
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoFilterLocalizedMessages]", providers: [
1556
- {
1557
- provide: Messages,
1558
- useExisting: forwardRef(() => LocalizedMessagesDirective)
1559
- }
1560
- ], usesInheritance: true, ngImport: i0 });
1561
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
1798
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
1562
1799
  type: Directive,
1563
1800
  args: [{
1564
1801
  providers: [
@@ -1605,23 +1842,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1605
1842
  * ```
1606
1843
  */
1607
1844
  class FilterComponent {
1608
- constructor(filterService, localization, cdr, element, navigationService, renderer) {
1609
- this.filterService = filterService;
1610
- this.localization = localization;
1611
- this.cdr = cdr;
1612
- this.element = element;
1613
- this.navigationService = navigationService;
1614
- this.renderer = renderer;
1615
- /**
1616
- * Fires every time the Filter component value is updated.
1617
- * That is each time a Filter Group or Filter Expression is added, removed, or updated.
1618
- */
1619
- this.valueChange = new EventEmitter();
1620
- this._value = { filters: [], logic: 'and' };
1621
- this._currentFilter = { logic: 'and', filters: [] };
1622
- validatePackage(packageMetadata);
1623
- this.direction = localization.rtl ? 'rtl' : 'ltr';
1624
- }
1845
+ filterService;
1846
+ localization;
1847
+ cdr;
1848
+ element;
1849
+ navigationService;
1850
+ renderer;
1625
1851
  /**
1626
1852
  * @hidden
1627
1853
  */
@@ -1647,6 +1873,7 @@ class FilterComponent {
1647
1873
  this.navigationService.processKeyDown(keyCode, event);
1648
1874
  }
1649
1875
  }
1876
+ direction;
1650
1877
  /**
1651
1878
  * Specifies the available user-defined filters. At least one filter should be provided.
1652
1879
  */
@@ -1683,12 +1910,32 @@ class FilterComponent {
1683
1910
  get value() {
1684
1911
  return this._value;
1685
1912
  }
1913
+ /**
1914
+ * Fires every time the Filter component value is updated.
1915
+ * That is each time a Filter Group or Filter Expression is added, removed, or updated.
1916
+ */
1917
+ valueChange = new EventEmitter();
1918
+ localizationSubscription;
1919
+ filterFieldsSubscription;
1920
+ _value = { filters: [], logic: 'and' };
1921
+ filterFields;
1922
+ _filterItems;
1686
1923
  get filterItems() {
1687
1924
  return this._filterItems.toArray();
1688
1925
  }
1689
1926
  get toolbarElement() {
1690
1927
  return this.element.nativeElement.querySelector('.k-toolbar');
1691
1928
  }
1929
+ constructor(filterService, localization, cdr, element, navigationService, renderer) {
1930
+ this.filterService = filterService;
1931
+ this.localization = localization;
1932
+ this.cdr = cdr;
1933
+ this.element = element;
1934
+ this.navigationService = navigationService;
1935
+ this.renderer = renderer;
1936
+ validatePackage(packageMetadata);
1937
+ this.direction = localization.rtl ? 'rtl' : 'ltr';
1938
+ }
1692
1939
  ngOnInit() {
1693
1940
  this.localizationSubscription = this.localization.changes.subscribe(({ rtl }) => {
1694
1941
  this.direction = rtl ? 'rtl' : 'ltr';
@@ -1725,6 +1972,7 @@ class FilterComponent {
1725
1972
  this.renderer.setAttribute(firstElement, 'tabindex', '0');
1726
1973
  }
1727
1974
  }
1975
+ _currentFilter = { logic: 'and', filters: [] };
1728
1976
  /**
1729
1977
  * @hidden
1730
1978
  */
@@ -1834,17 +2082,16 @@ class FilterComponent {
1834
2082
  }
1835
2083
  return false;
1836
2084
  }
1837
- }
1838
- FilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: NavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
1839
- FilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterComponent, isStandalone: true, selector: "kendo-filter", inputs: { filters: "filters", value: "value" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "focusout": "focusout($event)", "keydown": "onKeydown($event)" }, properties: { "attr.dir": "this.direction" } }, providers: [
1840
- LocalizationService,
1841
- {
1842
- provide: L10N_PREFIX,
1843
- useValue: 'kendo.filter'
1844
- },
1845
- FilterService,
1846
- NavigationService
1847
- ], queries: [{ propertyName: "filterFields", predicate: FilterFieldComponent }], viewQueries: [{ propertyName: "_filterItems", predicate: FilterItem, descendants: true }], ngImport: i0, template: `
2085
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterComponent, deps: [{ token: FilterService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: NavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2086
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterComponent, isStandalone: true, selector: "kendo-filter", inputs: { filters: "filters", value: "value" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "focusout": "focusout($event)", "keydown": "onKeydown($event)" }, properties: { "attr.dir": "this.direction" } }, providers: [
2087
+ LocalizationService,
2088
+ {
2089
+ provide: L10N_PREFIX,
2090
+ useValue: 'kendo.filter'
2091
+ },
2092
+ FilterService,
2093
+ NavigationService
2094
+ ], queries: [{ propertyName: "filterFields", predicate: FilterFieldComponent }], viewQueries: [{ propertyName: "_filterItems", predicate: FilterItem, descendants: true }], ngImport: i0, template: `
1848
2095
  <ng-container kendoFilterLocalizedMessages
1849
2096
  i18n-editorDateTodayText="kendo.filter.editorDateTodayText|The text of the Today button of the Date editor"
1850
2097
  editorDateTodayText="Today"
@@ -1970,7 +2217,8 @@ FilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
1970
2217
  </ul>
1971
2218
  </div>
1972
2219
  `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoFilterLocalizedMessages]" }, { kind: "component", type: FilterGroupComponent, selector: "kendo-filter-group", inputs: ["currentItem"] }] });
1973
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterComponent, decorators: [{
2220
+ }
2221
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterComponent, decorators: [{
1974
2222
  type: Component,
1975
2223
  args: [{
1976
2224
  providers: [
@@ -2140,6 +2388,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2140
2388
  * ([see example](slug:globalization_filter#toc-internationalization)).
2141
2389
  */
2142
2390
  class CustomMessagesComponent extends Messages {
2391
+ service;
2143
2392
  constructor(service) {
2144
2393
  super();
2145
2394
  this.service = service;
@@ -2147,15 +2396,15 @@ class CustomMessagesComponent extends Messages {
2147
2396
  get override() {
2148
2397
  return true;
2149
2398
  }
2399
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
2400
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-filter-messages", providers: [
2401
+ {
2402
+ provide: Messages,
2403
+ useExisting: forwardRef(() => CustomMessagesComponent)
2404
+ }
2405
+ ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
2150
2406
  }
2151
- CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
2152
- CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-filter-messages", providers: [
2153
- {
2154
- provide: Messages,
2155
- useExisting: forwardRef(() => CustomMessagesComponent)
2156
- }
2157
- ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
2158
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, decorators: [{
2407
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, decorators: [{
2159
2408
  type: Component,
2160
2409
  args: [{
2161
2410
  providers: [
@@ -2213,33 +2462,33 @@ const KENDO_FILTER = [
2213
2462
  * ```
2214
2463
  */
2215
2464
  class FilterModule {
2465
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2466
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: FilterModule, imports: [FilterComponent, FilterFieldComponent, CustomMessagesComponent, FilterValueEditorTemplateDirective], exports: [FilterComponent, FilterFieldComponent, CustomMessagesComponent, FilterValueEditorTemplateDirective] });
2467
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterModule, providers: [
2468
+ // InputsModule providers
2469
+ IconsService,
2470
+ PopupService,
2471
+ ResizeBatchService,
2472
+ DialogContainerService,
2473
+ DialogService,
2474
+ WindowService,
2475
+ WindowContainerService,
2476
+ // DateInputsModule providers
2477
+ CalendarDOMService,
2478
+ CenturyViewService,
2479
+ DecadeViewService,
2480
+ MonthViewService,
2481
+ YearViewService,
2482
+ NavigationService$1,
2483
+ TimePickerDOMService,
2484
+ HoursService,
2485
+ MinutesService,
2486
+ SecondsService,
2487
+ MillisecondsService,
2488
+ DayPeriodService
2489
+ ], imports: [FilterComponent] });
2216
2490
  }
2217
- FilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2218
- FilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FilterModule, imports: [FilterComponent, FilterFieldComponent, CustomMessagesComponent, FilterValueEditorTemplateDirective], exports: [FilterComponent, FilterFieldComponent, CustomMessagesComponent, FilterValueEditorTemplateDirective] });
2219
- FilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterModule, providers: [
2220
- // InputsModule providers
2221
- IconsService,
2222
- PopupService,
2223
- ResizeBatchService,
2224
- DialogContainerService,
2225
- DialogService,
2226
- WindowService,
2227
- WindowContainerService,
2228
- // DateInputsModule providers
2229
- CalendarDOMService,
2230
- CenturyViewService,
2231
- DecadeViewService,
2232
- MonthViewService,
2233
- YearViewService,
2234
- NavigationService$1,
2235
- TimePickerDOMService,
2236
- HoursService,
2237
- MinutesService,
2238
- SecondsService,
2239
- MillisecondsService,
2240
- DayPeriodService
2241
- ], imports: [FilterComponent, FilterFieldComponent, CustomMessagesComponent] });
2242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterModule, decorators: [{
2491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterModule, decorators: [{
2243
2492
  type: NgModule,
2244
2493
  args: [{
2245
2494
  imports: [...KENDO_FILTER],