@adaptabletools/adaptable 24.0.0-canary.8 → 24.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) 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 +0 -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/EditOptions.d.ts +18 -2
  22. package/src/AdaptableOptions/ExportOptions.d.ts +23 -0
  23. package/src/AdaptableOptions/ExpressionOptions.d.ts +0 -3
  24. package/src/AdaptableOptions/Fdc3Options.d.ts +77 -3
  25. package/src/AdaptableOptions/FilterOptions.d.ts +13 -8
  26. package/src/AdaptableOptions/LayoutOptions.d.ts +16 -3
  27. package/src/AdaptableOptions/NotificationsOptions.d.ts +0 -1
  28. package/src/AdaptableOptions/QuickSearchOptions.d.ts +0 -2
  29. package/src/AdaptableOptions/RowFormOptions.d.ts +9 -0
  30. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +10 -1
  31. package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -1
  32. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +6 -2
  33. package/src/AdaptableState/AdaptableState.d.ts +98 -4
  34. package/src/AdaptableState/AlertState.d.ts +20 -21
  35. package/src/AdaptableState/ApplicationState.d.ts +5 -3
  36. package/src/AdaptableState/BaseState.d.ts +9 -2
  37. package/src/AdaptableState/CalculatedColumnState.d.ts +10 -8
  38. package/src/AdaptableState/ChartingState.d.ts +10 -5
  39. package/src/AdaptableState/CommentState.d.ts +10 -4
  40. package/src/AdaptableState/Common/AdaptableAlert.d.ts +6 -2
  41. package/src/AdaptableState/Common/AdaptableButton.d.ts +3 -1
  42. package/src/AdaptableState/Common/AdaptableColumn.d.ts +38 -1
  43. package/src/AdaptableState/Common/AdaptableFilterState.d.ts +3 -1
  44. package/src/AdaptableState/Common/AdaptableFlashingCell.d.ts +3 -1
  45. package/src/AdaptableState/Common/AdaptableForm.d.ts +9 -0
  46. package/src/AdaptableState/Common/AdaptableFormat.d.ts +27 -1
  47. package/src/AdaptableState/Common/AdaptableIcon.d.ts +4 -2
  48. package/src/AdaptableState/Common/AdaptableObject.d.ts +9 -1
  49. package/src/AdaptableState/Common/AdaptableQuery.d.ts +9 -0
  50. package/src/AdaptableState/Common/AdaptableStyle.d.ts +6 -8
  51. package/src/AdaptableState/Common/AggregationColumns.d.ts +15 -6
  52. package/src/AdaptableState/Common/ButtonStyle.d.ts +3 -1
  53. package/src/AdaptableState/Common/CellDataChangedInfo.d.ts +6 -2
  54. package/src/AdaptableState/Common/CellHighlightInfo.d.ts +4 -2
  55. package/src/AdaptableState/Common/CellSummary.d.ts +33 -0
  56. package/src/AdaptableState/Common/ColumnFilter.d.ts +3 -1
  57. package/src/AdaptableState/Common/ColumnHighlightInfo.d.ts +4 -2
  58. package/src/AdaptableState/Common/ColumnScope.d.ts +32 -1
  59. package/src/AdaptableState/Common/ColumnSetupInfo.d.ts +17 -0
  60. package/src/AdaptableState/Common/ColumnSort.d.ts +3 -1
  61. package/src/AdaptableState/Common/CompactCalculatedColumnEditorInfo.d.ts +3 -0
  62. package/src/AdaptableState/Common/DataChangedScope.d.ts +3 -1
  63. package/src/AdaptableState/Common/DataUpdateConfig.d.ts +3 -1
  64. package/src/AdaptableState/Common/Entitlement.d.ts +4 -2
  65. package/src/AdaptableState/Common/Enums.d.ts +21 -0
  66. package/src/AdaptableState/Common/ExtendedLayout.d.ts +3 -1
  67. package/src/AdaptableState/Common/Fdc3Context.d.ts +9 -0
  68. package/src/AdaptableState/Common/Fdc3Intent.d.ts +6 -0
  69. package/src/AdaptableState/Common/GridFilter.d.ts +3 -1
  70. package/src/AdaptableState/Common/MenuItem.d.ts +9 -0
  71. package/src/AdaptableState/Common/RowHighlightInfo.d.ts +4 -2
  72. package/src/AdaptableState/Common/RowScope.d.ts +3 -1
  73. package/src/AdaptableState/Common/RowSummary.d.ts +14 -4
  74. package/src/AdaptableState/Common/RowsHighlightInfo.d.ts +5 -3
  75. package/src/AdaptableState/Common/Schedule.d.ts +10 -2
  76. package/src/AdaptableState/Common/SpecialColumnSettings.d.ts +3 -1
  77. package/src/AdaptableState/Common/SystemStatusMessageInfo.d.ts +4 -2
  78. package/src/AdaptableState/Common/TransposeConfig.d.ts +1 -1
  79. package/src/AdaptableState/Common/Types.d.ts +9 -0
  80. package/src/AdaptableState/CustomSortState.d.ts +8 -5
  81. package/src/AdaptableState/DashboardState.d.ts +14 -10
  82. package/src/AdaptableState/ExportState.d.ts +12 -4
  83. package/src/AdaptableState/FlashingCellState.d.ts +8 -5
  84. package/src/AdaptableState/FormatColumnState.d.ts +28 -8
  85. package/src/AdaptableState/FreeTextColumnState.d.ts +14 -8
  86. package/src/AdaptableState/IPushPullState.d.ts +39 -3
  87. package/src/AdaptableState/InitialState.d.ts +9 -9
  88. package/src/AdaptableState/InternalState.d.ts +183 -3
  89. package/src/AdaptableState/LayoutState.d.ts +64 -21
  90. package/src/AdaptableState/NamedQueryState.d.ts +16 -4
  91. package/src/AdaptableState/NoteState.d.ts +7 -3
  92. package/src/AdaptableState/OpenFinState.d.ts +12 -2
  93. package/src/AdaptableState/PlusMinusState.d.ts +8 -4
  94. package/src/AdaptableState/PopupState.d.ts +29 -1
  95. package/src/AdaptableState/QuickSearchState.d.ts +5 -3
  96. package/src/AdaptableState/Selection/GridCell.d.ts +5 -3
  97. package/src/AdaptableState/Selection/GridCellRange.d.ts +8 -7
  98. package/src/AdaptableState/Selection/SelectedCellInfo.d.ts +1 -1
  99. package/src/AdaptableState/ShortcutState.d.ts +7 -3
  100. package/src/AdaptableState/StatusBarState.d.ts +7 -6
  101. package/src/AdaptableState/StyledColumnState.d.ts +46 -14
  102. package/src/AdaptableState/TeamSharingState.d.ts +46 -2
  103. package/src/AdaptableState/ThemeState.d.ts +24 -2
  104. package/src/AdaptableState/ToolPanelState.d.ts +10 -5
  105. package/src/AdaptableState/UserInterfaceState.d.ts +2 -2
  106. package/src/AdaptableState/Uuid.d.ts +6 -0
  107. package/src/Api/ActionColumnApi.d.ts +3 -1
  108. package/src/Api/AdaptableApi.d.ts +54 -50
  109. package/src/Api/AlertApi.d.ts +20 -12
  110. package/src/Api/ApplicationApi.d.ts +6 -2
  111. package/src/Api/BulkUpdateApi.d.ts +2 -1
  112. package/src/Api/CalculatedColumnApi.d.ts +4 -1
  113. package/src/Api/CalendarApi.d.ts +10 -0
  114. package/src/Api/CellSummaryApi.d.ts +9 -3
  115. package/src/Api/ChartingApi.d.ts +22 -7
  116. package/src/Api/ColumnApi.d.ts +71 -4
  117. package/src/Api/ColumnFilterApi.d.ts +13 -3
  118. package/src/Api/ColumnMenuApi.d.ts +13 -2
  119. package/src/Api/ColumnScopeApi.d.ts +27 -1
  120. package/src/Api/CommentApi.d.ts +10 -7
  121. package/src/Api/ContextMenuApi.d.ts +11 -1
  122. package/src/Api/CustomSortApi.d.ts +6 -2
  123. package/src/Api/DashboardApi.d.ts +30 -9
  124. package/src/Api/DataChangeHistoryApi.d.ts +9 -3
  125. package/src/Api/DataImportApi.d.ts +1 -1
  126. package/src/Api/EntitlementApi.d.ts +6 -1
  127. package/src/Api/EventApi.d.ts +67 -19
  128. package/src/Api/Events/AdaptableReady.d.ts +6 -2
  129. package/src/Api/Events/AdaptableStateChanged.d.ts +9 -5
  130. package/src/Api/Events/AdaptableStateReloaded.d.ts +7 -3
  131. package/src/Api/Events/AlertFired.d.ts +8 -2
  132. package/src/Api/Events/BeforeAdaptableStateChange.d.ts +6 -2
  133. package/src/Api/Events/CalculatedColumnChanged.d.ts +7 -3
  134. package/src/Api/Events/CellChanged.d.ts +6 -2
  135. package/src/Api/Events/CellSelectionChanged.d.ts +6 -2
  136. package/src/Api/Events/ChartChanged.d.ts +16 -8
  137. package/src/Api/Events/CommentChanged.d.ts +8 -2
  138. package/src/Api/Events/CustomToolbarConfigured.d.ts +6 -2
  139. package/src/Api/Events/DashboardChanged.d.ts +27 -6
  140. package/src/Api/Events/DataImported.d.ts +8 -4
  141. package/src/Api/Events/DataSetSelected.d.ts +6 -2
  142. package/src/Api/Events/Fdc3MessageInfo.d.ts +14 -4
  143. package/src/Api/Events/FlashingCellDisplayed.d.ts +6 -2
  144. package/src/Api/Events/GridFilterApplied.d.ts +11 -3
  145. package/src/Api/Events/GridSorted.d.ts +6 -2
  146. package/src/Api/Events/LayoutChanged.d.ts +36 -5
  147. package/src/Api/Events/LiveDataChanged.d.ts +21 -5
  148. package/src/Api/Events/NoteChanged.d.ts +5 -1
  149. package/src/Api/Events/ReportScheduleRan.d.ts +7 -3
  150. package/src/Api/Events/RowChanged.d.ts +6 -2
  151. package/src/Api/Events/RowFormSubmitted.d.ts +28 -12
  152. package/src/Api/Events/RowSelectionChanged.d.ts +6 -2
  153. package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +6 -2
  154. package/src/Api/Events/TeamSharingEntityChanged.d.ts +6 -2
  155. package/src/Api/Events/ThemeSelected.d.ts +6 -2
  156. package/src/Api/ExportApi.d.ts +59 -32
  157. package/src/Api/ExpressionApi.d.ts +24 -1
  158. package/src/Api/Fdc3Api.d.ts +16 -3
  159. package/src/Api/FlashingCellApi.d.ts +6 -1
  160. package/src/Api/FormatColumnApi.d.ts +18 -11
  161. package/src/Api/FreeTextColumnApi.d.ts +4 -2
  162. package/src/Api/GridApi.d.ts +92 -19
  163. package/src/Api/IPushPullApi.d.ts +19 -2
  164. package/src/Api/Internal/EventInternalApi.d.ts +2 -1
  165. package/src/Api/Internal/EventInternalApi.js +7 -0
  166. package/src/Api/InteropioPluginApi.d.ts +2 -1
  167. package/src/Api/LayoutApi.d.ts +29 -15
  168. package/src/Api/NamedQueryApi.d.ts +10 -6
  169. package/src/Api/NoteApi.d.ts +15 -11
  170. package/src/Api/OpenFinApi.d.ts +8 -2
  171. package/src/Api/OptionsApi.d.ts +43 -1
  172. package/src/Api/PluginsApi.d.ts +6 -1
  173. package/src/Api/PlusMinusApi.d.ts +2 -1
  174. package/src/Api/QuickSearchApi.d.ts +6 -1
  175. package/src/Api/RowFormApi.d.ts +8 -7
  176. package/src/Api/ShortcutApi.d.ts +3 -1
  177. package/src/Api/SmartEditApi.d.ts +4 -1
  178. package/src/Api/StateApi.d.ts +30 -2
  179. package/src/Api/StatusBarApi.d.ts +2 -0
  180. package/src/Api/StyledColumnApi.d.ts +23 -12
  181. package/src/Api/SystemStatusApi.d.ts +18 -6
  182. package/src/Api/TeamSharingApi.d.ts +8 -1
  183. package/src/Api/ThemeApi.d.ts +18 -9
  184. package/src/Api/ToolPanelApi.d.ts +12 -7
  185. package/src/Api/UserInterfaceApi.d.ts +10 -1
  186. package/src/Redux/Store/AdaptableStore.js +1 -1
  187. package/src/agGrid/Adaptable.d.ts +0 -12
  188. package/src/agGrid/Adaptable.js +0 -52
  189. package/src/agGrid/AdaptableFrameworkComponent.d.ts +12 -0
  190. package/src/agGrid/AdaptableLogger.d.ts +74 -1
  191. package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -0
  192. package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +3 -0
  193. package/src/agGrid/index.d.ts +1 -6
  194. package/src/agGrid/index.js +1 -3
  195. package/src/aql/ExpressionEvaluation.d.ts +27 -0
  196. package/src/aql/types.d.ts +22 -0
  197. package/src/env.js +2 -2
  198. package/src/migration/legacyAdaptableQuery.d.ts +29 -4
  199. package/src/setupDevTools.js +223 -0
  200. package/src/types.d.ts +0 -2
  201. package/tsconfig.esm.tsbuildinfo +1 -1
  202. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +0 -99
  203. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +0 -1
  204. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.d.ts +0 -15
  205. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +0 -1
  206. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +0 -19
  207. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +0 -337
  208. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +0 -5
  209. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +0 -4
  210. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +0 -30
  211. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +0 -162
  212. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.d.ts +0 -18
  213. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +0 -12
  214. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.d.ts +0 -8
  215. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +0 -131
  216. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.d.ts +0 -8
  217. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +0 -30
  218. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.d.ts +0 -6
  219. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +0 -80
  220. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.d.ts +0 -6
  221. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +0 -100
  222. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +0 -11
  223. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +0 -8
  224. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.d.ts +0 -2
  225. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +0 -2
  226. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.d.ts +0 -21
  227. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +0 -63
  228. package/src/View/AdaptableWizardView/Utilities/Utils.d.ts +0 -1
  229. package/src/View/AdaptableWizardView/Utilities/Utils.js +0 -21
  230. package/src/View/AdaptableWizardView/Utilities/helper.d.ts +0 -19
  231. package/src/View/AdaptableWizardView/Utilities/helper.js +0 -81
  232. package/src/View/AdaptableWizardView/Wizard.d.ts +0 -57
  233. package/src/View/AdaptableWizardView/Wizard.js +0 -98
  234. package/src/View/AdaptableWizardView/index.d.ts +0 -4
  235. package/src/View/AdaptableWizardView/index.js +0 -4
@@ -2,11 +2,12 @@ import { AdaptableColumn, ColumnSort, PivotLayout, TableLayout } from '../../typ
2
2
  import { ExtendedLayout, LayoutExtensionInfo, LayoutExtensionModule, LayoutExtensionObject } from '../AdaptableState/Common/ExtendedLayout';
3
3
  import { LayoutState, Layout } from '../AdaptableState/LayoutState';
4
4
  /**
5
- * Provides run-time access to the Layout Module and associated state
5
+ * Table and Pivot Layouts: the layout that is selected, its columns, sorts and row groups, and creating, cloning, editing and deleting layouts.
6
6
  */
7
7
  export interface LayoutApi {
8
8
  /**
9
- * Retrieves Layout section from Adaptable State
9
+ * The Layout section of Adaptable State.
10
+ * @returns Layouts and the name of the current Layout
10
11
  */
11
12
  getLayoutState(): LayoutState;
12
13
  /**
@@ -20,34 +21,41 @@ export interface LayoutApi {
20
21
  */
21
22
  getCurrentLayout(): Layout;
22
23
  /**
23
- * Returns true if current Layout is a Pivot Layout
24
+ * Whether the current Layout is a Pivot Layout.
25
+ * @returns `true` when the current Layout is a Pivot Layout
24
26
  */
25
27
  isCurrentLayoutPivot(): boolean;
26
28
  /**
27
- * Retrieves the sort order of a column from the current layout
28
- * @param columnId Column id
29
+ * The sort direction of a column in the current Layout.
30
+ * @param columnId Column to read
31
+ * @returns `'Asc'` or `'Desc'`, or `null` when the column is not sorted in this Layout
29
32
  */
30
33
  getCurrentLayoutColumnSort(columnId: string): ColumnSort['SortOrder'] | null;
31
34
  /**
32
- * Retrieves map with visible columns in current Table Layout
35
+ * Column ids in the current Table Layout.
36
+ * @returns Each Table Layout column id mapped to `true`. An empty object when the current Layout is a Pivot Layout
33
37
  */
34
38
  getCurrentVisibleColumnIdsMapForTableLayout(): {
35
39
  [key: string]: boolean;
36
40
  };
37
41
  /**
38
- * Retrieves array of visible ColumnIds in current Table Layout
42
+ * Column ids currently displayed in a Table Layout.
43
+ * @returns The displayed column ids. Empty when the current Layout is a Pivot Layout
39
44
  */
40
45
  getCurrentVisibleColumnIdsForTableLayout(): string[];
41
46
  /**
42
- * Retrieves array of visible ColumnIds in current Pivot Layout
47
+ * Column ids currently displayed in a Pivot Layout.
48
+ * @returns The displayed column ids, including pivot result columns. Empty when the current Layout is a Table Layout
43
49
  */
44
50
  getCurrentVisibleColumnIdsForPivotLayout(): string[];
45
51
  /**
46
- * Retrieves array of visible ColumnIds in current Layout
52
+ * Columns that group rows in the current Layout.
53
+ * @returns `RowGroupedColumns` for a Table Layout, or `PivotGroupedColumns` for a Pivot Layout
47
54
  */
48
55
  getCurrentRowGroupsColumnIds(): string[];
49
56
  /**
50
- * Retrieves name of current Layout
57
+ * Name of the Layout that is selected.
58
+ * @returns The current Layout name
51
59
  */
52
60
  getCurrentLayoutName(): string;
53
61
  /**
@@ -65,6 +73,7 @@ export interface LayoutApi {
65
73
  * Retrieves the Layout with the given name, together with the objects extended into it
66
74
  * (global objects, which apply in every Layout, are not included)
67
75
  * @param layoutName Layout to retrieve
76
+ * @returns The Layout and the objects extended into it, or `undefined` when no Layout has that name. Objects that apply in every Layout are not included
68
77
  */
69
78
  getExtendedLayoutByName(layoutName: string): ExtendedLayout | undefined;
70
79
  /**
@@ -77,6 +86,7 @@ export interface LayoutApi {
77
86
  * Clones an Extended Layout - the new Layout is extended with the same objects
78
87
  * @param extendedLayoutToClone ExtendedLayout to Clone
79
88
  * @param layoutName New name for Layout being cloned
89
+ * @returns The cloned Extended Layout, or `false` when the source does not exist or the new name is already used
80
90
  */
81
91
  cloneExtendedLayout(extendedLayoutToClone: ExtendedLayout, layoutName: string): ExtendedLayout | false;
82
92
  /**
@@ -89,6 +99,7 @@ export interface LayoutApi {
89
99
  /**
90
100
  * Retrieves the names of the objects, per Module, extended into a Layout
91
101
  * @param layoutName Layout to check
102
+ * @returns Object names grouped by module. Empty when the Layout has no extensions
92
103
  */
93
104
  getLayoutExtensions(layoutName: string): LayoutExtensionInfo;
94
105
  /**
@@ -116,6 +127,7 @@ export interface LayoutApi {
116
127
  * Retrieves the names of the Layouts an object is extended into (empty when the object is global)
117
128
  * @param object Object to check
118
129
  * @param module Module the object belongs to
130
+ * @returns Layout names the object is extended into. Empty when the object applies in every Layout
119
131
  */
120
132
  getLayoutsForObject(object: LayoutExtensionObject, module: LayoutExtensionModule): string[];
121
133
  /**
@@ -177,8 +189,9 @@ export interface LayoutApi {
177
189
  */
178
190
  cloneAndSetLayout(layoutToClone: Layout, layoutName: string): Layout | false;
179
191
  /**
180
- * Checks whether this Layout exists in the Adaptable State (by comparing Uuid property)
192
+ * Whether this Layout is already in Layout State. Compared by `Uuid`.
181
193
  * @param layout Layout to check
194
+ * @returns `true` when a Layout with the same `Uuid` is in state
182
195
  */
183
196
  doesLayoutExist(layout: Layout): boolean;
184
197
  /**
@@ -187,8 +200,9 @@ export interface LayoutApi {
187
200
  openLayoutSettingsPanel(): void;
188
201
  /**
189
202
  * Opens Layout Editor - for Current or a named Layout
190
- * @param layoutName Name of Layout to be edited or cloned; if not specified, uses Current Layout
191
- * @param action Whether to edit, clone, or create a new Layout
203
+ * @param layoutName Name of the Layout to edit or clone. Omit it to use the current Layout
204
+ * @param layoutType `'table'` or `'pivot'`. Used when `action` is `'New'`
205
+ * @param action `'Edit'`, `'Clone'` or `'New'`. Defaults to `'Edit'`
192
206
  */
193
207
  showLayoutEditor(layoutName?: string, layoutType?: 'table' | 'pivot',
194
208
  /**
@@ -207,8 +221,8 @@ export interface LayoutApi {
207
221
  */
208
222
  deleteLayout(layout: Layout): void;
209
223
  /**
210
- * Deletes an existing Layout provided by Name (if not Default or only existing Layout)
211
- * @param layout Name of the Layout to delete
224
+ * Deletes a Layout by name. Does nothing when it is the only Layout.
225
+ * @param layoutName Name of the Layout to delete
212
226
  */
213
227
  deleteLayoutByName(layoutName: string): void;
214
228
  /**
@@ -1,35 +1,39 @@
1
1
  import { NamedQuery, NamedQueryState } from '../types';
2
2
  /**
3
- * Provides run-time access to Named Queries
3
+ * Named Queries saved in AdapTable State, and running a query by object or by name.
4
4
  */
5
5
  export interface NamedQueryApi {
6
6
  /**
7
7
  * Adds a new Named Query to Adaptable State
8
- * @param namedQueries
8
+ * @param namedQueries Named Query to add
9
9
  */
10
10
  addNamedQuery(namedQueries: NamedQuery): void;
11
11
  /**
12
- * Adds multiple new Named Query to Adaptable State
13
- * @param namedQueries
12
+ * Adds several Named Queries to Adaptable State.
13
+ * @param namedQueries Named Queries to add
14
14
  */
15
15
  addNamedQueries(namedQueries: NamedQuery[]): void;
16
16
  /**
17
17
  * Retrieves Query section from Adaptable State
18
18
  *
19
+ * @returns Query section from Adaptable State
19
20
  */
20
21
  getNamedQueryState(): NamedQueryState;
21
22
  /**
22
23
  * Gets all Named Queries in Adaptable State
24
+ * @returns All Named Queries in Adaptable State
23
25
  */
24
26
  getNamedQueries(): NamedQuery[];
25
27
  /**
26
28
  * Retrieves Named Query with given name from State
27
29
  * @param namedQueryName Name of Named Query
30
+ * @returns Named Query with given name from State
28
31
  */
29
32
  getNamedQueryByName(namedQueryName: string): NamedQuery | undefined;
30
33
  /**
31
- * Checks if the given Named Query has a valid name
32
- * @param namedQueryName Named Query
34
+ * Whether this Named Query can be saved. The name is required and must not already be used.
35
+ * @param namedQuery Named Query to check
36
+ * @returns `true` when this Named Query can be saved. The name is required and must not already be used
33
37
  */
34
38
  isValidNamedQuery(namedQuery: NamedQuery): NamedQueryValidationResult;
35
39
  /**
@@ -1,27 +1,27 @@
1
1
  import { AdaptableNote, AdaptableNotes, NoteState } from '../AdaptableState/NoteState';
2
2
  import { AdaptableMessageType, CellAddress } from '../../types';
3
3
  /**
4
- * Provides run-time access to Notes Module and related State
4
+ * Notes attached to cells. Each note has text, a type, and the cell it belongs to.
5
5
  */
6
6
  export interface NoteApi {
7
7
  /**
8
8
  * Adds a new Note
9
- * @param text
10
- * @param primaryKeyValue
11
- * @param columnId
9
+ * @param text Note text
10
+ * @param primaryKeyValue Primary key of the row
11
+ * @param columnId Column the note belongs to
12
12
  * @param extra optional additional Note properties (e.g. `Author`, `Metadata`, `IsReadOnly`);
13
13
  * `Author` and `CreatedAt` are stamped automatically when not supplied
14
14
  */
15
15
  addNote(text: string, primaryKeyValue: any, columnId: string, extra?: Partial<AdaptableNote>): void;
16
16
  /**
17
- * Edits a Note
18
- * @param note
17
+ * Replaces a note already in state.
18
+ * @param note Note to save
19
19
  */
20
20
  editNote(note: AdaptableNote): void;
21
21
  /**
22
- * Edits text of a Note
23
- * @param text
24
- * @param note
22
+ * Replaces the text of a note.
23
+ * @param text New note text
24
+ * @param note Note to update
25
25
  */
26
26
  updateNoteText(text: string, note: AdaptableNote): void;
27
27
  /**
@@ -31,26 +31,30 @@ export interface NoteApi {
31
31
  */
32
32
  setNoteType(note: AdaptableNote, noteType: AdaptableMessageType): void;
33
33
  /**
34
- * Deletes a Note
35
- * @param note
34
+ * Removes a note from state.
35
+ * @param note Note to delete
36
36
  */
37
37
  deleteNote(note: AdaptableNote): void;
38
38
  /**
39
39
  * Gets the Note State
40
+ * @returns The Note State
40
41
  */
41
42
  getNoteState(): NoteState;
42
43
  /**
43
44
  * Gets all Notes
45
+ * @returns All Notes
44
46
  */
45
47
  getAllNotes(): AdaptableNotes;
46
48
  /**
47
49
  * Gets all Notes for a cell
48
50
  * @param cellAddress note position
51
+ * @returns All Notes for a cell
49
52
  */
50
53
  getNoteForCell(cellAddress: CellAddress): AdaptableNote;
51
54
  /**
52
55
  * Returns a Note by uuid
53
56
  * @param uuid note uuid
57
+ * @returns A Note by uuid
54
58
  */
55
59
  getNoteByUuid(uuid: string): AdaptableNote | undefined;
56
60
  }
@@ -2,23 +2,27 @@ import { OpenFinReport, OpenFinState } from '../AdaptableState/OpenFinState';
2
2
  import { AdaptableAlert } from '../AdaptableState/Common/AdaptableAlert';
3
3
  import { OpenFinPluginOptions } from '../AdaptableOptions/OpenFinPluginOptions';
4
4
  /**
5
- * Provides run-time access to the OpenFin Plugin
5
+ * The OpenFin plugin: notifications, and starting or stopping live data.
6
6
  */
7
7
  export interface OpenFinApi {
8
8
  /**
9
9
  * Retrieves the OpenFinPlugOptions provided in OpenFin Plugin
10
+ * @returns The OpenFinPlugOptions provided in OpenFin Plugin
10
11
  */
11
12
  getPluginOptions(): OpenFinPluginOptions;
12
13
  /**
13
14
  * Retrieves the OpenFin section of System State
15
+ * @returns The OpenFin section of System State
14
16
  */
15
17
  getOpenFinState(): OpenFinState | undefined;
16
18
  /**
17
19
  * Whether OpenFin is available
20
+ * @returns `true` when OpenFin is available
18
21
  */
19
22
  isOpenFinAvailable(): boolean;
20
23
  /**
21
24
  * Whether OpenFin is currently running
25
+ * @returns `true` when OpenFin is currently running
22
26
  */
23
27
  isOpenFinRunning(): boolean;
24
28
  /**
@@ -28,15 +32,17 @@ export interface OpenFinApi {
28
32
  showNotificationForAlert(alert: AdaptableAlert): void;
29
33
  /**
30
34
  * Shows a notification in OpenFin
31
- * @param notification
35
+ * @param notification OpenFin notification to show
32
36
  */
33
37
  showNotification(notification: any): void;
34
38
  /**
35
39
  * Retrieves the Throttle time for live updates
40
+ * @returns The Throttle time for live updates
36
41
  */
37
42
  getOpenFinThrottleTime(): number | undefined;
38
43
  /**
39
44
  * Retrieves the OpenFin currently sending live data to Excel
45
+ * @returns The OpenFin currently sending live data to Excel
40
46
  */
41
47
  getCurrentLiveOpenFinReport(): OpenFinReport | undefined;
42
48
  /**
@@ -1,174 +1,216 @@
1
1
  import { ActionColumnOptions, AdaptableOptions, AlertOptions, CalendarOptions, CellSummaryOptions, ChartingOptions, CalculatedColumnOptions, ColumnMenuOptions, ColumnOptions, CommentOptions, ContainerOptions, ContextMenuOptions, CustomSortOptions, DashboardOptions, DataChangeHistoryOptions, DataImportOptions, DataSetOptions, EditOptions, EntitlementOptions, ExportOptions, ExpressionOptions, Fdc3Options, FilterOptions, FlashingCellOptions, FormatColumnOptions, LayoutOptions, NoteOptions, NotificationsOptions, QuickSearchOptions, RowFormOptions, SettingsPanelOptions, StateOptions, TeamSharingOptions, ToolPanelOptions, UserInterfaceOptions } from '../types';
2
2
  /**
3
- * Range of functions to access Adaptable Options
3
+ * The Adaptable Options for this instance, including each module's options and the values stored in Adaptable context.
4
4
  */
5
5
  export interface OptionsApi {
6
6
  /**
7
7
  * Returns `AdaptableOptions.adaptableId`
8
+ * @returns `AdaptableOptions.adaptableId`
8
9
  */
9
10
  getAdaptableId(): string;
10
11
  /**
11
12
  * Returns `AdaptableOptions.adaptableStateKey`
13
+ * @returns `AdaptableOptions.adaptableStateKey`
12
14
  */
13
15
  getAdaptableStateKey(): string;
14
16
  /**
15
17
  * Returns `AdaptableOptions.autogeneratePrimaryKey`
18
+ * @returns `AdaptableOptions.autogeneratePrimaryKey`
16
19
  */
17
20
  isAutogeneratePrimaryKey(): boolean;
18
21
  /**
19
22
  * Returns `AdaptableOptions.licenseKey`
23
+ * @returns `AdaptableOptions.licenseKey`
20
24
  */
21
25
  getLicenseKey(): string;
22
26
  /**
23
27
  * Returns `AdaptableOptions.primaryKey`
28
+ * @returns `AdaptableOptions.primaryKey`
24
29
  */
25
30
  getPrimaryKey(): string;
26
31
  /**
27
32
  * Returns `AdaptableOptions.userName`
33
+ * @returns `AdaptableOptions.userName`
28
34
  */
29
35
  getUserName(): string;
30
36
  /**
31
37
  * Returns provided `AdaptableOptions`
38
+ * @returns Provided `AdaptableOptions`
32
39
  */
33
40
  getAdaptableOptions(): Readonly<AdaptableOptions>;
34
41
  /**
35
42
  * Returns `AdaptableOptions.actionColumnOptions`
43
+ * @returns `AdaptableOptions.actionColumnOptions`
36
44
  */
37
45
  getActionColumnOptions(): Readonly<ActionColumnOptions>;
38
46
  /**
39
47
  * Returns `AdaptableOptions.alertOptions`
48
+ * @returns `AdaptableOptions.alertOptions`
40
49
  */
41
50
  getAlertOptions(): Readonly<AlertOptions>;
42
51
  /**
43
52
  * Returns `AdaptableOptions.expressionOptions`
53
+ * @returns `AdaptableOptions.expressionOptions`
44
54
  */
45
55
  getExpressionOptions(): Readonly<ExpressionOptions>;
46
56
  /**
47
57
  * Returns `AdaptableOptions.calendarOptions`
58
+ * @returns `AdaptableOptions.calendarOptions`
48
59
  */
49
60
  getCalendarOptions(): Readonly<CalendarOptions>;
50
61
  /**
51
62
  * Returns `AdaptableOptions.cellSummaryOptions`
63
+ * @returns `AdaptableOptions.cellSummaryOptions`
52
64
  */
53
65
  getCellSummaryOptions(): Readonly<CellSummaryOptions>;
54
66
  /**
55
67
  * Returns `AdaptableOptions.chartingOptions`
68
+ * @returns `AdaptableOptions.chartingOptions`
56
69
  */
57
70
  getChartingOptions(): Readonly<ChartingOptions>;
58
71
  /**
59
72
  * Returns `AdaptableOptions.containerOptions`
73
+ * @returns `AdaptableOptions.containerOptions`
60
74
  */
61
75
  getContainerOptions(): Readonly<ContainerOptions>;
62
76
  /**
63
77
  * Returns `AdaptableOptions.columnOptions`
78
+ * @returns `AdaptableOptions.columnOptions`
64
79
  */
65
80
  getColumnOptions(): Readonly<ColumnOptions>;
66
81
  /**
67
82
  * Returns `AdaptableOptions.commentOptions`
83
+ * @returns `AdaptableOptions.commentOptions`
68
84
  */
69
85
  getCommentOptions(): Readonly<CommentOptions>;
70
86
  /**
71
87
  * Returns `AdaptableOptions.calculatedColumnOptions`
88
+ * @returns `AdaptableOptions.calculatedColumnOptions`
72
89
  */
73
90
  getCalculatedColumnOptions(): Readonly<CalculatedColumnOptions>;
74
91
  /**
75
92
  * Returns `AdaptableOptions.customSortOptions`
93
+ * @returns `AdaptableOptions.customSortOptions`
76
94
  */
77
95
  getCustomSortOptions(): Readonly<CustomSortOptions>;
78
96
  /**
79
97
  * Returns `AdaptableOptions.dashboardOptions`
98
+ * @returns `AdaptableOptions.dashboardOptions`
80
99
  */
81
100
  getDashboardOptions(): Readonly<DashboardOptions>;
82
101
  /**
83
102
  * Returns `AdaptableOptions.dataChangeHistoryOptions`
103
+ * @returns `AdaptableOptions.dataChangeHistoryOptions`
84
104
  */
85
105
  getDataChangeHistoryOptions(): Readonly<DataChangeHistoryOptions>;
86
106
  /**
87
107
  * Returns `AdaptableOptions.dataSetOptions`
108
+ * @returns `AdaptableOptions.dataSetOptions`
88
109
  */
89
110
  getDataSetOptions(): Readonly<DataSetOptions>;
90
111
  /**
91
112
  * Returns `AdaptableOptions.editOptions`
113
+ * @returns `AdaptableOptions.editOptions`
92
114
  */
93
115
  getEditOptions(): Readonly<EditOptions>;
94
116
  /**
95
117
  * Returns `AdaptableOptions.entitlementOptions`
118
+ * @returns `AdaptableOptions.entitlementOptions`
96
119
  */
97
120
  getEntitlementOptions(): Readonly<EntitlementOptions>;
98
121
  /**
99
122
  * Returns `AdaptableOptions.exportOptions`
123
+ * @returns `AdaptableOptions.exportOptions`
100
124
  */
101
125
  getExportOptions(): Readonly<ExportOptions>;
102
126
  /**
103
127
  * Returns `AdaptableOptions.filterOptions`
128
+ * @returns `AdaptableOptions.filterOptions`
104
129
  */
105
130
  getFilterOptions(): Readonly<FilterOptions>;
106
131
  /**
107
132
  * Returns `AdaptableOptions.flashingCellOptions`
133
+ * @returns `AdaptableOptions.flashingCellOptions`
108
134
  */
109
135
  getFlashingCellOptions(): Readonly<FlashingCellOptions>;
110
136
  /**
111
137
  * Returns `AdaptableOptions.layoutOptions`
138
+ * @returns `AdaptableOptions.layoutOptions`
112
139
  */
113
140
  getLayoutOptions(): Readonly<LayoutOptions>;
114
141
  /**
115
142
  * Returns `AdaptableOptions.columnMenuOptions`
143
+ * @returns `AdaptableOptions.columnMenuOptions`
116
144
  */
117
145
  getColumnMenuOptions(): Readonly<ColumnMenuOptions>;
118
146
  /**
119
147
  * Returns `AdaptableOptions.contextMenuOptions`
148
+ * @returns `AdaptableOptions.contextMenuOptions`
120
149
  */
121
150
  getContextMenuOptions(): Readonly<ContextMenuOptions>;
122
151
  /**
123
152
  * Returns `AdaptableOptions.notificationsOptions`
153
+ * @returns `AdaptableOptions.notificationsOptions`
124
154
  */
125
155
  getNotificationsOptions(): Readonly<NotificationsOptions>;
126
156
  /**
127
157
  * Returns `AdaptableOptions.rowFormOptions`
158
+ * @returns `AdaptableOptions.rowFormOptions`
128
159
  */
129
160
  getRowFormOptions(): Readonly<RowFormOptions>;
130
161
  /**
131
162
  * Returns `AdaptableOptions.quickSearchOptions`
163
+ * @returns `AdaptableOptions.quickSearchOptions`
132
164
  */
133
165
  getQuickSearchOptions(): Readonly<QuickSearchOptions>;
134
166
  /**
135
167
  * Returns `AdaptableOptions.formatColumnOptions`
168
+ * @returns `AdaptableOptions.formatColumnOptions`
136
169
  */
137
170
  getFormatColumnOptions(): Readonly<FormatColumnOptions>;
138
171
  /**
139
172
  * Returns `AdaptableOptions.noteOptions`
173
+ * @returns `AdaptableOptions.noteOptions`
140
174
  */
141
175
  getNoteOptions(): Readonly<NoteOptions>;
142
176
  /**
143
177
  * Returns `AdaptableOptions.settingsPanelOptions`
178
+ * @returns `AdaptableOptions.settingsPanelOptions`
144
179
  */
145
180
  getSettingsPanelOptions(): Readonly<SettingsPanelOptions>;
146
181
  /**
147
182
  * Returns `AdaptableOptions.stateOptions`
183
+ * @returns `AdaptableOptions.stateOptions`
148
184
  */
149
185
  getStateOptions(): Readonly<StateOptions>;
150
186
  /**
151
187
  * Returns `AdaptableOptions.teamSharingOptions`
188
+ * @returns `AdaptableOptions.teamSharingOptions`
152
189
  */
153
190
  getTeamSharingOptions(): Readonly<TeamSharingOptions>;
154
191
  /**
155
192
  * Returns `AdaptableOptions.toolPanelOptions`
193
+ * @returns `AdaptableOptions.toolPanelOptions`
156
194
  */
157
195
  getToolPanelOptions(): Readonly<ToolPanelOptions>;
158
196
  /**
159
197
  * Returns `AdaptableOptions.userInterfaceOptions`
198
+ * @returns `AdaptableOptions.userInterfaceOptions`
160
199
  */
161
200
  getUserInterfaceOptions(): Readonly<UserInterfaceOptions>;
162
201
  /**
163
202
  * Returns `AdaptableOptions.fdc3Options`
203
+ * @returns `AdaptableOptions.fdc3Options`
164
204
  */
165
205
  getFdc3Options(): Readonly<Fdc3Options>;
166
206
  /**
167
207
  * Returns `AdaptableOptions.dataImportOptions`
208
+ * @returns `AdaptableOptions.dataImportOptions`
168
209
  */
169
210
  getDataImportOptions(): Readonly<DataImportOptions>;
170
211
  /**
171
212
  * Returns `AdaptableOptions.adaptableContext`
213
+ * @returns `AdaptableOptions.adaptableContext`
172
214
  */
173
215
  getAdaptableContext<TContext = Record<string, any>>(): TContext;
174
216
  /**
@@ -3,16 +3,18 @@ import { IPushPullApi } from './IPushPullApi';
3
3
  import { OpenFinApi } from './OpenFinApi';
4
4
  import { InteropioPluginApi } from './InteropioPluginApi';
5
5
  /**
6
- * API methods dealing with AdapTable plugins
6
+ * The loaded plugins, and the OpenFin, ipushpull and interop.io plugin APIs.
7
7
  */
8
8
  export interface PluginsApi {
9
9
  /**
10
10
  * Retrieves the Plugin State (internal only)
11
+ * @returns The Plugin State (internal only)
11
12
  */
12
13
  getPluginsState(): PluginsState;
13
14
  /**
14
15
  * Gets the State for a given Plugin
15
16
  * @param pluginId plugin state to retrieve
17
+ * @returns The State for a given Plugin
16
18
  */
17
19
  getPluginState(pluginId: string): any;
18
20
  /**
@@ -29,14 +31,17 @@ export interface PluginsApi {
29
31
  setPluginState(pluginId: string, pluginState: any): void;
30
32
  /**
31
33
  * Returns ipushpull API class in Adaptable API
34
+ * @returns Ipushpull API class in Adaptable API
32
35
  */
33
36
  getipushpullPluginApi(): IPushPullApi;
34
37
  /**
35
38
  * Returns OpenFin API class in Adaptable API
39
+ * @returns OpenFin API class in Adaptable API
36
40
  */
37
41
  getOpenFinPluginApi(): OpenFinApi;
38
42
  /**
39
43
  * Returns Interopio API class in Adaptable API
44
+ * @returns Interopio API class in Adaptable API
40
45
  */
41
46
  getInteropioPluginApi(): InteropioPluginApi;
42
47
  }
@@ -1,13 +1,14 @@
1
1
  import { PlusMinusState, PlusMinusNudge } from '../AdaptableState/PlusMinusState';
2
2
  import { CellUpdateRequest, GridCell } from '../AdaptableState/Selection/GridCell';
3
3
  /**
4
- * Provides run-time access to the Plus / Minus Module and associated state
4
+ * Plus Minus nudges that change a numeric cell by a configured amount.
5
5
  */
6
6
  export interface PlusMinusApi {
7
7
  /**
8
8
  * Retrieves Plus Minus section from Adaptable State (nudge rules only).
9
9
  * Keyboard triggers are optional on each {@link PlusMinusNudge}; unset fields fall back to
10
10
  * `AdaptableOptions.plusMinusOptions`, then `+` / `-`.
11
+ * @returns Plus Minus section from Adaptable State (nudge rules only). Keyboard triggers are optional on each {@link PlusMinusNudge}; unset fields fall back to `AdaptableOptions.plusMinusOptions`, then `+` / `-`
11
12
  */
12
13
  getPlusMinusState(): PlusMinusState;
13
14
  /**
@@ -1,11 +1,12 @@
1
1
  import { AdaptableStyle } from '../AdaptableState/Common/AdaptableStyle';
2
2
  import { QuickSearchState } from '../AdaptableState/QuickSearchState';
3
3
  /**
4
- * Provides run-time access to Quick Search Module
4
+ * Quick Search: the current search text, the next and previous match, and the match styles.
5
5
  */
6
6
  export interface QuickSearchApi {
7
7
  /**
8
8
  * Retrieves Quick Search section from Adaptable State
9
+ * @returns Quick Search section from Adaptable State
9
10
  */
10
11
  getQuickSearchState(): QuickSearchState;
11
12
  /**
@@ -27,18 +28,22 @@ export interface QuickSearchApi {
27
28
  gotoPreviousMatch(): void;
28
29
  /**
29
30
  * Retrieves current Quick Search text
31
+ * @returns Current Quick Search text
30
32
  */
31
33
  getQuickSearchValue(): string;
32
34
  /**
33
35
  * Retrieves whole-cell style for matching Quick Search cells (undefined when unset on client-side)
36
+ * @returns Whole-cell style for matching Quick Search cells (undefined when unset on client-side)
34
37
  */
35
38
  getQuickSearchCellMatchStyle(): AdaptableStyle | undefined;
36
39
  /**
37
40
  * Retrieves the style for matched text within Quick Search results (includes run-time default when unset)
41
+ * @returns The style for matched text within Quick Search results (includes run-time default when unset)
38
42
  */
39
43
  getQuickSearchTextMatchStyle(): Omit<AdaptableStyle, 'ClassName'>;
40
44
  /**
41
45
  * Retrieves the style for the active Quick Search match (includes run-time default when unset)
46
+ * @returns The style for the active Quick Search match (includes run-time default when unset)
42
47
  */
43
48
  getQuickSearchCurrentTextMatchStyle(): Omit<AdaptableStyle, 'ClassName'>;
44
49
  /**
@@ -1,10 +1,11 @@
1
1
  /**
2
- * Functions for accessing Action Columns
2
+ * Row Forms. Opens the form used to create, clone or edit a row, and deletes a row by primary key.
3
+ * Deleting does not open a form.
3
4
  */
4
5
  export interface RowFormApi {
5
6
  /**
6
- * Open edit dialog for row with the given primary key value
7
- * @param primaryKey - the primary key of the edited row
7
+ * Opens the Row Form to edit the row with this primary key.
8
+ * @param primaryKey Primary key of the row to edit
8
9
  */
9
10
  displayEditRowForm(primaryKey: any): Promise<void>;
10
11
  /**
@@ -12,13 +13,13 @@ export interface RowFormApi {
12
13
  */
13
14
  displayCreateRowForm(): Promise<void>;
14
15
  /**
15
- * Open create dialog for cloning an existing row
16
- * @param primaryKey - Primary Key of the duplicated row
16
+ * Opens the Row Form to create a row, prefilled from an existing row.
17
+ * @param primaryKey Primary key of the row to clone. Omit it to open an empty clone form
17
18
  */
18
19
  displayCloneRowForm(primaryKey?: any): Promise<void>;
19
20
  /**
20
- * Deletes row from grid (with event fired) - note: no visible Row Form is displayed
21
- * @param primaryKey - Primary Key of the deleted row
21
+ * Deletes a row and fires the Row Form submitted event. No form is shown.
22
+ * @param primaryKey Primary key of the row to delete
22
23
  */
23
24
  displayDeleteRowForm(primaryKey?: any): void;
24
25
  }
@@ -1,10 +1,11 @@
1
1
  import { ShortcutState, Shortcut } from '../AdaptableState/ShortcutState';
2
2
  /**
3
- * Provides run-time access to Shortcut Module and associated state
3
+ * Keyboard shortcuts that change a cell value.
4
4
  */
5
5
  export interface ShortcutApi {
6
6
  /**
7
7
  * Retrieves Shortcut section from Adaptable State
8
+ * @returns Shortcut section from Adaptable State
8
9
  */
9
10
  getShortcutState(): ShortcutState;
10
11
  /**
@@ -48,6 +49,7 @@ export interface ShortcutApi {
48
49
  /**
49
50
  * Edits Shortcut in state
50
51
  * @param shortcut Shortcut to edit
52
+ * @returns The shortcut after it is saved
51
53
  */
52
54
  editShortcut(shortcut: Shortcut): Shortcut;
53
55
  /**