@adaptabletools/adaptable 10.0.4-canary.4 → 10.0.4-canary.5

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 (421) hide show
  1. package/LICENSE.md +1 -1
  2. package/agGrid.d.ts +2 -2
  3. package/base.css +202 -33
  4. package/bundle.cjs.js +100 -97
  5. package/index.css +243 -33
  6. package/package.json +3 -2
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -3
  10. package/src/AdaptableOptions/AdaptableOptions.d.ts +7 -2
  11. package/src/AdaptableOptions/DashboardOptions.d.ts +2 -2
  12. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +2 -2
  13. package/src/AdaptableOptions/EditOptions.d.ts +2 -2
  14. package/src/AdaptableOptions/ExportOptions.d.ts +1 -1
  15. package/src/AdaptableOptions/FilterOptions.d.ts +2 -2
  16. package/src/AdaptableOptions/FinancePluginOptions.d.ts +1 -1
  17. package/src/AdaptableOptions/MenuOptions.d.ts +1 -1
  18. package/src/AdaptableOptions/NotificationsOptions.d.ts +4 -3
  19. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +75 -0
  20. package/src/{Api/Events/FlashingAlertFired.js → AdaptableOptions/SettingsPanelOptions.js} +0 -0
  21. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +29 -0
  22. package/src/Api/AdaptableApi.d.ts +3 -1
  23. package/src/Api/AlertApi.d.ts +4 -79
  24. package/src/Api/DataChangeHistoryApi.d.ts +4 -0
  25. package/src/Api/EventApi.d.ts +8 -8
  26. package/src/Api/Events/AdaptableReady.d.ts +2 -2
  27. package/src/Api/Events/FlashingCellDisplayed.d.ts +11 -0
  28. package/src/{PredefinedConfig/Common/AdaptableFlashingAlert.js → Api/Events/FlashingCellDisplayed.js} +0 -0
  29. package/src/Api/Events/GridDataChanged.d.ts +3 -1
  30. package/src/Api/FlashingCellApi.d.ts +78 -0
  31. package/src/Api/FlashingCellApi.js +2 -0
  32. package/src/Api/GridApi.d.ts +28 -5
  33. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  34. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  35. package/src/Api/Implementation/AlertApiImpl.d.ts +8 -22
  36. package/src/Api/Implementation/AlertApiImpl.js +40 -107
  37. package/src/Api/Implementation/ConfigApiImpl.js +0 -5
  38. package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
  39. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -0
  40. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +20 -0
  41. package/src/Api/Implementation/FlashingCellApiImpl.js +96 -0
  42. package/src/Api/Implementation/GridApiImpl.d.ts +13 -8
  43. package/src/Api/Implementation/GridApiImpl.js +39 -17
  44. package/src/Api/Implementation/InternalApiImpl.d.ts +2 -2
  45. package/src/Api/Implementation/InternalApiImpl.js +5 -4
  46. package/src/Api/Implementation/LayoutApiImpl.js +12 -0
  47. package/src/Api/Implementation/ScheduleApiImpl.js +5 -5
  48. package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
  49. package/src/Api/Implementation/SystemStatusApiImpl.js +1 -1
  50. package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
  51. package/src/Api/InternalApi.d.ts +4 -4
  52. package/src/Api/SmartEditApi.d.ts +4 -4
  53. package/src/PredefinedConfig/AdaptableState.d.ts +2 -0
  54. package/src/PredefinedConfig/AlertState.d.ts +13 -54
  55. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +4 -0
  56. package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +2 -2
  57. package/src/PredefinedConfig/Common/{AdaptableFlashingAlert.d.ts → AdaptableFlashingCell.d.ts} +6 -6
  58. package/src/PredefinedConfig/Common/AdaptableFlashingCell.js +2 -0
  59. package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +14 -3
  60. package/src/PredefinedConfig/Common/CellSummary.d.ts +2 -2
  61. package/src/PredefinedConfig/Common/Menu.d.ts +2 -2
  62. package/src/PredefinedConfig/Common/Schedule.d.ts +4 -14
  63. package/src/PredefinedConfig/Common/Schedule.js +0 -14
  64. package/src/PredefinedConfig/Common/Types.d.ts +4 -3
  65. package/src/PredefinedConfig/CustomSortState.d.ts +1 -1
  66. package/src/PredefinedConfig/DashboardState.d.ts +3 -2
  67. package/src/PredefinedConfig/FlashingCellState.d.ts +70 -0
  68. package/src/PredefinedConfig/FlashingCellState.js +2 -0
  69. package/src/PredefinedConfig/FreeTextColumnState.d.ts +2 -2
  70. package/src/PredefinedConfig/LayoutState.d.ts +1 -1
  71. package/src/PredefinedConfig/PredefinedConfig.d.ts +2 -0
  72. package/src/PredefinedConfig/ScheduleState.d.ts +1 -5
  73. package/src/PredefinedConfig/ShortcutState.d.ts +1 -1
  74. package/src/PredefinedConfig/SystemState.d.ts +17 -4
  75. package/src/Redux/ActionsReducers/AlertRedux.d.ts +3 -38
  76. package/src/Redux/ActionsReducers/AlertRedux.js +9 -68
  77. package/src/Redux/ActionsReducers/DashboardRedux.js +1 -1
  78. package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +55 -0
  79. package/src/Redux/ActionsReducers/FlashingCellRedux.js +100 -0
  80. package/src/Redux/ActionsReducers/PopupRedux.d.ts +1 -1
  81. package/src/Redux/ActionsReducers/SystemRedux.d.ts +34 -13
  82. package/src/Redux/ActionsReducers/SystemRedux.js +94 -40
  83. package/src/Redux/ActionsReducers/ToolPanelRedux.js +2 -1
  84. package/src/Redux/Store/AdaptableStore.js +80 -45
  85. package/src/Strategy/AlertModule.d.ts +14 -5
  86. package/src/Strategy/AlertModule.js +40 -123
  87. package/src/Strategy/CalculatedColumnModule.d.ts +28 -0
  88. package/src/Strategy/CalculatedColumnModule.js +29 -0
  89. package/src/Strategy/ConditionalStyleModule.d.ts +12 -0
  90. package/src/Strategy/ConditionalStyleModule.js +28 -0
  91. package/src/Strategy/CustomSortModule.d.ts +12 -1
  92. package/src/Strategy/CustomSortModule.js +26 -0
  93. package/src/Strategy/DashboardModule.d.ts +0 -1
  94. package/src/Strategy/DashboardModule.js +1 -7
  95. package/src/Strategy/DataChangeHistoryModule.js +1 -1
  96. package/src/Strategy/DataSourceModule.d.ts +9 -1
  97. package/src/Strategy/DataSourceModule.js +28 -0
  98. package/src/Strategy/ExportModule.d.ts +12 -0
  99. package/src/Strategy/ExportModule.js +43 -0
  100. package/src/Strategy/FilterModule.d.ts +8 -1
  101. package/src/Strategy/FilterModule.js +27 -0
  102. package/src/Strategy/FlashingCellModule.d.ts +33 -0
  103. package/src/Strategy/FlashingCellModule.js +219 -0
  104. package/src/Strategy/FormatColumnModule.d.ts +11 -1
  105. package/src/Strategy/FormatColumnModule.js +35 -0
  106. package/src/Strategy/FreeTextColumnModule.d.ts +9 -1
  107. package/src/Strategy/FreeTextColumnModule.js +45 -0
  108. package/src/Strategy/GridInfoModule.js +58 -36
  109. package/src/Strategy/Interface/IModule.d.ts +70 -0
  110. package/src/Strategy/PlusMinusModule.d.ts +11 -0
  111. package/src/Strategy/PlusMinusModule.js +34 -0
  112. package/src/Strategy/QueryModule.d.ts +20 -0
  113. package/src/Strategy/QueryModule.js +27 -0
  114. package/src/Strategy/ScheduleModule.d.ts +17 -1
  115. package/src/Strategy/ScheduleModule.js +148 -2
  116. package/src/Strategy/SetingsPanelModule.d.ts +10 -0
  117. package/src/Strategy/SetingsPanelModule.js +24 -0
  118. package/src/Strategy/ShortcutModule.d.ts +11 -0
  119. package/src/Strategy/ShortcutModule.js +22 -0
  120. package/src/Strategy/ToolPanelModule.js +1 -1
  121. package/src/Strategy/Utilities/getAlertBehaviourViewItems.d.ts +8 -0
  122. package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +15 -0
  123. package/src/Strategy/Utilities/getAlertPreviewViewItems.d.ts +4 -0
  124. package/src/Strategy/Utilities/getAlertPreviewViewItems.js +19 -0
  125. package/src/Strategy/Utilities/getCustomSortColumnViewItems.d.ts +5 -0
  126. package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +9 -0
  127. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.d.ts +5 -0
  128. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +9 -0
  129. package/src/Strategy/Utilities/getExportColumnsViewItems.d.ts +3 -0
  130. package/src/Strategy/Utilities/getExportColumnsViewItems.js +22 -0
  131. package/src/Strategy/Utilities/getExportRowsViewItems.d.ts +5 -0
  132. package/src/Strategy/Utilities/getExportRowsViewItems.js +26 -0
  133. package/src/Strategy/Utilities/getExpressionViewItems.d.ts +5 -0
  134. package/src/Strategy/Utilities/getExpressionViewItems.js +9 -0
  135. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.d.ts +5 -0
  136. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +9 -0
  137. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +5 -0
  138. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +10 -0
  139. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.d.ts +5 -0
  140. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +15 -0
  141. package/src/Strategy/Utilities/getRuleViewItems.d.ts +6 -0
  142. package/src/Strategy/Utilities/getRuleViewItems.js +15 -0
  143. package/src/Strategy/Utilities/getScopeViewItems.d.ts +3 -0
  144. package/src/Strategy/Utilities/getScopeViewItems.js +20 -0
  145. package/src/Strategy/Utilities/getShortcutSettingsViewItems.d.ts +5 -0
  146. package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +15 -0
  147. package/src/Strategy/Utilities/getStyleViewItems.d.ts +2 -0
  148. package/src/Strategy/Utilities/getStyleViewItems.js +15 -0
  149. package/src/Utilities/Constants/ModuleConstants.d.ts +2 -0
  150. package/src/Utilities/Constants/ModuleConstants.js +3 -1
  151. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +11 -4
  152. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +6 -0
  153. package/src/Utilities/Defaults/DefaultSettingsPanel.js +35 -0
  154. package/src/Utilities/Extensions/ArrayExtensions.js +1 -1
  155. package/src/Utilities/Helpers/AdaptableHelper.js +2 -1
  156. package/src/Utilities/Helpers/StyleHelper.d.ts +4 -0
  157. package/src/Utilities/Helpers/StyleHelper.js +4 -1
  158. package/src/Utilities/MenuItem.d.ts +1 -1
  159. package/src/Utilities/MenuItem.js +2 -2
  160. package/src/Utilities/ObjectFactory.d.ts +6 -7
  161. package/src/Utilities/ObjectFactory.js +13 -20
  162. package/src/Utilities/Services/AlertService.d.ts +3 -3
  163. package/src/Utilities/Services/AlertService.js +11 -17
  164. package/src/Utilities/Services/EntitlementService.d.ts +1 -0
  165. package/src/Utilities/Services/EntitlementService.js +8 -0
  166. package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -7
  167. package/src/Utilities/Services/Interface/IEntitlementService.d.ts +1 -0
  168. package/src/Utilities/Services/ModuleService.js +6 -6
  169. package/src/Utilities/Services/TeamSharingService.js +3 -4
  170. package/src/View/AdaptableView.js +2 -2
  171. package/src/View/AdaptableViewFactory.js +0 -26
  172. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +10 -10
  173. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +6 -6
  174. package/src/View/AdaptableWizardView/index.js +1 -1
  175. package/src/View/Alert/AlertEmptyView.d.ts +5 -0
  176. package/src/View/Alert/AlertEmptyView.js +16 -0
  177. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +2 -1
  178. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +10 -5
  179. package/src/View/Alert/Wizard/AlertDisplayWizardSection.d.ts +8 -1
  180. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -7
  181. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -6
  182. package/src/View/Alert/Wizard/AlertWizard.js +17 -3
  183. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +4 -2
  184. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +1 -1
  185. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.d.ts +5 -4
  186. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
  187. package/src/View/Alert/Wizard/isValidAlertRules.d.ts +2 -3
  188. package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
  189. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.d.ts +2 -0
  190. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +17 -0
  191. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -16
  192. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +18 -2
  193. package/src/View/CellSummary/CellSummaryPopup.js +2 -2
  194. package/src/View/ColorPicker.d.ts +1 -1
  195. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  196. package/src/View/Components/AdaptableInput/index.d.ts +1 -1
  197. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +14 -0
  198. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +82 -0
  199. package/src/View/Components/AdaptableObjectList/index.d.ts +1 -0
  200. package/src/View/Components/AdaptableObjectList/index.js +5 -0
  201. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  202. package/src/View/Components/Buttons/ButtonDelete.js +3 -2
  203. package/src/View/Components/Buttons/ButtonEdit.d.ts +1 -3
  204. package/src/View/Components/Buttons/ButtonEdit.js +4 -6
  205. package/src/View/Components/Buttons/ButtonShare.js +3 -2
  206. package/src/View/Components/Buttons/EntityListActionButtons.js +1 -1
  207. package/src/View/Components/Buttons/{SuspendToggleButton.d.ts → SuspendToggleButton/SuspendToggleButton.d.ts} +5 -3
  208. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +19 -0
  209. package/src/View/Components/Buttons/SuspendToggleButton/index.d.ts +1 -0
  210. package/src/View/Components/Buttons/SuspendToggleButton/index.js +4 -0
  211. package/src/View/Components/ExternalRenderer.d.ts +14 -0
  212. package/src/View/Components/ExternalRenderer.js +32 -0
  213. package/src/View/Components/FilterForm/QuickFilterForm.js +8 -3
  214. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  215. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
  216. package/src/View/Components/Panels/PanelWithImage.d.ts +4 -4
  217. package/src/View/Components/Panels/PanelWithImage.js +2 -2
  218. package/src/View/Components/Popups/AdaptableChart.js +1 -1
  219. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +20 -0
  220. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +119 -0
  221. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.d.ts +15 -0
  222. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +35 -0
  223. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +9 -0
  224. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +67 -0
  225. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.d.ts +6 -0
  226. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +9 -0
  227. package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +13 -0
  228. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +63 -0
  229. package/src/View/Components/Popups/{PopupContext.d.ts → AdaptablePopup/PopupContext.d.ts} +0 -0
  230. package/src/View/Components/Popups/{PopupContext.js → AdaptablePopup/PopupContext.js} +0 -0
  231. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +10 -0
  232. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +22 -0
  233. package/src/View/Components/Popups/AdaptablePopup/TopBar.d.ts +7 -0
  234. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +29 -0
  235. package/src/View/Components/Popups/AdaptablePopup/Utilities.d.ts +15 -0
  236. package/src/View/Components/Popups/AdaptablePopup/Utilities.js +28 -0
  237. package/src/View/Components/Popups/AdaptablePopup/index.d.ts +1 -0
  238. package/src/View/Components/Popups/AdaptablePopup/index.js +5 -0
  239. package/src/View/Components/ToolPanel/ToolPanelPopup.js +4 -3
  240. package/src/View/Components/ValueSelector/index.js +4 -4
  241. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.d.ts +2 -2
  242. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +19 -5
  243. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +3 -4
  244. package/src/View/CustomSort/Wizard/CustomSortWizard.js +18 -3
  245. package/src/View/Dashboard/Dashboard.d.ts +0 -1
  246. package/src/View/Dashboard/Dashboard.js +21 -68
  247. package/src/View/Dashboard/DashboardPopup.d.ts +6 -2
  248. package/src/View/Dashboard/DashboardPopup.js +30 -8
  249. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +3 -4
  250. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +3 -3
  251. package/src/View/DataSource/Wizard/DataSourceSettingsSummary.js +3 -3
  252. package/src/View/DataSource/Wizard/DataSourceWizard.d.ts +1 -2
  253. package/src/View/DataSource/Wizard/DataSourceWizard.js +17 -2
  254. package/src/View/Export/ReportExportDropdown.d.ts +5 -0
  255. package/src/View/Export/ReportExportDropdown.js +37 -0
  256. package/src/View/Export/Wizard/NewReportWizard.js +15 -2
  257. package/src/View/Export/Wizard/ReportNameWizardSection.js +2 -1
  258. package/src/View/Export/Wizard/ReportRowsWizardSection.js +2 -2
  259. package/src/View/FlashingCell/FlashingCellStyle.d.ts +7 -0
  260. package/src/View/FlashingCell/FlashingCellStyle.js +20 -0
  261. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.d.ts → FlashingCell/Wizard/FlashingCellDurationWizardSection.d.ts} +4 -4
  262. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.js → FlashingCell/Wizard/FlashingCellDurationWizardSection.js} +6 -6
  263. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertRulesWizardSection.d.ts → FlashingCell/Wizard/FlashingCellRulesWizardSection.d.ts} +3 -3
  264. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertRulesWizardSection.js → FlashingCell/Wizard/FlashingCellRulesWizardSection.js} +10 -10
  265. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertScopeWizardSection.d.ts → FlashingCell/Wizard/FlashingCellScopeWizardSection.d.ts} +1 -2
  266. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertScopeWizardSection.js → FlashingCell/Wizard/FlashingCellScopeWizardSection.js} +1 -1
  267. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.d.ts +15 -0
  268. package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertStyleWizardSection.js → FlashingCell/Wizard/FlashingCellStyleWizardSection.js} +17 -16
  269. package/src/View/FlashingCell/Wizard/FlashingCellWizard.d.ts +6 -0
  270. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +99 -0
  271. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.d.ts +3 -0
  272. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +30 -0
  273. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +1 -0
  274. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +18 -14
  275. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +2 -2
  276. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -4
  277. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +17 -2
  278. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -0
  279. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +7 -7
  280. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +18 -5
  281. package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -2
  282. package/src/View/GridInfo/GridInfoPopup.d.ts +2 -1
  283. package/src/View/GridInfo/GridInfoPopup.js +21 -16
  284. package/src/View/GridInfo/GridOptionsComponent.js +1 -1
  285. package/src/View/Layout/LayoutPopup.js +4 -6
  286. package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +3 -1
  287. package/src/View/Layout/Wizard/LayoutEditor/index.js +5 -2
  288. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +2 -2
  289. package/src/View/PlusMinus/Wizard/PlusMinusWizard.d.ts +1 -2
  290. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +18 -4
  291. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +2 -2
  292. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +2 -2
  293. package/src/View/Query/Wizard/NamedQueryWizard.js +14 -2
  294. package/src/View/QuickSearch/QuickSearchPopup.js +2 -2
  295. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -2
  296. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +7 -8
  297. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +1 -1
  298. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +9 -9
  299. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.d.ts +5 -0
  300. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +59 -48
  301. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +9 -9
  302. package/src/View/Schedule/Wizard/ScheduleWizard.d.ts +1 -2
  303. package/src/View/Schedule/Wizard/ScheduleWizard.js +75 -2
  304. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -6
  305. package/src/View/Shortcut/Wizard/ShortcutWizard.d.ts +1 -2
  306. package/src/View/Shortcut/Wizard/ShortcutWizard.js +31 -4
  307. package/src/View/SmartEdit/SmartEditPopup.js +2 -2
  308. package/src/View/StateManagement/StateManagementPopup.js +16 -15
  309. package/src/View/SystemStatus/SystemStatusPopup.js +3 -3
  310. package/src/View/TeamSharing/TeamSharingPopup.js +2 -2
  311. package/src/View/Theme/ThemePopup.js +5 -7
  312. package/src/View/UIHelper.d.ts +3 -1
  313. package/src/View/UIHelper.js +35 -16
  314. package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +5 -0
  315. package/src/View/Wizard/OnePageAdaptableWizard.d.ts +2 -0
  316. package/src/View/Wizard/OnePageAdaptableWizard.js +10 -2
  317. package/src/agGrid/Adaptable.d.ts +14 -6
  318. package/src/agGrid/Adaptable.js +194 -57
  319. package/src/agGrid/agGridHelper.d.ts +1 -0
  320. package/src/agGrid/agGridHelper.js +14 -2
  321. package/src/components/ApplicationIcon.d.ts +5 -0
  322. package/src/components/ApplicationIcon.js +13 -0
  323. package/src/components/Dashboard/DashboardManager.js +1 -1
  324. package/src/components/Datepicker/index.d.ts +1 -1
  325. package/src/components/Dialog/index.d.ts +4 -1
  326. package/src/components/Dialog/index.js +10 -3
  327. package/src/components/DropdownButton/index.d.ts +1 -0
  328. package/src/components/DropdownButton/index.js +2 -2
  329. package/src/components/EllipsisContainer/index.js +1 -1
  330. package/src/components/EmptyContent/index.js +2 -1
  331. package/src/components/Input/index.d.ts +1 -1
  332. package/src/components/List/ListGroupItem/index.d.ts +1 -1
  333. package/src/components/PopupWithFooter.d.ts +1 -1
  334. package/src/components/PopupWithFooter.js +2 -7
  335. package/src/components/StylePreview.d.ts +8 -0
  336. package/src/components/StylePreview.js +11 -0
  337. package/src/components/Tag/Tag.d.ts +3 -0
  338. package/src/components/Tag/Tag.js +11 -0
  339. package/src/components/Tag/index.d.ts +1 -0
  340. package/src/components/Tag/index.js +5 -0
  341. package/src/components/Textarea/index.d.ts +1 -1
  342. package/src/components/ToggleButton/index.d.ts +1 -0
  343. package/src/components/ToggleButton/index.js +8 -4
  344. package/src/components/WindowModal/WindowModal.d.ts +23 -0
  345. package/src/components/WindowModal/WindowModal.js +87 -0
  346. package/src/components/WindowModal/index.d.ts +1 -0
  347. package/src/components/WindowModal/index.js +4 -0
  348. package/src/components/icons/index.js +4 -0
  349. package/src/components/icons/menu.d.ts +3 -0
  350. package/src/components/icons/menu.js +7 -0
  351. package/src/components/icons/state-management.js +1 -1
  352. package/src/components/icons/tool-panel.d.ts +3 -0
  353. package/src/components/icons/tool-panel.js +7 -0
  354. package/src/components/utils/useDraggable.d.ts +3 -1
  355. package/src/components/utils/useDraggable.js +14 -2
  356. package/src/metamodel/adaptable.metamodel.d.ts +53 -32
  357. package/src/metamodel/adaptable.metamodel.js +216 -197
  358. package/src/types.d.ts +8 -6
  359. package/version.d.ts +1 -1
  360. package/version.js +1 -1
  361. package/src/Api/Events/FlashingAlertFired.d.ts +0 -11
  362. package/src/View/Alert/AlertPopup.d.ts +0 -42
  363. package/src/View/Alert/AlertPopup.js +0 -205
  364. package/src/View/Alert/FlashingAlertEntityRow.d.ts +0 -7
  365. package/src/View/Alert/FlashingAlertEntityRow.js +0 -22
  366. package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertStyleWizardSection.d.ts +0 -10
  367. package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertWizard.d.ts +0 -6
  368. package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertWizard.js +0 -89
  369. package/src/View/CalculatedColumn/CalculatedColumnEntityRow.d.ts +0 -9
  370. package/src/View/CalculatedColumn/CalculatedColumnEntityRow.js +0 -28
  371. package/src/View/CalculatedColumn/CalculatedColumnPopup.d.ts +0 -25
  372. package/src/View/CalculatedColumn/CalculatedColumnPopup.js +0 -117
  373. package/src/View/Components/Buttons/SuspendToggleButton.js +0 -17
  374. package/src/View/Components/Popups/AdaptablePopup.d.ts +0 -23
  375. package/src/View/Components/Popups/AdaptablePopup.js +0 -59
  376. package/src/View/ConditionalStyle/ConditionalStyleEntityRow.d.ts +0 -5
  377. package/src/View/ConditionalStyle/ConditionalStyleEntityRow.js +0 -26
  378. package/src/View/ConditionalStyle/ConditionalStylePopup.d.ts +0 -30
  379. package/src/View/ConditionalStyle/ConditionalStylePopup.js +0 -144
  380. package/src/View/CustomSort/CustomSortEntityRow.d.ts +0 -12
  381. package/src/View/CustomSort/CustomSortEntityRow.js +0 -32
  382. package/src/View/CustomSort/CustomSortPopup.d.ts +0 -27
  383. package/src/View/CustomSort/CustomSortPopup.js +0 -138
  384. package/src/View/DataSource/DataSourceEntityRow.d.ts +0 -12
  385. package/src/View/DataSource/DataSourceEntityRow.js +0 -29
  386. package/src/View/DataSource/DataSourcePopup.d.ts +0 -28
  387. package/src/View/DataSource/DataSourcePopup.js +0 -97
  388. package/src/View/Export/ExportPopup.d.ts +0 -34
  389. package/src/View/Export/ExportPopup.js +0 -139
  390. package/src/View/Export/ReportEntityRow.d.ts +0 -10
  391. package/src/View/Export/ReportEntityRow.js +0 -49
  392. package/src/View/Export/Wizard/ReportWizard.d.ts +0 -7
  393. package/src/View/Export/Wizard/ReportWizard.js +0 -50
  394. package/src/View/Filter/FilterEntityRow.d.ts +0 -12
  395. package/src/View/Filter/FilterEntityRow.js +0 -20
  396. package/src/View/Filter/FilterPopup.d.ts +0 -20
  397. package/src/View/Filter/FilterPopup.js +0 -50
  398. package/src/View/FormatColumn/FormatColumnEntityRow.d.ts +0 -9
  399. package/src/View/FormatColumn/FormatColumnEntityRow.js +0 -103
  400. package/src/View/FormatColumn/FormatColumnPopup.d.ts +0 -27
  401. package/src/View/FormatColumn/FormatColumnPopup.js +0 -133
  402. package/src/View/FreeTextColumn/FreeTextColumnEntityRow.d.ts +0 -5
  403. package/src/View/FreeTextColumn/FreeTextColumnEntityRow.js +0 -31
  404. package/src/View/FreeTextColumn/FreeTextColumnPopup.d.ts +0 -25
  405. package/src/View/FreeTextColumn/FreeTextColumnPopup.js +0 -118
  406. package/src/View/PlusMinus/PlusMinusEntityRow.d.ts +0 -9
  407. package/src/View/PlusMinus/PlusMinusEntityRow.js +0 -24
  408. package/src/View/PlusMinus/PlusMinusPopup.d.ts +0 -30
  409. package/src/View/PlusMinus/PlusMinusPopup.js +0 -124
  410. package/src/View/Query/NamedQueryEntityRow.d.ts +0 -8
  411. package/src/View/Query/NamedQueryEntityRow.js +0 -21
  412. package/src/View/Query/QueryPopup.d.ts +0 -28
  413. package/src/View/Query/QueryPopup.js +0 -114
  414. package/src/View/Schedule/ScheduleEntityRow.d.ts +0 -5
  415. package/src/View/Schedule/ScheduleEntityRow.js +0 -58
  416. package/src/View/Schedule/SchedulePopup.d.ts +0 -58
  417. package/src/View/Schedule/SchedulePopup.js +0 -317
  418. package/src/View/Shortcut/ShortcutEntityRow.d.ts +0 -17
  419. package/src/View/Shortcut/ShortcutEntityRow.js +0 -47
  420. package/src/View/Shortcut/ShortcutPopup.d.ts +0 -30
  421. package/src/View/Shortcut/ShortcutPopup.js +0 -121
@@ -18,7 +18,7 @@ class SystemStatusApiImpl extends ApiBase_1.ApiBase {
18
18
  this.adaptable.api.internalApi.addSystemStatusMessageInfo(systemStatusMessageInfo);
19
19
  // publish the event
20
20
  this.fireSystemStatusMessageDisplayedEvent(systemStatusMessageInfo);
21
- if (this.getNotificationsOptions().showSystemStatusMessageAsAlert) {
21
+ if (this.getNotificationsOptions().showSystemStatusMessageNotifications) {
22
22
  let fullMessage = statusMessage;
23
23
  if (StringExtensions_1.default.IsNotNullOrEmpty(statusFurtherInformation)) {
24
24
  fullMessage += '\n' + statusFurtherInformation;
@@ -13,13 +13,13 @@ class ToolPanelApiImpl extends ApiBase_1.ApiBase {
13
13
  this.showModulePopup(ModuleConstants.ToolPanelModuleId, popupParams);
14
14
  }
15
15
  openAdapTableToolPanel() {
16
- let gridOptions = this.getOptions().vendorGrid;
16
+ let gridOptions = this.getOptions().agGridOptions;
17
17
  if (gridOptions) {
18
18
  gridOptions.api.openToolPanel('adaptable');
19
19
  }
20
20
  }
21
21
  closeAdapTableToolPanel() {
22
- let gridOptions = this.getOptions().vendorGrid;
22
+ let gridOptions = this.getOptions().agGridOptions;
23
23
  if (gridOptions) {
24
24
  gridOptions.api.closeToolPanel();
25
25
  }
@@ -22,7 +22,7 @@ import { AdaptableAlert } from '../PredefinedConfig/Common/AdaptableAlert';
22
22
  import { IDataService } from '../Utilities/Services/Interface/IDataService';
23
23
  import { AdaptableMessageType, DataChangedInfo, SystemStatusMessageInfo } from '../types';
24
24
  import { IEntitlementService } from '../Utilities/Services/Interface/IEntitlementService';
25
- import { AdaptableFlashingAlert } from '../PredefinedConfig/Common/AdaptableFlashingAlert';
25
+ import { AdaptableFlashingCell } from '../PredefinedConfig/Common/AdaptableFlashingCell';
26
26
  import { IQueryLanguageService } from '../Utilities/Services/Interface/IQueryLanguageService';
27
27
  import { IAlertService } from '../Utilities/Services/Interface/IAlertService';
28
28
  import { AdaptableState } from '../PredefinedConfig/AdaptableState';
@@ -50,7 +50,7 @@ export interface InternalApi {
50
50
  setChartVisibility(chartVisbility: ChartVisibility): void;
51
51
  getAdaptableAlerts(): AdaptableAlert[];
52
52
  showPopupConfirmation(confirmation: UIConfirmation): void;
53
- getAdaptableFlashingAlertFor(primaryKey: string, columnId?: string): AdaptableFlashingAlert | null;
53
+ getAdaptableFlashingCellFor(primaryKey: string, columnId?: string): AdaptableFlashingCell | null;
54
54
  addSystemStatusMessageInfo(systemStatusMessageInfo: SystemStatusMessageInfo): void;
55
55
  getSystemStatusMessageInfos(): SystemStatusMessageInfo[];
56
56
  showLoadingScreen(): void;
@@ -112,8 +112,8 @@ export interface InternalApi {
112
112
  dispatchReduxAction(action: Action): void;
113
113
  waitForTeamSharingImportEnd(): Promise<boolean>;
114
114
  getUserDefinedHeaderName(columnId: string): string;
115
- createFrameworkComponent(containerDomNode: HTMLElement, frameworkComponent: AdaptableFrameworkComponent, componentType: 'toolPanel' | 'toolbar'): void;
116
- destroyFrameworkComponent(containerDomNode: HTMLElement, frameworkComponent: AdaptableFrameworkComponent, componentType: 'toolPanel' | 'toolbar'): void;
115
+ createFrameworkComponent(containerDomNode: HTMLElement, frameworkComponent: AdaptableFrameworkComponent, componentType: 'toolPanel' | 'toolbar' | string): void;
116
+ destroyFrameworkComponent(containerDomNode: HTMLElement, frameworkComponent: AdaptableFrameworkComponent, componentType: 'toolPanel' | 'toolbar' | string): void;
117
117
  initializeDataChangeHistory(): void;
118
118
  isTextComparisonCaseSensitive(): boolean;
119
119
  executeWithProgressIndicator(label: string, executeFn: () => unknown): void;
@@ -4,16 +4,16 @@ import { GridCell } from '../PredefinedConfig/Selection/GridCell';
4
4
  **/
5
5
  export interface SmartEditApi {
6
6
  /**
7
- * Sets operation to use in Smart Edit
7
+ * Sets Smart Edit operation: ('Add','Subtract','Multiply','Divide'
8
8
  * @param operation operation to run
9
9
  */
10
- setSmartEditOperation(operation: 'Add' | 'Subtract' | 'Multiply' | 'Divide' | 'Replace'): void;
10
+ setSmartEditOperation(operation: 'Add' | 'Subtract' | 'Multiply' | 'Divide'): void;
11
11
  /**
12
- * Gets current Smart Edit Operation ('Add','Subtract','Multiply','Divide' or 'Replace')
12
+ * Gets current Smart Edit Operation
13
13
  */
14
14
  getSmartEditOperation(): string;
15
15
  /**
16
- * Sets Smart Edit Value (e.g. to multiply by 10 then smartEditValue is 10)
16
+ * Sets Smart Edit Value
17
17
  * @param smartEditValue the value to use in Smart Edit Operation
18
18
  */
19
19
  setSmartEditValue(smartEditValue: number): void;
@@ -24,6 +24,7 @@ import { SparklineColumnState } from './SparklineColumnState';
24
24
  import { ApplicationState } from './ApplicationState';
25
25
  import { ToolPanelState } from './ToolPanelState';
26
26
  import { QueryState } from './QueryState';
27
+ import { FlashingCellState } from './FlashingCellState';
27
28
  /**
28
29
  * The main state object that Adaptable persists
29
30
  */
@@ -38,6 +39,7 @@ export interface AdaptableState {
38
39
  Application: ApplicationState;
39
40
  SparklineColumn: SparklineColumnState;
40
41
  Alert: AlertState;
42
+ FlashingCell: FlashingCellState;
41
43
  CalculatedColumn: CalculatedColumnState;
42
44
  Chart: ChartState;
43
45
  ConditionalStyle: ConditionalStyleState;
@@ -20,16 +20,12 @@ export interface AlertState extends ConfigState {
20
20
  * @defaultValue null
21
21
  */
22
22
  AlertDefinitions?: AlertDefinition[];
23
- /**
24
- * Flashing Alert Definitions - will colour cells/rows when rule is met
25
- * @defaultValue null
26
- */
27
- FlashingAlertDefinitions?: FlashingAlertDefinition[];
23
+ FlashingAlertDefinitions?: any[];
28
24
  }
29
25
  /**
30
- * Base object used in all Alert Definitions - contains `Scope` and a `Rule`
26
+ * The Alert Definition object used in the Alert function
31
27
  */
32
- export interface BaseAlertDefinition extends SuspendableObject {
28
+ export interface AlertDefinition extends SuspendableObject {
33
29
  /**
34
30
  * Where Alert can be triggered: one, some or all columns or DataTypes
35
31
  */
@@ -38,46 +34,6 @@ export interface BaseAlertDefinition extends SuspendableObject {
38
34
  * When Alert should be triggered
39
35
  */
40
36
  Rule: AlertRule;
41
- }
42
- /**
43
- * Properties to use in Flashing Alerts
44
- */
45
- export interface FlashingAlertProperties {
46
- /**
47
- * Should a cell or whole row flash
48
- * @defaultValue 'cell'
49
- */
50
- FlashTarget?: 'row' | 'cell';
51
- /**
52
- * Style for 'Down' value changes
53
- * @defaultValue Red BackColour
54
- */
55
- DownChangeStyle?: AdaptableStyle;
56
- /**
57
- * Style for 'Up' value changes
58
- * @defaultValue Green BackColour
59
- */
60
- UpChangeStyle?: AdaptableStyle;
61
- /**
62
- * Style for 'Neutral' value changes
63
- * @defaultValue Gray BackColour
64
- */
65
- NeutralChangeStyle?: AdaptableStyle;
66
- /**
67
- * Duration of Flash - can be number (in ms) or 'always'
68
- * @defaultValue 500ms
69
- */
70
- FlashDuration?: number | 'always';
71
- }
72
- /**
73
- * The Flashing Alert Definition object used in the Alert function
74
- */
75
- export interface FlashingAlertDefinition extends BaseAlertDefinition, FlashingAlertProperties {
76
- }
77
- /**
78
- * The Alert Definition object used in the Alert function
79
- */
80
- export interface AlertDefinition extends BaseAlertDefinition {
81
37
  /**
82
38
  * Type of Alert: 'Info', 'Success', 'Warning', 'Error'; influences Alert colour, icon and logging
83
39
  */
@@ -98,6 +54,9 @@ export interface AlertDefinition extends BaseAlertDefinition {
98
54
  export declare type AlertButtonForm = Omit<AdaptableForm<AlertButtonContext>, 'title' | 'buttons' | 'fields' | 'description'> & {
99
55
  Buttons?: AlertButton<AlertButtonContext>[];
100
56
  };
57
+ export interface AlertDefinitionPredicate extends AdaptablePredicate {
58
+ PredicateId: TypeHint<string, SystemAlertPredicateId>;
59
+ }
101
60
  /**
102
61
  * The Alert Rule defined by either an AdaptablePredicate or an AdaptableQuery
103
62
  */
@@ -126,9 +85,6 @@ export interface AlertButton<AlertButtonContext> extends Omit<AdaptableButton<Bu
126
85
  */
127
86
  Tooltip?: string;
128
87
  }
129
- export interface AlertDefinitionPredicate extends AdaptablePredicate {
130
- PredicateId: TypeHint<string, SystemAlertPredicateId>;
131
- }
132
88
  /**
133
89
  *
134
90
  * Additional properties that specify how a particular Alert will ALWAYS behave
@@ -141,13 +97,17 @@ export interface AlertProperties {
141
97
  /**
142
98
  * Colours updated cell using `MessageType` property of triggering Alert Definition
143
99
  */
144
- HighlightCell?: boolean;
100
+ HighlightCell?: boolean | AdaptableStyle;
101
+ /**
102
+ * Colours updated cell using `MessageType` property of triggering Alert Definition
103
+ */
104
+ HighlightRow?: boolean | AdaptableStyle;
145
105
  /**
146
106
  * Grid will 'jump' to the cell which triggered the Alert
147
107
  */
148
108
  JumpToCell?: boolean;
149
109
  /**
150
- * Shows Alert text in the div specificed in `AlertDisplayDiv` property of Alert State.
110
+ * Shows Alert text in the div specificed in `alertContainer` property of Container Options
151
111
  */
152
112
  ShowInDiv?: boolean;
153
113
  /**
@@ -160,5 +120,4 @@ export interface AlertProperties {
160
120
  */
161
121
  PreventEdit?: boolean;
162
122
  }
163
- declare type SystemAlertPredicateId = 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'Today' | 'Yesterday' | 'Tomorrow' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'InPast' | 'InFuture' | 'Before' | 'After' | 'On' | 'NotOn' | 'NextWorkDay' | 'LastWorkDay' | 'True' | 'False' | 'PercentChange' | 'PrimaryKeyDuplicate' | 'ExistingValuesOnly' | 'NoDuplicateValues' | 'IsNumeric' | 'Any';
164
- export {};
123
+ export declare type SystemAlertPredicateId = 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'Today' | 'Yesterday' | 'Tomorrow' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'InPast' | 'InFuture' | 'Before' | 'After' | 'On' | 'NotOn' | 'NextWorkDay' | 'LastWorkDay' | 'True' | 'False' | 'PercentChange' | 'PrimaryKeyDuplicate' | 'ExistingValuesOnly' | 'NoDuplicateValues' | 'IsNumeric' | 'Any';
@@ -101,6 +101,10 @@ export interface AdaptableColumn extends AdaptableColumnBase {
101
101
  * Is Column pinned or locked into position
102
102
  */
103
103
  isFixed: boolean;
104
+ /**
105
+ * The pinned position of the column
106
+ */
107
+ pinned: 'left' | 'right' | false;
104
108
  /**
105
109
  * Is it a Sparkline Column
106
110
  */
@@ -14,9 +14,9 @@ valueB: any,
14
14
  /**
15
15
  * First Row Node to compare
16
16
  */
17
- nodeA: RowNode,
17
+ nodeA?: RowNode,
18
18
  /**
19
19
  * Second Row Node to compare
20
20
  */
21
- nodeB: RowNode) => number;
21
+ nodeB?: RowNode) => number;
22
22
  export declare type AdaptableNodeComparerFunction = (nodeA: RowNode, nodeB: RowNode) => number;
@@ -1,16 +1,16 @@
1
1
  import { AdaptableObject } from './AdaptableObject';
2
2
  import { DataChangedInfo } from '../../types';
3
- import { FlashingAlertDefinition } from '../AlertState';
3
+ import { FlashingCellDefinition } from '../../../types';
4
4
  /**
5
5
  * Defines an Alert fired by AdapTable
6
6
  */
7
- export interface AdaptableFlashingAlert extends AdaptableObject {
7
+ export interface AdaptableFlashingCell extends AdaptableObject {
8
8
  /**
9
- * Rule that caused the FlashingAlert to fire
9
+ * Rule that caused the FlashingCell to fire
10
10
  */
11
- flashingAlertDefinition: FlashingAlertDefinition;
11
+ flashingCellDefinition: FlashingCellDefinition;
12
12
  /**
13
- * Data change which triggered the FlashingAlert
13
+ * Data change which triggered the FlashingCell
14
14
  */
15
15
  dataChangedInfo?: DataChangedInfo;
16
16
  /**
@@ -20,7 +20,7 @@ export interface AdaptableFlashingAlert extends AdaptableObject {
20
20
  /**
21
21
  * What will flash (e.g. Cell, Row)
22
22
  */
23
- flashTarget: FlashingAlertDefinition['FlashTarget'];
23
+ flashTarget: FlashingCellDefinition['FlashTarget'];
24
24
  /**
25
25
  * Column Ids that are flashing
26
26
  */
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import { AdaptableMessageType } from './AdaptableMessageType';
1
+ import { AdaptableStyle } from '../../../types';
2
2
  /**
3
3
  * Defines how a given Cell in AdapTable should be highlighted
4
4
  */
@@ -15,8 +15,19 @@ export interface CellHighlightInfo {
15
15
  * Time after which Cell should be unhilighted
16
16
  */
17
17
  timeout?: number;
18
+ highlightStyle: AdaptableStyle;
19
+ }
20
+ export interface RowHighlightInfo {
21
+ /**
22
+ * Primary key value for the row to be highlighted
23
+ */
24
+ primaryKeyValue: any;
25
+ /**
26
+ * Timeout after which the highlight is removed
27
+ */
28
+ timeout?: number;
18
29
  /**
19
- * Whether cell should show 'Info' (default), 'Success', 'Warning' or'Error' colour
30
+ * Highlight style
20
31
  */
21
- highlightType?: AdaptableMessageType;
32
+ highlightStyle: AdaptableStyle;
22
33
  }
@@ -16,11 +16,11 @@ export interface CellSummmary {
16
16
  }
17
17
  export interface CellSummaryOperation {
18
18
  /**
19
- * Name of the Operation - will be displayed in the Cell Summary dropdowns.
19
+ * Name of the Operation - will be displayed in the Cell Summary components
20
20
  */
21
21
  operationName: string;
22
22
  /**
23
- * Function to run when summary result is required
23
+ * Function to run when a summary result is required
24
24
  */
25
25
  operationFunction: (operationParam: CellSummaryOperationParams) => any;
26
26
  }
@@ -13,7 +13,7 @@ export interface MenuContext {
13
13
  adaptableApi: AdaptableApi;
14
14
  }
15
15
  /**
16
- * Menu item used by Adaptable in 3 places: Module Menu (at left of Dashboard Header), Column Header Menu and Context Menu
16
+ * Menu item used by Adaptable in both Column and Context Menus
17
17
  */
18
18
  export interface AdaptableMenuItem {
19
19
  /**
@@ -75,7 +75,7 @@ export interface UserMenuItem<CONTEXT_TYPE extends MenuContext> {
75
75
  subMenuItems?: UserMenuItem<CONTEXT_TYPE>[];
76
76
  }
77
77
  /**
78
- * Provides full details about current Column where Column Header Menu will appear
78
+ * Provides full details about the Column where Column Menu will appear
79
79
  */
80
80
  export interface ColumnMenuContext extends MenuContext {
81
81
  /**
@@ -17,9 +17,9 @@ export interface Schedule extends AdaptableObject {
17
17
  */
18
18
  OneOffDate?: string;
19
19
  /**
20
- * Days on which Shedule will run
20
+ * Days on which Schedule will run
21
21
  */
22
- DaysOfWeek?: DayOfWeek[];
22
+ DaysOfWeek?: Weekdays;
23
23
  }
24
24
  /**
25
25
  * Base Schedule object - typically overriden by Functions
@@ -34,15 +34,5 @@ export interface BaseSchedule extends SuspendableObject {
34
34
  */
35
35
  ScheduleType: 'Report' | 'ipushpull' | 'Glue42' | 'Reminder' | 'OpenFin';
36
36
  }
37
- /**
38
- * Enum listing Days of the Week by 0-based index
39
- */
40
- export declare enum DayOfWeek {
41
- Sunday = 0,
42
- Monday = 1,
43
- Tuesday = 2,
44
- Wednesday = 3,
45
- Thursday = 4,
46
- Friday = 5,
47
- Saturday = 6
48
- }
37
+ export declare type Weekdays = Weekday[];
38
+ export declare type Weekday = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday';
@@ -1,16 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DayOfWeek = void 0;
4
- /**
5
- * Enum listing Days of the Week by 0-based index
6
- */
7
- var DayOfWeek;
8
- (function (DayOfWeek) {
9
- DayOfWeek[DayOfWeek["Sunday"] = 0] = "Sunday";
10
- DayOfWeek[DayOfWeek["Monday"] = 1] = "Monday";
11
- DayOfWeek[DayOfWeek["Tuesday"] = 2] = "Tuesday";
12
- DayOfWeek[DayOfWeek["Wednesday"] = 3] = "Wednesday";
13
- DayOfWeek[DayOfWeek["Thursday"] = 4] = "Thursday";
14
- DayOfWeek[DayOfWeek["Friday"] = 5] = "Friday";
15
- DayOfWeek[DayOfWeek["Saturday"] = 6] = "Saturday";
16
- })(DayOfWeek = exports.DayOfWeek || (exports.DayOfWeek = {}));
@@ -19,10 +19,11 @@ export declare type AdaptableModuleButtons = AdaptableModuleButton[];
19
19
  /**
20
20
  * List of all the Module buttons Adaptable provides - each Module has a popup for which this is a shortcut button
21
21
  */
22
- export declare type AdaptableModuleButton = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Chart' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SmartEdit' | 'SparklineColumn' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme';
22
+ export declare type AdaptableModuleButton = 'Alert' | 'FlashingCell' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Chart' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SmartEdit' | 'SparklineColumn' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme';
23
23
  export declare type AdaptableStateKeys = AdaptableStateKey[];
24
- export declare type AdaptableStateKey = 'Alert' | 'Application' | 'CalculatedColumn' | 'Chart' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SparklineColumn' | 'Theme' | 'ToolPanel';
25
- export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Chart' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SmartEdit' | 'SparklineColumn' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
24
+ export declare type AdaptableStateKey = 'Alert' | 'FlashingCell' | 'Application' | 'CalculatedColumn' | 'Chart' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'SparklineColumn' | 'Theme' | 'ToolPanel';
25
+ export declare type AdaptableModule = 'Alert' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'Chart' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'IPushPull' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'SparklineColumn' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
26
+ export declare type AdaptableSettingsPanel = 'Alert' | 'CalculatedColumn' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FlashingCell' | 'FormatColumn' | 'FreeTextColumn' | 'GridInfo' | 'Layout' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'Shortcut' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme' | 'ToolPanel';
26
27
  export declare type TypeHint<Base, Literals> = (Base & {
27
28
  __subType?: true;
28
29
  }) | Literals;
@@ -19,7 +19,7 @@ export interface CustomSort extends SuspendableObject {
19
19
  */
20
20
  ColumnId: string;
21
21
  /**
22
- * Order of values by which Column will be sorted; any Column values NOT in this list will be sorted alphabetically AFTER all list values have been sorted
22
+ * Order of values by which Column will be sorted
23
23
  *
24
24
  */
25
25
  SortedValues?: string[];
@@ -6,7 +6,8 @@ import { AdaptableObject } from './Common/AdaptableObject';
6
6
  */
7
7
  export interface DashboardState extends ConfigState {
8
8
  /**
9
- * Named group of Toolbars - each Toolbar should only be in one Tab; if no Tabs are provided, AdapTable creates one named 'Toolbars'
9
+ * Named group of Toolbars
10
+ * @defaultValue Empty Array
10
11
  */
11
12
  Tabs?: DashboardTab[];
12
13
  /**
@@ -39,7 +40,7 @@ export interface DashboardState extends ConfigState {
39
40
  FloatingPosition?: AdaptableCoordinate;
40
41
  /**
41
42
  * Module Buttons visible in Dasbhoard Header when application loads - open popup screen for associated AdapTable Module
42
- * @defaultValue ['SystemStatus', 'GridInfo', 'Layout' 'ConditionalStyle']
43
+ * @defaultValue Empty Array
43
44
  */
44
45
  ModuleButtons?: AdaptableModuleButtons;
45
46
  /**
@@ -0,0 +1,70 @@
1
+ import { ConfigState } from './ConfigState';
2
+ import { AdaptableStyle } from './Common/AdaptableStyle';
3
+ import { AdaptablePredicate, AdaptableScope } from '../types';
4
+ import { XOR } from '../Utilities/Extensions/TypeExtensions';
5
+ import { AdaptableBooleanQuery } from './Common/AdaptableQuery';
6
+ import { SystemAlertPredicateId } from './AlertState';
7
+ import { TypeHint } from './Common/Types';
8
+ import { SuspendableObject } from '../../types';
9
+ export interface FlashingCellDefinitionPredicate extends AdaptablePredicate {
10
+ PredicateId: TypeHint<string, SystemAlertPredicateId>;
11
+ }
12
+ /**
13
+ * The Alert Rule defined by either an AdaptablePredicate or an AdaptableQuery
14
+ */
15
+ export declare type FlashingCellRule = XOR<{
16
+ Predicate: FlashingCellDefinitionPredicate;
17
+ }, AdaptableBooleanQuery>;
18
+ /**
19
+ * Predefined Configuration for Flashing Cell module
20
+ */
21
+ export interface FlashingCellState extends ConfigState {
22
+ /**
23
+ * Flashing Alert Definitions - will colour cells/rows when rule is met
24
+ * @defaultValue null
25
+ */
26
+ FlashingCellDefinitions?: FlashingCellDefinition[];
27
+ }
28
+ /**
29
+ * Properties to use in Flashing Alerts
30
+ */
31
+ export interface FlashingCellProperties {
32
+ /**
33
+ * Should a cell or whole row flash
34
+ * @defaultValue 'cell'
35
+ */
36
+ FlashTarget?: 'row' | 'cell';
37
+ /**
38
+ * Style for 'Down' value changes
39
+ * @defaultValue Red BackColour
40
+ */
41
+ DownChangeStyle?: AdaptableStyle;
42
+ /**
43
+ * Style for 'Up' value changes
44
+ * @defaultValue Green BackColour
45
+ */
46
+ UpChangeStyle?: AdaptableStyle;
47
+ /**
48
+ * Style for 'Neutral' value changes
49
+ * @defaultValue Gray BackColour
50
+ */
51
+ NeutralChangeStyle?: AdaptableStyle;
52
+ /**
53
+ * Duration of Flash - can be number (in ms) or 'always'
54
+ * @defaultValue 500ms
55
+ */
56
+ FlashDuration?: number | 'always';
57
+ }
58
+ /**
59
+ * The Flashing Cell Definition
60
+ */
61
+ export interface FlashingCellDefinition extends FlashingCellProperties, SuspendableObject {
62
+ /**
63
+ * Where Alert can be triggered: one, some or all columns or DataTypes
64
+ */
65
+ Scope: AdaptableScope;
66
+ /**
67
+ * When Alert should be triggered
68
+ */
69
+ Rule: FlashingCellRule;
70
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -31,12 +31,12 @@ export interface FreeTextColumn extends AdaptableObject {
31
31
  */
32
32
  FreeTextStoredValues?: FreeTextStoredValue[];
33
33
  /**
34
- * Cell editor to use when editing a Free Text Column with DataType of 'String'
34
+ * Cell editor to use when editing a string Free Text Column
35
35
  * * @defaultValue 'Inline'
36
36
  */
37
37
  TextEditor?: 'Inline' | 'Large';
38
38
  /**
39
- * Whether Column is String, Number, Boolean or Date; the appropriate Cell Editor will be used
39
+ * Whether Column is String, Number, Boolean or Date
40
40
  * @defaultValue 'String'
41
41
  */
42
42
  DataType?: 'String' | 'Number' | 'Boolean' | 'Date';
@@ -43,7 +43,7 @@ export interface Layout extends AdaptableObject {
43
43
  */
44
44
  RowGroupedColumns?: string[];
45
45
  /**
46
- * Values of opened row groups - only used if `includeExpandedRowGroups` in LayoutOptions is true
46
+ * Values of opened row groups
47
47
  */
48
48
  ExpandedRowGroupValues?: any[];
49
49
  /**
@@ -7,6 +7,7 @@ import { CustomSortState } from './CustomSortState';
7
7
  import { DashboardState } from './DashboardState';
8
8
  import { DataSourceState } from './DataSourceState';
9
9
  import { ExportState } from './ExportState';
10
+ import { FlashingCellState } from './FlashingCellState';
10
11
  import { FormatColumnState } from './FormatColumnState';
11
12
  import { FreeTextColumnState } from './FreeTextColumnState';
12
13
  import { LayoutState } from './LayoutState';
@@ -107,4 +108,5 @@ export interface PredefinedConfig {
107
108
  * Sets the order and visibility of the Tool Panel controls in the AdapTable ToolPanel (on right of grid)
108
109
  */
109
110
  ToolPanel?: ToolPanelState;
111
+ FlashingCell?: FlashingCellState;
110
112
  }
@@ -4,7 +4,6 @@ import { IPushPullSchedule } from './IPushPullState';
4
4
  import { OpenFinSchedule } from './OpenFinState';
5
5
  import { AdaptableMessageType, ReportSchedule } from '../types';
6
6
  import { BaseSchedule } from './Common/Schedule';
7
- import { AdaptableObject } from './Common/AdaptableObject';
8
7
  /**
9
8
  * Predefined Configuration for the Schedule Module
10
9
  *
@@ -32,12 +31,9 @@ export interface ScheduleState extends ConfigState {
32
31
  OpenFinSchedules?: OpenFinSchedule[];
33
32
  }
34
33
  /**
35
- * Schedules a Reminder (a.k.a. an Alert)
34
+ * Schedules a Reminder to appear at a given point in time
36
35
  */
37
36
  export interface ReminderSchedule extends BaseSchedule {
38
- Reminder: Reminder;
39
- }
40
- export interface Reminder extends AdaptableObject {
41
37
  /**
42
38
  * Reminder header text
43
39
  */
@@ -19,7 +19,7 @@ export declare type ShortcutScopeDataType = 'Number';
19
19
  */
20
20
  export interface Shortcut extends SuspendableObject {
21
21
  /**
22
- * On which numeric Columns the Rule is applied
22
+ * Numeric Columns where Shortcut is applied
23
23
  */
24
24
  Scope: AdaptableScope<ShortcutScopeDataType>;
25
25
  /**
@@ -8,10 +8,10 @@ import type { IPushPullState, IPushPullReport, IPushPullDomain } from './IPushPu
8
8
  import { Glue42State, Glue42Report } from './Glue42State';
9
9
  import { OpenFinState, OpenFinReport } from './OpenFinState';
10
10
  import { AdaptableAlert } from './Common/AdaptableAlert';
11
- import { CellHighlightInfo } from './Common/CellHighlightInfo';
11
+ import { CellHighlightInfo, RowHighlightInfo } from './Common/CellHighlightInfo';
12
12
  import { SystemStatusMessageInfo } from './Common/SystemStatusMessageInfo';
13
13
  import { CachedQuery } from './QueryState';
14
- import { AdaptableFlashingAlert } from './Common/AdaptableFlashingAlert';
14
+ import { AdaptableFlashingCell } from './Common/AdaptableFlashingCell';
15
15
  import { TypeUuid } from './Uuid';
16
16
  import { SummaryOperation } from './Common/Enums';
17
17
  import { ExportCustomDestinationPopup } from './ExportState';
@@ -29,10 +29,11 @@ export interface SystemState extends InternalState, IPushPullState, Glue42State,
29
29
  Export: {
30
30
  CustomDestinationPopups: ExportCustomDestinationPopup[];
31
31
  };
32
- AdaptableFlashingAlerts: Record<ROW_PRIMARY_KEY, Record<COLUMN_ID_OR_WHOLE_ROW_LABEL, TypeUuid>>;
33
- AdaptableFlashingAlertsMap: Record<TypeUuid, AdaptableFlashingAlert>;
32
+ AdaptableFlashingCells: Record<ROW_PRIMARY_KEY, Record<COLUMN_ID_OR_WHOLE_ROW_LABEL, TypeUuid>>;
33
+ AdaptableFlashingCellsMap: Record<TypeUuid, AdaptableFlashingCell>;
34
34
  SystemStatusMessages: SystemStatusMessageInfo[];
35
35
  HighlightedCells: CellHighlightInfo[];
36
+ HighlightedRows: RowHighlightInfo[];
36
37
  IsValidSmartEditSelection: boolean;
37
38
  SmartEditPreviewInfo: PreviewInfo;
38
39
  BulkUpdateValidationResult: BulkUpdateValidationResult;
@@ -61,6 +62,18 @@ export interface SystemState extends InternalState, IPushPullState, Glue42State,
61
62
  enableTime: Date;
62
63
  suspendTime: Date;
63
64
  };
65
+ SettingsPanel: {
66
+ [key: string]: {
67
+ position: {
68
+ x: number;
69
+ y: number;
70
+ };
71
+ size: {
72
+ width: number;
73
+ height: number;
74
+ };
75
+ };
76
+ };
64
77
  }
65
78
  export interface ProgressIndicator {
66
79
  active: boolean;