@progress/kendo-vue-grid 3.5.0 → 3.5.1-dev.202208150613

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 (231) hide show
  1. package/dist/cdn/js/kendo-vue-grid.js +1 -1
  2. package/dist/es/Grid.js +20 -24
  3. package/dist/es/ScrollMode.js +1 -0
  4. package/dist/es/columnMenu/ColumnMenu.js +2 -2
  5. package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.js +9 -13
  6. package/dist/es/columnMenu/GridColumnMenuFilter.js +423 -107
  7. package/dist/es/columnMenu/GridColumnMenuFilterCell.js +74 -97
  8. package/dist/es/columnMenu/GridColumnMenuFilterOperators.d.ts +36 -0
  9. package/dist/es/columnMenu/GridColumnMenuFilterOperators.js +68 -0
  10. package/dist/es/columnMenu/GridColumnMenuItem.js +2 -2
  11. package/dist/es/filterCommon.d.ts +1 -1
  12. package/dist/es/footer/Footer.js +1 -1
  13. package/dist/es/footer/FooterRow.js +1 -1
  14. package/dist/es/header/FilterRow.js +1 -1
  15. package/dist/es/header/Header.js +1 -1
  16. package/dist/es/header/HeaderRow.js +1 -1
  17. package/dist/es/interfaces/ExtendedColumnProps.js +1 -0
  18. package/dist/es/interfaces/GridCellProps.js +1 -0
  19. package/dist/es/interfaces/GridColumnMenuColumnProps.js +1 -0
  20. package/dist/es/interfaces/GridColumnMenuExtendedFilterProps.js +1 -0
  21. package/dist/es/interfaces/GridColumnMenuFilterBaseProps.js +1 -0
  22. package/dist/es/interfaces/GridColumnMenuFilterProps.js +1 -0
  23. package/dist/es/interfaces/GridColumnMenuFilterUIProps.js +1 -0
  24. package/dist/es/interfaces/GridColumnMenuProps.js +1 -0
  25. package/dist/es/interfaces/GridColumnMenuSortBaseProps.js +1 -0
  26. package/dist/es/interfaces/GridColumnProps.js +1 -0
  27. package/dist/es/interfaces/GridDetailRowProps.js +1 -0
  28. package/dist/es/interfaces/GridFilterCellProps.js +1 -0
  29. package/dist/es/interfaces/GridFilterOperator.js +1 -0
  30. package/dist/es/interfaces/GridFilterOperators.js +1 -0
  31. package/dist/es/interfaces/GridFooterCellProps.js +1 -0
  32. package/dist/es/interfaces/GridGroupableSettings.js +1 -0
  33. package/dist/es/interfaces/GridHeaderCellProps.js +1 -0
  34. package/dist/es/interfaces/GridHeaderSelectionCellProps.js +1 -0
  35. package/dist/es/interfaces/GridNoRecordsProps.js +1 -0
  36. package/dist/es/interfaces/GridProps.js +1 -0
  37. package/dist/es/interfaces/GridRowProps.js +1 -0
  38. package/dist/es/interfaces/GridRowType.js +1 -0
  39. package/dist/es/interfaces/GridSortSettings.js +9 -7
  40. package/dist/es/interfaces/GridToolbarProps.js +1 -0
  41. package/dist/es/interfaces/events.js +1 -0
  42. package/dist/es/package-metadata.js +1 -1
  43. package/dist/es/rows/GridDetailRow.d.ts +2 -1
  44. package/dist/es/utils/index.js +4 -4
  45. package/dist/esm/Grid.d.ts +180 -0
  46. package/dist/esm/Grid.js +2086 -0
  47. package/dist/esm/GridNav.d.ts +46 -0
  48. package/dist/esm/GridNav.js +112 -0
  49. package/dist/esm/GridNoRecords.d.ts +51 -0
  50. package/dist/esm/GridNoRecords.js +83 -0
  51. package/dist/esm/GridToolbar.d.ts +58 -0
  52. package/dist/esm/GridToolbar.js +77 -0
  53. package/dist/esm/ScrollMode.d.ts +1 -0
  54. package/dist/esm/ScrollMode.js +1 -0
  55. package/dist/esm/VirtualScroll.d.ts +41 -0
  56. package/dist/esm/VirtualScroll.js +217 -0
  57. package/dist/esm/additionalTypes.ts +21 -0
  58. package/dist/esm/cells/GridCell.d.ts +30 -0
  59. package/dist/esm/cells/GridCell.js +161 -0
  60. package/dist/esm/cells/GridDetailCell.d.ts +29 -0
  61. package/dist/esm/cells/GridDetailCell.js +82 -0
  62. package/dist/esm/cells/GridDetailHierarchyCell.d.ts +24 -0
  63. package/dist/esm/cells/GridDetailHierarchyCell.js +53 -0
  64. package/dist/esm/cells/GridEditCell.d.ts +40 -0
  65. package/dist/esm/cells/GridEditCell.js +312 -0
  66. package/dist/esm/cells/GridFilterCell.d.ts +26 -0
  67. package/dist/esm/cells/GridFilterCell.js +259 -0
  68. package/dist/esm/cells/GridGroupCell.d.ts +23 -0
  69. package/dist/esm/cells/GridGroupCell.js +179 -0
  70. package/dist/esm/cells/GridHierarchyCell.d.ts +23 -0
  71. package/dist/esm/cells/GridHierarchyCell.js +162 -0
  72. package/dist/esm/cells/GridSelectionCell.d.ts +34 -0
  73. package/dist/esm/cells/GridSelectionCell.js +138 -0
  74. package/dist/esm/columnMenu/ColumnMenu.d.ts +56 -0
  75. package/dist/esm/columnMenu/ColumnMenu.js +252 -0
  76. package/dist/esm/columnMenu/ColumnMenuContent.d.ts +33 -0
  77. package/dist/esm/columnMenu/ColumnMenuContent.js +123 -0
  78. package/dist/esm/columnMenu/GridColumnMenuCheckboxFilter.d.ts +86 -0
  79. package/dist/esm/columnMenu/GridColumnMenuCheckboxFilter.js +709 -0
  80. package/dist/esm/columnMenu/GridColumnMenuFilter.d.ts +339 -0
  81. package/dist/esm/columnMenu/GridColumnMenuFilter.js +1079 -0
  82. package/dist/esm/columnMenu/GridColumnMenuFilterCell.d.ts +45 -0
  83. package/dist/esm/columnMenu/GridColumnMenuFilterCell.js +152 -0
  84. package/dist/esm/columnMenu/GridColumnMenuFilterOperators.d.ts +36 -0
  85. package/dist/esm/columnMenu/GridColumnMenuFilterOperators.js +68 -0
  86. package/dist/esm/columnMenu/GridColumnMenuFilterUI.d.ts +24 -0
  87. package/dist/esm/columnMenu/GridColumnMenuFilterUI.js +155 -0
  88. package/dist/esm/columnMenu/GridColumnMenuItem.d.ts +42 -0
  89. package/dist/esm/columnMenu/GridColumnMenuItem.js +63 -0
  90. package/dist/esm/columnMenu/GridColumnMenuItemContent.d.ts +34 -0
  91. package/dist/esm/columnMenu/GridColumnMenuItemContent.js +51 -0
  92. package/dist/esm/columnMenu/GridColumnMenuItemGroup.d.ts +19 -0
  93. package/dist/esm/columnMenu/GridColumnMenuItemGroup.js +33 -0
  94. package/dist/esm/columnMenu/GridColumnMenuSort.d.ts +283 -0
  95. package/dist/esm/columnMenu/GridColumnMenuSort.js +375 -0
  96. package/dist/esm/drag/ColumnDraggable.d.ts +43 -0
  97. package/dist/esm/drag/ColumnDraggable.js +73 -0
  98. package/dist/esm/drag/ColumnResize.d.ts +31 -0
  99. package/dist/esm/drag/ColumnResize.js +126 -0
  100. package/dist/esm/drag/ColumnResizer.d.ts +40 -0
  101. package/dist/esm/drag/ColumnResizer.js +89 -0
  102. package/dist/esm/drag/CommonDragLogic.d.ts +35 -0
  103. package/dist/esm/drag/CommonDragLogic.js +177 -0
  104. package/dist/esm/drag/DragClue.d.ts +25 -0
  105. package/dist/esm/drag/DragClue.js +52 -0
  106. package/dist/esm/drag/DropClue.d.ts +24 -0
  107. package/dist/esm/drag/DropClue.js +46 -0
  108. package/dist/esm/drag/GroupingIndicator.d.ts +51 -0
  109. package/dist/esm/drag/GroupingIndicator.js +153 -0
  110. package/dist/esm/filterCommon.d.ts +75 -0
  111. package/dist/esm/filterCommon.js +156 -0
  112. package/dist/esm/footer/Footer.d.ts +52 -0
  113. package/dist/esm/footer/Footer.js +103 -0
  114. package/dist/esm/footer/FooterRow.d.ts +30 -0
  115. package/dist/esm/footer/FooterRow.js +73 -0
  116. package/dist/esm/header/FilterRow.d.ts +36 -0
  117. package/dist/esm/header/FilterRow.js +203 -0
  118. package/dist/esm/header/GridHeaderCell.d.ts +21 -0
  119. package/dist/esm/header/GridHeaderCell.js +60 -0
  120. package/dist/esm/header/GridHeaderSelectionCell.d.ts +32 -0
  121. package/dist/esm/header/GridHeaderSelectionCell.js +81 -0
  122. package/dist/esm/header/GroupPanel.d.ts +38 -0
  123. package/dist/esm/header/GroupPanel.js +108 -0
  124. package/dist/esm/header/Header.d.ts +64 -0
  125. package/dist/esm/header/Header.js +123 -0
  126. package/dist/esm/header/HeaderRow.d.ts +86 -0
  127. package/dist/esm/header/HeaderRow.js +517 -0
  128. package/dist/esm/interfaces/ExtendedColumnProps.d.ts +20 -0
  129. package/dist/esm/interfaces/ExtendedColumnProps.js +1 -0
  130. package/dist/esm/interfaces/GridCellProps.d.ts +156 -0
  131. package/dist/esm/interfaces/GridCellProps.js +1 -0
  132. package/dist/esm/interfaces/GridColumnMenuColumnProps.d.ts +13 -0
  133. package/dist/esm/interfaces/GridColumnMenuColumnProps.js +1 -0
  134. package/dist/esm/interfaces/GridColumnMenuExtendedFilterProps.d.ts +42 -0
  135. package/dist/esm/interfaces/GridColumnMenuExtendedFilterProps.js +1 -0
  136. package/dist/esm/interfaces/GridColumnMenuFilterBaseProps.d.ts +49 -0
  137. package/dist/esm/interfaces/GridColumnMenuFilterBaseProps.js +1 -0
  138. package/dist/esm/interfaces/GridColumnMenuFilterProps.d.ts +27 -0
  139. package/dist/esm/interfaces/GridColumnMenuFilterProps.js +1 -0
  140. package/dist/esm/interfaces/GridColumnMenuFilterUIProps.d.ts +55 -0
  141. package/dist/esm/interfaces/GridColumnMenuFilterUIProps.js +1 -0
  142. package/dist/esm/interfaces/GridColumnMenuProps.d.ts +19 -0
  143. package/dist/esm/interfaces/GridColumnMenuProps.js +1 -0
  144. package/dist/esm/interfaces/GridColumnMenuSortBaseProps.d.ts +28 -0
  145. package/dist/esm/interfaces/GridColumnMenuSortBaseProps.js +1 -0
  146. package/dist/esm/interfaces/GridColumnProps.d.ts +147 -0
  147. package/dist/esm/interfaces/GridColumnProps.js +1 -0
  148. package/dist/esm/interfaces/GridDetailRowProps.d.ts +9 -0
  149. package/dist/esm/interfaces/GridDetailRowProps.js +1 -0
  150. package/dist/esm/interfaces/GridFilterCellProps.d.ts +64 -0
  151. package/dist/esm/interfaces/GridFilterCellProps.js +1 -0
  152. package/dist/esm/interfaces/GridFilterOperator.d.ts +7 -0
  153. package/dist/esm/interfaces/GridFilterOperator.js +1 -0
  154. package/dist/esm/interfaces/GridFilterOperators.d.ts +49 -0
  155. package/dist/esm/interfaces/GridFilterOperators.js +1 -0
  156. package/dist/esm/interfaces/GridFooterCellProps.d.ts +7 -0
  157. package/dist/esm/interfaces/GridFooterCellProps.js +1 -0
  158. package/dist/esm/interfaces/GridGroupableSettings.d.ts +15 -0
  159. package/dist/esm/interfaces/GridGroupableSettings.js +1 -0
  160. package/dist/esm/interfaces/GridHeaderCellProps.d.ts +37 -0
  161. package/dist/esm/interfaces/GridHeaderCellProps.js +1 -0
  162. package/dist/esm/interfaces/GridHeaderSelectionCellProps.d.ts +17 -0
  163. package/dist/esm/interfaces/GridHeaderSelectionCellProps.js +1 -0
  164. package/dist/esm/interfaces/GridNoRecordsProps.d.ts +9 -0
  165. package/dist/esm/interfaces/GridNoRecordsProps.js +1 -0
  166. package/dist/esm/interfaces/GridProps.d.ts +311 -0
  167. package/dist/esm/interfaces/GridProps.js +1 -0
  168. package/dist/esm/interfaces/GridRowProps.d.ts +55 -0
  169. package/dist/esm/interfaces/GridRowProps.js +1 -0
  170. package/dist/esm/interfaces/GridRowType.d.ts +9 -0
  171. package/dist/esm/interfaces/GridRowType.js +1 -0
  172. package/dist/esm/interfaces/GridSortSettings.d.ts +26 -0
  173. package/dist/esm/interfaces/GridSortSettings.js +20 -0
  174. package/dist/esm/interfaces/GridToolbarProps.d.ts +9 -0
  175. package/dist/esm/interfaces/GridToolbarProps.js +1 -0
  176. package/dist/esm/interfaces/events.d.ts +248 -0
  177. package/dist/esm/interfaces/events.js +1 -0
  178. package/dist/esm/main.d.ts +38 -0
  179. package/dist/esm/main.js +31 -0
  180. package/dist/esm/messages/index.d.ts +150 -0
  181. package/dist/esm/messages/index.js +151 -0
  182. package/dist/esm/package-metadata.d.ts +5 -0
  183. package/dist/esm/package-metadata.js +11 -0
  184. package/dist/esm/package.json +3 -0
  185. package/dist/esm/rows/GridDetailRow.d.ts +16 -0
  186. package/dist/esm/rows/GridDetailRow.js +29 -0
  187. package/dist/esm/rows/GridRow.d.ts +28 -0
  188. package/dist/esm/rows/GridRow.js +84 -0
  189. package/dist/esm/utils/browser-support.service.d.ts +7 -0
  190. package/dist/esm/utils/browser-support.service.js +26 -0
  191. package/dist/esm/utils/index.d.ts +91 -0
  192. package/dist/esm/utils/index.js +393 -0
  193. package/dist/npm/Grid.js +66 -70
  194. package/dist/npm/GridNav.js +1 -1
  195. package/dist/npm/GridNoRecords.js +2 -2
  196. package/dist/npm/GridToolbar.js +1 -1
  197. package/dist/npm/cells/GridCell.js +2 -2
  198. package/dist/npm/cells/GridEditCell.js +2 -2
  199. package/dist/npm/cells/GridFilterCell.js +4 -4
  200. package/dist/npm/cells/GridHierarchyCell.js +1 -1
  201. package/dist/npm/cells/GridSelectionCell.js +2 -2
  202. package/dist/npm/columnMenu/ColumnMenu.js +5 -5
  203. package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.js +14 -18
  204. package/dist/npm/columnMenu/GridColumnMenuFilter.js +445 -125
  205. package/dist/npm/columnMenu/GridColumnMenuFilterCell.js +79 -102
  206. package/dist/npm/columnMenu/GridColumnMenuFilterOperators.d.ts +36 -0
  207. package/dist/npm/columnMenu/GridColumnMenuFilterOperators.js +79 -0
  208. package/dist/npm/columnMenu/GridColumnMenuItem.js +2 -2
  209. package/dist/npm/columnMenu/GridColumnMenuItemContent.js +1 -1
  210. package/dist/npm/columnMenu/GridColumnMenuItemGroup.js +1 -1
  211. package/dist/npm/columnMenu/GridColumnMenuSort.js +5 -4
  212. package/dist/npm/drag/ColumnDraggable.js +1 -1
  213. package/dist/npm/drag/CommonDragLogic.js +2 -2
  214. package/dist/npm/drag/GroupingIndicator.js +3 -3
  215. package/dist/npm/filterCommon.d.ts +1 -1
  216. package/dist/npm/filterCommon.js +19 -12
  217. package/dist/npm/footer/Footer.js +6 -6
  218. package/dist/npm/footer/FooterRow.js +2 -2
  219. package/dist/npm/header/FilterRow.js +7 -7
  220. package/dist/npm/header/GridHeaderCell.js +1 -1
  221. package/dist/npm/header/GridHeaderSelectionCell.js +1 -1
  222. package/dist/npm/header/GroupPanel.js +1 -1
  223. package/dist/npm/header/Header.js +8 -8
  224. package/dist/npm/header/HeaderRow.js +2 -2
  225. package/dist/npm/interfaces/GridSortSettings.js +11 -8
  226. package/dist/npm/main.js +6 -2
  227. package/dist/npm/package-metadata.js +1 -1
  228. package/dist/npm/rows/GridDetailRow.d.ts +2 -1
  229. package/dist/npm/rows/GridRow.js +2 -2
  230. package/dist/npm/utils/index.js +6 -5
  231. package/package.json +20 -14
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The column props passed by the ColumnMenu.
3
+ */
4
+ export interface GridColumnMenuColumnProps {
5
+ /**
6
+ * The field to which the column is bound.
7
+ */
8
+ field?: string;
9
+ /**
10
+ * Defines the filter type that is displayed inside the filter row. Defaults to `text`.
11
+ */
12
+ filter?: 'text' | 'numeric' | 'boolean' | 'date';
13
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,42 @@
1
+ import { GridColumnMenuFilterProps } from './GridColumnMenuFilterProps';
2
+ /**
3
+ * @hidden
4
+ */
5
+ export interface GridColumnMenuExtendedFilterProps extends GridColumnMenuFilterProps {
6
+ /**
7
+ * Allows you to control the expand state of the filter component.
8
+ */
9
+ expanded?: boolean;
10
+ /**
11
+ * Triggered on each subsequent expand state of the filter component.
12
+ */
13
+ onExpandchange?: (nextExpandState: boolean) => void;
14
+ /**
15
+ * If set to `false`, the second filter operator and the input will be hidden.
16
+ */
17
+ hideSecondFilter?: boolean;
18
+ /**
19
+ * Specifies a Vue element that will be cloned and rendered inside the UI of the column-menu filter component.
20
+ */
21
+ filterUI?: any;
22
+ }
23
+ /**
24
+ * @hidden
25
+ */
26
+ export interface GridColumnMenuBooleanFilterProps extends GridColumnMenuExtendedFilterProps {
27
+ }
28
+ /**
29
+ * @hidden
30
+ */
31
+ export interface GridColumnMenuDateFilterProps extends GridColumnMenuExtendedFilterProps {
32
+ }
33
+ /**
34
+ * @hidden
35
+ */
36
+ export interface GridColumnMenuNumericFilterProps extends GridColumnMenuExtendedFilterProps {
37
+ }
38
+ /**
39
+ * @hidden
40
+ */
41
+ export interface GridColumnMenuTextFilterProps extends GridColumnMenuExtendedFilterProps {
42
+ }
@@ -0,0 +1,49 @@
1
+ import { CompositeFilterDescriptor } from '@progress/kendo-data-query';
2
+ import { PopupAnimation } from '@progress/kendo-vue-popup';
3
+ import { GridColumnMenuColumnProps } from './GridColumnMenuColumnProps';
4
+ import { GridFilterOperators } from './GridFilterOperators';
5
+ /**
6
+ * The props passed to the ColumnMenu filter component.
7
+ */
8
+ export interface GridColumnMenuFilterBaseProps {
9
+ /**
10
+ * Controls the ColumnMenu animation. By default, the opening and closing animations are enabled.
11
+ */
12
+ animate?: boolean | PopupAnimation;
13
+ /**
14
+ * The current column options.
15
+ */
16
+ column: GridColumnMenuColumnProps;
17
+ /**
18
+ * The method that will be called to close the column menu.
19
+ */
20
+ onClosemenu?: Function;
21
+ /**
22
+ * The current filter state of the Grid.
23
+ */
24
+ filter?: CompositeFilterDescriptor;
25
+ /**
26
+ * The filterable option of the column.
27
+ */
28
+ filterable?: boolean | undefined;
29
+ /**
30
+ * The filter operators for the Grid filters.
31
+ */
32
+ filterOperators: GridFilterOperators;
33
+ /**
34
+ * The template that can customize the check all checkbox item.
35
+ */
36
+ checkAllItem?: string | object | Function | boolean;
37
+ /**
38
+ * The template that can customize the checkbox item.
39
+ */
40
+ item?: string | object | Function | boolean;
41
+ /**
42
+ * The trigger focus event.
43
+ */
44
+ onFocus?: (e: any) => void;
45
+ /**
46
+ * The method that will be called to notify the parent Grid about a filter change.
47
+ */
48
+ onFilterchange?: (filter: CompositeFilterDescriptor | null, syntheticEvent: any) => any;
49
+ }
@@ -0,0 +1,27 @@
1
+ import { CompositeFilterDescriptor } from '@progress/kendo-data-query';
2
+ import { GridColumnProps } from './GridColumnProps';
3
+ /**
4
+ * @hidden
5
+ */
6
+ export interface GridColumnMenuFilterProps {
7
+ /**
8
+ * The current column options.
9
+ */
10
+ column: GridColumnProps;
11
+ /**
12
+ * The method that will be called to close the column menu.
13
+ */
14
+ onCloseMenu?: Function;
15
+ /**
16
+ * The current filter state of the Grid.
17
+ */
18
+ filter?: CompositeFilterDescriptor;
19
+ /**
20
+ * The filterable option of the column.
21
+ */
22
+ filterable?: boolean | undefined;
23
+ /**
24
+ * The method that will be called to notify the parent Grid about a filter change.
25
+ */
26
+ onFilterchange?: (filter: CompositeFilterDescriptor | null, event: any) => any;
27
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,55 @@
1
+ import { GridFilterCellProps } from './GridFilterCellProps';
2
+ /**
3
+ * The props that will be passed to the UI of the ColumnMenu filter component.
4
+ */
5
+ export interface GridColumnMenuFilterUIProps {
6
+ /**
7
+ * The options of the first filter.
8
+ */
9
+ firstFilterProps: GridFilterCellProps;
10
+ /**
11
+ * The options of the second filter.
12
+ */
13
+ secondFilterProps: GridFilterCellProps;
14
+ /**
15
+ * The current value of the filter logic.
16
+ */
17
+ logicValue?: {
18
+ text: string;
19
+ operator: any;
20
+ };
21
+ /**
22
+ * The list of the filter logic options.
23
+ */
24
+ logicData: {
25
+ text: string;
26
+ operator: any;
27
+ }[];
28
+ /**
29
+ * The method that will be called to notify the parent about a change in the filter logic.
30
+ */
31
+ onLogicchange?: (e: any) => void;
32
+ /**
33
+ * The method that will be called to notify the parent about a change in the filter.
34
+ */
35
+ onChange?: (e: any, filterIndex: number) => void;
36
+ /**
37
+ * The trigger focus event.
38
+ */
39
+ onFocus?: (e: any) => void;
40
+ /**
41
+ * Indicates if the second filter will be hidden.
42
+ */
43
+ hideSecondFilter?: boolean;
44
+ /**
45
+ * The list of the default operators for the current filter type.
46
+ */
47
+ operators: Array<{
48
+ text: string;
49
+ operator: any;
50
+ }>;
51
+ /**
52
+ * The method for rendering the cell.
53
+ */
54
+ render?: any;
55
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,19 @@
1
+ import { GridColumnMenuFilterBaseProps } from './GridColumnMenuFilterBaseProps';
2
+ import { GridColumnMenuSortBaseProps } from './GridColumnMenuSortBaseProps';
3
+ /**
4
+ * The props which the ColumnMenu passes to its children.
5
+ */
6
+ export interface GridColumnMenuProps extends GridColumnMenuFilterBaseProps, GridColumnMenuSortBaseProps {
7
+ /**
8
+ * The key of the column menu.
9
+ */
10
+ key?: any;
11
+ /**
12
+ * The method for rendering the column menu.
13
+ */
14
+ render?: any;
15
+ /**
16
+ * The opened column menu.
17
+ */
18
+ opened?: boolean;
19
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,28 @@
1
+ import { SortDescriptor } from '@progress/kendo-data-query';
2
+ import { GridSortSettings } from './GridSortSettings';
3
+ import { GridColumnMenuColumnProps } from './GridColumnMenuColumnProps';
4
+ /**
5
+ * The props passed to the ColumnMenu sort component.
6
+ */
7
+ export interface GridColumnMenuSortBaseProps {
8
+ /**
9
+ * The current column options.
10
+ */
11
+ column: GridColumnMenuColumnProps;
12
+ /**
13
+ * The method that will be called to close the column menu.
14
+ */
15
+ onClosemenu?: Function;
16
+ /**
17
+ * The sortable option of the column.
18
+ */
19
+ sortable?: GridSortSettings;
20
+ /**
21
+ * The current sort state of the Grid.
22
+ */
23
+ sort?: SortDescriptor[];
24
+ /**
25
+ * The method that will be called to notify the parent Grid about a sort change.
26
+ */
27
+ onSortchange?: (descriptors: SortDescriptor[], e: any) => void;
28
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,147 @@
1
+ import { GridFilterCellProps, GridHeaderCellProps, GridFooterCellProps, GridCellProps } from '../main';
2
+ /**
3
+ * The props that can be assigned to the Grid column.
4
+ */
5
+ export interface GridColumnProps {
6
+ /**
7
+ * The field to which the column is bound.
8
+ */
9
+ field?: string;
10
+ /**
11
+ * The title of the column.
12
+ */
13
+ title?: string;
14
+ /**
15
+ * Defines whether the column is editable
16
+ * ([more information and examples]({% slug editing_inline_grid %})).
17
+ */
18
+ editable?: boolean;
19
+ /**
20
+ * Allows the column headers to be clicked and the `sortChange` event emitted.
21
+ * You have to handle the `sortChange` event yourself and sort the data.
22
+ */
23
+ sortable?: boolean;
24
+ /**
25
+ * Defines the custom rendering of the cell. Accepts a Vue component, a `render` function, or a slot name.
26
+ * If not set, a `GridCell` will be rendered by default.
27
+ */
28
+ cell?: ((h: any, defaultRendering: any | null, props: GridCellProps, listeners: any) => any) | string | any;
29
+ /**
30
+ * @hidden
31
+ */
32
+ internalCell?: any;
33
+ /**
34
+ * @hidden
35
+ */
36
+ internalHeaderCell?: any;
37
+ /**
38
+ * Defines the custom rendering of the filter cell. Accepts a Vue component, a `render` function, or a slot name.
39
+ * If not set, a `GridFilterCell` will be rendered by default.
40
+ */
41
+ filterCell?: ((h: any, defaultRendering: any | null, props: GridFilterCellProps, listeners: any) => any) | string | any;
42
+ /**
43
+ * Defines if a filter UI will be displayed for this column. Defaults to `true`.
44
+ */
45
+ filterable?: boolean;
46
+ /**
47
+ * Defines the filter type that is displayed inside the filter row.
48
+ * Defaults to `text`.
49
+ */
50
+ filter?: 'text' | 'numeric' | 'boolean' | 'date';
51
+ /**
52
+ * Defines the editor type. Used when the column enters the edit mode
53
+ * ([more information and examples]({% slug editing_inline_grid %})).
54
+ * Defaults to `text`.
55
+ */
56
+ editor?: 'text' | 'numeric' | 'boolean' | 'date';
57
+ /**
58
+ * The width of the column (in pixels).
59
+ */
60
+ width?: string | number;
61
+ /**
62
+ * The width of the column (in pixels) below which the user is not able to resize the column through the UI.
63
+ * Defaults to `10`. It is responsible only for the minimal width that is observed after the manual drag and it is
64
+ * not responsible for the width of the columns when the browser is resized
65
+ */
66
+ minResizableWidth?: number;
67
+ /**
68
+ * Defines the custom rendering of the header cell. Accepts a Vue component, a `render` function, or a slot name.
69
+ * If not set, a `GridHeaderCell` will be rendered by default.
70
+ */
71
+ headerCell?: ((h: any, defaultRendering: any | null, props: GridHeaderCellProps, listeners: any) => any) | string | any;
72
+ /**
73
+ * Defines the custom rendering of the footer cell.
74
+ * The footer cell have to render an `HTMLTableCellElement` (TD element) and
75
+ * apply its `style` and `colspan` values from the footer component `props`.
76
+ * Accepts a Vue component, a `render` function, or a slot name.
77
+ */
78
+ footerCell?: ((h: any, defaultRendering: any | null, props: GridFooterCellProps, listeners: any) => any) | string | any;
79
+ /**
80
+ * Sets the custom CSS classes to the column footer cell if there is footer.
81
+ */
82
+ footerClassName?: string;
83
+ /**
84
+ * Defines if the header selection checkbox is checked.
85
+ */
86
+ headerSelectionValue?: boolean;
87
+ /**
88
+ * The format that is applied to the value before it is displayed. Takes the `{0:format}`
89
+ * form where `format` is any of the following:
90
+ * * A standard number format
91
+ * * A custom number format
92
+ * * A standard date format
93
+ * * A custom date format
94
+ *
95
+ * For more information on the supported date and number formats,
96
+ * refer to the [kendo-intl](https://github.com/telerik/kendo-intl/blob/develop/docs/index.md) documentation.
97
+ */
98
+ format?: string;
99
+ /**
100
+ * Indicates whether the column is hidden.
101
+ */
102
+ hidden?: boolean;
103
+ /**
104
+ * Sets the custom CSS classes to the column header cell.
105
+ */
106
+ headerClassName?: string;
107
+ /**
108
+ * Sets the custom CSS classes to the column cells.
109
+ */
110
+ className?: string;
111
+ /**
112
+ * Indicates whether the column is reorderable.
113
+ */
114
+ reorderable?: boolean;
115
+ /**
116
+ * Indicates whether the column is resizable.
117
+ */
118
+ resizable?: boolean;
119
+ /**
120
+ * Determinates the position of the column. Columns with smaller `orderIndex` will appear
121
+ * before columns with bigger `orderIndex`. Defaults to `0`.
122
+ */
123
+ orderIndex?: number;
124
+ /**
125
+ * Determines if the column can be dragged to the group panel. Defaults to `true`.
126
+ */
127
+ groupable?: boolean;
128
+ /**
129
+ * A collection of child columns.
130
+ */
131
+ children?: (GridColumnProps)[] | (any)[];
132
+ /**
133
+ * Defines if the column menu will be shown for the column.
134
+ * Accepts Boolean, a Vue component, a `render` function, or a slot name
135
+ */
136
+ columnMenu?: boolean | any;
137
+ /**
138
+ *
139
+ */
140
+ locked?: boolean;
141
+ /**
142
+ * The type of the data which will be used when formatting the cell data.
143
+ * Could be one of the following values 'text' | 'numeric' | 'boolean' | 'date'.
144
+ * Defaults to `text`.
145
+ */
146
+ type?: 'text' | 'numeric' | 'boolean' | 'date';
147
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @hidden
3
+ */
4
+ export interface GridDetailRowProps {
5
+ /**
6
+ * The data object that represents the current row.
7
+ */
8
+ dataItem: any;
9
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,64 @@
1
+ import { GridFilterOperator } from './GridFilterOperator';
2
+ import { GridFilterOperators } from './GridFilterOperators';
3
+ /**
4
+ * The props of the GridFilterCell component
5
+ * ([more information and examples]({% slug filtering_grid %})).
6
+ */
7
+ /**
8
+ * @hidden
9
+ */
10
+ export interface GridFilterCellProps {
11
+ /**
12
+ * @hidden
13
+ */
14
+ id: string;
15
+ /**
16
+ * The instance of the Grid component.
17
+ */
18
+ grid?: any;
19
+ /**
20
+ * The title of the filter editor.
21
+ */
22
+ title?: string;
23
+ /**
24
+ * The column span of the cell.
25
+ */
26
+ colSpan?: number;
27
+ /**
28
+ * The column field in which the cell is located.
29
+ */
30
+ field?: string;
31
+ /**
32
+ * The type of the filter. Determines which editor will be rendered for filtering.
33
+ * The supported values are the following 0 'text' | 'numeric' | 'boolean' | 'date;
34
+ */
35
+ filterType: string;
36
+ /**
37
+ * The value of the cell.
38
+ */
39
+ value: any;
40
+ /**
41
+ * The operator that will be used for the cell filtering.
42
+ */
43
+ operator: string;
44
+ /**
45
+ * The list of the default operators for the current filter type.
46
+ */
47
+ operators: GridFilterOperators[];
48
+ /**
49
+ * The list of values for the Boolean filter.
50
+ */
51
+ booleanValues: GridFilterOperator[];
52
+ /**
53
+ * The method that will be called if the cell needs to inform its parent Grid about a change.
54
+ */
55
+ onChange?: (event: {
56
+ value: any;
57
+ operator: string | Function;
58
+ event: any;
59
+ }) => void;
60
+ /**
61
+ * The method for rendering the filter cell.
62
+ */
63
+ render?: any;
64
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The filter operator for the Grid filters.
3
+ */
4
+ export interface GridFilterOperator {
5
+ text: string;
6
+ operator: any;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,49 @@
1
+ import { GridFilterOperator } from './GridFilterOperator';
2
+ /**
3
+ * The filter operators for the Grid filters.
4
+ *
5
+ * @example
6
+ * ```jsx-no-run
7
+ * // Default Grid filter operators:
8
+ * const filterOperators: {
9
+ * 'text': [
10
+ * { text: 'grid.filterContainsOperator', operator: 'contains' },
11
+ * { text: 'grid.filterNotContainsOperator', operator: 'doesnotcontain' },
12
+ * { text: 'grid.filterEqOperator', operator: 'eq' },
13
+ * { text: 'grid.filterNotEqOperator', operator: 'neq' },
14
+ * { text: 'grid.filterStartsWithOperator', operator: 'startswith' },
15
+ * { text: 'grid.filterEndsWithOperator', operator: 'endswith' },
16
+ * { text: 'grid.filterIsNullOperator', operator: 'isnull' },
17
+ * { text: 'grid.filterIsNotNullOperator', operator: 'isnotnull' },
18
+ * { text: 'grid.filterIsEmptyOperator', operator: 'isempty' },
19
+ * { text: 'grid.filterIsNotEmptyOperator', operator: 'isnotempty' }
20
+ * ],
21
+ * 'numeric': [
22
+ * { text: 'grid.filterEqOperator', operator: 'eq' },
23
+ * { text: 'grid.filterNotEqOperator', operator: 'neq' },
24
+ * { text: 'grid.filterGteOperator', operator: 'gte' },
25
+ * { text: 'grid.filterGtOperator', operator: 'gt' },
26
+ * { text: 'grid.filterLteOperator', operator: 'lte' },
27
+ * { text: 'grid.filterLtOperator', operator: 'lt' },
28
+ * { text: 'grid.filterIsNullOperator', operator: 'isnull' },
29
+ * { text: 'grid.filterIsNotNullOperator', operator: 'isnotnull' }
30
+ * ],
31
+ * 'date': [
32
+ * { text: 'grid.filterEqOperator', operator: 'eq' },
33
+ * { text: 'grid.filterNotEqOperator', operator: 'neq' },
34
+ * { text: 'grid.filterAfterOrEqualOperator', operator: 'gte' },
35
+ * { text: 'grid.filterAfterOperator', operator: 'gt' },
36
+ * { text: 'grid.filterBeforeOperator', operator: 'lt' },
37
+ * { text: 'grid.filterBeforeOrEqualOperator', operator: 'lte' },
38
+ * { text: 'grid.filterIsNullOperator', operator: 'isnull' },
39
+ * { text: 'grid.filterIsNotNullOperator', operator: 'isnotnull' }
40
+ * ],
41
+ * 'boolean': [
42
+ * { text: 'grid.filterEqOperator', operator: 'eq' }
43
+ * ]
44
+ * }
45
+ * ```
46
+ */
47
+ export interface GridFilterOperators {
48
+ [type: string]: GridFilterOperator[];
49
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export interface GridFooterCellProps {
2
+ /**
3
+ * The field to which the footer cell is bound.
4
+ */
5
+ field?: string;
6
+ colSpan?: number;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The settings for grouping the data of the Grid
3
+ * ([see example]({% slug groupingaggregates_grid %})).
4
+ */
5
+ export interface GridGroupableSettings {
6
+ /**
7
+ * Determines if grouping by dragging and dropping the column headers is allowed
8
+ * and if the group header is visible.
9
+ */
10
+ enabled?: boolean;
11
+ /**
12
+ * Determines if the group footer row is visible when the group is collapsed. Defaults to `false`.
13
+ */
14
+ footer?: 'always' | 'visible' | 'none';
15
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,37 @@
1
+ import { GridSortSettings } from '../interfaces/GridSortSettings';
2
+ /**
3
+ * The props of the GridHeaderCellProps component.
4
+ */
5
+ /**
6
+ * @hidden
7
+ */
8
+ export interface GridHeaderCellProps {
9
+ /**
10
+ * The key in which the cell is located.
11
+ */
12
+ key?: any;
13
+ /**
14
+ * The column field in which the cell is located.
15
+ */
16
+ field?: string;
17
+ /**
18
+ * The title of the column in which the cell is located.
19
+ */
20
+ title?: string;
21
+ /**
22
+ * The `click` event handler of the cell.
23
+ */
24
+ onClick?: any;
25
+ /**
26
+ * @hidden
27
+ */
28
+ selectionValue?: any;
29
+ /**
30
+ * The method for rendering the header cell.
31
+ */
32
+ sortable?: GridSortSettings;
33
+ /**
34
+ * The method for rendering the cell.
35
+ */
36
+ render?: any;
37
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,17 @@
1
+ import { GridHeaderCellProps } from './GridHeaderCellProps';
2
+ /**
3
+ * The props of the GridHeaderSelectionCellProps component.
4
+ */
5
+ /**
6
+ * @hidden
7
+ */
8
+ export interface GridHeaderSelectionCellProps extends GridHeaderCellProps {
9
+ /**
10
+ * The `selectionChange` event handler of the cell.
11
+ */
12
+ selectionChange?: any;
13
+ /**
14
+ * The `selectionValue` event handler of the column in which the cell is located.
15
+ */
16
+ selectionValue: any;
17
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The props of the GridNoRecords component.
3
+ */
4
+ export interface GridNoRecordsProps {
5
+ /**
6
+ * The Vue slots that will be rendered inside the Grid when no records are available.
7
+ */
8
+ children?: any;
9
+ }
@@ -0,0 +1 @@
1
+ export {};