@adaptabletools/adaptable 17.0.0-canary.0 → 17.0.0-canary.10

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 (1454) hide show
  1. package/agGrid.js +32 -26
  2. package/base.css +66 -20
  3. package/base.css.map +1 -1
  4. package/bundle.cjs.js +689 -0
  5. package/index.css +81 -21
  6. package/index.css.map +1 -1
  7. package/package.json +6 -109
  8. package/publishTimestamp.d.ts +1 -1
  9. package/publishTimestamp.js +3 -1
  10. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +2 -2
  11. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +2 -1
  12. package/src/AdaptableInterfaces/IAdaptable.d.ts +17 -11
  13. package/src/AdaptableInterfaces/IAdaptable.js +2 -1
  14. package/src/AdaptableOptions/ActionColumnOptions.js +2 -1
  15. package/src/AdaptableOptions/ActionRowOptions.d.ts +25 -3
  16. package/src/AdaptableOptions/ActionRowOptions.js +2 -1
  17. package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +3 -3
  18. package/src/AdaptableOptions/AdaptableFrameworkComponent.js +2 -1
  19. package/src/AdaptableOptions/AdaptableOptions.d.ts +10 -1
  20. package/src/AdaptableOptions/AdaptableOptions.js +2 -1
  21. package/src/AdaptableOptions/AdaptablePlugin.d.ts +1 -1
  22. package/src/AdaptableOptions/AdaptablePlugin.js +5 -1
  23. package/src/AdaptableOptions/AlertOptions.d.ts +2 -2
  24. package/src/AdaptableOptions/AlertOptions.js +2 -1
  25. package/src/AdaptableOptions/CalendarOptions.js +2 -1
  26. package/src/AdaptableOptions/CellSummaryOptions.js +2 -1
  27. package/src/AdaptableOptions/ChartingOptions.js +2 -1
  28. package/src/AdaptableOptions/ColumnFilterOptions.d.ts +112 -93
  29. package/src/AdaptableOptions/ColumnFilterOptions.js +2 -1
  30. package/src/AdaptableOptions/ColumnOptions.js +2 -1
  31. package/src/AdaptableOptions/ContainerOptions.js +2 -1
  32. package/src/AdaptableOptions/CustomSortOptions.js +2 -1
  33. package/src/AdaptableOptions/DashboardOptions.js +2 -1
  34. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
  35. package/src/AdaptableOptions/DataChangeHistoryOptions.js +2 -1
  36. package/src/AdaptableOptions/DataImportOptions.js +2 -1
  37. package/src/AdaptableOptions/DataSetOptions.js +2 -1
  38. package/src/AdaptableOptions/DateInputOptions.d.ts +1 -1
  39. package/src/AdaptableOptions/DateInputOptions.js +2 -1
  40. package/src/AdaptableOptions/EditOptions.d.ts +8 -8
  41. package/src/AdaptableOptions/EditOptions.js +2 -1
  42. package/src/AdaptableOptions/EntitlementOptions.js +2 -1
  43. package/src/AdaptableOptions/ExportOptions.d.ts +3 -3
  44. package/src/AdaptableOptions/ExportOptions.js +2 -1
  45. package/src/AdaptableOptions/ExpressionOptions.d.ts +2 -2
  46. package/src/AdaptableOptions/ExpressionOptions.js +2 -1
  47. package/src/AdaptableOptions/Fdc3Options.d.ts +10 -4
  48. package/src/AdaptableOptions/Fdc3Options.js +5 -2
  49. package/src/AdaptableOptions/FinsemblePluginOptions.js +2 -1
  50. package/src/AdaptableOptions/FlashingCellOptions.js +2 -1
  51. package/src/AdaptableOptions/FormatColumnOptions.js +2 -1
  52. package/src/AdaptableOptions/Glue42PluginOptions.js +2 -1
  53. package/src/AdaptableOptions/Glue42WebPluginOptions.js +2 -1
  54. package/src/AdaptableOptions/GridFilterOptions.d.ts +23 -0
  55. package/src/AdaptableOptions/GridFilterOptions.js +2 -0
  56. package/src/AdaptableOptions/GroupingOptions.js +2 -1
  57. package/src/AdaptableOptions/IPushPullPluginOptions.js +2 -1
  58. package/src/AdaptableOptions/LayoutOptions.d.ts +1 -1
  59. package/src/AdaptableOptions/LayoutOptions.js +2 -1
  60. package/src/AdaptableOptions/MasterDetailPluginOptions.js +2 -1
  61. package/src/AdaptableOptions/MenuOptions.d.ts +10 -4
  62. package/src/AdaptableOptions/MenuOptions.js +7 -3
  63. package/src/AdaptableOptions/NotesOptions.js +2 -1
  64. package/src/AdaptableOptions/NotificationsOptions.d.ts +1 -1
  65. package/src/AdaptableOptions/NotificationsOptions.js +2 -1
  66. package/src/AdaptableOptions/OpenFinPluginOptions.js +2 -1
  67. package/src/AdaptableOptions/PredicateOptions.js +2 -1
  68. package/src/AdaptableOptions/QuickSearchOptions.d.ts +4 -4
  69. package/src/AdaptableOptions/QuickSearchOptions.js +2 -1
  70. package/src/AdaptableOptions/SettingsPanelOptions.js +2 -1
  71. package/src/AdaptableOptions/StateOptions.js +2 -1
  72. package/src/AdaptableOptions/TeamSharingOptions.js +2 -1
  73. package/src/AdaptableOptions/ToolPanelOptions.js +2 -1
  74. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -16
  75. package/src/AdaptableOptions/UserInterfaceOptions.js +2 -1
  76. package/src/Api/ActionColumnApi.js +2 -1
  77. package/src/Api/ActionRowApi.js +2 -1
  78. package/src/Api/AdaptableApi.js +2 -1
  79. package/src/Api/AlertApi.js +2 -1
  80. package/src/Api/ApplicationApi.js +2 -1
  81. package/src/Api/BulkUpdateApi.js +2 -1
  82. package/src/Api/CalculatedColumnApi.js +2 -1
  83. package/src/Api/CalendarApi.js +2 -1
  84. package/src/Api/CellSummaryApi.js +2 -1
  85. package/src/Api/ChartingApi.js +2 -1
  86. package/src/Api/ColumnApi.d.ts +4 -0
  87. package/src/Api/ColumnApi.js +2 -1
  88. package/src/Api/ColumnFilterApi.d.ts +2 -5
  89. package/src/Api/ColumnFilterApi.js +2 -1
  90. package/src/Api/ConfigApi.js +2 -1
  91. package/src/Api/CustomSortApi.js +2 -1
  92. package/src/Api/DashboardApi.d.ts +0 -11
  93. package/src/Api/DashboardApi.js +2 -1
  94. package/src/Api/DataChangeHistoryApi.js +2 -1
  95. package/src/Api/DataImportApi.js +2 -1
  96. package/src/Api/DataSetApi.js +2 -1
  97. package/src/Api/EntitlementApi.js +2 -1
  98. package/src/Api/EventApi.d.ts +2 -30
  99. package/src/Api/EventApi.js +2 -1
  100. package/src/Api/Events/ActionRowSubmitted.d.ts +1 -5
  101. package/src/Api/Events/ActionRowSubmitted.js +2 -1
  102. package/src/Api/Events/AdaptableReady.js +2 -1
  103. package/src/Api/Events/AdaptableSearchState.d.ts +2 -7
  104. package/src/Api/Events/AdaptableSearchState.js +2 -1
  105. package/src/Api/Events/AdaptableStateChanged.js +2 -1
  106. package/src/Api/Events/AdaptableStateReloaded.js +2 -1
  107. package/src/Api/Events/AlertFired.js +2 -1
  108. package/src/Api/Events/BaseEventInfo.js +2 -1
  109. package/src/Api/Events/CellChanged.js +2 -1
  110. package/src/Api/Events/ChartChanged.js +2 -1
  111. package/src/Api/Events/ColumnFilterApplied.js +2 -1
  112. package/src/Api/Events/CustomToolbarConfigured.js +2 -1
  113. package/src/Api/Events/DashboardChanged.js +2 -1
  114. package/src/Api/Events/DataImported.js +2 -1
  115. package/src/Api/Events/DataSetSelected.js +2 -1
  116. package/src/Api/Events/Fdc3MessageInfo.d.ts +1 -1
  117. package/src/Api/Events/Fdc3MessageInfo.js +2 -1
  118. package/src/Api/Events/FlashingCellDisplayed.js +2 -1
  119. package/src/Api/Events/GridDataChanged.js +2 -1
  120. package/src/Api/Events/GridFilterApplied.d.ts +2 -1
  121. package/src/Api/Events/GridFilterApplied.js +2 -1
  122. package/src/Api/Events/GridSorted.js +2 -1
  123. package/src/Api/Events/LayoutChanged.js +2 -1
  124. package/src/Api/Events/LiveDataChanged.js +2 -1
  125. package/src/Api/Events/ScheduleTriggered.js +2 -1
  126. package/src/Api/Events/SelectionChanged.js +2 -1
  127. package/src/Api/Events/SystemStatusMessageDisplayed.js +2 -1
  128. package/src/Api/Events/TeamSharingEntityChanged.js +2 -1
  129. package/src/Api/Events/ThemeChanged.js +2 -1
  130. package/src/Api/Events/ThemeEdited.js +2 -1
  131. package/src/Api/ExportApi.d.ts +0 -4
  132. package/src/Api/ExportApi.js +2 -1
  133. package/src/Api/ExpressionApi.js +2 -1
  134. package/src/Api/Fdc3Api.js +2 -1
  135. package/src/Api/FinsembleApi.js +2 -1
  136. package/src/Api/FlashingCellApi.js +2 -1
  137. package/src/Api/FormatColumnApi.js +2 -1
  138. package/src/Api/FreeTextColumnApi.js +2 -1
  139. package/src/Api/Glue42Api.js +2 -1
  140. package/src/Api/Glue42WebApi.js +2 -1
  141. package/src/Api/GridApi.js +2 -1
  142. package/src/Api/GridFilterApi.d.ts +26 -8
  143. package/src/Api/GridFilterApi.js +2 -1
  144. package/src/Api/IPushPullApi.js +2 -1
  145. package/src/Api/Implementation/ActionColumnApiImpl.js +6 -2
  146. package/src/Api/Implementation/ActionRowApiImpl.js +12 -8
  147. package/src/Api/Implementation/AdaptableApiImpl.js +101 -97
  148. package/src/Api/Implementation/AlertApiImpl.js +23 -18
  149. package/src/Api/Implementation/ApiBase.js +10 -5
  150. package/src/Api/Implementation/ApplicationApiImpl.js +8 -3
  151. package/src/Api/Implementation/BulkUpdateApiImpl.js +10 -5
  152. package/src/Api/Implementation/CalculatedColumnApiImpl.js +11 -6
  153. package/src/Api/Implementation/CalendarApiImpl.js +6 -2
  154. package/src/Api/Implementation/CellSummaryApiImpl.js +22 -17
  155. package/src/Api/Implementation/ChartingApiImpl.js +18 -13
  156. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
  157. package/src/Api/Implementation/ColumnApiImpl.js +19 -10
  158. package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +1 -1
  159. package/src/Api/Implementation/ColumnFilterApiImpl.js +17 -12
  160. package/src/Api/Implementation/ConfigApiImpl.js +35 -31
  161. package/src/Api/Implementation/CustomSortApiImpl.js +11 -6
  162. package/src/Api/Implementation/DashboardApiImpl.d.ts +0 -2
  163. package/src/Api/Implementation/DashboardApiImpl.js +14 -23
  164. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +15 -10
  165. package/src/Api/Implementation/DataImportApiImpl.js +8 -4
  166. package/src/Api/Implementation/DataSetApiImpl.js +11 -6
  167. package/src/Api/Implementation/EntitlementApiImpl.js +6 -2
  168. package/src/Api/Implementation/EventApiImpl.js +9 -4
  169. package/src/Api/Implementation/ExportApiImpl.d.ts +0 -1
  170. package/src/Api/Implementation/ExportApiImpl.js +17 -15
  171. package/src/Api/Implementation/ExpressionApiImpl.js +10 -5
  172. package/src/Api/Implementation/Fdc3ApiImpl.js +12 -8
  173. package/src/Api/Implementation/FlashingCellApiImpl.js +11 -6
  174. package/src/Api/Implementation/FormatColumnApiImpl.js +11 -6
  175. package/src/Api/Implementation/FreeTextColumnApiImpl.js +14 -9
  176. package/src/Api/Implementation/GridApiImpl.js +25 -20
  177. package/src/Api/Implementation/GridFilterApiImpl.d.ts +6 -1
  178. package/src/Api/Implementation/GridFilterApiImpl.js +36 -12
  179. package/src/Api/Implementation/LayoutApiImpl.js +30 -25
  180. package/src/Api/Implementation/NamedQueryApiImpl.d.ts +2 -5
  181. package/src/Api/Implementation/NamedQueryApiImpl.js +15 -10
  182. package/src/Api/Implementation/NotesApiImpl.js +9 -4
  183. package/src/Api/Implementation/OptionsApiImpl.d.ts +2 -1
  184. package/src/Api/Implementation/OptionsApiImpl.js +9 -2
  185. package/src/Api/Implementation/PluginsApiImpl.js +8 -3
  186. package/src/Api/Implementation/PlusMinusApiImpl.js +9 -4
  187. package/src/Api/Implementation/PredicateApiImpl.js +17 -12
  188. package/src/Api/Implementation/QuickSearchApiImpl.js +10 -5
  189. package/src/Api/Implementation/ScheduleApiImpl.js +11 -6
  190. package/src/Api/Implementation/ScopeApiImpl.js +13 -8
  191. package/src/Api/Implementation/SettingsPanelApiImpl.js +8 -3
  192. package/src/Api/Implementation/ShortcutApiImpl.js +9 -4
  193. package/src/Api/Implementation/SmartEditApiImpl.js +10 -5
  194. package/src/Api/Implementation/StatusBarApiImpl.js +9 -5
  195. package/src/Api/Implementation/StyledColumnApiImpl.js +11 -6
  196. package/src/Api/Implementation/SystemStatusApiImpl.js +21 -16
  197. package/src/Api/Implementation/TeamSharingApiImpl.js +17 -12
  198. package/src/Api/Implementation/ThemeApiImpl.js +15 -10
  199. package/src/Api/Implementation/ToolPanelApiImpl.js +11 -6
  200. package/src/Api/Implementation/UserInterfaceApiImpl.js +21 -16
  201. package/src/Api/Internal/ActionRowInternalApi.d.ts +1 -0
  202. package/src/Api/Internal/ActionRowInternalApi.js +23 -5
  203. package/src/Api/Internal/AdaptableInternalApi.js +26 -21
  204. package/src/Api/Internal/AlertInternalApi.d.ts +1 -7
  205. package/src/Api/Internal/AlertInternalApi.js +25 -20
  206. package/src/Api/Internal/CalculatedColumnInternalApi.js +6 -2
  207. package/src/Api/Internal/ChartingInternalApi.js +12 -8
  208. package/src/Api/Internal/ColumnFilterInternalApi.d.ts +2 -2
  209. package/src/Api/Internal/ColumnFilterInternalApi.js +22 -17
  210. package/src/Api/Internal/ColumnInternalApi.d.ts +0 -10
  211. package/src/Api/Internal/ColumnInternalApi.js +8 -32
  212. package/src/Api/Internal/CustomSortInternalApi.js +6 -2
  213. package/src/Api/Internal/DashboardInternalApi.js +11 -6
  214. package/src/Api/Internal/DataImportInternalApi.js +10 -5
  215. package/src/Api/Internal/DataSetInternalApi.js +6 -2
  216. package/src/Api/Internal/ExportInternalApi.js +6 -2
  217. package/src/Api/Internal/ExpressionnternalApi.js +6 -2
  218. package/src/Api/Internal/Fdc3InternalApi.d.ts +2 -2
  219. package/src/Api/Internal/Fdc3InternalApi.js +28 -24
  220. package/src/Api/Internal/FlashingCellInternalApi.js +12 -7
  221. package/src/Api/Internal/FormatColumnInternalApi.js +16 -11
  222. package/src/Api/Internal/FreeTextColumnInternalApi.js +6 -2
  223. package/src/Api/Internal/GridFilterInternalApi.d.ts +1 -1
  224. package/src/Api/Internal/GridFilterInternalApi.js +11 -7
  225. package/src/Api/Internal/GridInternalApi.js +49 -22
  226. package/src/Api/Internal/LayoutInternalApi.d.ts +2 -2
  227. package/src/Api/Internal/LayoutInternalApi.js +33 -20
  228. package/src/Api/Internal/NamedQueryInternalApi.js +8 -3
  229. package/src/Api/Internal/PredicateInternalApi.js +9 -5
  230. package/src/Api/Internal/ScheduleInternalApi.js +6 -2
  231. package/src/Api/Internal/StyledColumnInternalApi.d.ts +0 -3
  232. package/src/Api/Internal/StyledColumnInternalApi.js +10 -32
  233. package/src/Api/Internal/SystemStatusInternalApi.js +8 -3
  234. package/src/Api/Internal/TeamSharingInternalApi.js +6 -2
  235. package/src/Api/Internal/ThemeInternalApi.js +9 -5
  236. package/src/Api/Internal/UserInterfaceInternalApi.js +6 -2
  237. package/src/Api/LayoutApi.js +2 -1
  238. package/src/Api/NamedQueryApi.d.ts +6 -5
  239. package/src/Api/NamedQueryApi.js +2 -1
  240. package/src/Api/NotesAPi.js +2 -1
  241. package/src/Api/OpenFinApi.js +2 -1
  242. package/src/Api/OptionsApi.d.ts +5 -1
  243. package/src/Api/OptionsApi.js +2 -1
  244. package/src/Api/PluginsApi.js +2 -1
  245. package/src/Api/PlusMinusApi.js +2 -1
  246. package/src/Api/PredicateApi.js +2 -1
  247. package/src/Api/QuickSearchApi.js +2 -1
  248. package/src/Api/ScheduleApi.js +2 -1
  249. package/src/Api/ScopeApi.js +2 -1
  250. package/src/Api/SettingsPanelApi.js +2 -1
  251. package/src/Api/ShortcutApi.js +2 -1
  252. package/src/Api/SmartEditApi.js +2 -1
  253. package/src/Api/StatusBarApi.js +2 -1
  254. package/src/Api/StyledColumnApi.js +2 -1
  255. package/src/Api/SystemStatusApi.js +2 -1
  256. package/src/Api/TeamSharingApi.js +2 -1
  257. package/src/Api/ThemeApi.js +2 -1
  258. package/src/Api/ToolPanelApi.js +2 -1
  259. package/src/Api/UserInterfaceApi.js +2 -1
  260. package/src/PredefinedConfig/AdaptableState.js +2 -1
  261. package/src/PredefinedConfig/AlertState.d.ts +6 -6
  262. package/src/PredefinedConfig/AlertState.js +2 -1
  263. package/src/PredefinedConfig/ApplicationState.js +2 -1
  264. package/src/PredefinedConfig/CalculatedColumnState.d.ts +1 -1
  265. package/src/PredefinedConfig/CalculatedColumnState.js +2 -1
  266. package/src/PredefinedConfig/ChartingState.d.ts +4 -1
  267. package/src/PredefinedConfig/ChartingState.js +7 -2
  268. package/src/PredefinedConfig/Common/AdaptableAlert.d.ts +2 -2
  269. package/src/PredefinedConfig/Common/AdaptableAlert.js +7 -2
  270. package/src/PredefinedConfig/Common/AdaptableButton.js +2 -1
  271. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +1 -1
  272. package/src/PredefinedConfig/Common/AdaptableColumn.js +5 -1
  273. package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +2 -2
  274. package/src/PredefinedConfig/Common/AdaptableComparerFunction.js +2 -1
  275. package/src/PredefinedConfig/Common/AdaptableFlashingCell.js +2 -1
  276. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +2 -2
  277. package/src/PredefinedConfig/Common/AdaptableForm.js +5 -1
  278. package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +1 -1
  279. package/src/PredefinedConfig/Common/AdaptableFormat.js +2 -1
  280. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +2 -2
  281. package/src/PredefinedConfig/Common/AdaptableIcon.js +2 -1
  282. package/src/PredefinedConfig/Common/AdaptableMessageType.d.ts +1 -1
  283. package/src/PredefinedConfig/Common/AdaptableMessageType.js +2 -1
  284. package/src/PredefinedConfig/Common/AdaptableObject.d.ts +1 -1
  285. package/src/PredefinedConfig/Common/AdaptableObject.js +2 -1
  286. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +3 -3
  287. package/src/PredefinedConfig/Common/AdaptablePredicate.js +100 -109
  288. package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +1 -1
  289. package/src/PredefinedConfig/Common/AdaptableQuery.js +5 -1
  290. package/src/PredefinedConfig/Common/AdaptableScope.d.ts +5 -5
  291. package/src/PredefinedConfig/Common/AdaptableScope.js +2 -1
  292. package/src/PredefinedConfig/Common/AdaptableStyle.js +2 -1
  293. package/src/PredefinedConfig/Common/AggregationColumns.d.ts +1 -1
  294. package/src/PredefinedConfig/Common/AggregationColumns.js +4 -1
  295. package/src/PredefinedConfig/Common/AlternativeModuleName.js +2 -1
  296. package/src/PredefinedConfig/Common/BaseContext.js +2 -1
  297. package/src/PredefinedConfig/Common/ButtonStyle.js +2 -1
  298. package/src/PredefinedConfig/Common/CellDataChangedInfo.js +2 -1
  299. package/src/PredefinedConfig/Common/CellHighlightInfo.js +2 -1
  300. package/src/PredefinedConfig/Common/CellSummary.js +2 -1
  301. package/src/PredefinedConfig/Common/ColumnFilter.d.ts +2 -2
  302. package/src/PredefinedConfig/Common/ColumnFilter.js +2 -1
  303. package/src/PredefinedConfig/Common/ColumnSort.js +2 -1
  304. package/src/PredefinedConfig/Common/DataChangedScope.js +2 -1
  305. package/src/PredefinedConfig/Common/DataUpdateConfig.js +2 -1
  306. package/src/PredefinedConfig/Common/Entitlement.d.ts +1 -1
  307. package/src/PredefinedConfig/Common/Entitlement.js +2 -1
  308. package/src/PredefinedConfig/Common/Enums.js +29 -26
  309. package/src/PredefinedConfig/Common/Fdc3Context.d.ts +133 -37
  310. package/src/PredefinedConfig/Common/Fdc3Context.js +35 -32
  311. package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +4 -4
  312. package/src/PredefinedConfig/Common/Fdc3Intent.js +67 -64
  313. package/src/PredefinedConfig/Common/FilterActionOnDataChange.js +2 -1
  314. package/src/PredefinedConfig/Common/FormContext.js +2 -1
  315. package/src/PredefinedConfig/Common/GridFilter.js +2 -1
  316. package/src/PredefinedConfig/Common/Menu.js +2 -1
  317. package/src/PredefinedConfig/Common/RowHighlightInfo.js +2 -1
  318. package/src/PredefinedConfig/Common/RowsHighlightInfo.js +2 -1
  319. package/src/PredefinedConfig/Common/Schedule.d.ts +2 -2
  320. package/src/PredefinedConfig/Common/Schedule.js +2 -1
  321. package/src/PredefinedConfig/Common/SpecialColumnSettings.js +2 -1
  322. package/src/PredefinedConfig/Common/SuspendableObject.js +2 -1
  323. package/src/PredefinedConfig/Common/SystemStatusMessageInfo.js +2 -1
  324. package/src/PredefinedConfig/Common/Types.d.ts +15 -15
  325. package/src/PredefinedConfig/Common/Types.js +9 -5
  326. package/src/PredefinedConfig/ConfigState.js +2 -1
  327. package/src/PredefinedConfig/CustomSortState.js +2 -1
  328. package/src/PredefinedConfig/DashboardState.js +2 -1
  329. package/src/PredefinedConfig/ExportState.d.ts +4 -4
  330. package/src/PredefinedConfig/ExportState.js +2 -1
  331. package/src/PredefinedConfig/FlashingCellState.d.ts +4 -4
  332. package/src/PredefinedConfig/FlashingCellState.js +2 -1
  333. package/src/PredefinedConfig/FormatColumnState.d.ts +4 -27
  334. package/src/PredefinedConfig/FormatColumnState.js +2 -1
  335. package/src/PredefinedConfig/FreeTextColumnState.js +2 -1
  336. package/src/PredefinedConfig/Glue42State.js +2 -1
  337. package/src/PredefinedConfig/GridState.js +2 -1
  338. package/src/PredefinedConfig/IPushPullState.js +2 -1
  339. package/src/PredefinedConfig/InternalState.js +2 -1
  340. package/src/PredefinedConfig/LayoutState.js +2 -1
  341. package/src/PredefinedConfig/NamedQueryState.js +2 -1
  342. package/src/PredefinedConfig/NotesState.d.ts +2 -2
  343. package/src/PredefinedConfig/NotesState.js +2 -1
  344. package/src/PredefinedConfig/OpenFinState.js +2 -1
  345. package/src/PredefinedConfig/PlusMinusState.js +2 -1
  346. package/src/PredefinedConfig/PopupState.js +2 -1
  347. package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -5
  348. package/src/PredefinedConfig/PredefinedConfig.js +2 -1
  349. package/src/PredefinedConfig/QueryState.js +2 -1
  350. package/src/PredefinedConfig/QuickSearchState.js +2 -1
  351. package/src/PredefinedConfig/ScheduleState.js +2 -1
  352. package/src/PredefinedConfig/Selection/GridCell.js +2 -1
  353. package/src/PredefinedConfig/Selection/GridCellRange.js +2 -1
  354. package/src/PredefinedConfig/Selection/GridRow.js +2 -1
  355. package/src/PredefinedConfig/Selection/SelectedCellInfo.js +2 -1
  356. package/src/PredefinedConfig/Selection/SelectedRowInfo.js +2 -1
  357. package/src/PredefinedConfig/ShortcutState.d.ts +1 -1
  358. package/src/PredefinedConfig/ShortcutState.js +2 -1
  359. package/src/PredefinedConfig/StatusBarState.js +4 -1
  360. package/src/PredefinedConfig/StyledColumnState.d.ts +8 -13
  361. package/src/PredefinedConfig/StyledColumnState.js +2 -1
  362. package/src/PredefinedConfig/SystemState.d.ts +3 -3
  363. package/src/PredefinedConfig/SystemState.js +2 -1
  364. package/src/PredefinedConfig/TeamSharingState.d.ts +3 -3
  365. package/src/PredefinedConfig/TeamSharingState.js +7 -2
  366. package/src/PredefinedConfig/ThemeState.js +2 -1
  367. package/src/PredefinedConfig/ToolPanelState.d.ts +1 -1
  368. package/src/PredefinedConfig/ToolPanelState.js +2 -1
  369. package/src/PredefinedConfig/Uuid.d.ts +1 -1
  370. package/src/PredefinedConfig/Uuid.js +6 -2
  371. package/src/Redux/ActionsReducers/AlertRedux.js +59 -45
  372. package/src/Redux/ActionsReducers/ApplicationRedux.js +22 -15
  373. package/src/Redux/ActionsReducers/BulkUpdateRedux.js +15 -9
  374. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +29 -20
  375. package/src/Redux/ActionsReducers/CellSummaryRedux.js +7 -3
  376. package/src/Redux/ActionsReducers/ChartingRedux.js +55 -41
  377. package/src/Redux/ActionsReducers/CustomSortRedux.js +54 -41
  378. package/src/Redux/ActionsReducers/DashboardRedux.js +66 -50
  379. package/src/Redux/ActionsReducers/ExportRedux.js +43 -33
  380. package/src/Redux/ActionsReducers/FlashingCellRedux.js +57 -43
  381. package/src/Redux/ActionsReducers/FormatColumnRedux.js +70 -54
  382. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +34 -24
  383. package/src/Redux/ActionsReducers/GridRedux.d.ts +6 -1
  384. package/src/Redux/ActionsReducers/GridRedux.js +174 -121
  385. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +37 -16
  386. package/src/Redux/ActionsReducers/LayoutRedux.js +169 -90
  387. package/src/Redux/ActionsReducers/NamedQueryRedux.js +35 -25
  388. package/src/Redux/ActionsReducers/NotesRedux.js +31 -21
  389. package/src/Redux/ActionsReducers/PluginsRedux.js +53 -48
  390. package/src/Redux/ActionsReducers/PlusMinusRedux.js +59 -45
  391. package/src/Redux/ActionsReducers/PopupRedux.js +84 -64
  392. package/src/Redux/ActionsReducers/QueryRedux.js +13 -8
  393. package/src/Redux/ActionsReducers/QuickSearchRedux.js +23 -16
  394. package/src/Redux/ActionsReducers/ScheduleRedux.js +222 -179
  395. package/src/Redux/ActionsReducers/ShortcutRedux.js +54 -41
  396. package/src/Redux/ActionsReducers/SmartEditRedux.js +15 -9
  397. package/src/Redux/ActionsReducers/StatusBarRedux.js +19 -12
  398. package/src/Redux/ActionsReducers/StyledColumnRedux.js +54 -41
  399. package/src/Redux/ActionsReducers/SystemRedux.js +324 -254
  400. package/src/Redux/ActionsReducers/SystemStatusRedux.js +11 -6
  401. package/src/Redux/ActionsReducers/TeamSharingRedux.js +55 -40
  402. package/src/Redux/ActionsReducers/ThemeRedux.js +43 -32
  403. package/src/Redux/ActionsReducers/ToolPanelRedux.js +39 -28
  404. package/src/Redux/ActionsReducers/utils.js +9 -3
  405. package/src/Redux/DeadRedux.js +38 -25
  406. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +20 -15
  407. package/src/Redux/Store/AdaptableReduxMerger.d.ts +1 -1
  408. package/src/Redux/Store/AdaptableReduxMerger.js +30 -21
  409. package/src/Redux/Store/AdaptableStore.d.ts +2 -2
  410. package/src/Redux/Store/AdaptableStore.js +150 -116
  411. package/src/Redux/Store/Interface/IAdaptableStore.js +2 -1
  412. package/src/Redux/Store/Interface/IStorageEngine.js +2 -1
  413. package/src/Strategy/AdaptableModuleBase.d.ts +0 -1
  414. package/src/Strategy/AdaptableModuleBase.js +13 -38
  415. package/src/Strategy/AlertModule.js +41 -36
  416. package/src/Strategy/BulkUpdateModule.js +22 -17
  417. package/src/Strategy/CalculatedColumnModule.js +21 -16
  418. package/src/Strategy/CellSummaryModule.js +22 -17
  419. package/src/Strategy/ChartingModule.js +28 -20
  420. package/src/Strategy/ColumnFilterModule.d.ts +2 -0
  421. package/src/Strategy/ColumnFilterModule.js +93 -50
  422. package/src/Strategy/ColumnInfoModule.js +8 -3
  423. package/src/Strategy/CustomSortModule.js +18 -13
  424. package/src/Strategy/DashboardModule.js +9 -4
  425. package/src/Strategy/DataChangeHistoryModule.js +15 -10
  426. package/src/Strategy/DataImportModule.js +8 -3
  427. package/src/Strategy/DataSetModule.js +16 -11
  428. package/src/Strategy/ExportModule.js +60 -55
  429. package/src/Strategy/Fdc3Module.js +8 -3
  430. package/src/Strategy/FlashingCellModule.js +34 -29
  431. package/src/Strategy/FormatColumnModule.js +32 -27
  432. package/src/Strategy/FreeTextColumnModule.js +13 -8
  433. package/src/Strategy/GridFilterModule.js +14 -9
  434. package/src/Strategy/GridInfoModule.js +8 -3
  435. package/src/Strategy/Interface/IBulkUpdateModule.js +2 -1
  436. package/src/Strategy/Interface/ICellSummaryModule.js +2 -1
  437. package/src/Strategy/Interface/IExportModule.js +2 -1
  438. package/src/Strategy/Interface/IModule.d.ts +3 -3
  439. package/src/Strategy/Interface/IModule.js +2 -1
  440. package/src/Strategy/Interface/IModuleActionReturn.js +2 -1
  441. package/src/Strategy/Interface/IPlusMinusModule.js +2 -1
  442. package/src/Strategy/Interface/IScheduleModule.js +2 -1
  443. package/src/Strategy/Interface/IShortcutModule.js +2 -1
  444. package/src/Strategy/Interface/ISmartEditModule.js +2 -1
  445. package/src/Strategy/LayoutModule.js +39 -33
  446. package/src/Strategy/NamedQueryModule.js +17 -12
  447. package/src/Strategy/NotesModule.js +8 -3
  448. package/src/Strategy/PlusMinusModule.js +26 -21
  449. package/src/Strategy/QuickSearchModule.js +10 -5
  450. package/src/Strategy/ScheduleModule.js +45 -40
  451. package/src/Strategy/SettingsPanelModule.js +9 -4
  452. package/src/Strategy/ShortcutModule.js +26 -21
  453. package/src/Strategy/SmartEditModule.js +27 -22
  454. package/src/Strategy/StateManagementModule.js +8 -3
  455. package/src/Strategy/StatusBarModule.js +8 -3
  456. package/src/Strategy/StyledColumnModule.js +24 -70
  457. package/src/Strategy/SystemStatusModule.js +10 -5
  458. package/src/Strategy/TeamSharingModule.js +37 -32
  459. package/src/Strategy/ThemeModule.js +10 -13
  460. package/src/Strategy/ToolPanelModule.js +13 -8
  461. package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +9 -5
  462. package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.js +11 -6
  463. package/src/Strategy/Utilities/Alert/getAlertTypeViewItems.js +8 -4
  464. package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.js +5 -1
  465. package/src/Strategy/Utilities/CustomSort/getCustomSortSortOrderViewItems.js +5 -1
  466. package/src/Strategy/Utilities/Export/getExportColumnsViewItems.js +5 -1
  467. package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +5 -1
  468. package/src/Strategy/Utilities/FlashingCell/getFlashingCellDurationViewItems.js +5 -1
  469. package/src/Strategy/Utilities/FlashingCell/getFlashingCellStyleViewItems.js +7 -3
  470. package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.js +5 -1
  471. package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +5 -1
  472. package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +10 -5
  473. package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +8 -3
  474. package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +5 -1
  475. package/src/Strategy/Utilities/Shortcut/getShortcutSettingsViewItems.js +5 -1
  476. package/src/Strategy/Utilities/getExpressionViewItems.js +5 -1
  477. package/src/Strategy/Utilities/getObjectTagsViewItems.js +12 -7
  478. package/src/Strategy/Utilities/getRuleViewItems.js +5 -1
  479. package/src/Strategy/Utilities/getScopeViewItems.js +5 -1
  480. package/src/Strategy/Utilities/updateSingleToMultiplePredicates.js +5 -1
  481. package/src/Utilities/Cancelable.js +2 -1
  482. package/src/Utilities/Constants/ConfigConstants.js +12 -9
  483. package/src/Utilities/Constants/DocumentationLinkConstants.js +17 -14
  484. package/src/Utilities/Constants/GeneralConstants.d.ts +3 -0
  485. package/src/Utilities/Constants/GeneralConstants.js +74 -67
  486. package/src/Utilities/Constants/ModuleConstants.js +119 -115
  487. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +59 -47
  488. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +1 -1
  489. package/src/Utilities/Defaults/DefaultSettingsPanel.js +6 -3
  490. package/src/Utilities/Emitter.d.ts +2 -2
  491. package/src/Utilities/Emitter.js +3 -1
  492. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +3 -3
  493. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +24 -20
  494. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +3 -3
  495. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +54 -51
  496. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +1 -1
  497. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +94 -33
  498. package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
  499. package/src/Utilities/ExpressionFunctions/dateUtils.js +15 -1
  500. package/src/Utilities/ExpressionFunctions/deepMap.d.ts +3 -3
  501. package/src/Utilities/ExpressionFunctions/deepMap.js +12 -8
  502. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +1 -1
  503. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +57 -39
  504. package/src/Utilities/ExpressionFunctions/groupingMap.d.ts +7 -7
  505. package/src/Utilities/ExpressionFunctions/groupingMap.js +7 -3
  506. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +1 -1
  507. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +70 -66
  508. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.d.ts +7 -7
  509. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +7 -3
  510. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
  511. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +67 -53
  512. package/src/Utilities/Extensions/ArrayExtensions.js +73 -39
  513. package/src/Utilities/Extensions/EnumExtensions.js +21 -14
  514. package/src/Utilities/Extensions/NumberExtensions.js +9 -4
  515. package/src/Utilities/Extensions/ObjectExtensions.js +9 -3
  516. package/src/Utilities/Extensions/StringExtensions.js +46 -23
  517. package/src/Utilities/Extensions/TypeExtensions.d.ts +8 -8
  518. package/src/Utilities/Extensions/TypeExtensions.js +5 -1
  519. package/src/Utilities/Helpers/AdaptableHelper.js +70 -55
  520. package/src/Utilities/Helpers/DateHelper.js +28 -18
  521. package/src/Utilities/Helpers/FormatHelper.js +18 -10
  522. package/src/Utilities/Helpers/Helper.js +50 -28
  523. package/src/Utilities/Helpers/PreviewHelper.js +15 -8
  524. package/src/Utilities/Helpers/StyleHelper.js +20 -11
  525. package/src/Utilities/Interface/AdaptableToolPanelContext.js +2 -1
  526. package/src/Utilities/Interface/ColumnFilterProps.js +2 -1
  527. package/src/Utilities/Interface/IPPStyle.js +2 -1
  528. package/src/Utilities/Interface/KeyValuePair.js +2 -1
  529. package/src/Utilities/Interface/MessagePopups.js +2 -1
  530. package/src/Utilities/Interface/Preview.js +2 -1
  531. package/src/Utilities/MenuItem.js +11 -4
  532. package/src/Utilities/ObjectFactory.js +168 -125
  533. package/src/Utilities/Services/AggregatedScalarLiveValue.js +7 -3
  534. package/src/Utilities/Services/AlertService.js +16 -11
  535. package/src/Utilities/Services/CalculatedColumnExpressionService.js +13 -9
  536. package/src/Utilities/Services/ChartingService.js +15 -10
  537. package/src/Utilities/Services/DataService.js +13 -8
  538. package/src/Utilities/Services/EntitlementService.d.ts +0 -1
  539. package/src/Utilities/Services/EntitlementService.js +5 -9
  540. package/src/Utilities/Services/Fdc3Service.js +11 -7
  541. package/src/Utilities/Services/Interface/IAdaptableService.js +2 -1
  542. package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -3
  543. package/src/Utilities/Services/Interface/IAlertService.js +8 -3
  544. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.js +2 -1
  545. package/src/Utilities/Services/Interface/IChartingService.js +2 -1
  546. package/src/Utilities/Services/Interface/IDataService.js +2 -1
  547. package/src/Utilities/Services/Interface/IEntitlementService.d.ts +0 -6
  548. package/src/Utilities/Services/Interface/IEntitlementService.js +2 -1
  549. package/src/Utilities/Services/Interface/ILicenseService.js +2 -1
  550. package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -1
  551. package/src/Utilities/Services/Interface/IMetamodelService.js +2 -1
  552. package/src/Utilities/Services/Interface/IModuleService.js +2 -1
  553. package/src/Utilities/Services/Interface/IQueryLanguageService.js +2 -1
  554. package/src/Utilities/Services/Interface/IReportService.js +2 -1
  555. package/src/Utilities/Services/Interface/IRowEditService.js +2 -1
  556. package/src/Utilities/Services/Interface/ITeamSharingService.js +2 -1
  557. package/src/Utilities/Services/Interface/IThemeService.js +2 -1
  558. package/src/Utilities/Services/Interface/IValidationService.js +2 -1
  559. package/src/Utilities/Services/LicenseService/index.js +1 -1
  560. package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.js +5 -1
  561. package/src/Utilities/Services/MetamodelService.js +18 -13
  562. package/src/Utilities/Services/ModuleService.js +15 -10
  563. package/src/Utilities/Services/QueryLanguageService.js +29 -24
  564. package/src/Utilities/Services/ReportService.js +53 -48
  565. package/src/Utilities/Services/RowEditService.js +5 -1
  566. package/src/Utilities/Services/TeamSharingService.js +11 -6
  567. package/src/Utilities/Services/ThemeService.js +5 -1
  568. package/src/Utilities/Services/ValidationService.js +25 -20
  569. package/src/Utilities/getScrollbarSize.js +3 -1
  570. package/src/Utilities/isAdaptableObject.js +5 -1
  571. package/src/Utilities/isMacLike.js +5 -1
  572. package/src/Utilities/license/LicenseDetails.d.ts +1 -1
  573. package/src/Utilities/license/LicenseDetails.js +2 -1
  574. package/src/Utilities/license/decode.js +1 -1
  575. package/src/Utilities/license/hashing.js +1 -1
  576. package/src/Utilities/logDeprecation.d.ts +5 -3
  577. package/src/Utilities/logDeprecation.js +9 -3
  578. package/src/Utilities/reorder.js +5 -1
  579. package/src/Utilities/runIfNotResolvedIn.js +5 -1
  580. package/src/Utilities/sortWithOrder.js +5 -1
  581. package/src/Utilities/waitForCondition.js +5 -1
  582. package/src/Utilities/waitForTimeout.js +5 -1
  583. package/src/View/AdaptableContext.js +8 -3
  584. package/src/View/AdaptablePopover/index.d.ts +1 -0
  585. package/src/View/AdaptablePopover/index.js +23 -18
  586. package/src/View/AdaptableView.js +35 -30
  587. package/src/View/AdaptableViewFactory.js +71 -67
  588. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +2 -1
  589. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +30 -25
  590. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +44 -42
  591. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +9 -4
  592. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +26 -21
  593. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +9 -4
  594. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +29 -26
  595. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +2 -1
  596. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +20 -17
  597. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +13 -8
  598. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +21 -16
  599. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +29 -24
  600. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +23 -18
  601. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +4 -2
  602. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +5 -3
  603. package/src/View/AdaptableWizardView/Utils.js +5 -1
  604. package/src/View/AdaptableWizardView/Wizard.js +26 -20
  605. package/src/View/AdaptableWizardView/helper.js +10 -4
  606. package/src/View/AdaptableWizardView/index.js +10 -7
  607. package/src/View/Alert/ActiveAlertsPanel.js +14 -9
  608. package/src/View/Alert/ActiveAlertsPanelItemLabel.js +15 -10
  609. package/src/View/Alert/AlertEmptyView.js +10 -5
  610. package/src/View/Alert/AlertEntityRow.js +18 -13
  611. package/src/View/Alert/AlertStatusSubPanel.js +18 -13
  612. package/src/View/Alert/AlertViewPanel.js +20 -16
  613. package/src/View/Alert/AlertsPanel.js +27 -22
  614. package/src/View/Alert/Utilities/getAlertButtonStyle.js +11 -6
  615. package/src/View/Alert/Utilities/getAlertType.d.ts +1 -0
  616. package/src/View/Alert/Utilities/getAlertType.js +18 -5
  617. package/src/View/Alert/Utilities/getAvailablePredicates.js +7 -3
  618. package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +18 -8
  619. package/src/View/Alert/Utilities/mapAlertDefinition.js +5 -1
  620. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +1 -1
  621. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +68 -49
  622. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +1 -1
  623. package/src/View/Alert/Wizard/AlertButtonsEditor.js +54 -52
  624. package/src/View/Alert/Wizard/AlertMessageWizardSection.d.ts +1 -1
  625. package/src/View/Alert/Wizard/AlertMessageWizardSection.js +37 -31
  626. package/src/View/Alert/Wizard/AlertNotificationWizardSection.d.ts +1 -1
  627. package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +34 -28
  628. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +38 -28
  629. package/src/View/Alert/Wizard/AlertScopeWizardSection.d.ts +1 -1
  630. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +15 -10
  631. package/src/View/Alert/Wizard/AlertSelectQueryWizard.js +19 -14
  632. package/src/View/Alert/Wizard/AlertTypeWizardSection.d.ts +1 -1
  633. package/src/View/Alert/Wizard/AlertTypeWizardSection.js +26 -19
  634. package/src/View/Alert/Wizard/AlertWizard.js +66 -61
  635. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +19 -14
  636. package/src/View/Alert/Wizard/isValidAlertRules.js +8 -4
  637. package/src/View/BulkUpdate/BulkUpdatePopup.js +37 -39
  638. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +32 -28
  639. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +22 -17
  640. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingsTags.js +5 -1
  641. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.d.ts +1 -1
  642. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +43 -36
  643. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.d.ts +1 -1
  644. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +28 -21
  645. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -1
  646. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +47 -49
  647. package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.d.ts +1 -1
  648. package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.js +18 -13
  649. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.d.ts +1 -1
  650. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +56 -51
  651. package/src/View/CalculatedColumn/utils.js +5 -1
  652. package/src/View/CellSummary/CellSummaryDetails.js +11 -6
  653. package/src/View/CellSummary/CellSummaryPopover.js +9 -4
  654. package/src/View/CellSummary/CellSummaryPopup.js +12 -8
  655. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +11 -6
  656. package/src/View/CellSummary/CellSummaryStatusPanel.js +16 -11
  657. package/src/View/CellSummary/CellSummaryViewPanel.js +28 -24
  658. package/src/View/Charting/ChartingStatusBarPopover.js +17 -12
  659. package/src/View/Charting/ChartingViewPanel.js +18 -13
  660. package/src/View/Charting/ChartingWizard/AgChargingWizard/AgChargingWizard.js +23 -18
  661. package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +14 -9
  662. package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +22 -16
  663. package/src/View/Charting/ChartingWizard/AgChargingWizard/index.js +4 -1
  664. package/src/View/Charting/ChartingWizard/ChartingWizard.js +14 -10
  665. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.js +18 -13
  666. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +14 -8
  667. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/index.js +4 -1
  668. package/src/View/Charting/ChartingWizard/index.js +4 -1
  669. package/src/View/Charting/DeleteChartButton.js +11 -6
  670. package/src/View/Charting/EditChartButton.js +13 -8
  671. package/src/View/Charting/ShowChartButton.js +26 -21
  672. package/src/View/Charting/useAgChartState.js +12 -7
  673. package/src/View/Charting/useChartingElements.js +36 -33
  674. package/src/View/Charting/useExternalChartState.js +12 -7
  675. package/src/View/ColumnInfo/ColumnInfo.js +43 -39
  676. package/src/View/ColumnInfo/ColumnInfoPopup.js +13 -8
  677. package/src/View/Components/AdaptableButton/index.js +13 -8
  678. package/src/View/Components/AdaptableDateInput/index.d.ts +2 -2
  679. package/src/View/Components/AdaptableDateInput/index.js +15 -13
  680. package/src/View/Components/AdaptableIconComponent/index.js +11 -6
  681. package/src/View/Components/AdaptableIconComponent/useCustomIcon.js +7 -3
  682. package/src/View/Components/AdaptableIconSelector/index.js +11 -6
  683. package/src/View/Components/AdaptableInput/index.d.ts +1 -1
  684. package/src/View/Components/AdaptableInput/index.js +11 -8
  685. package/src/View/Components/AdaptableObjectCollection/index.js +11 -6
  686. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +33 -27
  687. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +47 -40
  688. package/src/View/Components/AdaptableObjectList/index.js +5 -1
  689. package/src/View/Components/AdaptableObjectRow/index.js +12 -7
  690. package/src/View/Components/Badge/index.js +11 -6
  691. package/src/View/Components/Buttons/ButtonApply.js +9 -4
  692. package/src/View/Components/Buttons/ButtonBase/index.d.ts +1 -1
  693. package/src/View/Components/Buttons/ButtonBase/index.js +10 -5
  694. package/src/View/Components/Buttons/ButtonClear.js +9 -4
  695. package/src/View/Components/Buttons/ButtonClone.js +9 -4
  696. package/src/View/Components/Buttons/ButtonClose.js +9 -4
  697. package/src/View/Components/Buttons/ButtonConfigure.js +9 -4
  698. package/src/View/Components/Buttons/ButtonDelete.js +11 -8
  699. package/src/View/Components/Buttons/ButtonEdit.js +9 -4
  700. package/src/View/Components/Buttons/ButtonExpand.js +9 -4
  701. package/src/View/Components/Buttons/ButtonExport.js +9 -4
  702. package/src/View/Components/Buttons/ButtonFunction.js +9 -4
  703. package/src/View/Components/Buttons/ButtonGeneral.js +9 -4
  704. package/src/View/Components/Buttons/ButtonInfo.js +9 -4
  705. package/src/View/Components/Buttons/ButtonInvalid.js +9 -4
  706. package/src/View/Components/Buttons/ButtonLogin.js +9 -4
  707. package/src/View/Components/Buttons/ButtonLogout.js +9 -4
  708. package/src/View/Components/Buttons/ButtonMaximise.js +9 -4
  709. package/src/View/Components/Buttons/ButtonMinimise.js +9 -4
  710. package/src/View/Components/Buttons/ButtonNew.js +9 -4
  711. package/src/View/Components/Buttons/ButtonNewPage.js +9 -4
  712. package/src/View/Components/Buttons/ButtonOpen.d.ts +5 -0
  713. package/src/View/Components/Buttons/ButtonOpen.js +12 -0
  714. package/src/View/Components/Buttons/ButtonPause.js +9 -4
  715. package/src/View/Components/Buttons/ButtonPlay.js +10 -5
  716. package/src/View/Components/Buttons/ButtonPreviewDelete.js +7 -4
  717. package/src/View/Components/Buttons/ButtonSave.js +9 -4
  718. package/src/View/Components/Buttons/ButtonSchedule.js +9 -4
  719. package/src/View/Components/Buttons/ButtonShare.js +12 -8
  720. package/src/View/Components/Buttons/ButtonShow.js +9 -4
  721. package/src/View/Components/Buttons/ButtonShowChart.js +9 -4
  722. package/src/View/Components/Buttons/ButtonStop.js +9 -4
  723. package/src/View/Components/Buttons/ButtonUndo.js +9 -4
  724. package/src/View/Components/Buttons/ButtonUnsuspend.d.ts +8 -0
  725. package/src/View/Components/Buttons/ButtonUnsuspend.js +22 -0
  726. package/src/View/Components/Buttons/EntityListActionButtons.js +19 -14
  727. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +8 -4
  728. package/src/View/Components/Buttons/SuspendToggleButton/index.js +4 -1
  729. package/src/View/Components/CellPopup/index.d.ts +1 -1
  730. package/src/View/Components/CellPopup/index.js +14 -10
  731. package/src/View/Components/ColumnSelector/index.d.ts +1 -1
  732. package/src/View/Components/ColumnSelector/index.js +12 -7
  733. package/src/View/Components/EntityRowItem.js +7 -2
  734. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +23 -18
  735. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +32 -27
  736. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.js +5 -1
  737. package/src/View/Components/EntityRulesEditor/Utilities.js +5 -1
  738. package/src/View/Components/EntityRulesEditor/index.d.ts +2 -2
  739. package/src/View/Components/EntityRulesEditor/index.js +40 -35
  740. package/src/View/Components/ExpressionWizard.js +22 -17
  741. package/src/View/Components/ExternalRenderer.d.ts +1 -1
  742. package/src/View/Components/ExternalRenderer.js +10 -6
  743. package/src/View/Components/FilterForm/FilterForm.js +85 -73
  744. package/src/View/Components/FilterForm/ListBoxFilterForm.js +36 -33
  745. package/src/View/Components/FilterForm/ListBoxMenu.js +13 -8
  746. package/src/View/Components/FilterForm/QuickFilterForm.js +50 -44
  747. package/src/View/Components/FilterForm/QuickFilterValues.d.ts +2 -2
  748. package/src/View/Components/FilterForm/QuickFilterValues.js +33 -27
  749. package/src/View/Components/FilterForm/Waiting.d.ts +1 -1
  750. package/src/View/Components/FilterForm/Waiting.js +14 -10
  751. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +5 -1
  752. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
  753. package/src/View/Components/Forms/AdaptableFormControlTextClear.js +14 -10
  754. package/src/View/Components/ListBox/DualListBoxEditor.js +58 -53
  755. package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +15 -10
  756. package/src/View/Components/ModuleProfile.js +9 -4
  757. package/src/View/Components/ModuleSummary/ModuleDetail.js +11 -6
  758. package/src/View/Components/ModuleSummary/ModuleHeader.js +13 -8
  759. package/src/View/Components/ModuleSummary/SummaryRowItem.js +9 -4
  760. package/src/View/Components/ModuleValueSelector/index.js +19 -15
  761. package/src/View/Components/NewScopeComponent.js +52 -45
  762. package/src/View/Components/Panels/FilterFormPanel.js +27 -22
  763. package/src/View/Components/Panels/PanelDashboard/index.js +9 -4
  764. package/src/View/Components/Panels/PanelFooter.js +13 -8
  765. package/src/View/Components/Panels/PanelToolPanel/index.js +20 -16
  766. package/src/View/Components/Panels/PanelWithButton.js +21 -16
  767. package/src/View/Components/Panels/PanelWithImage.js +20 -16
  768. package/src/View/Components/Panels/PanelWithRow.js +12 -7
  769. package/src/View/Components/Panels/PanelWithTwoButtons.js +12 -7
  770. package/src/View/Components/Panels/ToolPanelSettingsPanel.js +11 -6
  771. package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +20 -15
  772. package/src/View/Components/PermittedValuesSelector/index.js +5 -1
  773. package/src/View/Components/Popups/AdaptableLoadingScreen.js +11 -6
  774. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +31 -26
  775. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +12 -7
  776. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +25 -21
  777. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +29 -24
  778. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +9 -4
  779. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +16 -11
  780. package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +8 -3
  781. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +17 -12
  782. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +17 -12
  783. package/src/View/Components/Popups/AdaptablePopup/index.js +5 -1
  784. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +15 -10
  785. package/src/View/Components/Popups/AdaptablePopupAlert.js +27 -22
  786. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +30 -25
  787. package/src/View/Components/Popups/AdaptablePopupPrompt.js +23 -18
  788. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +31 -26
  789. package/src/View/Components/Popups/AdaptableToaster.js +18 -13
  790. package/src/View/Components/Popups/FormPopups/FormPopups.js +25 -19
  791. package/src/View/Components/Popups/Utilities.js +17 -10
  792. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +27 -23
  793. package/src/View/Components/Popups/WindowPopups/windowFactory.js +16 -13
  794. package/src/View/Components/PredicateEditor/PredicateEditor.js +33 -28
  795. package/src/View/Components/PreviewResultsPanel.js +18 -13
  796. package/src/View/Components/RangesComponent.js +62 -54
  797. package/src/View/Components/ScopeComponent.js +28 -23
  798. package/src/View/Components/Selectors/ColumnSelector.d.ts +12 -17
  799. package/src/View/Components/Selectors/ColumnSelector.js +29 -43
  800. package/src/View/Components/Selectors/ColumnSelectorOld.d.ts +18 -0
  801. package/src/View/Components/Selectors/ColumnSelectorOld.js +51 -0
  802. package/src/View/Components/Selectors/ColumnValueSelector.d.ts +4 -23
  803. package/src/View/Components/Selectors/ColumnValueSelector.js +43 -130
  804. package/src/View/Components/Selectors/PermittedValuesSelector.d.ts +14 -0
  805. package/src/View/Components/Selectors/PermittedValuesSelector.js +73 -0
  806. package/src/View/Components/SharedProps/BaseProps.js +2 -1
  807. package/src/View/Components/SharedProps/ConfigEntityRowProps.js +2 -1
  808. package/src/View/Components/SharedProps/EditableConfigEntityState.js +5 -2
  809. package/src/View/Components/SharedProps/ModuleSummaryProps.js +2 -1
  810. package/src/View/Components/SharedProps/ModuleViewPopupProps.js +2 -1
  811. package/src/View/Components/SharedProps/ToolPanelModuleViewPopupProps.js +2 -1
  812. package/src/View/Components/SharedProps/ToolbarModuleViewPopupProps.js +2 -1
  813. package/src/View/Components/SharedProps/ViewPanelProps.js +2 -1
  814. package/src/View/Components/SharedProps/WizardScopeState.js +2 -1
  815. package/src/View/Components/StyleComponent.d.ts +2 -3
  816. package/src/View/Components/StyleComponent.js +90 -88
  817. package/src/View/Components/StyleVisualItem.js +14 -9
  818. package/src/View/Components/TagValueSelector/index.js +15 -9
  819. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +44 -39
  820. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +18 -13
  821. package/src/View/Components/ToolPanel/ToolPanelPopup.js +28 -24
  822. package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +1 -1
  823. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +21 -16
  824. package/src/View/Components/ValueSelector/index.d.ts +2 -2
  825. package/src/View/Components/ValueSelector/index.js +53 -47
  826. package/src/View/Components/WizardSummaryPage.js +12 -7
  827. package/src/View/Components/WizardSummaryRow.js +11 -6
  828. package/src/View/CustomSort/CustomSortSummary.js +37 -32
  829. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +1 -1
  830. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +24 -17
  831. package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.js +9 -4
  832. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.d.ts +1 -1
  833. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +36 -29
  834. package/src/View/CustomSort/Wizard/CustomSortWizard.js +37 -32
  835. package/src/View/Dashboard/CustomDashboardButton.js +12 -7
  836. package/src/View/Dashboard/CustomToolbar.js +25 -19
  837. package/src/View/Dashboard/Dashboard.js +42 -38
  838. package/src/View/Dashboard/DashboardPopup.js +33 -29
  839. package/src/View/Dashboard/DashboardToolbarFactory.js +18 -14
  840. package/src/View/Dashboard/DashboardViewPanel.js +14 -10
  841. package/src/View/Dashboard/ModuleToolbarWrapper.js +13 -8
  842. package/src/View/Dashboard/PinnedDashboard.js +19 -11
  843. package/src/View/Dashboard/PinnedToolbarsSelector.js +17 -12
  844. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +23 -16
  845. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +38 -34
  846. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +9 -4
  847. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +41 -36
  848. package/src/View/DataChangeHistory/buildActionColumnButton.js +5 -1
  849. package/src/View/DataImport/DataImportPopup.js +17 -12
  850. package/src/View/DataImport/DataImportWizard/DataImportWizard.d.ts +1 -1
  851. package/src/View/DataImport/DataImportWizard/DataImportWizard.js +30 -25
  852. package/src/View/DataImport/DataImportWizard/index.js +4 -1
  853. package/src/View/DataImport/DataImportWizard/sections/ColumnsSection.js +34 -29
  854. package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +26 -21
  855. package/src/View/DataImport/DataImportWizard/sections/ImportSection.js +23 -18
  856. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadFileSection.js +10 -5
  857. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.d.ts +1 -1
  858. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.js +22 -17
  859. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadTextSection.js +11 -6
  860. package/src/View/DataImport/DataImportWizard/sections/UploadSection/index.js +4 -1
  861. package/src/View/DataImport/DataImportWizard/sections/ValidationSection.js +23 -18
  862. package/src/View/DataImport/systemFileHandlers.js +9 -5
  863. package/src/View/DataSet/DataSetSelector.js +11 -6
  864. package/src/View/DataSet/DataSetStatusPanelPopover.js +11 -6
  865. package/src/View/DataSet/DataSetViewPanel.js +16 -11
  866. package/src/View/Export/ExportSelector.js +27 -24
  867. package/src/View/Export/ExportTablePopup.js +12 -7
  868. package/src/View/Export/ExportViewPanel.d.ts +4 -4
  869. package/src/View/Export/ExportViewPanel.js +51 -49
  870. package/src/View/Export/ReportExportDropdown.js +21 -16
  871. package/src/View/Export/Wizard/NewReportWizard.js +37 -32
  872. package/src/View/Export/Wizard/ReportColumnTypeWizard.js +19 -14
  873. package/src/View/Export/Wizard/ReportColumnsWizardSection.d.ts +1 -1
  874. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +35 -28
  875. package/src/View/Export/Wizard/ReportNameWizardSection.d.ts +1 -1
  876. package/src/View/Export/Wizard/ReportNameWizardSection.js +28 -21
  877. package/src/View/Export/Wizard/ReportRowTypeWizard.js +19 -14
  878. package/src/View/Export/Wizard/ReportRowsWizardSection.d.ts +1 -1
  879. package/src/View/Export/Wizard/ReportRowsWizardSection.js +37 -30
  880. package/src/View/Export/Wizard/ReportScopeWizard.js +14 -9
  881. package/src/View/Export/Wizard/ReportSettingsWizard.js +23 -18
  882. package/src/View/Export/Wizard/ReportSummaryWizard.js +9 -4
  883. package/src/View/Export/constants.js +5 -2
  884. package/src/View/Filter/ActiveFiltersPanel.js +12 -7
  885. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +9 -4
  886. package/src/View/Filter/FilterSummary.js +23 -18
  887. package/src/View/Filter/FilterViewPanel.js +25 -21
  888. package/src/View/FlashingCell/FlashingCellStyle.js +14 -10
  889. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +20 -14
  890. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.d.ts +1 -1
  891. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +15 -10
  892. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.d.ts +1 -1
  893. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +42 -36
  894. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.d.ts +1 -1
  895. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +34 -28
  896. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +54 -49
  897. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +8 -4
  898. package/src/View/FormatColumn/FormatColumnSummary.js +32 -27
  899. package/src/View/FormatColumn/MoveFormatColumn.js +15 -10
  900. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +1 -1
  901. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +161 -152
  902. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.d.ts +1 -1
  903. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +11 -6
  904. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.d.ts +1 -1
  905. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +16 -10
  906. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.d.ts +1 -1
  907. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +36 -30
  908. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +1 -1
  909. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +25 -17
  910. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +56 -49
  911. package/src/View/FormatColumn/Wizard/constants.js +4 -1
  912. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +32 -27
  913. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
  914. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +60 -63
  915. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +31 -26
  916. package/src/View/GridFilter/GridFilterExpressionEditor.js +86 -28
  917. package/src/View/GridFilter/GridFilterPopup.js +48 -11
  918. package/src/View/GridFilter/GridFilterStatusbar.js +10 -6
  919. package/src/View/GridFilter/GridFilterViewPanel.d.ts +2 -26
  920. package/src/View/GridFilter/GridFilterViewPanel.js +66 -161
  921. package/src/View/GridFilter/GridFilterWindowPopup.js +9 -4
  922. package/src/View/GridFilter/NamedQuerySelector.d.ts +16 -0
  923. package/src/View/GridFilter/NamedQuerySelector.js +56 -0
  924. package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +26 -0
  925. package/src/View/GridFilter/useGridFilterExpressionEditor.js +136 -0
  926. package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.d.ts +4 -0
  927. package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +13 -0
  928. package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +16 -11
  929. package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.js +25 -20
  930. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +39 -32
  931. package/src/View/GridInfo/GridInfoPopup/index.js +4 -1
  932. package/src/View/KeyHint.js +9 -4
  933. package/src/View/Layout/EditCurrentLayoutButton.js +11 -6
  934. package/src/View/Layout/LayoutCloneButton.js +11 -6
  935. package/src/View/Layout/LayoutRadioSelector.js +11 -6
  936. package/src/View/Layout/LayoutStatusBarSubPanelPopover.d.ts +1 -1
  937. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +20 -10
  938. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  939. package/src/View/Layout/LayoutViewPanel.js +32 -27
  940. package/src/View/Layout/PivotDetailsPopoup.js +12 -7
  941. package/src/View/Layout/SaveLayoutButton.js +19 -13
  942. package/src/View/Layout/Wizard/Components/ColumnLabels.js +15 -11
  943. package/src/View/Layout/Wizard/LayoutWizard.js +61 -46
  944. package/src/View/Layout/Wizard/sections/AggregationsSection.js +44 -37
  945. package/src/View/Layout/Wizard/sections/ColumnsSection.js +68 -62
  946. package/src/View/Layout/Wizard/sections/FilterSection.js +48 -43
  947. package/src/View/Layout/Wizard/sections/GridFilterSection.d.ts +9 -0
  948. package/src/View/Layout/Wizard/sections/GridFilterSection.js +44 -0
  949. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +27 -21
  950. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +33 -27
  951. package/src/View/Layout/Wizard/sections/SettingsSection.js +35 -29
  952. package/src/View/Layout/Wizard/sections/SortSection.js +32 -26
  953. package/src/View/Layout/Wizard/sections/Utilities.js +5 -1
  954. package/src/View/License/LicenseWatermark.js +1 -1
  955. package/src/View/License/index.js +5 -1
  956. package/src/View/NamedQuery/EditCurrentQueryButton.js +12 -7
  957. package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +24 -17
  958. package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +29 -22
  959. package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +35 -30
  960. package/src/View/Notes/NotesListing.js +19 -14
  961. package/src/View/Notes/NotesPopup.js +24 -19
  962. package/src/View/PlusMinus/PlusMinusSummary.js +31 -26
  963. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +18 -12
  964. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +11 -6
  965. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +39 -32
  966. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +31 -26
  967. package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +18 -13
  968. package/src/View/QuickSearch/QuickSearchInput.js +18 -13
  969. package/src/View/QuickSearch/QuickSearchPopup.js +30 -26
  970. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +15 -10
  971. package/src/View/QuickSearch/QuickSearchViewPanel.js +9 -4
  972. package/src/View/QuickSearch/useQuickSearchDebounced.d.ts +1 -1
  973. package/src/View/QuickSearch/useQuickSearchDebounced.js +12 -7
  974. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +13 -8
  975. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +32 -26
  976. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +18 -13
  977. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +29 -24
  978. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +18 -13
  979. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +31 -23
  980. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.d.ts +1 -1
  981. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +22 -16
  982. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +20 -14
  983. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +25 -20
  984. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/index.js +9 -3
  985. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +22 -17
  986. package/src/View/Schedule/Wizard/ScheduleWizard.js +52 -47
  987. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +11 -6
  988. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +51 -45
  989. package/src/View/Shortcut/Wizard/ShortcutWizard.js +41 -35
  990. package/src/View/Shortcut/shortcutKeys.js +4 -1
  991. package/src/View/Shortcut/shortcutOperations.js +9 -6
  992. package/src/View/SmartEdit/SmartEditPopup.js +30 -26
  993. package/src/View/SmartEdit/SmartEditViewPanel.js +39 -33
  994. package/src/View/SpecialColumnSettingsWizardStep.js +41 -33
  995. package/src/View/StateManagement/StateManagementPopup.js +27 -22
  996. package/src/View/StateManagement/StateManagementViewPanel.js +19 -14
  997. package/src/View/StateManagement/components/ClearButton.js +9 -4
  998. package/src/View/StateManagement/components/ExportDropdown.js +12 -7
  999. package/src/View/StateManagement/components/LoadButton.js +11 -6
  1000. package/src/View/StateManagement/handleExportState.js +9 -4
  1001. package/src/View/StatusBar/AdaptableStatusBar.js +19 -14
  1002. package/src/View/StatusBar/StatusBarPanel.js +16 -12
  1003. package/src/View/StatusBar/StatusBarPopup.js +19 -14
  1004. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +59 -52
  1005. package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +149 -147
  1006. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +51 -47
  1007. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +1 -1
  1008. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +31 -22
  1009. package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.d.ts +1 -1
  1010. package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +27 -21
  1011. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarColumnComparisonPreview.js +14 -9
  1012. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarRangesPreview.js +12 -7
  1013. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarStylePreview.js +12 -7
  1014. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +20 -15
  1015. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +56 -57
  1016. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/index.js +4 -1
  1017. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +29 -30
  1018. package/src/View/SystemStatus/SystemStatusEntityRow.js +17 -12
  1019. package/src/View/SystemStatus/SystemStatusPopup.js +22 -18
  1020. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +13 -8
  1021. package/src/View/SystemStatus/SystemStatusViewPanel.js +12 -8
  1022. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +10 -5
  1023. package/src/View/TeamSharing/SharedEntityDependencies.js +18 -12
  1024. package/src/View/TeamSharing/SharedEntityObjectView.js +30 -23
  1025. package/src/View/TeamSharing/TeamSharingApplyButton.js +11 -6
  1026. package/src/View/Theme/ThemeEditor.d.ts +1 -1
  1027. package/src/View/Theme/ThemeEditor.js +32 -27
  1028. package/src/View/Theme/ThemeEditorWindow.js +13 -8
  1029. package/src/View/Theme/ThemeField.js +23 -18
  1030. package/src/View/Theme/ThemePopup.js +28 -39
  1031. package/src/View/Theme/ThemeSelector.d.ts +5 -0
  1032. package/src/View/Theme/ThemeSelector.js +34 -0
  1033. package/src/View/Theme/ThemeStatusbar.d.ts +2 -0
  1034. package/src/View/Theme/ThemeStatusbar.js +14 -0
  1035. package/src/View/Theme/ThemeViewPanel.d.ts +2 -13
  1036. package/src/View/Theme/ThemeViewPanel.js +14 -55
  1037. package/src/View/Theme/VariantSelector.js +13 -8
  1038. package/src/View/UIHelper.d.ts +1 -1
  1039. package/src/View/UIHelper.js +152 -120
  1040. package/src/View/UIInterfaces.js +2 -1
  1041. package/src/View/Wizard/AdaptableWizard.js +30 -24
  1042. package/src/View/Wizard/Interface/IAdaptableWizard.js +2 -1
  1043. package/src/View/Wizard/ObjectTagsWizardSection.d.ts +1 -1
  1044. package/src/View/Wizard/ObjectTagsWizardSection.js +20 -14
  1045. package/src/View/Wizard/OnePageAdaptableWizard.d.ts +1 -1
  1046. package/src/View/Wizard/OnePageAdaptableWizard.js +42 -32
  1047. package/src/View/Wizard/OnePageWizards.d.ts +2 -2
  1048. package/src/View/Wizard/OnePageWizards.js +59 -50
  1049. package/src/View/Wizard/TypeRadio.js +12 -7
  1050. package/src/View/Wizard/WizardLegend.js +11 -6
  1051. package/src/View/Wizard/useKeyboardNavigation.js +9 -4
  1052. package/src/View/renderWithAdaptableContext.js +14 -9
  1053. package/src/agGrid/ActionColumnRenderer.js +15 -9
  1054. package/src/agGrid/Adaptable.d.ts +18 -12
  1055. package/src/agGrid/Adaptable.js +439 -445
  1056. package/src/agGrid/AdaptableLogger.js +19 -15
  1057. package/src/agGrid/BadgeRenderer.js +11 -6
  1058. package/src/agGrid/CheckboxRenderer.d.ts +5 -0
  1059. package/src/agGrid/CheckboxRenderer.js +12 -3
  1060. package/src/agGrid/ColumnSetupInfo.d.ts +1 -1
  1061. package/src/agGrid/ColumnSetupInfo.js +2 -1
  1062. package/src/agGrid/FilterWrapper.js +14 -9
  1063. package/src/agGrid/FloatingFilterWrapper.js +13 -8
  1064. package/src/agGrid/PercentBarRenderer.js +10 -5
  1065. package/src/agGrid/agGridHelper.d.ts +0 -1
  1066. package/src/agGrid/agGridHelper.js +117 -110
  1067. package/src/agGrid/agGridMenuHelper.js +35 -30
  1068. package/src/agGrid/attachAddaptableColumnTypes.js +8 -4
  1069. package/src/agGrid/createAgStatusPanelComponent.js +10 -5
  1070. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.d.ts +2 -2
  1071. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +16 -12
  1072. package/src/agGrid/editors/AdaptableDateEditor/index.js +24 -19
  1073. package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.d.ts +2 -2
  1074. package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +10 -6
  1075. package/src/agGrid/editors/AdaptableNumberEditor/index.js +21 -16
  1076. package/src/agGrid/index.js +11 -6
  1077. package/src/agGrid/weightedAverage.js +17 -10
  1078. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +31 -25
  1079. package/src/components/AdaptableFormComponent/index.js +4 -1
  1080. package/src/components/CheckBox/index.d.ts +1 -1
  1081. package/src/components/CheckBox/index.js +17 -13
  1082. package/src/components/CodeBlock/index.js +11 -6
  1083. package/src/components/ColorPicker/ColorPicker.d.ts +2 -2
  1084. package/src/components/ColorPicker/ColorPicker.js +18 -15
  1085. package/src/components/ColorPicker/index.js +4 -1
  1086. package/src/components/ContainerProps.d.ts +2 -2
  1087. package/src/components/ContainerProps.js +2 -1
  1088. package/src/components/Dashboard/Dashboard.d.ts +2 -2
  1089. package/src/components/Dashboard/Dashboard.js +22 -17
  1090. package/src/components/Dashboard/DashboardManager.js +7 -4
  1091. package/src/components/Dashboard/DashboardTab.d.ts +1 -1
  1092. package/src/components/Dashboard/DashboardTab.js +5 -1
  1093. package/src/components/Dashboard/DashboardToolbar.d.ts +1 -1
  1094. package/src/components/Dashboard/DashboardToolbar.js +14 -9
  1095. package/src/components/Dashboard/index.js +6 -3
  1096. package/src/components/Datepicker/Caption.js +20 -15
  1097. package/src/components/Datepicker/CaptionLabel.js +21 -16
  1098. package/src/components/Datepicker/DatepickerContext.js +9 -4
  1099. package/src/components/Datepicker/index.d.ts +2 -2
  1100. package/src/components/Datepicker/index.js +42 -39
  1101. package/src/components/Dialog/index.d.ts +2 -2
  1102. package/src/components/Dialog/index.js +32 -29
  1103. package/src/components/Dialog/useIsOpen.js +6 -3
  1104. package/src/components/DragAndDropContext/DragAndDropContext.js +6 -2
  1105. package/src/components/DragAndDropContext/ModuleManager.js +18 -13
  1106. package/src/components/DragAndDropContext/TabList.js +27 -19
  1107. package/src/components/DragAndDropContext/UnusedPanel.js +15 -10
  1108. package/src/components/DragAndDropContext/types.js +2 -1
  1109. package/src/components/Drawer/index.js +7 -2
  1110. package/src/components/Dropdown/Arrows.js +8 -5
  1111. package/src/components/Dropdown/index.d.ts +2 -2
  1112. package/src/components/Dropdown/index.js +20 -18
  1113. package/src/components/DropdownButton/DropdownButtonItem.d.ts +1 -1
  1114. package/src/components/DropdownButton/DropdownButtonItem.js +2 -1
  1115. package/src/components/DropdownButton/index.d.ts +1 -1
  1116. package/src/components/DropdownButton/index.js +26 -23
  1117. package/src/components/DropdownButton/renderItem.d.ts +1 -1
  1118. package/src/components/DropdownButton/renderItem.js +7 -4
  1119. package/src/components/DropdownButton/useExpanded.d.ts +1 -1
  1120. package/src/components/DropdownButton/useExpanded.js +12 -9
  1121. package/src/components/EllipsisContainer/index.d.ts +1 -1
  1122. package/src/components/EllipsisContainer/index.js +21 -17
  1123. package/src/components/EmptyContent/index.d.ts +1 -1
  1124. package/src/components/EmptyContent/index.js +10 -8
  1125. package/src/components/ErrorBox/index.js +10 -6
  1126. package/src/components/ExpressionEditor/BaseEditorInput.js +61 -56
  1127. package/src/components/ExpressionEditor/EditorButton.js +10 -8
  1128. package/src/components/ExpressionEditor/EditorContext.js +8 -4
  1129. package/src/components/ExpressionEditor/EditorInput.js +25 -22
  1130. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +27 -24
  1131. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +15 -10
  1132. package/src/components/ExpressionEditor/NamedQueryContext.d.ts +1 -1
  1133. package/src/components/ExpressionEditor/NamedQueryContext.js +8 -4
  1134. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +70 -34
  1135. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +13 -2
  1136. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +85 -51
  1137. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.d.ts +1 -1
  1138. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +73 -56
  1139. package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +7 -1
  1140. package/src/components/ExpressionEditor/QueryBuilder/index.js +4 -1
  1141. package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +2 -1
  1142. package/src/components/ExpressionEditor/QueryBuilder/utils.js +52 -13
  1143. package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.js +4 -1
  1144. package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +4 -1
  1145. package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.js +4 -1
  1146. package/src/components/ExpressionEditor/editorButtonsObservable.js +4 -1
  1147. package/src/components/ExpressionEditor/editorButtonsQuantileAggregatedScalar.js +4 -1
  1148. package/src/components/ExpressionEditor/editorButtonsSearch.js +4 -1
  1149. package/src/components/ExpressionEditor/index.d.ts +2 -1
  1150. package/src/components/ExpressionEditor/index.js +156 -132
  1151. package/src/components/FieldWrap/index.js +8 -5
  1152. package/src/components/FileDroppable/FileDroppableState.js +2 -1
  1153. package/src/components/FileDroppable/index.js +33 -29
  1154. package/src/components/FileDroppable/reducer.js +6 -3
  1155. package/src/components/FlexWithFooter.js +11 -9
  1156. package/src/components/FormLayout/index.d.ts +4 -4
  1157. package/src/components/FormLayout/index.js +17 -13
  1158. package/src/components/HelpBlock/index.js +10 -6
  1159. package/src/components/Icon/index.js +29 -20
  1160. package/src/components/IconSelector/IconSelector.js +32 -27
  1161. package/src/components/IconSelector/index.js +4 -1
  1162. package/src/components/InfiniteTable/index.js +10 -6
  1163. package/src/components/Input/NumberInput.d.ts +1 -1
  1164. package/src/components/Input/NumberInput.js +9 -4
  1165. package/src/components/Input/index.d.ts +2 -2
  1166. package/src/components/Input/index.js +11 -8
  1167. package/src/components/InputGroup/InputGroup.d.ts +7 -0
  1168. package/src/components/InputGroup/InputGroup.js +12 -0
  1169. package/src/components/InputGroup/index.d.ts +1 -0
  1170. package/src/components/InputGroup/index.js +4 -0
  1171. package/src/components/List/GridList/index.js +10 -7
  1172. package/src/components/List/ListGroup/index.js +9 -7
  1173. package/src/components/List/ListGroupItem/index.d.ts +2 -2
  1174. package/src/components/List/ListGroupItem/index.js +10 -8
  1175. package/src/components/Loader/Loader.js +10 -4
  1176. package/src/components/Loader/index.js +7 -2
  1177. package/src/components/Logo/index.js +7 -2
  1178. package/src/components/Modal/Backdrop.d.ts +2 -2
  1179. package/src/components/Modal/Backdrop.js +17 -12
  1180. package/src/components/Modal/index.js +23 -19
  1181. package/src/components/NotifyResize/index.js +7 -4
  1182. package/src/components/OverlayTrigger/Overlay.js +23 -19
  1183. package/src/components/OverlayTrigger/index.d.ts +1 -1
  1184. package/src/components/OverlayTrigger/index.js +53 -43
  1185. package/src/components/OverlayTrigger/useAgGridClassName.js +7 -5
  1186. package/src/components/OverlayTrigger/utils.js +9 -3
  1187. package/src/components/Panel/index.d.ts +1 -1
  1188. package/src/components/Panel/index.js +15 -12
  1189. package/src/components/PopupWithFooter.js +11 -8
  1190. package/src/components/ProgressIndicator/ProgressIndicator.js +17 -12
  1191. package/src/components/Radio/index.d.ts +1 -1
  1192. package/src/components/Radio/index.js +20 -15
  1193. package/src/components/ResizeObserver/getResizeObserverObject.js +5 -1
  1194. package/src/components/ResizeObserver/index.d.ts +1 -1
  1195. package/src/components/ResizeObserver/index.js +24 -17
  1196. package/src/components/Select/Select.d.ts +30 -0
  1197. package/src/components/Select/Select.js +161 -0
  1198. package/src/components/Select/index.d.ts +1 -0
  1199. package/src/components/Select/index.js +4 -0
  1200. package/src/components/SelectList.js +9 -4
  1201. package/src/components/SelectableList/index.d.ts +1 -1
  1202. package/src/components/SelectableList/index.js +13 -8
  1203. package/src/components/SimpleButton/index.js +22 -19
  1204. package/src/components/SizedContainer/index.js +11 -9
  1205. package/src/components/StylePreview.js +11 -6
  1206. package/src/components/Table/index.js +7 -4
  1207. package/src/components/Tabs/index.d.ts +3 -3
  1208. package/src/components/Tabs/index.js +34 -28
  1209. package/src/components/Tag/Tag.js +9 -5
  1210. package/src/components/Tag/index.js +5 -1
  1211. package/src/components/Textarea/index.d.ts +1 -1
  1212. package/src/components/Textarea/index.js +11 -8
  1213. package/src/components/Toastify/index.js +10 -1
  1214. package/src/components/Toggle/Toggle.d.ts +1 -1
  1215. package/src/components/Toggle/Toggle.js +12 -8
  1216. package/src/components/Toggle/ToggleGroup.js +9 -4
  1217. package/src/components/Toggle/index.js +5 -2
  1218. package/src/components/ToggleButton/index.js +11 -6
  1219. package/src/components/Tooltip/index.js +7 -4
  1220. package/src/components/WarningBox/index.d.ts +4 -0
  1221. package/src/components/WarningBox/index.js +12 -0
  1222. package/src/components/WindowModal/WindowModal.d.ts +2 -2
  1223. package/src/components/WindowModal/WindowModal.js +17 -12
  1224. package/src/components/WindowModal/index.js +4 -1
  1225. package/src/components/WindowModal/useStacking.js +9 -4
  1226. package/src/components/WizardPanel/index.js +8 -5
  1227. package/src/components/icons/DefaultIcon.d.ts +1 -1
  1228. package/src/components/icons/DefaultIcon.js +12 -8
  1229. package/src/components/icons/add-row.js +6 -3
  1230. package/src/components/icons/alert.js +6 -3
  1231. package/src/components/icons/align-center.js +6 -3
  1232. package/src/components/icons/align-justify.js +6 -3
  1233. package/src/components/icons/align-left.js +6 -3
  1234. package/src/components/icons/align-right.js +6 -3
  1235. package/src/components/icons/analysis.js +6 -3
  1236. package/src/components/icons/application.js +6 -3
  1237. package/src/components/icons/arrow-down-long.js +6 -3
  1238. package/src/components/icons/arrow-down.js +6 -3
  1239. package/src/components/icons/arrow-expand.js +6 -3
  1240. package/src/components/icons/arrow-left.js +6 -3
  1241. package/src/components/icons/arrow-right.js +6 -3
  1242. package/src/components/icons/arrow-up-long.js +6 -3
  1243. package/src/components/icons/arrow-up.js +6 -3
  1244. package/src/components/icons/attach-file.js +6 -3
  1245. package/src/components/icons/badge.js +6 -3
  1246. package/src/components/icons/blanks.js +6 -3
  1247. package/src/components/icons/bold.js +6 -3
  1248. package/src/components/icons/boolean-list.js +6 -3
  1249. package/src/components/icons/brush.js +6 -3
  1250. package/src/components/icons/build.js +6 -3
  1251. package/src/components/icons/bulk-update.js +6 -3
  1252. package/src/components/icons/calculated-column.js +6 -3
  1253. package/src/components/icons/calendar.js +6 -3
  1254. package/src/components/icons/call.js +6 -3
  1255. package/src/components/icons/campaign.js +6 -3
  1256. package/src/components/icons/case-lower.js +6 -3
  1257. package/src/components/icons/case-sentence.js +6 -3
  1258. package/src/components/icons/case-upper.js +6 -3
  1259. package/src/components/icons/cell-summary.js +6 -3
  1260. package/src/components/icons/cell-validation.js +6 -3
  1261. package/src/components/icons/chart.js +6 -3
  1262. package/src/components/icons/chat.js +6 -3
  1263. package/src/components/icons/check-box-outline.js +6 -3
  1264. package/src/components/icons/check-box.js +6 -3
  1265. package/src/components/icons/check-circle.js +6 -3
  1266. package/src/components/icons/check.js +6 -3
  1267. package/src/components/icons/clone.js +6 -3
  1268. package/src/components/icons/close.js +6 -3
  1269. package/src/components/icons/cloud-upload.js +6 -3
  1270. package/src/components/icons/collapse.js +6 -3
  1271. package/src/components/icons/column-add.js +6 -3
  1272. package/src/components/icons/column-chooser.js +6 -3
  1273. package/src/components/icons/column-filter.js +6 -3
  1274. package/src/components/icons/column-info.js +6 -3
  1275. package/src/components/icons/comment.js +6 -3
  1276. package/src/components/icons/contact.js +6 -3
  1277. package/src/components/icons/contains.js +6 -3
  1278. package/src/components/icons/custom-sort.js +6 -3
  1279. package/src/components/icons/dashboard.js +6 -3
  1280. package/src/components/icons/data-set.js +6 -3
  1281. package/src/components/icons/date-range.js +6 -3
  1282. package/src/components/icons/delete.js +6 -3
  1283. package/src/components/icons/division.js +6 -3
  1284. package/src/components/icons/dock.js +6 -3
  1285. package/src/components/icons/dollar.js +6 -3
  1286. package/src/components/icons/drag.js +6 -3
  1287. package/src/components/icons/edit.js +6 -3
  1288. package/src/components/icons/ends-with.js +6 -3
  1289. package/src/components/icons/equal.js +6 -3
  1290. package/src/components/icons/equation.js +6 -3
  1291. package/src/components/icons/error.js +6 -3
  1292. package/src/components/icons/expand.js +6 -3
  1293. package/src/components/icons/exponent.js +6 -3
  1294. package/src/components/icons/export.js +6 -3
  1295. package/src/components/icons/fast-backward.js +6 -3
  1296. package/src/components/icons/fast-forward.js +6 -3
  1297. package/src/components/icons/fdc3.js +6 -3
  1298. package/src/components/icons/filter.js +6 -3
  1299. package/src/components/icons/flashing-cell.js +6 -3
  1300. package/src/components/icons/folder-open.js +6 -3
  1301. package/src/components/icons/folder-shared.js +6 -3
  1302. package/src/components/icons/folder.js +6 -3
  1303. package/src/components/icons/format-column.js +6 -3
  1304. package/src/components/icons/freetext-column.js +6 -3
  1305. package/src/components/icons/function.js +6 -3
  1306. package/src/components/icons/gradient-column.js +6 -3
  1307. package/src/components/icons/gradient.js +6 -3
  1308. package/src/components/icons/greater-than-or-equal.js +6 -3
  1309. package/src/components/icons/greater-than.js +6 -3
  1310. package/src/components/icons/grid-filter.js +6 -3
  1311. package/src/components/icons/hide-column.js +6 -3
  1312. package/src/components/icons/history.js +6 -3
  1313. package/src/components/icons/home.js +6 -3
  1314. package/src/components/icons/import-export.js +6 -3
  1315. package/src/components/icons/import.js +6 -3
  1316. package/src/components/icons/index.js +326 -319
  1317. package/src/components/icons/info.js +6 -3
  1318. package/src/components/icons/instrument.js +6 -3
  1319. package/src/components/icons/interactions.js +6 -3
  1320. package/src/components/icons/invalid.js +6 -3
  1321. package/src/components/icons/ipushpull.js +6 -3
  1322. package/src/components/icons/italic.js +6 -3
  1323. package/src/components/icons/justify.js +6 -3
  1324. package/src/components/icons/layout.js +6 -3
  1325. package/src/components/icons/less-than-or-equal.js +6 -3
  1326. package/src/components/icons/less-than.js +6 -3
  1327. package/src/components/icons/list.js +6 -3
  1328. package/src/components/icons/login.js +6 -3
  1329. package/src/components/icons/logout copy.js +6 -3
  1330. package/src/components/icons/logout.js +6 -3
  1331. package/src/components/icons/mail.js +6 -3
  1332. package/src/components/icons/menu.js +6 -3
  1333. package/src/components/icons/minus.js +6 -3
  1334. package/src/components/icons/money.js +6 -3
  1335. package/src/components/icons/multiplication.js +6 -3
  1336. package/src/components/icons/newpage.js +6 -3
  1337. package/src/components/icons/news.js +6 -3
  1338. package/src/components/icons/non-blanks.js +6 -3
  1339. package/src/components/icons/not-contains.js +6 -3
  1340. package/src/components/icons/not-equal.js +6 -3
  1341. package/src/components/icons/note.js +6 -3
  1342. package/src/components/icons/open-in-new.js +6 -3
  1343. package/src/components/icons/order.js +6 -3
  1344. package/src/components/icons/organisation.js +6 -3
  1345. package/src/components/icons/overline.js +6 -3
  1346. package/src/components/icons/pause.js +6 -3
  1347. package/src/components/icons/percent-bar.js +6 -3
  1348. package/src/components/icons/percent.js +6 -3
  1349. package/src/components/icons/person.js +6 -3
  1350. package/src/components/icons/pie-chart.js +6 -3
  1351. package/src/components/icons/play.js +6 -3
  1352. package/src/components/icons/plus-minus.js +6 -3
  1353. package/src/components/icons/plus.js +6 -3
  1354. package/src/components/icons/query.js +6 -3
  1355. package/src/components/icons/quick-search.js +6 -3
  1356. package/src/components/icons/quote.js +6 -3
  1357. package/src/components/icons/refresh.js +6 -3
  1358. package/src/components/icons/regex.js +6 -3
  1359. package/src/components/icons/reminder.js +6 -3
  1360. package/src/components/icons/resume.d.ts +3 -0
  1361. package/src/components/icons/resume.js +7 -0
  1362. package/src/components/icons/save.js +6 -3
  1363. package/src/components/icons/schedule.js +6 -3
  1364. package/src/components/icons/science.js +6 -3
  1365. package/src/components/icons/settings.js +6 -3
  1366. package/src/components/icons/shortcut.js +6 -3
  1367. package/src/components/icons/show-column.js +6 -3
  1368. package/src/components/icons/smart-edit.js +6 -3
  1369. package/src/components/icons/sort-asc.js +6 -3
  1370. package/src/components/icons/sort-desc.js +6 -3
  1371. package/src/components/icons/spark-line.js +6 -3
  1372. package/src/components/icons/starts-with.js +6 -3
  1373. package/src/components/icons/state-management.js +6 -3
  1374. package/src/components/icons/statusbar.js +6 -3
  1375. package/src/components/icons/stop.js +6 -3
  1376. package/src/components/icons/strikethrough.js +6 -3
  1377. package/src/components/icons/system-status.js +6 -3
  1378. package/src/components/icons/tab-unselected.js +6 -3
  1379. package/src/components/icons/table-arrow-right.js +6 -3
  1380. package/src/components/icons/team-share.js +6 -3
  1381. package/src/components/icons/theme.js +6 -3
  1382. package/src/components/icons/tool-panel.js +6 -3
  1383. package/src/components/icons/track-changes.js +6 -3
  1384. package/src/components/icons/triangle-down.js +6 -3
  1385. package/src/components/icons/triangle-up.js +6 -3
  1386. package/src/components/icons/unchecked.js +6 -3
  1387. package/src/components/icons/underline.js +6 -3
  1388. package/src/components/icons/undo.js +6 -3
  1389. package/src/components/icons/updated-row.js +6 -3
  1390. package/src/components/icons/upload.js +6 -3
  1391. package/src/components/icons/user-filter.js +6 -3
  1392. package/src/components/icons/visibility-off.js +6 -3
  1393. package/src/components/icons/visibility.js +6 -3
  1394. package/src/components/icons/warning.js +6 -3
  1395. package/src/components/utils/batchUpdate.js +5 -3
  1396. package/src/components/utils/captureTabNavigation/getFocusableChildren.js +3 -1
  1397. package/src/components/utils/captureTabNavigation/index.js +6 -3
  1398. package/src/components/utils/contains.js +4 -1
  1399. package/src/components/utils/getAvailableSizeInfo.js +3 -1
  1400. package/src/components/utils/join.js +3 -1
  1401. package/src/components/utils/selectParent/index.js +6 -3
  1402. package/src/components/utils/selectParent/matches.js +2 -1
  1403. package/src/components/utils/useAutoFocus.js +8 -5
  1404. package/src/components/utils/useContainerScrollObserver/index.d.ts +1 -1
  1405. package/src/components/utils/useContainerScrollObserver/index.js +13 -9
  1406. package/src/components/utils/useDraggable.js +10 -7
  1407. package/src/components/utils/useGlobalEvent.js +7 -2
  1408. package/src/components/utils/useLatest.js +8 -4
  1409. package/src/components/utils/usePrevious.js +6 -4
  1410. package/src/components/utils/usePropState.js +6 -3
  1411. package/src/components/utils/useProperty.js +6 -4
  1412. package/src/components/utils/useRerender.js +8 -4
  1413. package/src/components/utils/useSelectionRange.js +9 -5
  1414. package/src/components/utils/useTheme.js +5 -2
  1415. package/src/components/utils/uuid.d.ts +1 -1
  1416. package/src/components/utils/uuid.js +6 -2
  1417. package/src/env.js +3 -1
  1418. package/src/metamodel/adaptable-metamodel-model.d.ts +2 -2
  1419. package/src/metamodel/adaptable-metamodel-model.js +2 -1
  1420. package/src/metamodel/adaptable.metamodel.d.ts +337 -27
  1421. package/src/metamodel/adaptable.metamodel.js +1 -1
  1422. package/src/parser/src/ExpressionEvaluationError.js +5 -1
  1423. package/src/parser/src/evaluator.js +7 -3
  1424. package/src/parser/src/index.js +18 -9
  1425. package/src/parser/src/predicate/index.js +5 -2
  1426. package/src/parser/src/predicate/mapExpressionToQlPredicate.js +19 -13
  1427. package/src/parser/src/predicate/mapQlPredicateToExpression.js +26 -6
  1428. package/src/parser/src/predicate/types.d.ts +3 -3
  1429. package/src/parser/src/predicate/types.js +5 -1
  1430. package/src/parser/src/tokenizer.js +8 -3
  1431. package/src/parser/src/types.d.ts +23 -11
  1432. package/src/parser/src/types.js +5 -1
  1433. package/src/parser/src/utils.js +9 -3
  1434. package/src/renderReactRoot.d.ts +2 -4
  1435. package/src/renderReactRoot.js +24 -45
  1436. package/src/theme.js +3 -1
  1437. package/src/themes/index.js +7 -4
  1438. package/src/types.d.ts +7 -7
  1439. package/src/types.js +5 -1
  1440. package/types.js +4 -1
  1441. package/version.d.ts +1 -1
  1442. package/version.js +3 -1
  1443. package/src/AdaptableOptions/FilterOptions.d.ts +0 -216
  1444. package/src/AdaptableOptions/FilterOptions.js +0 -1
  1445. package/src/AdaptableOptions/FinancePluginOptions.d.ts +0 -6
  1446. package/src/AdaptableOptions/FinancePluginOptions.js +0 -1
  1447. package/src/Api/Events/ChexboxColumnClicked.d.ts +0 -24
  1448. package/src/Api/Events/ChexboxColumnClicked.js +0 -1
  1449. package/src/Api/Events/QueryRun.d.ts +0 -15
  1450. package/src/Api/Events/QueryRun.js +0 -1
  1451. package/src/PredefinedConfig/ConditionalStyleState.d.ts +0 -41
  1452. package/src/PredefinedConfig/ConditionalStyleState.js +0 -1
  1453. package/src/View/Theme/ThemeStatusPanelPopover.d.ts +0 -2
  1454. package/src/View/Theme/ThemeStatusPanelPopover.js +0 -20
@@ -1,70 +1,73 @@
1
- import { CssClassManager, Events, Grid, GridApi, ModuleNames, ModuleRegistry, RowNode, } from '@ag-grid-community/core';
2
- import merge from 'lodash/merge';
3
- import debounce from 'lodash/debounce';
4
- import lodashIsEqual from 'lodash/isEqual';
5
- import throttle from 'lodash/throttle';
6
- import uniqBy from 'lodash/uniqBy';
7
- import * as React from 'react';
8
- import clamp from 'lodash/clamp';
9
- import { AdaptableApiImpl } from '../Api/Implementation/AdaptableApiImpl';
10
- import { FilterOnDataChangeOptions } from '../PredefinedConfig/Common/Enums';
11
- import { createUuid } from '../PredefinedConfig/Uuid';
12
- import { AdaptableStore, INIT_STATE } from '../Redux/Store/AdaptableStore';
13
- import * as GeneralConstants from '../Utilities/Constants/GeneralConstants';
14
- import { AB_SPECIAL_COLUMN, ADAPTABLE_ROW_ACTION_BUTTONS, AUTOGENERATED_PK_COLUMN, BLANK_DISTINCT_COLUMN_VALUE, DARK_THEME, HALF_SECOND, LIGHT_THEME, } from '../Utilities/Constants/GeneralConstants';
15
- import * as ModuleConstants from '../Utilities/Constants/ModuleConstants';
16
- import { NamedQueryModuleId } from '../Utilities/Constants/ModuleConstants';
17
- import { DefaultAdaptableOptions } from '../Utilities/Defaults/DefaultAdaptableOptions';
18
- import Emitter from '../Utilities/Emitter';
19
- import { ArrayExtensions } from '../Utilities/Extensions/ArrayExtensions';
20
- import { StringExtensions } from '../Utilities/Extensions/StringExtensions';
21
- import getScrollbarSize from '../Utilities/getScrollbarSize';
22
- import AdaptableHelper from '../Utilities/Helpers/AdaptableHelper';
23
- import { Helper } from '../Utilities/Helpers/Helper';
24
- import { createBaseContext, CreateEmptyCalculatedColumn, CreateEmptyFreeTextColumn, } from '../Utilities/ObjectFactory';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdaptableNoCodeWizard = exports.Adaptable = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const core_1 = require("@ag-grid-community/core");
6
+ const merge_1 = tslib_1.__importDefault(require("lodash/merge"));
7
+ const debounce_1 = tslib_1.__importDefault(require("lodash/debounce"));
8
+ const isEqual_1 = tslib_1.__importDefault(require("lodash/isEqual"));
9
+ const throttle_1 = tslib_1.__importDefault(require("lodash/throttle"));
10
+ const uniqBy_1 = tslib_1.__importDefault(require("lodash/uniqBy"));
11
+ const React = tslib_1.__importStar(require("react"));
12
+ const clamp_1 = tslib_1.__importDefault(require("lodash/clamp"));
13
+ const AdaptableApiImpl_1 = require("../Api/Implementation/AdaptableApiImpl");
14
+ const Enums_1 = require("../PredefinedConfig/Common/Enums");
15
+ const Uuid_1 = require("../PredefinedConfig/Uuid");
16
+ const AdaptableStore_1 = require("../Redux/Store/AdaptableStore");
17
+ const GeneralConstants = tslib_1.__importStar(require("../Utilities/Constants/GeneralConstants"));
18
+ const GeneralConstants_1 = require("../Utilities/Constants/GeneralConstants");
19
+ const ModuleConstants = tslib_1.__importStar(require("../Utilities/Constants/ModuleConstants"));
20
+ const ModuleConstants_1 = require("../Utilities/Constants/ModuleConstants");
21
+ const DefaultAdaptableOptions_1 = require("../Utilities/Defaults/DefaultAdaptableOptions");
22
+ const Emitter_1 = tslib_1.__importDefault(require("../Utilities/Emitter"));
23
+ const ArrayExtensions_1 = require("../Utilities/Extensions/ArrayExtensions");
24
+ const StringExtensions_1 = require("../Utilities/Extensions/StringExtensions");
25
+ const getScrollbarSize_1 = tslib_1.__importDefault(require("../Utilities/getScrollbarSize"));
26
+ const AdaptableHelper_1 = tslib_1.__importDefault(require("../Utilities/Helpers/AdaptableHelper"));
27
+ const Helper_1 = require("../Utilities/Helpers/Helper");
28
+ const ObjectFactory_1 = require("../Utilities/ObjectFactory");
25
29
  // services
26
- import { CalculatedColumnExpressionService } from '../Utilities/Services/CalculatedColumnExpressionService';
27
- import { DataService } from '../Utilities/Services/DataService';
28
- import { LicenseService } from '../Utilities/Services/LicenseService';
29
- import { TeamSharingService } from '../Utilities/Services/TeamSharingService';
30
- import { ReportService } from '../Utilities/Services/ReportService';
31
- import { ModuleService } from '../Utilities/Services/ModuleService';
32
- import { ValidationService } from '../Utilities/Services/ValidationService';
33
- import { EntitlementService } from '../Utilities/Services/EntitlementService';
34
- import { QueryLanguageService } from '../Utilities/Services/QueryLanguageService';
35
- import { AlertService } from '../Utilities/Services/AlertService';
36
- import { AdaptableApp } from '../View/AdaptableView';
37
- import AdaptableWizardView from '../View/AdaptableWizardView';
38
- import { getAdaptableToolPanelAgGridComponent } from '../View/Components/ToolPanel/AdaptableToolPanel';
39
- import UIHelper from '../View/UIHelper';
40
- import { ActionColumnRenderer, ReactActionColumnRenderer } from './ActionColumnRenderer';
41
- import { agGridHelper } from './agGridHelper';
42
- import { agGridMenuHelper } from './agGridMenuHelper';
30
+ const CalculatedColumnExpressionService_1 = require("../Utilities/Services/CalculatedColumnExpressionService");
31
+ const DataService_1 = require("../Utilities/Services/DataService");
32
+ const LicenseService_1 = require("../Utilities/Services/LicenseService");
33
+ const TeamSharingService_1 = require("../Utilities/Services/TeamSharingService");
34
+ const ReportService_1 = require("../Utilities/Services/ReportService");
35
+ const ModuleService_1 = require("../Utilities/Services/ModuleService");
36
+ const ValidationService_1 = require("../Utilities/Services/ValidationService");
37
+ const EntitlementService_1 = require("../Utilities/Services/EntitlementService");
38
+ const QueryLanguageService_1 = require("../Utilities/Services/QueryLanguageService");
39
+ const AlertService_1 = require("../Utilities/Services/AlertService");
40
+ const AdaptableView_1 = require("../View/AdaptableView");
41
+ const AdaptableWizardView_1 = tslib_1.__importDefault(require("../View/AdaptableWizardView"));
42
+ const AdaptableToolPanel_1 = require("../View/Components/ToolPanel/AdaptableToolPanel");
43
+ const UIHelper_1 = tslib_1.__importDefault(require("../View/UIHelper"));
44
+ const ActionColumnRenderer_1 = require("./ActionColumnRenderer");
45
+ const agGridHelper_1 = require("./agGridHelper");
46
+ const agGridMenuHelper_1 = require("./agGridMenuHelper");
43
47
  // components
44
- import { FilterWrapperFactory } from './FilterWrapper';
45
- import { FloatingFilterWrapperFactory } from './FloatingFilterWrapper';
46
- import { convertAdaptableStyleToCSS, convertCSSAbsoluteFontSizeToPt, getVariableColor, normalizeStyleForAgGrid, sanitizeStyle, } from '../Utilities/Helpers/StyleHelper';
47
- import { AdaptableNumberEditor, ReactAdaptableNumberEditor } from './editors/AdaptableNumberEditor';
48
- import { AdaptableDateEditor, ReactAdaptableDateEditor } from './editors/AdaptableDateEditor';
49
- import { waitForCondition } from '../Utilities/waitForCondition';
50
- import publishTimestamp from '../../publishTimestamp';
51
- import { MetamodelService } from '../Utilities/Services/MetamodelService';
52
- import { AgGridModulesDocsLink, PrimaryKeyDocsLink, } from '../Utilities/Constants/DocumentationLinkConstants';
53
- import { CheckboxEditor } from './CheckboxRenderer';
54
- import { parseDateValue } from '../Utilities/Helpers/DateHelper';
55
- import { ADAPTABLE_STATUS_PANEL } from '../PredefinedConfig/StatusBarState';
56
- import { createAgStatusPanelComponent } from './createAgStatusPanelComponent';
57
- import { AdaptableStatusBar } from '../View/StatusBar/AdaptableStatusBar';
58
- import { RowEditService } from '../Utilities/Services/RowEditService';
59
- import { weightedAverage } from './weightedAverage';
60
- import { WEIGHTED_AVERAGE_AGG_FN_NAME, } from '../PredefinedConfig/Common/AggregationColumns';
61
- import { renderReactRoot as defaultRenderReactRoot } from '../renderReactRoot';
62
- import { ChartingService } from '../Utilities/Services/ChartingService';
63
- import { ThemeService } from '../Utilities/Services/ThemeService';
64
- import { AdaptableLogger } from './AdaptableLogger';
65
- import { attachColumnTypes } from './attachAddaptableColumnTypes';
66
- import { DateFormatter } from '../Utilities/Helpers/FormatHelper';
67
- import { Fdc3Service } from '../Utilities/Services/Fdc3Service';
48
+ const FilterWrapper_1 = require("./FilterWrapper");
49
+ const FloatingFilterWrapper_1 = require("./FloatingFilterWrapper");
50
+ const StyleHelper_1 = require("../Utilities/Helpers/StyleHelper");
51
+ const AdaptableNumberEditor_1 = require("./editors/AdaptableNumberEditor");
52
+ const AdaptableDateEditor_1 = require("./editors/AdaptableDateEditor");
53
+ const waitForCondition_1 = require("../Utilities/waitForCondition");
54
+ const publishTimestamp_1 = tslib_1.__importDefault(require("../../publishTimestamp"));
55
+ const MetamodelService_1 = require("../Utilities/Services/MetamodelService");
56
+ const DocumentationLinkConstants_1 = require("../Utilities/Constants/DocumentationLinkConstants");
57
+ const DateHelper_1 = require("../Utilities/Helpers/DateHelper");
58
+ const StatusBarState_1 = require("../PredefinedConfig/StatusBarState");
59
+ const createAgStatusPanelComponent_1 = require("./createAgStatusPanelComponent");
60
+ const AdaptableStatusBar_1 = require("../View/StatusBar/AdaptableStatusBar");
61
+ const RowEditService_1 = require("../Utilities/Services/RowEditService");
62
+ const weightedAverage_1 = require("./weightedAverage");
63
+ const AggregationColumns_1 = require("../PredefinedConfig/Common/AggregationColumns");
64
+ const renderReactRoot_1 = require("../renderReactRoot");
65
+ const ChartingService_1 = require("../Utilities/Services/ChartingService");
66
+ const ThemeService_1 = require("../Utilities/Services/ThemeService");
67
+ const AdaptableLogger_1 = require("./AdaptableLogger");
68
+ const attachAddaptableColumnTypes_1 = require("./attachAddaptableColumnTypes");
69
+ const FormatHelper_1 = require("../Utilities/Helpers/FormatHelper");
70
+ const Fdc3Service_1 = require("../Utilities/Services/Fdc3Service");
68
71
  const tinycolor = require('tinycolor2');
69
72
  const GROUP_PATH_SEPARATOR = '/';
70
73
  // IMPORTANT - we need colId to be set in order for safeSetColDefs to work correctly
@@ -84,14 +87,14 @@ const assignColId = (colDef, logger) => {
84
87
  }
85
88
  }
86
89
  };
87
- const RowNodeProto = RowNode.prototype;
90
+ const RowNodeProto = core_1.RowNode.prototype;
88
91
  const RowNode_dispatchLocalEvent = RowNodeProto.dispatchLocalEvent;
89
- const GridApi_setColumnDefs = GridApi.prototype.setColumnDefs;
92
+ const GridApi_setColumnDefs = core_1.GridApi.prototype.setColumnDefs;
90
93
  ['addCssClass', 'removeCssClass', 'containsCssClass', 'addOrRemoveCssClass'].forEach((methodName) => {
91
94
  // @ts-ignore
92
- const CssClassManager_originalMethod = CssClassManager.prototype[methodName];
95
+ const CssClassManager_originalMethod = core_1.CssClassManager.prototype[methodName];
93
96
  // @ts-ignore
94
- CssClassManager.prototype[methodName] = function () {
97
+ core_1.CssClassManager.prototype[methodName] = function () {
95
98
  return this.getGui() ? CssClassManager_originalMethod.apply(this, arguments) : undefined;
96
99
  };
97
100
  });
@@ -108,7 +111,7 @@ RowNodeProto.dispatchLocalEvent = function (event) {
108
111
  // starting with AG Grid 26.1.0 the gridApi is wrapped in a Beans property
109
112
  const rowNodeApi = (_a = rowNode === null || rowNode === void 0 ? void 0 : rowNode.beans) === null || _a === void 0 ? void 0 : _a.gridApi;
110
113
  if (!rowNodeApi) {
111
- AdaptableLogger.consoleErrorBase(`No GridAPI found in passed RowNode, this should never happen!`, rowNode);
114
+ AdaptableLogger_1.AdaptableLogger.consoleErrorBase(`No GridAPI found in passed RowNode, this should never happen!`, rowNode);
112
115
  }
113
116
  return rowNodeApi;
114
117
  };
@@ -147,7 +150,92 @@ const forEachColumn = (cols, fn, parentColGroup) => {
147
150
  });
148
151
  };
149
152
  const adaptableInstances = {};
150
- export class Adaptable {
153
+ class Adaptable {
154
+ get isLive() {
155
+ return this.isInitialised && !this.isDestroyed;
156
+ }
157
+ /**
158
+ * Initializer for Adaptable
159
+ *
160
+ * @param adaptableOptions the AdaptableOptions
161
+ * @param agGridConfig AG Grid
162
+ * @returns a Promise containing the AdaptableAPI object in order to enable run-time access to Adaptable's properties and functions
163
+ */
164
+ static init(adaptableOptions, agGridConfig) {
165
+ var _a;
166
+ if (!((_a = agGridConfig === null || agGridConfig === void 0 ? void 0 : agGridConfig.modules) === null || _a === void 0 ? void 0 : _a.length)) {
167
+ AdaptableLogger_1.AdaptableLogger.consoleErrorBase(`No AG Grid modules were provided, thus limiting AdapTables features significantly!\n\nRead further info here:${DocumentationLinkConstants_1.AgGridModulesDocsLink}`);
168
+ }
169
+ return Adaptable.initInternal(adaptableOptions, Object.assign({}, agGridConfig));
170
+ }
171
+ /**
172
+ * Lazy static constructor for Adaptable
173
+ * Receives an AdaptableOptions object
174
+ * Returns a Promise containing the AdaptableAPI object in order to enable run-time access to Adaptable's properties and functions
175
+ * @param adaptableOptions an instance of AdaptableOptions
176
+ */
177
+ static async initInternal(adaptableOptions, runtimeConfig) {
178
+ let promise = null;
179
+ if (Array.isArray(adaptableOptions.plugins)) {
180
+ const agGridOptions = {
181
+ gridOptions: runtimeConfig.gridOptions,
182
+ modules: runtimeConfig.modules,
183
+ };
184
+ // do this
185
+ for (let plugin of adaptableOptions.plugins) {
186
+ promise =
187
+ promise && promise.then
188
+ ? promise.then(() => {
189
+ return plugin.beforeInit(adaptableOptions, agGridOptions);
190
+ })
191
+ : plugin.beforeInit(adaptableOptions, agGridOptions);
192
+ }
193
+ // if gridOptions changed, we need to update the runtimeConfig
194
+ if (agGridOptions.gridOptions !== runtimeConfig.gridOptions) {
195
+ // This allows plugins to modify
196
+ runtimeConfig.gridOptions = agGridOptions.gridOptions;
197
+ }
198
+ // instead of
199
+ // if (Array.isArray(adaptableOptions.plugins)) {
200
+ // for await (let plugin of adaptableOptions.plugins) {
201
+ // await plugin.beforeInit(adaptableOptions);
202
+ // }
203
+ // }
204
+ // because this await for of introduces too much delay
205
+ }
206
+ const doInit = (ab) => {
207
+ return ab.init(adaptableOptions, runtimeConfig, true).then((api) => {
208
+ if (Array.isArray(adaptableOptions.plugins)) {
209
+ adaptableOptions.plugins.forEach((plugin) => {
210
+ plugin.afterInit(ab);
211
+ });
212
+ }
213
+ return api;
214
+ });
215
+ };
216
+ if (promise && promise.then) {
217
+ return promise.then(() => {
218
+ const ab = new Adaptable();
219
+ return doInit(ab);
220
+ });
221
+ }
222
+ else {
223
+ const ab = new Adaptable();
224
+ return doInit(ab);
225
+ }
226
+ }
227
+ static collectInstance(adaptable) {
228
+ adaptable._id = adaptable.adaptableOptions.adaptableId || (0, Uuid_1.createUuid)();
229
+ adaptableInstances[adaptable._id] = adaptable;
230
+ }
231
+ static forEachAdaptable(fn) {
232
+ Object.keys(adaptableInstances).forEach((key) => {
233
+ fn(adaptableInstances[key]);
234
+ });
235
+ }
236
+ static dismissInstance(adaptable) {
237
+ delete adaptableInstances[adaptable._id];
238
+ }
151
239
  constructor() {
152
240
  this.variant = 'vanilla';
153
241
  this.colDefPropertyCache = new Map();
@@ -180,8 +268,7 @@ export class Adaptable {
180
268
  };
181
269
  this._adaptableReady = false;
182
270
  this.isDestroyed = false;
183
- this.supressReact18RenderWarning = false;
184
- this.renderReactRoot = (node, container) => defaultRenderReactRoot(node, container, this.supressReact18RenderWarning);
271
+ this.renderReactRoot = (node, container) => (0, renderReactRoot_1.renderReactRoot)(node, container);
185
272
  this.isPluginLoaded = (pluginId) => {
186
273
  const plugins = this.adaptableOptions.plugins || [];
187
274
  for (let i = 0, len = plugins.length; i < len; i++) {
@@ -195,42 +282,42 @@ export class Adaptable {
195
282
  this.isAgGridReady = () => {
196
283
  var _a, _b;
197
284
  const waitTimeout = (_b = (_a = this.adaptableOptions.containerOptions) === null || _a === void 0 ? void 0 : _a.agGridContainerWaitTimeout) !== null && _b !== void 0 ? _b : 60000;
198
- return waitForCondition(() => !!this.gridOptions.api, waitTimeout);
285
+ return (0, waitForCondition_1.waitForCondition)(() => !!this.gridOptions.api, waitTimeout);
199
286
  };
200
287
  // debounced methods
201
- this.debouncedSetColumnIntoStore = debounce(() => {
288
+ this.debouncedSetColumnIntoStore = (0, debounce_1.default)(() => {
202
289
  if (this.isDestroyed || !this.gridOptions.api) {
203
290
  return;
204
291
  }
205
292
  this.updateColumnsIntoStore();
206
- }, HALF_SECOND);
207
- this.debouncedSaveGridLayout = debounce(() => {
293
+ }, GeneralConstants_1.HALF_SECOND);
294
+ this.debouncedSaveGridLayout = (0, debounce_1.default)(() => {
208
295
  if (this.isDestroyed || !this.gridOptions.api) {
209
296
  return;
210
297
  }
211
298
  this.updateLayoutFromGrid();
212
- }, HALF_SECOND);
213
- this.debouncedSetSelectedCells = debounce(() => {
299
+ }, GeneralConstants_1.HALF_SECOND);
300
+ this.debouncedSetSelectedCells = (0, debounce_1.default)(() => {
214
301
  if (this.isDestroyed || !this.gridOptions.api) {
215
302
  return;
216
303
  }
217
304
  this.setSelectedCells();
218
305
  }, 250);
219
- this.debouncedSetSelectedRows = debounce(() => {
306
+ this.debouncedSetSelectedRows = (0, debounce_1.default)(() => {
220
307
  if (this.isDestroyed || !this.gridOptions.api) {
221
308
  return;
222
309
  }
223
310
  this.setSelectedRows();
224
- }, HALF_SECOND);
225
- this.debouncedFilterGrid = debounce((callback = () => { }) => {
311
+ }, GeneralConstants_1.HALF_SECOND);
312
+ this.debouncedFilterGrid = (0, debounce_1.default)((callback = () => { }) => {
226
313
  if (this.isDestroyed || !this.gridOptions.api) {
227
314
  return;
228
315
  }
229
- this.applyGridFiltering();
316
+ this.applyColumnFiltering();
230
317
  if (callback) {
231
318
  callback();
232
319
  }
233
- }, HALF_SECOND);
320
+ }, GeneralConstants_1.HALF_SECOND);
234
321
  /**
235
322
  * This creates a clone of the current column definitions. If config.removeEmpty is true, will also remove empty column groups
236
323
  *
@@ -269,115 +356,11 @@ export class Adaptable {
269
356
  };
270
357
  // (global as any).adaptable = this;
271
358
  }
272
- get isLive() {
273
- return this.isInitialised && !this.isDestroyed;
274
- }
275
- /**
276
- * Initializer for Adaptable
277
- *
278
- * @param adaptableOptions the AdaptableOptions
279
- * @param agGridConfig AG Grid
280
- * @returns a Promise containing the AdaptableAPI object in order to enable run-time access to Adaptable's properties and functions
281
- */
282
- static init(adaptableOptions, agGridConfig) {
283
- var _a;
284
- if (!((_a = agGridConfig === null || agGridConfig === void 0 ? void 0 : agGridConfig.modules) === null || _a === void 0 ? void 0 : _a.length)) {
285
- AdaptableLogger.consoleErrorBase(`No AG Grid modules were provided, thus limiting AdapTables features significantly!\n\nRead further info here:${AgGridModulesDocsLink}`);
286
- }
287
- return Adaptable.initInternal(adaptableOptions, Object.assign(Object.assign({}, agGridConfig), { supressReact18RenderWarning: true }));
288
- }
289
- /**
290
- * Lazy static constructor for Adaptable
291
- * Receives an AdaptableOptions object
292
- * Returns a Promise containing the AdaptableAPI object in order to enable run-time access to Adaptable's properties and functions
293
- * @param adaptableOptions an instance of AdaptableOptions
294
- */
295
- static async initInternal(adaptableOptions, runtimeConfig) {
296
- let promise = null;
297
- if (Array.isArray(adaptableOptions.plugins)) {
298
- const agGridOptions = {
299
- gridOptions: runtimeConfig.gridOptions,
300
- modules: runtimeConfig.modules,
301
- };
302
- // do this
303
- for (let plugin of adaptableOptions.plugins) {
304
- promise =
305
- promise && promise.then
306
- ? promise.then(() => {
307
- return plugin.beforeInit(adaptableOptions, agGridOptions);
308
- })
309
- : plugin.beforeInit(adaptableOptions, agGridOptions);
310
- }
311
- // if gridOptions changed, we need to update the runtimeConfig
312
- if (agGridOptions.gridOptions !== runtimeConfig.gridOptions) {
313
- // This allows plugins to modify
314
- runtimeConfig.gridOptions = agGridOptions.gridOptions;
315
- }
316
- // instead of
317
- // if (Array.isArray(adaptableOptions.plugins)) {
318
- // for await (let plugin of adaptableOptions.plugins) {
319
- // await plugin.beforeInit(adaptableOptions);
320
- // }
321
- // }
322
- // because this await for of introduces too much delay
323
- }
324
- const doInit = (ab) => {
325
- return ab.init(adaptableOptions, runtimeConfig, true).then((api) => {
326
- if (Array.isArray(adaptableOptions.plugins)) {
327
- adaptableOptions.plugins.forEach((plugin) => {
328
- plugin.afterInit(ab);
329
- });
330
- }
331
- return api;
332
- });
333
- };
334
- if (promise && promise.then) {
335
- return promise.then(() => {
336
- const ab = new Adaptable();
337
- return doInit(ab);
338
- });
339
- }
340
- else {
341
- const ab = new Adaptable();
342
- return doInit(ab);
343
- }
344
- }
345
- static collectInstance(adaptable) {
346
- adaptable._id = adaptable.adaptableOptions.adaptableId || createUuid();
347
- adaptableInstances[adaptable._id] = adaptable;
348
- }
349
- static forEachAdaptable(fn) {
350
- Object.keys(adaptableInstances).forEach((key) => {
351
- fn(adaptableInstances[key]);
352
- });
353
- }
354
- static dismissInstance(adaptable) {
355
- delete adaptableInstances[adaptable._id];
356
- }
357
359
  // the 'old' constructor which takes an Adaptable adaptable object
358
360
  // this is still used internally but should not be used externally as a preference
359
361
  async init(adaptableOptions, runtimeConfig, _staticInit) {
360
- this.logger = new AdaptableLogger(adaptableOptions.adaptableId || String(Date.now()));
362
+ this.logger = new AdaptableLogger_1.AdaptableLogger(adaptableOptions.adaptableId || String(Date.now()));
361
363
  const perfAdaptableInit = this.logger.beginPerf(`Adaptable init()`);
362
- this.supressReact18RenderWarning = !!runtimeConfig.supressReact18RenderWarning;
363
- if (runtimeConfig.renderReactRoot) {
364
- this.renderReactRoot = (el, container) => {
365
- const unmount = runtimeConfig.renderReactRoot(el, container);
366
- return () => {
367
- // we used to capture here because of FloatingFilters/Filters - see FloatingFilterWrapper and FilterWrapper
368
- // as we didn't have a native React implementation for our React wrapper
369
- // but we might need to do this again in the future for some other components that are not native React
370
- // captureReactWarnings();
371
- if (typeof unmount === 'function') {
372
- // rAF is required, otherwise the unmount would be performed during the rendering phase and React doesn't like that
373
- requestAnimationFrame(() => {
374
- unmount();
375
- });
376
- }
377
- // releaseReactWarnings();
378
- };
379
- };
380
- }
381
364
  if (runtimeConfig.variant) {
382
365
  this.variant = runtimeConfig.variant;
383
366
  }
@@ -389,19 +372,19 @@ export class Adaptable {
389
372
  !!!!!!! Use const api = await Adaptable.init(adaptableOptions) instead.
390
373
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!`);
391
374
  }
392
- this.emitter = new Emitter();
375
+ this.emitter = new Emitter_1.default();
393
376
  this.runtimeConfig = runtimeConfig;
394
377
  this.gridOptions = this.runtimeConfig.gridOptions;
395
378
  this._rawAdaptableOptions = adaptableOptions;
396
379
  // we create AdaptableOptions by merging the values provided by the user with the defaults (where no value has been set)
397
- this.adaptableOptions = AdaptableHelper.assignAdaptableOptions(adaptableOptions);
380
+ this.adaptableOptions = AdaptableHelper_1.default.assignAdaptableOptions(adaptableOptions);
398
381
  if (this.hasAutogeneratedPrimaryKey()) {
399
382
  this.logger
400
383
  .warn(`Autogenerated primary key (adaptableOptions.autogeneratedPrimaryKey = TRUE) should be used only as a last resort,
401
384
  when no unique column is available, as it limits some Adaptable functionalities!
402
385
 
403
- For more details see: ${PrimaryKeyDocsLink}`);
404
- this.adaptableOptions.primaryKey = AUTOGENERATED_PK_COLUMN;
386
+ For more details see: ${DocumentationLinkConstants_1.PrimaryKeyDocsLink}`);
387
+ this.adaptableOptions.primaryKey = GeneralConstants_1.AUTOGENERATED_PK_COLUMN;
405
388
  }
406
389
  Adaptable.collectInstance(this);
407
390
  if (this.gridOptions.allowContextMenuWithControlKey === undefined) {
@@ -412,13 +395,13 @@ export class Adaptable {
412
395
  this.forPlugins((plugin) => plugin.afterInitOptions(this, this.adaptableOptions));
413
396
  this.registerAdaptableAggFuncs();
414
397
  // get the api ready
415
- this.api = new AdaptableApiImpl(this);
398
+ this.api = new AdaptableApiImpl_1.AdaptableApiImpl(this);
416
399
  this.forPlugins((plugin) => plugin.afterInitApi(this, this.api));
417
400
  // data source needs to be created early
418
- this.DataService = new DataService(this);
401
+ this.DataService = new DataService_1.DataService(this);
419
402
  // set up the ag Grid helper and menu helper
420
- this.agGridHelper = new agGridHelper(this, this.gridOptions);
421
- this.agGridMenuHelper = new agGridMenuHelper(this, this.gridOptions);
403
+ this.agGridHelper = new agGridHelper_1.agGridHelper(this, this.gridOptions);
404
+ this.agGridMenuHelper = new agGridMenuHelper_1.agGridMenuHelper(this, this.gridOptions);
422
405
  // Build the default group sort comparator - will get custom sort values (but not functions) in real time
423
406
  // TODO: if a custom 'aggFunc' property is defined (see setupColumnAggFunc()), it won't be evaluated
424
407
  if (this.adaptableOptions.groupingOptions.autoOrderGroupedColumns) {
@@ -435,20 +418,20 @@ export class Adaptable {
435
418
  this.initStore();
436
419
  // create the services
437
420
  this.LicenseService = this.initLicenseService();
438
- this.ChartingService = new ChartingService(this.api);
439
- this.ThemeService = new ThemeService(this.api);
440
- this.ValidationService = new ValidationService(this.api);
441
- this.ReportService = new ReportService(this.api);
442
- this.ModuleService = new ModuleService(this.api);
443
- this.CalculatedColumnExpressionService = new CalculatedColumnExpressionService(this.api);
444
- this.EntitlementService = new EntitlementService(this.api);
445
- this.QueryLanguageService = new QueryLanguageService(this.api);
446
- this.AlertService = new AlertService(this.api);
447
- this.TeamSharingService = new TeamSharingService(this.api);
448
- this.Fdc3Service = new Fdc3Service(this.api);
421
+ this.ChartingService = new ChartingService_1.ChartingService(this.api);
422
+ this.ThemeService = new ThemeService_1.ThemeService(this.api);
423
+ this.ValidationService = new ValidationService_1.ValidationService(this.api);
424
+ this.ReportService = new ReportService_1.ReportService(this.api);
425
+ this.ModuleService = new ModuleService_1.ModuleService(this.api);
426
+ this.CalculatedColumnExpressionService = new CalculatedColumnExpressionService_1.CalculatedColumnExpressionService(this.api);
427
+ this.EntitlementService = new EntitlementService_1.EntitlementService(this.api);
428
+ this.QueryLanguageService = new QueryLanguageService_1.QueryLanguageService(this.api);
429
+ this.AlertService = new AlertService_1.AlertService(this.api);
430
+ this.TeamSharingService = new TeamSharingService_1.TeamSharingService(this.api);
431
+ this.Fdc3Service = new Fdc3Service_1.Fdc3Service(this.api);
449
432
  // @ts-ignore
450
- this.RowEditService = new RowEditService(this.api);
451
- this.MetamodelService = new MetamodelService(() => this.api.optionsApi.getAdaptableOptions());
433
+ this.RowEditService = new RowEditService_1.RowEditService(this.api);
434
+ this.MetamodelService = new MetamodelService_1.MetamodelService(() => this.api.optionsApi.getAdaptableOptions());
452
435
  // validate the provided AdaptableOptions
453
436
  this.MetamodelService.validateAdaptableOptionsValues();
454
437
  this.forPlugins((plugin) => plugin.afterInitServices(this));
@@ -461,14 +444,14 @@ export class Adaptable {
461
444
  this.gridOptions.api.__adaptable = this;
462
445
  }
463
446
  this.gridOptions.columnTypes = this.gridOptions.columnTypes || {};
464
- attachColumnTypes(this.gridOptions);
447
+ (0, attachAddaptableColumnTypes_1.attachColumnTypes)(this.gridOptions);
465
448
  if (this.gridOptions.columnTypes.abColDefNumber.cellEditor === undefined) {
466
449
  this.gridOptions.columnTypes.abColDefNumber.cellEditor =
467
- this.variant === 'react' ? ReactAdaptableNumberEditor : AdaptableNumberEditor;
450
+ this.variant === 'react' ? AdaptableNumberEditor_1.ReactAdaptableNumberEditor : AdaptableNumberEditor_1.AdaptableNumberEditor;
468
451
  }
469
452
  if (this.gridOptions.columnTypes.abColDefDate.cellEditor === undefined) {
470
453
  this.gridOptions.columnTypes.abColDefDate.cellEditor =
471
- this.variant === 'react' ? ReactAdaptableDateEditor : AdaptableDateEditor;
454
+ this.variant === 'react' ? AdaptableDateEditor_1.ReactAdaptableDateEditor : AdaptableDateEditor_1.AdaptableDateEditor;
472
455
  }
473
456
  return this.initializeAgGrid().then((initialized) => {
474
457
  if (!initialized) {
@@ -501,7 +484,7 @@ export class Adaptable {
501
484
  const perfInitInternalGridLogic = this.logger.beginPerf('InitInternalGridLogic');
502
485
  this.initInternalGridLogic();
503
486
  perfInitInternalGridLogic.end();
504
- AdaptableHelper.checkValidPrimaryKey(this);
487
+ AdaptableHelper_1.default.checkValidPrimaryKey(this);
505
488
  }, (e) => {
506
489
  this.logger.error('Failed to Init Modules : ', e);
507
490
  // for now we initialize the grid even if initialising Modules has failed (perhaps revisit this?)
@@ -517,16 +500,16 @@ export class Adaptable {
517
500
  }
518
501
  if (this.abContainerElement != null) {
519
502
  this.abContainerElement.innerHTML = '';
520
- this.unmountReactRoot = this.renderReactRoot(AdaptableApp({ Adaptable: this }), this.abContainerElement);
503
+ this.unmountReactRoot = this.renderReactRoot((0, AdaptableView_1.AdaptableApp)({ Adaptable: this }), this.abContainerElement);
521
504
  }
522
505
  // create debounce methods that take a time based on user settings
523
- this.throttleFilterOnEditDataChange = throttle(
506
+ this.throttleFilterOnEditDataChange = (0, throttle_1.default)(
524
507
  // the extra function is to make sure we have a reference to ag-grid-api
525
508
  () => this.gridOptions.api.onFilterChanged(), this.adaptableOptions.columnFilterOptions.filterActionOnUserDataChange.throttleDelay, {
526
509
  trailing: true,
527
510
  leading: false,
528
511
  });
529
- this.throttleFilterOnTickingDataChange = throttle(() => this.gridOptions.api.onFilterChanged(), this.adaptableOptions.columnFilterOptions.filterActionOnExternalDataChange.throttleDelay, {
512
+ this.throttleFilterOnTickingDataChange = (0, throttle_1.default)(() => this.gridOptions.api.onFilterChanged(), this.adaptableOptions.columnFilterOptions.filterActionOnExternalDataChange.throttleDelay, {
530
513
  trailing: true,
531
514
  leading: false,
532
515
  });
@@ -571,12 +554,12 @@ export class Adaptable {
571
554
  }
572
555
  initStore() {
573
556
  const perfNewAdaptableStore = this.logger.beginPerf(`new AdaptableStore()`);
574
- this.adaptableStore = new AdaptableStore(this, this.isAgGridReady());
557
+ this.adaptableStore = new AdaptableStore_1.AdaptableStore(this, this.isAgGridReady());
575
558
  perfNewAdaptableStore.end();
576
559
  this.adaptableStore.onAny((eventName, data) => {
577
560
  this.performAudit(data.action, data.state, data.newState);
578
561
  this.forPlugins((plugin) => plugin.onStoreEvent(eventName, data, this.adaptableStore));
579
- if (eventName == INIT_STATE) {
562
+ if (eventName == AdaptableStore_1.INIT_STATE) {
580
563
  const perfInitState = this.logger.beginPerf('InitState');
581
564
  const perfUpdateOldConfig = this.logger.beginPerf('updateOldConfig()');
582
565
  this.adaptableModules.forEach((m) => m.updateOldConfig());
@@ -644,7 +627,7 @@ export class Adaptable {
644
627
  const adaptableSideBarDef = this.createAdaptableSideBarDef();
645
628
  if (!!adaptableSideBarDef) {
646
629
  this.gridOptions.components = this.gridOptions.components || {};
647
- this.gridOptions.components.AdaptableToolPanel = getAdaptableToolPanelAgGridComponent(this);
630
+ this.gridOptions.components.AdaptableToolPanel = (0, AdaptableToolPanel_1.getAdaptableToolPanelAgGridComponent)(this);
648
631
  }
649
632
  if (this.agGridHelper.isSideBarDefObject(adaptableSideBarDef)) {
650
633
  this.setGridOptionsProperty('sideBar', () => {
@@ -700,7 +683,7 @@ export class Adaptable {
700
683
  if ((_a = this.runtimeConfig.modules) === null || _a === void 0 ? void 0 : _a.length) {
701
684
  gridParams = { modules: this.runtimeConfig.modules };
702
685
  }
703
- grid = new Grid(agGridContainer, this.gridOptions, gridParams);
686
+ grid = new core_1.Grid(agGridContainer, this.gridOptions, gridParams);
704
687
  perfAgGridInstance.end();
705
688
  // add our adaptable object to the grid options api object
706
689
  // this is VERY useful for when we need to access Adaptable inside of agGrid only functions
@@ -798,12 +781,12 @@ export class Adaptable {
798
781
  this.setGridOptionsProperty('statusBar', (originalStatusBar) => {
799
782
  var _a, _b;
800
783
  const statusPanels = (_b = ((_a = originalStatusBar === null || originalStatusBar === void 0 ? void 0 : originalStatusBar.statusPanels) !== null && _a !== void 0 ? _a : [])) === null || _b === void 0 ? void 0 : _b.map((statusPanel) => {
801
- if (statusPanel.statusPanel === ADAPTABLE_STATUS_PANEL) {
784
+ if (statusPanel.statusPanel === StatusBarState_1.ADAPTABLE_STATUS_PANEL) {
802
785
  adaptableStatusPanelKeys.push(statusPanel.key);
803
786
  const context = {
804
787
  Key: statusPanel.key,
805
788
  };
806
- return Object.assign(Object.assign({}, statusPanel), { statusPanel: createAgStatusPanelComponent(AdaptableStatusBar, this, context) });
789
+ return Object.assign(Object.assign({}, statusPanel), { statusPanel: (0, createAgStatusPanelComponent_1.createAgStatusPanelComponent)(AdaptableStatusBar_1.AdaptableStatusBar, this, context) });
807
790
  }
808
791
  return statusPanel;
809
792
  });
@@ -823,25 +806,25 @@ export class Adaptable {
823
806
  }
824
807
  filterOnEditDataChange() {
825
808
  if (this.adaptableOptions.columnFilterOptions.filterActionOnUserDataChange.applyFilter ==
826
- FilterOnDataChangeOptions.Always) {
809
+ Enums_1.FilterOnDataChangeOptions.Always) {
827
810
  this.gridOptions.api.onFilterChanged();
828
811
  }
829
812
  else if (this.adaptableOptions.columnFilterOptions.filterActionOnUserDataChange.applyFilter ==
830
- FilterOnDataChangeOptions.Throttle) {
813
+ Enums_1.FilterOnDataChangeOptions.Throttle) {
831
814
  this.throttleFilterOnEditDataChange();
832
815
  }
833
816
  }
834
817
  filterOnTickingDataChange() {
835
818
  if (this.adaptableOptions.columnFilterOptions.filterActionOnExternalDataChange.applyFilter ==
836
- FilterOnDataChangeOptions.Always) {
819
+ Enums_1.FilterOnDataChangeOptions.Always) {
837
820
  this.gridOptions.api.onFilterChanged();
838
821
  }
839
822
  else if (this.adaptableOptions.columnFilterOptions.filterActionOnExternalDataChange.applyFilter ==
840
- FilterOnDataChangeOptions.Throttle) {
823
+ Enums_1.FilterOnDataChangeOptions.Throttle) {
841
824
  this.throttleFilterOnTickingDataChange();
842
825
  }
843
826
  }
844
- applyGridFiltering() {
827
+ applyColumnFiltering() {
845
828
  if (this.api.columnFilterApi.isQuickFilterAvailable()) {
846
829
  if (this.api.columnFilterApi.isQuickFilterVisible()) {
847
830
  this.showQuickFilter();
@@ -850,11 +833,14 @@ export class Adaptable {
850
833
  this.hideQuickFilter();
851
834
  }
852
835
  }
836
+ this.applyGridFiltering();
837
+ this.updateColumnFilterActiveState();
838
+ }
839
+ applyGridFiltering() {
853
840
  this.gridOptions.api.onFilterChanged();
854
- this._emit('GridFiltered');
841
+ this._emit('AdapTableFiltersApplied');
855
842
  this.setSelectedCells();
856
843
  this.setSelectedRows();
857
- this.updateColumnFilterActiveState();
858
844
  }
859
845
  isGroupRowNode(rowNode) {
860
846
  if (!rowNode) {
@@ -886,12 +872,12 @@ export class Adaptable {
886
872
  }
887
873
  return false;
888
874
  }
889
- clearGridFiltering() {
875
+ clearColumnFiltering() {
890
876
  this.gridOptions.columnApi.getColumns().forEach((c) => {
891
877
  this.gridOptions.api.destroyFilter(c);
892
878
  });
893
879
  }
894
- clearColumnFiltering(columnIds) {
880
+ clearColumnFilteringForColumns(columnIds) {
895
881
  columnIds.forEach((c) => {
896
882
  const column = this.gridOptions.columnApi
897
883
  .getColumns()
@@ -901,7 +887,7 @@ export class Adaptable {
901
887
  }
902
888
  });
903
889
  }
904
- hideFilterForm() {
890
+ hideColumnFilterForm() {
905
891
  if (this.hideFilterFormPopup) {
906
892
  this.hideFilterFormPopup();
907
893
  }
@@ -1007,7 +993,7 @@ export class Adaptable {
1007
993
  * Color should always be in bounds, it should not overflow.
1008
994
  * If the value is out of range, it shoul set the maximum/minimum color.
1009
995
  */
1010
- colValue = clamp(params.value, minColumnValue, maxColumnValue);
996
+ colValue = (0, clamp_1.default)(params.value, minColumnValue, maxColumnValue);
1011
997
  }
1012
998
  else {
1013
999
  return style;
@@ -1034,7 +1020,7 @@ export class Adaptable {
1034
1020
  if (reverseGradient) {
1035
1021
  alpha = 1 - alpha;
1036
1022
  }
1037
- const preparedColor = getVariableColor(cellBackColor);
1023
+ const preparedColor = (0, StyleHelper_1.getVariableColor)(cellBackColor);
1038
1024
  // if no range match, do not apply color (black in this case)
1039
1025
  if (cellBackColor) {
1040
1026
  style.backgroundColor = tinycolor(preparedColor).setAlpha(alpha).toRgbString();
@@ -1103,7 +1089,7 @@ export class Adaptable {
1103
1089
  return this.convertAdaptableStyleToCSS(highlightCell);
1104
1090
  }
1105
1091
  return {
1106
- backgroundColor: UIHelper.getColorByMessageType(alert.alertDefinition.MessageType),
1092
+ backgroundColor: UIHelper_1.default.getColorByMessageType(alert.alertDefinition.MessageType),
1107
1093
  };
1108
1094
  }
1109
1095
  }
@@ -1131,7 +1117,7 @@ export class Adaptable {
1131
1117
  return typeof highlightRow === 'object'
1132
1118
  ? this.convertAdaptableStyleToCSS(highlightRow)
1133
1119
  : {
1134
- backgroundColor: UIHelper.getColorByMessageType(alert.alertDefinition.MessageType),
1120
+ backgroundColor: UIHelper_1.default.getColorByMessageType(alert.alertDefinition.MessageType),
1135
1121
  };
1136
1122
  }
1137
1123
  return null;
@@ -1215,7 +1201,7 @@ export class Adaptable {
1215
1201
  }
1216
1202
  getQuickSearchCellStyle() {
1217
1203
  const quickSearchStyle = this.api.quickSearchApi.getQuickSearchStyle();
1218
- if (!quickSearchStyle || StringExtensions.IsNotNullOrEmpty(quickSearchStyle.ClassName)) {
1204
+ if (!quickSearchStyle || StringExtensions_1.StringExtensions.IsNotNullOrEmpty(quickSearchStyle.ClassName)) {
1219
1205
  return undefined;
1220
1206
  }
1221
1207
  return this.convertAdaptableStyleToCSS(quickSearchStyle);
@@ -1262,7 +1248,7 @@ export class Adaptable {
1262
1248
  }
1263
1249
  isQuickSearchActive(gridCell, params) {
1264
1250
  let quickSearchValue = this.api.quickSearchApi.getQuickSearchValue();
1265
- if (StringExtensions.IsNullOrEmpty(quickSearchValue)) {
1251
+ if (StringExtensions_1.StringExtensions.IsNullOrEmpty(quickSearchValue)) {
1266
1252
  return false;
1267
1253
  }
1268
1254
  if (gridCell.column.isExcludedFromQuickSearch) {
@@ -1285,16 +1271,16 @@ export class Adaptable {
1285
1271
  gridCell.displayValue = params.value;
1286
1272
  }
1287
1273
  const ignoreCase = !this.adaptableOptions.quickSearchOptions.runQuickSearchWithCaseSensitivity;
1288
- const v = ignoreCase
1274
+ const displayValue = ignoreCase
1289
1275
  ? String(gridCell.displayValue).toLocaleLowerCase()
1290
1276
  : String(gridCell.displayValue);
1291
1277
  const i = ignoreCase ? String(quickSearchValue).toLocaleLowerCase() : String(quickSearchValue);
1292
- const applyQuickSearchFunction = this.adaptableOptions.quickSearchOptions.shouldApplyQuickSearch;
1278
+ const applyQuickSearchFunction = this.adaptableOptions.quickSearchOptions.runBespokeQuickSearch;
1293
1279
  if (applyQuickSearchFunction) {
1294
- const quickSearchContext = Object.assign(Object.assign({}, createBaseContext(this.api)), { gridCell, quickSearchValue: quickSearchValue });
1280
+ const quickSearchContext = Object.assign(Object.assign({}, (0, ObjectFactory_1.createBaseContext)(this.api)), { gridCell, quickSearchValue: quickSearchValue });
1295
1281
  return applyQuickSearchFunction(quickSearchContext);
1296
1282
  }
1297
- return v.indexOf(i) !== -1;
1283
+ return displayValue.indexOf(i) !== -1;
1298
1284
  }
1299
1285
  getPrimaryKeyValueFromRowNode(rowNode) {
1300
1286
  var _a;
@@ -1477,7 +1463,7 @@ export class Adaptable {
1477
1463
  colDef === null || colDef === void 0 ? void 0 : colDef.defaultAggFunc) !== null && _e !== void 0 ? _e : 'sum';
1478
1464
  }
1479
1465
  else if (adaptableAggFunc && adaptableAggFunc.type === 'weightedAverage') {
1480
- aggFunc = WEIGHTED_AVERAGE_AGG_FN_NAME;
1466
+ aggFunc = AggregationColumns_1.WEIGHTED_AVERAGE_AGG_FN_NAME;
1481
1467
  }
1482
1468
  else if (typeof aggFuncFromLayout === 'string') {
1483
1469
  aggFunc = aggFuncFromLayout;
@@ -1492,7 +1478,7 @@ export class Adaptable {
1492
1478
  newColState.sort = null;
1493
1479
  newColState.sortIndex = null;
1494
1480
  }
1495
- isChanged = isChanged || !lodashIsEqual(newColState, oldColState);
1481
+ isChanged = isChanged || !(0, isEqual_1.default)(newColState, oldColState);
1496
1482
  return newColState;
1497
1483
  })
1498
1484
  .filter((x) => !!x);
@@ -1541,12 +1527,6 @@ export class Adaptable {
1541
1527
  shouldUpdateHeaders = this.setupColumnHeader(colSetupInfo) || shouldUpdateHeaders;
1542
1528
  });
1543
1529
  isChanged = isChanged || shouldUpdateHeaders;
1544
- // this is NOT really needed?!
1545
- // without it everything seem to still work as expected
1546
- // and the setLayout() execution time is shorter, so a double win
1547
- // if (ArrayExtensions.IsNotNullOrEmpty(layout.ColumnFilters)) {
1548
- // this.gridOptions.api!.onFilterChanged();
1549
- // }
1550
1530
  if (isChanged) {
1551
1531
  // it's important we set pivot mode
1552
1532
  // before we set column state
@@ -1640,7 +1620,7 @@ export class Adaptable {
1640
1620
  layout = this.api.layoutApi.getCurrentLayout();
1641
1621
  }
1642
1622
  if (this.api.layoutApi.internalApi.areExpandedRowGroupsSavedInLayouts() &&
1643
- ArrayExtensions.IsNotNullOrEmpty(layout.ExpandedRowGroupValues)) {
1623
+ ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(layout.ExpandedRowGroupValues)) {
1644
1624
  this.expandRowGroupsForValues(layout.ExpandedRowGroupValues);
1645
1625
  }
1646
1626
  if (this.adaptableOptions.layoutOptions.displayRowGroups === 'expanded') {
@@ -1817,7 +1797,7 @@ export class Adaptable {
1817
1797
  // dont perform row selection in pivot mode
1818
1798
  return undefined;
1819
1799
  }
1820
- if (ArrayExtensions.IsNotNullOrEmpty(nodes)) {
1800
+ if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(nodes)) {
1821
1801
  nodes.forEach((node) => {
1822
1802
  const rowInfo = {
1823
1803
  isMaster: !!(node.master != null && node.master == true),
@@ -1891,51 +1871,36 @@ export class Adaptable {
1891
1871
  });
1892
1872
  return returnValues;
1893
1873
  }
1894
- getDistinctValuesForColumn(column, visibleRowsOnly, skipRowNode, permittedValues) {
1895
- let returnValues = [];
1896
- // this function does NOT look up for server values but actually it should...
1897
- // that is currently commented out in the column api function (previously in filter form)
1898
- permittedValues =
1899
- permittedValues !== null && permittedValues !== void 0 ? permittedValues : this.api.userInterfaceApi.getPermittedValuesForColumn(column);
1900
- if (ArrayExtensions.IsNotNull(permittedValues)) {
1901
- returnValues = permittedValues.map((pv) => {
1902
- return {
1903
- rawValue: pv,
1904
- displayValue: pv,
1905
- normalisedValue: pv,
1906
- columnId: column.columnId,
1907
- column: column,
1908
- rowNode: undefined,
1909
- isPivotCell: false,
1910
- isRowGroupCell: false,
1911
- };
1874
+ getDistinctGridCellsForColumn(column, distinctValuesParams) {
1875
+ let gridCells = [];
1876
+ if (distinctValuesParams.visibleRowsOnly) {
1877
+ this.gridOptions.api.forEachNodeAfterFilter((rowNode) => {
1878
+ const gridCell = this.addDistinctColumnValue(rowNode, column.columnId);
1879
+ if (gridCell &&
1880
+ gridCell.rawValue != undefined &&
1881
+ gridCell.rowNode !== distinctValuesParams.skipRowNode) {
1882
+ gridCells.push(gridCell);
1883
+ }
1912
1884
  });
1913
1885
  }
1914
1886
  else {
1915
- if (visibleRowsOnly) {
1916
- this.gridOptions.api.forEachNodeAfterFilter((rowNode) => {
1917
- const gridCell = this.addDistinctColumnValue(rowNode, column.columnId);
1918
- if (gridCell && gridCell.rawValue != undefined && gridCell.rowNode !== skipRowNode) {
1919
- returnValues.push(gridCell);
1920
- }
1921
- });
1922
- }
1923
- else {
1924
- this.gridOptions.api.forEachNode((rowNode) => {
1925
- const gridCell = this.addDistinctColumnValue(rowNode, column.columnId);
1926
- if (gridCell && gridCell.rowNode !== skipRowNode) {
1927
- if (gridCell.rawValue == undefined &&
1928
- this.adaptableOptions.columnFilterOptions.includeBlankFilterValues) {
1929
- gridCell.rawValue = BLANK_DISTINCT_COLUMN_VALUE;
1930
- gridCell.displayValue = BLANK_DISTINCT_COLUMN_VALUE;
1931
- gridCell.normalisedValue = BLANK_DISTINCT_COLUMN_VALUE;
1932
- }
1933
- returnValues.push(gridCell);
1887
+ this.gridOptions.api.forEachNode((rowNode) => {
1888
+ const gridCell = this.addDistinctColumnValue(rowNode, column.columnId);
1889
+ if (gridCell && gridCell.rowNode !== distinctValuesParams.skipRowNode) {
1890
+ if (gridCell.rawValue == undefined &&
1891
+ this.adaptableOptions.columnFilterOptions.valuesFilterOptions.includeBlankFilterValues) {
1892
+ gridCell.rawValue = GeneralConstants_1.BLANK_DISTINCT_COLUMN_VALUE;
1893
+ gridCell.displayValue = GeneralConstants_1.BLANK_DISTINCT_COLUMN_VALUE;
1894
+ gridCell.normalisedValue = GeneralConstants_1.BLANK_DISTINCT_COLUMN_VALUE;
1934
1895
  }
1935
- });
1936
- }
1896
+ gridCells.push(gridCell);
1897
+ }
1898
+ });
1937
1899
  }
1938
- let uniqueVals = uniqBy(returnValues, (dataItem) => {
1900
+ return gridCells;
1901
+ }
1902
+ getUniqueGridCells(column, gridCells) {
1903
+ let uniqueVals = (0, uniqBy_1.default)(gridCells, (dataItem) => {
1939
1904
  const value = dataItem.rawValue;
1940
1905
  if (value instanceof Date) {
1941
1906
  return value.toISOString();
@@ -1943,13 +1908,40 @@ export class Adaptable {
1943
1908
  return value;
1944
1909
  });
1945
1910
  if (column.dataType == 'String' && this.api.predicateApi.useCaseSensitivity()) {
1946
- uniqueVals = uniqBy(uniqueVals, (d) => d.displayValue.toLowerCase());
1911
+ uniqueVals = (0, uniqBy_1.default)(uniqueVals, (d) => d.displayValue.toLowerCase());
1947
1912
  }
1948
- return uniqueVals.slice(0, this.adaptableOptions.columnFilterOptions.maxFilterValuesToDisplay);
1913
+ return uniqueVals.slice(0, this.adaptableOptions.columnFilterOptions.valuesFilterOptions.maxFilterValuesToDisplay);
1949
1914
  }
1950
- async getDistinctFilterValuesForColumn(column, visibleRowsOnly, filter, skipRowNode) {
1915
+ getGridCellsForPermittedValues(column, distinctValuesParams) {
1951
1916
  var _a;
1952
- const permittedValues = (_a = this.api.userInterfaceApi.getFilterPermittedValuesForColumn(column)) !== null && _a !== void 0 ? _a : {
1917
+ let gridCells = [];
1918
+ const permittedValues = (_a = distinctValuesParams.permittedValues) !== null && _a !== void 0 ? _a : this.api.userInterfaceApi.getPermittedValuesForColumn(column);
1919
+ if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(permittedValues)) {
1920
+ gridCells = permittedValues.map((pv) => {
1921
+ return {
1922
+ rawValue: pv,
1923
+ displayValue: pv,
1924
+ normalisedValue: pv,
1925
+ columnId: column.columnId,
1926
+ column: column,
1927
+ rowNode: undefined,
1928
+ isPivotCell: false,
1929
+ isRowGroupCell: false,
1930
+ };
1931
+ });
1932
+ return gridCells;
1933
+ }
1934
+ }
1935
+ getDistinctValuesForColumn(column, distinctValuesParams) {
1936
+ let gridCells = this.getGridCellsForPermittedValues(column, distinctValuesParams);
1937
+ if (ArrayExtensions_1.ArrayExtensions.IsNullOrEmpty(gridCells)) {
1938
+ gridCells = this.getDistinctGridCellsForColumn(column, distinctValuesParams);
1939
+ }
1940
+ return this.getUniqueGridCells(column, gridCells);
1941
+ }
1942
+ async getDistinctFilterListValuesForColumn(column, filter, distinctValuesParams) {
1943
+ var _a;
1944
+ const filterPermittedValues = (_a = this.api.userInterfaceApi.getFilterPermittedValuesForColumn(column)) !== null && _a !== void 0 ? _a : {
1953
1945
  suppressFilterSearchBar: false,
1954
1946
  values: () => undefined,
1955
1947
  };
@@ -1962,18 +1954,19 @@ export class Adaptable {
1962
1954
  column: column,
1963
1955
  searchFilter: filter,
1964
1956
  };
1965
- preparedPermittedValues = await (permittedValues === null || permittedValues === void 0 ? void 0 : permittedValues.values(filterPermittedValuesParams));
1957
+ preparedPermittedValues = await (filterPermittedValues === null || filterPermittedValues === void 0 ? void 0 : filterPermittedValues.values(filterPermittedValuesParams));
1966
1958
  }
1967
1959
  catch (error) {
1968
1960
  this.logger.consoleError(`Failed to load filter permitted values`, column, filter, error);
1969
1961
  }
1962
+ distinctValuesParams.permittedValues = preparedPermittedValues;
1970
1963
  return {
1971
- suppressClientSideFilter: permittedValues.suppressFilterSearchBar,
1972
- gridCells: this.getDistinctValuesForColumn(column, visibleRowsOnly, skipRowNode, preparedPermittedValues),
1964
+ suppressClientSideFilter: filterPermittedValues.suppressFilterSearchBar,
1965
+ gridCells: this.getDistinctValuesForColumn(column, distinctValuesParams),
1973
1966
  };
1974
1967
  }
1975
- async getDistinctCustomSortValuesForColumn(column, visibleRowsOnly, skipRowNode) {
1976
- const permittedValues = await this.api.userInterfaceApi.getCustomSortPermittedValuesForColumn(column);
1968
+ async getDistinctCustomSortValuesForColumn(column, distinctValuesParams) {
1969
+ const customSortPermittedValues = await this.api.userInterfaceApi.getCustomSortPermittedValuesForColumn(column);
1977
1970
  let preparedPermittedValues = undefined;
1978
1971
  try {
1979
1972
  const permittedValuesParams = {
@@ -1982,15 +1975,16 @@ export class Adaptable {
1982
1975
  adaptableId: this.adaptableOptions.adaptableId,
1983
1976
  column: column,
1984
1977
  };
1985
- preparedPermittedValues = await (permittedValues === null || permittedValues === void 0 ? void 0 : permittedValues.values(permittedValuesParams));
1978
+ preparedPermittedValues = await (customSortPermittedValues === null || customSortPermittedValues === void 0 ? void 0 : customSortPermittedValues.values(permittedValuesParams));
1986
1979
  }
1987
1980
  catch (error) {
1988
1981
  this.logger.consoleError(`Failed to load custom sort permitted values`, column, error);
1989
1982
  }
1990
- return this.getDistinctValuesForColumn(column, visibleRowsOnly, skipRowNode, preparedPermittedValues);
1983
+ distinctValuesParams.permittedValues = preparedPermittedValues;
1984
+ return this.getDistinctValuesForColumn(column, distinctValuesParams);
1991
1985
  }
1992
- async getDistinctBulkUpdateValuesForColumn(column, visibleRowsOnly, selectedGridCells, skipRowNode) {
1993
- const permittedValues = await this.api.userInterfaceApi.getBulkUpdatePermittedValuesForColumn(column);
1986
+ async getDistinctBulkUpdateValuesForColumn(column, selectedGridCells, distinctValuesParams) {
1987
+ const bulkUpdatePermittedValues = await this.api.userInterfaceApi.getBulkUpdatePermittedValuesForColumn(column);
1994
1988
  let preparedPermittedValues = undefined;
1995
1989
  try {
1996
1990
  const bulkUpdatePermittedValuesParams = {
@@ -2000,12 +1994,13 @@ export class Adaptable {
2000
1994
  userName: this.adaptableOptions.userName,
2001
1995
  adaptableId: this.adaptableOptions.adaptableId,
2002
1996
  };
2003
- preparedPermittedValues = await (permittedValues === null || permittedValues === void 0 ? void 0 : permittedValues.values(bulkUpdatePermittedValuesParams));
1997
+ preparedPermittedValues = await (bulkUpdatePermittedValues === null || bulkUpdatePermittedValues === void 0 ? void 0 : bulkUpdatePermittedValues.values(bulkUpdatePermittedValuesParams));
2004
1998
  }
2005
1999
  catch (error) {
2006
2000
  this.logger.consoleError(`Failed to load bulk permitted values`, error, column, selectedGridCells);
2007
2001
  }
2008
- return this.getDistinctValuesForColumn(column, visibleRowsOnly, skipRowNode, preparedPermittedValues);
2002
+ distinctValuesParams.permittedValues = preparedPermittedValues;
2003
+ return this.getDistinctValuesForColumn(column, distinctValuesParams);
2009
2004
  }
2010
2005
  getColumnValueDisplayValuePairList(columnId, visibleRowsOnly, onlyIncludeIds) {
2011
2006
  const returnArray = [];
@@ -2014,7 +2009,7 @@ export class Adaptable {
2014
2009
  // NB. this currently contains a small bug as we dont check for visibility so if using permitted values then ALL are returned :(
2015
2010
  const abColumn = this.api.columnApi.getColumnWithColumnId(columnId);
2016
2011
  const permittedValuesForColumn = this.api.userInterfaceApi.getPermittedValuesForColumn(abColumn);
2017
- if (ArrayExtensions.IsNotNullOrEmpty(permittedValuesForColumn)) {
2012
+ if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(permittedValuesForColumn)) {
2018
2013
  permittedValuesForColumn.forEach((pv) => {
2019
2014
  permittedMap.set(pv, {
2020
2015
  rawValue: pv,
@@ -2053,14 +2048,14 @@ export class Adaptable {
2053
2048
  eachFn(rowNode, columnId);
2054
2049
  });
2055
2050
  }
2056
- return returnArray.slice(0, this.adaptableOptions.columnFilterOptions.maxFilterValuesToDisplay);
2051
+ return returnArray.slice(0, this.adaptableOptions.columnFilterOptions.valuesFilterOptions.maxFilterValuesToDisplay);
2057
2052
  }
2058
2053
  addDistinctColumnValue(rowNode, columnId) {
2059
2054
  // we do not return the values of the aggregates when in grouping mode
2060
2055
  // otherwise they would appear in the filter dropdown etc....
2061
2056
  if (rowNode && !this.isGroupRowNode(rowNode)) {
2062
2057
  const returnValue = this.getGridCellFromRowNode(rowNode, columnId);
2063
- if (Helper.objectExists(returnValue)) {
2058
+ if (Helper_1.Helper.objectExists(returnValue)) {
2064
2059
  return returnValue;
2065
2060
  }
2066
2061
  }
@@ -2183,7 +2178,7 @@ export class Adaptable {
2183
2178
  }
2184
2179
  if (dataType === 'Number') {
2185
2180
  // empty string or space should not be converted to 0
2186
- return typeof rawValue !== 'number' && StringExtensions.IsNumeric(rawValue)
2181
+ return typeof rawValue !== 'number' && StringExtensions_1.StringExtensions.IsNumeric(rawValue)
2187
2182
  ? Number(rawValue)
2188
2183
  : rawValue;
2189
2184
  }
@@ -2191,7 +2186,7 @@ export class Adaptable {
2191
2186
  return typeof rawValue !== 'boolean' ? Boolean(rawValue) : rawValue;
2192
2187
  }
2193
2188
  if (dataType === 'Date') {
2194
- return rawValue instanceof Date ? rawValue : parseDateValue(rawValue);
2189
+ return rawValue instanceof Date ? rawValue : (0, DateHelper_1.parseDateValue)(rawValue);
2195
2190
  }
2196
2191
  return rawValue;
2197
2192
  }
@@ -2286,12 +2281,12 @@ export class Adaptable {
2286
2281
  return this.gridOptions.api.getRenderedNodes();
2287
2282
  }
2288
2283
  selectNodes(rowNodes, clearSelection) {
2289
- if (ArrayExtensions.IsNotNullOrEmpty(rowNodes)) {
2284
+ if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(rowNodes)) {
2290
2285
  rowNodes.forEach((node) => this.selectNode(node, clearSelection));
2291
2286
  }
2292
2287
  }
2293
2288
  deSelectNodes(rowNodes, clearSelection) {
2294
- if (ArrayExtensions.IsNotNullOrEmpty(rowNodes)) {
2289
+ if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(rowNodes)) {
2295
2290
  rowNodes.forEach((node) => this.deSelectNode(node, clearSelection));
2296
2291
  }
2297
2292
  }
@@ -2391,20 +2386,20 @@ export class Adaptable {
2391
2386
  ];
2392
2387
  }
2393
2388
  getColDefsForFreeTextColumns() {
2394
- const defaultFreeTextColumnSettings = CreateEmptyFreeTextColumn().FreeTextColumnSettings;
2389
+ const defaultFreeTextColumnSettings = (0, ObjectFactory_1.CreateEmptyFreeTextColumn)().FreeTextColumnSettings;
2395
2390
  return this.api.freeTextColumnApi.getFreeTextColumns().map((freeTextColumn) => {
2396
2391
  var _a;
2397
2392
  const freeTextColumnSettings = Object.assign(Object.assign({}, defaultFreeTextColumnSettings), freeTextColumn.FreeTextColumnSettings);
2398
2393
  const dataTypeEditor = freeTextColumnSettings.DataType === 'Number'
2399
- ? AdaptableNumberEditor
2394
+ ? AdaptableNumberEditor_1.AdaptableNumberEditor
2400
2395
  : freeTextColumnSettings.DataType === 'Date'
2401
- ? AdaptableDateEditor
2396
+ ? AdaptableDateEditor_1.AdaptableDateEditor
2402
2397
  : null;
2403
2398
  const columnTypes = [
2404
- AB_SPECIAL_COLUMN,
2399
+ GeneralConstants_1.AB_SPECIAL_COLUMN,
2405
2400
  this.agGridHelper.getAgGridDataType(freeTextColumnSettings.DataType),
2406
2401
  ];
2407
- if (ArrayExtensions.IsNotNullOrEmpty((_a = freeTextColumn === null || freeTextColumn === void 0 ? void 0 : freeTextColumn.FreeTextColumnSettings) === null || _a === void 0 ? void 0 : _a.ColumnTypes)) {
2402
+ if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty((_a = freeTextColumn === null || freeTextColumn === void 0 ? void 0 : freeTextColumn.FreeTextColumnSettings) === null || _a === void 0 ? void 0 : _a.ColumnTypes)) {
2408
2403
  columnTypes.push(...freeTextColumn.FreeTextColumnSettings.ColumnTypes);
2409
2404
  }
2410
2405
  const newColDef = {
@@ -2429,8 +2424,9 @@ export class Adaptable {
2429
2424
  valueSetter: (params) => {
2430
2425
  return (params.data[freeTextColumn.ColumnId] = params.newValue);
2431
2426
  },
2432
- cellRenderer: freeTextColumnSettings.DataType && freeTextColumnSettings.DataType == 'Boolean'
2433
- ? this.agGridHelper.createCheckboxRendererComp(freeTextColumn.ColumnId, false)
2427
+ // use a Boolean Cell Data Type if the Free Text Column is boolean
2428
+ cellDataType: freeTextColumnSettings.DataType && freeTextColumnSettings.DataType == 'Boolean'
2429
+ ? 'boolean'
2434
2430
  : undefined,
2435
2431
  valueGetter: (params) => this.api.freeTextColumnApi.getFreeTextColumnValueForRowNode(freeTextColumn, params.node),
2436
2432
  };
@@ -2533,11 +2529,11 @@ export class Adaptable {
2533
2529
  return [
2534
2530
  {
2535
2531
  headerName: '',
2536
- colId: ADAPTABLE_ROW_ACTION_BUTTONS,
2532
+ colId: GeneralConstants_1.ADAPTABLE_ROW_ACTION_BUTTONS,
2537
2533
  hide: false,
2538
2534
  editable: false,
2539
2535
  // 15px is the icon width + left&right padding + left&right border
2540
- width: Math.max(actionButtons.length * (UIHelper.getSimpleButtonPaddingWidth() * 2 + 15) + 2,
2536
+ width: Math.max(actionButtons.length * (UIHelper_1.default.getSimpleButtonPaddingWidth() * 2 + 15) + 2,
2541
2537
  // If the width of the column is to small, the width will not be applied
2542
2538
  // this triggers the setLayout an infinite loop because the width read from the grid is always different
2543
2539
  40),
@@ -2553,9 +2549,9 @@ export class Adaptable {
2553
2549
  pinned: this.adaptableOptions.actionRowOptions.actionRowButtonOptions.position === 'pinnedRight'
2554
2550
  ? 'right'
2555
2551
  : 'left',
2556
- cellRenderer: this.variant === 'react' ? ReactActionColumnRenderer : ActionColumnRenderer,
2557
- cellClass: ADAPTABLE_ROW_ACTION_BUTTONS,
2558
- type: [AB_SPECIAL_COLUMN, 'abColDefObject'],
2552
+ cellRenderer: this.variant === 'react' ? ActionColumnRenderer_1.ReactActionColumnRenderer : ActionColumnRenderer_1.ActionColumnRenderer,
2553
+ cellClass: GeneralConstants_1.ADAPTABLE_ROW_ACTION_BUTTONS,
2554
+ type: [GeneralConstants_1.AB_SPECIAL_COLUMN, 'abColDefObject'],
2559
2555
  },
2560
2556
  ];
2561
2557
  }
@@ -2579,8 +2575,8 @@ export class Adaptable {
2579
2575
  filter: false,
2580
2576
  sortable: false,
2581
2577
  enableRowGroup: false,
2582
- cellRenderer: this.variant === 'react' ? ReactActionColumnRenderer : ActionColumnRenderer,
2583
- type: [AB_SPECIAL_COLUMN, 'abColDefObject'],
2578
+ cellRenderer: this.variant === 'react' ? ActionColumnRenderer_1.ReactActionColumnRenderer : ActionColumnRenderer_1.ActionColumnRenderer,
2579
+ type: [GeneralConstants_1.AB_SPECIAL_COLUMN, 'abColDefObject'],
2584
2580
  };
2585
2581
  this.logger.info('Setting up Action Column: ' + actionColumn.columnId);
2586
2582
  return newColDef;
@@ -2591,7 +2587,7 @@ export class Adaptable {
2591
2587
  const specialColDefs = this.getColDefsForSpecialColumns();
2592
2588
  const isSpecialColDef = (colDef) => {
2593
2589
  const { type } = colDef;
2594
- if (type === AB_SPECIAL_COLUMN || (Array.isArray(type) && type.includes(AB_SPECIAL_COLUMN))) {
2590
+ if (type === GeneralConstants_1.AB_SPECIAL_COLUMN || (Array.isArray(type) && type.includes(GeneralConstants_1.AB_SPECIAL_COLUMN))) {
2595
2591
  return true;
2596
2592
  }
2597
2593
  return false;
@@ -2649,7 +2645,7 @@ export class Adaptable {
2649
2645
  this.setLayout();
2650
2646
  }
2651
2647
  getColDefsForCalculatedColumns() {
2652
- const defaultCalculatedColumnSettings = CreateEmptyCalculatedColumn().CalculatedColumnSettings;
2648
+ const defaultCalculatedColumnSettings = (0, ObjectFactory_1.CreateEmptyCalculatedColumn)().CalculatedColumnSettings;
2653
2649
  return this.api.calculatedColumnApi.getCalculatedColumns().map((calculatedColumn) => {
2654
2650
  const calculatedColumnSettings = Object.assign(Object.assign({}, defaultCalculatedColumnSettings), calculatedColumn.CalculatedColumnSettings);
2655
2651
  if (!calculatedColumnSettings.DataType) {
@@ -2657,10 +2653,10 @@ export class Adaptable {
2657
2653
  this.CalculatedColumnExpressionService.getCalculatedColumnDataType(calculatedColumn.Query);
2658
2654
  }
2659
2655
  const columnTypes = [
2660
- AB_SPECIAL_COLUMN,
2656
+ GeneralConstants_1.AB_SPECIAL_COLUMN,
2661
2657
  this.agGridHelper.getAgGridDataType(calculatedColumnSettings.DataType),
2662
2658
  ];
2663
- if (ArrayExtensions.IsNotNullOrEmpty(calculatedColumnSettings.ColumnTypes)) {
2659
+ if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(calculatedColumnSettings.ColumnTypes)) {
2664
2660
  columnTypes.push(...calculatedColumnSettings.ColumnTypes);
2665
2661
  }
2666
2662
  const isExternalEvaluation = !this.api.expressionApi.internalApi.evaluateExpressionInAdaptableQL('CalculatedColumn', calculatedColumn, this.api.expressionApi.getAdaptableQueryExpression(calculatedColumn.Query));
@@ -2749,15 +2745,15 @@ export class Adaptable {
2749
2745
  destroy(config) {
2750
2746
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
2751
2747
  if (this.gridOptions && this.gridOptions.api) {
2752
- this.gridOptions.api.removeEventListener(Events.EVENT_FIRST_DATA_RENDERED, this.listenerFirstDataRendered);
2753
- this.gridOptions.api.removeEventListener(Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, this.listenerPivotModeChanged);
2754
- this.gridOptions.api.removeEventListener(Events.EVENT_COLUMN_PIVOT_CHANGED, this.listenerPivotChanged);
2755
- this.gridOptions.api.removeEventListener(Events.EVENT_CELL_EDITING_STARTED, this.listenerCellEditingStarted);
2756
- this.gridOptions.api.removeEventListener(Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.listenerColumnRowGroupChanged);
2757
- this.gridOptions.api.removeEventListener(Events.EVENT_RANGE_SELECTION_CHANGED, this.listenerRangeSelectionChanged);
2758
- this.gridOptions.api.removeEventListener(Events.EVENT_COLUMN_RESIZED, this.listenerColumnResized);
2759
- this.gridOptions.api.removeEventListener(Events.EVENT_SORT_CHANGED, this.listenerSortChanged);
2760
- this.gridOptions.api.removeEventListener(Events.EVENT_MODEL_UPDATED, this.listenerModelUpdated);
2748
+ this.gridOptions.api.removeEventListener(core_1.Events.EVENT_FIRST_DATA_RENDERED, this.listenerFirstDataRendered);
2749
+ this.gridOptions.api.removeEventListener(core_1.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, this.listenerPivotModeChanged);
2750
+ this.gridOptions.api.removeEventListener(core_1.Events.EVENT_COLUMN_PIVOT_CHANGED, this.listenerPivotChanged);
2751
+ this.gridOptions.api.removeEventListener(core_1.Events.EVENT_CELL_EDITING_STARTED, this.listenerCellEditingStarted);
2752
+ this.gridOptions.api.removeEventListener(core_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.listenerColumnRowGroupChanged);
2753
+ this.gridOptions.api.removeEventListener(core_1.Events.EVENT_RANGE_SELECTION_CHANGED, this.listenerRangeSelectionChanged);
2754
+ this.gridOptions.api.removeEventListener(core_1.Events.EVENT_COLUMN_RESIZED, this.listenerColumnResized);
2755
+ this.gridOptions.api.removeEventListener(core_1.Events.EVENT_SORT_CHANGED, this.listenerSortChanged);
2756
+ this.gridOptions.api.removeEventListener(core_1.Events.EVENT_MODEL_UPDATED, this.listenerModelUpdated);
2761
2757
  this.gridOptions.api.removeGlobalListener(this.listenerGlobalSetRowSelection);
2762
2758
  this.gridOptions.api.removeGlobalListener(this.listenerGlobalColumnEventsThatTriggerStateChange);
2763
2759
  this.gridOptions.api.removeGlobalListener(this.listenerGlobalColumnEventsThatTriggerAutoLayoutSave);
@@ -2974,12 +2970,12 @@ export class Adaptable {
2974
2970
  * Action: Set Columns in store and filter grid
2975
2971
  */
2976
2972
  const columnEventsThatTriggersStateChange = [
2977
- Events.EVENT_COLUMN_MOVED,
2978
- Events.EVENT_GRID_COLUMNS_CHANGED,
2979
- Events.EVENT_COLUMN_EVERYTHING_CHANGED,
2980
- Events.EVENT_DISPLAYED_COLUMNS_CHANGED,
2981
- Events.EVENT_COLUMN_VISIBLE,
2982
- Events.EVENT_NEW_COLUMNS_LOADED,
2973
+ core_1.Events.EVENT_COLUMN_MOVED,
2974
+ core_1.Events.EVENT_GRID_COLUMNS_CHANGED,
2975
+ core_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED,
2976
+ core_1.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,
2977
+ core_1.Events.EVENT_COLUMN_VISIBLE,
2978
+ core_1.Events.EVENT_NEW_COLUMNS_LOADED,
2983
2979
  ];
2984
2980
  this.gridOptions.api.addGlobalListener((this.listenerGlobalColumnEventsThatTriggerStateChange = (type) => {
2985
2981
  if (columnEventsThatTriggersStateChange.indexOf(type) > -1) {
@@ -2990,7 +2986,7 @@ export class Adaptable {
2990
2986
  * Use Case: User has started inline editing but its distabled in Action Row Options
2991
2987
  * Action: Stop editing
2992
2988
  */
2993
- this.gridOptions.api.addEventListener(Events.EVENT_CELL_EDITING_STARTED, (this.listenerCellEditingStarted = () => {
2989
+ this.gridOptions.api.addEventListener(core_1.Events.EVENT_CELL_EDITING_STARTED, (this.listenerCellEditingStarted = () => {
2994
2990
  var _a;
2995
2991
  if ((_a = this.adaptableOptions.actionRowOptions) === null || _a === void 0 ? void 0 : _a.disableInlineEditing)
2996
2992
  this.gridOptions.api.stopEditing();
@@ -3001,7 +2997,7 @@ export class Adaptable {
3001
2997
  * Action2: Ensure that we have set column data types
3002
2998
  * Note: Deals with scenario where the data is provided to AdapTable after grid has been setup
3003
2999
  */
3004
- this.gridOptions.api.addEventListener(Events.EVENT_FIRST_DATA_RENDERED, (this.listenerFirstDataRendered = () => {
3000
+ this.gridOptions.api.addEventListener(core_1.Events.EVENT_FIRST_DATA_RENDERED, (this.listenerFirstDataRendered = () => {
3005
3001
  this.checkColumnsDataTypeSet();
3006
3002
  this.api.calculatedColumnApi.refreshAggregatedCalculatedColumns();
3007
3003
  this.setLayout();
@@ -3011,7 +3007,7 @@ export class Adaptable {
3011
3007
  * Action 1: Autosize pivot columns when entering pivot mode (if autosize pivot in Layout is true)
3012
3008
  * Action 2: Set pivot mode on / off in api as necessary
3013
3009
  */
3014
- this.gridOptions.api.addEventListener(Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, (this.listenerPivotModeChanged = (params) => {
3010
+ this.gridOptions.api.addEventListener(core_1.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, (this.listenerPivotModeChanged = (params) => {
3015
3011
  if (params.type == 'columnPivotModeChanged' &&
3016
3012
  params.columnApi != null &&
3017
3013
  params.columnApi.columnController != null &&
@@ -3029,7 +3025,7 @@ export class Adaptable {
3029
3025
  * Use Case: A pivot column has changed
3030
3026
  * Action: Autosize pivot columns (if autosize pivot in Layout is true)
3031
3027
  */
3032
- this.gridOptions.api.addEventListener(Events.EVENT_COLUMN_PIVOT_CHANGED, (this.listenerPivotChanged = (params) => {
3028
+ this.gridOptions.api.addEventListener(core_1.Events.EVENT_COLUMN_PIVOT_CHANGED, (this.listenerPivotChanged = (params) => {
3033
3029
  if (params.type == 'columnPivotChanged' &&
3034
3030
  params.columnApi != null &&
3035
3031
  params.columnApi.columnController != null &&
@@ -3044,13 +3040,13 @@ export class Adaptable {
3044
3040
  * Action: Save the Layout (on a debounce)
3045
3041
  */
3046
3042
  const columnEventsThatTriggersAutoLayoutSave = [
3047
- Events.EVENT_COLUMN_PINNED,
3048
- Events.EVENT_COLUMN_PIVOT_CHANGED,
3049
- Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,
3050
- Events.EVENT_DISPLAYED_COLUMNS_CHANGED,
3051
- Events.EVENT_SORT_CHANGED,
3052
- Events.EVENT_COLUMN_ROW_GROUP_CHANGED,
3053
- Events.EVENT_COLUMN_VALUE_CHANGED,
3043
+ core_1.Events.EVENT_COLUMN_PINNED,
3044
+ core_1.Events.EVENT_COLUMN_PIVOT_CHANGED,
3045
+ core_1.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,
3046
+ core_1.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,
3047
+ core_1.Events.EVENT_SORT_CHANGED,
3048
+ core_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,
3049
+ core_1.Events.EVENT_COLUMN_VALUE_CHANGED,
3054
3050
  ];
3055
3051
  // ADD filter event
3056
3052
  this.gridOptions.api.addGlobalListener((this.listenerGlobalColumnEventsThatTriggerAutoLayoutSave = (type) => {
@@ -3060,8 +3056,8 @@ export class Adaptable {
3060
3056
  }));
3061
3057
  // Save Layout if Display Row Groups is "dynamic"
3062
3058
  const rowGroupEventsThatTriggersAutoLayoutSave = [
3063
- Events.EVENT_ROW_GROUP_OPENED,
3064
- Events.EVENT_EXPAND_COLLAPSE_ALL,
3059
+ core_1.Events.EVENT_ROW_GROUP_OPENED,
3060
+ core_1.Events.EVENT_EXPAND_COLLAPSE_ALL,
3065
3061
  ];
3066
3062
  this.gridOptions.api.addGlobalListener((this.listenerGlobalRowGroupEventsThatTriggerAutoLayoutSave = (type) => {
3067
3063
  if (rowGroupEventsThatTriggersAutoLayoutSave.indexOf(type) > -1) {
@@ -3074,7 +3070,7 @@ export class Adaptable {
3074
3070
  * Use Case: Column Row Grouping changes and 'restoreUngroupedColumns' is true
3075
3071
  * Action: Make the column invisiblel
3076
3072
  */
3077
- this.gridOptions.api.addEventListener(Events.EVENT_COLUMN_ROW_GROUP_CHANGED, (this.listenerColumnRowGroupChanged = (params) => {
3073
+ this.gridOptions.api.addEventListener(core_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED, (this.listenerColumnRowGroupChanged = (params) => {
3078
3074
  var _a, _b;
3079
3075
  if (this.api.internalApi.isGridInPivotMode()) {
3080
3076
  return;
@@ -3088,7 +3084,7 @@ export class Adaptable {
3088
3084
  * Action 1: Save the Layout (on a debounce)
3089
3085
  * Action 2: Emit the internal ColumnResized event - used by Sparkline Column (in Charts)
3090
3086
  */
3091
- this.gridOptions.api.addEventListener(Events.EVENT_COLUMN_RESIZED, (this.listenerColumnResized = (params) => {
3087
+ this.gridOptions.api.addEventListener(core_1.Events.EVENT_COLUMN_RESIZED, (this.listenerColumnResized = (params) => {
3092
3088
  if (params.finished == true && params.type == 'columnResized' && params.column) {
3093
3089
  this.debouncedSaveGridLayout();
3094
3090
  }
@@ -3098,12 +3094,12 @@ export class Adaptable {
3098
3094
  * Action: Set Selected Rows (on a debeounce)
3099
3095
  */
3100
3096
  const columnEventsThatTriggerSetRowSelection = [
3101
- Events.EVENT_ROW_GROUP_OPENED,
3102
- Events.EVENT_SELECTION_CHANGED,
3103
- Events.EVENT_ROW_SELECTED,
3097
+ core_1.Events.EVENT_ROW_GROUP_OPENED,
3098
+ core_1.Events.EVENT_SELECTION_CHANGED,
3099
+ core_1.Events.EVENT_ROW_SELECTED,
3104
3100
  ];
3105
3101
  this.gridOptions.api.addGlobalListener((this.listenerGlobalSetRowSelection = (type) => {
3106
- if (ArrayExtensions.ContainsItem(columnEventsThatTriggerSetRowSelection, type)) {
3102
+ if (ArrayExtensions_1.ArrayExtensions.ContainsItem(columnEventsThatTriggerSetRowSelection, type)) {
3107
3103
  this.debouncedSetSelectedRows();
3108
3104
  }
3109
3105
  }));
@@ -3111,7 +3107,7 @@ export class Adaptable {
3111
3107
  * Use Case: User has selected a range of cells
3112
3108
  * Action: Set Selected Cells (on a debounce)
3113
3109
  */
3114
- this.gridOptions.api.addEventListener(Events.EVENT_RANGE_SELECTION_CHANGED, (this.listenerRangeSelectionChanged = (params) => {
3110
+ this.gridOptions.api.addEventListener(core_1.Events.EVENT_RANGE_SELECTION_CHANGED, (this.listenerRangeSelectionChanged = (params) => {
3115
3111
  if (params.finished == true) {
3116
3112
  this.debouncedSetSelectedCells();
3117
3113
  }
@@ -3121,7 +3117,7 @@ export class Adaptable {
3121
3117
  * Action1: Update AdapTable Sort Info
3122
3118
  * Action2: Set Selected Cells (on a debounce)
3123
3119
  */
3124
- this.gridOptions.api.addEventListener(Events.EVENT_SORT_CHANGED, (this.listenerSortChanged = () => {
3120
+ this.gridOptions.api.addEventListener(core_1.Events.EVENT_SORT_CHANGED, (this.listenerSortChanged = () => {
3125
3121
  this.onSortChanged();
3126
3122
  this.debouncedSetSelectedCells();
3127
3123
  this._emit('SortChanged');
@@ -3131,7 +3127,7 @@ export class Adaptable {
3131
3127
  * Use Case: Model has updated
3132
3128
  * Action: If user has set to see grouping totals as header create a pinned row (bit of a hack)
3133
3129
  */
3134
- this.gridOptions.api.addEventListener(Events.EVENT_MODEL_UPDATED, (this.listenerModelUpdated = (params) => {
3130
+ this.gridOptions.api.addEventListener(core_1.Events.EVENT_MODEL_UPDATED, (this.listenerModelUpdated = (params) => {
3135
3131
  if (showGroupingTotalsAsHeader) {
3136
3132
  if (params && params.api) {
3137
3133
  const pinnedData = params.api.getPinnedTopRow(0);
@@ -3147,18 +3143,18 @@ export class Adaptable {
3147
3143
  }
3148
3144
  }));
3149
3145
  const eventsThatTriggerChartingChanges = [
3150
- Events.EVENT_CHART_CREATED,
3146
+ core_1.Events.EVENT_CHART_CREATED,
3151
3147
  /** Chart Range selection has changed */
3152
- Events.EVENT_CHART_RANGE_SELECTION_CHANGED,
3148
+ core_1.Events.EVENT_CHART_RANGE_SELECTION_CHANGED,
3153
3149
  /** Chart Options have changed */
3154
- Events.EVENT_CHART_OPTIONS_CHANGED,
3150
+ core_1.Events.EVENT_CHART_OPTIONS_CHANGED,
3155
3151
  /** Chart was destroyed */
3156
- Events.EVENT_CHART_DESTROYED,
3152
+ core_1.Events.EVENT_CHART_DESTROYED,
3157
3153
  ];
3158
3154
  const chartingModule = this.ModuleService.getModuleById('Charting');
3159
3155
  if (chartingModule.isModuleAvailable()) {
3160
3156
  this.gridOptions.api.addGlobalListener((type, params) => {
3161
- if (ArrayExtensions.ContainsItem(eventsThatTriggerChartingChanges, type)) {
3157
+ if (ArrayExtensions_1.ArrayExtensions.ContainsItem(eventsThatTriggerChartingChanges, type)) {
3162
3158
  this.ChartingService.onChartModelChange(this.getChartModels(), type, params);
3163
3159
  }
3164
3160
  });
@@ -3193,10 +3189,10 @@ export class Adaptable {
3193
3189
  return true;
3194
3190
  }
3195
3191
  const columnFilters = this.api.columnFilterApi.getActiveColumnFilters();
3196
- const isFilterActive = ArrayExtensions.IsNotNullOrEmpty(columnFilters);
3197
- const isQueryActive = StringExtensions.IsNotNullOrEmpty(this.api.gridFilterApi.getCurrentGridFilterExpression());
3198
- return (isFilterActive ||
3199
- isQueryActive ||
3192
+ const isColumnFiltersActive = ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(columnFilters);
3193
+ const isGridFilterActive = StringExtensions_1.StringExtensions.IsNotNullOrEmpty(this.api.gridFilterApi.getCurrentGridFilterExpression());
3194
+ return (isColumnFiltersActive ||
3195
+ isGridFilterActive ||
3200
3196
  // it means that originalIsExternalFilterPresent will be called so we reinit that collection
3201
3197
  (originalIsExternalFilterPresent ? originalIsExternalFilterPresent(params) : false));
3202
3198
  };
@@ -3210,13 +3206,13 @@ export class Adaptable {
3210
3206
  if (!this.isGroupRowNode(node)) {
3211
3207
  const currentGridFilter = this.api.gridFilterApi.getCurrentGridFilterExpression();
3212
3208
  if (currentGridFilter) {
3213
- const evaluateQueryOnClient = this.api.expressionApi.internalApi.evaluateExpressionInAdaptableQL('NamedQuery', undefined, currentGridFilter);
3214
- if (evaluateQueryOnClient) {
3215
- const isCurrentQueryValid = this.api.expressionApi.isValidBooleanExpression(currentGridFilter, NamedQueryModuleId, `Invalid Grid Filter '${currentGridFilter}'`);
3216
- if (!isCurrentQueryValid ||
3209
+ const evaluateGridFilterOnClient = this.api.expressionApi.internalApi.evaluateExpressionInAdaptableQL('GridFilter', undefined, currentGridFilter);
3210
+ if (evaluateGridFilterOnClient) {
3211
+ const isCurrentGridFilterValid = this.api.expressionApi.isValidBooleanExpression(currentGridFilter, ModuleConstants_1.GridFilterModuleId, `Invalid Grid Filter '${currentGridFilter}'`);
3212
+ if (!isCurrentGridFilterValid ||
3217
3213
  !this.api.internalApi
3218
3214
  .getQueryLanguageService()
3219
- .evaluateBooleanExpression(currentGridFilter, NamedQueryModuleId, node)) {
3215
+ .evaluateBooleanExpression(currentGridFilter, ModuleConstants_1.GridFilterModuleId, node)) {
3220
3216
  return false;
3221
3217
  }
3222
3218
  }
@@ -3226,7 +3222,7 @@ export class Adaptable {
3226
3222
  try {
3227
3223
  if (columnFilters.length > 0) {
3228
3224
  for (const columnFilter of columnFilters) {
3229
- const evaluateFilterOnClient = this.api.expressionApi.internalApi.evaluatePredicatesInAdaptableQL('Filter', columnFilter, [columnFilter.Predicate]);
3225
+ const evaluateFilterOnClient = this.api.expressionApi.internalApi.evaluatePredicatesInAdaptableQL('ColumnFilter', columnFilter, [columnFilter.Predicate]);
3230
3226
  if (evaluateFilterOnClient) {
3231
3227
  // we then assess filters (if running locally)
3232
3228
  if (!this.api.columnFilterApi.internalApi.evaluateColumnFilter(columnFilter, node)) {
@@ -3259,8 +3255,8 @@ export class Adaptable {
3259
3255
  updateColumnFilterActiveState() {
3260
3256
  var _a;
3261
3257
  const columnFilters = this.api.columnFilterApi.getActiveColumnFilters();
3262
- const activeFilters = (_a = columnFilters === null || columnFilters === void 0 ? void 0 : columnFilters.filter) === null || _a === void 0 ? void 0 : _a.call(columnFilters, (columnFilter) => this.api.columnFilterApi.isFilterActive(columnFilter));
3263
- const isFilterActive = ArrayExtensions.IsNotNullOrEmpty(activeFilters);
3258
+ const activeFilters = (_a = columnFilters === null || columnFilters === void 0 ? void 0 : columnFilters.filter) === null || _a === void 0 ? void 0 : _a.call(columnFilters, (columnFilter) => this.api.columnFilterApi.isColumnFilterActive(columnFilter));
3259
+ const isFilterActive = ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(activeFilters);
3264
3260
  const columnsWithActiveFilters = {};
3265
3261
  if (isFilterActive) {
3266
3262
  // used in particular at init time to show the filter icon correctly
@@ -3299,7 +3295,7 @@ export class Adaptable {
3299
3295
  this.updateColDefsForSpecialColumns();
3300
3296
  this.applyCurrentTheme();
3301
3297
  this.applyFinalRendering();
3302
- this.applyGridFiltering();
3298
+ this.applyColumnFiltering();
3303
3299
  }
3304
3300
  catch (ex) {
3305
3301
  this.logger.consoleError('AgGrid setup failed');
@@ -3439,7 +3435,7 @@ export class Adaptable {
3439
3435
  const isQuickSearchActive = hasQuickSearchStyle && this.isQuickSearchActive(gridCell, params);
3440
3436
  const userDefined = typeof userCellStyle === 'function' ? userCellStyle(params) : userCellStyle;
3441
3437
  const result = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, userDefined), this.getReadOnlyCellStyle(gridCell, params)), this.getEditableCellStyle(gridCell, params)), this.getFormatColumnAndStyledColumnCellStyle(gridCell, params)), (isQuickSearchActive ? quickSearchStyle : {})), this.getAlertCellStyle(gridCell, params)), this.getFlashingCellStyle(gridCell, params)), this.getCellHighlightStyle(gridCell, params));
3442
- return normalizeStyleForAgGrid(result);
3438
+ return (0, StyleHelper_1.normalizeStyleForAgGrid)(result);
3443
3439
  };
3444
3440
  return cellStyle;
3445
3441
  });
@@ -3448,7 +3444,7 @@ export class Adaptable {
3448
3444
  this.setColDefProperty(col, 'cellClass', (userCellClass) => {
3449
3445
  const formatColumns = this.api.formatColumnApi.internalApi.getFormatColumnWithStyleClassNameForColumn(abColumn);
3450
3446
  const quickSearchStyleClassName = this.api.quickSearchApi.getQuickSearchStyle().ClassName;
3451
- const hasQuickSearchStyleClassName = StringExtensions.IsNotNullOrEmpty(quickSearchStyleClassName);
3447
+ const hasQuickSearchStyleClassName = StringExtensions_1.StringExtensions.IsNotNullOrEmpty(quickSearchStyleClassName);
3452
3448
  const cellClass = (params) => {
3453
3449
  const gridCell = this.getGridCellFromRowNode(params.node, abColumn.columnId);
3454
3450
  // if a Visual Data export is in progress, we are interested only in the Excel Style Class
@@ -3502,12 +3498,8 @@ export class Adaptable {
3502
3498
  setupColumnCellEditor({ colId, col }) {
3503
3499
  const adaptableColumn = this.api.columnApi.getColumnWithColumnId(colId);
3504
3500
  const editLookUpItem = this.api.userInterfaceApi.getEditLookUpItemForColumn(adaptableColumn);
3505
- const hasRichSelectCellEditor = this.isAgGridModulePresent(ModuleNames.RichSelectModule);
3501
+ const hasRichSelectCellEditor = this.isAgGridModulePresent(core_1.ModuleNames.RichSelectModule);
3506
3502
  this.setColDefProperty(col, 'cellEditor', () => {
3507
- const styledColumn = this.api.styledColumnApi.getActiveStyledColumnForColumn(adaptableColumn);
3508
- if (styledColumn && !(styledColumn === null || styledColumn === void 0 ? void 0 : styledColumn.IsSuspended) && styledColumn.CheckBoxStyle) {
3509
- return CheckboxEditor;
3510
- }
3511
3503
  if (editLookUpItem) {
3512
3504
  return hasRichSelectCellEditor ? 'agRichSelectCellEditor' : 'agSelectCellEditor';
3513
3505
  }
@@ -3537,9 +3529,6 @@ export class Adaptable {
3537
3529
  if (styledColumn.PercentBarStyle) {
3538
3530
  return this.agGridHelper.createPercentBarRendererComp(styledColumn, abColumn);
3539
3531
  }
3540
- if (styledColumn.CheckBoxStyle) {
3541
- return this.agGridHelper.createCheckboxRendererComp(abColumn.columnId, abColumn.readOnly);
3542
- }
3543
3532
  if (styledColumn.BadgeStyle) {
3544
3533
  return this.agGridHelper.createBadgeRendererComp(styledColumn, abColumn);
3545
3534
  }
@@ -3552,7 +3541,7 @@ export class Adaptable {
3552
3541
  const styledColumn = this.api.styledColumnApi.getStyledColumnForColumnId(abColumn.columnId);
3553
3542
  if (styledColumn && !styledColumn.IsSuspended) {
3554
3543
  if (styledColumn.SparkLineStyle) {
3555
- const sparklineOptions = merge({}, userDefined === null || userDefined === void 0 ? void 0 : userDefined.sparklineOptions, styledColumn.SparkLineStyle.options);
3544
+ const sparklineOptions = (0, merge_1.default)({}, userDefined === null || userDefined === void 0 ? void 0 : userDefined.sparklineOptions, styledColumn.SparkLineStyle.options);
3556
3545
  return Object.assign(Object.assign({}, userDefined), { sparklineOptions });
3557
3546
  }
3558
3547
  }
@@ -3577,7 +3566,7 @@ export class Adaptable {
3577
3566
  returnValue = params.value;
3578
3567
  }
3579
3568
  if (textOptions.includes('PercentageValue')) {
3580
- const clampedValue = Helper.clamp(params.value, min, max);
3569
+ const clampedValue = Helper_1.Helper.clamp(params.value, min, max);
3581
3570
  const percentageValue = ((clampedValue - min) / (max - min)) * 100;
3582
3571
  returnValue += ' ' + `(${percentageValue.toFixed(0)}%)`;
3583
3572
  }
@@ -3662,7 +3651,7 @@ export class Adaptable {
3662
3651
  var _a;
3663
3652
  // set the default to the AG Grid provided values
3664
3653
  // from https://github.com/ag-grid/ag-grid/blob/v26.1.0/community-modules/core/src/ts/columns/columnModel.ts#L2515
3665
- let resultHeaderName = userHeaderName !== null && userHeaderName !== void 0 ? userHeaderName : StringExtensions.CamelCaseToHumanText(col.getColDef().field);
3654
+ let resultHeaderName = userHeaderName !== null && userHeaderName !== void 0 ? userHeaderName : StringExtensions_1.StringExtensions.CamelCaseToHumanText(col.getColDef().field);
3666
3655
  const layoutCustomHeader = (_a = this.api.layoutApi.getCurrentLayout().ColumnHeadersMap) === null || _a === void 0 ? void 0 : _a[col.getColId()];
3667
3656
  if (layoutCustomHeader) {
3668
3657
  resultHeaderName = layoutCustomHeader;
@@ -3680,21 +3669,21 @@ export class Adaptable {
3680
3669
  if (!colDef.filter) {
3681
3670
  return;
3682
3671
  }
3683
- if (!this.api.columnApi.internalApi.usesAdaptableFilterForm(col.getColId())) {
3672
+ if (!this.adaptableOptions.columnFilterOptions.useAdaptableColumnFiltering) {
3684
3673
  return;
3685
3674
  }
3686
3675
  this.gridOptions.api.destroyFilter(col);
3687
- return FilterWrapperFactory(this);
3676
+ return (0, FilterWrapper_1.FilterWrapperFactory)(this);
3688
3677
  });
3689
3678
  }
3690
3679
  setupColumnFloatingFilter({ col, colDef }) {
3691
3680
  const isFloatingFilterDisabled = !colDef.floatingFilter ||
3692
- !this.api.columnApi.internalApi.usesAdaptableQuickFilter(col.getColId());
3681
+ !this.adaptableOptions.columnFilterOptions.useAdaptableColumnFiltering;
3693
3682
  this.setColDefProperty(col, 'floatingFilterComponent', () => {
3694
3683
  if (isFloatingFilterDisabled) {
3695
3684
  return;
3696
3685
  }
3697
- return FloatingFilterWrapperFactory(this);
3686
+ return (0, FloatingFilterWrapper_1.FloatingFilterWrapperFactory)(this);
3698
3687
  });
3699
3688
  this.setColDefProperty(col, 'floatingFilterComponentParams', () => {
3700
3689
  if (isFloatingFilterDisabled) {
@@ -3851,7 +3840,7 @@ export class Adaptable {
3851
3840
  this.api.themeApi.applyCurrentTheme();
3852
3841
  }
3853
3842
  applyFinalRendering() {
3854
- this.embedColumnMenu = this.isAgGridModulePresent(ModuleNames.MenuModule);
3843
+ this.embedColumnMenu = this.isAgGridModulePresent(core_1.ModuleNames.MenuModule);
3855
3844
  if (this.gridOptions.treeData && this.gridOptions.treeData == true) {
3856
3845
  this.api.internalApi.setTreeModeOn();
3857
3846
  }
@@ -3861,7 +3850,7 @@ export class Adaptable {
3861
3850
  this.agGridHelper.checkShouldClearExistingFiltersOrSearches();
3862
3851
  }
3863
3852
  isAgGridModulePresent(moduleName) {
3864
- const standardAgGridRegistrationCheck = ModuleRegistry.__isRegistered(moduleName, this.gridOptions.gridId);
3853
+ const standardAgGridRegistrationCheck = core_1.ModuleRegistry.__isRegistered(moduleName, this.gridOptions.gridId);
3865
3854
  if (standardAgGridRegistrationCheck) {
3866
3855
  return true;
3867
3856
  }
@@ -3873,7 +3862,7 @@ export class Adaptable {
3873
3862
  // because of that we have to check ALL grid IDs to see if the module is registered
3874
3863
  // TODO AFL: we should recheck this later, it seems AG Grid is already refactoring this faulty registration process
3875
3864
  // @ts-ignore
3876
- const gridModulesMap = ModuleRegistry.gridModulesMap;
3865
+ const gridModulesMap = core_1.ModuleRegistry.gridModulesMap;
3877
3866
  let allModulesMap = {};
3878
3867
  Object.keys(gridModulesMap).forEach((gridId) => {
3879
3868
  allModulesMap = Object.assign(Object.assign({}, allModulesMap), gridModulesMap[gridId]);
@@ -4020,7 +4009,7 @@ export class Adaptable {
4020
4009
  getFormatColumnExpressionStylesChanges(dataChangedScope, cellDataChangedInfos) {
4021
4010
  const formatColumnsWithExpression = [];
4022
4011
  formatColumnsWithExpression.push(...this.api.formatColumnApi.internalApi.getFormatColumnsWithExpression());
4023
- if (ArrayExtensions.IsNullOrEmpty(formatColumnsWithExpression)) {
4012
+ if (ArrayExtensions_1.ArrayExtensions.IsNullOrEmpty(formatColumnsWithExpression)) {
4024
4013
  return;
4025
4014
  }
4026
4015
  cellDataChangedInfos.forEach((cellDataChangedInfo) => {
@@ -4060,7 +4049,7 @@ export class Adaptable {
4060
4049
  let columnComparison = this.api.styledColumnApi.internalApi.getColumnComparisonForStyledColumn(sc);
4061
4050
  if (columnComparison) {
4062
4051
  let affectedColumnIds = this.api.styledColumnApi.internalApi.getColumnIdsFromColumnComparison(columnComparison);
4063
- if (ArrayExtensions.IsNotNullOrEmpty(affectedColumnIds)) {
4052
+ if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(affectedColumnIds)) {
4064
4053
  cellDataChangedInfos.forEach((cellDataChangedInfo) => {
4065
4054
  if (affectedColumnIds.includes(cellDataChangedInfo.column.columnId)) {
4066
4055
  dataChangedScope.columnIds.add(sc.ColumnId);
@@ -4072,7 +4061,7 @@ export class Adaptable {
4072
4061
  }
4073
4062
  checkChangedCellCurrentlySelected(cellDataChangedInfo) {
4074
4063
  let selectedCellInfo = this.api.gridApi.getSelectedCellInfo();
4075
- if (selectedCellInfo && ArrayExtensions.IsNotNullOrEmpty(selectedCellInfo.gridCells)) {
4064
+ if (selectedCellInfo && ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(selectedCellInfo.gridCells)) {
4076
4065
  let matchingCell = selectedCellInfo.gridCells.find((gc) => gc.primaryKeyValue == cellDataChangedInfo.primaryKeyValue &&
4077
4066
  gc.column == cellDataChangedInfo.column);
4078
4067
  if (matchingCell) {
@@ -4080,7 +4069,7 @@ export class Adaptable {
4080
4069
  }
4081
4070
  }
4082
4071
  let selectedRowInfo = this.api.gridApi.getSelectedRowInfo();
4083
- if (selectedRowInfo && ArrayExtensions.IsNotNullOrEmpty(selectedRowInfo.gridRows)) {
4072
+ if (selectedRowInfo && ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(selectedRowInfo.gridRows)) {
4084
4073
  let matchingRow = selectedRowInfo.gridRows.find((gr) => gr.primaryKeyValue == cellDataChangedInfo.primaryKeyValue);
4085
4074
  if (matchingRow) {
4086
4075
  this.setSelectedRows();
@@ -4144,7 +4133,7 @@ export class Adaptable {
4144
4133
  this.gridOptions.api.onGroupExpandedOrCollapsed();
4145
4134
  }
4146
4135
  expandRowGroupsForValues(columnValues) {
4147
- if (ArrayExtensions.IsNotNullOrEmpty(columnValues)) {
4136
+ if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(columnValues)) {
4148
4137
  const expandedKeys = columnValues.reduce((acc, key) => {
4149
4138
  acc[key] = true;
4150
4139
  return acc;
@@ -4172,6 +4161,9 @@ export class Adaptable {
4172
4161
  getAgGridColumnForColumnId(columnId) {
4173
4162
  return this.gridOptions.columnApi.getColumn(columnId);
4174
4163
  }
4164
+ getAgGridAllGridColumns() {
4165
+ return this.gridOptions.columnApi.getAllGridColumns();
4166
+ }
4175
4167
  setRowGroupColumns(columnIds) {
4176
4168
  this.gridOptions.columnApi.setRowGroupColumns(columnIds);
4177
4169
  }
@@ -4449,7 +4441,7 @@ export class Adaptable {
4449
4441
  }
4450
4442
  getFirstGroupedColumn() {
4451
4443
  let groupedColumns = this.gridOptions.columnApi.getRowGroupColumns();
4452
- if (ArrayExtensions.IsNotNullOrEmpty(groupedColumns)) {
4444
+ if (ArrayExtensions_1.ArrayExtensions.IsNotNullOrEmpty(groupedColumns)) {
4453
4445
  let groupedColumn = groupedColumns[0];
4454
4446
  return this.api.columnApi.getColumnWithColumnId(groupedColumn.getColId());
4455
4447
  }
@@ -4509,7 +4501,7 @@ export class Adaptable {
4509
4501
  return (this.gridOptions.rowSelection === 'single' || this.gridOptions.rowSelection === 'multiple');
4510
4502
  }
4511
4503
  isGridRangeSelectable() {
4512
- let isRangeSelectionModuleRegistered = this.isAgGridModulePresent(ModuleNames.RangeSelectionModule);
4504
+ let isRangeSelectionModuleRegistered = this.isAgGridModulePresent(core_1.ModuleNames.RangeSelectionModule);
4513
4505
  return isRangeSelectionModuleRegistered && this.gridOptions.enableRangeSelection === true;
4514
4506
  }
4515
4507
  isGridGroupable() {
@@ -4534,8 +4526,8 @@ export class Adaptable {
4534
4526
  isQuickFilterAvailable() {
4535
4527
  return this.hasFloatingFilterOnAtLeastOneColumn() === true;
4536
4528
  }
4537
- setAgQuickSearch(query) {
4538
- this.gridOptions.api.setQuickFilter(query);
4529
+ setAgGridQuickSearch(searchText) {
4530
+ this.gridOptions.api.setQuickFilter(searchText);
4539
4531
  }
4540
4532
  hasFloatingFilterOnAtLeastOneColumn(defs = this.gridOptions.columnDefs) {
4541
4533
  if (this.gridOptions.defaultColDef && this.gridOptions.defaultColDef.floatingFilter) {
@@ -4555,7 +4547,7 @@ export class Adaptable {
4555
4547
  return false;
4556
4548
  }
4557
4549
  showQuickFilter() {
4558
- const height = this.api.optionsApi.getColumnFilterOptions().quickFilterHeight;
4550
+ const height = this.api.optionsApi.getColumnFilterOptions().quickFilterOptions.quickFilterHeight;
4559
4551
  this.gridOptions.api.setFloatingFiltersHeight(height);
4560
4552
  }
4561
4553
  hideQuickFilter() {
@@ -4665,10 +4657,10 @@ export class Adaptable {
4665
4657
  const getAgGridLightThemeName = () => this.getAgGridLightThemeName();
4666
4658
  const getAgGridDarkThemeName = () => getAgGridLightThemeName() + '-dark';
4667
4659
  if (newTheme && (isSystemTheme || variantTheme)) {
4668
- if ((variantTheme || themeName) === LIGHT_THEME) {
4660
+ if ((variantTheme || themeName) === GeneralConstants_1.LIGHT_THEME) {
4669
4661
  newTheme.AgGridClassName = newTheme.AgGridClassName || getAgGridLightThemeName();
4670
4662
  }
4671
- if ((variantTheme || themeName) === DARK_THEME) {
4663
+ if ((variantTheme || themeName) === GeneralConstants_1.DARK_THEME) {
4672
4664
  newTheme.AgGridClassName = newTheme.AgGridClassName || getAgGridDarkThemeName();
4673
4665
  }
4674
4666
  }
@@ -4703,7 +4695,7 @@ export class Adaptable {
4703
4695
  // MAC LIKE SCROLLBARS
4704
4696
  if (this.adaptableOptions.userInterfaceOptions &&
4705
4697
  this.adaptableOptions.userInterfaceOptions.useCustomMacLikeScrollbars &&
4706
- getScrollbarSize() > 0) {
4698
+ (0, getScrollbarSize_1.default)() > 0) {
4707
4699
  el.classList.add('ab--custom-mac-like-scrollbars');
4708
4700
  }
4709
4701
  else {
@@ -4753,13 +4745,13 @@ export class Adaptable {
4753
4745
  return this.gridOptions.api;
4754
4746
  }
4755
4747
  canGenerateCharts() {
4756
- return (this.isAgGridModulePresent(ModuleNames.GridChartsModule) && this.gridOptions.enableCharts);
4748
+ return (this.isAgGridModulePresent(core_1.ModuleNames.GridChartsModule) && this.gridOptions.enableCharts);
4757
4749
  }
4758
4750
  canDisplaySparklines() {
4759
- return this.isAgGridModulePresent(ModuleNames.SparklinesModule);
4751
+ return this.isAgGridModulePresent(core_1.ModuleNames.SparklinesModule);
4760
4752
  }
4761
4753
  canExportToExcel() {
4762
- return this.isAgGridModulePresent(ModuleNames.ExcelExportModule);
4754
+ return this.isAgGridModulePresent(core_1.ModuleNames.ExcelExportModule);
4763
4755
  }
4764
4756
  exportToExcel(reportData, fileName) {
4765
4757
  const columnDefs = reportData.columns.map((column) => ({
@@ -4799,7 +4791,7 @@ export class Adaptable {
4799
4791
  rowData: reportData.rows,
4800
4792
  };
4801
4793
  let gridParams = { modules: this.getAgGridRegisteredModules() };
4802
- const grid = new Grid(document.createElement('div'), gridOptions, gridParams);
4794
+ const grid = new core_1.Grid(document.createElement('div'), gridOptions, gridParams);
4803
4795
  gridOptions.api.exportDataAsExcel({
4804
4796
  sheetName: 'Sheet 1',
4805
4797
  fileName: fileName,
@@ -4893,7 +4885,7 @@ export class Adaptable {
4893
4885
  }
4894
4886
  return result;
4895
4887
  }, {}));
4896
- const sanitizedAdaptableStyle = sanitizeStyle(adaptableStyle);
4888
+ const sanitizedAdaptableStyle = (0, StyleHelper_1.sanitizeStyle)(adaptableStyle);
4897
4889
  if (Object.values(sanitizedAdaptableStyle).some((style) => style != null)) {
4898
4890
  excelStyles.push(this.convertCSSToExcelStyle(sanitizedAdaptableStyle));
4899
4891
  }
@@ -4922,7 +4914,7 @@ export class Adaptable {
4922
4914
  // we have to pass the date in the ISO format to Excel
4923
4915
  // see https://www.ag-grid.com/javascript-data-grid/excel-export-data-types/#dates
4924
4916
  // we can NOT use Date.toISOString() because we don't want the timezone corrections to kick in
4925
- const isoFormattedValue = DateFormatter(normalisedValue, {
4917
+ const isoFormattedValue = (0, FormatHelper_1.DateFormatter)(normalisedValue, {
4926
4918
  Pattern: `yyyy-MM-dd'T'HH:mm:ss.SSS`,
4927
4919
  });
4928
4920
  if (isoFormattedValue) {
@@ -4992,11 +4984,11 @@ export class Adaptable {
4992
4984
  });
4993
4985
  }
4994
4986
  convertAdaptableStyleToCSS(style) {
4995
- return convertAdaptableStyleToCSS(style);
4987
+ return (0, StyleHelper_1.convertAdaptableStyleToCSS)(style);
4996
4988
  }
4997
4989
  convertCSSToExcelStyle(style) {
4998
4990
  const getHexColor = (color) => {
4999
- const preparedColor = getVariableColor(color);
4991
+ const preparedColor = (0, StyleHelper_1.getVariableColor)(color);
5000
4992
  const t = tinycolor(preparedColor);
5001
4993
  const a = t.getAlpha();
5002
4994
  return tinycolor.mix(tinycolor('white'), t, a * 100).toHexString();
@@ -5023,7 +5015,7 @@ export class Adaptable {
5023
5015
  }
5024
5016
  if (style.textAlign) {
5025
5017
  result.alignment = {
5026
- horizontal: StringExtensions.CapitaliseFirstLetter(style.textAlign),
5018
+ horizontal: StringExtensions_1.StringExtensions.CapitaliseFirstLetter(style.textAlign),
5027
5019
  };
5028
5020
  }
5029
5021
  if (style.color != null) {
@@ -5051,7 +5043,7 @@ export class Adaptable {
5051
5043
  if (!result.font) {
5052
5044
  result.font = {};
5053
5045
  }
5054
- result.font.size = convertCSSAbsoluteFontSizeToPt(style.fontSize);
5046
+ result.font.size = (0, StyleHelper_1.convertCSSAbsoluteFontSizeToPt)(style.fontSize);
5055
5047
  }
5056
5048
  return result;
5057
5049
  }
@@ -5091,23 +5083,23 @@ export class Adaptable {
5091
5083
  }
5092
5084
  addSyntheticPrimaryKey(rowData = []) {
5093
5085
  for (let i = 0; i < rowData.length; i++) {
5094
- rowData[i][AUTOGENERATED_PK_COLUMN] = createUuid();
5086
+ rowData[i][GeneralConstants_1.AUTOGENERATED_PK_COLUMN] = (0, Uuid_1.createUuid)();
5095
5087
  }
5096
5088
  }
5097
5089
  // add a synthetic PK only if missing (useful in case of updating row data)
5098
5090
  addSyntheticPrimaryKeyIfMissing(rowData = []) {
5099
- this.adaptableOptions.primaryKey = AUTOGENERATED_PK_COLUMN;
5091
+ this.adaptableOptions.primaryKey = GeneralConstants_1.AUTOGENERATED_PK_COLUMN;
5100
5092
  for (let i = 0; i < rowData.length; i++) {
5101
- if (!rowData[i][AUTOGENERATED_PK_COLUMN]) {
5102
- rowData[i][AUTOGENERATED_PK_COLUMN] = createUuid();
5093
+ if (!rowData[i][GeneralConstants_1.AUTOGENERATED_PK_COLUMN]) {
5094
+ rowData[i][GeneralConstants_1.AUTOGENERATED_PK_COLUMN] = (0, Uuid_1.createUuid)();
5103
5095
  }
5104
5096
  }
5105
5097
  }
5106
5098
  initLicenseService() {
5107
5099
  const globalObject = typeof globalThis !== 'undefined' ? globalThis : window;
5108
5100
  const licenseKey = globalObject.ADAPTABLE_LICENSE_KEY || this.api.optionsApi.getLicenseKey();
5109
- return new LicenseService(this, licenseKey, {
5110
- publishedAt: publishTimestamp,
5101
+ return new LicenseService_1.LicenseService(this, licenseKey, {
5102
+ publishedAt: publishTimestamp_1.default,
5111
5103
  });
5112
5104
  }
5113
5105
  showCharts(chartsDefinitions, chartContainer) {
@@ -5174,14 +5166,14 @@ export class Adaptable {
5174
5166
  registerAdaptableAggFuncs() {
5175
5167
  this.setGridOptionsProperty('aggFuncs', (originalAggFuncs) => {
5176
5168
  const aggregationFunctions = originalAggFuncs || {};
5177
- aggregationFunctions[WEIGHTED_AVERAGE_AGG_FN_NAME] = (params) => {
5169
+ aggregationFunctions[AggregationColumns_1.WEIGHTED_AVERAGE_AGG_FN_NAME] = (params) => {
5178
5170
  const columnId = params.column.getColId();
5179
5171
  const adaptableAggFunc = this.getActiveAdaptableAggFuncForCol(columnId);
5180
5172
  if (!adaptableAggFunc) {
5181
5173
  return undefined;
5182
5174
  }
5183
5175
  if (adaptableAggFunc.type === 'weightedAverage') {
5184
- return weightedAverage(params, params.colDef.colId, adaptableAggFunc.weightedColumnId);
5176
+ return (0, weightedAverage_1.weightedAverage)(params, params.colDef.colId, adaptableAggFunc.weightedColumnId);
5185
5177
  }
5186
5178
  return undefined;
5187
5179
  };
@@ -5194,7 +5186,7 @@ export class Adaptable {
5194
5186
  mapAggregationColumnsFromGrid(aggFuncFromGrid, currentLayout) {
5195
5187
  return Object.entries(aggFuncFromGrid).reduce((acc, [colId, agg]) => {
5196
5188
  const adaptableAggFunc = this.getActiveAdaptableAggFuncForCol(colId);
5197
- if ((adaptableAggFunc === null || adaptableAggFunc === void 0 ? void 0 : adaptableAggFunc.type) === 'weightedAverage' && agg === WEIGHTED_AVERAGE_AGG_FN_NAME) {
5189
+ if ((adaptableAggFunc === null || adaptableAggFunc === void 0 ? void 0 : adaptableAggFunc.type) === 'weightedAverage' && agg === AggregationColumns_1.WEIGHTED_AVERAGE_AGG_FN_NAME) {
5198
5190
  // do not override the agg func
5199
5191
  acc[colId] = currentLayout.AggregationColumns[colId];
5200
5192
  }
@@ -5289,7 +5281,8 @@ export class Adaptable {
5289
5281
  return newColumnOrder;
5290
5282
  }
5291
5283
  }
5292
- export class AdaptableNoCodeWizard {
5284
+ exports.Adaptable = Adaptable;
5285
+ class AdaptableNoCodeWizard {
5293
5286
  /**
5294
5287
  * @param adaptableOptions
5295
5288
  */
@@ -5300,12 +5293,12 @@ export class AdaptableNoCodeWizard {
5300
5293
  this.adaptableOptions = adaptableOptions;
5301
5294
  this.init = extraOptions.onInit || defaultInit;
5302
5295
  this.extraOptions = extraOptions;
5303
- this.agGridModules = ModuleRegistry.__getRegisteredModules(agGridOptons === null || agGridOptons === void 0 ? void 0 : agGridOptons.gridOptions.gridId);
5296
+ this.agGridModules = core_1.ModuleRegistry.__getRegisteredModules(agGridOptons === null || agGridOptons === void 0 ? void 0 : agGridOptons.gridOptions.gridId);
5304
5297
  this.render();
5305
5298
  }
5306
5299
  render(container) {
5307
5300
  var _a;
5308
- let id = DefaultAdaptableOptions.containerOptions.adaptableContainer || 'adaptable';
5301
+ let id = DefaultAdaptableOptions_1.DefaultAdaptableOptions.containerOptions.adaptableContainer || 'adaptable';
5309
5302
  if (!container) {
5310
5303
  let containerOptionsContainer = (_a = this.adaptableOptions.containerOptions) === null || _a === void 0 ? void 0 : _a.adaptableContainer;
5311
5304
  if (containerOptionsContainer) {
@@ -5324,7 +5317,7 @@ export class AdaptableNoCodeWizard {
5324
5317
  // this allows people to customize the wizard dimensions & styling
5325
5318
  // when it's visible
5326
5319
  container.classList.add('adaptable--in-wizard');
5327
- const unmount = defaultRenderReactRoot(React.createElement(AdaptableWizardView, Object.assign(Object.assign({ adaptableOptions: this.adaptableOptions }, this.extraOptions), { onInit: (adaptableOptions, gridOptions) => {
5320
+ const unmount = (0, renderReactRoot_1.renderReactRoot)(React.createElement(AdaptableWizardView_1.default, Object.assign(Object.assign({ adaptableOptions: this.adaptableOptions }, this.extraOptions), { onInit: (adaptableOptions, gridOptions) => {
5328
5321
  container.classList.remove('adaptable--in-wizard');
5329
5322
  unmount();
5330
5323
  this.init({
@@ -5332,6 +5325,7 @@ export class AdaptableNoCodeWizard {
5332
5325
  gridOptions: gridOptions,
5333
5326
  agGridModules: [...this.agGridModules],
5334
5327
  });
5335
- } })), container, true);
5328
+ } })), container);
5336
5329
  }
5337
5330
  }
5331
+ exports.AdaptableNoCodeWizard = AdaptableNoCodeWizard;