@elliemae/ds-datagrids 3.16.0-next.1 → 3.16.0-next.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/DSDataGrid.js +249 -241
- package/dist/cjs/DSDataGrid.js.map +2 -2
- package/dist/cjs/DataGridImpl.js +11 -11
- package/dist/cjs/DataGridImpl.js.map +1 -1
- package/dist/cjs/PaginatedDataGrid.js +9 -9
- package/dist/cjs/PaginatedDataGrid.js.map +2 -2
- package/dist/cjs/components/BodyList.js +3 -5
- package/dist/cjs/components/BodyList.js.map +2 -2
- package/dist/cjs/components/ColumnVisibilityMenuOption.js +1 -6
- package/dist/cjs/components/ColumnVisibilityMenuOption.js.map +2 -2
- package/dist/cjs/components/ColumnsOptionsMenuSection.js +2 -11
- package/dist/cjs/components/ColumnsOptionsMenuSection.js.map +2 -2
- package/dist/cjs/components/EmptyState.js +5 -6
- package/dist/cjs/components/EmptyState.js.map +3 -3
- package/dist/cjs/components/List.js +2 -2
- package/dist/cjs/components/List.js.map +2 -2
- package/dist/cjs/components/ListItem.js +3 -6
- package/dist/cjs/components/ListItem.js.map +2 -2
- package/dist/cjs/components/NoResults.js +4 -10
- package/dist/cjs/components/NoResults.js.map +2 -2
- package/dist/cjs/components/RowsLoader.js +1 -1
- package/dist/cjs/components/RowsLoader.js.map +1 -1
- package/dist/cjs/components/Table.js +5 -5
- package/dist/cjs/components/Table.js.map +1 -1
- package/dist/cjs/components/TableBody.js +2 -7
- package/dist/cjs/components/TableBody.js.map +2 -2
- package/dist/cjs/components/TableHeader.js +1 -1
- package/dist/cjs/components/TableHeader.js.map +2 -2
- package/dist/cjs/components/footer/addOptionalFooterComponents.js +1 -1
- package/dist/cjs/components/footer/addOptionalFooterComponents.js.map +1 -1
- package/dist/cjs/components/index.js +5 -5
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/components/renderers/defaultClassedRenderers.js +16 -36
- package/dist/cjs/components/renderers/defaultClassedRenderers.js.map +2 -2
- package/dist/cjs/components/renderers/index.js +2 -2
- package/dist/cjs/components/renderers/index.js.map +1 -1
- package/dist/cjs/components/renderers/renderRowsLoader.js +2 -4
- package/dist/cjs/components/renderers/renderRowsLoader.js.map +2 -2
- package/dist/cjs/defaultPlugins.js +5 -10
- package/dist/cjs/defaultPlugins.js.map +2 -2
- package/dist/cjs/index.js +9 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/package.json +7 -0
- package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +22 -18
- package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +2 -2
- package/dist/cjs/plugins/body-header-scroll-sync/index.js +1 -1
- package/dist/cjs/plugins/body-header-scroll-sync/index.js.map +1 -1
- package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js +1 -1
- package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js.map +1 -1
- package/dist/cjs/plugins/column-dnd/index.js +1 -1
- package/dist/cjs/plugins/column-dnd/index.js.map +1 -1
- package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js +4 -4
- package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js.map +1 -1
- package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js +1 -1
- package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js.map +1 -1
- package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js +1 -1
- package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js.map +1 -1
- package/dist/cjs/plugins/column-sizing/index.js +1 -1
- package/dist/cjs/plugins/column-sizing/index.js.map +1 -1
- package/dist/cjs/plugins/column-sizing/useColumnSizeService.js +7 -26
- package/dist/cjs/plugins/column-sizing/useColumnSizeService.js.map +2 -2
- package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js +2 -2
- package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js.map +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js.map +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/index.js +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/index.js.map +1 -1
- package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js.map +1 -1
- package/dist/cjs/plugins/editable/EditableComponents/TextBox.js.map +1 -1
- package/dist/cjs/plugins/editable/EditableComponents/index.js +2 -2
- package/dist/cjs/plugins/editable/EditableComponents/index.js.map +1 -1
- package/dist/cjs/plugins/editable/EditablePlugin.js +1 -1
- package/dist/cjs/plugins/editable/EditablePlugin.js.map +1 -1
- package/dist/cjs/plugins/editable/decorateEditable.js +1 -1
- package/dist/cjs/plugins/editable/decorateEditable.js.map +1 -1
- package/dist/cjs/plugins/editable/getEditorComponent.js +3 -16
- package/dist/cjs/plugins/editable/getEditorComponent.js.map +2 -2
- package/dist/cjs/plugins/editable/index.js +2 -2
- package/dist/cjs/plugins/editable/index.js.map +1 -1
- package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js +23 -25
- package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js.map +2 -2
- package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js +5 -5
- package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js.map +2 -2
- package/dist/cjs/plugins/expandable-grid/ExpandedRow.js +6 -6
- package/dist/cjs/plugins/expandable-grid/ExpandedRow.js.map +1 -1
- package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js +12 -8
- package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js.map +2 -2
- package/dist/cjs/plugins/expandable-grid/index.js +2 -2
- package/dist/cjs/plugins/expandable-grid/index.js.map +1 -1
- package/dist/cjs/plugins/expandable-grid/useExpandGridState.js.map +2 -2
- package/dist/cjs/plugins/export-data/index.js +1 -1
- package/dist/cjs/plugins/export-data/index.js.map +1 -1
- package/dist/cjs/plugins/filterable/FilterablePlugin.js +3 -3
- package/dist/cjs/plugins/filterable/FilterablePlugin.js.map +2 -2
- package/dist/cjs/plugins/filterable/addFilterToColumn.js +1 -1
- package/dist/cjs/plugins/filterable/addFilterToColumn.js.map +1 -1
- package/dist/cjs/plugins/filterable/components/FilterableHeader.js +1 -1
- package/dist/cjs/plugins/filterable/components/FilterableHeader.js.map +2 -2
- package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +45 -47
- package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +2 -2
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +46 -48
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +2 -2
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +43 -45
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +2 -2
- package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js +3 -3
- package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +2 -2
- package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +5 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +2 -2
- package/dist/cjs/plugins/filterable/filterableFormatter.js +29 -37
- package/dist/cjs/plugins/filterable/filterableFormatter.js.map +2 -2
- package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js +2 -4
- package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +2 -2
- package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js.map +2 -2
- package/dist/cjs/plugins/filterable/helper.js.map +2 -2
- package/dist/cjs/plugins/filterable/index.js +1 -1
- package/dist/cjs/plugins/filterable/index.js.map +1 -1
- package/dist/cjs/plugins/filterable/useFilterableState.js +3 -7
- package/dist/cjs/plugins/filterable/useFilterableState.js.map +2 -2
- package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js +4 -4
- package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js.map +2 -2
- package/dist/cjs/plugins/grouping-grid/walkStrategy.js.map +2 -2
- package/dist/cjs/plugins/index.js +16 -16
- package/dist/cjs/plugins/index.js.map +1 -1
- package/dist/cjs/plugins/infinite-scrolling/index.js +1 -1
- package/dist/cjs/plugins/infinite-scrolling/index.js.map +1 -1
- package/dist/cjs/plugins/pagination/PaginationPlugin.js +4 -4
- package/dist/cjs/plugins/pagination/PaginationPlugin.js.map +2 -2
- package/dist/cjs/plugins/pagination/components/Pagination.js +5 -24
- package/dist/cjs/plugins/pagination/components/Pagination.js.map +2 -2
- package/dist/cjs/plugins/pagination/components/PerPageDropdown.js +2 -2
- package/dist/cjs/plugins/pagination/components/PerPageDropdown.js.map +2 -2
- package/dist/cjs/plugins/pagination/helper.js.map +2 -2
- package/dist/cjs/plugins/pagination/index.js +1 -1
- package/dist/cjs/plugins/pagination/index.js.map +1 -1
- package/dist/cjs/plugins/pagination/usePaginationState.js +1 -1
- package/dist/cjs/plugins/pagination/usePaginationState.js.map +1 -1
- package/dist/cjs/plugins/resizable/ResizablePlugin.js +1 -1
- package/dist/cjs/plugins/resizable/ResizablePlugin.js.map +1 -1
- package/dist/cjs/plugins/resizable/decorateResizable.js +4 -2
- package/dist/cjs/plugins/resizable/decorateResizable.js.map +2 -2
- package/dist/cjs/plugins/resizable/index.js +1 -1
- package/dist/cjs/plugins/resizable/index.js.map +1 -1
- package/dist/cjs/plugins/resizable/useResizeHandle.js +2 -12
- package/dist/cjs/plugins/resizable/useResizeHandle.js.map +2 -2
- package/dist/cjs/plugins/row-dnd/index.js +1 -1
- package/dist/cjs/plugins/row-dnd/index.js.map +1 -1
- package/dist/cjs/plugins/selectable/SelectablePlugin.js +3 -3
- package/dist/cjs/plugins/selectable/SelectablePlugin.js.map +1 -1
- package/dist/cjs/plugins/selectable/addSelectableColumn.js +1 -1
- package/dist/cjs/plugins/selectable/addSelectableColumn.js.map +1 -1
- package/dist/cjs/plugins/selectable/index.js +1 -1
- package/dist/cjs/plugins/selectable/index.js.map +1 -1
- package/dist/cjs/plugins/selectable/selectableFormatter.js +1 -1
- package/dist/cjs/plugins/selectable/selectableFormatter.js.map +2 -2
- package/dist/cjs/plugins/selectable/useSelectableState.js +1 -1
- package/dist/cjs/plugins/selectable/useSelectableState.js.map +2 -2
- package/dist/cjs/plugins/sortable/SortablePlugin.js +3 -3
- package/dist/cjs/plugins/sortable/SortablePlugin.js.map +1 -1
- package/dist/cjs/plugins/sortable/index.js +1 -1
- package/dist/cjs/plugins/sortable/index.js.map +1 -1
- package/dist/cjs/plugins/sortable/sortTree.js.map +2 -2
- package/dist/cjs/plugins/sortable/useSortableState.js +2 -4
- package/dist/cjs/plugins/sortable/useSortableState.js.map +2 -2
- package/dist/cjs/plugins/toolbar/RowRenderer.js +2 -2
- package/dist/cjs/plugins/toolbar/RowRenderer.js.map +1 -1
- package/dist/cjs/plugins/toolbar/ToolbarPlugin.js +1 -1
- package/dist/cjs/plugins/toolbar/ToolbarPlugin.js.map +1 -1
- package/dist/cjs/plugins/toolbar/index.js +1 -1
- package/dist/cjs/plugins/toolbar/index.js.map +1 -1
- package/dist/cjs/plugins/virtualization/AutoHeightList.js.map +2 -2
- package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js +2 -2
- package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js.map +2 -2
- package/dist/cjs/plugins/virtualization/VirtualizedBody.js +4 -4
- package/dist/cjs/plugins/virtualization/VirtualizedBody.js.map +1 -1
- package/dist/cjs/plugins/virtualization/index.js +1 -1
- package/dist/cjs/plugins/virtualization/index.js.map +1 -1
- package/dist/cjs/renders/CellWithAddons.js +1 -1
- package/dist/cjs/renders/CellWithAddons.js.map +1 -1
- package/dist/cjs/renders/index.js +2 -2
- package/dist/cjs/renders/index.js.map +1 -1
- package/dist/cjs/rowSizes.js +1 -5
- package/dist/cjs/rowSizes.js.map +2 -2
- package/dist/cjs/utilities/getPluginsFromProps.js +13 -13
- package/dist/cjs/utilities/getPluginsFromProps.js.map +1 -1
- package/dist/cjs/utilities/normalizeData.js.map +2 -2
- package/dist/esm/DSDataGrid.js +125 -117
- package/dist/esm/DSDataGrid.js.map +2 -2
- package/dist/esm/DataGridImpl.js +11 -11
- package/dist/esm/DataGridImpl.js.map +1 -1
- package/dist/esm/PaginatedDataGrid.js +9 -9
- package/dist/esm/PaginatedDataGrid.js.map +2 -2
- package/dist/esm/components/BodyList.js +3 -5
- package/dist/esm/components/BodyList.js.map +2 -2
- package/dist/esm/components/ColumnVisibilityMenuOption.js +1 -6
- package/dist/esm/components/ColumnVisibilityMenuOption.js.map +2 -2
- package/dist/esm/components/ColumnsOptionsMenuSection.js +2 -11
- package/dist/esm/components/ColumnsOptionsMenuSection.js.map +2 -2
- package/dist/esm/components/EmptyState.js +1 -2
- package/dist/esm/components/EmptyState.js.map +2 -2
- package/dist/esm/components/List.js +2 -2
- package/dist/esm/components/List.js.map +2 -2
- package/dist/esm/components/ListItem.js +3 -6
- package/dist/esm/components/ListItem.js.map +2 -2
- package/dist/esm/components/NoResults.js +4 -10
- package/dist/esm/components/NoResults.js.map +2 -2
- package/dist/esm/components/RowsLoader.js +1 -1
- package/dist/esm/components/RowsLoader.js.map +1 -1
- package/dist/esm/components/Table.js +5 -5
- package/dist/esm/components/Table.js.map +1 -1
- package/dist/esm/components/TableBody.js +2 -7
- package/dist/esm/components/TableBody.js.map +2 -2
- package/dist/esm/components/TableHeader.js +1 -1
- package/dist/esm/components/TableHeader.js.map +2 -2
- package/dist/esm/components/footer/addOptionalFooterComponents.js +1 -1
- package/dist/esm/components/footer/addOptionalFooterComponents.js.map +1 -1
- package/dist/esm/components/index.js +5 -5
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/components/renderers/defaultClassedRenderers.js +16 -40
- package/dist/esm/components/renderers/defaultClassedRenderers.js.map +2 -2
- package/dist/esm/components/renderers/index.js +2 -2
- package/dist/esm/components/renderers/index.js.map +1 -1
- package/dist/esm/components/renderers/renderRowsLoader.js +2 -4
- package/dist/esm/components/renderers/renderRowsLoader.js.map +2 -2
- package/dist/esm/defaultPlugins.js +5 -10
- package/dist/esm/defaultPlugins.js.map +2 -2
- package/dist/esm/index.js +9 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/package.json +7 -0
- package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +22 -18
- package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +2 -2
- package/dist/esm/plugins/body-header-scroll-sync/index.js +1 -1
- package/dist/esm/plugins/body-header-scroll-sync/index.js.map +1 -1
- package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js +1 -1
- package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js.map +1 -1
- package/dist/esm/plugins/column-dnd/index.js +1 -1
- package/dist/esm/plugins/column-dnd/index.js.map +1 -1
- package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js +4 -4
- package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js.map +1 -1
- package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js +1 -1
- package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js.map +1 -1
- package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js +1 -1
- package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js.map +1 -1
- package/dist/esm/plugins/column-sizing/index.js +1 -1
- package/dist/esm/plugins/column-sizing/index.js.map +1 -1
- package/dist/esm/plugins/column-sizing/useColumnSizeService.js +7 -26
- package/dist/esm/plugins/column-sizing/useColumnSizeService.js.map +2 -2
- package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js +2 -2
- package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js.map +1 -1
- package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js +1 -1
- package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +1 -1
- package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js +1 -1
- package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +1 -1
- package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js +1 -1
- package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js.map +1 -1
- package/dist/esm/plugins/custom-cell-renderer/index.js +1 -1
- package/dist/esm/plugins/custom-cell-renderer/index.js.map +1 -1
- package/dist/esm/plugins/editable/EditableComponents/ComboBox.js.map +1 -1
- package/dist/esm/plugins/editable/EditableComponents/TextBox.js.map +1 -1
- package/dist/esm/plugins/editable/EditableComponents/index.js +2 -2
- package/dist/esm/plugins/editable/EditableComponents/index.js.map +1 -1
- package/dist/esm/plugins/editable/EditablePlugin.js +1 -1
- package/dist/esm/plugins/editable/EditablePlugin.js.map +1 -1
- package/dist/esm/plugins/editable/decorateEditable.js +1 -1
- package/dist/esm/plugins/editable/decorateEditable.js.map +1 -1
- package/dist/esm/plugins/editable/getEditorComponent.js +3 -16
- package/dist/esm/plugins/editable/getEditorComponent.js.map +2 -2
- package/dist/esm/plugins/editable/index.js +2 -2
- package/dist/esm/plugins/editable/index.js.map +1 -1
- package/dist/esm/plugins/expandable-grid/ExpandableColumn.js +23 -25
- package/dist/esm/plugins/expandable-grid/ExpandableColumn.js.map +2 -2
- package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js +5 -5
- package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js.map +2 -2
- package/dist/esm/plugins/expandable-grid/ExpandedRow.js +6 -6
- package/dist/esm/plugins/expandable-grid/ExpandedRow.js.map +1 -1
- package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js +12 -8
- package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js.map +2 -2
- package/dist/esm/plugins/expandable-grid/index.js +2 -2
- package/dist/esm/plugins/expandable-grid/index.js.map +1 -1
- package/dist/esm/plugins/expandable-grid/useExpandGridState.js.map +2 -2
- package/dist/esm/plugins/export-data/index.js +1 -1
- package/dist/esm/plugins/export-data/index.js.map +1 -1
- package/dist/esm/plugins/filterable/FilterablePlugin.js +3 -3
- package/dist/esm/plugins/filterable/FilterablePlugin.js.map +2 -2
- package/dist/esm/plugins/filterable/addFilterToColumn.js +1 -1
- package/dist/esm/plugins/filterable/addFilterToColumn.js.map +1 -1
- package/dist/esm/plugins/filterable/components/FilterableHeader.js +1 -1
- package/dist/esm/plugins/filterable/components/FilterableHeader.js.map +2 -2
- package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +45 -47
- package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +2 -2
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +46 -48
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +2 -2
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +43 -45
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +2 -2
- package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js +3 -3
- package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +2 -2
- package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +5 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +2 -2
- package/dist/esm/plugins/filterable/filterableFormatter.js +29 -37
- package/dist/esm/plugins/filterable/filterableFormatter.js.map +2 -2
- package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js +2 -4
- package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +2 -2
- package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js.map +2 -2
- package/dist/esm/plugins/filterable/helper.js +1 -7
- package/dist/esm/plugins/filterable/helper.js.map +2 -2
- package/dist/esm/plugins/filterable/index.js +1 -1
- package/dist/esm/plugins/filterable/index.js.map +1 -1
- package/dist/esm/plugins/filterable/useFilterableState.js +3 -11
- package/dist/esm/plugins/filterable/useFilterableState.js.map +2 -2
- package/dist/esm/plugins/grouping-grid/GroupingPlugin.js +4 -4
- package/dist/esm/plugins/grouping-grid/GroupingPlugin.js.map +2 -2
- package/dist/esm/plugins/grouping-grid/walkStrategy.js.map +2 -2
- package/dist/esm/plugins/index.js +16 -16
- package/dist/esm/plugins/index.js.map +1 -1
- package/dist/esm/plugins/infinite-scrolling/index.js +1 -1
- package/dist/esm/plugins/infinite-scrolling/index.js.map +1 -1
- package/dist/esm/plugins/pagination/PaginationPlugin.js +4 -4
- package/dist/esm/plugins/pagination/PaginationPlugin.js.map +2 -2
- package/dist/esm/plugins/pagination/components/Pagination.js +5 -24
- package/dist/esm/plugins/pagination/components/Pagination.js.map +2 -2
- package/dist/esm/plugins/pagination/components/PerPageDropdown.js +2 -2
- package/dist/esm/plugins/pagination/components/PerPageDropdown.js.map +2 -2
- package/dist/esm/plugins/pagination/helper.js.map +2 -2
- package/dist/esm/plugins/pagination/index.js +1 -1
- package/dist/esm/plugins/pagination/index.js.map +1 -1
- package/dist/esm/plugins/pagination/usePaginationState.js +1 -1
- package/dist/esm/plugins/pagination/usePaginationState.js.map +1 -1
- package/dist/esm/plugins/resizable/ResizablePlugin.js +1 -1
- package/dist/esm/plugins/resizable/ResizablePlugin.js.map +1 -1
- package/dist/esm/plugins/resizable/decorateResizable.js +4 -2
- package/dist/esm/plugins/resizable/decorateResizable.js.map +2 -2
- package/dist/esm/plugins/resizable/index.js +1 -1
- package/dist/esm/plugins/resizable/index.js.map +1 -1
- package/dist/esm/plugins/resizable/useResizeHandle.js +2 -12
- package/dist/esm/plugins/resizable/useResizeHandle.js.map +2 -2
- package/dist/esm/plugins/row-dnd/index.js +1 -1
- package/dist/esm/plugins/row-dnd/index.js.map +1 -1
- package/dist/esm/plugins/selectable/SelectablePlugin.js +3 -3
- package/dist/esm/plugins/selectable/SelectablePlugin.js.map +1 -1
- package/dist/esm/plugins/selectable/addSelectableColumn.js +1 -1
- package/dist/esm/plugins/selectable/addSelectableColumn.js.map +1 -1
- package/dist/esm/plugins/selectable/index.js +1 -1
- package/dist/esm/plugins/selectable/index.js.map +1 -1
- package/dist/esm/plugins/selectable/selectableFormatter.js +1 -1
- package/dist/esm/plugins/selectable/selectableFormatter.js.map +2 -2
- package/dist/esm/plugins/selectable/useSelectableState.js +1 -5
- package/dist/esm/plugins/selectable/useSelectableState.js.map +2 -2
- package/dist/esm/plugins/sortable/SortablePlugin.js +3 -3
- package/dist/esm/plugins/sortable/SortablePlugin.js.map +1 -1
- package/dist/esm/plugins/sortable/index.js +1 -1
- package/dist/esm/plugins/sortable/index.js.map +1 -1
- package/dist/esm/plugins/sortable/sortTree.js.map +2 -2
- package/dist/esm/plugins/sortable/useSortableState.js +2 -4
- package/dist/esm/plugins/sortable/useSortableState.js.map +2 -2
- package/dist/esm/plugins/toolbar/RowRenderer.js +2 -2
- package/dist/esm/plugins/toolbar/RowRenderer.js.map +1 -1
- package/dist/esm/plugins/toolbar/ToolbarPlugin.js +1 -1
- package/dist/esm/plugins/toolbar/ToolbarPlugin.js.map +1 -1
- package/dist/esm/plugins/toolbar/index.js +1 -1
- package/dist/esm/plugins/toolbar/index.js.map +1 -1
- package/dist/esm/plugins/virtualization/AutoHeightList.js.map +2 -2
- package/dist/esm/plugins/virtualization/VirtualizationPlugin.js +2 -2
- package/dist/esm/plugins/virtualization/VirtualizationPlugin.js.map +2 -2
- package/dist/esm/plugins/virtualization/VirtualizedBody.js +4 -4
- package/dist/esm/plugins/virtualization/VirtualizedBody.js.map +1 -1
- package/dist/esm/plugins/virtualization/index.js +1 -1
- package/dist/esm/plugins/virtualization/index.js.map +1 -1
- package/dist/esm/renders/CellWithAddons.js +1 -1
- package/dist/esm/renders/CellWithAddons.js.map +1 -1
- package/dist/esm/renders/index.js +2 -2
- package/dist/esm/renders/index.js.map +1 -1
- package/dist/esm/rowSizes.js +1 -5
- package/dist/esm/rowSizes.js.map +2 -2
- package/dist/esm/utilities/getPluginsFromProps.js +13 -13
- package/dist/esm/utilities/getPluginsFromProps.js.map +1 -1
- package/dist/esm/utilities/normalizeData.js.map +2 -2
- package/package.json +22 -21
@@ -41,15 +41,9 @@ const NoResultsContainer = import_ds_system.styled.div`
|
|
41
41
|
height: calc(100% - 36px);
|
42
42
|
overflow: auto;
|
43
43
|
`;
|
44
|
-
const NoResults = ({ innerRef, rowRenderer, children, ...rest }) => {
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
{},
|
49
|
-
{ style: { visibility: "hidden", marginBottom: 0 } },
|
50
|
-
{}
|
51
|
-
)
|
52
|
-
] });
|
53
|
-
};
|
44
|
+
const NoResults = ({ innerRef, rowRenderer, children, ...rest }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
45
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(NoResultsContainer, { ...rest, innerRef, children }),
|
46
|
+
rowRenderer({}, { style: { visibility: "hidden", marginBottom: 0 } }, {})
|
47
|
+
] });
|
54
48
|
var NoResults_default = NoResults;
|
55
49
|
//# sourceMappingURL=NoResults.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/components/NoResults.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
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 }) =>
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
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
|
+
"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,aAAa,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": []
|
7
7
|
}
|
@@ -31,7 +31,7 @@ module.exports = __toCommonJS(RowsLoader_exports);
|
|
31
31
|
var React = __toESM(require("react"));
|
32
32
|
var import_jsx_runtime = require("react/jsx-runtime");
|
33
33
|
var import_ds_spinner = require("@elliemae/ds-spinner");
|
34
|
-
var import_defaultClassedRenderers = require("./renderers/defaultClassedRenderers");
|
34
|
+
var import_defaultClassedRenderers = require("./renderers/defaultClassedRenderers.js");
|
35
35
|
const RowsLoader = ({ size = "m" }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_defaultClassedRenderers.SpinnerContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_spinner.DSSpinner, { size }) });
|
36
36
|
var RowsLoader_default = RowsLoader;
|
37
37
|
//# sourceMappingURL=RowsLoader.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/components/RowsLoader.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { DSSpinner } from '@elliemae/ds-spinner';\nimport { SpinnerContainer } from './renderers/defaultClassedRenderers';\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"],
|
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": []
|
7
7
|
}
|
@@ -31,11 +31,11 @@ module.exports = __toCommonJS(Table_exports);
|
|
31
31
|
var React = __toESM(require("react"));
|
32
32
|
var import_jsx_runtime = require("react/jsx-runtime");
|
33
33
|
var import_react = require("react");
|
34
|
-
var import_TableHeader = require("./TableHeader");
|
35
|
-
var import_TableBody = require("./TableBody");
|
36
|
-
var import_HeaderCell = require("./HeaderCell");
|
37
|
-
var import_BodyCell = require("./BodyCell");
|
38
|
-
var import_tableContext = require("./tableContext");
|
34
|
+
var import_TableHeader = require("./TableHeader.js");
|
35
|
+
var import_TableBody = require("./TableBody.js");
|
36
|
+
var import_HeaderCell = require("./HeaderCell.js");
|
37
|
+
var import_BodyCell = require("./BodyCell.js");
|
38
|
+
var import_tableContext = require("./tableContext.js");
|
39
39
|
const { Provider } = import_tableContext.TableContext;
|
40
40
|
const Table = (props) => {
|
41
41
|
const {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/components/Table.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["/* eslint-disable no-loops/no-loops,no-plusplus */\nimport React, { useCallback, useMemo, useEffect } from 'react';\nimport { TableHeader } from './TableHeader';\nimport { TableBody } from './TableBody';\nimport { HeaderCell } from './HeaderCell';\nimport { BodyCell } from './BodyCell';\nimport { TableContext } from './tableContext';\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"],
|
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;AAAA,YAChB,aAAa;AAAA,YACb,WAAW;AAAA,YACX,MAAM;AAAA;AAAA,UALD;AAAA,QAMP;AAAA,MACF;AAAA,IACF;AAEA,UAAM,WAAW,kBAAkB,CAAC,GAAG,CAAC,CAAC;AACzC,WAAO,4CAAC,OAAK,GAAG,UAAW,iBAAM;AAAA,EACnC;AAEA,QAAM,sBAAkB;AAAA,IACtB,CAAC,SAAS,UAAU,gBAAgB;AAClC,YAAM,MAAM,UAAU,KAAK;AAC3B,YAAM,OAAO,UAAU,KAAK;AAE5B,YAAM,eAAe,YAAY,UAAU,EAAE,GAAG,aAAa,QAAQ,CAAC;AAGtE,YAAM,QAAQ,CAAC;AAGf,eAAS,QAAQ,GAAG,QAAQ,QAAQ,QAAQ,SAAS;AACnD,cAAM;AAAA,UACJ;AAAA,YAAC;AAAA;AAAA,cAEC,YAAY,EAAE,SAAS;AAAA,cACvB,QAAQ,QAAQ;AAAA,cAChB,aAAa;AAAA,cACb,WAAW;AAAA,cACX,MAAM;AAAA,cACN,UAAU,YAAY;AAAA,cACtB,UAAU,EAAE,SAAS,GAAG,aAAa;AAAA;AAAA,YAPhC;AAAA,UAQP;AAAA,QACF;AAAA,MACF;AAEA,aACE,4CAAC,OAAK,GAAG,cAAc,SACpB,iBACH;AAAA,IAEJ;AAAA,IACA,CAAC,SAAS,SAAS;AAAA,EACrB;AAEA,QAAM,iBAAiB,UAAU;AAEjC,QAAM,QAAQ,EAAE,GAAG,OAAO,iBAAiB,kBAAkB;AAE7D,SACE,4CAAC,YAAS,OACR;AAAA,IAAC;AAAA;AAAA,MACE,GAAG,cAAc;AAAA,QAChB,UAAU;AAAA,QACV;AAAA,MACF,CAAC;AAAA,MAEA;AAAA;AAAA,EACH,GACF;AAEJ;AAEA,MAAM,SAAS;AACf,MAAM,OAAO;AAGb,IAAO,gBAAQ;",
|
6
6
|
"names": []
|
7
7
|
}
|
@@ -31,13 +31,8 @@ module.exports = __toCommonJS(TableBody_exports);
|
|
31
31
|
var React = __toESM(require("react"));
|
32
32
|
var import_jsx_runtime = require("react/jsx-runtime");
|
33
33
|
var import_react = require("react");
|
34
|
-
var import_tableContext = require("./tableContext");
|
35
|
-
const TableBody = (0, import_react.memo)(({
|
36
|
-
rows,
|
37
|
-
noResultsPlaceholder = "No data",
|
38
|
-
isPlaceholderActive = false,
|
39
|
-
...props
|
40
|
-
}) => {
|
34
|
+
var import_tableContext = require("./tableContext.js");
|
35
|
+
const TableBody = (0, import_react.memo)(({ rows, noResultsPlaceholder = "No data", isPlaceholderActive = false, ...props }) => {
|
41
36
|
const {
|
42
37
|
refs,
|
43
38
|
decoratedColumns,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/components/TableBody.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import React, { useContext, memo } from 'react';\nimport { TableContext } from './tableContext';\n\nconst TableBody = memo(({
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
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
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADgBnB;AAhBJ,mBAAwC;AACxC,0BAA6B;AAE7B,MAAM,gBAAY,mBAAK,CAAC,EAAE,MAAM,uBAAuB,WAAW,sBAAsB,UAAU,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": []
|
7
7
|
}
|
@@ -31,7 +31,7 @@ module.exports = __toCommonJS(TableHeader_exports);
|
|
31
31
|
var React = __toESM(require("react"));
|
32
32
|
var import_jsx_runtime = require("react/jsx-runtime");
|
33
33
|
var import_react = require("react");
|
34
|
-
var import_tableContext = require("./tableContext");
|
34
|
+
var import_tableContext = require("./tableContext.js");
|
35
35
|
const TableHeader = (props) => {
|
36
36
|
const {
|
37
37
|
decoratedRenderers: renderers,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/components/TableHeader.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import React, { useContext } from 'react';\nimport { TableContext } from './tableContext';\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
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADcnB;AAdJ,mBAAkC;AAClC,0BAA6B;AAE7B,MAAM,cAAc,CAAC,
|
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
|
+
"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": []
|
7
7
|
}
|
@@ -30,7 +30,7 @@ __export(addOptionalFooterComponents_exports, {
|
|
30
30
|
module.exports = __toCommonJS(addOptionalFooterComponents_exports);
|
31
31
|
var React = __toESM(require("react"));
|
32
32
|
var import_jsx_runtime = require("react/jsx-runtime");
|
33
|
-
var import_Pagination = require("../../plugins/pagination/components/Pagination");
|
33
|
+
var import_Pagination = require("../../plugins/pagination/components/Pagination.js");
|
34
34
|
const addOptionalFooterComponents = ({ grid, rows }) => {
|
35
35
|
const {
|
36
36
|
props: { maxPerPage, minPerPage, paginated, paginationStep },
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../../src/components/footer/addOptionalFooterComponents.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { Pagination } from '../../plugins/pagination/components/Pagination';\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"],
|
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": []
|
7
7
|
}
|
@@ -32,9 +32,9 @@ __export(components_exports, {
|
|
32
32
|
});
|
33
33
|
module.exports = __toCommonJS(components_exports);
|
34
34
|
var React = __toESM(require("react"));
|
35
|
-
var import_HeaderCell = __toESM(require("./HeaderCell"));
|
36
|
-
var import_BodyCell = __toESM(require("./BodyCell"));
|
37
|
-
var import_TableBody = __toESM(require("./TableBody"));
|
38
|
-
var import_TableHeader = __toESM(require("./TableHeader"));
|
39
|
-
var import_Table = __toESM(require("./Table"));
|
35
|
+
var import_HeaderCell = __toESM(require("./HeaderCell.js"));
|
36
|
+
var import_BodyCell = __toESM(require("./BodyCell.js"));
|
37
|
+
var import_TableBody = __toESM(require("./TableBody.js"));
|
38
|
+
var import_TableHeader = __toESM(require("./TableHeader.js"));
|
39
|
+
var import_Table = __toESM(require("./Table.js"));
|
40
40
|
//# sourceMappingURL=index.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/components/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["export { default as HeaderCell } from './HeaderCell';\nexport { default as BodyCell } from './BodyCell';\nexport { default as TableBody } from './TableBody';\nexport { default as TableHeader } from './TableHeader';\nexport { default as Table } from './Table';\n", "import * as React from 'react';\nexport { React };\n"],
|
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": []
|
7
7
|
}
|
@@ -38,46 +38,26 @@ __export(defaultClassedRenderers_exports, {
|
|
38
38
|
module.exports = __toCommonJS(defaultClassedRenderers_exports);
|
39
39
|
var React = __toESM(require("react"));
|
40
40
|
var import_ds_classnames = require("@elliemae/ds-classnames");
|
41
|
-
var import_blockNames = require("../../blockNames");
|
42
|
-
const NoResultsContainer = (0, import_ds_classnames.aggregatedClasses)("div")(
|
43
|
-
|
44
|
-
)
|
45
|
-
|
46
|
-
|
47
|
-
);
|
48
|
-
const DatagridWrapper = (0, import_ds_classnames.aggregatedClasses)("div")(
|
49
|
-
`${import_blockNames.dataGridBlockName}-wrapper`,
|
50
|
-
null,
|
51
|
-
({ fluidHeight }) => ({
|
52
|
-
fluid: fluidHeight
|
53
|
-
})
|
54
|
-
);
|
41
|
+
var import_blockNames = require("../../blockNames.js");
|
42
|
+
const NoResultsContainer = (0, import_ds_classnames.aggregatedClasses)("div")(`${import_blockNames.dataGridBlockName}-no-results`);
|
43
|
+
const SpinnerContainer = (0, import_ds_classnames.aggregatedClasses)("div")(`${import_blockNames.dataGridBlockName}-spinner`);
|
44
|
+
const DatagridWrapper = (0, import_ds_classnames.aggregatedClasses)("div")(`${import_blockNames.dataGridBlockName}-wrapper`, null, ({ fluidHeight }) => ({
|
45
|
+
fluid: fluidHeight
|
46
|
+
}));
|
55
47
|
const TableWrapper = (0, import_ds_classnames.aggregatedClasses)("div")(import_blockNames.dataGridBlockName);
|
56
48
|
const HeaderWrapper = (0, import_ds_classnames.aggregatedClasses)("div")(import_blockNames.headerBlockName);
|
57
49
|
const HeaderRow = (0, import_ds_classnames.aggregatedClasses)("div")(import_blockNames.headerBlockName, "row");
|
58
|
-
const HeaderCell = (0, import_ds_classnames.aggregatedClasses)("div")(
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
);
|
65
|
-
const BodyWrapper = (0, import_ds_classnames.aggregatedClasses)("div")(
|
66
|
-
import_blockNames.bodyBlockName,
|
67
|
-
null,
|
68
|
-
({ grouped }) => ({
|
69
|
-
"ie-flex-basis-auto": true,
|
70
|
-
"is-grouped": grouped
|
71
|
-
})
|
72
|
-
);
|
50
|
+
const HeaderCell = (0, import_ds_classnames.aggregatedClasses)("div")(import_blockNames.headerBlockName, "cell", ({ wrapText }) => ({
|
51
|
+
wrapText
|
52
|
+
}));
|
53
|
+
const BodyWrapper = (0, import_ds_classnames.aggregatedClasses)("div")(import_blockNames.bodyBlockName, null, ({ grouped }) => ({
|
54
|
+
"ie-flex-basis-auto": true,
|
55
|
+
"is-grouped": grouped
|
56
|
+
}));
|
73
57
|
const BodyRow = (0, import_ds_classnames.aggregatedClasses)("div", {
|
74
58
|
"data-testid": "datagrid-row"
|
75
59
|
})(import_blockNames.bodyBlockName, "row");
|
76
|
-
const BodyCell = (0, import_ds_classnames.aggregatedClasses)("div")(
|
77
|
-
|
78
|
-
|
79
|
-
({ wrapText }) => ({
|
80
|
-
wrapText
|
81
|
-
})
|
82
|
-
);
|
60
|
+
const BodyCell = (0, import_ds_classnames.aggregatedClasses)("div")(import_blockNames.bodyBlockName, "cell", ({ wrapText }) => ({
|
61
|
+
wrapText
|
62
|
+
}));
|
83
63
|
//# sourceMappingURL=defaultClassedRenderers.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../../src/components/renderers/defaultClassedRenderers.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import { aggregatedClasses } from '@elliemae/ds-classnames';\nimport {
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,2BAAkC;AAClC,
|
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
|
+
"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": []
|
7
7
|
}
|
@@ -29,8 +29,8 @@ __export(renderers_exports, {
|
|
29
29
|
});
|
30
30
|
module.exports = __toCommonJS(renderers_exports);
|
31
31
|
var React = __toESM(require("react"));
|
32
|
-
var import_defaultClassedRenderers = require("./defaultClassedRenderers");
|
33
|
-
var import_renderRowsLoader = require("./renderRowsLoader");
|
32
|
+
var import_defaultClassedRenderers = require("./defaultClassedRenderers.js");
|
33
|
+
var import_renderRowsLoader = require("./renderRowsLoader.js");
|
34
34
|
const defaultRenderers = {
|
35
35
|
table: import_defaultClassedRenderers.TableWrapper,
|
36
36
|
header: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../../src/components/renderers/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import {\n BodyCell,\n BodyRow,\n BodyWrapper,\n HeaderCell,\n HeaderRow,\n HeaderWrapper,\n TableWrapper,\n} from './defaultClassedRenderers';\n\nexport { renderRowsLoader } from './renderRowsLoader';\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"],
|
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": []
|
7
7
|
}
|
@@ -29,8 +29,6 @@ __export(renderRowsLoader_exports, {
|
|
29
29
|
module.exports = __toCommonJS(renderRowsLoader_exports);
|
30
30
|
var React = __toESM(require("react"));
|
31
31
|
var import_jsx_runtime = require("react/jsx-runtime");
|
32
|
-
var import_RowsLoader = require("../RowsLoader");
|
33
|
-
const renderRowsLoader = () => {
|
34
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_RowsLoader.RowsLoader, {});
|
35
|
-
};
|
32
|
+
var import_RowsLoader = require("../RowsLoader.js");
|
33
|
+
const renderRowsLoader = () => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_RowsLoader.RowsLoader, {});
|
36
34
|
//# sourceMappingURL=renderRowsLoader.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../../src/components/renderers/renderRowsLoader.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { RowsLoader } from '../RowsLoader';\n\nexport const renderRowsLoader = () =>
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { RowsLoader } from '../RowsLoader.js';\n\nexport const renderRowsLoader = () => <RowsLoader />;\n", "import * as React from 'react';\nexport { React };\n"],
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGe;AAFtC,wBAA2B;AAEpB,MAAM,mBAAmB,MAAM,4CAAC,gCAAW;",
|
6
6
|
"names": []
|
7
7
|
}
|
@@ -28,14 +28,9 @@ __export(defaultPlugins_exports, {
|
|
28
28
|
});
|
29
29
|
module.exports = __toCommonJS(defaultPlugins_exports);
|
30
30
|
var React = __toESM(require("react"));
|
31
|
-
var import_body_header_scroll_sync = require("./plugins/body-header-scroll-sync");
|
32
|
-
var import_resizable = require("./plugins/resizable");
|
33
|
-
var import_custom_cell_renderer = require("./plugins/custom-cell-renderer");
|
34
|
-
var import_column_sizing = require("./plugins/column-sizing");
|
35
|
-
const defaultPlugins = [
|
36
|
-
import_body_header_scroll_sync.BodyHeaderScrollSyncPlugin,
|
37
|
-
import_resizable.ResizablePlugin,
|
38
|
-
import_custom_cell_renderer.CustomRendererPlugin,
|
39
|
-
import_column_sizing.ColumnSizingPlugin
|
40
|
-
];
|
31
|
+
var import_body_header_scroll_sync = require("./plugins/body-header-scroll-sync/index.js");
|
32
|
+
var import_resizable = require("./plugins/resizable/index.js");
|
33
|
+
var import_custom_cell_renderer = require("./plugins/custom-cell-renderer/index.js");
|
34
|
+
var import_column_sizing = require("./plugins/column-sizing/index.js");
|
35
|
+
const defaultPlugins = [import_body_header_scroll_sync.BodyHeaderScrollSyncPlugin, import_resizable.ResizablePlugin, import_custom_cell_renderer.CustomRendererPlugin, import_column_sizing.ColumnSizingPlugin];
|
41
36
|
//# sourceMappingURL=defaultPlugins.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/defaultPlugins.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import { BodyHeaderScrollSyncPlugin } from './plugins/body-header-scroll-sync';\nimport { ResizablePlugin } from './plugins/resizable';\nimport { CustomRendererPlugin } from './plugins/custom-cell-renderer';\nimport { ColumnSizingPlugin } from './plugins/column-sizing';\n\nexport const defaultPlugins = [
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qCAA2C;AAC3C,uBAAgC;AAChC,kCAAqC;AACrC,2BAAmC;AAE5B,MAAM,iBAAiB
|
4
|
+
"sourcesContent": ["import { BodyHeaderScrollSyncPlugin } from './plugins/body-header-scroll-sync/index.js';\nimport { ResizablePlugin } from './plugins/resizable/index.js';\nimport { CustomRendererPlugin } from './plugins/custom-cell-renderer/index.js';\nimport { ColumnSizingPlugin } from './plugins/column-sizing/index.js';\n\nexport const defaultPlugins = [BodyHeaderScrollSyncPlugin, ResizablePlugin, CustomRendererPlugin, ColumnSizingPlugin];\n", "import * as React from 'react';\nexport { React };\n"],
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qCAA2C;AAC3C,uBAAgC;AAChC,kCAAqC;AACrC,2BAAmC;AAE5B,MAAM,iBAAiB,CAAC,2DAA4B,kCAAiB,kDAAsB,uCAAkB;",
|
6
6
|
"names": []
|
7
7
|
}
|
package/dist/cjs/index.js
CHANGED
@@ -57,13 +57,13 @@ __export(src_exports, {
|
|
57
57
|
});
|
58
58
|
module.exports = __toCommonJS(src_exports);
|
59
59
|
var React = __toESM(require("react"));
|
60
|
-
var import_DSDataGrid = require("./DSDataGrid");
|
61
|
-
var import_DSDataGrid2 = require("./DSDataGrid");
|
62
|
-
var import_ColumnsOptionsMenuSection = require("./components/ColumnsOptionsMenuSection");
|
63
|
-
var import_ColumnVisibilityMenuOption = require("./components/ColumnVisibilityMenuOption");
|
64
|
-
var import_EmptyState = require("./components/EmptyState");
|
65
|
-
var import_IconColumn = require("./columns/IconColumn");
|
66
|
-
var import_plugins = require("./plugins");
|
67
|
-
var import_rowSizes = require("./rowSizes");
|
68
|
-
var import_renders = require("./renders");
|
60
|
+
var import_DSDataGrid = require("./DSDataGrid.js");
|
61
|
+
var import_DSDataGrid2 = require("./DSDataGrid.js");
|
62
|
+
var import_ColumnsOptionsMenuSection = require("./components/ColumnsOptionsMenuSection.js");
|
63
|
+
var import_ColumnVisibilityMenuOption = require("./components/ColumnVisibilityMenuOption.js");
|
64
|
+
var import_EmptyState = require("./components/EmptyState.js");
|
65
|
+
var import_IconColumn = require("./columns/IconColumn.js");
|
66
|
+
var import_plugins = require("./plugins/index.js");
|
67
|
+
var import_rowSizes = require("./rowSizes.js");
|
68
|
+
var import_renders = require("./renders/index.js");
|
69
69
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/index.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["export { DSDataGrid } from './DSDataGrid';\n\nexport { DSDataGridsWithSchema } from './DSDataGrid';\nexport { ColumnsOptionsMenuSection } from './components/ColumnsOptionsMenuSection';\n\nexport { getColumnVisibilityMenuOption } from './components/ColumnVisibilityMenuOption';\n\nexport { EmptyState } from './components/EmptyState';\n\nexport { IconColumn } from './columns/IconColumn';\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';\n\nexport { RowSizes, RowSizesOptions, RowSizesOptionsArr } from './rowSizes';\n\nexport { CellWithAddons, CellContainer } from './renders';\n", "import * as React from 'react';\nexport { React };\n"],
|
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"]
|
7
7
|
}
|
@@ -32,10 +32,12 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
32
32
|
var import_react = require("react");
|
33
33
|
var import_ds_utilities = require("@elliemae/ds-utilities");
|
34
34
|
var import_ds_shared = require("@elliemae/ds-shared");
|
35
|
-
var import_getScrollbarSize = require("../../utilities/getScrollbarSize");
|
35
|
+
var import_getScrollbarSize = require("../../utilities/getScrollbarSize.js");
|
36
36
|
const SCROLLBAR_WIDTH = (0, import_getScrollbarSize.getScrollbarWidth)(2);
|
37
|
-
const HeaderSyncHoc = (Component) => (props)
|
38
|
-
|
37
|
+
const HeaderSyncHoc = (Component) => function(props) {
|
38
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_shared.ScrollSyncPane, { children: ({ registerPane }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { ...props, innerRef: (0, import_ds_utilities.mergeRefs)(props.innerRef, registerPane) }) });
|
39
|
+
};
|
40
|
+
const BodySyncHoc = (Component, notPaginated, grid) => function({
|
39
41
|
children,
|
40
42
|
classProps,
|
41
43
|
columns,
|
@@ -58,7 +60,7 @@ const BodySyncHoc = (Component, notPaginated, grid) => ({
|
|
58
60
|
className,
|
59
61
|
listComponent,
|
60
62
|
...rest
|
61
|
-
})
|
63
|
+
}) {
|
62
64
|
const t = (0, import_react.useRef)();
|
63
65
|
const repositionToolbarBasedOnBodyScrollPosition = (SCROLLBAR_WIDTH2) => () => {
|
64
66
|
grid.refs.body.current.style.setProperty(
|
@@ -107,20 +109,22 @@ const BodySyncHoc = (Component, notPaginated, grid) => ({
|
|
107
109
|
}
|
108
110
|
) });
|
109
111
|
};
|
110
|
-
const TableSyncHoc = (Component) => (props)
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
112
|
+
const TableSyncHoc = (Component) => function(props) {
|
113
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
114
|
+
import_ds_shared.ScrollSync,
|
115
|
+
{
|
116
|
+
proportional: false,
|
117
|
+
onScroll: (e) => {
|
118
|
+
e.target.style.setProperty("--toolbar-scroll", `${e.target.offsetWidth + e.target.scrollLeft - 15}px`);
|
119
|
+
e.target.style.setProperty(
|
120
|
+
"--toolbar-scroll-paginated",
|
121
|
+
`${e.target.offsetWidth + e.target.scrollLeft - 19}px`
|
122
|
+
);
|
123
|
+
},
|
124
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { ...props })
|
125
|
+
}
|
126
|
+
);
|
127
|
+
};
|
124
128
|
const decorateRenderers = (renderers, grid) => {
|
125
129
|
const HeaderWrapper = renderers.header.wrapper;
|
126
130
|
const BodyWrapper = renderers.body.wrapper;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../../src/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["/* eslint-disable no-shadow */\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-unused-vars */\n/* eslint-disable react/prop-types */\n/* eslint-disable max-lines */\n/* eslint-disable react-hooks/rules-of-hooks */\n/* eslint-disable no-param-reassign */\n/* eslint-disable react/display-name */\nimport React, { useMemo, useRef, useEffect } from 'react';\nimport { mergeRefs } from '@elliemae/ds-utilities';\nimport { ScrollSync, ScrollSyncPane, createInstancePlugin } from '@elliemae/ds-shared';\nimport { getScrollbarWidth } from '../../utilities/getScrollbarSize';\n\nconst SCROLLBAR_WIDTH = getScrollbarWidth(2);\n\nconst HeaderSyncHoc = (Component)
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
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
|
+
"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,KACG;AACL,GAAG;AACD,QAAM,QAAI,qBAAO;AACjB,QAAM,6CAA6C,CAACA,qBAAoB,MAAM;AAC5E,SAAK,KAAK,KAAK,QAAQ,MAAM;AAAA,MAC3B;AAAA,MACA,GAAG,KAAK,KAAK,KAAK,QAAQ,cAAc,KAAK,KAAK,KAAK,QAAQ,aAAa;AAAA,IAC9E;AACA,SAAK,KAAK,KAAK,QAAQ,MAAM;AAAA,MAC3B;AAAA,MACA,GAAG,KAAK,KAAK,KAAK,QAAQ,cAAc,KAAK,KAAK,KAAK,QAAQ,aAAa;AAAA,IAC9E;AAAA,EACF;AACA,8BAAU,MAAM;AACd,eAAW,2CAA2C,CAAC,eAAe,GAAG,GAAG;AAAA,EAC9E,GAAG,CAAC,CAAC;AACL,8BAAU,MAAM;AACd,WAAO,iBAAiB,UAAU,2CAA2C,CAAC,eAAe,CAAC;AAC9F,WAAO,MAAM;AACX,aAAO,oBAAoB,UAAU,2CAA2C,CAAC,eAAe,CAAC;AAAA,IACnG;AAAA,EACF,CAAC;AACD,SACE,4CAAC,mCAAe,cACb,WAAC,EAAE,aAAa,MACf;AAAA,IAAC;AAAA;AAAA,MACC,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MAEA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,cAAU,+BAAU,UAAU,cAAc,CAAC;AAAA,MAC5C,GAAG;AAAA;AAAA,EACN,GAEJ;AAEJ;AAEF,MAAM,eAAe,CAAC,cACpB,SAAU,OAAO;AACf,SACE;AAAA,IAAC;AAAA;AAAA,MACC,cAAc;AAAA,MACd,UAAU,CAAC,MAAM;AACf,UAAE,OAAO,MAAM,YAAY,oBAAoB,GAAG,EAAE,OAAO,cAAc,EAAE,OAAO,aAAa,MAAM;AACrG,UAAE,OAAO,MAAM;AAAA,UACb;AAAA,UACA,GAAG,EAAE,OAAO,cAAc,EAAE,OAAO,aAAa;AAAA,QAClD;AAAA,MACF;AAAA,MAEA,sDAAC,aAAW,GAAG,OAAO;AAAA;AAAA,EACxB;AAEJ;AAEF,MAAM,oBAAoB,CAAC,WAAW,SAAS;AAC7C,QAAM,gBAAgB,UAAU,OAAO;AACvC,QAAM,cAAc,UAAU,KAAK;AACnC,QAAM,QAAQ,UAAU;AACxB,QAAM,EAAE,UAAU,IAAI,KAAK;AAE3B,YAAU,YAAQ,sBAAQ,MAAM,aAAa,KAAK,GAAG,CAAC,CAAC;AACvD,YAAU,OAAO,cAAU,sBAAQ,MAAM,cAAc,aAAa,GAAG,CAAC,CAAC;AACzE,YAAU,KAAK,cAAU,sBAAQ,MAAM,YAAY,aAAa,CAAC,WAAW,IAAI,GAAG,CAAC,CAAC;AAErF,SAAO;AACT;AAEO,MAAM,iCAA6B,uCAAqB,2BAA2B;AAAA,EACxF;AACF,CAAC;",
|
6
6
|
"names": ["SCROLLBAR_WIDTH"]
|
7
7
|
}
|
@@ -28,5 +28,5 @@ __export(body_header_scroll_sync_exports, {
|
|
28
28
|
});
|
29
29
|
module.exports = __toCommonJS(body_header_scroll_sync_exports);
|
30
30
|
var React = __toESM(require("react"));
|
31
|
-
var import_BodyHeaderScrollSyncPlugin = require("./BodyHeaderScrollSyncPlugin");
|
31
|
+
var import_BodyHeaderScrollSyncPlugin = require("./BodyHeaderScrollSyncPlugin.js");
|
32
32
|
//# sourceMappingURL=index.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../../src/plugins/body-header-scroll-sync/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["export { BodyHeaderScrollSyncPlugin } from './BodyHeaderScrollSyncPlugin';\n", "import * as React from 'react';\nexport { React };\n"],
|
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": []
|
7
7
|
}
|
@@ -33,7 +33,7 @@ var import_react = require("react");
|
|
33
33
|
var import_react_sortable_hoc = require("react-sortable-hoc");
|
34
34
|
var import_ds_utilities = require("@elliemae/ds-utilities");
|
35
35
|
var import_ds_shared = require("@elliemae/ds-shared");
|
36
|
-
var import_decorateGridWithDndColumns = require("./decorateGridWithDndColumns");
|
36
|
+
var import_decorateGridWithDndColumns = require("./decorateGridWithDndColumns.js");
|
37
37
|
const keysToOmit = [
|
38
38
|
"axis",
|
39
39
|
"contentWindow",
|