@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
@@ -1,19 +1,23 @@
1
1
  import { IRowNode } from 'ag-grid-enterprise';
2
2
  import { BaseContext } from '../../types';
3
3
  /**
4
- * Object returned by the `DataImported` event
4
+ * Payload of the `DataImported` event.
5
+ *
6
+ * Fires after a data import has been applied to the grid.
7
+ *
8
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
5
9
  */
6
10
  export interface DataImportedInfo extends BaseContext {
7
11
  /**
8
- * Raw data that was imported
12
+ * Raw rows that were imported, before they were matched to grid rows.
9
13
  */
10
14
  importData: any[];
11
15
  /**
12
- * Rows that were added
16
+ * Row nodes created by this import.
13
17
  */
14
18
  addedRows: IRowNode[];
15
19
  /**
16
- * Rows that were updated
20
+ * Existing row nodes updated by this import.
17
21
  */
18
22
  updatedRows: IRowNode[];
19
23
  }
@@ -1,10 +1,14 @@
1
1
  import { BaseContext, DataSet } from '../../types';
2
2
  /**
3
- * Object returned by the `DataSetSelected` event
3
+ * Payload of the `DataSetSelected` event.
4
+ *
5
+ * Fires when a Data Set is selected.
6
+ *
7
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
4
8
  */
5
9
  export interface DataSetSelectedInfo extends BaseContext {
6
10
  /**
7
- * The DataSet that has been selected
11
+ * Data Set that was selected.
8
12
  */
9
13
  dataSet: DataSet;
10
14
  }
@@ -1,11 +1,17 @@
1
1
  import { BaseContext } from '../../types';
2
2
  import { AppIdentifier, Context, ContextMetadata, Intent } from '@finos/fdc3';
3
3
  /**
4
- * EventInfo returned by FDC3 Message events
4
+ * Payload of the `Fdc3Message` event.
5
+ *
6
+ * A sent message ({@link Fdc3MessageSentInfo}, `direction: 'sent'`) or a received message ({@link Fdc3MessageReceivedInfo}, `direction: 'received'`).
5
7
  */
6
8
  export type Fdc3MessageInfo = Fdc3MessageSentInfo | Fdc3MessageReceivedInfo;
7
9
  /**
8
- * Event Info for FDC3 Sent Message Event
10
+ * A message AdapTable sent through FDC3.
11
+ *
12
+ * `eventType` is `RaiseIntent`, `RaiseIntentForContext` or `BroadcastMessage`. `intent` is set for `RaiseIntent`.
13
+ *
14
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
9
15
  */
10
16
  export interface Fdc3MessageSentInfo extends BaseContext {
11
17
  /**
@@ -13,7 +19,7 @@ export interface Fdc3MessageSentInfo extends BaseContext {
13
19
  */
14
20
  direction: 'sent';
15
21
  /**
16
- * Event Type: `RaiseIntent`, `RaiseIntentForContext, `BroadcastMessage`
22
+ * What was sent: `RaiseIntent`, `RaiseIntentForContext` or `BroadcastMessage`.
17
23
  */
18
24
  eventType: 'RaiseIntent' | 'RaiseIntentForContext' | 'BroadcastMessage';
19
25
  /**
@@ -30,7 +36,11 @@ export interface Fdc3MessageSentInfo extends BaseContext {
30
36
  app?: AppIdentifier;
31
37
  }
32
38
  /**
33
- * Event Info for FDC3 Received Message Event
39
+ * A message AdapTable received through FDC3.
40
+ *
41
+ * `eventType` is `IntentRaised` or `ContextBroadcast`. `intent` is set for `IntentRaised`.
42
+ *
43
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
34
44
  */
35
45
  export interface Fdc3MessageReceivedInfo extends BaseContext {
36
46
  /**
@@ -1,11 +1,15 @@
1
1
  import { AdaptableFlashingCell } from '../../AdaptableState/Common/AdaptableFlashingCell';
2
2
  import { BaseContext } from '../../types';
3
3
  /**
4
- * Object returned by the `FlashingCellDisplayed` event
4
+ * Payload of the `FlashingCellDisplayed` event.
5
+ *
6
+ * Fires when a cell or row flashes.
7
+ *
8
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
5
9
  */
6
10
  export interface FlashingCellDisplayedInfo extends BaseContext {
7
11
  /**
8
- * Details of the Cell (or row) which has just flashed
12
+ * What flashed: the cell or row, and the change that caused the flash.
9
13
  */
10
14
  flashingCell: AdaptableFlashingCell;
11
15
  }
@@ -1,14 +1,22 @@
1
1
  import { BaseContext, GridFilter } from '../../types';
2
2
  /**
3
- * EventInfo returned by the GridFilterApplied event
3
+ * Payload of the `GridFilterApplied` event.
4
+ *
5
+ * Fires when the Grid Filter on the current Layout is set, cleared, suspended or unsuspended.
6
+ *
7
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
4
8
  */
5
9
  export interface GridFilterAppliedInfo extends BaseContext {
6
10
  /**
7
- * Current Grid Filter
11
+ * Grid Filter on the current Layout after this change.
12
+ *
13
+ * `undefined` when the Layout has no Grid Filter (including after it is cleared).
8
14
  */
9
15
  gridFilter: GridFilter | undefined;
10
16
  /**
11
- * AST for Current Grid Filter Expression
17
+ * AST of `gridFilter.Expression`.
18
+ *
19
+ * `null` when the Layout has no Grid Filter.
12
20
  */
13
21
  gridFilterExpressionAST: any;
14
22
  }
@@ -1,11 +1,15 @@
1
1
  import { AdaptableSortState } from '../../AdaptableState/Common/AdaptableSortState';
2
2
  import { BaseContext } from '../../types';
3
3
  /**
4
- * EventInfo returned by GridSorted event
4
+ * Payload of the `GridSorted` event.
5
+ *
6
+ * Fires when the grid sort changes, including a Custom Sort. The payload is the sort state after the change.
7
+ *
8
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
5
9
  */
6
10
  export interface GridSortedInfo extends BaseContext {
7
11
  /**
8
- * Current sort state in the Grid
12
+ * Column sorts and Custom Sorts after this change.
9
13
  */
10
14
  adaptableSortState: AdaptableSortState;
11
15
  }
@@ -1,19 +1,25 @@
1
1
  import { LayoutState } from '../../AdaptableState/LayoutState';
2
2
  import { BaseContext } from '../../types';
3
3
  /**
4
- * EventInfo returned by LayoutChanged event
4
+ * Payload of the `LayoutChanged` event.
5
+ *
6
+ * Fires when Layout State changes: the current Layout is ready, added, edited, saved, deleted or selected, and when a Column Filter or the Grid Filter on the current Layout changes.
7
+ *
8
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
5
9
  */
6
10
  export interface LayoutChangedInfo extends BaseContext {
7
11
  /**
8
- * What caused Layout State to change
12
+ * Which action caused this change. See {@link LayoutChangedAction}.
9
13
  */
10
14
  actionName: LayoutChangedAction;
11
15
  /**
12
- * Previous Layout State
16
+ * Layout State before this change.
17
+ *
18
+ * Absent for `LAYOUT_READY`, which fires once after startup and has no previous state.
13
19
  */
14
20
  oldLayoutState: LayoutState | undefined;
15
21
  /**
16
- * Current Layout State
22
+ * Layout State after this change.
17
23
  */
18
24
  newLayoutState: LayoutState;
19
25
  /**
@@ -38,6 +44,31 @@ export interface LayoutChangedInfo extends BaseContext {
38
44
  */
39
45
  export type LayoutChangedArea = 'Columns' | 'ColumnPinning' | 'ColumnHeaders' | 'ColumnSorting' | 'RowGrouping' | 'Aggregations' | 'RowSummaries' | 'RowSelection' | 'ColumnFilter' | 'GridFilter' | 'Pivoting';
40
46
  /**
41
- * Trigger for Layout Changed Event
47
+ * Why a `LayoutChanged` event fired.
48
+ *
49
+ * Identity of the Layout:
50
+ * - `LAYOUT_READY` — once after startup, for the Layout that is already current. `oldLayoutState` is absent and `changedAreas` is omitted.
51
+ * - `LAYOUT_ADD` — a Layout was added. `changedAreas` is omitted.
52
+ * - `LAYOUT_EDIT` — a Layout was edited.
53
+ * - `LAYOUT_SAVE` — a Layout was saved, including auto-save after grid edits (sort, grouping, columns, and so on). `changedAreas` lists the facets that actually changed.
54
+ * - `LAYOUT_DELETE` — a Layout was deleted. `changedAreas` is omitted.
55
+ * - `LAYOUT_SELECT` — a different Layout was selected. `changedAreas` is omitted.
56
+ *
57
+ * Column Filters on the current Layout. `changedAreas` is always `['ColumnFilter']`:
58
+ * - `LAYOUT_COLUMN_FILTER_ADD` — a Column Filter was added
59
+ * - `LAYOUT_COLUMN_FILTER_EDIT` — a Column Filter was edited
60
+ * - `LAYOUT_COLUMN_FILTER_SET` — Column Filters were set
61
+ * - `LAYOUT_COLUMN_FILTER_CLEAR` — a Column Filter was cleared
62
+ * - `LAYOUT_COLUMN_FILTER_CLEAR_ALL` — all Column Filters were cleared
63
+ * - `LAYOUT_COLUMN_FILTER_SUSPEND` — a Column Filter was suspended
64
+ * - `LAYOUT_COLUMN_FILTER_SUSPEND_ALL` — all Column Filters were suspended
65
+ * - `LAYOUT_COLUMN_FILTER_UNSUSPEND` — a Column Filter was unsuspended
66
+ * - `LAYOUT_COLUMN_FILTER_UNSUSPEND_ALL` — all Column Filters were unsuspended
67
+ *
68
+ * Grid Filter on the current Layout. `changedAreas` is always `['GridFilter']`:
69
+ * - `LAYOUT_GRID_FILTER_SET` — the Grid Filter was set
70
+ * - `LAYOUT_GRID_FILTER_CLEAR` — the Grid Filter was cleared
71
+ * - `LAYOUT_GRID_FILTER_SUSPEND` — the Grid Filter was suspended
72
+ * - `LAYOUT_GRID_FILTER_UNSUSPEND` — the Grid Filter was unsuspended
42
73
  */
43
74
  export type LayoutChangedAction = 'LAYOUT_READY' | 'LAYOUT_ADD' | 'LAYOUT_EDIT' | 'LAYOUT_SAVE' | 'LAYOUT_DELETE' | 'LAYOUT_SELECT' | 'LAYOUT_COLUMN_FILTER_ADD' | 'LAYOUT_COLUMN_FILTER_EDIT' | 'LAYOUT_COLUMN_FILTER_SET' | 'LAYOUT_COLUMN_FILTER_CLEAR' | 'LAYOUT_COLUMN_FILTER_CLEAR_ALL' | 'LAYOUT_COLUMN_FILTER_SUSPEND' | 'LAYOUT_COLUMN_FILTER_SUSPEND_ALL' | 'LAYOUT_COLUMN_FILTER_UNSUSPEND' | 'LAYOUT_COLUMN_FILTER_UNSUSPEND_ALL' | 'LAYOUT_GRID_FILTER_SET' | 'LAYOUT_GRID_FILTER_CLEAR' | 'LAYOUT_GRID_FILTER_SUSPEND' | 'LAYOUT_GRID_FILTER_UNSUSPEND';
@@ -1,19 +1,33 @@
1
1
  import { Report } from '../../AdaptableState/ExportState';
2
2
  import { BaseContext } from '../../types';
3
3
  /**
4
- * EventInfo returned by LiveDataChanged event
4
+ * Payload of the `LiveDataChanged` event.
5
+ *
6
+ * Fires for the ipushpull and OpenFin live-report plugins: when the destination connects or disconnects, a snapshot is sent, or live data starts, stops or is pushed.
7
+ *
8
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
5
9
  */
6
10
  export interface LiveDataChangedInfo extends BaseContext {
7
11
  /**
8
- * Which Adaptable partner is the export destination for the live data
12
+ * Destination this change belongs to: `OpenFin` or `ipushpull`.
9
13
  */
10
14
  reportDestination: 'OpenFin' | 'ipushpull';
11
15
  /**
12
- * What triggered the event to fire
16
+ * What happened:
17
+ * - `Connected` — the destination session started. `liveReport` is omitted.
18
+ * - `Disconnected` — the destination session ended. `liveReport` is omitted.
19
+ * - `SnapshotSent` — a one-off snapshot was sent. `liveReport` is omitted.
20
+ * - `LiveDataStarted` — a report started streaming. `liveReport` is that report.
21
+ * - `LiveDataStopped` — streaming stopped. `liveReport` is the report that was live.
22
+ * - `LiveDataUpdated` — a new snapshot of the live report was pushed. `liveReport` is that report.
13
23
  */
14
24
  liveDataTrigger: 'Connected' | 'Disconnected' | 'SnapshotSent' | 'LiveDataStarted' | 'LiveDataStopped' | 'LiveDataUpdated';
15
25
  /**
16
- * The Report which is currently live - only used if the Trigger is LiveData related
26
+ * The ipushpull or OpenFin report this change is about.
27
+ *
28
+ * Set for `LiveDataStarted`, `LiveDataStopped` and `LiveDataUpdated`. Omitted for `Connected`, `Disconnected` and `SnapshotSent`.
29
+ *
30
+ * This is the plugin report (an ipushpull report or an OpenFin report), not a {@link LiveReport}.
17
31
  */
18
32
  liveReport?: any;
19
33
  }
@@ -30,7 +44,9 @@ export interface LiveReport {
30
44
  */
31
45
  report: Report;
32
46
  /**
33
- * Where the live data is being sent
47
+ * Where the live data is being sent.
48
+ *
49
+ * `OpenfinExcel` is the OpenFin value on this object. {@link LiveDataChangedInfo.reportDestination} uses `OpenFin` for the same destination.
34
50
  */
35
51
  reportDestination: 'OpenfinExcel' | 'ipushpull';
36
52
  }
@@ -5,7 +5,11 @@ import { BaseContext } from '../../types';
5
5
  */
6
6
  export type NoteChangedAction = 'Added' | 'Edited' | 'Deleted';
7
7
  /**
8
- * EventInfo returned by the NoteChanged event
8
+ * Payload of the `NoteChanged` event.
9
+ *
10
+ * Fires when a Note is added, edited or deleted. `actionName` is `Added`, `Edited` or `Deleted`.
11
+ *
12
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
9
13
  */
10
14
  export interface NoteChangedInfo extends BaseContext {
11
15
  /**
@@ -1,15 +1,19 @@
1
1
  import { ReportSchedule } from '../../AdaptableState/ExportState';
2
2
  import { BaseContext } from '../../types';
3
3
  /**
4
- * EventInfo returned by the ReportScheduleRan event
4
+ * Payload of the `ReportScheduleRan` event.
5
+ *
6
+ * Fires when a scheduled report runs.
7
+ *
8
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
5
9
  */
6
10
  export interface ReportScheduleRanInfo extends BaseContext {
7
11
  /**
8
- * Report schedule that was triggered (if applicable)
12
+ * The schedule that just ran.
9
13
  */
10
14
  reportSchedule?: ReportSchedule;
11
15
  /**
12
- * ISO datetime when Schedule ran (useful for logging)
16
+ * When this run started, as an ISO datetime (`new Date().toISOString()`).
13
17
  */
14
18
  RanAt: string;
15
19
  }
@@ -1,11 +1,15 @@
1
1
  import { BaseContext } from '../../types';
2
2
  import { RowDataChangedInfo } from '../../AdaptableState/Common/RowDataChangedInfo';
3
3
  /**
4
- * EventInfo returned by the RowChanged event
4
+ * Payload of the `RowChanged` event.
5
+ *
6
+ * Fires when rows are added, updated, deleted or loaded.
7
+ *
8
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
5
9
  */
6
10
  export interface RowChangedInfo extends BaseContext {
7
11
  /**
8
- * Object providing full information of the Row that changed
12
+ * Rows that changed, and whether they were added, updated, deleted or loaded.
9
13
  */
10
14
  rowDataChange: RowDataChangedInfo;
11
15
  }
@@ -2,53 +2,69 @@ import { AdaptableFormData } from '../../AdaptableState/Common/AdaptableForm';
2
2
  import { IRowNode } from 'ag-grid-enterprise';
3
3
  import { BaseContext } from '../../types';
4
4
  /**
5
- * Info passed into RowFormSubmitted Event - can be `CreatedRowInfo`, `EditedRowInfo` or `DeletedRowInfo`
5
+ * Payload of the `RowFormSubmitted` event.
6
+ *
7
+ * Discriminate on `type`: `rowCreated` ({@link CreatedRowInfo}), `rowEdited` ({@link EditedRowInfo}) or `rowDeleted` ({@link DeletedRowInfo}).
8
+ *
9
+ * The event fires when the form is submitted, before the grid row is added, updated or deleted.
6
10
  */
7
11
  export type RowFormSubmittedInfo<TData = any> = CreatedRowInfo<TData> | EditedRowInfo<TData> | DeletedRowInfo<TData>;
8
12
  /**
9
- * Info passed into RowFormSubmitted Event for Created Rows
13
+ * Create (or clone) form was submitted.
14
+ *
15
+ * The new row is added after this event, from `formData`. `rowNode` is not set.
16
+ *
17
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
10
18
  */
11
19
  export interface CreatedRowInfo<TData = any> extends BaseContext {
12
20
  /**
13
- * Specifies its a Created Row Form
21
+ * Always `rowCreated`.
14
22
  */
15
23
  type: 'rowCreated';
16
24
  /**
17
- * Data entered in the Form
25
+ * Values entered in the form. Empty strings are omitted.
18
26
  */
19
27
  formData: AdaptableFormData;
20
28
  /**
21
- * Node being added
29
+ * Not set for a created row. The row does not exist yet; it is added from `formData` after this event.
22
30
  */
23
31
  rowNode?: IRowNode<TData>;
24
32
  }
25
33
  /**
26
- * Info passed into RowFormSubmitted Event for Edited Rows
34
+ * Edit form was submitted.
35
+ *
36
+ * The row is updated from `formData` after this event.
37
+ *
38
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
27
39
  */
28
40
  export interface EditedRowInfo<TData = any> extends BaseContext {
29
41
  /**
30
- * Specifies its an Edited Row Form
42
+ * Always `rowEdited`.
31
43
  */
32
44
  type: 'rowEdited';
33
45
  /**
34
- * Data entered in the Form
46
+ * Values entered in the form.
35
47
  */
36
48
  formData: AdaptableFormData;
37
49
  /**
38
- * Node being edited
50
+ * Row being edited. It is still the row in the grid when this event fires.
39
51
  */
40
52
  rowNode: IRowNode<TData>;
41
53
  }
42
54
  /**
43
- * Info passed into RowFormSubmitted Event for Deleted Rows
55
+ * Delete was confirmed.
56
+ *
57
+ * The row is deleted after this event. There is no form data.
58
+ *
59
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
44
60
  */
45
61
  export interface DeletedRowInfo<TData = any> extends BaseContext {
46
62
  /**
47
- * Specifies its a Deleted Row Form
63
+ * Always `rowDeleted`.
48
64
  */
49
65
  type: 'rowDeleted';
50
66
  /**
51
- * Node being deleted
67
+ * Row about to be deleted. It is still in the grid when this event fires.
52
68
  */
53
69
  rowNode: IRowNode<TData>;
54
70
  }
@@ -1,11 +1,15 @@
1
1
  import { SelectedRowInfo } from '../../AdaptableState/Selection/SelectedRowInfo';
2
2
  import { BaseContext } from '../../types';
3
3
  /**
4
- * Event Info published by RowSelectionChanged event
4
+ * Payload of the `RowSelectionChanged` event.
5
+ *
6
+ * Fires when the row selection changes, after AdapTable has updated its selected-row state. Cell selection does not fire this event.
7
+ *
8
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
5
9
  */
6
10
  export interface RowSelectionChangedInfo extends BaseContext {
7
11
  /**
8
- * Details of Rows currently selected in the Grid
12
+ * Rows selected after this change. `gridRows` is empty when nothing is selected.
9
13
  */
10
14
  selectedRowInfo: SelectedRowInfo;
11
15
  }
@@ -1,11 +1,15 @@
1
1
  import { SystemStatusMessageInfo } from '../../AdaptableState/Common/SystemStatusMessageInfo';
2
2
  import { BaseContext } from '../../types';
3
3
  /**
4
- * Object returned by SystemStatusMessageDisplayed Event
4
+ * Payload of the `SystemStatusMessageDisplayed` event.
5
+ *
6
+ * Fires when a System Status message is displayed.
7
+ *
8
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
5
9
  */
6
10
  export interface SystemStatusMessageDisplayedInfo extends BaseContext {
7
11
  /**
8
- * Details of the System Status Message and Type
12
+ * Message text, type (`Success`, `Info`, `Warning` or `Error`) and when it was sent.
9
13
  */
10
14
  systemStatusMessageInfo: SystemStatusMessageInfo;
11
15
  }
@@ -1,11 +1,15 @@
1
1
  import { SharedEntity } from '../../AdaptableState/TeamSharingState';
2
2
  import { BaseContext } from '../../types';
3
3
  /**
4
- * EventInfo returned by TeamSharingEntityChanged event
4
+ * Payload of the `TeamSharingEntityChanged` event.
5
+ *
6
+ * Fires when an active shared entity has a newer revision and Team Sharing update notifications run.
7
+ *
8
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
5
9
  */
6
10
  export interface TeamSharingEntityChangedInfo extends BaseContext {
7
11
  /**
8
- * Object containing the Shared Entity that has changed
12
+ * Shared entity whose revision changed.
9
13
  */
10
14
  sharedEntity: SharedEntity;
11
15
  }
@@ -1,11 +1,15 @@
1
1
  import { SystemThemeName } from '../../AdaptableState/ThemeState';
2
2
  import { BaseContext } from '../../types';
3
3
  /**
4
- * Object returned by the `ThemeSelected` event
4
+ * Payload of the `ThemeSelected` event.
5
+ *
6
+ * Fires when a shipped theme is selected, applied at startup, or re-applied. `theme` is `light`, `dark` or `os`.
7
+ *
8
+ * Extends {@link BaseContext}, so `adaptableApi` is included.
5
9
  */
6
10
  export interface ThemeSelectedInfo extends BaseContext {
7
11
  /**
8
- * Shipped theme that is now active: `light`, `dark`, or `os`
12
+ * Shipped theme that is now active: `light`, `dark` or `os`.
9
13
  */
10
14
  theme: SystemThemeName;
11
15
  }