@elliemae/ds-datagrids 1.61.0 → 2.0.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/DSDataGrid.js +142 -424
- package/cjs/DataGridImpl.js +107 -202
- package/cjs/PaginatedDataGrid.js +46 -155
- package/cjs/blockNames.js +3 -4
- package/cjs/columns/IconColumn.js +40 -47
- package/cjs/columns/NumberColumn.js +0 -3
- package/cjs/components/BodyCell.js +65 -82
- package/cjs/components/BodyList.js +37 -25
- package/cjs/components/ColumnVisibilityMenuOption.js +27 -32
- package/cjs/components/ColumnsOptionsMenuSection.js +30 -30
- package/cjs/components/EmptyState.js +22 -39
- package/cjs/components/HeaderCell.js +49 -50
- package/cjs/components/List.js +20 -10
- package/cjs/components/ListItem.js +32 -19
- package/cjs/components/NoResults.js +34 -23
- package/cjs/components/RowsLoader.js +8 -9
- package/cjs/components/Table.js +71 -67
- package/cjs/components/TableBody.js +40 -34
- package/cjs/components/TableHeader.js +20 -14
- package/cjs/components/footer/addOptionalFooterComponents.js +36 -34
- package/cjs/components/header/PrimaryControls.js +17 -16
- package/cjs/components/header/addOptionalHeaderComponents.js +36 -34
- package/cjs/components/index.js +10 -21
- package/cjs/components/renderers/defaultClassedRenderers.js +24 -17
- package/cjs/components/renderers/index.js +17 -12
- package/cjs/components/renderers/renderRowsLoader.js +6 -9
- package/cjs/components/tableContext.js +1 -2
- package/cjs/defaultPlugins.js +5 -38
- package/cjs/index.js +54 -181
- package/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +116 -116
- package/cjs/plugins/body-header-scroll-sync/index.js +2 -10
- package/cjs/plugins/column-dnd/DndColumnsPlugin.js +59 -63
- package/cjs/plugins/column-dnd/decorateGridWithDndColumns.js +12 -12
- package/cjs/plugins/column-dnd/index.js +2 -11
- package/cjs/plugins/column-sizing/ColumnSizingPlugin.js +46 -53
- package/cjs/plugins/column-sizing/columnMeasurerTransformer.js +53 -43
- package/cjs/plugins/column-sizing/ext-points/decorateColumn.js +4 -7
- package/cjs/plugins/column-sizing/ext-points/getTableProps.js +25 -23
- package/cjs/plugins/column-sizing/getColumnNameFromProperty.js +2 -1
- package/cjs/plugins/column-sizing/index.js +2 -17
- package/cjs/plugins/column-sizing/useColumnSizeService.js +69 -83
- package/cjs/plugins/column-sizing/useStylesheetHelpers.js +145 -145
- package/cjs/plugins/column-sizing/utils.js +16 -16
- package/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js +4 -24
- package/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js +46 -58
- package/cjs/plugins/custom-cell-renderer/getRendererComponent.js +41 -34
- package/cjs/plugins/custom-cell-renderer/index.js +2 -22
- package/cjs/plugins/editable/EditableComponents/ComboBox.js +51 -74
- package/cjs/plugins/editable/EditableComponents/TextBox.js +85 -100
- package/cjs/plugins/editable/EditableComponents/index.js +4 -14
- package/cjs/plugins/editable/EditablePlugin.js +66 -78
- package/cjs/plugins/editable/decorateEditable.js +64 -66
- package/cjs/plugins/editable/getEditorComponent.js +36 -36
- package/cjs/plugins/editable/index.js +6 -26
- package/cjs/plugins/expandable-grid/ExpandableColumn.js +100 -89
- package/cjs/plugins/expandable-grid/ExpandablePlugin.js +142 -162
- package/cjs/plugins/expandable-grid/ExpandedRow.js +110 -126
- package/cjs/plugins/expandable-grid/ExpandedRowExtra.js +38 -29
- package/cjs/plugins/expandable-grid/index.js +4 -57
- package/cjs/plugins/expandable-grid/useExpandGridState.js +38 -48
- package/cjs/plugins/export-data/ExportDataPlugin.js +88 -91
- package/cjs/plugins/export-data/index.js +5 -10
- package/cjs/plugins/filterable/FilterablePlugin.js +51 -78
- package/cjs/plugins/filterable/addFilterToColumn.js +11 -35
- package/cjs/plugins/filterable/components/FilterableHeader.js +81 -114
- package/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +60 -103
- package/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +39 -75
- package/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +68 -113
- package/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js +68 -118
- package/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js +1 -2
- package/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +9 -31
- package/cjs/plugins/filterable/filterableFormatter.js +36 -56
- package/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js +32 -33
- package/cjs/plugins/filterable/filtering-helper/strategiesOperators.js +13 -18
- package/cjs/plugins/filterable/helper.js +48 -53
- package/cjs/plugins/filterable/index.js +2 -42
- package/cjs/plugins/filterable/useFilterableState.js +44 -53
- package/cjs/plugins/grouping-by/GroupingByPlugin.js +21 -19
- package/cjs/plugins/grouping-grid/GroupingPlugin.js +83 -87
- package/cjs/plugins/grouping-grid/walkStrategy.js +19 -30
- package/cjs/plugins/index.js +41 -151
- package/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js +53 -72
- package/cjs/plugins/infinite-scrolling/index.js +2 -10
- package/cjs/plugins/pagination/PaginationPlugin.js +70 -69
- package/cjs/plugins/pagination/components/Pagination.js +21 -27
- package/cjs/plugins/pagination/components/Paginator.js +33 -34
- package/cjs/plugins/pagination/components/PerPageDropdown.js +44 -31
- package/cjs/plugins/pagination/helper.js +15 -15
- package/cjs/plugins/pagination/index.js +2 -16
- package/cjs/plugins/pagination/usePaginationState.js +35 -44
- package/cjs/plugins/resizable/ResizablePlugin.js +45 -59
- package/cjs/plugins/resizable/decorateResizable.js +43 -36
- package/cjs/plugins/resizable/index.js +2 -10
- package/cjs/plugins/resizable/useResizeHandle.js +24 -22
- package/cjs/plugins/resizable/utils.js +12 -20
- package/cjs/plugins/row-dnd/DndRowsPlugin.js +51 -52
- package/cjs/plugins/row-dnd/index.js +2 -11
- package/cjs/plugins/selectable/SelectablePlugin.js +129 -120
- package/cjs/plugins/selectable/addSelectableColumn.js +47 -39
- package/cjs/plugins/selectable/helper.js +18 -28
- package/cjs/plugins/selectable/index.js +2 -17
- package/cjs/plugins/selectable/selectableFormatter.js +64 -53
- package/cjs/plugins/selectable/useSelectableState.js +66 -68
- package/cjs/plugins/sortable/SortablePlugin.js +50 -56
- package/cjs/plugins/sortable/checkIfSortable.js +4 -5
- package/cjs/plugins/sortable/index.js +2 -19
- package/cjs/plugins/sortable/sortHeaderFormatter.js +41 -36
- package/cjs/plugins/sortable/sortTree.js +16 -16
- package/cjs/plugins/sortable/sorter.js +82 -95
- package/cjs/plugins/sortable/useSortableState.js +40 -41
- package/cjs/plugins/toolbar/RowRenderer.js +43 -60
- package/cjs/plugins/toolbar/ToolbarPlugin.js +18 -29
- package/cjs/plugins/toolbar/ToolbarTrigger.js +39 -50
- package/cjs/plugins/toolbar/index.js +2 -19
- package/cjs/plugins/virtualization/AutoHeightList.js +31 -23
- package/cjs/plugins/virtualization/VirtualizationPlugin.js +80 -83
- package/cjs/plugins/virtualization/VirtualizedBody.js +136 -195
- package/cjs/plugins/virtualization/VirtualizedBodyRow.js +18 -13
- package/cjs/plugins/virtualization/helper.js +1 -2
- package/cjs/plugins/virtualization/index.js +2 -20
- package/cjs/renders/CellWithAddons.js +29 -75
- package/cjs/renders/index.js +4 -11
- package/cjs/renders/styled.js +7 -24
- package/cjs/rowSizes.js +3 -4
- package/cjs/utilities/getPluginsFromProps.js +33 -139
- package/cjs/utilities/getScrollbarSize.js +4 -5
- package/cjs/utilities/normalizeData.js +22 -22
- package/esm/DSDataGrid.js +140 -422
- package/esm/DataGridImpl.js +93 -186
- package/esm/PaginatedDataGrid.js +36 -145
- package/esm/blockNames.js +3 -4
- package/esm/columns/IconColumn.js +38 -45
- package/esm/columns/NumberColumn.js +0 -3
- package/esm/components/BodyCell.js +61 -75
- package/esm/components/BodyList.js +32 -21
- package/esm/components/ColumnVisibilityMenuOption.js +27 -28
- package/esm/components/ColumnsOptionsMenuSection.js +29 -28
- package/esm/components/EmptyState.js +21 -38
- package/esm/components/HeaderCell.js +47 -47
- package/esm/components/List.js +19 -9
- package/esm/components/ListItem.js +30 -16
- package/esm/components/NoResults.js +31 -19
- package/esm/components/RowsLoader.js +6 -7
- package/esm/components/Table.js +63 -58
- package/esm/components/TableBody.js +35 -28
- package/esm/components/TableHeader.js +19 -12
- package/esm/components/footer/addOptionalFooterComponents.js +34 -32
- package/esm/components/header/PrimaryControls.js +16 -15
- package/esm/components/header/addOptionalHeaderComponents.js +35 -32
- package/esm/components/index.js +0 -11
- package/esm/components/renderers/defaultClassedRenderers.js +24 -17
- package/esm/components/renderers/index.js +17 -8
- package/esm/components/renderers/renderRowsLoader.js +4 -7
- package/esm/components/tableContext.js +1 -2
- package/esm/defaultPlugins.js +1 -34
- package/esm/index.js +0 -127
- package/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +111 -111
- package/esm/plugins/body-header-scroll-sync/index.js +0 -8
- package/esm/plugins/column-dnd/DndColumnsPlugin.js +56 -59
- package/esm/plugins/column-dnd/decorateGridWithDndColumns.js +11 -11
- package/esm/plugins/column-dnd/index.js +0 -9
- package/esm/plugins/column-sizing/ColumnSizingPlugin.js +40 -47
- package/esm/plugins/column-sizing/columnMeasurerTransformer.js +52 -42
- package/esm/plugins/column-sizing/ext-points/decorateColumn.js +2 -5
- package/esm/plugins/column-sizing/ext-points/getTableProps.js +22 -19
- package/esm/plugins/column-sizing/getColumnNameFromProperty.js +2 -1
- package/esm/plugins/column-sizing/index.js +0 -15
- package/esm/plugins/column-sizing/useColumnSizeService.js +66 -79
- package/esm/plugins/column-sizing/useStylesheetHelpers.js +141 -136
- package/esm/plugins/column-sizing/utils.js +16 -16
- package/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js +3 -23
- package/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js +46 -58
- package/esm/plugins/custom-cell-renderer/getRendererComponent.js +42 -34
- package/esm/plugins/custom-cell-renderer/index.js +0 -20
- package/esm/plugins/editable/EditableComponents/ComboBox.js +51 -67
- package/esm/plugins/editable/EditableComponents/TextBox.js +84 -93
- package/esm/plugins/editable/EditableComponents/index.js +0 -10
- package/esm/plugins/editable/EditablePlugin.js +64 -75
- package/esm/plugins/editable/decorateEditable.js +56 -56
- package/esm/plugins/editable/getEditorComponent.js +30 -29
- package/esm/plugins/editable/index.js +0 -20
- package/esm/plugins/expandable-grid/ExpandableColumn.js +99 -88
- package/esm/plugins/expandable-grid/ExpandablePlugin.js +137 -156
- package/esm/plugins/expandable-grid/ExpandedRow.js +101 -117
- package/esm/plugins/expandable-grid/ExpandedRowExtra.js +36 -27
- package/esm/plugins/expandable-grid/index.js +0 -53
- package/esm/plugins/expandable-grid/useExpandGridState.js +38 -44
- package/esm/plugins/export-data/ExportDataPlugin.js +87 -89
- package/esm/plugins/export-data/index.js +0 -5
- package/esm/plugins/filterable/FilterablePlugin.js +46 -73
- package/esm/plugins/filterable/addFilterToColumn.js +8 -32
- package/esm/plugins/filterable/components/FilterableHeader.js +79 -110
- package/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +59 -100
- package/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +37 -71
- package/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +67 -110
- package/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js +66 -113
- package/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js +1 -2
- package/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +1 -23
- package/esm/plugins/filterable/filterableFormatter.js +33 -53
- package/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js +29 -30
- package/esm/plugins/filterable/filtering-helper/strategiesOperators.js +13 -18
- package/esm/plugins/filterable/helper.js +47 -51
- package/esm/plugins/filterable/index.js +0 -40
- package/esm/plugins/filterable/useFilterableState.js +41 -49
- package/esm/plugins/grouping-by/GroupingByPlugin.js +21 -19
- package/esm/plugins/grouping-grid/GroupingPlugin.js +80 -84
- package/esm/plugins/grouping-grid/walkStrategy.js +19 -26
- package/esm/plugins/index.js +0 -110
- package/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js +53 -69
- package/esm/plugins/infinite-scrolling/index.js +0 -8
- package/esm/plugins/pagination/PaginationPlugin.js +60 -59
- package/esm/plugins/pagination/components/Pagination.js +18 -24
- package/esm/plugins/pagination/components/Paginator.js +30 -31
- package/esm/plugins/pagination/components/PerPageDropdown.js +41 -29
- package/esm/plugins/pagination/helper.js +14 -14
- package/esm/plugins/pagination/index.js +0 -14
- package/esm/plugins/pagination/usePaginationState.js +33 -41
- package/esm/plugins/resizable/ResizablePlugin.js +43 -57
- package/esm/plugins/resizable/decorateResizable.js +37 -31
- package/esm/plugins/resizable/index.js +0 -8
- package/esm/plugins/resizable/useResizeHandle.js +26 -24
- package/esm/plugins/resizable/utils.js +11 -19
- package/esm/plugins/row-dnd/DndRowsPlugin.js +50 -50
- package/esm/plugins/row-dnd/index.js +0 -9
- package/esm/plugins/selectable/SelectablePlugin.js +123 -111
- package/esm/plugins/selectable/addSelectableColumn.js +43 -35
- package/esm/plugins/selectable/helper.js +17 -27
- package/esm/plugins/selectable/index.js +0 -15
- package/esm/plugins/selectable/selectableFormatter.js +62 -52
- package/esm/plugins/selectable/useSelectableState.js +60 -61
- package/esm/plugins/sortable/SortablePlugin.js +42 -46
- package/esm/plugins/sortable/checkIfSortable.js +3 -4
- package/esm/plugins/sortable/index.js +0 -17
- package/esm/plugins/sortable/sortHeaderFormatter.js +40 -36
- package/esm/plugins/sortable/sortTree.js +13 -11
- package/esm/plugins/sortable/sorter.js +79 -91
- package/esm/plugins/sortable/useSortableState.js +34 -33
- package/esm/plugins/toolbar/RowRenderer.js +41 -55
- package/esm/plugins/toolbar/ToolbarPlugin.js +15 -25
- package/esm/plugins/toolbar/ToolbarTrigger.js +37 -47
- package/esm/plugins/toolbar/index.js +0 -17
- package/esm/plugins/virtualization/AutoHeightList.js +27 -18
- package/esm/plugins/virtualization/VirtualizationPlugin.js +78 -80
- package/esm/plugins/virtualization/VirtualizedBody.js +131 -187
- package/esm/plugins/virtualization/VirtualizedBodyRow.js +18 -13
- package/esm/plugins/virtualization/helper.js +1 -2
- package/esm/plugins/virtualization/index.js +0 -18
- package/esm/renders/CellWithAddons.js +27 -72
- package/esm/renders/index.js +0 -7
- package/esm/renders/styled.js +7 -24
- package/esm/rowSizes.js +3 -4
- package/esm/utilities/getPluginsFromProps.js +7 -113
- package/esm/utilities/getScrollbarSize.js +4 -5
- package/esm/utilities/normalizeData.js +21 -21
- package/package.json +555 -26
- package/types/DSDataGrid.d.ts +977 -0
- package/types/DataGridImpl.d.ts +12 -0
- package/types/PaginatedDataGrid.d.ts +16 -0
- package/types/blockNames.d.ts +4 -0
- package/types/columns/IconColumn.d.ts +35 -0
- package/types/columns/NumberColumn.d.ts +4 -0
- package/types/components/BodyCell.d.ts +33 -0
- package/types/components/BodyList.d.ts +12 -0
- package/types/components/ColumnVisibilityMenuOption.d.ts +15 -0
- package/types/components/ColumnsOptionsMenuSection.d.ts +8 -0
- package/types/components/EmptyState.d.ts +7 -0
- package/types/components/HeaderCell.d.ts +19 -0
- package/types/components/List.d.ts +3 -0
- package/types/components/ListItem.d.ts +3 -0
- package/types/components/NoResults.d.ts +8 -0
- package/types/components/RowsLoader.d.ts +5 -0
- package/types/components/Table.d.ts +13 -0
- package/types/components/TableBody.d.ts +9 -0
- package/types/components/TableHeader.d.ts +3 -0
- package/types/components/footer/addOptionalFooterComponents.d.ts +6 -0
- package/types/components/header/PrimaryControls.d.ts +5 -0
- package/types/components/header/addOptionalHeaderComponents.d.ts +11 -0
- package/types/components/index.d.ts +5 -0
- package/types/components/renderers/defaultClassedRenderers.d.ts +11 -0
- package/types/components/renderers/index.d.ts +15 -0
- package/types/components/renderers/renderRowsLoader.d.ts +2 -0
- package/types/components/tableContext.d.ts +2 -0
- package/types/components/tests/ColumnVisibilityMenu.test.d.ts +1 -0
- package/types/defaultPlugins.d.ts +1 -0
- package/types/index.d.ts +10 -0
- package/types/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.d.ts +1 -0
- package/types/plugins/body-header-scroll-sync/index.d.ts +1 -0
- package/types/plugins/column-dnd/DndColumnsPlugin.d.ts +1 -0
- package/types/plugins/column-dnd/decorateGridWithDndColumns.d.ts +2 -0
- package/types/plugins/column-dnd/index.d.ts +1 -0
- package/types/plugins/column-sizing/ColumnSizingPlugin.d.ts +1 -0
- package/types/plugins/column-sizing/columnMeasurerTransformer.d.ts +6 -0
- package/types/plugins/column-sizing/ext-points/decorateColumn.d.ts +1 -0
- package/types/plugins/column-sizing/ext-points/getTableProps.d.ts +10 -0
- package/types/plugins/column-sizing/getColumnNameFromProperty.d.ts +1 -0
- package/types/plugins/column-sizing/index.d.ts +1 -0
- package/types/plugins/column-sizing/useColumnSizeService.d.ts +17 -0
- package/types/plugins/column-sizing/useStylesheetHelpers.d.ts +22 -0
- package/types/plugins/column-sizing/utils.d.ts +5 -0
- package/types/plugins/custom-cell-renderer/CustomRendererPlugin.d.ts +1 -0
- package/types/plugins/custom-cell-renderer/addCustomRendererToCell.d.ts +3 -0
- package/types/plugins/custom-cell-renderer/getRendererComponent.d.ts +11 -0
- package/types/plugins/custom-cell-renderer/index.d.ts +1 -0
- package/types/plugins/editable/EditableComponents/ComboBox.d.ts +10 -0
- package/types/plugins/editable/EditableComponents/TextBox.d.ts +22 -0
- package/types/plugins/editable/EditableComponents/index.d.ts +2 -0
- package/types/plugins/editable/EditablePlugin.d.ts +1 -0
- package/types/plugins/editable/decorateEditable.d.ts +7 -0
- package/types/plugins/editable/getEditorComponent.d.ts +6 -0
- package/types/plugins/editable/index.d.ts +2 -0
- package/types/plugins/expandable-grid/ExpandableColumn.d.ts +28 -0
- package/types/plugins/expandable-grid/ExpandablePlugin.d.ts +1 -0
- package/types/plugins/expandable-grid/ExpandedRow.d.ts +11 -0
- package/types/plugins/expandable-grid/ExpandedRowExtra.d.ts +9 -0
- package/types/plugins/expandable-grid/index.d.ts +2 -0
- package/types/plugins/expandable-grid/tests/ExpandablePlugin.test.d.ts +1 -0
- package/types/plugins/expandable-grid/useExpandGridState.d.ts +14 -0
- package/types/plugins/export-data/ExportDataPlugin.d.ts +4 -0
- package/types/plugins/export-data/index.d.ts +1 -0
- package/types/plugins/filterable/FilterablePlugin.d.ts +1 -0
- package/types/plugins/filterable/addFilterToColumn.d.ts +1 -0
- package/types/plugins/filterable/components/FilterableHeader.d.ts +29 -0
- package/types/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.d.ts +30 -0
- package/types/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.d.ts +27 -0
- package/types/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.d.ts +30 -0
- package/types/plugins/filterable/components/filterable-menus/TextFilterMenu.d.ts +35 -0
- package/types/plugins/filterable/components/filterable-menus/defaultDateFormat.d.ts +1 -0
- package/types/plugins/filterable/components/filterable-menus/getFilterMenuByType.d.ts +1 -0
- package/types/plugins/filterable/filterableFormatter.d.ts +11 -0
- package/types/plugins/filterable/filtering-helper/filterRowsByQuery.d.ts +2 -0
- package/types/plugins/filterable/filtering-helper/strategiesOperators.d.ts +2 -0
- package/types/plugins/filterable/helper.d.ts +22 -0
- package/types/plugins/filterable/index.d.ts +1 -0
- package/types/plugins/filterable/useFilterableState.d.ts +18 -0
- package/types/plugins/grouping-by/GroupingByPlugin.d.ts +1 -0
- package/types/plugins/grouping-grid/GroupingPlugin.d.ts +1 -0
- package/types/plugins/grouping-grid/walkStrategy.d.ts +9 -0
- package/types/plugins/index.d.ts +16 -0
- package/types/plugins/infinite-scrolling/InfiniteScrollPlugin.d.ts +1 -0
- package/types/plugins/infinite-scrolling/index.d.ts +1 -0
- package/types/plugins/pagination/PaginationPlugin.d.ts +1 -0
- package/types/plugins/pagination/components/Pagination.d.ts +11 -0
- package/types/plugins/pagination/components/Paginator.d.ts +9 -0
- package/types/plugins/pagination/components/PerPageDropdown.d.ts +9 -0
- package/types/plugins/pagination/helper.d.ts +17 -0
- package/types/plugins/pagination/index.d.ts +1 -0
- package/types/plugins/pagination/usePaginationState.d.ts +9 -0
- package/types/plugins/resizable/ResizablePlugin.d.ts +1 -0
- package/types/plugins/resizable/decorateResizable.d.ts +4 -0
- package/types/plugins/resizable/index.d.ts +1 -0
- package/types/plugins/resizable/useResizeHandle.d.ts +13 -0
- package/types/plugins/resizable/utils.d.ts +3 -0
- package/types/plugins/row-dnd/DndRowsPlugin.d.ts +1 -0
- package/types/plugins/row-dnd/index.d.ts +1 -0
- package/types/plugins/selectable/SelectablePlugin.d.ts +1 -0
- package/types/plugins/selectable/addSelectableColumn.d.ts +30 -0
- package/types/plugins/selectable/helper.d.ts +5 -0
- package/types/plugins/selectable/index.d.ts +1 -0
- package/types/plugins/selectable/selectableFormatter.d.ts +9 -0
- package/types/plugins/selectable/useSelectableState.d.ts +9 -0
- package/types/plugins/sortable/SortablePlugin.d.ts +1 -0
- package/types/plugins/sortable/checkIfSortable.d.ts +2 -0
- package/types/plugins/sortable/index.d.ts +1 -0
- package/types/plugins/sortable/sortHeaderFormatter.d.ts +6 -0
- package/types/plugins/sortable/sortTree.d.ts +2 -0
- package/types/plugins/sortable/sorter.d.ts +12 -0
- package/types/plugins/sortable/useSortableState.d.ts +8 -0
- package/types/plugins/toolbar/RowRenderer.d.ts +11 -0
- package/types/plugins/toolbar/ToolbarPlugin.d.ts +1 -0
- package/types/plugins/toolbar/ToolbarTrigger.d.ts +8 -0
- package/types/plugins/toolbar/index.d.ts +1 -0
- package/types/plugins/virtualization/AutoHeightList.d.ts +3 -0
- package/types/plugins/virtualization/VirtualizationPlugin.d.ts +1 -0
- package/types/plugins/virtualization/VirtualizedBody.d.ts +32 -0
- package/types/plugins/virtualization/VirtualizedBodyRow.d.ts +8 -0
- package/types/plugins/virtualization/helper.d.ts +1 -0
- package/types/plugins/virtualization/index.d.ts +1 -0
- package/types/renders/CellWithAddons.d.ts +52 -0
- package/types/renders/index.d.ts +2 -0
- package/types/renders/styled.d.ts +3 -0
- package/types/rowSizes.d.ts +11 -0
- package/types/stories/datagrids-export.stories.d.ts +1 -0
- package/types/stories/datagrids-selectable-multi.stories.d.ts +1 -0
- package/types/tests/DataGrid-Columns.test.d.ts +1 -0
- package/types/tests/DataGrid-Editable.test.d.ts +1 -0
- package/types/tests/DataGrid-Export.test.d.ts +1 -0
- package/types/tests/DataGrid-Filter-helper.test.d.ts +1 -0
- package/types/tests/DataGrid-Filterable-Dates.test.d.ts +1 -0
- package/types/tests/DataGrid-Filterable-State.test.d.ts +1 -0
- package/types/tests/DataGrid-RowDnd.test.d.ts +1 -0
- package/types/tests/DataGrid-Selectable.test.d.ts +1 -0
- package/types/tests/DataGrid-Sortable.test.d.ts +1 -0
- package/types/tests/DataGrid-Toolbar.test.d.ts +1 -0
- package/types/tests/DataGrid-Virtualization.test.d.ts +1 -0
- package/types/tests/DataGrids-ColumnSizing.test.d.ts +1 -0
- package/types/tests/DataGrids-ConditionalPagination.test.d.ts +1 -0
- package/types/tests/DataGrids-Rows.test.d.ts +1 -0
- package/types/tests/DataGrids.test.d.ts +1 -0
- package/types/utilities/getPluginsFromProps.d.ts +1 -0
- package/types/utilities/getScrollbarSize.d.ts +1 -0
- package/types/utilities/normalizeData.d.ts +3 -0
- package/DSDataGrid/package.json +0 -10
- package/DataGridImpl/package.json +0 -10
- package/PaginatedDataGrid/package.json +0 -10
- package/blockNames/package.json +0 -10
- package/cjs/DSDataGrid.js.map +0 -1
- package/cjs/DataGridImpl.js.map +0 -1
- package/cjs/PaginatedDataGrid.js.map +0 -1
- package/cjs/blockNames.js.map +0 -1
- package/cjs/columns/IconColumn.js.map +0 -1
- package/cjs/columns/NumberColumn.js.map +0 -1
- package/cjs/components/BodyCell.js.map +0 -1
- package/cjs/components/BodyList.js.map +0 -1
- package/cjs/components/ColumnVisibilityMenuOption.js.map +0 -1
- package/cjs/components/ColumnsOptionsMenuSection.js.map +0 -1
- package/cjs/components/EmptyState.js.map +0 -1
- package/cjs/components/HeaderCell.js.map +0 -1
- package/cjs/components/List.js.map +0 -1
- package/cjs/components/ListItem.js.map +0 -1
- package/cjs/components/NoResults.js.map +0 -1
- package/cjs/components/RowsLoader.js.map +0 -1
- package/cjs/components/Table.js.map +0 -1
- package/cjs/components/TableBody.js.map +0 -1
- package/cjs/components/TableHeader.js.map +0 -1
- package/cjs/components/footer/addOptionalFooterComponents.js.map +0 -1
- package/cjs/components/header/PrimaryControls.js.map +0 -1
- package/cjs/components/header/addOptionalHeaderComponents.js.map +0 -1
- package/cjs/components/index.js.map +0 -1
- package/cjs/components/renderers/defaultClassedRenderers.js.map +0 -1
- package/cjs/components/renderers/index.js.map +0 -1
- package/cjs/components/renderers/renderRowsLoader.js.map +0 -1
- package/cjs/components/tableContext.js.map +0 -1
- package/cjs/defaultPlugins.js.map +0 -1
- package/cjs/index-0be12eb8.js +0 -28
- package/cjs/index-0be12eb8.js.map +0 -1
- package/cjs/index.js.map +0 -1
- package/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +0 -1
- package/cjs/plugins/body-header-scroll-sync/index.js.map +0 -1
- package/cjs/plugins/column-dnd/DndColumnsPlugin.js.map +0 -1
- package/cjs/plugins/column-dnd/decorateGridWithDndColumns.js.map +0 -1
- package/cjs/plugins/column-dnd/index.js.map +0 -1
- package/cjs/plugins/column-sizing/ColumnSizingPlugin.js.map +0 -1
- package/cjs/plugins/column-sizing/columnMeasurerTransformer.js.map +0 -1
- package/cjs/plugins/column-sizing/ext-points/decorateColumn.js.map +0 -1
- package/cjs/plugins/column-sizing/ext-points/getTableProps.js.map +0 -1
- package/cjs/plugins/column-sizing/getColumnNameFromProperty.js.map +0 -1
- package/cjs/plugins/column-sizing/index.js.map +0 -1
- package/cjs/plugins/column-sizing/useColumnSizeService.js.map +0 -1
- package/cjs/plugins/column-sizing/useStylesheetHelpers.js.map +0 -1
- package/cjs/plugins/column-sizing/utils.js.map +0 -1
- package/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +0 -1
- package/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +0 -1
- package/cjs/plugins/custom-cell-renderer/getRendererComponent.js.map +0 -1
- package/cjs/plugins/custom-cell-renderer/index.js.map +0 -1
- package/cjs/plugins/editable/EditableComponents/ComboBox.js.map +0 -1
- package/cjs/plugins/editable/EditableComponents/TextBox.js.map +0 -1
- package/cjs/plugins/editable/EditableComponents/index.js.map +0 -1
- package/cjs/plugins/editable/EditablePlugin.js.map +0 -1
- package/cjs/plugins/editable/decorateEditable.js.map +0 -1
- package/cjs/plugins/editable/getEditorComponent.js.map +0 -1
- package/cjs/plugins/editable/index.js.map +0 -1
- package/cjs/plugins/expandable-grid/ExpandableColumn.js.map +0 -1
- package/cjs/plugins/expandable-grid/ExpandablePlugin.js.map +0 -1
- package/cjs/plugins/expandable-grid/ExpandedRow.js.map +0 -1
- package/cjs/plugins/expandable-grid/ExpandedRowExtra.js.map +0 -1
- package/cjs/plugins/expandable-grid/index.js.map +0 -1
- package/cjs/plugins/expandable-grid/useExpandGridState.js.map +0 -1
- package/cjs/plugins/export-data/ExportDataPlugin.js.map +0 -1
- package/cjs/plugins/export-data/index.js.map +0 -1
- package/cjs/plugins/filterable/FilterablePlugin.js.map +0 -1
- package/cjs/plugins/filterable/addFilterToColumn.js.map +0 -1
- package/cjs/plugins/filterable/components/FilterableHeader.js.map +0 -1
- package/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +0 -1
- package/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +0 -1
- package/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +0 -1
- package/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +0 -1
- package/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +0 -1
- package/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +0 -1
- package/cjs/plugins/filterable/filterableFormatter.js.map +0 -1
- package/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +0 -1
- package/cjs/plugins/filterable/filtering-helper/strategiesOperators.js.map +0 -1
- package/cjs/plugins/filterable/helper.js.map +0 -1
- package/cjs/plugins/filterable/index.js.map +0 -1
- package/cjs/plugins/filterable/useFilterableState.js.map +0 -1
- package/cjs/plugins/grouping-by/GroupingByPlugin.js.map +0 -1
- package/cjs/plugins/grouping-grid/GroupingPlugin.js.map +0 -1
- package/cjs/plugins/grouping-grid/walkStrategy.js.map +0 -1
- package/cjs/plugins/index.js.map +0 -1
- package/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +0 -1
- package/cjs/plugins/infinite-scrolling/index.js.map +0 -1
- package/cjs/plugins/pagination/PaginationPlugin.js.map +0 -1
- package/cjs/plugins/pagination/components/Pagination.js.map +0 -1
- package/cjs/plugins/pagination/components/Paginator.js.map +0 -1
- package/cjs/plugins/pagination/components/PerPageDropdown.js.map +0 -1
- package/cjs/plugins/pagination/helper.js.map +0 -1
- package/cjs/plugins/pagination/index.js.map +0 -1
- package/cjs/plugins/pagination/usePaginationState.js.map +0 -1
- package/cjs/plugins/resizable/ResizablePlugin.js.map +0 -1
- package/cjs/plugins/resizable/decorateResizable.js.map +0 -1
- package/cjs/plugins/resizable/index.js.map +0 -1
- package/cjs/plugins/resizable/useResizeHandle.js.map +0 -1
- package/cjs/plugins/resizable/utils.js.map +0 -1
- package/cjs/plugins/row-dnd/DndRowsPlugin.js.map +0 -1
- package/cjs/plugins/row-dnd/index.js.map +0 -1
- package/cjs/plugins/selectable/SelectablePlugin.js.map +0 -1
- package/cjs/plugins/selectable/addSelectableColumn.js.map +0 -1
- package/cjs/plugins/selectable/helper.js.map +0 -1
- package/cjs/plugins/selectable/index.js.map +0 -1
- package/cjs/plugins/selectable/selectableFormatter.js.map +0 -1
- package/cjs/plugins/selectable/useSelectableState.js.map +0 -1
- package/cjs/plugins/sortable/SortablePlugin.js.map +0 -1
- package/cjs/plugins/sortable/checkIfSortable.js.map +0 -1
- package/cjs/plugins/sortable/index.js.map +0 -1
- package/cjs/plugins/sortable/sortHeaderFormatter.js.map +0 -1
- package/cjs/plugins/sortable/sortTree.js.map +0 -1
- package/cjs/plugins/sortable/sorter.js.map +0 -1
- package/cjs/plugins/sortable/useSortableState.js.map +0 -1
- package/cjs/plugins/toolbar/RowRenderer.js.map +0 -1
- package/cjs/plugins/toolbar/ToolbarPlugin.js.map +0 -1
- package/cjs/plugins/toolbar/ToolbarTrigger.js.map +0 -1
- package/cjs/plugins/toolbar/index.js.map +0 -1
- package/cjs/plugins/virtualization/AutoHeightList.js.map +0 -1
- package/cjs/plugins/virtualization/VirtualizationPlugin.js.map +0 -1
- package/cjs/plugins/virtualization/VirtualizedBody.js.map +0 -1
- package/cjs/plugins/virtualization/VirtualizedBodyRow.js.map +0 -1
- package/cjs/plugins/virtualization/helper.js.map +0 -1
- package/cjs/plugins/virtualization/index.js.map +0 -1
- package/cjs/renders/CellWithAddons.js.map +0 -1
- package/cjs/renders/index.js.map +0 -1
- package/cjs/renders/styled.js.map +0 -1
- package/cjs/rowSizes.js.map +0 -1
- package/cjs/utilities/getPluginsFromProps.js.map +0 -1
- package/cjs/utilities/getScrollbarSize.js.map +0 -1
- package/cjs/utilities/normalizeData.js.map +0 -1
- package/columns/IconColumn/package.json +0 -10
- package/columns/NumberColumn/package.json +0 -10
- package/components/BodyCell/package.json +0 -10
- package/components/BodyList/package.json +0 -10
- package/components/ColumnVisibilityMenuOption/package.json +0 -10
- package/components/ColumnsOptionsMenuSection/package.json +0 -10
- package/components/EmptyState/package.json +0 -10
- package/components/HeaderCell/package.json +0 -10
- package/components/List/package.json +0 -10
- package/components/ListItem/package.json +0 -10
- package/components/NoResults/package.json +0 -10
- package/components/RowsLoader/package.json +0 -10
- package/components/Table/package.json +0 -10
- package/components/TableBody/package.json +0 -10
- package/components/TableHeader/package.json +0 -10
- package/components/footer/addOptionalFooterComponents/package.json +0 -10
- package/components/header/PrimaryControls/package.json +0 -10
- package/components/header/addOptionalHeaderComponents/package.json +0 -10
- package/components/package.json +0 -10
- package/components/renderers/defaultClassedRenderers/package.json +0 -10
- package/components/renderers/package.json +0 -10
- package/components/renderers/renderRowsLoader/package.json +0 -10
- package/components/tableContext/package.json +0 -10
- package/defaultPlugins/package.json +0 -10
- package/esm/DSDataGrid.js.map +0 -1
- package/esm/DataGridImpl.js.map +0 -1
- package/esm/PaginatedDataGrid.js.map +0 -1
- package/esm/blockNames.js.map +0 -1
- package/esm/columns/IconColumn.js.map +0 -1
- package/esm/columns/NumberColumn.js.map +0 -1
- package/esm/components/BodyCell.js.map +0 -1
- package/esm/components/BodyList.js.map +0 -1
- package/esm/components/ColumnVisibilityMenuOption.js.map +0 -1
- package/esm/components/ColumnsOptionsMenuSection.js.map +0 -1
- package/esm/components/EmptyState.js.map +0 -1
- package/esm/components/HeaderCell.js.map +0 -1
- package/esm/components/List.js.map +0 -1
- package/esm/components/ListItem.js.map +0 -1
- package/esm/components/NoResults.js.map +0 -1
- package/esm/components/RowsLoader.js.map +0 -1
- package/esm/components/Table.js.map +0 -1
- package/esm/components/TableBody.js.map +0 -1
- package/esm/components/TableHeader.js.map +0 -1
- package/esm/components/footer/addOptionalFooterComponents.js.map +0 -1
- package/esm/components/header/PrimaryControls.js.map +0 -1
- package/esm/components/header/addOptionalHeaderComponents.js.map +0 -1
- package/esm/components/index.js.map +0 -1
- package/esm/components/renderers/defaultClassedRenderers.js.map +0 -1
- package/esm/components/renderers/index.js.map +0 -1
- package/esm/components/renderers/renderRowsLoader.js.map +0 -1
- package/esm/components/tableContext.js.map +0 -1
- package/esm/defaultPlugins.js.map +0 -1
- package/esm/index-afbbe9c8.js +0 -25
- package/esm/index-afbbe9c8.js.map +0 -1
- package/esm/index.js.map +0 -1
- package/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +0 -1
- package/esm/plugins/body-header-scroll-sync/index.js.map +0 -1
- package/esm/plugins/column-dnd/DndColumnsPlugin.js.map +0 -1
- package/esm/plugins/column-dnd/decorateGridWithDndColumns.js.map +0 -1
- package/esm/plugins/column-dnd/index.js.map +0 -1
- package/esm/plugins/column-sizing/ColumnSizingPlugin.js.map +0 -1
- package/esm/plugins/column-sizing/columnMeasurerTransformer.js.map +0 -1
- package/esm/plugins/column-sizing/ext-points/decorateColumn.js.map +0 -1
- package/esm/plugins/column-sizing/ext-points/getTableProps.js.map +0 -1
- package/esm/plugins/column-sizing/getColumnNameFromProperty.js.map +0 -1
- package/esm/plugins/column-sizing/index.js.map +0 -1
- package/esm/plugins/column-sizing/useColumnSizeService.js.map +0 -1
- package/esm/plugins/column-sizing/useStylesheetHelpers.js.map +0 -1
- package/esm/plugins/column-sizing/utils.js.map +0 -1
- package/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +0 -1
- package/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +0 -1
- package/esm/plugins/custom-cell-renderer/getRendererComponent.js.map +0 -1
- package/esm/plugins/custom-cell-renderer/index.js.map +0 -1
- package/esm/plugins/editable/EditableComponents/ComboBox.js.map +0 -1
- package/esm/plugins/editable/EditableComponents/TextBox.js.map +0 -1
- package/esm/plugins/editable/EditableComponents/index.js.map +0 -1
- package/esm/plugins/editable/EditablePlugin.js.map +0 -1
- package/esm/plugins/editable/decorateEditable.js.map +0 -1
- package/esm/plugins/editable/getEditorComponent.js.map +0 -1
- package/esm/plugins/editable/index.js.map +0 -1
- package/esm/plugins/expandable-grid/ExpandableColumn.js.map +0 -1
- package/esm/plugins/expandable-grid/ExpandablePlugin.js.map +0 -1
- package/esm/plugins/expandable-grid/ExpandedRow.js.map +0 -1
- package/esm/plugins/expandable-grid/ExpandedRowExtra.js.map +0 -1
- package/esm/plugins/expandable-grid/index.js.map +0 -1
- package/esm/plugins/expandable-grid/useExpandGridState.js.map +0 -1
- package/esm/plugins/export-data/ExportDataPlugin.js.map +0 -1
- package/esm/plugins/export-data/index.js.map +0 -1
- package/esm/plugins/filterable/FilterablePlugin.js.map +0 -1
- package/esm/plugins/filterable/addFilterToColumn.js.map +0 -1
- package/esm/plugins/filterable/components/FilterableHeader.js.map +0 -1
- package/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +0 -1
- package/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +0 -1
- package/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +0 -1
- package/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +0 -1
- package/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +0 -1
- package/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +0 -1
- package/esm/plugins/filterable/filterableFormatter.js.map +0 -1
- package/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +0 -1
- package/esm/plugins/filterable/filtering-helper/strategiesOperators.js.map +0 -1
- package/esm/plugins/filterable/helper.js.map +0 -1
- package/esm/plugins/filterable/index.js.map +0 -1
- package/esm/plugins/filterable/useFilterableState.js.map +0 -1
- package/esm/plugins/grouping-by/GroupingByPlugin.js.map +0 -1
- package/esm/plugins/grouping-grid/GroupingPlugin.js.map +0 -1
- package/esm/plugins/grouping-grid/walkStrategy.js.map +0 -1
- package/esm/plugins/index.js.map +0 -1
- package/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +0 -1
- package/esm/plugins/infinite-scrolling/index.js.map +0 -1
- package/esm/plugins/pagination/PaginationPlugin.js.map +0 -1
- package/esm/plugins/pagination/components/Pagination.js.map +0 -1
- package/esm/plugins/pagination/components/Paginator.js.map +0 -1
- package/esm/plugins/pagination/components/PerPageDropdown.js.map +0 -1
- package/esm/plugins/pagination/helper.js.map +0 -1
- package/esm/plugins/pagination/index.js.map +0 -1
- package/esm/plugins/pagination/usePaginationState.js.map +0 -1
- package/esm/plugins/resizable/ResizablePlugin.js.map +0 -1
- package/esm/plugins/resizable/decorateResizable.js.map +0 -1
- package/esm/plugins/resizable/index.js.map +0 -1
- package/esm/plugins/resizable/useResizeHandle.js.map +0 -1
- package/esm/plugins/resizable/utils.js.map +0 -1
- package/esm/plugins/row-dnd/DndRowsPlugin.js.map +0 -1
- package/esm/plugins/row-dnd/index.js.map +0 -1
- package/esm/plugins/selectable/SelectablePlugin.js.map +0 -1
- package/esm/plugins/selectable/addSelectableColumn.js.map +0 -1
- package/esm/plugins/selectable/helper.js.map +0 -1
- package/esm/plugins/selectable/index.js.map +0 -1
- package/esm/plugins/selectable/selectableFormatter.js.map +0 -1
- package/esm/plugins/selectable/useSelectableState.js.map +0 -1
- package/esm/plugins/sortable/SortablePlugin.js.map +0 -1
- package/esm/plugins/sortable/checkIfSortable.js.map +0 -1
- package/esm/plugins/sortable/index.js.map +0 -1
- package/esm/plugins/sortable/sortHeaderFormatter.js.map +0 -1
- package/esm/plugins/sortable/sortTree.js.map +0 -1
- package/esm/plugins/sortable/sorter.js.map +0 -1
- package/esm/plugins/sortable/useSortableState.js.map +0 -1
- package/esm/plugins/toolbar/RowRenderer.js.map +0 -1
- package/esm/plugins/toolbar/ToolbarPlugin.js.map +0 -1
- package/esm/plugins/toolbar/ToolbarTrigger.js.map +0 -1
- package/esm/plugins/toolbar/index.js.map +0 -1
- package/esm/plugins/virtualization/AutoHeightList.js.map +0 -1
- package/esm/plugins/virtualization/VirtualizationPlugin.js.map +0 -1
- package/esm/plugins/virtualization/VirtualizedBody.js.map +0 -1
- package/esm/plugins/virtualization/VirtualizedBodyRow.js.map +0 -1
- package/esm/plugins/virtualization/helper.js.map +0 -1
- package/esm/plugins/virtualization/index.js.map +0 -1
- package/esm/renders/CellWithAddons.js.map +0 -1
- package/esm/renders/index.js.map +0 -1
- package/esm/renders/styled.js.map +0 -1
- package/esm/rowSizes.js.map +0 -1
- package/esm/utilities/getPluginsFromProps.js.map +0 -1
- package/esm/utilities/getScrollbarSize.js.map +0 -1
- package/esm/utilities/normalizeData.js.map +0 -1
- package/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin/package.json +0 -10
- package/plugins/body-header-scroll-sync/package.json +0 -10
- package/plugins/column-dnd/DndColumnsPlugin/package.json +0 -10
- package/plugins/column-dnd/decorateGridWithDndColumns/package.json +0 -10
- package/plugins/column-dnd/package.json +0 -10
- package/plugins/column-sizing/ColumnSizingPlugin/package.json +0 -10
- package/plugins/column-sizing/columnMeasurerTransformer/package.json +0 -10
- package/plugins/column-sizing/ext-points/decorateColumn/package.json +0 -10
- package/plugins/column-sizing/ext-points/getTableProps/package.json +0 -10
- package/plugins/column-sizing/getColumnNameFromProperty/package.json +0 -10
- package/plugins/column-sizing/package.json +0 -10
- package/plugins/column-sizing/useColumnSizeService/package.json +0 -10
- package/plugins/column-sizing/useStylesheetHelpers/package.json +0 -10
- package/plugins/column-sizing/utils/package.json +0 -10
- package/plugins/custom-cell-renderer/CustomRendererPlugin/package.json +0 -10
- package/plugins/custom-cell-renderer/addCustomRendererToCell/package.json +0 -10
- package/plugins/custom-cell-renderer/getRendererComponent/package.json +0 -10
- package/plugins/custom-cell-renderer/package.json +0 -10
- package/plugins/editable/EditableComponents/ComboBox/package.json +0 -10
- package/plugins/editable/EditableComponents/TextBox/package.json +0 -10
- package/plugins/editable/EditableComponents/package.json +0 -10
- package/plugins/editable/EditablePlugin/package.json +0 -10
- package/plugins/editable/decorateEditable/package.json +0 -10
- package/plugins/editable/getEditorComponent/package.json +0 -10
- package/plugins/editable/package.json +0 -10
- package/plugins/expandable-grid/ExpandableColumn/package.json +0 -10
- package/plugins/expandable-grid/ExpandablePlugin/package.json +0 -10
- package/plugins/expandable-grid/ExpandedRow/package.json +0 -10
- package/plugins/expandable-grid/ExpandedRowExtra/package.json +0 -10
- package/plugins/expandable-grid/package.json +0 -10
- package/plugins/expandable-grid/useExpandGridState/package.json +0 -10
- package/plugins/export-data/ExportDataPlugin/package.json +0 -10
- package/plugins/export-data/package.json +0 -10
- package/plugins/filterable/FilterablePlugin/package.json +0 -10
- package/plugins/filterable/addFilterToColumn/package.json +0 -10
- package/plugins/filterable/components/FilterableHeader/package.json +0 -10
- package/plugins/filterable/components/filterable-menus/DateRangeFilterMenu/package.json +0 -10
- package/plugins/filterable/components/filterable-menus/SingleDateFilterMenu/package.json +0 -10
- package/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu/package.json +0 -10
- package/plugins/filterable/components/filterable-menus/TextFilterMenu/package.json +0 -10
- package/plugins/filterable/components/filterable-menus/defaultDateFormat/package.json +0 -10
- package/plugins/filterable/components/filterable-menus/getFilterMenuByType/package.json +0 -10
- package/plugins/filterable/filterableFormatter/package.json +0 -10
- package/plugins/filterable/filtering-helper/filterRowsByQuery/package.json +0 -10
- package/plugins/filterable/filtering-helper/strategiesOperators/package.json +0 -10
- package/plugins/filterable/helper/package.json +0 -10
- package/plugins/filterable/package.json +0 -10
- package/plugins/filterable/useFilterableState/package.json +0 -10
- package/plugins/grouping-by/GroupingByPlugin/package.json +0 -10
- package/plugins/grouping-grid/GroupingPlugin/package.json +0 -10
- package/plugins/grouping-grid/walkStrategy/package.json +0 -10
- package/plugins/infinite-scrolling/InfiniteScrollPlugin/package.json +0 -10
- package/plugins/infinite-scrolling/package.json +0 -10
- package/plugins/package.json +0 -10
- package/plugins/pagination/PaginationPlugin/package.json +0 -10
- package/plugins/pagination/components/Pagination/package.json +0 -10
- package/plugins/pagination/components/Paginator/package.json +0 -10
- package/plugins/pagination/components/PerPageDropdown/package.json +0 -10
- package/plugins/pagination/helper/package.json +0 -10
- package/plugins/pagination/package.json +0 -10
- package/plugins/pagination/usePaginationState/package.json +0 -10
- package/plugins/resizable/ResizablePlugin/package.json +0 -10
- package/plugins/resizable/decorateResizable/package.json +0 -10
- package/plugins/resizable/package.json +0 -10
- package/plugins/resizable/useResizeHandle/package.json +0 -10
- package/plugins/resizable/utils/package.json +0 -10
- package/plugins/row-dnd/DndRowsPlugin/package.json +0 -10
- package/plugins/row-dnd/package.json +0 -10
- package/plugins/selectable/SelectablePlugin/package.json +0 -10
- package/plugins/selectable/addSelectableColumn/package.json +0 -10
- package/plugins/selectable/helper/package.json +0 -10
- package/plugins/selectable/package.json +0 -10
- package/plugins/selectable/selectableFormatter/package.json +0 -10
- package/plugins/selectable/useSelectableState/package.json +0 -10
- package/plugins/sortable/SortablePlugin/package.json +0 -10
- package/plugins/sortable/checkIfSortable/package.json +0 -10
- package/plugins/sortable/package.json +0 -10
- package/plugins/sortable/sortHeaderFormatter/package.json +0 -10
- package/plugins/sortable/sortTree/package.json +0 -10
- package/plugins/sortable/sorter/package.json +0 -10
- package/plugins/sortable/useSortableState/package.json +0 -10
- package/plugins/toolbar/RowRenderer/package.json +0 -10
- package/plugins/toolbar/ToolbarPlugin/package.json +0 -10
- package/plugins/toolbar/ToolbarTrigger/package.json +0 -10
- package/plugins/toolbar/package.json +0 -10
- package/plugins/virtualization/AutoHeightList/package.json +0 -10
- package/plugins/virtualization/VirtualizationPlugin/package.json +0 -10
- package/plugins/virtualization/VirtualizedBody/package.json +0 -10
- package/plugins/virtualization/VirtualizedBodyRow/package.json +0 -10
- package/plugins/virtualization/helper/package.json +0 -10
- package/plugins/virtualization/package.json +0 -10
- package/renders/CellWithAddons/package.json +0 -10
- package/renders/package.json +0 -10
- package/renders/styled/package.json +0 -10
- package/rowSizes/package.json +0 -10
- package/utilities/getPluginsFromProps/package.json +0 -10
- package/utilities/getScrollbarSize/package.json +0 -10
- package/utilities/normalizeData/package.json +0 -10
|
@@ -1,25 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
function VirtualizedBodyRow(_ref) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
let {
|
|
5
|
+
data,
|
|
6
|
+
index,
|
|
7
|
+
style,
|
|
8
|
+
key,
|
|
9
|
+
isScrolling
|
|
10
|
+
} = _ref;
|
|
11
|
+
const {
|
|
12
|
+
rows,
|
|
13
|
+
renderer: {
|
|
14
|
+
rowRenderer
|
|
15
|
+
}
|
|
16
|
+
} = data;
|
|
17
|
+
const rowData = rows[index];
|
|
12
18
|
return rowRenderer(rowData, {
|
|
13
|
-
style
|
|
14
|
-
index
|
|
19
|
+
style,
|
|
20
|
+
index,
|
|
15
21
|
rowIndex: index,
|
|
16
|
-
key
|
|
22
|
+
key
|
|
17
23
|
}, {
|
|
18
24
|
// eslint-disable-next-line no-underscore-dangle
|
|
19
25
|
rowIndex: index,
|
|
20
|
-
isScrolling
|
|
26
|
+
isScrolling
|
|
21
27
|
});
|
|
22
28
|
}
|
|
23
29
|
|
|
24
30
|
module.exports = VirtualizedBodyRow;
|
|
25
|
-
//# sourceMappingURL=VirtualizedBodyRow.js.map
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const isSafari = navigator.vendor && navigator.vendor.indexOf('Apple') > -1 && navigator.userAgent && navigator.userAgent.indexOf('CriOS') === -1 && navigator.userAgent.indexOf('FxiOS') === -1;
|
|
6
6
|
|
|
7
7
|
exports.isSafari = isSafari;
|
|
8
|
-
//# sourceMappingURL=helper.js.map
|
|
@@ -2,26 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('@babel/runtime/helpers/extends');
|
|
7
|
-
require('@babel/runtime/helpers/defineProperty');
|
|
8
|
-
require('react');
|
|
9
|
-
require('lodash');
|
|
10
|
-
require('@elliemae/ds-shared/FocusGroup/FocusGrid');
|
|
11
|
-
require('@elliemae/ds-utilities');
|
|
12
|
-
require('@elliemae/ds-shared/createDataInstance/createInstancePlugin');
|
|
13
|
-
require('./VirtualizedBody.js');
|
|
14
|
-
require('@babel/runtime/helpers/slicedToArray');
|
|
15
|
-
require('prop-types');
|
|
16
|
-
require('../../components/NoResults.js');
|
|
17
|
-
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
18
|
-
require('styled-components');
|
|
19
|
-
require('@elliemae/ds-system');
|
|
20
|
-
require('./VirtualizedBodyRow.js');
|
|
21
|
-
require('../../rowSizes.js');
|
|
22
|
-
require('./helper.js');
|
|
5
|
+
var VirtualizationPlugin = require('./VirtualizationPlugin.js');
|
|
23
6
|
|
|
24
7
|
|
|
25
8
|
|
|
26
|
-
exports.VirtualizationPlugin =
|
|
27
|
-
//# sourceMappingURL=index.js.map
|
|
9
|
+
exports.VirtualizationPlugin = VirtualizationPlugin.VirtualizationPlugin;
|
|
@@ -2,108 +2,62 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _jsx = require('@babel/runtime/helpers/jsx');
|
|
6
|
+
require('react');
|
|
6
7
|
var lodash = require('lodash');
|
|
7
|
-
var PropTypes = require('prop-types');
|
|
8
8
|
var Grid = require('@elliemae/ds-grid');
|
|
9
9
|
var DSTruncatedTooltipText = require('@elliemae/ds-truncated-tooltip-text');
|
|
10
|
-
var
|
|
11
|
-
require('styled-components');
|
|
10
|
+
var styled = require('./styled.js');
|
|
12
11
|
|
|
13
12
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14
13
|
|
|
15
|
-
var
|
|
16
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
14
|
+
var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
|
|
17
15
|
var Grid__default = /*#__PURE__*/_interopDefaultLegacy(Grid);
|
|
18
16
|
var DSTruncatedTooltipText__default = /*#__PURE__*/_interopDefaultLegacy(DSTruncatedTooltipText);
|
|
19
17
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
18
|
+
const CellWithAddons = _ref => {
|
|
19
|
+
let {
|
|
20
|
+
leftAddon,
|
|
21
|
+
keepLeftPadding,
|
|
22
|
+
rightAddon,
|
|
23
|
+
badgeAddon,
|
|
24
|
+
highLight,
|
|
25
|
+
isEdit,
|
|
26
|
+
editComponent,
|
|
27
|
+
value,
|
|
28
|
+
neutralText,
|
|
29
|
+
metaData
|
|
30
|
+
} = _ref;
|
|
31
|
+
const hasLeftAddon = !!leftAddon || keepLeftPadding;
|
|
32
|
+
const hasRightAddon = !!rightAddon && !isEdit;
|
|
33
|
+
const cols = [1];
|
|
34
|
+
const shouldBeGray = neutralText || lodash.get(metaData, 'rowData.customRowProps.neutralText');
|
|
35
35
|
if (hasLeftAddon) cols.unshift('auto');
|
|
36
36
|
if (hasRightAddon) cols.push('auto');
|
|
37
|
-
return /*#__PURE__*/
|
|
37
|
+
return /*#__PURE__*/_jsx__default["default"](styled.CellWrapper, {
|
|
38
38
|
noPadding: hasLeftAddon || badgeAddon || highLight || hasRightAddon,
|
|
39
39
|
hasLeftAddon: hasLeftAddon,
|
|
40
40
|
hasRightAddon: hasRightAddon,
|
|
41
41
|
badgeAddon: badgeAddon,
|
|
42
42
|
highLight: highLight
|
|
43
|
-
}, /*#__PURE__*/
|
|
43
|
+
}, void 0, /*#__PURE__*/_jsx__default["default"](Grid__default["default"], {
|
|
44
44
|
height: "100%",
|
|
45
45
|
cols: cols
|
|
46
|
-
}, hasLeftAddon && /*#__PURE__*/
|
|
46
|
+
}, void 0, hasLeftAddon && /*#__PURE__*/_jsx__default["default"](Grid__default["default"], {
|
|
47
47
|
alignItems: "center",
|
|
48
48
|
pl: "xxs",
|
|
49
49
|
pr: "xxs",
|
|
50
50
|
width: keepLeftPadding ? '32px' : undefined
|
|
51
|
-
}, hasLeftAddon && leftAddon), /*#__PURE__*/
|
|
51
|
+
}, void 0, hasLeftAddon && leftAddon), /*#__PURE__*/_jsx__default["default"](Grid__default["default"], {
|
|
52
52
|
alignItems: "center"
|
|
53
|
-
}, /*#__PURE__*/
|
|
53
|
+
}, void 0, /*#__PURE__*/_jsx__default["default"](styled.ValueWrapper, {
|
|
54
54
|
grayText: shouldBeGray
|
|
55
|
-
}, isEdit ? editComponent : /*#__PURE__*/
|
|
55
|
+
}, void 0, isEdit ? editComponent : /*#__PURE__*/_jsx__default["default"](DSTruncatedTooltipText__default["default"], {
|
|
56
56
|
value: value
|
|
57
|
-
}))), hasRightAddon && /*#__PURE__*/
|
|
57
|
+
}))), hasRightAddon && /*#__PURE__*/_jsx__default["default"](Grid__default["default"], {
|
|
58
58
|
alignItems: "center",
|
|
59
59
|
pl: "xxs"
|
|
60
|
-
}, rightAddon)));
|
|
61
|
-
};
|
|
62
|
-
CellWithAddons.propTypes = {
|
|
63
|
-
/** Text to render inside the cell */
|
|
64
|
-
value: PropTypes__default['default'].oneOfType([PropTypes__default['default'].string, PropTypes__default['default'].number]),
|
|
65
|
-
|
|
66
|
-
/** Left Icon */
|
|
67
|
-
leftAddon: PropTypes__default['default'].element,
|
|
68
|
-
|
|
69
|
-
/** keep the left spacing even if no left addons is addded */
|
|
70
|
-
keepLeftPadding: PropTypes__default['default'].bool,
|
|
71
|
-
|
|
72
|
-
/** Right Icon Button or Dropdown */
|
|
73
|
-
rightAddon: PropTypes__default['default'].element,
|
|
74
|
-
|
|
75
|
-
/** TextBox/InputMask/ComboBox */
|
|
76
|
-
editComponent: PropTypes__default['default'].element,
|
|
77
|
-
|
|
78
|
-
/** if is true it will show editComponent */
|
|
79
|
-
isEdit: PropTypes__default['default'].bool,
|
|
80
|
-
|
|
81
|
-
/** Shows a blue mark in the top left corner */
|
|
82
|
-
badgeAddon: PropTypes__default['default'].bool,
|
|
83
|
-
|
|
84
|
-
/** change background color to light blue */
|
|
85
|
-
highLight: PropTypes__default['default'].bool,
|
|
86
|
-
|
|
87
|
-
/** change text color to light gray */
|
|
88
|
-
neutralText: PropTypes__default['default'].bool,
|
|
89
|
-
|
|
90
|
-
/** data grid meta-information */
|
|
91
|
-
metaData: PropTypes__default['default'].shape({
|
|
92
|
-
className: PropTypes__default['default'].string,
|
|
93
|
-
column: PropTypes__default['default'].object,
|
|
94
|
-
columnIndex: PropTypes__default['default'].number,
|
|
95
|
-
index: PropTypes__default['default'].number,
|
|
96
|
-
isScrolling: PropTypes__default['default'].bool,
|
|
97
|
-
key: PropTypes__default['default'].string,
|
|
98
|
-
parentRowData: PropTypes__default['default'].any,
|
|
99
|
-
property: PropTypes__default['default'].string,
|
|
100
|
-
registerFocus: PropTypes__default['default'].func,
|
|
101
|
-
rowData: PropTypes__default['default'].object,
|
|
102
|
-
rowIndex: PropTypes__default['default'].number,
|
|
103
|
-
rowKey: PropTypes__default['default'].string,
|
|
104
|
-
style: PropTypes__default['default'].object
|
|
105
|
-
})
|
|
60
|
+
}, void 0, rightAddon)));
|
|
106
61
|
};
|
|
107
62
|
|
|
108
63
|
exports.CellWithAddons = CellWithAddons;
|
|
109
|
-
//# sourceMappingURL=CellWithAddons.js.map
|
package/cjs/renders/index.js
CHANGED
|
@@ -2,17 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
require('react');
|
|
8
|
-
require('lodash');
|
|
9
|
-
require('prop-types');
|
|
10
|
-
require('@elliemae/ds-grid');
|
|
11
|
-
require('@elliemae/ds-truncated-tooltip-text');
|
|
12
|
-
require('styled-components');
|
|
5
|
+
var CellWithAddons = require('./CellWithAddons.js');
|
|
6
|
+
var styled = require('./styled.js');
|
|
13
7
|
|
|
14
8
|
|
|
15
9
|
|
|
16
|
-
exports.CellWithAddons =
|
|
17
|
-
exports.CellContainer =
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
10
|
+
exports.CellWithAddons = CellWithAddons.CellWithAddons;
|
|
11
|
+
exports.CellContainer = styled.CellContainer;
|
package/cjs/renders/styled.js
CHANGED
|
@@ -10,35 +10,18 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
10
10
|
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
11
11
|
var Grid__default = /*#__PURE__*/_interopDefaultLegacy(Grid);
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
const m = '0.61538rem';
|
|
14
|
+
const m2 = '1.23076rem';
|
|
15
|
+
const CellWrapper = /*#__PURE__*/styled__default["default"].div.withConfig({
|
|
16
16
|
componentId: "sc-1n8exyf-0"
|
|
17
|
-
})(["max-height:36px;height:100%;width:", ";margin-left:", ";margin-right:", ";padding-left:", ";padding-right:", ";", ";", ""],
|
|
18
|
-
|
|
19
|
-
}, function (props) {
|
|
20
|
-
return props.noPadding ? "-".concat(m) : '0';
|
|
21
|
-
}, function (props) {
|
|
22
|
-
return props.noPadding ? "-".concat(m) : '0';
|
|
23
|
-
}, function (props) {
|
|
24
|
-
return !props.hasLeftAddon && (props.badgeAddon || props.highLight || props.hasRightAddon) ? m : '0';
|
|
25
|
-
}, function (props) {
|
|
26
|
-
return !props.hasRightAddon && (props.badgeAddon || props.highLight || props.hasLeftAddon) ? m : '0';
|
|
27
|
-
}, function (props) {
|
|
28
|
-
return props.highLight ? "background: ".concat(props.theme.colors.brand['200']) : '';
|
|
29
|
-
}, function (props) {
|
|
30
|
-
return props.badgeAddon ? "\n position: relative; \n &::before {\n display: block;\n content: '';\n position: absolute;\n top: 0;\n left:0;\n border-style: solid;\n border-width: ".concat(props.theme.space.xxs, " ").concat(props.theme.space.xxs, " ").concat(props.theme.space.xxs, " 0;\n border-color: ").concat(props.theme.colors.brand['600'], " transparent transparent ").concat(props.theme.colors.brand['600'], ";\n }\n ") : '';
|
|
31
|
-
});
|
|
32
|
-
var ValueWrapper = /*#__PURE__*/styled__default['default'].div.withConfig({
|
|
17
|
+
})(["max-height:36px;height:100%;width:", ";margin-left:", ";margin-right:", ";padding-left:", ";padding-right:", ";", ";", ""], props => props.noPadding ? "calc(100% + ".concat(m2, ")") : '100%', props => props.noPadding ? "-".concat(m) : '0', props => props.noPadding ? "-".concat(m) : '0', props => !props.hasLeftAddon && (props.badgeAddon || props.highLight || props.hasRightAddon) ? m : '0', props => !props.hasRightAddon && (props.badgeAddon || props.highLight || props.hasLeftAddon) ? m : '0', props => props.highLight ? "background: ".concat(props.theme.colors.brand['200']) : '', props => props.badgeAddon ? "\n position: relative; \n &::before {\n display: block;\n content: '';\n position: absolute;\n top: 0;\n left:0;\n border-style: solid;\n border-width: ".concat(props.theme.space.xxs, " ").concat(props.theme.space.xxs, " ").concat(props.theme.space.xxs, " 0;\n border-color: ").concat(props.theme.colors.brand['600'], " transparent transparent ").concat(props.theme.colors.brand['600'], ";\n }\n ") : '');
|
|
18
|
+
const ValueWrapper = /*#__PURE__*/styled__default["default"].div.withConfig({
|
|
33
19
|
componentId: "sc-1n8exyf-1"
|
|
34
|
-
})(["display:flex;align-items:center;overflow:hidden;& > span{display:inline-flex;align-items:center;}", ""],
|
|
35
|
-
|
|
36
|
-
});
|
|
37
|
-
var CellContainer = /*#__PURE__*/styled__default['default'](Grid__default['default']).withConfig({
|
|
20
|
+
})(["display:flex;align-items:center;overflow:hidden;& > span{display:inline-flex;align-items:center;}", ""], props => props.grayText ? "color: ".concat(props.theme.colors.neutral['500'], ";") : '');
|
|
21
|
+
const CellContainer = /*#__PURE__*/styled__default["default"](Grid__default["default"]).withConfig({
|
|
38
22
|
componentId: "sc-1n8exyf-2"
|
|
39
23
|
})(["padding-left:", ";padding-right:", ";position:relative;"], m, m);
|
|
40
24
|
|
|
41
25
|
exports.CellContainer = CellContainer;
|
|
42
26
|
exports.CellWrapper = CellWrapper;
|
|
43
27
|
exports.ValueWrapper = ValueWrapper;
|
|
44
|
-
//# sourceMappingURL=styled.js.map
|
package/cjs/rowSizes.js
CHANGED
|
@@ -2,19 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const RowSizes = {
|
|
6
6
|
compact: 28,
|
|
7
7
|
normal: 36,
|
|
8
8
|
extend: 56
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
const RowSizesOptions = {
|
|
11
11
|
compact: 'compact',
|
|
12
12
|
normal: 'normal',
|
|
13
13
|
extend: 'extend'
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
const RowSizesOptionsArr = [RowSizesOptions.compact, RowSizesOptions.normal, RowSizesOptions.extend];
|
|
16
16
|
|
|
17
17
|
exports.RowSizes = RowSizes;
|
|
18
18
|
exports.RowSizesOptions = RowSizesOptions;
|
|
19
19
|
exports.RowSizesOptionsArr = RowSizesOptionsArr;
|
|
20
|
-
//# sourceMappingURL=rowSizes.js.map
|
|
@@ -1,150 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
require('
|
|
17
|
-
require('
|
|
18
|
-
require('
|
|
19
|
-
require('react-sortable-hoc');
|
|
20
|
-
require('@elliemae/ds-icons');
|
|
21
|
-
require('@elliemae/ds-utilities');
|
|
22
|
-
require('@elliemae/ds-shared/useDataGrid/initColumnDefinition');
|
|
23
|
-
require('@elliemae/ds-shared/createDataInstance/createInstancePlugin');
|
|
24
|
-
require('../plugins/column-dnd/decorateGridWithDndColumns.js');
|
|
25
|
-
require('@babel/runtime/helpers/slicedToArray');
|
|
26
|
-
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
27
|
-
require('@babel/runtime/helpers/asyncToGenerator');
|
|
28
|
-
require('@babel/runtime/regenerator');
|
|
29
|
-
require('../plugins/editable/decorateEditable.js');
|
|
30
|
-
require('react-edit');
|
|
31
|
-
require('../plugins/editable/getEditorComponent.js');
|
|
32
|
-
require('@babel/runtime/helpers/extends');
|
|
33
|
-
require('../plugins/editable/EditableComponents/ComboBox.js');
|
|
34
|
-
require('@babel/runtime/helpers/classCallCheck');
|
|
35
|
-
require('@babel/runtime/helpers/createClass');
|
|
36
|
-
require('@babel/runtime/helpers/assertThisInitialized');
|
|
37
|
-
require('@babel/runtime/helpers/inherits');
|
|
38
|
-
require('@babel/runtime/helpers/possibleConstructorReturn');
|
|
39
|
-
require('@babel/runtime/helpers/getPrototypeOf');
|
|
40
|
-
require('@elliemae/ds-form');
|
|
41
|
-
require('../plugins/editable/EditableComponents/TextBox.js');
|
|
42
|
-
require('sortabular');
|
|
43
|
-
require('../plugins/sortable/sortHeaderFormatter.js');
|
|
44
|
-
require('@elliemae/ds-classnames');
|
|
45
|
-
require('../plugins/sortable/useSortableState.js');
|
|
46
|
-
require('sortabular/dist');
|
|
47
|
-
require('../plugins/sortable/checkIfSortable.js');
|
|
48
|
-
require('../plugins/sortable/sorter.js');
|
|
49
|
-
require('moment');
|
|
50
|
-
require('obj-str');
|
|
51
|
-
require('../plugins/selectable/addSelectableColumn.js');
|
|
52
|
-
require('../plugins/selectable/selectableFormatter.js');
|
|
53
|
-
require('../plugins/selectable/useSelectableState.js');
|
|
54
|
-
require('../plugins/selectable/helper.js');
|
|
55
|
-
require('../plugins/filterable/addFilterToColumn.js');
|
|
56
|
-
require('../plugins/filterable/filterableFormatter.js');
|
|
57
|
-
require('../plugins/filterable/components/FilterableHeader.js');
|
|
58
|
-
require('prop-types');
|
|
59
|
-
require('@elliemae/ds-system');
|
|
60
|
-
require('../plugins/filterable/components/filterable-menus/getFilterMenuByType.js');
|
|
61
|
-
require('../plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js');
|
|
62
|
-
require('@elliemae/ds-controlled-form');
|
|
63
|
-
require('@elliemae/ds-popper');
|
|
64
|
-
require('@elliemae/ds-button');
|
|
65
|
-
require('../plugins/filterable/components/filterable-menus/defaultDateFormat.js');
|
|
66
|
-
require('../plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js');
|
|
67
|
-
require('@elliemae/ds-grid');
|
|
68
|
-
require('../plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js');
|
|
69
|
-
require('@elliemae/ds-basic/Popper');
|
|
70
|
-
require('@elliemae/ds-basic/Button');
|
|
71
|
-
require('styled-components');
|
|
72
|
-
require('../plugins/filterable/components/filterable-menus/TextFilterMenu.js');
|
|
73
|
-
require('lodash');
|
|
74
|
-
require('@elliemae/ds-dropdownmenu');
|
|
75
|
-
require('@elliemae/ds-menu');
|
|
76
|
-
require('../plugins/filterable/helper.js');
|
|
77
|
-
require('../plugins/filterable/filtering-helper/filterRowsByQuery.js');
|
|
78
|
-
require('../plugins/filterable/filtering-helper/strategiesOperators.js');
|
|
79
|
-
require('comparejs');
|
|
80
|
-
require('../plugins/filterable/useFilterableState.js');
|
|
81
|
-
require('uuid');
|
|
82
|
-
require('../plugins/toolbar/RowRenderer.js');
|
|
83
|
-
require('../plugins/toolbar/ToolbarTrigger.js');
|
|
84
|
-
require('../rowSizes.js');
|
|
85
|
-
require('@elliemae/ds-shared/FocusGroup/FocusGrid');
|
|
86
|
-
require('../plugins/pagination/helper.js');
|
|
87
|
-
require('../plugins/pagination/usePaginationState.js');
|
|
88
|
-
require('../components/NoResults.js');
|
|
89
|
-
require('../plugins/virtualization/VirtualizedBody.js');
|
|
90
|
-
require('../plugins/virtualization/VirtualizedBodyRow.js');
|
|
91
|
-
require('../plugins/virtualization/helper.js');
|
|
92
|
-
require('react-window');
|
|
93
|
-
require('../plugins/expandable-grid/ExpandedRow.js');
|
|
94
|
-
require('@elliemae/ds-separator');
|
|
95
|
-
require('@elliemae/ds-shared/defer-render-hoc');
|
|
96
|
-
require('@elliemae/ds-shared/useDataGrid');
|
|
97
|
-
require('../components/BodyCell.js');
|
|
98
|
-
require('@elliemae/ds-shared/createDataInstance/utils');
|
|
99
|
-
require('@elliemae/ds-truncated-tooltip-text');
|
|
100
|
-
require('../index-0be12eb8.js');
|
|
101
|
-
require('../components/renderers/defaultClassedRenderers.js');
|
|
102
|
-
require('../blockNames.js');
|
|
103
|
-
require('../components/renderers/renderRowsLoader.js');
|
|
104
|
-
require('../components/RowsLoader.js');
|
|
105
|
-
require('@elliemae/ds-spinner');
|
|
106
|
-
require('../components/TableBody.js');
|
|
107
|
-
require('../components/tableContext.js');
|
|
108
|
-
require('../components/Table.js');
|
|
109
|
-
require('../components/TableHeader.js');
|
|
110
|
-
require('../components/HeaderCell.js');
|
|
111
|
-
require('../plugins/column-sizing/ColumnSizingPlugin.js');
|
|
112
|
-
require('../plugins/column-sizing/useStylesheetHelpers.js');
|
|
113
|
-
require('stylesheet-helpers');
|
|
114
|
-
require('../plugins/column-sizing/getColumnNameFromProperty.js');
|
|
115
|
-
require('./getScrollbarSize.js');
|
|
116
|
-
require('../plugins/column-sizing/useColumnSizeService.js');
|
|
117
|
-
require('../plugins/column-sizing/utils.js');
|
|
118
|
-
require('../plugins/column-sizing/ext-points/getTableProps.js');
|
|
119
|
-
require('../plugins/column-sizing/ext-points/decorateColumn.js');
|
|
120
|
-
require('../plugins/column-sizing/columnMeasurerTransformer.js');
|
|
121
|
-
require('../plugins/expandable-grid/ExpandedRowExtra.js');
|
|
122
|
-
require('../plugins/expandable-grid/useExpandGridState.js');
|
|
123
|
-
require('../plugins/grouping-grid/walkStrategy.js');
|
|
3
|
+
require('core-js/modules/esnext.async-iterator.for-each.js');
|
|
4
|
+
require('core-js/modules/esnext.iterator.constructor.js');
|
|
5
|
+
require('core-js/modules/esnext.iterator.for-each.js');
|
|
6
|
+
var DndRowsPlugin = require('../plugins/row-dnd/DndRowsPlugin.js');
|
|
7
|
+
var DndColumnsPlugin = require('../plugins/column-dnd/DndColumnsPlugin.js');
|
|
8
|
+
var InfiniteScrollPlugin = require('../plugins/infinite-scrolling/InfiniteScrollPlugin.js');
|
|
9
|
+
var EditablePlugin = require('../plugins/editable/EditablePlugin.js');
|
|
10
|
+
var SortablePlugin = require('../plugins/sortable/SortablePlugin.js');
|
|
11
|
+
var SelectablePlugin = require('../plugins/selectable/SelectablePlugin.js');
|
|
12
|
+
var FilterablePlugin = require('../plugins/filterable/FilterablePlugin.js');
|
|
13
|
+
var ToolbarPlugin = require('../plugins/toolbar/ToolbarPlugin.js');
|
|
14
|
+
var PaginationPlugin = require('../plugins/pagination/PaginationPlugin.js');
|
|
15
|
+
var VirtualizationPlugin = require('../plugins/virtualization/VirtualizationPlugin.js');
|
|
16
|
+
var ExpandablePlugin = require('../plugins/expandable-grid/ExpandablePlugin.js');
|
|
17
|
+
var GroupingPlugin = require('../plugins/grouping-grid/GroupingPlugin.js');
|
|
18
|
+
var GroupingByPlugin = require('../plugins/grouping-by/GroupingByPlugin.js');
|
|
124
19
|
|
|
125
|
-
|
|
126
|
-
dragAndDropColumns:
|
|
127
|
-
editable:
|
|
128
|
-
selectable:
|
|
129
|
-
sortable:
|
|
130
|
-
searchFilters:
|
|
131
|
-
renderToolbar:
|
|
132
|
-
infiniteScrolling:
|
|
133
|
-
paginated:
|
|
134
|
-
virtualized:
|
|
135
|
-
expandable:
|
|
136
|
-
groupedBy:
|
|
137
|
-
groupedRows:
|
|
138
|
-
dragAndDropRows:
|
|
20
|
+
const mapPropToPlugin = {
|
|
21
|
+
dragAndDropColumns: DndColumnsPlugin.DndColumnsPlugin,
|
|
22
|
+
editable: EditablePlugin.EditablePlugin,
|
|
23
|
+
selectable: SelectablePlugin.SelectablePlugin,
|
|
24
|
+
sortable: SortablePlugin.SortablePlugin,
|
|
25
|
+
searchFilters: FilterablePlugin.FilterablePlugin,
|
|
26
|
+
renderToolbar: ToolbarPlugin.ToolbarPlugin,
|
|
27
|
+
infiniteScrolling: InfiniteScrollPlugin.InfiniteScrollPlugin,
|
|
28
|
+
paginated: PaginationPlugin.PaginationPlugin,
|
|
29
|
+
virtualized: VirtualizationPlugin.VirtualizationPlugin,
|
|
30
|
+
expandable: ExpandablePlugin.ExpandablePlugin,
|
|
31
|
+
groupedBy: GroupingByPlugin.GroupingByPlugin,
|
|
32
|
+
groupedRows: GroupingPlugin.GroupingPlugin,
|
|
33
|
+
dragAndDropRows: DndRowsPlugin.DndRowsPlugin
|
|
139
34
|
};
|
|
140
35
|
function getPluginsFromProps(props) {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
Object.keys(mapPropToPlugin).forEach(
|
|
36
|
+
let omit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
37
|
+
const plugins = [];
|
|
38
|
+
Object.keys(mapPropToPlugin).forEach(key => {
|
|
144
39
|
if (props[key] && !omit[key]) plugins.push(mapPropToPlugin[key]);
|
|
145
40
|
});
|
|
146
41
|
return plugins;
|
|
147
42
|
}
|
|
148
43
|
|
|
149
44
|
module.exports = getPluginsFromProps;
|
|
150
|
-
//# sourceMappingURL=getPluginsFromProps.js.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
function getScrollbarWidth() {
|
|
6
|
-
|
|
6
|
+
let compensatePixels = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
7
7
|
// Creating invisible container
|
|
8
|
-
|
|
8
|
+
const outer = document.createElement('div');
|
|
9
9
|
outer.style.visibility = 'hidden';
|
|
10
10
|
outer.style.overflow = 'scroll'; // forcing scrollbar to appear
|
|
11
11
|
|
|
@@ -13,10 +13,10 @@ function getScrollbarWidth() {
|
|
|
13
13
|
|
|
14
14
|
document.body.appendChild(outer); // Creating inner element and placing it in the container
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
const inner = document.createElement('div');
|
|
17
17
|
outer.appendChild(inner); // Calculating difference between container's full width and the child width
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
const scrollbarWidth = outer.offsetWidth - inner.offsetWidth; // Removing temporary elements from the DOM
|
|
20
20
|
|
|
21
21
|
outer.parentNode.removeChild(outer); // compensatePixels to check for MacOS's show
|
|
22
22
|
// scrollbar only when moving it
|
|
@@ -25,4 +25,3 @@ function getScrollbarWidth() {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
exports.getScrollbarWidth = getScrollbarWidth;
|
|
28
|
-
//# sourceMappingURL=getScrollbarSize.js.map
|
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
6
|
+
require('core-js/modules/esnext.async-iterator.map.js');
|
|
7
|
+
require('core-js/modules/esnext.iterator.map.js');
|
|
8
|
+
require('core-js/modules/esnext.async-iterator.for-each.js');
|
|
9
|
+
require('core-js/modules/esnext.iterator.constructor.js');
|
|
10
|
+
require('core-js/modules/esnext.iterator.for-each.js');
|
|
11
|
+
require('core-js/modules/es.string.replace.js');
|
|
12
|
+
require('core-js/modules/esnext.async-iterator.filter.js');
|
|
13
|
+
require('core-js/modules/esnext.iterator.filter.js');
|
|
6
14
|
|
|
7
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
16
|
|
|
@@ -10,30 +18,22 @@ var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_definePropert
|
|
|
10
18
|
|
|
11
19
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
12
20
|
|
|
13
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default[
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var property = column.property;
|
|
26
|
-
return _objectSpread(_objectSpread({}, column), {}, {
|
|
27
|
-
originalProperty: column.property,
|
|
28
|
-
property: normalizeText(property)
|
|
29
|
-
});
|
|
21
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
22
|
+
const normalizeRows = rows => rows.map(row => {
|
|
23
|
+
Object.keys(row).forEach(key => row[normalizeText(key)] = row[key]);
|
|
24
|
+
return row;
|
|
25
|
+
});
|
|
26
|
+
const normalizeColumns = columns => columns.map(column => {
|
|
27
|
+
const {
|
|
28
|
+
property
|
|
29
|
+
} = column;
|
|
30
|
+
return _objectSpread(_objectSpread({}, column), {}, {
|
|
31
|
+
originalProperty: column.property,
|
|
32
|
+
property: normalizeText(property)
|
|
30
33
|
});
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
return text.replace(/\s+/g, '');
|
|
34
|
-
};
|
|
34
|
+
});
|
|
35
|
+
const normalizeText = text => text.replace(/\s+/g, '');
|
|
35
36
|
|
|
36
37
|
exports.normalizeColumns = normalizeColumns;
|
|
37
38
|
exports.normalizeRows = normalizeRows;
|
|
38
39
|
exports.normalizeText = normalizeText;
|
|
39
|
-
//# sourceMappingURL=normalizeData.js.map
|