@progress/kendo-react-grid 11.0.0-develop.2 → 11.0.0-develop.21

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 (272) hide show
  1. package/BasePDFExport.js +8 -0
  2. package/BasePDFExport.mjs +52 -0
  3. package/Grid.js +1 -1
  4. package/Grid.mjs +13 -18
  5. package/GridClientContextReader.js +1 -1
  6. package/GridClientContextReader.mjs +16 -13
  7. package/GridClientWrapper.js +1 -1
  8. package/GridClientWrapper.mjs +459 -449
  9. package/GridComponent.js +1 -1
  10. package/GridComponent.mjs +397 -414
  11. package/GridPdfExportButton.js +8 -0
  12. package/GridPdfExportButton.mjs +35 -0
  13. package/GridSearchBox.js +1 -1
  14. package/GridSearchBox.mjs +1 -1
  15. package/GridToolbar.js +1 -1
  16. package/GridToolbar.mjs +15 -20
  17. package/StatusBar.js +1 -1
  18. package/StatusBar.mjs +23 -23
  19. package/VirtualScroll.js +1 -1
  20. package/VirtualScroll.mjs +65 -107
  21. package/cells/GridDetailHierarchyCell.js +1 -1
  22. package/cells/GridDetailHierarchyCell.mjs +4 -4
  23. package/cells/GridFilterCell.js +1 -1
  24. package/cells/GridFilterCell.mjs +46 -46
  25. package/cells/datacell/GridCell.js +9 -0
  26. package/cells/datacell/GridCell.mjs +23 -0
  27. package/cells/datacell/GridCellServer.js +8 -0
  28. package/cells/datacell/GridCellServer.mjs +27 -0
  29. package/cells/datacell/GridCellServerContainer.js +9 -0
  30. package/cells/datacell/GridCellServerContainer.mjs +26 -0
  31. package/cells/datacell/useCellClientTdProps.js +9 -0
  32. package/cells/datacell/useCellClientTdProps.mjs +30 -0
  33. package/cells/datacell/utils.js +8 -0
  34. package/cells/datacell/utils.mjs +47 -0
  35. package/cells/detailcell/GridDetailCell.js +9 -0
  36. package/cells/detailcell/GridDetailCell.mjs +18 -0
  37. package/cells/detailcell/GridDetailCellServer.js +8 -0
  38. package/cells/detailcell/GridDetailCellServer.mjs +17 -0
  39. package/{codemods/index.js → cells/detailcell/GridDetailCellServerContainer.js} +2 -1
  40. package/cells/detailcell/GridDetailCellServerContainer.mjs +19 -0
  41. package/cells/detailcell/useDetailCellClientTdProps.js +9 -0
  42. package/cells/detailcell/useDetailCellClientTdProps.mjs +20 -0
  43. package/cells/detailcell/utils.js +8 -0
  44. package/cells/detailcell/utils.mjs +20 -0
  45. package/cells/editcell/GridEditCell.js +9 -0
  46. package/cells/editcell/GridEditCell.mjs +20 -0
  47. package/cells/{client → editcell}/GridEditCellEditor.js +1 -1
  48. package/cells/{client → editcell}/GridEditCellEditor.mjs +1 -1
  49. package/cells/editcell/GridEditCellServer.js +8 -0
  50. package/cells/editcell/GridEditCellServer.mjs +32 -0
  51. package/cells/editcell/GridEditCellServerContainer.js +9 -0
  52. package/cells/editcell/GridEditCellServerContainer.mjs +26 -0
  53. package/cells/editcell/useEditCellClientTdProps.js +9 -0
  54. package/cells/editcell/useEditCellClientTdProps.mjs +21 -0
  55. package/cells/editcell/utils.js +8 -0
  56. package/cells/editcell/utils.mjs +29 -0
  57. package/cells/groupcell/GridGroupCell.js +9 -0
  58. package/cells/groupcell/GridGroupCell.mjs +22 -0
  59. package/cells/groupcell/GridGroupCellServer.js +8 -0
  60. package/cells/groupcell/GridGroupCellServer.mjs +44 -0
  61. package/cells/groupcell/GridGroupCellServerContainer.js +9 -0
  62. package/cells/groupcell/GridGroupCellServerContainer.mjs +38 -0
  63. package/cells/{client → groupcell}/GridGroupCellToggle.js +1 -1
  64. package/cells/{client → groupcell}/GridGroupCellToggle.mjs +1 -1
  65. package/cells/groupcell/useGroupCellClientTdProps.js +9 -0
  66. package/cells/groupcell/useGroupCellClientTdProps.mjs +44 -0
  67. package/cells/groupcell/utils.js +8 -0
  68. package/cells/groupcell/utils.mjs +48 -0
  69. package/cells/hierarchycell/GridHierarchyCell.js +9 -0
  70. package/cells/hierarchycell/GridHierarchyCell.mjs +19 -0
  71. package/cells/hierarchycell/GridHierarchyCellServer.js +8 -0
  72. package/cells/hierarchycell/GridHierarchyCellServer.mjs +32 -0
  73. package/cells/hierarchycell/GridHierarchyCellServerContainer.js +9 -0
  74. package/cells/hierarchycell/GridHierarchyCellServerContainer.mjs +26 -0
  75. package/cells/{client → hierarchycell}/GridHierarchyCellToggle.js +1 -1
  76. package/cells/{client → hierarchycell}/GridHierarchyCellToggle.mjs +1 -1
  77. package/cells/hierarchycell/useHierarchyCellClientTdProps.js +9 -0
  78. package/cells/hierarchycell/useHierarchyCellClientTdProps.mjs +32 -0
  79. package/cells/hierarchycell/utils.js +8 -0
  80. package/cells/hierarchycell/utils.mjs +30 -0
  81. package/cells/hooks.js +9 -0
  82. package/cells/hooks.mjs +41 -0
  83. package/cells/rowreordercell/GridRowReorderCell.js +9 -0
  84. package/cells/rowreordercell/GridRowReorderCell.mjs +19 -0
  85. package/cells/rowreordercell/GridRowReorderCellServer.js +8 -0
  86. package/cells/rowreordercell/GridRowReorderCellServer.mjs +18 -0
  87. package/cells/rowreordercell/GridRowReorderCellServerContainer.js +9 -0
  88. package/cells/rowreordercell/GridRowReorderCellServerContainer.mjs +19 -0
  89. package/cells/rowreordercell/useRowReorderCellClientTdProps.js +9 -0
  90. package/cells/rowreordercell/useRowReorderCellClientTdProps.mjs +26 -0
  91. package/cells/rowreordercell/utils.js +8 -0
  92. package/cells/rowreordercell/utils.mjs +30 -0
  93. package/cells/selectioncell/GridSelectionCell.js +9 -0
  94. package/cells/selectioncell/GridSelectionCell.mjs +20 -0
  95. package/cells/{client → selectioncell}/GridSelectionCellInput.js +1 -1
  96. package/cells/{client → selectioncell}/GridSelectionCellInput.mjs +1 -1
  97. package/cells/selectioncell/GridSelectionCellServer.js +8 -0
  98. package/cells/selectioncell/GridSelectionCellServer.mjs +33 -0
  99. package/cells/selectioncell/GridSelectionCellServerContainer.js +9 -0
  100. package/cells/selectioncell/GridSelectionCellServerContainer.mjs +26 -0
  101. package/cells/selectioncell/useSelectionCellClientTdProps.js +9 -0
  102. package/cells/selectioncell/useSelectionCellClientTdProps.mjs +21 -0
  103. package/cells/selectioncell/utils.js +8 -0
  104. package/cells/selectioncell/utils.mjs +25 -0
  105. package/codemods/v11/cell-render.js +9 -0
  106. package/codemods/v11/column-cell.js +9 -0
  107. package/codemods/v11/column-filter-cell.js +9 -0
  108. package/codemods/v11/column-footer-cell.js +9 -0
  109. package/codemods/v11/column-header-cell.js +9 -0
  110. package/codemods/v11/detail-expand-state.js +9 -0
  111. package/codemods/v11/edit-state.js +9 -0
  112. package/codemods/v11/filter-cell-render.js +9 -0
  113. package/codemods/v11/group-expand-state.js +9 -0
  114. package/codemods/v11/header-cell-render.js +9 -0
  115. package/codemods/v11/index.js +9 -0
  116. package/codemods/v11/row-render.js +9 -0
  117. package/codemods/v11/selection-state.js +9 -0
  118. package/codemods/v11/utils.js +9 -0
  119. package/columnMenu/GridColumnMenuCheckboxFilter.js +1 -1
  120. package/columnMenu/GridColumnMenuCheckboxFilter.mjs +84 -84
  121. package/columnMenu/GridColumnMenuColumnsChooser.js +1 -1
  122. package/columnMenu/GridColumnMenuColumnsChooser.mjs +71 -72
  123. package/columnMenu/GridColumnMenuFilter.js +1 -1
  124. package/columnMenu/GridColumnMenuFilter.mjs +83 -84
  125. package/columnMenu/GridColumnMenuFilterCell.js +1 -1
  126. package/columnMenu/GridColumnMenuFilterCell.mjs +35 -28
  127. package/columnMenu/GridColumnMenuFilterUI.js +1 -1
  128. package/columnMenu/GridColumnMenuFilterUI.mjs +1 -1
  129. package/columnMenu/GridColumnMenuItem.js +1 -1
  130. package/columnMenu/GridColumnMenuItem.mjs +9 -9
  131. package/columnMenu/GridColumnMenuWrapper.js +1 -1
  132. package/columnMenu/GridColumnMenuWrapper.mjs +62 -49
  133. package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.js +1 -1
  134. package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.mjs +40 -34
  135. package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.js +1 -1
  136. package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.mjs +51 -45
  137. package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.js +1 -1
  138. package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.mjs +2 -2
  139. package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.js +1 -1
  140. package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.mjs +40 -33
  141. package/components/GridContainerElementContainer.js +1 -1
  142. package/components/GridContainerElementContainer.mjs +1 -1
  143. package/components/GridDragClue.js +1 -1
  144. package/components/GridDragClue.mjs +1 -1
  145. package/components/GridDraggableRowsContainer.js +1 -1
  146. package/components/GridDraggableRowsContainer.mjs +71 -67
  147. package/components/GridDropClue.js +1 -1
  148. package/components/GridDropClue.mjs +1 -1
  149. package/components/GridEditDialog.js +1 -1
  150. package/components/GridEditDialog.mjs +1 -1
  151. package/components/GridElementContainer.js +1 -1
  152. package/components/GridElementContainer.mjs +1 -1
  153. package/components/PagerContainer.js +1 -1
  154. package/components/PagerContainer.mjs +1 -1
  155. package/components/VirtualScrollHeightContainer.js +1 -1
  156. package/components/VirtualScrollHeightContainer.mjs +4 -4
  157. package/components/colGroup/GridColGroup.js +1 -1
  158. package/components/colGroup/GridColGroup.mjs +1 -1
  159. package/components/noRecords/GridNoRecordsContainer.js +1 -1
  160. package/components/noRecords/GridNoRecordsContainer.mjs +1 -1
  161. package/components/table/GridTable.js +1 -1
  162. package/components/table/GridTable.mjs +1 -1
  163. package/components/table/GridTableBody.js +1 -1
  164. package/components/table/GridTableBody.mjs +1 -1
  165. package/components/table/GridTableScrollable.js +1 -1
  166. package/components/table/GridTableScrollable.mjs +16 -15
  167. package/components/utils.js +1 -1
  168. package/components/utils.mjs +9 -10
  169. package/dist/cdn/js/kendo-react-grid.js +1 -1
  170. package/footer/Footer.js +1 -1
  171. package/footer/Footer.mjs +1 -1
  172. package/footer/FooterCell.js +1 -1
  173. package/footer/FooterCell.mjs +14 -14
  174. package/footer/client/FooterCellContainer.js +1 -1
  175. package/footer/client/FooterCellContainer.mjs +1 -1
  176. package/header/FilterRow.js +1 -1
  177. package/header/FilterRow.mjs +42 -46
  178. package/header/GridHeaderCell.js +1 -1
  179. package/header/GridHeaderCell.mjs +11 -11
  180. package/header/GridHeaderSelectionCell.js +1 -1
  181. package/header/GridHeaderSelectionCell.mjs +14 -14
  182. package/header/GroupPanel.js +1 -1
  183. package/header/GroupPanel.mjs +1 -1
  184. package/header/Header.js +1 -1
  185. package/header/Header.mjs +1 -1
  186. package/header/HeaderRow.js +1 -1
  187. package/header/HeaderRow.mjs +19 -20
  188. package/header/client/GridFilterCellContainer.js +1 -1
  189. package/header/client/GridFilterCellContainer.mjs +11 -12
  190. package/header/client/GridFilterCellElementContainer.js +1 -1
  191. package/header/client/GridFilterCellElementContainer.mjs +1 -1
  192. package/header/client/GridHeaderCellContainer.js +1 -1
  193. package/header/client/GridHeaderCellContainer.mjs +7 -8
  194. package/header/client/GridHeaderCellElementContainer.js +1 -1
  195. package/header/client/GridHeaderCellElementContainer.mjs +1 -1
  196. package/header/client/GridHeaderRowContainer.js +1 -1
  197. package/header/client/GridHeaderRowContainer.mjs +1 -1
  198. package/header/client/HeaderCellResizer.js +1 -1
  199. package/header/client/HeaderCellResizer.mjs +1 -1
  200. package/header/client/HeaderRowDraggable.js +1 -1
  201. package/header/client/HeaderRowDraggable.mjs +1 -1
  202. package/index.d.mts +334 -193
  203. package/index.d.ts +334 -193
  204. package/index.js +1 -1
  205. package/index.mjs +82 -72
  206. package/messages/index.js +1 -1
  207. package/messages/index.mjs +94 -76
  208. package/package-metadata.js +1 -1
  209. package/package-metadata.mjs +2 -2
  210. package/package.json +77 -21
  211. package/paging/GridPagerSettings.js +1 -1
  212. package/paging/GridPagerSettings.mjs +17 -13
  213. package/rows/GridRow.js +1 -1
  214. package/rows/GridRow.mjs +32 -33
  215. package/toolbar-tools/GridToolbarCheckboxFilter.js +8 -0
  216. package/toolbar-tools/GridToolbarCheckboxFilter.mjs +312 -0
  217. package/toolbar-tools/GridToolbarColumnsChooser.js +8 -0
  218. package/toolbar-tools/GridToolbarColumnsChooser.mjs +178 -0
  219. package/toolbar-tools/GridToolbarFilter.js +8 -0
  220. package/toolbar-tools/GridToolbarFilter.mjs +281 -0
  221. package/toolbar-tools/GridToolbarSort.js +8 -0
  222. package/toolbar-tools/GridToolbarSort.mjs +146 -0
  223. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.js +9 -0
  224. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.mjs +114 -0
  225. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.js +9 -0
  226. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.mjs +89 -0
  227. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarFilter.js +9 -0
  228. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarFilter.mjs +98 -0
  229. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarSort.js +9 -0
  230. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarSort.mjs +68 -0
  231. package/toolbar-tools/adaptiveContext/GridToolbarAdaptiveContext.js +9 -0
  232. package/toolbar-tools/adaptiveContext/GridToolbarAdaptiveContext.mjs +17 -0
  233. package/utils/GridContext.js +9 -0
  234. package/utils/GridContext.mjs +13 -0
  235. package/utils/index.js +1 -1
  236. package/utils/index.mjs +162 -157
  237. package/utils/premium.js +1 -1
  238. package/utils/premium.mjs +18 -22
  239. package/utils/virtualColumns.js +1 -1
  240. package/utils/virtualColumns.mjs +13 -7
  241. package/VirtualScrollFixed.js +0 -8
  242. package/VirtualScrollFixed.mjs +0 -52
  243. package/cells/GridCell.js +0 -8
  244. package/cells/GridCell.mjs +0 -52
  245. package/cells/GridDetailCell.js +0 -8
  246. package/cells/GridDetailCell.mjs +0 -26
  247. package/cells/GridEditCell.js +0 -8
  248. package/cells/GridEditCell.mjs +0 -35
  249. package/cells/GridGroupCell.js +0 -8
  250. package/cells/GridGroupCell.mjs +0 -74
  251. package/cells/GridHierarchyCell.js +0 -8
  252. package/cells/GridHierarchyCell.mjs +0 -33
  253. package/cells/GridRowReorderCell.js +0 -8
  254. package/cells/GridRowReorderCell.mjs +0 -42
  255. package/cells/GridSelectionCell.js +0 -8
  256. package/cells/GridSelectionCell.mjs +0 -30
  257. package/cells/client/DetailCellContainer.js +0 -9
  258. package/cells/client/DetailCellContainer.mjs +0 -27
  259. package/cells/client/GridCellContainer.js +0 -9
  260. package/cells/client/GridCellContainer.mjs +0 -69
  261. package/cells/client/GridEditCellContainer.js +0 -9
  262. package/cells/client/GridEditCellContainer.mjs +0 -61
  263. package/cells/client/GridGroupCellContainer.js +0 -9
  264. package/cells/client/GridGroupCellContainer.mjs +0 -88
  265. package/cells/client/GridHierarchyCellContainer.js +0 -9
  266. package/cells/client/GridHierarchyCellContainer.mjs +0 -64
  267. package/cells/client/GridRowReorderContainer.js +0 -9
  268. package/cells/client/GridRowReorderContainer.mjs +0 -31
  269. package/cells/client/GridSelectionCellContainer.js +0 -9
  270. package/cells/client/GridSelectionCellContainer.mjs +0 -61
  271. package/components/GridCustomCellClientContainer.js +0 -9
  272. package/components/GridCustomCellClientContainer.mjs +0 -34
package/GridComponent.mjs CHANGED
@@ -5,122 +5,123 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import * as l from "react";
9
- import { uGrid as Gt, validatePackage as kt, getter as A, classNames as f, WatermarkOverlay as je } from "@progress/kendo-react-common";
10
- import { process as Nt } from "@progress/kendo-data-query";
11
- import { combineFilters as Dt, getDetailExpandableOptions as Ft, getGroupExpandableOptions as Tt, getSelectionOptions as At, tableKeyboardNavigationTools as V, Pager as Pt, tableKeyboardNavigationBodyAttributes as Kt, tableKeyboardNavigationScopeAttributes as Ue } from "@progress/kendo-react-data-tools";
12
- import { GridSelectionCell as Ht } from "./cells/GridSelectionCell.mjs";
13
- import { GridHierarchyCell as Bt } from "./cells/GridHierarchyCell.mjs";
14
- import { GridEditCell as Lt } from "./cells/GridEditCell.mjs";
15
- import { Header as Vt } from "./header/Header.mjs";
16
- import { HeaderRow as Ot } from "./header/HeaderRow.mjs";
17
- import { FilterRow as Mt } from "./header/FilterRow.mjs";
18
- import { GroupPanel as _t } from "./header/GroupPanel.mjs";
19
- import { Footer as zt } from "./footer/Footer.mjs";
20
- import { isRowReorderEnabled as Wt, getRowSpanOptions as qe, getColumnWidth as re, isSorted as Je, flatData as $t, autoGenerateColumns as jt, mapColumns as Ut, clientColumn as qt, getFlatColumnsState as Jt, getColumnState as oe, getColSpan as Qt, getNestedValue as Qe, resolveCells as Xt, isClientReference as Yt, readColumns as Zt } from "./utils/index.mjs";
21
- import { GridCell as pt } from "./cells/GridCell.mjs";
22
- import { GridGroupCell as Xe } from "./cells/GridGroupCell.mjs";
23
- import { GridRow as el } from "./rows/GridRow.mjs";
24
- import { GridHeaderSelectionCell as tl } from "./header/GridHeaderSelectionCell.mjs";
25
- import { GridNoRecords as Ye } from "./components/noRecords/GridNoRecords.mjs";
26
- import { operators as Ze } from "./filterCommon.mjs";
27
- import { FooterRow as ll } from "./footer/FooterRow.mjs";
28
- import { normalize as al } from "./paging/GridPagerSettings.mjs";
29
- import { packageMetadata as nl } from "./package-metadata.mjs";
30
- import { GridDetailCell as rl } from "./cells/GridDetailCell.mjs";
8
+ import * as a from "react";
9
+ import { uGrid as Nt, hasValidLicense as Dt, validatePackage as Tt, getter as H, classNames as f, WatermarkOverlay as $e } from "@progress/kendo-react-common";
10
+ import { process as Ht } from "@progress/kendo-data-query";
11
+ import { combineFilters as Pt, getDetailExpandableOptions as Kt, getGroupExpandableOptions as At, getSelectionOptions as Bt, tableKeyboardNavigationTools as O, Pager as Ft, tableKeyboardNavigationBodyAttributes as Lt, tableKeyboardNavigationScopeAttributes as je } from "@progress/kendo-react-data-tools";
12
+ import { GridHierarchyCell as Mt } from "./cells/hierarchycell/GridHierarchyCell.mjs";
13
+ import { GridEditCell as Ot } from "./cells/editcell/GridEditCell.mjs";
14
+ import { Header as _t } from "./header/Header.mjs";
15
+ import { HeaderRow as zt } from "./header/HeaderRow.mjs";
16
+ import { FilterRow as Vt } from "./header/FilterRow.mjs";
17
+ import { GroupPanel as Wt } from "./header/GroupPanel.mjs";
18
+ import { Footer as $t } from "./footer/Footer.mjs";
19
+ import { isRowReorderEnabled as jt, getRowSpanOptions as Ue, getColumnWidth as ne, isSorted as qe, flatData as Ut, autoGenerateColumns as qt, mapColumns as Jt, clientColumn as Qt, getFlatColumnsState as Xt, getColumnState as oe, getColSpan as Yt, resolveCells as Zt, readColumns as pt } from "./utils/index.mjs";
20
+ import { GridCell as el } from "./cells/datacell/GridCell.mjs";
21
+ import { GridGroupCell as Je } from "./cells/groupcell/GridGroupCell.mjs";
22
+ import { GridRow as tl } from "./rows/GridRow.mjs";
23
+ import { GridHeaderSelectionCell as ll } from "./header/GridHeaderSelectionCell.mjs";
24
+ import { GridNoRecords as Qe } from "./components/noRecords/GridNoRecords.mjs";
25
+ import { operators as Xe } from "./filterCommon.mjs";
26
+ import { FooterRow as al } from "./footer/FooterRow.mjs";
27
+ import { normalize as rl } from "./paging/GridPagerSettings.mjs";
28
+ import { packageMetadata as Ye } from "./package-metadata.mjs";
29
+ import { GridDetailCell as nl } from "./cells/detailcell/GridDetailCell.mjs";
31
30
  import { GridDetailHierarchyCell as ol } from "./cells/GridDetailHierarchyCell.mjs";
32
- import { GridNoRecordsContainer as pe } from "./components/noRecords/GridNoRecordsContainer.mjs";
33
- import { GridClientWrapper as et } from "./GridClientWrapper.mjs";
31
+ import { GridNoRecordsContainer as Ze } from "./components/noRecords/GridNoRecordsContainer.mjs";
32
+ import { GridClientWrapper as pe } from "./GridClientWrapper.mjs";
34
33
  import { GridColGroup as il } from "./components/colGroup/GridColGroup.mjs";
35
34
  import { GridTable as dl } from "./components/table/GridTable.mjs";
36
- import { GridDropClue as tt } from "./components/GridDropClue.mjs";
37
- import { GridDragClue as lt } from "./components/GridDragClue.mjs";
38
- import { GridTableBody as at } from "./components/table/GridTableBody.mjs";
35
+ import { GridDropClue as et } from "./components/GridDropClue.mjs";
36
+ import { GridDragClue as tt } from "./components/GridDragClue.mjs";
37
+ import { GridTableBody as lt } from "./components/table/GridTableBody.mjs";
39
38
  import { PagerContainer as cl } from "./components/PagerContainer.mjs";
40
39
  import { GridTableScrollable as ml } from "./components/table/GridTableScrollable.mjs";
41
- import { GridElementContainer as nt } from "./components/GridElementContainer.mjs";
40
+ import { GridElementContainer as at } from "./components/GridElementContainer.mjs";
42
41
  import { GridContainerElementContainer as ul } from "./components/GridContainerElementContainer.mjs";
43
42
  import { VirtualScrollHeightContainer as sl } from "./components/VirtualScrollHeightContainer.mjs";
44
43
  import { gridAriaLabel as rt, messages as fl } from "./messages/index.mjs";
45
- import { VirtualScrollFixed as q } from "./VirtualScrollFixed.mjs";
46
- import { VirtualScroll as gl } from "./VirtualScroll.mjs";
47
- import { GridCustomCellClientContainer as bl } from "./components/GridCustomCellClientContainer.mjs";
48
- import { GridReorderableRowsContainer as hl } from "./components/GridDraggableRowsContainer.mjs";
49
- import { GridRowReorderCell as yl } from "./cells/GridRowReorderCell.mjs";
50
- import { GridHeaderRowReorderCell as wl } from "./header/client/GridHeaderRowReorderCell.mjs";
51
- import { GridLoader as ot } from "./components/GridLoader.mjs";
44
+ import { GridReorderableRowsContainer as gl } from "./components/GridDraggableRowsContainer.mjs";
45
+ import { GridRowReorderCell as bl } from "./cells/rowreordercell/GridRowReorderCell.mjs";
46
+ import { GridHeaderRowReorderCell as hl } from "./header/client/GridHeaderRowReorderCell.mjs";
47
+ import { GridLoader as nt } from "./components/GridLoader.mjs";
52
48
  import { gridPremiumFeatures as Cl } from "./utils/premium.mjs";
53
- import { LocalizationService as El, IntlService as Il } from "@progress/kendo-react-intl";
54
- import { getVirtualCellsToRender as Sl } from "./utils/virtualColumns.mjs";
55
- import { GridEditDialog as Rl } from "./components/GridEditDialog.mjs";
56
- const vl = l.forwardRef((e, ie) => {
57
- var Te, Ae, Pe, Ke, He, Be, Le, Ve, Oe, Me;
58
- const v = e.id + "-role-element-id", x = e.navigatable ? v : "";
59
- let C = e.columnsState || [];
60
- const it = (t, r, d, o, i, c, a) => {
61
- const m = [], w = $t(
62
- m,
63
- y,
49
+ import { LocalizationService as yl, IntlService as wl } from "@progress/kendo-react-intl";
50
+ import { getVirtualCellsToRender as El } from "./utils/virtualColumns.mjs";
51
+ import { GridEditDialog as Sl } from "./components/GridEditDialog.mjs";
52
+ import { GridCellServer as Il } from "./cells/datacell/GridCellServer.mjs";
53
+ import { GridEditCellServer as vl } from "./cells/editcell/GridEditCellServer.mjs";
54
+ import { GridSelectionCellServer as Rl } from "./cells/selectioncell/GridSelectionCellServer.mjs";
55
+ import { GridSelectionCell as Gl } from "./cells/selectioncell/GridSelectionCell.mjs";
56
+ import { GridHierarchyCellServer as xl } from "./cells/hierarchycell/GridHierarchyCellServer.mjs";
57
+ import { GridRowReorderCellServer as kl } from "./cells/rowreordercell/GridRowReorderCellServer.mjs";
58
+ import { GridDetailCellServer as Nl } from "./cells/detailcell/GridDetailCellServer.mjs";
59
+ import { GridGroupCellServer as Dl } from "./cells/groupcell/GridGroupCellServer.mjs";
60
+ const Tl = a.forwardRef((e, ie) => {
61
+ var Te, He, Pe, Ke, Ae, Be, Fe, Le, Me, Oe, _e, ze;
62
+ const R = e.id + "-role-element-id", G = e.navigatable ? R : "";
63
+ let E = e.columnsState || [];
64
+ const ot = (t, o, n, d, i, l, c) => {
65
+ const u = [], T = Ut(
66
+ u,
64
67
  t,
65
- { index: r },
66
- d !== void 0,
67
68
  o,
69
+ { index: n },
70
+ d !== void 0,
68
71
  i,
69
- c,
70
- Ct.defaultExpand,
71
- a
72
+ l,
73
+ Et.defaultExpand,
74
+ c
72
75
  );
73
- return { flattedData: m, resolvedGroupsCount: w };
74
- }, dt = (t) => {
75
- const r = t.filter(
76
- (d) => d && d.type && d.type.displayName === "KendoReactGridColumn"
76
+ return { flattedData: u, resolvedGroupsCount: T };
77
+ }, it = (t) => {
78
+ const o = t.filter(
79
+ (n) => n && n.type && n.type.displayName === "KendoReactGridColumn"
77
80
  );
78
- return Zt(r, C, { prevId: 0, idPrefix: x });
79
- }, ct = () => {
80
- const t = [], r = (d, o) => d == null ? void 0 : d.forEach((i) => {
81
- const c = i.hidden || o;
81
+ return pt(o, E, { prevId: 0, idPrefix: G });
82
+ }, dt = () => {
83
+ const t = [], o = (n, d) => n == null ? void 0 : n.forEach((i) => {
84
+ const l = i.hidden || d;
82
85
  t.push({
83
86
  ...i,
84
- hidden: c
85
- }), r(i.children, c);
87
+ hidden: l
88
+ }), o(i.children, l);
86
89
  });
87
- return r(C, !1), t;
88
- }, mt = (t) => {
89
- const r = ct();
90
- return t.filter((d) => {
91
- var o;
92
- return !d.hidden && !((o = r.find((i) => i.id === d.id)) != null && o.hidden);
90
+ return o(E, !1), t;
91
+ }, ct = (t) => {
92
+ const o = dt();
93
+ return t.filter((n) => {
94
+ var d;
95
+ return !n.hidden && !((d = o.find((i) => i.id === n.id)) != null && d.hidden);
93
96
  });
94
- }, ut = (t, r) => {
95
- var d;
96
- u = dt(t), u.filter((o) => !o.hidden).length === 0 && (u = jt(
97
- y,
97
+ }, mt = (t, o) => {
98
+ m = it(t), m.filter((n) => !n.hidden).length === 0 && (m = qt(
99
+ C,
98
100
  e.group,
99
101
  {
100
- column: (d = K.column) != null ? d : e.expandField
102
+ column: P.column
101
103
  },
102
104
  {
103
105
  prevId: 0,
104
- idPrefix: x
106
+ idPrefix: G
105
107
  }
106
- )), ft(u, r), u = mt(u), G = Ut(u, !0), ce = u.map(qt);
107
- }, st = (t, r) => {
108
- const d = (o) => {
109
- var c;
110
- const i = r.find((a) => a.id === o.id);
111
- return i ? (i.children = (c = o.children) == null ? void 0 : c.map(d), i) : oe(o);
108
+ )), st(m, o), m = ct(m), x = Jt(m, !0), me = m.map(Qt);
109
+ }, ut = (t, o) => {
110
+ const n = (d) => {
111
+ var l;
112
+ const i = o.find((c) => c.id === d.id);
113
+ return i ? (i.children = (l = d.children) == null ? void 0 : l.map(n), i) : oe(d);
112
114
  };
113
- C = t.filter((o) => o.parentIndex === -1).map(d);
114
- }, ft = (t, r) => {
115
- var c;
116
- t.filter((a) => e.selectedField && a.field === e.selectedField || a.columnType === "checkbox").forEach((a) => {
117
- a.width = a.width || "50px", a.cell = a.cell || Ht, a._type = "edit", a.headerCell = a.headerCell || tl;
118
- }), N !== void 0 && t.filter((a) => a.columnType === "reorder").forEach((a) => {
119
- a.width = a.width || "50px", a.cell = a.cell || yl, a.headerCell = a.headerCell || wl, a.sortable = !1, a.filterable = !1, a.editable = !1;
115
+ E = t.filter((d) => d.parentIndex === -1).map(n);
116
+ }, st = (t, o) => {
117
+ t.filter((l) => l.columnType === "checkbox").forEach((l) => {
118
+ l.width = l.width || "50px", l.defaultCell = e.isClient ? Gl : Rl, l.defaultHeaderCell = ll, l._type = "edit";
119
+ }), N !== void 0 && t.filter((l) => l.columnType === "reorder").forEach((l) => {
120
+ l.width = l.width || "50px", l.defaultCell = e.isClient ? bl : kl, l.defaultHeaderCell = hl, l.sortable = !1, l.filterable = !1, l.editable = !1;
120
121
  });
121
- const d = Jt(C);
122
- st(t, d);
123
- const o = {
122
+ const n = Xt(E);
123
+ ut(t, n);
124
+ const d = {
124
125
  id: "",
125
126
  resizable: !0,
126
127
  width: "32px",
@@ -141,332 +142,317 @@ const vl = l.forwardRef((e, ie) => {
141
142
  isAccessible: !0
142
143
  };
143
144
  let i = 0;
144
- if ((e.expandField || K.enabled) && e.detail) {
145
- const a = {
146
- ...o,
145
+ if (P.enabled && e.detail) {
146
+ const l = {
147
+ ...d,
147
148
  _type: "expand",
148
- id: V.generateNavigatableId(`${i++}`, "expand", "column"),
149
- cell: Bt,
150
- field: (c = K.column) != null ? c : e.expandField,
149
+ id: O.generateNavigatableId(`${i++}`, "expand", "column"),
150
+ defaultCell: e.isClient ? Mt : xl,
151
+ field: P.column,
151
152
  headerClassName: f(s.hierarchyCell({}))
152
153
  };
153
- t.unshift(a), C.unshift(d.find((m) => m.id === a.id) || oe(a));
154
+ t.unshift(l), E.unshift(n.find((c) => c.id === l.id) || oe(l));
154
155
  }
155
- for (let a = 0; a < r; a++) {
156
- const m = {
157
- ...o,
156
+ for (let l = 0; l < o; l++) {
157
+ const c = {
158
+ ...d,
158
159
  isAccessible: !1,
159
- cell: Xe,
160
- id: V.generateNavigatableId(`${i++}`, "group", "column"),
160
+ defaultCell: e.isClient ? Je : Dl,
161
+ id: O.generateNavigatableId(`${i++}`, "group", "column"),
161
162
  field: "value",
162
163
  locked: e.lockGroups
163
164
  };
164
- t.unshift(m), C.unshift(d.find((w) => w.id === m.id) || oe(m));
165
+ t.unshift(c), E.unshift(n.find((u) => u.id === c.id) || oe(c));
165
166
  }
166
- t.slice(i).forEach((a) => {
167
- a.parentIndex >= 0 && (a.parentIndex += i), a.rowSpannable = a.rowSpannable !== void 0 ? qe(a.rowSpannable) : ue;
167
+ t.slice(i).forEach((l) => {
168
+ l.parentIndex >= 0 && (l.parentIndex += i), l.rowSpannable = l.rowSpannable !== void 0 ? Ue(l.rowSpannable) : fe;
168
169
  });
169
- }, O = () => {
170
- var t;
171
- return Array.isArray(e.data) ? y.length === e.total : y ? e.total === ((t = e.data) == null ? void 0 : t.total) : !1;
172
- }, gt = () => {
173
- const { rowHeight: t, detailRowHeight: r, detail: d, expandField: o } = e, i = O(), c = t !== void 0 && t > 0, a = r !== void 0 && r > 0;
174
- return !c || P && !i || !!(d && o) && (!a || !i) ? gl : q;
175
- }, J = () => e.isClient ? u : ce, de = (t) => {
176
- const r = [];
177
- let d = null, o = 0;
178
- if (b.forEach((i, c) => {
179
- const a = parseFloat((i.width || "").toString()) || 10;
180
- if (o) {
181
- o--, d && (d.width += a);
170
+ }, U = () => e.isClient ? m : me, de = (t) => {
171
+ const o = [];
172
+ let n = null, d = 0;
173
+ if (g.forEach((i, l) => {
174
+ const c = parseFloat((i.width || "").toString()) || 10;
175
+ if (d) {
176
+ d--, n && (n.width += c);
182
177
  return;
183
178
  }
184
- const m = Math.min(Qt(i, t), b.length - c);
185
- o = m - 1, d = {
186
- width: a,
187
- colSpan: m,
188
- columnIndex: c
189
- }, r.push(d);
179
+ const u = Math.min(Yt(i, t), g.length - l);
180
+ d = u - 1, n = {
181
+ width: c,
182
+ colSpan: u,
183
+ columnIndex: l
184
+ }, o.push(n);
190
185
  }), e.columnVirtualization) {
191
- const i = bt.current || 0, c = ht.current || parseFloat(((e.style || {}).width || "").toString());
192
- return Sl({
193
- cellModels: r,
194
- columns: b,
195
- tableViewPortWidth: c,
186
+ const i = gt.current || 0, l = bt.current || parseFloat(((e.style || {}).width || "").toString());
187
+ return El({
188
+ cellModels: o,
189
+ columns: g,
190
+ tableViewPortWidth: l,
196
191
  scrollLeft: i
197
192
  });
198
193
  }
199
- return r;
194
+ return o;
195
+ }, ft = () => {
196
+ const { pageable: t, take: o, pageSize: n } = e;
197
+ if (!h)
198
+ return 0;
199
+ if (!t) {
200
+ if (o)
201
+ return o;
202
+ if (n)
203
+ return n;
204
+ }
205
+ const d = e.rowHeight || Ct.current, i = ht.current;
206
+ return i && d ? Math.ceil(i / d * 1.5) : 0;
200
207
  };
201
- let Q, h = [], M, u = [], ce = [], G = [[]];
202
- const bt = e.scrollLeftRef || { current: 0 }, ht = e.widthRef || { current: 0 }, _ = e.localization || new El(e.language), yt = e.intl || new Il((Te = e.locale) != null ? Te : "en"), k = e.unstyled, s = k && k.uGrid ? k.uGrid : Gt, N = Wt(e.rowReorderable), D = e.autoProcessData === !0 ? {
208
+ let b = [], ce, m = [], me = [], x = [[]];
209
+ const gt = e.scrollLeftRef || { current: 0 }, bt = e.widthRef || { current: 0 }, ht = e.containerHeightRef || { current: 0 }, Ct = e.minRowHeightRef || { current: 0 }, _ = e.localization || new yl(e.language), yt = e.intl || new wl((Te = e.locale) != null ? Te : "en"), k = e.unstyled, s = k && k.uGrid ? k.uGrid : Nt, N = jt(e.rowReorderable), h = e.scrollable === "virtual" || e.scrollable === void 0 && Dt(Ye), D = e.autoProcessData === !0 ? {
203
210
  group: !0,
204
211
  sort: !0,
205
212
  filter: !0,
206
213
  search: !0,
207
214
  page: !0
208
215
  } : e.autoProcessData;
209
- let y, S;
210
- if (Array.isArray(e.data) ? (y = e.data, S = (Ae = e.total) != null ? Ae : y.length) : (y = ((Pe = e.data) == null ? void 0 : Pe.data) || [], S = (Be = (He = e.total) != null ? He : (Ke = e.data) == null ? void 0 : Ke.total) != null ? Be : y.length), D) {
211
- const { data: t, total: r } = Nt(y, {
216
+ let C, v;
217
+ if (Array.isArray(e.data) ? (C = e.data, v = (He = e.total) != null ? He : C.length) : (C = ((Pe = e.data) == null ? void 0 : Pe.data) || [], v = (Be = (Ae = e.total) != null ? Ae : (Ke = e.data) == null ? void 0 : Ke.total) != null ? Be : C.length), D) {
218
+ const t = D.page && !(h && !e.pageable), { data: o, total: n } = Ht(C, {
212
219
  group: D.group ? e.group : void 0,
213
220
  sort: D.sort ? e.sort : void 0,
214
- filter: Dt(
221
+ filter: Pt(
215
222
  D.filter ? e.filter : void 0,
216
223
  D.search ? e.search : void 0
217
224
  ),
218
- ...D.page ? {
219
- take: e.take,
220
- skip: e.skip
225
+ ...t ? {
226
+ take: e.pageable ? e.take || 10 : e.take,
227
+ skip: e.skip || 0
221
228
  } : {}
222
229
  });
223
- y = t, S = (Le = e.total) != null ? Le : r;
230
+ C = o, v = (Fe = e.total) != null ? Fe : n;
224
231
  }
225
- const { size: E = "medium" } = e, wt = typeof e.groupable == "object" && e.groupable.footer || "none", F = e.scrollable === "virtual", P = e.groupable === !0 || typeof e.groupable == "object" && e.groupable.enabled !== !1, K = Ft(!!e.detail), Ct = Tt(
232
+ const z = C.length === v, { size: S = "medium" } = e, wt = typeof e.groupable == "object" && e.groupable.footer || "none", V = e.groupable === !0 || typeof e.groupable == "object" && e.groupable.enabled !== !1, P = Kt(!!e.detail), Et = At(
226
233
  typeof e.groupable == "object" && e.groupable.enabled !== !1 ? e.groupable.expandable : e.groupable
227
- ), { resolvedGroupsCount: Et, flattedData: It } = it(
234
+ ), ue = !!((Le = e.group) != null && Le.length), { resolvedGroupsCount: St, flattedData: It } = ot(
235
+ C,
228
236
  wt,
229
- e.skip || 0,
237
+ z ? 0 : e.skip || 0,
230
238
  e.group,
231
- e.expandField,
232
239
  e.detailExpand,
233
240
  e.groupExpand,
234
241
  e.dataItemKey
235
242
  );
236
- h = It;
237
- const X = gt();
238
- X === q && O() && (M = h.slice(
239
- e.skip || 0,
240
- (e.skip || 0) + ((e.take !== void 0 ? e.take : e.pageSize) || 0)
241
- ));
242
- const me = At(e.selectable || !!e.selectedField), ue = qe(e.rowSpannable), St = me && me.drag ? "none" : void 0, z = l.useMemo(() => l.Children.toArray(e.children), [e.children]);
243
- ut(z, Et);
244
- const Y = l.useMemo(() => {
245
- const t = Cl(e, u);
243
+ b = It;
244
+ const q = ft(), J = ((Me = e.virtualSkipRef) == null ? void 0 : Me.current) || 0;
245
+ let Q = v;
246
+ if (h) {
247
+ let t = e.skip || 0;
248
+ (ue || e.pageable) && (t = J, Q = b.length), (z || ue || e.pageable) && (ce = b.slice(t, t + q));
249
+ }
250
+ const se = Bt(e.selectable), fe = Ue(e.rowSpannable), vt = se && se.drag ? "none" : void 0, W = a.useMemo(() => a.Children.toArray(e.children), [e.children]);
251
+ mt(W, St);
252
+ const X = a.useMemo(() => {
253
+ const t = Cl(e, m);
246
254
  return {
247
255
  premium: t.length > 0,
248
256
  features: t
249
257
  };
250
- }, [e, u]), se = l.useMemo(() => Y.premium ? !kt(nl, { component: "Grid", features: Y.features }) : !1, [Y.premium]), fe = z.map((t) => t && t.type && t.type.displayName === "KendoReactGridToolbar" ? l.cloneElement(t, { ...t.props, ariaControls: v }) : null), W = z.filter((t) => t && t.type && t.type.displayName === "KendoReactGridNoRecords"), ge = z.filter(
258
+ }, [e, m]), ge = a.useMemo(() => X.premium ? !Tt(Ye, { component: "Grid", features: X.features }) : !1, [X.premium]), be = W.map((t) => t && t.type && t.type.displayName === "KendoReactGridToolbar" ? a.cloneElement(t, { ...t.props, _ariaControls: R, ariaLabel: "Top toolbar" }) : null), $ = W.filter((t) => t && t.type && t.type.displayName === "KendoReactGridNoRecords"), he = W.filter(
251
259
  (t) => t && t.type && t.type.displayName === "KendoReactGridStatusBar"
252
- ), b = u.filter((t) => t.children.length === 0), be = P && /* @__PURE__ */ l.createElement(_t, { columns: J(), group: e.group || [], ariaControls: v }), he = /* @__PURE__ */ l.createElement(
253
- Vt,
260
+ ), g = m.filter((t) => t.children.length === 0), Ce = V && /* @__PURE__ */ a.createElement(Wt, { columns: U(), group: e.group || [], ariaControls: R }), ye = /* @__PURE__ */ a.createElement(
261
+ _t,
254
262
  {
255
- size: E,
263
+ size: S,
256
264
  staticHeaders: e.scrollable !== "none",
257
- draggable: e.reorderable || P,
258
- headerRow: /* @__PURE__ */ l.createElement(
259
- Ot,
265
+ draggable: e.reorderable || V,
266
+ headerRow: /* @__PURE__ */ a.createElement(
267
+ zt,
260
268
  {
261
269
  cells: e.cells,
262
270
  sort: e.sort,
263
271
  sortable: e.sortable,
264
272
  group: e.group || [],
265
- groupable: P,
273
+ groupable: V,
266
274
  filter: e.filter,
267
275
  filterable: e.filterable,
268
- filterOperators: e.filterOperators || Ze,
276
+ filterOperators: e.filterOperators || Xe,
269
277
  columnMenu: e.columnMenu,
270
278
  columnMenuIcon: e.columnMenuIcon,
271
- columns: u,
272
- columnsMap: G,
273
- cellRender: e.headerCellRender,
279
+ columns: m,
280
+ columnsMap: x,
274
281
  navigatable: !!e.navigatable,
275
282
  localization: _,
276
283
  unstyled: k,
277
- headerSelectionValue: !!(e.select && h.filter((t) => t.rowType === "data").every(
278
- (t) => e.select && e.dataItemKey && A(e.dataItemKey)(t.dataItem) !== void 0 ? e.select[A(e.dataItemKey)(t.dataItem)] : void 0
284
+ headerSelectionValue: !!(e.select && b.filter((t) => t.rowType === "data").every(
285
+ (t) => e.select && e.dataItemKey && H(e.dataItemKey)(t.dataItem) !== void 0 ? e.select[H(e.dataItemKey)(t.dataItem)] : void 0
279
286
  ))
280
287
  }
281
288
  ),
282
- filterRow: e.filterable && /* @__PURE__ */ l.createElement(
283
- Mt,
289
+ filterRow: e.filterable && /* @__PURE__ */ a.createElement(
290
+ Vt,
284
291
  {
285
292
  cells: e.cells,
286
- size: E,
287
- columns: u,
293
+ size: S,
294
+ columns: m,
288
295
  filter: e.filter,
289
- filterOperators: e.filterOperators || Ze,
296
+ filterOperators: e.filterOperators || Xe,
290
297
  sort: e.sort,
291
- cellRender: e.filterCellRender,
292
298
  navigatable: !!e.navigatable,
293
- ariaRowIndex: G.length + 1,
299
+ ariaRowIndex: x.length + 1,
294
300
  localization: _
295
301
  }
296
302
  ) || void 0,
297
- cols: b.map((t, r) => /* @__PURE__ */ l.createElement("col", { key: r.toString(), width: re(t) }))
303
+ cols: g.map((t, o) => /* @__PURE__ */ a.createElement("col", { key: o.toString(), width: ne(t) }))
298
304
  }
299
- ), ye = b.findIndex((t) => typeof t.colSpan == "function") > -1;
300
- let Z;
301
- ye || (Z = de(null));
302
- const p = ((Ve = e.editable) == null ? void 0 : Ve.mode) === "dialog", Rt = (Oe = e.editable) == null ? void 0 : Oe.enabled, vt = (t, r, d, o, i) => {
303
- let c = !1;
304
- const a = e.selectedField ? Qe(e.selectedField, t.dataItem) : e.select && e.dataItemKey && A(e.dataItemKey)(t.dataItem) !== void 0 ? e.select[A(e.dataItemKey)(t.dataItem)] : void 0;
305
- return ye && (Z = de(t.dataItem)), {
306
- row: Z.map(({ columnIndex: m, colSpan: w }) => {
307
- var _e, ze, We, $e;
308
- const n = b[m];
309
- let g;
310
- if ((_e = n.rowSpannable) != null && _e.enabled && t.rowType === "data" && n.field && i) {
311
- const I = n.field ? (We = (ze = n.rowSpannable).valueGetter) == null ? void 0 : We.call(ze, t.dataItem, n.field) : null;
312
- g = { value: I, count: 1 }, i[n.field] && (($e = i[n.field]) == null ? void 0 : $e.value) === I && i[n.field] !== null ? (i[n.field].count++, g.count = null) : i[n.field] = g;
305
+ ), we = g.findIndex((t) => typeof t.colSpan == "function") > -1;
306
+ let Y;
307
+ we || (Y = de(null));
308
+ const Z = ((Oe = e.editable) == null ? void 0 : Oe.mode) === "dialog", Rt = (_e = e.editable) == null ? void 0 : _e.enabled, Gt = (t, o, n, d, i) => {
309
+ let l = !1;
310
+ const c = e.select && e.dataItemKey && H(e.dataItemKey)(t.dataItem) !== void 0 ? e.select[H(e.dataItemKey)(t.dataItem)] : void 0;
311
+ return we && (Y = de(t.dataItem)), {
312
+ row: Y.map(({ columnIndex: u, colSpan: T }) => {
313
+ var j, M, Ve, We;
314
+ const r = g[u];
315
+ let y;
316
+ if ((j = r.rowSpannable) != null && j.enabled && t.rowType === "data" && r.field && i) {
317
+ const I = r.field ? (Ve = (M = r.rowSpannable).valueGetter) == null ? void 0 : Ve.call(M, t.dataItem, r.field) : null;
318
+ y = { value: I, count: 1 }, i[r.field] && ((We = i[r.field]) == null ? void 0 : We.value) === I && i[r.field] !== null ? (i[r.field].count++, y.count = null) : i[r.field] = y;
313
319
  }
314
- const j = n.id ? n.id : m, ae = f(s.contentSticky({ locked: n.locked }), n.className), B = n.left !== void 0 ? { left: n.left, right: n.right } : {};
315
- let R = !1;
316
- if (n.editable && (e.editable || e.editField)) {
317
- const I = e.editField ? Qe(e.editField, t.dataItem) : e.edit && e.dataItemKey ? e.edit[A(e.dataItemKey)(t.dataItem)] : void 0, ne = typeof I == "boolean" ? I : Array.isArray(I) ? I.indexOf(n.field) > -1 : n.field !== void 0 && I === n.field;
318
- ne && n.columnType === "data" && (ne === !0 || ne === n.field) && (c = !0, p || (R = !0));
320
+ const A = r.id ? r.id : u, w = f(s.contentSticky({ locked: r.locked }), r.className), le = r.left !== void 0 ? { left: r.left, right: r.right } : {};
321
+ let B = !1;
322
+ if (r.editable && e.editable) {
323
+ const I = e.edit && e.dataItemKey ? e.edit[H(e.dataItemKey)(t.dataItem)] : void 0, re = typeof I == "boolean" ? I : Array.isArray(I) ? r.field && I.indexOf(r.field) > -1 : r.field !== void 0 && I === r.field;
324
+ re && r.columnType === "data" && (re === !0 || re === r.field) && (l = !0, Z || (B = !0));
319
325
  }
320
- const L = n.cell || R && Lt || pt, U = e.expandField && e.detail && n.field === e.expandField || n._type === "expand", T = {
326
+ const ae = r._type === "expand", F = {
321
327
  locked: e.lockGroups,
322
- id: V.generateNavigatableId(
323
- `${r}-${String(m)}`,
324
- x,
325
- U || t.rowType === "groupHeader" || t.rowType === "groupFooter" || n.field === "value" ? "nodata" : "cell"
328
+ id: O.generateNavigatableId(
329
+ `${o}-${String(u)}`,
330
+ G,
331
+ ae || t.rowType === "groupHeader" || t.rowType === "groupFooter" || r.field === "value" ? "nodata" : "cell"
326
332
  ),
327
- colSpan: w,
333
+ colSpan: T,
328
334
  dataItem: t.dataItem,
329
- field: n.field,
330
- editor: n.editor,
331
- format: n.format,
332
- columnType: n.columnType,
335
+ field: r.field,
336
+ editor: r.editor,
337
+ format: r.format,
338
+ columnType: r.columnType,
333
339
  rowReorderable: N,
334
- className: ae,
335
- render: e.cellRender,
336
- cells: Xt(e.cells, n.cells),
337
- columnIndex: m,
338
- columnsCount: b.length,
340
+ className: w,
341
+ cells: Zt(e.cells, r.cells),
342
+ columnIndex: u,
343
+ columnsCount: g.length,
339
344
  rowType: t.rowType,
340
345
  level: t.level,
341
346
  expanded: t.expanded,
342
347
  dataIndex: t.dataIndex,
343
- rowDataIndex: d,
344
- columnPosition: B,
348
+ rowDataIndex: n,
349
+ columnPosition: le,
345
350
  style: {},
346
- ariaColumnIndex: n.ariaColumnIndex,
347
- isSelected: (n == null ? void 0 : n._type) === "edit" ? a : Array.isArray(a) && a.indexOf(m) > -1,
348
- isSorted: !!Je(n.field, e.sort),
349
- isInEdit: R,
350
- isAlt: o,
351
+ ariaColumnIndex: r.ariaColumnIndex,
352
+ isSelected: !!((r == null ? void 0 : r._type) === "edit" ? c : Array.isArray(c) && c.indexOf(u) > -1),
353
+ isSorted: !!qe(r.field, e.sort),
354
+ isInEdit: B,
355
+ isAlt: d,
351
356
  unstyled: k,
352
357
  group: t.group,
353
358
  localization: _,
354
359
  intl: yt,
355
- _rowSpan: g
356
- };
357
- return n.cell ? /* @__PURE__ */ l.createElement(
358
- bl,
359
- {
360
- key: j,
361
- isClient: Yt(L),
362
- dataItem: T.dataItem,
363
- rowDataIndex: T.rowDataIndex,
364
- columnIndex: T.columnIndex,
365
- columnPosition: T.columnPosition
366
- },
367
- /* @__PURE__ */ l.createElement(L, { ...T })
368
- ) : /* @__PURE__ */ l.createElement(L, { key: j, ...T });
360
+ _rowSpan: y
361
+ }, L = r.defaultCell || B && (e.isClient ? Ot : vl) || (e.isClient ? el : Il);
362
+ return /* @__PURE__ */ a.createElement(L, { key: A, cellProps: F });
369
363
  }),
370
- isInEdit: c,
371
- isSelected: typeof a == "boolean" && a
364
+ isInEdit: l,
365
+ isSelected: typeof c == "boolean" && c
372
366
  };
373
367
  };
374
- let we = 0;
375
- if (F && Q)
376
- for (let t = 0; t < Q.topCacheCount + Q.attendedSkip - (e.skip || 0); t++) {
377
- const r = h.shift();
378
- if (r)
379
- h.push(r), we++, r.rowType === "groupHeader" && t--;
380
- else
381
- break;
382
- }
383
- let ee = null;
384
- const Ce = (t) => t >= h.length - we;
385
- let Ee = e.skip || 0;
386
- const te = [], Ie = !h.length, Se = G.length + (e.filterable ? 1 : 0) + 1;
387
- let H = 0;
388
- if (h.length) {
389
- let t = -1, r = 0;
390
- const d = ue.enabled ? {} : void 0;
391
- (M || h).forEach((o, i) => {
392
- o.rowType === "data" && (Ee++, t++);
393
- const c = Ee % 2 === 0, a = i + (e.skip || 0), m = e.dataItemKey && A(e.dataItemKey)(o.dataItem), w = m || "ai" + a, n = w + "_1", g = vt(o, w, t, c, d);
394
- if (H = a + Se + r, p && Rt && g.isInEdit && (ee = o.dataItem), te.push(
395
- /* @__PURE__ */ l.createElement(
396
- el,
368
+ let xt = 0, p = null;
369
+ const Ee = (t) => t >= b.length - xt, ee = [], Se = !b.length;
370
+ let K = 0;
371
+ if (b.length) {
372
+ const t = x.length + (e.filterable ? 1 : 0) + 1;
373
+ let o = e.skip || 0, n = -1, d = 0;
374
+ const i = fe.enabled ? {} : void 0;
375
+ h && (n += J, o += J, e.pageable || (n += e.skip || 0)), (ce || b).forEach((l, c) => {
376
+ l.rowType === "data" && n++;
377
+ const u = l.dataIndex % 2 !== 0, T = e.dataItemKey && H(e.dataItemKey)(l.dataItem), r = c + o, y = T || "ai" + r, A = y + "_1", w = Gt(l, y, n, u, i);
378
+ if (K = r + t + d, Z && Rt && w.isInEdit && (p = l.dataItem), ee.push(
379
+ /* @__PURE__ */ a.createElement(
380
+ tl,
397
381
  {
398
- key: w,
399
- dataItem: o.dataItem,
400
- isAltRow: c,
401
- isInEdit: g.isInEdit && !p,
402
- rowType: o.rowType,
382
+ key: y,
383
+ dataItem: l.dataItem,
384
+ isAltRow: u,
385
+ isInEdit: w.isInEdit && !Z,
386
+ rowType: l.rowType,
403
387
  isRowReorderable: N,
404
- isHidden: Ce(i),
388
+ isHidden: Ee(c),
405
389
  onClick: null,
406
390
  onDoubleClick: null,
407
- selectedField: e.selectedField,
408
391
  rowHeight: e.rowHeight,
409
- render: e.rowRender,
410
- ariaRowIndex: H,
411
- absoluteRowIndex: a,
412
- dataIndex: F && !e.groupable ? a : t,
413
- isSelected: g.isSelected,
392
+ ariaRowIndex: K,
393
+ absoluteRowIndex: r,
394
+ dataIndex: n,
395
+ isSelected: w.isSelected,
414
396
  rows: e.rows
415
397
  },
416
- g.row
398
+ w.row
417
399
  )
418
- ), e.detail && o.rowType === "data" && o.expanded) {
419
- const j = b.length - (e.expandField || K.enabled ? 1 : 0) - (e.group ? e.group.length : 0) || 1;
420
- r++, H = a + Se + r, te.push(
421
- /* @__PURE__ */ l.createElement(
400
+ ), e.detail && l.rowType === "data" && l.expanded) {
401
+ const le = g.length - (P.enabled ? 1 : 0) - (e.group ? e.group.length : 0) || 1;
402
+ d++, K = r + t + d;
403
+ const B = e.isClient ? nl : Nl;
404
+ ee.push(
405
+ /* @__PURE__ */ a.createElement(
422
406
  "tr",
423
407
  {
424
- key: n,
425
- className: f(s.detailTr({ isAlt: c })),
408
+ key: A,
409
+ className: f(s.detailTr({ isAlt: u })),
426
410
  style: {
427
- visibility: Ce(i) ? "hidden" : "",
411
+ visibility: Ee(c) ? "hidden" : "",
428
412
  height: e.detailRowHeight
429
413
  },
430
414
  role: "row",
431
- "aria-rowindex": H
415
+ "aria-rowindex": K
432
416
  },
433
- e.group && e.group.map((ae, B) => {
434
- var U;
435
- const R = (U = g == null ? void 0 : g.row[B]) == null ? void 0 : U.props.style, L = R ? { left: R.left, right: R.right } : {};
436
- return /* @__PURE__ */ l.createElement(
437
- Xe,
417
+ e.group && e.group.map((ae, F) => {
418
+ var M;
419
+ const L = (M = w == null ? void 0 : w.row[F]) == null ? void 0 : M.props.style, j = L ? { left: L.left, right: L.right } : {};
420
+ return /* @__PURE__ */ a.createElement(
421
+ Je,
438
422
  {
439
- id: "",
440
- dataIndex: o.dataIndex,
441
- field: ae.field,
442
- dataItem: o.dataItem,
443
- key: B,
444
- columnPosition: L,
445
- style: {},
446
- ariaColumnIndex: 1 + B,
447
- isSelected: !1,
448
- locked: e.lockGroups,
449
- cells: e.cells,
450
- group: o.group
423
+ key: F,
424
+ cellProps: {
425
+ id: "",
426
+ dataItem: l.dataItem,
427
+ field: ae.field,
428
+ dataIndex: l.dataIndex,
429
+ columnPosition: j,
430
+ style: {},
431
+ ariaColumnIndex: 1 + F,
432
+ isSelected: !1,
433
+ locked: e.lockGroups,
434
+ cells: e.cells,
435
+ group: l.group
436
+ }
451
437
  }
452
438
  );
453
439
  }),
454
- (e.expandField || K.enabled) && /* @__PURE__ */ l.createElement(
440
+ P.enabled && /* @__PURE__ */ a.createElement(
455
441
  ol,
456
442
  {
457
443
  unstyled: k,
458
- id: V.generateNavigatableId(`${n}-dhcell`, x)
444
+ id: O.generateNavigatableId(`${A}-dhcell`, G)
459
445
  }
460
446
  ),
461
- /* @__PURE__ */ l.createElement(
462
- rl,
447
+ /* @__PURE__ */ a.createElement(
448
+ B,
463
449
  {
464
- dataItem: o.dataItem,
465
- dataIndex: o.dataIndex,
466
- colSpan: j,
450
+ dataItem: l.dataItem,
451
+ dataIndex: l.dataIndex,
452
+ colSpan: le,
467
453
  ariaColIndex: 2 + (e.group ? e.group.length : 0),
468
454
  detail: e.detail,
469
- id: V.generateNavigatableId(`${n}-dcell`, x)
455
+ id: O.generateNavigatableId(`${A}-dcell`, G)
470
456
  }
471
457
  )
472
458
  )
@@ -474,182 +460,179 @@ const vl = l.forwardRef((e, ie) => {
474
460
  }
475
461
  });
476
462
  }
477
- const Re = {
478
- size: E,
479
- total: S,
463
+ const Ie = {
464
+ size: S,
465
+ total: v,
480
466
  skip: e.skip || 0,
481
467
  take: (e.take !== void 0 ? e.take : e.pageSize) || 10,
482
- ...al(e.pageable || {})
483
- }, ve = /* @__PURE__ */ l.createElement(cl, null, e.pager ? /* @__PURE__ */ l.createElement(e.pager, { ...Re }) : /* @__PURE__ */ l.createElement(Pt, { className: f(s.pager({})), ...Re })), xt = (t, r) => /* @__PURE__ */ l.createElement("col", { key: r.toString(), width: re(t) }), xe = (Me = e.cells) != null && Me.footerCell || u.some((t) => {
484
- var r;
485
- return !!(t.footerCell || (r = t.cells) != null && r.footerCell);
486
- }) ? /* @__PURE__ */ l.createElement(
487
- zt,
468
+ ...rl(e.pageable || {})
469
+ }, ve = /* @__PURE__ */ a.createElement(cl, null, e.pager ? /* @__PURE__ */ a.createElement(e.pager, { ...Ie }) : /* @__PURE__ */ a.createElement(Ft, { className: f(s.pager({})), ...Ie })), kt = (t, o) => /* @__PURE__ */ a.createElement("col", { key: o.toString(), width: ne(t) }), Re = (ze = e.cells) != null && ze.footerCell || m.some((t) => {
470
+ var o;
471
+ return !!((o = t.cells) != null && o.footerCell);
472
+ }) ? /* @__PURE__ */ a.createElement(
473
+ $t,
488
474
  {
489
- size: E,
475
+ size: S,
490
476
  staticHeaders: e.scrollable !== "none",
491
- row: /* @__PURE__ */ l.createElement(
492
- ll,
477
+ row: /* @__PURE__ */ a.createElement(
478
+ al,
493
479
  {
494
480
  cells: e.cells,
495
- idPrefix: x,
496
- columns: u,
497
- ariaRowIndex: H + 1
481
+ idPrefix: G,
482
+ columns: m,
483
+ ariaRowIndex: K + 1
498
484
  }
499
485
  ),
500
- cols: b.map(xt)
486
+ cols: g.map(kt)
501
487
  }
502
- ) : null, Ge = /* @__PURE__ */ l.createElement(il, null, b.map((t, r) => /* @__PURE__ */ l.createElement(
488
+ ) : null, Ge = /* @__PURE__ */ a.createElement(il, null, g.map((t, o) => /* @__PURE__ */ a.createElement(
503
489
  "col",
504
490
  {
505
- key: r.toString(),
506
- className: Je(t.field, e.sort) ? f(s.sorted({})) : void 0,
507
- width: re(t)
491
+ key: o.toString(),
492
+ className: qe(t.field, e.sort) ? f(s.sorted({})) : void 0,
493
+ width: ne(t)
508
494
  }
509
- ))), ke = e.reorderable || P, { detail: xl, cells: Gl, rows: kl, ...Ne } = e, De = /* @__PURE__ */ l.createElement(
495
+ ))), xe = e.reorderable || V, { detail: Hl, cells: Pl, rows: Kl, ...ke } = e, Ne = /* @__PURE__ */ a.createElement(
510
496
  "tbody",
511
497
  {
512
498
  role: "rowgroup",
513
499
  className: f(s.tbody({})),
514
- ...Kt
500
+ ...Lt
515
501
  },
516
- te
517
- ), Fe = ee ? /* @__PURE__ */ l.createElement(Rl, { columns: b, customEditDialog: e.editDialog, dataItem: ee }) : null;
518
- let le = De;
519
- if (N && (le = /* @__PURE__ */ l.createElement(
520
- hl,
502
+ ee
503
+ ), De = p ? /* @__PURE__ */ a.createElement(Sl, { columns: g, customEditDialog: e.editDialog, dataItem: p }) : null;
504
+ let te = Ne;
505
+ return N && (te = /* @__PURE__ */ a.createElement(
506
+ gl,
521
507
  {
522
508
  unstyled: s,
523
- columns: u,
509
+ columns: m,
524
510
  rowReorderSettings: e.rowReorderable
525
511
  },
526
- De
527
- )), e.scrollable === "none")
528
- return /* @__PURE__ */ l.createElement(
529
- et,
512
+ Ne
513
+ )), e.scrollable === "none" ? /* @__PURE__ */ a.createElement(
514
+ pe,
515
+ {
516
+ gridRef: ie,
517
+ gridProps: ke,
518
+ innerGrid: e.innerGrid,
519
+ columnsRef: U(),
520
+ columnsMapRef: x,
521
+ columnsState: E,
522
+ dataRef: b,
523
+ id: R,
524
+ virtualTotal: Q,
525
+ isAllData: z,
526
+ virtualPageSize: q,
527
+ isVirtualScroll: h,
528
+ detailExpandable: !!e.detail
529
+ },
530
+ /* @__PURE__ */ a.createElement(at, null, /* @__PURE__ */ a.createElement(
531
+ "div",
530
532
  {
531
- gridRef: ie,
532
- gridProps: Ne,
533
- columnsRef: J(),
534
- columnsMapRef: G,
535
- columnsState: C,
536
- dataRef: h,
537
- slicedData: M,
538
- isFixedVirtualScroll: X === q,
539
- id: v,
540
- total: S,
541
- isAllData: O(),
542
- detailExpandable: !!e.detail
533
+ id: e.id,
534
+ style: e.style,
535
+ className: f(s.wrapper({ size: S }), e.className),
536
+ ...je
543
537
  },
544
- /* @__PURE__ */ l.createElement(nt, null, /* @__PURE__ */ l.createElement(
545
- "div",
538
+ be,
539
+ Ce,
540
+ /* @__PURE__ */ a.createElement(
541
+ dl,
546
542
  {
547
- id: e.id,
548
- style: e.style,
549
- className: f(s.wrapper({ size: E }), e.className),
550
- "aria-label": e.ariaLabel,
551
- ...Ue
543
+ selectable: e.selectable,
544
+ className: f(s.table({ size: S }))
552
545
  },
553
- fe,
554
- be,
555
- /* @__PURE__ */ l.createElement(
556
- dl,
557
- {
558
- selectable: e.selectable,
559
- className: f(s.table({ size: E }))
560
- },
561
- Ge,
562
- he,
563
- /* @__PURE__ */ l.createElement(at, { rowReorderable: N }, le),
564
- xe
565
- ),
566
- Ie && /* @__PURE__ */ l.createElement(pe, null, W.length ? W : /* @__PURE__ */ l.createElement(Ye, null)),
567
- ke && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(tt, null), /* @__PURE__ */ l.createElement(lt, null))
568
- )),
569
- ge,
570
- e.pageable && ve,
571
- /* @__PURE__ */ l.createElement(ot, { loader: e.loader, showLoader: e.showLoader }),
572
- Fe,
573
- se && /* @__PURE__ */ l.createElement(je, null)
574
- );
575
- let $ = e.style || {};
576
- return F && ($.height || ($ = Object.assign({}, $, { height: "450px" }))), /* @__PURE__ */ l.createElement(
577
- et,
546
+ Ge,
547
+ ye,
548
+ /* @__PURE__ */ a.createElement(lt, { rowReorderable: N }, te),
549
+ Re
550
+ ),
551
+ Se && /* @__PURE__ */ a.createElement(Ze, null, $.length ? $ : /* @__PURE__ */ a.createElement(Qe, null)),
552
+ xe && /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(et, null), /* @__PURE__ */ a.createElement(tt, null))
553
+ )),
554
+ he,
555
+ e.pageable && ve,
556
+ /* @__PURE__ */ a.createElement(nt, { loader: e.loader, showLoader: e.showLoader }),
557
+ De,
558
+ ge && /* @__PURE__ */ a.createElement($e, null)
559
+ ) : /* @__PURE__ */ a.createElement(
560
+ pe,
578
561
  {
579
562
  gridRef: ie,
580
- gridProps: Ne,
581
- columnsRef: J(),
582
- columnsMapRef: G,
583
- columnsState: C,
584
- dataRef: h,
585
- slicedData: M,
586
- isFixedVirtualScroll: X === q,
587
- id: v,
588
- total: S,
589
- isAllData: O(),
563
+ innerGrid: e.innerGrid,
564
+ gridProps: ke,
565
+ columnsRef: U(),
566
+ columnsMapRef: x,
567
+ columnsState: E,
568
+ dataRef: b,
569
+ id: R,
570
+ virtualTotal: Q,
571
+ isAllData: z,
572
+ virtualPageSize: q,
573
+ isVirtualScroll: h,
590
574
  detailExpandable: !!e.detail
591
575
  },
592
- /* @__PURE__ */ l.createElement(nt, null, /* @__PURE__ */ l.createElement(
576
+ /* @__PURE__ */ a.createElement(at, null, /* @__PURE__ */ a.createElement(
593
577
  "div",
594
578
  {
595
579
  id: e.id,
596
- style: $,
580
+ style: e.style,
597
581
  className: f(
598
582
  s.wrapper({
599
- size: E,
600
- virtual: F
583
+ size: S,
584
+ virtual: h
601
585
  }),
602
586
  e.className
603
587
  ),
604
- "aria-label": e.ariaLabel,
605
- ...Ue
588
+ ...je
606
589
  },
607
- fe,
608
590
  be,
609
- /* @__PURE__ */ l.createElement(
591
+ Ce,
592
+ /* @__PURE__ */ a.createElement(
610
593
  "div",
611
594
  {
612
595
  className: f(s.ariaRoot({})),
613
596
  role: "grid",
614
- "aria-colcount": b.length,
615
- "aria-rowcount": S,
616
- id: v,
597
+ "aria-colcount": g.length,
598
+ "aria-rowcount": v,
599
+ id: R,
617
600
  "aria-label": _.toLanguageString(rt, fl[rt])
618
601
  },
619
- he,
620
- /* @__PURE__ */ l.createElement("div", { className: f(s.container({})), role: "presentation" }, /* @__PURE__ */ l.createElement(ul, null, /* @__PURE__ */ l.createElement("div", { className: f(s.content({})), role: "presentation" }, /* @__PURE__ */ l.createElement("div", { className: f(s.tableWrap({})), role: "presentation" }, /* @__PURE__ */ l.createElement(
602
+ ye,
603
+ /* @__PURE__ */ a.createElement("div", { className: f(s.container({})), role: "presentation" }, /* @__PURE__ */ a.createElement(ul, null, /* @__PURE__ */ a.createElement("div", { className: f(s.content({})), role: "presentation" }, /* @__PURE__ */ a.createElement("div", { className: f(s.tableWrap({})), role: "presentation" }, /* @__PURE__ */ a.createElement(
621
604
  ml,
622
605
  {
623
606
  selectable: e.selectable,
624
607
  tableClassName: f(
625
608
  s.table({
626
- size: E
609
+ size: S
627
610
  })
628
611
  ),
629
- tableStyle: { userSelect: St }
612
+ tableStyle: { userSelect: vt }
630
613
  },
631
614
  Ge,
632
- /* @__PURE__ */ l.createElement(at, { rowReorderable: N }, le)
633
- ), Ie && /* @__PURE__ */ l.createElement(pe, null, W.length ? W : /* @__PURE__ */ l.createElement(Ye, null))), F && /* @__PURE__ */ l.createElement(
615
+ /* @__PURE__ */ a.createElement(lt, { rowReorderable: N }, te)
616
+ ), Se && /* @__PURE__ */ a.createElement(Ze, null, $.length ? $ : /* @__PURE__ */ a.createElement(Qe, null))), h && /* @__PURE__ */ a.createElement(
634
617
  "div",
635
618
  {
636
619
  className: f(s.heightContainer({})),
637
620
  role: "presentation"
638
621
  },
639
- /* @__PURE__ */ l.createElement(sl, { isVirtualScroll: F })
622
+ /* @__PURE__ */ a.createElement(sl, { isVirtualScroll: h })
640
623
  )))),
641
- xe,
642
- ke && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(tt, null), /* @__PURE__ */ l.createElement(lt, null)),
643
- se && /* @__PURE__ */ l.createElement(je, null)
624
+ Re,
625
+ xe && /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(et, null), /* @__PURE__ */ a.createElement(tt, null)),
626
+ ge && /* @__PURE__ */ a.createElement($e, null)
644
627
  ),
645
- ge,
628
+ he,
646
629
  e.pageable && ve,
647
- /* @__PURE__ */ l.createElement(ot, { loader: e.loader, showLoader: e.showLoader }),
648
- Fe
630
+ /* @__PURE__ */ a.createElement(nt, { loader: e.loader, showLoader: e.showLoader }),
631
+ De
649
632
  ))
650
633
  );
651
634
  });
652
- vl.displayName = "KendoReactGridComponent";
635
+ Tl.displayName = "KendoReactGridComponent";
653
636
  export {
654
- vl as GridComponent
637
+ Tl as GridComponent
655
638
  };