@progress/kendo-react-grid 13.3.0-develop.9 → 13.4.0-develop.1

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 (256) hide show
  1. package/BasePDFExport.d.ts +31 -0
  2. package/Grid.d.ts +129 -0
  3. package/GridClientContextReader.d.ts +17 -0
  4. package/GridClientWrapper.d.ts +32 -0
  5. package/GridClientWrapper.js +1 -1
  6. package/GridClientWrapper.mjs +21 -25
  7. package/GridColumn.d.ts +51 -0
  8. package/GridComponent.d.ts +14 -0
  9. package/GridComponent.js +1 -1
  10. package/GridComponent.mjs +35 -35
  11. package/GridPdfExportButton.d.ts +18 -0
  12. package/GridSearchBox.d.ts +27 -0
  13. package/GridState.d.ts +30 -0
  14. package/GridToolbar.d.ts +48 -0
  15. package/ScrollMode.d.ts +8 -0
  16. package/StatusBar.d.ts +59 -0
  17. package/VirtualScroll.d.ts +45 -0
  18. package/cells/GridDetailHierarchyCell.d.ts +16 -0
  19. package/cells/GridFilterCell.d.ts +10 -0
  20. package/cells/GridFilterCell.mjs +4 -4
  21. package/cells/datacell/GridCell.d.ts +15 -0
  22. package/cells/datacell/GridCellServer.d.ts +15 -0
  23. package/cells/datacell/GridCellServerContainer.d.ts +11 -0
  24. package/cells/datacell/useCellClientTdProps.d.ts +69 -0
  25. package/cells/datacell/utils.d.ts +20 -0
  26. package/cells/detailcell/GridDetailCell.d.ts +23 -0
  27. package/cells/detailcell/GridDetailCellServer.d.ts +11 -0
  28. package/cells/detailcell/GridDetailCellServerContainer.d.ts +12 -0
  29. package/cells/detailcell/useDetailCellClientTdProps.d.ts +23 -0
  30. package/cells/detailcell/utils.d.ts +19 -0
  31. package/cells/editcell/GridEditCell.d.ts +15 -0
  32. package/cells/editcell/GridEditCellEditor.d.ts +11 -0
  33. package/cells/editcell/GridEditCellServer.d.ts +15 -0
  34. package/cells/editcell/GridEditCellServerContainer.d.ts +11 -0
  35. package/cells/editcell/useEditCellClientTdProps.d.ts +25 -0
  36. package/cells/editcell/utils.d.ts +19 -0
  37. package/cells/groupcell/GridGroupCell.d.ts +15 -0
  38. package/cells/groupcell/GridGroupCellServer.d.ts +15 -0
  39. package/cells/groupcell/GridGroupCellServerContainer.d.ts +12 -0
  40. package/cells/groupcell/GridGroupCellToggle.d.ts +13 -0
  41. package/cells/groupcell/useGroupCellClientTdProps.d.ts +41 -0
  42. package/cells/groupcell/utils.d.ts +22 -0
  43. package/cells/hierarchycell/GridHierarchyCell.d.ts +15 -0
  44. package/cells/hierarchycell/GridHierarchyCellServer.d.ts +15 -0
  45. package/cells/hierarchycell/GridHierarchyCellServerContainer.d.ts +11 -0
  46. package/cells/hierarchycell/GridHierarchyCellToggle.d.ts +13 -0
  47. package/cells/hierarchycell/GridHierarchyCellToggle.mjs +2 -2
  48. package/cells/hierarchycell/useHierarchyCellClientTdProps.d.ts +32 -0
  49. package/cells/hierarchycell/utils.d.ts +20 -0
  50. package/cells/hooks.d.ts +25 -0
  51. package/cells/rowreordercell/GridRowReorderCell.d.ts +15 -0
  52. package/cells/rowreordercell/GridRowReorderCellServer.d.ts +15 -0
  53. package/cells/rowreordercell/GridRowReorderCellServerContainer.d.ts +11 -0
  54. package/cells/rowreordercell/useRowReorderCellClientTdProps.d.ts +27 -0
  55. package/cells/rowreordercell/utils.d.ts +15 -0
  56. package/cells/selectioncell/GridSelectionCell.d.ts +15 -0
  57. package/cells/selectioncell/GridSelectionCellInput.d.ts +13 -0
  58. package/cells/selectioncell/GridSelectionCellServer.d.ts +15 -0
  59. package/cells/selectioncell/GridSelectionCellServerContainer.d.ts +11 -0
  60. package/cells/selectioncell/useSelectionCellClientTdProps.d.ts +25 -0
  61. package/cells/selectioncell/utils.d.ts +25 -0
  62. package/codemods/v11/cell-render.js +2 -9
  63. package/codemods/v11/column-cell.js +2 -9
  64. package/codemods/v11/column-filter-cell.js +2 -9
  65. package/codemods/v11/column-footer-cell.js +2 -9
  66. package/codemods/v11/column-header-cell.js +2 -9
  67. package/codemods/v11/detail-expand-state.js +2 -9
  68. package/codemods/v11/edit-state.js +2 -9
  69. package/codemods/v11/filter-cell-render.js +2 -9
  70. package/codemods/v11/group-expand-state.js +2 -9
  71. package/codemods/v11/header-cell-render.js +2 -9
  72. package/codemods/v11/index.js +0 -7
  73. package/codemods/v11/row-render.js +2 -9
  74. package/codemods/v11/selection-state.js +2 -9
  75. package/codemods/v11/utils.js +2 -9
  76. package/columnMenu/GridColumnMenuCheckboxFilter.d.ts +58 -0
  77. package/columnMenu/GridColumnMenuCheckboxFilter.js +1 -1
  78. package/columnMenu/GridColumnMenuCheckboxFilter.mjs +0 -1
  79. package/columnMenu/GridColumnMenuColumnsChooser.d.ts +30 -0
  80. package/columnMenu/GridColumnMenuColumnsList.d.ts +34 -0
  81. package/columnMenu/GridColumnMenuFilter.d.ts +101 -0
  82. package/columnMenu/GridColumnMenuFilterCell.d.ts +29 -0
  83. package/columnMenu/GridColumnMenuFilterUI.d.ts +13 -0
  84. package/columnMenu/GridColumnMenuGroup.d.ts +61 -0
  85. package/columnMenu/GridColumnMenuGroup.mjs +3 -3
  86. package/columnMenu/GridColumnMenuItem.d.ts +48 -0
  87. package/columnMenu/GridColumnMenuItemContent.d.ts +22 -0
  88. package/columnMenu/GridColumnMenuItemGroup.d.ts +18 -0
  89. package/columnMenu/GridColumnMenuSort.d.ts +67 -0
  90. package/columnMenu/GridColumnMenuWrapper.d.ts +33 -0
  91. package/columnMenu/GridColumnMenuWrapper.mjs +5 -5
  92. package/columnMenu/adaptiveContent/GridActionSheetFooter.d.ts +26 -0
  93. package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.d.ts +27 -0
  94. package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.mjs +4 -4
  95. package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.d.ts +32 -0
  96. package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.mjs +3 -3
  97. package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.d.ts +12 -0
  98. package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.js +1 -1
  99. package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.mjs +4 -4
  100. package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.d.ts +27 -0
  101. package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.mjs +8 -8
  102. package/columnMenu/adaptiveContext/GridColumnMenuAdaptiveContext.d.ts +23 -0
  103. package/components/GridContainerElementContainer.d.ts +12 -0
  104. package/components/GridDragClue.d.ts +12 -0
  105. package/components/GridDraggableRowsContainer.d.ts +20 -0
  106. package/components/GridDropClue.d.ts +12 -0
  107. package/components/GridEditDialog.d.ts +22 -0
  108. package/components/GridEditDialog.mjs +1 -1
  109. package/components/GridElementContainer.d.ts +14 -0
  110. package/components/GridLoader.d.ts +17 -0
  111. package/components/PagerContainer.d.ts +12 -0
  112. package/components/VirtualScrollHeightContainer.d.ts +12 -0
  113. package/components/colGroup/GridColGroup.d.ts +12 -0
  114. package/components/icons/reorder-row-svg.d.ts +12 -0
  115. package/components/noRecords/GridNoRecords.d.ts +31 -0
  116. package/components/noRecords/GridNoRecordsContainer.d.ts +15 -0
  117. package/components/noRecords/GridNoRecordsContainer.mjs +1 -1
  118. package/components/table/GridTable.d.ts +12 -0
  119. package/components/table/GridTableBody.d.ts +12 -0
  120. package/components/table/GridTableScrollable.d.ts +12 -0
  121. package/components/utils.d.ts +21 -0
  122. package/constants/index.d.ts +15 -0
  123. package/constants/index.mjs +2 -2
  124. package/contextMenu/GridContextMenu.d.ts +205 -0
  125. package/contextMenu/GridContextMenu.mjs +19 -19
  126. package/contextMenu/enums.d.ts +36 -0
  127. package/dist/cdn/js/kendo-react-grid.js +1 -1
  128. package/drag/ColumnDraggable.d.ts +26 -0
  129. package/drag/ColumnResize.d.ts +47 -0
  130. package/drag/CommonDragLogic.d.ts +50 -0
  131. package/drag/GroupingIndicator.d.ts +26 -0
  132. package/drag/GroupingIndicator.js +1 -1
  133. package/drag/GroupingIndicator.mjs +20 -20
  134. package/filterCommon.d.ts +86 -0
  135. package/footer/Footer.d.ts +38 -0
  136. package/footer/Footer.js +1 -1
  137. package/footer/Footer.mjs +9 -9
  138. package/footer/FooterCell.d.ts +19 -0
  139. package/footer/FooterRow.d.ts +23 -0
  140. package/footer/client/FooterCellContainer.d.ts +12 -0
  141. package/header/FilterRow.d.ts +35 -0
  142. package/header/GridHeaderCell.d.ts +48 -0
  143. package/header/GridHeaderSelectionCell.d.ts +13 -0
  144. package/header/GroupPanel.d.ts +23 -0
  145. package/header/GroupPanel.js +1 -1
  146. package/header/GroupPanel.mjs +11 -11
  147. package/header/Header.d.ts +44 -0
  148. package/header/Header.js +1 -1
  149. package/header/Header.mjs +1 -1
  150. package/header/HeaderRow.d.ts +45 -0
  151. package/header/client/GridFilterCellContainer.d.ts +12 -0
  152. package/header/client/GridFilterCellElementContainer.d.ts +12 -0
  153. package/header/client/GridHeaderCellContainer.d.ts +12 -0
  154. package/header/client/GridHeaderCellElementContainer.d.ts +12 -0
  155. package/header/client/GridHeaderRowContainer.d.ts +16 -0
  156. package/header/client/GridHeaderRowReorderCell.d.ts +12 -0
  157. package/header/client/HeaderCellResizer.d.ts +11 -0
  158. package/header/client/HeaderRowDraggable.d.ts +11 -0
  159. package/index.d.mts +84 -5356
  160. package/index.d.ts +84 -5356
  161. package/interfaces/ColumnType.d.ts +13 -0
  162. package/interfaces/CompositeHighlightDescriptor.d.ts +29 -0
  163. package/interfaces/GridAIAssistantCommand.d.ts +110 -0
  164. package/interfaces/GridAICommands.d.ts +60 -0
  165. package/interfaces/GridCellProps.d.ts +112 -0
  166. package/interfaces/GridCellRenderModel.d.ts +15 -0
  167. package/interfaces/GridCellsSettings.d.ts +366 -0
  168. package/interfaces/GridColSpanProps.d.ts +21 -0
  169. package/interfaces/GridColumnChildrenProps.d.ts +18 -0
  170. package/interfaces/GridColumnMenuBaseProps.d.ts +21 -0
  171. package/interfaces/GridColumnMenuColumnProps.d.ts +32 -0
  172. package/interfaces/GridColumnMenuColumnsChooserBaseProps.d.ts +22 -0
  173. package/interfaces/GridColumnMenuFilterBaseProps.d.ts +31 -0
  174. package/interfaces/GridColumnMenuFilterUIProps.d.ts +38 -0
  175. package/interfaces/GridColumnMenuGroupBaseProps.d.ts +26 -0
  176. package/interfaces/GridColumnMenuProps.d.ts +24 -0
  177. package/interfaces/GridColumnMenuSortBaseProps.d.ts +27 -0
  178. package/interfaces/GridColumnProps.d.ts +230 -0
  179. package/interfaces/GridColumnState.d.ts +52 -0
  180. package/interfaces/GridDataType.d.ts +12 -0
  181. package/interfaces/GridDetailExpandableSettings.d.ts +11 -0
  182. package/interfaces/GridDetailRowProps.d.ts +20 -0
  183. package/interfaces/GridEditDialogProps.d.ts +30 -0
  184. package/interfaces/GridEditableSettings.d.ts +16 -0
  185. package/interfaces/GridFilterCellProps.d.ts +67 -0
  186. package/interfaces/GridFilterOperator.d.ts +13 -0
  187. package/interfaces/GridFilterOperators.d.ts +56 -0
  188. package/interfaces/GridFooterCellProps.d.ts +29 -0
  189. package/interfaces/GridGroupExpandableSettings.d.ts +22 -0
  190. package/interfaces/GridGroupableSettings.d.ts +25 -0
  191. package/interfaces/GridHeaderCellProps.d.ts +23 -0
  192. package/interfaces/GridHighlightDescriptor.d.ts +16 -0
  193. package/interfaces/GridNoRecordsProps.d.ts +16 -0
  194. package/interfaces/GridProps.d.ts +1083 -0
  195. package/interfaces/GridReorderDropDir.d.ts +11 -0
  196. package/interfaces/GridRowProps.d.ts +75 -0
  197. package/interfaces/GridRowReorderSettings.d.ts +25 -0
  198. package/interfaces/GridRowSpannableSettings.d.ts +21 -0
  199. package/interfaces/GridRowType.d.ts +16 -0
  200. package/interfaces/GridRowsSettings.d.ts +57 -0
  201. package/interfaces/GridSelectableSettings.d.ts +25 -0
  202. package/interfaces/GridSortSettings.d.ts +26 -0
  203. package/interfaces/GridStackedLayoutSettings.d.ts +60 -0
  204. package/interfaces/GridToolbarProps.d.ts +17 -0
  205. package/interfaces/VirtualScrollInterface.d.ts +29 -0
  206. package/interfaces/events.d.ts +357 -0
  207. package/interfaces/index.d.ts +15 -0
  208. package/messages/index.d.ts +365 -0
  209. package/messages/messagesMap.d.ts +14 -0
  210. package/package-metadata.d.ts +12 -0
  211. package/package-metadata.js +1 -1
  212. package/package-metadata.mjs +10 -16
  213. package/package.json +17 -17
  214. package/paging/GridPagerSettings.d.ts +89 -0
  215. package/paging/Page.d.ts +20 -0
  216. package/rows/GridDetailRow.d.ts +41 -0
  217. package/rows/GridDetailRowRenderer.d.ts +48 -0
  218. package/rows/GridRow.d.ts +13 -0
  219. package/rows/GridRowRenderer.d.ts +47 -0
  220. package/sortCommon.d.ts +20 -0
  221. package/stacked/GridStackedCell.d.ts +67 -0
  222. package/stacked/GridStackedDetailToggle.d.ts +20 -0
  223. package/stacked/GridStackedDetailToggle.mjs +2 -2
  224. package/stacked/GridStackedRow.d.ts +214 -0
  225. package/stacked/StackedModeComponents.d.ts +45 -0
  226. package/stacked/StackedModeRow.d.ts +46 -0
  227. package/toolbar-tools/GridToolbarAIAssistant.d.ts +246 -0
  228. package/toolbar-tools/GridToolbarCheckboxFilter.d.ts +89 -0
  229. package/toolbar-tools/GridToolbarCheckboxFilter.js +1 -1
  230. package/toolbar-tools/GridToolbarCheckboxFilter.mjs +0 -1
  231. package/toolbar-tools/GridToolbarColumnsChooser.d.ts +55 -0
  232. package/toolbar-tools/GridToolbarFilter.d.ts +72 -0
  233. package/toolbar-tools/GridToolbarFilter.mjs +5 -5
  234. package/toolbar-tools/GridToolbarGroup.d.ts +55 -0
  235. package/toolbar-tools/GridToolbarSeparator.d.ts +21 -0
  236. package/toolbar-tools/GridToolbarSort.d.ts +55 -0
  237. package/toolbar-tools/GridToolbarSpacer.d.ts +21 -0
  238. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.d.ts +35 -0
  239. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.mjs +3 -3
  240. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.d.ts +33 -0
  241. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.mjs +3 -3
  242. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarFilter.d.ts +34 -0
  243. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarFilter.mjs +3 -3
  244. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarGroup.d.ts +26 -0
  245. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarSort.d.ts +27 -0
  246. package/toolbar-tools/adaptiveContext/GridToolbarAdaptiveContext.d.ts +23 -0
  247. package/toolbar-tools/ai-tool/GridAIPrompt.d.ts +160 -0
  248. package/utils/GridContext.d.ts +12 -0
  249. package/utils/_clientModule.d.ts +11 -0
  250. package/utils/_serverModule.d.ts +12 -0
  251. package/utils/handleAIResponse.d.ts +221 -0
  252. package/utils/index.d.ts +185 -0
  253. package/utils/index.js +1 -1
  254. package/utils/index.mjs +2 -2
  255. package/utils/premium.d.ts +31 -0
  256. package/utils/virtualColumns.d.ts +18 -0
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import * as React from 'react';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const GridNoRecordsContainer: {
13
+ (props: any): React.JSX.Element;
14
+ displayName: string;
15
+ };
@@ -7,7 +7,7 @@
7
7
  */
8
8
  "use client";
9
9
  import * as t from "react";
10
- import { KEYBOARD_NAV_DATA_ID as i, tableKeyboardNavigationTools as a } from "@progress/kendo-react-data-tools";
10
+ import { tableKeyboardNavigationTools as a, KEYBOARD_NAV_DATA_ID as i } from "@progress/kendo-react-data-tools";
11
11
  import { classNames as n, uGrid as c } from "@progress/kendo-react-common";
12
12
  import { GridContext as l } from "../../utils/GridContext.mjs";
13
13
  const m = (s) => {
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import * as React from 'react';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const GridTable: (props: any) => React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import * as React from 'react';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const GridTableBody: (props: any) => React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import * as React from 'react';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const GridTableScrollable: (props: any) => React.JSX.Element;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { GridReorderDropPosition } from '../interfaces/GridReorderDropDir.js';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const dropDirection: {
13
+ [key: string]: GridReorderDropPosition;
14
+ };
15
+ /**
16
+ * @hidden
17
+ */
18
+ export declare function getOffset(element: any): {
19
+ top: number;
20
+ left: number;
21
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /** The attribute required by the Grid selection on Grid `tr` elements. */
9
+ export declare const GRID_ROW_INDEX_ATTRIBUTE = "data-grid-row-index";
10
+ /** The attribute required by the Grid selection on Grid `td` elements. */
11
+ export declare const GRID_COL_INDEX_ATTRIBUTE = "data-grid-col-index";
12
+ /** Attribute which disable selection start from this element. */
13
+ export declare const GRID_PREVENT_SELECTION_ELEMENT = "data-prevent-selection";
14
+ /** @hidden */
15
+ export declare const SAFARI_REGEX: RegExp;
@@ -5,8 +5,8 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { TABLE_ROW_INDEX_ATTRIBUTE as E, TABLE_COL_INDEX_ATTRIBUTE as T, TABLE_PREVENT_SELECTION_ELEMENT as _ } from "@progress/kendo-react-data-tools";
9
- const R = E, N = T, L = _;
8
+ import { TABLE_COL_INDEX_ATTRIBUTE as E, TABLE_ROW_INDEX_ATTRIBUTE as T, TABLE_PREVENT_SELECTION_ELEMENT as _ } from "@progress/kendo-react-data-tools";
9
+ const R = T, N = E, L = _;
10
10
  export {
11
11
  N as GRID_COL_INDEX_ATTRIBUTE,
12
12
  L as GRID_PREVENT_SELECTION_ELEMENT,
@@ -0,0 +1,205 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Offset } from '@progress/kendo-react-popup';
9
+ import { MenuCloseEvent, MenuItemModel, MenuSelectEvent } from '@progress/kendo-react-layout';
10
+ import { GridContextMenuItemNames } from './enums.js';
11
+ import * as React from 'react';
12
+ /**
13
+ * Represents the `GridContextMenuOptions`.
14
+ */
15
+ export interface GridContextMenuOptions {
16
+ /**
17
+ * The contextmenu settings for the head of the data table.
18
+ */
19
+ head?: boolean | (GridContextMenuItemNames | MenuItemModel)[];
20
+ /**
21
+ * The contextmenu settings for the body of the data table.
22
+ */
23
+ body?: boolean | (GridContextMenuItemNames | MenuItemModel)[];
24
+ }
25
+ /**
26
+ * Represents the `GridCellBaseOptions` object that are passed to the handler.
27
+ */
28
+ export interface GridCellBaseOptions {
29
+ /**
30
+ * The data item associated with the cell.
31
+ */
32
+ dataItem?: any;
33
+ /**
34
+ * The field name of the column associated with the cell.
35
+ */
36
+ field?: string;
37
+ }
38
+ /**
39
+ * @hidden
40
+ */
41
+ export interface GridContextMenuOpenArgs extends GridCellBaseOptions {
42
+ event: React.MouseEvent<HTMLElement, MouseEvent>;
43
+ }
44
+ /**
45
+ * @hidden
46
+ */
47
+ export interface GridContextMenuProps {
48
+ show: boolean;
49
+ offset: Offset;
50
+ onClose: (event: MenuCloseEvent) => void;
51
+ onSelect: (e: {
52
+ event: MenuSelectEvent;
53
+ dataItem?: any;
54
+ field?: string;
55
+ }) => void;
56
+ dataItem?: any;
57
+ field?: string;
58
+ items?: (GridContextMenuItemNames | MenuItemModel)[];
59
+ }
60
+ /**
61
+ * @hidden
62
+ */
63
+ export declare const contextMenuItemsMap: {
64
+ create: {
65
+ name: string;
66
+ text: string;
67
+ icon: string;
68
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
69
+ data: {
70
+ action: string;
71
+ };
72
+ };
73
+ edit: {
74
+ name: string;
75
+ text: string;
76
+ icon: string;
77
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
78
+ data: {
79
+ action: string;
80
+ };
81
+ };
82
+ delete: {
83
+ name: string;
84
+ text: string;
85
+ icon: string;
86
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
87
+ data: {
88
+ action: string;
89
+ };
90
+ };
91
+ select: {
92
+ name: string;
93
+ text: string;
94
+ icon: string;
95
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
96
+ items: {
97
+ name: string;
98
+ text: string;
99
+ icon: string;
100
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
101
+ data: {
102
+ action: string;
103
+ };
104
+ }[];
105
+ };
106
+ copySelection: {
107
+ name: string;
108
+ text: string;
109
+ icon: string;
110
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
111
+ data: {
112
+ action: string;
113
+ };
114
+ options: string;
115
+ };
116
+ copySelectionNoHeaders: {
117
+ name: string;
118
+ text: string;
119
+ icon: string;
120
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
121
+ data: {
122
+ action: string;
123
+ };
124
+ };
125
+ paste: {
126
+ name: string;
127
+ text: string;
128
+ icon: string;
129
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
130
+ data: {
131
+ action: string;
132
+ };
133
+ };
134
+ reorderRow: {
135
+ name: string;
136
+ text: string;
137
+ icon: string;
138
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
139
+ items: {
140
+ name: string;
141
+ text: string;
142
+ icon: string;
143
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
144
+ data: {
145
+ action: string;
146
+ };
147
+ }[];
148
+ };
149
+ exportPDF: {
150
+ name: string;
151
+ text: string;
152
+ icon: string;
153
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
154
+ data: {
155
+ action: string;
156
+ };
157
+ };
158
+ exportExcel: {
159
+ name: string;
160
+ text: string;
161
+ icon: string;
162
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
163
+ items: ({
164
+ name: string;
165
+ text: string;
166
+ data: {
167
+ action: string;
168
+ };
169
+ options?: undefined;
170
+ } | {
171
+ name: string;
172
+ text: string;
173
+ data: {
174
+ action: string;
175
+ };
176
+ options: string;
177
+ })[];
178
+ };
179
+ separator: {
180
+ name: string;
181
+ separator: boolean;
182
+ };
183
+ sortAsc: {
184
+ name: string;
185
+ text: string;
186
+ icon: string;
187
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
188
+ data: {
189
+ action: string;
190
+ };
191
+ };
192
+ sortDesc: {
193
+ name: string;
194
+ text: string;
195
+ icon: string;
196
+ svgIcon: import('@progress/kendo-svg-icons').SVGIcon;
197
+ data: {
198
+ action: string;
199
+ };
200
+ };
201
+ };
202
+ /**
203
+ * @hidden
204
+ */
205
+ export declare const GridContextMenu: (props: GridContextMenuProps) => React.JSX.Element;
@@ -7,7 +7,7 @@
7
7
  */
8
8
  "use client";
9
9
  import * as a from "react";
10
- import { plusIcon as w, pencilIcon as S, trashIcon as u, tableBodyIcon as R, tableRowGroupsIcon as f, gridIcon as v, tableUnmergeIcon as E, pageHeaderSectionIcon as A, fileTxtIcon as y, clipboardIcon as D, caretAltExpandIcon as b, caretAltUpIcon as T, caretAltDownIcon as H, caretAltToTopIcon as h, caretAltToBottomIcon as M, filePdfIcon as P, fileExcelIcon as N, sortAscSmallIcon as B, sortDescSmallIcon as F } from "@progress/kendo-svg-icons";
10
+ import { sortDescSmallIcon as w, sortAscSmallIcon as S, fileExcelIcon as u, filePdfIcon as R, caretAltUpIcon as f, caretAltDownIcon as v, caretAltToTopIcon as E, caretAltToBottomIcon as A, caretAltExpandIcon as y, clipboardIcon as D, fileTxtIcon as b, pageHeaderSectionIcon as T, tableRowGroupsIcon as H, gridIcon as h, tableUnmergeIcon as M, tableBodyIcon as P, trashIcon as N, pencilIcon as B, plusIcon as F } from "@progress/kendo-svg-icons";
11
11
  import { useLocalization as U } from "@progress/kendo-react-intl";
12
12
  import { ContextMenu as z } from "@progress/kendo-react-layout";
13
13
  import { GridContextMenuItemNames as e } from "./enums.mjs";
@@ -16,48 +16,48 @@ const G = {
16
16
  name: "create",
17
17
  text: "Add",
18
18
  icon: "plus",
19
- svgIcon: w,
19
+ svgIcon: F,
20
20
  data: { action: "AddCommand" }
21
21
  },
22
22
  [e.edit]: {
23
23
  name: "edit",
24
24
  text: "Edit",
25
25
  icon: "pencil",
26
- svgIcon: S,
26
+ svgIcon: B,
27
27
  data: { action: "EditCommand" }
28
28
  },
29
29
  [e.delete]: {
30
30
  name: "delete",
31
31
  text: "Delete",
32
32
  icon: "trash",
33
- svgIcon: u,
33
+ svgIcon: N,
34
34
  data: { action: "DeleteCommand" }
35
35
  },
36
36
  [e.select]: {
37
37
  name: "select",
38
38
  text: "Select",
39
39
  icon: "table-body",
40
- svgIcon: R,
40
+ svgIcon: P,
41
41
  items: [
42
42
  {
43
43
  name: "selectRow",
44
44
  text: "Row",
45
45
  icon: "table-row-groups",
46
- svgIcon: f,
46
+ svgIcon: H,
47
47
  data: { action: "SelectRowCommand" }
48
48
  },
49
49
  {
50
50
  name: "selectAllRows",
51
51
  text: "All rows",
52
52
  icon: "grid",
53
- svgIcon: v,
53
+ svgIcon: h,
54
54
  data: { action: "SelectAllRowsCommand" }
55
55
  },
56
56
  {
57
57
  name: "clearSelection",
58
58
  text: "Clear selection",
59
59
  icon: "table-unmerge",
60
- svgIcon: E,
60
+ svgIcon: M,
61
61
  data: { action: "ClearSelectionCommand" }
62
62
  }
63
63
  ]
@@ -66,7 +66,7 @@ const G = {
66
66
  name: "copySelection",
67
67
  text: "Copy selection",
68
68
  icon: "page-header-section",
69
- svgIcon: A,
69
+ svgIcon: T,
70
70
  data: { action: "CopySelectionCommand" },
71
71
  options: "withHeaders"
72
72
  },
@@ -74,7 +74,7 @@ const G = {
74
74
  name: "copySelectionNoHeaders",
75
75
  text: "Copy selection (No Headers)",
76
76
  icon: "file-txt",
77
- svgIcon: y,
77
+ svgIcon: b,
78
78
  data: { action: "CopySelectionCommand" }
79
79
  },
80
80
  [e.paste]: {
@@ -88,34 +88,34 @@ const G = {
88
88
  name: "reorderRow",
89
89
  text: "Reorder row",
90
90
  icon: "caret-alt-expand",
91
- svgIcon: b,
91
+ svgIcon: y,
92
92
  items: [
93
93
  {
94
94
  name: "reorderRowUp",
95
95
  text: "Up",
96
96
  icon: "caret-alt-up",
97
- svgIcon: T,
97
+ svgIcon: f,
98
98
  data: { action: "ReorderRowCommand" }
99
99
  },
100
100
  {
101
101
  name: "reorderRowDown",
102
102
  text: "Down",
103
103
  icon: "caret-alt-down",
104
- svgIcon: H,
104
+ svgIcon: v,
105
105
  data: { action: "ReorderRowCommand" }
106
106
  },
107
107
  {
108
108
  name: "reorderRowTop",
109
109
  text: "Top",
110
110
  icon: "caret-alt-to-top",
111
- svgIcon: h,
111
+ svgIcon: E,
112
112
  data: { action: "ReorderRowCommand" }
113
113
  },
114
114
  {
115
115
  name: "reorderRowBottom",
116
116
  text: "Bottom",
117
117
  icon: "caret-alt-to-bottom",
118
- svgIcon: M,
118
+ svgIcon: A,
119
119
  data: { action: "ReorderRowCommand" }
120
120
  }
121
121
  ]
@@ -124,14 +124,14 @@ const G = {
124
124
  name: "exportPDF",
125
125
  text: "Export to PDF",
126
126
  icon: "file-pdf",
127
- svgIcon: P,
127
+ svgIcon: R,
128
128
  data: { action: "ExportPDFCommand" }
129
129
  },
130
130
  [e.exportExcel]: {
131
131
  name: "exportExcel",
132
132
  text: "Export to Excel",
133
133
  icon: "file-excel",
134
- svgIcon: N,
134
+ svgIcon: u,
135
135
  items: [
136
136
  { name: "exportToExcelAll", text: "All", data: { action: "ExportExcelCommand" } },
137
137
  {
@@ -153,14 +153,14 @@ const G = {
153
153
  name: "sortAsc",
154
154
  text: "Sort Ascending",
155
155
  icon: "sort-asc-small",
156
- svgIcon: B,
156
+ svgIcon: S,
157
157
  data: { action: "SortCommand" }
158
158
  },
159
159
  [e.sortDesc]: {
160
160
  name: "sortDesc",
161
161
  text: "Sort Descending",
162
162
  icon: "sort-desc-small",
163
- svgIcon: F,
163
+ svgIcon: w,
164
164
  data: { action: "SortCommand" }
165
165
  }
166
166
  }, j = (m) => {
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * Represents the available types for the `GridContextMenuAnchorPart`.
10
+ *
11
+ * The available anchor parts are:
12
+ * - `head`
13
+ * - `body`
14
+ */
15
+ export declare enum GridContextMenuAnchorPart {
16
+ head = "head",
17
+ body = "body"
18
+ }
19
+ /**
20
+ * Represents the available predefined items names for the `GridContextMenu` items.
21
+ */
22
+ export declare enum GridContextMenuItemNames {
23
+ create = "create",
24
+ edit = "edit",
25
+ delete = "delete",
26
+ select = "select",
27
+ copySelection = "copySelection",
28
+ copySelectionNoHeaders = "copySelectionNoHeaders",
29
+ paste = "paste",
30
+ reorderRow = "reorderRow",
31
+ exportPDF = "exportPDF",
32
+ exportExcel = "exportExcel",
33
+ separator = "separator",
34
+ sortAsc = "sortAsc",
35
+ sortDesc = "sortDesc"
36
+ }