@progress/kendo-vue-grid 2.7.3 → 2.8.0-dev.202201111325
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 +5 -6
- package/dist/es/Grid.js +3 -3
- package/dist/es/GridNav.d.ts +5 -6
- package/dist/es/GridNav.js +4 -3
- package/dist/es/GridNoRecords.d.ts +4 -5
- package/dist/es/GridNoRecords.js +3 -3
- package/dist/es/GridToolbar.d.ts +4 -45
- package/dist/es/GridToolbar.js +3 -43
- package/dist/es/additionalTypes.ts +7 -1
- package/dist/es/cells/GridCell.d.ts +5 -6
- package/dist/es/cells/GridCell.js +3 -3
- package/dist/es/cells/GridDetailCell.d.ts +5 -6
- package/dist/es/cells/GridDetailCell.js +3 -3
- package/dist/es/cells/GridDetailHierarchyCell.d.ts +5 -6
- package/dist/es/cells/GridDetailHierarchyCell.js +3 -3
- package/dist/es/cells/GridEditCell.d.ts +5 -6
- package/dist/es/cells/GridEditCell.js +4 -4
- package/dist/es/cells/GridFilterCell.d.ts +5 -6
- package/dist/es/cells/GridFilterCell.js +16 -17
- package/dist/es/cells/GridGroupCell.d.ts +5 -6
- package/dist/es/cells/GridGroupCell.js +3 -3
- package/dist/es/cells/GridHierarchyCell.d.ts +5 -6
- package/dist/es/cells/GridHierarchyCell.js +3 -3
- package/dist/es/cells/GridSelectionCell.d.ts +5 -6
- package/dist/es/cells/GridSelectionCell.js +3 -3
- package/dist/es/columnMenu/ColumnMenu.d.ts +5 -6
- package/dist/es/columnMenu/ColumnMenu.js +3 -3
- package/dist/es/columnMenu/ColumnMenuContent.d.ts +5 -6
- package/dist/es/columnMenu/ColumnMenuContent.js +3 -3
- package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.js +51 -24
- package/dist/es/columnMenu/GridColumnMenuFilter.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuFilter.js +50 -31
- package/dist/es/columnMenu/GridColumnMenuFilterCell.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuFilterCell.js +4 -4
- package/dist/es/columnMenu/GridColumnMenuFilterUI.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuFilterUI.js +3 -3
- package/dist/es/columnMenu/GridColumnMenuItem.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuItem.js +3 -3
- package/dist/es/columnMenu/GridColumnMenuItemContent.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuItemContent.js +3 -3
- package/dist/es/columnMenu/GridColumnMenuItemGroup.d.ts +4 -5
- package/dist/es/columnMenu/GridColumnMenuItemGroup.js +3 -3
- package/dist/es/columnMenu/GridColumnMenuSort.d.ts +5 -6
- package/dist/es/columnMenu/GridColumnMenuSort.js +3 -3
- package/dist/es/drag/ColumnDraggable.d.ts +5 -6
- package/dist/es/drag/ColumnDraggable.js +3 -3
- package/dist/es/drag/ColumnResizer.d.ts +5 -6
- package/dist/es/drag/ColumnResizer.js +3 -3
- package/dist/es/drag/DragClue.d.ts +5 -6
- package/dist/es/drag/DragClue.js +3 -3
- package/dist/es/drag/DropClue.d.ts +5 -6
- package/dist/es/drag/DropClue.js +3 -3
- package/dist/es/drag/GroupingIndicator.d.ts +5 -6
- package/dist/es/drag/GroupingIndicator.js +29 -25
- package/dist/es/footer/Footer.d.ts +5 -6
- package/dist/es/footer/Footer.js +3 -3
- package/dist/es/footer/FooterRow.d.ts +5 -6
- package/dist/es/footer/FooterRow.js +3 -3
- package/dist/es/header/FilterRow.d.ts +5 -6
- package/dist/es/header/FilterRow.js +3 -3
- package/dist/es/header/GridHeaderCell.d.ts +5 -6
- package/dist/es/header/GridHeaderCell.js +3 -3
- package/dist/es/header/GridHeaderSelectionCell.d.ts +5 -6
- package/dist/es/header/GridHeaderSelectionCell.js +3 -3
- package/dist/es/header/GroupPanel.d.ts +5 -6
- package/dist/es/header/GroupPanel.js +3 -3
- package/dist/es/header/Header.d.ts +6 -8
- package/dist/es/header/Header.js +3 -3
- package/dist/es/header/HeaderRow.d.ts +6 -8
- package/dist/es/header/HeaderRow.js +3 -3
- package/dist/es/interfaces/GridColumnProps.d.ts +4 -5
- package/dist/es/interfaces/GridNoRecordsProps.d.ts +1 -2
- package/dist/es/interfaces/GridProps.d.ts +4 -5
- package/dist/es/interfaces/GridToolbarProps.d.ts +1 -2
- package/dist/es/main.d.ts +22 -22
- package/dist/es/main.js +22 -22
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/rows/GridDetailRow.d.ts +8 -9
- package/dist/es/rows/GridDetailRow.js +3 -3
- package/dist/es/rows/GridRow.d.ts +5 -6
- package/dist/es/rows/GridRow.js +3 -3
- package/dist/npm/Grid.d.ts +5 -6
- package/dist/npm/Grid.js +5 -5
- package/dist/npm/GridNav.d.ts +5 -6
- package/dist/npm/GridNav.js +6 -5
- package/dist/npm/GridNoRecords.d.ts +4 -5
- package/dist/npm/GridNoRecords.js +5 -5
- package/dist/npm/GridToolbar.d.ts +4 -45
- package/dist/npm/GridToolbar.js +5 -45
- package/dist/npm/additionalTypes.ts +7 -1
- package/dist/npm/cells/GridCell.d.ts +5 -6
- package/dist/npm/cells/GridCell.js +5 -5
- package/dist/npm/cells/GridDetailCell.d.ts +5 -6
- package/dist/npm/cells/GridDetailCell.js +5 -5
- package/dist/npm/cells/GridDetailHierarchyCell.d.ts +5 -6
- package/dist/npm/cells/GridDetailHierarchyCell.js +5 -5
- package/dist/npm/cells/GridEditCell.d.ts +5 -6
- package/dist/npm/cells/GridEditCell.js +6 -6
- package/dist/npm/cells/GridFilterCell.d.ts +5 -6
- package/dist/npm/cells/GridFilterCell.js +19 -19
- package/dist/npm/cells/GridGroupCell.d.ts +5 -6
- package/dist/npm/cells/GridGroupCell.js +5 -5
- package/dist/npm/cells/GridHierarchyCell.d.ts +5 -6
- package/dist/npm/cells/GridHierarchyCell.js +5 -5
- package/dist/npm/cells/GridSelectionCell.d.ts +5 -6
- package/dist/npm/cells/GridSelectionCell.js +5 -5
- package/dist/npm/columnMenu/ColumnMenu.d.ts +5 -6
- package/dist/npm/columnMenu/ColumnMenu.js +5 -5
- package/dist/npm/columnMenu/ColumnMenuContent.d.ts +5 -6
- package/dist/npm/columnMenu/ColumnMenuContent.js +5 -5
- package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.js +54 -26
- package/dist/npm/columnMenu/GridColumnMenuFilter.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuFilter.js +53 -33
- package/dist/npm/columnMenu/GridColumnMenuFilterCell.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuFilterCell.js +6 -6
- package/dist/npm/columnMenu/GridColumnMenuFilterUI.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuFilterUI.js +5 -5
- package/dist/npm/columnMenu/GridColumnMenuItem.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuItem.js +5 -5
- package/dist/npm/columnMenu/GridColumnMenuItemContent.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuItemContent.js +5 -5
- package/dist/npm/columnMenu/GridColumnMenuItemGroup.d.ts +4 -5
- package/dist/npm/columnMenu/GridColumnMenuItemGroup.js +5 -5
- package/dist/npm/columnMenu/GridColumnMenuSort.d.ts +5 -6
- package/dist/npm/columnMenu/GridColumnMenuSort.js +5 -5
- package/dist/npm/drag/ColumnDraggable.d.ts +5 -6
- package/dist/npm/drag/ColumnDraggable.js +5 -5
- package/dist/npm/drag/ColumnResizer.d.ts +5 -6
- package/dist/npm/drag/ColumnResizer.js +5 -5
- package/dist/npm/drag/DragClue.d.ts +5 -6
- package/dist/npm/drag/DragClue.js +5 -5
- package/dist/npm/drag/DropClue.d.ts +5 -6
- package/dist/npm/drag/DropClue.js +5 -5
- package/dist/npm/drag/GroupingIndicator.d.ts +5 -6
- package/dist/npm/drag/GroupingIndicator.js +31 -27
- package/dist/npm/footer/Footer.d.ts +5 -6
- package/dist/npm/footer/Footer.js +5 -5
- package/dist/npm/footer/FooterRow.d.ts +5 -6
- package/dist/npm/footer/FooterRow.js +5 -5
- package/dist/npm/header/FilterRow.d.ts +5 -6
- package/dist/npm/header/FilterRow.js +5 -5
- package/dist/npm/header/GridHeaderCell.d.ts +5 -6
- package/dist/npm/header/GridHeaderCell.js +5 -5
- package/dist/npm/header/GridHeaderSelectionCell.d.ts +5 -6
- package/dist/npm/header/GridHeaderSelectionCell.js +5 -5
- package/dist/npm/header/GroupPanel.d.ts +5 -6
- package/dist/npm/header/GroupPanel.js +5 -5
- package/dist/npm/header/Header.d.ts +6 -8
- package/dist/npm/header/Header.js +5 -5
- package/dist/npm/header/HeaderRow.d.ts +6 -8
- package/dist/npm/header/HeaderRow.js +5 -5
- package/dist/npm/interfaces/GridColumnProps.d.ts +4 -5
- package/dist/npm/interfaces/GridNoRecordsProps.d.ts +1 -2
- package/dist/npm/interfaces/GridProps.d.ts +4 -5
- package/dist/npm/interfaces/GridToolbarProps.d.ts +1 -2
- package/dist/npm/main.d.ts +22 -22
- package/dist/npm/main.js +22 -22
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/rows/GridDetailRow.d.ts +8 -9
- package/dist/npm/rows/GridDetailRow.js +5 -5
- package/dist/npm/rows/GridRow.d.ts +5 -6
- package/dist/npm/rows/GridRow.js +5 -5
- package/package.json +13 -12
package/dist/es/Grid.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
2
1
|
declare type DefaultData<V> = object | ((this: V) => GridData);
|
|
3
2
|
declare type DefaultMethods<V> = {
|
|
4
3
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
5
4
|
};
|
|
6
|
-
import { DefineComponent } from './additionalTypes';
|
|
5
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
7
6
|
import { Page, TableKeyboardNavigationContextType, TableKeyboardNavigationStateType } from '@progress/kendo-vue-data-tools';
|
|
8
7
|
import { ExtendedColumnProps } from './interfaces/ExtendedColumnProps';
|
|
9
8
|
import { SortDescriptor, CompositeFilterDescriptor, GroupDescriptor, State } from '@progress/kendo-data-query';
|
|
@@ -136,11 +135,11 @@ export interface GridComputed {
|
|
|
136
135
|
/**
|
|
137
136
|
* @hidden
|
|
138
137
|
*/
|
|
139
|
-
export interface GridAll extends GridMethods, GridData, GridState, GridComputed, GridProps,
|
|
138
|
+
export interface GridAll extends GridMethods, GridData, GridState, GridComputed, GridProps, Vue2type {
|
|
140
139
|
}
|
|
141
140
|
/**
|
|
142
141
|
* Represents the default `Grid` component.
|
|
143
142
|
*/
|
|
144
|
-
declare let
|
|
145
|
-
declare const
|
|
146
|
-
export { Grid,
|
|
143
|
+
declare let GridVue2: ComponentOptions<Vue2type, DefaultData<GridData>, DefaultMethods<GridAll>, GridComputed, RecordPropsDefinition<GridProps>>;
|
|
144
|
+
declare const Grid: DefineComponent<GridProps, any, GridData, GridComputed, GridMethods, {}, {}, {}, string, GridProps, GridProps, {}>;
|
|
145
|
+
export { Grid, GridVue2 };
|
package/dist/es/Grid.js
CHANGED
|
@@ -84,7 +84,7 @@ import { pagerMessagesMap } from './messages';
|
|
|
84
84
|
* Represents the default `Grid` component.
|
|
85
85
|
*/
|
|
86
86
|
|
|
87
|
-
var
|
|
87
|
+
var GridVue2 = {
|
|
88
88
|
name: 'KendoGrid',
|
|
89
89
|
props: {
|
|
90
90
|
alternatePerGroup: Boolean,
|
|
@@ -1927,5 +1927,5 @@ var Grid = {
|
|
|
1927
1927
|
);
|
|
1928
1928
|
}
|
|
1929
1929
|
};
|
|
1930
|
-
var
|
|
1931
|
-
export { Grid,
|
|
1930
|
+
var Grid = GridVue2;
|
|
1931
|
+
export { Grid, GridVue2 };
|
package/dist/es/GridNav.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { RecordPropsDefinition, ComponentOptions } from '
|
|
2
|
-
import { DefineComponent } from './additionalTypes';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -34,11 +33,11 @@ export interface GridNavComputed {
|
|
|
34
33
|
/**
|
|
35
34
|
* @hidden
|
|
36
35
|
*/
|
|
37
|
-
export interface GridNavAll extends GridNavMethods, GridNavState, GridNavData, GridNavComputed,
|
|
36
|
+
export interface GridNavAll extends GridNavMethods, GridNavState, GridNavData, GridNavComputed, Vue2type {
|
|
38
37
|
}
|
|
39
38
|
/**
|
|
40
39
|
* Represents the default `GridNav` component.
|
|
41
40
|
*/
|
|
42
|
-
declare const
|
|
43
|
-
declare const
|
|
44
|
-
export { GridNav,
|
|
41
|
+
declare const GridNavVue2: ComponentOptions<Vue2type, DefaultData<GridNavData>, DefaultMethods<GridNavAll>, GridNavComputed, RecordPropsDefinition<{}>>;
|
|
42
|
+
declare const GridNav: DefineComponent<{}, any, GridNavData, GridNavComputed, GridNavMethods, {}, {}, {}, string, {}, {}, {}>;
|
|
43
|
+
export { GridNav, GridNavVue2 };
|
package/dist/es/GridNav.js
CHANGED
|
@@ -7,7 +7,7 @@ import { getDefaultSlots, noop } from '@progress/kendo-vue-common';
|
|
|
7
7
|
* Represents the default `GridNav` component.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var GridNavVue2 = {
|
|
11
11
|
name: 'KendoGridNav',
|
|
12
12
|
props: {
|
|
13
13
|
currentData: Array
|
|
@@ -85,6 +85,7 @@ var GridNav = {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
|
+
// @ts-ignore
|
|
88
89
|
render: function render(createElement) {
|
|
89
90
|
var h = gh || createElement;
|
|
90
91
|
var defaultSlots = getDefaultSlots(this);
|
|
@@ -102,5 +103,5 @@ var GridNav = {
|
|
|
102
103
|
}, [defaultSlots]);
|
|
103
104
|
}
|
|
104
105
|
};
|
|
105
|
-
var
|
|
106
|
-
export { GridNav,
|
|
106
|
+
var GridNav = GridNavVue2;
|
|
107
|
+
export { GridNav, GridNavVue2 };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
2
1
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
3
2
|
declare type DefaultMethods<V> = {
|
|
4
3
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
5
4
|
};
|
|
6
|
-
import { DefineComponent } from './additionalTypes';
|
|
5
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
7
6
|
/**
|
|
8
7
|
* Represents the GridNoRecords component which is rendered
|
|
9
8
|
* when the `data` property of the Grid is empty or `null`.
|
|
@@ -44,6 +43,6 @@ import { DefineComponent } from './additionalTypes';
|
|
|
44
43
|
/**
|
|
45
44
|
* Represents the default `GridNoRecords` component.
|
|
46
45
|
*/
|
|
47
|
-
declare let
|
|
48
|
-
declare const
|
|
49
|
-
export { GridNoRecords,
|
|
46
|
+
declare let GridNoRecordsVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<{}>, {}, RecordPropsDefinition<{}>>;
|
|
47
|
+
declare const GridNoRecords: DefineComponent<{}, any, {}, {}, {}, {}, {}, {}, string, {}, {}, {}>;
|
|
48
|
+
export { GridNoRecords, GridNoRecordsVue2 };
|
package/dist/es/GridNoRecords.js
CHANGED
|
@@ -48,7 +48,7 @@ import { getDefaultSlots } from '@progress/kendo-vue-common';
|
|
|
48
48
|
* Represents the default `GridNoRecords` component.
|
|
49
49
|
*/
|
|
50
50
|
|
|
51
|
-
var
|
|
51
|
+
var GridNoRecordsVue2 = {
|
|
52
52
|
name: 'GridNoRecords',
|
|
53
53
|
inject: {
|
|
54
54
|
kendoLocalizationService: {
|
|
@@ -74,5 +74,5 @@ var GridNoRecords = {
|
|
|
74
74
|
: this.v3 ? noRecordsMessage : this._v(noRecordsMessage);
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
export { GridNoRecords,
|
|
77
|
+
var GridNoRecords = GridNoRecordsVue2;
|
|
78
|
+
export { GridNoRecords, GridNoRecordsVue2 };
|
package/dist/es/GridToolbar.d.ts
CHANGED
|
@@ -1,57 +1,16 @@
|
|
|
1
1
|
import { GridToolbarProps } from './interfaces/GridToolbarProps';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
6
5
|
};
|
|
7
|
-
import { DefineComponent } from './additionalTypes';
|
|
6
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
8
7
|
/**
|
|
9
8
|
* Represents the GridToolbar component.
|
|
10
9
|
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```tsx-no-run
|
|
13
|
-
* <div id="app">
|
|
14
|
-
* <Grid
|
|
15
|
-
* :data-items="products"
|
|
16
|
-
* :columns="columns">
|
|
17
|
-
* <grid-toolbar >
|
|
18
|
-
* <button title="Add new" class="k-button k-primary" @click='insert' >
|
|
19
|
-
* Add new
|
|
20
|
-
* </button>
|
|
21
|
-
* <button v-if="hasItemsInEdit"
|
|
22
|
-
* title="Cancel current changes"
|
|
23
|
-
* class="k-button"
|
|
24
|
-
* @click="cancelChanges">
|
|
25
|
-
* Cancel current changes
|
|
26
|
-
* </button>
|
|
27
|
-
* </grid-toolbar>
|
|
28
|
-
* </Grid>
|
|
29
|
-
* </div>
|
|
30
|
-
* <script>
|
|
31
|
-
* Vue.component('Grid', Grid);
|
|
32
|
-
* Vue.component('grid-toolbar', GridToolbar);
|
|
33
|
-
* new Vue({
|
|
34
|
-
* el: '#app',
|
|
35
|
-
* data: function () {
|
|
36
|
-
* return {
|
|
37
|
-
* products: [
|
|
38
|
-
* { 'foo': 'A1', 'bar': 'B1' },
|
|
39
|
-
* { 'foo': 'A2', 'bar': 'B2' },
|
|
40
|
-
* { 'foo': 'A3', 'bar': 'B2' }
|
|
41
|
-
* ],
|
|
42
|
-
* columns: [
|
|
43
|
-
* { field: 'foo'},
|
|
44
|
-
* { field: 'bar'}
|
|
45
|
-
* ]
|
|
46
|
-
* };
|
|
47
|
-
* }
|
|
48
|
-
* });
|
|
49
|
-
* </script>
|
|
50
|
-
* ```
|
|
51
10
|
*/
|
|
52
11
|
/**
|
|
53
12
|
* Represents the default `GridToolbar` component.
|
|
54
13
|
*/
|
|
55
|
-
declare let
|
|
56
|
-
declare const
|
|
57
|
-
export { GridToolbar,
|
|
14
|
+
declare let GridToolbarVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<{}>, {}, RecordPropsDefinition<GridToolbarProps>>;
|
|
15
|
+
declare const GridToolbar: DefineComponent<GridToolbarProps, any, {}, {}, {}, {}, {}, {}, string, GridToolbarProps, GridToolbarProps, {}>;
|
|
16
|
+
export { GridToolbar, GridToolbarVue2 };
|
package/dist/es/GridToolbar.js
CHANGED
|
@@ -6,53 +6,13 @@ import { getDefaultSlots } from '@progress/kendo-vue-common';
|
|
|
6
6
|
/**
|
|
7
7
|
* Represents the GridToolbar component.
|
|
8
8
|
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx-no-run
|
|
11
|
-
* <div id="app">
|
|
12
|
-
* <Grid
|
|
13
|
-
* :data-items="products"
|
|
14
|
-
* :columns="columns">
|
|
15
|
-
* <grid-toolbar >
|
|
16
|
-
* <button title="Add new" class="k-button k-primary" @click='insert' >
|
|
17
|
-
* Add new
|
|
18
|
-
* </button>
|
|
19
|
-
* <button v-if="hasItemsInEdit"
|
|
20
|
-
* title="Cancel current changes"
|
|
21
|
-
* class="k-button"
|
|
22
|
-
* @click="cancelChanges">
|
|
23
|
-
* Cancel current changes
|
|
24
|
-
* </button>
|
|
25
|
-
* </grid-toolbar>
|
|
26
|
-
* </Grid>
|
|
27
|
-
* </div>
|
|
28
|
-
* <script>
|
|
29
|
-
* Vue.component('Grid', Grid);
|
|
30
|
-
* Vue.component('grid-toolbar', GridToolbar);
|
|
31
|
-
* new Vue({
|
|
32
|
-
* el: '#app',
|
|
33
|
-
* data: function () {
|
|
34
|
-
* return {
|
|
35
|
-
* products: [
|
|
36
|
-
* { 'foo': 'A1', 'bar': 'B1' },
|
|
37
|
-
* { 'foo': 'A2', 'bar': 'B2' },
|
|
38
|
-
* { 'foo': 'A3', 'bar': 'B2' }
|
|
39
|
-
* ],
|
|
40
|
-
* columns: [
|
|
41
|
-
* { field: 'foo'},
|
|
42
|
-
* { field: 'bar'}
|
|
43
|
-
* ]
|
|
44
|
-
* };
|
|
45
|
-
* }
|
|
46
|
-
* });
|
|
47
|
-
* </script>
|
|
48
|
-
* ```
|
|
49
9
|
*/
|
|
50
10
|
|
|
51
11
|
/**
|
|
52
12
|
* Represents the default `GridToolbar` component.
|
|
53
13
|
*/
|
|
54
14
|
|
|
55
|
-
var
|
|
15
|
+
var GridToolbarVue2 = {
|
|
56
16
|
name: 'GridToolbar',
|
|
57
17
|
// @ts-ignore
|
|
58
18
|
setup: !gh ? undefined : function () {
|
|
@@ -70,5 +30,5 @@ var GridToolbar = {
|
|
|
70
30
|
}, [defaultSlot]);
|
|
71
31
|
}
|
|
72
32
|
};
|
|
73
|
-
var
|
|
74
|
-
export { GridToolbar,
|
|
33
|
+
var GridToolbar = GridToolbarVue2;
|
|
34
|
+
export { GridToolbar, GridToolbarVue2 };
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DefineComponent } from 'vue';
|
|
3
|
-
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
import * as Vue from 'vue';
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
type Vue2type = Vue.default;
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
9
|
+
export { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -9,7 +8,7 @@ import { IntlService } from '@progress/kendo-vue-intl';
|
|
|
9
8
|
/**
|
|
10
9
|
* @hidden
|
|
11
10
|
*/
|
|
12
|
-
export interface GridCellAll extends
|
|
11
|
+
export interface GridCellAll extends Vue2type {
|
|
13
12
|
_intl: IntlService;
|
|
14
13
|
triggerKeydown: (e: any) => void;
|
|
15
14
|
triggerClick: () => void;
|
|
@@ -23,6 +22,6 @@ export interface GridCellAll extends Vue {
|
|
|
23
22
|
/**
|
|
24
23
|
* Represents the default `GridCell` component.
|
|
25
24
|
*/
|
|
26
|
-
declare let
|
|
27
|
-
declare const
|
|
28
|
-
export { GridCell,
|
|
25
|
+
declare let GridCellVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<GridCellAll>, {}, RecordPropsDefinition<GridCellProps>>;
|
|
26
|
+
declare const GridCell: DefineComponent<GridCellProps, any, {}, {}, {}, {}, {}, {}, string, GridCellProps, GridCellProps, {}>;
|
|
27
|
+
export { GridCell, GridCellVue2 };
|
|
@@ -11,7 +11,7 @@ import { KEYBOARD_NAV_DATA_ID, KEYBOARD_NAV_DATA_LEVEL } from '@progress/kendo-v
|
|
|
11
11
|
* Represents the default `GridCell` component.
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var GridCellVue2 = {
|
|
15
15
|
name: 'GridCell',
|
|
16
16
|
// @ts-ignore
|
|
17
17
|
emits: {
|
|
@@ -151,5 +151,5 @@ var GridCell = {
|
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
|
-
var
|
|
155
|
-
export { GridCell,
|
|
154
|
+
var GridCell = GridCellVue2;
|
|
155
|
+
export { GridCell, GridCellVue2 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -16,12 +15,12 @@ export interface GridDetailCellProps {
|
|
|
16
15
|
/**
|
|
17
16
|
* @hidden
|
|
18
17
|
*/
|
|
19
|
-
export interface GridDetailCellAll extends GridDetailCellProps,
|
|
18
|
+
export interface GridDetailCellAll extends GridDetailCellProps, Vue2type {
|
|
20
19
|
getKeyboardNavigationAttributes: (id: string) => any;
|
|
21
20
|
}
|
|
22
21
|
/**
|
|
23
22
|
* Represents the default `GridDetailCell` component.
|
|
24
23
|
*/
|
|
25
|
-
declare let
|
|
26
|
-
declare const
|
|
27
|
-
export { GridDetailCell,
|
|
24
|
+
declare let GridDetailCellVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<GridDetailCellAll>, {}, RecordPropsDefinition<GridDetailCellProps>>;
|
|
25
|
+
declare const GridDetailCell: DefineComponent<GridDetailCellProps, any, {}, {}, {}, {}, {}, {}, string, GridDetailCellProps, GridDetailCellProps, {}>;
|
|
26
|
+
export { GridDetailCell, GridDetailCellVue2 };
|
|
@@ -9,7 +9,7 @@ import { KEYBOARD_NAV_DATA_ID, KEYBOARD_NAV_DATA_LEVEL } from '@progress/kendo-v
|
|
|
9
9
|
* Represents the default `GridDetailCell` component.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var GridDetailCellVue2 = {
|
|
13
13
|
props: {
|
|
14
14
|
colSpan: Number,
|
|
15
15
|
ariaColIndex: Number,
|
|
@@ -73,5 +73,5 @@ var GridDetailCell = {
|
|
|
73
73
|
})]);
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
var
|
|
77
|
-
export { GridDetailCell,
|
|
76
|
+
var GridDetailCell = GridDetailCellVue2;
|
|
77
|
+
export { GridDetailCell, GridDetailCellVue2 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -11,12 +10,12 @@ export interface GridDetailHierarchyCellProps {
|
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
13
12
|
*/
|
|
14
|
-
export interface GridDetailHierarchyCellAll extends GridDetailHierarchyCellProps,
|
|
13
|
+
export interface GridDetailHierarchyCellAll extends GridDetailHierarchyCellProps, Vue2type {
|
|
15
14
|
getKeyboardNavigationAttributes: (id: string) => any;
|
|
16
15
|
}
|
|
17
16
|
/**
|
|
18
17
|
* Represents the default `GridDetailHierarchyCell` component.
|
|
19
18
|
*/
|
|
20
|
-
declare let
|
|
21
|
-
declare const
|
|
22
|
-
export { GridDetailHierarchyCell,
|
|
19
|
+
declare let GridDetailHierarchyCellVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<GridDetailHierarchyCellAll>, {}, RecordPropsDefinition<GridDetailHierarchyCellProps>>;
|
|
20
|
+
declare const GridDetailHierarchyCell: DefineComponent<GridDetailHierarchyCellProps, any, {}, {}, {}, {}, {}, {}, string, GridDetailHierarchyCellProps, GridDetailHierarchyCellProps, {}>;
|
|
21
|
+
export { GridDetailHierarchyCell, GridDetailHierarchyCellVue2 };
|
|
@@ -9,7 +9,7 @@ import { noop } from '@progress/kendo-vue-common';
|
|
|
9
9
|
* Represents the default `GridDetailHierarchyCell` component.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var GridDetailHierarchyCellVue2 = {
|
|
13
13
|
props: {
|
|
14
14
|
id: String
|
|
15
15
|
},
|
|
@@ -44,5 +44,5 @@ var GridDetailHierarchyCell = {
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
|
-
var
|
|
48
|
-
export { GridDetailHierarchyCell,
|
|
47
|
+
var GridDetailHierarchyCell = GridDetailHierarchyCellVue2;
|
|
48
|
+
export { GridDetailHierarchyCell, GridDetailHierarchyCellVue2 };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
2
2
|
import { GridCellProps } from '../interfaces/GridCellProps';
|
|
3
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
4
3
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
5
4
|
declare type DefaultMethods<V> = {
|
|
6
5
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -8,7 +7,7 @@ declare type DefaultMethods<V> = {
|
|
|
8
7
|
/**
|
|
9
8
|
* @hidden
|
|
10
9
|
*/
|
|
11
|
-
export interface GridEditCellMethods extends
|
|
10
|
+
export interface GridEditCellMethods extends Vue2type {
|
|
12
11
|
triggerClick: () => void;
|
|
13
12
|
triggerKeydown: (e: any) => void;
|
|
14
13
|
triggerEdit: (dataItem: any) => void;
|
|
@@ -33,6 +32,6 @@ export interface GridEditCellAll extends GridEditCellMethods, GridEditCellData {
|
|
|
33
32
|
/**
|
|
34
33
|
* Represents the default `GridEditCell` component.
|
|
35
34
|
*/
|
|
36
|
-
declare let
|
|
37
|
-
declare const
|
|
38
|
-
export { GridEditCell,
|
|
35
|
+
declare let GridEditCellVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<GridEditCellMethods>, {}, RecordPropsDefinition<GridCellProps>>;
|
|
36
|
+
declare const GridEditCell: DefineComponent<GridCellProps, any, GridEditCellData, [], GridEditCellMethods, {}, {}, {}, string, GridCellProps, GridCellProps, {}>;
|
|
37
|
+
export { GridEditCell, GridEditCellVue2 };
|
|
@@ -12,7 +12,7 @@ import { KEYBOARD_NAV_DATA_ID, KEYBOARD_NAV_DATA_LEVEL } from '@progress/kendo-v
|
|
|
12
12
|
* Represents the default `GridEditCell` component.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var GridEditCellVue2 = {
|
|
16
16
|
props: {
|
|
17
17
|
id: String,
|
|
18
18
|
field: String,
|
|
@@ -272,7 +272,7 @@ var GridEditCell = {
|
|
|
272
272
|
style: {
|
|
273
273
|
width: '100%'
|
|
274
274
|
},
|
|
275
|
-
"class": "k-
|
|
275
|
+
"class": "k-input",
|
|
276
276
|
value: this.v3 ? data !== null && data !== void 0 ? data : '' : null,
|
|
277
277
|
domProps: this.v3 ? undefined : {
|
|
278
278
|
"value": data !== null && data !== void 0 ? data : ''
|
|
@@ -301,5 +301,5 @@ var GridEditCell = {
|
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
|
-
var
|
|
305
|
-
export { GridEditCell,
|
|
304
|
+
var GridEditCell = GridEditCellVue2;
|
|
305
|
+
export { GridEditCell, GridEditCellVue2 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -8,7 +7,7 @@ import { GridFilterCellProps } from '../interfaces/GridFilterCellProps';
|
|
|
8
7
|
/**
|
|
9
8
|
* @hidden
|
|
10
9
|
*/
|
|
11
|
-
export interface GridFilterCellMethods extends
|
|
10
|
+
export interface GridFilterCellMethods extends Vue2type {
|
|
12
11
|
triggerClick: () => void;
|
|
13
12
|
inputChange: (value: any, e: any) => void;
|
|
14
13
|
operatorChange: (operatorValue: any, e: any) => void;
|
|
@@ -19,6 +18,6 @@ export interface GridFilterCellMethods extends Vue {
|
|
|
19
18
|
/**
|
|
20
19
|
* Represents the default `GridFilterCell` component.
|
|
21
20
|
*/
|
|
22
|
-
declare let
|
|
23
|
-
declare const
|
|
24
|
-
export { GridFilterCell,
|
|
21
|
+
declare let GridFilterCellVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<GridFilterCellMethods>, {}, RecordPropsDefinition<GridFilterCellProps>>;
|
|
22
|
+
declare const GridFilterCell: DefineComponent<GridFilterCellProps, any, {}, {}, GridFilterCellMethods, {}, {}, {}, string, GridFilterCellProps, GridFilterCellProps, {}>;
|
|
23
|
+
export { GridFilterCell, GridFilterCellVue2 };
|
|
@@ -3,6 +3,7 @@ import * as Vue from 'vue';
|
|
|
3
3
|
var allVue = Vue;
|
|
4
4
|
var gh = allVue.h;
|
|
5
5
|
var inject = allVue.inject;
|
|
6
|
+
import { Button } from '@progress/kendo-vue-buttons';
|
|
6
7
|
import { messages, filterClearButton, filterChooseOperator } from '../messages';
|
|
7
8
|
import { DropDownList } from '@progress/kendo-vue-dropdowns';
|
|
8
9
|
import { NumericTextBox } from '@progress/kendo-vue-inputs';
|
|
@@ -14,7 +15,7 @@ import { templateRendering, getListeners, getTemplate } from '@progress/kendo-vu
|
|
|
14
15
|
* Represents the default `GridFilterCell` component.
|
|
15
16
|
*/
|
|
16
17
|
|
|
17
|
-
var
|
|
18
|
+
var GridFilterCellVue2 = {
|
|
18
19
|
name: 'KendoGridFilterCell',
|
|
19
20
|
props: {
|
|
20
21
|
id: String,
|
|
@@ -190,7 +191,7 @@ var GridFilterCell = {
|
|
|
190
191
|
|
|
191
192
|
default:
|
|
192
193
|
return h("input", {
|
|
193
|
-
"class": "k-textbox",
|
|
194
|
+
"class": "k-textbox k-input",
|
|
194
195
|
value: this.v3 ? value || '' : null,
|
|
195
196
|
domProps: this.v3 ? undefined : {
|
|
196
197
|
"value": value || ''
|
|
@@ -215,25 +216,23 @@ var GridFilterCell = {
|
|
|
215
216
|
"class": "k-filtercell"
|
|
216
217
|
}, [h("div", {
|
|
217
218
|
"class": "k-filtercell-wrapper"
|
|
218
|
-
}, [filterComponent.call(this, this.$props.filterType, this.$props.value),
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
"class":
|
|
222
|
-
/* button is always visible if there is either value or operator */
|
|
223
|
-
!(this.$props.value === null || this.$props.value === '') || this.$props.operator ? 'k-button k-button-icon k-clear-button-visible' : 'k-button k-button-icon',
|
|
224
|
-
title: localizationService.toLanguageString(filterClearButton, messages[filterClearButton]),
|
|
219
|
+
}, [filterComponent.call(this, this.$props.filterType, this.$props.value), renderOperatorEditor.call(this), // @ts-ignore function children
|
|
220
|
+
h(Button, {
|
|
221
|
+
icon: 'filter-clear',
|
|
225
222
|
attrs: this.v3 ? undefined : {
|
|
226
|
-
|
|
227
|
-
|
|
223
|
+
icon: 'filter-clear',
|
|
224
|
+
title: localizationService.toLanguageString(filterClearButton, messages[filterClearButton])
|
|
225
|
+
},
|
|
226
|
+
"class": {
|
|
227
|
+
/* button is always visible if there is either value or operator */
|
|
228
|
+
'k-disabled': !(!(this.$props.value === null || this.$props.value === '') || this.$props.operator)
|
|
228
229
|
},
|
|
229
|
-
|
|
230
|
+
title: localizationService.toLanguageString(filterClearButton, messages[filterClearButton]),
|
|
230
231
|
onClick: this.clear,
|
|
231
232
|
on: this.v3 ? undefined : {
|
|
232
233
|
"click": this.clear
|
|
233
234
|
}
|
|
234
|
-
}
|
|
235
|
-
"class": "k-icon k-i-filter-clear"
|
|
236
|
-
})])])])]);
|
|
235
|
+
})])]);
|
|
237
236
|
var gridListeners = this.$props.grid ? getListeners.call(this.$props.grid) : null;
|
|
238
237
|
var cellRenderFunction = templateRendering.call(this.$props.grid, this.$props.render, gridListeners);
|
|
239
238
|
return getTemplate.call(this, {
|
|
@@ -247,5 +246,5 @@ var GridFilterCell = {
|
|
|
247
246
|
});
|
|
248
247
|
}
|
|
249
248
|
};
|
|
250
|
-
var
|
|
251
|
-
export { GridFilterCell,
|
|
249
|
+
var GridFilterCell = GridFilterCellVue2;
|
|
250
|
+
export { GridFilterCell, GridFilterCellVue2 };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
2
2
|
import { GridCellProps } from '../interfaces/GridCellProps';
|
|
3
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
4
3
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
5
4
|
declare type DefaultMethods<V> = {
|
|
6
5
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -8,7 +7,7 @@ declare type DefaultMethods<V> = {
|
|
|
8
7
|
/**
|
|
9
8
|
* @hidden
|
|
10
9
|
*/
|
|
11
|
-
export interface GridGroupCellMethods extends
|
|
10
|
+
export interface GridGroupCellMethods extends Vue2type {
|
|
12
11
|
triggerKeydown: (e: any, expanded: boolean | undefined) => void;
|
|
13
12
|
clickHandler: (e: any, dataItem: any, expanded: boolean | undefined) => void;
|
|
14
13
|
getKeyboardNavigationAttributes: (id: string) => any;
|
|
@@ -16,6 +15,6 @@ export interface GridGroupCellMethods extends Vue {
|
|
|
16
15
|
/**
|
|
17
16
|
* Represents the default `GridGroupCell` component.
|
|
18
17
|
*/
|
|
19
|
-
declare let
|
|
20
|
-
declare const
|
|
21
|
-
export { GridGroupCell,
|
|
18
|
+
declare let GridGroupCellVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<GridGroupCellMethods>, {}, RecordPropsDefinition<GridCellProps>>;
|
|
19
|
+
declare const GridGroupCell: DefineComponent<GridCellProps, any, {}, {}, GridGroupCellMethods, {}, {}, {}, string, GridCellProps, GridCellProps, {}>;
|
|
20
|
+
export { GridGroupCell, GridGroupCellVue2 };
|
|
@@ -8,7 +8,7 @@ import { KEYBOARD_NAV_DATA_ID, KEYBOARD_NAV_DATA_LEVEL } from '@progress/kendo-v
|
|
|
8
8
|
* Represents the default `GridGroupCell` component.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var GridGroupCellVue2 = {
|
|
12
12
|
props: {
|
|
13
13
|
id: String,
|
|
14
14
|
field: String,
|
|
@@ -168,5 +168,5 @@ var GridGroupCell = {
|
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
|
-
var
|
|
172
|
-
export { GridGroupCell,
|
|
171
|
+
var GridGroupCell = GridGroupCellVue2;
|
|
172
|
+
export { GridGroupCell, GridGroupCellVue2 };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
2
2
|
import { GridCellProps } from '../interfaces/GridCellProps';
|
|
3
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
4
3
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
5
4
|
declare type DefaultMethods<V> = {
|
|
6
5
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -8,7 +7,7 @@ declare type DefaultMethods<V> = {
|
|
|
8
7
|
/**
|
|
9
8
|
* @hidden
|
|
10
9
|
*/
|
|
11
|
-
export interface GridHierarchyCellMethods extends
|
|
10
|
+
export interface GridHierarchyCellMethods extends Vue2type {
|
|
12
11
|
triggerKeydown: (e: any, expanded: boolean | undefined) => void;
|
|
13
12
|
clickHandler: (e: any, dataItem: any, expanded: boolean | undefined) => void;
|
|
14
13
|
getKeyboardNavigationAttributes: (id: string) => any;
|
|
@@ -16,6 +15,6 @@ export interface GridHierarchyCellMethods extends Vue {
|
|
|
16
15
|
/**
|
|
17
16
|
* Represents the default `GridHierarchyCell` component.
|
|
18
17
|
*/
|
|
19
|
-
declare let
|
|
20
|
-
declare const
|
|
21
|
-
export { GridHierarchyCell,
|
|
18
|
+
declare let GridHierarchyCellVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<GridHierarchyCellMethods>, {}, RecordPropsDefinition<GridCellProps>>;
|
|
19
|
+
declare const GridHierarchyCell: DefineComponent<GridCellProps, any, {}, {}, GridHierarchyCellMethods, {}, {}, {}, string, GridCellProps, GridCellProps, {}>;
|
|
20
|
+
export { GridHierarchyCell, GridHierarchyCellVue2 };
|
|
@@ -9,7 +9,7 @@ import { KEYBOARD_NAV_DATA_ID, KEYBOARD_NAV_DATA_LEVEL } from '@progress/kendo-v
|
|
|
9
9
|
* Represents the default `GridHierarchyCell` component.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var GridHierarchyCellVue2 = {
|
|
13
13
|
props: {
|
|
14
14
|
id: String,
|
|
15
15
|
field: String,
|
|
@@ -153,5 +153,5 @@ var GridHierarchyCell = {
|
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
|
-
var
|
|
157
|
-
export { GridHierarchyCell,
|
|
156
|
+
var GridHierarchyCell = GridHierarchyCellVue2;
|
|
157
|
+
export { GridHierarchyCell, GridHierarchyCellVue2 };
|