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

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,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/DSDataGrid.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["/* eslint-disable eslint-comments/no-unlimited-disable */\n/* eslint-disable */\nimport React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { PropTypes, describe } from '@elliemae/ds-props-helpers';\nimport { TooltipTextProvider } from '@elliemae/ds-truncated-tooltip-text';\nimport { DataGridImpl } from './DataGridImpl.js';\nimport { RowSizesOptions, RowSizesOptionsArr } from './rowSizes.js';\n\nconst DSDataGrids = ({\n containerProps = {},\n instanceRef,\n className = '',\n\n // data\n columns = [],\n rows = [],\n rowKey = 'id',\n\n // features\n infiniteScrolling = false,\n editable = false,\n sortable = false,\n sortEmptyLast = false,\n paginated = false,\n dragAndDropRows = false,\n selectable = false,\n resizeableColumns = false,\n searchFilters = false,\n dragAndDropColumns = false,\n useTreeData = false,\n autoScrollToId,\n\n // virtualization props\n overscanCount = 10,\n\n // feature state\n selectAll = false, // todo: change to isAllSelected\n selectedRows = [],\n filters = undefined,\n onAddFilter = () => null,\n onRemoveFilter = () => null,\n onFiltersChange = () => null,\n showFilterBar = true,\n multiSelectFilterOptions = [\n { id: 'true', label: 'Selected' },\n { id: 'false', label: 'Not selected' },\n ],\n multiSelectFilterLabels = undefined,\n multiSelectFilterLabel = 'Selection',\n\n aggregations = {},\n groupingColumn = undefined,\n\n sortingColumns = {},\n\n // pagination\n minPerPage = 0,\n maxPerPage = 50,\n onPerPageChange = () => null,\n onPageChange = () => null,\n paginationStep = 2,\n pagination = {\n page: 1,\n perPage: 10,\n },\n // visual\n showHeader = true,\n fixedHeader = true,\n wrapText = false,\n height = undefined,\n minColumnWidth = 100,\n showRowsLoader = false,\n visibleColumns = undefined, // this enforces visibility of columns\n showSelectHighlight = false,\n showSelectColumn = true,\n selectColumnSortable = true,\n selectColumnFilterable = false,\n selectionColumnDefinition = {},\n filterBarOptions = undefined,\n // searchGrid = false,\n renderToolbar = undefined,\n toolbarDelayClose = 400,\n renderFilterToolbar = undefined,\n multiSelectComponent = undefined,\n // todo: deprecate this\n noResultsRender,\n noResultsPlaceholder,\n fluidHeight = false,\n\n customHandlers = {},\n\n // grouping feature\n groupedBy = undefined,\n\n // callbacks\n onDefaultFiltersLoad = () => null,\n onReorder = () => null,\n onMoveRowEnd = () => null,\n onMoveRowStart = () => null,\n onMoveColumnOver = () => null,\n onMoveColumnStart = () => null,\n onMoveColumnEnd = () => null,\n onColumnResize = () => null,\n onExpandChange = () => null,\n onToggleExpand = () => null,\n onExpandRow = () => null,\n onFilter = () => null,\n onSort = () => null,\n onColumnRowEdited = () => null,\n onColumnRowEdit = () => null,\n onSelectRow = () => null,\n onSelectAll = () => null,\n onInfiniteScrolling = () => null,\n onFilterMenuClose = () => null,\n onFilterMenuOpen = () => null,\n getData = undefined, // todo: change to onGetMoreData\n serverSideData = false,\n isDataSorted = false,\n isDataFiltered = false,\n virtualized = true,\n numRowsVisible = undefined,\n isColumnEditable = (column) => column.editable,\n\n // grouped props\n groupedRows = false,\n groupedRowsRenderHeader = undefined,\n // expandable props\n renderExpandedDetails = () => null,\n detailColumns,\n expandable = false,\n getChildrenRows = (row) => row.children,\n expandableSubrowsVisible = 7,\n renderRowDetails = () => null,\n getExpandedRowSize = undefined,\n getExpandedRowMinSize,\n rowSize = RowSizesOptions.normal,\n subRowSize = RowSizesOptions.normal,\n bindColumnsSizeTo = undefined,\n bindRowSizeTo = undefined,\n onToggleShowAllRows,\n expandedRows,\n autoHeight = false,\n noColumnsPlaceholder,\n plugins = [],\n normalizeDataKeys = false,\n}) => {\n useDeprecateComponent({ componentName: 'ds-datagrids', version: '3.x Date: 2023 Q1' });\n\n return (\n <TooltipTextProvider>\n <DataGridImpl\n aggregations={aggregations}\n autoHeight={autoHeight && !fluidHeight}\n autoScrollToId={autoScrollToId}\n bindColumnsSizeTo={bindColumnsSizeTo}\n bindRowSizeTo={bindRowSizeTo}\n className={className}\n columns={columns}\n containerProps={containerProps}\n customHandlers={customHandlers}\n detailColumns={detailColumns}\n dragAndDropColumns={dragAndDropColumns}\n dragAndDropRows={dragAndDropRows}\n editable={editable}\n expandable={expandable}\n expandableSubrowsVisible={expandableSubrowsVisible}\n expandedRows={expandedRows}\n filterBarOptions={filterBarOptions}\n filters={filters}\n fixedHeader={fixedHeader}\n fluidHeight={fluidHeight}\n getChildrenRows={getChildrenRows}\n getData={getData}\n getExpandedRowMinSize={getExpandedRowMinSize}\n getExpandedRowSize={getExpandedRowSize}\n groupedBy={groupedBy}\n groupedRows={groupedRows}\n groupedRowsRenderHeader={groupedRowsRenderHeader}\n groupingColumn={groupingColumn}\n height={height}\n infiniteScrolling={infiniteScrolling}\n instanceRef={instanceRef}\n isColumnEditable={isColumnEditable}\n isDataFiltered={isDataFiltered}\n isDataSorted={isDataSorted}\n maxPerPage={maxPerPage}\n minColumnWidth={minColumnWidth}\n minPerPage={minPerPage}\n multiSelectComponent={multiSelectComponent}\n multiSelectFilterLabel={multiSelectFilterLabel}\n multiSelectFilterLabels={multiSelectFilterLabels}\n multiSelectFilterOptions={multiSelectFilterOptions}\n noColumnsPlaceholder={noColumnsPlaceholder}\n noResultsPlaceholder={noResultsPlaceholder}\n noResultsRender={noResultsRender}\n normalizeDataKeys={normalizeDataKeys}\n numRowsVisible={numRowsVisible} // if defined, fluidHeight is disabled\n onAddFilter={onAddFilter}\n onColumnResize={onColumnResize}\n onColumnRowEdit={onColumnRowEdit}\n onColumnRowEdited={onColumnRowEdited}\n onExpandRow={onExpandRow}\n onExpandChange={onExpandChange}\n onFilter={onFilter}\n onFiltersChange={onFiltersChange}\n onFilterMenuClose={onFilterMenuClose}\n onFilterMenuOpen={onFilterMenuOpen}\n onDefaultFiltersLoad={onDefaultFiltersLoad}\n onInfiniteScrolling={onInfiniteScrolling}\n onMoveColumnEnd={onMoveColumnEnd}\n onMoveColumnOver={onMoveColumnOver}\n onMoveColumnStart={onMoveColumnStart}\n onMoveRowEnd={onMoveRowEnd}\n onMoveRowStart={onMoveRowStart}\n onPageChange={onPageChange}\n onPerPageChange={onPerPageChange}\n onRemoveFilter={onRemoveFilter}\n onReorder={onReorder}\n onSelectAll={onSelectAll}\n onSelectRow={onSelectRow}\n onSort={onSort}\n onToggleExpand={onToggleExpand}\n onToggleShowAllRows={onToggleShowAllRows}\n overscanCount={overscanCount}\n paginated={paginated}\n pagination={pagination}\n paginationStep={paginationStep}\n plugins={plugins}\n renderExpandedDetails={renderExpandedDetails}\n renderFilterToolbar={renderFilterToolbar}\n renderRowDetails={renderRowDetails}\n renderToolbar={renderToolbar}\n resizeableColumns={resizeableColumns}\n rowKey={rowKey}\n rows={rows}\n rowSize={rowSize}\n searchFilters={searchFilters}\n selectable={selectable}\n selectAll={selectAll}\n selectColumnFilterable={selectColumnFilterable}\n selectColumnSortable={selectColumnSortable}\n selectedRows={selectedRows}\n selectionColumnDefinition={selectionColumnDefinition}\n serverSideData={serverSideData}\n showFilterBar={showFilterBar}\n showHeader={showHeader}\n showRowsLoader={showRowsLoader}\n showSelectColumn={showSelectColumn}\n showSelectHighlight={showSelectHighlight}\n sortable={sortable}\n sortEmptyLast={sortEmptyLast}\n sortingColumns={sortingColumns}\n subrowSize={subRowSize}\n toolbarDelayClose={toolbarDelayClose}\n useTreeData={useTreeData}\n virtualized={virtualized}\n visibleColumns={visibleColumns}\n wrapText={wrapText}\n />\n </TooltipTextProvider>\n );\n};\n\nconst props = {\n /** ref to the instance of the datagrid, handle it imperatively */\n instanceRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({ current: PropTypes.any })]).description(\n 'ref to the instance of the datagrid, handle it imperatively',\n ),\n /** class for data grid wrapper */\n className: PropTypes.string.description('class for data grid wrapper'),\n /** inject props to datagrid wrapper */\n containerProps: PropTypes.object.description('inject props to datagrid wrapper'),\n /** FilterBar props passed down to FilterBar */\n filterBarOptions: PropTypes.shape({\n minWidth: PropTypes.number,\n maxWidth: PropTypes.number,\n }).description('FilterBar props passed down to FilterBar'),\n /** datagrid columns */\n columns: PropTypes.arrayOf(\n PropTypes.shape({\n /** Column property as an identifier */\n property: PropTypes.string.isRequired,\n /** Label in the header */\n label: PropTypes.string,\n /** Defines the width of the column, can be a string with percentages (\"50%\"), if not defined the width is flexible */\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /** Min width for this column. NOTE: Has prevalence over the general minColumnWidth */\n minWidth: PropTypes.number,\n /** Function returning a custom editor for that cell ({ value, onValue, rowData }) => Element */\n customEditor: PropTypes.func,\n /** Function returning an element to render in the cell ({ value, customHandlers, metaData: { rowData } }) => Element */\n customRenderer: PropTypes.func,\n /** Activates 'searchable' feature for this column */\n searchable: PropTypes.bool,\n /** Activates 'sortable' feature for this column */\n sortable: PropTypes.bool,\n /** Activates 'resizable' feature for this column */\n resizable: PropTypes.bool,\n /** Activates 'editable' feature for this column */\n editable: PropTypes.bool,\n /** Whether this column is visible or not */\n visible: PropTypes.bool,\n }),\n ).description('datagrid columns'),\n /** datagrid rows */\n rows: PropTypes.arrayOf(PropTypes.object).description('datagrid rows'),\n /** key for each row */\n rowKey: PropTypes.string.description('key for each row'),\n /** toggle infinite scroll loading behavior */\n infiniteScrolling: PropTypes.bool.description('toggle infinite scroll loading behavior'),\n /** Activates 'editable' feature on the DataGrid NOTE: needs to be activated in the column definition as well */\n overscanCount: PropTypes.number.description(\n \"Activates 'editable' feature on the DataGrid NOTE: needs to be activated in the column definition as well\",\n ),\n /** turn datagrid to editable mode */\n editable: PropTypes.bool.description('turn datagrid to editable mode'),\n /** Activates 'sortable' feature on the GataGrid NOTE: needs to be activated in the column definition as well */\n sortable: PropTypes.bool.description(\n \"Activates 'sortable' feature on the GataGrid NOTE: needs to be activated in the column definition as well\",\n ),\n /** Put empty values always last on the column after sorting */\n sortEmptyLast: PropTypes.bool.description('Put empty values always last on the column after sorting'),\n /** Activates 'pagination' feature on the datagrid NOTE: needs to be activated in the column definition as well */\n paginated: PropTypes.bool.description(\n \"Activates 'pagination' feature on the datagrid NOTE: needs to be activated in the column definition as well\",\n ),\n /** Pagination step for clicking the next pages */\n paginationStep: PropTypes.number.description('Pagination step for clicking the next pages'),\n /** Activates 'drag and drop rows' feature on the datagrid NOTE: needs to be activated in the column definition as well */\n dragAndDropRows: PropTypes.bool.description(\n \"Activates 'drag and drop rows' feature on the datagrid NOTE: needs to be activated in the column definition as well\",\n ),\n /** Activates 'selection' feature on the datagrid NOTE: needs to be activated in the column definition as well */\n selectable: PropTypes.bool.description(\n \"Activates 'selection' feature on the datagrid NOTE: needs to be activated in the column definition as well\",\n ),\n /** Activates 'resize' feature on the datagrid NOTE: needs to be activated in the column definition as well */\n resizeableColumns: PropTypes.bool.description(\n \"Activates 'resize' feature on the datagrid NOTE: needs to be activated in the column definition as well\",\n ),\n /** Placeholder rendered when no rows are visible */\n noResultsPlaceholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]).description(\n 'Placeholder rendered when no rows are visible',\n ),\n /** Activates 'filtering' feature on the datagrid NOTE: needs to be activated in the column definition as well */\n searchFilters: PropTypes.bool.description(\n \"activates 'filtering' feature on the datagrid NOTE: needs to be activated in the column definition as well\",\n ),\n /** Activates 'drag and drop columns' feature on the datagrid NOTE: needs to be activated in the column definition as well */\n dragAndDropColumns: PropTypes.bool.description(\n \"Activates 'drag and drop columns' feature on the datagrid NOTE: needs to be activated in the column definition as well\",\n ),\n /** Activates 'grouping and tree data' feature on the datagrid NOTE: needs to be activated in the column definition as well */\n useTreeData: PropTypes.bool.description(\n \"activates 'grouping and tree data' feature on the datagrid NOTE: needs to be activated in the column definition as well\",\n ),\n /** AutoScroll to row ID */\n autoScrollToId: PropTypes.any.description('AutoScroll to row ID'),\n /** Whether all rows are selected or not */\n selectAll: PropTypes.bool.description('Whether all rows are selected or not'),\n /** Defines the selected rows */\n selectedRows: PropTypes.arrayOf(PropTypes.object).description(' Defines the selected rows'),\n /** Filters to be applied to the grid */\n filters: PropTypes.arrayOf(PropTypes.object).description('Filters to be applied to the grid'),\n // todo: define params for handlers\n /** Handler when user expands a row */\n onExpandRow: PropTypes.func.description('Handler when user expands a row'),\n /** Handler when user expands a row with full expand state */\n onExpandChange: PropTypes.func.description('Handler when user expands a row with full expand state'),\n /** Handler when user expands a row (old API) */\n onToggleExpand: PropTypes.func.description('Handler when user expands a row (old API)'),\n /** Handler when user adds a filter */\n onAddFilter: PropTypes.func.description('Handler when user adds a filter'),\n /** Handler when user removes a filter */\n onRemoveFilter: PropTypes.func.description('Handler when user removes a filter'),\n /** Handler when the filters state has changed */\n onFiltersChange: PropTypes.func.description('Handler when the filters state has changed '),\n /** Handler when the default filters load. Returns the rows rendered */\n onDefaultFiltersLoad: PropTypes.func.description('Handler when the default filters load. Returns the rows rendered'),\n /** Handler when column move is over another column */\n onMoveColumnOver: PropTypes.func.description('Handler when column move is over another column'),\n /** Handler when column move starts */\n onMoveColumnStart: PropTypes.func.description(' Handler when column move starts'),\n /** Handler when column move ends */\n onMoveColumnEnd: PropTypes.func.description('Handler when column move ends'),\n /** Whether to show the filter bar or not */\n showFilterBar: PropTypes.bool.description('Whether to show the filter bar or not'),\n /** Custom option for the header with multi select */\n multiSelectFilterOptions: PropTypes.arrayOf(PropTypes.object).description(\n 'Custom option for the header with multi select',\n ),\n /** Label to the header column for multi select */\n multiSelectFilterLabel: PropTypes.string.description('Label to the header column for multi select'),\n /** Labels for multi selects */\n multiSelectFilterLabels: PropTypes.arrayOf(PropTypes.string).description('Labels for multi selects'),\n /** unstable */\n aggregations: PropTypes.object.description('').deprecated(''),\n /** unstable */\n /** Column which rows would be grouped by */\n groupingColumn: PropTypes.string.description('Column which rows would be grouped by').deprecated(''),\n /** group by */\n groupedBy: PropTypes.string.description('group by'),\n /** Defines the sorting state */\n sortingColumns: PropTypes.objectOf(\n PropTypes.shape({\n // eslint-disable-next-line react/no-unused-prop-types\n direction: PropTypes.oneOf(['asc', 'desc']),\n // eslint-disable-next-line react/no-unused-prop-types\n position: PropTypes.number,\n }),\n ).description('Defines the sorting state'),\n /** Visible columns property */\n visibleColumns: PropTypes.arrayOf(PropTypes.string).description('Visible columns property'),\n /** Pagination: Minimum number of rows per page */\n minPerPage: PropTypes.string.description('Pagination: Minimum number of rows per page'),\n /** Pagination: Maximum number of rows per page */\n maxPerPage: PropTypes.string.description('Pagination: Maximum number of rows per page'),\n /** Pagination: Handler when user changes the amount of rows per page */\n onPerPageChange: PropTypes.string.description('Pagination: Handler when user changes the amount of rows per page'),\n /** Pagination: Handler when user changes the page */\n onPageChange: PropTypes.string.description('Pagination: Handler when user changes the page'),\n /** Pagination state */\n pagination: PropTypes.shape({\n // eslint-disable-next-line react/no-unused-prop-types\n page: PropTypes.number,\n // eslint-disable-next-line react/no-unused-prop-types\n perPage: PropTypes.number,\n }).description('pagination state'),\n /** Whether to show the header or not */\n showHeader: PropTypes.bool.description('Whether to show the header or not'),\n /** Whether to header is fixed or not */\n fixedHeader: PropTypes.bool.description('Whether to header is fixed or not'),\n /** Defines the height of the DataGrid */\n height: PropTypes.number.description('Defines the height of the DataGrid'),\n /** General min column width for all the columns */\n minColumnWidth: PropTypes.number.description('General min column width for all the columns '),\n /** Whether to show a loader instead of the rows or not */\n showRowsLoader: PropTypes.bool.description('Whether to show a loader instead of the rows or not'),\n /** When a user selects a row, that row get highlighted */\n showSelectHighlight: PropTypes.bool.description('When a user selects a row, that row get highlighted'),\n /** Whether to show the select column when the selection feature is active */\n showSelectColumn: PropTypes.bool.description(\n 'Whether to show the select column when the selection feature is active',\n ),\n /** Activates sortable feature to selection column */\n selectColumnSortable: PropTypes.bool.description('activates sortable feature to selection column'),\n /** Activates filterable feature to selection column */\n selectColumnFilterable: PropTypes.bool.description('Activates filterable feature to selection column'),\n /** Define the definition for the selection column */\n selectionColumnDefinition: PropTypes.object.description('Define the definition for the selection column'),\n /** Function that returns a toolbar to show when the user hovers the row */\n renderToolbar: PropTypes.func.description('Function that returns a toolbar to show when the user hovers the row'),\n /** Timeout to close the toolbar */\n toolbarDelayClose: PropTypes.number.description(' Timeout to close the toolbar'),\n /** Function that returns a toolbar in the FilterBar component */\n renderFilterToolbar: PropTypes.func.description('Function that returns a toolbar in the FilterBar component'),\n /** Custom component for the selection */\n multiSelectComponent: PropTypes.element.description('Custom component for the selection'),\n /** Normalize the keys of the data received and the columns */\n normalizeDataKeys: PropTypes.bool.description('Normalize the keys of the data received and the columns'),\n /** Function that returns an Element when there are no rows */\n noResultsRender: PropTypes.func.description('Function that returns an Element when there are no rows'),\n /** The height of the DataGrid will expand to its container */\n fluidHeight: PropTypes.bool.description('The height of the DataGrid will expand to its container'),\n /** @deprecated */\n customHandlers: PropTypes.object.description('').deprecated(''),\n /** Handler when user closes the filter menu */\n onFilterMenuClose: PropTypes.func.description('Handler when user closes the filter menu'),\n /** Handler when user opens the filter menu */\n onFilterMenuOpen: PropTypes.func.description('Handler when user opens the filter menu'),\n /** Handler when user drags a row */\n onReorder: PropTypes.func.description('handler when user drags a row '),\n /** Handler when user stops dragging a row */\n onMoveRowEnd: PropTypes.func.description('Handler when user stops dragging a row '),\n /** Handler when user starts dragging a row */\n onMoveRowStart: PropTypes.func.description('Handler when user starts dragging a row'),\n /** Handler when user has resized a column */\n onColumnResize: PropTypes.func.description('Handler when user has resized a column'),\n /** Handler when user filters by a column */\n onFilter: PropTypes.func.description('Handler when user filters by a column'),\n /** Handler when user sorts by a column */\n onSort: PropTypes.func.description('Handler when user sorts by a column '),\n /** Handler when user has edited a cell row */\n onColumnRowEdited: PropTypes.func.description('Handler when user has edited a cell row'),\n /** Handler when user activates the cell row editing functionality */\n onColumnRowEdit: PropTypes.func.description(' Handler when user activates the cell row editing functionality'),\n /** Handler when user selects a row */\n onSelectRow: PropTypes.func.description('Handler when user selects a row'),\n /** Handler when user checks the selection header controller */\n onSelectAll: PropTypes.func.description('Handler when user checks the selection header controller'),\n /** Handler to get more data when infinite scroll is activated */\n getData: PropTypes.func.description('Handler to get more data when infinite scroll is activated'),\n /** Handler to get more data when infinite scroll is activated without side-effect */\n onInfiniteScrolling: PropTypes.func.description(\n 'Handler to get more data when infinite scroll is activated without side-effect',\n ),\n /** Flag to override empty sort when data is from server */\n serverSideData: PropTypes.bool.description('Flag to override empty sort when data is from server'),\n /** Flag to force virtualization. Not used */\n virtualized: PropTypes.bool.description('Flag to force virtualization. Not used'),\n /** Number of rows visible. Not used */\n numRowsVisible: PropTypes.oneOfType([PropTypes.number, PropTypes.oneOf(['all'])]).description(\n 'Number of rows visible. Not used',\n ),\n /** Callback to check if column is editable */\n isColumnEditable: PropTypes.func.description('Callback to check if column is editable'),\n /** Flag for groupedRows */\n groupedRows: PropTypes.bool.description('Flag for groupedRows'),\n /** Header for grouped rows */\n groupedRowsRenderHeader: PropTypes.oneOfType([PropTypes.func, PropTypes.element]).description(\n 'Header for grouped rows',\n ),\n /** Once activated will disable the internal logic for sorting */\n isDataSorted: PropTypes.bool.description('Once activated will disable the internal logic for sorting'),\n /** Once activated will disable the internal logic for filtering */\n isDataFiltered: PropTypes.bool.description('Once activated will disable the internal logic for filtering'),\n /** Change row size */\n rowSize: PropTypes.oneOf(RowSizesOptionsArr).description('Change row size'),\n /** Whether to wrap the text of the data grid or not */\n wrapText: PropTypes.bool.description('Whether to wrap the text of the data grid or not'),\n /** Element to render expanded details */\n renderExpandedDetails: PropTypes.oneOfType([PropTypes.func, PropTypes.element]).description(\n 'Element to render expanded details',\n ),\n /** Columns to render on the details of an expanded row */\n detailColumns: PropTypes.arrayOf(PropTypes.object).description('Columns to render on the details of an expanded row'),\n /** Flag to enable the expandable feature */\n expandable: PropTypes.bool.description('Flag to enable the expandable feature '),\n /** Callback to get the row children */\n getChildrenRows: PropTypes.func.description('Callback to get the row children'),\n /** Number of rows visible on the details of an expanded row */\n expandableSubrowsVisible: PropTypes.number.description('Number of rows visible on the details of an expanded row'),\n /** Element to render inside expanded row */\n renderRowDetails: PropTypes.oneOfType([PropTypes.func, PropTypes.element]).description(\n 'Element to render inside expanded row',\n ),\n /** Callback to get the expanded row size */\n getExpandedRowSize: PropTypes.func.description('Callback to get the expanded row size'),\n /** Callback to get the expanded row minimum size */\n getExpandedRowMinSize: PropTypes.func.description('Callback to get the expanded row minimum size'),\n /** Change expanded/details rows size */\n subRowSize: PropTypes.oneOf(RowSizesOptionsArr).description('Change expanded/details rows size'),\n /** Bind the column size to another grid instance */\n bindColumnsSizeTo: PropTypes.string.description('Bind the column size to another grid instance'),\n /** Bind the row size to another grid instance */\n bindRowSizeTo: PropTypes.string.description('Bind the row size to another grid instance'),\n /** Handler when toggle show all is clicked */\n onToggleShowAllRows: PropTypes.func.description('Handler when toggle show all is clicked'),\n /** Expanded row state */\n expandedRows: PropTypes.object.description('Expanded row state'),\n /** Flag to enable autoheight */\n autoHeight: PropTypes.bool.description('Flag to enable autoheight'),\n /** Placeholder rendered when no columns are visible */\n noColumnsPlaceholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]).description(\n 'Placeholder rendered when no columns are visible',\n ),\n /** Plugin additional array */\n plugins: PropTypes.arrayOf(PropTypes.any).description('Plugin additional array'),\n};\n\nDSDataGrids.propTypes = props;\nDSDataGrids.displayName = 'DSDataGrids';\nconst DSDataGridsWithSchema = describe(DSDataGrids);\nDSDataGridsWithSchema.propTypes = props;\n\nexport { DSDataGridsWithSchema, DSDataGrids, DSDataGrids as DSDataGrid };\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OAAO,YAAY,4CAA4C;AAAA;AAAA,EAExF,qBAAqB,kCAAU,KAAK,YAAY,yCAAyC;AAAA;AAAA,EAEzF,cAAc,kCAAU,OAAO,YAAY,oBAAoB;AAAA;AAAA,EAE/D,YAAY,kCAAU,KAAK,YAAY,2BAA2B;AAAA;AAAA,EAElE,sBAAsB,kCAAU,UAAU,CAAC,kCAAU,QAAQ,kCAAU,OAAO,CAAC,EAAE;AAAA,IAC/E;AAAA,EACF;AAAA;AAAA,EAEA,SAAS,kCAAU,QAAQ,kCAAU,GAAG,EAAE,YAAY,yBAAyB;AACjF;AAEA,YAAY,YAAY;AACxB,YAAY,cAAc;AAC1B,MAAM,4BAAwB,kCAAS,WAAW;AAClD,sBAAsB,YAAY;AAGlC,IAAO,qBAAQ;",
6
- "names": []
7
- }
@@ -1,156 +0,0 @@
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 DataGridImpl_exports = {};
30
- __export(DataGridImpl_exports, {
31
- DataGridImpl: () => DataGridImpl,
32
- default: () => DataGridImpl_default
33
- });
34
- module.exports = __toCommonJS(DataGridImpl_exports);
35
- var React = __toESM(require("react"));
36
- var import_jsx_runtime = require("react/jsx-runtime");
37
- var import_react = require("react");
38
- var import_ds_shared = require("@elliemae/ds-shared");
39
- var import_Table = require("./components/Table.js");
40
- var import_TableBody = require("./components/TableBody.js");
41
- var import_TableHeader = require("./components/TableHeader.js");
42
- var import_renderers = require("./components/renderers/index.js");
43
- var import_defaultClassedRenderers = require("./components/renderers/defaultClassedRenderers.js");
44
- var import_addOptionalFooterComponents = require("./components/footer/addOptionalFooterComponents.js");
45
- var import_addOptionalHeaderComponents = require("./components/header/addOptionalHeaderComponents.js");
46
- var import_EmptyState = require("./components/EmptyState.js");
47
- var import_getPluginsFromProps = require("./utilities/getPluginsFromProps.js");
48
- var import_defaultPlugins = require("./defaultPlugins.js");
49
- var import_normalizeData = require("./utilities/normalizeData.js");
50
- const isFluid = ({ autoHeight, paginated, numRowsVisible }) => {
51
- if (autoHeight)
52
- return false;
53
- if (paginated)
54
- return false;
55
- return !numRowsVisible;
56
- };
57
- const DataGridImpl = ({
58
- className,
59
- renderers,
60
- columns,
61
- rows,
62
- containerProps,
63
- plugins: pluginsProp,
64
- normalizeDataKeys,
65
- ...otherProps
66
- }) => {
67
- const {
68
- noResultsPlaceholder = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_EmptyState.EmptyState, {}),
69
- noColumnsPlaceholder = "Please select one of more columns in order for data to be displayed.",
70
- noResultsRender,
71
- paginated,
72
- height,
73
- showHeader,
74
- showRowsLoader,
75
- rowsLoaderRenderer = import_renderers.renderRowsLoader,
76
- groupedRows,
77
- sortable,
78
- rowSize,
79
- wrapText,
80
- onDefaultFiltersLoad,
81
- rowKey
82
- } = otherProps;
83
- const idKey = rowKey || "id";
84
- const rowsIdsSet = /* @__PURE__ */ new Set();
85
- const rowsIds = rows.map((row) => {
86
- if (row[idKey] === void 0)
87
- throw new Error("Missing id: each row must have an unique id");
88
- rowsIdsSet.add(row[idKey]);
89
- return row[idKey];
90
- });
91
- if (rowsIds.length !== rowsIdsSet.size)
92
- throw new Error("Repeated id: each row must have an unique id");
93
- const plugins = (0, import_getPluginsFromProps.getPluginsFromProps)({
94
- ...otherProps,
95
- virtualized: (!paginated || groupedRows) && !wrapText,
96
- paginated: paginated && !groupedRows || wrapText,
97
- sortable: sortable && !groupedRows
98
- });
99
- if (normalizeDataKeys) {
100
- (0, import_normalizeData.normalizeRows)(rows);
101
- }
102
- const grid = (0, import_ds_shared.useDataGrid)({
103
- columns,
104
- rows,
105
- renderers: import_renderers.defaultRenderers,
106
- plugins: [...plugins, ...pluginsProp, ...import_defaultPlugins.defaultPlugins],
107
- ...otherProps
108
- });
109
- const noColumnsVisible = (0, import_react.useMemo)(() => {
110
- const visibleUserColumns = grid.columns.filter((column) => column.visible || typeof column.visible === "undefined");
111
- return visibleUserColumns.length === 0;
112
- }, [grid.columns]);
113
- const bodyPlaceholder = (0, import_react.useMemo)(() => {
114
- if (noColumnsVisible) {
115
- return noColumnsPlaceholder;
116
- }
117
- return (0, import_ds_shared.isFunction)(noResultsRender) ? noResultsRender() : noResultsPlaceholder;
118
- }, [noResultsPlaceholder, noColumnsPlaceholder, noColumnsVisible]);
119
- const { pagination } = otherProps;
120
- const conditionalPagination = pagination && pagination.conditionalPagination === true && rows.length <= otherProps.pagination.perPage;
121
- const usePagination = paginated && !conditionalPagination;
122
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
123
- import_defaultClassedRenderers.DatagridWrapper,
124
- {
125
- className: `${className} ds-row-size-${rowSize}`,
126
- classProps: {
127
- fluidHeight: isFluid({
128
- autoHeight: otherProps.autoHeight,
129
- numRowsVisible: otherProps.numRowsVisible,
130
- paginated: usePagination
131
- })
132
- },
133
- style: { height },
134
- ...containerProps,
135
- children: [
136
- (0, import_addOptionalHeaderComponents.addOptionalHeaderComponents)({ grid }),
137
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_Table.Table, { ...grid, onDefaultFiltersLoad, children: [
138
- showHeader && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_TableHeader.TableHeader, {}),
139
- showRowsLoader ? rowsLoaderRenderer() : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
140
- import_TableBody.TableBody,
141
- {
142
- isPlaceholderActive: noColumnsVisible || grid.composedRows.rows && grid.composedRows.rows.length === 0 || grid.composedRows.length === 0,
143
- noResultsPlaceholder: bodyPlaceholder
144
- }
145
- )
146
- ] }),
147
- (0, import_addOptionalFooterComponents.addOptionalFooterComponents)({
148
- grid,
149
- rows: grid.composedRows
150
- })
151
- ]
152
- }
153
- );
154
- };
155
- var DataGridImpl_default = DataGridImpl;
156
- //# sourceMappingURL=DataGridImpl.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/DataGridImpl.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import React, { useMemo } from 'react';\nimport { isFunction, useDataGrid } from '@elliemae/ds-shared';\nimport { Table } from './components/Table.js';\nimport { TableBody } from './components/TableBody.js';\nimport { TableHeader } from './components/TableHeader.js';\nimport { defaultRenderers, renderRowsLoader } from './components/renderers/index.js';\nimport { DatagridWrapper } from './components/renderers/defaultClassedRenderers.js';\nimport { addOptionalFooterComponents } from './components/footer/addOptionalFooterComponents.js';\nimport { addOptionalHeaderComponents } from './components/header/addOptionalHeaderComponents.js';\nimport { EmptyState } from './components/EmptyState.js';\nimport { getPluginsFromProps } from './utilities/getPluginsFromProps.js';\nimport { defaultPlugins } from './defaultPlugins.js';\nimport { normalizeRows } from './utilities/normalizeData.js';\n\nconst isFluid = ({ autoHeight, paginated, numRowsVisible }) => {\n if (autoHeight) return false;\n if (paginated) return false;\n return !numRowsVisible;\n};\n\nconst DataGridImpl = ({\n className,\n renderers,\n columns,\n rows,\n containerProps,\n plugins: pluginsProp,\n normalizeDataKeys,\n ...otherProps\n}) => {\n const {\n noResultsPlaceholder = <EmptyState />,\n noColumnsPlaceholder = 'Please select one of more columns in order for data to be displayed.',\n noResultsRender,\n paginated,\n height,\n showHeader,\n showRowsLoader,\n rowsLoaderRenderer = renderRowsLoader,\n groupedRows,\n sortable,\n rowSize,\n wrapText,\n onDefaultFiltersLoad,\n rowKey,\n } = otherProps;\n\n const idKey = rowKey || 'id';\n const rowsIdsSet = new Set();\n const rowsIds = rows.map((row) => {\n if (row[idKey] === undefined) throw new Error('Missing id: each row must have an unique id');\n rowsIdsSet.add(row[idKey]);\n return row[idKey];\n });\n if (rowsIds.length !== rowsIdsSet.size) throw new Error('Repeated id: each row must have an unique id');\n\n const plugins = getPluginsFromProps({\n ...otherProps,\n virtualized: (!paginated || groupedRows) && !wrapText,\n paginated: (paginated && !groupedRows) || wrapText,\n sortable: sortable && !groupedRows,\n });\n\n if (normalizeDataKeys) {\n normalizeRows(rows);\n }\n\n const grid = useDataGrid({\n columns,\n rows,\n renderers: defaultRenderers,\n plugins: [...plugins, ...pluginsProp, ...defaultPlugins],\n ...otherProps,\n });\n\n const noColumnsVisible = useMemo(() => {\n const visibleUserColumns = grid.columns.filter((column) => column.visible || typeof column.visible === 'undefined');\n return visibleUserColumns.length === 0;\n }, [grid.columns]);\n\n const bodyPlaceholder = useMemo(() => {\n if (noColumnsVisible) {\n return noColumnsPlaceholder;\n }\n return isFunction(noResultsRender) ? noResultsRender() : noResultsPlaceholder;\n }, [noResultsPlaceholder, noColumnsPlaceholder, noColumnsVisible]);\n\n const { pagination } = otherProps;\n const conditionalPagination =\n pagination && pagination.conditionalPagination === true && rows.length <= otherProps.pagination.perPage;\n const usePagination = paginated && !conditionalPagination;\n return (\n <DatagridWrapper\n className={`${className} ds-row-size-${rowSize}`}\n classProps={{\n fluidHeight: isFluid({\n autoHeight: otherProps.autoHeight,\n numRowsVisible: otherProps.numRowsVisible,\n paginated: usePagination,\n }),\n }}\n style={{ height }}\n {...containerProps}\n >\n {addOptionalHeaderComponents({ grid })}\n <Table {...grid} onDefaultFiltersLoad={onDefaultFiltersLoad}>\n {showHeader && <TableHeader />}\n {showRowsLoader ? (\n rowsLoaderRenderer()\n ) : (\n <TableBody\n isPlaceholderActive={\n noColumnsVisible ||\n (grid.composedRows.rows && grid.composedRows.rows.length === 0) ||\n grid.composedRows.length === 0\n }\n noResultsPlaceholder={bodyPlaceholder}\n />\n )}\n </Table>\n {addOptionalFooterComponents({\n grid,\n rows: grid.composedRows,\n })}\n </DatagridWrapper>\n );\n};\n\nexport { DataGridImpl };\n\nexport default DataGridImpl;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD+BI;AA/B3B,mBAA+B;AAC/B,uBAAwC;AACxC,mBAAsB;AACtB,uBAA0B;AAC1B,yBAA4B;AAC5B,uBAAmD;AACnD,qCAAgC;AAChC,yCAA4C;AAC5C,yCAA4C;AAC5C,wBAA2B;AAC3B,iCAAoC;AACpC,4BAA+B;AAC/B,2BAA8B;AAE9B,MAAM,UAAU,CAAC,EAAE,YAAY,WAAW,eAAe,MAAM;AAC7D,MAAI;AAAY,WAAO;AACvB,MAAI;AAAW,WAAO;AACtB,SAAO,CAAC;AACV;AAEA,MAAM,eAAe,CAAC;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,SAAS;AAAA,EACT;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM;AAAA,IACJ,uBAAuB,4CAAC,gCAAW;AAAA,IACnC,uBAAuB;AAAA,IACvB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,qBAAqB;AAAA,IACrB;AAAA,IACA;AAAA,IAC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BAAgB,aAAa,CAAC;AACpC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,GAAG,yBAAyB;AAAA,MACvC,YAAY;AAAA,QACV,aAAa,QAAQ;AAAA,UACnB,YAAY,WAAW;AAAA,UACvB,gBAAgB,WAAW;AAAA,UAC3B,WAAW;AAAA,QACb,CAAC;AAAA,MACH;AAAA,MACA,OAAO,EAAE,OAAO;AAAA,MACf,GAAG;AAAA,MAEH;AAAA,4EAA4B,EAAE,KAAK,CAAC;AAAA,QACrC,6CAAC,sBAAO,GAAG,MAAM,sBACd;AAAA,wBAAc,4CAAC,kCAAY;AAAA,UAC3B,iBACC,mBAAmB,IAEnB;AAAA,YAAC;AAAA;AAAA,cACC,qBACE,oBACC,KAAK,aAAa,QAAQ,KAAK,aAAa,KAAK,WAAW,KAC7D,KAAK,aAAa,WAAW;AAAA,cAE/B,sBAAsB;AAAA;AAAA,UACxB;AAAA,WAEJ;AAAA,YACC,gEAA4B;AAAA,UAC3B;AAAA,UACA,MAAM,KAAK;AAAA,QACb,CAAC;AAAA;AAAA;AAAA,EACH;AAEJ;AAIA,IAAO,uBAAQ;",
6
- "names": []
7
- }
@@ -1,84 +0,0 @@
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 PaginatedDataGrid_exports = {};
30
- __export(PaginatedDataGrid_exports, {
31
- default: () => PaginatedDataGrid_default
32
- });
33
- module.exports = __toCommonJS(PaginatedDataGrid_exports);
34
- var React = __toESM(require("react"));
35
- var import_jsx_runtime = require("react/jsx-runtime");
36
- var import_ds_shared = require("@elliemae/ds-shared");
37
- var import_Table = require("./components/Table.js");
38
- var import_renderers = require("./components/renderers/index.js");
39
- var import_defaultClassedRenderers = require("./components/renderers/defaultClassedRenderers.js");
40
- var import_addOptionalHeaderComponents = require("./components/header/addOptionalHeaderComponents.js");
41
- var import_getPluginsFromProps = require("./utilities/getPluginsFromProps.js");
42
- var import_Pagination = require("./plugins/pagination/components/Pagination.js");
43
- const PaginatedDataGrid = ({
44
- columns,
45
- rows,
46
- showRowsLoader,
47
- noResultsPlaceholder,
48
- rowsLoaderRenderer = import_renderers.renderRowsLoader,
49
- maxPerPage,
50
- minPerPage,
51
- onPageSelect,
52
- onPerPage,
53
- pagination,
54
- ...otherProps
55
- }) => {
56
- const plugins = (0, import_getPluginsFromProps.getPluginsFromProps)(otherProps, { infiniteScrolling: true });
57
- const grid = (0, import_ds_shared.useDataGrid)({
58
- ...otherProps,
59
- columns,
60
- rows,
61
- renderers: import_renderers.defaultRenderers,
62
- plugins
63
- });
64
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_defaultClassedRenderers.DatagridWrapper, { children: [
65
- (0, import_addOptionalHeaderComponents.addOptionalHeaderComponents)({ grid }),
66
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_Table.Table, { ...grid, children: [
67
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Table.Table.Header, {}),
68
- showRowsLoader ? rowsLoaderRenderer() : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Table.Table.Body, { rows: grid.composedRows.rows || grid.composedRows })
69
- ] }),
70
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
71
- import_Pagination.Pagination,
72
- {
73
- maxPerPage,
74
- minPerPage,
75
- onPageSelect,
76
- onPerPage,
77
- paginated: rows,
78
- pagination
79
- }
80
- )
81
- ] });
82
- };
83
- var PaginatedDataGrid_default = PaginatedDataGrid;
84
- //# sourceMappingURL=PaginatedDataGrid.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/PaginatedDataGrid.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import React from 'react';\nimport { useDataGrid } from '@elliemae/ds-shared';\nimport { Table } from './components/Table.js';\nimport { defaultRenderers, renderRowsLoader } from './components/renderers/index.js';\nimport { DatagridWrapper } from './components/renderers/defaultClassedRenderers.js';\nimport { addOptionalHeaderComponents } from './components/header/addOptionalHeaderComponents.js';\nimport { getPluginsFromProps } from './utilities/getPluginsFromProps.js';\nimport { Pagination } from './plugins/pagination/components/Pagination.js';\n\nconst PaginatedDataGrid = ({\n columns,\n rows,\n showRowsLoader,\n noResultsPlaceholder,\n rowsLoaderRenderer = renderRowsLoader,\n maxPerPage,\n minPerPage,\n onPageSelect,\n onPerPage,\n pagination,\n ...otherProps\n}) => {\n const plugins = getPluginsFromProps(otherProps, { infiniteScrolling: true });\n const grid = useDataGrid({\n ...otherProps,\n columns,\n rows,\n renderers: defaultRenderers,\n plugins,\n });\n\n return (\n <DatagridWrapper>\n {addOptionalHeaderComponents({ grid })}\n <Table {...grid}>\n <Table.Header />\n {showRowsLoader ? rowsLoaderRenderer() : <Table.Body rows={grid.composedRows.rows || grid.composedRows} />}\n </Table>\n <Pagination\n maxPerPage={maxPerPage}\n minPerPage={minPerPage}\n onPageSelect={onPageSelect}\n onPerPage={onPerPage}\n paginated={rows}\n pagination={pagination}\n />\n </DatagridWrapper>\n );\n};\n\nexport default PaginatedDataGrid;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADkCjB;AAjCN,uBAA4B;AAC5B,mBAAsB;AACtB,uBAAmD;AACnD,qCAAgC;AAChC,yCAA4C;AAC5C,iCAAoC;AACpC,wBAA2B;AAE3B,MAAM,oBAAoB,CAAC;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,qBAAqB;AAAA,EACrB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,cAAU,gDAAoB,YAAY,EAAE,mBAAmB,KAAK,CAAC;AAC3E,QAAM,WAAO,8BAAY;AAAA,IACvB,GAAG;AAAA,IACH;AAAA,IACA;AAAA,IACA,WAAW;AAAA,IACX;AAAA,EACF,CAAC;AAED,SACE,6CAAC,kDACE;AAAA,wEAA4B,EAAE,KAAK,CAAC;AAAA,IACrC,6CAAC,sBAAO,GAAG,MACT;AAAA,kDAAC,mBAAM,QAAN,EAAa;AAAA,MACb,iBAAiB,mBAAmB,IAAI,4CAAC,mBAAM,MAAN,EAAW,MAAM,KAAK,aAAa,QAAQ,KAAK,cAAc;AAAA,OAC1G;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA,WAAW;AAAA,QACX;AAAA;AAAA,IACF;AAAA,KACF;AAEJ;AAEA,IAAO,4BAAQ;",
6
- "names": []
7
- }
@@ -1,40 +0,0 @@
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 blockNames_exports = {};
30
- __export(blockNames_exports, {
31
- bodyBlockName: () => bodyBlockName,
32
- dataGridBlockName: () => dataGridBlockName,
33
- headerBlockName: () => headerBlockName
34
- });
35
- module.exports = __toCommonJS(blockNames_exports);
36
- var React = __toESM(require("react"));
37
- const dataGridBlockName = "data-grid";
38
- const headerBlockName = `${dataGridBlockName}-header`;
39
- const bodyBlockName = `${dataGridBlockName}-body`;
40
- //# sourceMappingURL=blockNames.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/blockNames.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["const dataGridBlockName = 'data-grid';\nconst headerBlockName = `${dataGridBlockName}-header`;\nconst bodyBlockName = `${dataGridBlockName}-body`;\n\nexport { dataGridBlockName, headerBlockName, bodyBlockName };\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,MAAM,oBAAoB;AAC1B,MAAM,kBAAkB,GAAG;AAC3B,MAAM,gBAAgB,GAAG;",
6
- "names": []
7
- }
@@ -1,109 +0,0 @@
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 IconColumn_exports = {};
30
- __export(IconColumn_exports, {
31
- IconColumn: () => IconColumn,
32
- default: () => IconColumn_default
33
- });
34
- module.exports = __toCommonJS(IconColumn_exports);
35
- var React = __toESM(require("react"));
36
- var import_jsx_runtime = require("react/jsx-runtime");
37
- var import_react = __toESM(require("react"));
38
- var import_ds_utilities = require("@elliemae/ds-utilities");
39
- var import_ds_button = require("@elliemae/ds-button");
40
- var import_ds_classnames = require("@elliemae/ds-classnames");
41
- const Intents = {
42
- SUCCESS: "success",
43
- INFO: "info",
44
- DANGER: "danger",
45
- WARNING: "warning"
46
- };
47
- const IntentIconColors = {
48
- [Intents.SUCCESS]: ["success", 900],
49
- [Intents.INFO]: ["brand-primary", 600],
50
- [Intents.DANGER]: ["danger", 900],
51
- [Intents.WARNING]: ["warning", 900]
52
- };
53
- const ValueWrapper = (0, import_ds_classnames.aggregatedClasses)("span")("icon-column-cell");
54
- const addColorToIcon = (icon, intentColor) => {
55
- if (icon.props.color) {
56
- return icon;
57
- }
58
- return import_react.default.cloneElement(icon, { color: intentColor });
59
- };
60
- const IconColumn = ({
61
- property,
62
- label,
63
- headerIcon,
64
- getRowIcon = () => null,
65
- isVisited = () => null,
66
- intent = Intents.SUCCESS,
67
- width = 60,
68
- onClick,
69
- visible,
70
- resizable,
71
- sortable,
72
- searchable
73
- }) => {
74
- const formatter = (value, extraParams) => {
75
- const icon = getRowIcon(value, extraParams);
76
- const onClickHandler = (e) => onClick(e, extraParams);
77
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ValueWrapper, { className: (0, import_ds_utilities.cx)(`icc-${intent}`, isVisited(value, extraParams)), children: [
78
- icon && addColorToIcon(icon, IntentIconColors[intent]),
79
- onClick && typeof value !== "undefined" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_button.DSButton, { buttonType: "text", intent, labelText: value, onClick: onClickHandler }) : value
80
- ] });
81
- };
82
- return {
83
- property,
84
- label,
85
- headerStyle: {
86
- justifyContent: "center"
87
- },
88
- header: {
89
- formatters: [
90
- () => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: import_react.default.cloneElement(headerIcon, {
91
- color: IntentIconColors[intent]
92
- }) })
93
- ]
94
- },
95
- cell: {
96
- formatters: [formatter]
97
- },
98
- cellStyle: {
99
- justifyContent: "center"
100
- },
101
- width,
102
- visible: typeof visible === "undefined" || visible,
103
- resizable,
104
- sortable,
105
- searchable
106
- };
107
- };
108
- var IconColumn_default = IconColumn;
109
- //# sourceMappingURL=IconColumn.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/columns/IconColumn.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["/* eslint-disable react/display-name */\nimport React from 'react';\nimport { cx } from '@elliemae/ds-utilities';\nimport { DSButton } from '@elliemae/ds-button';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\n\nconst Intents = {\n SUCCESS: 'success',\n INFO: 'info',\n DANGER: 'danger',\n WARNING: 'warning',\n};\n\nconst IntentIconColors = {\n [Intents.SUCCESS]: ['success', 900],\n [Intents.INFO]: ['brand-primary', 600],\n [Intents.DANGER]: ['danger', 900],\n [Intents.WARNING]: ['warning', 900],\n};\n\nconst ValueWrapper = aggregatedClasses('span')('icon-column-cell');\n\nconst addColorToIcon = (icon, intentColor) => {\n if (icon.props.color) {\n return icon;\n }\n return React.cloneElement(icon, { color: intentColor });\n};\n\nexport const IconColumn = ({\n property,\n label,\n headerIcon,\n getRowIcon = () => null,\n isVisited = () => null,\n intent = Intents.SUCCESS,\n width = 60,\n onClick,\n visible,\n resizable,\n sortable,\n searchable,\n}) => {\n const formatter = (value, extraParams) => {\n const icon = getRowIcon(value, extraParams);\n const onClickHandler = (e) => onClick(e, extraParams);\n return (\n <ValueWrapper className={cx(`icc-${intent}`, isVisited(value, extraParams))}>\n {icon && addColorToIcon(icon, IntentIconColors[intent])}\n {onClick && typeof value !== 'undefined' ? (\n <DSButton buttonType=\"text\" intent={intent} labelText={value} onClick={onClickHandler} />\n ) : (\n value\n )}\n </ValueWrapper>\n );\n };\n return {\n property,\n label,\n headerStyle: {\n justifyContent: 'center',\n },\n header: {\n formatters: [\n () => (\n <span>\n {React.cloneElement(headerIcon, {\n color: IntentIconColors[intent],\n })}\n </span>\n ),\n ],\n },\n cell: {\n formatters: [formatter],\n },\n cellStyle: {\n justifyContent: 'center',\n },\n width,\n visible: typeof visible === 'undefined' || visible,\n resizable,\n sortable,\n searchable,\n };\n};\n\nexport default IconColumn;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD+CjB;AA9CN,mBAAkB;AAClB,0BAAmB;AACnB,uBAAyB;AACzB,2BAAkC;AAElC,MAAM,UAAU;AAAA,EACd,SAAS;AAAA,EACT,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,SAAS;AACX;AAEA,MAAM,mBAAmB;AAAA,EACvB,CAAC,QAAQ,OAAO,GAAG,CAAC,WAAW,GAAG;AAAA,EAClC,CAAC,QAAQ,IAAI,GAAG,CAAC,iBAAiB,GAAG;AAAA,EACrC,CAAC,QAAQ,MAAM,GAAG,CAAC,UAAU,GAAG;AAAA,EAChC,CAAC,QAAQ,OAAO,GAAG,CAAC,WAAW,GAAG;AACpC;AAEA,MAAM,mBAAe,wCAAkB,MAAM,EAAE,kBAAkB;AAEjE,MAAM,iBAAiB,CAAC,MAAM,gBAAgB;AAC5C,MAAI,KAAK,MAAM,OAAO;AACpB,WAAO;AAAA,EACT;AACA,SAAO,aAAAA,QAAM,aAAa,MAAM,EAAE,OAAO,YAAY,CAAC;AACxD;AAEO,MAAM,aAAa,CAAC;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA,aAAa,MAAM;AAAA,EACnB,YAAY,MAAM;AAAA,EAClB,SAAS,QAAQ;AAAA,EACjB,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,YAAY,CAAC,OAAO,gBAAgB;AACxC,UAAM,OAAO,WAAW,OAAO,WAAW;AAC1C,UAAM,iBAAiB,CAAC,MAAM,QAAQ,GAAG,WAAW;AACpD,WACE,6CAAC,gBAAa,eAAW,wBAAG,OAAO,UAAU,UAAU,OAAO,WAAW,CAAC,GACvE;AAAA,cAAQ,eAAe,MAAM,iBAAiB,MAAM,CAAC;AAAA,MACrD,WAAW,OAAO,UAAU,cAC3B,4CAAC,6BAAS,YAAW,QAAO,QAAgB,WAAW,OAAO,SAAS,gBAAgB,IAEvF;AAAA,OAEJ;AAAA,EAEJ;AACA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,aAAa;AAAA,MACX,gBAAgB;AAAA,IAClB;AAAA,IACA,QAAQ;AAAA,MACN,YAAY;AAAA,QACV,MACE,4CAAC,UACE,uBAAAA,QAAM,aAAa,YAAY;AAAA,UAC9B,OAAO,iBAAiB,MAAM;AAAA,QAChC,CAAC,GACH;AAAA,MAEJ;AAAA,IACF;AAAA,IACA,MAAM;AAAA,MACJ,YAAY,CAAC,SAAS;AAAA,IACxB;AAAA,IACA,WAAW;AAAA,MACT,gBAAgB;AAAA,IAClB;AAAA,IACA;AAAA,IACA,SAAS,OAAO,YAAY,eAAe;AAAA,IAC3C;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;AAEA,IAAO,qBAAQ;",
6
- "names": ["React"]
7
- }
@@ -1,37 +0,0 @@
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 NumberColumn_exports = {};
30
- __export(NumberColumn_exports, {
31
- default: () => createNumberColumn
32
- });
33
- module.exports = __toCommonJS(NumberColumn_exports);
34
- var React = __toESM(require("react"));
35
- function createNumberColumn({ label, property }) {
36
- }
37
- //# sourceMappingURL=NumberColumn.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/columns/NumberColumn.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export default function createNumberColumn({ label, property }) {}\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAR,SAAR,mBAAoC,EAAE,OAAO,SAAS,GAAG;AAAC;",
6
- "names": []
7
- }