@progress/kendo-vue-grid 3.0.4-dev.202202010701 → 3.0.4-dev.202202011210
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/dist/cdn/js/kendo-vue-grid.js +1 -1
- package/dist/es/Grid.d.ts +2 -2
- package/dist/es/Grid.js +3 -6
- package/dist/es/interfaces/GridCellProps.d.ts +6 -6
- package/dist/es/interfaces/GridColumnMenuExtendedFilterProps.d.ts +1 -1
- package/dist/es/interfaces/GridColumnMenuFilterProps.d.ts +1 -1
- package/dist/es/interfaces/GridColumnMenuFilterUIProps.d.ts +1 -1
- package/dist/es/interfaces/GridProps.d.ts +21 -23
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/Grid.d.ts +2 -2
- package/dist/npm/Grid.js +3 -6
- package/dist/npm/interfaces/GridCellProps.d.ts +6 -6
- package/dist/npm/interfaces/GridColumnMenuExtendedFilterProps.d.ts +1 -1
- package/dist/npm/interfaces/GridColumnMenuFilterProps.d.ts +1 -1
- package/dist/npm/interfaces/GridColumnMenuFilterUIProps.d.ts +1 -1
- package/dist/npm/interfaces/GridProps.d.ts +21 -23
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +13 -13
package/dist/es/Grid.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { VirtualScroll } from './VirtualScroll';
|
|
|
10
10
|
import { ColumnResize } from './drag/ColumnResize';
|
|
11
11
|
import { CommonDragLogic } from './drag/CommonDragLogic';
|
|
12
12
|
import { DataItemWrapper } from './utils/index';
|
|
13
|
-
import { GridProps
|
|
13
|
+
import { GridProps } from './interfaces/GridProps';
|
|
14
14
|
import { GridColumnProps } from './interfaces/GridColumnProps';
|
|
15
15
|
/**
|
|
16
16
|
* Represents the [native Vue Grid component by Kendo UI]({% slug overview_grid_native %}).
|
|
@@ -141,5 +141,5 @@ export interface GridAll extends GridMethods, GridData, GridState, GridComputed,
|
|
|
141
141
|
* Represents the default `Grid` component.
|
|
142
142
|
*/
|
|
143
143
|
declare let GridVue2: ComponentOptions<Vue2type, DefaultData<GridData>, DefaultMethods<GridAll>, GridComputed, RecordPropsDefinition<GridProps>>;
|
|
144
|
-
declare const Grid: DefineComponent<GridProps, any, GridData, GridComputed, GridMethods, {}, {},
|
|
144
|
+
declare const Grid: DefineComponent<GridProps, any, GridData, GridComputed, GridMethods, {}, {}, {}, string, GridProps, GridProps, {}>;
|
|
145
145
|
export { Grid, GridVue2 };
|
package/dist/es/Grid.js
CHANGED
|
@@ -69,14 +69,11 @@ import { ColumnResize } from './drag/ColumnResize';
|
|
|
69
69
|
import { CommonDragLogic } from './drag/CommonDragLogic';
|
|
70
70
|
import { DragClue } from './drag/DragClue';
|
|
71
71
|
import { DropClue } from './drag/DropClue';
|
|
72
|
-
import { getNestedValue, flatData, mapColumns, readColumns, autoGenerateColumns } from './utils/index';
|
|
73
|
-
|
|
74
|
-
import { GridCell } from './cells/GridCell'; // import { GridToolbar } from './GridToolbar';
|
|
75
|
-
|
|
72
|
+
import { getNestedValue, flatData, mapColumns, readColumns, autoGenerateColumns } from './utils/index';
|
|
73
|
+
import { GridCell } from './cells/GridCell';
|
|
76
74
|
import { GridGroupCell } from './cells/GridGroupCell';
|
|
77
75
|
import { GridRow } from './rows/GridRow';
|
|
78
|
-
import { GridHeaderSelectionCell } from './header/GridHeaderSelectionCell';
|
|
79
|
-
|
|
76
|
+
import { GridHeaderSelectionCell } from './header/GridHeaderSelectionCell';
|
|
80
77
|
import { GridNoRecords } from './GridNoRecords';
|
|
81
78
|
import { packageMetadata } from './package-metadata';
|
|
82
79
|
import { pagerMessagesMap } from './messages';
|
|
@@ -84,7 +84,7 @@ export interface GridCellProps {
|
|
|
84
84
|
/**
|
|
85
85
|
* The event that is fired when the cell value is changed.
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
onChange?: (event: {
|
|
88
88
|
dataItem: any;
|
|
89
89
|
event: any;
|
|
90
90
|
field?: string;
|
|
@@ -93,7 +93,7 @@ export interface GridCellProps {
|
|
|
93
93
|
/**
|
|
94
94
|
* The event that is fired when the keydown event of the cell is triggered.
|
|
95
95
|
*/
|
|
96
|
-
|
|
96
|
+
onCellkeydown?: (event: {
|
|
97
97
|
event: any;
|
|
98
98
|
dataItem: any;
|
|
99
99
|
field: string;
|
|
@@ -101,20 +101,20 @@ export interface GridCellProps {
|
|
|
101
101
|
/**
|
|
102
102
|
* The event that is fired when the cell is clicked.
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
onCellclick?: (event: {
|
|
105
105
|
dataItem: any;
|
|
106
106
|
field: string;
|
|
107
107
|
}) => void;
|
|
108
108
|
/**
|
|
109
109
|
* The event that is fired when the cell is about to be added.
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
onAdd?: (event: {
|
|
112
112
|
dataItem: any;
|
|
113
113
|
}) => void;
|
|
114
114
|
/**
|
|
115
115
|
* The event that is fired when the cell is about to be edited.
|
|
116
116
|
*/
|
|
117
|
-
|
|
117
|
+
onEdit?: (event: {
|
|
118
118
|
dataItem: any;
|
|
119
119
|
}) => void;
|
|
120
120
|
/**
|
|
@@ -132,7 +132,7 @@ export interface GridCellProps {
|
|
|
132
132
|
/**
|
|
133
133
|
* The event that is fired when the cell is about to be canceled.
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
onCancel?: (event: {
|
|
136
136
|
dataItem: any;
|
|
137
137
|
}) => void;
|
|
138
138
|
/**
|
|
@@ -10,7 +10,7 @@ export interface GridColumnMenuExtendedFilterProps extends GridColumnMenuFilterP
|
|
|
10
10
|
/**
|
|
11
11
|
* Triggered on each subsequent expand state of the filter component.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
onExpandchange?: (nextExpandState: boolean) => void;
|
|
14
14
|
/**
|
|
15
15
|
* If set to `false`, the second filter operator and the input will be hidden.
|
|
16
16
|
*/
|
|
@@ -23,5 +23,5 @@ export interface GridColumnMenuFilterProps {
|
|
|
23
23
|
/**
|
|
24
24
|
* The method that will be called to notify the parent Grid about a filter change.
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
onFilterchange?: (filter: CompositeFilterDescriptor | null, event: any) => any;
|
|
27
27
|
}
|
|
@@ -28,7 +28,7 @@ export interface GridColumnMenuFilterUIProps {
|
|
|
28
28
|
/**
|
|
29
29
|
* The method that will be called to notify the parent about a change in the filter logic.
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
onLogicchange?: (e: any) => void;
|
|
32
32
|
/**
|
|
33
33
|
* The method that will be called to notify the parent about a change in the filter.
|
|
34
34
|
*/
|
|
@@ -43,7 +43,7 @@ export interface GridProps {
|
|
|
43
43
|
* Fires when the sorting of the Grid is changed ([see example]({% slug sorting_grid_native %})).
|
|
44
44
|
* You have to handle the event yourself and sort the data.
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
onSortchange?: (event: GridSortChangeEvent) => void;
|
|
47
47
|
/**
|
|
48
48
|
* The descriptors by which the data is sorted.
|
|
49
49
|
* Applies the sorting styles and buttons to the affected columns.
|
|
@@ -69,7 +69,7 @@ export interface GridProps {
|
|
|
69
69
|
* ([more information and examples]({% slug filtering_grid_native %})).
|
|
70
70
|
* You have to handle the event yourself and filter the data.
|
|
71
71
|
*/
|
|
72
|
-
|
|
72
|
+
onFilterchange?: (event: GridFilterChangeEvent) => void;
|
|
73
73
|
/**
|
|
74
74
|
* Defines if the column menu will be shown for the column.
|
|
75
75
|
* Accepts Boolean, a Vue component, a `render` function, or a slot name
|
|
@@ -88,7 +88,7 @@ export interface GridProps {
|
|
|
88
88
|
* Fires when the grouping of the Grid is changed. You have to handle the event yourself and group the data
|
|
89
89
|
* ([more information and examples]({% slug groupingbasics_grid_native %})).
|
|
90
90
|
*/
|
|
91
|
-
|
|
91
|
+
onGroupchange?: (event: GridGroupChangeEvent) => void;
|
|
92
92
|
/**
|
|
93
93
|
* Configures the pager of the Grid ([see example]({% slug paging_grid_native %})).
|
|
94
94
|
*
|
|
@@ -114,7 +114,7 @@ export interface GridProps {
|
|
|
114
114
|
* Fires when the page of the Grid is changed ([see example]({% slug paging_grid_native %})).
|
|
115
115
|
* You have to handle the event yourself and page the data.
|
|
116
116
|
*/
|
|
117
|
-
|
|
117
|
+
onPagechange?: (event: GridPageChangeEvent) => void;
|
|
118
118
|
/**
|
|
119
119
|
* Defines the total number of data items in all pages
|
|
120
120
|
* ([see example]({% slug paging_grid_native %})). Required by the paging functionality.
|
|
@@ -128,7 +128,7 @@ export interface GridProps {
|
|
|
128
128
|
/**
|
|
129
129
|
* Fires when the user tries to expand or collapse a row.
|
|
130
130
|
*/
|
|
131
|
-
|
|
131
|
+
onExpandchange?: (event: GridExpandChangeEvent) => void;
|
|
132
132
|
/**
|
|
133
133
|
* Specifies the name of the field which will provide a Boolean representation
|
|
134
134
|
* of the expanded state of the item ([see example]({% slug detailrow_grid_native %}).
|
|
@@ -143,50 +143,50 @@ export interface GridProps {
|
|
|
143
143
|
* Fires when the user tries to select or deselect a row
|
|
144
144
|
* ([see example]({% slug selection_grid_native %})).
|
|
145
145
|
*/
|
|
146
|
-
|
|
146
|
+
onSelectionchange?: (event: GridSelectionChangeEvent) => void;
|
|
147
147
|
/**
|
|
148
148
|
* Fires when the user clicks the checkbox of a column header whose `field` matches `selectedField`.
|
|
149
149
|
* ([see example]({% slug selection_grid_native %})).
|
|
150
150
|
*/
|
|
151
|
-
|
|
151
|
+
onHeaderselectionchange?: (event: GridHeaderSelectionChangeEvent) => void;
|
|
152
152
|
/**
|
|
153
153
|
* Fires when the user clicks a row.
|
|
154
154
|
*/
|
|
155
|
-
|
|
155
|
+
onRowclick?: (event: GridRowClickEvent) => void;
|
|
156
156
|
/**
|
|
157
157
|
* Fires when the user double clicks a row.
|
|
158
158
|
*/
|
|
159
|
-
|
|
159
|
+
onRowdblclick?: (event: GridRowClickEvent) => void;
|
|
160
160
|
/**
|
|
161
161
|
* Fires when the user clicks a cell.
|
|
162
162
|
*/
|
|
163
|
-
|
|
163
|
+
onCellclick?: (event: any) => void;
|
|
164
164
|
/**
|
|
165
165
|
* Fires when Grid is scrolled.
|
|
166
166
|
*/
|
|
167
|
-
|
|
167
|
+
onScroll?: (event: any) => void;
|
|
168
168
|
/**
|
|
169
169
|
* Fires when the user triggers an edit operation from a cell.
|
|
170
170
|
*/
|
|
171
|
-
|
|
171
|
+
onEdit?: (event: GridEditEvent) => void;
|
|
172
172
|
/**
|
|
173
173
|
* Fires when the user triggers a removal operation from a cell.
|
|
174
174
|
*/
|
|
175
|
-
|
|
175
|
+
onRemove?: (event: GridRemoveEvent) => void;
|
|
176
176
|
/**
|
|
177
177
|
* Fires when the user triggers a saving operation from a cell.
|
|
178
178
|
*/
|
|
179
|
-
|
|
179
|
+
onSave?: (event: GridSaveEvent) => void;
|
|
180
180
|
/**
|
|
181
181
|
* Fires when the user triggers a canceling operation from a cell.
|
|
182
182
|
*/
|
|
183
|
-
|
|
183
|
+
onCancel?: (event: GridCancelEvent) => void;
|
|
184
184
|
/**
|
|
185
185
|
* Fires when the user changes the values of the item.
|
|
186
186
|
* The event is not debounced and fires on every `onChange` event of the input in the current `EditCell`.
|
|
187
187
|
* ([more information and examples]({% slug editing_inline_grid_native %})).
|
|
188
188
|
*/
|
|
189
|
-
|
|
189
|
+
onItemchange?: (event: GridItemChangeEvent) => void;
|
|
190
190
|
/**
|
|
191
191
|
* Specifies the name of the field which will provide a Boolean representation of the edit state of the current
|
|
192
192
|
* item ([more information and examples]({% slug editing_inline_grid_native %})).
|
|
@@ -221,7 +221,7 @@ export interface GridProps {
|
|
|
221
221
|
/**
|
|
222
222
|
* Fires when the data state of the Grid is changed.
|
|
223
223
|
*/
|
|
224
|
-
|
|
224
|
+
onDatastatechange?: (event: GridDataStateChangeEvent) => void;
|
|
225
225
|
/**
|
|
226
226
|
* If set to `true`, the user can resize columns by dragging the edges (resize handles) of their
|
|
227
227
|
* header cells ([see example]({% slug resizing_columns_grid_native %}).
|
|
@@ -240,11 +240,11 @@ export interface GridProps {
|
|
|
240
240
|
/**
|
|
241
241
|
* Fires when a column is resized
|
|
242
242
|
*/
|
|
243
|
-
|
|
243
|
+
onColumnresize?: (event: GridColumnResizeEvent) => void;
|
|
244
244
|
/**
|
|
245
245
|
* Fires when columns are reordered.
|
|
246
246
|
*/
|
|
247
|
-
|
|
247
|
+
onColumnreorder?: (event: GridColumnReorderEvent) => void;
|
|
248
248
|
/**
|
|
249
249
|
* Defines the custom rendering of the row. Accepts a Vue component, a `render` function, or a slot name.
|
|
250
250
|
*/
|
|
@@ -276,14 +276,12 @@ export interface GridProps {
|
|
|
276
276
|
* By default, navigation is disabled and the Grid content is accessible in the normal tab sequence.
|
|
277
277
|
*/
|
|
278
278
|
navigatable?: boolean;
|
|
279
|
-
}
|
|
280
|
-
export interface GridEmits {
|
|
281
279
|
/**
|
|
282
280
|
* Fires when Grid keyboard navigation position is changed.
|
|
283
281
|
*/
|
|
284
|
-
|
|
282
|
+
onNavigationaction?: (event: GridNavigationActionEvent) => void;
|
|
285
283
|
/**
|
|
286
284
|
* Fires when the user press keyboard key.
|
|
287
285
|
*/
|
|
288
|
-
|
|
286
|
+
onKeydown?: (event: GridKeyDownEvent) => void;
|
|
289
287
|
}
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-grid',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1643717144,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
package/dist/npm/Grid.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { VirtualScroll } from './VirtualScroll';
|
|
|
10
10
|
import { ColumnResize } from './drag/ColumnResize';
|
|
11
11
|
import { CommonDragLogic } from './drag/CommonDragLogic';
|
|
12
12
|
import { DataItemWrapper } from './utils/index';
|
|
13
|
-
import { GridProps
|
|
13
|
+
import { GridProps } from './interfaces/GridProps';
|
|
14
14
|
import { GridColumnProps } from './interfaces/GridColumnProps';
|
|
15
15
|
/**
|
|
16
16
|
* Represents the [native Vue Grid component by Kendo UI]({% slug overview_grid_native %}).
|
|
@@ -141,5 +141,5 @@ export interface GridAll extends GridMethods, GridData, GridState, GridComputed,
|
|
|
141
141
|
* Represents the default `Grid` component.
|
|
142
142
|
*/
|
|
143
143
|
declare let GridVue2: ComponentOptions<Vue2type, DefaultData<GridData>, DefaultMethods<GridAll>, GridComputed, RecordPropsDefinition<GridProps>>;
|
|
144
|
-
declare const Grid: DefineComponent<GridProps, any, GridData, GridComputed, GridMethods, {}, {},
|
|
144
|
+
declare const Grid: DefineComponent<GridProps, any, GridData, GridComputed, GridMethods, {}, {}, {}, string, GridProps, GridProps, {}>;
|
|
145
145
|
export { Grid, GridVue2 };
|
package/dist/npm/Grid.js
CHANGED
|
@@ -97,18 +97,15 @@ var DragClue_1 = require("./drag/DragClue");
|
|
|
97
97
|
|
|
98
98
|
var DropClue_1 = require("./drag/DropClue");
|
|
99
99
|
|
|
100
|
-
var index_1 = require("./utils/index");
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
var GridCell_1 = require("./cells/GridCell"); // import { GridToolbar } from './GridToolbar';
|
|
100
|
+
var index_1 = require("./utils/index");
|
|
104
101
|
|
|
102
|
+
var GridCell_1 = require("./cells/GridCell");
|
|
105
103
|
|
|
106
104
|
var GridGroupCell_1 = require("./cells/GridGroupCell");
|
|
107
105
|
|
|
108
106
|
var GridRow_1 = require("./rows/GridRow");
|
|
109
107
|
|
|
110
|
-
var GridHeaderSelectionCell_1 = require("./header/GridHeaderSelectionCell");
|
|
111
|
-
|
|
108
|
+
var GridHeaderSelectionCell_1 = require("./header/GridHeaderSelectionCell");
|
|
112
109
|
|
|
113
110
|
var GridNoRecords_1 = require("./GridNoRecords");
|
|
114
111
|
|
|
@@ -84,7 +84,7 @@ export interface GridCellProps {
|
|
|
84
84
|
/**
|
|
85
85
|
* The event that is fired when the cell value is changed.
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
onChange?: (event: {
|
|
88
88
|
dataItem: any;
|
|
89
89
|
event: any;
|
|
90
90
|
field?: string;
|
|
@@ -93,7 +93,7 @@ export interface GridCellProps {
|
|
|
93
93
|
/**
|
|
94
94
|
* The event that is fired when the keydown event of the cell is triggered.
|
|
95
95
|
*/
|
|
96
|
-
|
|
96
|
+
onCellkeydown?: (event: {
|
|
97
97
|
event: any;
|
|
98
98
|
dataItem: any;
|
|
99
99
|
field: string;
|
|
@@ -101,20 +101,20 @@ export interface GridCellProps {
|
|
|
101
101
|
/**
|
|
102
102
|
* The event that is fired when the cell is clicked.
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
onCellclick?: (event: {
|
|
105
105
|
dataItem: any;
|
|
106
106
|
field: string;
|
|
107
107
|
}) => void;
|
|
108
108
|
/**
|
|
109
109
|
* The event that is fired when the cell is about to be added.
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
onAdd?: (event: {
|
|
112
112
|
dataItem: any;
|
|
113
113
|
}) => void;
|
|
114
114
|
/**
|
|
115
115
|
* The event that is fired when the cell is about to be edited.
|
|
116
116
|
*/
|
|
117
|
-
|
|
117
|
+
onEdit?: (event: {
|
|
118
118
|
dataItem: any;
|
|
119
119
|
}) => void;
|
|
120
120
|
/**
|
|
@@ -132,7 +132,7 @@ export interface GridCellProps {
|
|
|
132
132
|
/**
|
|
133
133
|
* The event that is fired when the cell is about to be canceled.
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
onCancel?: (event: {
|
|
136
136
|
dataItem: any;
|
|
137
137
|
}) => void;
|
|
138
138
|
/**
|
|
@@ -10,7 +10,7 @@ export interface GridColumnMenuExtendedFilterProps extends GridColumnMenuFilterP
|
|
|
10
10
|
/**
|
|
11
11
|
* Triggered on each subsequent expand state of the filter component.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
onExpandchange?: (nextExpandState: boolean) => void;
|
|
14
14
|
/**
|
|
15
15
|
* If set to `false`, the second filter operator and the input will be hidden.
|
|
16
16
|
*/
|
|
@@ -23,5 +23,5 @@ export interface GridColumnMenuFilterProps {
|
|
|
23
23
|
/**
|
|
24
24
|
* The method that will be called to notify the parent Grid about a filter change.
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
onFilterchange?: (filter: CompositeFilterDescriptor | null, event: any) => any;
|
|
27
27
|
}
|
|
@@ -28,7 +28,7 @@ export interface GridColumnMenuFilterUIProps {
|
|
|
28
28
|
/**
|
|
29
29
|
* The method that will be called to notify the parent about a change in the filter logic.
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
onLogicchange?: (e: any) => void;
|
|
32
32
|
/**
|
|
33
33
|
* The method that will be called to notify the parent about a change in the filter.
|
|
34
34
|
*/
|
|
@@ -43,7 +43,7 @@ export interface GridProps {
|
|
|
43
43
|
* Fires when the sorting of the Grid is changed ([see example]({% slug sorting_grid_native %})).
|
|
44
44
|
* You have to handle the event yourself and sort the data.
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
onSortchange?: (event: GridSortChangeEvent) => void;
|
|
47
47
|
/**
|
|
48
48
|
* The descriptors by which the data is sorted.
|
|
49
49
|
* Applies the sorting styles and buttons to the affected columns.
|
|
@@ -69,7 +69,7 @@ export interface GridProps {
|
|
|
69
69
|
* ([more information and examples]({% slug filtering_grid_native %})).
|
|
70
70
|
* You have to handle the event yourself and filter the data.
|
|
71
71
|
*/
|
|
72
|
-
|
|
72
|
+
onFilterchange?: (event: GridFilterChangeEvent) => void;
|
|
73
73
|
/**
|
|
74
74
|
* Defines if the column menu will be shown for the column.
|
|
75
75
|
* Accepts Boolean, a Vue component, a `render` function, or a slot name
|
|
@@ -88,7 +88,7 @@ export interface GridProps {
|
|
|
88
88
|
* Fires when the grouping of the Grid is changed. You have to handle the event yourself and group the data
|
|
89
89
|
* ([more information and examples]({% slug groupingbasics_grid_native %})).
|
|
90
90
|
*/
|
|
91
|
-
|
|
91
|
+
onGroupchange?: (event: GridGroupChangeEvent) => void;
|
|
92
92
|
/**
|
|
93
93
|
* Configures the pager of the Grid ([see example]({% slug paging_grid_native %})).
|
|
94
94
|
*
|
|
@@ -114,7 +114,7 @@ export interface GridProps {
|
|
|
114
114
|
* Fires when the page of the Grid is changed ([see example]({% slug paging_grid_native %})).
|
|
115
115
|
* You have to handle the event yourself and page the data.
|
|
116
116
|
*/
|
|
117
|
-
|
|
117
|
+
onPagechange?: (event: GridPageChangeEvent) => void;
|
|
118
118
|
/**
|
|
119
119
|
* Defines the total number of data items in all pages
|
|
120
120
|
* ([see example]({% slug paging_grid_native %})). Required by the paging functionality.
|
|
@@ -128,7 +128,7 @@ export interface GridProps {
|
|
|
128
128
|
/**
|
|
129
129
|
* Fires when the user tries to expand or collapse a row.
|
|
130
130
|
*/
|
|
131
|
-
|
|
131
|
+
onExpandchange?: (event: GridExpandChangeEvent) => void;
|
|
132
132
|
/**
|
|
133
133
|
* Specifies the name of the field which will provide a Boolean representation
|
|
134
134
|
* of the expanded state of the item ([see example]({% slug detailrow_grid_native %}).
|
|
@@ -143,50 +143,50 @@ export interface GridProps {
|
|
|
143
143
|
* Fires when the user tries to select or deselect a row
|
|
144
144
|
* ([see example]({% slug selection_grid_native %})).
|
|
145
145
|
*/
|
|
146
|
-
|
|
146
|
+
onSelectionchange?: (event: GridSelectionChangeEvent) => void;
|
|
147
147
|
/**
|
|
148
148
|
* Fires when the user clicks the checkbox of a column header whose `field` matches `selectedField`.
|
|
149
149
|
* ([see example]({% slug selection_grid_native %})).
|
|
150
150
|
*/
|
|
151
|
-
|
|
151
|
+
onHeaderselectionchange?: (event: GridHeaderSelectionChangeEvent) => void;
|
|
152
152
|
/**
|
|
153
153
|
* Fires when the user clicks a row.
|
|
154
154
|
*/
|
|
155
|
-
|
|
155
|
+
onRowclick?: (event: GridRowClickEvent) => void;
|
|
156
156
|
/**
|
|
157
157
|
* Fires when the user double clicks a row.
|
|
158
158
|
*/
|
|
159
|
-
|
|
159
|
+
onRowdblclick?: (event: GridRowClickEvent) => void;
|
|
160
160
|
/**
|
|
161
161
|
* Fires when the user clicks a cell.
|
|
162
162
|
*/
|
|
163
|
-
|
|
163
|
+
onCellclick?: (event: any) => void;
|
|
164
164
|
/**
|
|
165
165
|
* Fires when Grid is scrolled.
|
|
166
166
|
*/
|
|
167
|
-
|
|
167
|
+
onScroll?: (event: any) => void;
|
|
168
168
|
/**
|
|
169
169
|
* Fires when the user triggers an edit operation from a cell.
|
|
170
170
|
*/
|
|
171
|
-
|
|
171
|
+
onEdit?: (event: GridEditEvent) => void;
|
|
172
172
|
/**
|
|
173
173
|
* Fires when the user triggers a removal operation from a cell.
|
|
174
174
|
*/
|
|
175
|
-
|
|
175
|
+
onRemove?: (event: GridRemoveEvent) => void;
|
|
176
176
|
/**
|
|
177
177
|
* Fires when the user triggers a saving operation from a cell.
|
|
178
178
|
*/
|
|
179
|
-
|
|
179
|
+
onSave?: (event: GridSaveEvent) => void;
|
|
180
180
|
/**
|
|
181
181
|
* Fires when the user triggers a canceling operation from a cell.
|
|
182
182
|
*/
|
|
183
|
-
|
|
183
|
+
onCancel?: (event: GridCancelEvent) => void;
|
|
184
184
|
/**
|
|
185
185
|
* Fires when the user changes the values of the item.
|
|
186
186
|
* The event is not debounced and fires on every `onChange` event of the input in the current `EditCell`.
|
|
187
187
|
* ([more information and examples]({% slug editing_inline_grid_native %})).
|
|
188
188
|
*/
|
|
189
|
-
|
|
189
|
+
onItemchange?: (event: GridItemChangeEvent) => void;
|
|
190
190
|
/**
|
|
191
191
|
* Specifies the name of the field which will provide a Boolean representation of the edit state of the current
|
|
192
192
|
* item ([more information and examples]({% slug editing_inline_grid_native %})).
|
|
@@ -221,7 +221,7 @@ export interface GridProps {
|
|
|
221
221
|
/**
|
|
222
222
|
* Fires when the data state of the Grid is changed.
|
|
223
223
|
*/
|
|
224
|
-
|
|
224
|
+
onDatastatechange?: (event: GridDataStateChangeEvent) => void;
|
|
225
225
|
/**
|
|
226
226
|
* If set to `true`, the user can resize columns by dragging the edges (resize handles) of their
|
|
227
227
|
* header cells ([see example]({% slug resizing_columns_grid_native %}).
|
|
@@ -240,11 +240,11 @@ export interface GridProps {
|
|
|
240
240
|
/**
|
|
241
241
|
* Fires when a column is resized
|
|
242
242
|
*/
|
|
243
|
-
|
|
243
|
+
onColumnresize?: (event: GridColumnResizeEvent) => void;
|
|
244
244
|
/**
|
|
245
245
|
* Fires when columns are reordered.
|
|
246
246
|
*/
|
|
247
|
-
|
|
247
|
+
onColumnreorder?: (event: GridColumnReorderEvent) => void;
|
|
248
248
|
/**
|
|
249
249
|
* Defines the custom rendering of the row. Accepts a Vue component, a `render` function, or a slot name.
|
|
250
250
|
*/
|
|
@@ -276,14 +276,12 @@ export interface GridProps {
|
|
|
276
276
|
* By default, navigation is disabled and the Grid content is accessible in the normal tab sequence.
|
|
277
277
|
*/
|
|
278
278
|
navigatable?: boolean;
|
|
279
|
-
}
|
|
280
|
-
export interface GridEmits {
|
|
281
279
|
/**
|
|
282
280
|
* Fires when Grid keyboard navigation position is changed.
|
|
283
281
|
*/
|
|
284
|
-
|
|
282
|
+
onNavigationaction?: (event: GridNavigationActionEvent) => void;
|
|
285
283
|
/**
|
|
286
284
|
* Fires when the user press keyboard key.
|
|
287
285
|
*/
|
|
288
|
-
|
|
286
|
+
onKeydown?: (event: GridKeyDownEvent) => void;
|
|
289
287
|
}
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-grid',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1643717144,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-grid",
|
|
3
|
-
"version": "3.0.4-dev.
|
|
3
|
+
"version": "3.0.4-dev.202202011210",
|
|
4
4
|
"description": "Kendo UI for Vue Grid package",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,23 +34,23 @@
|
|
|
34
34
|
"vue": "^2.6.12 || ^3.0.2"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@progress/kendo-vue-common": "3.0.4-dev.
|
|
37
|
+
"@progress/kendo-vue-common": "3.0.4-dev.202202011210"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@progress/kendo-data-query": "^1.5.4",
|
|
41
41
|
"@progress/kendo-drawing": "^1.9.3",
|
|
42
42
|
"@progress/kendo-licensing": "^1.1.0",
|
|
43
|
-
"@progress/kendo-vue-animation": "3.0.4-dev.
|
|
44
|
-
"@progress/kendo-vue-buttons": "3.0.4-dev.
|
|
45
|
-
"@progress/kendo-vue-charts": "3.0.4-dev.
|
|
46
|
-
"@progress/kendo-vue-data-tools": "3.0.4-dev.
|
|
47
|
-
"@progress/kendo-vue-dateinputs": "3.0.4-dev.
|
|
48
|
-
"@progress/kendo-vue-dropdowns": "3.0.4-dev.
|
|
49
|
-
"@progress/kendo-vue-excel-export": "3.0.4-dev.
|
|
50
|
-
"@progress/kendo-vue-inputs": "3.0.4-dev.
|
|
51
|
-
"@progress/kendo-vue-intl": "3.0.4-dev.
|
|
52
|
-
"@progress/kendo-vue-pdf": "3.0.4-dev.
|
|
53
|
-
"@progress/kendo-vue-popup": "3.0.4-dev.
|
|
43
|
+
"@progress/kendo-vue-animation": "3.0.4-dev.202202011210",
|
|
44
|
+
"@progress/kendo-vue-buttons": "3.0.4-dev.202202011210",
|
|
45
|
+
"@progress/kendo-vue-charts": "3.0.4-dev.202202011210",
|
|
46
|
+
"@progress/kendo-vue-data-tools": "3.0.4-dev.202202011210",
|
|
47
|
+
"@progress/kendo-vue-dateinputs": "3.0.4-dev.202202011210",
|
|
48
|
+
"@progress/kendo-vue-dropdowns": "3.0.4-dev.202202011210",
|
|
49
|
+
"@progress/kendo-vue-excel-export": "3.0.4-dev.202202011210",
|
|
50
|
+
"@progress/kendo-vue-inputs": "3.0.4-dev.202202011210",
|
|
51
|
+
"@progress/kendo-vue-intl": "3.0.4-dev.202202011210",
|
|
52
|
+
"@progress/kendo-vue-pdf": "3.0.4-dev.202202011210",
|
|
53
|
+
"@progress/kendo-vue-popup": "3.0.4-dev.202202011210",
|
|
54
54
|
"cldr-core": "^34.0.0",
|
|
55
55
|
"cldr-dates-full": "^34.0.0",
|
|
56
56
|
"cldr-numbers-full": "^34.0.0",
|