@adaptabletools/adaptable 12.2.2 → 14.0.0-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. package/base.css +2 -2
  2. package/bundle.cjs.js +419 -143
  3. package/index.css +2 -2
  4. package/package.json +3 -3
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +3 -2
  8. package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -2
  9. package/src/AdaptableOptions/ActionOptions.d.ts +1 -1
  10. package/src/AdaptableOptions/AdaptableOptions.d.ts +1 -5
  11. package/src/AdaptableOptions/AdaptablePlugin.d.ts +1 -1
  12. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +1 -1
  13. package/src/AdaptableOptions/ColumnOptions.d.ts +1 -1
  14. package/src/AdaptableOptions/EntitlementOptions.d.ts +15 -0
  15. package/src/AdaptableOptions/GeneralOptions.d.ts +1 -1
  16. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -1
  17. package/src/Api/ChartingApi.d.ts +1 -1
  18. package/src/Api/ColumnApi.d.ts +1 -1
  19. package/src/Api/Events/ActionRowSubmitted.d.ts +1 -1
  20. package/src/Api/Events/AdaptableReady.d.ts +1 -1
  21. package/src/Api/Events/GridDataChanged.d.ts +1 -1
  22. package/src/Api/ExportApi.d.ts +5 -1
  23. package/src/Api/FilterApi.d.ts +1 -1
  24. package/src/Api/FinanceApi.d.ts +1 -1
  25. package/src/Api/FormatColumnApi.d.ts +1 -1
  26. package/src/Api/FreeTextColumnApi.d.ts +1 -1
  27. package/src/Api/GridApi.d.ts +4 -3
  28. package/src/Api/Implementation/ActionApiImpl.js +5 -5
  29. package/src/Api/Implementation/AlertApiImpl.js +9 -9
  30. package/src/Api/Implementation/ApiBase.js +3 -3
  31. package/src/Api/Implementation/CellSummaryApiImpl.d.ts +1 -1
  32. package/src/Api/Implementation/CellSummaryApiImpl.js +5 -2
  33. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
  34. package/src/Api/Implementation/ChartingApiImpl.js +1 -1
  35. package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
  36. package/src/Api/Implementation/ColumnApiImpl.js +1 -1
  37. package/src/Api/Implementation/ConfigApiImpl.js +2 -2
  38. package/src/Api/Implementation/DashboardApiImpl.js +2 -2
  39. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -5
  40. package/src/Api/Implementation/ExportApiImpl.js +2 -2
  41. package/src/Api/Implementation/FilterApiImpl.d.ts +1 -1
  42. package/src/Api/Implementation/FilterApiImpl.js +6 -6
  43. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -1
  44. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
  45. package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
  46. package/src/Api/Implementation/GridApiImpl.d.ts +3 -3
  47. package/src/Api/Implementation/GridApiImpl.js +12 -12
  48. package/src/Api/Implementation/InternalApiImpl.d.ts +1 -1
  49. package/src/Api/Implementation/InternalApiImpl.js +5 -5
  50. package/src/Api/Implementation/LayoutApiImpl.js +12 -12
  51. package/src/Api/Implementation/PredicateApiImpl.js +3 -3
  52. package/src/Api/Implementation/QueryApiImpl.js +6 -6
  53. package/src/Api/Implementation/QueryLanguageApiImpl.js +5 -5
  54. package/src/Api/Implementation/ScopeApiImpl.js +3 -3
  55. package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
  56. package/src/Api/Implementation/StatusBarApiImpl.d.ts +1 -1
  57. package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
  58. package/src/Api/Implementation/SystemStatusApiImpl.js +9 -9
  59. package/src/Api/Implementation/TeamSharingApiImpl.js +10 -10
  60. package/src/Api/InternalApi.d.ts +1 -1
  61. package/src/Api/StatusBarApi.d.ts +1 -1
  62. package/src/PredefinedConfig/ChartingState.d.ts +1 -1
  63. package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +1 -1
  64. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +1 -1
  65. package/src/PredefinedConfig/Common/AdaptablePredicate.js +17 -17
  66. package/src/PredefinedConfig/Common/CellDataChangedInfo.d.ts +1 -1
  67. package/src/PredefinedConfig/Common/Menu.d.ts +1 -1
  68. package/src/PredefinedConfig/Selection/GridCell.d.ts +1 -1
  69. package/src/PredefinedConfig/Selection/GridRow.d.ts +1 -1
  70. package/src/PredefinedConfig/Uuid.js +1 -1
  71. package/src/Redux/ActionsReducers/AlertRedux.js +2 -2
  72. package/src/Redux/ActionsReducers/ChartingRedux.d.ts +1 -1
  73. package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +2 -2
  74. package/src/Redux/ActionsReducers/CustomSortRedux.js +2 -2
  75. package/src/Redux/ActionsReducers/FlashingCellRedux.js +2 -2
  76. package/src/Redux/ActionsReducers/FormatColumnRedux.js +2 -2
  77. package/src/Redux/ActionsReducers/GridRedux.d.ts +1 -1
  78. package/src/Redux/ActionsReducers/PlusMinusRedux.js +2 -2
  79. package/src/Redux/ActionsReducers/ScheduleRedux.js +10 -10
  80. package/src/Redux/ActionsReducers/ShortcutRedux.js +2 -2
  81. package/src/Redux/ActionsReducers/SystemRedux.js +2 -2
  82. package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +8 -8
  83. package/src/Redux/Store/AdaptableReduxMerger.js +9 -9
  84. package/src/Redux/Store/AdaptableStore.js +23 -23
  85. package/src/Strategy/AlertModule.js +6 -6
  86. package/src/Strategy/CalculatedColumnModule.js +4 -4
  87. package/src/Strategy/ConditionalStyleModule.js +8 -8
  88. package/src/Strategy/CustomSortModule.js +3 -3
  89. package/src/Strategy/DashboardModule.js +1 -1
  90. package/src/Strategy/DataChangeHistoryModule.js +1 -1
  91. package/src/Strategy/DataSetModule.js +2 -2
  92. package/src/Strategy/ExportModule.js +4 -4
  93. package/src/Strategy/FilterModule.js +1 -1
  94. package/src/Strategy/FlashingCellModule.js +7 -7
  95. package/src/Strategy/FormatColumnModule.js +8 -8
  96. package/src/Strategy/FreeTextColumnModule.js +1 -1
  97. package/src/Strategy/LayoutModule.js +2 -2
  98. package/src/Strategy/PlusMinusModule.js +3 -3
  99. package/src/Strategy/QueryModule.js +1 -1
  100. package/src/Strategy/ScheduleModule.js +2 -2
  101. package/src/Strategy/ShortcutModule.js +3 -3
  102. package/src/Strategy/StatusBarModule.d.ts +1 -1
  103. package/src/Strategy/TeamSharingModule.js +6 -6
  104. package/src/Strategy/ToolPanelModule.js +4 -4
  105. package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +2 -2
  106. package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +1 -1
  107. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
  108. package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
  109. package/src/Utilities/Constants/GeneralConstants.js +2 -2
  110. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +3 -3
  111. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +3 -3
  112. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -1
  113. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +35 -35
  114. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +18 -18
  115. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +10 -10
  116. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +48 -48
  117. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +19 -19
  118. package/src/Utilities/Extensions/StringExtensions.js +1 -1
  119. package/src/Utilities/Helpers/AdaptableHelper.js +5 -5
  120. package/src/Utilities/Helpers/DateHelper.js +9 -9
  121. package/src/Utilities/Helpers/FormatHelper.js +2 -2
  122. package/src/Utilities/Helpers/Helper.js +3 -9
  123. package/src/Utilities/Helpers/LoggingHelper.js +1 -1
  124. package/src/Utilities/Helpers/StyleHelper.js +1 -1
  125. package/src/Utilities/Interface/Preview.d.ts +1 -1
  126. package/src/Utilities/ObjectFactory.d.ts +1 -1
  127. package/src/Utilities/ObjectFactory.js +30 -30
  128. package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -1
  129. package/src/Utilities/Services/AggregatedScalarLiveValue.js +1 -1
  130. package/src/Utilities/Services/AlertService.js +3 -3
  131. package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +1 -1
  132. package/src/Utilities/Services/CalculatedColumnExpressionService.js +3 -3
  133. package/src/Utilities/Services/DataService.js +1 -1
  134. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +1 -1
  135. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +1 -1
  136. package/src/Utilities/Services/Interface/IReportService.d.ts +1 -1
  137. package/src/Utilities/Services/Interface/IRowEditService.d.ts +1 -1
  138. package/src/Utilities/Services/LicenseService.js +1 -1
  139. package/src/Utilities/Services/MetamodelService.js +3 -3
  140. package/src/Utilities/Services/QueryLanguageService.d.ts +1 -1
  141. package/src/Utilities/Services/QueryLanguageService.js +2 -2
  142. package/src/Utilities/Services/ReportService.d.ts +1 -1
  143. package/src/Utilities/Services/ReportService.js +7 -7
  144. package/src/Utilities/Services/RowEditService.d.ts +1 -1
  145. package/src/Utilities/Services/TeamSharingService.js +1 -1
  146. package/src/Utilities/license/decode.js +1 -1
  147. package/src/View/AdaptableView.js +2 -2
  148. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +1 -1
  149. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +10 -10
  150. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +1 -1
  151. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +3 -3
  152. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +1 -1
  153. package/src/View/AdaptableWizardView/Wizard.js +6 -6
  154. package/src/View/AdaptableWizardView/helper.d.ts +1 -1
  155. package/src/View/AdaptableWizardView/helper.js +1 -1
  156. package/src/View/Alert/ActiveAlertsPanel.js +2 -2
  157. package/src/View/Alert/AlertEmptyView.js +1 -1
  158. package/src/View/Alert/AlertEntityRow.js +1 -1
  159. package/src/View/Alert/AlertStatusSubPanel.js +3 -3
  160. package/src/View/Alert/AlertViewPanel.js +2 -2
  161. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +5 -5
  162. package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -2
  163. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +2 -2
  164. package/src/View/Alert/Wizard/AlertWizard.js +4 -4
  165. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +1 -1
  166. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
  167. package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
  168. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +2 -2
  169. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  170. package/src/View/CalculatedColumn/CalculatedColumnSummary.js +1 -1
  171. package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +3 -3
  172. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +3 -3
  173. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +4 -4
  174. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +5 -5
  175. package/src/View/CellSummary/CellSummaryPopup.js +1 -1
  176. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +1 -1
  177. package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -2
  178. package/src/View/CellSummary/CellSummaryViewPanel.js +1 -1
  179. package/src/View/ColorPicker.d.ts +1 -1
  180. package/src/View/ColorPicker.js +2 -2
  181. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  182. package/src/View/Components/AdaptableDateInput/index.js +4 -4
  183. package/src/View/Components/AdaptableInput/index.js +1 -1
  184. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -4
  185. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -4
  186. package/src/View/Components/AdaptableObjectRow/index.js +1 -1
  187. package/src/View/Components/Buttons/ButtonBase/index.js +1 -1
  188. package/src/View/Components/Buttons/ButtonDelete.js +1 -1
  189. package/src/View/Components/ColumnSelector/index.js +1 -1
  190. package/src/View/Components/EntityRulesEditor/index.js +3 -3
  191. package/src/View/Components/ExpressionWizard.js +1 -1
  192. package/src/View/Components/ExternalRenderer.js +1 -1
  193. package/src/View/Components/FilterForm/FilterForm.js +7 -7
  194. package/src/View/Components/FilterForm/ListBoxFilterForm.js +4 -4
  195. package/src/View/Components/FilterForm/QuickFilterForm.js +13 -13
  196. package/src/View/Components/ListBox/DualListBoxEditor.js +10 -10
  197. package/src/View/Components/ModuleValueSelector/index.js +6 -6
  198. package/src/View/Components/NewScopeComponent.js +3 -3
  199. package/src/View/Components/Panels/PanelToolPanel/index.js +1 -1
  200. package/src/View/Components/Panels/PanelWithImage.js +1 -1
  201. package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +1 -1
  202. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +3 -3
  203. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +8 -8
  204. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +4 -4
  205. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +3 -3
  206. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +1 -1
  207. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +1 -1
  208. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -2
  209. package/src/View/Components/Popups/AdaptablePopupAlert.js +2 -2
  210. package/src/View/Components/Popups/AdaptablePopupPrompt.js +1 -1
  211. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +1 -1
  212. package/src/View/Components/Popups/FormPopups/FormPopups.js +5 -5
  213. package/src/View/Components/Popups/Utilities.js +5 -5
  214. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +6 -6
  215. package/src/View/Components/RangesComponent.js +2 -2
  216. package/src/View/Components/Selectors/ColumnValueSelector.js +2 -2
  217. package/src/View/Components/TagValueSelector/index.js +2 -2
  218. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +2 -2
  219. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +6 -6
  220. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +6 -6
  221. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  222. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
  223. package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +6 -4
  224. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -1
  225. package/src/View/Components/ValueSelector/index.js +7 -7
  226. package/src/View/Components/WizardSummaryRow.js +1 -1
  227. package/src/View/ConditionalStyle/ConditionalStyleSummary.js +1 -1
  228. package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +1 -1
  229. package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -2
  230. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +1 -1
  231. package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -2
  232. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +3 -3
  233. package/src/View/CustomSort/CustomSortSummary.js +1 -1
  234. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +2 -2
  235. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +9 -9
  236. package/src/View/CustomSort/Wizard/CustomSortWizard.js +4 -4
  237. package/src/View/Dashboard/CustomDashboardButton.js +2 -2
  238. package/src/View/Dashboard/CustomToolbarWrapper.js +7 -7
  239. package/src/View/Dashboard/Dashboard.js +4 -4
  240. package/src/View/Dashboard/DashboardPopup.js +1 -1
  241. package/src/View/Dashboard/DashboardViewPanel.js +1 -1
  242. package/src/View/Dashboard/ModuleToolbarWrapper.js +1 -1
  243. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +7 -9
  244. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +7 -7
  245. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +9 -9
  246. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +1 -1
  247. package/src/View/DataSet/DataSetSelector.js +1 -1
  248. package/src/View/DataSet/DataSetStatusPanelPopover.js +1 -1
  249. package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
  250. package/src/View/DataSet/DataSetViewPanel.js +1 -1
  251. package/src/View/Export/ExportSelector.js +1 -1
  252. package/src/View/Export/ExportViewPanel.d.ts +2 -1
  253. package/src/View/Export/ExportViewPanel.js +14 -5
  254. package/src/View/Export/ReportExportDropdown.js +3 -3
  255. package/src/View/Export/Wizard/NewReportWizard.js +4 -4
  256. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +2 -2
  257. package/src/View/Export/Wizard/ReportNameWizardSection.js +2 -2
  258. package/src/View/Export/Wizard/ReportRowsWizardSection.js +3 -3
  259. package/src/View/Filter/ActiveFiltersPanel.js +1 -1
  260. package/src/View/Filter/FilterSummary.d.ts +1 -1
  261. package/src/View/Filter/FilterSummary.js +2 -2
  262. package/src/View/Filter/FilterViewPanel.d.ts +1 -1
  263. package/src/View/Filter/FilterViewPanel.js +3 -3
  264. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +2 -2
  265. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +1 -1
  266. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +3 -3
  267. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +1 -1
  268. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +7 -7
  269. package/src/View/FormatColumn/FormatColumnSummary.js +1 -1
  270. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +5 -5
  271. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +2 -2
  272. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -4
  273. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +5 -5
  274. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +6 -6
  275. package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -1
  276. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +5 -5
  277. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +4 -4
  278. package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -2
  279. package/src/View/GridInfo/AdaptableOptionsComponent.js +4 -4
  280. package/src/View/Layout/EditCurrentLayoutButton.js +1 -1
  281. package/src/View/Layout/LayoutCloneButton.js +1 -1
  282. package/src/View/Layout/LayoutRadioSelector.js +1 -1
  283. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +1 -1
  284. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  285. package/src/View/Layout/LayoutViewPanel.js +2 -2
  286. package/src/View/Layout/SaveLayoutButton.js +3 -3
  287. package/src/View/Layout/Wizard/Components/ColumnLabels.js +1 -1
  288. package/src/View/Layout/Wizard/LayoutWizard.js +5 -5
  289. package/src/View/Layout/Wizard/sections/AggregationsSection.js +7 -7
  290. package/src/View/Layout/Wizard/sections/ColumnsSection.js +8 -8
  291. package/src/View/Layout/Wizard/sections/FilterSection.js +5 -5
  292. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +5 -5
  293. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +5 -5
  294. package/src/View/Layout/Wizard/sections/SettingsSection.js +2 -2
  295. package/src/View/Layout/Wizard/sections/SortSection.js +6 -6
  296. package/src/View/PlusMinus/PlusMinusSummary.js +1 -1
  297. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +2 -2
  298. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +1 -1
  299. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +3 -3
  300. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +3 -3
  301. package/src/View/Query/EditCurrentQueryButton.js +1 -1
  302. package/src/View/Query/ExpandedQueryPopup.js +3 -3
  303. package/src/View/Query/QueryViewPanel.d.ts +1 -1
  304. package/src/View/Query/QueryViewPanel.js +1 -1
  305. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +3 -3
  306. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +2 -2
  307. package/src/View/Query/Wizard/NamedQueryWizard.js +3 -3
  308. package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
  309. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +3 -3
  310. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
  311. package/src/View/QuickSearch/QuickSearchViewPanel.js +2 -2
  312. package/src/View/QuickSearch/useQuickSearchDebounced.js +3 -3
  313. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +1 -1
  314. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +1 -1
  315. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +2 -2
  316. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
  317. package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -2
  318. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +1 -1
  319. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +2 -2
  320. package/src/View/Shortcut/Wizard/ShortcutWizard.js +4 -4
  321. package/src/View/SmartEdit/SmartEditPopup.js +1 -1
  322. package/src/View/SmartEdit/SmartEditViewPanel.js +1 -1
  323. package/src/View/SpecialColumnSettingsWizardStep.js +2 -2
  324. package/src/View/StateManagement/StateManagementViewPanel.js +1 -1
  325. package/src/View/StateManagement/components/ExportDropdown.js +2 -2
  326. package/src/View/StateManagement/components/LoadButton.js +1 -1
  327. package/src/View/StateManagement/handleExportState.js +1 -1
  328. package/src/View/StatusBar/AdaptableStatusBar.js +5 -5
  329. package/src/View/StatusBar/StatusBarPopup.js +2 -2
  330. package/src/View/SystemStatus/SystemStatusEntityRow.js +1 -1
  331. package/src/View/SystemStatus/SystemStatusPopup.js +1 -1
  332. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -2
  333. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  334. package/src/View/SystemStatus/SystemStatusViewPanel.js +2 -2
  335. package/src/View/TeamSharing/SharedEntityDependencies.js +1 -1
  336. package/src/View/TeamSharing/SharedEntityObjectView.js +2 -2
  337. package/src/View/TeamSharing/TeamSharingApplyButton.js +1 -1
  338. package/src/View/Theme/ThemePopup.js +1 -1
  339. package/src/View/Theme/ThemeStatusPanelPopover.js +1 -1
  340. package/src/View/Theme/ThemeViewPanel.js +2 -2
  341. package/src/View/Wizard/AdaptableWizard.js +1 -1
  342. package/src/View/Wizard/ObjectTagsWizardSection.js +1 -1
  343. package/src/View/Wizard/OnePageAdaptableWizard.js +5 -5
  344. package/src/View/Wizard/OnePageWizards.js +14 -12
  345. package/src/View/Wizard/useKeyboardNavigation.js +1 -1
  346. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  347. package/src/agGrid/ActionColumnRenderer.js +3 -3
  348. package/src/agGrid/Adaptable.d.ts +19 -11
  349. package/src/agGrid/Adaptable.js +157 -160
  350. package/src/agGrid/CheckboxRenderer.d.ts +1 -1
  351. package/src/agGrid/ColumnSetupInfo.d.ts +1 -1
  352. package/src/agGrid/FilterWrapper.js +1 -1
  353. package/src/agGrid/FloatingFilterWrapper.js +1 -1
  354. package/src/agGrid/GroupCellRenderer.d.ts +1 -1
  355. package/src/agGrid/GroupCellRenderer.js +2 -2
  356. package/src/agGrid/PercentBarRenderer.js +1 -1
  357. package/src/agGrid/agGridHelper.d.ts +1 -1
  358. package/src/agGrid/agGridHelper.js +12 -13
  359. package/src/agGrid/agGridMenuHelper.d.ts +1 -1
  360. package/src/agGrid/agGridMenuHelper.js +5 -5
  361. package/src/agGrid/createAgStatusPanelComponent.d.ts +1 -1
  362. package/src/agGrid/createAgStatusPanelComponent.js +1 -1
  363. package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +3 -3
  364. package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +1 -1
  365. package/src/agGrid/editors/AdaptableDateEditor/index.js +5 -5
  366. package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +1 -1
  367. package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +1 -1
  368. package/src/agGrid/editors/AdaptableNumberEditor/index.js +4 -4
  369. package/src/agGrid/weightedAverage.d.ts +1 -1
  370. package/src/agGrid/weightedAverage.js +3 -3
  371. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +1 -1
  372. package/src/components/AdaptableIconComponent/index.js +14 -17
  373. package/src/components/CheckBox/index.js +3 -3
  374. package/src/components/CodeBlock/index.js +1 -1
  375. package/src/components/Dashboard/Dashboard.js +8 -8
  376. package/src/components/Dashboard/DashboardToolbar.js +1 -1
  377. package/src/components/Datepicker/Caption.js +7 -7
  378. package/src/components/Datepicker/CaptionLabel.js +4 -4
  379. package/src/components/Datepicker/index.d.ts +1 -1
  380. package/src/components/Datepicker/index.js +10 -10
  381. package/src/components/Dialog/index.js +9 -9
  382. package/src/components/Dialog/useIsOpen.js +1 -1
  383. package/src/components/Dropdown/index.js +6 -6
  384. package/src/components/DropdownButton/index.js +7 -7
  385. package/src/components/DropdownButton/renderItem.js +1 -1
  386. package/src/components/DropdownButton/useExpanded.js +4 -4
  387. package/src/components/EllipsisContainer/index.js +8 -8
  388. package/src/components/EmptyContent/index.js +1 -1
  389. package/src/components/ErrorBox/index.js +1 -1
  390. package/src/components/ExpressionEditor/BaseEditorInput.js +20 -7
  391. package/src/components/ExpressionEditor/EditorButton.js +1 -1
  392. package/src/components/ExpressionEditor/EditorContext.js +2 -2
  393. package/src/components/ExpressionEditor/EditorInput.js +2 -2
  394. package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +9 -9
  395. package/src/components/ExpressionEditor/NamedQueryContext.js +2 -2
  396. package/src/components/ExpressionEditor/index.js +8 -8
  397. package/src/components/FieldWrap/index.js +1 -1
  398. package/src/components/FileDroppable/index.js +4 -4
  399. package/src/components/FormLayout/index.js +4 -4
  400. package/src/components/HelpBlock/index.js +1 -1
  401. package/src/components/Input/index.d.ts +1 -1
  402. package/src/components/Input/index.js +1 -1
  403. package/src/components/List/GridList/index.js +1 -1
  404. package/src/components/List/ListGroup/index.js +1 -1
  405. package/src/components/List/ListGroupItem/index.d.ts +1 -1
  406. package/src/components/List/ListGroupItem/index.js +2 -2
  407. package/src/components/Modal/Backdrop.js +5 -5
  408. package/src/components/Modal/index.js +5 -5
  409. package/src/components/NotifyResize/index.js +1 -1
  410. package/src/components/OverlayTrigger/Overlay.js +15 -15
  411. package/src/components/OverlayTrigger/getOverlayStyle.js +1 -1
  412. package/src/components/OverlayTrigger/index.js +24 -24
  413. package/src/components/OverlayTrigger/useAgGridClassName.js +2 -2
  414. package/src/components/Panel/index.js +3 -3
  415. package/src/components/PopupWithFooter.d.ts +1 -1
  416. package/src/components/ProgressIndicator/ProgressIndicator.js +5 -5
  417. package/src/components/Radio/index.js +3 -3
  418. package/src/components/ResizeObserver/index.js +10 -10
  419. package/src/components/SelectableList/index.js +4 -4
  420. package/src/components/SimpleButton/index.js +3 -3
  421. package/src/components/StylePreview.js +1 -1
  422. package/src/components/Table/index.js +1 -1
  423. package/src/components/Tabs/index.js +6 -7
  424. package/src/components/Tag/Tag.js +1 -1
  425. package/src/components/Textarea/index.d.ts +1 -1
  426. package/src/components/Textarea/index.js +1 -1
  427. package/src/components/ToggleButton/index.js +1 -1
  428. package/src/components/WindowModal/WindowModal.js +4 -4
  429. package/src/components/WindowModal/useStacking.js +1 -1
  430. package/src/components/WizardPanel/index.js +1 -1
  431. package/src/components/icons/DefaultIcon.js +2 -2
  432. package/src/components/icons/index.js +1 -1
  433. package/src/components/utils/batchUpdate.js +1 -1
  434. package/src/components/utils/useAutoFocus.js +2 -2
  435. package/src/components/utils/useContainerScrollObserver/index.js +7 -7
  436. package/src/components/utils/useDraggable.js +5 -5
  437. package/src/components/utils/useLatest.js +2 -2
  438. package/src/components/utils/usePrevious.js +2 -2
  439. package/src/components/utils/usePropState.js +1 -1
  440. package/src/components/utils/useProperty.js +2 -2
  441. package/src/components/utils/useRerender.js +2 -2
  442. package/src/components/utils/useSelectionRange.js +3 -3
  443. package/src/components/utils/uuid.js +1 -1
  444. package/src/metamodel/adaptable.metamodel.d.ts +18 -0
  445. package/src/metamodel/adaptable.metamodel.js +1 -1
  446. package/src/parser/src/index.js +1 -1
  447. package/src/types.d.ts +1 -0
  448. package/version.d.ts +1 -1
  449. package/version.js +1 -1
package/index.css CHANGED
@@ -2965,8 +2965,8 @@ template {
2965
2965
  box-shadow: var(--ab-cmp-dropdownbutton-list__box-shadow);
2966
2966
  overflow: auto;
2967
2967
  border: var(--ab-cmp-dropdownbutton-list__border);
2968
- borderradius: var(--ab-cmp-dropdownbutton-list__border-radius);
2969
- zindex: var(--ab-cmp-dropdownbutton-list__z-index);
2968
+ border-radius: var(--ab-cmp-dropdownbutton-list__border-radius);
2969
+ z-index: var(--ab-cmp-dropdownbutton-list__z-index);
2970
2970
  background: var(--ab-cmp-dropdownbutton-list__background); }
2971
2971
 
2972
2972
  .ab-DropdownButton__content {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable",
3
- "version": "12.2.2",
3
+ "version": "14.0.0-canary.0",
4
4
  "description": "Powerful data-agnostic HTML5 datagrid add-on that sits on top of an underlying grid component and provides all the rich functionality that advanced users expect from their DataGrids and Data Tables",
5
5
  "keywords": [
6
6
  "web-components",
@@ -52,10 +52,10 @@
52
52
  "sentence-case": "^3.0.4",
53
53
  "styled-components": "^4.3.2",
54
54
  "tinycolor2": "^1.4.2",
55
- "tslib": "^2.0.0",
55
+ "tslib": "^2.3.0",
56
56
  "uuid": "^3.3.2"
57
57
  },
58
58
  "peerDependencies": {
59
- "@ag-grid-community/all-modules": ">=27.3.0"
59
+ "@ag-grid-community/core": ">=28.1.0"
60
60
  }
61
61
  }
@@ -1,2 +1,2 @@
1
- declare const _default: 1661928464536;
1
+ declare const _default: 1663070142008;
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = 1661928464536;
3
+ exports.default = 1663070142008;
@@ -1,10 +1,11 @@
1
1
  import * as React from 'react';
2
- import { GridOptions } from '@ag-grid-community/all-modules';
2
+ import { GridOptions, Module } from '@ag-grid-community/core';
3
3
  import { AdaptableOptions } from '../types';
4
4
  import { AdaptableApi } from '../Api/AdaptableApi';
5
- export declare type AdaptableNoCodeWizardInitFn = ({ gridOptions, adaptableOptions, }: {
5
+ export declare type AdaptableNoCodeWizardInitFn = ({ gridOptions, adaptableOptions, agGridModules, }: {
6
6
  gridOptions: GridOptions;
7
7
  adaptableOptions: AdaptableOptions;
8
+ agGridModules: Module[];
8
9
  }) => Promise<AdaptableApi>;
9
10
  export interface AdaptableNoCodeWizardOptions {
10
11
  onInit?: AdaptableNoCodeWizardInitFn;
@@ -1,4 +1,4 @@
1
- import { ChartModel, ChartRef, Column, GridOptions, RowNode } from '@ag-grid-community/all-modules';
1
+ import { ChartModel, ChartRef, Column, GridOptions, RowNode } from '@ag-grid-community/core';
2
2
  import { AdaptableApi } from '../Api/AdaptableApi';
3
3
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
4
4
  import { ColumnSort } from '../PredefinedConfig/Common/ColumnSort';
@@ -197,7 +197,7 @@ export interface IAdaptable {
197
197
  deSelectNodes(rowNodes: RowNode[], clearSelection: boolean): void;
198
198
  selectNode(rowNode: RowNode, clearSelection: boolean): void;
199
199
  deSelectNode(rowNode: RowNode, clearSelection: boolean): void;
200
- selectCells(columnIds: string[], startNode: RowNode, endNode: RowNode): void;
200
+ selectCells(columnIds: string[], startNode: RowNode, endNode: RowNode, clearSelection?: boolean): void;
201
201
  getFirstGroupedColumn(): AdaptableColumn | undefined;
202
202
  isRowNodeVisible(rowNode: RowNode): boolean;
203
203
  getAgGridColumnType(columnId: string): string | string[];
@@ -1,4 +1,4 @@
1
- import { RowNode } from '@ag-grid-community/all-modules';
1
+ import { RowNode } from '@ag-grid-community/core';
2
2
  import { ActionRowSubmittedInfo, ActionRowType, AdaptableButton, AdaptableColumn, AdaptableObject, BaseContext, FormContext } from '../types';
3
3
  /**
4
4
  * Options related to Action Columns and Buttons in Adaptable.
@@ -17,7 +17,7 @@ import { ToolPanelOptions } from './ToolPanelOptions';
17
17
  import { FilterOptions } from './FilterOptions';
18
18
  import { DataChangeHistoryOptions } from './DataChangeHistoryOptions';
19
19
  import { SettingsPanelOptions } from './SettingsPanelOptions';
20
- import { GridOptions, Module } from '@ag-grid-community/all-modules';
20
+ import { GridOptions } from '@ag-grid-community/core';
21
21
  import { FlashingCellOptions } from './FlashingCellOptions';
22
22
  import { AlertOptions } from './AlertOptions';
23
23
  import { AdaptableQLOptions } from './AdaptableQLOptions';
@@ -58,10 +58,6 @@ export interface AdaptableOptions {
58
58
  * Commercial license key. If the license is not provided or is expired, various visual information notes will be displayed and some functionality may be limited.
59
59
  */
60
60
  licenseKey?: string;
61
- /**
62
- * AG Grid Modules that should be provided - needs to be provided separately
63
- */
64
- modules?: Module[];
65
61
  /**
66
62
  * User State set at design-time and shipped with AdapTable for first use; can be `PredefinedConfig` object or url to file containing config
67
63
  *
@@ -7,7 +7,7 @@ import { AdaptableState } from '../PredefinedConfig/AdaptableState';
7
7
  import { AdaptableModule } from '../PredefinedConfig/Common/Types';
8
8
  import { IModule } from '../Strategy/Interface/IModule';
9
9
  import { ColumnSetupInfo } from '../agGrid/ColumnSetupInfo';
10
- import { ColDef } from '@ag-grid-community/all-modules';
10
+ import { ColDef } from '@ag-grid-community/core';
11
11
  import { Layout } from '../PredefinedConfig/LayoutState';
12
12
  declare type AdaptableReducerObject = {
13
13
  [key: string]: (...args: any[]) => any;
@@ -36,7 +36,7 @@ export interface AdaptableQLOptions {
36
36
  */
37
37
  customPredicateDefs?: AdaptablePredicateDef[];
38
38
  /**
39
- * Whether to display the column friendly names in all expression overviews (instead of their technical IDs)
39
+ * Reference a Column's Header (Friendlyname) in all Expression overviews (instead of ColumnId)
40
40
  *
41
41
  * @defaultValue true
42
42
  */
@@ -1,4 +1,4 @@
1
- import { Column } from '@ag-grid-community/all-modules';
1
+ import { Column } from '@ag-grid-community/core';
2
2
  /**
3
3
  * Options related to managing Columns in Adaptable.
4
4
  */
@@ -18,9 +18,24 @@ export interface EntitlementOptions {
18
18
  */
19
19
  defaultAccessLevel?: AccessLevel | ((userName: string, adaptableId: string) => AccessLevel);
20
20
  }
21
+ /**
22
+ * Provided to moduleEntitlements function when setting Entitlements programatically
23
+ */
21
24
  export interface EntitlementContext {
25
+ /**
26
+ * Module being entitled
27
+ */
22
28
  adaptableModule: AdaptableModule;
29
+ /**
30
+ * Name of Current User
31
+ */
23
32
  userName: string;
33
+ /**
34
+ * Id of current AdapTable instance
35
+ */
24
36
  adaptableId: string;
37
+ /**
38
+ * The default Access Level for the current instance
39
+ */
25
40
  defaultAccessLevel: AccessLevel;
26
41
  }
@@ -3,7 +3,7 @@ import { AdaptableComparerFunction } from '../PredefinedConfig/Common/AdaptableC
3
3
  import { AlternativeModuleName } from '../PredefinedConfig/Common/AlternativeModuleName';
4
4
  import { FormContext } from '../PredefinedConfig/Common/FormContext';
5
5
  import { CellSummaryOperation } from '../PredefinedConfig/Common/CellSummary';
6
- import { KeyCreatorParams } from '@ag-grid-community/all-modules';
6
+ import { KeyCreatorParams } from '@ag-grid-community/core';
7
7
  /**
8
8
  * General options for configuring AdapTable including managing Primary Keys
9
9
  */
@@ -5,7 +5,7 @@ import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
5
5
  import { AdaptableObjectTag } from '../PredefinedConfig/Common/AdaptableObject';
6
6
  import { AdaptableStyle } from '../PredefinedConfig/Common/AdaptableStyle';
7
7
  import { BaseContext, GridCell } from '../../types';
8
- import { RowNode } from '@ag-grid-community/all-modules';
8
+ import { RowNode } from '@ag-grid-community/core';
9
9
  /**
10
10
  * Options for managing the User Interface of AdapTable
11
11
  */
@@ -1,4 +1,4 @@
1
- import { ChartModel, ChartRef } from '@ag-grid-community/all-modules';
1
+ import { ChartModel, ChartRef } from '@ag-grid-community/core';
2
2
  /**
3
3
  * Provides run-time access to Charting Module and related State
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import { AdaptableColumn, AdaptableColumnDataType } from '../PredefinedConfig/Common/AdaptableColumn';
2
- import { Column, RowNode } from '@ag-grid-community/all-modules';
2
+ import { Column, RowNode } from '@ag-grid-community/core';
3
3
  import { GridCell } from '../../types';
4
4
  /**
5
5
  * A large range of column-related functions in AdapTable
@@ -1,6 +1,6 @@
1
1
  import { BaseEventInfo } from './BaseEventInfo';
2
2
  import { AdaptableFormData } from '../../PredefinedConfig/Common/AdaptableForm';
3
- import { RowNode } from '@ag-grid-community/all-modules';
3
+ import { RowNode } from '@ag-grid-community/core';
4
4
  /**
5
5
  * Info passed into ActionRowSubmitted Event - can be `CreatedActionRowInfo` or `EditedActionRowInfo` or `DeletedActionRowInfo`
6
6
  */
@@ -1,4 +1,4 @@
1
- import { GridOptions } from '@ag-grid-community/all-modules';
1
+ import { GridOptions } from '@ag-grid-community/core';
2
2
  import { BaseEventInfo } from './BaseEventInfo';
3
3
  /**
4
4
  * Object returned by `AdaptableReady` event - fired when AdapTable has loaded
@@ -1,4 +1,4 @@
1
- import { RowNode } from '@ag-grid-community/all-modules';
1
+ import { RowNode } from '@ag-grid-community/core';
2
2
  import { BaseEventInfo } from './BaseEventInfo';
3
3
  /**
4
4
  * EventInfo returned by GridDataChanged event
@@ -1,7 +1,7 @@
1
1
  import { AdaptableForm } from '../PredefinedConfig/Common/AdaptableForm';
2
2
  import { ExportState, Report, ReportData, ReportSchedule, SystemReportNames } from '../PredefinedConfig/ExportState';
3
3
  import { CellDataChangedInfo } from '../PredefinedConfig/Common/CellDataChangedInfo';
4
- import { CustomDestination, ExportFormContext } from '../AdaptableOptions/ExportOptions';
4
+ import { CustomDestination, CustomReport, ExportFormContext } from '../AdaptableOptions/ExportOptions';
5
5
  import { ExportDestination } from '../PredefinedConfig/Common/Enums';
6
6
  /**
7
7
  * Provides run-time access to the Export Module and Report state
@@ -47,6 +47,10 @@ export interface ExportApi {
47
47
  * @returns reports
48
48
  */
49
49
  getAllReports(): Report[];
50
+ /**
51
+ * Returns any Custom Reports that have been provided to Export Options
52
+ */
53
+ getAllCustomReports(): CustomReport[] | undefined;
50
54
  /**
51
55
  * Retrieves System Reports section of Export State
52
56
  */
@@ -1,7 +1,7 @@
1
1
  import { AdaptableColumn, ColumnFilter, GridCell, SystemFilterPredicateIds } from '../types';
2
2
  import * as Redux from 'redux';
3
3
  import { ColumnFilterDef, AdaptablePredicateDef } from '../PredefinedConfig/Common/AdaptablePredicate';
4
- import { RowNode } from '@ag-grid-community/all-modules';
4
+ import { RowNode } from '@ag-grid-community/core';
5
5
  import { LayoutColumnFilterAction } from '../Redux/ActionsReducers/LayoutRedux';
6
6
  /**
7
7
  * Provides run-time access to Filter section of Adaptable State.
@@ -1,4 +1,4 @@
1
- import { RowNode } from '@ag-grid-community/all-modules';
1
+ import { RowNode } from '@ag-grid-community/core';
2
2
  import { ContactColumn, ContactIntent, CountryColumn, CustomFDC3Column, CustomFDC3Intent, FDC3Intent, FinancePluginOptions, InstrumentColumn, InstrumentIntent, OrganizationColumn, PositionColumn, PositionIntent } from '../AdaptableOptions/FinancePluginOptions';
3
3
  import { ContactContext, ContactListContext, CountryContext, FDC3Context, InstrumentContext, InstrumentListContext, OrganizationContext, PortfolioContext, PositionContext } from '../types';
4
4
  /**
@@ -1,6 +1,6 @@
1
1
  import { FormatColumnState, FormatColumn, ColumnStyle, ColumnComparison, CellColorRange } from '../PredefinedConfig/FormatColumnState';
2
2
  import { AdaptableColumn, AdaptableFormat } from '../types';
3
- import { RowNode } from '@ag-grid-community/all-modules';
3
+ import { RowNode } from '@ag-grid-community/core';
4
4
  /**
5
5
  * Provides run-time access to the Format Column Module and associated state
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import { FreeTextColumnState, FreeTextColumn, FreeTextStoredValue } from '../PredefinedConfig/FreeTextColumnState';
2
2
  import { CellDataChangedInfo } from '../PredefinedConfig/Common/CellDataChangedInfo';
3
- import { RowNode } from '@ag-grid-community/all-modules';
3
+ import { RowNode } from '@ag-grid-community/core';
4
4
  /**
5
5
  * Provides run-time access to FreeTextColumn Module and associated state
6
6
  */
@@ -9,7 +9,7 @@ import { CellHighlightInfo } from '../PredefinedConfig/Common/CellHighlightInfo'
9
9
  import { RowHighlightInfo } from '../PredefinedConfig/Common/RowHighlightInfo';
10
10
  import { AdaptableModule } from '../PredefinedConfig/Common/Types';
11
11
  import { AccessLevel } from '../PredefinedConfig/Common/Entitlement';
12
- import { GridOptions, RowNode } from '@ag-grid-community/all-modules';
12
+ import { GridOptions, RowNode } from '@ag-grid-community/core';
13
13
  import { GridCellRange } from '../PredefinedConfig/Selection/GridCellRange';
14
14
  import { RowsHighlightInfo } from '../PredefinedConfig/Common/RowsHighlightInfo';
15
15
  /**
@@ -185,9 +185,10 @@ export interface GridApi {
185
185
  deSelectRows(primaryKeyValues: any[], clearSelection: boolean): void;
186
186
  /**
187
187
  * Selects a group of cells in a given range - provide either primary keys or row indexes
188
- * @param gridCellRange range to select
188
+ * @param gridCellRange Range to select
189
+ * @param clearSelection Whether to clear current selection in grid
189
190
  */
190
- selectCellRange(gridCellRange: GridCellRange): void;
191
+ selectCellRange(gridCellRange: GridCellRange, clearSelection?: boolean): void;
191
192
  /**
192
193
  * Retrieves the first Row Node in AdapTable
193
194
  */
@@ -12,12 +12,12 @@ class ActionApiImpl extends ApiBase_1.ApiBase {
12
12
  displayEditActionRow(primaryKey) {
13
13
  const rowNode = this.adaptable.api.gridApi.getRowNodeForPrimaryKey(primaryKey);
14
14
  if (!rowNode) {
15
- LoggingHelper_1.LogAdaptableWarning(`Can NOT edit row: rowNode not found for primaryKey ${primaryKey}`);
15
+ (0, LoggingHelper_1.LogAdaptableWarning)(`Can NOT edit row: rowNode not found for primaryKey ${primaryKey}`);
16
16
  }
17
17
  const editForm = this.adaptable.api.internalApi
18
18
  .getRowEditService()
19
19
  .buildRowEditForm(rowNode);
20
- this.dispatchAction(PopupRedux_1.PopupShowForm({
20
+ this.dispatchAction((0, PopupRedux_1.PopupShowForm)({
21
21
  Id: 'edit_row_form',
22
22
  Form: editForm,
23
23
  // formProps are added to the formContext
@@ -30,7 +30,7 @@ class ActionApiImpl extends ApiBase_1.ApiBase {
30
30
  const createForm = this.adaptable.api.internalApi
31
31
  .getRowEditService()
32
32
  .buildRowCreateForm();
33
- this.dispatchAction(PopupRedux_1.PopupShowForm({
33
+ this.dispatchAction((0, PopupRedux_1.PopupShowForm)({
34
34
  Id: 'create_row_form',
35
35
  Form: createForm,
36
36
  }));
@@ -38,12 +38,12 @@ class ActionApiImpl extends ApiBase_1.ApiBase {
38
38
  displayCloneActionRow(clonedRowNodePrimaryKey) {
39
39
  const rowNode = this.adaptable.api.gridApi.getRowNodeForPrimaryKey(clonedRowNodePrimaryKey);
40
40
  if (!rowNode) {
41
- LoggingHelper_1.LogAdaptableWarning(`Can NOT clone row: rowNode not found for primaryKey ${clonedRowNodePrimaryKey}`);
41
+ (0, LoggingHelper_1.LogAdaptableWarning)(`Can NOT clone row: rowNode not found for primaryKey ${clonedRowNodePrimaryKey}`);
42
42
  }
43
43
  const createForm = this.adaptable.api.internalApi
44
44
  .getRowEditService()
45
45
  .buildRowCreateForm(rowNode);
46
- this.dispatchAction(PopupRedux_1.PopupShowForm({
46
+ this.dispatchAction((0, PopupRedux_1.PopupShowForm)({
47
47
  Id: 'create_row_form',
48
48
  Form: createForm,
49
49
  // formProps are added to the formContext
@@ -28,13 +28,13 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
28
28
  return this.getAlertDefinitions().find((alert) => (alert === null || alert === void 0 ? void 0 : alert.Uuid) === id);
29
29
  }
30
30
  getNonReactiveAlertDefinitions() {
31
- return this.getAlertDefinitions().filter((alertDef) => !AdaptableQuery_1.isReactiveQuery(alertDef.Rule));
31
+ return this.getAlertDefinitions().filter((alertDef) => !(0, AdaptableQuery_1.isReactiveQuery)(alertDef.Rule));
32
32
  }
33
33
  getActiveNonReactiveAlertDefinitions() {
34
34
  return this.getNonReactiveAlertDefinitions().filter((alertDef) => !alertDef.IsSuspended);
35
35
  }
36
36
  getReactiveAlertDefinitions() {
37
- return this.getAlertDefinitions().filter((alertDef) => AdaptableQuery_1.isReactiveQuery(alertDef.Rule));
37
+ return this.getAlertDefinitions().filter((alertDef) => (0, AdaptableQuery_1.isReactiveQuery)(alertDef.Rule));
38
38
  }
39
39
  getActiveReactiveAlertDefinitions() {
40
40
  return this.getReactiveAlertDefinitions().filter((alertDef) => !alertDef.IsSuspended);
@@ -62,10 +62,10 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
62
62
  buttonOnClick === null || buttonOnClick === void 0 ? void 0 : buttonOnClick.handler(button, context);
63
63
  this.adaptable.api.alertApi.executeAlertAction(action, {
64
64
  alertDefinition: context.alert.alertDefinition,
65
- cellDataChangedInfo: AdaptableAlert_1.isAdaptableCellChangedAlert(context.alert)
65
+ cellDataChangedInfo: (0, AdaptableAlert_1.isAdaptableCellChangedAlert)(context.alert)
66
66
  ? context.alert.cellDataChangedInfo
67
67
  : null,
68
- gridDataChangedInfo: AdaptableAlert_1.isAdaptableRowChangedAlert(context.alert)
68
+ gridDataChangedInfo: (0, AdaptableAlert_1.isAdaptableRowChangedAlert)(context.alert)
69
69
  ? context.alert.gridDataChangedInfo
70
70
  : null,
71
71
  formData: context.formData,
@@ -178,7 +178,7 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
178
178
  }
179
179
  // 2. Log to console
180
180
  if (alertProperties.LogToConsole) {
181
- LoggingHelper_1.ConsoleLogByMessageType(alertToShow.header + ': ' + alertToShow.message, alertDefinition.MessageType);
181
+ (0, LoggingHelper_1.ConsoleLogByMessageType)(alertToShow.header + ': ' + alertToShow.message, alertDefinition.MessageType);
182
182
  }
183
183
  // 3. Show it in a Div (if one has been set)
184
184
  if (alertProperties.ShowInDiv) {
@@ -196,13 +196,13 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
196
196
  // 4.JumpToCell and 5.JumpToRow are exclusive, based on alertType!
197
197
  // 4: Jump to the Cell
198
198
  if (alertProperties.JumpToCell &&
199
- AdaptableAlert_1.isAdaptableCellChangedAlert(alertToShow) &&
199
+ (0, AdaptableAlert_1.isAdaptableCellChangedAlert)(alertToShow) &&
200
200
  alertToShow.cellDataChangedInfo) {
201
201
  this.adaptable.jumpToCell(alertToShow.cellDataChangedInfo.column.columnId, alertToShow.cellDataChangedInfo.rowNode);
202
202
  }
203
203
  // 5: Jump to the Row
204
204
  else if (alertProperties.JumpToRow &&
205
- AdaptableAlert_1.isAdaptableRowChangedAlert(alertToShow) &&
205
+ (0, AdaptableAlert_1.isAdaptableRowChangedAlert)(alertToShow) &&
206
206
  ((_a = alertToShow.gridDataChangedInfo) === null || _a === void 0 ? void 0 : _a.rowTrigger) === 'Add') {
207
207
  const [firstRowNode] = alertToShow.gridDataChangedInfo.rowNodes;
208
208
  if (firstRowNode) {
@@ -211,7 +211,7 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
211
211
  }
212
212
  // 6: For CellChanged Alerts either Highlight the cell or row
213
213
  // for former - we just refresh the cells to trigger a re-evaluation of the Adaptable.setupColumn[Style/Class]
214
- if (AdaptableAlert_1.isAdaptableCellChangedAlert(alertToShow) &&
214
+ if ((0, AdaptableAlert_1.isAdaptableCellChangedAlert)(alertToShow) &&
215
215
  alertToShow.cellDataChangedInfo &&
216
216
  (alertProperties.HighlightCell || alertProperties.HighlightRow)) {
217
217
  let alertNode = alertToShow.cellDataChangedInfo.rowNode;
@@ -235,7 +235,7 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
235
235
  }
236
236
  // 7. For RowChange Alerts only Highlight the row - we just refresh the rows to trigger a re-evaluation of the Adaptable.setupColumn[Style/Class]
237
237
  else if (alertProperties.HighlightRow &&
238
- AdaptableAlert_1.isAdaptableRowChangedAlert(alertToShow) &&
238
+ (0, AdaptableAlert_1.isAdaptableRowChangedAlert)(alertToShow) &&
239
239
  ((_b = alertToShow.gridDataChangedInfo) === null || _b === void 0 ? void 0 : _b.rowTrigger) === 'Add') {
240
240
  this.adaptable.api.gridApi.refreshRowNodes(alertToShow.gridDataChangedInfo.rowNodes);
241
241
  setTimeout(() => {
@@ -25,14 +25,14 @@ class ApiBase {
25
25
  */
26
26
  checkItemExists(item, name, type) {
27
27
  if (Helper_1.default.objectNotExists(item)) {
28
- LoggingHelper_1.LogAdaptableError(`No ${type} found with the name: ${name}`);
28
+ (0, LoggingHelper_1.LogAdaptableError)(`No ${type} found with the name: ${name}`);
29
29
  return false;
30
30
  }
31
31
  return true;
32
32
  }
33
33
  checkArrayExists(array) {
34
34
  if (!Array.isArray(array)) {
35
- LoggingHelper_1.LogAdaptableError(`Item passed to Api function was not an array`);
35
+ (0, LoggingHelper_1.LogAdaptableError)(`Item passed to Api function was not an array`);
36
36
  return false;
37
37
  }
38
38
  return true;
@@ -66,7 +66,7 @@ class ApiBase {
66
66
  // Its generally done in Redux also but no harm checking in Api also in case we missed it.
67
67
  addUidToAdaptableObject(adaptableObject) {
68
68
  if (!adaptableObject.Uuid) {
69
- adaptableObject.Uuid = Uuid_1.createUuid();
69
+ adaptableObject.Uuid = (0, Uuid_1.createUuid)();
70
70
  }
71
71
  }
72
72
  getModuleInfoByModuleId(module) {
@@ -12,6 +12,6 @@ export declare class CellSummaryApiImpl extends ApiBase implements CellSummaryAp
12
12
  /**
13
13
  * Weighted average is availabe only if the current layout has at leat a Weighted Average aggregation defined.
14
14
  */
15
- private isWeightedAvetageCellSummaryAvailable;
15
+ private isWeightedAverageCellSummaryAvailable;
16
16
  private getWeightedAverageCellSummaryOperation;
17
17
  }
@@ -14,7 +14,7 @@ class CellSummaryApiImpl extends ApiBase_1.ApiBase {
14
14
  getCellSummaryOperationDefinitions() {
15
15
  var _a;
16
16
  let cellSummaryOperations = (_a = this.getGeneralOptions().cellSummaryOperations) !== null && _a !== void 0 ? _a : [];
17
- if (this.isWeightedAvetageCellSummaryAvailable()) {
17
+ if (this.isWeightedAverageCellSummaryAvailable()) {
18
18
  cellSummaryOperations = [
19
19
  ...cellSummaryOperations,
20
20
  this.getWeightedAverageCellSummaryOperation(),
@@ -64,8 +64,11 @@ class CellSummaryApiImpl extends ApiBase_1.ApiBase {
64
64
  /**
65
65
  * Weighted average is availabe only if the current layout has at leat a Weighted Average aggregation defined.
66
66
  */
67
- isWeightedAvetageCellSummaryAvailable() {
67
+ isWeightedAverageCellSummaryAvailable() {
68
68
  const currentLayout = this.getAdaptableApi().layoutApi.getCurrentLayout();
69
+ if (currentLayout.AggregationColumns == undefined) {
70
+ return false;
71
+ }
69
72
  return Object.values(currentLayout.AggregationColumns).some((aggCol) => typeof aggCol === 'object' && aggCol.type === 'weightedAverage');
70
73
  }
71
74
  getWeightedAverageCellSummaryOperation() {
@@ -1,7 +1,7 @@
1
1
  import { ChartModel } from '@ag-grid-community/core';
2
2
  import { ChartingApi } from '../ChartingApi';
3
3
  import { ApiBase } from './ApiBase';
4
- import { ChartRef } from '@ag-grid-community/all-modules';
4
+ import { ChartRef } from '@ag-grid-community/core';
5
5
  export declare class ChartingApiImpl extends ApiBase implements ChartingApi {
6
6
  isChartingEnabled(): boolean;
7
7
  getCurrentCharts(): ChartModel[];
@@ -17,7 +17,7 @@ class ChartingApiImpl extends ApiBase_1.ApiBase {
17
17
  this.dispatchAction(ChartingRedux.ChartingSetChartModels(currentCharts));
18
18
  }
19
19
  getPersistedCharts() {
20
- return ChartingRedux_1.ChartingGetChartModels(this.getAdaptableState()).map((chart) => chart.model);
20
+ return (0, ChartingRedux_1.ChartingGetChartModels)(this.getAdaptableState()).map((chart) => chart.model);
21
21
  }
22
22
  showPersistedCharts() {
23
23
  const persistedCharts = this.getPersistedCharts();
@@ -2,7 +2,7 @@ import { ApiBase } from './ApiBase';
2
2
  import { AdaptableColumn, AdaptableColumnDataType } from '../../PredefinedConfig/Common/AdaptableColumn';
3
3
  import { ColumnApi } from '../ColumnApi';
4
4
  import { GridCell } from '../../PredefinedConfig/Selection/GridCell';
5
- import { Column, RowNode } from '@ag-grid-community/all-modules';
5
+ import { Column, RowNode } from '@ag-grid-community/core';
6
6
  export declare class ColumnApiImpl extends ApiBase implements ColumnApi {
7
7
  getColumns(): AdaptableColumn[];
8
8
  getVisibleColumns(): AdaptableColumn[];
@@ -275,7 +275,7 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
275
275
  !this.isCalculatedColumn(columnId) &&
276
276
  !this.isFreeTextColumn(columnId) &&
277
277
  !this.isActionColumn(columnId)) {
278
- LoggingHelper_1.LogAdaptableWarning(`No column found named '${columnId}'`);
278
+ (0, LoggingHelper_1.LogAdaptableWarning)(`No column found named '${columnId}'`);
279
279
  }
280
280
  }
281
281
  }
@@ -28,7 +28,7 @@ const ThemeRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/The
28
28
  const ToolPanelRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/ToolPanelRedux"));
29
29
  class ConfigApiImpl extends ApiBase_1.ApiBase {
30
30
  configInit() {
31
- this.dispatchAction(AdaptableStore_1.InitState());
31
+ this.dispatchAction((0, AdaptableStore_1.InitState)());
32
32
  }
33
33
  copyAllStateToClipboard() {
34
34
  let state = this.getAdaptableState();
@@ -127,7 +127,7 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
127
127
  flushStatePromise.then(() => {
128
128
  let predefinedConfig = config === null || config === void 0 ? void 0 : config.predefinedConfig;
129
129
  if (predefinedConfig) {
130
- predefinedConfig = AdaptableHelper_1.initPredefinedConfigWithUuids(predefinedConfig);
130
+ predefinedConfig = (0, AdaptableHelper_1.initPredefinedConfigWithUuids)(predefinedConfig);
131
131
  }
132
132
  const promise = this.adaptable.adaptableStore.loadStore(this.adaptable, adaptableStateKey, predefinedConfig);
133
133
  promise
@@ -22,7 +22,7 @@ class DashboardApiImpl extends ApiBase_1.ApiBase {
22
22
  oldDashboardState: oldDashboardState,
23
23
  newDashboardState: newDashboardState,
24
24
  };
25
- if (!isEqual_1.default(oldDashboardState, newDashboardState)) {
25
+ if (!(0, isEqual_1.default)(oldDashboardState, newDashboardState)) {
26
26
  this.adaptable.api.eventApi.emitSync('DashboardChanged', dashboardChangedInfo);
27
27
  }
28
28
  };
@@ -79,7 +79,7 @@ class DashboardApiImpl extends ApiBase_1.ApiBase {
79
79
  this.dispatchAction(DashboardRedux.DashboardSetIsCollapsed(false));
80
80
  }
81
81
  refreshDashboard() {
82
- this.dispatchAction(SystemRedux_1.SystemDashboardRefresh());
82
+ this.dispatchAction((0, SystemRedux_1.SystemDashboardRefresh)());
83
83
  }
84
84
  floatDashboard() {
85
85
  this.dispatchAction(DashboardRedux.DashboardSetIsFloating(true));
@@ -15,21 +15,21 @@ class DataChangeHistoryApiImpl extends ApiBase_1.ApiBase {
15
15
  return;
16
16
  }
17
17
  if (forceReset || currentMode === 'INACTIVE') {
18
- this.dispatchAction(SystemRedux_1.SystemDataChangeHistoryEnable());
18
+ this.dispatchAction((0, SystemRedux_1.SystemDataChangeHistoryEnable)());
19
19
  }
20
20
  else if (currentMode === 'SUSPENDED') {
21
- this.dispatchAction(SystemRedux_1.SystemDataChangeHistoryResume());
21
+ this.dispatchAction((0, SystemRedux_1.SystemDataChangeHistoryResume)());
22
22
  }
23
23
  }
24
24
  deactivateDataChangeHistory() {
25
25
  if (this.getDataChangeHistoryMode() === 'ACTIVE' ||
26
26
  this.getDataChangeHistoryMode() === 'SUSPENDED') {
27
- this.dispatchAction(SystemRedux_1.SystemDataChangeHistoryDisable());
27
+ this.dispatchAction((0, SystemRedux_1.SystemDataChangeHistoryDisable)());
28
28
  }
29
29
  }
30
30
  suspendDataChangeHistory() {
31
31
  if (this.getDataChangeHistoryMode() === 'ACTIVE') {
32
- this.dispatchAction(SystemRedux_1.SystemDataChangeHistorySuspend());
32
+ this.dispatchAction((0, SystemRedux_1.SystemDataChangeHistorySuspend)());
33
33
  }
34
34
  }
35
35
  getDataChangeHistoryLog() {
@@ -38,7 +38,7 @@ class DataChangeHistoryApiImpl extends ApiBase_1.ApiBase {
38
38
  return Object.values(changeLog);
39
39
  }
40
40
  undoDataChangeHistoryEntry(dataChangeInfo) {
41
- this.dispatchAction(SystemRedux_1.SystemDataChangeHistoryUndo(dataChangeInfo));
41
+ this.dispatchAction((0, SystemRedux_1.SystemDataChangeHistoryUndo)(dataChangeInfo));
42
42
  }
43
43
  showDataChangeHistoryPopup() {
44
44
  this.showModulePopup(ModuleConstants.DataChangeHistoryModuleId);
@@ -189,7 +189,7 @@ class ExportApiImpl extends ApiBase_1.ApiBase {
189
189
  var _a;
190
190
  const customReport = (_a = this.getAllCustomReports()) === null || _a === void 0 ? void 0 : _a.find((cr) => cr.name == customReportName);
191
191
  if (!customReport) {
192
- LoggingHelper_1.LogAdaptableWarning(`Custom Report '${customReportName}' not found!`);
192
+ (0, LoggingHelper_1.LogAdaptableWarning)(`Custom Report '${customReportName}' not found!`);
193
193
  return undefined;
194
194
  }
195
195
  return customReport.onRunReport();
@@ -197,7 +197,7 @@ class ExportApiImpl extends ApiBase_1.ApiBase {
197
197
  getReportDataForReport(reportName) {
198
198
  const report = this.getReportByName(reportName);
199
199
  if (!report) {
200
- LoggingHelper_1.LogAdaptableWarning(`Report '${reportName}' not found!`);
200
+ (0, LoggingHelper_1.LogAdaptableWarning)(`Report '${reportName}' not found!`);
201
201
  return undefined;
202
202
  }
203
203
  return this.adaptable.api.internalApi.getReportService().getReportData(report);
@@ -5,7 +5,7 @@ import { FilterApi } from '../FilterApi';
5
5
  import { AdaptablePredicateDef, ColumnFilterDef } from '../../PredefinedConfig/Common/AdaptablePredicate';
6
6
  import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
7
7
  import { ColumnFilter, GridCell, SystemFilterPredicateIds } from '../../types';
8
- import { RowNode } from '@ag-grid-community/all-modules';
8
+ import { RowNode } from '@ag-grid-community/core';
9
9
  export declare class FilterApiImpl extends ApiBase implements FilterApi {
10
10
  getAllSystemFilterIds(): SystemFilterPredicateIds;
11
11
  findPredicateDefByShortcut(shortcut: string, column: AdaptableColumn): AdaptablePredicateDef;