@elliemae/ds-legacy-datagrids 1.0.25 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/DSDataGrid.d.ts +2 -1
- package/dist/types/DataGridImpl.d.ts +2 -1
- package/dist/types/PaginatedDataGrid.d.ts +3 -2
- package/dist/types/columns/IconColumn.d.ts +3 -2
- package/dist/types/components/BodyCell.d.ts +2 -1
- package/dist/types/components/BodyList.d.ts +1 -1
- package/dist/types/components/ColumnsOptionsMenuSection.d.ts +2 -1
- package/dist/types/components/EmptyState.d.ts +2 -1
- package/dist/types/components/HeaderCell.d.ts +2 -1
- package/dist/types/components/List.d.ts +2 -1
- package/dist/types/components/ListItem.d.ts +2 -1
- package/dist/types/components/NoResults.d.ts +2 -1
- package/dist/types/components/RowsLoader.d.ts +2 -1
- package/dist/types/components/Table.d.ts +2 -2
- package/dist/types/components/TableHeader.d.ts +2 -1
- package/dist/types/components/footer/addOptionalFooterComponents.d.ts +2 -1
- package/dist/types/components/header/PrimaryControls.d.ts +2 -1
- package/dist/types/components/header/addOptionalHeaderComponents.d.ts +2 -1
- package/dist/types/components/renderers/renderRowsLoader.d.ts +2 -1
- package/dist/types/plugins/custom-cell-renderer/getRendererComponent.d.ts +2 -1
- package/dist/types/plugins/editable/EditableComponents/ComboBox.d.ts +2 -2
- package/dist/types/plugins/editable/EditableComponents/TextBox.d.ts +2 -2
- package/dist/types/plugins/expandable-grid/ExpandableColumn.d.ts +2 -1
- package/dist/types/plugins/expandable-grid/ExpandedRow.d.ts +2 -1
- package/dist/types/plugins/expandable-grid/ExpandedRowExtra.d.ts +2 -1
- package/dist/types/plugins/filterable/components/FilterableHeader.d.ts +2 -1
- package/dist/types/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.d.ts +2 -1
- package/dist/types/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.d.ts +2 -1
- package/dist/types/plugins/filterable/components/filterable-menus/TextFilterMenu.d.ts +2 -1
- package/dist/types/plugins/filterable/filterableFormatter.d.ts +2 -1
- package/dist/types/plugins/pagination/components/Pagination.d.ts +2 -1
- package/dist/types/plugins/pagination/components/Paginator.d.ts +2 -1
- package/dist/types/plugins/pagination/components/PerPageDropdown.d.ts +2 -1
- package/dist/types/plugins/resizable/decorateResizable.d.ts +2 -1
- package/dist/types/plugins/resizable/useResizeHandle.d.ts +1 -1
- package/dist/types/plugins/selectable/selectableFormatter.d.ts +2 -1
- package/dist/types/plugins/sortable/sortHeaderFormatter.d.ts +2 -1
- package/dist/types/plugins/toolbar/RowRenderer.d.ts +2 -1
- package/dist/types/plugins/toolbar/ToolbarTrigger.d.ts +2 -1
- package/dist/types/plugins/virtualization/VirtualizedBody.d.ts +2 -1
- package/dist/types/renders/CellWithAddons.d.ts +2 -1
- package/package.json +23 -22
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const DSDataGrids: {
|
|
2
3
|
({ containerProps, instanceRef, className, columns, rows, rowKey, infiniteScrolling, editable, sortable, sortEmptyLast, paginated, dragAndDropRows, selectable, resizeableColumns, searchFilters, dragAndDropColumns, useTreeData, autoScrollToId, overscanCount, selectAll, selectedRows, filters, onAddFilter, onRemoveFilter, onFiltersChange, showFilterBar, multiSelectFilterOptions, multiSelectFilterLabels, multiSelectFilterLabel, aggregations, groupingColumn, sortingColumns, minPerPage, maxPerPage, onPerPageChange, onPageChange, paginationStep, pagination, showHeader, fixedHeader, wrapText, height, minColumnWidth, showRowsLoader, visibleColumns, showSelectHighlight, showSelectColumn, selectColumnSortable, selectColumnFilterable, selectionColumnDefinition, filterBarOptions, renderToolbar, toolbarDelayClose, renderFilterToolbar, multiSelectComponent, noResultsRender, noResultsPlaceholder, fluidHeight, customHandlers, groupedBy, onDefaultFiltersLoad, onReorder, onMoveRowEnd, onMoveRowStart, onMoveColumnOver, onMoveColumnStart, onMoveColumnEnd, onColumnResize, onExpandChange, onToggleExpand, onExpandRow, onFilter, onSort, onColumnRowEdited, onColumnRowEdit, onSelectRow, onSelectAll, onInfiniteScrolling, onFilterMenuClose, onFilterMenuOpen, getData, serverSideData, isDataSorted, isDataFiltered, virtualized, numRowsVisible, isColumnEditable, groupedRows, groupedRowsRenderHeader, renderExpandedDetails, detailColumns, expandable, getChildrenRows, expandableSubrowsVisible, renderRowDetails, getExpandedRowSize, getExpandedRowMinSize, rowSize, subRowSize, bindColumnsSizeTo, bindRowSizeTo, onToggleShowAllRows, expandedRows, autoHeight, noColumnsPlaceholder, plugins, normalizeDataKeys, }: {
|
|
3
4
|
containerProps?: {} | undefined;
|
|
@@ -113,7 +114,7 @@ declare const DSDataGrids: {
|
|
|
113
114
|
noColumnsPlaceholder: any;
|
|
114
115
|
plugins?: never[] | undefined;
|
|
115
116
|
normalizeDataKeys?: boolean | undefined;
|
|
116
|
-
}):
|
|
117
|
+
}): React.JSX.Element;
|
|
117
118
|
propTypes: {
|
|
118
119
|
/** ref to the instance of the datagrid, handle it imperatively */
|
|
119
120
|
instanceRef: import("@elliemae/ds-legacy-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const DataGridImpl: ({ className, renderers, columns, rows, containerProps, plugins: pluginsProp, normalizeDataKeys, ...otherProps }: {
|
|
2
3
|
[x: string]: any;
|
|
3
4
|
className: any;
|
|
@@ -7,6 +8,6 @@ declare const DataGridImpl: ({ className, renderers, columns, rows, containerPro
|
|
|
7
8
|
containerProps: any;
|
|
8
9
|
plugins: any;
|
|
9
10
|
normalizeDataKeys: any;
|
|
10
|
-
}) =>
|
|
11
|
+
}) => React.JSX.Element;
|
|
11
12
|
export { DataGridImpl };
|
|
12
13
|
export default DataGridImpl;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const PaginatedDataGrid: ({ columns, rows, showRowsLoader, noResultsPlaceholder, rowsLoaderRenderer, maxPerPage, minPerPage, onPageSelect, onPerPage, pagination, ...otherProps }: {
|
|
2
3
|
[x: string]: any;
|
|
3
4
|
columns: any;
|
|
4
5
|
rows: any;
|
|
5
6
|
showRowsLoader: any;
|
|
6
7
|
noResultsPlaceholder: any;
|
|
7
|
-
rowsLoaderRenderer?: (() =>
|
|
8
|
+
rowsLoaderRenderer?: (() => React.JSX.Element) | undefined;
|
|
8
9
|
maxPerPage: any;
|
|
9
10
|
minPerPage: any;
|
|
10
11
|
onPageSelect: any;
|
|
11
12
|
onPerPage: any;
|
|
12
13
|
pagination: any;
|
|
13
|
-
}) =>
|
|
14
|
+
}) => React.JSX.Element;
|
|
14
15
|
export default PaginatedDataGrid;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export declare const IconColumn: ({ property, label, headerIcon, getRowIcon, isVisited, intent, width, onClick, visible, resizable, sortable, searchable, }: {
|
|
2
3
|
property: any;
|
|
3
4
|
label: any;
|
|
@@ -18,10 +19,10 @@ export declare const IconColumn: ({ property, label, headerIcon, getRowIcon, isV
|
|
|
18
19
|
justifyContent: string;
|
|
19
20
|
};
|
|
20
21
|
header: {
|
|
21
|
-
formatters: (() =>
|
|
22
|
+
formatters: (() => React.JSX.Element)[];
|
|
22
23
|
};
|
|
23
24
|
cell: {
|
|
24
|
-
formatters: ((value: any, extraParams: any) =>
|
|
25
|
+
formatters: ((value: any, extraParams: any) => React.JSX.Element)[];
|
|
25
26
|
};
|
|
26
27
|
cellStyle: {
|
|
27
28
|
justifyContent: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
3
|
declare const BodyCell: {
|
|
3
4
|
({ component: Component, classProps, rowProps, column, columnIndex, rowIndex, grid }: {
|
|
@@ -8,7 +9,7 @@ declare const BodyCell: {
|
|
|
8
9
|
columnIndex: any;
|
|
9
10
|
rowIndex: any;
|
|
10
11
|
grid: any;
|
|
11
|
-
}):
|
|
12
|
+
}): React.JSX.Element;
|
|
12
13
|
propTypes: {
|
|
13
14
|
component: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
14
15
|
classProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const ColumnsOptionsMenuSection: ({ columns, onColumnVisibilityChange, searchable, height, }: {
|
|
2
3
|
columns: any;
|
|
3
4
|
onColumnVisibilityChange: any;
|
|
4
5
|
searchable?: boolean | undefined;
|
|
5
6
|
height: any;
|
|
6
|
-
}) => () =>
|
|
7
|
+
}) => () => React.JSX.Element;
|
|
7
8
|
export { ColumnsOptionsMenuSection };
|
|
8
9
|
export default ColumnsOptionsMenuSection;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export declare const EmptyState: ({ primaryMessage, secondaryMessage, buttonLabel, onButtonClick, }: {
|
|
2
3
|
primaryMessage?: string | undefined;
|
|
3
4
|
secondaryMessage: any;
|
|
4
5
|
buttonLabel: any;
|
|
5
6
|
onButtonClick?: (() => void) | undefined;
|
|
6
|
-
}) =>
|
|
7
|
+
}) => React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
3
|
export declare const HeaderCell: {
|
|
3
4
|
({ column, columnIndex, component: Component, classProps, grid }: {
|
|
@@ -6,7 +7,7 @@ export declare const HeaderCell: {
|
|
|
6
7
|
component: any;
|
|
7
8
|
classProps: any;
|
|
8
9
|
grid: any;
|
|
9
|
-
}):
|
|
10
|
+
}): React.JSX.Element;
|
|
10
11
|
propTypes: {
|
|
11
12
|
column: PropTypes.Requireable<any>;
|
|
12
13
|
columnIndex: PropTypes.Requireable<number>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export declare const NoResults: ({ innerRef, rowRenderer, children, ...rest }: {
|
|
2
3
|
[x: string]: any;
|
|
3
4
|
innerRef: any;
|
|
4
5
|
rowRenderer: any;
|
|
5
6
|
children: any;
|
|
6
|
-
}) =>
|
|
7
|
+
}) => React.JSX.Element;
|
|
7
8
|
export default NoResults;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
declare const Table: {
|
|
3
|
-
(props: any):
|
|
4
|
-
Header: (props: any) =>
|
|
3
|
+
(props: any): React.JSX.Element;
|
|
4
|
+
Header: (props: any) => React.JSX.Element;
|
|
5
5
|
Body: React.NamedExoticComponent<object>;
|
|
6
6
|
};
|
|
7
7
|
export { Table };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const addOptionalFooterComponents: ({ grid, rows }: {
|
|
2
3
|
grid: any;
|
|
3
4
|
rows: any;
|
|
4
|
-
}) =>
|
|
5
|
+
}) => React.JSX.Element | null;
|
|
5
6
|
export { addOptionalFooterComponents };
|
|
6
7
|
export default addOptionalFooterComponents;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
3
|
export declare const addOptionalHeaderComponents: {
|
|
3
4
|
({ grid }: {
|
|
4
5
|
grid: any;
|
|
5
|
-
}):
|
|
6
|
+
}): React.JSX.Element;
|
|
6
7
|
propTypes: {
|
|
7
8
|
grid: PropTypes.Requireable<any>;
|
|
8
9
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const renderRowsLoader: () => React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const getRendererComponent: ({ props }: {
|
|
2
3
|
props: any;
|
|
3
4
|
}, { type, handlers, ...rest }: {
|
|
@@ -6,6 +7,6 @@ declare const getRendererComponent: ({ props }: {
|
|
|
6
7
|
handlers: any;
|
|
7
8
|
}, { rowData }: {
|
|
8
9
|
rowData: any;
|
|
9
|
-
}) =>
|
|
10
|
+
}) => React.JSX.Element;
|
|
10
11
|
export { getRendererComponent };
|
|
11
12
|
export default getRendererComponent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
2
|
declare class ComboBox extends Component {
|
|
3
3
|
static defaultProps: {
|
|
4
4
|
onValue: () => null;
|
|
@@ -6,7 +6,7 @@ declare class ComboBox extends Component {
|
|
|
6
6
|
constructor(props: any);
|
|
7
7
|
handleChange: (value: any) => void;
|
|
8
8
|
handleBlur: () => void;
|
|
9
|
-
render():
|
|
9
|
+
render(): React.JSX.Element;
|
|
10
10
|
}
|
|
11
11
|
export { ComboBox };
|
|
12
12
|
export default ComboBox;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
2
|
declare class TextBox extends Component {
|
|
3
3
|
static defaultProps: {
|
|
4
4
|
onValue: () => null;
|
|
@@ -18,7 +18,7 @@ declare class TextBox extends Component {
|
|
|
18
18
|
value: any;
|
|
19
19
|
};
|
|
20
20
|
}) => void;
|
|
21
|
-
render():
|
|
21
|
+
render(): React.JSX.Element;
|
|
22
22
|
}
|
|
23
23
|
export { TextBox };
|
|
24
24
|
export default TextBox;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export declare const ExpandableColumn: ({ property, label, renderRowLabel, renderRowDescription, renderExtraData, width, resizable, sortable, searchable, customRenderer, ...rest }: {
|
|
2
3
|
[x: string]: any;
|
|
3
4
|
property: any;
|
|
@@ -17,7 +18,7 @@ export declare const ExpandableColumn: ({ property, label, renderRowLabel, rende
|
|
|
17
18
|
formatters: ((value: any, { rowData, isExpanded }: {
|
|
18
19
|
rowData: any;
|
|
19
20
|
isExpanded: any;
|
|
20
|
-
}, grid: any) =>
|
|
21
|
+
}, grid: any) => React.JSX.Element)[];
|
|
21
22
|
};
|
|
22
23
|
width: any;
|
|
23
24
|
expandableColumn: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const ExpandedRow: ({ parentGrid, detailColumns, rowData, rows, rowProps, cellComponent: CellComponent, rowComponent: RowComponent, }: {
|
|
2
3
|
parentGrid: any;
|
|
3
4
|
detailColumns: any;
|
|
@@ -6,6 +7,6 @@ declare const ExpandedRow: ({ parentGrid, detailColumns, rowData, rows, rowProps
|
|
|
6
7
|
rowProps: any;
|
|
7
8
|
cellComponent: any;
|
|
8
9
|
rowComponent: any;
|
|
9
|
-
}) =>
|
|
10
|
+
}) => React.JSX.Element;
|
|
10
11
|
export { ExpandedRow };
|
|
11
12
|
export default ExpandedRow;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const ExpandedRowExtra: ({ children, rowData, rowProps, rowComponent: RowComponent, renderRowDetails, }: {
|
|
2
3
|
children: any;
|
|
3
4
|
rowData: any;
|
|
4
5
|
rowProps: any;
|
|
5
6
|
rowComponent: any;
|
|
6
7
|
renderRowDetails?: (() => null) | undefined;
|
|
7
|
-
}) =>
|
|
8
|
+
}) => React.JSX.Element;
|
|
8
9
|
export { ExpandedRowExtra };
|
|
9
10
|
export default ExpandedRowExtra;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
3
|
export declare const FilterableHeader: {
|
|
3
4
|
({ column, value, columnData, onAddFilter, onRemoveFilter, filterMenuRef, onFilterMenuClose, onFilterMenuOpen, filters, isMulti, }: {
|
|
@@ -11,7 +12,7 @@ export declare const FilterableHeader: {
|
|
|
11
12
|
onFilterMenuOpen: any;
|
|
12
13
|
filters: any;
|
|
13
14
|
isMulti: any;
|
|
14
|
-
}):
|
|
15
|
+
}): React.JSX.Element;
|
|
15
16
|
propTypes: {
|
|
16
17
|
column: PropTypes.Requireable<any>;
|
|
17
18
|
value: PropTypes.Requireable<any>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
3
|
declare const DateRangeFilterMenu: {
|
|
3
4
|
({ column, className, isMenuOpened, onOpenMenu, placement, onAddFilter, dateFormatter, showHeader, menuProps, }: {
|
|
@@ -13,7 +14,7 @@ declare const DateRangeFilterMenu: {
|
|
|
13
14
|
}, format?: string) => string) | undefined;
|
|
14
15
|
showHeader?: boolean | undefined;
|
|
15
16
|
menuProps: any;
|
|
16
|
-
}):
|
|
17
|
+
}): React.JSX.Element;
|
|
17
18
|
propTypes: {
|
|
18
19
|
column: PropTypes.Requireable<any>;
|
|
19
20
|
className: PropTypes.Requireable<string>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
3
|
declare const SingleDateFilterMenu: {
|
|
3
4
|
({ column, className, isMenuOpened, onOpenMenu, placement, onAddFilter, dateFormatter, showHeader, menuProps, }: {
|
|
@@ -10,7 +11,7 @@ declare const SingleDateFilterMenu: {
|
|
|
10
11
|
dateFormatter?: ((date: any, format?: string) => any) | undefined;
|
|
11
12
|
showHeader?: boolean | undefined;
|
|
12
13
|
menuProps: any;
|
|
13
|
-
}):
|
|
14
|
+
}): React.JSX.Element;
|
|
14
15
|
propTypes: {
|
|
15
16
|
column: PropTypes.Requireable<any>;
|
|
16
17
|
className: PropTypes.Requireable<string>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
3
|
declare const TextFilterMenu: {
|
|
3
4
|
({ column, menuStyle, className, filters, isMenuOpened, onOpenMenu, onClose, placement, menuProps, onAddFilter, onRemoveFilter, maxOptions, isMulti, }: {
|
|
@@ -14,7 +15,7 @@ declare const TextFilterMenu: {
|
|
|
14
15
|
onRemoveFilter?: (() => null) | undefined;
|
|
15
16
|
maxOptions?: number | undefined;
|
|
16
17
|
isMulti?: boolean | undefined;
|
|
17
|
-
}):
|
|
18
|
+
}): React.JSX.Element;
|
|
18
19
|
propTypes: {
|
|
19
20
|
column: PropTypes.Requireable<any>;
|
|
20
21
|
menuStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const FilterableFormatter: ({ grid, onAddFilter, onRemoveFilter, query, filterMenuRef }: {
|
|
2
3
|
grid: any;
|
|
3
4
|
onAddFilter: any;
|
|
@@ -6,6 +7,6 @@ declare const FilterableFormatter: ({ grid, onAddFilter, onRemoveFilter, query,
|
|
|
6
7
|
filterMenuRef: any;
|
|
7
8
|
}) => (value: any, { column }: {
|
|
8
9
|
column: any;
|
|
9
|
-
}) =>
|
|
10
|
+
}) => React.JSX.Element;
|
|
10
11
|
export { FilterableFormatter };
|
|
11
12
|
export default FilterableFormatter;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const Pagination: ({ paginated, pagination, onPerPage, onPageSelect, paginationStep, maxPerPage, minPerPage, }: {
|
|
2
3
|
paginated: any;
|
|
3
4
|
pagination?: {} | undefined;
|
|
@@ -6,5 +7,5 @@ declare const Pagination: ({ paginated, pagination, onPerPage, onPageSelect, pag
|
|
|
6
7
|
paginationStep?: number | undefined;
|
|
7
8
|
maxPerPage?: number | undefined;
|
|
8
9
|
minPerPage?: number | undefined;
|
|
9
|
-
}) =>
|
|
10
|
+
}) => React.JSX.Element | null;
|
|
10
11
|
export { Pagination };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const Paginator: ({ pagination, pages, onSelect, labelPrevious, labelNext }: {
|
|
2
3
|
pagination: any;
|
|
3
4
|
pages: any;
|
|
4
5
|
onSelect: any;
|
|
5
6
|
labelPrevious?: string | undefined;
|
|
6
7
|
labelNext?: string | undefined;
|
|
7
|
-
}) =>
|
|
8
|
+
}) => React.JSX.Element;
|
|
8
9
|
export { Paginator };
|
|
9
10
|
export default Paginator;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const PerPageDropdown: ({ min, max, step, value, onChange }: {
|
|
2
3
|
min?: number | undefined;
|
|
3
4
|
max?: number | undefined;
|
|
4
5
|
step?: number | undefined;
|
|
5
6
|
value?: number | undefined;
|
|
6
7
|
onChange?: (() => null) | undefined;
|
|
7
|
-
}) =>
|
|
8
|
+
}) => React.JSX.Element;
|
|
8
9
|
export { PerPageDropdown };
|
|
9
10
|
export default PerPageDropdown;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const addResizableToColumn: (column: any, formatter: any) => any;
|
|
2
|
-
declare const resizableFormatter: (options: any) => (value: any) =>
|
|
3
|
+
declare const resizableFormatter: (options: any) => (value: any) => React.JSX.Element;
|
|
3
4
|
export { addResizableToColumn, resizableFormatter };
|
|
@@ -9,5 +9,5 @@ export declare const useResizeHandle: ({ onDragStart, onDrag, onDragEnd, minWidt
|
|
|
9
9
|
containerRef: React.RefObject<unknown>;
|
|
10
10
|
Handle: ({ className }: {
|
|
11
11
|
className?: string | undefined;
|
|
12
|
-
}) =>
|
|
12
|
+
}) => React.JSX.Element;
|
|
13
13
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const selectableFormatter: ({ isMultiSelect, renderer, className, isHeader, onSelect }: {
|
|
2
3
|
isMultiSelect?: boolean | undefined;
|
|
3
4
|
renderer: any;
|
|
4
5
|
className: any;
|
|
5
6
|
isHeader: any;
|
|
6
7
|
onSelect: any;
|
|
7
|
-
}, grid: any) => (valueRender: any, extraParams: any) =>
|
|
8
|
+
}, grid: any) => (valueRender: any, extraParams: any) => React.JSX.Element;
|
|
8
9
|
export { selectableFormatter };
|
|
9
10
|
export default selectableFormatter;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const sortHeaderFormatter: (sortable: any, grid: any) => (value: any, { columnIndex, property }: {
|
|
2
3
|
columnIndex: any;
|
|
3
4
|
property: any;
|
|
4
|
-
}) =>
|
|
5
|
+
}) => React.JSX.Element;
|
|
5
6
|
export { sortHeaderFormatter };
|
|
6
7
|
export default sortHeaderFormatter;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
3
|
export declare const RowRenderer: (Row: any, grid: any) => {
|
|
3
|
-
(props: any):
|
|
4
|
+
(props: any): React.JSX.Element;
|
|
4
5
|
propTypes: {
|
|
5
6
|
rowData: PropTypes.Requireable<any>;
|
|
6
7
|
index: PropTypes.Requireable<number>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export declare const ToolbarTrigger: ({ grid, rowData, hasScrollBar, rowRef }: {
|
|
2
3
|
grid: any;
|
|
3
4
|
rowData: any;
|
|
4
5
|
hasScrollBar: any;
|
|
5
6
|
rowRef: any;
|
|
6
|
-
}) =>
|
|
7
|
+
}) => React.JSX.Element;
|
|
7
8
|
export default ToolbarTrigger;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
3
|
export declare const CellWithAddons: {
|
|
3
4
|
({ leftAddon, keepLeftPadding, rightAddon, badgeAddon, highLight, isEdit, editComponent, value, neutralText, metaData, }: {
|
|
@@ -11,7 +12,7 @@ export declare const CellWithAddons: {
|
|
|
11
12
|
value: any;
|
|
12
13
|
neutralText: any;
|
|
13
14
|
metaData: any;
|
|
14
|
-
}):
|
|
15
|
+
}): React.JSX.Element;
|
|
15
16
|
propTypes: {
|
|
16
17
|
/** Text to render inside the cell */
|
|
17
18
|
value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-legacy-datagrids",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.29",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Data Grids",
|
|
6
6
|
"files": [
|
|
@@ -556,29 +556,30 @@
|
|
|
556
556
|
"sortabular": "~1.6.0",
|
|
557
557
|
"stylesheet-helpers": "~0.2.2",
|
|
558
558
|
"uuid": "~8.3.2",
|
|
559
|
-
"@elliemae/ds-legacy-
|
|
560
|
-
"@elliemae/ds-legacy-dropdownmenu": "1.0.
|
|
561
|
-
"@elliemae/ds-legacy-
|
|
562
|
-
"@elliemae/ds-legacy-
|
|
563
|
-
"@elliemae/ds-legacy-
|
|
564
|
-
"@elliemae/ds-legacy-
|
|
565
|
-
"@elliemae/ds-legacy-
|
|
566
|
-
"@elliemae/ds-legacy-popper": "1.0.
|
|
567
|
-
"@elliemae/ds-legacy-
|
|
568
|
-
"@elliemae/ds-legacy-
|
|
569
|
-
"@elliemae/ds-legacy-
|
|
570
|
-
"@elliemae/ds-legacy-
|
|
571
|
-
"@elliemae/ds-legacy-
|
|
572
|
-
"@elliemae/ds-legacy-
|
|
573
|
-
"@elliemae/ds-legacy-
|
|
574
|
-
"@elliemae/ds-legacy-
|
|
575
|
-
"@elliemae/ds-legacy-
|
|
576
|
-
"@elliemae/ds-legacy-
|
|
559
|
+
"@elliemae/ds-legacy-classnames": "1.0.29",
|
|
560
|
+
"@elliemae/ds-legacy-dropdownmenu": "1.0.29",
|
|
561
|
+
"@elliemae/ds-legacy-button": "1.0.29",
|
|
562
|
+
"@elliemae/ds-legacy-filterbar": "1.0.29",
|
|
563
|
+
"@elliemae/ds-legacy-controlled-form": "1.0.29",
|
|
564
|
+
"@elliemae/ds-legacy-form": "1.0.29",
|
|
565
|
+
"@elliemae/ds-legacy-grid": "1.0.29",
|
|
566
|
+
"@elliemae/ds-legacy-popper": "1.0.29",
|
|
567
|
+
"@elliemae/ds-legacy-menu": "1.0.29",
|
|
568
|
+
"@elliemae/ds-legacy-props-helpers": "1.0.29",
|
|
569
|
+
"@elliemae/ds-legacy-icons": "1.0.29",
|
|
570
|
+
"@elliemae/ds-legacy-separator": "1.0.29",
|
|
571
|
+
"@elliemae/ds-legacy-shared": "1.0.29",
|
|
572
|
+
"@elliemae/ds-legacy-spinner": "1.0.29",
|
|
573
|
+
"@elliemae/ds-legacy-toolbar": "1.0.29",
|
|
574
|
+
"@elliemae/ds-legacy-truncated-tooltip-text": "1.0.29",
|
|
575
|
+
"@elliemae/ds-legacy-system": "1.0.29",
|
|
576
|
+
"@elliemae/ds-legacy-utilities": "1.0.29"
|
|
577
577
|
},
|
|
578
578
|
"devDependencies": {
|
|
579
579
|
"@elliemae/pui-cli": "9.0.0-next.50",
|
|
580
580
|
"styled-components": "~5.3.9",
|
|
581
|
-
"@elliemae/ds-legacy-monorepo-devops": "1.0.
|
|
581
|
+
"@elliemae/ds-legacy-monorepo-devops": "1.0.29",
|
|
582
|
+
"@elliemae/ds-legacy-test-utils": "1.0.29"
|
|
582
583
|
},
|
|
583
584
|
"peerDependencies": {
|
|
584
585
|
"lodash-es": "^4.17.21",
|
|
@@ -588,7 +589,7 @@
|
|
|
588
589
|
},
|
|
589
590
|
"scripts": {
|
|
590
591
|
"dev": "cross-env NODE_ENV=development node ../../../scripts/build/build.mjs --watch",
|
|
591
|
-
"test": "
|
|
592
|
+
"test": "jest --passWithNoTests --coverage=false",
|
|
592
593
|
"lint": "node ../../../scripts/lint.mjs",
|
|
593
594
|
"eslint:fix": "exit 0 | echo",
|
|
594
595
|
"dts": "exit 0 | echo",
|
|
@@ -597,4 +598,4 @@
|
|
|
597
598
|
"dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
|
|
598
599
|
"checkDeps": "npm exec ../../util/ds-codemods -- check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
|
599
600
|
}
|
|
600
|
-
}
|
|
601
|
+
}
|