@adaptabletools/adaptable 16.2.4 → 17.0.0-canary.1

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 (1525) hide show
  1. package/agGrid.js +26 -32
  2. package/base.css +1246 -1194
  3. package/base.css.map +1 -1
  4. package/index.css +102 -1981
  5. package/index.css.map +1 -1
  6. package/package.json +10 -5
  7. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +2 -2
  8. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +1 -2
  9. package/src/AdaptableInterfaces/IAdaptable.d.ts +17 -11
  10. package/src/AdaptableInterfaces/IAdaptable.js +1 -2
  11. package/src/AdaptableOptions/ActionColumnOptions.js +1 -2
  12. package/src/AdaptableOptions/ActionRowOptions.d.ts +25 -3
  13. package/src/AdaptableOptions/ActionRowOptions.js +1 -2
  14. package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +3 -3
  15. package/src/AdaptableOptions/AdaptableFrameworkComponent.js +1 -2
  16. package/src/AdaptableOptions/AdaptableOptions.d.ts +12 -3
  17. package/src/AdaptableOptions/AdaptableOptions.js +1 -2
  18. package/src/AdaptableOptions/AdaptablePlugin.d.ts +1 -1
  19. package/src/AdaptableOptions/AdaptablePlugin.js +1 -5
  20. package/src/AdaptableOptions/AlertOptions.d.ts +2 -2
  21. package/src/AdaptableOptions/AlertOptions.js +1 -2
  22. package/src/AdaptableOptions/CalendarOptions.js +1 -2
  23. package/src/AdaptableOptions/CellSummaryOptions.js +1 -2
  24. package/src/AdaptableOptions/ChartingOptions.js +1 -2
  25. package/src/AdaptableOptions/{FilterOptions.d.ts → ColumnFilterOptions.d.ts} +114 -95
  26. package/src/AdaptableOptions/ColumnFilterOptions.js +1 -0
  27. package/src/AdaptableOptions/ColumnOptions.js +1 -2
  28. package/src/AdaptableOptions/ContainerOptions.js +1 -2
  29. package/src/AdaptableOptions/CustomSortOptions.js +1 -2
  30. package/src/AdaptableOptions/DashboardOptions.js +1 -2
  31. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
  32. package/src/AdaptableOptions/DataChangeHistoryOptions.js +1 -2
  33. package/src/AdaptableOptions/DataImportOptions.js +1 -2
  34. package/src/AdaptableOptions/DataSetOptions.js +1 -2
  35. package/src/AdaptableOptions/DateInputOptions.d.ts +1 -1
  36. package/src/AdaptableOptions/DateInputOptions.js +1 -2
  37. package/src/AdaptableOptions/EditOptions.d.ts +2 -2
  38. package/src/AdaptableOptions/EditOptions.js +1 -2
  39. package/src/AdaptableOptions/EntitlementOptions.js +1 -2
  40. package/src/AdaptableOptions/ExportOptions.d.ts +21 -3
  41. package/src/AdaptableOptions/ExportOptions.js +1 -2
  42. package/src/AdaptableOptions/ExpressionOptions.d.ts +2 -2
  43. package/src/AdaptableOptions/ExpressionOptions.js +1 -2
  44. package/src/AdaptableOptions/Fdc3Options.d.ts +10 -4
  45. package/src/AdaptableOptions/Fdc3Options.js +2 -5
  46. package/src/AdaptableOptions/FinsemblePluginOptions.js +1 -2
  47. package/src/AdaptableOptions/FlashingCellOptions.js +1 -2
  48. package/src/AdaptableOptions/FormatColumnOptions.js +1 -2
  49. package/src/AdaptableOptions/Glue42PluginOptions.js +1 -2
  50. package/src/AdaptableOptions/Glue42WebPluginOptions.js +1 -2
  51. package/src/AdaptableOptions/GridFilterOptions.d.ts +18 -0
  52. package/src/AdaptableOptions/GridFilterOptions.js +1 -0
  53. package/src/AdaptableOptions/GroupingOptions.js +1 -2
  54. package/src/AdaptableOptions/IPushPullPluginOptions.js +1 -2
  55. package/src/AdaptableOptions/LayoutOptions.d.ts +1 -1
  56. package/src/AdaptableOptions/LayoutOptions.js +1 -2
  57. package/src/AdaptableOptions/MasterDetailPluginOptions.js +1 -2
  58. package/src/AdaptableOptions/MenuOptions.d.ts +12 -6
  59. package/src/AdaptableOptions/MenuOptions.js +41 -27
  60. package/src/AdaptableOptions/NotesOptions.js +1 -2
  61. package/src/AdaptableOptions/NotificationsOptions.d.ts +1 -1
  62. package/src/AdaptableOptions/NotificationsOptions.js +1 -2
  63. package/src/AdaptableOptions/OpenFinPluginOptions.js +1 -2
  64. package/src/AdaptableOptions/PredicateOptions.js +1 -2
  65. package/src/AdaptableOptions/QuickSearchOptions.d.ts +22 -2
  66. package/src/AdaptableOptions/QuickSearchOptions.js +1 -2
  67. package/src/AdaptableOptions/SettingsPanelOptions.js +1 -2
  68. package/src/AdaptableOptions/StateOptions.d.ts +1 -1
  69. package/src/AdaptableOptions/StateOptions.js +1 -2
  70. package/src/AdaptableOptions/TeamSharingOptions.js +1 -2
  71. package/src/AdaptableOptions/ToolPanelOptions.js +1 -2
  72. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -16
  73. package/src/AdaptableOptions/UserInterfaceOptions.js +1 -2
  74. package/src/Api/ActionColumnApi.js +1 -2
  75. package/src/Api/ActionRowApi.js +1 -2
  76. package/src/Api/AdaptableApi.d.ts +11 -6
  77. package/src/Api/AdaptableApi.js +1 -2
  78. package/src/Api/AlertApi.js +1 -2
  79. package/src/Api/ApplicationApi.js +1 -2
  80. package/src/Api/BulkUpdateApi.js +1 -2
  81. package/src/Api/CalculatedColumnApi.js +1 -2
  82. package/src/Api/CalendarApi.js +1 -2
  83. package/src/Api/CellSummaryApi.js +1 -2
  84. package/src/Api/ChartingApi.js +1 -2
  85. package/src/Api/ColumnApi.d.ts +4 -0
  86. package/src/Api/ColumnApi.js +1 -2
  87. package/src/Api/{FilterApi.d.ts → ColumnFilterApi.d.ts} +3 -6
  88. package/src/Api/ColumnFilterApi.js +1 -0
  89. package/src/Api/ConfigApi.d.ts +3 -4
  90. package/src/Api/ConfigApi.js +1 -2
  91. package/src/Api/CustomSortApi.js +1 -2
  92. package/src/Api/DashboardApi.d.ts +16 -5
  93. package/src/Api/DashboardApi.js +1 -2
  94. package/src/Api/DataChangeHistoryApi.js +1 -2
  95. package/src/Api/DataImportApi.js +1 -2
  96. package/src/Api/DataSetApi.js +1 -2
  97. package/src/Api/EntitlementApi.js +1 -2
  98. package/src/Api/EventApi.d.ts +13 -32
  99. package/src/Api/EventApi.js +1 -2
  100. package/src/Api/Events/ActionRowSubmitted.d.ts +1 -5
  101. package/src/Api/Events/ActionRowSubmitted.js +1 -2
  102. package/src/Api/Events/AdaptableReady.js +1 -2
  103. package/src/Api/Events/AdaptableSearchState.d.ts +4 -4
  104. package/src/Api/Events/AdaptableSearchState.js +1 -2
  105. package/src/Api/Events/AdaptableStateChanged.js +1 -2
  106. package/src/Api/Events/AdaptableStateReloaded.js +1 -2
  107. package/src/Api/Events/AlertFired.js +1 -2
  108. package/src/Api/Events/BaseEventInfo.js +1 -2
  109. package/src/Api/Events/CellChanged.js +1 -2
  110. package/src/Api/Events/ChartChanged.js +1 -2
  111. package/src/Api/Events/{FilterApplied.d.ts → ColumnFilterApplied.d.ts} +2 -2
  112. package/src/Api/Events/ColumnFilterApplied.js +1 -0
  113. package/src/Api/Events/CustomToolbarConfigured.js +1 -2
  114. package/src/Api/Events/DashboardChanged.js +1 -2
  115. package/src/Api/Events/DataImported.js +1 -2
  116. package/src/Api/Events/DataSetSelected.js +1 -2
  117. package/src/Api/Events/Fdc3MessageInfo.d.ts +1 -1
  118. package/src/Api/Events/Fdc3MessageInfo.js +1 -2
  119. package/src/Api/Events/FlashingCellDisplayed.js +1 -2
  120. package/src/Api/Events/GridDataChanged.js +1 -2
  121. package/src/Api/Events/GridFilterApplied.d.ts +15 -0
  122. package/src/Api/Events/GridFilterApplied.js +1 -0
  123. package/src/Api/Events/GridSorted.js +1 -2
  124. package/src/Api/Events/LayoutChanged.js +1 -2
  125. package/src/Api/Events/LiveDataChanged.js +1 -2
  126. package/src/Api/Events/ScheduleTriggered.js +1 -2
  127. package/src/Api/Events/SelectionChanged.js +1 -2
  128. package/src/Api/Events/SystemStatusMessageDisplayed.js +1 -2
  129. package/src/Api/Events/TeamSharingEntityChanged.js +1 -2
  130. package/src/Api/Events/ThemeChanged.js +1 -2
  131. package/src/Api/Events/ThemeEdited.js +1 -2
  132. package/src/Api/ExportApi.d.ts +0 -4
  133. package/src/Api/ExportApi.js +1 -2
  134. package/src/Api/ExpressionApi.js +1 -2
  135. package/src/Api/Fdc3Api.js +1 -2
  136. package/src/Api/FinsembleApi.js +1 -2
  137. package/src/Api/FlashingCellApi.js +1 -2
  138. package/src/Api/FormatColumnApi.d.ts +4 -0
  139. package/src/Api/FormatColumnApi.js +1 -2
  140. package/src/Api/FreeTextColumnApi.js +1 -2
  141. package/src/Api/Glue42Api.js +1 -2
  142. package/src/Api/Glue42WebApi.js +1 -2
  143. package/src/Api/GridApi.js +1 -2
  144. package/src/Api/GridFilterApi.d.ts +39 -0
  145. package/src/Api/GridFilterApi.js +1 -0
  146. package/src/Api/IPushPullApi.js +1 -2
  147. package/src/Api/Implementation/ActionColumnApiImpl.js +2 -6
  148. package/src/Api/Implementation/ActionRowApiImpl.js +8 -12
  149. package/src/Api/Implementation/AdaptableApiImpl.d.ts +6 -4
  150. package/src/Api/Implementation/AdaptableApiImpl.js +99 -101
  151. package/src/Api/Implementation/AlertApiImpl.js +18 -23
  152. package/src/Api/Implementation/ApiBase.d.ts +5 -16
  153. package/src/Api/Implementation/ApiBase.js +15 -17
  154. package/src/Api/Implementation/ApplicationApiImpl.js +3 -8
  155. package/src/Api/Implementation/BulkUpdateApiImpl.js +5 -10
  156. package/src/Api/Implementation/CalculatedColumnApiImpl.js +6 -11
  157. package/src/Api/Implementation/CalendarApiImpl.js +2 -6
  158. package/src/Api/Implementation/CellSummaryApiImpl.js +17 -22
  159. package/src/Api/Implementation/ChartingApiImpl.js +13 -18
  160. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
  161. package/src/Api/Implementation/ColumnApiImpl.js +14 -15
  162. package/src/Api/Implementation/{FilterApiImpl.d.ts → ColumnFilterApiImpl.d.ts} +5 -5
  163. package/src/Api/Implementation/{FilterApiImpl.js → ColumnFilterApiImpl.js} +12 -17
  164. package/src/Api/Implementation/ConfigApiImpl.d.ts +2 -3
  165. package/src/Api/Implementation/ConfigApiImpl.js +41 -46
  166. package/src/Api/Implementation/CustomSortApiImpl.js +6 -11
  167. package/src/Api/Implementation/DashboardApiImpl.d.ts +5 -2
  168. package/src/Api/Implementation/DashboardApiImpl.js +24 -28
  169. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +10 -15
  170. package/src/Api/Implementation/DataImportApiImpl.js +4 -8
  171. package/src/Api/Implementation/DataSetApiImpl.js +6 -11
  172. package/src/Api/Implementation/EntitlementApiImpl.js +2 -6
  173. package/src/Api/Implementation/EventApiImpl.js +4 -9
  174. package/src/Api/Implementation/ExportApiImpl.d.ts +0 -1
  175. package/src/Api/Implementation/ExportApiImpl.js +12 -20
  176. package/src/Api/Implementation/ExpressionApiImpl.js +5 -10
  177. package/src/Api/Implementation/Fdc3ApiImpl.js +8 -12
  178. package/src/Api/Implementation/FlashingCellApiImpl.js +6 -11
  179. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -0
  180. package/src/Api/Implementation/FormatColumnApiImpl.js +9 -11
  181. package/src/Api/Implementation/FreeTextColumnApiImpl.js +9 -14
  182. package/src/Api/Implementation/GridApiImpl.js +22 -27
  183. package/src/Api/Implementation/GridFilterApiImpl.d.ts +16 -0
  184. package/src/Api/Implementation/GridFilterApiImpl.js +49 -0
  185. package/src/Api/Implementation/LayoutApiImpl.js +25 -30
  186. package/src/Api/Implementation/NamedQueryApiImpl.d.ts +18 -0
  187. package/src/Api/Implementation/NamedQueryApiImpl.js +52 -0
  188. package/src/Api/Implementation/NotesApiImpl.js +4 -9
  189. package/src/Api/Implementation/OptionsApiImpl.d.ts +4 -2
  190. package/src/Api/Implementation/OptionsApiImpl.js +7 -8
  191. package/src/Api/Implementation/PluginsApiImpl.js +3 -8
  192. package/src/Api/Implementation/PlusMinusApiImpl.js +4 -9
  193. package/src/Api/Implementation/PredicateApiImpl.js +12 -17
  194. package/src/Api/Implementation/QuickSearchApiImpl.js +5 -10
  195. package/src/Api/Implementation/ScheduleApiImpl.js +6 -11
  196. package/src/Api/Implementation/ScopeApiImpl.js +8 -13
  197. package/src/Api/Implementation/SettingsPanelApiImpl.js +3 -8
  198. package/src/Api/Implementation/ShortcutApiImpl.js +4 -9
  199. package/src/Api/Implementation/SmartEditApiImpl.js +5 -10
  200. package/src/Api/Implementation/StatusBarApiImpl.js +5 -9
  201. package/src/Api/Implementation/StyledColumnApiImpl.js +6 -11
  202. package/src/Api/Implementation/SystemStatusApiImpl.js +16 -21
  203. package/src/Api/Implementation/TeamSharingApiImpl.js +12 -17
  204. package/src/Api/Implementation/ThemeApiImpl.js +10 -15
  205. package/src/Api/Implementation/ToolPanelApiImpl.js +6 -11
  206. package/src/Api/Implementation/UserInterfaceApiImpl.js +16 -21
  207. package/src/Api/Internal/ActionRowInternalApi.d.ts +2 -0
  208. package/src/Api/Internal/ActionRowInternalApi.js +35 -12
  209. package/src/Api/Internal/AdaptableInternalApi.js +21 -26
  210. package/src/Api/Internal/AlertInternalApi.d.ts +2 -7
  211. package/src/Api/Internal/AlertInternalApi.js +35 -25
  212. package/src/Api/Internal/CalculatedColumnInternalApi.js +2 -6
  213. package/src/Api/Internal/ChartingInternalApi.js +8 -12
  214. package/src/Api/Internal/{FilterInternalApi.d.ts → ColumnFilterInternalApi.d.ts} +5 -5
  215. package/src/Api/Internal/{FilterInternalApi.js → ColumnFilterInternalApi.js} +27 -32
  216. package/src/Api/Internal/ColumnInternalApi.d.ts +0 -10
  217. package/src/Api/Internal/ColumnInternalApi.js +4 -36
  218. package/src/Api/Internal/CustomSortInternalApi.js +2 -6
  219. package/src/Api/Internal/DashboardInternalApi.d.ts +5 -1
  220. package/src/Api/Internal/DashboardInternalApi.js +16 -9
  221. package/src/Api/Internal/DataImportInternalApi.js +5 -10
  222. package/src/Api/Internal/DataSetInternalApi.js +2 -6
  223. package/src/Api/Internal/ExportInternalApi.js +2 -6
  224. package/src/Api/Internal/ExpressionnternalApi.js +2 -6
  225. package/src/Api/Internal/Fdc3InternalApi.d.ts +2 -2
  226. package/src/Api/Internal/Fdc3InternalApi.js +24 -28
  227. package/src/Api/Internal/FlashingCellInternalApi.js +7 -12
  228. package/src/Api/Internal/FormatColumnInternalApi.js +17 -22
  229. package/src/Api/Internal/FreeTextColumnInternalApi.js +2 -6
  230. package/src/Api/Internal/GridFilterInternalApi.d.ts +4 -0
  231. package/src/Api/Internal/GridFilterInternalApi.js +19 -0
  232. package/src/Api/Internal/GridInternalApi.js +44 -27
  233. package/src/Api/Internal/LayoutInternalApi.d.ts +1 -0
  234. package/src/Api/Internal/LayoutInternalApi.js +22 -18
  235. package/src/Api/Internal/{QueryInternalApi.d.ts → NamedQueryInternalApi.d.ts} +2 -5
  236. package/src/Api/Internal/{QueryInternalApi.js → NamedQueryInternalApi.js} +5 -24
  237. package/src/Api/Internal/PredicateInternalApi.js +5 -9
  238. package/src/Api/Internal/ScheduleInternalApi.js +2 -6
  239. package/src/Api/Internal/StyledColumnInternalApi.d.ts +0 -3
  240. package/src/Api/Internal/StyledColumnInternalApi.js +5 -37
  241. package/src/Api/Internal/SystemStatusInternalApi.js +3 -8
  242. package/src/Api/Internal/TeamSharingInternalApi.js +2 -6
  243. package/src/Api/Internal/ThemeInternalApi.js +5 -9
  244. package/src/Api/Internal/UserInterfaceInternalApi.js +2 -6
  245. package/src/Api/LayoutApi.js +1 -2
  246. package/src/Api/NamedQueryApi.d.ts +53 -0
  247. package/src/Api/NamedQueryApi.js +1 -0
  248. package/src/Api/NotesAPi.js +1 -2
  249. package/src/Api/OpenFinApi.js +1 -2
  250. package/src/Api/OptionsApi.d.ts +7 -3
  251. package/src/Api/OptionsApi.js +1 -2
  252. package/src/Api/PluginsApi.js +1 -2
  253. package/src/Api/PlusMinusApi.js +1 -2
  254. package/src/Api/PredicateApi.js +1 -2
  255. package/src/Api/QuickSearchApi.js +1 -2
  256. package/src/Api/ScheduleApi.js +1 -2
  257. package/src/Api/ScopeApi.js +1 -2
  258. package/src/Api/SettingsPanelApi.js +1 -2
  259. package/src/Api/ShortcutApi.js +1 -2
  260. package/src/Api/SmartEditApi.js +1 -2
  261. package/src/Api/StatusBarApi.js +1 -2
  262. package/src/Api/StyledColumnApi.js +1 -2
  263. package/src/Api/SystemStatusApi.js +1 -2
  264. package/src/Api/TeamSharingApi.js +1 -2
  265. package/src/Api/ThemeApi.js +1 -2
  266. package/src/Api/ToolPanelApi.js +1 -2
  267. package/src/Api/UserInterfaceApi.js +1 -2
  268. package/src/PredefinedConfig/AdaptableState.d.ts +6 -1
  269. package/src/PredefinedConfig/AdaptableState.js +1 -2
  270. package/src/PredefinedConfig/AlertState.d.ts +6 -6
  271. package/src/PredefinedConfig/AlertState.js +1 -2
  272. package/src/PredefinedConfig/ApplicationState.js +1 -2
  273. package/src/PredefinedConfig/CalculatedColumnState.d.ts +1 -1
  274. package/src/PredefinedConfig/CalculatedColumnState.js +1 -2
  275. package/src/PredefinedConfig/ChartingState.d.ts +4 -1
  276. package/src/PredefinedConfig/ChartingState.js +2 -7
  277. package/src/PredefinedConfig/Common/AdaptableAlert.d.ts +2 -2
  278. package/src/PredefinedConfig/Common/AdaptableAlert.js +2 -7
  279. package/src/PredefinedConfig/Common/AdaptableButton.js +1 -2
  280. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +5 -1
  281. package/src/PredefinedConfig/Common/AdaptableColumn.js +1 -5
  282. package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +2 -2
  283. package/src/PredefinedConfig/Common/AdaptableComparerFunction.js +1 -2
  284. package/src/PredefinedConfig/Common/AdaptableFlashingCell.js +1 -2
  285. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +2 -2
  286. package/src/PredefinedConfig/Common/AdaptableForm.js +1 -5
  287. package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +1 -1
  288. package/src/PredefinedConfig/Common/AdaptableFormat.js +1 -2
  289. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +2 -2
  290. package/src/PredefinedConfig/Common/AdaptableIcon.js +1 -2
  291. package/src/PredefinedConfig/Common/AdaptableMessageType.d.ts +1 -1
  292. package/src/PredefinedConfig/Common/AdaptableMessageType.js +1 -2
  293. package/src/PredefinedConfig/Common/AdaptableObject.d.ts +1 -1
  294. package/src/PredefinedConfig/Common/AdaptableObject.js +1 -2
  295. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +3 -3
  296. package/src/PredefinedConfig/Common/AdaptablePredicate.js +97 -114
  297. package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +16 -1
  298. package/src/PredefinedConfig/Common/AdaptableQuery.js +1 -5
  299. package/src/PredefinedConfig/Common/AdaptableScope.d.ts +5 -5
  300. package/src/PredefinedConfig/Common/AdaptableScope.js +1 -2
  301. package/src/PredefinedConfig/Common/AdaptableStyle.js +1 -2
  302. package/src/PredefinedConfig/Common/AggregationColumns.d.ts +1 -1
  303. package/src/PredefinedConfig/Common/AggregationColumns.js +1 -4
  304. package/src/PredefinedConfig/Common/AlternativeModuleName.js +1 -2
  305. package/src/PredefinedConfig/Common/BaseContext.js +1 -2
  306. package/src/PredefinedConfig/Common/ButtonStyle.js +1 -2
  307. package/src/PredefinedConfig/Common/CellDataChangedInfo.js +1 -2
  308. package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +0 -1
  309. package/src/PredefinedConfig/Common/CellHighlightInfo.js +1 -2
  310. package/src/PredefinedConfig/Common/CellSummary.js +1 -2
  311. package/src/PredefinedConfig/Common/ColumnFilter.d.ts +2 -2
  312. package/src/PredefinedConfig/Common/ColumnFilter.js +1 -2
  313. package/src/PredefinedConfig/Common/ColumnSort.js +1 -2
  314. package/src/PredefinedConfig/Common/DataChangedScope.js +1 -2
  315. package/src/PredefinedConfig/Common/DataUpdateConfig.js +1 -2
  316. package/src/PredefinedConfig/Common/Entitlement.d.ts +1 -1
  317. package/src/PredefinedConfig/Common/Entitlement.js +1 -2
  318. package/src/PredefinedConfig/Common/Enums.js +26 -29
  319. package/src/PredefinedConfig/Common/Fdc3Context.d.ts +133 -37
  320. package/src/PredefinedConfig/Common/Fdc3Context.js +32 -35
  321. package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +4 -4
  322. package/src/PredefinedConfig/Common/Fdc3Intent.js +64 -67
  323. package/src/PredefinedConfig/Common/FilterActionOnDataChange.js +1 -2
  324. package/src/PredefinedConfig/Common/FormContext.js +1 -2
  325. package/src/PredefinedConfig/Common/GridFilter.d.ts +10 -0
  326. package/src/PredefinedConfig/Common/GridFilter.js +1 -0
  327. package/src/PredefinedConfig/Common/Menu.js +1 -2
  328. package/src/PredefinedConfig/Common/RowHighlightInfo.d.ts +1 -1
  329. package/src/PredefinedConfig/Common/RowHighlightInfo.js +1 -2
  330. package/src/PredefinedConfig/Common/RowsHighlightInfo.js +1 -2
  331. package/src/PredefinedConfig/Common/Schedule.d.ts +2 -2
  332. package/src/PredefinedConfig/Common/Schedule.js +1 -2
  333. package/src/PredefinedConfig/Common/SpecialColumnSettings.js +1 -2
  334. package/src/PredefinedConfig/Common/SuspendableObject.js +1 -2
  335. package/src/PredefinedConfig/Common/SystemStatusMessageInfo.js +1 -2
  336. package/src/PredefinedConfig/Common/Types.d.ts +15 -15
  337. package/src/PredefinedConfig/Common/Types.js +14 -17
  338. package/src/PredefinedConfig/ConfigState.js +1 -2
  339. package/src/PredefinedConfig/CustomSortState.js +1 -2
  340. package/src/PredefinedConfig/DashboardState.js +1 -2
  341. package/src/PredefinedConfig/ExportState.d.ts +4 -4
  342. package/src/PredefinedConfig/ExportState.js +1 -2
  343. package/src/PredefinedConfig/FlashingCellState.d.ts +4 -4
  344. package/src/PredefinedConfig/FlashingCellState.js +1 -2
  345. package/src/PredefinedConfig/FormatColumnState.d.ts +4 -27
  346. package/src/PredefinedConfig/FormatColumnState.js +1 -2
  347. package/src/PredefinedConfig/FreeTextColumnState.js +1 -2
  348. package/src/PredefinedConfig/Glue42State.js +1 -2
  349. package/src/PredefinedConfig/GridState.js +1 -2
  350. package/src/PredefinedConfig/IPushPullState.js +1 -2
  351. package/src/PredefinedConfig/InternalState.js +1 -2
  352. package/src/PredefinedConfig/LayoutState.d.ts +5 -1
  353. package/src/PredefinedConfig/LayoutState.js +1 -2
  354. package/src/PredefinedConfig/NamedQueryState.d.ts +25 -0
  355. package/src/PredefinedConfig/NamedQueryState.js +1 -0
  356. package/src/PredefinedConfig/NotesState.d.ts +2 -2
  357. package/src/PredefinedConfig/NotesState.js +1 -2
  358. package/src/PredefinedConfig/OpenFinState.js +1 -2
  359. package/src/PredefinedConfig/PlusMinusState.js +1 -2
  360. package/src/PredefinedConfig/PopupState.js +1 -2
  361. package/src/PredefinedConfig/PredefinedConfig.d.ts +2 -7
  362. package/src/PredefinedConfig/PredefinedConfig.js +1 -2
  363. package/src/PredefinedConfig/QueryState.d.ts +4 -15
  364. package/src/PredefinedConfig/QueryState.js +1 -2
  365. package/src/PredefinedConfig/QuickSearchState.js +1 -2
  366. package/src/PredefinedConfig/ScheduleState.js +1 -2
  367. package/src/PredefinedConfig/Selection/GridCell.d.ts +8 -0
  368. package/src/PredefinedConfig/Selection/GridCell.js +1 -2
  369. package/src/PredefinedConfig/Selection/GridCellRange.js +1 -2
  370. package/src/PredefinedConfig/Selection/GridRow.js +1 -2
  371. package/src/PredefinedConfig/Selection/SelectedCellInfo.js +1 -2
  372. package/src/PredefinedConfig/Selection/SelectedRowInfo.js +1 -2
  373. package/src/PredefinedConfig/ShortcutState.d.ts +1 -1
  374. package/src/PredefinedConfig/ShortcutState.js +1 -2
  375. package/src/PredefinedConfig/StatusBarState.js +1 -4
  376. package/src/PredefinedConfig/StyledColumnState.d.ts +8 -13
  377. package/src/PredefinedConfig/StyledColumnState.js +1 -2
  378. package/src/PredefinedConfig/SystemState.d.ts +4 -4
  379. package/src/PredefinedConfig/SystemState.js +1 -2
  380. package/src/PredefinedConfig/TeamSharingState.d.ts +3 -3
  381. package/src/PredefinedConfig/TeamSharingState.js +2 -7
  382. package/src/PredefinedConfig/ThemeState.js +1 -2
  383. package/src/PredefinedConfig/ToolPanelState.d.ts +1 -1
  384. package/src/PredefinedConfig/ToolPanelState.js +1 -2
  385. package/src/PredefinedConfig/Uuid.d.ts +1 -1
  386. package/src/PredefinedConfig/Uuid.js +2 -6
  387. package/src/Redux/ActionsReducers/AlertRedux.js +45 -59
  388. package/src/Redux/ActionsReducers/ApplicationRedux.js +15 -22
  389. package/src/Redux/ActionsReducers/BulkUpdateRedux.js +9 -15
  390. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +20 -29
  391. package/src/Redux/ActionsReducers/CellSummaryRedux.js +3 -7
  392. package/src/Redux/ActionsReducers/ChartingRedux.js +41 -55
  393. package/src/Redux/ActionsReducers/CustomSortRedux.js +41 -54
  394. package/src/Redux/ActionsReducers/DashboardRedux.js +50 -66
  395. package/src/Redux/ActionsReducers/ExportRedux.js +33 -45
  396. package/src/Redux/ActionsReducers/FlashingCellRedux.js +43 -57
  397. package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +7 -0
  398. package/src/Redux/ActionsReducers/FormatColumnRedux.js +60 -65
  399. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +24 -34
  400. package/src/Redux/ActionsReducers/GridRedux.d.ts +6 -1
  401. package/src/Redux/ActionsReducers/GridRedux.js +139 -155
  402. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +41 -12
  403. package/src/Redux/ActionsReducers/LayoutRedux.js +153 -105
  404. package/src/Redux/ActionsReducers/NamedQueryRedux.d.ts +43 -0
  405. package/src/Redux/ActionsReducers/NamedQueryRedux.js +74 -0
  406. package/src/Redux/ActionsReducers/NotesRedux.js +21 -31
  407. package/src/Redux/ActionsReducers/PluginsRedux.js +48 -53
  408. package/src/Redux/ActionsReducers/PlusMinusRedux.js +45 -59
  409. package/src/Redux/ActionsReducers/PopupRedux.js +64 -84
  410. package/src/Redux/ActionsReducers/QueryRedux.d.ts +5 -39
  411. package/src/Redux/ActionsReducers/QueryRedux.js +10 -72
  412. package/src/Redux/ActionsReducers/QuickSearchRedux.js +16 -23
  413. package/src/Redux/ActionsReducers/ScheduleRedux.js +179 -222
  414. package/src/Redux/ActionsReducers/ShortcutRedux.js +41 -54
  415. package/src/Redux/ActionsReducers/SmartEditRedux.js +9 -15
  416. package/src/Redux/ActionsReducers/StatusBarRedux.js +12 -19
  417. package/src/Redux/ActionsReducers/StyledColumnRedux.js +41 -54
  418. package/src/Redux/ActionsReducers/SystemRedux.d.ts +1 -1
  419. package/src/Redux/ActionsReducers/SystemRedux.js +254 -324
  420. package/src/Redux/ActionsReducers/SystemStatusRedux.js +6 -11
  421. package/src/Redux/ActionsReducers/TeamSharingRedux.js +40 -55
  422. package/src/Redux/ActionsReducers/ThemeRedux.js +32 -43
  423. package/src/Redux/ActionsReducers/ToolPanelRedux.js +28 -39
  424. package/src/Redux/ActionsReducers/utils.js +3 -9
  425. package/src/Redux/DeadRedux.js +25 -38
  426. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +15 -20
  427. package/src/Redux/Store/AdaptableReduxMerger.d.ts +1 -1
  428. package/src/Redux/Store/AdaptableReduxMerger.js +21 -30
  429. package/src/Redux/Store/AdaptableStore.d.ts +2 -2
  430. package/src/Redux/Store/AdaptableStore.js +159 -136
  431. package/src/Redux/Store/Interface/IAdaptableStore.js +1 -2
  432. package/src/Redux/Store/Interface/IStorageEngine.js +1 -2
  433. package/src/Strategy/AdaptableModuleBase.d.ts +0 -1
  434. package/src/Strategy/AdaptableModuleBase.js +11 -45
  435. package/src/Strategy/AlertModule.js +37 -42
  436. package/src/Strategy/BulkUpdateModule.js +17 -22
  437. package/src/Strategy/CalculatedColumnModule.js +17 -22
  438. package/src/Strategy/CellSummaryModule.js +17 -22
  439. package/src/Strategy/ChartingModule.js +23 -25
  440. package/src/Strategy/{FilterModule.d.ts → ColumnFilterModule.d.ts} +4 -1
  441. package/src/Strategy/ColumnFilterModule.js +261 -0
  442. package/src/Strategy/ColumnInfoModule.js +3 -8
  443. package/src/Strategy/CustomSortModule.js +13 -18
  444. package/src/Strategy/DashboardModule.js +4 -9
  445. package/src/Strategy/DataChangeHistoryModule.js +10 -15
  446. package/src/Strategy/DataImportModule.js +3 -8
  447. package/src/Strategy/DataSetModule.js +11 -16
  448. package/src/Strategy/ExportModule.js +59 -64
  449. package/src/Strategy/Fdc3Module.js +3 -8
  450. package/src/Strategy/FlashingCellModule.js +30 -35
  451. package/src/Strategy/FormatColumnModule.js +28 -33
  452. package/src/Strategy/FreeTextColumnModule.js +8 -13
  453. package/src/Strategy/GridFilterModule.d.ts +8 -0
  454. package/src/Strategy/GridFilterModule.js +58 -0
  455. package/src/Strategy/GridInfoModule.js +3 -8
  456. package/src/Strategy/Interface/IBulkUpdateModule.js +1 -2
  457. package/src/Strategy/Interface/ICellSummaryModule.js +1 -2
  458. package/src/Strategy/Interface/IExportModule.js +1 -2
  459. package/src/Strategy/Interface/IModule.d.ts +4 -4
  460. package/src/Strategy/Interface/IModule.js +1 -2
  461. package/src/Strategy/Interface/IModuleActionReturn.js +1 -2
  462. package/src/Strategy/Interface/IPlusMinusModule.js +1 -2
  463. package/src/Strategy/Interface/IScheduleModule.js +1 -2
  464. package/src/Strategy/Interface/IShortcutModule.js +1 -2
  465. package/src/Strategy/Interface/ISmartEditModule.js +1 -2
  466. package/src/Strategy/LayoutModule.js +37 -33
  467. package/src/Strategy/{QueryModule.d.ts → NamedQueryModule.d.ts} +7 -8
  468. package/src/Strategy/NamedQueryModule.js +88 -0
  469. package/src/Strategy/NotesModule.js +3 -8
  470. package/src/Strategy/PlusMinusModule.js +24 -27
  471. package/src/Strategy/QuickSearchModule.js +5 -10
  472. package/src/Strategy/ScheduleModule.js +40 -45
  473. package/src/Strategy/SettingsPanelModule.js +4 -9
  474. package/src/Strategy/ShortcutModule.js +21 -26
  475. package/src/Strategy/SmartEditModule.js +22 -27
  476. package/src/Strategy/StateManagementModule.js +3 -8
  477. package/src/Strategy/StatusBarModule.js +3 -8
  478. package/src/Strategy/StyledColumnModule.js +19 -75
  479. package/src/Strategy/SystemStatusModule.js +5 -10
  480. package/src/Strategy/TeamSharingModule.js +32 -37
  481. package/src/Strategy/ThemeModule.js +5 -10
  482. package/src/Strategy/ToolPanelModule.js +8 -13
  483. package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +5 -9
  484. package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.js +6 -11
  485. package/src/Strategy/Utilities/Alert/getAlertTypeViewItems.js +4 -8
  486. package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.js +1 -5
  487. package/src/Strategy/Utilities/CustomSort/getCustomSortSortOrderViewItems.js +1 -5
  488. package/src/Strategy/Utilities/Export/getExportColumnsViewItems.js +1 -5
  489. package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +1 -5
  490. package/src/Strategy/Utilities/FlashingCell/getFlashingCellDurationViewItems.js +1 -5
  491. package/src/Strategy/Utilities/FlashingCell/getFlashingCellStyleViewItems.js +3 -7
  492. package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.js +1 -5
  493. package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +1 -5
  494. package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +5 -10
  495. package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +4 -9
  496. package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +1 -5
  497. package/src/Strategy/Utilities/Shortcut/getShortcutSettingsViewItems.js +1 -5
  498. package/src/Strategy/Utilities/getExpressionViewItems.js +1 -5
  499. package/src/Strategy/Utilities/getObjectTagsViewItems.js +7 -12
  500. package/src/Strategy/Utilities/getRuleViewItems.js +1 -5
  501. package/src/Strategy/Utilities/getScopeViewItems.js +1 -5
  502. package/src/Strategy/Utilities/updateSingleToMultiplePredicates.js +1 -5
  503. package/src/Utilities/Cancelable.js +1 -2
  504. package/src/Utilities/Constants/ConfigConstants.js +9 -12
  505. package/src/Utilities/Constants/DocumentationLinkConstants.js +14 -17
  506. package/src/Utilities/Constants/GeneralConstants.d.ts +3 -0
  507. package/src/Utilities/Constants/GeneralConstants.js +70 -71
  508. package/src/Utilities/Constants/ModuleConstants.d.ts +11 -6
  509. package/src/Utilities/Constants/ModuleConstants.js +118 -116
  510. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +59 -51
  511. package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +1 -1
  512. package/src/Utilities/Defaults/DefaultSettingsPanel.js +5 -7
  513. package/src/Utilities/Emitter.d.ts +2 -2
  514. package/src/Utilities/Emitter.js +3 -5
  515. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +3 -3
  516. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +20 -24
  517. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +3 -3
  518. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +51 -54
  519. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +2 -1
  520. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +119 -31
  521. package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
  522. package/src/Utilities/ExpressionFunctions/dateUtils.js +10 -5
  523. package/src/Utilities/ExpressionFunctions/deepMap.d.ts +3 -3
  524. package/src/Utilities/ExpressionFunctions/deepMap.js +8 -12
  525. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +1 -1
  526. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +39 -57
  527. package/src/Utilities/ExpressionFunctions/groupingMap.d.ts +7 -7
  528. package/src/Utilities/ExpressionFunctions/groupingMap.js +3 -7
  529. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +1 -1
  530. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +66 -70
  531. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.d.ts +7 -7
  532. package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +3 -7
  533. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
  534. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +64 -58
  535. package/src/Utilities/Extensions/ArrayExtensions.js +39 -73
  536. package/src/Utilities/Extensions/EnumExtensions.js +14 -21
  537. package/src/Utilities/Extensions/NumberExtensions.js +4 -9
  538. package/src/Utilities/Extensions/ObjectExtensions.d.ts +1 -0
  539. package/src/Utilities/Extensions/ObjectExtensions.js +5 -7
  540. package/src/Utilities/Extensions/StringExtensions.js +23 -46
  541. package/src/Utilities/Extensions/TypeExtensions.d.ts +8 -8
  542. package/src/Utilities/Extensions/TypeExtensions.js +1 -5
  543. package/src/Utilities/Helpers/AdaptableHelper.js +59 -66
  544. package/src/Utilities/Helpers/DateHelper.js +18 -28
  545. package/src/Utilities/Helpers/FormatHelper.js +10 -18
  546. package/src/Utilities/Helpers/Helper.js +28 -50
  547. package/src/Utilities/Helpers/PreviewHelper.js +10 -16
  548. package/src/Utilities/Helpers/StyleHelper.js +11 -20
  549. package/src/Utilities/Interface/AdaptableToolPanelContext.js +1 -2
  550. package/src/Utilities/Interface/{ColumnFilterContext.d.ts → ColumnFilterProps.d.ts} +1 -1
  551. package/src/Utilities/Interface/ColumnFilterProps.js +1 -0
  552. package/src/Utilities/Interface/IPPStyle.js +1 -2
  553. package/src/Utilities/Interface/KeyValuePair.js +1 -2
  554. package/src/Utilities/Interface/MessagePopups.js +1 -2
  555. package/src/Utilities/Interface/Preview.js +1 -2
  556. package/src/Utilities/MenuItem.js +4 -11
  557. package/src/Utilities/ObjectFactory.d.ts +1 -2
  558. package/src/Utilities/ObjectFactory.js +125 -168
  559. package/src/Utilities/Services/AggregatedScalarLiveValue.js +3 -7
  560. package/src/Utilities/Services/AlertService.js +11 -16
  561. package/src/Utilities/Services/CalculatedColumnExpressionService.js +9 -13
  562. package/src/Utilities/Services/ChartingService.js +10 -15
  563. package/src/Utilities/Services/DataService.js +8 -13
  564. package/src/Utilities/Services/EntitlementService.d.ts +0 -1
  565. package/src/Utilities/Services/EntitlementService.js +1 -13
  566. package/src/Utilities/Services/Fdc3Service.js +7 -11
  567. package/src/Utilities/Services/Interface/IAdaptableService.js +1 -2
  568. package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -3
  569. package/src/Utilities/Services/Interface/IAlertService.js +3 -8
  570. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.js +1 -2
  571. package/src/Utilities/Services/Interface/IChartingService.js +1 -2
  572. package/src/Utilities/Services/Interface/IDataService.js +1 -2
  573. package/src/Utilities/Services/Interface/IEntitlementService.d.ts +0 -6
  574. package/src/Utilities/Services/Interface/IEntitlementService.js +1 -2
  575. package/src/Utilities/Services/Interface/ILicenseService.js +1 -2
  576. package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -1
  577. package/src/Utilities/Services/Interface/IMetamodelService.js +1 -2
  578. package/src/Utilities/Services/Interface/IModuleService.js +1 -2
  579. package/src/Utilities/Services/Interface/IQueryLanguageService.js +1 -2
  580. package/src/Utilities/Services/Interface/IReportService.d.ts +2 -2
  581. package/src/Utilities/Services/Interface/IReportService.js +1 -2
  582. package/src/Utilities/Services/Interface/IRowEditService.js +1 -2
  583. package/src/Utilities/Services/Interface/ITeamSharingService.js +1 -2
  584. package/src/Utilities/Services/Interface/IThemeService.js +1 -2
  585. package/src/Utilities/Services/Interface/IValidationService.js +1 -2
  586. package/src/Utilities/Services/LicenseService/index.js +181 -1
  587. package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.js +1 -5
  588. package/src/Utilities/Services/MetamodelService.js +13 -18
  589. package/src/Utilities/Services/ModuleService.d.ts +1 -0
  590. package/src/Utilities/Services/ModuleService.js +17 -16
  591. package/src/Utilities/Services/QueryLanguageService.js +24 -29
  592. package/src/Utilities/Services/ReportService.d.ts +2 -2
  593. package/src/Utilities/Services/ReportService.js +60 -55
  594. package/src/Utilities/Services/RowEditService.js +1 -5
  595. package/src/Utilities/Services/TeamSharingService.js +6 -11
  596. package/src/Utilities/Services/ThemeService.js +1 -5
  597. package/src/Utilities/Services/ValidationService.js +10 -15
  598. package/src/Utilities/getScrollbarSize.js +1 -3
  599. package/src/Utilities/isAdaptableObject.js +1 -5
  600. package/src/Utilities/isMacLike.js +1 -5
  601. package/src/Utilities/license/LicenseDetails.d.ts +1 -1
  602. package/src/Utilities/license/LicenseDetails.js +1 -2
  603. package/src/Utilities/license/decode.js +65 -1
  604. package/src/Utilities/license/hashing.js +43 -1
  605. package/src/Utilities/logDeprecation.d.ts +5 -3
  606. package/src/Utilities/logDeprecation.js +3 -9
  607. package/src/Utilities/reorder.js +1 -5
  608. package/src/Utilities/runIfNotResolvedIn.js +1 -5
  609. package/src/Utilities/sortWithOrder.js +1 -5
  610. package/src/Utilities/waitForCondition.js +1 -5
  611. package/src/Utilities/waitForTimeout.js +1 -5
  612. package/src/View/AdaptableContext.js +5 -9
  613. package/src/View/AdaptablePopover/index.d.ts +1 -0
  614. package/src/View/AdaptablePopover/index.js +18 -23
  615. package/src/View/AdaptableView.js +30 -35
  616. package/src/View/AdaptableViewFactory.js +67 -69
  617. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +1 -2
  618. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +25 -30
  619. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +42 -44
  620. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +4 -9
  621. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +21 -26
  622. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +4 -9
  623. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +26 -29
  624. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +1 -2
  625. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +17 -20
  626. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +8 -13
  627. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +16 -21
  628. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +24 -29
  629. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +18 -23
  630. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +2 -4
  631. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +3 -5
  632. package/src/View/AdaptableWizardView/Utils.js +1 -5
  633. package/src/View/AdaptableWizardView/Wizard.js +20 -26
  634. package/src/View/AdaptableWizardView/helper.js +4 -10
  635. package/src/View/AdaptableWizardView/index.js +7 -10
  636. package/src/View/Alert/ActiveAlertsPanel.js +9 -14
  637. package/src/View/Alert/ActiveAlertsPanelItemLabel.js +10 -15
  638. package/src/View/Alert/AlertEmptyView.js +5 -10
  639. package/src/View/Alert/AlertEntityRow.js +13 -18
  640. package/src/View/Alert/AlertStatusSubPanel.js +13 -18
  641. package/src/View/Alert/AlertViewPanel.js +17 -21
  642. package/src/View/Alert/AlertsPanel.js +24 -29
  643. package/src/View/Alert/Utilities/getAlertButtonStyle.js +6 -11
  644. package/src/View/Alert/Utilities/getAlertType.js +4 -9
  645. package/src/View/Alert/Utilities/getAvailablePredicates.js +2 -6
  646. package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +8 -13
  647. package/src/View/Alert/Utilities/mapAlertDefinition.js +1 -5
  648. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +1 -1
  649. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +60 -51
  650. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +1 -1
  651. package/src/View/Alert/Wizard/AlertButtonsEditor.js +49 -57
  652. package/src/View/Alert/Wizard/AlertMessageWizardSection.d.ts +1 -1
  653. package/src/View/Alert/Wizard/AlertMessageWizardSection.js +31 -37
  654. package/src/View/Alert/Wizard/AlertNotificationWizardSection.d.ts +1 -1
  655. package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +40 -46
  656. package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
  657. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +23 -30
  658. package/src/View/Alert/Wizard/AlertScopeWizardSection.d.ts +1 -1
  659. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +9 -14
  660. package/src/View/Alert/Wizard/AlertSelectQueryWizard.js +14 -19
  661. package/src/View/Alert/Wizard/AlertTypeWizardSection.d.ts +1 -1
  662. package/src/View/Alert/Wizard/AlertTypeWizardSection.js +19 -25
  663. package/src/View/Alert/Wizard/AlertWizard.js +61 -66
  664. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +14 -19
  665. package/src/View/Alert/Wizard/isValidAlertRules.js +4 -8
  666. package/src/View/BulkUpdate/BulkUpdatePopup.js +33 -43
  667. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +28 -32
  668. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  669. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +17 -22
  670. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingsTags.js +1 -5
  671. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.d.ts +1 -1
  672. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +36 -43
  673. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.d.ts +1 -1
  674. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +21 -28
  675. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -1
  676. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +40 -56
  677. package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.d.ts +1 -1
  678. package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.js +13 -18
  679. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.d.ts +1 -1
  680. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +51 -56
  681. package/src/View/CalculatedColumn/utils.js +1 -5
  682. package/src/View/CellSummary/CellSummaryDetails.js +6 -11
  683. package/src/View/CellSummary/CellSummaryPopover.js +4 -9
  684. package/src/View/CellSummary/CellSummaryPopup.js +8 -12
  685. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +11 -12
  686. package/src/View/CellSummary/CellSummaryStatusPanel.js +11 -16
  687. package/src/View/CellSummary/CellSummaryViewPanel.js +24 -28
  688. package/src/View/Charting/ChartingStatusBarPopover.js +12 -17
  689. package/src/View/Charting/ChartingViewPanel.js +13 -18
  690. package/src/View/Charting/ChartingWizard/AgChargingWizard/AgChargingWizard.js +18 -23
  691. package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +9 -14
  692. package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +16 -22
  693. package/src/View/Charting/ChartingWizard/AgChargingWizard/index.js +1 -4
  694. package/src/View/Charting/ChartingWizard/ChartingWizard.js +10 -14
  695. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.js +13 -18
  696. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +8 -14
  697. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/index.js +1 -4
  698. package/src/View/Charting/ChartingWizard/index.js +1 -4
  699. package/src/View/Charting/DeleteChartButton.js +6 -11
  700. package/src/View/Charting/EditChartButton.js +8 -13
  701. package/src/View/Charting/ShowChartButton.js +21 -26
  702. package/src/View/Charting/useAgChartState.js +7 -12
  703. package/src/View/Charting/useChartingElements.js +26 -31
  704. package/src/View/Charting/useExternalChartState.js +7 -12
  705. package/src/View/ColumnInfo/ColumnInfo.js +41 -47
  706. package/src/View/ColumnInfo/ColumnInfoPopup.js +8 -13
  707. package/src/View/Components/AdaptableButton/index.js +8 -13
  708. package/src/View/Components/AdaptableDateInput/index.d.ts +2 -2
  709. package/src/View/Components/AdaptableDateInput/index.js +13 -15
  710. package/src/View/Components/AdaptableIconComponent/index.js +6 -11
  711. package/src/View/Components/AdaptableIconComponent/useCustomIcon.js +3 -7
  712. package/src/View/Components/AdaptableIconSelector/index.js +6 -11
  713. package/src/View/Components/AdaptableInput/index.d.ts +1 -1
  714. package/src/View/Components/AdaptableInput/index.js +8 -11
  715. package/src/View/Components/AdaptableObjectCollection/index.js +6 -11
  716. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +27 -33
  717. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +40 -47
  718. package/src/View/Components/AdaptableObjectList/index.js +1 -5
  719. package/src/View/Components/AdaptableObjectRow/index.js +7 -12
  720. package/src/View/Components/Badge/index.js +6 -11
  721. package/src/View/Components/Buttons/ButtonApply.js +4 -9
  722. package/src/View/Components/Buttons/ButtonBase/index.d.ts +1 -1
  723. package/src/View/Components/Buttons/ButtonBase/index.js +5 -10
  724. package/src/View/Components/Buttons/ButtonClear.js +4 -9
  725. package/src/View/Components/Buttons/ButtonClone.js +4 -9
  726. package/src/View/Components/Buttons/ButtonClose.js +4 -9
  727. package/src/View/Components/Buttons/ButtonConfigure.js +4 -9
  728. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  729. package/src/View/Components/Buttons/ButtonDelete.js +8 -11
  730. package/src/View/Components/Buttons/ButtonEdit.js +4 -9
  731. package/src/View/Components/Buttons/ButtonExpand.js +4 -9
  732. package/src/View/Components/Buttons/ButtonExport.js +4 -9
  733. package/src/View/Components/Buttons/ButtonFunction.js +4 -9
  734. package/src/View/Components/Buttons/ButtonGeneral.js +4 -9
  735. package/src/View/Components/Buttons/ButtonInfo.js +4 -9
  736. package/src/View/Components/Buttons/ButtonInvalid.js +4 -9
  737. package/src/View/Components/Buttons/ButtonLogin.js +4 -9
  738. package/src/View/Components/Buttons/ButtonLogout.js +4 -9
  739. package/src/View/Components/Buttons/ButtonMaximise.js +4 -9
  740. package/src/View/Components/Buttons/ButtonMinimise.js +4 -9
  741. package/src/View/Components/Buttons/ButtonNew.js +4 -9
  742. package/src/View/Components/Buttons/ButtonNewPage.js +4 -9
  743. package/src/View/Components/Buttons/ButtonOpen.d.ts +5 -0
  744. package/src/View/Components/Buttons/ButtonOpen.js +7 -0
  745. package/src/View/Components/Buttons/ButtonPause.js +4 -9
  746. package/src/View/Components/Buttons/ButtonPlay.js +5 -10
  747. package/src/View/Components/Buttons/ButtonPreviewDelete.js +4 -7
  748. package/src/View/Components/Buttons/ButtonSave.js +4 -9
  749. package/src/View/Components/Buttons/ButtonSchedule.js +4 -9
  750. package/src/View/Components/Buttons/ButtonShare.js +8 -12
  751. package/src/View/Components/Buttons/ButtonShow.js +4 -9
  752. package/src/View/Components/Buttons/ButtonShowChart.js +4 -9
  753. package/src/View/Components/Buttons/ButtonStop.js +4 -9
  754. package/src/View/Components/Buttons/ButtonUndo.js +4 -9
  755. package/src/View/Components/Buttons/ButtonUnsuspend.d.ts +8 -0
  756. package/src/View/Components/Buttons/ButtonUnsuspend.js +17 -0
  757. package/src/View/Components/Buttons/EntityListActionButtons.js +14 -19
  758. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +4 -8
  759. package/src/View/Components/Buttons/SuspendToggleButton/index.js +1 -4
  760. package/src/View/Components/CellPopup/index.d.ts +1 -1
  761. package/src/View/Components/CellPopup/index.js +10 -14
  762. package/src/View/Components/ColumnSelector/index.d.ts +1 -1
  763. package/src/View/Components/ColumnSelector/index.js +7 -12
  764. package/src/View/Components/EntityRowItem.js +2 -7
  765. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +18 -23
  766. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +27 -32
  767. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.js +1 -5
  768. package/src/View/Components/EntityRulesEditor/Utilities.js +1 -5
  769. package/src/View/Components/EntityRulesEditor/index.d.ts +2 -2
  770. package/src/View/Components/EntityRulesEditor/index.js +45 -42
  771. package/src/View/Components/ExpressionWizard.js +17 -22
  772. package/src/View/Components/ExternalRenderer.d.ts +1 -1
  773. package/src/View/Components/ExternalRenderer.js +6 -10
  774. package/src/View/Components/FilterForm/FilterForm.d.ts +2 -2
  775. package/src/View/Components/FilterForm/FilterForm.js +82 -87
  776. package/src/View/Components/FilterForm/ListBoxFilterForm.js +30 -35
  777. package/src/View/Components/FilterForm/ListBoxMenu.js +8 -13
  778. package/src/View/Components/FilterForm/QuickFilterForm.d.ts +2 -2
  779. package/src/View/Components/FilterForm/QuickFilterForm.js +52 -57
  780. package/src/View/Components/FilterForm/QuickFilterValues.d.ts +2 -2
  781. package/src/View/Components/FilterForm/QuickFilterValues.js +27 -32
  782. package/src/View/Components/FilterForm/Waiting.d.ts +1 -1
  783. package/src/View/Components/FilterForm/Waiting.js +10 -14
  784. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +1 -5
  785. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
  786. package/src/View/Components/Forms/AdaptableFormControlTextClear.js +10 -14
  787. package/src/View/Components/ListBox/DualListBoxEditor.js +53 -58
  788. package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +10 -15
  789. package/src/View/Components/ModuleProfile.js +4 -9
  790. package/src/View/Components/ModuleSummary/ModuleDetail.js +6 -11
  791. package/src/View/Components/ModuleSummary/ModuleHeader.js +8 -13
  792. package/src/View/Components/ModuleSummary/SummaryRowItem.js +4 -9
  793. package/src/View/Components/ModuleValueSelector/index.js +15 -19
  794. package/src/View/Components/NewScopeComponent.js +45 -52
  795. package/src/View/Components/Panels/FilterFormPanel.d.ts +1 -1
  796. package/src/View/Components/Panels/FilterFormPanel.js +23 -28
  797. package/src/View/Components/Panels/PanelDashboard/index.js +4 -9
  798. package/src/View/Components/Panels/PanelFooter.js +8 -13
  799. package/src/View/Components/Panels/PanelToolPanel/index.js +16 -20
  800. package/src/View/Components/Panels/PanelWithButton.js +16 -21
  801. package/src/View/Components/Panels/PanelWithImage.js +16 -20
  802. package/src/View/Components/Panels/PanelWithRow.js +7 -12
  803. package/src/View/Components/Panels/PanelWithTwoButtons.js +7 -12
  804. package/src/View/Components/Panels/ToolPanelSettingsPanel.js +6 -11
  805. package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +16 -21
  806. package/src/View/Components/PermittedValuesSelector/index.js +1 -5
  807. package/src/View/Components/Popups/AdaptableLoadingScreen.js +6 -11
  808. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +26 -31
  809. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +7 -12
  810. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +21 -25
  811. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +24 -29
  812. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +4 -9
  813. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +11 -16
  814. package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +3 -8
  815. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +12 -17
  816. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +12 -17
  817. package/src/View/Components/Popups/AdaptablePopup/index.js +1 -5
  818. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +10 -15
  819. package/src/View/Components/Popups/AdaptablePopupAlert.js +24 -38
  820. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +25 -30
  821. package/src/View/Components/Popups/AdaptablePopupPrompt.js +18 -23
  822. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +26 -31
  823. package/src/View/Components/Popups/AdaptableToaster.js +13 -18
  824. package/src/View/Components/Popups/FormPopups/FormPopups.js +19 -25
  825. package/src/View/Components/Popups/Utilities.js +10 -17
  826. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +23 -27
  827. package/src/View/Components/Popups/WindowPopups/windowFactory.d.ts +1 -1
  828. package/src/View/Components/Popups/WindowPopups/windowFactory.js +13 -16
  829. package/src/View/Components/PredicateEditor/PredicateEditor.js +28 -33
  830. package/src/View/Components/PreviewResultsPanel.js +13 -18
  831. package/src/View/Components/RangesComponent.js +57 -59
  832. package/src/View/Components/ScopeComponent.js +23 -28
  833. package/src/View/Components/Selectors/ColumnSelector.d.ts +12 -17
  834. package/src/View/Components/Selectors/ColumnSelector.js +24 -48
  835. package/src/View/Components/Selectors/ColumnSelectorOld.d.ts +18 -0
  836. package/src/View/Components/Selectors/ColumnSelectorOld.js +46 -0
  837. package/src/View/Components/Selectors/ColumnValueSelector.d.ts +4 -23
  838. package/src/View/Components/Selectors/ColumnValueSelector.js +38 -135
  839. package/src/View/Components/Selectors/PermittedValuesSelector.d.ts +13 -0
  840. package/src/View/Components/Selectors/PermittedValuesSelector.js +46 -0
  841. package/src/View/Components/SharedProps/BaseProps.js +1 -2
  842. package/src/View/Components/SharedProps/ConfigEntityRowProps.js +1 -2
  843. package/src/View/Components/SharedProps/EditableConfigEntityState.js +2 -5
  844. package/src/View/Components/SharedProps/ModuleSummaryProps.js +1 -2
  845. package/src/View/Components/SharedProps/ModuleViewPopupProps.js +1 -2
  846. package/src/View/Components/SharedProps/ToolPanelModuleViewPopupProps.js +1 -2
  847. package/src/View/Components/SharedProps/ToolbarModuleViewPopupProps.js +1 -2
  848. package/src/View/Components/SharedProps/ViewPanelProps.js +1 -2
  849. package/src/View/Components/SharedProps/WizardScopeState.js +1 -2
  850. package/src/View/Components/StyleComponent.d.ts +2 -3
  851. package/src/View/Components/StyleComponent.js +85 -93
  852. package/src/View/Components/StyleVisualItem.js +9 -14
  853. package/src/View/Components/TagValueSelector/index.js +9 -15
  854. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
  855. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +39 -44
  856. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +13 -18
  857. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  858. package/src/View/Components/ToolPanel/ToolPanelPopup.js +24 -28
  859. package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +1 -1
  860. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +16 -21
  861. package/src/View/Components/ValueSelector/index.d.ts +2 -2
  862. package/src/View/Components/ValueSelector/index.js +47 -53
  863. package/src/View/Components/WizardSummaryPage.js +7 -12
  864. package/src/View/Components/WizardSummaryRow.js +6 -11
  865. package/src/View/CustomSort/CustomSortSummary.js +32 -37
  866. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +1 -1
  867. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +17 -24
  868. package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.js +4 -9
  869. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.d.ts +1 -1
  870. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +29 -36
  871. package/src/View/CustomSort/Wizard/CustomSortWizard.js +32 -37
  872. package/src/View/Dashboard/CustomDashboardButton.js +7 -12
  873. package/src/View/Dashboard/CustomToolbar.js +19 -25
  874. package/src/View/Dashboard/Dashboard.js +38 -42
  875. package/src/View/Dashboard/DashboardPopup.js +34 -41
  876. package/src/View/Dashboard/DashboardToolbarFactory.js +16 -18
  877. package/src/View/Dashboard/DashboardViewPanel.js +10 -14
  878. package/src/View/Dashboard/ModuleToolbarWrapper.js +8 -13
  879. package/src/View/Dashboard/PinnedDashboard.js +14 -16
  880. package/src/View/Dashboard/PinnedToolbarsSelector.js +15 -25
  881. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +19 -22
  882. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +34 -38
  883. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +4 -9
  884. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +36 -41
  885. package/src/View/DataChangeHistory/buildActionColumnButton.js +1 -5
  886. package/src/View/DataImport/DataImportPopup.js +12 -17
  887. package/src/View/DataImport/DataImportWizard/DataImportWizard.d.ts +1 -1
  888. package/src/View/DataImport/DataImportWizard/DataImportWizard.js +25 -30
  889. package/src/View/DataImport/DataImportWizard/index.js +1 -4
  890. package/src/View/DataImport/DataImportWizard/sections/ColumnsSection.js +29 -34
  891. package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +21 -26
  892. package/src/View/DataImport/DataImportWizard/sections/ImportSection.js +18 -23
  893. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadFileSection.js +5 -10
  894. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.d.ts +1 -1
  895. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.js +17 -22
  896. package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadTextSection.js +6 -11
  897. package/src/View/DataImport/DataImportWizard/sections/UploadSection/index.js +1 -4
  898. package/src/View/DataImport/DataImportWizard/sections/ValidationSection.js +18 -23
  899. package/src/View/DataImport/systemFileHandlers.js +5 -9
  900. package/src/View/DataSet/DataSetSelector.js +6 -11
  901. package/src/View/DataSet/DataSetStatusPanelPopover.js +6 -11
  902. package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
  903. package/src/View/DataSet/DataSetViewPanel.js +12 -15
  904. package/src/View/Export/ExportSelector.js +13 -18
  905. package/src/View/Export/ExportTablePopup.js +7 -12
  906. package/src/View/Export/ExportViewPanel.d.ts +1 -1
  907. package/src/View/Export/ExportViewPanel.js +50 -51
  908. package/src/View/Export/ReportExportDropdown.js +16 -21
  909. package/src/View/Export/Wizard/NewReportWizard.js +32 -37
  910. package/src/View/Export/Wizard/ReportColumnTypeWizard.js +14 -19
  911. package/src/View/Export/Wizard/ReportColumnsWizardSection.d.ts +1 -1
  912. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +28 -35
  913. package/src/View/Export/Wizard/ReportNameWizardSection.d.ts +1 -1
  914. package/src/View/Export/Wizard/ReportNameWizardSection.js +21 -28
  915. package/src/View/Export/Wizard/ReportRowTypeWizard.js +14 -19
  916. package/src/View/Export/Wizard/ReportRowsWizardSection.d.ts +1 -1
  917. package/src/View/Export/Wizard/ReportRowsWizardSection.js +31 -38
  918. package/src/View/Export/Wizard/ReportScopeWizard.js +9 -14
  919. package/src/View/Export/Wizard/ReportSettingsWizard.js +18 -23
  920. package/src/View/Export/Wizard/ReportSummaryWizard.js +4 -9
  921. package/src/View/Export/constants.js +2 -5
  922. package/src/View/Filter/ActiveFiltersPanel.js +9 -14
  923. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +4 -9
  924. package/src/View/Filter/FilterSummary.d.ts +1 -1
  925. package/src/View/Filter/FilterSummary.js +20 -25
  926. package/src/View/Filter/FilterViewPanel.d.ts +1 -1
  927. package/src/View/Filter/FilterViewPanel.js +29 -33
  928. package/src/View/FlashingCell/FlashingCellStyle.js +10 -14
  929. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +14 -20
  930. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.d.ts +1 -1
  931. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +10 -15
  932. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.d.ts +1 -1
  933. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +36 -42
  934. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.d.ts +1 -1
  935. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +28 -34
  936. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +49 -54
  937. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +4 -8
  938. package/src/View/FormatColumn/FormatColumnSummary.js +27 -32
  939. package/src/View/FormatColumn/MoveFormatColumn.js +10 -15
  940. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +1 -1
  941. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +153 -160
  942. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.d.ts +1 -1
  943. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +6 -11
  944. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.d.ts +1 -1
  945. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +10 -16
  946. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.d.ts +1 -1
  947. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +30 -36
  948. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +1 -1
  949. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +17 -25
  950. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +51 -54
  951. package/src/View/FormatColumn/Wizard/constants.js +1 -4
  952. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +27 -32
  953. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
  954. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +53 -70
  955. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +26 -31
  956. package/src/View/GridFilter/GridFilterExpressionEditor.d.ts +5 -0
  957. package/src/View/GridFilter/GridFilterExpressionEditor.js +109 -0
  958. package/src/View/GridFilter/GridFilterPopup.d.ts +2 -0
  959. package/src/View/GridFilter/GridFilterPopup.js +42 -0
  960. package/src/View/GridFilter/GridFilterStatusbar.d.ts +2 -0
  961. package/src/View/GridFilter/GridFilterStatusbar.js +16 -0
  962. package/src/View/GridFilter/GridFilterViewPanel.d.ts +5 -0
  963. package/src/View/GridFilter/GridFilterViewPanel.js +64 -0
  964. package/src/View/{Query/ExpandedQueryPopup.d.ts → GridFilter/GridFilterWindowPopup.d.ts} +1 -1
  965. package/src/View/GridFilter/GridFilterWindowPopup.js +5 -0
  966. package/src/View/GridFilter/NamedQuerySelector.d.ts +16 -0
  967. package/src/View/GridFilter/NamedQuerySelector.js +50 -0
  968. package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +24 -0
  969. package/src/View/GridFilter/useGridFilterExpressionEditor.js +123 -0
  970. package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.d.ts +4 -0
  971. package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +27 -0
  972. package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +11 -16
  973. package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.js +20 -25
  974. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +35 -38
  975. package/src/View/GridInfo/GridInfoPopup/index.js +1 -4
  976. package/src/View/KeyHint.js +4 -9
  977. package/src/View/Layout/EditCurrentLayoutButton.js +6 -11
  978. package/src/View/Layout/LayoutCloneButton.js +6 -11
  979. package/src/View/Layout/LayoutRadioSelector.js +6 -11
  980. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +6 -11
  981. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  982. package/src/View/Layout/LayoutViewPanel.js +28 -31
  983. package/src/View/Layout/PivotDetailsPopoup.js +7 -12
  984. package/src/View/Layout/SaveLayoutButton.js +14 -18
  985. package/src/View/Layout/Wizard/Components/ColumnLabels.js +11 -15
  986. package/src/View/Layout/Wizard/LayoutWizard.js +57 -52
  987. package/src/View/Layout/Wizard/sections/AggregationsSection.js +37 -44
  988. package/src/View/Layout/Wizard/sections/ColumnsSection.js +62 -68
  989. package/src/View/Layout/Wizard/sections/FilterSection.js +44 -53
  990. package/src/View/Layout/Wizard/sections/GridFilterSection.d.ts +9 -0
  991. package/src/View/Layout/Wizard/sections/GridFilterSection.js +37 -0
  992. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +21 -27
  993. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +27 -33
  994. package/src/View/Layout/Wizard/sections/SettingsSection.js +29 -35
  995. package/src/View/Layout/Wizard/sections/SortSection.js +26 -32
  996. package/src/View/Layout/Wizard/sections/Utilities.js +1 -5
  997. package/src/View/License/LicenseWatermark.js +61 -1
  998. package/src/View/License/index.js +1 -5
  999. package/src/View/NamedQuery/EditCurrentQueryButton.d.ts +2 -0
  1000. package/src/View/NamedQuery/EditCurrentQueryButton.js +11 -0
  1001. package/src/View/{Query → NamedQuery}/Wizard/NamedQueryExpressionWizardSection.d.ts +1 -1
  1002. package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +30 -0
  1003. package/src/View/{Query → NamedQuery}/Wizard/NamedQuerySettingsWizardSection.d.ts +1 -1
  1004. package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +38 -0
  1005. package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +65 -0
  1006. package/src/View/Notes/NotesListing.js +14 -19
  1007. package/src/View/Notes/NotesPopup.js +19 -24
  1008. package/src/View/PlusMinus/PlusMinusSummary.js +26 -31
  1009. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +12 -18
  1010. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +6 -11
  1011. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +32 -39
  1012. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +26 -31
  1013. package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +13 -18
  1014. package/src/View/QuickSearch/QuickSearchInput.js +13 -18
  1015. package/src/View/QuickSearch/QuickSearchPopup.js +26 -30
  1016. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +10 -15
  1017. package/src/View/QuickSearch/QuickSearchViewPanel.js +4 -9
  1018. package/src/View/QuickSearch/useQuickSearchDebounced.d.ts +1 -1
  1019. package/src/View/QuickSearch/useQuickSearchDebounced.js +7 -12
  1020. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +8 -13
  1021. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +26 -32
  1022. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +13 -18
  1023. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +24 -29
  1024. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +13 -18
  1025. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +26 -28
  1026. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.d.ts +1 -1
  1027. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +17 -21
  1028. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +14 -20
  1029. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +20 -25
  1030. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/index.js +3 -9
  1031. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +17 -22
  1032. package/src/View/Schedule/Wizard/ScheduleWizard.js +47 -52
  1033. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +6 -11
  1034. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +44 -52
  1035. package/src/View/Shortcut/Wizard/ShortcutWizard.js +36 -40
  1036. package/src/View/Shortcut/shortcutKeys.js +1 -4
  1037. package/src/View/Shortcut/shortcutOperations.js +6 -9
  1038. package/src/View/SmartEdit/SmartEditPopup.js +26 -30
  1039. package/src/View/SmartEdit/SmartEditViewPanel.js +35 -37
  1040. package/src/View/SpecialColumnSettingsWizardStep.js +36 -38
  1041. package/src/View/StateManagement/StateManagementPopup.js +22 -27
  1042. package/src/View/StateManagement/StateManagementViewPanel.js +14 -19
  1043. package/src/View/StateManagement/components/ClearButton.js +4 -9
  1044. package/src/View/StateManagement/components/ExportDropdown.js +7 -12
  1045. package/src/View/StateManagement/components/LoadButton.js +6 -11
  1046. package/src/View/StateManagement/handleExportState.js +4 -9
  1047. package/src/View/StatusBar/AdaptableStatusBar.js +14 -19
  1048. package/src/View/StatusBar/StatusBarPanel.js +12 -16
  1049. package/src/View/StatusBar/StatusBarPopup.js +14 -19
  1050. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +61 -59
  1051. package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +144 -152
  1052. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +46 -52
  1053. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +1 -1
  1054. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +24 -29
  1055. package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.d.ts +1 -1
  1056. package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +21 -27
  1057. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarColumnComparisonPreview.js +9 -14
  1058. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarRangesPreview.js +7 -12
  1059. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarStylePreview.js +7 -12
  1060. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +15 -20
  1061. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +49 -64
  1062. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/index.js +1 -4
  1063. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +23 -36
  1064. package/src/View/SystemStatus/SystemStatusEntityRow.js +12 -17
  1065. package/src/View/SystemStatus/SystemStatusPopup.js +18 -22
  1066. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +8 -13
  1067. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  1068. package/src/View/SystemStatus/SystemStatusViewPanel.js +8 -12
  1069. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +5 -10
  1070. package/src/View/TeamSharing/SharedEntityDependencies.js +12 -18
  1071. package/src/View/TeamSharing/SharedEntityObjectView.js +23 -30
  1072. package/src/View/TeamSharing/TeamSharingApplyButton.js +6 -11
  1073. package/src/View/Theme/ThemeEditor.d.ts +1 -1
  1074. package/src/View/Theme/ThemeEditor.js +27 -32
  1075. package/src/View/Theme/ThemeEditorWindow.js +8 -13
  1076. package/src/View/Theme/ThemeField.js +18 -23
  1077. package/src/View/Theme/ThemePopup.js +22 -26
  1078. package/src/View/Theme/ThemeStatusPanelPopover.js +6 -11
  1079. package/src/View/Theme/ThemeViewPanel.js +11 -14
  1080. package/src/View/Theme/VariantSelector.js +8 -13
  1081. package/src/View/UIHelper.d.ts +1 -1
  1082. package/src/View/UIHelper.js +120 -152
  1083. package/src/View/UIInterfaces.js +1 -2
  1084. package/src/View/Wizard/AdaptableWizard.js +24 -30
  1085. package/src/View/Wizard/Interface/IAdaptableWizard.js +1 -2
  1086. package/src/View/Wizard/ObjectTagsWizardSection.d.ts +1 -1
  1087. package/src/View/Wizard/ObjectTagsWizardSection.js +14 -20
  1088. package/src/View/Wizard/OnePageAdaptableWizard.d.ts +1 -1
  1089. package/src/View/Wizard/OnePageAdaptableWizard.js +32 -42
  1090. package/src/View/Wizard/OnePageWizards.d.ts +2 -2
  1091. package/src/View/Wizard/OnePageWizards.js +50 -59
  1092. package/src/View/Wizard/TypeRadio.js +7 -12
  1093. package/src/View/Wizard/WizardLegend.js +6 -11
  1094. package/src/View/Wizard/useKeyboardNavigation.js +4 -9
  1095. package/src/View/renderWithAdaptableContext.js +9 -14
  1096. package/src/agGrid/ActionColumnRenderer.js +9 -15
  1097. package/src/agGrid/Adaptable.d.ts +24 -17
  1098. package/src/agGrid/Adaptable.js +512 -502
  1099. package/src/agGrid/AdaptableLogger.js +15 -19
  1100. package/src/agGrid/BadgeRenderer.js +6 -11
  1101. package/src/agGrid/CheckboxRenderer.d.ts +5 -0
  1102. package/src/agGrid/CheckboxRenderer.js +7 -8
  1103. package/src/agGrid/ColumnSetupInfo.d.ts +1 -1
  1104. package/src/agGrid/ColumnSetupInfo.js +1 -2
  1105. package/src/agGrid/FilterWrapper.js +17 -22
  1106. package/src/agGrid/FloatingFilterWrapper.js +12 -17
  1107. package/src/agGrid/PercentBarRenderer.js +5 -10
  1108. package/src/agGrid/agGridHelper.d.ts +1 -1
  1109. package/src/agGrid/agGridHelper.js +120 -114
  1110. package/src/agGrid/agGridMenuHelper.js +81 -69
  1111. package/src/agGrid/attachAddaptableColumnTypes.js +4 -8
  1112. package/src/agGrid/createAgStatusPanelComponent.js +5 -10
  1113. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.d.ts +2 -2
  1114. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +12 -16
  1115. package/src/agGrid/editors/AdaptableDateEditor/index.js +19 -24
  1116. package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.d.ts +2 -2
  1117. package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +6 -10
  1118. package/src/agGrid/editors/AdaptableNumberEditor/index.js +16 -21
  1119. package/src/agGrid/index.js +6 -11
  1120. package/src/agGrid/weightedAverage.js +10 -17
  1121. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +58 -38
  1122. package/src/components/AdaptableFormComponent/index.js +1 -4
  1123. package/src/components/CheckBox/index.d.ts +1 -1
  1124. package/src/components/CheckBox/index.js +13 -17
  1125. package/src/components/CodeBlock/index.js +6 -11
  1126. package/src/components/ColorPicker/ColorPicker.d.ts +2 -2
  1127. package/src/components/ColorPicker/ColorPicker.js +15 -18
  1128. package/src/components/ColorPicker/index.js +1 -4
  1129. package/src/components/ContainerProps.d.ts +2 -2
  1130. package/src/components/ContainerProps.js +1 -2
  1131. package/src/components/Dashboard/Dashboard.d.ts +2 -2
  1132. package/src/components/Dashboard/Dashboard.js +17 -22
  1133. package/src/components/Dashboard/DashboardManager.js +4 -7
  1134. package/src/components/Dashboard/DashboardTab.d.ts +1 -1
  1135. package/src/components/Dashboard/DashboardTab.js +1 -5
  1136. package/src/components/Dashboard/DashboardToolbar.d.ts +1 -1
  1137. package/src/components/Dashboard/DashboardToolbar.js +9 -14
  1138. package/src/components/Dashboard/index.js +3 -6
  1139. package/src/components/Datepicker/Caption.js +15 -20
  1140. package/src/components/Datepicker/CaptionLabel.js +16 -21
  1141. package/src/components/Datepicker/DatepickerContext.js +4 -9
  1142. package/src/components/Datepicker/index.d.ts +2 -2
  1143. package/src/components/Datepicker/index.js +36 -39
  1144. package/src/components/Dialog/index.d.ts +2 -2
  1145. package/src/components/Dialog/index.js +29 -32
  1146. package/src/components/Dialog/useIsOpen.js +3 -6
  1147. package/src/components/DragAndDropContext/DragAndDropContext.js +2 -6
  1148. package/src/components/DragAndDropContext/ModuleManager.js +13 -18
  1149. package/src/components/DragAndDropContext/TabList.js +19 -27
  1150. package/src/components/DragAndDropContext/UnusedPanel.js +10 -15
  1151. package/src/components/DragAndDropContext/types.js +1 -2
  1152. package/src/components/Drawer/index.js +2 -7
  1153. package/src/components/Dropdown/Arrows.js +5 -8
  1154. package/src/components/Dropdown/index.d.ts +2 -2
  1155. package/src/components/Dropdown/index.js +18 -20
  1156. package/src/components/DropdownButton/DropdownButtonItem.d.ts +1 -1
  1157. package/src/components/DropdownButton/DropdownButtonItem.js +1 -2
  1158. package/src/components/DropdownButton/index.d.ts +1 -1
  1159. package/src/components/DropdownButton/index.js +23 -26
  1160. package/src/components/DropdownButton/renderItem.d.ts +1 -1
  1161. package/src/components/DropdownButton/renderItem.js +4 -7
  1162. package/src/components/DropdownButton/useExpanded.d.ts +1 -1
  1163. package/src/components/DropdownButton/useExpanded.js +9 -12
  1164. package/src/components/EllipsisContainer/index.d.ts +1 -1
  1165. package/src/components/EllipsisContainer/index.js +17 -21
  1166. package/src/components/EmptyContent/index.d.ts +1 -1
  1167. package/src/components/EmptyContent/index.js +8 -10
  1168. package/src/components/ErrorBox/index.js +6 -10
  1169. package/src/components/ExpressionEditor/BaseEditorInput.js +56 -61
  1170. package/src/components/ExpressionEditor/EditorButton.js +8 -10
  1171. package/src/components/ExpressionEditor/EditorContext.js +4 -8
  1172. package/src/components/ExpressionEditor/EditorInput.js +22 -25
  1173. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +24 -27
  1174. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +10 -15
  1175. package/src/components/ExpressionEditor/NamedQueryContext.d.ts +2 -2
  1176. package/src/components/ExpressionEditor/NamedQueryContext.js +4 -8
  1177. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.d.ts +22 -0
  1178. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +112 -0
  1179. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +28 -0
  1180. package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +118 -0
  1181. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.d.ts +22 -0
  1182. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +172 -0
  1183. package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.d.ts +2 -0
  1184. package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +14 -0
  1185. package/src/components/ExpressionEditor/QueryBuilder/index.d.ts +1 -0
  1186. package/src/components/ExpressionEditor/QueryBuilder/index.js +1 -0
  1187. package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +9 -0
  1188. package/src/components/ExpressionEditor/QueryBuilder/utils.js +113 -0
  1189. package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.js +1 -4
  1190. package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +1 -4
  1191. package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.js +1 -4
  1192. package/src/components/ExpressionEditor/editorButtonsObservable.js +1 -4
  1193. package/src/components/ExpressionEditor/editorButtonsQuantileAggregatedScalar.js +1 -4
  1194. package/src/components/ExpressionEditor/editorButtonsSearch.js +1 -4
  1195. package/src/components/ExpressionEditor/index.d.ts +4 -3
  1196. package/src/components/ExpressionEditor/index.js +166 -117
  1197. package/src/components/FieldWrap/index.js +5 -8
  1198. package/src/components/FileDroppable/FileDroppableState.js +1 -2
  1199. package/src/components/FileDroppable/index.js +29 -33
  1200. package/src/components/FileDroppable/reducer.js +3 -6
  1201. package/src/components/FlexWithFooter.js +9 -11
  1202. package/src/components/FormLayout/index.d.ts +4 -4
  1203. package/src/components/FormLayout/index.js +13 -17
  1204. package/src/components/HelpBlock/index.js +6 -10
  1205. package/src/components/Icon/index.js +20 -29
  1206. package/src/components/IconSelector/IconSelector.js +27 -32
  1207. package/src/components/IconSelector/index.js +1 -4
  1208. package/src/components/InfiniteTable/index.js +6 -10
  1209. package/src/components/Input/NumberInput.d.ts +1 -1
  1210. package/src/components/Input/NumberInput.js +4 -9
  1211. package/src/components/Input/index.d.ts +2 -2
  1212. package/src/components/Input/index.js +8 -11
  1213. package/src/components/List/GridList/index.js +7 -10
  1214. package/src/components/List/ListGroup/index.js +7 -9
  1215. package/src/components/List/ListGroupItem/index.d.ts +2 -2
  1216. package/src/components/List/ListGroupItem/index.js +8 -10
  1217. package/src/components/Loader/Loader.js +4 -10
  1218. package/src/components/Loader/index.js +2 -7
  1219. package/src/components/Logo/index.js +2 -7
  1220. package/src/components/Modal/Backdrop.d.ts +2 -2
  1221. package/src/components/Modal/Backdrop.js +12 -17
  1222. package/src/components/Modal/index.js +19 -23
  1223. package/src/components/NotifyResize/index.js +4 -7
  1224. package/src/components/OverlayTrigger/Overlay.js +19 -23
  1225. package/src/components/OverlayTrigger/index.d.ts +1 -1
  1226. package/src/components/OverlayTrigger/index.js +41 -46
  1227. package/src/components/OverlayTrigger/useAgGridClassName.js +5 -7
  1228. package/src/components/OverlayTrigger/utils.js +3 -9
  1229. package/src/components/Panel/index.d.ts +1 -1
  1230. package/src/components/Panel/index.js +12 -15
  1231. package/src/components/PopupWithFooter.js +8 -11
  1232. package/src/components/ProgressIndicator/ProgressIndicator.js +12 -17
  1233. package/src/components/Radio/index.d.ts +1 -1
  1234. package/src/components/Radio/index.js +15 -20
  1235. package/src/components/ResizeObserver/getResizeObserverObject.js +1 -5
  1236. package/src/components/ResizeObserver/index.d.ts +1 -1
  1237. package/src/components/ResizeObserver/index.js +17 -24
  1238. package/src/components/Select/Select.d.ts +30 -0
  1239. package/src/components/Select/Select.js +128 -0
  1240. package/src/components/Select/index.d.ts +1 -0
  1241. package/src/components/Select/index.js +1 -0
  1242. package/src/components/SelectList.js +4 -9
  1243. package/src/components/SelectableList/index.d.ts +1 -1
  1244. package/src/components/SelectableList/index.js +8 -13
  1245. package/src/components/SimpleButton/index.js +19 -22
  1246. package/src/components/SizedContainer/index.js +9 -11
  1247. package/src/components/StylePreview.js +6 -11
  1248. package/src/components/Table/index.js +4 -7
  1249. package/src/components/Tabs/index.d.ts +3 -3
  1250. package/src/components/Tabs/index.js +28 -34
  1251. package/src/components/Tag/Tag.js +5 -9
  1252. package/src/components/Tag/index.js +1 -5
  1253. package/src/components/Textarea/index.d.ts +2 -2
  1254. package/src/components/Textarea/index.js +8 -11
  1255. package/src/components/Toastify/index.js +1 -10
  1256. package/src/components/Toggle/Toggle.d.ts +1 -1
  1257. package/src/components/Toggle/Toggle.js +8 -12
  1258. package/src/components/Toggle/ToggleGroup.js +4 -9
  1259. package/src/components/Toggle/index.js +2 -5
  1260. package/src/components/ToggleButton/index.js +6 -11
  1261. package/src/components/Tooltip/index.js +4 -7
  1262. package/src/components/WarningBox/index.d.ts +4 -0
  1263. package/src/components/WarningBox/index.js +7 -0
  1264. package/src/components/WindowModal/WindowModal.d.ts +2 -2
  1265. package/src/components/WindowModal/WindowModal.js +12 -17
  1266. package/src/components/WindowModal/index.js +1 -4
  1267. package/src/components/WindowModal/useStacking.js +4 -9
  1268. package/src/components/WizardPanel/index.js +5 -8
  1269. package/src/components/icons/DefaultIcon.d.ts +1 -1
  1270. package/src/components/icons/DefaultIcon.js +8 -12
  1271. package/src/components/icons/add-row.js +3 -6
  1272. package/src/components/icons/alert.js +3 -6
  1273. package/src/components/icons/align-center.js +3 -6
  1274. package/src/components/icons/align-justify.js +3 -6
  1275. package/src/components/icons/align-left.js +3 -6
  1276. package/src/components/icons/align-right.js +3 -6
  1277. package/src/components/icons/analysis.js +3 -6
  1278. package/src/components/icons/application.js +3 -6
  1279. package/src/components/icons/arrow-down-long.js +3 -6
  1280. package/src/components/icons/arrow-down.js +3 -6
  1281. package/src/components/icons/arrow-expand.js +3 -6
  1282. package/src/components/icons/arrow-left.js +3 -6
  1283. package/src/components/icons/arrow-right.js +3 -6
  1284. package/src/components/icons/arrow-up-long.js +3 -6
  1285. package/src/components/icons/arrow-up.js +3 -6
  1286. package/src/components/icons/attach-file.js +3 -6
  1287. package/src/components/icons/badge.js +3 -6
  1288. package/src/components/icons/blanks.js +3 -6
  1289. package/src/components/icons/bold.js +3 -6
  1290. package/src/components/icons/boolean-list.js +3 -6
  1291. package/src/components/icons/brush.js +3 -6
  1292. package/src/components/icons/build.js +3 -6
  1293. package/src/components/icons/bulk-update.js +3 -6
  1294. package/src/components/icons/calculated-column.js +3 -6
  1295. package/src/components/icons/calendar.js +3 -6
  1296. package/src/components/icons/call.js +3 -6
  1297. package/src/components/icons/campaign.js +3 -6
  1298. package/src/components/icons/case-lower.js +3 -6
  1299. package/src/components/icons/case-sentence.js +3 -6
  1300. package/src/components/icons/case-upper.js +3 -6
  1301. package/src/components/icons/cell-summary.js +3 -6
  1302. package/src/components/icons/cell-validation.js +3 -6
  1303. package/src/components/icons/chart.js +3 -6
  1304. package/src/components/icons/chat.js +3 -6
  1305. package/src/components/icons/check-box-outline.js +3 -6
  1306. package/src/components/icons/check-box.js +3 -6
  1307. package/src/components/icons/check-circle.js +3 -6
  1308. package/src/components/icons/check.js +3 -6
  1309. package/src/components/icons/clone.js +3 -6
  1310. package/src/components/icons/close.js +3 -6
  1311. package/src/components/icons/cloud-upload.js +3 -6
  1312. package/src/components/icons/collapse.js +3 -6
  1313. package/src/components/icons/column-add.js +3 -6
  1314. package/src/components/icons/column-chooser.js +3 -6
  1315. package/src/components/icons/column-filter.js +3 -6
  1316. package/src/components/icons/column-info.js +3 -6
  1317. package/src/components/icons/comment.js +3 -6
  1318. package/src/components/icons/contact.js +3 -6
  1319. package/src/components/icons/contains.js +3 -6
  1320. package/src/components/icons/custom-sort.js +3 -6
  1321. package/src/components/icons/dashboard.js +3 -6
  1322. package/src/components/icons/data-set.js +3 -6
  1323. package/src/components/icons/date-range.js +3 -6
  1324. package/src/components/icons/delete.js +3 -6
  1325. package/src/components/icons/division.js +3 -6
  1326. package/src/components/icons/dock.js +3 -6
  1327. package/src/components/icons/dollar.js +3 -6
  1328. package/src/components/icons/drag.js +3 -6
  1329. package/src/components/icons/edit.js +3 -6
  1330. package/src/components/icons/ends-with.js +3 -6
  1331. package/src/components/icons/equal.js +3 -6
  1332. package/src/components/icons/equation.js +3 -6
  1333. package/src/components/icons/error.js +3 -6
  1334. package/src/components/icons/expand.js +3 -6
  1335. package/src/components/icons/exponent.js +3 -6
  1336. package/src/components/icons/export.js +3 -6
  1337. package/src/components/icons/fast-backward.js +3 -6
  1338. package/src/components/icons/fast-forward.js +3 -6
  1339. package/src/components/icons/fdc3.js +3 -6
  1340. package/src/components/icons/filter.js +3 -6
  1341. package/src/components/icons/flashing-cell.js +3 -6
  1342. package/src/components/icons/folder-open.js +3 -6
  1343. package/src/components/icons/folder-shared.js +3 -6
  1344. package/src/components/icons/folder.js +3 -6
  1345. package/src/components/icons/format-column.js +3 -6
  1346. package/src/components/icons/freetext-column.js +3 -6
  1347. package/src/components/icons/function.js +3 -6
  1348. package/src/components/icons/gradient-column.js +3 -6
  1349. package/src/components/icons/gradient.js +3 -6
  1350. package/src/components/icons/greater-than-or-equal.js +3 -6
  1351. package/src/components/icons/greater-than.js +3 -6
  1352. package/src/components/icons/grid-filter.d.ts +3 -0
  1353. package/src/components/icons/grid-filter.js +4 -0
  1354. package/src/components/icons/hide-column.js +3 -6
  1355. package/src/components/icons/history.js +3 -6
  1356. package/src/components/icons/home.js +3 -6
  1357. package/src/components/icons/import-export.js +3 -6
  1358. package/src/components/icons/import.js +3 -6
  1359. package/src/components/icons/index.js +321 -322
  1360. package/src/components/icons/info.js +3 -6
  1361. package/src/components/icons/instrument.js +3 -6
  1362. package/src/components/icons/interactions.js +3 -6
  1363. package/src/components/icons/invalid.js +3 -6
  1364. package/src/components/icons/ipushpull.js +3 -6
  1365. package/src/components/icons/italic.js +3 -6
  1366. package/src/components/icons/justify.js +3 -6
  1367. package/src/components/icons/layout.js +3 -6
  1368. package/src/components/icons/less-than-or-equal.js +3 -6
  1369. package/src/components/icons/less-than.js +3 -6
  1370. package/src/components/icons/list.js +3 -6
  1371. package/src/components/icons/login.js +3 -6
  1372. package/src/components/icons/logout copy.js +3 -6
  1373. package/src/components/icons/logout.js +3 -6
  1374. package/src/components/icons/mail.js +3 -6
  1375. package/src/components/icons/menu.js +3 -6
  1376. package/src/components/icons/minus.js +3 -6
  1377. package/src/components/icons/money.js +3 -6
  1378. package/src/components/icons/multiplication.js +3 -6
  1379. package/src/components/icons/newpage.js +3 -6
  1380. package/src/components/icons/news.js +3 -6
  1381. package/src/components/icons/non-blanks.js +3 -6
  1382. package/src/components/icons/not-contains.js +3 -6
  1383. package/src/components/icons/not-equal.js +3 -6
  1384. package/src/components/icons/note.js +3 -6
  1385. package/src/components/icons/open-in-new.js +3 -6
  1386. package/src/components/icons/order.js +3 -6
  1387. package/src/components/icons/organisation.js +3 -6
  1388. package/src/components/icons/overline.js +3 -6
  1389. package/src/components/icons/pause.js +3 -6
  1390. package/src/components/icons/percent-bar.js +3 -6
  1391. package/src/components/icons/percent.js +3 -6
  1392. package/src/components/icons/person.js +3 -6
  1393. package/src/components/icons/pie-chart.js +3 -6
  1394. package/src/components/icons/play.js +3 -6
  1395. package/src/components/icons/plus-minus.js +3 -6
  1396. package/src/components/icons/plus.js +3 -6
  1397. package/src/components/icons/query.js +3 -6
  1398. package/src/components/icons/quick-search.js +3 -6
  1399. package/src/components/icons/quote.js +3 -6
  1400. package/src/components/icons/refresh.js +3 -6
  1401. package/src/components/icons/regex.js +3 -6
  1402. package/src/components/icons/reminder.js +3 -6
  1403. package/src/components/icons/resume.d.ts +3 -0
  1404. package/src/components/icons/resume.js +4 -0
  1405. package/src/components/icons/save.js +3 -6
  1406. package/src/components/icons/schedule.js +3 -6
  1407. package/src/components/icons/science.js +3 -6
  1408. package/src/components/icons/settings.js +3 -6
  1409. package/src/components/icons/shortcut.js +3 -6
  1410. package/src/components/icons/show-column.js +3 -6
  1411. package/src/components/icons/smart-edit.js +3 -6
  1412. package/src/components/icons/sort-asc.js +3 -6
  1413. package/src/components/icons/sort-desc.js +3 -6
  1414. package/src/components/icons/spark-line.js +3 -6
  1415. package/src/components/icons/starts-with.js +3 -6
  1416. package/src/components/icons/state-management.js +3 -6
  1417. package/src/components/icons/statusbar.js +3 -6
  1418. package/src/components/icons/stop.js +3 -6
  1419. package/src/components/icons/strikethrough.js +3 -6
  1420. package/src/components/icons/system-status.js +3 -6
  1421. package/src/components/icons/tab-unselected.js +3 -6
  1422. package/src/components/icons/table-arrow-right.js +3 -6
  1423. package/src/components/icons/team-share.js +3 -6
  1424. package/src/components/icons/theme.js +3 -6
  1425. package/src/components/icons/tool-panel.js +3 -6
  1426. package/src/components/icons/track-changes.js +3 -6
  1427. package/src/components/icons/triangle-down.js +3 -6
  1428. package/src/components/icons/triangle-up.js +3 -6
  1429. package/src/components/icons/unchecked.js +3 -6
  1430. package/src/components/icons/underline.js +3 -6
  1431. package/src/components/icons/undo.js +3 -6
  1432. package/src/components/icons/updated-row.js +3 -6
  1433. package/src/components/icons/upload.js +3 -6
  1434. package/src/components/icons/user-filter.js +3 -6
  1435. package/src/components/icons/visibility-off.js +3 -6
  1436. package/src/components/icons/visibility.js +3 -6
  1437. package/src/components/icons/warning.js +3 -6
  1438. package/src/components/utils/batchUpdate.js +3 -5
  1439. package/src/components/utils/captureTabNavigation/getFocusableChildren.js +1 -3
  1440. package/src/components/utils/captureTabNavigation/index.js +3 -6
  1441. package/src/components/utils/contains.js +1 -4
  1442. package/src/components/utils/getAvailableSizeInfo.js +1 -3
  1443. package/src/components/utils/join.js +1 -3
  1444. package/src/components/utils/selectParent/index.js +3 -6
  1445. package/src/components/utils/selectParent/matches.js +1 -2
  1446. package/src/components/utils/useAutoFocus.js +5 -8
  1447. package/src/components/utils/useContainerScrollObserver/index.d.ts +1 -1
  1448. package/src/components/utils/useContainerScrollObserver/index.js +9 -13
  1449. package/src/components/utils/useDraggable.js +7 -10
  1450. package/src/components/utils/useGlobalEvent.js +2 -7
  1451. package/src/components/utils/useLatest.js +4 -8
  1452. package/src/components/utils/usePrevious.js +4 -6
  1453. package/src/components/utils/usePropState.js +3 -6
  1454. package/src/components/utils/useProperty.js +4 -6
  1455. package/src/components/utils/useRerender.js +4 -8
  1456. package/src/components/utils/useSelectionRange.js +5 -9
  1457. package/src/components/utils/useTheme.js +2 -5
  1458. package/src/components/utils/uuid.d.ts +1 -1
  1459. package/src/components/utils/uuid.js +2 -6
  1460. package/src/env.js +1 -3
  1461. package/src/metamodel/adaptable-metamodel-model.d.ts +2 -2
  1462. package/src/metamodel/adaptable-metamodel-model.js +1 -2
  1463. package/src/metamodel/adaptable.metamodel.d.ts +442 -63
  1464. package/src/metamodel/adaptable.metamodel.js +9435 -1
  1465. package/src/parser/src/ExpressionEvaluationError.js +1 -5
  1466. package/src/parser/src/evaluator.js +3 -7
  1467. package/src/parser/src/index.d.ts +1 -0
  1468. package/src/parser/src/index.js +12 -16
  1469. package/src/parser/src/parser.js +528 -1691
  1470. package/src/parser/src/predicate/index.d.ts +2 -0
  1471. package/src/parser/src/predicate/index.js +2 -0
  1472. package/src/parser/src/predicate/mapExpressionToQlPredicate.d.ts +2 -0
  1473. package/src/parser/src/predicate/mapExpressionToQlPredicate.js +88 -0
  1474. package/src/parser/src/predicate/mapQlPredicateToExpression.d.ts +3 -0
  1475. package/src/parser/src/predicate/mapQlPredicateToExpression.js +112 -0
  1476. package/src/parser/src/predicate/types.d.ts +10 -0
  1477. package/src/parser/src/predicate/types.js +1 -0
  1478. package/src/parser/src/tokenizer.js +3 -8
  1479. package/src/parser/src/types.d.ts +26 -9
  1480. package/src/parser/src/types.js +4 -2
  1481. package/src/parser/src/utils.js +3 -9
  1482. package/src/renderReactRoot.d.ts +2 -4
  1483. package/src/renderReactRoot.js +5 -53
  1484. package/src/theme.js +1 -3
  1485. package/src/themes/index.js +4 -7
  1486. package/src/types.d.ts +15 -13
  1487. package/src/types.js +1 -5
  1488. package/themes/dark.css +1 -1
  1489. package/themes/dark.css.map +1 -1
  1490. package/themes/light.css +1 -1
  1491. package/themes/light.css.map +1 -1
  1492. package/tsconfig.esm.tsbuildinfo +1 -0
  1493. package/types.js +1 -4
  1494. package/bundle.cjs.js +0 -706
  1495. package/publishTimestamp.d.ts +0 -2
  1496. package/publishTimestamp.js +0 -3
  1497. package/src/AdaptableOptions/FilterOptions.js +0 -2
  1498. package/src/AdaptableOptions/FinancePluginOptions.d.ts +0 -6
  1499. package/src/AdaptableOptions/FinancePluginOptions.js +0 -2
  1500. package/src/Api/Events/ChexboxColumnClicked.d.ts +0 -24
  1501. package/src/Api/Events/ChexboxColumnClicked.js +0 -2
  1502. package/src/Api/Events/FilterApplied.js +0 -2
  1503. package/src/Api/Events/QueryRun.d.ts +0 -14
  1504. package/src/Api/Events/QueryRun.js +0 -2
  1505. package/src/Api/FilterApi.js +0 -2
  1506. package/src/Api/Implementation/QueryApiImpl.d.ts +0 -21
  1507. package/src/Api/Implementation/QueryApiImpl.js +0 -64
  1508. package/src/Api/QueryApi.d.ts +0 -51
  1509. package/src/Api/QueryApi.js +0 -2
  1510. package/src/PredefinedConfig/ConditionalStyleState.d.ts +0 -41
  1511. package/src/PredefinedConfig/ConditionalStyleState.js +0 -2
  1512. package/src/Strategy/FilterModule.js +0 -151
  1513. package/src/Strategy/QueryModule.js +0 -74
  1514. package/src/Utilities/Interface/ColumnFilterContext.js +0 -2
  1515. package/src/View/Query/EditCurrentQueryButton.d.ts +0 -2
  1516. package/src/View/Query/EditCurrentQueryButton.js +0 -16
  1517. package/src/View/Query/ExpandedQueryPopup.js +0 -56
  1518. package/src/View/Query/QueryViewPanel.d.ts +0 -30
  1519. package/src/View/Query/QueryViewPanel.js +0 -170
  1520. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +0 -37
  1521. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +0 -44
  1522. package/src/View/Query/Wizard/NamedQueryWizard.js +0 -70
  1523. package/version.d.ts +0 -2
  1524. package/version.js +0 -3
  1525. /package/src/View/{Query → NamedQuery}/Wizard/NamedQueryWizard.d.ts +0 -0
@@ -1,26 +1,22 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.scalarExpressionFunctionNames = exports.scalarExpressionFunctions = void 0;
4
- const tslib_1 = require("tslib");
5
- const ExpressionEvaluationError_1 = require("../../parser/src/ExpressionEvaluationError");
6
- const parseISO_1 = tslib_1.__importDefault(require("date-fns/parseISO"));
7
- const startOfDay_1 = tslib_1.__importDefault(require("date-fns/startOfDay"));
8
- const startOfWeek_1 = tslib_1.__importDefault(require("date-fns/startOfWeek"));
9
- const startOfMonth_1 = tslib_1.__importDefault(require("date-fns/startOfMonth"));
10
- const startOfYear_1 = tslib_1.__importDefault(require("date-fns/startOfYear"));
11
- const addDays_1 = tslib_1.__importDefault(require("date-fns/addDays"));
12
- const addWeeks_1 = tslib_1.__importDefault(require("date-fns/addWeeks"));
13
- const addMonths_1 = tslib_1.__importDefault(require("date-fns/addMonths"));
14
- const addYears_1 = tslib_1.__importDefault(require("date-fns/addYears"));
15
- const differenceInDays_1 = tslib_1.__importDefault(require("date-fns/differenceInDays"));
16
- const differenceInWeeks_1 = tslib_1.__importDefault(require("date-fns/differenceInWeeks"));
17
- const differenceInMonths_1 = tslib_1.__importDefault(require("date-fns/differenceInMonths"));
18
- const differenceInYears_1 = tslib_1.__importDefault(require("date-fns/differenceInYears"));
19
- const expressionFunctionUtils_1 = require("./expressionFunctionUtils");
20
- const dateUtils_1 = require("./dateUtils");
21
- const StringExtensions_1 = tslib_1.__importDefault(require("../Extensions/StringExtensions"));
22
- const TypeExtensions_1 = require("../Extensions/TypeExtensions");
23
- const src_1 = require("../../parser/src");
1
+ import { ExpressionEvaluationError } from '../../parser/src/ExpressionEvaluationError';
2
+ import parseISO from 'date-fns/parseISO';
3
+ import startOfDay from 'date-fns/startOfDay';
4
+ import startOfWeek from 'date-fns/startOfWeek';
5
+ import startOfMonth from 'date-fns/startOfMonth';
6
+ import startOfYear from 'date-fns/startOfYear';
7
+ import addDays from 'date-fns/addDays';
8
+ import addWeeks from 'date-fns/addWeeks';
9
+ import addMonths from 'date-fns/addMonths';
10
+ import addYears from 'date-fns/addYears';
11
+ import differenceInDays from 'date-fns/differenceInDays';
12
+ import differenceInWeeks from 'date-fns/differenceInWeeks';
13
+ import differenceInMonths from 'date-fns/differenceInMonths';
14
+ import differenceInYears from 'date-fns/differenceInYears';
15
+ import { evaluateExpressionNode, isTextSearchCaseInsensitive, } from './expressionFunctionUtils';
16
+ import { normalizeDateParams } from './dateUtils';
17
+ import StringExtensions from '../Extensions/StringExtensions';
18
+ import { getTypedKeys } from '../Extensions/TypeExtensions';
19
+ import { evaluate } from '../../parser/src';
24
20
  // useful for unary operators which expect a list of arguments
25
21
  // we extract the provided array elements into a list
26
22
  const flattenArguments = (values) => {
@@ -38,12 +34,12 @@ const sanitizeNumericResult = (value) => {
38
34
  }
39
35
  return value;
40
36
  };
41
- exports.scalarExpressionFunctions = {
37
+ export const scalarExpressionFunctions = {
42
38
  VAR: {
43
39
  handler(args, context) {
44
40
  const [functionName, ...optionalArgs] = args;
45
- if (StringExtensions_1.default.IsNullOrEmpty(functionName)) {
46
- throw new ExpressionEvaluationError_1.ExpressionEvaluationError('VAR', 'should have a name');
41
+ if (StringExtensions.IsNullOrEmpty(functionName)) {
42
+ throw new ExpressionEvaluationError('VAR', 'should have a name');
47
43
  }
48
44
  return context.evaluateCustomQueryVariable(functionName, optionalArgs);
49
45
  },
@@ -59,10 +55,10 @@ exports.scalarExpressionFunctions = {
59
55
  const columnId = args[0];
60
56
  const column = (_a = context.adaptableApi) === null || _a === void 0 ? void 0 : _a.columnApi.getColumnWithColumnId(columnId);
61
57
  if (!column) {
62
- throw new ExpressionEvaluationError_1.ExpressionEvaluationError('COL', `Column name "${columnId}" is not found`);
58
+ throw new ExpressionEvaluationError('COL', `Column name "${columnId}" is not found`);
63
59
  }
64
60
  if (!column.queryable) {
65
- throw new ExpressionEvaluationError_1.ExpressionEvaluationError('COL', `Column name "${columnId}" is not queryable`);
61
+ throw new ExpressionEvaluationError('COL', `Column name "${columnId}" is not queryable`);
66
62
  }
67
63
  return (_b = context.adaptableApi) === null || _b === void 0 ? void 0 : _b.gridApi.getNormalisedValueFromRowNode(context.node, columnId);
68
64
  },
@@ -76,12 +72,12 @@ exports.scalarExpressionFunctions = {
76
72
  handler(args, context) {
77
73
  var _a, _b;
78
74
  const namedQueryName = args[0];
79
- if (StringExtensions_1.default.IsNullOrEmpty(namedQueryName)) {
75
+ if (StringExtensions.IsNullOrEmpty(namedQueryName)) {
80
76
  return false;
81
77
  }
82
- const namedQuery = (_a = context.adaptableApi) === null || _a === void 0 ? void 0 : _a.queryApi.getNamedQueryByName(namedQueryName);
78
+ const namedQuery = (_a = context.adaptableApi) === null || _a === void 0 ? void 0 : _a.namedQueryApi.getNamedQueryByName(namedQueryName);
83
79
  if (!namedQuery) {
84
- throw new ExpressionEvaluationError_1.ExpressionEvaluationError('QUERY', `Named Query with name ${namedQueryName} not found!`);
80
+ throw new ExpressionEvaluationError('QUERY', `Named Query with name ${namedQueryName} not found!`);
85
81
  }
86
82
  // add query to call stack
87
83
  if (!context.namedQueryCallStack) {
@@ -93,9 +89,9 @@ exports.scalarExpressionFunctions = {
93
89
  const lastIndex = context.namedQueryCallStack.lastIndexOf(namedQueryName);
94
90
  if (firstIndex !== lastIndex) {
95
91
  const cycle = context.namedQueryCallStack.slice(firstIndex, lastIndex + 1);
96
- throw new ExpressionEvaluationError_1.ExpressionEvaluationError(`${namedQueryName}`, ` contains a circular reference: ${cycle.join(' -> ')}`);
92
+ throw new ExpressionEvaluationError(`${namedQueryName}`, ` contains a circular reference: ${cycle.join(' -> ')}`);
97
93
  }
98
- const queryEvaluationResult = (0, src_1.evaluate)(namedQuery.BooleanExpression, context);
94
+ const queryEvaluationResult = evaluate(namedQuery.BooleanExpression, context);
99
95
  // remove query name from callstack
100
96
  (_b = context.namedQueryCallStack) === null || _b === void 0 ? void 0 : _b.pop();
101
97
  return queryEvaluationResult;
@@ -144,11 +140,21 @@ exports.scalarExpressionFunctions = {
144
140
  return args[0] === undefined || args[0] === null || args[0] === '';
145
141
  },
146
142
  category: 'special',
147
- description: 'Returns true is input value is undefined, null or an empty string',
143
+ description: 'Returns true if input value is undefined, null, or an empty string',
148
144
  signatures: ['IS_BLANK(input: any)'],
149
145
  examples: ['IS_BLANK([col1])'],
150
146
  returnType: 'boolean',
151
147
  },
148
+ IS_NOT_BLANK: {
149
+ handler(args) {
150
+ return args[0] !== undefined && args[0] !== null && (String)(args[0]).trim() !== '';
151
+ },
152
+ category: 'special',
153
+ description: 'Returns true if input value is not empty',
154
+ signatures: ['IS_NOT_BLANK(input: any)'],
155
+ examples: ['IS_NOT_BLANK([col1])'],
156
+ returnType: 'boolean',
157
+ },
152
158
  ABS: {
153
159
  handler(args) {
154
160
  return sanitizeNumericResult(Math.abs(args[0]));
@@ -308,20 +314,20 @@ exports.scalarExpressionFunctions = {
308
314
  handler([expressionValueNode, whenThenListNodes, defaultValueNode], context) {
309
315
  const caseExpressionValue = expressionValueNode != undefined
310
316
  ? // CASE matches the first WHEN statement with the provided expression value
311
- (0, expressionFunctionUtils_1.evaluateExpressionNode)(expressionValueNode, context)
317
+ evaluateExpressionNode(expressionValueNode, context)
312
318
  : // otherwise it returns the first WHEN statement evaluated to TRUE
313
319
  true;
314
320
  const matchingWhen = whenThenListNodes.find((whenThenStatement) => {
315
- const whenValue = (0, expressionFunctionUtils_1.evaluateExpressionNode)(whenThenStatement.WHEN, context);
321
+ const whenValue = evaluateExpressionNode(whenThenStatement.WHEN, context);
316
322
  return whenValue === caseExpressionValue;
317
323
  });
318
324
  if (!matchingWhen) {
319
325
  if (defaultValueNode) {
320
- return (0, expressionFunctionUtils_1.evaluateExpressionNode)(defaultValueNode, context);
326
+ return evaluateExpressionNode(defaultValueNode, context);
321
327
  }
322
328
  return;
323
329
  }
324
- const matchingThen = (0, expressionFunctionUtils_1.evaluateExpressionNode)(matchingWhen.THEN, context);
330
+ const matchingThen = evaluateExpressionNode(matchingWhen.THEN, context);
325
331
  return matchingThen;
326
332
  },
327
333
  isHiddenFromMenu: true,
@@ -354,7 +360,7 @@ exports.scalarExpressionFunctions = {
354
360
  },
355
361
  DATE: {
356
362
  handler(args) {
357
- return (0, parseISO_1.default)(args[0]);
363
+ return parseISO(args[0]);
358
364
  },
359
365
  description: 'Returns a new date by parsing the given string in ISO 8601 format',
360
366
  signatures: [
@@ -379,7 +385,7 @@ exports.scalarExpressionFunctions = {
379
385
  },
380
386
  TODAY: {
381
387
  handler() {
382
- return (0, startOfDay_1.default)(new Date());
388
+ return startOfDay(new Date());
383
389
  },
384
390
  description: 'Returns the current day',
385
391
  signatures: ['TODAY()'],
@@ -389,7 +395,7 @@ exports.scalarExpressionFunctions = {
389
395
  },
390
396
  DAY: {
391
397
  handler(args) {
392
- return (0, startOfDay_1.default)(args[0]);
398
+ return startOfDay(args[0]);
393
399
  },
394
400
  description: 'Returns the day from a date',
395
401
  signatures: ['DAY(input: date)'],
@@ -399,7 +405,7 @@ exports.scalarExpressionFunctions = {
399
405
  },
400
406
  WEEK: {
401
407
  handler(args) {
402
- return (0, startOfWeek_1.default)(args[0]);
408
+ return startOfWeek(args[0]);
403
409
  },
404
410
  description: 'Returns the week from a date',
405
411
  signatures: ['WEEK(input: date)'],
@@ -409,7 +415,7 @@ exports.scalarExpressionFunctions = {
409
415
  },
410
416
  MONTH: {
411
417
  handler(args) {
412
- return (0, startOfMonth_1.default)(args[0]);
418
+ return startOfMonth(args[0]);
413
419
  },
414
420
  description: 'Returns the month from a date',
415
421
  signatures: ['MONTH(input: date)'],
@@ -419,7 +425,7 @@ exports.scalarExpressionFunctions = {
419
425
  },
420
426
  YEAR: {
421
427
  handler(args) {
422
- return (0, startOfYear_1.default)(args[0]);
428
+ return startOfYear(args[0]);
423
429
  },
424
430
  description: 'Returns the year from a date',
425
431
  signatures: ['YEAR(input: date)'],
@@ -429,7 +435,7 @@ exports.scalarExpressionFunctions = {
429
435
  },
430
436
  ADD_DAYS: {
431
437
  handler(args) {
432
- return (0, addDays_1.default)(args[0], args[1]);
438
+ return addDays(args[0], args[1]);
433
439
  },
434
440
  description: 'Returns a date based on input data and days to add',
435
441
  signatures: ['ADD_DAYS(input: date, days: number)'],
@@ -439,7 +445,7 @@ exports.scalarExpressionFunctions = {
439
445
  },
440
446
  ADD_WEEKS: {
441
447
  handler(args) {
442
- return (0, addWeeks_1.default)(args[0], args[1]);
448
+ return addWeeks(args[0], args[1]);
443
449
  },
444
450
  description: 'Returns a date based on input data and weeks to add',
445
451
  signatures: ['ADD_WEEKS(input: date, weeks: number)'],
@@ -449,7 +455,7 @@ exports.scalarExpressionFunctions = {
449
455
  },
450
456
  ADD_MONTHS: {
451
457
  handler(args) {
452
- return (0, addMonths_1.default)(args[0], args[1]);
458
+ return addMonths(args[0], args[1]);
453
459
  },
454
460
  description: 'Returns a date based on input data and months to add',
455
461
  signatures: ['ADD_MONTHS(input: date, months: number)'],
@@ -459,7 +465,7 @@ exports.scalarExpressionFunctions = {
459
465
  },
460
466
  ADD_YEARS: {
461
467
  handler(args) {
462
- return (0, addYears_1.default)(args[0], args[1]);
468
+ return addYears(args[0], args[1]);
463
469
  },
464
470
  description: 'Returns a date based on input data and years to add',
465
471
  signatures: ['ADD_YEARS(input: date, years: number)'],
@@ -469,8 +475,8 @@ exports.scalarExpressionFunctions = {
469
475
  },
470
476
  DIFF_DAYS: {
471
477
  handler(args) {
472
- const [first, second] = (0, dateUtils_1.normalizeDateParams)(args);
473
- const result = (0, differenceInDays_1.default)(first, second);
478
+ const [first, second] = normalizeDateParams(args);
479
+ const result = differenceInDays(first, second);
474
480
  return sanitizeNumericResult(result);
475
481
  },
476
482
  description: 'Returns the difference in days between 2 dates',
@@ -481,8 +487,8 @@ exports.scalarExpressionFunctions = {
481
487
  },
482
488
  DIFF_WEEKS: {
483
489
  handler(args) {
484
- const [first, second] = (0, dateUtils_1.normalizeDateParams)(args);
485
- const result = (0, differenceInWeeks_1.default)(first, second);
490
+ const [first, second] = normalizeDateParams(args);
491
+ const result = differenceInWeeks(first, second);
486
492
  return sanitizeNumericResult(result);
487
493
  },
488
494
  description: 'Returns the difference in weeks between 2 dates',
@@ -493,8 +499,8 @@ exports.scalarExpressionFunctions = {
493
499
  },
494
500
  DIFF_MONTHS: {
495
501
  handler(args) {
496
- const [first, second] = (0, dateUtils_1.normalizeDateParams)(args);
497
- const result = (0, differenceInMonths_1.default)(first, second);
502
+ const [first, second] = normalizeDateParams(args);
503
+ const result = differenceInMonths(first, second);
498
504
  return sanitizeNumericResult(result);
499
505
  },
500
506
  description: 'Returns the difference in months between 2 dates',
@@ -505,8 +511,8 @@ exports.scalarExpressionFunctions = {
505
511
  },
506
512
  DIFF_YEARS: {
507
513
  handler(args) {
508
- const [first, second] = (0, dateUtils_1.normalizeDateParams)(args);
509
- const result = (0, differenceInYears_1.default)(first, second);
514
+ const [first, second] = normalizeDateParams(args);
515
+ const result = differenceInYears(first, second);
510
516
  return sanitizeNumericResult(result);
511
517
  },
512
518
  description: 'Returns the difference in years between 2 dates',
@@ -557,7 +563,7 @@ exports.scalarExpressionFunctions = {
557
563
  },
558
564
  REPLACE: {
559
565
  handler(args, context) {
560
- if ((0, expressionFunctionUtils_1.isTextSearchCaseInsensitive)(context)) {
566
+ if (isTextSearchCaseInsensitive(context)) {
561
567
  return String(args[0]).replace(new RegExp(args[1], 'ig'), args[2]);
562
568
  }
563
569
  else {
@@ -581,4 +587,4 @@ exports.scalarExpressionFunctions = {
581
587
  returnType: 'string',
582
588
  },
583
589
  };
584
- exports.scalarExpressionFunctionNames = (0, TypeExtensions_1.getTypedKeys)(exports.scalarExpressionFunctions);
590
+ export const scalarExpressionFunctionNames = getTypedKeys(scalarExpressionFunctions);
@@ -1,33 +1,25 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ArrayExtensions = exports.createCommaSeparatedString = exports.groupArrayBy = exports.sortCellValueArrayDates = exports.sortCellValueArrayNumeric = exports.sortCellValueArray = exports.sortArray = exports.sortArrayWithProperty = exports.areArraysEqualWithOrderandProperties = exports.areArraysEqualWithOrder = exports.areArraysNotEqual = exports.areArraysEqual = exports.moveArray = exports.hasItemsOfCount = exports.hasOneItem = exports.HasSingleEmptyValue = exports.IsNotNullOrEmptyNorContainsSingleEmptyValue = exports.IsNullOrEmptyOrContainsSingleEmptyValue = exports.IsNotNullOrEmpty = exports.IsNullOrEmpty = exports.IsNotEmpty = exports.IsEmpty = exports.IsNotNull = exports.IsNull = exports.RetrieveDistinct = exports.NotContainsItem = exports.ContainsAnyItem = exports.ContainsItem = exports.AddItem = exports.NotCorrectLength = exports.CorrectLength = exports.GetLength = void 0;
4
- const Enums_1 = require("../../PredefinedConfig/Common/Enums");
5
- function GetLength(arrayToCheck) {
1
+ import { SortOrder } from '../../PredefinedConfig/Common/Enums';
2
+ export function GetLength(arrayToCheck) {
6
3
  return IsNotNull(arrayToCheck) ? arrayToCheck.length : 0;
7
4
  }
8
- exports.GetLength = GetLength;
9
- function CorrectLength(arrayToCheck, requiredLength) {
5
+ export function CorrectLength(arrayToCheck, requiredLength) {
10
6
  return GetLength(arrayToCheck) == requiredLength;
11
7
  }
12
- exports.CorrectLength = CorrectLength;
13
- function NotCorrectLength(arrayToCheck, requiredLength) {
8
+ export function NotCorrectLength(arrayToCheck, requiredLength) {
14
9
  return !CorrectLength(arrayToCheck, requiredLength);
15
10
  }
16
- exports.NotCorrectLength = NotCorrectLength;
17
- function AddItem(array, itemToAdd) {
11
+ export function AddItem(array, itemToAdd) {
18
12
  if (NotContainsItem(array, itemToAdd)) {
19
13
  array.push(itemToAdd);
20
14
  }
21
15
  }
22
- exports.AddItem = AddItem;
23
- function ContainsItem(array, itemToCheck) {
16
+ export function ContainsItem(array, itemToCheck) {
24
17
  if (array == null) {
25
18
  return false;
26
19
  }
27
20
  return array.indexOf(itemToCheck) > -1;
28
21
  }
29
- exports.ContainsItem = ContainsItem;
30
- function ContainsAnyItem(array, itemsToCheck) {
22
+ export function ContainsAnyItem(array, itemsToCheck) {
31
23
  if (array == null) {
32
24
  return false;
33
25
  }
@@ -41,40 +33,31 @@ function ContainsAnyItem(array, itemsToCheck) {
41
33
  });
42
34
  return foundItem;
43
35
  }
44
- exports.ContainsAnyItem = ContainsAnyItem;
45
- function NotContainsItem(array, itemToCheck) {
36
+ export function NotContainsItem(array, itemToCheck) {
46
37
  return !ContainsItem(array, itemToCheck);
47
38
  }
48
- exports.NotContainsItem = NotContainsItem;
49
- function RetrieveDistinct(array) {
39
+ export function RetrieveDistinct(array) {
50
40
  return Array.from(new Set(array.map((item) => item)));
51
41
  }
52
- exports.RetrieveDistinct = RetrieveDistinct;
53
- function IsNull(arrayToCheck) {
42
+ export function IsNull(arrayToCheck) {
54
43
  return arrayToCheck == null || arrayToCheck == undefined;
55
44
  }
56
- exports.IsNull = IsNull;
57
- function IsNotNull(arrayToCheck) {
45
+ export function IsNotNull(arrayToCheck) {
58
46
  return !IsNull(arrayToCheck);
59
47
  }
60
- exports.IsNotNull = IsNotNull;
61
- function IsEmpty(arrayToCheck) {
48
+ export function IsEmpty(arrayToCheck) {
62
49
  return (arrayToCheck === null || arrayToCheck === void 0 ? void 0 : arrayToCheck.length) == 0;
63
50
  }
64
- exports.IsEmpty = IsEmpty;
65
- function IsNotEmpty(arrayToCheck) {
51
+ export function IsNotEmpty(arrayToCheck) {
66
52
  return !IsEmpty(arrayToCheck);
67
53
  }
68
- exports.IsNotEmpty = IsNotEmpty;
69
- function IsNullOrEmpty(arrayToCheck) {
54
+ export function IsNullOrEmpty(arrayToCheck) {
70
55
  return IsNull(arrayToCheck) || IsEmpty(arrayToCheck);
71
56
  }
72
- exports.IsNullOrEmpty = IsNullOrEmpty;
73
- function IsNotNullOrEmpty(arrayToCheck) {
57
+ export function IsNotNullOrEmpty(arrayToCheck) {
74
58
  return IsNotNull(arrayToCheck) && IsNotEmpty(arrayToCheck);
75
59
  }
76
- exports.IsNotNullOrEmpty = IsNotNullOrEmpty;
77
- function IsNullOrEmptyOrContainsSingleEmptyValue(arrayToCheck) {
60
+ export function IsNullOrEmptyOrContainsSingleEmptyValue(arrayToCheck) {
78
61
  if (IsNullOrEmpty(arrayToCheck)) {
79
62
  return true;
80
63
  }
@@ -83,32 +66,26 @@ function IsNullOrEmptyOrContainsSingleEmptyValue(arrayToCheck) {
83
66
  }
84
67
  return false;
85
68
  }
86
- exports.IsNullOrEmptyOrContainsSingleEmptyValue = IsNullOrEmptyOrContainsSingleEmptyValue;
87
- function IsNotNullOrEmptyNorContainsSingleEmptyValue(arrayToCheck) {
69
+ export function IsNotNullOrEmptyNorContainsSingleEmptyValue(arrayToCheck) {
88
70
  return !IsNullOrEmptyOrContainsSingleEmptyValue(arrayToCheck);
89
71
  }
90
- exports.IsNotNullOrEmptyNorContainsSingleEmptyValue = IsNotNullOrEmptyNorContainsSingleEmptyValue;
91
- function HasSingleEmptyValue(arrayToCheck) {
72
+ export function HasSingleEmptyValue(arrayToCheck) {
92
73
  if (arrayToCheck.length == 1 && arrayToCheck[0] == '') {
93
74
  return true;
94
75
  }
95
76
  return false;
96
77
  }
97
- exports.HasSingleEmptyValue = HasSingleEmptyValue;
98
- function hasOneItem(arrayToCheck) {
78
+ export function hasOneItem(arrayToCheck) {
99
79
  return hasItemsOfCount(arrayToCheck, 1);
100
80
  }
101
- exports.hasOneItem = hasOneItem;
102
- function hasItemsOfCount(arrayToCheck, numberOfItems) {
81
+ export function hasItemsOfCount(arrayToCheck, numberOfItems) {
103
82
  return arrayToCheck.length == numberOfItems;
104
83
  }
105
- exports.hasItemsOfCount = hasItemsOfCount;
106
- function moveArray(array, from, to) {
84
+ export function moveArray(array, from, to) {
107
85
  array.splice(to, 0, array.splice(from, 1)[0]);
108
86
  }
109
- exports.moveArray = moveArray;
110
87
  //This deliberately only checks contents equality and not positional so [1, 2, 3]== [1, 3, 2]
111
- function areArraysEqual(arr1, arr2) {
88
+ export function areArraysEqual(arr1, arr2) {
112
89
  if (IsNullOrEmpty(arr1) && IsNotNullOrEmpty(arr2)) {
113
90
  return false;
114
91
  }
@@ -120,12 +97,10 @@ function areArraysEqual(arr1, arr2) {
120
97
  }
121
98
  return arr1.every((x) => arr2.indexOf(x) != -1);
122
99
  }
123
- exports.areArraysEqual = areArraysEqual;
124
- function areArraysNotEqual(arr1, arr2) {
100
+ export function areArraysNotEqual(arr1, arr2) {
125
101
  return !areArraysEqual(arr1, arr2);
126
102
  }
127
- exports.areArraysNotEqual = areArraysNotEqual;
128
- function areArraysEqualWithOrder(arr1, arr2) {
103
+ export function areArraysEqualWithOrder(arr1, arr2) {
129
104
  if (arr1 == null) {
130
105
  return true;
131
106
  }
@@ -134,8 +109,7 @@ function areArraysEqualWithOrder(arr1, arr2) {
134
109
  }
135
110
  return arr1.every((x, index) => arr2.indexOf(x) == index);
136
111
  }
137
- exports.areArraysEqualWithOrder = areArraysEqualWithOrder;
138
- function areArraysEqualWithOrderandProperties(value, other) {
112
+ export function areArraysEqualWithOrderandProperties(value, other) {
139
113
  const type = Object.prototype.toString.call(value);
140
114
  // If the two objects are not the same type, return false
141
115
  if (type !== Object.prototype.toString.call(other)) {
@@ -201,12 +175,11 @@ function areArraysEqualWithOrderandProperties(value, other) {
201
175
  // If nothing failed, return true
202
176
  return true;
203
177
  }
204
- exports.areArraysEqualWithOrderandProperties = areArraysEqualWithOrderandProperties;
205
- function sortArrayWithProperty(sortOrder, values, sortProperty) {
178
+ export function sortArrayWithProperty(sortOrder, values, sortProperty) {
206
179
  if (sortProperty) {
207
180
  let newValues = [].concat(values);
208
181
  let direction = 1;
209
- if (sortOrder == Enums_1.SortOrder.Desc) {
182
+ if (sortOrder == SortOrder.Desc) {
210
183
  direction = -1;
211
184
  }
212
185
  return newValues.sort((a, b) => {
@@ -228,21 +201,18 @@ function sortArrayWithProperty(sortOrder, values, sortProperty) {
228
201
  return sortArray(values, sortOrder);
229
202
  }
230
203
  }
231
- exports.sortArrayWithProperty = sortArrayWithProperty;
232
- function sortArray(values, sortOrder = Enums_1.SortOrder.Asc) {
204
+ export function sortArray(values, sortOrder = SortOrder.Asc) {
233
205
  const newValues = [].concat(values);
234
- const direction = sortOrder == Enums_1.SortOrder.Asc ? 1 : -1;
206
+ const direction = sortOrder == SortOrder.Asc ? 1 : -1;
235
207
  return newValues.sort((a, b) => (a < b ? -1 * direction : a > b ? 1 * direction : 0));
236
208
  }
237
- exports.sortArray = sortArray;
238
- function sortCellValueArray(cellValues, sortOrder = Enums_1.SortOrder.Asc) {
209
+ export function sortCellValueArray(cellValues, sortOrder = SortOrder.Asc) {
239
210
  const newValues = [].concat(cellValues);
240
- const direction = sortOrder == Enums_1.SortOrder.Asc ? 1 : -1;
211
+ const direction = sortOrder == SortOrder.Asc ? 1 : -1;
241
212
  return newValues.sort((a, b) => a.rawValue < b.rawValue ? -1 * direction : a.rawValue > b.rawValue ? 1 * direction : 0);
242
213
  }
243
- exports.sortCellValueArray = sortCellValueArray;
244
- function sortCellValueArrayNumeric(cellValues, sortOrder = Enums_1.SortOrder.Asc) {
245
- const direction = sortOrder == Enums_1.SortOrder.Asc ? 1 : -1;
214
+ export function sortCellValueArrayNumeric(cellValues, sortOrder = SortOrder.Asc) {
215
+ const direction = sortOrder == SortOrder.Asc ? 1 : -1;
246
216
  const newValues = [].concat(cellValues);
247
217
  return newValues.sort((a, b) => {
248
218
  const valueAAsNumber = Number(a.rawValue);
@@ -260,17 +230,15 @@ function sortCellValueArrayNumeric(cellValues, sortOrder = Enums_1.SortOrder.Asc
260
230
  : 0;
261
231
  });
262
232
  }
263
- exports.sortCellValueArrayNumeric = sortCellValueArrayNumeric;
264
- function sortCellValueArrayDates(cellValues, sortOrder = Enums_1.SortOrder.Asc) {
233
+ export function sortCellValueArrayDates(cellValues, sortOrder = SortOrder.Asc) {
265
234
  cellValues.sort((a, b) => {
266
- return sortOrder == Enums_1.SortOrder.Asc
235
+ return sortOrder == SortOrder.Asc
267
236
  ? +new Date(a.rawValue) - +new Date(b.rawValue)
268
237
  : +new Date(b.rawValue) - +new Date(a.rawValue);
269
238
  });
270
239
  return cellValues;
271
240
  }
272
- exports.sortCellValueArrayDates = sortCellValueArrayDates;
273
- function groupArrayBy(array, prop) {
241
+ export function groupArrayBy(array, prop) {
274
242
  return array.reduce((acc, item) => {
275
243
  let key = item[prop];
276
244
  acc[key] = acc[key] || [];
@@ -278,12 +246,10 @@ function groupArrayBy(array, prop) {
278
246
  return acc;
279
247
  }, {});
280
248
  }
281
- exports.groupArrayBy = groupArrayBy;
282
- function createCommaSeparatedString(values) {
249
+ export function createCommaSeparatedString(values) {
283
250
  return values.join(', ');
284
251
  }
285
- exports.createCommaSeparatedString = createCommaSeparatedString;
286
- exports.ArrayExtensions = {
252
+ export const ArrayExtensions = {
287
253
  GetLength,
288
254
  CorrectLength,
289
255
  NotCorrectLength,
@@ -316,4 +282,4 @@ exports.ArrayExtensions = {
316
282
  sortArrayWithProperty,
317
283
  createCommaSeparatedString,
318
284
  };
319
- exports.default = exports.ArrayExtensions;
285
+ export default ArrayExtensions;
@@ -1,41 +1,34 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EnumExtensions = exports.getCssFontSizeFromFontSizeEnum = exports.getObjValues = exports.getValues = exports.getNames = void 0;
4
- const Enums_1 = require("../../PredefinedConfig/Common/Enums");
1
+ import { FontSize } from '../../PredefinedConfig/Common/Enums';
5
2
  // export function getNamesAndValues<T extends number>(e: any) {
6
3
  // return EnumExtensions.getNames(e).map(n => ({ name: n, value: e[n] as T }));
7
4
  // }
8
- function getNames(e) {
9
- return exports.EnumExtensions.getObjValues(e).filter((v) => typeof v === 'string');
5
+ export function getNames(e) {
6
+ return EnumExtensions.getObjValues(e).filter((v) => typeof v === 'string');
10
7
  }
11
- exports.getNames = getNames;
12
- function getValues(e) {
13
- return exports.EnumExtensions.getObjValues(e).filter((v) => typeof v === 'number');
8
+ export function getValues(e) {
9
+ return EnumExtensions.getObjValues(e).filter((v) => typeof v === 'number');
14
10
  }
15
- exports.getValues = getValues;
16
- function getObjValues(e) {
11
+ export function getObjValues(e) {
17
12
  return Object.keys(e).map((k) => e[k]);
18
13
  }
19
- exports.getObjValues = getObjValues;
20
- function getCssFontSizeFromFontSizeEnum(fontSize) {
14
+ export function getCssFontSizeFromFontSizeEnum(fontSize) {
21
15
  switch (fontSize) {
22
- case Enums_1.FontSize.XLarge:
16
+ case FontSize.XLarge:
23
17
  return 'x-large';
24
- case Enums_1.FontSize.Large:
18
+ case FontSize.Large:
25
19
  return 'large';
26
- case Enums_1.FontSize.Medium:
20
+ case FontSize.Medium:
27
21
  return 'medium';
28
- case Enums_1.FontSize.Small:
22
+ case FontSize.Small:
29
23
  return 'small';
30
- case Enums_1.FontSize.XSmall:
24
+ case FontSize.XSmall:
31
25
  return 'x-small';
32
26
  }
33
27
  }
34
- exports.getCssFontSizeFromFontSizeEnum = getCssFontSizeFromFontSizeEnum;
35
- exports.EnumExtensions = {
28
+ export const EnumExtensions = {
36
29
  getNames,
37
30
  getValues,
38
31
  getObjValues,
39
32
  getCssFontSizeFromFontSizeEnum,
40
33
  };
41
- exports.default = exports.EnumExtensions;
34
+ export default EnumExtensions;
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NumberExtensions = exports.WrapInParentheses = exports.abbreviateNumber = void 0;
4
- function abbreviateNumber(numberToAbbreviate) {
1
+ export function abbreviateNumber(numberToAbbreviate) {
5
2
  let str = '';
6
3
  if (numberToAbbreviate >= 1000000000) {
7
4
  str = (numberToAbbreviate / 1000000000).toFixed(1) + 'B';
@@ -17,13 +14,11 @@ function abbreviateNumber(numberToAbbreviate) {
17
14
  }
18
15
  return str;
19
16
  }
20
- exports.abbreviateNumber = abbreviateNumber;
21
- function WrapInParentheses(numberToWrap) {
17
+ export function WrapInParentheses(numberToWrap) {
22
18
  return ' (' + numberToWrap + ')';
23
19
  }
24
- exports.WrapInParentheses = WrapInParentheses;
25
- exports.NumberExtensions = {
20
+ export const NumberExtensions = {
26
21
  abbreviateNumber,
27
22
  WrapInParentheses,
28
23
  };
29
- exports.default = exports.NumberExtensions;
24
+ export default NumberExtensions;
@@ -9,3 +9,4 @@
9
9
  */
10
10
  export declare function setInPath<T>(obj: any, path: string[], value: any): T;
11
11
  export declare function isObjectEmpty(obj?: any): boolean;
12
+ export declare const deepClone: (obj: any) => any;
@@ -1,6 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isObjectEmpty = exports.setInPath = void 0;
4
1
  /**
5
2
  * Returns a new object with the property updated.
6
3
  * The property is identified by the path.
@@ -10,15 +7,16 @@ exports.isObjectEmpty = exports.setInPath = void 0;
10
7
  * @param value new property value
11
8
  * @returns
12
9
  */
13
- function setInPath(obj, path, value) {
10
+ export function setInPath(obj, path, value) {
14
11
  var _a;
15
12
  if (path.length === 1) {
16
13
  return Object.assign(Object.assign({}, obj), { [path[0]]: value });
17
14
  }
18
15
  return Object.assign(Object.assign({}, obj), { [path[0]]: setInPath((_a = obj === null || obj === void 0 ? void 0 : obj[path[0]]) !== null && _a !== void 0 ? _a : {}, path.slice(1), value) });
19
16
  }
20
- exports.setInPath = setInPath;
21
- function isObjectEmpty(obj) {
17
+ export function isObjectEmpty(obj) {
22
18
  return !obj || Object.keys(obj).length === 0;
23
19
  }
24
- exports.isObjectEmpty = isObjectEmpty;
20
+ export const deepClone = (obj) => {
21
+ return JSON.parse(JSON.stringify(obj));
22
+ };