@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,9 +10,9 @@ const ObjectFactory_1 = tslib_1.__importDefault(require("../../Utilities/ObjectF
10
10
  const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
11
11
  const ExportInternalApi_1 = require("../Internal/ExportInternalApi");
12
12
  class ExportApiImpl extends ApiBase_1.ApiBase {
13
- constructor(adaptable) {
14
- super(adaptable);
15
- this.internalApi = new ExportInternalApi_1.ExportInternalApi(adaptable);
13
+ constructor(_adaptable) {
14
+ super(_adaptable);
15
+ this.internalApi = new ExportInternalApi_1.ExportInternalApi(_adaptable);
16
16
  }
17
17
  getExportState() {
18
18
  return this.getAdaptableState().Export;
@@ -101,10 +101,10 @@ class ExportApiImpl extends ApiBase_1.ApiBase {
101
101
  return (_a = this.getCustomDestinations().find((destination) => destination.name === destinationName)) === null || _a === void 0 ? void 0 : _a.form;
102
102
  }
103
103
  canExportToExcel() {
104
- return this.adaptable.canExportToExcel();
104
+ return this._adaptable.canExportToExcel();
105
105
  }
106
106
  exportDataToExcel(reportData, fileName) {
107
- this.adaptable.exportToExcel(reportData, fileName);
107
+ this._adaptable.exportToExcel(reportData, fileName);
108
108
  }
109
109
  openExportSettingsPanel() {
110
110
  this.showModulePopup(ModuleConstants.ExportModuleId);
@@ -120,7 +120,7 @@ class ExportApiImpl extends ApiBase_1.ApiBase {
120
120
  return reports === null || reports === void 0 ? void 0 : reports.map((report) => this.getReportById(report.Uuid));
121
121
  }
122
122
  exportVisualDataToExcel() {
123
- this.adaptable.exportVisualDataToExcel();
123
+ this._adaptable.exportVisualDataToExcel();
124
124
  }
125
125
  getExternalReports() {
126
126
  var _a;
@@ -150,7 +150,7 @@ class ExportApiImpl extends ApiBase_1.ApiBase {
150
150
  isColumnExportable(adaptableColumn) {
151
151
  const isExportableFn = this.getExportOptions().isColumnExportable;
152
152
  if (typeof isExportableFn === 'function') {
153
- return isExportableFn(Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { adaptableColumn }));
153
+ return isExportableFn(Object.assign(Object.assign({}, this.getAdaptableInternalApi().buildBaseContext()), { adaptableColumn }));
154
154
  }
155
155
  return true;
156
156
  }
@@ -7,7 +7,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
7
7
  import { ExpressionInternalApi } from '../Internal/ExpressionInternalApi';
8
8
  export declare class ExpressionApiImpl extends ApiBase implements ExpressionApi {
9
9
  internalApi: ExpressionInternalApi;
10
- constructor(adaptable: IAdaptable);
10
+ constructor(_adaptable: IAdaptable);
11
11
  isValidBooleanExpression(query: string, module: AdaptableModule, validationErrorMessage?: string): boolean;
12
12
  isValidObservableExpression(expression: string, module: AdaptableModule, validationErrorMessage?: string): boolean;
13
13
  isValidAggregatedBooleanExpression(expression: string, module: AdaptableModule, validationErrorMessage?: string): boolean;
@@ -6,9 +6,9 @@ const ApiBase_1 = require("./ApiBase");
6
6
  const parser = tslib_1.__importStar(require("../../parser/src"));
7
7
  const ExpressionInternalApi_1 = require("../Internal/ExpressionInternalApi");
8
8
  class ExpressionApiImpl extends ApiBase_1.ApiBase {
9
- constructor(adaptable) {
10
- super(adaptable);
11
- this.internalApi = new ExpressionInternalApi_1.ExpressionInternalApi(adaptable);
9
+ constructor(_adaptable) {
10
+ super(_adaptable);
11
+ this.internalApi = new ExpressionInternalApi_1.ExpressionInternalApi(_adaptable);
12
12
  }
13
13
  isValidBooleanExpression(query, module, validationErrorMessage) {
14
14
  const { isValid, errorMessage } = this.getAdaptableApi()
@@ -73,7 +73,7 @@ class ExpressionApiImpl extends ApiBase_1.ApiBase {
73
73
  isColumnQueryable(adaptableColumnBase) {
74
74
  let queryableColumnFn = this.getExpressionOptions().isColumnQueryable;
75
75
  if (queryableColumnFn) {
76
- const queryableColumnContext = Object.assign({ adaptableColumn: adaptableColumnBase }, this.getAdaptableApi().internalApi.buildBaseContext());
76
+ const queryableColumnContext = Object.assign({ adaptableColumn: adaptableColumnBase }, this.getAdaptableInternalApi().buildBaseContext());
77
77
  return queryableColumnFn(queryableColumnContext);
78
78
  }
79
79
  return true;
@@ -88,7 +88,7 @@ class ExpressionApiImpl extends ApiBase_1.ApiBase {
88
88
  .getExpressionWithColumnFriendlyNames(this.getAdaptableQueryExpression(query));
89
89
  }
90
90
  useCaseSensitivity() {
91
- return this.adaptable.adaptableOptions.expressionOptions.caseSensitiveExpressions;
91
+ return this.getExpressionOptions().caseSensitiveExpressions;
92
92
  }
93
93
  }
94
94
  exports.ExpressionApiImpl = ExpressionApiImpl;
@@ -7,7 +7,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
7
7
  import { AppIdentifier } from '@finos/fdc3/dist/api/AppIdentifier';
8
8
  export declare class Fdc3ApiImpl extends ApiBase implements Fdc3Api {
9
9
  internalApi: Fdc3InternalApi;
10
- constructor(adaptable: IAdaptable);
10
+ constructor(_adaptable: IAdaptable);
11
11
  getDesktopAgent(): DesktopAgent;
12
12
  buildContextDataFromRow(contextType: ContextType, rowNode: IRowNode): Context;
13
13
  buildContextDataForPrimaryKey(contextType: ContextType, primaryKeyValue: string | number): Context | undefined;
@@ -5,9 +5,9 @@ const ApiBase_1 = require("./ApiBase");
5
5
  const Fdc3InternalApi_1 = require("../Internal/Fdc3InternalApi");
6
6
  const Fdc3Context_1 = require("../../PredefinedConfig/Common/Fdc3Context");
7
7
  class Fdc3ApiImpl extends ApiBase_1.ApiBase {
8
- constructor(adaptable) {
9
- super(adaptable);
10
- this.internalApi = new Fdc3InternalApi_1.Fdc3InternalApi(adaptable);
8
+ constructor(_adaptable) {
9
+ super(_adaptable);
10
+ this.internalApi = new Fdc3InternalApi_1.Fdc3InternalApi(_adaptable);
11
11
  }
12
12
  getDesktopAgent() {
13
13
  return this.getFdc3Service().getDesktopAgent();
@@ -72,7 +72,7 @@ class Fdc3ApiImpl extends ApiBase_1.ApiBase {
72
72
  return this.internalApi.isStandardIntentType(intentType);
73
73
  }
74
74
  getFdc3Service() {
75
- return this.getAdaptableApi().internalApi.getFdc3Service();
75
+ return this.getAdaptableInternalApi().getFdc3Service();
76
76
  }
77
77
  getPossibleContextTypes(intent) {
78
78
  this.logWarn('Fdc3Api.getPossibleContextTypes is NO longer relevant as of FDC3 v1.2 and will be removed in a future version');
@@ -9,7 +9,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
9
9
  import { AdaptableObjectLookupCriteria } from '../../types';
10
10
  export declare class FlashingCellApiImpl extends ApiBase implements FlashingCellApi {
11
11
  internalApi: FlashingCellInternalApi;
12
- constructor(adaptable: IAdaptable);
12
+ constructor(_adaptable: IAdaptable);
13
13
  getFlashingCellState(): FlashingCellState;
14
14
  getFlashingCellDefinitions(config?: LayoutAssociatedObjectLoadConfig): FlashingCellDefinition[];
15
15
  getFlashingCellDefinitionById(id: FlashingCellDefinition['Uuid']): FlashingCellDefinition;
@@ -6,9 +6,9 @@ const FlashingCellRedux = tslib_1.__importStar(require("../../Redux/ActionsReduc
6
6
  const ApiBase_1 = require("./ApiBase");
7
7
  const FlashingCellInternalApi_1 = require("../Internal/FlashingCellInternalApi");
8
8
  class FlashingCellApiImpl extends ApiBase_1.ApiBase {
9
- constructor(adaptable) {
10
- super(adaptable);
11
- this.internalApi = new FlashingCellInternalApi_1.FlashingCellInternalApi(adaptable);
9
+ constructor(_adaptable) {
10
+ super(_adaptable);
11
+ this.internalApi = new FlashingCellInternalApi_1.FlashingCellInternalApi(_adaptable);
12
12
  }
13
13
  getFlashingCellState() {
14
14
  return this.getAdaptableState().FlashingCell;
@@ -36,7 +36,7 @@ class FlashingCellApiImpl extends ApiBase_1.ApiBase {
36
36
  }
37
37
  showFlashingCell(flashingCellToShow) {
38
38
  this.addUidToAdaptableObject(flashingCellToShow);
39
- const flashingCellFiredInfo = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { flashingCell: flashingCellToShow });
39
+ const flashingCellFiredInfo = Object.assign(Object.assign({}, this.getAdaptableInternalApi().buildBaseContext()), { flashingCell: flashingCellToShow });
40
40
  const results = this.getAdaptableApi().eventApi.emitSync('FlashingCellDisplayed', flashingCellFiredInfo);
41
41
  const shouldShow = results.reduce((endResult, aResult) => {
42
42
  return endResult && aResult !== false;
@@ -98,13 +98,13 @@ class FlashingCellApiImpl extends ApiBase_1.ApiBase {
98
98
  .filter((predicateDef) => this.getAdaptableApi().columnScopeApi.isScopeInScope(scope, predicateDef.columnScope));
99
99
  }
100
100
  clearAllFlashingCells() {
101
- this.getAdaptableApi().internalApi.getFlashingCellService().clearAllGridCellFlashes();
101
+ this.getAdaptableInternalApi().getFlashingCellService().clearAllGridCellFlashes();
102
102
  }
103
103
  isAnyFlashingCellActive() {
104
- return this.getAdaptableApi().internalApi.getFlashingCellService().isAnyFlashingCellActive();
104
+ return this.getAdaptableInternalApi().getFlashingCellService().isAnyFlashingCellActive();
105
105
  }
106
106
  findFlashingCellDefinitions(criteria) {
107
- return this.getAdaptableApi().internalApi.findAdaptableObjectsByLookupCriteria(criteria, this.getFlashingCellDefinitions({
107
+ return this.getAdaptableInternalApi().findAdaptableObjectsByLookupCriteria(criteria, this.getFlashingCellDefinitions({
108
108
  includeLayoutNotAssociatedObjects: true,
109
109
  }));
110
110
  }
@@ -8,7 +8,7 @@ import { FormatColumnInternalApi } from '../Internal/FormatColumnInternalApi';
8
8
  import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
9
9
  export declare class FormatColumnApiImpl extends ApiBase implements FormatColumnApi {
10
10
  internalApi: FormatColumnInternalApi;
11
- constructor(adaptable: IAdaptable);
11
+ constructor(_adaptable: IAdaptable);
12
12
  getFormatColumnState(): FormatColumnState;
13
13
  getFormatColumns(config?: {
14
14
  includeLayoutNotAssociatedObjects?: boolean;
@@ -7,9 +7,9 @@ const ApiBase_1 = require("./ApiBase");
7
7
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
8
8
  const FormatColumnInternalApi_1 = require("../Internal/FormatColumnInternalApi");
9
9
  class FormatColumnApiImpl extends ApiBase_1.ApiBase {
10
- constructor(adaptable) {
11
- super(adaptable);
12
- this.internalApi = new FormatColumnInternalApi_1.FormatColumnInternalApi(adaptable);
10
+ constructor(_adaptable) {
11
+ super(_adaptable);
12
+ this.internalApi = new FormatColumnInternalApi_1.FormatColumnInternalApi(_adaptable);
13
13
  }
14
14
  getFormatColumnState() {
15
15
  return this.getAdaptableState().FormatColumn;
@@ -112,7 +112,7 @@ class FormatColumnApiImpl extends ApiBase_1.ApiBase {
112
112
  this.dispatchAction(FormatColumnRedux.FormatColumnMoveDown(formatColumn));
113
113
  }
114
114
  findFormatColumns(criteria) {
115
- return this.getAdaptableApi().internalApi.findAdaptableObjectsByLookupCriteria(criteria, this.getFormatColumns({
115
+ return this.getAdaptableInternalApi().findAdaptableObjectsByLookupCriteria(criteria, this.getFormatColumns({
116
116
  includeLayoutNotAssociatedObjects: true,
117
117
  }));
118
118
  }
@@ -6,7 +6,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
6
6
  import { FreeTextColumnInternalApi } from '../Internal/FreeTextColumnInternalApi';
7
7
  export declare class FreeTextColumnApiImpl extends ApiBase implements FreeTextColumnApi {
8
8
  internalApi: FreeTextColumnInternalApi;
9
- constructor(adaptable: IAdaptable);
9
+ constructor(_adaptable: IAdaptable);
10
10
  getFreeTextColumnState(): FreeTextColumnState;
11
11
  getFreeTextColumns(): FreeTextColumn[];
12
12
  getFreeTextColumnById(technicalId: FreeTextColumn['Uuid']): FreeTextColumn | undefined;
@@ -8,9 +8,9 @@ const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/
8
8
  const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
9
9
  const FreeTextColumnInternalApi_1 = require("../Internal/FreeTextColumnInternalApi");
10
10
  class FreeTextColumnApiImpl extends ApiBase_1.ApiBase {
11
- constructor(adaptable) {
12
- super(adaptable);
13
- this.internalApi = new FreeTextColumnInternalApi_1.FreeTextColumnInternalApi(adaptable);
11
+ constructor(_adaptable) {
12
+ super(_adaptable);
13
+ this.internalApi = new FreeTextColumnInternalApi_1.FreeTextColumnInternalApi(_adaptable);
14
14
  }
15
15
  getFreeTextColumnState() {
16
16
  return this.getAdaptableState().FreeTextColumn;
@@ -93,7 +93,7 @@ class FreeTextColumnApiImpl extends ApiBase_1.ApiBase {
93
93
  return null;
94
94
  }
95
95
  if (ArrayExtensions_1.default.IsNotNullOrEmpty(freeTextColumn.FreeTextStoredValues)) {
96
- let pkValue = this.adaptable.getPrimaryKeyValueFromRowNode(rowNode);
96
+ let pkValue = this._adaptable.getPrimaryKeyValueFromRowNode(rowNode);
97
97
  let freeTextStoredValue = freeTextColumn.FreeTextStoredValues.find((fdx) => fdx.PrimaryKey == pkValue);
98
98
  if (freeTextStoredValue) {
99
99
  return freeTextStoredValue.FreeText;
@@ -17,7 +17,7 @@ import { GridInternalApi } from '../Internal/GridInternalApi';
17
17
  import { TransposeConfig } from '../../PredefinedConfig/Common/TransposeConfig';
18
18
  export declare class GridApiImpl extends ApiBase implements GridApi {
19
19
  internalApi: GridInternalApi;
20
- constructor(adaptable: IAdaptable);
20
+ constructor(_adaptable: IAdaptable);
21
21
  getVariant(): AdaptableVariant;
22
22
  getGridState(): GridState;
23
23
  loadGridData(dataSource: any): void;
@@ -114,7 +114,8 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
114
114
  unHighlightRow(primaryKeyValue: RowHighlightInfo['primaryKeyValue']): void;
115
115
  unHighlightRows(primaryKeyValues: RowsHighlightInfo['primaryKeyValues']): void;
116
116
  unHighlightAllRows(): void;
117
- refreshCells(rowNodes: IRowNode[], columnIds: string[]): void;
117
+ refreshCells(rowNodes: IRowNode[], columnIds: string[], suppressFlash?: boolean): void;
118
+ refreshAllCells(forceUpdate?: boolean): void;
118
119
  refreshGridCell(gridCell: GridCell): void;
119
120
  refreshGridCells(gridCells: GridCell[]): void;
120
121
  refreshColumn(columnId: string): void;