@progress/kendo-vue-dropdowns 8.0.3-develop.1 → 8.0.3-develop.3
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/AutoComplete/AutoComplete.d.ts +331 -0
- package/AutoComplete/AutoCompleteProps.d.ts +243 -0
- package/ComboBox/ComboBox.d.ts +371 -0
- package/ComboBox/ComboBoxProps.d.ts +286 -0
- package/DropDownList/DropDownList.d.ts +353 -0
- package/DropDownList/DropDownListProps.d.ts +312 -0
- package/DropDownTree/DropDownTree.d.ts +301 -0
- package/DropDownTree/DropDownTreeProps.d.ts +306 -0
- package/DropDownTree/ListNoData.d.ts +12 -0
- package/MultiSelect/MultiSelect.d.ts +369 -0
- package/MultiSelect/MultiSelect.js +1 -1
- package/MultiSelect/MultiSelect.mjs +2 -2
- package/MultiSelect/MultiSelectProps.d.ts +300 -0
- package/MultiSelect/TagList.d.ts +90 -0
- package/MultiSelectTree/MultiSelectTree.d.ts +272 -0
- package/MultiSelectTree/MultiSelectTreeProps.d.ts +327 -0
- package/MultiSelectTree/utils.d.ts +24 -0
- package/common/ClearButton.d.ts +22 -0
- package/common/DropDownBase.d.ts +106 -0
- package/common/GroupStickyHeader.d.ts +32 -0
- package/common/List.d.ts +111 -0
- package/common/List.mjs +1 -1
- package/common/ListContainer.d.ts +63 -0
- package/common/ListDefaultItem.d.ts +35 -0
- package/common/ListFilter.d.ts +103 -0
- package/common/ListGroupItem.d.ts +70 -0
- package/common/ListItem.d.ts +129 -0
- package/common/ListItemIcon.d.ts +33 -0
- package/common/Navigation.d.ts +19 -0
- package/common/SearchBar.d.ts +120 -0
- package/common/VirtualScroll.d.ts +49 -0
- package/common/constants.d.ts +11 -0
- package/common/events.d.ts +70 -0
- package/common/filterDescriptor.d.ts +48 -0
- package/common/settings.d.ts +118 -0
- package/common/utils.d.ts +77 -0
- package/dist/cdn/js/kendo-vue-dropdowns.js +1 -1
- package/index.d.mts +18 -4024
- package/index.d.ts +18 -4024
- package/messages/main.d.ts +47 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +18 -12
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { PopupAnimation, PopupSettings } from '@progress/kendo-vue-popup';
|
|
9
|
+
import { FilterDescriptor } from './filterDescriptor';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the `skip` and `take` configurations which are wrapped in the `page` object.
|
|
12
|
+
*/
|
|
13
|
+
export interface Page {
|
|
14
|
+
/**
|
|
15
|
+
* The number of records to skip.
|
|
16
|
+
*/
|
|
17
|
+
skip: number;
|
|
18
|
+
/**
|
|
19
|
+
* The number of records to take.
|
|
20
|
+
*/
|
|
21
|
+
take: number;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The virtualization settings.
|
|
25
|
+
*/
|
|
26
|
+
export interface VirtualizationSettings {
|
|
27
|
+
/**
|
|
28
|
+
* The number of the requested records.
|
|
29
|
+
*/
|
|
30
|
+
pageSize: number;
|
|
31
|
+
/**
|
|
32
|
+
* The number of records to skip.
|
|
33
|
+
*/
|
|
34
|
+
skip: number;
|
|
35
|
+
/**
|
|
36
|
+
* The number of all records.
|
|
37
|
+
*/
|
|
38
|
+
total: number;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* The settings of the popup container.
|
|
42
|
+
*/
|
|
43
|
+
export interface DropDownsPopupSettings extends PopupSettings {
|
|
44
|
+
/**
|
|
45
|
+
* Controls the popup animation. By default, the open and close animations are enabled.
|
|
46
|
+
*/
|
|
47
|
+
animate?: boolean | PopupAnimation;
|
|
48
|
+
/**
|
|
49
|
+
* Specifies a list of CSS classes that will be added to the Popup element.
|
|
50
|
+
*/
|
|
51
|
+
className?: string | Array<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Sets the width of the popup container. By default, the width of the host element is used.
|
|
54
|
+
*/
|
|
55
|
+
width?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Sets the height of the popup container. By default, the height is 200px.
|
|
58
|
+
*/
|
|
59
|
+
height?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Sets the styles that will be added to the popup element.
|
|
62
|
+
*/
|
|
63
|
+
popupStyle?: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
export interface EventData {
|
|
69
|
+
type?: string;
|
|
70
|
+
filter?: FilterDescriptor;
|
|
71
|
+
page?: Page;
|
|
72
|
+
suggestion?: Suggestion;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Represents the `Suggestion` object of the AutoComplete.
|
|
76
|
+
*/
|
|
77
|
+
export interface Suggestion {
|
|
78
|
+
/**
|
|
79
|
+
* Represents the typed text of the user.
|
|
80
|
+
*/
|
|
81
|
+
readonly userInput: string;
|
|
82
|
+
/**
|
|
83
|
+
* Represents the suggested text without the user input.
|
|
84
|
+
*/
|
|
85
|
+
readonly value: string;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @hidden
|
|
89
|
+
*/
|
|
90
|
+
export interface InternalState {
|
|
91
|
+
data: DropDownStateBase;
|
|
92
|
+
events: Array<EventData>;
|
|
93
|
+
event: any;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @hidden
|
|
97
|
+
*/
|
|
98
|
+
export interface DropDownStateBase {
|
|
99
|
+
/**
|
|
100
|
+
* Input element text of the Component.
|
|
101
|
+
*/
|
|
102
|
+
text?: string;
|
|
103
|
+
value?: any;
|
|
104
|
+
focused?: boolean;
|
|
105
|
+
opened?: boolean;
|
|
106
|
+
group?: string;
|
|
107
|
+
currentText?: string;
|
|
108
|
+
currentFocused?: boolean;
|
|
109
|
+
currentOpened?: boolean;
|
|
110
|
+
focusedItem?: any;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* @hidden
|
|
114
|
+
*/
|
|
115
|
+
export declare enum ActiveDescendant {
|
|
116
|
+
PopupList = 0,
|
|
117
|
+
TagsList = 1
|
|
118
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { TagData } from '../MultiSelect/TagList';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
declare const isPresent: (value: any) => boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
declare const sameCharsOnly: (word: string, character: string) => boolean;
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
declare const shuffleData: (data: Array<any>, splitIndex: number, defaultItem: any) => any[];
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
declare const matchText: (text: string, word: string, ignoreCase?: boolean) => boolean;
|
|
25
|
+
/**
|
|
26
|
+
* @hidden
|
|
27
|
+
*/
|
|
28
|
+
declare const scrollToItem: (scrollElem: HTMLDivElement, itemHeight: number, itemIndex: number, translate: number, virtualScroll: boolean) => void;
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
declare const itemIndexStartsWith: (items: any[], text?: string, field?: string) => number;
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
36
|
+
declare const getItemIndexByText: (data: Array<any>, text: string, textField?: string, matchCase?: boolean) => number;
|
|
37
|
+
/**
|
|
38
|
+
* @hidden
|
|
39
|
+
*/
|
|
40
|
+
declare const getItemValue: (item: any, field?: string) => any;
|
|
41
|
+
/**
|
|
42
|
+
* @hidden
|
|
43
|
+
*/
|
|
44
|
+
declare const matchDataCollections: (data1?: Array<any>, data2?: Array<any>, key?: string) => boolean;
|
|
45
|
+
/**
|
|
46
|
+
* @hidden
|
|
47
|
+
*/
|
|
48
|
+
declare const removeDataItems: (items: Array<any>, toRemove: Array<any>, key?: string) => void;
|
|
49
|
+
/**
|
|
50
|
+
* @hidden
|
|
51
|
+
*/
|
|
52
|
+
declare const areSame: (item1: any, item2: any, key?: string) => boolean;
|
|
53
|
+
/**
|
|
54
|
+
* @hidden
|
|
55
|
+
*/
|
|
56
|
+
declare const getFocusedItem: (data: Array<any>, value?: string, textField?: string) => number;
|
|
57
|
+
/**
|
|
58
|
+
* @hidden
|
|
59
|
+
*/
|
|
60
|
+
declare const suggestValue: (value?: string, data?: Array<any>, textField?: string) => string;
|
|
61
|
+
/**
|
|
62
|
+
* @hidden
|
|
63
|
+
*/
|
|
64
|
+
declare const preventDefaultNonInputs: (event: any) => void;
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
declare const matchTags: (tag1: TagData, tag2: TagData, key?: string) => boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @hidden
|
|
71
|
+
*/
|
|
72
|
+
declare const firefox: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* @hidden
|
|
75
|
+
*/
|
|
76
|
+
declare const firefoxMaxHeight = 17895697;
|
|
77
|
+
export { isPresent, sameCharsOnly, shuffleData, matchText, scrollToItem, itemIndexStartsWith, getItemIndexByText, getItemValue, matchDataCollections, removeDataItems, areSame, getFocusedItem, preventDefaultNonInputs, suggestValue, matchTags, firefox, firefoxMaxHeight };
|