@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.
Files changed (166) hide show
  1. package/dist/cdn/js/kendo-vue-grid.js +1 -1
  2. package/dist/es/Grid.d.ts +5 -6
  3. package/dist/es/Grid.js +3 -3
  4. package/dist/es/GridNav.d.ts +5 -6
  5. package/dist/es/GridNav.js +4 -3
  6. package/dist/es/GridNoRecords.d.ts +4 -5
  7. package/dist/es/GridNoRecords.js +3 -3
  8. package/dist/es/GridToolbar.d.ts +4 -45
  9. package/dist/es/GridToolbar.js +3 -43
  10. package/dist/es/additionalTypes.ts +7 -1
  11. package/dist/es/cells/GridCell.d.ts +5 -6
  12. package/dist/es/cells/GridCell.js +3 -3
  13. package/dist/es/cells/GridDetailCell.d.ts +5 -6
  14. package/dist/es/cells/GridDetailCell.js +3 -3
  15. package/dist/es/cells/GridDetailHierarchyCell.d.ts +5 -6
  16. package/dist/es/cells/GridDetailHierarchyCell.js +3 -3
  17. package/dist/es/cells/GridEditCell.d.ts +5 -6
  18. package/dist/es/cells/GridEditCell.js +4 -4
  19. package/dist/es/cells/GridFilterCell.d.ts +5 -6
  20. package/dist/es/cells/GridFilterCell.js +16 -17
  21. package/dist/es/cells/GridGroupCell.d.ts +5 -6
  22. package/dist/es/cells/GridGroupCell.js +3 -3
  23. package/dist/es/cells/GridHierarchyCell.d.ts +5 -6
  24. package/dist/es/cells/GridHierarchyCell.js +3 -3
  25. package/dist/es/cells/GridSelectionCell.d.ts +5 -6
  26. package/dist/es/cells/GridSelectionCell.js +3 -3
  27. package/dist/es/columnMenu/ColumnMenu.d.ts +5 -6
  28. package/dist/es/columnMenu/ColumnMenu.js +3 -3
  29. package/dist/es/columnMenu/ColumnMenuContent.d.ts +5 -6
  30. package/dist/es/columnMenu/ColumnMenuContent.js +3 -3
  31. package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.d.ts +5 -6
  32. package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.js +51 -24
  33. package/dist/es/columnMenu/GridColumnMenuFilter.d.ts +5 -6
  34. package/dist/es/columnMenu/GridColumnMenuFilter.js +50 -31
  35. package/dist/es/columnMenu/GridColumnMenuFilterCell.d.ts +5 -6
  36. package/dist/es/columnMenu/GridColumnMenuFilterCell.js +4 -4
  37. package/dist/es/columnMenu/GridColumnMenuFilterUI.d.ts +5 -6
  38. package/dist/es/columnMenu/GridColumnMenuFilterUI.js +3 -3
  39. package/dist/es/columnMenu/GridColumnMenuItem.d.ts +5 -6
  40. package/dist/es/columnMenu/GridColumnMenuItem.js +3 -3
  41. package/dist/es/columnMenu/GridColumnMenuItemContent.d.ts +5 -6
  42. package/dist/es/columnMenu/GridColumnMenuItemContent.js +3 -3
  43. package/dist/es/columnMenu/GridColumnMenuItemGroup.d.ts +4 -5
  44. package/dist/es/columnMenu/GridColumnMenuItemGroup.js +3 -3
  45. package/dist/es/columnMenu/GridColumnMenuSort.d.ts +5 -6
  46. package/dist/es/columnMenu/GridColumnMenuSort.js +3 -3
  47. package/dist/es/drag/ColumnDraggable.d.ts +5 -6
  48. package/dist/es/drag/ColumnDraggable.js +3 -3
  49. package/dist/es/drag/ColumnResizer.d.ts +5 -6
  50. package/dist/es/drag/ColumnResizer.js +3 -3
  51. package/dist/es/drag/DragClue.d.ts +5 -6
  52. package/dist/es/drag/DragClue.js +3 -3
  53. package/dist/es/drag/DropClue.d.ts +5 -6
  54. package/dist/es/drag/DropClue.js +3 -3
  55. package/dist/es/drag/GroupingIndicator.d.ts +5 -6
  56. package/dist/es/drag/GroupingIndicator.js +29 -25
  57. package/dist/es/footer/Footer.d.ts +5 -6
  58. package/dist/es/footer/Footer.js +3 -3
  59. package/dist/es/footer/FooterRow.d.ts +5 -6
  60. package/dist/es/footer/FooterRow.js +3 -3
  61. package/dist/es/header/FilterRow.d.ts +5 -6
  62. package/dist/es/header/FilterRow.js +3 -3
  63. package/dist/es/header/GridHeaderCell.d.ts +5 -6
  64. package/dist/es/header/GridHeaderCell.js +3 -3
  65. package/dist/es/header/GridHeaderSelectionCell.d.ts +5 -6
  66. package/dist/es/header/GridHeaderSelectionCell.js +3 -3
  67. package/dist/es/header/GroupPanel.d.ts +5 -6
  68. package/dist/es/header/GroupPanel.js +3 -3
  69. package/dist/es/header/Header.d.ts +6 -8
  70. package/dist/es/header/Header.js +3 -3
  71. package/dist/es/header/HeaderRow.d.ts +6 -8
  72. package/dist/es/header/HeaderRow.js +3 -3
  73. package/dist/es/interfaces/GridColumnProps.d.ts +4 -5
  74. package/dist/es/interfaces/GridNoRecordsProps.d.ts +1 -2
  75. package/dist/es/interfaces/GridProps.d.ts +4 -5
  76. package/dist/es/interfaces/GridToolbarProps.d.ts +1 -2
  77. package/dist/es/main.d.ts +22 -22
  78. package/dist/es/main.js +22 -22
  79. package/dist/es/package-metadata.js +1 -1
  80. package/dist/es/rows/GridDetailRow.d.ts +8 -9
  81. package/dist/es/rows/GridDetailRow.js +3 -3
  82. package/dist/es/rows/GridRow.d.ts +5 -6
  83. package/dist/es/rows/GridRow.js +3 -3
  84. package/dist/npm/Grid.d.ts +5 -6
  85. package/dist/npm/Grid.js +5 -5
  86. package/dist/npm/GridNav.d.ts +5 -6
  87. package/dist/npm/GridNav.js +6 -5
  88. package/dist/npm/GridNoRecords.d.ts +4 -5
  89. package/dist/npm/GridNoRecords.js +5 -5
  90. package/dist/npm/GridToolbar.d.ts +4 -45
  91. package/dist/npm/GridToolbar.js +5 -45
  92. package/dist/npm/additionalTypes.ts +7 -1
  93. package/dist/npm/cells/GridCell.d.ts +5 -6
  94. package/dist/npm/cells/GridCell.js +5 -5
  95. package/dist/npm/cells/GridDetailCell.d.ts +5 -6
  96. package/dist/npm/cells/GridDetailCell.js +5 -5
  97. package/dist/npm/cells/GridDetailHierarchyCell.d.ts +5 -6
  98. package/dist/npm/cells/GridDetailHierarchyCell.js +5 -5
  99. package/dist/npm/cells/GridEditCell.d.ts +5 -6
  100. package/dist/npm/cells/GridEditCell.js +6 -6
  101. package/dist/npm/cells/GridFilterCell.d.ts +5 -6
  102. package/dist/npm/cells/GridFilterCell.js +19 -19
  103. package/dist/npm/cells/GridGroupCell.d.ts +5 -6
  104. package/dist/npm/cells/GridGroupCell.js +5 -5
  105. package/dist/npm/cells/GridHierarchyCell.d.ts +5 -6
  106. package/dist/npm/cells/GridHierarchyCell.js +5 -5
  107. package/dist/npm/cells/GridSelectionCell.d.ts +5 -6
  108. package/dist/npm/cells/GridSelectionCell.js +5 -5
  109. package/dist/npm/columnMenu/ColumnMenu.d.ts +5 -6
  110. package/dist/npm/columnMenu/ColumnMenu.js +5 -5
  111. package/dist/npm/columnMenu/ColumnMenuContent.d.ts +5 -6
  112. package/dist/npm/columnMenu/ColumnMenuContent.js +5 -5
  113. package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.d.ts +5 -6
  114. package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.js +54 -26
  115. package/dist/npm/columnMenu/GridColumnMenuFilter.d.ts +5 -6
  116. package/dist/npm/columnMenu/GridColumnMenuFilter.js +53 -33
  117. package/dist/npm/columnMenu/GridColumnMenuFilterCell.d.ts +5 -6
  118. package/dist/npm/columnMenu/GridColumnMenuFilterCell.js +6 -6
  119. package/dist/npm/columnMenu/GridColumnMenuFilterUI.d.ts +5 -6
  120. package/dist/npm/columnMenu/GridColumnMenuFilterUI.js +5 -5
  121. package/dist/npm/columnMenu/GridColumnMenuItem.d.ts +5 -6
  122. package/dist/npm/columnMenu/GridColumnMenuItem.js +5 -5
  123. package/dist/npm/columnMenu/GridColumnMenuItemContent.d.ts +5 -6
  124. package/dist/npm/columnMenu/GridColumnMenuItemContent.js +5 -5
  125. package/dist/npm/columnMenu/GridColumnMenuItemGroup.d.ts +4 -5
  126. package/dist/npm/columnMenu/GridColumnMenuItemGroup.js +5 -5
  127. package/dist/npm/columnMenu/GridColumnMenuSort.d.ts +5 -6
  128. package/dist/npm/columnMenu/GridColumnMenuSort.js +5 -5
  129. package/dist/npm/drag/ColumnDraggable.d.ts +5 -6
  130. package/dist/npm/drag/ColumnDraggable.js +5 -5
  131. package/dist/npm/drag/ColumnResizer.d.ts +5 -6
  132. package/dist/npm/drag/ColumnResizer.js +5 -5
  133. package/dist/npm/drag/DragClue.d.ts +5 -6
  134. package/dist/npm/drag/DragClue.js +5 -5
  135. package/dist/npm/drag/DropClue.d.ts +5 -6
  136. package/dist/npm/drag/DropClue.js +5 -5
  137. package/dist/npm/drag/GroupingIndicator.d.ts +5 -6
  138. package/dist/npm/drag/GroupingIndicator.js +31 -27
  139. package/dist/npm/footer/Footer.d.ts +5 -6
  140. package/dist/npm/footer/Footer.js +5 -5
  141. package/dist/npm/footer/FooterRow.d.ts +5 -6
  142. package/dist/npm/footer/FooterRow.js +5 -5
  143. package/dist/npm/header/FilterRow.d.ts +5 -6
  144. package/dist/npm/header/FilterRow.js +5 -5
  145. package/dist/npm/header/GridHeaderCell.d.ts +5 -6
  146. package/dist/npm/header/GridHeaderCell.js +5 -5
  147. package/dist/npm/header/GridHeaderSelectionCell.d.ts +5 -6
  148. package/dist/npm/header/GridHeaderSelectionCell.js +5 -5
  149. package/dist/npm/header/GroupPanel.d.ts +5 -6
  150. package/dist/npm/header/GroupPanel.js +5 -5
  151. package/dist/npm/header/Header.d.ts +6 -8
  152. package/dist/npm/header/Header.js +5 -5
  153. package/dist/npm/header/HeaderRow.d.ts +6 -8
  154. package/dist/npm/header/HeaderRow.js +5 -5
  155. package/dist/npm/interfaces/GridColumnProps.d.ts +4 -5
  156. package/dist/npm/interfaces/GridNoRecordsProps.d.ts +1 -2
  157. package/dist/npm/interfaces/GridProps.d.ts +4 -5
  158. package/dist/npm/interfaces/GridToolbarProps.d.ts +1 -2
  159. package/dist/npm/main.d.ts +22 -22
  160. package/dist/npm/main.js +22 -22
  161. package/dist/npm/package-metadata.js +1 -1
  162. package/dist/npm/rows/GridDetailRow.d.ts +8 -9
  163. package/dist/npm/rows/GridDetailRow.js +5 -5
  164. package/dist/npm/rows/GridRow.d.ts +5 -6
  165. package/dist/npm/rows/GridRow.js +5 -5
  166. 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, Vue {
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 Grid: ComponentOptions<Vue, DefaultData<GridData>, DefaultMethods<GridAll>, GridComputed, RecordPropsDefinition<GridProps>>;
145
- declare const GridVue3: DefineComponent<GridProps, any, GridData, GridComputed, GridMethods, {}, {}, {}, string, GridProps, GridProps, {}>;
146
- export { Grid, GridVue3 };
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 Grid = {
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 GridVue3 = Grid;
1931
- export { Grid, GridVue3 };
1930
+ var Grid = GridVue2;
1931
+ export { Grid, GridVue2 };
@@ -1,5 +1,4 @@
1
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
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, Vue {
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 GridNav: ComponentOptions<Vue, DefaultData<GridNavData>, DefaultMethods<GridNavAll>, GridNavComputed, RecordPropsDefinition<{}>>;
43
- declare const GridNavVue3: DefineComponent<{}, any, GridNavData, GridNavComputed, GridNavMethods, {}, {}, {}, string, {}, {}, {}>;
44
- export { GridNav, GridNavVue3 };
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 };
@@ -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 GridNav = {
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 GridNavVue3 = GridNav;
106
- export { GridNav, GridNavVue3 };
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 GridNoRecords: ComponentOptions<Vue, DefaultData<{}>, DefaultMethods<{}>, {}, RecordPropsDefinition<{}>>;
48
- declare const GridNoRecordsVue3: DefineComponent<{}, any, {}, {}, {}, {}, {}, {}, string, {}, {}, {}>;
49
- export { GridNoRecords, GridNoRecordsVue3 };
46
+ declare let GridNoRecordsVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<{}>, {}, RecordPropsDefinition<{}>>;
47
+ declare const GridNoRecords: DefineComponent<{}, any, {}, {}, {}, {}, {}, {}, string, {}, {}, {}>;
48
+ export { GridNoRecords, GridNoRecordsVue2 };
@@ -48,7 +48,7 @@ import { getDefaultSlots } from '@progress/kendo-vue-common';
48
48
  * Represents the default `GridNoRecords` component.
49
49
  */
50
50
 
51
- var GridNoRecords = {
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 GridNoRecordsVue3 = GridNoRecords;
78
- export { GridNoRecords, GridNoRecordsVue3 };
77
+ var GridNoRecords = GridNoRecordsVue2;
78
+ export { GridNoRecords, GridNoRecordsVue2 };
@@ -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 GridToolbar: ComponentOptions<Vue, DefaultData<{}>, DefaultMethods<{}>, {}, RecordPropsDefinition<GridToolbarProps>>;
56
- declare const GridToolbarVue3: DefineComponent<GridToolbarProps, any, {}, {}, {}, {}, {}, {}, string, GridToolbarProps, GridToolbarProps, {}>;
57
- export { GridToolbar, GridToolbarVue3 };
14
+ declare let GridToolbarVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<{}>, {}, RecordPropsDefinition<GridToolbarProps>>;
15
+ declare const GridToolbar: DefineComponent<GridToolbarProps, any, {}, {}, {}, {}, {}, {}, string, GridToolbarProps, GridToolbarProps, {}>;
16
+ export { GridToolbar, GridToolbarVue2 };
@@ -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 GridToolbar = {
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 GridToolbarVue3 = GridToolbar;
74
- export { GridToolbar, GridToolbarVue3 };
33
+ var GridToolbar = GridToolbarVue2;
34
+ export { GridToolbar, GridToolbarVue2 };
@@ -1,3 +1,9 @@
1
1
  // @ts-ignore
2
2
  import { DefineComponent } from 'vue';
3
- export { DefineComponent };
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 Vue {
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 GridCell: ComponentOptions<Vue, DefaultData<{}>, DefaultMethods<GridCellAll>, {}, RecordPropsDefinition<GridCellProps>>;
27
- declare const GridCellVue3: DefineComponent<GridCellProps, any, {}, {}, {}, {}, {}, {}, string, GridCellProps, GridCellProps, {}>;
28
- export { GridCell, GridCellVue3 };
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 GridCell = {
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 GridCellVue3 = GridCell;
155
- export { GridCell, GridCellVue3 };
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, Vue {
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 GridDetailCell: ComponentOptions<Vue, DefaultData<{}>, DefaultMethods<GridDetailCellAll>, {}, RecordPropsDefinition<GridDetailCellProps>>;
26
- declare const GridDetailCellVue3: DefineComponent<GridDetailCellProps, any, {}, {}, {}, {}, {}, {}, string, GridDetailCellProps, GridDetailCellProps, {}>;
27
- export { GridDetailCell, GridDetailCellVue3 };
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 GridDetailCell = {
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 GridDetailCellVue3 = GridDetailCell;
77
- export { GridDetailCell, GridDetailCellVue3 };
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, Vue {
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 GridDetailHierarchyCell: ComponentOptions<Vue, DefaultData<{}>, DefaultMethods<GridDetailHierarchyCellAll>, {}, RecordPropsDefinition<GridDetailHierarchyCellProps>>;
21
- declare const GridDetailHierarchyCellVue3: DefineComponent<GridDetailHierarchyCellProps, any, {}, {}, {}, {}, {}, {}, string, GridDetailHierarchyCellProps, GridDetailHierarchyCellProps, {}>;
22
- export { GridDetailHierarchyCell, GridDetailHierarchyCellVue3 };
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 GridDetailHierarchyCell = {
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 GridDetailHierarchyCellVue3 = GridDetailHierarchyCell;
48
- export { GridDetailHierarchyCell, GridDetailHierarchyCellVue3 };
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 Vue {
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 GridEditCell: ComponentOptions<Vue, DefaultData<{}>, DefaultMethods<GridEditCellMethods>, {}, RecordPropsDefinition<GridCellProps>>;
37
- declare const GridEditCellVue3: DefineComponent<GridCellProps, any, GridEditCellData, [], GridEditCellMethods, {}, {}, {}, string, GridCellProps, GridCellProps, {}>;
38
- export { GridEditCell, GridEditCellVue3 };
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 GridEditCell = {
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-textbox",
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 GridEditCellVue3 = GridEditCell;
305
- export { GridEditCell, GridEditCellVue3 };
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 Vue {
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 GridFilterCell: ComponentOptions<Vue, DefaultData<{}>, DefaultMethods<GridFilterCellMethods>, {}, RecordPropsDefinition<GridFilterCellProps>>;
23
- declare const GridFilterCellVue3: DefineComponent<GridFilterCellProps, any, {}, {}, GridFilterCellMethods, {}, {}, {}, string, GridFilterCellProps, GridFilterCellProps, {}>;
24
- export { GridFilterCell, GridFilterCellVue3 };
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 GridFilterCell = {
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), h("div", {
219
- "class": "k-filtercell-operator"
220
- }, [renderOperatorEditor.call(this), h("button", {
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
- title: localizationService.toLanguageString(filterClearButton, messages[filterClearButton]),
227
- type: "button"
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
- type: "button",
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
- }, [h("span", {
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 GridFilterCellVue3 = GridFilterCell;
251
- export { GridFilterCell, GridFilterCellVue3 };
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 Vue {
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 GridGroupCell: ComponentOptions<Vue, DefaultData<{}>, DefaultMethods<GridGroupCellMethods>, {}, RecordPropsDefinition<GridCellProps>>;
20
- declare const GridGroupCellVue3: DefineComponent<GridCellProps, any, {}, {}, GridGroupCellMethods, {}, {}, {}, string, GridCellProps, GridCellProps, {}>;
21
- export { GridGroupCell, GridGroupCellVue3 };
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 GridGroupCell = {
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 GridGroupCellVue3 = GridGroupCell;
172
- export { GridGroupCell, GridGroupCellVue3 };
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 Vue {
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 GridHierarchyCell: ComponentOptions<Vue, DefaultData<{}>, DefaultMethods<GridHierarchyCellMethods>, {}, RecordPropsDefinition<GridCellProps>>;
20
- declare const GridHierarchyCellVue3: DefineComponent<GridCellProps, any, {}, {}, GridHierarchyCellMethods, {}, {}, {}, string, GridCellProps, GridCellProps, {}>;
21
- export { GridHierarchyCell, GridHierarchyCellVue3 };
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 GridHierarchyCell = {
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 GridHierarchyCellVue3 = GridHierarchyCell;
157
- export { GridHierarchyCell, GridHierarchyCellVue3 };
156
+ var GridHierarchyCell = GridHierarchyCellVue2;
157
+ export { GridHierarchyCell, GridHierarchyCellVue2 };