@adaptabletools/adaptable 10.0.2 → 10.0.4-canary.2

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 (306) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/base.css +84 -32
  4. package/bundle.cjs.js +350 -0
  5. package/index.css +100 -34
  6. package/package.json +1 -5
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -1
  10. package/src/AdaptableInterfaces/IAdaptable.d.ts +24 -12
  11. package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -3
  12. package/src/AdaptableOptions/ContainerOptions.d.ts +4 -5
  13. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
  14. package/src/AdaptableOptions/DateInputOptions.d.ts +5 -1
  15. package/src/AdaptableOptions/EditOptions.d.ts +2 -3
  16. package/src/AdaptableOptions/FilterOptions.d.ts +22 -15
  17. package/src/AdaptableOptions/GeneralOptions.d.ts +3 -2
  18. package/src/AdaptableOptions/LayoutOptions.d.ts +1 -1
  19. package/src/AdaptableOptions/MenuOptions.d.ts +11 -11
  20. package/src/AdaptableOptions/NotificationsOptions.d.ts +11 -1
  21. package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -2
  22. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +108 -6
  23. package/src/Api/AdaptableApi.d.ts +12 -12
  24. package/src/Api/AlertApi.d.ts +1 -1
  25. package/src/Api/CalculatedColumnApi.d.ts +15 -0
  26. package/src/Api/ColumnApi.d.ts +49 -5
  27. package/src/Api/ConfigApi.d.ts +8 -0
  28. package/src/Api/EventApi.d.ts +1 -1
  29. package/src/Api/Events/AdaptableReady.d.ts +5 -8
  30. package/src/Api/Events/AdaptableStateChanged.d.ts +2 -1
  31. package/src/Api/Events/AlertFired.d.ts +2 -1
  32. package/src/Api/Events/BaseEventInfo.d.ts +10 -0
  33. package/src/{Utilities/Interface/ProgressIndicator.js → Api/Events/BaseEventInfo.js} +0 -0
  34. package/src/Api/Events/CellChanged.d.ts +2 -1
  35. package/src/Api/Events/ChexboxColumnClicked.d.ts +2 -1
  36. package/src/Api/Events/CustomToolbarConfigured.d.ts +2 -1
  37. package/src/Api/Events/DashboardChanged.d.ts +2 -1
  38. package/src/Api/Events/FlashingAlertFired.d.ts +2 -1
  39. package/src/Api/Events/GridDataChanged.d.ts +2 -1
  40. package/src/Api/Events/LayoutChanged.d.ts +2 -1
  41. package/src/Api/Events/LiveDataChanged.d.ts +2 -1
  42. package/src/Api/Events/SearchChanged.d.ts +2 -1
  43. package/src/Api/Events/SelectionChanged.d.ts +2 -1
  44. package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +2 -1
  45. package/src/Api/Events/TeamSharingEntityChanged.d.ts +2 -1
  46. package/src/Api/Events/ThemeChanged.d.ts +2 -1
  47. package/src/Api/GridApi.d.ts +44 -18
  48. package/src/Api/Implementation/AlertApiImpl.d.ts +1 -1
  49. package/src/Api/Implementation/AlertApiImpl.js +22 -15
  50. package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +3 -0
  51. package/src/Api/Implementation/CalculatedColumnApiImpl.js +23 -0
  52. package/src/Api/Implementation/ColumnApiImpl.d.ts +12 -3
  53. package/src/Api/Implementation/ColumnApiImpl.js +79 -44
  54. package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
  55. package/src/Api/Implementation/ConfigApiImpl.js +28 -41
  56. package/src/Api/Implementation/DashboardApiImpl.js +2 -1
  57. package/src/Api/Implementation/ExportApiImpl.js +4 -4
  58. package/src/Api/Implementation/FormatColumnApiImpl.js +2 -1
  59. package/src/Api/Implementation/FreeTextColumnApiImpl.js +9 -3
  60. package/src/Api/Implementation/GridApiImpl.d.ts +11 -2
  61. package/src/Api/Implementation/GridApiImpl.js +30 -13
  62. package/src/Api/Implementation/InternalApiImpl.d.ts +4 -2
  63. package/src/Api/Implementation/InternalApiImpl.js +21 -5
  64. package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
  65. package/src/Api/Implementation/LayoutApiImpl.js +19 -3
  66. package/src/Api/Implementation/PluginsApiImpl.d.ts +2 -2
  67. package/src/Api/Implementation/PluginsApiImpl.js +1 -1
  68. package/src/Api/Implementation/ScheduleApiImpl.js +6 -6
  69. package/src/Api/Implementation/ScopeApiImpl.js +11 -11
  70. package/src/Api/Implementation/SystemStatusApiImpl.js +1 -0
  71. package/src/Api/Implementation/TeamSharingApiImpl.js +1 -0
  72. package/src/Api/Implementation/ThemeApiImpl.js +1 -0
  73. package/src/Api/Implementation/ToolPanelApiImpl.js +1 -1
  74. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +15 -11
  75. package/src/Api/Implementation/UserInterfaceApiImpl.js +73 -91
  76. package/src/Api/InternalApi.d.ts +4 -2
  77. package/src/Api/LayoutApi.d.ts +7 -0
  78. package/src/Api/PluginsApi.d.ts +1 -7
  79. package/src/Api/TeamSharingApi.d.ts +1 -1
  80. package/src/Api/ThemeApi.d.ts +2 -2
  81. package/src/Api/UserInterfaceApi.d.ts +19 -9
  82. package/src/PredefinedConfig/AdaptableState.d.ts +2 -10
  83. package/src/PredefinedConfig/AlertState.d.ts +5 -1
  84. package/src/PredefinedConfig/ApplicationState.d.ts +1 -1
  85. package/src/PredefinedConfig/CalculatedColumnState.d.ts +5 -38
  86. package/src/PredefinedConfig/Common/AdaptableButton.d.ts +1 -1
  87. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +36 -36
  88. package/src/PredefinedConfig/Common/AdaptableColumn.js +5 -5
  89. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +4 -4
  90. package/src/PredefinedConfig/Common/AdaptablePredicate.js +19 -18
  91. package/src/PredefinedConfig/Common/AdaptableStyle.d.ts +7 -7
  92. package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +4 -3
  93. package/src/PredefinedConfig/Common/DataUpdateConfig.d.ts +5 -1
  94. package/src/PredefinedConfig/Common/Menu.d.ts +40 -17
  95. package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +49 -0
  96. package/src/PredefinedConfig/Common/SpecialColumnSettings.js +2 -0
  97. package/src/PredefinedConfig/Common/Types.d.ts +5 -5
  98. package/src/PredefinedConfig/Common/Types.js +9 -7
  99. package/src/PredefinedConfig/ConditionalStyleState.d.ts +1 -1
  100. package/src/PredefinedConfig/CustomSortState.d.ts +1 -1
  101. package/src/PredefinedConfig/DataSourceState.d.ts +1 -1
  102. package/src/PredefinedConfig/ExportState.d.ts +3 -3
  103. package/src/PredefinedConfig/FilterState.d.ts +3 -3
  104. package/src/PredefinedConfig/FormatColumnState.d.ts +1 -1
  105. package/src/PredefinedConfig/FreeTextColumnState.d.ts +11 -1
  106. package/src/PredefinedConfig/LayoutState.d.ts +1 -1
  107. package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -40
  108. package/src/PredefinedConfig/QuickSearchState.d.ts +3 -3
  109. package/src/PredefinedConfig/ScheduleState.d.ts +1 -1
  110. package/src/PredefinedConfig/Selection/GridCell.d.ts +2 -1
  111. package/src/PredefinedConfig/Selection/GridRow.d.ts +12 -4
  112. package/src/PredefinedConfig/SystemState.d.ts +4 -1
  113. package/src/PredefinedConfig/ThemeState.d.ts +5 -1
  114. package/src/Redux/ActionsReducers/DashboardRedux.js +2 -1
  115. package/src/Redux/ActionsReducers/GridRedux.d.ts +3 -2
  116. package/src/Redux/ActionsReducers/GridRedux.js +2 -2
  117. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +12 -2
  118. package/src/Redux/ActionsReducers/LayoutRedux.js +24 -1
  119. package/src/Redux/ActionsReducers/SystemRedux.js +1 -1
  120. package/src/Redux/DeadRedux.d.ts +4 -8
  121. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -1
  122. package/src/Redux/Store/AdaptableStore.d.ts +3 -3
  123. package/src/Redux/Store/AdaptableStore.js +25 -16
  124. package/src/Strategy/AdaptableModuleBase.d.ts +2 -2
  125. package/src/Strategy/AdaptableModuleBase.js +8 -8
  126. package/src/Strategy/AlertModule.d.ts +2 -2
  127. package/src/Strategy/AlertModule.js +13 -105
  128. package/src/Strategy/BulkUpdateModule.d.ts +2 -2
  129. package/src/Strategy/BulkUpdateModule.js +7 -7
  130. package/src/Strategy/CalculatedColumnModule.js +1 -1
  131. package/src/Strategy/CellSummaryModule.d.ts +2 -2
  132. package/src/Strategy/CellSummaryModule.js +3 -3
  133. package/src/Strategy/ConditionalStyleModule.js +3 -3
  134. package/src/Strategy/CustomSortModule.js +2 -2
  135. package/src/Strategy/DashboardModule.d.ts +2 -2
  136. package/src/Strategy/DataChangeHistoryModule.js +2 -2
  137. package/src/Strategy/ExportModule.d.ts +2 -4
  138. package/src/Strategy/ExportModule.js +59 -62
  139. package/src/Strategy/FilterModule.d.ts +2 -2
  140. package/src/Strategy/FilterModule.js +4 -4
  141. package/src/Strategy/FormatColumnModule.js +6 -6
  142. package/src/Strategy/FreeTextColumnModule.js +1 -1
  143. package/src/Strategy/GridInfoModule.d.ts +2 -2
  144. package/src/Strategy/Interface/IModule.d.ts +2 -2
  145. package/src/Strategy/LayoutModule.d.ts +2 -2
  146. package/src/Strategy/LayoutModule.js +22 -9
  147. package/src/Strategy/PlusMinusModule.js +8 -9
  148. package/src/Strategy/SmartEditModule.d.ts +2 -2
  149. package/src/Strategy/SmartEditModule.js +8 -9
  150. package/src/Strategy/SystemStatusModule.d.ts +2 -2
  151. package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
  152. package/src/Utilities/Constants/GeneralConstants.js +2 -1
  153. package/src/Utilities/Constants/ModuleConstants.d.ts +6 -6
  154. package/src/Utilities/Constants/ModuleConstants.js +7 -7
  155. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +9 -7
  156. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +1 -1
  157. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +2 -2
  158. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -2
  159. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +1 -1
  160. package/src/Utilities/Helpers/DateHelper.d.ts +2 -2
  161. package/src/Utilities/Helpers/DateHelper.js +30 -20
  162. package/src/Utilities/Helpers/PreviewHelper.js +2 -2
  163. package/src/Utilities/Interface/Preview.d.ts +2 -1
  164. package/src/Utilities/ObjectFactory.d.ts +1 -1
  165. package/src/Utilities/ObjectFactory.js +14 -2
  166. package/src/Utilities/Services/DataService.js +5 -5
  167. package/src/Utilities/Services/LicenseService.js +16 -2
  168. package/src/Utilities/Services/ReportService.js +13 -12
  169. package/src/Utilities/Services/ValidationService.js +4 -5
  170. package/src/Utilities/runIfNotResolvedIn.d.ts +8 -0
  171. package/src/Utilities/runIfNotResolvedIn.js +23 -0
  172. package/src/View/AdaptableView.js +1 -1
  173. package/src/View/AdaptableViewFactory.d.ts +2 -1
  174. package/src/View/AdaptableViewFactory.js +2 -0
  175. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +7 -7
  176. package/src/View/Alert/AlertPopup.js +1 -1
  177. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +19 -5
  178. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +1 -1
  179. package/src/View/BulkUpdate/BulkUpdatePopup.d.ts +2 -0
  180. package/src/View/BulkUpdate/BulkUpdatePopup.js +6 -4
  181. package/src/View/BulkUpdate/BulkUpdateViewPanel.d.ts +2 -0
  182. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +3 -1
  183. package/src/View/CalculatedColumn/CalculatedColumnPopup.js +1 -1
  184. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +1 -1
  185. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -1
  186. package/src/View/CellSummary/CellSummaryViewPanel.js +2 -2
  187. package/src/View/Components/ColumnSelector/index.js +2 -2
  188. package/src/View/Components/FilterForm/FilterForm.d.ts +3 -51
  189. package/src/View/Components/FilterForm/FilterForm.js +57 -38
  190. package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +4 -1
  191. package/src/View/Components/FilterForm/ListBoxFilterForm.js +18 -9
  192. package/src/View/Components/FilterForm/QuickFilterForm.d.ts +3 -43
  193. package/src/View/Components/FilterForm/QuickFilterForm.js +74 -35
  194. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +3 -0
  195. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +8 -0
  196. package/src/View/Components/NewScopeComponent.js +1 -1
  197. package/src/View/Components/Panels/FilterFormPanel.d.ts +1 -1
  198. package/src/View/Components/Panels/PanelWithImage.d.ts +423 -1
  199. package/src/View/Components/Popups/AdaptablePopup.d.ts +1 -1
  200. package/src/View/Components/Popups/AdaptablePopupAlert.js +23 -10
  201. package/src/View/Components/PreviewResultsPanel.js +1 -1
  202. package/src/View/Components/RangesComponent.js +2 -2
  203. package/src/View/Components/Selectors/ColumnSelector.js +5 -5
  204. package/src/View/Components/Selectors/ColumnValueSelector.d.ts +10 -2
  205. package/src/View/Components/Selectors/ColumnValueSelector.js +47 -15
  206. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +10 -11
  207. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
  208. package/src/View/Components/ToolPanel/ToolPanelPopup.js +2 -3
  209. package/src/View/ConditionalStyle/ConditionalStylePopup.js +1 -1
  210. package/src/View/ConditionalStyle/ConditionalStyleSummary.js +1 -1
  211. package/src/View/CustomSort/CustomSortEntityRow.d.ts +3 -1
  212. package/src/View/CustomSort/CustomSortEntityRow.js +3 -3
  213. package/src/View/CustomSort/CustomSortPopup.js +2 -2
  214. package/src/View/CustomSort/CustomSortSummary.js +3 -3
  215. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +4 -4
  216. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +24 -6
  217. package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
  218. package/src/View/Dashboard/Dashboard.js +2 -3
  219. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -1
  220. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +11 -10
  221. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +6 -6
  222. package/src/View/Export/ExportCustomDestinationDialog.js +1 -1
  223. package/src/View/Export/ExportViewPanel.js +6 -6
  224. package/src/View/Filter/FilterSummary.js +2 -2
  225. package/src/View/FormatColumn/FormatColumnPopup.js +1 -1
  226. package/src/View/FormatColumn/FormatColumnSummary.js +1 -1
  227. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +1 -1
  228. package/src/View/FreeTextColumn/FreeTextColumnPopup.js +4 -2
  229. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +5 -3
  230. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +1 -1
  231. package/src/View/GridInfo/ColumnInfoComponent.js +16 -16
  232. package/src/View/GridInfo/GridInfoPopup.js +4 -1
  233. package/src/View/GridInfo/GridOptionsComponent.js +1 -1
  234. package/src/View/Layout/LayoutViewPanel.js +2 -2
  235. package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +6 -6
  236. package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +1 -1
  237. package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +1 -1
  238. package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +1 -1
  239. package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -2
  240. package/src/View/Layout/Wizard/LayoutEditor/index.js +41 -41
  241. package/src/View/PlusMinus/PlusMinusPopup.js +1 -1
  242. package/src/View/PlusMinus/PlusMinusSummary.js +1 -1
  243. package/src/View/Query/QueryViewPanel.js +3 -3
  244. package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -3
  245. package/src/View/Schedule/SchedulePopup.js +3 -3
  246. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
  247. package/src/View/SmartEdit/SmartEditPopup.js +1 -1
  248. package/src/View/StateManagement/StateManagementPopup.d.ts +2 -12
  249. package/src/View/StateManagement/StateManagementPopup.js +21 -114
  250. package/src/View/StateManagement/StateManagementViewPanel.d.ts +5 -0
  251. package/src/View/StateManagement/StateManagementViewPanel.js +22 -0
  252. package/src/View/StateManagement/components/ClearButton.d.ts +6 -0
  253. package/src/View/StateManagement/components/ClearButton.js +9 -0
  254. package/src/View/StateManagement/components/ExportDropdown.d.ts +8 -0
  255. package/src/View/StateManagement/components/ExportDropdown.js +43 -0
  256. package/src/View/StateManagement/components/LoadButton.d.ts +7 -0
  257. package/src/View/StateManagement/components/LoadButton.js +38 -0
  258. package/src/View/StateManagement/handleExportState.d.ts +1 -0
  259. package/src/View/StateManagement/handleExportState.js +22 -0
  260. package/src/View/Theme/ThemeViewPanel.js +1 -1
  261. package/src/View/UIHelper.d.ts +2 -0
  262. package/src/View/UIHelper.js +10 -1
  263. package/src/agGrid/ActionColumnRenderer.d.ts +2 -1
  264. package/src/agGrid/ActionColumnRenderer.js +21 -4
  265. package/src/agGrid/Adaptable.d.ts +28 -11
  266. package/src/agGrid/Adaptable.js +326 -168
  267. package/src/agGrid/agGridHelper.d.ts +4 -4
  268. package/src/agGrid/agGridHelper.js +46 -46
  269. package/src/agGrid/agGridMenuHelper.d.ts +15 -13
  270. package/src/agGrid/agGridMenuHelper.js +55 -47
  271. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.d.ts +1 -1
  272. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +11 -6
  273. package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -2
  274. package/src/agGrid/editors/AdaptableDateEditor/index.js +16 -6
  275. package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +1 -0
  276. package/src/agGrid/editors/AdaptableNumberEditor/index.js +7 -2
  277. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +3 -3
  278. package/src/components/Dashboard/Dashboard.js +1 -1
  279. package/src/components/Datepicker/DatepickerContext.d.ts +2 -2
  280. package/src/components/Datepicker/index.js +9 -5
  281. package/src/components/DropdownButton/index.js +1 -1
  282. package/src/components/ExpressionEditor/index.js +7 -7
  283. package/src/components/Loader/Loader.d.ts +7 -0
  284. package/src/components/Loader/Loader.js +13 -0
  285. package/src/components/Loader/index.d.ts +2 -0
  286. package/src/components/Loader/index.js +7 -0
  287. package/src/components/Modal/index.d.ts +1 -1
  288. package/src/components/OverlayTrigger/index.js +3 -3
  289. package/src/components/OverlayTrigger/useAgGridClassName.d.ts +2 -0
  290. package/src/components/OverlayTrigger/{useVendorClassName.js → useAgGridClassName.js} +3 -3
  291. package/src/components/ProgressIndicator/ProgressIndicator.d.ts +2 -0
  292. package/src/components/ProgressIndicator/ProgressIndicator.js +54 -0
  293. package/src/components/icons/index.js +2 -0
  294. package/src/components/icons/upload.d.ts +3 -0
  295. package/src/components/icons/upload.js +8 -0
  296. package/src/metamodel/adaptable.metamodel.d.ts +176 -52
  297. package/src/metamodel/adaptable.metamodel.js +659 -366
  298. package/src/types.d.ts +5 -4
  299. package/version.d.ts +1 -1
  300. package/version.js +1 -1
  301. package/src/PredefinedConfig/DeprecatedState.d.ts +0 -82
  302. package/src/PredefinedConfig/DeprecatedState.js +0 -5
  303. package/src/Utilities/Interface/ProgressIndicator.d.ts +0 -4
  304. package/src/View/Export/ProgressIndicator.d.ts +0 -6
  305. package/src/View/Export/ProgressIndicator.js +0 -25
  306. package/src/components/OverlayTrigger/useVendorClassName.d.ts +0 -2
@@ -1,7 +1,8 @@
1
- import { AlertButton, FlashingAlertProperties } from '../PredefinedConfig/AlertState';
1
+ import { AlertButton, AlertDefinition, FlashingAlertProperties } from '../PredefinedConfig/AlertState';
2
2
  import { AdaptableAlert } from '../PredefinedConfig/Common/AdaptableAlert';
3
3
  import { ButtonContext } from '../PredefinedConfig/Common/AdaptableButton';
4
4
  import { AdaptableForm, AdaptableFormData } from '../PredefinedConfig/Common/AdaptableForm';
5
+ import { DataChangedInfo } from '../types';
5
6
  /**
6
7
  * Options related to Alerts, System Status Messages and Notifications in Adaptable.
7
8
  */
@@ -111,6 +112,15 @@ export interface NotificationsOptions {
111
112
  * @gridInfoItem
112
113
  */
113
114
  maxSystemMessagesInStore?: number;
115
+ /**
116
+ * Displays the application icon in Notifications (if provided in `UserInterfaceOptions`)
117
+ * @defaultValue false
118
+ */
119
+ showApplicationIcon?: boolean;
120
+ /**
121
+ * Function providing Message to display in Alert; if empty, AdapTable provides dynamically
122
+ */
123
+ alertMessageText?: (alertDefinition: AlertDefinition, dataChangedInfo?: DataChangedInfo) => string | undefined;
114
124
  }
115
125
  /**
116
126
  * Handles a Form Button Action
@@ -49,9 +49,9 @@ export interface ToolPanelOptions {
49
49
  /**
50
50
  * Order of displayed ToolPanels in Sidebar
51
51
  *
52
- * @defaultValue ['filters', 'columns', 'AdaptableToolPanel']
52
+ * @defaultValue ['filters', 'columns', 'adaptable']
53
53
  */
54
- toolPanelOrder?: ('AdaptableToolPanel' | 'columns' | 'filters')[];
54
+ toolPanelOrder?: ('adaptable' | 'columns' | 'filters')[];
55
55
  /**
56
56
  * Display the Modules dropdown
57
57
  *
@@ -6,6 +6,7 @@ import { AdaptableButton, ButtonContext } from '../PredefinedConfig/Common/Adapt
6
6
  import { RowNode } from '@ag-grid-community/all-modules';
7
7
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
8
8
  import { AdaptableStyle } from '../PredefinedConfig/Common/AdaptableStyle';
9
+ import { AdaptableApi, GridCell } from '../../types';
9
10
  /**
10
11
  * Options for managing the User Interface of AdapTable
11
12
  */
@@ -30,11 +31,27 @@ export interface UserInterfaceOptions {
30
31
  /**
31
32
  * List of values which are permitted (e.g. to show in filter)
32
33
  */
33
- permittedValues?: CellValuesList[];
34
+ permittedValues?: PermittedValues[];
34
35
  /**
35
- * Dropdown values displayed when column is being edited
36
+ * Dropdown values displayed when column is being edited.
37
+ * When not defined it defaults to permittedValues.
36
38
  */
37
- editLookUpItems?: CellValuesList[];
39
+ editLookUpItems?: EditLookUpPermittedValues[];
40
+ /**
41
+ * Dropdown values for filter options inside floating and header filter.
42
+ * When not defined it defaults to permittedValues.
43
+ */
44
+ filterPermittedValues?: FilterPermittedValues[];
45
+ /**
46
+ * Custom column values for defining custom sort.
47
+ * When not defined it defaults to permittedValues.
48
+ */
49
+ customSortPermittedValues?: CustomSortPermittedValues[];
50
+ /**
51
+ * Custom column values for editing via bulk-update.
52
+ * When not defined it defaults to permittedValues.
53
+ */
54
+ bulkUpdatePermittedValues?: BulkUpdatePermittedValues[];
38
55
  /**
39
56
  * Colours to display in Colour Picker (in place of AdapTable's default set)
40
57
  */
@@ -65,16 +82,55 @@ export interface UserInterfaceOptions {
65
82
  */
66
83
  showDocumentationLinks?: boolean;
67
84
  }
68
- export interface CellValuesList {
85
+ export interface BasePermittedValues {
69
86
  /**
70
87
  * Scope where Values will appear (Mandatory property)
71
88
  */
72
89
  scope: AdaptableScope;
90
+ }
91
+ /**
92
+ * Permitted/possible values, when column values can be selected (e.g. sort, bulk-update)
93
+ */
94
+ export interface PermittedValues extends BasePermittedValues {
73
95
  /**
74
96
  * Values to display: either hardcoded list or a function
75
97
  */
76
- values?: any[] | ((column: AdaptableColumn) => any[]);
98
+ values?: any[] | ((params: PermittedValuesParams) => any[]);
99
+ }
100
+ /**
101
+ * Used to define permitted values for inline column editor
102
+ */
103
+ export interface EditLookUpPermittedValues extends BasePermittedValues {
104
+ values?: any[] | ((params: EditLookUpParams) => any[]);
105
+ }
106
+ /**
107
+ * Used to define values inside the floating filter and floating filter (quick filter)
108
+ */
109
+ export interface FilterPermittedValues extends BasePermittedValues {
110
+ /**
111
+ * Prevents AdapTable from filtering the list of values client-side; When true, values is called each time the search bar is changed
112
+ * @default false
113
+ */
114
+ suppressFilterSearchBar?: boolean;
115
+ values: (params: FilterPermittedValuesParams) => any[] | Promise<any[]>;
116
+ }
117
+ /**
118
+ * Custom column values for custom sort.
119
+ */
120
+ export interface CustomSortPermittedValues extends BasePermittedValues {
121
+ values: (params: PermittedValuesParams) => any[] | Promise<any[]>;
122
+ }
123
+ /**
124
+ * User to define permitted values when updating cells via bulk update
125
+ */
126
+ export interface BulkUpdatePermittedValues extends BasePermittedValues {
127
+ values: (params: BulkUpdatePermittedValuesParams) => any[] | Promise<any[]>;
77
128
  }
129
+ /**
130
+ * Use PermittedValues instead
131
+ * @deprecated
132
+ */
133
+ export declare type CellValuesList = PermittedValues;
78
134
  /**
79
135
  * A Special Column that wraps an AdapTable Button
80
136
  */
@@ -95,6 +151,10 @@ export interface ActionColumn extends AdaptableObject {
95
151
  * Shows Action Column also in grouped rows
96
152
  */
97
153
  includeGroupedRows?: boolean;
154
+ /**
155
+ * Additional optional properties for Column (e.g. filterable, resizable)
156
+ */
157
+ actionColumnSettings?: ActionColumnSettings;
98
158
  }
99
159
  /**
100
160
  * Context required by functions when using an Action Column Button
@@ -109,7 +169,49 @@ export interface ActionColumnButtonContext extends ButtonContext {
109
169
  */
110
170
  primaryKeyValue: any;
111
171
  /**
112
- * Current Row Node
172
+ * Current AG Grid Row Node
113
173
  */
114
174
  rowNode: RowNode;
115
175
  }
176
+ /**
177
+ * Set of optional properties that define an Action Columns behaviour
178
+ */
179
+ export interface ActionColumnSettings {
180
+ /**
181
+ * Preferred width (in pixels) for Column; if unset, calculated dynamically by AG Grid
182
+ */
183
+ width?: number;
184
+ /**
185
+ * Whether Column can be resized (by dragging column header edges)
186
+ * @defaultValue true
187
+ */
188
+ resizable?: boolean;
189
+ /**
190
+ * Whether no menu should be shown for this Column header.
191
+ * @defaultValue false
192
+ */
193
+ suppressMenu?: boolean;
194
+ /**
195
+ * Whether if this Column should be movable via dragging
196
+ * @defaultValue false
197
+ */
198
+ suppressMovable?: boolean;
199
+ }
200
+ export interface BaseParams {
201
+ adaptableApi: AdaptableApi;
202
+ }
203
+ export interface EditLookUpParams extends BaseParams {
204
+ column: AdaptableColumn;
205
+ gridCell: GridCell;
206
+ }
207
+ export interface PermittedValuesParams extends BaseParams {
208
+ column: AdaptableColumn;
209
+ }
210
+ export interface FilterPermittedValuesParams extends BaseParams {
211
+ column: AdaptableColumn;
212
+ filter: string;
213
+ }
214
+ export interface BulkUpdatePermittedValuesParams extends BaseParams {
215
+ column: AdaptableColumn;
216
+ gridCells: GridCell[];
217
+ }
@@ -65,14 +65,14 @@ export interface AdaptableApi {
65
65
  * Provides a number of column-related methods
66
66
  */
67
67
  columnApi: ColumnApi;
68
- /**
69
- * Methods giving access to Adaptable State
70
- */
71
- configApi: ConfigApi;
72
68
  /**
73
69
  * Provides access to the Conditional Style Module
74
70
  */
75
71
  conditionalStyleApi: ConditionalStyleApi;
72
+ /**
73
+ * Methods giving access to Adaptable State
74
+ */
75
+ configApi: ConfigApi;
76
76
  /**
77
77
  * Provides access to the Custom Sort Module
78
78
  */
@@ -81,6 +81,10 @@ export interface AdaptableApi {
81
81
  * Provides access to the Dashboard
82
82
  */
83
83
  dashboardApi: DashboardApi;
84
+ /**
85
+ * Provides run-time access to the Data Change History Module
86
+ **/
87
+ dataChangeHistoryApi: DataChangeHistoryApi;
84
88
  /**
85
89
  * Provides access to the Data Source Module
86
90
  */
@@ -161,6 +165,10 @@ export interface AdaptableApi {
161
165
  * Methods related to displaying System Status and application health messages
162
166
  */
163
167
  systemStatusApi: SystemStatusApi;
168
+ /**
169
+ * Functions related to run-time Team Sharing of AdapTable objects between colleagues
170
+ */
171
+ teamSharingApi: TeamSharingApi;
164
172
  /**
165
173
  * Api methods related to Theme management
166
174
  */
@@ -173,14 +181,6 @@ export interface AdaptableApi {
173
181
  * Manages User Interface Options where colours, styles and permitted values are configured
174
182
  */
175
183
  userInterfaceApi: UserInterfaceApi;
176
- /**
177
- * Functions related to run-time Team Sharing of AdapTable objects between colleagues
178
- */
179
- teamSharingApi: TeamSharingApi;
180
- /**
181
- * Provides run-time access to the Data Change History Module
182
- **/
183
- dataChangeHistoryApi: DataChangeHistoryApi;
184
184
  /**
185
185
  * Api methods used *internally* within AdapTable.
186
186
  */
@@ -241,7 +241,7 @@ export interface AlertApi {
241
241
  * Returns a description of an Alert Definition
242
242
  * @param alertDefinition Alert Definition to use
243
243
  */
244
- getAlertDescription(alertDefinition: AlertDefinition): string;
244
+ getAlertDescription(alertDefinition: AlertDefinition, dataChangedInfo?: DataChangedInfo): string;
245
245
  /**
246
246
  * Returns a description of an Alert Definition's Rule
247
247
  * @param alertDefinition Alert Definition to use
@@ -63,4 +63,19 @@ export interface CalculatedColumnApi {
63
63
  * @param calculatedColumn CalculatedColumn to be checked
64
64
  */
65
65
  getCalculatedColumnModuleReferences(calculatedColumn: CalculatedColumn): string[];
66
+ /**
67
+ * Returns all Calculated Columns whose Expression contains the ColumnId
68
+ * @param columnId ColumnId to check
69
+ */
70
+ getCalculatedColumnsReferencingColumnId(columnId: string): CalculatedColumn[];
71
+ /**
72
+ * Gets any ColumnIds referenced in a Calculated Column
73
+ * @param calculatedColumn Calculated Column to check
74
+ */
75
+ getReferencedColumnIdsForCalculatedColumn(calculatedColumn: CalculatedColumn): string[];
76
+ /**
77
+ * Gets any ColumnIds referenced in a Calculated Column
78
+ * @param calculatedColumnId CalculatedColumnId to check
79
+ */
80
+ getReferencedColumnIdsForCalculatedColumnId(calculatedColumnId: string): string[];
66
81
  }
@@ -1,6 +1,7 @@
1
1
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
2
2
  import { DataType } from '../PredefinedConfig/Common/Enums';
3
- import { RowNode } from '@ag-grid-community/all-modules';
3
+ import { Column, RowNode } from '@ag-grid-community/all-modules';
4
+ import { GridCell } from '../../types';
4
5
  /**
5
6
  * A large range of column-related functions in AdapTable
6
7
  */
@@ -13,7 +14,7 @@ export interface ColumnApi {
13
14
  * Retrieves 'ColumnType' property for a given Column
14
15
  * @param columnId Colmun to use
15
16
  */
16
- getVendorColumnType(columnId: string): string | string[];
17
+ getAgGridColumnType(columnId: string): string | string[];
17
18
  /**
18
19
  * Returns all visible Columns
19
20
  * */
@@ -131,6 +132,10 @@ export interface ColumnApi {
131
132
  * @param columnId Column to check
132
133
  */
133
134
  isNumericColumn(column: AdaptableColumn): boolean;
135
+ /**
136
+ * Is Column Boolean
137
+ * @param columnId Column to check
138
+ */
134
139
  isBooleanColumn(column: AdaptableColumn): boolean;
135
140
  /**
136
141
  * Is Column a Date
@@ -205,6 +210,26 @@ export interface ColumnApi {
205
210
  * @param columnId Column to check
206
211
  */
207
212
  getDistinctDisplayValuesForColumn(columnId: string): any[];
213
+ /**
214
+ * Gets all distinct display values in for filter column, used for Floating Filter and Column Header filter
215
+ * @param columnId Column to check
216
+ * @param columnFilter Current applied filter
217
+ */
218
+ getDistinctFilterDisplayValuesForColumn(columnId: string, filter: string): Promise<{
219
+ values: any[];
220
+ suppressClientSideFilter: boolean;
221
+ }>;
222
+ /**
223
+ * Gets all distinct column display values in for custom sort.
224
+ * @param columnId Column to check
225
+ */
226
+ getDistinctCustomSortDisplayValuesForColumn(columnId: string): Promise<any[]>;
227
+ /**
228
+ * Gets all distinct column display values for bulk update.
229
+ * @param columnId Column to check
230
+ * @param selectedGridCells Selected grid cells
231
+ */
232
+ getDistinctBulkUpdateDisplayValuesForColumn(columnId: string, selectedGridCells: GridCell[]): Promise<any[]>;
208
233
  /**
209
234
  * Gets all distinct visible display values in the Column
210
235
  * @param columnId Column to check
@@ -230,10 +255,29 @@ export interface ColumnApi {
230
255
  */
231
256
  getAllColumnFriendlyNames(): string[];
232
257
  /**
233
- * Retrieves the field property for the column
234
- * @param columnId string
258
+ * Retrieves AG Grid's field property for the column
259
+ * @param columnId columnId to look up
260
+ */
261
+ getAgGridColumnFieldForAdaptableColumn(columnId: string): string;
262
+ /**
263
+ * Retrieves AG Grid's column for an Adaptable column
264
+ * @param columnId columnId to look up
265
+ */
266
+ getAgGridColumnForAdaptableColumn(columnId: string): Column;
267
+ /**
268
+ * Does Column use AdapTable's Filter Form
269
+ * @param columnId Column to Check
235
270
  */
236
- getVendorGridColumnFieldForColumn(columnId: string): string;
237
271
  usesAdaptableFilterForm(columnId: string): boolean;
272
+ /**
273
+ * Does Column use AdapTable's Quick Filter
274
+ * @param columnId Column to Check
275
+ */
238
276
  usesAdaptableQuickFilter(columnId: string): boolean;
277
+ /**
278
+ * Checks if a column is referenced in a given Expression
279
+ * @param columnId Column to Check
280
+ * @param expression Expression to Lookup
281
+ */
282
+ isColumnReferencedInExpression(columnId: string, expression: string): boolean;
239
283
  }
@@ -94,6 +94,10 @@ export interface ConfigApi {
94
94
  * @param returnJson whether to return section as JSON or object
95
95
  */
96
96
  getUserStateByStateKey(stateKey: AdaptableStateKey, returnJson: boolean): ConfigState | string;
97
+ /**
98
+ * Adds '1' to current revision number of State element
99
+ * @param stateKey Adaptable State Key to update
100
+ */
97
101
  incrementUerStateRevision(stateKey: AdaptableStateKey): void;
98
102
  /**
99
103
  * Returns Alert section of Adaptable State
@@ -200,5 +204,9 @@ export interface ConfigApi {
200
204
  * @param returnJson return as JSON rather than object
201
205
  */
202
206
  getToolPanelState(returnJson: boolean): ToolPanelState;
207
+ /**
208
+ * Sent by each Module when it is Ready
209
+ * @param module Module which is Ready
210
+ */
203
211
  dispatchStateReadyAction(module: AdaptableModule): void;
204
212
  }
@@ -196,7 +196,7 @@ export interface EventApi {
196
196
  /**
197
197
  * Fired when Adaptable is up and running - has no arguments.
198
198
  * @param eventName AdaptableReady - use as: adaptableApi.eventApi.on('AdaptableReady', (adaptableReadyInfo: AdaptableReadyInfo) => { .....[do stuff]...})
199
- * @param callback An `AdaptableReadyInfo` object which contains the adaptableApi and the vendorGrid
199
+ * @param callback An `AdaptableReadyInfo` object which contains the adaptableApi and GridOptions
200
200
  * @returns the unsubscribe function
201
201
  */
202
202
  on(eventName: 'AdaptableReady', callback: (adaptableReadyInfo: AdaptableReadyInfo) => void): VoidFunction;
@@ -1,14 +1,11 @@
1
- import { AdaptableApi } from '../AdaptableApi';
1
+ import { GridOptions } from '@ag-grid-community/all-modules';
2
+ import { BaseEventInfo } from './BaseEventInfo';
2
3
  /**
3
4
  * Object returned by `AdaptableReady` event - fired when AdapTable has loaded
4
5
  */
5
- export interface AdaptableReadyInfo {
6
+ export interface AdaptableReadyInfo extends BaseEventInfo {
6
7
  /**
7
- * Instance of the underlying vendor grid (e.g. for AG Grid its the GridOptions object)
8
+ * Underlying AG Grid instance
8
9
  */
9
- vendorGrid: any;
10
- /**
11
- * Adaptable API object used for runtime programmatic access to AdapTable
12
- */
13
- adaptableApi: AdaptableApi;
10
+ gridOptions: GridOptions;
14
11
  }
@@ -1,9 +1,10 @@
1
1
  import * as Redux from 'redux';
2
2
  import { AdaptableState } from '../../PredefinedConfig/AdaptableState';
3
+ import { BaseEventInfo } from './BaseEventInfo';
3
4
  /**
4
5
  * Object returned by the `AdaptableStateChanged` event
5
6
  */
6
- export interface AdaptableStateChangedInfo {
7
+ export interface AdaptableStateChangedInfo extends BaseEventInfo {
7
8
  /**
8
9
  * Name of the Action
9
10
  */
@@ -1,8 +1,9 @@
1
1
  import { AdaptableAlert } from '../../PredefinedConfig/Common/AdaptableAlert';
2
+ import { BaseEventInfo } from './BaseEventInfo';
2
3
  /**
3
4
  * Object returned by the `AlertFired` event
4
5
  */
5
- export interface AlertFiredInfo {
6
+ export interface AlertFiredInfo extends BaseEventInfo {
6
7
  /**
7
8
  * Alert which has been fired
8
9
  */
@@ -0,0 +1,10 @@
1
+ import { AdaptableApi } from '../AdaptableApi';
2
+ /**
3
+ * Base Object returned by all events - contains the Adaptable API
4
+ */
5
+ export interface BaseEventInfo {
6
+ /**
7
+ * Adaptable API object used for runtime programmatic access to AdapTable
8
+ */
9
+ adaptableApi: AdaptableApi;
10
+ }
@@ -1,8 +1,9 @@
1
1
  import { DataChangedInfo } from '../../PredefinedConfig/Common/DataChangedInfo';
2
+ import { BaseEventInfo } from './BaseEventInfo';
2
3
  /**
3
4
  * EventInfo returned by CellChanged event
4
5
  */
5
- export interface CellChangedInfo {
6
+ export interface CellChangedInfo extends BaseEventInfo {
6
7
  /**
7
8
  * Object providing full information of the cell (and column and row) that changed
8
9
  */
@@ -1,8 +1,9 @@
1
1
  import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
2
+ import { BaseEventInfo } from './BaseEventInfo';
2
3
  /**
3
4
  * Event Info published by CheckboxColumnClicked event
4
5
  */
5
- export interface CheckboxColumnClickedInfo {
6
+ export interface CheckboxColumnClickedInfo extends BaseEventInfo {
6
7
  /**
7
8
  * Name of Column where Checkbox was clicked
8
9
  */
@@ -1,8 +1,9 @@
1
1
  import { CustomToolbar } from '../../AdaptableOptions/DashboardOptions';
2
+ import { BaseEventInfo } from './BaseEventInfo';
2
3
  /**
3
4
  * EventInfo returned by the CustomToolbarConfigured event
4
5
  */
5
- export interface CustomToolbarConfiguredInfo {
6
+ export interface CustomToolbarConfiguredInfo extends BaseEventInfo {
6
7
  /**
7
8
  * Custom Toolbar in which the 'Configure' button has been clicked
8
9
  */
@@ -1,8 +1,9 @@
1
1
  import { DashboardState } from '../../PredefinedConfig/DashboardState';
2
+ import { BaseEventInfo } from './BaseEventInfo';
2
3
  /**
3
4
  * Object returned by the `DashboardChanged` event
4
5
  */
5
- export interface DashboardChangedInfo {
6
+ export interface DashboardChangedInfo extends BaseEventInfo {
6
7
  /**
7
8
  * What caused Dashboard State to change
8
9
  */
@@ -1,8 +1,9 @@
1
1
  import { AdaptableFlashingAlert } from '../../PredefinedConfig/Common/AdaptableFlashingAlert';
2
+ import { BaseEventInfo } from './BaseEventInfo';
2
3
  /**
3
4
  * Object returned by the `FlashingAlertFired` event
4
5
  */
5
- export interface FlashingAlertFiredInfo {
6
+ export interface FlashingAlertFiredInfo extends BaseEventInfo {
6
7
  /**
7
8
  * FlashingAlert which has been fired
8
9
  */
@@ -1,7 +1,8 @@
1
+ import { BaseEventInfo } from './BaseEventInfo';
1
2
  /**
2
3
  * EventInfo returned by GridDataChanged event
3
4
  */
4
- export interface GridDataChangedInfo {
5
+ export interface GridDataChangedInfo extends BaseEventInfo {
5
6
  /**
6
7
  * Rows that have been added, updated, or deleted
7
8
  */
@@ -1,8 +1,9 @@
1
1
  import { LayoutState } from '../../PredefinedConfig/LayoutState';
2
+ import { BaseEventInfo } from './BaseEventInfo';
2
3
  /**
3
4
  * EventInfo returned by LayoutChanged event
4
5
  */
5
- export interface LayoutChangedInfo {
6
+ export interface LayoutChangedInfo extends BaseEventInfo {
6
7
  /**
7
8
  * What caused Layout State to change
8
9
  */
@@ -1,8 +1,9 @@
1
1
  import { Report } from '../../PredefinedConfig/ExportState';
2
+ import { BaseEventInfo } from './BaseEventInfo';
2
3
  /**
3
4
  * EventInfo returned by LiveDataChanged event
4
5
  */
5
- export interface LiveDataChangedInfo {
6
+ export interface LiveDataChangedInfo extends BaseEventInfo {
6
7
  /**
7
8
  * Which Adaptable partner is the export destination for the live data
8
9
  */
@@ -2,10 +2,11 @@ import { DataSource } from '../../PredefinedConfig/DataSourceState';
2
2
  import { CustomSort } from '../../PredefinedConfig/CustomSortState';
3
3
  import { ColumnSort } from '../../PredefinedConfig/Common/ColumnSort';
4
4
  import { ColumnFilter } from '../../PredefinedConfig/FilterState';
5
+ import { BaseEventInfo } from './BaseEventInfo';
5
6
  /**
6
7
  * EventInfo returned by SearchChanged event; includes full AdapTable search and sort info plus the event's trigger
7
8
  */
8
- export interface SearchChangedInfo {
9
+ export interface SearchChangedInfo extends BaseEventInfo {
9
10
  /**
10
11
  * What action caused event to fire: DataSource, CurrentQuery, Filter, DataChange or Sort
11
12
  */
@@ -1,9 +1,10 @@
1
1
  import { SelectedCellInfo } from '../../PredefinedConfig/Selection/SelectedCellInfo';
2
2
  import { SelectedRowInfo } from '../../PredefinedConfig/Selection/SelectedRowInfo';
3
+ import { BaseEventInfo } from './BaseEventInfo';
3
4
  /**
4
5
  * Event Info published by SelectionChanged event
5
6
  */
6
- export interface SelectionChangedInfo {
7
+ export interface SelectionChangedInfo extends BaseEventInfo {
7
8
  /**
8
9
  * Details of cells currently selected in the Grid
9
10
  */
@@ -1,8 +1,9 @@
1
1
  import { SystemStatusMessageInfo } from '../../PredefinedConfig/Common/SystemStatusMessageInfo';
2
+ import { BaseEventInfo } from './BaseEventInfo';
2
3
  /**
3
4
  * Object returned by the `SystemStatusMessageDisplayed' event
4
5
  */
5
- export interface SystemStatusMessageDisplayedInfo {
6
+ export interface SystemStatusMessageDisplayedInfo extends BaseEventInfo {
6
7
  /**
7
8
  * Details of the System Status Message and Type
8
9
  */
@@ -1,8 +1,9 @@
1
1
  import { SharedEntity } from '../../PredefinedConfig/TeamSharingState';
2
+ import { BaseEventInfo } from './BaseEventInfo';
2
3
  /**
3
4
  * EventInfo returned by TeamSharingEntityChanged event
4
5
  */
5
- export interface TeamSharingEntityChangedInfo {
6
+ export interface TeamSharingEntityChangedInfo extends BaseEventInfo {
6
7
  /**
7
8
  * Object containing the Shared Entity that has changed
8
9
  */
@@ -1,8 +1,9 @@
1
1
  import { AdaptableTheme } from '../../PredefinedConfig/ThemeState';
2
+ import { BaseEventInfo } from './BaseEventInfo';
2
3
  /**
3
4
  * Object returned by the `ThemeChanged` event
4
5
  */
5
- export interface ThemeChangedInfo {
6
+ export interface ThemeChangedInfo extends BaseEventInfo {
6
7
  /**
7
8
  * Selected Theme: either name of a (System) theme or the (Custom) Theme itself
8
9
  */