@elliemae/ds-datagrids 3.27.0-next.1 → 3.27.0-next.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +4 -39
- package/dist/cjs/index.js.map +3 -3
- package/dist/esm/index.js +3 -59
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +2 -9
- package/package.json +6 -540
- package/dist/cjs/DSDataGrid.js +0 -589
- package/dist/cjs/DSDataGrid.js.map +0 -7
- package/dist/cjs/DataGridImpl.js +0 -156
- package/dist/cjs/DataGridImpl.js.map +0 -7
- package/dist/cjs/PaginatedDataGrid.js +0 -84
- package/dist/cjs/PaginatedDataGrid.js.map +0 -7
- package/dist/cjs/blockNames.js +0 -40
- package/dist/cjs/blockNames.js.map +0 -7
- package/dist/cjs/columns/IconColumn.js +0 -109
- package/dist/cjs/columns/IconColumn.js.map +0 -7
- package/dist/cjs/columns/NumberColumn.js +0 -37
- package/dist/cjs/columns/NumberColumn.js.map +0 -7
- package/dist/cjs/components/BodyCell.js +0 -114
- package/dist/cjs/components/BodyCell.js.map +0 -7
- package/dist/cjs/components/BodyList.js +0 -48
- package/dist/cjs/components/BodyList.js.map +0 -7
- package/dist/cjs/components/ColumnVisibilityMenuOption.js +0 -65
- package/dist/cjs/components/ColumnVisibilityMenuOption.js.map +0 -7
- package/dist/cjs/components/ColumnsOptionsMenuSection.js +0 -63
- package/dist/cjs/components/ColumnsOptionsMenuSection.js.map +0 -7
- package/dist/cjs/components/EmptyState.js +0 -81
- package/dist/cjs/components/EmptyState.js.map +0 -7
- package/dist/cjs/components/HeaderCell.js +0 -79
- package/dist/cjs/components/HeaderCell.js.map +0 -7
- package/dist/cjs/components/List.js +0 -43
- package/dist/cjs/components/List.js.map +0 -7
- package/dist/cjs/components/ListItem.js +0 -49
- package/dist/cjs/components/ListItem.js.map +0 -7
- package/dist/cjs/components/NoResults.js +0 -53
- package/dist/cjs/components/NoResults.js.map +0 -7
- package/dist/cjs/components/RowsLoader.js +0 -41
- package/dist/cjs/components/RowsLoader.js.map +0 -7
- package/dist/cjs/components/Table.js +0 -125
- package/dist/cjs/components/Table.js.map +0 -7
- package/dist/cjs/components/TableBody.js +0 -71
- package/dist/cjs/components/TableBody.js.map +0 -7
- package/dist/cjs/components/TableHeader.js +0 -60
- package/dist/cjs/components/TableHeader.js.map +0 -7
- package/dist/cjs/components/footer/addOptionalFooterComponents.js +0 -60
- package/dist/cjs/components/footer/addOptionalFooterComponents.js.map +0 -7
- package/dist/cjs/components/header/PrimaryControls.js +0 -54
- package/dist/cjs/components/header/PrimaryControls.js.map +0 -7
- package/dist/cjs/components/header/addOptionalHeaderComponents.js +0 -62
- package/dist/cjs/components/header/addOptionalHeaderComponents.js.map +0 -7
- package/dist/cjs/components/index.js +0 -44
- package/dist/cjs/components/index.js.map +0 -7
- package/dist/cjs/components/renderers/defaultClassedRenderers.js +0 -67
- package/dist/cjs/components/renderers/defaultClassedRenderers.js.map +0 -7
- package/dist/cjs/components/renderers/index.js +0 -51
- package/dist/cjs/components/renderers/index.js.map +0 -7
- package/dist/cjs/components/renderers/renderRowsLoader.js +0 -38
- package/dist/cjs/components/renderers/renderRowsLoader.js.map +0 -7
- package/dist/cjs/components/tableContext.js +0 -37
- package/dist/cjs/components/tableContext.js.map +0 -7
- package/dist/cjs/defaultPlugins.js +0 -40
- package/dist/cjs/defaultPlugins.js.map +0 -7
- package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +0 -145
- package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +0 -7
- package/dist/cjs/plugins/body-header-scroll-sync/index.js +0 -36
- package/dist/cjs/plugins/body-header-scroll-sync/index.js.map +0 -7
- package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js +0 -159
- package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js.map +0 -7
- package/dist/cjs/plugins/column-dnd/decorateGridWithDndColumns.js +0 -48
- package/dist/cjs/plugins/column-dnd/decorateGridWithDndColumns.js.map +0 -7
- package/dist/cjs/plugins/column-dnd/index.js +0 -36
- package/dist/cjs/plugins/column-dnd/index.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js +0 -93
- package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/columnMeasurerTransformer.js +0 -70
- package/dist/cjs/plugins/column-sizing/columnMeasurerTransformer.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js +0 -45
- package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js +0 -65
- package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/getColumnNameFromProperty.js +0 -38
- package/dist/cjs/plugins/column-sizing/getColumnNameFromProperty.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/index.js +0 -36
- 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 -181
- package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/utils.js +0 -69
- package/dist/cjs/plugins/column-sizing/utils.js.map +0 -7
- package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js +0 -41
- package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +0 -7
- package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js +0 -79
- package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +0 -7
- package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js +0 -60
- package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js.map +0 -7
- package/dist/cjs/plugins/custom-cell-renderer/index.js +0 -36
- package/dist/cjs/plugins/custom-cell-renderer/index.js.map +0 -7
- package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js +0 -73
- package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js.map +0 -7
- package/dist/cjs/plugins/editable/EditableComponents/TextBox.js +0 -95
- package/dist/cjs/plugins/editable/EditableComponents/TextBox.js.map +0 -7
- package/dist/cjs/plugins/editable/EditableComponents/index.js +0 -38
- package/dist/cjs/plugins/editable/EditableComponents/index.js.map +0 -7
- package/dist/cjs/plugins/editable/EditablePlugin.js +0 -112
- package/dist/cjs/plugins/editable/EditablePlugin.js.map +0 -7
- package/dist/cjs/plugins/editable/decorateEditable.js +0 -96
- package/dist/cjs/plugins/editable/decorateEditable.js.map +0 -7
- package/dist/cjs/plugins/editable/getEditorComponent.js +0 -60
- package/dist/cjs/plugins/editable/getEditorComponent.js.map +0 -7
- package/dist/cjs/plugins/editable/index.js +0 -39
- package/dist/cjs/plugins/editable/index.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js +0 -131
- package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js +0 -197
- package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/ExpandedRow.js +0 -147
- package/dist/cjs/plugins/expandable-grid/ExpandedRow.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js +0 -57
- package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/index.js +0 -38
- package/dist/cjs/plugins/expandable-grid/index.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/useExpandGridState.js +0 -94
- package/dist/cjs/plugins/expandable-grid/useExpandGridState.js.map +0 -7
- package/dist/cjs/plugins/export-data/ExportDataPlugin.js +0 -135
- package/dist/cjs/plugins/export-data/ExportDataPlugin.js.map +0 -7
- package/dist/cjs/plugins/export-data/index.js +0 -36
- package/dist/cjs/plugins/export-data/index.js.map +0 -7
- package/dist/cjs/plugins/filterable/FilterablePlugin.js +0 -84
- package/dist/cjs/plugins/filterable/FilterablePlugin.js.map +0 -7
- package/dist/cjs/plugins/filterable/addFilterToColumn.js +0 -44
- package/dist/cjs/plugins/filterable/addFilterToColumn.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/FilterableHeader.js +0 -133
- package/dist/cjs/plugins/filterable/components/FilterableHeader.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +0 -179
- package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +0 -133
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +0 -231
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js +0 -183
- package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js +0 -36
- package/dist/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +0 -48
- package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +0 -7
- package/dist/cjs/plugins/filterable/filterableFormatter.js +0 -69
- package/dist/cjs/plugins/filterable/filterableFormatter.js.map +0 -7
- package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js +0 -83
- package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +0 -7
- package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js +0 -45
- package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js.map +0 -7
- package/dist/cjs/plugins/filterable/helper.js +0 -113
- package/dist/cjs/plugins/filterable/helper.js.map +0 -7
- package/dist/cjs/plugins/filterable/index.js +0 -36
- package/dist/cjs/plugins/filterable/index.js.map +0 -7
- package/dist/cjs/plugins/filterable/useFilterableState.js +0 -112
- package/dist/cjs/plugins/filterable/useFilterableState.js.map +0 -7
- package/dist/cjs/plugins/grouping-by/GroupingByPlugin.js +0 -58
- package/dist/cjs/plugins/grouping-by/GroupingByPlugin.js.map +0 -7
- package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js +0 -134
- package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js.map +0 -7
- package/dist/cjs/plugins/grouping-grid/walkStrategy.js +0 -77
- package/dist/cjs/plugins/grouping-grid/walkStrategy.js.map +0 -7
- package/dist/cjs/plugins/index.js +0 -69
- package/dist/cjs/plugins/index.js.map +0 -7
- package/dist/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js +0 -101
- package/dist/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +0 -7
- package/dist/cjs/plugins/infinite-scrolling/index.js +0 -36
- package/dist/cjs/plugins/infinite-scrolling/index.js.map +0 -7
- package/dist/cjs/plugins/pagination/PaginationPlugin.js +0 -90
- package/dist/cjs/plugins/pagination/PaginationPlugin.js.map +0 -7
- package/dist/cjs/plugins/pagination/components/Pagination.js +0 -57
- package/dist/cjs/plugins/pagination/components/Pagination.js.map +0 -7
- package/dist/cjs/plugins/pagination/components/Paginator.js +0 -73
- package/dist/cjs/plugins/pagination/components/Paginator.js.map +0 -7
- package/dist/cjs/plugins/pagination/components/PerPageDropdown.js +0 -74
- package/dist/cjs/plugins/pagination/components/PerPageDropdown.js.map +0 -7
- package/dist/cjs/plugins/pagination/helper.js +0 -63
- package/dist/cjs/plugins/pagination/helper.js.map +0 -7
- package/dist/cjs/plugins/pagination/index.js +0 -36
- package/dist/cjs/plugins/pagination/index.js.map +0 -7
- package/dist/cjs/plugins/pagination/usePaginationState.js +0 -83
- package/dist/cjs/plugins/pagination/usePaginationState.js.map +0 -7
- package/dist/cjs/plugins/resizable/ResizablePlugin.js +0 -116
- package/dist/cjs/plugins/resizable/ResizablePlugin.js.map +0 -7
- package/dist/cjs/plugins/resizable/decorateResizable.js +0 -57
- package/dist/cjs/plugins/resizable/decorateResizable.js.map +0 -7
- package/dist/cjs/plugins/resizable/index.js +0 -36
- package/dist/cjs/plugins/resizable/index.js.map +0 -7
- package/dist/cjs/plugins/resizable/useResizeHandle.js +0 -75
- package/dist/cjs/plugins/resizable/useResizeHandle.js.map +0 -7
- package/dist/cjs/plugins/resizable/utils.js +0 -55
- package/dist/cjs/plugins/resizable/utils.js.map +0 -7
- package/dist/cjs/plugins/row-dnd/DndRowsPlugin.js +0 -140
- package/dist/cjs/plugins/row-dnd/DndRowsPlugin.js.map +0 -7
- package/dist/cjs/plugins/row-dnd/index.js +0 -36
- package/dist/cjs/plugins/row-dnd/index.js.map +0 -7
- package/dist/cjs/plugins/selectable/SelectablePlugin.js +0 -170
- package/dist/cjs/plugins/selectable/SelectablePlugin.js.map +0 -7
- package/dist/cjs/plugins/selectable/addSelectableColumn.js +0 -105
- package/dist/cjs/plugins/selectable/addSelectableColumn.js.map +0 -7
- package/dist/cjs/plugins/selectable/helper.js +0 -55
- package/dist/cjs/plugins/selectable/helper.js.map +0 -7
- package/dist/cjs/plugins/selectable/index.js +0 -36
- package/dist/cjs/plugins/selectable/index.js.map +0 -7
- package/dist/cjs/plugins/selectable/selectableFormatter.js +0 -99
- package/dist/cjs/plugins/selectable/selectableFormatter.js.map +0 -7
- package/dist/cjs/plugins/selectable/useSelectableState.js +0 -128
- package/dist/cjs/plugins/selectable/useSelectableState.js.map +0 -7
- package/dist/cjs/plugins/sortable/SortablePlugin.js +0 -98
- package/dist/cjs/plugins/sortable/SortablePlugin.js.map +0 -7
- package/dist/cjs/plugins/sortable/checkIfSortable.js +0 -46
- package/dist/cjs/plugins/sortable/checkIfSortable.js.map +0 -7
- package/dist/cjs/plugins/sortable/index.js +0 -36
- 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 -49
- package/dist/cjs/plugins/sortable/sortTree.js.map +0 -7
- package/dist/cjs/plugins/sortable/sorter.js +0 -154
- package/dist/cjs/plugins/sortable/sorter.js.map +0 -7
- package/dist/cjs/plugins/sortable/useSortableState.js +0 -74
- package/dist/cjs/plugins/sortable/useSortableState.js.map +0 -7
- package/dist/cjs/plugins/toolbar/RowRenderer.js +0 -109
- package/dist/cjs/plugins/toolbar/RowRenderer.js.map +0 -7
- package/dist/cjs/plugins/toolbar/ToolbarPlugin.js +0 -63
- package/dist/cjs/plugins/toolbar/ToolbarPlugin.js.map +0 -7
- package/dist/cjs/plugins/toolbar/ToolbarTrigger.js +0 -115
- package/dist/cjs/plugins/toolbar/ToolbarTrigger.js.map +0 -7
- package/dist/cjs/plugins/toolbar/index.js +0 -36
- package/dist/cjs/plugins/toolbar/index.js.map +0 -7
- package/dist/cjs/plugins/virtualization/AutoHeightList.js +0 -78
- package/dist/cjs/plugins/virtualization/AutoHeightList.js.map +0 -7
- package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js +0 -109
- package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js.map +0 -7
- package/dist/cjs/plugins/virtualization/VirtualizedBody.js +0 -275
- package/dist/cjs/plugins/virtualization/VirtualizedBody.js.map +0 -7
- package/dist/cjs/plugins/virtualization/VirtualizedBodyRow.js +0 -58
- package/dist/cjs/plugins/virtualization/VirtualizedBodyRow.js.map +0 -7
- package/dist/cjs/plugins/virtualization/helper.js +0 -36
- package/dist/cjs/plugins/virtualization/helper.js.map +0 -7
- package/dist/cjs/plugins/virtualization/index.js +0 -36
- package/dist/cjs/plugins/virtualization/index.js.map +0 -7
- package/dist/cjs/renders/CellWithAddons.js +0 -113
- package/dist/cjs/renders/CellWithAddons.js.map +0 -7
- package/dist/cjs/renders/index.js +0 -38
- package/dist/cjs/renders/index.js.map +0 -7
- package/dist/cjs/renders/styled.js +0 -79
- package/dist/cjs/renders/styled.js.map +0 -7
- package/dist/cjs/rowSizes.js +0 -48
- package/dist/cjs/rowSizes.js.map +0 -7
- package/dist/cjs/utilities/DataGridUtilities.json +0 -1315
- package/dist/cjs/utilities/getPluginsFromProps.js +0 -73
- package/dist/cjs/utilities/getPluginsFromProps.js.map +0 -7
- package/dist/cjs/utilities/getScrollbarSize.js +0 -47
- package/dist/cjs/utilities/getScrollbarSize.js.map +0 -7
- package/dist/cjs/utilities/normalizeData.js +0 -50
- package/dist/cjs/utilities/normalizeData.js.map +0 -7
- package/dist/esm/DSDataGrid.js +0 -559
- package/dist/esm/DSDataGrid.js.map +0 -7
- package/dist/esm/DataGridImpl.js +0 -126
- package/dist/esm/DataGridImpl.js.map +0 -7
- package/dist/esm/PaginatedDataGrid.js +0 -54
- 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 -79
- 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 -84
- package/dist/esm/components/BodyCell.js.map +0 -7
- package/dist/esm/components/BodyList.js +0 -18
- package/dist/esm/components/BodyList.js.map +0 -7
- package/dist/esm/components/ColumnVisibilityMenuOption.js +0 -35
- package/dist/esm/components/ColumnVisibilityMenuOption.js.map +0 -7
- package/dist/esm/components/ColumnsOptionsMenuSection.js +0 -33
- package/dist/esm/components/ColumnsOptionsMenuSection.js.map +0 -7
- package/dist/esm/components/EmptyState.js +0 -51
- package/dist/esm/components/EmptyState.js.map +0 -7
- package/dist/esm/components/HeaderCell.js +0 -49
- package/dist/esm/components/HeaderCell.js.map +0 -7
- package/dist/esm/components/List.js +0 -13
- package/dist/esm/components/List.js.map +0 -7
- package/dist/esm/components/ListItem.js +0 -19
- package/dist/esm/components/ListItem.js.map +0 -7
- package/dist/esm/components/NoResults.js +0 -23
- package/dist/esm/components/NoResults.js.map +0 -7
- package/dist/esm/components/RowsLoader.js +0 -11
- package/dist/esm/components/RowsLoader.js.map +0 -7
- package/dist/esm/components/Table.js +0 -95
- 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 -30
- package/dist/esm/components/TableHeader.js.map +0 -7
- package/dist/esm/components/footer/addOptionalFooterComponents.js +0 -30
- package/dist/esm/components/footer/addOptionalFooterComponents.js.map +0 -7
- package/dist/esm/components/header/PrimaryControls.js +0 -24
- package/dist/esm/components/header/PrimaryControls.js.map +0 -7
- package/dist/esm/components/header/addOptionalHeaderComponents.js +0 -32
- 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 -37
- 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 -8
- 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 -10
- package/dist/esm/defaultPlugins.js.map +0 -7
- package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +0 -115
- 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 -129
- package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js.map +0 -7
- package/dist/esm/plugins/column-dnd/decorateGridWithDndColumns.js +0 -18
- 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 -118
- package/dist/esm/plugins/column-sizing/useColumnSizeService.js.map +0 -7
- package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js +0 -151
- 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 -49
- package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +0 -7
- package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js +0 -30
- 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 -43
- package/dist/esm/plugins/editable/EditableComponents/ComboBox.js.map +0 -7
- package/dist/esm/plugins/editable/EditableComponents/TextBox.js +0 -65
- 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 -82
- package/dist/esm/plugins/editable/EditablePlugin.js.map +0 -7
- package/dist/esm/plugins/editable/decorateEditable.js +0 -66
- package/dist/esm/plugins/editable/decorateEditable.js.map +0 -7
- package/dist/esm/plugins/editable/getEditorComponent.js +0 -30
- 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 -101
- package/dist/esm/plugins/expandable-grid/ExpandableColumn.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js +0 -167
- package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/ExpandedRow.js +0 -117
- 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 -54
- 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 -149
- package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +0 -103
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +0 -205
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js +0 -153
- 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 -18
- package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +0 -7
- package/dist/esm/plugins/filterable/filterableFormatter.js +0 -39
- package/dist/esm/plugins/filterable/filterableFormatter.js.map +0 -7
- package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js +0 -53
- 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 -83
- 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 -82
- 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 -104
- 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 -60
- package/dist/esm/plugins/pagination/PaginationPlugin.js.map +0 -7
- package/dist/esm/plugins/pagination/components/Pagination.js +0 -27
- package/dist/esm/plugins/pagination/components/Pagination.js.map +0 -7
- package/dist/esm/plugins/pagination/components/Paginator.js +0 -43
- package/dist/esm/plugins/pagination/components/Paginator.js.map +0 -7
- package/dist/esm/plugins/pagination/components/PerPageDropdown.js +0 -44
- 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 -86
- 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 -45
- 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 -110
- 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 -140
- package/dist/esm/plugins/selectable/SelectablePlugin.js.map +0 -7
- package/dist/esm/plugins/selectable/addSelectableColumn.js +0 -75
- 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 -69
- package/dist/esm/plugins/selectable/selectableFormatter.js.map +0 -7
- package/dist/esm/plugins/selectable/useSelectableState.js +0 -98
- package/dist/esm/plugins/selectable/useSelectableState.js.map +0 -7
- package/dist/esm/plugins/sortable/SortablePlugin.js +0 -68
- 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 -36
- package/dist/esm/plugins/sortable/sortHeaderFormatter.js.map +0 -7
- package/dist/esm/plugins/sortable/sortTree.js +0 -19
- package/dist/esm/plugins/sortable/sortTree.js.map +0 -7
- package/dist/esm/plugins/sortable/sorter.js +0 -124
- 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 -79
- package/dist/esm/plugins/toolbar/RowRenderer.js.map +0 -7
- package/dist/esm/plugins/toolbar/ToolbarPlugin.js +0 -33
- package/dist/esm/plugins/toolbar/ToolbarPlugin.js.map +0 -7
- package/dist/esm/plugins/toolbar/ToolbarTrigger.js +0 -85
- 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 -48
- package/dist/esm/plugins/virtualization/AutoHeightList.js.map +0 -7
- package/dist/esm/plugins/virtualization/VirtualizationPlugin.js +0 -79
- package/dist/esm/plugins/virtualization/VirtualizationPlugin.js.map +0 -7
- package/dist/esm/plugins/virtualization/VirtualizedBody.js +0 -245
- package/dist/esm/plugins/virtualization/VirtualizedBody.js.map +0 -7
- package/dist/esm/plugins/virtualization/VirtualizedBodyRow.js +0 -28
- 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 -83
- 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 -18
- 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 -452
- package/dist/types/DataGridImpl.d.ts +0 -12
- package/dist/types/PaginatedDataGrid.d.ts +0 -14
- package/dist/types/blockNames.d.ts +0 -4
- package/dist/types/columns/IconColumn.d.ts +0 -35
- package/dist/types/columns/NumberColumn.d.ts +0 -4
- package/dist/types/components/BodyCell.d.ts +0 -33
- package/dist/types/components/BodyList.d.ts +0 -11
- package/dist/types/components/ColumnVisibilityMenuOption.d.ts +0 -15
- package/dist/types/components/ColumnsOptionsMenuSection.d.ts +0 -8
- package/dist/types/components/EmptyState.d.ts +0 -6
- package/dist/types/components/HeaderCell.d.ts +0 -18
- package/dist/types/components/List.d.ts +0 -2
- package/dist/types/components/ListItem.d.ts +0 -2
- package/dist/types/components/NoResults.d.ts +0 -7
- package/dist/types/components/RowsLoader.d.ts +0 -4
- 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 -3
- package/dist/types/components/footer/addOptionalFooterComponents.d.ts +0 -6
- package/dist/types/components/header/PrimaryControls.d.ts +0 -5
- package/dist/types/components/header/addOptionalHeaderComponents.d.ts +0 -10
- package/dist/types/components/index.d.ts +0 -5
- package/dist/types/components/renderers/defaultClassedRenderers.d.ts +0 -11
- package/dist/types/components/renderers/index.d.ts +0 -15
- package/dist/types/components/renderers/renderRowsLoader.d.ts +0 -1
- package/dist/types/components/tableContext.d.ts +0 -2
- package/dist/types/components/tests/ColumnVisibilityMenu.test.d.ts +0 -1
- package/dist/types/defaultPlugins.d.ts +0 -1
- package/dist/types/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.d.ts +0 -1
- package/dist/types/plugins/body-header-scroll-sync/index.d.ts +0 -1
- package/dist/types/plugins/column-dnd/DndColumnsPlugin.d.ts +0 -1
- package/dist/types/plugins/column-dnd/decorateGridWithDndColumns.d.ts +0 -2
- package/dist/types/plugins/column-dnd/index.d.ts +0 -1
- package/dist/types/plugins/column-sizing/ColumnSizingPlugin.d.ts +0 -1
- package/dist/types/plugins/column-sizing/columnMeasurerTransformer.d.ts +0 -6
- package/dist/types/plugins/column-sizing/ext-points/decorateColumn.d.ts +0 -1
- package/dist/types/plugins/column-sizing/ext-points/getTableProps.d.ts +0 -10
- 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/column-sizing/useStylesheetHelpers.d.ts +0 -22
- package/dist/types/plugins/column-sizing/utils.d.ts +0 -5
- package/dist/types/plugins/custom-cell-renderer/CustomRendererPlugin.d.ts +0 -1
- package/dist/types/plugins/custom-cell-renderer/addCustomRendererToCell.d.ts +0 -4
- package/dist/types/plugins/custom-cell-renderer/getRendererComponent.d.ts +0 -11
- 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/EditableComponents/index.d.ts +0 -2
- package/dist/types/plugins/editable/EditablePlugin.d.ts +0 -1
- package/dist/types/plugins/editable/decorateEditable.d.ts +0 -7
- 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 -28
- package/dist/types/plugins/expandable-grid/ExpandablePlugin.d.ts +0 -1
- package/dist/types/plugins/expandable-grid/ExpandedRow.d.ts +0 -11
- package/dist/types/plugins/expandable-grid/ExpandedRowExtra.d.ts +0 -9
- package/dist/types/plugins/expandable-grid/index.d.ts +0 -2
- package/dist/types/plugins/expandable-grid/tests/ExpandablePlugin.test.d.ts +0 -1
- package/dist/types/plugins/expandable-grid/useExpandGridState.d.ts +0 -16
- package/dist/types/plugins/export-data/ExportDataPlugin.d.ts +0 -4
- package/dist/types/plugins/export-data/index.d.ts +0 -1
- package/dist/types/plugins/filterable/FilterablePlugin.d.ts +0 -1
- package/dist/types/plugins/filterable/addFilterToColumn.d.ts +0 -1
- package/dist/types/plugins/filterable/components/FilterableHeader.d.ts +0 -28
- package/dist/types/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.d.ts +0 -30
- package/dist/types/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.d.ts +0 -27
- 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 -35
- package/dist/types/plugins/filterable/components/filterable-menus/defaultDateFormat.d.ts +0 -1
- package/dist/types/plugins/filterable/components/filterable-menus/getFilterMenuByType.d.ts +0 -2
- package/dist/types/plugins/filterable/filterableFormatter.d.ts +0 -11
- 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/helper.d.ts +0 -22
- package/dist/types/plugins/filterable/index.d.ts +0 -1
- package/dist/types/plugins/filterable/useFilterableState.d.ts +0 -18
- package/dist/types/plugins/grouping-by/GroupingByPlugin.d.ts +0 -1
- package/dist/types/plugins/grouping-grid/GroupingPlugin.d.ts +0 -1
- package/dist/types/plugins/grouping-grid/walkStrategy.d.ts +0 -9
- package/dist/types/plugins/index.d.ts +0 -16
- package/dist/types/plugins/infinite-scrolling/InfiniteScrollPlugin.d.ts +0 -1
- package/dist/types/plugins/infinite-scrolling/index.d.ts +0 -1
- package/dist/types/plugins/pagination/PaginationPlugin.d.ts +0 -1
- package/dist/types/plugins/pagination/components/Pagination.d.ts +0 -10
- package/dist/types/plugins/pagination/components/Paginator.d.ts +0 -9
- package/dist/types/plugins/pagination/components/PerPageDropdown.d.ts +0 -9
- package/dist/types/plugins/pagination/helper.d.ts +0 -18
- package/dist/types/plugins/pagination/index.d.ts +0 -1
- package/dist/types/plugins/pagination/usePaginationState.d.ts +0 -9
- package/dist/types/plugins/resizable/ResizablePlugin.d.ts +0 -1
- package/dist/types/plugins/resizable/decorateResizable.d.ts +0 -3
- package/dist/types/plugins/resizable/index.d.ts +0 -1
- package/dist/types/plugins/resizable/useResizeHandle.d.ts +0 -13
- package/dist/types/plugins/resizable/utils.d.ts +0 -3
- package/dist/types/plugins/row-dnd/DndRowsPlugin.d.ts +0 -1
- package/dist/types/plugins/row-dnd/index.d.ts +0 -1
- package/dist/types/plugins/selectable/SelectablePlugin.d.ts +0 -1
- package/dist/types/plugins/selectable/addSelectableColumn.d.ts +0 -30
- package/dist/types/plugins/selectable/helper.d.ts +0 -6
- package/dist/types/plugins/selectable/index.d.ts +0 -1
- package/dist/types/plugins/selectable/selectableFormatter.d.ts +0 -9
- package/dist/types/plugins/selectable/useSelectableState.d.ts +0 -12
- package/dist/types/plugins/sortable/SortablePlugin.d.ts +0 -1
- package/dist/types/plugins/sortable/checkIfSortable.d.ts +0 -2
- package/dist/types/plugins/sortable/index.d.ts +0 -1
- package/dist/types/plugins/sortable/sortHeaderFormatter.d.ts +0 -6
- package/dist/types/plugins/sortable/sortTree.d.ts +0 -3
- package/dist/types/plugins/sortable/sorter.d.ts +0 -12
- package/dist/types/plugins/sortable/useSortableState.d.ts +0 -8
- package/dist/types/plugins/toolbar/RowRenderer.d.ts +0 -10
- package/dist/types/plugins/toolbar/ToolbarPlugin.d.ts +0 -1
- package/dist/types/plugins/toolbar/ToolbarTrigger.d.ts +0 -7
- 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/VirtualizationPlugin.d.ts +0 -1
- package/dist/types/plugins/virtualization/VirtualizedBody.d.ts +0 -32
- package/dist/types/plugins/virtualization/VirtualizedBodyRow.d.ts +0 -8
- package/dist/types/plugins/virtualization/helper.d.ts +0 -1
- package/dist/types/plugins/virtualization/index.d.ts +0 -1
- package/dist/types/renders/CellWithAddons.d.ts +0 -51
- package/dist/types/renders/index.d.ts +0 -2
- package/dist/types/renders/styled.d.ts +0 -4
- package/dist/types/rowSizes.d.ts +0 -11
- package/dist/types/tests/DataGrid-Columns.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Editable.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Export.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Filter-helper.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Filterable-Dates.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Filterable-State.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-RowDnd.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Selectable.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Sortable.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Toolbar.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Virtualization.test.d.ts +0 -1
- package/dist/types/tests/DataGrids-ColumnSizing.test.d.ts +0 -1
- package/dist/types/tests/DataGrids-ConditionalPagination.test.d.ts +0 -1
- package/dist/types/tests/DataGrids-Rows.test.d.ts +0 -1
- package/dist/types/tests/DataGrids.test.d.ts +0 -1
- package/dist/types/utilities/getPluginsFromProps.d.ts +0 -2
- package/dist/types/utilities/getScrollbarSize.d.ts +0 -1
- package/dist/types/utilities/normalizeData.d.ts +0 -3
package/dist/cjs/DSDataGrid.js
DELETED
@@ -1,589 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __create = Object.create;
|
3
|
-
var __defProp = Object.defineProperty;
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
-
var __export = (target, all) => {
|
9
|
-
for (var name in all)
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
11
|
-
};
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
14
|
-
for (let key of __getOwnPropNames(from))
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
17
|
-
}
|
18
|
-
return to;
|
19
|
-
};
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
26
|
-
mod
|
27
|
-
));
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var DSDataGrid_exports = {};
|
30
|
-
__export(DSDataGrid_exports, {
|
31
|
-
DSDataGrid: () => DSDataGrids,
|
32
|
-
DSDataGrids: () => DSDataGrids,
|
33
|
-
DSDataGridsWithSchema: () => DSDataGridsWithSchema,
|
34
|
-
default: () => DSDataGrid_default
|
35
|
-
});
|
36
|
-
module.exports = __toCommonJS(DSDataGrid_exports);
|
37
|
-
var React = __toESM(require("react"));
|
38
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
39
|
-
var import_ds_utilities = require("@elliemae/ds-utilities");
|
40
|
-
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
41
|
-
var import_ds_truncated_tooltip_text = require("@elliemae/ds-truncated-tooltip-text");
|
42
|
-
var import_DataGridImpl = require("./DataGridImpl.js");
|
43
|
-
var import_rowSizes = require("./rowSizes.js");
|
44
|
-
const DSDataGrids = ({
|
45
|
-
containerProps = {},
|
46
|
-
instanceRef,
|
47
|
-
className = "",
|
48
|
-
// data
|
49
|
-
columns = [],
|
50
|
-
rows = [],
|
51
|
-
rowKey = "id",
|
52
|
-
// features
|
53
|
-
infiniteScrolling = false,
|
54
|
-
editable = false,
|
55
|
-
sortable = false,
|
56
|
-
sortEmptyLast = false,
|
57
|
-
paginated = false,
|
58
|
-
dragAndDropRows = false,
|
59
|
-
selectable = false,
|
60
|
-
resizeableColumns = false,
|
61
|
-
searchFilters = false,
|
62
|
-
dragAndDropColumns = false,
|
63
|
-
useTreeData = false,
|
64
|
-
autoScrollToId,
|
65
|
-
// virtualization props
|
66
|
-
overscanCount = 10,
|
67
|
-
// feature state
|
68
|
-
selectAll = false,
|
69
|
-
// todo: change to isAllSelected
|
70
|
-
selectedRows = [],
|
71
|
-
filters = void 0,
|
72
|
-
onAddFilter = () => null,
|
73
|
-
onRemoveFilter = () => null,
|
74
|
-
onFiltersChange = () => null,
|
75
|
-
showFilterBar = true,
|
76
|
-
multiSelectFilterOptions = [
|
77
|
-
{ id: "true", label: "Selected" },
|
78
|
-
{ id: "false", label: "Not selected" }
|
79
|
-
],
|
80
|
-
multiSelectFilterLabels = void 0,
|
81
|
-
multiSelectFilterLabel = "Selection",
|
82
|
-
aggregations = {},
|
83
|
-
groupingColumn = void 0,
|
84
|
-
sortingColumns = {},
|
85
|
-
// pagination
|
86
|
-
minPerPage = 0,
|
87
|
-
maxPerPage = 50,
|
88
|
-
onPerPageChange = () => null,
|
89
|
-
onPageChange = () => null,
|
90
|
-
paginationStep = 2,
|
91
|
-
pagination = {
|
92
|
-
page: 1,
|
93
|
-
perPage: 10
|
94
|
-
},
|
95
|
-
// visual
|
96
|
-
showHeader = true,
|
97
|
-
fixedHeader = true,
|
98
|
-
wrapText = false,
|
99
|
-
height = void 0,
|
100
|
-
minColumnWidth = 100,
|
101
|
-
showRowsLoader = false,
|
102
|
-
visibleColumns = void 0,
|
103
|
-
// this enforces visibility of columns
|
104
|
-
showSelectHighlight = false,
|
105
|
-
showSelectColumn = true,
|
106
|
-
selectColumnSortable = true,
|
107
|
-
selectColumnFilterable = false,
|
108
|
-
selectionColumnDefinition = {},
|
109
|
-
filterBarOptions = void 0,
|
110
|
-
// searchGrid = false,
|
111
|
-
renderToolbar = void 0,
|
112
|
-
toolbarDelayClose = 400,
|
113
|
-
renderFilterToolbar = void 0,
|
114
|
-
multiSelectComponent = void 0,
|
115
|
-
// todo: deprecate this
|
116
|
-
noResultsRender,
|
117
|
-
noResultsPlaceholder,
|
118
|
-
fluidHeight = false,
|
119
|
-
customHandlers = {},
|
120
|
-
// grouping feature
|
121
|
-
groupedBy = void 0,
|
122
|
-
// callbacks
|
123
|
-
onDefaultFiltersLoad = () => null,
|
124
|
-
onReorder = () => null,
|
125
|
-
onMoveRowEnd = () => null,
|
126
|
-
onMoveRowStart = () => null,
|
127
|
-
onMoveColumnOver = () => null,
|
128
|
-
onMoveColumnStart = () => null,
|
129
|
-
onMoveColumnEnd = () => null,
|
130
|
-
onColumnResize = () => null,
|
131
|
-
onExpandChange = () => null,
|
132
|
-
onToggleExpand = () => null,
|
133
|
-
onExpandRow = () => null,
|
134
|
-
onFilter = () => null,
|
135
|
-
onSort = () => null,
|
136
|
-
onColumnRowEdited = () => null,
|
137
|
-
onColumnRowEdit = () => null,
|
138
|
-
onSelectRow = () => null,
|
139
|
-
onSelectAll = () => null,
|
140
|
-
onInfiniteScrolling = () => null,
|
141
|
-
onFilterMenuClose = () => null,
|
142
|
-
onFilterMenuOpen = () => null,
|
143
|
-
getData = void 0,
|
144
|
-
// todo: change to onGetMoreData
|
145
|
-
serverSideData = false,
|
146
|
-
isDataSorted = false,
|
147
|
-
isDataFiltered = false,
|
148
|
-
virtualized = true,
|
149
|
-
numRowsVisible = void 0,
|
150
|
-
isColumnEditable = (column) => column.editable,
|
151
|
-
// grouped props
|
152
|
-
groupedRows = false,
|
153
|
-
groupedRowsRenderHeader = void 0,
|
154
|
-
// expandable props
|
155
|
-
renderExpandedDetails = () => null,
|
156
|
-
detailColumns,
|
157
|
-
expandable = false,
|
158
|
-
getChildrenRows = (row) => row.children,
|
159
|
-
expandableSubrowsVisible = 7,
|
160
|
-
renderRowDetails = () => null,
|
161
|
-
getExpandedRowSize = void 0,
|
162
|
-
getExpandedRowMinSize,
|
163
|
-
rowSize = import_rowSizes.RowSizesOptions.normal,
|
164
|
-
subRowSize = import_rowSizes.RowSizesOptions.normal,
|
165
|
-
bindColumnsSizeTo = void 0,
|
166
|
-
bindRowSizeTo = void 0,
|
167
|
-
onToggleShowAllRows,
|
168
|
-
expandedRows,
|
169
|
-
autoHeight = false,
|
170
|
-
noColumnsPlaceholder,
|
171
|
-
plugins = [],
|
172
|
-
normalizeDataKeys = false
|
173
|
-
}) => {
|
174
|
-
(0, import_ds_utilities.useDeprecateComponent)({ componentName: "ds-datagrids", version: "3.x Date: 2023 Q1" });
|
175
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_truncated_tooltip_text.TooltipTextProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
176
|
-
import_DataGridImpl.DataGridImpl,
|
177
|
-
{
|
178
|
-
aggregations,
|
179
|
-
autoHeight: autoHeight && !fluidHeight,
|
180
|
-
autoScrollToId,
|
181
|
-
bindColumnsSizeTo,
|
182
|
-
bindRowSizeTo,
|
183
|
-
className,
|
184
|
-
columns,
|
185
|
-
containerProps,
|
186
|
-
customHandlers,
|
187
|
-
detailColumns,
|
188
|
-
dragAndDropColumns,
|
189
|
-
dragAndDropRows,
|
190
|
-
editable,
|
191
|
-
expandable,
|
192
|
-
expandableSubrowsVisible,
|
193
|
-
expandedRows,
|
194
|
-
filterBarOptions,
|
195
|
-
filters,
|
196
|
-
fixedHeader,
|
197
|
-
fluidHeight,
|
198
|
-
getChildrenRows,
|
199
|
-
getData,
|
200
|
-
getExpandedRowMinSize,
|
201
|
-
getExpandedRowSize,
|
202
|
-
groupedBy,
|
203
|
-
groupedRows,
|
204
|
-
groupedRowsRenderHeader,
|
205
|
-
groupingColumn,
|
206
|
-
height,
|
207
|
-
infiniteScrolling,
|
208
|
-
instanceRef,
|
209
|
-
isColumnEditable,
|
210
|
-
isDataFiltered,
|
211
|
-
isDataSorted,
|
212
|
-
maxPerPage,
|
213
|
-
minColumnWidth,
|
214
|
-
minPerPage,
|
215
|
-
multiSelectComponent,
|
216
|
-
multiSelectFilterLabel,
|
217
|
-
multiSelectFilterLabels,
|
218
|
-
multiSelectFilterOptions,
|
219
|
-
noColumnsPlaceholder,
|
220
|
-
noResultsPlaceholder,
|
221
|
-
noResultsRender,
|
222
|
-
normalizeDataKeys,
|
223
|
-
numRowsVisible,
|
224
|
-
onAddFilter,
|
225
|
-
onColumnResize,
|
226
|
-
onColumnRowEdit,
|
227
|
-
onColumnRowEdited,
|
228
|
-
onExpandRow,
|
229
|
-
onExpandChange,
|
230
|
-
onFilter,
|
231
|
-
onFiltersChange,
|
232
|
-
onFilterMenuClose,
|
233
|
-
onFilterMenuOpen,
|
234
|
-
onDefaultFiltersLoad,
|
235
|
-
onInfiniteScrolling,
|
236
|
-
onMoveColumnEnd,
|
237
|
-
onMoveColumnOver,
|
238
|
-
onMoveColumnStart,
|
239
|
-
onMoveRowEnd,
|
240
|
-
onMoveRowStart,
|
241
|
-
onPageChange,
|
242
|
-
onPerPageChange,
|
243
|
-
onRemoveFilter,
|
244
|
-
onReorder,
|
245
|
-
onSelectAll,
|
246
|
-
onSelectRow,
|
247
|
-
onSort,
|
248
|
-
onToggleExpand,
|
249
|
-
onToggleShowAllRows,
|
250
|
-
overscanCount,
|
251
|
-
paginated,
|
252
|
-
pagination,
|
253
|
-
paginationStep,
|
254
|
-
plugins,
|
255
|
-
renderExpandedDetails,
|
256
|
-
renderFilterToolbar,
|
257
|
-
renderRowDetails,
|
258
|
-
renderToolbar,
|
259
|
-
resizeableColumns,
|
260
|
-
rowKey,
|
261
|
-
rows,
|
262
|
-
rowSize,
|
263
|
-
searchFilters,
|
264
|
-
selectable,
|
265
|
-
selectAll,
|
266
|
-
selectColumnFilterable,
|
267
|
-
selectColumnSortable,
|
268
|
-
selectedRows,
|
269
|
-
selectionColumnDefinition,
|
270
|
-
serverSideData,
|
271
|
-
showFilterBar,
|
272
|
-
showHeader,
|
273
|
-
showRowsLoader,
|
274
|
-
showSelectColumn,
|
275
|
-
showSelectHighlight,
|
276
|
-
sortable,
|
277
|
-
sortEmptyLast,
|
278
|
-
sortingColumns,
|
279
|
-
subrowSize: subRowSize,
|
280
|
-
toolbarDelayClose,
|
281
|
-
useTreeData,
|
282
|
-
virtualized,
|
283
|
-
visibleColumns,
|
284
|
-
wrapText
|
285
|
-
}
|
286
|
-
) });
|
287
|
-
};
|
288
|
-
const props = {
|
289
|
-
/** ref to the instance of the datagrid, handle it imperatively */
|
290
|
-
instanceRef: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.shape({ current: import_ds_props_helpers.PropTypes.any })]).description(
|
291
|
-
"ref to the instance of the datagrid, handle it imperatively"
|
292
|
-
),
|
293
|
-
/** class for data grid wrapper */
|
294
|
-
className: import_ds_props_helpers.PropTypes.string.description("class for data grid wrapper"),
|
295
|
-
/** inject props to datagrid wrapper */
|
296
|
-
containerProps: import_ds_props_helpers.PropTypes.object.description("inject props to datagrid wrapper"),
|
297
|
-
/** FilterBar props passed down to FilterBar */
|
298
|
-
filterBarOptions: import_ds_props_helpers.PropTypes.shape({
|
299
|
-
minWidth: import_ds_props_helpers.PropTypes.number,
|
300
|
-
maxWidth: import_ds_props_helpers.PropTypes.number
|
301
|
-
}).description("FilterBar props passed down to FilterBar"),
|
302
|
-
/** datagrid columns */
|
303
|
-
columns: import_ds_props_helpers.PropTypes.arrayOf(
|
304
|
-
import_ds_props_helpers.PropTypes.shape({
|
305
|
-
/** Column property as an identifier */
|
306
|
-
property: import_ds_props_helpers.PropTypes.string.isRequired,
|
307
|
-
/** Label in the header */
|
308
|
-
label: import_ds_props_helpers.PropTypes.string,
|
309
|
-
/** Defines the width of the column, can be a string with percentages ("50%"), if not defined the width is flexible */
|
310
|
-
width: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.number, import_ds_props_helpers.PropTypes.string]),
|
311
|
-
/** Min width for this column. NOTE: Has prevalence over the general minColumnWidth */
|
312
|
-
minWidth: import_ds_props_helpers.PropTypes.number,
|
313
|
-
/** Function returning a custom editor for that cell ({ value, onValue, rowData }) => Element */
|
314
|
-
customEditor: import_ds_props_helpers.PropTypes.func,
|
315
|
-
/** Function returning an element to render in the cell ({ value, customHandlers, metaData: { rowData } }) => Element */
|
316
|
-
customRenderer: import_ds_props_helpers.PropTypes.func,
|
317
|
-
/** Activates 'searchable' feature for this column */
|
318
|
-
searchable: import_ds_props_helpers.PropTypes.bool,
|
319
|
-
/** Activates 'sortable' feature for this column */
|
320
|
-
sortable: import_ds_props_helpers.PropTypes.bool,
|
321
|
-
/** Activates 'resizable' feature for this column */
|
322
|
-
resizable: import_ds_props_helpers.PropTypes.bool,
|
323
|
-
/** Activates 'editable' feature for this column */
|
324
|
-
editable: import_ds_props_helpers.PropTypes.bool,
|
325
|
-
/** Whether this column is visible or not */
|
326
|
-
visible: import_ds_props_helpers.PropTypes.bool
|
327
|
-
})
|
328
|
-
).description("datagrid columns"),
|
329
|
-
/** datagrid rows */
|
330
|
-
rows: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description("datagrid rows"),
|
331
|
-
/** key for each row */
|
332
|
-
rowKey: import_ds_props_helpers.PropTypes.string.description("key for each row"),
|
333
|
-
/** toggle infinite scroll loading behavior */
|
334
|
-
infiniteScrolling: import_ds_props_helpers.PropTypes.bool.description("toggle infinite scroll loading behavior"),
|
335
|
-
/** Activates 'editable' feature on the DataGrid NOTE: needs to be activated in the column definition as well */
|
336
|
-
overscanCount: import_ds_props_helpers.PropTypes.number.description(
|
337
|
-
"Activates 'editable' feature on the DataGrid NOTE: needs to be activated in the column definition as well"
|
338
|
-
),
|
339
|
-
/** turn datagrid to editable mode */
|
340
|
-
editable: import_ds_props_helpers.PropTypes.bool.description("turn datagrid to editable mode"),
|
341
|
-
/** Activates 'sortable' feature on the GataGrid NOTE: needs to be activated in the column definition as well */
|
342
|
-
sortable: import_ds_props_helpers.PropTypes.bool.description(
|
343
|
-
"Activates 'sortable' feature on the GataGrid NOTE: needs to be activated in the column definition as well"
|
344
|
-
),
|
345
|
-
/** Put empty values always last on the column after sorting */
|
346
|
-
sortEmptyLast: import_ds_props_helpers.PropTypes.bool.description("Put empty values always last on the column after sorting"),
|
347
|
-
/** Activates 'pagination' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
348
|
-
paginated: import_ds_props_helpers.PropTypes.bool.description(
|
349
|
-
"Activates 'pagination' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
350
|
-
),
|
351
|
-
/** Pagination step for clicking the next pages */
|
352
|
-
paginationStep: import_ds_props_helpers.PropTypes.number.description("Pagination step for clicking the next pages"),
|
353
|
-
/** Activates 'drag and drop rows' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
354
|
-
dragAndDropRows: import_ds_props_helpers.PropTypes.bool.description(
|
355
|
-
"Activates 'drag and drop rows' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
356
|
-
),
|
357
|
-
/** Activates 'selection' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
358
|
-
selectable: import_ds_props_helpers.PropTypes.bool.description(
|
359
|
-
"Activates 'selection' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
360
|
-
),
|
361
|
-
/** Activates 'resize' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
362
|
-
resizeableColumns: import_ds_props_helpers.PropTypes.bool.description(
|
363
|
-
"Activates 'resize' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
364
|
-
),
|
365
|
-
/** Placeholder rendered when no rows are visible */
|
366
|
-
noResultsPlaceholder: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.element]).description(
|
367
|
-
"Placeholder rendered when no rows are visible"
|
368
|
-
),
|
369
|
-
/** Activates 'filtering' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
370
|
-
searchFilters: import_ds_props_helpers.PropTypes.bool.description(
|
371
|
-
"activates 'filtering' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
372
|
-
),
|
373
|
-
/** Activates 'drag and drop columns' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
374
|
-
dragAndDropColumns: import_ds_props_helpers.PropTypes.bool.description(
|
375
|
-
"Activates 'drag and drop columns' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
376
|
-
),
|
377
|
-
/** Activates 'grouping and tree data' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
378
|
-
useTreeData: import_ds_props_helpers.PropTypes.bool.description(
|
379
|
-
"activates 'grouping and tree data' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
380
|
-
),
|
381
|
-
/** AutoScroll to row ID */
|
382
|
-
autoScrollToId: import_ds_props_helpers.PropTypes.any.description("AutoScroll to row ID"),
|
383
|
-
/** Whether all rows are selected or not */
|
384
|
-
selectAll: import_ds_props_helpers.PropTypes.bool.description("Whether all rows are selected or not"),
|
385
|
-
/** Defines the selected rows */
|
386
|
-
selectedRows: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description(" Defines the selected rows"),
|
387
|
-
/** Filters to be applied to the grid */
|
388
|
-
filters: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description("Filters to be applied to the grid"),
|
389
|
-
// todo: define params for handlers
|
390
|
-
/** Handler when user expands a row */
|
391
|
-
onExpandRow: import_ds_props_helpers.PropTypes.func.description("Handler when user expands a row"),
|
392
|
-
/** Handler when user expands a row with full expand state */
|
393
|
-
onExpandChange: import_ds_props_helpers.PropTypes.func.description("Handler when user expands a row with full expand state"),
|
394
|
-
/** Handler when user expands a row (old API) */
|
395
|
-
onToggleExpand: import_ds_props_helpers.PropTypes.func.description("Handler when user expands a row (old API)"),
|
396
|
-
/** Handler when user adds a filter */
|
397
|
-
onAddFilter: import_ds_props_helpers.PropTypes.func.description("Handler when user adds a filter"),
|
398
|
-
/** Handler when user removes a filter */
|
399
|
-
onRemoveFilter: import_ds_props_helpers.PropTypes.func.description("Handler when user removes a filter"),
|
400
|
-
/** Handler when the filters state has changed */
|
401
|
-
onFiltersChange: import_ds_props_helpers.PropTypes.func.description("Handler when the filters state has changed "),
|
402
|
-
/** Handler when the default filters load. Returns the rows rendered */
|
403
|
-
onDefaultFiltersLoad: import_ds_props_helpers.PropTypes.func.description("Handler when the default filters load. Returns the rows rendered"),
|
404
|
-
/** Handler when column move is over another column */
|
405
|
-
onMoveColumnOver: import_ds_props_helpers.PropTypes.func.description("Handler when column move is over another column"),
|
406
|
-
/** Handler when column move starts */
|
407
|
-
onMoveColumnStart: import_ds_props_helpers.PropTypes.func.description(" Handler when column move starts"),
|
408
|
-
/** Handler when column move ends */
|
409
|
-
onMoveColumnEnd: import_ds_props_helpers.PropTypes.func.description("Handler when column move ends"),
|
410
|
-
/** Whether to show the filter bar or not */
|
411
|
-
showFilterBar: import_ds_props_helpers.PropTypes.bool.description("Whether to show the filter bar or not"),
|
412
|
-
/** Custom option for the header with multi select */
|
413
|
-
multiSelectFilterOptions: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description(
|
414
|
-
"Custom option for the header with multi select"
|
415
|
-
),
|
416
|
-
/** Label to the header column for multi select */
|
417
|
-
multiSelectFilterLabel: import_ds_props_helpers.PropTypes.string.description("Label to the header column for multi select"),
|
418
|
-
/** Labels for multi selects */
|
419
|
-
multiSelectFilterLabels: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.string).description("Labels for multi selects"),
|
420
|
-
/** unstable */
|
421
|
-
aggregations: import_ds_props_helpers.PropTypes.object.description("").deprecated(""),
|
422
|
-
/** unstable */
|
423
|
-
/** Column which rows would be grouped by */
|
424
|
-
groupingColumn: import_ds_props_helpers.PropTypes.string.description("Column which rows would be grouped by").deprecated(""),
|
425
|
-
/** group by */
|
426
|
-
groupedBy: import_ds_props_helpers.PropTypes.string.description("group by"),
|
427
|
-
/** Defines the sorting state */
|
428
|
-
sortingColumns: import_ds_props_helpers.PropTypes.objectOf(
|
429
|
-
import_ds_props_helpers.PropTypes.shape({
|
430
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
431
|
-
direction: import_ds_props_helpers.PropTypes.oneOf(["asc", "desc"]),
|
432
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
433
|
-
position: import_ds_props_helpers.PropTypes.number
|
434
|
-
})
|
435
|
-
).description("Defines the sorting state"),
|
436
|
-
/** Visible columns property */
|
437
|
-
visibleColumns: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.string).description("Visible columns property"),
|
438
|
-
/** Pagination: Minimum number of rows per page */
|
439
|
-
minPerPage: import_ds_props_helpers.PropTypes.string.description("Pagination: Minimum number of rows per page"),
|
440
|
-
/** Pagination: Maximum number of rows per page */
|
441
|
-
maxPerPage: import_ds_props_helpers.PropTypes.string.description("Pagination: Maximum number of rows per page"),
|
442
|
-
/** Pagination: Handler when user changes the amount of rows per page */
|
443
|
-
onPerPageChange: import_ds_props_helpers.PropTypes.string.description("Pagination: Handler when user changes the amount of rows per page"),
|
444
|
-
/** Pagination: Handler when user changes the page */
|
445
|
-
onPageChange: import_ds_props_helpers.PropTypes.string.description("Pagination: Handler when user changes the page"),
|
446
|
-
/** Pagination state */
|
447
|
-
pagination: import_ds_props_helpers.PropTypes.shape({
|
448
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
449
|
-
page: import_ds_props_helpers.PropTypes.number,
|
450
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
451
|
-
perPage: import_ds_props_helpers.PropTypes.number
|
452
|
-
}).description("pagination state"),
|
453
|
-
/** Whether to show the header or not */
|
454
|
-
showHeader: import_ds_props_helpers.PropTypes.bool.description("Whether to show the header or not"),
|
455
|
-
/** Whether to header is fixed or not */
|
456
|
-
fixedHeader: import_ds_props_helpers.PropTypes.bool.description("Whether to header is fixed or not"),
|
457
|
-
/** Defines the height of the DataGrid */
|
458
|
-
height: import_ds_props_helpers.PropTypes.number.description("Defines the height of the DataGrid"),
|
459
|
-
/** General min column width for all the columns */
|
460
|
-
minColumnWidth: import_ds_props_helpers.PropTypes.number.description("General min column width for all the columns "),
|
461
|
-
/** Whether to show a loader instead of the rows or not */
|
462
|
-
showRowsLoader: import_ds_props_helpers.PropTypes.bool.description("Whether to show a loader instead of the rows or not"),
|
463
|
-
/** When a user selects a row, that row get highlighted */
|
464
|
-
showSelectHighlight: import_ds_props_helpers.PropTypes.bool.description("When a user selects a row, that row get highlighted"),
|
465
|
-
/** Whether to show the select column when the selection feature is active */
|
466
|
-
showSelectColumn: import_ds_props_helpers.PropTypes.bool.description(
|
467
|
-
"Whether to show the select column when the selection feature is active"
|
468
|
-
),
|
469
|
-
/** Activates sortable feature to selection column */
|
470
|
-
selectColumnSortable: import_ds_props_helpers.PropTypes.bool.description("activates sortable feature to selection column"),
|
471
|
-
/** Activates filterable feature to selection column */
|
472
|
-
selectColumnFilterable: import_ds_props_helpers.PropTypes.bool.description("Activates filterable feature to selection column"),
|
473
|
-
/** Define the definition for the selection column */
|
474
|
-
selectionColumnDefinition: import_ds_props_helpers.PropTypes.object.description("Define the definition for the selection column"),
|
475
|
-
/** Function that returns a toolbar to show when the user hovers the row */
|
476
|
-
renderToolbar: import_ds_props_helpers.PropTypes.func.description("Function that returns a toolbar to show when the user hovers the row"),
|
477
|
-
/** Timeout to close the toolbar */
|
478
|
-
toolbarDelayClose: import_ds_props_helpers.PropTypes.number.description(" Timeout to close the toolbar"),
|
479
|
-
/** Function that returns a toolbar in the FilterBar component */
|
480
|
-
renderFilterToolbar: import_ds_props_helpers.PropTypes.func.description("Function that returns a toolbar in the FilterBar component"),
|
481
|
-
/** Custom component for the selection */
|
482
|
-
multiSelectComponent: import_ds_props_helpers.PropTypes.element.description("Custom component for the selection"),
|
483
|
-
/** Normalize the keys of the data received and the columns */
|
484
|
-
normalizeDataKeys: import_ds_props_helpers.PropTypes.bool.description("Normalize the keys of the data received and the columns"),
|
485
|
-
/** Function that returns an Element when there are no rows */
|
486
|
-
noResultsRender: import_ds_props_helpers.PropTypes.func.description("Function that returns an Element when there are no rows"),
|
487
|
-
/** The height of the DataGrid will expand to its container */
|
488
|
-
fluidHeight: import_ds_props_helpers.PropTypes.bool.description("The height of the DataGrid will expand to its container"),
|
489
|
-
/** @deprecated */
|
490
|
-
customHandlers: import_ds_props_helpers.PropTypes.object.description("").deprecated(""),
|
491
|
-
/** Handler when user closes the filter menu */
|
492
|
-
onFilterMenuClose: import_ds_props_helpers.PropTypes.func.description("Handler when user closes the filter menu"),
|
493
|
-
/** Handler when user opens the filter menu */
|
494
|
-
onFilterMenuOpen: import_ds_props_helpers.PropTypes.func.description("Handler when user opens the filter menu"),
|
495
|
-
/** Handler when user drags a row */
|
496
|
-
onReorder: import_ds_props_helpers.PropTypes.func.description("handler when user drags a row "),
|
497
|
-
/** Handler when user stops dragging a row */
|
498
|
-
onMoveRowEnd: import_ds_props_helpers.PropTypes.func.description("Handler when user stops dragging a row "),
|
499
|
-
/** Handler when user starts dragging a row */
|
500
|
-
onMoveRowStart: import_ds_props_helpers.PropTypes.func.description("Handler when user starts dragging a row"),
|
501
|
-
/** Handler when user has resized a column */
|
502
|
-
onColumnResize: import_ds_props_helpers.PropTypes.func.description("Handler when user has resized a column"),
|
503
|
-
/** Handler when user filters by a column */
|
504
|
-
onFilter: import_ds_props_helpers.PropTypes.func.description("Handler when user filters by a column"),
|
505
|
-
/** Handler when user sorts by a column */
|
506
|
-
onSort: import_ds_props_helpers.PropTypes.func.description("Handler when user sorts by a column "),
|
507
|
-
/** Handler when user has edited a cell row */
|
508
|
-
onColumnRowEdited: import_ds_props_helpers.PropTypes.func.description("Handler when user has edited a cell row"),
|
509
|
-
/** Handler when user activates the cell row editing functionality */
|
510
|
-
onColumnRowEdit: import_ds_props_helpers.PropTypes.func.description(" Handler when user activates the cell row editing functionality"),
|
511
|
-
/** Handler when user selects a row */
|
512
|
-
onSelectRow: import_ds_props_helpers.PropTypes.func.description("Handler when user selects a row"),
|
513
|
-
/** Handler when user checks the selection header controller */
|
514
|
-
onSelectAll: import_ds_props_helpers.PropTypes.func.description("Handler when user checks the selection header controller"),
|
515
|
-
/** Handler to get more data when infinite scroll is activated */
|
516
|
-
getData: import_ds_props_helpers.PropTypes.func.description("Handler to get more data when infinite scroll is activated"),
|
517
|
-
/** Handler to get more data when infinite scroll is activated without side-effect */
|
518
|
-
onInfiniteScrolling: import_ds_props_helpers.PropTypes.func.description(
|
519
|
-
"Handler to get more data when infinite scroll is activated without side-effect"
|
520
|
-
),
|
521
|
-
/** Flag to override empty sort when data is from server */
|
522
|
-
serverSideData: import_ds_props_helpers.PropTypes.bool.description("Flag to override empty sort when data is from server"),
|
523
|
-
/** Flag to force virtualization. Not used */
|
524
|
-
virtualized: import_ds_props_helpers.PropTypes.bool.description("Flag to force virtualization. Not used"),
|
525
|
-
/** Number of rows visible. Not used */
|
526
|
-
numRowsVisible: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.number, import_ds_props_helpers.PropTypes.oneOf(["all"])]).description(
|
527
|
-
"Number of rows visible. Not used"
|
528
|
-
),
|
529
|
-
/** Callback to check if column is editable */
|
530
|
-
isColumnEditable: import_ds_props_helpers.PropTypes.func.description("Callback to check if column is editable"),
|
531
|
-
/** Flag for groupedRows */
|
532
|
-
groupedRows: import_ds_props_helpers.PropTypes.bool.description("Flag for groupedRows"),
|
533
|
-
/** Header for grouped rows */
|
534
|
-
groupedRowsRenderHeader: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.element]).description(
|
535
|
-
"Header for grouped rows"
|
536
|
-
),
|
537
|
-
/** Once activated will disable the internal logic for sorting */
|
538
|
-
isDataSorted: import_ds_props_helpers.PropTypes.bool.description("Once activated will disable the internal logic for sorting"),
|
539
|
-
/** Once activated will disable the internal logic for filtering */
|
540
|
-
isDataFiltered: import_ds_props_helpers.PropTypes.bool.description("Once activated will disable the internal logic for filtering"),
|
541
|
-
/** Change row size */
|
542
|
-
rowSize: import_ds_props_helpers.PropTypes.oneOf(import_rowSizes.RowSizesOptionsArr).description("Change row size"),
|
543
|
-
/** Whether to wrap the text of the data grid or not */
|
544
|
-
wrapText: import_ds_props_helpers.PropTypes.bool.description("Whether to wrap the text of the data grid or not"),
|
545
|
-
/** Element to render expanded details */
|
546
|
-
renderExpandedDetails: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.element]).description(
|
547
|
-
"Element to render expanded details"
|
548
|
-
),
|
549
|
-
/** Columns to render on the details of an expanded row */
|
550
|
-
detailColumns: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description("Columns to render on the details of an expanded row"),
|
551
|
-
/** Flag to enable the expandable feature */
|
552
|
-
expandable: import_ds_props_helpers.PropTypes.bool.description("Flag to enable the expandable feature "),
|
553
|
-
/** Callback to get the row children */
|
554
|
-
getChildrenRows: import_ds_props_helpers.PropTypes.func.description("Callback to get the row children"),
|
555
|
-
/** Number of rows visible on the details of an expanded row */
|
556
|
-
expandableSubrowsVisible: import_ds_props_helpers.PropTypes.number.description("Number of rows visible on the details of an expanded row"),
|
557
|
-
/** Element to render inside expanded row */
|
558
|
-
renderRowDetails: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.element]).description(
|
559
|
-
"Element to render inside expanded row"
|
560
|
-
),
|
561
|
-
/** Callback to get the expanded row size */
|
562
|
-
getExpandedRowSize: import_ds_props_helpers.PropTypes.func.description("Callback to get the expanded row size"),
|
563
|
-
/** Callback to get the expanded row minimum size */
|
564
|
-
getExpandedRowMinSize: import_ds_props_helpers.PropTypes.func.description("Callback to get the expanded row minimum size"),
|
565
|
-
/** Change expanded/details rows size */
|
566
|
-
subRowSize: import_ds_props_helpers.PropTypes.oneOf(import_rowSizes.RowSizesOptionsArr).description("Change expanded/details rows size"),
|
567
|
-
/** Bind the column size to another grid instance */
|
568
|
-
bindColumnsSizeTo: import_ds_props_helpers.PropTypes.string.description("Bind the column size to another grid instance"),
|
569
|
-
/** Bind the row size to another grid instance */
|
570
|
-
bindRowSizeTo: import_ds_props_helpers.PropTypes.string.description("Bind the row size to another grid instance"),
|
571
|
-
/** Handler when toggle show all is clicked */
|
572
|
-
onToggleShowAllRows: import_ds_props_helpers.PropTypes.func.description("Handler when toggle show all is clicked"),
|
573
|
-
/** Expanded row state */
|
574
|
-
expandedRows: import_ds_props_helpers.PropTypes.object.description("Expanded row state"),
|
575
|
-
/** Flag to enable autoheight */
|
576
|
-
autoHeight: import_ds_props_helpers.PropTypes.bool.description("Flag to enable autoheight"),
|
577
|
-
/** Placeholder rendered when no columns are visible */
|
578
|
-
noColumnsPlaceholder: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.element]).description(
|
579
|
-
"Placeholder rendered when no columns are visible"
|
580
|
-
),
|
581
|
-
/** Plugin additional array */
|
582
|
-
plugins: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.any).description("Plugin additional array")
|
583
|
-
};
|
584
|
-
DSDataGrids.propTypes = props;
|
585
|
-
DSDataGrids.displayName = "DSDataGrids";
|
586
|
-
const DSDataGridsWithSchema = (0, import_ds_props_helpers.describe)(DSDataGrids);
|
587
|
-
DSDataGridsWithSchema.propTypes = props;
|
588
|
-
var DSDataGrid_default = DSDataGrids;
|
589
|
-
//# sourceMappingURL=DSDataGrid.js.map
|