d2coreui 23.0.31 → 23.0.33

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.
@@ -1,11 +1,9 @@
1
1
  import React, { ReactElement } from "react";
2
2
  import { MenuProps } from "antd";
3
3
  import { AgGridReact } from "ag-grid-react";
4
- import 'ag-grid-community/styles/ag-grid.css';
5
- import 'ag-grid-community/styles/ag-theme-balham.css';
6
4
  import 'd2coreui/style/ag-grid/aggrid-adaptations.css';
7
5
  import { ContextMenuProps, PageOrientation } from "d2coreui/components/grid/export/contextMenu";
8
- import { CellClassParams, CellFocusedEvent, CellMouseDownEvent, ColDef, Column, ColumnEvent, ColumnState, FilterChangedEvent, FilterModifiedEvent, GridApi, GridOptions, GridReadyEvent, IRowNode, PaginationChangedEvent, RowClassParams, RowPinnedType, RowStyle, ViewportChangedEvent } from "ag-grid-community";
6
+ import { CellClassParams, CellFocusedEvent, CellMouseDownEvent, CellMouseOverEvent, ColDef, Column, ColumnEvent, ColumnState, FilterChangedEvent, FilterModifiedEvent, GridApi, GridOptions, GridReadyEvent, IRowNode, PaginationChangedEvent, RowClassParams, RowPinnedType, RowStyle, ViewportChangedEvent } from "ag-grid-community";
9
7
  import { GridRowStyle, RowStyleRule } from "d2coreui/components/grid/cell/tableDefaultRowStyleRules";
10
8
  import ProgressPopup from "d2coreui/components/grid/export/progressPopup";
11
9
  import WildcardQuickFilterEngine from "./filter/wildcardQuickFilterEngine";
@@ -117,6 +115,12 @@ export interface DataGridProps extends Omit<GridOptions, "columnDefs" | "paginat
117
115
  };
118
116
  getRowStyle?(params: any): GridRowStyle | undefined;
119
117
  gridRef?: React.RefObject<AgGridReact>;
118
+ showFillHandle?: boolean;
119
+ onFillHandleComplete?: (startRow: number, endRow: number, columns: string[]) => void;
120
+ }
121
+ interface CellCoord {
122
+ rowIndex: number;
123
+ colId: string;
120
124
  }
121
125
  interface DataGridState {
122
126
  pageIndex: number;
@@ -134,6 +138,10 @@ interface DataGridState {
134
138
  columnTransferHeight: number;
135
139
  pageOrientation: PageOrientation;
136
140
  exporting: boolean;
141
+ isDragging: boolean;
142
+ startCoord: CellCoord | null;
143
+ endCoord: CellCoord | null;
144
+ focusedCell: CellCoord | null;
137
145
  }
138
146
  export default class DataGrid extends React.Component<DataGridProps, DataGridState> {
139
147
  static defaultProps: {
@@ -161,6 +169,7 @@ export default class DataGrid extends React.Component<DataGridProps, DataGridSta
161
169
  private static getCellValue;
162
170
  textCustomComparator(filter: string, value: any, filterText: string): boolean;
163
171
  componentDidUpdate(prevProps: DataGridProps): void;
172
+ componentWillUnmount(): void;
164
173
  setColumnState(columnModel: ColumnState[]): void;
165
174
  setSortModel(sortModel: SortItem[]): void;
166
175
  getSortModel(): SortItem[];
@@ -194,7 +203,9 @@ export default class DataGrid extends React.Component<DataGridProps, DataGridSta
194
203
  getValue(column: Column, row: IRowNode, doNotReplaceNewline?: boolean): string;
195
204
  getExportContent(progressPopup: ProgressPopup | null, props: ContextMenuProps): Promise<string[][]>;
196
205
  onCellFocused(event: CellFocusedEvent): void;
206
+ onCellMouseOver(e: CellMouseOverEvent): void;
197
207
  onCellMouseDown(e: CellMouseDownEvent): void;
208
+ onMouseUp(): void;
198
209
  setFocusedCellDebounced(rowIndex: number, column: string | Column, rowPinned: RowPinnedType): void;
199
210
  private onCellContextMenu;
200
211
  private loadingOverlayRenderer;
@@ -217,6 +228,7 @@ export default class DataGrid extends React.Component<DataGridProps, DataGridSta
217
228
  renderToolBarWithSearch(): ReactElement;
218
229
  getSettingsMenu(): MenuProps;
219
230
  private getAdaptedColumnDefs;
231
+ private isInRange;
220
232
  render(): React.JSX.Element;
221
233
  }
222
234
  export {};
@@ -13,8 +13,6 @@ import React from "react";
13
13
  import { ColumnWidthOutlined, ControlOutlined, DownloadOutlined, FileSearchOutlined, LoadingOutlined, ReloadOutlined, SearchOutlined, SettingOutlined, TableOutlined } from "@ant-design/icons";
14
14
  import { Button, Card, Dropdown, Empty, Space } from "antd";
15
15
  import { AgGridReact } from "ag-grid-react";
16
- import 'ag-grid-community/styles/ag-grid.css';
17
- import 'ag-grid-community/styles/ag-theme-balham.css';
18
16
  import 'd2coreui/style/ag-grid/aggrid-adaptations.css';
19
17
  import TextColumnFilter from "d2coreui/components/grid/filter/textColumnFilter";
20
18
  import CustomColumnFilter from "d2coreui/components/grid/filter/customColumnFilter";
@@ -58,6 +56,11 @@ import DataGridPagination from "./panel/dataGridPagination";
58
56
  import { calculateLineHeight, calculateRowHeight, getFontSize, getLineHeight, getRowHeightDelta, GRID_DEFAULT_FONT_SIZE, GRID_DEFAULT_ROW_HEIGHT_DELTA } from "./config/rowHeightCalculator";
59
57
  import BeanAccessor from "./cell/beanAccessor";
60
58
  import WildcardQuickFilterEngine from "./filter/wildcardQuickFilterEngine";
59
+ import { themeBalham } from "ag-grid-community";
60
+ const myTheme = themeBalham
61
+ .withParams({
62
+ selectedRowBackgroundColor: "#b7e4ff",
63
+ });
61
64
  const gridFrameworkComponents = {
62
65
  customColumnFilter: CustomColumnFilter,
63
66
  textColumnFilter: TextColumnFilter,
@@ -116,7 +119,11 @@ class DataGrid extends React.Component {
116
119
  loading: false,
117
120
  columnTransferHeight: 500,
118
121
  pageOrientation: "PORTRAIT",
119
- exporting: false
122
+ exporting: false,
123
+ isDragging: false,
124
+ startCoord: null,
125
+ endCoord: null,
126
+ focusedCell: null,
120
127
  };
121
128
  this.indexToJump = null;
122
129
  this.columnToJump = null;
@@ -126,6 +133,8 @@ class DataGrid extends React.Component {
126
133
  this.onCellContextMenu = this.onCellContextMenu.bind(this);
127
134
  this.onCellFocused = this.onCellFocused.bind(this);
128
135
  this.onCellMouseDown = this.onCellMouseDown.bind(this);
136
+ this.onCellMouseOver = this.onCellMouseOver.bind(this);
137
+ this.onMouseUp = this.onMouseUp.bind(this);
129
138
  this.setFocusedCellDebounced = debounce(this.setFocusedCellDebounced.bind(this), 200);
130
139
  this.noRecordsOverlayRenderer = this.noRecordsOverlayRenderer.bind(this);
131
140
  this.loadingOverlayRenderer = this.loadingOverlayRenderer.bind(this);
@@ -493,6 +502,9 @@ class DataGrid extends React.Component {
493
502
  }
494
503
  this.updateRowHeight();
495
504
  }
505
+ componentWillUnmount() {
506
+ window.removeEventListener('mouseup', this.onMouseUp);
507
+ }
496
508
  setColumnState(columnModel) {
497
509
  var _a;
498
510
  const columnStates = [];
@@ -587,6 +599,7 @@ class DataGrid extends React.Component {
587
599
  });
588
600
  this.updateRowHeight();
589
601
  }
602
+ window.addEventListener('mouseup', this.onMouseUp);
590
603
  setTimeout(() => {
591
604
  if (!!this.lastPaginationEvent) {
592
605
  this.onPaginationChanged(this.lastPaginationEvent);
@@ -1254,9 +1267,24 @@ class DataGrid extends React.Component {
1254
1267
  row.setSelected(true, true);
1255
1268
  }
1256
1269
  }
1270
+ if (event.rowIndex !== null && event.column !== null && this.props.showFillHandle) {
1271
+ const colId = typeof event.column === "string" ? event.column : event.column.getColId();
1272
+ this.setState({ focusedCell: { rowIndex: event.rowIndex, colId: colId } }, () => {
1273
+ var _a;
1274
+ (_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.refreshCells({ force: true });
1275
+ });
1276
+ }
1257
1277
  (_e = (_d = this.props).onCellFocused) === null || _e === void 0 ? void 0 : _e.call(_d, event);
1258
1278
  this.lastCellFocus = event;
1259
1279
  }
1280
+ onCellMouseOver(e) {
1281
+ if (this.state.isDragging) {
1282
+ this.setState({ endCoord: { rowIndex: e.rowIndex, colId: e.column.getColId() } }, () => {
1283
+ var _a;
1284
+ (_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.refreshCells({ force: true });
1285
+ });
1286
+ }
1287
+ }
1260
1288
  onCellMouseDown(e) {
1261
1289
  var _a, _b;
1262
1290
  this.lastNavigationEvent = 1;
@@ -1264,7 +1292,42 @@ class DataGrid extends React.Component {
1264
1292
  this.setFocusedCellDebounced(e.rowIndex, e.column, e.rowPinned !== null ? e.rowPinned : undefined);
1265
1293
  }
1266
1294
  (_b = (_a = this.props).onCellMouseDown) === null || _b === void 0 ? void 0 : _b.call(_a, e);
1295
+ if (this.props.showFillHandle) {
1296
+ const mouseEvent = e.event;
1297
+ const cellElement = mouseEvent.target.closest('.ag-cell');
1298
+ const rect = cellElement === null || cellElement === void 0 ? void 0 : cellElement.getBoundingClientRect();
1299
+ const isHandleClick = rect !== undefined && (rect.right - mouseEvent.clientX < 10) && (rect.bottom - mouseEvent.clientY < 10);
1300
+ if (isHandleClick) {
1301
+ this.setState({
1302
+ isDragging: true,
1303
+ startCoord: { rowIndex: e.rowIndex, colId: e.column.getColId() },
1304
+ endCoord: { rowIndex: e.rowIndex, colId: e.column.getColId() }
1305
+ });
1306
+ }
1307
+ }
1267
1308
  }
1309
+ onMouseUp() {
1310
+ var _a, _b, _c, _d;
1311
+ if (this.state.isDragging) {
1312
+ const columns = (_b = (_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.getAllDisplayedColumns().map((c) => c.getColId())) !== null && _b !== void 0 ? _b : [];
1313
+ if (this.state.startCoord && this.state.endCoord) {
1314
+ const startIndex = columns.findIndex((c) => { var _a; return c === ((_a = this.state.startCoord) === null || _a === void 0 ? void 0 : _a.colId); });
1315
+ const endIndex = columns.findIndex((c) => { var _a; return c === ((_a = this.state.endCoord) === null || _a === void 0 ? void 0 : _a.colId); });
1316
+ if (startIndex >= 0 && endIndex >= 0) {
1317
+ const actualStart = Math.min(startIndex, endIndex);
1318
+ const actualEnd = Math.max(startIndex, endIndex);
1319
+ const actualRowStart = Math.min(this.state.startCoord.rowIndex, this.state.endCoord.rowIndex);
1320
+ const actualRowEnd = Math.max(this.state.startCoord.rowIndex, this.state.endCoord.rowIndex);
1321
+ (_d = (_c = this.props).onFillHandleComplete) === null || _d === void 0 ? void 0 : _d.call(_c, actualRowStart, actualRowEnd, columns.slice(actualStart, actualEnd + 1));
1322
+ }
1323
+ }
1324
+ this.setState({ isDragging: false, startCoord: null, endCoord: null }, () => {
1325
+ var _a;
1326
+ (_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.refreshCells({ force: true });
1327
+ });
1328
+ }
1329
+ }
1330
+ ;
1268
1331
  setFocusedCellDebounced(rowIndex, column, rowPinned) {
1269
1332
  var _a;
1270
1333
  (_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.setFocusedCell(rowIndex, column, rowPinned);
@@ -1559,7 +1622,10 @@ class DataGrid extends React.Component {
1559
1622
  }
1560
1623
  return Object.assign(Object.assign({}, rest), { floatingFilter: floatingFilterEnabledForColumn && floatingFilterEnabled, resizable: true, headerComponent: "simpleHeader", headerComponentParams: {
1561
1624
  onColumnsConfigVisible: this.showColumnsConfig
1562
- }, hide: (_d = (_c = this.state.columnModel.find((c) => c.colId === columnDef.colId)) === null || _c === void 0 ? void 0 : _c.hide) !== null && _d !== void 0 ? _d : (hide === undefined ? rest.initialHide : hide), cellStyle: this._getCellStyle, cellRendererParams: columnDef.cellStyle ? Object.assign(columnDef.cellRendererParams !== undefined ? columnDef.cellRendererParams : {}, { originalCellStyle: columnDef.cellStyle }) : columnDef.cellRendererParams, editable: editable, cellEditorPopup: !editable ? undefined : cellEditorPopup !== false });
1625
+ }, hide: (_d = (_c = this.state.columnModel.find((c) => c.colId === columnDef.colId)) === null || _c === void 0 ? void 0 : _c.hide) !== null && _d !== void 0 ? _d : (hide === undefined ? rest.initialHide : hide), cellStyle: this._getCellStyle, cellRendererParams: columnDef.cellStyle ? Object.assign(columnDef.cellRendererParams !== undefined ? columnDef.cellRendererParams : {}, { originalCellStyle: columnDef.cellStyle }) : columnDef.cellRendererParams, editable: editable, cellEditorPopup: !editable ? undefined : cellEditorPopup !== false, cellClassRules: {
1626
+ 'cell-has-handle': (p) => { var _a, _b; return ((_a = this.state.focusedCell) === null || _a === void 0 ? void 0 : _a.rowIndex) === p.rowIndex && ((_b = this.state.focusedCell) === null || _b === void 0 ? void 0 : _b.colId) === p.colDef.colId && !this.state.isDragging; },
1627
+ 'cell-drag-selected': (params) => (this.state.startCoord !== null && this.state.endCoord !== null) ? this.isInRange(params.rowIndex, params.colDef.colId) : false,
1628
+ } });
1563
1629
  }) : undefined;
1564
1630
  if (adaptedColumnDefs) {
1565
1631
  setTimeout(() => {
@@ -1569,9 +1635,25 @@ class DataGrid extends React.Component {
1569
1635
  }
1570
1636
  return adaptedColumnDefs;
1571
1637
  }
1638
+ isInRange(rowIndex, colId) {
1639
+ var _a;
1640
+ const { startCoord, endCoord } = this.state;
1641
+ if (startCoord === null || endCoord === null)
1642
+ return false;
1643
+ const allCols = ((_a = this.gridApi.getColumnDefs()) === null || _a === void 0 ? void 0 : _a.map(c => c.colId)) || [];
1644
+ const startColIdx = allCols.indexOf(startCoord.colId);
1645
+ const endColIdx = allCols.indexOf(endCoord.colId);
1646
+ const currentColIdx = allCols.indexOf(colId);
1647
+ const minRow = Math.min(startCoord.rowIndex, endCoord.rowIndex);
1648
+ const maxRow = Math.max(startCoord.rowIndex, endCoord.rowIndex);
1649
+ const minCol = Math.min(startColIdx, endColIdx);
1650
+ const maxCol = Math.max(startColIdx, endColIdx);
1651
+ return rowIndex >= minRow && rowIndex <= maxRow && currentColIdx >= minCol && currentColIdx <= maxCol;
1652
+ }
1653
+ ;
1572
1654
  render() {
1573
1655
  var _a, _b, _c, _d;
1574
- const _e = this.props, { onGridReady, columnDefs, disableColumnDefsPreprocessing, onColumnsChanged, paging, onPaginationChanged, onViewportChanged, selectedIds, search, toolbar, filter, onFilterChanged, onFilterModified, onCellFocused, onSortChanged, components, tableConfigVisible, onTableConfigVisible, noRecordsOverlayRenderer, loadingOverlayRenderer, onRowDataUpdated, rowStyleRules, onChangeRowStyleRules, defaultShowMilliseconds, onShowMilliseconds, defaultHideYear, onShowYear, suppressLoadingOverlay, defaultColDef, headerHeight, rowData, rowDataManualMode, gridRef, quickFilterParser, quickFilterMatcher, rowSelection, contextMenu, settingsMenu, exportMenu, panelStyle, tablePanelStyle, onColumnDefsAdapted, tableOverlayRenderer, onKeyPressed } = _e, passedProperties = __rest(_e, ["onGridReady", "columnDefs", "disableColumnDefsPreprocessing", "onColumnsChanged", "paging", "onPaginationChanged", "onViewportChanged", "selectedIds", "search", "toolbar", "filter", "onFilterChanged", "onFilterModified", "onCellFocused", "onSortChanged", "components", "tableConfigVisible", "onTableConfigVisible", "noRecordsOverlayRenderer", "loadingOverlayRenderer", "onRowDataUpdated", "rowStyleRules", "onChangeRowStyleRules", "defaultShowMilliseconds", "onShowMilliseconds", "defaultHideYear", "onShowYear", "suppressLoadingOverlay", "defaultColDef", "headerHeight", "rowData", "rowDataManualMode", "gridRef", "quickFilterParser", "quickFilterMatcher", "rowSelection", "contextMenu", "settingsMenu", "exportMenu", "panelStyle", "tablePanelStyle", "onColumnDefsAdapted", "tableOverlayRenderer", "onKeyPressed"]);
1656
+ const _e = this.props, { onGridReady, columnDefs, disableColumnDefsPreprocessing, onColumnsChanged, paging, onPaginationChanged, onViewportChanged, selectedIds, search, toolbar, filter, onFilterChanged, onFilterModified, onCellFocused, onSortChanged, components, tableConfigVisible, onTableConfigVisible, noRecordsOverlayRenderer, loadingOverlayRenderer, onRowDataUpdated, rowStyleRules, onChangeRowStyleRules, defaultShowMilliseconds, onShowMilliseconds, defaultHideYear, onShowYear, suppressLoadingOverlay, defaultColDef, headerHeight, rowData, rowDataManualMode, gridRef, quickFilterParser, quickFilterMatcher, rowSelection, contextMenu, settingsMenu, exportMenu, panelStyle, tablePanelStyle, onColumnDefsAdapted, tableOverlayRenderer, onKeyPressed, theme } = _e, passedProperties = __rest(_e, ["onGridReady", "columnDefs", "disableColumnDefsPreprocessing", "onColumnsChanged", "paging", "onPaginationChanged", "onViewportChanged", "selectedIds", "search", "toolbar", "filter", "onFilterChanged", "onFilterModified", "onCellFocused", "onSortChanged", "components", "tableConfigVisible", "onTableConfigVisible", "noRecordsOverlayRenderer", "loadingOverlayRenderer", "onRowDataUpdated", "rowStyleRules", "onChangeRowStyleRules", "defaultShowMilliseconds", "onShowMilliseconds", "defaultHideYear", "onShowYear", "suppressLoadingOverlay", "defaultColDef", "headerHeight", "rowData", "rowDataManualMode", "gridRef", "quickFilterParser", "quickFilterMatcher", "rowSelection", "contextMenu", "settingsMenu", "exportMenu", "panelStyle", "tablePanelStyle", "onColumnDefsAdapted", "tableOverlayRenderer", "onKeyPressed", "theme"]);
1575
1657
  let key;
1576
1658
  let paginationPageSize = undefined;
1577
1659
  if (paging.pageSize > 0) {
@@ -1607,6 +1689,7 @@ class DataGrid extends React.Component {
1607
1689
  Object.assign(tPanelStyle, tablePanelStyle);
1608
1690
  }
1609
1691
  const headerFilterRowHeight = calculateRowHeight(this.state.fontSize, GRID_DEFAULT_ROW_HEIGHT_DELTA + 2);
1692
+ const defaultTheme = theme !== null && theme !== void 0 ? theme : myTheme;
1610
1693
  return (React.createElement(React.Fragment, null,
1611
1694
  React.createElement(Card, { size: "small", bordered: false, style: { height: "100%" }, styles: { body: bodyStyle } },
1612
1695
  React.createElement("div", { style: { display: "flex" } }, this.renderNavigationPanel()),
@@ -1635,7 +1718,7 @@ class DataGrid extends React.Component {
1635
1718
  React.createElement("div", { className: "ag-theme-balham", style: { width: "100%", height: "100%" }, ref: (wrapingDiv) => {
1636
1719
  this.wrappingDiv = wrapingDiv;
1637
1720
  } },
1638
- React.createElement(AgGridReact, Object.assign({ key: key, debug: debugMode, ref: gridRef, paginationPageSize: paginationPageSize, maxConcurrentDatasourceRequests: this.props.rowModelType === "infinite" ? 1 : undefined, onGridReady: this.onGridReady, onPaginationChanged: this.onPaginationChanged, onFilterModified: this.onFilterModified, onFilterChanged: this.onFilterChanged, onSortChanged: this.onSortChanged, defaultColDef: this.getDefaultColDefinition(defaultColDef), columnDefs: adaptedColumnDefs, rowData: !rowDataManualMode ? rowData : undefined }, passedProperties, { onCellFocused: this.onCellFocused, cellSelection: rowSelection === "multiple" || (rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.mode) === "multiRow", rowSelection: rowSelection, suppressPaginationPanel: true, getRowId: getRowId, maintainColumnOrder: true, components: customComponents, columnTypes: this.columnTypes, onColumnVisible: this.onColumnsChanged, onColumnPinned: this.onColumnsChanged, onColumnResized: this.onColumnsChanged, onColumnMoved: this.onColumnsChanged, onCellMouseDown: this.onCellMouseDown, navigateToNextCell: this.navigateToNextCell, onViewportChanged: this.onViewportChanged, onCellContextMenu: this.onCellContextMenu, loadingOverlayComponent: 'loadingOverlay', noRowsOverlayComponent: 'noRecordsOverlay', onRowDataUpdated: this.onRowDataUpdated, context: this.table_context, rowHeight: this.state.rowHeight, getRowStyle: this._getRowStyle, getRowHeight: this._getRowHeight, headerHeight: headerHeight !== undefined ? headerHeight : headerFilterRowHeight, floatingFiltersHeight: headerFilterRowHeight, suppressLoadingOverlay: this.props.loadingOverlayRenderer ? true : this.props.suppressLoadingOverlay, quickFilterParser: this.wildcardQuickFilter.quickFilterParser, quickFilterMatcher: this.wildcardQuickFilter.quickFilterMatcher })),
1721
+ React.createElement(AgGridReact, Object.assign({ key: key, debug: debugMode, ref: gridRef, theme: defaultTheme, paginationPageSize: paginationPageSize, maxConcurrentDatasourceRequests: this.props.rowModelType === "infinite" ? 1 : undefined, onGridReady: this.onGridReady, onPaginationChanged: this.onPaginationChanged, onFilterModified: this.onFilterModified, onFilterChanged: this.onFilterChanged, onSortChanged: this.onSortChanged, defaultColDef: this.getDefaultColDefinition(defaultColDef), columnDefs: adaptedColumnDefs, rowData: !rowDataManualMode ? rowData : undefined }, passedProperties, { onCellFocused: this.onCellFocused, cellSelection: rowSelection === "multiple" || (rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.mode) === "multiRow", rowSelection: rowSelection, suppressPaginationPanel: true, getRowId: getRowId, maintainColumnOrder: true, components: customComponents, columnTypes: this.columnTypes, onColumnVisible: this.onColumnsChanged, onColumnPinned: this.onColumnsChanged, onColumnResized: this.onColumnsChanged, onColumnMoved: this.onColumnsChanged, onCellMouseOver: this.onCellMouseOver, onCellMouseDown: this.onCellMouseDown, navigateToNextCell: this.navigateToNextCell, onViewportChanged: this.onViewportChanged, onCellContextMenu: this.onCellContextMenu, loadingOverlayComponent: 'loadingOverlay', noRowsOverlayComponent: 'noRecordsOverlay', onRowDataUpdated: this.onRowDataUpdated, context: this.table_context, rowHeight: this.state.rowHeight, getRowStyle: this._getRowStyle, getRowHeight: this._getRowHeight, headerHeight: headerHeight !== undefined ? headerHeight : headerFilterRowHeight, floatingFiltersHeight: headerFilterRowHeight, suppressLoadingOverlay: this.props.loadingOverlayRenderer ? true : this.props.suppressLoadingOverlay, quickFilterParser: this.wildcardQuickFilter.quickFilterParser, quickFilterMatcher: this.wildcardQuickFilter.quickFilterMatcher })),
1639
1722
  this.state.loading && this.props.loadingOverlayRenderer &&
1640
1723
  React.createElement("div", { className: "ag-overlay", "aria-hidden": "true", ref: "overlayWrapper" },
1641
1724
  React.createElement("div", { className: "ag-overlay-panel" },