@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
@@ -73,12 +73,12 @@ class FilterApiImpl extends ApiBase_1.ApiBase {
73
73
  setColumnFilter(columnFilters) {
74
74
  columnFilters.forEach((columnFilter) => {
75
75
  if (!columnFilter.Predicate) {
76
- LoggingHelper_1.LogAdaptableWarning('Column Filter has no Predicate', columnFilter);
76
+ (0, LoggingHelper_1.LogAdaptableWarning)('Column Filter has no Predicate', columnFilter);
77
77
  }
78
78
  else {
79
79
  const isValidPredicate = this.adaptable.api.predicateApi.isValidPredicate(columnFilter.Predicate);
80
80
  if (!isValidPredicate) {
81
- LoggingHelper_1.LogAdaptableWarning('Column Filter Predicate is not valid', columnFilter);
81
+ (0, LoggingHelper_1.LogAdaptableWarning)('Column Filter Predicate is not valid', columnFilter);
82
82
  }
83
83
  else {
84
84
  this.addUidToAdaptableObject(columnFilter);
@@ -306,16 +306,16 @@ class FilterApiImpl extends ApiBase_1.ApiBase {
306
306
  }
307
307
  }
308
308
  suspendColumnFilter(columnFilter) {
309
- this.adaptable.api.internalApi.dispatchReduxAction(LayoutRedux.LayoutColumnFilterSuspend(columnFilter));
309
+ this.dispatchAction(LayoutRedux.LayoutColumnFilterSuspend(columnFilter));
310
310
  }
311
311
  unSuspendColumnFilter(columnFilter) {
312
- this.adaptable.api.internalApi.dispatchReduxAction(LayoutRedux.LayoutColumnFilterUnSuspend(columnFilter));
312
+ this.dispatchAction(LayoutRedux.LayoutColumnFilterUnSuspend(columnFilter));
313
313
  }
314
314
  suspendAllColumnFilters() {
315
- this.adaptable.api.internalApi.dispatchReduxAction(LayoutRedux.LayoutColumnFilterSuspendAll());
315
+ this.dispatchAction(LayoutRedux.LayoutColumnFilterSuspendAll());
316
316
  }
317
317
  unSuspendAllColumnFilters() {
318
- this.adaptable.api.internalApi.dispatchReduxAction(LayoutRedux.LayoutColumnFilterUnSuspendAll());
318
+ this.dispatchAction(LayoutRedux.LayoutColumnFilterUnSuspendAll());
319
319
  }
320
320
  }
321
321
  exports.FilterApiImpl = FilterApiImpl;
@@ -3,7 +3,7 @@ import { ApiBase, LayoutAssociatedObjectLoadConfig } from './ApiBase';
3
3
  import { FormatColumnApi } from '../FormatColumnApi';
4
4
  import { FormatColumnState, FormatColumn, ColumnStyle, CellColorRange, ColumnComparison } from '../../PredefinedConfig/FormatColumnState';
5
5
  import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
6
- import { RowNode } from '@ag-grid-community/all-modules';
6
+ import { RowNode } from '@ag-grid-community/core';
7
7
  import { AdaptableFormat } from '../../types';
8
8
  export declare class FormatColumnApiImpl extends ApiBase implements FormatColumnApi {
9
9
  getFormatColumnState(): FormatColumnState;
@@ -2,7 +2,7 @@ import { ApiBase } from './ApiBase';
2
2
  import { FreeTextColumnApi } from '../FreeTextColumnApi';
3
3
  import { FreeTextColumnState, FreeTextColumn, FreeTextStoredValue } from '../../PredefinedConfig/FreeTextColumnState';
4
4
  import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChangedInfo';
5
- import { RowNode } from '@ag-grid-community/all-modules';
5
+ import { RowNode } from '@ag-grid-community/core';
6
6
  export declare class FreeTextColumnApiImpl extends ApiBase implements FreeTextColumnApi {
7
7
  getFreeTextColumnState(): FreeTextColumnState;
8
8
  getAllFreeTextColumn(): FreeTextColumn[];
@@ -90,7 +90,7 @@ class FreeTextColumnApiImpl extends ApiBase_1.ApiBase {
90
90
  return freeTextColumn.DefaultValue;
91
91
  }
92
92
  catch (e) {
93
- LoggingHelper_1.LogAdaptableError(e);
93
+ (0, LoggingHelper_1.LogAdaptableError)(e);
94
94
  return null;
95
95
  }
96
96
  }
@@ -8,7 +8,7 @@ import { ColumnSort } from '../../PredefinedConfig/Common/ColumnSort';
8
8
  import { DataUpdateConfig } from '../../PredefinedConfig/Common/DataUpdateConfig';
9
9
  import { CellHighlightInfo } from '../../PredefinedConfig/Common/CellHighlightInfo';
10
10
  import { RowHighlightInfo } from '../../PredefinedConfig/Common/RowHighlightInfo';
11
- import { GridOptions, RowNode } from '@ag-grid-community/all-modules';
11
+ import { GridOptions, RowNode } from '@ag-grid-community/core';
12
12
  import { GridCellRange } from '../../PredefinedConfig/Selection/GridCellRange';
13
13
  import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChangedInfo';
14
14
  import { AdaptableModule } from '../../PredefinedConfig/Common/Types';
@@ -21,7 +21,7 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
21
21
  getFilteredData(): any[];
22
22
  loadGridData(dataSource: any): void;
23
23
  updateGridData(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode[]>;
24
- addGridData(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode[]>;
24
+ addGridData(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode<any>[]>;
25
25
  undoCellEdit(cellDataChangedInfo: CellDataChangedInfo): boolean;
26
26
  deleteGridData(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode[]>;
27
27
  setCellValue(columnId: string, newValue: any, primaryKeyValue: any): void;
@@ -53,7 +53,7 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
53
53
  deSelectRows(primaryKeyValues: any[], clearSelection: boolean): void;
54
54
  deSelectNode(rowNode: RowNode, clearSelection: boolean): void;
55
55
  deSelectNodes(rowNodes: RowNode[], clearSelection: boolean): void;
56
- selectCellRange(gridCellRange: GridCellRange): void;
56
+ selectCellRange(gridCellRange: GridCellRange, clearSelection?: boolean): void;
57
57
  selectColumn(columnId: string): void;
58
58
  selectColumns(columnIds: string[]): void;
59
59
  getFirstRowNode(): RowNode;
@@ -50,12 +50,12 @@ class GridApiImpl extends ApiBase_1.ApiBase {
50
50
  setCellValue(columnId, newValue, primaryKeyValue) {
51
51
  const abColumn = this.adaptable.api.columnApi.getColumnFromId(columnId);
52
52
  if (!abColumn) {
53
- LoggingHelper_1.LogAdaptableWarning(`setCellValue() - column not found for columnId: ${columnId}`);
53
+ (0, LoggingHelper_1.LogAdaptableWarning)(`setCellValue() - column not found for columnId: ${columnId}`);
54
54
  return;
55
55
  }
56
56
  const rowNode = this.getRowNodeForPrimaryKey(primaryKeyValue);
57
57
  if (!rowNode) {
58
- LoggingHelper_1.LogAdaptableWarning(`setCellValue() - rowNode not found for primaryKeyValue: ${primaryKeyValue}`);
58
+ (0, LoggingHelper_1.LogAdaptableWarning)(`setCellValue() - rowNode not found for primaryKeyValue: ${primaryKeyValue}`);
59
59
  return;
60
60
  }
61
61
  this.adaptable.setDataValue(newValue, abColumn, primaryKeyValue, rowNode);
@@ -147,7 +147,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
147
147
  deSelectNodes(rowNodes, clearSelection) {
148
148
  this.adaptable.deSelectNodes(rowNodes, clearSelection);
149
149
  }
150
- selectCellRange(gridCellRange) {
150
+ selectCellRange(gridCellRange, clearSelection) {
151
151
  if (gridCellRange == undefined) {
152
152
  return;
153
153
  }
@@ -170,7 +170,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
170
170
  endNode = startNode;
171
171
  }
172
172
  if (startNode && endNode) {
173
- this.adaptable.selectCells(gridCellRange.columnIds, startNode, endNode);
173
+ this.adaptable.selectCells(gridCellRange.columnIds, startNode, endNode, clearSelection);
174
174
  }
175
175
  }
176
176
  selectColumn(columnId) {
@@ -316,7 +316,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
316
316
  this.adaptable.jumpToCell(columnId, node);
317
317
  }
318
318
  highlightCell(cellHighlightInfo) {
319
- this.dispatchAction(SystemRedux_1.SystemHighlightCellAdd(cellHighlightInfo));
319
+ this.dispatchAction((0, SystemRedux_1.SystemHighlightCellAdd)(cellHighlightInfo));
320
320
  if (cellHighlightInfo.timeout) {
321
321
  setTimeout(() => {
322
322
  this.unHighlightCell(cellHighlightInfo.primaryKeyValue, cellHighlightInfo.columnId);
@@ -324,13 +324,13 @@ class GridApiImpl extends ApiBase_1.ApiBase {
324
324
  }
325
325
  }
326
326
  unHighlightCell(primaryKeyValue, columnId) {
327
- this.dispatchAction(SystemRedux_1.SystemHighlightCellDelete(primaryKeyValue, columnId));
327
+ this.dispatchAction((0, SystemRedux_1.SystemHighlightCellDelete)(primaryKeyValue, columnId));
328
328
  }
329
329
  unHighlightAllCells() {
330
- this.dispatchAction(SystemRedux_1.SystemHighlightCellDeleteAll());
330
+ this.dispatchAction((0, SystemRedux_1.SystemHighlightCellDeleteAll)());
331
331
  }
332
332
  highlightRow(rowHighlightInfo) {
333
- this.dispatchAction(SystemRedux_1.SystemHighlightRowAdd(rowHighlightInfo));
333
+ this.dispatchAction((0, SystemRedux_1.SystemHighlightRowAdd)(rowHighlightInfo));
334
334
  if (rowHighlightInfo.timeout) {
335
335
  setTimeout(() => {
336
336
  this.unHighlightRow(rowHighlightInfo.primaryKeyValue);
@@ -338,7 +338,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
338
338
  }
339
339
  }
340
340
  highlightRows(rowHighlightInfos) {
341
- this.dispatchAction(SystemRedux_1.SystemHighlightRowsAdd(rowHighlightInfos));
341
+ this.dispatchAction((0, SystemRedux_1.SystemHighlightRowsAdd)(rowHighlightInfos));
342
342
  if (rowHighlightInfos.timeout) {
343
343
  setTimeout(() => {
344
344
  this.unHighlightRows(rowHighlightInfos.primaryKeyValues);
@@ -346,13 +346,13 @@ class GridApiImpl extends ApiBase_1.ApiBase {
346
346
  }
347
347
  }
348
348
  unHighlightRow(primaryKeyValue) {
349
- this.dispatchAction(SystemRedux_1.SystemHighlightRowDelete(primaryKeyValue));
349
+ this.dispatchAction((0, SystemRedux_1.SystemHighlightRowDelete)(primaryKeyValue));
350
350
  }
351
351
  unHighlightRows(primaryKeyValues) {
352
- this.dispatchAction(SystemRedux_1.SystemHighlightRowsDelete(primaryKeyValues));
352
+ this.dispatchAction((0, SystemRedux_1.SystemHighlightRowsDelete)(primaryKeyValues));
353
353
  }
354
354
  unHighlightAllRows() {
355
- this.dispatchAction(SystemRedux_1.SystemHighlightRowDeleteAll());
355
+ this.dispatchAction((0, SystemRedux_1.SystemHighlightRowDeleteAll)());
356
356
  }
357
357
  refreshCells(rowNodes, columnIds) {
358
358
  this.adaptable.refreshCells(rowNodes, columnIds, true);
@@ -23,7 +23,7 @@ import { IEntitlementService } from '../../Utilities/Services/Interface/IEntitle
23
23
  import { IQueryLanguageService } from '../../Utilities/Services/Interface/IQueryLanguageService';
24
24
  import { IAlertService } from '../../Utilities/Services/Interface/IAlertService';
25
25
  import { AdaptableFlashingCell } from '../../PredefinedConfig/Common/AdaptableFlashingCell';
26
- import { RowNode } from '@ag-grid-community/all-modules';
26
+ import { RowNode } from '@ag-grid-community/core';
27
27
  import { ITeamSharingService } from '../../Utilities/Services/Interface/ITeamSharingService';
28
28
  import { ColumnValuesComparer } from '../../AdaptableOptions/GeneralOptions';
29
29
  import { ButtonStyle } from '../../PredefinedConfig/Common/ButtonStyle';
@@ -396,7 +396,7 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
396
396
  if (!buttonIcon) {
397
397
  return;
398
398
  }
399
- if (AdaptableIconComponent_1.isAdaptableInternalIcon(buttonIcon) || AdaptableIconComponent_1.isAdaptableExternalIcon(buttonIcon)) {
399
+ if ((0, AdaptableIconComponent_1.isAdaptableInternalIcon)(buttonIcon) || (0, AdaptableIconComponent_1.isAdaptableExternalIcon)(buttonIcon)) {
400
400
  const defaultIconWidth = (_a = defaultWidthHeight === null || defaultWidthHeight === void 0 ? void 0 : defaultWidthHeight.width) !== null && _a !== void 0 ? _a : 'var(--ab-cmp-simple-button__width)';
401
401
  const defaultIconHeight = (_b = defaultWidthHeight === null || defaultWidthHeight === void 0 ? void 0 : defaultWidthHeight.height) !== null && _b !== void 0 ? _b : 'var(--ab-cmp-simple-button__height)';
402
402
  const buttonIconStyle = Object.assign({}, { width: defaultIconWidth, height: defaultIconHeight }, buttonIcon.style);
@@ -471,7 +471,7 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
471
471
  else {
472
472
  // adaptable may not be initialized yet if the framework component is part of the initial render
473
473
  // AFL 2021.10.14 - not really sure if this is necessary anymore?! (see the other changes in this commit)
474
- waitForCondition_1.waitForCondition(() => this.adaptable.isInitialised).then(() => {
474
+ (0, waitForCondition_1.waitForCondition)(() => this.adaptable.isInitialised).then(() => {
475
475
  createComponentFn();
476
476
  });
477
477
  }
@@ -496,7 +496,7 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
496
496
  return this.adaptable.adaptableOptions.adaptableQLOptions.caseSensitiveTextComparisons;
497
497
  }
498
498
  executeWithProgressIndicator(label, executeFn) {
499
- this.dispatchReduxAction(SystemRedux_1.SystemProgressIndicatorShow(label));
499
+ this.dispatchReduxAction((0, SystemRedux_1.SystemProgressIndicatorShow)(label));
500
500
  // setTimeout required to give the ProgressIndicator rendering a head-start (see RAF in ProgressIndicator implementation)
501
501
  setTimeout(() => {
502
502
  try {
@@ -504,12 +504,12 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
504
504
  }
505
505
  catch (error) {
506
506
  this.hideProgressIndicator();
507
- LoggingHelper_1.LogAdaptableError('Unexpected error while executing a function with a progress indicator', error);
507
+ (0, LoggingHelper_1.LogAdaptableError)('Unexpected error while executing a function with a progress indicator', error);
508
508
  }
509
509
  }, 16);
510
510
  }
511
511
  hideProgressIndicator() {
512
- this.dispatchReduxAction(SystemRedux_1.SystemProgressIndicatorHide());
512
+ this.dispatchReduxAction((0, SystemRedux_1.SystemProgressIndicatorHide)());
513
513
  }
514
514
  getCorrectEnglishVariant(wordToSpell) {
515
515
  if (wordToSpell.includes('our')) {
@@ -52,12 +52,12 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
52
52
  }
53
53
  fireLayoutChangedEvent(trigger, oldSate, newState, skipEqualityCheck) {
54
54
  const layoutChangedInfo = {
55
- adaptableApi: this.adaptable.api,
55
+ adaptableApi: this.getAdaptableApi(),
56
56
  actionName: trigger,
57
57
  oldLayoutState: oldSate,
58
58
  newLayoutState: newState,
59
59
  };
60
- if (!skipEqualityCheck && isEqual_1.default(oldSate, newState)) {
60
+ if (!skipEqualityCheck && (0, isEqual_1.default)(oldSate, newState)) {
61
61
  return;
62
62
  }
63
63
  this.adaptable.api.eventApi.emit('LayoutChanged', layoutChangedInfo);
@@ -125,7 +125,7 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
125
125
  }
126
126
  createLayout(layoutToCreate) {
127
127
  if (this.doesLayoutExist(layoutToCreate)) {
128
- LoggingHelper_1.LogAdaptableError("Cannot create layout with the Name: '" + layoutToCreate.Name + "' as it already exists");
128
+ (0, LoggingHelper_1.LogAdaptableError)("Cannot create layout with the Name: '" + layoutToCreate.Name + "' as it already exists");
129
129
  return false;
130
130
  }
131
131
  const newLayout = ObjectFactory_1.default.CreateEmptyLayout(Object.assign({}, layoutToCreate));
@@ -142,11 +142,11 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
142
142
  }
143
143
  cloneLayout(layoutToClone, layoutName) {
144
144
  if (!this.doesLayoutExist(layoutToClone)) {
145
- LoggingHelper_1.LogAdaptableError("Cannot clone layout with Name: '" + layoutName + "' as other Layout does not exist");
145
+ (0, LoggingHelper_1.LogAdaptableError)("Cannot clone layout with Name: '" + layoutName + "' as other Layout does not exist");
146
146
  return false;
147
147
  }
148
148
  const newLayout = Helper_1.default.cloneObject(layoutToClone);
149
- newLayout.Uuid = Uuid_1.createUuid();
149
+ newLayout.Uuid = (0, Uuid_1.createUuid)();
150
150
  newLayout.Name = layoutName;
151
151
  this.dispatchAction(LayoutRedux.LayoutAdd(newLayout));
152
152
  return this.getLayoutById(newLayout.Uuid);
@@ -191,7 +191,7 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
191
191
  };
192
192
  layout1 = Object.assign(Object.assign({}, defaults), layout1);
193
193
  layout2 = Object.assign(Object.assign({}, defaults), layout2);
194
- return isEqual_1.default(layout1, layout2);
194
+ return (0, isEqual_1.default)(layout1, layout2);
195
195
  }
196
196
  getLayoutDescription(layout) {
197
197
  let returnString = '';
@@ -250,12 +250,12 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
250
250
  }
251
251
  }
252
252
  showChangeColumnCaption(column) {
253
- this.dispatchAction(PopupRedux_1.PopupShowPrompt({
253
+ this.dispatchAction((0, PopupRedux_1.PopupShowPrompt)({
254
254
  Header: `Change caption for '${column.friendlyName}'`,
255
255
  Msg: '',
256
256
  DefaultValue: column.friendlyName,
257
257
  ConfirmActionCreator: (inputText) => inputText !== column.friendlyName &&
258
- LayoutRedux_1.LayoutSetColumnCaption(this.getCurrentLayoutName(), column.columnId, inputText),
258
+ (0, LayoutRedux_1.LayoutSetColumnCaption)(this.getCurrentLayoutName(), column.columnId, inputText),
259
259
  }));
260
260
  }
261
261
  showLayoutPopup() {
@@ -265,7 +265,7 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
265
265
  let preparedAction = action;
266
266
  if (!['Edit', 'New', 'Clone'].includes(action)) {
267
267
  preparedAction = 'Edit';
268
- LoggingHelper_1.LogAdaptableError(`When opening the layout editor the action must be one of: New, Clone, Edit; given: ${action}`);
268
+ (0, LoggingHelper_1.LogAdaptableError)(`When opening the layout editor the action must be one of: New, Clone, Edit; given: ${action}`);
269
269
  }
270
270
  let layout = layoutName ? this.getLayoutByName(layoutName) : this.getCurrentLayout();
271
271
  if (preparedAction === 'New') {
@@ -286,12 +286,12 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
286
286
  }
287
287
  deleteLayout(layout) {
288
288
  if (layout.Name === GeneralConstants_1.DEFAULT_LAYOUT) {
289
- LoggingHelper_1.LogAdaptableWarning('The Default Layout cannot be deleted');
289
+ (0, LoggingHelper_1.LogAdaptableWarning)('The Default Layout cannot be deleted');
290
290
  return;
291
291
  }
292
292
  const layoutCount = this.getAllLayout().length;
293
293
  if (layoutCount === 1) {
294
- LoggingHelper_1.LogAdaptableWarning('You cannot delete the only Layout. AdapTable always requires one layout');
294
+ (0, LoggingHelper_1.LogAdaptableWarning)('You cannot delete the only Layout. AdapTable always requires one layout');
295
295
  return;
296
296
  }
297
297
  this.dispatchAction(LayoutRedux.LayoutDelete(layout));
@@ -299,7 +299,7 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
299
299
  deleteLayoutByName(layoutName) {
300
300
  const layout = this.getLayoutByName(layoutName);
301
301
  if (!layout) {
302
- LoggingHelper_1.LogAdaptableWarning('No Layout exists with that name');
302
+ (0, LoggingHelper_1.LogAdaptableWarning)('No Layout exists with that name');
303
303
  return;
304
304
  }
305
305
  return this.deleteLayout(layout);
@@ -33,7 +33,7 @@ class PredicateApiImpl extends ApiBase_1.ApiBase {
33
33
  predicateToString(predicate) {
34
34
  const predicateDef = this.getPredicateDefById(predicate.PredicateId);
35
35
  if (!predicateDef) {
36
- LoggingHelper_1.LogAdaptableWarning('Cannot find Predicate with Id:' + predicate.PredicateId);
36
+ (0, LoggingHelper_1.LogAdaptableWarning)('Cannot find Predicate with Id:' + predicate.PredicateId);
37
37
  return '[Predicate Not found]';
38
38
  }
39
39
  return predicateDef.hasOwnProperty('toString')
@@ -67,7 +67,7 @@ class PredicateApiImpl extends ApiBase_1.ApiBase {
67
67
  if (!predicate) {
68
68
  return defaultReturn;
69
69
  }
70
- const predicateDef = this.adaptable.api.predicateApi.getPredicateDefById(predicate.PredicateId);
70
+ const predicateDef = this.getPredicateDefById(predicate.PredicateId);
71
71
  if (predicateDef === undefined) {
72
72
  return defaultReturn;
73
73
  }
@@ -75,7 +75,7 @@ class PredicateApiImpl extends ApiBase_1.ApiBase {
75
75
  return defaultReturn;
76
76
  }
77
77
  try {
78
- return predicateDef.handler(Object.assign({ api: this.adaptable.api, inputs: predicate.Inputs }, params));
78
+ return predicateDef.handler(Object.assign({ api: this.getAdaptableApi(), inputs: predicate.Inputs }, params));
79
79
  }
80
80
  catch (error) {
81
81
  console.error(`Error in predicate ${predicateDef.label}`, error);
@@ -20,7 +20,7 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
20
20
  return this.getAllNamedQuery().find((se) => se.Name == namedQueryName);
21
21
  }
22
22
  isValidNamedQueryName(namedQuery) {
23
- if (StringExtensions_1.IsNullOrEmptyOrWhiteSpace(namedQuery === null || namedQuery === void 0 ? void 0 : namedQuery.Name)) {
23
+ if ((0, StringExtensions_1.IsNullOrEmptyOrWhiteSpace)(namedQuery === null || namedQuery === void 0 ? void 0 : namedQuery.Name)) {
24
24
  return { valid: false, message: 'Query name cannot be blank' };
25
25
  }
26
26
  // check that there is no other existing named query with the same name
@@ -55,13 +55,13 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
55
55
  }
56
56
  getReferencedNamedQueryNames(expression = '') {
57
57
  try {
58
- return this.adaptable.api.internalApi
59
- .getQueryLanguageService()
58
+ return this.getAdaptableApi()
59
+ .internalApi.getQueryLanguageService()
60
60
  .getNamedQueryNamesFromExpression(expression);
61
61
  }
62
62
  catch (error) {
63
63
  // defensive programing, this should happen only if someone botched the predefined configs
64
- LoggingHelper_1.LogAdaptableWarning(`QueryApi.getReferencedNamedQueryNames received an invalid expression: ${expression}
64
+ (0, LoggingHelper_1.LogAdaptableWarning)(`QueryApi.getReferencedNamedQueryNames received an invalid expression: ${expression}
65
65
  Error: ${error}`);
66
66
  return [];
67
67
  }
@@ -79,7 +79,7 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
79
79
  }
80
80
  expandCurrentQuery(query) {
81
81
  const preparedQuery = query !== null && query !== void 0 ? query : this.getCurrentQuery();
82
- this.adaptable.api.internalApi.dispatchReduxAction(PopupRedux.PopupShowWindow({
82
+ this.dispatchAction(PopupRedux.PopupShowWindow({
83
83
  Id: windowFactory_1.WINDOW_QUERY_EDITOR,
84
84
  Title: 'Current Query',
85
85
  Icon: 'query',
@@ -90,7 +90,7 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
90
90
  }
91
91
  fireQueryRunEvent() {
92
92
  if (this.adaptable.isLive) {
93
- const currentQuery = this.adaptable.api.queryApi.getCurrentQuery();
93
+ const currentQuery = this.getCurrentQuery();
94
94
  const adaptableApi = this.getAdaptableApi();
95
95
  const queryRunInfo = {
96
96
  currentQuery,
@@ -12,7 +12,7 @@ class QueryLanguageApiImpl extends ApiBase_1.ApiBase {
12
12
  .getQueryLanguageService()
13
13
  .validateBoolean(query, module, { force: true });
14
14
  if (!isValid && validationErrorMessage) {
15
- LoggingHelper_1.LogAdaptableWarning(`${validationErrorMessage} :: ${errorMessage}`);
15
+ (0, LoggingHelper_1.LogAdaptableWarning)(`${validationErrorMessage} :: ${errorMessage}`);
16
16
  }
17
17
  return isValid;
18
18
  }
@@ -21,7 +21,7 @@ class QueryLanguageApiImpl extends ApiBase_1.ApiBase {
21
21
  .getQueryLanguageService()
22
22
  .validateObservable(expression, module);
23
23
  if (!isValid && validationErrorMessage) {
24
- LoggingHelper_1.LogAdaptableWarning(`${validationErrorMessage} :: ${errorMessage}`);
24
+ (0, LoggingHelper_1.LogAdaptableWarning)(`${validationErrorMessage} :: ${errorMessage}`);
25
25
  }
26
26
  return isValid;
27
27
  }
@@ -30,7 +30,7 @@ class QueryLanguageApiImpl extends ApiBase_1.ApiBase {
30
30
  .getQueryLanguageService()
31
31
  .validateAggregatedBoolean(expression, module);
32
32
  if (!isValid && validationErrorMessage) {
33
- LoggingHelper_1.LogAdaptableWarning(`${validationErrorMessage} :: ${errorMessage}`);
33
+ (0, LoggingHelper_1.LogAdaptableWarning)(`${validationErrorMessage} :: ${errorMessage}`);
34
34
  }
35
35
  return isValid;
36
36
  }
@@ -39,7 +39,7 @@ class QueryLanguageApiImpl extends ApiBase_1.ApiBase {
39
39
  .getQueryLanguageService()
40
40
  .validateAggregatedScalar(expression, module);
41
41
  if (!isValid && validationErrorMessage) {
42
- LoggingHelper_1.LogAdaptableWarning(`${validationErrorMessage} :: ${errorMessage}`);
42
+ (0, LoggingHelper_1.LogAdaptableWarning)(`${validationErrorMessage} :: ${errorMessage}`);
43
43
  }
44
44
  return isValid;
45
45
  }
@@ -62,7 +62,7 @@ class QueryLanguageApiImpl extends ApiBase_1.ApiBase {
62
62
  }
63
63
  catch (error) {
64
64
  // defensive programing, this should happen only if someone botched the predefined configs
65
- LoggingHelper_1.LogAdaptableWarning(`QueryApi.getColumnsFromExpressionInvalid received an invalid expression: ${expression}
65
+ (0, LoggingHelper_1.LogAdaptableWarning)(`QueryApi.getColumnsFromExpressionInvalid received an invalid expression: ${expression}
66
66
  Error: ${error}`);
67
67
  return [];
68
68
  }
@@ -240,21 +240,21 @@ class ScopeApiImpl extends ApiBase_1.ApiBase {
240
240
  ranges.push({
241
241
  Min: 0,
242
242
  Max: 0,
243
- Color: UIHelper_1.getHexForName(UIHelper_1.GRAY),
243
+ Color: (0, UIHelper_1.getHexForName)(UIHelper_1.GRAY),
244
244
  });
245
245
  }
246
246
  if (minValue < 0) {
247
247
  ranges.push({
248
248
  Min: minValue,
249
249
  Max: 0,
250
- Color: UIHelper_1.getHexForName(UIHelper_1.RED),
250
+ Color: (0, UIHelper_1.getHexForName)(UIHelper_1.RED),
251
251
  });
252
252
  }
253
253
  if (maxValue > 0) {
254
254
  ranges.push({
255
255
  Min: 0,
256
256
  Max: maxValue,
257
- Color: UIHelper_1.getHexForName(UIHelper_1.DARK_GREEN),
257
+ Color: (0, UIHelper_1.getHexForName)(UIHelper_1.DARK_GREEN),
258
258
  });
259
259
  }
260
260
  return ranges;
@@ -9,7 +9,7 @@ class SettingsPanelApiImpl extends ApiBase_1.ApiBase {
9
9
  showSettingsPanel(moduleName) {
10
10
  const moduleInfo = this.adaptable.ModuleService.getModuleInfoByModule(moduleName);
11
11
  if (!moduleInfo) {
12
- LoggingHelper_1.LogAdaptableError(`${moduleName} module does not exist`);
12
+ (0, LoggingHelper_1.LogAdaptableError)(`${moduleName} module does not exist`);
13
13
  return;
14
14
  }
15
15
  this.dispatchAction(PopupRedux.PopupShowScreen(moduleName, moduleInfo.Popup));
@@ -1,7 +1,7 @@
1
1
  import { AdaptableStatusBar } from '../../PredefinedConfig/StatusBarState';
2
2
  import { StatusBarApi } from '../StatusBarApi';
3
3
  import { ApiBase } from './ApiBase';
4
- import { GridOptions } from '@ag-grid-community/all-modules';
4
+ import { GridOptions } from '@ag-grid-community/core';
5
5
  export declare class StatusBarApiImpl extends ApiBase implements StatusBarApi {
6
6
  getAdaptableStatusBars(): AdaptableStatusBar[];
7
7
  getAgGridStatusPanels(): GridOptions['statusBar']['statusPanels'];
@@ -5,13 +5,13 @@ const StatusBarRedux_1 = require("../../Redux/ActionsReducers/StatusBarRedux");
5
5
  const ApiBase_1 = require("./ApiBase");
6
6
  class StatusBarApiImpl extends ApiBase_1.ApiBase {
7
7
  getAdaptableStatusBars() {
8
- return StatusBarRedux_1.getStatusPanelsSelector(this.getAdaptableState());
8
+ return (0, StatusBarRedux_1.getStatusPanelsSelector)(this.getAdaptableState());
9
9
  }
10
10
  getAgGridStatusPanels() {
11
11
  return this.adaptable.getAgGridStatusPanels();
12
12
  }
13
13
  setStatusBarPanels(statusPanels) {
14
- this.getAdaptableApi().internalApi.dispatchReduxAction(StatusBarRedux_1.StatusBarSetPanels(statusPanels));
14
+ this.dispatchAction((0, StatusBarRedux_1.StatusBarSetPanels)(statusPanels));
15
15
  }
16
16
  }
17
17
  exports.StatusBarApiImpl = StatusBarApiImpl;
@@ -15,7 +15,7 @@ const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
15
15
  class SystemStatusApiImpl extends ApiBase_1.ApiBase {
16
16
  setSystemStatus(statusMessage, messageType, statusFurtherInformation) {
17
17
  let systemStatusMessageInfo = ObjectFactory_1.default.CreateSystemStatusMessageInfo(statusMessage, messageType, statusFurtherInformation ? statusFurtherInformation : '');
18
- this.adaptable.api.internalApi.addSystemStatusMessageInfo(systemStatusMessageInfo);
18
+ this.getAdaptableApi().internalApi.addSystemStatusMessageInfo(systemStatusMessageInfo);
19
19
  // publish the event
20
20
  this.fireSystemStatusMessageDisplayedEvent(systemStatusMessageInfo);
21
21
  if (this.getNotificationsOptions().showSystemStatusMessageNotifications) {
@@ -25,16 +25,16 @@ class SystemStatusApiImpl extends ApiBase_1.ApiBase {
25
25
  }
26
26
  switch (messageType) {
27
27
  case 'Success':
28
- this.adaptable.api.alertApi.showAlertSuccess('System Status Success', fullMessage);
28
+ this.getAdaptableApi().alertApi.showAlertSuccess('System Status Success', fullMessage);
29
29
  return;
30
30
  case 'Info':
31
- this.adaptable.api.alertApi.showAlertInfo('System Status Info', fullMessage);
31
+ this.getAdaptableApi().alertApi.showAlertInfo('System Status Info', fullMessage);
32
32
  return;
33
33
  case 'Warning':
34
- this.adaptable.api.alertApi.showAlertWarning('System Status Warning', fullMessage);
34
+ this.getAdaptableApi().alertApi.showAlertWarning('System Status Warning', fullMessage);
35
35
  return;
36
36
  case 'Error':
37
- this.adaptable.api.alertApi.showAlertError('System Status Error', fullMessage);
37
+ this.getAdaptableApi().alertApi.showAlertError('System Status Error', fullMessage);
38
38
  return;
39
39
  }
40
40
  }
@@ -57,7 +57,7 @@ class SystemStatusApiImpl extends ApiBase_1.ApiBase {
57
57
  statusMessage += statusFurtherInformation;
58
58
  }
59
59
  const foreColor = messageType ? UIHelper_1.default.getColorByMessageType(messageType) : 'black';
60
- react_dom_1.render(react_1.createElement('span', { style: { color: foreColor } }, statusMessage), this.systemStatusDiv);
60
+ (0, react_dom_1.render)((0, react_1.createElement)('span', { style: { color: foreColor } }, statusMessage), this.systemStatusDiv);
61
61
  }
62
62
  }
63
63
  setErrorSystemStatus(statusMessage, statusFurtherInformation) {
@@ -73,7 +73,7 @@ class SystemStatusApiImpl extends ApiBase_1.ApiBase {
73
73
  this.setSystemStatus(statusMessage, 'Info', statusFurtherInformation);
74
74
  }
75
75
  setDefaultMessage() {
76
- LoggingHelper_1.LogAdaptableWarning(`SystemStatusApi.setDefaultMessage is deprecated`);
76
+ (0, LoggingHelper_1.LogAdaptableWarning)(`SystemStatusApi.setDefaultMessage is deprecated`);
77
77
  }
78
78
  showSystemStatusPopup() {
79
79
  this.showModulePopup(ModuleConstants.SystemStatusModuleId);
@@ -83,10 +83,10 @@ class SystemStatusApiImpl extends ApiBase_1.ApiBase {
83
83
  adaptableApi: this.getAdaptableApi(),
84
84
  systemStatusMessageInfo: systemStatusMessageInfo,
85
85
  };
86
- this.adaptable.api.eventApi.emit('SystemStatusMessageDisplayed', systemStatusMessageDisplayedInfo);
86
+ this.getAdaptableApi().eventApi.emit('SystemStatusMessageDisplayed', systemStatusMessageDisplayedInfo);
87
87
  }
88
88
  getCurrentSystemStatusMessageInfo() {
89
- const messageInfos = this.adaptable.api.internalApi.getSystemStatusMessageInfos() || [];
89
+ const messageInfos = this.getAdaptableApi().internalApi.getSystemStatusMessageInfos() || [];
90
90
  const orderedArray = messageInfos.sort((a, b) => b.timestamp.getTime() - a.timestamp.getTime());
91
91
  return orderedArray[0];
92
92
  }
@@ -10,14 +10,14 @@ const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
10
10
  class TeamSharingApiImpl extends ApiBase_1.ApiBase {
11
11
  async getSharedEntities() {
12
12
  if (!this.isTeamSharingActivated()) {
13
- LoggingHelper_1.ConsoleLogWarning('Team Sharing is not Activated so Entities cannot be loaded');
13
+ (0, LoggingHelper_1.ConsoleLogWarning)('Team Sharing is not Activated so Entities cannot be loaded');
14
14
  return [];
15
15
  }
16
16
  return this.adaptable.adaptableOptions.teamSharingOptions.getSharedEntities(this.adaptable.adaptableOptions.adaptableId);
17
17
  }
18
18
  async setSharedEntities(sharedEntities) {
19
19
  if (!this.isTeamSharingActivated()) {
20
- LoggingHelper_1.ConsoleLogWarning('Team Sharing is not Activated so Entities cannot be shared');
20
+ (0, LoggingHelper_1.ConsoleLogWarning)('Team Sharing is not Activated so Entities cannot be shared');
21
21
  return false;
22
22
  }
23
23
  await this.adaptable.adaptableOptions.teamSharingOptions.setSharedEntities(this.adaptable.adaptableOptions.adaptableId, sharedEntities);
@@ -36,12 +36,12 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
36
36
  return this.isTeamSharingAvailable();
37
37
  }
38
38
  hasTeamSharingFullRights() {
39
- return this.adaptable.api.internalApi
40
- .getEntitlementService()
39
+ return this.getAdaptableApi()
40
+ .internalApi.getEntitlementService()
41
41
  .isModuleFullEntitlement(ModuleConstants.TeamSharingModuleId);
42
42
  }
43
43
  checkForUpdates() {
44
- this.dispatchAction(TeamSharingRedux_1.TeamSharingCheckForUpdates());
44
+ this.dispatchAction((0, TeamSharingRedux_1.TeamSharingCheckForUpdates)());
45
45
  }
46
46
  showTeamSharingPopup() {
47
47
  this.showModulePopup(ModuleConstants.TeamSharingModuleId);
@@ -52,25 +52,25 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
52
52
  adaptableApi: this.adaptable.api,
53
53
  sharedEntity: sharedEntity,
54
54
  };
55
- this.adaptable.api.eventApi.emit('TeamSharingEntityChanged', teamSharingEntityChangedInfo);
55
+ this.getAdaptableApi().eventApi.emit('TeamSharingEntityChanged', teamSharingEntityChangedInfo);
56
56
  }
57
57
  }
58
58
  shareEntity(entity, module, sharedEntityConfig) {
59
59
  if (!this.isTeamSharingActivated()) {
60
- LoggingHelper_1.ConsoleLogWarning('Team Sharing is not Activated so Entities cannot be shared');
60
+ (0, LoggingHelper_1.ConsoleLogWarning)('Team Sharing is not Activated so Entities cannot be shared');
61
61
  return;
62
62
  }
63
63
  this.dispatchAction(TeamSharingRedux.TeamSharingShare(entity, module, sharedEntityConfig));
64
64
  }
65
65
  unshareEntity(entityId) {
66
66
  if (!this.isTeamSharingActivated()) {
67
- LoggingHelper_1.ConsoleLogWarning('Team Sharing is not Activated so Entities cannot be unshared');
67
+ (0, LoggingHelper_1.ConsoleLogWarning)('Team Sharing is not Activated so Entities cannot be unshared');
68
68
  return;
69
69
  }
70
70
  this.dispatchAction(TeamSharingRedux.TeamSharingRemoveItem(entityId));
71
71
  }
72
72
  importSharedEntry(sharedEntity) {
73
- this.adaptable.api.internalApi.dispatchReduxAction(TeamSharingRedux.TeamSharingImportItem(sharedEntity));
73
+ this.dispatchAction(TeamSharingRedux.TeamSharingImportItem(sharedEntity));
74
74
  }
75
75
  getTeamSharingState() {
76
76
  return this.getAdaptableState().TeamSharing;
@@ -84,7 +84,7 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
84
84
  return ((_a = sharedEntity === null || sharedEntity === void 0 ? void 0 : sharedEntity.EntityDependencyIds) !== null && _a !== void 0 ? _a : []).map((id) => allEntities.find((entity) => entity.Uuid === id));
85
85
  }
86
86
  triggerLoadingTeamSharingEntries() {
87
- this.adaptable.api.internalApi.dispatchReduxAction(TeamSharingRedux.TeamSharingGet());
87
+ this.dispatchAction(TeamSharingRedux.TeamSharingGet());
88
88
  }
89
89
  }
90
90
  exports.TeamSharingApiImpl = TeamSharingApiImpl;