@adaptabletools/adaptable-cjs 19.1.0 → 19.1.2-canary.0

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.
Files changed (154) hide show
  1. package/package.json +1 -1
  2. package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -5
  3. package/src/AdaptableOptions/AlertOptions.d.ts +3 -0
  4. package/src/AdaptableOptions/ColumnMenuOptions.d.ts +1 -1
  5. package/src/AdaptableOptions/CommentOptions.d.ts +2 -2
  6. package/src/AdaptableOptions/NoteOptions.d.ts +2 -2
  7. package/src/Api/AdaptableApi.d.ts +21 -11
  8. package/src/Api/Events/GridDataChanged.d.ts +3 -0
  9. package/src/Api/GridApi.d.ts +8 -3
  10. package/src/Api/Implementation/ActionColumnApiImpl.d.ts +0 -2
  11. package/src/Api/Implementation/ActionColumnApiImpl.js +1 -4
  12. package/src/Api/Implementation/ActionRowApiImpl.d.ts +1 -1
  13. package/src/Api/Implementation/ActionRowApiImpl.js +4 -4
  14. package/src/Api/Implementation/AdaptableApiImpl.d.ts +5 -6
  15. package/src/Api/Implementation/AdaptableApiImpl.js +7 -1
  16. package/src/Api/Implementation/AlertApiImpl.d.ts +1 -1
  17. package/src/Api/Implementation/AlertApiImpl.js +16 -15
  18. package/src/Api/Implementation/ApiBase.d.ts +12 -3
  19. package/src/Api/Implementation/ApiBase.js +39 -24
  20. package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +1 -1
  21. package/src/Api/Implementation/CalculatedColumnApiImpl.js +3 -3
  22. package/src/Api/Implementation/CalendarApiImpl.js +1 -1
  23. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
  24. package/src/Api/Implementation/ChartingApiImpl.js +9 -9
  25. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
  26. package/src/Api/Implementation/ColumnApiImpl.js +18 -18
  27. package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +1 -1
  28. package/src/Api/Implementation/ColumnFilterApiImpl.js +7 -7
  29. package/src/Api/Implementation/ColumnMenuApiImpl.d.ts +0 -2
  30. package/src/Api/Implementation/ColumnMenuApiImpl.js +2 -5
  31. package/src/Api/Implementation/CommentsApiImpl.d.ts +1 -1
  32. package/src/Api/Implementation/CommentsApiImpl.js +6 -4
  33. package/src/Api/Implementation/ConfigApiImpl.js +23 -24
  34. package/src/Api/Implementation/ContextMenuApiImpl.d.ts +0 -2
  35. package/src/Api/Implementation/ContextMenuApiImpl.js +1 -4
  36. package/src/Api/Implementation/CustomSortApiImpl.d.ts +1 -1
  37. package/src/Api/Implementation/CustomSortApiImpl.js +3 -3
  38. package/src/Api/Implementation/DashboardApiImpl.d.ts +1 -1
  39. package/src/Api/Implementation/DashboardApiImpl.js +5 -5
  40. package/src/Api/Implementation/DataImportApiImpl.d.ts +1 -1
  41. package/src/Api/Implementation/DataImportApiImpl.js +3 -3
  42. package/src/Api/Implementation/DataSetApiImpl.d.ts +1 -1
  43. package/src/Api/Implementation/DataSetApiImpl.js +5 -5
  44. package/src/Api/Implementation/EntitlementApiImpl.d.ts +1 -1
  45. package/src/Api/Implementation/EntitlementApiImpl.js +5 -5
  46. package/src/Api/Implementation/EventApiImpl.d.ts +1 -1
  47. package/src/Api/Implementation/EventApiImpl.js +2 -2
  48. package/src/Api/Implementation/ExportApiImpl.d.ts +1 -1
  49. package/src/Api/Implementation/ExportApiImpl.js +7 -7
  50. package/src/Api/Implementation/ExpressionApiImpl.d.ts +1 -1
  51. package/src/Api/Implementation/ExpressionApiImpl.js +5 -5
  52. package/src/Api/Implementation/Fdc3ApiImpl.d.ts +1 -1
  53. package/src/Api/Implementation/Fdc3ApiImpl.js +4 -4
  54. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +1 -1
  55. package/src/Api/Implementation/FlashingCellApiImpl.js +7 -7
  56. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -1
  57. package/src/Api/Implementation/FormatColumnApiImpl.js +4 -4
  58. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
  59. package/src/Api/Implementation/FreeTextColumnApiImpl.js +4 -4
  60. package/src/Api/Implementation/GridApiImpl.d.ts +3 -2
  61. package/src/Api/Implementation/GridApiImpl.js +108 -103
  62. package/src/Api/Implementation/GridFilterApiImpl.d.ts +1 -1
  63. package/src/Api/Implementation/GridFilterApiImpl.js +4 -4
  64. package/src/Api/Implementation/LayoutApiImpl.d.ts +1 -1
  65. package/src/Api/Implementation/LayoutApiImpl.js +3 -3
  66. package/src/Api/Implementation/NamedQueryApiImpl.d.ts +1 -1
  67. package/src/Api/Implementation/NamedQueryApiImpl.js +3 -3
  68. package/src/Api/Implementation/NoteApiImpl.d.ts +1 -1
  69. package/src/Api/Implementation/NoteApiImpl.js +3 -3
  70. package/src/Api/Implementation/OptionsApiImpl.js +7 -7
  71. package/src/Api/Implementation/PluginsApiImpl.js +1 -1
  72. package/src/Api/Implementation/PlusMinusApiImpl.js +1 -1
  73. package/src/Api/Implementation/PredicateApiImpl.d.ts +1 -1
  74. package/src/Api/Implementation/PredicateApiImpl.js +4 -4
  75. package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -1
  76. package/src/Api/Implementation/ScheduleApiImpl.js +3 -3
  77. package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
  78. package/src/Api/Implementation/StatusBarApiImpl.js +1 -1
  79. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -1
  80. package/src/Api/Implementation/StyledColumnApiImpl.js +4 -4
  81. package/src/Api/Implementation/SystemStatusApiImpl.d.ts +1 -1
  82. package/src/Api/Implementation/SystemStatusApiImpl.js +4 -4
  83. package/src/Api/Implementation/TeamSharingApiImpl.d.ts +1 -1
  84. package/src/Api/Implementation/TeamSharingApiImpl.js +11 -11
  85. package/src/Api/Implementation/ThemeApiImpl.d.ts +1 -1
  86. package/src/Api/Implementation/ThemeApiImpl.js +8 -8
  87. package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
  88. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -1
  89. package/src/Api/Implementation/UserInterfaceApiImpl.js +5 -5
  90. package/src/Api/Internal/ActionRowInternalApi.js +8 -8
  91. package/src/Api/Internal/AdaptableInternalApi.d.ts +2 -0
  92. package/src/Api/Internal/AdaptableInternalApi.js +55 -50
  93. package/src/Api/Internal/AlertInternalApi.js +9 -9
  94. package/src/Api/Internal/CalculatedColumnInternalApi.js +11 -9
  95. package/src/Api/Internal/ChartingInternalApi.js +1 -1
  96. package/src/Api/Internal/ColumnFilterInternalApi.js +7 -9
  97. package/src/Api/Internal/ColumnInternalApi.js +3 -3
  98. package/src/Api/Internal/CommentsInternalApi.d.ts +1 -0
  99. package/src/Api/Internal/CommentsInternalApi.js +4 -0
  100. package/src/Api/Internal/CustomSortInternalApi.js +3 -3
  101. package/src/Api/Internal/DashboardInternalApi.js +4 -3
  102. package/src/Api/Internal/DataImportInternalApi.js +2 -2
  103. package/src/Api/Internal/DataSetInternalApi.js +2 -2
  104. package/src/Api/Internal/ExportInternalApi.js +21 -22
  105. package/src/Api/Internal/ExpressionInternalApi.js +4 -4
  106. package/src/Api/Internal/Fdc3InternalApi.d.ts +0 -1
  107. package/src/Api/Internal/Fdc3InternalApi.js +9 -12
  108. package/src/Api/Internal/FlashingCellInternalApi.js +2 -2
  109. package/src/Api/Internal/FormatColumnInternalApi.js +2 -3
  110. package/src/Api/Internal/FreeTextColumnInternalApi.js +5 -2
  111. package/src/Api/Internal/GridFilterInternalApi.js +2 -2
  112. package/src/Api/Internal/GridInternalApi.js +26 -26
  113. package/src/Api/Internal/LayoutInternalApi.js +6 -5
  114. package/src/Api/Internal/NamedQueryInternalApi.js +2 -2
  115. package/src/Api/Internal/NoteInternalApi.d.ts +1 -0
  116. package/src/Api/Internal/NoteInternalApi.js +4 -0
  117. package/src/Api/Internal/PredicateInternalApi.js +5 -5
  118. package/src/Api/Internal/ScheduleInternalApi.js +1 -1
  119. package/src/Api/Internal/StyledColumnInternalApi.js +2 -2
  120. package/src/Api/Internal/SystemStatusInternalApi.js +1 -1
  121. package/src/Api/Internal/TeamSharingInternalApi.js +2 -2
  122. package/src/Api/Internal/ThemeInternalApi.js +1 -1
  123. package/src/PredefinedConfig/Common/ExtendedLayoutInfo.d.ts +15 -0
  124. package/src/PredefinedConfig/Common/FilterActionOnDataChange.d.ts +3 -0
  125. package/src/Strategy/NoteModule.d.ts +0 -1
  126. package/src/Strategy/NoteModule.js +4 -5
  127. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +1 -1
  128. package/src/Utilities/Services/AggregatedScalarLiveValue.js +1 -1
  129. package/src/Utilities/Services/CellPopupService.js +4 -4
  130. package/src/Utilities/Services/Fdc3Service.js +1 -3
  131. package/src/Utilities/Services/FlashingCellService.d.ts +0 -2
  132. package/src/Utilities/Services/FlashingCellService.js +2 -3
  133. package/src/Utilities/Services/RowEditService.js +3 -5
  134. package/src/View/Alert/AlertStatusSubPanel.js +4 -4
  135. package/src/View/Charting/ShowChartButton.js +4 -4
  136. package/src/View/Comments/CommentsEditor.js +2 -2
  137. package/src/View/Comments/CommentsPopup.js +1 -4
  138. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +1 -1
  139. package/src/View/DataImport/DataImportWizard/DataImportWizard.js +14 -13
  140. package/src/View/Layout/TransposedPopup.js +2 -2
  141. package/src/View/Note/NotePopup.js +1 -4
  142. package/src/agGrid/AdaptableAgGrid.d.ts +2 -5
  143. package/src/agGrid/AdaptableAgGrid.js +47 -26
  144. package/src/agGrid/AgGridAdapter.js +3 -3
  145. package/src/agGrid/FloatingFilterWrapper.js +4 -3
  146. package/src/agGrid/defaultAdaptableOptions.js +100 -96
  147. package/src/components/Datepicker/index.d.ts +1 -1
  148. package/src/components/ExpressionEditor/DataTableEditor.js +3 -3
  149. package/src/components/ExpressionEditor/ExpressionPreview.js +4 -4
  150. package/src/env.js +2 -2
  151. package/src/metamodel/adaptable.metamodel.d.ts +32 -0
  152. package/src/metamodel/adaptable.metamodel.js +1 -1
  153. package/src/types.d.ts +1 -1
  154. package/tsconfig.cjs.tsbuildinfo +1 -1
@@ -10,13 +10,14 @@ const GridInternalApi_1 = require("../Internal/GridInternalApi");
10
10
  const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
11
11
  const windowFactory_1 = require("../../View/Components/Popups/WindowPopups/windowFactory");
12
12
  const RowSummary_1 = require("../../PredefinedConfig/Common/RowSummary");
13
+ const logDeprecation_1 = require("../../Utilities/logDeprecation");
13
14
  class GridApiImpl extends ApiBase_1.ApiBase {
14
- constructor(adaptable) {
15
- super(adaptable);
16
- this.internalApi = new GridInternalApi_1.GridInternalApi(adaptable);
15
+ constructor(_adaptable) {
16
+ super(_adaptable);
17
+ this.internalApi = new GridInternalApi_1.GridInternalApi(_adaptable);
17
18
  }
18
19
  getVariant() {
19
- return this.adaptable.variant;
20
+ return this.getAdaptableVariant();
20
21
  }
21
22
  getGridState() {
22
23
  return this.getAdaptableState().Grid;
@@ -26,20 +27,20 @@ class GridApiImpl extends ApiBase_1.ApiBase {
26
27
  // to prevent `cellchanged` events from being triggered for rows that have
27
28
  // the same primary key with existing rows
28
29
  // see #testprevent_cellchanged_event_on_load_grid_data
29
- this.adaptable.agGridAdapter.setGridOption('rowData', []);
30
- this.adaptable.setGridData(dataSource);
30
+ this._adaptable.agGridAdapter.setGridOption('rowData', []);
31
+ this._adaptable.setGridData(dataSource);
31
32
  const allRowNodes = this.getAllRowNodes();
32
33
  this.internalApi.fireGridDataChangedEvent(dataSource, allRowNodes, 'Load');
33
34
  }
34
35
  getGridData() {
35
- return this.adaptable.getGridData();
36
+ return this._adaptable.getGridData();
36
37
  }
37
38
  getFilteredData() {
38
- return this.adaptable.getFilteredData();
39
+ return this._adaptable.getFilteredData();
39
40
  }
40
41
  getVisibleData() {
41
42
  const data = [];
42
- this.adaptable.forAllVisibleRowNodesDo((rowNode) => {
43
+ this.getAdaptableInternalApi().forAllVisibleRowNodesDo((rowNode) => {
43
44
  if (!this.isGroupRowNode(rowNode)) {
44
45
  data.push(rowNode.data);
45
46
  }
@@ -47,12 +48,12 @@ class GridApiImpl extends ApiBase_1.ApiBase {
47
48
  return data;
48
49
  }
49
50
  async updateGridData(dataRows, dataUpdateConfig) {
50
- const rowNodes = await this.adaptable.updateRows(dataRows, dataUpdateConfig);
51
+ const rowNodes = await this._adaptable.updateRows(dataRows, dataUpdateConfig);
51
52
  this.internalApi.fireGridDataChangedEvent(dataRows, rowNodes, 'Update');
52
53
  return rowNodes;
53
54
  }
54
55
  async addOrUpdateGridData(dataRows, dataUpdateConfig) {
55
- const { added, updated } = await this.adaptable.addOrUpdateRows(dataRows, dataUpdateConfig);
56
+ const { added, updated } = await this._adaptable.addOrUpdateRows(dataRows, dataUpdateConfig);
56
57
  if (ArrayExtensions_1.default.IsNotNullOrEmpty(updated)) {
57
58
  this.internalApi.fireGridDataChangedEvent(dataRows, updated, 'Update');
58
59
  }
@@ -65,13 +66,13 @@ class GridApiImpl extends ApiBase_1.ApiBase {
65
66
  };
66
67
  }
67
68
  async addGridData(dataRows, dataUpdateConfig) {
68
- const rowNodes = await this.adaptable.addRows(dataRows, dataUpdateConfig);
69
+ const rowNodes = await this._adaptable.addRows(dataRows, dataUpdateConfig);
69
70
  this.internalApi.fireGridDataChangedEvent(dataRows, rowNodes, 'Add');
70
71
  return rowNodes;
71
72
  }
72
73
  undoCellEdit(cellDataChangedInfo) {
73
74
  // for the reason of this hacky solution see the comments in DataService
74
- this.getAdaptableApi().internalApi.getDataService().logUndoChange(cellDataChangedInfo);
75
+ this.getAdaptableInternalApi().getDataService().logUndoChange(cellDataChangedInfo);
75
76
  const cellUpdateRequest = {
76
77
  columnId: cellDataChangedInfo.column.columnId,
77
78
  newValue: cellDataChangedInfo.oldValue,
@@ -83,7 +84,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
83
84
  }
84
85
  async deleteGridData(dataRows, dataUpdateConfig) {
85
86
  if (this.checkArrayExists(dataRows)) {
86
- const rowNodes = await this.adaptable.deleteRows(dataRows, dataUpdateConfig);
87
+ const rowNodes = await this._adaptable.deleteRows(dataRows, dataUpdateConfig);
87
88
  this.internalApi.fireGridDataChangedEvent(dataRows, rowNodes, 'Delete');
88
89
  return rowNodes;
89
90
  }
@@ -101,7 +102,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
101
102
  this.logWarn(`setCellValue() - rowNode not found for primaryKeyValue: ${cellUpdateRequest.primaryKeyValue}`);
102
103
  return;
103
104
  }
104
- this.adaptable.setDataValue(cellUpdateRequest.newValue, abColumn, cellUpdateRequest.primaryKeyValue, rowNode);
105
+ this._adaptable.setDataValue(cellUpdateRequest.newValue, abColumn, cellUpdateRequest.primaryKeyValue, rowNode);
105
106
  this.refreshCells([rowNode], [abColumn.columnId]);
106
107
  }
107
108
  setCellValues(cellUpdateRequests) {
@@ -126,10 +127,10 @@ class GridApiImpl extends ApiBase_1.ApiBase {
126
127
  return rowNode ? this.getNormalisedValueFromRowNode(rowNode, columnId) : undefined;
127
128
  }
128
129
  hideFilterForm() {
129
- this.adaptable.hideColumnFilterForm();
130
+ this._adaptable.hideColumnFilterForm();
130
131
  }
131
132
  applyGridFiltering() {
132
- this.adaptable.applyColumnFiltering();
133
+ this._adaptable.applyColumnFiltering();
133
134
  }
134
135
  clearGridFiltering() {
135
136
  // slightly round the houses but we have to call ColumnFilterAPI as it does it properly
@@ -143,11 +144,11 @@ class GridApiImpl extends ApiBase_1.ApiBase {
143
144
  return columnSorts === null || columnSorts === void 0 ? void 0 : columnSorts.find((cs) => cs.ColumnId == columnId);
144
145
  }
145
146
  setAdaptableSorting(columnSorts) {
146
- this.adaptable.setColumnSort(columnSorts);
147
+ this._adaptable.setColumnSort(columnSorts);
147
148
  this.setColumnSorts(columnSorts);
148
149
  }
149
150
  clearAdaptableSorting() {
150
- this.adaptable.clearColumnSort();
151
+ this._adaptable.clearColumnSort();
151
152
  this.clearColumnSorts();
152
153
  }
153
154
  setColumnSorts(columnSorts) {
@@ -167,13 +168,13 @@ class GridApiImpl extends ApiBase_1.ApiBase {
167
168
  this.selectNodes(nodes, clearSelection);
168
169
  }
169
170
  selectNode(rowNode, clearSelection) {
170
- this.adaptable.selectNode(rowNode, clearSelection);
171
+ this._adaptable.selectNode(rowNode, clearSelection);
171
172
  }
172
173
  selectNodes(rowNodes, clearSelection) {
173
- this.adaptable.selectNodes(rowNodes, clearSelection);
174
+ this._adaptable.selectNodes(rowNodes, clearSelection);
174
175
  }
175
176
  deSelectRow(primaryKeyValue, clearSelection) {
176
- this.adaptable.deSelectNode(this.getRowNodeForPrimaryKey(primaryKeyValue), clearSelection);
177
+ this._adaptable.deSelectNode(this.getRowNodeForPrimaryKey(primaryKeyValue), clearSelection);
177
178
  }
178
179
  deSelectRows(primaryKeyValues, clearSelection) {
179
180
  let nodes = [];
@@ -183,22 +184,22 @@ class GridApiImpl extends ApiBase_1.ApiBase {
183
184
  this.deSelectNodes(nodes, clearSelection);
184
185
  }
185
186
  deSelectNode(rowNode, clearSelection) {
186
- this.adaptable.deSelectNode(rowNode, clearSelection);
187
+ this._adaptable.deSelectNode(rowNode, clearSelection);
187
188
  }
188
189
  deSelectNodes(rowNodes, clearSelection) {
189
- this.adaptable.deSelectNodes(rowNodes, clearSelection);
190
+ this._adaptable.deSelectNodes(rowNodes, clearSelection);
190
191
  }
191
192
  getSelectionStartEndNodes(gridCellRange) {
192
193
  let startNode;
193
194
  let endNode;
194
195
  startNode = gridCellRange.primaryKeyValueEnd
195
- ? this.adaptable.getRowNodeForPrimaryKey(gridCellRange.primaryKeyValueStart)
196
- : this.adaptable.getRowNodeByIndex(gridCellRange.rowIndexStart);
196
+ ? this._adaptable.getRowNodeForPrimaryKey(gridCellRange.primaryKeyValueStart)
197
+ : this._adaptable.getRowNodeByIndex(gridCellRange.rowIndexStart);
197
198
  if (gridCellRange.primaryKeyValueEnd) {
198
- endNode = this.adaptable.getRowNodeForPrimaryKey(gridCellRange.primaryKeyValueEnd);
199
+ endNode = this._adaptable.getRowNodeForPrimaryKey(gridCellRange.primaryKeyValueEnd);
199
200
  }
200
201
  else if (gridCellRange.rowIndexEnd) {
201
- endNode = this.adaptable.getRowNodeByIndex(gridCellRange.rowIndexEnd);
202
+ endNode = this._adaptable.getRowNodeByIndex(gridCellRange.rowIndexEnd);
202
203
  }
203
204
  else {
204
205
  endNode = startNode;
@@ -215,7 +216,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
215
216
  }
216
217
  const [startNode, endNode] = this.getSelectionStartEndNodes(gridCellRange);
217
218
  if (startNode && endNode) {
218
- this.adaptable.selectCells(gridCellRange.columnIds, startNode, endNode, clearSelection);
219
+ this._adaptable.selectCells(gridCellRange.columnIds, startNode, endNode, clearSelection);
219
220
  }
220
221
  }
221
222
  selectCellRangeByQuery(query, gridCellRange, clearSelection) {
@@ -226,13 +227,13 @@ class GridApiImpl extends ApiBase_1.ApiBase {
226
227
  if (gridCellRange) {
227
228
  const [startNode, endNode] = this.getSelectionStartEndNodes(gridCellRange);
228
229
  for (let rowIndex = startNode.rowIndex; rowIndex <= endNode.rowIndex; rowIndex++) {
229
- const rowNode = this.adaptable.getRowNodeByIndex(rowIndex);
230
+ const rowNode = this._adaptable.getRowNodeByIndex(rowIndex);
230
231
  isRowNodeInQuery(rowNode) && filteredRowNodes.push(rowNode);
231
232
  }
232
233
  }
233
234
  else {
234
235
  // include all row
235
- this.adaptable.forAllRowNodesDo((rowNode) => {
236
+ this._adaptable.forAllRowNodesDo((rowNode) => {
236
237
  isRowNodeInQuery(rowNode) && filteredRowNodes.push(rowNode);
237
238
  });
238
239
  }
@@ -272,7 +273,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
272
273
  let preparedClearSelection = clearSelection;
273
274
  rowRanges.forEach((range) => {
274
275
  // clear only on first range selection
275
- this.adaptable.selectCells(preapredGridCellRange.columnIds, range.startNode, range.endNode, preparedClearSelection);
276
+ this._adaptable.selectCells(preapredGridCellRange.columnIds, range.startNode, range.endNode, preparedClearSelection);
276
277
  preparedClearSelection = false;
277
278
  });
278
279
  }
@@ -283,106 +284,106 @@ class GridApiImpl extends ApiBase_1.ApiBase {
283
284
  this.getAdaptableApi().columnApi.selectColumns(columnIds);
284
285
  }
285
286
  getFirstRowNode() {
286
- return this.adaptable.getFirstRowNode();
287
+ return this._adaptable.getFirstRowNode();
287
288
  }
288
289
  getFirstDisplayedRowNode() {
289
- return this.adaptable.getFirstDisplayedRowNode();
290
+ return this._adaptable.getFirstDisplayedRowNode();
290
291
  }
291
292
  getVisibleRowNodes(config) {
292
293
  const rowNodes = [];
293
- this.adaptable.forAllVisibleRowNodesDo((rowNode) => rowNodes.push(rowNode), config);
294
+ this.getAdaptableInternalApi().forAllVisibleRowNodesDo((rowNode) => rowNodes.push(rowNode), config);
294
295
  return rowNodes;
295
296
  }
296
297
  getAllRowNodes(config) {
297
- return this.adaptable.getAllRowNodes(config);
298
+ return this._adaptable.getAllRowNodes(config);
298
299
  }
299
300
  getGroupRowNodes(config) {
300
- return this.adaptable.getGroupRowNodes(config);
301
+ return this._adaptable.getGroupRowNodes(config);
301
302
  }
302
303
  getGridCellFromRowNode(rowNode, columnId) {
303
- return this.adaptable.getGridCellFromRowNode(rowNode, columnId);
304
+ return this._adaptable.getGridCellFromRowNode(rowNode, columnId);
304
305
  }
305
306
  getRawValueFromRowNode(rowNode, columnId) {
306
- return this.adaptable.getRawValueFromRowNode(rowNode, columnId);
307
+ return this._adaptable.getRawValueFromRowNode(rowNode, columnId);
307
308
  }
308
309
  getDisplayValueFromRowNode(rowNode, columnId) {
309
- return this.adaptable.getDisplayValueFromRowNode(rowNode, columnId);
310
+ return this._adaptable.getDisplayValueFromRowNode(rowNode, columnId);
310
311
  }
311
312
  getDisplayValueFromRawValue(rowNode, columnId, rawValue) {
312
- return this.adaptable.getDisplayValueFromRawValue(rowNode, columnId, rawValue);
313
+ return this._adaptable.getDisplayValueFromRawValue(rowNode, columnId, rawValue);
313
314
  }
314
315
  getNormalisedValueFromRowNode(rowNode, columnId) {
315
- const rawValue = this.adaptable.getRawValueFromRowNode(rowNode, columnId);
316
+ const rawValue = this._adaptable.getRawValueFromRowNode(rowNode, columnId);
316
317
  const abColumn = this.getAdaptableApi().columnApi.getColumnWithColumnId(columnId);
317
- return this.adaptable.getNormalisedValueFromRawValue(rawValue, abColumn);
318
+ return this._adaptable.getNormalisedValueFromRawValue(rawValue, abColumn);
318
319
  }
319
320
  getRowNodesForPrimaryKeys(primaryKeyValues) {
320
- return this.adaptable.getRowNodesForPrimaryKeys(primaryKeyValues);
321
+ return this._adaptable.getRowNodesForPrimaryKeys(primaryKeyValues);
321
322
  }
322
323
  getRowNodeForPrimaryKey(primaryKeyValue) {
323
- return this.adaptable.getRowNodeForPrimaryKey(primaryKeyValue);
324
+ return this._adaptable.getRowNodeForPrimaryKey(primaryKeyValue);
324
325
  }
325
326
  getPrimaryKeyValueForRowNode(rowNode) {
326
- return this.adaptable.getPrimaryKeyValueFromRowNode(rowNode);
327
+ return this._adaptable.getPrimaryKeyValueFromRowNode(rowNode);
327
328
  }
328
329
  getRowNodeForIndex(index) {
329
- return this.adaptable.getRowNodeByIndex(index);
330
+ return this._adaptable.getRowNodeByIndex(index);
330
331
  }
331
332
  getPrimaryKeyValuesForRowNodes(rowNodes) {
332
333
  return rowNodes.map((rowNode) => this.getPrimaryKeyValueForRowNode(rowNode));
333
334
  }
334
335
  setRowGroupColumns(columnIds) {
335
- this.adaptable.setRowGroupColumns(columnIds);
336
+ this._adaptable.setRowGroupColumns(columnIds);
336
337
  }
337
338
  clearRowGroupColumns() {
338
- this.adaptable.clearRowGroupColumns();
339
+ this._adaptable.clearRowGroupColumns();
339
340
  }
340
341
  expandAllRowGroups() {
341
- this.adaptable.expandAllRowGroups();
342
+ this._adaptable.expandAllRowGroups();
342
343
  }
343
344
  collapseAllRowGroups() {
344
- this.adaptable.collapseAllRowGroups();
345
+ this._adaptable.collapseAllRowGroups();
345
346
  }
346
347
  getExpandRowGroupsKeys() {
347
- return this.adaptable.getExpandRowGroupsKeys();
348
+ return this._adaptable.getExpandRowGroupsKeys();
348
349
  }
349
350
  expandRowGroupsForValues(columnValues) {
350
- this.adaptable.expandRowGroupsForValues(columnValues);
351
+ this._adaptable.expandRowGroupsForValues(columnValues);
351
352
  }
352
353
  isGridPivotable() {
353
- return !this.getAdaptableApi().internalApi.isGridInTreeMode();
354
+ return !this.getAdaptableInternalApi().isGridInTreeMode();
354
355
  }
355
356
  isGridGroupable() {
356
- return !this.getAdaptableApi().internalApi.isGridInTreeMode();
357
+ return !this.getAdaptableInternalApi().isGridInTreeMode();
357
358
  }
358
359
  isGridRowSelectable() {
359
- return this.adaptable.isGridRowSelectable();
360
+ return this._adaptable.isGridRowSelectable();
360
361
  }
361
362
  isGridRangeSelectable() {
362
- return this.adaptable.isGridRangeSelectable();
363
+ return this._adaptable.isGridRangeSelectable();
363
364
  }
364
365
  isGridRowGrouped() {
365
- return this.adaptable.isGridGroupingActive();
366
+ return this._adaptable.isGridGroupingActive();
366
367
  }
367
368
  isGridInPivotMode() {
368
369
  return this.getLayoutApi().isCurrentLayoutPivot();
369
370
  }
370
371
  isGroupRowNode(rowNode) {
371
- return this.adaptable.isGroupRowNode(rowNode);
372
+ return this._adaptable.isGroupRowNode(rowNode);
372
373
  }
373
374
  isSummaryNode(rowNode) {
374
375
  var _a;
375
376
  return !!((_a = rowNode === null || rowNode === void 0 ? void 0 : rowNode.data) === null || _a === void 0 ? void 0 : _a[RowSummary_1.ROW_SUMMARY_ROW_ID]);
376
377
  }
377
378
  isQuickFilterAvailable() {
378
- return this.adaptable.isQuickFilterAvailable();
379
+ return this._adaptable.isQuickFilterAvailable();
379
380
  }
380
381
  redrawGrid() {
381
- this.adaptable.redrawBody();
382
- this.adaptable.refreshHeader();
382
+ this._adaptable.redrawBody();
383
+ this._adaptable.refreshHeader();
383
384
  }
384
385
  getGridCellsForRawValue(columnId, rawValue) {
385
- const gridCells = this.adaptable.getGridCellsForColumn(columnId);
386
+ const gridCells = this._adaptable.getGridCellsForColumn(columnId);
386
387
  if (!gridCells) {
387
388
  return undefined;
388
389
  }
@@ -399,7 +400,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
399
400
  return gridCells === null || gridCells === void 0 ? void 0 : gridCells.length;
400
401
  }
401
402
  getGridCellsForDisplayValue(columnId, displayValue) {
402
- const gridCells = this.adaptable.getGridCellsForColumn(columnId);
403
+ const gridCells = this._adaptable.getGridCellsForColumn(columnId);
403
404
  if (!gridCells) {
404
405
  return undefined;
405
406
  }
@@ -412,15 +413,15 @@ class GridApiImpl extends ApiBase_1.ApiBase {
412
413
  return returnGridCells;
413
414
  }
414
415
  jumpToRow(primaryKeyValue) {
415
- const node = this.adaptable.getRowNodeForPrimaryKey(primaryKeyValue);
416
- this.adaptable.jumpToRow(node);
416
+ const node = this._adaptable.getRowNodeForPrimaryKey(primaryKeyValue);
417
+ this._adaptable.jumpToRow(node);
417
418
  }
418
419
  jumpToColumn(columnId) {
419
- this.adaptable.jumpToColumn(columnId);
420
+ this._adaptable.jumpToColumn(columnId);
420
421
  }
421
422
  jumpToCell(primaryKeyValue, columnId) {
422
- const node = this.adaptable.getRowNodeForPrimaryKey(primaryKeyValue);
423
- this.adaptable.jumpToCell(columnId, node);
423
+ const node = this._adaptable.getRowNodeForPrimaryKey(primaryKeyValue);
424
+ this._adaptable.jumpToCell(columnId, node);
424
425
  }
425
426
  highlightCell(cellHighlightInfo) {
426
427
  this.dispatchAction((0, SystemRedux_1.SystemHighlightCellAdd)(cellHighlightInfo));
@@ -461,8 +462,11 @@ class GridApiImpl extends ApiBase_1.ApiBase {
461
462
  unHighlightAllRows() {
462
463
  this.dispatchAction((0, SystemRedux_1.SystemHighlightRowDeleteAll)());
463
464
  }
464
- refreshCells(rowNodes, columnIds) {
465
- this.adaptable.refreshCells(rowNodes, columnIds, true);
465
+ refreshCells(rowNodes, columnIds, suppressFlash = true) {
466
+ this._adaptable.refreshCells(rowNodes, columnIds, suppressFlash);
467
+ }
468
+ refreshAllCells(forceUpdate = false) {
469
+ this._adaptable.refreshAllCells(forceUpdate);
466
470
  }
467
471
  refreshGridCell(gridCell) {
468
472
  this.refreshCells([gridCell.rowNode], [gridCell.column.columnId]);
@@ -473,25 +477,25 @@ class GridApiImpl extends ApiBase_1.ApiBase {
473
477
  });
474
478
  }
475
479
  refreshColumn(columnId) {
476
- this.adaptable.refreshCells(null, [columnId], true);
480
+ this._adaptable.refreshCells(null, [columnId], true);
477
481
  }
478
482
  refreshColumns(columnIds) {
479
- this.adaptable.refreshCells(null, columnIds, true);
483
+ this._adaptable.refreshCells(null, columnIds, true);
480
484
  }
481
485
  refreshRowByPrimaryKey(primaryKey) {
482
486
  const rowNode = this.getRowNodeForPrimaryKey(primaryKey);
483
487
  this.refreshRowNode(rowNode);
484
488
  }
485
489
  refreshRowNode(rowNode) {
486
- this.adaptable.redrawRow(rowNode);
490
+ this._adaptable.redrawRow(rowNode);
487
491
  }
488
492
  refreshRowNodes(rowNodes) {
489
- this.adaptable.redrawRows(rowNodes);
493
+ this._adaptable.redrawRows(rowNodes);
490
494
  }
491
495
  refreshGroupRowNodes() {
492
496
  // see https://www.ag-grid.com/javascript-data-grid/client-side-row-stages/#refreshing-the-client-side-model
493
- this.getAdaptableApi().agGridApi.refreshClientSideRowModel('group');
494
- this.adaptable.updateRowGroupsExpandedState();
497
+ this.getAgGridApi().refreshClientSideRowModel('group');
498
+ this._adaptable.updateRowGroupsExpandedState();
495
499
  }
496
500
  isCellEditable(gridCell) {
497
501
  if (!gridCell) {
@@ -509,7 +513,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
509
513
  }
510
514
  const cellEditableFn = this.getEditOptions().isCellEditable;
511
515
  if (cellEditableFn) {
512
- const cellEditableContext = Object.assign({ gridCell }, this.getAdaptableApi().internalApi.buildBaseContext());
516
+ const cellEditableContext = Object.assign({ gridCell }, this.getAdaptableInternalApi().buildBaseContext());
513
517
  return cellEditableFn(cellEditableContext);
514
518
  }
515
519
  return true;
@@ -530,37 +534,38 @@ class GridApiImpl extends ApiBase_1.ApiBase {
530
534
  return true;
531
535
  }
532
536
  getRowCount() {
533
- return this.adaptable.getRowCount();
537
+ return this._adaptable.getRowCount();
534
538
  }
535
539
  getVisibleRowCount() {
536
- return this.adaptable.getVisibleRowCount();
540
+ return this._adaptable.getVisibleRowCount();
537
541
  }
538
542
  getRowsInViewport() {
539
- return this.adaptable.getRowsInViewport();
543
+ return this._adaptable.getRowsInViewport();
540
544
  }
541
545
  getColumnCount() {
542
- return this.adaptable.getColumnCount();
546
+ return this._adaptable.getColumnCount();
543
547
  }
544
548
  getVisibleColumnCount() {
545
- return this.adaptable.getVisibleColumnCount();
549
+ return this._adaptable.getVisibleColumnCount();
546
550
  }
547
551
  selectAll() {
548
- this.adaptable.selectAll();
552
+ this._adaptable.selectAll();
549
553
  }
550
554
  deselectAll() {
551
- this.adaptable.deselectAll();
555
+ this._adaptable.deselectAll();
552
556
  }
553
557
  destroy() {
554
- this.adaptable.destroy();
558
+ (0, logDeprecation_1.logDeprecationExternal)(this._adaptable.logger, 'GridApi', 'destroy', 'AdaptableApi', 'destroy');
559
+ this.getAdaptableApi().destroy();
555
560
  }
556
561
  getGridContainerElement() {
557
- return this.adaptable.getAgGridContainerElement();
562
+ return this._adaptable.getAgGridContainerElement();
558
563
  }
559
564
  openGridInfoSettingsPanel() {
560
565
  this.showModulePopup(ModuleConstants.GridInfoModuleId);
561
566
  }
562
567
  getAgGridRowModelType() {
563
- return this.adaptable.getAgGridRowModelType();
568
+ return this._adaptable.getAgGridRowModelType();
564
569
  }
565
570
  showTransposedView(transposeConfig = {}) {
566
571
  var _a, _b, _c, _d, _e;
@@ -569,7 +574,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
569
574
  const visibleColumns = (_c = transposeConfig.visibleColumns) !== null && _c !== void 0 ? _c : false;
570
575
  const visibleRows = (_d = transposeConfig.visibleRows) !== null && _d !== void 0 ? _d : false;
571
576
  const autosize = (_e = transposeConfig.autosize) !== null && _e !== void 0 ? _e : true;
572
- this.getAdaptableApi().internalApi.showPopupWindow({
577
+ this.getAdaptableInternalApi().showPopupWindow({
573
578
  id: windowFactory_1.WINDOW_SHOW_TRANSPOSED_VIEW,
574
579
  factoryId: windowFactory_1.WINDOW_SHOW_TRANSPOSED_VIEW,
575
580
  title: 'Transposed View',
@@ -584,7 +589,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
584
589
  });
585
590
  }
586
591
  getAllAgGridColumns() {
587
- return this.adaptable.getAllGridColumns();
592
+ return this._adaptable.getAllGridColumns();
588
593
  }
589
594
  updateAgGridColumnState(columnState) {
590
595
  const columnExists = this.getColumnApi().doesColumnExist(columnState.colId);
@@ -592,7 +597,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
592
597
  this.logWarn(`Column with id ${columnState.colId} does not exist, could NOT update configuration`);
593
598
  return;
594
599
  }
595
- const agGridApi = this.adaptable.agGridAdapter.getAgGridApi();
600
+ const agGridApi = this._adaptable.agGridAdapter.getAgGridApi();
596
601
  agGridApi.applyColumnState({
597
602
  state: [columnState],
598
603
  });
@@ -605,18 +610,18 @@ class GridApiImpl extends ApiBase_1.ApiBase {
605
610
  notExistingColumnIds.forEach((colId) => {
606
611
  this.logWarn(`Column with id ${colId} does not exist, could NOT update configuration`);
607
612
  });
608
- const agGridApi = this.adaptable.agGridAdapter.getAgGridApi();
613
+ const agGridApi = this._adaptable.agGridAdapter.getAgGridApi();
609
614
  agGridApi.applyColumnState({
610
615
  state: existingColumnStates,
611
616
  });
612
617
  }
613
618
  setAgGridColumnDefinitions(columnDefinitions) {
614
- const agGridApi = this.adaptable.agGridAdapter.getAgGridApi();
619
+ const agGridApi = this._adaptable.agGridAdapter.getAgGridApi();
615
620
  agGridApi.setGridOption('columnDefs', columnDefinitions);
616
- this.adaptable.updateColumnModelAndRefreshGrid({ skipColDefsRefresh: true });
621
+ this._adaptable.updateColumnModelAndRefreshGrid({ skipColDefsRefresh: true });
617
622
  }
618
623
  updateAgGridColumnDefinition(columnDefinitionToBeUpdated) {
619
- const currentColDefs = [...this.adaptable.agGridAdapter.getAgGridApi().getColumnDefs()];
624
+ const currentColDefs = [...this._adaptable.agGridAdapter.getAgGridApi().getColumnDefs()];
620
625
  const columnId = columnDefinitionToBeUpdated.colId;
621
626
  const doesColumnExist = this.getColumnApi().doesColumnExist(columnId);
622
627
  if (!doesColumnExist) {
@@ -625,20 +630,20 @@ class GridApiImpl extends ApiBase_1.ApiBase {
625
630
  this.setAgGridColumnDefinitions(newColDefs);
626
631
  return;
627
632
  }
628
- const updatedColDefs = this.adaptable.agGridAdapter.traverseColDefs(currentColDefs, (colDef) => {
633
+ const updatedColDefs = this._adaptable.agGridAdapter.traverseColDefs(currentColDefs, (colDef) => {
629
634
  return colDef.colId === columnId ? Object.assign(Object.assign({}, colDef), columnDefinitionToBeUpdated) : colDef;
630
635
  });
631
636
  this.setAgGridColumnDefinitions(updatedColDefs);
632
637
  }
633
638
  updateAgGridColumnDefinitions(columnDefinitionsToBeUpdated) {
634
- const currentColDefs = [...this.adaptable.agGridAdapter.getAgGridApi().getColumnDefs()];
635
- const updatedColDefs = this.adaptable.agGridAdapter.traverseColDefs(currentColDefs, (colDef) => {
639
+ const currentColDefs = [...this._adaptable.agGridAdapter.getAgGridApi().getColumnDefs()];
640
+ const updatedColDefs = this._adaptable.agGridAdapter.traverseColDefs(currentColDefs, (colDef) => {
636
641
  const newColDef = newColumnDefinitions.find((c) => c.colId === colDef.colId);
637
642
  return newColDef ? Object.assign(Object.assign({}, colDef), newColDef) : colDef;
638
643
  });
639
644
  // find out new columns which are not in the current column definitions
640
645
  const currentColIds = [];
641
- this.adaptable.agGridAdapter.traverseColDefs(currentColDefs, (colDef) => {
646
+ this._adaptable.agGridAdapter.traverseColDefs(currentColDefs, (colDef) => {
642
647
  currentColIds.push(colDef.colId);
643
648
  return colDef;
644
649
  });
@@ -654,8 +659,8 @@ class GridApiImpl extends ApiBase_1.ApiBase {
654
659
  this.logWarn(`Column with id ${columnId} does not exist!`);
655
660
  return;
656
661
  }
657
- const currentColDefs = this.adaptable.agGridAdapter.getAgGridApi().getColumnDefs();
658
- const updatedColDefs = this.adaptable.agGridAdapter
662
+ const currentColDefs = this._adaptable.agGridAdapter.getAgGridApi().getColumnDefs();
663
+ const updatedColDefs = this._adaptable.agGridAdapter
659
664
  .traverseColDefs(currentColDefs, (colDef) => {
660
665
  return colDef.colId === columnId ? null : colDef;
661
666
  })
@@ -663,9 +668,9 @@ class GridApiImpl extends ApiBase_1.ApiBase {
663
668
  this.setAgGridColumnDefinitions(updatedColDefs);
664
669
  }
665
670
  addAgGridColumnDefinition(newColumnDefinition) {
666
- const currentColDefs = this.adaptable.agGridAdapter.getAgGridApi().getColumnDefs();
671
+ const currentColDefs = this._adaptable.agGridAdapter.getAgGridApi().getColumnDefs();
667
672
  // just in case check of there is not already an existing column with the same id and eliminate it
668
- const sanitizedColDefs = this.adaptable.agGridAdapter
673
+ const sanitizedColDefs = this._adaptable.agGridAdapter
669
674
  .traverseColDefs(currentColDefs, (colDef) => {
670
675
  return colDef.colId === newColumnDefinition.colId ? null : colDef;
671
676
  })
@@ -5,7 +5,7 @@ import { ApiBase } from './ApiBase';
5
5
  import { GridFilter } from '../../types';
6
6
  export declare class GridFilterApiImpl extends ApiBase implements GridFilterApi {
7
7
  internalApi: GridFilterInternalApi;
8
- constructor(adaptable: IAdaptable);
8
+ constructor(_adaptable: IAdaptable);
9
9
  getCurrentGridFilter(): GridFilter | undefined;
10
10
  getCurrentGridFilterExpression(): string | undefined;
11
11
  setGridFilterExpression(filter: string): void;
@@ -8,9 +8,9 @@ const GridFilterInternalApi_1 = require("../Internal/GridFilterInternalApi");
8
8
  const ApiBase_1 = require("./ApiBase");
9
9
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
10
10
  class GridFilterApiImpl extends ApiBase_1.ApiBase {
11
- constructor(adaptable) {
12
- super(adaptable);
13
- this.internalApi = new GridFilterInternalApi_1.GridFilterInternalApi(adaptable);
11
+ constructor(_adaptable) {
12
+ super(_adaptable);
13
+ this.internalApi = new GridFilterInternalApi_1.GridFilterInternalApi(_adaptable);
14
14
  }
15
15
  getCurrentGridFilter() {
16
16
  var _a;
@@ -28,7 +28,7 @@ class GridFilterApiImpl extends ApiBase_1.ApiBase {
28
28
  }
29
29
  openUIEditorForGridFilter(expression) {
30
30
  const preparedQuery = expression !== null && expression !== void 0 ? expression : this.getCurrentGridFilterExpression();
31
- this.getAdaptableApi().internalApi.showPopupWindow({
31
+ this.getAdaptableInternalApi().showPopupWindow({
32
32
  id: windowFactory_1.WINDOW_GRID_FILTER_EDITOR,
33
33
  title: ModuleConstants.GridFilterFriendlyName,
34
34
  icon: 'filter-list',
@@ -9,7 +9,7 @@ import { LayoutInternalApi } from '../Internal/LayoutInternalApi';
9
9
  import { ExtendedLayoutInfo } from '../../PredefinedConfig/Common/ExtendedLayoutInfo';
10
10
  export declare class LayoutApiImpl extends ApiBase implements LayoutApi {
11
11
  internalApi: LayoutInternalApi;
12
- constructor(adaptable: IAdaptable);
12
+ constructor(_adaptable: IAdaptable);
13
13
  isCurrentLayoutPivot(): boolean;
14
14
  getLayoutState(): LayoutState;
15
15
  shouldAutoSaveLayouts: () => boolean;
@@ -14,13 +14,13 @@ const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants")
14
14
  const PopupRedux_1 = require("../../Redux/ActionsReducers/PopupRedux");
15
15
  const LayoutInternalApi_1 = require("../Internal/LayoutInternalApi");
16
16
  class LayoutApiImpl extends ApiBase_1.ApiBase {
17
- constructor(adaptable) {
18
- super(adaptable);
17
+ constructor(_adaptable) {
18
+ super(_adaptable);
19
19
  this.shouldAutoSaveLayouts = () => {
20
20
  var _a;
21
21
  return (_a = this.getLayoutOptions()) === null || _a === void 0 ? void 0 : _a.autoSaveLayouts;
22
22
  };
23
- this.internalApi = new LayoutInternalApi_1.LayoutInternalApi(adaptable);
23
+ this.internalApi = new LayoutInternalApi_1.LayoutInternalApi(_adaptable);
24
24
  }
25
25
  isCurrentLayoutPivot() {
26
26
  return this.getCurrentLayout().EnablePivot;
@@ -5,7 +5,7 @@ import { NamedQueryApi, NamedQueryValidationResult } from '../NamedQueryApi';
5
5
  import { ApiBase } from './ApiBase';
6
6
  export declare class NamedQueryApiImpl extends ApiBase implements NamedQueryApi {
7
7
  internalApi: NamedQueryInternalApi;
8
- constructor(adaptable: IAdaptable);
8
+ constructor(_adaptable: IAdaptable);
9
9
  addNamedQuery(namedQuery: NamedQuery): void;
10
10
  addNamedQueries(namedQueries: NamedQuery[]): void;
11
11
  getNamedQueryState(): NamedQueryState;
@@ -8,9 +8,9 @@ const NamedQueryInternalApi_1 = require("../Internal/NamedQueryInternalApi");
8
8
  const ApiBase_1 = require("./ApiBase");
9
9
  const NamedQueryRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/NamedQueryRedux"));
10
10
  class NamedQueryApiImpl extends ApiBase_1.ApiBase {
11
- constructor(adaptable) {
12
- super(adaptable);
13
- this.internalApi = new NamedQueryInternalApi_1.NamedQueryInternalApi(adaptable);
11
+ constructor(_adaptable) {
12
+ super(_adaptable);
13
+ this.internalApi = new NamedQueryInternalApi_1.NamedQueryInternalApi(_adaptable);
14
14
  }
15
15
  addNamedQuery(namedQuery) {
16
16
  this.dispatchAction(NamedQueryRedux.NamedQueryAdd(namedQuery));
@@ -6,7 +6,7 @@ import { NoteInternalApi } from '../Internal/NoteInternalApi';
6
6
  import { CellAddress } from '../../types';
7
7
  export declare class NoteApiImpl extends ApiBase implements NoteApi {
8
8
  internalApi: NoteInternalApi;
9
- constructor(adaptable: IAdaptable);
9
+ constructor(_adaptable: IAdaptable);
10
10
  addNote(noteStr: string, primaryKeyValue: any, columnId: string): void;
11
11
  editNote(note: AdaptableNote): void;
12
12
  updateNoteText(noteStr: string, note: AdaptableNote): void;