@elliemae/ds-datagrids 3.16.4-rc.2 → 3.16.4-rc.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/types/DSDataGrid.d.ts +453 -0
- package/dist/types/DataGridImpl.d.ts +13 -0
- package/dist/types/PaginatedDataGrid.d.ts +15 -0
- package/dist/types/blockNames.d.ts +4 -0
- package/dist/types/columns/IconColumn.d.ts +36 -0
- package/dist/types/columns/NumberColumn.d.ts +4 -0
- package/dist/types/components/BodyCell.d.ts +34 -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 +9 -0
- package/dist/types/components/EmptyState.d.ts +7 -0
- package/dist/types/components/HeaderCell.d.ts +19 -0
- package/dist/types/components/List.d.ts +3 -0
- package/dist/types/components/ListItem.d.ts +3 -0
- package/dist/types/components/NoResults.d.ts +8 -0
- package/dist/types/components/RowsLoader.d.ts +5 -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 +4 -0
- package/dist/types/components/footer/addOptionalFooterComponents.d.ts +7 -0
- package/dist/types/components/header/PrimaryControls.d.ts +6 -0
- package/dist/types/components/header/addOptionalHeaderComponents.d.ts +11 -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 +2 -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 +12 -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 +29 -0
- package/dist/types/plugins/expandable-grid/ExpandablePlugin.d.ts +1 -0
- package/dist/types/plugins/expandable-grid/ExpandedRow.d.ts +12 -0
- package/dist/types/plugins/expandable-grid/ExpandedRowExtra.d.ts +10 -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 +29 -0
- package/dist/types/plugins/filterable/components/filterable-menus/DateRangeFilterMenu.d.ts +31 -0
- package/dist/types/plugins/filterable/components/filterable-menus/SingleDateFilterMenu.d.ts +28 -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 +36 -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 +12 -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 +11 -0
- package/dist/types/plugins/pagination/components/Paginator.d.ts +10 -0
- package/dist/types/plugins/pagination/components/PerPageDropdown.d.ts +10 -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 +4 -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 +10 -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 +7 -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 +11 -0
- package/dist/types/plugins/toolbar/ToolbarPlugin.d.ts +1 -0
- package/dist/types/plugins/toolbar/ToolbarTrigger.d.ts +8 -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 +33 -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 +52 -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,453 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const DSDataGrids: {
|
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, }: {
|
4
|
+
containerProps?: {} | undefined;
|
5
|
+
instanceRef: any;
|
6
|
+
className?: string | undefined;
|
7
|
+
columns?: never[] | undefined;
|
8
|
+
rows?: never[] | undefined;
|
9
|
+
rowKey?: string | undefined;
|
10
|
+
infiniteScrolling?: boolean | undefined;
|
11
|
+
editable?: boolean | undefined;
|
12
|
+
sortable?: boolean | undefined;
|
13
|
+
sortEmptyLast?: boolean | undefined;
|
14
|
+
paginated?: boolean | undefined;
|
15
|
+
dragAndDropRows?: boolean | undefined;
|
16
|
+
selectable?: boolean | undefined;
|
17
|
+
resizeableColumns?: boolean | undefined;
|
18
|
+
searchFilters?: boolean | undefined;
|
19
|
+
dragAndDropColumns?: boolean | undefined;
|
20
|
+
useTreeData?: boolean | undefined;
|
21
|
+
autoScrollToId: any;
|
22
|
+
overscanCount?: number | undefined;
|
23
|
+
selectAll?: boolean | undefined;
|
24
|
+
selectedRows?: never[] | undefined;
|
25
|
+
filters?: undefined;
|
26
|
+
onAddFilter?: (() => null) | undefined;
|
27
|
+
onRemoveFilter?: (() => null) | undefined;
|
28
|
+
onFiltersChange?: (() => null) | undefined;
|
29
|
+
showFilterBar?: boolean | undefined;
|
30
|
+
multiSelectFilterOptions?: {
|
31
|
+
id: string;
|
32
|
+
label: string;
|
33
|
+
}[] | undefined;
|
34
|
+
multiSelectFilterLabels?: undefined;
|
35
|
+
multiSelectFilterLabel?: string | undefined;
|
36
|
+
aggregations?: {} | undefined;
|
37
|
+
groupingColumn?: undefined;
|
38
|
+
sortingColumns?: {} | undefined;
|
39
|
+
minPerPage?: number | undefined;
|
40
|
+
maxPerPage?: number | undefined;
|
41
|
+
onPerPageChange?: (() => null) | undefined;
|
42
|
+
onPageChange?: (() => null) | undefined;
|
43
|
+
paginationStep?: number | undefined;
|
44
|
+
pagination?: {
|
45
|
+
page: number;
|
46
|
+
perPage: number;
|
47
|
+
} | undefined;
|
48
|
+
showHeader?: boolean | undefined;
|
49
|
+
fixedHeader?: boolean | undefined;
|
50
|
+
wrapText?: boolean | undefined;
|
51
|
+
height?: undefined;
|
52
|
+
minColumnWidth?: number | undefined;
|
53
|
+
showRowsLoader?: boolean | undefined;
|
54
|
+
visibleColumns?: undefined;
|
55
|
+
showSelectHighlight?: boolean | undefined;
|
56
|
+
showSelectColumn?: boolean | undefined;
|
57
|
+
selectColumnSortable?: boolean | undefined;
|
58
|
+
selectColumnFilterable?: boolean | undefined;
|
59
|
+
selectionColumnDefinition?: {} | undefined;
|
60
|
+
filterBarOptions?: undefined;
|
61
|
+
renderToolbar?: undefined;
|
62
|
+
toolbarDelayClose?: number | undefined;
|
63
|
+
renderFilterToolbar?: undefined;
|
64
|
+
multiSelectComponent?: undefined;
|
65
|
+
noResultsRender: any;
|
66
|
+
noResultsPlaceholder: any;
|
67
|
+
fluidHeight?: boolean | undefined;
|
68
|
+
customHandlers?: {} | undefined;
|
69
|
+
groupedBy?: undefined;
|
70
|
+
onDefaultFiltersLoad?: (() => null) | undefined;
|
71
|
+
onReorder?: (() => null) | undefined;
|
72
|
+
onMoveRowEnd?: (() => null) | undefined;
|
73
|
+
onMoveRowStart?: (() => null) | undefined;
|
74
|
+
onMoveColumnOver?: (() => null) | undefined;
|
75
|
+
onMoveColumnStart?: (() => null) | undefined;
|
76
|
+
onMoveColumnEnd?: (() => null) | undefined;
|
77
|
+
onColumnResize?: (() => null) | undefined;
|
78
|
+
onExpandChange?: (() => null) | undefined;
|
79
|
+
onToggleExpand?: (() => null) | undefined;
|
80
|
+
onExpandRow?: (() => null) | undefined;
|
81
|
+
onFilter?: (() => null) | undefined;
|
82
|
+
onSort?: (() => null) | undefined;
|
83
|
+
onColumnRowEdited?: (() => null) | undefined;
|
84
|
+
onColumnRowEdit?: (() => null) | undefined;
|
85
|
+
onSelectRow?: (() => null) | undefined;
|
86
|
+
onSelectAll?: (() => null) | undefined;
|
87
|
+
onInfiniteScrolling?: (() => null) | undefined;
|
88
|
+
onFilterMenuClose?: (() => null) | undefined;
|
89
|
+
onFilterMenuOpen?: (() => null) | undefined;
|
90
|
+
getData?: undefined;
|
91
|
+
serverSideData?: boolean | undefined;
|
92
|
+
isDataSorted?: boolean | undefined;
|
93
|
+
isDataFiltered?: boolean | undefined;
|
94
|
+
virtualized?: boolean | undefined;
|
95
|
+
numRowsVisible?: undefined;
|
96
|
+
isColumnEditable?: ((column: any) => any) | undefined;
|
97
|
+
groupedRows?: boolean | undefined;
|
98
|
+
groupedRowsRenderHeader?: undefined;
|
99
|
+
renderExpandedDetails?: (() => null) | undefined;
|
100
|
+
detailColumns: any;
|
101
|
+
expandable?: boolean | undefined;
|
102
|
+
getChildrenRows?: ((row: any) => any) | undefined;
|
103
|
+
expandableSubrowsVisible?: number | undefined;
|
104
|
+
renderRowDetails?: (() => null) | undefined;
|
105
|
+
getExpandedRowSize?: undefined;
|
106
|
+
getExpandedRowMinSize: any;
|
107
|
+
rowSize?: string | undefined;
|
108
|
+
subRowSize?: string | undefined;
|
109
|
+
bindColumnsSizeTo?: undefined;
|
110
|
+
bindRowSizeTo?: undefined;
|
111
|
+
onToggleShowAllRows: any;
|
112
|
+
expandedRows: any;
|
113
|
+
autoHeight?: boolean | undefined;
|
114
|
+
noColumnsPlaceholder: any;
|
115
|
+
plugins?: never[] | undefined;
|
116
|
+
normalizeDataKeys?: boolean | undefined;
|
117
|
+
}): JSX.Element;
|
118
|
+
propTypes: {
|
119
|
+
/** ref to the instance of the datagrid, handle it imperatively */
|
120
|
+
instanceRef: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
121
|
+
/** class for data grid wrapper */
|
122
|
+
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
123
|
+
/** inject props to datagrid wrapper */
|
124
|
+
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
125
|
+
/** FilterBar props passed down to FilterBar */
|
126
|
+
filterBarOptions: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
127
|
+
/** datagrid columns */
|
128
|
+
columns: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
129
|
+
/** datagrid rows */
|
130
|
+
rows: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
131
|
+
/** key for each row */
|
132
|
+
rowKey: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
133
|
+
/** toggle infinite scroll loading behavior */
|
134
|
+
infiniteScrolling: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
135
|
+
/** Activates 'editable' feature on the DataGrid NOTE: needs to be activated in the column definition as well */
|
136
|
+
overscanCount: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
137
|
+
/** turn datagrid to editable mode */
|
138
|
+
editable: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
139
|
+
/** Activates 'sortable' feature on the GataGrid NOTE: needs to be activated in the column definition as well */
|
140
|
+
sortable: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
141
|
+
/** Put empty values always last on the column after sorting */
|
142
|
+
sortEmptyLast: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
143
|
+
/** Activates 'pagination' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
144
|
+
paginated: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
145
|
+
/** Pagination step for clicking the next pages */
|
146
|
+
paginationStep: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
147
|
+
/** Activates 'drag and drop rows' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
148
|
+
dragAndDropRows: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
149
|
+
/** Activates 'selection' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
150
|
+
selectable: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
151
|
+
/** Activates 'resize' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
152
|
+
resizeableColumns: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
153
|
+
/** Placeholder rendered when no rows are visible */
|
154
|
+
noResultsPlaceholder: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
155
|
+
/** Activates 'filtering' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
156
|
+
searchFilters: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
157
|
+
/** Activates 'drag and drop columns' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
158
|
+
dragAndDropColumns: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
159
|
+
/** Activates 'grouping and tree data' feature on the datagrid NOTE: needs to be activated in the column definition as well */
|
160
|
+
useTreeData: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
161
|
+
/** AutoScroll to row ID */
|
162
|
+
autoScrollToId: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
163
|
+
/** Whether all rows are selected or not */
|
164
|
+
selectAll: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
165
|
+
/** Defines the selected rows */
|
166
|
+
selectedRows: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
167
|
+
/** Filters to be applied to the grid */
|
168
|
+
filters: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
169
|
+
/** Handler when user expands a row */
|
170
|
+
onExpandRow: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
171
|
+
/** Handler when user expands a row with full expand state */
|
172
|
+
onExpandChange: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
173
|
+
/** Handler when user expands a row (old API) */
|
174
|
+
onToggleExpand: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
175
|
+
/** Handler when user adds a filter */
|
176
|
+
onAddFilter: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
177
|
+
/** Handler when user removes a filter */
|
178
|
+
onRemoveFilter: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
179
|
+
/** Handler when the filters state has changed */
|
180
|
+
onFiltersChange: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
181
|
+
/** Handler when the default filters load. Returns the rows rendered */
|
182
|
+
onDefaultFiltersLoad: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
183
|
+
/** Handler when column move is over another column */
|
184
|
+
onMoveColumnOver: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
185
|
+
/** Handler when column move starts */
|
186
|
+
onMoveColumnStart: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
187
|
+
/** Handler when column move ends */
|
188
|
+
onMoveColumnEnd: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
189
|
+
/** Whether to show the filter bar or not */
|
190
|
+
showFilterBar: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
191
|
+
/** Custom option for the header with multi select */
|
192
|
+
multiSelectFilterOptions: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
193
|
+
/** Label to the header column for multi select */
|
194
|
+
multiSelectFilterLabel: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
195
|
+
/** Labels for multi selects */
|
196
|
+
multiSelectFilterLabels: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
197
|
+
/** unstable */
|
198
|
+
aggregations: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
199
|
+
/** unstable */
|
200
|
+
/** Column which rows would be grouped by */
|
201
|
+
groupingColumn: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
202
|
+
/** group by */
|
203
|
+
groupedBy: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
204
|
+
/** Defines the sorting state */
|
205
|
+
sortingColumns: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
206
|
+
/** Visible columns property */
|
207
|
+
visibleColumns: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
208
|
+
/** Pagination: Minimum number of rows per page */
|
209
|
+
minPerPage: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
210
|
+
/** Pagination: Maximum number of rows per page */
|
211
|
+
maxPerPage: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
212
|
+
/** Pagination: Handler when user changes the amount of rows per page */
|
213
|
+
onPerPageChange: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
214
|
+
/** Pagination: Handler when user changes the page */
|
215
|
+
onPageChange: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
216
|
+
/** Pagination state */
|
217
|
+
pagination: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
218
|
+
/** Whether to show the header or not */
|
219
|
+
showHeader: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
220
|
+
/** Whether to header is fixed or not */
|
221
|
+
fixedHeader: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
222
|
+
/** Defines the height of the DataGrid */
|
223
|
+
height: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
224
|
+
/** General min column width for all the columns */
|
225
|
+
minColumnWidth: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
226
|
+
/** Whether to show a loader instead of the rows or not */
|
227
|
+
showRowsLoader: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
228
|
+
/** When a user selects a row, that row get highlighted */
|
229
|
+
showSelectHighlight: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
230
|
+
/** Whether to show the select column when the selection feature is active */
|
231
|
+
showSelectColumn: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
232
|
+
/** Activates sortable feature to selection column */
|
233
|
+
selectColumnSortable: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
234
|
+
/** Activates filterable feature to selection column */
|
235
|
+
selectColumnFilterable: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
236
|
+
/** Define the definition for the selection column */
|
237
|
+
selectionColumnDefinition: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
238
|
+
/** Function that returns a toolbar to show when the user hovers the row */
|
239
|
+
renderToolbar: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
240
|
+
/** Timeout to close the toolbar */
|
241
|
+
toolbarDelayClose: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
242
|
+
/** Function that returns a toolbar in the FilterBar component */
|
243
|
+
renderFilterToolbar: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
244
|
+
/** Custom component for the selection */
|
245
|
+
multiSelectComponent: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
246
|
+
/** Normalize the keys of the data received and the columns */
|
247
|
+
normalizeDataKeys: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
248
|
+
/** Function that returns an Element when there are no rows */
|
249
|
+
noResultsRender: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
250
|
+
/** The height of the DataGrid will expand to its container */
|
251
|
+
fluidHeight: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
252
|
+
/** @deprecated */
|
253
|
+
customHandlers: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
254
|
+
/** Handler when user closes the filter menu */
|
255
|
+
onFilterMenuClose: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
256
|
+
/** Handler when user opens the filter menu */
|
257
|
+
onFilterMenuOpen: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
258
|
+
/** Handler when user drags a row */
|
259
|
+
onReorder: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
260
|
+
/** Handler when user stops dragging a row */
|
261
|
+
onMoveRowEnd: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
262
|
+
/** Handler when user starts dragging a row */
|
263
|
+
onMoveRowStart: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
264
|
+
/** Handler when user has resized a column */
|
265
|
+
onColumnResize: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
266
|
+
/** Handler when user filters by a column */
|
267
|
+
onFilter: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
268
|
+
/** Handler when user sorts by a column */
|
269
|
+
onSort: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
270
|
+
/** Handler when user has edited a cell row */
|
271
|
+
onColumnRowEdited: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
272
|
+
/** Handler when user activates the cell row editing functionality */
|
273
|
+
onColumnRowEdit: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
274
|
+
/** Handler when user selects a row */
|
275
|
+
onSelectRow: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
276
|
+
/** Handler when user checks the selection header controller */
|
277
|
+
onSelectAll: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
278
|
+
/** Handler to get more data when infinite scroll is activated */
|
279
|
+
getData: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
280
|
+
/** Handler to get more data when infinite scroll is activated without side-effect */
|
281
|
+
onInfiniteScrolling: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
282
|
+
/** Flag to override empty sort when data is from server */
|
283
|
+
serverSideData: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
284
|
+
/** Flag to force virtualization. Not used */
|
285
|
+
virtualized: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
286
|
+
/** Number of rows visible. Not used */
|
287
|
+
numRowsVisible: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
288
|
+
/** Callback to check if column is editable */
|
289
|
+
isColumnEditable: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
290
|
+
/** Flag for groupedRows */
|
291
|
+
groupedRows: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
292
|
+
/** Header for grouped rows */
|
293
|
+
groupedRowsRenderHeader: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
294
|
+
/** Once activated will disable the internal logic for sorting */
|
295
|
+
isDataSorted: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
296
|
+
/** Once activated will disable the internal logic for filtering */
|
297
|
+
isDataFiltered: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
298
|
+
/** Change row size */
|
299
|
+
rowSize: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
300
|
+
/** Whether to wrap the text of the data grid or not */
|
301
|
+
wrapText: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
302
|
+
/** Element to render expanded details */
|
303
|
+
renderExpandedDetails: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
304
|
+
/** Columns to render on the details of an expanded row */
|
305
|
+
detailColumns: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
306
|
+
/** Flag to enable the expandable feature */
|
307
|
+
expandable: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
308
|
+
/** Callback to get the row children */
|
309
|
+
getChildrenRows: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
310
|
+
/** Number of rows visible on the details of an expanded row */
|
311
|
+
expandableSubrowsVisible: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
312
|
+
/** Element to render inside expanded row */
|
313
|
+
renderRowDetails: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
314
|
+
/** Callback to get the expanded row size */
|
315
|
+
getExpandedRowSize: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
316
|
+
/** Callback to get the expanded row minimum size */
|
317
|
+
getExpandedRowMinSize: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
318
|
+
/** Change expanded/details rows size */
|
319
|
+
subRowSize: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
320
|
+
/** Bind the column size to another grid instance */
|
321
|
+
bindColumnsSizeTo: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
322
|
+
/** Bind the row size to another grid instance */
|
323
|
+
bindRowSizeTo: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
324
|
+
/** Handler when toggle show all is clicked */
|
325
|
+
onToggleShowAllRows: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
326
|
+
/** Expanded row state */
|
327
|
+
expandedRows: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
328
|
+
/** Flag to enable autoheight */
|
329
|
+
autoHeight: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
330
|
+
/** Placeholder rendered when no columns are visible */
|
331
|
+
noColumnsPlaceholder: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
332
|
+
/** Plugin additional array */
|
333
|
+
plugins: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
334
|
+
};
|
335
|
+
displayName: string;
|
336
|
+
};
|
337
|
+
declare const DSDataGridsWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
|
338
|
+
containerProps?: {} | undefined;
|
339
|
+
instanceRef: any;
|
340
|
+
className?: string | undefined;
|
341
|
+
columns?: never[] | undefined;
|
342
|
+
rows?: never[] | undefined;
|
343
|
+
rowKey?: string | undefined;
|
344
|
+
infiniteScrolling?: boolean | undefined;
|
345
|
+
editable?: boolean | undefined;
|
346
|
+
sortable?: boolean | undefined;
|
347
|
+
sortEmptyLast?: boolean | undefined;
|
348
|
+
paginated?: boolean | undefined;
|
349
|
+
dragAndDropRows?: boolean | undefined;
|
350
|
+
selectable?: boolean | undefined;
|
351
|
+
resizeableColumns?: boolean | undefined;
|
352
|
+
searchFilters?: boolean | undefined;
|
353
|
+
dragAndDropColumns?: boolean | undefined;
|
354
|
+
useTreeData?: boolean | undefined;
|
355
|
+
autoScrollToId: any;
|
356
|
+
overscanCount?: number | undefined;
|
357
|
+
selectAll?: boolean | undefined;
|
358
|
+
selectedRows?: never[] | undefined;
|
359
|
+
filters?: undefined;
|
360
|
+
onAddFilter?: (() => null) | undefined;
|
361
|
+
onRemoveFilter?: (() => null) | undefined;
|
362
|
+
onFiltersChange?: (() => null) | undefined;
|
363
|
+
showFilterBar?: boolean | undefined;
|
364
|
+
multiSelectFilterOptions?: {
|
365
|
+
id: string;
|
366
|
+
label: string;
|
367
|
+
}[] | undefined;
|
368
|
+
multiSelectFilterLabels?: undefined;
|
369
|
+
multiSelectFilterLabel?: string | undefined;
|
370
|
+
aggregations?: {} | undefined;
|
371
|
+
groupingColumn?: undefined;
|
372
|
+
sortingColumns?: {} | undefined;
|
373
|
+
minPerPage?: number | undefined;
|
374
|
+
maxPerPage?: number | undefined;
|
375
|
+
onPerPageChange?: (() => null) | undefined;
|
376
|
+
onPageChange?: (() => null) | undefined;
|
377
|
+
paginationStep?: number | undefined;
|
378
|
+
pagination?: {
|
379
|
+
page: number;
|
380
|
+
perPage: number;
|
381
|
+
} | undefined;
|
382
|
+
showHeader?: boolean | undefined;
|
383
|
+
fixedHeader?: boolean | undefined;
|
384
|
+
wrapText?: boolean | undefined;
|
385
|
+
height?: undefined;
|
386
|
+
minColumnWidth?: number | undefined;
|
387
|
+
showRowsLoader?: boolean | undefined;
|
388
|
+
visibleColumns?: undefined;
|
389
|
+
showSelectHighlight?: boolean | undefined;
|
390
|
+
showSelectColumn?: boolean | undefined;
|
391
|
+
selectColumnSortable?: boolean | undefined;
|
392
|
+
selectColumnFilterable?: boolean | undefined;
|
393
|
+
selectionColumnDefinition?: {} | undefined;
|
394
|
+
filterBarOptions?: undefined;
|
395
|
+
renderToolbar?: undefined;
|
396
|
+
toolbarDelayClose?: number | undefined;
|
397
|
+
renderFilterToolbar?: undefined;
|
398
|
+
multiSelectComponent?: undefined;
|
399
|
+
noResultsRender: any;
|
400
|
+
noResultsPlaceholder: any;
|
401
|
+
fluidHeight?: boolean | undefined;
|
402
|
+
customHandlers?: {} | undefined;
|
403
|
+
groupedBy?: undefined;
|
404
|
+
onDefaultFiltersLoad?: (() => null) | undefined;
|
405
|
+
onReorder?: (() => null) | undefined;
|
406
|
+
onMoveRowEnd?: (() => null) | undefined;
|
407
|
+
onMoveRowStart?: (() => null) | undefined;
|
408
|
+
onMoveColumnOver?: (() => null) | undefined;
|
409
|
+
onMoveColumnStart?: (() => null) | undefined;
|
410
|
+
onMoveColumnEnd?: (() => null) | undefined;
|
411
|
+
onColumnResize?: (() => null) | undefined;
|
412
|
+
onExpandChange?: (() => null) | undefined;
|
413
|
+
onToggleExpand?: (() => null) | undefined;
|
414
|
+
onExpandRow?: (() => null) | undefined;
|
415
|
+
onFilter?: (() => null) | undefined;
|
416
|
+
onSort?: (() => null) | undefined;
|
417
|
+
onColumnRowEdited?: (() => null) | undefined;
|
418
|
+
onColumnRowEdit?: (() => null) | undefined;
|
419
|
+
onSelectRow?: (() => null) | undefined;
|
420
|
+
onSelectAll?: (() => null) | undefined;
|
421
|
+
onInfiniteScrolling?: (() => null) | undefined;
|
422
|
+
onFilterMenuClose?: (() => null) | undefined;
|
423
|
+
onFilterMenuOpen?: (() => null) | undefined;
|
424
|
+
getData?: undefined;
|
425
|
+
serverSideData?: boolean | undefined;
|
426
|
+
isDataSorted?: boolean | undefined;
|
427
|
+
isDataFiltered?: boolean | undefined;
|
428
|
+
virtualized?: boolean | undefined;
|
429
|
+
numRowsVisible?: undefined;
|
430
|
+
isColumnEditable?: ((column: any) => any) | undefined;
|
431
|
+
groupedRows?: boolean | undefined;
|
432
|
+
groupedRowsRenderHeader?: undefined;
|
433
|
+
renderExpandedDetails?: (() => null) | undefined;
|
434
|
+
detailColumns: any;
|
435
|
+
expandable?: boolean | undefined;
|
436
|
+
getChildrenRows?: ((row: any) => any) | undefined;
|
437
|
+
expandableSubrowsVisible?: number | undefined;
|
438
|
+
renderRowDetails?: (() => null) | undefined;
|
439
|
+
getExpandedRowSize?: undefined;
|
440
|
+
getExpandedRowMinSize: any;
|
441
|
+
rowSize?: string | undefined;
|
442
|
+
subRowSize?: string | undefined;
|
443
|
+
bindColumnsSizeTo?: undefined;
|
444
|
+
bindRowSizeTo?: undefined;
|
445
|
+
onToggleShowAllRows: any;
|
446
|
+
expandedRows: any;
|
447
|
+
autoHeight?: boolean | undefined;
|
448
|
+
noColumnsPlaceholder: any;
|
449
|
+
plugins?: never[] | undefined;
|
450
|
+
normalizeDataKeys?: boolean | undefined;
|
451
|
+
}>;
|
452
|
+
export { DSDataGridsWithSchema, DSDataGrids, DSDataGrids as DSDataGrid };
|
453
|
+
export default DSDataGrids;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const DataGridImpl: ({ className, renderers, columns, rows, containerProps, plugins: pluginsProp, normalizeDataKeys, ...otherProps }: {
|
3
|
+
[x: string]: any;
|
4
|
+
className: any;
|
5
|
+
renderers: any;
|
6
|
+
columns: any;
|
7
|
+
rows: any;
|
8
|
+
containerProps: any;
|
9
|
+
plugins: any;
|
10
|
+
normalizeDataKeys: any;
|
11
|
+
}) => JSX.Element;
|
12
|
+
export { DataGridImpl };
|
13
|
+
export default DataGridImpl;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const PaginatedDataGrid: ({ columns, rows, showRowsLoader, noResultsPlaceholder, rowsLoaderRenderer, maxPerPage, minPerPage, onPageSelect, onPerPage, pagination, ...otherProps }: {
|
3
|
+
[x: string]: any;
|
4
|
+
columns: any;
|
5
|
+
rows: any;
|
6
|
+
showRowsLoader: any;
|
7
|
+
noResultsPlaceholder: any;
|
8
|
+
rowsLoaderRenderer?: (() => JSX.Element) | undefined;
|
9
|
+
maxPerPage: any;
|
10
|
+
minPerPage: any;
|
11
|
+
onPageSelect: any;
|
12
|
+
onPerPage: any;
|
13
|
+
pagination: any;
|
14
|
+
}) => JSX.Element;
|
15
|
+
export default PaginatedDataGrid;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const IconColumn: ({ property, label, headerIcon, getRowIcon, isVisited, intent, width, onClick, visible, resizable, sortable, searchable, }: {
|
3
|
+
property: any;
|
4
|
+
label: any;
|
5
|
+
headerIcon: any;
|
6
|
+
getRowIcon?: (() => null) | undefined;
|
7
|
+
isVisited?: (() => null) | undefined;
|
8
|
+
intent?: string | undefined;
|
9
|
+
width?: number | undefined;
|
10
|
+
onClick: any;
|
11
|
+
visible: any;
|
12
|
+
resizable: any;
|
13
|
+
sortable: any;
|
14
|
+
searchable: any;
|
15
|
+
}) => {
|
16
|
+
property: any;
|
17
|
+
label: any;
|
18
|
+
headerStyle: {
|
19
|
+
justifyContent: string;
|
20
|
+
};
|
21
|
+
header: {
|
22
|
+
formatters: (() => JSX.Element)[];
|
23
|
+
};
|
24
|
+
cell: {
|
25
|
+
formatters: ((value: any, extraParams: any) => JSX.Element)[];
|
26
|
+
};
|
27
|
+
cellStyle: {
|
28
|
+
justifyContent: string;
|
29
|
+
};
|
30
|
+
width: number;
|
31
|
+
visible: any;
|
32
|
+
resizable: any;
|
33
|
+
sortable: any;
|
34
|
+
searchable: any;
|
35
|
+
};
|
36
|
+
export default IconColumn;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import PropTypes from 'prop-types';
|
3
|
+
declare const BodyCell: {
|
4
|
+
({ component: Component, classProps, rowProps, column, columnIndex, rowIndex, grid }: {
|
5
|
+
component: any;
|
6
|
+
classProps: any;
|
7
|
+
rowProps: any;
|
8
|
+
column: any;
|
9
|
+
columnIndex: any;
|
10
|
+
rowIndex: any;
|
11
|
+
grid: any;
|
12
|
+
}): JSX.Element;
|
13
|
+
propTypes: {
|
14
|
+
component: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
15
|
+
classProps: PropTypes.Requireable<PropTypes.InferProps<{
|
16
|
+
wrapText: PropTypes.Requireable<boolean>;
|
17
|
+
}>>;
|
18
|
+
rowProps: PropTypes.Requireable<PropTypes.InferProps<{
|
19
|
+
rowData: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
20
|
+
rowKey: PropTypes.Requireable<string>;
|
21
|
+
isScrolling: PropTypes.Requireable<boolean>;
|
22
|
+
}>>;
|
23
|
+
column: PropTypes.Requireable<PropTypes.InferProps<{
|
24
|
+
property: PropTypes.Requireable<string>;
|
25
|
+
cell: PropTypes.Requireable<any>;
|
26
|
+
props: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
27
|
+
}>>;
|
28
|
+
columnIndex: PropTypes.Requireable<number>;
|
29
|
+
rowIndex: PropTypes.Requireable<number>;
|
30
|
+
grid: PropTypes.Requireable<any>;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
export { BodyCell };
|
34
|
+
export default BodyCell;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: React.MemoExoticComponent<({ component: Component, rows, rowRenderer, noResultsPlaceholder, innerRef, innerBodyRef, ...otherBodyProps }: {
|
3
|
+
[x: string]: any;
|
4
|
+
component: any;
|
5
|
+
rows: any;
|
6
|
+
rowRenderer: any;
|
7
|
+
noResultsPlaceholder: any;
|
8
|
+
innerRef: any;
|
9
|
+
innerBodyRef: any;
|
10
|
+
}) => JSX.Element>;
|
11
|
+
export default _default;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare const getColumnVisibilityMenuOption: ({ columns, onColumnVisibilityChange, searchable, height }: {
|
2
|
+
columns: any;
|
3
|
+
onColumnVisibilityChange: any;
|
4
|
+
searchable: any;
|
5
|
+
height: any;
|
6
|
+
}) => {
|
7
|
+
type: string;
|
8
|
+
id: string;
|
9
|
+
multi: boolean;
|
10
|
+
searchable: any;
|
11
|
+
closeOnClick: boolean;
|
12
|
+
active: any;
|
13
|
+
items: any;
|
14
|
+
height: any;
|
15
|
+
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const ColumnsOptionsMenuSection: ({ columns, onColumnVisibilityChange, searchable, height, }: {
|
3
|
+
columns: any;
|
4
|
+
onColumnVisibilityChange: any;
|
5
|
+
searchable?: boolean | undefined;
|
6
|
+
height: any;
|
7
|
+
}) => () => JSX.Element;
|
8
|
+
export { ColumnsOptionsMenuSection };
|
9
|
+
export default ColumnsOptionsMenuSection;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const EmptyState: ({ primaryMessage, secondaryMessage, buttonLabel, onButtonClick, }: {
|
3
|
+
primaryMessage?: string | undefined;
|
4
|
+
secondaryMessage: any;
|
5
|
+
buttonLabel: any;
|
6
|
+
onButtonClick?: (() => void) | undefined;
|
7
|
+
}) => JSX.Element;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import PropTypes from 'prop-types';
|
3
|
+
export declare const HeaderCell: {
|
4
|
+
({ column, columnIndex, component: Component, classProps, grid }: {
|
5
|
+
column: any;
|
6
|
+
columnIndex: any;
|
7
|
+
component: any;
|
8
|
+
classProps: any;
|
9
|
+
grid: any;
|
10
|
+
}): JSX.Element;
|
11
|
+
propTypes: {
|
12
|
+
column: PropTypes.Requireable<any>;
|
13
|
+
columnIndex: PropTypes.Requireable<number>;
|
14
|
+
component: PropTypes.Requireable<any>;
|
15
|
+
classProps: PropTypes.Requireable<any>;
|
16
|
+
grid: PropTypes.Requireable<any>;
|
17
|
+
};
|
18
|
+
};
|
19
|
+
export default HeaderCell;
|