@elliemae/ds-datagrids 3.27.0-next.1 → 3.27.0-next.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (655) hide show
  1. package/dist/cjs/index.js +4 -39
  2. package/dist/cjs/index.js.map +3 -3
  3. package/dist/esm/index.js +3 -59
  4. package/dist/esm/index.js.map +3 -3
  5. package/dist/types/index.d.ts +2 -9
  6. package/package.json +6 -540
  7. package/dist/cjs/DSDataGrid.js +0 -589
  8. package/dist/cjs/DSDataGrid.js.map +0 -7
  9. package/dist/cjs/DataGridImpl.js +0 -156
  10. package/dist/cjs/DataGridImpl.js.map +0 -7
  11. package/dist/cjs/PaginatedDataGrid.js +0 -84
  12. package/dist/cjs/PaginatedDataGrid.js.map +0 -7
  13. package/dist/cjs/blockNames.js +0 -40
  14. package/dist/cjs/blockNames.js.map +0 -7
  15. package/dist/cjs/columns/IconColumn.js +0 -109
  16. package/dist/cjs/columns/IconColumn.js.map +0 -7
  17. package/dist/cjs/columns/NumberColumn.js +0 -37
  18. package/dist/cjs/columns/NumberColumn.js.map +0 -7
  19. package/dist/cjs/components/BodyCell.js +0 -114
  20. package/dist/cjs/components/BodyCell.js.map +0 -7
  21. package/dist/cjs/components/BodyList.js +0 -48
  22. package/dist/cjs/components/BodyList.js.map +0 -7
  23. package/dist/cjs/components/ColumnVisibilityMenuOption.js +0 -65
  24. package/dist/cjs/components/ColumnVisibilityMenuOption.js.map +0 -7
  25. package/dist/cjs/components/ColumnsOptionsMenuSection.js +0 -63
  26. package/dist/cjs/components/ColumnsOptionsMenuSection.js.map +0 -7
  27. package/dist/cjs/components/EmptyState.js +0 -81
  28. package/dist/cjs/components/EmptyState.js.map +0 -7
  29. package/dist/cjs/components/HeaderCell.js +0 -79
  30. package/dist/cjs/components/HeaderCell.js.map +0 -7
  31. package/dist/cjs/components/List.js +0 -43
  32. package/dist/cjs/components/List.js.map +0 -7
  33. package/dist/cjs/components/ListItem.js +0 -49
  34. package/dist/cjs/components/ListItem.js.map +0 -7
  35. package/dist/cjs/components/NoResults.js +0 -53
  36. package/dist/cjs/components/NoResults.js.map +0 -7
  37. package/dist/cjs/components/RowsLoader.js +0 -41
  38. package/dist/cjs/components/RowsLoader.js.map +0 -7
  39. package/dist/cjs/components/Table.js +0 -125
  40. package/dist/cjs/components/Table.js.map +0 -7
  41. package/dist/cjs/components/TableBody.js +0 -71
  42. package/dist/cjs/components/TableBody.js.map +0 -7
  43. package/dist/cjs/components/TableHeader.js +0 -60
  44. package/dist/cjs/components/TableHeader.js.map +0 -7
  45. package/dist/cjs/components/footer/addOptionalFooterComponents.js +0 -60
  46. package/dist/cjs/components/footer/addOptionalFooterComponents.js.map +0 -7
  47. package/dist/cjs/components/header/PrimaryControls.js +0 -54
  48. package/dist/cjs/components/header/PrimaryControls.js.map +0 -7
  49. package/dist/cjs/components/header/addOptionalHeaderComponents.js +0 -62
  50. package/dist/cjs/components/header/addOptionalHeaderComponents.js.map +0 -7
  51. package/dist/cjs/components/index.js +0 -44
  52. package/dist/cjs/components/index.js.map +0 -7
  53. package/dist/cjs/components/renderers/defaultClassedRenderers.js +0 -67
  54. package/dist/cjs/components/renderers/defaultClassedRenderers.js.map +0 -7
  55. package/dist/cjs/components/renderers/index.js +0 -51
  56. package/dist/cjs/components/renderers/index.js.map +0 -7
  57. package/dist/cjs/components/renderers/renderRowsLoader.js +0 -38
  58. package/dist/cjs/components/renderers/renderRowsLoader.js.map +0 -7
  59. package/dist/cjs/components/tableContext.js +0 -37
  60. package/dist/cjs/components/tableContext.js.map +0 -7
  61. package/dist/cjs/defaultPlugins.js +0 -40
  62. package/dist/cjs/defaultPlugins.js.map +0 -7
  63. package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +0 -145
  64. package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +0 -7
  65. package/dist/cjs/plugins/body-header-scroll-sync/index.js +0 -36
  66. package/dist/cjs/plugins/body-header-scroll-sync/index.js.map +0 -7
  67. package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js +0 -159
  68. package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js.map +0 -7
  69. package/dist/cjs/plugins/column-dnd/decorateGridWithDndColumns.js +0 -48
  70. package/dist/cjs/plugins/column-dnd/decorateGridWithDndColumns.js.map +0 -7
  71. package/dist/cjs/plugins/column-dnd/index.js +0 -36
  72. package/dist/cjs/plugins/column-dnd/index.js.map +0 -7
  73. package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js +0 -93
  74. package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js.map +0 -7
  75. package/dist/cjs/plugins/column-sizing/columnMeasurerTransformer.js +0 -70
  76. package/dist/cjs/plugins/column-sizing/columnMeasurerTransformer.js.map +0 -7
  77. package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js +0 -45
  78. package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js.map +0 -7
  79. package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js +0 -65
  80. package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js.map +0 -7
  81. package/dist/cjs/plugins/column-sizing/getColumnNameFromProperty.js +0 -38
  82. package/dist/cjs/plugins/column-sizing/getColumnNameFromProperty.js.map +0 -7
  83. package/dist/cjs/plugins/column-sizing/index.js +0 -36
  84. package/dist/cjs/plugins/column-sizing/index.js.map +0 -7
  85. package/dist/cjs/plugins/column-sizing/useColumnSizeService.js +0 -148
  86. package/dist/cjs/plugins/column-sizing/useColumnSizeService.js.map +0 -7
  87. package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js +0 -181
  88. package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js.map +0 -7
  89. package/dist/cjs/plugins/column-sizing/utils.js +0 -69
  90. package/dist/cjs/plugins/column-sizing/utils.js.map +0 -7
  91. package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js +0 -41
  92. package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +0 -7
  93. package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js +0 -79
  94. package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +0 -7
  95. package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js +0 -60
  96. package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js.map +0 -7
  97. package/dist/cjs/plugins/custom-cell-renderer/index.js +0 -36
  98. package/dist/cjs/plugins/custom-cell-renderer/index.js.map +0 -7
  99. package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js +0 -73
  100. package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js.map +0 -7
  101. package/dist/cjs/plugins/editable/EditableComponents/TextBox.js +0 -95
  102. package/dist/cjs/plugins/editable/EditableComponents/TextBox.js.map +0 -7
  103. package/dist/cjs/plugins/editable/EditableComponents/index.js +0 -38
  104. package/dist/cjs/plugins/editable/EditableComponents/index.js.map +0 -7
  105. package/dist/cjs/plugins/editable/EditablePlugin.js +0 -112
  106. package/dist/cjs/plugins/editable/EditablePlugin.js.map +0 -7
  107. package/dist/cjs/plugins/editable/decorateEditable.js +0 -96
  108. package/dist/cjs/plugins/editable/decorateEditable.js.map +0 -7
  109. package/dist/cjs/plugins/editable/getEditorComponent.js +0 -60
  110. package/dist/cjs/plugins/editable/getEditorComponent.js.map +0 -7
  111. package/dist/cjs/plugins/editable/index.js +0 -39
  112. package/dist/cjs/plugins/editable/index.js.map +0 -7
  113. package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js +0 -131
  114. package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js.map +0 -7
  115. package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js +0 -197
  116. package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js.map +0 -7
  117. package/dist/cjs/plugins/expandable-grid/ExpandedRow.js +0 -147
  118. package/dist/cjs/plugins/expandable-grid/ExpandedRow.js.map +0 -7
  119. package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js +0 -57
  120. package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js.map +0 -7
  121. package/dist/cjs/plugins/expandable-grid/index.js +0 -38
  122. package/dist/cjs/plugins/expandable-grid/index.js.map +0 -7
  123. package/dist/cjs/plugins/expandable-grid/useExpandGridState.js +0 -94
  124. package/dist/cjs/plugins/expandable-grid/useExpandGridState.js.map +0 -7
  125. package/dist/cjs/plugins/export-data/ExportDataPlugin.js +0 -135
  126. package/dist/cjs/plugins/export-data/ExportDataPlugin.js.map +0 -7
  127. package/dist/cjs/plugins/export-data/index.js +0 -36
  128. package/dist/cjs/plugins/export-data/index.js.map +0 -7
  129. package/dist/cjs/plugins/filterable/FilterablePlugin.js +0 -84
  130. package/dist/cjs/plugins/filterable/FilterablePlugin.js.map +0 -7
  131. package/dist/cjs/plugins/filterable/addFilterToColumn.js +0 -44
  132. package/dist/cjs/plugins/filterable/addFilterToColumn.js.map +0 -7
  133. package/dist/cjs/plugins/filterable/components/FilterableHeader.js +0 -133
  134. package/dist/cjs/plugins/filterable/components/FilterableHeader.js.map +0 -7
  135. package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +0 -179
  136. package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +0 -7
  137. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +0 -133
  138. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +0 -7
  139. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +0 -231
  140. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +0 -7
  141. package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js +0 -183
  142. package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +0 -7
  143. package/dist/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js +0 -36
  144. package/dist/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +0 -7
  145. package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +0 -48
  146. package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +0 -7
  147. package/dist/cjs/plugins/filterable/filterableFormatter.js +0 -69
  148. package/dist/cjs/plugins/filterable/filterableFormatter.js.map +0 -7
  149. package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js +0 -83
  150. package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +0 -7
  151. package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js +0 -45
  152. package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js.map +0 -7
  153. package/dist/cjs/plugins/filterable/helper.js +0 -113
  154. package/dist/cjs/plugins/filterable/helper.js.map +0 -7
  155. package/dist/cjs/plugins/filterable/index.js +0 -36
  156. package/dist/cjs/plugins/filterable/index.js.map +0 -7
  157. package/dist/cjs/plugins/filterable/useFilterableState.js +0 -112
  158. package/dist/cjs/plugins/filterable/useFilterableState.js.map +0 -7
  159. package/dist/cjs/plugins/grouping-by/GroupingByPlugin.js +0 -58
  160. package/dist/cjs/plugins/grouping-by/GroupingByPlugin.js.map +0 -7
  161. package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js +0 -134
  162. package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js.map +0 -7
  163. package/dist/cjs/plugins/grouping-grid/walkStrategy.js +0 -77
  164. package/dist/cjs/plugins/grouping-grid/walkStrategy.js.map +0 -7
  165. package/dist/cjs/plugins/index.js +0 -69
  166. package/dist/cjs/plugins/index.js.map +0 -7
  167. package/dist/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js +0 -101
  168. package/dist/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +0 -7
  169. package/dist/cjs/plugins/infinite-scrolling/index.js +0 -36
  170. package/dist/cjs/plugins/infinite-scrolling/index.js.map +0 -7
  171. package/dist/cjs/plugins/pagination/PaginationPlugin.js +0 -90
  172. package/dist/cjs/plugins/pagination/PaginationPlugin.js.map +0 -7
  173. package/dist/cjs/plugins/pagination/components/Pagination.js +0 -57
  174. package/dist/cjs/plugins/pagination/components/Pagination.js.map +0 -7
  175. package/dist/cjs/plugins/pagination/components/Paginator.js +0 -73
  176. package/dist/cjs/plugins/pagination/components/Paginator.js.map +0 -7
  177. package/dist/cjs/plugins/pagination/components/PerPageDropdown.js +0 -74
  178. package/dist/cjs/plugins/pagination/components/PerPageDropdown.js.map +0 -7
  179. package/dist/cjs/plugins/pagination/helper.js +0 -63
  180. package/dist/cjs/plugins/pagination/helper.js.map +0 -7
  181. package/dist/cjs/plugins/pagination/index.js +0 -36
  182. package/dist/cjs/plugins/pagination/index.js.map +0 -7
  183. package/dist/cjs/plugins/pagination/usePaginationState.js +0 -83
  184. package/dist/cjs/plugins/pagination/usePaginationState.js.map +0 -7
  185. package/dist/cjs/plugins/resizable/ResizablePlugin.js +0 -116
  186. package/dist/cjs/plugins/resizable/ResizablePlugin.js.map +0 -7
  187. package/dist/cjs/plugins/resizable/decorateResizable.js +0 -57
  188. package/dist/cjs/plugins/resizable/decorateResizable.js.map +0 -7
  189. package/dist/cjs/plugins/resizable/index.js +0 -36
  190. package/dist/cjs/plugins/resizable/index.js.map +0 -7
  191. package/dist/cjs/plugins/resizable/useResizeHandle.js +0 -75
  192. package/dist/cjs/plugins/resizable/useResizeHandle.js.map +0 -7
  193. package/dist/cjs/plugins/resizable/utils.js +0 -55
  194. package/dist/cjs/plugins/resizable/utils.js.map +0 -7
  195. package/dist/cjs/plugins/row-dnd/DndRowsPlugin.js +0 -140
  196. package/dist/cjs/plugins/row-dnd/DndRowsPlugin.js.map +0 -7
  197. package/dist/cjs/plugins/row-dnd/index.js +0 -36
  198. package/dist/cjs/plugins/row-dnd/index.js.map +0 -7
  199. package/dist/cjs/plugins/selectable/SelectablePlugin.js +0 -170
  200. package/dist/cjs/plugins/selectable/SelectablePlugin.js.map +0 -7
  201. package/dist/cjs/plugins/selectable/addSelectableColumn.js +0 -105
  202. package/dist/cjs/plugins/selectable/addSelectableColumn.js.map +0 -7
  203. package/dist/cjs/plugins/selectable/helper.js +0 -55
  204. package/dist/cjs/plugins/selectable/helper.js.map +0 -7
  205. package/dist/cjs/plugins/selectable/index.js +0 -36
  206. package/dist/cjs/plugins/selectable/index.js.map +0 -7
  207. package/dist/cjs/plugins/selectable/selectableFormatter.js +0 -99
  208. package/dist/cjs/plugins/selectable/selectableFormatter.js.map +0 -7
  209. package/dist/cjs/plugins/selectable/useSelectableState.js +0 -128
  210. package/dist/cjs/plugins/selectable/useSelectableState.js.map +0 -7
  211. package/dist/cjs/plugins/sortable/SortablePlugin.js +0 -98
  212. package/dist/cjs/plugins/sortable/SortablePlugin.js.map +0 -7
  213. package/dist/cjs/plugins/sortable/checkIfSortable.js +0 -46
  214. package/dist/cjs/plugins/sortable/checkIfSortable.js.map +0 -7
  215. package/dist/cjs/plugins/sortable/index.js +0 -36
  216. package/dist/cjs/plugins/sortable/index.js.map +0 -7
  217. package/dist/cjs/plugins/sortable/sortHeaderFormatter.js +0 -66
  218. package/dist/cjs/plugins/sortable/sortHeaderFormatter.js.map +0 -7
  219. package/dist/cjs/plugins/sortable/sortTree.js +0 -49
  220. package/dist/cjs/plugins/sortable/sortTree.js.map +0 -7
  221. package/dist/cjs/plugins/sortable/sorter.js +0 -154
  222. package/dist/cjs/plugins/sortable/sorter.js.map +0 -7
  223. package/dist/cjs/plugins/sortable/useSortableState.js +0 -74
  224. package/dist/cjs/plugins/sortable/useSortableState.js.map +0 -7
  225. package/dist/cjs/plugins/toolbar/RowRenderer.js +0 -109
  226. package/dist/cjs/plugins/toolbar/RowRenderer.js.map +0 -7
  227. package/dist/cjs/plugins/toolbar/ToolbarPlugin.js +0 -63
  228. package/dist/cjs/plugins/toolbar/ToolbarPlugin.js.map +0 -7
  229. package/dist/cjs/plugins/toolbar/ToolbarTrigger.js +0 -115
  230. package/dist/cjs/plugins/toolbar/ToolbarTrigger.js.map +0 -7
  231. package/dist/cjs/plugins/toolbar/index.js +0 -36
  232. package/dist/cjs/plugins/toolbar/index.js.map +0 -7
  233. package/dist/cjs/plugins/virtualization/AutoHeightList.js +0 -78
  234. package/dist/cjs/plugins/virtualization/AutoHeightList.js.map +0 -7
  235. package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js +0 -109
  236. package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js.map +0 -7
  237. package/dist/cjs/plugins/virtualization/VirtualizedBody.js +0 -275
  238. package/dist/cjs/plugins/virtualization/VirtualizedBody.js.map +0 -7
  239. package/dist/cjs/plugins/virtualization/VirtualizedBodyRow.js +0 -58
  240. package/dist/cjs/plugins/virtualization/VirtualizedBodyRow.js.map +0 -7
  241. package/dist/cjs/plugins/virtualization/helper.js +0 -36
  242. package/dist/cjs/plugins/virtualization/helper.js.map +0 -7
  243. package/dist/cjs/plugins/virtualization/index.js +0 -36
  244. package/dist/cjs/plugins/virtualization/index.js.map +0 -7
  245. package/dist/cjs/renders/CellWithAddons.js +0 -113
  246. package/dist/cjs/renders/CellWithAddons.js.map +0 -7
  247. package/dist/cjs/renders/index.js +0 -38
  248. package/dist/cjs/renders/index.js.map +0 -7
  249. package/dist/cjs/renders/styled.js +0 -79
  250. package/dist/cjs/renders/styled.js.map +0 -7
  251. package/dist/cjs/rowSizes.js +0 -48
  252. package/dist/cjs/rowSizes.js.map +0 -7
  253. package/dist/cjs/utilities/DataGridUtilities.json +0 -1315
  254. package/dist/cjs/utilities/getPluginsFromProps.js +0 -73
  255. package/dist/cjs/utilities/getPluginsFromProps.js.map +0 -7
  256. package/dist/cjs/utilities/getScrollbarSize.js +0 -47
  257. package/dist/cjs/utilities/getScrollbarSize.js.map +0 -7
  258. package/dist/cjs/utilities/normalizeData.js +0 -50
  259. package/dist/cjs/utilities/normalizeData.js.map +0 -7
  260. package/dist/esm/DSDataGrid.js +0 -559
  261. package/dist/esm/DSDataGrid.js.map +0 -7
  262. package/dist/esm/DataGridImpl.js +0 -126
  263. package/dist/esm/DataGridImpl.js.map +0 -7
  264. package/dist/esm/PaginatedDataGrid.js +0 -54
  265. package/dist/esm/PaginatedDataGrid.js.map +0 -7
  266. package/dist/esm/blockNames.js +0 -10
  267. package/dist/esm/blockNames.js.map +0 -7
  268. package/dist/esm/columns/IconColumn.js +0 -79
  269. package/dist/esm/columns/IconColumn.js.map +0 -7
  270. package/dist/esm/columns/NumberColumn.js +0 -7
  271. package/dist/esm/columns/NumberColumn.js.map +0 -7
  272. package/dist/esm/components/BodyCell.js +0 -84
  273. package/dist/esm/components/BodyCell.js.map +0 -7
  274. package/dist/esm/components/BodyList.js +0 -18
  275. package/dist/esm/components/BodyList.js.map +0 -7
  276. package/dist/esm/components/ColumnVisibilityMenuOption.js +0 -35
  277. package/dist/esm/components/ColumnVisibilityMenuOption.js.map +0 -7
  278. package/dist/esm/components/ColumnsOptionsMenuSection.js +0 -33
  279. package/dist/esm/components/ColumnsOptionsMenuSection.js.map +0 -7
  280. package/dist/esm/components/EmptyState.js +0 -51
  281. package/dist/esm/components/EmptyState.js.map +0 -7
  282. package/dist/esm/components/HeaderCell.js +0 -49
  283. package/dist/esm/components/HeaderCell.js.map +0 -7
  284. package/dist/esm/components/List.js +0 -13
  285. package/dist/esm/components/List.js.map +0 -7
  286. package/dist/esm/components/ListItem.js +0 -19
  287. package/dist/esm/components/ListItem.js.map +0 -7
  288. package/dist/esm/components/NoResults.js +0 -23
  289. package/dist/esm/components/NoResults.js.map +0 -7
  290. package/dist/esm/components/RowsLoader.js +0 -11
  291. package/dist/esm/components/RowsLoader.js.map +0 -7
  292. package/dist/esm/components/Table.js +0 -95
  293. package/dist/esm/components/Table.js.map +0 -7
  294. package/dist/esm/components/TableBody.js +0 -41
  295. package/dist/esm/components/TableBody.js.map +0 -7
  296. package/dist/esm/components/TableHeader.js +0 -30
  297. package/dist/esm/components/TableHeader.js.map +0 -7
  298. package/dist/esm/components/footer/addOptionalFooterComponents.js +0 -30
  299. package/dist/esm/components/footer/addOptionalFooterComponents.js.map +0 -7
  300. package/dist/esm/components/header/PrimaryControls.js +0 -24
  301. package/dist/esm/components/header/PrimaryControls.js.map +0 -7
  302. package/dist/esm/components/header/addOptionalHeaderComponents.js +0 -32
  303. package/dist/esm/components/header/addOptionalHeaderComponents.js.map +0 -7
  304. package/dist/esm/components/index.js +0 -14
  305. package/dist/esm/components/index.js.map +0 -7
  306. package/dist/esm/components/renderers/defaultClassedRenderers.js +0 -37
  307. package/dist/esm/components/renderers/defaultClassedRenderers.js.map +0 -7
  308. package/dist/esm/components/renderers/index.js +0 -29
  309. package/dist/esm/components/renderers/index.js.map +0 -7
  310. package/dist/esm/components/renderers/renderRowsLoader.js +0 -8
  311. package/dist/esm/components/renderers/renderRowsLoader.js.map +0 -7
  312. package/dist/esm/components/tableContext.js +0 -7
  313. package/dist/esm/components/tableContext.js.map +0 -7
  314. package/dist/esm/defaultPlugins.js +0 -10
  315. package/dist/esm/defaultPlugins.js.map +0 -7
  316. package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +0 -115
  317. package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +0 -7
  318. package/dist/esm/plugins/body-header-scroll-sync/index.js +0 -6
  319. package/dist/esm/plugins/body-header-scroll-sync/index.js.map +0 -7
  320. package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js +0 -129
  321. package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js.map +0 -7
  322. package/dist/esm/plugins/column-dnd/decorateGridWithDndColumns.js +0 -18
  323. package/dist/esm/plugins/column-dnd/decorateGridWithDndColumns.js.map +0 -7
  324. package/dist/esm/plugins/column-dnd/index.js +0 -6
  325. package/dist/esm/plugins/column-dnd/index.js.map +0 -7
  326. package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js +0 -63
  327. package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js.map +0 -7
  328. package/dist/esm/plugins/column-sizing/columnMeasurerTransformer.js +0 -40
  329. package/dist/esm/plugins/column-sizing/columnMeasurerTransformer.js.map +0 -7
  330. package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js +0 -15
  331. package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js.map +0 -7
  332. package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js +0 -35
  333. package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js.map +0 -7
  334. package/dist/esm/plugins/column-sizing/getColumnNameFromProperty.js +0 -8
  335. package/dist/esm/plugins/column-sizing/getColumnNameFromProperty.js.map +0 -7
  336. package/dist/esm/plugins/column-sizing/index.js +0 -6
  337. package/dist/esm/plugins/column-sizing/index.js.map +0 -7
  338. package/dist/esm/plugins/column-sizing/useColumnSizeService.js +0 -118
  339. package/dist/esm/plugins/column-sizing/useColumnSizeService.js.map +0 -7
  340. package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js +0 -151
  341. package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js.map +0 -7
  342. package/dist/esm/plugins/column-sizing/utils.js +0 -39
  343. package/dist/esm/plugins/column-sizing/utils.js.map +0 -7
  344. package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js +0 -11
  345. package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +0 -7
  346. package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js +0 -49
  347. package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +0 -7
  348. package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js +0 -30
  349. package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js.map +0 -7
  350. package/dist/esm/plugins/custom-cell-renderer/index.js +0 -6
  351. package/dist/esm/plugins/custom-cell-renderer/index.js.map +0 -7
  352. package/dist/esm/plugins/editable/EditableComponents/ComboBox.js +0 -43
  353. package/dist/esm/plugins/editable/EditableComponents/ComboBox.js.map +0 -7
  354. package/dist/esm/plugins/editable/EditableComponents/TextBox.js +0 -65
  355. package/dist/esm/plugins/editable/EditableComponents/TextBox.js.map +0 -7
  356. package/dist/esm/plugins/editable/EditableComponents/index.js +0 -8
  357. package/dist/esm/plugins/editable/EditableComponents/index.js.map +0 -7
  358. package/dist/esm/plugins/editable/EditablePlugin.js +0 -82
  359. package/dist/esm/plugins/editable/EditablePlugin.js.map +0 -7
  360. package/dist/esm/plugins/editable/decorateEditable.js +0 -66
  361. package/dist/esm/plugins/editable/decorateEditable.js.map +0 -7
  362. package/dist/esm/plugins/editable/getEditorComponent.js +0 -30
  363. package/dist/esm/plugins/editable/getEditorComponent.js.map +0 -7
  364. package/dist/esm/plugins/editable/index.js +0 -9
  365. package/dist/esm/plugins/editable/index.js.map +0 -7
  366. package/dist/esm/plugins/expandable-grid/ExpandableColumn.js +0 -101
  367. package/dist/esm/plugins/expandable-grid/ExpandableColumn.js.map +0 -7
  368. package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js +0 -167
  369. package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js.map +0 -7
  370. package/dist/esm/plugins/expandable-grid/ExpandedRow.js +0 -117
  371. package/dist/esm/plugins/expandable-grid/ExpandedRow.js.map +0 -7
  372. package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js +0 -27
  373. package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js.map +0 -7
  374. package/dist/esm/plugins/expandable-grid/index.js +0 -8
  375. package/dist/esm/plugins/expandable-grid/index.js.map +0 -7
  376. package/dist/esm/plugins/expandable-grid/useExpandGridState.js +0 -64
  377. package/dist/esm/plugins/expandable-grid/useExpandGridState.js.map +0 -7
  378. package/dist/esm/plugins/export-data/ExportDataPlugin.js +0 -105
  379. package/dist/esm/plugins/export-data/ExportDataPlugin.js.map +0 -7
  380. package/dist/esm/plugins/export-data/index.js +0 -6
  381. package/dist/esm/plugins/export-data/index.js.map +0 -7
  382. package/dist/esm/plugins/filterable/FilterablePlugin.js +0 -54
  383. package/dist/esm/plugins/filterable/FilterablePlugin.js.map +0 -7
  384. package/dist/esm/plugins/filterable/addFilterToColumn.js +0 -14
  385. package/dist/esm/plugins/filterable/addFilterToColumn.js.map +0 -7
  386. package/dist/esm/plugins/filterable/components/FilterableHeader.js +0 -103
  387. package/dist/esm/plugins/filterable/components/FilterableHeader.js.map +0 -7
  388. package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +0 -149
  389. package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +0 -7
  390. package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +0 -103
  391. package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +0 -7
  392. package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +0 -205
  393. package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +0 -7
  394. package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js +0 -153
  395. package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +0 -7
  396. package/dist/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js +0 -6
  397. package/dist/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +0 -7
  398. package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +0 -18
  399. package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +0 -7
  400. package/dist/esm/plugins/filterable/filterableFormatter.js +0 -39
  401. package/dist/esm/plugins/filterable/filterableFormatter.js.map +0 -7
  402. package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js +0 -53
  403. package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +0 -7
  404. package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js +0 -15
  405. package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js.map +0 -7
  406. package/dist/esm/plugins/filterable/helper.js +0 -83
  407. package/dist/esm/plugins/filterable/helper.js.map +0 -7
  408. package/dist/esm/plugins/filterable/index.js +0 -6
  409. package/dist/esm/plugins/filterable/index.js.map +0 -7
  410. package/dist/esm/plugins/filterable/useFilterableState.js +0 -82
  411. package/dist/esm/plugins/filterable/useFilterableState.js.map +0 -7
  412. package/dist/esm/plugins/grouping-by/GroupingByPlugin.js +0 -28
  413. package/dist/esm/plugins/grouping-by/GroupingByPlugin.js.map +0 -7
  414. package/dist/esm/plugins/grouping-grid/GroupingPlugin.js +0 -104
  415. package/dist/esm/plugins/grouping-grid/GroupingPlugin.js.map +0 -7
  416. package/dist/esm/plugins/grouping-grid/walkStrategy.js +0 -47
  417. package/dist/esm/plugins/grouping-grid/walkStrategy.js.map +0 -7
  418. package/dist/esm/plugins/index.js +0 -39
  419. package/dist/esm/plugins/index.js.map +0 -7
  420. package/dist/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js +0 -71
  421. package/dist/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +0 -7
  422. package/dist/esm/plugins/infinite-scrolling/index.js +0 -6
  423. package/dist/esm/plugins/infinite-scrolling/index.js.map +0 -7
  424. package/dist/esm/plugins/pagination/PaginationPlugin.js +0 -60
  425. package/dist/esm/plugins/pagination/PaginationPlugin.js.map +0 -7
  426. package/dist/esm/plugins/pagination/components/Pagination.js +0 -27
  427. package/dist/esm/plugins/pagination/components/Pagination.js.map +0 -7
  428. package/dist/esm/plugins/pagination/components/Paginator.js +0 -43
  429. package/dist/esm/plugins/pagination/components/Paginator.js.map +0 -7
  430. package/dist/esm/plugins/pagination/components/PerPageDropdown.js +0 -44
  431. package/dist/esm/plugins/pagination/components/PerPageDropdown.js.map +0 -7
  432. package/dist/esm/plugins/pagination/helper.js +0 -33
  433. package/dist/esm/plugins/pagination/helper.js.map +0 -7
  434. package/dist/esm/plugins/pagination/index.js +0 -6
  435. package/dist/esm/plugins/pagination/index.js.map +0 -7
  436. package/dist/esm/plugins/pagination/usePaginationState.js +0 -53
  437. package/dist/esm/plugins/pagination/usePaginationState.js.map +0 -7
  438. package/dist/esm/plugins/resizable/ResizablePlugin.js +0 -86
  439. package/dist/esm/plugins/resizable/ResizablePlugin.js.map +0 -7
  440. package/dist/esm/plugins/resizable/decorateResizable.js +0 -27
  441. package/dist/esm/plugins/resizable/decorateResizable.js.map +0 -7
  442. package/dist/esm/plugins/resizable/index.js +0 -6
  443. package/dist/esm/plugins/resizable/index.js.map +0 -7
  444. package/dist/esm/plugins/resizable/useResizeHandle.js +0 -45
  445. package/dist/esm/plugins/resizable/useResizeHandle.js.map +0 -7
  446. package/dist/esm/plugins/resizable/utils.js +0 -25
  447. package/dist/esm/plugins/resizable/utils.js.map +0 -7
  448. package/dist/esm/plugins/row-dnd/DndRowsPlugin.js +0 -110
  449. package/dist/esm/plugins/row-dnd/DndRowsPlugin.js.map +0 -7
  450. package/dist/esm/plugins/row-dnd/index.js +0 -6
  451. package/dist/esm/plugins/row-dnd/index.js.map +0 -7
  452. package/dist/esm/plugins/selectable/SelectablePlugin.js +0 -140
  453. package/dist/esm/plugins/selectable/SelectablePlugin.js.map +0 -7
  454. package/dist/esm/plugins/selectable/addSelectableColumn.js +0 -75
  455. package/dist/esm/plugins/selectable/addSelectableColumn.js.map +0 -7
  456. package/dist/esm/plugins/selectable/helper.js +0 -25
  457. package/dist/esm/plugins/selectable/helper.js.map +0 -7
  458. package/dist/esm/plugins/selectable/index.js +0 -6
  459. package/dist/esm/plugins/selectable/index.js.map +0 -7
  460. package/dist/esm/plugins/selectable/selectableFormatter.js +0 -69
  461. package/dist/esm/plugins/selectable/selectableFormatter.js.map +0 -7
  462. package/dist/esm/plugins/selectable/useSelectableState.js +0 -98
  463. package/dist/esm/plugins/selectable/useSelectableState.js.map +0 -7
  464. package/dist/esm/plugins/sortable/SortablePlugin.js +0 -68
  465. package/dist/esm/plugins/sortable/SortablePlugin.js.map +0 -7
  466. package/dist/esm/plugins/sortable/checkIfSortable.js +0 -16
  467. package/dist/esm/plugins/sortable/checkIfSortable.js.map +0 -7
  468. package/dist/esm/plugins/sortable/index.js +0 -6
  469. package/dist/esm/plugins/sortable/index.js.map +0 -7
  470. package/dist/esm/plugins/sortable/sortHeaderFormatter.js +0 -36
  471. package/dist/esm/plugins/sortable/sortHeaderFormatter.js.map +0 -7
  472. package/dist/esm/plugins/sortable/sortTree.js +0 -19
  473. package/dist/esm/plugins/sortable/sortTree.js.map +0 -7
  474. package/dist/esm/plugins/sortable/sorter.js +0 -124
  475. package/dist/esm/plugins/sortable/sorter.js.map +0 -7
  476. package/dist/esm/plugins/sortable/useSortableState.js +0 -44
  477. package/dist/esm/plugins/sortable/useSortableState.js.map +0 -7
  478. package/dist/esm/plugins/toolbar/RowRenderer.js +0 -79
  479. package/dist/esm/plugins/toolbar/RowRenderer.js.map +0 -7
  480. package/dist/esm/plugins/toolbar/ToolbarPlugin.js +0 -33
  481. package/dist/esm/plugins/toolbar/ToolbarPlugin.js.map +0 -7
  482. package/dist/esm/plugins/toolbar/ToolbarTrigger.js +0 -85
  483. package/dist/esm/plugins/toolbar/ToolbarTrigger.js.map +0 -7
  484. package/dist/esm/plugins/toolbar/index.js +0 -6
  485. package/dist/esm/plugins/toolbar/index.js.map +0 -7
  486. package/dist/esm/plugins/virtualization/AutoHeightList.js +0 -48
  487. package/dist/esm/plugins/virtualization/AutoHeightList.js.map +0 -7
  488. package/dist/esm/plugins/virtualization/VirtualizationPlugin.js +0 -79
  489. package/dist/esm/plugins/virtualization/VirtualizationPlugin.js.map +0 -7
  490. package/dist/esm/plugins/virtualization/VirtualizedBody.js +0 -245
  491. package/dist/esm/plugins/virtualization/VirtualizedBody.js.map +0 -7
  492. package/dist/esm/plugins/virtualization/VirtualizedBodyRow.js +0 -28
  493. package/dist/esm/plugins/virtualization/VirtualizedBodyRow.js.map +0 -7
  494. package/dist/esm/plugins/virtualization/helper.js +0 -6
  495. package/dist/esm/plugins/virtualization/helper.js.map +0 -7
  496. package/dist/esm/plugins/virtualization/index.js +0 -6
  497. package/dist/esm/plugins/virtualization/index.js.map +0 -7
  498. package/dist/esm/renders/CellWithAddons.js +0 -83
  499. package/dist/esm/renders/CellWithAddons.js.map +0 -7
  500. package/dist/esm/renders/index.js +0 -8
  501. package/dist/esm/renders/index.js.map +0 -7
  502. package/dist/esm/renders/styled.js +0 -49
  503. package/dist/esm/renders/styled.js.map +0 -7
  504. package/dist/esm/rowSizes.js +0 -18
  505. package/dist/esm/rowSizes.js.map +0 -7
  506. package/dist/esm/utilities/DataGridUtilities.json +0 -1315
  507. package/dist/esm/utilities/getPluginsFromProps.js +0 -43
  508. package/dist/esm/utilities/getPluginsFromProps.js.map +0 -7
  509. package/dist/esm/utilities/getScrollbarSize.js +0 -17
  510. package/dist/esm/utilities/getScrollbarSize.js.map +0 -7
  511. package/dist/esm/utilities/normalizeData.js +0 -20
  512. package/dist/esm/utilities/normalizeData.js.map +0 -7
  513. package/dist/types/DSDataGrid.d.ts +0 -452
  514. package/dist/types/DataGridImpl.d.ts +0 -12
  515. package/dist/types/PaginatedDataGrid.d.ts +0 -14
  516. package/dist/types/blockNames.d.ts +0 -4
  517. package/dist/types/columns/IconColumn.d.ts +0 -35
  518. package/dist/types/columns/NumberColumn.d.ts +0 -4
  519. package/dist/types/components/BodyCell.d.ts +0 -33
  520. package/dist/types/components/BodyList.d.ts +0 -11
  521. package/dist/types/components/ColumnVisibilityMenuOption.d.ts +0 -15
  522. package/dist/types/components/ColumnsOptionsMenuSection.d.ts +0 -8
  523. package/dist/types/components/EmptyState.d.ts +0 -6
  524. package/dist/types/components/HeaderCell.d.ts +0 -18
  525. package/dist/types/components/List.d.ts +0 -2
  526. package/dist/types/components/ListItem.d.ts +0 -2
  527. package/dist/types/components/NoResults.d.ts +0 -7
  528. package/dist/types/components/RowsLoader.d.ts +0 -4
  529. package/dist/types/components/Table.d.ts +0 -8
  530. package/dist/types/components/TableBody.d.ts +0 -4
  531. package/dist/types/components/TableHeader.d.ts +0 -3
  532. package/dist/types/components/footer/addOptionalFooterComponents.d.ts +0 -6
  533. package/dist/types/components/header/PrimaryControls.d.ts +0 -5
  534. package/dist/types/components/header/addOptionalHeaderComponents.d.ts +0 -10
  535. package/dist/types/components/index.d.ts +0 -5
  536. package/dist/types/components/renderers/defaultClassedRenderers.d.ts +0 -11
  537. package/dist/types/components/renderers/index.d.ts +0 -15
  538. package/dist/types/components/renderers/renderRowsLoader.d.ts +0 -1
  539. package/dist/types/components/tableContext.d.ts +0 -2
  540. package/dist/types/components/tests/ColumnVisibilityMenu.test.d.ts +0 -1
  541. package/dist/types/defaultPlugins.d.ts +0 -1
  542. package/dist/types/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.d.ts +0 -1
  543. package/dist/types/plugins/body-header-scroll-sync/index.d.ts +0 -1
  544. package/dist/types/plugins/column-dnd/DndColumnsPlugin.d.ts +0 -1
  545. package/dist/types/plugins/column-dnd/decorateGridWithDndColumns.d.ts +0 -2
  546. package/dist/types/plugins/column-dnd/index.d.ts +0 -1
  547. package/dist/types/plugins/column-sizing/ColumnSizingPlugin.d.ts +0 -1
  548. package/dist/types/plugins/column-sizing/columnMeasurerTransformer.d.ts +0 -6
  549. package/dist/types/plugins/column-sizing/ext-points/decorateColumn.d.ts +0 -1
  550. package/dist/types/plugins/column-sizing/ext-points/getTableProps.d.ts +0 -10
  551. package/dist/types/plugins/column-sizing/getColumnNameFromProperty.d.ts +0 -2
  552. package/dist/types/plugins/column-sizing/index.d.ts +0 -1
  553. package/dist/types/plugins/column-sizing/useColumnSizeService.d.ts +0 -18
  554. package/dist/types/plugins/column-sizing/useStylesheetHelpers.d.ts +0 -22
  555. package/dist/types/plugins/column-sizing/utils.d.ts +0 -5
  556. package/dist/types/plugins/custom-cell-renderer/CustomRendererPlugin.d.ts +0 -1
  557. package/dist/types/plugins/custom-cell-renderer/addCustomRendererToCell.d.ts +0 -4
  558. package/dist/types/plugins/custom-cell-renderer/getRendererComponent.d.ts +0 -11
  559. package/dist/types/plugins/custom-cell-renderer/index.d.ts +0 -1
  560. package/dist/types/plugins/editable/EditableComponents/ComboBox.d.ts +0 -12
  561. package/dist/types/plugins/editable/EditableComponents/TextBox.d.ts +0 -24
  562. package/dist/types/plugins/editable/EditableComponents/index.d.ts +0 -2
  563. package/dist/types/plugins/editable/EditablePlugin.d.ts +0 -1
  564. package/dist/types/plugins/editable/decorateEditable.d.ts +0 -7
  565. package/dist/types/plugins/editable/getEditorComponent.d.ts +0 -7
  566. package/dist/types/plugins/editable/index.d.ts +0 -2
  567. package/dist/types/plugins/expandable-grid/ExpandableColumn.d.ts +0 -28
  568. package/dist/types/plugins/expandable-grid/ExpandablePlugin.d.ts +0 -1
  569. package/dist/types/plugins/expandable-grid/ExpandedRow.d.ts +0 -11
  570. package/dist/types/plugins/expandable-grid/ExpandedRowExtra.d.ts +0 -9
  571. package/dist/types/plugins/expandable-grid/index.d.ts +0 -2
  572. package/dist/types/plugins/expandable-grid/tests/ExpandablePlugin.test.d.ts +0 -1
  573. package/dist/types/plugins/expandable-grid/useExpandGridState.d.ts +0 -16
  574. package/dist/types/plugins/export-data/ExportDataPlugin.d.ts +0 -4
  575. package/dist/types/plugins/export-data/index.d.ts +0 -1
  576. package/dist/types/plugins/filterable/FilterablePlugin.d.ts +0 -1
  577. package/dist/types/plugins/filterable/addFilterToColumn.d.ts +0 -1
  578. package/dist/types/plugins/filterable/components/FilterableHeader.d.ts +0 -28
  579. package/dist/types/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.d.ts +0 -30
  580. package/dist/types/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.d.ts +0 -27
  581. package/dist/types/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.d.ts +0 -31
  582. package/dist/types/plugins/filterable/components/filterable-menus/TextFilterMenu.d.ts +0 -35
  583. package/dist/types/plugins/filterable/components/filterable-menus/defaultDateFormat.d.ts +0 -1
  584. package/dist/types/plugins/filterable/components/filterable-menus/getFilterMenuByType.d.ts +0 -2
  585. package/dist/types/plugins/filterable/filterableFormatter.d.ts +0 -11
  586. package/dist/types/plugins/filterable/filtering-helper/filterRowsByQuery.d.ts +0 -3
  587. package/dist/types/plugins/filterable/filtering-helper/strategiesOperators.d.ts +0 -2
  588. package/dist/types/plugins/filterable/helper.d.ts +0 -22
  589. package/dist/types/plugins/filterable/index.d.ts +0 -1
  590. package/dist/types/plugins/filterable/useFilterableState.d.ts +0 -18
  591. package/dist/types/plugins/grouping-by/GroupingByPlugin.d.ts +0 -1
  592. package/dist/types/plugins/grouping-grid/GroupingPlugin.d.ts +0 -1
  593. package/dist/types/plugins/grouping-grid/walkStrategy.d.ts +0 -9
  594. package/dist/types/plugins/index.d.ts +0 -16
  595. package/dist/types/plugins/infinite-scrolling/InfiniteScrollPlugin.d.ts +0 -1
  596. package/dist/types/plugins/infinite-scrolling/index.d.ts +0 -1
  597. package/dist/types/plugins/pagination/PaginationPlugin.d.ts +0 -1
  598. package/dist/types/plugins/pagination/components/Pagination.d.ts +0 -10
  599. package/dist/types/plugins/pagination/components/Paginator.d.ts +0 -9
  600. package/dist/types/plugins/pagination/components/PerPageDropdown.d.ts +0 -9
  601. package/dist/types/plugins/pagination/helper.d.ts +0 -18
  602. package/dist/types/plugins/pagination/index.d.ts +0 -1
  603. package/dist/types/plugins/pagination/usePaginationState.d.ts +0 -9
  604. package/dist/types/plugins/resizable/ResizablePlugin.d.ts +0 -1
  605. package/dist/types/plugins/resizable/decorateResizable.d.ts +0 -3
  606. package/dist/types/plugins/resizable/index.d.ts +0 -1
  607. package/dist/types/plugins/resizable/useResizeHandle.d.ts +0 -13
  608. package/dist/types/plugins/resizable/utils.d.ts +0 -3
  609. package/dist/types/plugins/row-dnd/DndRowsPlugin.d.ts +0 -1
  610. package/dist/types/plugins/row-dnd/index.d.ts +0 -1
  611. package/dist/types/plugins/selectable/SelectablePlugin.d.ts +0 -1
  612. package/dist/types/plugins/selectable/addSelectableColumn.d.ts +0 -30
  613. package/dist/types/plugins/selectable/helper.d.ts +0 -6
  614. package/dist/types/plugins/selectable/index.d.ts +0 -1
  615. package/dist/types/plugins/selectable/selectableFormatter.d.ts +0 -9
  616. package/dist/types/plugins/selectable/useSelectableState.d.ts +0 -12
  617. package/dist/types/plugins/sortable/SortablePlugin.d.ts +0 -1
  618. package/dist/types/plugins/sortable/checkIfSortable.d.ts +0 -2
  619. package/dist/types/plugins/sortable/index.d.ts +0 -1
  620. package/dist/types/plugins/sortable/sortHeaderFormatter.d.ts +0 -6
  621. package/dist/types/plugins/sortable/sortTree.d.ts +0 -3
  622. package/dist/types/plugins/sortable/sorter.d.ts +0 -12
  623. package/dist/types/plugins/sortable/useSortableState.d.ts +0 -8
  624. package/dist/types/plugins/toolbar/RowRenderer.d.ts +0 -10
  625. package/dist/types/plugins/toolbar/ToolbarPlugin.d.ts +0 -1
  626. package/dist/types/plugins/toolbar/ToolbarTrigger.d.ts +0 -7
  627. package/dist/types/plugins/toolbar/index.d.ts +0 -1
  628. package/dist/types/plugins/virtualization/AutoHeightList.d.ts +0 -3
  629. package/dist/types/plugins/virtualization/VirtualizationPlugin.d.ts +0 -1
  630. package/dist/types/plugins/virtualization/VirtualizedBody.d.ts +0 -32
  631. package/dist/types/plugins/virtualization/VirtualizedBodyRow.d.ts +0 -8
  632. package/dist/types/plugins/virtualization/helper.d.ts +0 -1
  633. package/dist/types/plugins/virtualization/index.d.ts +0 -1
  634. package/dist/types/renders/CellWithAddons.d.ts +0 -51
  635. package/dist/types/renders/index.d.ts +0 -2
  636. package/dist/types/renders/styled.d.ts +0 -4
  637. package/dist/types/rowSizes.d.ts +0 -11
  638. package/dist/types/tests/DataGrid-Columns.test.d.ts +0 -1
  639. package/dist/types/tests/DataGrid-Editable.test.d.ts +0 -1
  640. package/dist/types/tests/DataGrid-Export.test.d.ts +0 -1
  641. package/dist/types/tests/DataGrid-Filter-helper.test.d.ts +0 -1
  642. package/dist/types/tests/DataGrid-Filterable-Dates.test.d.ts +0 -1
  643. package/dist/types/tests/DataGrid-Filterable-State.test.d.ts +0 -1
  644. package/dist/types/tests/DataGrid-RowDnd.test.d.ts +0 -1
  645. package/dist/types/tests/DataGrid-Selectable.test.d.ts +0 -1
  646. package/dist/types/tests/DataGrid-Sortable.test.d.ts +0 -1
  647. package/dist/types/tests/DataGrid-Toolbar.test.d.ts +0 -1
  648. package/dist/types/tests/DataGrid-Virtualization.test.d.ts +0 -1
  649. package/dist/types/tests/DataGrids-ColumnSizing.test.d.ts +0 -1
  650. package/dist/types/tests/DataGrids-ConditionalPagination.test.d.ts +0 -1
  651. package/dist/types/tests/DataGrids-Rows.test.d.ts +0 -1
  652. package/dist/types/tests/DataGrids.test.d.ts +0 -1
  653. package/dist/types/utilities/getPluginsFromProps.d.ts +0 -2
  654. package/dist/types/utilities/getScrollbarSize.d.ts +0 -1
  655. package/dist/types/utilities/normalizeData.d.ts +0 -3
@@ -1,49 +0,0 @@
1
- import * as React from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- import PropTypes from "prop-types";
4
- import { evaluateFormatters, evaluateTransforms } from "@elliemae/ds-shared";
5
- import { DSTruncatedTooltipText } from "@elliemae/ds-truncated-tooltip-text";
6
- const HeaderCell = ({ column, columnIndex, component: Component, classProps, grid }) => {
7
- const { property, header = {}, props = {} } = column;
8
- const evaluatedProperty = property || header && header.property;
9
- const { label, transforms = [], formatters = [] } = header;
10
- if (column.headerHookEffects)
11
- column.headerHookEffects.forEach((hook) => hook());
12
- const extraParameters = {
13
- columnIndex,
14
- property: evaluatedProperty,
15
- column,
16
- grid
17
- };
18
- const withTooltip = (v) => classProps && classProps.wrapText ? v : /* @__PURE__ */ jsx(DSTruncatedTooltipText, { value: v });
19
- const value = withTooltip(label);
20
- const transformedProps = evaluateTransforms(transforms, value, extraParameters);
21
- const formattedValue = evaluateFormatters(formatters, value, extraParameters);
22
- const testId = column.headerDataId || "data-grid-header__cell";
23
- return /* @__PURE__ */ jsx(
24
- Component,
25
- {
26
- "data-testid": testId,
27
- index: columnIndex,
28
- classProps,
29
- ...props,
30
- ...header && header.props,
31
- ...transformedProps,
32
- children: transformedProps.children || formattedValue
33
- },
34
- `${evaluatedProperty}-header`
35
- );
36
- };
37
- HeaderCell.propTypes = {
38
- column: PropTypes.any,
39
- columnIndex: PropTypes.number,
40
- component: PropTypes.any,
41
- classProps: PropTypes.any,
42
- grid: PropTypes.any
43
- };
44
- var HeaderCell_default = HeaderCell;
45
- export {
46
- HeaderCell,
47
- HeaderCell_default as default
48
- };
49
- //# sourceMappingURL=HeaderCell.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/HeaderCell.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport PropTypes from 'prop-types';\nimport { evaluateFormatters, evaluateTransforms } from '@elliemae/ds-shared';\nimport { DSTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\n\nexport const HeaderCell = ({ column, columnIndex, component: Component, classProps, grid }) => {\n const { property, header = {}, props = {} } = column;\n\n const evaluatedProperty = property || (header && header.property);\n\n const { label, transforms = [], formatters = [] } = header;\n\n // subscribe hook effects into header cell\n if (column.headerHookEffects) column.headerHookEffects.forEach((hook) => hook());\n\n const extraParameters = {\n columnIndex,\n property: evaluatedProperty,\n column,\n grid,\n };\n\n const withTooltip = (v) => (classProps && classProps.wrapText ? v : <DSTruncatedTooltipText value={v} />);\n const value = withTooltip(label);\n const transformedProps = evaluateTransforms(transforms, value, extraParameters);\n const formattedValue = evaluateFormatters(formatters, value, extraParameters);\n\n const testId = column.headerDataId || 'data-grid-header__cell';\n\n return (\n <Component\n key={`${evaluatedProperty}-header`}\n data-testid={testId}\n index={columnIndex}\n classProps={classProps}\n {...props}\n {...(header && header.props)}\n {...transformedProps}\n >\n {transformedProps.children || formattedValue}\n </Component>\n );\n};\n\nHeaderCell.propTypes = {\n column: PropTypes.any,\n columnIndex: PropTypes.number,\n component: PropTypes.any,\n classProps: PropTypes.any,\n grid: PropTypes.any,\n};\n\nexport default HeaderCell;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACsB+C;AArBtE,OAAO,eAAe;AACtB,SAAS,oBAAoB,0BAA0B;AACvD,SAAS,8BAA8B;AAEhC,MAAM,aAAa,CAAC,EAAE,QAAQ,aAAa,WAAW,WAAW,YAAY,KAAK,MAAM;AAC7F,QAAM,EAAE,UAAU,SAAS,CAAC,GAAG,QAAQ,CAAC,EAAE,IAAI;AAE9C,QAAM,oBAAoB,YAAa,UAAU,OAAO;AAExD,QAAM,EAAE,OAAO,aAAa,CAAC,GAAG,aAAa,CAAC,EAAE,IAAI;AAGpD,MAAI,OAAO;AAAmB,WAAO,kBAAkB,QAAQ,CAAC,SAAS,KAAK,CAAC;AAE/E,QAAM,kBAAkB;AAAA,IACtB;AAAA,IACA,UAAU;AAAA,IACV;AAAA,IACA;AAAA,EACF;AAEA,QAAM,cAAc,CAAC,MAAO,cAAc,WAAW,WAAW,IAAI,oBAAC,0BAAuB,OAAO,GAAG;AACtG,QAAM,QAAQ,YAAY,KAAK;AAC/B,QAAM,mBAAmB,mBAAmB,YAAY,OAAO,eAAe;AAC9E,QAAM,iBAAiB,mBAAmB,YAAY,OAAO,eAAe;AAE5E,QAAM,SAAS,OAAO,gBAAgB;AAEtC,SACE;AAAA,IAAC;AAAA;AAAA,MAEC,eAAa;AAAA,MACb,OAAO;AAAA,MACP;AAAA,MACC,GAAG;AAAA,MACH,GAAI,UAAU,OAAO;AAAA,MACrB,GAAG;AAAA,MAEH,2BAAiB,YAAY;AAAA;AAAA,IARzB,GAAG;AAAA,EASV;AAEJ;AAEA,WAAW,YAAY;AAAA,EACrB,QAAQ,UAAU;AAAA,EAClB,aAAa,UAAU;AAAA,EACvB,WAAW,UAAU;AAAA,EACrB,YAAY,UAAU;AAAA,EACtB,MAAM,UAAU;AAClB;AAEA,IAAO,qBAAQ;",
6
- "names": []
7
- }
@@ -1,13 +0,0 @@
1
- import * as React from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- const List = (props, instance) => {
4
- const { renderers, getListProps } = instance.getInstance();
5
- const ListComponent = renderers.list;
6
- const mixedProps = getListProps(props);
7
- return /* @__PURE__ */ jsx(ListComponent, { ...mixedProps });
8
- };
9
- var List_default = List;
10
- export {
11
- List_default as default
12
- };
13
- //# sourceMappingURL=List.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/List.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\n\nconst List = (props, instance) => {\n // todo: add should list update to memoize this\n const { renderers, getListProps } = instance.getInstance();\n const ListComponent = renderers.list;\n\n // props from component props and plugins\n const mixedProps = getListProps(props);\n return <ListComponent {...mixedProps} />;\n};\n\nexport default List;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACSd;AAPT,MAAM,OAAO,CAAC,OAAO,aAAa;AAEhC,QAAM,EAAE,WAAW,aAAa,IAAI,SAAS,YAAY;AACzD,QAAM,gBAAgB,UAAU;AAGhC,QAAM,aAAa,aAAa,KAAK;AACrC,SAAO,oBAAC,iBAAe,GAAG,YAAY;AACxC;AAEA,IAAO,eAAQ;",
6
- "names": []
7
- }
@@ -1,19 +0,0 @@
1
- import * as React from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- const ListItem = (props, instance) => {
4
- const { record } = props;
5
- const {
6
- renderers,
7
- getItemProps,
8
- decorators: { itemRenderer }
9
- } = instance.getInstance();
10
- const mixedProps = getItemProps(props);
11
- const children = itemRenderer.reduce((result, formatter) => formatter(result, record, instance), record.data.name);
12
- const ItemComponent = renderers.list;
13
- return /* @__PURE__ */ jsx(ItemComponent, { record, ...mixedProps, children });
14
- };
15
- var ListItem_default = ListItem;
16
- export {
17
- ListItem_default as default
18
- };
19
- //# sourceMappingURL=ListItem.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/ListItem.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\n\nconst ListItem = (props, instance) => {\n const { record } = props;\n const {\n renderers,\n getItemProps,\n decorators: { itemRenderer },\n } = instance.getInstance();\n\n // props from component props and plugins\n const mixedProps = getItemProps(props);\n\n const children = itemRenderer.reduce((result, formatter) => formatter(result, record, instance), record.data.name);\n\n const ItemComponent = renderers.list;\n return (\n <ItemComponent record={record} {...mixedProps}>\n {children}\n </ItemComponent>\n );\n};\n\nexport default ListItem;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACiBnB;AAfJ,MAAM,WAAW,CAAC,OAAO,aAAa;AACpC,QAAM,EAAE,OAAO,IAAI;AACnB,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA,YAAY,EAAE,aAAa;AAAA,EAC7B,IAAI,SAAS,YAAY;AAGzB,QAAM,aAAa,aAAa,KAAK;AAErC,QAAM,WAAW,aAAa,OAAO,CAAC,QAAQ,cAAc,UAAU,QAAQ,QAAQ,QAAQ,GAAG,OAAO,KAAK,IAAI;AAEjH,QAAM,gBAAgB,UAAU;AAChC,SACE,oBAAC,iBAAc,QAAiB,GAAG,YAChC,UACH;AAEJ;AAEA,IAAO,mBAAQ;",
6
- "names": []
7
- }
@@ -1,23 +0,0 @@
1
- import * as React from "react";
2
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
- import { styled, __UNSAFE_SPACE_TO_DIMSUM } from "@elliemae/ds-system";
4
- const NoResultsContainer = styled.div`
5
- display: flex;
6
- flex-direction: column;
7
- justify-content: center;
8
- align-items: center;
9
- padding: ${(props) => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.s)};
10
- padding-bottom: 0;
11
- height: calc(100% - 36px);
12
- overflow: auto;
13
- `;
14
- const NoResults = ({ innerRef, rowRenderer, children, ...rest }) => /* @__PURE__ */ jsxs(Fragment, { children: [
15
- /* @__PURE__ */ jsx(NoResultsContainer, { ...rest, innerRef, children }),
16
- rowRenderer({}, { style: { visibility: "hidden", marginBottom: 0 } }, {})
17
- ] });
18
- var NoResults_default = NoResults;
19
- export {
20
- NoResults,
21
- NoResults_default as default
22
- };
23
- //# sourceMappingURL=NoResults.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/NoResults.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { styled, __UNSAFE_SPACE_TO_DIMSUM } from '@elliemae/ds-system';\n\nconst NoResultsContainer = styled.div`\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: ${(props) => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.s)};\n padding-bottom: 0;\n height: calc(100% - 36px);\n overflow: auto;\n`;\n\nexport const NoResults = ({ innerRef, rowRenderer, children, ...rest }) => (\n <>\n <NoResultsContainer {...rest} innerRef={innerRef}>\n {children}\n </NoResultsContainer>\n {/* Hack to expand to the width of the row so we can scroll\n if the columns are bigger than the grid */}\n {rowRenderer({}, { style: { visibility: 'hidden', marginBottom: 0 } }, {})}\n </>\n);\n\nexport default NoResults;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACerB,mBACE,KADF;AAdF,SAAS,QAAQ,gCAAgC;AAEjD,MAAM,qBAAqB,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,aAKrB,CAAC,UAAU,yBAAyB,MAAM,MAAM,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAM7D,MAAM,YAAY,CAAC,EAAE,UAAU,aAAa,UAAU,GAAG,KAAK,MACnE,iCACE;AAAA,sBAAC,sBAAoB,GAAG,MAAM,UAC3B,UACH;AAAA,EAGC,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,YAAY,UAAU,cAAc,EAAE,EAAE,GAAG,CAAC,CAAC;AAAA,GAC3E;AAGF,IAAO,oBAAQ;",
6
- "names": []
7
- }
@@ -1,11 +0,0 @@
1
- import * as React from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- import { DSSpinner } from "@elliemae/ds-spinner";
4
- import { SpinnerContainer } from "./renderers/defaultClassedRenderers.js";
5
- const RowsLoader = ({ size = "m" }) => /* @__PURE__ */ jsx(SpinnerContainer, { children: /* @__PURE__ */ jsx(DSSpinner, { size }) });
6
- var RowsLoader_default = RowsLoader;
7
- export {
8
- RowsLoader,
9
- RowsLoader_default as default
10
- };
11
- //# sourceMappingURL=RowsLoader.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/RowsLoader.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { DSSpinner } from '@elliemae/ds-spinner';\nimport { SpinnerContainer } from './renderers/defaultClassedRenderers.js';\n\nexport const RowsLoader = ({ size = 'm' }) => (\n <SpinnerContainer>\n <DSSpinner size={size} />\n </SpinnerContainer>\n);\n\nexport default RowsLoader;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACMnB;AALJ,SAAS,iBAAiB;AAC1B,SAAS,wBAAwB;AAE1B,MAAM,aAAa,CAAC,EAAE,OAAO,IAAI,MACtC,oBAAC,oBACC,8BAAC,aAAU,MAAY,GACzB;AAGF,IAAO,qBAAQ;",
6
- "names": []
7
- }
@@ -1,95 +0,0 @@
1
- import * as React from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- import { useCallback, useEffect } from "react";
4
- import { TableHeader } from "./TableHeader.js";
5
- import { TableBody } from "./TableBody.js";
6
- import { HeaderCell } from "./HeaderCell.js";
7
- import { BodyCell } from "./BodyCell.js";
8
- import { TableContext } from "./tableContext.js";
9
- const { Provider } = TableContext;
10
- const Table = (props) => {
11
- const {
12
- decoratedRenderers: renderers,
13
- decoratedColumns: columns,
14
- getRowProps,
15
- getHeaderRowProps,
16
- getTableProps,
17
- children,
18
- tableRef,
19
- props: { wrapText },
20
- style,
21
- onDefaultFiltersLoad = () => null
22
- } = props;
23
- useEffect(() => {
24
- onDefaultFiltersLoad(props.composedRows);
25
- }, [onDefaultFiltersLoad]);
26
- const headerRowRenderer = () => {
27
- const Row = renderers.header.row;
28
- const Cell = renderers.header.cell;
29
- const cells = [];
30
- for (let index = 0; index < columns.length; index++) {
31
- cells.push(
32
- /* @__PURE__ */ jsx(
33
- HeaderCell,
34
- {
35
- classProps: { wrapText },
36
- column: columns[index],
37
- columnIndex: index,
38
- component: Cell,
39
- grid: props
40
- },
41
- index
42
- )
43
- );
44
- }
45
- const rowProps = getHeaderRowProps({}, {});
46
- return /* @__PURE__ */ jsx(Row, { ...rowProps, children: cells });
47
- };
48
- const bodyRowRenderer = useCallback(
49
- (rowData, rowProps, extraParams) => {
50
- const Row = renderers.body.row;
51
- const Cell = renderers.body.cell;
52
- const nextRowProps = getRowProps(rowProps, { ...extraParams, rowData });
53
- const cells = [];
54
- for (let index = 0; index < columns.length; index++) {
55
- cells.push(
56
- /* @__PURE__ */ jsx(
57
- BodyCell,
58
- {
59
- classProps: { wrapText },
60
- column: columns[index],
61
- columnIndex: index,
62
- component: Cell,
63
- grid: props,
64
- rowIndex: extraParams.rowIndex,
65
- rowProps: { rowData, ...nextRowProps }
66
- },
67
- index
68
- )
69
- );
70
- }
71
- return /* @__PURE__ */ jsx(Row, { ...nextRowProps, rowData, children: cells });
72
- },
73
- [columns, renderers]
74
- );
75
- const TableComponent = renderers.table;
76
- const value = { ...props, bodyRowRenderer, headerRowRenderer };
77
- return /* @__PURE__ */ jsx(Provider, { value, children: /* @__PURE__ */ jsx(
78
- TableComponent,
79
- {
80
- ...getTableProps({
81
- innerRef: tableRef,
82
- style
83
- }),
84
- children
85
- }
86
- ) });
87
- };
88
- Table.Header = TableHeader;
89
- Table.Body = TableBody;
90
- var Table_default = Table;
91
- export {
92
- Table,
93
- Table_default as default
94
- };
95
- //# sourceMappingURL=Table.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/Table.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable no-loops/no-loops,no-plusplus */\nimport React, { useCallback, useMemo, useEffect } from 'react';\nimport { TableHeader } from './TableHeader.js';\nimport { TableBody } from './TableBody.js';\nimport { HeaderCell } from './HeaderCell.js';\nimport { BodyCell } from './BodyCell.js';\nimport { TableContext } from './tableContext.js';\n\nconst { Provider } = TableContext;\n\nconst Table = (props) => {\n const {\n decoratedRenderers: renderers,\n decoratedColumns: columns,\n getRowProps,\n getHeaderRowProps,\n getTableProps,\n children,\n tableRef,\n props: { wrapText },\n style,\n onDefaultFiltersLoad = () => null,\n } = props;\n\n useEffect(() => {\n onDefaultFiltersLoad(props.composedRows);\n }, [onDefaultFiltersLoad]);\n\n const headerRowRenderer = () => {\n const Row = renderers.header.row;\n const Cell = renderers.header.cell;\n const cells = [];\n\n // optimize the rendering using for loop\n for (let index = 0; index < columns.length; index++) {\n cells.push(\n <HeaderCell\n key={index}\n classProps={{ wrapText }}\n column={columns[index]}\n columnIndex={index}\n component={Cell}\n grid={props}\n />,\n );\n }\n\n const rowProps = getHeaderRowProps({}, {});\n return <Row {...rowProps}>{cells}</Row>;\n };\n\n const bodyRowRenderer = useCallback(\n (rowData, rowProps, extraParams) => {\n const Row = renderers.body.row;\n const Cell = renderers.body.cell;\n\n const nextRowProps = getRowProps(rowProps, { ...extraParams, rowData });\n\n // get cells from columns api\n const cells = [];\n\n // optimize the rendering using for loop\n for (let index = 0; index < columns.length; index++) {\n cells.push(\n <BodyCell\n key={index}\n classProps={{ wrapText }}\n column={columns[index]}\n columnIndex={index}\n component={Cell}\n grid={props}\n rowIndex={extraParams.rowIndex}\n rowProps={{ rowData, ...nextRowProps }}\n />,\n );\n }\n\n return (\n <Row {...nextRowProps} rowData={rowData}>\n {cells}\n </Row>\n );\n },\n [columns, renderers],\n );\n\n const TableComponent = renderers.table;\n\n const value = { ...props, bodyRowRenderer, headerRowRenderer };\n\n return (\n <Provider value={value}>\n <TableComponent\n {...getTableProps({\n innerRef: tableRef,\n style,\n })}\n >\n {children}\n </TableComponent>\n </Provider>\n );\n};\n\nTable.Header = TableHeader;\nTable.Body = TableBody;\n\nexport { Table };\nexport default Table;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACoCf;AAnCR,SAAgB,aAAsB,iBAAiB;AACvD,SAAS,mBAAmB;AAC5B,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AACzB,SAAS,oBAAoB;AAE7B,MAAM,EAAE,SAAS,IAAI;AAErB,MAAM,QAAQ,CAAC,UAAU;AACvB,QAAM;AAAA,IACJ,oBAAoB;AAAA,IACpB,kBAAkB;AAAA,IAClB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,OAAO,EAAE,SAAS;AAAA,IAClB;AAAA,IACA,uBAAuB,MAAM;AAAA,EAC/B,IAAI;AAEJ,YAAU,MAAM;AACd,yBAAqB,MAAM,YAAY;AAAA,EACzC,GAAG,CAAC,oBAAoB,CAAC;AAEzB,QAAM,oBAAoB,MAAM;AAC9B,UAAM,MAAM,UAAU,OAAO;AAC7B,UAAM,OAAO,UAAU,OAAO;AAC9B,UAAM,QAAQ,CAAC;AAGf,aAAS,QAAQ,GAAG,QAAQ,QAAQ,QAAQ,SAAS;AACnD,YAAM;AAAA,QACJ;AAAA,UAAC;AAAA;AAAA,YAEC,YAAY,EAAE,SAAS;AAAA,YACvB,QAAQ,QAAQ,KAAK;AAAA,YACrB,aAAa;AAAA,YACb,WAAW;AAAA,YACX,MAAM;AAAA;AAAA,UALD;AAAA,QAMP;AAAA,MACF;AAAA,IACF;AAEA,UAAM,WAAW,kBAAkB,CAAC,GAAG,CAAC,CAAC;AACzC,WAAO,oBAAC,OAAK,GAAG,UAAW,iBAAM;AAAA,EACnC;AAEA,QAAM,kBAAkB;AAAA,IACtB,CAAC,SAAS,UAAU,gBAAgB;AAClC,YAAM,MAAM,UAAU,KAAK;AAC3B,YAAM,OAAO,UAAU,KAAK;AAE5B,YAAM,eAAe,YAAY,UAAU,EAAE,GAAG,aAAa,QAAQ,CAAC;AAGtE,YAAM,QAAQ,CAAC;AAGf,eAAS,QAAQ,GAAG,QAAQ,QAAQ,QAAQ,SAAS;AACnD,cAAM;AAAA,UACJ;AAAA,YAAC;AAAA;AAAA,cAEC,YAAY,EAAE,SAAS;AAAA,cACvB,QAAQ,QAAQ,KAAK;AAAA,cACrB,aAAa;AAAA,cACb,WAAW;AAAA,cACX,MAAM;AAAA,cACN,UAAU,YAAY;AAAA,cACtB,UAAU,EAAE,SAAS,GAAG,aAAa;AAAA;AAAA,YAPhC;AAAA,UAQP;AAAA,QACF;AAAA,MACF;AAEA,aACE,oBAAC,OAAK,GAAG,cAAc,SACpB,iBACH;AAAA,IAEJ;AAAA,IACA,CAAC,SAAS,SAAS;AAAA,EACrB;AAEA,QAAM,iBAAiB,UAAU;AAEjC,QAAM,QAAQ,EAAE,GAAG,OAAO,iBAAiB,kBAAkB;AAE7D,SACE,oBAAC,YAAS,OACR;AAAA,IAAC;AAAA;AAAA,MACE,GAAG,cAAc;AAAA,QAChB,UAAU;AAAA,QACV;AAAA,MACF,CAAC;AAAA,MAEA;AAAA;AAAA,EACH,GACF;AAEJ;AAEA,MAAM,SAAS;AACf,MAAM,OAAO;AAGb,IAAO,gBAAQ;",
6
- "names": []
7
- }
@@ -1,41 +0,0 @@
1
- import * as React from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- import { useContext, memo } from "react";
4
- import { TableContext } from "./tableContext.js";
5
- const TableBody = memo(({ rows, noResultsPlaceholder = "No data", isPlaceholderActive = false, ...props }) => {
6
- const {
7
- refs,
8
- decoratedColumns,
9
- decoratedRenderers: renderers,
10
- composedRows,
11
- getBodyProps,
12
- bodyRowRenderer: rowRenderer,
13
- props: { rowKey, numRowsVisible, groupedRows }
14
- } = useContext(TableContext);
15
- const BodyWrapperComponent = renderers.body.wrapper;
16
- return /* @__PURE__ */ jsx(
17
- BodyWrapperComponent,
18
- {
19
- classProps: { grouped: groupedRows },
20
- ...getBodyProps({
21
- ...props,
22
- innerRef: refs.body,
23
- innerBodyRef: refs.innerBody,
24
- rows: rows || composedRows.rows || composedRows,
25
- noResultsPlaceholder,
26
- rowRenderer,
27
- columns: decoratedColumns,
28
- rowKey,
29
- numRowsVisible,
30
- isPlaceholderActive
31
- }),
32
- children: "kajsd;klfajsd;fj"
33
- }
34
- );
35
- });
36
- var TableBody_default = TableBody;
37
- export {
38
- TableBody,
39
- TableBody_default as default
40
- };
41
- //# sourceMappingURL=TableBody.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/TableBody.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useContext, memo } from 'react';\nimport { TableContext } from './tableContext.js';\n\nconst TableBody = memo(({ rows, noResultsPlaceholder = 'No data', isPlaceholderActive = false, ...props }) => {\n const {\n refs,\n decoratedColumns,\n decoratedRenderers: renderers,\n composedRows,\n getBodyProps,\n bodyRowRenderer: rowRenderer,\n props: { rowKey, numRowsVisible, groupedRows },\n } = useContext(TableContext);\n\n const BodyWrapperComponent = renderers.body.wrapper;\n return (\n <BodyWrapperComponent\n classProps={{ grouped: groupedRows }}\n {...getBodyProps({\n ...props,\n innerRef: refs.body,\n innerBodyRef: refs.innerBody,\n rows: rows || composedRows.rows || composedRows,\n noResultsPlaceholder,\n rowRenderer,\n columns: decoratedColumns,\n rowKey,\n numRowsVisible,\n isPlaceholderActive,\n })}\n >\n kajsd;klfajsd;fj\n </BodyWrapperComponent>\n );\n});\n\nexport { TableBody };\nexport default TableBody;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACgBnB;AAhBJ,SAAgB,YAAY,YAAY;AACxC,SAAS,oBAAoB;AAE7B,MAAM,YAAY,KAAK,CAAC,EAAE,MAAM,uBAAuB,WAAW,sBAAsB,OAAO,GAAG,MAAM,MAAM;AAC5G,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA,oBAAoB;AAAA,IACpB;AAAA,IACA;AAAA,IACA,iBAAiB;AAAA,IACjB,OAAO,EAAE,QAAQ,gBAAgB,YAAY;AAAA,EAC/C,IAAI,WAAW,YAAY;AAE3B,QAAM,uBAAuB,UAAU,KAAK;AAC5C,SACE;AAAA,IAAC;AAAA;AAAA,MACC,YAAY,EAAE,SAAS,YAAY;AAAA,MAClC,GAAG,aAAa;AAAA,QACf,GAAG;AAAA,QACH,UAAU,KAAK;AAAA,QACf,cAAc,KAAK;AAAA,QACnB,MAAM,QAAQ,aAAa,QAAQ;AAAA,QACnC;AAAA,QACA;AAAA,QACA,SAAS;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,MACF,CAAC;AAAA,MACF;AAAA;AAAA,EAED;AAEJ,CAAC;AAGD,IAAO,oBAAQ;",
6
- "names": []
7
- }
@@ -1,30 +0,0 @@
1
- import * as React from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- import { useContext } from "react";
4
- import { TableContext } from "./tableContext.js";
5
- const TableHeader = (props) => {
6
- const {
7
- decoratedRenderers: renderers,
8
- decoratedColumns: columns,
9
- headerRowRenderer,
10
- getHeaderProps,
11
- refs
12
- } = useContext(TableContext);
13
- const HeaderWrapper = renderers.header.wrapper;
14
- return /* @__PURE__ */ jsx(
15
- HeaderWrapper,
16
- {
17
- ...getHeaderProps({
18
- ...props,
19
- innerRef: refs.header
20
- }),
21
- children: headerRowRenderer(columns, {})
22
- }
23
- );
24
- };
25
- var TableHeader_default = TableHeader;
26
- export {
27
- TableHeader,
28
- TableHeader_default as default
29
- };
30
- //# sourceMappingURL=TableHeader.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/TableHeader.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useContext } from 'react';\nimport { TableContext } from './tableContext.js';\n\nconst TableHeader = (props) => {\n const {\n decoratedRenderers: renderers,\n decoratedColumns: columns,\n headerRowRenderer,\n getHeaderProps,\n refs,\n } = useContext(TableContext);\n\n const HeaderWrapper = renderers.header.wrapper;\n return (\n <HeaderWrapper\n {...getHeaderProps({\n ...props,\n innerRef: refs.header,\n })}\n >\n {headerRowRenderer(columns, {})}\n </HeaderWrapper>\n );\n};\n\nexport { TableHeader };\nexport default TableHeader;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACcnB;AAdJ,SAAgB,kBAAkB;AAClC,SAAS,oBAAoB;AAE7B,MAAM,cAAc,CAAC,UAAU;AAC7B,QAAM;AAAA,IACJ,oBAAoB;AAAA,IACpB,kBAAkB;AAAA,IAClB;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI,WAAW,YAAY;AAE3B,QAAM,gBAAgB,UAAU,OAAO;AACvC,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG,eAAe;AAAA,QACjB,GAAG;AAAA,QACH,UAAU,KAAK;AAAA,MACjB,CAAC;AAAA,MAEA,4BAAkB,SAAS,CAAC,CAAC;AAAA;AAAA,EAChC;AAEJ;AAGA,IAAO,sBAAQ;",
6
- "names": []
7
- }
@@ -1,30 +0,0 @@
1
- import * as React from "react";
2
- import { Fragment, jsx } from "react/jsx-runtime";
3
- import { Pagination } from "../../plugins/pagination/components/Pagination.js";
4
- const addOptionalFooterComponents = ({ grid, rows }) => {
5
- const {
6
- props: { maxPerPage, minPerPage, paginated, paginationStep },
7
- state: { pagination },
8
- actions: { onPerPage, onPageSelect }
9
- } = grid;
10
- if (!paginated)
11
- return null;
12
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
13
- Pagination,
14
- {
15
- maxPerPage,
16
- minPerPage,
17
- onPageSelect,
18
- onPerPage,
19
- paginationStep,
20
- paginated: rows,
21
- pagination
22
- }
23
- ) });
24
- };
25
- var addOptionalFooterComponents_default = addOptionalFooterComponents;
26
- export {
27
- addOptionalFooterComponents,
28
- addOptionalFooterComponents_default as default
29
- };
30
- //# sourceMappingURL=addOptionalFooterComponents.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/footer/addOptionalFooterComponents.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { Pagination } from '../../plugins/pagination/components/Pagination.js';\n\nconst addOptionalFooterComponents = ({ grid, rows }) => {\n const {\n props: { maxPerPage, minPerPage, paginated, paginationStep },\n state: { pagination },\n actions: { onPerPage, onPageSelect },\n } = grid;\n if (!paginated) return null;\n return (\n <>\n <Pagination\n maxPerPage={maxPerPage}\n minPerPage={minPerPage}\n onPageSelect={onPageSelect}\n onPerPage={onPerPage}\n paginationStep={paginationStep}\n paginated={rows}\n pagination={pagination}\n />\n </>\n );\n};\n\nexport { addOptionalFooterComponents };\nexport default addOptionalFooterComponents;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACWnB,mBACE,WADF;AAVJ,SAAS,kBAAkB;AAE3B,MAAM,8BAA8B,CAAC,EAAE,MAAM,KAAK,MAAM;AACtD,QAAM;AAAA,IACJ,OAAO,EAAE,YAAY,YAAY,WAAW,eAAe;AAAA,IAC3D,OAAO,EAAE,WAAW;AAAA,IACpB,SAAS,EAAE,WAAW,aAAa;AAAA,EACrC,IAAI;AACJ,MAAI,CAAC;AAAW,WAAO;AACvB,SACE,gCACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,WAAW;AAAA,MACX;AAAA;AAAA,EACF,GACF;AAEJ;AAGA,IAAO,sCAAQ;",
6
- "names": []
7
- }
@@ -1,24 +0,0 @@
1
- import * as React from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- import { DSSearchBox } from "@elliemae/ds-form";
4
- import { aggregatedClasses } from "@elliemae/ds-classnames";
5
- const blockName = "data-grid";
6
- const Container = aggregatedClasses("div")(blockName, "controls");
7
- const SearchContainer = aggregatedClasses("div")(blockName, "search-container");
8
- const PrimaryControls = ({ onAddFilter = () => null }) => /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsx(SearchContainer, { children: /* @__PURE__ */ jsx(
9
- DSSearchBox,
10
- {
11
- onSearch: ({ property, value }) => onAddFilter({
12
- filterId: property,
13
- label: "All",
14
- value
15
- }),
16
- placeholder: "Search all"
17
- }
18
- ) }) });
19
- var PrimaryControls_default = PrimaryControls;
20
- export {
21
- PrimaryControls,
22
- PrimaryControls_default as default
23
- };
24
- //# sourceMappingURL=PrimaryControls.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/header/PrimaryControls.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { DSSearchBox } from '@elliemae/ds-form';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\n\nconst blockName = 'data-grid';\n\nconst Container = aggregatedClasses('div')(blockName, 'controls');\nconst SearchContainer = aggregatedClasses('div')(blockName, 'search-container');\n\nconst PrimaryControls = ({ onAddFilter = () => null }) => (\n <Container>\n <SearchContainer>\n <DSSearchBox\n onSearch={({ property, value }) =>\n onAddFilter({\n filterId: property,\n label: 'All',\n value,\n })\n }\n placeholder=\"Search all\"\n />\n </SearchContainer>\n </Container>\n);\n\nexport { PrimaryControls };\nexport default PrimaryControls;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACYjB;AAXN,SAAS,mBAAmB;AAC5B,SAAS,yBAAyB;AAElC,MAAM,YAAY;AAElB,MAAM,YAAY,kBAAkB,KAAK,EAAE,WAAW,UAAU;AAChE,MAAM,kBAAkB,kBAAkB,KAAK,EAAE,WAAW,kBAAkB;AAE9E,MAAM,kBAAkB,CAAC,EAAE,cAAc,MAAM,KAAK,MAClD,oBAAC,aACC,8BAAC,mBACC;AAAA,EAAC;AAAA;AAAA,IACC,UAAU,CAAC,EAAE,UAAU,MAAM,MAC3B,YAAY;AAAA,MACV,UAAU;AAAA,MACV,OAAO;AAAA,MACP;AAAA,IACF,CAAC;AAAA,IAEH,aAAY;AAAA;AACd,GACF,GACF;AAIF,IAAO,0BAAQ;",
6
- "names": []
7
- }
@@ -1,32 +0,0 @@
1
- import * as React from "react";
2
- import { Fragment, jsx } from "react/jsx-runtime";
3
- import PropTypes from "prop-types";
4
- import { DSFilterBar } from "@elliemae/ds-filterbar";
5
- const addOptionalHeaderComponents = ({ grid }) => {
6
- const {
7
- props: { showFilterBar, renderFilterToolbar, filterBarOptions },
8
- state: { filters },
9
- actions: { removeFilter, removeAllFilters }
10
- } = grid.getInstance();
11
- const { maxWidth, minWidth } = filterBarOptions || {};
12
- return /* @__PURE__ */ jsx(Fragment, { children: filters && !!filters.length && showFilterBar && /* @__PURE__ */ jsx(
13
- DSFilterBar,
14
- {
15
- filters,
16
- maxWidth,
17
- minWidth,
18
- onRemoveAllFilters: removeAllFilters,
19
- onRemoveFilter: removeFilter,
20
- renderToolbar: renderFilterToolbar
21
- }
22
- ) });
23
- };
24
- addOptionalHeaderComponents.propTypes = {
25
- grid: PropTypes.any
26
- };
27
- var addOptionalHeaderComponents_default = addOptionalHeaderComponents;
28
- export {
29
- addOptionalHeaderComponents,
30
- addOptionalHeaderComponents_default as default
31
- };
32
- //# sourceMappingURL=addOptionalHeaderComponents.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/header/addOptionalHeaderComponents.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport PropTypes from 'prop-types';\nimport { DSFilterBar } from '@elliemae/ds-filterbar';\n\nexport const addOptionalHeaderComponents = ({ grid }) => {\n const {\n props: { showFilterBar, renderFilterToolbar, filterBarOptions },\n state: { filters },\n actions: { removeFilter, removeAllFilters },\n } = grid.getInstance();\n\n const { maxWidth, minWidth } = filterBarOptions || {};\n return (\n <>\n {filters && !!filters.length && showFilterBar && (\n <DSFilterBar\n filters={filters}\n maxWidth={maxWidth}\n minWidth={minWidth}\n onRemoveAllFilters={removeAllFilters}\n onRemoveFilter={removeFilter}\n renderToolbar={renderFilterToolbar}\n />\n )}\n </>\n );\n};\n\naddOptionalHeaderComponents.propTypes = {\n grid: PropTypes.any,\n};\n\nexport default addOptionalHeaderComponents;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACanB,mBAEI,WAFJ;AAZJ,OAAO,eAAe;AACtB,SAAS,mBAAmB;AAErB,MAAM,8BAA8B,CAAC,EAAE,KAAK,MAAM;AACvD,QAAM;AAAA,IACJ,OAAO,EAAE,eAAe,qBAAqB,iBAAiB;AAAA,IAC9D,OAAO,EAAE,QAAQ;AAAA,IACjB,SAAS,EAAE,cAAc,iBAAiB;AAAA,EAC5C,IAAI,KAAK,YAAY;AAErB,QAAM,EAAE,UAAU,SAAS,IAAI,oBAAoB,CAAC;AACpD,SACE,gCACG,qBAAW,CAAC,CAAC,QAAQ,UAAU,iBAC9B;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA,oBAAoB;AAAA,MACpB,gBAAgB;AAAA,MAChB,eAAe;AAAA;AAAA,EACjB,GAEJ;AAEJ;AAEA,4BAA4B,YAAY;AAAA,EACtC,MAAM,UAAU;AAClB;AAEA,IAAO,sCAAQ;",
6
- "names": []
7
- }
@@ -1,14 +0,0 @@
1
- import * as React from "react";
2
- import { default as default2 } from "./HeaderCell.js";
3
- import { default as default3 } from "./BodyCell.js";
4
- import { default as default4 } from "./TableBody.js";
5
- import { default as default5 } from "./TableHeader.js";
6
- import { default as default6 } from "./Table.js";
7
- export {
8
- default3 as BodyCell,
9
- default2 as HeaderCell,
10
- default6 as Table,
11
- default4 as TableBody,
12
- default5 as TableHeader
13
- };
14
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAoB,WAAXA,gBAA6B;AACtC,SAAoB,WAAXA,gBAA2B;AACpC,SAAoB,WAAXA,gBAA4B;AACrC,SAAoB,WAAXA,gBAA8B;AACvC,SAAoB,WAAXA,gBAAwB;",
6
- "names": ["default"]
7
- }
@@ -1,37 +0,0 @@
1
- import * as React from "react";
2
- import { aggregatedClasses } from "@elliemae/ds-classnames";
3
- import { bodyBlockName, dataGridBlockName, headerBlockName } from "../../blockNames.js";
4
- const NoResultsContainer = aggregatedClasses("div")(`${dataGridBlockName}-no-results`);
5
- const SpinnerContainer = aggregatedClasses("div")(`${dataGridBlockName}-spinner`);
6
- const DatagridWrapper = aggregatedClasses("div")(`${dataGridBlockName}-wrapper`, null, ({ fluidHeight }) => ({
7
- fluid: fluidHeight
8
- }));
9
- const TableWrapper = aggregatedClasses("div")(dataGridBlockName);
10
- const HeaderWrapper = aggregatedClasses("div")(headerBlockName);
11
- const HeaderRow = aggregatedClasses("div")(headerBlockName, "row");
12
- const HeaderCell = aggregatedClasses("div")(headerBlockName, "cell", ({ wrapText }) => ({
13
- wrapText
14
- }));
15
- const BodyWrapper = aggregatedClasses("div")(bodyBlockName, null, ({ grouped }) => ({
16
- "ie-flex-basis-auto": true,
17
- "is-grouped": grouped
18
- }));
19
- const BodyRow = aggregatedClasses("div", {
20
- "data-testid": "datagrid-row"
21
- })(bodyBlockName, "row");
22
- const BodyCell = aggregatedClasses("div")(bodyBlockName, "cell", ({ wrapText }) => ({
23
- wrapText
24
- }));
25
- export {
26
- BodyCell,
27
- BodyRow,
28
- BodyWrapper,
29
- DatagridWrapper,
30
- HeaderCell,
31
- HeaderRow,
32
- HeaderWrapper,
33
- NoResultsContainer,
34
- SpinnerContainer,
35
- TableWrapper
36
- };
37
- //# sourceMappingURL=defaultClassedRenderers.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/renderers/defaultClassedRenderers.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { aggregatedClasses } from '@elliemae/ds-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"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,yBAAyB;AAClC,SAAS,eAAe,mBAAmB,uBAAuB;AAE3D,MAAM,qBAAqB,kBAAkB,KAAK,EAAE,GAAG,8BAA8B;AACrF,MAAM,mBAAmB,kBAAkB,KAAK,EAAE,GAAG,2BAA2B;AAChF,MAAM,kBAAkB,kBAAkB,KAAK,EAAE,GAAG,6BAA6B,MAAM,CAAC,EAAE,YAAY,OAAO;AAAA,EAClH,OAAO;AACT,EAAE;AAEK,MAAM,eAAe,kBAAkB,KAAK,EAAE,iBAAiB;AAC/D,MAAM,gBAAgB,kBAAkB,KAAK,EAAE,eAAe;AAC9D,MAAM,YAAY,kBAAkB,KAAK,EAAE,iBAAiB,KAAK;AACjE,MAAM,aAAa,kBAAkB,KAAK,EAAE,iBAAiB,QAAQ,CAAC,EAAE,SAAS,OAAO;AAAA,EAC7F;AACF,EAAE;AACK,MAAM,cAAc,kBAAkB,KAAK,EAAE,eAAe,MAAM,CAAC,EAAE,QAAQ,OAAO;AAAA,EACzF,sBAAsB;AAAA,EACtB,cAAc;AAChB,EAAE;AACK,MAAM,UAAU,kBAAkB,OAAO;AAAA,EAC9C,eAAe;AACjB,CAAC,EAAE,eAAe,KAAK;AAChB,MAAM,WAAW,kBAAkB,KAAK,EAAE,eAAe,QAAQ,CAAC,EAAE,SAAS,OAAO;AAAA,EACzF;AACF,EAAE;",
6
- "names": []
7
- }
@@ -1,29 +0,0 @@
1
- import * as React from "react";
2
- import {
3
- BodyCell,
4
- BodyRow,
5
- BodyWrapper,
6
- HeaderCell,
7
- HeaderRow,
8
- HeaderWrapper,
9
- TableWrapper
10
- } from "./defaultClassedRenderers.js";
11
- import { renderRowsLoader } from "./renderRowsLoader.js";
12
- const defaultRenderers = {
13
- table: TableWrapper,
14
- header: {
15
- wrapper: HeaderWrapper,
16
- row: HeaderRow,
17
- cell: HeaderCell
18
- },
19
- body: {
20
- wrapper: BodyWrapper,
21
- row: BodyRow,
22
- cell: BodyCell
23
- }
24
- };
25
- export {
26
- defaultRenderers,
27
- renderRowsLoader
28
- };
29
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/renderers/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,wBAAwB;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
- }
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- import { RowsLoader } from "../RowsLoader.js";
4
- const renderRowsLoader = () => /* @__PURE__ */ jsx(RowsLoader, {});
5
- export {
6
- renderRowsLoader
7
- };
8
- //# sourceMappingURL=renderRowsLoader.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/renderers/renderRowsLoader.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { RowsLoader } from '../RowsLoader.js';\n\nexport const renderRowsLoader = () => <RowsLoader />;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACGe;AAFtC,SAAS,kBAAkB;AAEpB,MAAM,mBAAmB,MAAM,oBAAC,cAAW;",
6
- "names": []
7
- }