@adaptabletools/adaptable 10.0.4-canary.4 → 11.0.0-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 (507) hide show
  1. package/LICENSE.md +1 -1
  2. package/agGrid.d.ts +2 -2
  3. package/base.css +216 -47
  4. package/bundle.cjs.js +118 -113
  5. package/index.css +257 -49
  6. package/package.json +4 -3
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableInterfaces/IAdaptable.d.ts +12 -7
  10. package/src/AdaptableOptions/AdaptableOptions.d.ts +19 -3
  11. package/src/AdaptableOptions/ContainerOptions.d.ts +0 -7
  12. package/src/AdaptableOptions/DashboardOptions.d.ts +7 -9
  13. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +2 -2
  14. package/src/AdaptableOptions/EditOptions.d.ts +2 -2
  15. package/src/AdaptableOptions/ExportOptions.d.ts +1 -1
  16. package/src/AdaptableOptions/FilterOptions.d.ts +2 -2
  17. package/src/AdaptableOptions/FinancePluginOptions.d.ts +1 -1
  18. package/src/AdaptableOptions/FlashingCellOptions.d.ts +31 -0
  19. package/src/AdaptableOptions/{ChartPluginOptions.js → FlashingCellOptions.js} +0 -0
  20. package/src/AdaptableOptions/GeneralOptions.d.ts +1 -1
  21. package/src/AdaptableOptions/MenuOptions.d.ts +2 -2
  22. package/src/AdaptableOptions/NotificationsOptions.d.ts +2 -8
  23. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +87 -0
  24. package/src/{Api/ChartApi.js → AdaptableOptions/SettingsPanelOptions.js} +0 -0
  25. package/src/AdaptableOptions/TeamSharingOptions.d.ts +1 -1
  26. package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -14
  27. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +34 -0
  28. package/src/Api/AdaptableApi.d.ts +9 -7
  29. package/src/Api/AlertApi.d.ts +4 -79
  30. package/src/Api/ChartingApi.d.ts +9 -0
  31. package/src/Api/{Events/FlashingAlertFired.js → ChartingApi.js} +0 -0
  32. package/src/Api/ColumnApi.d.ts +11 -1
  33. package/src/Api/ConfigApi.d.ts +0 -12
  34. package/src/Api/DataChangeHistoryApi.d.ts +4 -0
  35. package/src/Api/EventApi.d.ts +8 -8
  36. package/src/Api/Events/AdaptableReady.d.ts +1 -1
  37. package/src/Api/Events/FlashingCellDisplayed.d.ts +11 -0
  38. package/src/Api/{SparklineColumnApi.js → Events/FlashingCellDisplayed.js} +0 -0
  39. package/src/Api/Events/GridDataChanged.d.ts +3 -1
  40. package/src/Api/Events/SearchChanged.d.ts +1 -1
  41. package/src/Api/FlashingCellApi.d.ts +89 -0
  42. package/src/{PredefinedConfig/ChartState.js → Api/FlashingCellApi.js} +0 -0
  43. package/src/Api/GridApi.d.ts +28 -5
  44. package/src/Api/Implementation/AdaptableApiImpl.d.ts +4 -2
  45. package/src/Api/Implementation/AdaptableApiImpl.js +4 -2
  46. package/src/Api/Implementation/AlertApiImpl.d.ts +8 -22
  47. package/src/Api/Implementation/AlertApiImpl.js +40 -107
  48. package/src/Api/Implementation/CalculatedColumnApiImpl.js +1 -1
  49. package/src/Api/Implementation/ChartingApiImpl.d.ts +5 -0
  50. package/src/Api/Implementation/ChartingApiImpl.js +10 -0
  51. package/src/Api/Implementation/ColumnApiImpl.d.ts +3 -1
  52. package/src/Api/Implementation/ColumnApiImpl.js +9 -3
  53. package/src/Api/Implementation/ConfigApiImpl.d.ts +0 -4
  54. package/src/Api/Implementation/ConfigApiImpl.js +0 -21
  55. package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
  56. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -0
  57. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +24 -0
  58. package/src/Api/Implementation/FlashingCellApiImpl.js +111 -0
  59. package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
  60. package/src/Api/Implementation/GridApiImpl.d.ts +13 -8
  61. package/src/Api/Implementation/GridApiImpl.js +39 -17
  62. package/src/Api/Implementation/InternalApiImpl.d.ts +2 -7
  63. package/src/Api/Implementation/InternalApiImpl.js +5 -18
  64. package/src/Api/Implementation/LayoutApiImpl.js +12 -0
  65. package/src/Api/Implementation/PluginsApiImpl.d.ts +0 -2
  66. package/src/Api/Implementation/PluginsApiImpl.js +0 -6
  67. package/src/Api/Implementation/PlusMinusApiImpl.js +1 -1
  68. package/src/Api/Implementation/QueryApiImpl.js +1 -1
  69. package/src/Api/Implementation/ScheduleApiImpl.js +5 -5
  70. package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
  71. package/src/Api/Implementation/SystemStatusApiImpl.js +1 -1
  72. package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
  73. package/src/Api/InternalApi.d.ts +4 -9
  74. package/src/Api/PluginsApi.d.ts +0 -2
  75. package/src/Api/SmartEditApi.d.ts +4 -4
  76. package/src/PredefinedConfig/AdaptableState.d.ts +2 -4
  77. package/src/PredefinedConfig/AlertState.d.ts +13 -54
  78. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +4 -0
  79. package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +2 -2
  80. package/src/PredefinedConfig/Common/{AdaptableFlashingAlert.d.ts → AdaptableFlashingCell.d.ts} +6 -6
  81. package/src/PredefinedConfig/Common/{AdaptableFlashingAlert.js → AdaptableFlashingCell.js} +0 -0
  82. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +4 -4
  83. package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -38
  84. package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +14 -3
  85. package/src/PredefinedConfig/Common/CellSummary.d.ts +2 -2
  86. package/src/PredefinedConfig/Common/Enums.js +1 -0
  87. package/src/PredefinedConfig/Common/Menu.d.ts +16 -20
  88. package/src/PredefinedConfig/Common/Schedule.d.ts +4 -14
  89. package/src/PredefinedConfig/Common/Schedule.js +0 -14
  90. package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +4 -0
  91. package/src/PredefinedConfig/Common/Types.d.ts +6 -5
  92. package/src/PredefinedConfig/Common/Types.js +0 -2
  93. package/src/PredefinedConfig/CustomSortState.d.ts +1 -1
  94. package/src/PredefinedConfig/DashboardState.d.ts +6 -5
  95. package/src/PredefinedConfig/FlashingCellState.d.ts +65 -0
  96. package/src/PredefinedConfig/{SparklineColumnState.js → FlashingCellState.js} +0 -0
  97. package/src/PredefinedConfig/FreeTextColumnState.d.ts +2 -2
  98. package/src/PredefinedConfig/LayoutState.d.ts +1 -1
  99. package/src/PredefinedConfig/PredefinedConfig.d.ts +2 -10
  100. package/src/PredefinedConfig/ScheduleState.d.ts +1 -5
  101. package/src/PredefinedConfig/ShortcutState.d.ts +1 -1
  102. package/src/PredefinedConfig/SystemState.d.ts +17 -8
  103. package/src/PredefinedConfig/ThemeState.d.ts +2 -1
  104. package/src/Redux/ActionsReducers/AlertRedux.d.ts +3 -38
  105. package/src/Redux/ActionsReducers/AlertRedux.js +9 -68
  106. package/src/Redux/ActionsReducers/DashboardRedux.d.ts +0 -7
  107. package/src/Redux/ActionsReducers/DashboardRedux.js +3 -13
  108. package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +55 -0
  109. package/src/Redux/ActionsReducers/FlashingCellRedux.js +100 -0
  110. package/src/Redux/ActionsReducers/PopupRedux.d.ts +1 -3
  111. package/src/Redux/ActionsReducers/SystemRedux.d.ts +34 -25
  112. package/src/Redux/ActionsReducers/SystemRedux.js +94 -60
  113. package/src/Redux/ActionsReducers/ToolPanelRedux.js +1 -1
  114. package/src/Redux/Store/AdaptableStore.js +90 -66
  115. package/src/Strategy/AdaptableModuleBase.d.ts +1 -1
  116. package/src/Strategy/AdaptableModuleBase.js +0 -3
  117. package/src/Strategy/AlertModule.d.ts +14 -5
  118. package/src/Strategy/AlertModule.js +40 -123
  119. package/src/Strategy/CalculatedColumnModule.d.ts +28 -0
  120. package/src/Strategy/CalculatedColumnModule.js +34 -0
  121. package/src/Strategy/ChartingModule.d.ts +7 -0
  122. package/src/Strategy/ChartingModule.js +15 -0
  123. package/src/Strategy/ConditionalStyleModule.d.ts +12 -0
  124. package/src/Strategy/ConditionalStyleModule.js +28 -0
  125. package/src/Strategy/CustomSortModule.d.ts +12 -1
  126. package/src/Strategy/CustomSortModule.js +26 -0
  127. package/src/Strategy/DashboardModule.d.ts +0 -1
  128. package/src/Strategy/DashboardModule.js +1 -7
  129. package/src/Strategy/DataChangeHistoryModule.js +1 -1
  130. package/src/Strategy/DataSourceModule.d.ts +9 -1
  131. package/src/Strategy/DataSourceModule.js +28 -0
  132. package/src/Strategy/ExportModule.d.ts +12 -0
  133. package/src/Strategy/ExportModule.js +43 -0
  134. package/src/Strategy/FilterModule.d.ts +8 -1
  135. package/src/Strategy/FilterModule.js +28 -0
  136. package/src/Strategy/FlashingCellModule.d.ts +33 -0
  137. package/src/Strategy/FlashingCellModule.js +219 -0
  138. package/src/Strategy/FormatColumnModule.d.ts +11 -1
  139. package/src/Strategy/FormatColumnModule.js +35 -0
  140. package/src/Strategy/FreeTextColumnModule.d.ts +9 -1
  141. package/src/Strategy/FreeTextColumnModule.js +45 -0
  142. package/src/Strategy/GridInfoModule.js +58 -36
  143. package/src/Strategy/Interface/IModule.d.ts +70 -1
  144. package/src/Strategy/LayoutModule.js +15 -3
  145. package/src/Strategy/PlusMinusModule.d.ts +11 -0
  146. package/src/Strategy/PlusMinusModule.js +34 -0
  147. package/src/Strategy/QueryModule.d.ts +20 -0
  148. package/src/Strategy/QueryModule.js +25 -0
  149. package/src/Strategy/ScheduleModule.d.ts +17 -1
  150. package/src/Strategy/ScheduleModule.js +148 -2
  151. package/src/Strategy/SetingsPanelModule.d.ts +11 -0
  152. package/src/Strategy/SetingsPanelModule.js +30 -0
  153. package/src/Strategy/ShortcutModule.d.ts +11 -0
  154. package/src/Strategy/ShortcutModule.js +22 -0
  155. package/src/Strategy/ToolPanelModule.js +1 -1
  156. package/src/Strategy/Utilities/getAlertBehaviourViewItems.d.ts +8 -0
  157. package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +15 -0
  158. package/src/Strategy/Utilities/getAlertPreviewViewItems.d.ts +4 -0
  159. package/src/Strategy/Utilities/getAlertPreviewViewItems.js +19 -0
  160. package/src/Strategy/Utilities/getCustomSortColumnViewItems.d.ts +5 -0
  161. package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +9 -0
  162. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.d.ts +5 -0
  163. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +9 -0
  164. package/src/Strategy/Utilities/getExportColumnsViewItems.d.ts +3 -0
  165. package/src/Strategy/Utilities/getExportColumnsViewItems.js +22 -0
  166. package/src/Strategy/Utilities/getExportRowsViewItems.d.ts +5 -0
  167. package/src/Strategy/Utilities/getExportRowsViewItems.js +26 -0
  168. package/src/Strategy/Utilities/getExpressionViewItems.d.ts +5 -0
  169. package/src/Strategy/Utilities/getExpressionViewItems.js +9 -0
  170. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.d.ts +5 -0
  171. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +9 -0
  172. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +5 -0
  173. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +10 -0
  174. package/src/Strategy/Utilities/getFlashingTargetViewItems.d.ts +5 -0
  175. package/src/Strategy/Utilities/getFlashingTargetViewItems.js +9 -0
  176. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.d.ts +5 -0
  177. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +15 -0
  178. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.d.ts +3 -0
  179. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +10 -0
  180. package/src/Strategy/Utilities/getRuleViewItems.d.ts +6 -0
  181. package/src/Strategy/Utilities/getRuleViewItems.js +15 -0
  182. package/src/Strategy/Utilities/getScopeViewItems.d.ts +3 -0
  183. package/src/Strategy/Utilities/getScopeViewItems.js +20 -0
  184. package/src/Strategy/Utilities/getShortcutSettingsViewItems.d.ts +5 -0
  185. package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +15 -0
  186. package/src/Strategy/Utilities/getStyleViewItems.d.ts +2 -0
  187. package/src/Strategy/Utilities/getStyleViewItems.js +15 -0
  188. package/src/Utilities/Constants/ConfigConstants.d.ts +0 -1
  189. package/src/Utilities/Constants/ConfigConstants.js +1 -2
  190. package/src/Utilities/Constants/GeneralConstants.d.ts +0 -9
  191. package/src/Utilities/Constants/GeneralConstants.js +1 -12
  192. package/src/Utilities/Constants/ModuleConstants.d.ts +3 -2
  193. package/src/Utilities/Constants/ModuleConstants.js +4 -3
  194. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +26 -18
  195. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +7 -0
  196. package/src/Utilities/Defaults/DefaultSettingsPanel.js +35 -0
  197. package/src/Utilities/Extensions/ArrayExtensions.js +1 -1
  198. package/src/Utilities/Helpers/AdaptableHelper.js +3 -2
  199. package/src/Utilities/Helpers/StyleHelper.d.ts +4 -0
  200. package/src/Utilities/Helpers/StyleHelper.js +4 -1
  201. package/src/Utilities/Interface/MessagePopups.d.ts +0 -3
  202. package/src/Utilities/MenuItem.d.ts +1 -1
  203. package/src/Utilities/MenuItem.js +2 -2
  204. package/src/Utilities/ObjectFactory.d.ts +6 -17
  205. package/src/Utilities/ObjectFactory.js +14 -84
  206. package/src/Utilities/Services/AlertService.d.ts +3 -3
  207. package/src/Utilities/Services/AlertService.js +11 -17
  208. package/src/Utilities/Services/EntitlementService.d.ts +1 -0
  209. package/src/Utilities/Services/EntitlementService.js +9 -1
  210. package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -7
  211. package/src/Utilities/Services/Interface/IEntitlementService.d.ts +1 -0
  212. package/src/Utilities/Services/ModuleService.js +13 -17
  213. package/src/Utilities/Services/TeamSharingService.js +3 -4
  214. package/src/View/AdaptableView.js +3 -9
  215. package/src/View/AdaptableViewFactory.js +0 -26
  216. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +4 -3
  217. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +2 -1
  218. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +10 -10
  219. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +6 -6
  220. package/src/View/AdaptableWizardView/index.js +1 -1
  221. package/src/View/Alert/AlertEmptyView.d.ts +5 -0
  222. package/src/View/Alert/AlertEmptyView.js +16 -0
  223. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +2 -1
  224. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +10 -5
  225. package/src/View/Alert/Wizard/AlertDisplayWizardSection.d.ts +8 -1
  226. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -7
  227. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -0
  228. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -6
  229. package/src/View/Alert/Wizard/AlertWizard.js +20 -6
  230. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +5 -2
  231. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +5 -2
  232. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.d.ts +5 -4
  233. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
  234. package/src/View/Alert/Wizard/isValidAlertRules.d.ts +2 -3
  235. package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
  236. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.d.ts +2 -0
  237. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +16 -0
  238. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -0
  239. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +17 -40
  240. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +20 -3
  241. package/src/View/CellSummary/CellSummaryPopup.js +2 -2
  242. package/src/View/ColorPicker.d.ts +1 -1
  243. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  244. package/src/View/Components/AdaptableInput/index.d.ts +1 -1
  245. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +14 -0
  246. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +82 -0
  247. package/src/View/Components/AdaptableObjectList/index.d.ts +1 -0
  248. package/src/View/Components/AdaptableObjectList/index.js +5 -0
  249. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  250. package/src/View/Components/Buttons/ButtonDelete.js +3 -2
  251. package/src/View/Components/Buttons/ButtonEdit.d.ts +1 -3
  252. package/src/View/Components/Buttons/ButtonEdit.js +4 -6
  253. package/src/View/Components/Buttons/ButtonShare.js +3 -2
  254. package/src/View/Components/Buttons/EntityListActionButtons.js +1 -1
  255. package/src/View/Components/Buttons/{SuspendToggleButton.d.ts → SuspendToggleButton/SuspendToggleButton.d.ts} +5 -3
  256. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +19 -0
  257. package/src/View/Components/Buttons/SuspendToggleButton/index.d.ts +1 -0
  258. package/src/View/Components/Buttons/SuspendToggleButton/index.js +4 -0
  259. package/src/View/Components/ExternalRenderer.d.ts +14 -0
  260. package/src/View/Components/ExternalRenderer.js +32 -0
  261. package/src/View/Components/FilterForm/QuickFilterForm.js +8 -3
  262. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  263. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
  264. package/src/View/Components/ModuleValueSelector/index.d.ts +3 -1
  265. package/src/View/Components/ModuleValueSelector/index.js +1 -1
  266. package/src/View/Components/NewScopeComponent.js +1 -1
  267. package/src/View/Components/Panels/PanelWithImage.d.ts +4 -4
  268. package/src/View/Components/Panels/PanelWithImage.js +2 -2
  269. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +20 -0
  270. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +120 -0
  271. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.d.ts +15 -0
  272. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +35 -0
  273. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +9 -0
  274. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +67 -0
  275. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.d.ts +6 -0
  276. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +9 -0
  277. package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +13 -0
  278. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +63 -0
  279. package/src/View/Components/Popups/{PopupContext.d.ts → AdaptablePopup/PopupContext.d.ts} +0 -0
  280. package/src/View/Components/Popups/{PopupContext.js → AdaptablePopup/PopupContext.js} +0 -0
  281. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +10 -0
  282. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +22 -0
  283. package/src/View/Components/Popups/AdaptablePopup/TopBar.d.ts +7 -0
  284. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +29 -0
  285. package/src/View/Components/Popups/AdaptablePopup/Utilities.d.ts +15 -0
  286. package/src/View/Components/Popups/AdaptablePopup/Utilities.js +28 -0
  287. package/src/View/Components/Popups/AdaptablePopup/index.d.ts +1 -0
  288. package/src/View/Components/Popups/AdaptablePopup/index.js +5 -0
  289. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +45 -80
  290. package/src/View/Components/ToolPanel/ToolPanelPopup.js +12 -4
  291. package/src/View/Components/ValueSelector/index.d.ts +1 -0
  292. package/src/View/Components/ValueSelector/index.js +6 -6
  293. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.d.ts +2 -2
  294. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +19 -5
  295. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +3 -4
  296. package/src/View/CustomSort/Wizard/CustomSortWizard.js +18 -3
  297. package/src/View/Dashboard/Dashboard.d.ts +0 -1
  298. package/src/View/Dashboard/Dashboard.js +13 -83
  299. package/src/View/Dashboard/DashboardPopup.d.ts +6 -2
  300. package/src/View/Dashboard/DashboardPopup.js +38 -8
  301. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +4 -4
  302. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +3 -3
  303. package/src/View/DataSource/Wizard/DataSourceSettingsSummary.js +3 -3
  304. package/src/View/DataSource/Wizard/DataSourceWizard.d.ts +1 -2
  305. package/src/View/DataSource/Wizard/DataSourceWizard.js +17 -2
  306. package/src/View/Export/ReportExportDropdown.d.ts +5 -0
  307. package/src/View/Export/ReportExportDropdown.js +37 -0
  308. package/src/View/Export/Wizard/NewReportWizard.js +15 -2
  309. package/src/View/Export/Wizard/ReportNameWizardSection.js +2 -1
  310. package/src/View/Export/Wizard/ReportRowsWizardSection.js +2 -2
  311. package/src/View/FlashingCell/FlashingCellStyle.d.ts +7 -0
  312. package/src/View/FlashingCell/FlashingCellStyle.js +20 -0
  313. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertRulesWizardSection.d.ts → FlashingCell/Wizard/FlashingCellRulesWizardSection.d.ts} +3 -3
  314. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertRulesWizardSection.js → FlashingCell/Wizard/FlashingCellRulesWizardSection.js} +14 -14
  315. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertScopeWizardSection.d.ts → FlashingCell/Wizard/FlashingCellScopeWizardSection.d.ts} +1 -2
  316. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertScopeWizardSection.js → FlashingCell/Wizard/FlashingCellScopeWizardSection.js} +1 -1
  317. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.d.ts +10 -0
  318. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +66 -0
  319. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.d.ts +15 -0
  320. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertStyleWizardSection.js → FlashingCell/Wizard/FlashingCellStyleWizardSection.js} +17 -16
  321. package/src/View/FlashingCell/Wizard/FlashingCellWizard.d.ts +6 -0
  322. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +97 -0
  323. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.d.ts +3 -0
  324. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +30 -0
  325. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +1 -0
  326. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +18 -14
  327. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +2 -2
  328. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -4
  329. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +17 -2
  330. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -0
  331. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +15 -10
  332. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +19 -5
  333. package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -2
  334. package/src/View/GridInfo/GridInfoPopup.d.ts +2 -1
  335. package/src/View/GridInfo/GridInfoPopup.js +22 -16
  336. package/src/View/GridInfo/GridOptionsComponent.js +1 -1
  337. package/src/View/Layout/LayoutPopup.js +4 -6
  338. package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +3 -1
  339. package/src/View/Layout/Wizard/LayoutEditor/index.js +5 -2
  340. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +2 -2
  341. package/src/View/PlusMinus/Wizard/PlusMinusWizard.d.ts +1 -2
  342. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +18 -4
  343. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +2 -2
  344. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +2 -2
  345. package/src/View/Query/Wizard/NamedQueryWizard.js +17 -2
  346. package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
  347. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -2
  348. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +7 -8
  349. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +1 -1
  350. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +9 -9
  351. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.d.ts +5 -0
  352. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +59 -48
  353. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +9 -9
  354. package/src/View/Schedule/Wizard/ScheduleWizard.d.ts +1 -2
  355. package/src/View/Schedule/Wizard/ScheduleWizard.js +75 -2
  356. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -6
  357. package/src/View/Shortcut/Wizard/ShortcutWizard.d.ts +1 -2
  358. package/src/View/Shortcut/Wizard/ShortcutWizard.js +31 -4
  359. package/src/View/Shortcut/shortcutKeys.js +0 -1
  360. package/src/View/SmartEdit/SmartEditPopup.js +2 -2
  361. package/src/View/SpecialColumnSettingsWizardStep.d.ts +9 -0
  362. package/src/View/SpecialColumnSettingsWizardStep.js +62 -0
  363. package/src/View/StateManagement/StateManagementPopup.js +16 -15
  364. package/src/View/SystemStatus/SystemStatusPopup.js +3 -3
  365. package/src/View/TeamSharing/TeamSharingPopup.js +2 -2
  366. package/src/View/Theme/ThemePopup.js +5 -7
  367. package/src/View/UIHelper.d.ts +3 -5
  368. package/src/View/UIHelper.js +35 -49
  369. package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +5 -0
  370. package/src/View/Wizard/OnePageAdaptableWizard.d.ts +2 -0
  371. package/src/View/Wizard/OnePageAdaptableWizard.js +10 -2
  372. package/src/agGrid/Adaptable.d.ts +24 -11
  373. package/src/agGrid/Adaptable.js +227 -81
  374. package/src/agGrid/agGridHelper.d.ts +2 -2
  375. package/src/agGrid/agGridHelper.js +21 -6
  376. package/src/agGrid/agGridMenuHelper.js +11 -7
  377. package/src/components/ApplicationIcon.d.ts +5 -0
  378. package/src/components/ApplicationIcon.js +13 -0
  379. package/src/components/Dashboard/Dashboard.js +1 -1
  380. package/src/components/Dashboard/DashboardManager.js +1 -1
  381. package/src/components/Datepicker/index.d.ts +1 -1
  382. package/src/components/Dialog/index.d.ts +4 -1
  383. package/src/components/Dialog/index.js +10 -3
  384. package/src/components/DropdownButton/index.d.ts +1 -0
  385. package/src/components/DropdownButton/index.js +2 -2
  386. package/src/components/EllipsisContainer/index.js +1 -1
  387. package/src/components/EmptyContent/index.js +2 -1
  388. package/src/components/Input/index.d.ts +1 -1
  389. package/src/components/List/ListGroupItem/index.d.ts +1 -1
  390. package/src/components/PopupWithFooter.d.ts +1 -1
  391. package/src/components/PopupWithFooter.js +2 -7
  392. package/src/components/StylePreview.d.ts +8 -0
  393. package/src/components/StylePreview.js +11 -0
  394. package/src/components/Tag/Tag.d.ts +3 -0
  395. package/src/components/Tag/Tag.js +11 -0
  396. package/src/components/Tag/index.d.ts +1 -0
  397. package/src/components/Tag/index.js +5 -0
  398. package/src/components/Textarea/index.d.ts +1 -1
  399. package/src/components/ToggleButton/index.d.ts +1 -0
  400. package/src/components/ToggleButton/index.js +8 -4
  401. package/src/components/WindowModal/WindowModal.d.ts +23 -0
  402. package/src/components/WindowModal/WindowModal.js +102 -0
  403. package/src/components/WindowModal/index.d.ts +1 -0
  404. package/src/components/WindowModal/index.js +4 -0
  405. package/src/components/icons/column-add.d.ts +3 -0
  406. package/src/components/icons/column-add.js +10 -0
  407. package/src/components/icons/index.js +6 -0
  408. package/src/components/icons/menu.d.ts +3 -0
  409. package/src/components/icons/menu.js +7 -0
  410. package/src/components/icons/state-management.js +1 -1
  411. package/src/components/icons/tool-panel.d.ts +3 -0
  412. package/src/components/icons/tool-panel.js +7 -0
  413. package/src/components/utils/useDraggable.d.ts +3 -1
  414. package/src/components/utils/useDraggable.js +15 -2
  415. package/src/metamodel/adaptable.metamodel.d.ts +93 -105
  416. package/src/metamodel/adaptable.metamodel.js +425 -455
  417. package/src/types.d.ts +10 -11
  418. package/version.d.ts +1 -1
  419. package/version.js +1 -1
  420. package/src/AdaptableOptions/ChartPluginOptions.d.ts +0 -20
  421. package/src/Api/ChartApi.d.ts +0 -20
  422. package/src/Api/Events/FlashingAlertFired.d.ts +0 -11
  423. package/src/Api/Implementation/SparklineColumnApiImpl.d.ts +0 -9
  424. package/src/Api/Implementation/SparklineColumnApiImpl.js +0 -24
  425. package/src/Api/SparklineColumnApi.d.ts +0 -23
  426. package/src/PredefinedConfig/ChartState.d.ts +0 -144
  427. package/src/PredefinedConfig/Common/ChartEnums.d.ts +0 -123
  428. package/src/PredefinedConfig/Common/ChartEnums.js +0 -152
  429. package/src/PredefinedConfig/SparklineColumnState.d.ts +0 -40
  430. package/src/Redux/ActionsReducers/SparklineColumnRedux.d.ts +0 -35
  431. package/src/Redux/ActionsReducers/SparklineColumnRedux.js +0 -70
  432. package/src/Utilities/Defaults/DefaultCategoryChartProperties.d.ts +0 -2
  433. package/src/Utilities/Defaults/DefaultCategoryChartProperties.js +0 -56
  434. package/src/Utilities/Defaults/DefaultPieChartProperties.d.ts +0 -2
  435. package/src/Utilities/Defaults/DefaultPieChartProperties.js +0 -13
  436. package/src/Utilities/Defaults/DefaultSparklinesChartProperties.d.ts +0 -2
  437. package/src/Utilities/Defaults/DefaultSparklinesChartProperties.js +0 -25
  438. package/src/View/Alert/AlertPopup.d.ts +0 -42
  439. package/src/View/Alert/AlertPopup.js +0 -205
  440. package/src/View/Alert/FlashingAlertEntityRow.d.ts +0 -7
  441. package/src/View/Alert/FlashingAlertEntityRow.js +0 -22
  442. package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.d.ts +0 -10
  443. package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.js +0 -60
  444. package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertStyleWizardSection.d.ts +0 -10
  445. package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertWizard.d.ts +0 -6
  446. package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertWizard.js +0 -89
  447. package/src/View/CalculatedColumn/CalculatedColumnEntityRow.d.ts +0 -9
  448. package/src/View/CalculatedColumn/CalculatedColumnEntityRow.js +0 -28
  449. package/src/View/CalculatedColumn/CalculatedColumnPopup.d.ts +0 -25
  450. package/src/View/CalculatedColumn/CalculatedColumnPopup.js +0 -117
  451. package/src/View/Components/Buttons/SuspendToggleButton.js +0 -17
  452. package/src/View/Components/Panels/PanelWithIImageThreeButtons.d.ts +0 -11
  453. package/src/View/Components/Panels/PanelWithIImageThreeButtons.js +0 -28
  454. package/src/View/Components/Popups/AdaptableChart.d.ts +0 -18
  455. package/src/View/Components/Popups/AdaptableChart.js +0 -40
  456. package/src/View/Components/Popups/AdaptablePopup.d.ts +0 -23
  457. package/src/View/Components/Popups/AdaptablePopup.js +0 -59
  458. package/src/View/Components/SharedProps/ChartDisplayPopupPropsBase.d.ts +0 -7
  459. package/src/View/Components/SharedProps/ChartDisplayPopupPropsBase.js +0 -2
  460. package/src/View/ConditionalStyle/ConditionalStyleEntityRow.d.ts +0 -5
  461. package/src/View/ConditionalStyle/ConditionalStyleEntityRow.js +0 -26
  462. package/src/View/ConditionalStyle/ConditionalStylePopup.d.ts +0 -30
  463. package/src/View/ConditionalStyle/ConditionalStylePopup.js +0 -144
  464. package/src/View/CustomSort/CustomSortEntityRow.d.ts +0 -12
  465. package/src/View/CustomSort/CustomSortEntityRow.js +0 -32
  466. package/src/View/CustomSort/CustomSortPopup.d.ts +0 -27
  467. package/src/View/CustomSort/CustomSortPopup.js +0 -138
  468. package/src/View/DataSource/DataSourceEntityRow.d.ts +0 -12
  469. package/src/View/DataSource/DataSourceEntityRow.js +0 -29
  470. package/src/View/DataSource/DataSourcePopup.d.ts +0 -28
  471. package/src/View/DataSource/DataSourcePopup.js +0 -97
  472. package/src/View/Export/ExportPopup.d.ts +0 -34
  473. package/src/View/Export/ExportPopup.js +0 -139
  474. package/src/View/Export/ReportEntityRow.d.ts +0 -10
  475. package/src/View/Export/ReportEntityRow.js +0 -49
  476. package/src/View/Export/Wizard/ReportWizard.d.ts +0 -7
  477. package/src/View/Export/Wizard/ReportWizard.js +0 -50
  478. package/src/View/Filter/FilterEntityRow.d.ts +0 -12
  479. package/src/View/Filter/FilterEntityRow.js +0 -20
  480. package/src/View/Filter/FilterPopup.d.ts +0 -20
  481. package/src/View/Filter/FilterPopup.js +0 -50
  482. package/src/View/FormatColumn/FormatColumnEntityRow.d.ts +0 -9
  483. package/src/View/FormatColumn/FormatColumnEntityRow.js +0 -103
  484. package/src/View/FormatColumn/FormatColumnPopup.d.ts +0 -27
  485. package/src/View/FormatColumn/FormatColumnPopup.js +0 -133
  486. package/src/View/FreeTextColumn/FreeTextColumnEntityRow.d.ts +0 -5
  487. package/src/View/FreeTextColumn/FreeTextColumnEntityRow.js +0 -31
  488. package/src/View/FreeTextColumn/FreeTextColumnPopup.d.ts +0 -25
  489. package/src/View/FreeTextColumn/FreeTextColumnPopup.js +0 -118
  490. package/src/View/PlusMinus/PlusMinusEntityRow.d.ts +0 -9
  491. package/src/View/PlusMinus/PlusMinusEntityRow.js +0 -24
  492. package/src/View/PlusMinus/PlusMinusPopup.d.ts +0 -30
  493. package/src/View/PlusMinus/PlusMinusPopup.js +0 -124
  494. package/src/View/Query/NamedQueryEntityRow.d.ts +0 -8
  495. package/src/View/Query/NamedQueryEntityRow.js +0 -21
  496. package/src/View/Query/QueryPopup.d.ts +0 -28
  497. package/src/View/Query/QueryPopup.js +0 -114
  498. package/src/View/Schedule/ScheduleEntityRow.d.ts +0 -5
  499. package/src/View/Schedule/ScheduleEntityRow.js +0 -58
  500. package/src/View/Schedule/SchedulePopup.d.ts +0 -58
  501. package/src/View/Schedule/SchedulePopup.js +0 -317
  502. package/src/View/Shortcut/ShortcutEntityRow.d.ts +0 -17
  503. package/src/View/Shortcut/ShortcutEntityRow.js +0 -47
  504. package/src/View/Shortcut/ShortcutPopup.d.ts +0 -30
  505. package/src/View/Shortcut/ShortcutPopup.js +0 -121
  506. package/src/components/ChartContainer/index.d.ts +0 -15
  507. package/src/components/ChartContainer/index.js +0 -22
@@ -8,7 +8,7 @@ import { BaseEventInfo } from './BaseEventInfo';
8
8
  */
9
9
  export interface SearchChangedInfo extends BaseEventInfo {
10
10
  /**
11
- * What action caused event to fire: DataSource, CurrentQuery, Filter, DataChange or Sort
11
+ * What search-related change caused the event to fire
12
12
  */
13
13
  searchChangedTrigger: 'DataSource' | 'CurrentQuery' | 'Filter' | 'DataChange' | 'Sort';
14
14
  /**
@@ -0,0 +1,89 @@
1
+ import { AdaptableFlashingCell } from '../PredefinedConfig/Common/AdaptableFlashingCell';
2
+ import { AdaptablePredicateDef } from '../PredefinedConfig/Common/AdaptablePredicate';
3
+ import { AdaptableScope } from '../PredefinedConfig/Common/AdaptableScope';
4
+ import { FlashingCellDefinition, FlashingCellState } from '../PredefinedConfig/FlashingCellState';
5
+ /**
6
+ * Provides run-time access to Flashing Cell functionality and associated State
7
+ */
8
+ export interface FlashingCellApi {
9
+ /**
10
+ * Retrieves Flashing Cell section from Adaptable State
11
+ * @returns Flashing Cell state
12
+ */
13
+ getFlashingCellState(): FlashingCellState;
14
+ /**
15
+ * Retrieves all Flashing cell Definitions in Flashing Cell State
16
+ */
17
+ getFlashingCellDefinitions(): FlashingCellDefinition[];
18
+ /**
19
+ * Retrieves Flashing cell Definition By Id
20
+ * @param id Flashing Cell Definition Id
21
+ * @returns flashing cell definition
22
+ */
23
+ getFlashingCellDefinitionById(id: FlashingCellDefinition['Uuid']): FlashingCellDefinition;
24
+ /**
25
+ * Retrieves all active (non-suspended) cell Definitions in Flashing Cell State
26
+ * @returns flashing cell definitions
27
+ */
28
+ getActiveFlashingCellDefinitions(): FlashingCellDefinition[];
29
+ /**
30
+ * Returns where a Flashing cell Definition will flash a single cell or a whole row
31
+ * @param flashingCellDefinition Flashing cell Definition to check
32
+ */
33
+ getFlashingCellFlashTarget(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition['FlashTarget'];
34
+ /**
35
+ * Displays a Flashing Cell Definition
36
+ * @param flashingCellToShow Flashing Cell Definition to show
37
+ */
38
+ showFlashingCell(flashingCellToShow: AdaptableFlashingCell): void;
39
+ /**
40
+ * Edits Flashing Cell Definition in State with given one
41
+ * @param flashingCellDefinition Flashing Cell Definition to Edit
42
+ * @returns flashing definition
43
+ */
44
+ editFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
45
+ /**
46
+ * Edits provided Flashing cell Definitions
47
+ * @param flashingCellDefinitions Flashing Cell Definitions to Edit
48
+ * @returns flashing cell definitions
49
+ */
50
+ editFlashingCellDefinitions(flashingCellDefinitions: FlashingCellDefinition[]): FlashingCellDefinition[];
51
+ /**
52
+ * Adds a Flashing cell Definition to State
53
+ * @param flashingCellDefinition Flashing Cell Definition to Add
54
+ */
55
+ addFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
56
+ /**
57
+ * Sets a collection of Flashing Cell Definitions into State
58
+ * @param flashingCellDefinitions Flashing Cell Definitions to Add to State
59
+ */
60
+ setFlashingCellDefinitions(flashingCellDefinitions: FlashingCellDefinition[]): void;
61
+ mergeFlashingCellDefinitionWithDefaults(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
62
+ /**
63
+ * Adds provided Flashing cell Definitions
64
+ * @param flashingCellDefinitions Flashing Cell Definition to Add
65
+ * @returns flashing cell definition
66
+ */
67
+ addFlashingCellDefinitions(flashingCellDefinitions: FlashingCellDefinition[]): FlashingCellDefinition[];
68
+ /**
69
+ * Suspends a Flashing cell Definition
70
+ * @param flashingCellDefinition Flashing Cell Definition to Suspend
71
+ * @returns flashing cell definition
72
+ */
73
+ suspendFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
74
+ /**
75
+ * Activates a suspended Flashing cell Definition
76
+ * @param flashingCellDefinition Flashing Cell Definition to Un-Suspend (activate)
77
+ * @returns flashing cell definition
78
+ */
79
+ unSuspendFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
80
+ /**
81
+ * Retrieves all Predicate Defs with Module Scope of Flashing Cell
82
+ */
83
+ getFlashingCellPredicateDefs(): AdaptablePredicateDef[];
84
+ /**
85
+ * Retrieves all Predicate Defs that match given Scope
86
+ * @param scope the Scope to check
87
+ */
88
+ getFlashingCellPredicateDefsForScope(scope: AdaptableScope): AdaptablePredicateDef[];
89
+ }
@@ -5,7 +5,7 @@ import { ColumnSort } from '../PredefinedConfig/Common/ColumnSort';
5
5
  import { GridCell } from '../PredefinedConfig/Selection/GridCell';
6
6
  import { DataUpdateConfig } from '../PredefinedConfig/Common/DataUpdateConfig';
7
7
  import { DataChangedInfo } from '../PredefinedConfig/Common/DataChangedInfo';
8
- import { CellHighlightInfo } from '../PredefinedConfig/Common/CellHighlightInfo';
8
+ import { CellHighlightInfo, RowHighlightInfo } from '../PredefinedConfig/Common/CellHighlightInfo';
9
9
  import { AdaptableModule } from '../PredefinedConfig/Common/Types';
10
10
  import { AccessLevel } from '../PredefinedConfig/Common/Entitlement';
11
11
  import { GridOptions, RowNode } from '@ag-grid-community/all-modules';
@@ -314,7 +314,7 @@ export interface GridApi {
314
314
  /**
315
315
  * Fires Grid Data Changed Event - when a row has changed in AG Grid
316
316
  */
317
- fireGridDataChangedEvent(dataRows: any[], rowTigger: 'Add' | 'Edit' | 'Delete'): void;
317
+ fireGridDataChangedEvent(dataRows: any[], rowNodes: RowNode[], rowTrigger: 'Add' | 'Edit' | 'Delete'): void;
318
318
  /**
319
319
  * Grid will jump to Row containing given Primary Kev Value
320
320
  * @param primaryKeyValue value in Primary Key Column
@@ -340,12 +340,26 @@ export interface GridApi {
340
340
  * Unhighlights a Cell in AdapTable
341
341
  * @param cellHighlightInfo cell to unhighlight
342
342
  */
343
- unhighlightCell(cellHighlightInfo: CellHighlightInfo): void;
343
+ unHighlightCell(primaryKeyValue: CellHighlightInfo['primaryKeyValue'], columnId: CellHighlightInfo['columnId']): void;
344
344
  /**
345
345
  * Unhighlights all highlighted Cells in AdapTable
346
346
  * @param cellHighlightInfo cell to highlight
347
347
  */
348
- unhighlightAllCells(): void;
348
+ unHighlightAllCells(): void;
349
+ /**
350
+ * Highlight a row using an adaptable style
351
+ * @param rowHighlightInfo highlight instructions
352
+ */
353
+ highlightRow(rowHighlightInfo: RowHighlightInfo): void;
354
+ /**
355
+ * Remove highlight from row
356
+ * @param primaryKeyValue
357
+ */
358
+ unHighlightRow(primaryKeyValue: RowHighlightInfo['primaryKeyValue']): void;
359
+ /**
360
+ * Remove all highlighted rows
361
+ */
362
+ unHighlightAllRows(): void;
349
363
  /**
350
364
  * Refresh Cells in AdapTable
351
365
  * @param rowNodes agGrid RowNodes which contain cells to refresh
@@ -356,7 +370,12 @@ export interface GridApi {
356
370
  * Forces a render of a row
357
371
  * @param primaryKey row primary key
358
372
  */
359
- refreshRow(primaryKey: any): void;
373
+ refreshRowByPrimaryKey(primaryKey: any): void;
374
+ /**
375
+ *
376
+ * @param rowNode ag-grid row
377
+ */
378
+ refreshRowNode(rowNode: RowNode): void;
360
379
  /**
361
380
  * Returns number of rows in Data Source
362
381
  */
@@ -399,4 +418,8 @@ export interface GridApi {
399
418
  * Returns the Grid Container in which the Adaptable Instance is present
400
419
  */
401
420
  getGridContainerElement(): HTMLElement | null;
421
+ /**
422
+ * Opens Grid Info popup screen
423
+ */
424
+ showGridInfoPopup(): void;
402
425
  }
@@ -21,7 +21,6 @@ import { PlusMinusApi } from '../PlusMinusApi';
21
21
  import { QuickSearchApi } from '../QuickSearchApi';
22
22
  import { ShortcutApi } from '../ShortcutApi';
23
23
  import { SmartEditApi } from '../SmartEditApi';
24
- import { SparklineColumnApi } from '../SparklineColumnApi';
25
24
  import { FilterApi } from '../FilterApi';
26
25
  import { SystemStatusApi } from '../SystemStatusApi';
27
26
  import { UserInterfaceApi } from '../UserInterfaceApi';
@@ -36,10 +35,13 @@ import { ApplicationApi } from '../ApplicationApi';
36
35
  import { ScopeApi } from '../ScopeApi';
37
36
  import { PredicateApi } from '../PredicateApi';
38
37
  import { DataChangeHistoryApi } from '../DataChangeHistoryApi';
38
+ import { FlashingCellApi } from '../FlashingCellApi';
39
+ import { ChartingApi } from '../ChartingApi';
39
40
  export declare class AdaptableApiImpl implements AdaptableApi {
40
41
  protected adaptable: IAdaptable;
41
42
  applicationApi: ApplicationApi;
42
43
  alertApi: AlertApi;
44
+ flashingCellApi: FlashingCellApi;
43
45
  predicateApi: PredicateApi;
44
46
  bulkUpdateApi: BulkUpdateApi;
45
47
  calculatedColumnApi: CalculatedColumnApi;
@@ -62,7 +64,6 @@ export declare class AdaptableApiImpl implements AdaptableApi {
62
64
  scheduleApi: ScheduleApi;
63
65
  shortcutApi: ShortcutApi;
64
66
  smartEditApi: SmartEditApi;
65
- sparklineColumnApi: SparklineColumnApi;
66
67
  filterApi: FilterApi;
67
68
  systemStatusApi: SystemStatusApi;
68
69
  pluginsApi: PluginsApi;
@@ -74,6 +75,7 @@ export declare class AdaptableApiImpl implements AdaptableApi {
74
75
  teamSharingApi: TeamSharingApi;
75
76
  scopeApi: ScopeApi;
76
77
  dataChangeHistoryApi: DataChangeHistoryApi;
78
+ chartingApi: ChartingApi;
77
79
  constructor(adaptable: IAdaptable);
78
80
  destroy(config?: {
79
81
  unmount: boolean;
@@ -23,7 +23,6 @@ const PlusMinusApiImpl_1 = require("./PlusMinusApiImpl");
23
23
  const QuickSearchApiImpl_1 = require("./QuickSearchApiImpl");
24
24
  const ShortcutApiImpl_1 = require("./ShortcutApiImpl");
25
25
  const SmartEditApiImpl_1 = require("./SmartEditApiImpl");
26
- const SparklineColumnApiImpl_1 = require("./SparklineColumnApiImpl");
27
26
  const FilterApiImpl_1 = require("./FilterApiImpl");
28
27
  const SystemStatusApiImpl_1 = require("./SystemStatusApiImpl");
29
28
  const ThemeApiImpl_1 = require("./ThemeApiImpl");
@@ -37,12 +36,15 @@ const ApplicationApiImpl_1 = require("./ApplicationApiImpl");
37
36
  const ScopeApiImpl_1 = require("./ScopeApiImpl");
38
37
  const DataChangeHistoryApiImpl_1 = require("./DataChangeHistoryApiImpl");
39
38
  const QueryLanguageApiImpl_1 = require("./QueryLanguageApiImpl");
39
+ const FlashingCellApiImpl_1 = require("./FlashingCellApiImpl");
40
+ const ChartingApiImpl_1 = require("./ChartingApiImpl");
40
41
  class AdaptableApiImpl {
41
42
  constructor(adaptable) {
42
43
  this.adaptable = adaptable;
43
44
  this.adaptable = adaptable;
44
45
  this.applicationApi = new ApplicationApiImpl_1.ApplicationApiImpl(adaptable);
45
46
  this.alertApi = new AlertApiImpl_1.AlertApiImpl(adaptable);
47
+ this.flashingCellApi = new FlashingCellApiImpl_1.FlashingCellApiImpl(adaptable);
46
48
  this.predicateApi = new PredicateApiImpl_1.PredicateApiImpl(adaptable);
47
49
  this.pluginsApi = new PluginsApiImpl_1.PluginsApiImpl(adaptable);
48
50
  this.bulkUpdateApi = new BulkUpdateApiImpl_1.BulkUpdateApiImpl(adaptable);
@@ -65,7 +67,6 @@ class AdaptableApiImpl {
65
67
  this.scheduleApi = new ScheduleApiImpl_1.ScheduleApiImpl(adaptable);
66
68
  this.shortcutApi = new ShortcutApiImpl_1.ShortcutApiImpl(adaptable);
67
69
  this.smartEditApi = new SmartEditApiImpl_1.SmartEditApiImpl(adaptable);
68
- this.sparklineColumnApi = new SparklineColumnApiImpl_1.SparklineColumnApiImpl(adaptable);
69
70
  this.filterApi = new FilterApiImpl_1.FilterApiImpl(adaptable);
70
71
  this.systemStatusApi = new SystemStatusApiImpl_1.SystemStatusApiImpl(adaptable);
71
72
  this.themeApi = new ThemeApiImpl_1.ThemeApiImpl(adaptable);
@@ -76,6 +77,7 @@ class AdaptableApiImpl {
76
77
  this.teamSharingApi = new TeamSharingApiImpl_1.TeamSharingApiImpl(adaptable);
77
78
  this.scopeApi = new ScopeApiImpl_1.ScopeApiImpl(adaptable);
78
79
  this.dataChangeHistoryApi = new DataChangeHistoryApiImpl_1.DataChangeHistoryApiImpl(adaptable);
80
+ this.chartingApi = new ChartingApiImpl_1.ChartingApiImpl(adaptable);
79
81
  this.internalApi = new InternalApiImpl_1.InternalApiImpl(adaptable);
80
82
  }
81
83
  destroy(config) {
@@ -1,13 +1,13 @@
1
1
  import { ApiBase } from './ApiBase';
2
2
  import { AlertApi } from '../AlertApi';
3
- import { AlertState, AlertDefinition, AdaptableAlertAction, AlertButton, FlashingAlertDefinition, BaseAlertDefinition } from '../../PredefinedConfig/AlertState';
3
+ import { AlertState, AlertDefinition, AlertProperties, AdaptableAlertAction, AlertButton } from '../../PredefinedConfig/AlertState';
4
4
  import { DataChangedInfo } from '../../PredefinedConfig/Common/DataChangedInfo';
5
5
  import { AdaptableScope } from '../../PredefinedConfig/Common/AdaptableScope';
6
6
  import { AdaptablePredicateDef } from '../../PredefinedConfig/Common/AdaptablePredicate';
7
7
  import { AdaptableAlert } from '../../PredefinedConfig/Common/AdaptableAlert';
8
8
  import { AdaptableForm, AdaptableFormData } from '../../PredefinedConfig/Common/AdaptableForm';
9
- import { AdaptableFlashingAlert } from '../../PredefinedConfig/Common/AdaptableFlashingAlert';
10
9
  import { AlertButtonContext } from '../../AdaptableOptions/NotificationsOptions';
10
+ import { AdaptableMessageType } from '../../types';
11
11
  export declare class AlertApiImpl extends ApiBase implements AlertApi {
12
12
  getAlertState(): AlertState;
13
13
  getAdaptableFormByName(name: string): AdaptableForm<AlertButtonContext> | undefined;
@@ -17,13 +17,6 @@ export declare class AlertApiImpl extends ApiBase implements AlertApi {
17
17
  getActiveNonReactiveAlertDefinitions(): AlertDefinition[];
18
18
  getReactiveAlertDefinitions(): AlertDefinition[];
19
19
  getActiveReactiveAlertDefinitions(): AlertDefinition[];
20
- getFlashingAlertDefinitions(): FlashingAlertDefinition[];
21
- getFlashingAlertDefinitionById(id: FlashingAlertDefinition['Uuid']): FlashingAlertDefinition;
22
- getNonReactiveFlashingAlertDefinitions(): FlashingAlertDefinition[];
23
- getActiveNonReactiveFlashingAlertDefinitions(): FlashingAlertDefinition[];
24
- getReactiveFlashingAlertDefinitions(): FlashingAlertDefinition[];
25
- getActiveReactiveFlashingAlertDefinitions(): FlashingAlertDefinition[];
26
- getFlashingAlertFlashTarget(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition['FlashTarget'];
27
20
  getAlertDefinitionsWithPreventEdit(): AlertDefinition[];
28
21
  getAlertDefinitionsWithAllowEdit(): AlertDefinition[];
29
22
  addAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
@@ -33,27 +26,20 @@ export declare class AlertApiImpl extends ApiBase implements AlertApi {
33
26
  dataChangedInfo?: DataChangedInfo;
34
27
  formData?: AdaptableFormData;
35
28
  }): void;
36
- showFlashingAlert(alertToShow: AdaptableFlashingAlert): void;
37
29
  displayAlert(alertToShow: AdaptableAlert): Promise<any>;
38
30
  publishAlertFiredEvent(alertToFire: AdaptableAlert): void;
39
31
  displayMessageAlertPopup(alertToDisplayAsPopup: AdaptableAlert): void;
40
- showAlert(alertHeader: string, alertMessage: string, alertDefinition: AlertDefinition, dataChangedInfo?: DataChangedInfo): void;
41
- showAlertInfo(alertHeader: string, alertMessage: string): void;
42
- showAlertSuccess(alertHeader: string, alertMessage: string): void;
43
- showAlertWarning(alertHeader: string, alertMessage: string): void;
44
- showAlertError(alertHeader: string, alertMessage: string): void;
32
+ showAlert(alertHeader: string, alertMessage: string, messageType: AdaptableMessageType, alertProperties?: AlertProperties): void;
33
+ showAlertInfo(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): void;
34
+ showAlertSuccess(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): void;
35
+ showAlertWarning(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): void;
36
+ showAlertError(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): void;
45
37
  showAlertPopup(): void;
46
38
  getAlertPredicateDefs(): AdaptablePredicateDef[];
47
39
  getAlertPredicateDefsForScope(scope: AdaptableScope): AdaptablePredicateDef[];
48
40
  editAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
49
41
  suspendAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
50
42
  unSuspendAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
51
- addFlashingAlertDefinition(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition;
52
- editFlashingAlertDefinition(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition;
53
- suspendFlashingAlertDefinition(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition;
54
- unSuspendFlashingAlertDefinition(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition;
55
- addFlashingAlertDefinitions(flashingAlertDefinitions: FlashingAlertDefinition[]): FlashingAlertDefinition[];
56
- editFlashingAlertDefinitions(flashingAlertDefinitions: FlashingAlertDefinition[]): FlashingAlertDefinition[];
57
43
  getAlertDescription(alertDefinition: AlertDefinition, dataChangedInfo?: DataChangedInfo): string;
58
- getAlertRuleDescription(alert: BaseAlertDefinition): string;
44
+ getAlertRuleDescription(alert: AlertDefinition): string;
59
45
  }
@@ -38,49 +38,6 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
38
38
  getActiveReactiveAlertDefinitions() {
39
39
  return this.getReactiveAlertDefinitions().filter((alertDef) => !alertDef.IsSuspended);
40
40
  }
41
- getFlashingAlertDefinitions() {
42
- var _a, _b;
43
- const flashingAlertDefinitions = this.getAlertState().FlashingAlertDefinitions;
44
- const flashingDefaults = (_b = (_a = this.adaptable.adaptableOptions.notificationsOptions) === null || _a === void 0 ? void 0 : _a.flashingAlertDefaultProperties) !== null && _b !== void 0 ? _b : {};
45
- return flashingAlertDefinitions.map((flashingAlertDefinition) => {
46
- return Object.assign(Object.assign({}, flashingDefaults), flashingAlertDefinition);
47
- });
48
- }
49
- getFlashingAlertDefinitionById(id) {
50
- var _a;
51
- return (_a = this.getFlashingAlertDefinitions()) === null || _a === void 0 ? void 0 : _a.find((alert) => (alert === null || alert === void 0 ? void 0 : alert.Uuid) === id);
52
- }
53
- getNonReactiveFlashingAlertDefinitions() {
54
- var _a, _b;
55
- const flashingAlertDefinitions = this.getAlertState().FlashingAlertDefinitions.filter((alertDef) => !AdaptableQuery_1.isReactiveQuery(alertDef.Rule));
56
- const flashingDefaults = (_b = (_a = this.adaptable.adaptableOptions.notificationsOptions) === null || _a === void 0 ? void 0 : _a.flashingAlertDefaultProperties) !== null && _b !== void 0 ? _b : {};
57
- return flashingAlertDefinitions.map((flashingAlertDefinition) => {
58
- return Object.assign(Object.assign({}, flashingDefaults), flashingAlertDefinition);
59
- });
60
- }
61
- getActiveNonReactiveFlashingAlertDefinitions() {
62
- return this.getNonReactiveFlashingAlertDefinitions().filter((alertDef) => !alertDef.IsSuspended);
63
- }
64
- getReactiveFlashingAlertDefinitions() {
65
- var _a, _b;
66
- const reactiveFlashingAlertDefinitions = this.getAlertState().FlashingAlertDefinitions.filter((alertDef) => AdaptableQuery_1.isReactiveQuery(alertDef.Rule));
67
- const flashingDefaults = (_b = (_a = this.adaptable.adaptableOptions.notificationsOptions) === null || _a === void 0 ? void 0 : _a.flashingAlertDefaultProperties) !== null && _b !== void 0 ? _b : {};
68
- return reactiveFlashingAlertDefinitions.map((flashingAlertDefinition) => {
69
- return Object.assign(Object.assign({}, flashingDefaults), flashingAlertDefinition);
70
- });
71
- }
72
- getActiveReactiveFlashingAlertDefinitions() {
73
- return this.getReactiveFlashingAlertDefinitions().filter((alertDef) => !alertDef.IsSuspended);
74
- }
75
- getFlashingAlertFlashTarget(flashingAlertDefinition) {
76
- const scopeApi = this.adaptable.api.scopeApi;
77
- const isScopeAll = scopeApi.scopeIsAll(flashingAlertDefinition.Scope);
78
- const flashTarget = flashingAlertDefinition.FlashTarget === 'cell' ||
79
- (!flashingAlertDefinition.FlashTarget && !isScopeAll)
80
- ? 'cell'
81
- : 'row';
82
- return flashTarget;
83
- }
84
41
  getAlertDefinitionsWithPreventEdit() {
85
42
  return this.getActiveNonReactiveAlertDefinitions().filter((a) => a.AlertProperties != null && a.AlertProperties.PreventEdit === true);
86
43
  }
@@ -111,15 +68,30 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
111
68
  }
112
69
  }
113
70
  executeAlertAction(actionName, details) {
114
- const { alertDefinition, dataChangedInfo, formData } = details;
71
+ var _a;
72
+ const { alertDefinition, dataChangedInfo } = details;
115
73
  if (!dataChangedInfo) {
116
74
  return;
117
75
  }
118
76
  if (actionName === 'highlight-cell') {
77
+ const highhlightType = (_a = alertDefinition.MessageType) !== null && _a !== void 0 ? _a : 'Info';
78
+ let backgroundColor = '';
79
+ switch (highhlightType) {
80
+ case 'Error':
81
+ backgroundColor = 'var(--ab-color-error)';
82
+ case 'Info':
83
+ backgroundColor = 'var(--ab-color-info)';
84
+ case 'Success':
85
+ backgroundColor = 'var(--ab-color-success)';
86
+ case 'Warning':
87
+ backgroundColor = 'var(--ab-color-warn)';
88
+ }
119
89
  this.adaptable.api.gridApi.highlightCell({
120
90
  columnId: dataChangedInfo.column.columnId,
121
91
  primaryKeyValue: dataChangedInfo.primaryKeyValue,
122
- highlightType: alertDefinition.MessageType,
92
+ highlightStyle: {
93
+ BackColor: backgroundColor,
94
+ },
123
95
  timeout: this.getNotificationsOptions().cellHighlightDuration,
124
96
  });
125
97
  return;
@@ -156,26 +128,6 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
156
128
  }
157
129
  */
158
130
  }
159
- showFlashingAlert(alertToShow) {
160
- this.addUidToAdaptableObject(alertToShow);
161
- const flashingAlertFiredInfo = {
162
- adaptableApi: this.adaptable.api,
163
- flashingAlert: alertToShow,
164
- };
165
- const results = this.adaptable.api.eventApi.emitSync('FlashingAlertFired', flashingAlertFiredInfo);
166
- const shouldShow = results.reduce((endResult, aResult) => {
167
- return endResult && aResult !== false;
168
- }, true);
169
- if (shouldShow) {
170
- this.dispatchAction(SystemRedux.SystemFlashingAlertAdd(alertToShow));
171
- const { FlashDuration } = alertToShow.flashingAlertDefinition;
172
- if (FlashDuration && FlashDuration !== 'always') {
173
- setTimeout(() => {
174
- this.dispatchAction(SystemRedux.SystemFlashingAlertDelete(alertToShow));
175
- }, FlashDuration);
176
- }
177
- }
178
- }
179
131
  async displayAlert(alertToShow) {
180
132
  // 3 things we always do with an alert are:
181
133
  // 1. Dispatch the Alert (so it appears in the toolbar)
@@ -226,6 +178,18 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
226
178
  }, this.adaptable.adaptableOptions.notificationsOptions.cellHighlightDuration);
227
179
  }
228
180
  }
181
+ if (alertProperties.HighlightRow && dataChangedInfo) {
182
+ let alertNode = dataChangedInfo.rowNode;
183
+ if (!alertNode) {
184
+ alertNode = this.adaptable.getRowNodeForPrimaryKey(dataChangedInfo.primaryKeyValue);
185
+ }
186
+ if (alertNode) {
187
+ this.adaptable.api.gridApi.refreshRowNode(alertNode);
188
+ setTimeout(() => {
189
+ this.dispatchAction(SystemRedux.SystemAlertRemoveHighlight(alertToShow));
190
+ }, this.adaptable.adaptableOptions.notificationsOptions.cellHighlightDuration);
191
+ }
192
+ }
229
193
  if (alertProperties.LogToConsole) {
230
194
  LoggingHelper_1.ConsoleLogByMessageType(alertToShow.header + ': ' + alertToShow.message, alertDefinition.MessageType);
231
195
  }
@@ -238,25 +202,22 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
238
202
  displayMessageAlertPopup(alertToDisplayAsPopup) {
239
203
  this.dispatchAction(PopupRedux.PopupShowAlert(alertToDisplayAsPopup));
240
204
  }
241
- showAlert(alertHeader, alertMessage, alertDefinition, dataChangedInfo) {
242
- let alertToShow = ObjectFactory_1.default.CreateAlert(alertHeader, alertMessage, alertDefinition, dataChangedInfo);
205
+ showAlert(alertHeader, alertMessage, messageType, alertProperties) {
206
+ const alertDefinition = ObjectFactory_1.default.CreateInternalAlertDefinitionForMessages(messageType, alertProperties);
207
+ let alertToShow = ObjectFactory_1.default.CreateAlert(alertHeader, alertMessage, alertDefinition);
243
208
  this.displayAlert(alertToShow);
244
209
  }
245
- showAlertInfo(alertHeader, alertMessage) {
246
- let alertDefinition = ObjectFactory_1.default.CreateInternalAlertDefinitionForMessages('Info');
247
- this.showAlert(alertHeader, alertMessage, alertDefinition);
210
+ showAlertInfo(alertHeader, alertMessage, alertProperties) {
211
+ this.showAlert(alertHeader, alertMessage, 'Info', alertProperties);
248
212
  }
249
- showAlertSuccess(alertHeader, alertMessage) {
250
- let alertDefinition = ObjectFactory_1.default.CreateInternalAlertDefinitionForMessages('Success');
251
- this.showAlert(alertHeader, alertMessage, alertDefinition);
213
+ showAlertSuccess(alertHeader, alertMessage, alertProperties) {
214
+ this.showAlert(alertHeader, alertMessage, 'Success', alertProperties);
252
215
  }
253
- showAlertWarning(alertHeader, alertMessage) {
254
- let alertDefinition = ObjectFactory_1.default.CreateInternalAlertDefinitionForMessages('Warning');
255
- this.showAlert(alertHeader, alertMessage, alertDefinition);
216
+ showAlertWarning(alertHeader, alertMessage, alertProperties) {
217
+ this.showAlert(alertHeader, alertMessage, 'Warning', alertProperties);
256
218
  }
257
- showAlertError(alertHeader, alertMessage) {
258
- let alertDefinition = ObjectFactory_1.default.CreateInternalAlertDefinitionForMessages('Error');
259
- this.showAlert(alertHeader, alertMessage, alertDefinition);
219
+ showAlertError(alertHeader, alertMessage, alertProperties) {
220
+ this.showAlert(alertHeader, alertMessage, 'Error', alertProperties);
260
221
  }
261
222
  showAlertPopup() {
262
223
  this.showModulePopup(ModuleConstants.AlertModuleId);
@@ -279,34 +240,6 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
279
240
  this.dispatchAction(AlertRedux.AlertDefinitionUnSuspend(alertDefinition));
280
241
  return this.getAlertDefinitionById(alertDefinition.Uuid);
281
242
  }
282
- addFlashingAlertDefinition(flashingAlertDefinition) {
283
- this.dispatchAction(AlertRedux.FlashingAlertDefinitionAdd(flashingAlertDefinition));
284
- return this.getFlashingAlertDefinitionById(flashingAlertDefinition.Uuid);
285
- }
286
- editFlashingAlertDefinition(flashingAlertDefinition) {
287
- this.dispatchAction(AlertRedux.FlashingAlertDefinitionEdit(flashingAlertDefinition));
288
- return this.getFlashingAlertDefinitionById(flashingAlertDefinition.Uuid);
289
- }
290
- suspendFlashingAlertDefinition(flashingAlertDefinition) {
291
- this.dispatchAction(AlertRedux.FlashingAlertDefinitionSuspend(flashingAlertDefinition));
292
- return this.getFlashingAlertDefinitionById(flashingAlertDefinition.Uuid);
293
- }
294
- unSuspendFlashingAlertDefinition(flashingAlertDefinition) {
295
- this.dispatchAction(AlertRedux.FlashingAlertDefinitionUnSuspend(flashingAlertDefinition));
296
- return this.getFlashingAlertDefinitionById(flashingAlertDefinition.Uuid);
297
- }
298
- addFlashingAlertDefinitions(flashingAlertDefinitions) {
299
- flashingAlertDefinitions.forEach((fad) => {
300
- this.addFlashingAlertDefinition(fad);
301
- });
302
- return flashingAlertDefinitions === null || flashingAlertDefinitions === void 0 ? void 0 : flashingAlertDefinitions.map((alert) => this.getFlashingAlertDefinitionById(alert === null || alert === void 0 ? void 0 : alert.Uuid));
303
- }
304
- editFlashingAlertDefinitions(flashingAlertDefinitions) {
305
- flashingAlertDefinitions.forEach((fad) => {
306
- this.editFlashingAlertDefinition(fad);
307
- });
308
- return flashingAlertDefinitions === null || flashingAlertDefinitions === void 0 ? void 0 : flashingAlertDefinitions.map((alert) => this.getFlashingAlertDefinitionById(alert === null || alert === void 0 ? void 0 : alert.Uuid));
309
- }
310
243
  getAlertDescription(alertDefinition, dataChangedInfo) {
311
244
  var _a;
312
245
  const alertMessageFunction = (_a = this.adaptable.adaptableOptions.notificationsOptions) === null || _a === void 0 ? void 0 : _a.alertMessageText;
@@ -51,7 +51,7 @@ class CalculatedColumnApiImpl extends ApiBase_1.ApiBase {
51
51
  }
52
52
  getCalculatedColumnModuleReferences(calculatedColumn) {
53
53
  const references = [];
54
- this.adaptable.modules.forEach((module) => {
54
+ this.adaptable.adaptableModules.forEach((module) => {
55
55
  if (module
56
56
  .getModuleCalculatedColumnReferences()
57
57
  .some((moduleReference) => moduleReference.Uuid === calculatedColumn.Uuid)) {
@@ -0,0 +1,5 @@
1
+ import { ChartingApi } from '../ChartingApi';
2
+ import { ApiBase } from './ApiBase';
3
+ export declare class ChartingApiImpl extends ApiBase implements ChartingApi {
4
+ isChartingEnabled(): boolean;
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChartingApiImpl = void 0;
4
+ const ApiBase_1 = require("./ApiBase");
5
+ class ChartingApiImpl extends ApiBase_1.ApiBase {
6
+ isChartingEnabled() {
7
+ return this.adaptable.canGenerateCharts();
8
+ }
9
+ }
10
+ exports.ChartingApiImpl = ChartingApiImpl;
@@ -8,11 +8,13 @@ export declare class ColumnApiImpl extends ApiBase implements ColumnApi {
8
8
  getColumns(): AdaptableColumn[];
9
9
  getVisibleColumns(): AdaptableColumn[];
10
10
  selectColumn(columnId: string): void;
11
+ selectColumns(columnIds: string[]): void;
12
+ addColumnToSelection(columnId: string): void;
13
+ addColumnsToSelection(columnIds: string[]): void;
11
14
  selectAllColumns(): void;
12
15
  autosizeColumn(columnId: string): void;
13
16
  autosizeColumns(columnIds: string[]): void;
14
17
  autosizeAllColumns(): void;
15
- selectColumns(columnIds: string[]): void;
16
18
  hideColumn(columnId: string): void;
17
19
  showColumn(columnId: string): void;
18
20
  getAgGridColumnType(columnId: string): string | string[];
@@ -23,6 +23,15 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
23
23
  selectColumn(columnId) {
24
24
  this.adaptable.selectColumn(columnId);
25
25
  }
26
+ selectColumns(columnIds) {
27
+ this.adaptable.selectColumns(columnIds);
28
+ }
29
+ addColumnToSelection(columnId) {
30
+ this.adaptable.selectColumn(columnId, { keepExistingSelection: true });
31
+ }
32
+ addColumnsToSelection(columnIds) {
33
+ this.adaptable.selectColumns(columnIds, { keepExistingSelection: true });
34
+ }
26
35
  selectAllColumns() {
27
36
  this.adaptable.selectAll();
28
37
  }
@@ -35,9 +44,6 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
35
44
  autosizeAllColumns() {
36
45
  this.adaptable.autoSizeAllColumns();
37
46
  }
38
- selectColumns(columnIds) {
39
- this.adaptable.selectColumns(columnIds);
40
- }
41
47
  hideColumn(columnId) {
42
48
  this.adaptable.hideColumn(columnId);
43
49
  }
@@ -1,4 +1,3 @@
1
- import { ChartState } from '../../PredefinedConfig/ChartState';
2
1
  import { ThemeState } from '../../PredefinedConfig/ThemeState';
3
2
  import { ShortcutState } from '../../PredefinedConfig/ShortcutState';
4
3
  import { QuickSearchState } from '../../PredefinedConfig/QuickSearchState';
@@ -16,7 +15,6 @@ import { ConfigState } from '../../PredefinedConfig/ConfigState';
16
15
  import { AdaptableState } from '../../PredefinedConfig/AdaptableState';
17
16
  import { ApiBase } from './ApiBase';
18
17
  import { ApplicationState } from '../../PredefinedConfig/ApplicationState';
19
- import { SparklineColumnState } from '../../PredefinedConfig/SparklineColumnState';
20
18
  import { FreeTextColumnState } from '../../PredefinedConfig/FreeTextColumnState';
21
19
  import { FilterState } from '../../PredefinedConfig/FilterState';
22
20
  import { ToolPanelState } from '../../PredefinedConfig/ToolPanelState';
@@ -51,7 +49,6 @@ export declare class ConfigApiImpl extends ApiBase implements ConfigApi {
51
49
  getAlertState(returnJson?: boolean): AlertState;
52
50
  getApplicationState(returnJson?: boolean): ApplicationState;
53
51
  getCalculatedColumnState(returnJson?: boolean): CalculatedColumnState;
54
- getChartState(returnJson?: boolean): ChartState;
55
52
  getConditionalStyleState(returnJson?: boolean): ConditionalStyleState;
56
53
  getCustomSortState(returnJson?: boolean): CustomSortState;
57
54
  getDashboardState(returnJson?: boolean): DashboardState;
@@ -66,7 +63,6 @@ export declare class ConfigApiImpl extends ApiBase implements ConfigApi {
66
63
  getQuickSearchState(returnJson?: boolean): QuickSearchState;
67
64
  getScheduleState(returnJson?: boolean): ScheduleState;
68
65
  getShortcutState(returnJson?: boolean): ShortcutState;
69
- getSparklineColumnState(returnJson?: boolean): SparklineColumnState;
70
66
  getThemeState(returnJson?: boolean): ThemeState;
71
67
  getToolPanelState(returnJson?: boolean): ToolPanelState;
72
68
  dispatchStateReadyAction(module: AdaptableModule): void;