@elliemae/ds-datagrids 3.17.0-next.9 → 3.17.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/types/DSDataGrid.d.ts +452 -0
- package/dist/types/DataGridImpl.d.ts +12 -0
- package/dist/types/PaginatedDataGrid.d.ts +14 -0
- package/dist/types/blockNames.d.ts +4 -0
- package/dist/types/columns/IconColumn.d.ts +35 -0
- package/dist/types/columns/NumberColumn.d.ts +4 -0
- package/dist/types/components/BodyCell.d.ts +33 -0
- package/dist/types/components/BodyList.d.ts +11 -0
- package/dist/types/components/ColumnVisibilityMenuOption.d.ts +15 -0
- package/dist/types/components/ColumnsOptionsMenuSection.d.ts +8 -0
- package/dist/types/components/EmptyState.d.ts +6 -0
- package/dist/types/components/HeaderCell.d.ts +18 -0
- package/dist/types/components/List.d.ts +2 -0
- package/dist/types/components/ListItem.d.ts +2 -0
- package/dist/types/components/NoResults.d.ts +7 -0
- package/dist/types/components/RowsLoader.d.ts +4 -0
- package/dist/types/components/Table.d.ts +8 -0
- package/dist/types/components/TableBody.d.ts +4 -0
- package/dist/types/components/TableHeader.d.ts +3 -0
- package/dist/types/components/footer/addOptionalFooterComponents.d.ts +6 -0
- package/dist/types/components/header/PrimaryControls.d.ts +5 -0
- package/dist/types/components/header/addOptionalHeaderComponents.d.ts +10 -0
- package/dist/types/components/index.d.ts +5 -0
- package/dist/types/components/renderers/defaultClassedRenderers.d.ts +11 -0
- package/dist/types/components/renderers/index.d.ts +15 -0
- package/dist/types/components/renderers/renderRowsLoader.d.ts +1 -0
- package/dist/types/components/tableContext.d.ts +2 -0
- package/dist/types/components/tests/ColumnVisibilityMenu.test.d.ts +1 -0
- package/dist/types/defaultPlugins.d.ts +1 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/plugins/body-header-scroll-sync/BodyHeaderScrollSyncPlugin.d.ts +1 -0
- package/dist/types/plugins/body-header-scroll-sync/index.d.ts +1 -0
- package/dist/types/plugins/column-dnd/DndColumnsPlugin.d.ts +1 -0
- package/dist/types/plugins/column-dnd/decorateGridWithDndColumns.d.ts +2 -0
- package/dist/types/plugins/column-dnd/index.d.ts +1 -0
- package/dist/types/plugins/column-sizing/ColumnSizingPlugin.d.ts +1 -0
- package/dist/types/plugins/column-sizing/columnMeasurerTransformer.d.ts +6 -0
- package/dist/types/plugins/column-sizing/ext-points/decorateColumn.d.ts +1 -0
- package/dist/types/plugins/column-sizing/ext-points/getTableProps.d.ts +10 -0
- package/dist/types/plugins/column-sizing/getColumnNameFromProperty.d.ts +2 -0
- package/dist/types/plugins/column-sizing/index.d.ts +1 -0
- package/dist/types/plugins/column-sizing/useColumnSizeService.d.ts +18 -0
- package/dist/types/plugins/column-sizing/useStylesheetHelpers.d.ts +22 -0
- package/dist/types/plugins/column-sizing/utils.d.ts +5 -0
- package/dist/types/plugins/custom-cell-renderer/CustomRendererPlugin.d.ts +1 -0
- package/dist/types/plugins/custom-cell-renderer/addCustomRendererToCell.d.ts +4 -0
- package/dist/types/plugins/custom-cell-renderer/getRendererComponent.d.ts +11 -0
- package/dist/types/plugins/custom-cell-renderer/index.d.ts +1 -0
- package/dist/types/plugins/editable/EditableComponents/ComboBox.d.ts +12 -0
- package/dist/types/plugins/editable/EditableComponents/TextBox.d.ts +24 -0
- package/dist/types/plugins/editable/EditableComponents/index.d.ts +2 -0
- package/dist/types/plugins/editable/EditablePlugin.d.ts +1 -0
- package/dist/types/plugins/editable/decorateEditable.d.ts +7 -0
- package/dist/types/plugins/editable/getEditorComponent.d.ts +7 -0
- package/dist/types/plugins/editable/index.d.ts +2 -0
- package/dist/types/plugins/expandable-grid/ExpandableColumn.d.ts +28 -0
- package/dist/types/plugins/expandable-grid/ExpandablePlugin.d.ts +1 -0
- package/dist/types/plugins/expandable-grid/ExpandedRow.d.ts +11 -0
- package/dist/types/plugins/expandable-grid/ExpandedRowExtra.d.ts +9 -0
- package/dist/types/plugins/expandable-grid/index.d.ts +2 -0
- package/dist/types/plugins/expandable-grid/tests/ExpandablePlugin.test.d.ts +1 -0
- package/dist/types/plugins/expandable-grid/useExpandGridState.d.ts +16 -0
- package/dist/types/plugins/export-data/ExportDataPlugin.d.ts +4 -0
- package/dist/types/plugins/export-data/index.d.ts +1 -0
- package/dist/types/plugins/filterable/FilterablePlugin.d.ts +1 -0
- package/dist/types/plugins/filterable/addFilterToColumn.d.ts +1 -0
- package/dist/types/plugins/filterable/components/FilterableHeader.d.ts +28 -0
- package/dist/types/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.d.ts +30 -0
- package/dist/types/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.d.ts +27 -0
- package/dist/types/plugins/filterable/components/filterable-menus/SingleRangeSwitcherMenu.d.ts +31 -0
- package/dist/types/plugins/filterable/components/filterable-menus/TextFilterMenu.d.ts +35 -0
- package/dist/types/plugins/filterable/components/filterable-menus/defaultDateFormat.d.ts +1 -0
- package/dist/types/plugins/filterable/components/filterable-menus/getFilterMenuByType.d.ts +2 -0
- package/dist/types/plugins/filterable/filterableFormatter.d.ts +11 -0
- package/dist/types/plugins/filterable/filtering-helper/filterRowsByQuery.d.ts +3 -0
- package/dist/types/plugins/filterable/filtering-helper/strategiesOperators.d.ts +2 -0
- package/dist/types/plugins/filterable/helper.d.ts +22 -0
- package/dist/types/plugins/filterable/index.d.ts +1 -0
- package/dist/types/plugins/filterable/useFilterableState.d.ts +18 -0
- package/dist/types/plugins/grouping-by/GroupingByPlugin.d.ts +1 -0
- package/dist/types/plugins/grouping-grid/GroupingPlugin.d.ts +1 -0
- package/dist/types/plugins/grouping-grid/walkStrategy.d.ts +9 -0
- package/dist/types/plugins/index.d.ts +16 -0
- package/dist/types/plugins/infinite-scrolling/InfiniteScrollPlugin.d.ts +1 -0
- package/dist/types/plugins/infinite-scrolling/index.d.ts +1 -0
- package/dist/types/plugins/pagination/PaginationPlugin.d.ts +1 -0
- package/dist/types/plugins/pagination/components/Pagination.d.ts +10 -0
- package/dist/types/plugins/pagination/components/Paginator.d.ts +9 -0
- package/dist/types/plugins/pagination/components/PerPageDropdown.d.ts +9 -0
- package/dist/types/plugins/pagination/helper.d.ts +18 -0
- package/dist/types/plugins/pagination/index.d.ts +1 -0
- package/dist/types/plugins/pagination/usePaginationState.d.ts +9 -0
- package/dist/types/plugins/resizable/ResizablePlugin.d.ts +1 -0
- package/dist/types/plugins/resizable/decorateResizable.d.ts +3 -0
- package/dist/types/plugins/resizable/index.d.ts +1 -0
- package/dist/types/plugins/resizable/useResizeHandle.d.ts +13 -0
- package/dist/types/plugins/resizable/utils.d.ts +3 -0
- package/dist/types/plugins/row-dnd/DndRowsPlugin.d.ts +1 -0
- package/dist/types/plugins/row-dnd/index.d.ts +1 -0
- package/dist/types/plugins/selectable/SelectablePlugin.d.ts +1 -0
- package/dist/types/plugins/selectable/addSelectableColumn.d.ts +30 -0
- package/dist/types/plugins/selectable/helper.d.ts +6 -0
- package/dist/types/plugins/selectable/index.d.ts +1 -0
- package/dist/types/plugins/selectable/selectableFormatter.d.ts +9 -0
- package/dist/types/plugins/selectable/useSelectableState.d.ts +12 -0
- package/dist/types/plugins/sortable/SortablePlugin.d.ts +1 -0
- package/dist/types/plugins/sortable/checkIfSortable.d.ts +2 -0
- package/dist/types/plugins/sortable/index.d.ts +1 -0
- package/dist/types/plugins/sortable/sortHeaderFormatter.d.ts +6 -0
- package/dist/types/plugins/sortable/sortTree.d.ts +3 -0
- package/dist/types/plugins/sortable/sorter.d.ts +12 -0
- package/dist/types/plugins/sortable/useSortableState.d.ts +8 -0
- package/dist/types/plugins/toolbar/RowRenderer.d.ts +10 -0
- package/dist/types/plugins/toolbar/ToolbarPlugin.d.ts +1 -0
- package/dist/types/plugins/toolbar/ToolbarTrigger.d.ts +7 -0
- package/dist/types/plugins/toolbar/index.d.ts +1 -0
- package/dist/types/plugins/virtualization/AutoHeightList.d.ts +3 -0
- package/dist/types/plugins/virtualization/VirtualizationPlugin.d.ts +1 -0
- package/dist/types/plugins/virtualization/VirtualizedBody.d.ts +32 -0
- package/dist/types/plugins/virtualization/VirtualizedBodyRow.d.ts +8 -0
- package/dist/types/plugins/virtualization/helper.d.ts +1 -0
- package/dist/types/plugins/virtualization/index.d.ts +1 -0
- package/dist/types/renders/CellWithAddons.d.ts +51 -0
- package/dist/types/renders/index.d.ts +2 -0
- package/dist/types/renders/styled.d.ts +4 -0
- package/dist/types/rowSizes.d.ts +11 -0
- package/dist/types/tests/DataGrid-Columns.test.d.ts +1 -0
- package/dist/types/tests/DataGrid-Editable.test.d.ts +1 -0
- package/dist/types/tests/DataGrid-Export.test.d.ts +1 -0
- package/dist/types/tests/DataGrid-Filter-helper.test.d.ts +1 -0
- package/dist/types/tests/DataGrid-Filterable-Dates.test.d.ts +1 -0
- package/dist/types/tests/DataGrid-Filterable-State.test.d.ts +1 -0
- package/dist/types/tests/DataGrid-RowDnd.test.d.ts +1 -0
- package/dist/types/tests/DataGrid-Selectable.test.d.ts +1 -0
- package/dist/types/tests/DataGrid-Sortable.test.d.ts +1 -0
- package/dist/types/tests/DataGrid-Toolbar.test.d.ts +1 -0
- package/dist/types/tests/DataGrid-Virtualization.test.d.ts +1 -0
- package/dist/types/tests/DataGrids-ColumnSizing.test.d.ts +1 -0
- package/dist/types/tests/DataGrids-ConditionalPagination.test.d.ts +1 -0
- package/dist/types/tests/DataGrids-Rows.test.d.ts +1 -0
- package/dist/types/tests/DataGrids.test.d.ts +1 -0
- package/dist/types/utilities/getPluginsFromProps.d.ts +2 -0
- package/dist/types/utilities/getScrollbarSize.d.ts +1 -0
- package/dist/types/utilities/normalizeData.d.ts +3 -0
- package/package.json +20 -20
@@ -0,0 +1,18 @@
|
|
1
|
+
export declare function useFilterableState(grid: any): {
|
2
|
+
actions: {
|
3
|
+
addFilter: (filter: any, column: any) => void;
|
4
|
+
removeFilter: ({ group, pill, nextFilters }: {
|
5
|
+
group: any;
|
6
|
+
pill: any;
|
7
|
+
nextFilters: any;
|
8
|
+
}) => void;
|
9
|
+
removeAllFilters: () => void;
|
10
|
+
};
|
11
|
+
state: {
|
12
|
+
query: {
|
13
|
+
condition: string;
|
14
|
+
rules: never[];
|
15
|
+
};
|
16
|
+
filters: any;
|
17
|
+
};
|
18
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const GroupingByPlugin: (decorators: any) => any;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const GroupingPlugin: (decorators: any) => any;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare function walkTreeStrategy({ data, childrenKey, level, getId, parentNode, shouldWalkChildren, cb, }: {
|
2
|
+
data: any;
|
3
|
+
childrenKey?: string | undefined;
|
4
|
+
level?: number | undefined;
|
5
|
+
getId?: ((item: any) => any) | undefined;
|
6
|
+
parentNode: any;
|
7
|
+
shouldWalkChildren?: (() => boolean) | undefined;
|
8
|
+
cb: any;
|
9
|
+
}): void;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export { BodyHeaderScrollSyncPlugin } from './body-header-scroll-sync/index.js';
|
2
|
+
export { DndColumnsPlugin } from './column-dnd/index.js';
|
3
|
+
export { ColumnSizingPlugin } from './column-sizing/index.js';
|
4
|
+
export { CustomRendererPlugin } from './custom-cell-renderer/index.js';
|
5
|
+
export { EditablePlugin, ComboBox, TextBox } from './editable/index.js';
|
6
|
+
export { ExpandableColumn, ExpandablePlugin } from './expandable-grid/index.js';
|
7
|
+
export { FilterablePlugin } from './filterable/index.js';
|
8
|
+
export { InfiniteScrollPlugin } from './infinite-scrolling/index.js';
|
9
|
+
export { PaginationPlugin } from './pagination/index.js';
|
10
|
+
export { ResizablePlugin } from './resizable/index.js';
|
11
|
+
export { DndRowsPlugin } from './row-dnd/index.js';
|
12
|
+
export { SelectablePlugin } from './selectable/index.js';
|
13
|
+
export { SortablePlugin } from './sortable/index.js';
|
14
|
+
export { ToolbarPlugin } from './toolbar/index.js';
|
15
|
+
export { ExportDataPlugin } from './export-data/index.js';
|
16
|
+
export { VirtualizationPlugin } from './virtualization/index.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const InfiniteScrollPlugin: (decorators: any) => any;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { InfiniteScrollPlugin } from './InfiniteScrollPlugin.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const PaginationPlugin: (decorators: any) => any;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
declare const Pagination: ({ paginated, pagination, onPerPage, onPageSelect, paginationStep, maxPerPage, minPerPage, }: {
|
2
|
+
paginated: any;
|
3
|
+
pagination?: {} | undefined;
|
4
|
+
onPerPage: any;
|
5
|
+
onPageSelect: any;
|
6
|
+
paginationStep?: number | undefined;
|
7
|
+
maxPerPage?: number | undefined;
|
8
|
+
minPerPage?: number | undefined;
|
9
|
+
}) => import("react/jsx-runtime.js").JSX.Element | null;
|
10
|
+
export { Pagination };
|
@@ -0,0 +1,9 @@
|
|
1
|
+
declare const Paginator: ({ pagination, pages, onSelect, labelPrevious, labelNext }: {
|
2
|
+
pagination: any;
|
3
|
+
pages: any;
|
4
|
+
onSelect: any;
|
5
|
+
labelPrevious?: string | undefined;
|
6
|
+
labelNext?: string | undefined;
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
8
|
+
export { Paginator };
|
9
|
+
export default Paginator;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
declare const PerPageDropdown: ({ min, max, step, value, onChange }: {
|
2
|
+
min?: number | undefined;
|
3
|
+
max?: number | undefined;
|
4
|
+
step?: number | undefined;
|
5
|
+
value?: number | undefined;
|
6
|
+
onChange?: (() => null) | undefined;
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
8
|
+
export { PerPageDropdown };
|
9
|
+
export default PerPageDropdown;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export declare const parsePerPageNumber: (number: any, max: any, min?: number) => any;
|
2
|
+
export declare const paginate: (rows: any, { page, perPage, amountOfPages: amount, totalRows }: {
|
3
|
+
page: any;
|
4
|
+
perPage?: number | undefined;
|
5
|
+
amountOfPages: any;
|
6
|
+
totalRows: any;
|
7
|
+
}) => {
|
8
|
+
amount: any;
|
9
|
+
rows: any;
|
10
|
+
page: any;
|
11
|
+
allRows?: undefined;
|
12
|
+
} | {
|
13
|
+
amount: number;
|
14
|
+
rows: any;
|
15
|
+
allRows: any;
|
16
|
+
page: number;
|
17
|
+
};
|
18
|
+
export default paginate;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { PaginationPlugin } from './PaginationPlugin.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const ResizablePlugin: (decorators: any) => any;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ResizablePlugin } from './ResizablePlugin.js';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export declare const useResizeHandle: ({ onDragStart, onDrag, onDragEnd, minWidth, isLast }: {
|
3
|
+
onDragStart: any;
|
4
|
+
onDrag: any;
|
5
|
+
onDragEnd: any;
|
6
|
+
minWidth?: number | undefined;
|
7
|
+
isLast?: boolean | undefined;
|
8
|
+
}) => {
|
9
|
+
containerRef: React.MutableRefObject<undefined>;
|
10
|
+
Handle: ({ className }: {
|
11
|
+
className?: string | undefined;
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
13
|
+
};
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export declare const isPercentNumber: (stringNumber: any) => boolean;
|
2
|
+
export declare const isPxNumber: (stringNumber: any) => boolean;
|
3
|
+
export declare const translatePercentageToPx: import("memoize-one").MemoizedFn<(this: any, totalWidth: any, percentage: any, minWidth?: any) => any>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const DndRowsPlugin: (decorators: any) => any;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { DndRowsPlugin } from './DndRowsPlugin.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const SelectablePlugin: (decorators: any) => any;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
export declare function selectionColumnCreator({ grid, selectAll, selectionComponent, onSelectRow, onSelectAll, multiple, multiSelectFilterLabel, multiSelectFilterOptions, multiSelectFilterLabels, multiSelectComponent, }: {
|
2
|
+
grid: any;
|
3
|
+
selectAll: any;
|
4
|
+
selectionComponent: any;
|
5
|
+
onSelectRow: any;
|
6
|
+
onSelectAll: any;
|
7
|
+
multiple: any;
|
8
|
+
multiSelectFilterLabel: any;
|
9
|
+
multiSelectFilterOptions: any;
|
10
|
+
multiSelectFilterLabels: any;
|
11
|
+
multiSelectComponent: any;
|
12
|
+
}): ({ visible, isDataColumn, width, minWidth, cellRenderer, headerCellRenderer, customRenderer, header, ...column }?: {
|
13
|
+
visible?: boolean | undefined;
|
14
|
+
isDataColumn?: boolean | undefined;
|
15
|
+
width?: number | undefined;
|
16
|
+
minWidth: any;
|
17
|
+
cellRenderer: any;
|
18
|
+
headerCellRenderer: any;
|
19
|
+
customRenderer: any;
|
20
|
+
header: any;
|
21
|
+
}) => {
|
22
|
+
property: string;
|
23
|
+
filterLabel: any;
|
24
|
+
filterOptions: any;
|
25
|
+
filterLabels: any;
|
26
|
+
visible: boolean;
|
27
|
+
width: number;
|
28
|
+
minWidth: any;
|
29
|
+
isDataColumn: boolean;
|
30
|
+
};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/// <reference types="lodash" />
|
2
|
+
export declare const checkAllRowsSelected: (rows: any, selectedRows: any) => boolean | "mixed";
|
3
|
+
export declare const toggleSelectAll: (rows: any, checked: any) => any;
|
4
|
+
export declare const toggleSingleSelectable: (selectedRows: any, id: any) => import("lodash").Omit<Record<string, unknown>, string>;
|
5
|
+
export declare const selectSingleRow: (rows: any, filter: any) => any;
|
6
|
+
export declare const selectMultipleRow: (rows: any, isRowSelectedPredicate: any) => any;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { SelectablePlugin } from './SelectablePlugin.js';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
declare const selectableFormatter: ({ isMultiSelect, renderer, className, isHeader, onSelect }: {
|
2
|
+
isMultiSelect?: boolean | undefined;
|
3
|
+
renderer: any;
|
4
|
+
className: any;
|
5
|
+
isHeader: any;
|
6
|
+
onSelect: any;
|
7
|
+
}, grid: any) => (valueRender: any, extraParams: any) => import("react/jsx-runtime").JSX.Element;
|
8
|
+
export { selectableFormatter };
|
9
|
+
export default selectableFormatter;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare function useSelectableState(grid: any): {
|
2
|
+
actions: {
|
3
|
+
selectRow: (id: any, index: any, shift?: boolean, lastSelectedRow?: null) => void;
|
4
|
+
selectAll: (checked: any) => void;
|
5
|
+
};
|
6
|
+
state: {
|
7
|
+
selection: {
|
8
|
+
selectedRows: any;
|
9
|
+
selectAll: any;
|
10
|
+
};
|
11
|
+
};
|
12
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const SortablePlugin: (decorators: any) => any;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { SortablePlugin } from './SortablePlugin.js';
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare const sorter: ({ columns, sortingColumns, sort, emptyLast }?: {
|
2
|
+
columns: any;
|
3
|
+
sortingColumns: any;
|
4
|
+
sort: any;
|
5
|
+
emptyLast: any;
|
6
|
+
}) => (data: any) => any;
|
7
|
+
export declare const sorterGroups: ({ columns, sortingColumns, sort, emptyLast }?: {
|
8
|
+
columns: any;
|
9
|
+
sortingColumns: any;
|
10
|
+
sort: any;
|
11
|
+
emptyLast: any;
|
12
|
+
}) => (data: any, rowsData: any) => any;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import PropTypes from 'prop-types';
|
2
|
+
export declare const RowRenderer: (Row: any, grid: any) => {
|
3
|
+
(props: any): import("react/jsx-runtime.js").JSX.Element;
|
4
|
+
propTypes: {
|
5
|
+
rowData: PropTypes.Requireable<any>;
|
6
|
+
index: PropTypes.Requireable<number>;
|
7
|
+
rowIndex: PropTypes.Requireable<number>;
|
8
|
+
style: PropTypes.Requireable<any>;
|
9
|
+
};
|
10
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const ToolbarPlugin: (decorators: any) => any;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ToolbarPlugin } from './ToolbarPlugin.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const VirtualizationPlugin: (decorators: any) => any;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import PropTypes from 'prop-types';
|
2
|
+
declare const VirtualizedBody: {
|
3
|
+
(props: any): import("react/jsx-runtime.js").JSX.Element;
|
4
|
+
defaultProps: {
|
5
|
+
rows: never[];
|
6
|
+
overscanCount: number;
|
7
|
+
};
|
8
|
+
propTypes: {
|
9
|
+
autoScrollToId: PropTypes.Requireable<number>;
|
10
|
+
columns: PropTypes.Requireable<(PropTypes.InferProps<{}> | null | undefined)[]>;
|
11
|
+
component: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
12
|
+
expandable: PropTypes.Requireable<boolean>;
|
13
|
+
filters: PropTypes.Requireable<any>;
|
14
|
+
innerRef: PropTypes.Requireable<any>;
|
15
|
+
innerBody: PropTypes.Requireable<any>;
|
16
|
+
isPlaceholderActive: PropTypes.Requireable<boolean>;
|
17
|
+
listProps: PropTypes.Requireable<PropTypes.InferProps<{
|
18
|
+
itemSize: PropTypes.Requireable<(...args: any[]) => any>;
|
19
|
+
outerRef: PropTypes.Requireable<any>;
|
20
|
+
}>>;
|
21
|
+
noResultsPlaceholder: PropTypes.Requireable<NonNullable<string | PropTypes.ReactElementLike | null | undefined>>;
|
22
|
+
overscanCount: PropTypes.Requireable<number>;
|
23
|
+
rows: PropTypes.Requireable<(PropTypes.InferProps<{}> | null | undefined)[]>;
|
24
|
+
rowHeight: PropTypes.Requireable<number>;
|
25
|
+
rowKey: PropTypes.Requireable<string>;
|
26
|
+
rowRenderer: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
27
|
+
rowSize: PropTypes.Requireable<any>;
|
28
|
+
setHasScroll: PropTypes.Requireable<(...args: any[]) => any>;
|
29
|
+
};
|
30
|
+
};
|
31
|
+
export { VirtualizedBody };
|
32
|
+
export default VirtualizedBody;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const isSafari: boolean | "";
|
@@ -0,0 +1 @@
|
|
1
|
+
export { VirtualizationPlugin } from './VirtualizationPlugin.js';
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import PropTypes from 'prop-types';
|
2
|
+
export declare const CellWithAddons: {
|
3
|
+
({ leftAddon, keepLeftPadding, rightAddon, badgeAddon, highLight, isEdit, editComponent, value, neutralText, metaData, }: {
|
4
|
+
leftAddon: any;
|
5
|
+
keepLeftPadding: any;
|
6
|
+
rightAddon: any;
|
7
|
+
badgeAddon: any;
|
8
|
+
highLight: any;
|
9
|
+
isEdit: any;
|
10
|
+
editComponent: any;
|
11
|
+
value: any;
|
12
|
+
neutralText: any;
|
13
|
+
metaData: any;
|
14
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
15
|
+
propTypes: {
|
16
|
+
/** Text to render inside the cell */
|
17
|
+
value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
18
|
+
/** Left Icon */
|
19
|
+
leftAddon: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
20
|
+
/** keep the left spacing even if no left addons is addded */
|
21
|
+
keepLeftPadding: PropTypes.Requireable<boolean>;
|
22
|
+
/** Right Icon Button or Dropdown */
|
23
|
+
rightAddon: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
24
|
+
/** TextBox/InputMask/ComboBox */
|
25
|
+
editComponent: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
26
|
+
/** if is true it will show editComponent */
|
27
|
+
isEdit: PropTypes.Requireable<boolean>;
|
28
|
+
/** Shows a blue mark in the top left corner */
|
29
|
+
badgeAddon: PropTypes.Requireable<boolean>;
|
30
|
+
/** change background color to light blue */
|
31
|
+
highLight: PropTypes.Requireable<boolean>;
|
32
|
+
/** change text color to light gray */
|
33
|
+
neutralText: PropTypes.Requireable<boolean>;
|
34
|
+
/** data grid meta-information */
|
35
|
+
metaData: PropTypes.Requireable<PropTypes.InferProps<{
|
36
|
+
className: PropTypes.Requireable<string>;
|
37
|
+
column: PropTypes.Requireable<object>;
|
38
|
+
columnIndex: PropTypes.Requireable<number>;
|
39
|
+
index: PropTypes.Requireable<number>;
|
40
|
+
isScrolling: PropTypes.Requireable<boolean>;
|
41
|
+
key: PropTypes.Requireable<string>;
|
42
|
+
parentRowData: PropTypes.Requireable<any>;
|
43
|
+
property: PropTypes.Requireable<string>;
|
44
|
+
registerFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
45
|
+
rowData: PropTypes.Requireable<object>;
|
46
|
+
rowIndex: PropTypes.Requireable<number>;
|
47
|
+
rowKey: PropTypes.Requireable<string>;
|
48
|
+
style: PropTypes.Requireable<object>;
|
49
|
+
}>>;
|
50
|
+
};
|
51
|
+
};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const CellWrapper: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
|
3
|
+
export declare const ValueWrapper: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
|
4
|
+
export declare const CellContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/react-desc-prop-types").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, object, never>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function getScrollbarWidth(compensatePixels?: number): number;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@elliemae/ds-datagrids",
|
3
|
-
"version": "3.17.0
|
3
|
+
"version": "3.17.0",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "ICE MT - Dimsum - Data Grids",
|
6
6
|
"files": [
|
@@ -556,25 +556,25 @@
|
|
556
556
|
"sortabular": "~1.6.0",
|
557
557
|
"stylesheet-helpers": "~0.2.2",
|
558
558
|
"uuid": "~8.3.2",
|
559
|
-
"@elliemae/ds-
|
560
|
-
"@elliemae/ds-
|
561
|
-
"@elliemae/ds-
|
562
|
-
"@elliemae/ds-
|
563
|
-
"@elliemae/ds-
|
564
|
-
"@elliemae/ds-
|
565
|
-
"@elliemae/ds-
|
566
|
-
"@elliemae/ds-popper": "3.17.0
|
567
|
-
"@elliemae/ds-
|
568
|
-
"@elliemae/ds-props-helpers": "3.17.0
|
569
|
-
"@elliemae/ds-
|
570
|
-
"@elliemae/ds-
|
571
|
-
"@elliemae/ds-
|
572
|
-
"@elliemae/ds-
|
573
|
-
"@elliemae/ds-
|
574
|
-
"@elliemae/ds-
|
575
|
-
"@elliemae/ds-system": "3.17.0
|
576
|
-
"@elliemae/ds-
|
577
|
-
"@elliemae/ds-
|
559
|
+
"@elliemae/ds-button": "3.17.0",
|
560
|
+
"@elliemae/ds-classnames": "3.17.0",
|
561
|
+
"@elliemae/ds-datagrids": "3.17.0",
|
562
|
+
"@elliemae/ds-dropdownmenu": "3.17.0",
|
563
|
+
"@elliemae/ds-controlled-form": "3.17.0",
|
564
|
+
"@elliemae/ds-filterbar": "3.17.0",
|
565
|
+
"@elliemae/ds-form": "3.17.0",
|
566
|
+
"@elliemae/ds-popper": "3.17.0",
|
567
|
+
"@elliemae/ds-grid": "3.17.0",
|
568
|
+
"@elliemae/ds-props-helpers": "3.17.0",
|
569
|
+
"@elliemae/ds-separator": "3.17.0",
|
570
|
+
"@elliemae/ds-menu": "3.17.0",
|
571
|
+
"@elliemae/ds-shared": "3.17.0",
|
572
|
+
"@elliemae/ds-spinner": "3.17.0",
|
573
|
+
"@elliemae/ds-icons": "3.17.0",
|
574
|
+
"@elliemae/ds-toolbar": "3.17.0",
|
575
|
+
"@elliemae/ds-system": "3.17.0",
|
576
|
+
"@elliemae/ds-truncated-tooltip-text": "3.17.0",
|
577
|
+
"@elliemae/ds-utilities": "3.17.0"
|
578
578
|
},
|
579
579
|
"devDependencies": {
|
580
580
|
"@testing-library/jest-dom": "~5.16.5",
|