@adaptabletools/adaptable 11.1.8 → 11.1.11

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 (203) hide show
  1. package/base.css +16 -0
  2. package/bundle.cjs.js +106 -106
  3. package/index.css +20 -0
  4. package/package.json +1 -1
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -1
  8. package/src/AdaptableOptions/AdaptableOptions.d.ts +1 -1
  9. package/src/AdaptableOptions/AlertOptions.d.ts +9 -2
  10. package/src/AdaptableOptions/FinancePluginOptions.d.ts +57 -16
  11. package/src/AdaptableOptions/GeneralOptions.d.ts +7 -0
  12. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +7 -0
  13. package/src/Api/AdaptableApi.d.ts +5 -0
  14. package/src/Api/CellSummaryApi.d.ts +8 -0
  15. package/src/Api/ColumnApi.d.ts +6 -1
  16. package/src/Api/ConfigApi.d.ts +9 -3
  17. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  18. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  19. package/src/Api/Implementation/AlertApiImpl.js +32 -15
  20. package/src/Api/Implementation/CellSummaryApiImpl.d.ts +2 -0
  21. package/src/Api/Implementation/CellSummaryApiImpl.js +34 -0
  22. package/src/Api/Implementation/ColumnApiImpl.d.ts +2 -1
  23. package/src/Api/Implementation/ColumnApiImpl.js +7 -3
  24. package/src/Api/Implementation/ConfigApiImpl.d.ts +2 -2
  25. package/src/Api/Implementation/ConfigApiImpl.js +8 -29
  26. package/src/Api/Implementation/InternalApiImpl.d.ts +2 -1
  27. package/src/Api/Implementation/InternalApiImpl.js +29 -7
  28. package/src/Api/Implementation/LayoutApiImpl.d.ts +5 -4
  29. package/src/Api/Implementation/LayoutApiImpl.js +13 -7
  30. package/src/Api/Implementation/QueryApiImpl.d.ts +1 -0
  31. package/src/Api/Implementation/QueryApiImpl.js +12 -0
  32. package/src/Api/Implementation/StatusBarApiImpl.d.ts +8 -0
  33. package/src/Api/Implementation/StatusBarApiImpl.js +17 -0
  34. package/src/Api/InternalApi.d.ts +2 -1
  35. package/src/Api/LayoutApi.d.ts +16 -9
  36. package/src/Api/QueryApi.d.ts +6 -0
  37. package/src/Api/StatusBarApi.d.ts +10 -0
  38. package/src/Api/StatusBarApi.js +2 -0
  39. package/src/PredefinedConfig/AdaptableState.d.ts +20 -8
  40. package/src/PredefinedConfig/Common/FDC3Context.d.ts +61 -29
  41. package/src/PredefinedConfig/Common/Types.d.ts +6 -3
  42. package/src/PredefinedConfig/Common/Types.js +32 -1
  43. package/src/PredefinedConfig/FlashingCellState.d.ts +1 -1
  44. package/src/PredefinedConfig/FormatColumnState.d.ts +1 -1
  45. package/src/PredefinedConfig/GridState.d.ts +1 -1
  46. package/src/PredefinedConfig/PredefinedConfig.d.ts +5 -0
  47. package/src/PredefinedConfig/StatusBarState.d.ts +27 -0
  48. package/src/PredefinedConfig/StatusBarState.js +7 -0
  49. package/src/PredefinedConfig/ToolPanelState.d.ts +1 -1
  50. package/src/Redux/ActionsReducers/GridRedux.d.ts +2 -2
  51. package/src/Redux/ActionsReducers/GridRedux.js +4 -4
  52. package/src/Redux/ActionsReducers/StatusBarRedux.d.ts +22 -0
  53. package/src/Redux/ActionsReducers/StatusBarRedux.js +31 -0
  54. package/src/Redux/ActionsReducers/SystemRedux.d.ts +8 -3
  55. package/src/Redux/ActionsReducers/SystemRedux.js +22 -5
  56. package/src/Redux/Store/AdaptableReduxMerger.js +2 -2
  57. package/src/Redux/Store/AdaptableStore.js +24 -10
  58. package/src/Strategy/AlertModule.d.ts +3 -0
  59. package/src/Strategy/AlertModule.js +6 -0
  60. package/src/Strategy/CellSummaryModule.d.ts +6 -0
  61. package/src/Strategy/CellSummaryModule.js +14 -0
  62. package/src/Strategy/DataChangeHistoryModule.d.ts +7 -0
  63. package/src/Strategy/DataChangeHistoryModule.js +11 -0
  64. package/src/Strategy/ExportModule.d.ts +1 -0
  65. package/src/Strategy/ExportModule.js +1 -0
  66. package/src/Strategy/FilterModule.d.ts +6 -0
  67. package/src/Strategy/FilterModule.js +21 -0
  68. package/src/Strategy/Interface/IModule.d.ts +21 -10
  69. package/src/Strategy/LayoutModule.d.ts +7 -0
  70. package/src/Strategy/LayoutModule.js +14 -1
  71. package/src/Strategy/QueryModule.d.ts +8 -0
  72. package/src/Strategy/QueryModule.js +18 -0
  73. package/src/Strategy/QuickSearchModule.d.ts +6 -0
  74. package/src/Strategy/QuickSearchModule.js +10 -0
  75. package/src/Strategy/StatusBarModule.d.ts +8 -0
  76. package/src/Strategy/StatusBarModule.js +39 -0
  77. package/src/Strategy/SystemStatusModule.d.ts +6 -0
  78. package/src/Strategy/SystemStatusModule.js +10 -0
  79. package/src/Strategy/ThemeModule.d.ts +7 -0
  80. package/src/Strategy/ThemeModule.js +12 -0
  81. package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +1 -1
  82. package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
  83. package/src/Utilities/Constants/GeneralConstants.js +2 -1
  84. package/src/Utilities/Constants/ModuleConstants.d.ts +1 -0
  85. package/src/Utilities/Constants/ModuleConstants.js +2 -1
  86. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +4 -1
  87. package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -0
  88. package/src/Utilities/Services/ModuleService.js +6 -6
  89. package/src/View/AdaptablePopover/index.d.ts +1 -0
  90. package/src/View/AdaptablePopover/index.js +5 -2
  91. package/src/View/AdaptableViewFactory.js +2 -2
  92. package/src/View/Alert/AlertStatusSubPanel.d.ts +2 -0
  93. package/src/View/Alert/AlertStatusSubPanel.js +56 -0
  94. package/src/View/Alert/AlertViewPanel.js +6 -7
  95. package/src/View/Alert/AlertsPanel.d.ts +1 -1
  96. package/src/View/Alert/AlertsPanel.js +2 -1
  97. package/src/View/Alert/Utilities/getAlertButtonStyle.d.ts +5 -0
  98. package/src/View/Alert/Utilities/getAlertButtonStyle.js +15 -0
  99. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +18 -7
  100. package/src/View/Alert/Wizard/AlertButtonsEditor.js +1 -8
  101. package/src/View/Alert/Wizard/AlertWizard.js +3 -2
  102. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.d.ts +2 -0
  103. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +15 -0
  104. package/src/View/CellSummary/CellSummaryStatusPanel.d.ts +2 -0
  105. package/src/View/CellSummary/CellSummaryStatusPanel.js +36 -0
  106. package/src/View/CellSummary/CellSummaryViewPanel.js +2 -20
  107. package/src/View/ColorPicker.d.ts +1 -1
  108. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  109. package/src/View/Components/AdaptableInput/index.d.ts +1 -1
  110. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  111. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  112. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
  113. package/src/View/Components/Forms/AdaptableFormControlTextClear.js +1 -1
  114. package/src/View/Components/Panels/PanelWithImage.d.ts +6 -6
  115. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +5 -4
  116. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +1 -1
  117. package/src/View/Components/RangesComponent.js +6 -2
  118. package/src/View/Components/StyleComponent.js +18 -6
  119. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
  120. package/src/View/Components/ToolPanel/ToolPanelPopup.js +3 -3
  121. package/src/View/Dashboard/DashboardPopup.js +2 -2
  122. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +5 -13
  123. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.d.ts +2 -0
  124. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +9 -0
  125. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.d.ts +4 -16
  126. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +32 -40
  127. package/src/View/Filter/ActiveFiltersPanel.d.ts +0 -2
  128. package/src/View/Filter/FilterStatusBarSubPanelPopover.d.ts +2 -0
  129. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +18 -0
  130. package/src/View/Filter/FilterViewPanel.js +1 -1
  131. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +1 -1
  132. package/src/View/GridInfo/GridInfoPopup.js +4 -1
  133. package/src/View/Layout/EditCurrentLayoutButton.d.ts +2 -0
  134. package/src/View/Layout/EditCurrentLayoutButton.js +14 -0
  135. package/src/View/Layout/LayoutPopup.d.ts +1 -1
  136. package/src/View/Layout/LayoutPopup.js +3 -3
  137. package/src/View/Layout/LayoutRadioSelector.d.ts +1 -0
  138. package/src/View/Layout/LayoutRadioSelector.js +2 -2
  139. package/src/View/Layout/LayoutStatusBarSubPanelPopover.d.ts +2 -0
  140. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +29 -0
  141. package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.js +2 -1
  142. package/src/View/Layout/Wizard/LayoutEditor/index.js +1 -1
  143. package/src/View/Layout/Wizard/LayoutEditorWizard.js +2 -1
  144. package/src/View/Query/EditCurrentQueryButton.d.ts +2 -0
  145. package/src/View/Query/EditCurrentQueryButton.js +15 -0
  146. package/src/View/Query/QueryViewPanel.d.ts +0 -1
  147. package/src/View/Query/QueryViewPanel.js +2 -11
  148. package/src/View/QuickSearch/QuickSearchPopup.js +1 -1
  149. package/src/View/QuickSearch/QuickSearchStatusBarContent.d.ts +2 -0
  150. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +16 -0
  151. package/src/View/StateManagement/StateManagementPopup.js +9 -7
  152. package/src/View/StateManagement/StateManagementViewPanel.js +1 -2
  153. package/src/View/StateManagement/components/ExportDropdown.d.ts +1 -1
  154. package/src/View/StateManagement/components/ExportDropdown.js +3 -7
  155. package/src/View/StateManagement/handleExportState.d.ts +1 -1
  156. package/src/View/StatusBar/AdaptableStatusBar.d.ts +3 -0
  157. package/src/View/StatusBar/AdaptableStatusBar.js +44 -0
  158. package/src/View/StatusBar/StatusBarPanel.d.ts +42 -0
  159. package/src/View/StatusBar/StatusBarPanel.js +45 -0
  160. package/src/View/StatusBar/StatusBarPopup.d.ts +3 -0
  161. package/src/View/StatusBar/StatusBarPopup.js +43 -0
  162. package/src/View/SystemStatus/SystemStatusStatusBarContent.d.ts +2 -0
  163. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +15 -0
  164. package/src/View/SystemStatus/SystemStatusViewPanel.js +3 -7
  165. package/src/View/SystemStatus/Utilities/getStatusItemStyle.d.ts +5 -0
  166. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +16 -0
  167. package/src/View/Theme/ThemeStatusPanelPopover.d.ts +2 -0
  168. package/src/View/Theme/ThemeStatusPanelPopover.js +36 -0
  169. package/src/agGrid/Adaptable.d.ts +2 -0
  170. package/src/agGrid/Adaptable.js +30 -3
  171. package/src/agGrid/agGridHelper.js +2 -0
  172. package/src/agGrid/agGridMenuHelper.js +2 -2
  173. package/src/agGrid/createAgStatusPanelComponent.d.ts +21 -0
  174. package/src/agGrid/createAgStatusPanelComponent.js +31 -0
  175. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +1 -1
  176. package/src/components/Dashboard/DashboardManager.js +9 -162
  177. package/src/components/Datepicker/index.d.ts +1 -1
  178. package/src/components/DragAndDropContext/DragAndDropContext.d.ts +7 -0
  179. package/src/components/DragAndDropContext/DragAndDropContext.js +14 -0
  180. package/src/components/DragAndDropContext/ModuleManager.d.ts +17 -0
  181. package/src/components/DragAndDropContext/ModuleManager.js +81 -0
  182. package/src/components/DragAndDropContext/TabList.d.ts +29 -0
  183. package/src/components/DragAndDropContext/TabList.js +72 -0
  184. package/src/components/DragAndDropContext/UnusedPanel.d.ts +6 -0
  185. package/src/components/DragAndDropContext/UnusedPanel.js +46 -0
  186. package/src/components/DragAndDropContext/types.d.ts +8 -0
  187. package/src/components/DragAndDropContext/types.js +2 -0
  188. package/src/components/FormLayout/index.d.ts +1 -0
  189. package/src/components/Input/index.d.ts +1 -1
  190. package/src/components/List/ListGroupItem/index.d.ts +1 -1
  191. package/src/components/PopupWithFooter.d.ts +1 -1
  192. package/src/components/SimpleButton/index.js +3 -0
  193. package/src/components/Textarea/index.d.ts +1 -1
  194. package/src/components/icons/DefaultIcon.d.ts +2 -1
  195. package/src/components/icons/DefaultIcon.js +2 -2
  196. package/src/components/icons/index.js +2 -0
  197. package/src/components/icons/statusbar.d.ts +3 -0
  198. package/src/components/icons/statusbar.js +8 -0
  199. package/src/metamodel/adaptable.metamodel.d.ts +236 -0
  200. package/src/metamodel/adaptable.metamodel.js +467 -48
  201. package/src/types.d.ts +5 -4
  202. package/version.d.ts +1 -1
  203. package/version.js +1 -1
@@ -71,39 +71,15 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
71
71
  getAllState() {
72
72
  return this.getAdaptableState();
73
73
  }
74
- // im sure we can do this better
75
- getUserStateKeys() {
76
- return [
77
- 'Alert',
78
- 'Application',
79
- 'CalculatedColumn',
80
- 'ConditionalStyle',
81
- 'CustomSort',
82
- 'Dashboard',
83
- 'DataSource',
84
- 'Entitlement',
85
- 'Export',
86
- 'Filter',
87
- 'FormatColumn',
88
- 'FreeTextColumn',
89
- 'Layout',
90
- 'PlusMinus',
91
- 'Query',
92
- 'QuickSearch',
93
- 'Shortcut',
94
- 'Theme',
95
- 'ToolPanel',
96
- ];
74
+ getPersistedState() {
75
+ // no assertion should be required here as soon as we make order in our state typings
76
+ return this.adaptable.adaptableStore.getCurrentStorageState();
97
77
  }
98
78
  getAllUserState() {
99
- const userStateKeys = this.getUserStateKeys();
100
- const allState = this.getAllState();
101
- return userStateKeys.map((k) => allState[k]);
79
+ return Object.values(this.getPersistedState());
102
80
  }
103
81
  loadUserState(state) {
104
- const userStateKeys = this.getUserStateKeys();
105
- const userState = Object.keys(state).reduce((xs, x) => (userStateKeys.indexOf(x) !== -1 ? Object.assign(Object.assign({}, xs), { [x]: state[x] }) : xs), {});
106
- this.dispatchAction(AdaptableStore_1.LoadState(userState));
82
+ this.reloadPredefinedConfig(state);
107
83
  }
108
84
  getAdaptableSearchState() {
109
85
  const currentQuery = this.adaptable.api.queryApi.getCurrentQuery();
@@ -374,6 +350,9 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
374
350
  case 'ToolPanel':
375
351
  this.dispatchAction(ToolPanelRedux.ToolPanelReady(this.getToolPanelState()));
376
352
  break;
353
+ case 'StatusBar':
354
+ this.dispatchAction(ToolPanelRedux.ToolPanelReady(this.getToolPanelState()));
355
+ break;
377
356
  }
378
357
  }
379
358
  }
@@ -60,7 +60,7 @@ export declare class InternalApiImpl extends ApiBase implements InternalApi {
60
60
  hidePopupScreen(): void;
61
61
  hidePopupAlert(): void;
62
62
  setColumns(columns: AdaptableColumn[]): void;
63
- setModuleDropdownMenuItems(menuItems: AdaptableMenuItem[]): void;
63
+ setSettingPanelModuleMenuItems(menuItems: AdaptableMenuItem[]): void;
64
64
  setModuleButtonMenuItems(menuItems: AdaptableMenuItem[]): void;
65
65
  setSelectedCells(selectedCellInfo: SelectedCellInfo): void;
66
66
  setSelectedRows(selectedRowInfo: SelectedRowInfo): void;
@@ -120,5 +120,6 @@ export declare class InternalApiImpl extends ApiBase implements InternalApi {
120
120
  isTextComparisonCaseSensitive(): boolean;
121
121
  executeWithProgressIndicator(label: string, executeFn: () => void): void;
122
122
  hideProgressIndicator(): void;
123
+ getCorrectEnglishVariant(wordToSpell: string): string;
123
124
  dispatchReduxAction(action: Action): void;
124
125
  }
@@ -80,13 +80,27 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
80
80
  });
81
81
  }
82
82
  getAdaptableAlertWithHighlightRow(rowNode) {
83
- // only alerts triggered by row changes are relevant for HighlightRow actions
84
- return this.getAdaptableRowChangedAlerts().find((alert) => {
85
- var _a;
86
- if (((_a = alert.alertDefinition.AlertProperties) === null || _a === void 0 ? void 0 : _a.HighlightRow) && alert.gridDataChangedInfo) {
87
- return alert.gridDataChangedInfo.rowNodes.map((rowNode) => rowNode.id).includes(rowNode.id);
83
+ let alertWithRowHighlight;
84
+ alertWithRowHighlight = this.getAdaptableRowChangedAlerts().find((alert) => {
85
+ var _a, _b;
86
+ if ((_a = alert.alertDefinition.AlertProperties) === null || _a === void 0 ? void 0 : _a.HighlightRow) {
87
+ if ((_b = alert.gridDataChangedInfo) === null || _b === void 0 ? void 0 : _b.rowNodes.map((rowNode) => rowNode.id).includes(rowNode.id)) {
88
+ return alert;
89
+ }
88
90
  }
89
91
  });
92
+ if (alertWithRowHighlight) {
93
+ return alertWithRowHighlight;
94
+ }
95
+ alertWithRowHighlight = this.getAdaptableCellChangedAlerts().find((alert) => {
96
+ var _a, _b;
97
+ if ((_a = alert.alertDefinition.AlertProperties) === null || _a === void 0 ? void 0 : _a.HighlightRow) {
98
+ if (((_b = alert.cellDataChangedInfo) === null || _b === void 0 ? void 0 : _b.rowNode.id) == rowNode.id) {
99
+ return alert;
100
+ }
101
+ }
102
+ });
103
+ return alertWithRowHighlight;
90
104
  }
91
105
  isAlertDefinitionForAddedRowChangeEvent(alertDefinition) {
92
106
  var _a, _b;
@@ -137,8 +151,8 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
137
151
  setColumns(columns) {
138
152
  this.dispatchAction(GridRedux.GridSetColumns(columns));
139
153
  }
140
- setModuleDropdownMenuItems(menuItems) {
141
- this.dispatchAction(GridRedux.SetModuleDropdownMenuItems(menuItems));
154
+ setSettingPanelModuleMenuItems(menuItems) {
155
+ this.dispatchAction(GridRedux.SetSettingPanelModuleMenuItems(menuItems));
142
156
  }
143
157
  setModuleButtonMenuItems(menuItems) {
144
158
  this.dispatchAction(GridRedux.SetModuleButtonMenuItems(menuItems));
@@ -443,6 +457,14 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
443
457
  hideProgressIndicator() {
444
458
  this.dispatchReduxAction(SystemRedux_1.SystemProgressIndicatorHide());
445
459
  }
460
+ getCorrectEnglishVariant(wordToSpell) {
461
+ if (wordToSpell.includes('our')) {
462
+ return this.getGeneralOptions().englishVariant == 'GB'
463
+ ? wordToSpell
464
+ : wordToSpell.replace('our', 'or');
465
+ }
466
+ return wordToSpell;
467
+ }
446
468
  // General way to get to store from inside Adaptable...
447
469
  dispatchReduxAction(action) {
448
470
  this.dispatchAction(action);
@@ -20,12 +20,13 @@ export declare class LayoutApiImpl extends ApiBase implements LayoutApi {
20
20
  getLayoutById(id: Layout['Uuid']): Layout;
21
21
  saveCurrentLayout(): void;
22
22
  doesLayoutExist(layout: Layout): boolean;
23
- createAndSetLayout(layoutToCreate: Layout): Layout;
24
- createLayout(layoutToCreate: Layout): Layout | undefined;
25
- cloneAndSetLayout(layoutToClone: Layout, layoutName: string): Layout;
26
- cloneLayout(layoutToClone: Layout, layoutName: string): Layout;
23
+ createAndSetLayout(layoutToCreate: Layout): Layout | false;
24
+ createLayout(layoutToCreate: Layout): Layout | false;
25
+ cloneAndSetLayout(layoutToClone: Layout, layoutName: string): Layout | false;
26
+ cloneLayout(layoutToClone: Layout, layoutName: string): Layout | false;
27
27
  setColumnCaption(columnId: string, caption: string): void;
28
28
  saveLayout(layoutToSave: Layout): void;
29
+ createOrUpdateLayout(layout: Layout): void;
29
30
  areLayoutsEqual(layout1: Layout, layout2: Layout): boolean;
30
31
  getLayoutDescription(layout: Layout): string;
31
32
  private getColumnSort;
@@ -121,7 +121,7 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
121
121
  createLayout(layoutToCreate) {
122
122
  if (this.doesLayoutExist(layoutToCreate)) {
123
123
  LoggingHelper_1.LogAdaptableError("Cannot create layout with the Name: '" + layoutToCreate.Name + "' as it already exists");
124
- return;
124
+ return false;
125
125
  }
126
126
  const newLayout = ObjectFactory_1.default.CreateEmptyLayout(Object.assign({}, layoutToCreate));
127
127
  this.addUidToAdaptableObject(newLayout);
@@ -129,18 +129,16 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
129
129
  return newLayout;
130
130
  }
131
131
  cloneAndSetLayout(layoutToClone, layoutName) {
132
- if (!this.doesLayoutExist(layoutToClone)) {
133
- LoggingHelper_1.LogAdaptableError("Cannot clone layout with Name: '" + layoutName + "' as other Layout does not exist");
134
- return;
135
- }
136
132
  const newLayout = this.cloneLayout(layoutToClone, layoutName);
137
- this.setLayout(layoutName);
133
+ if (newLayout) {
134
+ this.setLayout(layoutName);
135
+ }
138
136
  return newLayout;
139
137
  }
140
138
  cloneLayout(layoutToClone, layoutName) {
141
139
  if (!this.doesLayoutExist(layoutToClone)) {
142
140
  LoggingHelper_1.LogAdaptableError("Cannot clone layout with Name: '" + layoutName + "' as other Layout does not exist");
143
- return;
141
+ return false;
144
142
  }
145
143
  const newLayout = Helper_1.default.cloneObject(layoutToClone);
146
144
  newLayout.Uuid = Uuid_1.createUuid();
@@ -165,6 +163,14 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
165
163
  this.dispatchAction(LayoutRedux.LayoutSave(layoutToSave));
166
164
  }
167
165
  }
166
+ createOrUpdateLayout(layout) {
167
+ if (!this.doesLayoutExist(layout)) {
168
+ this.createLayout(layout);
169
+ }
170
+ else {
171
+ this.dispatchAction(LayoutRedux.LayoutSave(layout));
172
+ }
173
+ }
168
174
  areLayoutsEqual(layout1, layout2) {
169
175
  if (!layout1 && !layout2) {
170
176
  return true;
@@ -16,4 +16,5 @@ export declare class QueryApiImpl extends ApiBase implements QueryApi {
16
16
  getCurrentQuery(): string | undefined;
17
17
  getReferencedNamedQueryNames(expression?: string): string[];
18
18
  getNamedQueryModuleReferences(namedQueryName: string): string[];
19
+ expandCurrentQuery(query?: string): void;
19
20
  }
@@ -8,6 +8,7 @@ const StringExtensions_1 = require("../../Utilities/Extensions/StringExtensions"
8
8
  const QueryRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/QueryRedux"));
9
9
  const PopupRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PopupRedux"));
10
10
  const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
11
+ const windowFactory_1 = require("../../View/Components/Popups/WindowPopups/windowFactory");
11
12
  class QueryApiImpl extends ApiBase_1.ApiBase {
12
13
  getQueryState() {
13
14
  return this.getAdaptableState().Query;
@@ -76,5 +77,16 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
76
77
  });
77
78
  return references;
78
79
  }
80
+ expandCurrentQuery(query) {
81
+ const preparedQuery = query !== null && query !== void 0 ? query : this.getCurrentQuery();
82
+ this.adaptable.api.internalApi.dispatchReduxAction(PopupRedux.PopupShowWindow({
83
+ Id: windowFactory_1.WINDOW_QUERY_EDITOR,
84
+ Title: 'Current Query',
85
+ Icon: 'query',
86
+ PopupProps: {
87
+ value: preparedQuery,
88
+ },
89
+ }));
90
+ }
79
91
  }
80
92
  exports.QueryApiImpl = QueryApiImpl;
@@ -0,0 +1,8 @@
1
+ import { AdaptableStatusBar } from '../../PredefinedConfig/StatusBarState';
2
+ import { StatusBarApi } from '../StatusBarApi';
3
+ import { ApiBase } from './ApiBase';
4
+ export declare class StatusBarApiImpl extends ApiBase implements StatusBarApi {
5
+ getStatusPanels(): AdaptableStatusBar[];
6
+ getAgGridStatusPanels(): import("@ag-grid-community/core").StatusPanelDef[];
7
+ setStatusPanels(statusPanels: AdaptableStatusBar[]): void;
8
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StatusBarApiImpl = void 0;
4
+ const StatusBarRedux_1 = require("../../Redux/ActionsReducers/StatusBarRedux");
5
+ const ApiBase_1 = require("./ApiBase");
6
+ class StatusBarApiImpl extends ApiBase_1.ApiBase {
7
+ getStatusPanels() {
8
+ return StatusBarRedux_1.getStatusPanelsSelector(this.getAdaptableState());
9
+ }
10
+ getAgGridStatusPanels() {
11
+ return this.adaptable.getAgGridStatusPanels();
12
+ }
13
+ setStatusPanels(statusPanels) {
14
+ this.getAdaptableApi().internalApi.dispatchReduxAction(StatusBarRedux_1.StatusBarSetPanels(statusPanels));
15
+ }
16
+ }
17
+ exports.StatusBarApiImpl = StatusBarApiImpl;
@@ -65,7 +65,7 @@ export interface InternalApi {
65
65
  hidePopupScreen(): void;
66
66
  hidePopupAlert(): void;
67
67
  setColumns(columns: AdaptableColumn[]): void;
68
- setModuleDropdownMenuItems(menuItems: AdaptableMenuItem[]): void;
68
+ setSettingPanelModuleMenuItems(menuItems: AdaptableMenuItem[]): void;
69
69
  setModuleButtonMenuItems(menuItems: AdaptableMenuItem[]): void;
70
70
  setSelectedCells(selectedCellInfo: SelectedCellInfo): void;
71
71
  setSelectedRows(selectedRowInfo: SelectedRowInfo): void;
@@ -123,4 +123,5 @@ export interface InternalApi {
123
123
  isTextComparisonCaseSensitive(): boolean;
124
124
  executeWithProgressIndicator(label: string, executeFn: () => unknown): void;
125
125
  hideProgressIndicator(): void;
126
+ getCorrectEnglishVariant(wordToSpell: string): string;
126
127
  }
@@ -65,36 +65,43 @@ export interface LayoutApi {
65
65
  */
66
66
  saveCurrentLayout(): void;
67
67
  /**
68
- * Saves given Layout into Adaptable State
68
+ * Saves given Layout into Adaptable State (creates new Layout if it doesn't exist)
69
69
  * @param layoutToSave the Layout to save
70
+ *
71
+ * @deprecated use {@link createOrUpdateLayout} instead
70
72
  */
71
73
  saveLayout(layoutToSave: Layout): void;
74
+ /**
75
+ * Creates new Layout into Adaptable State or updates an existing Layout (with same name or id)
76
+ * @param layout the Layout to create or update
77
+ */
78
+ createOrUpdateLayout(layout: Layout): void;
72
79
  /**
73
80
  * Creates new Layout in the state
74
81
  * @param layoutToCreate Layout to create
75
- * @returns layout
82
+ * @returns created Layout object or `false` if Layout with the same name/Uuid already exists
76
83
  */
77
- createLayout(layoutToCreate: Layout): Layout | undefined;
84
+ createLayout(layoutToCreate: Layout): Layout | false;
78
85
  /**
79
86
  * Creates new Layout in the state and then loads it into Grid
80
87
  * @param layoutToCreate Layout to create
81
- * @returns layout
88
+ * @returns created Layout object or `false` if creation failed
82
89
  */
83
- createAndSetLayout(layoutToCreate: Layout): Layout;
90
+ createAndSetLayout(layoutToCreate: Layout): Layout | false;
84
91
  /**
85
92
  * Creates new Layout based on given Layout but with name provided
86
93
  * @param layoutToClone Layout to clone
87
94
  * @param layoutName name to use for new Layout
88
- * @returns layout
95
+ * @returns created Layout object or `false` if creation failed
89
96
  */
90
- cloneLayout(layoutToClone: Layout, layoutName: string): Layout;
97
+ cloneLayout(layoutToClone: Layout, layoutName: string): Layout | false;
91
98
  /**
92
99
  * Creates new Layout based on given Layout but with name provided and then loads it into Grid
93
100
  * @param layoutToClone Layout to clone
94
101
  * @param layoutName name to use for new Layout
95
- * @returns layout
102
+ * @returns created Layout object or `false` if creation failed
96
103
  */
97
- cloneAndSetLayout(layoutToClone: Layout, layoutName: string): Layout;
104
+ cloneAndSetLayout(layoutToClone: Layout, layoutName: string): Layout | false;
98
105
  /**
99
106
  * Checks whether this Layout exists in the Adaptable State (by comparing Uuid property)
100
107
  * @param layout Layout to check
@@ -56,4 +56,10 @@ export interface QueryApi {
56
56
  * Returns the Current Query
57
57
  */
58
58
  getCurrentQuery(): string | undefined;
59
+ /**
60
+ * Opens current query editor
61
+ *
62
+ * @param query - query to edit
63
+ */
64
+ expandCurrentQuery(query?: string): void;
59
65
  }
@@ -0,0 +1,10 @@
1
+ import { GridOptions } from '@ag-grid-community/all-modules';
2
+ import { AdaptableStatusBar } from '../PredefinedConfig/StatusBarState';
3
+ export interface StatusBarApi {
4
+ /**
5
+ * Retrieves the current AG Grid Status Bar Panels
6
+ */
7
+ getAgGridStatusPanels: () => GridOptions['statusBar']['statusPanels'];
8
+ getStatusPanels: () => AdaptableStatusBar[];
9
+ setStatusPanels: (statusPanels: AdaptableStatusBar[]) => void;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -23,17 +23,17 @@ import { ApplicationState } from './ApplicationState';
23
23
  import { ToolPanelState } from './ToolPanelState';
24
24
  import { QueryState } from './QueryState';
25
25
  import { FlashingCellState } from './FlashingCellState';
26
+ import { StatusBarState } from './StatusBarState';
26
27
  /**
27
- * The main state object that Adaptable persists
28
+ * The main state object of Adaptable
28
29
  */
29
- export interface AdaptableState {
30
+ export interface AdaptableState extends AdaptablePersistentState, AdaptableTransientState {
30
31
  [s: string]: ConfigState;
31
- Popup: PopupState;
32
- Grid: GridState;
33
- System: SystemState;
34
- Plugins: {
35
- [key: string]: any;
36
- };
32
+ }
33
+ /**
34
+ * The state object of Adaptable which is persisted
35
+ */
36
+ export interface AdaptablePersistentState {
37
37
  Application: ApplicationState;
38
38
  Alert: AlertState;
39
39
  FlashingCell: FlashingCellState;
@@ -52,7 +52,19 @@ export interface AdaptableState {
52
52
  QuickSearch: QuickSearchState;
53
53
  Schedule: ScheduleState;
54
54
  Shortcut: ShortcutState;
55
+ StatusBar: StatusBarState;
55
56
  TeamSharing: TeamSharingState;
56
57
  Theme: ThemeState;
57
58
  ToolPanel: ToolPanelState;
58
59
  }
60
+ /**
61
+ * The state which is available in the internal Redux store but never persisted
62
+ */
63
+ export interface AdaptableTransientState {
64
+ Popup: PopupState;
65
+ Grid: GridState;
66
+ System: SystemState;
67
+ Plugins: {
68
+ [key: string]: any;
69
+ };
70
+ }
@@ -8,17 +8,15 @@ import { FDC3Intent } from '../../types';
8
8
  */
9
9
  export interface FDC3Context {
10
10
  /**
11
- * The type of the context that uniquely identifies it, e.g. "instrument".
12
- * This is used to refer to the accepted context(s) when declaring intents. See [[AppDirIntent]].
11
+ * Type of context that uniquely identifies it, e.g. "instrument"; used to refer to the accepted context(s) when declaring intents
13
12
  */
14
- type: string;
13
+ type: ContextType;
15
14
  /**
16
- * The name of the context data (optional). This is a text string that describes the data being sent.
17
- * Implementors of context may choose to make the name mandatory.
15
+ * Name of the context data (optional) - a text string that describes the data being sent
18
16
  */
19
17
  name?: string;
20
18
  /**
21
- * An optional map of any equivalent identifiers for the context type, e.g. ISIN, CUSIP, etc. for an instrument.
19
+ * Optional map of any equivalent identifiers for the context type, e.g. ISIN, CUSIP, etc. for Instrument
22
20
  */
23
21
  id?: {
24
22
  [key: string]: string | undefined;
@@ -30,19 +28,19 @@ export interface FDC3Context {
30
28
  [key: string]: unknown;
31
29
  }
32
30
  /**
33
- * Built-in context to define a financial Instrument
31
+ * FDC3 Context to define a financial Instrument
34
32
  */
35
33
  export interface InstrumentContext extends FDC3Context {
36
34
  /**
37
- * Context type is always 'instrument'
35
+ * Context type is always `instrument`
38
36
  */
39
37
  type: 'instrument';
40
38
  /**
41
- * Free text name of instrument
39
+ * Free text name of the Instrument
42
40
  */
43
41
  name?: string;
44
42
  /**
45
- * The instrument data
43
+ * Instrument data: ticker, ISIN, CUSIP, SEDOL, RIC, BBG, PERMID, FIGI
46
44
  */
47
45
  id?: {
48
46
  [key: string]: string;
@@ -57,13 +55,16 @@ export interface InstrumentContext extends FDC3Context {
57
55
  FIGI?: string;
58
56
  };
59
57
  }
58
+ /**
59
+ * FDC3 Context to define an array of financial Instruments
60
+ */
60
61
  export interface InstrumentListContext extends FDC3Context {
61
62
  /**
62
- * Context type is always 'instrumentList'
63
+ * Context type is always `instrumentList`
63
64
  */
64
65
  type: 'instrumentList';
65
66
  /**
66
- * Free text name of instrument list
67
+ * Free text name of list of Instruments (not set by AdapTable)
67
68
  */
68
69
  name?: string;
69
70
  /**
@@ -76,13 +77,16 @@ export interface InstrumentListContext extends FDC3Context {
76
77
  instruments?: InstrumentContext[];
77
78
  }
78
79
  /**
79
- * Built-in context to define a financial position
80
+ * FDC3 Context to define a financial Position (requires an Instrument)
80
81
  */
81
82
  export interface PositionContext extends FDC3Context {
82
83
  /**
83
- * Context type is always 'position'
84
+ * Context type is always `position`
84
85
  */
85
86
  type: 'position';
87
+ /**
88
+ * The `InstrumentContext` of the relevant Instrument
89
+ */
86
90
  instrument: InstrumentContext;
87
91
  /**
88
92
  * Free text name of Position
@@ -93,13 +97,16 @@ export interface PositionContext extends FDC3Context {
93
97
  */
94
98
  id?: any;
95
99
  /**
96
- * Holding in the Position
100
+ * Holding in the Position (mandatory)
97
101
  */
98
102
  holding: number;
99
103
  }
104
+ /**
105
+ * FDC3 Context to define a financial Portfolio (array of Positions)
106
+ */
100
107
  export interface PortfolioContext extends FDC3Context {
101
108
  /**
102
- * Context type is always 'portfolio'
109
+ * Context type is always `portfolio`
103
110
  */
104
111
  type: 'portfolio';
105
112
  /**
@@ -115,17 +122,20 @@ export interface PortfolioContext extends FDC3Context {
115
122
  */
116
123
  positions?: PositionContext[];
117
124
  }
125
+ /**
126
+ * FDC3 Context to define a Contact
127
+ */
118
128
  export interface ContactContext extends FDC3Context {
119
129
  /**
120
- * Context type is always 'contact'
130
+ * Context type is always `contact`
121
131
  */
122
132
  type: 'contact';
123
133
  /**
124
- * Free text name of contact
134
+ * Free text name of Contact
125
135
  */
126
136
  name?: string;
127
137
  /**
128
- * The contact data
138
+ * The Contact data: email, FDS_ID
129
139
  */
130
140
  id?: {
131
141
  [key: string]: string;
@@ -134,13 +144,16 @@ export interface ContactContext extends FDC3Context {
134
144
  FDS_ID?: string;
135
145
  };
136
146
  }
147
+ /**
148
+ * FDC3 Context to define a list of Contacts
149
+ */
137
150
  export interface ContactListContext extends FDC3Context {
138
151
  /**
139
- * Context type is always 'contactList'
152
+ * Context type is always `contactList`
140
153
  */
141
154
  type: 'contactList';
142
155
  /**
143
- * Free text name of contact list
156
+ * Free text name of Contact list
144
157
  */
145
158
  name?: string;
146
159
  /**
@@ -148,21 +161,24 @@ export interface ContactListContext extends FDC3Context {
148
161
  */
149
162
  id?: any;
150
163
  /**
151
- * The contact data
164
+ * The array of Contacts
152
165
  */
153
166
  contacts?: ContactContext[];
154
167
  }
168
+ /**
169
+ * FDC3 Context to define an Organization
170
+ */
155
171
  export interface OrganizationContext extends FDC3Context {
156
172
  /**
157
- * Context type is always 'organization'
173
+ * Context type is always `organization`
158
174
  */
159
175
  type: 'organization';
160
176
  /**
161
- * Free text name of organization
177
+ * Free text name of Organization
162
178
  */
163
179
  name?: string;
164
180
  /**
165
- * The organization data
181
+ * The Organization data: LEI, PERMID, FDS_ID
166
182
  */
167
183
  id?: {
168
184
  [key: string]: string;
@@ -172,17 +188,20 @@ export interface OrganizationContext extends FDC3Context {
172
188
  FDS_ID?: string;
173
189
  };
174
190
  }
191
+ /**
192
+ * FDC3 Context to define a Country
193
+ */
175
194
  export interface CountryContext extends FDC3Context {
176
195
  /**
177
- * Context type is always 'country'
196
+ * Context type is always `country`
178
197
  */
179
198
  type: 'country';
180
199
  /**
181
- * Free text name of country
200
+ * Free text name of Country
182
201
  */
183
202
  name?: string;
184
203
  /**
185
- * The country data
204
+ * The Country data: ISOALPHA2, ISOALPHA3
186
205
  */
187
206
  id?: {
188
207
  [key: string]: string;
@@ -191,8 +210,21 @@ export interface CountryContext extends FDC3Context {
191
210
  ISOALPHA3?: string;
192
211
  };
193
212
  }
213
+ /**
214
+ * EventInfo returned by `FDC3MessageSent` event
215
+ */
194
216
  export interface AdaptableFDC3EventInfo extends BaseEventInfo {
195
- type: 'RaiseIntent' | 'BroadcastMessage';
217
+ /**
218
+ * Type of Event: `RaiseIntent` or `BroadcastMessage`
219
+ */
220
+ eventType: 'RaiseIntent' | 'BroadcastMessage';
221
+ /**
222
+ * The FDC3 Intent which caused Event to fire (if type is `RaiseIntent`)
223
+ */
196
224
  intent?: FDC3Intent;
225
+ /**
226
+ * Full FDC3 Context for the object related to the event
227
+ */
197
228
  context: FDC3Context;
198
229
  }
230
+ export declare type ContextType = 'instrument' | 'instrumentList' | 'position' | 'portfolio' | 'contact' | 'contactList' | 'organization' | 'country';
@@ -1,3 +1,4 @@
1
+ import { AdaptablePersistentState } from '../AdaptableState';
1
2
  /**
2
3
  * Adaptable Toolbar collection. When setting `Toolbars` in Dashboard state, only those listed here can be included
3
4
  */
@@ -7,6 +8,8 @@ export declare type AdaptableDashboardToolbars = AdaptableDashboardToolbar[];
7
8
  */
8
9
  export declare type AdaptableDashboardToolbar = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
9
10
  export declare const ALL_TOOLBARS: AdaptableDashboardToolbar[];
11
+ export declare type AdaptableStatusBarPanel = 'CellSummary' | 'Alert' | 'GridInfo' | 'Dashboard' | 'ToolPanel' | 'StatusBar' | 'StateManagement' | 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SystemStatus' | 'DataChangeHistory' | 'TeamSharing' | 'Theme' | 'BulkUpdate' | 'SettingsPanel' | 'SmartEdit';
12
+ export declare const ALL_STATUS_SUB_PANELS: AdaptableStatusBarPanel[];
10
13
  export declare type AdaptableToolPanels = AdaptableToolPanel[];
11
14
  export declare type AdaptableToolPanel = 'Alert' | 'BulkUpdate' | 'CellSummary' | 'Dashboard' | 'DataChangeHistory' | 'Export' | 'Filter' | 'IPushPull' | 'Layout' | 'OpenFin' | 'Query' | 'QuickSearch' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'Theme';
12
15
  export declare const ALL_TOOL_PANELS: AdaptableToolPanels;
@@ -21,12 +24,12 @@ export declare type AdaptableModuleButtons = AdaptableModuleButton[];
21
24
  */
22
25
  export declare type AdaptableModuleButton = 'Alert' | 'FlashingCell' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme';
23
26
  export declare type AdaptableStateKeys = AdaptableStateKey[];
24
- export declare type AdaptableStateKey = 'Alert' | 'FlashingCell' | 'Application' | 'CalculatedColumn' | 'Charting' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'Theme' | 'ToolPanel';
27
+ export declare type AdaptableStateKey = keyof AdaptablePersistentState | 'OpenFin' | 'Glue42' | 'IPushPull';
25
28
  /**
26
29
  * Modules provided by AdapTable, subject to Entitlements and usually have Predefined Config
27
30
  */
28
- export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Charting' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
29
- export declare type AdaptableSettingsPanel = 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
31
+ export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Charting' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
32
+ export declare type AdaptableSettingsPanel = 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'StateManagement' | 'StatusBar' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
30
33
  export declare type TypeHint<Base, Literals> = (Base & {
31
34
  __subType?: true;
32
35
  }) | Literals;