@elliemae/ds-legacy-datagrids 1.0.0-rc.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 (657) hide show
  1. package/dist/cjs/DSDataGrid.js +589 -0
  2. package/dist/cjs/DSDataGrid.js.map +7 -0
  3. package/dist/cjs/DataGridImpl.js +156 -0
  4. package/dist/cjs/DataGridImpl.js.map +7 -0
  5. package/dist/cjs/PaginatedDataGrid.js +84 -0
  6. package/dist/cjs/PaginatedDataGrid.js.map +7 -0
  7. package/dist/cjs/blockNames.js +40 -0
  8. package/dist/cjs/blockNames.js.map +7 -0
  9. package/dist/cjs/columns/IconColumn.js +109 -0
  10. package/dist/cjs/columns/IconColumn.js.map +7 -0
  11. package/dist/cjs/columns/NumberColumn.js +37 -0
  12. package/dist/cjs/columns/NumberColumn.js.map +7 -0
  13. package/dist/cjs/components/BodyCell.js +114 -0
  14. package/dist/cjs/components/BodyCell.js.map +7 -0
  15. package/dist/cjs/components/BodyList.js +48 -0
  16. package/dist/cjs/components/BodyList.js.map +7 -0
  17. package/dist/cjs/components/ColumnVisibilityMenuOption.js +65 -0
  18. package/dist/cjs/components/ColumnVisibilityMenuOption.js.map +7 -0
  19. package/dist/cjs/components/ColumnsOptionsMenuSection.js +63 -0
  20. package/dist/cjs/components/ColumnsOptionsMenuSection.js.map +7 -0
  21. package/dist/cjs/components/EmptyState.js +81 -0
  22. package/dist/cjs/components/EmptyState.js.map +7 -0
  23. package/dist/cjs/components/HeaderCell.js +79 -0
  24. package/dist/cjs/components/HeaderCell.js.map +7 -0
  25. package/dist/cjs/components/List.js +43 -0
  26. package/dist/cjs/components/List.js.map +7 -0
  27. package/dist/cjs/components/ListItem.js +49 -0
  28. package/dist/cjs/components/ListItem.js.map +7 -0
  29. package/dist/cjs/components/NoResults.js +53 -0
  30. package/dist/cjs/components/NoResults.js.map +7 -0
  31. package/dist/cjs/components/RowsLoader.js +41 -0
  32. package/dist/cjs/components/RowsLoader.js.map +7 -0
  33. package/dist/cjs/components/Table.js +125 -0
  34. package/dist/cjs/components/Table.js.map +7 -0
  35. package/dist/cjs/components/TableBody.js +71 -0
  36. package/dist/cjs/components/TableBody.js.map +7 -0
  37. package/dist/cjs/components/TableHeader.js +60 -0
  38. package/dist/cjs/components/TableHeader.js.map +7 -0
  39. package/dist/cjs/components/footer/addOptionalFooterComponents.js +60 -0
  40. package/dist/cjs/components/footer/addOptionalFooterComponents.js.map +7 -0
  41. package/dist/cjs/components/header/PrimaryControls.js +54 -0
  42. package/dist/cjs/components/header/PrimaryControls.js.map +7 -0
  43. package/dist/cjs/components/header/addOptionalHeaderComponents.js +62 -0
  44. package/dist/cjs/components/header/addOptionalHeaderComponents.js.map +7 -0
  45. package/dist/cjs/components/index.js +44 -0
  46. package/dist/cjs/components/index.js.map +7 -0
  47. package/dist/cjs/components/renderers/defaultClassedRenderers.js +67 -0
  48. package/dist/cjs/components/renderers/defaultClassedRenderers.js.map +7 -0
  49. package/dist/cjs/components/renderers/index.js +51 -0
  50. package/dist/cjs/components/renderers/index.js.map +7 -0
  51. package/dist/cjs/components/renderers/renderRowsLoader.js +38 -0
  52. package/dist/cjs/components/renderers/renderRowsLoader.js.map +7 -0
  53. package/dist/cjs/components/tableContext.js +37 -0
  54. package/dist/cjs/components/tableContext.js.map +7 -0
  55. package/dist/cjs/defaultPlugins.js +40 -0
  56. package/dist/cjs/defaultPlugins.js.map +7 -0
  57. package/dist/cjs/index.js +73 -0
  58. package/dist/cjs/index.js.map +7 -0
  59. package/dist/cjs/package.json +7 -0
  60. package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +145 -0
  61. package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +7 -0
  62. package/dist/cjs/plugins/body-header-scroll-sync/index.js +36 -0
  63. package/dist/cjs/plugins/body-header-scroll-sync/index.js.map +7 -0
  64. package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js +159 -0
  65. package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js.map +7 -0
  66. package/dist/cjs/plugins/column-dnd/decorateGridWithDndColumns.js +48 -0
  67. package/dist/cjs/plugins/column-dnd/decorateGridWithDndColumns.js.map +7 -0
  68. package/dist/cjs/plugins/column-dnd/index.js +36 -0
  69. package/dist/cjs/plugins/column-dnd/index.js.map +7 -0
  70. package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js +93 -0
  71. package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js.map +7 -0
  72. package/dist/cjs/plugins/column-sizing/columnMeasurerTransformer.js +70 -0
  73. package/dist/cjs/plugins/column-sizing/columnMeasurerTransformer.js.map +7 -0
  74. package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js +45 -0
  75. package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js.map +7 -0
  76. package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js +65 -0
  77. package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js.map +7 -0
  78. package/dist/cjs/plugins/column-sizing/getColumnNameFromProperty.js +38 -0
  79. package/dist/cjs/plugins/column-sizing/getColumnNameFromProperty.js.map +7 -0
  80. package/dist/cjs/plugins/column-sizing/index.js +36 -0
  81. package/dist/cjs/plugins/column-sizing/index.js.map +7 -0
  82. package/dist/cjs/plugins/column-sizing/useColumnSizeService.js +148 -0
  83. package/dist/cjs/plugins/column-sizing/useColumnSizeService.js.map +7 -0
  84. package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js +181 -0
  85. package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js.map +7 -0
  86. package/dist/cjs/plugins/column-sizing/utils.js +69 -0
  87. package/dist/cjs/plugins/column-sizing/utils.js.map +7 -0
  88. package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js +41 -0
  89. package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +7 -0
  90. package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js +79 -0
  91. package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +7 -0
  92. package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js +60 -0
  93. package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js.map +7 -0
  94. package/dist/cjs/plugins/custom-cell-renderer/index.js +36 -0
  95. package/dist/cjs/plugins/custom-cell-renderer/index.js.map +7 -0
  96. package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js +73 -0
  97. package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js.map +7 -0
  98. package/dist/cjs/plugins/editable/EditableComponents/TextBox.js +95 -0
  99. package/dist/cjs/plugins/editable/EditableComponents/TextBox.js.map +7 -0
  100. package/dist/cjs/plugins/editable/EditableComponents/index.js +38 -0
  101. package/dist/cjs/plugins/editable/EditableComponents/index.js.map +7 -0
  102. package/dist/cjs/plugins/editable/EditablePlugin.js +112 -0
  103. package/dist/cjs/plugins/editable/EditablePlugin.js.map +7 -0
  104. package/dist/cjs/plugins/editable/decorateEditable.js +96 -0
  105. package/dist/cjs/plugins/editable/decorateEditable.js.map +7 -0
  106. package/dist/cjs/plugins/editable/getEditorComponent.js +60 -0
  107. package/dist/cjs/plugins/editable/getEditorComponent.js.map +7 -0
  108. package/dist/cjs/plugins/editable/index.js +39 -0
  109. package/dist/cjs/plugins/editable/index.js.map +7 -0
  110. package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js +131 -0
  111. package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js.map +7 -0
  112. package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js +197 -0
  113. package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js.map +7 -0
  114. package/dist/cjs/plugins/expandable-grid/ExpandedRow.js +147 -0
  115. package/dist/cjs/plugins/expandable-grid/ExpandedRow.js.map +7 -0
  116. package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js +57 -0
  117. package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js.map +7 -0
  118. package/dist/cjs/plugins/expandable-grid/index.js +38 -0
  119. package/dist/cjs/plugins/expandable-grid/index.js.map +7 -0
  120. package/dist/cjs/plugins/expandable-grid/useExpandGridState.js +94 -0
  121. package/dist/cjs/plugins/expandable-grid/useExpandGridState.js.map +7 -0
  122. package/dist/cjs/plugins/export-data/ExportDataPlugin.js +135 -0
  123. package/dist/cjs/plugins/export-data/ExportDataPlugin.js.map +7 -0
  124. package/dist/cjs/plugins/export-data/index.js +36 -0
  125. package/dist/cjs/plugins/export-data/index.js.map +7 -0
  126. package/dist/cjs/plugins/filterable/FilterablePlugin.js +84 -0
  127. package/dist/cjs/plugins/filterable/FilterablePlugin.js.map +7 -0
  128. package/dist/cjs/plugins/filterable/addFilterToColumn.js +44 -0
  129. package/dist/cjs/plugins/filterable/addFilterToColumn.js.map +7 -0
  130. package/dist/cjs/plugins/filterable/components/FilterableHeader.js +133 -0
  131. package/dist/cjs/plugins/filterable/components/FilterableHeader.js.map +7 -0
  132. package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +179 -0
  133. package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +7 -0
  134. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +133 -0
  135. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +7 -0
  136. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +231 -0
  137. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +7 -0
  138. package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js +183 -0
  139. package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +7 -0
  140. package/dist/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js +36 -0
  141. package/dist/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +7 -0
  142. package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +48 -0
  143. package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +7 -0
  144. package/dist/cjs/plugins/filterable/filterableFormatter.js +69 -0
  145. package/dist/cjs/plugins/filterable/filterableFormatter.js.map +7 -0
  146. package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js +83 -0
  147. package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +7 -0
  148. package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js +45 -0
  149. package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js.map +7 -0
  150. package/dist/cjs/plugins/filterable/helper.js +113 -0
  151. package/dist/cjs/plugins/filterable/helper.js.map +7 -0
  152. package/dist/cjs/plugins/filterable/index.js +36 -0
  153. package/dist/cjs/plugins/filterable/index.js.map +7 -0
  154. package/dist/cjs/plugins/filterable/useFilterableState.js +112 -0
  155. package/dist/cjs/plugins/filterable/useFilterableState.js.map +7 -0
  156. package/dist/cjs/plugins/grouping-by/GroupingByPlugin.js +58 -0
  157. package/dist/cjs/plugins/grouping-by/GroupingByPlugin.js.map +7 -0
  158. package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js +134 -0
  159. package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js.map +7 -0
  160. package/dist/cjs/plugins/grouping-grid/walkStrategy.js +77 -0
  161. package/dist/cjs/plugins/grouping-grid/walkStrategy.js.map +7 -0
  162. package/dist/cjs/plugins/index.js +69 -0
  163. package/dist/cjs/plugins/index.js.map +7 -0
  164. package/dist/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js +101 -0
  165. package/dist/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +7 -0
  166. package/dist/cjs/plugins/infinite-scrolling/index.js +36 -0
  167. package/dist/cjs/plugins/infinite-scrolling/index.js.map +7 -0
  168. package/dist/cjs/plugins/pagination/PaginationPlugin.js +90 -0
  169. package/dist/cjs/plugins/pagination/PaginationPlugin.js.map +7 -0
  170. package/dist/cjs/plugins/pagination/components/Pagination.js +57 -0
  171. package/dist/cjs/plugins/pagination/components/Pagination.js.map +7 -0
  172. package/dist/cjs/plugins/pagination/components/Paginator.js +73 -0
  173. package/dist/cjs/plugins/pagination/components/Paginator.js.map +7 -0
  174. package/dist/cjs/plugins/pagination/components/PerPageDropdown.js +74 -0
  175. package/dist/cjs/plugins/pagination/components/PerPageDropdown.js.map +7 -0
  176. package/dist/cjs/plugins/pagination/helper.js +63 -0
  177. package/dist/cjs/plugins/pagination/helper.js.map +7 -0
  178. package/dist/cjs/plugins/pagination/index.js +36 -0
  179. package/dist/cjs/plugins/pagination/index.js.map +7 -0
  180. package/dist/cjs/plugins/pagination/usePaginationState.js +83 -0
  181. package/dist/cjs/plugins/pagination/usePaginationState.js.map +7 -0
  182. package/dist/cjs/plugins/resizable/ResizablePlugin.js +116 -0
  183. package/dist/cjs/plugins/resizable/ResizablePlugin.js.map +7 -0
  184. package/dist/cjs/plugins/resizable/decorateResizable.js +57 -0
  185. package/dist/cjs/plugins/resizable/decorateResizable.js.map +7 -0
  186. package/dist/cjs/plugins/resizable/index.js +36 -0
  187. package/dist/cjs/plugins/resizable/index.js.map +7 -0
  188. package/dist/cjs/plugins/resizable/useResizeHandle.js +75 -0
  189. package/dist/cjs/plugins/resizable/useResizeHandle.js.map +7 -0
  190. package/dist/cjs/plugins/resizable/utils.js +55 -0
  191. package/dist/cjs/plugins/resizable/utils.js.map +7 -0
  192. package/dist/cjs/plugins/row-dnd/DndRowsPlugin.js +140 -0
  193. package/dist/cjs/plugins/row-dnd/DndRowsPlugin.js.map +7 -0
  194. package/dist/cjs/plugins/row-dnd/index.js +36 -0
  195. package/dist/cjs/plugins/row-dnd/index.js.map +7 -0
  196. package/dist/cjs/plugins/selectable/SelectablePlugin.js +170 -0
  197. package/dist/cjs/plugins/selectable/SelectablePlugin.js.map +7 -0
  198. package/dist/cjs/plugins/selectable/addSelectableColumn.js +105 -0
  199. package/dist/cjs/plugins/selectable/addSelectableColumn.js.map +7 -0
  200. package/dist/cjs/plugins/selectable/helper.js +55 -0
  201. package/dist/cjs/plugins/selectable/helper.js.map +7 -0
  202. package/dist/cjs/plugins/selectable/index.js +36 -0
  203. package/dist/cjs/plugins/selectable/index.js.map +7 -0
  204. package/dist/cjs/plugins/selectable/selectableFormatter.js +99 -0
  205. package/dist/cjs/plugins/selectable/selectableFormatter.js.map +7 -0
  206. package/dist/cjs/plugins/selectable/useSelectableState.js +128 -0
  207. package/dist/cjs/plugins/selectable/useSelectableState.js.map +7 -0
  208. package/dist/cjs/plugins/sortable/SortablePlugin.js +98 -0
  209. package/dist/cjs/plugins/sortable/SortablePlugin.js.map +7 -0
  210. package/dist/cjs/plugins/sortable/checkIfSortable.js +46 -0
  211. package/dist/cjs/plugins/sortable/checkIfSortable.js.map +7 -0
  212. package/dist/cjs/plugins/sortable/index.js +36 -0
  213. package/dist/cjs/plugins/sortable/index.js.map +7 -0
  214. package/dist/cjs/plugins/sortable/sortHeaderFormatter.js +66 -0
  215. package/dist/cjs/plugins/sortable/sortHeaderFormatter.js.map +7 -0
  216. package/dist/cjs/plugins/sortable/sortTree.js +49 -0
  217. package/dist/cjs/plugins/sortable/sortTree.js.map +7 -0
  218. package/dist/cjs/plugins/sortable/sorter.js +154 -0
  219. package/dist/cjs/plugins/sortable/sorter.js.map +7 -0
  220. package/dist/cjs/plugins/sortable/useSortableState.js +74 -0
  221. package/dist/cjs/plugins/sortable/useSortableState.js.map +7 -0
  222. package/dist/cjs/plugins/toolbar/RowRenderer.js +109 -0
  223. package/dist/cjs/plugins/toolbar/RowRenderer.js.map +7 -0
  224. package/dist/cjs/plugins/toolbar/ToolbarPlugin.js +63 -0
  225. package/dist/cjs/plugins/toolbar/ToolbarPlugin.js.map +7 -0
  226. package/dist/cjs/plugins/toolbar/ToolbarTrigger.js +115 -0
  227. package/dist/cjs/plugins/toolbar/ToolbarTrigger.js.map +7 -0
  228. package/dist/cjs/plugins/toolbar/index.js +36 -0
  229. package/dist/cjs/plugins/toolbar/index.js.map +7 -0
  230. package/dist/cjs/plugins/virtualization/AutoHeightList.js +78 -0
  231. package/dist/cjs/plugins/virtualization/AutoHeightList.js.map +7 -0
  232. package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js +109 -0
  233. package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js.map +7 -0
  234. package/dist/cjs/plugins/virtualization/VirtualizedBody.js +275 -0
  235. package/dist/cjs/plugins/virtualization/VirtualizedBody.js.map +7 -0
  236. package/dist/cjs/plugins/virtualization/VirtualizedBodyRow.js +58 -0
  237. package/dist/cjs/plugins/virtualization/VirtualizedBodyRow.js.map +7 -0
  238. package/dist/cjs/plugins/virtualization/helper.js +36 -0
  239. package/dist/cjs/plugins/virtualization/helper.js.map +7 -0
  240. package/dist/cjs/plugins/virtualization/index.js +36 -0
  241. package/dist/cjs/plugins/virtualization/index.js.map +7 -0
  242. package/dist/cjs/renders/CellWithAddons.js +113 -0
  243. package/dist/cjs/renders/CellWithAddons.js.map +7 -0
  244. package/dist/cjs/renders/index.js +38 -0
  245. package/dist/cjs/renders/index.js.map +7 -0
  246. package/dist/cjs/renders/styled.js +79 -0
  247. package/dist/cjs/renders/styled.js.map +7 -0
  248. package/dist/cjs/rowSizes.js +48 -0
  249. package/dist/cjs/rowSizes.js.map +7 -0
  250. package/dist/cjs/utilities/DataGridUtilities.json +1315 -0
  251. package/dist/cjs/utilities/getPluginsFromProps.js +73 -0
  252. package/dist/cjs/utilities/getPluginsFromProps.js.map +7 -0
  253. package/dist/cjs/utilities/getScrollbarSize.js +47 -0
  254. package/dist/cjs/utilities/getScrollbarSize.js.map +7 -0
  255. package/dist/cjs/utilities/normalizeData.js +50 -0
  256. package/dist/cjs/utilities/normalizeData.js.map +7 -0
  257. package/dist/esm/DSDataGrid.js +559 -0
  258. package/dist/esm/DSDataGrid.js.map +7 -0
  259. package/dist/esm/DataGridImpl.js +126 -0
  260. package/dist/esm/DataGridImpl.js.map +7 -0
  261. package/dist/esm/PaginatedDataGrid.js +54 -0
  262. package/dist/esm/PaginatedDataGrid.js.map +7 -0
  263. package/dist/esm/blockNames.js +10 -0
  264. package/dist/esm/blockNames.js.map +7 -0
  265. package/dist/esm/columns/IconColumn.js +79 -0
  266. package/dist/esm/columns/IconColumn.js.map +7 -0
  267. package/dist/esm/columns/NumberColumn.js +7 -0
  268. package/dist/esm/columns/NumberColumn.js.map +7 -0
  269. package/dist/esm/components/BodyCell.js +84 -0
  270. package/dist/esm/components/BodyCell.js.map +7 -0
  271. package/dist/esm/components/BodyList.js +18 -0
  272. package/dist/esm/components/BodyList.js.map +7 -0
  273. package/dist/esm/components/ColumnVisibilityMenuOption.js +35 -0
  274. package/dist/esm/components/ColumnVisibilityMenuOption.js.map +7 -0
  275. package/dist/esm/components/ColumnsOptionsMenuSection.js +33 -0
  276. package/dist/esm/components/ColumnsOptionsMenuSection.js.map +7 -0
  277. package/dist/esm/components/EmptyState.js +51 -0
  278. package/dist/esm/components/EmptyState.js.map +7 -0
  279. package/dist/esm/components/HeaderCell.js +49 -0
  280. package/dist/esm/components/HeaderCell.js.map +7 -0
  281. package/dist/esm/components/List.js +13 -0
  282. package/dist/esm/components/List.js.map +7 -0
  283. package/dist/esm/components/ListItem.js +19 -0
  284. package/dist/esm/components/ListItem.js.map +7 -0
  285. package/dist/esm/components/NoResults.js +23 -0
  286. package/dist/esm/components/NoResults.js.map +7 -0
  287. package/dist/esm/components/RowsLoader.js +11 -0
  288. package/dist/esm/components/RowsLoader.js.map +7 -0
  289. package/dist/esm/components/Table.js +95 -0
  290. package/dist/esm/components/Table.js.map +7 -0
  291. package/dist/esm/components/TableBody.js +41 -0
  292. package/dist/esm/components/TableBody.js.map +7 -0
  293. package/dist/esm/components/TableHeader.js +30 -0
  294. package/dist/esm/components/TableHeader.js.map +7 -0
  295. package/dist/esm/components/footer/addOptionalFooterComponents.js +30 -0
  296. package/dist/esm/components/footer/addOptionalFooterComponents.js.map +7 -0
  297. package/dist/esm/components/header/PrimaryControls.js +24 -0
  298. package/dist/esm/components/header/PrimaryControls.js.map +7 -0
  299. package/dist/esm/components/header/addOptionalHeaderComponents.js +32 -0
  300. package/dist/esm/components/header/addOptionalHeaderComponents.js.map +7 -0
  301. package/dist/esm/components/index.js +14 -0
  302. package/dist/esm/components/index.js.map +7 -0
  303. package/dist/esm/components/renderers/defaultClassedRenderers.js +37 -0
  304. package/dist/esm/components/renderers/defaultClassedRenderers.js.map +7 -0
  305. package/dist/esm/components/renderers/index.js +29 -0
  306. package/dist/esm/components/renderers/index.js.map +7 -0
  307. package/dist/esm/components/renderers/renderRowsLoader.js +8 -0
  308. package/dist/esm/components/renderers/renderRowsLoader.js.map +7 -0
  309. package/dist/esm/components/tableContext.js +7 -0
  310. package/dist/esm/components/tableContext.js.map +7 -0
  311. package/dist/esm/defaultPlugins.js +10 -0
  312. package/dist/esm/defaultPlugins.js.map +7 -0
  313. package/dist/esm/index.js +63 -0
  314. package/dist/esm/index.js.map +7 -0
  315. package/dist/esm/package.json +7 -0
  316. package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +115 -0
  317. package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +7 -0
  318. package/dist/esm/plugins/body-header-scroll-sync/index.js +6 -0
  319. package/dist/esm/plugins/body-header-scroll-sync/index.js.map +7 -0
  320. package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js +129 -0
  321. package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js.map +7 -0
  322. package/dist/esm/plugins/column-dnd/decorateGridWithDndColumns.js +18 -0
  323. package/dist/esm/plugins/column-dnd/decorateGridWithDndColumns.js.map +7 -0
  324. package/dist/esm/plugins/column-dnd/index.js +6 -0
  325. package/dist/esm/plugins/column-dnd/index.js.map +7 -0
  326. package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js +63 -0
  327. package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js.map +7 -0
  328. package/dist/esm/plugins/column-sizing/columnMeasurerTransformer.js +40 -0
  329. package/dist/esm/plugins/column-sizing/columnMeasurerTransformer.js.map +7 -0
  330. package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js +15 -0
  331. package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js.map +7 -0
  332. package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js +35 -0
  333. package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js.map +7 -0
  334. package/dist/esm/plugins/column-sizing/getColumnNameFromProperty.js +8 -0
  335. package/dist/esm/plugins/column-sizing/getColumnNameFromProperty.js.map +7 -0
  336. package/dist/esm/plugins/column-sizing/index.js +6 -0
  337. package/dist/esm/plugins/column-sizing/index.js.map +7 -0
  338. package/dist/esm/plugins/column-sizing/useColumnSizeService.js +118 -0
  339. package/dist/esm/plugins/column-sizing/useColumnSizeService.js.map +7 -0
  340. package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js +151 -0
  341. package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js.map +7 -0
  342. package/dist/esm/plugins/column-sizing/utils.js +39 -0
  343. package/dist/esm/plugins/column-sizing/utils.js.map +7 -0
  344. package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js +11 -0
  345. package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +7 -0
  346. package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js +49 -0
  347. package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +7 -0
  348. package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js +30 -0
  349. package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js.map +7 -0
  350. package/dist/esm/plugins/custom-cell-renderer/index.js +6 -0
  351. package/dist/esm/plugins/custom-cell-renderer/index.js.map +7 -0
  352. package/dist/esm/plugins/editable/EditableComponents/ComboBox.js +43 -0
  353. package/dist/esm/plugins/editable/EditableComponents/ComboBox.js.map +7 -0
  354. package/dist/esm/plugins/editable/EditableComponents/TextBox.js +65 -0
  355. package/dist/esm/plugins/editable/EditableComponents/TextBox.js.map +7 -0
  356. package/dist/esm/plugins/editable/EditableComponents/index.js +8 -0
  357. package/dist/esm/plugins/editable/EditableComponents/index.js.map +7 -0
  358. package/dist/esm/plugins/editable/EditablePlugin.js +82 -0
  359. package/dist/esm/plugins/editable/EditablePlugin.js.map +7 -0
  360. package/dist/esm/plugins/editable/decorateEditable.js +66 -0
  361. package/dist/esm/plugins/editable/decorateEditable.js.map +7 -0
  362. package/dist/esm/plugins/editable/getEditorComponent.js +30 -0
  363. package/dist/esm/plugins/editable/getEditorComponent.js.map +7 -0
  364. package/dist/esm/plugins/editable/index.js +9 -0
  365. package/dist/esm/plugins/editable/index.js.map +7 -0
  366. package/dist/esm/plugins/expandable-grid/ExpandableColumn.js +101 -0
  367. package/dist/esm/plugins/expandable-grid/ExpandableColumn.js.map +7 -0
  368. package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js +167 -0
  369. package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js.map +7 -0
  370. package/dist/esm/plugins/expandable-grid/ExpandedRow.js +117 -0
  371. package/dist/esm/plugins/expandable-grid/ExpandedRow.js.map +7 -0
  372. package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js +27 -0
  373. package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js.map +7 -0
  374. package/dist/esm/plugins/expandable-grid/index.js +8 -0
  375. package/dist/esm/plugins/expandable-grid/index.js.map +7 -0
  376. package/dist/esm/plugins/expandable-grid/useExpandGridState.js +64 -0
  377. package/dist/esm/plugins/expandable-grid/useExpandGridState.js.map +7 -0
  378. package/dist/esm/plugins/export-data/ExportDataPlugin.js +105 -0
  379. package/dist/esm/plugins/export-data/ExportDataPlugin.js.map +7 -0
  380. package/dist/esm/plugins/export-data/index.js +6 -0
  381. package/dist/esm/plugins/export-data/index.js.map +7 -0
  382. package/dist/esm/plugins/filterable/FilterablePlugin.js +54 -0
  383. package/dist/esm/plugins/filterable/FilterablePlugin.js.map +7 -0
  384. package/dist/esm/plugins/filterable/addFilterToColumn.js +14 -0
  385. package/dist/esm/plugins/filterable/addFilterToColumn.js.map +7 -0
  386. package/dist/esm/plugins/filterable/components/FilterableHeader.js +103 -0
  387. package/dist/esm/plugins/filterable/components/FilterableHeader.js.map +7 -0
  388. package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +149 -0
  389. package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +7 -0
  390. package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +103 -0
  391. package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +7 -0
  392. package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +205 -0
  393. package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +7 -0
  394. package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js +153 -0
  395. package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +7 -0
  396. package/dist/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js +6 -0
  397. package/dist/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +7 -0
  398. package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +18 -0
  399. package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +7 -0
  400. package/dist/esm/plugins/filterable/filterableFormatter.js +39 -0
  401. package/dist/esm/plugins/filterable/filterableFormatter.js.map +7 -0
  402. package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js +53 -0
  403. package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +7 -0
  404. package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js +15 -0
  405. package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js.map +7 -0
  406. package/dist/esm/plugins/filterable/helper.js +83 -0
  407. package/dist/esm/plugins/filterable/helper.js.map +7 -0
  408. package/dist/esm/plugins/filterable/index.js +6 -0
  409. package/dist/esm/plugins/filterable/index.js.map +7 -0
  410. package/dist/esm/plugins/filterable/useFilterableState.js +82 -0
  411. package/dist/esm/plugins/filterable/useFilterableState.js.map +7 -0
  412. package/dist/esm/plugins/grouping-by/GroupingByPlugin.js +28 -0
  413. package/dist/esm/plugins/grouping-by/GroupingByPlugin.js.map +7 -0
  414. package/dist/esm/plugins/grouping-grid/GroupingPlugin.js +104 -0
  415. package/dist/esm/plugins/grouping-grid/GroupingPlugin.js.map +7 -0
  416. package/dist/esm/plugins/grouping-grid/walkStrategy.js +47 -0
  417. package/dist/esm/plugins/grouping-grid/walkStrategy.js.map +7 -0
  418. package/dist/esm/plugins/index.js +39 -0
  419. package/dist/esm/plugins/index.js.map +7 -0
  420. package/dist/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js +71 -0
  421. package/dist/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +7 -0
  422. package/dist/esm/plugins/infinite-scrolling/index.js +6 -0
  423. package/dist/esm/plugins/infinite-scrolling/index.js.map +7 -0
  424. package/dist/esm/plugins/pagination/PaginationPlugin.js +60 -0
  425. package/dist/esm/plugins/pagination/PaginationPlugin.js.map +7 -0
  426. package/dist/esm/plugins/pagination/components/Pagination.js +27 -0
  427. package/dist/esm/plugins/pagination/components/Pagination.js.map +7 -0
  428. package/dist/esm/plugins/pagination/components/Paginator.js +43 -0
  429. package/dist/esm/plugins/pagination/components/Paginator.js.map +7 -0
  430. package/dist/esm/plugins/pagination/components/PerPageDropdown.js +44 -0
  431. package/dist/esm/plugins/pagination/components/PerPageDropdown.js.map +7 -0
  432. package/dist/esm/plugins/pagination/helper.js +33 -0
  433. package/dist/esm/plugins/pagination/helper.js.map +7 -0
  434. package/dist/esm/plugins/pagination/index.js +6 -0
  435. package/dist/esm/plugins/pagination/index.js.map +7 -0
  436. package/dist/esm/plugins/pagination/usePaginationState.js +53 -0
  437. package/dist/esm/plugins/pagination/usePaginationState.js.map +7 -0
  438. package/dist/esm/plugins/resizable/ResizablePlugin.js +86 -0
  439. package/dist/esm/plugins/resizable/ResizablePlugin.js.map +7 -0
  440. package/dist/esm/plugins/resizable/decorateResizable.js +27 -0
  441. package/dist/esm/plugins/resizable/decorateResizable.js.map +7 -0
  442. package/dist/esm/plugins/resizable/index.js +6 -0
  443. package/dist/esm/plugins/resizable/index.js.map +7 -0
  444. package/dist/esm/plugins/resizable/useResizeHandle.js +45 -0
  445. package/dist/esm/plugins/resizable/useResizeHandle.js.map +7 -0
  446. package/dist/esm/plugins/resizable/utils.js +25 -0
  447. package/dist/esm/plugins/resizable/utils.js.map +7 -0
  448. package/dist/esm/plugins/row-dnd/DndRowsPlugin.js +110 -0
  449. package/dist/esm/plugins/row-dnd/DndRowsPlugin.js.map +7 -0
  450. package/dist/esm/plugins/row-dnd/index.js +6 -0
  451. package/dist/esm/plugins/row-dnd/index.js.map +7 -0
  452. package/dist/esm/plugins/selectable/SelectablePlugin.js +140 -0
  453. package/dist/esm/plugins/selectable/SelectablePlugin.js.map +7 -0
  454. package/dist/esm/plugins/selectable/addSelectableColumn.js +75 -0
  455. package/dist/esm/plugins/selectable/addSelectableColumn.js.map +7 -0
  456. package/dist/esm/plugins/selectable/helper.js +25 -0
  457. package/dist/esm/plugins/selectable/helper.js.map +7 -0
  458. package/dist/esm/plugins/selectable/index.js +6 -0
  459. package/dist/esm/plugins/selectable/index.js.map +7 -0
  460. package/dist/esm/plugins/selectable/selectableFormatter.js +69 -0
  461. package/dist/esm/plugins/selectable/selectableFormatter.js.map +7 -0
  462. package/dist/esm/plugins/selectable/useSelectableState.js +98 -0
  463. package/dist/esm/plugins/selectable/useSelectableState.js.map +7 -0
  464. package/dist/esm/plugins/sortable/SortablePlugin.js +68 -0
  465. package/dist/esm/plugins/sortable/SortablePlugin.js.map +7 -0
  466. package/dist/esm/plugins/sortable/checkIfSortable.js +16 -0
  467. package/dist/esm/plugins/sortable/checkIfSortable.js.map +7 -0
  468. package/dist/esm/plugins/sortable/index.js +6 -0
  469. package/dist/esm/plugins/sortable/index.js.map +7 -0
  470. package/dist/esm/plugins/sortable/sortHeaderFormatter.js +36 -0
  471. package/dist/esm/plugins/sortable/sortHeaderFormatter.js.map +7 -0
  472. package/dist/esm/plugins/sortable/sortTree.js +19 -0
  473. package/dist/esm/plugins/sortable/sortTree.js.map +7 -0
  474. package/dist/esm/plugins/sortable/sorter.js +124 -0
  475. package/dist/esm/plugins/sortable/sorter.js.map +7 -0
  476. package/dist/esm/plugins/sortable/useSortableState.js +44 -0
  477. package/dist/esm/plugins/sortable/useSortableState.js.map +7 -0
  478. package/dist/esm/plugins/toolbar/RowRenderer.js +79 -0
  479. package/dist/esm/plugins/toolbar/RowRenderer.js.map +7 -0
  480. package/dist/esm/plugins/toolbar/ToolbarPlugin.js +33 -0
  481. package/dist/esm/plugins/toolbar/ToolbarPlugin.js.map +7 -0
  482. package/dist/esm/plugins/toolbar/ToolbarTrigger.js +85 -0
  483. package/dist/esm/plugins/toolbar/ToolbarTrigger.js.map +7 -0
  484. package/dist/esm/plugins/toolbar/index.js +6 -0
  485. package/dist/esm/plugins/toolbar/index.js.map +7 -0
  486. package/dist/esm/plugins/virtualization/AutoHeightList.js +48 -0
  487. package/dist/esm/plugins/virtualization/AutoHeightList.js.map +7 -0
  488. package/dist/esm/plugins/virtualization/VirtualizationPlugin.js +79 -0
  489. package/dist/esm/plugins/virtualization/VirtualizationPlugin.js.map +7 -0
  490. package/dist/esm/plugins/virtualization/VirtualizedBody.js +245 -0
  491. package/dist/esm/plugins/virtualization/VirtualizedBody.js.map +7 -0
  492. package/dist/esm/plugins/virtualization/VirtualizedBodyRow.js +28 -0
  493. package/dist/esm/plugins/virtualization/VirtualizedBodyRow.js.map +7 -0
  494. package/dist/esm/plugins/virtualization/helper.js +6 -0
  495. package/dist/esm/plugins/virtualization/helper.js.map +7 -0
  496. package/dist/esm/plugins/virtualization/index.js +6 -0
  497. package/dist/esm/plugins/virtualization/index.js.map +7 -0
  498. package/dist/esm/renders/CellWithAddons.js +83 -0
  499. package/dist/esm/renders/CellWithAddons.js.map +7 -0
  500. package/dist/esm/renders/index.js +8 -0
  501. package/dist/esm/renders/index.js.map +7 -0
  502. package/dist/esm/renders/styled.js +49 -0
  503. package/dist/esm/renders/styled.js.map +7 -0
  504. package/dist/esm/rowSizes.js +18 -0
  505. package/dist/esm/rowSizes.js.map +7 -0
  506. package/dist/esm/utilities/DataGridUtilities.json +1315 -0
  507. package/dist/esm/utilities/getPluginsFromProps.js +43 -0
  508. package/dist/esm/utilities/getPluginsFromProps.js.map +7 -0
  509. package/dist/esm/utilities/getScrollbarSize.js +17 -0
  510. package/dist/esm/utilities/getScrollbarSize.js.map +7 -0
  511. package/dist/esm/utilities/normalizeData.js +20 -0
  512. package/dist/esm/utilities/normalizeData.js.map +7 -0
  513. package/dist/types/DSDataGrid.d.ts +452 -0
  514. package/dist/types/DataGridImpl.d.ts +12 -0
  515. package/dist/types/PaginatedDataGrid.d.ts +14 -0
  516. package/dist/types/blockNames.d.ts +4 -0
  517. package/dist/types/columns/IconColumn.d.ts +35 -0
  518. package/dist/types/columns/NumberColumn.d.ts +4 -0
  519. package/dist/types/components/BodyCell.d.ts +33 -0
  520. package/dist/types/components/BodyList.d.ts +11 -0
  521. package/dist/types/components/ColumnVisibilityMenuOption.d.ts +15 -0
  522. package/dist/types/components/ColumnsOptionsMenuSection.d.ts +8 -0
  523. package/dist/types/components/EmptyState.d.ts +6 -0
  524. package/dist/types/components/HeaderCell.d.ts +18 -0
  525. package/dist/types/components/List.d.ts +2 -0
  526. package/dist/types/components/ListItem.d.ts +2 -0
  527. package/dist/types/components/NoResults.d.ts +7 -0
  528. package/dist/types/components/RowsLoader.d.ts +4 -0
  529. package/dist/types/components/Table.d.ts +8 -0
  530. package/dist/types/components/TableBody.d.ts +4 -0
  531. package/dist/types/components/TableHeader.d.ts +3 -0
  532. package/dist/types/components/footer/addOptionalFooterComponents.d.ts +6 -0
  533. package/dist/types/components/header/PrimaryControls.d.ts +5 -0
  534. package/dist/types/components/header/addOptionalHeaderComponents.d.ts +10 -0
  535. package/dist/types/components/index.d.ts +5 -0
  536. package/dist/types/components/renderers/defaultClassedRenderers.d.ts +11 -0
  537. package/dist/types/components/renderers/index.d.ts +15 -0
  538. package/dist/types/components/renderers/renderRowsLoader.d.ts +1 -0
  539. package/dist/types/components/tableContext.d.ts +2 -0
  540. package/dist/types/components/tests/ColumnVisibilityMenu.test.d.ts +1 -0
  541. package/dist/types/defaultPlugins.d.ts +1 -0
  542. package/dist/types/index.d.ts +9 -0
  543. package/dist/types/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.d.ts +1 -0
  544. package/dist/types/plugins/body-header-scroll-sync/index.d.ts +1 -0
  545. package/dist/types/plugins/column-dnd/DndColumnsPlugin.d.ts +1 -0
  546. package/dist/types/plugins/column-dnd/decorateGridWithDndColumns.d.ts +2 -0
  547. package/dist/types/plugins/column-dnd/index.d.ts +1 -0
  548. package/dist/types/plugins/column-sizing/ColumnSizingPlugin.d.ts +1 -0
  549. package/dist/types/plugins/column-sizing/columnMeasurerTransformer.d.ts +6 -0
  550. package/dist/types/plugins/column-sizing/ext-points/decorateColumn.d.ts +1 -0
  551. package/dist/types/plugins/column-sizing/ext-points/getTableProps.d.ts +10 -0
  552. package/dist/types/plugins/column-sizing/getColumnNameFromProperty.d.ts +2 -0
  553. package/dist/types/plugins/column-sizing/index.d.ts +1 -0
  554. package/dist/types/plugins/column-sizing/useColumnSizeService.d.ts +18 -0
  555. package/dist/types/plugins/column-sizing/useStylesheetHelpers.d.ts +22 -0
  556. package/dist/types/plugins/column-sizing/utils.d.ts +5 -0
  557. package/dist/types/plugins/custom-cell-renderer/CustomRendererPlugin.d.ts +1 -0
  558. package/dist/types/plugins/custom-cell-renderer/addCustomRendererToCell.d.ts +4 -0
  559. package/dist/types/plugins/custom-cell-renderer/getRendererComponent.d.ts +11 -0
  560. package/dist/types/plugins/custom-cell-renderer/index.d.ts +1 -0
  561. package/dist/types/plugins/editable/EditableComponents/ComboBox.d.ts +12 -0
  562. package/dist/types/plugins/editable/EditableComponents/TextBox.d.ts +24 -0
  563. package/dist/types/plugins/editable/EditableComponents/index.d.ts +2 -0
  564. package/dist/types/plugins/editable/EditablePlugin.d.ts +1 -0
  565. package/dist/types/plugins/editable/decorateEditable.d.ts +7 -0
  566. package/dist/types/plugins/editable/getEditorComponent.d.ts +7 -0
  567. package/dist/types/plugins/editable/index.d.ts +2 -0
  568. package/dist/types/plugins/expandable-grid/ExpandableColumn.d.ts +28 -0
  569. package/dist/types/plugins/expandable-grid/ExpandablePlugin.d.ts +1 -0
  570. package/dist/types/plugins/expandable-grid/ExpandedRow.d.ts +11 -0
  571. package/dist/types/plugins/expandable-grid/ExpandedRowExtra.d.ts +9 -0
  572. package/dist/types/plugins/expandable-grid/index.d.ts +2 -0
  573. package/dist/types/plugins/expandable-grid/tests/ExpandablePlugin.test.d.ts +1 -0
  574. package/dist/types/plugins/expandable-grid/useExpandGridState.d.ts +16 -0
  575. package/dist/types/plugins/export-data/ExportDataPlugin.d.ts +4 -0
  576. package/dist/types/plugins/export-data/index.d.ts +1 -0
  577. package/dist/types/plugins/filterable/FilterablePlugin.d.ts +1 -0
  578. package/dist/types/plugins/filterable/addFilterToColumn.d.ts +1 -0
  579. package/dist/types/plugins/filterable/components/FilterableHeader.d.ts +28 -0
  580. package/dist/types/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.d.ts +30 -0
  581. package/dist/types/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.d.ts +27 -0
  582. package/dist/types/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.d.ts +31 -0
  583. package/dist/types/plugins/filterable/components/filterable-menus/TextFilterMenu.d.ts +35 -0
  584. package/dist/types/plugins/filterable/components/filterable-menus/defaultDateFormat.d.ts +1 -0
  585. package/dist/types/plugins/filterable/components/filterable-menus/getFilterMenuByType.d.ts +2 -0
  586. package/dist/types/plugins/filterable/filterableFormatter.d.ts +11 -0
  587. package/dist/types/plugins/filterable/filtering-helper/filterRowsByQuery.d.ts +3 -0
  588. package/dist/types/plugins/filterable/filtering-helper/strategiesOperators.d.ts +2 -0
  589. package/dist/types/plugins/filterable/helper.d.ts +22 -0
  590. package/dist/types/plugins/filterable/index.d.ts +1 -0
  591. package/dist/types/plugins/filterable/useFilterableState.d.ts +18 -0
  592. package/dist/types/plugins/grouping-by/GroupingByPlugin.d.ts +1 -0
  593. package/dist/types/plugins/grouping-grid/GroupingPlugin.d.ts +1 -0
  594. package/dist/types/plugins/grouping-grid/walkStrategy.d.ts +9 -0
  595. package/dist/types/plugins/index.d.ts +16 -0
  596. package/dist/types/plugins/infinite-scrolling/InfiniteScrollPlugin.d.ts +1 -0
  597. package/dist/types/plugins/infinite-scrolling/index.d.ts +1 -0
  598. package/dist/types/plugins/pagination/PaginationPlugin.d.ts +1 -0
  599. package/dist/types/plugins/pagination/components/Pagination.d.ts +10 -0
  600. package/dist/types/plugins/pagination/components/Paginator.d.ts +9 -0
  601. package/dist/types/plugins/pagination/components/PerPageDropdown.d.ts +9 -0
  602. package/dist/types/plugins/pagination/helper.d.ts +18 -0
  603. package/dist/types/plugins/pagination/index.d.ts +1 -0
  604. package/dist/types/plugins/pagination/usePaginationState.d.ts +9 -0
  605. package/dist/types/plugins/resizable/ResizablePlugin.d.ts +1 -0
  606. package/dist/types/plugins/resizable/decorateResizable.d.ts +3 -0
  607. package/dist/types/plugins/resizable/index.d.ts +1 -0
  608. package/dist/types/plugins/resizable/useResizeHandle.d.ts +13 -0
  609. package/dist/types/plugins/resizable/utils.d.ts +3 -0
  610. package/dist/types/plugins/row-dnd/DndRowsPlugin.d.ts +1 -0
  611. package/dist/types/plugins/row-dnd/index.d.ts +1 -0
  612. package/dist/types/plugins/selectable/SelectablePlugin.d.ts +1 -0
  613. package/dist/types/plugins/selectable/addSelectableColumn.d.ts +30 -0
  614. package/dist/types/plugins/selectable/helper.d.ts +6 -0
  615. package/dist/types/plugins/selectable/index.d.ts +1 -0
  616. package/dist/types/plugins/selectable/selectableFormatter.d.ts +9 -0
  617. package/dist/types/plugins/selectable/useSelectableState.d.ts +12 -0
  618. package/dist/types/plugins/sortable/SortablePlugin.d.ts +1 -0
  619. package/dist/types/plugins/sortable/checkIfSortable.d.ts +2 -0
  620. package/dist/types/plugins/sortable/index.d.ts +1 -0
  621. package/dist/types/plugins/sortable/sortHeaderFormatter.d.ts +6 -0
  622. package/dist/types/plugins/sortable/sortTree.d.ts +3 -0
  623. package/dist/types/plugins/sortable/sorter.d.ts +12 -0
  624. package/dist/types/plugins/sortable/useSortableState.d.ts +8 -0
  625. package/dist/types/plugins/toolbar/RowRenderer.d.ts +10 -0
  626. package/dist/types/plugins/toolbar/ToolbarPlugin.d.ts +1 -0
  627. package/dist/types/plugins/toolbar/ToolbarTrigger.d.ts +7 -0
  628. package/dist/types/plugins/toolbar/index.d.ts +1 -0
  629. package/dist/types/plugins/virtualization/AutoHeightList.d.ts +3 -0
  630. package/dist/types/plugins/virtualization/VirtualizationPlugin.d.ts +1 -0
  631. package/dist/types/plugins/virtualization/VirtualizedBody.d.ts +32 -0
  632. package/dist/types/plugins/virtualization/VirtualizedBodyRow.d.ts +8 -0
  633. package/dist/types/plugins/virtualization/helper.d.ts +1 -0
  634. package/dist/types/plugins/virtualization/index.d.ts +1 -0
  635. package/dist/types/renders/CellWithAddons.d.ts +51 -0
  636. package/dist/types/renders/index.d.ts +2 -0
  637. package/dist/types/renders/styled.d.ts +4 -0
  638. package/dist/types/rowSizes.d.ts +11 -0
  639. package/dist/types/tests/DataGrid-Columns.test.d.ts +1 -0
  640. package/dist/types/tests/DataGrid-Editable.test.d.ts +1 -0
  641. package/dist/types/tests/DataGrid-Export.test.d.ts +1 -0
  642. package/dist/types/tests/DataGrid-Filter-helper.test.d.ts +1 -0
  643. package/dist/types/tests/DataGrid-Filterable-Dates.test.d.ts +1 -0
  644. package/dist/types/tests/DataGrid-Filterable-State.test.d.ts +1 -0
  645. package/dist/types/tests/DataGrid-RowDnd.test.d.ts +1 -0
  646. package/dist/types/tests/DataGrid-Selectable.test.d.ts +1 -0
  647. package/dist/types/tests/DataGrid-Sortable.test.d.ts +1 -0
  648. package/dist/types/tests/DataGrid-Toolbar.test.d.ts +1 -0
  649. package/dist/types/tests/DataGrid-Virtualization.test.d.ts +1 -0
  650. package/dist/types/tests/DataGrids-ColumnSizing.test.d.ts +1 -0
  651. package/dist/types/tests/DataGrids-ConditionalPagination.test.d.ts +1 -0
  652. package/dist/types/tests/DataGrids-Rows.test.d.ts +1 -0
  653. package/dist/types/tests/DataGrids.test.d.ts +1 -0
  654. package/dist/types/utilities/getPluginsFromProps.d.ts +2 -0
  655. package/dist/types/utilities/getScrollbarSize.d.ts +1 -0
  656. package/dist/types/utilities/normalizeData.d.ts +3 -0
  657. package/package.json +600 -0
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var components_exports = {};
30
+ __export(components_exports, {
31
+ BodyCell: () => import_BodyCell.default,
32
+ HeaderCell: () => import_HeaderCell.default,
33
+ Table: () => import_Table.default,
34
+ TableBody: () => import_TableBody.default,
35
+ TableHeader: () => import_TableHeader.default
36
+ });
37
+ module.exports = __toCommonJS(components_exports);
38
+ var React = __toESM(require("react"));
39
+ var import_HeaderCell = __toESM(require("./HeaderCell.js"));
40
+ var import_BodyCell = __toESM(require("./BodyCell.js"));
41
+ var import_TableBody = __toESM(require("./TableBody.js"));
42
+ var import_TableHeader = __toESM(require("./TableHeader.js"));
43
+ var import_Table = __toESM(require("./Table.js"));
44
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/components/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["export { default as HeaderCell } from './HeaderCell.js';\nexport { default as BodyCell } from './BodyCell.js';\nexport { default as TableBody } from './TableBody.js';\nexport { default as TableHeader } from './TableHeader.js';\nexport { default as Table } from './Table.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAAsC;AACtC,sBAAoC;AACpC,uBAAqC;AACrC,yBAAuC;AACvC,mBAAiC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var defaultClassedRenderers_exports = {};
30
+ __export(defaultClassedRenderers_exports, {
31
+ BodyCell: () => BodyCell,
32
+ BodyRow: () => BodyRow,
33
+ BodyWrapper: () => BodyWrapper,
34
+ DatagridWrapper: () => DatagridWrapper,
35
+ HeaderCell: () => HeaderCell,
36
+ HeaderRow: () => HeaderRow,
37
+ HeaderWrapper: () => HeaderWrapper,
38
+ NoResultsContainer: () => NoResultsContainer,
39
+ SpinnerContainer: () => SpinnerContainer,
40
+ TableWrapper: () => TableWrapper
41
+ });
42
+ module.exports = __toCommonJS(defaultClassedRenderers_exports);
43
+ var React = __toESM(require("react"));
44
+ var import_ds_legacy_classnames = require("@elliemae/ds-legacy-classnames");
45
+ var import_blockNames = require("../../blockNames.js");
46
+ const NoResultsContainer = (0, import_ds_legacy_classnames.aggregatedClasses)("div")(`${import_blockNames.dataGridBlockName}-no-results`);
47
+ const SpinnerContainer = (0, import_ds_legacy_classnames.aggregatedClasses)("div")(`${import_blockNames.dataGridBlockName}-spinner`);
48
+ const DatagridWrapper = (0, import_ds_legacy_classnames.aggregatedClasses)("div")(`${import_blockNames.dataGridBlockName}-wrapper`, null, ({ fluidHeight }) => ({
49
+ fluid: fluidHeight
50
+ }));
51
+ const TableWrapper = (0, import_ds_legacy_classnames.aggregatedClasses)("div")(import_blockNames.dataGridBlockName);
52
+ const HeaderWrapper = (0, import_ds_legacy_classnames.aggregatedClasses)("div")(import_blockNames.headerBlockName);
53
+ const HeaderRow = (0, import_ds_legacy_classnames.aggregatedClasses)("div")(import_blockNames.headerBlockName, "row");
54
+ const HeaderCell = (0, import_ds_legacy_classnames.aggregatedClasses)("div")(import_blockNames.headerBlockName, "cell", ({ wrapText }) => ({
55
+ wrapText
56
+ }));
57
+ const BodyWrapper = (0, import_ds_legacy_classnames.aggregatedClasses)("div")(import_blockNames.bodyBlockName, null, ({ grouped }) => ({
58
+ "ie-flex-basis-auto": true,
59
+ "is-grouped": grouped
60
+ }));
61
+ const BodyRow = (0, import_ds_legacy_classnames.aggregatedClasses)("div", {
62
+ "data-testid": "datagrid-row"
63
+ })(import_blockNames.bodyBlockName, "row");
64
+ const BodyCell = (0, import_ds_legacy_classnames.aggregatedClasses)("div")(import_blockNames.bodyBlockName, "cell", ({ wrapText }) => ({
65
+ wrapText
66
+ }));
67
+ //# sourceMappingURL=defaultClassedRenderers.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/components/renderers/defaultClassedRenderers.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import { aggregatedClasses } from '@elliemae/ds-legacy-classnames';\nimport { bodyBlockName, dataGridBlockName, headerBlockName } from '../../blockNames.js';\n\nexport const NoResultsContainer = aggregatedClasses('div')(`${dataGridBlockName}-no-results`);\nexport const SpinnerContainer = aggregatedClasses('div')(`${dataGridBlockName}-spinner`);\nexport const DatagridWrapper = aggregatedClasses('div')(`${dataGridBlockName}-wrapper`, null, ({ fluidHeight }) => ({\n fluid: fluidHeight,\n}));\n\nexport const TableWrapper = aggregatedClasses('div')(dataGridBlockName);\nexport const HeaderWrapper = aggregatedClasses('div')(headerBlockName);\nexport const HeaderRow = aggregatedClasses('div')(headerBlockName, 'row');\nexport const HeaderCell = aggregatedClasses('div')(headerBlockName, 'cell', ({ wrapText }) => ({\n wrapText,\n}));\nexport const BodyWrapper = aggregatedClasses('div')(bodyBlockName, null, ({ grouped }) => ({\n 'ie-flex-basis-auto': true,\n 'is-grouped': grouped,\n}));\nexport const BodyRow = aggregatedClasses('div', {\n 'data-testid': 'datagrid-row',\n})(bodyBlockName, 'row');\nexport const BodyCell = aggregatedClasses('div')(bodyBlockName, 'cell', ({ wrapText }) => ({\n wrapText,\n}));\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,kCAAkC;AAClC,wBAAkE;AAE3D,MAAM,yBAAqB,+CAAkB,KAAK,EAAE,GAAG,gDAA8B;AACrF,MAAM,uBAAmB,+CAAkB,KAAK,EAAE,GAAG,6CAA2B;AAChF,MAAM,sBAAkB,+CAAkB,KAAK,EAAE,GAAG,+CAA6B,MAAM,CAAC,EAAE,YAAY,OAAO;AAAA,EAClH,OAAO;AACT,EAAE;AAEK,MAAM,mBAAe,+CAAkB,KAAK,EAAE,mCAAiB;AAC/D,MAAM,oBAAgB,+CAAkB,KAAK,EAAE,iCAAe;AAC9D,MAAM,gBAAY,+CAAkB,KAAK,EAAE,mCAAiB,KAAK;AACjE,MAAM,iBAAa,+CAAkB,KAAK,EAAE,mCAAiB,QAAQ,CAAC,EAAE,SAAS,OAAO;AAAA,EAC7F;AACF,EAAE;AACK,MAAM,kBAAc,+CAAkB,KAAK,EAAE,iCAAe,MAAM,CAAC,EAAE,QAAQ,OAAO;AAAA,EACzF,sBAAsB;AAAA,EACtB,cAAc;AAChB,EAAE;AACK,MAAM,cAAU,+CAAkB,OAAO;AAAA,EAC9C,eAAe;AACjB,CAAC,EAAE,iCAAe,KAAK;AAChB,MAAM,eAAW,+CAAkB,KAAK,EAAE,iCAAe,QAAQ,CAAC,EAAE,SAAS,OAAO;AAAA,EACzF;AACF,EAAE;",
6
+ "names": []
7
+ }
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var renderers_exports = {};
30
+ __export(renderers_exports, {
31
+ defaultRenderers: () => defaultRenderers,
32
+ renderRowsLoader: () => import_renderRowsLoader.renderRowsLoader
33
+ });
34
+ module.exports = __toCommonJS(renderers_exports);
35
+ var React = __toESM(require("react"));
36
+ var import_defaultClassedRenderers = require("./defaultClassedRenderers.js");
37
+ var import_renderRowsLoader = require("./renderRowsLoader.js");
38
+ const defaultRenderers = {
39
+ table: import_defaultClassedRenderers.TableWrapper,
40
+ header: {
41
+ wrapper: import_defaultClassedRenderers.HeaderWrapper,
42
+ row: import_defaultClassedRenderers.HeaderRow,
43
+ cell: import_defaultClassedRenderers.HeaderCell
44
+ },
45
+ body: {
46
+ wrapper: import_defaultClassedRenderers.BodyWrapper,
47
+ row: import_defaultClassedRenderers.BodyRow,
48
+ cell: import_defaultClassedRenderers.BodyCell
49
+ }
50
+ };
51
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/components/renderers/index.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import {\n BodyCell,\n BodyRow,\n BodyWrapper,\n HeaderCell,\n HeaderRow,\n HeaderWrapper,\n TableWrapper,\n} from './defaultClassedRenderers.js';\n\nexport { renderRowsLoader } from './renderRowsLoader.js';\n\nexport const defaultRenderers = {\n table: TableWrapper,\n header: {\n wrapper: HeaderWrapper,\n row: HeaderRow,\n cell: HeaderCell,\n },\n body: {\n wrapper: BodyWrapper,\n row: BodyRow,\n cell: BodyCell,\n },\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qCAQO;AAEP,8BAAiC;AAE1B,MAAM,mBAAmB;AAAA,EAC9B,OAAO;AAAA,EACP,QAAQ;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,EACR;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,EACR;AACF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var renderRowsLoader_exports = {};
30
+ __export(renderRowsLoader_exports, {
31
+ renderRowsLoader: () => renderRowsLoader
32
+ });
33
+ module.exports = __toCommonJS(renderRowsLoader_exports);
34
+ var React = __toESM(require("react"));
35
+ var import_jsx_runtime = require("react/jsx-runtime");
36
+ var import_RowsLoader = require("../RowsLoader.js");
37
+ const renderRowsLoader = () => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_RowsLoader.RowsLoader, {});
38
+ //# sourceMappingURL=renderRowsLoader.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/components/renderers/renderRowsLoader.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import React from 'react';\nimport { RowsLoader } from '../RowsLoader.js';\n\nexport const renderRowsLoader = () => <RowsLoader />;\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGe;AAFtC,wBAA2B;AAEpB,MAAM,mBAAmB,MAAM,4CAAC,gCAAW;",
6
+ "names": []
7
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var tableContext_exports = {};
30
+ __export(tableContext_exports, {
31
+ TableContext: () => TableContext
32
+ });
33
+ module.exports = __toCommonJS(tableContext_exports);
34
+ var React = __toESM(require("react"));
35
+ var import_react = __toESM(require("react"));
36
+ const TableContext = import_react.default.createContext();
37
+ //# sourceMappingURL=tableContext.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/components/tableContext.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import React from 'react';\n\nexport const TableContext = React.createContext();\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAEX,MAAM,eAAe,aAAAA,QAAM,cAAc;",
6
+ "names": ["React"]
7
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var defaultPlugins_exports = {};
30
+ __export(defaultPlugins_exports, {
31
+ defaultPlugins: () => defaultPlugins
32
+ });
33
+ module.exports = __toCommonJS(defaultPlugins_exports);
34
+ var React = __toESM(require("react"));
35
+ var import_body_header_scroll_sync = require("./plugins/body-header-scroll-sync/index.js");
36
+ var import_resizable = require("./plugins/resizable/index.js");
37
+ var import_custom_cell_renderer = require("./plugins/custom-cell-renderer/index.js");
38
+ var import_column_sizing = require("./plugins/column-sizing/index.js");
39
+ const defaultPlugins = [import_body_header_scroll_sync.BodyHeaderScrollSyncPlugin, import_resizable.ResizablePlugin, import_custom_cell_renderer.CustomRendererPlugin, import_column_sizing.ColumnSizingPlugin];
40
+ //# sourceMappingURL=defaultPlugins.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/defaultPlugins.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import { BodyHeaderScrollSyncPlugin } from './plugins/body-header-scroll-sync/index.js';\nimport { ResizablePlugin } from './plugins/resizable/index.js';\nimport { CustomRendererPlugin } from './plugins/custom-cell-renderer/index.js';\nimport { ColumnSizingPlugin } from './plugins/column-sizing/index.js';\n\nexport const defaultPlugins = [BodyHeaderScrollSyncPlugin, ResizablePlugin, CustomRendererPlugin, ColumnSizingPlugin];\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qCAA2C;AAC3C,uBAAgC;AAChC,kCAAqC;AACrC,2BAAmC;AAE5B,MAAM,iBAAiB,CAAC,2DAA4B,kCAAiB,kDAAsB,uCAAkB;",
6
+ "names": []
7
+ }
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var src_exports = {};
30
+ __export(src_exports, {
31
+ BodyHeaderScrollSyncPlugin: () => import_plugins.BodyHeaderScrollSyncPlugin,
32
+ CellContainer: () => import_renders.CellContainer,
33
+ CellWithAddons: () => import_renders.CellWithAddons,
34
+ ColumnSizingPlugin: () => import_plugins.ColumnSizingPlugin,
35
+ ColumnsOptionsMenuSection: () => import_ColumnsOptionsMenuSection.ColumnsOptionsMenuSection,
36
+ ComboBox: () => import_plugins.ComboBox,
37
+ CustomRendererPlugin: () => import_plugins.CustomRendererPlugin,
38
+ DSDataGrid: () => import_DSDataGrid.DSDataGrid,
39
+ DSDataGridsWithSchema: () => import_DSDataGrid2.DSDataGridsWithSchema,
40
+ DndColumnsPlugin: () => import_plugins.DndColumnsPlugin,
41
+ DndRowsPlugin: () => import_plugins.DndRowsPlugin,
42
+ EditablePlugin: () => import_plugins.EditablePlugin,
43
+ EmptyState: () => import_EmptyState.EmptyState,
44
+ ExpandableColumn: () => import_plugins.ExpandableColumn,
45
+ ExpandablePlugin: () => import_plugins.ExpandablePlugin,
46
+ ExportDataPlugin: () => import_plugins.ExportDataPlugin,
47
+ FilterablePlugin: () => import_plugins.FilterablePlugin,
48
+ IconColumn: () => import_IconColumn.IconColumn,
49
+ InfiniteScrollPlugin: () => import_plugins.InfiniteScrollPlugin,
50
+ PaginationPlugin: () => import_plugins.PaginationPlugin,
51
+ ResizablePlugin: () => import_plugins.ResizablePlugin,
52
+ RowSizes: () => import_rowSizes.RowSizes,
53
+ RowSizesOptions: () => import_rowSizes.RowSizesOptions,
54
+ RowSizesOptionsArr: () => import_rowSizes.RowSizesOptionsArr,
55
+ SelectablePlugin: () => import_plugins.SelectablePlugin,
56
+ SortablePlugin: () => import_plugins.SortablePlugin,
57
+ TextBox: () => import_plugins.TextBox,
58
+ ToolbarPlugin: () => import_plugins.ToolbarPlugin,
59
+ VirtualizationPlugin: () => import_plugins.VirtualizationPlugin,
60
+ getColumnVisibilityMenuOption: () => import_ColumnVisibilityMenuOption.getColumnVisibilityMenuOption
61
+ });
62
+ module.exports = __toCommonJS(src_exports);
63
+ var React = __toESM(require("react"));
64
+ var import_DSDataGrid = require("./DSDataGrid.js");
65
+ var import_DSDataGrid2 = require("./DSDataGrid.js");
66
+ var import_ColumnsOptionsMenuSection = require("./components/ColumnsOptionsMenuSection.js");
67
+ var import_ColumnVisibilityMenuOption = require("./components/ColumnVisibilityMenuOption.js");
68
+ var import_EmptyState = require("./components/EmptyState.js");
69
+ var import_IconColumn = require("./columns/IconColumn.js");
70
+ var import_plugins = require("./plugins/index.js");
71
+ var import_rowSizes = require("./rowSizes.js");
72
+ var import_renders = require("./renders/index.js");
73
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["export { DSDataGrid } from './DSDataGrid.js';\n\nexport { DSDataGridsWithSchema } from './DSDataGrid.js';\nexport { ColumnsOptionsMenuSection } from './components/ColumnsOptionsMenuSection.js';\n\nexport { getColumnVisibilityMenuOption } from './components/ColumnVisibilityMenuOption.js';\n\nexport { EmptyState } from './components/EmptyState.js';\n\nexport { IconColumn } from './columns/IconColumn.js';\n\nexport {\n BodyHeaderScrollSyncPlugin,\n DndColumnsPlugin,\n ColumnSizingPlugin,\n CustomRendererPlugin,\n EditablePlugin,\n ComboBox,\n TextBox,\n ExpandablePlugin,\n ExpandableColumn,\n FilterablePlugin,\n InfiniteScrollPlugin,\n PaginationPlugin,\n ResizablePlugin,\n DndRowsPlugin,\n SelectablePlugin,\n SortablePlugin,\n ToolbarPlugin,\n ExportDataPlugin,\n VirtualizationPlugin,\n} from './plugins/index.js';\n\nexport { RowSizes, RowSizesOptions, RowSizesOptionsArr } from './rowSizes.js';\n\nexport { CellWithAddons, CellContainer } from './renders/index.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAA2B;AAE3B,IAAAA,qBAAsC;AACtC,uCAA0C;AAE1C,wCAA8C;AAE9C,wBAA2B;AAE3B,wBAA2B;AAE3B,qBAoBO;AAEP,sBAA8D;AAE9D,qBAA8C;",
6
+ "names": ["import_DSDataGrid"]
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "type": "commonjs",
3
+ "sideEffects": [
4
+ "*.css",
5
+ "*.scss"
6
+ ]
7
+ }
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var BodyHeaderScrollSyncPlugin_exports = {};
30
+ __export(BodyHeaderScrollSyncPlugin_exports, {
31
+ BodyHeaderScrollSyncPlugin: () => BodyHeaderScrollSyncPlugin
32
+ });
33
+ module.exports = __toCommonJS(BodyHeaderScrollSyncPlugin_exports);
34
+ var React = __toESM(require("react"));
35
+ var import_jsx_runtime = require("react/jsx-runtime");
36
+ var import_react = require("react");
37
+ var import_ds_legacy_utilities = require("@elliemae/ds-legacy-utilities");
38
+ var import_ds_legacy_shared = require("@elliemae/ds-legacy-shared");
39
+ var import_getScrollbarSize = require("../../utilities/getScrollbarSize.js");
40
+ const SCROLLBAR_WIDTH = (0, import_getScrollbarSize.getScrollbarWidth)(2);
41
+ const HeaderSyncHoc = (Component) => function(props) {
42
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_legacy_shared.ScrollSyncPane, { children: ({ registerPane }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { ...props, innerRef: (0, import_ds_legacy_utilities.mergeRefs)(props.innerRef, registerPane) }) });
43
+ };
44
+ const BodySyncHoc = (Component, notPaginated, grid) => function({
45
+ children,
46
+ classProps,
47
+ columns,
48
+ getContainer,
49
+ helperClass,
50
+ innerBodyRef,
51
+ innerRef,
52
+ isPlaceholderActive,
53
+ listProps,
54
+ lockAxis,
55
+ noResultsPlaceholder,
56
+ numRowsVisible,
57
+ onSortEnd,
58
+ onSortOver,
59
+ onSortStart,
60
+ rowKey,
61
+ rowRenderer,
62
+ rows,
63
+ useDragHandle,
64
+ className,
65
+ listComponent,
66
+ ...rest
67
+ }) {
68
+ const t = (0, import_react.useRef)();
69
+ const repositionToolbarBasedOnBodyScrollPosition = (SCROLLBAR_WIDTH2) => () => {
70
+ grid.refs.body.current.style.setProperty(
71
+ "--toolbar-scroll",
72
+ `${grid.refs.body.current.offsetWidth + grid.refs.body.current.scrollLeft - 15}px`
73
+ );
74
+ grid.refs.body.current.style.setProperty(
75
+ "--toolbar-scroll-paginated",
76
+ `${grid.refs.body.current.offsetWidth + grid.refs.body.current.scrollLeft - 19}px`
77
+ );
78
+ };
79
+ (0, import_react.useEffect)(() => {
80
+ setTimeout(repositionToolbarBasedOnBodyScrollPosition(-SCROLLBAR_WIDTH), 300);
81
+ }, []);
82
+ (0, import_react.useEffect)(() => {
83
+ window.addEventListener("resize", repositionToolbarBasedOnBodyScrollPosition(-SCROLLBAR_WIDTH));
84
+ return () => {
85
+ window.removeEventListener("resize", repositionToolbarBasedOnBodyScrollPosition(-SCROLLBAR_WIDTH));
86
+ };
87
+ });
88
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_legacy_shared.ScrollSyncPane, { notPaginated, children: ({ registerPane }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
89
+ Component,
90
+ {
91
+ ref: t,
92
+ classProps,
93
+ className,
94
+ listComponent,
95
+ columns,
96
+ getContainer,
97
+ helperClass,
98
+ innerBodyRef,
99
+ isPlaceholderActive,
100
+ listProps,
101
+ lockAxis,
102
+ noResultsPlaceholder,
103
+ numRowsVisible,
104
+ onSortEnd,
105
+ onSortOver,
106
+ onSortStart,
107
+ rowKey,
108
+ rowRenderer,
109
+ rows,
110
+ useDragHandle,
111
+ innerRef: (0, import_ds_legacy_utilities.mergeRefs)(innerRef, registerPane, t),
112
+ ...rest
113
+ }
114
+ ) });
115
+ };
116
+ const TableSyncHoc = (Component) => function(props) {
117
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
118
+ import_ds_legacy_shared.ScrollSync,
119
+ {
120
+ proportional: false,
121
+ onScroll: (e) => {
122
+ e.target.style.setProperty("--toolbar-scroll", `${e.target.offsetWidth + e.target.scrollLeft - 15}px`);
123
+ e.target.style.setProperty(
124
+ "--toolbar-scroll-paginated",
125
+ `${e.target.offsetWidth + e.target.scrollLeft - 19}px`
126
+ );
127
+ },
128
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { ...props })
129
+ }
130
+ );
131
+ };
132
+ const decorateRenderers = (renderers, grid) => {
133
+ const HeaderWrapper = renderers.header.wrapper;
134
+ const BodyWrapper = renderers.body.wrapper;
135
+ const Table = renderers.table;
136
+ const { paginated } = grid.props;
137
+ renderers.table = (0, import_react.useMemo)(() => TableSyncHoc(Table), []);
138
+ renderers.header.wrapper = (0, import_react.useMemo)(() => HeaderSyncHoc(HeaderWrapper), []);
139
+ renderers.body.wrapper = (0, import_react.useMemo)(() => BodySyncHoc(BodyWrapper, !paginated, grid), []);
140
+ return renderers;
141
+ };
142
+ const BodyHeaderScrollSyncPlugin = (0, import_ds_legacy_shared.createInstancePlugin)("body-header-scroll-sync", {
143
+ decorateRenderers
144
+ });
145
+ //# sourceMappingURL=BodyHeaderScrollSyncPlugin.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["/* eslint-disable no-shadow */\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-unused-vars */\n/* eslint-disable react/prop-types */\n/* eslint-disable max-lines */\n/* eslint-disable react-hooks/rules-of-hooks */\n/* eslint-disable no-param-reassign */\n/* eslint-disable react/display-name */\nimport React, { useMemo, useRef, useEffect } from 'react';\nimport { mergeRefs } from '@elliemae/ds-legacy-utilities';\nimport { ScrollSync, ScrollSyncPane, createInstancePlugin } from '@elliemae/ds-legacy-shared';\nimport { getScrollbarWidth } from '../../utilities/getScrollbarSize.js';\n\nconst SCROLLBAR_WIDTH = getScrollbarWidth(2);\n\nconst HeaderSyncHoc = (Component) =>\n function (props) {\n return (\n <ScrollSyncPane>\n {({ registerPane }) => <Component {...props} innerRef={mergeRefs(props.innerRef, registerPane)} />}\n </ScrollSyncPane>\n );\n };\nconst BodySyncHoc = (Component, notPaginated, grid) =>\n function ({\n children,\n classProps,\n columns,\n getContainer,\n helperClass,\n innerBodyRef,\n innerRef,\n isPlaceholderActive,\n listProps,\n lockAxis,\n noResultsPlaceholder,\n numRowsVisible,\n onSortEnd,\n onSortOver,\n onSortStart,\n rowKey,\n rowRenderer,\n rows,\n useDragHandle,\n className,\n listComponent,\n ...rest\n }) {\n const t = useRef();\n const repositionToolbarBasedOnBodyScrollPosition = (SCROLLBAR_WIDTH) => () => {\n grid.refs.body.current.style.setProperty(\n '--toolbar-scroll',\n `${grid.refs.body.current.offsetWidth + grid.refs.body.current.scrollLeft - 15}px`,\n );\n grid.refs.body.current.style.setProperty(\n '--toolbar-scroll-paginated',\n `${grid.refs.body.current.offsetWidth + grid.refs.body.current.scrollLeft - 19}px`,\n );\n };\n useEffect(() => {\n setTimeout(repositionToolbarBasedOnBodyScrollPosition(-SCROLLBAR_WIDTH), 300);\n }, []);\n useEffect(() => {\n window.addEventListener('resize', repositionToolbarBasedOnBodyScrollPosition(-SCROLLBAR_WIDTH));\n return () => {\n window.removeEventListener('resize', repositionToolbarBasedOnBodyScrollPosition(-SCROLLBAR_WIDTH));\n };\n });\n return (\n <ScrollSyncPane notPaginated={notPaginated}>\n {({ registerPane }) => (\n <Component\n ref={t}\n classProps={classProps}\n className={className}\n listComponent={listComponent}\n columns={columns}\n getContainer={getContainer}\n helperClass={helperClass}\n innerBodyRef={innerBodyRef}\n // innerRef={innerRef}\n isPlaceholderActive={isPlaceholderActive}\n listProps={listProps}\n lockAxis={lockAxis}\n noResultsPlaceholder={noResultsPlaceholder}\n numRowsVisible={numRowsVisible}\n onSortEnd={onSortEnd}\n onSortOver={onSortOver}\n onSortStart={onSortStart}\n rowKey={rowKey}\n rowRenderer={rowRenderer}\n rows={rows}\n useDragHandle={useDragHandle}\n innerRef={mergeRefs(innerRef, registerPane, t)}\n {...rest}\n />\n )}\n </ScrollSyncPane>\n );\n };\n\nconst TableSyncHoc = (Component) =>\n function (props) {\n return (\n <ScrollSync\n proportional={false}\n onScroll={(e) => {\n e.target.style.setProperty('--toolbar-scroll', `${e.target.offsetWidth + e.target.scrollLeft - 15}px`);\n e.target.style.setProperty(\n '--toolbar-scroll-paginated',\n `${e.target.offsetWidth + e.target.scrollLeft - 19}px`,\n );\n }}\n >\n <Component {...props} />\n </ScrollSync>\n );\n };\n\nconst decorateRenderers = (renderers, grid) => {\n const HeaderWrapper = renderers.header.wrapper;\n const BodyWrapper = renderers.body.wrapper;\n const Table = renderers.table;\n const { paginated } = grid.props;\n\n renderers.table = useMemo(() => TableSyncHoc(Table), []);\n renderers.header.wrapper = useMemo(() => HeaderSyncHoc(HeaderWrapper), []);\n renderers.body.wrapper = useMemo(() => BodySyncHoc(BodyWrapper, !paginated, grid), []);\n\n return renderers;\n};\n\nexport const BodyHeaderScrollSyncPlugin = createInstancePlugin('body-header-scroll-sync', {\n decorateRenderers,\n});\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADmBQ;AAX/B,mBAAkD;AAClD,iCAA0B;AAC1B,8BAAiE;AACjE,8BAAkC;AAElC,MAAM,sBAAkB,2CAAkB,CAAC;AAE3C,MAAM,gBAAgB,CAAC,cACrB,SAAU,OAAO;AACf,SACE,4CAAC,0CACE,WAAC,EAAE,aAAa,MAAM,4CAAC,aAAW,GAAG,OAAO,cAAU,sCAAU,MAAM,UAAU,YAAY,GAAG,GAClG;AAEJ;AACF,MAAM,cAAc,CAAC,WAAW,cAAc,SAC5C,SAAU;AAAA,EACR;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GAAG;AACD,QAAM,QAAI,qBAAO;AACjB,QAAM,6CAA6C,CAACA,qBAAoB,MAAM;AAC5E,SAAK,KAAK,KAAK,QAAQ,MAAM;AAAA,MAC3B;AAAA,MACA,GAAG,KAAK,KAAK,KAAK,QAAQ,cAAc,KAAK,KAAK,KAAK,QAAQ,aAAa;AAAA,IAC9E;AACA,SAAK,KAAK,KAAK,QAAQ,MAAM;AAAA,MAC3B;AAAA,MACA,GAAG,KAAK,KAAK,KAAK,QAAQ,cAAc,KAAK,KAAK,KAAK,QAAQ,aAAa;AAAA,IAC9E;AAAA,EACF;AACA,8BAAU,MAAM;AACd,eAAW,2CAA2C,CAAC,eAAe,GAAG,GAAG;AAAA,EAC9E,GAAG,CAAC,CAAC;AACL,8BAAU,MAAM;AACd,WAAO,iBAAiB,UAAU,2CAA2C,CAAC,eAAe,CAAC;AAC9F,WAAO,MAAM;AACX,aAAO,oBAAoB,UAAU,2CAA2C,CAAC,eAAe,CAAC;AAAA,IACnG;AAAA,EACF,CAAC;AACD,SACE,4CAAC,0CAAe,cACb,WAAC,EAAE,aAAa,MACf;AAAA,IAAC;AAAA;AAAA,MACC,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MAEA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,cAAU,sCAAU,UAAU,cAAc,CAAC;AAAA,MAC5C,GAAG;AAAA;AAAA,EACN,GAEJ;AAEJ;AAEF,MAAM,eAAe,CAAC,cACpB,SAAU,OAAO;AACf,SACE;AAAA,IAAC;AAAA;AAAA,MACC,cAAc;AAAA,MACd,UAAU,CAAC,MAAM;AACf,UAAE,OAAO,MAAM,YAAY,oBAAoB,GAAG,EAAE,OAAO,cAAc,EAAE,OAAO,aAAa,MAAM;AACrG,UAAE,OAAO,MAAM;AAAA,UACb;AAAA,UACA,GAAG,EAAE,OAAO,cAAc,EAAE,OAAO,aAAa;AAAA,QAClD;AAAA,MACF;AAAA,MAEA,sDAAC,aAAW,GAAG,OAAO;AAAA;AAAA,EACxB;AAEJ;AAEF,MAAM,oBAAoB,CAAC,WAAW,SAAS;AAC7C,QAAM,gBAAgB,UAAU,OAAO;AACvC,QAAM,cAAc,UAAU,KAAK;AACnC,QAAM,QAAQ,UAAU;AACxB,QAAM,EAAE,UAAU,IAAI,KAAK;AAE3B,YAAU,YAAQ,sBAAQ,MAAM,aAAa,KAAK,GAAG,CAAC,CAAC;AACvD,YAAU,OAAO,cAAU,sBAAQ,MAAM,cAAc,aAAa,GAAG,CAAC,CAAC;AACzE,YAAU,KAAK,cAAU,sBAAQ,MAAM,YAAY,aAAa,CAAC,WAAW,IAAI,GAAG,CAAC,CAAC;AAErF,SAAO;AACT;AAEO,MAAM,iCAA6B,8CAAqB,2BAA2B;AAAA,EACxF;AACF,CAAC;",
6
+ "names": ["SCROLLBAR_WIDTH"]
7
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var body_header_scroll_sync_exports = {};
30
+ __export(body_header_scroll_sync_exports, {
31
+ BodyHeaderScrollSyncPlugin: () => import_BodyHeaderScrollSyncPlugin.BodyHeaderScrollSyncPlugin
32
+ });
33
+ module.exports = __toCommonJS(body_header_scroll_sync_exports);
34
+ var React = __toESM(require("react"));
35
+ var import_BodyHeaderScrollSyncPlugin = require("./BodyHeaderScrollSyncPlugin.js");
36
+ //# sourceMappingURL=index.js.map