@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
@@ -47,199 +47,203 @@ import { ColumnMenuApi } from './ColumnMenuApi';
47
47
  import { ContextMenuApi } from './ContextMenuApi';
48
48
  import { RowFormApi } from './RowFormApi';
49
49
  /**
50
- * Provides developers with run-time access to AdapTable. Contains many classes each dedicated to a specific AdapTable Module or functionality
50
+ * Run-time access to an AdapTable instance.
51
+ *
52
+ * Each property is the API for one module. Call the module API for that module's
53
+ * behaviour; use `gridApi` for row data, selection and cell values, and `agGridApi`
54
+ * only when AdapTable does not wrap the AG Grid call.
51
55
  */
52
56
  export interface AdaptableApi {
53
57
  /**
54
- * AG Grid API; try to use the API methods provided by Adaptable instead of using this directly
58
+ * The AG Grid API. Prefer the AdapTable APIs on this object; use this when AdapTable does not wrap the call.
55
59
  */
56
60
  agGridApi: AgGridApi;
57
61
  /**
58
- * Provides access to Action Columns
62
+ * Action Columns and the controls they render: buttons, toggles, links, selects, commands, menus and forms.
59
63
  */
60
64
  actionColumnApi: ActionColumnApi;
61
65
  /**
62
- * Provides access to the Alert Module
66
+ * Alert Definitions and fired alerts: add, edit, suspend, evaluate and display them.
63
67
  */
64
68
  alertApi: AlertApi;
65
69
  /**
66
- * Provides access to the Application Module
70
+ * Application State: the key/value entries the host application stores alongside AdapTable State.
67
71
  */
68
72
  applicationApi: ApplicationApi;
69
73
  /**
70
- * Provides access to the Bulk Update Module
74
+ * Bulk Update: the value that will be written across the selected cells.
71
75
  */
72
76
  bulkUpdateApi: BulkUpdateApi;
73
77
  /**
74
- * Provides access to the Calculated Column Module
78
+ * Calculated Columns and the expressions that produce their values.
75
79
  */
76
80
  calculatedColumnApi: CalculatedColumnApi;
77
81
  /**
78
- * Functions for managing Holidays
82
+ * Working days and holidays, using the weekends and holiday list in Calendar Options.
79
83
  */
80
84
  calendarApi: CalendarApi;
81
85
  /**
82
- * Provides access to the Cell Summary Module
86
+ * The Cell Summary operation for the current selection, and its value.
83
87
  */
84
88
  cellSummaryApi: CellSummaryApi;
85
89
  /**
86
- * Provides run-time access to Charting Module and state
90
+ * Chart Definitions, currently open charts, and the containers they are shown in.
87
91
  */
88
92
  chartingApi: ChartingApi;
89
93
  /**
90
- * Provides a number of column-related methods
94
+ * Columns: lookup by id or friendly name, data type, and the matching AG Grid column definition.
91
95
  */
92
96
  columnApi: ColumnApi;
93
97
  /**
94
- * Provides access to Column Menu
98
+ * The Column Menu: open it, and build its items.
95
99
  */
96
100
  columnMenuApi: ColumnMenuApi;
97
101
  /**
98
- * Provides access to Context Menu
102
+ * The Context Menu: build its items.
99
103
  */
100
104
  contextMenuApi: ContextMenuApi;
101
105
  /**
102
- * Provides access to the Comment Module
106
+ * Cell Comments: threads, and adding or deleting a comment.
103
107
  */
104
108
  commentApi: CommentApi;
105
109
  /**
106
- * Manages the `Scope` object - used widely to determine where objects are applied
110
+ * Column Scope: which columns an object applies to, and whether a column is in a scope.
107
111
  */
108
112
  columnScopeApi: ColumnScopeApi;
109
113
  /**
110
- * Provides access to the Custom Sort Module
114
+ * Custom Sorts: non-standard sort orders for a column's values.
111
115
  */
112
116
  customSortApi: CustomSortApi;
113
117
  /**
114
- * Provides access to the Dashboard
118
+ * The Dashboard: tabs, toolbars, visibility and floating position.
115
119
  */
116
120
  dashboardApi: DashboardApi;
117
121
  /**
118
- * Provides run-time access to the Data Changes Module
119
- **/
122
+ * Data Change History: the record of cell value changes.
123
+ */
120
124
  dataChangeHistoryApi: DataChangeHistoryApi;
121
125
  /**
122
- * Provides access to the Data Import Module
126
+ * Data Import. Opens the Data Import wizard.
123
127
  */
124
128
  dataImportApi: DataImportApi;
125
129
  /**
126
- * Provides access to Data Sets
130
+ * Data Sets: the named sets of rows the grid can switch between.
127
131
  */
128
132
  dataSetApi: DataSetApi;
129
133
  /**
130
- * Functions for managing Entitlements and Permissions
134
+ * Entitlements: the access level of each module.
131
135
  */
132
136
  entitlementApi: EntitlementApi;
133
137
  /**
134
- * Used for listening / subscribing to the Events published by AdapTable
138
+ * AdapTable events. `on` subscribes and returns an unsubscribe function; `off` removes a listener.
135
139
  */
136
140
  eventApi: EventApi;
137
141
  /**
138
- * Provides access to the Export Module and Reports
142
+ * Reports: run an export, and manage report definitions, formats, destinations and schedules.
139
143
  */
140
144
  exportApi: ExportApi;
141
145
  /**
142
- * Manages AdapTableQL Expressions
146
+ * AdapTableQL expressions: validate, evaluate and open the expression editor.
143
147
  */
144
148
  expressionApi: ExpressionApi;
145
149
  /**
146
- * Manages the FDC3 capabilities of AdapTable
150
+ * FDC3: broadcast contexts and raise intents from the grid.
147
151
  */
148
152
  fdc3Api: Fdc3Api;
149
153
  /**
150
- * Provides access to Filtering in AdapTable
154
+ * Filtering. `columnFilterApi` is per-column filters, `gridFilterApi` is the grid filter, and `clearAllFilters` clears both.
151
155
  */
152
156
  filterApi: FilterApi;
153
157
  /**
154
- * Provides access to the Flashing Cell Module
158
+ * Flashing Cells: which cells flash when their value changes, and in which direction.
155
159
  */
156
160
  flashingCellApi: FlashingCellApi;
157
161
  /**
158
- * Provides access to the Format Column Module
162
+ * Format Columns: cell styles and display formats, including conditions.
159
163
  */
160
164
  formatColumnApi: FormatColumnApi;
161
165
  /**
162
- * Provides access to the FreeText Column Module
166
+ * Free Text Columns and the text values stored against each row.
163
167
  */
164
168
  freeTextColumnApi: FreeTextColumnApi;
165
169
  /**
166
- * Provides methods for managing the Grid, and Grid data, directly
170
+ * Grid data and selection: rows, cell values, filtering, sorting, row nodes and edited cells.
167
171
  */
168
172
  gridApi: GridApi;
169
173
  /**
170
- * Provides access to the Layout Module
174
+ * Layouts: the current Table or Pivot Layout, and creating, selecting and extending Layouts.
171
175
  */
172
176
  layoutApi: LayoutApi;
173
177
  /**
174
- * Provides access to the Named Query Module
178
+ * Named Queries: saved AdapTableQL queries that can be run on their own.
175
179
  */
176
180
  namedQueryApi: NamedQueryApi;
177
181
  /**
178
- * Provides access to the Note Module
182
+ * Notes attached to cells.
179
183
  */
180
184
  noteApi: NoteApi;
181
185
  /**
182
- * Provides access to Adaptable Options
186
+ * The Adaptable Options this instance was created with. Each getter returns one options section, read-only.
183
187
  */
184
188
  optionsApi: OptionsApi;
185
189
  /**
186
- * Provides access to the Plus Minus Module
190
+ * Plus / Minus: the nudges that increment or decrement a numeric cell.
187
191
  */
188
192
  plusMinusApi: PlusMinusApi;
189
193
  /**
190
- * Offers access to AdapTable Plugin (e.g. ipushpull, OpenFin etc)
194
+ * Installed plugins. `getipushpullPluginApi`, `getOpenFinPluginApi` and `getInteropioPluginApi` return the plugin API when that plugin is loaded.
191
195
  */
192
196
  pluginsApi: PluginsApi;
193
197
  /**
194
- * Provides access to the Quick Search Module
198
+ * Quick Search: the current search text and the styles used for matches.
195
199
  */
196
200
  quickSearchApi: QuickSearchApi;
197
201
  /**
198
- * Creates Row Forms
202
+ * Row Forms. Opens the form to create, clone or edit a row, and deletes a row by primary key.
199
203
  */
200
204
  rowFormApi: RowFormApi;
201
205
  /**
202
- * Provides access to the Settings Panel
206
+ * The Settings Panel. Open it on a module, or on a custom settings panel.
203
207
  */
204
208
  settingsPanelApi: SettingsPanelApi;
205
209
  /**
206
- * Provides access to the Shortcut Module
210
+ * Shortcuts: keystrokes that change a numeric cell by a fixed amount.
207
211
  */
208
212
  shortcutApi: ShortcutApi;
209
213
  /**
210
- * Provides access to the Smart Edit Module
214
+ * Smart Edit: the arithmetic operation applied to the selected numeric cells.
211
215
  */
212
216
  smartEditApi: SmartEditApi;
213
217
  /**
214
- * Methods giving access to Adaptable State
218
+ * AdapTable State: initial state, the full state, and the state of one module.
215
219
  */
216
220
  stateApi: StateApi;
217
221
  /**
218
- * Provides run-time access to the AdapTable Status Bar
222
+ * The Status Bar and the AdapTable panels placed in it.
219
223
  */
220
224
  statusBarApi: StatusBarApi;
221
225
  /**
222
- * Provides access to the Styled Column Module
226
+ * Styled Columns: gradient, percent bar, badge, bullet chart, rating, sparkline, range bar and icon styles.
223
227
  */
224
228
  styledColumnApi: StyledColumnApi;
225
229
  /**
226
- * Methods related to displaying System Status and application health messages
230
+ * The System Status message shown in the toolbar and tool panel.
227
231
  */
228
232
  systemStatusApi: SystemStatusApi;
229
233
  /**
230
- * Functions related to run-time Team Sharing of AdapTable objects between colleagues
234
+ * Team Sharing: objects shared between users, and importing a shared entity.
231
235
  */
232
236
  teamSharingApi: TeamSharingApi;
233
237
  /**
234
- * Api methods related to Theme management
238
+ * Themes: the current theme, and the shipped and user themes that can be selected.
235
239
  */
236
240
  themeApi: ThemeApi;
237
241
  /**
238
- * Provides access to the AdapTable Tool Panel on the right hand side of the grid
242
+ * The Tool Panel beside the grid, including custom tool panels.
239
243
  */
240
244
  toolPanelApi: ToolPanelApi;
241
245
  /**
242
- * Manages User Interface Options where colours, styles and custom column values are configured
246
+ * User Interface: custom icons, editable and read-only cell styles, object tags, the progress indicator, custom windows, and showing or hiding the AdapTable UI.
243
247
  */
244
248
  userInterfaceApi: UserInterfaceApi;
245
249
  /**
@@ -8,7 +8,7 @@ import type { IRowNode } from 'ag-grid-enterprise';
8
8
  */
9
9
  export type AlertSettingsPanelTab = 'Alerts' | 'Alert Definitions';
10
10
  /**
11
- * Provides run-time access to Alert function and associated State
11
+ * Alert Definitions and fired alerts: read, edit, suspend, evaluate and display them.
12
12
  */
13
13
  export interface AlertApi {
14
14
  /**
@@ -23,6 +23,7 @@ export interface AlertApi {
23
23
  * `'Alert Definitions'` (the alert configuration). Pass `tab` to open a specific tab.
24
24
  * When omitted, it opens the `'Alerts'` tab if there are any live alerts, otherwise the
25
25
  * `'Alert Definitions'` tab.
26
+ * @param tab Tab to open. Omit it to open `'Alerts'` when live alerts exist, otherwise `'Alert Definitions'`
26
27
  */
27
28
  openAlertSettingsPanel(tab?: AlertSettingsPanelTab): void;
28
29
  /**
@@ -31,11 +32,13 @@ export interface AlertApi {
31
32
  */
32
33
  getAlertDefinitions(): AlertDefinition[];
33
34
  /**
34
- * Retrieves all Alert Definitions which are currently suspended
35
+ * Alert Definitions that are currently suspended.
36
+ * @returns The suspended definitions
35
37
  */
36
38
  getSuspendedAlertDefinitions(): AlertDefinition[];
37
39
  /**
38
- * Retrieves all Alert Definitions which are currently active
40
+ * Alert Definitions that are currently active (not suspended).
41
+ * @returns The active definitions
39
42
  */
40
43
  getActiveAlertDefinitions(): AlertDefinition[];
41
44
  /**
@@ -64,13 +67,13 @@ export interface AlertApi {
64
67
  editAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
65
68
  /**
66
69
  * Deletes given Alert Definition from Adaptable State
67
- * @param alertDefinition
70
+ * @param alertDefinition Alert Definition to delete
68
71
  */
69
72
  deleteAlertDefinition(alertDefinition: AlertDefinition): void;
70
73
  /**
71
74
  * Suspends Alert Definition
72
- * @param alertDefinition Alert to suspend
73
- *
75
+ * @param alertDefinition Alert Definition to suspend
76
+ * @returns The suspended Alert Definition
74
77
  */
75
78
  suspendAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
76
79
  /**
@@ -100,11 +103,13 @@ export interface AlertApi {
100
103
  * non-live, suspended or never-evaluated definitions / rows.
101
104
  * @param alertDefinition the live Alert Definition
102
105
  * @param rowNode the row, for per-row rules
106
+ * @returns `'Firing'` while the rule holds, `'Normal'` when it does not, or `undefined` when the definition is not live, is suspended, or has not been evaluated
103
107
  */
104
108
  getAlertRuleState(alertDefinition: AlertDefinition, rowNode?: IRowNode): 'Normal' | 'Firing' | undefined;
105
109
  /**
106
110
  * Find all Alert Definitions which match the given criteria
107
- * @param alertLookupCriteria lookup criteria
111
+ * @param alertLookupCriteria Ids, names or other properties to match
112
+ * @returns Every Alert Definition that matches
108
113
  */
109
114
  findAlertDefinitions(alertLookupCriteria: AdaptableObjectLookupCriteria): AlertDefinition[];
110
115
  /**
@@ -113,14 +118,16 @@ export interface AlertApi {
113
118
  */
114
119
  displayAdaptableAlertNotification(alert: AdaptableAlert): void;
115
120
  /**
116
- * Displays the given Adaptable Alert
117
- * @param alert The Alert which should be displayed
121
+ * Displays the given Adaptable Alert.
122
+ * @param alertToShow The alert to display
118
123
  */
119
124
  displayAdaptableAlert(alertToShow: AdaptableAlert): Promise<void>;
120
125
  /**
121
126
  * Creates Alert based on given parameters and displays it.
122
- * @param alertHeader Header of the Alert (if shown in a popup its the Title of the Window)
127
+ * @param alertHeader Header of the Alert. When the alert is a popup, this is the window title
123
128
  * @param alertMessage Main message of the alert
129
+ * @param messageType `Success`, `Info`, `Warning` or `Error`
130
+ * @param alertProperties How the alert is presented: notification, popup, or both
124
131
  */
125
132
  showAlert(alertHeader: string, alertMessage: string, messageType: AdaptableMessageType, alertProperties?: AlertPresentationProperties): Promise<void>;
126
133
  /**
@@ -130,7 +137,7 @@ export interface AlertApi {
130
137
  */
131
138
  showAlertInfo(alertHeader: string, alertMessage: string): Promise<void>;
132
139
  /**
133
- * Creates an Adaptable Alert based on given parameters and displays it as Succcess Alert.
140
+ * Creates an Adaptable Alert from the header and message and displays it as a Success alert.
134
141
  * @param alertHeader Header of the Alert (if shown in a popup its the Title of the Window)
135
142
  * @param alertMessage Main message of the alert
136
143
  */
@@ -148,7 +155,8 @@ export interface AlertApi {
148
155
  */
149
156
  showAlertError(alertHeader: string, alertMessage: string): Promise<void>;
150
157
  /**
151
- * Fires a scheduled alert definition (notification, system status, etc.)
158
+ * Fires a scheduled Alert Definition now: its notification, system status message, or other behaviour.
159
+ * @param alertDefinition Scheduled Alert Definition to run
152
160
  */
153
161
  applyScheduledAlertDefinition(alertDefinition: AlertDefinition): void;
154
162
  }
@@ -4,11 +4,13 @@ import { ApplicationState, ApplicationDataEntry } from '../AdaptableState/Applic
4
4
  */
5
5
  export interface ApplicationApi {
6
6
  /**
7
- * Retrieves Application section from Adaptable State
7
+ * The Application section of Adaptable State.
8
+ * @returns The current Application State
8
9
  */
9
10
  getApplicationState(): ApplicationState;
10
11
  /**
11
- * Retrieves all Key Value Pairs in Application state
12
+ * Every key/value entry in Application State.
13
+ * @returns The entries, in state order
12
14
  */
13
15
  getApplicationDataEntries(): ApplicationDataEntry[];
14
16
  /**
@@ -39,12 +41,14 @@ export interface ApplicationApi {
39
41
  * Gets Application Data Entry with given key
40
42
  *
41
43
  * @param key the Key of the Application Data Entry to retrieve
44
+ * @returns The entry with that key, or `undefined` when no entry has it
42
45
  */
43
46
  getApplicationDataEntryByKey(key: string): ApplicationDataEntry | undefined;
44
47
  /**
45
48
  * Gets Application Data Entry with given value
46
49
  *
47
50
  * @param value the Value of the Application Data Entry to retrieve
51
+ * @returns Every entry whose value is `value`. Empty when none match
48
52
  */
49
53
  getApplicationDataEntriesByValue(value: any): ApplicationDataEntry[];
50
54
  }
@@ -3,7 +3,8 @@
3
3
  **/
4
4
  export interface BulkUpdateApi {
5
5
  /**
6
- * Returns current Bulk Update value
6
+ * The value Bulk Update will write into the selected cells.
7
+ * @returns The current Bulk Update value. Empty when none has been entered
7
8
  */
8
9
  getBulkUpdateValue(): string;
9
10
  /**
@@ -1,18 +1,21 @@
1
1
  import { CalculatedColumn, CalculatedColumnState } from '../AdaptableState/CalculatedColumnState';
2
2
  /**
3
- * Provides run-time access to the Calculated Column Module
3
+ * Calculated Columns, whose values come from an AdapTableQL expression.
4
4
  **/
5
5
  export interface CalculatedColumnApi {
6
6
  /**
7
7
  * Retrieves Calculated Column section from Adaptable State
8
+ * @returns Calculated Column section from Adaptable State
8
9
  */
9
10
  getCalculatedColumnState(): CalculatedColumnState;
10
11
  /**
11
12
  * Retrieves all Calculated Columns in Adaptable State
13
+ * @returns All Calculated Columns in Adaptable State
12
14
  */
13
15
  getCalculatedColumns(): CalculatedColumn[];
14
16
  /**
15
17
  * Retrieves all Aggregated Calculated Columns in Adaptable State
18
+ * @returns All Aggregated Calculated Columns in Adaptable State
16
19
  */
17
20
  getAggregatedCalculatedColumns(): CalculatedColumn[];
18
21
  /**
@@ -9,55 +9,65 @@ export interface CalendarApi {
9
9
  * Returns the next working day after `from` (defaults to today).
10
10
  * Never returns `from` itself.
11
11
  * @param from Optional start date (defaults to today)
12
+ * @returns The next working day after `from` (defaults to today). Never returns `from` itself
12
13
  */
13
14
  getNextWorkingDay(from?: Date): Date;
14
15
  /**
15
16
  * Returns the previous working day before `from` (defaults to today).
16
17
  * Never returns `from` itself.
17
18
  * @param from Optional start date (defaults to today)
19
+ * @returns The previous working day before `from` (defaults to today). Never returns `from` itself
18
20
  */
19
21
  getPreviousWorkingDay(from?: Date): Date;
20
22
  /**
21
23
  * True when the date is neither a weekend day nor a configured holiday.
22
24
  * @param dateToCheck Date to check
25
+ * @returns True when the date is neither a weekend day nor a configured holiday
23
26
  */
24
27
  isWorkingDay(dateToCheck: Date): boolean;
25
28
  /**
26
29
  * True when the date is in the configured holiday list.
27
30
  * Weekends are not holidays unless also listed in `calendarOptions.holidays`.
28
31
  * @param dateToCheck Date to check
32
+ * @returns True when the date is in the configured holiday list. Weekends are not holidays unless also listed in `calendarOptions.holidays`
29
33
  */
30
34
  isHoliday(dateToCheck: Date): boolean;
31
35
  /**
32
36
  * True when the date falls on a configured weekend day
33
37
  * (`calendarOptions.weekendDays`, default Saturday/Sunday).
34
38
  * @param dateToCheck Date to check
39
+ * @returns True when the date falls on a configured weekend day (`calendarOptions.weekendDays`, default Saturday/Sunday)
35
40
  */
36
41
  isWeekend(dateToCheck: Date): boolean;
37
42
  /**
38
43
  * First day of the week for week-number / start-of-week Expression Functions
39
44
  * (`calendarOptions.weekStartsOn`, default `0` = Sunday).
45
+ * @returns First day of the week for week-number / start-of-week Expression Functions (`calendarOptions.weekStartsOn`, default `0` = Sunday)
40
46
  */
41
47
  getWeekStartsOn(): number;
42
48
  /**
43
49
  * Returns true if both dates are the same calendar day (time ignored).
44
50
  * @param date1 1st Date
45
51
  * @param date2 2nd Date
52
+ * @returns `true` when both dates are the same calendar day (time ignored)
46
53
  */
47
54
  isSameDay(date1: Date, date2: Date): boolean;
48
55
  /**
49
56
  * Returns true if the given date is today
50
57
  * @param dateToCheck Date to Check
58
+ * @returns `true` when the given date is today
51
59
  */
52
60
  isToday(dateToCheck: Date): boolean;
53
61
  /**
54
62
  * Returns true if the given date is yesterday
55
63
  * @param dateToCheck Date to Check
64
+ * @returns `true` when the given date is yesterday
56
65
  */
57
66
  isYesterday(dateToCheck: Date): boolean;
58
67
  /**
59
68
  * Returns true if the given date is tomorrow
60
69
  * @param dateToCheck Date to Check
70
+ * @returns `true` when the given date is tomorrow
61
71
  */
62
72
  isTomorrow(dateToCheck: Date): boolean;
63
73
  }
@@ -1,18 +1,21 @@
1
1
  import { CustomCellSummaryOperation } from '../AdaptableState/Common/CellSummary';
2
2
  /**
3
- * Provides run-time access to the Cell Summary Module
3
+ * The summary calculated for the selected cells, such as sum or average, and the value it produces.
4
4
  */
5
5
  export interface CellSummaryApi {
6
6
  /**
7
7
  * Retrieves all Custom Cell Summary Operations
8
+ * @returns All Custom Cell Summary Operations
8
9
  */
9
10
  getCustomCellSummaryOperations(): CustomCellSummaryOperation[];
10
11
  /**
11
12
  * Retrieves currently selected Cell Summary Operation
13
+ * @returns Currently selected Cell Summary Operation
12
14
  */
13
15
  getCurrentCellSummaryOperation(): CustomCellSummaryOperation | string;
14
16
  /**
15
- * Sets the currently selected Cell Summary Operation
17
+ * Selects which summary to show for the current cell selection.
18
+ * @param operation Operation name, or a custom operation
16
19
  */
17
20
  setCurrentCellSummaryOperation(operation: CustomCellSummaryOperation | string): void;
18
21
  /**
@@ -21,10 +24,13 @@ export interface CellSummaryApi {
21
24
  openCellSummaryPopupSettingsPanel(): void;
22
25
  /**
23
26
  * Retrieves the value of the current selected Cell Summary Operation
27
+ * @returns The value of the current selected Cell Summary Operation
24
28
  */
25
29
  getCurrentCellSummaryOperationValue(): number;
26
30
  /**
27
- * Retrieves the value of the given Cell Summary Operation
31
+ * The result of a summary operation for the current selection.
32
+ * @param operation Operation to evaluate
33
+ * @returns The result of a summary operation for the current selection
28
34
  */
29
35
  getCellSummaryOperationValue(operation: CustomCellSummaryOperation | string): any;
30
36
  }
@@ -3,41 +3,50 @@ import { ExternalChartDefinition } from '../AdaptableState/ChartingState';
3
3
  import { ChartContainer, ChartDefinition } from '../types';
4
4
  import { ChartingOpenState } from './Events/ChartChanged';
5
5
  /**
6
- * Provides run-time access to Charting Module and related State
6
+ * Charts saved in AdapTable, and external chart definitions. Includes which charts are open.
7
7
  */
8
8
  export interface ChartingApi {
9
9
  /**
10
10
  * Whether AdapTable's Charting functionality is available
11
+ * @returns `true` when AdapTable's Charting functionality is available
11
12
  */
12
13
  isChartingEnabled(): boolean;
13
14
  /**
14
15
  * Retrieves current user-generated Charts
16
+ * @returns Current user-generated Charts
15
17
  */
16
18
  getCurrentChartModels(): ChartModel[];
17
19
  /**
18
20
  * Retrieves persisted Charts from Adaptable State
21
+ * @returns Persisted Charts from Adaptable State
19
22
  */
20
23
  getPersistedCharts(): ChartModel[];
21
24
  /**
22
25
  * Retrieves all adaptable Chart definitions
26
+ * @returns All adaptable Chart definitions
23
27
  */
24
28
  getChartDefinitions(): ChartDefinition[];
25
29
  /**
26
30
  * Retrieves all adaptable external Chart definitions
31
+ * @returns All adaptable external Chart definitions
27
32
  */
28
33
  getExternalChartDefinitions(): ExternalChartDefinition[];
29
34
  /**
30
35
  * Retrieves Chart definition by uuid
31
36
  * @param uuid Chart uuid
37
+ * @returns Chart definition by uuid
32
38
  */
33
39
  getChartDefinitionByUuid(uuid: string): ChartDefinition | undefined;
34
40
  /**
35
41
  * Retrieves Chart definition by name
36
42
  * @param name Chart name
43
+ * @returns Chart definition by name
37
44
  */
38
45
  getChartDefinitionByName(name: string): ChartDefinition | undefined;
39
46
  /**
40
- * Retrieves AG Grid ChartRef for given ChartId
47
+ * The AG Grid chart reference for a chart AdapTable has open.
48
+ * @param chartId Id of the chart
49
+ * @returns The AG Grid chart reference for a chart AdapTable has open
41
50
  */
42
51
  getChartRef(chartId: string): ChartRef | undefined;
43
52
  /**
@@ -46,6 +55,7 @@ export interface ChartingApi {
46
55
  saveCurrentCharts(): void;
47
56
  /**
48
57
  * Displays all persisted Charts
58
+ * @returns The chart references for the charts that were opened
49
59
  */
50
60
  showPersistedCharts(): ChartRef[];
51
61
  /**
@@ -53,6 +63,7 @@ export interface ChartingApi {
53
63
  *
54
64
  * @param chartDefinition Chart Definition
55
65
  * @param container container element or container name
66
+ * @returns The chart reference for the chart that was opened
56
67
  */
57
68
  showChartDefinition(chartDefinition: ChartDefinition, container?: HTMLElement | string): ChartRef;
58
69
  /**
@@ -64,6 +75,7 @@ export interface ChartingApi {
64
75
  * Displays a Chart; if Chart is already open, 2nd Chart is not opened
65
76
  * @param chartDefinition Chart to show
66
77
  * @param container Container in which to display the Chart
78
+ * @returns The chart reference. When the chart is already open, that chart is returned and another is not opened
67
79
  */
68
80
  showChartDefinitionOnce(chartDefinition: ChartDefinition, container?: HTMLElement | string): ChartRef | undefined;
69
81
  /**
@@ -88,19 +100,21 @@ export interface ChartingApi {
88
100
  addChartDefinition(chartDefinition: ChartDefinition): void;
89
101
  /**
90
102
  * Get info about all saved charts, incl. their open state
103
+ * @returns Info about all saved charts, incl. their open state
91
104
  */
92
105
  getChartingOpenState(): ChartingOpenState;
93
106
  /**
94
107
  * Retrieve name of container in which Chart is open; returns null if Chart is not open
95
- * @param chartDefinition Chart to add
108
+ * @param chartDefinition Chart to look up
109
+ * @returns Retrieve name of container in which Chart is open; returns null if Chart is not open
96
110
  */
97
111
  getOpenChartContainer(chartDefinition: ChartDefinition): ChartContainer | null;
98
112
  /**
99
113
  * Add new external chart definition
100
114
  *
101
115
  * @param chartDef external chart definition
102
- * @param options
103
- * @param options.saveChartBehaviour whether to ask the user to provide a name for the chart
116
+ * @param options How the chart is saved. Omit it to use the default
117
+ * @param options.saveChartBehaviour `'manual'` asks for a name. `'auto'` saves without asking
104
118
  */
105
119
  addExternalChartDefinition(chartDef: ExternalChartDefinition, options?: {
106
120
  saveChartBehaviour: 'auto' | 'manual';
@@ -116,8 +130,9 @@ export interface ChartingApi {
116
130
  */
117
131
  deleteExternalChartDefinition(chartDefinition: ExternalChartDefinition): void;
118
132
  /**
119
- * Retrieves Chart definition by name
120
- * @param name Chart name
133
+ * An external chart definition looked up by name.
134
+ * @param name Name of the external chart
135
+ * @returns An external chart definition looked up by name
121
136
  */
122
137
  getExternalChartDefinitionByName(name: string): ExternalChartDefinition | undefined;
123
138
  }