@elliemae/ds-datagrids 3.0.0-next.2 → 3.0.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/DSDataGrid.js +399 -0
- package/dist/cjs/DSDataGrid.js.map +7 -0
- package/dist/cjs/DataGridImpl.js +177 -0
- package/dist/cjs/DataGridImpl.js.map +7 -0
- package/dist/cjs/PaginatedDataGrid.js +114 -0
- package/dist/cjs/PaginatedDataGrid.js.map +7 -0
- package/dist/cjs/blockNames.js +39 -0
- package/dist/cjs/blockNames.js.map +7 -0
- package/dist/cjs/columns/IconColumn.js +111 -0
- package/dist/cjs/columns/IconColumn.js.map +7 -0
- package/dist/cjs/columns/NumberColumn.js +36 -0
- package/dist/cjs/columns/NumberColumn.js.map +7 -0
- package/dist/cjs/components/BodyCell.js +126 -0
- package/dist/cjs/components/BodyCell.js.map +7 -0
- package/dist/cjs/components/BodyList.js +89 -0
- package/dist/cjs/components/BodyList.js.map +7 -0
- package/dist/cjs/components/ColumnVisibilityMenuOption.js +66 -0
- package/dist/cjs/components/ColumnVisibilityMenuOption.js.map +7 -0
- package/dist/cjs/components/ColumnsOptionsMenuSection.js +64 -0
- package/dist/cjs/components/ColumnsOptionsMenuSection.js.map +7 -0
- package/dist/cjs/components/EmptyState.js +82 -0
- package/dist/cjs/components/EmptyState.js.map +7 -0
- package/dist/cjs/components/HeaderCell.js +87 -0
- package/dist/cjs/components/HeaderCell.js.map +7 -0
- package/dist/cjs/components/List.js +56 -0
- package/dist/cjs/components/List.js.map +7 -0
- package/dist/cjs/components/ListItem.js +64 -0
- package/dist/cjs/components/ListItem.js.map +7 -0
- package/dist/cjs/components/NoResults.js +84 -0
- package/dist/cjs/components/NoResults.js.map +7 -0
- package/dist/cjs/components/RowsLoader.js +42 -0
- package/dist/cjs/components/RowsLoader.js.map +7 -0
- package/dist/cjs/components/Table.js +125 -0
- package/dist/cjs/components/Table.js.map +7 -0
- package/dist/cjs/components/TableBody.js +101 -0
- package/dist/cjs/components/TableBody.js.map +7 -0
- package/dist/cjs/components/TableHeader.js +68 -0
- package/dist/cjs/components/TableHeader.js.map +7 -0
- package/dist/cjs/components/footer/addOptionalFooterComponents.js +56 -0
- package/dist/cjs/components/footer/addOptionalFooterComponents.js.map +7 -0
- package/dist/cjs/components/header/PrimaryControls.js +50 -0
- package/dist/cjs/components/header/PrimaryControls.js.map +7 -0
- package/dist/cjs/components/header/addOptionalHeaderComponents.js +58 -0
- package/dist/cjs/components/header/addOptionalHeaderComponents.js.map +7 -0
- package/dist/cjs/components/index.js +43 -0
- package/dist/cjs/components/index.js.map +7 -0
- package/dist/cjs/components/renderers/defaultClassedRenderers.js +66 -0
- package/dist/cjs/components/renderers/defaultClassedRenderers.js.map +7 -0
- package/dist/cjs/components/renderers/index.js +50 -0
- package/dist/cjs/components/renderers/index.js.map +7 -0
- package/dist/cjs/components/renderers/renderRowsLoader.js +39 -0
- package/dist/cjs/components/renderers/renderRowsLoader.js.map +7 -0
- package/dist/cjs/components/tableContext.js +36 -0
- package/dist/cjs/components/tableContext.js.map +7 -0
- package/dist/cjs/defaultPlugins.js +44 -0
- package/dist/cjs/defaultPlugins.js.map +7 -0
- package/dist/cjs/index.js +72 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +178 -0
- package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +7 -0
- package/dist/cjs/plugins/body-header-scroll-sync/index.js +35 -0
- package/dist/cjs/plugins/body-header-scroll-sync/index.js.map +7 -0
- package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js +168 -0
- package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js.map +7 -0
- package/dist/cjs/plugins/column-dnd/decorateGridWithDndColumns.js +46 -0
- package/dist/cjs/plugins/column-dnd/decorateGridWithDndColumns.js.map +7 -0
- package/dist/cjs/plugins/column-dnd/index.js +35 -0
- package/dist/cjs/plugins/column-dnd/index.js.map +7 -0
- package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js +92 -0
- package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js.map +7 -0
- package/dist/cjs/plugins/column-sizing/columnMeasurerTransformer.js +85 -0
- package/dist/cjs/plugins/column-sizing/columnMeasurerTransformer.js.map +7 -0
- package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js +44 -0
- package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js.map +7 -0
- package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js +80 -0
- package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js.map +7 -0
- package/dist/cjs/plugins/column-sizing/getColumnNameFromProperty.js +37 -0
- package/dist/cjs/plugins/column-sizing/getColumnNameFromProperty.js.map +7 -0
- package/dist/cjs/plugins/column-sizing/index.js +35 -0
- package/dist/cjs/plugins/column-sizing/index.js.map +7 -0
- package/dist/cjs/plugins/column-sizing/useColumnSizeService.js +165 -0
- package/dist/cjs/plugins/column-sizing/useColumnSizeService.js.map +7 -0
- package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js +167 -0
- package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js.map +7 -0
- package/dist/cjs/plugins/column-sizing/utils.js +68 -0
- package/dist/cjs/plugins/column-sizing/utils.js.map +7 -0
- package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js +40 -0
- package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +7 -0
- package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js +94 -0
- package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +7 -0
- package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js +86 -0
- package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js.map +7 -0
- package/dist/cjs/plugins/custom-cell-renderer/index.js +35 -0
- package/dist/cjs/plugins/custom-cell-renderer/index.js.map +7 -0
- package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js +84 -0
- package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js.map +7 -0
- package/dist/cjs/plugins/editable/EditableComponents/TextBox.js +107 -0
- package/dist/cjs/plugins/editable/EditableComponents/TextBox.js.map +7 -0
- package/dist/cjs/plugins/editable/EditableComponents/index.js +37 -0
- package/dist/cjs/plugins/editable/EditableComponents/index.js.map +7 -0
- package/dist/cjs/plugins/editable/EditablePlugin.js +108 -0
- package/dist/cjs/plugins/editable/EditablePlugin.js.map +7 -0
- package/dist/cjs/plugins/editable/decorateEditable.js +111 -0
- package/dist/cjs/plugins/editable/decorateEditable.js.map +7 -0
- package/dist/cjs/plugins/editable/getEditorComponent.js +99 -0
- package/dist/cjs/plugins/editable/getEditorComponent.js.map +7 -0
- package/dist/cjs/plugins/editable/index.js +38 -0
- package/dist/cjs/plugins/editable/index.js.map +7 -0
- package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js +163 -0
- package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js.map +7 -0
- package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js +205 -0
- package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js.map +7 -0
- package/dist/cjs/plugins/expandable-grid/ExpandedRow.js +159 -0
- package/dist/cjs/plugins/expandable-grid/ExpandedRow.js.map +7 -0
- package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js +72 -0
- package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js.map +7 -0
- package/dist/cjs/plugins/expandable-grid/index.js +37 -0
- package/dist/cjs/plugins/expandable-grid/index.js.map +7 -0
- package/dist/cjs/plugins/expandable-grid/useExpandGridState.js +93 -0
- package/dist/cjs/plugins/expandable-grid/useExpandGridState.js.map +7 -0
- package/dist/cjs/plugins/export-data/ExportDataPlugin.js +145 -0
- package/dist/cjs/plugins/export-data/ExportDataPlugin.js.map +7 -0
- package/dist/cjs/plugins/export-data/index.js +35 -0
- package/dist/cjs/plugins/export-data/index.js.map +7 -0
- package/dist/cjs/plugins/filterable/FilterablePlugin.js +80 -0
- package/dist/cjs/plugins/filterable/FilterablePlugin.js.map +7 -0
- package/dist/cjs/plugins/filterable/addFilterToColumn.js +60 -0
- package/dist/cjs/plugins/filterable/addFilterToColumn.js.map +7 -0
- package/dist/cjs/plugins/filterable/components/FilterableHeader.js +145 -0
- package/dist/cjs/plugins/filterable/components/FilterableHeader.js.map +7 -0
- package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +157 -0
- package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +7 -0
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +131 -0
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +7 -0
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +201 -0
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +7 -0
- package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js +196 -0
- package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +7 -0
- package/dist/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js +35 -0
- package/dist/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +7 -0
- package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +49 -0
- package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +7 -0
- package/dist/cjs/plugins/filterable/filterableFormatter.js +73 -0
- package/dist/cjs/plugins/filterable/filterableFormatter.js.map +7 -0
- package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js +94 -0
- package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +7 -0
- package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js +44 -0
- package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js.map +7 -0
- package/dist/cjs/plugins/filterable/helper.js +125 -0
- package/dist/cjs/plugins/filterable/helper.js.map +7 -0
- package/dist/cjs/plugins/filterable/index.js +35 -0
- package/dist/cjs/plugins/filterable/index.js.map +7 -0
- package/dist/cjs/plugins/filterable/useFilterableState.js +127 -0
- package/dist/cjs/plugins/filterable/useFilterableState.js.map +7 -0
- package/dist/cjs/plugins/grouping-by/GroupingByPlugin.js +57 -0
- package/dist/cjs/plugins/grouping-by/GroupingByPlugin.js.map +7 -0
- package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js +146 -0
- package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js.map +7 -0
- package/dist/cjs/plugins/grouping-grid/walkStrategy.js +76 -0
- package/dist/cjs/plugins/grouping-grid/walkStrategy.js.map +7 -0
- package/dist/cjs/plugins/index.js +68 -0
- package/dist/cjs/plugins/index.js.map +7 -0
- package/dist/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js +129 -0
- package/dist/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +7 -0
- package/dist/cjs/plugins/infinite-scrolling/index.js +35 -0
- package/dist/cjs/plugins/infinite-scrolling/index.js.map +7 -0
- package/dist/cjs/plugins/pagination/PaginationPlugin.js +128 -0
- package/dist/cjs/plugins/pagination/PaginationPlugin.js.map +7 -0
- package/dist/cjs/plugins/pagination/components/Pagination.js +63 -0
- package/dist/cjs/plugins/pagination/components/Pagination.js.map +7 -0
- package/dist/cjs/plugins/pagination/components/Paginator.js +82 -0
- package/dist/cjs/plugins/pagination/components/Paginator.js.map +7 -0
- package/dist/cjs/plugins/pagination/components/PerPageDropdown.js +95 -0
- package/dist/cjs/plugins/pagination/components/PerPageDropdown.js.map +7 -0
- package/dist/cjs/plugins/pagination/helper.js +62 -0
- package/dist/cjs/plugins/pagination/helper.js.map +7 -0
- package/dist/cjs/plugins/pagination/index.js +35 -0
- package/dist/cjs/plugins/pagination/index.js.map +7 -0
- package/dist/cjs/plugins/pagination/usePaginationState.js +98 -0
- package/dist/cjs/plugins/pagination/usePaginationState.js.map +7 -0
- package/dist/cjs/plugins/resizable/ResizablePlugin.js +109 -0
- package/dist/cjs/plugins/resizable/ResizablePlugin.js.map +7 -0
- package/dist/cjs/plugins/resizable/decorateResizable.js +72 -0
- package/dist/cjs/plugins/resizable/decorateResizable.js.map +7 -0
- package/dist/cjs/plugins/resizable/index.js +35 -0
- package/dist/cjs/plugins/resizable/index.js.map +7 -0
- package/dist/cjs/plugins/resizable/useResizeHandle.js +79 -0
- package/dist/cjs/plugins/resizable/useResizeHandle.js.map +7 -0
- package/dist/cjs/plugins/resizable/utils.js +54 -0
- package/dist/cjs/plugins/resizable/utils.js.map +7 -0
- package/dist/cjs/plugins/row-dnd/DndRowsPlugin.js +148 -0
- package/dist/cjs/plugins/row-dnd/DndRowsPlugin.js.map +7 -0
- package/dist/cjs/plugins/row-dnd/index.js +35 -0
- package/dist/cjs/plugins/row-dnd/index.js.map +7 -0
- package/dist/cjs/plugins/selectable/SelectablePlugin.js +166 -0
- package/dist/cjs/plugins/selectable/SelectablePlugin.js.map +7 -0
- package/dist/cjs/plugins/selectable/addSelectableColumn.js +129 -0
- package/dist/cjs/plugins/selectable/addSelectableColumn.js.map +7 -0
- package/dist/cjs/plugins/selectable/helper.js +70 -0
- package/dist/cjs/plugins/selectable/helper.js.map +7 -0
- package/dist/cjs/plugins/selectable/index.js +35 -0
- package/dist/cjs/plugins/selectable/index.js.map +7 -0
- package/dist/cjs/plugins/selectable/selectableFormatter.js +110 -0
- package/dist/cjs/plugins/selectable/selectableFormatter.js.map +7 -0
- package/dist/cjs/plugins/selectable/useSelectableState.js +130 -0
- package/dist/cjs/plugins/selectable/useSelectableState.js.map +7 -0
- package/dist/cjs/plugins/sortable/SortablePlugin.js +95 -0
- package/dist/cjs/plugins/sortable/SortablePlugin.js.map +7 -0
- package/dist/cjs/plugins/sortable/checkIfSortable.js +45 -0
- package/dist/cjs/plugins/sortable/checkIfSortable.js.map +7 -0
- package/dist/cjs/plugins/sortable/index.js +35 -0
- package/dist/cjs/plugins/sortable/index.js.map +7 -0
- package/dist/cjs/plugins/sortable/sortHeaderFormatter.js +66 -0
- package/dist/cjs/plugins/sortable/sortHeaderFormatter.js.map +7 -0
- package/dist/cjs/plugins/sortable/sortTree.js +60 -0
- package/dist/cjs/plugins/sortable/sortTree.js.map +7 -0
- package/dist/cjs/plugins/sortable/sorter.js +154 -0
- package/dist/cjs/plugins/sortable/sorter.js.map +7 -0
- package/dist/cjs/plugins/sortable/useSortableState.js +89 -0
- package/dist/cjs/plugins/sortable/useSortableState.js.map +7 -0
- package/dist/cjs/plugins/toolbar/RowRenderer.js +110 -0
- package/dist/cjs/plugins/toolbar/RowRenderer.js.map +7 -0
- package/dist/cjs/plugins/toolbar/ToolbarPlugin.js +58 -0
- package/dist/cjs/plugins/toolbar/ToolbarPlugin.js.map +7 -0
- package/dist/cjs/plugins/toolbar/ToolbarTrigger.js +121 -0
- package/dist/cjs/plugins/toolbar/ToolbarTrigger.js.map +7 -0
- package/dist/cjs/plugins/toolbar/index.js +35 -0
- package/dist/cjs/plugins/toolbar/index.js.map +7 -0
- package/dist/cjs/plugins/virtualization/AutoHeightList.js +108 -0
- package/dist/cjs/plugins/virtualization/AutoHeightList.js.map +7 -0
- package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js +111 -0
- package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js.map +7 -0
- package/dist/cjs/plugins/virtualization/VirtualizedBody.js +274 -0
- package/dist/cjs/plugins/virtualization/VirtualizedBody.js.map +7 -0
- package/dist/cjs/plugins/virtualization/VirtualizedBodyRow.js +52 -0
- package/dist/cjs/plugins/virtualization/VirtualizedBodyRow.js.map +7 -0
- package/dist/cjs/plugins/virtualization/helper.js +35 -0
- package/dist/cjs/plugins/virtualization/helper.js.map +7 -0
- package/dist/cjs/plugins/virtualization/index.js +35 -0
- package/dist/cjs/plugins/virtualization/index.js.map +7 -0
- package/dist/cjs/renders/CellWithAddons.js +111 -0
- package/dist/cjs/renders/CellWithAddons.js.map +7 -0
- package/dist/cjs/renders/index.js +37 -0
- package/dist/cjs/renders/index.js.map +7 -0
- package/dist/cjs/renders/styled.js +78 -0
- package/dist/cjs/renders/styled.js.map +7 -0
- package/dist/cjs/rowSizes.js +51 -0
- package/dist/cjs/rowSizes.js.map +7 -0
- package/dist/cjs/utilities/DataGridUtilities.json +1315 -0
- package/dist/cjs/utilities/getPluginsFromProps.js +72 -0
- package/dist/cjs/utilities/getPluginsFromProps.js.map +7 -0
- package/dist/cjs/utilities/getScrollbarSize.js +46 -0
- package/dist/cjs/utilities/getScrollbarSize.js.map +7 -0
- package/dist/cjs/utilities/normalizeData.js +65 -0
- package/dist/cjs/utilities/normalizeData.js.map +7 -0
- package/dist/esm/DSDataGrid.js +370 -0
- package/dist/esm/DSDataGrid.js.map +7 -0
- package/dist/esm/DataGridImpl.js +150 -0
- package/dist/esm/DataGridImpl.js.map +7 -0
- package/dist/esm/PaginatedDataGrid.js +87 -0
- package/dist/esm/PaginatedDataGrid.js.map +7 -0
- package/dist/esm/blockNames.js +10 -0
- package/dist/esm/blockNames.js.map +7 -0
- package/dist/esm/columns/IconColumn.js +82 -0
- package/dist/esm/columns/IconColumn.js.map +7 -0
- package/dist/esm/columns/NumberColumn.js +7 -0
- package/dist/esm/columns/NumberColumn.js.map +7 -0
- package/dist/esm/components/BodyCell.js +99 -0
- package/dist/esm/components/BodyCell.js.map +7 -0
- package/dist/esm/components/BodyList.js +62 -0
- package/dist/esm/components/BodyList.js.map +7 -0
- package/dist/esm/components/ColumnVisibilityMenuOption.js +37 -0
- package/dist/esm/components/ColumnVisibilityMenuOption.js.map +7 -0
- package/dist/esm/components/ColumnsOptionsMenuSection.js +35 -0
- package/dist/esm/components/ColumnsOptionsMenuSection.js.map +7 -0
- package/dist/esm/components/EmptyState.js +53 -0
- package/dist/esm/components/EmptyState.js.map +7 -0
- package/dist/esm/components/HeaderCell.js +60 -0
- package/dist/esm/components/HeaderCell.js.map +7 -0
- package/dist/esm/components/List.js +29 -0
- package/dist/esm/components/List.js.map +7 -0
- package/dist/esm/components/ListItem.js +37 -0
- package/dist/esm/components/ListItem.js.map +7 -0
- package/dist/esm/components/NoResults.js +57 -0
- package/dist/esm/components/NoResults.js.map +7 -0
- package/dist/esm/components/RowsLoader.js +13 -0
- package/dist/esm/components/RowsLoader.js.map +7 -0
- package/dist/esm/components/Table.js +98 -0
- package/dist/esm/components/Table.js.map +7 -0
- package/dist/esm/components/TableBody.js +74 -0
- package/dist/esm/components/TableBody.js.map +7 -0
- package/dist/esm/components/TableHeader.js +41 -0
- package/dist/esm/components/TableHeader.js.map +7 -0
- package/dist/esm/components/footer/addOptionalFooterComponents.js +27 -0
- package/dist/esm/components/footer/addOptionalFooterComponents.js.map +7 -0
- package/dist/esm/components/header/PrimaryControls.js +21 -0
- package/dist/esm/components/header/PrimaryControls.js.map +7 -0
- package/dist/esm/components/header/addOptionalHeaderComponents.js +29 -0
- package/dist/esm/components/header/addOptionalHeaderComponents.js.map +7 -0
- package/dist/esm/components/index.js +14 -0
- package/dist/esm/components/index.js.map +7 -0
- package/dist/esm/components/renderers/defaultClassedRenderers.js +41 -0
- package/dist/esm/components/renderers/defaultClassedRenderers.js.map +7 -0
- package/dist/esm/components/renderers/index.js +29 -0
- package/dist/esm/components/renderers/index.js.map +7 -0
- package/dist/esm/components/renderers/renderRowsLoader.js +10 -0
- package/dist/esm/components/renderers/renderRowsLoader.js.map +7 -0
- package/dist/esm/components/tableContext.js +7 -0
- package/dist/esm/components/tableContext.js.map +7 -0
- package/dist/esm/defaultPlugins.js +15 -0
- package/dist/esm/defaultPlugins.js.map +7 -0
- package/dist/esm/index.js +63 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +151 -0
- package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +7 -0
- package/dist/esm/plugins/body-header-scroll-sync/index.js +6 -0
- package/dist/esm/plugins/body-header-scroll-sync/index.js.map +7 -0
- package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js +141 -0
- package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js.map +7 -0
- package/dist/esm/plugins/column-dnd/decorateGridWithDndColumns.js +20 -0
- package/dist/esm/plugins/column-dnd/decorateGridWithDndColumns.js.map +7 -0
- package/dist/esm/plugins/column-dnd/index.js +6 -0
- package/dist/esm/plugins/column-dnd/index.js.map +7 -0
- package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js +63 -0
- package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js.map +7 -0
- package/dist/esm/plugins/column-sizing/columnMeasurerTransformer.js +58 -0
- package/dist/esm/plugins/column-sizing/columnMeasurerTransformer.js.map +7 -0
- package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js +15 -0
- package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js.map +7 -0
- package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js +53 -0
- package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js.map +7 -0
- package/dist/esm/plugins/column-sizing/getColumnNameFromProperty.js +8 -0
- package/dist/esm/plugins/column-sizing/getColumnNameFromProperty.js.map +7 -0
- package/dist/esm/plugins/column-sizing/index.js +6 -0
- package/dist/esm/plugins/column-sizing/index.js.map +7 -0
- package/dist/esm/plugins/column-sizing/useColumnSizeService.js +138 -0
- package/dist/esm/plugins/column-sizing/useColumnSizeService.js.map +7 -0
- package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js +138 -0
- package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js.map +7 -0
- package/dist/esm/plugins/column-sizing/utils.js +39 -0
- package/dist/esm/plugins/column-sizing/utils.js.map +7 -0
- package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js +11 -0
- package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +7 -0
- package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js +67 -0
- package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +7 -0
- package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js +59 -0
- package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js.map +7 -0
- package/dist/esm/plugins/custom-cell-renderer/index.js +6 -0
- package/dist/esm/plugins/custom-cell-renderer/index.js.map +7 -0
- package/dist/esm/plugins/editable/EditableComponents/ComboBox.js +57 -0
- package/dist/esm/plugins/editable/EditableComponents/ComboBox.js.map +7 -0
- package/dist/esm/plugins/editable/EditableComponents/TextBox.js +80 -0
- package/dist/esm/plugins/editable/EditableComponents/TextBox.js.map +7 -0
- package/dist/esm/plugins/editable/EditableComponents/index.js +8 -0
- package/dist/esm/plugins/editable/EditableComponents/index.js.map +7 -0
- package/dist/esm/plugins/editable/EditablePlugin.js +79 -0
- package/dist/esm/plugins/editable/EditablePlugin.js.map +7 -0
- package/dist/esm/plugins/editable/decorateEditable.js +84 -0
- package/dist/esm/plugins/editable/decorateEditable.js.map +7 -0
- package/dist/esm/plugins/editable/getEditorComponent.js +72 -0
- package/dist/esm/plugins/editable/getEditorComponent.js.map +7 -0
- package/dist/esm/plugins/editable/index.js +9 -0
- package/dist/esm/plugins/editable/index.js.map +7 -0
- package/dist/esm/plugins/expandable-grid/ExpandableColumn.js +136 -0
- package/dist/esm/plugins/expandable-grid/ExpandableColumn.js.map +7 -0
- package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js +178 -0
- package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js.map +7 -0
- package/dist/esm/plugins/expandable-grid/ExpandedRow.js +132 -0
- package/dist/esm/plugins/expandable-grid/ExpandedRow.js.map +7 -0
- package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js +45 -0
- package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js.map +7 -0
- package/dist/esm/plugins/expandable-grid/index.js +8 -0
- package/dist/esm/plugins/expandable-grid/index.js.map +7 -0
- package/dist/esm/plugins/expandable-grid/useExpandGridState.js +64 -0
- package/dist/esm/plugins/expandable-grid/useExpandGridState.js.map +7 -0
- package/dist/esm/plugins/export-data/ExportDataPlugin.js +118 -0
- package/dist/esm/plugins/export-data/ExportDataPlugin.js.map +7 -0
- package/dist/esm/plugins/export-data/index.js +6 -0
- package/dist/esm/plugins/export-data/index.js.map +7 -0
- package/dist/esm/plugins/filterable/FilterablePlugin.js +51 -0
- package/dist/esm/plugins/filterable/FilterablePlugin.js.map +7 -0
- package/dist/esm/plugins/filterable/addFilterToColumn.js +33 -0
- package/dist/esm/plugins/filterable/addFilterToColumn.js.map +7 -0
- package/dist/esm/plugins/filterable/components/FilterableHeader.js +118 -0
- package/dist/esm/plugins/filterable/components/FilterableHeader.js.map +7 -0
- package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +128 -0
- package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +7 -0
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +102 -0
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +7 -0
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +176 -0
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +7 -0
- package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js +169 -0
- package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +7 -0
- package/dist/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js +6 -0
- package/dist/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +7 -0
- package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +20 -0
- package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +7 -0
- package/dist/esm/plugins/filterable/filterableFormatter.js +44 -0
- package/dist/esm/plugins/filterable/filterableFormatter.js.map +7 -0
- package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js +67 -0
- package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +7 -0
- package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js +15 -0
- package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js.map +7 -0
- package/dist/esm/plugins/filterable/helper.js +104 -0
- package/dist/esm/plugins/filterable/helper.js.map +7 -0
- package/dist/esm/plugins/filterable/index.js +6 -0
- package/dist/esm/plugins/filterable/index.js.map +7 -0
- package/dist/esm/plugins/filterable/useFilterableState.js +104 -0
- package/dist/esm/plugins/filterable/useFilterableState.js.map +7 -0
- package/dist/esm/plugins/grouping-by/GroupingByPlugin.js +28 -0
- package/dist/esm/plugins/grouping-by/GroupingByPlugin.js.map +7 -0
- package/dist/esm/plugins/grouping-grid/GroupingPlugin.js +119 -0
- package/dist/esm/plugins/grouping-grid/GroupingPlugin.js.map +7 -0
- package/dist/esm/plugins/grouping-grid/walkStrategy.js +47 -0
- package/dist/esm/plugins/grouping-grid/walkStrategy.js.map +7 -0
- package/dist/esm/plugins/index.js +39 -0
- package/dist/esm/plugins/index.js.map +7 -0
- package/dist/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js +102 -0
- package/dist/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +7 -0
- package/dist/esm/plugins/infinite-scrolling/index.js +6 -0
- package/dist/esm/plugins/infinite-scrolling/index.js.map +7 -0
- package/dist/esm/plugins/pagination/PaginationPlugin.js +101 -0
- package/dist/esm/plugins/pagination/PaginationPlugin.js.map +7 -0
- package/dist/esm/plugins/pagination/components/Pagination.js +34 -0
- package/dist/esm/plugins/pagination/components/Pagination.js.map +7 -0
- package/dist/esm/plugins/pagination/components/Paginator.js +53 -0
- package/dist/esm/plugins/pagination/components/Paginator.js.map +7 -0
- package/dist/esm/plugins/pagination/components/PerPageDropdown.js +68 -0
- package/dist/esm/plugins/pagination/components/PerPageDropdown.js.map +7 -0
- package/dist/esm/plugins/pagination/helper.js +33 -0
- package/dist/esm/plugins/pagination/helper.js.map +7 -0
- package/dist/esm/plugins/pagination/index.js +6 -0
- package/dist/esm/plugins/pagination/index.js.map +7 -0
- package/dist/esm/plugins/pagination/usePaginationState.js +71 -0
- package/dist/esm/plugins/pagination/usePaginationState.js.map +7 -0
- package/dist/esm/plugins/resizable/ResizablePlugin.js +80 -0
- package/dist/esm/plugins/resizable/ResizablePlugin.js.map +7 -0
- package/dist/esm/plugins/resizable/decorateResizable.js +45 -0
- package/dist/esm/plugins/resizable/decorateResizable.js.map +7 -0
- package/dist/esm/plugins/resizable/index.js +6 -0
- package/dist/esm/plugins/resizable/index.js.map +7 -0
- package/dist/esm/plugins/resizable/useResizeHandle.js +50 -0
- package/dist/esm/plugins/resizable/useResizeHandle.js.map +7 -0
- package/dist/esm/plugins/resizable/utils.js +25 -0
- package/dist/esm/plugins/resizable/utils.js.map +7 -0
- package/dist/esm/plugins/row-dnd/DndRowsPlugin.js +121 -0
- package/dist/esm/plugins/row-dnd/DndRowsPlugin.js.map +7 -0
- package/dist/esm/plugins/row-dnd/index.js +6 -0
- package/dist/esm/plugins/row-dnd/index.js.map +7 -0
- package/dist/esm/plugins/selectable/SelectablePlugin.js +137 -0
- package/dist/esm/plugins/selectable/SelectablePlugin.js.map +7 -0
- package/dist/esm/plugins/selectable/addSelectableColumn.js +105 -0
- package/dist/esm/plugins/selectable/addSelectableColumn.js.map +7 -0
- package/dist/esm/plugins/selectable/helper.js +43 -0
- package/dist/esm/plugins/selectable/helper.js.map +7 -0
- package/dist/esm/plugins/selectable/index.js +6 -0
- package/dist/esm/plugins/selectable/index.js.map +7 -0
- package/dist/esm/plugins/selectable/selectableFormatter.js +83 -0
- package/dist/esm/plugins/selectable/selectableFormatter.js.map +7 -0
- package/dist/esm/plugins/selectable/useSelectableState.js +107 -0
- package/dist/esm/plugins/selectable/useSelectableState.js.map +7 -0
- package/dist/esm/plugins/sortable/SortablePlugin.js +69 -0
- package/dist/esm/plugins/sortable/SortablePlugin.js.map +7 -0
- package/dist/esm/plugins/sortable/checkIfSortable.js +16 -0
- package/dist/esm/plugins/sortable/checkIfSortable.js.map +7 -0
- package/dist/esm/plugins/sortable/index.js +6 -0
- package/dist/esm/plugins/sortable/index.js.map +7 -0
- package/dist/esm/plugins/sortable/sortHeaderFormatter.js +37 -0
- package/dist/esm/plugins/sortable/sortHeaderFormatter.js.map +7 -0
- package/dist/esm/plugins/sortable/sortTree.js +33 -0
- package/dist/esm/plugins/sortable/sortTree.js.map +7 -0
- package/dist/esm/plugins/sortable/sorter.js +127 -0
- package/dist/esm/plugins/sortable/sorter.js.map +7 -0
- package/dist/esm/plugins/sortable/useSortableState.js +62 -0
- package/dist/esm/plugins/sortable/useSortableState.js.map +7 -0
- package/dist/esm/plugins/toolbar/RowRenderer.js +83 -0
- package/dist/esm/plugins/toolbar/RowRenderer.js.map +7 -0
- package/dist/esm/plugins/toolbar/ToolbarPlugin.js +29 -0
- package/dist/esm/plugins/toolbar/ToolbarPlugin.js.map +7 -0
- package/dist/esm/plugins/toolbar/ToolbarTrigger.js +94 -0
- package/dist/esm/plugins/toolbar/ToolbarTrigger.js.map +7 -0
- package/dist/esm/plugins/toolbar/index.js +6 -0
- package/dist/esm/plugins/toolbar/index.js.map +7 -0
- package/dist/esm/plugins/virtualization/AutoHeightList.js +81 -0
- package/dist/esm/plugins/virtualization/AutoHeightList.js.map +7 -0
- package/dist/esm/plugins/virtualization/VirtualizationPlugin.js +84 -0
- package/dist/esm/plugins/virtualization/VirtualizationPlugin.js.map +7 -0
- package/dist/esm/plugins/virtualization/VirtualizedBody.js +247 -0
- package/dist/esm/plugins/virtualization/VirtualizedBody.js.map +7 -0
- package/dist/esm/plugins/virtualization/VirtualizedBodyRow.js +23 -0
- package/dist/esm/plugins/virtualization/VirtualizedBodyRow.js.map +7 -0
- package/dist/esm/plugins/virtualization/helper.js +6 -0
- package/dist/esm/plugins/virtualization/helper.js.map +7 -0
- package/dist/esm/plugins/virtualization/index.js +6 -0
- package/dist/esm/plugins/virtualization/index.js.map +7 -0
- package/dist/esm/renders/CellWithAddons.js +82 -0
- package/dist/esm/renders/CellWithAddons.js.map +7 -0
- package/dist/esm/renders/index.js +8 -0
- package/dist/esm/renders/index.js.map +7 -0
- package/dist/esm/renders/styled.js +49 -0
- package/dist/esm/renders/styled.js.map +7 -0
- package/dist/esm/rowSizes.js +22 -0
- package/dist/esm/rowSizes.js.map +7 -0
- package/dist/esm/utilities/DataGridUtilities.json +1315 -0
- package/dist/esm/utilities/getPluginsFromProps.js +43 -0
- package/dist/esm/utilities/getPluginsFromProps.js.map +7 -0
- package/dist/esm/utilities/getScrollbarSize.js +17 -0
- package/dist/esm/utilities/getScrollbarSize.js.map +7 -0
- package/dist/esm/utilities/normalizeData.js +38 -0
- package/dist/esm/utilities/normalizeData.js.map +7 -0
- package/package.json +295 -287
- package/cjs/DSDataGrid.js +0 -639
- package/cjs/DataGridImpl.js +0 -169
- package/cjs/PaginatedDataGrid.js +0 -77
- package/cjs/blockNames.js +0 -11
- package/cjs/columns/IconColumn.js +0 -95
- package/cjs/columns/NumberColumn.js +0 -6
- package/cjs/components/BodyCell.js +0 -101
- package/cjs/components/BodyList.js +0 -54
- package/cjs/components/ColumnVisibilityMenuOption.js +0 -44
- package/cjs/components/ColumnsOptionsMenuSection.js +0 -49
- package/cjs/components/EmptyState.js +0 -51
- package/cjs/components/HeaderCell.js +0 -70
- package/cjs/components/List.js +0 -32
- package/cjs/components/ListItem.js +0 -44
- package/cjs/components/NoResults.js +0 -51
- package/cjs/components/RowsLoader.js +0 -22
- package/cjs/components/Table.js +0 -122
- package/cjs/components/TableBody.js +0 -69
- package/cjs/components/TableHeader.js +0 -37
- package/cjs/components/footer/addOptionalFooterComponents.js +0 -46
- package/cjs/components/header/PrimaryControls.js +0 -36
- package/cjs/components/header/addOptionalHeaderComponents.js +0 -47
- package/cjs/components/index.js +0 -17
- package/cjs/components/renderers/defaultClassedRenderers.js +0 -59
- package/cjs/components/renderers/index.js +0 -23
- package/cjs/components/renderers/renderRowsLoader.js +0 -18
- package/cjs/components/tableContext.js +0 -13
- package/cjs/defaultPlugins.js +0 -12
- package/cjs/index.js +0 -67
- package/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +0 -143
- package/cjs/plugins/body-header-scroll-sync/index.js +0 -9
- package/cjs/plugins/column-dnd/DndColumnsPlugin.js +0 -134
- package/cjs/plugins/column-dnd/decorateGridWithDndColumns.js +0 -30
- package/cjs/plugins/column-dnd/index.js +0 -9
- package/cjs/plugins/column-sizing/ColumnSizingPlugin.js +0 -88
- package/cjs/plugins/column-sizing/columnMeasurerTransformer.js +0 -74
- package/cjs/plugins/column-sizing/ext-points/decorateColumn.js +0 -17
- package/cjs/plugins/column-sizing/ext-points/getTableProps.js +0 -63
- package/cjs/plugins/column-sizing/getColumnNameFromProperty.js +0 -9
- package/cjs/plugins/column-sizing/index.js +0 -9
- package/cjs/plugins/column-sizing/useColumnSizeService.js +0 -162
- package/cjs/plugins/column-sizing/useStylesheetHelpers.js +0 -270
- package/cjs/plugins/column-sizing/utils.js +0 -45
- package/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js +0 -18
- package/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js +0 -72
- package/cjs/plugins/custom-cell-renderer/getRendererComponent.js +0 -65
- package/cjs/plugins/custom-cell-renderer/index.js +0 -9
- package/cjs/plugins/editable/EditableComponents/ComboBox.js +0 -71
- package/cjs/plugins/editable/EditableComponents/TextBox.js +0 -110
- package/cjs/plugins/editable/EditableComponents/index.js +0 -11
- package/cjs/plugins/editable/EditablePlugin.js +0 -123
- package/cjs/plugins/editable/decorateEditable.js +0 -122
- package/cjs/plugins/editable/getEditorComponent.js +0 -82
- package/cjs/plugins/editable/index.js +0 -13
- package/cjs/plugins/expandable-grid/ExpandableColumn.js +0 -156
- package/cjs/plugins/expandable-grid/ExpandablePlugin.js +0 -243
- package/cjs/plugins/expandable-grid/ExpandedRow.js +0 -156
- package/cjs/plugins/expandable-grid/ExpandedRowExtra.js +0 -54
- package/cjs/plugins/expandable-grid/index.js +0 -11
- package/cjs/plugins/expandable-grid/useExpandGridState.js +0 -79
- package/cjs/plugins/export-data/ExportDataPlugin.js +0 -168
- package/cjs/plugins/export-data/index.js +0 -12
- package/cjs/plugins/filterable/FilterablePlugin.js +0 -81
- package/cjs/plugins/filterable/addFilterToColumn.js +0 -31
- package/cjs/plugins/filterable/components/FilterableHeader.js +0 -120
- package/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +0 -157
- package/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +0 -107
- package/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +0 -195
- package/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js +0 -174
- package/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js +0 -7
- package/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +0 -18
- package/cjs/plugins/filterable/filterableFormatter.js +0 -63
- package/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js +0 -74
- package/cjs/plugins/filterable/filtering-helper/strategiesOperators.js +0 -23
- package/cjs/plugins/filterable/helper.js +0 -120
- package/cjs/plugins/filterable/index.js +0 -9
- package/cjs/plugins/filterable/useFilterableState.js +0 -117
- package/cjs/plugins/grouping-by/GroupingByPlugin.js +0 -40
- package/cjs/plugins/grouping-grid/GroupingPlugin.js +0 -149
- package/cjs/plugins/grouping-grid/walkStrategy.js +0 -56
- package/cjs/plugins/index.js +0 -48
- package/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js +0 -124
- package/cjs/plugins/infinite-scrolling/index.js +0 -9
- package/cjs/plugins/pagination/PaginationPlugin.js +0 -109
- package/cjs/plugins/pagination/components/Pagination.js +0 -44
- package/cjs/plugins/pagination/components/Paginator.js +0 -67
- package/cjs/plugins/pagination/components/PerPageDropdown.js +0 -80
- package/cjs/plugins/pagination/helper.js +0 -41
- package/cjs/plugins/pagination/index.js +0 -9
- package/cjs/plugins/pagination/usePaginationState.js +0 -74
- package/cjs/plugins/resizable/ResizablePlugin.js +0 -113
- package/cjs/plugins/resizable/decorateResizable.js +0 -60
- package/cjs/plugins/resizable/index.js +0 -9
- package/cjs/plugins/resizable/useResizeHandle.js +0 -73
- package/cjs/plugins/resizable/utils.js +0 -33
- package/cjs/plugins/row-dnd/DndRowsPlugin.js +0 -115
- package/cjs/plugins/row-dnd/index.js +0 -9
- package/cjs/plugins/selectable/SelectablePlugin.js +0 -199
- package/cjs/plugins/selectable/addSelectableColumn.js +0 -93
- package/cjs/plugins/selectable/helper.js +0 -43
- package/cjs/plugins/selectable/index.js +0 -9
- package/cjs/plugins/selectable/selectableFormatter.js +0 -115
- package/cjs/plugins/selectable/useSelectableState.js +0 -143
- package/cjs/plugins/sortable/SortablePlugin.js +0 -109
- package/cjs/plugins/sortable/checkIfSortable.js +0 -22
- package/cjs/plugins/sortable/index.js +0 -9
- package/cjs/plugins/sortable/sortHeaderFormatter.js +0 -60
- package/cjs/plugins/sortable/sortTree.js +0 -51
- package/cjs/plugins/sortable/sorter.js +0 -176
- package/cjs/plugins/sortable/useSortableState.js +0 -99
- package/cjs/plugins/toolbar/RowRenderer.js +0 -97
- package/cjs/plugins/toolbar/ToolbarPlugin.js +0 -42
- package/cjs/plugins/toolbar/ToolbarTrigger.js +0 -86
- package/cjs/plugins/toolbar/index.js +0 -9
- package/cjs/plugins/virtualization/AutoHeightList.js +0 -59
- package/cjs/plugins/virtualization/VirtualizationPlugin.js +0 -108
- package/cjs/plugins/virtualization/VirtualizedBody.js +0 -275
- package/cjs/plugins/virtualization/VirtualizedBodyRow.js +0 -30
- package/cjs/plugins/virtualization/helper.js +0 -7
- package/cjs/plugins/virtualization/index.js +0 -9
- package/cjs/renders/CellWithAddons.js +0 -63
- package/cjs/renders/index.js +0 -11
- package/cjs/renders/styled.js +0 -27
- package/cjs/rowSizes.js +0 -19
- package/cjs/utilities/getPluginsFromProps.js +0 -44
- package/cjs/utilities/getScrollbarSize.js +0 -27
- package/cjs/utilities/normalizeData.js +0 -39
- package/esm/DSDataGrid.js +0 -630
- package/esm/DataGridImpl.js +0 -160
- package/esm/PaginatedDataGrid.js +0 -68
- package/esm/blockNames.js +0 -5
- package/esm/columns/IconColumn.js +0 -87
- package/esm/columns/NumberColumn.js +0 -4
- package/esm/components/BodyCell.js +0 -92
- package/esm/components/BodyList.js +0 -45
- package/esm/components/ColumnVisibilityMenuOption.js +0 -40
- package/esm/components/ColumnsOptionsMenuSection.js +0 -43
- package/esm/components/EmptyState.js +0 -41
- package/esm/components/HeaderCell.js +0 -62
- package/esm/components/List.js +0 -26
- package/esm/components/ListItem.js +0 -38
- package/esm/components/NoResults.js +0 -43
- package/esm/components/RowsLoader.js +0 -15
- package/esm/components/Table.js +0 -115
- package/esm/components/TableBody.js +0 -61
- package/esm/components/TableHeader.js +0 -31
- package/esm/components/footer/addOptionalFooterComponents.js +0 -40
- package/esm/components/header/PrimaryControls.js +0 -30
- package/esm/components/header/addOptionalHeaderComponents.js +0 -40
- package/esm/components/index.js +0 -5
- package/esm/components/renderers/defaultClassedRenderers.js +0 -46
- package/esm/components/renderers/index.js +0 -18
- package/esm/components/renderers/renderRowsLoader.js +0 -10
- package/esm/components/tableContext.js +0 -5
- package/esm/defaultPlugins.js +0 -8
- package/esm/index.js +0 -27
- package/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +0 -132
- package/esm/plugins/body-header-scroll-sync/index.js +0 -1
- package/esm/plugins/column-dnd/DndColumnsPlugin.js +0 -125
- package/esm/plugins/column-dnd/decorateGridWithDndColumns.js +0 -22
- package/esm/plugins/column-dnd/index.js +0 -1
- package/esm/plugins/column-sizing/ColumnSizingPlugin.js +0 -80
- package/esm/plugins/column-sizing/columnMeasurerTransformer.js +0 -66
- package/esm/plugins/column-sizing/ext-points/decorateColumn.js +0 -13
- package/esm/plugins/column-sizing/ext-points/getTableProps.js +0 -55
- package/esm/plugins/column-sizing/getColumnNameFromProperty.js +0 -7
- package/esm/plugins/column-sizing/index.js +0 -1
- package/esm/plugins/column-sizing/useColumnSizeService.js +0 -156
- package/esm/plugins/column-sizing/useStylesheetHelpers.js +0 -245
- package/esm/plugins/column-sizing/utils.js +0 -37
- package/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js +0 -10
- package/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js +0 -63
- package/esm/plugins/custom-cell-renderer/getRendererComponent.js +0 -56
- package/esm/plugins/custom-cell-renderer/index.js +0 -1
- package/esm/plugins/editable/EditableComponents/ComboBox.js +0 -65
- package/esm/plugins/editable/EditableComponents/TextBox.js +0 -103
- package/esm/plugins/editable/EditableComponents/index.js +0 -2
- package/esm/plugins/editable/EditablePlugin.js +0 -115
- package/esm/plugins/editable/decorateEditable.js +0 -92
- package/esm/plugins/editable/getEditorComponent.js +0 -74
- package/esm/plugins/editable/index.js +0 -3
- package/esm/plugins/expandable-grid/ExpandableColumn.js +0 -146
- package/esm/plugins/expandable-grid/ExpandablePlugin.js +0 -231
- package/esm/plugins/expandable-grid/ExpandedRow.js +0 -143
- package/esm/plugins/expandable-grid/ExpandedRowExtra.js +0 -46
- package/esm/plugins/expandable-grid/index.js +0 -2
- package/esm/plugins/expandable-grid/useExpandGridState.js +0 -75
- package/esm/plugins/export-data/ExportDataPlugin.js +0 -156
- package/esm/plugins/export-data/index.js +0 -1
- package/esm/plugins/filterable/FilterablePlugin.js +0 -73
- package/esm/plugins/filterable/addFilterToColumn.js +0 -23
- package/esm/plugins/filterable/components/FilterableHeader.js +0 -113
- package/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +0 -148
- package/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +0 -97
- package/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +0 -184
- package/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js +0 -163
- package/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js +0 -3
- package/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +0 -16
- package/esm/plugins/filterable/filterableFormatter.js +0 -57
- package/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js +0 -65
- package/esm/plugins/filterable/filtering-helper/strategiesOperators.js +0 -17
- package/esm/plugins/filterable/helper.js +0 -106
- package/esm/plugins/filterable/index.js +0 -1
- package/esm/plugins/filterable/useFilterableState.js +0 -109
- package/esm/plugins/grouping-by/GroupingByPlugin.js +0 -32
- package/esm/plugins/grouping-grid/GroupingPlugin.js +0 -138
- package/esm/plugins/grouping-grid/walkStrategy.js +0 -52
- package/esm/plugins/index.js +0 -19
- package/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js +0 -114
- package/esm/plugins/infinite-scrolling/index.js +0 -1
- package/esm/plugins/pagination/PaginationPlugin.js +0 -96
- package/esm/plugins/pagination/components/Pagination.js +0 -36
- package/esm/plugins/pagination/components/Paginator.js +0 -59
- package/esm/plugins/pagination/components/PerPageDropdown.js +0 -71
- package/esm/plugins/pagination/helper.js +0 -36
- package/esm/plugins/pagination/index.js +0 -1
- package/esm/plugins/pagination/usePaginationState.js +0 -66
- package/esm/plugins/resizable/ResizablePlugin.js +0 -105
- package/esm/plugins/resizable/decorateResizable.js +0 -49
- package/esm/plugins/resizable/index.js +0 -1
- package/esm/plugins/resizable/useResizeHandle.js +0 -65
- package/esm/plugins/resizable/utils.js +0 -23
- package/esm/plugins/row-dnd/DndRowsPlugin.js +0 -105
- package/esm/plugins/row-dnd/index.js +0 -1
- package/esm/plugins/selectable/SelectablePlugin.js +0 -190
- package/esm/plugins/selectable/addSelectableColumn.js +0 -84
- package/esm/plugins/selectable/helper.js +0 -31
- package/esm/plugins/selectable/index.js +0 -1
- package/esm/plugins/selectable/selectableFormatter.js +0 -107
- package/esm/plugins/selectable/useSelectableState.js +0 -135
- package/esm/plugins/sortable/SortablePlugin.js +0 -82
- package/esm/plugins/sortable/checkIfSortable.js +0 -17
- package/esm/plugins/sortable/index.js +0 -1
- package/esm/plugins/sortable/sortHeaderFormatter.js +0 -53
- package/esm/plugins/sortable/sortTree.js +0 -26
- package/esm/plugins/sortable/sorter.js +0 -166
- package/esm/plugins/sortable/useSortableState.js +0 -71
- package/esm/plugins/toolbar/RowRenderer.js +0 -88
- package/esm/plugins/toolbar/ToolbarPlugin.js +0 -33
- package/esm/plugins/toolbar/ToolbarTrigger.js +0 -74
- package/esm/plugins/toolbar/index.js +0 -1
- package/esm/plugins/virtualization/AutoHeightList.js +0 -52
- package/esm/plugins/virtualization/VirtualizationPlugin.js +0 -97
- package/esm/plugins/virtualization/VirtualizedBody.js +0 -268
- package/esm/plugins/virtualization/VirtualizedBodyRow.js +0 -28
- package/esm/plugins/virtualization/helper.js +0 -3
- package/esm/plugins/virtualization/index.js +0 -1
- package/esm/renders/CellWithAddons.js +0 -53
- package/esm/renders/index.js +0 -2
- package/esm/renders/styled.js +0 -16
- package/esm/rowSizes.js +0 -13
- package/esm/utilities/getPluginsFromProps.js +0 -42
- package/esm/utilities/getScrollbarSize.js +0 -23
- package/esm/utilities/normalizeData.js +0 -29
- package/types/DSDataGrid.d.ts +0 -977
- package/types/DataGridImpl.d.ts +0 -12
- package/types/PaginatedDataGrid.d.ts +0 -16
- package/types/blockNames.d.ts +0 -4
- package/types/columns/IconColumn.d.ts +0 -35
- package/types/columns/NumberColumn.d.ts +0 -4
- package/types/components/BodyCell.d.ts +0 -33
- package/types/components/BodyList.d.ts +0 -12
- package/types/components/ColumnVisibilityMenuOption.d.ts +0 -15
- package/types/components/ColumnsOptionsMenuSection.d.ts +0 -8
- package/types/components/EmptyState.d.ts +0 -7
- package/types/components/HeaderCell.d.ts +0 -19
- package/types/components/List.d.ts +0 -3
- package/types/components/ListItem.d.ts +0 -3
- package/types/components/NoResults.d.ts +0 -8
- package/types/components/RowsLoader.d.ts +0 -5
- package/types/components/Table.d.ts +0 -13
- package/types/components/TableBody.d.ts +0 -9
- package/types/components/TableHeader.d.ts +0 -3
- package/types/components/footer/addOptionalFooterComponents.d.ts +0 -6
- package/types/components/header/PrimaryControls.d.ts +0 -5
- package/types/components/header/addOptionalHeaderComponents.d.ts +0 -11
- package/types/components/index.d.ts +0 -5
- package/types/components/renderers/defaultClassedRenderers.d.ts +0 -11
- package/types/components/renderers/index.d.ts +0 -15
- package/types/components/renderers/renderRowsLoader.d.ts +0 -2
- package/types/components/tableContext.d.ts +0 -2
- package/types/components/tests/ColumnVisibilityMenu.test.d.ts +0 -1
- package/types/defaultPlugins.d.ts +0 -1
- package/types/index.d.ts +0 -10
- package/types/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.d.ts +0 -1
- package/types/plugins/body-header-scroll-sync/index.d.ts +0 -1
- package/types/plugins/column-dnd/DndColumnsPlugin.d.ts +0 -1
- package/types/plugins/column-dnd/decorateGridWithDndColumns.d.ts +0 -2
- package/types/plugins/column-dnd/index.d.ts +0 -1
- package/types/plugins/column-sizing/ColumnSizingPlugin.d.ts +0 -1
- package/types/plugins/column-sizing/columnMeasurerTransformer.d.ts +0 -6
- package/types/plugins/column-sizing/ext-points/decorateColumn.d.ts +0 -1
- package/types/plugins/column-sizing/ext-points/getTableProps.d.ts +0 -10
- package/types/plugins/column-sizing/getColumnNameFromProperty.d.ts +0 -1
- package/types/plugins/column-sizing/index.d.ts +0 -1
- package/types/plugins/column-sizing/useColumnSizeService.d.ts +0 -17
- package/types/plugins/column-sizing/useStylesheetHelpers.d.ts +0 -22
- package/types/plugins/column-sizing/utils.d.ts +0 -5
- package/types/plugins/custom-cell-renderer/CustomRendererPlugin.d.ts +0 -1
- package/types/plugins/custom-cell-renderer/addCustomRendererToCell.d.ts +0 -3
- package/types/plugins/custom-cell-renderer/getRendererComponent.d.ts +0 -11
- package/types/plugins/custom-cell-renderer/index.d.ts +0 -1
- package/types/plugins/editable/EditableComponents/ComboBox.d.ts +0 -10
- package/types/plugins/editable/EditableComponents/TextBox.d.ts +0 -22
- package/types/plugins/editable/EditableComponents/index.d.ts +0 -2
- package/types/plugins/editable/EditablePlugin.d.ts +0 -1
- package/types/plugins/editable/decorateEditable.d.ts +0 -7
- package/types/plugins/editable/getEditorComponent.d.ts +0 -6
- package/types/plugins/editable/index.d.ts +0 -2
- package/types/plugins/expandable-grid/ExpandableColumn.d.ts +0 -28
- package/types/plugins/expandable-grid/ExpandablePlugin.d.ts +0 -1
- package/types/plugins/expandable-grid/ExpandedRow.d.ts +0 -11
- package/types/plugins/expandable-grid/ExpandedRowExtra.d.ts +0 -9
- package/types/plugins/expandable-grid/index.d.ts +0 -2
- package/types/plugins/expandable-grid/tests/ExpandablePlugin.test.d.ts +0 -1
- package/types/plugins/expandable-grid/useExpandGridState.d.ts +0 -14
- package/types/plugins/export-data/ExportDataPlugin.d.ts +0 -4
- package/types/plugins/export-data/index.d.ts +0 -1
- package/types/plugins/filterable/FilterablePlugin.d.ts +0 -1
- package/types/plugins/filterable/addFilterToColumn.d.ts +0 -1
- package/types/plugins/filterable/components/FilterableHeader.d.ts +0 -29
- package/types/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.d.ts +0 -30
- package/types/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.d.ts +0 -27
- package/types/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.d.ts +0 -30
- package/types/plugins/filterable/components/filterable-menus/TextFilterMenu.d.ts +0 -35
- package/types/plugins/filterable/components/filterable-menus/defaultDateFormat.d.ts +0 -1
- package/types/plugins/filterable/components/filterable-menus/getFilterMenuByType.d.ts +0 -1
- package/types/plugins/filterable/filterableFormatter.d.ts +0 -11
- package/types/plugins/filterable/filtering-helper/filterRowsByQuery.d.ts +0 -2
- package/types/plugins/filterable/filtering-helper/strategiesOperators.d.ts +0 -2
- package/types/plugins/filterable/helper.d.ts +0 -22
- package/types/plugins/filterable/index.d.ts +0 -1
- package/types/plugins/filterable/useFilterableState.d.ts +0 -18
- package/types/plugins/grouping-by/GroupingByPlugin.d.ts +0 -1
- package/types/plugins/grouping-grid/GroupingPlugin.d.ts +0 -1
- package/types/plugins/grouping-grid/walkStrategy.d.ts +0 -9
- package/types/plugins/index.d.ts +0 -16
- package/types/plugins/infinite-scrolling/InfiniteScrollPlugin.d.ts +0 -1
- package/types/plugins/infinite-scrolling/index.d.ts +0 -1
- package/types/plugins/pagination/PaginationPlugin.d.ts +0 -1
- package/types/plugins/pagination/components/Pagination.d.ts +0 -11
- package/types/plugins/pagination/components/Paginator.d.ts +0 -9
- package/types/plugins/pagination/components/PerPageDropdown.d.ts +0 -9
- package/types/plugins/pagination/helper.d.ts +0 -17
- package/types/plugins/pagination/index.d.ts +0 -1
- package/types/plugins/pagination/usePaginationState.d.ts +0 -9
- package/types/plugins/resizable/ResizablePlugin.d.ts +0 -1
- package/types/plugins/resizable/decorateResizable.d.ts +0 -4
- package/types/plugins/resizable/index.d.ts +0 -1
- package/types/plugins/resizable/useResizeHandle.d.ts +0 -13
- package/types/plugins/resizable/utils.d.ts +0 -3
- package/types/plugins/row-dnd/DndRowsPlugin.d.ts +0 -1
- package/types/plugins/row-dnd/index.d.ts +0 -1
- package/types/plugins/selectable/SelectablePlugin.d.ts +0 -1
- package/types/plugins/selectable/addSelectableColumn.d.ts +0 -30
- package/types/plugins/selectable/helper.d.ts +0 -5
- package/types/plugins/selectable/index.d.ts +0 -1
- package/types/plugins/selectable/selectableFormatter.d.ts +0 -9
- package/types/plugins/selectable/useSelectableState.d.ts +0 -9
- package/types/plugins/sortable/SortablePlugin.d.ts +0 -1
- package/types/plugins/sortable/checkIfSortable.d.ts +0 -2
- package/types/plugins/sortable/index.d.ts +0 -1
- package/types/plugins/sortable/sortHeaderFormatter.d.ts +0 -6
- package/types/plugins/sortable/sortTree.d.ts +0 -2
- package/types/plugins/sortable/sorter.d.ts +0 -12
- package/types/plugins/sortable/useSortableState.d.ts +0 -8
- package/types/plugins/toolbar/RowRenderer.d.ts +0 -11
- package/types/plugins/toolbar/ToolbarPlugin.d.ts +0 -1
- package/types/plugins/toolbar/ToolbarTrigger.d.ts +0 -8
- package/types/plugins/toolbar/index.d.ts +0 -1
- package/types/plugins/virtualization/AutoHeightList.d.ts +0 -3
- package/types/plugins/virtualization/VirtualizationPlugin.d.ts +0 -1
- package/types/plugins/virtualization/VirtualizedBody.d.ts +0 -32
- package/types/plugins/virtualization/VirtualizedBodyRow.d.ts +0 -8
- package/types/plugins/virtualization/helper.d.ts +0 -1
- package/types/plugins/virtualization/index.d.ts +0 -1
- package/types/renders/CellWithAddons.d.ts +0 -52
- package/types/renders/index.d.ts +0 -2
- package/types/renders/styled.d.ts +0 -3
- package/types/rowSizes.d.ts +0 -11
- package/types/stories/datagrids-export.stories.d.ts +0 -1
- package/types/stories/datagrids-selectable-multi.stories.d.ts +0 -1
- package/types/tests/DataGrid-Columns.test.d.ts +0 -1
- package/types/tests/DataGrid-Editable.test.d.ts +0 -1
- package/types/tests/DataGrid-Export.test.d.ts +0 -1
- package/types/tests/DataGrid-Filter-helper.test.d.ts +0 -1
- package/types/tests/DataGrid-Filterable-Dates.test.d.ts +0 -1
- package/types/tests/DataGrid-Filterable-State.test.d.ts +0 -1
- package/types/tests/DataGrid-RowDnd.test.d.ts +0 -1
- package/types/tests/DataGrid-Selectable.test.d.ts +0 -1
- package/types/tests/DataGrid-Sortable.test.d.ts +0 -1
- package/types/tests/DataGrid-Toolbar.test.d.ts +0 -1
- package/types/tests/DataGrid-Virtualization.test.d.ts +0 -1
- package/types/tests/DataGrids-ColumnSizing.test.d.ts +0 -1
- package/types/tests/DataGrids-ConditionalPagination.test.d.ts +0 -1
- package/types/tests/DataGrids-Rows.test.d.ts +0 -1
- package/types/tests/DataGrids.test.d.ts +0 -1
- package/types/utilities/getPluginsFromProps.d.ts +0 -1
- package/types/utilities/getScrollbarSize.d.ts +0 -1
- package/types/utilities/normalizeData.d.ts +0 -3
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/plugins/resizable/ResizablePlugin.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable no-param-reassign */\n/* eslint-disable max-statements */\nimport { runAll } from '@elliemae/ds-utilities';\nimport { createInstancePlugin } from '@elliemae/ds-shared/createDataInstance/createInstancePlugin';\nimport { addResizableToColumn, resizableFormatter } from './decorateResizable';\n\nconst noop = () => null;\n\nconst DELTA_LAST_COLUMN = 25;\n\n// eslint-disable-next-line no-unused-vars\nconst decorateColumn = (column, grid, index) => {\n const {\n onResizeEnd = noop,\n onResizeStart = noop,\n minColumnWidth = 90,\n isColumnResizeActive = (col) => col.resizable && !col.expandableColumn,\n onColumnResize,\n } = grid.props;\n\n const { decoratedColumns } = grid.getInstance();\n // need to do this because the decorated columns which the index in the function call\n // could be different from the final decorated columns because a plugin could add a\n // column afterwards\n const colIndex = decoratedColumns.findIndex((col) => col.property === column.property);\n const isLast = colIndex === decoratedColumns.length - 1;\n\n if (!isColumnResizeActive(column)) return column;\n return addResizableToColumn(\n column,\n resizableFormatter({\n onDragStart: () => {\n grid.isDragging.current = true;\n grid.disableEvents();\n onResizeStart();\n onColumnResize('onResizeStart', { column });\n },\n onDrag: (width, increasing) => {\n const { resizedColumns, refs } = grid.getInstance();\n if (isLast && increasing) {\n const thisCol = resizedColumns.current[column.uuid] || 0;\n width = Math.max(thisCol + DELTA_LAST_COLUMN, width);\n }\n column.updateBodyHeaderWidth(width, width);\n grid.updateRowWidth();\n if (isLast && increasing) {\n // TODO: Move this to packages/ds-shared/src/ScrollSync/ScrollSync.js\n // It isn't watching the scrollLeft so you have to move both at the same time\n refs.header.current.scrollLeft += DELTA_LAST_COLUMN;\n refs.body.current.scrollLeft += DELTA_LAST_COLUMN;\n }\n },\n onDragEnd: (width, increasing, extraData) => {\n const { resizedColumns } = grid.getInstance();\n if (isLast && increasing) {\n const thisCol = resizedColumns.current[column.uuid] || 0;\n width = Math.max(thisCol + DELTA_LAST_COLUMN, width);\n }\n resizedColumns.current[column.uuid] = width;\n\n grid.isDragging.current = false;\n grid.enableEvents();\n try {\n const total = grid.getInstance().refs.body.current.scrollWidth;\n const sum = Object.keys(grid.resizedColumns.current).reduce((p, n) => grid.resizedColumns.current[n] + p, 0);\n const lastKey = grid.decoratedColumns[grid.columns.length - 1].uuid;\n if (sum < total) {\n const lastCol = grid.getInstance().columnSizeService.columns[lastKey];\n lastCol.updateWidth(grid.resizedColumns.current[lastKey] + total - sum);\n lastCol.updateBodyHeaderWidth(grid.resizedColumns.current[lastKey] + total - sum);\n grid.getInstance().columnSizeService.updateMissingWidths(total);\n }\n } catch (error) {\n console.error(\n 'Unexpected error in the addResizableToColumn trying to use the remaining grid space to the last column',\n error,\n );\n }\n\n onColumnResize('onResizeEnd', {\n column,\n width,\n extraData,\n });\n runAll(onResizeEnd)(width, extraData);\n grid.updateRowWidth();\n },\n minWidth: (column.minWidth || minColumnWidth) - (isLast ? DELTA_LAST_COLUMN : 0),\n isLast,\n }),\n );\n};\n\nexport const ResizablePlugin = createInstancePlugin('resizable', {\n decorateColumn,\n});\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,0BAAuB;AACvB,kCAAqC;AACrC,+BAAyD;AAEzD,MAAM,OAAO,MAAM;AAEnB,MAAM,oBAAoB;AAG1B,MAAM,iBAAiB,CAAC,QAAQ,MAAM,UAAU;AAC9C,QAAM;AAAA,IACJ,cAAc;AAAA,IACd,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IACjB,uBAAuB,CAAC,QAAQ,IAAI,aAAa,CAAC,IAAI;AAAA,IACtD;AAAA,MACE,KAAK;AAET,QAAM,EAAE,qBAAqB,KAAK;AAIlC,QAAM,WAAW,iBAAiB,UAAU,CAAC,QAAQ,IAAI,aAAa,OAAO;AAC7E,QAAM,SAAS,aAAa,iBAAiB,SAAS;AAEtD,MAAI,CAAC,qBAAqB;AAAS,WAAO;AAC1C,SAAO,mDACL,QACA,iDAAmB;AAAA,IACjB,aAAa,MAAM;AACjB,WAAK,WAAW,UAAU;AAC1B,WAAK;AACL;AACA,qBAAe,iBAAiB,EAAE;AAAA;AAAA,IAEpC,QAAQ,CAAC,OAAO,eAAe;AAC7B,YAAM,EAAE,gBAAgB,SAAS,KAAK;AACtC,UAAI,UAAU,YAAY;AACxB,cAAM,UAAU,eAAe,QAAQ,OAAO,SAAS;AACvD,gBAAQ,KAAK,IAAI,UAAU,mBAAmB;AAAA;AAEhD,aAAO,sBAAsB,OAAO;AACpC,WAAK;AACL,UAAI,UAAU,YAAY;AAGxB,aAAK,OAAO,QAAQ,cAAc;AAClC,aAAK,KAAK,QAAQ,cAAc;AAAA;AAAA;AAAA,IAGpC,WAAW,CAAC,OAAO,YAAY,cAAc;AAC3C,YAAM,EAAE,mBAAmB,KAAK;AAChC,UAAI,UAAU,YAAY;AACxB,cAAM,UAAU,eAAe,QAAQ,OAAO,SAAS;AACvD,gBAAQ,KAAK,IAAI,UAAU,mBAAmB;AAAA;AAEhD,qBAAe,QAAQ,OAAO,QAAQ;AAEtC,WAAK,WAAW,UAAU;AAC1B,WAAK;AACL,UAAI;AACF,cAAM,QAAQ,KAAK,cAAc,KAAK,KAAK,QAAQ;AACnD,cAAM,MAAM,OAAO,KAAK,KAAK,eAAe,SAAS,OAAO,CAAC,GAAG,MAAM,KAAK,eAAe,QAAQ,KAAK,GAAG;AAC1G,cAAM,UAAU,KAAK,iBAAiB,KAAK,QAAQ,SAAS,GAAG;AAC/D,YAAI,MAAM,OAAO;AACf,gBAAM,UAAU,KAAK,cAAc,kBAAkB,QAAQ;AAC7D,kBAAQ,YAAY,KAAK,eAAe,QAAQ,WAAW,QAAQ;AACnE,kBAAQ,sBAAsB,KAAK,eAAe,QAAQ,WAAW,QAAQ;AAC7E,eAAK,cAAc,kBAAkB,oBAAoB;AAAA;AAAA,eAEpD,OAAP;AACA,gBAAQ,MACN,0GACA;AAAA;AAIJ,qBAAe,eAAe;AAAA,QAC5B;AAAA,QACA;AAAA,QACA;AAAA;AAEF,sCAAO,aAAa,OAAO;AAC3B,WAAK;AAAA;AAAA,IAEP,UAAW,QAAO,YAAY,kBAAmB,UAAS,oBAAoB;AAAA,IAC9E;AAAA;AAAA;AAKC,MAAM,kBAAkB,sDAAqB,aAAa;AAAA,EAC/D;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
9
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
11
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
+
var __spreadValues = (a, b) => {
|
|
13
|
+
for (var prop in b || (b = {}))
|
|
14
|
+
if (__hasOwnProp.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
if (__getOwnPropSymbols)
|
|
17
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
18
|
+
if (__propIsEnum.call(b, prop))
|
|
19
|
+
__defNormalProp(a, prop, b[prop]);
|
|
20
|
+
}
|
|
21
|
+
return a;
|
|
22
|
+
};
|
|
23
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
24
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
25
|
+
var __export = (target, all) => {
|
|
26
|
+
for (var name in all)
|
|
27
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
28
|
+
};
|
|
29
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
30
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
31
|
+
for (let key of __getOwnPropNames(module2))
|
|
32
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
33
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
34
|
+
}
|
|
35
|
+
return target;
|
|
36
|
+
};
|
|
37
|
+
var __toESM = (module2, isNodeMode) => {
|
|
38
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
39
|
+
};
|
|
40
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
41
|
+
return (module2, temp) => {
|
|
42
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
43
|
+
};
|
|
44
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
45
|
+
var decorateResizable_exports = {};
|
|
46
|
+
__export(decorateResizable_exports, {
|
|
47
|
+
addResizableToColumn: () => addResizableToColumn,
|
|
48
|
+
resizableFormatter: () => resizableFormatter
|
|
49
|
+
});
|
|
50
|
+
var React = __toESM(require("react"));
|
|
51
|
+
var import_react = __toESM(require("react"));
|
|
52
|
+
var import_initColumnDefinition = require("@elliemae/ds-shared/useDataGrid/initColumnDefinition");
|
|
53
|
+
var import_useResizeHandle = require("./useResizeHandle");
|
|
54
|
+
const addResizableToColumn = (column, formatter) => (0, import_initColumnDefinition.appendHeaderFormatter)(formatter, column);
|
|
55
|
+
const ResizableWrapper = import_react.default.memo(({ value, onDrag, onDragEnd, onDragStart, minWidth, handleClassName }) => {
|
|
56
|
+
const { containerRef, Handle } = (0, import_useResizeHandle.useResizeHandle)({
|
|
57
|
+
onDrag,
|
|
58
|
+
onDragEnd,
|
|
59
|
+
onDragStart,
|
|
60
|
+
minWidth,
|
|
61
|
+
handleClassName
|
|
62
|
+
});
|
|
63
|
+
return /* @__PURE__ */ import_react.default.createElement("div", {
|
|
64
|
+
ref: containerRef,
|
|
65
|
+
className: "resize-container"
|
|
66
|
+
}, value, /* @__PURE__ */ import_react.default.createElement(Handle, null));
|
|
67
|
+
});
|
|
68
|
+
const resizableFormatter = (options) => (value) => /* @__PURE__ */ import_react.default.createElement(ResizableWrapper, __spreadProps(__spreadValues({}, options), {
|
|
69
|
+
value
|
|
70
|
+
}));
|
|
71
|
+
module.exports = __toCommonJS(decorateResizable_exports);
|
|
72
|
+
//# sourceMappingURL=decorateResizable.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/plugins/resizable/decorateResizable.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { appendHeaderFormatter } from '@elliemae/ds-shared/useDataGrid/initColumnDefinition';\nimport { useResizeHandle } from './useResizeHandle';\n\nconst addResizableToColumn = (column, formatter) =>\n appendHeaderFormatter(formatter, column);\n\nconst ResizableWrapper = React.memo(\n ({ value, onDrag, onDragEnd, onDragStart, minWidth, handleClassName }) => {\n const { containerRef, Handle } = useResizeHandle({\n onDrag,\n onDragEnd,\n onDragStart,\n minWidth,\n handleClassName,\n });\n return (\n <div ref={containerRef} className=\"resize-container\">\n {value}\n <Handle />\n </div>\n );\n },\n);\n\n// eslint-disable-next-line react/display-name\nconst resizableFormatter = options => value => (\n <ResizableWrapper {...options} value={value} />\n);\n\nexport { addResizableToColumn, resizableFormatter };\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,kCAAsC;AACtC,6BAAgC;AAEhC,MAAM,uBAAuB,CAAC,QAAQ,cACpC,uDAAsB,WAAW;AAEnC,MAAM,mBAAmB,qBAAM,KAC7B,CAAC,EAAE,OAAO,QAAQ,WAAW,aAAa,UAAU,sBAAsB;AACxE,QAAM,EAAE,cAAc,WAAW,4CAAgB;AAAA,IAC/C;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAEF,SACE,mDAAC,OAAD;AAAA,IAAK,KAAK;AAAA,IAAc,WAAU;AAAA,KAC/B,OACD,mDAAC,QAAD;AAAA;AAOR,MAAM,qBAAqB,aAAW,WACpC,mDAAC,kBAAD,iCAAsB,UAAtB;AAAA,EAA+B;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var resizable_exports = {};
|
|
29
|
+
__export(resizable_exports, {
|
|
30
|
+
ResizablePlugin: () => import_ResizablePlugin.ResizablePlugin
|
|
31
|
+
});
|
|
32
|
+
var React = __toESM(require("react"));
|
|
33
|
+
var import_ResizablePlugin = require("./ResizablePlugin");
|
|
34
|
+
module.exports = __toCommonJS(resizable_exports);
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/plugins/resizable/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["export { ResizablePlugin } from './ResizablePlugin';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,6BAAgC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var useResizeHandle_exports = {};
|
|
29
|
+
__export(useResizeHandle_exports, {
|
|
30
|
+
useResizeHandle: () => useResizeHandle
|
|
31
|
+
});
|
|
32
|
+
var React = __toESM(require("react"));
|
|
33
|
+
var import_react = __toESM(require("react"));
|
|
34
|
+
const useResizeHandle = ({
|
|
35
|
+
onDragStart,
|
|
36
|
+
onDrag,
|
|
37
|
+
onDragEnd,
|
|
38
|
+
minWidth = 10,
|
|
39
|
+
isLast = false
|
|
40
|
+
}) => {
|
|
41
|
+
const startX = (0, import_react.useRef)();
|
|
42
|
+
const startWidth = (0, import_react.useRef)();
|
|
43
|
+
const containerRef = (0, import_react.useRef)();
|
|
44
|
+
const triggerMove = (handler, event) => {
|
|
45
|
+
const increasing = startX.current - event.clientX < 0;
|
|
46
|
+
handler(Math.max(startWidth.current - startX.current + event.clientX, minWidth), increasing, {});
|
|
47
|
+
};
|
|
48
|
+
const onMouseMove = (event) => {
|
|
49
|
+
event.stopPropagation();
|
|
50
|
+
event.preventDefault();
|
|
51
|
+
triggerMove(onDrag, event);
|
|
52
|
+
};
|
|
53
|
+
const onMouseUp = (event) => {
|
|
54
|
+
event.stopPropagation();
|
|
55
|
+
event.preventDefault();
|
|
56
|
+
triggerMove(onDragEnd, event);
|
|
57
|
+
document.removeEventListener("mousemove", onMouseMove);
|
|
58
|
+
document.removeEventListener("mouseup", onMouseUp);
|
|
59
|
+
};
|
|
60
|
+
const onMouseDown = (event) => {
|
|
61
|
+
event.stopPropagation();
|
|
62
|
+
event.preventDefault();
|
|
63
|
+
document.addEventListener("mousemove", onMouseMove);
|
|
64
|
+
document.addEventListener("mouseup", onMouseUp);
|
|
65
|
+
startX.current = event.clientX;
|
|
66
|
+
startWidth.current = containerRef.current.offsetWidth;
|
|
67
|
+
triggerMove(onDragStart, event);
|
|
68
|
+
};
|
|
69
|
+
const HandleComponent = ({ className = "resize-handle" }) => /* @__PURE__ */ import_react.default.createElement("div", {
|
|
70
|
+
className,
|
|
71
|
+
onMouseDown
|
|
72
|
+
});
|
|
73
|
+
return {
|
|
74
|
+
containerRef,
|
|
75
|
+
Handle: HandleComponent
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
module.exports = __toCommonJS(useResizeHandle_exports);
|
|
79
|
+
//# sourceMappingURL=useResizeHandle.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/plugins/resizable/useResizeHandle.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["import React, { useCallback, useRef } from 'react';\n\nexport const useResizeHandle = ({\n onDragStart,\n onDrag,\n onDragEnd,\n minWidth = 10,\n isLast = false,\n}) => {\n const startX = useRef();\n const startWidth = useRef();\n const containerRef = useRef();\n\n const triggerMove = (handler, event) => {\n const increasing = startX.current - event.clientX < 0;\n handler(\n Math.max(startWidth.current - startX.current + event.clientX, minWidth),\n increasing,\n {},\n );\n };\n\n const onMouseMove = event => {\n event.stopPropagation();\n event.preventDefault();\n\n triggerMove(onDrag, event);\n };\n\n const onMouseUp = event => {\n event.stopPropagation();\n event.preventDefault();\n\n triggerMove(onDragEnd, event);\n\n document.removeEventListener('mousemove', onMouseMove);\n document.removeEventListener('mouseup', onMouseUp);\n };\n\n const onMouseDown = event => {\n event.stopPropagation();\n event.preventDefault();\n\n document.addEventListener('mousemove', onMouseMove);\n document.addEventListener('mouseup', onMouseUp);\n\n startX.current = event.clientX;\n startWidth.current = containerRef.current.offsetWidth;\n\n triggerMove(onDragStart, event);\n };\n\n const HandleComponent = ({ className = 'resize-handle' }) => (\n // eslint-disable-next-line jsx-a11y/no-static-element-interactions\n <div className={className} onMouseDown={onMouseDown} />\n );\n\n return {\n containerRef,\n Handle: HandleComponent,\n };\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAA2C;AAEpC,MAAM,kBAAkB,CAAC;AAAA,EAC9B;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX,SAAS;AAAA,MACL;AACJ,QAAM,SAAS;AACf,QAAM,aAAa;AACnB,QAAM,eAAe;AAErB,QAAM,cAAc,CAAC,SAAS,UAAU;AACtC,UAAM,aAAa,OAAO,UAAU,MAAM,UAAU;AACpD,YACE,KAAK,IAAI,WAAW,UAAU,OAAO,UAAU,MAAM,SAAS,WAC9D,YACA;AAAA;AAIJ,QAAM,cAAc,WAAS;AAC3B,UAAM;AACN,UAAM;AAEN,gBAAY,QAAQ;AAAA;AAGtB,QAAM,YAAY,WAAS;AACzB,UAAM;AACN,UAAM;AAEN,gBAAY,WAAW;AAEvB,aAAS,oBAAoB,aAAa;AAC1C,aAAS,oBAAoB,WAAW;AAAA;AAG1C,QAAM,cAAc,WAAS;AAC3B,UAAM;AACN,UAAM;AAEN,aAAS,iBAAiB,aAAa;AACvC,aAAS,iBAAiB,WAAW;AAErC,WAAO,UAAU,MAAM;AACvB,eAAW,UAAU,aAAa,QAAQ;AAE1C,gBAAY,aAAa;AAAA;AAG3B,QAAM,kBAAkB,CAAC,EAAE,YAAY,sBAErC,mDAAC,OAAD;AAAA,IAAK;AAAA,IAAsB;AAAA;AAG7B,SAAO;AAAA,IACL;AAAA,IACA,QAAQ;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var utils_exports = {};
|
|
29
|
+
__export(utils_exports, {
|
|
30
|
+
isPercentNumber: () => isPercentNumber,
|
|
31
|
+
isPxNumber: () => isPxNumber,
|
|
32
|
+
translatePercentageToPx: () => translatePercentageToPx
|
|
33
|
+
});
|
|
34
|
+
var React = __toESM(require("react"));
|
|
35
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
36
|
+
var import_memoize_one = __toESM(require("memoize-one"));
|
|
37
|
+
const isPercentNumber = (stringNumber) => typeof stringNumber === "string" && stringNumber.indexOf("%") !== -1;
|
|
38
|
+
const isPxNumber = (stringNumber) => typeof stringNumber === "string" && stringNumber.indexOf("px") !== -1;
|
|
39
|
+
const translatePercentageToPx = (0, import_memoize_one.default)((totalWidth, percentage, minWidth = 0) => {
|
|
40
|
+
const parsedPercentatge = (0, import_ds_utilities.parseInt)(percentage.replace("%", ""));
|
|
41
|
+
const width = totalWidth * parsedPercentatge / 100;
|
|
42
|
+
return width > minWidth ? width : minWidth;
|
|
43
|
+
});
|
|
44
|
+
const translateStringPxToNumberPx = (0, import_memoize_one.default)((pxNumber) => (0, import_ds_utilities.parseInt)(pxNumber.replace("%", "")));
|
|
45
|
+
const translatePxToPercentage = (0, import_memoize_one.default)((totalWidth, pxWidth) => `${pxWidth / totalWidth * 100}%`);
|
|
46
|
+
const getWidth = (0, import_memoize_one.default)((gridWidth, width = 0, minWidth) => {
|
|
47
|
+
if (isPercentNumber(width))
|
|
48
|
+
return translatePercentageToPx(gridWidth, width, minWidth);
|
|
49
|
+
if (isPxNumber(width))
|
|
50
|
+
return translateStringPxToNumberPx(width);
|
|
51
|
+
return width;
|
|
52
|
+
});
|
|
53
|
+
module.exports = __toCommonJS(utils_exports);
|
|
54
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/plugins/resizable/utils.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["import { parseInt } from '@elliemae/ds-utilities';\nimport memoizeOne from 'memoize-one';\n\nexport const isPercentNumber = (stringNumber) => typeof stringNumber === 'string' && stringNumber.indexOf('%') !== -1;\nexport const isPxNumber = (stringNumber) => typeof stringNumber === 'string' && stringNumber.indexOf('px') !== -1;\n\nexport const translatePercentageToPx = memoizeOne((totalWidth, percentage, minWidth = 0) => {\n const parsedPercentatge = parseInt(percentage.replace('%', ''));\n const width = (totalWidth * parsedPercentatge) / 100;\n return width > minWidth ? width : minWidth;\n});\n\nconst translateStringPxToNumberPx = memoizeOne((pxNumber) => parseInt(pxNumber.replace('%', '')));\nconst translatePxToPercentage = memoizeOne((totalWidth, pxWidth) => `${(pxWidth / totalWidth) * 100}%`);\n\nconst getWidth = memoizeOne((gridWidth, width = 0, minWidth) => {\n if (isPercentNumber(width)) return translatePercentageToPx(gridWidth, width, minWidth);\n if (isPxNumber(width)) return translateStringPxToNumberPx(width);\n return width;\n});\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,0BAAyB;AACzB,yBAAuB;AAEhB,MAAM,kBAAkB,CAAC,iBAAiB,OAAO,iBAAiB,YAAY,aAAa,QAAQ,SAAS;AAC5G,MAAM,aAAa,CAAC,iBAAiB,OAAO,iBAAiB,YAAY,aAAa,QAAQ,UAAU;AAExG,MAAM,0BAA0B,gCAAW,CAAC,YAAY,YAAY,WAAW,MAAM;AAC1F,QAAM,oBAAoB,kCAAS,WAAW,QAAQ,KAAK;AAC3D,QAAM,QAAS,aAAa,oBAAqB;AACjD,SAAO,QAAQ,WAAW,QAAQ;AAAA;AAGpC,MAAM,8BAA8B,gCAAW,CAAC,aAAa,kCAAS,SAAS,QAAQ,KAAK;AAC5F,MAAM,0BAA0B,gCAAW,CAAC,YAAY,YAAY,GAAI,UAAU,aAAc;AAEhG,MAAM,WAAW,gCAAW,CAAC,WAAW,QAAQ,GAAG,aAAa;AAC9D,MAAI,gBAAgB;AAAQ,WAAO,wBAAwB,WAAW,OAAO;AAC7E,MAAI,WAAW;AAAQ,WAAO,4BAA4B;AAC1D,SAAO;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
9
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
11
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
+
var __spreadValues = (a, b) => {
|
|
13
|
+
for (var prop in b || (b = {}))
|
|
14
|
+
if (__hasOwnProp.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
if (__getOwnPropSymbols)
|
|
17
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
18
|
+
if (__propIsEnum.call(b, prop))
|
|
19
|
+
__defNormalProp(a, prop, b[prop]);
|
|
20
|
+
}
|
|
21
|
+
return a;
|
|
22
|
+
};
|
|
23
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
24
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
25
|
+
var __export = (target, all) => {
|
|
26
|
+
for (var name in all)
|
|
27
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
28
|
+
};
|
|
29
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
30
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
31
|
+
for (let key of __getOwnPropNames(module2))
|
|
32
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
33
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
34
|
+
}
|
|
35
|
+
return target;
|
|
36
|
+
};
|
|
37
|
+
var __toESM = (module2, isNodeMode) => {
|
|
38
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
39
|
+
};
|
|
40
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
41
|
+
return (module2, temp) => {
|
|
42
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
43
|
+
};
|
|
44
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
45
|
+
var DndRowsPlugin_exports = {};
|
|
46
|
+
__export(DndRowsPlugin_exports, {
|
|
47
|
+
DndRowsPlugin: () => DndRowsPlugin
|
|
48
|
+
});
|
|
49
|
+
var React = __toESM(require("react"));
|
|
50
|
+
var import_react = __toESM(require("react"));
|
|
51
|
+
var import_react_sortable_hoc = require("react-sortable-hoc");
|
|
52
|
+
var import_ds_icons = require("@elliemae/ds-icons");
|
|
53
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
54
|
+
var import_initColumnDefinition = require("@elliemae/ds-shared/useDataGrid/initColumnDefinition");
|
|
55
|
+
var import_createInstancePlugin = require("@elliemae/ds-shared/createDataInstance/createInstancePlugin");
|
|
56
|
+
const keysToOmit = [
|
|
57
|
+
"axis",
|
|
58
|
+
"contentWindow",
|
|
59
|
+
"disableAutoscroll",
|
|
60
|
+
"distance",
|
|
61
|
+
"getContainer",
|
|
62
|
+
"getHelperDimensions",
|
|
63
|
+
"helperClass",
|
|
64
|
+
"helperContainer",
|
|
65
|
+
"hideSortableGhost",
|
|
66
|
+
"keyboardSortingTransitionDuration",
|
|
67
|
+
"lockAxis",
|
|
68
|
+
"lockOffset",
|
|
69
|
+
"lockToContainerEdges",
|
|
70
|
+
"onSortEnd",
|
|
71
|
+
"onSortMove",
|
|
72
|
+
"onSortOver",
|
|
73
|
+
"onSortStart",
|
|
74
|
+
"pressDelay",
|
|
75
|
+
"pressThreshold",
|
|
76
|
+
"shouldCancelStart",
|
|
77
|
+
"transitionDuration",
|
|
78
|
+
"updateBeforeSortStart",
|
|
79
|
+
"useDragHandle",
|
|
80
|
+
"useWindowAsScrollContainer"
|
|
81
|
+
];
|
|
82
|
+
const DragHandle = (0, import_react_sortable_hoc.SortableHandle)(() => /* @__PURE__ */ import_react.default.createElement(import_ds_icons.GripperVertical, {
|
|
83
|
+
className: "drag-handle"
|
|
84
|
+
}));
|
|
85
|
+
const translateDnDData = ({ oldIndex, newIndex, index }) => ({
|
|
86
|
+
sourceIndex: oldIndex,
|
|
87
|
+
targetIndex: newIndex,
|
|
88
|
+
fromIndex: index === void 0 ? oldIndex : index
|
|
89
|
+
});
|
|
90
|
+
const decorateColumns = (columns) => {
|
|
91
|
+
const dragColumn = {
|
|
92
|
+
property: "drag",
|
|
93
|
+
label: "",
|
|
94
|
+
visible: true,
|
|
95
|
+
width: 24,
|
|
96
|
+
minWidth: 24,
|
|
97
|
+
special: true
|
|
98
|
+
};
|
|
99
|
+
return [
|
|
100
|
+
(0, import_initColumnDefinition.appendCellFormatter)(() => /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(DragHandle, null)), dragColumn),
|
|
101
|
+
...columns
|
|
102
|
+
];
|
|
103
|
+
};
|
|
104
|
+
const getBodyProps = (props, grid) => {
|
|
105
|
+
const { onMoveRowEnd, onReorder, onMoveRowStart } = grid.props;
|
|
106
|
+
return __spreadProps(__spreadValues({}, props), {
|
|
107
|
+
onSortEnd: (data) => {
|
|
108
|
+
grid.enableEvents();
|
|
109
|
+
grid.setIsRowDragging(false);
|
|
110
|
+
onMoveRowEnd(translateDnDData(data));
|
|
111
|
+
},
|
|
112
|
+
onSortStart: (...args) => {
|
|
113
|
+
grid.disableEvents();
|
|
114
|
+
grid.setIsRowDragging(true);
|
|
115
|
+
onMoveRowStart(...args);
|
|
116
|
+
},
|
|
117
|
+
onSortOver: (data) => {
|
|
118
|
+
onReorder(translateDnDData(data));
|
|
119
|
+
},
|
|
120
|
+
lockAxis: "y",
|
|
121
|
+
useDragHandle: true,
|
|
122
|
+
helperClass: "row-drag-helper",
|
|
123
|
+
getContainer: () => new Promise((resolve) => {
|
|
124
|
+
setTimeout(() => {
|
|
125
|
+
resolve(grid.refs.innerBody.current || grid.refs.body.current);
|
|
126
|
+
}, 100);
|
|
127
|
+
})
|
|
128
|
+
});
|
|
129
|
+
};
|
|
130
|
+
const decorateRenderers = (renderers) => {
|
|
131
|
+
const RowComponent = renderers.body.row;
|
|
132
|
+
const BodyWrapperComponent = renderers.body.wrapper;
|
|
133
|
+
const Row = (0, import_react.useMemo)(() => (0, import_react_sortable_hoc.SortableElement)(RowComponent), []);
|
|
134
|
+
const BodyWrapper = (0, import_react.useMemo)(() => (0, import_react_sortable_hoc.SortableContainer)((props) => /* @__PURE__ */ import_react.default.createElement(BodyWrapperComponent, __spreadValues({}, (0, import_ds_utilities.omit)(props, keysToOmit)))), []);
|
|
135
|
+
return __spreadProps(__spreadValues({}, renderers), {
|
|
136
|
+
body: __spreadProps(__spreadValues({}, renderers.body), {
|
|
137
|
+
wrapper: BodyWrapper,
|
|
138
|
+
row: Row
|
|
139
|
+
})
|
|
140
|
+
});
|
|
141
|
+
};
|
|
142
|
+
const DndRowsPlugin = (0, import_createInstancePlugin.createInstancePlugin)("dnd-rows", {
|
|
143
|
+
decorateColumns,
|
|
144
|
+
getBodyProps,
|
|
145
|
+
decorateRenderers
|
|
146
|
+
});
|
|
147
|
+
module.exports = __toCommonJS(DndRowsPlugin_exports);
|
|
148
|
+
//# sourceMappingURL=DndRowsPlugin.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/plugins/row-dnd/DndRowsPlugin.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable max-lines */\n/* eslint-disable react-hooks/rules-of-hooks */\nimport React, { useMemo } from 'react';\nimport { SortableElement, SortableContainer, SortableHandle } from 'react-sortable-hoc';\nimport { GripperVertical } from '@elliemae/ds-icons';\nimport { omit } from '@elliemae/ds-utilities';\nimport { appendCellFormatter } from '@elliemae/ds-shared/useDataGrid/initColumnDefinition';\nimport { createInstancePlugin } from '@elliemae/ds-shared/createDataInstance/createInstancePlugin';\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 DragHandle = SortableHandle(() => <GripperVertical className=\"drag-handle\" />);\n\nconst translateDnDData = ({ oldIndex, newIndex, index }) => ({\n sourceIndex: oldIndex,\n targetIndex: newIndex,\n fromIndex: index === undefined ? oldIndex : index,\n});\n\nconst decorateColumns = (columns) => {\n const dragColumn = {\n property: 'drag',\n label: '',\n visible: true,\n width: 24,\n minWidth: 24,\n special: true,\n };\n return [\n appendCellFormatter(\n () => (\n <>\n <DragHandle />\n </>\n ),\n dragColumn,\n ),\n ...columns,\n ];\n};\n\nconst getBodyProps = (props, grid) => {\n const { onMoveRowEnd, onReorder, onMoveRowStart } = grid.props;\n return {\n ...props,\n onSortEnd: (data) => {\n grid.enableEvents();\n grid.setIsRowDragging(false);\n onMoveRowEnd(translateDnDData(data));\n },\n onSortStart: (...args) => {\n grid.disableEvents();\n grid.setIsRowDragging(true);\n onMoveRowStart(...args);\n },\n onSortOver: (data) => {\n onReorder(translateDnDData(data));\n },\n lockAxis: 'y',\n useDragHandle: true,\n helperClass: 'row-drag-helper',\n // a promise is needed, since sortable it's mounted before it's container\n getContainer: () =>\n new Promise((resolve) => {\n setTimeout(() => {\n resolve(grid.refs.innerBody.current || grid.refs.body.current);\n }, 100);\n }),\n };\n};\n\nconst decorateRenderers = (renderers) => {\n const RowComponent = renderers.body.row;\n const BodyWrapperComponent = renderers.body.wrapper;\n\n const Row = useMemo(() => SortableElement(RowComponent), []);\n\n const BodyWrapper = useMemo(\n () => SortableContainer((props) => <BodyWrapperComponent {...omit(props, keysToOmit)} />),\n [],\n );\n\n return {\n ...renderers,\n body: {\n ...renderers.body,\n wrapper: BodyWrapper,\n row: Row,\n },\n };\n};\n\nexport const DndRowsPlugin = createInstancePlugin('dnd-rows', {\n decorateColumns,\n getBodyProps,\n decorateRenderers,\n});\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,mBAA+B;AAC/B,gCAAmE;AACnE,sBAAgC;AAChC,0BAAqB;AACrB,kCAAoC;AACpC,kCAAqC;AAGrC,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;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAGF,MAAM,aAAa,8CAAe,MAAM,mDAAC,iCAAD;AAAA,EAAiB,WAAU;AAAA;AAEnE,MAAM,mBAAmB,CAAC,EAAE,UAAU,UAAU,YAAa;AAAA,EAC3D,aAAa;AAAA,EACb,aAAa;AAAA,EACb,WAAW,UAAU,SAAY,WAAW;AAAA;AAG9C,MAAM,kBAAkB,CAAC,YAAY;AACnC,QAAM,aAAa;AAAA,IACjB,UAAU;AAAA,IACV,OAAO;AAAA,IACP,SAAS;AAAA,IACT,OAAO;AAAA,IACP,UAAU;AAAA,IACV,SAAS;AAAA;AAEX,SAAO;AAAA,IACL,qDACE,MACE,wFACE,mDAAC,YAAD,QAGJ;AAAA,IAEF,GAAG;AAAA;AAAA;AAIP,MAAM,eAAe,CAAC,OAAO,SAAS;AACpC,QAAM,EAAE,cAAc,WAAW,mBAAmB,KAAK;AACzD,SAAO,iCACF,QADE;AAAA,IAEL,WAAW,CAAC,SAAS;AACnB,WAAK;AACL,WAAK,iBAAiB;AACtB,mBAAa,iBAAiB;AAAA;AAAA,IAEhC,aAAa,IAAI,SAAS;AACxB,WAAK;AACL,WAAK,iBAAiB;AACtB,qBAAe,GAAG;AAAA;AAAA,IAEpB,YAAY,CAAC,SAAS;AACpB,gBAAU,iBAAiB;AAAA;AAAA,IAE7B,UAAU;AAAA,IACV,eAAe;AAAA,IACf,aAAa;AAAA,IAEb,cAAc,MACZ,IAAI,QAAQ,CAAC,YAAY;AACvB,iBAAW,MAAM;AACf,gBAAQ,KAAK,KAAK,UAAU,WAAW,KAAK,KAAK,KAAK;AAAA,SACrD;AAAA;AAAA;AAAA;AAKX,MAAM,oBAAoB,CAAC,cAAc;AACvC,QAAM,eAAe,UAAU,KAAK;AACpC,QAAM,uBAAuB,UAAU,KAAK;AAE5C,QAAM,MAAM,0BAAQ,MAAM,+CAAgB,eAAe;AAEzD,QAAM,cAAc,0BAClB,MAAM,iDAAkB,CAAC,UAAU,mDAAC,sBAAD,mBAA0B,8BAAK,OAAO,gBACzE;AAGF,SAAO,iCACF,YADE;AAAA,IAEL,MAAM,iCACD,UAAU,OADT;AAAA,MAEJ,SAAS;AAAA,MACT,KAAK;AAAA;AAAA;AAAA;AAKJ,MAAM,gBAAgB,sDAAqB,YAAY;AAAA,EAC5D;AAAA,EACA;AAAA,EACA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var row_dnd_exports = {};
|
|
29
|
+
__export(row_dnd_exports, {
|
|
30
|
+
DndRowsPlugin: () => import_DndRowsPlugin.DndRowsPlugin
|
|
31
|
+
});
|
|
32
|
+
var React = __toESM(require("react"));
|
|
33
|
+
var import_DndRowsPlugin = require("./DndRowsPlugin");
|
|
34
|
+
module.exports = __toCommonJS(row_dnd_exports);
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/plugins/row-dnd/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["export { DndRowsPlugin } from './DndRowsPlugin';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,2BAA8B;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|