@progress/kendo-angular-filter 24.2.2 → 25.0.0-develop.2
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/fesm2022/progress-kendo-angular-filter.mjs +66 -66
- package/index.d.ts +855 -19
- package/package-metadata.mjs +2 -2
- package/package.json +16 -16
- package/schematics/ngAdd/index.js +4 -4
- package/aria-label.directive.d.ts +0 -18
- package/base-filter-row.component.d.ts +0 -26
- package/directives.d.ts +0 -14
- package/editors/boolean-editor.component.d.ts +0 -30
- package/editors/date-editor.component.d.ts +0 -24
- package/editors/numeric-editor.component.d.ts +0 -24
- package/editors/text-editor.component.d.ts +0 -22
- package/error-messages.d.ts +0 -8
- package/filter-expression-operators.component.d.ts +0 -29
- package/filter-expression.component.d.ts +0 -60
- package/filter-field.component.d.ts +0 -83
- package/filter-group.component.d.ts +0 -56
- package/filter.component.d.ts +0 -126
- package/filter.module.d.ts +0 -47
- package/filter.service.d.ts +0 -21
- package/localization/custom-messages.component.d.ts +0 -18
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -161
- package/model/filter-expression.d.ts +0 -95
- package/navigation.service.d.ts +0 -40
- package/package-metadata.d.ts +0 -9
- package/templates/field-template.directive.d.ts +0 -38
- package/templates/operator-template.directive.d.ts +0 -38
- package/templates/value-editor-template.directive.d.ts +0 -12
- package/util.d.ts +0 -161
package/filter.module.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./filter.component";
|
|
7
|
-
import * as i2 from "./filter-field.component";
|
|
8
|
-
import * as i3 from "./localization/custom-messages.component";
|
|
9
|
-
import * as i4 from "./templates/value-editor-template.directive";
|
|
10
|
-
import * as i5 from "./templates/operator-template.directive";
|
|
11
|
-
import * as i6 from "./templates/field-template.directive";
|
|
12
|
-
/**
|
|
13
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
14
|
-
* definition for the Filter component.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
*
|
|
18
|
-
* ```ts
|
|
19
|
-
* // Import the Filter module
|
|
20
|
-
* import { FilterModule } from '@progress/kendo-angular-filter';
|
|
21
|
-
*
|
|
22
|
-
* // The browser platform with a compiler
|
|
23
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
24
|
-
*
|
|
25
|
-
* import { NgModule } from '@angular/core';
|
|
26
|
-
*
|
|
27
|
-
* // Import the app component
|
|
28
|
-
* import { AppComponent } from './app.component';
|
|
29
|
-
*
|
|
30
|
-
* // Define the app module
|
|
31
|
-
* _@NgModule({
|
|
32
|
-
* declarations: [AppComponent], // declare app component
|
|
33
|
-
* imports: [BrowserModule, FilterModule], // import Filter module
|
|
34
|
-
* bootstrap: [AppComponent]
|
|
35
|
-
* })
|
|
36
|
-
* export class AppModule { }
|
|
37
|
-
*
|
|
38
|
-
* // Compile and launch the module
|
|
39
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
40
|
-
*
|
|
41
|
-
* ```
|
|
42
|
-
*/
|
|
43
|
-
export declare class FilterModule {
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterModule, never>;
|
|
45
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FilterModule, never, [typeof i1.FilterComponent, typeof i2.FilterFieldComponent, typeof i3.CustomMessagesComponent, typeof i4.FilterValueEditorTemplateDirective, typeof i5.FilterOperatorTemplateDirective, typeof i6.FilterFieldsTemplateDirective], [typeof i1.FilterComponent, typeof i2.FilterFieldComponent, typeof i3.CustomMessagesComponent, typeof i4.FilterValueEditorTemplateDirective, typeof i5.FilterOperatorTemplateDirective, typeof i6.FilterFieldsTemplateDirective]>;
|
|
46
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FilterModule>;
|
|
47
|
-
}
|
package/filter.service.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TemplateRef } from '@angular/core';
|
|
6
|
-
import { CompositeFilterDescriptor, FilterDescriptor } from '@progress/kendo-data-query';
|
|
7
|
-
import { FilterExpression } from './model/filter-expression';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class FilterService {
|
|
13
|
-
normalizedValue: CompositeFilterDescriptor;
|
|
14
|
-
filters: FilterExpression[];
|
|
15
|
-
fieldTemplate: TemplateRef<any> | null;
|
|
16
|
-
addFilterGroup(item: CompositeFilterDescriptor): void;
|
|
17
|
-
addFilterExpression(item: CompositeFilterDescriptor): void;
|
|
18
|
-
remove(item: CompositeFilterDescriptor | FilterDescriptor, positionIndex: number, parentItem?: CompositeFilterDescriptor): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FilterService>;
|
|
21
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { Messages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Custom component messages that override the default component messages.
|
|
10
|
-
* For usage examples, see the [Internationalization guide](https://www.telerik.com/kendo-angular-ui/components/filter/globalization#internationalization).
|
|
11
|
-
*/
|
|
12
|
-
export declare class CustomMessagesComponent extends Messages {
|
|
13
|
-
protected service: LocalizationService;
|
|
14
|
-
constructor(service: LocalizationService);
|
|
15
|
-
protected get override(): boolean;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMessagesComponent, "kendo-filter-messages", never, {}, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { Messages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class LocalizedMessagesDirective extends Messages {
|
|
12
|
-
protected service: LocalizationService;
|
|
13
|
-
constructor(service: LocalizationService);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoFilterLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class Messages extends ComponentMessages {
|
|
11
|
-
/**
|
|
12
|
-
* The text of the Filter Expression `operators` drop down title.
|
|
13
|
-
*/
|
|
14
|
-
filterExpressionOperators: string;
|
|
15
|
-
/**
|
|
16
|
-
* The text of the Filter Expression 'fields' drop down title.
|
|
17
|
-
*/
|
|
18
|
-
filterExpressionFilters: string;
|
|
19
|
-
/**
|
|
20
|
-
* The text of the `Remove` button.
|
|
21
|
-
*/
|
|
22
|
-
remove: string;
|
|
23
|
-
/**
|
|
24
|
-
* The text of the Filter Group `Add Group` button.
|
|
25
|
-
*/
|
|
26
|
-
addGroup: string;
|
|
27
|
-
/**
|
|
28
|
-
* The text of the Filter Group `Add Filter` button.
|
|
29
|
-
*/
|
|
30
|
-
addFilter: string;
|
|
31
|
-
/**
|
|
32
|
-
* The text of the `And` Filter Group logic.
|
|
33
|
-
*/
|
|
34
|
-
filterAndLogic: string;
|
|
35
|
-
/**
|
|
36
|
-
* The text of the `Or` Filter Group logic.
|
|
37
|
-
*/
|
|
38
|
-
filterOrLogic: string;
|
|
39
|
-
/**
|
|
40
|
-
* The text of the `Equal` (**Is equal to**) Filter Expression operator.
|
|
41
|
-
*/
|
|
42
|
-
filterEqOperator: string;
|
|
43
|
-
/**
|
|
44
|
-
* The text of the `NotEqual` (**Is not equal to**) Filter Expression operator.
|
|
45
|
-
*/
|
|
46
|
-
filterNotEqOperator: string;
|
|
47
|
-
/**
|
|
48
|
-
* The text of the `IsNull` (**Is null**) Filter Expression operator.
|
|
49
|
-
*/
|
|
50
|
-
filterIsNullOperator: string;
|
|
51
|
-
/**
|
|
52
|
-
* The text of the `IsNotNull` (**Is not null**) Filter Expression operator.
|
|
53
|
-
*/
|
|
54
|
-
filterIsNotNullOperator: string;
|
|
55
|
-
/**
|
|
56
|
-
* The text of the `IsEmpty` (**Is empty**) Filter Expression operator.
|
|
57
|
-
*/
|
|
58
|
-
filterIsEmptyOperator: string;
|
|
59
|
-
/**
|
|
60
|
-
* The text of the `IsNotEmpty` (**Is not empty**) Filter Expression operator.
|
|
61
|
-
*/
|
|
62
|
-
filterIsNotEmptyOperator: string;
|
|
63
|
-
/**
|
|
64
|
-
* The text of the `StartsWith` (**Starts with**) Filter Expression operator.
|
|
65
|
-
*/
|
|
66
|
-
filterStartsWithOperator: string;
|
|
67
|
-
/**
|
|
68
|
-
* The text of the `Contains` (**Contains**) Filter Expression operator.
|
|
69
|
-
*/
|
|
70
|
-
filterContainsOperator: string;
|
|
71
|
-
/**
|
|
72
|
-
* The text of the `DoesNotContain` (**Does not contain**) Filter Expression operator.
|
|
73
|
-
*/
|
|
74
|
-
filterNotContainsOperator: string;
|
|
75
|
-
/**
|
|
76
|
-
* The text of the `EndsWith` (**Ends with**) string Filter Expression operator.
|
|
77
|
-
*/
|
|
78
|
-
filterEndsWithOperator: string;
|
|
79
|
-
/**
|
|
80
|
-
* The text of the `GreaterOrEqualTo` (**Is greater than or equal to**) numeric Filter Expression operator.
|
|
81
|
-
*/
|
|
82
|
-
filterGteOperator: string;
|
|
83
|
-
/**
|
|
84
|
-
* The text of the `Greater` (**Is greater than**) numeric Filter Expression operator.
|
|
85
|
-
*/
|
|
86
|
-
filterGtOperator: string;
|
|
87
|
-
/**
|
|
88
|
-
* The text of the `LessOrEqualTo` (**Is less than or equal to**) numeric Filter Expression operator.
|
|
89
|
-
*/
|
|
90
|
-
filterLteOperator: string;
|
|
91
|
-
/**
|
|
92
|
-
* The text of the `Less` (**Is less than**) numeric Filter Expression operator.
|
|
93
|
-
*/
|
|
94
|
-
filterLtOperator: string;
|
|
95
|
-
/**
|
|
96
|
-
* The text of the `IsTrue` boolean Filter Expression option.
|
|
97
|
-
*/
|
|
98
|
-
filterIsTrue: string;
|
|
99
|
-
/**
|
|
100
|
-
* The text of the `IsFalse` boolean Filter Expression option.
|
|
101
|
-
*/
|
|
102
|
-
filterIsFalse: string;
|
|
103
|
-
/**
|
|
104
|
-
* The text of the `(All)` boolean Filter Expression option.
|
|
105
|
-
*/
|
|
106
|
-
filterBooleanAll: string;
|
|
107
|
-
/**
|
|
108
|
-
* The text of the `AfterOrEqualTo` (**Is after or equal to**) date Filter Expression operator.
|
|
109
|
-
*/
|
|
110
|
-
filterAfterOrEqualOperator: string;
|
|
111
|
-
/**
|
|
112
|
-
* The text of the `After` (**Is after**) date Filter Expression operator.
|
|
113
|
-
*/
|
|
114
|
-
filterAfterOperator: string;
|
|
115
|
-
/**
|
|
116
|
-
* The text of the `Before` (**Is before**) date Filter Expression operator.
|
|
117
|
-
*/
|
|
118
|
-
filterBeforeOperator: string;
|
|
119
|
-
/**
|
|
120
|
-
* The text of the `BeforeOrEqualTo` (**Is before or equal to**) date Filter Expression operator.
|
|
121
|
-
*/
|
|
122
|
-
filterBeforeOrEqualOperator: string;
|
|
123
|
-
/**
|
|
124
|
-
* The title of the Decrement button of the Filter Expression numeric editor.
|
|
125
|
-
*/
|
|
126
|
-
editorNumericDecrement: string;
|
|
127
|
-
/**
|
|
128
|
-
* The title of the Increment button of the Filter Expression numeric editor.
|
|
129
|
-
*/
|
|
130
|
-
editorNumericIncrement: string;
|
|
131
|
-
/**
|
|
132
|
-
* The text of the Today button of the Filter Expression date editor.
|
|
133
|
-
*/
|
|
134
|
-
editorDateTodayText: string;
|
|
135
|
-
/**
|
|
136
|
-
* The title of the Toggle button of the Filter Expression date editor.
|
|
137
|
-
*/
|
|
138
|
-
editorDateToggleText: string;
|
|
139
|
-
/**
|
|
140
|
-
* The text of the filter field aria label.
|
|
141
|
-
*/
|
|
142
|
-
filterFieldAriaLabel: string;
|
|
143
|
-
/**
|
|
144
|
-
* The text of the filter operator aria label.
|
|
145
|
-
*/
|
|
146
|
-
filterOperatorAriaLabel: string;
|
|
147
|
-
/**
|
|
148
|
-
* The text of the filter value aria label.
|
|
149
|
-
*/
|
|
150
|
-
filterValueAriaLabel: string;
|
|
151
|
-
/**
|
|
152
|
-
* The text of the filter row aria label.
|
|
153
|
-
*/
|
|
154
|
-
filterToolbarAriaLabel: string;
|
|
155
|
-
/**
|
|
156
|
-
* The text of the filter toolbar aria label.
|
|
157
|
-
*/
|
|
158
|
-
filterComponentAriaLabel: string;
|
|
159
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
160
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "[kendoFilterMessages]", never, { "filterExpressionOperators": { "alias": "filterExpressionOperators"; "required": false; }; "filterExpressionFilters": { "alias": "filterExpressionFilters"; "required": false; }; "remove": { "alias": "remove"; "required": false; }; "addGroup": { "alias": "addGroup"; "required": false; }; "addFilter": { "alias": "addFilter"; "required": false; }; "filterAndLogic": { "alias": "filterAndLogic"; "required": false; }; "filterOrLogic": { "alias": "filterOrLogic"; "required": false; }; "filterEqOperator": { "alias": "filterEqOperator"; "required": false; }; "filterNotEqOperator": { "alias": "filterNotEqOperator"; "required": false; }; "filterIsNullOperator": { "alias": "filterIsNullOperator"; "required": false; }; "filterIsNotNullOperator": { "alias": "filterIsNotNullOperator"; "required": false; }; "filterIsEmptyOperator": { "alias": "filterIsEmptyOperator"; "required": false; }; "filterIsNotEmptyOperator": { "alias": "filterIsNotEmptyOperator"; "required": false; }; "filterStartsWithOperator": { "alias": "filterStartsWithOperator"; "required": false; }; "filterContainsOperator": { "alias": "filterContainsOperator"; "required": false; }; "filterNotContainsOperator": { "alias": "filterNotContainsOperator"; "required": false; }; "filterEndsWithOperator": { "alias": "filterEndsWithOperator"; "required": false; }; "filterGteOperator": { "alias": "filterGteOperator"; "required": false; }; "filterGtOperator": { "alias": "filterGtOperator"; "required": false; }; "filterLteOperator": { "alias": "filterLteOperator"; "required": false; }; "filterLtOperator": { "alias": "filterLtOperator"; "required": false; }; "filterIsTrue": { "alias": "filterIsTrue"; "required": false; }; "filterIsFalse": { "alias": "filterIsFalse"; "required": false; }; "filterBooleanAll": { "alias": "filterBooleanAll"; "required": false; }; "filterAfterOrEqualOperator": { "alias": "filterAfterOrEqualOperator"; "required": false; }; "filterAfterOperator": { "alias": "filterAfterOperator"; "required": false; }; "filterBeforeOperator": { "alias": "filterBeforeOperator"; "required": false; }; "filterBeforeOrEqualOperator": { "alias": "filterBeforeOrEqualOperator"; "required": false; }; "editorNumericDecrement": { "alias": "editorNumericDecrement"; "required": false; }; "editorNumericIncrement": { "alias": "editorNumericIncrement"; "required": false; }; "editorDateTodayText": { "alias": "editorDateTodayText"; "required": false; }; "editorDateToggleText": { "alias": "editorDateToggleText"; "required": false; }; "filterFieldAriaLabel": { "alias": "filterFieldAriaLabel"; "required": false; }; "filterOperatorAriaLabel": { "alias": "filterOperatorAriaLabel"; "required": false; }; "filterValueAriaLabel": { "alias": "filterValueAriaLabel"; "required": false; }; "filterToolbarAriaLabel": { "alias": "filterToolbarAriaLabel"; "required": false; }; "filterComponentAriaLabel": { "alias": "filterComponentAriaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
161
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Represents the FilterOperator type.
|
|
7
|
-
*/
|
|
8
|
-
import { TemplateRef } from '@angular/core';
|
|
9
|
-
import { FormatSettings } from '@progress/kendo-angular-dateinputs';
|
|
10
|
-
import { NumberFormatOptions } from '@progress/kendo-angular-intl';
|
|
11
|
-
/**
|
|
12
|
-
* Specifies the date format used for the DatePicker editor.
|
|
13
|
-
* Extends the `FormatSettings` from `@progress/kendo-angular-dateinputs`.
|
|
14
|
-
* See the [Filter editor formats documentation](https://www.telerik.com/kendo-angular-ui/components/filter/filter-editors-format).
|
|
15
|
-
*/
|
|
16
|
-
export interface DateFormat extends FormatSettings {
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Specifies the number format used for the NumericTextBox editor when it is not focused.
|
|
20
|
-
* Extends the `NumberFormatOptions` from `@progress/kendo-angular-intl`.
|
|
21
|
-
* See the [Filter editor formats documentation](https://www.telerik.com/kendo-angular-ui/components/filter/filter-editors-format).
|
|
22
|
-
*/
|
|
23
|
-
export interface NumberFormat extends NumberFormatOptions {
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Specifies the available filter operators.
|
|
27
|
-
*/
|
|
28
|
-
export type FilterOperator = 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'isnull' | 'isnotnull' | 'contains' | 'doesnotcontain' | 'startswith' | 'endswith' | 'isempty' | 'isnotempty';
|
|
29
|
-
/**
|
|
30
|
-
* Represents the FilterEditor type.
|
|
31
|
-
*/
|
|
32
|
-
export type FilterEditor = 'string' | 'number' | 'boolean' | 'date';
|
|
33
|
-
/**
|
|
34
|
-
* Represents the FilterExpression interface.
|
|
35
|
-
*/
|
|
36
|
-
export interface FilterExpression {
|
|
37
|
-
/**
|
|
38
|
-
* Specifies the `field` that will be used by the user-defined filter.
|
|
39
|
-
*/
|
|
40
|
-
field: string;
|
|
41
|
-
/**
|
|
42
|
-
* Specifies the `title` text that will be displayed by the user-defined filter.
|
|
43
|
-
* If the `title` isn't set, the value passed to `field` is used.
|
|
44
|
-
*/
|
|
45
|
-
title?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Specifies the user-defined filter `editor` type that will be used.
|
|
48
|
-
* The available options are 'string', 'number', 'boolean', and 'date'.
|
|
49
|
-
*/
|
|
50
|
-
editor: FilterEditor;
|
|
51
|
-
/**
|
|
52
|
-
* Specifies the operators that will be available in the order of providing them.
|
|
53
|
-
* If no operators are provided, default operators are used for each filter type.
|
|
54
|
-
*
|
|
55
|
-
* The default string operators are:
|
|
56
|
-
* * `eq`— Is equal to
|
|
57
|
-
* * `neq`— Is not equal to
|
|
58
|
-
* * `isnull`— Is null
|
|
59
|
-
* * `isnotnull`— Is not null
|
|
60
|
-
* * `contains`— Contains
|
|
61
|
-
* * `doesnotcontain`— Does not contain
|
|
62
|
-
* * `startswith`— Starts with
|
|
63
|
-
* * `endswith`— Ends with
|
|
64
|
-
* * `isempty`— Is empty
|
|
65
|
-
* * `isnotempty`— Is not empty
|
|
66
|
-
*
|
|
67
|
-
* The default number and date operators are:
|
|
68
|
-
* * `eq`— Is equals to
|
|
69
|
-
* * `neq`— Is not equal to
|
|
70
|
-
* * `isnull`— Is null
|
|
71
|
-
* * `isnotnull`— Is not null
|
|
72
|
-
* * `gt`— Greater than
|
|
73
|
-
* * `gte`— Greater than or equal to
|
|
74
|
-
* * `lt`— Less than
|
|
75
|
-
* * `lte`— Less than or equal to
|
|
76
|
-
*
|
|
77
|
-
* The boolean operator is always set to `eq`.
|
|
78
|
-
*/
|
|
79
|
-
operators?: FilterOperator[];
|
|
80
|
-
/**
|
|
81
|
-
* Specifies a template for the expression value editor input.
|
|
82
|
-
*/
|
|
83
|
-
editorTemplate?: TemplateRef<any>;
|
|
84
|
-
/**
|
|
85
|
-
* Specifies a custom template for the operator dropdown.
|
|
86
|
-
* When set, the default operator DropDownList is replaced with the provided template.
|
|
87
|
-
* The template receives the current [`FilterDescriptor`](slug:api_kendo-data-query_filterdescriptor) as implicit context.
|
|
88
|
-
*/
|
|
89
|
-
operatorTemplate?: TemplateRef<any>;
|
|
90
|
-
/**
|
|
91
|
-
* Specifies the user-defined filter `editor` format that will be used.
|
|
92
|
-
* See the [Filter editor formats documentation](https://www.telerik.com/kendo-angular-ui/components/filter/filter-editors-format).
|
|
93
|
-
*/
|
|
94
|
-
editorFormat?: string | NumberFormat | DateFormat;
|
|
95
|
-
}
|
package/navigation.service.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef, Renderer2 } from '@angular/core';
|
|
6
|
-
import { FilterItem } from './util';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
interface FlattenFilterItem {
|
|
12
|
-
component: FilterItem;
|
|
13
|
-
isGroup: boolean;
|
|
14
|
-
toolbarElement: HTMLElement;
|
|
15
|
-
focusableChildren: HTMLElement[];
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export declare class NavigationService {
|
|
21
|
-
private cdr;
|
|
22
|
-
private renderer;
|
|
23
|
-
hierarchicalFilterItems: FilterItem[];
|
|
24
|
-
flattenFilterItems: FlattenFilterItem[];
|
|
25
|
-
currentToolbarItemIndex: number;
|
|
26
|
-
currentToolbarItemChildrenIndex: number;
|
|
27
|
-
isFilterNavigationActivated: boolean;
|
|
28
|
-
isFilterExpressionComponentFocused: boolean;
|
|
29
|
-
currentlyFocusedElement: HTMLElement;
|
|
30
|
-
constructor(cdr: ChangeDetectorRef, renderer: Renderer2);
|
|
31
|
-
processKeyDown(key: string, event: any): void;
|
|
32
|
-
focusCurrentElement(element: HTMLElement, isOnMouseDown?: boolean): void;
|
|
33
|
-
flattenHierarchicalFilterItems(filterItems: FilterItem[]): void;
|
|
34
|
-
private setGroupItemChildren;
|
|
35
|
-
setItemIndexes(): void;
|
|
36
|
-
reset(items: FilterItem[]): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
38
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
39
|
-
}
|
|
40
|
-
export {};
|
package/package-metadata.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { type PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Replaces the default field selector DropDownList in the Filter component with a custom template.
|
|
9
|
-
* Apply it to an `ng-template` that is a direct child of a `kendo-filter` element.
|
|
10
|
-
*
|
|
11
|
-
* The template context provides the following fields:
|
|
12
|
-
*
|
|
13
|
-
* - `let-currentItem`—The [filter descriptor](slug:api_kendo-data-query_filterdescriptor) for the current row. Set its `field` property to change the selected field. The component detects the change and updates the value, operator list, and editor type automatically.
|
|
14
|
-
* - `let-filters="filters"`—The list of available [`FilterExpression`](slug:api_filter_filterexpression) items.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```html
|
|
18
|
-
* <kendo-filter>
|
|
19
|
-
* <ng-template kendoFilterFieldsTemplate let-currentItem let-filters="filters">
|
|
20
|
-
* <kendo-dropdownlist
|
|
21
|
-
* [data]="filters"
|
|
22
|
-
* textField="title"
|
|
23
|
-
* valueField="field"
|
|
24
|
-
* [valuePrimitive]="true"
|
|
25
|
-
* [value]="currentItem.field"
|
|
26
|
-
* (valueChange)="currentItem.field = $event">
|
|
27
|
-
* </kendo-dropdownlist>
|
|
28
|
-
* </ng-template>
|
|
29
|
-
* <kendo-filter-field field="name" editor="string"></kendo-filter-field>
|
|
30
|
-
* </kendo-filter>
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export declare class FilterFieldsTemplateDirective {
|
|
34
|
-
templateRef: TemplateRef<any>;
|
|
35
|
-
constructor(templateRef: TemplateRef<any>);
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterFieldsTemplateDirective, never>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterFieldsTemplateDirective, "[kendoFilterFieldsTemplate]", never, {}, {}, never, never, true, never>;
|
|
38
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Replaces the default operator DropDownList in the Filter component with a custom template.
|
|
9
|
-
* Apply it to an `ng-template` inside a `kendo-filter-field` element.
|
|
10
|
-
*
|
|
11
|
-
* The template context provides the following field:
|
|
12
|
-
*
|
|
13
|
-
* - `let-filter`—The [filter descriptor](slug:api_kendo-data-query_filterdescriptor) for the current row. Set its `operator` property when the user selects a new operator.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```html
|
|
17
|
-
* <kendo-filter>
|
|
18
|
-
* <kendo-filter-field field="name" editor="string">
|
|
19
|
-
* <ng-template kendoFilterOperatorTemplate let-filter>
|
|
20
|
-
* <kendo-combobox
|
|
21
|
-
* [data]="customOperators"
|
|
22
|
-
* textField="text"
|
|
23
|
-
* valueField="value"
|
|
24
|
-
* [valuePrimitive]="true"
|
|
25
|
-
* [value]="filter.operator"
|
|
26
|
-
* (valueChange)="filter.operator = $event">
|
|
27
|
-
* </kendo-combobox>
|
|
28
|
-
* </ng-template>
|
|
29
|
-
* </kendo-filter-field>
|
|
30
|
-
* </kendo-filter>
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export declare class FilterOperatorTemplateDirective {
|
|
34
|
-
templateRef: TemplateRef<any>;
|
|
35
|
-
constructor(templateRef: TemplateRef<any>);
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterOperatorTemplateDirective, never>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterOperatorTemplateDirective, "[kendoFilterOperatorTemplate]", never, {}, {}, never, never, true, never>;
|
|
38
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FilterValueEditorTemplateDirective {
|
|
8
|
-
templateRef: TemplateRef<any>;
|
|
9
|
-
constructor(templateRef: TemplateRef<any>);
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterValueEditorTemplateDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterValueEditorTemplateDirective, "[kendoFilterValueEditorTemplate]", never, {}, {}, never, never, true, never>;
|
|
12
|
-
}
|
package/util.d.ts
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { FilterOperator } from "./model/filter-expression";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare const nullOperators: string[];
|
|
11
|
-
/**
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare const numericOperators: {
|
|
15
|
-
text: string;
|
|
16
|
-
value: string;
|
|
17
|
-
}[];
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export declare const stringOperators: {
|
|
22
|
-
text: string;
|
|
23
|
-
value: string;
|
|
24
|
-
}[];
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
export declare const booleanOperators: {
|
|
29
|
-
text: string;
|
|
30
|
-
value: string;
|
|
31
|
-
}[];
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
export declare const dateOperators: {
|
|
36
|
-
text: string;
|
|
37
|
-
value: string;
|
|
38
|
-
}[];
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
export declare const isArray: Function;
|
|
43
|
-
/**
|
|
44
|
-
* @hidden
|
|
45
|
-
*/
|
|
46
|
-
export declare const getKeyByValue: (object: object, value: FilterOperator | "and" | "or") => string;
|
|
47
|
-
/**
|
|
48
|
-
* @hidden
|
|
49
|
-
*/
|
|
50
|
-
export declare const defaultStringOperators: {
|
|
51
|
-
filterEqOperator: string;
|
|
52
|
-
filterNotEqOperator: string;
|
|
53
|
-
filterContainsOperator: string;
|
|
54
|
-
filterNotContainsOperator: string;
|
|
55
|
-
filterStartsWithOperator: string;
|
|
56
|
-
filterEndsWithOperator: string;
|
|
57
|
-
filterIsNullOperator: string;
|
|
58
|
-
filterIsNotNullOperator: string;
|
|
59
|
-
filterIsEmptyOperator: string;
|
|
60
|
-
filterIsNotEmptyOperator: string;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* @hidden
|
|
64
|
-
*/
|
|
65
|
-
export declare const defaultNumericOperators: {
|
|
66
|
-
filterEqOperator: string;
|
|
67
|
-
filterNotEqOperator: string;
|
|
68
|
-
filterGteOperator: string;
|
|
69
|
-
filterGtOperator: string;
|
|
70
|
-
filterLteOperator: string;
|
|
71
|
-
filterLtOperator: string;
|
|
72
|
-
filterIsNullOperator: string;
|
|
73
|
-
filterIsNotNullOperator: string;
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* @hidden
|
|
77
|
-
*/
|
|
78
|
-
export declare const defaultDateOperators: {
|
|
79
|
-
filterEqOperator: string;
|
|
80
|
-
filterNotEqOperator: string;
|
|
81
|
-
filterAfterOrEqualOperator: string;
|
|
82
|
-
filterAfterOperator: string;
|
|
83
|
-
filterBeforeOrEqualOperator: string;
|
|
84
|
-
filterBeforeOperator: string;
|
|
85
|
-
filterIsNullOperator: string;
|
|
86
|
-
filterIsNotNullOperator: string;
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* @hidden
|
|
90
|
-
*/
|
|
91
|
-
export declare const defaultOperators: {
|
|
92
|
-
string: {
|
|
93
|
-
filterEqOperator: string;
|
|
94
|
-
filterNotEqOperator: string;
|
|
95
|
-
filterContainsOperator: string;
|
|
96
|
-
filterNotContainsOperator: string;
|
|
97
|
-
filterStartsWithOperator: string;
|
|
98
|
-
filterEndsWithOperator: string;
|
|
99
|
-
filterIsNullOperator: string;
|
|
100
|
-
filterIsNotNullOperator: string;
|
|
101
|
-
filterIsEmptyOperator: string;
|
|
102
|
-
filterIsNotEmptyOperator: string;
|
|
103
|
-
};
|
|
104
|
-
number: {
|
|
105
|
-
filterEqOperator: string;
|
|
106
|
-
filterNotEqOperator: string;
|
|
107
|
-
filterGteOperator: string;
|
|
108
|
-
filterGtOperator: string;
|
|
109
|
-
filterLteOperator: string;
|
|
110
|
-
filterLtOperator: string;
|
|
111
|
-
filterIsNullOperator: string;
|
|
112
|
-
filterIsNotNullOperator: string;
|
|
113
|
-
};
|
|
114
|
-
date: {
|
|
115
|
-
filterEqOperator: string;
|
|
116
|
-
filterNotEqOperator: string;
|
|
117
|
-
filterAfterOrEqualOperator: string;
|
|
118
|
-
filterAfterOperator: string;
|
|
119
|
-
filterBeforeOrEqualOperator: string;
|
|
120
|
-
filterBeforeOperator: string;
|
|
121
|
-
filterIsNullOperator: string;
|
|
122
|
-
filterIsNotNullOperator: string;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
/**
|
|
126
|
-
* @hidden
|
|
127
|
-
*/
|
|
128
|
-
export declare const logicOperators: {
|
|
129
|
-
filterAndLogic: string;
|
|
130
|
-
filterOrLogic: string;
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* @hidden
|
|
134
|
-
*/
|
|
135
|
-
export type Direction = 'rtl' | 'ltr';
|
|
136
|
-
/**
|
|
137
|
-
* @hidden
|
|
138
|
-
*/
|
|
139
|
-
export declare const isFilterEditor: (editorType: string) => boolean;
|
|
140
|
-
/**
|
|
141
|
-
* @hidden
|
|
142
|
-
*/
|
|
143
|
-
export declare const localizeOperators: (operators: any) => (localization: any) => {
|
|
144
|
-
text: any;
|
|
145
|
-
value: any;
|
|
146
|
-
}[];
|
|
147
|
-
/**
|
|
148
|
-
* @hidden
|
|
149
|
-
*/
|
|
150
|
-
export declare const isPresent: Function;
|
|
151
|
-
/**
|
|
152
|
-
* @hidden
|
|
153
|
-
*/
|
|
154
|
-
export declare class FilterItem {
|
|
155
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterItem, never>;
|
|
156
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FilterItem>;
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* @hidden
|
|
160
|
-
*/
|
|
161
|
-
export declare const selectors: any;
|