@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.
- package/aria-label.directive.d.ts +1 -1
- package/directives.d.ts +12 -0
- package/editors/boolean-editor.component.d.ts +1 -1
- package/editors/date-editor.component.d.ts +1 -1
- package/editors/numeric-editor.component.d.ts +1 -1
- package/editors/text-editor.component.d.ts +1 -1
- package/esm2020/aria-label.directive.mjs +5 -2
- package/esm2020/directives.mjs +17 -0
- package/esm2020/editors/boolean-editor.component.mjs +7 -5
- package/esm2020/editors/date-editor.component.mjs +7 -5
- package/esm2020/editors/numeric-editor.component.mjs +7 -5
- package/esm2020/editors/text-editor.component.mjs +7 -5
- package/esm2020/filter-expression-operators.component.mjs +7 -5
- package/esm2020/filter-expression.component.mjs +15 -12
- package/esm2020/filter-field.component.mjs +3 -2
- package/esm2020/filter-group.component.mjs +8 -6
- package/esm2020/filter.component.mjs +7 -5
- package/esm2020/filter.module.mjs +61 -68
- package/esm2020/index.mjs +1 -0
- package/esm2020/localization/custom-messages.component.mjs +4 -3
- package/esm2020/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/templates/value-editor.template.mjs +3 -2
- package/fesm2015/progress-kendo-angular-filter.mjs +263 -275
- package/fesm2020/progress-kendo-angular-filter.mjs +263 -275
- package/filter-expression-operators.component.d.ts +1 -1
- package/filter-expression.component.d.ts +1 -1
- package/filter-field.component.d.ts +1 -1
- package/filter-group.component.d.ts +1 -1
- package/filter.component.d.ts +1 -1
- package/filter.module.d.ts +4 -14
- package/index.d.ts +1 -0
- package/localization/custom-messages.component.d.ts +2 -2
- package/localization/localized-messages.directive.d.ts +1 -1
- package/package.json +11 -11
- package/schematics/ngAdd/index.js +4 -4
- package/templates/value-editor.template.d.ts +1 -1
- package/esm2020/shared.module.mjs +0 -50
- 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
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
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:
|
|
239
|
-
version: '16.
|
|
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
|
|
@@ -548,15 +547,162 @@ class AriaLabelValueDirective {
|
|
|
548
547
|
}
|
|
549
548
|
}
|
|
550
549
|
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 });
|
|
551
|
-
AriaLabelValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AriaLabelValueDirective, selector: "[kendoAriaLabelValue]", inputs: { ariaLabel: ["kendoAriaLabelValue", "ariaLabel"] }, ngImport: i0 });
|
|
550
|
+
AriaLabelValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AriaLabelValueDirective, isStandalone: true, selector: "[kendoAriaLabelValue]", inputs: { ariaLabel: ["kendoAriaLabelValue", "ariaLabel"] }, ngImport: i0 });
|
|
552
551
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AriaLabelValueDirective, decorators: [{
|
|
553
552
|
type: Directive,
|
|
554
|
-
args: [{
|
|
553
|
+
args: [{
|
|
554
|
+
selector: '[kendoAriaLabelValue]',
|
|
555
|
+
standalone: true
|
|
556
|
+
}]
|
|
555
557
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { ariaLabel: [{
|
|
556
558
|
type: Input,
|
|
557
559
|
args: ['kendoAriaLabelValue']
|
|
558
560
|
}] } });
|
|
559
561
|
|
|
562
|
+
/**
|
|
563
|
+
* @hidden
|
|
564
|
+
*/
|
|
565
|
+
class FilterDateEditorComponent {
|
|
566
|
+
constructor(localization) {
|
|
567
|
+
this.localization = localization;
|
|
568
|
+
this.valueChange = new EventEmitter();
|
|
569
|
+
}
|
|
570
|
+
messageFor(key) {
|
|
571
|
+
return this.localization.get(key);
|
|
572
|
+
}
|
|
573
|
+
onValueChange(value) {
|
|
574
|
+
this.currentItem.value = value;
|
|
575
|
+
this.valueChange.emit();
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
FilterDateEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterDateEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
579
|
+
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: `
|
|
580
|
+
<kendo-datepicker
|
|
581
|
+
[tabindex]="-1"
|
|
582
|
+
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
583
|
+
[value]="currentItem.value"
|
|
584
|
+
(valueChange)="onValueChange($event)"
|
|
585
|
+
[disabled]="isDisabled"
|
|
586
|
+
[format]="format">
|
|
587
|
+
<kendo-datepicker-messages
|
|
588
|
+
[toggle]="messageFor('editorDateToggleText')"
|
|
589
|
+
[today]="messageFor('editorDateTodayText')">
|
|
590
|
+
</kendo-datepicker-messages>
|
|
591
|
+
</kendo-datepicker>
|
|
592
|
+
`, 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" }] });
|
|
593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterDateEditorComponent, decorators: [{
|
|
594
|
+
type: Component,
|
|
595
|
+
args: [{
|
|
596
|
+
selector: 'kendo-filter-date-editor',
|
|
597
|
+
template: `
|
|
598
|
+
<kendo-datepicker
|
|
599
|
+
[tabindex]="-1"
|
|
600
|
+
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
601
|
+
[value]="currentItem.value"
|
|
602
|
+
(valueChange)="onValueChange($event)"
|
|
603
|
+
[disabled]="isDisabled"
|
|
604
|
+
[format]="format">
|
|
605
|
+
<kendo-datepicker-messages
|
|
606
|
+
[toggle]="messageFor('editorDateToggleText')"
|
|
607
|
+
[today]="messageFor('editorDateTodayText')">
|
|
608
|
+
</kendo-datepicker-messages>
|
|
609
|
+
</kendo-datepicker>
|
|
610
|
+
`,
|
|
611
|
+
standalone: true,
|
|
612
|
+
imports: [DatePickerComponent, AriaLabelValueDirective, DatePickerCustomMessagesComponent]
|
|
613
|
+
}]
|
|
614
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { currentItem: [{
|
|
615
|
+
type: Input
|
|
616
|
+
}], isDisabled: [{
|
|
617
|
+
type: Input
|
|
618
|
+
}], format: [{
|
|
619
|
+
type: Input
|
|
620
|
+
}], valueChange: [{
|
|
621
|
+
type: Output
|
|
622
|
+
}] } });
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* @hidden
|
|
626
|
+
*/
|
|
627
|
+
class FilterBooleanEditorComponent {
|
|
628
|
+
constructor(localization, cdr) {
|
|
629
|
+
this.localization = localization;
|
|
630
|
+
this.cdr = cdr;
|
|
631
|
+
this.valueChange = new EventEmitter();
|
|
632
|
+
this.items = this.getValueItems();
|
|
633
|
+
this.defaultItem = this.getDefaultItem();
|
|
634
|
+
}
|
|
635
|
+
ngOnInit() {
|
|
636
|
+
this.localizationSubscription = this.localization.changes.subscribe(() => {
|
|
637
|
+
this.defaultItem = this.getDefaultItem();
|
|
638
|
+
this.items = this.getValueItems();
|
|
639
|
+
this.cdr.detectChanges();
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
getDefaultItem() {
|
|
643
|
+
return { text: this.localization.get("filterBooleanAll"), value: null };
|
|
644
|
+
}
|
|
645
|
+
getValueItems() {
|
|
646
|
+
return [
|
|
647
|
+
{ text: this.localization.get("filterIsTrue"), value: true },
|
|
648
|
+
{ text: this.localization.get("filterIsFalse"), value: false }
|
|
649
|
+
];
|
|
650
|
+
}
|
|
651
|
+
ngOnDestroy() {
|
|
652
|
+
if (this.localizationSubscription) {
|
|
653
|
+
this.localizationSubscription.unsubscribe();
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
messageFor(key) {
|
|
657
|
+
return this.localization.get(key);
|
|
658
|
+
}
|
|
659
|
+
onValueChange(value) {
|
|
660
|
+
this.currentItem.value = value;
|
|
661
|
+
this.valueChange.emit();
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
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 });
|
|
665
|
+
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: `
|
|
666
|
+
<kendo-dropdownlist
|
|
667
|
+
[tabindex]="-1"
|
|
668
|
+
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
669
|
+
[value]="currentItem.value"
|
|
670
|
+
(valueChange)="onValueChange($event)"
|
|
671
|
+
[data]="items"
|
|
672
|
+
[defaultItem]="defaultItem"
|
|
673
|
+
[valuePrimitive]="true"
|
|
674
|
+
textField="text"
|
|
675
|
+
valueField="value"
|
|
676
|
+
>
|
|
677
|
+
</kendo-dropdownlist>
|
|
678
|
+
`, 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"] }] });
|
|
679
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterBooleanEditorComponent, decorators: [{
|
|
680
|
+
type: Component,
|
|
681
|
+
args: [{
|
|
682
|
+
selector: 'kendo-filter-boolean-editor',
|
|
683
|
+
template: `
|
|
684
|
+
<kendo-dropdownlist
|
|
685
|
+
[tabindex]="-1"
|
|
686
|
+
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
687
|
+
[value]="currentItem.value"
|
|
688
|
+
(valueChange)="onValueChange($event)"
|
|
689
|
+
[data]="items"
|
|
690
|
+
[defaultItem]="defaultItem"
|
|
691
|
+
[valuePrimitive]="true"
|
|
692
|
+
textField="text"
|
|
693
|
+
valueField="value"
|
|
694
|
+
>
|
|
695
|
+
</kendo-dropdownlist>
|
|
696
|
+
`,
|
|
697
|
+
standalone: true,
|
|
698
|
+
imports: [DropDownListComponent, AriaLabelValueDirective]
|
|
699
|
+
}]
|
|
700
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { currentItem: [{
|
|
701
|
+
type: Input
|
|
702
|
+
}], valueChange: [{
|
|
703
|
+
type: Output
|
|
704
|
+
}] } });
|
|
705
|
+
|
|
560
706
|
/**
|
|
561
707
|
* @hidden
|
|
562
708
|
*/
|
|
@@ -574,7 +720,7 @@ class FilterNumericEditorComponent {
|
|
|
574
720
|
}
|
|
575
721
|
}
|
|
576
722
|
FilterNumericEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterNumericEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
577
|
-
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: `
|
|
723
|
+
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: `
|
|
578
724
|
<kendo-numerictextbox
|
|
579
725
|
[tabindex]="-1"
|
|
580
726
|
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
@@ -587,7 +733,7 @@ FilterNumericEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
|
587
733
|
[decrement]="messageFor('editorNumericDecrement')">
|
|
588
734
|
</kendo-numerictextbox-messages>
|
|
589
735
|
</kendo-numerictextbox>
|
|
590
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
736
|
+
`, 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" }] });
|
|
591
737
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterNumericEditorComponent, decorators: [{
|
|
592
738
|
type: Component,
|
|
593
739
|
args: [{
|
|
@@ -605,7 +751,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
605
751
|
[decrement]="messageFor('editorNumericDecrement')">
|
|
606
752
|
</kendo-numerictextbox-messages>
|
|
607
753
|
</kendo-numerictextbox>
|
|
608
|
-
|
|
754
|
+
`,
|
|
755
|
+
standalone: true,
|
|
756
|
+
imports: [NumericTextBoxComponent, AriaLabelValueDirective, NumericTextBoxCustomMessagesComponent]
|
|
609
757
|
}]
|
|
610
758
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { currentItem: [{
|
|
611
759
|
type: Input
|
|
@@ -634,7 +782,7 @@ class FilterTextEditorComponent {
|
|
|
634
782
|
}
|
|
635
783
|
}
|
|
636
784
|
FilterTextEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterTextEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
637
|
-
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: `
|
|
785
|
+
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: `
|
|
638
786
|
<kendo-textbox
|
|
639
787
|
[tabindex]="-1"
|
|
640
788
|
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
@@ -642,7 +790,7 @@ FilterTextEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
642
790
|
(valueChange)="onValueChange($event)"
|
|
643
791
|
[disabled]="isDisabled">
|
|
644
792
|
</kendo-textbox>
|
|
645
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
793
|
+
`, 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"] }] });
|
|
646
794
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterTextEditorComponent, decorators: [{
|
|
647
795
|
type: Component,
|
|
648
796
|
args: [{
|
|
@@ -655,7 +803,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
655
803
|
(valueChange)="onValueChange($event)"
|
|
656
804
|
[disabled]="isDisabled">
|
|
657
805
|
</kendo-textbox>
|
|
658
|
-
|
|
806
|
+
`,
|
|
807
|
+
standalone: true,
|
|
808
|
+
imports: [TextBoxComponent, AriaLabelValueDirective]
|
|
659
809
|
}]
|
|
660
810
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { currentItem: [{
|
|
661
811
|
type: Input
|
|
@@ -685,7 +835,7 @@ class FilterExpressionOperatorsComponent {
|
|
|
685
835
|
}
|
|
686
836
|
}
|
|
687
837
|
FilterExpressionOperatorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterExpressionOperatorsComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
688
|
-
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: `
|
|
838
|
+
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: `
|
|
689
839
|
<kendo-dropdownlist
|
|
690
840
|
[tabindex]="-1"
|
|
691
841
|
[kendoAriaLabelValue]="messageFor('filterOperatorAriaLabel')"
|
|
@@ -704,7 +854,7 @@ FilterExpressionOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersio
|
|
|
704
854
|
<span>{{ getOperator(dataItem.value) }}</span>
|
|
705
855
|
</ng-template>
|
|
706
856
|
</kendo-dropdownlist>
|
|
707
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
857
|
+
`, 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]" }] });
|
|
708
858
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterExpressionOperatorsComponent, decorators: [{
|
|
709
859
|
type: Component,
|
|
710
860
|
args: [{
|
|
@@ -728,7 +878,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
728
878
|
<span>{{ getOperator(dataItem.value) }}</span>
|
|
729
879
|
</ng-template>
|
|
730
880
|
</kendo-dropdownlist>
|
|
731
|
-
|
|
881
|
+
`,
|
|
882
|
+
standalone: true,
|
|
883
|
+
imports: [DropDownListComponent, AriaLabelValueDirective, ValueTemplateDirective, ItemTemplateDirective]
|
|
732
884
|
}]
|
|
733
885
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { currentItem: [{
|
|
734
886
|
type: Input
|
|
@@ -740,146 +892,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
740
892
|
type: Input
|
|
741
893
|
}] } });
|
|
742
894
|
|
|
743
|
-
/**
|
|
744
|
-
* @hidden
|
|
745
|
-
*/
|
|
746
|
-
class FilterBooleanEditorComponent {
|
|
747
|
-
constructor(localization, cdr) {
|
|
748
|
-
this.localization = localization;
|
|
749
|
-
this.cdr = cdr;
|
|
750
|
-
this.valueChange = new EventEmitter();
|
|
751
|
-
this.items = this.getValueItems();
|
|
752
|
-
this.defaultItem = this.getDefaultItem();
|
|
753
|
-
}
|
|
754
|
-
ngOnInit() {
|
|
755
|
-
this.localizationSubscription = this.localization.changes.subscribe(() => {
|
|
756
|
-
this.defaultItem = this.getDefaultItem();
|
|
757
|
-
this.items = this.getValueItems();
|
|
758
|
-
this.cdr.detectChanges();
|
|
759
|
-
});
|
|
760
|
-
}
|
|
761
|
-
getDefaultItem() {
|
|
762
|
-
return { text: this.localization.get("filterBooleanAll"), value: null };
|
|
763
|
-
}
|
|
764
|
-
getValueItems() {
|
|
765
|
-
return [
|
|
766
|
-
{ text: this.localization.get("filterIsTrue"), value: true },
|
|
767
|
-
{ text: this.localization.get("filterIsFalse"), value: false }
|
|
768
|
-
];
|
|
769
|
-
}
|
|
770
|
-
ngOnDestroy() {
|
|
771
|
-
if (this.localizationSubscription) {
|
|
772
|
-
this.localizationSubscription.unsubscribe();
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
messageFor(key) {
|
|
776
|
-
return this.localization.get(key);
|
|
777
|
-
}
|
|
778
|
-
onValueChange(value) {
|
|
779
|
-
this.currentItem.value = value;
|
|
780
|
-
this.valueChange.emit();
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
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 });
|
|
784
|
-
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: `
|
|
785
|
-
<kendo-dropdownlist
|
|
786
|
-
[tabindex]="-1"
|
|
787
|
-
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
788
|
-
[value]="currentItem.value"
|
|
789
|
-
(valueChange)="onValueChange($event)"
|
|
790
|
-
[data]="items"
|
|
791
|
-
[defaultItem]="defaultItem"
|
|
792
|
-
[valuePrimitive]="true"
|
|
793
|
-
textField="text"
|
|
794
|
-
valueField="value"
|
|
795
|
-
>
|
|
796
|
-
</kendo-dropdownlist>
|
|
797
|
-
`, 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"] }] });
|
|
798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterBooleanEditorComponent, decorators: [{
|
|
799
|
-
type: Component,
|
|
800
|
-
args: [{
|
|
801
|
-
selector: 'kendo-filter-boolean-editor',
|
|
802
|
-
template: `
|
|
803
|
-
<kendo-dropdownlist
|
|
804
|
-
[tabindex]="-1"
|
|
805
|
-
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
806
|
-
[value]="currentItem.value"
|
|
807
|
-
(valueChange)="onValueChange($event)"
|
|
808
|
-
[data]="items"
|
|
809
|
-
[defaultItem]="defaultItem"
|
|
810
|
-
[valuePrimitive]="true"
|
|
811
|
-
textField="text"
|
|
812
|
-
valueField="value"
|
|
813
|
-
>
|
|
814
|
-
</kendo-dropdownlist>
|
|
815
|
-
`
|
|
816
|
-
}]
|
|
817
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { currentItem: [{
|
|
818
|
-
type: Input
|
|
819
|
-
}], valueChange: [{
|
|
820
|
-
type: Output
|
|
821
|
-
}] } });
|
|
822
|
-
|
|
823
|
-
/**
|
|
824
|
-
* @hidden
|
|
825
|
-
*/
|
|
826
|
-
class FilterDateEditorComponent {
|
|
827
|
-
constructor(localization) {
|
|
828
|
-
this.localization = localization;
|
|
829
|
-
this.valueChange = new EventEmitter();
|
|
830
|
-
}
|
|
831
|
-
messageFor(key) {
|
|
832
|
-
return this.localization.get(key);
|
|
833
|
-
}
|
|
834
|
-
onValueChange(value) {
|
|
835
|
-
this.currentItem.value = value;
|
|
836
|
-
this.valueChange.emit();
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
FilterDateEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterDateEditorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
840
|
-
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: `
|
|
841
|
-
<kendo-datepicker
|
|
842
|
-
[tabindex]="-1"
|
|
843
|
-
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
844
|
-
[value]="currentItem.value"
|
|
845
|
-
(valueChange)="onValueChange($event)"
|
|
846
|
-
[disabled]="isDisabled"
|
|
847
|
-
[format]="format">
|
|
848
|
-
<kendo-datepicker-messages
|
|
849
|
-
[toggle]="messageFor('editorDateToggleText')"
|
|
850
|
-
[today]="messageFor('editorDateTodayText')">
|
|
851
|
-
</kendo-datepicker-messages>
|
|
852
|
-
</kendo-datepicker>
|
|
853
|
-
`, 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"] }] });
|
|
854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterDateEditorComponent, decorators: [{
|
|
855
|
-
type: Component,
|
|
856
|
-
args: [{
|
|
857
|
-
selector: 'kendo-filter-date-editor',
|
|
858
|
-
template: `
|
|
859
|
-
<kendo-datepicker
|
|
860
|
-
[tabindex]="-1"
|
|
861
|
-
[kendoAriaLabelValue]="messageFor('filterValueAriaLabel')"
|
|
862
|
-
[value]="currentItem.value"
|
|
863
|
-
(valueChange)="onValueChange($event)"
|
|
864
|
-
[disabled]="isDisabled"
|
|
865
|
-
[format]="format">
|
|
866
|
-
<kendo-datepicker-messages
|
|
867
|
-
[toggle]="messageFor('editorDateToggleText')"
|
|
868
|
-
[today]="messageFor('editorDateTodayText')">
|
|
869
|
-
</kendo-datepicker-messages>
|
|
870
|
-
</kendo-datepicker>
|
|
871
|
-
`
|
|
872
|
-
}]
|
|
873
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { currentItem: [{
|
|
874
|
-
type: Input
|
|
875
|
-
}], isDisabled: [{
|
|
876
|
-
type: Input
|
|
877
|
-
}], format: [{
|
|
878
|
-
type: Input
|
|
879
|
-
}], valueChange: [{
|
|
880
|
-
type: Output
|
|
881
|
-
}] } });
|
|
882
|
-
|
|
883
895
|
/**
|
|
884
896
|
* @hidden
|
|
885
897
|
*/
|
|
@@ -1054,7 +1066,7 @@ class FilterExpressionComponent extends BaseFilterRowComponent {
|
|
|
1054
1066
|
}
|
|
1055
1067
|
}
|
|
1056
1068
|
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 });
|
|
1057
|
-
FilterExpressionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterExpressionComponent, selector: "kendo-filter-expression", inputs: { currentItem: "currentItem" }, providers: [{
|
|
1069
|
+
FilterExpressionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterExpressionComponent, isStandalone: true, selector: "kendo-filter-expression", inputs: { currentItem: "currentItem" }, providers: [{
|
|
1058
1070
|
provide: FilterItem,
|
|
1059
1071
|
useExisting: forwardRef(() => FilterExpressionComponent)
|
|
1060
1072
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -1108,7 +1120,7 @@ FilterExpressionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
1108
1120
|
</button>
|
|
1109
1121
|
</div>
|
|
1110
1122
|
</div>
|
|
1111
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
1123
|
+
`, 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"] }] });
|
|
1112
1124
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterExpressionComponent, decorators: [{
|
|
1113
1125
|
type: Component,
|
|
1114
1126
|
args: [{
|
|
@@ -1168,7 +1180,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1168
1180
|
</button>
|
|
1169
1181
|
</div>
|
|
1170
1182
|
</div>
|
|
1171
|
-
|
|
1183
|
+
`,
|
|
1184
|
+
standalone: true,
|
|
1185
|
+
imports: [DropDownListComponent, AriaLabelValueDirective, NgIf, FilterExpressionOperatorsComponent, NgSwitch, NgSwitchCase, FilterTextEditorComponent, FilterNumericEditorComponent, FilterBooleanEditorComponent, FilterDateEditorComponent, TemplateContextDirective, ButtonComponent]
|
|
1172
1186
|
}]
|
|
1173
1187
|
}], ctorParameters: function () { return [{ type: FilterService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: NavigationService }, { type: i1.LocalizationService }, { type: i0.Renderer2 }]; }, propDecorators: { currentItem: [{
|
|
1174
1188
|
type: Input
|
|
@@ -1278,7 +1292,7 @@ class FilterGroupComponent extends BaseFilterRowComponent {
|
|
|
1278
1292
|
}
|
|
1279
1293
|
}
|
|
1280
1294
|
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 });
|
|
1281
|
-
FilterGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterGroupComponent, selector: "kendo-filter-group", inputs: { currentItem: "currentItem" }, providers: [{
|
|
1295
|
+
FilterGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterGroupComponent, isStandalone: true, selector: "kendo-filter-group", inputs: { currentItem: "currentItem" }, providers: [{
|
|
1282
1296
|
provide: FilterItem,
|
|
1283
1297
|
useExisting: forwardRef(() => FilterGroupComponent)
|
|
1284
1298
|
}], viewQueries: [{ propertyName: "_filterItems", predicate: FilterItem, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -1351,7 +1365,7 @@ FilterGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
1351
1365
|
</li>
|
|
1352
1366
|
</ng-container>
|
|
1353
1367
|
</ul>
|
|
1354
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
1368
|
+
`, 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"] }] });
|
|
1355
1369
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterGroupComponent, decorators: [{
|
|
1356
1370
|
type: Component,
|
|
1357
1371
|
args: [{
|
|
@@ -1430,7 +1444,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1430
1444
|
</li>
|
|
1431
1445
|
</ng-container>
|
|
1432
1446
|
</ul>
|
|
1433
|
-
|
|
1447
|
+
`,
|
|
1448
|
+
standalone: true,
|
|
1449
|
+
imports: [NgFor, ButtonComponent, NgClass, NgIf, FilterExpressionComponent]
|
|
1434
1450
|
}]
|
|
1435
1451
|
}], ctorParameters: function () { return [{ type: FilterService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: NavigationService }, { type: i1.LocalizationService }, { type: i0.Renderer2 }]; }, propDecorators: { _filterItems: [{
|
|
1436
1452
|
type: ViewChildren,
|
|
@@ -1537,7 +1553,7 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
1537
1553
|
}
|
|
1538
1554
|
}
|
|
1539
1555
|
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1540
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoFilterLocalizedMessages]", providers: [
|
|
1556
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoFilterLocalizedMessages]", providers: [
|
|
1541
1557
|
{
|
|
1542
1558
|
provide: Messages,
|
|
1543
1559
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
@@ -1552,7 +1568,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1552
1568
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
1553
1569
|
}
|
|
1554
1570
|
],
|
|
1555
|
-
selector: '[kendoFilterLocalizedMessages]'
|
|
1571
|
+
selector: '[kendoFilterLocalizedMessages]',
|
|
1572
|
+
standalone: true
|
|
1556
1573
|
}]
|
|
1557
1574
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
1558
1575
|
|
|
@@ -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: "
|
|
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](
|
|
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
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
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,
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
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: [
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
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
|
|