@elliemae/ds-datagrids 3.22.0-next.3 → 3.22.0-next.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (257) hide show
  1. package/dist/cjs/DSDataGrid.js.map +1 -1
  2. package/dist/cjs/DataGridImpl.js.map +1 -1
  3. package/dist/cjs/PaginatedDataGrid.js.map +1 -1
  4. package/dist/cjs/blockNames.js.map +1 -1
  5. package/dist/cjs/columns/IconColumn.js.map +1 -1
  6. package/dist/cjs/columns/NumberColumn.js.map +1 -1
  7. package/dist/cjs/components/BodyCell.js.map +1 -1
  8. package/dist/cjs/components/BodyList.js.map +1 -1
  9. package/dist/cjs/components/ColumnVisibilityMenuOption.js.map +1 -1
  10. package/dist/cjs/components/ColumnsOptionsMenuSection.js.map +1 -1
  11. package/dist/cjs/components/EmptyState.js.map +1 -1
  12. package/dist/cjs/components/HeaderCell.js.map +1 -1
  13. package/dist/cjs/components/List.js.map +1 -1
  14. package/dist/cjs/components/ListItem.js.map +1 -1
  15. package/dist/cjs/components/NoResults.js.map +1 -1
  16. package/dist/cjs/components/RowsLoader.js.map +1 -1
  17. package/dist/cjs/components/Table.js.map +1 -1
  18. package/dist/cjs/components/TableBody.js.map +1 -1
  19. package/dist/cjs/components/TableHeader.js.map +1 -1
  20. package/dist/cjs/components/footer/addOptionalFooterComponents.js.map +1 -1
  21. package/dist/cjs/components/header/PrimaryControls.js.map +1 -1
  22. package/dist/cjs/components/header/addOptionalHeaderComponents.js.map +1 -1
  23. package/dist/cjs/components/index.js.map +1 -1
  24. package/dist/cjs/components/renderers/defaultClassedRenderers.js.map +1 -1
  25. package/dist/cjs/components/renderers/index.js.map +1 -1
  26. package/dist/cjs/components/renderers/renderRowsLoader.js.map +1 -1
  27. package/dist/cjs/components/tableContext.js.map +1 -1
  28. package/dist/cjs/defaultPlugins.js.map +1 -1
  29. package/dist/cjs/index.js.map +1 -1
  30. package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +1 -1
  31. package/dist/cjs/plugins/body-header-scroll-sync/index.js.map +1 -1
  32. package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js.map +1 -1
  33. package/dist/cjs/plugins/column-dnd/decorateGridWithDndColumns.js.map +1 -1
  34. package/dist/cjs/plugins/column-dnd/index.js.map +1 -1
  35. package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js.map +1 -1
  36. package/dist/cjs/plugins/column-sizing/columnMeasurerTransformer.js.map +1 -1
  37. package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js.map +1 -1
  38. package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js.map +1 -1
  39. package/dist/cjs/plugins/column-sizing/getColumnNameFromProperty.js.map +1 -1
  40. package/dist/cjs/plugins/column-sizing/index.js.map +1 -1
  41. package/dist/cjs/plugins/column-sizing/useColumnSizeService.js.map +1 -1
  42. package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js.map +1 -1
  43. package/dist/cjs/plugins/column-sizing/utils.js.map +1 -1
  44. package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +1 -1
  45. package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +1 -1
  46. package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js.map +1 -1
  47. package/dist/cjs/plugins/custom-cell-renderer/index.js.map +1 -1
  48. package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js.map +1 -1
  49. package/dist/cjs/plugins/editable/EditableComponents/TextBox.js.map +1 -1
  50. package/dist/cjs/plugins/editable/EditableComponents/index.js.map +1 -1
  51. package/dist/cjs/plugins/editable/EditablePlugin.js.map +1 -1
  52. package/dist/cjs/plugins/editable/decorateEditable.js.map +1 -1
  53. package/dist/cjs/plugins/editable/getEditorComponent.js.map +1 -1
  54. package/dist/cjs/plugins/editable/index.js.map +1 -1
  55. package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js.map +1 -1
  56. package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js.map +1 -1
  57. package/dist/cjs/plugins/expandable-grid/ExpandedRow.js.map +1 -1
  58. package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js.map +1 -1
  59. package/dist/cjs/plugins/expandable-grid/index.js.map +1 -1
  60. package/dist/cjs/plugins/expandable-grid/useExpandGridState.js.map +1 -1
  61. package/dist/cjs/plugins/export-data/ExportDataPlugin.js.map +1 -1
  62. package/dist/cjs/plugins/export-data/index.js.map +1 -1
  63. package/dist/cjs/plugins/filterable/FilterablePlugin.js.map +1 -1
  64. package/dist/cjs/plugins/filterable/addFilterToColumn.js.map +1 -1
  65. package/dist/cjs/plugins/filterable/components/FilterableHeader.js.map +1 -1
  66. package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +1 -1
  67. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +1 -1
  68. package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +1 -1
  69. package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +1 -1
  70. package/dist/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +1 -1
  71. package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +1 -1
  72. package/dist/cjs/plugins/filterable/filterableFormatter.js.map +1 -1
  73. package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +1 -1
  74. package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js.map +1 -1
  75. package/dist/cjs/plugins/filterable/helper.js.map +1 -1
  76. package/dist/cjs/plugins/filterable/index.js.map +1 -1
  77. package/dist/cjs/plugins/filterable/useFilterableState.js.map +1 -1
  78. package/dist/cjs/plugins/grouping-by/GroupingByPlugin.js.map +1 -1
  79. package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js.map +1 -1
  80. package/dist/cjs/plugins/grouping-grid/walkStrategy.js.map +1 -1
  81. package/dist/cjs/plugins/index.js.map +1 -1
  82. package/dist/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +1 -1
  83. package/dist/cjs/plugins/infinite-scrolling/index.js.map +1 -1
  84. package/dist/cjs/plugins/pagination/PaginationPlugin.js.map +1 -1
  85. package/dist/cjs/plugins/pagination/components/Pagination.js.map +1 -1
  86. package/dist/cjs/plugins/pagination/components/Paginator.js.map +1 -1
  87. package/dist/cjs/plugins/pagination/components/PerPageDropdown.js.map +1 -1
  88. package/dist/cjs/plugins/pagination/helper.js.map +1 -1
  89. package/dist/cjs/plugins/pagination/index.js.map +1 -1
  90. package/dist/cjs/plugins/pagination/usePaginationState.js.map +1 -1
  91. package/dist/cjs/plugins/resizable/ResizablePlugin.js.map +1 -1
  92. package/dist/cjs/plugins/resizable/decorateResizable.js.map +1 -1
  93. package/dist/cjs/plugins/resizable/index.js.map +1 -1
  94. package/dist/cjs/plugins/resizable/useResizeHandle.js.map +1 -1
  95. package/dist/cjs/plugins/resizable/utils.js.map +1 -1
  96. package/dist/cjs/plugins/row-dnd/DndRowsPlugin.js.map +1 -1
  97. package/dist/cjs/plugins/row-dnd/index.js.map +1 -1
  98. package/dist/cjs/plugins/selectable/SelectablePlugin.js.map +1 -1
  99. package/dist/cjs/plugins/selectable/addSelectableColumn.js.map +1 -1
  100. package/dist/cjs/plugins/selectable/helper.js.map +1 -1
  101. package/dist/cjs/plugins/selectable/index.js.map +1 -1
  102. package/dist/cjs/plugins/selectable/selectableFormatter.js.map +1 -1
  103. package/dist/cjs/plugins/selectable/useSelectableState.js.map +1 -1
  104. package/dist/cjs/plugins/sortable/SortablePlugin.js.map +1 -1
  105. package/dist/cjs/plugins/sortable/checkIfSortable.js.map +1 -1
  106. package/dist/cjs/plugins/sortable/index.js.map +1 -1
  107. package/dist/cjs/plugins/sortable/sortHeaderFormatter.js.map +1 -1
  108. package/dist/cjs/plugins/sortable/sortTree.js.map +1 -1
  109. package/dist/cjs/plugins/sortable/sorter.js.map +1 -1
  110. package/dist/cjs/plugins/sortable/useSortableState.js.map +1 -1
  111. package/dist/cjs/plugins/toolbar/RowRenderer.js.map +1 -1
  112. package/dist/cjs/plugins/toolbar/ToolbarPlugin.js.map +1 -1
  113. package/dist/cjs/plugins/toolbar/ToolbarTrigger.js.map +1 -1
  114. package/dist/cjs/plugins/toolbar/index.js.map +1 -1
  115. package/dist/cjs/plugins/virtualization/AutoHeightList.js.map +1 -1
  116. package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js.map +1 -1
  117. package/dist/cjs/plugins/virtualization/VirtualizedBody.js.map +1 -1
  118. package/dist/cjs/plugins/virtualization/VirtualizedBodyRow.js.map +1 -1
  119. package/dist/cjs/plugins/virtualization/helper.js.map +1 -1
  120. package/dist/cjs/plugins/virtualization/index.js.map +1 -1
  121. package/dist/cjs/renders/CellWithAddons.js.map +1 -1
  122. package/dist/cjs/renders/index.js.map +1 -1
  123. package/dist/cjs/renders/styled.js.map +1 -1
  124. package/dist/cjs/rowSizes.js.map +1 -1
  125. package/dist/cjs/utilities/getPluginsFromProps.js.map +1 -1
  126. package/dist/cjs/utilities/getScrollbarSize.js.map +1 -1
  127. package/dist/cjs/utilities/normalizeData.js.map +1 -1
  128. package/dist/esm/DSDataGrid.js.map +1 -1
  129. package/dist/esm/DataGridImpl.js.map +1 -1
  130. package/dist/esm/PaginatedDataGrid.js.map +1 -1
  131. package/dist/esm/blockNames.js.map +1 -1
  132. package/dist/esm/columns/IconColumn.js.map +1 -1
  133. package/dist/esm/columns/NumberColumn.js.map +1 -1
  134. package/dist/esm/components/BodyCell.js.map +1 -1
  135. package/dist/esm/components/BodyList.js.map +1 -1
  136. package/dist/esm/components/ColumnVisibilityMenuOption.js.map +1 -1
  137. package/dist/esm/components/ColumnsOptionsMenuSection.js.map +1 -1
  138. package/dist/esm/components/EmptyState.js.map +1 -1
  139. package/dist/esm/components/HeaderCell.js.map +1 -1
  140. package/dist/esm/components/List.js.map +1 -1
  141. package/dist/esm/components/ListItem.js.map +1 -1
  142. package/dist/esm/components/NoResults.js.map +1 -1
  143. package/dist/esm/components/RowsLoader.js.map +1 -1
  144. package/dist/esm/components/Table.js.map +1 -1
  145. package/dist/esm/components/TableBody.js.map +1 -1
  146. package/dist/esm/components/TableHeader.js.map +1 -1
  147. package/dist/esm/components/footer/addOptionalFooterComponents.js.map +1 -1
  148. package/dist/esm/components/header/PrimaryControls.js.map +1 -1
  149. package/dist/esm/components/header/addOptionalHeaderComponents.js.map +1 -1
  150. package/dist/esm/components/index.js.map +1 -1
  151. package/dist/esm/components/renderers/defaultClassedRenderers.js.map +1 -1
  152. package/dist/esm/components/renderers/index.js.map +1 -1
  153. package/dist/esm/components/renderers/renderRowsLoader.js.map +1 -1
  154. package/dist/esm/components/tableContext.js.map +1 -1
  155. package/dist/esm/defaultPlugins.js.map +1 -1
  156. package/dist/esm/index.js.map +1 -1
  157. package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +1 -1
  158. package/dist/esm/plugins/body-header-scroll-sync/index.js.map +1 -1
  159. package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js.map +1 -1
  160. package/dist/esm/plugins/column-dnd/decorateGridWithDndColumns.js.map +1 -1
  161. package/dist/esm/plugins/column-dnd/index.js.map +1 -1
  162. package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js.map +1 -1
  163. package/dist/esm/plugins/column-sizing/columnMeasurerTransformer.js.map +1 -1
  164. package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js.map +1 -1
  165. package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js.map +1 -1
  166. package/dist/esm/plugins/column-sizing/getColumnNameFromProperty.js.map +1 -1
  167. package/dist/esm/plugins/column-sizing/index.js.map +1 -1
  168. package/dist/esm/plugins/column-sizing/useColumnSizeService.js.map +1 -1
  169. package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js.map +1 -1
  170. package/dist/esm/plugins/column-sizing/utils.js.map +1 -1
  171. package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +1 -1
  172. package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +1 -1
  173. package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js.map +1 -1
  174. package/dist/esm/plugins/custom-cell-renderer/index.js.map +1 -1
  175. package/dist/esm/plugins/editable/EditableComponents/ComboBox.js.map +1 -1
  176. package/dist/esm/plugins/editable/EditableComponents/TextBox.js.map +1 -1
  177. package/dist/esm/plugins/editable/EditableComponents/index.js.map +1 -1
  178. package/dist/esm/plugins/editable/EditablePlugin.js.map +1 -1
  179. package/dist/esm/plugins/editable/decorateEditable.js.map +1 -1
  180. package/dist/esm/plugins/editable/getEditorComponent.js.map +1 -1
  181. package/dist/esm/plugins/editable/index.js.map +1 -1
  182. package/dist/esm/plugins/expandable-grid/ExpandableColumn.js.map +1 -1
  183. package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js.map +1 -1
  184. package/dist/esm/plugins/expandable-grid/ExpandedRow.js.map +1 -1
  185. package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js.map +1 -1
  186. package/dist/esm/plugins/expandable-grid/index.js.map +1 -1
  187. package/dist/esm/plugins/expandable-grid/useExpandGridState.js.map +1 -1
  188. package/dist/esm/plugins/export-data/ExportDataPlugin.js.map +1 -1
  189. package/dist/esm/plugins/export-data/index.js.map +1 -1
  190. package/dist/esm/plugins/filterable/FilterablePlugin.js.map +1 -1
  191. package/dist/esm/plugins/filterable/addFilterToColumn.js.map +1 -1
  192. package/dist/esm/plugins/filterable/components/FilterableHeader.js.map +1 -1
  193. package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +1 -1
  194. package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +1 -1
  195. package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +1 -1
  196. package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +1 -1
  197. package/dist/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +1 -1
  198. package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +1 -1
  199. package/dist/esm/plugins/filterable/filterableFormatter.js.map +1 -1
  200. package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +1 -1
  201. package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js.map +1 -1
  202. package/dist/esm/plugins/filterable/helper.js.map +1 -1
  203. package/dist/esm/plugins/filterable/index.js.map +1 -1
  204. package/dist/esm/plugins/filterable/useFilterableState.js.map +1 -1
  205. package/dist/esm/plugins/grouping-by/GroupingByPlugin.js.map +1 -1
  206. package/dist/esm/plugins/grouping-grid/GroupingPlugin.js.map +1 -1
  207. package/dist/esm/plugins/grouping-grid/walkStrategy.js.map +1 -1
  208. package/dist/esm/plugins/index.js.map +1 -1
  209. package/dist/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +1 -1
  210. package/dist/esm/plugins/infinite-scrolling/index.js.map +1 -1
  211. package/dist/esm/plugins/pagination/PaginationPlugin.js.map +1 -1
  212. package/dist/esm/plugins/pagination/components/Pagination.js.map +1 -1
  213. package/dist/esm/plugins/pagination/components/Paginator.js.map +1 -1
  214. package/dist/esm/plugins/pagination/components/PerPageDropdown.js.map +1 -1
  215. package/dist/esm/plugins/pagination/helper.js.map +1 -1
  216. package/dist/esm/plugins/pagination/index.js.map +1 -1
  217. package/dist/esm/plugins/pagination/usePaginationState.js.map +1 -1
  218. package/dist/esm/plugins/resizable/ResizablePlugin.js.map +1 -1
  219. package/dist/esm/plugins/resizable/decorateResizable.js.map +1 -1
  220. package/dist/esm/plugins/resizable/index.js.map +1 -1
  221. package/dist/esm/plugins/resizable/useResizeHandle.js.map +1 -1
  222. package/dist/esm/plugins/resizable/utils.js.map +1 -1
  223. package/dist/esm/plugins/row-dnd/DndRowsPlugin.js.map +1 -1
  224. package/dist/esm/plugins/row-dnd/index.js.map +1 -1
  225. package/dist/esm/plugins/selectable/SelectablePlugin.js.map +1 -1
  226. package/dist/esm/plugins/selectable/addSelectableColumn.js.map +1 -1
  227. package/dist/esm/plugins/selectable/helper.js.map +1 -1
  228. package/dist/esm/plugins/selectable/index.js.map +1 -1
  229. package/dist/esm/plugins/selectable/selectableFormatter.js.map +1 -1
  230. package/dist/esm/plugins/selectable/useSelectableState.js.map +1 -1
  231. package/dist/esm/plugins/sortable/SortablePlugin.js.map +1 -1
  232. package/dist/esm/plugins/sortable/checkIfSortable.js.map +1 -1
  233. package/dist/esm/plugins/sortable/index.js.map +1 -1
  234. package/dist/esm/plugins/sortable/sortHeaderFormatter.js.map +1 -1
  235. package/dist/esm/plugins/sortable/sortTree.js.map +1 -1
  236. package/dist/esm/plugins/sortable/sorter.js.map +1 -1
  237. package/dist/esm/plugins/sortable/useSortableState.js.map +1 -1
  238. package/dist/esm/plugins/toolbar/RowRenderer.js.map +1 -1
  239. package/dist/esm/plugins/toolbar/ToolbarPlugin.js.map +1 -1
  240. package/dist/esm/plugins/toolbar/ToolbarTrigger.js.map +1 -1
  241. package/dist/esm/plugins/toolbar/index.js.map +1 -1
  242. package/dist/esm/plugins/virtualization/AutoHeightList.js.map +1 -1
  243. package/dist/esm/plugins/virtualization/VirtualizationPlugin.js.map +1 -1
  244. package/dist/esm/plugins/virtualization/VirtualizedBody.js.map +1 -1
  245. package/dist/esm/plugins/virtualization/VirtualizedBodyRow.js.map +1 -1
  246. package/dist/esm/plugins/virtualization/helper.js.map +1 -1
  247. package/dist/esm/plugins/virtualization/index.js.map +1 -1
  248. package/dist/esm/renders/CellWithAddons.js.map +1 -1
  249. package/dist/esm/renders/index.js.map +1 -1
  250. package/dist/esm/renders/styled.js.map +1 -1
  251. package/dist/esm/rowSizes.js.map +1 -1
  252. package/dist/esm/utilities/getPluginsFromProps.js.map +1 -1
  253. package/dist/esm/utilities/getScrollbarSize.js.map +1 -1
  254. package/dist/esm/utilities/normalizeData.js.map +1 -1
  255. package/dist/types/blockNames.d.ts +2 -2
  256. package/dist/types/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.d.ts +1 -0
  257. package/package.json +25 -26
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/DSDataGrid.tsx", "../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../src/DSDataGrid.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
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 };\nexport default DSDataGrids;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADuJjB;AApJN,0BAAsC;AACtC,8BAAoC;AACpC,uCAAoC;AACpC,0BAA6B;AAC7B,sBAAoD;AAEpD,MAAM,cAAc,CAAC;AAAA,EACnB,iBAAiB,CAAC;AAAA,EAClB;AAAA,EACA,YAAY;AAAA;AAAA,EAGZ,UAAU,CAAC;AAAA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B,SAAS,oBAAoB,CAAC;AAErF,SACE,4CAAC,wDACC;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,YAAY,cAAc,CAAC;AAAA,MAC3B;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,YAAY;AAAA,MACZ;AAAA,MACA;AAAA,MACA;AA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AAY,yBAAyB;AACjF;AAEA,YAAY,YAAY;AACxB,YAAY,cAAc;AAC1B,MAAM,4BAAwB,kCAAS,WAAW;AAClD,sBAAsB,YAAY;AAGlC,IAAO,qBAAQ;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/DataGridImpl.tsx", "../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../src/DataGridImpl.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
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
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,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI;AAEJ,QAAM,QAAQ,UAAU;AACxB,QAAM,aAAa,oBAAI,IAAI;AAC3B,QAAM,UAAU,KAAK,IAAI,CAAC,QAAQ;AAChC,QAAI,IAAI,KAAK,MAAM;AAAW,YAAM,IAAI,MAAM,6CAA6C;AAC3F,eAAW,IAAI,IAAI,KAAK,CAAC;AACzB,WAAO,IAAI,KAAK;AAAA,EAClB,CAAC;AACD,MAAI,QAAQ,WAAW,WAAW;AAAM,UAAM,IAAI,MAAM,8CAA8C;AAEtG,QAAM,cAAU,gDAAoB;AAAA,IAClC,GAA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BAAmB,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
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/PaginatedDataGrid.tsx", "../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../src/PaginatedDataGrid.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
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
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
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/blockNames.tsx", "../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../src/blockNames.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
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
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,MAAM,oBAAoB;AAC1B,MAAM,kBAAkB,GAAG;AAC3B,MAAM,gBAAgB,GAAG;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/columns/IconColumn.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/columns/IconColumn.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
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
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
6
  "names": ["React"]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/columns/NumberColumn.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/columns/NumberColumn.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export default function createNumberColumn({ label, property }) {}\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAR,SAAR,mBAAoC,EAAE,OAAO,SAAS,GAAG;AAAC;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/BodyCell.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/BodyCell.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React, { useEffect, useContext, useRef, useCallback } from 'react';\nimport PropTypes from 'prop-types';\nimport { FocusGridContext, evaluateFormatters, evaluateTransforms } from '@elliemae/ds-shared';\nimport { DSTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\n\nconst BodyCell = ({ component: Component, classProps, rowProps, column, columnIndex, rowIndex, grid }) => {\n const { rowData, rowKey, isScrolling, ...extraRowProps } = rowProps;\n const { property, cell, props } = column;\n const evaluatedProperty = property || (cell && cell.property);\n\n const ref = useRef(null);\n const { register } = useContext(FocusGridContext);\n\n const registerFocus = useCallback((node) => {\n register(node, rowIndex, columnIndex);\n }, []);\n\n useEffect(() => {\n registerFocus(ref.current);\n }, [ref.current]);\n\n const {\n transforms = [],\n formatters = [],\n fixedFormatters = [], // useful for the toolbar trigger at the last column\n scrollingFormatters = [],\n } = cell || {};\n\n const extraParameters = {\n columnIndex,\n property: evaluatedProperty,\n column,\n rowData,\n rowIndex,\n rowKey,\n isScrolling, // improve performance on scroll rendering a lightweight component instead\n registerFocus,\n ...extraRowProps,\n };\n const withTooltip = (v) => (classProps && classProps.wrapText ? v : <DSTruncatedTooltipText value={v} />);\n const value = rowData[`_${evaluatedProperty}`] || rowData[evaluatedProperty];\n const transformed = evaluateTransforms(transforms, value, extraParameters);\n return (\n <Component\n ref={ref}\n data-testid={`column-${property}`}\n tabIndex={-1}\n classProps={classProps}\n {...props}\n {...(cell && cell.props)}\n {...transformed}\n >\n {transformed.children ||\n evaluateFormatters(\n !isScrolling\n ? [withTooltip, ...formatters, ...fixedFormatters]\n : [...scrollingFormatters, ...fixedFormatters],\n value,\n extraParameters,\n grid,\n )}\n </Component>\n );\n};\n\nBodyCell.propTypes = {\n component: PropTypes.element,\n classProps: PropTypes.shape({\n wrapText: PropTypes.bool,\n }),\n rowProps: PropTypes.shape({\n rowData: PropTypes.shape({}),\n rowKey: PropTypes.string,\n isScrolling: PropTypes.bool,\n }),\n column: PropTypes.shape({\n property: PropTypes.string,\n cell: PropTypes.any,\n props: PropTypes.shape({}),\n }),\n columnIndex: PropTypes.number,\n rowIndex: PropTypes.number,\n grid: PropTypes.any,\n};\n\nexport { BodyCell };\nexport default BodyCell;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADuC+C;AAvCtE,mBAAkE;AAClE,wBAAsB;AACtB,uBAAyE;AACzE,uCAAuC;AAEvC,MAAM,WAAW,CAAC,EAAE,WAAW,WAAW,YAAY,UAAU,QAAQ,aAAa,UAAU,KAAK,MAAM;AACxG,QAAM,EAAE,SAAS,QAAQ,aAAa,GAAG,cAAc,IAAI;AAC3D,QAAM,EAAE,UAAU,MAAM,MAAM,IAAI;AAClC,QAAM,oBAAoB,YAAa,QAAQ,KAAK;AAEpD,QAAM,UAAM,qBAAO,IAAI;AACvB,QAAM,EAAE,SAAS,QAAI,yBAAW,iCAAgB;AAEhD,QAAM,oBAAgB,0BAAY,CAAC,SAAS;AAC1C,aAAS,MAAM,UAAU,WAAW;AAAA,EACtC,GAAG,CAAC,CAAC;AAEL,8BAAU,MAAM;AACd,kBAAc,IAAI,OAAO;AAAA,EAC3B,GAAG,CAAC,IAAI,OAAO,CAAC;AAEhB,QAAM;AAAA,IACJ,aAAa,CAAC;AAAA,IACd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A,QAAU,MAAM,CAAC,CAAC;AAAA,EAC3B,CAAC;AAAA,EACD,aAAa,kBAAAA,QAAU;AAAA,EACvB,UAAU,kBAAAA,QAAU;AAAA,EACpB,MAAM,kBAAAA,QAAU;AAClB;AAGA,IAAO,mBAAQ;",
6
6
  "names": ["PropTypes"]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/BodyList.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/BodyList.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\nimport { NoResults } from './NoResults.js';\n\nconst BodyWrapperDefaultRenderer = ({\n component: Component,\n rows,\n rowRenderer,\n noResultsPlaceholder,\n innerRef,\n innerBodyRef,\n ...otherBodyProps\n}) => (\n <Component {...otherBodyProps} innerRef={innerRef}>\n {rows.length ? (\n rows.map((row, index) => rowRenderer(row, { index }, {}))\n ) : (\n <NoResults innerRef={innerRef} rowRenderer={rowRenderer}>\n {noResultsPlaceholder}\n </NoResults>\n )}\n </Component>\n);\n\nexport default React.memo(BodyWrapperDefaultRenderer);\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADgBjB;AAhBN,mBAAkB;AAClB,uBAA0B;AAE1B,MAAM,6BAA6B,CAAC;AAAA,EAClC,WAAW;AAAA,EACX;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MACE,4CAAC,aAAW,GAAG,gBAAgB,UAC5B,eAAK,SACJ,KAAK,IAAI,CAAC,KAAK,UAAU,YAAY,KAAK,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC,IAExD,4CAAC,8BAAU,UAAoB,aAC5B,gCACH,GAEJ;AAGF,IAAO,mBAAQ,aAAAA,QAAM,KAAK,0BAA0B;",
6
6
  "names": ["React"]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/ColumnVisibilityMenuOption.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/ColumnVisibilityMenuOption.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export const getColumnVisibilityMenuOption = ({ columns, onColumnVisibilityChange, searchable, height }) => {\n const { items, active } = columns.reduce(\n (result, column, index) => ({\n items: [\n ...result.items,\n {\n id: column.property,\n label: column.label,\n checked: column.visible,\n onClick: () => onColumnVisibilityChange(column, index),\n },\n ],\n active: !column.visible ? result.active : [...result.active, column.property],\n }),\n {\n items: [],\n active: [],\n },\n );\n\n return {\n type: 'SelectionGroup',\n id: 'column-visibility-option',\n multi: true,\n searchable,\n closeOnClick: false,\n active,\n items,\n height,\n };\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAhB,MAAM,gCAAgC,CAAC,EAAE,SAAS,0BAA0B,YAAY,OAAO,MAAM;AAC1G,QAAM,EAAE,OAAO,OAAO,IAAI,QAAQ;AAAA,IAChC,CAAC,QAAQ,QAAQ,WAAW;AAAA,MAC1B,OAAO;AAAA,QACL,GAAG,OAAO;AAAA,QACV;AAAA,UACE,IAAI,OAAO;AAAA,UACX,OAAO,OAAO;AAAA,UACd,SAAS,OAAO;AAAA,UAChB,SAAS,MAAM,yBAAyB,QAAQ,KAAK;AAAA,QACvD;AAAA,MACF;AAAA,MACA,QAAQ,CAAC,OAAO,UAAU,OAAO,SAAS,CAAC,GAAG,OAAO,QAAQ,OAAO,QAAQ;AAAA,IAC9E;AAAA,IACA;AAAA,MACE,OAAO,CAAC;AAAA,MACR,QAAQ,CAAC;AAAA,IACX;AAAA,EACF;AAEA,SAAO;AAAA,IACL,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,IACP;AAAA,IACA,cAAc;AAAA,IACd;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/ColumnsOptionsMenuSection.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/ColumnsOptionsMenuSection.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\nimport { Menu } from '@elliemae/ds-menu';\n\nconst ColumnsOptionsMenuSection = ({\n columns,\n onColumnVisibilityChange,\n searchable = false,\n height,\n // eslint-disable-next-line react/display-name\n}) =>\n function () {\n const { items, active } = columns.reduce(\n (result, column, index) => ({\n items: [\n ...result.items,\n {\n id: column.property,\n label: column.label,\n checked: column.visible,\n onClick: () => onColumnVisibilityChange(column, index),\n },\n ],\n active:\n typeof column.visible === 'undefined' || column.visible ? [...result.active, column.property] : result.active,\n }),\n { items: [], active: [] },\n );\n return <Menu.SelectionGroup active={active} height={height} items={items} multi searchable={searchable} />;\n };\n\nexport { ColumnsOptionsMenuSection };\nexport default ColumnsOptionsMenuSection;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD2BZ;AA1BX,qBAAqB;AAErB,MAAM,4BAA4B,CAAC;AAAA,EACjC;AAAA,EACA;AAAA,EACA,aAAa;AAAA,EACb;AAAA;AAEF,MACE,WAAY;AACV,QAAM,EAAE,OAAO,OAAO,IAAI,QAAQ;AAAA,IAChC,CAAC,QAAQ,QAAQ,WAAW;AAAA,MAC1B,OAAO;AAAA,QACL,GAAG,OAAO;AAAA,QACV;AAAA,UACE,IAAI,OAAO;AAAA,UACX,OAAO,OAAO;AAAA,UACd,SAAS,OAAO;AAAA,UAChB,SAAS,MAAM,yBAAyB,QAAQ,KAAK;AAAA,QACvD;AAAA,MACF;AAAA,MACA,QACE,OAAO,OAAO,YAAY,eAAe,OAAO,UAAU,CAAC,GAAG,OAAO,QAAQ,OAAO,QAAQ,IAAI,OAAO;AAAA,IAC3G;AAAA,IACA,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,EAAE;AAAA,EAC1B;AACA,SAAO,4CAAC,oBAAK,gBAAL,EAAoB,QAAgB,QAAgB,OAAc,OAAK,MAAC,YAAwB;AAC1G;AAGF,IAAO,oCAAQ;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/EmptyState.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/EmptyState.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\nimport { Grid } from '@elliemae/ds-grid';\nimport { WarningTriangle } from '@elliemae/ds-icons';\nimport { __UNSAFE_SPACE_TO_DIMSUM, toMobile, styled } from '@elliemae/ds-system';\nimport { DSButton } from '@elliemae/ds-button';\n\nconst EmptyStateWrapper = styled(Grid)`\n min-width: 132px; /* fixed size in px according to specs */\n max-width: 384px; /* fixed size in px according to specs */\n height: fit-content;\n`;\n\nconst Icon = styled(WarningTriangle)`\n fill: ${(props) => props.theme.colors.neutral[300]};\n color: ${(props) => props.theme.colors.neutral[300]};\n justify-self: center;\n`;\n\nconst PrimaryMessage = styled.p`\n text-align: center;\n font-weight: 600;\n font-size: ${(props) => toMobile(props.theme.fontSizes.value[400])};\n color: ${(props) => props.theme.colors.neutral[600]};\n margin-top: ${(props) => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.s)};\n margin-bottom: ${(props) => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xs)};\n`;\nconst SecondaryMessage = styled.p`\n text-align: center;\n font-size: ${(props) => toMobile(props.theme.fontSizes.value[400])}; /* 13px */\n color: ${(props) => props.theme.colors.neutral[500]};\n margin: 0;\n`;\nconst Button = styled(DSButton)`\n margin-top: ${(props) => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.m)};\n justify-self: center;\n width: fit-content;\n`;\n\nexport const EmptyState = ({\n primaryMessage = 'No Results Found',\n secondaryMessage,\n buttonLabel,\n onButtonClick = () => {},\n}) => (\n <EmptyStateWrapper>\n <Icon size=\"xxl\" />\n {primaryMessage && <PrimaryMessage>{primaryMessage}</PrimaryMessage>}\n {secondaryMessage && <SecondaryMessage>{secondaryMessage}</SecondaryMessage>}\n {buttonLabel && <Button buttonType=\"secondary\" labelText={buttonLabel} onClick={onButtonClick} />}\n </EmptyStateWrapper>\n);\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD4CrB;AA3CF,qBAAqB;AACrB,sBAAgC;AAChC,uBAA2D;AAC3D,uBAAyB;AAEzB,MAAM,wBAAoB,yBAAO,mBAAI;AAAA;AAAA;AAAA;AAAA;AAMrC,MAAM,WAAO,yBAAO,+BAAe;AAAA,UACzB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,GAAG;AAAA,WACxC,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,GAAG;AAAA;AAAA;AAIpD,MAAM,iBAAiB,wBAAO;AAAA;AAAA;AAAA,eAGf,CAAC,cAAU,2BAAS,MAAM,MAAM,UAAU,MAAM,GAAG,CAAC;AAAA,WACxD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,GAAG;AAAA,gBACpC,CAAC,cAAU,2CAAyB,MAAM,MAAM,MAAM,CAAC;AAAA,mBACpD,CAAC,cAAU,2CAAyB,MAAM,MAAM,MAAM,EAAE;AAAA;AAE3E,MAAM,mBAAmB,wBAAO;AAAA;AAAA,eAEjB,CAAC,cAAU,2BAAS,MAAM,MAAM,UAAU,MAAM,GAAG,CAAC;AAAA,WACxD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,GAAG;AAAA;AAAA;AAGpD,MAAM,aAAS,yBAAO,yBAAQ;AAAA,gBACd,CAAC,cAAU,2CAAyB,MAAM,MAAM,MAAM,CAAC;AAAA;AAAA;AAAA;AAKhE,MAAM,aAAa,CAAC;AAAA,EACzB,iBAAiB;AAAA,EACjB;AAAA,EACA;AAAA,EACA,gBAAgB,MAAM;AAAA,EAAC;AACzB,MACE,6CAAC,qBACC;AAAA,8CAAC,QAAK,MAAK,OAAM;AAAA,EAChB,kBAAkB,4CAAC,kBAAgB,0BAAe;AAAA,EAClD,oBAAoB,4CAAC,oBAAkB,4BAAiB;AAAA,EACxD,eAAe,4CAAC,UAAO,YAAW,aAAY,WAAW,aAAa,SAAS,eAAe;AAAA,GACjG;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/HeaderCell.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/HeaderCell.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { evaluateFormatters, evaluateTransforms } from '@elliemae/ds-shared';\nimport { DSTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\n\nexport const HeaderCell = ({ column, columnIndex, component: Component, classProps, grid }) => {\n const { property, header = {}, props = {} } = column;\n\n const evaluatedProperty = property || (header && header.property);\n\n const { label, transforms = [], formatters = [] } = header;\n\n // subscribe hook effects into header cell\n if (column.headerHookEffects) column.headerHookEffects.forEach((hook) => hook());\n\n const extraParameters = {\n columnIndex,\n property: evaluatedProperty,\n column,\n grid,\n };\n\n const withTooltip = (v) => (classProps && classProps.wrapText ? v : <DSTruncatedTooltipText value={v} />);\n const value = withTooltip(label);\n const transformedProps = evaluateTransforms(transforms, value, extraParameters);\n const formattedValue = evaluateFormatters(formatters, value, extraParameters);\n\n const testId = column.headerDataId || 'data-grid-header__cell';\n\n return (\n <Component\n key={`${evaluatedProperty}-header`}\n data-testid={testId}\n index={columnIndex}\n classProps={classProps}\n {...props}\n {...(header && header.props)}\n {...transformedProps}\n >\n {transformedProps.children || formattedValue}\n </Component>\n );\n};\n\nHeaderCell.propTypes = {\n column: PropTypes.any,\n columnIndex: PropTypes.number,\n component: PropTypes.any,\n classProps: PropTypes.any,\n grid: PropTypes.any,\n};\n\nexport default HeaderCell;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADsB+C;AArBtE,wBAAsB;AACtB,uBAAuD;AACvD,uCAAuC;AAEhC,MAAM,aAAa,CAAC,EAAE,QAAQ,aAAa,WAAW,WAAW,YAAY,KAAK,MAAM;AAC7F,QAAM,EAAE,UAAU,SAAS,CAAC,GAAG,QAAQ,CAAC,EAAE,IAAI;AAE9C,QAAM,oBAAoB,YAAa,UAAU,OAAO;AAExD,QAAM,EAAE,OAAO,aAAa,CAAC,GAAG,aAAa,CAAC,EAAE,IAAI;AAGpD,MAAI,OAAO;AAAmB,WAAO,kBAAkB,QAAQ,CAAC,SAAS,KAAK,CAAC;AAE/E,QAAM,kBAAkB;AAAA,IACtB;AAAA,IACA,UAAU;AAAA,IACV;AAAA,IACA;AAAA,EACF;AAEA,QAAM,cAAc,CAAC,MAAO,cAAc,WAAW,WAAW,IAAI,4CAAC,2DAAuB,OAAO,GAAG;AACtG,QAAM,QAAQ,YAAY,KAAK;AAC/B,QAAM,uBAAmB,qCAAmB,YAAY,OAAO,eAAe;AAC9E,QAAM,qBAAiB,qCAAmB,YAAY,OAAO,eAAe;AAE5E,QAAM,SAAS,OAAO,gBAAgB;AAEtC,SACE;AAAA,IAAC;AAAA;AAAA,MAEC,eAAa;AAAA,MACb,OAAO;AAAA,MACP;AAAA,MACC,GAAG;AAAA,MACH,GAAI,UAAU,OAAO;AAAA,MACrB,GAAG;AAAA,MAEH,2BAAiB,YAAY;AAAA;AAAA,IARzB,GAAG;AAAA,EASV;AAEJ;AAEA,WAAW,YAAY;AAAA,EACrB,QAAQ,kBAAAA,QAAU;AAAA,EAClB,aAAa,kBAAAA,QAAU;AAAA,EACvB,WAAW,kBAAAA,QAAU;AAAA,EACrB,YAAY,kBAAAA,QAAU;AAAA,EACtB,MAAM,kBAAAA,QAAU;AAClB;AAEA,IAAO,qBAAQ;",
6
6
  "names": ["PropTypes"]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/List.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/List.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\n\nconst List = (props, instance) => {\n // todo: add should list update to memoize this\n const { renderers, getListProps } = instance.getInstance();\n const ListComponent = renderers.list;\n\n // props from component props and plugins\n const mixedProps = getListProps(props);\n return <ListComponent {...mixedProps} />;\n};\n\nexport default List;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADSd;AAPT,MAAM,OAAO,CAAC,OAAO,aAAa;AAEhC,QAAM,EAAE,WAAW,aAAa,IAAI,SAAS,YAAY;AACzD,QAAM,gBAAgB,UAAU;AAGhC,QAAM,aAAa,aAAa,KAAK;AACrC,SAAO,4CAAC,iBAAe,GAAG,YAAY;AACxC;AAEA,IAAO,eAAQ;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/ListItem.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/ListItem.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\n\nconst ListItem = (props, instance) => {\n const { record } = props;\n const {\n renderers,\n getItemProps,\n decorators: { itemRenderer },\n } = instance.getInstance();\n\n // props from component props and plugins\n const mixedProps = getItemProps(props);\n\n const children = itemRenderer.reduce((result, formatter) => formatter(result, record, instance), record.data.name);\n\n const ItemComponent = renderers.list;\n return (\n <ItemComponent record={record} {...mixedProps}>\n {children}\n </ItemComponent>\n );\n};\n\nexport default ListItem;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADiBnB;AAfJ,MAAM,WAAW,CAAC,OAAO,aAAa;AACpC,QAAM,EAAE,OAAO,IAAI;AACnB,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA,YAAY,EAAE,aAAa;AAAA,EAC7B,IAAI,SAAS,YAAY;AAGzB,QAAM,aAAa,aAAa,KAAK;AAErC,QAAM,WAAW,aAAa,OAAO,CAAC,QAAQ,cAAc,UAAU,QAAQ,QAAQ,QAAQ,GAAG,OAAO,KAAK,IAAI;AAEjH,QAAM,gBAAgB,UAAU;AAChC,SACE,4CAAC,iBAAc,QAAiB,GAAG,YAChC,UACH;AAEJ;AAEA,IAAO,mBAAQ;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/NoResults.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/NoResults.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\nimport { styled, __UNSAFE_SPACE_TO_DIMSUM } from '@elliemae/ds-system';\n\nconst NoResultsContainer = styled.div`\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: ${(props) => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.s)};\n padding-bottom: 0;\n height: calc(100% - 36px);\n overflow: auto;\n`;\n\nexport const NoResults = ({ innerRef, rowRenderer, children, ...rest }) => (\n <>\n <NoResultsContainer {...rest} innerRef={innerRef}>\n {children}\n </NoResultsContainer>\n {/* Hack to expand to the width of the row so we can scroll\n if the columns are bigger than the grid */}\n {rowRenderer({}, { style: { visibility: 'hidden', marginBottom: 0 } }, {})}\n </>\n);\n\nexport default NoResults;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADerB;AAdF,uBAAiD;AAEjD,MAAM,qBAAqB,wBAAO;AAAA;AAAA;AAAA;AAAA;AAAA,aAKrB,CAAC,cAAU,2CAAyB,MAAM,MAAM,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAM7D,MAAM,YAAY,CAAC,EAAE,UAAU,aAAa,UAAU,GAAG,KAAK,MACnE,4EACE;AAAA,8CAAC,sBAAoB,GAAG,MAAM,UAC3B,UACH;AAAA,EAGC,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,YAAY,UAAU,cAAc,EAAE,EAAE,GAAG,CAAC,CAAC;AAAA,GAC3E;AAGF,IAAO,oBAAQ;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/RowsLoader.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/RowsLoader.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\nimport { DSSpinner } from '@elliemae/ds-spinner';\nimport { SpinnerContainer } from './renderers/defaultClassedRenderers.js';\n\nexport const RowsLoader = ({ size = 'm' }) => (\n <SpinnerContainer>\n <DSSpinner size={size} />\n </SpinnerContainer>\n);\n\nexport default RowsLoader;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADMnB;AALJ,wBAA0B;AAC1B,qCAAiC;AAE1B,MAAM,aAAa,CAAC,EAAE,OAAO,IAAI,MACtC,4CAAC,mDACC,sDAAC,+BAAU,MAAY,GACzB;AAGF,IAAO,qBAAQ;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/Table.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/Table.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["/* eslint-disable no-loops/no-loops,no-plusplus */\nimport React, { useCallback, useMemo, useEffect } from 'react';\nimport { TableHeader } from './TableHeader.js';\nimport { TableBody } from './TableBody.js';\nimport { HeaderCell } from './HeaderCell.js';\nimport { BodyCell } from './BodyCell.js';\nimport { TableContext } from './tableContext.js';\n\nconst { Provider } = TableContext;\n\nconst Table = (props) => {\n const {\n decoratedRenderers: renderers,\n decoratedColumns: columns,\n getRowProps,\n getHeaderRowProps,\n getTableProps,\n children,\n tableRef,\n props: { wrapText },\n style,\n onDefaultFiltersLoad = () => null,\n } = props;\n\n useEffect(() => {\n onDefaultFiltersLoad(props.composedRows);\n }, [onDefaultFiltersLoad]);\n\n const headerRowRenderer = () => {\n const Row = renderers.header.row;\n const Cell = renderers.header.cell;\n const cells = [];\n\n // optimize the rendering using for loop\n for (let index = 0; index < columns.length; index++) {\n cells.push(\n <HeaderCell\n key={index}\n classProps={{ wrapText }}\n column={columns[index]}\n columnIndex={index}\n component={Cell}\n grid={props}\n />,\n );\n }\n\n const rowProps = getHeaderRowProps({}, {});\n return <Row {...rowProps}>{cells}</Row>;\n };\n\n const bodyRowRenderer = useCallback(\n (rowData, rowProps, extraParams) => {\n const Row = renderers.body.row;\n const Cell = renderers.body.cell;\n\n const nextRowProps = getRowProps(rowProps, { ...extraParams, rowData });\n\n // get cells from columns api\n const cells = [];\n\n // optimize the rendering using for loop\n for (let index = 0; index < columns.length; index++) {\n cells.push(\n <BodyCell\n key={index}\n classProps={{ wrapText }}\n column={columns[index]}\n columnIndex={index}\n component={Cell}\n grid={props}\n rowIndex={extraParams.rowIndex}\n rowProps={{ rowData, ...nextRowProps }}\n />,\n );\n }\n\n return (\n <Row {...nextRowProps} rowData={rowData}>\n {cells}\n </Row>\n );\n },\n [columns, renderers],\n );\n\n const TableComponent = renderers.table;\n\n const value = { ...props, bodyRowRenderer, headerRowRenderer };\n\n return (\n <Provider value={value}>\n <TableComponent\n {...getTableProps({\n innerRef: tableRef,\n style,\n })}\n >\n {children}\n </TableComponent>\n </Provider>\n );\n};\n\nTable.Header = TableHeader;\nTable.Body = TableBody;\n\nexport { Table };\nexport default Table;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADoCf;AAnCR,mBAAuD;AACvD,yBAA4B;AAC5B,uBAA0B;AAC1B,wBAA2B;AAC3B,sBAAyB;AACzB,0BAA6B;AAE7B,MAAM,EAAE,SAAS,IAAI;AAErB,MAAM,QAAQ,CAAC,UAAU;AACvB,QAAM;AAAA,IACJ,oBAAoB;AAAA,IACpB,kBAAkB;AAAA,IAClB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,OAAO,EAAE,SAAS;AAAA,IAClB;AAAA,IACA,uBAAuB,MAAM;AAAA,EAC/B,IAAI;AAEJ,8BAAU,MAAM;AACd,yBAAqB,MAAM,YAAY;AAAA,EACzC,GAAG,CAAC,oBAAoB,CAAC;AAEzB,QAAM,oBAAoB,MAAM;AAC9B,UAAM,MAAM,UAAU,OAAO;AAC7B,UAAM,OAAO,UAAU,OAAO;AAC9B,UAAM,QAAQ,CAAC;AAGf,aAAS,QAAQ,GAAG,QAAQ,QAAQ,QAAQ,SAAS;AACnD,YAAM;AAAA,QACJ;AAAA,UAAC;AAAA;AAAA,YAEC,YAAY,EAAE,SAAS;AAAA,YACvB,QAAQ,QAAQ,KAAK;AAAA,YACrB,aAAa;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-shim.js"],
3
+ "sources": ["../../../src/components/TableBody.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React, { useContext, memo } from 'react';\nimport { TableContext } from './tableContext.js';\n\nconst TableBody = memo(({ rows, noResultsPlaceholder = 'No data', isPlaceholderActive = false, ...props }) => {\n const {\n refs,\n decoratedColumns,\n decoratedRenderers: renderers,\n composedRows,\n getBodyProps,\n bodyRowRenderer: rowRenderer,\n props: { rowKey, numRowsVisible, groupedRows },\n } = useContext(TableContext);\n\n const BodyWrapperComponent = renderers.body.wrapper;\n return (\n <BodyWrapperComponent\n classProps={{ grouped: groupedRows }}\n {...getBodyProps({\n ...props,\n innerRef: refs.body,\n innerBodyRef: refs.innerBody,\n rows: rows || composedRows.rows || composedRows,\n noResultsPlaceholder,\n rowRenderer,\n columns: decoratedColumns,\n rowKey,\n numRowsVisible,\n isPlaceholderActive,\n })}\n >\n kajsd;klfajsd;fj\n </BodyWrapperComponent>\n );\n});\n\nexport { TableBody };\nexport default TableBody;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADgBnB;AAhBJ,mBAAwC;AACxC,0BAA6B;AAE7B,MAAM,gBAAY,mBAAK,CAAC,EAAE,MAAM,uBAAuB,WAAW,sBAAsB,OAAO,GAAG,MAAM,MAAM;AAC5G,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA,oBAAoB;AAAA,IACpB;AAAA,IACA;AAAA,IACA,iBAAiB;AAAA,IACjB,OAAO,EAAE,QAAQ,gBAAgB,YAAY;AAAA,EAC/C,QAAI,yBAAW,gCAAY;AAE3B,QAAM,uBAAuB,UAAU,KAAK;AAC5C,SACE;AAAA,IAAC;AAAA;AAAA,MACC,YAAY,EAAE,SAAS,YAAY;AAAA,MAClC,GAAG,aAAa;AAAA,QACf,GAAG;AAAA,QACH,UAAU,KAAK;AAAA,QACf,cAAc,KAAK;AAAA,QACnB,MAAM,QAAQ,aAAa,QAAQ;AAAA,QACnC;AAAA,QACA;AAAA,QACA,SAAS;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,MACF,CAAC;AAAA,MACF;AAAA;AAAA,EAED;AAEJ,CAAC;AAGD,IAAO,oBAAQ;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/TableHeader.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/TableHeader.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React, { useContext } from 'react';\nimport { TableContext } from './tableContext.js';\n\nconst TableHeader = (props) => {\n const {\n decoratedRenderers: renderers,\n decoratedColumns: columns,\n headerRowRenderer,\n getHeaderProps,\n refs,\n } = useContext(TableContext);\n\n const HeaderWrapper = renderers.header.wrapper;\n return (\n <HeaderWrapper\n {...getHeaderProps({\n ...props,\n innerRef: refs.header,\n })}\n >\n {headerRowRenderer(columns, {})}\n </HeaderWrapper>\n );\n};\n\nexport { TableHeader };\nexport default TableHeader;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADcnB;AAdJ,mBAAkC;AAClC,0BAA6B;AAE7B,MAAM,cAAc,CAAC,UAAU;AAC7B,QAAM;AAAA,IACJ,oBAAoB;AAAA,IACpB,kBAAkB;AAAA,IAClB;AAAA,IACA;AAAA,IACA;AAAA,EACF,QAAI,yBAAW,gCAAY;AAE3B,QAAM,gBAAgB,UAAU,OAAO;AACvC,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG,eAAe;AAAA,QACjB,GAAG;AAAA,QACH,UAAU,KAAK;AAAA,MACjB,CAAC;AAAA,MAEA,4BAAkB,SAAS,CAAC,CAAC;AAAA;AAAA,EAChC;AAEJ;AAGA,IAAO,sBAAQ;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/components/footer/addOptionalFooterComponents.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../../src/components/footer/addOptionalFooterComponents.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\nimport { Pagination } from '../../plugins/pagination/components/Pagination.js';\n\nconst addOptionalFooterComponents = ({ grid, rows }) => {\n const {\n props: { maxPerPage, minPerPage, paginated, paginationStep },\n state: { pagination },\n actions: { onPerPage, onPageSelect },\n } = grid;\n if (!paginated) return null;\n return (\n <>\n <Pagination\n maxPerPage={maxPerPage}\n minPerPage={minPerPage}\n onPageSelect={onPageSelect}\n onPerPage={onPerPage}\n paginationStep={paginationStep}\n paginated={rows}\n pagination={pagination}\n />\n </>\n );\n};\n\nexport { addOptionalFooterComponents };\nexport default addOptionalFooterComponents;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADWnB;AAVJ,wBAA2B;AAE3B,MAAM,8BAA8B,CAAC,EAAE,MAAM,KAAK,MAAM;AACtD,QAAM;AAAA,IACJ,OAAO,EAAE,YAAY,YAAY,WAAW,eAAe;AAAA,IAC3D,OAAO,EAAE,WAAW;AAAA,IACpB,SAAS,EAAE,WAAW,aAAa;AAAA,EACrC,IAAI;AACJ,MAAI,CAAC;AAAW,WAAO;AACvB,SACE,2EACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,WAAW;AAAA,MACX;AAAA;AAAA,EACF,GACF;AAEJ;AAGA,IAAO,sCAAQ;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/components/header/PrimaryControls.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../../src/components/header/PrimaryControls.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\nimport { DSSearchBox } from '@elliemae/ds-form';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\n\nconst blockName = 'data-grid';\n\nconst Container = aggregatedClasses('div')(blockName, 'controls');\nconst SearchContainer = aggregatedClasses('div')(blockName, 'search-container');\n\nconst PrimaryControls = ({ onAddFilter = () => null }) => (\n <Container>\n <SearchContainer>\n <DSSearchBox\n onSearch={({ property, value }) =>\n onAddFilter({\n filterId: property,\n label: 'All',\n value,\n })\n }\n placeholder=\"Search all\"\n />\n </SearchContainer>\n </Container>\n);\n\nexport { PrimaryControls };\nexport default PrimaryControls;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADYjB;AAXN,qBAA4B;AAC5B,2BAAkC;AAElC,MAAM,YAAY;AAElB,MAAM,gBAAY,wCAAkB,KAAK,EAAE,WAAW,UAAU;AAChE,MAAM,sBAAkB,wCAAkB,KAAK,EAAE,WAAW,kBAAkB;AAE9E,MAAM,kBAAkB,CAAC,EAAE,cAAc,MAAM,KAAK,MAClD,4CAAC,aACC,sDAAC,mBACC;AAAA,EAAC;AAAA;AAAA,IACC,UAAU,CAAC,EAAE,UAAU,MAAM,MAC3B,YAAY;AAAA,MACV,UAAU;AAAA,MACV,OAAO;AAAA,MACP;AAAA,IACF,CAAC;AAAA,IAEH,aAAY;AAAA;AACd,GACF,GACF;AAIF,IAAO,0BAAQ;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/components/header/addOptionalHeaderComponents.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../../src/components/header/addOptionalHeaderComponents.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { DSFilterBar } from '@elliemae/ds-filterbar';\n\nexport const addOptionalHeaderComponents = ({ grid }) => {\n const {\n props: { showFilterBar, renderFilterToolbar, filterBarOptions },\n state: { filters },\n actions: { removeFilter, removeAllFilters },\n } = grid.getInstance();\n\n const { maxWidth, minWidth } = filterBarOptions || {};\n return (\n <>\n {filters && !!filters.length && showFilterBar && (\n <DSFilterBar\n filters={filters}\n maxWidth={maxWidth}\n minWidth={minWidth}\n onRemoveAllFilters={removeAllFilters}\n onRemoveFilter={removeFilter}\n renderToolbar={renderFilterToolbar}\n />\n )}\n </>\n );\n};\n\naddOptionalHeaderComponents.propTypes = {\n grid: PropTypes.any,\n};\n\nexport default addOptionalHeaderComponents;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADanB;AAZJ,wBAAsB;AACtB,0BAA4B;AAErB,MAAM,8BAA8B,CAAC,EAAE,KAAK,MAAM;AACvD,QAAM;AAAA,IACJ,OAAO,EAAE,eAAe,qBAAqB,iBAAiB;AAAA,IAC9D,OAAO,EAAE,QAAQ;AAAA,IACjB,SAAS,EAAE,cAAc,iBAAiB;AAAA,EAC5C,IAAI,KAAK,YAAY;AAErB,QAAM,EAAE,UAAU,SAAS,IAAI,oBAAoB,CAAC;AACpD,SACE,2EACG,qBAAW,CAAC,CAAC,QAAQ,UAAU,iBAC9B;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA,oBAAoB;AAAA,MACpB,gBAAgB;AAAA,MAChB,eAAe;AAAA;AAAA,EACjB,GAEJ;AAEJ;AAEA,4BAA4B,YAAY;AAAA,EACtC,MAAM,kBAAAA,QAAU;AAClB;AAEA,IAAO,sCAAQ;",
6
6
  "names": ["PropTypes"]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export { default as HeaderCell } from './HeaderCell.js';\nexport { default as BodyCell } from './BodyCell.js';\nexport { default as TableBody } from './TableBody.js';\nexport { default as TableHeader } from './TableHeader.js';\nexport { default as Table } from './Table.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAAsC;AACtC,sBAAoC;AACpC,uBAAqC;AACrC,yBAAuC;AACvC,mBAAiC;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/components/renderers/defaultClassedRenderers.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../../src/components/renderers/defaultClassedRenderers.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { bodyBlockName, dataGridBlockName, headerBlockName } from '../../blockNames.js';\n\nexport const NoResultsContainer = aggregatedClasses('div')(`${dataGridBlockName}-no-results`);\nexport const SpinnerContainer = aggregatedClasses('div')(`${dataGridBlockName}-spinner`);\nexport const DatagridWrapper = aggregatedClasses('div')(`${dataGridBlockName}-wrapper`, null, ({ fluidHeight }) => ({\n fluid: fluidHeight,\n}));\n\nexport const TableWrapper = aggregatedClasses('div')(dataGridBlockName);\nexport const HeaderWrapper = aggregatedClasses('div')(headerBlockName);\nexport const HeaderRow = aggregatedClasses('div')(headerBlockName, 'row');\nexport const HeaderCell = aggregatedClasses('div')(headerBlockName, 'cell', ({ wrapText }) => ({\n wrapText,\n}));\nexport const BodyWrapper = aggregatedClasses('div')(bodyBlockName, null, ({ grouped }) => ({\n 'ie-flex-basis-auto': true,\n 'is-grouped': grouped,\n}));\nexport const BodyRow = aggregatedClasses('div', {\n 'data-testid': 'datagrid-row',\n})(bodyBlockName, 'row');\nexport const BodyCell = aggregatedClasses('div')(bodyBlockName, 'cell', ({ wrapText }) => ({\n wrapText,\n}));\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,2BAAkC;AAClC,wBAAkE;AAE3D,MAAM,yBAAqB,wCAAkB,KAAK,EAAE,GAAG,gDAA8B;AACrF,MAAM,uBAAmB,wCAAkB,KAAK,EAAE,GAAG,6CAA2B;AAChF,MAAM,sBAAkB,wCAAkB,KAAK,EAAE,GAAG,+CAA6B,MAAM,CAAC,EAAE,YAAY,OAAO;AAAA,EAClH,OAAO;AACT,EAAE;AAEK,MAAM,mBAAe,wCAAkB,KAAK,EAAE,mCAAiB;AAC/D,MAAM,oBAAgB,wCAAkB,KAAK,EAAE,iCAAe;AAC9D,MAAM,gBAAY,wCAAkB,KAAK,EAAE,mCAAiB,KAAK;AACjE,MAAM,iBAAa,wCAAkB,KAAK,EAAE,mCAAiB,QAAQ,CAAC,EAAE,SAAS,OAAO;AAAA,EAC7F;AACF,EAAE;AACK,MAAM,kBAAc,wCAAkB,KAAK,EAAE,iCAAe,MAAM,CAAC,EAAE,QAAQ,OAAO;AAAA,EACzF,sBAAsB;AAAA,EACtB,cAAc;AAChB,EAAE;AACK,MAAM,cAAU,wCAAkB,OAAO;AAAA,EAC9C,eAAe;AACjB,CAAC,EAAE,iCAAe,KAAK;AAChB,MAAM,eAAW,wCAAkB,KAAK,EAAE,iCAAe,QAAQ,CAAC,EAAE,SAAS,OAAO;AAAA,EACzF;AACF,EAAE;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/components/renderers/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../../src/components/renderers/index.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import {\n BodyCell,\n BodyRow,\n BodyWrapper,\n HeaderCell,\n HeaderRow,\n HeaderWrapper,\n TableWrapper,\n} from './defaultClassedRenderers.js';\n\nexport { renderRowsLoader } from './renderRowsLoader.js';\n\nexport const defaultRenderers = {\n table: TableWrapper,\n header: {\n wrapper: HeaderWrapper,\n row: HeaderRow,\n cell: HeaderCell,\n },\n body: {\n wrapper: BodyWrapper,\n row: BodyRow,\n cell: BodyCell,\n },\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qCAQO;AAEP,8BAAiC;AAE1B,MAAM,mBAAmB;AAAA,EAC9B,OAAO;AAAA,EACP,QAAQ;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,EACR;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,EACR;AACF;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/components/renderers/renderRowsLoader.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../../src/components/renderers/renderRowsLoader.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\nimport { RowsLoader } from '../RowsLoader.js';\n\nexport const renderRowsLoader = () => <RowsLoader />;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGe;AAFtC,wBAA2B;AAEpB,MAAM,mBAAmB,MAAM,4CAAC,gCAAW;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/components/tableContext.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/components/tableContext.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\n\nexport const TableContext = React.createContext();\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAEX,MAAM,eAAe,aAAAA,QAAM,cAAc;",
6
6
  "names": ["React"]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/defaultPlugins.tsx", "../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../src/defaultPlugins.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import { BodyHeaderScrollSyncPlugin } from './plugins/body-header-scroll-sync/index.js';\nimport { ResizablePlugin } from './plugins/resizable/index.js';\nimport { CustomRendererPlugin } from './plugins/custom-cell-renderer/index.js';\nimport { ColumnSizingPlugin } from './plugins/column-sizing/index.js';\n\nexport const defaultPlugins = [BodyHeaderScrollSyncPlugin, ResizablePlugin, CustomRendererPlugin, ColumnSizingPlugin];\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qCAA2C;AAC3C,uBAAgC;AAChC,kCAAqC;AACrC,2BAAmC;AAE5B,MAAM,iBAAiB,CAAC,2DAA4B,kCAAiB,kDAAsB,uCAAkB;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/index.tsx", "../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../src/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export { DSDataGrid } from './DSDataGrid.js';\n\nexport { DSDataGridsWithSchema } from './DSDataGrid.js';\nexport { ColumnsOptionsMenuSection } from './components/ColumnsOptionsMenuSection.js';\n\nexport { getColumnVisibilityMenuOption } from './components/ColumnVisibilityMenuOption.js';\n\nexport { EmptyState } from './components/EmptyState.js';\n\nexport { IconColumn } from './columns/IconColumn.js';\n\nexport {\n BodyHeaderScrollSyncPlugin,\n DndColumnsPlugin,\n ColumnSizingPlugin,\n CustomRendererPlugin,\n EditablePlugin,\n ComboBox,\n TextBox,\n ExpandablePlugin,\n ExpandableColumn,\n FilterablePlugin,\n InfiniteScrollPlugin,\n PaginationPlugin,\n ResizablePlugin,\n DndRowsPlugin,\n SelectablePlugin,\n SortablePlugin,\n ToolbarPlugin,\n ExportDataPlugin,\n VirtualizationPlugin,\n} from './plugins/index.js';\n\nexport { RowSizes, RowSizesOptions, RowSizesOptionsArr } from './rowSizes.js';\n\nexport { CellWithAddons, CellContainer } from './renders/index.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAA2B;AAE3B,IAAAA,qBAAsC;AACtC,uCAA0C;AAE1C,wCAA8C;AAE9C,wBAA2B;AAE3B,wBAA2B;AAE3B,qBAoBO;AAEP,sBAA8D;AAE9D,qBAA8C;",
6
6
  "names": ["import_DSDataGrid"]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../../src/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["/* eslint-disable no-shadow */\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-unused-vars */\n/* eslint-disable react/prop-types */\n/* eslint-disable max-lines */\n/* eslint-disable react-hooks/rules-of-hooks */\n/* eslint-disable no-param-reassign */\n/* eslint-disable react/display-name */\nimport React, { useMemo, useRef, useEffect } from 'react';\nimport { mergeRefs } from '@elliemae/ds-utilities';\nimport { ScrollSync, ScrollSyncPane, createInstancePlugin } from '@elliemae/ds-shared';\nimport { getScrollbarWidth } from '../../utilities/getScrollbarSize.js';\n\nconst SCROLLBAR_WIDTH = getScrollbarWidth(2);\n\nconst HeaderSyncHoc = (Component) =>\n function (props) {\n return (\n <ScrollSyncPane>\n {({ registerPane }) => <Component {...props} innerRef={mergeRefs(props.innerRef, registerPane)} />}\n </ScrollSyncPane>\n );\n };\nconst BodySyncHoc = (Component, notPaginated, grid) =>\n function ({\n children,\n classProps,\n columns,\n getContainer,\n helperClass,\n innerBodyRef,\n innerRef,\n isPlaceholderActive,\n listProps,\n lockAxis,\n noResultsPlaceholder,\n numRowsVisible,\n onSortEnd,\n onSortOver,\n onSortStart,\n rowKey,\n rowRenderer,\n rows,\n useDragHandle,\n className,\n listComponent,\n ...rest\n }) {\n const t = useRef();\n const repositionToolbarBasedOnBodyScrollPosition = (SCROLLBAR_WIDTH) => () => {\n grid.refs.body.current.style.setProperty(\n '--toolbar-scroll',\n `${grid.refs.body.current.offsetWidth + grid.refs.body.current.scrollLeft - 15}px`,\n );\n grid.refs.body.current.style.setProperty(\n '--toolbar-scroll-paginated',\n `${grid.refs.body.current.offsetWidth + grid.refs.body.current.scrollLeft - 19}px`,\n );\n };\n useEffect(() => {\n setTimeout(repositionToolbarBasedOnBodyScrollPosition(-SCROLLBAR_WIDTH), 300);\n }, []);\n useEffect(() => {\n window.addEventListener('resize', repositionToolbarBasedOnBodyScrollPosition(-SCROLLBAR_WIDTH));\n return () => {\n window.removeEventListener('resize', repositionToolbarBasedOnBodyScrollPosition(-SCROLLBAR_WIDTH));\n };\n });\n return (\n <ScrollSyncPane notPaginated={notPaginated}>\n {({ registerPane }) => (\n <Component\n ref={t}\n classProps={classProps}\n className={className}\n listComponent={listComponent}\n columns={columns}\n getContainer={getContainer}\n helperClass={helperClass}\n innerBodyRef={innerBodyRef}\n // innerRef={innerRef}\n isPlaceholderActive={isPlaceholderActive}\n listProps={listProps}\n lockAxis={lockAxis}\n noResultsPlaceholder={noResultsPlaceholder}\n numRowsVisible={numRowsVisible}\n onSortEnd={onSortEnd}\n onSortOver={onSortOver}\n onSortStart={onSortStart}\n rowKey={rowKey}\n rowRenderer={rowRenderer}\n rows={rows}\n useDragHandle={useDragHandle}\n innerRef={mergeRefs(innerRef, registerPane, t)}\n {...rest}\n />\n )}\n </ScrollSyncPane>\n );\n };\n\nconst TableSyncHoc = (Component) =>\n function (props) {\n return (\n <ScrollSync\n proportional={false}\n onScroll={(e) => {\n e.target.style.setProperty('--toolbar-scroll', `${e.target.offsetWidth + e.target.scrollLeft - 15}px`);\n e.target.style.setProperty(\n '--toolbar-scroll-paginated',\n `${e.target.offsetWidth + e.target.scrollLeft - 19}px`,\n );\n }}\n >\n <Component {...props} />\n </ScrollSync>\n );\n };\n\nconst decorateRenderers = (renderers, grid) => {\n const HeaderWrapper = renderers.header.wrapper;\n const BodyWrapper = renderers.body.wrapper;\n const Table = renderers.table;\n const { paginated } = grid.props;\n\n renderers.table = useMemo(() => TableSyncHoc(Table), []);\n renderers.header.wrapper = useMemo(() => HeaderSyncHoc(HeaderWrapper), []);\n renderers.body.wrapper = useMemo(() => BodySyncHoc(BodyWrapper, !paginated, grid), []);\n\n return renderers;\n};\n\nexport const BodyHeaderScrollSyncPlugin = createInstancePlugin('body-header-scroll-sync', {\n decorateRenderers,\n});\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADmBQ;AAX/B,mBAAkD;AAClD,0BAA0B;AAC1B,uBAAiE;AACjE,8BAAkC;AAElC,MAAM,sBAAkB,2CAAkB,CAAC;AAE3C,MAAM,gBAAgB,CAAC,cACrB,SAAU,OAAO;AACf,SACE,4CAAC,mCACE,WAAC,EAAE,aAAa,MAAM,4CAAC,aAAW,GAAG,OAAO,cAAU,+BAAU,MAAM,UAAU,YAAY,GAAG,GAClG;AAEJ;AACF,MAAM,cAAc,CAAC,WAAW,cAAc,SAC5C,SAAU;AAAA,EACR;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GAAG;AACD,QAAM,QAAI,qBAAO;AACjB,QAAM,6CAA6C,CAACA,qBAAoB,MAAM;AAC5E,SAAK,KAAK,KAAK,QAAQ,MAAM;AAAA,MAC3B;AAAA,MACA,GAAG,KAAK,KAAK,KAAK,QAAQ,cAAc,KAAK,KAAK,KAAK,QAAQ,aAAa;AAAA,IAC9E;AACA,SAAK,KAAK,KAAK,QAAQ,MAAM;AAAA,MAC3B;AAAA,MACA,GAAG,KAAK,KAAK,KAAK,QAAQ,cAAc,KAAK,KAAK,KAAK,QAAQ,aAAa;AAAA,IAC9E;AAAA,EACF;AACA,8BAAU,MAAM;AACd,eAAW,2CAA2C,CAAC,eAAe,GAAG,GAA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AAc,aAAa,GAAG,CAAC,CAAC;AACzE,YAAU,KAAK,cAAU,sBAAQ,MAAM,YAAY,aAAa,CAAC,WAAW,IAAI,GAAG,CAAC,CAAC;AAErF,SAAO;AACT;AAEO,MAAM,iCAA6B,uCAAqB,2BAA2B;AAAA,EACxF;AACF,CAAC;",
6
6
  "names": ["SCROLLBAR_WIDTH"]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/plugins/body-header-scroll-sync/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../../src/plugins/body-header-scroll-sync/index.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export { BodyHeaderScrollSyncPlugin } from './BodyHeaderScrollSyncPlugin.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wCAA2C;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/plugins/column-dnd/DndColumnsPlugin.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../../src/plugins/column-dnd/DndColumnsPlugin.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["/* eslint-disable react/display-name */\nimport React, { useEffect, useMemo, useRef } from 'react';\nimport { SortableContainer, SortableElement } from 'react-sortable-hoc';\nimport { arrayMove, omit, mergeRefs } from '@elliemae/ds-utilities';\nimport { createInstancePlugin } from '@elliemae/ds-shared';\nimport { addDragAndDropToColumn } from './decorateGridWithDndColumns.js';\n\n// todo: remove once it's fixed in react-sortable-hoc library\nconst keysToOmit = [\n 'axis',\n 'contentWindow',\n 'disableAutoscroll',\n 'distance',\n 'getContainer',\n 'getHelperDimensions',\n 'helperClass',\n 'helperContainer',\n 'hideSortableGhost',\n 'keyboardSortingTransitionDuration',\n 'lockAxis',\n 'lockOffset',\n 'lockToContainerEdges',\n 'onSortEnd',\n 'onSortMove',\n 'onSortOver',\n 'onSortStart',\n 'pressDelay',\n 'pressThreshold',\n 'shouldCancelStart',\n 'transitionDuration',\n 'updateBeforeSortStart',\n 'useDragHandle',\n 'useWindowAsScrollContainer',\n];\n\nconst decorateColumn = (column, grid) => (column.isUserColumn ? addDragAndDropToColumn(grid, column) : column);\n\nconst getHeaderRowProps = (props, grid) => {\n const { onMoveColumnStart, onMoveColumnEnd, onMoveColumnOver } = grid.props;\n\n const headerRowRef = useRef();\n const columnDraggingOffset = useRef(0);\n const sortedColumns = useRef(grid.getInstance().decoratedColumns);\n const nodeRef = useRef();\n\n useEffect(() => {\n sortedColumns.current = grid.getInstance().decoratedColumns;\n });\n\n const onSortOver = (params) => {\n const { index, newIndex, oldIndex } = params;\n const oldColumn = sortedColumns.current[oldIndex];\n const newColumn = sortedColumns.current[newIndex];\n\n if (!newColumn.isUserColumn || !oldColumn.isUserColumn) return;\n\n const columnWidth = nodeRef.current.offsetWidth;\n const newColumnWidth = headerRowRef.current.childNodes.item(newColumn.index).offsetWidth;\n\n const forward = newIndex > oldIndex;\n\n // eslint-disable-next-line no-nested-ternary\n const columnTranslate = forward ? (newIndex > index ? columnWidth * -1 : 0) : newIndex < index ? columnWidth : 0;\n\n columnDraggingOffset.current += forward ? newColumnWidth : newColumnWidth * -1;\n\n newColumn.updateStyle({\n transitionDuration: '300ms',\n transform: `translate3d(${columnTranslate}px, 0, 0)`,\n });\n oldColumn.updateStyle({\n transitionDuration: '300ms',\n transform: `translate3d(${columnDraggingOffset.current}px, 0, 0)`,\n });\n\n sortedColumns.current = arrayMove(sortedColumns.current, oldIndex, newIndex);\n onMoveColumnOver(params);\n };\n\n const onSortStart = (params) => {\n const { node } = params;\n grid.disableEvents();\n nodeRef.current = node;\n onMoveColumnStart(params);\n };\n\n const onSortEnd = (params) => {\n const { oldIndex, newIndex } = params;\n grid.enableEvents();\n columnDraggingOffset.current = 0;\n sortedColumns.current = grid.decoratedColumns;\n grid.decoratedColumns.forEach((column) => {\n if (!column.updateStyle) return;\n column.updateStyle({\n transitionDuration: null,\n transform: null,\n });\n });\n\n const originalOldColumnIndex = grid.columns.findIndex(\n (column) => column.property === grid.decoratedColumns[oldIndex].property,\n );\n const originalNewColumnIndex = grid.columns.findIndex(\n (column) => column.property === grid.decoratedColumns[newIndex].property,\n );\n\n onMoveColumnEnd({\n newIndex: originalNewColumnIndex,\n oldIndex: originalOldColumnIndex,\n });\n };\n\n return {\n axis: 'x',\n helperClass: 'header-dnd-column',\n innerRef: mergeRefs(props.innerRef, headerRowRef),\n lockAxis: 'x',\n onSortEnd,\n onSortOver,\n onSortStart,\n useDragHandle: true,\n };\n};\n\nconst decorateRenderers = (renderers) => {\n const RowComponent = renderers.header.row;\n const CellComponent = renderers.header.cell;\n\n const Row = useMemo(() => SortableContainer((props) => <RowComponent {...omit(props, keysToOmit)} />), []);\n\n const Cell = useMemo(() => SortableElement(CellComponent), []);\n\n return {\n ...renderers,\n header: {\n ...renderers.header,\n row: Row,\n cell: Cell,\n },\n };\n};\n\nexport const DndColumnsPlugin = createInstancePlugin('dnd-columns', {\n getHeaderRowProps,\n decorateColumn,\n decorateRenderers,\n});\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADgIkC;AA/HzD,mBAAkD;AAClD,gCAAmD;AACnD,0BAA2C;AAC3C,uBAAqC;AACrC,wCAAuC;AAGvC,MAAM,aAAa;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AA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AAmB,uCAAqB,eAAe;AAAA,EAClE;AAAA,EACA;AAAA,EACA;AACF,CAAC;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/plugins/column-dnd/decorateGridWithDndColumns.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../../src/plugins/column-dnd/decorateGridWithDndColumns.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\nimport { SortableHandle } from 'react-sortable-hoc';\nimport { GripperVertical } from '@elliemae/ds-icons';\nimport { appendHeaderFormatter, mergeClassNameToColumnHeader } from '@elliemae/ds-shared';\n\nconst DragHandle = SortableHandle(() => <GripperVertical className=\"drag-handle\" />);\n\nconst DndHeaderFormatter = (value) => (\n <>\n <DragHandle />\n {value}\n </>\n);\n\nconst addDragAndDropToColumn = (grid, column) => {\n column = appendHeaderFormatter(DndHeaderFormatter, column);\n return mergeClassNameToColumnHeader('with-dnd-column', column);\n};\n\nexport { addDragAndDropToColumn };\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADKiB;AAJxC,gCAA+B;AAC/B,sBAAgC;AAChC,uBAAoE;AAEpE,MAAM,iBAAa,0CAAe,MAAM,4CAAC,mCAAgB,WAAU,eAAc,CAAE;AAEnF,MAAM,qBAAqB,CAAC,UAC1B,4EACE;AAAA,8CAAC,cAAW;AAAA,EACX;AAAA,GACH;AAGF,MAAM,yBAAyB,CAAC,MAAM,WAAW;AAC/C,eAAS,wCAAsB,oBAAoB,MAAM;AACzD,aAAO,+CAA6B,mBAAmB,MAAM;AAC/D;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/plugins/column-dnd/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../../src/plugins/column-dnd/index.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export { DndColumnsPlugin } from './DndColumnsPlugin.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAAiC;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/plugins/column-sizing/ColumnSizingPlugin.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../../src/plugins/column-sizing/ColumnSizingPlugin.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["/* eslint-disable no-param-reassign */\n/* eslint-disable react-hooks/rules-of-hooks */\nimport { useRef } from 'react';\nimport { cx } from '@elliemae/ds-utilities';\nimport { createInstancePlugin } from '@elliemae/ds-shared';\nimport { useStylesheetHelpers } from './useStylesheetHelpers.js';\nimport { useColumnSizeService } from './useColumnSizeService.js';\nimport { getTableProps } from './ext-points/getTableProps.js';\nimport { decorateColumn } from './ext-points/decorateColumn.js';\n\nconst getHeaderRowProps = (rowProps, { rowsStylesheet }) => {\n rowProps.className = `${rowsStylesheet.getRowClassName()}-header`;\n return rowProps;\n};\n\nconst getRowProps = (rowProps, { rowsStylesheet }) => {\n rowProps.className = cx(rowProps.className, rowsStylesheet.getRowClassName());\n return rowProps;\n};\n\nconst decorateColumns = (columns, grid) => grid.columnsStylesheet.decorateColumns(columns, grid);\n\nconst decorateGrid = (grid) => {\n const isDragging = useRef(false);\n const tableRef = useRef();\n const resizedColumns = useRef({});\n const scrollbarWidth = useRef();\n const bodyWidth = useRef();\n const allColumnsHaveBeenFixed = useRef(false);\n const columnSizeService = useColumnSizeService(grid);\n const { columnsStylesheet, rowsStylesheet } = useStylesheetHelpers(grid);\n\n // row size side-effect\n const updateRowWidth = (width) => {\n const gridWidth = width || tableRef.current.offsetWidth;\n const columnsTotalSize = columnSizeService.computeColumnsTotalSize();\n\n if (columnsTotalSize > gridWidth + 5) {\n if (!allColumnsHaveBeenFixed.current && isDragging.current) {\n columnSizeService.setActualColumnsSizesFixed();\n allColumnsHaveBeenFixed.current = true;\n }\n rowsStylesheet.update(columnsTotalSize);\n } else {\n rowsStylesheet.update(undefined);\n }\n };\n\n return {\n isDragging,\n tableRef,\n bodyWidth,\n scrollbarWidth,\n columnSizeService,\n rowsStylesheet,\n columnsStylesheet,\n resizedColumns,\n updateRowWidth,\n };\n};\n\nexport const ColumnSizingPlugin = createInstancePlugin('column-sizing', {\n decorateGrid: decorateGrid,\n decorateColumn: decorateColumn,\n getRowProps: getRowProps,\n getHeaderRowProps: getHeaderRowProps,\n getTableProps: getTableProps,\n decorateColumns: decorateColumns,\n});\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,mBAAuB;AACvB,0BAAmB;AACnB,uBAAqC;AACrC,kCAAqC;AACrC,kCAAqC;AACrC,2BAA8B;AAC9B,4BAA+B;AAE/B,MAAM,oBAAoB,CAAC,UAAU,EAAE,eAAe,MAAM;AAC1D,WAAS,YAAY,GAAG,eAAe,gBAAgB;AACvD,SAAO;AACT;AAEA,MAAM,cAAc,CAAC,UAAU,EAAE,eAAe,MAAM;AACpD,WAAS,gBAAY,wBAAG,SAAS,WAAW,eAAe,gBAAgB,CAAC;AAC5E,SAAO;AACT;AAEA,MAAM,kBAAkB,CAAC,SAAS,SAAS,KAAK,kBAAkB,gBAAgB,SAAS,IAAI;AAE/F,MAAM,eAAe,CAAC,SAAS;AAC7B,QAAM,iBAAa,qBAAO,KAAK;AAC/B,QAAM,eAAW,qBAAO;AACxB,QAAM,qBAAiB,qBAAO,CAAC,CAAC;AAChC,QAAM,qBAAiB,qBAAO;AAC9B,QAA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