@progress/kendo-vue-grid 8.0.3-develop.2 → 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/BasePDFExport.d.ts +59 -0
- package/Grid.d.ts +542 -0
- package/GridColumn.d.ts +18 -0
- package/GridNav.d.ts +26 -0
- package/GridSearchBox.d.ts +42 -0
- package/GridState.d.ts +234 -0
- package/GridToolbar.d.ts +32 -0
- package/RootGrid.d.ts +429 -0
- package/ScrollMode.d.ts +8 -0
- package/StatusBar.d.ts +21 -0
- package/VirtualScroll.d.ts +43 -0
- package/cells/GridCell.d.ts +123 -0
- package/cells/GridDetailCell.d.ts +38 -0
- package/cells/GridDetailHierarchyCell.d.ts +23 -0
- package/cells/GridEditCell.d.ts +86 -0
- package/cells/GridFilterCell.d.ts +60 -0
- package/cells/GridGroupCell.d.ts +68 -0
- package/cells/GridHierarchyCell.d.ts +67 -0
- package/cells/GridSelectionCell.d.ts +65 -0
- package/columnMenu/ColumnMenu.d.ts +191 -0
- package/columnMenu/ColumnMenuContent.d.ts +58 -0
- package/columnMenu/GridColumnMenuCheckboxFilter.d.ts +102 -0
- package/columnMenu/GridColumnMenuFilter.d.ts +129 -0
- package/columnMenu/GridColumnMenuFilter.mjs +5 -5
- package/columnMenu/GridColumnMenuFilterCell.d.ts +65 -0
- package/columnMenu/GridColumnMenuFilterOperators.d.ts +49 -0
- package/columnMenu/GridColumnMenuFilterUI.d.ts +59 -0
- package/columnMenu/GridColumnMenuItem.d.ts +60 -0
- package/columnMenu/GridColumnMenuItemContent.d.ts +26 -0
- package/columnMenu/GridColumnMenuItemGroup.d.ts +12 -0
- package/columnMenu/GridColumnMenuSort.d.ts +46 -0
- package/common.d.ts +184 -0
- package/components/GridDragClue.d.ts +11 -0
- package/components/GridDropClue.d.ts +11 -0
- package/components/GridLoader.d.ts +32 -0
- package/components/PagerContainer.d.ts +11 -0
- package/components/VirtualScrollHeightContainer.d.ts +11 -0
- package/components/colGroup/GridColGroup.d.ts +11 -0
- package/components/noRecords/GridNoRecords.d.ts +15 -0
- package/components/noRecords/GridNoRecordsContainer.d.ts +15 -0
- package/components/utils.d.ts +21 -0
- package/dist/cdn/js/kendo-vue-grid.js +1 -1
- package/drag/ColumnDraggable.d.ts +34 -0
- package/drag/ColumnResize.d.ts +46 -0
- package/drag/ColumnResizer.d.ts +27 -0
- package/drag/CommonDragLogic.d.ts +43 -0
- package/drag/DragClue.d.ts +18 -0
- package/drag/DropClue.d.ts +17 -0
- package/drag/GroupingIndicator.d.ts +50 -0
- package/filterCommon.d.ts +86 -0
- package/footer/Footer.d.ts +57 -0
- package/footer/FooterRow.d.ts +35 -0
- package/header/FilterRow.d.ts +65 -0
- package/header/GridHeaderCell.d.ts +34 -0
- package/header/GridHeaderSelectionCell.d.ts +25 -0
- package/header/GroupPanel.d.ts +52 -0
- package/header/Header.d.ts +70 -0
- package/header/HeaderRow.d.ts +140 -0
- package/index.d.mts +42 -3319
- package/index.d.ts +42 -3319
- package/interfaces/ColumnType.d.ts +13 -0
- package/interfaces/CompositeHighlightDescriptor.d.ts +29 -0
- package/interfaces/ExtendedColumnProps.d.ts +33 -0
- package/interfaces/GridCellProps.d.ts +176 -0
- package/interfaces/GridCellRenderModel.d.ts +15 -0
- package/interfaces/GridColSpanProps.d.ts +21 -0
- package/interfaces/GridColumnChildrenProps.d.ts +12 -0
- package/interfaces/GridColumnMenuBaseProps.d.ts +21 -0
- package/interfaces/GridColumnMenuColumnProps.d.ts +20 -0
- package/interfaces/GridColumnMenuColumnsChooserBaseProps.d.ts +22 -0
- package/interfaces/GridColumnMenuExtendedFilterProps.d.ts +49 -0
- package/interfaces/GridColumnMenuFilterBaseProps.d.ts +56 -0
- package/interfaces/GridColumnMenuFilterProps.d.ts +34 -0
- package/interfaces/GridColumnMenuFilterUIProps.d.ts +62 -0
- package/interfaces/GridColumnMenuGroupBaseProps.d.ts +26 -0
- package/interfaces/GridColumnMenuProps.d.ts +48 -0
- package/interfaces/GridColumnMenuSortBaseProps.d.ts +35 -0
- package/interfaces/GridColumnProps.d.ts +207 -0
- package/interfaces/GridColumnState.d.ts +44 -0
- package/interfaces/GridDataType.d.ts +12 -0
- package/interfaces/GridDetailExpandableSettings.d.ts +11 -0
- package/interfaces/GridDetailRowProps.d.ts +16 -0
- package/interfaces/GridEditableSettings.d.ts +16 -0
- package/interfaces/GridFilterCellProps.d.ts +86 -0
- package/interfaces/GridFilterOperator.d.ts +14 -0
- package/interfaces/GridFilterOperators.d.ts +56 -0
- package/interfaces/GridFooterCellProps.d.ts +14 -0
- package/interfaces/GridGroupExpandableSettings.d.ts +22 -0
- package/interfaces/GridGroupableSettings.d.ts +27 -0
- package/interfaces/GridHeaderCellProps.d.ts +44 -0
- package/interfaces/GridHeaderSelectionCellProps.d.ts +24 -0
- package/interfaces/GridHighlightDescriptor.d.ts +10 -0
- package/interfaces/GridNoRecordsProps.d.ts +16 -0
- package/interfaces/GridProps.d.ts +543 -0
- package/interfaces/GridReorderDropDir.d.ts +11 -0
- package/interfaces/GridRowProps.d.ts +70 -0
- package/interfaces/GridRowReorderSettings.d.ts +25 -0
- package/interfaces/GridRowSpannableSettings.d.ts +21 -0
- package/interfaces/GridRowType.d.ts +16 -0
- package/interfaces/GridRowsSettings.d.ts +15 -0
- package/interfaces/GridSelectableSettings.d.ts +25 -0
- package/interfaces/GridSortSettings.d.ts +33 -0
- package/interfaces/GridToolbarProps.d.ts +22 -0
- package/interfaces/VirtualScrollInterface.d.ts +28 -0
- package/interfaces/events.d.ts +311 -0
- package/key.d.ts +8 -0
- package/messages/main.d.ts +430 -0
- package/messages/messagesMap.d.ts +14 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +20 -14
- package/paging/GridPagerSettings.d.ts +21 -0
- package/paging/Page.d.ts +11 -0
- package/rows/GridDetailRow.d.ts +12 -0
- package/rows/GridRow.d.ts +72 -0
- package/utils/browser-support.service.d.ts +14 -0
- package/utils/main.d.ts +143 -0
- package/utils/main.js +1 -1
- package/utils/main.mjs +1 -1
- package/utils/virtualColumns.d.ts +31 -0
package/RootGrid.d.ts
ADDED
|
@@ -0,0 +1,429 @@
|
|
|
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 { GridProps } from './interfaces/GridProps';
|
|
9
|
+
import { GridColumnProps } from './interfaces/GridColumnProps';
|
|
10
|
+
/**
|
|
11
|
+
* Represent the `ref` of the Grid component.
|
|
12
|
+
*/
|
|
13
|
+
export interface GridHandle {
|
|
14
|
+
/**
|
|
15
|
+
* Returns the HTML element of the Grid component.
|
|
16
|
+
*/
|
|
17
|
+
element: HTMLDivElement | null;
|
|
18
|
+
/**
|
|
19
|
+
* The props values of the Grid.
|
|
20
|
+
*/
|
|
21
|
+
props: GridProps;
|
|
22
|
+
/**
|
|
23
|
+
* A getter of the current columns. Gets the current column width or current columns, or any other [`GridColumnProps`]({% slug api_grid_gridcolumnprops %}) for each defined column. Can be used on each Grid instance. To obtain the instance of the rendered Grid, use the `ref` callback. The following example demonstrates how to reorder the columns by dragging their handlers and check the properties afterwards. You can check the result in the browser console.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
columns: GridColumnProps[];
|
|
27
|
+
/**
|
|
28
|
+
* Method to allow the scroll to be set to a specific row index when the Grid is scrollable. It is zero based.
|
|
29
|
+
*
|
|
30
|
+
* @param options - Object, containing the rowIndex to which is going to be scrolled.
|
|
31
|
+
*/
|
|
32
|
+
scrollIntoView: (options: {
|
|
33
|
+
rowIndex: number;
|
|
34
|
+
}) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Method to fit columns according to their content.
|
|
37
|
+
*
|
|
38
|
+
* @param columnIds - Array of column ids to be fitted.
|
|
39
|
+
*/
|
|
40
|
+
fitColumns: (columnIds: string[]) => void;
|
|
41
|
+
/**
|
|
42
|
+
* Method to trigger a PDF export of the Grid.
|
|
43
|
+
* The 'pdf' prop of the Grid should be set to true or object of setting that will be applied the exported Grid.
|
|
44
|
+
*/
|
|
45
|
+
exportAsPdf: () => void;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Represents the [KendoVue Grid component]({% slug overview_grid %}).
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Supported children components are: {@link GridColumn}, {@link GridToolbar}, {@link GridNoRecords}, {@link StatusBar}.
|
|
52
|
+
*
|
|
53
|
+
*
|
|
54
|
+
* export default App;
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare const RootGrid: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
58
|
+
id: import('vue').PropType<string>;
|
|
59
|
+
autoProcessData: import('vue').PropType<boolean | {
|
|
60
|
+
filter?: boolean;
|
|
61
|
+
search?: boolean;
|
|
62
|
+
sort?: boolean;
|
|
63
|
+
group?: boolean;
|
|
64
|
+
page?: boolean;
|
|
65
|
+
}>;
|
|
66
|
+
topCacheCount: {
|
|
67
|
+
type: import('vue').PropType<number>; /**
|
|
68
|
+
* Represent the `ref` of the Grid component.
|
|
69
|
+
*/
|
|
70
|
+
default: number;
|
|
71
|
+
};
|
|
72
|
+
collapsedGroups: {
|
|
73
|
+
type: import('vue').PropType<any[][]>;
|
|
74
|
+
default: () => any[];
|
|
75
|
+
};
|
|
76
|
+
uniqueField: import('vue').PropType<string>;
|
|
77
|
+
totalGroupedHeight: import('vue').PropType<number>;
|
|
78
|
+
allGroupedItems: import('vue').PropType<import('@progress/kendo-data-query').DataResult>;
|
|
79
|
+
alternatePerGroup: import('vue').PropType<boolean>;
|
|
80
|
+
columns: import('vue').PropType<GridColumnProps[]>;
|
|
81
|
+
columnsState: {
|
|
82
|
+
type: import('vue').PropType<import('.').GridColumnState[]>;
|
|
83
|
+
default: () => any;
|
|
84
|
+
};
|
|
85
|
+
defaultColumnsState: {
|
|
86
|
+
type: import('vue').PropType<import('.').GridColumnState[]>; /**
|
|
87
|
+
* Method to allow the scroll to be set to a specific row index when the Grid is scrollable. It is zero based.
|
|
88
|
+
*
|
|
89
|
+
* @param options - Object, containing the rowIndex to which is going to be scrolled.
|
|
90
|
+
*/
|
|
91
|
+
default: () => any;
|
|
92
|
+
};
|
|
93
|
+
columnVirtualization: import('vue').PropType<boolean>;
|
|
94
|
+
dataItems: import('vue').PropType<any[] | import('@progress/kendo-data-query').DataResult>;
|
|
95
|
+
sortable: import('vue').PropType<import('.').GridSortSettings>;
|
|
96
|
+
defaultSort: import('vue').PropType<import('@progress/kendo-data-query').SortDescriptor[]>;
|
|
97
|
+
sort: import('vue').PropType<import('@progress/kendo-data-query').SortDescriptor[]>;
|
|
98
|
+
filterable: import('vue').PropType<boolean>;
|
|
99
|
+
filterOperators: import('vue').PropType<import('./interfaces/GridFilterOperators').GridFilterOperators>;
|
|
100
|
+
filterCellRender: import('vue').PropType<any>;
|
|
101
|
+
headerCellRender: import('vue').PropType<any>;
|
|
102
|
+
showLoader: {
|
|
103
|
+
type: import('vue').PropType<boolean>;
|
|
104
|
+
default: any;
|
|
105
|
+
};
|
|
106
|
+
loader: import('vue').PropType<string | Object | Function>;
|
|
107
|
+
defaultFilter: import('vue').PropType<import('@progress/kendo-data-query').CompositeFilterDescriptor>;
|
|
108
|
+
filter: import('vue').PropType<import('@progress/kendo-data-query').CompositeFilterDescriptor>;
|
|
109
|
+
defaultSearch: import('vue').PropType<import('@progress/kendo-data-query').CompositeFilterDescriptor>;
|
|
110
|
+
search: import('vue').PropType<import('@progress/kendo-data-query').CompositeFilterDescriptor>;
|
|
111
|
+
searchFields: import('vue').PropType<(string | import('@progress/kendo-vue-data-tools').SearchField)[]>;
|
|
112
|
+
highlight: import('vue').PropType<{
|
|
113
|
+
[id: string]: boolean | {
|
|
114
|
+
[id: string]: boolean;
|
|
115
|
+
};
|
|
116
|
+
}>;
|
|
117
|
+
pageable: import('vue').PropType<any>;
|
|
118
|
+
pageSize: import('vue').PropType<number>;
|
|
119
|
+
total: import('vue').PropType<number>;
|
|
120
|
+
fixedScroll: import('vue').PropType<boolean>;
|
|
121
|
+
skip: import('vue').PropType<number>;
|
|
122
|
+
defaultSkip: import('vue').PropType<number>;
|
|
123
|
+
take: import('vue').PropType<number>;
|
|
124
|
+
defaultTake: import('vue').PropType<number>;
|
|
125
|
+
expandField: import('vue').PropType<string>;
|
|
126
|
+
expandColumn: import('vue').PropType<GridColumnProps>;
|
|
127
|
+
selectedField: import('vue').PropType<string>;
|
|
128
|
+
cellRender: import('vue').PropType<string | boolean | ((h: any, defaultRendering: any, props: import('.').GridCellProps, listeners: any) => any)>;
|
|
129
|
+
rowRender: import('vue').PropType<string | boolean | ((h: any, defaultRendering: any, defaultSlots: any, props: any, listeners: any) => any)>;
|
|
130
|
+
rowSpannable: import('vue').PropType<boolean | import('./interfaces/GridRowSpannableSettings').GridRowSpannableSettings>;
|
|
131
|
+
resizable: import('vue').PropType<boolean>;
|
|
132
|
+
reorderable: import('vue').PropType<boolean>;
|
|
133
|
+
group: import('vue').PropType<import('@progress/kendo-data-query').GroupDescriptor[]>;
|
|
134
|
+
defaultGroup: import('vue').PropType<import('@progress/kendo-data-query').GroupDescriptor[]>;
|
|
135
|
+
groupable: import('vue').PropType<boolean | import('.').GridGroupableSettings>;
|
|
136
|
+
groupExpand: import('vue').PropType<import('@progress/kendo-vue-data-tools').GroupExpandDescriptor[]>;
|
|
137
|
+
defaultGroupExpand: import('vue').PropType<import('@progress/kendo-vue-data-tools').GroupExpandDescriptor[]>;
|
|
138
|
+
detailExpand: import('vue').PropType<import('@progress/kendo-vue-data-tools').DetailExpandDescriptor>;
|
|
139
|
+
defaultDetailExpand: import('vue').PropType<import('@progress/kendo-vue-data-tools').DetailExpandDescriptor>;
|
|
140
|
+
editField: import('vue').PropType<string>;
|
|
141
|
+
rowClass: import('vue').PropType<Function>;
|
|
142
|
+
scrollable: {
|
|
143
|
+
type: import('vue').PropType<string>;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
size: {
|
|
147
|
+
type: import('vue').PropType<string>;
|
|
148
|
+
default: string;
|
|
149
|
+
validator: (value: string) => any;
|
|
150
|
+
};
|
|
151
|
+
pager: import('vue').PropType<string | boolean | Object | Function>;
|
|
152
|
+
rowHeight: import('vue').PropType<number>;
|
|
153
|
+
detailRowHeight: import('vue').PropType<number>;
|
|
154
|
+
detail: import('vue').PropType<any>;
|
|
155
|
+
columnMenu: import('vue').PropType<any>;
|
|
156
|
+
columnMenuAnimate: {
|
|
157
|
+
type: import('vue').PropType<boolean | import('@progress/kendo-vue-popup').PopupAnimation>;
|
|
158
|
+
default: () => boolean;
|
|
159
|
+
};
|
|
160
|
+
columnMenuIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
161
|
+
name: StringConstructor;
|
|
162
|
+
icon: ObjectConstructor;
|
|
163
|
+
themeColor: {
|
|
164
|
+
type: StringConstructor;
|
|
165
|
+
};
|
|
166
|
+
size: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
};
|
|
169
|
+
flip: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
};
|
|
172
|
+
id: StringConstructor;
|
|
173
|
+
ariaLabel: StringConstructor;
|
|
174
|
+
title: StringConstructor;
|
|
175
|
+
viewBox: {
|
|
176
|
+
type: StringConstructor;
|
|
177
|
+
default: string;
|
|
178
|
+
};
|
|
179
|
+
tabIndex: NumberConstructor;
|
|
180
|
+
svgClassName: StringConstructor;
|
|
181
|
+
svgStyle: ObjectConstructor;
|
|
182
|
+
}>, {}, {}, {
|
|
183
|
+
wrapperClass(this: import('@progress/kendo-vue-common').SvgIconAll): {
|
|
184
|
+
[x: string]: any;
|
|
185
|
+
[x: number]: any;
|
|
186
|
+
'k-icon': boolean;
|
|
187
|
+
'k-svg-icon': boolean;
|
|
188
|
+
'k-flip-h': boolean;
|
|
189
|
+
'k-flip-v': boolean;
|
|
190
|
+
};
|
|
191
|
+
}, {
|
|
192
|
+
handleClick(e: any): void;
|
|
193
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
194
|
+
click: any;
|
|
195
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
196
|
+
name: StringConstructor;
|
|
197
|
+
icon: ObjectConstructor;
|
|
198
|
+
themeColor: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
};
|
|
201
|
+
size: {
|
|
202
|
+
type: StringConstructor;
|
|
203
|
+
};
|
|
204
|
+
flip: {
|
|
205
|
+
type: StringConstructor;
|
|
206
|
+
};
|
|
207
|
+
id: StringConstructor;
|
|
208
|
+
ariaLabel: StringConstructor;
|
|
209
|
+
title: StringConstructor;
|
|
210
|
+
viewBox: {
|
|
211
|
+
type: StringConstructor;
|
|
212
|
+
default: string;
|
|
213
|
+
};
|
|
214
|
+
tabIndex: NumberConstructor;
|
|
215
|
+
svgClassName: StringConstructor;
|
|
216
|
+
svgStyle: ObjectConstructor;
|
|
217
|
+
}>> & Readonly<{
|
|
218
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
219
|
+
}>, {
|
|
220
|
+
viewBox: string;
|
|
221
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
222
|
+
dataItemKey: StringConstructor;
|
|
223
|
+
navigatable: {
|
|
224
|
+
type: import('vue').PropType<boolean>;
|
|
225
|
+
default: boolean;
|
|
226
|
+
};
|
|
227
|
+
onItemchange: import('vue').PropType<(event: import('.').GridItemChangeEvent) => void>;
|
|
228
|
+
onExpandchange: import('vue').PropType<(event: import('.').GridExpandChangeEvent) => void>;
|
|
229
|
+
onDatastatechange: import('vue').PropType<(event: import('.').GridDataStateChangeEvent) => void>;
|
|
230
|
+
onPagechange: import('vue').PropType<(event: import('.').GridPageChangeEvent) => void>;
|
|
231
|
+
onSortchange: import('vue').PropType<(event: import('.').GridSortChangeEvent) => void>;
|
|
232
|
+
onFilterchange: import('vue').PropType<(event: import('.').GridFilterChangeEvent) => void>;
|
|
233
|
+
onGroupchange: import('vue').PropType<(event: import('.').GridGroupChangeEvent) => void>;
|
|
234
|
+
onSearchchange: import('vue').PropType<(event: import('.').GridSearchChangeEvent) => void>;
|
|
235
|
+
onGroupexpandchange: import('vue').PropType<(event: import('.').GridGroupExpandChangeEvent) => void>;
|
|
236
|
+
onDetailexpandchange: import('vue').PropType<(event: import('.').GridDetailExpandChangeEvent) => void>;
|
|
237
|
+
}>, void, {}, {
|
|
238
|
+
columnsWithTemplates(): any[];
|
|
239
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
240
|
+
id: import('vue').PropType<string>;
|
|
241
|
+
autoProcessData: import('vue').PropType<boolean | {
|
|
242
|
+
filter?: boolean;
|
|
243
|
+
search?: boolean;
|
|
244
|
+
sort?: boolean;
|
|
245
|
+
group?: boolean;
|
|
246
|
+
page?: boolean;
|
|
247
|
+
}>;
|
|
248
|
+
topCacheCount: {
|
|
249
|
+
type: import('vue').PropType<number>; /**
|
|
250
|
+
* Represent the `ref` of the Grid component.
|
|
251
|
+
*/
|
|
252
|
+
default: number;
|
|
253
|
+
};
|
|
254
|
+
collapsedGroups: {
|
|
255
|
+
type: import('vue').PropType<any[][]>;
|
|
256
|
+
default: () => any[];
|
|
257
|
+
};
|
|
258
|
+
uniqueField: import('vue').PropType<string>;
|
|
259
|
+
totalGroupedHeight: import('vue').PropType<number>;
|
|
260
|
+
allGroupedItems: import('vue').PropType<import('@progress/kendo-data-query').DataResult>;
|
|
261
|
+
alternatePerGroup: import('vue').PropType<boolean>;
|
|
262
|
+
columns: import('vue').PropType<GridColumnProps[]>;
|
|
263
|
+
columnsState: {
|
|
264
|
+
type: import('vue').PropType<import('.').GridColumnState[]>;
|
|
265
|
+
default: () => any;
|
|
266
|
+
};
|
|
267
|
+
defaultColumnsState: {
|
|
268
|
+
type: import('vue').PropType<import('.').GridColumnState[]>; /**
|
|
269
|
+
* Method to allow the scroll to be set to a specific row index when the Grid is scrollable. It is zero based.
|
|
270
|
+
*
|
|
271
|
+
* @param options - Object, containing the rowIndex to which is going to be scrolled.
|
|
272
|
+
*/
|
|
273
|
+
default: () => any;
|
|
274
|
+
};
|
|
275
|
+
columnVirtualization: import('vue').PropType<boolean>;
|
|
276
|
+
dataItems: import('vue').PropType<any[] | import('@progress/kendo-data-query').DataResult>;
|
|
277
|
+
sortable: import('vue').PropType<import('.').GridSortSettings>;
|
|
278
|
+
defaultSort: import('vue').PropType<import('@progress/kendo-data-query').SortDescriptor[]>;
|
|
279
|
+
sort: import('vue').PropType<import('@progress/kendo-data-query').SortDescriptor[]>;
|
|
280
|
+
filterable: import('vue').PropType<boolean>;
|
|
281
|
+
filterOperators: import('vue').PropType<import('./interfaces/GridFilterOperators').GridFilterOperators>;
|
|
282
|
+
filterCellRender: import('vue').PropType<any>;
|
|
283
|
+
headerCellRender: import('vue').PropType<any>;
|
|
284
|
+
showLoader: {
|
|
285
|
+
type: import('vue').PropType<boolean>;
|
|
286
|
+
default: any;
|
|
287
|
+
};
|
|
288
|
+
loader: import('vue').PropType<string | Object | Function>;
|
|
289
|
+
defaultFilter: import('vue').PropType<import('@progress/kendo-data-query').CompositeFilterDescriptor>;
|
|
290
|
+
filter: import('vue').PropType<import('@progress/kendo-data-query').CompositeFilterDescriptor>;
|
|
291
|
+
defaultSearch: import('vue').PropType<import('@progress/kendo-data-query').CompositeFilterDescriptor>;
|
|
292
|
+
search: import('vue').PropType<import('@progress/kendo-data-query').CompositeFilterDescriptor>;
|
|
293
|
+
searchFields: import('vue').PropType<(string | import('@progress/kendo-vue-data-tools').SearchField)[]>;
|
|
294
|
+
highlight: import('vue').PropType<{
|
|
295
|
+
[id: string]: boolean | {
|
|
296
|
+
[id: string]: boolean;
|
|
297
|
+
};
|
|
298
|
+
}>;
|
|
299
|
+
pageable: import('vue').PropType<any>;
|
|
300
|
+
pageSize: import('vue').PropType<number>;
|
|
301
|
+
total: import('vue').PropType<number>;
|
|
302
|
+
fixedScroll: import('vue').PropType<boolean>;
|
|
303
|
+
skip: import('vue').PropType<number>;
|
|
304
|
+
defaultSkip: import('vue').PropType<number>;
|
|
305
|
+
take: import('vue').PropType<number>;
|
|
306
|
+
defaultTake: import('vue').PropType<number>;
|
|
307
|
+
expandField: import('vue').PropType<string>;
|
|
308
|
+
expandColumn: import('vue').PropType<GridColumnProps>;
|
|
309
|
+
selectedField: import('vue').PropType<string>;
|
|
310
|
+
cellRender: import('vue').PropType<string | boolean | ((h: any, defaultRendering: any, props: import('.').GridCellProps, listeners: any) => any)>;
|
|
311
|
+
rowRender: import('vue').PropType<string | boolean | ((h: any, defaultRendering: any, defaultSlots: any, props: any, listeners: any) => any)>;
|
|
312
|
+
rowSpannable: import('vue').PropType<boolean | import('./interfaces/GridRowSpannableSettings').GridRowSpannableSettings>;
|
|
313
|
+
resizable: import('vue').PropType<boolean>;
|
|
314
|
+
reorderable: import('vue').PropType<boolean>;
|
|
315
|
+
group: import('vue').PropType<import('@progress/kendo-data-query').GroupDescriptor[]>;
|
|
316
|
+
defaultGroup: import('vue').PropType<import('@progress/kendo-data-query').GroupDescriptor[]>;
|
|
317
|
+
groupable: import('vue').PropType<boolean | import('.').GridGroupableSettings>;
|
|
318
|
+
groupExpand: import('vue').PropType<import('@progress/kendo-vue-data-tools').GroupExpandDescriptor[]>;
|
|
319
|
+
defaultGroupExpand: import('vue').PropType<import('@progress/kendo-vue-data-tools').GroupExpandDescriptor[]>;
|
|
320
|
+
detailExpand: import('vue').PropType<import('@progress/kendo-vue-data-tools').DetailExpandDescriptor>;
|
|
321
|
+
defaultDetailExpand: import('vue').PropType<import('@progress/kendo-vue-data-tools').DetailExpandDescriptor>;
|
|
322
|
+
editField: import('vue').PropType<string>;
|
|
323
|
+
rowClass: import('vue').PropType<Function>;
|
|
324
|
+
scrollable: {
|
|
325
|
+
type: import('vue').PropType<string>;
|
|
326
|
+
default: string;
|
|
327
|
+
};
|
|
328
|
+
size: {
|
|
329
|
+
type: import('vue').PropType<string>;
|
|
330
|
+
default: string;
|
|
331
|
+
validator: (value: string) => any;
|
|
332
|
+
};
|
|
333
|
+
pager: import('vue').PropType<string | boolean | Object | Function>;
|
|
334
|
+
rowHeight: import('vue').PropType<number>;
|
|
335
|
+
detailRowHeight: import('vue').PropType<number>;
|
|
336
|
+
detail: import('vue').PropType<any>;
|
|
337
|
+
columnMenu: import('vue').PropType<any>;
|
|
338
|
+
columnMenuAnimate: {
|
|
339
|
+
type: import('vue').PropType<boolean | import('@progress/kendo-vue-popup').PopupAnimation>;
|
|
340
|
+
default: () => boolean;
|
|
341
|
+
};
|
|
342
|
+
columnMenuIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
343
|
+
name: StringConstructor;
|
|
344
|
+
icon: ObjectConstructor;
|
|
345
|
+
themeColor: {
|
|
346
|
+
type: StringConstructor;
|
|
347
|
+
};
|
|
348
|
+
size: {
|
|
349
|
+
type: StringConstructor;
|
|
350
|
+
};
|
|
351
|
+
flip: {
|
|
352
|
+
type: StringConstructor;
|
|
353
|
+
};
|
|
354
|
+
id: StringConstructor;
|
|
355
|
+
ariaLabel: StringConstructor;
|
|
356
|
+
title: StringConstructor;
|
|
357
|
+
viewBox: {
|
|
358
|
+
type: StringConstructor;
|
|
359
|
+
default: string;
|
|
360
|
+
};
|
|
361
|
+
tabIndex: NumberConstructor;
|
|
362
|
+
svgClassName: StringConstructor;
|
|
363
|
+
svgStyle: ObjectConstructor;
|
|
364
|
+
}>, {}, {}, {
|
|
365
|
+
wrapperClass(this: import('@progress/kendo-vue-common').SvgIconAll): {
|
|
366
|
+
[x: string]: any;
|
|
367
|
+
[x: number]: any;
|
|
368
|
+
'k-icon': boolean;
|
|
369
|
+
'k-svg-icon': boolean;
|
|
370
|
+
'k-flip-h': boolean;
|
|
371
|
+
'k-flip-v': boolean;
|
|
372
|
+
};
|
|
373
|
+
}, {
|
|
374
|
+
handleClick(e: any): void;
|
|
375
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
376
|
+
click: any;
|
|
377
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
378
|
+
name: StringConstructor;
|
|
379
|
+
icon: ObjectConstructor;
|
|
380
|
+
themeColor: {
|
|
381
|
+
type: StringConstructor;
|
|
382
|
+
};
|
|
383
|
+
size: {
|
|
384
|
+
type: StringConstructor;
|
|
385
|
+
};
|
|
386
|
+
flip: {
|
|
387
|
+
type: StringConstructor;
|
|
388
|
+
};
|
|
389
|
+
id: StringConstructor;
|
|
390
|
+
ariaLabel: StringConstructor;
|
|
391
|
+
title: StringConstructor;
|
|
392
|
+
viewBox: {
|
|
393
|
+
type: StringConstructor;
|
|
394
|
+
default: string;
|
|
395
|
+
};
|
|
396
|
+
tabIndex: NumberConstructor;
|
|
397
|
+
svgClassName: StringConstructor;
|
|
398
|
+
svgStyle: ObjectConstructor;
|
|
399
|
+
}>> & Readonly<{
|
|
400
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
401
|
+
}>, {
|
|
402
|
+
viewBox: string;
|
|
403
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
404
|
+
dataItemKey: StringConstructor;
|
|
405
|
+
navigatable: {
|
|
406
|
+
type: import('vue').PropType<boolean>;
|
|
407
|
+
default: boolean;
|
|
408
|
+
};
|
|
409
|
+
onItemchange: import('vue').PropType<(event: import('.').GridItemChangeEvent) => void>;
|
|
410
|
+
onExpandchange: import('vue').PropType<(event: import('.').GridExpandChangeEvent) => void>;
|
|
411
|
+
onDatastatechange: import('vue').PropType<(event: import('.').GridDataStateChangeEvent) => void>;
|
|
412
|
+
onPagechange: import('vue').PropType<(event: import('.').GridPageChangeEvent) => void>;
|
|
413
|
+
onSortchange: import('vue').PropType<(event: import('.').GridSortChangeEvent) => void>;
|
|
414
|
+
onFilterchange: import('vue').PropType<(event: import('.').GridFilterChangeEvent) => void>;
|
|
415
|
+
onGroupchange: import('vue').PropType<(event: import('.').GridGroupChangeEvent) => void>;
|
|
416
|
+
onSearchchange: import('vue').PropType<(event: import('.').GridSearchChangeEvent) => void>;
|
|
417
|
+
onGroupexpandchange: import('vue').PropType<(event: import('.').GridGroupExpandChangeEvent) => void>;
|
|
418
|
+
onDetailexpandchange: import('vue').PropType<(event: import('.').GridDetailExpandChangeEvent) => void>;
|
|
419
|
+
}>> & Readonly<{}>, {
|
|
420
|
+
size: string;
|
|
421
|
+
scrollable: string;
|
|
422
|
+
navigatable: boolean;
|
|
423
|
+
columnMenuAnimate: boolean;
|
|
424
|
+
topCacheCount: number;
|
|
425
|
+
collapsedGroups: any[][];
|
|
426
|
+
columnsState: import('.').GridColumnState[];
|
|
427
|
+
defaultColumnsState: import('.').GridColumnState[];
|
|
428
|
+
showLoader: boolean;
|
|
429
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
package/ScrollMode.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
export type ScrollMode = 'none' | 'scrollable' | 'virtual';
|
package/StatusBar.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
|
+
data: {
|
|
10
|
+
type: ArrayConstructor;
|
|
11
|
+
default: () => any[];
|
|
12
|
+
};
|
|
13
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
data: {
|
|
15
|
+
type: ArrayConstructor;
|
|
16
|
+
default: () => any[];
|
|
17
|
+
};
|
|
18
|
+
}>> & Readonly<{}>, {
|
|
19
|
+
data: unknown[];
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { Page } from '@progress/kendo-vue-data-tools';
|
|
9
|
+
import { VirtualScrollInterface } from './interfaces/VirtualScrollInterface';
|
|
10
|
+
import { RowHeightService } from '@progress/kendo-vue-common';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export declare class VirtualScroll implements VirtualScrollInterface {
|
|
15
|
+
table: HTMLTableElement | null;
|
|
16
|
+
tableBody: HTMLTableSectionElement | null;
|
|
17
|
+
container: HTMLDivElement | null;
|
|
18
|
+
scrollHeightContainer: HTMLDivElement | null;
|
|
19
|
+
total: number;
|
|
20
|
+
scrollableVirtual: boolean;
|
|
21
|
+
pageSize: number;
|
|
22
|
+
PageChange: (page: Page, event: any) => void;
|
|
23
|
+
fixedScroll: boolean;
|
|
24
|
+
tableTransform: string;
|
|
25
|
+
rowHeightService?: RowHeightService;
|
|
26
|
+
private scrollSyncing;
|
|
27
|
+
private firstToLoad;
|
|
28
|
+
private lastScrollTop;
|
|
29
|
+
private firstLoaded;
|
|
30
|
+
private lastLoaded;
|
|
31
|
+
constructor();
|
|
32
|
+
reset(): void;
|
|
33
|
+
scrollHandler(e: Event): void;
|
|
34
|
+
update(): void;
|
|
35
|
+
private loadPage;
|
|
36
|
+
private translate;
|
|
37
|
+
private changePage;
|
|
38
|
+
private adjustScroll;
|
|
39
|
+
private setScrollHeightContainerHeight;
|
|
40
|
+
private getItemHeights;
|
|
41
|
+
private getTotalHeight;
|
|
42
|
+
private getExpectedTotalHeight;
|
|
43
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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 { PropType } from 'vue';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
declare const GridCell: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
|
+
id: PropType<string>;
|
|
14
|
+
field: PropType<string>;
|
|
15
|
+
dataItem: PropType<any>;
|
|
16
|
+
format: PropType<string>;
|
|
17
|
+
readFormat: PropType<string>;
|
|
18
|
+
className: PropType<string>;
|
|
19
|
+
colSpan: PropType<number>;
|
|
20
|
+
columnIndex: PropType<number>;
|
|
21
|
+
columnsCount: PropType<number>;
|
|
22
|
+
dataIndex: PropType<number>;
|
|
23
|
+
rowType: PropType<string>;
|
|
24
|
+
level: PropType<number>;
|
|
25
|
+
expanded: PropType<boolean>;
|
|
26
|
+
type: PropType<string>;
|
|
27
|
+
editor: PropType<string>;
|
|
28
|
+
rowSpan: PropType<{
|
|
29
|
+
count: number;
|
|
30
|
+
value: any;
|
|
31
|
+
}>;
|
|
32
|
+
isSelected: PropType<boolean>;
|
|
33
|
+
isHighlighted: PropType<boolean>;
|
|
34
|
+
ariaColumnIndex: PropType<number>;
|
|
35
|
+
render: PropType<any>;
|
|
36
|
+
isRtl: PropType<boolean>;
|
|
37
|
+
onEdit: PropType<(event: {
|
|
38
|
+
dataItem: any;
|
|
39
|
+
}) => void>;
|
|
40
|
+
onSave: PropType<(event: {
|
|
41
|
+
dataItem: any;
|
|
42
|
+
}) => void>;
|
|
43
|
+
onRemove: PropType<(event: {
|
|
44
|
+
dataItem: any;
|
|
45
|
+
}) => void>;
|
|
46
|
+
onCancel: PropType<(event: {
|
|
47
|
+
dataItem: any;
|
|
48
|
+
}) => void>;
|
|
49
|
+
onChange: PropType<(event: {
|
|
50
|
+
dataItem: any;
|
|
51
|
+
event: any;
|
|
52
|
+
field?: string;
|
|
53
|
+
value?: any;
|
|
54
|
+
}) => void>;
|
|
55
|
+
onSelectionchange: PropType<(event: any, dataItem: any) => void>;
|
|
56
|
+
}>, {
|
|
57
|
+
kendoIntlService: {};
|
|
58
|
+
}, {}, {
|
|
59
|
+
tdClass(): {
|
|
60
|
+
[x: number]: any;
|
|
61
|
+
'k-table-td': boolean;
|
|
62
|
+
'k-highlighted': any;
|
|
63
|
+
};
|
|
64
|
+
}, {
|
|
65
|
+
triggerClick(): void;
|
|
66
|
+
triggerKeydown(e: any): void;
|
|
67
|
+
triggerEdit(dataItem: any): void;
|
|
68
|
+
triggerAdd(dataItem: any): void;
|
|
69
|
+
triggerCancel(dataItem: any): void;
|
|
70
|
+
triggerSave(dataItem: any): void;
|
|
71
|
+
triggerRemove(dataItem: any): void;
|
|
72
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
73
|
+
cellclick: any;
|
|
74
|
+
cellkeydown: any;
|
|
75
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
76
|
+
id: PropType<string>;
|
|
77
|
+
field: PropType<string>;
|
|
78
|
+
dataItem: PropType<any>;
|
|
79
|
+
format: PropType<string>;
|
|
80
|
+
readFormat: PropType<string>;
|
|
81
|
+
className: PropType<string>;
|
|
82
|
+
colSpan: PropType<number>;
|
|
83
|
+
columnIndex: PropType<number>;
|
|
84
|
+
columnsCount: PropType<number>;
|
|
85
|
+
dataIndex: PropType<number>;
|
|
86
|
+
rowType: PropType<string>;
|
|
87
|
+
level: PropType<number>;
|
|
88
|
+
expanded: PropType<boolean>;
|
|
89
|
+
type: PropType<string>;
|
|
90
|
+
editor: PropType<string>;
|
|
91
|
+
rowSpan: PropType<{
|
|
92
|
+
count: number;
|
|
93
|
+
value: any;
|
|
94
|
+
}>;
|
|
95
|
+
isSelected: PropType<boolean>;
|
|
96
|
+
isHighlighted: PropType<boolean>;
|
|
97
|
+
ariaColumnIndex: PropType<number>;
|
|
98
|
+
render: PropType<any>;
|
|
99
|
+
isRtl: PropType<boolean>;
|
|
100
|
+
onEdit: PropType<(event: {
|
|
101
|
+
dataItem: any;
|
|
102
|
+
}) => void>;
|
|
103
|
+
onSave: PropType<(event: {
|
|
104
|
+
dataItem: any;
|
|
105
|
+
}) => void>;
|
|
106
|
+
onRemove: PropType<(event: {
|
|
107
|
+
dataItem: any;
|
|
108
|
+
}) => void>;
|
|
109
|
+
onCancel: PropType<(event: {
|
|
110
|
+
dataItem: any;
|
|
111
|
+
}) => void>;
|
|
112
|
+
onChange: PropType<(event: {
|
|
113
|
+
dataItem: any;
|
|
114
|
+
event: any;
|
|
115
|
+
field?: string;
|
|
116
|
+
value?: any;
|
|
117
|
+
}) => void>;
|
|
118
|
+
onSelectionchange: PropType<(event: any, dataItem: any) => void>;
|
|
119
|
+
}>> & Readonly<{
|
|
120
|
+
onCellkeydown?: (...args: any[] | unknown[]) => any;
|
|
121
|
+
onCellclick?: (...args: any[] | unknown[]) => any;
|
|
122
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
123
|
+
export { GridCell };
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { PropType } from 'vue';
|
|
9
|
+
/** @hidden */
|
|
10
|
+
export interface GridDetailCellProps {
|
|
11
|
+
colSpan: number;
|
|
12
|
+
ariaColIndex: number;
|
|
13
|
+
dataItem: any;
|
|
14
|
+
dataIndex: number;
|
|
15
|
+
detail: any;
|
|
16
|
+
id: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
declare const GridDetailCell: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
22
|
+
colSpan: PropType<number>;
|
|
23
|
+
ariaColIndex: PropType<number>;
|
|
24
|
+
dataItem: PropType<any>;
|
|
25
|
+
dataIndex: PropType<number>;
|
|
26
|
+
detail: PropType<any>;
|
|
27
|
+
id: PropType<string>;
|
|
28
|
+
}>, {
|
|
29
|
+
kendoIntlService: {};
|
|
30
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
+
colSpan: PropType<number>;
|
|
32
|
+
ariaColIndex: PropType<number>;
|
|
33
|
+
dataItem: PropType<any>;
|
|
34
|
+
dataIndex: PropType<number>;
|
|
35
|
+
detail: PropType<any>;
|
|
36
|
+
id: PropType<string>;
|
|
37
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
export { GridDetailCell };
|