@progress/kendo-vue-grid 3.3.4 → 3.3.6-dev.202206170937

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 +35 -2
  3. package/dist/es/Grid.js +41 -9
  4. package/dist/es/GridNav.d.ts +4 -1
  5. package/dist/es/GridNav.js +5 -1
  6. package/dist/es/GridNoRecords.d.ts +4 -1
  7. package/dist/es/GridNoRecords.js +30 -26
  8. package/dist/es/GridToolbar.d.ts +46 -4
  9. package/dist/es/GridToolbar.js +48 -6
  10. package/dist/es/additionalTypes.ts +11 -0
  11. package/dist/es/cells/GridCell.d.ts +4 -1
  12. package/dist/es/cells/GridCell.js +5 -1
  13. package/dist/es/cells/GridDetailCell.d.ts +4 -1
  14. package/dist/es/cells/GridDetailCell.js +5 -1
  15. package/dist/es/cells/GridDetailHierarchyCell.d.ts +4 -1
  16. package/dist/es/cells/GridDetailHierarchyCell.js +5 -1
  17. package/dist/es/cells/GridEditCell.d.ts +4 -1
  18. package/dist/es/cells/GridEditCell.js +5 -1
  19. package/dist/es/cells/GridFilterCell.d.ts +4 -1
  20. package/dist/es/cells/GridFilterCell.js +5 -1
  21. package/dist/es/cells/GridGroupCell.d.ts +4 -1
  22. package/dist/es/cells/GridGroupCell.js +5 -1
  23. package/dist/es/cells/GridHierarchyCell.d.ts +4 -1
  24. package/dist/es/cells/GridHierarchyCell.js +5 -1
  25. package/dist/es/cells/GridSelectionCell.d.ts +4 -1
  26. package/dist/es/cells/GridSelectionCell.js +5 -1
  27. package/dist/es/columnMenu/ColumnMenu.d.ts +4 -1
  28. package/dist/es/columnMenu/ColumnMenu.js +5 -1
  29. package/dist/es/columnMenu/ColumnMenuContent.d.ts +4 -1
  30. package/dist/es/columnMenu/ColumnMenuContent.js +5 -1
  31. package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.d.ts +4 -1
  32. package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.js +5 -1
  33. package/dist/es/columnMenu/GridColumnMenuFilter.d.ts +138 -2
  34. package/dist/es/columnMenu/GridColumnMenuFilter.js +139 -2
  35. package/dist/es/columnMenu/GridColumnMenuFilterCell.d.ts +4 -1
  36. package/dist/es/columnMenu/GridColumnMenuFilterCell.js +5 -1
  37. package/dist/es/columnMenu/GridColumnMenuFilterUI.d.ts +4 -1
  38. package/dist/es/columnMenu/GridColumnMenuFilterUI.js +5 -1
  39. package/dist/es/columnMenu/GridColumnMenuItem.d.ts +4 -1
  40. package/dist/es/columnMenu/GridColumnMenuItem.js +5 -1
  41. package/dist/es/columnMenu/GridColumnMenuItemContent.d.ts +4 -1
  42. package/dist/es/columnMenu/GridColumnMenuItemContent.js +5 -1
  43. package/dist/es/columnMenu/GridColumnMenuItemGroup.d.ts +4 -1
  44. package/dist/es/columnMenu/GridColumnMenuItemGroup.js +5 -1
  45. package/dist/es/columnMenu/GridColumnMenuSort.d.ts +135 -2
  46. package/dist/es/columnMenu/GridColumnMenuSort.js +136 -2
  47. package/dist/es/drag/ColumnDraggable.d.ts +4 -1
  48. package/dist/es/drag/ColumnDraggable.js +5 -1
  49. package/dist/es/drag/ColumnResizer.d.ts +4 -1
  50. package/dist/es/drag/ColumnResizer.js +5 -1
  51. package/dist/es/drag/DragClue.d.ts +4 -1
  52. package/dist/es/drag/DragClue.js +5 -1
  53. package/dist/es/drag/DropClue.d.ts +4 -1
  54. package/dist/es/drag/DropClue.js +5 -1
  55. package/dist/es/drag/GroupingIndicator.d.ts +4 -1
  56. package/dist/es/drag/GroupingIndicator.js +5 -1
  57. package/dist/es/footer/Footer.d.ts +6 -0
  58. package/dist/es/footer/Footer.js +8 -0
  59. package/dist/es/footer/FooterRow.d.ts +6 -0
  60. package/dist/es/footer/FooterRow.js +8 -0
  61. package/dist/es/header/FilterRow.d.ts +4 -1
  62. package/dist/es/header/FilterRow.js +5 -1
  63. package/dist/es/header/GridHeaderCell.d.ts +4 -1
  64. package/dist/es/header/GridHeaderCell.js +5 -1
  65. package/dist/es/header/GridHeaderSelectionCell.d.ts +4 -1
  66. package/dist/es/header/GridHeaderSelectionCell.js +5 -1
  67. package/dist/es/header/GroupPanel.d.ts +4 -1
  68. package/dist/es/header/GroupPanel.js +5 -1
  69. package/dist/es/header/Header.d.ts +4 -1
  70. package/dist/es/header/Header.js +5 -1
  71. package/dist/es/header/HeaderRow.d.ts +4 -1
  72. package/dist/es/header/HeaderRow.js +5 -1
  73. package/dist/es/interfaces/GridCellProps.d.ts +2 -2
  74. package/dist/es/interfaces/GridColumnProps.d.ts +2 -2
  75. package/dist/es/interfaces/GridDetailRowProps.d.ts +0 -4
  76. package/dist/es/interfaces/GridFilterCellProps.d.ts +1 -1
  77. package/dist/es/interfaces/GridGroupableSettings.d.ts +1 -1
  78. package/dist/es/interfaces/GridProps.d.ts +27 -27
  79. package/dist/es/package-metadata.js +1 -1
  80. package/dist/es/rows/GridDetailRow.d.ts +2 -5
  81. package/dist/es/rows/GridDetailRow.js +4 -7
  82. package/dist/es/rows/GridRow.d.ts +4 -1
  83. package/dist/es/rows/GridRow.js +5 -1
  84. package/dist/npm/Grid.d.ts +35 -2
  85. package/dist/npm/Grid.js +40 -8
  86. package/dist/npm/GridNav.d.ts +4 -1
  87. package/dist/npm/GridNav.js +5 -1
  88. package/dist/npm/GridNoRecords.d.ts +4 -1
  89. package/dist/npm/GridNoRecords.js +32 -28
  90. package/dist/npm/GridToolbar.d.ts +46 -4
  91. package/dist/npm/GridToolbar.js +48 -6
  92. package/dist/npm/additionalTypes.ts +11 -0
  93. package/dist/npm/cells/GridCell.d.ts +4 -1
  94. package/dist/npm/cells/GridCell.js +5 -1
  95. package/dist/npm/cells/GridDetailCell.d.ts +4 -1
  96. package/dist/npm/cells/GridDetailCell.js +5 -1
  97. package/dist/npm/cells/GridDetailHierarchyCell.d.ts +4 -1
  98. package/dist/npm/cells/GridDetailHierarchyCell.js +5 -1
  99. package/dist/npm/cells/GridEditCell.d.ts +4 -1
  100. package/dist/npm/cells/GridEditCell.js +5 -1
  101. package/dist/npm/cells/GridFilterCell.d.ts +4 -1
  102. package/dist/npm/cells/GridFilterCell.js +5 -1
  103. package/dist/npm/cells/GridGroupCell.d.ts +4 -1
  104. package/dist/npm/cells/GridGroupCell.js +5 -1
  105. package/dist/npm/cells/GridHierarchyCell.d.ts +4 -1
  106. package/dist/npm/cells/GridHierarchyCell.js +5 -1
  107. package/dist/npm/cells/GridSelectionCell.d.ts +4 -1
  108. package/dist/npm/cells/GridSelectionCell.js +5 -1
  109. package/dist/npm/columnMenu/ColumnMenu.d.ts +4 -1
  110. package/dist/npm/columnMenu/ColumnMenu.js +5 -1
  111. package/dist/npm/columnMenu/ColumnMenuContent.d.ts +4 -1
  112. package/dist/npm/columnMenu/ColumnMenuContent.js +5 -1
  113. package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.d.ts +4 -1
  114. package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.js +5 -1
  115. package/dist/npm/columnMenu/GridColumnMenuFilter.d.ts +138 -2
  116. package/dist/npm/columnMenu/GridColumnMenuFilter.js +139 -2
  117. package/dist/npm/columnMenu/GridColumnMenuFilterCell.d.ts +4 -1
  118. package/dist/npm/columnMenu/GridColumnMenuFilterCell.js +5 -1
  119. package/dist/npm/columnMenu/GridColumnMenuFilterUI.d.ts +4 -1
  120. package/dist/npm/columnMenu/GridColumnMenuFilterUI.js +5 -1
  121. package/dist/npm/columnMenu/GridColumnMenuItem.d.ts +4 -1
  122. package/dist/npm/columnMenu/GridColumnMenuItem.js +5 -1
  123. package/dist/npm/columnMenu/GridColumnMenuItemContent.d.ts +4 -1
  124. package/dist/npm/columnMenu/GridColumnMenuItemContent.js +5 -1
  125. package/dist/npm/columnMenu/GridColumnMenuItemGroup.d.ts +4 -1
  126. package/dist/npm/columnMenu/GridColumnMenuItemGroup.js +5 -1
  127. package/dist/npm/columnMenu/GridColumnMenuSort.d.ts +135 -2
  128. package/dist/npm/columnMenu/GridColumnMenuSort.js +136 -2
  129. package/dist/npm/drag/ColumnDraggable.d.ts +4 -1
  130. package/dist/npm/drag/ColumnDraggable.js +5 -1
  131. package/dist/npm/drag/ColumnResizer.d.ts +4 -1
  132. package/dist/npm/drag/ColumnResizer.js +5 -1
  133. package/dist/npm/drag/DragClue.d.ts +4 -1
  134. package/dist/npm/drag/DragClue.js +5 -1
  135. package/dist/npm/drag/DropClue.d.ts +4 -1
  136. package/dist/npm/drag/DropClue.js +5 -1
  137. package/dist/npm/drag/GroupingIndicator.d.ts +4 -1
  138. package/dist/npm/drag/GroupingIndicator.js +5 -1
  139. package/dist/npm/footer/Footer.d.ts +6 -0
  140. package/dist/npm/footer/Footer.js +8 -0
  141. package/dist/npm/footer/FooterRow.d.ts +6 -0
  142. package/dist/npm/footer/FooterRow.js +8 -0
  143. package/dist/npm/header/FilterRow.d.ts +4 -1
  144. package/dist/npm/header/FilterRow.js +5 -1
  145. package/dist/npm/header/GridHeaderCell.d.ts +4 -1
  146. package/dist/npm/header/GridHeaderCell.js +5 -1
  147. package/dist/npm/header/GridHeaderSelectionCell.d.ts +4 -1
  148. package/dist/npm/header/GridHeaderSelectionCell.js +5 -1
  149. package/dist/npm/header/GroupPanel.d.ts +4 -1
  150. package/dist/npm/header/GroupPanel.js +5 -1
  151. package/dist/npm/header/Header.d.ts +4 -1
  152. package/dist/npm/header/Header.js +5 -1
  153. package/dist/npm/header/HeaderRow.d.ts +4 -1
  154. package/dist/npm/header/HeaderRow.js +5 -1
  155. package/dist/npm/interfaces/GridCellProps.d.ts +2 -2
  156. package/dist/npm/interfaces/GridColumnProps.d.ts +2 -2
  157. package/dist/npm/interfaces/GridDetailRowProps.d.ts +0 -4
  158. package/dist/npm/interfaces/GridFilterCellProps.d.ts +1 -1
  159. package/dist/npm/interfaces/GridGroupableSettings.d.ts +1 -1
  160. package/dist/npm/interfaces/GridProps.d.ts +27 -27
  161. package/dist/npm/package-metadata.js +1 -1
  162. package/dist/npm/rows/GridDetailRow.d.ts +2 -5
  163. package/dist/npm/rows/GridDetailRow.js +4 -7
  164. package/dist/npm/rows/GridRow.d.ts +4 -1
  165. package/dist/npm/rows/GridRow.js +5 -1
  166. package/package.json +14 -14
@@ -7,7 +7,7 @@ import { GroupingIndicator } from '../drag/GroupingIndicator';
7
7
  import { messages, groupPanelEmpty as messageKey } from './../messages';
8
8
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
9
9
  /**
10
- * Represents the default `GroupPanel` component.
10
+ * @hidden
11
11
  */
12
12
 
13
13
  var GroupPanelVue2 = {
@@ -99,5 +99,9 @@ var GroupPanelVue2 = {
99
99
  }, [!groups.length && provideLocalizationService(this).toLanguageString(messageKey, messages[messageKey])])]);
100
100
  }
101
101
  };
102
+ /**
103
+ * @hidden
104
+ */
105
+
102
106
  var GroupPanel = GroupPanelVue2;
103
107
  export { GroupPanel, GroupPanelVue2 };
@@ -54,8 +54,11 @@ export interface HeaderComputed {
54
54
  export interface HeaderAll extends HeaderMethods, HeaderData, HeaderComputed {
55
55
  }
56
56
  /**
57
- * Represents the default `Header` component.
57
+ * @hidden
58
58
  */
59
59
  declare let HeaderVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<HeaderAll>, {}, RecordPropsDefinition<HeaderProps>>;
60
+ /**
61
+ * @hidden
62
+ */
60
63
  declare const Header: DefineComponent<HeaderProps, any, HeaderData, HeaderComputed, HeaderMethods, {}, {}, {}, string, HeaderProps, HeaderProps, {}>;
61
64
  export { Header, HeaderVue2 };
@@ -6,7 +6,7 @@ var ref = allVue.ref;
6
6
  import { BrowserSupportService } from '../utils/browser-support.service';
7
7
  import { isRtl } from '../utils';
8
8
  /**
9
- * Represents the default `Header` component.
9
+ * @hidden
10
10
  */
11
11
 
12
12
  var HeaderVue2 = {
@@ -121,5 +121,9 @@ var HeaderVue2 = {
121
121
  }, [this.$props.cols]), this.$props.headerRow])])]);
122
122
  }
123
123
  };
124
+ /**
125
+ * @hidden
126
+ */
127
+
124
128
  var Header = HeaderVue2;
125
129
  export { Header, HeaderVue2 };
@@ -76,8 +76,11 @@ export interface HeaderRowComputed {
76
76
  export interface HeaderRowAll extends HeaderRowMethods, HeaderRowState, HeaderRowComputed {
77
77
  }
78
78
  /**
79
- * Represents the default `HeaderRow` component.
79
+ * @hidden
80
80
  */
81
81
  declare let HeaderRowVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<HeaderRowAll>, HeaderRowComputed, RecordPropsDefinition<HeaderRowProps>>;
82
+ /**
83
+ * @hidden
84
+ */
82
85
  declare const HeaderRow: DefineComponent<HeaderRowProps, any, {}, HeaderRowComputed, HeaderRowMethods, {}, {}, {}, string, HeaderRowProps, HeaderRowProps, {}>;
83
86
  export { HeaderRow, HeaderRowVue2 };
@@ -37,7 +37,7 @@ var sortSeqMap = {
37
37
  }
38
38
  };
39
39
  /**
40
- * Represents the default `HeaderRow` component.
40
+ * @hidden
41
41
  */
42
42
 
43
43
  var HeaderRowVue2 = {
@@ -508,5 +508,9 @@ var HeaderRowVue2 = {
508
508
  }, this), this.$props.filterRow]);
509
509
  }
510
510
  };
511
+ /**
512
+ * @hidden
513
+ */
514
+
511
515
  var HeaderRow = HeaderRowVue2;
512
516
  export { HeaderRow, HeaderRowVue2 };
@@ -10,11 +10,11 @@ export interface GridCellProps {
10
10
  */
11
11
  id: string;
12
12
  /**
13
- * The field to which the cell is bound ([see example]({% slug sorting_grid_native %})).
13
+ * The field to which the cell is bound ([see example]({% slug sorting_grid %})).
14
14
  */
15
15
  key?: number;
16
16
  /**
17
- * The field to which the cell is bound ([see example]({% slug sorting_grid_native %})).
17
+ * The field to which the cell is bound ([see example]({% slug sorting_grid %})).
18
18
  */
19
19
  field: string;
20
20
  /**
@@ -13,7 +13,7 @@ export interface GridColumnProps {
13
13
  title?: string;
14
14
  /**
15
15
  * Defines whether the column is editable
16
- * ([more information and examples]({% slug editing_inline_grid_native %})).
16
+ * ([more information and examples]({% slug editing_inline_grid %})).
17
17
  */
18
18
  editable?: boolean;
19
19
  /**
@@ -50,7 +50,7 @@ export interface GridColumnProps {
50
50
  filter?: 'text' | 'numeric' | 'boolean' | 'date';
51
51
  /**
52
52
  * Defines the editor type. Used when the column enters the edit mode
53
- * ([more information and examples]({% slug editing_inline_grid_native %})).
53
+ * ([more information and examples]({% slug editing_inline_grid %})).
54
54
  * Defaults to `text`.
55
55
  */
56
56
  editor?: 'text' | 'numeric' | 'boolean' | 'date';
@@ -1,7 +1,3 @@
1
- /**
2
- * The props of the GridDetailRow component
3
- * ([see example]({% slug detailrow_grid_native %}).
4
- */
5
1
  /**
6
2
  * @hidden
7
3
  */
@@ -2,7 +2,7 @@ import { GridFilterOperator } from './GridFilterOperator';
2
2
  import { GridFilterOperators } from './GridFilterOperators';
3
3
  /**
4
4
  * The props of the GridFilterCell component
5
- * ([more information and examples]({% slug filtering_grid_native %})).
5
+ * ([more information and examples]({% slug filtering_grid %})).
6
6
  */
7
7
  /**
8
8
  * @hidden
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The settings for grouping the data of the Grid
3
- * ([see example]({% slug groupingaggregates_grid_native %})).
3
+ * ([see example]({% slug groupingaggregates_grid %})).
4
4
  */
5
5
  export interface GridGroupableSettings {
6
6
  /**
@@ -8,7 +8,7 @@ import { GridColumnProps } from '../interfaces/GridColumnProps';
8
8
  import { GridFilterOperators } from './GridFilterOperators';
9
9
  import { PopupAnimation } from '@progress/kendo-vue-popup';
10
10
  /**
11
- * Represents the props of the [native Vue Grid component by Kendo UI]({% slug overview_grid_native %}).
11
+ * Represents the props of the [native Vue Grid component by Kendo UI]({% slug overview_grid %}).
12
12
  */
13
13
  export interface GridProps {
14
14
  /**
@@ -30,17 +30,17 @@ export interface GridProps {
30
30
  */
31
31
  columns?: GridColumnProps[] | null;
32
32
  /**
33
- * Sets the data of the Grid ([see example]({% slug paging_grid_native %})). If you use paging,
33
+ * Sets the data of the Grid ([see example]({% slug paging_grid %})). If you use paging,
34
34
  * the `data` option has to contain only the items for the current page.
35
35
  */
36
36
  dataItems?: any[] | DataResult | null;
37
37
  /**
38
38
  * Enables the sorting for the columns with their `field` option set
39
- * ([see example]({% slug sorting_grid_native %})).
39
+ * ([see example]({% slug sorting_grid %})).
40
40
  */
41
41
  sortable?: GridSortSettings;
42
42
  /**
43
- * Fires when the sorting of the Grid is changed ([see example]({% slug sorting_grid_native %})).
43
+ * Fires when the sorting of the Grid is changed ([see example]({% slug sorting_grid %})).
44
44
  * You have to handle the event yourself and sort the data.
45
45
  */
46
46
  onSortchange?: (event: GridSortChangeEvent) => void;
@@ -51,12 +51,12 @@ export interface GridProps {
51
51
  sort?: SortDescriptor[];
52
52
  /**
53
53
  * Enables the filtering of the columns with their `field` option set
54
- * ([more information and examples]({% slug filtering_grid_native %})).
54
+ * ([more information and examples]({% slug filtering_grid %})).
55
55
  */
56
56
  filterable?: boolean;
57
57
  /**
58
58
  * The descriptor by which the data is filtered
59
- * ([more information and examples]({% slug filtering_grid_native %})).
59
+ * ([more information and examples]({% slug filtering_grid %})).
60
60
  * Affects the values and buttons in the `FilterRow` of the Grid.
61
61
  */
62
62
  filter?: CompositeFilterDescriptor;
@@ -66,7 +66,7 @@ export interface GridProps {
66
66
  filterOperators?: GridFilterOperators;
67
67
  /**
68
68
  * Fires when the Grid filter is modified through the UI
69
- * ([more information and examples]({% slug filtering_grid_native %})).
69
+ * ([more information and examples]({% slug filtering_grid %})).
70
70
  * You have to handle the event yourself and filter the data.
71
71
  */
72
72
  onFilterchange?: (event: GridFilterChangeEvent) => void;
@@ -81,16 +81,16 @@ export interface GridProps {
81
81
  columnMenuAnimate?: boolean | PopupAnimation;
82
82
  /**
83
83
  * The descriptors by which the data will be grouped
84
- * ([more information and examples]({% slug groupingbasics_grid_native %})).
84
+ * ([more information and examples]({% slug groupingbasics_grid %})).
85
85
  */
86
86
  group?: GroupDescriptor[];
87
87
  /**
88
88
  * Fires when the grouping of the Grid is changed. You have to handle the event yourself and group the data
89
- * ([more information and examples]({% slug groupingbasics_grid_native %})).
89
+ * ([more information and examples]({% slug groupingbasics_grid %})).
90
90
  */
91
91
  onGroupchange?: (event: GridGroupChangeEvent) => void;
92
92
  /**
93
- * Configures the pager of the Grid ([see example]({% slug paging_grid_native %})).
93
+ * Configures the pager of the Grid ([see example]({% slug paging_grid %})).
94
94
  *
95
95
  * The available options are:
96
96
  * - `buttonCount: Number`&mdash;Sets the maximum numeric buttons count before the buttons are collapsed.
@@ -103,7 +103,7 @@ export interface GridProps {
103
103
  pageable?: GridPagerSettings | any;
104
104
  /**
105
105
  * Defines the page size that is used by the Grid pager
106
- * ([see example]({% slug paging_grid_native %})). Required by the paging functionality.
106
+ * ([see example]({% slug paging_grid %})). Required by the paging functionality.
107
107
  */
108
108
  pageSize?: number;
109
109
  /**
@@ -111,18 +111,18 @@ export interface GridProps {
111
111
  */
112
112
  take?: number;
113
113
  /**
114
- * Fires when the page of the Grid is changed ([see example]({% slug paging_grid_native %})).
114
+ * Fires when the page of the Grid is changed ([see example]({% slug paging_grid %})).
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
- * ([see example]({% slug paging_grid_native %})). Required by the paging functionality.
120
+ * ([see example]({% slug paging_grid %})). Required by the paging functionality.
121
121
  */
122
122
  total?: number;
123
123
  /**
124
124
  * Defines the number of records that will be skipped by the pager
125
- * ([see example]({% slug paging_grid_native %})). Required by the paging functionality.
125
+ * ([see example]({% slug paging_grid %})). Required by the paging functionality.
126
126
  */
127
127
  skip?: number;
128
128
  /**
@@ -131,22 +131,22 @@ export interface GridProps {
131
131
  onExpandchange?: (event: GridExpandChangeEvent) => void;
132
132
  /**
133
133
  * Specifies the name of the field which will provide a Boolean representation
134
- * of the expanded state of the item ([see example]({% slug detailrow_grid_native %}).
134
+ * of the expanded state of the item ([see example]({% slug detailrow_grid %}).
135
135
  */
136
136
  expandField?: string;
137
137
  /**
138
138
  * Specifies the name of the field which will provide a Boolean representation
139
- * of the selected state of the item ([see example]({% slug selection_grid_native %})).
139
+ * of the selected state of the item ([see example]({% slug selection_grid %})).
140
140
  */
141
141
  selectedField?: string;
142
142
  /**
143
143
  * Fires when the user tries to select or deselect a row
144
- * ([see example]({% slug selection_grid_native %})).
144
+ * ([see example]({% slug selection_grid %})).
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
- * ([see example]({% slug selection_grid_native %})).
149
+ * ([see example]({% slug selection_grid %})).
150
150
  */
151
151
  onHeaderselectionchange?: (event: GridHeaderSelectionChangeEvent) => void;
152
152
  /**
@@ -184,16 +184,16 @@ export interface GridProps {
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
- * ([more information and examples]({% slug editing_inline_grid_native %})).
187
+ * ([more information and examples]({% slug editing_inline_grid %})).
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
- * item ([more information and examples]({% slug editing_inline_grid_native %})).
192
+ * item ([more information and examples]({% slug editing_inline_grid %})).
193
193
  */
194
194
  editField?: string;
195
195
  /**
196
- * Defines the scroll mode that is used by the Grid ([see example]({% slug scrollmmodes_grid_native %}).
196
+ * Defines the scroll mode that is used by the Grid ([see example]({% slug scrollmmodes_grid %}).
197
197
  *
198
198
  * The available options are:
199
199
  * - `none`&mdash;Renders no scrollbar.
@@ -204,12 +204,12 @@ export interface GridProps {
204
204
  scrollable?: string;
205
205
  /**
206
206
  * Defines the row height and forces an equal height to all rows
207
- * ([see example]({% slug scrollmmodes_grid_native %})).
207
+ * ([see example]({% slug scrollmmodes_grid %})).
208
208
  */
209
209
  rowHeight?: number;
210
210
  /**
211
211
  * Specifies a custom rendering that will be cloned and rendered inside the detail rows
212
- * of the currently expanded items ([see example]({% slug master_detail_grid_native %}).
212
+ * of the currently expanded items ([see example]({% slug master_detail_grid %}).
213
213
  * Accepts a Vue component, a `render` function, or a slot name.
214
214
  * An item will be rendered as expanded if the value of its `expandField` is `true`.
215
215
  */
@@ -224,17 +224,17 @@ export interface GridProps {
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
- * header cells ([see example]({% slug resizing_columns_grid_native %}).
227
+ * header cells ([see example]({% slug resizing_columns_grid %}).
228
228
  */
229
229
  resizable?: boolean;
230
230
  /**
231
231
  * If set to `true`, the user can reorder columns by dragging their
232
- * header cells ([see example]({% slug reordering_columns_grid_native %}).
232
+ * header cells ([see example]({% slug reordering_columns_grid %}).
233
233
  */
234
234
  reorderable?: boolean;
235
235
  /**
236
236
  * Determines if grouping by dragging and dropping the column headers is allowed
237
- * ([more information and examples]({% slug groupingbasics_grid_native %})).
237
+ * ([more information and examples]({% slug groupingbasics_grid %})).
238
238
  */
239
239
  groupable?: GridGroupableSettings | boolean;
240
240
  /**
@@ -251,7 +251,7 @@ export interface GridProps {
251
251
  rowRender?: string | boolean | ((h: any, defaultRendering: any | null, dafaultSlots: any, props: any, listeners: any) => any);
252
252
  /**
253
253
  * Defines the custom rendering of the cell. Accepts a Vue component, a `render` function, or a slot name.
254
- * ([see example]({% slug groupingaggregates_grid_native %})).
254
+ * ([see example]({% slug groupingaggregates_grid %})).
255
255
  */
256
256
  cellRender?: ((h: any, defaultRendering: any | null, props: GridCellProps, listeners: any) => any) | string | null | boolean;
257
257
  /**
@@ -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: 1654589298,
8
+ publishDate: 1655458283,
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
  };
@@ -5,14 +5,11 @@ declare type DefaultMethods<V> = {
5
5
  [key: string]: (this: V, ...args: any[]) => any;
6
6
  };
7
7
  /**
8
- * The detail-row class of the native Vue Grid by Kendo UI. Defines custom
9
- * details for each row. Can be applied for building the hierarchy. If `expandField` is
10
- * set, depending on the current data item and its `expandField` value,
11
- * the details for each row will be visible or hidden.
8
+ * @hidden
12
9
  */
10
+ declare const GridDetailRowVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<{}>, {}, RecordPropsDefinition<{}>>;
13
11
  /**
14
12
  * @hidden
15
13
  */
16
- declare const GridDetailRowVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<{}>, {}, RecordPropsDefinition<{}>>;
17
14
  declare const GridDetailRow: DefineComponent<GridDetailRowProps, any, {}, {}, [], {}, {}, {}, string, GridDetailRowProps, GridDetailRowProps, {}>;
18
15
  export { GridDetailRow, GridDetailRowVue2 };
@@ -2,13 +2,6 @@
2
2
  import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
- /**
6
- * The detail-row class of the native Vue Grid by Kendo UI. Defines custom
7
- * details for each row. Can be applied for building the hierarchy. If `expandField` is
8
- * set, depending on the current data item and its `expandField` value,
9
- * the details for each row will be visible or hidden.
10
- */
11
-
12
5
  /**
13
6
  * @hidden
14
7
  */
@@ -27,5 +20,9 @@ var GridDetailRowVue2 = {
27
20
  return null;
28
21
  }
29
22
  };
23
+ /**
24
+ * @hidden
25
+ */
26
+
30
27
  var GridDetailRow = GridDetailRowVue2;
31
28
  export { GridDetailRow, GridDetailRowVue2 };
@@ -18,8 +18,11 @@ export interface GridRowMethods extends Vue2type {
18
18
  handleDoubleClick: (e: any) => void;
19
19
  }
20
20
  /**
21
- * Represents the default `GridRow` component.
21
+ * @hidden
22
22
  */
23
23
  declare let GridRowVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<GridRowMethods>, {}, RecordPropsDefinition<GridRowProps>>;
24
+ /**
25
+ * @hidden
26
+ */
24
27
  declare const GridRow: DefineComponent<GridRowProps, any, {}, {}, GridRowMethods, {}, {}, {}, string, GridRowProps, GridRowProps, {}>;
25
28
  export { GridRow, GridRowVue2 };
@@ -5,7 +5,7 @@ var gh = allVue.h;
5
5
  import { getNestedValue } from '../utils';
6
6
  import { getTemplate, getDefaultSlots } from '@progress/kendo-vue-common';
7
7
  /**
8
- * Represents the default `GridRow` component.
8
+ * @hidden
9
9
  */
10
10
 
11
11
  var GridRowVue2 = {
@@ -75,5 +75,9 @@ var GridRowVue2 = {
75
75
  });
76
76
  }
77
77
  };
78
+ /**
79
+ * @hidden
80
+ */
81
+
78
82
  var GridRow = GridRowVue2;
79
83
  export { GridRow, GridRowVue2 };
@@ -13,7 +13,7 @@ import { DataItemWrapper } from './utils/index';
13
13
  import { GridProps } from './interfaces/GridProps';
14
14
  import { GridColumnProps } from './interfaces/GridColumnProps';
15
15
  /**
16
- * Represents the [native Vue Grid component by Kendo UI]({% slug overview_grid_native %}).
16
+ * Represents the [native Vue Grid component by Kendo UI]({% slug overview_grid %}).
17
17
  *
18
18
  * @example
19
19
  * ```tsx-no-run
@@ -140,8 +140,41 @@ export interface GridComputed {
140
140
  export interface GridAll extends GridMethods, GridData, GridState, GridComputed, GridProps, Vue2type {
141
141
  }
142
142
  /**
143
- * Represents the default `Grid` component.
143
+ * @hidden
144
144
  */
145
145
  declare let GridVue2: ComponentOptions<Vue2type, DefaultData<GridData>, DefaultMethods<GridAll>, GridComputed, RecordPropsDefinition<GridProps>>;
146
+ /**
147
+ * Represents the native Vue Grid component by Kendo UI.
148
+ *
149
+ * ```tsx-no-run
150
+ * <div id="app">
151
+ * <Grid
152
+ * :data-items="products"
153
+ * :columns="columns">
154
+ * </Grid>
155
+ * </div>
156
+ * <script>
157
+ * Vue.component('Grid', Grid);
158
+ * new Vue({
159
+ * el: '#app',
160
+ * data: function () {
161
+ * return {
162
+ * products: [
163
+ * { 'foo': 'A1', 'bar': 'B1' },
164
+ * { 'foo': 'A2', 'bar': 'B2' },
165
+ * { 'foo': 'A3', 'bar': 'B2' }
166
+ * ],
167
+ * columns: [
168
+ * { field: 'foo'},
169
+ * { field: 'bar'}
170
+ * ]
171
+ * };
172
+ * }
173
+ * });
174
+ * </script>
175
+ * ```
176
+ *
177
+ * ### props <span class='code'>[GridProps]({% slug api_grid_gridprops %})</span>
178
+ */
146
179
  declare const Grid: DefineComponent<GridProps, any, GridData, GridComputed, GridMethods, {}, {}, {}, string, GridProps, GridProps, {}>;
147
180
  export { Grid, GridVue2 };
package/dist/npm/Grid.js CHANGED
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
3
  var __assign = undefined && undefined.__assign || function () {
6
4
  __assign = Object.assign || function (t) {
7
5
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -115,7 +113,7 @@ var package_metadata_1 = require("./package-metadata");
115
113
 
116
114
  var messages_1 = require("./messages");
117
115
  /**
118
- * Represents the default `Grid` component.
116
+ * @hidden
119
117
  */
120
118
 
121
119
 
@@ -246,7 +244,7 @@ var GridVue2 = {
246
244
  }
247
245
  },
248
246
  currentGroupable: function currentGroupable() {
249
- return this.$props.groupable === true && this.$props.group && this.$props.group.length || _typeof(this.$props.groupable) === 'object' && this.$props.groupable.enabled !== false;
247
+ return this.$props.groupable === true && this.$props.group && this.$props.group.length || kendo_vue_common_1.isObject(this.$props.groupable) && this.$props.groupable.enabled !== false;
250
248
  },
251
249
  computedCollapsed: function computedCollapsed() {
252
250
  var newCollapsed = [];
@@ -267,7 +265,7 @@ var GridVue2 = {
267
265
  methods: {
268
266
  /**
269
267
  * A getter of the current columns. Gets the current column width or current columns,
270
- * or any other [`GridColumnProps`]({% slug api_grid_native_columnprops %}) for each defined column.
268
+ * or any other [`GridColumnProps`]({% slug api_grid_columnprops %}) for each defined column.
271
269
  * Can be used on each Grid instance. To obtain the instance of the rendered Grid, use the `ref`
272
270
  * callback. The following example demonstrates how to reorder the columns by dragging their handlers
273
271
  * and check the properties afterwards. You can check the result in the browser console.
@@ -890,7 +888,7 @@ var GridVue2 = {
890
888
  total = total || this.$props.dataItems.total;
891
889
  }
892
890
 
893
- var groupable = this.$props.groupable === true || _typeof(this.$props.groupable) === 'object' && this.$props.groupable.enabled !== false;
891
+ var groupable = this.$props.groupable === true || kendo_vue_common_1.isObject(this.$props.groupable) && this.$props.groupable.enabled !== false;
894
892
  this.columnResize.resizable = this.$props.resizable || false;
895
893
  this.dragLogic.reorderable = this.$props.reorderable || false;
896
894
  this.dragLogic.groupable = groupable;
@@ -911,7 +909,7 @@ var GridVue2 = {
911
909
  }
912
910
 
913
911
  var children = defaultSlot || [];
914
- var groupingFooter = _typeof(this.$props.groupable) === 'object' && this.$props.groupable.footer || 'none';
912
+ var groupingFooter = kendo_vue_common_1.isObject(this.$props.groupable) && this.$props.groupable.footer || 'none';
915
913
  this.currentData = [];
916
914
  var resolvedGroupsCount = index_1.flatData(this.currentData, gridData, groupingFooter, {
917
915
  index: this.$props.skip || 0
@@ -1257,7 +1255,7 @@ var GridVue2 = {
1257
1255
  var leftWidth = 0;
1258
1256
  var vnodeDataStyle = this.v3 ? this.$attrs.style : this.$vnode && this.$vnode.data ? this.$vnode.data.style : null;
1259
1257
  var widthProp = 'width';
1260
- var elementInlineStyleWidth = vnodeDataStyle && (typeof vnodeDataStyle === "undefined" ? "undefined" : _typeof(vnodeDataStyle)) === 'object' ? vnodeDataStyle[widthProp] || '' : '';
1258
+ var elementInlineStyleWidth = vnodeDataStyle && kendo_vue_common_1.isObject(vnodeDataStyle) ? vnodeDataStyle[widthProp] || '' : '';
1261
1259
  var tableWidth = parseFloat(elementInlineStyleWidth.toString());
1262
1260
  var scrollLeft = this.vs && this.vs.container && this.vs.container.scrollLeft || 0;
1263
1261
 
@@ -2116,5 +2114,39 @@ var GridVue2 = {
2116
2114
  }
2117
2115
  };
2118
2116
  exports.GridVue2 = GridVue2;
2117
+ /**
2118
+ * Represents the native Vue Grid component by Kendo UI.
2119
+ *
2120
+ * ```tsx-no-run
2121
+ * <div id="app">
2122
+ * <Grid
2123
+ * :data-items="products"
2124
+ * :columns="columns">
2125
+ * </Grid>
2126
+ * </div>
2127
+ * <script>
2128
+ * Vue.component('Grid', Grid);
2129
+ * new Vue({
2130
+ * el: '#app',
2131
+ * data: function () {
2132
+ * return {
2133
+ * products: [
2134
+ * { 'foo': 'A1', 'bar': 'B1' },
2135
+ * { 'foo': 'A2', 'bar': 'B2' },
2136
+ * { 'foo': 'A3', 'bar': 'B2' }
2137
+ * ],
2138
+ * columns: [
2139
+ * { field: 'foo'},
2140
+ * { field: 'bar'}
2141
+ * ]
2142
+ * };
2143
+ * }
2144
+ * });
2145
+ * </script>
2146
+ * ```
2147
+ *
2148
+ * ### props <span class='code'>[GridProps]({% slug api_grid_gridprops %})</span>
2149
+ */
2150
+
2119
2151
  var Grid = GridVue2;
2120
2152
  exports.Grid = Grid;
@@ -36,8 +36,11 @@ export interface GridNavComputed {
36
36
  export interface GridNavAll extends GridNavMethods, GridNavState, GridNavData, GridNavComputed, Vue2type {
37
37
  }
38
38
  /**
39
- * Represents the default `GridNav` component.
39
+ * @hidden
40
40
  */
41
41
  declare const GridNavVue2: ComponentOptions<Vue2type, DefaultData<GridNavData>, DefaultMethods<GridNavAll>, GridNavComputed, RecordPropsDefinition<{}>>;
42
+ /**
43
+ * @hidden
44
+ */
42
45
  declare const GridNav: DefineComponent<{}, any, GridNavData, GridNavComputed, GridNavMethods, {}, {}, {}, string, {}, {}, {}>;
43
46
  export { GridNav, GridNavVue2 };
@@ -12,7 +12,7 @@ var gh = allVue.h;
12
12
 
13
13
  var kendo_vue_common_1 = require("@progress/kendo-vue-common");
14
14
  /**
15
- * Represents the default `GridNav` component.
15
+ * @hidden
16
16
  */
17
17
 
18
18
 
@@ -113,5 +113,9 @@ var GridNavVue2 = {
113
113
  }
114
114
  };
115
115
  exports.GridNavVue2 = GridNavVue2;
116
+ /**
117
+ * @hidden
118
+ */
119
+
116
120
  var GridNav = GridNavVue2;
117
121
  exports.GridNav = GridNav;
@@ -3,6 +3,10 @@ declare type DefaultMethods<V> = {
3
3
  [key: string]: (this: V, ...args: any[]) => any;
4
4
  };
5
5
  import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
6
+ /**
7
+ * @hidden
8
+ */
9
+ declare let GridNoRecordsVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<{}>, {}, RecordPropsDefinition<{}>>;
6
10
  /**
7
11
  * Represents the GridNoRecords component which is rendered
8
12
  * when the `data` property of the Grid is empty or `null`.
@@ -43,6 +47,5 @@ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } fr
43
47
  /**
44
48
  * Represents the default `GridNoRecords` component.
45
49
  */
46
- declare let GridNoRecordsVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<{}>, {}, RecordPropsDefinition<{}>>;
47
50
  declare const GridNoRecords: DefineComponent<{}, any, {}, {}, {}, {}, {}, {}, string, {}, {}, {}>;
48
51
  export { GridNoRecords, GridNoRecordsVue2 };