@adaptabletools/adaptable 18.0.0-canary.9 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (423) hide show
  1. package/base.css +18 -20
  2. package/base.css.map +1 -1
  3. package/index.css +22 -20
  4. package/index.css.map +1 -1
  5. package/package.json +1 -1
  6. package/src/AdaptableInterfaces/IAdaptable.d.ts +5 -6
  7. package/src/AdaptableOptions/ActionColumnOptions.d.ts +3 -2
  8. package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +3 -0
  9. package/src/AdaptableOptions/AdaptableOptions.d.ts +14 -13
  10. package/src/AdaptableOptions/AdaptablePlugin.d.ts +2 -0
  11. package/src/AdaptableOptions/AdaptablePlugin.js +2 -0
  12. package/src/AdaptableOptions/ColumnFilterOptions.d.ts +7 -0
  13. package/src/AdaptableOptions/ColumnMenuOptions.d.ts +94 -0
  14. package/src/AdaptableOptions/ColumnOptions.d.ts +9 -4
  15. package/src/AdaptableOptions/CommentOptions.d.ts +20 -9
  16. package/src/AdaptableOptions/ContextMenuOptions.d.ts +94 -0
  17. package/src/AdaptableOptions/CustomSortOptions.d.ts +2 -2
  18. package/src/AdaptableOptions/DataImportOptions.d.ts +2 -2
  19. package/src/AdaptableOptions/FormatColumnOptions.d.ts +2 -2
  20. package/src/AdaptableOptions/GroupingOptions.d.ts +0 -26
  21. package/src/AdaptableOptions/NoteOptions.d.ts +12 -3
  22. package/src/AdaptableOptions/PredicateOptions.d.ts +2 -2
  23. package/src/AdaptableOptions/QuickSearchOptions.d.ts +1 -1
  24. package/src/AdaptableOptions/StateOptions.d.ts +6 -0
  25. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -2
  26. package/src/Api/AdaptableApi.d.ts +16 -6
  27. package/src/Api/ColumnApi.d.ts +13 -0
  28. package/src/Api/ColumnMenuApi.d.ts +13 -0
  29. package/src/Api/{ScopeApi.d.ts → ColumnScopeApi.d.ts} +28 -28
  30. package/src/Api/CommentApi.d.ts +20 -22
  31. package/src/Api/ConfigApi.d.ts +3 -4
  32. package/src/Api/ContextMenuApi.d.ts +9 -0
  33. package/src/Api/EventApi.d.ts +7 -9
  34. package/src/Api/Events/CommentChanged.d.ts +11 -0
  35. package/src/Api/Events/CommentChanged.js +1 -0
  36. package/src/Api/Events/GridDataChanged.d.ts +1 -1
  37. package/src/Api/FlashingCellApi.d.ts +2 -2
  38. package/src/Api/GridApi.d.ts +32 -4
  39. package/src/Api/Implementation/ActionColumnApiImpl.js +3 -6
  40. package/src/Api/Implementation/ActionRowApiImpl.js +3 -7
  41. package/src/Api/Implementation/AdaptableApiImpl.d.ts +7 -5
  42. package/src/Api/Implementation/AdaptableApiImpl.js +9 -5
  43. package/src/Api/Implementation/AlertApiImpl.js +8 -13
  44. package/src/Api/Implementation/ApiBase.d.ts +6 -4
  45. package/src/Api/Implementation/ApiBase.js +11 -5
  46. package/src/Api/Implementation/CalendarApiImpl.js +1 -6
  47. package/src/Api/Implementation/CellSummaryApiImpl.d.ts +0 -5
  48. package/src/Api/Implementation/CellSummaryApiImpl.js +2 -23
  49. package/src/Api/Implementation/ChartingApiImpl.js +3 -3
  50. package/src/Api/Implementation/ColumnApiImpl.d.ts +5 -0
  51. package/src/Api/Implementation/ColumnApiImpl.js +45 -15
  52. package/src/Api/Implementation/ColumnFilterApiImpl.js +7 -7
  53. package/src/Api/Implementation/ColumnMenuApiImpl.d.ts +8 -0
  54. package/src/Api/Implementation/ColumnMenuApiImpl.js +12 -0
  55. package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +33 -0
  56. package/src/Api/Implementation/{ScopeApiImpl.js → ColumnScopeApiImpl.js} +46 -13
  57. package/src/Api/Implementation/CommentsApiImpl.d.ts +4 -5
  58. package/src/Api/Implementation/CommentsApiImpl.js +6 -6
  59. package/src/Api/Implementation/ConfigApiImpl.d.ts +2 -2
  60. package/src/Api/Implementation/ConfigApiImpl.js +21 -25
  61. package/src/Api/Implementation/ContextMenuApiImpl.d.ts +7 -0
  62. package/src/Api/Implementation/ContextMenuApiImpl.js +9 -0
  63. package/src/Api/Implementation/DashboardApiImpl.js +1 -6
  64. package/src/Api/Implementation/ExportApiImpl.js +5 -10
  65. package/src/Api/Implementation/ExpressionApiImpl.js +14 -19
  66. package/src/Api/Implementation/Fdc3ApiImpl.js +1 -1
  67. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +2 -2
  68. package/src/Api/Implementation/FlashingCellApiImpl.js +3 -8
  69. package/src/Api/Implementation/FormatColumnApiImpl.js +4 -4
  70. package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
  71. package/src/Api/Implementation/GridApiImpl.d.ts +9 -2
  72. package/src/Api/Implementation/GridApiImpl.js +52 -11
  73. package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -7
  74. package/src/Api/Implementation/LayoutApiImpl.js +6 -15
  75. package/src/Api/Implementation/{NotesApiImpl.d.ts → NoteApiImpl.d.ts} +8 -8
  76. package/src/Api/Implementation/{NotesApiImpl.js → NoteApiImpl.js} +12 -12
  77. package/src/Api/Implementation/OptionsApiImpl.d.ts +6 -5
  78. package/src/Api/Implementation/OptionsApiImpl.js +7 -4
  79. package/src/Api/Implementation/PredicateApiImpl.js +2 -2
  80. package/src/Api/Implementation/ScheduleApiImpl.js +6 -6
  81. package/src/Api/Implementation/TeamSharingApiImpl.js +3 -15
  82. package/src/Api/Implementation/ThemeApiImpl.js +2 -7
  83. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +14 -8
  84. package/src/Api/Implementation/UserInterfaceApiImpl.js +32 -27
  85. package/src/Api/Internal/ActionRowInternalApi.d.ts +1 -0
  86. package/src/Api/Internal/ActionRowInternalApi.js +19 -46
  87. package/src/Api/Internal/AdaptableInternalApi.d.ts +3 -4
  88. package/src/Api/Internal/AdaptableInternalApi.js +16 -30
  89. package/src/Api/Internal/AlertInternalApi.d.ts +2 -2
  90. package/src/Api/Internal/AlertInternalApi.js +7 -20
  91. package/src/Api/Internal/CalculatedColumnInternalApi.js +10 -16
  92. package/src/Api/Internal/ChartingInternalApi.js +13 -13
  93. package/src/Api/Internal/ColumnFilterInternalApi.d.ts +1 -0
  94. package/src/Api/Internal/ColumnFilterInternalApi.js +24 -30
  95. package/src/Api/Internal/ColumnInternalApi.d.ts +2 -0
  96. package/src/Api/Internal/ColumnInternalApi.js +7 -1
  97. package/src/Api/Internal/CommentsInternalApi.d.ts +1 -1
  98. package/src/Api/Internal/CommentsInternalApi.js +3 -2
  99. package/src/Api/Internal/CustomSortInternalApi.js +1 -1
  100. package/src/Api/Internal/DashboardInternalApi.js +5 -11
  101. package/src/Api/Internal/DataImportInternalApi.js +3 -9
  102. package/src/Api/Internal/DataSetInternalApi.js +2 -7
  103. package/src/Api/Internal/ExportInternalApi.d.ts +2 -1
  104. package/src/Api/Internal/ExportInternalApi.js +8 -5
  105. package/src/Api/Internal/ExpressionInternalApi.js +3 -13
  106. package/src/Api/Internal/Fdc3InternalApi.js +3 -12
  107. package/src/Api/Internal/FormatColumnInternalApi.d.ts +3 -6
  108. package/src/Api/Internal/FormatColumnInternalApi.js +37 -30
  109. package/src/Api/Internal/FreeTextColumnInternalApi.js +4 -3
  110. package/src/Api/Internal/GridFilterInternalApi.d.ts +5 -0
  111. package/src/Api/Internal/GridFilterInternalApi.js +8 -8
  112. package/src/Api/Internal/GridInternalApi.d.ts +2 -0
  113. package/src/Api/Internal/GridInternalApi.js +28 -40
  114. package/src/Api/Internal/LayoutInternalApi.d.ts +2 -0
  115. package/src/Api/Internal/LayoutInternalApi.js +26 -19
  116. package/src/Api/Internal/NoteInternalApi.d.ts +4 -0
  117. package/src/Api/Internal/{NotesInternalApi.js → NoteInternalApi.js} +4 -3
  118. package/src/Api/Internal/PredicateInternalApi.d.ts +6 -6
  119. package/src/Api/Internal/PredicateInternalApi.js +5 -40
  120. package/src/Api/Internal/ScheduleInternalApi.js +1 -6
  121. package/src/Api/Internal/StyledColumnInternalApi.d.ts +2 -2
  122. package/src/Api/Internal/StyledColumnInternalApi.js +8 -9
  123. package/src/Api/Internal/SystemStatusInternalApi.js +1 -7
  124. package/src/Api/Internal/TeamSharingInternalApi.js +2 -7
  125. package/src/Api/Internal/ThemeInternalApi.js +1 -1
  126. package/src/Api/Internal/UserInterfaceInternalApi.js +1 -1
  127. package/src/Api/LayoutApi.d.ts +9 -12
  128. package/src/Api/NoteApi.d.ts +48 -0
  129. package/src/Api/NoteApi.js +1 -0
  130. package/src/Api/OptionsApi.d.ts +14 -10
  131. package/src/Api/UserInterfaceApi.d.ts +15 -13
  132. package/src/PredefinedConfig/AdaptableState.d.ts +2 -2
  133. package/src/PredefinedConfig/AlertState.d.ts +2 -2
  134. package/src/PredefinedConfig/CommentState.d.ts +27 -23
  135. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  136. package/src/PredefinedConfig/Common/AdaptableObject.d.ts +4 -4
  137. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -2
  138. package/src/PredefinedConfig/Common/CellSummary.d.ts +5 -14
  139. package/src/PredefinedConfig/Common/{AdaptableScope.d.ts → ColumnScope.d.ts} +1 -1
  140. package/src/PredefinedConfig/Common/ColumnScope.js +1 -0
  141. package/src/PredefinedConfig/Common/DataUpdateConfig.d.ts +1 -5
  142. package/src/PredefinedConfig/Common/Enums.d.ts +4 -1
  143. package/src/PredefinedConfig/Common/Enums.js +3 -0
  144. package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +2 -2
  145. package/src/PredefinedConfig/Common/Menu.d.ts +39 -4
  146. package/src/PredefinedConfig/Common/Menu.js +125 -1
  147. package/src/PredefinedConfig/Common/RowScope.d.ts +17 -0
  148. package/src/PredefinedConfig/Common/RowScope.js +1 -0
  149. package/src/PredefinedConfig/Common/RowSummary.d.ts +15 -1
  150. package/src/PredefinedConfig/Common/RowSummary.js +16 -0
  151. package/src/PredefinedConfig/Common/TransposeConfig.d.ts +30 -0
  152. package/src/PredefinedConfig/Common/TransposeConfig.js +1 -0
  153. package/src/PredefinedConfig/Common/Types.d.ts +4 -4
  154. package/src/PredefinedConfig/Common/Types.js +4 -1
  155. package/src/PredefinedConfig/ExportState.d.ts +2 -2
  156. package/src/PredefinedConfig/FlashingCellState.d.ts +2 -2
  157. package/src/PredefinedConfig/FormatColumnState.d.ts +9 -5
  158. package/src/PredefinedConfig/LayoutState.d.ts +2 -2
  159. package/src/PredefinedConfig/{NotesState.d.ts → NoteState.d.ts} +4 -4
  160. package/src/PredefinedConfig/NoteState.js +1 -0
  161. package/src/PredefinedConfig/PlusMinusState.d.ts +2 -2
  162. package/src/PredefinedConfig/PopupState.d.ts +1 -2
  163. package/src/PredefinedConfig/PredefinedConfig.d.ts +2 -2
  164. package/src/PredefinedConfig/Selection/GridCell.d.ts +13 -0
  165. package/src/PredefinedConfig/ShortcutState.d.ts +2 -2
  166. package/src/PredefinedConfig/StyledColumnState.d.ts +5 -5
  167. package/src/PredefinedConfig/SystemState.d.ts +5 -4
  168. package/src/Redux/ActionsReducers/CommentsRedux.d.ts +0 -4
  169. package/src/Redux/ActionsReducers/CommentsRedux.js +0 -34
  170. package/src/Redux/ActionsReducers/LayoutRedux.js +12 -10
  171. package/src/Redux/ActionsReducers/NoteRedux.d.ts +38 -0
  172. package/src/Redux/ActionsReducers/{NotesRedux.js → NoteRedux.js} +24 -24
  173. package/src/Redux/ActionsReducers/PopupRedux.d.ts +5 -13
  174. package/src/Redux/ActionsReducers/PopupRedux.js +0 -19
  175. package/src/Redux/ActionsReducers/SystemRedux.d.ts +11 -5
  176. package/src/Redux/ActionsReducers/SystemRedux.js +12 -9
  177. package/src/Redux/Store/AdaptableStore.js +40 -33
  178. package/src/Strategy/AdaptableModuleBase.d.ts +10 -10
  179. package/src/Strategy/AdaptableModuleBase.js +13 -16
  180. package/src/Strategy/AlertModule.d.ts +3 -2
  181. package/src/Strategy/AlertModule.js +4 -4
  182. package/src/Strategy/BulkUpdateModule.d.ts +3 -2
  183. package/src/Strategy/BulkUpdateModule.js +2 -1
  184. package/src/Strategy/CalculatedColumnModule.d.ts +3 -4
  185. package/src/Strategy/CalculatedColumnModule.js +18 -14
  186. package/src/Strategy/CellSummaryModule.d.ts +9 -9
  187. package/src/Strategy/CellSummaryModule.js +96 -107
  188. package/src/Strategy/ColumnFilterModule.d.ts +3 -3
  189. package/src/Strategy/ColumnFilterModule.js +36 -57
  190. package/src/Strategy/ColumnInfoModule.d.ts +3 -3
  191. package/src/Strategy/ColumnInfoModule.js +6 -4
  192. package/src/Strategy/CommentModule.d.ts +12 -0
  193. package/src/Strategy/CommentModule.js +70 -0
  194. package/src/Strategy/CustomSortModule.d.ts +1 -2
  195. package/src/Strategy/CustomSortModule.js +3 -2
  196. package/src/Strategy/DashboardModule.d.ts +3 -3
  197. package/src/Strategy/DashboardModule.js +11 -21
  198. package/src/Strategy/DataImportModule.d.ts +4 -4
  199. package/src/Strategy/DataImportModule.js +8 -8
  200. package/src/Strategy/ExportModule.d.ts +1 -2
  201. package/src/Strategy/ExportModule.js +58 -44
  202. package/src/Strategy/Fdc3Module.d.ts +1 -1
  203. package/src/Strategy/Fdc3Module.js +3 -13
  204. package/src/Strategy/FlashingCellModule.d.ts +4 -3
  205. package/src/Strategy/FlashingCellModule.js +10 -10
  206. package/src/Strategy/FormatColumnModule.d.ts +1 -1
  207. package/src/Strategy/FormatColumnModule.js +29 -47
  208. package/src/Strategy/FreeTextColumnModule.d.ts +1 -2
  209. package/src/Strategy/FreeTextColumnModule.js +2 -2
  210. package/src/Strategy/GridInfoModule.d.ts +3 -3
  211. package/src/Strategy/GridInfoModule.js +5 -3
  212. package/src/Strategy/Interface/IModule.d.ts +4 -4
  213. package/src/Strategy/LayoutModule.d.ts +4 -10
  214. package/src/Strategy/LayoutModule.js +50 -150
  215. package/src/Strategy/NoteModule.d.ts +10 -0
  216. package/src/Strategy/NoteModule.js +55 -0
  217. package/src/Strategy/PlusMinusModule.d.ts +1 -2
  218. package/src/Strategy/PlusMinusModule.js +5 -5
  219. package/src/Strategy/SettingsPanelModule.d.ts +3 -3
  220. package/src/Strategy/SettingsPanelModule.js +6 -6
  221. package/src/Strategy/ShortcutModule.js +1 -1
  222. package/src/Strategy/SmartEditModule.d.ts +3 -2
  223. package/src/Strategy/SmartEditModule.js +2 -1
  224. package/src/Strategy/StyledColumnModule.d.ts +2 -1
  225. package/src/Strategy/StyledColumnModule.js +42 -22
  226. package/src/Strategy/SystemStatusModule.d.ts +3 -3
  227. package/src/Strategy/SystemStatusModule.js +6 -3
  228. package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +4 -2
  229. package/src/Strategy/Utilities/getScopeViewItems.d.ts +2 -2
  230. package/src/Strategy/Utilities/getScopeViewItems.js +3 -0
  231. package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
  232. package/src/Utilities/Constants/GeneralConstants.js +1 -0
  233. package/src/Utilities/Constants/ModuleConstants.d.ts +6 -6
  234. package/src/Utilities/Constants/ModuleConstants.js +6 -6
  235. package/src/Utilities/Defaults/DefaultSettingsPanel.js +2 -2
  236. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +2 -2
  237. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +143 -7
  238. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -3
  239. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
  240. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +15 -0
  241. package/src/Utilities/Helpers/AdaptableHelper.d.ts +3 -1
  242. package/src/Utilities/Helpers/AdaptableHelper.js +19 -0
  243. package/src/Utilities/Interface/MessagePopups.d.ts +0 -3
  244. package/src/Utilities/MenuItem.d.ts +10 -7
  245. package/src/Utilities/MenuItem.js +6 -3
  246. package/src/Utilities/ObjectFactory.d.ts +3 -3
  247. package/src/Utilities/ObjectFactory.js +7 -25
  248. package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -0
  249. package/src/Utilities/Services/AggregatedScalarLiveValue.js +12 -10
  250. package/src/Utilities/Services/CellPopupService.js +4 -4
  251. package/src/Utilities/Services/Interface/IReportService.d.ts +1 -4
  252. package/src/Utilities/Services/LicenseService/index.js +1 -193
  253. package/src/Utilities/Services/ModuleService.js +6 -2
  254. package/src/Utilities/Services/QueryLanguageService.js +2 -2
  255. package/src/Utilities/Services/ReportService.d.ts +7 -5
  256. package/src/Utilities/Services/ReportService.js +245 -26
  257. package/src/Utilities/Services/RowSummaryService.d.ts +26 -0
  258. package/src/Utilities/Services/RowSummaryService.js +155 -0
  259. package/src/Utilities/Services/ValidationService.js +2 -2
  260. package/src/Utilities/adaptableQlUtils.d.ts +2 -0
  261. package/src/Utilities/adaptableQlUtils.js +14 -0
  262. package/src/Utilities/license/decode.js +1 -65
  263. package/src/Utilities/license/hashing.js +1 -43
  264. package/src/View/AdaptableViewFactory.js +2 -2
  265. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +1 -1
  266. package/src/View/Alert/AlertEntityRow.js +1 -1
  267. package/src/View/Alert/Utilities/getAvailablePredicates.d.ts +2 -2
  268. package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +1 -1
  269. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -2
  270. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +1 -1
  271. package/src/View/BulkUpdate/BulkUpdatePopup.js +2 -2
  272. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.d.ts +1 -1
  273. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +3 -3
  274. package/src/View/ColumnInfo/ColumnInfo.js +1 -1
  275. package/src/View/Comments/CommentsEditor.js +28 -17
  276. package/src/View/Comments/CommentsPopup.js +15 -7
  277. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  278. package/src/View/Components/AdaptableInput/AdaptableDateInlineInput.d.ts +5 -0
  279. package/src/View/Components/AdaptableInput/AdaptableDateInlineInput.js +42 -0
  280. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +5 -2
  281. package/src/View/Components/CellPopup/index.d.ts +1 -0
  282. package/src/View/Components/CellPopup/index.js +6 -3
  283. package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.d.ts +3 -3
  284. package/src/View/Components/EntityRulesEditor/index.d.ts +3 -3
  285. package/src/View/Components/FilterForm/FilterForm.js +20 -12
  286. package/src/View/Components/FilterForm/QuickFilterForm.js +15 -8
  287. package/src/View/Components/FilterForm/QuickFilterValues.js +39 -23
  288. package/src/View/Components/NewScopeComponent.d.ts +5 -5
  289. package/src/View/Components/NewScopeComponent.js +6 -4
  290. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +4 -1
  291. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +10 -1
  292. package/src/View/Components/Popups/GridCellPopup/GridCellPopup.js +7 -10
  293. package/src/View/Components/RangesComponent.d.ts +2 -2
  294. package/src/View/Components/RangesComponent.js +1 -1
  295. package/src/View/Components/Selectors/PermittedValuesSelector.js +1 -1
  296. package/src/View/Components/SharedProps/WizardScopeState.d.ts +2 -2
  297. package/src/View/Components/ValueSelector/index.d.ts +1 -0
  298. package/src/View/Components/ValueSelector/index.js +2 -2
  299. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +1 -1
  300. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +4 -2
  301. package/src/View/DataImport/DataImportWizard/DataImportWizard.js +1 -1
  302. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +2 -2
  303. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +20 -7
  304. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +1 -1
  305. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +1 -1
  306. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +27 -12
  307. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +1 -1
  308. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -1
  309. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +3 -1
  310. package/src/View/GridFilter/GridFilterViewPanel.js +3 -3
  311. package/src/View/GridFilter/useGridFilterExpressionEditor.js +1 -1
  312. package/src/View/Layout/LayoutViewPanel.js +2 -1
  313. package/src/View/Layout/TransposedPopup.js +20 -19
  314. package/src/View/Layout/Wizard/LayoutWizard.js +38 -3
  315. package/src/View/Layout/Wizard/sections/ColumnsSection.js +1 -1
  316. package/src/View/Layout/Wizard/sections/FilterSection.js +1 -1
  317. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +18 -2
  318. package/src/View/Layout/Wizard/sections/RowSummarySection.d.ts +9 -0
  319. package/src/View/Layout/Wizard/sections/RowSummarySection.js +174 -0
  320. package/src/View/License/LicenseWatermark.js +1 -61
  321. package/src/View/Note/NotePopup.d.ts +2 -0
  322. package/src/View/{Notes/NotesPopup.js → Note/NotePopup.js} +14 -9
  323. package/src/View/PlusMinus/PlusMinusSummary.js +2 -2
  324. package/src/View/SmartEdit/SmartEditPopup.js +1 -1
  325. package/src/View/SpecialColumnSettingsWizardStep.js +4 -4
  326. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +5 -7
  327. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +1 -1
  328. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +1 -1
  329. package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +38 -14
  330. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +1 -1
  331. package/src/agGrid/ActionColumnRenderer.js +40 -4
  332. package/src/agGrid/AdaptableAgGrid.d.ts +11 -16
  333. package/src/agGrid/AdaptableAgGrid.js +230 -250
  334. package/src/agGrid/AgGridAdapter.d.ts +4 -2
  335. package/src/agGrid/AgGridAdapter.js +12 -0
  336. package/src/agGrid/AgGridColumnAdapter.d.ts +1 -3
  337. package/src/agGrid/AgGridColumnAdapter.js +42 -71
  338. package/src/agGrid/AgGridMenuAdapter.d.ts +25 -8
  339. package/src/agGrid/AgGridMenuAdapter.js +405 -74
  340. package/src/agGrid/AgGridOptionsService.d.ts +4 -1
  341. package/src/agGrid/AgGridOptionsService.js +22 -0
  342. package/src/agGrid/BadgeRenderer.d.ts +2 -2
  343. package/src/agGrid/BadgeRenderer.js +24 -11
  344. package/src/agGrid/PercentBarRenderer.js +2 -1
  345. package/src/agGrid/buildSortedColumnStateForLayout.d.ts +7 -0
  346. package/src/agGrid/buildSortedColumnStateForLayout.js +120 -0
  347. package/src/agGrid/defaultAdaptableOptions.js +7 -12
  348. package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +1 -1
  349. package/src/agGrid/editors/AdaptableDateEditor/index.js +1 -1
  350. package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +2 -2
  351. package/src/agGrid/sortColumnStateForVisibleColumns.d.ts +12 -0
  352. package/src/agGrid/sortColumnStateForVisibleColumns.js +46 -0
  353. package/src/agGrid/weightedAverage.d.ts +0 -2
  354. package/src/agGrid/weightedAverage.js +0 -54
  355. package/src/components/Accordion.d.ts +7 -0
  356. package/src/components/Accordion.js +36 -0
  357. package/src/components/CheckBox/index.js +1 -1
  358. package/src/components/Datepicker/index.js +10 -2
  359. package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +2 -1
  360. package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +0 -1
  361. package/src/components/ExpressionEditor/QueryBuilder/utils.js +1 -14
  362. package/src/components/Input/index.d.ts +1 -2
  363. package/src/components/ProgressIndicator/ProgressIndicator.js +15 -6
  364. package/src/components/Select/Select.d.ts +1 -1
  365. package/src/components/Select/Select.js +3 -1
  366. package/src/components/Textarea/index.d.ts +2 -2
  367. package/src/components/icons/collapse-all.d.ts +3 -0
  368. package/src/components/icons/collapse-all.js +4 -0
  369. package/src/components/icons/copy.d.ts +3 -0
  370. package/src/components/icons/copy.js +4 -0
  371. package/src/components/icons/csv.d.ts +3 -0
  372. package/src/components/icons/csv.js +4 -0
  373. package/src/components/icons/data-object.d.ts +3 -0
  374. package/src/components/icons/data-object.js +4 -0
  375. package/src/components/icons/excel.d.ts +3 -0
  376. package/src/components/icons/excel.js +5 -0
  377. package/src/components/icons/expand-all.d.ts +3 -0
  378. package/src/components/icons/expand-all.js +4 -0
  379. package/src/components/icons/filter-off.d.ts +3 -0
  380. package/src/components/icons/filter-off.js +4 -0
  381. package/src/components/icons/grid-info.d.ts +3 -0
  382. package/src/components/icons/grid-info.js +4 -0
  383. package/src/components/icons/index.js +22 -0
  384. package/src/components/icons/note.js +2 -2
  385. package/src/components/icons/select-all.d.ts +3 -0
  386. package/src/components/icons/select-all.js +4 -0
  387. package/src/components/icons/select-fwd.d.ts +3 -0
  388. package/src/components/icons/select-fwd.js +4 -0
  389. package/src/components/icons/select-off.d.ts +3 -0
  390. package/src/components/icons/select-off.js +4 -0
  391. package/src/env.js +2 -2
  392. package/src/metamodel/adaptable.metamodel.d.ts +222 -116
  393. package/src/metamodel/adaptable.metamodel.js +1 -9426
  394. package/src/parser/src/parser.js +576 -553
  395. package/src/parser/src/predicate/mapExpressionToQlPredicate.js +1 -1
  396. package/src/parser/src/predicate/mapQlPredicateToExpression.js +3 -4
  397. package/src/parser/src/types.d.ts +2 -2
  398. package/src/parser/src/types.js +1 -2
  399. package/src/types.d.ts +32 -25
  400. package/tsconfig.esm.tsbuildinfo +1 -1
  401. package/src/AdaptableOptions/MenuOptions.d.ts +0 -234
  402. package/src/AdaptableOptions/MenuOptions.js +0 -95
  403. package/src/Api/Events/CommentsChangedInfo.d.ts +0 -5
  404. package/src/Api/Implementation/ScopeApiImpl.d.ts +0 -33
  405. package/src/Api/Internal/NotesInternalApi.d.ts +0 -4
  406. package/src/Api/NotesApi.d.ts +0 -48
  407. package/src/PredefinedConfig/CellAddress.d.ts +0 -13
  408. package/src/PredefinedConfig/CellAddress.js +0 -4
  409. package/src/Redux/ActionsReducers/NotesRedux.d.ts +0 -38
  410. package/src/Strategy/CommentsModule.d.ts +0 -17
  411. package/src/Strategy/CommentsModule.js +0 -81
  412. package/src/Strategy/NotesModule.d.ts +0 -10
  413. package/src/Strategy/NotesModule.js +0 -56
  414. package/src/Utilities/Services/SummaryService.d.ts +0 -19
  415. package/src/Utilities/Services/SummaryService.js +0 -29
  416. package/src/View/Notes/NotesPopup.d.ts +0 -2
  417. /package/src/{Api/Events/CommentsChangedInfo.js → AdaptableOptions/ColumnMenuOptions.js} +0 -0
  418. /package/src/{Api/NotesApi.js → AdaptableOptions/ContextMenuOptions.js} +0 -0
  419. /package/src/Api/{ScopeApi.js → ColumnMenuApi.js} +0 -0
  420. /package/src/{PredefinedConfig/Common/AdaptableScope.js → Api/ColumnScopeApi.js} +0 -0
  421. /package/src/{PredefinedConfig/NotesState.js → Api/ContextMenuApi.js} +0 -0
  422. /package/src/View/{Notes → Note}/NoteEditor.d.ts +0 -0
  423. /package/src/View/{Notes → Note}/NoteEditor.js +0 -0
@@ -15,8 +15,8 @@ export class StyledColumnModule extends AdaptableModuleBase {
15
15
  return this.api.styledColumnApi.getStyledColumns(config);
16
16
  }
17
17
  getExplicitlyReferencedColumnIds(formatColumn) {
18
- if (this.api.scopeApi.scopeHasColumns(formatColumn.Scope)) {
19
- return this.api.scopeApi
18
+ if (this.api.columnScopeApi.scopeHasColumns(formatColumn.Scope)) {
19
+ return this.api.columnScopeApi
20
20
  .getColumnsForScope(formatColumn.Scope)
21
21
  .map((adaptableColumn) => adaptableColumn.columnId);
22
22
  }
@@ -25,7 +25,7 @@ export class StyledColumnModule extends AdaptableModuleBase {
25
25
  hasNamedQueryReferences() {
26
26
  return false;
27
27
  }
28
- addColumnMenuItems(column) {
28
+ createColumnMenuItems(column) {
29
29
  let returnColumnMenuItems = [];
30
30
  // Need a Column and an editable Module
31
31
  if (column && this.isModuleEditable()) {
@@ -45,6 +45,9 @@ export class StyledColumnModule extends AdaptableModuleBase {
45
45
  styledColumn = Object.assign(Object.assign({}, ObjectFactory.CreateEmptyStyledColumn()), { ColumnId: column.columnId, SparkLineStyle: {} });
46
46
  }
47
47
  let label = hasSparklineStyle ? 'Edit ' : 'Create ';
48
+ let name = hasSparklineStyle
49
+ ? 'styled-column-sparkline-edit'
50
+ : 'styled-column-sparkline-add';
48
51
  let popupParam = {
49
52
  action: sparklineColumnExists ? 'Edit' : 'New',
50
53
  source: 'ColumnMenu',
@@ -53,7 +56,7 @@ export class StyledColumnModule extends AdaptableModuleBase {
53
56
  defaultCurrentSectionName: 'Settings',
54
57
  },
55
58
  };
56
- returnColumnMenuItems.push(this.createColumnMenuItemShowPopup(label + 'Sparkline Column', this.moduleInfo.Popup, this.getGlyphForStyledColumn(styledColumn), popupParam));
59
+ returnColumnMenuItems.push(this.createMenuItemShowPopup(name, label + 'Sparkline Column', this.moduleInfo.Popup, this.getGlyphForStyledColumn(styledColumn), popupParam));
57
60
  }
58
61
  }
59
62
  // Next do non sparkline
@@ -77,8 +80,10 @@ export class StyledColumnModule extends AdaptableModuleBase {
77
80
  },
78
81
  };
79
82
  const icon = this.getGlyphForStyledColumn(styledColumn);
80
- const label = `Edit ${this.getTypeLabel(styledColumn)} Style`;
81
- returnColumnMenuItems.push(this.createColumnMenuItemShowPopup(label, this.moduleInfo.Popup, icon, popupParam));
83
+ const typeLabel = this.getTypeLabel(styledColumn);
84
+ const label = `Edit ${typeLabel}`;
85
+ const name = this.getTypeName(styledColumn);
86
+ returnColumnMenuItems.push(this.createMenuItemShowPopup(name, label, this.moduleInfo.Popup, icon, popupParam));
82
87
  }
83
88
  }
84
89
  else {
@@ -89,8 +94,8 @@ export class StyledColumnModule extends AdaptableModuleBase {
89
94
  value: newStyledColumn,
90
95
  config: {},
91
96
  };
92
- const badgeLabel = column.dataType === 'Number' ? 'Badge' : 'Create Badge Style';
93
- const newBadgeButton = this.createColumnMenuItemShowPopup(badgeLabel, this.moduleInfo.Popup, 'badge', Object.assign(Object.assign({}, popupParam), { value: Object.assign(Object.assign({}, newStyledColumn), { BadgeStyle: {
97
+ const badgeLabel = 'Create Badge Style';
98
+ const newBadgeButton = this.createMenuItemShowPopup('styled-column-badge-add', badgeLabel, this.moduleInfo.Popup, 'badge', Object.assign(Object.assign({}, popupParam), { value: Object.assign(Object.assign({}, newStyledColumn), { BadgeStyle: {
94
99
  Badges: [ObjectFactory.CreateDefaultStyledColumnBadge()],
95
100
  } }), config: {
96
101
  defaultCurrentSectionName: 'Badges',
@@ -99,26 +104,20 @@ export class StyledColumnModule extends AdaptableModuleBase {
99
104
  // Number
100
105
  // Create Styled Column - Gradient | Percent Bar | Badge
101
106
  case 'Number':
102
- const emptyRanges = this.api.scopeApi.createCellColorRangesForScope({
107
+ const emptyRanges = this.api.columnScopeApi.createCellColorRangesForScope({
103
108
  ColumnIds: [column.columnId],
104
109
  });
105
- const newGrandientButton = this.createColumnMenuItemShowPopup('Gradient', this.moduleInfo.Popup, 'gradient', Object.assign(Object.assign({}, popupParam), { value: Object.assign(Object.assign({}, newStyledColumn), { GradientStyle: {
110
+ const newGrandientButton = this.createMenuItemShowPopup('styled-column-gradient-add', 'Create Gradient Column', this.moduleInfo.Popup, 'gradient', Object.assign(Object.assign({}, popupParam), { value: Object.assign(Object.assign({}, newStyledColumn), { GradientStyle: {
106
111
  CellRanges: emptyRanges,
107
112
  } }), config: {
108
113
  defaultCurrentSectionName: 'Style',
109
114
  } }));
110
- const newPrecentBarButton = this.createColumnMenuItemShowPopup('Percent Bar', this.moduleInfo.Popup, 'percent', Object.assign(Object.assign({}, popupParam), { value: Object.assign(Object.assign({}, newStyledColumn), { PercentBarStyle: {
115
+ const newPercentBarButton = this.createMenuItemShowPopup('styled-column-percent-bar-add', 'Create Percent Bar', this.moduleInfo.Popup, 'percent', Object.assign(Object.assign({}, popupParam), { value: Object.assign(Object.assign({}, newStyledColumn), { PercentBarStyle: {
111
116
  CellRanges: emptyRanges,
112
117
  } }), config: {
113
118
  defaultCurrentSectionName: 'Style',
114
119
  } }));
115
- returnColumnMenuItems.push({
116
- label: 'Create Styled Column',
117
- module: this.moduleInfo.ModuleName,
118
- isVisible: true,
119
- icon: { name: this.moduleInfo.Glyph },
120
- subItems: [newGrandientButton, newPrecentBarButton, newBadgeButton],
121
- });
120
+ returnColumnMenuItems.push(...[newGrandientButton, newPercentBarButton, newBadgeButton]);
122
121
  break;
123
122
  case 'String':
124
123
  returnColumnMenuItems.push(newBadgeButton);
@@ -155,6 +154,7 @@ export class StyledColumnModule extends AdaptableModuleBase {
155
154
  };
156
155
  }
157
156
  toView(styledColumn) {
157
+ var _a, _b, _c, _d, _e, _f;
158
158
  const specificTypeItems = [];
159
159
  if (styledColumn.GradientStyle || styledColumn.PercentBarStyle) {
160
160
  specificTypeItems.push({
@@ -164,10 +164,14 @@ export class StyledColumnModule extends AdaptableModuleBase {
164
164
  },
165
165
  });
166
166
  }
167
- if (!styledColumn.BadgeStyle) {
167
+ if (styledColumn.BadgeStyle) {
168
168
  specificTypeItems.push({
169
169
  name: 'Settings',
170
- values: [`Include grouped rows: ${styledColumn.IncludeGroupedRows ? 'Yes' : 'No'}`],
170
+ values: [
171
+ `Data Rows: ${((_b = (_a = styledColumn.BadgeStyle) === null || _a === void 0 ? void 0 : _a.RowScope) === null || _b === void 0 ? void 0 : _b.ExcludeDataRows) ? 'No' : 'Yes'}`,
172
+ `Group Rows: ${((_d = (_c = styledColumn.BadgeStyle) === null || _c === void 0 ? void 0 : _c.RowScope) === null || _d === void 0 ? void 0 : _d.ExcludeGroupRows) ? 'No' : 'Yes'}`,
173
+ `Summary Rows: ${((_f = (_e = styledColumn.BadgeStyle) === null || _e === void 0 ? void 0 : _e.RowScope) === null || _f === void 0 ? void 0 : _f.ExcludeSummaryRows) ? 'No' : 'Yes'}`,
174
+ ],
171
175
  });
172
176
  }
173
177
  if (styledColumn.BadgeStyle) {
@@ -217,7 +221,7 @@ export class StyledColumnModule extends AdaptableModuleBase {
217
221
  getTypeLabel(styledColumn) {
218
222
  let type = null;
219
223
  if (styledColumn.GradientStyle) {
220
- type = 'Gradient';
224
+ type = 'Gradient Column';
221
225
  }
222
226
  else if (styledColumn.PercentBarStyle) {
223
227
  type = 'Percent Bar';
@@ -226,7 +230,23 @@ export class StyledColumnModule extends AdaptableModuleBase {
226
230
  type = 'Spark Line';
227
231
  }
228
232
  else if (styledColumn.BadgeStyle) {
229
- type = 'Badge';
233
+ type = 'Badge Style';
234
+ }
235
+ return type;
236
+ }
237
+ getTypeName(styledColumn) {
238
+ let type = null;
239
+ if (styledColumn.GradientStyle) {
240
+ type = 'styled-column-gradient-edit';
241
+ }
242
+ else if (styledColumn.PercentBarStyle) {
243
+ type = 'styled-column-percent-bar-edit';
244
+ }
245
+ else if (styledColumn.SparkLineStyle) {
246
+ type = 'styled-column-sparkline-edit';
247
+ }
248
+ else if (styledColumn.BadgeStyle) {
249
+ type = 'styled-column-badge-edit';
230
250
  }
231
251
  return type;
232
252
  }
@@ -1,11 +1,11 @@
1
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
2
- import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
2
+ import { ContextMenuContext } from '../PredefinedConfig/Common/Menu';
3
3
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
4
4
  import { AdaptableModuleView, IModule } from './Interface/IModule';
5
5
  import { AdaptableApi } from '../Api/AdaptableApi';
6
6
  export declare class SystemStatusModule extends AdaptableModuleBase implements IModule {
7
7
  constructor(api: AdaptableApi);
8
- addColumnMenuItems(column: AdaptableColumn): AdaptableMenuItem[] | undefined;
9
- addContextMenuItems(menuContext: ContextMenuContext): AdaptableMenuItem[] | undefined;
8
+ createColumnMenuItems(column: AdaptableColumn): import("../Utilities/MenuItem").MenuItemShowPopup<"calculated-column-edit" | "cell-summary-show" | "column-group" | "column-filter-group" | "column-filter-bar-hide" | "column-filter-bar-show" | "column-filter-clear" | "column-filter-suspend" | "column-filter-unsuspend" | "column-info-show" | "custom-sort-add" | "custom-sort-edit" | "dashboard-group" | "dashboard-collapse" | "dashboard-configure" | "dashboard-dock" | "dashboard-expand" | "dashboard-float" | "dashboard-hide" | "dashboard-show" | "data-import" | "flashing-cell-add" | "flashing-cell-delete" | "format-column-add" | "format-column-edit" | "free-text-column-edit" | "grid-group" | "grid-info-show" | "layout-column-caption-change" | "layout-column-hide" | "layout-edit" | "layout-column-select" | "layout-column-select-preserve" | "layout-column-select-reset" | "layout-grid-select" | "plus-minus-add" | "settings-panel-open" | "styling-group" | "styled-column-badge-add" | "styled-column-badge-edit" | "styled-column-gradient-add" | "styled-column-gradient-edit" | "styled-column-percent-bar-add" | "styled-column-percent-bar-edit" | "styled-column-sparkline-add" | "styled-column-sparkline-edit" | "system-status-show" | "_navbar">[];
9
+ createContextMenuItems(menuContext: ContextMenuContext): import("../Utilities/MenuItem").MenuItemShowPopup<"calculated-column-edit" | "cell-summary-show" | "column-group" | "column-filter-group" | "column-filter-clear" | "column-filter-suspend" | "column-filter-unsuspend" | "column-info-show" | "dashboard-group" | "dashboard-collapse" | "dashboard-configure" | "dashboard-dock" | "dashboard-expand" | "dashboard-float" | "dashboard-hide" | "dashboard-show" | "data-import" | "grid-group" | "grid-info-show" | "layout-edit" | "settings-panel-open" | "system-status-show" | "menu-group" | "alert-clear" | "bulk-update-apply" | "column-filter-on-cell-value" | "comment-add" | "comment-remove" | "edit-group" | "export-group" | "export-visual-data" | "export-visual-data-excel" | "export-all-data-excel" | "export-all-data" | "export-all-data-csv" | "export-all-data-clipboard" | "export-all-data-json" | "export-all-data-table" | "export-current-data" | "export-current-data-excel" | "export-current-data-csv" | "export-current-data-clipboard" | "export-current-data-json" | "export-current-data-table" | "export-selected-cells" | "export-selected-cells-excel" | "export-selected-cells-csv" | "export-selected-cells-clipboard" | "export-selected-cells-json" | "export-selected-cells-table" | "export-selected-rows" | "export-selected-rows-excel" | "export-selected-rows-csv" | "export-selected-rows-clipboard" | "export-selected-rows-json" | "export-selected-rows-table" | "fdc3-broadcast" | "fdc3-raise-intent" | "flashing-cell-clear" | "flashing-row-clear" | "layout-aggregated-view" | "layout-auto-size" | "layout-clear-selection" | "layout-select-all" | "note-add" | "note-remove" | "smart-edit-apply">[];
10
10
  getViewProperties(): AdaptableModuleView;
11
11
  }
@@ -5,20 +5,23 @@ export class SystemStatusModule extends AdaptableModuleBase {
5
5
  constructor(api) {
6
6
  super(ModuleConstants.SystemStatusModuleId, ModuleConstants.SystemStatusFriendlyName, 'traffic-lights', 'SystemStatusPopup', 'Provide messages about the Status of your application', api);
7
7
  }
8
- addColumnMenuItems(column) {
8
+ createColumnMenuItems(column) {
9
9
  if (this.isModuleAvailable()) {
10
10
  return [
11
- this.createColumnMenuItemShowPopup('Show System Status', this.moduleInfo.Popup, this.moduleInfo.Glyph),
11
+ this.createMenuItemShowPopup('system-status-show', 'Show System Status', this.moduleInfo.Popup, this.moduleInfo.Glyph, {
12
+ source: 'ColumnMenu',
13
+ }),
12
14
  ];
13
15
  }
14
16
  }
15
- addContextMenuItems(menuContext) {
17
+ createContextMenuItems(menuContext) {
16
18
  if (this.isModuleAvailable()) {
17
19
  let popUpParams = {
18
20
  source: 'ContextMenu',
19
21
  };
20
22
  return [
21
23
  this.createMainMenuItemShowPopup({
24
+ Name: 'system-status-show',
22
25
  Label: 'Show System Status',
23
26
  ComponentName: this.moduleInfo.Popup,
24
27
  Icon: this.moduleInfo.Glyph,
@@ -1,8 +1,10 @@
1
1
  export const getFormatColumnSettingsViewItems = (formatColumn) => {
2
- var _a;
2
+ var _a, _b, _c, _d;
3
3
  const values = [
4
4
  `Cell alignment: ${(_a = formatColumn.CellAlignment) !== null && _a !== void 0 ? _a : 'default'}`,
5
- `Include grouped rows: ${formatColumn.IncludeGroupedRows ? 'Yes' : 'No'}`,
5
+ `Data Rows: ${((_b = formatColumn.RowScope) === null || _b === void 0 ? void 0 : _b.ExcludeDataRows) ? 'Yes' : 'No'}`,
6
+ `Group Rows: ${((_c = formatColumn.RowScope) === null || _c === void 0 ? void 0 : _c.ExcludeGroupRows) ? 'Yes' : 'No'}`,
7
+ `Row Summaries: ${((_d = formatColumn.RowScope) === null || _d === void 0 ? void 0 : _d.ExcludeSummaryRows) ? 'Yes' : 'No'}`,
6
8
  ].filter(Boolean);
7
9
  return {
8
10
  name: 'Settings',
@@ -1,3 +1,3 @@
1
- import { AdaptableApi, AdaptableScope } from '../../../types';
1
+ import { AdaptableApi, ColumnScope } from '../../../types';
2
2
  import { AdaptableObjectItemView } from '../Interface/IModule';
3
- export declare const getScopeViewItems: (scope: AdaptableScope, api: AdaptableApi) => AdaptableObjectItemView;
3
+ export declare const getScopeViewItems: (scope: ColumnScope, api: AdaptableApi) => AdaptableObjectItemView;
@@ -10,6 +10,9 @@ export const getScopeViewItems = (scope, api) => {
10
10
  if ('All' in scope) {
11
11
  values = ['All Columns'];
12
12
  }
13
+ if ('ColumnTypes' in scope) {
14
+ values = scope.ColumnTypes;
15
+ }
13
16
  return {
14
17
  label: 'Target',
15
18
  name: 'Target',
@@ -35,6 +35,7 @@ export declare const ADAPTABLE_ROW_ACTION_BUTTONS = "adaptableRowActionButtons";
35
35
  export declare const ADAPTABLE_ROW_ACTION_BUTTONS_FRIENDLY_NAME = "(ActionRowButtons)";
36
36
  export declare const ADAPTABLE_FDC3_ACTION_COLUMN_FRIENDLY_NAME = "(FDC3ActionColumn)";
37
37
  export declare const DEFAULT_DATE_FORMAT_PATTERN = "dd-MM-yyyy";
38
+ export declare const DEFAULT_DATE_FORMAT_PATTERN_WITH_TIME = "dd-MM-yyyy HH:mm:ss";
38
39
  export declare const BLANK_DISTINCT_COLUMN_VALUE = "[BLANKS]";
39
40
  export declare const DEFAULT_STRING_DISPLAY_VALUE = "Hello World";
40
41
  export declare const DEFAULT_INTEGER_DISPLAY_VALUE = 12345;
@@ -34,6 +34,7 @@ export const ADAPTABLE_ROW_ACTION_BUTTONS = 'adaptableRowActionButtons';
34
34
  export const ADAPTABLE_ROW_ACTION_BUTTONS_FRIENDLY_NAME = '(ActionRowButtons)';
35
35
  export const ADAPTABLE_FDC3_ACTION_COLUMN_FRIENDLY_NAME = '(FDC3ActionColumn)';
36
36
  export const DEFAULT_DATE_FORMAT_PATTERN = 'dd-MM-yyyy';
37
+ export const DEFAULT_DATE_FORMAT_PATTERN_WITH_TIME = 'dd-MM-yyyy HH:mm:ss';
37
38
  export const BLANK_DISTINCT_COLUMN_VALUE = '[BLANKS]';
38
39
  export const DEFAULT_STRING_DISPLAY_VALUE = 'Hello World';
39
40
  export const DEFAULT_INTEGER_DISPLAY_VALUE = 12345;
@@ -37,10 +37,10 @@ export declare const GridInfoModuleId: ModuleConstants;
37
37
  export declare const GridInfoFriendlyName = "Grid Info";
38
38
  export declare const ColumnInfoModuleId: ModuleConstants;
39
39
  export declare const ColumnInfoFriendlyName = "Column Info";
40
- export declare const NotesModuleId: ModuleConstants;
41
- export declare const NotesFriendlyName = "Notes";
42
- export declare const CommentsModuleId: ModuleConstants;
43
- export declare const CommentsFriendlyName = "Comments";
40
+ export declare const NoteModuleId: ModuleConstants;
41
+ export declare const NoteFriendlyName = "Note";
42
+ export declare const CommentModuleId: ModuleConstants;
43
+ export declare const CommentFriendlyName = "Comment";
44
44
  export declare const IPushPullModuleId: ModuleConstants;
45
45
  export declare const IPushPullFriendlyName = "IPushPull";
46
46
  export declare const LayoutModuleId: ModuleConstants;
@@ -108,12 +108,12 @@ export declare const ADAPTABLE_MODULE_MAP: {
108
108
  ToolPanel: string;
109
109
  SettingsPanel: string;
110
110
  StatusBar: string;
111
- Notes: string;
111
+ Note: string;
112
112
  ColumnInfo: string;
113
113
  DataImport: string;
114
114
  NamedQuery: string;
115
115
  GridFilter: string;
116
- Comments: string;
116
+ Comment: string;
117
117
  Query: string;
118
118
  Filter: string;
119
119
  };
@@ -36,10 +36,10 @@ export const GridInfoModuleId = 'GridInfo';
36
36
  export const GridInfoFriendlyName = 'Grid Info';
37
37
  export const ColumnInfoModuleId = 'ColumnInfo';
38
38
  export const ColumnInfoFriendlyName = 'Column Info';
39
- export const NotesModuleId = 'Notes';
40
- export const NotesFriendlyName = 'Notes';
41
- export const CommentsModuleId = 'Comments';
42
- export const CommentsFriendlyName = 'Comments';
39
+ export const NoteModuleId = 'Note';
40
+ export const NoteFriendlyName = 'Note';
41
+ export const CommentModuleId = 'Comment';
42
+ export const CommentFriendlyName = 'Comment';
43
43
  export const IPushPullModuleId = 'IPushPull';
44
44
  export const IPushPullFriendlyName = 'IPushPull';
45
45
  export const LayoutModuleId = 'Layout';
@@ -107,12 +107,12 @@ export const ADAPTABLE_MODULE_MAP = {
107
107
  [ToolPanelModuleId]: ToolPanelFriendlyName,
108
108
  [SettingsPanelModuleId]: SettingsPanelFriendlyName,
109
109
  [StatusBarModuleId]: StatusBarFriendlyName,
110
- [NotesModuleId]: NotesFriendlyName,
110
+ [NoteModuleId]: NoteFriendlyName,
111
111
  [ColumnInfoModuleId]: ColumnInfoFriendlyName,
112
112
  [DataImportModuleId]: DataImportFriendyName,
113
113
  [NamedQueryModuleId]: NamedQueryFriendlyName,
114
114
  [GridFilterModuleId]: GridFilterFriendlyName,
115
- [CommentsModuleId]: CommentsFriendlyName,
115
+ [CommentModuleId]: CommentFriendlyName,
116
116
  // Remove next version
117
117
  ['Query']: 'Query',
118
118
  ['Filter']: 'Filter',
@@ -41,7 +41,7 @@ export const DEFAULT_SETTINGS_PANEL_NAVIGATION_ITEMS = [
41
41
  'Charting',
42
42
  'Schedule',
43
43
  'TeamSharing',
44
- 'Notes',
45
- 'Comments',
44
+ 'Note',
45
+ 'Comment',
46
46
  'StateManagement',
47
47
  ];
@@ -1,12 +1,12 @@
1
+ import { IRowNode } from '@ag-grid-community/core';
1
2
  import { ExpressionFunction } from '../../parser/src/types';
2
3
  import { BaseParameter } from './expressionFunctionUtils';
3
- import { IRowNode } from '@ag-grid-community/core';
4
4
  import { AggregateParams } from './scalarAggregationHelper';
5
5
  /**
6
6
  * List of all the AggregatedScalar Functions available in AdaptableQL
7
7
  */
8
8
  export type AggregatedScalarFunctionName = ScalarAggregationFunction | OperandFunction;
9
- export type ScalarAggregationFunction = 'SUM' | 'PERCENTAGE' | 'QUANT' | 'QUARTILE' | 'PERCENTILE' | 'AVG' | 'MIN' | 'MAX' | 'COUNT' | 'CUMUL' | 'MEDIAN' | 'MODE' | 'DISTINCT' | 'ONLY' | 'STD_DEVIATION';
9
+ export type ScalarAggregationFunction = 'SUM' | 'PERCENTAGE' | 'QUANT' | 'QUARTILE' | 'PERCENTILE' | 'AVG' | 'MIN' | 'MAX' | 'COUNT' | 'CUMUL' | 'MEDIAN' | 'MODE' | 'DISTINCT' | 'ONLY' | 'STD_DEVIATION' | 'OLDEST' | 'NEWEST';
10
10
  type OperandFunction = 'COL' | 'OVER' | 'GROUP_BY' | 'WEIGHT';
11
11
  export interface ScalarAggregationParameter extends BaseParameter<'aggregationScalar', ScalarAggregationFunction> {
12
12
  value: AggregatedScalarExpressionEvaluation;
@@ -1,7 +1,9 @@
1
- import { extractColumnParameter, extractColumnParameters, extractParameter, getNumericValue, handleColumnFunction, validateColumnType, } from './expressionFunctionUtils';
2
1
  import { ExpressionEvaluationError } from '../../parser/src/ExpressionEvaluationError';
3
- import { getTypedKeys } from '../Extensions/TypeExtensions';
4
2
  import { SumArray } from '../Extensions/ArrayExtensions';
3
+ import { getTypedKeys } from '../Extensions/TypeExtensions';
4
+ import { extractColumnParameter, extractColumnParameters, extractParameter, getNumericValue, handleColumnFunction, validateColumnType, } from './expressionFunctionUtils';
5
+ import isAfter from 'date-fns/isAfter';
6
+ import { parseDateValue } from '../Helpers/DateHelper';
5
7
  export const aggregatedExpressionFunctions = [
6
8
  'SUM',
7
9
  'PERCENTAGE',
@@ -113,6 +115,7 @@ export const aggregatedScalarExpressionFunctions = {
113
115
  ],
114
116
  examples: ['SUM([colA])', 'SUM([colA], GROUP_BY([colB]))'],
115
117
  category: 'aggregation',
118
+ inputs: ['number'],
116
119
  },
117
120
  PERCENTAGE: {
118
121
  handler(args, context) {
@@ -256,6 +259,7 @@ export const aggregatedScalarExpressionFunctions = {
256
259
  ],
257
260
  examples: ['AVG([colA])', 'AVG([colA], GROUP_BY([colB]))', 'AVG([colA], WEIGHT([colB]))'],
258
261
  category: 'aggregation',
262
+ inputs: ['number'],
259
263
  },
260
264
  MEDIAN: {
261
265
  handler(args, context) {
@@ -320,12 +324,13 @@ export const aggregatedScalarExpressionFunctions = {
320
324
  ],
321
325
  examples: ['MEDIAN([colA])', 'MEDIAN([colA], GROUP_BY([colB]))'],
322
326
  category: 'aggregation',
327
+ inputs: ['number'],
323
328
  },
324
329
  MODE: {
325
330
  handler(args, context) {
326
331
  const modeColumnParameter = extractColumnParameter('mode', args);
327
332
  const modeColumnName = modeColumnParameter.value;
328
- validateColumnType(modeColumnName, ['Number'], 'mode', context.adaptableApi);
333
+ validateColumnType(modeColumnName, ['Number', 'String', 'Date'], 'mode', context.adaptableApi);
329
334
  const groupByParameter = extractParameter('MODE', 'operand', ['GROUP_BY'], args, {
330
335
  isOptional: true,
331
336
  });
@@ -339,12 +344,16 @@ export const aggregatedScalarExpressionFunctions = {
339
344
  reducer: (aggregatedValue, rowValue, rowNode) => {
340
345
  var _a;
341
346
  if (typeof rowValue !== 'number' && typeof rowValue !== 'string') {
342
- return;
347
+ return aggregatedValue;
348
+ }
349
+ if (!aggregatedValue) {
350
+ return new Map();
343
351
  }
344
352
  aggregatedValue.set(rowValue, ((_a = aggregatedValue.get(rowValue)) !== null && _a !== void 0 ? _a : 0) + 1);
345
353
  return aggregatedValue;
346
354
  },
347
355
  done: (aggregatedValue) => {
356
+ var _a;
348
357
  const sorted = [...aggregatedValue.entries()].sort(([aVal, aFreq], [bVal, bFreq]) => {
349
358
  if (aFreq < bFreq) {
350
359
  return 1;
@@ -356,7 +365,7 @@ export const aggregatedScalarExpressionFunctions = {
356
365
  return aVal === bVal ? 0 : 1;
357
366
  }
358
367
  });
359
- return sorted[0][0];
368
+ return (_a = sorted === null || sorted === void 0 ? void 0 : sorted[0]) === null || _a === void 0 ? void 0 : _a[0];
360
369
  },
361
370
  },
362
371
  },
@@ -381,6 +390,7 @@ export const aggregatedScalarExpressionFunctions = {
381
390
  ],
382
391
  examples: ['MODE([colA])', 'MODE([colA], GROUP_BY([colB]))'],
383
392
  category: 'aggregation',
393
+ inputs: [['number'], ['text'], ['date']],
384
394
  },
385
395
  DISTINCT: {
386
396
  handler(args, context) {
@@ -428,6 +438,7 @@ export const aggregatedScalarExpressionFunctions = {
428
438
  ],
429
439
  examples: ['DISTINCT([colA])', 'DISTINCT([colA], GROUP_BY([colB]))'],
430
440
  category: 'aggregation',
441
+ inputs: [['number'], ['text'], ['date']],
431
442
  },
432
443
  ONLY: {
433
444
  handler(args, context) {
@@ -477,6 +488,7 @@ export const aggregatedScalarExpressionFunctions = {
477
488
  ],
478
489
  examples: ['ONLY([colA])', 'ONLY([colA], GROUP_BY([colB]))'],
479
490
  category: 'aggregation',
491
+ inputs: [['number'], ['text'], ['date']],
480
492
  },
481
493
  STD_DEVIATION: {
482
494
  handler(args, context) {
@@ -534,6 +546,7 @@ export const aggregatedScalarExpressionFunctions = {
534
546
  ],
535
547
  examples: ['ONLY([colA])', 'ONLY([colA], GROUP_BY([colB]))'],
536
548
  category: 'aggregation',
549
+ inputs: ['number'],
537
550
  },
538
551
  MIN: {
539
552
  handler(args, context) {
@@ -585,6 +598,7 @@ export const aggregatedScalarExpressionFunctions = {
585
598
  ],
586
599
  examples: ['MIN([colA])', 'MIN([colA], GROUP_BY([colB]))'],
587
600
  category: 'aggregation',
601
+ inputs: ['number'],
588
602
  },
589
603
  MAX: {
590
604
  handler(args, context) {
@@ -636,6 +650,7 @@ export const aggregatedScalarExpressionFunctions = {
636
650
  ],
637
651
  examples: ['MIN([colA])', 'MIN([colA], GROUP_BY([colB]))'],
638
652
  category: 'aggregation',
653
+ inputs: ['number'],
639
654
  },
640
655
  QUANT: {
641
656
  handler(args, context) {
@@ -834,6 +849,7 @@ export const aggregatedScalarExpressionFunctions = {
834
849
  ],
835
850
  examples: ['COUNT([colA])', 'COUNT([colA], GROUP_BY([colB]))'],
836
851
  category: 'aggregation',
852
+ inputs: [['number'], ['text'], ['date']],
837
853
  },
838
854
  OVER: {
839
855
  handler(args, context) {
@@ -895,6 +911,124 @@ export const aggregatedScalarExpressionFunctions = {
895
911
  examples: ['[col1]', 'COL("col1")'],
896
912
  category: 'special',
897
913
  },
914
+ OLDEST: {
915
+ handler(args, context) {
916
+ const minColumnParameter = extractColumnParameter('OLDEST', args);
917
+ const minColumnName = minColumnParameter.value;
918
+ validateColumnType(minColumnName, ['Date'], 'OLDEST', context.adaptableApi);
919
+ const groupByParameter = extractParameter('OLDEST', 'operand', ['GROUP_BY'], args, {
920
+ isOptional: true,
921
+ });
922
+ const aggregationExpressionEvaluation = {
923
+ aggregationParams: {
924
+ reducers: {
925
+ OLDEST: {
926
+ name: 'OLDEST',
927
+ field: minColumnName,
928
+ initialValue: null,
929
+ reducer: (minValue, rowValue) => {
930
+ if (!minValue) {
931
+ return rowValue;
932
+ }
933
+ if (!rowValue) {
934
+ return minValue;
935
+ }
936
+ if (isAfter(parseDateValue(minValue), parseDateValue(rowValue))) {
937
+ return rowValue;
938
+ }
939
+ else {
940
+ return minValue;
941
+ }
942
+ },
943
+ done: (minValue, arr) => {
944
+ if (minValue !== null) {
945
+ return minValue;
946
+ }
947
+ },
948
+ },
949
+ },
950
+ },
951
+ rowFilterFn: context.filterFn,
952
+ getRowNodes: context.getRowNodes,
953
+ };
954
+ addGroupByParams(groupByParameter === null || groupByParameter === void 0 ? void 0 : groupByParameter.value, aggregationExpressionEvaluation);
955
+ const result = {
956
+ name: 'OLDEST',
957
+ type: 'aggregationScalar',
958
+ value: aggregationExpressionEvaluation,
959
+ };
960
+ return result;
961
+ },
962
+ description: 'Aggregates a Date column over multiple rows by computing the oldest of the column values\nOptionally the aggregation may be computed within provided individual groups',
963
+ signatures: [
964
+ 'OLDEST( [colName] )',
965
+ 'OLDEST( COL(name: string))',
966
+ 'OLDEST( [colNameA], GROUP_BY( [colNameB] ))',
967
+ 'OLDEST( COL(nameA: string), GROUP_BY( COL(nameB: string)))',
968
+ ],
969
+ examples: ['OLDEST([colA])', 'OLDEST([colA], GROUP_BY([colB]))'],
970
+ category: 'aggregation',
971
+ inputs: ['date'],
972
+ },
973
+ NEWEST: {
974
+ handler(args, context) {
975
+ const minColumnParameter = extractColumnParameter('NEWEST', args);
976
+ const minColumnName = minColumnParameter.value;
977
+ validateColumnType(minColumnName, ['Date'], 'NEWEST', context.adaptableApi);
978
+ const groupByParameter = extractParameter('NEWEST', 'operand', ['GROUP_BY'], args, {
979
+ isOptional: true,
980
+ });
981
+ const aggregationExpressionEvaluation = {
982
+ aggregationParams: {
983
+ reducers: {
984
+ NEWEST: {
985
+ name: 'NEWEST',
986
+ field: minColumnName,
987
+ initialValue: null,
988
+ reducer: (minValue, rowValue) => {
989
+ if (!minValue) {
990
+ return rowValue;
991
+ }
992
+ if (!rowValue) {
993
+ return minValue;
994
+ }
995
+ if (isAfter(parseDateValue(minValue), parseDateValue(rowValue))) {
996
+ return minValue;
997
+ }
998
+ else {
999
+ return rowValue;
1000
+ }
1001
+ },
1002
+ done: (minValue, arr) => {
1003
+ if (minValue !== null) {
1004
+ return minValue;
1005
+ }
1006
+ },
1007
+ },
1008
+ },
1009
+ },
1010
+ rowFilterFn: context.filterFn,
1011
+ getRowNodes: context.getRowNodes,
1012
+ };
1013
+ addGroupByParams(groupByParameter === null || groupByParameter === void 0 ? void 0 : groupByParameter.value, aggregationExpressionEvaluation);
1014
+ const result = {
1015
+ name: 'NEWEST',
1016
+ type: 'aggregationScalar',
1017
+ value: aggregationExpressionEvaluation,
1018
+ };
1019
+ return result;
1020
+ },
1021
+ description: 'Aggregates a Date column over multiple rows by computing the most recent of the column values\nOptionally the aggregation may be computed within provided individual groups',
1022
+ signatures: [
1023
+ 'NEWEST( [colName] )',
1024
+ 'NEWEST( COL(name: string))',
1025
+ 'NEWEST( [colNameA], GROUP_BY( [colNameB] ))',
1026
+ 'NEWEST( COL(nameA: string), GROUP_BY( COL(nameB: string)))',
1027
+ ],
1028
+ examples: ['NEWEST([colA])', 'NEWEST([colA], GROUP_BY([colB]))'],
1029
+ category: 'aggregation',
1030
+ inputs: ['date'],
1031
+ },
898
1032
  };
899
1033
  const mapAggregationToCumulation = (aggregationParameter, overColumnParameter, context) => {
900
1034
  const aggregationEvaluation = aggregationParameter.value;
@@ -966,13 +1100,15 @@ const mapAggregationToCumulation = (aggregationParameter, overColumnParameter, c
966
1100
  if ((_a = aggregationEvaluation.context) === null || _a === void 0 ? void 0 : _a.weightParam) {
967
1101
  // weighted average
968
1102
  const weightValue = (_b = context.adaptableApi.gridApi.getRawValueFromRowNode(rowNode, aggregationEvaluation.context.weightParam.value)) !== null && _b !== void 0 ? _b : 0;
969
- cumulationBag.currentValue = cumulationBag.currentValue + rowValue * weightValue;
1103
+ cumulationBag.currentValue =
1104
+ cumulationBag.currentValue + rowValue * weightValue;
970
1105
  cumulationBag.numberOfCumulatedValues =
971
1106
  cumulationBag.numberOfCumulatedValues + weightValue;
972
1107
  }
973
1108
  else {
974
1109
  cumulationBag.currentValue = cumulationBag.currentValue + rowValue;
975
- cumulationBag.numberOfCumulatedValues = cumulationBag.numberOfCumulatedValues + 1;
1110
+ cumulationBag.numberOfCumulatedValues =
1111
+ cumulationBag.numberOfCumulatedValues + 1;
976
1112
  }
977
1113
  }
978
1114
  if (cumulationBag.numberOfCumulatedValues !== 0) {
@@ -275,10 +275,10 @@ const isLastElementMinValue = (values) => {
275
275
  };
276
276
  // useful for functions which do NOT have an initial change (ex. GRID_CHANGE NONE)
277
277
  const getDataChangedInfoStub = (context) => {
278
- var _a;
278
+ var _a, _b;
279
279
  let rowNodeStub;
280
280
  if (!context.filterFn) {
281
- rowNodeStub = context.adaptableApi.gridApi.getFirstRowNode();
281
+ rowNodeStub = (_a = context.node) !== null && _a !== void 0 ? _a : context.adaptableApi.gridApi.getFirstRowNode();
282
282
  }
283
283
  else {
284
284
  // if there is a WHERE clause defined, find the first rowNode which satisfies the condition
@@ -293,7 +293,7 @@ const getDataChangedInfoStub = (context) => {
293
293
  const rowNode = rowNodeStub;
294
294
  if (rowNode) {
295
295
  const primaryKeyValue = context.adaptableApi.gridApi.getPrimaryKeyValueForRowNode(rowNode);
296
- const columnId = (_a = context.adaptableApi.columnApi.getQueryableColumns()[0]) === null || _a === void 0 ? void 0 : _a.columnId;
296
+ const columnId = (_b = context.adaptableApi.columnApi.getQueryableColumns()[0]) === null || _b === void 0 ? void 0 : _b.columnId;
297
297
  const oldValue = context.adaptableApi.gridApi.getCellRawValue(primaryKeyValue, columnId);
298
298
  const column = context.adaptableApi.columnApi.getColumnWithColumnId(columnId);
299
299
  const newValue = oldValue;
@@ -2,6 +2,6 @@ import { ExpressionFunction } from '../../parser/src/types';
2
2
  /**
3
3
  * List of all the Scalar Functions available in AdaptableQL
4
4
  */
5
- export type ScalarFunctionName = 'ADD' | 'SUB' | 'MUL' | 'DIV' | 'MOD' | 'POW' | 'ABS' | 'CEILING' | 'FLOOR' | 'ROUND' | 'MIN' | 'MAX' | 'AVG' | 'DATE' | 'NOW' | 'CURRENT_DAY' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR' | 'ADD_DAYS' | 'ADD_WEEKS' | 'ADD_MONTHS' | 'ADD_YEARS' | 'DIFF_DAYS' | 'DIFF_WEEKS' | 'DIFF_MONTHS' | 'DIFF_YEARS' | 'SUB_STRING' | 'REPLACE' | 'COALESCE' | 'NULL' | 'LEN' | 'UPPER' | 'LOWER' | 'CONCAT' | 'IF' | 'CASE' | 'COL' | 'VAR' | 'TO_ARRAY' | 'QUERY' | 'IS_BLANK' | 'IS_NOT_BLANK';
5
+ export type ScalarFunctionName = 'ADD' | 'SUB' | 'MUL' | 'DIV' | 'MOD' | 'POW' | 'ABS' | 'CEILING' | 'FLOOR' | 'ROUND' | 'MIN' | 'MAX' | 'AVG' | 'DATE' | 'NOW' | 'CURRENT_DAY' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR' | 'ADD_DAYS' | 'ADD_WEEKS' | 'ADD_MONTHS' | 'ADD_YEARS' | 'DIFF_DAYS' | 'DIFF_WEEKS' | 'DIFF_MONTHS' | 'DIFF_YEARS' | 'SUB_STRING' | 'REPLACE' | 'COALESCE' | 'NULL' | 'LEN' | 'UPPER' | 'LOWER' | 'CONCAT' | 'IF' | 'CASE' | 'COL' | 'FIELD' | 'VAR' | 'TO_ARRAY' | 'QUERY' | 'IS_BLANK' | 'IS_NOT_BLANK';
6
6
  export declare const scalarExpressionFunctions: Record<ScalarFunctionName, ExpressionFunction>;
7
7
  export declare const scalarExpressionFunctionNames: ScalarFunctionName[];