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