@elliemae/ds-datagrids 3.26.1-rc.1 → 3.27.0-next.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +4 -39
- package/dist/cjs/index.js.map +3 -3
- package/dist/esm/index.js +3 -59
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +2 -9
- package/package.json +6 -540
- package/dist/cjs/DSDataGrid.js +0 -589
- package/dist/cjs/DSDataGrid.js.map +0 -7
- package/dist/cjs/DataGridImpl.js +0 -156
- package/dist/cjs/DataGridImpl.js.map +0 -7
- package/dist/cjs/PaginatedDataGrid.js +0 -84
- package/dist/cjs/PaginatedDataGrid.js.map +0 -7
- package/dist/cjs/blockNames.js +0 -40
- package/dist/cjs/blockNames.js.map +0 -7
- package/dist/cjs/columns/IconColumn.js +0 -109
- package/dist/cjs/columns/IconColumn.js.map +0 -7
- package/dist/cjs/columns/NumberColumn.js +0 -37
- package/dist/cjs/columns/NumberColumn.js.map +0 -7
- package/dist/cjs/components/BodyCell.js +0 -114
- package/dist/cjs/components/BodyCell.js.map +0 -7
- package/dist/cjs/components/BodyList.js +0 -48
- package/dist/cjs/components/BodyList.js.map +0 -7
- package/dist/cjs/components/ColumnVisibilityMenuOption.js +0 -65
- package/dist/cjs/components/ColumnVisibilityMenuOption.js.map +0 -7
- package/dist/cjs/components/ColumnsOptionsMenuSection.js +0 -63
- package/dist/cjs/components/ColumnsOptionsMenuSection.js.map +0 -7
- package/dist/cjs/components/EmptyState.js +0 -81
- package/dist/cjs/components/EmptyState.js.map +0 -7
- package/dist/cjs/components/HeaderCell.js +0 -79
- package/dist/cjs/components/HeaderCell.js.map +0 -7
- package/dist/cjs/components/List.js +0 -43
- package/dist/cjs/components/List.js.map +0 -7
- package/dist/cjs/components/ListItem.js +0 -49
- package/dist/cjs/components/ListItem.js.map +0 -7
- package/dist/cjs/components/NoResults.js +0 -53
- package/dist/cjs/components/NoResults.js.map +0 -7
- package/dist/cjs/components/RowsLoader.js +0 -41
- package/dist/cjs/components/RowsLoader.js.map +0 -7
- package/dist/cjs/components/Table.js +0 -125
- package/dist/cjs/components/Table.js.map +0 -7
- package/dist/cjs/components/TableBody.js +0 -71
- package/dist/cjs/components/TableBody.js.map +0 -7
- package/dist/cjs/components/TableHeader.js +0 -60
- package/dist/cjs/components/TableHeader.js.map +0 -7
- package/dist/cjs/components/footer/addOptionalFooterComponents.js +0 -60
- package/dist/cjs/components/footer/addOptionalFooterComponents.js.map +0 -7
- package/dist/cjs/components/header/PrimaryControls.js +0 -54
- package/dist/cjs/components/header/PrimaryControls.js.map +0 -7
- package/dist/cjs/components/header/addOptionalHeaderComponents.js +0 -62
- package/dist/cjs/components/header/addOptionalHeaderComponents.js.map +0 -7
- package/dist/cjs/components/index.js +0 -44
- package/dist/cjs/components/index.js.map +0 -7
- package/dist/cjs/components/renderers/defaultClassedRenderers.js +0 -67
- package/dist/cjs/components/renderers/defaultClassedRenderers.js.map +0 -7
- package/dist/cjs/components/renderers/index.js +0 -51
- package/dist/cjs/components/renderers/index.js.map +0 -7
- package/dist/cjs/components/renderers/renderRowsLoader.js +0 -38
- package/dist/cjs/components/renderers/renderRowsLoader.js.map +0 -7
- package/dist/cjs/components/tableContext.js +0 -37
- package/dist/cjs/components/tableContext.js.map +0 -7
- package/dist/cjs/defaultPlugins.js +0 -40
- package/dist/cjs/defaultPlugins.js.map +0 -7
- package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +0 -145
- package/dist/cjs/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +0 -7
- package/dist/cjs/plugins/body-header-scroll-sync/index.js +0 -36
- package/dist/cjs/plugins/body-header-scroll-sync/index.js.map +0 -7
- package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js +0 -159
- package/dist/cjs/plugins/column-dnd/DndColumnsPlugin.js.map +0 -7
- package/dist/cjs/plugins/column-dnd/decorateGridWithDndColumns.js +0 -48
- package/dist/cjs/plugins/column-dnd/decorateGridWithDndColumns.js.map +0 -7
- package/dist/cjs/plugins/column-dnd/index.js +0 -36
- package/dist/cjs/plugins/column-dnd/index.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js +0 -93
- package/dist/cjs/plugins/column-sizing/ColumnSizingPlugin.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/columnMeasurerTransformer.js +0 -70
- package/dist/cjs/plugins/column-sizing/columnMeasurerTransformer.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js +0 -45
- package/dist/cjs/plugins/column-sizing/ext-points/decorateColumn.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js +0 -65
- package/dist/cjs/plugins/column-sizing/ext-points/getTableProps.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/getColumnNameFromProperty.js +0 -38
- package/dist/cjs/plugins/column-sizing/getColumnNameFromProperty.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/index.js +0 -36
- package/dist/cjs/plugins/column-sizing/index.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/useColumnSizeService.js +0 -148
- package/dist/cjs/plugins/column-sizing/useColumnSizeService.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js +0 -181
- package/dist/cjs/plugins/column-sizing/useStylesheetHelpers.js.map +0 -7
- package/dist/cjs/plugins/column-sizing/utils.js +0 -69
- package/dist/cjs/plugins/column-sizing/utils.js.map +0 -7
- package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js +0 -41
- package/dist/cjs/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +0 -7
- package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js +0 -79
- package/dist/cjs/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +0 -7
- package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js +0 -60
- package/dist/cjs/plugins/custom-cell-renderer/getRendererComponent.js.map +0 -7
- package/dist/cjs/plugins/custom-cell-renderer/index.js +0 -36
- package/dist/cjs/plugins/custom-cell-renderer/index.js.map +0 -7
- package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js +0 -73
- package/dist/cjs/plugins/editable/EditableComponents/ComboBox.js.map +0 -7
- package/dist/cjs/plugins/editable/EditableComponents/TextBox.js +0 -95
- package/dist/cjs/plugins/editable/EditableComponents/TextBox.js.map +0 -7
- package/dist/cjs/plugins/editable/EditableComponents/index.js +0 -38
- package/dist/cjs/plugins/editable/EditableComponents/index.js.map +0 -7
- package/dist/cjs/plugins/editable/EditablePlugin.js +0 -112
- package/dist/cjs/plugins/editable/EditablePlugin.js.map +0 -7
- package/dist/cjs/plugins/editable/decorateEditable.js +0 -96
- package/dist/cjs/plugins/editable/decorateEditable.js.map +0 -7
- package/dist/cjs/plugins/editable/getEditorComponent.js +0 -60
- package/dist/cjs/plugins/editable/getEditorComponent.js.map +0 -7
- package/dist/cjs/plugins/editable/index.js +0 -39
- package/dist/cjs/plugins/editable/index.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js +0 -131
- package/dist/cjs/plugins/expandable-grid/ExpandableColumn.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js +0 -197
- package/dist/cjs/plugins/expandable-grid/ExpandablePlugin.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/ExpandedRow.js +0 -147
- package/dist/cjs/plugins/expandable-grid/ExpandedRow.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js +0 -57
- package/dist/cjs/plugins/expandable-grid/ExpandedRowExtra.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/index.js +0 -38
- package/dist/cjs/plugins/expandable-grid/index.js.map +0 -7
- package/dist/cjs/plugins/expandable-grid/useExpandGridState.js +0 -94
- package/dist/cjs/plugins/expandable-grid/useExpandGridState.js.map +0 -7
- package/dist/cjs/plugins/export-data/ExportDataPlugin.js +0 -135
- package/dist/cjs/plugins/export-data/ExportDataPlugin.js.map +0 -7
- package/dist/cjs/plugins/export-data/index.js +0 -36
- package/dist/cjs/plugins/export-data/index.js.map +0 -7
- package/dist/cjs/plugins/filterable/FilterablePlugin.js +0 -84
- package/dist/cjs/plugins/filterable/FilterablePlugin.js.map +0 -7
- package/dist/cjs/plugins/filterable/addFilterToColumn.js +0 -44
- package/dist/cjs/plugins/filterable/addFilterToColumn.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/FilterableHeader.js +0 -133
- package/dist/cjs/plugins/filterable/components/FilterableHeader.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +0 -179
- package/dist/cjs/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +0 -133
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +0 -231
- package/dist/cjs/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js +0 -183
- package/dist/cjs/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js +0 -36
- package/dist/cjs/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +0 -7
- package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +0 -48
- package/dist/cjs/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +0 -7
- package/dist/cjs/plugins/filterable/filterableFormatter.js +0 -69
- package/dist/cjs/plugins/filterable/filterableFormatter.js.map +0 -7
- package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js +0 -83
- package/dist/cjs/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +0 -7
- package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js +0 -45
- package/dist/cjs/plugins/filterable/filtering-helper/strategiesOperators.js.map +0 -7
- package/dist/cjs/plugins/filterable/helper.js +0 -113
- package/dist/cjs/plugins/filterable/helper.js.map +0 -7
- package/dist/cjs/plugins/filterable/index.js +0 -36
- package/dist/cjs/plugins/filterable/index.js.map +0 -7
- package/dist/cjs/plugins/filterable/useFilterableState.js +0 -112
- package/dist/cjs/plugins/filterable/useFilterableState.js.map +0 -7
- package/dist/cjs/plugins/grouping-by/GroupingByPlugin.js +0 -58
- package/dist/cjs/plugins/grouping-by/GroupingByPlugin.js.map +0 -7
- package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js +0 -134
- package/dist/cjs/plugins/grouping-grid/GroupingPlugin.js.map +0 -7
- package/dist/cjs/plugins/grouping-grid/walkStrategy.js +0 -77
- package/dist/cjs/plugins/grouping-grid/walkStrategy.js.map +0 -7
- package/dist/cjs/plugins/index.js +0 -69
- package/dist/cjs/plugins/index.js.map +0 -7
- package/dist/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js +0 -101
- package/dist/cjs/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +0 -7
- package/dist/cjs/plugins/infinite-scrolling/index.js +0 -36
- package/dist/cjs/plugins/infinite-scrolling/index.js.map +0 -7
- package/dist/cjs/plugins/pagination/PaginationPlugin.js +0 -90
- package/dist/cjs/plugins/pagination/PaginationPlugin.js.map +0 -7
- package/dist/cjs/plugins/pagination/components/Pagination.js +0 -57
- package/dist/cjs/plugins/pagination/components/Pagination.js.map +0 -7
- package/dist/cjs/plugins/pagination/components/Paginator.js +0 -73
- package/dist/cjs/plugins/pagination/components/Paginator.js.map +0 -7
- package/dist/cjs/plugins/pagination/components/PerPageDropdown.js +0 -74
- package/dist/cjs/plugins/pagination/components/PerPageDropdown.js.map +0 -7
- package/dist/cjs/plugins/pagination/helper.js +0 -63
- package/dist/cjs/plugins/pagination/helper.js.map +0 -7
- package/dist/cjs/plugins/pagination/index.js +0 -36
- package/dist/cjs/plugins/pagination/index.js.map +0 -7
- package/dist/cjs/plugins/pagination/usePaginationState.js +0 -83
- package/dist/cjs/plugins/pagination/usePaginationState.js.map +0 -7
- package/dist/cjs/plugins/resizable/ResizablePlugin.js +0 -116
- package/dist/cjs/plugins/resizable/ResizablePlugin.js.map +0 -7
- package/dist/cjs/plugins/resizable/decorateResizable.js +0 -57
- package/dist/cjs/plugins/resizable/decorateResizable.js.map +0 -7
- package/dist/cjs/plugins/resizable/index.js +0 -36
- package/dist/cjs/plugins/resizable/index.js.map +0 -7
- package/dist/cjs/plugins/resizable/useResizeHandle.js +0 -75
- package/dist/cjs/plugins/resizable/useResizeHandle.js.map +0 -7
- package/dist/cjs/plugins/resizable/utils.js +0 -55
- package/dist/cjs/plugins/resizable/utils.js.map +0 -7
- package/dist/cjs/plugins/row-dnd/DndRowsPlugin.js +0 -140
- package/dist/cjs/plugins/row-dnd/DndRowsPlugin.js.map +0 -7
- package/dist/cjs/plugins/row-dnd/index.js +0 -36
- package/dist/cjs/plugins/row-dnd/index.js.map +0 -7
- package/dist/cjs/plugins/selectable/SelectablePlugin.js +0 -170
- package/dist/cjs/plugins/selectable/SelectablePlugin.js.map +0 -7
- package/dist/cjs/plugins/selectable/addSelectableColumn.js +0 -105
- package/dist/cjs/plugins/selectable/addSelectableColumn.js.map +0 -7
- package/dist/cjs/plugins/selectable/helper.js +0 -55
- package/dist/cjs/plugins/selectable/helper.js.map +0 -7
- package/dist/cjs/plugins/selectable/index.js +0 -36
- package/dist/cjs/plugins/selectable/index.js.map +0 -7
- package/dist/cjs/plugins/selectable/selectableFormatter.js +0 -99
- package/dist/cjs/plugins/selectable/selectableFormatter.js.map +0 -7
- package/dist/cjs/plugins/selectable/useSelectableState.js +0 -128
- package/dist/cjs/plugins/selectable/useSelectableState.js.map +0 -7
- package/dist/cjs/plugins/sortable/SortablePlugin.js +0 -98
- package/dist/cjs/plugins/sortable/SortablePlugin.js.map +0 -7
- package/dist/cjs/plugins/sortable/checkIfSortable.js +0 -46
- package/dist/cjs/plugins/sortable/checkIfSortable.js.map +0 -7
- package/dist/cjs/plugins/sortable/index.js +0 -36
- package/dist/cjs/plugins/sortable/index.js.map +0 -7
- package/dist/cjs/plugins/sortable/sortHeaderFormatter.js +0 -66
- package/dist/cjs/plugins/sortable/sortHeaderFormatter.js.map +0 -7
- package/dist/cjs/plugins/sortable/sortTree.js +0 -49
- package/dist/cjs/plugins/sortable/sortTree.js.map +0 -7
- package/dist/cjs/plugins/sortable/sorter.js +0 -154
- package/dist/cjs/plugins/sortable/sorter.js.map +0 -7
- package/dist/cjs/plugins/sortable/useSortableState.js +0 -74
- package/dist/cjs/plugins/sortable/useSortableState.js.map +0 -7
- package/dist/cjs/plugins/toolbar/RowRenderer.js +0 -109
- package/dist/cjs/plugins/toolbar/RowRenderer.js.map +0 -7
- package/dist/cjs/plugins/toolbar/ToolbarPlugin.js +0 -63
- package/dist/cjs/plugins/toolbar/ToolbarPlugin.js.map +0 -7
- package/dist/cjs/plugins/toolbar/ToolbarTrigger.js +0 -115
- package/dist/cjs/plugins/toolbar/ToolbarTrigger.js.map +0 -7
- package/dist/cjs/plugins/toolbar/index.js +0 -36
- package/dist/cjs/plugins/toolbar/index.js.map +0 -7
- package/dist/cjs/plugins/virtualization/AutoHeightList.js +0 -78
- package/dist/cjs/plugins/virtualization/AutoHeightList.js.map +0 -7
- package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js +0 -109
- package/dist/cjs/plugins/virtualization/VirtualizationPlugin.js.map +0 -7
- package/dist/cjs/plugins/virtualization/VirtualizedBody.js +0 -275
- package/dist/cjs/plugins/virtualization/VirtualizedBody.js.map +0 -7
- package/dist/cjs/plugins/virtualization/VirtualizedBodyRow.js +0 -58
- package/dist/cjs/plugins/virtualization/VirtualizedBodyRow.js.map +0 -7
- package/dist/cjs/plugins/virtualization/helper.js +0 -36
- package/dist/cjs/plugins/virtualization/helper.js.map +0 -7
- package/dist/cjs/plugins/virtualization/index.js +0 -36
- package/dist/cjs/plugins/virtualization/index.js.map +0 -7
- package/dist/cjs/renders/CellWithAddons.js +0 -113
- package/dist/cjs/renders/CellWithAddons.js.map +0 -7
- package/dist/cjs/renders/index.js +0 -38
- package/dist/cjs/renders/index.js.map +0 -7
- package/dist/cjs/renders/styled.js +0 -79
- package/dist/cjs/renders/styled.js.map +0 -7
- package/dist/cjs/rowSizes.js +0 -48
- package/dist/cjs/rowSizes.js.map +0 -7
- package/dist/cjs/utilities/DataGridUtilities.json +0 -1315
- package/dist/cjs/utilities/getPluginsFromProps.js +0 -73
- package/dist/cjs/utilities/getPluginsFromProps.js.map +0 -7
- package/dist/cjs/utilities/getScrollbarSize.js +0 -47
- package/dist/cjs/utilities/getScrollbarSize.js.map +0 -7
- package/dist/cjs/utilities/normalizeData.js +0 -50
- package/dist/cjs/utilities/normalizeData.js.map +0 -7
- package/dist/esm/DSDataGrid.js +0 -559
- package/dist/esm/DSDataGrid.js.map +0 -7
- package/dist/esm/DataGridImpl.js +0 -126
- package/dist/esm/DataGridImpl.js.map +0 -7
- package/dist/esm/PaginatedDataGrid.js +0 -54
- package/dist/esm/PaginatedDataGrid.js.map +0 -7
- package/dist/esm/blockNames.js +0 -10
- package/dist/esm/blockNames.js.map +0 -7
- package/dist/esm/columns/IconColumn.js +0 -79
- package/dist/esm/columns/IconColumn.js.map +0 -7
- package/dist/esm/columns/NumberColumn.js +0 -7
- package/dist/esm/columns/NumberColumn.js.map +0 -7
- package/dist/esm/components/BodyCell.js +0 -84
- package/dist/esm/components/BodyCell.js.map +0 -7
- package/dist/esm/components/BodyList.js +0 -18
- package/dist/esm/components/BodyList.js.map +0 -7
- package/dist/esm/components/ColumnVisibilityMenuOption.js +0 -35
- package/dist/esm/components/ColumnVisibilityMenuOption.js.map +0 -7
- package/dist/esm/components/ColumnsOptionsMenuSection.js +0 -33
- package/dist/esm/components/ColumnsOptionsMenuSection.js.map +0 -7
- package/dist/esm/components/EmptyState.js +0 -51
- package/dist/esm/components/EmptyState.js.map +0 -7
- package/dist/esm/components/HeaderCell.js +0 -49
- package/dist/esm/components/HeaderCell.js.map +0 -7
- package/dist/esm/components/List.js +0 -13
- package/dist/esm/components/List.js.map +0 -7
- package/dist/esm/components/ListItem.js +0 -19
- package/dist/esm/components/ListItem.js.map +0 -7
- package/dist/esm/components/NoResults.js +0 -23
- package/dist/esm/components/NoResults.js.map +0 -7
- package/dist/esm/components/RowsLoader.js +0 -11
- package/dist/esm/components/RowsLoader.js.map +0 -7
- package/dist/esm/components/Table.js +0 -95
- package/dist/esm/components/Table.js.map +0 -7
- package/dist/esm/components/TableBody.js +0 -41
- package/dist/esm/components/TableBody.js.map +0 -7
- package/dist/esm/components/TableHeader.js +0 -30
- package/dist/esm/components/TableHeader.js.map +0 -7
- package/dist/esm/components/footer/addOptionalFooterComponents.js +0 -30
- package/dist/esm/components/footer/addOptionalFooterComponents.js.map +0 -7
- package/dist/esm/components/header/PrimaryControls.js +0 -24
- package/dist/esm/components/header/PrimaryControls.js.map +0 -7
- package/dist/esm/components/header/addOptionalHeaderComponents.js +0 -32
- package/dist/esm/components/header/addOptionalHeaderComponents.js.map +0 -7
- package/dist/esm/components/index.js +0 -14
- package/dist/esm/components/index.js.map +0 -7
- package/dist/esm/components/renderers/defaultClassedRenderers.js +0 -37
- package/dist/esm/components/renderers/defaultClassedRenderers.js.map +0 -7
- package/dist/esm/components/renderers/index.js +0 -29
- package/dist/esm/components/renderers/index.js.map +0 -7
- package/dist/esm/components/renderers/renderRowsLoader.js +0 -8
- package/dist/esm/components/renderers/renderRowsLoader.js.map +0 -7
- package/dist/esm/components/tableContext.js +0 -7
- package/dist/esm/components/tableContext.js.map +0 -7
- package/dist/esm/defaultPlugins.js +0 -10
- package/dist/esm/defaultPlugins.js.map +0 -7
- package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js +0 -115
- package/dist/esm/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.js.map +0 -7
- package/dist/esm/plugins/body-header-scroll-sync/index.js +0 -6
- package/dist/esm/plugins/body-header-scroll-sync/index.js.map +0 -7
- package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js +0 -129
- package/dist/esm/plugins/column-dnd/DndColumnsPlugin.js.map +0 -7
- package/dist/esm/plugins/column-dnd/decorateGridWithDndColumns.js +0 -18
- package/dist/esm/plugins/column-dnd/decorateGridWithDndColumns.js.map +0 -7
- package/dist/esm/plugins/column-dnd/index.js +0 -6
- package/dist/esm/plugins/column-dnd/index.js.map +0 -7
- package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js +0 -63
- package/dist/esm/plugins/column-sizing/ColumnSizingPlugin.js.map +0 -7
- package/dist/esm/plugins/column-sizing/columnMeasurerTransformer.js +0 -40
- package/dist/esm/plugins/column-sizing/columnMeasurerTransformer.js.map +0 -7
- package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js +0 -15
- package/dist/esm/plugins/column-sizing/ext-points/decorateColumn.js.map +0 -7
- package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js +0 -35
- package/dist/esm/plugins/column-sizing/ext-points/getTableProps.js.map +0 -7
- package/dist/esm/plugins/column-sizing/getColumnNameFromProperty.js +0 -8
- package/dist/esm/plugins/column-sizing/getColumnNameFromProperty.js.map +0 -7
- package/dist/esm/plugins/column-sizing/index.js +0 -6
- package/dist/esm/plugins/column-sizing/index.js.map +0 -7
- package/dist/esm/plugins/column-sizing/useColumnSizeService.js +0 -118
- package/dist/esm/plugins/column-sizing/useColumnSizeService.js.map +0 -7
- package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js +0 -151
- package/dist/esm/plugins/column-sizing/useStylesheetHelpers.js.map +0 -7
- package/dist/esm/plugins/column-sizing/utils.js +0 -39
- package/dist/esm/plugins/column-sizing/utils.js.map +0 -7
- package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js +0 -11
- package/dist/esm/plugins/custom-cell-renderer/CustomRendererPlugin.js.map +0 -7
- package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js +0 -49
- package/dist/esm/plugins/custom-cell-renderer/addCustomRendererToCell.js.map +0 -7
- package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js +0 -30
- package/dist/esm/plugins/custom-cell-renderer/getRendererComponent.js.map +0 -7
- package/dist/esm/plugins/custom-cell-renderer/index.js +0 -6
- package/dist/esm/plugins/custom-cell-renderer/index.js.map +0 -7
- package/dist/esm/plugins/editable/EditableComponents/ComboBox.js +0 -43
- package/dist/esm/plugins/editable/EditableComponents/ComboBox.js.map +0 -7
- package/dist/esm/plugins/editable/EditableComponents/TextBox.js +0 -65
- package/dist/esm/plugins/editable/EditableComponents/TextBox.js.map +0 -7
- package/dist/esm/plugins/editable/EditableComponents/index.js +0 -8
- package/dist/esm/plugins/editable/EditableComponents/index.js.map +0 -7
- package/dist/esm/plugins/editable/EditablePlugin.js +0 -82
- package/dist/esm/plugins/editable/EditablePlugin.js.map +0 -7
- package/dist/esm/plugins/editable/decorateEditable.js +0 -66
- package/dist/esm/plugins/editable/decorateEditable.js.map +0 -7
- package/dist/esm/plugins/editable/getEditorComponent.js +0 -30
- package/dist/esm/plugins/editable/getEditorComponent.js.map +0 -7
- package/dist/esm/plugins/editable/index.js +0 -9
- package/dist/esm/plugins/editable/index.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/ExpandableColumn.js +0 -101
- package/dist/esm/plugins/expandable-grid/ExpandableColumn.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js +0 -167
- package/dist/esm/plugins/expandable-grid/ExpandablePlugin.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/ExpandedRow.js +0 -117
- package/dist/esm/plugins/expandable-grid/ExpandedRow.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js +0 -27
- package/dist/esm/plugins/expandable-grid/ExpandedRowExtra.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/index.js +0 -8
- package/dist/esm/plugins/expandable-grid/index.js.map +0 -7
- package/dist/esm/plugins/expandable-grid/useExpandGridState.js +0 -64
- package/dist/esm/plugins/expandable-grid/useExpandGridState.js.map +0 -7
- package/dist/esm/plugins/export-data/ExportDataPlugin.js +0 -105
- package/dist/esm/plugins/export-data/ExportDataPlugin.js.map +0 -7
- package/dist/esm/plugins/export-data/index.js +0 -6
- package/dist/esm/plugins/export-data/index.js.map +0 -7
- package/dist/esm/plugins/filterable/FilterablePlugin.js +0 -54
- package/dist/esm/plugins/filterable/FilterablePlugin.js.map +0 -7
- package/dist/esm/plugins/filterable/addFilterToColumn.js +0 -14
- package/dist/esm/plugins/filterable/addFilterToColumn.js.map +0 -7
- package/dist/esm/plugins/filterable/components/FilterableHeader.js +0 -103
- package/dist/esm/plugins/filterable/components/FilterableHeader.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js +0 -149
- package/dist/esm/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js +0 -103
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js +0 -205
- package/dist/esm/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js +0 -153
- package/dist/esm/plugins/filterable/components/filterable-menus/TextFilterMenu.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js +0 -6
- package/dist/esm/plugins/filterable/components/filterable-menus/defaultDateFormat.js.map +0 -7
- package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js +0 -18
- package/dist/esm/plugins/filterable/components/filterable-menus/getFilterMenuByType.js.map +0 -7
- package/dist/esm/plugins/filterable/filterableFormatter.js +0 -39
- package/dist/esm/plugins/filterable/filterableFormatter.js.map +0 -7
- package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js +0 -53
- package/dist/esm/plugins/filterable/filtering-helper/filterRowsByQuery.js.map +0 -7
- package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js +0 -15
- package/dist/esm/plugins/filterable/filtering-helper/strategiesOperators.js.map +0 -7
- package/dist/esm/plugins/filterable/helper.js +0 -83
- package/dist/esm/plugins/filterable/helper.js.map +0 -7
- package/dist/esm/plugins/filterable/index.js +0 -6
- package/dist/esm/plugins/filterable/index.js.map +0 -7
- package/dist/esm/plugins/filterable/useFilterableState.js +0 -82
- package/dist/esm/plugins/filterable/useFilterableState.js.map +0 -7
- package/dist/esm/plugins/grouping-by/GroupingByPlugin.js +0 -28
- package/dist/esm/plugins/grouping-by/GroupingByPlugin.js.map +0 -7
- package/dist/esm/plugins/grouping-grid/GroupingPlugin.js +0 -104
- package/dist/esm/plugins/grouping-grid/GroupingPlugin.js.map +0 -7
- package/dist/esm/plugins/grouping-grid/walkStrategy.js +0 -47
- package/dist/esm/plugins/grouping-grid/walkStrategy.js.map +0 -7
- package/dist/esm/plugins/index.js +0 -39
- package/dist/esm/plugins/index.js.map +0 -7
- package/dist/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js +0 -71
- package/dist/esm/plugins/infinite-scrolling/InfiniteScrollPlugin.js.map +0 -7
- package/dist/esm/plugins/infinite-scrolling/index.js +0 -6
- package/dist/esm/plugins/infinite-scrolling/index.js.map +0 -7
- package/dist/esm/plugins/pagination/PaginationPlugin.js +0 -60
- package/dist/esm/plugins/pagination/PaginationPlugin.js.map +0 -7
- package/dist/esm/plugins/pagination/components/Pagination.js +0 -27
- package/dist/esm/plugins/pagination/components/Pagination.js.map +0 -7
- package/dist/esm/plugins/pagination/components/Paginator.js +0 -43
- package/dist/esm/plugins/pagination/components/Paginator.js.map +0 -7
- package/dist/esm/plugins/pagination/components/PerPageDropdown.js +0 -44
- package/dist/esm/plugins/pagination/components/PerPageDropdown.js.map +0 -7
- package/dist/esm/plugins/pagination/helper.js +0 -33
- package/dist/esm/plugins/pagination/helper.js.map +0 -7
- package/dist/esm/plugins/pagination/index.js +0 -6
- package/dist/esm/plugins/pagination/index.js.map +0 -7
- package/dist/esm/plugins/pagination/usePaginationState.js +0 -53
- package/dist/esm/plugins/pagination/usePaginationState.js.map +0 -7
- package/dist/esm/plugins/resizable/ResizablePlugin.js +0 -86
- package/dist/esm/plugins/resizable/ResizablePlugin.js.map +0 -7
- package/dist/esm/plugins/resizable/decorateResizable.js +0 -27
- package/dist/esm/plugins/resizable/decorateResizable.js.map +0 -7
- package/dist/esm/plugins/resizable/index.js +0 -6
- package/dist/esm/plugins/resizable/index.js.map +0 -7
- package/dist/esm/plugins/resizable/useResizeHandle.js +0 -45
- package/dist/esm/plugins/resizable/useResizeHandle.js.map +0 -7
- package/dist/esm/plugins/resizable/utils.js +0 -25
- package/dist/esm/plugins/resizable/utils.js.map +0 -7
- package/dist/esm/plugins/row-dnd/DndRowsPlugin.js +0 -110
- package/dist/esm/plugins/row-dnd/DndRowsPlugin.js.map +0 -7
- package/dist/esm/plugins/row-dnd/index.js +0 -6
- package/dist/esm/plugins/row-dnd/index.js.map +0 -7
- package/dist/esm/plugins/selectable/SelectablePlugin.js +0 -140
- package/dist/esm/plugins/selectable/SelectablePlugin.js.map +0 -7
- package/dist/esm/plugins/selectable/addSelectableColumn.js +0 -75
- package/dist/esm/plugins/selectable/addSelectableColumn.js.map +0 -7
- package/dist/esm/plugins/selectable/helper.js +0 -25
- package/dist/esm/plugins/selectable/helper.js.map +0 -7
- package/dist/esm/plugins/selectable/index.js +0 -6
- package/dist/esm/plugins/selectable/index.js.map +0 -7
- package/dist/esm/plugins/selectable/selectableFormatter.js +0 -69
- package/dist/esm/plugins/selectable/selectableFormatter.js.map +0 -7
- package/dist/esm/plugins/selectable/useSelectableState.js +0 -98
- package/dist/esm/plugins/selectable/useSelectableState.js.map +0 -7
- package/dist/esm/plugins/sortable/SortablePlugin.js +0 -68
- package/dist/esm/plugins/sortable/SortablePlugin.js.map +0 -7
- package/dist/esm/plugins/sortable/checkIfSortable.js +0 -16
- package/dist/esm/plugins/sortable/checkIfSortable.js.map +0 -7
- package/dist/esm/plugins/sortable/index.js +0 -6
- package/dist/esm/plugins/sortable/index.js.map +0 -7
- package/dist/esm/plugins/sortable/sortHeaderFormatter.js +0 -36
- package/dist/esm/plugins/sortable/sortHeaderFormatter.js.map +0 -7
- package/dist/esm/plugins/sortable/sortTree.js +0 -19
- package/dist/esm/plugins/sortable/sortTree.js.map +0 -7
- package/dist/esm/plugins/sortable/sorter.js +0 -124
- package/dist/esm/plugins/sortable/sorter.js.map +0 -7
- package/dist/esm/plugins/sortable/useSortableState.js +0 -44
- package/dist/esm/plugins/sortable/useSortableState.js.map +0 -7
- package/dist/esm/plugins/toolbar/RowRenderer.js +0 -79
- package/dist/esm/plugins/toolbar/RowRenderer.js.map +0 -7
- package/dist/esm/plugins/toolbar/ToolbarPlugin.js +0 -33
- package/dist/esm/plugins/toolbar/ToolbarPlugin.js.map +0 -7
- package/dist/esm/plugins/toolbar/ToolbarTrigger.js +0 -85
- package/dist/esm/plugins/toolbar/ToolbarTrigger.js.map +0 -7
- package/dist/esm/plugins/toolbar/index.js +0 -6
- package/dist/esm/plugins/toolbar/index.js.map +0 -7
- package/dist/esm/plugins/virtualization/AutoHeightList.js +0 -48
- package/dist/esm/plugins/virtualization/AutoHeightList.js.map +0 -7
- package/dist/esm/plugins/virtualization/VirtualizationPlugin.js +0 -79
- package/dist/esm/plugins/virtualization/VirtualizationPlugin.js.map +0 -7
- package/dist/esm/plugins/virtualization/VirtualizedBody.js +0 -245
- package/dist/esm/plugins/virtualization/VirtualizedBody.js.map +0 -7
- package/dist/esm/plugins/virtualization/VirtualizedBodyRow.js +0 -28
- package/dist/esm/plugins/virtualization/VirtualizedBodyRow.js.map +0 -7
- package/dist/esm/plugins/virtualization/helper.js +0 -6
- package/dist/esm/plugins/virtualization/helper.js.map +0 -7
- package/dist/esm/plugins/virtualization/index.js +0 -6
- package/dist/esm/plugins/virtualization/index.js.map +0 -7
- package/dist/esm/renders/CellWithAddons.js +0 -83
- package/dist/esm/renders/CellWithAddons.js.map +0 -7
- package/dist/esm/renders/index.js +0 -8
- package/dist/esm/renders/index.js.map +0 -7
- package/dist/esm/renders/styled.js +0 -49
- package/dist/esm/renders/styled.js.map +0 -7
- package/dist/esm/rowSizes.js +0 -18
- package/dist/esm/rowSizes.js.map +0 -7
- package/dist/esm/utilities/DataGridUtilities.json +0 -1315
- package/dist/esm/utilities/getPluginsFromProps.js +0 -43
- package/dist/esm/utilities/getPluginsFromProps.js.map +0 -7
- package/dist/esm/utilities/getScrollbarSize.js +0 -17
- package/dist/esm/utilities/getScrollbarSize.js.map +0 -7
- package/dist/esm/utilities/normalizeData.js +0 -20
- package/dist/esm/utilities/normalizeData.js.map +0 -7
- package/dist/types/DSDataGrid.d.ts +0 -452
- package/dist/types/DataGridImpl.d.ts +0 -12
- package/dist/types/PaginatedDataGrid.d.ts +0 -14
- package/dist/types/blockNames.d.ts +0 -4
- package/dist/types/columns/IconColumn.d.ts +0 -35
- package/dist/types/columns/NumberColumn.d.ts +0 -4
- package/dist/types/components/BodyCell.d.ts +0 -33
- package/dist/types/components/BodyList.d.ts +0 -11
- package/dist/types/components/ColumnVisibilityMenuOption.d.ts +0 -15
- package/dist/types/components/ColumnsOptionsMenuSection.d.ts +0 -8
- package/dist/types/components/EmptyState.d.ts +0 -6
- package/dist/types/components/HeaderCell.d.ts +0 -18
- package/dist/types/components/List.d.ts +0 -2
- package/dist/types/components/ListItem.d.ts +0 -2
- package/dist/types/components/NoResults.d.ts +0 -7
- package/dist/types/components/RowsLoader.d.ts +0 -4
- package/dist/types/components/Table.d.ts +0 -8
- package/dist/types/components/TableBody.d.ts +0 -4
- package/dist/types/components/TableHeader.d.ts +0 -3
- package/dist/types/components/footer/addOptionalFooterComponents.d.ts +0 -6
- package/dist/types/components/header/PrimaryControls.d.ts +0 -5
- package/dist/types/components/header/addOptionalHeaderComponents.d.ts +0 -10
- package/dist/types/components/index.d.ts +0 -5
- package/dist/types/components/renderers/defaultClassedRenderers.d.ts +0 -11
- package/dist/types/components/renderers/index.d.ts +0 -15
- package/dist/types/components/renderers/renderRowsLoader.d.ts +0 -1
- package/dist/types/components/tableContext.d.ts +0 -2
- package/dist/types/components/tests/ColumnVisibilityMenu.test.d.ts +0 -1
- package/dist/types/defaultPlugins.d.ts +0 -1
- package/dist/types/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.d.ts +0 -1
- package/dist/types/plugins/body-header-scroll-sync/index.d.ts +0 -1
- package/dist/types/plugins/column-dnd/DndColumnsPlugin.d.ts +0 -1
- package/dist/types/plugins/column-dnd/decorateGridWithDndColumns.d.ts +0 -2
- package/dist/types/plugins/column-dnd/index.d.ts +0 -1
- package/dist/types/plugins/column-sizing/ColumnSizingPlugin.d.ts +0 -1
- package/dist/types/plugins/column-sizing/columnMeasurerTransformer.d.ts +0 -6
- package/dist/types/plugins/column-sizing/ext-points/decorateColumn.d.ts +0 -1
- package/dist/types/plugins/column-sizing/ext-points/getTableProps.d.ts +0 -10
- package/dist/types/plugins/column-sizing/getColumnNameFromProperty.d.ts +0 -2
- package/dist/types/plugins/column-sizing/index.d.ts +0 -1
- package/dist/types/plugins/column-sizing/useColumnSizeService.d.ts +0 -18
- package/dist/types/plugins/column-sizing/useStylesheetHelpers.d.ts +0 -22
- package/dist/types/plugins/column-sizing/utils.d.ts +0 -5
- package/dist/types/plugins/custom-cell-renderer/CustomRendererPlugin.d.ts +0 -1
- package/dist/types/plugins/custom-cell-renderer/addCustomRendererToCell.d.ts +0 -4
- package/dist/types/plugins/custom-cell-renderer/getRendererComponent.d.ts +0 -11
- package/dist/types/plugins/custom-cell-renderer/index.d.ts +0 -1
- package/dist/types/plugins/editable/EditableComponents/ComboBox.d.ts +0 -12
- package/dist/types/plugins/editable/EditableComponents/TextBox.d.ts +0 -24
- package/dist/types/plugins/editable/EditableComponents/index.d.ts +0 -2
- package/dist/types/plugins/editable/EditablePlugin.d.ts +0 -1
- package/dist/types/plugins/editable/decorateEditable.d.ts +0 -7
- package/dist/types/plugins/editable/getEditorComponent.d.ts +0 -7
- package/dist/types/plugins/editable/index.d.ts +0 -2
- package/dist/types/plugins/expandable-grid/ExpandableColumn.d.ts +0 -28
- package/dist/types/plugins/expandable-grid/ExpandablePlugin.d.ts +0 -1
- package/dist/types/plugins/expandable-grid/ExpandedRow.d.ts +0 -11
- package/dist/types/plugins/expandable-grid/ExpandedRowExtra.d.ts +0 -9
- package/dist/types/plugins/expandable-grid/index.d.ts +0 -2
- package/dist/types/plugins/expandable-grid/tests/ExpandablePlugin.test.d.ts +0 -1
- package/dist/types/plugins/expandable-grid/useExpandGridState.d.ts +0 -16
- package/dist/types/plugins/export-data/ExportDataPlugin.d.ts +0 -4
- package/dist/types/plugins/export-data/index.d.ts +0 -1
- package/dist/types/plugins/filterable/FilterablePlugin.d.ts +0 -1
- package/dist/types/plugins/filterable/addFilterToColumn.d.ts +0 -1
- package/dist/types/plugins/filterable/components/FilterableHeader.d.ts +0 -28
- package/dist/types/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.d.ts +0 -30
- package/dist/types/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.d.ts +0 -27
- package/dist/types/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.d.ts +0 -30
- package/dist/types/plugins/filterable/components/filterable-menus/TextFilterMenu.d.ts +0 -35
- package/dist/types/plugins/filterable/components/filterable-menus/defaultDateFormat.d.ts +0 -1
- package/dist/types/plugins/filterable/components/filterable-menus/getFilterMenuByType.d.ts +0 -2
- package/dist/types/plugins/filterable/filterableFormatter.d.ts +0 -11
- package/dist/types/plugins/filterable/filtering-helper/filterRowsByQuery.d.ts +0 -3
- package/dist/types/plugins/filterable/filtering-helper/strategiesOperators.d.ts +0 -2
- package/dist/types/plugins/filterable/helper.d.ts +0 -22
- package/dist/types/plugins/filterable/index.d.ts +0 -1
- package/dist/types/plugins/filterable/useFilterableState.d.ts +0 -18
- package/dist/types/plugins/grouping-by/GroupingByPlugin.d.ts +0 -1
- package/dist/types/plugins/grouping-grid/GroupingPlugin.d.ts +0 -1
- package/dist/types/plugins/grouping-grid/walkStrategy.d.ts +0 -9
- package/dist/types/plugins/index.d.ts +0 -16
- package/dist/types/plugins/infinite-scrolling/InfiniteScrollPlugin.d.ts +0 -1
- package/dist/types/plugins/infinite-scrolling/index.d.ts +0 -1
- package/dist/types/plugins/pagination/PaginationPlugin.d.ts +0 -1
- package/dist/types/plugins/pagination/components/Pagination.d.ts +0 -10
- package/dist/types/plugins/pagination/components/Paginator.d.ts +0 -9
- package/dist/types/plugins/pagination/components/PerPageDropdown.d.ts +0 -9
- package/dist/types/plugins/pagination/helper.d.ts +0 -18
- package/dist/types/plugins/pagination/index.d.ts +0 -1
- package/dist/types/plugins/pagination/usePaginationState.d.ts +0 -9
- package/dist/types/plugins/resizable/ResizablePlugin.d.ts +0 -1
- package/dist/types/plugins/resizable/decorateResizable.d.ts +0 -3
- package/dist/types/plugins/resizable/index.d.ts +0 -1
- package/dist/types/plugins/resizable/useResizeHandle.d.ts +0 -13
- package/dist/types/plugins/resizable/utils.d.ts +0 -3
- package/dist/types/plugins/row-dnd/DndRowsPlugin.d.ts +0 -1
- package/dist/types/plugins/row-dnd/index.d.ts +0 -1
- package/dist/types/plugins/selectable/SelectablePlugin.d.ts +0 -1
- package/dist/types/plugins/selectable/addSelectableColumn.d.ts +0 -30
- package/dist/types/plugins/selectable/helper.d.ts +0 -6
- package/dist/types/plugins/selectable/index.d.ts +0 -1
- package/dist/types/plugins/selectable/selectableFormatter.d.ts +0 -9
- package/dist/types/plugins/selectable/useSelectableState.d.ts +0 -12
- package/dist/types/plugins/sortable/SortablePlugin.d.ts +0 -1
- package/dist/types/plugins/sortable/checkIfSortable.d.ts +0 -2
- package/dist/types/plugins/sortable/index.d.ts +0 -1
- package/dist/types/plugins/sortable/sortHeaderFormatter.d.ts +0 -6
- package/dist/types/plugins/sortable/sortTree.d.ts +0 -3
- package/dist/types/plugins/sortable/sorter.d.ts +0 -12
- package/dist/types/plugins/sortable/useSortableState.d.ts +0 -8
- package/dist/types/plugins/toolbar/RowRenderer.d.ts +0 -10
- package/dist/types/plugins/toolbar/ToolbarPlugin.d.ts +0 -1
- package/dist/types/plugins/toolbar/ToolbarTrigger.d.ts +0 -7
- package/dist/types/plugins/toolbar/index.d.ts +0 -1
- package/dist/types/plugins/virtualization/AutoHeightList.d.ts +0 -3
- package/dist/types/plugins/virtualization/VirtualizationPlugin.d.ts +0 -1
- package/dist/types/plugins/virtualization/VirtualizedBody.d.ts +0 -32
- package/dist/types/plugins/virtualization/VirtualizedBodyRow.d.ts +0 -8
- package/dist/types/plugins/virtualization/helper.d.ts +0 -1
- package/dist/types/plugins/virtualization/index.d.ts +0 -1
- package/dist/types/renders/CellWithAddons.d.ts +0 -51
- package/dist/types/renders/index.d.ts +0 -2
- package/dist/types/renders/styled.d.ts +0 -4
- package/dist/types/rowSizes.d.ts +0 -11
- package/dist/types/tests/DataGrid-Columns.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Editable.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Export.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Filter-helper.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Filterable-Dates.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Filterable-State.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-RowDnd.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Selectable.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Sortable.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Toolbar.test.d.ts +0 -1
- package/dist/types/tests/DataGrid-Virtualization.test.d.ts +0 -1
- package/dist/types/tests/DataGrids-ColumnSizing.test.d.ts +0 -1
- package/dist/types/tests/DataGrids-ConditionalPagination.test.d.ts +0 -1
- package/dist/types/tests/DataGrids-Rows.test.d.ts +0 -1
- package/dist/types/tests/DataGrids.test.d.ts +0 -1
- package/dist/types/utilities/getPluginsFromProps.d.ts +0 -2
- package/dist/types/utilities/getScrollbarSize.d.ts +0 -1
- package/dist/types/utilities/normalizeData.d.ts +0 -3
@@ -1,114 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __create = Object.create;
|
3
|
-
var __defProp = Object.defineProperty;
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
-
var __export = (target, all) => {
|
9
|
-
for (var name in all)
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
11
|
-
};
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
14
|
-
for (let key of __getOwnPropNames(from))
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
17
|
-
}
|
18
|
-
return to;
|
19
|
-
};
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
26
|
-
mod
|
27
|
-
));
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var BodyCell_exports = {};
|
30
|
-
__export(BodyCell_exports, {
|
31
|
-
BodyCell: () => BodyCell,
|
32
|
-
default: () => BodyCell_default
|
33
|
-
});
|
34
|
-
module.exports = __toCommonJS(BodyCell_exports);
|
35
|
-
var React = __toESM(require("react"));
|
36
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
37
|
-
var import_react = require("react");
|
38
|
-
var import_prop_types = __toESM(require("prop-types"));
|
39
|
-
var import_ds_shared = require("@elliemae/ds-shared");
|
40
|
-
var import_ds_truncated_tooltip_text = require("@elliemae/ds-truncated-tooltip-text");
|
41
|
-
const BodyCell = ({ component: Component, classProps, rowProps, column, columnIndex, rowIndex, grid }) => {
|
42
|
-
const { rowData, rowKey, isScrolling, ...extraRowProps } = rowProps;
|
43
|
-
const { property, cell, props } = column;
|
44
|
-
const evaluatedProperty = property || cell && cell.property;
|
45
|
-
const ref = (0, import_react.useRef)(null);
|
46
|
-
const { register } = (0, import_react.useContext)(import_ds_shared.FocusGridContext);
|
47
|
-
const registerFocus = (0, import_react.useCallback)((node) => {
|
48
|
-
register(node, rowIndex, columnIndex);
|
49
|
-
}, []);
|
50
|
-
(0, import_react.useEffect)(() => {
|
51
|
-
registerFocus(ref.current);
|
52
|
-
}, [ref.current]);
|
53
|
-
const {
|
54
|
-
transforms = [],
|
55
|
-
formatters = [],
|
56
|
-
fixedFormatters = [],
|
57
|
-
// useful for the toolbar trigger at the last column
|
58
|
-
scrollingFormatters = []
|
59
|
-
} = cell || {};
|
60
|
-
const extraParameters = {
|
61
|
-
columnIndex,
|
62
|
-
property: evaluatedProperty,
|
63
|
-
column,
|
64
|
-
rowData,
|
65
|
-
rowIndex,
|
66
|
-
rowKey,
|
67
|
-
isScrolling,
|
68
|
-
// improve performance on scroll rendering a lightweight component instead
|
69
|
-
registerFocus,
|
70
|
-
...extraRowProps
|
71
|
-
};
|
72
|
-
const withTooltip = (v) => classProps && classProps.wrapText ? v : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_truncated_tooltip_text.DSTruncatedTooltipText, { value: v });
|
73
|
-
const value = rowData[`_${evaluatedProperty}`] || rowData[evaluatedProperty];
|
74
|
-
const transformed = (0, import_ds_shared.evaluateTransforms)(transforms, value, extraParameters);
|
75
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
76
|
-
Component,
|
77
|
-
{
|
78
|
-
ref,
|
79
|
-
"data-testid": `column-${property}`,
|
80
|
-
tabIndex: -1,
|
81
|
-
classProps,
|
82
|
-
...props,
|
83
|
-
...cell && cell.props,
|
84
|
-
...transformed,
|
85
|
-
children: transformed.children || (0, import_ds_shared.evaluateFormatters)(
|
86
|
-
!isScrolling ? [withTooltip, ...formatters, ...fixedFormatters] : [...scrollingFormatters, ...fixedFormatters],
|
87
|
-
value,
|
88
|
-
extraParameters,
|
89
|
-
grid
|
90
|
-
)
|
91
|
-
}
|
92
|
-
);
|
93
|
-
};
|
94
|
-
BodyCell.propTypes = {
|
95
|
-
component: import_prop_types.default.element,
|
96
|
-
classProps: import_prop_types.default.shape({
|
97
|
-
wrapText: import_prop_types.default.bool
|
98
|
-
}),
|
99
|
-
rowProps: import_prop_types.default.shape({
|
100
|
-
rowData: import_prop_types.default.shape({}),
|
101
|
-
rowKey: import_prop_types.default.string,
|
102
|
-
isScrolling: import_prop_types.default.bool
|
103
|
-
}),
|
104
|
-
column: import_prop_types.default.shape({
|
105
|
-
property: import_prop_types.default.string,
|
106
|
-
cell: import_prop_types.default.any,
|
107
|
-
props: import_prop_types.default.shape({})
|
108
|
-
}),
|
109
|
-
columnIndex: import_prop_types.default.number,
|
110
|
-
rowIndex: import_prop_types.default.number,
|
111
|
-
grid: import_prop_types.default.any
|
112
|
-
};
|
113
|
-
var BodyCell_default = BodyCell;
|
114
|
-
//# sourceMappingURL=BodyCell.js.map
|
@@ -1,7 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/components/BodyCell.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import React, { useEffect, useContext, useRef, useCallback } from 'react';\nimport PropTypes from 'prop-types';\nimport { FocusGridContext, evaluateFormatters, evaluateTransforms } from '@elliemae/ds-shared';\nimport { DSTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\n\nconst BodyCell = ({ component: Component, classProps, rowProps, column, columnIndex, rowIndex, grid }) => {\n const { rowData, rowKey, isScrolling, ...extraRowProps } = rowProps;\n const { property, cell, props } = column;\n const evaluatedProperty = property || (cell && cell.property);\n\n const ref = useRef(null);\n const { register } = useContext(FocusGridContext);\n\n const registerFocus = useCallback((node) => {\n register(node, rowIndex, columnIndex);\n }, []);\n\n useEffect(() => {\n registerFocus(ref.current);\n }, [ref.current]);\n\n const {\n transforms = [],\n formatters = [],\n fixedFormatters = [], // useful for the toolbar trigger at the last column\n scrollingFormatters = [],\n } = cell || {};\n\n const extraParameters = {\n columnIndex,\n property: evaluatedProperty,\n column,\n rowData,\n rowIndex,\n rowKey,\n isScrolling, // improve performance on scroll rendering a lightweight component instead\n registerFocus,\n ...extraRowProps,\n };\n const withTooltip = (v) => (classProps && classProps.wrapText ? v : <DSTruncatedTooltipText value={v} />);\n const value = rowData[`_${evaluatedProperty}`] || rowData[evaluatedProperty];\n const transformed = evaluateTransforms(transforms, value, extraParameters);\n return (\n <Component\n ref={ref}\n data-testid={`column-${property}`}\n tabIndex={-1}\n classProps={classProps}\n {...props}\n {...(cell && cell.props)}\n {...transformed}\n >\n {transformed.children ||\n evaluateFormatters(\n !isScrolling\n ? [withTooltip, ...formatters, ...fixedFormatters]\n : [...scrollingFormatters, ...fixedFormatters],\n value,\n extraParameters,\n grid,\n )}\n </Component>\n );\n};\n\nBodyCell.propTypes = {\n component: PropTypes.element,\n classProps: PropTypes.shape({\n wrapText: PropTypes.bool,\n }),\n rowProps: PropTypes.shape({\n rowData: PropTypes.shape({}),\n rowKey: PropTypes.string,\n isScrolling: PropTypes.bool,\n }),\n column: PropTypes.shape({\n property: PropTypes.string,\n cell: PropTypes.any,\n props: PropTypes.shape({}),\n }),\n columnIndex: PropTypes.number,\n rowIndex: PropTypes.number,\n grid: PropTypes.any,\n};\n\nexport { BodyCell };\nexport default BodyCell;\n", "import * as React from 'react';\nexport { React };\n"],
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADuC+C;AAvCtE,mBAAkE;AAClE,wBAAsB;AACtB,uBAAyE;AACzE,uCAAuC;AAEvC,MAAM,WAAW,CAAC,EAAE,WAAW,WAAW,YAAY,UAAU,QAAQ,aAAa,UAAU,KAAK,MAAM;AACxG,QAAM,EAAE,SAAS,QAAQ,aAAa,GAAG,cAAc,IAAI;AAC3D,QAAM,EAAE,UAAU,MAAM,MAAM,IAAI;AAClC,QAAM,oBAAoB,YAAa,QAAQ,KAAK;AAEpD,QAAM,UAAM,qBAAO,IAAI;AACvB,QAAM,EAAE,SAAS,QAAI,yBAAW,iCAAgB;AAEhD,QAAM,oBAAgB,0BAAY,CAAC,SAAS;AAC1C,aAAS,MAAM,UAAU,WAAW;AAAA,EACtC,GAAG,CAAC,CAAC;AAEL,8BAAU,MAAM;AACd,kBAAc,IAAI,OAAO;AAAA,EAC3B,GAAG,CAAC,IAAI,OAAO,CAAC;AAEhB,QAAM;AAAA,IACJ,aAAa,CAAC;AAAA,IACd,aAAa,CAAC;AAAA,IACd,kBAAkB,CAAC;AAAA;AAAA,IACnB,sBAAsB,CAAC;AAAA,EACzB,IAAI,QAAQ,CAAC;AAEb,QAAM,kBAAkB;AAAA,IACtB;AAAA,IACA,UAAU;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACL;AACA,QAAM,cAAc,CAAC,MAAO,cAAc,WAAW,WAAW,IAAI,4CAAC,2DAAuB,OAAO,GAAG;AACtG,QAAM,QAAQ,QAAQ,IAAI,mBAAmB,KAAK,QAAQ,iBAAiB;AAC3E,QAAM,kBAAc,qCAAmB,YAAY,OAAO,eAAe;AACzE,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,eAAa,UAAU;AAAA,MACvB,UAAU;AAAA,MACV;AAAA,MACC,GAAG;AAAA,MACH,GAAI,QAAQ,KAAK;AAAA,MACjB,GAAG;AAAA,MAEH,sBAAY,gBACX;AAAA,QACE,CAAC,cACG,CAAC,aAAa,GAAG,YAAY,GAAG,eAAe,IAC/C,CAAC,GAAG,qBAAqB,GAAG,eAAe;AAAA,QAC/C;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA;AAAA,EACJ;AAEJ;AAEA,SAAS,YAAY;AAAA,EACnB,WAAW,kBAAAA,QAAU;AAAA,EACrB,YAAY,kBAAAA,QAAU,MAAM;AAAA,IAC1B,UAAU,kBAAAA,QAAU;AAAA,EACtB,CAAC;AAAA,EACD,UAAU,kBAAAA,QAAU,MAAM;AAAA,IACxB,SAAS,kBAAAA,QAAU,MAAM,CAAC,CAAC;AAAA,IAC3B,QAAQ,kBAAAA,QAAU;AAAA,IAClB,aAAa,kBAAAA,QAAU;AAAA,EACzB,CAAC;AAAA,EACD,QAAQ,kBAAAA,QAAU,MAAM;AAAA,IACtB,UAAU,kBAAAA,QAAU;AAAA,IACpB,MAAM,kBAAAA,QAAU;AAAA,IAChB,OAAO,kBAAAA,QAAU,MAAM,CAAC,CAAC;AAAA,EAC3B,CAAC;AAAA,EACD,aAAa,kBAAAA,QAAU;AAAA,EACvB,UAAU,kBAAAA,QAAU;AAAA,EACpB,MAAM,kBAAAA,QAAU;AAClB;AAGA,IAAO,mBAAQ;",
|
6
|
-
"names": ["PropTypes"]
|
7
|
-
}
|
@@ -1,48 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __create = Object.create;
|
3
|
-
var __defProp = Object.defineProperty;
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
-
var __export = (target, all) => {
|
9
|
-
for (var name in all)
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
11
|
-
};
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
14
|
-
for (let key of __getOwnPropNames(from))
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
17
|
-
}
|
18
|
-
return to;
|
19
|
-
};
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
26
|
-
mod
|
27
|
-
));
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var BodyList_exports = {};
|
30
|
-
__export(BodyList_exports, {
|
31
|
-
default: () => BodyList_default
|
32
|
-
});
|
33
|
-
module.exports = __toCommonJS(BodyList_exports);
|
34
|
-
var React = __toESM(require("react"));
|
35
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
36
|
-
var import_react = __toESM(require("react"));
|
37
|
-
var import_NoResults = require("./NoResults.js");
|
38
|
-
const BodyWrapperDefaultRenderer = ({
|
39
|
-
component: Component,
|
40
|
-
rows,
|
41
|
-
rowRenderer,
|
42
|
-
noResultsPlaceholder,
|
43
|
-
innerRef,
|
44
|
-
innerBodyRef,
|
45
|
-
...otherBodyProps
|
46
|
-
}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { ...otherBodyProps, innerRef, children: rows.length ? rows.map((row, index) => rowRenderer(row, { index }, {})) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_NoResults.NoResults, { innerRef, rowRenderer, children: noResultsPlaceholder }) });
|
47
|
-
var BodyList_default = import_react.default.memo(BodyWrapperDefaultRenderer);
|
48
|
-
//# sourceMappingURL=BodyList.js.map
|
@@ -1,7 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/components/BodyList.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { NoResults } from './NoResults.js';\n\nconst BodyWrapperDefaultRenderer = ({\n component: Component,\n rows,\n rowRenderer,\n noResultsPlaceholder,\n innerRef,\n innerBodyRef,\n ...otherBodyProps\n}) => (\n <Component {...otherBodyProps} innerRef={innerRef}>\n {rows.length ? (\n rows.map((row, index) => rowRenderer(row, { index }, {}))\n ) : (\n <NoResults innerRef={innerRef} rowRenderer={rowRenderer}>\n {noResultsPlaceholder}\n </NoResults>\n )}\n </Component>\n);\n\nexport default React.memo(BodyWrapperDefaultRenderer);\n", "import * as React from 'react';\nexport { React };\n"],
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADgBjB;AAhBN,mBAAkB;AAClB,uBAA0B;AAE1B,MAAM,6BAA6B,CAAC;AAAA,EAClC,WAAW;AAAA,EACX;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MACE,4CAAC,aAAW,GAAG,gBAAgB,UAC5B,eAAK,SACJ,KAAK,IAAI,CAAC,KAAK,UAAU,YAAY,KAAK,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC,IAExD,4CAAC,8BAAU,UAAoB,aAC5B,gCACH,GAEJ;AAGF,IAAO,mBAAQ,aAAAA,QAAM,KAAK,0BAA0B;",
|
6
|
-
"names": ["React"]
|
7
|
-
}
|
@@ -1,65 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __create = Object.create;
|
3
|
-
var __defProp = Object.defineProperty;
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
-
var __export = (target, all) => {
|
9
|
-
for (var name in all)
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
11
|
-
};
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
14
|
-
for (let key of __getOwnPropNames(from))
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
17
|
-
}
|
18
|
-
return to;
|
19
|
-
};
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
26
|
-
mod
|
27
|
-
));
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var ColumnVisibilityMenuOption_exports = {};
|
30
|
-
__export(ColumnVisibilityMenuOption_exports, {
|
31
|
-
getColumnVisibilityMenuOption: () => getColumnVisibilityMenuOption
|
32
|
-
});
|
33
|
-
module.exports = __toCommonJS(ColumnVisibilityMenuOption_exports);
|
34
|
-
var React = __toESM(require("react"));
|
35
|
-
const getColumnVisibilityMenuOption = ({ columns, onColumnVisibilityChange, searchable, height }) => {
|
36
|
-
const { items, active } = columns.reduce(
|
37
|
-
(result, column, index) => ({
|
38
|
-
items: [
|
39
|
-
...result.items,
|
40
|
-
{
|
41
|
-
id: column.property,
|
42
|
-
label: column.label,
|
43
|
-
checked: column.visible,
|
44
|
-
onClick: () => onColumnVisibilityChange(column, index)
|
45
|
-
}
|
46
|
-
],
|
47
|
-
active: !column.visible ? result.active : [...result.active, column.property]
|
48
|
-
}),
|
49
|
-
{
|
50
|
-
items: [],
|
51
|
-
active: []
|
52
|
-
}
|
53
|
-
);
|
54
|
-
return {
|
55
|
-
type: "SelectionGroup",
|
56
|
-
id: "column-visibility-option",
|
57
|
-
multi: true,
|
58
|
-
searchable,
|
59
|
-
closeOnClick: false,
|
60
|
-
active,
|
61
|
-
items,
|
62
|
-
height
|
63
|
-
};
|
64
|
-
};
|
65
|
-
//# sourceMappingURL=ColumnVisibilityMenuOption.js.map
|
@@ -1,7 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/components/ColumnVisibilityMenuOption.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["export const getColumnVisibilityMenuOption = ({ columns, onColumnVisibilityChange, searchable, height }) => {\n const { items, active } = columns.reduce(\n (result, column, index) => ({\n items: [\n ...result.items,\n {\n id: column.property,\n label: column.label,\n checked: column.visible,\n onClick: () => onColumnVisibilityChange(column, index),\n },\n ],\n active: !column.visible ? result.active : [...result.active, column.property],\n }),\n {\n items: [],\n active: [],\n },\n );\n\n return {\n type: 'SelectionGroup',\n id: 'column-visibility-option',\n multi: true,\n searchable,\n closeOnClick: false,\n active,\n items,\n height,\n };\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAhB,MAAM,gCAAgC,CAAC,EAAE,SAAS,0BAA0B,YAAY,OAAO,MAAM;AAC1G,QAAM,EAAE,OAAO,OAAO,IAAI,QAAQ;AAAA,IAChC,CAAC,QAAQ,QAAQ,WAAW;AAAA,MAC1B,OAAO;AAAA,QACL,GAAG,OAAO;AAAA,QACV;AAAA,UACE,IAAI,OAAO;AAAA,UACX,OAAO,OAAO;AAAA,UACd,SAAS,OAAO;AAAA,UAChB,SAAS,MAAM,yBAAyB,QAAQ,KAAK;AAAA,QACvD;AAAA,MACF;AAAA,MACA,QAAQ,CAAC,OAAO,UAAU,OAAO,SAAS,CAAC,GAAG,OAAO,QAAQ,OAAO,QAAQ;AAAA,IAC9E;AAAA,IACA;AAAA,MACE,OAAO,CAAC;AAAA,MACR,QAAQ,CAAC;AAAA,IACX;AAAA,EACF;AAEA,SAAO;AAAA,IACL,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,IACP;AAAA,IACA,cAAc;AAAA,IACd;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;",
|
6
|
-
"names": []
|
7
|
-
}
|
@@ -1,63 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __create = Object.create;
|
3
|
-
var __defProp = Object.defineProperty;
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
-
var __export = (target, all) => {
|
9
|
-
for (var name in all)
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
11
|
-
};
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
14
|
-
for (let key of __getOwnPropNames(from))
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
17
|
-
}
|
18
|
-
return to;
|
19
|
-
};
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
26
|
-
mod
|
27
|
-
));
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var ColumnsOptionsMenuSection_exports = {};
|
30
|
-
__export(ColumnsOptionsMenuSection_exports, {
|
31
|
-
ColumnsOptionsMenuSection: () => ColumnsOptionsMenuSection,
|
32
|
-
default: () => ColumnsOptionsMenuSection_default
|
33
|
-
});
|
34
|
-
module.exports = __toCommonJS(ColumnsOptionsMenuSection_exports);
|
35
|
-
var React = __toESM(require("react"));
|
36
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
37
|
-
var import_ds_menu = require("@elliemae/ds-menu");
|
38
|
-
const ColumnsOptionsMenuSection = ({
|
39
|
-
columns,
|
40
|
-
onColumnVisibilityChange,
|
41
|
-
searchable = false,
|
42
|
-
height
|
43
|
-
// eslint-disable-next-line react/display-name
|
44
|
-
}) => function() {
|
45
|
-
const { items, active } = columns.reduce(
|
46
|
-
(result, column, index) => ({
|
47
|
-
items: [
|
48
|
-
...result.items,
|
49
|
-
{
|
50
|
-
id: column.property,
|
51
|
-
label: column.label,
|
52
|
-
checked: column.visible,
|
53
|
-
onClick: () => onColumnVisibilityChange(column, index)
|
54
|
-
}
|
55
|
-
],
|
56
|
-
active: typeof column.visible === "undefined" || column.visible ? [...result.active, column.property] : result.active
|
57
|
-
}),
|
58
|
-
{ items: [], active: [] }
|
59
|
-
);
|
60
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_menu.Menu.SelectionGroup, { active, height, items, multi: true, searchable });
|
61
|
-
};
|
62
|
-
var ColumnsOptionsMenuSection_default = ColumnsOptionsMenuSection;
|
63
|
-
//# sourceMappingURL=ColumnsOptionsMenuSection.js.map
|
@@ -1,7 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/components/ColumnsOptionsMenuSection.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { Menu } from '@elliemae/ds-menu';\n\nconst ColumnsOptionsMenuSection = ({\n columns,\n onColumnVisibilityChange,\n searchable = false,\n height,\n // eslint-disable-next-line react/display-name\n}) =>\n function () {\n const { items, active } = columns.reduce(\n (result, column, index) => ({\n items: [\n ...result.items,\n {\n id: column.property,\n label: column.label,\n checked: column.visible,\n onClick: () => onColumnVisibilityChange(column, index),\n },\n ],\n active:\n typeof column.visible === 'undefined' || column.visible ? [...result.active, column.property] : result.active,\n }),\n { items: [], active: [] },\n );\n return <Menu.SelectionGroup active={active} height={height} items={items} multi searchable={searchable} />;\n };\n\nexport { ColumnsOptionsMenuSection };\nexport default ColumnsOptionsMenuSection;\n", "import * as React from 'react';\nexport { React };\n"],
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD2BZ;AA1BX,qBAAqB;AAErB,MAAM,4BAA4B,CAAC;AAAA,EACjC;AAAA,EACA;AAAA,EACA,aAAa;AAAA,EACb;AAAA;AAEF,MACE,WAAY;AACV,QAAM,EAAE,OAAO,OAAO,IAAI,QAAQ;AAAA,IAChC,CAAC,QAAQ,QAAQ,WAAW;AAAA,MAC1B,OAAO;AAAA,QACL,GAAG,OAAO;AAAA,QACV;AAAA,UACE,IAAI,OAAO;AAAA,UACX,OAAO,OAAO;AAAA,UACd,SAAS,OAAO;AAAA,UAChB,SAAS,MAAM,yBAAyB,QAAQ,KAAK;AAAA,QACvD;AAAA,MACF;AAAA,MACA,QACE,OAAO,OAAO,YAAY,eAAe,OAAO,UAAU,CAAC,GAAG,OAAO,QAAQ,OAAO,QAAQ,IAAI,OAAO;AAAA,IAC3G;AAAA,IACA,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,EAAE;AAAA,EAC1B;AACA,SAAO,4CAAC,oBAAK,gBAAL,EAAoB,QAAgB,QAAgB,OAAc,OAAK,MAAC,YAAwB;AAC1G;AAGF,IAAO,oCAAQ;",
|
6
|
-
"names": []
|
7
|
-
}
|
@@ -1,81 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __create = Object.create;
|
3
|
-
var __defProp = Object.defineProperty;
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
-
var __export = (target, all) => {
|
9
|
-
for (var name in all)
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
11
|
-
};
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
14
|
-
for (let key of __getOwnPropNames(from))
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
17
|
-
}
|
18
|
-
return to;
|
19
|
-
};
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
26
|
-
mod
|
27
|
-
));
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var EmptyState_exports = {};
|
30
|
-
__export(EmptyState_exports, {
|
31
|
-
EmptyState: () => EmptyState
|
32
|
-
});
|
33
|
-
module.exports = __toCommonJS(EmptyState_exports);
|
34
|
-
var React = __toESM(require("react"));
|
35
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
36
|
-
var import_ds_grid = require("@elliemae/ds-grid");
|
37
|
-
var import_ds_icons = require("@elliemae/ds-icons");
|
38
|
-
var import_ds_system = require("@elliemae/ds-system");
|
39
|
-
var import_ds_button = require("@elliemae/ds-button");
|
40
|
-
const EmptyStateWrapper = (0, import_ds_system.styled)(import_ds_grid.Grid)`
|
41
|
-
min-width: 132px; /* fixed size in px according to specs */
|
42
|
-
max-width: 384px; /* fixed size in px according to specs */
|
43
|
-
height: fit-content;
|
44
|
-
`;
|
45
|
-
const Icon = (0, import_ds_system.styled)(import_ds_icons.WarningTriangle)`
|
46
|
-
fill: ${(props) => props.theme.colors.neutral[300]};
|
47
|
-
color: ${(props) => props.theme.colors.neutral[300]};
|
48
|
-
justify-self: center;
|
49
|
-
`;
|
50
|
-
const PrimaryMessage = import_ds_system.styled.p`
|
51
|
-
text-align: center;
|
52
|
-
font-weight: 600;
|
53
|
-
font-size: ${(props) => (0, import_ds_system.toMobile)(props.theme.fontSizes.value[400])};
|
54
|
-
color: ${(props) => props.theme.colors.neutral[600]};
|
55
|
-
margin-top: ${(props) => (0, import_ds_system.__UNSAFE_SPACE_TO_DIMSUM)(props.theme.space.s)};
|
56
|
-
margin-bottom: ${(props) => (0, import_ds_system.__UNSAFE_SPACE_TO_DIMSUM)(props.theme.space.xs)};
|
57
|
-
`;
|
58
|
-
const SecondaryMessage = import_ds_system.styled.p`
|
59
|
-
text-align: center;
|
60
|
-
font-size: ${(props) => (0, import_ds_system.toMobile)(props.theme.fontSizes.value[400])}; /* 13px */
|
61
|
-
color: ${(props) => props.theme.colors.neutral[500]};
|
62
|
-
margin: 0;
|
63
|
-
`;
|
64
|
-
const Button = (0, import_ds_system.styled)(import_ds_button.DSButton)`
|
65
|
-
margin-top: ${(props) => (0, import_ds_system.__UNSAFE_SPACE_TO_DIMSUM)(props.theme.space.m)};
|
66
|
-
justify-self: center;
|
67
|
-
width: fit-content;
|
68
|
-
`;
|
69
|
-
const EmptyState = ({
|
70
|
-
primaryMessage = "No Results Found",
|
71
|
-
secondaryMessage,
|
72
|
-
buttonLabel,
|
73
|
-
onButtonClick = () => {
|
74
|
-
}
|
75
|
-
}) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(EmptyStateWrapper, { children: [
|
76
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { size: "xxl" }),
|
77
|
-
primaryMessage && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PrimaryMessage, { children: primaryMessage }),
|
78
|
-
secondaryMessage && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SecondaryMessage, { children: secondaryMessage }),
|
79
|
-
buttonLabel && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, { buttonType: "secondary", labelText: buttonLabel, onClick: onButtonClick })
|
80
|
-
] });
|
81
|
-
//# sourceMappingURL=EmptyState.js.map
|
@@ -1,7 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/components/EmptyState.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { Grid } from '@elliemae/ds-grid';\nimport { WarningTriangle } from '@elliemae/ds-icons';\nimport { __UNSAFE_SPACE_TO_DIMSUM, toMobile, styled } from '@elliemae/ds-system';\nimport { DSButton } from '@elliemae/ds-button';\n\nconst EmptyStateWrapper = styled(Grid)`\n min-width: 132px; /* fixed size in px according to specs */\n max-width: 384px; /* fixed size in px according to specs */\n height: fit-content;\n`;\n\nconst Icon = styled(WarningTriangle)`\n fill: ${(props) => props.theme.colors.neutral[300]};\n color: ${(props) => props.theme.colors.neutral[300]};\n justify-self: center;\n`;\n\nconst PrimaryMessage = styled.p`\n text-align: center;\n font-weight: 600;\n font-size: ${(props) => toMobile(props.theme.fontSizes.value[400])};\n color: ${(props) => props.theme.colors.neutral[600]};\n margin-top: ${(props) => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.s)};\n margin-bottom: ${(props) => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.xs)};\n`;\nconst SecondaryMessage = styled.p`\n text-align: center;\n font-size: ${(props) => toMobile(props.theme.fontSizes.value[400])}; /* 13px */\n color: ${(props) => props.theme.colors.neutral[500]};\n margin: 0;\n`;\nconst Button = styled(DSButton)`\n margin-top: ${(props) => __UNSAFE_SPACE_TO_DIMSUM(props.theme.space.m)};\n justify-self: center;\n width: fit-content;\n`;\n\nexport const EmptyState = ({\n primaryMessage = 'No Results Found',\n secondaryMessage,\n buttonLabel,\n onButtonClick = () => {},\n}) => (\n <EmptyStateWrapper>\n <Icon size=\"xxl\" />\n {primaryMessage && <PrimaryMessage>{primaryMessage}</PrimaryMessage>}\n {secondaryMessage && <SecondaryMessage>{secondaryMessage}</SecondaryMessage>}\n {buttonLabel && <Button buttonType=\"secondary\" labelText={buttonLabel} onClick={onButtonClick} />}\n </EmptyStateWrapper>\n);\n", "import * as React from 'react';\nexport { React };\n"],
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD4CrB;AA3CF,qBAAqB;AACrB,sBAAgC;AAChC,uBAA2D;AAC3D,uBAAyB;AAEzB,MAAM,wBAAoB,yBAAO,mBAAI;AAAA;AAAA;AAAA;AAAA;AAMrC,MAAM,WAAO,yBAAO,+BAAe;AAAA,UACzB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,GAAG;AAAA,WACxC,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,GAAG;AAAA;AAAA;AAIpD,MAAM,iBAAiB,wBAAO;AAAA;AAAA;AAAA,eAGf,CAAC,cAAU,2BAAS,MAAM,MAAM,UAAU,MAAM,GAAG,CAAC;AAAA,WACxD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,GAAG;AAAA,gBACpC,CAAC,cAAU,2CAAyB,MAAM,MAAM,MAAM,CAAC;AAAA,mBACpD,CAAC,cAAU,2CAAyB,MAAM,MAAM,MAAM,EAAE;AAAA;AAE3E,MAAM,mBAAmB,wBAAO;AAAA;AAAA,eAEjB,CAAC,cAAU,2BAAS,MAAM,MAAM,UAAU,MAAM,GAAG,CAAC;AAAA,WACxD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,GAAG;AAAA;AAAA;AAGpD,MAAM,aAAS,yBAAO,yBAAQ;AAAA,gBACd,CAAC,cAAU,2CAAyB,MAAM,MAAM,MAAM,CAAC;AAAA;AAAA;AAAA;AAKhE,MAAM,aAAa,CAAC;AAAA,EACzB,iBAAiB;AAAA,EACjB;AAAA,EACA;AAAA,EACA,gBAAgB,MAAM;AAAA,EAAC;AACzB,MACE,6CAAC,qBACC;AAAA,8CAAC,QAAK,MAAK,OAAM;AAAA,EAChB,kBAAkB,4CAAC,kBAAgB,0BAAe;AAAA,EAClD,oBAAoB,4CAAC,oBAAkB,4BAAiB;AAAA,EACxD,eAAe,4CAAC,UAAO,YAAW,aAAY,WAAW,aAAa,SAAS,eAAe;AAAA,GACjG;",
|
6
|
-
"names": []
|
7
|
-
}
|
@@ -1,79 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __create = Object.create;
|
3
|
-
var __defProp = Object.defineProperty;
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
-
var __export = (target, all) => {
|
9
|
-
for (var name in all)
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
11
|
-
};
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
14
|
-
for (let key of __getOwnPropNames(from))
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
17
|
-
}
|
18
|
-
return to;
|
19
|
-
};
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
26
|
-
mod
|
27
|
-
));
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var HeaderCell_exports = {};
|
30
|
-
__export(HeaderCell_exports, {
|
31
|
-
HeaderCell: () => HeaderCell,
|
32
|
-
default: () => HeaderCell_default
|
33
|
-
});
|
34
|
-
module.exports = __toCommonJS(HeaderCell_exports);
|
35
|
-
var React = __toESM(require("react"));
|
36
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
37
|
-
var import_prop_types = __toESM(require("prop-types"));
|
38
|
-
var import_ds_shared = require("@elliemae/ds-shared");
|
39
|
-
var import_ds_truncated_tooltip_text = require("@elliemae/ds-truncated-tooltip-text");
|
40
|
-
const HeaderCell = ({ column, columnIndex, component: Component, classProps, grid }) => {
|
41
|
-
const { property, header = {}, props = {} } = column;
|
42
|
-
const evaluatedProperty = property || header && header.property;
|
43
|
-
const { label, transforms = [], formatters = [] } = header;
|
44
|
-
if (column.headerHookEffects)
|
45
|
-
column.headerHookEffects.forEach((hook) => hook());
|
46
|
-
const extraParameters = {
|
47
|
-
columnIndex,
|
48
|
-
property: evaluatedProperty,
|
49
|
-
column,
|
50
|
-
grid
|
51
|
-
};
|
52
|
-
const withTooltip = (v) => classProps && classProps.wrapText ? v : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_truncated_tooltip_text.DSTruncatedTooltipText, { value: v });
|
53
|
-
const value = withTooltip(label);
|
54
|
-
const transformedProps = (0, import_ds_shared.evaluateTransforms)(transforms, value, extraParameters);
|
55
|
-
const formattedValue = (0, import_ds_shared.evaluateFormatters)(formatters, value, extraParameters);
|
56
|
-
const testId = column.headerDataId || "data-grid-header__cell";
|
57
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
58
|
-
Component,
|
59
|
-
{
|
60
|
-
"data-testid": testId,
|
61
|
-
index: columnIndex,
|
62
|
-
classProps,
|
63
|
-
...props,
|
64
|
-
...header && header.props,
|
65
|
-
...transformedProps,
|
66
|
-
children: transformedProps.children || formattedValue
|
67
|
-
},
|
68
|
-
`${evaluatedProperty}-header`
|
69
|
-
);
|
70
|
-
};
|
71
|
-
HeaderCell.propTypes = {
|
72
|
-
column: import_prop_types.default.any,
|
73
|
-
columnIndex: import_prop_types.default.number,
|
74
|
-
component: import_prop_types.default.any,
|
75
|
-
classProps: import_prop_types.default.any,
|
76
|
-
grid: import_prop_types.default.any
|
77
|
-
};
|
78
|
-
var HeaderCell_default = HeaderCell;
|
79
|
-
//# sourceMappingURL=HeaderCell.js.map
|
@@ -1,7 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/components/HeaderCell.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { evaluateFormatters, evaluateTransforms } from '@elliemae/ds-shared';\nimport { DSTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\n\nexport const HeaderCell = ({ column, columnIndex, component: Component, classProps, grid }) => {\n const { property, header = {}, props = {} } = column;\n\n const evaluatedProperty = property || (header && header.property);\n\n const { label, transforms = [], formatters = [] } = header;\n\n // subscribe hook effects into header cell\n if (column.headerHookEffects) column.headerHookEffects.forEach((hook) => hook());\n\n const extraParameters = {\n columnIndex,\n property: evaluatedProperty,\n column,\n grid,\n };\n\n const withTooltip = (v) => (classProps && classProps.wrapText ? v : <DSTruncatedTooltipText value={v} />);\n const value = withTooltip(label);\n const transformedProps = evaluateTransforms(transforms, value, extraParameters);\n const formattedValue = evaluateFormatters(formatters, value, extraParameters);\n\n const testId = column.headerDataId || 'data-grid-header__cell';\n\n return (\n <Component\n key={`${evaluatedProperty}-header`}\n data-testid={testId}\n index={columnIndex}\n classProps={classProps}\n {...props}\n {...(header && header.props)}\n {...transformedProps}\n >\n {transformedProps.children || formattedValue}\n </Component>\n );\n};\n\nHeaderCell.propTypes = {\n column: PropTypes.any,\n columnIndex: PropTypes.number,\n component: PropTypes.any,\n classProps: PropTypes.any,\n grid: PropTypes.any,\n};\n\nexport default HeaderCell;\n", "import * as React from 'react';\nexport { React };\n"],
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADsB+C;AArBtE,wBAAsB;AACtB,uBAAuD;AACvD,uCAAuC;AAEhC,MAAM,aAAa,CAAC,EAAE,QAAQ,aAAa,WAAW,WAAW,YAAY,KAAK,MAAM;AAC7F,QAAM,EAAE,UAAU,SAAS,CAAC,GAAG,QAAQ,CAAC,EAAE,IAAI;AAE9C,QAAM,oBAAoB,YAAa,UAAU,OAAO;AAExD,QAAM,EAAE,OAAO,aAAa,CAAC,GAAG,aAAa,CAAC,EAAE,IAAI;AAGpD,MAAI,OAAO;AAAmB,WAAO,kBAAkB,QAAQ,CAAC,SAAS,KAAK,CAAC;AAE/E,QAAM,kBAAkB;AAAA,IACtB;AAAA,IACA,UAAU;AAAA,IACV;AAAA,IACA;AAAA,EACF;AAEA,QAAM,cAAc,CAAC,MAAO,cAAc,WAAW,WAAW,IAAI,4CAAC,2DAAuB,OAAO,GAAG;AACtG,QAAM,QAAQ,YAAY,KAAK;AAC/B,QAAM,uBAAmB,qCAAmB,YAAY,OAAO,eAAe;AAC9E,QAAM,qBAAiB,qCAAmB,YAAY,OAAO,eAAe;AAE5E,QAAM,SAAS,OAAO,gBAAgB;AAEtC,SACE;AAAA,IAAC;AAAA;AAAA,MAEC,eAAa;AAAA,MACb,OAAO;AAAA,MACP;AAAA,MACC,GAAG;AAAA,MACH,GAAI,UAAU,OAAO;AAAA,MACrB,GAAG;AAAA,MAEH,2BAAiB,YAAY;AAAA;AAAA,IARzB,GAAG;AAAA,EASV;AAEJ;AAEA,WAAW,YAAY;AAAA,EACrB,QAAQ,kBAAAA,QAAU;AAAA,EAClB,aAAa,kBAAAA,QAAU;AAAA,EACvB,WAAW,kBAAAA,QAAU;AAAA,EACrB,YAAY,kBAAAA,QAAU;AAAA,EACtB,MAAM,kBAAAA,QAAU;AAClB;AAEA,IAAO,qBAAQ;",
|
6
|
-
"names": ["PropTypes"]
|
7
|
-
}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __create = Object.create;
|
3
|
-
var __defProp = Object.defineProperty;
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
-
var __export = (target, all) => {
|
9
|
-
for (var name in all)
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
11
|
-
};
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
14
|
-
for (let key of __getOwnPropNames(from))
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
17
|
-
}
|
18
|
-
return to;
|
19
|
-
};
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
26
|
-
mod
|
27
|
-
));
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var List_exports = {};
|
30
|
-
__export(List_exports, {
|
31
|
-
default: () => List_default
|
32
|
-
});
|
33
|
-
module.exports = __toCommonJS(List_exports);
|
34
|
-
var React = __toESM(require("react"));
|
35
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
36
|
-
const List = (props, instance) => {
|
37
|
-
const { renderers, getListProps } = instance.getInstance();
|
38
|
-
const ListComponent = renderers.list;
|
39
|
-
const mixedProps = getListProps(props);
|
40
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ListComponent, { ...mixedProps });
|
41
|
-
};
|
42
|
-
var List_default = List;
|
43
|
-
//# sourceMappingURL=List.js.map
|
@@ -1,7 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/components/List.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import React from 'react';\n\nconst List = (props, instance) => {\n // todo: add should list update to memoize this\n const { renderers, getListProps } = instance.getInstance();\n const ListComponent = renderers.list;\n\n // props from component props and plugins\n const mixedProps = getListProps(props);\n return <ListComponent {...mixedProps} />;\n};\n\nexport default List;\n", "import * as React from 'react';\nexport { React };\n"],
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADSd;AAPT,MAAM,OAAO,CAAC,OAAO,aAAa;AAEhC,QAAM,EAAE,WAAW,aAAa,IAAI,SAAS,YAAY;AACzD,QAAM,gBAAgB,UAAU;AAGhC,QAAM,aAAa,aAAa,KAAK;AACrC,SAAO,4CAAC,iBAAe,GAAG,YAAY;AACxC;AAEA,IAAO,eAAQ;",
|
6
|
-
"names": []
|
7
|
-
}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __create = Object.create;
|
3
|
-
var __defProp = Object.defineProperty;
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
-
var __export = (target, all) => {
|
9
|
-
for (var name in all)
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
11
|
-
};
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
14
|
-
for (let key of __getOwnPropNames(from))
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
17
|
-
}
|
18
|
-
return to;
|
19
|
-
};
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
26
|
-
mod
|
27
|
-
));
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var ListItem_exports = {};
|
30
|
-
__export(ListItem_exports, {
|
31
|
-
default: () => ListItem_default
|
32
|
-
});
|
33
|
-
module.exports = __toCommonJS(ListItem_exports);
|
34
|
-
var React = __toESM(require("react"));
|
35
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
36
|
-
const ListItem = (props, instance) => {
|
37
|
-
const { record } = props;
|
38
|
-
const {
|
39
|
-
renderers,
|
40
|
-
getItemProps,
|
41
|
-
decorators: { itemRenderer }
|
42
|
-
} = instance.getInstance();
|
43
|
-
const mixedProps = getItemProps(props);
|
44
|
-
const children = itemRenderer.reduce((result, formatter) => formatter(result, record, instance), record.data.name);
|
45
|
-
const ItemComponent = renderers.list;
|
46
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ItemComponent, { record, ...mixedProps, children });
|
47
|
-
};
|
48
|
-
var ListItem_default = ListItem;
|
49
|
-
//# sourceMappingURL=ListItem.js.map
|
@@ -1,7 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/components/ListItem.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import React from 'react';\n\nconst ListItem = (props, instance) => {\n const { record } = props;\n const {\n renderers,\n getItemProps,\n decorators: { itemRenderer },\n } = instance.getInstance();\n\n // props from component props and plugins\n const mixedProps = getItemProps(props);\n\n const children = itemRenderer.reduce((result, formatter) => formatter(result, record, instance), record.data.name);\n\n const ItemComponent = renderers.list;\n return (\n <ItemComponent record={record} {...mixedProps}>\n {children}\n </ItemComponent>\n );\n};\n\nexport default ListItem;\n", "import * as React from 'react';\nexport { React };\n"],
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADiBnB;AAfJ,MAAM,WAAW,CAAC,OAAO,aAAa;AACpC,QAAM,EAAE,OAAO,IAAI;AACnB,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA,YAAY,EAAE,aAAa;AAAA,EAC7B,IAAI,SAAS,YAAY;AAGzB,QAAM,aAAa,aAAa,KAAK;AAErC,QAAM,WAAW,aAAa,OAAO,CAAC,QAAQ,cAAc,UAAU,QAAQ,QAAQ,QAAQ,GAAG,OAAO,KAAK,IAAI;AAEjH,QAAM,gBAAgB,UAAU;AAChC,SACE,4CAAC,iBAAc,QAAiB,GAAG,YAChC,UACH;AAEJ;AAEA,IAAO,mBAAQ;",
|
6
|
-
"names": []
|
7
|
-
}
|