@progress/kendo-vue-data-tools 8.0.3-develop.2 → 8.0.3-develop.4
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/cells/FilterCell.d.ts +64 -0
- package/columnmenu/ColumnMenu.d.ts +67 -0
- package/columnmenu/ColumnMenuCheckboxFilter.d.ts +112 -0
- package/columnmenu/ColumnMenuContent.d.ts +61 -0
- package/columnmenu/ColumnMenuFilter.d.ts +122 -0
- package/columnmenu/ColumnMenuFilterCell.d.ts +65 -0
- package/columnmenu/ColumnMenuFilterOperators.d.ts +49 -0
- package/columnmenu/ColumnMenuFilterUI.d.ts +59 -0
- package/columnmenu/ColumnMenuItem.d.ts +68 -0
- package/columnmenu/ColumnMenuItemContent.d.ts +26 -0
- package/columnmenu/ColumnMenuItemGroup.d.ts +12 -0
- package/columnmenu/ColumnMenuOperators.d.ts +72 -0
- package/columnmenu/ColumnMenuSort.d.ts +46 -0
- package/columnmenu/index.d.ts +9 -0
- package/columnmenu/main.d.ts +9 -0
- package/detail-expansion/TableExpandableSettings.d.ts +12 -0
- package/detail-expansion/expandReducer.d.ts +31 -0
- package/detail-expansion/utils.d.ts +10 -0
- package/dist/cdn/js/kendo-vue-datatools.js +1 -1
- package/drag/ColumnDraggable.d.ts +34 -0
- package/drag/ColumnResize.d.ts +38 -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/editing/TableEditableSettings.d.ts +24 -0
- package/editing/editReducer.d.ts +62 -0
- package/editing/utils.d.ts +12 -0
- package/filter/Expression.d.ts +70 -0
- package/filter/FieldSettings.d.ts +29 -0
- package/filter/Filter.d.ts +102 -0
- package/filter/GroupFilters.d.ts +77 -0
- package/filter/GroupToolbar.d.ts +90 -0
- package/filter/filters/BooleanFilter.d.ts +75 -0
- package/filter/filters/DateFilter.d.ts +37 -0
- package/filter/filters/EnumFilter.d.ts +60 -0
- package/filter/filters/NumericFilter.d.ts +37 -0
- package/filter/filters/TextFilter.d.ts +54 -0
- package/filter/filters/main.d.ts +12 -0
- package/filter/main.d.ts +13 -0
- package/filter/operators.d.ts +80 -0
- package/filterCommon.d.ts +82 -0
- package/group-expansion/TableGroupExpandableSettings.d.ts +12 -0
- package/group-expansion/groupExpandReducer.d.ts +46 -0
- package/header/FilterRow.d.ts +55 -0
- package/header/Header.d.ts +70 -0
- package/header/HeaderCell.d.ts +34 -0
- package/header/HeaderRow.d.ts +125 -0
- package/header/HeaderSelectionCell.d.ts +34 -0
- package/header/HeaderTdElement.d.ts +49 -0
- package/header/HeaderThElement.d.ts +67 -0
- package/header/main.d.ts +18 -0
- package/header/utils/main.d.ts +90 -0
- package/index.d.mts +46 -2822
- package/index.d.ts +46 -2822
- package/index.js +1 -1
- package/index.mjs +38 -38
- package/interfaces/CellProps.d.ts +70 -0
- package/interfaces/ColumnMenuColumnProps.d.ts +20 -0
- package/interfaces/ColumnMenuExtendedFilterProps.d.ts +49 -0
- package/interfaces/ColumnMenuFilterBaseProps.d.ts +56 -0
- package/interfaces/ColumnMenuFilterProps.d.ts +34 -0
- package/interfaces/ColumnMenuFilterUIProps.d.ts +62 -0
- package/interfaces/ColumnMenuProps.d.ts +30 -0
- package/interfaces/ColumnMenuSortBaseProps.d.ts +35 -0
- package/interfaces/ColumnProps.d.ts +155 -0
- package/interfaces/FilterCellProps.d.ts +90 -0
- package/interfaces/FilterOperator.d.ts +20 -0
- package/interfaces/FilterOperators.d.ts +56 -0
- package/interfaces/HeaderCellProps.d.ts +48 -0
- package/interfaces/HeaderSelectionCellProps.d.ts +24 -0
- package/interfaces/SortSettings.d.ts +33 -0
- package/messages/main.d.ts +434 -0
- package/navigation/TableKeyboardNavigation.d.ts +78 -0
- package/navigation/TableKeyboardNavigationContextType.d.ts +14 -0
- package/navigation/TableKeyboardNavigationStateType.d.ts +17 -0
- package/navigation/constants.d.ts +61 -0
- package/navigation/utils.d.ts +168 -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
- package/pager/GridPagerSettings.d.ts +69 -0
- package/pager/Page.d.ts +20 -0
- package/pager/Pager.d.ts +135 -0
- package/pager/PagerInfo.d.ts +53 -0
- package/pager/PagerInput.d.ts +62 -0
- package/pager/PagerNavigationButton.d.ts +62 -0
- package/pager/PagerNumericButtons.d.ts +64 -0
- package/pager/PagerPageSizes.d.ts +72 -0
- package/pager/models/main.d.ts +94 -0
- package/selection/TableSelectableSettings.d.ts +38 -0
- package/selection/constants.d.ts +13 -0
- package/selection/events.d.ts +108 -0
- package/selection/utils.d.ts +73 -0
- package/selection/utils.mjs +7 -7
- package/utils/SearchField.d.ts +24 -0
- package/utils/data-operations.d.ts +32 -0
- package/utils/group-operations.d.ts +36 -0
- package/utils/main.d.ts +11 -0
- package/virtualization/columns.d.ts +22 -0
- package/virtualization/main.d.ts +8 -0
package/index.d.ts
CHANGED
|
@@ -5,2825 +5,49 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export
|
|
32
|
-
|
|
33
|
-
type
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
55
|
-
filter: {
|
|
56
|
-
type: PropType<FilterDescriptor>;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
dataItems: {
|
|
60
|
-
type: PropType<{
|
|
61
|
-
text: string;
|
|
62
|
-
value: any;
|
|
63
|
-
}[]>;
|
|
64
|
-
default: () => any;
|
|
65
|
-
};
|
|
66
|
-
defaultItem: PropType<any>;
|
|
67
|
-
onFilterchange: PropType<(event: {
|
|
68
|
-
nextFilter: FilterOperator_2;
|
|
69
|
-
}) => void>;
|
|
70
|
-
}>> & Readonly<{}>, {
|
|
71
|
-
dataItems: {
|
|
72
|
-
text: string;
|
|
73
|
-
value: any;
|
|
74
|
-
}[];
|
|
75
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* The props of the BooleanFilter component.
|
|
79
|
-
*/
|
|
80
|
-
export declare interface BooleanFilterProps extends TextFilterProps {
|
|
81
|
-
/**
|
|
82
|
-
* A collection of text-value pairs passed to the BooleanFilter DropDownList.
|
|
83
|
-
* Defaults to [ { text: 'True', value: true }, { text: 'False', value: false } ]
|
|
84
|
-
*/
|
|
85
|
-
dataItems?: Array<{
|
|
86
|
-
text: string;
|
|
87
|
-
value: any;
|
|
88
|
-
}>;
|
|
89
|
-
/**
|
|
90
|
-
* The defaultItem passed to the BooleanFilter DropDownList.
|
|
91
|
-
*/
|
|
92
|
-
defaultItem?: any;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @hidden
|
|
97
|
-
*/
|
|
98
|
-
export declare const booleanFilterValues: ({
|
|
99
|
-
text: string;
|
|
100
|
-
operator: string;
|
|
101
|
-
} | {
|
|
102
|
-
text: string;
|
|
103
|
-
operator: boolean;
|
|
104
|
-
})[];
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* @hidden
|
|
108
|
-
*/
|
|
109
|
-
export declare const cellBoolDropdownChange: (value: any, e: any) => {
|
|
110
|
-
value: any;
|
|
111
|
-
operator: string;
|
|
112
|
-
event: any;
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @hidden
|
|
117
|
-
*/
|
|
118
|
-
export declare const cellInputChange: (value: any, e: any, props: any) => any;
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* @hidden
|
|
122
|
-
*/
|
|
123
|
-
export declare const cellOperatorChange: (operator: any, e: any, value: any) => {
|
|
124
|
-
value: any;
|
|
125
|
-
operator: any;
|
|
126
|
-
event: any;
|
|
127
|
-
};
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* @hidden
|
|
131
|
-
*/
|
|
132
|
-
export declare interface CellProps {
|
|
133
|
-
/**
|
|
134
|
-
* @hidden
|
|
135
|
-
*/
|
|
136
|
-
id: string;
|
|
137
|
-
/**
|
|
138
|
-
* The index to be applied to the `aria-colindex` attribute.
|
|
139
|
-
*/
|
|
140
|
-
ariaColumnIndex: number;
|
|
141
|
-
/**
|
|
142
|
-
* Indicates if the cell is selected.
|
|
143
|
-
*/
|
|
144
|
-
isSelected: boolean;
|
|
145
|
-
/**
|
|
146
|
-
* The expanded value of the cell.
|
|
147
|
-
*/
|
|
148
|
-
expanded?: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* The custom CSS classes of the cells.
|
|
151
|
-
*/
|
|
152
|
-
class?: string;
|
|
153
|
-
/**
|
|
154
|
-
* The field to which the cell is bound.
|
|
155
|
-
*/
|
|
156
|
-
field?: string;
|
|
157
|
-
/**
|
|
158
|
-
* The data item which corresponds to the current row.
|
|
159
|
-
*/
|
|
160
|
-
dataItem: any;
|
|
161
|
-
/**
|
|
162
|
-
* The format that is applied to the value before the value is displayed.
|
|
163
|
-
* Takes the `{0:format}` form where `format` is a standard number format, a custom number format,
|
|
164
|
-
* a standard date format, or a custom date format. For more information on the supported date and number formats,
|
|
165
|
-
* refer to the [kendo-intl](https://github.com/telerik/kendo-intl/blob/develop/docs/index.md) documentation.
|
|
166
|
-
*/
|
|
167
|
-
format?: string;
|
|
168
|
-
/**
|
|
169
|
-
* The column span of the cell.
|
|
170
|
-
*/
|
|
171
|
-
colSpan?: number;
|
|
172
|
-
/**
|
|
173
|
-
* The event that is fired when the cell is selected.
|
|
174
|
-
*/
|
|
175
|
-
selectionChange?: (event: {
|
|
176
|
-
event: any;
|
|
177
|
-
}) => void;
|
|
178
|
-
/**
|
|
179
|
-
* The event that is fired when the cell value is changed.
|
|
180
|
-
*/
|
|
181
|
-
onChange?: (event: {
|
|
182
|
-
dataItem: any;
|
|
183
|
-
event: any;
|
|
184
|
-
field?: string;
|
|
185
|
-
value?: any;
|
|
186
|
-
}) => void;
|
|
187
|
-
/**
|
|
188
|
-
* A function for overriding the default rendering of the cell.
|
|
189
|
-
*/
|
|
190
|
-
render?: any;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
/** @hidden */
|
|
194
|
-
export declare const closestTagName: (target: HTMLElement | null, tagName: 'TD' | 'TR' | 'TABLE') => HTMLElement | null;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Base interface for column props
|
|
198
|
-
*/
|
|
199
|
-
export declare interface ColumnBaseProps {
|
|
200
|
-
/**
|
|
201
|
-
* The field to which the column is bound.
|
|
202
|
-
*/
|
|
203
|
-
field?: string;
|
|
204
|
-
/**
|
|
205
|
-
* The title of the column.
|
|
206
|
-
*/
|
|
207
|
-
title?: string;
|
|
208
|
-
/**
|
|
209
|
-
* Allows the column headers to be clicked and the `sortChange` event emitted.
|
|
210
|
-
* You have to handle the `sortChange` event yourself and sort the data.
|
|
211
|
-
* Defaults to `true`.
|
|
212
|
-
*/
|
|
213
|
-
sortable?: boolean | ColumnSortSettings;
|
|
214
|
-
/**
|
|
215
|
-
* The width of the column (in pixels).
|
|
216
|
-
*/
|
|
217
|
-
width?: string | number;
|
|
218
|
-
/**
|
|
219
|
-
* Defines if the header selection checkbox is checked.
|
|
220
|
-
*/
|
|
221
|
-
headerSelectionValue?: boolean;
|
|
222
|
-
/**
|
|
223
|
-
* The format that is applied to the value before it is displayed.
|
|
224
|
-
* Takes the `{0:format}` form where `format` is a standard number format, a custom number format,
|
|
225
|
-
* a standard date format, or a custom date format. For more information on the supported date and number formats,
|
|
226
|
-
* refer to the [kendo-intl](https://github.com/telerik/kendo-intl/blob/develop/docs/index.md) documentation.
|
|
227
|
-
*/
|
|
228
|
-
format?: string;
|
|
229
|
-
/**
|
|
230
|
-
* Sets the custom CSS classes to the column header cell.
|
|
231
|
-
*/
|
|
232
|
-
headerClassName?: string;
|
|
233
|
-
/**
|
|
234
|
-
* Sets the custom CSS classes to the column cells.
|
|
235
|
-
*/
|
|
236
|
-
className?: string;
|
|
237
|
-
/**
|
|
238
|
-
* Indicates whether the column is resizable.
|
|
239
|
-
*/
|
|
240
|
-
resizable?: boolean;
|
|
241
|
-
/**
|
|
242
|
-
* Indicates whether the column is reorderable.
|
|
243
|
-
*/
|
|
244
|
-
reorderable?: boolean;
|
|
245
|
-
/**
|
|
246
|
-
* The width of the column (in pixels) below which the user is not able to resize the column through the UI. Defaults to `10`.
|
|
247
|
-
*/
|
|
248
|
-
minResizableWidth?: number;
|
|
249
|
-
/**
|
|
250
|
-
* Determinates the position of the column.
|
|
251
|
-
* Columns with smaller `orderIndex` will appear before columns with bigger `orderIndex`.
|
|
252
|
-
* Defaults to `0`.
|
|
253
|
-
*/
|
|
254
|
-
orderIndex?: number;
|
|
255
|
-
/**
|
|
256
|
-
* The column identifier used to distinguish columns for example in multi column header scenarios with resize and keyboard navigation.
|
|
257
|
-
* Also used for unique key for rendering the component cells.
|
|
258
|
-
* If not set, the component will generate unique `id` automatically.
|
|
259
|
-
*/
|
|
260
|
-
id?: string;
|
|
261
|
-
/**
|
|
262
|
-
* Defines the component that will be rendered as a cell.
|
|
263
|
-
* If not set, a `Cell` will be rendered by default.
|
|
264
|
-
*/
|
|
265
|
-
cell?: any;
|
|
266
|
-
/**
|
|
267
|
-
* @hidden
|
|
268
|
-
*/
|
|
269
|
-
navigatable?: boolean;
|
|
270
|
-
/**
|
|
271
|
-
* @hidden
|
|
272
|
-
*/
|
|
273
|
-
locked?: boolean;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* @hidden
|
|
278
|
-
*/
|
|
279
|
-
export declare const ColumnDefaultProps: {
|
|
280
|
-
filterable: boolean;
|
|
281
|
-
editable: boolean;
|
|
282
|
-
sortable: boolean;
|
|
283
|
-
resizable: boolean;
|
|
284
|
-
reorderable: boolean;
|
|
285
|
-
groupable: boolean;
|
|
286
|
-
};
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* @hidden
|
|
290
|
-
*/
|
|
291
|
-
declare interface ColumnDraggableProps {
|
|
292
|
-
key?: any;
|
|
293
|
-
onPressHandler?: (draggableEvent: any, element: HTMLElement) => void;
|
|
294
|
-
onDragHandler?: (draggableEvent: any, element: HTMLElement) => void;
|
|
295
|
-
onReleaseHandler?: (draggableEvent: any) => void;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* @hidden
|
|
300
|
-
*/
|
|
301
|
-
export declare class ColumnResize {
|
|
302
|
-
/**
|
|
303
|
-
* The main `colgroup` of the Grid.
|
|
304
|
-
*/
|
|
305
|
-
colGroupMain: any | null;
|
|
306
|
-
/**
|
|
307
|
-
* The header `colgroup` of the Grid, if any.
|
|
308
|
-
*/
|
|
309
|
-
colGroupHeader: any | null;
|
|
310
|
-
/**
|
|
311
|
-
* The footer `colgroup` of the Grid (if any).
|
|
312
|
-
*/
|
|
313
|
-
colGroupFooter: any | null;
|
|
314
|
-
columns: ExtendedColumnProps[];
|
|
315
|
-
/**
|
|
316
|
-
* The settings for resizing the Grid.
|
|
317
|
-
*/
|
|
318
|
-
resizable: boolean;
|
|
319
|
-
onResize: (index: number, newWidth: number, oldWidth: number, originalEvent: any, end: boolean) => void;
|
|
320
|
-
private isRtl;
|
|
321
|
-
constructor(triggerResize: (index: number, newWidth: number, oldWidth: number, originalEvent: any, end: boolean) => void);
|
|
322
|
-
setIsRtl: (isRtl: boolean) => void;
|
|
323
|
-
dragHandler(event: any, column: ExtendedColumnProps, dragCue: HTMLSpanElement, end: boolean): void;
|
|
324
|
-
private fixateInitialWidths;
|
|
325
|
-
private setWidths;
|
|
326
|
-
private updateColElements;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* The settings for sorting the columns of the component.
|
|
331
|
-
*/
|
|
332
|
-
export declare type ColumnSortSettings = boolean | {
|
|
333
|
-
/**
|
|
334
|
-
* Enables the removal of the column sorting functionality.
|
|
335
|
-
*/
|
|
336
|
-
allowUnsort?: boolean;
|
|
337
|
-
};
|
|
338
|
-
|
|
339
|
-
/** @hidden */
|
|
340
|
-
export declare const combineFilters: (first?: CompositeFilterDescriptor, second?: CompositeFilterDescriptor) => CompositeFilterDescriptor;
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* @hidden
|
|
344
|
-
*/
|
|
345
|
-
export declare class CommonDragLogic {
|
|
346
|
-
columns: ExtendedColumnProps[];
|
|
347
|
-
reorderable: boolean;
|
|
348
|
-
groupable: boolean;
|
|
349
|
-
dropElementClue: any | null;
|
|
350
|
-
dragElementClue: any | null;
|
|
351
|
-
private startColumn;
|
|
352
|
-
private startGroup;
|
|
353
|
-
private currentColumn;
|
|
354
|
-
private currentGroup;
|
|
355
|
-
private columnReorder;
|
|
356
|
-
private groupReorder;
|
|
357
|
-
private columnToGroup;
|
|
358
|
-
private groupPanelDivElement;
|
|
359
|
-
constructor(columnReorder: handler, groupReorder: handler, columnToGroup: handler);
|
|
360
|
-
refGroupPanelDiv: (e: any | null) => void;
|
|
361
|
-
refDropElementClue: (e: any | null) => void;
|
|
362
|
-
refDragElementClue: (e: any | null) => void;
|
|
363
|
-
pressHandler: (event: any, element: HTMLElement) => void;
|
|
364
|
-
dragHandler: (event: any, element: HTMLElement) => void;
|
|
365
|
-
releaseHandler: (event: any) => void;
|
|
366
|
-
private getColumnIndex;
|
|
367
|
-
private isTargetGroupingContainer;
|
|
368
|
-
private getGroupIndex;
|
|
369
|
-
private isValid;
|
|
370
|
-
private updateDragElementClue;
|
|
371
|
-
private updateDropElementClue;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* @hidden
|
|
376
|
-
*/
|
|
377
|
-
export declare const DateFilter: DefineComponent<ExtractPropTypes< {
|
|
378
|
-
filter: {
|
|
379
|
-
type: PropType<FilterDescriptor>;
|
|
380
|
-
required: true;
|
|
381
|
-
};
|
|
382
|
-
onFilterchange: PropType<(event: {
|
|
383
|
-
nextFilter: FilterOperator_2;
|
|
384
|
-
}) => void>;
|
|
385
|
-
}>, {}, {}, {}, {
|
|
386
|
-
onChange(event: any): void;
|
|
387
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
388
|
-
filter: {
|
|
389
|
-
type: PropType<FilterDescriptor>;
|
|
390
|
-
required: true;
|
|
391
|
-
};
|
|
392
|
-
onFilterchange: PropType<(event: {
|
|
393
|
-
nextFilter: FilterOperator_2;
|
|
394
|
-
}) => void>;
|
|
395
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* The props of the DateFilter component.
|
|
399
|
-
*/
|
|
400
|
-
export declare interface DateFilterProps extends TextFilterProps {
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* @hidden
|
|
405
|
-
*/
|
|
406
|
-
export declare const defaultBooleanOperator: string;
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* @hidden
|
|
410
|
-
*/
|
|
411
|
-
export declare const defaultHideSecondFilter: {
|
|
412
|
-
text: boolean;
|
|
413
|
-
numeric: boolean;
|
|
414
|
-
date: boolean;
|
|
415
|
-
boolean: boolean;
|
|
416
|
-
};
|
|
417
|
-
|
|
418
|
-
/** @hidden */
|
|
419
|
-
export declare enum DETAIL_EXPAND_ACTION {
|
|
420
|
-
DETAIL_EXPAND = "DETAIL_EXPAND_DETAIL_EXPAND",
|
|
421
|
-
COLLAPSE = "DETAIL_EXPAND_COLLAPSE",
|
|
422
|
-
TOGGLE = "DETAIL_EXPAND_TOGGLE",
|
|
423
|
-
SET = "DETAIL_EXPAND_SET"
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
/** @hidden */
|
|
427
|
-
export declare type DetailExpandAction = {
|
|
428
|
-
type: DETAIL_EXPAND_ACTION.TOGGLE | DETAIL_EXPAND_ACTION.DETAIL_EXPAND | DETAIL_EXPAND_ACTION.COLLAPSE;
|
|
429
|
-
id: string;
|
|
430
|
-
} | {
|
|
431
|
-
type: DETAIL_EXPAND_ACTION.SET;
|
|
432
|
-
id: string;
|
|
433
|
-
payload: boolean;
|
|
434
|
-
};
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* The descriptor used to define the expanded state of the detail-row.
|
|
438
|
-
*/
|
|
439
|
-
export declare type DetailExpandDescriptor = {
|
|
440
|
-
[id: string]: boolean;
|
|
441
|
-
};
|
|
442
|
-
|
|
443
|
-
/** @hidden */
|
|
444
|
-
export declare const detailExpandReducer: (state: DetailExpandDescriptor, action: DetailExpandAction) => DetailExpandDescriptor;
|
|
445
|
-
|
|
446
|
-
/**
|
|
447
|
-
* @hidden
|
|
448
|
-
*/
|
|
449
|
-
export declare const DragClue: DefineComponent< {}, {}, {
|
|
450
|
-
visible: boolean;
|
|
451
|
-
top: number;
|
|
452
|
-
left: number;
|
|
453
|
-
innerText: string;
|
|
454
|
-
status: string;
|
|
455
|
-
}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* @hidden
|
|
459
|
-
*/
|
|
460
|
-
export declare const DropClue: DefineComponent< {}, {}, {
|
|
461
|
-
height: number;
|
|
462
|
-
visible: boolean;
|
|
463
|
-
left: number;
|
|
464
|
-
top: number;
|
|
465
|
-
}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
466
|
-
|
|
467
|
-
/**
|
|
468
|
-
* @hidden
|
|
469
|
-
*/
|
|
470
|
-
export declare enum EDIT_ACTION {
|
|
471
|
-
ENTER_EDIT = "EDITING_ENTER_EDIT",
|
|
472
|
-
ENTER_FIELD_EDIT = "EDITING_ENTER_FIELD_EDIT",
|
|
473
|
-
ADD_EDIT = "EDITING_ADD_EDIT",
|
|
474
|
-
ADD_FIELD_EDIT = "EDITING_ADD_FIELD_EDIT",
|
|
475
|
-
EXIT_EDIT = "EDITING_EXIT_EDIT",
|
|
476
|
-
EXIT_FIELD_EDIT = "EDITING_EXIT_FIELD_EDIT",
|
|
477
|
-
TOGGLE_EDIT = "EDITING_TOGGLE_EDIT",
|
|
478
|
-
TOGGLE_FIELD_EDIT = "EDITING_TOGGLE_FIELD_EDIT"
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* @hidden
|
|
483
|
-
*/
|
|
484
|
-
export declare type EditAction = {
|
|
485
|
-
type: EDIT_ACTION.ENTER_EDIT | EDIT_ACTION.ADD_EDIT | EDIT_ACTION.EXIT_EDIT | EDIT_ACTION.TOGGLE_EDIT;
|
|
486
|
-
payload: {
|
|
487
|
-
id: string;
|
|
488
|
-
};
|
|
489
|
-
} | {
|
|
490
|
-
type: EDIT_ACTION.ENTER_FIELD_EDIT | EDIT_ACTION.ADD_FIELD_EDIT | EDIT_ACTION.EXIT_FIELD_EDIT | EDIT_ACTION.TOGGLE_FIELD_EDIT;
|
|
491
|
-
payload: {
|
|
492
|
-
id: string;
|
|
493
|
-
field: string;
|
|
494
|
-
};
|
|
495
|
-
};
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* The `edit` descriptor used to identify which data-items are in edit mode.
|
|
499
|
-
*
|
|
500
|
-
* @example
|
|
501
|
-
* ```ts
|
|
502
|
-
* const data = [
|
|
503
|
-
* { id: 0, name: 'Jane Doe' },
|
|
504
|
-
* { id: 1, name: 'John Doe' }
|
|
505
|
-
* ]
|
|
506
|
-
*
|
|
507
|
-
* const edit = {
|
|
508
|
-
* 1: true
|
|
509
|
-
* }
|
|
510
|
-
* ```
|
|
511
|
-
*/
|
|
512
|
-
export declare type EditDescriptor = {
|
|
513
|
-
/**
|
|
514
|
-
* The data-item id is in edit mode.
|
|
515
|
-
* If the value is `true` if the whole item (row) is in edit mode.
|
|
516
|
-
* If the value is an array of strings if only specific fields (cells) are in edit mode.
|
|
517
|
-
*/
|
|
518
|
-
[id: string]: boolean | string[];
|
|
519
|
-
};
|
|
520
|
-
|
|
521
|
-
/**
|
|
522
|
-
* @hidden
|
|
523
|
-
*/
|
|
524
|
-
export declare const editReducer: (state: EditDescriptor, action: EditAction) => EditDescriptor;
|
|
525
|
-
|
|
526
|
-
/**
|
|
527
|
-
* @hidden
|
|
528
|
-
*/
|
|
529
|
-
export declare const EnumFilter: DefineComponent<ExtractPropTypes< {
|
|
530
|
-
filter: {
|
|
531
|
-
type: PropType<FilterDescriptor>;
|
|
532
|
-
required: true;
|
|
533
|
-
};
|
|
534
|
-
dataItems: PropType<{
|
|
535
|
-
text: string;
|
|
536
|
-
value: any;
|
|
537
|
-
}[]>;
|
|
538
|
-
defaultItem: PropType<any>;
|
|
539
|
-
ariaLabel: PropType<string>;
|
|
540
|
-
onFilterchange: PropType<(event: {
|
|
541
|
-
nextFilter: FilterOperator_2;
|
|
542
|
-
}) => void>;
|
|
543
|
-
}>, {}, {}, {}, {
|
|
544
|
-
onChange(event: any): void;
|
|
545
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
546
|
-
filter: {
|
|
547
|
-
type: PropType<FilterDescriptor>;
|
|
548
|
-
required: true;
|
|
549
|
-
};
|
|
550
|
-
dataItems: PropType<{
|
|
551
|
-
text: string;
|
|
552
|
-
value: any;
|
|
553
|
-
}[]>;
|
|
554
|
-
defaultItem: PropType<any>;
|
|
555
|
-
ariaLabel: PropType<string>;
|
|
556
|
-
onFilterchange: PropType<(event: {
|
|
557
|
-
nextFilter: FilterOperator_2;
|
|
558
|
-
}) => void>;
|
|
559
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
560
|
-
|
|
561
|
-
/**
|
|
562
|
-
* The props of the EnumFilter component.
|
|
563
|
-
*/
|
|
564
|
-
export declare interface EnumFilterProps extends TextFilterProps {
|
|
565
|
-
/**
|
|
566
|
-
* A collection of text-value pairs passed to the EnumFilter DropDownList.
|
|
567
|
-
*/
|
|
568
|
-
dataItems?: Array<{
|
|
569
|
-
text: string;
|
|
570
|
-
value: any;
|
|
571
|
-
}>;
|
|
572
|
-
/**
|
|
573
|
-
* The defaultItem passed to the EnumFilter DropDownList.
|
|
574
|
-
*/
|
|
575
|
-
defaultItem?: any;
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
/**
|
|
579
|
-
* @hidden
|
|
580
|
-
*/
|
|
581
|
-
export declare const Expression: DefineComponent<ExtractPropTypes< {
|
|
582
|
-
filter: {
|
|
583
|
-
type: PropType<FilterDescriptor>;
|
|
584
|
-
required: true;
|
|
585
|
-
};
|
|
586
|
-
fields: {
|
|
587
|
-
type: PropType<FieldSettings[]>;
|
|
588
|
-
required: true;
|
|
589
|
-
};
|
|
590
|
-
}>, {}, {}, {}, {
|
|
591
|
-
onFieldChange(event: DropDownListChangeEvent): void;
|
|
592
|
-
onOperatorChange(event: DropDownListChangeEvent): void;
|
|
593
|
-
onInputChange(event: any): void;
|
|
594
|
-
triggerOnFilterChange(prevFilter: FilterDescriptor, nextFilter: FilterDescriptor, event: any): void;
|
|
595
|
-
onFilterRemove(event: any): void;
|
|
596
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
597
|
-
change: any;
|
|
598
|
-
remove: any;
|
|
599
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
600
|
-
filter: {
|
|
601
|
-
type: PropType<FilterDescriptor>;
|
|
602
|
-
required: true;
|
|
603
|
-
};
|
|
604
|
-
fields: {
|
|
605
|
-
type: PropType<FieldSettings[]>;
|
|
606
|
-
required: true;
|
|
607
|
-
};
|
|
608
|
-
}>> & Readonly<{
|
|
609
|
-
onChange?: (...args: any[] | unknown[]) => any;
|
|
610
|
-
onRemove?: (...args: any[] | unknown[]) => any;
|
|
611
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
612
|
-
|
|
613
|
-
/**
|
|
614
|
-
* @hidden
|
|
615
|
-
*/
|
|
616
|
-
export declare interface ExpressionChangeEvent {
|
|
617
|
-
target: any;
|
|
618
|
-
event: any;
|
|
619
|
-
prevFilter: FilterDescriptor;
|
|
620
|
-
nextFilter: FilterDescriptor;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
* @hidden
|
|
625
|
-
*/
|
|
626
|
-
export declare interface ExpressionProps {
|
|
627
|
-
filter: FilterDescriptor;
|
|
628
|
-
fields: Array<FieldSettings>;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
* @hidden
|
|
633
|
-
*/
|
|
634
|
-
export declare interface ExpressionRemoveEvent {
|
|
635
|
-
target: any;
|
|
636
|
-
event: any;
|
|
637
|
-
filter: FilterDescriptor;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* @hidden
|
|
642
|
-
*/
|
|
643
|
-
export declare interface ExtendedColumnProps extends TreeColumnBaseProps {
|
|
644
|
-
declarationIndex: number;
|
|
645
|
-
parentIndex: number;
|
|
646
|
-
colSpan: number;
|
|
647
|
-
rowSpan: number;
|
|
648
|
-
depth: number;
|
|
649
|
-
kFirst?: boolean;
|
|
650
|
-
index: number;
|
|
651
|
-
children: ExtendedColumnProps[];
|
|
652
|
-
left: number;
|
|
653
|
-
right: number;
|
|
654
|
-
rightBorder: boolean;
|
|
655
|
-
groupable: boolean;
|
|
656
|
-
ariaColumnIndex: number;
|
|
657
|
-
isAccessible: boolean;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
/**
|
|
661
|
-
* The FieldSettings object.
|
|
662
|
-
*/
|
|
663
|
-
export declare interface FieldSettings {
|
|
664
|
-
/**
|
|
665
|
-
* The field name.
|
|
666
|
-
*/
|
|
667
|
-
name: string;
|
|
668
|
-
/**
|
|
669
|
-
* The field label, which will be shown in the fields DropDownList.
|
|
670
|
-
*/
|
|
671
|
-
label: string;
|
|
672
|
-
/**
|
|
673
|
-
* The filter editor component. Could be any of the built-in TextFilter, NumericFilter, DateFilter, BooleanFilter or a custom component.
|
|
674
|
-
*/
|
|
675
|
-
filter: any;
|
|
676
|
-
/**
|
|
677
|
-
* The collection of operators which will be passed to the operators DropDownList.
|
|
678
|
-
*/
|
|
679
|
-
operators: Array<FilterOperator>;
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
* @hidden
|
|
684
|
-
*/
|
|
685
|
-
export declare const Filter: DefineComponent<ExtractPropTypes< {
|
|
686
|
-
fields: {
|
|
687
|
-
type: PropType<FieldSettings[]>;
|
|
688
|
-
required: true;
|
|
689
|
-
};
|
|
690
|
-
modelValue: {
|
|
691
|
-
type: PropType<any>;
|
|
692
|
-
default: any;
|
|
693
|
-
};
|
|
694
|
-
value: PropType<CompositeFilterDescriptor>;
|
|
695
|
-
defaultGroupFilter: PropType<CompositeFilterDescriptor>;
|
|
696
|
-
upperToolbarAriaLabel: {
|
|
697
|
-
type: PropType<string>;
|
|
698
|
-
default: any;
|
|
699
|
-
};
|
|
700
|
-
}>, {}, {}, {
|
|
701
|
-
computedValue(): any;
|
|
702
|
-
}, {
|
|
703
|
-
onFilterChange(event: GroupChangeEvent): void;
|
|
704
|
-
onGroupRemove(event: GroupRemoveEvent): void;
|
|
705
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
706
|
-
change: any;
|
|
707
|
-
changemodel: any;
|
|
708
|
-
'update:modelValue': any;
|
|
709
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
710
|
-
fields: {
|
|
711
|
-
type: PropType<FieldSettings[]>;
|
|
712
|
-
required: true;
|
|
713
|
-
};
|
|
714
|
-
modelValue: {
|
|
715
|
-
type: PropType<any>;
|
|
716
|
-
default: any;
|
|
717
|
-
};
|
|
718
|
-
value: PropType<CompositeFilterDescriptor>;
|
|
719
|
-
defaultGroupFilter: PropType<CompositeFilterDescriptor>;
|
|
720
|
-
upperToolbarAriaLabel: {
|
|
721
|
-
type: PropType<string>;
|
|
722
|
-
default: any;
|
|
723
|
-
};
|
|
724
|
-
}>> & Readonly<{
|
|
725
|
-
onChange?: (...args: any[] | unknown[]) => any;
|
|
726
|
-
onChangemodel?: (...args: any[] | unknown[]) => any;
|
|
727
|
-
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
728
|
-
}>, {
|
|
729
|
-
modelValue: any;
|
|
730
|
-
upperToolbarAriaLabel: string;
|
|
731
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
732
|
-
|
|
733
|
-
/**
|
|
734
|
-
* Filters the provided data tree according to the specified `Array<FilterDescriptor|CompositeFilterDescriptor>`.
|
|
735
|
-
*
|
|
736
|
-
* @param {T[]} data - The data that will be filtered.
|
|
737
|
-
* @param {FilterDescriptor[]|CompositeFilterDescriptor[]} descriptors - The filter criteria that will be applied.
|
|
738
|
-
* @param {string} subItemsField - The field which points to the subitems collection of each data item.
|
|
739
|
-
* @returns {T[]} - The filtered data.
|
|
740
|
-
*/
|
|
741
|
-
export declare function filterBy(data: any[], descriptors: FilterDescriptor[] | CompositeFilterDescriptor[], subItemsField: string): any[];
|
|
742
|
-
|
|
743
|
-
/**
|
|
744
|
-
* @hidden
|
|
745
|
-
*/
|
|
746
|
-
export declare const FilterCell: DefineComponent<ExtractPropTypes< {
|
|
747
|
-
id: PropType<string>;
|
|
748
|
-
grid: PropType<any>;
|
|
749
|
-
field: PropType<string>;
|
|
750
|
-
filterType: PropType<string>;
|
|
751
|
-
colSpan: PropType<number>;
|
|
752
|
-
title: PropType<string>;
|
|
753
|
-
value: PropType<any>;
|
|
754
|
-
operator: PropType<string>;
|
|
755
|
-
operators: PropType<FilterOperators_2[]>;
|
|
756
|
-
booleanValues: PropType<FilterOperator_3[]>;
|
|
757
|
-
onChange: PropType<(event: {
|
|
758
|
-
value: any;
|
|
759
|
-
operator: string | Function;
|
|
760
|
-
event: any;
|
|
761
|
-
}) => void>;
|
|
762
|
-
render: PropType<any>;
|
|
763
|
-
ariaLabel: PropType<string>;
|
|
764
|
-
size: PropType<"small" | "medium" | "large">;
|
|
765
|
-
}>, {
|
|
766
|
-
kendoIntlService: {};
|
|
767
|
-
kendoLocalizationService: {};
|
|
768
|
-
}, {}, {}, {
|
|
769
|
-
inputChange(value: any, e: any): void;
|
|
770
|
-
operatorChange(operatorValue: any, e: any): void;
|
|
771
|
-
boolDropdownChange(value: any, e: any): void;
|
|
772
|
-
clear(e: any): void;
|
|
773
|
-
triggerChange(filter: any): void;
|
|
774
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
775
|
-
change: any;
|
|
776
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
777
|
-
id: PropType<string>;
|
|
778
|
-
grid: PropType<any>;
|
|
779
|
-
field: PropType<string>;
|
|
780
|
-
filterType: PropType<string>;
|
|
781
|
-
colSpan: PropType<number>;
|
|
782
|
-
title: PropType<string>;
|
|
783
|
-
value: PropType<any>;
|
|
784
|
-
operator: PropType<string>;
|
|
785
|
-
operators: PropType<FilterOperators_2[]>;
|
|
786
|
-
booleanValues: PropType<FilterOperator_3[]>;
|
|
787
|
-
onChange: PropType<(event: {
|
|
788
|
-
value: any;
|
|
789
|
-
operator: string | Function;
|
|
790
|
-
event: any;
|
|
791
|
-
}) => void>;
|
|
792
|
-
render: PropType<any>;
|
|
793
|
-
ariaLabel: PropType<string>;
|
|
794
|
-
size: PropType<"small" | "medium" | "large">;
|
|
795
|
-
}>> & Readonly<{
|
|
796
|
-
onChange?: (...args: any[] | unknown[]) => any;
|
|
797
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
* The props of the FilterCell component
|
|
801
|
-
* ([more information and examples]({% slug filtering_grid %})).
|
|
802
|
-
*/
|
|
803
|
-
/**
|
|
804
|
-
* @hidden
|
|
805
|
-
*/
|
|
806
|
-
export declare interface FilterCellProps {
|
|
807
|
-
/**
|
|
808
|
-
* @hidden
|
|
809
|
-
*/
|
|
810
|
-
id: string;
|
|
811
|
-
/**
|
|
812
|
-
* The instance of the component.
|
|
813
|
-
*/
|
|
814
|
-
grid?: any;
|
|
815
|
-
/**
|
|
816
|
-
* The title of the filter editor.
|
|
817
|
-
*/
|
|
818
|
-
title?: string;
|
|
819
|
-
/**
|
|
820
|
-
* The column span of the cell.
|
|
821
|
-
*/
|
|
822
|
-
colSpan?: number;
|
|
823
|
-
/**
|
|
824
|
-
* The column field in which the cell is located.
|
|
825
|
-
*/
|
|
826
|
-
field?: string;
|
|
827
|
-
/**
|
|
828
|
-
* The type of the filter. Determines which editor will be rendered for filtering.
|
|
829
|
-
* The supported values are the following 0 'text' | 'numeric' | 'boolean' | 'date;
|
|
830
|
-
*/
|
|
831
|
-
filterType: string;
|
|
832
|
-
/**
|
|
833
|
-
* The value of the cell.
|
|
834
|
-
*/
|
|
835
|
-
value: any;
|
|
836
|
-
/**
|
|
837
|
-
* The operator that will be used for the cell filtering.
|
|
838
|
-
*/
|
|
839
|
-
operator: string;
|
|
840
|
-
/**
|
|
841
|
-
* The list of the default operators for the current filter type.
|
|
842
|
-
*/
|
|
843
|
-
operators?: FilterOperators[];
|
|
844
|
-
/**
|
|
845
|
-
* The list of values for the Boolean filter.
|
|
846
|
-
*/
|
|
847
|
-
booleanValues: FilterOperator[];
|
|
848
|
-
/**
|
|
849
|
-
* The method that will be called if the cell needs to inform its parent about a change.
|
|
850
|
-
*/
|
|
851
|
-
onChange?: (event: {
|
|
852
|
-
value: any;
|
|
853
|
-
operator: string | Function;
|
|
854
|
-
event: any;
|
|
855
|
-
}) => void;
|
|
856
|
-
/**
|
|
857
|
-
* The method for rendering the filter cell.
|
|
858
|
-
*/
|
|
859
|
-
render?: any;
|
|
860
|
-
/**
|
|
861
|
-
* The title of the clear button.
|
|
862
|
-
*/
|
|
863
|
-
clearButtonTitle?: string;
|
|
864
|
-
/**
|
|
865
|
-
* The ariaLabel of the filter editor.
|
|
866
|
-
*/
|
|
867
|
-
ariaLabel?: string;
|
|
868
|
-
/**
|
|
869
|
-
* Configures the `size` of the cell.
|
|
870
|
-
*
|
|
871
|
-
* The available options are:
|
|
872
|
-
* - small
|
|
873
|
-
* - medium
|
|
874
|
-
* - large
|
|
875
|
-
*
|
|
876
|
-
* @default `undefined`
|
|
877
|
-
*/
|
|
878
|
-
size?: 'small' | 'medium' | 'large';
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
/**
|
|
882
|
-
* The FilterChangeEvent object.
|
|
883
|
-
*/
|
|
884
|
-
export declare interface FilterChangeEvent {
|
|
885
|
-
target: any;
|
|
886
|
-
event: any;
|
|
887
|
-
/**
|
|
888
|
-
* The changed composite filter descriptor.
|
|
889
|
-
*/
|
|
890
|
-
filter: CompositeFilterDescriptor;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
/**
|
|
894
|
-
* @hidden
|
|
895
|
-
*/
|
|
896
|
-
export declare const filterLogicList: {
|
|
897
|
-
text: string;
|
|
898
|
-
operator: string;
|
|
899
|
-
}[];
|
|
900
|
-
|
|
901
|
-
/**
|
|
902
|
-
* A filter operator object.
|
|
903
|
-
*/
|
|
904
|
-
export declare interface FilterOperator {
|
|
905
|
-
/**
|
|
906
|
-
* The label of the operator.
|
|
907
|
-
*/
|
|
908
|
-
text: string;
|
|
909
|
-
/**
|
|
910
|
-
* The operator value.
|
|
911
|
-
*/
|
|
912
|
-
operator: any;
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
/**
|
|
916
|
-
* The filter operators for the filters.
|
|
917
|
-
*
|
|
918
|
-
* @example
|
|
919
|
-
* ```jsx-no-run
|
|
920
|
-
* // Default filter operators:
|
|
921
|
-
* const filterOperators: {
|
|
922
|
-
* 'text': [
|
|
923
|
-
* { text: 'grid.filterContainsOperator', operator: 'contains' },
|
|
924
|
-
* { text: 'grid.filterNotContainsOperator', operator: 'doesnotcontain' },
|
|
925
|
-
* { text: 'grid.filterEqOperator', operator: 'eq' },
|
|
926
|
-
* { text: 'grid.filterNotEqOperator', operator: 'neq' },
|
|
927
|
-
* { text: 'grid.filterStartsWithOperator', operator: 'startswith' },
|
|
928
|
-
* { text: 'grid.filterEndsWithOperator', operator: 'endswith' },
|
|
929
|
-
* { text: 'grid.filterIsNullOperator', operator: 'isnull' },
|
|
930
|
-
* { text: 'grid.filterIsNotNullOperator', operator: 'isnotnull' },
|
|
931
|
-
* { text: 'grid.filterIsEmptyOperator', operator: 'isempty' },
|
|
932
|
-
* { text: 'grid.filterIsNotEmptyOperator', operator: 'isnotempty' }
|
|
933
|
-
* ],
|
|
934
|
-
* 'numeric': [
|
|
935
|
-
* { text: 'grid.filterEqOperator', operator: 'eq' },
|
|
936
|
-
* { text: 'grid.filterNotEqOperator', operator: 'neq' },
|
|
937
|
-
* { text: 'grid.filterGteOperator', operator: 'gte' },
|
|
938
|
-
* { text: 'grid.filterGtOperator', operator: 'gt' },
|
|
939
|
-
* { text: 'grid.filterLteOperator', operator: 'lte' },
|
|
940
|
-
* { text: 'grid.filterLtOperator', operator: 'lt' },
|
|
941
|
-
* { text: 'grid.filterIsNullOperator', operator: 'isnull' },
|
|
942
|
-
* { text: 'grid.filterIsNotNullOperator', operator: 'isnotnull' }
|
|
943
|
-
* ],
|
|
944
|
-
* 'date': [
|
|
945
|
-
* { text: 'grid.filterEqOperator', operator: 'eq' },
|
|
946
|
-
* { text: 'grid.filterNotEqOperator', operator: 'neq' },
|
|
947
|
-
* { text: 'grid.filterAfterOrEqualOperator', operator: 'gte' },
|
|
948
|
-
* { text: 'grid.filterAfterOperator', operator: 'gt' },
|
|
949
|
-
* { text: 'grid.filterBeforeOperator', operator: 'lt' },
|
|
950
|
-
* { text: 'grid.filterBeforeOrEqualOperator', operator: 'lte' },
|
|
951
|
-
* { text: 'grid.filterIsNullOperator', operator: 'isnull' },
|
|
952
|
-
* { text: 'grid.filterIsNotNullOperator', operator: 'isnotnull' }
|
|
953
|
-
* ],
|
|
954
|
-
* 'boolean': [
|
|
955
|
-
* { text: 'grid.filterEqOperator', operator: 'eq' }
|
|
956
|
-
* ]
|
|
957
|
-
* }
|
|
958
|
-
* ```
|
|
959
|
-
*/
|
|
960
|
-
export declare interface FilterOperators {
|
|
961
|
-
[type: string]: FilterOperator[];
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
/**
|
|
965
|
-
* The props of the Filter component.
|
|
966
|
-
*/
|
|
967
|
-
export declare interface FilterProps {
|
|
968
|
-
/**
|
|
969
|
-
* The fields settings of the Filter.
|
|
970
|
-
*/
|
|
971
|
-
fields: Array<FieldSettings>;
|
|
972
|
-
/**
|
|
973
|
-
* The composite filter descriptor value.
|
|
974
|
-
*/
|
|
975
|
-
value: CompositeFilterDescriptor;
|
|
976
|
-
/**
|
|
977
|
-
* @hidden
|
|
978
|
-
*/
|
|
979
|
-
modelValue?: any;
|
|
980
|
-
/**
|
|
981
|
-
* The Filter onChange event.
|
|
982
|
-
*/
|
|
983
|
-
onChange?: (event: FilterChangeEvent) => void;
|
|
984
|
-
/**
|
|
985
|
-
* The initial composite filter descriptor which will be used when a new group is created.
|
|
986
|
-
*/
|
|
987
|
-
defaultGroupFilter?: CompositeFilterDescriptor;
|
|
988
|
-
/**
|
|
989
|
-
* Defines the `aria-label` attribute of the upper-most Toolbar that is part of the Filter component .
|
|
990
|
-
*/
|
|
991
|
-
upperToolbarAriaLabel?: string;
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
/**
|
|
995
|
-
* @hidden
|
|
996
|
-
*/
|
|
997
|
-
export declare const FilterRow: DefineComponent<ExtractPropTypes< {
|
|
998
|
-
grid: PropType<any>;
|
|
999
|
-
columns: PropType<ExtendedColumnProps[]>;
|
|
1000
|
-
filter: PropType<any>;
|
|
1001
|
-
filterOperators: PropType<FilterOperators>;
|
|
1002
|
-
sort: PropType<SortDescriptor[]>;
|
|
1003
|
-
cellRender: PropType<any>;
|
|
1004
|
-
isRtl: PropType<boolean>;
|
|
1005
|
-
ariaRowIndex: PropType<number>;
|
|
1006
|
-
size: PropType<string>;
|
|
1007
|
-
}>, {
|
|
1008
|
-
kendoLocalizationService: {};
|
|
1009
|
-
}, {}, {}, {
|
|
1010
|
-
headerCellClassName(field?: string, locked?: boolean): string;
|
|
1011
|
-
setFilter(value: string | number, operator: string | Function, field: string | undefined, e: any): void;
|
|
1012
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1013
|
-
grid: PropType<any>;
|
|
1014
|
-
columns: PropType<ExtendedColumnProps[]>;
|
|
1015
|
-
filter: PropType<any>;
|
|
1016
|
-
filterOperators: PropType<FilterOperators>;
|
|
1017
|
-
sort: PropType<SortDescriptor[]>;
|
|
1018
|
-
cellRender: PropType<any>;
|
|
1019
|
-
isRtl: PropType<boolean>;
|
|
1020
|
-
ariaRowIndex: PropType<number>;
|
|
1021
|
-
size: PropType<string>;
|
|
1022
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1023
|
-
|
|
1024
|
-
/**
|
|
1025
|
-
* @hidden
|
|
1026
|
-
*/
|
|
1027
|
-
export declare interface FilterRowProps {
|
|
1028
|
-
grid: any;
|
|
1029
|
-
columns: ExtendedColumnProps[];
|
|
1030
|
-
filter?: CompositeFilterDescriptor | any;
|
|
1031
|
-
filterOperators: FilterOperators;
|
|
1032
|
-
sort?: SortDescriptor[];
|
|
1033
|
-
cellRender?: any;
|
|
1034
|
-
isRtl?: boolean;
|
|
1035
|
-
ariaRowIndex?: number;
|
|
1036
|
-
size?: string;
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
/** @hidden */
|
|
1040
|
-
export declare const findGroupExpand: (groupExpand: GroupExpandDescriptor[], group: GroupState) => GroupExpandDescriptor | undefined;
|
|
1041
|
-
|
|
1042
|
-
/** @hidden */
|
|
1043
|
-
export declare const flatToTree: (flat: GroupState[]) => GroupExpandDescriptor[];
|
|
1044
|
-
|
|
1045
|
-
/**
|
|
1046
|
-
* @hidden
|
|
1047
|
-
*/
|
|
1048
|
-
export declare const FOCUSABLE_ELEMENTS: string[];
|
|
1049
|
-
|
|
1050
|
-
/** @hidden */
|
|
1051
|
-
export declare const getColumnIndex: (element: HTMLTableCellElement) => number;
|
|
1052
|
-
|
|
1053
|
-
/**
|
|
1054
|
-
* @hidden
|
|
1055
|
-
*/
|
|
1056
|
-
export declare const getDefaultOperator: (filterOperators: FilterOperators | FilterOperator[], filterType?: string) => any;
|
|
1057
|
-
|
|
1058
|
-
/** @hidden */
|
|
1059
|
-
export declare const getDetailExpandableOptions: (expandable?: boolean | TableExpandableSettings) => TableExpandableSettings;
|
|
1060
|
-
|
|
1061
|
-
/**
|
|
1062
|
-
* @hidden
|
|
1063
|
-
*/
|
|
1064
|
-
export declare const getEditableOptions: (editable?: boolean | TableEditableSettings) => Required<TableEditableSettings>;
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* @hidden
|
|
1068
|
-
*/
|
|
1069
|
-
export declare const getFilterType: (filterType: 'text' | 'numeric' | 'boolean' | 'date' | undefined) => "boolean" | "text" | "date" | "numeric";
|
|
1070
|
-
|
|
1071
|
-
/** @hidden */
|
|
1072
|
-
export declare const getGroupExpandableOptions: (groupExpandable?: boolean | TableGroupExpandableSettings) => TableGroupExpandableSettings;
|
|
1073
|
-
|
|
1074
|
-
/**
|
|
1075
|
-
* Get all group ids from the data.
|
|
1076
|
-
*
|
|
1077
|
-
* @param {{data: any[]}} options - The options to be processed.
|
|
1078
|
-
* @returns {string[]} - Collection of all group ids from the data.
|
|
1079
|
-
*/
|
|
1080
|
-
export declare const getGroupIds: (options: {
|
|
1081
|
-
data: any;
|
|
1082
|
-
}) => string[];
|
|
1083
|
-
|
|
1084
|
-
/**
|
|
1085
|
-
* @hidden
|
|
1086
|
-
*/
|
|
1087
|
-
export declare function getIndex(event: any, parent: HTMLTableRowElement | HTMLDivElement | null): number;
|
|
1088
|
-
|
|
1089
|
-
/** @hidden */
|
|
1090
|
-
export declare const getOffset: (offsetParent: any) => any;
|
|
1091
|
-
|
|
1092
|
-
/** @hidden */
|
|
1093
|
-
export declare const getRowIndex: (element: HTMLTableRowElement) => number;
|
|
1094
|
-
|
|
1095
|
-
/** @hidden */
|
|
1096
|
-
export declare const getSearchFromString: (search: CompositeFilterDescriptor, value: string) => CompositeFilterDescriptor;
|
|
1097
|
-
|
|
1098
|
-
/**
|
|
1099
|
-
* Get selected state from the component selection event.
|
|
1100
|
-
*
|
|
1101
|
-
* @param {{event: TableSelectionChangeEvent, selectedState: {[id: string]: boolean | number[]}, dataItemKey: string}} options
|
|
1102
|
-
* @returns {{[id: string]: boolean | number[]}} - The new selected state.
|
|
1103
|
-
*/
|
|
1104
|
-
export declare const getSelectedState: (options: {
|
|
1105
|
-
event: TableSelectionChangeEvent;
|
|
1106
|
-
selectedState: {
|
|
1107
|
-
[id: string]: boolean | number[];
|
|
1108
|
-
};
|
|
1109
|
-
dataItemKey: string;
|
|
1110
|
-
}) => {
|
|
1111
|
-
[id: string]: boolean | number[];
|
|
1112
|
-
};
|
|
1113
|
-
|
|
1114
|
-
/**
|
|
1115
|
-
* Get selected state from the component KeyDown event.
|
|
1116
|
-
*
|
|
1117
|
-
* @param {{event: TableKeyDownEvent, selectedState: {[id: string]: boolean | number[]}, dataItemKey: string}} options
|
|
1118
|
-
* @returns {{[id: string]: boolean | number[]}} - The new selected state.
|
|
1119
|
-
*/
|
|
1120
|
-
export declare const getSelectedStateFromKeyDown: (options: {
|
|
1121
|
-
event: TableKeyDownEvent;
|
|
1122
|
-
selectedState: {
|
|
1123
|
-
[id: string]: boolean | number[];
|
|
1124
|
-
};
|
|
1125
|
-
dataItemKey: string;
|
|
1126
|
-
}) => {
|
|
1127
|
-
[id: string]: boolean | number[];
|
|
1128
|
-
};
|
|
1129
|
-
|
|
1130
|
-
/** @hidden */
|
|
1131
|
-
export declare const getSelectionOptions: (selectable?: TableSelectableSettings) => {
|
|
1132
|
-
enabled: boolean;
|
|
1133
|
-
drag: boolean;
|
|
1134
|
-
mode: TableSelectableMode_2;
|
|
1135
|
-
cell: boolean;
|
|
1136
|
-
};
|
|
1137
|
-
|
|
1138
|
-
/** @hidden */
|
|
1139
|
-
export declare const getStringFromSearch: (search: CompositeFilterDescriptor | undefined) => string;
|
|
1140
|
-
|
|
1141
|
-
/**
|
|
1142
|
-
* The pager settings of the Grid ([see example]({% slug paging_grid %})).
|
|
1143
|
-
*
|
|
1144
|
-
* @example
|
|
1145
|
-
* ```tsx-no-run
|
|
1146
|
-
*
|
|
1147
|
-
* <Grid :pageable="{buttonCount: 2,info: false}">
|
|
1148
|
-
* </Grid>
|
|
1149
|
-
* ```
|
|
1150
|
-
*/
|
|
1151
|
-
export declare interface GridPagerSettings {
|
|
1152
|
-
/**
|
|
1153
|
-
* Sets the selected value of the page size Dropdownlist. It is useful when the selected value could also be a string not only a number.
|
|
1154
|
-
*/
|
|
1155
|
-
pageSizeValue?: string | number;
|
|
1156
|
-
/**
|
|
1157
|
-
* Sets the maximum numeric buttons count before the buttons are collapsed.
|
|
1158
|
-
*/
|
|
1159
|
-
buttonCount?: number;
|
|
1160
|
-
/**
|
|
1161
|
-
* Toggles the information about the current page and the total number of records.
|
|
1162
|
-
*/
|
|
1163
|
-
info?: boolean;
|
|
1164
|
-
/**
|
|
1165
|
-
* Defines the type of the Grid pager.
|
|
1166
|
-
*/
|
|
1167
|
-
type?: string;
|
|
1168
|
-
/**
|
|
1169
|
-
* Shows a menu for selecting the page size.
|
|
1170
|
-
*/
|
|
1171
|
-
pageSizes?: boolean | Array<number>;
|
|
1172
|
-
/**
|
|
1173
|
-
* Toggles the **Previous** and **Next** buttons.
|
|
1174
|
-
*/
|
|
1175
|
-
previousNext?: boolean;
|
|
1176
|
-
/**
|
|
1177
|
-
* Defines if the pager will be responsive. Defaults to `true`.
|
|
1178
|
-
*/
|
|
1179
|
-
responsive?: boolean;
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
/**
|
|
1183
|
-
* The type of the Grid pager.
|
|
1184
|
-
*
|
|
1185
|
-
* The available values are:
|
|
1186
|
-
* * `numeric`—Buttons with numbers.
|
|
1187
|
-
* * `input`—An input field for typing the page number.
|
|
1188
|
-
*
|
|
1189
|
-
* @example
|
|
1190
|
-
* ```tsx-no-run
|
|
1191
|
-
*
|
|
1192
|
-
* <Grid
|
|
1193
|
-
* :data-items="products"
|
|
1194
|
-
* :columns="columns"
|
|
1195
|
-
* :pageable="{ type: 'numeric'}">
|
|
1196
|
-
* </Grid>
|
|
1197
|
-
* ```
|
|
1198
|
-
*/
|
|
1199
|
-
export declare type GridPagerType = 'numeric' | 'input';
|
|
1200
|
-
|
|
1201
|
-
/** @hidden */
|
|
1202
|
-
export declare enum GROUP_EXPAND_ACTION {
|
|
1203
|
-
TOGGLE = "GROUP-EXPAND_TOGGLE",
|
|
1204
|
-
EXPAND = "GROUP-EXPAND_EXPAND",
|
|
1205
|
-
COLLAPSE = "GROUP-EXPAND_COLLAPSE",
|
|
1206
|
-
RESET = "GROUP-EXPAND_RESET"
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1209
|
-
/**
|
|
1210
|
-
* @hidden
|
|
1211
|
-
*/
|
|
1212
|
-
export declare interface GroupChangeEvent {
|
|
1213
|
-
target: any;
|
|
1214
|
-
event: any;
|
|
1215
|
-
prevFilter: CompositeFilterDescriptor;
|
|
1216
|
-
nextFilter: CompositeFilterDescriptor;
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
|
-
/** @hidden */
|
|
1220
|
-
export declare type GroupExpandAction = {
|
|
1221
|
-
type: GROUP_EXPAND_ACTION;
|
|
1222
|
-
group: GroupState;
|
|
1223
|
-
};
|
|
1224
|
-
|
|
1225
|
-
/**
|
|
1226
|
-
* The descriptor used to define the expanded state of a group.
|
|
1227
|
-
*/
|
|
1228
|
-
export declare type GroupExpandDescriptor = {
|
|
1229
|
-
value: any;
|
|
1230
|
-
field: string;
|
|
1231
|
-
expanded?: boolean;
|
|
1232
|
-
groups?: GroupExpandDescriptor[];
|
|
1233
|
-
};
|
|
1234
|
-
|
|
1235
|
-
/** @hidden */
|
|
1236
|
-
export declare const groupExpandReducer: (state: GroupExpandDescriptor[], action: GroupExpandAction, options?: TableGroupExpandableSettings) => GroupExpandDescriptor[];
|
|
1237
|
-
|
|
1238
|
-
/**
|
|
1239
|
-
* @hidden
|
|
1240
|
-
*/
|
|
1241
|
-
export declare const GroupFilter: DefineComponent<ExtractPropTypes< {
|
|
1242
|
-
filter: {
|
|
1243
|
-
type: PropType<CompositeFilterDescriptor>;
|
|
1244
|
-
required: true;
|
|
1245
|
-
};
|
|
1246
|
-
fields: {
|
|
1247
|
-
type: PropType<FieldSettings[]>;
|
|
1248
|
-
required: true;
|
|
1249
|
-
};
|
|
1250
|
-
defaultGroupFilter: {
|
|
1251
|
-
type: PropType<CompositeFilterDescriptor>;
|
|
1252
|
-
required: true;
|
|
1253
|
-
};
|
|
1254
|
-
}>, {}, {}, {}, {
|
|
1255
|
-
replaceFilter(prevFilter: FilterDescriptor | CompositeFilterDescriptor, nextFilter: FilterDescriptor | CompositeFilterDescriptor): CompositeFilterDescriptor;
|
|
1256
|
-
onChange(event: ExpressionChangeEvent | GroupChangeEvent): void;
|
|
1257
|
-
onRemove(event: ExpressionRemoveEvent | GroupRemoveEvent): void;
|
|
1258
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1259
|
-
change: any;
|
|
1260
|
-
remove: any;
|
|
1261
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1262
|
-
filter: {
|
|
1263
|
-
type: PropType<CompositeFilterDescriptor>;
|
|
1264
|
-
required: true;
|
|
1265
|
-
};
|
|
1266
|
-
fields: {
|
|
1267
|
-
type: PropType<FieldSettings[]>;
|
|
1268
|
-
required: true;
|
|
1269
|
-
};
|
|
1270
|
-
defaultGroupFilter: {
|
|
1271
|
-
type: PropType<CompositeFilterDescriptor>;
|
|
1272
|
-
required: true;
|
|
1273
|
-
};
|
|
1274
|
-
}>> & Readonly<{
|
|
1275
|
-
onChange?: (...args: any[] | unknown[]) => any;
|
|
1276
|
-
onRemove?: (...args: any[] | unknown[]) => any;
|
|
1277
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1278
|
-
|
|
1279
|
-
/**
|
|
1280
|
-
* @hidden
|
|
1281
|
-
*/
|
|
1282
|
-
export declare interface GroupProps {
|
|
1283
|
-
filter: CompositeFilterDescriptor;
|
|
1284
|
-
fields: Array<FieldSettings>;
|
|
1285
|
-
defaultGroupFilter: CompositeFilterDescriptor;
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1288
|
-
/**
|
|
1289
|
-
* @hidden
|
|
1290
|
-
*/
|
|
1291
|
-
export declare interface GroupRemoveEvent {
|
|
1292
|
-
target: any;
|
|
1293
|
-
event: any;
|
|
1294
|
-
filter: CompositeFilterDescriptor;
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
/** @hidden */
|
|
1298
|
-
export declare type GroupState = {
|
|
1299
|
-
value: any;
|
|
1300
|
-
field: string;
|
|
1301
|
-
expanded?: boolean;
|
|
1302
|
-
parents?: GroupState[];
|
|
1303
|
-
};
|
|
1304
|
-
|
|
1305
|
-
/**
|
|
1306
|
-
* @hidden
|
|
1307
|
-
*/
|
|
1308
|
-
declare type handler = (prevIndex: number, nextIndex: number, event: any) => void;
|
|
1309
|
-
|
|
1310
|
-
/**
|
|
1311
|
-
* @hidden
|
|
1312
|
-
*/
|
|
1313
|
-
export declare const Header: DefineComponent<ExtractPropTypes< {
|
|
1314
|
-
staticHeaders: PropType<boolean>;
|
|
1315
|
-
headerRow: PropType<any>;
|
|
1316
|
-
columnResize: PropType<{
|
|
1317
|
-
colGroupHeader: any | null;
|
|
1318
|
-
setIsRtl: (isRtl: boolean) => void;
|
|
1319
|
-
}>;
|
|
1320
|
-
cols: PropType<Element[]>;
|
|
1321
|
-
draggable: PropType<boolean>;
|
|
1322
|
-
size: PropType<string>;
|
|
1323
|
-
}>, {
|
|
1324
|
-
headerWrapRef: Ref<any, any>;
|
|
1325
|
-
tableRef: Ref<any, any>;
|
|
1326
|
-
colGroupHeaderRef: Ref<any, any>;
|
|
1327
|
-
}, {
|
|
1328
|
-
divStyle: {};
|
|
1329
|
-
element: any;
|
|
1330
|
-
headerWrap: any;
|
|
1331
|
-
table: any;
|
|
1332
|
-
}, {
|
|
1333
|
-
wrapperClass(): {
|
|
1334
|
-
'k-grid-header': boolean;
|
|
1335
|
-
'k-grid-draggable-header': any;
|
|
1336
|
-
};
|
|
1337
|
-
tableClass(): {
|
|
1338
|
-
[x: string]: any;
|
|
1339
|
-
'k-table': boolean;
|
|
1340
|
-
'k-grid-header-table': boolean;
|
|
1341
|
-
};
|
|
1342
|
-
}, {
|
|
1343
|
-
setScrollLeft(scrollLeft: number): void;
|
|
1344
|
-
setWidth(width: number): void;
|
|
1345
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1346
|
-
staticHeaders: PropType<boolean>;
|
|
1347
|
-
headerRow: PropType<any>;
|
|
1348
|
-
columnResize: PropType<{
|
|
1349
|
-
colGroupHeader: any | null;
|
|
1350
|
-
setIsRtl: (isRtl: boolean) => void;
|
|
1351
|
-
}>;
|
|
1352
|
-
cols: PropType<Element[]>;
|
|
1353
|
-
draggable: PropType<boolean>;
|
|
1354
|
-
size: PropType<string>;
|
|
1355
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1356
|
-
|
|
1357
|
-
/**
|
|
1358
|
-
* @hidden
|
|
1359
|
-
*/
|
|
1360
|
-
export declare const HeaderCell: DefineComponent<ExtractPropTypes< {
|
|
1361
|
-
field: PropType<string>;
|
|
1362
|
-
title: PropType<string>;
|
|
1363
|
-
sortable: PropType<SortSettings_2>;
|
|
1364
|
-
render: PropType<any>;
|
|
1365
|
-
onHeadercellclick: PropType<any>;
|
|
1366
|
-
selectionValue: PropType<any>;
|
|
1367
|
-
}>, {}, {}, {
|
|
1368
|
-
linkClass(): {
|
|
1369
|
-
'k-link': boolean;
|
|
1370
|
-
'!k-cursor-default': boolean;
|
|
1371
|
-
};
|
|
1372
|
-
}, {
|
|
1373
|
-
clickHandler(event: any): void;
|
|
1374
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1375
|
-
field: PropType<string>;
|
|
1376
|
-
title: PropType<string>;
|
|
1377
|
-
sortable: PropType<SortSettings_2>;
|
|
1378
|
-
render: PropType<any>;
|
|
1379
|
-
onHeadercellclick: PropType<any>;
|
|
1380
|
-
selectionValue: PropType<any>;
|
|
1381
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1382
|
-
|
|
1383
|
-
/**
|
|
1384
|
-
* The props of the HeaderCellProps component.
|
|
1385
|
-
*/
|
|
1386
|
-
/**
|
|
1387
|
-
* @hidden
|
|
1388
|
-
*/
|
|
1389
|
-
export declare interface HeaderCellProps {
|
|
1390
|
-
/**
|
|
1391
|
-
* The key in which the cell is located.
|
|
1392
|
-
*/
|
|
1393
|
-
key?: any;
|
|
1394
|
-
/**
|
|
1395
|
-
* The column field in which the cell is located.
|
|
1396
|
-
*/
|
|
1397
|
-
field?: string;
|
|
1398
|
-
/**
|
|
1399
|
-
* The title of the column in which the cell is located.
|
|
1400
|
-
*/
|
|
1401
|
-
title?: string;
|
|
1402
|
-
/**
|
|
1403
|
-
* The `click` event handler of the cell.
|
|
1404
|
-
*/
|
|
1405
|
-
onClick?: any;
|
|
1406
|
-
/**
|
|
1407
|
-
* @hidden
|
|
1408
|
-
*/
|
|
1409
|
-
selectionValue?: any;
|
|
1410
|
-
/**
|
|
1411
|
-
* The method for rendering the header cell.
|
|
1412
|
-
*/
|
|
1413
|
-
sortable?: SortSettings;
|
|
1414
|
-
/**
|
|
1415
|
-
* The method for rendering the cell.
|
|
1416
|
-
*/
|
|
1417
|
-
render?: any;
|
|
1418
|
-
/**
|
|
1419
|
-
* The event that is fired when the header cell is clicked.
|
|
1420
|
-
*/
|
|
1421
|
-
onHeadercellclick?: any;
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
/**
|
|
1425
|
-
* @hidden
|
|
1426
|
-
*/
|
|
1427
|
-
export declare interface HeaderProps {
|
|
1428
|
-
ref?: string;
|
|
1429
|
-
staticHeaders: boolean;
|
|
1430
|
-
headerRow: any;
|
|
1431
|
-
columnResize: {
|
|
1432
|
-
colGroupHeader: any | null;
|
|
1433
|
-
setIsRtl: (isRtl: boolean) => void;
|
|
1434
|
-
};
|
|
1435
|
-
cols: Element[];
|
|
1436
|
-
draggable: boolean;
|
|
1437
|
-
size?: string;
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
/**
|
|
1441
|
-
* @hidden
|
|
1442
|
-
*/
|
|
1443
|
-
export declare const HeaderRow: DefineComponent<ExtractPropTypes< {
|
|
1444
|
-
grid: PropType<any>;
|
|
1445
|
-
cellRender: PropType<string | ((h: any, defaultRendering: any | null, props: HeaderCellProps) => any)>;
|
|
1446
|
-
groupable: PropType<any>;
|
|
1447
|
-
reorderable: PropType<boolean>;
|
|
1448
|
-
sortable: PropType<SortSettings>;
|
|
1449
|
-
sort: {
|
|
1450
|
-
type: PropType<any>;
|
|
1451
|
-
};
|
|
1452
|
-
selectedField: PropType<string>;
|
|
1453
|
-
filter: PropType<CompositeFilterDescriptor>;
|
|
1454
|
-
filterable: PropType<boolean>;
|
|
1455
|
-
filterOperators: PropType<FilterOperators>;
|
|
1456
|
-
onFilterChange: PropType<Function>;
|
|
1457
|
-
filterRow: PropType<any>;
|
|
1458
|
-
columns: PropType<ExtendedColumnProps[]>;
|
|
1459
|
-
columnsMap: PropType<number[][]>;
|
|
1460
|
-
columnResize: PropType<any>;
|
|
1461
|
-
columnMenu: PropType<any>;
|
|
1462
|
-
columnMenuAnimate: {
|
|
1463
|
-
type: PropType<boolean | PopupAnimation>;
|
|
1464
|
-
default: () => true;
|
|
1465
|
-
};
|
|
1466
|
-
size: PropType<string>;
|
|
1467
|
-
isRtl: PropType<boolean>;
|
|
1468
|
-
onSortChange: PropType<(descriptors: SortDescriptor[], e: any) => void>;
|
|
1469
|
-
onSelectionchange: PropType<any>;
|
|
1470
|
-
onPressHandler: PropType<(draggableEvent: any, element: HTMLElement) => void>;
|
|
1471
|
-
onDragHandler: PropType<(draggableEvent: any, element: HTMLElement) => void>;
|
|
1472
|
-
onReleaseHandler: PropType<(draggableEvent: any) => void>;
|
|
1473
|
-
}>, {}, {
|
|
1474
|
-
columnMenuOpened: {};
|
|
1475
|
-
}, {
|
|
1476
|
-
element(): any;
|
|
1477
|
-
theadClasses(): any;
|
|
1478
|
-
}, {
|
|
1479
|
-
pressHandler(event: any, element: HTMLElement): void;
|
|
1480
|
-
dragHandler(event: any, element: HTMLElement): void;
|
|
1481
|
-
releaseHandler(event: any): void;
|
|
1482
|
-
selectionChangeHandler(options: any): void;
|
|
1483
|
-
cellClick(e: any, column: ColumnBaseProps): void;
|
|
1484
|
-
sortChangeHandler(newDescriptor: SortDescriptor[], e: any): void;
|
|
1485
|
-
filterChangeHandler(newDescriptor: CompositeFilterDescriptor | null, e: any): void;
|
|
1486
|
-
cellClass(field: string | undefined, headerClassName: string | undefined, locked?: boolean): string;
|
|
1487
|
-
cellKeyDown(event: any, column: ColumnBaseProps): void;
|
|
1488
|
-
getTemplate(template: any): any;
|
|
1489
|
-
columnMenuClose(): void;
|
|
1490
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1491
|
-
grid: PropType<any>;
|
|
1492
|
-
cellRender: PropType<string | ((h: any, defaultRendering: any | null, props: HeaderCellProps) => any)>;
|
|
1493
|
-
groupable: PropType<any>;
|
|
1494
|
-
reorderable: PropType<boolean>;
|
|
1495
|
-
sortable: PropType<SortSettings>;
|
|
1496
|
-
sort: {
|
|
1497
|
-
type: PropType<any>;
|
|
1498
|
-
};
|
|
1499
|
-
selectedField: PropType<string>;
|
|
1500
|
-
filter: PropType<CompositeFilterDescriptor>;
|
|
1501
|
-
filterable: PropType<boolean>;
|
|
1502
|
-
filterOperators: PropType<FilterOperators>;
|
|
1503
|
-
onFilterChange: PropType<Function>;
|
|
1504
|
-
filterRow: PropType<any>;
|
|
1505
|
-
columns: PropType<ExtendedColumnProps[]>;
|
|
1506
|
-
columnsMap: PropType<number[][]>;
|
|
1507
|
-
columnResize: PropType<any>;
|
|
1508
|
-
columnMenu: PropType<any>;
|
|
1509
|
-
columnMenuAnimate: {
|
|
1510
|
-
type: PropType<boolean | PopupAnimation>;
|
|
1511
|
-
default: () => true;
|
|
1512
|
-
};
|
|
1513
|
-
size: PropType<string>;
|
|
1514
|
-
isRtl: PropType<boolean>;
|
|
1515
|
-
onSortChange: PropType<(descriptors: SortDescriptor[], e: any) => void>;
|
|
1516
|
-
onSelectionchange: PropType<any>;
|
|
1517
|
-
onPressHandler: PropType<(draggableEvent: any, element: HTMLElement) => void>;
|
|
1518
|
-
onDragHandler: PropType<(draggableEvent: any, element: HTMLElement) => void>;
|
|
1519
|
-
onReleaseHandler: PropType<(draggableEvent: any) => void>;
|
|
1520
|
-
}>> & Readonly<{}>, {
|
|
1521
|
-
columnMenuAnimate: true;
|
|
1522
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1523
|
-
|
|
1524
|
-
/**
|
|
1525
|
-
* @hidden
|
|
1526
|
-
*/
|
|
1527
|
-
export declare interface HeaderRowProps extends ColumnDraggableProps {
|
|
1528
|
-
grid: any;
|
|
1529
|
-
sortable?: SortSettings;
|
|
1530
|
-
groupable?: any;
|
|
1531
|
-
reorderable?: boolean;
|
|
1532
|
-
onSortChange?: (descriptors: SortDescriptor[], e: any) => void;
|
|
1533
|
-
sort?: any;
|
|
1534
|
-
selectedField?: string;
|
|
1535
|
-
filter?: CompositeFilterDescriptor;
|
|
1536
|
-
filterOperators: FilterOperators;
|
|
1537
|
-
filterable?: boolean | undefined;
|
|
1538
|
-
filterRow?: any;
|
|
1539
|
-
columns: ExtendedColumnProps[];
|
|
1540
|
-
columnResize?: any;
|
|
1541
|
-
columnsMap: number[][];
|
|
1542
|
-
onSelectionchange?: any;
|
|
1543
|
-
cellRender?: ((h: any, defaultRendering: any | null, props: HeaderCellProps) => any) | string | null;
|
|
1544
|
-
columnMenu?: any;
|
|
1545
|
-
columnMenuAnimate?: boolean | PopupAnimation;
|
|
1546
|
-
onFilterChange?: Function;
|
|
1547
|
-
isRtl?: boolean;
|
|
1548
|
-
size: string;
|
|
1549
|
-
}
|
|
1550
|
-
|
|
1551
|
-
/**
|
|
1552
|
-
* @hidden
|
|
1553
|
-
*/
|
|
1554
|
-
export declare const HeaderSelectionCell: DefineComponent<ExtractPropTypes< {
|
|
1555
|
-
field: PropType<string>;
|
|
1556
|
-
title: PropType<string>;
|
|
1557
|
-
sortable: PropType<SortSettings_2>;
|
|
1558
|
-
selectionValue: PropType<any>;
|
|
1559
|
-
render: PropType<any>;
|
|
1560
|
-
}>, {}, {}, {}, {
|
|
1561
|
-
changeHandle(e: any): void;
|
|
1562
|
-
clickHandler(event: any): void;
|
|
1563
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1564
|
-
selectionchange: any;
|
|
1565
|
-
headercellclick: any;
|
|
1566
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1567
|
-
field: PropType<string>;
|
|
1568
|
-
title: PropType<string>;
|
|
1569
|
-
sortable: PropType<SortSettings_2>;
|
|
1570
|
-
selectionValue: PropType<any>;
|
|
1571
|
-
render: PropType<any>;
|
|
1572
|
-
}>> & Readonly<{
|
|
1573
|
-
onSelectionchange?: (...args: any[] | unknown[]) => any;
|
|
1574
|
-
onHeadercellclick?: (...args: any[] | unknown[]) => any;
|
|
1575
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1576
|
-
|
|
1577
|
-
/**
|
|
1578
|
-
* @hidden
|
|
1579
|
-
*/
|
|
1580
|
-
export declare const HeaderTdElement: DefineComponent<ExtractPropTypes< {
|
|
1581
|
-
ariaColumnIndex: PropType<number>;
|
|
1582
|
-
role: PropType<string>;
|
|
1583
|
-
columnId: PropType<string>;
|
|
1584
|
-
navigatable: PropType<boolean>;
|
|
1585
|
-
colSpan: PropType<number>;
|
|
1586
|
-
rowSpan: PropType<number>;
|
|
1587
|
-
}>, {
|
|
1588
|
-
kendoIntlService: {};
|
|
1589
|
-
kendoLocalizationService: {};
|
|
1590
|
-
}, {}, {
|
|
1591
|
-
tdClass(): {
|
|
1592
|
-
[x: number]: any;
|
|
1593
|
-
'k-table-td': boolean;
|
|
1594
|
-
};
|
|
1595
|
-
}, {
|
|
1596
|
-
onKeyDown(e: any): void;
|
|
1597
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1598
|
-
keydown: any;
|
|
1599
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1600
|
-
ariaColumnIndex: PropType<number>;
|
|
1601
|
-
role: PropType<string>;
|
|
1602
|
-
columnId: PropType<string>;
|
|
1603
|
-
navigatable: PropType<boolean>;
|
|
1604
|
-
colSpan: PropType<number>;
|
|
1605
|
-
rowSpan: PropType<number>;
|
|
1606
|
-
}>> & Readonly<{
|
|
1607
|
-
onKeydown?: (...args: any[] | unknown[]) => any;
|
|
1608
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1609
|
-
|
|
1610
|
-
export declare interface HeaderTdElementProps {
|
|
1611
|
-
ariaColumnIndex?: number;
|
|
1612
|
-
colSpan?: number;
|
|
1613
|
-
rowSpan?: number;
|
|
1614
|
-
role?: string;
|
|
1615
|
-
columnId: string;
|
|
1616
|
-
navigatable?: boolean;
|
|
1617
|
-
}
|
|
1618
|
-
|
|
1619
|
-
/**
|
|
1620
|
-
* @hidden
|
|
1621
|
-
*/
|
|
1622
|
-
export declare const HeaderThElement: DefineComponent<ExtractPropTypes< {
|
|
1623
|
-
ariaSort: {
|
|
1624
|
-
type: StringConstructor;
|
|
1625
|
-
validator: (value: string) => any;
|
|
1626
|
-
};
|
|
1627
|
-
ariaLabel: PropType<string>;
|
|
1628
|
-
ariaColumnIndex: PropType<number>;
|
|
1629
|
-
ariaSelected: PropType<boolean>;
|
|
1630
|
-
ariaHaspopup: PropType<string>;
|
|
1631
|
-
colSpan: PropType<number>;
|
|
1632
|
-
rowSpan: PropType<number>;
|
|
1633
|
-
role: PropType<string>;
|
|
1634
|
-
columnId: PropType<string>;
|
|
1635
|
-
navigatable: PropType<boolean>;
|
|
1636
|
-
}>, {
|
|
1637
|
-
kendoIntlService: {};
|
|
1638
|
-
kendoLocalizationService: {};
|
|
1639
|
-
}, {}, {
|
|
1640
|
-
thClass(): {
|
|
1641
|
-
[x: number]: any;
|
|
1642
|
-
'k-table-th': boolean;
|
|
1643
|
-
};
|
|
1644
|
-
}, {
|
|
1645
|
-
onKeyDown(e: any): void;
|
|
1646
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1647
|
-
keydown: any;
|
|
1648
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1649
|
-
ariaSort: {
|
|
1650
|
-
type: StringConstructor;
|
|
1651
|
-
validator: (value: string) => any;
|
|
1652
|
-
};
|
|
1653
|
-
ariaLabel: PropType<string>;
|
|
1654
|
-
ariaColumnIndex: PropType<number>;
|
|
1655
|
-
ariaSelected: PropType<boolean>;
|
|
1656
|
-
ariaHaspopup: PropType<string>;
|
|
1657
|
-
colSpan: PropType<number>;
|
|
1658
|
-
rowSpan: PropType<number>;
|
|
1659
|
-
role: PropType<string>;
|
|
1660
|
-
columnId: PropType<string>;
|
|
1661
|
-
navigatable: PropType<boolean>;
|
|
1662
|
-
}>> & Readonly<{
|
|
1663
|
-
onKeydown?: (...args: any[] | unknown[]) => any;
|
|
1664
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1665
|
-
|
|
1666
|
-
export declare interface HeaderThElementProps {
|
|
1667
|
-
ariaSort?: string;
|
|
1668
|
-
ariaLabel?: string;
|
|
1669
|
-
ariaColumnIndex?: number;
|
|
1670
|
-
ariaSelected?: boolean;
|
|
1671
|
-
ariaHaspopup?: string;
|
|
1672
|
-
colSpan?: number;
|
|
1673
|
-
rowSpan?: number;
|
|
1674
|
-
role?: string;
|
|
1675
|
-
columnId: string;
|
|
1676
|
-
navigatable?: boolean;
|
|
1677
|
-
}
|
|
1678
|
-
|
|
1679
|
-
/** @hidden */
|
|
1680
|
-
export declare const isExpanded: (groupExpand: GroupExpandDescriptor[], group: GroupState) => boolean;
|
|
1681
|
-
|
|
1682
|
-
/**
|
|
1683
|
-
* @hidden
|
|
1684
|
-
*/
|
|
1685
|
-
export declare function isRtl(element: HTMLElement | null): boolean;
|
|
1686
|
-
|
|
1687
|
-
/**
|
|
1688
|
-
* @hidden
|
|
1689
|
-
*/
|
|
1690
|
-
export declare const IsUnaryFilter: (operator: string | Function) => boolean;
|
|
1691
|
-
|
|
1692
|
-
/**
|
|
1693
|
-
* @hidden
|
|
1694
|
-
*/
|
|
1695
|
-
export declare const KEYBOARD_NAV_DATA_BODY = "data-keyboardnavbody";
|
|
1696
|
-
|
|
1697
|
-
/**
|
|
1698
|
-
* @hidden
|
|
1699
|
-
*/
|
|
1700
|
-
export declare const KEYBOARD_NAV_DATA_HEADER = "data-keyboardnavheader";
|
|
1701
|
-
|
|
1702
|
-
/**
|
|
1703
|
-
* @hidden
|
|
1704
|
-
*/
|
|
1705
|
-
export declare const KEYBOARD_NAV_DATA_ID = "data-keyboardnavid";
|
|
1706
|
-
|
|
1707
|
-
/**
|
|
1708
|
-
* @hidden
|
|
1709
|
-
*/
|
|
1710
|
-
export declare const KEYBOARD_NAV_DATA_LEVEL = "data-keyboardnavlevel";
|
|
1711
|
-
|
|
1712
|
-
/**
|
|
1713
|
-
* @hidden
|
|
1714
|
-
*/
|
|
1715
|
-
export declare const KEYBOARD_NAV_DATA_SCOPE = "data-keyboardnavscope";
|
|
1716
|
-
|
|
1717
|
-
/**
|
|
1718
|
-
* @hidden
|
|
1719
|
-
*/
|
|
1720
|
-
export declare const KEYBOARD_NAV_DATA_ZONE = "data-keyboardnavzone";
|
|
1721
|
-
|
|
1722
|
-
/**
|
|
1723
|
-
* @hidden
|
|
1724
|
-
*/
|
|
1725
|
-
export declare const KEYBOARD_NAV_FILTER_COL_SUFFIX = "_filter";
|
|
1726
|
-
|
|
1727
|
-
/**
|
|
1728
|
-
* @hidden
|
|
1729
|
-
*/
|
|
1730
|
-
export declare function mapColumns(columns: Array<{
|
|
1731
|
-
parentIndex: number;
|
|
1732
|
-
colSpan: number;
|
|
1733
|
-
rowSpan: number;
|
|
1734
|
-
depth: number;
|
|
1735
|
-
kFirst?: boolean;
|
|
1736
|
-
children: any[];
|
|
1737
|
-
width?: string | number;
|
|
1738
|
-
locked?: boolean;
|
|
1739
|
-
index: number;
|
|
1740
|
-
left: number;
|
|
1741
|
-
right: number;
|
|
1742
|
-
rightBorder: boolean;
|
|
1743
|
-
ariaColumnIndex: number;
|
|
1744
|
-
}>, changedColumnLength?: boolean): number[][];
|
|
1745
|
-
|
|
1746
|
-
/**
|
|
1747
|
-
* @hidden
|
|
1748
|
-
*/
|
|
1749
|
-
export declare function nextColumn(columns: {
|
|
1750
|
-
depth: number;
|
|
1751
|
-
locked?: boolean;
|
|
1752
|
-
}[], current: number): {
|
|
1753
|
-
depth: number;
|
|
1754
|
-
locked?: boolean;
|
|
1755
|
-
};
|
|
1756
|
-
|
|
1757
|
-
/**
|
|
1758
|
-
* @hidden
|
|
1759
|
-
*/
|
|
1760
|
-
export declare const normalize: (settings: any) => any;
|
|
1761
|
-
|
|
1762
|
-
/**
|
|
1763
|
-
* @hidden
|
|
1764
|
-
*/
|
|
1765
|
-
export declare const NumericFilter: DefineComponent<ExtractPropTypes< {
|
|
1766
|
-
filter: {
|
|
1767
|
-
type: PropType<FilterDescriptor>;
|
|
1768
|
-
required: true;
|
|
1769
|
-
};
|
|
1770
|
-
onFilterchange: PropType<(event: {
|
|
1771
|
-
nextFilter: FilterOperator_2;
|
|
1772
|
-
}) => void>;
|
|
1773
|
-
}>, {}, {}, {}, {
|
|
1774
|
-
onChange(event: any): void;
|
|
1775
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1776
|
-
filter: {
|
|
1777
|
-
type: PropType<FilterDescriptor>;
|
|
1778
|
-
required: true;
|
|
1779
|
-
};
|
|
1780
|
-
onFilterchange: PropType<(event: {
|
|
1781
|
-
nextFilter: FilterOperator_2;
|
|
1782
|
-
}) => void>;
|
|
1783
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1784
|
-
|
|
1785
|
-
/**
|
|
1786
|
-
* The props of the NumericFilter component.
|
|
1787
|
-
*/
|
|
1788
|
-
export declare interface NumericFilterProps extends TextFilterProps {
|
|
1789
|
-
}
|
|
1790
|
-
|
|
1791
|
-
/**
|
|
1792
|
-
* @hidden
|
|
1793
|
-
*/
|
|
1794
|
-
export declare const operatorMap: (iterable: Array<any>, service: any) => {
|
|
1795
|
-
text: any;
|
|
1796
|
-
operator: any;
|
|
1797
|
-
}[];
|
|
1798
|
-
|
|
1799
|
-
/**
|
|
1800
|
-
* Represents the operators for the TextFilter, NumericFilter, DateFilter and BooleanFilter components.
|
|
1801
|
-
*
|
|
1802
|
-
* The text field of each operator object will be resolved according to the
|
|
1803
|
-
* [localization messages]({% slug globalization_datatools %}#toc-messages).
|
|
1804
|
-
*/
|
|
1805
|
-
export declare class Operators {
|
|
1806
|
-
/**
|
|
1807
|
-
* An array containing the operators for the TextFilter component.
|
|
1808
|
-
*
|
|
1809
|
-
* The operators are:
|
|
1810
|
-
*
|
|
1811
|
-
* - { text: 'filter.containsOperator', operator: 'contains' }
|
|
1812
|
-
* - { text: 'filter.notContainsOperator', operator: 'doesnotcontain' }
|
|
1813
|
-
* - { text: 'filter.eqOperator', operator: 'eq' }
|
|
1814
|
-
* - { text: 'filter.notEqOperator', operator: 'neq' }
|
|
1815
|
-
* - { text: 'filter.startsWithOperator', operator: 'startswith' }
|
|
1816
|
-
* - { text: 'filter.endsWithOperator', operator: 'endswith' }
|
|
1817
|
-
* - { text: 'filter.isNullOperator', operator: 'isnull' }
|
|
1818
|
-
* - { text: 'filter.isNotNullOperator', operator: 'isnotnull' }
|
|
1819
|
-
* - { text: 'filter.isEmptyOperator', operator: 'isempty' }
|
|
1820
|
-
* - { text: 'filter.isNotEmptyOperator', operator: 'isnotempty' }
|
|
1821
|
-
*/
|
|
1822
|
-
static get text(): FilterOperator[];
|
|
1823
|
-
/**
|
|
1824
|
-
* An array containing the operators for the NumericFilter component.
|
|
1825
|
-
*
|
|
1826
|
-
* The operators are:
|
|
1827
|
-
*
|
|
1828
|
-
* - { text: 'filter.eqOperator', operator: 'eq' }
|
|
1829
|
-
* - { text: 'filter.notEqOperator', operator: 'neq' }
|
|
1830
|
-
* - { text: 'filter.gteOperator', operator: 'gte' }
|
|
1831
|
-
* - { text: 'filter.gtOperator', operator: 'gt' }
|
|
1832
|
-
* - { text: 'filter.lteOperator', operator: 'lte' }
|
|
1833
|
-
* - { text: 'filter.ltOperator', operator: 'lt' }
|
|
1834
|
-
* - { text: 'filter.isNullOperator', operator: 'isnull' }
|
|
1835
|
-
* - { text: 'filter.isNotNullOperator', operator: 'isnotnull' }
|
|
1836
|
-
*/
|
|
1837
|
-
static get numeric(): FilterOperator[];
|
|
1838
|
-
/**
|
|
1839
|
-
* An array containing the operators for the DateFilter component.
|
|
1840
|
-
*
|
|
1841
|
-
* The operators are:
|
|
1842
|
-
*
|
|
1843
|
-
* - { text: 'filter.eqOperator', operator: 'eq' }
|
|
1844
|
-
* - { text: 'filter.notEqOperator', operator: 'neq' }
|
|
1845
|
-
* - { text: 'filter.afterOrEqualOperator', operator: 'gte' }
|
|
1846
|
-
* - { text: 'filter.afterOperator', operator: 'gt' }
|
|
1847
|
-
* - { text: 'filter.beforeOperator', operator: 'lt' }
|
|
1848
|
-
* - { text: 'filter.beforeOrEqualOperator', operator: 'lte' }
|
|
1849
|
-
* - { text: 'filter.isNullOperator', operator: 'isnull' }
|
|
1850
|
-
* - { text: 'filter.isNotNullOperator', operator: 'isnotnull' }
|
|
1851
|
-
*/
|
|
1852
|
-
static get date(): FilterOperator[];
|
|
1853
|
-
/**
|
|
1854
|
-
* An array containing the operators for the BooleanFilter component.
|
|
1855
|
-
*
|
|
1856
|
-
* The operators are:
|
|
1857
|
-
*
|
|
1858
|
-
* - { text: 'filter.eqOperator', operator: 'eq' }
|
|
1859
|
-
* - { text: 'filter.notEqOperator', operator: 'neq' }
|
|
1860
|
-
*/
|
|
1861
|
-
static get boolean(): FilterOperator[];
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
|
-
/**
|
|
1865
|
-
* @hidden
|
|
1866
|
-
*/
|
|
1867
|
-
export declare const operators: FilterOperators;
|
|
1868
|
-
|
|
1869
|
-
/**
|
|
1870
|
-
* Orders the specified tree according to the provided sort descriptors.
|
|
1871
|
-
*
|
|
1872
|
-
* @param {T[]} data - The data that will be sorted.
|
|
1873
|
-
* @param {SortDescriptor[]} descriptors - The descriptors by which the data will be sorted.
|
|
1874
|
-
* @param {string} subItemsField - The field which points to the subitems collection of each data item.
|
|
1875
|
-
* @returns {T[]} - The sorted data.
|
|
1876
|
-
*/
|
|
1877
|
-
export declare function orderBy(data: any[], descriptors: SortDescriptor[], subItemsField: string): any[];
|
|
1878
|
-
|
|
1879
|
-
/**
|
|
1880
|
-
* The `skip` and `take` configurations which are wrapped in the `page` object.
|
|
1881
|
-
*/
|
|
1882
|
-
export declare interface Page {
|
|
1883
|
-
/**
|
|
1884
|
-
* The number of records that will be skipped.
|
|
1885
|
-
*/
|
|
1886
|
-
skip: number;
|
|
1887
|
-
/**
|
|
1888
|
-
* The number of records that will be taken.
|
|
1889
|
-
*/
|
|
1890
|
-
take: number;
|
|
1891
|
-
}
|
|
1892
|
-
|
|
1893
|
-
/**
|
|
1894
|
-
* Represents the object of the `onPageChange` event.
|
|
1895
|
-
*/
|
|
1896
|
-
export declare interface PageChangeEvent {
|
|
1897
|
-
/**
|
|
1898
|
-
* An event target.
|
|
1899
|
-
*/
|
|
1900
|
-
target: any;
|
|
1901
|
-
/**
|
|
1902
|
-
* A native DOM event.
|
|
1903
|
-
*/
|
|
1904
|
-
event: any;
|
|
1905
|
-
/**
|
|
1906
|
-
* The number of records that will be skipped.
|
|
1907
|
-
*/
|
|
1908
|
-
skip: number;
|
|
1909
|
-
/**
|
|
1910
|
-
* The number of records that will be taken.
|
|
1911
|
-
*/
|
|
1912
|
-
take: number;
|
|
1913
|
-
}
|
|
1914
|
-
|
|
1915
|
-
/**
|
|
1916
|
-
* @hidden
|
|
1917
|
-
*/
|
|
1918
|
-
export declare const Pager: DefineComponent<ExtractPropTypes< {
|
|
1919
|
-
pageSizeValue: PropType<string | number>;
|
|
1920
|
-
total: PropType<number>;
|
|
1921
|
-
skip: PropType<number>;
|
|
1922
|
-
take: PropType<number>;
|
|
1923
|
-
pageSize: PropType<number>;
|
|
1924
|
-
settings: PropType<boolean | GridPagerSettings>;
|
|
1925
|
-
buttonCount: {
|
|
1926
|
-
type: PropType<number>;
|
|
1927
|
-
default: number;
|
|
1928
|
-
};
|
|
1929
|
-
info: {
|
|
1930
|
-
type: PropType<boolean>;
|
|
1931
|
-
default: boolean;
|
|
1932
|
-
};
|
|
1933
|
-
type: {
|
|
1934
|
-
type: PropType<string>;
|
|
1935
|
-
default: string;
|
|
1936
|
-
validator: (value: string) => boolean;
|
|
1937
|
-
};
|
|
1938
|
-
pageSizes: {
|
|
1939
|
-
type: PropType<boolean | number[]>;
|
|
1940
|
-
};
|
|
1941
|
-
previousNext: PropType<boolean>;
|
|
1942
|
-
messagesMap: PropType<(messageKey: string) => {
|
|
1943
|
-
messageKey: string;
|
|
1944
|
-
defaultMessage: string;
|
|
1945
|
-
}>;
|
|
1946
|
-
responsive: {
|
|
1947
|
-
type: PropType<boolean>;
|
|
1948
|
-
default: boolean;
|
|
1949
|
-
};
|
|
1950
|
-
size: {
|
|
1951
|
-
type: PropType<"small" | "medium" | "large">;
|
|
1952
|
-
validator: (value: string) => boolean;
|
|
1953
|
-
};
|
|
1954
|
-
pagerRender: PropType<any>;
|
|
1955
|
-
width: PropType<string | number>;
|
|
1956
|
-
ariaControls: {
|
|
1957
|
-
type: PropType<string>;
|
|
1958
|
-
default: any;
|
|
1959
|
-
};
|
|
1960
|
-
onPagesizechange: PropType<(event: any) => any>;
|
|
1961
|
-
onPagechange: PropType<(event: any) => any>;
|
|
1962
|
-
}>, {
|
|
1963
|
-
kendoIntlService: {};
|
|
1964
|
-
kendoLocalizationService: {};
|
|
1965
|
-
}, {
|
|
1966
|
-
currentRtl: boolean;
|
|
1967
|
-
itemsToFit: any;
|
|
1968
|
-
itemsWidths: any;
|
|
1969
|
-
}, {
|
|
1970
|
-
wrapperClass(): object;
|
|
1971
|
-
totalPages(): number;
|
|
1972
|
-
currentPage(): number;
|
|
1973
|
-
currentTake(): number;
|
|
1974
|
-
showPageSizes(): any;
|
|
1975
|
-
showInfo(): any;
|
|
1976
|
-
}, {
|
|
1977
|
-
changePage(page: number, e: any): void;
|
|
1978
|
-
triggerPageChange(state: any, event: any): void;
|
|
1979
|
-
onWindowResize(): void;
|
|
1980
|
-
transformDimension(initialValue: string | number | undefined): string;
|
|
1981
|
-
collectPagerChildrenWidths(): (0 | {
|
|
1982
|
-
class: string;
|
|
1983
|
-
width: number;
|
|
1984
|
-
})[];
|
|
1985
|
-
fitChildrenInParent(parent: HTMLElement, childrenWidths: {
|
|
1986
|
-
class: string;
|
|
1987
|
-
width: number;
|
|
1988
|
-
}[]): string[];
|
|
1989
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1990
|
-
pageSizeValue: PropType<string | number>;
|
|
1991
|
-
total: PropType<number>;
|
|
1992
|
-
skip: PropType<number>;
|
|
1993
|
-
take: PropType<number>;
|
|
1994
|
-
pageSize: PropType<number>;
|
|
1995
|
-
settings: PropType<boolean | GridPagerSettings>;
|
|
1996
|
-
buttonCount: {
|
|
1997
|
-
type: PropType<number>;
|
|
1998
|
-
default: number;
|
|
1999
|
-
};
|
|
2000
|
-
info: {
|
|
2001
|
-
type: PropType<boolean>;
|
|
2002
|
-
default: boolean;
|
|
2003
|
-
};
|
|
2004
|
-
type: {
|
|
2005
|
-
type: PropType<string>;
|
|
2006
|
-
default: string;
|
|
2007
|
-
validator: (value: string) => boolean;
|
|
2008
|
-
};
|
|
2009
|
-
pageSizes: {
|
|
2010
|
-
type: PropType<boolean | number[]>;
|
|
2011
|
-
};
|
|
2012
|
-
previousNext: PropType<boolean>;
|
|
2013
|
-
messagesMap: PropType<(messageKey: string) => {
|
|
2014
|
-
messageKey: string;
|
|
2015
|
-
defaultMessage: string;
|
|
2016
|
-
}>;
|
|
2017
|
-
responsive: {
|
|
2018
|
-
type: PropType<boolean>;
|
|
2019
|
-
default: boolean;
|
|
2020
|
-
};
|
|
2021
|
-
size: {
|
|
2022
|
-
type: PropType<"small" | "medium" | "large">;
|
|
2023
|
-
validator: (value: string) => boolean;
|
|
2024
|
-
};
|
|
2025
|
-
pagerRender: PropType<any>;
|
|
2026
|
-
width: PropType<string | number>;
|
|
2027
|
-
ariaControls: {
|
|
2028
|
-
type: PropType<string>;
|
|
2029
|
-
default: any;
|
|
2030
|
-
};
|
|
2031
|
-
onPagesizechange: PropType<(event: any) => any>;
|
|
2032
|
-
onPagechange: PropType<(event: any) => any>;
|
|
2033
|
-
}>> & Readonly<{}>, {
|
|
2034
|
-
type: string;
|
|
2035
|
-
info: boolean;
|
|
2036
|
-
ariaControls: string;
|
|
2037
|
-
buttonCount: number;
|
|
2038
|
-
responsive: boolean;
|
|
2039
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2040
|
-
|
|
2041
|
-
/**
|
|
2042
|
-
* @hidden
|
|
2043
|
-
*/
|
|
2044
|
-
export declare interface PagerComputed {
|
|
2045
|
-
[key: string]: any;
|
|
2046
|
-
totalPages: number;
|
|
2047
|
-
currentPage: number;
|
|
2048
|
-
currentTake: number;
|
|
2049
|
-
wrapperClass: object;
|
|
2050
|
-
}
|
|
2051
|
-
|
|
2052
|
-
/**
|
|
2053
|
-
* @hidden
|
|
2054
|
-
*/
|
|
2055
|
-
export declare const PagerInfo: DefineComponent<ExtractPropTypes< {
|
|
2056
|
-
totalPages: PropType<number>;
|
|
2057
|
-
currentPage: PropType<number>;
|
|
2058
|
-
skip: PropType<number>;
|
|
2059
|
-
messagesMap: PropType<(messageKey: string) => ({
|
|
2060
|
-
messageKey: string;
|
|
2061
|
-
defaultMessage: string;
|
|
2062
|
-
})>;
|
|
2063
|
-
}>, {
|
|
2064
|
-
kendoIntlService: {};
|
|
2065
|
-
kendoLocalizationService: {};
|
|
2066
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2067
|
-
totalPages: PropType<number>;
|
|
2068
|
-
currentPage: PropType<number>;
|
|
2069
|
-
skip: PropType<number>;
|
|
2070
|
-
messagesMap: PropType<(messageKey: string) => ({
|
|
2071
|
-
messageKey: string;
|
|
2072
|
-
defaultMessage: string;
|
|
2073
|
-
})>;
|
|
2074
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2075
|
-
|
|
2076
|
-
/**
|
|
2077
|
-
* @hidden
|
|
2078
|
-
*/
|
|
2079
|
-
export declare const PagerInput: DefineComponent<ExtractPropTypes< {
|
|
2080
|
-
totalPages: PropType<number>;
|
|
2081
|
-
currentPage: PropType<number>;
|
|
2082
|
-
messagesMap: PropType<(messageKey: string) => ({
|
|
2083
|
-
messageKey: string;
|
|
2084
|
-
defaultMessage: string;
|
|
2085
|
-
})>;
|
|
2086
|
-
size: PropType<"small" | "medium" | "large">;
|
|
2087
|
-
onPagechange: PropType<(page: number, event: any) => void>;
|
|
2088
|
-
}>, {
|
|
2089
|
-
kendoIntlService: {};
|
|
2090
|
-
kendoLocalizationService: {};
|
|
2091
|
-
}, {
|
|
2092
|
-
currentText: any;
|
|
2093
|
-
}, {
|
|
2094
|
-
computedValue(): any;
|
|
2095
|
-
}, {
|
|
2096
|
-
changeHangler(e: any): void;
|
|
2097
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2098
|
-
totalPages: PropType<number>;
|
|
2099
|
-
currentPage: PropType<number>;
|
|
2100
|
-
messagesMap: PropType<(messageKey: string) => ({
|
|
2101
|
-
messageKey: string;
|
|
2102
|
-
defaultMessage: string;
|
|
2103
|
-
})>;
|
|
2104
|
-
size: PropType<"small" | "medium" | "large">;
|
|
2105
|
-
onPagechange: PropType<(page: number, event: any) => void>;
|
|
2106
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2107
|
-
|
|
2108
|
-
/**
|
|
2109
|
-
* @hidden
|
|
2110
|
-
*/
|
|
2111
|
-
export declare const PagerNavigationButton: DefineComponent<ExtractPropTypes< {
|
|
2112
|
-
title: PropType<string>;
|
|
2113
|
-
disabled: PropType<boolean>;
|
|
2114
|
-
icon: PropType<string>;
|
|
2115
|
-
svgIcon: PropType<SVGIcon>;
|
|
2116
|
-
page: PropType<number>;
|
|
2117
|
-
size: PropType<string>;
|
|
2118
|
-
onPagechange: PropType<(page: number, event: any) => void>;
|
|
2119
|
-
}>, {}, {}, {}, {
|
|
2120
|
-
changePage(e: any): void;
|
|
2121
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2122
|
-
title: PropType<string>;
|
|
2123
|
-
disabled: PropType<boolean>;
|
|
2124
|
-
icon: PropType<string>;
|
|
2125
|
-
svgIcon: PropType<SVGIcon>;
|
|
2126
|
-
page: PropType<number>;
|
|
2127
|
-
size: PropType<string>;
|
|
2128
|
-
onPagechange: PropType<(page: number, event: any) => void>;
|
|
2129
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2130
|
-
|
|
2131
|
-
/**
|
|
2132
|
-
* @hidden
|
|
2133
|
-
*/
|
|
2134
|
-
export declare const PagerNumericButtons: DefineComponent<ExtractPropTypes< {
|
|
2135
|
-
buttonCount: PropType<number>;
|
|
2136
|
-
totalPages: PropType<number>;
|
|
2137
|
-
currentPage: PropType<number>;
|
|
2138
|
-
size: PropType<string>;
|
|
2139
|
-
responsiveSize: PropType<string>;
|
|
2140
|
-
onPagechange: PropType<(page: number, event: any) => void>;
|
|
2141
|
-
}>, {}, {}, {
|
|
2142
|
-
start(): number;
|
|
2143
|
-
end(): number;
|
|
2144
|
-
dropdownClass(): {
|
|
2145
|
-
[x: string]: any;
|
|
2146
|
-
'k-picker': boolean;
|
|
2147
|
-
'k-dropdown-list': boolean;
|
|
2148
|
-
'k-dropdown': boolean;
|
|
2149
|
-
'k-rounded-md': boolean;
|
|
2150
|
-
'k-picker-solid': boolean;
|
|
2151
|
-
};
|
|
2152
|
-
}, {
|
|
2153
|
-
click(e: any, page: number): void;
|
|
2154
|
-
ddlChange(event: any): void;
|
|
2155
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2156
|
-
buttonCount: PropType<number>;
|
|
2157
|
-
totalPages: PropType<number>;
|
|
2158
|
-
currentPage: PropType<number>;
|
|
2159
|
-
size: PropType<string>;
|
|
2160
|
-
responsiveSize: PropType<string>;
|
|
2161
|
-
onPagechange: PropType<(page: number, event: any) => void>;
|
|
2162
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2163
|
-
|
|
2164
|
-
/**
|
|
2165
|
-
* @hidden
|
|
2166
|
-
*/
|
|
2167
|
-
export declare const PagerPageSizes: DefineComponent<ExtractPropTypes< {
|
|
2168
|
-
value: PropType<string | number>;
|
|
2169
|
-
pageSize: PropType<number>;
|
|
2170
|
-
pageSizes: PropType<boolean | number[]>;
|
|
2171
|
-
size: PropType<"small" | "medium" | "large">;
|
|
2172
|
-
messagesMap: PropType<(messageKey: string) => ({
|
|
2173
|
-
messageKey: string;
|
|
2174
|
-
defaultMessage: string;
|
|
2175
|
-
})>;
|
|
2176
|
-
onPagechange: PropType<(event: {
|
|
2177
|
-
skip: number;
|
|
2178
|
-
take: number;
|
|
2179
|
-
}, e: any) => void>;
|
|
2180
|
-
}>, {
|
|
2181
|
-
kendoLocalizationService: {};
|
|
2182
|
-
}, {}, {}, {
|
|
2183
|
-
pageSizeChange(e: any): void;
|
|
2184
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2185
|
-
value: PropType<string | number>;
|
|
2186
|
-
pageSize: PropType<number>;
|
|
2187
|
-
pageSizes: PropType<boolean | number[]>;
|
|
2188
|
-
size: PropType<"small" | "medium" | "large">;
|
|
2189
|
-
messagesMap: PropType<(messageKey: string) => ({
|
|
2190
|
-
messageKey: string;
|
|
2191
|
-
defaultMessage: string;
|
|
2192
|
-
})>;
|
|
2193
|
-
onPagechange: PropType<(event: {
|
|
2194
|
-
skip: number;
|
|
2195
|
-
take: number;
|
|
2196
|
-
}, e: any) => void>;
|
|
2197
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2198
|
-
|
|
2199
|
-
export declare interface PagerProps extends GridPagerSettings {
|
|
2200
|
-
total: number;
|
|
2201
|
-
skip: number;
|
|
2202
|
-
take: number;
|
|
2203
|
-
pageSize: number;
|
|
2204
|
-
settings?: GridPagerSettings | boolean;
|
|
2205
|
-
responsive?: boolean;
|
|
2206
|
-
pagerRender?: any;
|
|
2207
|
-
width?: number | string;
|
|
2208
|
-
/**
|
|
2209
|
-
* Configures the `size` of the Pager.
|
|
2210
|
-
*
|
|
2211
|
-
* The available options are:
|
|
2212
|
-
* - small
|
|
2213
|
-
* - medium
|
|
2214
|
-
* - large
|
|
2215
|
-
* - null—Does not set a size `class`.
|
|
2216
|
-
*
|
|
2217
|
-
* @default `medium`
|
|
2218
|
-
*/
|
|
2219
|
-
size?: null | 'small' | 'medium' | 'large';
|
|
2220
|
-
/**
|
|
2221
|
-
* A map with the messages.
|
|
2222
|
-
*/
|
|
2223
|
-
messagesMap?: (messageKey: string) => ({
|
|
2224
|
-
messageKey: string;
|
|
2225
|
-
defaultMessage: string;
|
|
2226
|
-
});
|
|
2227
|
-
/**
|
|
2228
|
-
* The event that is emited when the page size is changed.
|
|
2229
|
-
*/
|
|
2230
|
-
onPagesizechange?: (event: any) => any;
|
|
2231
|
-
/**
|
|
2232
|
-
* The event that is emited when the page is changed.
|
|
2233
|
-
*/
|
|
2234
|
-
onPagechange?: (event: any) => any;
|
|
2235
|
-
/**
|
|
2236
|
-
* Defines the `id` of the element that is being controlled by the pager - for example a Grid.
|
|
2237
|
-
*/
|
|
2238
|
-
ariaControls?: string;
|
|
2239
|
-
}
|
|
2240
|
-
|
|
2241
|
-
/**
|
|
2242
|
-
* A Pager target event.
|
|
2243
|
-
*/
|
|
2244
|
-
export declare interface PagerTargetEvent {
|
|
2245
|
-
[key: string]: any;
|
|
2246
|
-
/**
|
|
2247
|
-
* An event target.
|
|
2248
|
-
*/
|
|
2249
|
-
target?: any;
|
|
2250
|
-
/**
|
|
2251
|
-
* An event value.
|
|
2252
|
-
*/
|
|
2253
|
-
value?: any;
|
|
2254
|
-
}
|
|
2255
|
-
|
|
2256
|
-
/**
|
|
2257
|
-
* @hidden
|
|
2258
|
-
*/
|
|
2259
|
-
export declare function readColumns<C = CellProps, H = HeaderCellProps, F = FilterCellProps>(elements: TreeColumnBaseProps[], idInfo: {
|
|
2260
|
-
prevId: number;
|
|
2261
|
-
idPrefix: string;
|
|
2262
|
-
}, depth?: number): ExtendedColumnProps[];
|
|
2263
|
-
|
|
2264
|
-
/** @hidden */
|
|
2265
|
-
export declare const relativeContextElement: (element: any) => any;
|
|
2266
|
-
|
|
2267
|
-
/**
|
|
2268
|
-
* Represents the SearchField that configures the way a data field is searched.
|
|
2269
|
-
*/
|
|
2270
|
-
export declare interface SearchField {
|
|
2271
|
-
/**
|
|
2272
|
-
* The name of the searched field.
|
|
2273
|
-
*/
|
|
2274
|
-
field: string;
|
|
2275
|
-
/**
|
|
2276
|
-
* The string operator that will be used for search.
|
|
2277
|
-
*/
|
|
2278
|
-
operator?: string;
|
|
2279
|
-
/**
|
|
2280
|
-
* Defines if the search is case sensitive.
|
|
2281
|
-
*/
|
|
2282
|
-
ignoreCase?: boolean;
|
|
2283
|
-
}
|
|
2284
|
-
|
|
2285
|
-
/**
|
|
2286
|
-
* Apply the `expanded` prop to the group items in data based on the provided collection of group ids.
|
|
2287
|
-
*
|
|
2288
|
-
* @param {{data: any[], collapsedIds: string[]}} options - The options to be processed.
|
|
2289
|
-
* @returns {string[]} - Collection of all group ids from the data.
|
|
2290
|
-
*/
|
|
2291
|
-
export declare const setExpandedState: (options: {
|
|
2292
|
-
data: any;
|
|
2293
|
-
collapsedIds: string[];
|
|
2294
|
-
}) => any[];
|
|
2295
|
-
|
|
2296
|
-
/**
|
|
2297
|
-
* Add unique ids to the group items inside data.
|
|
2298
|
-
*
|
|
2299
|
-
* @param {{data: any[], group: GroupDescriptor[]}} options - The options to be processed.
|
|
2300
|
-
*/
|
|
2301
|
-
export declare const setGroupIds: (options: {
|
|
2302
|
-
data: any;
|
|
2303
|
-
group?: Array<GroupDescriptor>;
|
|
2304
|
-
}) => void;
|
|
2305
|
-
|
|
2306
|
-
/**
|
|
2307
|
-
* @hidden
|
|
2308
|
-
*
|
|
2309
|
-
* Apply the selected field to the data items based on the selected state.
|
|
2310
|
-
*
|
|
2311
|
-
* @param {{data: any, selectedState: {[id: string]: boolean | number[]}, dataItemKey: string; selectedField: string; subItemsField?: string; }} options
|
|
2312
|
-
* @returns {any[]}
|
|
2313
|
-
*/
|
|
2314
|
-
export declare const setSelectedState: (options: {
|
|
2315
|
-
data: any;
|
|
2316
|
-
selectedState: {
|
|
2317
|
-
[id: string]: boolean | number[];
|
|
2318
|
-
};
|
|
2319
|
-
dataItemKey: string;
|
|
2320
|
-
selectedField: string;
|
|
2321
|
-
subItemsField?: string;
|
|
2322
|
-
}) => any[];
|
|
2323
|
-
|
|
2324
|
-
/**
|
|
2325
|
-
* The settings for sorting the component data.
|
|
2326
|
-
*/
|
|
2327
|
-
export declare type SortSettings = boolean | ColumnSortSettings & {
|
|
2328
|
-
/**
|
|
2329
|
-
* The sort mode of the component.
|
|
2330
|
-
*
|
|
2331
|
-
* The available modes are:
|
|
2332
|
-
* - `single`
|
|
2333
|
-
* - `multiple`
|
|
2334
|
-
*/
|
|
2335
|
-
mode?: 'single' | 'multiple';
|
|
2336
|
-
};
|
|
2337
|
-
|
|
2338
|
-
/**
|
|
2339
|
-
* @hidden
|
|
2340
|
-
*/
|
|
2341
|
-
export declare const stringOperator: (operator: any) => boolean;
|
|
2342
|
-
|
|
2343
|
-
/**
|
|
2344
|
-
* @hidden
|
|
2345
|
-
*/
|
|
2346
|
-
export declare const TABBABLE_ELEMENTS: string[];
|
|
2347
|
-
|
|
2348
|
-
/** @hidden */
|
|
2349
|
-
export declare const TABLE_COL_INDEX_ATTRIBUTE = "data-grid-col-index";
|
|
2350
|
-
|
|
2351
|
-
/** @hidden */
|
|
2352
|
-
export declare const TABLE_PREVENT_SELECTION_ELEMENT = "data-prevent-selection";
|
|
2353
|
-
|
|
2354
|
-
/** @hidden */
|
|
2355
|
-
export declare const TABLE_ROW_INDEX_ATTRIBUTE = "data-grid-row-index";
|
|
2356
|
-
|
|
2357
|
-
/**
|
|
2358
|
-
* @hidden
|
|
2359
|
-
*/
|
|
2360
|
-
export declare function tableColumnsVirtualization(args: {
|
|
2361
|
-
enabled?: boolean;
|
|
2362
|
-
columns: {
|
|
2363
|
-
width?: string | number;
|
|
2364
|
-
locked?: boolean;
|
|
2365
|
-
}[];
|
|
2366
|
-
tableViewPortWidth: number;
|
|
2367
|
-
scrollLeft: number;
|
|
2368
|
-
}): {
|
|
2369
|
-
colSpans: number[];
|
|
2370
|
-
hiddenColumns: boolean[];
|
|
2371
|
-
};
|
|
2372
|
-
|
|
2373
|
-
/** @hidden */
|
|
2374
|
-
export declare interface TableDragSelectionReleaseEvent {
|
|
2375
|
-
/**
|
|
2376
|
-
* Selection start row index.
|
|
2377
|
-
*/
|
|
2378
|
-
startRowIndex: number;
|
|
2379
|
-
/**
|
|
2380
|
-
* Selection start column index.
|
|
2381
|
-
*/
|
|
2382
|
-
startColIndex: number;
|
|
2383
|
-
/**
|
|
2384
|
-
* Selection end row index.
|
|
2385
|
-
*/
|
|
2386
|
-
endRowIndex: number;
|
|
2387
|
-
/**
|
|
2388
|
-
* Selection end column index.
|
|
2389
|
-
*/
|
|
2390
|
-
endColIndex: number;
|
|
2391
|
-
/**
|
|
2392
|
-
* A native DOM event.
|
|
2393
|
-
*/
|
|
2394
|
-
еvent: any;
|
|
2395
|
-
/**
|
|
2396
|
-
* Is ctrl key modifier pressed.
|
|
2397
|
-
*/
|
|
2398
|
-
ctrlKey: boolean;
|
|
2399
|
-
/**
|
|
2400
|
-
* Is alt key modifier pressed.
|
|
2401
|
-
*/
|
|
2402
|
-
altKey: boolean;
|
|
2403
|
-
/**
|
|
2404
|
-
* Is meta key modifier pressed.
|
|
2405
|
-
*/
|
|
2406
|
-
metaKey: boolean;
|
|
2407
|
-
/**
|
|
2408
|
-
* Is shift key modifier pressed.
|
|
2409
|
-
*/
|
|
2410
|
-
shiftKey: boolean;
|
|
2411
|
-
/**
|
|
2412
|
-
* Selection mode.
|
|
2413
|
-
*/
|
|
2414
|
-
mode: 'single' | 'multiple';
|
|
2415
|
-
/**
|
|
2416
|
-
* Indicates if cell selection mode is enabled.
|
|
2417
|
-
*/
|
|
2418
|
-
cell: boolean;
|
|
2419
|
-
/**
|
|
2420
|
-
* Indicates if current event is created from drag.
|
|
2421
|
-
*/
|
|
2422
|
-
isDrag: boolean;
|
|
2423
|
-
}
|
|
2424
|
-
|
|
2425
|
-
export declare interface TableEditableSettings {
|
|
2426
|
-
/**
|
|
2427
|
-
* Determines if the editing is enabled.
|
|
2428
|
-
*
|
|
2429
|
-
* @default false
|
|
2430
|
-
*/
|
|
2431
|
-
enabled?: boolean;
|
|
2432
|
-
/**
|
|
2433
|
-
* Determines the editing mode.
|
|
2434
|
-
* The available values are:
|
|
2435
|
-
* * `inline`
|
|
2436
|
-
* * `incell`
|
|
2437
|
-
*
|
|
2438
|
-
* @default 'incell
|
|
2439
|
-
*/
|
|
2440
|
-
mode?: 'inline' | 'incell' | 'dialog';
|
|
2441
|
-
}
|
|
2442
|
-
|
|
2443
|
-
/** @hidden */
|
|
2444
|
-
export declare type TableExpandableSettings = {
|
|
2445
|
-
enabled?: boolean;
|
|
2446
|
-
column?: string;
|
|
2447
|
-
};
|
|
2448
|
-
|
|
2449
|
-
/** @hidden */
|
|
2450
|
-
export declare type TableGroupExpandableSettings = {
|
|
2451
|
-
enabled?: boolean;
|
|
2452
|
-
defaultExpand?: boolean;
|
|
2453
|
-
};
|
|
2454
|
-
|
|
2455
|
-
/**
|
|
2456
|
-
* @hidden
|
|
2457
|
-
*/
|
|
2458
|
-
export declare const tableKeyboardNavigationBodyAttributes: {
|
|
2459
|
-
"data-keyboardnavbody": boolean;
|
|
2460
|
-
};
|
|
2461
|
-
|
|
2462
|
-
/**
|
|
2463
|
-
* @hidden
|
|
2464
|
-
*/
|
|
2465
|
-
export declare interface TableKeyboardNavigationContextType {
|
|
2466
|
-
activeId: string | undefined;
|
|
2467
|
-
level: number;
|
|
2468
|
-
}
|
|
2469
|
-
|
|
2470
|
-
/**
|
|
2471
|
-
* @hidden
|
|
2472
|
-
*/
|
|
2473
|
-
export declare const tableKeyboardNavigationHeaderAttributes: {
|
|
2474
|
-
"data-keyboardnavheader": boolean;
|
|
2475
|
-
};
|
|
2476
|
-
|
|
2477
|
-
/**
|
|
2478
|
-
* @hidden
|
|
2479
|
-
*/
|
|
2480
|
-
export declare const TableKeyboardNavigationProvider: DefineComponent<ExtractPropTypes< {
|
|
2481
|
-
navigatable: {
|
|
2482
|
-
type: BooleanConstructor;
|
|
2483
|
-
default: boolean;
|
|
2484
|
-
};
|
|
2485
|
-
id: StringConstructor;
|
|
2486
|
-
}>, {}, {
|
|
2487
|
-
scope: any;
|
|
2488
|
-
kbContext: any;
|
|
2489
|
-
navigation: any;
|
|
2490
|
-
}, {}, {
|
|
2491
|
-
getKeyboardNavigationAttributes(elementId: string): {
|
|
2492
|
-
tabIndex?: undefined;
|
|
2493
|
-
"data-keyboardnavlevel"?: undefined;
|
|
2494
|
-
"data-keyboardnavid"?: undefined;
|
|
2495
|
-
} | {
|
|
2496
|
-
tabIndex: number;
|
|
2497
|
-
"data-keyboardnavlevel": any;
|
|
2498
|
-
"data-keyboardnavid": string;
|
|
2499
|
-
};
|
|
2500
|
-
onComponentDidMount(options: {
|
|
2501
|
-
scope?: HTMLElement;
|
|
2502
|
-
}): void;
|
|
2503
|
-
onGetSnapshotBeforeUpdate(options: {
|
|
2504
|
-
document: Document;
|
|
2505
|
-
kbContext: TableKeyboardNavigationContextType;
|
|
2506
|
-
navigation: TableKeyboardNavigationStateType;
|
|
2507
|
-
}): void;
|
|
2508
|
-
onComponentDidUpdate(options: {
|
|
2509
|
-
scope?: HTMLElement;
|
|
2510
|
-
kbContext: TableKeyboardNavigationContextType;
|
|
2511
|
-
navigation: TableKeyboardNavigationStateType;
|
|
2512
|
-
}): void;
|
|
2513
|
-
onFocus(event: any): void;
|
|
2514
|
-
onKeyDown(event: any, options: {
|
|
2515
|
-
kbContext: TableKeyboardNavigationContextType;
|
|
2516
|
-
navigation: TableKeyboardNavigationStateType;
|
|
2517
|
-
onNavigationAction?: (options: {
|
|
2518
|
-
event: any;
|
|
2519
|
-
focusElement: any;
|
|
2520
|
-
}) => void;
|
|
2521
|
-
}): void;
|
|
2522
|
-
generateMatrix(options: {
|
|
2523
|
-
scope?: HTMLElement;
|
|
2524
|
-
navigation: TableKeyboardNavigationStateType;
|
|
2525
|
-
}): void;
|
|
2526
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2527
|
-
navigatable: {
|
|
2528
|
-
type: BooleanConstructor;
|
|
2529
|
-
default: boolean;
|
|
2530
|
-
};
|
|
2531
|
-
id: StringConstructor;
|
|
2532
|
-
}>> & Readonly<{}>, {
|
|
2533
|
-
navigatable: boolean;
|
|
2534
|
-
}, {}, {}, {}, string, () => {
|
|
2535
|
-
getKeyboardNavigationAttributes: any;
|
|
2536
|
-
onNavMount: any;
|
|
2537
|
-
onGetSnapshotBeforeUpdate: any;
|
|
2538
|
-
onComponentDidUpdate: any;
|
|
2539
|
-
onNavFocus: any;
|
|
2540
|
-
onNavKeyDown: any;
|
|
2541
|
-
generateMatrix: any;
|
|
2542
|
-
kbContext: any;
|
|
2543
|
-
navigation: any;
|
|
2544
|
-
}, true, {}, any>;
|
|
2545
|
-
|
|
2546
|
-
/**
|
|
2547
|
-
* @hidden
|
|
2548
|
-
*/
|
|
2549
|
-
export declare const tableKeyboardNavigationScopeAttributes: {
|
|
2550
|
-
"data-keyboardnavscope": boolean;
|
|
2551
|
-
};
|
|
2552
|
-
|
|
2553
|
-
/**
|
|
2554
|
-
* @hidden
|
|
2555
|
-
*/
|
|
2556
|
-
export declare interface TableKeyboardNavigationStateType {
|
|
2557
|
-
activeElementIsFocused: boolean;
|
|
2558
|
-
prevNavigationIndexes?: [number, number];
|
|
2559
|
-
idPrefix: string;
|
|
2560
|
-
navigationMatrix: string[][];
|
|
2561
|
-
lastHeaderIndex: number;
|
|
2562
|
-
}
|
|
2563
|
-
|
|
2564
|
-
/**
|
|
2565
|
-
* @hidden
|
|
2566
|
-
*/
|
|
2567
|
-
export declare const tableKeyboardNavigationTools: {
|
|
2568
|
-
generateNavigatableId: (navigationId: string, idPrefix: string, type?: 'column' | 'cell' | 'group' | 'expand' | 'nodata') => string;
|
|
2569
|
-
getNavigatableId: (element: Element | null) => string;
|
|
2570
|
-
getNavigatableLevel: (element: Element | null) => number;
|
|
2571
|
-
getNavigatableElement: (scope: HTMLElement, options?: {
|
|
2572
|
-
level: number;
|
|
2573
|
-
}) => HTMLElement;
|
|
2574
|
-
getClosestNavigatableElement: (target: HTMLElement) => Element;
|
|
2575
|
-
getActiveElement: (scope: HTMLElement, activeId?: string) => HTMLElement;
|
|
2576
|
-
getClosestScope: (target: HTMLElement) => Element;
|
|
2577
|
-
getHeaderElement: (scope: HTMLElement) => Element;
|
|
2578
|
-
getBodyElement: (scope: HTMLElement) => Element;
|
|
2579
|
-
getFocusableElements: (scope: HTMLElement, options?: {
|
|
2580
|
-
focusable: boolean;
|
|
2581
|
-
}) => Element[];
|
|
2582
|
-
getNavigatableElements: (scope: HTMLElement | null, options?: {
|
|
2583
|
-
level: number;
|
|
2584
|
-
}) => any[];
|
|
2585
|
-
filterNavigatableElements: (options?: {
|
|
2586
|
-
level: number;
|
|
2587
|
-
}) => (element: HTMLElement) => boolean;
|
|
2588
|
-
focusElement: (options: {
|
|
2589
|
-
elementForFocus: HTMLElement;
|
|
2590
|
-
prevElement?: HTMLElement;
|
|
2591
|
-
kbContext?: TableKeyboardNavigationContextType;
|
|
2592
|
-
event: any;
|
|
2593
|
-
}) => void;
|
|
2594
|
-
getIdPrefix: (navigation?: TableKeyboardNavigationStateType) => string;
|
|
2595
|
-
isNavigatable: (element: Element | null) => boolean;
|
|
2596
|
-
findNextIdByRowIndex: (initialRowIndex: number, cellIndex: number, elementId: string | undefined, matrix: string[][], isReverse: boolean) => [
|
|
2597
|
-
string,
|
|
2598
|
-
[
|
|
2599
|
-
number,
|
|
2600
|
-
number
|
|
2601
|
-
]
|
|
2602
|
-
] | [
|
|
2603
|
-
];
|
|
2604
|
-
findNextIdByCellIndex: (rowIndex: number, initialCellIndex: number, elementId: string | undefined, matrix: string[][], isReverse: boolean) => [
|
|
2605
|
-
string,
|
|
2606
|
-
[
|
|
2607
|
-
number,
|
|
2608
|
-
number
|
|
2609
|
-
]
|
|
2610
|
-
] | [
|
|
2611
|
-
];
|
|
2612
|
-
findId: (navigationMatrix: string[][], cellId?: string) => number[] | undefined;
|
|
2613
|
-
getNextNavigationIndex: (navigation?: TableKeyboardNavigationStateType) => number;
|
|
2614
|
-
getFilterColumnId: (columnId: string) => string;
|
|
2615
|
-
};
|
|
2616
|
-
|
|
2617
|
-
/** @hidden */
|
|
2618
|
-
export declare interface TableKeyDownEvent {
|
|
2619
|
-
/**
|
|
2620
|
-
* The current leaf data items.
|
|
2621
|
-
*/
|
|
2622
|
-
dataItems: any[];
|
|
2623
|
-
/**
|
|
2624
|
-
* Selection mode
|
|
2625
|
-
*/
|
|
2626
|
-
mode: 'single' | 'multiple';
|
|
2627
|
-
/**
|
|
2628
|
-
* Indicates if cell selection mode is enabled.
|
|
2629
|
-
*/
|
|
2630
|
-
cell: boolean;
|
|
2631
|
-
/**
|
|
2632
|
-
* The `selectedField` prop of the component.
|
|
2633
|
-
*/
|
|
2634
|
-
selectedField: string;
|
|
2635
|
-
/**
|
|
2636
|
-
* The component unique identifier.
|
|
2637
|
-
*/
|
|
2638
|
-
componentId: string;
|
|
2639
|
-
/**
|
|
2640
|
-
* The component event.
|
|
2641
|
-
*/
|
|
2642
|
-
event: any;
|
|
2643
|
-
}
|
|
2644
|
-
|
|
2645
|
-
/** @hidden */
|
|
2646
|
-
export declare type TableSelectableMode = 'single' | 'multiple';
|
|
2647
|
-
|
|
2648
|
-
/** @hidden */
|
|
2649
|
-
export declare interface TableSelectableSettings {
|
|
2650
|
-
/**
|
|
2651
|
-
* Determines if selection is allowed.
|
|
2652
|
-
*
|
|
2653
|
-
* @default true
|
|
2654
|
-
*/
|
|
2655
|
-
enabled?: boolean;
|
|
2656
|
-
/**
|
|
2657
|
-
* The available values are:
|
|
2658
|
-
* * `single`
|
|
2659
|
-
* * `multiple`
|
|
2660
|
-
*
|
|
2661
|
-
* @default "multiple"
|
|
2662
|
-
*/
|
|
2663
|
-
mode?: TableSelectableMode;
|
|
2664
|
-
/**
|
|
2665
|
-
* Determines if cell selection is allowed.
|
|
2666
|
-
*
|
|
2667
|
-
* @default false
|
|
2668
|
-
*/
|
|
2669
|
-
cell?: boolean;
|
|
2670
|
-
/**
|
|
2671
|
-
* Determines if drag selection is allowed.
|
|
2672
|
-
*
|
|
2673
|
-
* @default false
|
|
2674
|
-
*/
|
|
2675
|
-
drag?: boolean;
|
|
2676
|
-
}
|
|
2677
|
-
|
|
2678
|
-
/** @hidden */
|
|
2679
|
-
export declare interface TableSelectionChangeEvent extends TableDragSelectionReleaseEvent {
|
|
2680
|
-
/**
|
|
2681
|
-
* The data item which was selected or deselected when the checkbox selection column is used. It will be `null` when the row or cell selection is used.
|
|
2682
|
-
*/
|
|
2683
|
-
dataItem: any;
|
|
2684
|
-
/**
|
|
2685
|
-
* The `selectedField` prop of the component.
|
|
2686
|
-
*/
|
|
2687
|
-
selectedField: string;
|
|
2688
|
-
/**
|
|
2689
|
-
* The component unique identifier.
|
|
2690
|
-
*/
|
|
2691
|
-
componentId: string;
|
|
2692
|
-
/**
|
|
2693
|
-
* The current component leaf data items.
|
|
2694
|
-
*/
|
|
2695
|
-
dataItems: any[];
|
|
2696
|
-
/**
|
|
2697
|
-
* The component event.
|
|
2698
|
-
*/
|
|
2699
|
-
event: any;
|
|
2700
|
-
}
|
|
2701
|
-
|
|
2702
|
-
/**
|
|
2703
|
-
* @hidden
|
|
2704
|
-
*/
|
|
2705
|
-
export declare const TextFilter: DefineComponent<ExtractPropTypes< {
|
|
2706
|
-
filter: {
|
|
2707
|
-
type: PropType<FilterDescriptor>;
|
|
2708
|
-
required: true;
|
|
2709
|
-
};
|
|
2710
|
-
ariaLabel: PropType<string>;
|
|
2711
|
-
onFilterchange: PropType<(event: {
|
|
2712
|
-
nextFilter: FilterOperator;
|
|
2713
|
-
}) => void>;
|
|
2714
|
-
}>, {}, {}, {}, {
|
|
2715
|
-
onChange(event: any): void;
|
|
2716
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2717
|
-
filter: {
|
|
2718
|
-
type: PropType<FilterDescriptor>;
|
|
2719
|
-
required: true;
|
|
2720
|
-
};
|
|
2721
|
-
ariaLabel: PropType<string>;
|
|
2722
|
-
onFilterchange: PropType<(event: {
|
|
2723
|
-
nextFilter: FilterOperator;
|
|
2724
|
-
}) => void>;
|
|
2725
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2726
|
-
|
|
2727
|
-
/**
|
|
2728
|
-
* The props of the TextFilter component.
|
|
2729
|
-
*/
|
|
2730
|
-
export declare interface TextFilterProps {
|
|
2731
|
-
/**
|
|
2732
|
-
* The FilterDescriptor object which will be edited.
|
|
2733
|
-
*/
|
|
2734
|
-
filter: FilterDescriptor;
|
|
2735
|
-
/**
|
|
2736
|
-
* The FilterChange event, triggered while editing the FilterOperator.
|
|
2737
|
-
*/
|
|
2738
|
-
onFilterchange?: (event: {
|
|
2739
|
-
nextFilter: FilterOperator;
|
|
2740
|
-
}) => void;
|
|
2741
|
-
/**
|
|
2742
|
-
* The accessible label of the component.
|
|
2743
|
-
*/
|
|
2744
|
-
ariaLabel?: string;
|
|
2745
|
-
}
|
|
2746
|
-
|
|
2747
|
-
/**
|
|
2748
|
-
* @hidden
|
|
2749
|
-
*/
|
|
2750
|
-
export declare interface TreeColumnBaseProps extends ColumnBaseProps {
|
|
2751
|
-
/**
|
|
2752
|
-
* A collection of child columns.
|
|
2753
|
-
*/
|
|
2754
|
-
children?: TreeColumnBaseProps[];
|
|
2755
|
-
/**
|
|
2756
|
-
* The column menu component. If set to `true`, the column menu will be rendered.
|
|
2757
|
-
*/
|
|
2758
|
-
columnMenu?: any;
|
|
2759
|
-
/**
|
|
2760
|
-
* If set to `true`, the column will render the icons that are used for expanding and collapsing child rows.
|
|
2761
|
-
*/
|
|
2762
|
-
expandable?: boolean;
|
|
2763
|
-
/**
|
|
2764
|
-
* Defines the component that will be rendered as an edit cell.
|
|
2765
|
-
*/
|
|
2766
|
-
editCell?: any;
|
|
2767
|
-
/**
|
|
2768
|
-
* Defines the component that will be rendered as a header cell.
|
|
2769
|
-
* If not set, a `HeaderCell` will be rendered by default.
|
|
2770
|
-
*/
|
|
2771
|
-
headerCell?: any;
|
|
2772
|
-
/**
|
|
2773
|
-
* **Deprecated**. Use `filterCell` prop instead.
|
|
2774
|
-
*/
|
|
2775
|
-
filter?: any;
|
|
2776
|
-
/**
|
|
2777
|
-
* Defines the component that will be rendered as a filter cell.
|
|
2778
|
-
*/
|
|
2779
|
-
filterCell?: any;
|
|
2780
|
-
/**
|
|
2781
|
-
* Defines the component that will be rendered as a footer cell.
|
|
2782
|
-
*/
|
|
2783
|
-
footerCell?: any;
|
|
2784
|
-
}
|
|
2785
|
-
|
|
2786
|
-
/**
|
|
2787
|
-
* @hidden
|
|
2788
|
-
*/
|
|
2789
|
-
export declare const unaryOperator: (operator: any) => boolean;
|
|
2790
|
-
|
|
2791
|
-
/**
|
|
2792
|
-
* @hidden
|
|
2793
|
-
*/
|
|
2794
|
-
export declare function updateLeft(columnsMap: number[][], columns: Array<{
|
|
2795
|
-
parentIndex: number;
|
|
2796
|
-
colSpan?: number;
|
|
2797
|
-
rowSpan: number;
|
|
2798
|
-
depth: number;
|
|
2799
|
-
kFirst?: boolean;
|
|
2800
|
-
children: any[];
|
|
2801
|
-
width?: string | number;
|
|
2802
|
-
locked?: boolean;
|
|
2803
|
-
index: number;
|
|
2804
|
-
left: number;
|
|
2805
|
-
right: number;
|
|
2806
|
-
rightBorder: boolean;
|
|
2807
|
-
ariaColumnIndex: number;
|
|
2808
|
-
}>, generateLeft?: boolean): void;
|
|
2809
|
-
|
|
2810
|
-
/**
|
|
2811
|
-
* @hidden
|
|
2812
|
-
*/
|
|
2813
|
-
export declare function updateRight(columnsMap: number[][], columns: Array<{
|
|
2814
|
-
parentIndex: number;
|
|
2815
|
-
colSpan?: number;
|
|
2816
|
-
rowSpan: number;
|
|
2817
|
-
depth: number;
|
|
2818
|
-
kFirst?: boolean;
|
|
2819
|
-
children: any[];
|
|
2820
|
-
width?: string | number;
|
|
2821
|
-
locked?: boolean;
|
|
2822
|
-
index: number;
|
|
2823
|
-
left: number;
|
|
2824
|
-
right: number;
|
|
2825
|
-
rightBorder: boolean;
|
|
2826
|
-
ariaColumnIndex: number;
|
|
2827
|
-
}>, generateRight?: boolean): void;
|
|
2828
|
-
|
|
2829
|
-
export { }
|
|
8
|
+
export * from './filter/main';
|
|
9
|
+
export * from './interfaces/FilterOperator';
|
|
10
|
+
export * from './interfaces/FilterOperators';
|
|
11
|
+
export * from './interfaces/FilterCellProps';
|
|
12
|
+
export * from './interfaces/HeaderCellProps';
|
|
13
|
+
export * from './header/main';
|
|
14
|
+
export * from './virtualization/main';
|
|
15
|
+
export { ColumnResize } from './drag/ColumnResize';
|
|
16
|
+
export { CommonDragLogic } from './drag/CommonDragLogic';
|
|
17
|
+
export { DragClue } from './drag/DragClue';
|
|
18
|
+
export { DropClue } from './drag/DropClue';
|
|
19
|
+
export * from './filter/main';
|
|
20
|
+
export * from './cells/FilterCell';
|
|
21
|
+
export * from './utils/data-operations';
|
|
22
|
+
export * from './utils/group-operations';
|
|
23
|
+
export * from './utils/SearchField';
|
|
24
|
+
export * from './filterCommon';
|
|
25
|
+
export * from './pager/models/main';
|
|
26
|
+
export { Pager } from './pager/Pager';
|
|
27
|
+
export { PagerInfo } from './pager/PagerInfo';
|
|
28
|
+
export { PagerInput } from './pager/PagerInput';
|
|
29
|
+
export { PagerNavigationButton } from './pager/PagerNavigationButton';
|
|
30
|
+
export { PagerNumericButtons } from './pager/PagerNumericButtons';
|
|
31
|
+
export { PagerPageSizes } from './pager/PagerPageSizes';
|
|
32
|
+
export { HeaderThElement } from './header/HeaderThElement';
|
|
33
|
+
export { type Page } from './pager/Page';
|
|
34
|
+
export { type GridPagerSettings, normalize, type GridPagerType } from './pager/GridPagerSettings';
|
|
35
|
+
export * from './virtualization/main';
|
|
36
|
+
export * from './navigation/constants';
|
|
37
|
+
export * from './navigation/TableKeyboardNavigation';
|
|
38
|
+
export * from './navigation/TableKeyboardNavigationContextType';
|
|
39
|
+
export * from './navigation/TableKeyboardNavigationStateType';
|
|
40
|
+
export { tableKeyboardNavigationScopeAttributes } from './navigation/constants';
|
|
41
|
+
export { tableKeyboardNavigationTools } from './navigation/utils';
|
|
42
|
+
export * from './selection/TableSelectableSettings';
|
|
43
|
+
export * from './selection/events';
|
|
44
|
+
export * from './selection/constants';
|
|
45
|
+
export * from './selection/utils';
|
|
46
|
+
export * from './editing/TableEditableSettings';
|
|
47
|
+
export * from './editing/utils';
|
|
48
|
+
export * from './editing/editReducer';
|
|
49
|
+
export * from './detail-expansion/TableExpandableSettings';
|
|
50
|
+
export * from './detail-expansion/utils';
|
|
51
|
+
export * from './detail-expansion/expandReducer';
|
|
52
|
+
export * from './group-expansion/groupExpandReducer';
|
|
53
|
+
export * from './group-expansion/TableGroupExpandableSettings';
|