@progress/kendo-angular-filter 16.5.0 → 16.6.0-develop.1

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 (39) hide show
  1. package/aria-label.directive.d.ts +1 -1
  2. package/directives.d.ts +12 -0
  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/aria-label.directive.mjs +5 -2
  8. package/esm2020/directives.mjs +17 -0
  9. package/esm2020/editors/boolean-editor.component.mjs +7 -5
  10. package/esm2020/editors/date-editor.component.mjs +7 -5
  11. package/esm2020/editors/numeric-editor.component.mjs +7 -5
  12. package/esm2020/editors/text-editor.component.mjs +7 -5
  13. package/esm2020/filter-expression-operators.component.mjs +7 -5
  14. package/esm2020/filter-expression.component.mjs +15 -12
  15. package/esm2020/filter-field.component.mjs +3 -2
  16. package/esm2020/filter-group.component.mjs +8 -6
  17. package/esm2020/filter.component.mjs +7 -5
  18. package/esm2020/filter.module.mjs +61 -68
  19. package/esm2020/index.mjs +1 -0
  20. package/esm2020/localization/custom-messages.component.mjs +4 -3
  21. package/esm2020/localization/localized-messages.directive.mjs +3 -2
  22. package/esm2020/package-metadata.mjs +2 -2
  23. package/esm2020/templates/value-editor.template.mjs +3 -2
  24. package/fesm2015/progress-kendo-angular-filter.mjs +263 -275
  25. package/fesm2020/progress-kendo-angular-filter.mjs +263 -275
  26. package/filter-expression-operators.component.d.ts +1 -1
  27. package/filter-expression.component.d.ts +1 -1
  28. package/filter-field.component.d.ts +1 -1
  29. package/filter-group.component.d.ts +1 -1
  30. package/filter.component.d.ts +1 -1
  31. package/filter.module.d.ts +4 -14
  32. package/index.d.ts +1 -0
  33. package/localization/custom-messages.component.d.ts +2 -2
  34. package/localization/localized-messages.directive.d.ts +1 -1
  35. package/package.json +11 -11
  36. package/schematics/ngAdd/index.js +4 -4
  37. package/templates/value-editor.template.d.ts +1 -1
  38. package/esm2020/shared.module.mjs +0 -50
  39. package/shared.module.d.ts +0 -19
@@ -7,19 +7,16 @@ import { Injectable, Directive, Component, Input, ContentChild, EventEmitter, Ou
7
7
  import * as i1 from '@progress/kendo-angular-l10n';
8
8
  import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
9
9
  import { validatePackage } from '@progress/kendo-licensing';
10
- import { Keys } from '@progress/kendo-angular-common';
10
+ import { Keys, TemplateContextDirective, ResizeBatchService } from '@progress/kendo-angular-common';
11
11
  import { xIcon, filterAddGroupIcon, filterAddExpressionIcon } from '@progress/kendo-svg-icons';
12
- import * as i4 from '@angular/common';
13
- import { CommonModule } from '@angular/common';
14
- import * as i6 from '@progress/kendo-angular-buttons';
15
- import { ButtonsModule } from '@progress/kendo-angular-buttons';
16
- import * as i2$1 from '@progress/kendo-angular-dropdowns';
17
- import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
18
- import * as i2 from '@progress/kendo-angular-inputs';
19
- import { InputsModule } from '@progress/kendo-angular-inputs';
20
- import * as i2$2 from '@progress/kendo-angular-dateinputs';
21
- import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
22
- import { LabelModule } from '@progress/kendo-angular-label';
12
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
13
+ import { DatePickerComponent, DatePickerCustomMessagesComponent, CalendarDOMService, CenturyViewService, DecadeViewService, MonthViewService, YearViewService, WeekNamesService, TimePickerDOMService, HoursService, MinutesService, SecondsService, MillisecondsService, DayPeriodService } from '@progress/kendo-angular-dateinputs';
14
+ import { DropDownListComponent, ValueTemplateDirective, ItemTemplateDirective } from '@progress/kendo-angular-dropdowns';
15
+ import { NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, TextBoxComponent } from '@progress/kendo-angular-inputs';
16
+ import { NgIf, NgSwitch, NgSwitchCase, NgFor, NgClass } from '@angular/common';
17
+ import { IconsService } from '@progress/kendo-angular-icons';
18
+ import { PopupService } from '@progress/kendo-angular-popup';
19
+ import { DialogContainerService, DialogService, WindowService, WindowContainerService, NavigationService as NavigationService$1 } from '@progress/kendo-angular-dialog';
23
20
 
24
21
  /**
25
22
  * @hidden
@@ -235,8 +232,8 @@ const packageMetadata = {
235
232
  name: '@progress/kendo-angular-filter',
236
233
  productName: 'Kendo UI for Angular',
237
234
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
238
- publishDate: 1721814421,
239
- version: '16.5.0',
235
+ publishDate: 1721828052,
236
+ version: '16.6.0-develop.1',
240
237
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
241
238
  };
242
239
 
@@ -246,11 +243,12 @@ class FilterValueEditorTemplateDirective {
246
243
  }
247
244
  }
248
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 });
249
- FilterValueEditorTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FilterValueEditorTemplateDirective, selector: "[kendoFilterValueEditorTemplate]", ngImport: i0 });
246
+ FilterValueEditorTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FilterValueEditorTemplateDirective, isStandalone: true, selector: "[kendoFilterValueEditorTemplate]", ngImport: i0 });
250
247
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterValueEditorTemplateDirective, decorators: [{
251
248
  type: Directive,
252
249
  args: [{
253
- selector: '[kendoFilterValueEditorTemplate]'
250
+ selector: '[kendoFilterValueEditorTemplate]',
251
+ standalone: true
254
252
  }]
255
253
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
256
254
 
@@ -295,12 +293,13 @@ class FilterFieldComponent {
295
293
  }
296
294
  }
297
295
  FilterFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
298
- FilterFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterFieldComponent, 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 });
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 });
299
297
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterFieldComponent, decorators: [{
300
298
  type: Component,
301
299
  args: [{
302
300
  selector: 'kendo-filter-field',
303
- template: ``
301
+ template: ``,
302
+ standalone: true
304
303
  }]
305
304
  }], propDecorators: { field: [{
306
305
  type: Input
@@ -547,15 +546,162 @@ class AriaLabelValueDirective {
547
546
  }
548
547
  }
549
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 });
550
- AriaLabelValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: { ariaLabel: ["kendoAriaLabelValue", "ariaLabel"] }, ngImport: i0 });
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 });
551
550
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AriaLabelValueDirective, decorators: [{
552
551
  type: Directive,
553
- args: [{ selector: '[kendoAriaLabelValue]' }]
552
+ args: [{
553
+ selector: '[kendoAriaLabelValue]',
554
+ standalone: true
555
+ }]
554
556
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { ariaLabel: [{
555
557
  type: Input,
556
558
  args: ['kendoAriaLabelValue']
557
559
  }] } });
558
560
 
561
+ /**
562
+ * @hidden
563
+ */
564
+ class FilterDateEditorComponent {
565
+ constructor(localization) {
566
+ this.localization = localization;
567
+ this.valueChange = new EventEmitter();
568
+ }
569
+ messageFor(key) {
570
+ return this.localization.get(key);
571
+ }
572
+ onValueChange(value) {
573
+ this.currentItem.value = value;
574
+ this.valueChange.emit();
575
+ }
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: `
579
+ <kendo-datepicker
580
+ [tabindex]="-1"
581
+ [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
582
+ [value]="currentItem.value"
583
+ (valueChange)="onValueChange($event)"
584
+ [disabled]="isDisabled"
585
+ [format]="format">
586
+ <kendo-datepicker-messages
587
+ [toggle]="messageFor('editorDateToggleText')"
588
+ [today]="messageFor('editorDateTodayText')">
589
+ </kendo-datepicker-messages>
590
+ </kendo-datepicker>
591
+ `, 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: [{
593
+ type: Component,
594
+ args: [{
595
+ selector: 'kendo-filter-date-editor',
596
+ template: `
597
+ <kendo-datepicker
598
+ [tabindex]="-1"
599
+ [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
600
+ [value]="currentItem.value"
601
+ (valueChange)="onValueChange($event)"
602
+ [disabled]="isDisabled"
603
+ [format]="format">
604
+ <kendo-datepicker-messages
605
+ [toggle]="messageFor('editorDateToggleText')"
606
+ [today]="messageFor('editorDateTodayText')">
607
+ </kendo-datepicker-messages>
608
+ </kendo-datepicker>
609
+ `,
610
+ standalone: true,
611
+ imports: [DatePickerComponent, AriaLabelValueDirective, DatePickerCustomMessagesComponent]
612
+ }]
613
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { currentItem: [{
614
+ type: Input
615
+ }], isDisabled: [{
616
+ type: Input
617
+ }], format: [{
618
+ type: Input
619
+ }], valueChange: [{
620
+ type: Output
621
+ }] } });
622
+
623
+ /**
624
+ * @hidden
625
+ */
626
+ class FilterBooleanEditorComponent {
627
+ constructor(localization, cdr) {
628
+ this.localization = localization;
629
+ this.cdr = cdr;
630
+ this.valueChange = new EventEmitter();
631
+ this.items = this.getValueItems();
632
+ this.defaultItem = this.getDefaultItem();
633
+ }
634
+ ngOnInit() {
635
+ this.localizationSubscription = this.localization.changes.subscribe(() => {
636
+ this.defaultItem = this.getDefaultItem();
637
+ this.items = this.getValueItems();
638
+ this.cdr.detectChanges();
639
+ });
640
+ }
641
+ getDefaultItem() {
642
+ return { text: this.localization.get("filterBooleanAll"), value: null };
643
+ }
644
+ getValueItems() {
645
+ return [
646
+ { text: this.localization.get("filterIsTrue"), value: true },
647
+ { text: this.localization.get("filterIsFalse"), value: false }
648
+ ];
649
+ }
650
+ ngOnDestroy() {
651
+ if (this.localizationSubscription) {
652
+ this.localizationSubscription.unsubscribe();
653
+ }
654
+ }
655
+ messageFor(key) {
656
+ return this.localization.get(key);
657
+ }
658
+ onValueChange(value) {
659
+ this.currentItem.value = value;
660
+ this.valueChange.emit();
661
+ }
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: `
665
+ <kendo-dropdownlist
666
+ [tabindex]="-1"
667
+ [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
668
+ [value]="currentItem.value"
669
+ (valueChange)="onValueChange($event)"
670
+ [data]="items"
671
+ [defaultItem]="defaultItem"
672
+ [valuePrimitive]="true"
673
+ textField="text"
674
+ valueField="value"
675
+ >
676
+ </kendo-dropdownlist>
677
+ `, 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: [{
679
+ type: Component,
680
+ args: [{
681
+ selector: 'kendo-filter-boolean-editor',
682
+ template: `
683
+ <kendo-dropdownlist
684
+ [tabindex]="-1"
685
+ [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
686
+ [value]="currentItem.value"
687
+ (valueChange)="onValueChange($event)"
688
+ [data]="items"
689
+ [defaultItem]="defaultItem"
690
+ [valuePrimitive]="true"
691
+ textField="text"
692
+ valueField="value"
693
+ >
694
+ </kendo-dropdownlist>
695
+ `,
696
+ standalone: true,
697
+ imports: [DropDownListComponent, AriaLabelValueDirective]
698
+ }]
699
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { currentItem: [{
700
+ type: Input
701
+ }], valueChange: [{
702
+ type: Output
703
+ }] } });
704
+
559
705
  /**
560
706
  * @hidden
561
707
  */
@@ -573,7 +719,7 @@ class FilterNumericEditorComponent {
573
719
  }
574
720
  }
575
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 });
576
- FilterNumericEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterNumericEditorComponent, selector: "kendo-filter-numeric-editor", inputs: { currentItem: "currentItem", isDisabled: "isDisabled", format: "format" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
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: `
577
723
  <kendo-numerictextbox
578
724
  [tabindex]="-1"
579
725
  [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
@@ -586,7 +732,7 @@ FilterNumericEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
586
732
  [decrement]="messageFor('editorNumericDecrement')">
587
733
  </kendo-numerictextbox-messages>
588
734
  </kendo-numerictextbox>
589
- `, isInline: true, dependencies: [{ kind: "component", type: i2.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: "component", type: i2.NumericTextBoxCustomMessagesComponent, selector: "kendo-numerictextbox-messages" }, { kind: "directive", type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }] });
735
+ `, 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" }] });
590
736
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterNumericEditorComponent, decorators: [{
591
737
  type: Component,
592
738
  args: [{
@@ -604,7 +750,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
604
750
  [decrement]="messageFor('editorNumericDecrement')">
605
751
  </kendo-numerictextbox-messages>
606
752
  </kendo-numerictextbox>
607
- `
753
+ `,
754
+ standalone: true,
755
+ imports: [NumericTextBoxComponent, AriaLabelValueDirective, NumericTextBoxCustomMessagesComponent]
608
756
  }]
609
757
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { currentItem: [{
610
758
  type: Input
@@ -633,7 +781,7 @@ class FilterTextEditorComponent {
633
781
  }
634
782
  }
635
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 });
636
- FilterTextEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterTextEditorComponent, selector: "kendo-filter-text-editor", inputs: { currentItem: "currentItem", isDisabled: "isDisabled" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
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: `
637
785
  <kendo-textbox
638
786
  [tabindex]="-1"
639
787
  [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
@@ -641,7 +789,7 @@ FilterTextEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
641
789
  (valueChange)="onValueChange($event)"
642
790
  [disabled]="isDisabled">
643
791
  </kendo-textbox>
644
- `, isInline: true, dependencies: [{ kind: "component", type: i2.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"] }] });
792
+ `, 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"] }] });
645
793
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterTextEditorComponent, decorators: [{
646
794
  type: Component,
647
795
  args: [{
@@ -654,7 +802,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
654
802
  (valueChange)="onValueChange($event)"
655
803
  [disabled]="isDisabled">
656
804
  </kendo-textbox>
657
- `
805
+ `,
806
+ standalone: true,
807
+ imports: [TextBoxComponent, AriaLabelValueDirective]
658
808
  }]
659
809
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { currentItem: [{
660
810
  type: Input
@@ -684,7 +834,7 @@ class FilterExpressionOperatorsComponent {
684
834
  }
685
835
  }
686
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 });
687
- FilterExpressionOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterExpressionOperatorsComponent, selector: "kendo-filter-expression-operators", inputs: { currentItem: "currentItem", editorType: "editorType", operators: "operators" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
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: `
688
838
  <kendo-dropdownlist
689
839
  [tabindex]="-1"
690
840
  [kendoAriaLabelValue]="messageFor('filterOperatorAriaLabel')"
@@ -703,7 +853,7 @@ FilterExpressionOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersio
703
853
  <span>{{ getOperator(dataItem.value) }}</span>
704
854
  </ng-template>
705
855
  </kendo-dropdownlist>
706
- `, isInline: true, dependencies: [{ kind: "directive", type: i2$1.ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "directive", type: i2$1.ValueTemplateDirective, selector: "[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]" }, { kind: "component", type: i2$1.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"] }] });
856
+ `, 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]" }] });
707
857
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterExpressionOperatorsComponent, decorators: [{
708
858
  type: Component,
709
859
  args: [{
@@ -727,7 +877,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
727
877
  <span>{{ getOperator(dataItem.value) }}</span>
728
878
  </ng-template>
729
879
  </kendo-dropdownlist>
730
- `
880
+ `,
881
+ standalone: true,
882
+ imports: [DropDownListComponent, AriaLabelValueDirective, ValueTemplateDirective, ItemTemplateDirective]
731
883
  }]
732
884
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { currentItem: [{
733
885
  type: Input
@@ -739,146 +891,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
739
891
  type: Input
740
892
  }] } });
741
893
 
742
- /**
743
- * @hidden
744
- */
745
- class FilterBooleanEditorComponent {
746
- constructor(localization, cdr) {
747
- this.localization = localization;
748
- this.cdr = cdr;
749
- this.valueChange = new EventEmitter();
750
- this.items = this.getValueItems();
751
- this.defaultItem = this.getDefaultItem();
752
- }
753
- ngOnInit() {
754
- this.localizationSubscription = this.localization.changes.subscribe(() => {
755
- this.defaultItem = this.getDefaultItem();
756
- this.items = this.getValueItems();
757
- this.cdr.detectChanges();
758
- });
759
- }
760
- getDefaultItem() {
761
- return { text: this.localization.get("filterBooleanAll"), value: null };
762
- }
763
- getValueItems() {
764
- return [
765
- { text: this.localization.get("filterIsTrue"), value: true },
766
- { text: this.localization.get("filterIsFalse"), value: false }
767
- ];
768
- }
769
- ngOnDestroy() {
770
- if (this.localizationSubscription) {
771
- this.localizationSubscription.unsubscribe();
772
- }
773
- }
774
- messageFor(key) {
775
- return this.localization.get(key);
776
- }
777
- onValueChange(value) {
778
- this.currentItem.value = value;
779
- this.valueChange.emit();
780
- }
781
- }
782
- 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 });
783
- FilterBooleanEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterBooleanEditorComponent, selector: "kendo-filter-boolean-editor", inputs: { currentItem: "currentItem" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
784
- <kendo-dropdownlist
785
- [tabindex]="-1"
786
- [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
787
- [value]="currentItem.value"
788
- (valueChange)="onValueChange($event)"
789
- [data]="items"
790
- [defaultItem]="defaultItem"
791
- [valuePrimitive]="true"
792
- textField="text"
793
- valueField="value"
794
- >
795
- </kendo-dropdownlist>
796
- `, isInline: true, dependencies: [{ kind: "component", type: i2$1.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"] }] });
797
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterBooleanEditorComponent, decorators: [{
798
- type: Component,
799
- args: [{
800
- selector: 'kendo-filter-boolean-editor',
801
- template: `
802
- <kendo-dropdownlist
803
- [tabindex]="-1"
804
- [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
805
- [value]="currentItem.value"
806
- (valueChange)="onValueChange($event)"
807
- [data]="items"
808
- [defaultItem]="defaultItem"
809
- [valuePrimitive]="true"
810
- textField="text"
811
- valueField="value"
812
- >
813
- </kendo-dropdownlist>
814
- `
815
- }]
816
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { currentItem: [{
817
- type: Input
818
- }], valueChange: [{
819
- type: Output
820
- }] } });
821
-
822
- /**
823
- * @hidden
824
- */
825
- class FilterDateEditorComponent {
826
- constructor(localization) {
827
- this.localization = localization;
828
- this.valueChange = new EventEmitter();
829
- }
830
- messageFor(key) {
831
- return this.localization.get(key);
832
- }
833
- onValueChange(value) {
834
- this.currentItem.value = value;
835
- this.valueChange.emit();
836
- }
837
- }
838
- FilterDateEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterDateEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
839
- FilterDateEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterDateEditorComponent, selector: "kendo-filter-date-editor", inputs: { currentItem: "currentItem", isDisabled: "isDisabled", format: "format" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: `
840
- <kendo-datepicker
841
- [tabindex]="-1"
842
- [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
843
- [value]="currentItem.value"
844
- (valueChange)="onValueChange($event)"
845
- [disabled]="isDisabled"
846
- [format]="format">
847
- <kendo-datepicker-messages
848
- [toggle]="messageFor('editorDateToggleText')"
849
- [today]="messageFor('editorDateTodayText')">
850
- </kendo-datepicker-messages>
851
- </kendo-datepicker>
852
- `, isInline: true, dependencies: [{ kind: "component", type: i2$2.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: "component", type: i2$2.DatePickerCustomMessagesComponent, selector: "kendo-datepicker-messages" }, { kind: "directive", type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }] });
853
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterDateEditorComponent, decorators: [{
854
- type: Component,
855
- args: [{
856
- selector: 'kendo-filter-date-editor',
857
- template: `
858
- <kendo-datepicker
859
- [tabindex]="-1"
860
- [kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
861
- [value]="currentItem.value"
862
- (valueChange)="onValueChange($event)"
863
- [disabled]="isDisabled"
864
- [format]="format">
865
- <kendo-datepicker-messages
866
- [toggle]="messageFor('editorDateToggleText')"
867
- [today]="messageFor('editorDateTodayText')">
868
- </kendo-datepicker-messages>
869
- </kendo-datepicker>
870
- `
871
- }]
872
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { currentItem: [{
873
- type: Input
874
- }], isDisabled: [{
875
- type: Input
876
- }], format: [{
877
- type: Input
878
- }], valueChange: [{
879
- type: Output
880
- }] } });
881
-
882
894
  /**
883
895
  * @hidden
884
896
  */
@@ -1053,7 +1065,7 @@ class FilterExpressionComponent extends BaseFilterRowComponent {
1053
1065
  }
1054
1066
  }
1055
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 });
1056
- FilterExpressionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterExpressionComponent, selector: "kendo-filter-expression", inputs: { currentItem: "currentItem" }, providers: [{
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: [{
1057
1069
  provide: FilterItem,
1058
1070
  useExisting: forwardRef(() => FilterExpressionComponent)
1059
1071
  }], usesInheritance: true, ngImport: i0, template: `
@@ -1107,7 +1119,7 @@ FilterExpressionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
1107
1119
  </button>
1108
1120
  </div>
1109
1121
  </div>
1110
- `, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i2$1.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: "component", type: i6.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: i6.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: FilterNumericEditorComponent, selector: "kendo-filter-numeric-editor", inputs: ["currentItem", "isDisabled", "format"], outputs: ["valueChange"] }, { kind: "component", type: FilterTextEditorComponent, selector: "kendo-filter-text-editor", inputs: ["currentItem", "isDisabled"], outputs: ["valueChange"] }, { kind: "component", type: FilterExpressionOperatorsComponent, selector: "kendo-filter-expression-operators", inputs: ["currentItem", "editorType", "operators"], 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: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: ["kendoAriaLabelValue"] }] });
1122
+ `, 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], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
1111
1123
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterExpressionComponent, decorators: [{
1112
1124
  type: Component,
1113
1125
  args: [{
@@ -1167,7 +1179,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1167
1179
  </button>
1168
1180
  </div>
1169
1181
  </div>
1170
- `
1182
+ `,
1183
+ standalone: true,
1184
+ imports: [DropDownListComponent, AriaLabelValueDirective, NgIf, FilterExpressionOperatorsComponent, NgSwitch, NgSwitchCase, FilterTextEditorComponent, FilterNumericEditorComponent, FilterBooleanEditorComponent, FilterDateEditorComponent, TemplateContextDirective, ButtonComponent]
1171
1185
  }]
1172
1186
  }], ctorParameters: function () { return [{ type: FilterService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: NavigationService }, { type: i1.LocalizationService }, { type: i0.Renderer2 }]; }, propDecorators: { currentItem: [{
1173
1187
  type: Input
@@ -1277,7 +1291,7 @@ class FilterGroupComponent extends BaseFilterRowComponent {
1277
1291
  }
1278
1292
  }
1279
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 });
1280
- FilterGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterGroupComponent, selector: "kendo-filter-group", inputs: { currentItem: "currentItem" }, providers: [{
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: [{
1281
1295
  provide: FilterItem,
1282
1296
  useExisting: forwardRef(() => FilterGroupComponent)
1283
1297
  }], viewQueries: [{ propertyName: "_filterItems", predicate: FilterItem, descendants: true }], usesInheritance: true, ngImport: i0, template: `
@@ -1350,7 +1364,7 @@ FilterGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
1350
1364
  </li>
1351
1365
  </ng-container>
1352
1366
  </ul>
1353
- `, isInline: true, dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: FilterExpressionComponent, selector: "kendo-filter-expression", inputs: ["currentItem"] }, { kind: "component", type: FilterGroupComponent, selector: "kendo-filter-group", inputs: ["currentItem"] }] });
1367
+ `, 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], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "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"] }] });
1354
1368
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterGroupComponent, decorators: [{
1355
1369
  type: Component,
1356
1370
  args: [{
@@ -1429,7 +1443,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1429
1443
  </li>
1430
1444
  </ng-container>
1431
1445
  </ul>
1432
- `
1446
+ `,
1447
+ standalone: true,
1448
+ imports: [NgFor, ButtonComponent, NgClass, NgIf, FilterExpressionComponent]
1433
1449
  }]
1434
1450
  }], ctorParameters: function () { return [{ type: FilterService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: NavigationService }, { type: i1.LocalizationService }, { type: i0.Renderer2 }]; }, propDecorators: { _filterItems: [{
1435
1451
  type: ViewChildren,
@@ -1536,7 +1552,7 @@ class LocalizedMessagesDirective extends Messages {
1536
1552
  }
1537
1553
  }
1538
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 });
1539
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoFilterLocalizedMessages]", providers: [
1555
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoFilterLocalizedMessages]", providers: [
1540
1556
  {
1541
1557
  provide: Messages,
1542
1558
  useExisting: forwardRef(() => LocalizedMessagesDirective)
@@ -1551,7 +1567,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1551
1567
  useExisting: forwardRef(() => LocalizedMessagesDirective)
1552
1568
  }
1553
1569
  ],
1554
- selector: '[kendoFilterLocalizedMessages]'
1570
+ selector: '[kendoFilterLocalizedMessages]',
1571
+ standalone: true
1555
1572
  }]
1556
1573
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
1557
1574
 
@@ -1819,7 +1836,7 @@ class FilterComponent {
1819
1836
  }
1820
1837
  }
1821
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 });
1822
- FilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterComponent, 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: [
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: [
1823
1840
  LocalizationService,
1824
1841
  {
1825
1842
  provide: L10N_PREFIX,
@@ -1952,7 +1969,7 @@ FilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
1952
1969
  </li>
1953
1970
  </ul>
1954
1971
  </div>
1955
- `, isInline: true, dependencies: [{ kind: "component", type: FilterGroupComponent, selector: "kendo-filter-group", inputs: ["currentItem"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoFilterLocalizedMessages]" }] });
1972
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoFilterLocalizedMessages]" }, { kind: "component", type: FilterGroupComponent, selector: "kendo-filter-group", inputs: ["currentItem"] }] });
1956
1973
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterComponent, decorators: [{
1957
1974
  type: Component,
1958
1975
  args: [{
@@ -2091,7 +2108,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2091
2108
  </li>
2092
2109
  </ul>
2093
2110
  </div>
2094
- `
2111
+ `,
2112
+ standalone: true,
2113
+ imports: [LocalizedMessagesDirective, FilterGroupComponent]
2095
2114
  }]
2096
2115
  }], ctorParameters: function () { return [{ type: FilterService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: NavigationService }, { type: i0.Renderer2 }]; }, propDecorators: { focusout: [{
2097
2116
  type: HostListener,
@@ -2118,7 +2137,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2118
2137
 
2119
2138
  /**
2120
2139
  * Custom component messages override default component messages
2121
- * ([see example]({% slug globalization_filter %}#toc-localization)).
2140
+ * ([see example](slug:globalization_filter#toc-internationalization)).
2122
2141
  */
2123
2142
  class CustomMessagesComponent extends Messages {
2124
2143
  constructor(service) {
@@ -2130,7 +2149,7 @@ class CustomMessagesComponent extends Messages {
2130
2149
  }
2131
2150
  }
2132
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 });
2133
- CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, selector: "kendo-filter-messages", providers: [
2152
+ CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-filter-messages", providers: [
2134
2153
  {
2135
2154
  provide: Messages,
2136
2155
  useExisting: forwardRef(() => CustomMessagesComponent)
@@ -2146,49 +2165,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2146
2165
  }
2147
2166
  ],
2148
2167
  selector: 'kendo-filter-messages',
2149
- template: ``
2168
+ template: ``,
2169
+ standalone: true
2150
2170
  }]
2151
2171
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
2152
2172
 
2153
- const importedModules = [
2154
- CommonModule,
2155
- InputsModule,
2156
- LabelModule,
2157
- DropDownsModule,
2158
- ButtonsModule,
2159
- DateInputsModule
2160
- ];
2161
2173
  /**
2162
- * @hidden
2163
- */
2164
- class SharedModule {
2165
- }
2166
- SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2167
- SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, imports: [CommonModule,
2168
- InputsModule,
2169
- LabelModule,
2170
- DropDownsModule,
2171
- ButtonsModule,
2172
- DateInputsModule], exports: [CommonModule,
2173
- InputsModule,
2174
- LabelModule,
2175
- DropDownsModule,
2176
- ButtonsModule,
2177
- DateInputsModule] });
2178
- SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, imports: [importedModules, CommonModule,
2179
- InputsModule,
2180
- LabelModule,
2181
- DropDownsModule,
2182
- ButtonsModule,
2183
- DateInputsModule] });
2184
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, decorators: [{
2185
- type: NgModule,
2186
- args: [{
2187
- imports: [...importedModules],
2188
- exports: [...importedModules]
2189
- }]
2190
- }] });
2174
+ * Utility array that contains all `@progress/kendo-angular-filter` related components and directives
2175
+ */
2176
+ const KENDO_FILTER = [
2177
+ FilterComponent,
2178
+ FilterFieldComponent,
2179
+ CustomMessagesComponent,
2180
+ FilterValueEditorTemplateDirective
2181
+ ];
2191
2182
 
2183
+ // IMPORTANT: NgModule export kept for backwards compatibility
2192
2184
  /**
2193
2185
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
2194
2186
  * definition for the Filter component.
@@ -2223,64 +2215,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2223
2215
  class FilterModule {
2224
2216
  }
2225
2217
  FilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2226
- FilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FilterModule, declarations: [FilterComponent,
2227
- FilterNumericEditorComponent,
2228
- FilterTextEditorComponent,
2229
- FilterExpressionComponent,
2230
- FilterGroupComponent,
2231
- FilterExpressionOperatorsComponent,
2232
- FilterBooleanEditorComponent,
2233
- FilterDateEditorComponent,
2234
- LocalizedMessagesDirective,
2235
- CustomMessagesComponent,
2236
- AriaLabelValueDirective,
2237
- FilterFieldComponent,
2238
- FilterValueEditorTemplateDirective], imports: [SharedModule], exports: [FilterComponent,
2239
- FilterNumericEditorComponent,
2240
- FilterTextEditorComponent,
2241
- FilterExpressionComponent,
2242
- FilterGroupComponent,
2243
- FilterExpressionOperatorsComponent,
2244
- FilterBooleanEditorComponent,
2245
- FilterDateEditorComponent,
2246
- LocalizedMessagesDirective,
2247
- CustomMessagesComponent,
2248
- AriaLabelValueDirective,
2249
- FilterFieldComponent,
2250
- FilterValueEditorTemplateDirective] });
2251
- FilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterModule, imports: [SharedModule] });
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
+ WeekNamesService,
2235
+ NavigationService$1,
2236
+ TimePickerDOMService,
2237
+ HoursService,
2238
+ MinutesService,
2239
+ SecondsService,
2240
+ MillisecondsService,
2241
+ DayPeriodService
2242
+ ], imports: [FilterComponent, FilterFieldComponent, CustomMessagesComponent] });
2252
2243
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterModule, decorators: [{
2253
2244
  type: NgModule,
2254
2245
  args: [{
2255
- imports: [SharedModule],
2256
- declarations: [FilterComponent,
2257
- FilterNumericEditorComponent,
2258
- FilterTextEditorComponent,
2259
- FilterExpressionComponent,
2260
- FilterGroupComponent,
2261
- FilterExpressionOperatorsComponent,
2262
- FilterBooleanEditorComponent,
2263
- FilterDateEditorComponent,
2264
- LocalizedMessagesDirective,
2265
- CustomMessagesComponent,
2266
- AriaLabelValueDirective,
2267
- FilterFieldComponent,
2268
- FilterValueEditorTemplateDirective
2246
+ imports: [...KENDO_FILTER],
2247
+ exports: [...KENDO_FILTER],
2248
+ providers: [
2249
+ // InputsModule providers
2250
+ IconsService,
2251
+ PopupService,
2252
+ ResizeBatchService,
2253
+ DialogContainerService,
2254
+ DialogService,
2255
+ WindowService,
2256
+ WindowContainerService,
2257
+ // DateInputsModule providers
2258
+ CalendarDOMService,
2259
+ CenturyViewService,
2260
+ DecadeViewService,
2261
+ MonthViewService,
2262
+ YearViewService,
2263
+ WeekNamesService,
2264
+ NavigationService$1,
2265
+ TimePickerDOMService,
2266
+ HoursService,
2267
+ MinutesService,
2268
+ SecondsService,
2269
+ MillisecondsService,
2270
+ DayPeriodService
2269
2271
  ],
2270
- exports: [FilterComponent,
2271
- FilterNumericEditorComponent,
2272
- FilterTextEditorComponent,
2273
- FilterExpressionComponent,
2274
- FilterGroupComponent,
2275
- FilterExpressionOperatorsComponent,
2276
- FilterBooleanEditorComponent,
2277
- FilterDateEditorComponent,
2278
- LocalizedMessagesDirective,
2279
- CustomMessagesComponent,
2280
- AriaLabelValueDirective,
2281
- FilterFieldComponent,
2282
- FilterValueEditorTemplateDirective
2283
- ]
2284
2272
  }]
2285
2273
  }] });
2286
2274
 
@@ -2288,5 +2276,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2288
2276
  * Generated bundle index. Do not edit.
2289
2277
  */
2290
2278
 
2291
- export { AriaLabelValueDirective, CustomMessagesComponent, FilterBooleanEditorComponent, FilterComponent, FilterDateEditorComponent, FilterExpressionComponent, FilterExpressionOperatorsComponent, FilterFieldComponent, FilterGroupComponent, FilterModule, FilterNumericEditorComponent, FilterTextEditorComponent, FilterValueEditorTemplateDirective, LocalizedMessagesDirective };
2279
+ export { AriaLabelValueDirective, CustomMessagesComponent, FilterBooleanEditorComponent, FilterComponent, FilterDateEditorComponent, FilterExpressionComponent, FilterExpressionOperatorsComponent, FilterFieldComponent, FilterGroupComponent, FilterModule, FilterNumericEditorComponent, FilterTextEditorComponent, FilterValueEditorTemplateDirective, KENDO_FILTER, LocalizedMessagesDirective };
2292
2280