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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (395) hide show
  1. package/README.md +4 -6
  2. package/agGrid.d.ts +9 -9
  3. package/agGrid.js +1 -0
  4. package/index.css +1280 -1400
  5. package/index.css.map +1 -1
  6. package/index.d.ts +66 -0
  7. package/index.js +73 -0
  8. package/package.json +3 -3
  9. package/src/AdaptableInterfaces/IAdaptable.d.ts +10 -1
  10. package/src/AdaptableOptions/ActionColumnOptions.d.ts +2 -2
  11. package/src/AdaptableOptions/AdaptablePlugin.js +6 -1
  12. package/src/AdaptableOptions/ColumnOptions.d.ts +2 -2
  13. package/src/AdaptableOptions/ContainerOptions.d.ts +55 -15
  14. package/src/AdaptableOptions/CustomSortOptions.d.ts +4 -0
  15. package/src/AdaptableOptions/DashboardOptions.d.ts +1 -2
  16. package/src/AdaptableOptions/ExportOptions.d.ts +1 -2
  17. package/src/AdaptableOptions/FilterOptions.d.ts +3 -0
  18. package/src/AdaptableOptions/ToolPanelOptions.d.ts +1 -2
  19. package/src/AdaptableState/AdaptableState.d.ts +2 -0
  20. package/src/AdaptableState/AlertState.d.ts +5 -2
  21. package/src/AdaptableState/ChartingState.d.ts +2 -2
  22. package/src/AdaptableState/Common/AdaptableAlert.d.ts +2 -2
  23. package/src/AdaptableState/Common/AdaptableButton.d.ts +2 -2
  24. package/src/AdaptableState/Common/AdaptableColumn.d.ts +16 -10
  25. package/src/AdaptableState/Common/AdaptableColumnContext.d.ts +9 -0
  26. package/src/AdaptableState/Common/AdaptableFlashingCell.d.ts +2 -2
  27. package/src/AdaptableState/Common/AdaptableObject.d.ts +20 -2
  28. package/src/AdaptableState/Common/AdaptableRowContext.d.ts +11 -0
  29. package/src/AdaptableState/Common/AdaptableStyle.d.ts +8 -0
  30. package/src/AdaptableState/Common/BaseContext.d.ts +2 -0
  31. package/src/AdaptableState/Common/ColumnHighlightInfo.d.ts +18 -0
  32. package/src/AdaptableState/Common/DataUpdateConfig.d.ts +17 -0
  33. package/src/AdaptableState/Common/NamedObject.d.ts +10 -0
  34. package/src/AdaptableState/Common/NamedObject.js +1 -0
  35. package/src/AdaptableState/Common/RowDataChangedInfo.d.ts +3 -0
  36. package/src/AdaptableState/Common/RowSummary.d.ts +1 -1
  37. package/src/AdaptableState/Common/Schedule.d.ts +8 -5
  38. package/src/AdaptableState/Common/SystemStatusMessageInfo.d.ts +2 -2
  39. package/src/AdaptableState/Common/TransposeConfig.d.ts +12 -10
  40. package/src/AdaptableState/CustomSortState.d.ts +5 -1
  41. package/src/AdaptableState/DashboardState.d.ts +1 -1
  42. package/src/AdaptableState/ExportState.d.ts +1 -1
  43. package/src/AdaptableState/FlashingCellState.d.ts +6 -2
  44. package/src/AdaptableState/FormatColumnState.d.ts +5 -9
  45. package/src/AdaptableState/InitialState.d.ts +10 -1
  46. package/src/AdaptableState/InternalState.d.ts +2 -0
  47. package/src/AdaptableState/LayoutState.d.ts +7 -3
  48. package/src/AdaptableState/NamedQueryState.d.ts +1 -1
  49. package/src/AdaptableState/PlusMinusState.d.ts +5 -1
  50. package/src/AdaptableState/Selection/GridCell.d.ts +9 -0
  51. package/src/AdaptableState/ShortcutState.d.ts +5 -1
  52. package/src/AdaptableState/StyledColumnState.d.ts +1 -1
  53. package/src/AdaptableState/ThemeState.d.ts +1 -1
  54. package/src/AdaptableState/UserInterfaceState.d.ts +14 -0
  55. package/src/AdaptableState/UserInterfaceState.js +1 -0
  56. package/src/Api/AlertApi.d.ts +6 -0
  57. package/src/Api/CustomSortApi.d.ts +12 -3
  58. package/src/Api/DataSetApi.d.ts +1 -1
  59. package/src/Api/FlashingCellApi.d.ts +6 -0
  60. package/src/Api/FormatColumnApi.d.ts +10 -4
  61. package/src/Api/GridApi.d.ts +29 -4
  62. package/src/Api/Implementation/ActionColumnApiImpl.js +1 -0
  63. package/src/Api/Implementation/AdaptableApiImpl.js +52 -0
  64. package/src/Api/Implementation/AlertApiImpl.d.ts +1 -0
  65. package/src/Api/Implementation/AlertApiImpl.js +6 -6
  66. package/src/Api/Implementation/ApiBase.d.ts +1 -1
  67. package/src/Api/Implementation/ApiBase.js +2 -1
  68. package/src/Api/Implementation/CalculatedColumnApiImpl.js +1 -0
  69. package/src/Api/Implementation/ChartingApiImpl.js +6 -2
  70. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
  71. package/src/Api/Implementation/ColumnApiImpl.js +1 -0
  72. package/src/Api/Implementation/ColumnFilterApiImpl.js +1 -0
  73. package/src/Api/Implementation/CommentsApiImpl.js +1 -0
  74. package/src/Api/Implementation/CustomSortApiImpl.d.ts +6 -1
  75. package/src/Api/Implementation/CustomSortApiImpl.js +6 -2
  76. package/src/Api/Implementation/DashboardApiImpl.js +1 -0
  77. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +12 -15
  78. package/src/Api/Implementation/DataImportApiImpl.js +1 -0
  79. package/src/Api/Implementation/DataSetApiImpl.js +1 -0
  80. package/src/Api/Implementation/EntitlementApiImpl.js +1 -0
  81. package/src/Api/Implementation/EventApiImpl.js +16 -14
  82. package/src/Api/Implementation/ExportApiImpl.js +1 -0
  83. package/src/Api/Implementation/ExpressionApiImpl.js +1 -0
  84. package/src/Api/Implementation/Fdc3ApiImpl.js +1 -0
  85. package/src/Api/Implementation/FilterApiImpl.js +3 -0
  86. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +1 -0
  87. package/src/Api/Implementation/FlashingCellApiImpl.js +4 -0
  88. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +6 -5
  89. package/src/Api/Implementation/FormatColumnApiImpl.js +7 -5
  90. package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -0
  91. package/src/Api/Implementation/GridApiImpl.d.ts +10 -1
  92. package/src/Api/Implementation/GridApiImpl.js +36 -5
  93. package/src/Api/Implementation/GridFilterApiImpl.js +1 -0
  94. package/src/Api/Implementation/LayoutApiImpl.d.ts +1 -0
  95. package/src/Api/Implementation/LayoutApiImpl.js +5 -1
  96. package/src/Api/Implementation/LayoutHelpers.js +7 -0
  97. package/src/Api/Implementation/NamedQueryApiImpl.js +3 -2
  98. package/src/Api/Implementation/NoteApiImpl.js +1 -0
  99. package/src/Api/Implementation/PlusMinusApiImpl.d.ts +1 -0
  100. package/src/Api/Implementation/PlusMinusApiImpl.js +3 -0
  101. package/src/Api/Implementation/PredicateApiImpl.js +1 -0
  102. package/src/Api/Implementation/RowFormApiImpl.js +1 -0
  103. package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -0
  104. package/src/Api/Implementation/ScheduleApiImpl.js +4 -0
  105. package/src/Api/Implementation/ShortcutApiImpl.d.ts +1 -0
  106. package/src/Api/Implementation/ShortcutApiImpl.js +3 -0
  107. package/src/Api/Implementation/StyledColumnApiImpl.js +1 -0
  108. package/src/Api/Implementation/SystemStatusApiImpl.js +8 -9
  109. package/src/Api/Implementation/TeamSharingApiImpl.js +1 -0
  110. package/src/Api/Implementation/ThemeApiImpl.js +1 -0
  111. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +5 -0
  112. package/src/Api/Implementation/UserInterfaceApiImpl.js +15 -1
  113. package/src/Api/Internal/CalculatedColumnInternalApi.js +2 -2
  114. package/src/Api/Internal/ColumnInternalApi.js +1 -1
  115. package/src/Api/Internal/FormatColumnInternalApi.d.ts +0 -10
  116. package/src/Api/Internal/FormatColumnInternalApi.js +1 -19
  117. package/src/Api/Internal/FreeTextColumnInternalApi.js +2 -2
  118. package/src/Api/Internal/LayoutInternalApi.js +1 -1
  119. package/src/Api/Internal/NamedQueryInternalApi.js +4 -4
  120. package/src/Api/LayoutApi.d.ts +6 -0
  121. package/src/Api/PlusMinusApi.d.ts +6 -0
  122. package/src/Api/ScheduleApi.d.ts +6 -0
  123. package/src/Api/ShortcutApi.d.ts +6 -0
  124. package/src/Api/UserInterfaceApi.d.ts +17 -0
  125. package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +8 -0
  126. package/src/Redux/ActionsReducers/FormatColumnRedux.js +15 -0
  127. package/src/Redux/ActionsReducers/InternalRedux.d.ts +15 -0
  128. package/src/Redux/ActionsReducers/InternalRedux.js +36 -0
  129. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +1 -1
  130. package/src/Redux/ActionsReducers/NoteRedux.js +1 -1
  131. package/src/Redux/ActionsReducers/UserInterfaceRedux.d.ts +11 -0
  132. package/src/Redux/ActionsReducers/UserInterfaceRedux.js +21 -0
  133. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -0
  134. package/src/Redux/Store/AdaptableStore.js +121 -64
  135. package/src/Strategy/AdaptableModuleBase.js +4 -0
  136. package/src/Strategy/AlertModule.js +5 -0
  137. package/src/Strategy/BulkUpdateModule.js +8 -8
  138. package/src/Strategy/CalculatedColumnModule.js +1 -0
  139. package/src/Strategy/CellSummaryModule.js +1 -1
  140. package/src/Strategy/CustomSortModule.js +4 -0
  141. package/src/Strategy/DataChangeHistoryModule.js +1 -0
  142. package/src/Strategy/FlashingCellModule.js +6 -0
  143. package/src/Strategy/FormatColumnModule.js +4 -0
  144. package/src/Strategy/FreeTextColumnModule.js +1 -0
  145. package/src/Strategy/LayoutModule.js +6 -5
  146. package/src/Strategy/PlusMinusModule.js +7 -1
  147. package/src/Strategy/QuickSearchModule.js +1 -1
  148. package/src/Strategy/ScheduleModule.js +5 -0
  149. package/src/Strategy/SettingsPanelModule.js +11 -7
  150. package/src/Strategy/ShortcutModule.js +6 -0
  151. package/src/Strategy/SmartEditModule.js +10 -10
  152. package/src/Strategy/TeamSharingModule.js +10 -10
  153. package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +0 -3
  154. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +18 -17
  155. package/src/Utilities/Constants/DocumentationLinkConstants.js +18 -17
  156. package/src/Utilities/ExpressionFunctions/deepMap.js +31 -31
  157. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +3 -3
  158. package/src/Utilities/Extensions/StringExtensions.d.ts +2 -0
  159. package/src/Utilities/Extensions/StringExtensions.js +16 -0
  160. package/src/Utilities/Helpers/FormatHelper.js +9 -2
  161. package/src/Utilities/Helpers/StyleHelper.js +14 -0
  162. package/src/Utilities/MenuItem.js +18 -0
  163. package/src/Utilities/ObjectFactory.js +16 -3
  164. package/src/Utilities/Services/AggregatedScalarLiveValue.js +8 -0
  165. package/src/Utilities/Services/AlertService.js +6 -4
  166. package/src/Utilities/Services/AnnotationsService.js +4 -1
  167. package/src/Utilities/Services/CalculatedColumnExpressionService.js +2 -1
  168. package/src/Utilities/Services/ChartingService.js +1 -0
  169. package/src/Utilities/Services/DataService.js +11 -3
  170. package/src/Utilities/Services/Fdc3Service.js +9 -7
  171. package/src/Utilities/Services/FlashingCellService.js +5 -0
  172. package/src/Utilities/Services/LicenseService/index.js +1 -1
  173. package/src/Utilities/Services/MetamodelService.js +2 -2
  174. package/src/Utilities/Services/ModuleService.js +39 -41
  175. package/src/Utilities/Services/QueryLanguageService.js +6 -5
  176. package/src/Utilities/Services/RowFormService.js +1 -0
  177. package/src/Utilities/Services/RowSummaryService.js +10 -7
  178. package/src/Utilities/Services/TeamSharingService.js +3 -1
  179. package/src/Utilities/Services/ThemeService.js +13 -15
  180. package/src/Utilities/Services/ValidationService.js +2 -1
  181. package/src/Utilities/createAgStatusPanelComponent.js +3 -0
  182. package/src/Utilities/logDeprecation.js +3 -4
  183. package/src/Utilities/resolveContainerElement.d.ts +23 -0
  184. package/src/Utilities/resolveContainerElement.js +44 -0
  185. package/src/View/AdaptablePopover/index.d.ts +1 -0
  186. package/src/View/AdaptablePopover/index.js +1 -1
  187. package/src/View/Alert/ActiveAlertsPanel.js +8 -0
  188. package/src/View/Alert/AlertViewPanel.js +13 -9
  189. package/src/View/Alert/Utilities/getAlertButtonStyle.d.ts +1 -0
  190. package/src/View/Alert/Utilities/getAlertButtonStyle.js +8 -0
  191. package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +1 -0
  192. package/src/View/Alert/Wizard/AlertTypeWizardSection.d.ts +5 -2
  193. package/src/View/Alert/Wizard/AlertTypeWizardSection.js +47 -12
  194. package/src/View/Alert/Wizard/AlertWizard.js +14 -10
  195. package/src/View/Alert/Wizard/isValidAlertRules.js +1 -1
  196. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +24 -11
  197. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +2 -2
  198. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +2 -2
  199. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -1
  200. package/src/View/CellSummary/CellSummaryViewPanel.js +16 -17
  201. package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +2 -2
  202. package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +2 -2
  203. package/src/View/Components/AdaptableDateInput/index.js +1 -1
  204. package/src/View/Components/Buttons/ButtonApply.js +1 -1
  205. package/src/View/Components/Buttons/ButtonBase/index.js +9 -9
  206. package/src/View/Components/Buttons/ButtonClear.d.ts +1 -0
  207. package/src/View/Components/Buttons/EntityListActionButtons.d.ts +1 -2
  208. package/src/View/Components/Buttons/EntityListActionButtons.js +18 -18
  209. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.d.ts +1 -2
  210. package/src/View/Components/CellPopup/index.js +1 -1
  211. package/src/View/Components/ColumnFilter/FloatingFilter.js +41 -3
  212. package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +1 -1
  213. package/src/View/Components/ColumnFilter/components/ColumnFilterMenu.js +54 -2
  214. package/src/View/Components/ColumnFilter/components/FloatingFilterValues.js +1 -1
  215. package/src/View/Components/EntityRulesEditor/Utilities.js +5 -5
  216. package/src/View/Components/NewScopeComponent.js +3 -3
  217. package/src/View/Components/Panels/PanelDashboard/index.js +8 -8
  218. package/src/View/Components/Panels/PanelToolPanel/index.js +7 -7
  219. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
  220. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +1 -1
  221. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +1 -1
  222. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +1 -8
  223. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +1 -1
  224. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +36 -1
  225. package/src/View/Components/Selectors/BulkUpdateValueSelector.js +19 -18
  226. package/src/View/Components/StyleComponent.d.ts +1 -0
  227. package/src/View/Components/StyleComponent.js +94 -24
  228. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +2 -0
  229. package/src/View/Components/WizardSummaryPage.js +1 -1
  230. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +2 -1
  231. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +41 -15
  232. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +1 -1
  233. package/src/View/CustomSort/Wizard/CustomSortWizard.js +4 -4
  234. package/src/View/Dashboard/CustomToolbar.js +1 -1
  235. package/src/View/Dashboard/DashboardPopup.js +4 -5
  236. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +1 -0
  237. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +1 -1
  238. package/src/View/Export/ExportDestinationPicker.js +1 -1
  239. package/src/View/Export/ExportStatusBar.js +4 -2
  240. package/src/View/Export/ExportViewPanel.js +25 -18
  241. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.d.ts +2 -1
  242. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +34 -14
  243. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +14 -10
  244. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +1 -1
  245. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +46 -51
  246. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +2 -2
  247. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +20 -9
  248. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
  249. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +3 -3
  250. package/src/View/GridFilter/GridFilterExpressionEditor.js +6 -1
  251. package/src/View/GridFilter/GridFilterViewPanel.js +33 -70
  252. package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +57 -65
  253. package/src/View/Layout/LayoutViewPanel.js +1 -1
  254. package/src/View/Layout/TransposedPopup.js +144 -138
  255. package/src/View/Layout/Wizard/sections/AggregationsSection.js +1 -1
  256. package/src/View/Layout/Wizard/sections/FilterSection.js +1 -1
  257. package/src/View/Layout/Wizard/sections/GridFilterSection.js +1 -1
  258. package/src/View/Layout/Wizard/sections/PivotAggregationsSection.js +3 -3
  259. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +8 -0
  260. package/src/View/Layout/Wizard/sections/RowSummarySection.js +1 -1
  261. package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +2 -2
  262. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +35 -12
  263. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +20 -15
  264. package/src/View/QuickSearch/QuickSearchPopup.js +4 -1
  265. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +12 -1
  266. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +12 -1
  267. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +14 -4
  268. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +12 -1
  269. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.d.ts +2 -1
  270. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +19 -10
  271. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.d.ts +2 -1
  272. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +25 -4
  273. package/src/View/Shortcut/Wizard/ShortcutWizard.js +18 -14
  274. package/src/View/SmartEdit/SmartEditViewPanel.js +1 -0
  275. package/src/View/StateManagement/handleExportState.js +1 -1
  276. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +1 -1
  277. package/src/View/Theme/ThemePopup.js +13 -16
  278. package/src/View/UIHelper.d.ts +4 -1
  279. package/src/View/UIHelper.js +23 -14
  280. package/src/agGrid/Adaptable.js +15 -11
  281. package/src/agGrid/AdaptableAgGrid.d.ts +16 -3
  282. package/src/agGrid/AdaptableAgGrid.js +306 -103
  283. package/src/agGrid/AdaptableFilterHandler.js +4 -0
  284. package/src/agGrid/AdaptableLogger.d.ts +3 -0
  285. package/src/agGrid/AdaptableLogger.js +10 -0
  286. package/src/agGrid/AgGridAdapter.js +19 -9
  287. package/src/agGrid/AgGridColumnAdapter.d.ts +1 -0
  288. package/src/agGrid/AgGridColumnAdapter.js +20 -22
  289. package/src/agGrid/AgGridExportAdapter.js +15 -14
  290. package/src/agGrid/AgGridFilterAdapter.js +4 -0
  291. package/src/agGrid/AgGridFloatingFilterAdapter.js +4 -1
  292. package/src/agGrid/AgGridMenuAdapter.js +10 -1
  293. package/src/agGrid/AgGridModulesAdapter.js +2 -1
  294. package/src/agGrid/AgGridOptionsService.js +3 -0
  295. package/src/agGrid/AgGridThemeAdapter.js +4 -2
  296. package/src/agGrid/cellRenderers/ActionColumnRenderer.js +5 -0
  297. package/src/agGrid/cellRenderers/BadgeRenderer.js +2 -0
  298. package/src/agGrid/cellRenderers/PercentBarRenderer.js +1 -0
  299. package/src/agGrid/editors/AdaptableDateEditor/index.js +6 -3
  300. package/src/agGrid/editors/AdaptableNumberEditor/index.js +16 -12
  301. package/src/agGrid/editors/AdaptablePercentageEditor/index.js +17 -13
  302. package/src/agGrid/index.d.ts +6 -0
  303. package/src/agGrid/index.js +6 -0
  304. package/src/components/CheckBox/index.js +1 -1
  305. package/src/components/ColorPicker/ColorPicker.js +5 -4
  306. package/src/components/Dashboard/DashboardToolbar.js +1 -1
  307. package/src/components/Datepicker/index.js +1 -1
  308. package/src/components/Dropdown/Arrows.js +1 -1
  309. package/src/components/ExpressionEditor/DataTableEditor.js +3 -3
  310. package/src/components/ExpressionEditor/EditorInput.js +19 -3
  311. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +1 -1
  312. package/src/components/FormLayout/index.js +1 -1
  313. package/src/components/OverlayTrigger/index.js +1 -1
  314. package/src/components/Select/Select.js +79 -16
  315. package/src/components/Tree/TreeDropdown/index.js +2 -2
  316. package/src/components/overlayBaseZIndex.js +1 -1
  317. package/src/components/utils/useContainerScrollObserver/index.js +17 -14
  318. package/src/devTools/index.js +54 -53
  319. package/src/env.js +2 -2
  320. package/src/layout-manager/src/LMEmitter.js +11 -11
  321. package/src/layout-manager/src/LMLogger.js +7 -0
  322. package/src/layout-manager/src/LayoutManagerModel.d.ts +1 -0
  323. package/src/layout-manager/src/index.js +81 -58
  324. package/src/layout-manager/src/normalizeLayoutModel.js +3 -0
  325. package/src/metamodel/adaptable.metamodel.d.ts +177 -8
  326. package/src/metamodel/adaptable.metamodel.js +1 -1
  327. package/src/migration/AdaptableUpgradeHelper.js +8 -3
  328. package/src/migration/VersionUpgrade.js +1 -0
  329. package/src/migration/VersionUpgrade17.js +5 -6
  330. package/src/migration/VersionUpgrade20.js +4 -4
  331. package/src/migration/VersionUpgrade22.d.ts +21 -0
  332. package/src/migration/VersionUpgrade22.js +187 -0
  333. package/src/parser/src/ExpressionEvaluationError.js +1 -0
  334. package/src/types.d.ts +9 -7
  335. package/themes/dark.css +30 -30
  336. package/themes/light.css +4 -2
  337. package/tsconfig.esm.tsbuildinfo +1 -1
  338. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +0 -632
  339. package/src/View/Alert/AlertEntityRow.d.ts +0 -11
  340. package/src/View/Alert/AlertEntityRow.js +0 -28
  341. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +0 -21
  342. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +0 -58
  343. package/src/View/Components/Buttons/ButtonFunction.d.ts +0 -7
  344. package/src/View/Components/Buttons/ButtonFunction.js +0 -8
  345. package/src/View/Components/Buttons/ButtonGeneral.d.ts +0 -5
  346. package/src/View/Components/Buttons/ButtonGeneral.js +0 -7
  347. package/src/View/Components/Buttons/ButtonPreviewDelete.d.ts +0 -4
  348. package/src/View/Components/Buttons/ButtonPreviewDelete.js +0 -5
  349. package/src/View/Components/Buttons/ButtonShow.d.ts +0 -5
  350. package/src/View/Components/Buttons/ButtonShow.js +0 -7
  351. package/src/View/Components/Buttons/ButtonShowChart.d.ts +0 -5
  352. package/src/View/Components/Buttons/ButtonShowChart.js +0 -7
  353. package/src/View/Components/Buttons/ButtonUndo.d.ts +0 -5
  354. package/src/View/Components/Buttons/ButtonUndo.js +0 -7
  355. package/src/View/Components/ExpressionWizard.d.ts +0 -24
  356. package/src/View/Components/ExpressionWizard.js +0 -77
  357. package/src/View/Components/FilterForm/Waiting.d.ts +0 -10
  358. package/src/View/Components/FilterForm/Waiting.js +0 -14
  359. package/src/View/Components/Panels/PanelFooter.d.ts +0 -10
  360. package/src/View/Components/Panels/PanelFooter.js +0 -9
  361. package/src/View/Components/Panels/PanelWithTwoButtons.d.ts +0 -12
  362. package/src/View/Components/Panels/PanelWithTwoButtons.js +0 -15
  363. package/src/View/Components/Panels/ToolPanelSettingsPanel.d.ts +0 -8
  364. package/src/View/Components/Panels/ToolPanelSettingsPanel.js +0 -26
  365. package/src/View/Components/Selectors/ColumnSelectorOld.d.ts +0 -18
  366. package/src/View/Components/Selectors/ColumnSelectorOld.js +0 -45
  367. package/src/View/Components/SharedProps/WizardScopeState.d.ts +0 -4
  368. package/src/View/Components/WizardSummaryRow.d.ts +0 -9
  369. package/src/View/Components/WizardSummaryRow.js +0 -11
  370. package/src/View/CustomSort/CustomSortSummary.d.ts +0 -23
  371. package/src/View/CustomSort/CustomSortSummary.js +0 -105
  372. package/src/View/DataImport/DataImportWizard/sections/ImportSection.d.ts +0 -9
  373. package/src/View/DataImport/DataImportWizard/sections/ImportSection.js +0 -19
  374. package/src/View/Export/Wizard/ReportColumnTypeWizard.d.ts +0 -19
  375. package/src/View/Export/Wizard/ReportColumnTypeWizard.js +0 -68
  376. package/src/View/Export/Wizard/ReportRowTypeWizard.d.ts +0 -19
  377. package/src/View/Export/Wizard/ReportRowTypeWizard.js +0 -68
  378. package/src/View/Export/Wizard/ReportSettingsWizard.d.ts +0 -21
  379. package/src/View/Export/Wizard/ReportSettingsWizard.js +0 -56
  380. package/src/View/Export/Wizard/ReportSummaryWizard.d.ts +0 -15
  381. package/src/View/Export/Wizard/ReportSummaryWizard.js +0 -35
  382. package/src/View/Filter/FilterSummary.d.ts +0 -18
  383. package/src/View/Filter/FilterSummary.js +0 -48
  384. package/src/View/FormatColumn/FormatColumnSummary.d.ts +0 -22
  385. package/src/View/FormatColumn/FormatColumnSummary.js +0 -90
  386. package/src/View/FreeTextColumn/FreeTextColumnSummary.d.ts +0 -22
  387. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +0 -88
  388. package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.d.ts +0 -7
  389. package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.js +0 -94
  390. package/src/View/PlusMinus/PlusMinusSummary.d.ts +0 -22
  391. package/src/View/PlusMinus/PlusMinusSummary.js +0 -95
  392. package/src/View/Wizard/WizardLegend.d.ts +0 -12
  393. package/src/View/Wizard/WizardLegend.js +0 -23
  394. /package/src/{View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.d.ts → AdaptableState/Common/AdaptableRowContext.js} +0 -0
  395. /package/src/{View/Components/SharedProps/WizardScopeState.js → AdaptableState/Common/ColumnHighlightInfo.js} +0 -0
@@ -43,8 +43,8 @@ export class SmartEditModule extends AdaptableModuleBase {
43
43
  return {
44
44
  Alert: {
45
45
  alertType: 'generic',
46
- header: 'Smart Edit Error',
47
- message: 'Cannot edit while Grid is in Pivot Mode.',
46
+ header: 'Smart Edit',
47
+ message: 'Editing is not available in Pivot Mode.',
48
48
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
49
49
  },
50
50
  };
@@ -53,8 +53,8 @@ export class SmartEditModule extends AdaptableModuleBase {
53
53
  return {
54
54
  Alert: {
55
55
  alertType: 'generic',
56
- header: 'Smart Edit Error',
57
- message: 'No cells are selected.\nPlease select some cells.',
56
+ header: 'Smart Edit',
57
+ message: 'No cells selected. Please select one or more cells to continue.',
58
58
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
59
59
  },
60
60
  };
@@ -63,8 +63,8 @@ export class SmartEditModule extends AdaptableModuleBase {
63
63
  return {
64
64
  Alert: {
65
65
  alertType: 'generic',
66
- header: 'Smart Edit Error',
67
- message: 'Smart Edit only supports single column edit.\nPlease adjust cell selection.',
66
+ header: 'Smart Edit',
67
+ message: 'Smart Edit supports editing a single column at a time. Please adjust your selection.',
68
68
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
69
69
  },
70
70
  };
@@ -75,8 +75,8 @@ export class SmartEditModule extends AdaptableModuleBase {
75
75
  return {
76
76
  Alert: {
77
77
  alertType: 'generic',
78
- header: 'Smart Edit Error',
79
- message: 'Smart Edit only supports editing of numeric columns.\nPlease adjust the cell selection.',
78
+ header: 'Smart Edit',
79
+ message: 'Smart Edit only applies to numeric columns. Please adjust your selection.',
80
80
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
81
81
  },
82
82
  };
@@ -87,8 +87,8 @@ export class SmartEditModule extends AdaptableModuleBase {
87
87
  return {
88
88
  Alert: {
89
89
  alertType: 'generic',
90
- header: 'Smart Edit Error',
91
- message: 'Smart Edit is not permitted on readonly cells.\nPlease adjust the cell selection.',
90
+ header: 'Smart Edit',
91
+ message: 'Smart Edit is not available for read-only cells. Please adjust your selection.',
92
92
  alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
93
93
  },
94
94
  };
@@ -11,18 +11,18 @@ import ArrayExtensions from '../Utilities/Extensions/ArrayExtensions';
11
11
  import flatten from 'lodash/flatten';
12
12
  import AdaptableHelper from '../Utilities/Helpers/AdaptableHelper';
13
13
  export class TeamSharingModule extends AdaptableModuleBase {
14
+ SKIP_TEAMSHARING_UPDATE_ACTIONS = [
15
+ TEAMSHARING_GET,
16
+ TEAMSHARING_SET,
17
+ TEAMSHARING_SHARE,
18
+ TEAMSHARING_IMPORT_ITEM,
19
+ TEAMSHARING_PROCESS_IMPORT,
20
+ TEAMSHARING_REMOVE_ITEM,
21
+ TEAMSHARING_LINK_ITEM,
22
+ TEAMSHARING_UPDATE_ITEM,
23
+ ];
14
24
  constructor(api) {
15
25
  super(ModuleConstants.TeamSharingModuleId, ModuleConstants.TeamSharingFriendlyName, 'folder-shared', 'TeamSharingPopup', 'Team Sharing allows users to share - at run-time - Adaptable Objects between colleagues.', api);
16
- this.SKIP_TEAMSHARING_UPDATE_ACTIONS = [
17
- TEAMSHARING_GET,
18
- TEAMSHARING_SET,
19
- TEAMSHARING_SHARE,
20
- TEAMSHARING_IMPORT_ITEM,
21
- TEAMSHARING_PROCESS_IMPORT,
22
- TEAMSHARING_REMOVE_ITEM,
23
- TEAMSHARING_LINK_ITEM,
24
- TEAMSHARING_UPDATE_ITEM,
25
- ];
26
26
  }
27
27
  onAdaptableReady() {
28
28
  if (this.api.teamSharingApi.isTeamSharingAvailable()) {
@@ -1,8 +1,5 @@
1
1
  export const getFormatColumnSettingsViewItems = (formatColumn) => {
2
2
  let values = [];
3
- if (formatColumn.CellAlignment) {
4
- values.push(`Cell Alignment: ${formatColumn.CellAlignment}`);
5
- }
6
3
  if (formatColumn.RowScope) {
7
4
  if (formatColumn.RowScope.ExcludeDataRows) {
8
5
  values.push('Exclude Data Rows');
@@ -1,17 +1,18 @@
1
- export declare const HOST_URL_DOCS = "https://docs.adaptabletools.com";
2
- export declare const ExpressionEditorDocsLink = "https://docs.adaptabletools.com/guide/ui-expression-editor";
3
- export declare const BooleanQueryDocsLink = "https://docs.adaptabletools.com/guide/adaptable-ql-expression-standard";
4
- export declare const ScalarQueryDocsLink = "https://docs.adaptabletools.com/guide/adaptable-ql-expression-standard";
5
- export declare const ObservableQueryDocsLink = "https://docs.adaptabletools.com/guide/adaptable-ql-expression-observable";
6
- export declare const AggregatedBooleanQueryDocsLink = "https://docs.adaptabletools.com/guide/adaptable-ql-expression-aggregation";
7
- export declare const AggregatedScalarQueryDocsLink = "https://docs.adaptabletools.com/guide/adaptable-ql-expression-aggregation";
8
- export declare const CumulativeAggregatedScalarQueryDocsLink = "https://docs.adaptabletools.com/guide/adaptable-ql-expression-cumulative";
9
- export declare const QuantileAggregatedScalarQueryDocsLink = "https://docs.adaptabletools.com/guide/adaptable-ql-expression-quantile";
10
- export declare const PredicateDocsLink = "https://docs.adaptabletools.com/guide/adaptable-predicate";
11
- export declare const PrimaryKeyDocsLink = "https://docs.adaptabletools.com/guide/getting-started-primary-key";
12
- export declare const LicenseDocsLink = "https://docs.adaptabletools.com/guide/licensing";
13
- export declare const AdaptableOptionsDocsLink = "https://docs.adaptabletools.com/guide/reference-options-overview";
14
- export declare const AgGridModulesDocsLink = "https://docs.adaptabletools.com/guide/dev-guide-aggrid-modules-overview";
15
- export declare const AlertMessageDocsLink = "https://docs.adaptabletools.com/guide/handbook-alerting-message";
16
- export declare const FormatColumnPlaceholderDocsLink = "https://docs.adaptabletools.com/guide/handbook-column-formatting-display-format-placeholder";
17
- export declare const AgGridRequiredModulesDocsLink = "https://docs.adaptabletools.com/guide/dev-guide-aggrid-modules-overview#mandatory-modules";
1
+ export declare const HOST_URL_ROOT = "https://www.adaptabletools.com";
2
+ export declare const HOST_URL_DOCS = "https://www.adaptabletools.com/docs";
3
+ export declare const ExpressionEditorDocsLink = "https://www.adaptabletools.com/docs/ui-expression-editor";
4
+ export declare const BooleanQueryDocsLink = "https://www.adaptabletools.com/docs/adaptable-ql-expression-standard";
5
+ export declare const ScalarQueryDocsLink = "https://www.adaptabletools.com/docs/adaptable-ql-expression-standard";
6
+ export declare const ObservableQueryDocsLink = "https://www.adaptabletools.com/docs/adaptable-ql-expression-observable";
7
+ export declare const AggregatedBooleanQueryDocsLink = "https://www.adaptabletools.com/docs/adaptable-ql-expression-aggregation";
8
+ export declare const AggregatedScalarQueryDocsLink = "https://www.adaptabletools.com/docs/adaptable-ql-expression-aggregation";
9
+ export declare const CumulativeAggregatedScalarQueryDocsLink = "https://www.adaptabletools.com/docs/adaptable-ql-expression-cumulative";
10
+ export declare const QuantileAggregatedScalarQueryDocsLink = "https://www.adaptabletools.com/docs/adaptable-ql-expression-quantile";
11
+ export declare const PredicateDocsLink = "https://www.adaptabletools.com/docs/adaptable-predicate";
12
+ export declare const PrimaryKeyDocsLink = "https://www.adaptabletools.com/docs/getting-started-primary-key";
13
+ export declare const LicenseDocsLink = "https://www.adaptabletools.com/buy/buying-adaptable-licensing";
14
+ export declare const AdaptableOptionsDocsLink = "https://www.adaptabletools.com/docs/technical-reference-adaptable-options";
15
+ export declare const AgGridModulesDocsLink = "https://www.adaptabletools.com/docs/getting-started-aggrid-modules";
16
+ export declare const AlertMessageDocsLink = "https://www.adaptabletools.com/docs/handbook-alerting-message";
17
+ export declare const FormatColumnPlaceholderDocsLink = "https://www.adaptabletools.com/docs/handbook-column-formatting-display-format-placeholder";
18
+ export declare const AgGridRequiredModulesDocsLink = "https://www.adaptabletools.com/docs/getting-started-aggrid-modules#mandatory-modules";
@@ -1,18 +1,19 @@
1
- export const HOST_URL_DOCS = 'https://docs.adaptabletools.com';
1
+ export const HOST_URL_ROOT = 'https://www.adaptabletools.com';
2
+ export const HOST_URL_DOCS = `${HOST_URL_ROOT}/docs`;
2
3
  //export const HOST_URL_DOCS = 'http://localhost:3000';
3
- export const ExpressionEditorDocsLink = `${HOST_URL_DOCS}/guide/ui-expression-editor`;
4
- export const BooleanQueryDocsLink = `${HOST_URL_DOCS}/guide/adaptable-ql-expression-standard`;
5
- export const ScalarQueryDocsLink = `${HOST_URL_DOCS}/guide/adaptable-ql-expression-standard`;
6
- export const ObservableQueryDocsLink = `${HOST_URL_DOCS}/guide/adaptable-ql-expression-observable`;
7
- export const AggregatedBooleanQueryDocsLink = `${HOST_URL_DOCS}/guide/adaptable-ql-expression-aggregation`;
8
- export const AggregatedScalarQueryDocsLink = `${HOST_URL_DOCS}/guide/adaptable-ql-expression-aggregation`;
9
- export const CumulativeAggregatedScalarQueryDocsLink = `${HOST_URL_DOCS}/guide/adaptable-ql-expression-cumulative`;
10
- export const QuantileAggregatedScalarQueryDocsLink = `${HOST_URL_DOCS}/guide/adaptable-ql-expression-quantile`;
11
- export const PredicateDocsLink = `${HOST_URL_DOCS}/guide/adaptable-predicate`;
12
- export const PrimaryKeyDocsLink = `${HOST_URL_DOCS}/guide/getting-started-primary-key`;
13
- export const LicenseDocsLink = `${HOST_URL_DOCS}/guide/licensing`;
14
- export const AdaptableOptionsDocsLink = `${HOST_URL_DOCS}/guide/reference-options-overview`;
15
- export const AgGridModulesDocsLink = `${HOST_URL_DOCS}/guide/dev-guide-aggrid-modules-overview`;
16
- export const AlertMessageDocsLink = `${HOST_URL_DOCS}/guide/handbook-alerting-message`;
17
- export const FormatColumnPlaceholderDocsLink = `${HOST_URL_DOCS}/guide/handbook-column-formatting-display-format-placeholder`;
18
- export const AgGridRequiredModulesDocsLink = `${HOST_URL_DOCS}/guide/dev-guide-aggrid-modules-overview#mandatory-modules`;
4
+ export const ExpressionEditorDocsLink = `${HOST_URL_DOCS}/ui-expression-editor`;
5
+ export const BooleanQueryDocsLink = `${HOST_URL_DOCS}/adaptable-ql-expression-standard`;
6
+ export const ScalarQueryDocsLink = `${HOST_URL_DOCS}/adaptable-ql-expression-standard`;
7
+ export const ObservableQueryDocsLink = `${HOST_URL_DOCS}/adaptable-ql-expression-observable`;
8
+ export const AggregatedBooleanQueryDocsLink = `${HOST_URL_DOCS}/adaptable-ql-expression-aggregation`;
9
+ export const AggregatedScalarQueryDocsLink = `${HOST_URL_DOCS}/adaptable-ql-expression-aggregation`;
10
+ export const CumulativeAggregatedScalarQueryDocsLink = `${HOST_URL_DOCS}/adaptable-ql-expression-cumulative`;
11
+ export const QuantileAggregatedScalarQueryDocsLink = `${HOST_URL_DOCS}/adaptable-ql-expression-quantile`;
12
+ export const PredicateDocsLink = `${HOST_URL_DOCS}/adaptable-predicate`;
13
+ export const PrimaryKeyDocsLink = `${HOST_URL_DOCS}/getting-started-primary-key`;
14
+ export const LicenseDocsLink = `${HOST_URL_ROOT}/buy/buying-adaptable-licensing`;
15
+ export const AdaptableOptionsDocsLink = `${HOST_URL_DOCS}/technical-reference-adaptable-options`;
16
+ export const AgGridModulesDocsLink = `${HOST_URL_DOCS}/getting-started-aggrid-modules`;
17
+ export const AlertMessageDocsLink = `${HOST_URL_DOCS}/handbook-alerting-message`;
18
+ export const FormatColumnPlaceholderDocsLink = `${HOST_URL_DOCS}/handbook-column-formatting-display-format-placeholder`;
19
+ export const AgGridRequiredModulesDocsLink = `${HOST_URL_DOCS}/getting-started-aggrid-modules#mandatory-modules`;
@@ -1,5 +1,8 @@
1
1
  const SORT_ASC_REVISION = (p1, p2) => sortAscending(p1.revision, p2.revision);
2
2
  export class DeepMap {
3
+ map = new Map();
4
+ length = 0;
5
+ revision = 0;
3
6
  static clone(map) {
4
7
  const clone = new DeepMap();
5
8
  map.visit((pair, keys) => {
@@ -8,37 +11,6 @@ export class DeepMap {
8
11
  return clone;
9
12
  }
10
13
  constructor(initial) {
11
- this.map = new Map();
12
- this.length = 0;
13
- this.revision = 0;
14
- this.visit = (fn) => {
15
- this.map.forEach((_, k) => this.visitKey(k, this.map, [], fn));
16
- };
17
- this.visitDepthFirst = (fn) => {
18
- this.visitWithNext([], fn);
19
- };
20
- this.visitWithNext = (parentKeys, fn, currentMap = this.map) => {
21
- if (!currentMap) {
22
- return;
23
- }
24
- let i = 0;
25
- currentMap.forEach((_, key) => {
26
- const pair = currentMap.get(key);
27
- if (!pair) {
28
- return;
29
- }
30
- const { map } = pair;
31
- const keys = [...parentKeys, key];
32
- const next = map ? () => this.visitWithNext(keys, fn, map) : undefined;
33
- if (pair.hasOwnProperty('value')) {
34
- fn(pair.value, keys, i, next);
35
- i++;
36
- }
37
- else {
38
- next?.();
39
- }
40
- });
41
- };
42
14
  if (initial) {
43
15
  initial.forEach((entry) => {
44
16
  const [keys, value] = entry;
@@ -222,6 +194,34 @@ export class DeepMap {
222
194
  // if it was called by fn, it won't be called again, as it's once-d
223
195
  next();
224
196
  }
197
+ visit = (fn) => {
198
+ this.map.forEach((_, k) => this.visitKey(k, this.map, [], fn));
199
+ };
200
+ visitDepthFirst = (fn) => {
201
+ this.visitWithNext([], fn);
202
+ };
203
+ visitWithNext = (parentKeys, fn, currentMap = this.map) => {
204
+ if (!currentMap) {
205
+ return;
206
+ }
207
+ let i = 0;
208
+ currentMap.forEach((_, key) => {
209
+ const pair = currentMap.get(key);
210
+ if (!pair) {
211
+ return;
212
+ }
213
+ const { map } = pair;
214
+ const keys = [...parentKeys, key];
215
+ const next = map ? () => this.visitWithNext(keys, fn, map) : undefined;
216
+ if (pair.hasOwnProperty('value')) {
217
+ fn(pair.value, keys, i, next);
218
+ i++;
219
+ }
220
+ else {
221
+ next?.();
222
+ }
223
+ });
224
+ };
225
225
  getArray(fn) {
226
226
  const result = [];
227
227
  this.visit((pair, keys) => {
@@ -639,7 +639,7 @@ export const scalarExpressionFunctions = {
639
639
  }
640
640
  return result;
641
641
  },
642
- description: "Returns the percentage difference between a cell's current value and its previous value.",
642
+ description: "Returns percentage difference between a cell's current value and previous value",
643
643
  signatures: [
644
644
  'PERCENT_CHANGE( [colName], <INCREASE|DECREASE> )',
645
645
  'PERCENT_CHANGE( COL(name: string), <INCREASE|DECREASE> )',
@@ -684,7 +684,7 @@ export const scalarExpressionFunctions = {
684
684
  }
685
685
  return result;
686
686
  },
687
- description: "Returns the absolute difference between a cell's current value and its previous value.",
687
+ description: "Returns absolute difference between a cell's current value and previous value",
688
688
  signatures: [
689
689
  'ABSOLUTE_CHANGE( [colName] )',
690
690
  'ABSOLUTE_CHANGE( COL(name: string) )',
@@ -716,7 +716,7 @@ export const scalarExpressionFunctions = {
716
716
  const previousValue = context.dataChangedEvent.oldValue;
717
717
  return currentColumnValue !== previousValue;
718
718
  },
719
- description: "Returns true if a cell's current value is different from its previous value, otherwise false. If no column is provided, it checks if any value has changed.",
719
+ description: "Returns true if cell's current value is different from previous value, otherwise false; if no column is provided, it checks if any value has changed",
720
720
  signatures: ['ANY_CHANGE( [colName] )', 'ANY_CHANGE()'],
721
721
  examples: ['ANY_CHANGE([col1])', 'ANY_CHANGE()'],
722
722
  category: 'changes',
@@ -17,6 +17,7 @@ export declare function Humanize(str: string): string;
17
17
  export declare function ReplaceEmptySpacesWithUnderscore(str?: string): string;
18
18
  export declare function IsNumeric(str: string): boolean;
19
19
  export declare function UnescapeHtmlEntities(str: string): string;
20
+ export declare function ReplaceAllOccurencesExceptLastOne(str: string, searchTerm: string, replacement: string): string;
20
21
  export declare const StringExtensions: {
21
22
  IsNull: typeof IsNull;
22
23
  IsNotNull: typeof IsNotNull;
@@ -37,5 +38,6 @@ export declare const StringExtensions: {
37
38
  ReplaceEmptySpacesWithUnderscore: typeof ReplaceEmptySpacesWithUnderscore;
38
39
  IsNumeric: typeof IsNumeric;
39
40
  UnescapeHtmlEntities: typeof UnescapeHtmlEntities;
41
+ ReplaceAllOccurencesExceptLastOne: typeof ReplaceAllOccurencesExceptLastOne;
40
42
  };
41
43
  export default StringExtensions;
@@ -92,6 +92,21 @@ export function UnescapeHtmlEntities(str) {
92
92
  }
93
93
  return preparedStr;
94
94
  }
95
+ export function ReplaceAllOccurencesExceptLastOne(str, searchTerm, replacement) {
96
+ // Find the index of the last occurrence of the search string
97
+ const lastIndex = str.lastIndexOf(searchTerm);
98
+ // If the string is not found, return the original string
99
+ if (lastIndex === -1) {
100
+ return str;
101
+ }
102
+ // Slice the string into two parts: before and after the last occurrence
103
+ const partBeforeLast = str.slice(0, lastIndex);
104
+ const partAfterLast = str.slice(lastIndex);
105
+ // Replace all occurrences in the first part
106
+ const replacedPart = partBeforeLast.replaceAll(searchTerm, replacement);
107
+ // Recombine the modified first part with the untouched second part
108
+ return replacedPart + partAfterLast;
109
+ }
95
110
  export const StringExtensions = {
96
111
  IsNull,
97
112
  IsNotNull,
@@ -112,5 +127,6 @@ export const StringExtensions = {
112
127
  ReplaceEmptySpacesWithUnderscore,
113
128
  IsNumeric,
114
129
  UnescapeHtmlEntities,
130
+ ReplaceAllOccurencesExceptLastOne,
115
131
  };
116
132
  export default StringExtensions;
@@ -28,7 +28,6 @@ export function NumberFormatter(input, options = {}, rowNode, column, api) {
28
28
  if (isNaN(n)) {
29
29
  return preparedInput.toString();
30
30
  }
31
- const fractionsSepatator = options.FractionSeparator ? options.FractionSeparator : '.';
32
31
  let multiplier = options.Multiplier ? options.Multiplier : 1;
33
32
  if (options.Multiplier !== undefined) {
34
33
  n *= multiplier;
@@ -65,6 +64,7 @@ export function NumberFormatter(input, options = {}, rowNode, column, api) {
65
64
  }
66
65
  let s;
67
66
  let digitsToUse;
67
+ const fractionsSepatator = options.FractionSeparator ?? '.';
68
68
  if (options.Truncate || options.Ceiling || options.Round || options.Floor) {
69
69
  digitsToUse = 0;
70
70
  }
@@ -84,7 +84,14 @@ export function NumberFormatter(input, options = {}, rowNode, column, api) {
84
84
  s = s.replace(/\./g, options.FractionSeparator);
85
85
  }
86
86
  if (options.IntegerSeparator !== undefined) {
87
- s = s.replace(/\,/g, options.IntegerSeparator);
87
+ // if fraction separator is not a comma then simply replace all instances
88
+ if (options.FractionSeparator !== ',') {
89
+ s = s.replace(/\,/g, options.IntegerSeparator);
90
+ }
91
+ else {
92
+ // otherwise don't replace the last instance
93
+ s = StringExtensions.ReplaceAllOccurencesExceptLastOne(s, ',', options.IntegerSeparator);
94
+ }
88
95
  }
89
96
  s = (options.Prefix || '') + s + (options.Suffix || '');
90
97
  if (options.Parentheses === true && preparedInput < 0) {
@@ -80,6 +80,20 @@ export const convertAdaptableStyleToCSS = (style) => {
80
80
  break;
81
81
  }
82
82
  }
83
+ if (style.Alignment) {
84
+ switch (style.Alignment) {
85
+ case 'Default':
86
+ case 'Left':
87
+ result.textAlign = 'left';
88
+ break;
89
+ case 'Right':
90
+ result.textAlign = 'right';
91
+ break;
92
+ case 'Center':
93
+ result.textAlign = 'center';
94
+ break;
95
+ }
96
+ }
83
97
  // assertion added to comply with the ag-Grid types
84
98
  return result;
85
99
  };
@@ -11,6 +11,12 @@ export class MenuItemDoReduxAction {
11
11
  };
12
12
  this.reduxAction = reduxAction;
13
13
  }
14
+ name;
15
+ reduxAction;
16
+ label;
17
+ category;
18
+ isVisible;
19
+ icon;
14
20
  }
15
21
  export class MenuItemDoClickFunction {
16
22
  constructor(name, label, module, clickFunction, icon, isVisible) {
@@ -23,6 +29,12 @@ export class MenuItemDoClickFunction {
23
29
  };
24
30
  this.onClick = clickFunction;
25
31
  }
32
+ name;
33
+ onClick;
34
+ label;
35
+ category;
36
+ isVisible;
37
+ icon;
26
38
  }
27
39
  // A menu item which shows a popup screen when it is clieked
28
40
  export class MenuItemShowPopup {
@@ -36,4 +48,10 @@ export class MenuItemShowPopup {
36
48
  };
37
49
  this.reduxAction = PopupRedux.PopupShowScreen(module, componentName, popupParams);
38
50
  }
51
+ name;
52
+ reduxAction;
53
+ label;
54
+ category;
55
+ isVisible;
56
+ icon;
39
57
  }
@@ -6,7 +6,7 @@ import { Bounce, Flip, Slide, Zoom } from '../components/Toastify';
6
6
  import { BLACK, getHexForName, LIGHT_GRAY } from '../View/UIHelper';
7
7
  import { isPivotLayout } from '../Api/Implementation/LayoutHelpers';
8
8
  export function CreateEmptyCustomSort() {
9
- return { Uuid: createUuid(), ColumnId: EMPTY_STRING, SortedValues: [] };
9
+ return { Uuid: createUuid(), Name: EMPTY_STRING, ColumnId: EMPTY_STRING, SortedValues: [] };
10
10
  }
11
11
  export function CreateAdaptableComment(text, api) {
12
12
  const comment = {
@@ -44,6 +44,7 @@ export function CreateEmptyNamedQuery(expression) {
44
44
  export function CreateEmptyPlusMinusNudge() {
45
45
  return {
46
46
  Uuid: createUuid(),
47
+ Name: EMPTY_STRING,
47
48
  Scope: undefined,
48
49
  Rule: undefined,
49
50
  NudgeValue: PLUS_MINUS_DEFAULT_NUDGE_VALUE,
@@ -81,6 +82,7 @@ export function CreateRowChangedAlert(alertHeader, alertMessage, alertDefinition
81
82
  export function CreateEmptyAlertDefinition() {
82
83
  return {
83
84
  Uuid: createUuid(),
85
+ Name: EMPTY_STRING,
84
86
  Scope: { All: true },
85
87
  Rule: {
86
88
  Predicates: [],
@@ -92,6 +94,7 @@ export function CreateEmptyAlertDefinition() {
92
94
  export function CreateEmptyFlashingCellDefinition() {
93
95
  return {
94
96
  Uuid: createUuid(),
97
+ Name: EMPTY_STRING,
95
98
  Scope: { ColumnIds: [] },
96
99
  Rule: {
97
100
  Predicates: [
@@ -108,6 +111,7 @@ export function CreateInternalAlertDefinitionForMessages(messageType, alertPrope
108
111
  };
109
112
  return {
110
113
  Uuid: createUuid(),
114
+ Name: EMPTY_STRING,
111
115
  Scope: undefined,
112
116
  Rule: {
113
117
  Predicates: [],
@@ -129,6 +133,7 @@ export function CreateEmptyReport() {
129
133
  export function CreateEmptyBaseSchedule(scheduleType) {
130
134
  return {
131
135
  Uuid: createUuid(),
136
+ Name: EMPTY_STRING,
132
137
  ScheduleType: scheduleType,
133
138
  Schedule: CreateEmptySchedule(),
134
139
  };
@@ -136,6 +141,7 @@ export function CreateEmptyBaseSchedule(scheduleType) {
136
141
  export function CreateEmptyReminderSchedule() {
137
142
  return {
138
143
  Uuid: createUuid(),
144
+ Name: EMPTY_STRING,
139
145
  ScheduleType: ScheduleType.Reminder,
140
146
  Schedule: CreateEmptySchedule(),
141
147
  Header: EMPTY_STRING,
@@ -148,6 +154,7 @@ export function CreateEmptyReminderSchedule() {
148
154
  export function CreateEmptyReportSchedule() {
149
155
  return {
150
156
  Uuid: createUuid(),
157
+ Name: EMPTY_STRING,
151
158
  ScheduleType: ScheduleType.Report,
152
159
  Schedule: CreateEmptySchedule(),
153
160
  ReportName: EMPTY_STRING,
@@ -172,6 +179,7 @@ export function CreateEmptyOpenFinReport() {
172
179
  export function CreateEmptyIPushPullSchedule() {
173
180
  return {
174
181
  Uuid: createUuid(),
182
+ Name: EMPTY_STRING,
175
183
  ScheduleType: ScheduleType.ipushpull,
176
184
  Schedule: CreateEmptySchedule(),
177
185
  IPushPullReport: CreateEmptyIPushPullReport(),
@@ -181,6 +189,7 @@ export function CreateEmptyIPushPullSchedule() {
181
189
  export function CreateEmptyOpenFinSchedule() {
182
190
  return {
183
191
  Uuid: createUuid(),
192
+ Name: EMPTY_STRING,
184
193
  ScheduleType: ScheduleType.OpenFin,
185
194
  Schedule: CreateEmptySchedule(),
186
195
  OpenFinReport: CreateEmptyOpenFinReport(),
@@ -190,6 +199,7 @@ export function CreateEmptyOpenFinSchedule() {
190
199
  export function CreateIPushPullSchedule(iPushPullReport) {
191
200
  return {
192
201
  Uuid: createUuid(),
202
+ Name: EMPTY_STRING,
193
203
  ScheduleType: ScheduleType.ipushpull,
194
204
  Schedule: CreateEmptySchedule(),
195
205
  IPushPullReport: iPushPullReport,
@@ -199,6 +209,7 @@ export function CreateIPushPullSchedule(iPushPullReport) {
199
209
  export function CreateReportSchedule(reportName, reportFormat) {
200
210
  return {
201
211
  Uuid: createUuid(),
212
+ Name: EMPTY_STRING,
202
213
  ScheduleType: ScheduleType.Report,
203
214
  Schedule: CreateEmptySchedule(),
204
215
  ReportName: reportName,
@@ -207,7 +218,6 @@ export function CreateReportSchedule(reportName, reportFormat) {
207
218
  }
208
219
  export function CreateEmptySchedule() {
209
220
  return {
210
- Uuid: createUuid(),
211
221
  OneOffDate: undefined,
212
222
  DaysOfWeek: [],
213
223
  Hour: 0,
@@ -217,6 +227,7 @@ export function CreateEmptySchedule() {
217
227
  export function CreateEmptyShortcut() {
218
228
  return {
219
229
  Uuid: createUuid(),
230
+ Name: EMPTY_STRING,
220
231
  Scope: undefined,
221
232
  ShortcutKey: EMPTY_STRING,
222
233
  ShortcutValue: undefined,
@@ -225,10 +236,11 @@ export function CreateEmptyShortcut() {
225
236
  }
226
237
  export function CreateEmptyFormatColumn() {
227
238
  return {
239
+ Uuid: createUuid(),
240
+ Name: EMPTY_STRING,
228
241
  Scope: undefined,
229
242
  Style: CreateEmptyStyle(),
230
243
  DisplayFormat: undefined,
231
- CellAlignment: undefined,
232
244
  RowScope: undefined,
233
245
  Target: 'cell',
234
246
  };
@@ -292,6 +304,7 @@ export function CreateEmptyStyle() {
292
304
  FontStyle: undefined,
293
305
  FontSize: undefined,
294
306
  ClassName: undefined,
307
+ Alignment: undefined,
295
308
  };
296
309
  }
297
310
  export function CreateSystemStatusMessageInfo(message, type, furtherInfo) {
@@ -8,6 +8,14 @@ const logOnce = (message, loggingFn) => {
8
8
  doOnceFlags[message] = true;
9
9
  };
10
10
  export class AggregatedScalarLiveValue {
11
+ source;
12
+ requestingModule;
13
+ adaptableApi;
14
+ getRowNodes;
15
+ aggregationReducerName;
16
+ aggregatedScalarExpression;
17
+ expressionEvaluation;
18
+ aggregationResult;
11
19
  constructor(source, requestingModule, adaptableApi, getRowNodes) {
12
20
  this.source = source;
13
21
  this.requestingModule = requestingModule;
@@ -3,12 +3,11 @@ import Emitter from '../Emitter';
3
3
  import { combineLatest, of } from 'rxjs';
4
4
  import { AlertModuleId } from '../Constants/ModuleConstants';
5
5
  export class AlertService {
6
+ adaptableApi;
7
+ emitter;
8
+ reactiveAlertsMap = new Map();
6
9
  constructor(adaptableApi) {
7
10
  this.adaptableApi = adaptableApi;
8
- this.reactiveAlertsMap = new Map();
9
- this.onReactiveAlertTriggered = (callback) => {
10
- return this.emitter.on('ReactiveAlertTriggered', callback);
11
- };
12
11
  this.emitter = new Emitter();
13
12
  }
14
13
  destroy() {
@@ -18,6 +17,9 @@ export class AlertService {
18
17
  this.reactiveAlertsMap.clear();
19
18
  this.reactiveAlertsMap = null;
20
19
  }
20
+ onReactiveAlertTriggered = (callback) => {
21
+ return this.emitter.on('ReactiveAlertTriggered', callback);
22
+ };
21
23
  createReactiveAlert(alertDefinition) {
22
24
  // if there is already a reactive alert for this definition, delete it (possible in case of editing definitions),
23
25
  this.deleteReactiveAlert(alertDefinition);
@@ -5,6 +5,9 @@ import ArrayExtensions from '../Extensions/ArrayExtensions';
5
5
  * If there are active Notes or Comments it listens to Cell Selection and Mouse Enter events
6
6
  */
7
7
  export class AnnotationsService {
8
+ api;
9
+ adaptable;
10
+ isListeningToEvents;
8
11
  constructor(api) {
9
12
  this.api = api;
10
13
  this.isListeningToEvents = false;
@@ -25,7 +28,7 @@ export class AnnotationsService {
25
28
  if (a?.ColumnId === b?.ColumnId && a?.PrimaryKeyValue === b?.PrimaryKeyValue) {
26
29
  return true;
27
30
  }
28
- // Primary keys retreived from the grid dom are always strings, so we must also consider them strings
31
+ // Primary keys retrieved from the grid dom are always strings, so we must also consider them strings
29
32
  if ((typeof a.PrimaryKeyValue === 'number' && typeof b.PrimaryKeyValue === 'string') ||
30
33
  (typeof b.PrimaryKeyValue === 'string' && typeof a.PrimaryKeyValue === 'number')) {
31
34
  return (a.PrimaryKeyValue.toString() === b.PrimaryKeyValue.toString() && a.ColumnId === b.ColumnId);
@@ -1,9 +1,10 @@
1
1
  import { CalculatedColumnModuleId } from '../Constants/ModuleConstants';
2
2
  import { AggregatedScalarLiveValue } from './AggregatedScalarLiveValue';
3
3
  export class CalculatedColumnExpressionService {
4
+ adaptableApi;
5
+ aggregatedScalarLiveValuesMap = new Map();
4
6
  constructor(adaptableApi) {
5
7
  this.adaptableApi = adaptableApi;
6
- this.aggregatedScalarLiveValuesMap = new Map();
7
8
  this.adaptableApi = adaptableApi;
8
9
  }
9
10
  listentoCellDataChange(cellDataChangedInfo) {
@@ -1,6 +1,7 @@
1
1
  import * as InternalRedux from '../../Redux/ActionsReducers/InternalRedux';
2
2
  import ObjectFactory from '../ObjectFactory';
3
3
  export class ChartingService {
4
+ api;
4
5
  constructor(api) {
5
6
  this.api = api;
6
7
  }