@elliemae/ds-datagrids 3.16.0-next.1 → 3.16.0-next.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/DSDataGrid.js +249 -241
- package/dist/cjs/DSDataGrid.js.map +2 -2
- package/dist/cjs/DataGridImpl.js +11 -11
- package/dist/cjs/DataGridImpl.js.map +1 -1
- package/dist/cjs/PaginatedDataGrid.js +9 -9
- package/dist/cjs/PaginatedDataGrid.js.map +2 -2
- package/dist/cjs/components/BodyList.js +3 -5
- package/dist/cjs/components/BodyList.js.map +2 -2
- package/dist/cjs/components/ColumnVisibilityMenuOption.js +1 -6
- package/dist/cjs/components/ColumnVisibilityMenuOption.js.map +2 -2
- package/dist/cjs/components/ColumnsOptionsMenuSection.js +2 -11
- package/dist/cjs/components/ColumnsOptionsMenuSection.js.map +2 -2
- package/dist/cjs/components/EmptyState.js +5 -6
- package/dist/cjs/components/EmptyState.js.map +3 -3
- package/dist/cjs/components/List.js +2 -2
- package/dist/cjs/components/List.js.map +2 -2
- package/dist/cjs/components/ListItem.js +3 -6
- package/dist/cjs/components/ListItem.js.map +2 -2
- package/dist/cjs/components/NoResults.js +4 -10
- package/dist/cjs/components/NoResults.js.map +2 -2
- package/dist/cjs/components/RowsLoader.js +1 -1
- package/dist/cjs/components/RowsLoader.js.map +1 -1
- package/dist/cjs/components/Table.js +5 -5
- package/dist/cjs/components/Table.js.map +1 -1
- package/dist/cjs/components/TableBody.js +2 -7
- package/dist/cjs/components/TableBody.js.map +2 -2
- package/dist/cjs/components/TableHeader.js +1 -1
- package/dist/cjs/components/TableHeader.js.map +2 -2
- package/dist/cjs/components/footer/addOptionalFooterComponents.js +1 -1
- package/dist/cjs/components/footer/addOptionalFooterComponents.js.map +1 -1
- package/dist/cjs/components/index.js +5 -5
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/components/renderers/defaultClassedRenderers.js +16 -36
- package/dist/cjs/components/renderers/defaultClassedRenderers.js.map +2 -2
- package/dist/cjs/components/renderers/index.js +2 -2
- package/dist/cjs/components/renderers/index.js.map +1 -1
- package/dist/cjs/components/renderers/renderRowsLoader.js +2 -4
- package/dist/cjs/components/renderers/renderRowsLoader.js.map +2 -2
- package/dist/cjs/defaultPlugins.js +5 -10
- package/dist/cjs/defaultPlugins.js.map +2 -2
- package/dist/cjs/index.js +9 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/package.json +7 -0
- package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +22 -18
- package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +2 -2
- package/dist/cjs/plugins/body-header-scroll-sync/index.js +1 -1
- package/dist/cjs/plugins/body-header-scroll-sync/index.js.map +1 -1
- package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js +1 -1
- package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js.map +1 -1
- package/dist/cjs/plugins/column-dnd/index.js +1 -1
- package/dist/cjs/plugins/column-dnd/index.js.map +1 -1
- package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js +4 -4
- package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js.map +1 -1
- package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js +1 -1
- package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js.map +1 -1
- package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js +1 -1
- package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js.map +1 -1
- package/dist/cjs/plugins/column-sizing/index.js +1 -1
- package/dist/cjs/plugins/column-sizing/index.js.map +1 -1
- package/dist/cjs/plugins/column-sizing/useColumnSizeService.js +7 -26
- package/dist/cjs/plugins/column-sizing/useColumnSizeService.js.map +2 -2
- package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js +2 -2
- package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js.map +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js.map +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/index.js +1 -1
- package/dist/cjs/plugins/custom-cell-renderer/index.js.map +1 -1
- package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js.map +1 -1
- package/dist/cjs/plugins/editable/EditableComponents/TextBox.js.map +1 -1
- package/dist/cjs/plugins/editable/EditableComponents/index.js +2 -2
- package/dist/cjs/plugins/editable/EditableComponents/index.js.map +1 -1
- package/dist/cjs/plugins/editable/EditablePlugin.js +1 -1
- package/dist/cjs/plugins/editable/EditablePlugin.js.map +1 -1
- package/dist/cjs/plugins/editable/decorateEditable.js +1 -1
- package/dist/cjs/plugins/editable/decorateEditable.js.map +1 -1
- package/dist/cjs/plugins/editable/getEditorComponent.js +3 -16
- package/dist/cjs/plugins/editable/getEditorComponent.js.map +2 -2
- package/dist/cjs/plugins/editable/index.js +2 -2
- package/dist/cjs/plugins/editable/index.js.map +1 -1
- package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js +23 -25
- package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js.map +2 -2
- package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js +5 -5
- package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js.map +2 -2
- package/dist/cjs/plugins/expandable-grid/ExpandedRow.js +6 -6
- package/dist/cjs/plugins/expandable-grid/ExpandedRow.js.map +1 -1
- package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js +12 -8
- package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js.map +2 -2
- package/dist/cjs/plugins/expandable-grid/index.js +2 -2
- package/dist/cjs/plugins/expandable-grid/index.js.map +1 -1
- package/dist/cjs/plugins/expandable-grid/useExpandGridState.js.map +2 -2
- package/dist/cjs/plugins/export-data/index.js +1 -1
- package/dist/cjs/plugins/export-data/index.js.map +1 -1
- package/dist/cjs/plugins/filterable/FilterablePlugin.js +3 -3
- package/dist/cjs/plugins/filterable/FilterablePlugin.js.map +2 -2
- package/dist/cjs/plugins/filterable/addFilterToColumn.js +1 -1
- package/dist/cjs/plugins/filterable/addFilterToColumn.js.map +1 -1
- package/dist/cjs/plugins/filterable/components/FilterableHeader.js +1 -1
- package/dist/cjs/plugins/filterable/components/FilterableHeader.js.map +2 -2
- package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +45 -47
- package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +2 -2
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +46 -48
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +2 -2
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +43 -45
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +2 -2
- package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js +3 -3
- package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +2 -2
- package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +5 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +2 -2
- package/dist/cjs/plugins/filterable/filterableFormatter.js +29 -37
- package/dist/cjs/plugins/filterable/filterableFormatter.js.map +2 -2
- package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js +2 -4
- package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +2 -2
- package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js.map +2 -2
- package/dist/cjs/plugins/filterable/helper.js.map +2 -2
- package/dist/cjs/plugins/filterable/index.js +1 -1
- package/dist/cjs/plugins/filterable/index.js.map +1 -1
- package/dist/cjs/plugins/filterable/useFilterableState.js +3 -7
- package/dist/cjs/plugins/filterable/useFilterableState.js.map +2 -2
- package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js +4 -4
- package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js.map +2 -2
- package/dist/cjs/plugins/grouping-grid/walkStrategy.js.map +2 -2
- package/dist/cjs/plugins/index.js +16 -16
- package/dist/cjs/plugins/index.js.map +1 -1
- package/dist/cjs/plugins/infinite-scrolling/index.js +1 -1
- package/dist/cjs/plugins/infinite-scrolling/index.js.map +1 -1
- package/dist/cjs/plugins/pagination/PaginationPlugin.js +4 -4
- package/dist/cjs/plugins/pagination/PaginationPlugin.js.map +2 -2
- package/dist/cjs/plugins/pagination/components/Pagination.js +5 -24
- package/dist/cjs/plugins/pagination/components/Pagination.js.map +2 -2
- package/dist/cjs/plugins/pagination/components/PerPageDropdown.js +2 -2
- package/dist/cjs/plugins/pagination/components/PerPageDropdown.js.map +2 -2
- package/dist/cjs/plugins/pagination/helper.js.map +2 -2
- package/dist/cjs/plugins/pagination/index.js +1 -1
- package/dist/cjs/plugins/pagination/index.js.map +1 -1
- package/dist/cjs/plugins/pagination/usePaginationState.js +1 -1
- package/dist/cjs/plugins/pagination/usePaginationState.js.map +1 -1
- package/dist/cjs/plugins/resizable/ResizablePlugin.js +1 -1
- package/dist/cjs/plugins/resizable/ResizablePlugin.js.map +1 -1
- package/dist/cjs/plugins/resizable/decorateResizable.js +4 -2
- package/dist/cjs/plugins/resizable/decorateResizable.js.map +2 -2
- package/dist/cjs/plugins/resizable/index.js +1 -1
- package/dist/cjs/plugins/resizable/index.js.map +1 -1
- package/dist/cjs/plugins/resizable/useResizeHandle.js +2 -12
- package/dist/cjs/plugins/resizable/useResizeHandle.js.map +2 -2
- package/dist/cjs/plugins/row-dnd/index.js +1 -1
- package/dist/cjs/plugins/row-dnd/index.js.map +1 -1
- package/dist/cjs/plugins/selectable/SelectablePlugin.js +3 -3
- package/dist/cjs/plugins/selectable/SelectablePlugin.js.map +1 -1
- package/dist/cjs/plugins/selectable/addSelectableColumn.js +1 -1
- package/dist/cjs/plugins/selectable/addSelectableColumn.js.map +1 -1
- package/dist/cjs/plugins/selectable/index.js +1 -1
- package/dist/cjs/plugins/selectable/index.js.map +1 -1
- package/dist/cjs/plugins/selectable/selectableFormatter.js +1 -1
- package/dist/cjs/plugins/selectable/selectableFormatter.js.map +2 -2
- package/dist/cjs/plugins/selectable/useSelectableState.js +1 -1
- package/dist/cjs/plugins/selectable/useSelectableState.js.map +2 -2
- package/dist/cjs/plugins/sortable/SortablePlugin.js +3 -3
- package/dist/cjs/plugins/sortable/SortablePlugin.js.map +1 -1
- package/dist/cjs/plugins/sortable/index.js +1 -1
- package/dist/cjs/plugins/sortable/index.js.map +1 -1
- package/dist/cjs/plugins/sortable/sortTree.js.map +2 -2
- package/dist/cjs/plugins/sortable/useSortableState.js +2 -4
- package/dist/cjs/plugins/sortable/useSortableState.js.map +2 -2
- package/dist/cjs/plugins/toolbar/RowRenderer.js +2 -2
- package/dist/cjs/plugins/toolbar/RowRenderer.js.map +1 -1
- package/dist/cjs/plugins/toolbar/ToolbarPlugin.js +1 -1
- package/dist/cjs/plugins/toolbar/ToolbarPlugin.js.map +1 -1
- package/dist/cjs/plugins/toolbar/index.js +1 -1
- package/dist/cjs/plugins/toolbar/index.js.map +1 -1
- package/dist/cjs/plugins/virtualization/AutoHeightList.js.map +2 -2
- package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js +2 -2
- package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js.map +2 -2
- package/dist/cjs/plugins/virtualization/VirtualizedBody.js +4 -4
- package/dist/cjs/plugins/virtualization/VirtualizedBody.js.map +1 -1
- package/dist/cjs/plugins/virtualization/index.js +1 -1
- package/dist/cjs/plugins/virtualization/index.js.map +1 -1
- package/dist/cjs/renders/CellWithAddons.js +1 -1
- package/dist/cjs/renders/CellWithAddons.js.map +1 -1
- package/dist/cjs/renders/index.js +2 -2
- package/dist/cjs/renders/index.js.map +1 -1
- package/dist/cjs/rowSizes.js +1 -5
- package/dist/cjs/rowSizes.js.map +2 -2
- package/dist/cjs/utilities/getPluginsFromProps.js +13 -13
- package/dist/cjs/utilities/getPluginsFromProps.js.map +1 -1
- package/dist/cjs/utilities/normalizeData.js.map +2 -2
- package/dist/esm/DSDataGrid.js +125 -117
- package/dist/esm/DSDataGrid.js.map +2 -2
- package/dist/esm/DataGridImpl.js +11 -11
- package/dist/esm/DataGridImpl.js.map +1 -1
- package/dist/esm/PaginatedDataGrid.js +9 -9
- package/dist/esm/PaginatedDataGrid.js.map +2 -2
- package/dist/esm/components/BodyList.js +3 -5
- package/dist/esm/components/BodyList.js.map +2 -2
- package/dist/esm/components/ColumnVisibilityMenuOption.js +1 -6
- package/dist/esm/components/ColumnVisibilityMenuOption.js.map +2 -2
- package/dist/esm/components/ColumnsOptionsMenuSection.js +2 -11
- package/dist/esm/components/ColumnsOptionsMenuSection.js.map +2 -2
- package/dist/esm/components/EmptyState.js +1 -2
- package/dist/esm/components/EmptyState.js.map +2 -2
- package/dist/esm/components/List.js +2 -2
- package/dist/esm/components/List.js.map +2 -2
- package/dist/esm/components/ListItem.js +3 -6
- package/dist/esm/components/ListItem.js.map +2 -2
- package/dist/esm/components/NoResults.js +4 -10
- package/dist/esm/components/NoResults.js.map +2 -2
- package/dist/esm/components/RowsLoader.js +1 -1
- package/dist/esm/components/RowsLoader.js.map +1 -1
- package/dist/esm/components/Table.js +5 -5
- package/dist/esm/components/Table.js.map +1 -1
- package/dist/esm/components/TableBody.js +2 -7
- package/dist/esm/components/TableBody.js.map +2 -2
- package/dist/esm/components/TableHeader.js +1 -1
- package/dist/esm/components/TableHeader.js.map +2 -2
- package/dist/esm/components/footer/addOptionalFooterComponents.js +1 -1
- package/dist/esm/components/footer/addOptionalFooterComponents.js.map +1 -1
- package/dist/esm/components/index.js +5 -5
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/components/renderers/defaultClassedRenderers.js +16 -40
- package/dist/esm/components/renderers/defaultClassedRenderers.js.map +2 -2
- package/dist/esm/components/renderers/index.js +2 -2
- package/dist/esm/components/renderers/index.js.map +1 -1
- package/dist/esm/components/renderers/renderRowsLoader.js +2 -4
- package/dist/esm/components/renderers/renderRowsLoader.js.map +2 -2
- package/dist/esm/defaultPlugins.js +5 -10
- package/dist/esm/defaultPlugins.js.map +2 -2
- package/dist/esm/index.js +9 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/package.json +7 -0
- package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +22 -18
- package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +2 -2
- package/dist/esm/plugins/body-header-scroll-sync/index.js +1 -1
- package/dist/esm/plugins/body-header-scroll-sync/index.js.map +1 -1
- package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js +1 -1
- package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js.map +1 -1
- package/dist/esm/plugins/column-dnd/index.js +1 -1
- package/dist/esm/plugins/column-dnd/index.js.map +1 -1
- package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js +4 -4
- package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js.map +1 -1
- package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js +1 -1
- package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js.map +1 -1
- package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js +1 -1
- package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js.map +1 -1
- package/dist/esm/plugins/column-sizing/index.js +1 -1
- package/dist/esm/plugins/column-sizing/index.js.map +1 -1
- package/dist/esm/plugins/column-sizing/useColumnSizeService.js +7 -26
- package/dist/esm/plugins/column-sizing/useColumnSizeService.js.map +2 -2
- package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js +2 -2
- package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js.map +1 -1
- package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js +1 -1
- package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +1 -1
- package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js +1 -1
- package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +1 -1
- package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js +1 -1
- package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js.map +1 -1
- package/dist/esm/plugins/custom-cell-renderer/index.js +1 -1
- package/dist/esm/plugins/custom-cell-renderer/index.js.map +1 -1
- package/dist/esm/plugins/editable/EditableComponents/ComboBox.js.map +1 -1
- package/dist/esm/plugins/editable/EditableComponents/TextBox.js.map +1 -1
- package/dist/esm/plugins/editable/EditableComponents/index.js +2 -2
- package/dist/esm/plugins/editable/EditableComponents/index.js.map +1 -1
- package/dist/esm/plugins/editable/EditablePlugin.js +1 -1
- package/dist/esm/plugins/editable/EditablePlugin.js.map +1 -1
- package/dist/esm/plugins/editable/decorateEditable.js +1 -1
- package/dist/esm/plugins/editable/decorateEditable.js.map +1 -1
- package/dist/esm/plugins/editable/getEditorComponent.js +3 -16
- package/dist/esm/plugins/editable/getEditorComponent.js.map +2 -2
- package/dist/esm/plugins/editable/index.js +2 -2
- package/dist/esm/plugins/editable/index.js.map +1 -1
- package/dist/esm/plugins/expandable-grid/ExpandableColumn.js +23 -25
- package/dist/esm/plugins/expandable-grid/ExpandableColumn.js.map +2 -2
- package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js +5 -5
- package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js.map +2 -2
- package/dist/esm/plugins/expandable-grid/ExpandedRow.js +6 -6
- package/dist/esm/plugins/expandable-grid/ExpandedRow.js.map +1 -1
- package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js +12 -8
- package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js.map +2 -2
- package/dist/esm/plugins/expandable-grid/index.js +2 -2
- package/dist/esm/plugins/expandable-grid/index.js.map +1 -1
- package/dist/esm/plugins/expandable-grid/useExpandGridState.js.map +2 -2
- package/dist/esm/plugins/export-data/index.js +1 -1
- package/dist/esm/plugins/export-data/index.js.map +1 -1
- package/dist/esm/plugins/filterable/FilterablePlugin.js +3 -3
- package/dist/esm/plugins/filterable/FilterablePlugin.js.map +2 -2
- package/dist/esm/plugins/filterable/addFilterToColumn.js +1 -1
- package/dist/esm/plugins/filterable/addFilterToColumn.js.map +1 -1
- package/dist/esm/plugins/filterable/components/FilterableHeader.js +1 -1
- package/dist/esm/plugins/filterable/components/FilterableHeader.js.map +2 -2
- package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +45 -47
- package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +2 -2
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +46 -48
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +2 -2
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +43 -45
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +2 -2
- package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js +3 -3
- package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +2 -2
- package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +5 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +2 -2
- package/dist/esm/plugins/filterable/filterableFormatter.js +29 -37
- package/dist/esm/plugins/filterable/filterableFormatter.js.map +2 -2
- package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js +2 -4
- package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +2 -2
- package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js.map +2 -2
- package/dist/esm/plugins/filterable/helper.js +1 -7
- package/dist/esm/plugins/filterable/helper.js.map +2 -2
- package/dist/esm/plugins/filterable/index.js +1 -1
- package/dist/esm/plugins/filterable/index.js.map +1 -1
- package/dist/esm/plugins/filterable/useFilterableState.js +3 -11
- package/dist/esm/plugins/filterable/useFilterableState.js.map +2 -2
- package/dist/esm/plugins/grouping-grid/GroupingPlugin.js +4 -4
- package/dist/esm/plugins/grouping-grid/GroupingPlugin.js.map +2 -2
- package/dist/esm/plugins/grouping-grid/walkStrategy.js.map +2 -2
- package/dist/esm/plugins/index.js +16 -16
- package/dist/esm/plugins/index.js.map +1 -1
- package/dist/esm/plugins/infinite-scrolling/index.js +1 -1
- package/dist/esm/plugins/infinite-scrolling/index.js.map +1 -1
- package/dist/esm/plugins/pagination/PaginationPlugin.js +4 -4
- package/dist/esm/plugins/pagination/PaginationPlugin.js.map +2 -2
- package/dist/esm/plugins/pagination/components/Pagination.js +5 -24
- package/dist/esm/plugins/pagination/components/Pagination.js.map +2 -2
- package/dist/esm/plugins/pagination/components/PerPageDropdown.js +2 -2
- package/dist/esm/plugins/pagination/components/PerPageDropdown.js.map +2 -2
- package/dist/esm/plugins/pagination/helper.js.map +2 -2
- package/dist/esm/plugins/pagination/index.js +1 -1
- package/dist/esm/plugins/pagination/index.js.map +1 -1
- package/dist/esm/plugins/pagination/usePaginationState.js +1 -1
- package/dist/esm/plugins/pagination/usePaginationState.js.map +1 -1
- package/dist/esm/plugins/resizable/ResizablePlugin.js +1 -1
- package/dist/esm/plugins/resizable/ResizablePlugin.js.map +1 -1
- package/dist/esm/plugins/resizable/decorateResizable.js +4 -2
- package/dist/esm/plugins/resizable/decorateResizable.js.map +2 -2
- package/dist/esm/plugins/resizable/index.js +1 -1
- package/dist/esm/plugins/resizable/index.js.map +1 -1
- package/dist/esm/plugins/resizable/useResizeHandle.js +2 -12
- package/dist/esm/plugins/resizable/useResizeHandle.js.map +2 -2
- package/dist/esm/plugins/row-dnd/index.js +1 -1
- package/dist/esm/plugins/row-dnd/index.js.map +1 -1
- package/dist/esm/plugins/selectable/SelectablePlugin.js +3 -3
- package/dist/esm/plugins/selectable/SelectablePlugin.js.map +1 -1
- package/dist/esm/plugins/selectable/addSelectableColumn.js +1 -1
- package/dist/esm/plugins/selectable/addSelectableColumn.js.map +1 -1
- package/dist/esm/plugins/selectable/index.js +1 -1
- package/dist/esm/plugins/selectable/index.js.map +1 -1
- package/dist/esm/plugins/selectable/selectableFormatter.js +1 -1
- package/dist/esm/plugins/selectable/selectableFormatter.js.map +2 -2
- package/dist/esm/plugins/selectable/useSelectableState.js +1 -5
- package/dist/esm/plugins/selectable/useSelectableState.js.map +2 -2
- package/dist/esm/plugins/sortable/SortablePlugin.js +3 -3
- package/dist/esm/plugins/sortable/SortablePlugin.js.map +1 -1
- package/dist/esm/plugins/sortable/index.js +1 -1
- package/dist/esm/plugins/sortable/index.js.map +1 -1
- package/dist/esm/plugins/sortable/sortTree.js.map +2 -2
- package/dist/esm/plugins/sortable/useSortableState.js +2 -4
- package/dist/esm/plugins/sortable/useSortableState.js.map +2 -2
- package/dist/esm/plugins/toolbar/RowRenderer.js +2 -2
- package/dist/esm/plugins/toolbar/RowRenderer.js.map +1 -1
- package/dist/esm/plugins/toolbar/ToolbarPlugin.js +1 -1
- package/dist/esm/plugins/toolbar/ToolbarPlugin.js.map +1 -1
- package/dist/esm/plugins/toolbar/index.js +1 -1
- package/dist/esm/plugins/toolbar/index.js.map +1 -1
- package/dist/esm/plugins/virtualization/AutoHeightList.js.map +2 -2
- package/dist/esm/plugins/virtualization/VirtualizationPlugin.js +2 -2
- package/dist/esm/plugins/virtualization/VirtualizationPlugin.js.map +2 -2
- package/dist/esm/plugins/virtualization/VirtualizedBody.js +4 -4
- package/dist/esm/plugins/virtualization/VirtualizedBody.js.map +1 -1
- package/dist/esm/plugins/virtualization/index.js +1 -1
- package/dist/esm/plugins/virtualization/index.js.map +1 -1
- package/dist/esm/renders/CellWithAddons.js +1 -1
- package/dist/esm/renders/CellWithAddons.js.map +1 -1
- package/dist/esm/renders/index.js +2 -2
- package/dist/esm/renders/index.js.map +1 -1
- package/dist/esm/rowSizes.js +1 -5
- package/dist/esm/rowSizes.js.map +2 -2
- package/dist/esm/utilities/getPluginsFromProps.js +13 -13
- package/dist/esm/utilities/getPluginsFromProps.js.map +1 -1
- package/dist/esm/utilities/normalizeData.js.map +2 -2
- package/package.json +22 -21
package/dist/cjs/DSDataGrid.js
CHANGED
@@ -33,9 +33,10 @@ module.exports = __toCommonJS(DSDataGrid_exports);
|
|
33
33
|
var React = __toESM(require("react"));
|
34
34
|
var import_jsx_runtime = require("react/jsx-runtime");
|
35
35
|
var import_ds_utilities = require("@elliemae/ds-utilities");
|
36
|
+
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
36
37
|
var import_ds_truncated_tooltip_text = require("@elliemae/ds-truncated-tooltip-text");
|
37
|
-
var import_DataGridImpl = require("./DataGridImpl");
|
38
|
-
var import_rowSizes = require("./rowSizes");
|
38
|
+
var import_DataGridImpl = require("./DataGridImpl.js");
|
39
|
+
var import_rowSizes = require("./rowSizes.js");
|
39
40
|
const DSDataGrids = ({
|
40
41
|
containerProps = {},
|
41
42
|
instanceRef,
|
@@ -150,289 +151,296 @@ const DSDataGrids = ({
|
|
150
151
|
noColumnsPlaceholder,
|
151
152
|
plugins = [],
|
152
153
|
normalizeDataKeys = false
|
153
|
-
}) =>
|
154
|
-
|
155
|
-
{
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
154
|
+
}) => {
|
155
|
+
(0, import_ds_utilities.useDeprecateComponent)({ componentName: "ds-datagrids", version: "3.x Date: 2023 Q1" });
|
156
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_truncated_tooltip_text.TooltipTextProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
157
|
+
import_DataGridImpl.DataGridImpl,
|
158
|
+
{
|
159
|
+
aggregations,
|
160
|
+
autoHeight: autoHeight && !fluidHeight,
|
161
|
+
autoScrollToId,
|
162
|
+
bindColumnsSizeTo,
|
163
|
+
bindRowSizeTo,
|
164
|
+
className,
|
165
|
+
columns,
|
166
|
+
containerProps,
|
167
|
+
customHandlers,
|
168
|
+
detailColumns,
|
169
|
+
dragAndDropColumns,
|
170
|
+
dragAndDropRows,
|
171
|
+
editable,
|
172
|
+
expandable,
|
173
|
+
expandableSubrowsVisible,
|
174
|
+
expandedRows,
|
175
|
+
filterBarOptions,
|
176
|
+
filters,
|
177
|
+
fixedHeader,
|
178
|
+
fluidHeight,
|
179
|
+
getChildrenRows,
|
180
|
+
getData,
|
181
|
+
getExpandedRowMinSize,
|
182
|
+
getExpandedRowSize,
|
183
|
+
groupedBy,
|
184
|
+
groupedRows,
|
185
|
+
groupedRowsRenderHeader,
|
186
|
+
groupingColumn,
|
187
|
+
height,
|
188
|
+
infiniteScrolling,
|
189
|
+
instanceRef,
|
190
|
+
isColumnEditable,
|
191
|
+
isDataFiltered,
|
192
|
+
isDataSorted,
|
193
|
+
maxPerPage,
|
194
|
+
minColumnWidth,
|
195
|
+
minPerPage,
|
196
|
+
multiSelectComponent,
|
197
|
+
multiSelectFilterLabel,
|
198
|
+
multiSelectFilterLabels,
|
199
|
+
multiSelectFilterOptions,
|
200
|
+
noColumnsPlaceholder,
|
201
|
+
noResultsPlaceholder,
|
202
|
+
noResultsRender,
|
203
|
+
normalizeDataKeys,
|
204
|
+
numRowsVisible,
|
205
|
+
onAddFilter,
|
206
|
+
onColumnResize,
|
207
|
+
onColumnRowEdit,
|
208
|
+
onColumnRowEdited,
|
209
|
+
onExpandRow,
|
210
|
+
onExpandChange,
|
211
|
+
onFilter,
|
212
|
+
onFiltersChange,
|
213
|
+
onFilterMenuClose,
|
214
|
+
onFilterMenuOpen,
|
215
|
+
onDefaultFiltersLoad,
|
216
|
+
onInfiniteScrolling,
|
217
|
+
onMoveColumnEnd,
|
218
|
+
onMoveColumnOver,
|
219
|
+
onMoveColumnStart,
|
220
|
+
onMoveRowEnd,
|
221
|
+
onMoveRowStart,
|
222
|
+
onPageChange,
|
223
|
+
onPerPageChange,
|
224
|
+
onRemoveFilter,
|
225
|
+
onReorder,
|
226
|
+
onSelectAll,
|
227
|
+
onSelectRow,
|
228
|
+
onSort,
|
229
|
+
onToggleExpand,
|
230
|
+
onToggleShowAllRows,
|
231
|
+
overscanCount,
|
232
|
+
paginated,
|
233
|
+
pagination,
|
234
|
+
paginationStep,
|
235
|
+
plugins,
|
236
|
+
renderExpandedDetails,
|
237
|
+
renderFilterToolbar,
|
238
|
+
renderRowDetails,
|
239
|
+
renderToolbar,
|
240
|
+
resizeableColumns,
|
241
|
+
rowKey,
|
242
|
+
rows,
|
243
|
+
rowSize,
|
244
|
+
searchFilters,
|
245
|
+
selectable,
|
246
|
+
selectAll,
|
247
|
+
selectColumnFilterable,
|
248
|
+
selectColumnSortable,
|
249
|
+
selectedRows,
|
250
|
+
selectionColumnDefinition,
|
251
|
+
serverSideData,
|
252
|
+
showFilterBar,
|
253
|
+
showHeader,
|
254
|
+
showRowsLoader,
|
255
|
+
showSelectColumn,
|
256
|
+
showSelectHighlight,
|
257
|
+
sortable,
|
258
|
+
sortEmptyLast,
|
259
|
+
sortingColumns,
|
260
|
+
subrowSize: subRowSize,
|
261
|
+
toolbarDelayClose,
|
262
|
+
useTreeData,
|
263
|
+
virtualized,
|
264
|
+
visibleColumns,
|
265
|
+
wrapText
|
266
|
+
}
|
267
|
+
) });
|
268
|
+
};
|
265
269
|
const props = {
|
266
|
-
instanceRef:
|
270
|
+
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(
|
267
271
|
"ref to the instance of the datagrid, handle it imperatively"
|
268
272
|
),
|
269
|
-
className:
|
270
|
-
containerProps:
|
271
|
-
filterBarOptions:
|
272
|
-
minWidth:
|
273
|
-
maxWidth:
|
273
|
+
className: import_ds_props_helpers.PropTypes.string.description("class for data grid wrapper"),
|
274
|
+
containerProps: import_ds_props_helpers.PropTypes.object.description("inject props to datagrid wrapper"),
|
275
|
+
filterBarOptions: import_ds_props_helpers.PropTypes.shape({
|
276
|
+
minWidth: import_ds_props_helpers.PropTypes.number,
|
277
|
+
maxWidth: import_ds_props_helpers.PropTypes.number
|
274
278
|
}).description("FilterBar props passed down to FilterBar"),
|
275
|
-
columns:
|
276
|
-
|
277
|
-
property:
|
278
|
-
label:
|
279
|
-
width:
|
280
|
-
minWidth:
|
281
|
-
customEditor:
|
282
|
-
customRenderer:
|
283
|
-
searchable:
|
284
|
-
sortable:
|
285
|
-
resizable:
|
286
|
-
editable:
|
287
|
-
visible:
|
279
|
+
columns: import_ds_props_helpers.PropTypes.arrayOf(
|
280
|
+
import_ds_props_helpers.PropTypes.shape({
|
281
|
+
property: import_ds_props_helpers.PropTypes.string.isRequired,
|
282
|
+
label: import_ds_props_helpers.PropTypes.string,
|
283
|
+
width: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.number, import_ds_props_helpers.PropTypes.string]),
|
284
|
+
minWidth: import_ds_props_helpers.PropTypes.number,
|
285
|
+
customEditor: import_ds_props_helpers.PropTypes.func,
|
286
|
+
customRenderer: import_ds_props_helpers.PropTypes.func,
|
287
|
+
searchable: import_ds_props_helpers.PropTypes.bool,
|
288
|
+
sortable: import_ds_props_helpers.PropTypes.bool,
|
289
|
+
resizable: import_ds_props_helpers.PropTypes.bool,
|
290
|
+
editable: import_ds_props_helpers.PropTypes.bool,
|
291
|
+
visible: import_ds_props_helpers.PropTypes.bool
|
288
292
|
})
|
289
293
|
).description("datagrid columns"),
|
290
|
-
rows:
|
291
|
-
rowKey:
|
292
|
-
infiniteScrolling:
|
293
|
-
overscanCount:
|
294
|
+
rows: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description("datagrid rows"),
|
295
|
+
rowKey: import_ds_props_helpers.PropTypes.string.description("key for each row"),
|
296
|
+
infiniteScrolling: import_ds_props_helpers.PropTypes.bool.description("toggle infinite scroll loading behavior"),
|
297
|
+
overscanCount: import_ds_props_helpers.PropTypes.number.description(
|
294
298
|
"Activates 'editable' feature on the DataGrid NOTE: needs to be activated in the column definition as well"
|
295
299
|
),
|
296
|
-
editable:
|
297
|
-
sortable:
|
300
|
+
editable: import_ds_props_helpers.PropTypes.bool.description("turn datagrid to editable mode"),
|
301
|
+
sortable: import_ds_props_helpers.PropTypes.bool.description(
|
298
302
|
"Activates 'sortable' feature on the GataGrid NOTE: needs to be activated in the column definition as well"
|
299
303
|
),
|
300
|
-
sortEmptyLast:
|
301
|
-
paginated:
|
304
|
+
sortEmptyLast: import_ds_props_helpers.PropTypes.bool.description("Put empty values always last on the column after sorting"),
|
305
|
+
paginated: import_ds_props_helpers.PropTypes.bool.description(
|
302
306
|
"Activates 'pagination' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
303
307
|
),
|
304
|
-
paginationStep:
|
305
|
-
dragAndDropRows:
|
308
|
+
paginationStep: import_ds_props_helpers.PropTypes.number.description("Pagination step for clicking the next pages"),
|
309
|
+
dragAndDropRows: import_ds_props_helpers.PropTypes.bool.description(
|
306
310
|
"Activates 'drag and drop rows' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
307
311
|
),
|
308
|
-
selectable:
|
312
|
+
selectable: import_ds_props_helpers.PropTypes.bool.description(
|
309
313
|
"Activates 'selection' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
310
314
|
),
|
311
|
-
resizeableColumns:
|
315
|
+
resizeableColumns: import_ds_props_helpers.PropTypes.bool.description(
|
312
316
|
"Activates 'resize' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
313
317
|
),
|
314
|
-
noResultsPlaceholder:
|
318
|
+
noResultsPlaceholder: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.element]).description(
|
315
319
|
"Placeholder rendered when no rows are visible"
|
316
320
|
),
|
317
|
-
searchFilters:
|
321
|
+
searchFilters: import_ds_props_helpers.PropTypes.bool.description(
|
318
322
|
"activates 'filtering' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
319
323
|
),
|
320
|
-
dragAndDropColumns:
|
324
|
+
dragAndDropColumns: import_ds_props_helpers.PropTypes.bool.description(
|
321
325
|
"Activates 'drag and drop columns' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
322
326
|
),
|
323
|
-
useTreeData:
|
327
|
+
useTreeData: import_ds_props_helpers.PropTypes.bool.description(
|
324
328
|
"activates 'grouping and tree data' feature on the datagrid NOTE: needs to be activated in the column definition as well"
|
325
329
|
),
|
326
|
-
autoScrollToId:
|
327
|
-
selectAll:
|
328
|
-
selectedRows:
|
329
|
-
filters:
|
330
|
-
onExpandRow:
|
331
|
-
onExpandChange:
|
332
|
-
onToggleExpand:
|
333
|
-
onAddFilter:
|
334
|
-
onRemoveFilter:
|
335
|
-
onFiltersChange:
|
336
|
-
onDefaultFiltersLoad:
|
337
|
-
onMoveColumnOver:
|
338
|
-
onMoveColumnStart:
|
339
|
-
onMoveColumnEnd:
|
340
|
-
showFilterBar:
|
341
|
-
multiSelectFilterOptions:
|
330
|
+
autoScrollToId: import_ds_props_helpers.PropTypes.any.description("AutoScroll to row ID"),
|
331
|
+
selectAll: import_ds_props_helpers.PropTypes.bool.description("Whether all rows are selected or not"),
|
332
|
+
selectedRows: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description(" Defines the selected rows"),
|
333
|
+
filters: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description("Filters to be applied to the grid"),
|
334
|
+
onExpandRow: import_ds_props_helpers.PropTypes.func.description("Handler when user expands a row"),
|
335
|
+
onExpandChange: import_ds_props_helpers.PropTypes.func.description("Handler when user expands a row with full expand state"),
|
336
|
+
onToggleExpand: import_ds_props_helpers.PropTypes.func.description("Handler when user expands a row (old API)"),
|
337
|
+
onAddFilter: import_ds_props_helpers.PropTypes.func.description("Handler when user adds a filter"),
|
338
|
+
onRemoveFilter: import_ds_props_helpers.PropTypes.func.description("Handler when user removes a filter"),
|
339
|
+
onFiltersChange: import_ds_props_helpers.PropTypes.func.description("Handler when the filters state has changed "),
|
340
|
+
onDefaultFiltersLoad: import_ds_props_helpers.PropTypes.func.description("Handler when the default filters load. Returns the rows rendered"),
|
341
|
+
onMoveColumnOver: import_ds_props_helpers.PropTypes.func.description("Handler when column move is over another column"),
|
342
|
+
onMoveColumnStart: import_ds_props_helpers.PropTypes.func.description(" Handler when column move starts"),
|
343
|
+
onMoveColumnEnd: import_ds_props_helpers.PropTypes.func.description("Handler when column move ends"),
|
344
|
+
showFilterBar: import_ds_props_helpers.PropTypes.bool.description("Whether to show the filter bar or not"),
|
345
|
+
multiSelectFilterOptions: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description(
|
342
346
|
"Custom option for the header with multi select"
|
343
347
|
),
|
344
|
-
multiSelectFilterLabel:
|
345
|
-
multiSelectFilterLabels:
|
346
|
-
aggregations:
|
347
|
-
groupingColumn:
|
348
|
-
groupedBy:
|
349
|
-
sortingColumns:
|
350
|
-
|
351
|
-
direction:
|
352
|
-
position:
|
348
|
+
multiSelectFilterLabel: import_ds_props_helpers.PropTypes.string.description("Label to the header column for multi select"),
|
349
|
+
multiSelectFilterLabels: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.string).description("Labels for multi selects"),
|
350
|
+
aggregations: import_ds_props_helpers.PropTypes.object.description("").deprecated(""),
|
351
|
+
groupingColumn: import_ds_props_helpers.PropTypes.string.description("Column which rows would be grouped by").deprecated(""),
|
352
|
+
groupedBy: import_ds_props_helpers.PropTypes.string.description("group by"),
|
353
|
+
sortingColumns: import_ds_props_helpers.PropTypes.objectOf(
|
354
|
+
import_ds_props_helpers.PropTypes.shape({
|
355
|
+
direction: import_ds_props_helpers.PropTypes.oneOf(["asc", "desc"]),
|
356
|
+
position: import_ds_props_helpers.PropTypes.number
|
353
357
|
})
|
354
358
|
).description("Defines the sorting state"),
|
355
|
-
visibleColumns:
|
356
|
-
minPerPage:
|
357
|
-
maxPerPage:
|
358
|
-
onPerPageChange:
|
359
|
-
onPageChange:
|
360
|
-
pagination:
|
361
|
-
page:
|
362
|
-
perPage:
|
359
|
+
visibleColumns: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.string).description("Visible columns property"),
|
360
|
+
minPerPage: import_ds_props_helpers.PropTypes.string.description("Pagination: Minimum number of rows per page"),
|
361
|
+
maxPerPage: import_ds_props_helpers.PropTypes.string.description("Pagination: Maximum number of rows per page"),
|
362
|
+
onPerPageChange: import_ds_props_helpers.PropTypes.string.description("Pagination: Handler when user changes the amount of rows per page"),
|
363
|
+
onPageChange: import_ds_props_helpers.PropTypes.string.description("Pagination: Handler when user changes the page"),
|
364
|
+
pagination: import_ds_props_helpers.PropTypes.shape({
|
365
|
+
page: import_ds_props_helpers.PropTypes.number,
|
366
|
+
perPage: import_ds_props_helpers.PropTypes.number
|
363
367
|
}).description("pagination state"),
|
364
|
-
showHeader:
|
365
|
-
fixedHeader:
|
366
|
-
height:
|
367
|
-
minColumnWidth:
|
368
|
-
showRowsLoader:
|
369
|
-
showSelectHighlight:
|
370
|
-
showSelectColumn:
|
368
|
+
showHeader: import_ds_props_helpers.PropTypes.bool.description("Whether to show the header or not"),
|
369
|
+
fixedHeader: import_ds_props_helpers.PropTypes.bool.description("Whether to header is fixed or not"),
|
370
|
+
height: import_ds_props_helpers.PropTypes.number.description("Defines the height of the DataGrid"),
|
371
|
+
minColumnWidth: import_ds_props_helpers.PropTypes.number.description("General min column width for all the columns "),
|
372
|
+
showRowsLoader: import_ds_props_helpers.PropTypes.bool.description("Whether to show a loader instead of the rows or not"),
|
373
|
+
showSelectHighlight: import_ds_props_helpers.PropTypes.bool.description("When a user selects a row, that row get highlighted"),
|
374
|
+
showSelectColumn: import_ds_props_helpers.PropTypes.bool.description(
|
371
375
|
"Whether to show the select column when the selection feature is active"
|
372
376
|
),
|
373
|
-
selectColumnSortable:
|
374
|
-
selectColumnFilterable:
|
375
|
-
selectionColumnDefinition:
|
376
|
-
renderToolbar:
|
377
|
-
toolbarDelayClose:
|
378
|
-
renderFilterToolbar:
|
379
|
-
multiSelectComponent:
|
380
|
-
normalizeDataKeys:
|
381
|
-
noResultsRender:
|
382
|
-
fluidHeight:
|
383
|
-
customHandlers:
|
384
|
-
onFilterMenuClose:
|
385
|
-
onFilterMenuOpen:
|
386
|
-
onReorder:
|
387
|
-
onMoveRowEnd:
|
388
|
-
onMoveRowStart:
|
389
|
-
onColumnResize:
|
390
|
-
onFilter:
|
391
|
-
onSort:
|
392
|
-
onColumnRowEdited:
|
393
|
-
onColumnRowEdit:
|
394
|
-
onSelectRow:
|
395
|
-
onSelectAll:
|
396
|
-
getData:
|
397
|
-
onInfiniteScrolling:
|
377
|
+
selectColumnSortable: import_ds_props_helpers.PropTypes.bool.description("activates sortable feature to selection column"),
|
378
|
+
selectColumnFilterable: import_ds_props_helpers.PropTypes.bool.description("Activates filterable feature to selection column"),
|
379
|
+
selectionColumnDefinition: import_ds_props_helpers.PropTypes.object.description("Define the definition for the selection column"),
|
380
|
+
renderToolbar: import_ds_props_helpers.PropTypes.func.description("Function that returns a toolbar to show when the user hovers the row"),
|
381
|
+
toolbarDelayClose: import_ds_props_helpers.PropTypes.number.description(" Timeout to close the toolbar"),
|
382
|
+
renderFilterToolbar: import_ds_props_helpers.PropTypes.func.description("Function that returns a toolbar in the FilterBar component"),
|
383
|
+
multiSelectComponent: import_ds_props_helpers.PropTypes.element.description("Custom component for the selection"),
|
384
|
+
normalizeDataKeys: import_ds_props_helpers.PropTypes.bool.description("Normalize the keys of the data received and the columns"),
|
385
|
+
noResultsRender: import_ds_props_helpers.PropTypes.func.description("Function that returns an Element when there are no rows"),
|
386
|
+
fluidHeight: import_ds_props_helpers.PropTypes.bool.description("The height of the DataGrid will expand to its container"),
|
387
|
+
customHandlers: import_ds_props_helpers.PropTypes.object.description("").deprecated(""),
|
388
|
+
onFilterMenuClose: import_ds_props_helpers.PropTypes.func.description("Handler when user closes the filter menu"),
|
389
|
+
onFilterMenuOpen: import_ds_props_helpers.PropTypes.func.description("Handler when user opens the filter menu"),
|
390
|
+
onReorder: import_ds_props_helpers.PropTypes.func.description("handler when user drags a row "),
|
391
|
+
onMoveRowEnd: import_ds_props_helpers.PropTypes.func.description("Handler when user stops dragging a row "),
|
392
|
+
onMoveRowStart: import_ds_props_helpers.PropTypes.func.description("Handler when user starts dragging a row"),
|
393
|
+
onColumnResize: import_ds_props_helpers.PropTypes.func.description("Handler when user has resized a column"),
|
394
|
+
onFilter: import_ds_props_helpers.PropTypes.func.description("Handler when user filters by a column"),
|
395
|
+
onSort: import_ds_props_helpers.PropTypes.func.description("Handler when user sorts by a column "),
|
396
|
+
onColumnRowEdited: import_ds_props_helpers.PropTypes.func.description("Handler when user has edited a cell row"),
|
397
|
+
onColumnRowEdit: import_ds_props_helpers.PropTypes.func.description(" Handler when user activates the cell row editing functionality"),
|
398
|
+
onSelectRow: import_ds_props_helpers.PropTypes.func.description("Handler when user selects a row"),
|
399
|
+
onSelectAll: import_ds_props_helpers.PropTypes.func.description("Handler when user checks the selection header controller"),
|
400
|
+
getData: import_ds_props_helpers.PropTypes.func.description("Handler to get more data when infinite scroll is activated"),
|
401
|
+
onInfiniteScrolling: import_ds_props_helpers.PropTypes.func.description(
|
398
402
|
"Handler to get more data when infinite scroll is activated without side-effect"
|
399
403
|
),
|
400
|
-
serverSideData:
|
401
|
-
virtualized:
|
402
|
-
numRowsVisible:
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
404
|
+
serverSideData: import_ds_props_helpers.PropTypes.bool.description("Flag to override empty sort when data is from server"),
|
405
|
+
virtualized: import_ds_props_helpers.PropTypes.bool.description("Flag to force virtualization. Not used"),
|
406
|
+
numRowsVisible: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.number, import_ds_props_helpers.PropTypes.oneOf(["all"])]).description(
|
407
|
+
"Number of rows visible. Not used"
|
408
|
+
),
|
409
|
+
isColumnEditable: import_ds_props_helpers.PropTypes.func.description("Callback to check if column is editable"),
|
410
|
+
groupedRows: import_ds_props_helpers.PropTypes.bool.description("Flag for groupedRows"),
|
411
|
+
groupedRowsRenderHeader: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.element]).description(
|
412
|
+
"Header for grouped rows"
|
413
|
+
),
|
414
|
+
isDataSorted: import_ds_props_helpers.PropTypes.bool.description("Once activated will disable the internal logic for sorting"),
|
415
|
+
isDataFiltered: import_ds_props_helpers.PropTypes.bool.description("Once activated will disable the internal logic for filtering"),
|
416
|
+
rowSize: import_ds_props_helpers.PropTypes.oneOf(import_rowSizes.RowSizesOptionsArr).description("Change row size"),
|
417
|
+
wrapText: import_ds_props_helpers.PropTypes.bool.description("Whether to wrap the text of the data grid or not"),
|
418
|
+
renderExpandedDetails: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.element]).description(
|
411
419
|
"Element to render expanded details"
|
412
420
|
),
|
413
|
-
detailColumns:
|
414
|
-
expandable:
|
415
|
-
getChildrenRows:
|
416
|
-
expandableSubrowsVisible:
|
417
|
-
renderRowDetails:
|
421
|
+
detailColumns: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.object).description("Columns to render on the details of an expanded row"),
|
422
|
+
expandable: import_ds_props_helpers.PropTypes.bool.description("Flag to enable the expandable feature "),
|
423
|
+
getChildrenRows: import_ds_props_helpers.PropTypes.func.description("Callback to get the row children"),
|
424
|
+
expandableSubrowsVisible: import_ds_props_helpers.PropTypes.number.description("Number of rows visible on the details of an expanded row"),
|
425
|
+
renderRowDetails: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.element]).description(
|
418
426
|
"Element to render inside expanded row"
|
419
427
|
),
|
420
|
-
getExpandedRowSize:
|
421
|
-
getExpandedRowMinSize:
|
422
|
-
subRowSize:
|
423
|
-
bindColumnsSizeTo:
|
424
|
-
bindRowSizeTo:
|
425
|
-
onToggleShowAllRows:
|
426
|
-
expandedRows:
|
427
|
-
autoHeight:
|
428
|
-
noColumnsPlaceholder:
|
428
|
+
getExpandedRowSize: import_ds_props_helpers.PropTypes.func.description("Callback to get the expanded row size"),
|
429
|
+
getExpandedRowMinSize: import_ds_props_helpers.PropTypes.func.description("Callback to get the expanded row minimum size"),
|
430
|
+
subRowSize: import_ds_props_helpers.PropTypes.oneOf(import_rowSizes.RowSizesOptionsArr).description("Change expanded/details rows size"),
|
431
|
+
bindColumnsSizeTo: import_ds_props_helpers.PropTypes.string.description("Bind the column size to another grid instance"),
|
432
|
+
bindRowSizeTo: import_ds_props_helpers.PropTypes.string.description("Bind the row size to another grid instance"),
|
433
|
+
onToggleShowAllRows: import_ds_props_helpers.PropTypes.func.description("Handler when toggle show all is clicked"),
|
434
|
+
expandedRows: import_ds_props_helpers.PropTypes.object.description("Expanded row state"),
|
435
|
+
autoHeight: import_ds_props_helpers.PropTypes.bool.description("Flag to enable autoheight"),
|
436
|
+
noColumnsPlaceholder: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.element]).description(
|
429
437
|
"Placeholder rendered when no columns are visible"
|
430
438
|
),
|
431
|
-
plugins:
|
439
|
+
plugins: import_ds_props_helpers.PropTypes.arrayOf(import_ds_props_helpers.PropTypes.any).description("Plugin additional array")
|
432
440
|
};
|
433
441
|
DSDataGrids.propTypes = props;
|
434
442
|
DSDataGrids.displayName = "DSDataGrids";
|
435
|
-
const DSDataGridsWithSchema = (0,
|
443
|
+
const DSDataGridsWithSchema = (0, import_ds_props_helpers.describe)(DSDataGrids);
|
436
444
|
DSDataGridsWithSchema.propTypes = props;
|
437
445
|
var DSDataGrid_default = DSDataGrids;
|
438
446
|
//# sourceMappingURL=DSDataGrid.js.map
|