@adaptabletools/adaptable 24.0.0-canary.7 → 24.0.0-canary.9

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 (261) hide show
  1. package/agGrid.d.ts +2 -3
  2. package/agGrid.js +2 -3
  3. package/aql.d.ts +29 -1
  4. package/aql.js +49 -1
  5. package/devtools.d.ts +55 -1
  6. package/index.css +7 -19
  7. package/index.d.ts +2 -3
  8. package/index.js +2 -3
  9. package/package.json +1 -1
  10. package/src/AdaptableOptions/ActionColumnOptions.d.ts +24 -0
  11. package/src/AdaptableOptions/AdaptableOptions.d.ts +97 -69
  12. package/src/AdaptableOptions/AdaptablePlugin.d.ts +113 -1
  13. package/src/AdaptableOptions/AlertOptions.d.ts +0 -2
  14. package/src/AdaptableOptions/ChartingOptions.d.ts +11 -5
  15. package/src/AdaptableOptions/ColumnMenuOptions.d.ts +30 -0
  16. package/src/AdaptableOptions/ColumnOptions.d.ts +0 -2
  17. package/src/AdaptableOptions/CommentOptions.d.ts +12 -4
  18. package/src/AdaptableOptions/ContextMenuOptions.d.ts +31 -1
  19. package/src/AdaptableOptions/DashboardOptions.d.ts +0 -3
  20. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +3 -2
  21. package/src/AdaptableOptions/DefaultAdaptableOptions.js +6 -0
  22. package/src/AdaptableOptions/EditOptions.d.ts +18 -2
  23. package/src/AdaptableOptions/ExportOptions.d.ts +23 -0
  24. package/src/AdaptableOptions/ExpressionOptions.d.ts +0 -3
  25. package/src/AdaptableOptions/Fdc3Options.d.ts +77 -3
  26. package/src/AdaptableOptions/FilterOptions.d.ts +13 -8
  27. package/src/AdaptableOptions/LayoutOptions.d.ts +16 -3
  28. package/src/AdaptableOptions/NotificationsOptions.d.ts +0 -1
  29. package/src/AdaptableOptions/QuickSearchOptions.d.ts +0 -2
  30. package/src/AdaptableOptions/RowFormOptions.d.ts +9 -0
  31. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +10 -1
  32. package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -1
  33. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +87 -2
  34. package/src/AdaptableState/AdaptableState.d.ts +98 -4
  35. package/src/AdaptableState/AlertState.d.ts +20 -21
  36. package/src/AdaptableState/ApplicationState.d.ts +5 -3
  37. package/src/AdaptableState/BaseState.d.ts +9 -2
  38. package/src/AdaptableState/CalculatedColumnState.d.ts +10 -8
  39. package/src/AdaptableState/ChartingState.d.ts +10 -5
  40. package/src/AdaptableState/CommentState.d.ts +10 -4
  41. package/src/AdaptableState/Common/AdaptableAlert.d.ts +6 -2
  42. package/src/AdaptableState/Common/AdaptableButton.d.ts +3 -1
  43. package/src/AdaptableState/Common/AdaptableColumn.d.ts +38 -1
  44. package/src/AdaptableState/Common/AdaptableFilterState.d.ts +3 -1
  45. package/src/AdaptableState/Common/AdaptableFlashingCell.d.ts +3 -1
  46. package/src/AdaptableState/Common/AdaptableForm.d.ts +9 -0
  47. package/src/AdaptableState/Common/AdaptableFormat.d.ts +27 -1
  48. package/src/AdaptableState/Common/AdaptableIcon.d.ts +4 -2
  49. package/src/AdaptableState/Common/AdaptableObject.d.ts +9 -1
  50. package/src/AdaptableState/Common/AdaptableQuery.d.ts +9 -0
  51. package/src/AdaptableState/Common/AdaptableStyle.d.ts +6 -8
  52. package/src/AdaptableState/Common/AggregationColumns.d.ts +15 -6
  53. package/src/AdaptableState/Common/ButtonStyle.d.ts +3 -1
  54. package/src/AdaptableState/Common/CellDataChangedInfo.d.ts +6 -2
  55. package/src/AdaptableState/Common/CellHighlightInfo.d.ts +4 -2
  56. package/src/AdaptableState/Common/CellSummary.d.ts +33 -0
  57. package/src/AdaptableState/Common/ColumnFilter.d.ts +3 -1
  58. package/src/AdaptableState/Common/ColumnHighlightInfo.d.ts +4 -2
  59. package/src/AdaptableState/Common/ColumnScope.d.ts +32 -1
  60. package/src/AdaptableState/Common/ColumnSetupInfo.d.ts +17 -0
  61. package/src/AdaptableState/Common/ColumnSort.d.ts +3 -1
  62. package/src/AdaptableState/Common/CompactCalculatedColumnEditorInfo.d.ts +3 -0
  63. package/src/AdaptableState/Common/DataChangedScope.d.ts +3 -1
  64. package/src/AdaptableState/Common/DataUpdateConfig.d.ts +3 -1
  65. package/src/AdaptableState/Common/Entitlement.d.ts +4 -2
  66. package/src/AdaptableState/Common/Enums.d.ts +21 -0
  67. package/src/AdaptableState/Common/ExtendedLayout.d.ts +3 -1
  68. package/src/AdaptableState/Common/Fdc3Context.d.ts +9 -0
  69. package/src/AdaptableState/Common/Fdc3Intent.d.ts +6 -0
  70. package/src/AdaptableState/Common/GridFilter.d.ts +3 -1
  71. package/src/AdaptableState/Common/MenuItem.d.ts +9 -0
  72. package/src/AdaptableState/Common/RowHighlightInfo.d.ts +4 -2
  73. package/src/AdaptableState/Common/RowScope.d.ts +3 -1
  74. package/src/AdaptableState/Common/RowSummary.d.ts +14 -4
  75. package/src/AdaptableState/Common/RowsHighlightInfo.d.ts +5 -3
  76. package/src/AdaptableState/Common/Schedule.d.ts +10 -2
  77. package/src/AdaptableState/Common/SpecialColumnSettings.d.ts +3 -1
  78. package/src/AdaptableState/Common/SystemStatusMessageInfo.d.ts +4 -2
  79. package/src/AdaptableState/Common/TransposeConfig.d.ts +1 -1
  80. package/src/AdaptableState/Common/Types.d.ts +9 -0
  81. package/src/AdaptableState/CustomSortState.d.ts +8 -5
  82. package/src/AdaptableState/DashboardState.d.ts +14 -10
  83. package/src/AdaptableState/ExportState.d.ts +12 -4
  84. package/src/AdaptableState/FlashingCellState.d.ts +8 -5
  85. package/src/AdaptableState/FormatColumnState.d.ts +28 -8
  86. package/src/AdaptableState/FreeTextColumnState.d.ts +14 -8
  87. package/src/AdaptableState/IPushPullState.d.ts +39 -3
  88. package/src/AdaptableState/InitialState.d.ts +9 -9
  89. package/src/AdaptableState/InternalState.d.ts +183 -3
  90. package/src/AdaptableState/LayoutState.d.ts +64 -21
  91. package/src/AdaptableState/NamedQueryState.d.ts +16 -4
  92. package/src/AdaptableState/NoteState.d.ts +7 -3
  93. package/src/AdaptableState/OpenFinState.d.ts +12 -2
  94. package/src/AdaptableState/PlusMinusState.d.ts +8 -4
  95. package/src/AdaptableState/PopupState.d.ts +29 -1
  96. package/src/AdaptableState/QuickSearchState.d.ts +5 -3
  97. package/src/AdaptableState/Selection/GridCell.d.ts +5 -3
  98. package/src/AdaptableState/Selection/GridCellRange.d.ts +8 -7
  99. package/src/AdaptableState/Selection/SelectedCellInfo.d.ts +1 -1
  100. package/src/AdaptableState/ShortcutState.d.ts +7 -3
  101. package/src/AdaptableState/StatusBarState.d.ts +7 -6
  102. package/src/AdaptableState/StyledColumnState.d.ts +46 -14
  103. package/src/AdaptableState/TeamSharingState.d.ts +46 -2
  104. package/src/AdaptableState/ThemeState.d.ts +24 -2
  105. package/src/AdaptableState/ToolPanelState.d.ts +10 -5
  106. package/src/AdaptableState/UserInterfaceState.d.ts +2 -2
  107. package/src/AdaptableState/Uuid.d.ts +6 -0
  108. package/src/Api/ActionColumnApi.d.ts +3 -1
  109. package/src/Api/AdaptableApi.d.ts +54 -50
  110. package/src/Api/AlertApi.d.ts +20 -12
  111. package/src/Api/ApplicationApi.d.ts +6 -2
  112. package/src/Api/BulkUpdateApi.d.ts +2 -1
  113. package/src/Api/CalculatedColumnApi.d.ts +4 -1
  114. package/src/Api/CalendarApi.d.ts +10 -0
  115. package/src/Api/CellSummaryApi.d.ts +9 -3
  116. package/src/Api/ChartingApi.d.ts +22 -7
  117. package/src/Api/ColumnApi.d.ts +71 -4
  118. package/src/Api/ColumnFilterApi.d.ts +13 -3
  119. package/src/Api/ColumnMenuApi.d.ts +13 -2
  120. package/src/Api/ColumnScopeApi.d.ts +27 -1
  121. package/src/Api/CommentApi.d.ts +10 -7
  122. package/src/Api/ContextMenuApi.d.ts +11 -1
  123. package/src/Api/CustomSortApi.d.ts +6 -2
  124. package/src/Api/DashboardApi.d.ts +30 -9
  125. package/src/Api/DataChangeHistoryApi.d.ts +9 -3
  126. package/src/Api/DataImportApi.d.ts +1 -1
  127. package/src/Api/EntitlementApi.d.ts +6 -1
  128. package/src/Api/EventApi.d.ts +67 -19
  129. package/src/Api/Events/AdaptableReady.d.ts +6 -2
  130. package/src/Api/Events/AdaptableStateChanged.d.ts +9 -5
  131. package/src/Api/Events/AdaptableStateReloaded.d.ts +7 -3
  132. package/src/Api/Events/AlertFired.d.ts +8 -2
  133. package/src/Api/Events/BeforeAdaptableStateChange.d.ts +6 -2
  134. package/src/Api/Events/CalculatedColumnChanged.d.ts +7 -3
  135. package/src/Api/Events/CellChanged.d.ts +6 -2
  136. package/src/Api/Events/CellSelectionChanged.d.ts +6 -2
  137. package/src/Api/Events/ChartChanged.d.ts +16 -8
  138. package/src/Api/Events/CommentChanged.d.ts +8 -2
  139. package/src/Api/Events/CustomToolbarConfigured.d.ts +6 -2
  140. package/src/Api/Events/DashboardChanged.d.ts +27 -6
  141. package/src/Api/Events/DataImported.d.ts +8 -4
  142. package/src/Api/Events/DataSetSelected.d.ts +6 -2
  143. package/src/Api/Events/Fdc3MessageInfo.d.ts +14 -4
  144. package/src/Api/Events/FlashingCellDisplayed.d.ts +6 -2
  145. package/src/Api/Events/GridFilterApplied.d.ts +11 -3
  146. package/src/Api/Events/GridSorted.d.ts +6 -2
  147. package/src/Api/Events/LayoutChanged.d.ts +36 -5
  148. package/src/Api/Events/LiveDataChanged.d.ts +21 -5
  149. package/src/Api/Events/NoteChanged.d.ts +5 -1
  150. package/src/Api/Events/ReportScheduleRan.d.ts +7 -3
  151. package/src/Api/Events/RowChanged.d.ts +6 -2
  152. package/src/Api/Events/RowFormSubmitted.d.ts +28 -12
  153. package/src/Api/Events/RowSelectionChanged.d.ts +6 -2
  154. package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +6 -2
  155. package/src/Api/Events/TeamSharingEntityChanged.d.ts +6 -2
  156. package/src/Api/Events/ThemeSelected.d.ts +6 -2
  157. package/src/Api/ExportApi.d.ts +59 -32
  158. package/src/Api/ExpressionApi.d.ts +24 -1
  159. package/src/Api/Fdc3Api.d.ts +16 -3
  160. package/src/Api/FlashingCellApi.d.ts +6 -1
  161. package/src/Api/FormatColumnApi.d.ts +18 -11
  162. package/src/Api/FreeTextColumnApi.d.ts +4 -2
  163. package/src/Api/GridApi.d.ts +92 -19
  164. package/src/Api/IPushPullApi.d.ts +19 -2
  165. package/src/Api/Internal/EventInternalApi.d.ts +2 -1
  166. package/src/Api/Internal/EventInternalApi.js +7 -0
  167. package/src/Api/InteropioPluginApi.d.ts +2 -1
  168. package/src/Api/LayoutApi.d.ts +29 -15
  169. package/src/Api/NamedQueryApi.d.ts +10 -6
  170. package/src/Api/NoteApi.d.ts +15 -11
  171. package/src/Api/OpenFinApi.d.ts +8 -2
  172. package/src/Api/OptionsApi.d.ts +43 -1
  173. package/src/Api/PluginsApi.d.ts +6 -1
  174. package/src/Api/PlusMinusApi.d.ts +2 -1
  175. package/src/Api/QuickSearchApi.d.ts +6 -1
  176. package/src/Api/RowFormApi.d.ts +8 -7
  177. package/src/Api/ShortcutApi.d.ts +3 -1
  178. package/src/Api/SmartEditApi.d.ts +4 -1
  179. package/src/Api/StateApi.d.ts +30 -2
  180. package/src/Api/StatusBarApi.d.ts +2 -0
  181. package/src/Api/StyledColumnApi.d.ts +23 -12
  182. package/src/Api/SystemStatusApi.d.ts +18 -6
  183. package/src/Api/TeamSharingApi.d.ts +8 -1
  184. package/src/Api/ThemeApi.d.ts +17 -8
  185. package/src/Api/ToolPanelApi.d.ts +12 -7
  186. package/src/Api/UserInterfaceApi.d.ts +10 -1
  187. package/src/Redux/Store/AdaptableStore.js +1 -1
  188. package/src/View/Filter/ColumnFilter/ColumnFilterNew.js +14 -9
  189. package/src/agGrid/Adaptable.d.ts +0 -12
  190. package/src/agGrid/Adaptable.js +0 -52
  191. package/src/agGrid/AdaptableFrameworkComponent.d.ts +12 -0
  192. package/src/agGrid/AdaptableLogger.d.ts +74 -1
  193. package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -0
  194. package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +3 -0
  195. package/src/agGrid/index.d.ts +1 -6
  196. package/src/agGrid/index.js +1 -3
  197. package/src/aql/ExpressionEvaluation.d.ts +27 -0
  198. package/src/aql/types.d.ts +22 -0
  199. package/src/components/ColorField/index.d.ts +2 -3
  200. package/src/components/ColorField/index.js +22 -2
  201. package/src/components/aql/QueryBuilder/GroupEditor.js +1 -1
  202. package/src/components/aql/QueryBuilder/QueryBuilder.d.ts +5 -0
  203. package/src/components/aql/QueryBuilder/QueryBuilder.js +1 -1
  204. package/src/components/aql/QueryBuilder/context.d.ts +7 -0
  205. package/src/components/aql/QueryBuilder/context.js +3 -1
  206. package/src/env.js +2 -2
  207. package/src/migration/legacyAdaptableQuery.d.ts +29 -4
  208. package/src/setupDevTools.js +223 -0
  209. package/src/types.d.ts +1 -3
  210. package/tsconfig.esm.tsbuildinfo +1 -1
  211. package/vendor/components/ColorField/index.d.ts +12 -2
  212. package/vendor/components/ColorField/index.d.ts.map +1 -1
  213. package/vendor/components/ColorField/index.js +3 -4
  214. package/vendor/components/ColorField/index.js.map +1 -1
  215. package/vendor/components/ColorPicker/index.d.ts +50 -11
  216. package/vendor/components/ColorPicker/index.d.ts.map +1 -1
  217. package/vendor/components/ColorPicker/index.js +172 -54
  218. package/vendor/components/ColorPicker/index.js.map +1 -1
  219. package/vendor/components/ColorPicker/themeColors.d.ts +42 -1
  220. package/vendor/components/ColorPicker/themeColors.d.ts.map +1 -1
  221. package/vendor/components/ColorPicker/themeColors.js +131 -1
  222. package/vendor/components/ColorPicker/themeColors.js.map +1 -1
  223. package/vendor/components/index.css +6 -0
  224. package/vendor/components/index.d.ts +2 -2
  225. package/vendor/components/index.d.ts.map +1 -1
  226. package/vendor/components/index.js +1 -1
  227. package/vendor/components/index.js.map +1 -1
  228. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +0 -99
  229. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +0 -1
  230. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.d.ts +0 -15
  231. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +0 -1
  232. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +0 -19
  233. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +0 -337
  234. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +0 -5
  235. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +0 -4
  236. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +0 -30
  237. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +0 -162
  238. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.d.ts +0 -18
  239. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +0 -12
  240. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.d.ts +0 -8
  241. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +0 -131
  242. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.d.ts +0 -8
  243. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +0 -30
  244. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.d.ts +0 -6
  245. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +0 -80
  246. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.d.ts +0 -6
  247. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +0 -100
  248. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +0 -11
  249. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +0 -8
  250. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.d.ts +0 -2
  251. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +0 -2
  252. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.d.ts +0 -21
  253. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +0 -63
  254. package/src/View/AdaptableWizardView/Utilities/Utils.d.ts +0 -1
  255. package/src/View/AdaptableWizardView/Utilities/Utils.js +0 -21
  256. package/src/View/AdaptableWizardView/Utilities/helper.d.ts +0 -19
  257. package/src/View/AdaptableWizardView/Utilities/helper.js +0 -81
  258. package/src/View/AdaptableWizardView/Wizard.d.ts +0 -57
  259. package/src/View/AdaptableWizardView/Wizard.js +0 -98
  260. package/src/View/AdaptableWizardView/index.d.ts +0 -4
  261. package/src/View/AdaptableWizardView/index.js +0 -4
@@ -2,7 +2,7 @@ import { SmartEditOperation } from '../AdaptableOptions/EditOptions';
2
2
  import { MathOperation } from '../AdaptableState/Common/Enums';
3
3
  import { SmartEditCustomOperation } from '../types';
4
4
  /**
5
- * Provides run-time access to the Smart Edit Module
5
+ * Smart Edit: one change applied to every selected cell.
6
6
  **/
7
7
  export interface SmartEditApi {
8
8
  /**
@@ -17,6 +17,7 @@ export interface SmartEditApi {
17
17
  setCustomSmartEditOperation(customOperationName: string): void;
18
18
  /**
19
19
  * Gets current Smart Edit Operation
20
+ * @returns Current Smart Edit Operation
20
21
  */
21
22
  getSmartEditOperation(): SmartEditOperation;
22
23
  /**
@@ -26,6 +27,7 @@ export interface SmartEditApi {
26
27
  setSmartEditValue(smartEditValue: number): void;
27
28
  /**
28
29
  * Returns current Smart Edit Value
30
+ * @returns Current Smart Edit Value
29
31
  */
30
32
  getSmartEditValue(): number;
31
33
  /**
@@ -34,6 +36,7 @@ export interface SmartEditApi {
34
36
  openSmartEditSettingsPanel(): void;
35
37
  /**
36
38
  * Retrieves an Smart Edit Custom Operations (provided in Edit Options)
39
+ * @returns An Smart Edit Custom Operations (provided in Edit Options)
37
40
  */
38
41
  getSmartEditCustomOperations(): SmartEditCustomOperation[];
39
42
  }
@@ -17,7 +17,7 @@ import { ToolPanelState } from '../AdaptableState/ToolPanelState';
17
17
  import { AdaptableModule, AdaptableStateKey } from '../AdaptableState/Common/Types';
18
18
  import { AdaptableFilterState, AdaptableSortState, ChartingState, FlashingCellState, InitialState, NamedQueryState, NoteState, StatusBarState, StyledColumnState } from '../types';
19
19
  /**
20
- * Range of functions to access Initial and Full Adaptable State
20
+ * Adaptable State: the initial state, the full state, the persisted user state, and each module's section.
21
21
  */
22
22
  export interface StateApi {
23
23
  /**
@@ -35,6 +35,7 @@ export interface StateApi {
35
35
  }): Promise<void>;
36
36
  /**
37
37
  * Returns the Initial Adaptable State
38
+ * @returns The Initial Adaptable State
38
39
  */
39
40
  getInitialState(): InitialState | any;
40
41
  /**
@@ -72,40 +73,47 @@ export interface StateApi {
72
73
  copyUserStateToClipboard(): void;
73
74
  /**
74
75
  * Loads supplied user state, replacing (NOT merging) existing User(persisted) State.
75
- * @param state
76
+ * @param state User state to load. Replaces the persisted state. It is not merged with it
76
77
  */
77
78
  loadUserState(state: InitialState): Promise<void>;
78
79
  /**
79
80
  * Retrieves ALL state which is currently stored by Adaptable (both persistent and transient/internal)
81
+ * @returns ALL state which is currently stored by Adaptable (both persistent and transient/internal)
80
82
  */
81
83
  getAllState(): AdaptableState;
82
84
  /**
83
85
  * Retrieves the persistent state in Adaptable, i.e. state that is passed to the `StateOptions.persistState()` function.
84
86
  *
87
+ * @returns The persistent state in Adaptable, i.e. state that is passed to the `StateOptions.persistState()` function
85
88
  */
86
89
  getPersistentState(): AdaptablePersistentState;
87
90
  /**
88
91
  * Gets filter-related sections of Adaptable State
92
+ * @returns Filter-related sections of Adaptable State
89
93
  */
90
94
  getAdaptableFilterState(): AdaptableFilterState;
91
95
  /**
92
96
  * Gets sort-related sections of Adaptable State
97
+ * @returns Sort-related sections of Adaptable State
93
98
  */
94
99
  getAdaptableSortState(): AdaptableSortState;
95
100
  /**
96
101
  * Retrieves a brief description of an AdapTable Module
97
102
  * @param adaptableModule Adaptable Module to get description for
103
+ * @returns A brief description of an AdapTable Module
98
104
  */
99
105
  getDescriptionForModule(adaptableModule: AdaptableModule): string;
100
106
  /**
101
107
  * Retrieves the help page for an AdapTable Module
102
108
  * @param adaptableModule Adaptable Module to get help page for
109
+ * @returns The help page for an AdapTable Module
103
110
  */
104
111
  getHelpPageForModule(adaptableModule: AdaptableModule): string;
105
112
  /**
106
113
  * Returns given section of Adaptable State (as JSON or object)
107
114
  * @param stateKey section of State to return
108
115
  * @param returnJson whether to return section as JSON or object
116
+ * @returns Given section of Adaptable State (as JSON or object)
109
117
  */
110
118
  getUserStateByStateKey(stateKey: AdaptableStateKey, returnJson?: boolean): BaseState | string;
111
119
  /**
@@ -116,101 +124,121 @@ export interface StateApi {
116
124
  /**
117
125
  * Returns Alert section of Adaptable State
118
126
  * @param returnJson return as JSON rather than object
127
+ * @returns Alert section of Adaptable State
119
128
  */
120
129
  getAlertState(returnJson?: boolean): AlertState;
121
130
  /**
122
131
  * Returns Application section of Adaptable State
123
132
  * @param returnJson return as JSON rather than object
133
+ * @returns Application section of Adaptable State
124
134
  */
125
135
  getApplicationState(returnJson?: boolean): ApplicationState;
126
136
  /**
127
137
  * Returns Calculated Column section of Adaptable State
128
138
  * @param returnJson return as JSON rather than object
139
+ * @returns Calculated Column section of Adaptable State
129
140
  */
130
141
  getCalculatedColumnState(returnJson?: boolean): CalculatedColumnState;
131
142
  /**
132
143
  * Returns Charting section of Adaptable State
133
144
  * @param returnJson return as JSON rather than object
145
+ * @returns Charting section of Adaptable State
134
146
  */
135
147
  getChartingState(returnJson?: boolean): ChartingState;
136
148
  /**
137
149
  * Returns Note section of Adaptable State
138
150
  * @param returnJson return as JSON rather than object
151
+ * @returns Note section of Adaptable State
139
152
  */
140
153
  getNoteState(returnJson?: boolean): NoteState;
141
154
  /**
142
155
  * Returns Custom Sort section of Adaptable State
143
156
  * @param returnJson return as JSON rather than object
157
+ * @returns Custom Sort section of Adaptable State
144
158
  */
145
159
  getCustomSortState(returnJson?: boolean): CustomSortState;
146
160
  /**
147
161
  * Returns Dashboard section of Adaptable State
148
162
  * @param returnJson return as JSON rather than object
163
+ * @returns Dashboard section of Adaptable State
149
164
  */
150
165
  getDashboardState(returnJson?: boolean): DashboardState;
151
166
  /**
152
167
  * Returns Export section of Adaptable State
153
168
  * @param returnJson return as JSON rather than object
169
+ * @returns Export section of Adaptable State
154
170
  */
155
171
  getExportState(returnJson?: boolean): ExportState;
156
172
  /**
157
173
  * Returns Flashing Cell section of Adaptable State
158
174
  * @param returnJson return as JSON rather than object
175
+ * @returns Flashing Cell section of Adaptable State
159
176
  */
160
177
  getFlashingCellState(returnJson?: boolean): FlashingCellState;
161
178
  /**
162
179
  * Returns Format Column section of Adaptable State
163
180
  * @param returnJson return as JSON rather than object
181
+ * @returns Format Column section of Adaptable State
164
182
  */
165
183
  getFormatColumnState(returnJson?: boolean): FormatColumnState;
166
184
  /**
167
185
  * Returns FreeText Column section of Adaptable State
168
186
  * @param returnJson return as JSON rather than object
187
+ * @returns FreeText Column section of Adaptable State
169
188
  */
170
189
  getFreeTextColumnState(returnJson?: boolean): FreeTextColumnState;
171
190
  /**
172
191
  * Returns Layout section of Adaptable State
173
192
  * @param returnJson return as JSON rather than object
193
+ * @returns Layout section of Adaptable State
174
194
  */
175
195
  getLayoutState(returnJson?: boolean): LayoutState;
176
196
  /**
177
197
  * Returns Plus Minus section of Adaptable State
178
198
  * @param returnJson return as JSON rather than object
199
+ * @returns Plus Minus section of Adaptable State
179
200
  */
180
201
  getPlusMinusState(returnJson?: boolean): PlusMinusState;
181
202
  /**
182
203
  * Returns Query section of Adaptable State
183
204
  * @param returnJson return as JSON rather than object
205
+ * @returns Query section of Adaptable State
184
206
  */
185
207
  getNamedQueryState(returnJson?: boolean): NamedQueryState;
186
208
  /**
187
209
  * Returns Quick Search section of Adaptable State
188
210
  * @param returnJson return as JSON rather than object
211
+ * @returns Quick Search section of Adaptable State
189
212
  */
190
213
  getQuickSearchState(returnJson?: boolean): QuickSearchState;
191
214
  /**
192
215
  * Returns Shortcut section of Adaptable State
193
216
  * @param returnJson return as JSON rather than object
217
+ * @returns Shortcut section of Adaptable State
194
218
  */
195
219
  getShortcutState(returnJson?: boolean): ShortcutState;
196
220
  /**
197
221
  * Returns StatusBar section of Adaptable State
198
222
  * @param returnJson return as JSON rather than object
223
+ * @returns StatusBar section of Adaptable State
199
224
  */
200
225
  getStatusBarState(returnJson?: boolean): StatusBarState;
201
226
  /**
202
227
  * Returns StyledColumn section of Adaptable State
203
228
  * @param returnJson return as JSON rather than object
229
+ * @returns StyledColumn section of Adaptable State
204
230
  */
205
231
  getStyledColumnState(returnJson?: boolean): StyledColumnState;
206
232
  /**
207
233
  * Returns Theme section of Adaptable State
208
234
  * @param returnJson return as JSON rather than object
235
+ * @returns Theme section of Adaptable State
209
236
  */
210
237
  getThemeState(returnJson?: boolean): ThemeState;
211
238
  /**
212
239
  * Returns Tool Panel section of Adaptable State
213
240
  * @param returnJson return as JSON rather than object
241
+ * @returns Tool Panel section of Adaptable State
214
242
  */
215
243
  getToolPanelState(returnJson?: boolean): ToolPanelState;
216
244
  /**
@@ -6,10 +6,12 @@ import { AdaptableStatusBar } from '../AdaptableState/StatusBarState';
6
6
  export interface StatusBarApi {
7
7
  /**
8
8
  * Retrieves current AG Grid Status Bar Panels
9
+ * @returns Current AG Grid Status Bar Panels
9
10
  */
10
11
  getAgGridStatusPanels(): StatusPanelDef[];
11
12
  /**
12
13
  * Retrieves current AdapTable Status Bar Panels
14
+ * @returns Current AdapTable Status Bar Panels
13
15
  */
14
16
  getAdaptableStatusBars(): AdaptableStatusBar[];
15
17
  /**
@@ -2,11 +2,12 @@ import type { AgChartInstance, AgSparklineOptions } from 'ag-charts-types';
2
2
  import { AdaptableColumn } from '../AdaptableState/Common/AdaptableColumn';
3
3
  import { StyledColumn, StyledColumnState } from '../AdaptableState/StyledColumnState';
4
4
  /**
5
- * Provides run-time access to Styled Column Module and associated state
5
+ * Styled Columns: badges, bars, sparklines and the other styles AdapTable draws in a cell.
6
6
  */
7
7
  export interface StyledColumnApi {
8
8
  /**
9
9
  * Retrieves Styled Column section from Adaptable State
10
+ * @returns Styled Column section from Adaptable State
10
11
  */
11
12
  getStyledColumnState(): StyledColumnState;
12
13
  /**
@@ -28,7 +29,7 @@ export interface StyledColumnApi {
28
29
  getStyledColumnByName(name: StyledColumn['Name']): StyledColumn | undefined;
29
30
  /**
30
31
  * Retrieves Styled Column for given Column Id
31
- * @param columnId Styled Column id
32
+ * @param columnId Column the Styled Column is drawn in
32
33
  * @returns Styled Column
33
34
  */
34
35
  getStyledColumnForColumnId(columnId: StyledColumn['ColumnId']): StyledColumn;
@@ -43,13 +44,14 @@ export interface StyledColumnApi {
43
44
  */
44
45
  getSuspendedStyledColumns(): StyledColumn[];
45
46
  /**
46
- * Delete a Styled column
47
- * @param styledColumn
47
+ * Deletes a Styled Column from state.
48
+ * @param styledColumn Styled Column to delete
48
49
  */
49
50
  deleteStyledColumn(styledColumn: StyledColumn): void;
50
51
  /**
51
52
  * Edits a Styled Column
52
53
  * @param styledColumn Styled Column to edit
54
+ * @returns The Styled Column after it is saved
53
55
  */
54
56
  editStyledColumn(styledColumn: StyledColumn): StyledColumn;
55
57
  /**
@@ -57,18 +59,18 @@ export interface StyledColumnApi {
57
59
  */
58
60
  deleteAllStyledColumns(): void;
59
61
  /**
60
- * Create a Styled column
61
- * @param styledColumn
62
+ * Adds a Styled Column to state.
63
+ * @param styledColumn Styled Column to add
62
64
  */
63
65
  addStyledColumn(styledColumn: StyledColumn): void;
64
66
  /**
65
- * Suspends an active Styled Column
66
- * @param styledColumn
67
+ * Suspends an active Styled Column so its style is no longer drawn.
68
+ * @param styledColumn Styled Column to suspend
67
69
  */
68
70
  suspendStyledColumn(styledColumn: StyledColumn): void;
69
71
  /**
70
- * Activates a suspended Styled Column
71
- * @param styledColumn
72
+ * Activates a suspended Styled Column so its style is drawn again.
73
+ * @param styledColumn Styled Column to activate
72
74
  */
73
75
  unSuspendStyledColumn(styledColumn: StyledColumn): void;
74
76
  /**
@@ -82,31 +84,37 @@ export interface StyledColumnApi {
82
84
  /**
83
85
  * Checks whether Column with given `columnId` has a PercentBar Style applied
84
86
  * @param columnId column ID
87
+ * @returns `true` when the column has a Percent Bar style
85
88
  */
86
89
  hasPercentBarStyle(columnId: string): boolean;
87
90
  /**
88
91
  * Checks whether Column with given `columnId` has a Gradient Style applied
89
92
  * @param columnId column ID
93
+ * @returns `true` when the column has a Gradient style
90
94
  */
91
95
  hasGradientStyle(columnId: string): boolean;
92
96
  /**
93
97
  * Checks whether Column with given `columnId` has a Bullet Chart Style applied
94
98
  * @param columnId column ID
99
+ * @returns `true` when the column has a Bullet Chart style
95
100
  */
96
101
  hasBulletChartStyle(columnId: string): boolean;
97
102
  /**
98
103
  * Checks whether Column with given `columnId` has a Rating Style applied
99
104
  * @param columnId column ID
105
+ * @returns `true` when the column has a Rating style
100
106
  */
101
107
  hasRatingStyle(columnId: string): boolean;
102
108
  /**
103
- * Checks whether Column is a Sparkline Column
104
- * @param columnId column ID
109
+ * Whether this column is drawn as a sparkline.
110
+ * @param column Column to check
111
+ * @returns `true` when this column is drawn as a sparkline
105
112
  */
106
113
  isSparklineStyleStyledColumn(column: AdaptableColumn): boolean;
107
114
  /**
108
115
  * Returns a Styled Column for a given column
109
116
  * @param column Column to check
117
+ * @returns A Styled Column for a given column
110
118
  */
111
119
  getActiveStyledColumnForColumn(column: AdaptableColumn): StyledColumn | undefined;
112
120
  /**
@@ -115,6 +123,7 @@ export interface StyledColumnApi {
115
123
  openStyledColumnSettingsPanel(): void;
116
124
  /**
117
125
  * Can this AdapTable instance display Sparklines (e.g. is AG Grid SparklinesModule installed)
126
+ * @returns `true` when this instance can draw sparklines
118
127
  */
119
128
  canDisplaySparklines(): boolean;
120
129
  /**
@@ -128,6 +137,8 @@ export interface StyledColumnApi {
128
137
  * The caller owns the returned instance and is responsible for its lifecycle: call `update()` to
129
138
  * re-render it when the data or options change, and `destroy()` to dispose of it (e.g. when the
130
139
  * `container` is removed) to avoid memory leaks. AdapTable does not track or clean it up for you.
140
+ * @param options Where to render and what to plot. `container` and `data` are required
141
+ * @returns Renders a standalone [Sparkline](https://www.ag-grid.com/javascript-data-grid/sparklines-overview/) into a DOM element you provide, using the same AG Charts engine as Sparkline Styled Columns. Provide at least `container` (where to render) and `data` (what to plot) on `options`; see [AgSparklineOptions](https://www.ag-grid.com/javascript-data-grid/sparklines-overview/) for the full set (`type`, `width`/`height`, `min`/`max`, etc.). The caller owns the returned instance and is responsible for its lifecycle: call `update()` to re-render it when the data or options change, and `destroy()` to dispose of it (e.g. when the `container` is removed) to avoid memory leaks. AdapTable does not track or clean it up for you
131
142
  */
132
143
  renderSparkline(options: AgSparklineOptions): AgChartInstance<AgSparklineOptions> | null;
133
144
  }
@@ -4,23 +4,34 @@ import { SystemStatusMessageInfo } from '../AdaptableState/Common/SystemStatusMe
4
4
  */
5
5
  export interface SystemStatusApi {
6
6
  /**
7
- * Sets a new System Status message; appears in System Status toolbar, tool panel (and popup).
7
+ * Sets the System Status message shown in the System Status toolbar, tool panel and popup.
8
+ * @param statusMessage Text of the message
9
+ * @param messageType `Success`, `Info`, `Warning` or `Error`. Sets the colour of the message
10
+ * @param statusFurtherInformation Optional longer text shown with the message
8
11
  */
9
12
  setSystemStatus(statusMessage: string, messageType: 'Success' | 'Info' | 'Warning' | 'Error', statusFurtherInformation?: string): void;
10
13
  /**
11
- * Sets an **Error** System Status Message
14
+ * Sets an Error System Status message.
15
+ * @param statusMessage Text of the message
16
+ * @param furtherInformation Optional longer text shown with the message
12
17
  */
13
18
  setErrorSystemStatus(statusMessage: string, furtherInformation?: string): void;
14
19
  /**
15
- * Sets a **Warning** System Status Message
20
+ * Sets a Warning System Status message.
21
+ * @param statusMessage Text of the message
22
+ * @param furtherInformation Optional longer text shown with the message
16
23
  */
17
24
  setWarningSystemStatus(statusMessage: string, furtherInformation?: string): void;
18
25
  /**
19
- * Sets a **Success** System Status Message
26
+ * Sets a Success System Status message.
27
+ * @param statusMessage Text of the message
28
+ * @param furtherInformation Optional longer text shown with the message
20
29
  */
21
30
  setSuccessSystemStatus(statusMessage: string, furtherInformation?: string): void;
22
31
  /**
23
- * Sets an **Info** System Status Message
32
+ * Sets an Info System Status message.
33
+ * @param statusMessage Text of the message
34
+ * @param furtherInformation Optional longer text shown with the message
24
35
  */
25
36
  setInfoSystemStatus(statusMessage: string, furtherInformation?: string): void;
26
37
  /**
@@ -28,7 +39,8 @@ export interface SystemStatusApi {
28
39
  */
29
40
  openSystemStatusSettingsPanel(): void;
30
41
  /**
31
- * Retrieves current System Status Message
42
+ * The System Status message currently on display.
43
+ * @returns The current message, or `undefined` when none is set
32
44
  */
33
45
  getCurrentSystemStatusMessageInfo(): SystemStatusMessageInfo | undefined;
34
46
  /**
@@ -2,25 +2,29 @@ import { AdaptableObject } from '../AdaptableState/Common/AdaptableObject';
2
2
  import { AdaptableSharedEntity, CustomSharedEntity, CustomSharedEntityConfig, SharedEntity } from '../AdaptableState/TeamSharingState';
3
3
  import { AdaptableModule, AdaptableSharedEntityConfig } from '../types';
4
4
  /**
5
- * Provides run-time access to Team Sharing Module and associated state
5
+ * Team Sharing: load shared objects, share an object, and import an entry someone else shared.
6
6
  */
7
7
  export interface TeamSharingApi {
8
8
  /**
9
9
  * Retrieves all currently shared entities; async operation leveraging `TeamSharingOptions.loadSharedEntities(...)` method
10
+ * @returns All currently shared entities; async operation leveraging `TeamSharingOptions.loadSharedEntities(...)` method
10
11
  */
11
12
  loadSharedEntities(): Promise<SharedEntity[]>;
12
13
  /**
13
14
  * Sets currently shared entities; async operation leveraging `TeamSharingOptions.persistSharedEntities(...)` method
14
15
  * @param sharedEntities the shared entities
15
16
  * @return either TRUE if the shared entities were successfully set or FALSE if the shared entities were not set
17
+ * @returns `true` after the entities are saved. `false` when Team Sharing is not available
16
18
  */
17
19
  persistSharedEntities(sharedEntities: SharedEntity[]): Promise<boolean>;
18
20
  /**
19
21
  * Whether Team Sharing is available to use
22
+ * @returns `true` when Team Sharing is available to use
20
23
  */
21
24
  isTeamSharingAvailable(): boolean;
22
25
  /**
23
26
  * Whether current user has full Team Sharing rights (for creating & updating shared items)
27
+ * @returns `true` when current user has full Team Sharing rights (for creating & updating shared items)
24
28
  */
25
29
  hasTeamSharingFullRights(): boolean;
26
30
  /**
@@ -57,14 +61,17 @@ export interface TeamSharingApi {
57
61
  importSharedEntry(sharedEntity: SharedEntity): void;
58
62
  /**
59
63
  * Retrieves all locally loaded shared entries (`AdaptableSharedEntity` & `CustomSharedEntity`).
64
+ * @returns All locally loaded shared entries (`AdaptableSharedEntity` & `CustomSharedEntity`)
60
65
  */
61
66
  getLoadedSharedEntities(): SharedEntity[];
62
67
  /**
63
68
  * Retrieves locally loaded Adaptable Shared Entries.
69
+ * @returns Locally loaded Adaptable Shared Entries
64
70
  */
65
71
  getLoadedAdaptableSharedEntities(): AdaptableSharedEntity[];
66
72
  /**
67
73
  * Retrieves locally loaded Custom Shared Entries.
74
+ * @returns Locally loaded Custom Shared Entries
68
75
  */
69
76
  getLoadedCustomSharedEntities(): CustomSharedEntity[];
70
77
  /**
@@ -1,10 +1,11 @@
1
1
  import { AdaptableTheme, SystemThemeEntry, ThemeState } from '../AdaptableState/ThemeState';
2
2
  /**
3
- * Provides run-time access to the Theme Module and associated state
3
+ * The theme currently applied, and the system and user themes in state.
4
4
  */
5
5
  export interface ThemeApi {
6
6
  /**
7
7
  * Retrieves Theme section from Adaptable State
8
+ * @returns Theme section from Adaptable State
8
9
  */
9
10
  getThemeState(): ThemeState;
10
11
  /**
@@ -26,14 +27,17 @@ export interface ThemeApi {
26
27
  loadDarkTheme(): void;
27
28
  /**
28
29
  * Retrieves name of Current Theme
30
+ * @returns Name of Current Theme
29
31
  */
30
32
  getCurrentTheme(): string;
31
33
  /**
32
34
  * Retrieves the current theme object
35
+ * @returns The current theme object
33
36
  */
34
37
  getCurrentThemeObject(): AdaptableTheme;
35
38
  /**
36
- * Edits an existing theme
39
+ * Replaces a theme already in state.
40
+ * @param theme Theme to save
37
41
  */
38
42
  editTheme(theme: AdaptableTheme): void;
39
43
  /**
@@ -50,33 +54,37 @@ export interface ThemeApi {
50
54
  */
51
55
  setUserThemes(userThemes: AdaptableTheme[]): void;
52
56
  /**
53
- * Adds a User Theme to State
54
- * @param theme
57
+ * Adds a user theme to state.
58
+ * @param theme Theme to add
55
59
  * @deprecated Will be removed in the next major version.
56
60
  */
57
61
  addUserTheme(theme: AdaptableTheme): void;
58
62
  /**
59
- * Deletes a User Theme from State
60
- * @param theme
63
+ * Removes a user theme from state.
64
+ * @param theme Theme to delete
61
65
  * @deprecated Will be removed in the next major version.
62
66
  */
63
67
  deleteUserTheme(theme: AdaptableTheme): void;
64
68
  /**
65
69
  * Retrieves System Themes in State
70
+ * @returns System Themes in State
66
71
  */
67
72
  getSystemThemes(): AdaptableTheme[];
68
73
  /**
69
74
  * Retrieves User Themes in State
70
75
  * @deprecated Will be removed in the next major version.
76
+ * @returns User Themes in State
71
77
  */
72
78
  getUserThemes(): AdaptableTheme[];
73
79
  /**
74
80
  * Retrieves all Themes (both System & User) in State
81
+ * @returns All Themes (both System & User) in State
75
82
  */
76
83
  getThemes(): AdaptableTheme[];
77
84
  /**
78
- * Retrieves a Theme by name
79
- * @param themeName
85
+ * A theme looked up by name, system or user.
86
+ * @param themeName Name of the theme
87
+ * @returns A theme looked up by name, system or user
80
88
  */
81
89
  getThemeByName(themeName: string): AdaptableTheme;
82
90
  /**
@@ -87,6 +95,7 @@ export interface ThemeApi {
87
95
  * Get the name of the current AG Grid theme
88
96
  *
89
97
  * @deprecated required only for legacy AG Grid themes, see https://www.ag-grid.com/javascript-data-grid/theming-v32/
98
+ * @returns The name of the current AG Grid theme
90
99
  */
91
100
  getAgGridCurrentThemeName(): string;
92
101
  }
@@ -8,6 +8,7 @@ import { AdaptableModuleButtons, AdaptableToolPanel } from '../AdaptableState/Co
8
8
  export interface ToolPanelApi {
9
9
  /**
10
10
  * Retrieves Tool Panel section from Tool Panel State
11
+ * @returns Tool Panel section from Tool Panel State
11
12
  */
12
13
  getToolPanelState(): ToolPanelState;
13
14
  /**
@@ -24,27 +25,30 @@ export interface ToolPanelApi {
24
25
  closeAdapTableToolPanel(): void;
25
26
  /**
26
27
  * Retrieves all Custom Tool Panels defined in ToolPanelOptions
28
+ * @returns All Custom Tool Panels defined in ToolPanelOptions
27
29
  */
28
30
  getCustomToolPanels(): CustomToolPanel[];
29
31
  /**
30
32
  * Retrieves all Custom Tool Panel Buttons defined in ToolPanelOptions
33
+ * @returns All Custom Tool Panel Buttons defined in ToolPanelOptions
31
34
  */
32
35
  getCustomToolPanelButtons(): AdaptableButton<ToolPanelButtonContext>[];
33
36
  /**
34
37
  * Retrieves the CustomToolPanel with the given name (or undefined if no match is found)
35
38
  * @param name the CustomToolPanel name
39
+ * @returns The CustomToolPanel with the given name (or undefined if no match is found)
36
40
  */
37
41
  getCustomToolPanelByName(name: string): CustomToolPanel | undefined;
38
42
  /**
39
- * Sets the given Adaptable ToolPanel with the provided visibilityMode (expanded / collapsed)
40
- * @param adaptableToolPanel
41
- * @param visibilityMode
43
+ * Expands or collapses one of the AdapTable tool panels.
44
+ * @param adaptableToolPanel Which AdapTable tool panel
45
+ * @param visibilityMode `'expanded'` or `'collapsed'`
42
46
  */
43
47
  setAdaptableToolPanelVisibilityMode(adaptableToolPanel: AdaptableToolPanel, visibilityMode: ToolPanelVisibilityMode): void;
44
48
  /**
45
- * Sets the Custom ToolPanel with the given name with the provided visibilityMode (expanded / collapsed)
46
- * @param customToolPanelName
47
- * @param visibilityMode
49
+ * Expands or collapses a custom tool panel.
50
+ * @param customToolPanelName Name of the custom tool panel
51
+ * @param visibilityMode `'expanded'` or `'collapsed'`
48
52
  */
49
53
  setCustomToolPanelVisibilityMode(customToolPanelName: string, visibilityMode: ToolPanelVisibilityMode): void;
50
54
  /**
@@ -53,7 +57,8 @@ export interface ToolPanelApi {
53
57
  */
54
58
  setModuleButtons(moduleButtons: AdaptableModuleButtons): void;
55
59
  /**
56
- * Sets the Module buttons from the Adaptable ToolPanel
60
+ * The module buttons currently shown in the AdapTable tool panel.
61
+ * @returns The module buttons currently shown in the AdapTable tool panel
57
62
  */
58
63
  getModuleButtons(): AdaptableModuleButtons;
59
64
  }
@@ -5,37 +5,44 @@ import { CustomWindowConfig } from '../AdaptableState/Common/CustomWindowConfig'
5
5
  import { ProgressIndicatorConfig } from '../AdaptableState/Common/ProgressIndicatorConfig';
6
6
  import { UserInterfaceState } from '../AdaptableState/UserInterfaceState';
7
7
  /**
8
- * Functions relating to User Interface section of Adaptable State
8
+ * Icons, editable and read-only styles, the progress indicator, custom windows, and showing or hiding the UI.
9
9
  */
10
10
  export interface UserInterfaceApi {
11
11
  /**
12
12
  * Retrieves Custom Icons provided by users
13
+ * @returns Custom Icons provided by users
13
14
  */
14
15
  getCustomIcons(): CustomIcon[];
15
16
  /**
16
17
  * Retrieves any Style Class Names from User Interface Options
18
+ * @returns Any Style Class Names from User Interface Options
17
19
  */
18
20
  getStyleClassNames(): string[] | undefined;
19
21
  /**
20
22
  * Returns Style set for Editable cells
23
+ * @returns Style set for Editable cells
21
24
  */
22
25
  getEditableCellStyle(): AdaptableStyle | undefined;
23
26
  /**
24
27
  * Returns Style for Cells that have been edited
28
+ * @returns Style for Cells that have been edited
25
29
  */
26
30
  getEditedCellStyle(): AdaptableStyle | undefined;
27
31
  /**
28
32
  * Returns Style set for ReadOnly Cells
33
+ * @returns Style set for ReadOnly Cells
29
34
  */
30
35
  getReadOnlyCellStyle(): AdaptableStyle | undefined;
31
36
  /**
32
37
  * Retrieves any Object Tags (provided in User Interface Options)
38
+ * @returns Any Object Tags (provided in User Interface Options)
33
39
  */
34
40
  getAdaptableObjectTags(): AdaptableObjectTag[] | undefined;
35
41
  /**
36
42
  * Retrieves all objects in list which contain the given Tag
37
43
  * @param tag Tag to check
38
44
  * @param adaptableModule optional Module to check
45
+ * @returns All objects in list which contain the given Tag
39
46
  */
40
47
  getAdaptableObjectsWithTag(tag: AdaptableObjectTag, adaptableModule?: AdaptableModule): AdaptableObject[] | undefined;
41
48
  /**
@@ -77,10 +84,12 @@ export interface UserInterfaceApi {
77
84
  closeCustomWindowPopup(windowId: string): void;
78
85
  /**
79
86
  * Retrieves the current User Interface State
87
+ * @returns The current User Interface State
80
88
  */
81
89
  getUserInterfaceState(): UserInterfaceState;
82
90
  /**
83
91
  * Returns whether the AdapTable UI is currently visible
92
+ * @returns `true` when the AdapTable UI is currently visible
84
93
  */
85
94
  isAdaptableUIVisible(): boolean;
86
95
  /**
@@ -1002,7 +1002,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1002
1002
  adaptable.api.gridApi.refreshCell(rowNode, columnId, true);
1003
1003
  requestAnimationFrame(() => {
1004
1004
  const commentThreads = adaptable.api.commentApi.getAllComments();
1005
- adaptable.api.eventApi.emit('CommentChanged', commentThreads);
1005
+ adaptable.api.eventApi.internalApi.fireCommentChangedEvent(commentThreads);
1006
1006
  adaptable.api.optionsApi
1007
1007
  .getCommentOptions()
1008
1008
  ?.persistCommentThreads?.(commentThreads);