@progress/kendo-angular-dropdowns 24.2.2 → 25.0.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/fesm2022/progress-kendo-angular-dropdowns.mjs +170 -170
- package/index.d.ts +5796 -65
- package/package-metadata.mjs +2 -2
- package/package.json +15 -15
- package/schematics/ngAdd/index.js +2 -2
- package/autocomplete/autocomplete.component.d.ts +0 -524
- package/autocomplete/autocomplete.module.d.ts +0 -45
- package/comboboxes/combobox-column/column-cell-template.directive.d.ts +0 -33
- package/comboboxes/combobox-column/column-header-template.directive.d.ts +0 -31
- package/comboboxes/combobox-column/combobox-column.component.d.ts +0 -91
- package/comboboxes/combobox-column/util.d.ts +0 -15
- package/comboboxes/combobox.component.d.ts +0 -632
- package/comboboxes/combobox.module.d.ts +0 -52
- package/comboboxes/multicolumncombobox.component.d.ts +0 -116
- package/common/adaptive-renderer.component.d.ts +0 -44
- package/common/constants/error-messages.d.ts +0 -61
- package/common/data.service.d.ts +0 -90
- package/common/disabled-items/disabled-items.service.d.ts +0 -20
- package/common/disabled-items/item-disabled.d.ts +0 -21
- package/common/filter-input.directive.d.ts +0 -19
- package/common/filtering/filter-settings.d.ts +0 -55
- package/common/filtering/filter.directive.d.ts +0 -65
- package/common/filtering/filterable-component.d.ts +0 -35
- package/common/list-item.directive.d.ts +0 -15
- package/common/list.component.d.ts +0 -145
- package/common/localization/custom-messages.component.d.ts +0 -70
- package/common/localization/localized-messages.directive.d.ts +0 -16
- package/common/localization/messages.d.ts +0 -55
- package/common/models/checkboxes-settings.d.ts +0 -27
- package/common/models/direction.d.ts +0 -8
- package/common/models/fillmode.d.ts +0 -8
- package/common/models/list-type.d.ts +0 -8
- package/common/models/page-change-event.d.ts +0 -18
- package/common/models/popup-settings.d.ts +0 -46
- package/common/models/preventable-event.d.ts +0 -21
- package/common/models/remove-tag-event.d.ts +0 -20
- package/common/models/rounded.d.ts +0 -8
- package/common/models/size.d.ts +0 -8
- package/common/models/virtualization-settings.d.ts +0 -49
- package/common/navigation/navigation-action.d.ts +0 -30
- package/common/navigation/navigation.service.d.ts +0 -55
- package/common/searchbar.component.d.ts +0 -95
- package/common/selection/selectable.directive.d.ts +0 -24
- package/common/selection/selection.service.d.ts +0 -54
- package/common/shared-events.directive.d.ts +0 -27
- package/common/taglist.component.d.ts +0 -57
- package/common/templates/custom-item-template.directive.d.ts +0 -39
- package/common/templates/fixed-group-template.directive.d.ts +0 -46
- package/common/templates/footer-template.directive.d.ts +0 -40
- package/common/templates/group-tag-template.directive.d.ts +0 -38
- package/common/templates/group-template.directive.d.ts +0 -46
- package/common/templates/header-template.directive.d.ts +0 -40
- package/common/templates/item-template.directive.d.ts +0 -39
- package/common/templates/no-data-template.directive.d.ts +0 -40
- package/common/templates/tag-template.directive.d.ts +0 -37
- package/common/templates/value-template.directive.d.ts +0 -41
- package/common/util.d.ts +0 -204
- package/directives.d.ts +0 -67
- package/dropdownlist/dropdownlist.component.d.ts +0 -564
- package/dropdownlist/dropdownlist.module.d.ts +0 -54
- package/dropdowns.module.d.ts +0 -60
- package/dropdowntrees/checked-state/base-check.directive.d.ts +0 -46
- package/dropdowntrees/checked-state/check-all.directive.d.ts +0 -53
- package/dropdowntrees/checked-state/check.directive.d.ts +0 -53
- package/dropdowntrees/checked-state/checkable-settings.d.ts +0 -19
- package/dropdowntrees/checked-state/checked-item.d.ts +0 -28
- package/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.d.ts +0 -38
- package/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +0 -34
- package/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.d.ts +0 -38
- package/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +0 -34
- package/dropdowntrees/dropdowntree.component.d.ts +0 -622
- package/dropdowntrees/dropdowntrees.module.d.ts +0 -45
- package/dropdowntrees/expanded-state/expand.directive.d.ts +0 -33
- package/dropdowntrees/lookup/lookup.d.ts +0 -51
- package/dropdowntrees/lookup/lookup.service.d.ts +0 -32
- package/dropdowntrees/multiselecttree.component.d.ts +0 -709
- package/dropdowntrees/summary-tag/summary-tag.directive.d.ts +0 -39
- package/dropdowntrees/templates/node-template.directive.d.ts +0 -22
- package/multiselect/multiselect.component.d.ts +0 -647
- package/multiselect/multiselect.module.d.ts +0 -54
- package/multiselect/summary-tag.directive.d.ts +0 -36
- package/package-metadata.d.ts +0 -9
|
@@ -1,116 +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 { AfterViewInit, ChangeDetectorRef, ElementRef, Injector, NgZone, OnDestroy, QueryList, Renderer2 } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
8
|
-
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
9
|
-
import { ComboBoxComponent } from './combobox.component';
|
|
10
|
-
import { ComboBoxColumnComponent } from './combobox-column/combobox-column.component';
|
|
11
|
-
import { DataService } from '../common/data.service';
|
|
12
|
-
import { DisabledItemsService } from '../common/disabled-items/disabled-items.service';
|
|
13
|
-
import { NavigationService } from '../common/navigation/navigation.service';
|
|
14
|
-
import { SelectionService } from '../common/selection/selection.service';
|
|
15
|
-
import { FilterableComponent } from '../common/filtering/filterable-component';
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
/**
|
|
18
|
-
* Represents the Kendo UI MultiColumnComboBox component for Angular.
|
|
19
|
-
*
|
|
20
|
-
* Use the `MultiColumnComboBoxComponent` to show a dropdown list with multiple columns.
|
|
21
|
-
* [See example](https://www.telerik.com/kendo-angular-ui/components/dropdowns/multicolumncombobox).
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* ```html
|
|
25
|
-
* <kendo-multicolumncombobox [data]="data" [columns]="columns"></kendo-multicolumncombobox>
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @remarks
|
|
29
|
-
* Supported children components are: {@link ComboBoxColumnComponent}, {@link CustomMessagesComponent}.
|
|
30
|
-
*/
|
|
31
|
-
export declare class MultiColumnComboBoxComponent extends ComboBoxComponent implements AfterViewInit, OnDestroy, FilterableComponent {
|
|
32
|
-
hostElement: ElementRef;
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
animationDuration: number;
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
hostClasses: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* @hidden
|
|
43
|
-
*/
|
|
44
|
-
get isDisabled(): boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Contains a query list of all declared `ComboBoxColumnComponent` columns.
|
|
47
|
-
* Use this property to access and configure the columns displayed in the dropdown.
|
|
48
|
-
*/
|
|
49
|
-
columns: QueryList<ComboBoxColumnComponent>;
|
|
50
|
-
/**
|
|
51
|
-
* @hidden
|
|
52
|
-
*/
|
|
53
|
-
set header(header: ElementRef<HTMLElement>);
|
|
54
|
-
/**
|
|
55
|
-
* @hidden
|
|
56
|
-
*/
|
|
57
|
-
set headerTable(headerTable: ElementRef<HTMLElement>);
|
|
58
|
-
get headerTable(): ElementRef<HTMLElement>;
|
|
59
|
-
/**
|
|
60
|
-
* @hidden
|
|
61
|
-
*/
|
|
62
|
-
set headerColumns(columns: QueryList<ElementRef>);
|
|
63
|
-
/**
|
|
64
|
-
* @hidden
|
|
65
|
-
*/
|
|
66
|
-
rowWidth: number;
|
|
67
|
-
/**
|
|
68
|
-
* @hidden
|
|
69
|
-
*/
|
|
70
|
-
headerColumnWidths: number[];
|
|
71
|
-
/**
|
|
72
|
-
* @hidden
|
|
73
|
-
*/
|
|
74
|
-
totalColumnsWidth: number;
|
|
75
|
-
protected get popupWidth(): {
|
|
76
|
-
min: string;
|
|
77
|
-
max: string;
|
|
78
|
-
};
|
|
79
|
-
private _headerTable;
|
|
80
|
-
private removeWindowResizeListener;
|
|
81
|
-
private columnsChangeSubscription;
|
|
82
|
-
/**
|
|
83
|
-
* @hidden
|
|
84
|
-
*/
|
|
85
|
-
get tableSizeClass(): any;
|
|
86
|
-
/**
|
|
87
|
-
* @hidden
|
|
88
|
-
*/
|
|
89
|
-
protected get listContainerClasses(): string[];
|
|
90
|
-
constructor(localization: LocalizationService, popupService: PopupService, selectionService: SelectionService, navigationService: NavigationService, disabledItemsService: DisabledItemsService, dataService: DataService, zone: NgZone, changeDetector: ChangeDetectorRef, renderer: Renderer2, wrapper: ElementRef<HTMLElement>, injector: Injector, hostElement: ElementRef, adaptiveService: AdaptiveService);
|
|
91
|
-
ngAfterViewInit(): void;
|
|
92
|
-
ngOnDestroy(): void;
|
|
93
|
-
/**
|
|
94
|
-
* @hidden
|
|
95
|
-
*/
|
|
96
|
-
textFrom(dataItem: any, field: string): string;
|
|
97
|
-
/**
|
|
98
|
-
* @hidden
|
|
99
|
-
*
|
|
100
|
-
* Adds or removes a padding value at the end of the header container equal to the size of the scrollbar.
|
|
101
|
-
* As when the items container has a scrollbar, the column headers and the cells are misaligned.
|
|
102
|
-
* When the container has a scrollbar, the padding style is added, and when there is none - it is removed.
|
|
103
|
-
*/
|
|
104
|
-
updateHeaderPadding(header: HTMLElement): void;
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @hidden
|
|
108
|
-
*/
|
|
109
|
-
getColumnWidth(index: any): number;
|
|
110
|
-
protected verifySettings(): void;
|
|
111
|
-
private addWindowResizeListener;
|
|
112
|
-
private updateColumnsMediaState;
|
|
113
|
-
private calculateRowWidth;
|
|
114
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MultiColumnComboBoxComponent, never>;
|
|
115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiColumnComboBoxComponent, "kendo-multicolumncombobox", never, {}, {}, ["columns"], never, true, never>;
|
|
116
|
-
}
|
|
@@ -1,44 +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 { SVGIcon } from '@progress/kendo-angular-icons';
|
|
8
|
-
import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
|
|
9
|
-
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
10
|
-
import { AdaptiveService, AdaptiveSize } from '@progress/kendo-angular-utils';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export declare class AdaptiveRendererComponent {
|
|
16
|
-
localization: LocalizationService;
|
|
17
|
-
adaptiveService: AdaptiveService;
|
|
18
|
-
title: string;
|
|
19
|
-
subtitle: string;
|
|
20
|
-
showTextInput: boolean;
|
|
21
|
-
sharedPopupActionSheetTemplate: TemplateRef<any>;
|
|
22
|
-
text: string;
|
|
23
|
-
placeholder: string;
|
|
24
|
-
searchBarValue: string;
|
|
25
|
-
filterable: boolean;
|
|
26
|
-
closePopup: EventEmitter<any>;
|
|
27
|
-
textInputChange: EventEmitter<any>;
|
|
28
|
-
navigate: EventEmitter<any>;
|
|
29
|
-
onExpand: EventEmitter<any>;
|
|
30
|
-
actionSheet: ActionSheetComponent;
|
|
31
|
-
actionSheetSearchBar: TextBoxComponent;
|
|
32
|
-
constructor(localization: LocalizationService, adaptiveService: AdaptiveService);
|
|
33
|
-
animationDuration: number;
|
|
34
|
-
checkIcon: SVGIcon;
|
|
35
|
-
private expanded;
|
|
36
|
-
messageFor(key: string): string;
|
|
37
|
-
onValueChange(value: string): void;
|
|
38
|
-
onOverlayClick(): void;
|
|
39
|
-
handleExpand(): void;
|
|
40
|
-
handleClose(): void;
|
|
41
|
-
get windowSize(): AdaptiveSize;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AdaptiveRendererComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AdaptiveRendererComponent, "kendo-adaptive-renderer", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "showTextInput": { "alias": "showTextInput"; "required": false; }; "sharedPopupActionSheetTemplate": { "alias": "sharedPopupActionSheetTemplate"; "required": false; }; "text": { "alias": "text"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "searchBarValue": { "alias": "searchBarValue"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; }, { "closePopup": "closePopup"; "textInputChange": "textInputChange"; "navigate": "navigate"; "onExpand": "onExpand"; }, never, never, true, never>;
|
|
44
|
-
}
|
|
@@ -1,61 +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 MultiselectMessages: {
|
|
9
|
-
array: string;
|
|
10
|
-
object: string;
|
|
11
|
-
primitive: string;
|
|
12
|
-
textAndValue: string;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export declare const MultiSelectTreeMessages: {
|
|
18
|
-
array: string;
|
|
19
|
-
primitive: string;
|
|
20
|
-
object: string;
|
|
21
|
-
dataItems: string;
|
|
22
|
-
dataItemsLength: string;
|
|
23
|
-
textAndValue: string;
|
|
24
|
-
valueDepth: string;
|
|
25
|
-
valueDepthLength: string;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
export declare const ComboBoxMessages: {
|
|
31
|
-
object: string;
|
|
32
|
-
primitive: string;
|
|
33
|
-
textAndValue: string;
|
|
34
|
-
noItemHeight: string;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* @hidden
|
|
38
|
-
*/
|
|
39
|
-
export declare const MultiColumnComboBoxMessages: {
|
|
40
|
-
data: string;
|
|
41
|
-
textAndValue: string;
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* @hidden
|
|
45
|
-
*/
|
|
46
|
-
export declare const DropDownListMessages: {
|
|
47
|
-
defaultItem: string;
|
|
48
|
-
object: string;
|
|
49
|
-
primitive: string;
|
|
50
|
-
textAndValue: string;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* @hidden
|
|
54
|
-
*/
|
|
55
|
-
export declare const DropDownTreeMessages: {
|
|
56
|
-
primitive: string;
|
|
57
|
-
object: string;
|
|
58
|
-
dataItem: string;
|
|
59
|
-
textAndValue: string;
|
|
60
|
-
valueDepth: string;
|
|
61
|
-
};
|
package/common/data.service.d.ts
DELETED
|
@@ -1,90 +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
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare class DataService {
|
|
10
|
-
grouped: boolean;
|
|
11
|
-
groupIndices: number[];
|
|
12
|
-
view: any[];
|
|
13
|
-
private _data;
|
|
14
|
-
private _flatData;
|
|
15
|
-
set data(data: any[]);
|
|
16
|
-
get data(): any[];
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
* Used to get the actual items count, i.e. excluding the header items in case of grouping.
|
|
20
|
-
*/
|
|
21
|
-
get itemsCount(): number;
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
* Used to determine if the component received grouped data.
|
|
25
|
-
*/
|
|
26
|
-
isGrouped(data: any[]): boolean;
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
* Used to calculate the last item index of each group.
|
|
30
|
-
*/
|
|
31
|
-
getGroupIndices(data: any[]): number[];
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
* Used to get a flat array containing all items matching certain criteria.
|
|
35
|
-
*/
|
|
36
|
-
filter(predicate: (value: any, index: number, array: any[]) => boolean): any[];
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
* Used to get the index of a given data item.
|
|
40
|
-
*/
|
|
41
|
-
indexOf(item: any, startFrom?: number): number;
|
|
42
|
-
/**
|
|
43
|
-
* @hidden
|
|
44
|
-
* Used to get the index of a data item based on an expression.
|
|
45
|
-
*/
|
|
46
|
-
findIndex(predicate: any, startFrom?: number): number;
|
|
47
|
-
/**
|
|
48
|
-
* @hidden
|
|
49
|
-
* Used to get the closest group header prior to an item index.
|
|
50
|
-
*/
|
|
51
|
-
closestGroup(index: number): any;
|
|
52
|
-
/**
|
|
53
|
-
* @hidden
|
|
54
|
-
* Used to get the first item matching the criteria.
|
|
55
|
-
*/
|
|
56
|
-
find(predicate: any): number;
|
|
57
|
-
/**
|
|
58
|
-
* @hidden
|
|
59
|
-
* Used to get the true index in a flattened data array.
|
|
60
|
-
*/
|
|
61
|
-
flatIndex(index: number): any;
|
|
62
|
-
/**
|
|
63
|
-
* @hidden
|
|
64
|
-
* Used to get the item at the provided index.
|
|
65
|
-
*/
|
|
66
|
-
itemAt(index: number): any;
|
|
67
|
-
/**
|
|
68
|
-
* @hidden
|
|
69
|
-
* Used to get the group at the provided index.
|
|
70
|
-
*/
|
|
71
|
-
groupAt(index: number): any;
|
|
72
|
-
/**
|
|
73
|
-
* @hidden
|
|
74
|
-
* Used to get all group items indices.
|
|
75
|
-
*/
|
|
76
|
-
groupItemsIndices(): number[];
|
|
77
|
-
/**
|
|
78
|
-
* @hidden
|
|
79
|
-
* Used to get the field by which the data is grouped.
|
|
80
|
-
*/
|
|
81
|
-
groupField(): string;
|
|
82
|
-
/**
|
|
83
|
-
* @hidden
|
|
84
|
-
* Used to get the group to which a dataItem belongs.
|
|
85
|
-
*/
|
|
86
|
-
itemGroup(item: any): any;
|
|
87
|
-
private flatten;
|
|
88
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DataService, never>;
|
|
89
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DataService>;
|
|
90
|
-
}
|
|
@@ -1,20 +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 { ItemDisabledFn } from './item-disabled';
|
|
6
|
-
import { DataService } from '../data.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class DisabledItemsService {
|
|
12
|
-
private dataService;
|
|
13
|
-
defaultItem: any;
|
|
14
|
-
itemDisabled: ItemDisabledFn;
|
|
15
|
-
constructor(dataService: DataService);
|
|
16
|
-
isIndexDisabled(index: number): boolean;
|
|
17
|
-
isItemDisabled(item: any): boolean;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DisabledItemsService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DisabledItemsService>;
|
|
20
|
-
}
|
|
@@ -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
|
-
/**
|
|
6
|
-
* Represents the callback arguments that are used by the `itemDisabled` property.
|
|
7
|
-
*/
|
|
8
|
-
export interface ItemArgs {
|
|
9
|
-
/**
|
|
10
|
-
* The current data item.
|
|
11
|
-
*/
|
|
12
|
-
dataItem: any;
|
|
13
|
-
/**
|
|
14
|
-
* The current item index.
|
|
15
|
-
*/
|
|
16
|
-
index: number;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Represents the callback that is used by the `itemDisabled` property.
|
|
20
|
-
*/
|
|
21
|
-
export type ItemDisabledFn = (context: ItemArgs) => boolean;
|
|
@@ -1,19 +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, NgZone, OnChanges } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class FilterInputDirective implements OnChanges {
|
|
11
|
-
private element;
|
|
12
|
-
private zone;
|
|
13
|
-
focused: boolean;
|
|
14
|
-
constructor(element: ElementRef, zone: NgZone);
|
|
15
|
-
ngOnChanges(): void;
|
|
16
|
-
private nextTick;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterInputDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterInputDirective, "[filterInput]", never, { "focused": { "alias": "filterInput"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,55 +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
|
-
* Configures the `kendoDropDownFilter` directive.
|
|
7
|
-
*
|
|
8
|
-
* For more information, refer to the articles on using the built-in
|
|
9
|
-
* `kendoDropDownFilter` directive with each DropDowns component:
|
|
10
|
-
* * [AutoComplete](https://www.telerik.com/kendo-angular-ui/components/dropdowns/autocomplete/filtering#automatic-filtering)
|
|
11
|
-
* * [ComboBox](https://www.telerik.com/kendo-angular-ui/components/dropdowns/combobox/filtering#automatic-filtering)
|
|
12
|
-
* * [MultiColumnComboBox](https://www.telerik.com/kendo-angular-ui/components/dropdowns/multicolumncombobox/filtering#automatic-filtering)
|
|
13
|
-
* * [DropDownList](https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/filtering#automatic-filtering)
|
|
14
|
-
* * [MultiSelect](https://www.telerik.com/kendo-angular-ui/components/dropdowns/multiselect/filtering#automatic-filtering)
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```ts
|
|
18
|
-
* _@Component({
|
|
19
|
-
* selector: 'my-app',
|
|
20
|
-
* template: `
|
|
21
|
-
* <kendo-autocomplete
|
|
22
|
-
* [data]="data"
|
|
23
|
-
* [kendoDropDownFilter]="filterSettings">
|
|
24
|
-
* </kendo-autocomplete>
|
|
25
|
-
* `
|
|
26
|
-
* })
|
|
27
|
-
* class AppComponent {
|
|
28
|
-
* public data: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];
|
|
29
|
-
* public filterSettings: DropDownFilterSettings = {
|
|
30
|
-
* caseSensitive: false,
|
|
31
|
-
* operator: 'contains'
|
|
32
|
-
* };
|
|
33
|
-
* }
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
export interface DropDownFilterSettings {
|
|
37
|
-
/**
|
|
38
|
-
* Determines whether the performed search will be case-sensitive or case-insensitive.
|
|
39
|
-
* By default, the performed search is case-insensitive.
|
|
40
|
-
*/
|
|
41
|
-
caseSensitive?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Determines the operator for the search.
|
|
44
|
-
*
|
|
45
|
-
* The available options are:
|
|
46
|
-
* * (Default) `startsWith`
|
|
47
|
-
* * `contains`
|
|
48
|
-
*/
|
|
49
|
-
operator?: 'startsWith' | 'contains';
|
|
50
|
-
/**
|
|
51
|
-
* Determines by which object fields should the filtering be performed against (when using object data).
|
|
52
|
-
* By default, the filtering will be performed against the specified component `textField`.
|
|
53
|
-
*/
|
|
54
|
-
fields?: string[];
|
|
55
|
-
}
|
|
@@ -1,65 +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 { OnInit, OnDestroy } from '@angular/core';
|
|
6
|
-
import { FilterableComponent } from './filterable-component';
|
|
7
|
-
import { DropDownFilterSettings } from './filter-settings';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Implements an event handler for the `filterChange` event of a DropDowns component
|
|
11
|
-
* which performs simple data filtering.
|
|
12
|
-
* Currently, the built-in filtering does not work with [grouped data](https://www.telerik.com/kendo-angular-ui/components/data-query/api/groupby).
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```ts
|
|
16
|
-
* @Component({
|
|
17
|
-
* selector: 'my-app',
|
|
18
|
-
* template: `
|
|
19
|
-
* <kendo-autocomplete
|
|
20
|
-
* [data]="data"
|
|
21
|
-
* kendoDropDownFilter
|
|
22
|
-
* placeholder="e.g. Andorra"
|
|
23
|
-
* >
|
|
24
|
-
* </kendo-autocomplete>
|
|
25
|
-
* `
|
|
26
|
-
* })
|
|
27
|
-
* class AppComponent {
|
|
28
|
-
* public data: Array<string> = ["Albania", "Andorra", "Armenia", "Austria", "Azerbaijan"];
|
|
29
|
-
* }
|
|
30
|
-
* ```
|
|
31
|
-
* @remarks
|
|
32
|
-
* Applied to: {@link AutoCompleteComponent}, {@link ComboBoxComponent}, {@link DropDownListComponent}, {@link MultiColumnComboBoxComponent}, {@link MultiSelectComponent}.
|
|
33
|
-
*/
|
|
34
|
-
export declare class FilterDirective implements OnInit, OnDestroy {
|
|
35
|
-
private component;
|
|
36
|
-
/**
|
|
37
|
-
* The initial data that will be used as a source array for the filtering operations.
|
|
38
|
-
*/
|
|
39
|
-
set data(data: any[]);
|
|
40
|
-
get data(): any[];
|
|
41
|
-
/**
|
|
42
|
-
* The configuration object which sets the behavior of the `kendoDropDownFilter` directive.
|
|
43
|
-
* If no [DropDownFilterSettings](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/dropdownfiltersettings) object is provided to this input, the directive will use the default interface settings.
|
|
44
|
-
*/
|
|
45
|
-
rawSettings: DropDownFilterSettings | string;
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*
|
|
49
|
-
* Sets whether the filtering functionality is enabled on component init.
|
|
50
|
-
*/
|
|
51
|
-
filterable: boolean;
|
|
52
|
-
private _data;
|
|
53
|
-
private filterChangeSubscription;
|
|
54
|
-
constructor(component: FilterableComponent);
|
|
55
|
-
ngOnInit(): void;
|
|
56
|
-
ngOnDestroy(): void;
|
|
57
|
-
private handleFilterChange;
|
|
58
|
-
private matchesAnyField;
|
|
59
|
-
private checkItem;
|
|
60
|
-
private normalizeValue;
|
|
61
|
-
private getFilterFields;
|
|
62
|
-
private get filterSettings();
|
|
63
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterDirective, never>;
|
|
64
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterDirective, "[kendoDropDownFilter]", never, { "data": { "alias": "data"; "required": false; }; "rawSettings": { "alias": "kendoDropDownFilter"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; }, {}, never, never, true, never>;
|
|
65
|
-
}
|
|
@@ -1,35 +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
|
-
/**
|
|
7
|
-
* Defines the mandatory properties of the `kendoDropDownFilter` directive
|
|
8
|
-
* so that `kendoDropDownFilter` can be used with any of the DropDowns components
|
|
9
|
-
* which implement the `FilterableDropDownComponentBase` class.
|
|
10
|
-
*
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class FilterableComponent {
|
|
14
|
-
/**
|
|
15
|
-
* Sets the data of the component.
|
|
16
|
-
*/
|
|
17
|
-
data: any[];
|
|
18
|
-
/**
|
|
19
|
-
* Explicitly enables the emitting of the `filterChange` event.
|
|
20
|
-
*/
|
|
21
|
-
filterable: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Hooks to the `filter` event.
|
|
24
|
-
*/
|
|
25
|
-
filterChange: EventEmitter<string>;
|
|
26
|
-
/**
|
|
27
|
-
* Reads the data from the components with complex data.
|
|
28
|
-
*/
|
|
29
|
-
textField?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Reads the data from the components with complex data which use `valueField` instead of
|
|
32
|
-
* `textField`—for example, the AutoComplete.
|
|
33
|
-
*/
|
|
34
|
-
valueField?: string;
|
|
35
|
-
}
|
|
@@ -1,15 +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 } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class ListItemDirective {
|
|
11
|
-
element: ElementRef;
|
|
12
|
-
constructor(element: ElementRef);
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListItemDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ListItemDirective, "\"li[role=option], li[role=group], li[role=presentation]\"", never, {}, {}, never, never, true, never>;
|
|
15
|
-
}
|