@elliemae/ds-datagrids 3.16.0-next.1 → 3.16.0-next.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (380) hide show
  1. package/dist/cjs/DSDataGrid.js +249 -241
  2. package/dist/cjs/DSDataGrid.js.map +2 -2
  3. package/dist/cjs/DataGridImpl.js +11 -11
  4. package/dist/cjs/DataGridImpl.js.map +1 -1
  5. package/dist/cjs/PaginatedDataGrid.js +9 -9
  6. package/dist/cjs/PaginatedDataGrid.js.map +2 -2
  7. package/dist/cjs/components/BodyList.js +3 -5
  8. package/dist/cjs/components/BodyList.js.map +2 -2
  9. package/dist/cjs/components/ColumnVisibilityMenuOption.js +1 -6
  10. package/dist/cjs/components/ColumnVisibilityMenuOption.js.map +2 -2
  11. package/dist/cjs/components/ColumnsOptionsMenuSection.js +2 -11
  12. package/dist/cjs/components/ColumnsOptionsMenuSection.js.map +2 -2
  13. package/dist/cjs/components/EmptyState.js +5 -6
  14. package/dist/cjs/components/EmptyState.js.map +3 -3
  15. package/dist/cjs/components/List.js +2 -2
  16. package/dist/cjs/components/List.js.map +2 -2
  17. package/dist/cjs/components/ListItem.js +3 -6
  18. package/dist/cjs/components/ListItem.js.map +2 -2
  19. package/dist/cjs/components/NoResults.js +4 -10
  20. package/dist/cjs/components/NoResults.js.map +2 -2
  21. package/dist/cjs/components/RowsLoader.js +1 -1
  22. package/dist/cjs/components/RowsLoader.js.map +1 -1
  23. package/dist/cjs/components/Table.js +5 -5
  24. package/dist/cjs/components/Table.js.map +1 -1
  25. package/dist/cjs/components/TableBody.js +2 -7
  26. package/dist/cjs/components/TableBody.js.map +2 -2
  27. package/dist/cjs/components/TableHeader.js +1 -1
  28. package/dist/cjs/components/TableHeader.js.map +2 -2
  29. package/dist/cjs/components/footer/addOptionalFooterComponents.js +1 -1
  30. package/dist/cjs/components/footer/addOptionalFooterComponents.js.map +1 -1
  31. package/dist/cjs/components/index.js +5 -5
  32. package/dist/cjs/components/index.js.map +1 -1
  33. package/dist/cjs/components/renderers/defaultClassedRenderers.js +16 -36
  34. package/dist/cjs/components/renderers/defaultClassedRenderers.js.map +2 -2
  35. package/dist/cjs/components/renderers/index.js +2 -2
  36. package/dist/cjs/components/renderers/index.js.map +1 -1
  37. package/dist/cjs/components/renderers/renderRowsLoader.js +2 -4
  38. package/dist/cjs/components/renderers/renderRowsLoader.js.map +2 -2
  39. package/dist/cjs/defaultPlugins.js +5 -10
  40. package/dist/cjs/defaultPlugins.js.map +2 -2
  41. package/dist/cjs/index.js +9 -9
  42. package/dist/cjs/index.js.map +1 -1
  43. package/dist/cjs/package.json +7 -0
  44. package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +22 -18
  45. package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +2 -2
  46. package/dist/cjs/plugins/body-header-scroll-sync/index.js +1 -1
  47. package/dist/cjs/plugins/body-header-scroll-sync/index.js.map +1 -1
  48. package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js +1 -1
  49. package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js.map +1 -1
  50. package/dist/cjs/plugins/column-dnd/index.js +1 -1
  51. package/dist/cjs/plugins/column-dnd/index.js.map +1 -1
  52. package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js +4 -4
  53. package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js.map +1 -1
  54. package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js +1 -1
  55. package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js.map +1 -1
  56. package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js +1 -1
  57. package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js.map +1 -1
  58. package/dist/cjs/plugins/column-sizing/index.js +1 -1
  59. package/dist/cjs/plugins/column-sizing/index.js.map +1 -1
  60. package/dist/cjs/plugins/column-sizing/useColumnSizeService.js +7 -26
  61. package/dist/cjs/plugins/column-sizing/useColumnSizeService.js.map +2 -2
  62. package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js +2 -2
  63. package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js.map +1 -1
  64. package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js +1 -1
  65. package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +1 -1
  66. package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js +1 -1
  67. package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +1 -1
  68. package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js +1 -1
  69. package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js.map +1 -1
  70. package/dist/cjs/plugins/custom-cell-renderer/index.js +1 -1
  71. package/dist/cjs/plugins/custom-cell-renderer/index.js.map +1 -1
  72. package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js.map +1 -1
  73. package/dist/cjs/plugins/editable/EditableComponents/TextBox.js.map +1 -1
  74. package/dist/cjs/plugins/editable/EditableComponents/index.js +2 -2
  75. package/dist/cjs/plugins/editable/EditableComponents/index.js.map +1 -1
  76. package/dist/cjs/plugins/editable/EditablePlugin.js +1 -1
  77. package/dist/cjs/plugins/editable/EditablePlugin.js.map +1 -1
  78. package/dist/cjs/plugins/editable/decorateEditable.js +1 -1
  79. package/dist/cjs/plugins/editable/decorateEditable.js.map +1 -1
  80. package/dist/cjs/plugins/editable/getEditorComponent.js +3 -16
  81. package/dist/cjs/plugins/editable/getEditorComponent.js.map +2 -2
  82. package/dist/cjs/plugins/editable/index.js +2 -2
  83. package/dist/cjs/plugins/editable/index.js.map +1 -1
  84. package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js +23 -25
  85. package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js.map +2 -2
  86. package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js +5 -5
  87. package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js.map +2 -2
  88. package/dist/cjs/plugins/expandable-grid/ExpandedRow.js +6 -6
  89. package/dist/cjs/plugins/expandable-grid/ExpandedRow.js.map +1 -1
  90. package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js +12 -8
  91. package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js.map +2 -2
  92. package/dist/cjs/plugins/expandable-grid/index.js +2 -2
  93. package/dist/cjs/plugins/expandable-grid/index.js.map +1 -1
  94. package/dist/cjs/plugins/expandable-grid/useExpandGridState.js.map +2 -2
  95. package/dist/cjs/plugins/export-data/index.js +1 -1
  96. package/dist/cjs/plugins/export-data/index.js.map +1 -1
  97. package/dist/cjs/plugins/filterable/FilterablePlugin.js +3 -3
  98. package/dist/cjs/plugins/filterable/FilterablePlugin.js.map +2 -2
  99. package/dist/cjs/plugins/filterable/addFilterToColumn.js +1 -1
  100. package/dist/cjs/plugins/filterable/addFilterToColumn.js.map +1 -1
  101. package/dist/cjs/plugins/filterable/components/FilterableHeader.js +1 -1
  102. package/dist/cjs/plugins/filterable/components/FilterableHeader.js.map +2 -2
  103. package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +45 -47
  104. package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +2 -2
  105. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +46 -48
  106. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +2 -2
  107. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +43 -45
  108. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +2 -2
  109. package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js +3 -3
  110. package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +2 -2
  111. package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +5 -7
  112. package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +2 -2
  113. package/dist/cjs/plugins/filterable/filterableFormatter.js +29 -37
  114. package/dist/cjs/plugins/filterable/filterableFormatter.js.map +2 -2
  115. package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js +2 -4
  116. package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +2 -2
  117. package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js.map +2 -2
  118. package/dist/cjs/plugins/filterable/helper.js.map +2 -2
  119. package/dist/cjs/plugins/filterable/index.js +1 -1
  120. package/dist/cjs/plugins/filterable/index.js.map +1 -1
  121. package/dist/cjs/plugins/filterable/useFilterableState.js +3 -7
  122. package/dist/cjs/plugins/filterable/useFilterableState.js.map +2 -2
  123. package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js +4 -4
  124. package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js.map +2 -2
  125. package/dist/cjs/plugins/grouping-grid/walkStrategy.js.map +2 -2
  126. package/dist/cjs/plugins/index.js +16 -16
  127. package/dist/cjs/plugins/index.js.map +1 -1
  128. package/dist/cjs/plugins/infinite-scrolling/index.js +1 -1
  129. package/dist/cjs/plugins/infinite-scrolling/index.js.map +1 -1
  130. package/dist/cjs/plugins/pagination/PaginationPlugin.js +4 -4
  131. package/dist/cjs/plugins/pagination/PaginationPlugin.js.map +2 -2
  132. package/dist/cjs/plugins/pagination/components/Pagination.js +5 -24
  133. package/dist/cjs/plugins/pagination/components/Pagination.js.map +2 -2
  134. package/dist/cjs/plugins/pagination/components/PerPageDropdown.js +2 -2
  135. package/dist/cjs/plugins/pagination/components/PerPageDropdown.js.map +2 -2
  136. package/dist/cjs/plugins/pagination/helper.js.map +2 -2
  137. package/dist/cjs/plugins/pagination/index.js +1 -1
  138. package/dist/cjs/plugins/pagination/index.js.map +1 -1
  139. package/dist/cjs/plugins/pagination/usePaginationState.js +1 -1
  140. package/dist/cjs/plugins/pagination/usePaginationState.js.map +1 -1
  141. package/dist/cjs/plugins/resizable/ResizablePlugin.js +1 -1
  142. package/dist/cjs/plugins/resizable/ResizablePlugin.js.map +1 -1
  143. package/dist/cjs/plugins/resizable/decorateResizable.js +4 -2
  144. package/dist/cjs/plugins/resizable/decorateResizable.js.map +2 -2
  145. package/dist/cjs/plugins/resizable/index.js +1 -1
  146. package/dist/cjs/plugins/resizable/index.js.map +1 -1
  147. package/dist/cjs/plugins/resizable/useResizeHandle.js +2 -12
  148. package/dist/cjs/plugins/resizable/useResizeHandle.js.map +2 -2
  149. package/dist/cjs/plugins/row-dnd/index.js +1 -1
  150. package/dist/cjs/plugins/row-dnd/index.js.map +1 -1
  151. package/dist/cjs/plugins/selectable/SelectablePlugin.js +3 -3
  152. package/dist/cjs/plugins/selectable/SelectablePlugin.js.map +1 -1
  153. package/dist/cjs/plugins/selectable/addSelectableColumn.js +1 -1
  154. package/dist/cjs/plugins/selectable/addSelectableColumn.js.map +1 -1
  155. package/dist/cjs/plugins/selectable/index.js +1 -1
  156. package/dist/cjs/plugins/selectable/index.js.map +1 -1
  157. package/dist/cjs/plugins/selectable/selectableFormatter.js +1 -1
  158. package/dist/cjs/plugins/selectable/selectableFormatter.js.map +2 -2
  159. package/dist/cjs/plugins/selectable/useSelectableState.js +1 -1
  160. package/dist/cjs/plugins/selectable/useSelectableState.js.map +2 -2
  161. package/dist/cjs/plugins/sortable/SortablePlugin.js +3 -3
  162. package/dist/cjs/plugins/sortable/SortablePlugin.js.map +1 -1
  163. package/dist/cjs/plugins/sortable/index.js +1 -1
  164. package/dist/cjs/plugins/sortable/index.js.map +1 -1
  165. package/dist/cjs/plugins/sortable/sortTree.js.map +2 -2
  166. package/dist/cjs/plugins/sortable/useSortableState.js +2 -4
  167. package/dist/cjs/plugins/sortable/useSortableState.js.map +2 -2
  168. package/dist/cjs/plugins/toolbar/RowRenderer.js +2 -2
  169. package/dist/cjs/plugins/toolbar/RowRenderer.js.map +1 -1
  170. package/dist/cjs/plugins/toolbar/ToolbarPlugin.js +1 -1
  171. package/dist/cjs/plugins/toolbar/ToolbarPlugin.js.map +1 -1
  172. package/dist/cjs/plugins/toolbar/index.js +1 -1
  173. package/dist/cjs/plugins/toolbar/index.js.map +1 -1
  174. package/dist/cjs/plugins/virtualization/AutoHeightList.js.map +2 -2
  175. package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js +2 -2
  176. package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js.map +2 -2
  177. package/dist/cjs/plugins/virtualization/VirtualizedBody.js +4 -4
  178. package/dist/cjs/plugins/virtualization/VirtualizedBody.js.map +1 -1
  179. package/dist/cjs/plugins/virtualization/index.js +1 -1
  180. package/dist/cjs/plugins/virtualization/index.js.map +1 -1
  181. package/dist/cjs/renders/CellWithAddons.js +1 -1
  182. package/dist/cjs/renders/CellWithAddons.js.map +1 -1
  183. package/dist/cjs/renders/index.js +2 -2
  184. package/dist/cjs/renders/index.js.map +1 -1
  185. package/dist/cjs/rowSizes.js +1 -5
  186. package/dist/cjs/rowSizes.js.map +2 -2
  187. package/dist/cjs/utilities/getPluginsFromProps.js +13 -13
  188. package/dist/cjs/utilities/getPluginsFromProps.js.map +1 -1
  189. package/dist/cjs/utilities/normalizeData.js.map +2 -2
  190. package/dist/esm/DSDataGrid.js +125 -117
  191. package/dist/esm/DSDataGrid.js.map +2 -2
  192. package/dist/esm/DataGridImpl.js +11 -11
  193. package/dist/esm/DataGridImpl.js.map +1 -1
  194. package/dist/esm/PaginatedDataGrid.js +9 -9
  195. package/dist/esm/PaginatedDataGrid.js.map +2 -2
  196. package/dist/esm/components/BodyList.js +3 -5
  197. package/dist/esm/components/BodyList.js.map +2 -2
  198. package/dist/esm/components/ColumnVisibilityMenuOption.js +1 -6
  199. package/dist/esm/components/ColumnVisibilityMenuOption.js.map +2 -2
  200. package/dist/esm/components/ColumnsOptionsMenuSection.js +2 -11
  201. package/dist/esm/components/ColumnsOptionsMenuSection.js.map +2 -2
  202. package/dist/esm/components/EmptyState.js +1 -2
  203. package/dist/esm/components/EmptyState.js.map +2 -2
  204. package/dist/esm/components/List.js +2 -2
  205. package/dist/esm/components/List.js.map +2 -2
  206. package/dist/esm/components/ListItem.js +3 -6
  207. package/dist/esm/components/ListItem.js.map +2 -2
  208. package/dist/esm/components/NoResults.js +4 -10
  209. package/dist/esm/components/NoResults.js.map +2 -2
  210. package/dist/esm/components/RowsLoader.js +1 -1
  211. package/dist/esm/components/RowsLoader.js.map +1 -1
  212. package/dist/esm/components/Table.js +5 -5
  213. package/dist/esm/components/Table.js.map +1 -1
  214. package/dist/esm/components/TableBody.js +2 -7
  215. package/dist/esm/components/TableBody.js.map +2 -2
  216. package/dist/esm/components/TableHeader.js +1 -1
  217. package/dist/esm/components/TableHeader.js.map +2 -2
  218. package/dist/esm/components/footer/addOptionalFooterComponents.js +1 -1
  219. package/dist/esm/components/footer/addOptionalFooterComponents.js.map +1 -1
  220. package/dist/esm/components/index.js +5 -5
  221. package/dist/esm/components/index.js.map +1 -1
  222. package/dist/esm/components/renderers/defaultClassedRenderers.js +16 -40
  223. package/dist/esm/components/renderers/defaultClassedRenderers.js.map +2 -2
  224. package/dist/esm/components/renderers/index.js +2 -2
  225. package/dist/esm/components/renderers/index.js.map +1 -1
  226. package/dist/esm/components/renderers/renderRowsLoader.js +2 -4
  227. package/dist/esm/components/renderers/renderRowsLoader.js.map +2 -2
  228. package/dist/esm/defaultPlugins.js +5 -10
  229. package/dist/esm/defaultPlugins.js.map +2 -2
  230. package/dist/esm/index.js +9 -9
  231. package/dist/esm/index.js.map +1 -1
  232. package/dist/esm/package.json +7 -0
  233. package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +22 -18
  234. package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +2 -2
  235. package/dist/esm/plugins/body-header-scroll-sync/index.js +1 -1
  236. package/dist/esm/plugins/body-header-scroll-sync/index.js.map +1 -1
  237. package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js +1 -1
  238. package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js.map +1 -1
  239. package/dist/esm/plugins/column-dnd/index.js +1 -1
  240. package/dist/esm/plugins/column-dnd/index.js.map +1 -1
  241. package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js +4 -4
  242. package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js.map +1 -1
  243. package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js +1 -1
  244. package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js.map +1 -1
  245. package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js +1 -1
  246. package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js.map +1 -1
  247. package/dist/esm/plugins/column-sizing/index.js +1 -1
  248. package/dist/esm/plugins/column-sizing/index.js.map +1 -1
  249. package/dist/esm/plugins/column-sizing/useColumnSizeService.js +7 -26
  250. package/dist/esm/plugins/column-sizing/useColumnSizeService.js.map +2 -2
  251. package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js +2 -2
  252. package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js.map +1 -1
  253. package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js +1 -1
  254. package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +1 -1
  255. package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js +1 -1
  256. package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +1 -1
  257. package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js +1 -1
  258. package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js.map +1 -1
  259. package/dist/esm/plugins/custom-cell-renderer/index.js +1 -1
  260. package/dist/esm/plugins/custom-cell-renderer/index.js.map +1 -1
  261. package/dist/esm/plugins/editable/EditableComponents/ComboBox.js.map +1 -1
  262. package/dist/esm/plugins/editable/EditableComponents/TextBox.js.map +1 -1
  263. package/dist/esm/plugins/editable/EditableComponents/index.js +2 -2
  264. package/dist/esm/plugins/editable/EditableComponents/index.js.map +1 -1
  265. package/dist/esm/plugins/editable/EditablePlugin.js +1 -1
  266. package/dist/esm/plugins/editable/EditablePlugin.js.map +1 -1
  267. package/dist/esm/plugins/editable/decorateEditable.js +1 -1
  268. package/dist/esm/plugins/editable/decorateEditable.js.map +1 -1
  269. package/dist/esm/plugins/editable/getEditorComponent.js +3 -16
  270. package/dist/esm/plugins/editable/getEditorComponent.js.map +2 -2
  271. package/dist/esm/plugins/editable/index.js +2 -2
  272. package/dist/esm/plugins/editable/index.js.map +1 -1
  273. package/dist/esm/plugins/expandable-grid/ExpandableColumn.js +23 -25
  274. package/dist/esm/plugins/expandable-grid/ExpandableColumn.js.map +2 -2
  275. package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js +5 -5
  276. package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js.map +2 -2
  277. package/dist/esm/plugins/expandable-grid/ExpandedRow.js +6 -6
  278. package/dist/esm/plugins/expandable-grid/ExpandedRow.js.map +1 -1
  279. package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js +12 -8
  280. package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js.map +2 -2
  281. package/dist/esm/plugins/expandable-grid/index.js +2 -2
  282. package/dist/esm/plugins/expandable-grid/index.js.map +1 -1
  283. package/dist/esm/plugins/expandable-grid/useExpandGridState.js.map +2 -2
  284. package/dist/esm/plugins/export-data/index.js +1 -1
  285. package/dist/esm/plugins/export-data/index.js.map +1 -1
  286. package/dist/esm/plugins/filterable/FilterablePlugin.js +3 -3
  287. package/dist/esm/plugins/filterable/FilterablePlugin.js.map +2 -2
  288. package/dist/esm/plugins/filterable/addFilterToColumn.js +1 -1
  289. package/dist/esm/plugins/filterable/addFilterToColumn.js.map +1 -1
  290. package/dist/esm/plugins/filterable/components/FilterableHeader.js +1 -1
  291. package/dist/esm/plugins/filterable/components/FilterableHeader.js.map +2 -2
  292. package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +45 -47
  293. package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +2 -2
  294. package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +46 -48
  295. package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +2 -2
  296. package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +43 -45
  297. package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +2 -2
  298. package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js +3 -3
  299. package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +2 -2
  300. package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +5 -7
  301. package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +2 -2
  302. package/dist/esm/plugins/filterable/filterableFormatter.js +29 -37
  303. package/dist/esm/plugins/filterable/filterableFormatter.js.map +2 -2
  304. package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js +2 -4
  305. package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +2 -2
  306. package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js.map +2 -2
  307. package/dist/esm/plugins/filterable/helper.js +1 -7
  308. package/dist/esm/plugins/filterable/helper.js.map +2 -2
  309. package/dist/esm/plugins/filterable/index.js +1 -1
  310. package/dist/esm/plugins/filterable/index.js.map +1 -1
  311. package/dist/esm/plugins/filterable/useFilterableState.js +3 -11
  312. package/dist/esm/plugins/filterable/useFilterableState.js.map +2 -2
  313. package/dist/esm/plugins/grouping-grid/GroupingPlugin.js +4 -4
  314. package/dist/esm/plugins/grouping-grid/GroupingPlugin.js.map +2 -2
  315. package/dist/esm/plugins/grouping-grid/walkStrategy.js.map +2 -2
  316. package/dist/esm/plugins/index.js +16 -16
  317. package/dist/esm/plugins/index.js.map +1 -1
  318. package/dist/esm/plugins/infinite-scrolling/index.js +1 -1
  319. package/dist/esm/plugins/infinite-scrolling/index.js.map +1 -1
  320. package/dist/esm/plugins/pagination/PaginationPlugin.js +4 -4
  321. package/dist/esm/plugins/pagination/PaginationPlugin.js.map +2 -2
  322. package/dist/esm/plugins/pagination/components/Pagination.js +5 -24
  323. package/dist/esm/plugins/pagination/components/Pagination.js.map +2 -2
  324. package/dist/esm/plugins/pagination/components/PerPageDropdown.js +2 -2
  325. package/dist/esm/plugins/pagination/components/PerPageDropdown.js.map +2 -2
  326. package/dist/esm/plugins/pagination/helper.js.map +2 -2
  327. package/dist/esm/plugins/pagination/index.js +1 -1
  328. package/dist/esm/plugins/pagination/index.js.map +1 -1
  329. package/dist/esm/plugins/pagination/usePaginationState.js +1 -1
  330. package/dist/esm/plugins/pagination/usePaginationState.js.map +1 -1
  331. package/dist/esm/plugins/resizable/ResizablePlugin.js +1 -1
  332. package/dist/esm/plugins/resizable/ResizablePlugin.js.map +1 -1
  333. package/dist/esm/plugins/resizable/decorateResizable.js +4 -2
  334. package/dist/esm/plugins/resizable/decorateResizable.js.map +2 -2
  335. package/dist/esm/plugins/resizable/index.js +1 -1
  336. package/dist/esm/plugins/resizable/index.js.map +1 -1
  337. package/dist/esm/plugins/resizable/useResizeHandle.js +2 -12
  338. package/dist/esm/plugins/resizable/useResizeHandle.js.map +2 -2
  339. package/dist/esm/plugins/row-dnd/index.js +1 -1
  340. package/dist/esm/plugins/row-dnd/index.js.map +1 -1
  341. package/dist/esm/plugins/selectable/SelectablePlugin.js +3 -3
  342. package/dist/esm/plugins/selectable/SelectablePlugin.js.map +1 -1
  343. package/dist/esm/plugins/selectable/addSelectableColumn.js +1 -1
  344. package/dist/esm/plugins/selectable/addSelectableColumn.js.map +1 -1
  345. package/dist/esm/plugins/selectable/index.js +1 -1
  346. package/dist/esm/plugins/selectable/index.js.map +1 -1
  347. package/dist/esm/plugins/selectable/selectableFormatter.js +1 -1
  348. package/dist/esm/plugins/selectable/selectableFormatter.js.map +2 -2
  349. package/dist/esm/plugins/selectable/useSelectableState.js +1 -5
  350. package/dist/esm/plugins/selectable/useSelectableState.js.map +2 -2
  351. package/dist/esm/plugins/sortable/SortablePlugin.js +3 -3
  352. package/dist/esm/plugins/sortable/SortablePlugin.js.map +1 -1
  353. package/dist/esm/plugins/sortable/index.js +1 -1
  354. package/dist/esm/plugins/sortable/index.js.map +1 -1
  355. package/dist/esm/plugins/sortable/sortTree.js.map +2 -2
  356. package/dist/esm/plugins/sortable/useSortableState.js +2 -4
  357. package/dist/esm/plugins/sortable/useSortableState.js.map +2 -2
  358. package/dist/esm/plugins/toolbar/RowRenderer.js +2 -2
  359. package/dist/esm/plugins/toolbar/RowRenderer.js.map +1 -1
  360. package/dist/esm/plugins/toolbar/ToolbarPlugin.js +1 -1
  361. package/dist/esm/plugins/toolbar/ToolbarPlugin.js.map +1 -1
  362. package/dist/esm/plugins/toolbar/index.js +1 -1
  363. package/dist/esm/plugins/toolbar/index.js.map +1 -1
  364. package/dist/esm/plugins/virtualization/AutoHeightList.js.map +2 -2
  365. package/dist/esm/plugins/virtualization/VirtualizationPlugin.js +2 -2
  366. package/dist/esm/plugins/virtualization/VirtualizationPlugin.js.map +2 -2
  367. package/dist/esm/plugins/virtualization/VirtualizedBody.js +4 -4
  368. package/dist/esm/plugins/virtualization/VirtualizedBody.js.map +1 -1
  369. package/dist/esm/plugins/virtualization/index.js +1 -1
  370. package/dist/esm/plugins/virtualization/index.js.map +1 -1
  371. package/dist/esm/renders/CellWithAddons.js +1 -1
  372. package/dist/esm/renders/CellWithAddons.js.map +1 -1
  373. package/dist/esm/renders/index.js +2 -2
  374. package/dist/esm/renders/index.js.map +1 -1
  375. package/dist/esm/rowSizes.js +1 -5
  376. package/dist/esm/rowSizes.js.map +2 -2
  377. package/dist/esm/utilities/getPluginsFromProps.js +13 -13
  378. package/dist/esm/utilities/getPluginsFromProps.js.map +1 -1
  379. package/dist/esm/utilities/normalizeData.js.map +2 -2
  380. package/package.json +22 -21
@@ -33,9 +33,10 @@ module.exports = __toCommonJS(DSDataGrid_exports);
33
33
  var React = __toESM(require("react"));
34
34
  var import_jsx_runtime = require("react/jsx-runtime");
35
35
  var import_ds_utilities = require("@elliemae/ds-utilities");
36
+ var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
36
37
  var import_ds_truncated_tooltip_text = require("@elliemae/ds-truncated-tooltip-text");
37
- var import_DataGridImpl = require("./DataGridImpl");
38
- var import_rowSizes = require("./rowSizes");
38
+ var import_DataGridImpl = require("./DataGridImpl.js");
39
+ var import_rowSizes = require("./rowSizes.js");
39
40
  const DSDataGrids = ({
40
41
  containerProps = {},
41
42
  instanceRef,
@@ -150,289 +151,296 @@ const DSDataGrids = ({
150
151
  noColumnsPlaceholder,
151
152
  plugins = [],
152
153
  normalizeDataKeys = false
153
- }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_truncated_tooltip_text.TooltipTextProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
154
- import_DataGridImpl.DataGridImpl,
155
- {
156
- aggregations,
157
- autoHeight: autoHeight && !fluidHeight,
158
- autoScrollToId,
159
- bindColumnsSizeTo,
160
- bindRowSizeTo,
161
- className,
162
- columns,
163
- containerProps,
164
- customHandlers,
165
- detailColumns,
166
- dragAndDropColumns,
167
- dragAndDropRows,
168
- editable,
169
- expandable,
170
- expandableSubrowsVisible,
171
- expandedRows,
172
- filterBarOptions,
173
- filters,
174
- fixedHeader,
175
- fluidHeight,
176
- getChildrenRows,
177
- getData,
178
- getExpandedRowMinSize,
179
- getExpandedRowSize,
180
- groupedBy,
181
- groupedRows,
182
- groupedRowsRenderHeader,
183
- groupingColumn,
184
- height,
185
- infiniteScrolling,
186
- instanceRef,
187
- isColumnEditable,
188
- isDataFiltered,
189
- isDataSorted,
190
- maxPerPage,
191
- minColumnWidth,
192
- minPerPage,
193
- multiSelectComponent,
194
- multiSelectFilterLabel,
195
- multiSelectFilterLabels,
196
- multiSelectFilterOptions,
197
- noColumnsPlaceholder,
198
- noResultsPlaceholder,
199
- noResultsRender,
200
- normalizeDataKeys,
201
- numRowsVisible,
202
- onAddFilter,
203
- onColumnResize,
204
- onColumnRowEdit,
205
- onColumnRowEdited,
206
- onExpandRow,
207
- onExpandChange,
208
- onFilter,
209
- onFiltersChange,
210
- onFilterMenuClose,
211
- onFilterMenuOpen,
212
- onDefaultFiltersLoad,
213
- onInfiniteScrolling,
214
- onMoveColumnEnd,
215
- onMoveColumnOver,
216
- onMoveColumnStart,
217
- onMoveRowEnd,
218
- onMoveRowStart,
219
- onPageChange,
220
- onPerPageChange,
221
- onRemoveFilter,
222
- onReorder,
223
- onSelectAll,
224
- onSelectRow,
225
- onSort,
226
- onToggleExpand,
227
- onToggleShowAllRows,
228
- overscanCount,
229
- paginated,
230
- pagination,
231
- paginationStep,
232
- plugins,
233
- renderExpandedDetails,
234
- renderFilterToolbar,
235
- renderRowDetails,
236
- renderToolbar,
237
- resizeableColumns,
238
- rowKey,
239
- rows,
240
- rowSize,
241
- searchFilters,
242
- selectable,
243
- selectAll,
244
- selectColumnFilterable,
245
- selectColumnSortable,
246
- selectedRows,
247
- selectionColumnDefinition,
248
- serverSideData,
249
- showFilterBar,
250
- showHeader,
251
- showRowsLoader,
252
- showSelectColumn,
253
- showSelectHighlight,
254
- sortable,
255
- sortEmptyLast,
256
- sortingColumns,
257
- subrowSize: subRowSize,
258
- toolbarDelayClose,
259
- useTreeData,
260
- virtualized,
261
- visibleColumns,
262
- wrapText
263
- }
264
- ) });
154
+ }) => {
155
+ (0, import_ds_utilities.useDeprecateComponent)({ componentName: "ds-datagrids", version: "3.x Date: 2023 Q1" });
156
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_truncated_tooltip_text.TooltipTextProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
157
+ import_DataGridImpl.DataGridImpl,
158
+ {
159
+ aggregations,
160
+ autoHeight: autoHeight && !fluidHeight,
161
+ autoScrollToId,
162
+ bindColumnsSizeTo,
163
+ bindRowSizeTo,
164
+ className,
165
+ columns,
166
+ containerProps,
167
+ customHandlers,
168
+ detailColumns,
169
+ dragAndDropColumns,
170
+ dragAndDropRows,
171
+ editable,
172
+ expandable,
173
+ expandableSubrowsVisible,
174
+ expandedRows,
175
+ filterBarOptions,
176
+ filters,
177
+ fixedHeader,
178
+ fluidHeight,
179
+ getChildrenRows,
180
+ getData,
181
+ getExpandedRowMinSize,
182
+ getExpandedRowSize,
183
+ groupedBy,
184
+ groupedRows,
185
+ groupedRowsRenderHeader,
186
+ groupingColumn,
187
+ height,
188
+ infiniteScrolling,
189
+ instanceRef,
190
+ isColumnEditable,
191
+ isDataFiltered,
192
+ isDataSorted,
193
+ maxPerPage,
194
+ minColumnWidth,
195
+ minPerPage,
196
+ multiSelectComponent,
197
+ multiSelectFilterLabel,
198
+ multiSelectFilterLabels,
199
+ multiSelectFilterOptions,
200
+ noColumnsPlaceholder,
201
+ noResultsPlaceholder,
202
+ noResultsRender,
203
+ normalizeDataKeys,
204
+ numRowsVisible,
205
+ onAddFilter,
206
+ onColumnResize,
207
+ onColumnRowEdit,
208
+ onColumnRowEdited,
209
+ onExpandRow,
210
+ onExpandChange,
211
+ onFilter,
212
+ onFiltersChange,
213
+ onFilterMenuClose,
214
+ onFilterMenuOpen,
215
+ onDefaultFiltersLoad,
216
+ onInfiniteScrolling,
217
+ onMoveColumnEnd,
218
+ onMoveColumnOver,
219
+ onMoveColumnStart,
220
+ onMoveRowEnd,
221
+ onMoveRowStart,
222
+ onPageChange,
223
+ onPerPageChange,
224
+ onRemoveFilter,
225
+ onReorder,
226
+ onSelectAll,
227
+ onSelectRow,
228
+ onSort,
229
+ onToggleExpand,
230
+ onToggleShowAllRows,
231
+ overscanCount,
232
+ paginated,
233
+ pagination,
234
+ paginationStep,
235
+ plugins,
236
+ renderExpandedDetails,
237
+ renderFilterToolbar,
238
+ renderRowDetails,
239
+ renderToolbar,
240
+ resizeableColumns,
241
+ rowKey,
242
+ rows,
243
+ rowSize,
244
+ searchFilters,
245
+ selectable,
246
+ selectAll,
247
+ selectColumnFilterable,
248
+ selectColumnSortable,
249
+ selectedRows,
250
+ selectionColumnDefinition,
251
+ serverSideData,
252
+ showFilterBar,
253
+ showHeader,
254
+ showRowsLoader,
255
+ showSelectColumn,
256
+ showSelectHighlight,
257
+ sortable,
258
+ sortEmptyLast,
259
+ sortingColumns,
260
+ subrowSize: subRowSize,
261
+ toolbarDelayClose,
262
+ useTreeData,
263
+ virtualized,
264
+ visibleColumns,
265
+ wrapText
266
+ }
267
+ ) });
268
+ };
265
269
  const props = {
266
- instanceRef: import_ds_utilities.PropTypes.oneOfType([import_ds_utilities.PropTypes.func, import_ds_utilities.PropTypes.shape({ current: import_ds_utilities.PropTypes.any })]).description(
270
+ instanceRef: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.shape({ current: import_ds_props_helpers.PropTypes.any })]).description(
267
271
  "ref to the instance of the datagrid, handle it imperatively"
268
272
  ),
269
- className: import_ds_utilities.PropTypes.string.description("class for data grid wrapper"),
270
- containerProps: import_ds_utilities.PropTypes.object.description("inject props to datagrid wrapper"),
271
- filterBarOptions: import_ds_utilities.PropTypes.shape({
272
- minWidth: import_ds_utilities.PropTypes.number,
273
- maxWidth: import_ds_utilities.PropTypes.number
273
+ className: import_ds_props_helpers.PropTypes.string.description("class for data grid wrapper"),
274
+ containerProps: import_ds_props_helpers.PropTypes.object.description("inject props to datagrid wrapper"),
275
+ filterBarOptions: import_ds_props_helpers.PropTypes.shape({
276
+ minWidth: import_ds_props_helpers.PropTypes.number,
277
+ maxWidth: import_ds_props_helpers.PropTypes.number
274
278
  }).description("FilterBar props passed down to FilterBar"),
275
- columns: import_ds_utilities.PropTypes.arrayOf(
276
- import_ds_utilities.PropTypes.shape({
277
- property: import_ds_utilities.PropTypes.string.isRequired,
278
- label: import_ds_utilities.PropTypes.string,
279
- width: import_ds_utilities.PropTypes.oneOfType([import_ds_utilities.PropTypes.number, import_ds_utilities.PropTypes.string]),
280
- minWidth: import_ds_utilities.PropTypes.number,
281
- customEditor: import_ds_utilities.PropTypes.func,
282
- customRenderer: import_ds_utilities.PropTypes.func,
283
- searchable: import_ds_utilities.PropTypes.bool,
284
- sortable: import_ds_utilities.PropTypes.bool,
285
- resizable: import_ds_utilities.PropTypes.bool,
286
- editable: import_ds_utilities.PropTypes.bool,
287
- visible: import_ds_utilities.PropTypes.bool
279
+ columns: import_ds_props_helpers.PropTypes.arrayOf(
280
+ import_ds_props_helpers.PropTypes.shape({
281
+ property: import_ds_props_helpers.PropTypes.string.isRequired,
282
+ label: import_ds_props_helpers.PropTypes.string,
283
+ width: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.number, import_ds_props_helpers.PropTypes.string]),
284
+ minWidth: import_ds_props_helpers.PropTypes.number,
285
+ customEditor: import_ds_props_helpers.PropTypes.func,
286
+ customRenderer: import_ds_props_helpers.PropTypes.func,
287
+ searchable: import_ds_props_helpers.PropTypes.bool,
288
+ sortable: import_ds_props_helpers.PropTypes.bool,
289
+ resizable: import_ds_props_helpers.PropTypes.bool,
290
+ editable: import_ds_props_helpers.PropTypes.bool,
291
+ visible: import_ds_props_helpers.PropTypes.bool
288
292
  })
289
293
  ).description("datagrid columns"),
290
- rows: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.object).description("datagrid rows"),
291
- rowKey: import_ds_utilities.PropTypes.string.description("key for each row"),
292
- infiniteScrolling: import_ds_utilities.PropTypes.bool.description("toggle infinite scroll loading behavior"),
293
- overscanCount: import_ds_utilities.PropTypes.number.description(
294
+ rows: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description("datagrid rows"),
295
+ rowKey: import_ds_props_helpers.PropTypes.string.description("key for each row"),
296
+ infiniteScrolling: import_ds_props_helpers.PropTypes.bool.description("toggle infinite scroll loading behavior"),
297
+ overscanCount: import_ds_props_helpers.PropTypes.number.description(
294
298
  "Activates 'editable' feature on the DataGrid NOTE: needs to be activated in the column definition as well"
295
299
  ),
296
- editable: import_ds_utilities.PropTypes.bool.description("turn datagrid to editable mode"),
297
- sortable: import_ds_utilities.PropTypes.bool.description(
300
+ editable: import_ds_props_helpers.PropTypes.bool.description("turn datagrid to editable mode"),
301
+ sortable: import_ds_props_helpers.PropTypes.bool.description(
298
302
  "Activates 'sortable' feature on the GataGrid NOTE: needs to be activated in the column definition as well"
299
303
  ),
300
- sortEmptyLast: import_ds_utilities.PropTypes.bool.description("Put empty values always last on the column after sorting"),
301
- paginated: import_ds_utilities.PropTypes.bool.description(
304
+ sortEmptyLast: import_ds_props_helpers.PropTypes.bool.description("Put empty values always last on the column after sorting"),
305
+ paginated: import_ds_props_helpers.PropTypes.bool.description(
302
306
  "Activates 'pagination' feature on the datagrid NOTE: needs to be activated in the column definition as well"
303
307
  ),
304
- paginationStep: import_ds_utilities.PropTypes.number.description("Pagination step for clicking the next pages"),
305
- dragAndDropRows: import_ds_utilities.PropTypes.bool.description(
308
+ paginationStep: import_ds_props_helpers.PropTypes.number.description("Pagination step for clicking the next pages"),
309
+ dragAndDropRows: import_ds_props_helpers.PropTypes.bool.description(
306
310
  "Activates 'drag and drop rows' feature on the datagrid NOTE: needs to be activated in the column definition as well"
307
311
  ),
308
- selectable: import_ds_utilities.PropTypes.bool.description(
312
+ selectable: import_ds_props_helpers.PropTypes.bool.description(
309
313
  "Activates 'selection' feature on the datagrid NOTE: needs to be activated in the column definition as well"
310
314
  ),
311
- resizeableColumns: import_ds_utilities.PropTypes.bool.description(
315
+ resizeableColumns: import_ds_props_helpers.PropTypes.bool.description(
312
316
  "Activates 'resize' feature on the datagrid NOTE: needs to be activated in the column definition as well"
313
317
  ),
314
- noResultsPlaceholder: import_ds_utilities.PropTypes.oneOfType([import_ds_utilities.PropTypes.string, import_ds_utilities.PropTypes.element]).description(
318
+ noResultsPlaceholder: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.element]).description(
315
319
  "Placeholder rendered when no rows are visible"
316
320
  ),
317
- searchFilters: import_ds_utilities.PropTypes.bool.description(
321
+ searchFilters: import_ds_props_helpers.PropTypes.bool.description(
318
322
  "activates 'filtering' feature on the datagrid NOTE: needs to be activated in the column definition as well"
319
323
  ),
320
- dragAndDropColumns: import_ds_utilities.PropTypes.bool.description(
324
+ dragAndDropColumns: import_ds_props_helpers.PropTypes.bool.description(
321
325
  "Activates 'drag and drop columns' feature on the datagrid NOTE: needs to be activated in the column definition as well"
322
326
  ),
323
- useTreeData: import_ds_utilities.PropTypes.bool.description(
327
+ useTreeData: import_ds_props_helpers.PropTypes.bool.description(
324
328
  "activates 'grouping and tree data' feature on the datagrid NOTE: needs to be activated in the column definition as well"
325
329
  ),
326
- autoScrollToId: import_ds_utilities.PropTypes.any.description("AutoScroll to row ID"),
327
- selectAll: import_ds_utilities.PropTypes.bool.description("Whether all rows are selected or not"),
328
- selectedRows: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.object).description(" Defines the selected rows"),
329
- filters: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.object).description("Filters to be applied to the grid"),
330
- onExpandRow: import_ds_utilities.PropTypes.func.description("Handler when user expands a row"),
331
- onExpandChange: import_ds_utilities.PropTypes.func.description("Handler when user expands a row with full expand state"),
332
- onToggleExpand: import_ds_utilities.PropTypes.func.description("Handler when user expands a row (old API)"),
333
- onAddFilter: import_ds_utilities.PropTypes.func.description("Handler when user adds a filter"),
334
- onRemoveFilter: import_ds_utilities.PropTypes.func.description("Handler when user removes a filter"),
335
- onFiltersChange: import_ds_utilities.PropTypes.func.description("Handler when the filters state has changed "),
336
- onDefaultFiltersLoad: import_ds_utilities.PropTypes.func.description("Handler when the default filters load. Returns the rows rendered"),
337
- onMoveColumnOver: import_ds_utilities.PropTypes.func.description("Handler when column move is over another column"),
338
- onMoveColumnStart: import_ds_utilities.PropTypes.func.description(" Handler when column move starts"),
339
- onMoveColumnEnd: import_ds_utilities.PropTypes.func.description("Handler when column move ends"),
340
- showFilterBar: import_ds_utilities.PropTypes.bool.description("Whether to show the filter bar or not"),
341
- multiSelectFilterOptions: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.object).description(
330
+ autoScrollToId: import_ds_props_helpers.PropTypes.any.description("AutoScroll to row ID"),
331
+ selectAll: import_ds_props_helpers.PropTypes.bool.description("Whether all rows are selected or not"),
332
+ selectedRows: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description(" Defines the selected rows"),
333
+ filters: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description("Filters to be applied to the grid"),
334
+ onExpandRow: import_ds_props_helpers.PropTypes.func.description("Handler when user expands a row"),
335
+ onExpandChange: import_ds_props_helpers.PropTypes.func.description("Handler when user expands a row with full expand state"),
336
+ onToggleExpand: import_ds_props_helpers.PropTypes.func.description("Handler when user expands a row (old API)"),
337
+ onAddFilter: import_ds_props_helpers.PropTypes.func.description("Handler when user adds a filter"),
338
+ onRemoveFilter: import_ds_props_helpers.PropTypes.func.description("Handler when user removes a filter"),
339
+ onFiltersChange: import_ds_props_helpers.PropTypes.func.description("Handler when the filters state has changed "),
340
+ onDefaultFiltersLoad: import_ds_props_helpers.PropTypes.func.description("Handler when the default filters load. Returns the rows rendered"),
341
+ onMoveColumnOver: import_ds_props_helpers.PropTypes.func.description("Handler when column move is over another column"),
342
+ onMoveColumnStart: import_ds_props_helpers.PropTypes.func.description(" Handler when column move starts"),
343
+ onMoveColumnEnd: import_ds_props_helpers.PropTypes.func.description("Handler when column move ends"),
344
+ showFilterBar: import_ds_props_helpers.PropTypes.bool.description("Whether to show the filter bar or not"),
345
+ multiSelectFilterOptions: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description(
342
346
  "Custom option for the header with multi select"
343
347
  ),
344
- multiSelectFilterLabel: import_ds_utilities.PropTypes.string.description("Label to the header column for multi select"),
345
- multiSelectFilterLabels: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.string).description("Labels for multi selects"),
346
- aggregations: import_ds_utilities.PropTypes.object.description("").deprecated(""),
347
- groupingColumn: import_ds_utilities.PropTypes.string.description("Column which rows would be grouped by").deprecated(""),
348
- groupedBy: import_ds_utilities.PropTypes.string.description("group by"),
349
- sortingColumns: import_ds_utilities.PropTypes.objectOf(
350
- import_ds_utilities.PropTypes.shape({
351
- direction: import_ds_utilities.PropTypes.oneOf(["asc", "desc"]),
352
- position: import_ds_utilities.PropTypes.number
348
+ multiSelectFilterLabel: import_ds_props_helpers.PropTypes.string.description("Label to the header column for multi select"),
349
+ multiSelectFilterLabels: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.string).description("Labels for multi selects"),
350
+ aggregations: import_ds_props_helpers.PropTypes.object.description("").deprecated(""),
351
+ groupingColumn: import_ds_props_helpers.PropTypes.string.description("Column which rows would be grouped by").deprecated(""),
352
+ groupedBy: import_ds_props_helpers.PropTypes.string.description("group by"),
353
+ sortingColumns: import_ds_props_helpers.PropTypes.objectOf(
354
+ import_ds_props_helpers.PropTypes.shape({
355
+ direction: import_ds_props_helpers.PropTypes.oneOf(["asc", "desc"]),
356
+ position: import_ds_props_helpers.PropTypes.number
353
357
  })
354
358
  ).description("Defines the sorting state"),
355
- visibleColumns: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.string).description("Visible columns property"),
356
- minPerPage: import_ds_utilities.PropTypes.string.description("Pagination: Minimum number of rows per page"),
357
- maxPerPage: import_ds_utilities.PropTypes.string.description("Pagination: Maximum number of rows per page"),
358
- onPerPageChange: import_ds_utilities.PropTypes.string.description("Pagination: Handler when user changes the amount of rows per page"),
359
- onPageChange: import_ds_utilities.PropTypes.string.description("Pagination: Handler when user changes the page"),
360
- pagination: import_ds_utilities.PropTypes.shape({
361
- page: import_ds_utilities.PropTypes.number,
362
- perPage: import_ds_utilities.PropTypes.number
359
+ visibleColumns: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.string).description("Visible columns property"),
360
+ minPerPage: import_ds_props_helpers.PropTypes.string.description("Pagination: Minimum number of rows per page"),
361
+ maxPerPage: import_ds_props_helpers.PropTypes.string.description("Pagination: Maximum number of rows per page"),
362
+ onPerPageChange: import_ds_props_helpers.PropTypes.string.description("Pagination: Handler when user changes the amount of rows per page"),
363
+ onPageChange: import_ds_props_helpers.PropTypes.string.description("Pagination: Handler when user changes the page"),
364
+ pagination: import_ds_props_helpers.PropTypes.shape({
365
+ page: import_ds_props_helpers.PropTypes.number,
366
+ perPage: import_ds_props_helpers.PropTypes.number
363
367
  }).description("pagination state"),
364
- showHeader: import_ds_utilities.PropTypes.bool.description("Whether to show the header or not"),
365
- fixedHeader: import_ds_utilities.PropTypes.bool.description("Whether to header is fixed or not"),
366
- height: import_ds_utilities.PropTypes.number.description("Defines the height of the DataGrid"),
367
- minColumnWidth: import_ds_utilities.PropTypes.number.description("General min column width for all the columns "),
368
- showRowsLoader: import_ds_utilities.PropTypes.bool.description("Whether to show a loader instead of the rows or not"),
369
- showSelectHighlight: import_ds_utilities.PropTypes.bool.description("When a user selects a row, that row get highlighted"),
370
- showSelectColumn: import_ds_utilities.PropTypes.bool.description(
368
+ showHeader: import_ds_props_helpers.PropTypes.bool.description("Whether to show the header or not"),
369
+ fixedHeader: import_ds_props_helpers.PropTypes.bool.description("Whether to header is fixed or not"),
370
+ height: import_ds_props_helpers.PropTypes.number.description("Defines the height of the DataGrid"),
371
+ minColumnWidth: import_ds_props_helpers.PropTypes.number.description("General min column width for all the columns "),
372
+ showRowsLoader: import_ds_props_helpers.PropTypes.bool.description("Whether to show a loader instead of the rows or not"),
373
+ showSelectHighlight: import_ds_props_helpers.PropTypes.bool.description("When a user selects a row, that row get highlighted"),
374
+ showSelectColumn: import_ds_props_helpers.PropTypes.bool.description(
371
375
  "Whether to show the select column when the selection feature is active"
372
376
  ),
373
- selectColumnSortable: import_ds_utilities.PropTypes.bool.description("activates sortable feature to selection column"),
374
- selectColumnFilterable: import_ds_utilities.PropTypes.bool.description("Activates filterable feature to selection column"),
375
- selectionColumnDefinition: import_ds_utilities.PropTypes.object.description("Define the definition for the selection column"),
376
- renderToolbar: import_ds_utilities.PropTypes.func.description("Function that returns a toolbar to show when the user hovers the row"),
377
- toolbarDelayClose: import_ds_utilities.PropTypes.number.description(" Timeout to close the toolbar"),
378
- renderFilterToolbar: import_ds_utilities.PropTypes.func.description("Function that returns a toolbar in the FilterBar component"),
379
- multiSelectComponent: import_ds_utilities.PropTypes.element.description("Custom component for the selection"),
380
- normalizeDataKeys: import_ds_utilities.PropTypes.bool.description("Normalize the keys of the data received and the columns"),
381
- noResultsRender: import_ds_utilities.PropTypes.func.description("Function that returns an Element when there are no rows"),
382
- fluidHeight: import_ds_utilities.PropTypes.bool.description("The height of the DataGrid will expand to its container"),
383
- customHandlers: import_ds_utilities.PropTypes.object.description("").deprecated(""),
384
- onFilterMenuClose: import_ds_utilities.PropTypes.func.description("Handler when user closes the filter menu"),
385
- onFilterMenuOpen: import_ds_utilities.PropTypes.func.description("Handler when user opens the filter menu"),
386
- onReorder: import_ds_utilities.PropTypes.func.description("handler when user drags a row "),
387
- onMoveRowEnd: import_ds_utilities.PropTypes.func.description("Handler when user stops dragging a row "),
388
- onMoveRowStart: import_ds_utilities.PropTypes.func.description("Handler when user starts dragging a row"),
389
- onColumnResize: import_ds_utilities.PropTypes.func.description("Handler when user has resized a column"),
390
- onFilter: import_ds_utilities.PropTypes.func.description("Handler when user filters by a column"),
391
- onSort: import_ds_utilities.PropTypes.func.description("Handler when user sorts by a column "),
392
- onColumnRowEdited: import_ds_utilities.PropTypes.func.description("Handler when user has edited a cell row"),
393
- onColumnRowEdit: import_ds_utilities.PropTypes.func.description(" Handler when user activates the cell row editing functionality"),
394
- onSelectRow: import_ds_utilities.PropTypes.func.description("Handler when user selects a row"),
395
- onSelectAll: import_ds_utilities.PropTypes.func.description("Handler when user checks the selection header controller"),
396
- getData: import_ds_utilities.PropTypes.func.description("Handler to get more data when infinite scroll is activated"),
397
- onInfiniteScrolling: import_ds_utilities.PropTypes.func.description(
377
+ selectColumnSortable: import_ds_props_helpers.PropTypes.bool.description("activates sortable feature to selection column"),
378
+ selectColumnFilterable: import_ds_props_helpers.PropTypes.bool.description("Activates filterable feature to selection column"),
379
+ selectionColumnDefinition: import_ds_props_helpers.PropTypes.object.description("Define the definition for the selection column"),
380
+ renderToolbar: import_ds_props_helpers.PropTypes.func.description("Function that returns a toolbar to show when the user hovers the row"),
381
+ toolbarDelayClose: import_ds_props_helpers.PropTypes.number.description(" Timeout to close the toolbar"),
382
+ renderFilterToolbar: import_ds_props_helpers.PropTypes.func.description("Function that returns a toolbar in the FilterBar component"),
383
+ multiSelectComponent: import_ds_props_helpers.PropTypes.element.description("Custom component for the selection"),
384
+ normalizeDataKeys: import_ds_props_helpers.PropTypes.bool.description("Normalize the keys of the data received and the columns"),
385
+ noResultsRender: import_ds_props_helpers.PropTypes.func.description("Function that returns an Element when there are no rows"),
386
+ fluidHeight: import_ds_props_helpers.PropTypes.bool.description("The height of the DataGrid will expand to its container"),
387
+ customHandlers: import_ds_props_helpers.PropTypes.object.description("").deprecated(""),
388
+ onFilterMenuClose: import_ds_props_helpers.PropTypes.func.description("Handler when user closes the filter menu"),
389
+ onFilterMenuOpen: import_ds_props_helpers.PropTypes.func.description("Handler when user opens the filter menu"),
390
+ onReorder: import_ds_props_helpers.PropTypes.func.description("handler when user drags a row "),
391
+ onMoveRowEnd: import_ds_props_helpers.PropTypes.func.description("Handler when user stops dragging a row "),
392
+ onMoveRowStart: import_ds_props_helpers.PropTypes.func.description("Handler when user starts dragging a row"),
393
+ onColumnResize: import_ds_props_helpers.PropTypes.func.description("Handler when user has resized a column"),
394
+ onFilter: import_ds_props_helpers.PropTypes.func.description("Handler when user filters by a column"),
395
+ onSort: import_ds_props_helpers.PropTypes.func.description("Handler when user sorts by a column "),
396
+ onColumnRowEdited: import_ds_props_helpers.PropTypes.func.description("Handler when user has edited a cell row"),
397
+ onColumnRowEdit: import_ds_props_helpers.PropTypes.func.description(" Handler when user activates the cell row editing functionality"),
398
+ onSelectRow: import_ds_props_helpers.PropTypes.func.description("Handler when user selects a row"),
399
+ onSelectAll: import_ds_props_helpers.PropTypes.func.description("Handler when user checks the selection header controller"),
400
+ getData: import_ds_props_helpers.PropTypes.func.description("Handler to get more data when infinite scroll is activated"),
401
+ onInfiniteScrolling: import_ds_props_helpers.PropTypes.func.description(
398
402
  "Handler to get more data when infinite scroll is activated without side-effect"
399
403
  ),
400
- serverSideData: import_ds_utilities.PropTypes.bool.description("Flag to override empty sort when data is from server"),
401
- virtualized: import_ds_utilities.PropTypes.bool.description("Flag to force virtualization. Not used"),
402
- numRowsVisible: import_ds_utilities.PropTypes.oneOfType([import_ds_utilities.PropTypes.number, import_ds_utilities.PropTypes.oneOf(["all"])]).description("Number of rows visible. Not used"),
403
- isColumnEditable: import_ds_utilities.PropTypes.func.description("Callback to check if column is editable"),
404
- groupedRows: import_ds_utilities.PropTypes.bool.description("Flag for groupedRows"),
405
- groupedRowsRenderHeader: import_ds_utilities.PropTypes.oneOfType([import_ds_utilities.PropTypes.func, import_ds_utilities.PropTypes.element]).description("Header for grouped rows"),
406
- isDataSorted: import_ds_utilities.PropTypes.bool.description("Once activated will disable the internal logic for sorting"),
407
- isDataFiltered: import_ds_utilities.PropTypes.bool.description("Once activated will disable the internal logic for filtering"),
408
- rowSize: import_ds_utilities.PropTypes.oneOf(import_rowSizes.RowSizesOptionsArr).description("Change row size"),
409
- wrapText: import_ds_utilities.PropTypes.bool.description("Whether to wrap the text of the data grid or not"),
410
- renderExpandedDetails: import_ds_utilities.PropTypes.oneOfType([import_ds_utilities.PropTypes.func, import_ds_utilities.PropTypes.element]).description(
404
+ serverSideData: import_ds_props_helpers.PropTypes.bool.description("Flag to override empty sort when data is from server"),
405
+ virtualized: import_ds_props_helpers.PropTypes.bool.description("Flag to force virtualization. Not used"),
406
+ numRowsVisible: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.number, import_ds_props_helpers.PropTypes.oneOf(["all"])]).description(
407
+ "Number of rows visible. Not used"
408
+ ),
409
+ isColumnEditable: import_ds_props_helpers.PropTypes.func.description("Callback to check if column is editable"),
410
+ groupedRows: import_ds_props_helpers.PropTypes.bool.description("Flag for groupedRows"),
411
+ groupedRowsRenderHeader: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.element]).description(
412
+ "Header for grouped rows"
413
+ ),
414
+ isDataSorted: import_ds_props_helpers.PropTypes.bool.description("Once activated will disable the internal logic for sorting"),
415
+ isDataFiltered: import_ds_props_helpers.PropTypes.bool.description("Once activated will disable the internal logic for filtering"),
416
+ rowSize: import_ds_props_helpers.PropTypes.oneOf(import_rowSizes.RowSizesOptionsArr).description("Change row size"),
417
+ wrapText: import_ds_props_helpers.PropTypes.bool.description("Whether to wrap the text of the data grid or not"),
418
+ renderExpandedDetails: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.element]).description(
411
419
  "Element to render expanded details"
412
420
  ),
413
- detailColumns: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.object).description("Columns to render on the details of an expanded row"),
414
- expandable: import_ds_utilities.PropTypes.bool.description("Flag to enable the expandable feature "),
415
- getChildrenRows: import_ds_utilities.PropTypes.func.description("Callback to get the row children"),
416
- expandableSubrowsVisible: import_ds_utilities.PropTypes.number.description("Number of rows visible on the details of an expanded row"),
417
- renderRowDetails: import_ds_utilities.PropTypes.oneOfType([import_ds_utilities.PropTypes.func, import_ds_utilities.PropTypes.element]).description(
421
+ detailColumns: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description("Columns to render on the details of an expanded row"),
422
+ expandable: import_ds_props_helpers.PropTypes.bool.description("Flag to enable the expandable feature "),
423
+ getChildrenRows: import_ds_props_helpers.PropTypes.func.description("Callback to get the row children"),
424
+ expandableSubrowsVisible: import_ds_props_helpers.PropTypes.number.description("Number of rows visible on the details of an expanded row"),
425
+ renderRowDetails: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.element]).description(
418
426
  "Element to render inside expanded row"
419
427
  ),
420
- getExpandedRowSize: import_ds_utilities.PropTypes.func.description("Callback to get the expanded row size"),
421
- getExpandedRowMinSize: import_ds_utilities.PropTypes.func.description("Callback to get the expanded row minimum size"),
422
- subRowSize: import_ds_utilities.PropTypes.oneOf(import_rowSizes.RowSizesOptionsArr).description("Change expanded/details rows size"),
423
- bindColumnsSizeTo: import_ds_utilities.PropTypes.string.description("Bind the column size to another grid instance"),
424
- bindRowSizeTo: import_ds_utilities.PropTypes.string.description("Bind the row size to another grid instance"),
425
- onToggleShowAllRows: import_ds_utilities.PropTypes.func.description("Handler when toggle show all is clicked"),
426
- expandedRows: import_ds_utilities.PropTypes.object.description("Expanded row state"),
427
- autoHeight: import_ds_utilities.PropTypes.bool.description("Flag to enable autoheight"),
428
- noColumnsPlaceholder: import_ds_utilities.PropTypes.oneOfType([import_ds_utilities.PropTypes.string, import_ds_utilities.PropTypes.element]).description(
428
+ getExpandedRowSize: import_ds_props_helpers.PropTypes.func.description("Callback to get the expanded row size"),
429
+ getExpandedRowMinSize: import_ds_props_helpers.PropTypes.func.description("Callback to get the expanded row minimum size"),
430
+ subRowSize: import_ds_props_helpers.PropTypes.oneOf(import_rowSizes.RowSizesOptionsArr).description("Change expanded/details rows size"),
431
+ bindColumnsSizeTo: import_ds_props_helpers.PropTypes.string.description("Bind the column size to another grid instance"),
432
+ bindRowSizeTo: import_ds_props_helpers.PropTypes.string.description("Bind the row size to another grid instance"),
433
+ onToggleShowAllRows: import_ds_props_helpers.PropTypes.func.description("Handler when toggle show all is clicked"),
434
+ expandedRows: import_ds_props_helpers.PropTypes.object.description("Expanded row state"),
435
+ autoHeight: import_ds_props_helpers.PropTypes.bool.description("Flag to enable autoheight"),
436
+ noColumnsPlaceholder: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.element]).description(
429
437
  "Placeholder rendered when no columns are visible"
430
438
  ),
431
- plugins: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.any).description("Plugin additional array")
439
+ plugins: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.any).description("Plugin additional array")
432
440
  };
433
441
  DSDataGrids.propTypes = props;
434
442
  DSDataGrids.displayName = "DSDataGrids";
435
- const DSDataGridsWithSchema = (0, import_ds_utilities.describe)(DSDataGrids);
443
+ const DSDataGridsWithSchema = (0, import_ds_props_helpers.describe)(DSDataGrids);
436
444
  DSDataGridsWithSchema.propTypes = props;
437
445
  var DSDataGrid_default = DSDataGrids;
438
446
  //# sourceMappingURL=DSDataGrid.js.map