@adaptabletools/adaptable 19.2.3 → 20.0.0-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1665) hide show
  1. package/agGrid.d.ts +1 -1
  2. package/base.css +3903 -1294
  3. package/base.css.map +1 -1
  4. package/index.css +2967 -2120
  5. package/index.css.map +1 -1
  6. package/package.json +17 -16
  7. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -1
  8. package/src/AdaptableInterfaces/IAdaptable.d.ts +28 -32
  9. package/src/AdaptableOptions/ActionColumnOptions.d.ts +17 -4
  10. package/src/AdaptableOptions/AdaptableOptions.d.ts +14 -31
  11. package/src/AdaptableOptions/AdaptablePlugin.d.ts +2 -2
  12. package/src/AdaptableOptions/AlertOptions.d.ts +6 -6
  13. package/src/AdaptableOptions/CellSummaryOptions.d.ts +9 -4
  14. package/src/AdaptableOptions/ColumnMenuOptions.d.ts +4 -3
  15. package/src/AdaptableOptions/ColumnOptions.d.ts +5 -1
  16. package/src/AdaptableOptions/ContextMenuOptions.d.ts +13 -9
  17. package/src/AdaptableOptions/DashboardOptions.d.ts +12 -8
  18. package/src/AdaptableOptions/DataImportOptions.d.ts +1 -1
  19. package/src/AdaptableOptions/DefaultAdaptableOptions.d.ts +1 -1
  20. package/src/AdaptableOptions/DefaultAdaptableOptions.js +234 -251
  21. package/src/AdaptableOptions/EditOptions.d.ts +27 -1
  22. package/src/AdaptableOptions/ExportOptions.d.ts +128 -55
  23. package/src/AdaptableOptions/ExpressionOptions.d.ts +3 -7
  24. package/src/AdaptableOptions/Fdc3Options.d.ts +7 -1
  25. package/src/AdaptableOptions/FilterOptions.d.ts +219 -0
  26. package/src/AdaptableOptions/FormatColumnOptions.d.ts +1 -1
  27. package/src/AdaptableOptions/LayoutOptions.d.ts +4 -45
  28. package/src/AdaptableOptions/MasterDetailPluginOptions.d.ts +1 -1
  29. package/src/AdaptableOptions/PredicateOptions.d.ts +6 -0
  30. package/src/AdaptableOptions/QuickSearchOptions.d.ts +11 -28
  31. package/src/AdaptableOptions/RowFormOptions.d.ts +116 -0
  32. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +3 -3
  33. package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -2
  34. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +13 -121
  35. package/src/Api/ActionColumnApi.d.ts +5 -0
  36. package/src/Api/AdaptableApi.d.ts +10 -19
  37. package/src/Api/AlertApi.d.ts +2 -2
  38. package/src/Api/CalculatedColumnApi.d.ts +4 -0
  39. package/src/Api/CellSummaryApi.d.ts +6 -6
  40. package/src/Api/ChartingApi.d.ts +1 -1
  41. package/src/Api/ColumnApi.d.ts +41 -65
  42. package/src/Api/ColumnFilterApi.d.ts +3 -3
  43. package/src/Api/ColumnMenuApi.d.ts +62 -0
  44. package/src/Api/ColumnScopeApi.d.ts +1 -1
  45. package/src/Api/CommentApi.d.ts +4 -4
  46. package/src/Api/ConfigApi.d.ts +1 -3
  47. package/src/Api/ContextMenuApi.d.ts +62 -0
  48. package/src/Api/DashboardApi.d.ts +1 -1
  49. package/src/Api/EventApi.d.ts +22 -22
  50. package/src/Api/Events/AdaptableReady.d.ts +3 -3
  51. package/src/Api/Events/AdaptableStateChanged.d.ts +2 -10
  52. package/src/Api/Events/AdaptableStateReloaded.d.ts +2 -6
  53. package/src/Api/Events/AlertFired.d.ts +2 -2
  54. package/src/Api/Events/CalculatedColumnChanged.d.ts +2 -2
  55. package/src/Api/Events/CellChanged.d.ts +3 -3
  56. package/src/Api/Events/CellSelectionChanged.d.ts +2 -2
  57. package/src/Api/Events/ChartChanged.d.ts +2 -3
  58. package/src/Api/Events/ColumnFilterApplied.d.ts +2 -3
  59. package/src/Api/Events/CommentChanged.d.ts +2 -3
  60. package/src/Api/Events/CustomToolbarConfigured.d.ts +2 -2
  61. package/src/Api/Events/DashboardChanged.d.ts +2 -2
  62. package/src/Api/Events/DataImported.d.ts +3 -3
  63. package/src/Api/Events/DataSetSelected.d.ts +2 -3
  64. package/src/Api/Events/Fdc3MessageInfo.d.ts +3 -3
  65. package/src/Api/Events/FlashingCellDisplayed.d.ts +2 -2
  66. package/src/Api/Events/GridFilterApplied.d.ts +2 -3
  67. package/src/Api/Events/GridSorted.d.ts +3 -17
  68. package/src/Api/Events/LayoutChanged.d.ts +2 -2
  69. package/src/Api/Events/LiveDataChanged.d.ts +2 -2
  70. package/src/Api/Events/RowChanged.d.ts +11 -0
  71. package/src/Api/Events/RowFormSubmitted.d.ts +54 -0
  72. package/src/Api/Events/RowSelectionChanged.d.ts +2 -2
  73. package/src/Api/Events/ScheduleTriggered.d.ts +2 -2
  74. package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +2 -2
  75. package/src/Api/Events/TeamSharingEntityChanged.d.ts +2 -2
  76. package/src/Api/Events/ThemeChanged.d.ts +2 -2
  77. package/src/Api/ExportApi.d.ts +75 -69
  78. package/src/Api/ExpressionApi.d.ts +2 -2
  79. package/src/Api/Fdc3Api.d.ts +1 -9
  80. package/src/Api/FilterApi.d.ts +18 -0
  81. package/src/Api/FormatColumnApi.d.ts +7 -2
  82. package/src/Api/FreeTextColumnApi.d.ts +1 -1
  83. package/src/Api/GridApi.d.ts +51 -35
  84. package/src/Api/GridFilterApi.d.ts +1 -2
  85. package/src/Api/IPushPullApi.d.ts +1 -1
  86. package/src/Api/Implementation/ActionColumnApiImpl.d.ts +5 -2
  87. package/src/Api/Implementation/ActionColumnApiImpl.js +8 -31
  88. package/src/Api/Implementation/AdaptableApiImpl.d.ts +5 -8
  89. package/src/Api/Implementation/AdaptableApiImpl.js +6 -11
  90. package/src/Api/Implementation/AlertApiImpl.d.ts +2 -2
  91. package/src/Api/Implementation/AlertApiImpl.js +42 -48
  92. package/src/Api/Implementation/ApiBase.d.ts +10 -7
  93. package/src/Api/Implementation/ApiBase.js +21 -18
  94. package/src/Api/Implementation/BulkUpdateApiImpl.js +1 -1
  95. package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +1 -0
  96. package/src/Api/Implementation/CalculatedColumnApiImpl.js +26 -22
  97. package/src/Api/Implementation/CellSummaryApiImpl.d.ts +3 -3
  98. package/src/Api/Implementation/CellSummaryApiImpl.js +6 -8
  99. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
  100. package/src/Api/Implementation/ChartingApiImpl.js +30 -24
  101. package/src/Api/Implementation/ColumnApiImpl.d.ts +22 -16
  102. package/src/Api/Implementation/ColumnApiImpl.js +180 -112
  103. package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +4 -4
  104. package/src/Api/Implementation/ColumnFilterApiImpl.js +53 -51
  105. package/src/Api/Implementation/ColumnMenuApiImpl.d.ts +13 -0
  106. package/src/Api/Implementation/ColumnMenuApiImpl.js +51 -0
  107. package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +1 -1
  108. package/src/Api/Implementation/ColumnScopeApiImpl.js +16 -21
  109. package/src/Api/Implementation/CommentsApiImpl.d.ts +4 -4
  110. package/src/Api/Implementation/CommentsApiImpl.js +8 -11
  111. package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -3
  112. package/src/Api/Implementation/ConfigApiImpl.js +17 -25
  113. package/src/Api/Implementation/ContextMenuApiImpl.d.ts +13 -0
  114. package/src/Api/Implementation/ContextMenuApiImpl.js +51 -0
  115. package/src/Api/Implementation/CustomSortApiImpl.js +5 -3
  116. package/src/Api/Implementation/DashboardApiImpl.js +8 -7
  117. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +10 -11
  118. package/src/Api/Implementation/DataSetApiImpl.js +5 -6
  119. package/src/Api/Implementation/EntitlementApiImpl.js +6 -2
  120. package/src/Api/Implementation/EventApiImpl.d.ts +2 -0
  121. package/src/Api/Implementation/EventApiImpl.js +2 -0
  122. package/src/Api/Implementation/ExportApiImpl.d.ts +22 -19
  123. package/src/Api/Implementation/ExportApiImpl.js +105 -58
  124. package/src/Api/Implementation/ExpressionApiImpl.d.ts +2 -2
  125. package/src/Api/Implementation/ExpressionApiImpl.js +11 -5
  126. package/src/Api/Implementation/Fdc3ApiImpl.d.ts +1 -3
  127. package/src/Api/Implementation/Fdc3ApiImpl.js +1 -33
  128. package/src/Api/Implementation/FilterApiImpl.d.ts +13 -0
  129. package/src/Api/Implementation/FilterApiImpl.js +16 -0
  130. package/src/Api/Implementation/FlashingCellApiImpl.js +16 -25
  131. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +3 -1
  132. package/src/Api/Implementation/FormatColumnApiImpl.js +19 -12
  133. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
  134. package/src/Api/Implementation/FreeTextColumnApiImpl.js +5 -6
  135. package/src/Api/Implementation/GridApiImpl.d.ts +15 -12
  136. package/src/Api/Implementation/GridApiImpl.js +92 -82
  137. package/src/Api/Implementation/GridFilterApiImpl.js +6 -4
  138. package/src/Api/Implementation/LayoutApiImpl.d.ts +7 -9
  139. package/src/Api/Implementation/LayoutApiImpl.js +45 -50
  140. package/src/Api/Implementation/LayoutHelpers.d.ts +23 -0
  141. package/src/Api/Implementation/LayoutHelpers.js +303 -0
  142. package/src/Api/Implementation/NamedQueryApiImpl.js +1 -1
  143. package/src/Api/Implementation/NoteApiImpl.js +4 -1
  144. package/src/Api/Implementation/OptionsApiImpl.d.ts +9 -12
  145. package/src/Api/Implementation/OptionsApiImpl.js +25 -11
  146. package/src/Api/Implementation/PlusMinusApiImpl.js +2 -3
  147. package/src/Api/Implementation/PredicateApiImpl.d.ts +1 -0
  148. package/src/Api/Implementation/PredicateApiImpl.js +22 -8
  149. package/src/Api/Implementation/QuickSearchApiImpl.js +3 -3
  150. package/src/Api/Implementation/RowFormApiImpl.d.ts +11 -0
  151. package/src/Api/Implementation/{ActionRowApiImpl.js → RowFormApiImpl.js} +8 -16
  152. package/src/Api/Implementation/ScheduleApiImpl.d.ts +0 -2
  153. package/src/Api/Implementation/ScheduleApiImpl.js +10 -14
  154. package/src/Api/Implementation/ShortcutApiImpl.js +3 -3
  155. package/src/Api/Implementation/SmartEditApiImpl.js +7 -8
  156. package/src/Api/Implementation/StatusBarApiImpl.d.ts +1 -1
  157. package/src/Api/Implementation/StyledColumnApiImpl.js +1 -2
  158. package/src/Api/Implementation/SystemStatusApiImpl.js +8 -7
  159. package/src/Api/Implementation/TeamSharingApiImpl.js +5 -6
  160. package/src/Api/Implementation/ThemeApiImpl.js +6 -11
  161. package/src/Api/Implementation/ToolPanelApiImpl.js +3 -6
  162. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +2 -15
  163. package/src/Api/Implementation/UserInterfaceApiImpl.js +29 -117
  164. package/src/Api/Internal/ActionColumnInternalApi.d.ts +13 -0
  165. package/src/Api/Internal/ActionColumnInternalApi.js +139 -0
  166. package/src/Api/Internal/AdaptableInternalApi.d.ts +27 -28
  167. package/src/Api/Internal/AdaptableInternalApi.js +70 -126
  168. package/src/Api/Internal/AlertInternalApi.d.ts +15 -18
  169. package/src/Api/Internal/AlertInternalApi.js +158 -139
  170. package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +2 -2
  171. package/src/Api/Internal/CalculatedColumnInternalApi.js +37 -29
  172. package/src/Api/Internal/ChartingInternalApi.js +33 -18
  173. package/src/Api/Internal/ColumnFilterInternalApi.d.ts +6 -22
  174. package/src/Api/Internal/ColumnFilterInternalApi.js +69 -91
  175. package/src/Api/Internal/ColumnInternalApi.d.ts +4 -1
  176. package/src/Api/Internal/ColumnInternalApi.js +30 -2
  177. package/src/Api/Internal/CommentsInternalApi.d.ts +1 -1
  178. package/src/Api/Internal/CommentsInternalApi.js +2 -3
  179. package/src/Api/Internal/CustomSortInternalApi.d.ts +2 -0
  180. package/src/Api/Internal/CustomSortInternalApi.js +22 -7
  181. package/src/Api/Internal/DashboardInternalApi.d.ts +0 -4
  182. package/src/Api/Internal/DashboardInternalApi.js +3 -38
  183. package/src/Api/Internal/DataImportInternalApi.d.ts +0 -6
  184. package/src/Api/Internal/DataImportInternalApi.js +22 -21
  185. package/src/Api/Internal/DataSetInternalApi.d.ts +1 -5
  186. package/src/Api/Internal/DataSetInternalApi.js +15 -8
  187. package/src/Api/Internal/EntitlementInternalApi.js +2 -2
  188. package/src/Api/Internal/EventInternalApi.d.ts +27 -0
  189. package/src/Api/Internal/EventInternalApi.js +194 -0
  190. package/src/Api/Internal/ExportInternalApi.d.ts +19 -26
  191. package/src/Api/Internal/ExportInternalApi.js +175 -399
  192. package/src/Api/Internal/ExpressionInternalApi.js +21 -17
  193. package/src/Api/Internal/Fdc3InternalApi.d.ts +3 -2
  194. package/src/Api/Internal/Fdc3InternalApi.js +66 -34
  195. package/src/Api/Internal/FilterInternalApi.d.ts +3 -0
  196. package/src/Api/Internal/FilterInternalApi.js +3 -0
  197. package/src/Api/Internal/FlashingCellInternalApi.js +3 -4
  198. package/src/Api/Internal/FormatColumnInternalApi.d.ts +1 -1
  199. package/src/Api/Internal/FormatColumnInternalApi.js +34 -23
  200. package/src/Api/Internal/FreeTextColumnInternalApi.d.ts +2 -1
  201. package/src/Api/Internal/FreeTextColumnInternalApi.js +32 -26
  202. package/src/Api/Internal/GridFilterInternalApi.d.ts +0 -1
  203. package/src/Api/Internal/GridFilterInternalApi.js +1 -11
  204. package/src/Api/Internal/GridInternalApi.d.ts +24 -73
  205. package/src/Api/Internal/GridInternalApi.js +88 -382
  206. package/src/Api/Internal/LayoutInternalApi.d.ts +7 -24
  207. package/src/Api/Internal/LayoutInternalApi.js +93 -107
  208. package/src/Api/Internal/NamedQueryInternalApi.d.ts +2 -0
  209. package/src/Api/Internal/NamedQueryInternalApi.js +38 -3
  210. package/src/Api/Internal/NoteInternalApi.js +1 -2
  211. package/src/Api/Internal/PredicateInternalApi.js +40 -19
  212. package/src/Api/Internal/RowFormInternalApi.d.ts +22 -0
  213. package/src/Api/Internal/RowFormInternalApi.js +200 -0
  214. package/src/Api/Internal/ScheduleInternalApi.d.ts +1 -8
  215. package/src/Api/Internal/ScheduleInternalApi.js +1 -11
  216. package/src/Api/Internal/StyledColumnInternalApi.d.ts +1 -1
  217. package/src/Api/Internal/StyledColumnInternalApi.js +19 -22
  218. package/src/Api/Internal/SystemStatusInternalApi.d.ts +0 -5
  219. package/src/Api/Internal/SystemStatusInternalApi.js +3 -11
  220. package/src/Api/Internal/TeamSharingInternalApi.d.ts +0 -5
  221. package/src/Api/Internal/TeamSharingInternalApi.js +2 -13
  222. package/src/Api/Internal/UserInterfaceInternalApi.d.ts +2 -1
  223. package/src/Api/Internal/UserInterfaceInternalApi.js +11 -0
  224. package/src/Api/LayoutApi.d.ts +14 -23
  225. package/src/Api/OptionsApi.d.ts +31 -17
  226. package/src/Api/PredicateApi.d.ts +1 -0
  227. package/src/Api/RowFormApi.d.ts +19 -0
  228. package/src/Api/StatusBarApi.d.ts +1 -1
  229. package/src/Api/UserInterfaceApi.d.ts +9 -42
  230. package/src/EnvVars.js +1 -1
  231. package/src/PredefinedConfig/AdaptableState.d.ts +2 -4
  232. package/src/PredefinedConfig/AlertState.d.ts +6 -6
  233. package/src/PredefinedConfig/ChartingState.d.ts +1 -1
  234. package/src/PredefinedConfig/CommentState.d.ts +2 -3
  235. package/src/PredefinedConfig/Common/AdaptableAlert.d.ts +2 -2
  236. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +37 -7
  237. package/src/PredefinedConfig/Common/AdaptableColumn.js +5 -6
  238. package/src/PredefinedConfig/Common/AdaptableColumnContext.d.ts +11 -0
  239. package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +1 -2
  240. package/src/PredefinedConfig/Common/AdaptableForm.js +1 -2
  241. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  242. package/src/PredefinedConfig/Common/AdaptableObject.d.ts +2 -0
  243. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +3 -2
  244. package/src/PredefinedConfig/Common/AdaptablePredicate.js +99 -129
  245. package/src/PredefinedConfig/Common/AdaptableSortState.d.ts +15 -0
  246. package/src/PredefinedConfig/Common/AggregationColumns.d.ts +11 -5
  247. package/src/PredefinedConfig/Common/AggregationColumns.js +7 -1
  248. package/src/PredefinedConfig/Common/BaseContext.d.ts +14 -2
  249. package/src/PredefinedConfig/Common/CellDataChangedInfo.d.ts +1 -1
  250. package/src/PredefinedConfig/Common/CellSummary.d.ts +5 -5
  251. package/src/PredefinedConfig/Common/ColumnFilter.d.ts +7 -15
  252. package/src/PredefinedConfig/Common/ColumnScope.d.ts +1 -1
  253. package/src/PredefinedConfig/Common/ColumnSetupInfo.d.ts +8 -0
  254. package/src/PredefinedConfig/Common/CustomWindowConfig.d.ts +1 -1
  255. package/src/PredefinedConfig/Common/Enums.d.ts +0 -11
  256. package/src/PredefinedConfig/Common/Enums.js +0 -13
  257. package/src/PredefinedConfig/Common/Menu.d.ts +7 -5
  258. package/src/PredefinedConfig/Common/Menu.js +26 -23
  259. package/src/PredefinedConfig/Common/ProgressIndicatorConfig.d.ts +1 -1
  260. package/src/PredefinedConfig/Common/RowDataChangedInfo.d.ts +23 -0
  261. package/src/PredefinedConfig/Common/RowScope.d.ts +2 -2
  262. package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +2 -1
  263. package/src/PredefinedConfig/Common/Types.d.ts +0 -4
  264. package/src/PredefinedConfig/Common/Types.js +2 -2
  265. package/src/PredefinedConfig/CustomSortState.d.ts +2 -2
  266. package/src/PredefinedConfig/ExportState.d.ts +70 -15
  267. package/src/PredefinedConfig/FlashingCellState.d.ts +1 -1
  268. package/src/PredefinedConfig/FormatColumnState.d.ts +1 -1
  269. package/src/PredefinedConfig/InternalState.d.ts +118 -7
  270. package/src/PredefinedConfig/LayoutState.d.ts +152 -32
  271. package/src/PredefinedConfig/PopupState.d.ts +7 -2
  272. package/src/PredefinedConfig/PredefinedConfig.d.ts +18 -18
  273. package/src/PredefinedConfig/Selection/GridCell.d.ts +16 -9
  274. package/src/PredefinedConfig/Selection/GridRow.d.ts +1 -1
  275. package/src/PredefinedConfig/Selection/SelectedRowInfo.d.ts +1 -1
  276. package/src/PredefinedConfig/ShortcutState.d.ts +1 -1
  277. package/src/PredefinedConfig/StatusBarState.d.ts +1 -1
  278. package/src/PredefinedConfig/StyledColumnState.d.ts +7 -6
  279. package/src/PredefinedConfig/TeamSharingState.d.ts +2 -2
  280. package/src/Redux/ActionsReducers/AlertRedux.js +26 -8
  281. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +11 -5
  282. package/src/Redux/ActionsReducers/ChartingRedux.js +41 -14
  283. package/src/Redux/ActionsReducers/CommentsRedux.js +49 -24
  284. package/src/Redux/ActionsReducers/CustomSortRedux.js +26 -8
  285. package/src/Redux/ActionsReducers/DashboardRedux.js +9 -9
  286. package/src/Redux/ActionsReducers/ExportRedux.d.ts +6 -16
  287. package/src/Redux/ActionsReducers/ExportRedux.js +17 -20
  288. package/src/Redux/ActionsReducers/FlashingCellRedux.js +31 -10
  289. package/src/Redux/ActionsReducers/FormatColumnRedux.js +38 -11
  290. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +12 -7
  291. package/src/Redux/ActionsReducers/InternalRedux.d.ts +349 -0
  292. package/src/Redux/ActionsReducers/InternalRedux.js +893 -0
  293. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +13 -1
  294. package/src/Redux/ActionsReducers/LayoutRedux.js +140 -65
  295. package/src/Redux/ActionsReducers/NamedQueryRedux.js +12 -6
  296. package/src/Redux/ActionsReducers/NoteRedux.js +11 -6
  297. package/src/Redux/ActionsReducers/PluginsRedux.d.ts +1 -1
  298. package/src/Redux/ActionsReducers/PluginsRedux.js +1 -1
  299. package/src/Redux/ActionsReducers/PlusMinusRedux.js +36 -13
  300. package/src/Redux/ActionsReducers/PopupRedux.d.ts +10 -1
  301. package/src/Redux/ActionsReducers/PopupRedux.js +63 -6
  302. package/src/Redux/ActionsReducers/QuickSearchRedux.js +2 -1
  303. package/src/Redux/ActionsReducers/ScheduleRedux.js +104 -32
  304. package/src/Redux/ActionsReducers/ShortcutRedux.js +26 -8
  305. package/src/Redux/ActionsReducers/SmartEditRedux.d.ts +1 -1
  306. package/src/Redux/ActionsReducers/SmartEditRedux.js +1 -1
  307. package/src/Redux/ActionsReducers/StatusBarRedux.js +4 -1
  308. package/src/Redux/ActionsReducers/StyledColumnRedux.js +26 -8
  309. package/src/Redux/ActionsReducers/TeamSharingRedux.js +1 -1
  310. package/src/Redux/ActionsReducers/ThemeRedux.js +2 -1
  311. package/src/Redux/ActionsReducers/ToolPanelRedux.js +9 -8
  312. package/src/Redux/ActionsReducers/utils.js +13 -4
  313. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.d.ts +1 -1
  314. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +8 -27
  315. package/src/Redux/Store/AdaptableReduxMerger.js +4 -5
  316. package/src/Redux/Store/AdaptableStore.d.ts +1 -1
  317. package/src/Redux/Store/AdaptableStore.js +408 -540
  318. package/src/Strategy/AlertModule.d.ts +10 -5
  319. package/src/Strategy/AlertModule.js +55 -27
  320. package/src/Strategy/BulkUpdateModule.d.ts +1 -1
  321. package/src/Strategy/BulkUpdateModule.js +6 -6
  322. package/src/Strategy/CalculatedColumnModule.d.ts +12 -11
  323. package/src/Strategy/CalculatedColumnModule.js +41 -16
  324. package/src/Strategy/CellSummaryModule.d.ts +18 -11
  325. package/src/Strategy/CellSummaryModule.js +83 -45
  326. package/src/Strategy/ChartingModule.d.ts +2 -1
  327. package/src/Strategy/ChartingModule.js +17 -3
  328. package/src/Strategy/ColumnFilterModule.d.ts +1 -2
  329. package/src/Strategy/ColumnFilterModule.js +27 -29
  330. package/src/Strategy/ColumnInfoModule.d.ts +2 -2
  331. package/src/Strategy/ColumnInfoModule.js +1 -1
  332. package/src/Strategy/CommentModule.d.ts +1 -2
  333. package/src/Strategy/CommentModule.js +18 -14
  334. package/src/Strategy/CustomSortModule.d.ts +2 -13
  335. package/src/Strategy/CustomSortModule.js +1 -1
  336. package/src/Strategy/DashboardModule.js +1 -1
  337. package/src/Strategy/DataChangeHistoryModule.d.ts +8 -3
  338. package/src/Strategy/DataChangeHistoryModule.js +22 -10
  339. package/src/Strategy/DataSetModule.js +4 -7
  340. package/src/Strategy/ExportModule.d.ts +5 -17
  341. package/src/Strategy/ExportModule.js +70 -282
  342. package/src/Strategy/Fdc3Module.d.ts +1 -1
  343. package/src/Strategy/Fdc3Module.js +10 -12
  344. package/src/Strategy/FlashingCellModule.d.ts +12 -9
  345. package/src/Strategy/FlashingCellModule.js +139 -108
  346. package/src/Strategy/FormatColumnModule.d.ts +1 -1
  347. package/src/Strategy/FormatColumnModule.js +5 -5
  348. package/src/Strategy/FreeTextColumnModule.d.ts +10 -9
  349. package/src/Strategy/FreeTextColumnModule.js +39 -17
  350. package/src/Strategy/GridFilterModule.d.ts +3 -1
  351. package/src/Strategy/GridFilterModule.js +13 -1
  352. package/src/Strategy/GridInfoModule.d.ts +2 -2
  353. package/src/Strategy/Interface/ICellDataChangeListenerModule.d.ts +6 -0
  354. package/src/Strategy/Interface/ICellSummaryModule.d.ts +2 -2
  355. package/src/Strategy/Interface/{IShortcutModule.d.ts → IKeyDownListenerModule.d.ts} +1 -1
  356. package/src/Strategy/Interface/IModule.d.ts +4 -0
  357. package/src/Strategy/Interface/IPlusMinusModule.d.ts +2 -3
  358. package/src/Strategy/LayoutModule.d.ts +6 -25
  359. package/src/Strategy/LayoutModule.js +109 -64
  360. package/src/Strategy/NamedQueryModule.d.ts +2 -15
  361. package/src/Strategy/NamedQueryModule.js +2 -2
  362. package/src/Strategy/NoteModule.d.ts +3 -1
  363. package/src/Strategy/NoteModule.js +12 -7
  364. package/src/Strategy/PlusMinusModule.d.ts +3 -2
  365. package/src/Strategy/PlusMinusModule.js +32 -24
  366. package/src/Strategy/ScheduleModule.js +2 -2
  367. package/src/Strategy/SettingsPanelModule.d.ts +2 -2
  368. package/src/Strategy/ShortcutModule.d.ts +3 -2
  369. package/src/Strategy/ShortcutModule.js +10 -2
  370. package/src/Strategy/SmartEditModule.d.ts +1 -1
  371. package/src/Strategy/SmartEditModule.js +10 -6
  372. package/src/Strategy/StatusBarModule.d.ts +1 -1
  373. package/src/Strategy/StyledColumnModule.d.ts +1 -1
  374. package/src/Strategy/StyledColumnModule.js +47 -20
  375. package/src/Strategy/SystemStatusModule.d.ts +2 -2
  376. package/src/Strategy/TeamSharingModule.js +9 -9
  377. package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.js +1 -2
  378. package/src/Strategy/Utilities/CustomSort/getCustomSortSortOrderViewItems.d.ts +1 -1
  379. package/src/Strategy/Utilities/Export/getExportRowsViewItems.d.ts +2 -2
  380. package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +4 -5
  381. package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.d.ts +2 -2
  382. package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +11 -18
  383. package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +1 -2
  384. package/src/Strategy/Utilities/Shortcut/getShortcutSettingsViewItems.js +2 -3
  385. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +15 -15
  386. package/src/Utilities/Constants/GeneralConstants.d.ts +31 -85
  387. package/src/Utilities/Constants/GeneralConstants.js +53 -111
  388. package/src/Utilities/Constants/ModuleConstants.d.ts +28 -30
  389. package/src/Utilities/Constants/ModuleConstants.js +28 -31
  390. package/src/Utilities/Constants/ObjectDefaultConstants.d.ts +7 -0
  391. package/src/Utilities/Constants/ObjectDefaultConstants.js +6 -0
  392. package/src/Utilities/Constants/ReduxConstants.d.ts +7 -0
  393. package/src/Utilities/Constants/ReduxConstants.js +25 -0
  394. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +1 -1
  395. package/src/Utilities/Defaults/DefaultSettingsPanel.js +5 -4
  396. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +2 -3
  397. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +2 -2
  398. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +365 -71
  399. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +2 -4
  400. package/src/Utilities/ExpressionFunctions/deepMap.d.ts +1 -0
  401. package/src/Utilities/ExpressionFunctions/deepMap.js +7 -8
  402. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +8 -8
  403. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +12 -13
  404. package/src/Utilities/ExpressionFunctions/groupingMap.js +4 -5
  405. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +13 -17
  406. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +2 -3
  407. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
  408. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +96 -10
  409. package/src/Utilities/Extensions/ArrayExtensions.d.ts +5 -4
  410. package/src/Utilities/Extensions/ArrayExtensions.js +3 -3
  411. package/src/Utilities/Extensions/NumberExtensions.d.ts +6 -2
  412. package/src/Utilities/Extensions/NumberExtensions.js +57 -2
  413. package/src/Utilities/Extensions/ObjectExtensions.js +8 -3
  414. package/src/Utilities/Extensions/TypeExtensions.d.ts +5 -0
  415. package/src/Utilities/Helpers/AdaptableHelper.d.ts +4 -4
  416. package/src/Utilities/Helpers/AdaptableHelper.js +16 -5
  417. package/src/Utilities/Helpers/FormatHelper.d.ts +1 -1
  418. package/src/Utilities/Helpers/FormatHelper.js +5 -6
  419. package/src/Utilities/Helpers/Helper.d.ts +1 -1
  420. package/src/Utilities/Helpers/Helper.js +19 -33
  421. package/src/Utilities/Helpers/StyleHelper.js +7 -4
  422. package/src/Utilities/Interface/Preview.d.ts +1 -1
  423. package/src/Utilities/MenuItem.d.ts +3 -3
  424. package/src/Utilities/MenuItem.js +3 -3
  425. package/src/Utilities/ObjectFactory.d.ts +13 -10
  426. package/src/Utilities/ObjectFactory.js +63 -32
  427. package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -1
  428. package/src/Utilities/Services/AggregatedScalarLiveValue.js +4 -7
  429. package/src/Utilities/Services/AlertService.js +4 -4
  430. package/src/Utilities/Services/{CellPopupService.d.ts → AnnotationsService.d.ts} +7 -3
  431. package/src/Utilities/Services/{CellPopupService.js → AnnotationsService.js} +45 -31
  432. package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +5 -1
  433. package/src/Utilities/Services/CalculatedColumnExpressionService.js +36 -43
  434. package/src/Utilities/Services/ChartingService.d.ts +1 -1
  435. package/src/Utilities/Services/ChartingService.js +22 -12
  436. package/src/Utilities/Services/DataService.d.ts +7 -7
  437. package/src/Utilities/Services/DataService.js +23 -18
  438. package/src/Utilities/Services/Fdc3Service.js +66 -29
  439. package/src/Utilities/Services/FlashingCellService.d.ts +1 -1
  440. package/src/Utilities/Services/FlashingCellService.js +2 -2
  441. package/src/Utilities/Services/Interface/IAlertService.d.ts +7 -7
  442. package/src/Utilities/Services/Interface/IAlertService.js +2 -2
  443. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +5 -1
  444. package/src/Utilities/Services/Interface/IChartingService.d.ts +1 -1
  445. package/src/Utilities/Services/Interface/IDataService.d.ts +6 -5
  446. package/src/Utilities/Services/Interface/IModuleService.d.ts +2 -1
  447. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +4 -4
  448. package/src/Utilities/Services/LicenseService/index.js +1 -1
  449. package/src/Utilities/Services/MetamodelService.js +15 -15
  450. package/src/Utilities/Services/ModuleService.d.ts +4 -1
  451. package/src/Utilities/Services/ModuleService.js +34 -23
  452. package/src/Utilities/Services/QueryLanguageService.d.ts +4 -4
  453. package/src/Utilities/Services/QueryLanguageService.js +79 -59
  454. package/src/Utilities/Services/{RowEditService.d.ts → RowFormService.d.ts} +2 -2
  455. package/src/Utilities/Services/RowFormService.js +45 -0
  456. package/src/Utilities/Services/RowSummaryService.d.ts +3 -3
  457. package/src/Utilities/Services/RowSummaryService.js +22 -21
  458. package/src/Utilities/Services/TeamSharingService.js +29 -21
  459. package/src/Utilities/Services/ThemeService.js +1 -2
  460. package/src/Utilities/Services/ValidationService.js +30 -14
  461. package/src/Utilities/adaptableQlUtils.d.ts +1 -0
  462. package/src/Utilities/adaptableQlUtils.js +31 -4
  463. package/src/{agGrid → Utilities}/buildSortedColumnStateForLayout.d.ts +2 -2
  464. package/src/{agGrid → Utilities}/buildSortedColumnStateForLayout.js +39 -28
  465. package/src/{agGrid → Utilities}/createAgStatusPanelComponent.d.ts +3 -3
  466. package/src/{agGrid → Utilities}/createAgStatusPanelComponent.js +1 -2
  467. package/src/Utilities/getExpressionViewItems.d.ts +3 -0
  468. package/src/{Strategy/Utilities → Utilities}/getExpressionViewItems.js +2 -2
  469. package/src/Utilities/getObjectTagsViewItems.d.ts +3 -0
  470. package/src/{Strategy/Utilities → Utilities}/getObjectTagsViewItems.js +9 -8
  471. package/src/{Strategy/Utilities → Utilities}/getRuleViewItems.d.ts +1 -1
  472. package/src/Utilities/getRuleViewItems.js +10 -0
  473. package/src/Utilities/getScopeViewItems.d.ts +3 -0
  474. package/src/Utilities/isPivotLayout.d.ts +2 -0
  475. package/src/Utilities/isPivotLayout.js +2 -0
  476. package/src/Utilities/license/decode.js +1 -1
  477. package/src/Utilities/logDeprecation.d.ts +3 -3
  478. package/src/Utilities/logDeprecation.js +2 -2
  479. package/src/Utilities/runIfNotResolvedIn.js +1 -1
  480. package/src/{Strategy/Utilities → Utilities}/updateSingleToMultiplePredicates.js +1 -2
  481. package/src/{agGrid → Utilities}/weightedAverage.d.ts +1 -1
  482. package/src/{agGrid → Utilities}/weightedAverage.js +2 -3
  483. package/src/View/AdaptablePopover/index.d.ts +1 -1
  484. package/src/View/AdaptablePopover/index.js +3 -4
  485. package/src/View/AdaptableView.js +6 -9
  486. package/src/View/AdaptableViewFactory.js +2 -2
  487. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.d.ts +1 -1
  488. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +16 -13
  489. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +2 -2
  490. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +25 -18
  491. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +1 -1
  492. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +25 -11
  493. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +2 -3
  494. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +23 -13
  495. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +1 -1
  496. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.d.ts +3 -3
  497. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +12 -7
  498. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.d.ts +1 -1
  499. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +20 -10
  500. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.d.ts +1 -1
  501. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +22 -8
  502. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +1 -1
  503. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +1 -5
  504. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +5 -2
  505. package/src/View/AdaptableWizardView/Wizard.d.ts +2 -2
  506. package/src/View/AdaptableWizardView/Wizard.js +24 -7
  507. package/src/View/AdaptableWizardView/helper.d.ts +1 -1
  508. package/src/View/AdaptableWizardView/helper.js +20 -11
  509. package/src/View/AdaptableWizardView/index.js +1 -1
  510. package/src/View/Alert/ActiveAlertsPanel.js +1 -1
  511. package/src/View/Alert/ActiveAlertsPanelItemLabel.js +1 -1
  512. package/src/View/Alert/AlertEmptyView.js +1 -1
  513. package/src/View/Alert/AlertStatusSubPanel.d.ts +2 -2
  514. package/src/View/Alert/AlertStatusSubPanel.js +5 -3
  515. package/src/View/Alert/AlertViewPanel.d.ts +7 -5
  516. package/src/View/Alert/AlertViewPanel.js +4 -4
  517. package/src/View/Alert/AlertsPanel.js +1 -2
  518. package/src/View/Alert/Utilities/getAlertType.js +7 -8
  519. package/src/View/Alert/Utilities/getAvailablePredicates.js +1 -8
  520. package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +2 -1
  521. package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +5 -6
  522. package/src/View/Alert/Utilities/mapAlertDefinition.js +9 -10
  523. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +4 -4
  524. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +7 -1
  525. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +2 -2
  526. package/src/View/Alert/Wizard/AlertButtonsEditor.js +77 -52
  527. package/src/View/Alert/Wizard/AlertMessageWizardSection.d.ts +3 -3
  528. package/src/View/Alert/Wizard/AlertMessageWizardSection.js +14 -5
  529. package/src/View/Alert/Wizard/AlertNotificationWizardSection.d.ts +2 -2
  530. package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +38 -20
  531. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +4 -4
  532. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +20 -11
  533. package/src/View/Alert/Wizard/AlertScopeWizardSection.d.ts +2 -2
  534. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +1 -1
  535. package/src/View/Alert/Wizard/AlertTypeWizardSection.d.ts +3 -3
  536. package/src/View/Alert/Wizard/AlertWizard.d.ts +2 -2
  537. package/src/View/Alert/Wizard/AlertWizard.js +8 -10
  538. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.d.ts +2 -2
  539. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +1 -1
  540. package/src/View/Alert/Wizard/isValidAlertRules.js +1 -2
  541. package/src/View/BulkUpdate/BulkUpdatePopup.d.ts +7 -5
  542. package/src/View/BulkUpdate/BulkUpdatePopup.js +12 -13
  543. package/src/View/BulkUpdate/BulkUpdateViewPanel.d.ts +7 -6
  544. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +11 -14
  545. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +6 -3
  546. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingsTags.js +2 -2
  547. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.d.ts +3 -3
  548. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +17 -7
  549. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.d.ts +3 -3
  550. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +16 -5
  551. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +3 -3
  552. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +28 -14
  553. package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.d.ts +2 -2
  554. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.d.ts +2 -2
  555. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +13 -10
  556. package/src/View/CalculatedColumn/utils.js +1 -2
  557. package/src/View/CellSummary/CellSummaryDetails.d.ts +3 -3
  558. package/src/View/CellSummary/CellSummaryDetails.js +5 -5
  559. package/src/View/CellSummary/CellSummaryPopover.d.ts +2 -2
  560. package/src/View/CellSummary/CellSummaryPopup.d.ts +8 -6
  561. package/src/View/CellSummary/CellSummaryPopup.js +5 -6
  562. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +1 -1
  563. package/src/View/CellSummary/CellSummaryStatusPanel.d.ts +2 -2
  564. package/src/View/CellSummary/CellSummaryStatusPanel.js +4 -5
  565. package/src/View/CellSummary/CellSummaryViewPanel.d.ts +9 -8
  566. package/src/View/CellSummary/CellSummaryViewPanel.js +9 -13
  567. package/src/View/Charting/ChartingWizard/AgChargingWizard/AgChargingWizard.js +1 -2
  568. package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +6 -3
  569. package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +33 -5
  570. package/src/View/Charting/ChartingWizard/ChartingWizard.js +3 -4
  571. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.js +2 -4
  572. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +4 -1
  573. package/src/View/Charting/ShowChartButton.js +18 -17
  574. package/src/View/Charting/useAgChartState.js +6 -7
  575. package/src/View/Charting/useChartingElements.d.ts +6 -6
  576. package/src/View/Charting/useChartingElements.js +4 -5
  577. package/src/View/ColumnInfo/ColumnInfo.js +144 -98
  578. package/src/View/ColumnInfo/ColumnInfoPopup.js +1 -2
  579. package/src/View/Comments/CommentsEditor.js +23 -23
  580. package/src/View/Comments/CommentsPopup.js +3 -4
  581. package/src/View/Components/AdaptableButton/index.js +1 -1
  582. package/src/View/Components/AdaptableDateInput/index.d.ts +4 -2
  583. package/src/View/Components/AdaptableDateInput/index.js +24 -18
  584. package/src/View/Components/AdaptableIconComponent/index.js +1 -1
  585. package/src/View/Components/AdaptableIconSelector/index.js +3 -4
  586. package/src/View/Components/AdaptableInput/AdaptableDateInlineInput.d.ts +3 -2
  587. package/src/View/Components/AdaptableInput/AdaptableDateInlineInput.js +4 -7
  588. package/src/View/Components/AdaptableInput/index.d.ts +5 -3
  589. package/src/View/Components/AdaptableInput/index.js +3 -4
  590. package/src/View/Components/AdaptableObjectCollection/index.js +1 -1
  591. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +10 -12
  592. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +18 -28
  593. package/src/View/Components/Badge/index.js +1 -1
  594. package/src/View/Components/Buttons/ButtonApply.d.ts +1 -1
  595. package/src/View/Components/Buttons/ButtonApply.js +1 -1
  596. package/src/View/Components/Buttons/ButtonBase/index.d.ts +1 -1
  597. package/src/View/Components/Buttons/ButtonBase/index.js +1 -1
  598. package/src/View/Components/Buttons/ButtonClear.d.ts +1 -1
  599. package/src/View/Components/Buttons/ButtonClear.js +1 -1
  600. package/src/View/Components/Buttons/ButtonClone.d.ts +2 -2
  601. package/src/View/Components/Buttons/ButtonClone.js +1 -1
  602. package/src/View/Components/Buttons/ButtonClose.d.ts +1 -1
  603. package/src/View/Components/Buttons/ButtonClose.js +1 -1
  604. package/src/View/Components/Buttons/ButtonConfigure.d.ts +1 -1
  605. package/src/View/Components/Buttons/ButtonConfigure.js +1 -1
  606. package/src/View/Components/Buttons/ButtonDelete.d.ts +3 -8
  607. package/src/View/Components/Buttons/ButtonDelete.js +17 -29
  608. package/src/View/Components/Buttons/ButtonEdit.js +1 -2
  609. package/src/View/Components/Buttons/ButtonExpand.d.ts +1 -1
  610. package/src/View/Components/Buttons/ButtonExpand.js +1 -1
  611. package/src/View/Components/Buttons/ButtonExport.d.ts +1 -1
  612. package/src/View/Components/Buttons/ButtonExport.js +1 -1
  613. package/src/View/Components/Buttons/ButtonFunction.d.ts +1 -1
  614. package/src/View/Components/Buttons/ButtonFunction.js +1 -1
  615. package/src/View/Components/Buttons/ButtonGeneral.d.ts +1 -1
  616. package/src/View/Components/Buttons/ButtonGeneral.js +1 -1
  617. package/src/View/Components/Buttons/ButtonInfo.js +1 -1
  618. package/src/View/Components/Buttons/ButtonInvalid.d.ts +1 -1
  619. package/src/View/Components/Buttons/ButtonInvalid.js +1 -1
  620. package/src/View/Components/Buttons/ButtonLogin.d.ts +1 -1
  621. package/src/View/Components/Buttons/ButtonLogin.js +1 -1
  622. package/src/View/Components/Buttons/ButtonLogout.d.ts +1 -1
  623. package/src/View/Components/Buttons/ButtonLogout.js +1 -1
  624. package/src/View/Components/Buttons/ButtonMaximise.d.ts +1 -1
  625. package/src/View/Components/Buttons/ButtonMaximise.js +1 -1
  626. package/src/View/Components/Buttons/ButtonMinimise.d.ts +1 -1
  627. package/src/View/Components/Buttons/ButtonMinimise.js +1 -1
  628. package/src/View/Components/Buttons/ButtonNew.d.ts +2 -2
  629. package/src/View/Components/Buttons/ButtonNew.js +1 -1
  630. package/src/View/Components/Buttons/ButtonNewPage.d.ts +1 -1
  631. package/src/View/Components/Buttons/ButtonNewPage.js +2 -2
  632. package/src/View/Components/Buttons/ButtonOpen.d.ts +1 -1
  633. package/src/View/Components/Buttons/ButtonOpen.js +1 -1
  634. package/src/View/Components/Buttons/ButtonPause.d.ts +1 -3
  635. package/src/View/Components/Buttons/ButtonPause.js +13 -15
  636. package/src/View/Components/Buttons/ButtonPlay.d.ts +1 -3
  637. package/src/View/Components/Buttons/ButtonPlay.js +3 -5
  638. package/src/View/Components/Buttons/ButtonPreviewDelete.d.ts +2 -2
  639. package/src/View/Components/Buttons/ButtonPreviewDelete.js +1 -1
  640. package/src/View/Components/Buttons/ButtonSave.d.ts +1 -1
  641. package/src/View/Components/Buttons/ButtonSave.js +1 -1
  642. package/src/View/Components/Buttons/ButtonSchedule.d.ts +1 -3
  643. package/src/View/Components/Buttons/ButtonSchedule.js +3 -5
  644. package/src/View/Components/Buttons/ButtonShare.d.ts +1 -1
  645. package/src/View/Components/Buttons/ButtonShare.js +2 -4
  646. package/src/View/Components/Buttons/ButtonShow.d.ts +1 -1
  647. package/src/View/Components/Buttons/ButtonShow.js +1 -1
  648. package/src/View/Components/Buttons/ButtonShowChart.d.ts +1 -1
  649. package/src/View/Components/Buttons/ButtonShowChart.js +1 -1
  650. package/src/View/Components/Buttons/ButtonStop.d.ts +1 -1
  651. package/src/View/Components/Buttons/ButtonStop.js +1 -1
  652. package/src/View/Components/Buttons/ButtonUndo.d.ts +1 -1
  653. package/src/View/Components/Buttons/ButtonUndo.js +1 -1
  654. package/src/View/Components/Buttons/ButtonUnsuspend.d.ts +1 -1
  655. package/src/View/Components/Buttons/ButtonUnsuspend.js +1 -1
  656. package/src/View/Components/Buttons/EntityListActionButtons.d.ts +1 -1
  657. package/src/View/Components/CellPopup/index.js +1 -2
  658. package/src/View/Components/ColumnFilter/AdaptableColumnFilter.d.ts +12 -0
  659. package/src/View/Components/ColumnFilter/AdaptableColumnFilter.js +11 -0
  660. package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.d.ts +9 -0
  661. package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.js +31 -0
  662. package/src/View/Components/ColumnFilter/ColumnFilter.d.ts +13 -0
  663. package/src/View/Components/ColumnFilter/ColumnFilter.js +144 -0
  664. package/src/View/Components/ColumnFilter/ColumnFilterWindow.d.ts +3 -0
  665. package/src/View/Components/ColumnFilter/ColumnFilterWindow.js +32 -0
  666. package/src/View/Components/ColumnFilter/FloatingFilter.d.ts +12 -0
  667. package/src/View/Components/ColumnFilter/FloatingFilter.js +84 -0
  668. package/src/View/Components/ColumnFilter/LayoutColumnFilter.d.ts +6 -0
  669. package/src/View/Components/ColumnFilter/LayoutColumnFilter.js +25 -0
  670. package/src/View/Components/ColumnFilter/components/ColumnFilterInput.d.ts +27 -0
  671. package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +117 -0
  672. package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.d.ts +13 -0
  673. package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.js +56 -0
  674. package/src/View/Components/ColumnFilter/components/ColumnFilterMenu.d.ts +12 -0
  675. package/src/View/Components/ColumnFilter/components/ColumnFilterMenu.js +17 -0
  676. package/src/View/Components/ColumnFilter/components/FloatingFilterInputList.d.ts +13 -0
  677. package/src/View/Components/ColumnFilter/components/FloatingFilterInputList.js +58 -0
  678. package/src/View/Components/ColumnFilter/components/FloatingFilterValues.d.ts +44 -0
  679. package/src/View/Components/ColumnFilter/components/FloatingFilterValues.js +108 -0
  680. package/src/View/Components/ColumnFilter/hooks.d.ts +2 -0
  681. package/src/View/Components/ColumnFilter/hooks.js +10 -0
  682. package/src/View/Components/ColumnFilter/useAdaptableFilterWrapper.d.ts +12 -0
  683. package/src/View/Components/ColumnFilter/useAdaptableFilterWrapper.js +62 -0
  684. package/src/View/Components/ColumnFilter/utils.d.ts +8 -0
  685. package/src/View/Components/ColumnFilter/utils.js +118 -0
  686. package/src/View/Components/ColumnSelector/index.d.ts +2 -2
  687. package/src/View/Components/ColumnSelector/index.js +1 -3
  688. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +18 -16
  689. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +23 -17
  690. package/src/View/Components/EntityRulesEditor/Utilities.js +11 -12
  691. package/src/View/Components/EntityRulesEditor/index.d.ts +2 -2
  692. package/src/View/Components/EntityRulesEditor/index.js +47 -28
  693. package/src/View/Components/ExpressionWizard.d.ts +1 -1
  694. package/src/View/Components/ExpressionWizard.js +2 -3
  695. package/src/View/Components/ExternalRenderer.js +7 -15
  696. package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +8 -15
  697. package/src/View/Components/FilterForm/ListBoxFilterForm.js +27 -73
  698. package/src/View/Components/FilterForm/ListBoxMenu.d.ts +1 -1
  699. package/src/View/Components/FilterForm/Waiting.js +2 -3
  700. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +2 -1
  701. package/src/View/Components/Forms/AdaptableFormControlTextClear.js +6 -1
  702. package/src/View/Components/ListBox/DualListBoxEditor.d.ts +1 -1
  703. package/src/View/Components/ListBox/DualListBoxEditor.js +4 -4
  704. package/src/View/Components/ListBox/ListBoxFilterSortComponent.d.ts +1 -1
  705. package/src/View/Components/ModuleValueSelector/index.d.ts +2 -2
  706. package/src/View/Components/ModuleValueSelector/index.js +4 -5
  707. package/src/View/Components/NewScopeComponent.d.ts +2 -2
  708. package/src/View/Components/NewScopeComponent.js +22 -27
  709. package/src/View/Components/Panels/PanelDashboard/index.d.ts +3 -3
  710. package/src/View/Components/Panels/PanelDashboard/index.js +4 -4
  711. package/src/View/Components/Panels/PanelFooter.js +2 -3
  712. package/src/View/Components/Panels/PanelToolPanel/index.d.ts +1 -1
  713. package/src/View/Components/Panels/PanelToolPanel/index.js +25 -3
  714. package/src/View/Components/Panels/PanelWithButton.d.ts +1 -3
  715. package/src/View/Components/Panels/PanelWithButton.js +15 -21
  716. package/src/View/Components/Panels/PanelWithImage.js +6 -3
  717. package/src/View/Components/Panels/PanelWithRow.d.ts +1 -1
  718. package/src/View/Components/Panels/PanelWithTwoButtons.d.ts +1 -1
  719. package/src/View/Components/Panels/PanelWithTwoButtons.js +1 -1
  720. package/src/View/Components/Panels/ToolPanelSettingsPanel.d.ts +1 -1
  721. package/src/View/Components/Popups/AdaptableLoadingScreen.d.ts +2 -2
  722. package/src/View/Components/Popups/AdaptableLoadingScreen.js +2 -2
  723. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +7 -8
  724. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +2 -3
  725. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +13 -12
  726. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +36 -34
  727. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +7 -7
  728. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +1 -2
  729. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +9 -11
  730. package/src/View/Components/Popups/AdaptablePopupAlert.d.ts +2 -2
  731. package/src/View/Components/Popups/AdaptablePopupAlert.js +7 -5
  732. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +3 -3
  733. package/src/View/Components/Popups/AdaptablePopupPrompt.js +1 -2
  734. package/src/View/Components/Popups/AdaptablePopupTeamSharing.d.ts +2 -2
  735. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +3 -3
  736. package/src/View/Components/Popups/FormPopups/FormPopups.js +6 -3
  737. package/src/View/Components/Popups/GridCellPopup/GridCellPopup.js +13 -14
  738. package/src/View/Components/Popups/WindowPopups/WindowPopups.d.ts +1 -1
  739. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +22 -11
  740. package/src/View/Components/Popups/WindowPopups/windowFactory.d.ts +1 -1
  741. package/src/View/Components/Popups/WindowPopups/windowFactory.js +3 -3
  742. package/src/View/Components/PredicateEditor/PredicateEditor.js +46 -29
  743. package/src/View/Components/PreviewResultsPanel.js +23 -32
  744. package/src/View/Components/RangesComponent.d.ts +1 -1
  745. package/src/View/Components/RangesComponent.js +21 -10
  746. package/src/View/Components/ReorderDraggable/index.d.ts +12 -0
  747. package/src/View/Components/ReorderDraggable/index.js +40 -0
  748. package/src/View/Components/Selectors/{ColumnValueSelector.d.ts → BulkUpdateValueSelector.d.ts} +2 -2
  749. package/src/View/Components/Selectors/{ColumnValueSelector.js → BulkUpdateValueSelector.js} +30 -12
  750. package/src/View/Components/Selectors/ColumnSelector.d.ts +3 -2
  751. package/src/View/Components/Selectors/ColumnSelector.js +9 -7
  752. package/src/View/Components/Selectors/ColumnSelectorOld.d.ts +1 -1
  753. package/src/View/Components/Selectors/ColumnSelectorOld.js +1 -2
  754. package/src/View/Components/Selectors/FieldSelector.js +5 -9
  755. package/src/View/Components/Selectors/PermittedValuesSelector.d.ts +13 -2
  756. package/src/View/Components/Selectors/PermittedValuesSelector.js +37 -8
  757. package/src/View/Components/StyleComponent.d.ts +1 -1
  758. package/src/View/Components/StyleComponent.js +3 -4
  759. package/src/View/Components/TagValueSelector/index.d.ts +3 -3
  760. package/src/View/Components/TagValueSelector/index.js +1 -2
  761. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +11 -8
  762. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +15 -27
  763. package/src/View/Components/ToolPanel/CustomToolPanelContent.d.ts +2 -2
  764. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +19 -8
  765. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +7 -4
  766. package/src/View/Components/ToolPanel/ToolPanelPopup.js +7 -9
  767. package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +2 -2
  768. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -2
  769. package/src/View/Components/ValueSelector/index.d.ts +20 -2
  770. package/src/View/Components/ValueSelector/index.js +52 -39
  771. package/src/View/Components/WizardSummaryPage.d.ts +2 -2
  772. package/src/View/Components/WizardSummaryPage.js +4 -4
  773. package/src/View/CustomSort/CustomSortSummary.d.ts +3 -1
  774. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +3 -3
  775. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +6 -2
  776. package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.js +1 -1
  777. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.d.ts +3 -3
  778. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +21 -5
  779. package/src/View/CustomSort/Wizard/CustomSortWizard.d.ts +2 -2
  780. package/src/View/CustomSort/Wizard/CustomSortWizard.js +5 -7
  781. package/src/View/Dashboard/CustomDashboardButton.d.ts +2 -2
  782. package/src/View/Dashboard/CustomDashboardButton.js +6 -4
  783. package/src/View/Dashboard/CustomToolbar.d.ts +3 -3
  784. package/src/View/Dashboard/CustomToolbar.js +13 -20
  785. package/src/View/Dashboard/Dashboard.d.ts +8 -6
  786. package/src/View/Dashboard/Dashboard.js +13 -10
  787. package/src/View/Dashboard/DashboardPopup.d.ts +6 -4
  788. package/src/View/Dashboard/DashboardPopup.js +5 -5
  789. package/src/View/Dashboard/DashboardToolbarFactory.js +1 -1
  790. package/src/View/Dashboard/DashboardViewPanel.d.ts +4 -2
  791. package/src/View/Dashboard/ModuleToolbarWrapper.d.ts +1 -1
  792. package/src/View/Dashboard/ModuleToolbarWrapper.js +1 -1
  793. package/src/View/Dashboard/PinnedDashboard.js +1 -2
  794. package/src/View/Dashboard/PinnedToolbarsSelector.js +1 -1
  795. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +2 -2
  796. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +31 -38
  797. package/src/View/DataChangeHistory/DataChangeHistoryPopup.d.ts +10 -8
  798. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +9 -9
  799. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +10 -11
  800. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +1 -1
  801. package/src/View/DataChangeHistory/buildActionColumnButton.js +9 -4
  802. package/src/View/DataImport/DataImportPopup.js +4 -6
  803. package/src/View/DataImport/DataImportWizard/DataImportWizard.d.ts +2 -2
  804. package/src/View/DataImport/DataImportWizard/DataImportWizard.js +26 -23
  805. package/src/View/DataImport/DataImportWizard/sections/ColumnsSection.js +27 -14
  806. package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +14 -13
  807. package/src/View/DataImport/systemFileHandlers.js +1 -2
  808. package/src/View/DataSet/DataSetSelector.js +2 -2
  809. package/src/View/DataSet/DataSetViewPanel.d.ts +9 -4
  810. package/src/View/DataSet/DataSetViewPanel.js +4 -5
  811. package/src/View/Export/ExportDestinationPicker.d.ts +9 -0
  812. package/src/View/Export/ExportDestinationPicker.js +22 -0
  813. package/src/View/Export/ExportStatusBar.d.ts +2 -0
  814. package/src/View/Export/ExportStatusBar.js +16 -0
  815. package/src/View/Export/ExportViewPanel.d.ts +2 -26
  816. package/src/View/Export/ExportViewPanel.js +39 -127
  817. package/src/View/Export/ReportFormatSelector.d.ts +10 -0
  818. package/src/View/Export/ReportFormatSelector.js +22 -0
  819. package/src/View/Export/{ReportExportDropdown.d.ts → ReportListItem.d.ts} +1 -1
  820. package/src/View/Export/ReportListItem.js +13 -0
  821. package/src/View/Export/ReportNameSelector.d.ts +10 -0
  822. package/src/View/Export/ReportNameSelector.js +20 -0
  823. package/src/View/Export/Wizard/NewReportWizard.d.ts +2 -2
  824. package/src/View/Export/Wizard/NewReportWizard.js +2 -3
  825. package/src/View/Export/Wizard/ReportColumnTypeWizard.d.ts +1 -1
  826. package/src/View/Export/Wizard/ReportColumnsWizardSection.d.ts +3 -3
  827. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +5 -2
  828. package/src/View/Export/Wizard/ReportNameWizardSection.d.ts +3 -3
  829. package/src/View/Export/Wizard/ReportNameWizardSection.js +5 -2
  830. package/src/View/Export/Wizard/ReportRowTypeWizard.d.ts +1 -1
  831. package/src/View/Export/Wizard/ReportRowsWizardSection.d.ts +3 -3
  832. package/src/View/Export/Wizard/ReportRowsWizardSection.js +11 -7
  833. package/src/View/Filter/ActiveFiltersPanel.js +1 -1
  834. package/src/View/Filter/FilterSummary.d.ts +4 -1
  835. package/src/View/Filter/FilterSummary.js +3 -3
  836. package/src/View/Filter/FilterViewPanel.d.ts +9 -5
  837. package/src/View/Filter/FilterViewPanel.js +15 -21
  838. package/src/View/FlashingCell/FlashingCellStyle.js +2 -3
  839. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.d.ts +3 -3
  840. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +1 -2
  841. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.d.ts +2 -2
  842. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +1 -1
  843. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.d.ts +3 -3
  844. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +15 -15
  845. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.d.ts +2 -2
  846. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +6 -8
  847. package/src/View/FlashingCell/Wizard/FlashingCellWizard.d.ts +2 -2
  848. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +3 -4
  849. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +1 -2
  850. package/src/View/FormatColumn/FormatColumnSummary.d.ts +3 -1
  851. package/src/View/FormatColumn/FormatColumnSummary.js +1 -2
  852. package/src/View/FormatColumn/MoveFormatColumn.js +1 -1
  853. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +4 -4
  854. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +37 -45
  855. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.d.ts +2 -2
  856. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.d.ts +3 -3
  857. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +2 -3
  858. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.d.ts +3 -3
  859. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +29 -13
  860. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +4 -4
  861. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +8 -5
  862. package/src/View/FormatColumn/Wizard/FormatColumnWizard.d.ts +2 -2
  863. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +10 -13
  864. package/src/View/FreeTextColumn/FreeTextColumnSummary.d.ts +3 -1
  865. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +3 -12
  866. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +48 -24
  867. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.d.ts +2 -2
  868. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +2 -4
  869. package/src/View/GridFilter/GridFilterExpressionEditor.d.ts +2 -2
  870. package/src/View/GridFilter/GridFilterExpressionEditor.js +3 -4
  871. package/src/View/GridFilter/GridFilterPopup.d.ts +2 -2
  872. package/src/View/GridFilter/GridFilterPopup.js +2 -2
  873. package/src/View/GridFilter/GridFilterStatusbar.js +2 -3
  874. package/src/View/GridFilter/GridFilterViewPanel.d.ts +2 -2
  875. package/src/View/GridFilter/GridFilterViewPanel.js +2 -2
  876. package/src/View/GridFilter/NamedQuerySelector.d.ts +3 -3
  877. package/src/View/GridFilter/NamedQuerySelector.js +1 -2
  878. package/src/View/GridFilter/useGridFilterExpressionEditor.js +19 -21
  879. package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +1 -1
  880. package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +3 -4
  881. package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.d.ts +2 -2
  882. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.d.ts +2 -2
  883. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +21 -15
  884. package/src/View/KeyHint.d.ts +2 -2
  885. package/src/View/KeyHint.js +1 -1
  886. package/src/View/Layout/EditCurrentLayoutButton.js +5 -1
  887. package/src/View/Layout/LayoutCloneButton.js +3 -2
  888. package/src/View/Layout/LayoutRadioSelector.js +1 -1
  889. package/src/View/Layout/LayoutViewPanel.d.ts +18 -10
  890. package/src/View/Layout/LayoutViewPanel.js +65 -40
  891. package/src/View/Layout/PivotDetailsPopoup.js +23 -7
  892. package/src/View/Layout/TransposedPopup.d.ts +2 -2
  893. package/src/View/Layout/TransposedPopup.js +8 -14
  894. package/src/View/Layout/Wizard/Components/ColumnLabels.d.ts +1 -1
  895. package/src/View/Layout/Wizard/Components/ColumnLabels.js +2 -3
  896. package/src/View/Layout/Wizard/LayoutWizard.js +115 -32
  897. package/src/View/Layout/Wizard/getGridFilterPreview.d.ts +2 -2
  898. package/src/View/Layout/Wizard/getGridFilterPreview.js +1 -2
  899. package/src/View/Layout/Wizard/sections/AggregationsSection.d.ts +2 -2
  900. package/src/View/Layout/Wizard/sections/AggregationsSection.js +78 -37
  901. package/src/View/Layout/Wizard/sections/ColumnsSection.js +213 -52
  902. package/src/View/Layout/Wizard/sections/FilterSection.js +28 -30
  903. package/src/View/Layout/Wizard/sections/GridFilterSection.js +12 -14
  904. package/src/View/Layout/Wizard/sections/PivotAggregationsSection.d.ts +9 -0
  905. package/src/View/Layout/Wizard/sections/PivotAggregationsSection.js +186 -0
  906. package/src/View/Layout/Wizard/sections/PivotColumnsSection.d.ts +2 -2
  907. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +7 -7
  908. package/src/View/Layout/Wizard/sections/PivotRowGroupingSection.d.ts +8 -0
  909. package/src/View/Layout/Wizard/sections/PivotRowGroupingSection.js +41 -0
  910. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +78 -34
  911. package/src/View/Layout/Wizard/sections/RowSummarySection.d.ts +4 -4
  912. package/src/View/Layout/Wizard/sections/RowSummarySection.js +74 -39
  913. package/src/View/Layout/Wizard/sections/SettingsSection.js +12 -10
  914. package/src/View/Layout/Wizard/sections/SortSection.js +19 -15
  915. package/src/View/Layout/Wizard/sections/Utilities.js +1 -1
  916. package/src/View/License/LicenseWatermark.js +1 -1
  917. package/src/View/NamedQuery/EditCurrentQueryButton.d.ts +2 -2
  918. package/src/View/NamedQuery/EditCurrentQueryButton.js +1 -1
  919. package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.d.ts +3 -3
  920. package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +1 -1
  921. package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.d.ts +3 -3
  922. package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +4 -1
  923. package/src/View/NamedQuery/Wizard/NamedQueryWizard.d.ts +2 -2
  924. package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +1 -2
  925. package/src/View/Note/NoteEditor.js +2 -4
  926. package/src/View/PlusMinus/MovePlusMinus.js +1 -1
  927. package/src/View/PlusMinus/PlusMinusSummary.d.ts +3 -1
  928. package/src/View/PlusMinus/PlusMinusSummary.js +1 -2
  929. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.d.ts +3 -3
  930. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +4 -2
  931. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +9 -3
  932. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +7 -7
  933. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +9 -8
  934. package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +2 -2
  935. package/src/View/QuickSearch/QuickSearchInput.js +1 -2
  936. package/src/View/QuickSearch/QuickSearchPopup.d.ts +4 -2
  937. package/src/View/QuickSearch/QuickSearchPopup.js +2 -2
  938. package/src/View/QuickSearch/useQuickSearchDebounced.js +1 -2
  939. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +40 -20
  940. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +28 -8
  941. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +8 -3
  942. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +29 -14
  943. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.d.ts +2 -3
  944. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +16 -10
  945. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +13 -13
  946. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +7 -7
  947. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.d.ts +1 -1
  948. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +9 -10
  949. package/src/View/Schedule/Wizard/ScheduleWizard.js +3 -4
  950. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +9 -3
  951. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +15 -8
  952. package/src/View/Shortcut/Wizard/ShortcutWizard.js +4 -8
  953. package/src/View/SmartEdit/SmartEditPopup.d.ts +9 -6
  954. package/src/View/SmartEdit/SmartEditPopup.js +9 -9
  955. package/src/View/SmartEdit/SmartEditViewPanel.d.ts +8 -7
  956. package/src/View/SmartEdit/SmartEditViewPanel.js +11 -13
  957. package/src/View/SpecialColumnSettingsWizardStep.js +20 -19
  958. package/src/View/StateManagement/components/ClearButton.js +1 -1
  959. package/src/View/StateManagement/components/ExportDropdown.js +1 -1
  960. package/src/View/StateManagement/components/LoadButton.js +1 -1
  961. package/src/View/StatusBar/AdaptableStatusBar.d.ts +1 -1
  962. package/src/View/StatusBar/AdaptableStatusBar.js +12 -12
  963. package/src/View/StatusBar/StatusBarPanel.d.ts +1 -1
  964. package/src/View/StatusBar/StatusBarPanel.js +3 -5
  965. package/src/View/StatusBar/StatusBarPopup.js +4 -1
  966. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.d.ts +1 -1
  967. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +47 -19
  968. package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +53 -116
  969. package/src/View/StyledColumn/Wizard/StyledColumnWizard.d.ts +2 -2
  970. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +12 -15
  971. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +3 -3
  972. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +14 -5
  973. package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.d.ts +3 -3
  974. package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +36 -11
  975. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +9 -5
  976. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.d.ts +2 -2
  977. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +74 -30
  978. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.d.ts +1 -1
  979. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +3 -1
  980. package/src/View/SystemStatus/SystemStatusEntityRow.js +1 -2
  981. package/src/View/SystemStatus/SystemStatusPopup.d.ts +6 -4
  982. package/src/View/SystemStatus/SystemStatusPopup.js +4 -4
  983. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +1 -1
  984. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +7 -2
  985. package/src/View/SystemStatus/SystemStatusViewPanel.js +2 -2
  986. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +1 -2
  987. package/src/View/TeamSharing/SharedEntityDependencies.js +4 -2
  988. package/src/View/TeamSharing/SharedEntityObjectView.d.ts +2 -3
  989. package/src/View/TeamSharing/SharedEntityObjectView.js +4 -5
  990. package/src/View/Theme/ThemeEditor.js +29 -13
  991. package/src/View/Theme/ThemePopup.d.ts +4 -2
  992. package/src/View/Theme/ThemeStatusbar.d.ts +2 -2
  993. package/src/View/Theme/ThemeViewPanel.d.ts +2 -2
  994. package/src/View/Theme/VariantSelector.js +1 -2
  995. package/src/View/UIHelper.d.ts +2 -2
  996. package/src/View/UIHelper.js +10 -11
  997. package/src/View/Wizard/AdaptableWizard.d.ts +2 -2
  998. package/src/View/Wizard/AdaptableWizard.js +8 -3
  999. package/src/View/Wizard/ObjectTagsWizardSection.d.ts +3 -3
  1000. package/src/View/Wizard/ObjectTagsWizardSection.js +2 -3
  1001. package/src/View/Wizard/OnePageAdaptableWizard.d.ts +2 -2
  1002. package/src/View/Wizard/OnePageAdaptableWizard.js +30 -11
  1003. package/src/View/Wizard/OnePageWizards.d.ts +1 -1
  1004. package/src/View/Wizard/OnePageWizards.js +40 -34
  1005. package/src/View/Wizard/TypeRadio.d.ts +5 -4
  1006. package/src/View/Wizard/TypeRadio.js +1 -1
  1007. package/src/View/Wizard/useKeyboardNavigation.d.ts +1 -1
  1008. package/src/View/renderWithAdaptableContext.d.ts +2 -1
  1009. package/src/agGrid/Adaptable.d.ts +1 -1
  1010. package/src/agGrid/Adaptable.js +12 -11
  1011. package/src/agGrid/AdaptableAgGrid.d.ts +63 -78
  1012. package/src/agGrid/AdaptableAgGrid.js +822 -1589
  1013. package/src/{AdaptableOptions → agGrid}/AdaptableFrameworkComponent.d.ts +1 -7
  1014. package/src/agGrid/AdaptableLogger.d.ts +1 -0
  1015. package/src/agGrid/AdaptableLogger.js +19 -11
  1016. package/src/agGrid/AgGridAdapter.d.ts +25 -10
  1017. package/src/agGrid/AgGridAdapter.js +329 -203
  1018. package/src/agGrid/AgGridColumnAdapter.d.ts +6 -4
  1019. package/src/agGrid/AgGridColumnAdapter.js +209 -142
  1020. package/src/agGrid/AgGridExportAdapter.d.ts +52 -0
  1021. package/src/agGrid/AgGridExportAdapter.js +773 -0
  1022. package/src/agGrid/AgGridMenuAdapter.d.ts +5 -6
  1023. package/src/agGrid/AgGridMenuAdapter.js +116 -104
  1024. package/src/agGrid/AgGridOptionsService.d.ts +1 -1
  1025. package/src/agGrid/AgGridOptionsService.js +1 -1
  1026. package/src/agGrid/FilterWrapper.js +16 -14
  1027. package/src/agGrid/FloatingFilterWrapper.js +7 -7
  1028. package/src/agGrid/agGridDataTypeDefinitions.d.ts +8 -0
  1029. package/src/agGrid/agGridDataTypeDefinitions.js +74 -0
  1030. package/src/agGrid/agGridModules.d.ts +3 -0
  1031. package/src/agGrid/agGridModules.js +15 -0
  1032. package/src/agGrid/{ActionColumnRenderer.d.ts → cellRenderers/ActionColumnRenderer.d.ts} +3 -3
  1033. package/src/agGrid/{ActionColumnRenderer.js → cellRenderers/ActionColumnRenderer.js} +35 -27
  1034. package/src/agGrid/cellRenderers/BadgeRenderer.d.ts +4 -0
  1035. package/src/agGrid/{BadgeRenderer.js → cellRenderers/BadgeRenderer.js} +28 -19
  1036. package/src/agGrid/cellRenderers/PercentBarRenderer.d.ts +4 -0
  1037. package/src/agGrid/{PercentBarRenderer.js → cellRenderers/PercentBarRenderer.js} +2 -3
  1038. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +11 -8
  1039. package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +2 -2
  1040. package/src/agGrid/editors/AdaptableDateEditor/index.js +24 -20
  1041. package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +17 -7
  1042. package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +2 -2
  1043. package/src/agGrid/editors/AdaptableNumberEditor/index.js +20 -18
  1044. package/src/agGrid/editors/AdaptablePercentageEditor/InternalAdaptablePercentageEditor.js +10 -7
  1045. package/src/agGrid/editors/AdaptablePercentageEditor/index.d.ts +1 -1
  1046. package/src/agGrid/editors/AdaptablePercentageEditor/index.js +23 -22
  1047. package/src/components/Accordion.js +2 -4
  1048. package/src/components/AdaptableFormComponent/AdaptableFormComponent.d.ts +3 -3
  1049. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +22 -28
  1050. package/src/components/CheckBox/index.d.ts +2 -2
  1051. package/src/components/CheckBox/index.js +5 -7
  1052. package/src/components/CodeBlock/index.d.ts +2 -2
  1053. package/src/components/CodeBlock/index.js +1 -1
  1054. package/src/components/ColorPicker/ColorPicker.d.ts +1 -1
  1055. package/src/components/ColorPicker/ColorPicker.js +5 -7
  1056. package/src/components/Dashboard/Dashboard.d.ts +2 -1
  1057. package/src/components/Dashboard/Dashboard.js +1 -2
  1058. package/src/components/Dashboard/DashboardToolbar.d.ts +2 -1
  1059. package/src/components/Dashboard/DashboardToolbar.js +1 -1
  1060. package/src/components/Datepicker/DatepickerContext.d.ts +2 -0
  1061. package/src/components/Datepicker/index.d.ts +2 -1
  1062. package/src/components/Datepicker/index.js +29 -37
  1063. package/src/components/Dialog/index.js +5 -6
  1064. package/src/components/DragAndDropContext/ModuleManager.js +18 -5
  1065. package/src/components/DragAndDropContext/TabList.d.ts +5 -5
  1066. package/src/components/DragAndDropContext/TabList.js +11 -9
  1067. package/src/components/DragAndDropContext/UnusedPanel.d.ts +2 -2
  1068. package/src/components/DragAndDropContext/UnusedPanel.js +16 -6
  1069. package/src/components/Drawer/index.js +1 -2
  1070. package/src/components/Dropdown/Arrows.d.ts +2 -2
  1071. package/src/components/Dropdown/index.d.ts +1 -1
  1072. package/src/components/Dropdown/index.js +8 -5
  1073. package/src/components/DropdownButton/index.d.ts +3 -1
  1074. package/src/components/DropdownButton/index.js +36 -18
  1075. package/src/components/DropdownButton/renderItem.d.ts +1 -1
  1076. package/src/components/DropdownButton/renderItem.js +2 -2
  1077. package/src/components/EllipsisContainer/index.d.ts +1 -1
  1078. package/src/components/EllipsisContainer/index.js +6 -10
  1079. package/src/components/EmptyContent/index.d.ts +2 -1
  1080. package/src/components/EmptyContent/index.js +2 -4
  1081. package/src/components/ErrorBox/index.d.ts +2 -2
  1082. package/src/components/ErrorBox/index.js +1 -1
  1083. package/src/components/ExpressionEditor/BaseEditorInput.d.ts +2 -1
  1084. package/src/components/ExpressionEditor/BaseEditorInput.js +12 -6
  1085. package/src/components/ExpressionEditor/DataTableEditor.d.ts +2 -2
  1086. package/src/components/ExpressionEditor/DataTableEditor.js +6 -9
  1087. package/src/components/ExpressionEditor/EditorButton.d.ts +2 -2
  1088. package/src/components/ExpressionEditor/EditorButton.js +6 -9
  1089. package/src/components/ExpressionEditor/EditorInput.d.ts +2 -2
  1090. package/src/components/ExpressionEditor/EditorInput.js +4 -1
  1091. package/src/components/ExpressionEditor/EditorInputWithWhereClause.d.ts +2 -2
  1092. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +4 -1
  1093. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.d.ts +2 -2
  1094. package/src/components/ExpressionEditor/ExpressionPreview.js +1 -2
  1095. package/src/components/ExpressionEditor/NamedQueryEditor.d.ts +2 -2
  1096. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +8 -6
  1097. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +6 -6
  1098. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +14 -18
  1099. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +58 -32
  1100. package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +1 -2
  1101. package/src/components/ExpressionEditor/QueryBuilder/utils.js +9 -25
  1102. package/src/components/ExpressionEditor/index.d.ts +1 -1
  1103. package/src/components/ExpressionEditor/index.js +20 -24
  1104. package/src/components/FieldWrap/index.d.ts +2 -2
  1105. package/src/components/FieldWrap/index.js +2 -2
  1106. package/src/components/FileDroppable/index.d.ts +1 -1
  1107. package/src/components/FileDroppable/index.js +4 -6
  1108. package/src/components/FileDroppable/reducer.js +17 -4
  1109. package/src/components/Flex.d.ts +1 -0
  1110. package/src/components/Flex.js +1 -0
  1111. package/src/components/FlexWithFooter.d.ts +1 -1
  1112. package/src/components/FlexWithFooter.js +3 -4
  1113. package/src/components/FormLayout/index.d.ts +4 -5
  1114. package/src/components/FormLayout/index.js +7 -4
  1115. package/src/components/HelpBlock/index.d.ts +2 -2
  1116. package/src/components/HelpBlock/index.js +1 -1
  1117. package/src/components/Icon/index.d.ts +2 -2
  1118. package/src/components/Icon/index.js +9 -10
  1119. package/src/components/IconSelector/IconSelector.js +4 -5
  1120. package/src/components/InfiniteTable/index.d.ts +3 -1
  1121. package/src/components/InfiniteTable/index.js +6 -7
  1122. package/src/components/Input/NumberInput.d.ts +1 -1
  1123. package/src/components/Input/NumberInput.js +4 -7
  1124. package/src/components/Input/index.d.ts +1 -1
  1125. package/src/components/Input/index.js +2 -3
  1126. package/src/components/InputGroup/InputGroup.d.ts +1 -1
  1127. package/src/components/InputGroup/InputGroup.js +2 -5
  1128. package/src/components/List/GridList/index.d.ts +2 -1
  1129. package/src/components/List/GridList/index.js +4 -5
  1130. package/src/components/List/ListGroup/index.d.ts +2 -2
  1131. package/src/components/List/ListGroup/index.js +2 -3
  1132. package/src/components/List/ListGroupItem/index.d.ts +2 -3
  1133. package/src/components/List/ListGroupItem/index.js +3 -4
  1134. package/src/components/Logo/index.js +1 -1
  1135. package/src/components/Modal/Backdrop.d.ts +2 -2
  1136. package/src/components/Modal/Backdrop.js +4 -1
  1137. package/src/components/Modal/index.d.ts +1 -0
  1138. package/src/components/Modal/index.js +14 -3
  1139. package/src/components/NotifyResize/index.d.ts +2 -2
  1140. package/src/components/OverlayTrigger/Overlay.js +3 -5
  1141. package/src/components/OverlayTrigger/index.d.ts +1 -0
  1142. package/src/components/OverlayTrigger/index.js +12 -11
  1143. package/src/components/Panel/index.d.ts +3 -1
  1144. package/src/components/Panel/index.js +16 -13
  1145. package/src/components/PopupWithFooter.js +2 -3
  1146. package/src/components/ProgressIndicator/ProgressIndicator.js +2 -1
  1147. package/src/components/Radio/index.d.ts +4 -3
  1148. package/src/components/Radio/index.js +13 -7
  1149. package/src/components/ResizeObserver/index.d.ts +1 -1
  1150. package/src/components/ResizeObserver/index.js +2 -5
  1151. package/src/components/Select/Select.d.ts +17 -1
  1152. package/src/components/Select/Select.js +279 -51
  1153. package/src/components/SelectableList/index.d.ts +2 -1
  1154. package/src/components/SelectableList/index.js +2 -2
  1155. package/src/components/SimpleButton/index.d.ts +1 -1
  1156. package/src/components/SimpleButton/index.js +8 -9
  1157. package/src/components/SizedContainer/index.d.ts +2 -1
  1158. package/src/components/SizedContainer/index.js +3 -4
  1159. package/src/components/StylePreview.js +1 -4
  1160. package/src/components/Table/index.d.ts +2 -1
  1161. package/src/components/Table/index.js +1 -1
  1162. package/src/components/Tabs/index.d.ts +6 -5
  1163. package/src/components/Tabs/index.js +11 -14
  1164. package/src/components/Tag/Tag.js +1 -4
  1165. package/src/components/Textarea/index.d.ts +1 -1
  1166. package/src/components/Textarea/index.js +5 -8
  1167. package/src/components/Toggle/Toggle.js +2 -4
  1168. package/src/components/Tooltip/index.d.ts +1 -1
  1169. package/src/components/WarningBox/index.d.ts +2 -2
  1170. package/src/components/WarningBox/index.js +1 -1
  1171. package/src/components/WindowModal/WindowModal.js +4 -4
  1172. package/src/components/WindowModal/useStacking.js +1 -2
  1173. package/src/components/WizardPanel/index.d.ts +2 -2
  1174. package/src/components/WizardPanel/index.js +1 -1
  1175. package/src/components/dnd/index.d.ts +13 -0
  1176. package/src/components/dnd/index.js +55 -0
  1177. package/src/components/icons/DefaultIcon.d.ts +2 -2
  1178. package/src/components/icons/DefaultIcon.js +6 -5
  1179. package/src/components/icons/add-row.d.ts +2 -2
  1180. package/src/components/icons/add-row.js +1 -1
  1181. package/src/components/icons/alert.d.ts +2 -2
  1182. package/src/components/icons/alert.js +1 -1
  1183. package/src/components/icons/align-center.d.ts +2 -2
  1184. package/src/components/icons/align-center.js +1 -1
  1185. package/src/components/icons/align-justify.d.ts +2 -2
  1186. package/src/components/icons/align-justify.js +1 -1
  1187. package/src/components/icons/align-left.d.ts +2 -2
  1188. package/src/components/icons/align-left.js +1 -1
  1189. package/src/components/icons/align-right.d.ts +2 -2
  1190. package/src/components/icons/align-right.js +1 -1
  1191. package/src/components/icons/analysis.d.ts +2 -2
  1192. package/src/components/icons/analysis.js +1 -1
  1193. package/src/components/icons/application.d.ts +2 -2
  1194. package/src/components/icons/application.js +1 -1
  1195. package/src/components/icons/arrow-down-long.d.ts +2 -2
  1196. package/src/components/icons/arrow-down-long.js +1 -1
  1197. package/src/components/icons/arrow-down.d.ts +2 -2
  1198. package/src/components/icons/arrow-down.js +1 -1
  1199. package/src/components/icons/arrow-expand.d.ts +2 -2
  1200. package/src/components/icons/arrow-expand.js +1 -1
  1201. package/src/components/icons/arrow-left.d.ts +2 -2
  1202. package/src/components/icons/arrow-left.js +1 -1
  1203. package/src/components/icons/arrow-right.d.ts +2 -2
  1204. package/src/components/icons/arrow-right.js +1 -1
  1205. package/src/components/icons/arrow-up-long.d.ts +2 -2
  1206. package/src/components/icons/arrow-up-long.js +1 -1
  1207. package/src/components/icons/arrow-up.d.ts +2 -2
  1208. package/src/components/icons/arrow-up.js +1 -1
  1209. package/src/components/icons/attach-file.d.ts +2 -2
  1210. package/src/components/icons/attach-file.js +1 -1
  1211. package/src/components/icons/badge.d.ts +2 -2
  1212. package/src/components/icons/badge.js +1 -1
  1213. package/src/components/icons/blanks.d.ts +2 -2
  1214. package/src/components/icons/blanks.js +1 -1
  1215. package/src/components/icons/bold.d.ts +2 -2
  1216. package/src/components/icons/bold.js +1 -1
  1217. package/src/components/icons/boolean-list.d.ts +2 -2
  1218. package/src/components/icons/boolean-list.js +1 -1
  1219. package/src/components/icons/brush.d.ts +2 -2
  1220. package/src/components/icons/brush.js +1 -1
  1221. package/src/components/icons/build.d.ts +2 -2
  1222. package/src/components/icons/build.js +1 -1
  1223. package/src/components/icons/bulk-update.d.ts +2 -2
  1224. package/src/components/icons/bulk-update.js +2 -6
  1225. package/src/components/icons/calculated-column.d.ts +2 -2
  1226. package/src/components/icons/calculated-column.js +1 -1
  1227. package/src/components/icons/calendar.d.ts +2 -2
  1228. package/src/components/icons/calendar.js +1 -1
  1229. package/src/components/icons/call.d.ts +2 -2
  1230. package/src/components/icons/call.js +1 -1
  1231. package/src/components/icons/campaign.d.ts +2 -2
  1232. package/src/components/icons/campaign.js +1 -1
  1233. package/src/components/icons/case-lower.d.ts +2 -2
  1234. package/src/components/icons/case-lower.js +1 -1
  1235. package/src/components/icons/case-sentence.d.ts +2 -2
  1236. package/src/components/icons/case-sentence.js +1 -1
  1237. package/src/components/icons/case-upper.d.ts +2 -2
  1238. package/src/components/icons/case-upper.js +1 -1
  1239. package/src/components/icons/cell-summary.d.ts +2 -2
  1240. package/src/components/icons/cell-summary.js +1 -1
  1241. package/src/components/icons/cell-validation.d.ts +2 -2
  1242. package/src/components/icons/cell-validation.js +1 -1
  1243. package/src/components/icons/chart.d.ts +2 -2
  1244. package/src/components/icons/chart.js +1 -1
  1245. package/src/components/icons/chat.d.ts +2 -2
  1246. package/src/components/icons/chat.js +1 -1
  1247. package/src/components/icons/check-box-outline.d.ts +2 -2
  1248. package/src/components/icons/check-box-outline.js +1 -1
  1249. package/src/components/icons/check-box.d.ts +2 -2
  1250. package/src/components/icons/check-box.js +1 -1
  1251. package/src/components/icons/check-circle.d.ts +2 -2
  1252. package/src/components/icons/check-circle.js +1 -1
  1253. package/src/components/icons/check.d.ts +2 -2
  1254. package/src/components/icons/check.js +1 -1
  1255. package/src/components/icons/clone.d.ts +2 -2
  1256. package/src/components/icons/clone.js +1 -1
  1257. package/src/components/icons/close.d.ts +2 -2
  1258. package/src/components/icons/close.js +1 -1
  1259. package/src/components/icons/cloud-upload.d.ts +2 -2
  1260. package/src/components/icons/cloud-upload.js +1 -1
  1261. package/src/components/icons/collapse-all.d.ts +2 -2
  1262. package/src/components/icons/collapse-all.js +1 -1
  1263. package/src/components/icons/collapse.d.ts +2 -2
  1264. package/src/components/icons/collapse.js +1 -1
  1265. package/src/components/icons/column-add.d.ts +2 -2
  1266. package/src/components/icons/column-add.js +1 -1
  1267. package/src/components/icons/column-chooser.d.ts +2 -2
  1268. package/src/components/icons/column-chooser.js +1 -1
  1269. package/src/components/icons/column-filter.d.ts +2 -2
  1270. package/src/components/icons/column-filter.js +1 -1
  1271. package/src/components/icons/column-info.d.ts +2 -2
  1272. package/src/components/icons/column-info.js +1 -1
  1273. package/src/components/icons/column-outline.d.ts +2 -2
  1274. package/src/components/icons/column-outline.js +1 -1
  1275. package/src/components/icons/comment.d.ts +2 -2
  1276. package/src/components/icons/comment.js +1 -1
  1277. package/src/components/icons/comments.d.ts +2 -2
  1278. package/src/components/icons/comments.js +1 -1
  1279. package/src/components/icons/contact.d.ts +2 -2
  1280. package/src/components/icons/contact.js +1 -1
  1281. package/src/components/icons/contains.d.ts +2 -2
  1282. package/src/components/icons/contains.js +2 -2
  1283. package/src/components/icons/copy.d.ts +2 -2
  1284. package/src/components/icons/copy.js +1 -1
  1285. package/src/components/icons/csv.d.ts +2 -2
  1286. package/src/components/icons/csv.js +1 -1
  1287. package/src/components/icons/custom-sort.d.ts +2 -2
  1288. package/src/components/icons/custom-sort.js +1 -1
  1289. package/src/components/icons/dashboard.d.ts +2 -2
  1290. package/src/components/icons/dashboard.js +1 -1
  1291. package/src/components/icons/data-object.d.ts +2 -2
  1292. package/src/components/icons/data-object.js +1 -1
  1293. package/src/components/icons/data-set.d.ts +2 -2
  1294. package/src/components/icons/data-set.js +1 -1
  1295. package/src/components/icons/date-range.d.ts +2 -2
  1296. package/src/components/icons/date-range.js +1 -1
  1297. package/src/components/icons/delete.d.ts +2 -2
  1298. package/src/components/icons/delete.js +1 -1
  1299. package/src/components/icons/division.d.ts +2 -2
  1300. package/src/components/icons/division.js +1 -1
  1301. package/src/components/icons/dock.d.ts +2 -2
  1302. package/src/components/icons/dock.js +1 -1
  1303. package/src/components/icons/dollar.d.ts +2 -2
  1304. package/src/components/icons/dollar.js +1 -1
  1305. package/src/components/icons/drag.d.ts +2 -2
  1306. package/src/components/icons/drag.js +1 -1
  1307. package/src/components/icons/edit.d.ts +2 -2
  1308. package/src/components/icons/edit.js +1 -1
  1309. package/src/components/icons/ends-with.d.ts +2 -2
  1310. package/src/components/icons/ends-with.js +1 -1
  1311. package/src/components/icons/equal.d.ts +2 -2
  1312. package/src/components/icons/equal.js +1 -1
  1313. package/src/components/icons/equation.d.ts +2 -2
  1314. package/src/components/icons/equation.js +1 -1
  1315. package/src/components/icons/error.d.ts +2 -2
  1316. package/src/components/icons/error.js +1 -1
  1317. package/src/components/icons/excel.d.ts +2 -2
  1318. package/src/components/icons/excel.js +1 -1
  1319. package/src/components/icons/expand-all.d.ts +2 -2
  1320. package/src/components/icons/expand-all.js +1 -1
  1321. package/src/components/icons/expand.d.ts +2 -2
  1322. package/src/components/icons/expand.js +1 -1
  1323. package/src/components/icons/exponent.d.ts +2 -2
  1324. package/src/components/icons/exponent.js +1 -1
  1325. package/src/components/icons/export.d.ts +2 -2
  1326. package/src/components/icons/export.js +1 -1
  1327. package/src/components/icons/fast-backward.d.ts +2 -2
  1328. package/src/components/icons/fast-backward.js +1 -1
  1329. package/src/components/icons/fast-forward.d.ts +2 -2
  1330. package/src/components/icons/fast-forward.js +1 -1
  1331. package/src/components/icons/fdc3.d.ts +2 -2
  1332. package/src/components/icons/fdc3.js +1 -1
  1333. package/src/components/icons/filter-off.d.ts +2 -2
  1334. package/src/components/icons/filter-off.js +1 -1
  1335. package/src/components/icons/filter.d.ts +2 -2
  1336. package/src/components/icons/filter.js +1 -1
  1337. package/src/components/icons/flashing-cell.d.ts +2 -2
  1338. package/src/components/icons/flashing-cell.js +1 -1
  1339. package/src/components/icons/folder-open.d.ts +2 -2
  1340. package/src/components/icons/folder-open.js +1 -1
  1341. package/src/components/icons/folder-shared.d.ts +2 -2
  1342. package/src/components/icons/folder-shared.js +1 -1
  1343. package/src/components/icons/folder.d.ts +2 -2
  1344. package/src/components/icons/folder.js +1 -1
  1345. package/src/components/icons/format-column.d.ts +2 -2
  1346. package/src/components/icons/format-column.js +1 -1
  1347. package/src/components/icons/freetext-column.d.ts +2 -2
  1348. package/src/components/icons/freetext-column.js +1 -1
  1349. package/src/components/icons/function.d.ts +2 -2
  1350. package/src/components/icons/function.js +1 -1
  1351. package/src/components/icons/gradient-column.d.ts +2 -2
  1352. package/src/components/icons/gradient-column.js +1 -1
  1353. package/src/components/icons/gradient.d.ts +2 -2
  1354. package/src/components/icons/gradient.js +1 -1
  1355. package/src/components/icons/greater-than-or-equal.d.ts +2 -2
  1356. package/src/components/icons/greater-than-or-equal.js +1 -1
  1357. package/src/components/icons/greater-than.d.ts +2 -2
  1358. package/src/components/icons/greater-than.js +1 -1
  1359. package/src/components/icons/grid-filter.d.ts +2 -2
  1360. package/src/components/icons/grid-filter.js +1 -1
  1361. package/src/components/icons/grid-info.d.ts +2 -2
  1362. package/src/components/icons/grid-info.js +1 -1
  1363. package/src/components/icons/hide-column.d.ts +2 -2
  1364. package/src/components/icons/hide-column.js +1 -1
  1365. package/src/components/icons/history.d.ts +2 -2
  1366. package/src/components/icons/history.js +1 -1
  1367. package/src/components/icons/home.d.ts +2 -2
  1368. package/src/components/icons/home.js +1 -1
  1369. package/src/components/icons/import-export.d.ts +2 -2
  1370. package/src/components/icons/import-export.js +1 -1
  1371. package/src/components/icons/import.d.ts +2 -2
  1372. package/src/components/icons/import.js +1 -1
  1373. package/src/components/icons/index.d.ts +7 -4
  1374. package/src/components/icons/index.js +35 -32
  1375. package/src/components/icons/info.d.ts +2 -2
  1376. package/src/components/icons/info.js +1 -1
  1377. package/src/components/icons/instrument.d.ts +2 -2
  1378. package/src/components/icons/instrument.js +1 -1
  1379. package/src/components/icons/interactions.d.ts +2 -2
  1380. package/src/components/icons/interactions.js +1 -1
  1381. package/src/components/icons/invalid.d.ts +2 -2
  1382. package/src/components/icons/invalid.js +1 -1
  1383. package/src/components/icons/ipushpull.d.ts +2 -2
  1384. package/src/components/icons/ipushpull.js +1 -1
  1385. package/src/components/icons/italic.d.ts +2 -2
  1386. package/src/components/icons/italic.js +1 -1
  1387. package/src/components/icons/justify.d.ts +2 -2
  1388. package/src/components/icons/justify.js +1 -1
  1389. package/src/components/icons/layout.d.ts +2 -2
  1390. package/src/components/icons/layout.js +1 -1
  1391. package/src/components/icons/less-than-or-equal.d.ts +2 -2
  1392. package/src/components/icons/less-than-or-equal.js +1 -1
  1393. package/src/components/icons/less-than.d.ts +2 -2
  1394. package/src/components/icons/less-than.js +1 -1
  1395. package/src/components/icons/list.d.ts +2 -2
  1396. package/src/components/icons/list.js +1 -1
  1397. package/src/components/icons/login.d.ts +2 -2
  1398. package/src/components/icons/login.js +1 -1
  1399. package/src/components/icons/logout copy.d.ts +2 -2
  1400. package/src/components/icons/logout copy.js +1 -1
  1401. package/src/components/icons/logout.d.ts +2 -2
  1402. package/src/components/icons/logout.js +1 -1
  1403. package/src/components/icons/mail.d.ts +2 -2
  1404. package/src/components/icons/mail.js +1 -1
  1405. package/src/components/icons/menu.d.ts +2 -2
  1406. package/src/components/icons/menu.js +1 -1
  1407. package/src/components/icons/minus.d.ts +2 -2
  1408. package/src/components/icons/minus.js +1 -1
  1409. package/src/components/icons/money.d.ts +2 -2
  1410. package/src/components/icons/money.js +1 -1
  1411. package/src/components/icons/multiplication.d.ts +2 -2
  1412. package/src/components/icons/multiplication.js +1 -1
  1413. package/src/components/icons/newpage.d.ts +2 -2
  1414. package/src/components/icons/newpage.js +1 -1
  1415. package/src/components/icons/news.d.ts +2 -2
  1416. package/src/components/icons/news.js +1 -1
  1417. package/src/components/icons/non-blanks.d.ts +2 -2
  1418. package/src/components/icons/non-blanks.js +1 -1
  1419. package/src/components/icons/not-contains.d.ts +2 -2
  1420. package/src/components/icons/not-contains.js +2 -2
  1421. package/src/components/icons/not-equal.d.ts +2 -2
  1422. package/src/components/icons/not-equal.js +1 -1
  1423. package/src/components/icons/note.d.ts +2 -2
  1424. package/src/components/icons/note.js +1 -1
  1425. package/src/components/icons/open-in-new.d.ts +2 -2
  1426. package/src/components/icons/open-in-new.js +1 -1
  1427. package/src/components/icons/order.d.ts +2 -2
  1428. package/src/components/icons/order.js +1 -1
  1429. package/src/components/icons/organisation.d.ts +2 -2
  1430. package/src/components/icons/organisation.js +1 -1
  1431. package/src/components/icons/overline.d.ts +2 -2
  1432. package/src/components/icons/overline.js +1 -1
  1433. package/src/components/icons/pause.d.ts +2 -2
  1434. package/src/components/icons/pause.js +1 -1
  1435. package/src/components/icons/percent-bar.d.ts +2 -2
  1436. package/src/components/icons/percent-bar.js +1 -1
  1437. package/src/components/icons/percent.d.ts +2 -2
  1438. package/src/components/icons/percent.js +1 -1
  1439. package/src/components/icons/person.d.ts +2 -2
  1440. package/src/components/icons/person.js +1 -1
  1441. package/src/components/icons/pie-chart.d.ts +2 -2
  1442. package/src/components/icons/pie-chart.js +1 -1
  1443. package/src/components/icons/play.d.ts +2 -2
  1444. package/src/components/icons/play.js +1 -1
  1445. package/src/components/icons/plus-minus.d.ts +2 -2
  1446. package/src/components/icons/plus-minus.js +1 -1
  1447. package/src/components/icons/plus.d.ts +2 -2
  1448. package/src/components/icons/plus.js +1 -1
  1449. package/src/components/icons/query.d.ts +2 -2
  1450. package/src/components/icons/query.js +1 -1
  1451. package/src/components/icons/quick-search.d.ts +2 -2
  1452. package/src/components/icons/quick-search.js +1 -1
  1453. package/src/components/icons/quote.d.ts +2 -2
  1454. package/src/components/icons/quote.js +1 -1
  1455. package/src/components/icons/refresh.d.ts +2 -2
  1456. package/src/components/icons/refresh.js +1 -1
  1457. package/src/components/icons/regex.d.ts +2 -2
  1458. package/src/components/icons/regex.js +1 -1
  1459. package/src/components/icons/reminder.d.ts +2 -2
  1460. package/src/components/icons/reminder.js +1 -1
  1461. package/src/components/icons/resume.d.ts +2 -2
  1462. package/src/components/icons/resume.js +1 -1
  1463. package/src/components/icons/rows.d.ts +2 -2
  1464. package/src/components/icons/rows.js +1 -1
  1465. package/src/components/icons/save.d.ts +2 -2
  1466. package/src/components/icons/save.js +1 -1
  1467. package/src/components/icons/schedule.d.ts +2 -2
  1468. package/src/components/icons/schedule.js +1 -1
  1469. package/src/components/icons/science.d.ts +2 -2
  1470. package/src/components/icons/science.js +1 -1
  1471. package/src/components/icons/select-all.d.ts +2 -2
  1472. package/src/components/icons/select-all.js +1 -1
  1473. package/src/components/icons/select-fwd.d.ts +2 -2
  1474. package/src/components/icons/select-fwd.js +1 -1
  1475. package/src/components/icons/select-off.d.ts +2 -2
  1476. package/src/components/icons/select-off.js +1 -1
  1477. package/src/components/icons/settings.d.ts +2 -2
  1478. package/src/components/icons/settings.js +1 -1
  1479. package/src/components/icons/shortcut.d.ts +2 -2
  1480. package/src/components/icons/shortcut.js +1 -1
  1481. package/src/components/icons/show-column.d.ts +2 -2
  1482. package/src/components/icons/show-column.js +1 -1
  1483. package/src/components/icons/smart-edit.d.ts +2 -2
  1484. package/src/components/icons/smart-edit.js +1 -1
  1485. package/src/components/icons/sort-asc.d.ts +2 -2
  1486. package/src/components/icons/sort-asc.js +1 -1
  1487. package/src/components/icons/sort-desc.d.ts +2 -2
  1488. package/src/components/icons/sort-desc.js +1 -1
  1489. package/src/components/icons/spark-line.d.ts +2 -2
  1490. package/src/components/icons/spark-line.js +1 -1
  1491. package/src/components/icons/starts-with.d.ts +2 -2
  1492. package/src/components/icons/starts-with.js +1 -1
  1493. package/src/components/icons/state-management.d.ts +2 -2
  1494. package/src/components/icons/state-management.js +1 -1
  1495. package/src/components/icons/statusbar.d.ts +2 -2
  1496. package/src/components/icons/statusbar.js +1 -1
  1497. package/src/components/icons/stop.d.ts +2 -2
  1498. package/src/components/icons/stop.js +1 -1
  1499. package/src/components/icons/strikethrough.d.ts +2 -2
  1500. package/src/components/icons/strikethrough.js +1 -1
  1501. package/src/components/icons/styled-grid.d.ts +3 -0
  1502. package/src/components/icons/styled-grid.js +5 -0
  1503. package/src/components/icons/sync.d.ts +2 -2
  1504. package/src/components/icons/sync.js +1 -1
  1505. package/src/components/icons/system-status.d.ts +2 -2
  1506. package/src/components/icons/system-status.js +1 -1
  1507. package/src/components/icons/tab-unselected.d.ts +2 -2
  1508. package/src/components/icons/tab-unselected.js +1 -1
  1509. package/src/components/icons/table-arrow-right.d.ts +2 -2
  1510. package/src/components/icons/table-arrow-right.js +1 -1
  1511. package/src/components/icons/team-share.d.ts +2 -2
  1512. package/src/components/icons/team-share.js +1 -1
  1513. package/src/components/icons/theme.d.ts +2 -2
  1514. package/src/components/icons/theme.js +1 -1
  1515. package/src/components/icons/tool-panel.d.ts +2 -2
  1516. package/src/components/icons/tool-panel.js +1 -1
  1517. package/src/components/icons/track-changes.d.ts +2 -2
  1518. package/src/components/icons/track-changes.js +1 -1
  1519. package/src/components/icons/triangle-down.d.ts +2 -2
  1520. package/src/components/icons/triangle-down.js +1 -1
  1521. package/src/components/icons/triangle-up.d.ts +2 -2
  1522. package/src/components/icons/triangle-up.js +1 -1
  1523. package/src/components/icons/unchecked.d.ts +2 -2
  1524. package/src/components/icons/unchecked.js +1 -1
  1525. package/src/components/icons/underline.d.ts +2 -2
  1526. package/src/components/icons/underline.js +1 -1
  1527. package/src/components/icons/undo.d.ts +2 -2
  1528. package/src/components/icons/undo.js +1 -1
  1529. package/src/components/icons/updated-row.d.ts +2 -2
  1530. package/src/components/icons/updated-row.js +1 -1
  1531. package/src/components/icons/upload.d.ts +2 -2
  1532. package/src/components/icons/upload.js +1 -1
  1533. package/src/components/icons/user-filter.d.ts +2 -2
  1534. package/src/components/icons/user-filter.js +1 -1
  1535. package/src/components/icons/visibility-off.d.ts +2 -2
  1536. package/src/components/icons/visibility-off.js +1 -1
  1537. package/src/components/icons/visibility.d.ts +2 -2
  1538. package/src/components/icons/visibility.js +1 -1
  1539. package/src/components/icons/warning.d.ts +2 -2
  1540. package/src/components/icons/warning.js +1 -1
  1541. package/src/components/utils/useContainerScrollObserver/index.js +1 -2
  1542. package/src/components/utils/useDraggable.d.ts +1 -1
  1543. package/src/components/utils/useDraggable.js +2 -3
  1544. package/src/components/utils/useLatest.d.ts +1 -1
  1545. package/src/components/utils/useProperty.d.ts +1 -1
  1546. package/src/components/utils/useSelectionRange.js +1 -1
  1547. package/src/env.d.ts +1 -1
  1548. package/src/env.js +3 -3
  1549. package/src/layout-manager/src/LMEmitter.d.ts +25 -0
  1550. package/src/layout-manager/src/LMEmitter.js +55 -0
  1551. package/src/layout-manager/src/LMLogger.d.ts +20 -0
  1552. package/src/layout-manager/src/LMLogger.js +62 -0
  1553. package/src/layout-manager/src/LayoutManagerModel.d.ts +111 -0
  1554. package/src/layout-manager/src/index.d.ts +75 -0
  1555. package/src/layout-manager/src/index.js +1042 -0
  1556. package/src/layout-manager/src/isLayoutEqual.d.ts +4 -0
  1557. package/src/layout-manager/src/isLayoutEqual.js +25 -0
  1558. package/src/layout-manager/src/isPivotLayoutModel.d.ts +2 -0
  1559. package/src/layout-manager/src/isPivotLayoutModel.js +3 -0
  1560. package/src/layout-manager/src/normalizeLayoutModel.d.ts +12 -0
  1561. package/src/layout-manager/src/normalizeLayoutModel.js +151 -0
  1562. package/src/layout-manager/src/simplifyLayoutModel.d.ts +4 -0
  1563. package/src/layout-manager/src/simplifyLayoutModel.js +82 -0
  1564. package/src/layout-manager/src/sortColumnIdsByOrder.d.ts +7 -0
  1565. package/src/layout-manager/src/sortColumnIdsByOrder.js +84 -0
  1566. package/src/metamodel/adaptable.metamodel.d.ts +428 -574
  1567. package/src/metamodel/adaptable.metamodel.js +1 -1
  1568. package/src/migration/AdaptableUpgradeHelper.js +5 -4
  1569. package/src/migration/VersionUpgrade17.js +56 -50
  1570. package/src/migration/VersionUpgrade20.d.ts +7 -0
  1571. package/src/migration/VersionUpgrade20.js +130 -0
  1572. package/src/parser/src/predicate/mapExpressionToQlPredicate.js +1 -1
  1573. package/src/parser/src/predicate/mapQlPredicateToExpression.d.ts +1 -1
  1574. package/src/parser/src/predicate/mapQlPredicateToExpression.js +2 -2
  1575. package/src/parser/src/predicate/types.d.ts +11 -1
  1576. package/src/parser/src/types.d.ts +6 -2
  1577. package/src/parser/src/types.js +1 -1
  1578. package/src/renderReactRoot.d.ts +3 -3
  1579. package/src/types.d.ts +32 -31
  1580. package/tsconfig.esm.tsbuildinfo +1 -1
  1581. package/src/AdaptableOptions/ActionRowOptions.d.ts +0 -175
  1582. package/src/AdaptableOptions/ColumnFilterOptions.d.ts +0 -311
  1583. package/src/AdaptableOptions/GridFilterOptions.d.ts +0 -26
  1584. package/src/AdaptableOptions/GroupingOptions.d.ts +0 -19
  1585. package/src/Api/ActionRowApi.d.ts +0 -24
  1586. package/src/Api/Events/ActionRowSubmitted.d.ts +0 -54
  1587. package/src/Api/Events/AdaptableSearchState.d.ts +0 -22
  1588. package/src/Api/Events/BaseEventInfo.d.ts +0 -18
  1589. package/src/Api/Events/GridDataChanged.d.ts +0 -26
  1590. package/src/Api/Implementation/ActionRowApiImpl.d.ts +0 -12
  1591. package/src/Api/Internal/ActionRowInternalApi.d.ts +0 -29
  1592. package/src/Api/Internal/ActionRowInternalApi.js +0 -280
  1593. package/src/PredefinedConfig/GridState.d.ts +0 -23
  1594. package/src/PredefinedConfig/SystemState.d.ts +0 -110
  1595. package/src/Redux/ActionsReducers/GridRedux.d.ts +0 -224
  1596. package/src/Redux/ActionsReducers/GridRedux.js +0 -398
  1597. package/src/Redux/ActionsReducers/SystemRedux.d.ts +0 -330
  1598. package/src/Redux/ActionsReducers/SystemRedux.js +0 -716
  1599. package/src/Redux/DeadRedux.d.ts +0 -27
  1600. package/src/Redux/DeadRedux.js +0 -72
  1601. package/src/Strategy/Interface/IExportModule.d.ts +0 -6
  1602. package/src/Strategy/Interface/IShortcutModule.js +0 -1
  1603. package/src/Strategy/Utilities/getExpressionViewItems.d.ts +0 -4
  1604. package/src/Strategy/Utilities/getObjectTagsViewItems.d.ts +0 -4
  1605. package/src/Strategy/Utilities/getRuleViewItems.js +0 -11
  1606. package/src/Strategy/Utilities/getScopeViewItems.d.ts +0 -3
  1607. package/src/Utilities/Constants/ConfigConstants.d.ts +0 -10
  1608. package/src/Utilities/Constants/ConfigConstants.js +0 -11
  1609. package/src/Utilities/Constants/FilterConstants.d.ts +0 -10
  1610. package/src/Utilities/Constants/FilterConstants.js +0 -8
  1611. package/src/Utilities/Services/RowEditService.js +0 -35
  1612. package/src/Utilities/divideBy100.d.ts +0 -1
  1613. package/src/Utilities/divideBy100.js +0 -30
  1614. package/src/Utilities/times100.d.ts +0 -1
  1615. package/src/Utilities/times100.js +0 -23
  1616. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.d.ts +0 -6
  1617. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +0 -30
  1618. package/src/View/Components/FilterForm/FilterForm.d.ts +0 -18
  1619. package/src/View/Components/FilterForm/FilterForm.js +0 -293
  1620. package/src/View/Components/FilterForm/QuickFilterForm.d.ts +0 -7
  1621. package/src/View/Components/FilterForm/QuickFilterForm.js +0 -250
  1622. package/src/View/Components/FilterForm/QuickFilterValues.d.ts +0 -19
  1623. package/src/View/Components/FilterForm/QuickFilterValues.js +0 -196
  1624. package/src/View/Components/Panels/FilterFormPanel.d.ts +0 -22
  1625. package/src/View/Components/Panels/FilterFormPanel.js +0 -36
  1626. package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.d.ts +0 -8
  1627. package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +0 -22
  1628. package/src/View/Components/PermittedValuesSelector/index.d.ts +0 -1
  1629. package/src/View/Components/PermittedValuesSelector/index.js +0 -1
  1630. package/src/View/Export/ExportSelector.d.ts +0 -4
  1631. package/src/View/Export/ExportSelector.js +0 -70
  1632. package/src/View/Export/ExportTablePopup.d.ts +0 -3
  1633. package/src/View/Export/ExportTablePopup.js +0 -56
  1634. package/src/View/Export/ReportExportDropdown.js +0 -34
  1635. package/src/View/Export/constants.d.ts +0 -2
  1636. package/src/View/Export/constants.js +0 -2
  1637. package/src/View/Layout/SaveLayoutButton.d.ts +0 -2
  1638. package/src/View/Layout/SaveLayoutButton.js +0 -24
  1639. package/src/agGrid/BadgeRenderer.d.ts +0 -4
  1640. package/src/agGrid/ColumnSetupInfo.d.ts +0 -8
  1641. package/src/agGrid/PercentBarRenderer.d.ts +0 -4
  1642. package/src/agGrid/attachAddaptableColumnTypes.d.ts +0 -16
  1643. package/src/agGrid/attachAddaptableColumnTypes.js +0 -19
  1644. package/src/components/Datepicker/Caption.d.ts +0 -7
  1645. package/src/components/Datepicker/Caption.js +0 -42
  1646. package/src/components/Datepicker/CaptionLabel.d.ts +0 -8
  1647. package/src/components/Datepicker/CaptionLabel.js +0 -20
  1648. /package/src/AdaptableOptions/{ActionRowOptions.js → FilterOptions.js} +0 -0
  1649. /package/src/AdaptableOptions/{AdaptableFrameworkComponent.js → RowFormOptions.js} +0 -0
  1650. /package/src/{AdaptableOptions/ColumnFilterOptions.js → Api/Events/RowChanged.js} +0 -0
  1651. /package/src/{AdaptableOptions/GridFilterOptions.js → Api/Events/RowFormSubmitted.js} +0 -0
  1652. /package/src/{AdaptableOptions/GroupingOptions.js → Api/FilterApi.js} +0 -0
  1653. /package/src/Api/{ActionRowApi.js → RowFormApi.js} +0 -0
  1654. /package/src/{Api/Events/ActionRowSubmitted.js → PredefinedConfig/Common/AdaptableColumnContext.js} +0 -0
  1655. /package/src/{Api/Events/AdaptableSearchState.js → PredefinedConfig/Common/AdaptableSortState.js} +0 -0
  1656. /package/src/{agGrid → PredefinedConfig/Common}/ColumnSetupInfo.js +0 -0
  1657. /package/src/{Api/Events/BaseEventInfo.js → PredefinedConfig/Common/RowDataChangedInfo.js} +0 -0
  1658. /package/src/{Api/Events/GridDataChanged.js → Strategy/Interface/ICellDataChangeListenerModule.js} +0 -0
  1659. /package/src/{PredefinedConfig/GridState.js → Strategy/Interface/IKeyDownListenerModule.js} +0 -0
  1660. /package/src/{Strategy/Utilities → Utilities}/getScopeViewItems.js +0 -0
  1661. /package/src/{agGrid → Utilities}/sortColumnStateForVisibleColumns.d.ts +0 -0
  1662. /package/src/{agGrid → Utilities}/sortColumnStateForVisibleColumns.js +0 -0
  1663. /package/src/{Strategy/Utilities → Utilities}/updateSingleToMultiplePredicates.d.ts +0 -0
  1664. /package/src/{PredefinedConfig/SystemState.js → agGrid/AdaptableFrameworkComponent.js} +0 -0
  1665. /package/src/{Strategy/Interface/IExportModule.js → layout-manager/src/LayoutManagerModel.js} +0 -0
@@ -1,13 +1,11 @@
1
1
  import * as Redux from 'redux';
2
- import { ExportDestination } from '../../PredefinedConfig/Common/Enums';
3
2
  import * as PluginsRedux from '../ActionsReducers/PluginsRedux';
4
3
  import * as PopupRedux from '../ActionsReducers/PopupRedux';
5
- import { PopupShowForm } from '../ActionsReducers/PopupRedux';
4
+ import { PROGRESS_INDICATOR_HIDE, PROGRESS_INDICATOR_SHOW, } from '../ActionsReducers/PopupRedux';
6
5
  import { createEngine as createEngineLocal } from './AdaptableReduxLocalStorageEngine';
7
6
  import { mergeReducer } from './AdaptableReduxMerger';
8
7
  import { isAdaptableCellChangedAlert, isAdaptableRowChangedAlert, } from '../../PredefinedConfig/Common/AdaptableAlert';
9
- import * as ConfigConstants from '../../Utilities/Constants/ConfigConstants';
10
- import { EMPTY_STRING, VISUAL_DATA_REPORT } from '../../Utilities/Constants/GeneralConstants';
8
+ import { ERROR_LAYOUT } from '../../Utilities/Constants/GeneralConstants';
11
9
  import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
12
10
  import Emitter from '../../Utilities/Emitter';
13
11
  import { StringExtensions } from '../../Utilities/Extensions/StringExtensions';
@@ -26,7 +24,6 @@ import * as ExportRedux from '../ActionsReducers/ExportRedux';
26
24
  import * as FlashingCellRedux from '../ActionsReducers/FlashingCellRedux';
27
25
  import * as FormatColumnRedux from '../ActionsReducers/FormatColumnRedux';
28
26
  import * as FreeTextColumnRedux from '../ActionsReducers/FreeTextColumnRedux';
29
- import * as GridRedux from '../ActionsReducers/GridRedux';
30
27
  import * as LayoutRedux from '../ActionsReducers/LayoutRedux';
31
28
  import * as NamedQueryRedux from '../ActionsReducers/NamedQueryRedux';
32
29
  import * as NoteRedux from '../ActionsReducers/NoteRedux';
@@ -37,8 +34,7 @@ import * as ShortcutRedux from '../ActionsReducers/ShortcutRedux';
37
34
  import * as SmartEditRedux from '../ActionsReducers/SmartEditRedux';
38
35
  import * as StatusBarRedux from '../ActionsReducers/StatusBarRedux';
39
36
  import * as StyledColumnRedux from '../ActionsReducers/StyledColumnRedux';
40
- import * as SystemRedux from '../ActionsReducers/SystemRedux';
41
- import { SYSTEM_PROGRESS_INDICATOR_HIDE, SYSTEM_PROGRESS_INDICATOR_SHOW, } from '../ActionsReducers/SystemRedux';
37
+ import * as InternalRedux from '../ActionsReducers/InternalRedux';
42
38
  import * as TeamSharingRedux from '../ActionsReducers/TeamSharingRedux';
43
39
  import * as ThemeRedux from '../ActionsReducers/ThemeRedux';
44
40
  import * as ToolPanelRedux from '../ActionsReducers/ToolPanelRedux';
@@ -51,9 +47,15 @@ const NON_PERSIST_ACTIONS = {
51
47
  [LOAD_STATE]: true,
52
48
  [INIT_STATE]: true,
53
49
  // progress indicators should NOT interfere with state management as it may lead to race conditions due to load/persist state being async
54
- [SYSTEM_PROGRESS_INDICATOR_SHOW]: true,
55
- [SYSTEM_PROGRESS_INDICATOR_HIDE]: true,
50
+ [PROGRESS_INDICATOR_SHOW]: true,
51
+ [PROGRESS_INDICATOR_HIDE]: true,
56
52
  };
53
+ const NON_PERSISTENT_STORE_KEYS = [
54
+ 'Internal',
55
+ 'Popup',
56
+ 'Comment',
57
+ 'Plugins',
58
+ ];
57
59
  export const InitState = () => ({
58
60
  type: INIT_STATE,
59
61
  });
@@ -84,7 +86,7 @@ export class AdaptableStore {
84
86
  };
85
87
  this.loadStore = (config) => {
86
88
  const { adaptable, adaptableStateKey, predefinedConfig, postLoadHook } = config;
87
- const postProcessState = postLoadHook !== null && postLoadHook !== void 0 ? postLoadHook : ((state) => state);
89
+ const postProcessState = postLoadHook ?? ((state) => state);
88
90
  this.storageEngine.setStateKey(adaptableStateKey);
89
91
  // START STATE LOAD
90
92
  this.loadStorageInProgress = true;
@@ -100,7 +102,7 @@ export class AdaptableStore {
100
102
  // END STATE LOAD
101
103
  this.loadStorageInProgress = false;
102
104
  }, (e) => {
103
- adaptable.logger.consoleError('Failed to load previous Adaptable State : ', e);
105
+ adaptable.api.consoleError('Failed to load previous Adaptable State : ', e);
104
106
  //for now i'm still initializing Adaptable even if loading state has failed....
105
107
  //we may revisit that later
106
108
  this.TheStore.dispatch(InitState());
@@ -116,9 +118,8 @@ export class AdaptableStore {
116
118
  };
117
119
  let rootReducerObject = {
118
120
  // Reducers for Non-Persisted State
119
- Grid: GridRedux.GridReducer,
120
121
  Popup: PopupRedux.PopupReducer,
121
- System: SystemRedux.SystemReducer,
122
+ Internal: InternalRedux.InternalReducer,
122
123
  Plugins: PluginsRedux.PluginsReducer,
123
124
  Comment: CommentsRedux.CommentsReducer,
124
125
  // Reducers for Persisted State
@@ -148,10 +149,15 @@ export class AdaptableStore {
148
149
  // allow plugins to participate in the root reducer
149
150
  adaptable.forPlugins((plugin) => {
150
151
  if (plugin.rootReducer) {
151
- rootReducerObject = Object.assign(Object.assign({}, rootReducerObject), plugin.rootReducer(rootReducerObject));
152
+ rootReducerObject = {
153
+ ...rootReducerObject,
154
+ ...plugin.rootReducer(rootReducerObject),
155
+ };
152
156
  }
153
157
  });
154
- const initialRootReducer = Redux.combineReducers(rootReducerObject);
158
+ const initialRootReducer =
159
+ // @ts-ignore
160
+ Redux.combineReducers(rootReducerObject);
155
161
  const rootReducerWithResetManagement = (state, action) => {
156
162
  switch (action.type) {
157
163
  case LOAD_STATE:
@@ -177,27 +183,18 @@ export class AdaptableStore {
177
183
  persistState: adaptable.adaptableOptions.stateOptions.persistState,
178
184
  debounceStateDelay: adaptable.adaptableOptions.stateOptions.debounceStateDelay,
179
185
  });
180
- const nonPersistentReduxKeys = [
181
- // Non Persisted State
182
- ConfigConstants.SYSTEM,
183
- ConfigConstants.GRID,
184
- ConfigConstants.POPUP,
185
- ConfigConstants.PLUGINS,
186
- ConfigConstants.COMMENT,
187
- ];
188
186
  const didPersistentStateChange = (state, newState) => {
189
187
  return Object.keys(newState).some((key) => {
190
- if (nonPersistentReduxKeys.includes(key)) {
188
+ if (NON_PERSISTENT_STORE_KEYS.includes(key)) {
191
189
  return false;
192
190
  }
193
- return (state === null || state === void 0 ? void 0 : state[key]) !== (newState === null || newState === void 0 ? void 0 : newState[key]);
191
+ return state?.[key] !== newState?.[key];
194
192
  });
195
193
  };
196
194
  // this is now VERY BADLY NAMED!
197
195
  let rootReducer = mergeReducer(rootReducerWithResetManagement, LOAD_STATE);
198
196
  const composeEnhancers = (x) => x;
199
197
  const persistedReducer = (state, action) => {
200
- var _a, _b;
201
198
  if (adaptable.isDestroyed) {
202
199
  return state;
203
200
  }
@@ -211,13 +208,13 @@ export class AdaptableStore {
211
208
  const finalState = emitterArg.newState;
212
209
  const shouldPersist = state !== finalState &&
213
210
  didPersistentStateChange(state, finalState) &&
214
- !((_b = (_a = state === null || state === void 0 ? void 0 : state.System) === null || _a === void 0 ? void 0 : _a.License) === null || _b === void 0 ? void 0 : _b.disablePersistence) &&
211
+ !state?.Internal?.License?.disablePersistence &&
215
212
  !NON_PERSIST_ACTIONS[action.type] &&
216
213
  !init &&
217
214
  !this.loadStorageInProgress;
218
215
  if (shouldPersist) {
219
- const storageState = Object.assign({}, finalState);
220
- nonPersistentReduxKeys.forEach((key) => {
216
+ const storageState = { ...finalState };
217
+ NON_PERSISTENT_STORE_KEYS.forEach((key) => {
221
218
  delete storageState[key];
222
219
  });
223
220
  this.currentStorageState = storageState;
@@ -239,8 +236,7 @@ export class AdaptableStore {
239
236
  this.storageEngine = storageEngine;
240
237
  }
241
238
  destroy() {
242
- var _a;
243
- (_a = this.emitter) === null || _a === void 0 ? void 0 : _a.clearListeners();
239
+ this.emitter?.clearListeners();
244
240
  this.emitter = null;
245
241
  }
246
242
  getCurrentStorageState() {
@@ -260,7 +256,6 @@ export class AdaptableStore {
260
256
  const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
261
257
  return function (next) {
262
258
  return function (action) {
263
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
264
259
  switch (action.type) {
265
260
  /*******************
266
261
  * NAMED QUERY ACTIONS
@@ -270,38 +265,26 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
270
265
  * Action: Check whether it is referenced elsewhere before deleting
271
266
  */
272
267
  case NamedQueryRedux.NAMED_QUERY_DELETE: {
273
- const actionTyped = action;
274
268
  // check if Named Query is not referenced elsewhere
275
- const namedQueryReferences = adaptable.api.namedQueryApi.internalApi.getNamedQueryModuleReferences(actionTyped.namedQuery.Name);
276
- if (namedQueryReferences.length) {
277
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
278
- alertType: 'generic',
279
- header: 'Named Query could not be deleted',
280
- message: `It is still referenced in the following modules: ${namedQueryReferences.join(', ')}`,
281
- alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
282
- }));
269
+ const actionTyped = action;
270
+ if (!adaptable.api.namedQueryApi.internalApi.validateDeletedNamedQuery(actionTyped.namedQuery.Name)) {
283
271
  return;
284
272
  }
285
273
  const ret = next(action);
286
274
  return ret;
287
275
  }
276
+ /**
277
+ * Use Case: User has renamed a Named Query
278
+ * Action: Check whether it is referenced elsewhere before allowing rename
279
+ */
288
280
  case NamedQueryRedux.NAMED_QUERY_EDIT: {
289
281
  const actionTyped = action;
290
- // check if name was changed, in which case we have to check if it's referenced
291
282
  const editedNamedQuery = actionTyped.namedQuery;
292
- const previousNamedQueryName = (_b = (_a = middlewareAPI
283
+ const previousNamedQueryName = middlewareAPI
293
284
  .getState()
294
- .NamedQuery.NamedQueries.find((namedQuery) => namedQuery.Uuid === editedNamedQuery.Uuid)) === null || _a === void 0 ? void 0 : _a.Name) !== null && _b !== void 0 ? _b : '';
285
+ .NamedQuery.NamedQueries.find((namedQuery) => namedQuery.Uuid === editedNamedQuery.Uuid)?.Name ?? '';
295
286
  if (editedNamedQuery.Name !== previousNamedQueryName) {
296
- // if query is referenced elsewhere we cannot allow the name change, as it would turn the referents invalid
297
- const namedQueryReferences = adaptable.api.namedQueryApi.internalApi.getNamedQueryModuleReferences(previousNamedQueryName);
298
- if (namedQueryReferences.length) {
299
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
300
- alertType: 'generic',
301
- header: 'Named Query could not be renamed',
302
- message: `It is currently referenced in the following modules: ${namedQueryReferences.join(', ')}`,
303
- alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
304
- }));
287
+ if (!adaptable.api.namedQueryApi.internalApi.validateRenamedNamedQuery(previousNamedQueryName)) {
305
288
  return;
306
289
  }
307
290
  }
@@ -311,22 +294,27 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
311
294
  /*******************
312
295
  * System Row Summary ACTIONS
313
296
  *******************/
314
- case SystemRedux.SYSTEM_SUMMARY_ROW_SET: {
297
+ case InternalRedux.SUMMARY_ROW_SET: {
315
298
  let nextAction = next(action);
316
299
  adaptable.api.layoutApi.internalApi.setupRowSummaries();
317
300
  return nextAction;
318
301
  }
319
302
  /*******************
320
- * ALERT ACTIONS
303
+ * System Quick Filter ACTIONS
321
304
  *******************/
322
- case AlertRedux.ALERT_READY: {
323
- // create observable alerts at grid startup
324
- const reactiveAlertDefinitions = adaptable.api.alertApi.internalApi.getActiveReactiveAlertDefinitions();
325
- reactiveAlertDefinitions.forEach((reactiveAlertDefinition) => adaptable.api.internalApi
326
- .getAlertService()
327
- .createReactiveAlert(reactiveAlertDefinition));
328
- return;
305
+ case InternalRedux.QUICK_FILTER_BAR_SHOW: {
306
+ let nextAction = next(action);
307
+ adaptable.showQuickFilter();
308
+ return nextAction;
329
309
  }
310
+ case InternalRedux.QUICK_FILTER_BAR_HIDE: {
311
+ let nextAction = next(action);
312
+ adaptable.hideQuickFilter();
313
+ return nextAction;
314
+ }
315
+ /*******************
316
+ * ALERT DEFINITION ACTIONS
317
+ *******************/
330
318
  case AlertRedux.ALERT_DEFINITION_ADD:
331
319
  case AlertRedux.ALERT_DEFINITION_EDIT:
332
320
  case AlertRedux.ALERT_DEFINITION_DELETE:
@@ -370,6 +358,11 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
370
358
  }
371
359
  // called also for rendered column actions, see RENDERED COLUMN ACTIONS block
372
360
  adaptable.updateColumnModelAndRefreshGrid();
361
+ // tell Alert Module to check if need to listen to Cell Change
362
+ let module = (adaptable.adaptableModules.get(ModuleConstants.AlertModuleId));
363
+ if (module) {
364
+ module.checkListenToCellDataChanged();
365
+ }
373
366
  return returnAction;
374
367
  }
375
368
  /*******************
@@ -385,29 +378,161 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
385
378
  const returnAction = next(action);
386
379
  // called also for rendered column actions, see RENDERED COLUMN ACTIONS block
387
380
  adaptable.updateColumnModelAndRefreshGrid();
381
+ // check if cell data change listening needs to be activated
382
+ let module = (adaptable.adaptableModules.get(ModuleConstants.FlashingCellModuleId));
383
+ if (module) {
384
+ module.checkListenToCellDataChanged();
385
+ }
388
386
  return returnAction;
389
387
  }
390
388
  /*******************
391
- * Alert ACTIONS
389
+ * FREE TEXT COLUMN ACTIONS
392
390
  *******************/
393
391
  /**
394
- * Use Case: User has deleted a System Alert which has a Highlight Cell
395
- * Action: Refresh the cell (to clear the style)
392
+ * Use Case: We have added / edited / deleted a Free Text Column
393
+ * Actions: We check if a deleted Column has references and return if so
394
+ * Actions: We update the Special ColumnDefs and refresh the Layout
395
+ */
396
+ case FreeTextColumnRedux.FREE_TEXT_COLUMN_ADD:
397
+ case FreeTextColumnRedux.FREE_TEXT_COLUMN_EDIT:
398
+ case FreeTextColumnRedux.FREE_TEXT_COLUMN_DELETE: {
399
+ // First check to see Deleted Free Text Column is referenced elsewhwere and return if so
400
+ if (action.type === FreeTextColumnRedux.FREE_TEXT_COLUMN_DELETE) {
401
+ const actionTyped = action;
402
+ if (!adaptable.api.freeTextColumnApi.internalApi.validateDeletedFreeTextColumn(actionTyped.freeTextColumn)) {
403
+ return;
404
+ }
405
+ }
406
+ const returnAction = next(action);
407
+ // Check listen to Cell Data Changes and refresh the layout
408
+ let module = (adaptable.adaptableModules.get(ModuleConstants.FreeTextColumnModuleId));
409
+ if (module) {
410
+ module.checkListenToCellDataChanged();
411
+ }
412
+ adaptable.api.layoutApi.internalApi.refreshLayout();
413
+ return returnAction;
414
+ }
415
+ /*******************
416
+ * CALCULATED COLUMN ACTIONS
417
+ *******************/
418
+ /**
419
+ * Use Case: We have added / edited / deleted a Calculated Column
420
+ * Action: We update the Special ColumnDefs and refresh the Layout
421
+ */
422
+ case CalculatedColumnRedux.CALCULATED_COLUMN_ADD:
423
+ case CalculatedColumnRedux.CALCULATED_COLUMN_EDIT:
424
+ case CalculatedColumnRedux.CALCULATED_COLUMN_DELETE: {
425
+ const actionTypedCC = action;
426
+ const calculatedColumn = actionTypedCC.calculatedColumn;
427
+ // First check for Deleted Calculated Columns with references and return if found
428
+ if (action.type === CalculatedColumnRedux.CALCULATED_COLUMN_DELETE) {
429
+ if (!adaptable.api.calculatedColumnApi.internalApi.validateDeletedCalculatedColumn(calculatedColumn)) {
430
+ return;
431
+ }
432
+ }
433
+ const returnAction = next(action);
434
+ // Manage Aggregations, fire Event, set up listener and refresh Layout
435
+ if (action.type === CalculatedColumnRedux.CALCULATED_COLUMN_ADD ||
436
+ action.type === CalculatedColumnRedux.CALCULATED_COLUMN_EDIT) {
437
+ adaptable.api.internalApi
438
+ .getCalculatedColumnExpressionService()
439
+ .createAggregatedScalarLiveValue(calculatedColumn);
440
+ }
441
+ else {
442
+ adaptable.api.internalApi
443
+ .getCalculatedColumnExpressionService()
444
+ .destroyAggregatedScalarLiveValue(calculatedColumn);
445
+ }
446
+ adaptable.api.eventApi.internalApi.fireCalculatedColumnChangedEvent(action.type, calculatedColumn);
447
+ let module = (adaptable.adaptableModules.get(ModuleConstants.CalculatedColumnModuleId));
448
+ if (module) {
449
+ module.checkListenToCellDataChanged();
450
+ }
451
+ adaptable.api.layoutApi.internalApi.refreshLayout();
452
+ return returnAction;
453
+ }
454
+ /*******************
455
+ * RENDERED COLUMN ACTIONS
456
+ *******************/
457
+ /**
458
+ * Use Case: We have updated an AdapTable Module that affects rendering
459
+ * Action: We set up all columns again
460
+ */
461
+ case QuickSearchRedux.QUICK_SEARCH_SET_STYLE:
462
+ case FormatColumnRedux.FORMAT_COLUMN_ADD:
463
+ case FormatColumnRedux.FORMAT_COLUMN_EDIT:
464
+ case FormatColumnRedux.FORMAT_COLUMN_DELETE:
465
+ case FormatColumnRedux.FORMAT_COLUMN_DELETE_ALL:
466
+ case FormatColumnRedux.FORMAT_COLUMN_MOVE_DOWN:
467
+ case FormatColumnRedux.FORMAT_COLUMN_MOVE_UP:
468
+ case FormatColumnRedux.FORMAT_COLUMN_SUSPEND:
469
+ case FormatColumnRedux.FORMAT_COLUMN_UNSUSPEND:
470
+ case FormatColumnRedux.FORMAT_COLUMN_SUSPEND_ALL:
471
+ case FormatColumnRedux.FORMAT_COLUMN_UNSUSPEND_ALL:
472
+ case StyledColumnRedux.STYLED_COLUMN_ADD:
473
+ case StyledColumnRedux.STYLED_COLUMN_EDIT:
474
+ case StyledColumnRedux.STYLED_COLUMN_DELETE:
475
+ case StyledColumnRedux.STYLED_COLUMN_SUSPEND:
476
+ case StyledColumnRedux.STYLED_COLUMN_UNSUSPEND:
477
+ case StyledColumnRedux.STYLED_COLUMN_SUSPEND_ALL:
478
+ case StyledColumnRedux.STYLED_COLUMN_UNSUSPEND_ALL:
479
+ case CustomSortRedux.CUSTOM_SORT_ADD:
480
+ case CustomSortRedux.CUSTOM_SORT_EDIT:
481
+ case CustomSortRedux.CUSTOM_SORT_DELETE:
482
+ case CustomSortRedux.CUSTOM_SORT_SUSPEND:
483
+ case CustomSortRedux.CUSTOM_SORT_UNSUSPEND:
484
+ case CustomSortRedux.CUSTOM_SORT_SUSPEND_ALL:
485
+ case CustomSortRedux.CUSTOM_SORT_UNSUSPEND_ALL: {
486
+ const returnAction = next(action);
487
+ // called also for alert actions, see ALERT ACTIONS block
488
+ adaptable.updateColumnModelAndRefreshGrid();
489
+ return returnAction;
490
+ }
491
+ /*******************
492
+ * QUICK SEARCH ACTIONS
493
+ *******************/
494
+ /**
495
+ * Use Case: User has run a Quick Search
496
+ * Action1: Call Adaptable to redraw body so cells can be highlighted
497
+ * Action2: Run Query using Quick Search text
498
+ */
499
+ case QuickSearchRedux.QUICK_SEARCH_RUN: {
500
+ let returnAction = next(action);
501
+ adaptable.api.gridApi.refreshAllCells(true);
502
+ // if set then return a query on the text
503
+ if (adaptable.adaptableOptions.quickSearchOptions.filterResultsAfterQuickSearch) {
504
+ const actionTyped = action;
505
+ const searchText = actionTyped.quickSearchText;
506
+ if (StringExtensions.IsNotNullOrEmpty(searchText)) {
507
+ adaptable.setAgGridQuickSearch(searchText);
508
+ }
509
+ else {
510
+ adaptable.clearAgGridQuickSearch();
511
+ }
512
+ }
513
+ return returnAction;
514
+ }
515
+ /*******************
516
+ * INTERNAL ACTIONS
517
+ *******************/
518
+ /**
519
+ * Use Case: User has deleted a System Alert which has a Highlight Cell or Highlight Row
520
+ * Action: Refresh the cell / Row (to clear the Highlight)
396
521
  */
397
- case SystemRedux.SYSTEM_ALERT_DELETE: {
522
+ case InternalRedux.ALERT_DELETE: {
398
523
  const actionTyped = action;
399
524
  let ret = next(action);
400
525
  const adaptableAlert = actionTyped.alert;
401
- if (((_c = adaptableAlert.alertDefinition.AlertProperties) === null || _c === void 0 ? void 0 : _c.HighlightCell) &&
526
+ if (adaptableAlert.alertDefinition.AlertProperties?.HighlightCell &&
402
527
  isAdaptableCellChangedAlert(adaptableAlert) &&
403
528
  adaptableAlert.cellDataChangedInfo) {
404
529
  const rowNode = adaptableAlert.cellDataChangedInfo.rowNode;
405
- adaptable.refreshCells([rowNode], [adaptableAlert.cellDataChangedInfo.column.columnId], true);
530
+ adaptable.api.gridApi.refreshCell(rowNode, adaptableAlert.cellDataChangedInfo.column.columnId, true);
406
531
  }
407
- if (((_d = adaptableAlert.alertDefinition.AlertProperties) === null || _d === void 0 ? void 0 : _d.HighlightRow) &&
532
+ if (adaptableAlert.alertDefinition.AlertProperties?.HighlightRow &&
408
533
  isAdaptableRowChangedAlert(adaptableAlert) &&
409
- adaptableAlert.gridDataChangedInfo) {
410
- adaptable.api.gridApi.refreshRowNodes(adaptableAlert.gridDataChangedInfo.rowNodes);
534
+ adaptableAlert.rowDataChangedInfo) {
535
+ adaptable.api.gridApi.refreshRowNodes(adaptableAlert.rowDataChangedInfo.rowNodes);
411
536
  }
412
537
  return ret;
413
538
  }
@@ -415,22 +540,21 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
415
540
  * Use Case: User has deleted all System Alerts some of which have a Highlight Cell
416
541
  * Action: Refresh the cell (to clear the style)
417
542
  */
418
- case SystemRedux.SYSTEM_ALERT_DELETE_ALL: {
543
+ case InternalRedux.ALERT_DELETE_ALL: {
419
544
  const actionTyped = action;
420
545
  let ret = next(action);
421
546
  let alerts = actionTyped.alerts;
422
547
  alerts.forEach((alert) => {
423
- var _a, _b;
424
- if (((_a = alert.alertDefinition.AlertProperties) === null || _a === void 0 ? void 0 : _a.HighlightCell) &&
548
+ if (alert.alertDefinition.AlertProperties?.HighlightCell &&
425
549
  isAdaptableCellChangedAlert(alert) &&
426
550
  alert.cellDataChangedInfo) {
427
551
  let rowNode = alert.cellDataChangedInfo.rowNode;
428
- adaptable.refreshCells([rowNode], [alert.cellDataChangedInfo.column.columnId], true);
552
+ adaptable.api.gridApi.refreshCell(rowNode, alert.cellDataChangedInfo.column.columnId, true);
429
553
  }
430
- if (((_b = alert.alertDefinition.AlertProperties) === null || _b === void 0 ? void 0 : _b.HighlightRow) &&
554
+ if (alert.alertDefinition.AlertProperties?.HighlightRow &&
431
555
  isAdaptableRowChangedAlert(alert) &&
432
- alert.gridDataChangedInfo) {
433
- adaptable.api.gridApi.refreshRowNodes(alert.gridDataChangedInfo.rowNodes);
556
+ alert.rowDataChangedInfo) {
557
+ adaptable.api.gridApi.refreshRowNodes(alert.rowDataChangedInfo.rowNodes);
434
558
  }
435
559
  });
436
560
  return ret;
@@ -439,109 +563,108 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
439
563
  * Use Case: A System Alert had a Highlight Cell with a limited duration
440
564
  * Action: Refresh the cell (to clear the style)
441
565
  */
442
- case SystemRedux.SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT: {
566
+ case InternalRedux.ALERT_REMOVE_CELL_HIGHLIGHT: {
443
567
  let ret = next(action);
444
568
  const actionTyped = action;
445
569
  const adaptableAlert = actionTyped.alert;
446
- if ((_e = adaptableAlert.alertDefinition.AlertProperties) === null || _e === void 0 ? void 0 : _e.HighlightCell) {
570
+ if (adaptableAlert.alertDefinition.AlertProperties?.HighlightCell) {
447
571
  if (isAdaptableCellChangedAlert(adaptableAlert) &&
448
572
  adaptableAlert.cellDataChangedInfo) {
449
573
  const rowNode = adaptableAlert.cellDataChangedInfo.rowNode;
450
- adaptable.refreshCells([rowNode], [adaptableAlert.cellDataChangedInfo.column.columnId], true);
574
+ adaptable.api.gridApi.refreshCell(rowNode, adaptableAlert.cellDataChangedInfo.column.columnId, true);
451
575
  }
452
576
  }
453
577
  return ret;
454
578
  }
455
- case SystemRedux.SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT: {
579
+ case InternalRedux.ALERT_REMOVE_ROW_HIGHLIGHT: {
456
580
  let ret = next(action);
457
581
  const actionTyped = action;
458
582
  const adaptableAlert = actionTyped.alert;
459
- if ((_f = adaptableAlert.alertDefinition.AlertProperties) === null || _f === void 0 ? void 0 : _f.HighlightRow) {
583
+ if (adaptableAlert.alertDefinition.AlertProperties?.HighlightRow) {
460
584
  if (isAdaptableCellChangedAlert(adaptableAlert) &&
461
585
  adaptableAlert.cellDataChangedInfo) {
462
586
  adaptable.api.gridApi.refreshRowNodes([adaptableAlert.cellDataChangedInfo.rowNode]);
463
587
  }
464
- if (isAdaptableRowChangedAlert(adaptableAlert) &&
465
- adaptableAlert.gridDataChangedInfo) {
466
- adaptable.api.gridApi.refreshRowNodes(adaptableAlert.gridDataChangedInfo.rowNodes);
588
+ if (isAdaptableRowChangedAlert(adaptableAlert) && adaptableAlert.rowDataChangedInfo) {
589
+ adaptable.api.gridApi.refreshRowNodes(adaptableAlert.rowDataChangedInfo.rowNodes);
467
590
  }
468
591
  }
469
592
  return ret;
470
593
  }
471
- case SystemRedux.SYSTEM_HIGHLIGHT_CELL_ADD: {
594
+ case InternalRedux.HIGHLIGHT_CELL_ADD: {
472
595
  const actionTyped = action;
473
596
  const ret = next(action);
474
597
  const cellHighlightInfo = actionTyped.cellHighlightInfo;
475
- const rowNode = adaptable.getRowNodeForPrimaryKey(cellHighlightInfo.primaryKeyValue);
598
+ const rowNode = adaptable.api.gridApi.getRowNodeForPrimaryKey(cellHighlightInfo.primaryKeyValue);
476
599
  if (rowNode) {
477
- adaptable.refreshCells([rowNode], [cellHighlightInfo.columnId], true);
600
+ adaptable.api.gridApi.refreshCell(rowNode, cellHighlightInfo.columnId, true);
478
601
  }
479
602
  return ret;
480
603
  }
481
- case SystemRedux.SYSTEM_HIGHLIGHT_CELL_DELETE: {
604
+ case InternalRedux.HIGHLIGHT_CELL_DELETE: {
482
605
  const actionTyped = action;
483
606
  const ret = next(action);
484
- const rowNode = adaptable.getRowNodeForPrimaryKey(actionTyped.primaryKeyValue);
607
+ const rowNode = adaptable.api.gridApi.getRowNodeForPrimaryKey(actionTyped.primaryKeyValue);
485
608
  if (rowNode) {
486
- adaptable.refreshCells([rowNode], [actionTyped.columnId], true);
609
+ adaptable.api.gridApi.refreshCell(rowNode, actionTyped.columnId, true);
487
610
  }
488
611
  return ret;
489
612
  }
490
- case SystemRedux.SYSTEM_HIGHLIGHT_CELL_DELETE_ALL: {
491
- const cellHighlightInfos = middlewareAPI.getState().System.HighlightedCells;
613
+ case InternalRedux.HIGHLIGHT_CELL_DELETE_ALL: {
614
+ const cellHighlightInfos = middlewareAPI.getState().Internal.CellHighlightInfo;
492
615
  const ret = next(action);
493
616
  cellHighlightInfos.forEach((cellHighlightInfo) => {
494
- const rowNode = adaptable.getRowNodeForPrimaryKey(cellHighlightInfo.primaryKeyValue);
617
+ const rowNode = adaptable.api.gridApi.getRowNodeForPrimaryKey(cellHighlightInfo.primaryKeyValue);
495
618
  if (!rowNode) {
496
619
  return;
497
620
  }
498
- adaptable.refreshCells([rowNode], [cellHighlightInfo.columnId], true);
621
+ adaptable.api.gridApi.refreshCell(rowNode, cellHighlightInfo.columnId, true);
499
622
  });
500
623
  return ret;
501
624
  }
502
- case SystemRedux.SYSTEM_HIGHLIGHT_ROW_ADD: {
625
+ case InternalRedux.HIGHLIGHT_ROW_ADD: {
503
626
  const actionTyped = action;
504
627
  const ret = next(action);
505
628
  const rowHighlightInfo = actionTyped.rowHighlightInfo;
506
- const rowNode = adaptable.getRowNodeForPrimaryKey(rowHighlightInfo.primaryKeyValue);
629
+ const rowNode = adaptable.api.gridApi.getRowNodeForPrimaryKey(rowHighlightInfo.primaryKeyValue);
507
630
  if (rowNode) {
508
631
  adaptable.api.gridApi.refreshRowNode(rowNode);
509
632
  }
510
633
  return ret;
511
634
  }
512
- case SystemRedux.SYSTEM_HIGHLIGHT_ROW_DELETE: {
635
+ case InternalRedux.HIGHLIGHT_ROW_DELETE: {
513
636
  const actionTyped = action;
514
637
  const ret = next(action);
515
- const rowNode = adaptable.getRowNodeForPrimaryKey(actionTyped.primaryKeyValue);
638
+ const rowNode = adaptable.api.gridApi.getRowNodeForPrimaryKey(actionTyped.primaryKeyValue);
516
639
  if (rowNode) {
517
640
  adaptable.api.gridApi.refreshRowNode(rowNode);
518
641
  }
519
642
  return ret;
520
643
  }
521
- case SystemRedux.SYSTEM_HIGHLIGHT_ROWS_ADD: {
644
+ case InternalRedux.HIGHLIGHT_ROWS_ADD: {
522
645
  const actionTyped = action;
523
646
  const ret = next(action);
524
647
  const rowsHighlightInfo = actionTyped.rowsHighlightInfo;
525
- const rowNodes = adaptable.getRowNodesForPrimaryKeys(rowsHighlightInfo.primaryKeyValues);
648
+ const rowNodes = adaptable.api.gridApi.getRowNodesForPrimaryKeys(rowsHighlightInfo.primaryKeyValues);
526
649
  if (rowNodes.length) {
527
650
  adaptable.api.gridApi.refreshRowNodes(rowNodes);
528
651
  }
529
652
  return ret;
530
653
  }
531
- case SystemRedux.SYSTEM_HIGHLIGHT_ROWS_DELETE: {
654
+ case InternalRedux.HIGHLIGHT_ROWS_DELETE: {
532
655
  const actionTyped = action;
533
656
  const ret = next(action);
534
- const rowNodes = adaptable.getRowNodesForPrimaryKeys(actionTyped.primaryKeyValues);
657
+ const rowNodes = adaptable.api.gridApi.getRowNodesForPrimaryKeys(actionTyped.primaryKeyValues);
535
658
  if (rowNodes.length) {
536
659
  adaptable.api.gridApi.refreshRowNodes(rowNodes);
537
660
  }
538
661
  return ret;
539
662
  }
540
- case SystemRedux.SYSTEM_HIGHLIGHT_CELL_DELETE_ALL: {
541
- const rowHighlightInfos = middlewareAPI.getState().System.HighlightedRows;
663
+ case InternalRedux.HIGHLIGHT_CELL_DELETE_ALL: {
664
+ const rowHighlightInfos = middlewareAPI.getState().Internal.RowHighlightInfo;
542
665
  const ret = next(action);
543
666
  rowHighlightInfos.forEach((rowHighlightInfo) => {
544
- const rowNode = adaptable.getRowNodeForPrimaryKey(rowHighlightInfo.primaryKeyValue);
667
+ const rowNode = adaptable.api.gridApi.getRowNodeForPrimaryKey(rowHighlightInfo.primaryKeyValue);
545
668
  if (!rowNode) {
546
669
  return;
547
670
  }
@@ -549,289 +672,43 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
549
672
  });
550
673
  return ret;
551
674
  }
552
- /*******************
553
- * SPECIAL COLUMN ACTIONS
554
- *******************/
555
- /**
556
- * Use Case: We have added / edited / deleted a Special Column (i.e. one not in initial ColumnDefs)
557
- * Action: We update the Special ColumnDefs
558
- */
559
- case FreeTextColumnRedux.FREE_TEXT_COLUMN_ADD:
560
- case FreeTextColumnRedux.FREE_TEXT_COLUMN_EDIT:
561
- case CalculatedColumnRedux.CALCULATED_COLUMN_ADD:
562
- case CalculatedColumnRedux.CALCULATED_COLUMN_EDIT: {
563
- const actionTyped = action;
564
- const returnAction = next(actionTyped);
565
- if (returnAction.type === CalculatedColumnRedux.CALCULATED_COLUMN_ADD ||
566
- returnAction.type === CalculatedColumnRedux.CALCULATED_COLUMN_EDIT) {
567
- adaptable.api.internalApi
568
- .getCalculatedColumnExpressionService()
569
- .createAggregatedScalarLiveValue(returnAction.calculatedColumn);
570
- adaptable.api.calculatedColumnApi.internalApi.fireCalculatedColumnChangedEvent(action.type, actionTyped.calculatedColumn);
571
- }
572
- adaptable.updateColumnModelAndRefreshGrid();
573
- return returnAction;
574
- }
575
- /**
576
- * Use Case: We have deleted a CalculatedColumn (i.e. one not in initial ColumnDefs)
577
- * Action: Check whether it is referenced elsewhere before deleting then update the Special ColumnDefs
578
- */
579
- case CalculatedColumnRedux.CALCULATED_COLUMN_DELETE: {
580
- const actionTyped = action;
581
- // check if CalculatedColumn is not referenced elsewhere
582
- const calculatedColumnReferences = adaptable.api.calculatedColumnApi.internalApi.getCalculatedColumnModuleReferences(actionTyped.calculatedColumn);
583
- if (calculatedColumnReferences.length) {
584
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
585
- alertType: 'generic',
586
- header: 'CalculatedColumn could not be deleted',
587
- message: `It is still referenced in the following modules: ${calculatedColumnReferences.join(', ')}`,
588
- alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
589
- }));
590
- return;
591
- }
592
- const returnAction = next(actionTyped);
593
- adaptable.api.internalApi
594
- .getCalculatedColumnExpressionService()
595
- .destroyAggregatedScalarLiveValue(returnAction.calculatedColumn);
596
- adaptable.api.calculatedColumnApi.internalApi.fireCalculatedColumnChangedEvent(action.type, actionTyped.calculatedColumn);
597
- adaptable.updateColumnModelAndRefreshGrid();
598
- return returnAction;
599
- }
600
- /**
601
- * Use Case: We have deleted a FreeText Column (i.e. one not in initial ColumnDefs)
602
- * Action: Check whether it is referenced elsewhere before deleting then update the Special ColumnDefs
603
- */
604
- case FreeTextColumnRedux.FREE_TEXT_COLUMN_DELETE: {
605
- const actionTyped = action;
606
- // check if FreeTextColumn is not referenced elsewhere
607
- const freeTextColumnReferences = adaptable.api.freeTextColumnApi.internalApi.getFreeTextColumnModuleReferences(actionTyped.freeTextColumn);
608
- if (freeTextColumnReferences.length) {
609
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
610
- alertType: 'generic',
611
- header: 'FreeTextColumn could not be deleted',
612
- message: `It is still referenced in the following modules: ${freeTextColumnReferences.join(', ')}`,
613
- alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
614
- }));
615
- return;
616
- }
617
- const returnAction = next(action);
618
- adaptable.updateColumnModelAndRefreshGrid();
619
- return returnAction;
620
- }
621
- /*******************
622
- * RENDERED COLUMN ACTIONS
623
- *******************/
624
- /**
625
- * Use Case: We have updated an AdapTable Module that affects rendering
626
- * Action: We set up all columns again
627
- */
628
- case QuickSearchRedux.QUICK_SEARCH_SET_STYLE:
629
- case FormatColumnRedux.FORMAT_COLUMN_ADD:
630
- case FormatColumnRedux.FORMAT_COLUMN_EDIT:
631
- case FormatColumnRedux.FORMAT_COLUMN_DELETE:
632
- case FormatColumnRedux.FORMAT_COLUMN_DELETE_ALL:
633
- case FormatColumnRedux.FORMAT_COLUMN_MOVE_DOWN:
634
- case FormatColumnRedux.FORMAT_COLUMN_MOVE_UP:
635
- case FormatColumnRedux.FORMAT_COLUMN_SUSPEND:
636
- case FormatColumnRedux.FORMAT_COLUMN_UNSUSPEND:
637
- case FormatColumnRedux.FORMAT_COLUMN_SUSPEND_ALL:
638
- case FormatColumnRedux.FORMAT_COLUMN_UNSUSPEND_ALL:
639
- case StyledColumnRedux.STYLED_COLUMN_ADD:
640
- case StyledColumnRedux.STYLED_COLUMN_EDIT:
641
- case StyledColumnRedux.STYLED_COLUMN_DELETE:
642
- case StyledColumnRedux.STYLED_COLUMN_SUSPEND:
643
- case StyledColumnRedux.STYLED_COLUMN_UNSUSPEND:
644
- case StyledColumnRedux.STYLED_COLUMN_SUSPEND_ALL:
645
- case StyledColumnRedux.STYLED_COLUMN_UNSUSPEND_ALL:
646
- case CustomSortRedux.CUSTOM_SORT_ADD:
647
- case CustomSortRedux.CUSTOM_SORT_EDIT:
648
- case CustomSortRedux.CUSTOM_SORT_DELETE:
649
- case CustomSortRedux.CUSTOM_SORT_SUSPEND:
650
- case CustomSortRedux.CUSTOM_SORT_UNSUSPEND:
651
- case CustomSortRedux.CUSTOM_SORT_SUSPEND_ALL:
652
- case CustomSortRedux.CUSTOM_SORT_UNSUSPEND_ALL: {
675
+ case InternalRedux.DATA_CHANGE_HISTORY_UNDO:
676
+ const actionTypedUndo = action;
677
+ const cellDataChangedInfo = actionTypedUndo.changeInfo;
678
+ adaptable.api.gridApi.undoCellEdit(cellDataChangedInfo);
679
+ return next(action);
680
+ case InternalRedux.DATA_CHANGE_HISTORY_ENABLE:
681
+ case InternalRedux.DATA_CHANGE_HISTORY_DISABLE:
682
+ case InternalRedux.DATA_CHANGE_HISTORY_SUSPEND:
683
+ case InternalRedux.DATA_CHANGE_HISTORY_RESUME:
653
684
  const returnAction = next(action);
654
- // called also for alert actions, see ALERT ACTIONS block
655
- adaptable.updateColumnModelAndRefreshGrid();
685
+ let module = (adaptable.adaptableModules.get(ModuleConstants.DataChangeHistoryModuleId));
686
+ if (module) {
687
+ module.checkListenToCellDataChanged();
688
+ }
656
689
  return returnAction;
657
- }
658
- /*******************
659
- * QUICK SEARCH ACTIONS
660
- *******************/
661
- /**
662
- * Use Case: User has run a Quick Search
663
- * Action1: Call Adaptable to redraw body so cells can be highlighted
664
- * Action2: Run Query using Quick Search text
665
- */
666
- case QuickSearchRedux.QUICK_SEARCH_RUN: {
690
+ case InternalRedux.CREATE_CELL_SUMMARY_INFO: {
691
+ let module = (adaptable.adaptableModules.get(ModuleConstants.CellSummaryModuleId));
667
692
  let returnAction = next(action);
668
- adaptable.refreshAllCells(true);
669
- // if set then return a query on the text
670
- if (adaptable.adaptableOptions.quickSearchOptions.filterResultsAfterQuickSearch) {
671
- const actionTyped = action;
672
- const searchText = actionTyped.quickSearchText;
673
- if (StringExtensions.IsNotNullOrEmpty(searchText)) {
674
- adaptable.setAgGridQuickSearch(searchText);
675
- }
676
- else {
677
- adaptable.setAgGridQuickSearch('');
678
- }
679
- }
693
+ let selectedCellInfo = middlewareAPI.getState().Internal.SelectedCellInfo;
694
+ let apiSummaryReturn = module.createCellSummaryInfo(selectedCellInfo);
695
+ adaptable.api.internalApi.setCellSummaryInfo(apiSummaryReturn);
680
696
  return returnAction;
681
697
  }
682
- /*******************
683
- * System FILTER ACTIONS
684
- *******************/
685
- case SystemRedux.SYSTEM_QUICK_FILTER_BAR_SHOW: {
686
- adaptable.showQuickFilter();
687
- return next(action);
688
- }
689
- case SystemRedux.SYSTEM_QUICK_FILTER_BAR_HIDE: {
690
- adaptable.hideQuickFilter();
691
- return next(action);
692
- }
693
- case SystemRedux.SYSTEM_FILTER_FORM_HIDE: {
694
- adaptable.api.gridApi.hideFilterForm();
695
- return next(action);
696
- }
697
- /**
698
- * Use Case: Column Filters have changed
699
- * Action: Apply Column Filtering and fire associated events
700
- */
701
- case LayoutRedux.LAYOUT_COLUMN_FILTER_ADD:
702
- case LayoutRedux.LAYOUT_COLUMN_FILTER_EDIT:
703
- case LayoutRedux.LAYOUT_COLUMN_FILTER_SET:
704
- case LayoutRedux.LAYOUT_COLUMN_FILTER_CLEAR:
705
- case LayoutRedux.LAYOUT_COLUMN_FILTER_CLEAR_ALL:
706
- case LayoutRedux.LAYOUT_COLUMN_FILTER_SUSPEND:
707
- case LayoutRedux.LAYOUT_COLUMN_FILTER_SUSPEND_ALL:
708
- case LayoutRedux.LAYOUT_COLUMN_FILTER_UNSUSPEND:
709
- case LayoutRedux.LAYOUT_COLUMN_FILTER_UNSUSPEND_ALL: {
710
- let returnAction;
711
- // needs to be called before 'next' so previous and next column filters are known
712
- const shouldTriggerColumnFiltering = adaptable.api.columnFilterApi.internalApi.shouldNewColumnFilterTriggerColumnFiltering(action);
713
- const currentLayout = adaptable.api.layoutApi.getCurrentLayout();
714
- if (((_g = adaptable.adaptableOptions.layoutOptions) === null || _g === void 0 ? void 0 : _g.autoSaveLayouts) &&
715
- !currentLayout.IsReadOnly) {
716
- returnAction = next(action);
717
- }
718
- else {
719
- if (!middlewareAPI.getState().Grid.CurrentLayout) {
720
- const currentLayout = adaptable.api.layoutApi.getCurrentLayout();
721
- middlewareAPI.dispatch(GridRedux.LayoutUpdateCurrentDraft(currentLayout));
722
- }
723
- // we have a layout draft, we have to update that state
724
- let draftLayoutAction;
725
- switch (action.type) {
726
- case LayoutRedux.LAYOUT_COLUMN_FILTER_ADD:
727
- draftLayoutAction = GridRedux.LayoutDraftColumnFilterAdd(action.columnFilter);
728
- break;
729
- case LayoutRedux.LAYOUT_COLUMN_FILTER_EDIT:
730
- draftLayoutAction = GridRedux.LayoutDraftColumnFilterEdit(action.columnFilter);
731
- break;
732
- case LayoutRedux.LAYOUT_COLUMN_FILTER_SET:
733
- draftLayoutAction = GridRedux.LayoutDraftColumnFilterSet(action.columnFilter);
734
- break;
735
- case LayoutRedux.LAYOUT_COLUMN_FILTER_CLEAR:
736
- draftLayoutAction = GridRedux.LayoutDraftColumnFilterClear(action.columnFilter);
737
- break;
738
- case LayoutRedux.LAYOUT_COLUMN_FILTER_CLEAR_ALL:
739
- draftLayoutAction = GridRedux.LayoutDraftColumnFilterClearAll();
740
- break;
741
- case LayoutRedux.LAYOUT_COLUMN_FILTER_SUSPEND:
742
- draftLayoutAction = GridRedux.LayoutDraftColumnFilterSuspend(action.columnFilter);
743
- break;
744
- case LayoutRedux.LAYOUT_COLUMN_FILTER_SUSPEND_ALL:
745
- draftLayoutAction = GridRedux.LayoutDraftColumnFilterSuspendAll();
746
- break;
747
- case LayoutRedux.LAYOUT_COLUMN_FILTER_UNSUSPEND:
748
- draftLayoutAction = GridRedux.LayoutDraftColumnFilterUnsuspend(action.columnFilter);
749
- break;
750
- case LayoutRedux.LAYOUT_COLUMN_FILTER_UNSUSPEND_ALL:
751
- draftLayoutAction = GridRedux.LayoutDraftColumnFilterUnsuspendAll();
752
- break;
753
- }
754
- returnAction = next(draftLayoutAction);
755
- }
756
- setTimeout(() => {
757
- if (shouldTriggerColumnFiltering) {
758
- adaptable.applyColumnFiltering();
759
- }
760
- }, 5);
761
- adaptable.api.columnFilterApi.internalApi.fireColumnFilterAppliedEvent();
762
- adaptable.api.layoutApi.internalApi.fireLayoutChangedEvent(action.type, null, middlewareAPI.getState().Layout);
763
- return returnAction;
764
- }
765
- /**
766
- * Use Case: Grid Filter has changed
767
- * Action: Apply Grid Filtering and fire associated events
768
- */
769
- case LayoutRedux.LAYOUT_GRID_FILTER_SET:
770
- case LayoutRedux.LAYOUT_GRID_FILTER_CLEAR:
771
- case LayoutRedux.LAYOUT_GRID_FILTER_SUSPEND:
772
- case LayoutRedux.LAYOUT_GRID_FILTER_UNSUSPEND: {
773
- const currentLayout = adaptable.api.layoutApi.getCurrentLayout();
774
- let returnAction;
775
- // - calls GridFilterApplied - examples
776
- adaptable.api.gridFilterApi.internalApi.fireGridFilterAppliedEvent();
777
- // - layout change event, row summary is triggered
778
- adaptable.api.layoutApi.internalApi.fireLayoutChangedEvent(action.type, null, middlewareAPI.getState().Layout);
779
- setTimeout(() => {
780
- // - agGridApi.onFilterChanged
781
- // - internal 'AdapTableFiltersApplied' event - evaluates row summary
782
- // - refresh selected cells and rows
783
- adaptable.applyGridFiltering();
784
- }, 5);
785
- if (((_h = adaptable.adaptableOptions.layoutOptions) === null || _h === void 0 ? void 0 : _h.autoSaveLayouts) &&
786
- !currentLayout.IsReadOnly) {
787
- return next(action);
788
- }
789
- else {
790
- if (!middlewareAPI.getState().Grid.CurrentLayout) {
791
- const currentLayout = adaptable.api.layoutApi.getCurrentLayout();
792
- middlewareAPI.dispatch(GridRedux.LayoutUpdateCurrentDraft(currentLayout));
793
- }
794
- switch (action.type) {
795
- case LayoutRedux.LAYOUT_GRID_FILTER_SET:
796
- returnAction = GridRedux.LayoutDraftGridFilterSet(Object.assign(Object.assign({}, currentLayout.GridFilter), { Expression: action.gridFilter }));
797
- break;
798
- case LayoutRedux.LAYOUT_GRID_FILTER_CLEAR:
799
- returnAction = GridRedux.LayoutDraftGridFilterSet(null);
800
- break;
801
- case LayoutRedux.LAYOUT_GRID_FILTER_SUSPEND:
802
- returnAction = GridRedux.LayoutDraftGridFilterSet(Object.assign(Object.assign({}, currentLayout.GridFilter), { IsSuspended: true }));
803
- break;
804
- case LayoutRedux.LAYOUT_GRID_FILTER_UNSUSPEND:
805
- returnAction = GridRedux.LayoutDraftGridFilterSet(Object.assign(Object.assign({}, currentLayout.GridFilter), { IsSuspended: false }));
806
- break;
807
- }
808
- }
809
- return next(returnAction);
810
- }
811
698
  /*******************
812
699
  * DATA SOURCE ACTIONS
813
700
  *******************/
814
701
  /**
815
702
  * Use Case: Data Sources have been amended
816
- * Action: Fire Data Source Changed event
703
+ * Action1: Fire Data Source Changed event
704
+ * Action2: Display a DataSet form if supplied
817
705
  */
818
- case SystemRedux.SYSTEM_DATA_SET_SELECT: {
706
+ case InternalRedux.DATA_SET_SELECT: {
819
707
  let returnAction = next(action);
820
708
  const dataSet = adaptable.api.dataSetApi.getCurrentDataSet();
821
- adaptable.api.dataSetApi.internalApi.fireDataSetSelectedEvent(dataSet);
709
+ adaptable.api.eventApi.internalApi.fireDataSetSelectedEvent(dataSet);
822
710
  requestAnimationFrame(() => {
823
- if (dataSet.form) {
824
- middlewareAPI.dispatch(PopupShowForm({
825
- Id: 'data-set-form',
826
- Form: dataSet.form,
827
- prepareContext: (context) => {
828
- return new Promise((resolve) => {
829
- const preparedContext = Object.assign(Object.assign({}, context), { dataSet });
830
- resolve(preparedContext);
831
- });
832
- },
833
- }));
834
- }
711
+ adaptable.api.dataSetApi.internalApi.showDataSetForm(dataSet);
835
712
  });
836
713
  return returnAction;
837
714
  }
@@ -858,8 +735,9 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
858
735
  case NoteRedux.NOTE_EDIT:
859
736
  case NoteRedux.NOTE_DELETE: {
860
737
  let returnAction = next(action);
861
- const node = adaptable.api.gridApi.getRowNodeForPrimaryKey(returnAction.adaptableNote.PrimaryKeyValue);
862
- adaptable.refreshCells([node], [returnAction.adaptableNote.ColumnId], true);
738
+ adaptable.AnnotationsService.checkListenToEvents();
739
+ const rowNode = adaptable.api.gridApi.getRowNodeForPrimaryKey(returnAction.adaptableNote.PrimaryKeyValue);
740
+ adaptable.api.gridApi.refreshCell(rowNode, returnAction.adaptableNote.ColumnId, true);
863
741
  return returnAction;
864
742
  }
865
743
  /*******************
@@ -875,37 +753,38 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
875
753
  case CommentsRedux.COMMENTS_CELL_DELETE:
876
754
  case CommentsRedux.COMMENTS_CELL_ADD: {
877
755
  let returnAction = next(action);
878
- let node = null;
756
+ adaptable.AnnotationsService.checkListenToEvents();
757
+ let rowNode = null;
879
758
  let columnId = null;
880
759
  if ('cellAddress' in returnAction) {
881
- node = adaptable.api.gridApi.getRowNodeForPrimaryKey(returnAction.cellAddress.PrimaryKeyValue);
760
+ rowNode = adaptable.api.gridApi.getRowNodeForPrimaryKey(returnAction.cellAddress.PrimaryKeyValue);
882
761
  columnId = returnAction.cellAddress.ColumnId;
883
762
  }
884
763
  else if ('cellComments' in returnAction) {
885
- node = adaptable.api.gridApi.getRowNodeForPrimaryKey(returnAction.cellComments.PrimaryKeyValue);
764
+ rowNode = adaptable.api.gridApi.getRowNodeForPrimaryKey(returnAction.cellComments.PrimaryKeyValue);
886
765
  columnId = returnAction.cellComments.ColumnId;
887
766
  }
888
- if (node && columnId) {
889
- adaptable.refreshCells([node], [columnId], true);
767
+ if (rowNode && columnId) {
768
+ adaptable.api.gridApi.refreshCell(rowNode, columnId, true);
890
769
  requestAnimationFrame(() => {
891
- var _a, _b;
892
- const commentThreads = adaptable.api.commentApi.getGridComments();
893
- adaptable.api.eventApi.emit('CommentChanged', adaptable.api.commentApi.getGridComments());
894
- (_b = (_a = adaptable.api.optionsApi
895
- .getCommentOptions()) === null || _a === void 0 ? void 0 : _a.persistCommentThreads) === null || _b === void 0 ? void 0 : _b.call(_a, commentThreads);
770
+ const commentThreads = adaptable.api.commentApi.getAllComments();
771
+ adaptable.api.eventApi.emit('CommentChanged', commentThreads);
772
+ adaptable.api.optionsApi
773
+ .getCommentOptions()
774
+ ?.persistCommentThreads?.(commentThreads);
896
775
  });
897
776
  }
898
777
  return returnAction;
899
778
  }
900
779
  case CommentsRedux.COMMENTS_LOAD: {
901
- const previousCommentThreads = adaptable.api.commentApi.getGridComments();
780
+ const previousCommentThreads = adaptable.api.commentApi.getAllComments();
902
781
  let returnAction = next(action);
903
- const newCommentThreads = (_j = adaptable.api.commentApi.getGridComments()) !== null && _j !== void 0 ? _j : [];
782
+ const newCommentThreads = adaptable.api.commentApi.getAllComments() ?? [];
904
783
  requestAnimationFrame(() => {
905
784
  let addedCommentThreads = [];
906
785
  let deletedCommentThreads = [];
907
- const prevCommentThreadsSet = new Set((previousCommentThreads !== null && previousCommentThreads !== void 0 ? previousCommentThreads : []).map((c) => c.Uuid));
908
- const newCommentThreadsSet = new Set((newCommentThreads !== null && newCommentThreads !== void 0 ? newCommentThreads : []).map((c) => c.Uuid));
786
+ const prevCommentThreadsSet = new Set((previousCommentThreads ?? []).map((c) => c.Uuid));
787
+ const newCommentThreadsSet = new Set((newCommentThreads ?? []).map((c) => c.Uuid));
909
788
  for (const commentThread of newCommentThreads) {
910
789
  if (!prevCommentThreadsSet.has(commentThread.Uuid)) {
911
790
  addedCommentThreads.push(commentThread);
@@ -922,7 +801,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
922
801
  [...addedCommentThreads, ...deletedCommentThreads].forEach((commentThread) => {
923
802
  const node = adaptable.api.gridApi.getRowNodeForPrimaryKey(commentThread.PrimaryKeyValue);
924
803
  if (node && commentThread.ColumnId) {
925
- adaptable.refreshCells([node], [commentThread.ColumnId], true);
804
+ adaptable.api.gridApi.refreshCell(node, commentThread.ColumnId, true);
926
805
  }
927
806
  });
928
807
  });
@@ -983,7 +862,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
983
862
  const oldDashboardState = middlewareAPI.getState().Dashboard;
984
863
  let returnAction = next(action);
985
864
  const newDashboardState = middlewareAPI.getState().Dashboard;
986
- adaptable.api.dashboardApi.internalApi.fireDashboardChangedEvent(action.type, oldDashboardState, newDashboardState);
865
+ adaptable.api.eventApi.internalApi.fireDashboardChangedEvent(action.type, oldDashboardState, newDashboardState);
987
866
  return returnAction;
988
867
  }
989
868
  /*******************
@@ -1000,44 +879,30 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1000
879
  const previousLayout = adaptable.api.layoutApi.getCurrentLayout();
1001
880
  let returnAction = next(action);
1002
881
  const newLayoutState = middlewareAPI.getState().Layout;
1003
- adaptable.api.layoutApi.internalApi.fireLayoutChangedEvent(action.type, oldLayoutState, newLayoutState);
1004
- // Tell Grid to apply column filtering if filters have been changed in a loaded Layout
1005
- const oldFilters = (_k = oldLayoutState.Layouts.find((l) => l.Name == oldLayoutState.CurrentLayout)) === null || _k === void 0 ? void 0 : _k.ColumnFilters;
1006
- const newFilters = (_l = newLayoutState.Layouts.find((l) => l.Name == newLayoutState.CurrentLayout)) === null || _l === void 0 ? void 0 : _l.ColumnFilters;
1007
- if (adaptable.api.columnFilterApi.internalApi.areColumnFiltersDifferent(oldFilters, newFilters)) {
1008
- adaptable.applyColumnFiltering();
882
+ adaptable.api.eventApi.internalApi.fireLayoutChangedEvent(action.type, oldLayoutState, newLayoutState);
883
+ const oldLayout = (oldLayoutState.Layouts || []).find((l) => l.Name == oldLayoutState.CurrentLayout) || ERROR_LAYOUT;
884
+ const newLayout = (newLayoutState.Layouts || []).find((l) => l.Name == newLayoutState.CurrentLayout) ||
885
+ newLayoutState.Layouts[0] ||
886
+ ERROR_LAYOUT;
887
+ // Apply filtering if Column or Grid filters have been changed
888
+ let refreshFilters = false;
889
+ if (adaptable.api.filterApi.columnFilterApi.internalApi.areColumnFiltersDifferent(oldLayout.ColumnFilters, newLayout.ColumnFilters)) {
890
+ refreshFilters = true;
891
+ }
892
+ // Apply Grid filtering if Grid filter has been changed
893
+ if (!refreshFilters &&
894
+ adaptable.api.filterApi.gridFilterApi.internalApi.isGridFilterDifferent(oldLayout.GridFilter, newLayout.GridFilter)) {
895
+ refreshFilters = true;
1009
896
  }
1010
- // Tell Grid to apply filtering if filters have been changed in a loaded Layout
1011
- const oldGridFilter = (_m = oldLayoutState.Layouts.find((l) => l.Name == oldLayoutState.CurrentLayout)) === null || _m === void 0 ? void 0 : _m.GridFilter;
1012
- const newGridFilter = (_o = newLayoutState.Layouts.find((l) => l.Name == newLayoutState.CurrentLayout)) === null || _o === void 0 ? void 0 : _o.GridFilter;
1013
- if (adaptable.api.gridFilterApi.internalApi.isGridFilterDifferent(oldGridFilter, newGridFilter)) {
1014
- adaptable.applyGridFiltering();
897
+ if (refreshFilters) {
898
+ adaptable.applyFiltering();
1015
899
  }
1016
900
  if (returnAction.type == LayoutRedux.LAYOUT_SELECT ||
1017
901
  returnAction.type == LayoutRedux.LAYOUT_DELETE ||
1018
902
  returnAction.type == LayoutRedux.LAYOUT_COLUMN_SET_CAPTION) {
1019
- let gridState = middlewareAPI.getState().Grid;
1020
- let currentLayout = newLayoutState.Layouts.find((l) => l.Name == newLayoutState.CurrentLayout);
1021
- if (gridState.CurrentLayout) {
1022
- currentLayout = gridState.CurrentLayout;
1023
- }
1024
- if (currentLayout) {
1025
- // tell grid the layout has been selected
1026
- adaptable.setLayout(currentLayout);
1027
- }
1028
- if (!((_p = adaptable.adaptableOptions.layoutOptions) === null || _p === void 0 ? void 0 : _p.autoSaveLayouts)) {
1029
- middlewareAPI.dispatch(GridRedux.LayoutUpdateCurrentDraft(currentLayout));
1030
- }
1031
- }
1032
- if (returnAction.type == LayoutRedux.LAYOUT_ADD ||
1033
- returnAction.type == LayoutRedux.LAYOUT_SAVE) {
1034
- const actionTyped = action;
1035
- // if autosave is false
1036
- if (!((_q = adaptable.adaptableOptions.layoutOptions) === null || _q === void 0 ? void 0 : _q.autoSaveLayouts)) {
1037
- // and the current layout is saved, make sure we also update the draft
1038
- if (actionTyped.layout.Name === newLayoutState.CurrentLayout) {
1039
- middlewareAPI.dispatch(GridRedux.LayoutUpdateCurrentDraft(actionTyped.layout));
1040
- }
903
+ // tell AdapTable the Layout has been selected
904
+ if (newLayout) {
905
+ adaptable.setLayout(newLayout);
1041
906
  }
1042
907
  }
1043
908
  // when changing current layout via the api, the layout should update
@@ -1051,9 +916,51 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1051
916
  adaptable.setLayout(savingLayout);
1052
917
  }
1053
918
  }
1054
- adaptable.refreshQuickFilter();
1055
919
  return returnAction;
1056
920
  }
921
+ /**
922
+ * Use Case: Column Filters have changed
923
+ * Action: Apply Column Filtering and fire associated events
924
+ */
925
+ case LayoutRedux.LAYOUT_COLUMN_FILTER_ADD:
926
+ case LayoutRedux.LAYOUT_COLUMN_FILTER_EDIT:
927
+ case LayoutRedux.LAYOUT_COLUMN_FILTER_SET:
928
+ case LayoutRedux.LAYOUT_COLUMN_FILTER_CLEAR:
929
+ case LayoutRedux.LAYOUT_COLUMN_FILTER_CLEAR_ALL:
930
+ case LayoutRedux.LAYOUT_COLUMN_FILTER_SUSPEND:
931
+ case LayoutRedux.LAYOUT_COLUMN_FILTER_SUSPEND_ALL:
932
+ case LayoutRedux.LAYOUT_COLUMN_FILTER_UNSUSPEND:
933
+ case LayoutRedux.LAYOUT_COLUMN_FILTER_UNSUSPEND_ALL: {
934
+ let returnAction;
935
+ // needs to be called before 'next' so previous and next column filters are known
936
+ const shouldTriggerColumnFiltering = adaptable.api.filterApi.columnFilterApi.internalApi.shouldNewColumnFilterTriggerColumnFiltering(action);
937
+ const oldLayoutState = middlewareAPI.getState().Layout;
938
+ returnAction = next(action);
939
+ setTimeout(() => {
940
+ if (shouldTriggerColumnFiltering) {
941
+ adaptable.applyFiltering();
942
+ }
943
+ }, 5);
944
+ adaptable.api.eventApi.internalApi.fireColumnFilterAppliedEvent();
945
+ adaptable.api.eventApi.internalApi.fireLayoutChangedEvent(action.type, oldLayoutState, middlewareAPI.getState().Layout);
946
+ return returnAction;
947
+ }
948
+ /**
949
+ * Use Case: Grid Filter has changed
950
+ * Action: Apply Grid Filtering and fire associated events
951
+ */
952
+ case LayoutRedux.LAYOUT_GRID_FILTER_SET:
953
+ case LayoutRedux.LAYOUT_GRID_FILTER_CLEAR:
954
+ case LayoutRedux.LAYOUT_GRID_FILTER_SUSPEND:
955
+ case LayoutRedux.LAYOUT_GRID_FILTER_UNSUSPEND: {
956
+ let returnAction = next(action);
957
+ adaptable.api.eventApi.internalApi.fireGridFilterAppliedEvent();
958
+ adaptable.api.eventApi.internalApi.fireLayoutChangedEvent(action.type, null, middlewareAPI.getState().Layout);
959
+ setTimeout(() => {
960
+ adaptable.applyFiltering();
961
+ }, 5);
962
+ return next(returnAction);
963
+ }
1057
964
  /*******************
1058
965
  * SMART EDIT ACTIONS
1059
966
  *******************/
@@ -1067,7 +974,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1067
974
  * Action (3): Build the Preview Values (via Smart Edit module)
1068
975
  * Action (4): Set the Preview Values (this will populate the preview screen)
1069
976
  */
1070
- case SystemRedux.SYSTEM_SMARTEDIT_CHECK_CELL_SELECTION: {
977
+ case InternalRedux.SMARTEDIT_CHECK_CELL_SELECTION: {
1071
978
  let module = (adaptable.adaptableModules.get(ModuleConstants.SmartEditModuleId));
1072
979
  let state = middlewareAPI.getState();
1073
980
  let returnAction = next(action);
@@ -1081,16 +988,16 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1081
988
  // check if Smart Edit is showing as popup and then close and show error (dont want to do that if from toolbar)
1082
989
  if (popup.ComponentName == 'SmartEditPopup') {
1083
990
  // We are in SmartEditPopup so let's close it
1084
- middlewareAPI.dispatch(PopupRedux.PopupHideScreen());
991
+ adaptable.api.internalApi.hidePopupScreen();
1085
992
  // and now show the alert Popup
1086
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert(apiReturn.Alert));
993
+ adaptable.api.alertApi.displayAdaptableAlertNotification(apiReturn.Alert);
1087
994
  }
1088
- middlewareAPI.dispatch(SystemRedux.SmartEditSetValidSelection(false));
995
+ middlewareAPI.dispatch(InternalRedux.SmartEditSetValidSelection(false));
1089
996
  }
1090
997
  else {
1091
- middlewareAPI.dispatch(SystemRedux.SmartEditSetValidSelection(true));
1092
- let apiPreviewReturn = module.BuildPreviewValues(state.System.SmartEditValue, state.System.SmartEditOperation);
1093
- middlewareAPI.dispatch(SystemRedux.SmartEditSetPreview(apiPreviewReturn));
998
+ middlewareAPI.dispatch(InternalRedux.SmartEditSetValidSelection(true));
999
+ let apiPreviewReturn = module.BuildPreviewValues(state.Internal.SmartEdit.SmartEditValue, state.Internal.SmartEdit.SmartEditOperation);
1000
+ middlewareAPI.dispatch(InternalRedux.SmartEditSetPreview(apiPreviewReturn));
1094
1001
  }
1095
1002
  }
1096
1003
  return returnAction;
@@ -1100,16 +1007,16 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1100
1007
  * Action (1): Get the new preview set from the Smart Edit module
1101
1008
  * Action (2): Set the Preview Values (this will populate the preview screen)
1102
1009
  */
1103
- case SystemRedux.SYSTEM_SMART_EDIT_CHANGE_OPERATION:
1104
- case SystemRedux.SYSTEM_SMART_EDIT_CHANGE_VALUE:
1105
- case SystemRedux.SYSTEM_SMARTEDIT_FETCH_PREVIEW: {
1010
+ case InternalRedux.SMART_EDIT_CHANGE_OPERATION:
1011
+ case InternalRedux.SMART_EDIT_CHANGE_VALUE:
1012
+ case InternalRedux.SMARTEDIT_FETCH_PREVIEW: {
1106
1013
  //all our logic needs to be executed AFTER the main reducers
1107
1014
  //so our state is up to date which allow us not to care about the data within each different action
1108
1015
  let returnAction = next(action);
1109
1016
  let module = (adaptable.adaptableModules.get(ModuleConstants.SmartEditModuleId));
1110
1017
  let state = middlewareAPI.getState();
1111
- let apiReturn = module.BuildPreviewValues(state.System.SmartEditValue, state.System.SmartEditOperation);
1112
- middlewareAPI.dispatch(SystemRedux.SmartEditSetPreview(apiReturn));
1018
+ let apiReturn = module.BuildPreviewValues(state.Internal.SmartEdit.SmartEditValue, state.Internal.SmartEdit.SmartEditOperation);
1019
+ middlewareAPI.dispatch(InternalRedux.SmartEditSetPreview(apiReturn));
1113
1020
  return returnAction;
1114
1021
  }
1115
1022
  /**
@@ -1119,16 +1026,16 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1119
1026
  */
1120
1027
  case SmartEditRedux.SMART_EDIT_APPLY: {
1121
1028
  const actionTyped = action;
1122
- let thePreview = middlewareAPI.getState().System.SmartEditPreviewInfo;
1029
+ let thePreview = middlewareAPI.getState().Internal.SmartEdit.SmartEditPreviewInfo;
1123
1030
  let newValues = PreviewHelper.GetCellUpdateRequestsFromPreview(thePreview, actionTyped.bypassValidationWarnings);
1124
1031
  adaptable.api.gridApi.setCellValues(newValues);
1125
- middlewareAPI.dispatch(PopupRedux.PopupHideScreen());
1032
+ adaptable.api.internalApi.hidePopupScreen();
1126
1033
  return next(action);
1127
1034
  }
1128
1035
  /*******************
1129
1036
  * BULK UPDATE ACTIONS
1130
1037
  *******************/
1131
- case SystemRedux.SYSTEM_BULK_UPDATE_CHECK_CELL_SELECTION: {
1038
+ case InternalRedux.BULK_UPDATE_CHECK_CELL_SELECTION: {
1132
1039
  let module = (adaptable.adaptableModules.get(ModuleConstants.BulkUpdateModuleId));
1133
1040
  let state = middlewareAPI.getState();
1134
1041
  let returnAction = next(action);
@@ -1142,32 +1049,32 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1142
1049
  // check if BulkUpdate is showing as popup
1143
1050
  if (popup.ComponentName == 'BulkUpdatePopup') {
1144
1051
  //We close the BulkUpdatePopup
1145
- middlewareAPI.dispatch(PopupRedux.PopupHideScreen());
1052
+ adaptable.api.internalApi.hidePopupScreen();
1146
1053
  //We show the Error Popup -- assume that will alwasy be an Error
1147
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert(apiReturn.Alert));
1054
+ adaptable.api.alertApi.displayAdaptableAlertNotification(apiReturn.Alert);
1148
1055
  }
1149
1056
  }
1150
- middlewareAPI.dispatch(SystemRedux.BulkUpdateSetValidSelection(apiReturn));
1057
+ middlewareAPI.dispatch(InternalRedux.BulkUpdateSetValidSelection(apiReturn));
1151
1058
  }
1152
1059
  return returnAction;
1153
1060
  }
1154
1061
  // Here we have all actions that triggers a refresh of the BulkUpdatePreview
1155
- case SystemRedux.SYSTEM_BULK_UPDATE_CHANGE_VALUE: {
1062
+ case InternalRedux.BULK_UPDATE_CHANGE_VALUE: {
1156
1063
  //all our logic needs to be executed AFTER the main reducers
1157
1064
  //so our state is up to date which allow us not to care about the data within each different action
1158
1065
  let returnAction = next(action);
1159
1066
  let module = (adaptable.adaptableModules.get(ModuleConstants.BulkUpdateModuleId));
1160
1067
  let state = middlewareAPI.getState();
1161
- let apiReturn = module.buildPreviewValues(state.System.BulkUpdateValue);
1162
- middlewareAPI.dispatch(SystemRedux.BulkUpdateSetPreview(apiReturn));
1068
+ let apiReturn = module.buildPreviewValues(state.Internal.BulkUpdate.BulkUpdateValue);
1069
+ middlewareAPI.dispatch(InternalRedux.BulkUpdateSetPreview(apiReturn));
1163
1070
  return returnAction;
1164
1071
  }
1165
1072
  case BulkUpdateRedux.BULK_UPDATE_APPLY: {
1166
1073
  const actionTyped = action;
1167
- let thePreview = middlewareAPI.getState().System.BulkUpdatePreviewInfo;
1074
+ let thePreview = middlewareAPI.getState().Internal.BulkUpdate.BulkUpdatePreviewInfo;
1168
1075
  let newValues = PreviewHelper.GetCellUpdateRequestsFromPreview(thePreview, actionTyped.bypassValidationWarnings);
1169
1076
  adaptable.api.gridApi.setCellValues(newValues);
1170
- middlewareAPI.dispatch(PopupRedux.PopupHideScreen());
1077
+ adaptable.api.internalApi.hidePopupScreen();
1171
1078
  return next(action);
1172
1079
  }
1173
1080
  /*******************
@@ -1217,31 +1124,23 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1217
1124
  /*******************
1218
1125
  * EXPORT ACTIONS
1219
1126
  *******************/
1127
+ // When selected report is undefined, clear the format
1220
1128
  case ExportRedux.REPORT_SELECT: {
1221
1129
  const actionTyped = action;
1222
1130
  let returnAction = next(action);
1223
1131
  const selectedReport = actionTyped.SelectedReport;
1224
- if (!selectedReport ||
1225
- (selectedReport === VISUAL_DATA_REPORT &&
1226
- middlewareAPI.getState().Export.CurrentDestination !== ExportDestination.Excel)) {
1227
- middlewareAPI.dispatch(ExportRedux.DestinationSelect(null));
1132
+ if (selectedReport == undefined) {
1133
+ adaptable.api.exportApi.clearFormat();
1228
1134
  }
1229
1135
  return returnAction;
1230
1136
  }
1231
- case ExportRedux.EXPORT_APPLY: {
1232
- let module = (adaptable.adaptableModules.get(ModuleConstants.ExportModuleId));
1233
- const actionTyped = action;
1234
- module.export(actionTyped.Report, actionTyped.ExportDestination);
1235
- return next(action);
1236
- }
1237
- // When deleting a report check if its the currently selected one
1238
- // if it is then clear
1137
+ // When deleting a report, if it is currently selected clear it
1239
1138
  case ExportRedux.REPORT_DELETE: {
1240
1139
  const actionTyped = action;
1241
1140
  let report = actionTyped.report;
1242
1141
  let currentReport = middlewareAPI.getState().Export.CurrentReport;
1243
1142
  if (report && report.Name == currentReport) {
1244
- middlewareAPI.dispatch(ExportRedux.ReportSelect(EMPTY_STRING));
1143
+ adaptable.api.exportApi.clearReport();
1245
1144
  }
1246
1145
  return next(action);
1247
1146
  }
@@ -1264,13 +1163,14 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1264
1163
  middlewareAPI.dispatch(TeamSharingRedux.TeamSharingSet(sharedEntities));
1265
1164
  })
1266
1165
  .catch((error) => {
1267
- adaptable.logger.error('TeamSharing get error : ' + error.message);
1268
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
1166
+ adaptable.api.logError('TeamSharing get error : ' + error.message);
1167
+ const alert = {
1269
1168
  alertType: 'generic',
1270
1169
  header: 'Team Sharing',
1271
1170
  message: "Couldn't get shared items: " + error.message,
1272
1171
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
1273
- }));
1172
+ };
1173
+ adaptable.api.alertApi.displayAdaptableAlertNotification(alert);
1274
1174
  });
1275
1175
  return returnAction;
1276
1176
  }
@@ -1291,7 +1191,11 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1291
1191
  // if it has the same UUID, override it
1292
1192
  if (isCustomSharedEntity(entity) && entity.Uuid === customSharedEntity.Uuid) {
1293
1193
  newCustomShare = false;
1294
- return Object.assign(Object.assign({}, customSharedEntity), { ChangedAt: Date.now(), ChangedBy: adaptable.api.optionsApi.getUserName() });
1194
+ return {
1195
+ ...customSharedEntity,
1196
+ ChangedAt: Date.now(),
1197
+ ChangedBy: adaptable.api.optionsApi.getUserName(),
1198
+ };
1295
1199
  }
1296
1200
  return entity;
1297
1201
  });
@@ -1305,11 +1209,11 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1305
1209
  })
1306
1210
  .then(() => {
1307
1211
  if (shareSuccessful) {
1308
- adaptable.logger.info(`Custom Shared Object '${Configuration.Name}' Shared Successfully`);
1212
+ adaptable.api.logInfo(`Custom Shared Object '${Configuration.Name}' Shared Successfully`);
1309
1213
  }
1310
1214
  })
1311
1215
  .catch((error) => {
1312
- adaptable.logger.error('TeamSharing share error : ' + error.message, actionTyped.Entity);
1216
+ adaptable.api.logError('TeamSharing share error : ' + error.message, actionTyped.Entity);
1313
1217
  });
1314
1218
  return returnAction;
1315
1219
  }
@@ -1330,12 +1234,13 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1330
1234
  const existingActiveSharedEntity = Configuration.type === 'Active' &&
1331
1235
  middlewareAPI.getState().TeamSharing.ActiveSharedEntityMap[Entity.Uuid];
1332
1236
  if (existingActiveSharedEntity) {
1333
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
1237
+ const alert = {
1334
1238
  alertType: 'generic',
1335
1239
  header: 'Team Sharing',
1336
- message: `Couldn't share ${adaptable.api.internalApi.getModuleFriendlyName(Module)}, there is already an existing active share for it: ${existingActiveSharedEntity.Description}`,
1240
+ message: `Couldn't share ${adaptable.ModuleService.getModuleFriendlyName(Module)}, there is already an existing active share for it: ${existingActiveSharedEntity.Description}`,
1337
1241
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
1338
- }));
1242
+ };
1243
+ adaptable.api.alertApi.displayAdaptableAlertNotification(alert);
1339
1244
  shareSuccessful = false;
1340
1245
  return;
1341
1246
  }
@@ -1353,22 +1258,24 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1353
1258
  })
1354
1259
  .then(() => {
1355
1260
  if (shareSuccessful) {
1356
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
1261
+ const alert = {
1357
1262
  alertType: 'generic',
1358
1263
  header: 'Team Sharing',
1359
- message: `${adaptable.api.internalApi.getModuleFriendlyName(Module)} Shared Successfully`,
1264
+ message: `${adaptable.ModuleService.getModuleFriendlyName(Module)} Shared Successfully`,
1360
1265
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Success'),
1361
- }));
1266
+ };
1267
+ adaptable.api.alertApi.displayAdaptableAlertNotification(alert);
1362
1268
  }
1363
1269
  })
1364
1270
  .catch((error) => {
1365
- adaptable.logger.error('TeamSharing share error : ' + error.message, actionTyped.Entity);
1366
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
1271
+ adaptable.api.logError('TeamSharing share error : ' + error.message, actionTyped.Entity);
1272
+ const alert = {
1367
1273
  alertType: 'generic',
1368
1274
  header: 'Team Sharing',
1369
1275
  message: "Couldn't share item: " + error.message,
1370
1276
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
1371
- }));
1277
+ };
1278
+ adaptable.api.alertApi.displayAdaptableAlertNotification(alert);
1372
1279
  });
1373
1280
  return returnAction;
1374
1281
  }
@@ -1388,14 +1295,15 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1388
1295
  .getTeamSharingService()
1389
1296
  .getSharedEntityDependants(removedEntityId, adaptableSharedEntities);
1390
1297
  if (sharedEntityDependants.length) {
1391
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
1298
+ const alert = {
1392
1299
  alertType: 'generic',
1393
1300
  header: `Cannot remove the shared item as it is referenced in:`,
1394
1301
  message: sharedEntityDependants
1395
- .map((sharedEntity) => `${adaptable.api.internalApi.getModuleFriendlyName(sharedEntity.Module)} ${sharedEntity.Description}`)
1302
+ .map((sharedEntity) => `${adaptable.ModuleService.getModuleFriendlyName(sharedEntity.Module)} ${sharedEntity.Description}`)
1396
1303
  .join('\n'),
1397
1304
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Warning'),
1398
- }));
1305
+ };
1306
+ adaptable.api.alertApi.displayAdaptableAlertNotification(alert);
1399
1307
  return;
1400
1308
  }
1401
1309
  // remove the deleted SharedEntity from local state
@@ -1405,13 +1313,14 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1405
1313
  return adaptable.api.teamSharingApi.persistSharedEntities(newSharedEntities);
1406
1314
  })
1407
1315
  .catch((error) => {
1408
- adaptable.logger.error('TeamSharing remove error : ' + error.message);
1409
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
1316
+ adaptable.api.logError('TeamSharing remove error : ' + error.message);
1317
+ const alert = {
1410
1318
  alertType: 'generic',
1411
1319
  header: 'Team Sharing',
1412
1320
  message: "Couldn't remove item: " + error.message,
1413
1321
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
1414
- }));
1322
+ };
1323
+ adaptable.api.alertApi.displayAdaptableAlertNotification(alert);
1415
1324
  });
1416
1325
  return returnAction;
1417
1326
  }
@@ -1438,7 +1347,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1438
1347
  ShowInputBox: false,
1439
1348
  MessageType: 'Warning',
1440
1349
  };
1441
- middlewareAPI.dispatch(PopupRedux.PopupShowConfirmation(confirmation));
1350
+ adaptable.api.internalApi.showPopupConfirmation(confirmation);
1442
1351
  }
1443
1352
  else {
1444
1353
  middlewareAPI.dispatch(processImportAction);
@@ -1463,7 +1372,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1463
1372
  }
1464
1373
  }
1465
1374
  else {
1466
- adaptable.logger.error('Team Sharing Import Error: Unknown item type', sharedEntity);
1375
+ adaptable.api.logError('Team Sharing Import Error: Unknown item type', sharedEntity);
1467
1376
  }
1468
1377
  }
1469
1378
  if (activeSharedEntities.length) {
@@ -1474,12 +1383,13 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1474
1383
  .waitForTeamSharingImportEnd()
1475
1384
  .then(() => middlewareAPI.dispatch(TeamSharingRedux.TeamSharingCommitImport()))
1476
1385
  .catch(() => middlewareAPI.dispatch(TeamSharingRedux.TeamSharingCommitImport()));
1477
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
1386
+ const alert = {
1478
1387
  alertType: 'generic',
1479
1388
  header: 'Team Sharing',
1480
1389
  message: `Item Successfully Imported`,
1481
1390
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Success'),
1482
- }));
1391
+ };
1392
+ adaptable.api.alertApi.displayAdaptableAlertNotification(alert);
1483
1393
  return returnAction;
1484
1394
  }
1485
1395
  // update the active SharedEntity with the latest (updated) state of the local AdaptableObject
@@ -1512,13 +1422,14 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1512
1422
  return adaptable.api.teamSharingApi.persistSharedEntities(updatedSharedEntities);
1513
1423
  })
1514
1424
  .catch((error) => {
1515
- adaptable.logger.error('TeamSharing update active item error : ' + error.message);
1516
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
1425
+ adaptable.api.logError('TeamSharing update active item error : ' + error.message);
1426
+ const alert = {
1517
1427
  alertType: 'generic',
1518
1428
  header: 'Team Sharing',
1519
1429
  message: "Couldn't update active item: " + error.message,
1520
1430
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
1521
- }));
1431
+ };
1432
+ adaptable.api.alertApi.displayAdaptableAlertNotification(alert);
1522
1433
  });
1523
1434
  return returnAction;
1524
1435
  }
@@ -1532,58 +1443,17 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1532
1443
  adaptable.api.internalApi.getTeamSharingService().showUpdateNotifications();
1533
1444
  })
1534
1445
  .catch((error) => {
1535
- adaptable.logger.error('TeamSharing update error : ' + error.message);
1536
- middlewareAPI.dispatch(PopupRedux.PopupShowAlert({
1446
+ adaptable.api.logError('TeamSharing update error : ' + error.message);
1447
+ const alert = {
1537
1448
  alertType: 'generic',
1538
1449
  header: 'Team Sharing',
1539
1450
  message: "Couldn't check for updates: " + error.message,
1540
1451
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
1541
- }));
1452
+ };
1453
+ adaptable.api.alertApi.displayAdaptableAlertNotification(alert);
1542
1454
  });
1543
1455
  return returnAction;
1544
1456
  }
1545
- /*******************
1546
- * DATA CHANGE HISTORY ACTIONS
1547
- *******************/
1548
- case SystemRedux.SYSTEM_DATA_CHANGE_HISTORY_UNDO:
1549
- const actionTypedUndo = action;
1550
- const cellDataChangedInfo = actionTypedUndo.changeInfo;
1551
- adaptable.api.gridApi.undoCellEdit(cellDataChangedInfo);
1552
- return next(action);
1553
- /*******************
1554
- * SYSTEM (INTERNAL) ACTIONS
1555
- *******************/
1556
- case SystemRedux.SYSTEM_SET_NEW_COLUMN_LIST_ORDER:
1557
- const actionTyped = action;
1558
- adaptable.setColumnOrder(actionTyped.visibleColumnList);
1559
- return next(action);
1560
- /*******************
1561
- * GRID (INTERNAL) ACTIONS
1562
- *******************/
1563
- case GridRedux.GRID_CREATE_CELLS_SUMMARY: {
1564
- let module = (adaptable.adaptableModules.get(ModuleConstants.CellSummaryModuleId));
1565
- let returnAction = next(action);
1566
- let selectedCellInfo = middlewareAPI.getState().Grid.SelectedCellInfo;
1567
- let apiSummaryReturn = module.createCellSummary(selectedCellInfo);
1568
- middlewareAPI.dispatch(GridRedux.GridSetCellSummary(apiSummaryReturn));
1569
- return returnAction;
1570
- }
1571
- case GridRedux.GRID_REFRESH_CELLS: {
1572
- const actionTyped = action;
1573
- let ret = next(action);
1574
- adaptable.refreshCells(actionTyped.rowNodes, actionTyped.columnIds, true);
1575
- return ret;
1576
- }
1577
- case GridRedux.GRID_SET_SORT: {
1578
- let ret = next(action);
1579
- adaptable.api.gridApi.internalApi.fireGridSortedEvent();
1580
- return ret;
1581
- }
1582
- case GridRedux.GRID_CLEAR_SORT: {
1583
- let ret = next(action);
1584
- adaptable.api.gridApi.internalApi.fireGridSortedEvent();
1585
- return ret;
1586
- }
1587
1457
  /*******************
1588
1458
  * POPUP (INTERNAL) ACTIONS
1589
1459
  *******************/
@@ -1623,12 +1493,10 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
1623
1493
  case INIT_STATE: {
1624
1494
  let returnAction = next(action);
1625
1495
  if (adaptable.isReady) {
1626
- // TODO see #create-create-module-menu
1627
- // create the module menu (for use in the dashboard and the toolpanel)
1628
1496
  // we need this here for when the state key is changed
1629
1497
  // since we need the transient state to be restored in the same
1630
1498
  // way as when Adaptable is initialised.
1631
- adaptable.ModuleService.createModuleMenus();
1499
+ adaptable.ModuleService.createModuleUIItems();
1632
1500
  }
1633
1501
  return returnAction;
1634
1502
  }