@adaptabletools/adaptable-cjs 19.1.0 → 19.1.1

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 (129) hide show
  1. package/package.json +1 -1
  2. package/src/Api/GridApi.d.ts +2 -1
  3. package/src/Api/Implementation/ActionColumnApiImpl.d.ts +0 -2
  4. package/src/Api/Implementation/ActionColumnApiImpl.js +1 -4
  5. package/src/Api/Implementation/ActionRowApiImpl.d.ts +1 -1
  6. package/src/Api/Implementation/ActionRowApiImpl.js +4 -4
  7. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  8. package/src/Api/Implementation/AdaptableApiImpl.js +6 -0
  9. package/src/Api/Implementation/AlertApiImpl.d.ts +1 -1
  10. package/src/Api/Implementation/AlertApiImpl.js +16 -15
  11. package/src/Api/Implementation/ApiBase.d.ts +12 -3
  12. package/src/Api/Implementation/ApiBase.js +39 -24
  13. package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +1 -1
  14. package/src/Api/Implementation/CalculatedColumnApiImpl.js +3 -3
  15. package/src/Api/Implementation/CalendarApiImpl.js +1 -1
  16. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
  17. package/src/Api/Implementation/ChartingApiImpl.js +9 -9
  18. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
  19. package/src/Api/Implementation/ColumnApiImpl.js +18 -18
  20. package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +1 -1
  21. package/src/Api/Implementation/ColumnFilterApiImpl.js +7 -7
  22. package/src/Api/Implementation/ColumnMenuApiImpl.d.ts +0 -2
  23. package/src/Api/Implementation/ColumnMenuApiImpl.js +2 -5
  24. package/src/Api/Implementation/CommentsApiImpl.d.ts +1 -1
  25. package/src/Api/Implementation/CommentsApiImpl.js +6 -4
  26. package/src/Api/Implementation/ConfigApiImpl.js +23 -24
  27. package/src/Api/Implementation/ContextMenuApiImpl.d.ts +0 -2
  28. package/src/Api/Implementation/ContextMenuApiImpl.js +1 -4
  29. package/src/Api/Implementation/CustomSortApiImpl.d.ts +1 -1
  30. package/src/Api/Implementation/CustomSortApiImpl.js +3 -3
  31. package/src/Api/Implementation/DashboardApiImpl.d.ts +1 -1
  32. package/src/Api/Implementation/DashboardApiImpl.js +5 -5
  33. package/src/Api/Implementation/DataImportApiImpl.d.ts +1 -1
  34. package/src/Api/Implementation/DataImportApiImpl.js +3 -3
  35. package/src/Api/Implementation/DataSetApiImpl.d.ts +1 -1
  36. package/src/Api/Implementation/DataSetApiImpl.js +5 -5
  37. package/src/Api/Implementation/EntitlementApiImpl.d.ts +1 -1
  38. package/src/Api/Implementation/EntitlementApiImpl.js +5 -5
  39. package/src/Api/Implementation/EventApiImpl.d.ts +1 -1
  40. package/src/Api/Implementation/EventApiImpl.js +2 -2
  41. package/src/Api/Implementation/ExportApiImpl.d.ts +1 -1
  42. package/src/Api/Implementation/ExportApiImpl.js +7 -7
  43. package/src/Api/Implementation/ExpressionApiImpl.d.ts +1 -1
  44. package/src/Api/Implementation/ExpressionApiImpl.js +5 -5
  45. package/src/Api/Implementation/Fdc3ApiImpl.d.ts +1 -1
  46. package/src/Api/Implementation/Fdc3ApiImpl.js +4 -4
  47. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +1 -1
  48. package/src/Api/Implementation/FlashingCellApiImpl.js +7 -7
  49. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -1
  50. package/src/Api/Implementation/FormatColumnApiImpl.js +4 -4
  51. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
  52. package/src/Api/Implementation/FreeTextColumnApiImpl.js +4 -4
  53. package/src/Api/Implementation/GridApiImpl.d.ts +3 -2
  54. package/src/Api/Implementation/GridApiImpl.js +106 -103
  55. package/src/Api/Implementation/GridFilterApiImpl.d.ts +1 -1
  56. package/src/Api/Implementation/GridFilterApiImpl.js +4 -4
  57. package/src/Api/Implementation/LayoutApiImpl.d.ts +1 -1
  58. package/src/Api/Implementation/LayoutApiImpl.js +3 -3
  59. package/src/Api/Implementation/NamedQueryApiImpl.d.ts +1 -1
  60. package/src/Api/Implementation/NamedQueryApiImpl.js +3 -3
  61. package/src/Api/Implementation/NoteApiImpl.d.ts +1 -1
  62. package/src/Api/Implementation/NoteApiImpl.js +3 -3
  63. package/src/Api/Implementation/OptionsApiImpl.js +7 -7
  64. package/src/Api/Implementation/PluginsApiImpl.js +1 -1
  65. package/src/Api/Implementation/PlusMinusApiImpl.js +1 -1
  66. package/src/Api/Implementation/PredicateApiImpl.d.ts +1 -1
  67. package/src/Api/Implementation/PredicateApiImpl.js +4 -4
  68. package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -1
  69. package/src/Api/Implementation/ScheduleApiImpl.js +3 -3
  70. package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
  71. package/src/Api/Implementation/StatusBarApiImpl.js +1 -1
  72. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -1
  73. package/src/Api/Implementation/StyledColumnApiImpl.js +4 -4
  74. package/src/Api/Implementation/SystemStatusApiImpl.d.ts +1 -1
  75. package/src/Api/Implementation/SystemStatusApiImpl.js +4 -4
  76. package/src/Api/Implementation/TeamSharingApiImpl.d.ts +1 -1
  77. package/src/Api/Implementation/TeamSharingApiImpl.js +11 -11
  78. package/src/Api/Implementation/ThemeApiImpl.d.ts +1 -1
  79. package/src/Api/Implementation/ThemeApiImpl.js +8 -8
  80. package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
  81. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -1
  82. package/src/Api/Implementation/UserInterfaceApiImpl.js +5 -5
  83. package/src/Api/Internal/ActionRowInternalApi.js +8 -8
  84. package/src/Api/Internal/AdaptableInternalApi.d.ts +2 -0
  85. package/src/Api/Internal/AdaptableInternalApi.js +55 -50
  86. package/src/Api/Internal/AlertInternalApi.js +9 -9
  87. package/src/Api/Internal/CalculatedColumnInternalApi.js +11 -9
  88. package/src/Api/Internal/ChartingInternalApi.js +1 -1
  89. package/src/Api/Internal/ColumnFilterInternalApi.js +7 -9
  90. package/src/Api/Internal/ColumnInternalApi.js +3 -3
  91. package/src/Api/Internal/CustomSortInternalApi.js +3 -3
  92. package/src/Api/Internal/DashboardInternalApi.js +4 -3
  93. package/src/Api/Internal/DataImportInternalApi.js +2 -2
  94. package/src/Api/Internal/DataSetInternalApi.js +2 -2
  95. package/src/Api/Internal/ExportInternalApi.js +21 -22
  96. package/src/Api/Internal/ExpressionInternalApi.js +4 -4
  97. package/src/Api/Internal/Fdc3InternalApi.d.ts +0 -1
  98. package/src/Api/Internal/Fdc3InternalApi.js +9 -12
  99. package/src/Api/Internal/FlashingCellInternalApi.js +2 -2
  100. package/src/Api/Internal/FormatColumnInternalApi.js +2 -3
  101. package/src/Api/Internal/FreeTextColumnInternalApi.js +5 -2
  102. package/src/Api/Internal/GridFilterInternalApi.js +2 -2
  103. package/src/Api/Internal/GridInternalApi.js +26 -26
  104. package/src/Api/Internal/LayoutInternalApi.js +6 -5
  105. package/src/Api/Internal/NamedQueryInternalApi.js +2 -2
  106. package/src/Api/Internal/PredicateInternalApi.js +5 -5
  107. package/src/Api/Internal/ScheduleInternalApi.js +1 -1
  108. package/src/Api/Internal/StyledColumnInternalApi.js +2 -2
  109. package/src/Api/Internal/SystemStatusInternalApi.js +1 -1
  110. package/src/Api/Internal/TeamSharingInternalApi.js +2 -2
  111. package/src/Api/Internal/ThemeInternalApi.js +1 -1
  112. package/src/Strategy/NoteModule.d.ts +0 -1
  113. package/src/Strategy/NoteModule.js +4 -5
  114. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +1 -1
  115. package/src/Utilities/Services/AggregatedScalarLiveValue.js +1 -1
  116. package/src/Utilities/Services/CellPopupService.js +4 -4
  117. package/src/Utilities/Services/Fdc3Service.js +1 -3
  118. package/src/Utilities/Services/FlashingCellService.d.ts +0 -2
  119. package/src/Utilities/Services/FlashingCellService.js +2 -3
  120. package/src/Utilities/Services/RowEditService.js +3 -5
  121. package/src/View/Alert/AlertStatusSubPanel.js +4 -4
  122. package/src/View/Charting/ShowChartButton.js +4 -4
  123. package/src/View/DataImport/DataImportWizard/DataImportWizard.js +14 -13
  124. package/src/agGrid/FloatingFilterWrapper.js +4 -3
  125. package/src/components/Datepicker/index.d.ts +1 -1
  126. package/src/components/ExpressionEditor/DataTableEditor.js +3 -3
  127. package/src/components/ExpressionEditor/ExpressionPreview.js +4 -4
  128. package/src/env.js +2 -2
  129. package/tsconfig.cjs.tsbuildinfo +1 -1
@@ -8,9 +8,9 @@ const ApiBase_1 = require("./ApiBase");
8
8
  const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
9
9
  const ColumnFilterInternalApi_1 = require("../Internal/ColumnFilterInternalApi");
10
10
  class ColumnFilterApiImpl extends ApiBase_1.ApiBase {
11
- constructor(adaptable) {
12
- super(adaptable);
13
- this.internalApi = new ColumnFilterInternalApi_1.ColumnFilterInternalApi(adaptable);
11
+ constructor(_adaptable) {
12
+ super(_adaptable);
13
+ this.internalApi = new ColumnFilterInternalApi_1.ColumnFilterInternalApi(_adaptable);
14
14
  }
15
15
  getFilterPredicateDefsForColumn(column) {
16
16
  const scope = {
@@ -31,11 +31,11 @@ class ColumnFilterApiImpl extends ApiBase_1.ApiBase {
31
31
  this.dispatchAction(SystemRedux.SystemQuickFilterBarHide());
32
32
  }
33
33
  isQuickFilterAvailable() {
34
- return this.adaptable.isQuickFilterAvailable();
34
+ return this._adaptable.isQuickFilterAvailable();
35
35
  }
36
36
  isQuickFilterVisible() {
37
37
  return (this.isQuickFilterAvailable() &&
38
- this.getAdaptableApi().internalApi.getSystemState().IsQuickFilterVisible);
38
+ this.getAdaptableInternalApi().getSystemState().IsQuickFilterVisible);
39
39
  }
40
40
  getColumnFilters() {
41
41
  var _a;
@@ -95,7 +95,7 @@ class ColumnFilterApiImpl extends ApiBase_1.ApiBase {
95
95
  }
96
96
  clearColumnFilters() {
97
97
  this.dispatchAction(LayoutRedux.LayoutColumnFilterClearAll());
98
- this.adaptable.clearColumnFiltering();
98
+ this._adaptable.clearColumnFiltering();
99
99
  }
100
100
  clearAndSetColumnFilters(columnFilters) {
101
101
  this.clearColumnFilters();
@@ -170,7 +170,7 @@ class ColumnFilterApiImpl extends ApiBase_1.ApiBase {
170
170
  let columnFilterForColumn = this.getColumnFilterForColumn(columnId);
171
171
  if (columnFilterForColumn) {
172
172
  this.dispatchAction(LayoutRedux.LayoutColumnFilterClear(columnFilterForColumn));
173
- this.adaptable.clearColumnFilteringForColumns([columnId]);
173
+ this._adaptable.clearColumnFilteringForColumns([columnId]);
174
174
  }
175
175
  }
176
176
  }
@@ -1,8 +1,6 @@
1
1
  import { ColumnMenuApi } from '../ColumnMenuApi';
2
- import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
3
2
  import { ApiBase } from './ApiBase';
4
3
  export declare class ColumnMenuApiImpl extends ApiBase implements ColumnMenuApi {
5
- constructor(adaptable: IAdaptable);
6
4
  showColumnMenu(columnKey: string): void;
7
5
  hideColumnMenu(): void;
8
6
  }
@@ -3,14 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ColumnMenuApiImpl = void 0;
4
4
  const ApiBase_1 = require("./ApiBase");
5
5
  class ColumnMenuApiImpl extends ApiBase_1.ApiBase {
6
- constructor(adaptable) {
7
- super(adaptable);
8
- }
9
6
  showColumnMenu(columnKey) {
10
- this.adaptable.agGridAdapter.getAgGridApi().showColumnMenu(columnKey);
7
+ this.getAgGridApi().showColumnMenu(columnKey);
11
8
  }
12
9
  hideColumnMenu() {
13
- this.adaptable.agGridAdapter.getAgGridApi().hidePopupMenu();
10
+ this.getAgGridApi().hidePopupMenu();
14
11
  }
15
12
  }
16
13
  exports.ColumnMenuApiImpl = ColumnMenuApiImpl;
@@ -5,7 +5,7 @@ import { CommentsInternalApi } from '../Internal/CommentsInternalApi';
5
5
  import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
6
6
  export declare class CommentsApiImpl extends ApiBase implements CommentApi {
7
7
  internalApi: CommentsInternalApi;
8
- constructor(adaptable: IAdaptable);
8
+ constructor(_adaptable: IAdaptable);
9
9
  getCommentThread(address: CellAddress): CommentThread | undefined;
10
10
  getGridComments(): CommentThread[];
11
11
  editComment(comment: AdaptableComment, address: CellAddress): void;
@@ -7,10 +7,11 @@ const ApiBase_1 = require("./ApiBase");
7
7
  const ObjectFactory_1 = tslib_1.__importDefault(require("../../Utilities/ObjectFactory"));
8
8
  const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/AdaptableHelper"));
9
9
  const CommentsInternalApi_1 = require("../Internal/CommentsInternalApi");
10
+ const lodash_1 = tslib_1.__importDefault(require("lodash"));
10
11
  class CommentsApiImpl extends ApiBase_1.ApiBase {
11
- constructor(adaptable) {
12
- super(adaptable);
13
- this.internalApi = new CommentsInternalApi_1.CommentsInternalApi(adaptable);
12
+ constructor(_adaptable) {
13
+ super(_adaptable);
14
+ this.internalApi = new CommentsInternalApi_1.CommentsInternalApi(_adaptable);
14
15
  }
15
16
  getCommentThread(address) {
16
17
  return CommentRedux.GetCellCommentSelector(this.getAdaptableState().Comment, address);
@@ -18,6 +19,7 @@ class CommentsApiImpl extends ApiBase_1.ApiBase {
18
19
  getGridComments() {
19
20
  var _a;
20
21
  return (_a = this.getAdaptableState().Comment.CommentThreads) !== null && _a !== void 0 ? _a : [];
22
+ lodash_1.default;
21
23
  }
22
24
  editComment(comment, address) {
23
25
  this.dispatchAction(CommentRedux.CommentsEdit({ comment, cellAddress: address }));
@@ -49,7 +51,7 @@ class CommentsApiImpl extends ApiBase_1.ApiBase {
49
51
  this.setGridComments([]);
50
52
  }
51
53
  hideCommentsPopup() {
52
- this.adaptable.api.internalApi.getCellPopupService().hidePopup();
54
+ this.getAdaptableInternalApi().getCellPopupService().hidePopup();
53
55
  }
54
56
  }
55
57
  exports.CommentsApiImpl = CommentsApiImpl;
@@ -43,21 +43,21 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
43
43
  Helper_1.default.copyToClipboard(stringifiedState);
44
44
  }
45
45
  getPredefinedConfig() {
46
- return this.adaptable.adaptableOptions.predefinedConfig;
46
+ return this.getPredefinedConfig;
47
47
  }
48
48
  reloadPredefinedConfig(newPredefinedConfig) {
49
49
  var _a;
50
- const adaptableOptions = this.adaptable.adaptableOptions;
50
+ const adaptableOptions = this.getOptions();
51
51
  const oldState = this.getPersistedState();
52
52
  // clearing filters so that AG Grid doesnt display the filter icon in a column header after grid reloads
53
53
  // but this is a hack so would be nicer if there was a better way to do this
54
- this.getAdaptableApi().gridApi.clearGridFiltering();
54
+ this.getGridApi().clearGridFiltering();
55
55
  const clearStateFn = ((_a = adaptableOptions.stateOptions) === null || _a === void 0 ? void 0 : _a.clearState) ||
56
56
  (() => {
57
57
  localStorage.removeItem(adaptableOptions.adaptableStateKey);
58
58
  return Promise.resolve(true);
59
59
  });
60
- this.adaptable.adaptableStore.saveStateNow(this.adaptable).then(() => {
60
+ this.getAdaptableSore().saveStateNow(this._adaptable).then(() => {
61
61
  const promise = clearStateFn({
62
62
  adaptableId: adaptableOptions.adaptableId,
63
63
  adaptableStateKey: adaptableOptions.adaptableStateKey,
@@ -70,7 +70,7 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
70
70
  }).then(() => {
71
71
  const newState = this.getPersistedState();
72
72
  const stateReloadedInfo = Object.assign({ oldState,
73
- newState, adaptableStateKey: adaptableOptions.adaptableStateKey }, this.getAdaptableApi().internalApi.buildBaseContext());
73
+ newState, adaptableStateKey: adaptableOptions.adaptableStateKey }, this.getAdaptableInternalApi().buildBaseContext());
74
74
  this.getAdaptableApi().eventApi.emit('AdaptableStateReloaded', stateReloadedInfo);
75
75
  });
76
76
  });
@@ -81,15 +81,14 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
81
81
  }
82
82
  getPersistedState() {
83
83
  // no assertion should be required here as soon as we make order in our state typings
84
- return this.adaptable.adaptableStore.getCurrentStorageState();
84
+ return this.getAdaptableSore().getCurrentStorageState();
85
85
  }
86
86
  getAllUserState() {
87
87
  return Object.values(this.getPersistedState());
88
88
  }
89
89
  loadUserState(state) {
90
- const adaptableOptions = this.adaptable.adaptableOptions;
91
- this.setAdaptableStateKey(adaptableOptions.adaptableStateKey, {
92
- predefinedConfig: state || adaptableOptions.predefinedConfig,
90
+ this.setAdaptableStateKey(this.getOptions().adaptableStateKey, {
91
+ predefinedConfig: state || this.getOptions().predefinedConfig,
93
92
  flushCurrentState: false,
94
93
  });
95
94
  }
@@ -118,40 +117,40 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
118
117
  setAdaptableStateKey(adaptableStateKey, config) {
119
118
  return new Promise((resolve, reject) => {
120
119
  var _a;
121
- this.getAdaptableApi().internalApi.executeWithProgressIndicator((_a = config === null || config === void 0 ? void 0 : config.progressIndicatorLabel) !== null && _a !== void 0 ? _a : `Initialising...`, () => {
120
+ this.getAdaptableInternalApi().executeWithProgressIndicator((_a = config === null || config === void 0 ? void 0 : config.progressIndicatorLabel) !== null && _a !== void 0 ? _a : `Initialising...`, () => {
122
121
  const flushCurrentState = !config || config.flushCurrentState !== false;
123
122
  // make sure we persist any "pending" changes to state - since stateOptions.debounceStateDelay can cause
124
123
  // the state to be persisted with a delay, which we dont want in this case
125
124
  const flushStatePromise = flushCurrentState
126
- ? this.adaptable.adaptableStore.saveStateNow(this.adaptable)
125
+ ? this.getAdaptableSore().saveStateNow(this._adaptable)
127
126
  : Promise.resolve(true);
128
127
  flushStatePromise.then(() => {
129
- this.adaptable.adaptableOptions.adaptableStateKey = adaptableStateKey;
128
+ this.getOptions().adaptableStateKey = adaptableStateKey;
130
129
  let predefinedConfig = config === null || config === void 0 ? void 0 : config.predefinedConfig;
131
130
  if (predefinedConfig) {
132
131
  predefinedConfig = (0, AdaptableHelper_1.initPredefinedConfigWithUuids)(predefinedConfig);
133
132
  }
134
- const promise = this.adaptable.adaptableStore.loadStore({
135
- adaptable: this.adaptable,
133
+ const promise = this.getAdaptableSore().loadStore({
134
+ adaptable: this._adaptable,
136
135
  adaptableStateKey,
137
136
  predefinedConfig,
138
137
  postLoadHook: (state) => {
139
138
  const agGridOptions = {
140
- columnDefs: this.adaptable.agGridAdapter.getGridOption('columnDefs'),
141
- autoGroupColumnDef: this.adaptable.agGridAdapter.getGridOption('autoGroupColumnDef'),
142
- rowModelType: this.adaptable.agGridAdapter.getGridOption('rowModelType'),
143
- treeData: this.adaptable.agGridAdapter.getGridOption('treeData'),
139
+ columnDefs: this._adaptable.agGridAdapter.getGridOption('columnDefs'),
140
+ autoGroupColumnDef: this._adaptable.agGridAdapter.getGridOption('autoGroupColumnDef'),
141
+ rowModelType: this._adaptable.agGridAdapter.getGridOption('rowModelType'),
142
+ treeData: this._adaptable.agGridAdapter.getGridOption('treeData'),
144
143
  };
145
- return this.adaptable.normalizeAdaptableState(state, agGridOptions);
144
+ return this._adaptable.normalizeAdaptableState(state, agGridOptions);
146
145
  },
147
146
  });
148
147
  promise
149
148
  .then(() => {
150
- this.adaptable.updateColumnModelAndRefreshGrid({
149
+ this._adaptable.updateColumnModelAndRefreshGrid({
151
150
  preemptiveColumnStateRefresh: true,
152
151
  });
153
- this.adaptable.setLayout();
154
- this.adaptable.applyColumnFiltering();
152
+ this._adaptable.setLayout();
153
+ this._adaptable.applyColumnFiltering();
155
154
  })
156
155
  .then(() => {
157
156
  // resolve main(result) promise
@@ -171,10 +170,10 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
171
170
  });
172
171
  }
173
172
  getDescriptionForModule(module) {
174
- return this.adaptable.ModuleService.getModuleInfoByModule(module).Description;
173
+ return this._adaptable.ModuleService.getModuleInfoByModule(module).Description;
175
174
  }
176
175
  getHelpPageForModule(module) {
177
- return this.adaptable.ModuleService.getModuleInfoByModule(module).HelpPage;
176
+ return this._adaptable.ModuleService.getModuleInfoByModule(module).HelpPage;
178
177
  }
179
178
  getUserStateByStateKey(stateKey, returnJson = false) {
180
179
  switch (stateKey) {
@@ -1,7 +1,5 @@
1
1
  import { ApiBase } from './ApiBase';
2
2
  import { ContextMenuApi } from '../ContextMenuApi';
3
- import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
4
3
  export declare class ContextMenuApiImpl extends ApiBase implements ContextMenuApi {
5
- constructor(adaptable: IAdaptable);
6
4
  hideContextMenu(): void;
7
5
  }
@@ -3,11 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ContextMenuApiImpl = void 0;
4
4
  const ApiBase_1 = require("./ApiBase");
5
5
  class ContextMenuApiImpl extends ApiBase_1.ApiBase {
6
- constructor(adaptable) {
7
- super(adaptable);
8
- }
9
6
  hideContextMenu() {
10
- this.adaptable.agGridAdapter.getAgGridApi().hidePopupMenu();
7
+ this.getAgGridApi().hidePopupMenu();
11
8
  }
12
9
  }
13
10
  exports.ContextMenuApiImpl = ContextMenuApiImpl;
@@ -5,7 +5,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
5
5
  import { CustomSortInternalApi } from '../Internal/CustomSortInternalApi';
6
6
  export declare class CustomSortApiImpl extends ApiBase implements CustomSortApi {
7
7
  internalApi: CustomSortInternalApi;
8
- constructor(adaptable: IAdaptable);
8
+ constructor(_adaptable: IAdaptable);
9
9
  getCustomSortState(): CustomSortState;
10
10
  getCustomSorts(config?: {
11
11
  includeLayoutNotAssociatedObjects?: boolean;
@@ -7,9 +7,9 @@ const CustomSortRedux = tslib_1.__importStar(require("../../Redux/ActionsReducer
7
7
  const ApiBase_1 = require("./ApiBase");
8
8
  const CustomSortInternalApi_1 = require("../Internal/CustomSortInternalApi");
9
9
  class CustomSortApiImpl extends ApiBase_1.ApiBase {
10
- constructor(adaptable) {
11
- super(adaptable);
12
- this.internalApi = new CustomSortInternalApi_1.CustomSortInternalApi(adaptable);
10
+ constructor(_adaptable) {
11
+ super(_adaptable);
12
+ this.internalApi = new CustomSortInternalApi_1.CustomSortInternalApi(_adaptable);
13
13
  }
14
14
  getCustomSortState() {
15
15
  return this.getAdaptableState().CustomSort;
@@ -8,7 +8,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
8
8
  import { DashboardInternalApi } from '../Internal/DashboardInternalApi';
9
9
  export declare class DashboardApiImpl extends ApiBase implements DashboardApi {
10
10
  internalApi: DashboardInternalApi;
11
- constructor(adaptable: IAdaptable);
11
+ constructor(_adaptable: IAdaptable);
12
12
  getDashboardState(): DashboardState;
13
13
  getCustomToolbars(): CustomToolbar[];
14
14
  getCustomDashboardButtons(): AdaptableButton<DashboardButtonContext>[];
@@ -9,9 +9,9 @@ const React = tslib_1.__importStar(require("react"));
9
9
  const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
10
10
  const DashboardInternalApi_1 = require("../Internal/DashboardInternalApi");
11
11
  class DashboardApiImpl extends ApiBase_1.ApiBase {
12
- constructor(adaptable) {
13
- super(adaptable);
14
- this.internalApi = new DashboardInternalApi_1.DashboardInternalApi(adaptable);
12
+ constructor(_adaptable) {
13
+ super(_adaptable);
14
+ this.internalApi = new DashboardInternalApi_1.DashboardInternalApi(_adaptable);
15
15
  }
16
16
  getDashboardState() {
17
17
  return this.getAdaptableState().Dashboard;
@@ -24,7 +24,7 @@ class DashboardApiImpl extends ApiBase_1.ApiBase {
24
24
  }
25
25
  getCustomDashboardButtonByLabel(buttonLabel) {
26
26
  const api = this.getAdaptableApi();
27
- const dashboardContext = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { dashboardState: api.dashboardApi.getDashboardState() });
27
+ const dashboardContext = Object.assign(Object.assign({}, this.getAdaptableInternalApi().buildBaseContext()), { dashboardState: api.dashboardApi.getDashboardState() });
28
28
  return this.getDashboardOptions().customDashboardButtons.find((cb) => {
29
29
  api.internalApi.getLabelForButton(cb, dashboardContext) == buttonLabel;
30
30
  });
@@ -56,7 +56,7 @@ class DashboardApiImpl extends ApiBase_1.ApiBase {
56
56
  setCustomToolbarHTMLContent(customToolbarName, htmlContent) {
57
57
  let customRenderedContainer = this.getCustomToolbarHTMLElement(customToolbarName);
58
58
  if (customRenderedContainer) {
59
- this.adaptable.renderReactRoot(React.createElement("div", { dangerouslySetInnerHTML: { __html: htmlContent } }), customRenderedContainer);
59
+ this._adaptable.renderReactRoot(React.createElement("div", { dangerouslySetInnerHTML: { __html: htmlContent } }), customRenderedContainer);
60
60
  }
61
61
  }
62
62
  getCustomToolbarByName(customToolbarName) {
@@ -4,7 +4,7 @@ import { DataImportInternalApi } from '../Internal/DataImportInternalApi';
4
4
  import { ApiBase } from './ApiBase';
5
5
  export declare class DataImportApiImpl extends ApiBase implements DataImportApi {
6
6
  internalApi: DataImportInternalApi;
7
- constructor(adaptable: IAdaptable);
7
+ constructor(_adaptable: IAdaptable);
8
8
  openImportWizard(): void;
9
9
  importData(partialRows: any[]): void;
10
10
  }
@@ -4,9 +4,9 @@ exports.DataImportApiImpl = void 0;
4
4
  const DataImportInternalApi_1 = require("../Internal/DataImportInternalApi");
5
5
  const ApiBase_1 = require("./ApiBase");
6
6
  class DataImportApiImpl extends ApiBase_1.ApiBase {
7
- constructor(adaptable) {
8
- super(adaptable);
9
- this.internalApi = new DataImportInternalApi_1.DataImportInternalApi(adaptable);
7
+ constructor(_adaptable) {
8
+ super(_adaptable);
9
+ this.internalApi = new DataImportInternalApi_1.DataImportInternalApi(_adaptable);
10
10
  }
11
11
  openImportWizard() {
12
12
  this.getSettingsPanelApi().openSettingsPanel('DataImport');
@@ -5,7 +5,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
5
5
  import { DataSetInternalApi } from '../Internal/DataSetInternalApi';
6
6
  export declare class DataSetApiImpl extends ApiBase implements DataSetApi {
7
7
  internalApi: DataSetInternalApi;
8
- constructor(adaptable: IAdaptable);
8
+ constructor(_adaptable: IAdaptable);
9
9
  getDataSets(): DataSet[];
10
10
  getCurrentDataSet(): DataSet | undefined;
11
11
  getDataSetByName(dataSetName: string): DataSet | undefined;
@@ -7,13 +7,13 @@ const SystemRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/Sy
7
7
  const ApiBase_1 = require("./ApiBase");
8
8
  const DataSetInternalApi_1 = require("../Internal/DataSetInternalApi");
9
9
  class DataSetApiImpl extends ApiBase_1.ApiBase {
10
- constructor(adaptable) {
11
- super(adaptable);
12
- this.internalApi = new DataSetInternalApi_1.DataSetInternalApi(adaptable);
10
+ constructor(_adaptable) {
11
+ super(_adaptable);
12
+ this.internalApi = new DataSetInternalApi_1.DataSetInternalApi(_adaptable);
13
13
  }
14
14
  getDataSets() {
15
- var _a, _b, _c;
16
- return (_c = (_b = (_a = this.adaptable.adaptableOptions) === null || _a === void 0 ? void 0 : _a.dataSetOptions) === null || _b === void 0 ? void 0 : _b.dataSets) !== null && _c !== void 0 ? _c : [];
15
+ var _a, _b;
16
+ return (_b = (_a = this.getDataSetOptions()) === null || _a === void 0 ? void 0 : _a.dataSets) !== null && _b !== void 0 ? _b : [];
17
17
  }
18
18
  getCurrentDataSet() {
19
19
  let currentDataSetName = this.getAdaptableState().System.CurrentDataSet;
@@ -5,7 +5,7 @@ import { EntitlementInternalApi } from '../Internal/EntitlementInternalApi';
5
5
  import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
6
6
  export declare class EntitlementApiImpl extends ApiBase implements EntitlementApi {
7
7
  internalApi: EntitlementInternalApi;
8
- constructor(adaptable: IAdaptable);
8
+ constructor(_adaptable: IAdaptable);
9
9
  getEntitlementAccessLevelForModule(adaptableModule: AdaptableModule): AccessLevel;
10
10
  isObjectReadonly(object: AdaptableObject): boolean;
11
11
  isModuleHiddenEntitlement(adaptableModule: AdaptableModule): boolean;
@@ -4,21 +4,21 @@ exports.EntitlementApiImpl = void 0;
4
4
  const ApiBase_1 = require("./ApiBase");
5
5
  const EntitlementInternalApi_1 = require("../Internal/EntitlementInternalApi");
6
6
  class EntitlementApiImpl extends ApiBase_1.ApiBase {
7
- constructor(adaptable) {
8
- super(adaptable);
9
- this.internalApi = new EntitlementInternalApi_1.EntitlementInternalApi(adaptable);
7
+ constructor(_adaptable) {
8
+ super(_adaptable);
9
+ this.internalApi = new EntitlementInternalApi_1.EntitlementInternalApi(_adaptable);
10
10
  }
11
11
  getEntitlementAccessLevelForModule(adaptableModule) {
12
12
  let entitlementOptions = this.getEntitlementOptions();
13
13
  if (entitlementOptions) {
14
- const defaultAccessLevelContext = this.getAdaptableApi().internalApi.buildBaseContext();
14
+ const defaultAccessLevelContext = this.getAdaptableInternalApi().buildBaseContext();
15
15
  const defaultAccessLevel = typeof entitlementOptions.defaultAccessLevel === 'function'
16
16
  ? entitlementOptions.defaultAccessLevel(defaultAccessLevelContext)
17
17
  : entitlementOptions.defaultAccessLevel;
18
18
  const moduleEntitlements = entitlementOptions.moduleEntitlements;
19
19
  if (moduleEntitlements) {
20
20
  if (typeof moduleEntitlements === 'function') {
21
- const entitlementContext = Object.assign(Object.assign({ adaptableModule }, this.getAdaptableApi().internalApi.buildBaseContext()), { defaultAccessLevel });
21
+ const entitlementContext = Object.assign(Object.assign({ adaptableModule }, this.getAdaptableInternalApi().buildBaseContext()), { defaultAccessLevel });
22
22
  const dynamicModuleEntitlement = moduleEntitlements(entitlementContext);
23
23
  return dynamicModuleEntitlement !== null && dynamicModuleEntitlement !== void 0 ? dynamicModuleEntitlement : defaultAccessLevel;
24
24
  }
@@ -4,7 +4,7 @@ import { EventApi } from '../EventApi';
4
4
  import { EmitterCallback } from '../../Utilities/Emitter';
5
5
  export declare class EventApiImpl extends ApiBase implements EventApi {
6
6
  private emitter;
7
- constructor(adaptable: IAdaptable);
7
+ constructor(_adaptable: IAdaptable);
8
8
  destroy(): void;
9
9
  on: (eventName: string, callback: EmitterCallback) => (() => void);
10
10
  off: (eventName: string, callback: EmitterCallback) => void;
@@ -5,8 +5,8 @@ const tslib_1 = require("tslib");
5
5
  const ApiBase_1 = require("./ApiBase");
6
6
  const Emitter_1 = tslib_1.__importDefault(require("../../Utilities/Emitter"));
7
7
  class EventApiImpl extends ApiBase_1.ApiBase {
8
- constructor(adaptable) {
9
- super(adaptable);
8
+ constructor(_adaptable) {
9
+ super(_adaptable);
10
10
  this.on = (eventName, callback) => {
11
11
  let result;
12
12
  if (eventName === 'AdaptableReady') {
@@ -8,7 +8,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
8
8
  import { ExportInternalApi } from '../Internal/ExportInternalApi';
9
9
  export declare class ExportApiImpl extends ApiBase implements ExportApi {
10
10
  internalApi: ExportInternalApi;
11
- constructor(adaptable: IAdaptable);
11
+ constructor(_adaptable: IAdaptable);
12
12
  getExportState(): ExportState;
13
13
  getCurrentReportName(): string;
14
14
  getCurrentReport(): Report;
@@ -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;