@adaptabletools/adaptable 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.esm.tsbuildinfo +1 -1
@@ -6,13 +6,14 @@ import { GridInternalApi } from '../Internal/GridInternalApi';
6
6
  import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
7
7
  import { WINDOW_SHOW_TRANSPOSED_VIEW } from '../../View/Components/Popups/WindowPopups/windowFactory';
8
8
  import { ROW_SUMMARY_ROW_ID } from '../../PredefinedConfig/Common/RowSummary';
9
+ import { logDeprecationExternal } from '../../Utilities/logDeprecation';
9
10
  export class GridApiImpl extends ApiBase {
10
- constructor(adaptable) {
11
- super(adaptable);
12
- this.internalApi = new GridInternalApi(adaptable);
11
+ constructor(_adaptable) {
12
+ super(_adaptable);
13
+ this.internalApi = new GridInternalApi(_adaptable);
13
14
  }
14
15
  getVariant() {
15
- return this.adaptable.variant;
16
+ return this.getAdaptableVariant();
16
17
  }
17
18
  getGridState() {
18
19
  return this.getAdaptableState().Grid;
@@ -22,20 +23,20 @@ export class GridApiImpl extends ApiBase {
22
23
  // to prevent `cellchanged` events from being triggered for rows that have
23
24
  // the same primary key with existing rows
24
25
  // see #testprevent_cellchanged_event_on_load_grid_data
25
- this.adaptable.agGridAdapter.setGridOption('rowData', []);
26
- this.adaptable.setGridData(dataSource);
26
+ this._adaptable.agGridAdapter.setGridOption('rowData', []);
27
+ this._adaptable.setGridData(dataSource);
27
28
  const allRowNodes = this.getAllRowNodes();
28
29
  this.internalApi.fireGridDataChangedEvent(dataSource, allRowNodes, 'Load');
29
30
  }
30
31
  getGridData() {
31
- return this.adaptable.getGridData();
32
+ return this._adaptable.getGridData();
32
33
  }
33
34
  getFilteredData() {
34
- return this.adaptable.getFilteredData();
35
+ return this._adaptable.getFilteredData();
35
36
  }
36
37
  getVisibleData() {
37
38
  const data = [];
38
- this.adaptable.forAllVisibleRowNodesDo((rowNode) => {
39
+ this.getAdaptableInternalApi().forAllVisibleRowNodesDo((rowNode) => {
39
40
  if (!this.isGroupRowNode(rowNode)) {
40
41
  data.push(rowNode.data);
41
42
  }
@@ -43,12 +44,12 @@ export class GridApiImpl extends ApiBase {
43
44
  return data;
44
45
  }
45
46
  async updateGridData(dataRows, dataUpdateConfig) {
46
- const rowNodes = await this.adaptable.updateRows(dataRows, dataUpdateConfig);
47
+ const rowNodes = await this._adaptable.updateRows(dataRows, dataUpdateConfig);
47
48
  this.internalApi.fireGridDataChangedEvent(dataRows, rowNodes, 'Update');
48
49
  return rowNodes;
49
50
  }
50
51
  async addOrUpdateGridData(dataRows, dataUpdateConfig) {
51
- const { added, updated } = await this.adaptable.addOrUpdateRows(dataRows, dataUpdateConfig);
52
+ const { added, updated } = await this._adaptable.addOrUpdateRows(dataRows, dataUpdateConfig);
52
53
  if (ArrayExtensions.IsNotNullOrEmpty(updated)) {
53
54
  this.internalApi.fireGridDataChangedEvent(dataRows, updated, 'Update');
54
55
  }
@@ -61,13 +62,13 @@ export class GridApiImpl extends ApiBase {
61
62
  };
62
63
  }
63
64
  async addGridData(dataRows, dataUpdateConfig) {
64
- const rowNodes = await this.adaptable.addRows(dataRows, dataUpdateConfig);
65
+ const rowNodes = await this._adaptable.addRows(dataRows, dataUpdateConfig);
65
66
  this.internalApi.fireGridDataChangedEvent(dataRows, rowNodes, 'Add');
66
67
  return rowNodes;
67
68
  }
68
69
  undoCellEdit(cellDataChangedInfo) {
69
70
  // for the reason of this hacky solution see the comments in DataService
70
- this.getAdaptableApi().internalApi.getDataService().logUndoChange(cellDataChangedInfo);
71
+ this.getAdaptableInternalApi().getDataService().logUndoChange(cellDataChangedInfo);
71
72
  const cellUpdateRequest = {
72
73
  columnId: cellDataChangedInfo.column.columnId,
73
74
  newValue: cellDataChangedInfo.oldValue,
@@ -79,7 +80,7 @@ export class GridApiImpl extends ApiBase {
79
80
  }
80
81
  async deleteGridData(dataRows, dataUpdateConfig) {
81
82
  if (this.checkArrayExists(dataRows)) {
82
- const rowNodes = await this.adaptable.deleteRows(dataRows, dataUpdateConfig);
83
+ const rowNodes = await this._adaptable.deleteRows(dataRows, dataUpdateConfig);
83
84
  this.internalApi.fireGridDataChangedEvent(dataRows, rowNodes, 'Delete');
84
85
  return rowNodes;
85
86
  }
@@ -97,7 +98,7 @@ export class GridApiImpl extends ApiBase {
97
98
  this.logWarn(`setCellValue() - rowNode not found for primaryKeyValue: ${cellUpdateRequest.primaryKeyValue}`);
98
99
  return;
99
100
  }
100
- this.adaptable.setDataValue(cellUpdateRequest.newValue, abColumn, cellUpdateRequest.primaryKeyValue, rowNode);
101
+ this._adaptable.setDataValue(cellUpdateRequest.newValue, abColumn, cellUpdateRequest.primaryKeyValue, rowNode);
101
102
  this.refreshCells([rowNode], [abColumn.columnId]);
102
103
  }
103
104
  setCellValues(cellUpdateRequests) {
@@ -122,10 +123,10 @@ export class GridApiImpl extends ApiBase {
122
123
  return rowNode ? this.getNormalisedValueFromRowNode(rowNode, columnId) : undefined;
123
124
  }
124
125
  hideFilterForm() {
125
- this.adaptable.hideColumnFilterForm();
126
+ this._adaptable.hideColumnFilterForm();
126
127
  }
127
128
  applyGridFiltering() {
128
- this.adaptable.applyColumnFiltering();
129
+ this._adaptable.applyColumnFiltering();
129
130
  }
130
131
  clearGridFiltering() {
131
132
  // slightly round the houses but we have to call ColumnFilterAPI as it does it properly
@@ -139,11 +140,11 @@ export class GridApiImpl extends ApiBase {
139
140
  return columnSorts === null || columnSorts === void 0 ? void 0 : columnSorts.find((cs) => cs.ColumnId == columnId);
140
141
  }
141
142
  setAdaptableSorting(columnSorts) {
142
- this.adaptable.setColumnSort(columnSorts);
143
+ this._adaptable.setColumnSort(columnSorts);
143
144
  this.setColumnSorts(columnSorts);
144
145
  }
145
146
  clearAdaptableSorting() {
146
- this.adaptable.clearColumnSort();
147
+ this._adaptable.clearColumnSort();
147
148
  this.clearColumnSorts();
148
149
  }
149
150
  setColumnSorts(columnSorts) {
@@ -163,13 +164,13 @@ export class GridApiImpl extends ApiBase {
163
164
  this.selectNodes(nodes, clearSelection);
164
165
  }
165
166
  selectNode(rowNode, clearSelection) {
166
- this.adaptable.selectNode(rowNode, clearSelection);
167
+ this._adaptable.selectNode(rowNode, clearSelection);
167
168
  }
168
169
  selectNodes(rowNodes, clearSelection) {
169
- this.adaptable.selectNodes(rowNodes, clearSelection);
170
+ this._adaptable.selectNodes(rowNodes, clearSelection);
170
171
  }
171
172
  deSelectRow(primaryKeyValue, clearSelection) {
172
- this.adaptable.deSelectNode(this.getRowNodeForPrimaryKey(primaryKeyValue), clearSelection);
173
+ this._adaptable.deSelectNode(this.getRowNodeForPrimaryKey(primaryKeyValue), clearSelection);
173
174
  }
174
175
  deSelectRows(primaryKeyValues, clearSelection) {
175
176
  let nodes = [];
@@ -179,22 +180,22 @@ export class GridApiImpl extends ApiBase {
179
180
  this.deSelectNodes(nodes, clearSelection);
180
181
  }
181
182
  deSelectNode(rowNode, clearSelection) {
182
- this.adaptable.deSelectNode(rowNode, clearSelection);
183
+ this._adaptable.deSelectNode(rowNode, clearSelection);
183
184
  }
184
185
  deSelectNodes(rowNodes, clearSelection) {
185
- this.adaptable.deSelectNodes(rowNodes, clearSelection);
186
+ this._adaptable.deSelectNodes(rowNodes, clearSelection);
186
187
  }
187
188
  getSelectionStartEndNodes(gridCellRange) {
188
189
  let startNode;
189
190
  let endNode;
190
191
  startNode = gridCellRange.primaryKeyValueEnd
191
- ? this.adaptable.getRowNodeForPrimaryKey(gridCellRange.primaryKeyValueStart)
192
- : this.adaptable.getRowNodeByIndex(gridCellRange.rowIndexStart);
192
+ ? this._adaptable.getRowNodeForPrimaryKey(gridCellRange.primaryKeyValueStart)
193
+ : this._adaptable.getRowNodeByIndex(gridCellRange.rowIndexStart);
193
194
  if (gridCellRange.primaryKeyValueEnd) {
194
- endNode = this.adaptable.getRowNodeForPrimaryKey(gridCellRange.primaryKeyValueEnd);
195
+ endNode = this._adaptable.getRowNodeForPrimaryKey(gridCellRange.primaryKeyValueEnd);
195
196
  }
196
197
  else if (gridCellRange.rowIndexEnd) {
197
- endNode = this.adaptable.getRowNodeByIndex(gridCellRange.rowIndexEnd);
198
+ endNode = this._adaptable.getRowNodeByIndex(gridCellRange.rowIndexEnd);
198
199
  }
199
200
  else {
200
201
  endNode = startNode;
@@ -211,7 +212,7 @@ export class GridApiImpl extends ApiBase {
211
212
  }
212
213
  const [startNode, endNode] = this.getSelectionStartEndNodes(gridCellRange);
213
214
  if (startNode && endNode) {
214
- this.adaptable.selectCells(gridCellRange.columnIds, startNode, endNode, clearSelection);
215
+ this._adaptable.selectCells(gridCellRange.columnIds, startNode, endNode, clearSelection);
215
216
  }
216
217
  }
217
218
  selectCellRangeByQuery(query, gridCellRange, clearSelection) {
@@ -222,13 +223,13 @@ export class GridApiImpl extends ApiBase {
222
223
  if (gridCellRange) {
223
224
  const [startNode, endNode] = this.getSelectionStartEndNodes(gridCellRange);
224
225
  for (let rowIndex = startNode.rowIndex; rowIndex <= endNode.rowIndex; rowIndex++) {
225
- const rowNode = this.adaptable.getRowNodeByIndex(rowIndex);
226
+ const rowNode = this._adaptable.getRowNodeByIndex(rowIndex);
226
227
  isRowNodeInQuery(rowNode) && filteredRowNodes.push(rowNode);
227
228
  }
228
229
  }
229
230
  else {
230
231
  // include all row
231
- this.adaptable.forAllRowNodesDo((rowNode) => {
232
+ this._adaptable.forAllRowNodesDo((rowNode) => {
232
233
  isRowNodeInQuery(rowNode) && filteredRowNodes.push(rowNode);
233
234
  });
234
235
  }
@@ -268,7 +269,7 @@ export class GridApiImpl extends ApiBase {
268
269
  let preparedClearSelection = clearSelection;
269
270
  rowRanges.forEach((range) => {
270
271
  // clear only on first range selection
271
- this.adaptable.selectCells(preapredGridCellRange.columnIds, range.startNode, range.endNode, preparedClearSelection);
272
+ this._adaptable.selectCells(preapredGridCellRange.columnIds, range.startNode, range.endNode, preparedClearSelection);
272
273
  preparedClearSelection = false;
273
274
  });
274
275
  }
@@ -279,106 +280,106 @@ export class GridApiImpl extends ApiBase {
279
280
  this.getAdaptableApi().columnApi.selectColumns(columnIds);
280
281
  }
281
282
  getFirstRowNode() {
282
- return this.adaptable.getFirstRowNode();
283
+ return this._adaptable.getFirstRowNode();
283
284
  }
284
285
  getFirstDisplayedRowNode() {
285
- return this.adaptable.getFirstDisplayedRowNode();
286
+ return this._adaptable.getFirstDisplayedRowNode();
286
287
  }
287
288
  getVisibleRowNodes(config) {
288
289
  const rowNodes = [];
289
- this.adaptable.forAllVisibleRowNodesDo((rowNode) => rowNodes.push(rowNode), config);
290
+ this.getAdaptableInternalApi().forAllVisibleRowNodesDo((rowNode) => rowNodes.push(rowNode), config);
290
291
  return rowNodes;
291
292
  }
292
293
  getAllRowNodes(config) {
293
- return this.adaptable.getAllRowNodes(config);
294
+ return this._adaptable.getAllRowNodes(config);
294
295
  }
295
296
  getGroupRowNodes(config) {
296
- return this.adaptable.getGroupRowNodes(config);
297
+ return this._adaptable.getGroupRowNodes(config);
297
298
  }
298
299
  getGridCellFromRowNode(rowNode, columnId) {
299
- return this.adaptable.getGridCellFromRowNode(rowNode, columnId);
300
+ return this._adaptable.getGridCellFromRowNode(rowNode, columnId);
300
301
  }
301
302
  getRawValueFromRowNode(rowNode, columnId) {
302
- return this.adaptable.getRawValueFromRowNode(rowNode, columnId);
303
+ return this._adaptable.getRawValueFromRowNode(rowNode, columnId);
303
304
  }
304
305
  getDisplayValueFromRowNode(rowNode, columnId) {
305
- return this.adaptable.getDisplayValueFromRowNode(rowNode, columnId);
306
+ return this._adaptable.getDisplayValueFromRowNode(rowNode, columnId);
306
307
  }
307
308
  getDisplayValueFromRawValue(rowNode, columnId, rawValue) {
308
- return this.adaptable.getDisplayValueFromRawValue(rowNode, columnId, rawValue);
309
+ return this._adaptable.getDisplayValueFromRawValue(rowNode, columnId, rawValue);
309
310
  }
310
311
  getNormalisedValueFromRowNode(rowNode, columnId) {
311
- const rawValue = this.adaptable.getRawValueFromRowNode(rowNode, columnId);
312
+ const rawValue = this._adaptable.getRawValueFromRowNode(rowNode, columnId);
312
313
  const abColumn = this.getAdaptableApi().columnApi.getColumnWithColumnId(columnId);
313
- return this.adaptable.getNormalisedValueFromRawValue(rawValue, abColumn);
314
+ return this._adaptable.getNormalisedValueFromRawValue(rawValue, abColumn);
314
315
  }
315
316
  getRowNodesForPrimaryKeys(primaryKeyValues) {
316
- return this.adaptable.getRowNodesForPrimaryKeys(primaryKeyValues);
317
+ return this._adaptable.getRowNodesForPrimaryKeys(primaryKeyValues);
317
318
  }
318
319
  getRowNodeForPrimaryKey(primaryKeyValue) {
319
- return this.adaptable.getRowNodeForPrimaryKey(primaryKeyValue);
320
+ return this._adaptable.getRowNodeForPrimaryKey(primaryKeyValue);
320
321
  }
321
322
  getPrimaryKeyValueForRowNode(rowNode) {
322
- return this.adaptable.getPrimaryKeyValueFromRowNode(rowNode);
323
+ return this._adaptable.getPrimaryKeyValueFromRowNode(rowNode);
323
324
  }
324
325
  getRowNodeForIndex(index) {
325
- return this.adaptable.getRowNodeByIndex(index);
326
+ return this._adaptable.getRowNodeByIndex(index);
326
327
  }
327
328
  getPrimaryKeyValuesForRowNodes(rowNodes) {
328
329
  return rowNodes.map((rowNode) => this.getPrimaryKeyValueForRowNode(rowNode));
329
330
  }
330
331
  setRowGroupColumns(columnIds) {
331
- this.adaptable.setRowGroupColumns(columnIds);
332
+ this._adaptable.setRowGroupColumns(columnIds);
332
333
  }
333
334
  clearRowGroupColumns() {
334
- this.adaptable.clearRowGroupColumns();
335
+ this._adaptable.clearRowGroupColumns();
335
336
  }
336
337
  expandAllRowGroups() {
337
- this.adaptable.expandAllRowGroups();
338
+ this._adaptable.expandAllRowGroups();
338
339
  }
339
340
  collapseAllRowGroups() {
340
- this.adaptable.collapseAllRowGroups();
341
+ this._adaptable.collapseAllRowGroups();
341
342
  }
342
343
  getExpandRowGroupsKeys() {
343
- return this.adaptable.getExpandRowGroupsKeys();
344
+ return this._adaptable.getExpandRowGroupsKeys();
344
345
  }
345
346
  expandRowGroupsForValues(columnValues) {
346
- this.adaptable.expandRowGroupsForValues(columnValues);
347
+ this._adaptable.expandRowGroupsForValues(columnValues);
347
348
  }
348
349
  isGridPivotable() {
349
- return !this.getAdaptableApi().internalApi.isGridInTreeMode();
350
+ return !this.getAdaptableInternalApi().isGridInTreeMode();
350
351
  }
351
352
  isGridGroupable() {
352
- return !this.getAdaptableApi().internalApi.isGridInTreeMode();
353
+ return !this.getAdaptableInternalApi().isGridInTreeMode();
353
354
  }
354
355
  isGridRowSelectable() {
355
- return this.adaptable.isGridRowSelectable();
356
+ return this._adaptable.isGridRowSelectable();
356
357
  }
357
358
  isGridRangeSelectable() {
358
- return this.adaptable.isGridRangeSelectable();
359
+ return this._adaptable.isGridRangeSelectable();
359
360
  }
360
361
  isGridRowGrouped() {
361
- return this.adaptable.isGridGroupingActive();
362
+ return this._adaptable.isGridGroupingActive();
362
363
  }
363
364
  isGridInPivotMode() {
364
365
  return this.getLayoutApi().isCurrentLayoutPivot();
365
366
  }
366
367
  isGroupRowNode(rowNode) {
367
- return this.adaptable.isGroupRowNode(rowNode);
368
+ return this._adaptable.isGroupRowNode(rowNode);
368
369
  }
369
370
  isSummaryNode(rowNode) {
370
371
  var _a;
371
372
  return !!((_a = rowNode === null || rowNode === void 0 ? void 0 : rowNode.data) === null || _a === void 0 ? void 0 : _a[ROW_SUMMARY_ROW_ID]);
372
373
  }
373
374
  isQuickFilterAvailable() {
374
- return this.adaptable.isQuickFilterAvailable();
375
+ return this._adaptable.isQuickFilterAvailable();
375
376
  }
376
377
  redrawGrid() {
377
- this.adaptable.redrawBody();
378
- this.adaptable.refreshHeader();
378
+ this._adaptable.redrawBody();
379
+ this._adaptable.refreshHeader();
379
380
  }
380
381
  getGridCellsForRawValue(columnId, rawValue) {
381
- const gridCells = this.adaptable.getGridCellsForColumn(columnId);
382
+ const gridCells = this._adaptable.getGridCellsForColumn(columnId);
382
383
  if (!gridCells) {
383
384
  return undefined;
384
385
  }
@@ -395,7 +396,7 @@ export class GridApiImpl extends ApiBase {
395
396
  return gridCells === null || gridCells === void 0 ? void 0 : gridCells.length;
396
397
  }
397
398
  getGridCellsForDisplayValue(columnId, displayValue) {
398
- const gridCells = this.adaptable.getGridCellsForColumn(columnId);
399
+ const gridCells = this._adaptable.getGridCellsForColumn(columnId);
399
400
  if (!gridCells) {
400
401
  return undefined;
401
402
  }
@@ -408,15 +409,15 @@ export class GridApiImpl extends ApiBase {
408
409
  return returnGridCells;
409
410
  }
410
411
  jumpToRow(primaryKeyValue) {
411
- const node = this.adaptable.getRowNodeForPrimaryKey(primaryKeyValue);
412
- this.adaptable.jumpToRow(node);
412
+ const node = this._adaptable.getRowNodeForPrimaryKey(primaryKeyValue);
413
+ this._adaptable.jumpToRow(node);
413
414
  }
414
415
  jumpToColumn(columnId) {
415
- this.adaptable.jumpToColumn(columnId);
416
+ this._adaptable.jumpToColumn(columnId);
416
417
  }
417
418
  jumpToCell(primaryKeyValue, columnId) {
418
- const node = this.adaptable.getRowNodeForPrimaryKey(primaryKeyValue);
419
- this.adaptable.jumpToCell(columnId, node);
419
+ const node = this._adaptable.getRowNodeForPrimaryKey(primaryKeyValue);
420
+ this._adaptable.jumpToCell(columnId, node);
420
421
  }
421
422
  highlightCell(cellHighlightInfo) {
422
423
  this.dispatchAction(SystemHighlightCellAdd(cellHighlightInfo));
@@ -457,8 +458,11 @@ export class GridApiImpl extends ApiBase {
457
458
  unHighlightAllRows() {
458
459
  this.dispatchAction(SystemHighlightRowDeleteAll());
459
460
  }
460
- refreshCells(rowNodes, columnIds) {
461
- this.adaptable.refreshCells(rowNodes, columnIds, true);
461
+ refreshCells(rowNodes, columnIds, suppressFlash = true) {
462
+ this._adaptable.refreshCells(rowNodes, columnIds, suppressFlash);
463
+ }
464
+ refreshAllCells(forceUpdate = false) {
465
+ this._adaptable.refreshAllCells(forceUpdate);
462
466
  }
463
467
  refreshGridCell(gridCell) {
464
468
  this.refreshCells([gridCell.rowNode], [gridCell.column.columnId]);
@@ -469,25 +473,25 @@ export class GridApiImpl extends ApiBase {
469
473
  });
470
474
  }
471
475
  refreshColumn(columnId) {
472
- this.adaptable.refreshCells(null, [columnId], true);
476
+ this._adaptable.refreshCells(null, [columnId], true);
473
477
  }
474
478
  refreshColumns(columnIds) {
475
- this.adaptable.refreshCells(null, columnIds, true);
479
+ this._adaptable.refreshCells(null, columnIds, true);
476
480
  }
477
481
  refreshRowByPrimaryKey(primaryKey) {
478
482
  const rowNode = this.getRowNodeForPrimaryKey(primaryKey);
479
483
  this.refreshRowNode(rowNode);
480
484
  }
481
485
  refreshRowNode(rowNode) {
482
- this.adaptable.redrawRow(rowNode);
486
+ this._adaptable.redrawRow(rowNode);
483
487
  }
484
488
  refreshRowNodes(rowNodes) {
485
- this.adaptable.redrawRows(rowNodes);
489
+ this._adaptable.redrawRows(rowNodes);
486
490
  }
487
491
  refreshGroupRowNodes() {
488
492
  // see https://www.ag-grid.com/javascript-data-grid/client-side-row-stages/#refreshing-the-client-side-model
489
- this.getAdaptableApi().agGridApi.refreshClientSideRowModel('group');
490
- this.adaptable.updateRowGroupsExpandedState();
493
+ this.getAgGridApi().refreshClientSideRowModel('group');
494
+ this._adaptable.updateRowGroupsExpandedState();
491
495
  }
492
496
  isCellEditable(gridCell) {
493
497
  if (!gridCell) {
@@ -505,7 +509,7 @@ export class GridApiImpl extends ApiBase {
505
509
  }
506
510
  const cellEditableFn = this.getEditOptions().isCellEditable;
507
511
  if (cellEditableFn) {
508
- const cellEditableContext = Object.assign({ gridCell }, this.getAdaptableApi().internalApi.buildBaseContext());
512
+ const cellEditableContext = Object.assign({ gridCell }, this.getAdaptableInternalApi().buildBaseContext());
509
513
  return cellEditableFn(cellEditableContext);
510
514
  }
511
515
  return true;
@@ -526,37 +530,38 @@ export class GridApiImpl extends ApiBase {
526
530
  return true;
527
531
  }
528
532
  getRowCount() {
529
- return this.adaptable.getRowCount();
533
+ return this._adaptable.getRowCount();
530
534
  }
531
535
  getVisibleRowCount() {
532
- return this.adaptable.getVisibleRowCount();
536
+ return this._adaptable.getVisibleRowCount();
533
537
  }
534
538
  getRowsInViewport() {
535
- return this.adaptable.getRowsInViewport();
539
+ return this._adaptable.getRowsInViewport();
536
540
  }
537
541
  getColumnCount() {
538
- return this.adaptable.getColumnCount();
542
+ return this._adaptable.getColumnCount();
539
543
  }
540
544
  getVisibleColumnCount() {
541
- return this.adaptable.getVisibleColumnCount();
545
+ return this._adaptable.getVisibleColumnCount();
542
546
  }
543
547
  selectAll() {
544
- this.adaptable.selectAll();
548
+ this._adaptable.selectAll();
545
549
  }
546
550
  deselectAll() {
547
- this.adaptable.deselectAll();
551
+ this._adaptable.deselectAll();
548
552
  }
549
553
  destroy() {
550
- this.adaptable.destroy();
554
+ logDeprecationExternal(this._adaptable.logger, 'GridApi', 'destroy', 'AdaptableApi', 'destroy');
555
+ this.getAdaptableApi().destroy();
551
556
  }
552
557
  getGridContainerElement() {
553
- return this.adaptable.getAgGridContainerElement();
558
+ return this._adaptable.getAgGridContainerElement();
554
559
  }
555
560
  openGridInfoSettingsPanel() {
556
561
  this.showModulePopup(ModuleConstants.GridInfoModuleId);
557
562
  }
558
563
  getAgGridRowModelType() {
559
- return this.adaptable.getAgGridRowModelType();
564
+ return this._adaptable.getAgGridRowModelType();
560
565
  }
561
566
  showTransposedView(transposeConfig = {}) {
562
567
  var _a, _b, _c, _d, _e;
@@ -565,7 +570,7 @@ export class GridApiImpl extends ApiBase {
565
570
  const visibleColumns = (_c = transposeConfig.visibleColumns) !== null && _c !== void 0 ? _c : false;
566
571
  const visibleRows = (_d = transposeConfig.visibleRows) !== null && _d !== void 0 ? _d : false;
567
572
  const autosize = (_e = transposeConfig.autosize) !== null && _e !== void 0 ? _e : true;
568
- this.getAdaptableApi().internalApi.showPopupWindow({
573
+ this.getAdaptableInternalApi().showPopupWindow({
569
574
  id: WINDOW_SHOW_TRANSPOSED_VIEW,
570
575
  factoryId: WINDOW_SHOW_TRANSPOSED_VIEW,
571
576
  title: 'Transposed View',
@@ -580,7 +585,7 @@ export class GridApiImpl extends ApiBase {
580
585
  });
581
586
  }
582
587
  getAllAgGridColumns() {
583
- return this.adaptable.getAllGridColumns();
588
+ return this._adaptable.getAllGridColumns();
584
589
  }
585
590
  updateAgGridColumnState(columnState) {
586
591
  const columnExists = this.getColumnApi().doesColumnExist(columnState.colId);
@@ -588,7 +593,7 @@ export class GridApiImpl extends ApiBase {
588
593
  this.logWarn(`Column with id ${columnState.colId} does not exist, could NOT update configuration`);
589
594
  return;
590
595
  }
591
- const agGridApi = this.adaptable.agGridAdapter.getAgGridApi();
596
+ const agGridApi = this._adaptable.agGridAdapter.getAgGridApi();
592
597
  agGridApi.applyColumnState({
593
598
  state: [columnState],
594
599
  });
@@ -601,18 +606,18 @@ export class GridApiImpl extends ApiBase {
601
606
  notExistingColumnIds.forEach((colId) => {
602
607
  this.logWarn(`Column with id ${colId} does not exist, could NOT update configuration`);
603
608
  });
604
- const agGridApi = this.adaptable.agGridAdapter.getAgGridApi();
609
+ const agGridApi = this._adaptable.agGridAdapter.getAgGridApi();
605
610
  agGridApi.applyColumnState({
606
611
  state: existingColumnStates,
607
612
  });
608
613
  }
609
614
  setAgGridColumnDefinitions(columnDefinitions) {
610
- const agGridApi = this.adaptable.agGridAdapter.getAgGridApi();
615
+ const agGridApi = this._adaptable.agGridAdapter.getAgGridApi();
611
616
  agGridApi.setGridOption('columnDefs', columnDefinitions);
612
- this.adaptable.updateColumnModelAndRefreshGrid({ skipColDefsRefresh: true });
617
+ this._adaptable.updateColumnModelAndRefreshGrid({ skipColDefsRefresh: true });
613
618
  }
614
619
  updateAgGridColumnDefinition(columnDefinitionToBeUpdated) {
615
- const currentColDefs = [...this.adaptable.agGridAdapter.getAgGridApi().getColumnDefs()];
620
+ const currentColDefs = [...this._adaptable.agGridAdapter.getAgGridApi().getColumnDefs()];
616
621
  const columnId = columnDefinitionToBeUpdated.colId;
617
622
  const doesColumnExist = this.getColumnApi().doesColumnExist(columnId);
618
623
  if (!doesColumnExist) {
@@ -621,20 +626,20 @@ export class GridApiImpl extends ApiBase {
621
626
  this.setAgGridColumnDefinitions(newColDefs);
622
627
  return;
623
628
  }
624
- const updatedColDefs = this.adaptable.agGridAdapter.traverseColDefs(currentColDefs, (colDef) => {
629
+ const updatedColDefs = this._adaptable.agGridAdapter.traverseColDefs(currentColDefs, (colDef) => {
625
630
  return colDef.colId === columnId ? Object.assign(Object.assign({}, colDef), columnDefinitionToBeUpdated) : colDef;
626
631
  });
627
632
  this.setAgGridColumnDefinitions(updatedColDefs);
628
633
  }
629
634
  updateAgGridColumnDefinitions(columnDefinitionsToBeUpdated) {
630
- const currentColDefs = [...this.adaptable.agGridAdapter.getAgGridApi().getColumnDefs()];
631
- const updatedColDefs = this.adaptable.agGridAdapter.traverseColDefs(currentColDefs, (colDef) => {
635
+ const currentColDefs = [...this._adaptable.agGridAdapter.getAgGridApi().getColumnDefs()];
636
+ const updatedColDefs = this._adaptable.agGridAdapter.traverseColDefs(currentColDefs, (colDef) => {
632
637
  const newColDef = newColumnDefinitions.find((c) => c.colId === colDef.colId);
633
638
  return newColDef ? Object.assign(Object.assign({}, colDef), newColDef) : colDef;
634
639
  });
635
640
  // find out new columns which are not in the current column definitions
636
641
  const currentColIds = [];
637
- this.adaptable.agGridAdapter.traverseColDefs(currentColDefs, (colDef) => {
642
+ this._adaptable.agGridAdapter.traverseColDefs(currentColDefs, (colDef) => {
638
643
  currentColIds.push(colDef.colId);
639
644
  return colDef;
640
645
  });
@@ -650,8 +655,8 @@ export class GridApiImpl extends ApiBase {
650
655
  this.logWarn(`Column with id ${columnId} does not exist!`);
651
656
  return;
652
657
  }
653
- const currentColDefs = this.adaptable.agGridAdapter.getAgGridApi().getColumnDefs();
654
- const updatedColDefs = this.adaptable.agGridAdapter
658
+ const currentColDefs = this._adaptable.agGridAdapter.getAgGridApi().getColumnDefs();
659
+ const updatedColDefs = this._adaptable.agGridAdapter
655
660
  .traverseColDefs(currentColDefs, (colDef) => {
656
661
  return colDef.colId === columnId ? null : colDef;
657
662
  })
@@ -659,9 +664,9 @@ export class GridApiImpl extends ApiBase {
659
664
  this.setAgGridColumnDefinitions(updatedColDefs);
660
665
  }
661
666
  addAgGridColumnDefinition(newColumnDefinition) {
662
- const currentColDefs = this.adaptable.agGridAdapter.getAgGridApi().getColumnDefs();
667
+ const currentColDefs = this._adaptable.agGridAdapter.getAgGridApi().getColumnDefs();
663
668
  // just in case check of there is not already an existing column with the same id and eliminate it
664
- const sanitizedColDefs = this.adaptable.agGridAdapter
669
+ const sanitizedColDefs = this._adaptable.agGridAdapter
665
670
  .traverseColDefs(currentColDefs, (colDef) => {
666
671
  return colDef.colId === newColumnDefinition.colId ? null : colDef;
667
672
  })
@@ -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;
@@ -4,9 +4,9 @@ import { GridFilterInternalApi } from '../Internal/GridFilterInternalApi';
4
4
  import { ApiBase } from './ApiBase';
5
5
  import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
6
6
  export class GridFilterApiImpl extends ApiBase {
7
- constructor(adaptable) {
8
- super(adaptable);
9
- this.internalApi = new GridFilterInternalApi(adaptable);
7
+ constructor(_adaptable) {
8
+ super(_adaptable);
9
+ this.internalApi = new GridFilterInternalApi(_adaptable);
10
10
  }
11
11
  getCurrentGridFilter() {
12
12
  var _a;
@@ -24,7 +24,7 @@ export class GridFilterApiImpl extends ApiBase {
24
24
  }
25
25
  openUIEditorForGridFilter(expression) {
26
26
  const preparedQuery = expression !== null && expression !== void 0 ? expression : this.getCurrentGridFilterExpression();
27
- this.getAdaptableApi().internalApi.showPopupWindow({
27
+ this.getAdaptableInternalApi().showPopupWindow({
28
28
  id: WINDOW_GRID_FILTER_EDITOR,
29
29
  title: ModuleConstants.GridFilterFriendlyName,
30
30
  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;
@@ -10,13 +10,13 @@ import { DEFAULT_LAYOUT } from '../../Utilities/Constants/GeneralConstants';
10
10
  import { PopupShowPrompt } from '../../Redux/ActionsReducers/PopupRedux';
11
11
  import { LayoutInternalApi } from '../Internal/LayoutInternalApi';
12
12
  export class LayoutApiImpl extends ApiBase {
13
- constructor(adaptable) {
14
- super(adaptable);
13
+ constructor(_adaptable) {
14
+ super(_adaptable);
15
15
  this.shouldAutoSaveLayouts = () => {
16
16
  var _a;
17
17
  return (_a = this.getLayoutOptions()) === null || _a === void 0 ? void 0 : _a.autoSaveLayouts;
18
18
  };
19
- this.internalApi = new LayoutInternalApi(adaptable);
19
+ this.internalApi = new LayoutInternalApi(_adaptable);
20
20
  }
21
21
  isCurrentLayoutPivot() {
22
22
  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;
@@ -4,9 +4,9 @@ import { NamedQueryInternalApi } from '../Internal/NamedQueryInternalApi';
4
4
  import { ApiBase } from './ApiBase';
5
5
  import * as NamedQueryRedux from '../../Redux/ActionsReducers/NamedQueryRedux';
6
6
  export class NamedQueryApiImpl extends ApiBase {
7
- constructor(adaptable) {
8
- super(adaptable);
9
- this.internalApi = new NamedQueryInternalApi(adaptable);
7
+ constructor(_adaptable) {
8
+ super(_adaptable);
9
+ this.internalApi = new NamedQueryInternalApi(_adaptable);
10
10
  }
11
11
  addNamedQuery(namedQuery) {
12
12
  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;