@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/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "
|
|
10
|
+
"publishDate": 1783688797,
|
|
11
|
+
"version": "25.0.0-develop.2",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-filter",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.0.0-develop.2",
|
|
4
4
|
"description": "Kendo UI Angular Filter",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -17,31 +17,31 @@
|
|
|
17
17
|
"package": {
|
|
18
18
|
"productName": "Kendo UI for Angular",
|
|
19
19
|
"productCode": "KENDOUIANGULAR",
|
|
20
|
-
"publishDate":
|
|
20
|
+
"publishDate": 1783688797,
|
|
21
21
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@angular/animations": "
|
|
26
|
-
"@angular/common": "
|
|
27
|
-
"@angular/core": "
|
|
28
|
-
"@angular/platform-browser": "
|
|
25
|
+
"@angular/animations": "20 - 22",
|
|
26
|
+
"@angular/common": "20 - 22",
|
|
27
|
+
"@angular/core": "20 - 22",
|
|
28
|
+
"@angular/platform-browser": "20 - 22",
|
|
29
29
|
"@progress/kendo-data-query": "^1.7.3",
|
|
30
30
|
"@progress/kendo-licensing": "^1.11.0",
|
|
31
|
-
"@progress/kendo-angular-buttons": "
|
|
32
|
-
"@progress/kendo-angular-common": "
|
|
33
|
-
"@progress/kendo-angular-dateinputs": "
|
|
34
|
-
"@progress/kendo-angular-dropdowns": "
|
|
35
|
-
"@progress/kendo-angular-inputs": "
|
|
36
|
-
"@progress/kendo-angular-intl": "
|
|
37
|
-
"@progress/kendo-angular-l10n": "
|
|
38
|
-
"@progress/kendo-angular-icons": "
|
|
39
|
-
"@progress/kendo-angular-label": "
|
|
31
|
+
"@progress/kendo-angular-buttons": "25.0.0-develop.2",
|
|
32
|
+
"@progress/kendo-angular-common": "25.0.0-develop.2",
|
|
33
|
+
"@progress/kendo-angular-dateinputs": "25.0.0-develop.2",
|
|
34
|
+
"@progress/kendo-angular-dropdowns": "25.0.0-develop.2",
|
|
35
|
+
"@progress/kendo-angular-inputs": "25.0.0-develop.2",
|
|
36
|
+
"@progress/kendo-angular-intl": "25.0.0-develop.2",
|
|
37
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.2",
|
|
38
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.2",
|
|
39
|
+
"@progress/kendo-angular-label": "25.0.0-develop.2",
|
|
40
40
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"tslib": "^2.3.1",
|
|
44
|
-
"@progress/kendo-angular-schematics": "
|
|
44
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.2"
|
|
45
45
|
},
|
|
46
46
|
"schematics": "./schematics/collection.json",
|
|
47
47
|
"module": "fesm2022/progress-kendo-angular-filter.mjs",
|
|
@@ -9,12 +9,12 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'FilterModule', package: 'filter', peerDependencies: {
|
|
11
11
|
// peer deps of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '
|
|
13
|
-
'@progress/kendo-angular-popup': '
|
|
14
|
-
'@progress/kendo-angular-navigation': '
|
|
12
|
+
'@progress/kendo-angular-treeview': '25.0.0-develop.2',
|
|
13
|
+
'@progress/kendo-angular-popup': '25.0.0-develop.2',
|
|
14
|
+
'@progress/kendo-angular-navigation': '25.0.0-develop.2',
|
|
15
15
|
// peer dependency of kendo-angular-inputs
|
|
16
16
|
'@progress/kendo-drawing': '^1.16.0',
|
|
17
|
-
'@progress/kendo-angular-dialog': '
|
|
17
|
+
'@progress/kendo-angular-dialog': '25.0.0-develop.2',
|
|
18
18
|
// Peer dependency of icons
|
|
19
19
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
20
20
|
} });
|
|
@@ -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 { ElementRef, Renderer2 } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class AriaLabelValueDirective {
|
|
11
|
-
private hostElement;
|
|
12
|
-
private renderer;
|
|
13
|
-
ariaLabel: string;
|
|
14
|
-
constructor(hostElement: ElementRef, renderer: Renderer2);
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AriaLabelValueDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AriaLabelValueDirective, "[kendoAriaLabelValue]", never, { "ariaLabel": { "alias": "kendoAriaLabelValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,26 +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 { ElementRef, EventEmitter, Renderer2 } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { NavigationService } from './navigation.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare abstract class BaseFilterRowComponent {
|
|
13
|
-
protected element: ElementRef;
|
|
14
|
-
protected navigationService: NavigationService;
|
|
15
|
-
protected localization: LocalizationService;
|
|
16
|
-
private renderer;
|
|
17
|
-
index: number;
|
|
18
|
-
valueChange: EventEmitter<boolean>;
|
|
19
|
-
constructor(element: ElementRef, navigationService: NavigationService, localization: LocalizationService, renderer: Renderer2);
|
|
20
|
-
itemNumber: number;
|
|
21
|
-
get toolbarElement(): HTMLElement;
|
|
22
|
-
messageFor(key: string): string;
|
|
23
|
-
onMouseDown(event: any): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFilterRowComponent, never>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseFilterRowComponent, never, never, { "index": { "alias": "index"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
26
|
-
}
|
package/directives.d.ts
DELETED
|
@@ -1,14 +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 { FilterFieldComponent } from "./filter-field.component";
|
|
6
|
-
import { FilterComponent } from "./filter.component";
|
|
7
|
-
import { CustomMessagesComponent } from "./localization/custom-messages.component";
|
|
8
|
-
import { FilterValueEditorTemplateDirective } from "./templates/value-editor-template.directive";
|
|
9
|
-
import { FilterOperatorTemplateDirective } from "./templates/operator-template.directive";
|
|
10
|
-
import { FilterFieldsTemplateDirective } from "./templates/field-template.directive";
|
|
11
|
-
/**
|
|
12
|
-
* Utility array that contains all `@progress/kendo-angular-filter` related components and directives
|
|
13
|
-
*/
|
|
14
|
-
export declare const KENDO_FILTER: readonly [typeof FilterComponent, typeof FilterFieldComponent, typeof CustomMessagesComponent, typeof FilterValueEditorTemplateDirective, typeof FilterOperatorTemplateDirective, typeof FilterFieldsTemplateDirective];
|
|
@@ -1,30 +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 { EventEmitter } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { FilterDescriptor } from '@progress/kendo-data-query';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class FilterBooleanEditorComponent {
|
|
13
|
-
private localization;
|
|
14
|
-
currentItem: FilterDescriptor;
|
|
15
|
-
valueChange: EventEmitter<void>;
|
|
16
|
-
get items(): {
|
|
17
|
-
text: string;
|
|
18
|
-
value: boolean | null;
|
|
19
|
-
}[];
|
|
20
|
-
get defaultItem(): {
|
|
21
|
-
text: string;
|
|
22
|
-
value: boolean | null;
|
|
23
|
-
};
|
|
24
|
-
constructor(localization: LocalizationService);
|
|
25
|
-
messageFor(key: string): string;
|
|
26
|
-
getBooleanText(value: boolean | null): string;
|
|
27
|
-
onValueChange(value: boolean | null): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterBooleanEditorComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterBooleanEditorComponent, "kendo-filter-boolean-editor", never, { "currentItem": { "alias": "currentItem"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,24 +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 { EventEmitter } from '@angular/core';
|
|
6
|
-
import { FormatSettings } from '@progress/kendo-angular-dateinputs';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { FilterDescriptor } from '@progress/kendo-data-query';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class FilterDateEditorComponent {
|
|
14
|
-
private localization;
|
|
15
|
-
currentItem: FilterDescriptor;
|
|
16
|
-
isDisabled: boolean;
|
|
17
|
-
format: string | FormatSettings;
|
|
18
|
-
valueChange: EventEmitter<void>;
|
|
19
|
-
constructor(localization: LocalizationService);
|
|
20
|
-
messageFor(key: string): string;
|
|
21
|
-
onValueChange(value: Date): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateEditorComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateEditorComponent, "kendo-filter-date-editor", never, { "currentItem": { "alias": "currentItem"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,24 +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 { EventEmitter } from '@angular/core';
|
|
6
|
-
import { NumberFormatOptions } from '@progress/kendo-angular-intl';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { FilterDescriptor } from '@progress/kendo-data-query';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class FilterNumericEditorComponent {
|
|
14
|
-
private localization;
|
|
15
|
-
currentItem: FilterDescriptor;
|
|
16
|
-
isDisabled: boolean;
|
|
17
|
-
format: string | NumberFormatOptions;
|
|
18
|
-
valueChange: EventEmitter<void>;
|
|
19
|
-
constructor(localization: LocalizationService);
|
|
20
|
-
messageFor(key: string): string;
|
|
21
|
-
onValueChange(value: number): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterNumericEditorComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterNumericEditorComponent, "kendo-filter-numeric-editor", never, { "currentItem": { "alias": "currentItem"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,22 +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 { EventEmitter } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { FilterDescriptor } from '@progress/kendo-data-query';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class FilterTextEditorComponent {
|
|
13
|
-
private localization;
|
|
14
|
-
currentItem: FilterDescriptor;
|
|
15
|
-
isDisabled: boolean;
|
|
16
|
-
valueChange: EventEmitter<void>;
|
|
17
|
-
constructor(localization: LocalizationService);
|
|
18
|
-
messageFor(key: string): string;
|
|
19
|
-
onValueChange(value: string): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterTextEditorComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterTextEditorComponent, "kendo-filter-text-editor", never, { "currentItem": { "alias": "currentItem"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
22
|
-
}
|
package/error-messages.d.ts
DELETED
|
@@ -1,8 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const FilterErrorMessages: any;
|
|
@@ -1,29 +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 { EventEmitter, TemplateRef } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { FilterDescriptor } from '@progress/kendo-data-query';
|
|
8
|
-
import { FilterEditor, FilterOperator } from './model/filter-expression';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class FilterExpressionOperatorsComponent {
|
|
14
|
-
private localization;
|
|
15
|
-
currentItem: FilterDescriptor;
|
|
16
|
-
editorType: FilterEditor;
|
|
17
|
-
valueChange: EventEmitter<FilterOperator>;
|
|
18
|
-
operators: {
|
|
19
|
-
text: string;
|
|
20
|
-
value: string;
|
|
21
|
-
}[];
|
|
22
|
-
operatorTemplate: TemplateRef<any>;
|
|
23
|
-
constructor(localization: LocalizationService);
|
|
24
|
-
messageFor(key: string): string;
|
|
25
|
-
getOperator(operatorValue: FilterOperator): string;
|
|
26
|
-
operatorValueChange(value: FilterOperator): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterExpressionOperatorsComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterExpressionOperatorsComponent, "kendo-filter-expression-operators", never, { "currentItem": { "alias": "currentItem"; "required": false; }; "editorType": { "alias": "editorType"; "required": false; }; "operators": { "alias": "operators"; "required": false; }; "operatorTemplate": { "alias": "operatorTemplate"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
29
|
-
}
|
|
@@ -1,60 +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 { DoCheck, ElementRef, OnInit, Renderer2, TemplateRef } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { CompositeFilterDescriptor, FilterDescriptor } from '@progress/kendo-data-query';
|
|
8
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
-
import { BaseFilterRowComponent } from './base-filter-row.component';
|
|
10
|
-
import { FilterService } from './filter.service';
|
|
11
|
-
import { DateFormat, FilterEditor, FilterExpression, FilterOperator, NumberFormat } from './model/filter-expression';
|
|
12
|
-
import { NavigationService } from './navigation.service';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare class FilterExpressionComponent extends BaseFilterRowComponent implements OnInit, DoCheck {
|
|
18
|
-
private filterService;
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
xIcon: SVGIcon;
|
|
23
|
-
static ngAcceptInputType_currentItem: FilterDescriptor | CompositeFilterDescriptor;
|
|
24
|
-
currentItem: FilterDescriptor;
|
|
25
|
-
operators: any[];
|
|
26
|
-
isBoolean: boolean;
|
|
27
|
-
editorType: FilterEditor;
|
|
28
|
-
isEditorDisabled: boolean;
|
|
29
|
-
editorTemplate: TemplateRef<any>;
|
|
30
|
-
operatorTemplate: TemplateRef<any>;
|
|
31
|
-
editorFormat: string | DateFormat | NumberFormat;
|
|
32
|
-
get availableFilters(): FilterExpression[];
|
|
33
|
-
private _previousField;
|
|
34
|
-
get fieldTemplate(): TemplateRef<any>;
|
|
35
|
-
private get currentFilterExpression();
|
|
36
|
-
get numericEditorFormat(): string | NumberFormat;
|
|
37
|
-
get dateEditorFormat(): string | DateFormat;
|
|
38
|
-
private isNumberFormat;
|
|
39
|
-
private isDateFormat;
|
|
40
|
-
constructor(filterService: FilterService, element: ElementRef, navigationService: NavigationService, localization: LocalizationService, renderer: Renderer2);
|
|
41
|
-
ngDoCheck(): void;
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
normalizeOperators(filterEditor: FilterEditor, operators: FilterOperator[]): {
|
|
44
|
-
text: string;
|
|
45
|
-
value: string;
|
|
46
|
-
}[];
|
|
47
|
-
getFilterExpressionByField(name: string): FilterExpression | null;
|
|
48
|
-
filterValueChange(value: string): void;
|
|
49
|
-
protected getDefaultOperators(operatorsType: FilterEditor): {
|
|
50
|
-
text: string;
|
|
51
|
-
value: string;
|
|
52
|
-
}[];
|
|
53
|
-
getEditorType(): FilterEditor;
|
|
54
|
-
removeFilterExpression(): void;
|
|
55
|
-
private setOperators;
|
|
56
|
-
onOperatorChange(value: string): void;
|
|
57
|
-
setTemplates(): void;
|
|
58
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterExpressionComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterExpressionComponent, "kendo-filter-expression", never, { "currentItem": { "alias": "currentItem"; "required": false; }; }, {}, never, never, true, never>;
|
|
60
|
-
}
|
|
@@ -1,83 +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 { DateFormat, FilterEditor, FilterOperator, NumberFormat } from './model/filter-expression';
|
|
6
|
-
import { FilterValueEditorTemplateDirective } from './templates/value-editor-template.directive';
|
|
7
|
-
import { FilterOperatorTemplateDirective } from './templates/operator-template.directive';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Represents the [Kendo UI Filter Field component for Angular](https://www.telerik.com/kendo-angular-ui/components/filter/api/filterfieldcomponent).
|
|
11
|
-
* Used to declare filter expressions for the Filter component.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-filter>
|
|
16
|
-
* <kendo-filter-field field="country" editor="string" [operators]="['neq', 'eq', 'contains']"></kendo-filter-field>
|
|
17
|
-
* <kendo-filter-field field="budget" editor="number"></kendo-filter-field>
|
|
18
|
-
* <kendo-filter-field field="discontinued" title="Discontinued" editor="boolean"></kendo-filter-field>
|
|
19
|
-
* <kendo-filter-field field="ordered on" title="Ordered on" editor="date"></kendo-filter-field>
|
|
20
|
-
* <kendo-filter>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare class FilterFieldComponent {
|
|
24
|
-
/**
|
|
25
|
-
* Specifies the `field` that will be used by the user-defined filter.
|
|
26
|
-
*/
|
|
27
|
-
field: string;
|
|
28
|
-
/**
|
|
29
|
-
* Specifies the `title` text that will be displayed by the user-defined filter.
|
|
30
|
-
* If the `title` isn't set, the value passed to `field` is used.
|
|
31
|
-
*/
|
|
32
|
-
set title(_title: string);
|
|
33
|
-
get title(): string;
|
|
34
|
-
private _title;
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the user-defined filter `editor` type that will be used.
|
|
37
|
-
* The available options are 'string', 'number', 'boolean', and 'date'.
|
|
38
|
-
*/
|
|
39
|
-
editor: FilterEditor;
|
|
40
|
-
/**
|
|
41
|
-
* Specifies the operators that will be available in the order of providing them.
|
|
42
|
-
* If no operators are provided, default operators are used for each filter type.
|
|
43
|
-
*
|
|
44
|
-
* The default string operators are:
|
|
45
|
-
* * `eq`— Is equal to
|
|
46
|
-
* * `neq`— Is not equal to
|
|
47
|
-
* * `isnull`— Is null
|
|
48
|
-
* * `isnotnull`— Is not null
|
|
49
|
-
* * `contains`— Contains
|
|
50
|
-
* * `doesnotcontain`— Does not contain
|
|
51
|
-
* * `startswith`— Starts with
|
|
52
|
-
* * `endswith`— Ends with
|
|
53
|
-
* * `isempty`— Is empty
|
|
54
|
-
* * `isnotempty`— Is not empty
|
|
55
|
-
*
|
|
56
|
-
* The default number and date operators are:
|
|
57
|
-
* * `eq`— Is equals to
|
|
58
|
-
* * `neq`— Is not equal to
|
|
59
|
-
* * `isnull`— Is null
|
|
60
|
-
* * `isnotnull`— Is not null
|
|
61
|
-
* * `gt`— Greater than
|
|
62
|
-
* * `gte`— Greater than or equal to
|
|
63
|
-
* * `lt`— Less than
|
|
64
|
-
* * `lte`— Less than or equal to
|
|
65
|
-
*
|
|
66
|
-
* The boolean operator is always set to `eq`
|
|
67
|
-
*/
|
|
68
|
-
operators: FilterOperator[];
|
|
69
|
-
/**
|
|
70
|
-
* Specifies the user-defined filter `editor` format that will be used. ([see example](https://www.telerik.com/kendo-angular-ui/components/filter/filter-editors-format))
|
|
71
|
-
*/
|
|
72
|
-
editorFormat?: string | NumberFormat | DateFormat;
|
|
73
|
-
/**
|
|
74
|
-
* @hidden
|
|
75
|
-
*/
|
|
76
|
-
editorTemplate: FilterValueEditorTemplateDirective;
|
|
77
|
-
/**
|
|
78
|
-
* @hidden
|
|
79
|
-
*/
|
|
80
|
-
operatorTemplate: FilterOperatorTemplateDirective;
|
|
81
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterFieldComponent, never>;
|
|
82
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterFieldComponent, "kendo-filter-field", never, { "field": { "alias": "field"; "required": false; }; "title": { "alias": "title"; "required": false; }; "editor": { "alias": "editor"; "required": false; }; "operators": { "alias": "operators"; "required": false; }; "editorFormat": { "alias": "editorFormat"; "required": false; }; }, {}, ["editorTemplate", "operatorTemplate"], never, true, never>;
|
|
83
|
-
}
|
|
@@ -1,56 +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, ElementRef, Renderer2 } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { CompositeFilterDescriptor, FilterDescriptor } from '@progress/kendo-data-query';
|
|
8
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
-
import { BaseFilterRowComponent } from './base-filter-row.component';
|
|
10
|
-
import { FilterService } from './filter.service';
|
|
11
|
-
import { NavigationService } from './navigation.service';
|
|
12
|
-
import { FilterItem } from './util';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare class FilterGroupComponent extends BaseFilterRowComponent {
|
|
18
|
-
private filterService;
|
|
19
|
-
private cdr;
|
|
20
|
-
static ngAcceptInputType_currentItem: FilterDescriptor | CompositeFilterDescriptor;
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
xIcon: SVGIcon;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
filterAddGroupIcon: SVGIcon;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
filterAddExpressionIcon: SVGIcon;
|
|
33
|
-
private _filterItems;
|
|
34
|
-
get filterItems(): FilterItem[];
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*/
|
|
38
|
-
handleExpressionValueChange(isRemoveOperation: any): void;
|
|
39
|
-
currentItem: CompositeFilterDescriptor;
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
|
-
trackByFunction: (index: any) => any;
|
|
44
|
-
operators: {
|
|
45
|
-
value: 'and' | 'or';
|
|
46
|
-
}[];
|
|
47
|
-
constructor(filterService: FilterService, cdr: ChangeDetectorRef, element: ElementRef, navigationService: NavigationService, localization: LocalizationService, renderer: Renderer2);
|
|
48
|
-
getOperator(operatorValue: 'and' | 'or'): string;
|
|
49
|
-
selectedChange(logicOperator: 'or' | 'and'): void;
|
|
50
|
-
addFilterExpression(): void;
|
|
51
|
-
addFilterGroup(): void;
|
|
52
|
-
removeFilterGroup(): void;
|
|
53
|
-
onMouseDown(event: any): void;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterGroupComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterGroupComponent, "kendo-filter-group", never, { "currentItem": { "alias": "currentItem"; "required": false; }; }, {}, never, never, true, never>;
|
|
56
|
-
}
|
package/filter.component.d.ts
DELETED
|
@@ -1,126 +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 { AfterContentInit, ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { FilterService } from './filter.service';
|
|
8
|
-
import { CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
9
|
-
import { FilterExpression } from './model/filter-expression';
|
|
10
|
-
import { Direction } from './util';
|
|
11
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
12
|
-
import { OnDestroy } from '@angular/core';
|
|
13
|
-
import { FilterItem } from './util';
|
|
14
|
-
import { NavigationService } from './navigation.service';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
/**
|
|
17
|
-
* Represents the [Kendo UI Filter component for Angular](https://www.telerik.com/kendo-angular-ui/components/filter).
|
|
18
|
-
* The Filter component enables users to define and apply complex filter criteria.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```ts
|
|
22
|
-
* @Component({
|
|
23
|
-
* selector: 'my-app',
|
|
24
|
-
* template: `
|
|
25
|
-
* <kendo-filter [filters]="filters" (valueChange)="onValueChange($event)"></kendo-filter>
|
|
26
|
-
* `
|
|
27
|
-
* })
|
|
28
|
-
* export class AppComponent {
|
|
29
|
-
* public filters: FilterExpression[] = [
|
|
30
|
-
* {
|
|
31
|
-
* name: 'country',
|
|
32
|
-
* label: 'Country',
|
|
33
|
-
* filter: 'string',
|
|
34
|
-
* operators: ['eq', 'neq'],
|
|
35
|
-
* },
|
|
36
|
-
* {
|
|
37
|
-
* name: 'budget',
|
|
38
|
-
* filter: 'number'
|
|
39
|
-
* }
|
|
40
|
-
* ];
|
|
41
|
-
*
|
|
42
|
-
* onValueChange(e: CompositeFilterDescriptor) {
|
|
43
|
-
* console.log(e);
|
|
44
|
-
* }
|
|
45
|
-
* }
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @remarks
|
|
49
|
-
* Supported children components are: {@link CustomMessagesComponent}, {@link FilterFieldComponent}.
|
|
50
|
-
*/
|
|
51
|
-
export declare class FilterComponent implements OnInit, AfterContentInit, OnDestroy {
|
|
52
|
-
private filterService;
|
|
53
|
-
private localization;
|
|
54
|
-
private cdr;
|
|
55
|
-
private element;
|
|
56
|
-
private navigationService;
|
|
57
|
-
private renderer;
|
|
58
|
-
/**
|
|
59
|
-
* @hidden
|
|
60
|
-
*/
|
|
61
|
-
focusout(): void;
|
|
62
|
-
/**
|
|
63
|
-
* @hidden
|
|
64
|
-
*/
|
|
65
|
-
focusin(): void;
|
|
66
|
-
/**
|
|
67
|
-
* @hidden
|
|
68
|
-
*/
|
|
69
|
-
onKeydown(event: KeyboardEvent): void;
|
|
70
|
-
direction: Direction;
|
|
71
|
-
/**
|
|
72
|
-
* Specifies the available user-defined filters. At least one filter should be provided.
|
|
73
|
-
*/
|
|
74
|
-
set filters(_filters: FilterExpression[]);
|
|
75
|
-
get filters(): FilterExpression[];
|
|
76
|
-
/**
|
|
77
|
-
* Sets the initial `value` of the Filter component.
|
|
78
|
-
*/
|
|
79
|
-
set value(value: CompositeFilterDescriptor);
|
|
80
|
-
get value(): CompositeFilterDescriptor;
|
|
81
|
-
/**
|
|
82
|
-
* Fires every time the Filter component value is updated.
|
|
83
|
-
* That is each time a Filter Group or Filter Expression is added, removed, or updated.
|
|
84
|
-
*/
|
|
85
|
-
valueChange: EventEmitter<CompositeFilterDescriptor>;
|
|
86
|
-
private localizationSubscription;
|
|
87
|
-
private filterFieldsSubscription;
|
|
88
|
-
private _value;
|
|
89
|
-
private filterFields;
|
|
90
|
-
private fieldTemplate;
|
|
91
|
-
private _filterItems;
|
|
92
|
-
get filterItems(): FilterItem[];
|
|
93
|
-
get toolbarElement(): HTMLElement;
|
|
94
|
-
constructor(filterService: FilterService, localization: LocalizationService, cdr: ChangeDetectorRef, element: ElementRef, navigationService: NavigationService, renderer: Renderer2);
|
|
95
|
-
ngOnInit(): void;
|
|
96
|
-
ngAfterContentInit(): void;
|
|
97
|
-
ngAfterViewInit(): void;
|
|
98
|
-
ngOnDestroy(): void;
|
|
99
|
-
private filterFieldsChanged;
|
|
100
|
-
private _currentFilter;
|
|
101
|
-
/**
|
|
102
|
-
* @hidden
|
|
103
|
-
*/
|
|
104
|
-
get currentFilter(): CompositeFilterDescriptor;
|
|
105
|
-
/**
|
|
106
|
-
* @hidden
|
|
107
|
-
*/
|
|
108
|
-
set currentFilter(value: CompositeFilterDescriptor);
|
|
109
|
-
/**
|
|
110
|
-
* @hidden
|
|
111
|
-
*/
|
|
112
|
-
onValueChange(isRemoveOperation?: any): void;
|
|
113
|
-
private normalizeFilter;
|
|
114
|
-
private setValue;
|
|
115
|
-
private normalizeValue;
|
|
116
|
-
/**
|
|
117
|
-
* @hidden
|
|
118
|
-
*/
|
|
119
|
-
messageFor(key: string): string;
|
|
120
|
-
/**
|
|
121
|
-
* @hidden
|
|
122
|
-
*/
|
|
123
|
-
private filtersTypeChanged;
|
|
124
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
|
|
125
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "kendo-filter", never, { "filters": { "alias": "filters"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, ["fieldTemplate", "filterFields"], never, true, never>;
|
|
126
|
-
}
|