@elliemae/ds-datagrids 2.3.0-alpha.9 → 2.3.0-next.0
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/cjs/DSDataGrid.js +639 -0
- package/cjs/DataGridImpl.js +169 -0
- package/cjs/PaginatedDataGrid.js +77 -0
- package/cjs/blockNames.js +11 -0
- package/cjs/columns/IconColumn.js +95 -0
- package/cjs/columns/NumberColumn.js +6 -0
- package/cjs/components/BodyCell.js +101 -0
- package/cjs/components/BodyList.js +54 -0
- package/cjs/components/ColumnVisibilityMenuOption.js +44 -0
- package/cjs/components/ColumnsOptionsMenuSection.js +49 -0
- package/cjs/components/EmptyState.js +51 -0
- package/cjs/components/HeaderCell.js +70 -0
- package/cjs/components/List.js +32 -0
- package/cjs/components/ListItem.js +44 -0
- package/cjs/components/NoResults.js +51 -0
- package/cjs/components/RowsLoader.js +22 -0
- package/cjs/components/Table.js +122 -0
- package/cjs/components/TableBody.js +69 -0
- package/cjs/components/TableHeader.js +37 -0
- package/cjs/components/footer/addOptionalFooterComponents.js +46 -0
- package/cjs/components/header/PrimaryControls.js +36 -0
- package/cjs/components/header/addOptionalHeaderComponents.js +47 -0
- package/cjs/components/index.js +17 -0
- package/cjs/components/renderers/defaultClassedRenderers.js +59 -0
- package/cjs/components/renderers/index.js +23 -0
- package/cjs/components/renderers/renderRowsLoader.js +18 -0
- package/cjs/components/tableContext.js +13 -0
- package/cjs/defaultPlugins.js +12 -0
- package/cjs/index.js +67 -0
- package/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +143 -0
- package/cjs/plugins/body-header-scroll-sync/index.js +9 -0
- package/cjs/plugins/column-dnd/DndColumnsPlugin.js +134 -0
- package/cjs/plugins/column-dnd/decorateGridWithDndColumns.js +30 -0
- package/cjs/plugins/column-dnd/index.js +9 -0
- package/cjs/plugins/column-sizing/ColumnSizingPlugin.js +88 -0
- package/cjs/plugins/column-sizing/columnMeasurerTransformer.js +74 -0
- package/cjs/plugins/column-sizing/ext-points/decorateColumn.js +17 -0
- package/cjs/plugins/column-sizing/ext-points/getTableProps.js +63 -0
- package/cjs/plugins/column-sizing/getColumnNameFromProperty.js +9 -0
- package/cjs/plugins/column-sizing/index.js +9 -0
- package/cjs/plugins/column-sizing/useColumnSizeService.js +162 -0
- package/cjs/plugins/column-sizing/useStylesheetHelpers.js +270 -0
- package/cjs/plugins/column-sizing/utils.js +45 -0
- package/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js +18 -0
- package/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js +72 -0
- package/cjs/plugins/custom-cell-renderer/getRendererComponent.js +65 -0
- package/cjs/plugins/custom-cell-renderer/index.js +9 -0
- package/cjs/plugins/editable/EditableComponents/ComboBox.js +71 -0
- package/cjs/plugins/editable/EditableComponents/TextBox.js +110 -0
- package/cjs/plugins/editable/EditableComponents/index.js +11 -0
- package/cjs/plugins/editable/EditablePlugin.js +123 -0
- package/cjs/plugins/editable/decorateEditable.js +122 -0
- package/cjs/plugins/editable/getEditorComponent.js +82 -0
- package/cjs/plugins/editable/index.js +13 -0
- package/cjs/plugins/expandable-grid/ExpandableColumn.js +156 -0
- package/cjs/plugins/expandable-grid/ExpandablePlugin.js +243 -0
- package/cjs/plugins/expandable-grid/ExpandedRow.js +156 -0
- package/cjs/plugins/expandable-grid/ExpandedRowExtra.js +54 -0
- package/cjs/plugins/expandable-grid/index.js +11 -0
- package/cjs/plugins/expandable-grid/useExpandGridState.js +79 -0
- package/cjs/plugins/export-data/ExportDataPlugin.js +168 -0
- package/cjs/plugins/export-data/index.js +12 -0
- package/cjs/plugins/filterable/FilterablePlugin.js +81 -0
- package/cjs/plugins/filterable/addFilterToColumn.js +31 -0
- package/cjs/plugins/filterable/components/FilterableHeader.js +120 -0
- package/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +157 -0
- package/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +107 -0
- package/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +195 -0
- package/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js +174 -0
- package/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js +7 -0
- package/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +18 -0
- package/cjs/plugins/filterable/filterableFormatter.js +63 -0
- package/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js +74 -0
- package/cjs/plugins/filterable/filtering-helper/strategiesOperators.js +23 -0
- package/cjs/plugins/filterable/helper.js +120 -0
- package/cjs/plugins/filterable/index.js +9 -0
- package/cjs/plugins/filterable/useFilterableState.js +117 -0
- package/cjs/plugins/grouping-by/GroupingByPlugin.js +40 -0
- package/cjs/plugins/grouping-grid/GroupingPlugin.js +149 -0
- package/cjs/plugins/grouping-grid/walkStrategy.js +56 -0
- package/cjs/plugins/index.js +48 -0
- package/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js +124 -0
- package/cjs/plugins/infinite-scrolling/index.js +9 -0
- package/cjs/plugins/pagination/PaginationPlugin.js +109 -0
- package/cjs/plugins/pagination/components/Pagination.js +44 -0
- package/cjs/plugins/pagination/components/Paginator.js +67 -0
- package/cjs/plugins/pagination/components/PerPageDropdown.js +80 -0
- package/cjs/plugins/pagination/helper.js +41 -0
- package/cjs/plugins/pagination/index.js +9 -0
- package/cjs/plugins/pagination/usePaginationState.js +74 -0
- package/cjs/plugins/resizable/ResizablePlugin.js +113 -0
- package/cjs/plugins/resizable/decorateResizable.js +60 -0
- package/cjs/plugins/resizable/index.js +9 -0
- package/cjs/plugins/resizable/useResizeHandle.js +73 -0
- package/cjs/plugins/resizable/utils.js +33 -0
- package/cjs/plugins/row-dnd/DndRowsPlugin.js +115 -0
- package/cjs/plugins/row-dnd/index.js +9 -0
- package/cjs/plugins/selectable/SelectablePlugin.js +199 -0
- package/cjs/plugins/selectable/addSelectableColumn.js +93 -0
- package/cjs/plugins/selectable/helper.js +43 -0
- package/cjs/plugins/selectable/index.js +9 -0
- package/cjs/plugins/selectable/selectableFormatter.js +115 -0
- package/cjs/plugins/selectable/useSelectableState.js +143 -0
- package/cjs/plugins/sortable/SortablePlugin.js +109 -0
- package/cjs/plugins/sortable/checkIfSortable.js +22 -0
- package/cjs/plugins/sortable/index.js +9 -0
- package/cjs/plugins/sortable/sortHeaderFormatter.js +60 -0
- package/cjs/plugins/sortable/sortTree.js +51 -0
- package/cjs/plugins/sortable/sorter.js +176 -0
- package/cjs/plugins/sortable/useSortableState.js +99 -0
- package/cjs/plugins/toolbar/RowRenderer.js +97 -0
- package/cjs/plugins/toolbar/ToolbarPlugin.js +42 -0
- package/cjs/plugins/toolbar/ToolbarTrigger.js +86 -0
- package/cjs/plugins/toolbar/index.js +9 -0
- package/cjs/plugins/virtualization/AutoHeightList.js +59 -0
- package/cjs/plugins/virtualization/VirtualizationPlugin.js +108 -0
- package/cjs/plugins/virtualization/VirtualizedBody.js +275 -0
- package/cjs/plugins/virtualization/VirtualizedBodyRow.js +30 -0
- package/cjs/plugins/virtualization/helper.js +7 -0
- package/cjs/plugins/virtualization/index.js +9 -0
- package/cjs/renders/CellWithAddons.js +63 -0
- package/cjs/renders/index.js +11 -0
- package/cjs/renders/styled.js +27 -0
- package/cjs/rowSizes.js +19 -0
- package/cjs/utilities/getPluginsFromProps.js +44 -0
- package/cjs/utilities/getScrollbarSize.js +27 -0
- package/cjs/utilities/normalizeData.js +39 -0
- package/esm/DSDataGrid.js +630 -0
- package/esm/DataGridImpl.js +160 -0
- package/esm/PaginatedDataGrid.js +68 -0
- package/esm/blockNames.js +5 -0
- package/esm/columns/IconColumn.js +87 -0
- package/esm/columns/NumberColumn.js +4 -0
- package/esm/components/BodyCell.js +92 -0
- package/esm/components/BodyList.js +45 -0
- package/esm/components/ColumnVisibilityMenuOption.js +40 -0
- package/esm/components/ColumnsOptionsMenuSection.js +43 -0
- package/esm/components/EmptyState.js +41 -0
- package/esm/components/HeaderCell.js +62 -0
- package/esm/components/List.js +26 -0
- package/esm/components/ListItem.js +38 -0
- package/esm/components/NoResults.js +43 -0
- package/esm/components/RowsLoader.js +15 -0
- package/esm/components/Table.js +115 -0
- package/esm/components/TableBody.js +61 -0
- package/esm/components/TableHeader.js +31 -0
- package/esm/components/footer/addOptionalFooterComponents.js +40 -0
- package/esm/components/header/PrimaryControls.js +30 -0
- package/esm/components/header/addOptionalHeaderComponents.js +40 -0
- package/esm/components/index.js +5 -0
- package/esm/components/renderers/defaultClassedRenderers.js +46 -0
- package/esm/components/renderers/index.js +18 -0
- package/esm/components/renderers/renderRowsLoader.js +10 -0
- package/esm/components/tableContext.js +5 -0
- package/esm/defaultPlugins.js +8 -0
- package/esm/index.js +27 -0
- package/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +132 -0
- package/esm/plugins/body-header-scroll-sync/index.js +1 -0
- package/esm/plugins/column-dnd/DndColumnsPlugin.js +125 -0
- package/esm/plugins/column-dnd/decorateGridWithDndColumns.js +22 -0
- package/esm/plugins/column-dnd/index.js +1 -0
- package/esm/plugins/column-sizing/ColumnSizingPlugin.js +80 -0
- package/esm/plugins/column-sizing/columnMeasurerTransformer.js +66 -0
- package/esm/plugins/column-sizing/ext-points/decorateColumn.js +13 -0
- package/esm/plugins/column-sizing/ext-points/getTableProps.js +55 -0
- package/esm/plugins/column-sizing/getColumnNameFromProperty.js +7 -0
- package/esm/plugins/column-sizing/index.js +1 -0
- package/esm/plugins/column-sizing/useColumnSizeService.js +156 -0
- package/esm/plugins/column-sizing/useStylesheetHelpers.js +245 -0
- package/esm/plugins/column-sizing/utils.js +37 -0
- package/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js +10 -0
- package/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js +63 -0
- package/esm/plugins/custom-cell-renderer/getRendererComponent.js +56 -0
- package/esm/plugins/custom-cell-renderer/index.js +1 -0
- package/esm/plugins/editable/EditableComponents/ComboBox.js +65 -0
- package/esm/plugins/editable/EditableComponents/TextBox.js +103 -0
- package/esm/plugins/editable/EditableComponents/index.js +2 -0
- package/esm/plugins/editable/EditablePlugin.js +115 -0
- package/esm/plugins/editable/decorateEditable.js +92 -0
- package/esm/plugins/editable/getEditorComponent.js +74 -0
- package/esm/plugins/editable/index.js +3 -0
- package/esm/plugins/expandable-grid/ExpandableColumn.js +146 -0
- package/esm/plugins/expandable-grid/ExpandablePlugin.js +231 -0
- package/esm/plugins/expandable-grid/ExpandedRow.js +143 -0
- package/esm/plugins/expandable-grid/ExpandedRowExtra.js +46 -0
- package/esm/plugins/expandable-grid/index.js +2 -0
- package/esm/plugins/expandable-grid/useExpandGridState.js +75 -0
- package/esm/plugins/export-data/ExportDataPlugin.js +156 -0
- package/esm/plugins/export-data/index.js +1 -0
- package/esm/plugins/filterable/FilterablePlugin.js +73 -0
- package/esm/plugins/filterable/addFilterToColumn.js +23 -0
- package/esm/plugins/filterable/components/FilterableHeader.js +113 -0
- package/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +148 -0
- package/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +97 -0
- package/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +184 -0
- package/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js +163 -0
- package/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js +3 -0
- package/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +16 -0
- package/esm/plugins/filterable/filterableFormatter.js +57 -0
- package/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js +65 -0
- package/esm/plugins/filterable/filtering-helper/strategiesOperators.js +17 -0
- package/esm/plugins/filterable/helper.js +106 -0
- package/esm/plugins/filterable/index.js +1 -0
- package/esm/plugins/filterable/useFilterableState.js +109 -0
- package/esm/plugins/grouping-by/GroupingByPlugin.js +32 -0
- package/esm/plugins/grouping-grid/GroupingPlugin.js +138 -0
- package/esm/plugins/grouping-grid/walkStrategy.js +52 -0
- package/esm/plugins/index.js +19 -0
- package/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js +114 -0
- package/esm/plugins/infinite-scrolling/index.js +1 -0
- package/esm/plugins/pagination/PaginationPlugin.js +96 -0
- package/esm/plugins/pagination/components/Pagination.js +36 -0
- package/esm/plugins/pagination/components/Paginator.js +59 -0
- package/esm/plugins/pagination/components/PerPageDropdown.js +71 -0
- package/esm/plugins/pagination/helper.js +36 -0
- package/esm/plugins/pagination/index.js +1 -0
- package/esm/plugins/pagination/usePaginationState.js +66 -0
- package/esm/plugins/resizable/ResizablePlugin.js +105 -0
- package/esm/plugins/resizable/decorateResizable.js +49 -0
- package/esm/plugins/resizable/index.js +1 -0
- package/esm/plugins/resizable/useResizeHandle.js +65 -0
- package/esm/plugins/resizable/utils.js +23 -0
- package/esm/plugins/row-dnd/DndRowsPlugin.js +105 -0
- package/esm/plugins/row-dnd/index.js +1 -0
- package/esm/plugins/selectable/SelectablePlugin.js +190 -0
- package/esm/plugins/selectable/addSelectableColumn.js +84 -0
- package/esm/plugins/selectable/helper.js +31 -0
- package/esm/plugins/selectable/index.js +1 -0
- package/esm/plugins/selectable/selectableFormatter.js +107 -0
- package/esm/plugins/selectable/useSelectableState.js +135 -0
- package/esm/plugins/sortable/SortablePlugin.js +82 -0
- package/esm/plugins/sortable/checkIfSortable.js +17 -0
- package/esm/plugins/sortable/index.js +1 -0
- package/esm/plugins/sortable/sortHeaderFormatter.js +53 -0
- package/esm/plugins/sortable/sortTree.js +26 -0
- package/esm/plugins/sortable/sorter.js +166 -0
- package/esm/plugins/sortable/useSortableState.js +71 -0
- package/esm/plugins/toolbar/RowRenderer.js +88 -0
- package/esm/plugins/toolbar/ToolbarPlugin.js +33 -0
- package/esm/plugins/toolbar/ToolbarTrigger.js +74 -0
- package/esm/plugins/toolbar/index.js +1 -0
- package/esm/plugins/virtualization/AutoHeightList.js +52 -0
- package/esm/plugins/virtualization/VirtualizationPlugin.js +97 -0
- package/esm/plugins/virtualization/VirtualizedBody.js +268 -0
- package/esm/plugins/virtualization/VirtualizedBodyRow.js +28 -0
- package/esm/plugins/virtualization/helper.js +3 -0
- package/esm/plugins/virtualization/index.js +1 -0
- package/esm/renders/CellWithAddons.js +53 -0
- package/esm/renders/index.js +2 -0
- package/esm/renders/styled.js +16 -0
- package/esm/rowSizes.js +13 -0
- package/esm/utilities/getPluginsFromProps.js +42 -0
- package/esm/utilities/getScrollbarSize.js +23 -0
- package/esm/utilities/normalizeData.js +29 -0
- package/package.json +288 -290
- package/types/DSDataGrid.d.ts +863 -0
- package/types/DataGridImpl.d.ts +12 -0
- package/types/PaginatedDataGrid.d.ts +16 -0
- package/{dist/types → types}/blockNames.d.ts +0 -0
- package/types/columns/IconColumn.d.ts +35 -0
- package/{dist/types → types}/columns/NumberColumn.d.ts +0 -0
- package/types/components/BodyCell.d.ts +33 -0
- package/{dist/types → types}/components/BodyList.d.ts +0 -0
- package/types/components/ColumnVisibilityMenuOption.d.ts +15 -0
- package/types/components/ColumnsOptionsMenuSection.d.ts +8 -0
- package/{dist/types → types}/components/EmptyState.d.ts +0 -0
- package/types/components/HeaderCell.d.ts +19 -0
- package/{dist/types → types}/components/List.d.ts +0 -0
- package/{dist/types → types}/components/ListItem.d.ts +0 -0
- package/types/components/NoResults.d.ts +8 -0
- package/types/components/RowsLoader.d.ts +5 -0
- package/types/components/Table.d.ts +13 -0
- package/types/components/TableBody.d.ts +9 -0
- package/types/components/TableHeader.d.ts +3 -0
- package/types/components/footer/addOptionalFooterComponents.d.ts +6 -0
- package/types/components/header/PrimaryControls.d.ts +5 -0
- package/types/components/header/addOptionalHeaderComponents.d.ts +11 -0
- package/{dist/types → types}/components/index.d.ts +0 -0
- package/{dist/types → types}/components/renderers/defaultClassedRenderers.d.ts +0 -0
- package/types/components/renderers/index.d.ts +15 -0
- package/types/components/renderers/renderRowsLoader.d.ts +2 -0
- package/{dist/types → types}/components/tableContext.d.ts +0 -0
- package/{dist/types → types}/components/tests/ColumnVisibilityMenu.test.d.ts +0 -0
- package/{dist/types → types}/defaultPlugins.d.ts +0 -0
- package/types/index.d.ts +10 -0
- package/{dist/types → types}/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.d.ts +0 -0
- package/types/plugins/body-header-scroll-sync/index.d.ts +1 -0
- package/{dist/types → types}/plugins/column-dnd/DndColumnsPlugin.d.ts +0 -0
- package/{dist/types → types}/plugins/column-dnd/decorateGridWithDndColumns.d.ts +0 -0
- package/types/plugins/column-dnd/index.d.ts +1 -0
- package/{dist/types → types}/plugins/column-sizing/ColumnSizingPlugin.d.ts +0 -0
- package/{dist/types → types}/plugins/column-sizing/columnMeasurerTransformer.d.ts +0 -0
- package/{dist/types → types}/plugins/column-sizing/ext-points/decorateColumn.d.ts +0 -0
- package/{dist/types → types}/plugins/column-sizing/ext-points/getTableProps.d.ts +0 -0
- package/types/plugins/column-sizing/getColumnNameFromProperty.d.ts +1 -0
- package/types/plugins/column-sizing/index.d.ts +1 -0
- package/types/plugins/column-sizing/useColumnSizeService.d.ts +17 -0
- package/{dist/types → types}/plugins/column-sizing/useStylesheetHelpers.d.ts +0 -0
- package/{dist/types → types}/plugins/column-sizing/utils.d.ts +0 -0
- package/{dist/types → types}/plugins/custom-cell-renderer/CustomRendererPlugin.d.ts +0 -0
- package/types/plugins/custom-cell-renderer/addCustomRendererToCell.d.ts +3 -0
- package/types/plugins/custom-cell-renderer/getRendererComponent.d.ts +11 -0
- package/types/plugins/custom-cell-renderer/index.d.ts +1 -0
- package/types/plugins/editable/EditableComponents/ComboBox.d.ts +10 -0
- package/types/plugins/editable/EditableComponents/TextBox.d.ts +22 -0
- package/{dist/types → types}/plugins/editable/EditableComponents/index.d.ts +0 -0
- package/{dist/types → types}/plugins/editable/EditablePlugin.d.ts +0 -0
- package/{dist/types → types}/plugins/editable/decorateEditable.d.ts +0 -0
- package/types/plugins/editable/getEditorComponent.d.ts +6 -0
- package/types/plugins/editable/index.d.ts +2 -0
- package/types/plugins/expandable-grid/ExpandableColumn.d.ts +28 -0
- package/{dist/types → types}/plugins/expandable-grid/ExpandablePlugin.d.ts +0 -0
- package/types/plugins/expandable-grid/ExpandedRow.d.ts +11 -0
- package/types/plugins/expandable-grid/ExpandedRowExtra.d.ts +9 -0
- package/types/plugins/expandable-grid/index.d.ts +2 -0
- package/{dist/types → types}/plugins/expandable-grid/tests/ExpandablePlugin.test.d.ts +0 -0
- package/{dist/types → types}/plugins/expandable-grid/useExpandGridState.d.ts +0 -0
- package/{dist/types → types}/plugins/export-data/ExportDataPlugin.d.ts +0 -0
- package/types/plugins/export-data/index.d.ts +1 -0
- package/{dist/types → types}/plugins/filterable/FilterablePlugin.d.ts +0 -0
- package/{dist/types → types}/plugins/filterable/addFilterToColumn.d.ts +0 -0
- package/types/plugins/filterable/components/FilterableHeader.d.ts +29 -0
- package/types/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.d.ts +30 -0
- package/types/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.d.ts +27 -0
- package/types/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.d.ts +30 -0
- package/types/plugins/filterable/components/filterable-menus/TextFilterMenu.d.ts +35 -0
- package/{dist/types → types}/plugins/filterable/components/filterable-menus/defaultDateFormat.d.ts +0 -0
- package/types/plugins/filterable/components/filterable-menus/getFilterMenuByType.d.ts +1 -0
- package/types/plugins/filterable/filterableFormatter.d.ts +11 -0
- package/types/plugins/filterable/filtering-helper/filterRowsByQuery.d.ts +2 -0
- package/types/plugins/filterable/filtering-helper/strategiesOperators.d.ts +2 -0
- package/{dist/types → types}/plugins/filterable/helper.d.ts +0 -0
- package/types/plugins/filterable/index.d.ts +1 -0
- package/{dist/types → types}/plugins/filterable/useFilterableState.d.ts +0 -0
- package/{dist/types → types}/plugins/grouping-by/GroupingByPlugin.d.ts +0 -0
- package/{dist/types → types}/plugins/grouping-grid/GroupingPlugin.d.ts +0 -0
- package/{dist/types → types}/plugins/grouping-grid/walkStrategy.d.ts +0 -0
- package/types/plugins/index.d.ts +16 -0
- package/{dist/types → types}/plugins/infinite-scrolling/InfiniteScrollPlugin.d.ts +0 -0
- package/types/plugins/infinite-scrolling/index.d.ts +1 -0
- package/{dist/types → types}/plugins/pagination/PaginationPlugin.d.ts +0 -0
- package/{dist/types → types}/plugins/pagination/components/Pagination.d.ts +0 -0
- package/types/plugins/pagination/components/Paginator.d.ts +9 -0
- package/types/plugins/pagination/components/PerPageDropdown.d.ts +9 -0
- package/types/plugins/pagination/helper.d.ts +17 -0
- package/types/plugins/pagination/index.d.ts +1 -0
- package/{dist/types → types}/plugins/pagination/usePaginationState.d.ts +0 -0
- package/{dist/types → types}/plugins/resizable/ResizablePlugin.d.ts +0 -0
- package/{dist/types → types}/plugins/resizable/decorateResizable.d.ts +0 -0
- package/types/plugins/resizable/index.d.ts +1 -0
- package/{dist/types → types}/plugins/resizable/useResizeHandle.d.ts +0 -0
- package/{dist/types → types}/plugins/resizable/utils.d.ts +0 -0
- package/{dist/types → types}/plugins/row-dnd/DndRowsPlugin.d.ts +0 -0
- package/types/plugins/row-dnd/index.d.ts +1 -0
- package/{dist/types → types}/plugins/selectable/SelectablePlugin.d.ts +0 -0
- package/{dist/types → types}/plugins/selectable/addSelectableColumn.d.ts +0 -0
- package/{dist/types → types}/plugins/selectable/helper.d.ts +0 -0
- package/types/plugins/selectable/index.d.ts +1 -0
- package/types/plugins/selectable/selectableFormatter.d.ts +9 -0
- package/{dist/types → types}/plugins/selectable/useSelectableState.d.ts +0 -0
- package/{dist/types → types}/plugins/sortable/SortablePlugin.d.ts +0 -0
- package/{dist/types → types}/plugins/sortable/checkIfSortable.d.ts +0 -0
- package/types/plugins/sortable/index.d.ts +1 -0
- package/types/plugins/sortable/sortHeaderFormatter.d.ts +6 -0
- package/types/plugins/sortable/sortTree.d.ts +2 -0
- package/types/plugins/sortable/sorter.d.ts +12 -0
- package/{dist/types → types}/plugins/sortable/useSortableState.d.ts +0 -0
- package/{dist/types → types}/plugins/toolbar/RowRenderer.d.ts +0 -0
- package/{dist/types → types}/plugins/toolbar/ToolbarPlugin.d.ts +0 -0
- package/{dist/types → types}/plugins/toolbar/ToolbarTrigger.d.ts +0 -0
- package/types/plugins/toolbar/index.d.ts +1 -0
- package/types/plugins/virtualization/AutoHeightList.d.ts +3 -0
- package/{dist/types → types}/plugins/virtualization/VirtualizationPlugin.d.ts +0 -0
- package/types/plugins/virtualization/VirtualizedBody.d.ts +32 -0
- package/types/plugins/virtualization/VirtualizedBodyRow.d.ts +8 -0
- package/{dist/types → types}/plugins/virtualization/helper.d.ts +0 -0
- package/types/plugins/virtualization/index.d.ts +1 -0
- package/{dist/types → types}/renders/CellWithAddons.d.ts +0 -0
- package/{dist/types → types}/renders/index.d.ts +0 -0
- package/types/renders/styled.d.ts +3 -0
- package/{dist/types → types}/rowSizes.d.ts +0 -0
- package/{dist/types → types}/stories/datagrids-export.stories.d.ts +0 -0
- package/{dist/types → types}/stories/datagrids-selectable-multi.stories.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrid-Columns.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrid-Editable.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrid-Export.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrid-Filter-helper.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrid-Filterable-Dates.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrid-Filterable-State.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrid-RowDnd.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrid-Selectable.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrid-Sortable.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrid-Toolbar.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrid-Virtualization.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrids-ColumnSizing.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrids-ConditionalPagination.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrids-Rows.test.d.ts +0 -0
- package/{dist/types → types}/tests/DataGrids.test.d.ts +0 -0
- package/types/utilities/getPluginsFromProps.d.ts +1 -0
- package/{dist/types → types}/utilities/getScrollbarSize.d.ts +0 -0
- package/{dist/types → types}/utilities/normalizeData.d.ts +0 -0
- package/dist/cjs/DSDataGrid.js +0 -399
- package/dist/cjs/DSDataGrid.js.map +0 -7
- package/dist/cjs/DataGridImpl.js +0 -144
- package/dist/cjs/DataGridImpl.js.map +0 -7
- package/dist/cjs/PaginatedDataGrid.js +0 -77
- package/dist/cjs/PaginatedDataGrid.js.map +0 -7
- package/dist/cjs/blockNames.js +0 -39
- package/dist/cjs/blockNames.js.map +0 -7
- package/dist/cjs/columns/IconColumn.js +0 -111
- package/dist/cjs/columns/IconColumn.js.map +0 -7
- package/dist/cjs/columns/NumberColumn.js +0 -36
- package/dist/cjs/columns/NumberColumn.js.map +0 -7
- package/dist/cjs/components/BodyCell.js +0 -104
- package/dist/cjs/components/BodyCell.js.map +0 -7
- package/dist/cjs/components/BodyList.js +0 -54
- package/dist/cjs/components/BodyList.js.map +0 -7
- package/dist/cjs/components/ColumnVisibilityMenuOption.js +0 -66
- package/dist/cjs/components/ColumnVisibilityMenuOption.js.map +0 -7
- package/dist/cjs/components/ColumnsOptionsMenuSection.js +0 -64
- package/dist/cjs/components/ColumnsOptionsMenuSection.js.map +0 -7
- package/dist/cjs/components/EmptyState.js +0 -82
- package/dist/cjs/components/EmptyState.js.map +0 -7
- package/dist/cjs/components/HeaderCell.js +0 -76
- package/dist/cjs/components/HeaderCell.js.map +0 -7
- package/dist/cjs/components/List.js +0 -44
- package/dist/cjs/components/List.js.map +0 -7
- package/dist/cjs/components/ListItem.js +0 -51
- package/dist/cjs/components/ListItem.js.map +0 -7
- package/dist/cjs/components/NoResults.js +0 -55
- package/dist/cjs/components/NoResults.js.map +0 -7
- package/dist/cjs/components/RowsLoader.js +0 -42
- package/dist/cjs/components/RowsLoader.js.map +0 -7
- package/dist/cjs/components/Table.js +0 -113
- package/dist/cjs/components/Table.js.map +0 -7
- package/dist/cjs/components/TableBody.js +0 -70
- package/dist/cjs/components/TableBody.js.map +0 -7
- package/dist/cjs/components/TableHeader.js +0 -54
- package/dist/cjs/components/TableHeader.js.map +0 -7
- package/dist/cjs/components/footer/addOptionalFooterComponents.js +0 -56
- package/dist/cjs/components/footer/addOptionalFooterComponents.js.map +0 -7
- package/dist/cjs/components/header/PrimaryControls.js +0 -50
- package/dist/cjs/components/header/PrimaryControls.js.map +0 -7
- package/dist/cjs/components/header/addOptionalHeaderComponents.js +0 -58
- package/dist/cjs/components/header/addOptionalHeaderComponents.js.map +0 -7
- package/dist/cjs/components/index.js +0 -43
- package/dist/cjs/components/index.js.map +0 -7
- package/dist/cjs/components/renderers/defaultClassedRenderers.js +0 -66
- package/dist/cjs/components/renderers/defaultClassedRenderers.js.map +0 -7
- package/dist/cjs/components/renderers/index.js +0 -50
- package/dist/cjs/components/renderers/index.js.map +0 -7
- package/dist/cjs/components/renderers/renderRowsLoader.js +0 -39
- package/dist/cjs/components/renderers/renderRowsLoader.js.map +0 -7
- package/dist/cjs/components/tableContext.js +0 -36
- package/dist/cjs/components/tableContext.js.map +0 -7
- package/dist/cjs/defaultPlugins.js +0 -44
- package/dist/cjs/defaultPlugins.js.map +0 -7
- package/dist/cjs/index.js +0 -72
- package/dist/cjs/index.js.map +0 -7
- package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +0 -131
- package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +0 -7
- package/dist/cjs/plugins/body-header-scroll-sync/index.js +0 -35
- package/dist/cjs/plugins/body-header-scroll-sync/index.js.map +0 -7
- package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js +0 -155
- package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js.map +0 -7
- package/dist/cjs/plugins/column-dnd/decorateGridWithDndColumns.js +0 -46
- package/dist/cjs/plugins/column-dnd/decorateGridWithDndColumns.js.map +0 -7
- package/dist/cjs/plugins/column-dnd/index.js +0 -35
- package/dist/cjs/plugins/column-dnd/index.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js +0 -92
- package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/columnMeasurerTransformer.js +0 -69
- package/dist/cjs/plugins/column-sizing/columnMeasurerTransformer.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js +0 -44
- package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js +0 -64
- package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/getColumnNameFromProperty.js +0 -37
- package/dist/cjs/plugins/column-sizing/getColumnNameFromProperty.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/index.js +0 -35
- package/dist/cjs/plugins/column-sizing/index.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/useColumnSizeService.js +0 -148
- package/dist/cjs/plugins/column-sizing/useColumnSizeService.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js +0 -167
- package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/utils.js +0 -68
- package/dist/cjs/plugins/column-sizing/utils.js.map +0 -7
- package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js +0 -40
- package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +0 -7
- package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js +0 -77
- package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +0 -7
- package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js +0 -63
- package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js.map +0 -7
- package/dist/cjs/plugins/custom-cell-renderer/index.js +0 -35
- package/dist/cjs/plugins/custom-cell-renderer/index.js.map +0 -7
- package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js +0 -68
- package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js.map +0 -7
- package/dist/cjs/plugins/editable/EditableComponents/TextBox.js +0 -90
- package/dist/cjs/plugins/editable/EditableComponents/TextBox.js.map +0 -7
- package/dist/cjs/plugins/editable/EditableComponents/index.js +0 -37
- package/dist/cjs/plugins/editable/EditableComponents/index.js.map +0 -7
- package/dist/cjs/plugins/editable/EditablePlugin.js +0 -108
- package/dist/cjs/plugins/editable/EditablePlugin.js.map +0 -7
- package/dist/cjs/plugins/editable/decorateEditable.js +0 -85
- package/dist/cjs/plugins/editable/decorateEditable.js.map +0 -7
- package/dist/cjs/plugins/editable/getEditorComponent.js +0 -76
- package/dist/cjs/plugins/editable/getEditorComponent.js.map +0 -7
- package/dist/cjs/plugins/editable/index.js +0 -38
- package/dist/cjs/plugins/editable/index.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js +0 -124
- package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js +0 -181
- package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/ExpandedRow.js +0 -134
- package/dist/cjs/plugins/expandable-grid/ExpandedRow.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js +0 -56
- package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/index.js +0 -37
- package/dist/cjs/plugins/expandable-grid/index.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/useExpandGridState.js +0 -93
- package/dist/cjs/plugins/expandable-grid/useExpandGridState.js.map +0 -7
- package/dist/cjs/plugins/export-data/ExportDataPlugin.js +0 -134
- package/dist/cjs/plugins/export-data/ExportDataPlugin.js.map +0 -7
- package/dist/cjs/plugins/export-data/index.js +0 -35
- package/dist/cjs/plugins/export-data/index.js.map +0 -7
- package/dist/cjs/plugins/filterable/FilterablePlugin.js +0 -80
- package/dist/cjs/plugins/filterable/FilterablePlugin.js.map +0 -7
- package/dist/cjs/plugins/filterable/addFilterToColumn.js +0 -43
- package/dist/cjs/plugins/filterable/addFilterToColumn.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/FilterableHeader.js +0 -132
- package/dist/cjs/plugins/filterable/components/FilterableHeader.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +0 -157
- package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +0 -131
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +0 -201
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js +0 -170
- package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js +0 -35
- package/dist/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +0 -49
- package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +0 -7
- package/dist/cjs/plugins/filterable/filterableFormatter.js +0 -73
- package/dist/cjs/plugins/filterable/filterableFormatter.js.map +0 -7
- package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js +0 -79
- package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +0 -7
- package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js +0 -44
- package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js.map +0 -7
- package/dist/cjs/plugins/filterable/helper.js +0 -109
- package/dist/cjs/plugins/filterable/helper.js.map +0 -7
- package/dist/cjs/plugins/filterable/index.js +0 -35
- package/dist/cjs/plugins/filterable/index.js.map +0 -7
- package/dist/cjs/plugins/filterable/useFilterableState.js +0 -113
- package/dist/cjs/plugins/filterable/useFilterableState.js.map +0 -7
- package/dist/cjs/plugins/grouping-by/GroupingByPlugin.js +0 -57
- package/dist/cjs/plugins/grouping-by/GroupingByPlugin.js.map +0 -7
- package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js +0 -126
- package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js.map +0 -7
- package/dist/cjs/plugins/grouping-grid/walkStrategy.js +0 -76
- package/dist/cjs/plugins/grouping-grid/walkStrategy.js.map +0 -7
- package/dist/cjs/plugins/index.js +0 -68
- package/dist/cjs/plugins/index.js.map +0 -7
- package/dist/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js +0 -100
- package/dist/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +0 -7
- package/dist/cjs/plugins/infinite-scrolling/index.js +0 -35
- package/dist/cjs/plugins/infinite-scrolling/index.js.map +0 -7
- package/dist/cjs/plugins/pagination/PaginationPlugin.js +0 -92
- package/dist/cjs/plugins/pagination/PaginationPlugin.js.map +0 -7
- package/dist/cjs/plugins/pagination/components/Pagination.js +0 -63
- package/dist/cjs/plugins/pagination/components/Pagination.js.map +0 -7
- package/dist/cjs/plugins/pagination/components/Paginator.js +0 -82
- package/dist/cjs/plugins/pagination/components/Paginator.js.map +0 -7
- package/dist/cjs/plugins/pagination/components/PerPageDropdown.js +0 -68
- package/dist/cjs/plugins/pagination/components/PerPageDropdown.js.map +0 -7
- package/dist/cjs/plugins/pagination/helper.js +0 -62
- package/dist/cjs/plugins/pagination/helper.js.map +0 -7
- package/dist/cjs/plugins/pagination/index.js +0 -35
- package/dist/cjs/plugins/pagination/index.js.map +0 -7
- package/dist/cjs/plugins/pagination/usePaginationState.js +0 -82
- package/dist/cjs/plugins/pagination/usePaginationState.js.map +0 -7
- package/dist/cjs/plugins/resizable/ResizablePlugin.js +0 -109
- package/dist/cjs/plugins/resizable/ResizablePlugin.js.map +0 -7
- package/dist/cjs/plugins/resizable/decorateResizable.js +0 -56
- package/dist/cjs/plugins/resizable/decorateResizable.js.map +0 -7
- package/dist/cjs/plugins/resizable/index.js +0 -35
- package/dist/cjs/plugins/resizable/index.js.map +0 -7
- package/dist/cjs/plugins/resizable/useResizeHandle.js +0 -79
- package/dist/cjs/plugins/resizable/useResizeHandle.js.map +0 -7
- package/dist/cjs/plugins/resizable/utils.js +0 -54
- package/dist/cjs/plugins/resizable/utils.js.map +0 -7
- package/dist/cjs/plugins/row-dnd/DndRowsPlugin.js +0 -136
- package/dist/cjs/plugins/row-dnd/DndRowsPlugin.js.map +0 -7
- package/dist/cjs/plugins/row-dnd/index.js +0 -35
- package/dist/cjs/plugins/row-dnd/index.js.map +0 -7
- package/dist/cjs/plugins/selectable/SelectablePlugin.js +0 -166
- package/dist/cjs/plugins/selectable/SelectablePlugin.js.map +0 -7
- package/dist/cjs/plugins/selectable/addSelectableColumn.js +0 -92
- package/dist/cjs/plugins/selectable/addSelectableColumn.js.map +0 -7
- package/dist/cjs/plugins/selectable/helper.js +0 -54
- package/dist/cjs/plugins/selectable/helper.js.map +0 -7
- package/dist/cjs/plugins/selectable/index.js +0 -35
- package/dist/cjs/plugins/selectable/index.js.map +0 -7
- package/dist/cjs/plugins/selectable/selectableFormatter.js +0 -93
- package/dist/cjs/plugins/selectable/selectableFormatter.js.map +0 -7
- package/dist/cjs/plugins/selectable/useSelectableState.js +0 -116
- package/dist/cjs/plugins/selectable/useSelectableState.js.map +0 -7
- package/dist/cjs/plugins/sortable/SortablePlugin.js +0 -95
- package/dist/cjs/plugins/sortable/SortablePlugin.js.map +0 -7
- package/dist/cjs/plugins/sortable/checkIfSortable.js +0 -45
- package/dist/cjs/plugins/sortable/checkIfSortable.js.map +0 -7
- package/dist/cjs/plugins/sortable/index.js +0 -35
- package/dist/cjs/plugins/sortable/index.js.map +0 -7
- package/dist/cjs/plugins/sortable/sortHeaderFormatter.js +0 -66
- package/dist/cjs/plugins/sortable/sortHeaderFormatter.js.map +0 -7
- package/dist/cjs/plugins/sortable/sortTree.js +0 -44
- package/dist/cjs/plugins/sortable/sortTree.js.map +0 -7
- package/dist/cjs/plugins/sortable/sorter.js +0 -144
- package/dist/cjs/plugins/sortable/sorter.js.map +0 -7
- package/dist/cjs/plugins/sortable/useSortableState.js +0 -73
- package/dist/cjs/plugins/sortable/useSortableState.js.map +0 -7
- package/dist/cjs/plugins/toolbar/RowRenderer.js +0 -96
- package/dist/cjs/plugins/toolbar/RowRenderer.js.map +0 -7
- package/dist/cjs/plugins/toolbar/ToolbarPlugin.js +0 -58
- package/dist/cjs/plugins/toolbar/ToolbarPlugin.js.map +0 -7
- package/dist/cjs/plugins/toolbar/ToolbarTrigger.js +0 -105
- package/dist/cjs/plugins/toolbar/ToolbarTrigger.js.map +0 -7
- package/dist/cjs/plugins/toolbar/index.js +0 -35
- package/dist/cjs/plugins/toolbar/index.js.map +0 -7
- package/dist/cjs/plugins/virtualization/AutoHeightList.js +0 -71
- package/dist/cjs/plugins/virtualization/AutoHeightList.js.map +0 -7
- package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js +0 -97
- package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js.map +0 -7
- package/dist/cjs/plugins/virtualization/VirtualizedBody.js +0 -259
- package/dist/cjs/plugins/virtualization/VirtualizedBody.js.map +0 -7
- package/dist/cjs/plugins/virtualization/VirtualizedBodyRow.js +0 -52
- package/dist/cjs/plugins/virtualization/VirtualizedBodyRow.js.map +0 -7
- package/dist/cjs/plugins/virtualization/helper.js +0 -35
- package/dist/cjs/plugins/virtualization/helper.js.map +0 -7
- package/dist/cjs/plugins/virtualization/index.js +0 -35
- package/dist/cjs/plugins/virtualization/index.js.map +0 -7
- package/dist/cjs/renders/CellWithAddons.js +0 -111
- package/dist/cjs/renders/CellWithAddons.js.map +0 -7
- package/dist/cjs/renders/index.js +0 -37
- package/dist/cjs/renders/index.js.map +0 -7
- package/dist/cjs/renders/styled.js +0 -78
- package/dist/cjs/renders/styled.js.map +0 -7
- package/dist/cjs/rowSizes.js +0 -51
- package/dist/cjs/rowSizes.js.map +0 -7
- package/dist/cjs/utilities/DataGridUtilities.json +0 -1315
- package/dist/cjs/utilities/getPluginsFromProps.js +0 -72
- package/dist/cjs/utilities/getPluginsFromProps.js.map +0 -7
- package/dist/cjs/utilities/getScrollbarSize.js +0 -46
- package/dist/cjs/utilities/getScrollbarSize.js.map +0 -7
- package/dist/cjs/utilities/normalizeData.js +0 -49
- package/dist/cjs/utilities/normalizeData.js.map +0 -7
- package/dist/esm/DSDataGrid.js +0 -370
- package/dist/esm/DSDataGrid.js.map +0 -7
- package/dist/esm/DataGridImpl.js +0 -115
- package/dist/esm/DataGridImpl.js.map +0 -7
- package/dist/esm/PaginatedDataGrid.js +0 -48
- package/dist/esm/PaginatedDataGrid.js.map +0 -7
- package/dist/esm/blockNames.js +0 -10
- package/dist/esm/blockNames.js.map +0 -7
- package/dist/esm/columns/IconColumn.js +0 -82
- package/dist/esm/columns/IconColumn.js.map +0 -7
- package/dist/esm/columns/NumberColumn.js +0 -7
- package/dist/esm/columns/NumberColumn.js.map +0 -7
- package/dist/esm/components/BodyCell.js +0 -75
- package/dist/esm/components/BodyCell.js.map +0 -7
- package/dist/esm/components/BodyList.js +0 -25
- package/dist/esm/components/BodyList.js.map +0 -7
- package/dist/esm/components/ColumnVisibilityMenuOption.js +0 -37
- package/dist/esm/components/ColumnVisibilityMenuOption.js.map +0 -7
- package/dist/esm/components/ColumnsOptionsMenuSection.js +0 -35
- package/dist/esm/components/ColumnsOptionsMenuSection.js.map +0 -7
- package/dist/esm/components/EmptyState.js +0 -53
- package/dist/esm/components/EmptyState.js.map +0 -7
- package/dist/esm/components/HeaderCell.js +0 -47
- package/dist/esm/components/HeaderCell.js.map +0 -7
- package/dist/esm/components/List.js +0 -15
- package/dist/esm/components/List.js.map +0 -7
- package/dist/esm/components/ListItem.js +0 -22
- package/dist/esm/components/ListItem.js.map +0 -7
- package/dist/esm/components/NoResults.js +0 -26
- package/dist/esm/components/NoResults.js.map +0 -7
- package/dist/esm/components/RowsLoader.js +0 -13
- package/dist/esm/components/RowsLoader.js.map +0 -7
- package/dist/esm/components/Table.js +0 -84
- package/dist/esm/components/Table.js.map +0 -7
- package/dist/esm/components/TableBody.js +0 -41
- package/dist/esm/components/TableBody.js.map +0 -7
- package/dist/esm/components/TableHeader.js +0 -25
- package/dist/esm/components/TableHeader.js.map +0 -7
- package/dist/esm/components/footer/addOptionalFooterComponents.js +0 -27
- package/dist/esm/components/footer/addOptionalFooterComponents.js.map +0 -7
- package/dist/esm/components/header/PrimaryControls.js +0 -21
- package/dist/esm/components/header/PrimaryControls.js.map +0 -7
- package/dist/esm/components/header/addOptionalHeaderComponents.js +0 -29
- package/dist/esm/components/header/addOptionalHeaderComponents.js.map +0 -7
- package/dist/esm/components/index.js +0 -14
- package/dist/esm/components/index.js.map +0 -7
- package/dist/esm/components/renderers/defaultClassedRenderers.js +0 -41
- package/dist/esm/components/renderers/defaultClassedRenderers.js.map +0 -7
- package/dist/esm/components/renderers/index.js +0 -29
- package/dist/esm/components/renderers/index.js.map +0 -7
- package/dist/esm/components/renderers/renderRowsLoader.js +0 -10
- package/dist/esm/components/renderers/renderRowsLoader.js.map +0 -7
- package/dist/esm/components/tableContext.js +0 -7
- package/dist/esm/components/tableContext.js.map +0 -7
- package/dist/esm/defaultPlugins.js +0 -15
- package/dist/esm/defaultPlugins.js.map +0 -7
- package/dist/esm/index.js +0 -63
- package/dist/esm/index.js.map +0 -7
- package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +0 -102
- package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +0 -7
- package/dist/esm/plugins/body-header-scroll-sync/index.js +0 -6
- package/dist/esm/plugins/body-header-scroll-sync/index.js.map +0 -7
- package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js +0 -126
- package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js.map +0 -7
- package/dist/esm/plugins/column-dnd/decorateGridWithDndColumns.js +0 -20
- package/dist/esm/plugins/column-dnd/decorateGridWithDndColumns.js.map +0 -7
- package/dist/esm/plugins/column-dnd/index.js +0 -6
- package/dist/esm/plugins/column-dnd/index.js.map +0 -7
- package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js +0 -63
- package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js.map +0 -7
- package/dist/esm/plugins/column-sizing/columnMeasurerTransformer.js +0 -40
- package/dist/esm/plugins/column-sizing/columnMeasurerTransformer.js.map +0 -7
- package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js +0 -15
- package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js.map +0 -7
- package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js +0 -35
- package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js.map +0 -7
- package/dist/esm/plugins/column-sizing/getColumnNameFromProperty.js +0 -8
- package/dist/esm/plugins/column-sizing/getColumnNameFromProperty.js.map +0 -7
- package/dist/esm/plugins/column-sizing/index.js +0 -6
- package/dist/esm/plugins/column-sizing/index.js.map +0 -7
- package/dist/esm/plugins/column-sizing/useColumnSizeService.js +0 -119
- package/dist/esm/plugins/column-sizing/useColumnSizeService.js.map +0 -7
- package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js +0 -138
- package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js.map +0 -7
- package/dist/esm/plugins/column-sizing/utils.js +0 -39
- package/dist/esm/plugins/column-sizing/utils.js.map +0 -7
- package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js +0 -11
- package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +0 -7
- package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js +0 -48
- package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +0 -7
- package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js +0 -34
- package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js.map +0 -7
- package/dist/esm/plugins/custom-cell-renderer/index.js +0 -6
- package/dist/esm/plugins/custom-cell-renderer/index.js.map +0 -7
- package/dist/esm/plugins/editable/EditableComponents/ComboBox.js +0 -39
- package/dist/esm/plugins/editable/EditableComponents/ComboBox.js.map +0 -7
- package/dist/esm/plugins/editable/EditableComponents/TextBox.js +0 -61
- package/dist/esm/plugins/editable/EditableComponents/TextBox.js.map +0 -7
- package/dist/esm/plugins/editable/EditableComponents/index.js +0 -8
- package/dist/esm/plugins/editable/EditableComponents/index.js.map +0 -7
- package/dist/esm/plugins/editable/EditablePlugin.js +0 -79
- package/dist/esm/plugins/editable/EditablePlugin.js.map +0 -7
- package/dist/esm/plugins/editable/decorateEditable.js +0 -56
- package/dist/esm/plugins/editable/decorateEditable.js.map +0 -7
- package/dist/esm/plugins/editable/getEditorComponent.js +0 -47
- package/dist/esm/plugins/editable/getEditorComponent.js.map +0 -7
- package/dist/esm/plugins/editable/index.js +0 -9
- package/dist/esm/plugins/editable/index.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/ExpandableColumn.js +0 -95
- package/dist/esm/plugins/expandable-grid/ExpandableColumn.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js +0 -152
- package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/ExpandedRow.js +0 -105
- package/dist/esm/plugins/expandable-grid/ExpandedRow.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js +0 -27
- package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/index.js +0 -8
- package/dist/esm/plugins/expandable-grid/index.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/useExpandGridState.js +0 -64
- package/dist/esm/plugins/expandable-grid/useExpandGridState.js.map +0 -7
- package/dist/esm/plugins/export-data/ExportDataPlugin.js +0 -105
- package/dist/esm/plugins/export-data/ExportDataPlugin.js.map +0 -7
- package/dist/esm/plugins/export-data/index.js +0 -6
- package/dist/esm/plugins/export-data/index.js.map +0 -7
- package/dist/esm/plugins/filterable/FilterablePlugin.js +0 -51
- package/dist/esm/plugins/filterable/FilterablePlugin.js.map +0 -7
- package/dist/esm/plugins/filterable/addFilterToColumn.js +0 -14
- package/dist/esm/plugins/filterable/addFilterToColumn.js.map +0 -7
- package/dist/esm/plugins/filterable/components/FilterableHeader.js +0 -103
- package/dist/esm/plugins/filterable/components/FilterableHeader.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +0 -128
- package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +0 -102
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +0 -176
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js +0 -141
- package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js +0 -6
- package/dist/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +0 -20
- package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +0 -7
- package/dist/esm/plugins/filterable/filterableFormatter.js +0 -44
- package/dist/esm/plugins/filterable/filterableFormatter.js.map +0 -7
- package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js +0 -50
- package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +0 -7
- package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js +0 -15
- package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js.map +0 -7
- package/dist/esm/plugins/filterable/helper.js +0 -86
- package/dist/esm/plugins/filterable/helper.js.map +0 -7
- package/dist/esm/plugins/filterable/index.js +0 -6
- package/dist/esm/plugins/filterable/index.js.map +0 -7
- package/dist/esm/plugins/filterable/useFilterableState.js +0 -88
- package/dist/esm/plugins/filterable/useFilterableState.js.map +0 -7
- package/dist/esm/plugins/grouping-by/GroupingByPlugin.js +0 -28
- package/dist/esm/plugins/grouping-by/GroupingByPlugin.js.map +0 -7
- package/dist/esm/plugins/grouping-grid/GroupingPlugin.js +0 -97
- package/dist/esm/plugins/grouping-grid/GroupingPlugin.js.map +0 -7
- package/dist/esm/plugins/grouping-grid/walkStrategy.js +0 -47
- package/dist/esm/plugins/grouping-grid/walkStrategy.js.map +0 -7
- package/dist/esm/plugins/index.js +0 -39
- package/dist/esm/plugins/index.js.map +0 -7
- package/dist/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js +0 -71
- package/dist/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +0 -7
- package/dist/esm/plugins/infinite-scrolling/index.js +0 -6
- package/dist/esm/plugins/infinite-scrolling/index.js.map +0 -7
- package/dist/esm/plugins/pagination/PaginationPlugin.js +0 -63
- package/dist/esm/plugins/pagination/PaginationPlugin.js.map +0 -7
- package/dist/esm/plugins/pagination/components/Pagination.js +0 -34
- package/dist/esm/plugins/pagination/components/Pagination.js.map +0 -7
- package/dist/esm/plugins/pagination/components/Paginator.js +0 -53
- package/dist/esm/plugins/pagination/components/Paginator.js.map +0 -7
- package/dist/esm/plugins/pagination/components/PerPageDropdown.js +0 -39
- package/dist/esm/plugins/pagination/components/PerPageDropdown.js.map +0 -7
- package/dist/esm/plugins/pagination/helper.js +0 -33
- package/dist/esm/plugins/pagination/helper.js.map +0 -7
- package/dist/esm/plugins/pagination/index.js +0 -6
- package/dist/esm/plugins/pagination/index.js.map +0 -7
- package/dist/esm/plugins/pagination/usePaginationState.js +0 -53
- package/dist/esm/plugins/pagination/usePaginationState.js.map +0 -7
- package/dist/esm/plugins/resizable/ResizablePlugin.js +0 -80
- package/dist/esm/plugins/resizable/ResizablePlugin.js.map +0 -7
- package/dist/esm/plugins/resizable/decorateResizable.js +0 -27
- package/dist/esm/plugins/resizable/decorateResizable.js.map +0 -7
- package/dist/esm/plugins/resizable/index.js +0 -6
- package/dist/esm/plugins/resizable/index.js.map +0 -7
- package/dist/esm/plugins/resizable/useResizeHandle.js +0 -50
- package/dist/esm/plugins/resizable/useResizeHandle.js.map +0 -7
- package/dist/esm/plugins/resizable/utils.js +0 -25
- package/dist/esm/plugins/resizable/utils.js.map +0 -7
- package/dist/esm/plugins/row-dnd/DndRowsPlugin.js +0 -107
- package/dist/esm/plugins/row-dnd/DndRowsPlugin.js.map +0 -7
- package/dist/esm/plugins/row-dnd/index.js +0 -6
- package/dist/esm/plugins/row-dnd/index.js.map +0 -7
- package/dist/esm/plugins/selectable/SelectablePlugin.js +0 -137
- package/dist/esm/plugins/selectable/SelectablePlugin.js.map +0 -7
- package/dist/esm/plugins/selectable/addSelectableColumn.js +0 -66
- package/dist/esm/plugins/selectable/addSelectableColumn.js.map +0 -7
- package/dist/esm/plugins/selectable/helper.js +0 -25
- package/dist/esm/plugins/selectable/helper.js.map +0 -7
- package/dist/esm/plugins/selectable/index.js +0 -6
- package/dist/esm/plugins/selectable/index.js.map +0 -7
- package/dist/esm/plugins/selectable/selectableFormatter.js +0 -64
- package/dist/esm/plugins/selectable/selectableFormatter.js.map +0 -7
- package/dist/esm/plugins/selectable/useSelectableState.js +0 -91
- package/dist/esm/plugins/selectable/useSelectableState.js.map +0 -7
- package/dist/esm/plugins/sortable/SortablePlugin.js +0 -69
- package/dist/esm/plugins/sortable/SortablePlugin.js.map +0 -7
- package/dist/esm/plugins/sortable/checkIfSortable.js +0 -16
- package/dist/esm/plugins/sortable/checkIfSortable.js.map +0 -7
- package/dist/esm/plugins/sortable/index.js +0 -6
- package/dist/esm/plugins/sortable/index.js.map +0 -7
- package/dist/esm/plugins/sortable/sortHeaderFormatter.js +0 -37
- package/dist/esm/plugins/sortable/sortHeaderFormatter.js.map +0 -7
- package/dist/esm/plugins/sortable/sortTree.js +0 -15
- package/dist/esm/plugins/sortable/sortTree.js.map +0 -7
- package/dist/esm/plugins/sortable/sorter.js +0 -115
- package/dist/esm/plugins/sortable/sorter.js.map +0 -7
- package/dist/esm/plugins/sortable/useSortableState.js +0 -44
- package/dist/esm/plugins/sortable/useSortableState.js.map +0 -7
- package/dist/esm/plugins/toolbar/RowRenderer.js +0 -67
- package/dist/esm/plugins/toolbar/RowRenderer.js.map +0 -7
- package/dist/esm/plugins/toolbar/ToolbarPlugin.js +0 -29
- package/dist/esm/plugins/toolbar/ToolbarPlugin.js.map +0 -7
- package/dist/esm/plugins/toolbar/ToolbarTrigger.js +0 -76
- package/dist/esm/plugins/toolbar/ToolbarTrigger.js.map +0 -7
- package/dist/esm/plugins/toolbar/index.js +0 -6
- package/dist/esm/plugins/toolbar/index.js.map +0 -7
- package/dist/esm/plugins/virtualization/AutoHeightList.js +0 -42
- package/dist/esm/plugins/virtualization/AutoHeightList.js.map +0 -7
- package/dist/esm/plugins/virtualization/VirtualizationPlugin.js +0 -68
- package/dist/esm/plugins/virtualization/VirtualizationPlugin.js.map +0 -7
- package/dist/esm/plugins/virtualization/VirtualizedBody.js +0 -230
- package/dist/esm/plugins/virtualization/VirtualizedBody.js.map +0 -7
- package/dist/esm/plugins/virtualization/VirtualizedBodyRow.js +0 -23
- package/dist/esm/plugins/virtualization/VirtualizedBodyRow.js.map +0 -7
- package/dist/esm/plugins/virtualization/helper.js +0 -6
- package/dist/esm/plugins/virtualization/helper.js.map +0 -7
- package/dist/esm/plugins/virtualization/index.js +0 -6
- package/dist/esm/plugins/virtualization/index.js.map +0 -7
- package/dist/esm/renders/CellWithAddons.js +0 -82
- package/dist/esm/renders/CellWithAddons.js.map +0 -7
- package/dist/esm/renders/index.js +0 -8
- package/dist/esm/renders/index.js.map +0 -7
- package/dist/esm/renders/styled.js +0 -49
- package/dist/esm/renders/styled.js.map +0 -7
- package/dist/esm/rowSizes.js +0 -22
- package/dist/esm/rowSizes.js.map +0 -7
- package/dist/esm/utilities/DataGridUtilities.json +0 -1315
- package/dist/esm/utilities/getPluginsFromProps.js +0 -43
- package/dist/esm/utilities/getPluginsFromProps.js.map +0 -7
- package/dist/esm/utilities/getScrollbarSize.js +0 -17
- package/dist/esm/utilities/getScrollbarSize.js.map +0 -7
- package/dist/esm/utilities/normalizeData.js +0 -20
- package/dist/esm/utilities/normalizeData.js.map +0 -7
- package/dist/types/DSDataGrid.d.ts +0 -863
- package/dist/types/DataGridImpl.d.ts +0 -13
- package/dist/types/PaginatedDataGrid.d.ts +0 -15
- package/dist/types/columns/IconColumn.d.ts +0 -36
- package/dist/types/components/BodyCell.d.ts +0 -34
- package/dist/types/components/ColumnVisibilityMenuOption.d.ts +0 -15
- package/dist/types/components/ColumnsOptionsMenuSection.d.ts +0 -9
- package/dist/types/components/HeaderCell.d.ts +0 -19
- package/dist/types/components/NoResults.d.ts +0 -8
- package/dist/types/components/RowsLoader.d.ts +0 -5
- package/dist/types/components/Table.d.ts +0 -8
- package/dist/types/components/TableBody.d.ts +0 -4
- package/dist/types/components/TableHeader.d.ts +0 -4
- package/dist/types/components/footer/addOptionalFooterComponents.d.ts +0 -7
- package/dist/types/components/header/PrimaryControls.d.ts +0 -6
- package/dist/types/components/header/addOptionalHeaderComponents.d.ts +0 -11
- package/dist/types/components/renderers/index.d.ts +0 -15
- package/dist/types/components/renderers/renderRowsLoader.d.ts +0 -2
- package/dist/types/index.d.ts +0 -9
- package/dist/types/plugins/body-header-scroll-sync/index.d.ts +0 -1
- package/dist/types/plugins/column-dnd/index.d.ts +0 -1
- package/dist/types/plugins/column-sizing/getColumnNameFromProperty.d.ts +0 -2
- package/dist/types/plugins/column-sizing/index.d.ts +0 -1
- package/dist/types/plugins/column-sizing/useColumnSizeService.d.ts +0 -18
- package/dist/types/plugins/custom-cell-renderer/addCustomRendererToCell.d.ts +0 -4
- package/dist/types/plugins/custom-cell-renderer/getRendererComponent.d.ts +0 -12
- package/dist/types/plugins/custom-cell-renderer/index.d.ts +0 -1
- package/dist/types/plugins/editable/EditableComponents/ComboBox.d.ts +0 -12
- package/dist/types/plugins/editable/EditableComponents/TextBox.d.ts +0 -24
- package/dist/types/plugins/editable/getEditorComponent.d.ts +0 -7
- package/dist/types/plugins/editable/index.d.ts +0 -2
- package/dist/types/plugins/expandable-grid/ExpandableColumn.d.ts +0 -29
- package/dist/types/plugins/expandable-grid/ExpandedRow.d.ts +0 -12
- package/dist/types/plugins/expandable-grid/ExpandedRowExtra.d.ts +0 -10
- package/dist/types/plugins/expandable-grid/index.d.ts +0 -2
- package/dist/types/plugins/export-data/index.d.ts +0 -1
- package/dist/types/plugins/filterable/components/FilterableHeader.d.ts +0 -29
- package/dist/types/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.d.ts +0 -31
- package/dist/types/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.d.ts +0 -28
- package/dist/types/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.d.ts +0 -31
- package/dist/types/plugins/filterable/components/filterable-menus/TextFilterMenu.d.ts +0 -36
- package/dist/types/plugins/filterable/components/filterable-menus/getFilterMenuByType.d.ts +0 -2
- package/dist/types/plugins/filterable/filterableFormatter.d.ts +0 -12
- package/dist/types/plugins/filterable/filtering-helper/filterRowsByQuery.d.ts +0 -3
- package/dist/types/plugins/filterable/filtering-helper/strategiesOperators.d.ts +0 -2
- package/dist/types/plugins/filterable/index.d.ts +0 -1
- package/dist/types/plugins/index.d.ts +0 -16
- package/dist/types/plugins/infinite-scrolling/index.d.ts +0 -1
- package/dist/types/plugins/pagination/components/Paginator.d.ts +0 -10
- package/dist/types/plugins/pagination/components/PerPageDropdown.d.ts +0 -10
- package/dist/types/plugins/pagination/helper.d.ts +0 -18
- package/dist/types/plugins/pagination/index.d.ts +0 -1
- package/dist/types/plugins/resizable/index.d.ts +0 -1
- package/dist/types/plugins/row-dnd/index.d.ts +0 -1
- package/dist/types/plugins/selectable/index.d.ts +0 -1
- package/dist/types/plugins/selectable/selectableFormatter.d.ts +0 -10
- package/dist/types/plugins/sortable/index.d.ts +0 -1
- package/dist/types/plugins/sortable/sortHeaderFormatter.d.ts +0 -7
- package/dist/types/plugins/sortable/sortTree.d.ts +0 -3
- package/dist/types/plugins/sortable/sorter.d.ts +0 -12
- package/dist/types/plugins/toolbar/index.d.ts +0 -1
- package/dist/types/plugins/virtualization/AutoHeightList.d.ts +0 -3
- package/dist/types/plugins/virtualization/VirtualizedBody.d.ts +0 -33
- package/dist/types/plugins/virtualization/VirtualizedBodyRow.d.ts +0 -8
- package/dist/types/plugins/virtualization/index.d.ts +0 -1
- package/dist/types/renders/styled.d.ts +0 -4
- package/dist/types/utilities/getPluginsFromProps.d.ts +0 -2
|
@@ -1,167 +0,0 @@
|
|
|
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 useStylesheetHelpers_exports = {};
|
|
29
|
-
__export(useStylesheetHelpers_exports, {
|
|
30
|
-
RowStylesheetHelper: () => RowStylesheetHelper,
|
|
31
|
-
useStylesheetHelpers: () => useStylesheetHelpers
|
|
32
|
-
});
|
|
33
|
-
var React = __toESM(require("react"));
|
|
34
|
-
var stylesheet = __toESM(require("stylesheet-helpers"));
|
|
35
|
-
var import_react = require("react");
|
|
36
|
-
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
37
|
-
var import_getColumnNameFromProperty = require("./getColumnNameFromProperty");
|
|
38
|
-
var import_getScrollbarSize = require("../../utilities/getScrollbarSize");
|
|
39
|
-
const SCROLLBAR_WIDTH = (0, import_getScrollbarSize.getScrollbarWidth)();
|
|
40
|
-
const RowStylesheetHelper = ({ grid, className }) => {
|
|
41
|
-
const { styleSheet, styleSheetElement } = stylesheet.create();
|
|
42
|
-
const update = (width) => {
|
|
43
|
-
const widths = typeof width === "string" ? width : `${width}px`;
|
|
44
|
-
stylesheet.updateProperties(window, styleSheet, className, width ? { width: widths, minWidth: widths, maxWidth: widths } : { width: null, minWidth: null, maxWidth: null });
|
|
45
|
-
const { hasScroll } = grid.getState();
|
|
46
|
-
const headerWidth = `${width + (hasScroll ? SCROLLBAR_WIDTH : 0)}px`;
|
|
47
|
-
stylesheet.updateProperties(window, styleSheet, `${className}-header`, width ? { width: headerWidth, minWidth: headerWidth, maxWidth: headerWidth } : { width: null, minWidth: null, maxWidth: null });
|
|
48
|
-
};
|
|
49
|
-
const remove = () => styleSheetElement.remove();
|
|
50
|
-
const getRowClassName = () => className;
|
|
51
|
-
return {
|
|
52
|
-
update,
|
|
53
|
-
remove,
|
|
54
|
-
getRowClassName
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
const getColumnClassName = ({ globalId, column, isHeader = false, getId }) => `column-${globalId}-${getId(column)}${isHeader ? "-header" : ""}`;
|
|
58
|
-
function setWidth({ styleSheet, className, width, minWidth }) {
|
|
59
|
-
let widths;
|
|
60
|
-
if (typeof width === "string")
|
|
61
|
-
widths = width;
|
|
62
|
-
if (typeof width === "number")
|
|
63
|
-
widths = `${width}px`;
|
|
64
|
-
let minWidths;
|
|
65
|
-
if (typeof minWidth === "string")
|
|
66
|
-
minWidths = minWidth;
|
|
67
|
-
if (typeof minWidth === "number")
|
|
68
|
-
minWidths = `${minWidth}px`;
|
|
69
|
-
stylesheet.updateProperties(window, styleSheet, className, {
|
|
70
|
-
width: `${widths || minWidths}`,
|
|
71
|
-
minWidth: `${widths || minWidths}`,
|
|
72
|
-
maxWidth: `${widths || minWidths}`
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
function updateStyle({ styleSheet, className, style }) {
|
|
76
|
-
stylesheet.updateProperties(window, styleSheet, className, style);
|
|
77
|
-
}
|
|
78
|
-
function columnSizesHelperImpl({ globalId, getId = ({ property }) => (0, import_getColumnNameFromProperty.getColumnNameFromProperty)(property) }) {
|
|
79
|
-
const { styleSheetElement, styleSheet } = stylesheet.create();
|
|
80
|
-
const updateBodyHeaderWidth = ({ className, headerClassName, width, minWidth }) => {
|
|
81
|
-
setWidth({
|
|
82
|
-
styleSheet,
|
|
83
|
-
className,
|
|
84
|
-
width,
|
|
85
|
-
minWidth
|
|
86
|
-
});
|
|
87
|
-
setWidth({
|
|
88
|
-
styleSheet,
|
|
89
|
-
className: headerClassName,
|
|
90
|
-
width,
|
|
91
|
-
minWidth,
|
|
92
|
-
isHeader: true
|
|
93
|
-
});
|
|
94
|
-
};
|
|
95
|
-
return {
|
|
96
|
-
decorateColumns: (columns, grid) => {
|
|
97
|
-
const {
|
|
98
|
-
props: { minColumnWidth }
|
|
99
|
-
} = grid.getInstance();
|
|
100
|
-
return columns.map((column) => {
|
|
101
|
-
const cellClassName = getColumnClassName({ globalId, getId, column });
|
|
102
|
-
const headerClassName = `${cellClassName}-header`;
|
|
103
|
-
(0, import_ds_utilities.set)(column, "header.props.className", headerClassName);
|
|
104
|
-
(0, import_ds_utilities.set)(column, "cell.props.className", cellClassName);
|
|
105
|
-
column.updateBodyHeaderWidth = (width, minWidth) => {
|
|
106
|
-
updateBodyHeaderWidth({
|
|
107
|
-
className: cellClassName,
|
|
108
|
-
headerClassName,
|
|
109
|
-
width,
|
|
110
|
-
minWidth
|
|
111
|
-
});
|
|
112
|
-
};
|
|
113
|
-
column.updateWidth = (width, minWidth) => {
|
|
114
|
-
setWidth({
|
|
115
|
-
styleSheet,
|
|
116
|
-
className: cellClassName,
|
|
117
|
-
width,
|
|
118
|
-
minWidth
|
|
119
|
-
});
|
|
120
|
-
};
|
|
121
|
-
column.updateStyle = (style) => updateStyle({
|
|
122
|
-
styleSheet,
|
|
123
|
-
className: cellClassName,
|
|
124
|
-
style
|
|
125
|
-
});
|
|
126
|
-
column.headerHookEffects = [
|
|
127
|
-
() => {
|
|
128
|
-
(0, import_react.useEffect)(() => {
|
|
129
|
-
const { resizedColumns } = grid.getInstance();
|
|
130
|
-
const resizedWidth = resizedColumns.current[column.uuid];
|
|
131
|
-
updateBodyHeaderWidth({
|
|
132
|
-
className: cellClassName,
|
|
133
|
-
headerClassName,
|
|
134
|
-
width: resizedWidth || column.width || minColumnWidth,
|
|
135
|
-
minWidth: resizedWidth || column.minWidth || minColumnWidth || column.width
|
|
136
|
-
});
|
|
137
|
-
}, [column.uuid]);
|
|
138
|
-
}
|
|
139
|
-
];
|
|
140
|
-
return column;
|
|
141
|
-
});
|
|
142
|
-
},
|
|
143
|
-
getColumnCellClassName(column) {
|
|
144
|
-
return getColumnClassName({ globalId, getId, column });
|
|
145
|
-
},
|
|
146
|
-
getColumnHeaderClassName(column) {
|
|
147
|
-
return `${getColumnClassName({ globalId, getId, column })}-header`;
|
|
148
|
-
},
|
|
149
|
-
cleanup() {
|
|
150
|
-
styleSheetElement.remove();
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
function useStylesheetHelpers(grid) {
|
|
155
|
-
const {
|
|
156
|
-
props: { bindColumnsSizeTo, bindRowSizeTo }
|
|
157
|
-
} = grid;
|
|
158
|
-
const [columnsStylesheet] = (0, import_react.useState)(() => columnSizesHelperImpl({
|
|
159
|
-
globalId: bindColumnsSizeTo || grid.uuid,
|
|
160
|
-
getId: ({ uuid }) => (0, import_getColumnNameFromProperty.getColumnNameFromProperty)(uuid)
|
|
161
|
-
}));
|
|
162
|
-
const rowClassName = `row-${bindRowSizeTo || grid.uuid}`;
|
|
163
|
-
const [rowsStylesheet] = (0, import_react.useState)(() => RowStylesheetHelper({ grid, className: rowClassName }));
|
|
164
|
-
return { columnsStylesheet, rowsStylesheet, rowClassName };
|
|
165
|
-
}
|
|
166
|
-
module.exports = __toCommonJS(useStylesheetHelpers_exports);
|
|
167
|
-
//# sourceMappingURL=useStylesheetHelpers.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/plugins/column-sizing/useStylesheetHelpers.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable no-param-reassign */\n/* eslint-disable max-lines */\nimport * as stylesheet from 'stylesheet-helpers';\nimport { useState, useEffect } from 'react';\nimport { set } from '@elliemae/ds-utilities';\nimport { getColumnNameFromProperty } from './getColumnNameFromProperty';\nimport { getScrollbarWidth } from '../../utilities/getScrollbarSize';\n\nconst SCROLLBAR_WIDTH = getScrollbarWidth();\n\nexport const RowStylesheetHelper = ({ grid, className }) => {\n const { styleSheet, styleSheetElement } = stylesheet.create();\n const update = (width) => {\n const widths = typeof width === 'string' ? width : `${width}px`;\n stylesheet.updateProperties(\n window,\n styleSheet,\n className,\n width ? { width: widths, minWidth: widths, maxWidth: widths } : { width: null, minWidth: null, maxWidth: null },\n );\n const { hasScroll } = grid.getState();\n const headerWidth = `${width + (hasScroll ? SCROLLBAR_WIDTH : 0)}px`;\n stylesheet.updateProperties(\n window,\n styleSheet,\n `${className}-header`,\n width\n ? { width: headerWidth, minWidth: headerWidth, maxWidth: headerWidth }\n : { width: null, minWidth: null, maxWidth: null },\n );\n };\n const remove = () => styleSheetElement.remove();\n const getRowClassName = () => className;\n return {\n update,\n remove,\n getRowClassName,\n };\n};\n\nconst getColumnClassName = ({ globalId, column, isHeader = false, getId }) =>\n `column-${globalId}-${getId(column)}${isHeader ? '-header' : ''}`;\n\nfunction setWidth({ styleSheet, className, width, minWidth }) {\n let widths;\n if (typeof width === 'string') widths = width;\n if (typeof width === 'number') widths = `${width}px`;\n\n let minWidths;\n if (typeof minWidth === 'string') minWidths = minWidth;\n if (typeof minWidth === 'number') minWidths = `${minWidth}px`;\n\n stylesheet.updateProperties(window, styleSheet, className, {\n width: `${widths || minWidths}`,\n minWidth: `${widths || minWidths}`,\n // minWidth: `${minWidths || widths}`,\n maxWidth: `${widths || minWidths}`,\n });\n}\n\nfunction updateStyle({ styleSheet, className, style }) {\n stylesheet.updateProperties(window, styleSheet, className, style);\n}\n\nfunction columnSizesHelperImpl({ globalId, getId = ({ property }) => getColumnNameFromProperty(property) }) {\n const { styleSheetElement, styleSheet } = stylesheet.create();\n\n const updateBodyHeaderWidth = ({ className, headerClassName, width, minWidth }) => {\n setWidth({\n styleSheet,\n className,\n width,\n minWidth,\n });\n setWidth({\n styleSheet,\n className: headerClassName,\n width,\n minWidth,\n isHeader: true,\n });\n };\n\n return {\n decorateColumns: (columns, grid) => {\n const {\n props: { minColumnWidth },\n } = grid.getInstance();\n return columns.map((column) => {\n const cellClassName = getColumnClassName({ globalId, getId, column });\n const headerClassName = `${cellClassName}-header`;\n\n set(column, 'header.props.className', headerClassName);\n set(column, 'cell.props.className', cellClassName);\n\n column.updateBodyHeaderWidth = (width, minWidth) => {\n updateBodyHeaderWidth({\n className: cellClassName,\n headerClassName,\n width,\n minWidth,\n });\n };\n column.updateWidth = (width, minWidth) => {\n setWidth({\n styleSheet,\n className: cellClassName,\n width,\n minWidth,\n });\n };\n column.updateStyle = (style) =>\n updateStyle({\n styleSheet,\n className: cellClassName,\n style,\n });\n\n column.headerHookEffects = [\n () => {\n useEffect(() => {\n const { resizedColumns } = grid.getInstance();\n const resizedWidth = resizedColumns.current[column.uuid];\n updateBodyHeaderWidth({\n className: cellClassName,\n headerClassName,\n width: resizedWidth || column.width || minColumnWidth,\n minWidth: resizedWidth || column.minWidth || minColumnWidth || column.width,\n });\n }, [column.uuid]);\n },\n ];\n\n return column;\n });\n },\n getColumnCellClassName(column) {\n return getColumnClassName({ globalId, getId, column });\n },\n getColumnHeaderClassName(column) {\n return `${getColumnClassName({ globalId, getId, column })}-header`;\n },\n cleanup() {\n styleSheetElement.remove();\n },\n };\n}\n\nexport function useStylesheetHelpers(grid) {\n const {\n props: { bindColumnsSizeTo, bindRowSizeTo },\n } = grid;\n\n const [columnsStylesheet] = useState(() =>\n columnSizesHelperImpl({\n globalId: bindColumnsSizeTo || grid.uuid,\n getId: ({ uuid }) => getColumnNameFromProperty(uuid),\n }),\n );\n const rowClassName = `row-${bindRowSizeTo || grid.uuid}`;\n const [rowsStylesheet] = useState(() => RowStylesheetHelper({ grid, className: rowClassName }));\n\n return { columnsStylesheet, rowsStylesheet, rowClassName };\n}\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,iBAA4B;AAC5B,mBAAoC;AACpC,0BAAoB;AACpB,uCAA0C;AAC1C,8BAAkC;AAElC,MAAM,kBAAkB;AAEjB,MAAM,sBAAsB,CAAC,EAAE,MAAM,gBAAgB;AAC1D,QAAM,EAAE,YAAY,sBAAsB,WAAW;AACrD,QAAM,SAAS,CAAC,UAAU;AACxB,UAAM,SAAS,OAAO,UAAU,WAAW,QAAQ,GAAG;AACtD,eAAW,iBACT,QACA,YACA,WACA,QAAQ,EAAE,OAAO,QAAQ,UAAU,QAAQ,UAAU,WAAW,EAAE,OAAO,MAAM,UAAU,MAAM,UAAU;AAE3G,UAAM,EAAE,cAAc,KAAK;AAC3B,UAAM,cAAc,GAAG,QAAS,aAAY,kBAAkB;AAC9D,eAAW,iBACT,QACA,YACA,GAAG,oBACH,QACI,EAAE,OAAO,aAAa,UAAU,aAAa,UAAU,gBACvD,EAAE,OAAO,MAAM,UAAU,MAAM,UAAU;AAAA;AAGjD,QAAM,SAAS,MAAM,kBAAkB;AACvC,QAAM,kBAAkB,MAAM;AAC9B,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA;AAAA;AAIJ,MAAM,qBAAqB,CAAC,EAAE,UAAU,QAAQ,WAAW,OAAO,YAChE,UAAU,YAAY,MAAM,UAAU,WAAW,YAAY;AAE/D,kBAAkB,EAAE,YAAY,WAAW,OAAO,YAAY;AAC5D,MAAI;AACJ,MAAI,OAAO,UAAU;AAAU,aAAS;AACxC,MAAI,OAAO,UAAU;AAAU,aAAS,GAAG;AAE3C,MAAI;AACJ,MAAI,OAAO,aAAa;AAAU,gBAAY;AAC9C,MAAI,OAAO,aAAa;AAAU,gBAAY,GAAG;AAEjD,aAAW,iBAAiB,QAAQ,YAAY,WAAW;AAAA,IACzD,OAAO,GAAG,UAAU;AAAA,IACpB,UAAU,GAAG,UAAU;AAAA,IAEvB,UAAU,GAAG,UAAU;AAAA;AAAA;AAI3B,qBAAqB,EAAE,YAAY,WAAW,SAAS;AACrD,aAAW,iBAAiB,QAAQ,YAAY,WAAW;AAAA;AAG7D,+BAA+B,EAAE,UAAU,QAAQ,CAAC,EAAE,eAAe,gEAA0B,aAAa;AAC1G,QAAM,EAAE,mBAAmB,eAAe,WAAW;AAErD,QAAM,wBAAwB,CAAC,EAAE,WAAW,iBAAiB,OAAO,eAAe;AACjF,aAAS;AAAA,MACP;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAEF,aAAS;AAAA,MACP;AAAA,MACA,WAAW;AAAA,MACX;AAAA,MACA;AAAA,MACA,UAAU;AAAA;AAAA;AAId,SAAO;AAAA,IACL,iBAAiB,CAAC,SAAS,SAAS;AAClC,YAAM;AAAA,QACJ,OAAO,EAAE;AAAA,UACP,KAAK;AACT,aAAO,QAAQ,IAAI,CAAC,WAAW;AAC7B,cAAM,gBAAgB,mBAAmB,EAAE,UAAU,OAAO;AAC5D,cAAM,kBAAkB,GAAG;AAE3B,qCAAI,QAAQ,0BAA0B;AACtC,qCAAI,QAAQ,wBAAwB;AAEpC,eAAO,wBAAwB,CAAC,OAAO,aAAa;AAClD,gCAAsB;AAAA,YACpB,WAAW;AAAA,YACX;AAAA,YACA;AAAA,YACA;AAAA;AAAA;AAGJ,eAAO,cAAc,CAAC,OAAO,aAAa;AACxC,mBAAS;AAAA,YACP;AAAA,YACA,WAAW;AAAA,YACX;AAAA,YACA;AAAA;AAAA;AAGJ,eAAO,cAAc,CAAC,UACpB,YAAY;AAAA,UACV;AAAA,UACA,WAAW;AAAA,UACX;AAAA;AAGJ,eAAO,oBAAoB;AAAA,UACzB,MAAM;AACJ,wCAAU,MAAM;AACd,oBAAM,EAAE,mBAAmB,KAAK;AAChC,oBAAM,eAAe,eAAe,QAAQ,OAAO;AACnD,oCAAsB;AAAA,gBACpB,WAAW;AAAA,gBACX;AAAA,gBACA,OAAO,gBAAgB,OAAO,SAAS;AAAA,gBACvC,UAAU,gBAAgB,OAAO,YAAY,kBAAkB,OAAO;AAAA;AAAA,eAEvE,CAAC,OAAO;AAAA;AAAA;AAIf,eAAO;AAAA;AAAA;AAAA,IAGX,uBAAuB,QAAQ;AAC7B,aAAO,mBAAmB,EAAE,UAAU,OAAO;AAAA;AAAA,IAE/C,yBAAyB,QAAQ;AAC/B,aAAO,GAAG,mBAAmB,EAAE,UAAU,OAAO;AAAA;AAAA,IAElD,UAAU;AACR,wBAAkB;AAAA;AAAA;AAAA;AAKjB,8BAA8B,MAAM;AACzC,QAAM;AAAA,IACJ,OAAO,EAAE,mBAAmB;AAAA,MAC1B;AAEJ,QAAM,CAAC,qBAAqB,2BAAS,MACnC,sBAAsB;AAAA,IACpB,UAAU,qBAAqB,KAAK;AAAA,IACpC,OAAO,CAAC,EAAE,WAAW,gEAA0B;AAAA;AAGnD,QAAM,eAAe,OAAO,iBAAiB,KAAK;AAClD,QAAM,CAAC,kBAAkB,2BAAS,MAAM,oBAAoB,EAAE,MAAM,WAAW;AAE/E,SAAO,EAAE,mBAAmB,gBAAgB;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
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
|
-
calculateMinWidthForWrappedText: () => calculateMinWidthForWrappedText,
|
|
31
|
-
getColumnWidthSize: () => getColumnWidthSize,
|
|
32
|
-
getPercentageValue: () => getPercentageValue,
|
|
33
|
-
getScrollbarSizeFromHeaderAndBody: () => getScrollbarSizeFromHeaderAndBody,
|
|
34
|
-
isScrollbarVisible: () => isScrollbarVisible
|
|
35
|
-
});
|
|
36
|
-
var React = __toESM(require("react"));
|
|
37
|
-
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
38
|
-
function getScrollbarSizeFromHeaderAndBody(refs) {
|
|
39
|
-
const innerBodyOffsetWidth = (0, import_ds_utilities.get)(refs, ["innerBody", "current", "offsetWidth"]);
|
|
40
|
-
const headerOffsetWidth = (0, import_ds_utilities.get)(refs, ["header", "current", "offsetWidth"]);
|
|
41
|
-
return headerOffsetWidth - innerBodyOffsetWidth;
|
|
42
|
-
}
|
|
43
|
-
const isScrollbarVisible = (element) => element.scrollHeight > element.clientHeight;
|
|
44
|
-
const getPercentageValue = (percentString) => {
|
|
45
|
-
if (typeof percentString !== "string")
|
|
46
|
-
return null;
|
|
47
|
-
const result = percentString.match(/(\d+|\d*[.,]\d{1,2})/);
|
|
48
|
-
return result && Number(result[0]);
|
|
49
|
-
};
|
|
50
|
-
const getColumnWidthSize = (width, minWidth, column) => {
|
|
51
|
-
if (column.special) {
|
|
52
|
-
return column.width;
|
|
53
|
-
}
|
|
54
|
-
if (minWidth && minWidth > width)
|
|
55
|
-
return minWidth;
|
|
56
|
-
return width;
|
|
57
|
-
};
|
|
58
|
-
const calculateMinWidthForWrappedText = (columns) => {
|
|
59
|
-
let longestWord = 0;
|
|
60
|
-
columns.forEach(({ label }) => {
|
|
61
|
-
const localLongestWord = label.split(" ").sort((a, b) => b.length - a.length)[0].length;
|
|
62
|
-
if (localLongestWord > longestWord)
|
|
63
|
-
longestWord = localLongestWord;
|
|
64
|
-
});
|
|
65
|
-
return longestWord * 8.5;
|
|
66
|
-
};
|
|
67
|
-
module.exports = __toCommonJS(utils_exports);
|
|
68
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/plugins/column-sizing/utils.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import { get } from '@elliemae/ds-utilities';\n\nexport function getScrollbarSizeFromHeaderAndBody(refs) {\n const innerBodyOffsetWidth = get(refs, ['innerBody', 'current', 'offsetWidth']);\n const headerOffsetWidth = get(refs, ['header', 'current', 'offsetWidth']);\n\n return headerOffsetWidth - innerBodyOffsetWidth;\n}\n\nexport const isScrollbarVisible = (element) => element.scrollHeight > element.clientHeight;\n\nexport const getPercentageValue = (percentString) => {\n if (typeof percentString !== 'string') return null;\n const result = percentString.match(/(\\d+|\\d*[.,]\\d{1,2})/);\n\n return result && Number(result[0]);\n};\n\nexport const getColumnWidthSize = (width, minWidth, column) => {\n if (column.special) {\n return column.width;\n }\n if (minWidth && minWidth > width) return minWidth;\n return width;\n};\n\nexport const calculateMinWidthForWrappedText = (columns) => {\n let longestWord = 0;\n\n columns.forEach(({ label }) => {\n const localLongestWord = label.split(' ').sort((a, b) => b.length - a.length)[0].length;\n if (localLongestWord > longestWord) longestWord = localLongestWord;\n });\n\n return longestWord * 8.5;\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,0BAAoB;AAEb,2CAA2C,MAAM;AACtD,QAAM,uBAAuB,6BAAI,MAAM,CAAC,aAAa,WAAW;AAChE,QAAM,oBAAoB,6BAAI,MAAM,CAAC,UAAU,WAAW;AAE1D,SAAO,oBAAoB;AAAA;AAGtB,MAAM,qBAAqB,CAAC,YAAY,QAAQ,eAAe,QAAQ;AAEvE,MAAM,qBAAqB,CAAC,kBAAkB;AACnD,MAAI,OAAO,kBAAkB;AAAU,WAAO;AAC9C,QAAM,SAAS,cAAc,MAAM;AAEnC,SAAO,UAAU,OAAO,OAAO;AAAA;AAG1B,MAAM,qBAAqB,CAAC,OAAO,UAAU,WAAW;AAC7D,MAAI,OAAO,SAAS;AAClB,WAAO,OAAO;AAAA;AAEhB,MAAI,YAAY,WAAW;AAAO,WAAO;AACzC,SAAO;AAAA;AAGF,MAAM,kCAAkC,CAAC,YAAY;AAC1D,MAAI,cAAc;AAElB,UAAQ,QAAQ,CAAC,EAAE,YAAY;AAC7B,UAAM,mBAAmB,MAAM,MAAM,KAAK,KAAK,CAAC,GAAG,MAAM,EAAE,SAAS,EAAE,QAAQ,GAAG;AACjF,QAAI,mBAAmB;AAAa,oBAAc;AAAA;AAGpD,SAAO,cAAc;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
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 CustomRendererPlugin_exports = {};
|
|
29
|
-
__export(CustomRendererPlugin_exports, {
|
|
30
|
-
CustomRendererPlugin: () => CustomRendererPlugin
|
|
31
|
-
});
|
|
32
|
-
var React = __toESM(require("react"));
|
|
33
|
-
var import_createInstancePlugin = require("@elliemae/ds-shared/createDataInstance/createInstancePlugin");
|
|
34
|
-
var import_addCustomRendererToCell = require("./addCustomRendererToCell");
|
|
35
|
-
const decorateColumn = (column, grid) => (0, import_addCustomRendererToCell.addCustomRendererToCell)(grid)(column);
|
|
36
|
-
const CustomRendererPlugin = (0, import_createInstancePlugin.createInstancePlugin)("custom-renderer", {
|
|
37
|
-
decorateColumn
|
|
38
|
-
});
|
|
39
|
-
module.exports = __toCommonJS(CustomRendererPlugin_exports);
|
|
40
|
-
//# sourceMappingURL=CustomRendererPlugin.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/plugins/custom-cell-renderer/CustomRendererPlugin.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import { createInstancePlugin } from '@elliemae/ds-shared/createDataInstance/createInstancePlugin';\nimport { addCustomRendererToCell } from './addCustomRendererToCell';\n\n// todo: this probably needs to go to the core\n\nconst decorateColumn = (column, grid) => addCustomRendererToCell(grid)(column);\n\nexport const CustomRendererPlugin = createInstancePlugin('custom-renderer', {\n decorateColumn,\n});\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,kCAAqC;AACrC,qCAAwC;AAIxC,MAAM,iBAAiB,CAAC,QAAQ,SAAS,4DAAwB,MAAM;AAEhE,MAAM,uBAAuB,sDAAqB,mBAAmB;AAAA,EAC1E;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
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 addCustomRendererToCell_exports = {};
|
|
29
|
-
__export(addCustomRendererToCell_exports, {
|
|
30
|
-
addCustomRendererToCell: () => addCustomRendererToCell,
|
|
31
|
-
default: () => addCustomRendererToCell_default,
|
|
32
|
-
getRenderer: () => getRenderer
|
|
33
|
-
});
|
|
34
|
-
var React = __toESM(require("react"));
|
|
35
|
-
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
36
|
-
var import_initColumnDefinition = require("@elliemae/ds-shared/useDataGrid/initColumnDefinition");
|
|
37
|
-
var import_getRendererComponent = require("./getRendererComponent");
|
|
38
|
-
const getRenderer = (renderer, grid, column) => (value, metaData) => {
|
|
39
|
-
const {
|
|
40
|
-
props: { customHandlers, parentRowData }
|
|
41
|
-
} = grid.getInstance();
|
|
42
|
-
if (column && column.formatExpandable && value && value.props && value.props.children && value.props.children.length === 2) {
|
|
43
|
-
return [
|
|
44
|
-
value.props.children[0],
|
|
45
|
-
renderer({
|
|
46
|
-
value: value.props.children[1],
|
|
47
|
-
metaData: { ...metaData, parentRowData },
|
|
48
|
-
customHandlers
|
|
49
|
-
})
|
|
50
|
-
];
|
|
51
|
-
}
|
|
52
|
-
return renderer({
|
|
53
|
-
value,
|
|
54
|
-
metaData: { ...metaData, parentRowData },
|
|
55
|
-
customHandlers
|
|
56
|
-
});
|
|
57
|
-
};
|
|
58
|
-
const addCustomRendererToCell = (grid) => (column) => {
|
|
59
|
-
const { customRenderer } = column;
|
|
60
|
-
const customHeaderRenderer = (0, import_ds_utilities.get)(column, ["header", "customRenderer"]);
|
|
61
|
-
if (!customRenderer && !customHeaderRenderer)
|
|
62
|
-
return column;
|
|
63
|
-
if ((0, import_ds_utilities.isFunction)(customHeaderRenderer)) {
|
|
64
|
-
column.header.formatters.push(getRenderer(customHeaderRenderer, grid));
|
|
65
|
-
}
|
|
66
|
-
if ((0, import_ds_utilities.isFunction)(customRenderer)) {
|
|
67
|
-
column = (0, import_initColumnDefinition.appendCellFormatter)(getRenderer(customRenderer, grid, column), column);
|
|
68
|
-
} else {
|
|
69
|
-
if (!customRenderer)
|
|
70
|
-
return column;
|
|
71
|
-
column.cell.formatters.push((value, columnData) => (0, import_getRendererComponent.getRendererComponent)(grid, customRenderer, columnData));
|
|
72
|
-
}
|
|
73
|
-
return column;
|
|
74
|
-
};
|
|
75
|
-
var addCustomRendererToCell_default = addCustomRendererToCell;
|
|
76
|
-
module.exports = __toCommonJS(addCustomRendererToCell_exports);
|
|
77
|
-
//# sourceMappingURL=addCustomRendererToCell.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/plugins/custom-cell-renderer/addCustomRendererToCell.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable max-statements */\nimport { isFunction, get } from '@elliemae/ds-utilities';\nimport { appendCellFormatter } from '@elliemae/ds-shared/useDataGrid/initColumnDefinition';\nimport { getRendererComponent } from './getRendererComponent';\n\nexport const getRenderer = (renderer, grid, column) => (value, metaData) => {\n const {\n props: { customHandlers, parentRowData },\n } = grid.getInstance();\n if (\n column &&\n column.formatExpandable &&\n value &&\n value.props &&\n value.props.children &&\n value.props.children.length === 2\n ) {\n return [\n value.props.children[0],\n renderer({\n value: value.props.children[1], // apply custom render only to the original value not the arrow\n metaData: { ...metaData, parentRowData },\n customHandlers,\n }),\n ];\n }\n return renderer({\n value,\n metaData: { ...metaData, parentRowData },\n customHandlers,\n });\n};\n\nconst addCustomRendererToCell = (grid) => (column) => {\n const { customRenderer } = column;\n const customHeaderRenderer = get(column, ['header', 'customRenderer']);\n if (!customRenderer && !customHeaderRenderer) return column;\n\n if (isFunction(customHeaderRenderer)) {\n column.header.formatters.push(getRenderer(customHeaderRenderer, grid));\n }\n\n if (isFunction(customRenderer)) {\n column = appendCellFormatter(getRenderer(customRenderer, grid, column), column);\n } else {\n if (!customRenderer) return column;\n column.cell.formatters.push((value, columnData) => getRendererComponent(grid, customRenderer, columnData));\n }\n\n return column;\n};\n\nexport { addCustomRendererToCell };\nexport default addCustomRendererToCell;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,0BAAgC;AAChC,kCAAoC;AACpC,kCAAqC;AAE9B,MAAM,cAAc,CAAC,UAAU,MAAM,WAAW,CAAC,OAAO,aAAa;AAC1E,QAAM;AAAA,IACJ,OAAO,EAAE,gBAAgB;AAAA,MACvB,KAAK;AACT,MACE,UACA,OAAO,oBACP,SACA,MAAM,SACN,MAAM,MAAM,YACZ,MAAM,MAAM,SAAS,WAAW,GAChC;AACA,WAAO;AAAA,MACL,MAAM,MAAM,SAAS;AAAA,MACrB,SAAS;AAAA,QACP,OAAO,MAAM,MAAM,SAAS;AAAA,QAC5B,UAAU,KAAK,UAAU;AAAA,QACzB;AAAA;AAAA;AAAA;AAIN,SAAO,SAAS;AAAA,IACd;AAAA,IACA,UAAU,KAAK,UAAU;AAAA,IACzB;AAAA;AAAA;AAIJ,MAAM,0BAA0B,CAAC,SAAS,CAAC,WAAW;AACpD,QAAM,EAAE,mBAAmB;AAC3B,QAAM,uBAAuB,6BAAI,QAAQ,CAAC,UAAU;AACpD,MAAI,CAAC,kBAAkB,CAAC;AAAsB,WAAO;AAErD,MAAI,oCAAW,uBAAuB;AACpC,WAAO,OAAO,WAAW,KAAK,YAAY,sBAAsB;AAAA;AAGlE,MAAI,oCAAW,iBAAiB;AAC9B,aAAS,qDAAoB,YAAY,gBAAgB,MAAM,SAAS;AAAA,SACnE;AACL,QAAI,CAAC;AAAgB,aAAO;AAC5B,WAAO,KAAK,WAAW,KAAK,CAAC,OAAO,eAAe,sDAAqB,MAAM,gBAAgB;AAAA;AAGhG,SAAO;AAAA;AAIT,IAAO,kCAAQ;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
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 getRendererComponent_exports = {};
|
|
29
|
-
__export(getRendererComponent_exports, {
|
|
30
|
-
default: () => getRendererComponent_default,
|
|
31
|
-
getRendererComponent: () => getRendererComponent
|
|
32
|
-
});
|
|
33
|
-
var React = __toESM(require("react"));
|
|
34
|
-
var import_react = __toESM(require("react"));
|
|
35
|
-
var import_ds_button = require("@elliemae/ds-button");
|
|
36
|
-
var import_ds_form = require("@elliemae/ds-form");
|
|
37
|
-
var import_ds_dropdownmenu = require("@elliemae/ds-dropdownmenu");
|
|
38
|
-
var renderers = __toESM(require("../../components/renderers"));
|
|
39
|
-
const components = {
|
|
40
|
-
DSButton: import_ds_button.DSButton,
|
|
41
|
-
DSCheckbox: import_ds_form.DSCheckbox,
|
|
42
|
-
DSComboBox: import_ds_form.DSComboBox,
|
|
43
|
-
DSRadio: import_ds_form.DSRadio,
|
|
44
|
-
DSTextBox: import_ds_form.DSTextBox,
|
|
45
|
-
DSToggle: import_ds_form.DSToggle,
|
|
46
|
-
DSDropdownMenu: import_ds_dropdownmenu.DSDropdownMenu
|
|
47
|
-
};
|
|
48
|
-
const getRendererComponent = ({ props }, { type = "DSTextBox", handlers, ...rest }, { rowData }) => {
|
|
49
|
-
const Component = components[type] || renderers[type];
|
|
50
|
-
const { customHandlers, rowKey } = props;
|
|
51
|
-
const mappedHandlers = {};
|
|
52
|
-
Object.keys(handlers).forEach((key) => {
|
|
53
|
-
mappedHandlers[handlers[key]] = () => typeof customHandlers[key] === "function" ? customHandlers[key](rowData, rowData[rowKey]) : null;
|
|
54
|
-
});
|
|
55
|
-
return /* @__PURE__ */ import_react.default.createElement(Component, {
|
|
56
|
-
...rowData,
|
|
57
|
-
...mappedHandlers,
|
|
58
|
-
...rest
|
|
59
|
-
});
|
|
60
|
-
};
|
|
61
|
-
var getRendererComponent_default = getRendererComponent;
|
|
62
|
-
module.exports = __toCommonJS(getRendererComponent_exports);
|
|
63
|
-
//# sourceMappingURL=getRendererComponent.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/plugins/custom-cell-renderer/getRendererComponent.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { DSButton } from '@elliemae/ds-button';\nimport { DSCheckbox, DSComboBox, DSRadio, DSTextBox, DSToggle } from '@elliemae/ds-form';\nimport { DSDropdownMenu } from '@elliemae/ds-dropdownmenu';\nimport * as renderers from '../../components/renderers';\n\nconst components = {\n DSButton,\n DSCheckbox,\n DSComboBox,\n DSRadio,\n DSTextBox,\n DSToggle,\n DSDropdownMenu,\n};\n\nconst getRendererComponent = ({ props }, { type = 'DSTextBox', handlers, ...rest }, { rowData }) => {\n const Component = components[type] || renderers[type];\n const { customHandlers, rowKey } = props;\n const mappedHandlers = {};\n\n Object.keys(handlers).forEach((key) => {\n mappedHandlers[handlers[key]] = () =>\n typeof customHandlers[key] === 'function' ? customHandlers[key](rowData, rowData[rowKey]) : null;\n });\n return <Component {...rowData} {...mappedHandlers} {...rest} />;\n};\n\nexport { getRendererComponent };\nexport default getRendererComponent;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,uBAAyB;AACzB,qBAAqE;AACrE,6BAA+B;AAC/B,gBAA2B;AAE3B,MAAM,aAAa;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAGF,MAAM,uBAAuB,CAAC,EAAE,SAAS,EAAE,OAAO,aAAa,aAAa,QAAQ,EAAE,cAAc;AAClG,QAAM,YAAY,WAAW,SAAS,UAAU;AAChD,QAAM,EAAE,gBAAgB,WAAW;AACnC,QAAM,iBAAiB;AAEvB,SAAO,KAAK,UAAU,QAAQ,CAAC,QAAQ;AACrC,mBAAe,SAAS,QAAQ,MAC9B,OAAO,eAAe,SAAS,aAAa,eAAe,KAAK,SAAS,QAAQ,WAAW;AAAA;AAEhG,SAAO,mDAAC,WAAD;AAAA,OAAe;AAAA,OAAa;AAAA,OAAoB;AAAA;AAAA;AAIzD,IAAO,+BAAQ;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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 custom_cell_renderer_exports = {};
|
|
29
|
-
__export(custom_cell_renderer_exports, {
|
|
30
|
-
CustomRendererPlugin: () => import_CustomRendererPlugin.CustomRendererPlugin
|
|
31
|
-
});
|
|
32
|
-
var React = __toESM(require("react"));
|
|
33
|
-
var import_CustomRendererPlugin = require("./CustomRendererPlugin");
|
|
34
|
-
module.exports = __toCommonJS(custom_cell_renderer_exports);
|
|
35
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/plugins/custom-cell-renderer/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["export { CustomRendererPlugin } from './CustomRendererPlugin';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,kCAAqC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
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 ComboBox_exports = {};
|
|
29
|
-
__export(ComboBox_exports, {
|
|
30
|
-
ComboBox: () => ComboBox,
|
|
31
|
-
default: () => ComboBox_default
|
|
32
|
-
});
|
|
33
|
-
var React = __toESM(require("react"));
|
|
34
|
-
var import_react = __toESM(require("react"));
|
|
35
|
-
var import_ds_form = require("@elliemae/ds-form");
|
|
36
|
-
class ComboBox extends import_react.Component {
|
|
37
|
-
constructor(props) {
|
|
38
|
-
super(props);
|
|
39
|
-
this.state = { value: props.value };
|
|
40
|
-
}
|
|
41
|
-
handleChange(value) {
|
|
42
|
-
const { onValue } = this.props;
|
|
43
|
-
setTimeout(() => onValue(value), 1);
|
|
44
|
-
this.setState({ value });
|
|
45
|
-
}
|
|
46
|
-
handleBlur() {
|
|
47
|
-
const { onValue } = this.props;
|
|
48
|
-
const { value } = this.state;
|
|
49
|
-
onValue(value);
|
|
50
|
-
}
|
|
51
|
-
render() {
|
|
52
|
-
const { value } = this.state;
|
|
53
|
-
return /* @__PURE__ */ import_react.default.createElement(import_ds_form.DSComboBox, {
|
|
54
|
-
...this.props,
|
|
55
|
-
menuIsOpen: true,
|
|
56
|
-
onBlur: this.handleBlur,
|
|
57
|
-
onChange: this.handleChange,
|
|
58
|
-
onClick: (e) => e.stopPropagation(),
|
|
59
|
-
value
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
ComboBox.defaultProps = {
|
|
64
|
-
onValue: () => null
|
|
65
|
-
};
|
|
66
|
-
var ComboBox_default = ComboBox;
|
|
67
|
-
module.exports = __toCommonJS(ComboBox_exports);
|
|
68
|
-
//# sourceMappingURL=ComboBox.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../src/plugins/editable/EditableComponents/ComboBox.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React, { Component } from 'react';\nimport { DSComboBox } from '@elliemae/ds-form';\n\nclass ComboBox extends Component {\n static defaultProps = {\n onValue: () => null,\n };\n\n constructor(props) {\n super(props);\n this.state = { value: props.value };\n }\n\n handleChange(value) {\n const { onValue } = this.props;\n\n // some how this is executed before handleBlur, and handleBlur before the value is set\n // causing the value to be the same as the prevProp\n // todo: find a better solution to this\n setTimeout(() => onValue(value), 1);\n this.setState({ value });\n }\n\n handleBlur() {\n const { onValue } = this.props;\n const { value } = this.state;\n onValue(value);\n }\n\n render() {\n const { value } = this.state;\n return (\n <DSComboBox\n {...this.props}\n menuIsOpen\n onBlur={this.handleBlur}\n onChange={this.handleChange}\n onClick={(e) => e.stopPropagation()}\n value={value}\n />\n );\n }\n}\n\nexport { ComboBox };\nexport default ComboBox;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAiC;AACjC,qBAA2B;AAE3B,uBAAuB,uBAAU;AAAA,EAK/B,YAAY,OAAO;AACjB,UAAM;AACN,SAAK,QAAQ,EAAE,OAAO,MAAM;AAAA;AAAA,EAG9B,aAAa,OAAO;AAClB,UAAM,EAAE,YAAY,KAAK;AAKzB,eAAW,MAAM,QAAQ,QAAQ;AACjC,SAAK,SAAS,EAAE;AAAA;AAAA,EAGlB,aAAa;AACX,UAAM,EAAE,YAAY,KAAK;AACzB,UAAM,EAAE,UAAU,KAAK;AACvB,YAAQ;AAAA;AAAA,EAGV,SAAS;AACP,UAAM,EAAE,UAAU,KAAK;AACvB,WACE,mDAAC,2BAAD;AAAA,SACM,KAAK;AAAA,MACT,YAAU;AAAA,MACV,QAAQ,KAAK;AAAA,MACb,UAAU,KAAK;AAAA,MACf,SAAS,CAAC,MAAM,EAAE;AAAA,MAClB;AAAA;AAAA;AAAA;AAlCC,AADT,SACS,eAAe;AAAA,EACpB,SAAS,MAAM;AAAA;AAwCnB,IAAO,mBAAQ;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|