@adaptabletools/adaptable 12.0.0-canary.3 → 12.0.0-canary.6

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 (441) hide show
  1. package/base.css +26 -0
  2. package/bundle.cjs.js +102 -99
  3. package/index.css +34 -0
  4. package/package.json +2 -2
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableOptions/ActionOptions.d.ts +181 -1
  8. package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
  9. package/src/AdaptableOptions/ColumnOptions.d.ts +4 -0
  10. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +17 -2
  11. package/src/AdaptableOptions/EditOptions.d.ts +7 -80
  12. package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
  13. package/src/AdaptableOptions/LayoutOptions.d.ts +11 -6
  14. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +2 -0
  15. package/src/AdaptableOptions/StateOptions.d.ts +10 -0
  16. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -112
  17. package/src/Api/ActionApi.d.ts +24 -0
  18. package/src/Api/{Events/RowFormSubmitted.js → ActionApi.js} +0 -0
  19. package/src/Api/AdaptableApi.d.ts +5 -0
  20. package/src/Api/ConfigApi.d.ts +1 -1
  21. package/src/Api/EventApi.d.ts +9 -9
  22. package/src/Api/Events/ActionRowSubmitted.d.ts +58 -0
  23. package/src/Api/Events/ActionRowSubmitted.js +2 -0
  24. package/src/Api/GridApi.d.ts +0 -14
  25. package/src/Api/Implementation/ActionApiImpl.d.ts +8 -0
  26. package/src/Api/Implementation/ActionApiImpl.js +56 -0
  27. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  28. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  29. package/src/Api/Implementation/AlertApiImpl.d.ts +2 -4
  30. package/src/Api/Implementation/AlertApiImpl.js +2 -3
  31. package/src/Api/Implementation/ApiBase.d.ts +13 -1
  32. package/src/Api/Implementation/ApiBase.js +10 -0
  33. package/src/Api/Implementation/ColumnApiImpl.js +2 -2
  34. package/src/Api/Implementation/ConditionalStyleApiImpl.d.ts +2 -4
  35. package/src/Api/Implementation/ConditionalStyleApiImpl.js +2 -3
  36. package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
  37. package/src/Api/Implementation/CustomSortApiImpl.d.ts +2 -4
  38. package/src/Api/Implementation/CustomSortApiImpl.js +2 -3
  39. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +2 -4
  40. package/src/Api/Implementation/FlashingCellApiImpl.js +2 -3
  41. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +2 -4
  42. package/src/Api/Implementation/FormatColumnApiImpl.js +2 -3
  43. package/src/Api/Implementation/GridApiImpl.d.ts +0 -3
  44. package/src/Api/Implementation/GridApiImpl.js +0 -44
  45. package/src/Api/Implementation/InternalApiImpl.d.ts +1 -1
  46. package/src/Api/Implementation/InternalApiImpl.js +5 -4
  47. package/src/Api/Implementation/LayoutApiImpl.d.ts +0 -2
  48. package/src/Api/Implementation/LayoutApiImpl.js +0 -6
  49. package/src/Api/Implementation/PlusMinusApiImpl.d.ts +2 -4
  50. package/src/Api/Implementation/PlusMinusApiImpl.js +2 -3
  51. package/src/Api/Implementation/ScheduleApiImpl.d.ts +6 -16
  52. package/src/Api/Implementation/ScheduleApiImpl.js +10 -16
  53. package/src/Api/Implementation/ShortcutApiImpl.d.ts +2 -4
  54. package/src/Api/Implementation/ShortcutApiImpl.js +2 -3
  55. package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
  56. package/src/Api/Implementation/SmartEditApiImpl.js +2 -1
  57. package/src/Api/Implementation/StatusBarApiImpl.d.ts +4 -3
  58. package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
  59. package/src/Api/Implementation/TeamSharingApiImpl.js +2 -1
  60. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -2
  61. package/src/Api/Implementation/UserInterfaceApiImpl.js +0 -4
  62. package/src/Api/InternalApi.d.ts +1 -1
  63. package/src/Api/LayoutApi.d.ts +1 -6
  64. package/src/Api/SmartEditApi.d.ts +1 -1
  65. package/src/Api/StatusBarApi.d.ts +10 -3
  66. package/src/Api/UserInterfaceApi.d.ts +1 -5
  67. package/src/PredefinedConfig/Common/AdaptableAlert.js +4 -2
  68. package/src/PredefinedConfig/Common/AdaptableColumn.js +2 -1
  69. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +1 -1
  70. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +24 -18
  71. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -4
  72. package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -36
  73. package/src/PredefinedConfig/Common/AdaptableQuery.js +2 -1
  74. package/src/PredefinedConfig/Common/Menu.d.ts +3 -3
  75. package/src/PredefinedConfig/Common/Types.d.ts +1 -1
  76. package/src/PredefinedConfig/StatusBarState.d.ts +5 -2
  77. package/src/PredefinedConfig/Uuid.js +2 -1
  78. package/src/Redux/ActionsReducers/AlertRedux.js +16 -8
  79. package/src/Redux/ActionsReducers/ApplicationRedux.js +8 -4
  80. package/src/Redux/ActionsReducers/BulkUpdateRedux.js +6 -3
  81. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +10 -5
  82. package/src/Redux/ActionsReducers/CellSummaryRedux.js +2 -1
  83. package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +14 -7
  84. package/src/Redux/ActionsReducers/CustomSortRedux.js +14 -7
  85. package/src/Redux/ActionsReducers/DashboardRedux.js +24 -12
  86. package/src/Redux/ActionsReducers/ExportRedux.js +16 -8
  87. package/src/Redux/ActionsReducers/FlashingCellRedux.js +16 -8
  88. package/src/Redux/ActionsReducers/FormatColumnRedux.js +14 -7
  89. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +14 -7
  90. package/src/Redux/ActionsReducers/GridRedux.js +38 -19
  91. package/src/Redux/ActionsReducers/LayoutRedux.js +30 -15
  92. package/src/Redux/ActionsReducers/PluginsRedux.js +4 -2
  93. package/src/Redux/ActionsReducers/PlusMinusRedux.js +16 -8
  94. package/src/Redux/ActionsReducers/PopupRedux.js +37 -19
  95. package/src/Redux/ActionsReducers/QueryRedux.js +12 -6
  96. package/src/Redux/ActionsReducers/QuickSearchRedux.js +8 -4
  97. package/src/Redux/ActionsReducers/ScheduleRedux.js +58 -29
  98. package/src/Redux/ActionsReducers/ShortcutRedux.js +14 -7
  99. package/src/Redux/ActionsReducers/SmartEditRedux.js +6 -3
  100. package/src/Redux/ActionsReducers/StatusBarRedux.js +10 -5
  101. package/src/Redux/ActionsReducers/SystemRedux.js +103 -51
  102. package/src/Redux/ActionsReducers/SystemStatusRedux.js +4 -2
  103. package/src/Redux/ActionsReducers/TeamSharingRedux.js +22 -11
  104. package/src/Redux/ActionsReducers/ThemeRedux.js +10 -5
  105. package/src/Redux/ActionsReducers/ToolPanelRedux.js +16 -8
  106. package/src/Redux/DeadRedux.js +16 -8
  107. package/src/Redux/Store/AdaptableReduxMerger.js +2 -1
  108. package/src/Redux/Store/AdaptableStore.js +7 -2
  109. package/src/Strategy/AlertModule.d.ts +2 -18
  110. package/src/Strategy/AlertModule.js +2 -1
  111. package/src/Strategy/ConditionalStyleModule.d.ts +2 -10
  112. package/src/Strategy/DashboardModule.js +3 -1
  113. package/src/Strategy/DataChangeHistoryModule.d.ts +2 -8
  114. package/src/Strategy/DataSetModule.d.ts +2 -13
  115. package/src/Strategy/ExportModule.d.ts +2 -13
  116. package/src/Strategy/ExportModule.js +1 -1
  117. package/src/Strategy/FilterModule.d.ts +2 -14
  118. package/src/Strategy/FilterModule.js +1 -1
  119. package/src/Strategy/FlashingCellModule.d.ts +2 -9
  120. package/src/Strategy/GridInfoModule.js +6 -2
  121. package/src/Strategy/Interface/IModule.d.ts +2 -1
  122. package/src/Strategy/LayoutModule.d.ts +3 -17
  123. package/src/Strategy/LayoutModule.js +57 -4
  124. package/src/Strategy/PlusMinusModule.d.ts +2 -9
  125. package/src/Strategy/QuickSearchModule.d.ts +2 -7
  126. package/src/Strategy/ScheduleModule.d.ts +2 -13
  127. package/src/Strategy/ShortcutModule.d.ts +2 -9
  128. package/src/Strategy/StatusBarModule.js +2 -2
  129. package/src/Strategy/SystemStatusModule.d.ts +2 -7
  130. package/src/Strategy/ThemeModule.d.ts +2 -8
  131. package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +2 -1
  132. package/src/Strategy/Utilities/getAlertPreviewViewItems.js +2 -1
  133. package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +2 -1
  134. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +2 -1
  135. package/src/Strategy/Utilities/getExportColumnsViewItems.js +2 -1
  136. package/src/Strategy/Utilities/getExportRowsViewItems.js +2 -1
  137. package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
  138. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +2 -1
  139. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +2 -6
  140. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +2 -1
  141. package/src/Strategy/Utilities/getFlashingTargetViewItems.js +2 -1
  142. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +2 -1
  143. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +2 -1
  144. package/src/Strategy/Utilities/getObjectTagsViewItems.js +2 -1
  145. package/src/Strategy/Utilities/getRuleViewItems.js +2 -1
  146. package/src/Strategy/Utilities/getScopeViewItems.js +2 -1
  147. package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +2 -1
  148. package/src/Strategy/Utilities/getStyleViewItems.js +2 -1
  149. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
  150. package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
  151. package/src/Utilities/Constants/GeneralConstants.js +2 -1
  152. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +21 -13
  153. package/src/Utilities/ExpressionFunctions/dateUtils.js +2 -1
  154. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +20 -10
  155. package/src/Utilities/Extensions/TypeExtensions.d.ts +30 -0
  156. package/src/Utilities/Helpers/AdaptableHelper.d.ts +1 -3
  157. package/src/Utilities/Helpers/AdaptableHelper.js +6 -16
  158. package/src/Utilities/Helpers/DateHelper.d.ts +27 -0
  159. package/src/Utilities/Helpers/DateHelper.js +43 -6
  160. package/src/Utilities/Helpers/Helper.js +2 -1
  161. package/src/Utilities/Helpers/LoggingHelper.js +2 -1
  162. package/src/Utilities/Helpers/StyleHelper.js +8 -4
  163. package/src/Utilities/MenuItem.d.ts +4 -3
  164. package/src/Utilities/MenuItem.js +9 -3
  165. package/src/Utilities/ObjectFactory.js +1 -0
  166. package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -0
  167. package/src/Utilities/Services/Interface/IRowEditService.d.ts +3 -3
  168. package/src/Utilities/Services/MetamodelService.d.ts +7 -1
  169. package/src/Utilities/Services/MetamodelService.js +82 -6
  170. package/src/Utilities/Services/ModuleService.js +3 -1
  171. package/src/Utilities/Services/RowEditService.d.ts +6 -6
  172. package/src/Utilities/Services/RowEditService.js +24 -25
  173. package/src/Utilities/isAdaptableObject.js +2 -1
  174. package/src/Utilities/isMacLike.js +2 -1
  175. package/src/Utilities/license/decode.js +1 -1
  176. package/src/Utilities/reorder.js +2 -1
  177. package/src/Utilities/runIfNotResolvedIn.js +2 -1
  178. package/src/Utilities/waitForCondition.d.ts +1 -1
  179. package/src/Utilities/waitForCondition.js +2 -1
  180. package/src/View/AdaptableContext.js +2 -1
  181. package/src/View/AdaptableView.js +2 -1
  182. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +12 -9
  183. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +2 -1
  184. package/src/View/AdaptableWizardView/Utils.js +2 -1
  185. package/src/View/AdaptableWizardView/Wizard.js +4 -2
  186. package/src/View/AdaptableWizardView/helper.js +6 -3
  187. package/src/View/Alert/ActiveAlertsPanel.js +2 -1
  188. package/src/View/Alert/AlertEmptyView.js +2 -1
  189. package/src/View/Alert/AlertStatusSubPanel.js +2 -1
  190. package/src/View/Alert/Utilities/getAlertButtonStyle.js +2 -1
  191. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +4 -2
  192. package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -1
  193. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -3
  194. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -2
  195. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -1
  196. package/src/View/Alert/Wizard/AlertWizard.js +2 -1
  197. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -1
  198. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +4 -2
  199. package/src/View/Alert/Wizard/isValidAlertRules.js +2 -1
  200. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  201. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +2 -1
  202. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +6 -3
  203. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -3
  204. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -1
  205. package/src/View/CellSummary/CellSummaryPopover.js +2 -1
  206. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +2 -1
  207. package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -1
  208. package/src/View/ColorPicker.d.ts +5 -1
  209. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  210. package/src/View/Components/AdaptableDateInput/index.js +11 -11
  211. package/src/View/Components/AdaptableInput/index.d.ts +2 -2
  212. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -2
  213. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -2
  214. package/src/View/Components/Buttons/ButtonClone.js +2 -1
  215. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  216. package/src/View/Components/Buttons/ButtonEdit.js +2 -1
  217. package/src/View/Components/Buttons/ButtonNew.js +2 -1
  218. package/src/View/Components/ColumnSelector/index.js +2 -1
  219. package/src/View/Components/EntityRulesEditor/index.js +6 -3
  220. package/src/View/Components/ExpressionWizard.js +2 -1
  221. package/src/View/Components/ExternalRenderer.js +2 -1
  222. package/src/View/Components/FilterForm/FilterForm.js +2 -1
  223. package/src/View/Components/FilterForm/ListBoxFilterForm.js +2 -1
  224. package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
  225. package/src/View/Components/FilterForm/QuickFilterForm.js +5 -3
  226. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  227. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +2 -1
  228. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -2
  229. package/src/View/Components/ListBox/DualListBoxEditor.js +2 -1
  230. package/src/View/Components/ModuleValueSelector/index.js +2 -1
  231. package/src/View/Components/NewScopeComponent.js +6 -3
  232. package/src/View/Components/Panels/PanelFooter.js +2 -1
  233. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -429
  234. package/src/View/Components/Panels/PanelWithImage.js +2 -0
  235. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
  236. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +2 -1
  237. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +2 -1
  238. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -1
  239. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +2 -1
  240. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -5
  241. package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +2 -1
  242. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
  243. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +6 -5
  244. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -1
  245. package/src/View/Components/Popups/AdaptablePopupAlert.js +4 -4
  246. package/src/View/Components/Popups/AdaptablePopupPrompt.js +2 -1
  247. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +2 -1
  248. package/src/View/Components/Popups/AdaptableToaster.js +2 -1
  249. package/src/View/Components/Popups/FormPopups/FormPopups.js +4 -2
  250. package/src/View/Components/Popups/Utilities.js +8 -4
  251. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +2 -1
  252. package/src/View/Components/Selectors/ColumnSelector.js +2 -1
  253. package/src/View/Components/TagValueSelector/index.js +4 -2
  254. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
  255. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +5 -1
  256. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -1
  257. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  258. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
  259. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +2 -1
  260. package/src/View/Components/WizardSummaryPage.js +2 -1
  261. package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -1
  262. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +4 -2
  263. package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -1
  264. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +2 -1
  265. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +6 -3
  266. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +6 -3
  267. package/src/View/CustomSort/Wizard/CustomSortWizard.js +2 -1
  268. package/src/View/Dashboard/CustomDashboardButton.js +2 -1
  269. package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
  270. package/src/View/Dashboard/Dashboard.d.ts +1 -1
  271. package/src/View/Dashboard/Dashboard.js +4 -3
  272. package/src/View/Dashboard/DashboardPopup.js +1 -1
  273. package/src/View/Dashboard/ModuleToolbarWrapper.js +2 -1
  274. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +7 -0
  275. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +6 -6
  276. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +2 -1
  277. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +2 -1
  278. package/src/View/DataChangeHistory/buildActionColumnButton.js +13 -9
  279. package/src/View/DataSet/DataSetSelector.js +2 -1
  280. package/src/View/DataSet/DataSetStatusPanelPopover.js +2 -1
  281. package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
  282. package/src/View/Export/ExportSelector.js +2 -1
  283. package/src/View/Export/ExportViewPanel.d.ts +1 -1
  284. package/src/View/Export/ReportExportDropdown.js +2 -1
  285. package/src/View/Export/Wizard/NewReportWizard.js +4 -2
  286. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +6 -3
  287. package/src/View/Export/Wizard/ReportNameWizardSection.js +6 -3
  288. package/src/View/Export/Wizard/ReportRowsWizardSection.js +6 -3
  289. package/src/View/Filter/ActiveFiltersPanel.js +2 -1
  290. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +2 -1
  291. package/src/View/Filter/FilterSummary.d.ts +1 -1
  292. package/src/View/Filter/FilterViewPanel.d.ts +1 -1
  293. package/src/View/FlashingCell/FlashingCellStyle.js +2 -1
  294. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +4 -2
  295. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +2 -1
  296. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +10 -5
  297. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +6 -3
  298. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -1
  299. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +2 -1
  300. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +8 -4
  301. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +4 -2
  302. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -2
  303. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +4 -2
  304. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +6 -3
  305. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +2 -1
  306. package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -1
  307. package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -1
  308. package/src/View/GridInfo/GridInfoPopup.js +6 -4
  309. package/src/View/KeyHint.js +2 -1
  310. package/src/View/Layout/EditCurrentLayoutButton.js +2 -1
  311. package/src/View/Layout/LayoutCloneButton.js +2 -1
  312. package/src/View/Layout/LayoutEditorStandalonePopup.js +2 -1
  313. package/src/View/Layout/LayoutPopup.d.ts +1 -1
  314. package/src/View/Layout/LayoutRadioSelector.js +2 -1
  315. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +2 -1
  316. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  317. package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.js +2 -1
  318. package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +2 -1
  319. package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +2 -1
  320. package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +2 -1
  321. package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +2 -1
  322. package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -1
  323. package/src/View/Layout/Wizard/LayoutEditor/reducer.js +4 -2
  324. package/src/View/Layout/Wizard/LayoutEditor/utils.js +2 -1
  325. package/src/View/License/LicenseWatermark.js +1 -1
  326. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +2 -1
  327. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +6 -3
  328. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +2 -1
  329. package/src/View/Query/EditCurrentQueryButton.js +2 -1
  330. package/src/View/Query/ExpandedQueryPopup.js +2 -1
  331. package/src/View/Query/QueryViewPanel.d.ts +1 -1
  332. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +6 -3
  333. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +6 -3
  334. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +2 -1
  335. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
  336. package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -1
  337. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -1
  338. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +4 -2
  339. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +2 -1
  340. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +2 -1
  341. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +2 -1
  342. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -1
  343. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +2 -1
  344. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +4 -2
  345. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +2 -1
  346. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +2 -1
  347. package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -1
  348. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +2 -1
  349. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -3
  350. package/src/View/Shortcut/Wizard/ShortcutWizard.js +2 -1
  351. package/src/View/SpecialColumnSettingsWizardStep.js +2 -1
  352. package/src/View/StateManagement/StateManagementPopup.js +2 -1
  353. package/src/View/StateManagement/StateManagementViewPanel.js +2 -1
  354. package/src/View/StateManagement/components/ClearButton.js +2 -1
  355. package/src/View/StateManagement/components/ExportDropdown.js +2 -1
  356. package/src/View/StateManagement/components/LoadButton.js +2 -1
  357. package/src/View/StateManagement/handleExportState.js +2 -1
  358. package/src/View/StatusBar/AdaptableStatusBar.js +2 -1
  359. package/src/View/StatusBar/StatusBarPanel.js +2 -1
  360. package/src/View/StatusBar/StatusBarPopup.js +5 -4
  361. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -1
  362. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  363. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +2 -1
  364. package/src/View/Theme/ThemeStatusPanelPopover.js +2 -1
  365. package/src/View/UIHelper.d.ts +2 -0
  366. package/src/View/UIHelper.js +12 -11
  367. package/src/View/Wizard/AdaptableWizard.js +2 -1
  368. package/src/View/Wizard/ObjectTagsWizardSection.js +4 -2
  369. package/src/View/Wizard/OnePageAdaptableWizard.js +10 -5
  370. package/src/View/Wizard/OnePageWizards.js +8 -4
  371. package/src/View/Wizard/useKeyboardNavigation.js +2 -1
  372. package/src/View/renderWithAdaptableContext.js +2 -1
  373. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  374. package/src/agGrid/ActionColumnRenderer.js +1 -1
  375. package/src/agGrid/Adaptable.js +31 -28
  376. package/src/agGrid/CheckboxRenderer.js +2 -1
  377. package/src/agGrid/FilterWrapper.js +2 -1
  378. package/src/agGrid/FloatingFilterWrapper.js +2 -1
  379. package/src/agGrid/PercentBarRenderer.js +2 -1
  380. package/src/agGrid/agGridHelper.js +3 -1
  381. package/src/agGrid/agGridMenuHelper.js +13 -10
  382. package/src/agGrid/createAgStatusPanelComponent.js +2 -1
  383. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +8 -5
  384. package/src/components/AdaptableIconComponent/index.d.ts +10 -0
  385. package/src/components/AdaptableIconComponent/index.js +40 -0
  386. package/src/components/CheckBox/index.js +2 -1
  387. package/src/components/CodeBlock/index.js +2 -1
  388. package/src/components/Dashboard/DashboardManager.js +1 -1
  389. package/src/components/Datepicker/DatepickerContext.js +2 -1
  390. package/src/components/Datepicker/index.d.ts +1 -1
  391. package/src/components/DragAndDropContext/ModuleManager.d.ts +1 -0
  392. package/src/components/DragAndDropContext/ModuleManager.js +5 -4
  393. package/src/components/DragAndDropContext/UnusedPanel.d.ts +3 -2
  394. package/src/components/DragAndDropContext/UnusedPanel.js +14 -12
  395. package/src/components/EllipsisContainer/index.js +4 -2
  396. package/src/components/ExpressionEditor/EditorContext.js +2 -1
  397. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +2 -1
  398. package/src/components/ExpressionEditor/NamedQueryContext.js +3 -1
  399. package/src/components/FileDroppable/index.js +2 -1
  400. package/src/components/FormLayout/index.js +2 -1
  401. package/src/components/Input/index.d.ts +1 -1
  402. package/src/components/List/ListGroupItem/index.d.ts +2 -4
  403. package/src/components/Loader/Loader.js +4 -2
  404. package/src/components/Logo/index.js +2 -1
  405. package/src/components/Modal/Backdrop.js +2 -1
  406. package/src/components/Modal/index.js +2 -1
  407. package/src/components/OverlayTrigger/Overlay.js +2 -1
  408. package/src/components/OverlayTrigger/index.js +2 -1
  409. package/src/components/OverlayTrigger/utils.js +6 -3
  410. package/src/components/PopupWithFooter.d.ts +1 -1
  411. package/src/components/ProgressIndicator/ProgressIndicator.js +2 -1
  412. package/src/components/Radio/index.js +4 -2
  413. package/src/components/ResizeObserver/getResizeObserverObject.js +2 -1
  414. package/src/components/ResizeObserver/index.js +6 -3
  415. package/src/components/SelectList.js +2 -1
  416. package/src/components/SelectableList/index.js +2 -1
  417. package/src/components/SimpleButton/index.d.ts +2 -1
  418. package/src/components/SimpleButton/index.js +19 -6
  419. package/src/components/StylePreview.js +2 -1
  420. package/src/components/Tabs/index.js +6 -3
  421. package/src/components/Textarea/index.d.ts +5 -1
  422. package/src/components/ToggleButton/index.js +2 -1
  423. package/src/components/WindowModal/WindowModal.js +2 -1
  424. package/src/components/WindowModal/useStacking.js +2 -1
  425. package/src/components/icons/DefaultIcon.js +2 -1
  426. package/src/components/icons/index.d.ts +3 -1
  427. package/src/components/icons/index.js +10 -2
  428. package/src/components/utils/useContainerScrollObserver/index.js +2 -1
  429. package/src/components/utils/useGlobalEvent.js +2 -1
  430. package/src/components/utils/useLatest.js +2 -1
  431. package/src/components/utils/useRerender.js +2 -1
  432. package/src/components/utils/uuid.js +2 -1
  433. package/src/metamodel/adaptable-metamodel-model.d.ts +1 -1
  434. package/src/metamodel/adaptable.metamodel.d.ts +219 -112
  435. package/src/metamodel/adaptable.metamodel.js +1 -12958
  436. package/src/types.d.ts +8 -5
  437. package/version.d.ts +1 -1
  438. package/version.js +1 -1
  439. package/src/Api/Events/RowFormSubmitted.d.ts +0 -34
  440. package/src/components/ApplicationIcon.d.ts +0 -6
  441. package/src/components/ApplicationIcon.js +0 -13
@@ -7,7 +7,7 @@ const react_redux_1 = require("react-redux");
7
7
  const DefaultSettingsPanel_1 = require("../../../../Utilities/Defaults/DefaultSettingsPanel");
8
8
  const AdaptableContext_1 = require("../../../AdaptableContext");
9
9
  const PopupRedux = tslib_1.__importStar(require("../../../../Redux/ActionsReducers/PopupRedux"));
10
- exports.useMenuItems = () => {
10
+ const useMenuItems = () => {
11
11
  const adaptable = AdaptableContext_1.useAdaptable();
12
12
  const settingsPanelOptions = adaptable.adaptableOptions.settingsPanelOptions;
13
13
  const allMenuItems = react_redux_1.useSelector((state) => { var _a; return (_a = state === null || state === void 0 ? void 0 : state.Grid) === null || _a === void 0 ? void 0 : _a.SettingPanelModuleMenuItems; });
@@ -43,3 +43,4 @@ exports.useMenuItems = () => {
43
43
  .filter(Boolean);
44
44
  }, [allMenuItems]);
45
45
  };
46
+ exports.useMenuItems = useMenuItems;
@@ -10,7 +10,8 @@ const Dialog_1 = tslib_1.__importDefault(require("../../../components/Dialog"));
10
10
  const AdaptableFormComponent_1 = require("../../../components/AdaptableFormComponent");
11
11
  const react_1 = require("react");
12
12
  const AdaptableContext_1 = require("../../AdaptableContext");
13
- exports.AdaptablePopupAlert = (props) => {
13
+ const AdaptableIconComponent_1 = require("../../../components/AdaptableIconComponent");
14
+ const AdaptablePopupAlert = (props) => {
14
15
  var _a;
15
16
  const messageType = props.adaptableAlert.alertDefinition.MessageType || 'Error';
16
17
  const msg = (_a = props.adaptableAlert.message) !== null && _a !== void 0 ? _a : '';
@@ -52,11 +53,9 @@ exports.AdaptablePopupAlert = (props) => {
52
53
  if (!icon) {
53
54
  return null;
54
55
  }
55
- let width = icon.style && icon.style.width ? icon.style.width : 'var(--ab-cmp-simple-button__width)';
56
- let height = icon.style && icon.style.height ? icon.style.height : 'var(--ab-cmp-simple-button__height)';
57
56
  return (React.createElement(rebass_1.Flex, { flexDirection: "column", alignSelf: "end", alignItems: "right" },
58
57
  ' ',
59
- React.createElement("img", { className: "alert-popup__application-icon", src: icon.src, style: { width: width, height: height } })));
58
+ React.createElement(AdaptableIconComponent_1.AdaptableIconComponent, { icon: icon, iconClassName: 'alert-popup__application-icon' })));
60
59
  };
61
60
  const content = (React.createElement(PanelWithImage_1.PanelWithImage, { header: header, headerColor: headerColor, glyphicon: glyph, bodyProps: { padding: 2 } },
62
61
  React.createElement("div", null,
@@ -86,3 +85,4 @@ exports.AdaptablePopupAlert = (props) => {
86
85
  maxWidth: '70vw',
87
86
  } }, content));
88
87
  };
88
+ exports.AdaptablePopupAlert = AdaptablePopupAlert;
@@ -9,7 +9,7 @@ const rebass_1 = require("rebass");
9
9
  const SimpleButton_1 = tslib_1.__importDefault(require("../../../components/SimpleButton"));
10
10
  const Input_1 = tslib_1.__importDefault(require("../../../components/Input"));
11
11
  const react_redux_1 = require("react-redux");
12
- exports.AdaptablePopupPrompt = (props) => {
12
+ const AdaptablePopupPrompt = (props) => {
13
13
  var _a;
14
14
  const dispatch = react_redux_1.useDispatch();
15
15
  const [promptText, setPromptText] = React.useState((_a = props.defaultValue) !== null && _a !== void 0 ? _a : '');
@@ -46,3 +46,4 @@ exports.AdaptablePopupPrompt = (props) => {
46
46
  React.createElement("div", { style: { flex: 1 } }),
47
47
  React.createElement(SimpleButton_1.default, { tone: "neutral", variant: "raised", onClick: () => onCloseForm(), "data-name": "cancel" }, "Cancel"))))));
48
48
  };
49
+ exports.AdaptablePopupPrompt = AdaptablePopupPrompt;
@@ -12,7 +12,7 @@ const React = tslib_1.__importStar(require("react"));
12
12
  const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayout"));
13
13
  const HelpBlock_1 = tslib_1.__importDefault(require("../../../components/HelpBlock"));
14
14
  const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
15
- exports.AdaptablePopupTeamSharing = (props) => {
15
+ const AdaptablePopupTeamSharing = (props) => {
16
16
  const { showPopup, onClose, onConfirm, header } = props;
17
17
  const [config, setConfig] = react_1.useState({
18
18
  description: '',
@@ -47,3 +47,4 @@ exports.AdaptablePopupTeamSharing = (props) => {
47
47
  React.createElement("div", { style: { flex: 1 } }),
48
48
  React.createElement(SimpleButton_1.default, { tone: "accent", "data-name": "ok", variant: "raised", disabled: StringExtensions_1.StringExtensions.IsNullOrEmpty(config.description), onClick: () => onConfirm(config) }, "OK")))))));
49
49
  };
50
+ exports.AdaptablePopupTeamSharing = AdaptablePopupTeamSharing;
@@ -8,7 +8,7 @@ const AdaptablePopupAlert_1 = require("./AdaptablePopupAlert");
8
8
  const react_toastify_1 = require("react-toastify");
9
9
  const apiInstances = new WeakMap();
10
10
  const weakMapKeys = new Map();
11
- exports.showToast = (props) => {
11
+ const showToast = (props) => {
12
12
  // we're doing this hack and not simply using props.api in order not to have a memory
13
13
  // leak where the api is still kept around in memory by the toaster
14
14
  const adaptableOptions = props.api.internalApi.getAdaptableOptions();
@@ -63,3 +63,4 @@ exports.showToast = (props) => {
63
63
  break;
64
64
  }
65
65
  };
66
+ exports.showToast = showToast;
@@ -10,7 +10,7 @@ const Dialog_1 = tslib_1.__importDefault(require("../../../../components/Dialog"
10
10
  const AdaptableForm_1 = require("../../../../PredefinedConfig/Common/AdaptableForm");
11
11
  const PopupRedux_1 = require("../../../../Redux/ActionsReducers/PopupRedux");
12
12
  const AdaptableContext_1 = require("../../../AdaptableContext");
13
- exports.FormDialog = ({ id, formProps, form, prepareContext, }) => {
13
+ const FormDialog = ({ id, formProps, form, prepareContext, }) => {
14
14
  const dispatch = react_redux_1.useDispatch();
15
15
  const adaptable = AdaptableContext_1.useAdaptable();
16
16
  const [data, setData] = React.useState(() => {
@@ -29,9 +29,11 @@ exports.FormDialog = ({ id, formProps, form, prepareContext, }) => {
29
29
  (_a = button.onClick) === null || _a === void 0 ? void 0 : _a.call(button, button, preparedContext);
30
30
  } }))));
31
31
  };
32
- exports.FormPopups = () => {
32
+ exports.FormDialog = FormDialog;
33
+ const FormPopups = () => {
33
34
  const forms = react_redux_1.useSelector((state) => state.Popup.FormPopup.FormList);
34
35
  return (React.createElement(React.Fragment, null, forms.map((form) => {
35
36
  return (React.createElement(exports.FormDialog, { key: form.Id, prepareContext: form.prepareContext, id: form.Id, formProps: form.FormProps, form: form.Form }));
36
37
  })));
37
38
  };
39
+ exports.FormPopups = FormPopups;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getWindowPopupSize = exports.getSettingsPanelSize = exports.getActionPanelSize = exports.getMiddlePosition = void 0;
4
4
  const Helper_1 = require("../../../Utilities/Helpers/Helper");
5
- exports.getMiddlePosition = (size) => {
5
+ const getMiddlePosition = (size) => {
6
6
  const height = window.innerHeight;
7
7
  const width = window.innerWidth;
8
8
  return {
@@ -10,7 +10,8 @@ exports.getMiddlePosition = (size) => {
10
10
  y: height / 2 - size.height / 2,
11
11
  };
12
12
  };
13
- exports.getActionPanelSize = () => {
13
+ exports.getMiddlePosition = getMiddlePosition;
14
+ const getActionPanelSize = () => {
14
15
  const height = window.innerHeight;
15
16
  const width = window.innerWidth;
16
17
  return {
@@ -18,7 +19,8 @@ exports.getActionPanelSize = () => {
18
19
  width: Helper_1.clamp(800, 0, width * 0.9),
19
20
  };
20
21
  };
21
- exports.getSettingsPanelSize = () => {
22
+ exports.getActionPanelSize = getActionPanelSize;
23
+ const getSettingsPanelSize = () => {
22
24
  const height = window.innerHeight;
23
25
  const width = window.innerWidth;
24
26
  return {
@@ -26,6 +28,8 @@ exports.getSettingsPanelSize = () => {
26
28
  width: Helper_1.clamp(width * 0.9, 0, 800),
27
29
  };
28
30
  };
29
- exports.getWindowPopupSize = () => {
31
+ exports.getSettingsPanelSize = getSettingsPanelSize;
32
+ const getWindowPopupSize = () => {
30
33
  return exports.getSettingsPanelSize();
31
34
  };
35
+ exports.getWindowPopupSize = getWindowPopupSize;
@@ -13,7 +13,7 @@ const windowFactory_1 = require("./windowFactory");
13
13
  const NoopComponent = () => {
14
14
  return React.createElement(React.Fragment, null);
15
15
  };
16
- exports.WindowPopups = () => {
16
+ const WindowPopups = () => {
17
17
  const [windowModalSettings, setWindowModalSettings] = React.useState({});
18
18
  const adaptable = AdaptableContext_1.useAdaptable();
19
19
  const dispatch = react_redux_1.useDispatch();
@@ -34,3 +34,4 @@ exports.WindowPopups = () => {
34
34
  React.createElement(Component, { api: adaptable.api, onDismiss: handleDismiss, popupProps: restPopupProps }))));
35
35
  })));
36
36
  };
37
+ exports.WindowPopups = WindowPopups;
@@ -35,7 +35,8 @@ class ColumnSelector extends React.Component {
35
35
  };
36
36
  });
37
37
  let currentColumnName = selectedColumnIds.length > 0
38
- ? (_a = this.props.ColumnList.find((c) => c.columnId == selectedColumnIds[0])) === null || _a === void 0 ? void 0 : _a.friendlyName : 'Select a column';
38
+ ? (_a = this.props.ColumnList.find((c) => c.columnId == selectedColumnIds[0])) === null || _a === void 0 ? void 0 : _a.friendlyName
39
+ : 'Select a column';
39
40
  return (React.createElement("div", { "data-name": 'column-selector' },
40
41
  React.createElement(FormLayout_1.default, { columns: [{ name: 'columnSelector', style: { display: 'flex' } }], style: this.props.style },
41
42
  React.createElement(FormLayout_1.FormRow, null,
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const ValueSelector_1 = require("../ValueSelector");
7
7
  const AdaptableContext_1 = require("../../AdaptableContext");
8
- exports.TagValueSelector = (props) => {
8
+ const TagValueSelector = (props) => {
9
9
  const { api } = AdaptableContext_1.useAdaptable();
10
10
  const getDefaultTags = () => {
11
11
  var _a;
@@ -16,8 +16,10 @@ exports.TagValueSelector = (props) => {
16
16
  onChange(selectedTagsIds.map((id) => selectedTagsMap.get(id)));
17
17
  }, selectionBoxPosition: 'top', toIdentifier: (tag) => api.internalApi.getLabelForTag(tag), toLabel: (tag) => api.internalApi.getLabelForTag(tag), noSelectionLabel: singleSelect ? 'Select a tag' : 'You have not selected any tags.', xSelectedLabel: singleSelect ? () => 'Selected tag:' : () => 'Selected tags:' }));
18
18
  };
19
- exports.TagValueOptionsTags = (props) => {
19
+ exports.TagValueSelector = TagValueSelector;
20
+ const TagValueOptionsTags = (props) => {
20
21
  const { tags = [] } = props;
21
22
  const { api } = AdaptableContext_1.useAdaptable();
22
23
  return (React.createElement(ValueSelector_1.ValueOptionsTags, { options: tags, value: tags.map((tag) => api.internalApi.getValueForTag(tag)), toIdentifier: (tag) => api.internalApi.getValueForTag(tag), toLabel: (tag) => api.internalApi.getLabelForTag(tag), allowWrap: true, readOnly: true }));
23
24
  };
25
+ exports.TagValueOptionsTags = TagValueOptionsTags;
@@ -23,7 +23,7 @@ interface AdaptableToolPanelProps {
23
23
  onExpandToolPanel: (toolPanel: AdaptableToolPanel | string) => ToolPanelRedux.ToolPanelExpandToolPanelAction;
24
24
  onCollapseToolPanel: (toolPanel: AdaptableToolPanel | string) => ToolPanelRedux.ToolPanelCollapseToolPanelAction;
25
25
  }
26
- export declare const ConnectedAdaptableToolPanel: import("react-redux").ConnectedComponent<(props: AdaptableToolPanelProps) => JSX.Element, Pick<AdaptableToolPanelProps, "api" | "teamSharingActivated">>;
26
+ export declare const ConnectedAdaptableToolPanel: import("react-redux").ConnectedComponent<(props: AdaptableToolPanelProps) => JSX.Element, import("react-redux").Omit<AdaptableToolPanelProps, "onClick" | "Columns" | "ToolPanels" | "ModuleButtons" | "MainMenuItems" | "onNewColumnListOrder" | "onShowToolPanel" | "onHideToolPanel" | "onExpandToolPanel" | "onCollapseToolPanel">>;
27
27
  export declare const getAdaptableToolPanelAgGridComponent: (adaptable?: IAdaptable) => {
28
28
  new (): {
29
29
  gui: HTMLElement;
@@ -205,6 +205,9 @@ const AdaptableToolPanelComponent = (props) => {
205
205
  const toolPanelButtons = renderToolPanelButtons();
206
206
  return (React.createElement(rebass_1.Flex, { className: "ab-ToolPanel", "data-name": "adaptable-tool-panel", flexDirection: "column", justifyContent: "center", padding: 2, style: {
207
207
  width: '100%',
208
+ // Cannot have the with of the parent, on windows, when you have scrollbars
209
+ // the inner-width is smaller
210
+ // minWidth: 'var(--ab-cmp-toolpanel__width)',
208
211
  } },
209
212
  React.createElement(rebass_1.Flex, { className: "ab-ToolPanel__header", flexDirection: "row", justifyContent: "left", padding: 1, flexWrap: "wrap", style: { width: '100%' } },
210
213
  isToolPanelModuleConfigurable && renderToolPanelDropdowns(),
@@ -233,7 +236,7 @@ function mapDispatchToProps(dispatch) {
233
236
  };
234
237
  }
235
238
  exports.ConnectedAdaptableToolPanel = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(AdaptableToolPanelComponent);
236
- exports.getAdaptableToolPanelAgGridComponent = (adaptable) => {
239
+ const getAdaptableToolPanelAgGridComponent = (adaptable) => {
237
240
  return class AdaptableToolPanelAgGridComponent {
238
241
  init(params) {
239
242
  const agGridApi = params.api;
@@ -258,4 +261,5 @@ exports.getAdaptableToolPanelAgGridComponent = (adaptable) => {
258
261
  }
259
262
  };
260
263
  };
264
+ exports.getAdaptableToolPanelAgGridComponent = getAdaptableToolPanelAgGridComponent;
261
265
  exports.AdaptableToolPanelAgGridComponent = exports.getAdaptableToolPanelAgGridComponent();
@@ -8,7 +8,7 @@ const AdaptableContext_1 = require("../../AdaptableContext");
8
8
  const uuid_1 = require("../../../components/utils/uuid");
9
9
  const SimpleButton_1 = tslib_1.__importDefault(require("../../../components/SimpleButton"));
10
10
  const kebabCase_1 = tslib_1.__importDefault(require("lodash/kebabCase"));
11
- exports.CustomToolPanelContent = (props) => {
11
+ const CustomToolPanelContent = (props) => {
12
12
  var _a;
13
13
  const { customToolPanel } = props;
14
14
  const { api } = AdaptableContext_1.useAdaptable();
@@ -73,5 +73,6 @@ exports.CustomToolPanelContent = (props) => {
73
73
  buttonLabel));
74
74
  })))));
75
75
  };
76
+ exports.CustomToolPanelContent = CustomToolPanelContent;
76
77
  const hasCustomRenderFn = (customToolPanel) => customToolPanel.render;
77
78
  const hasCustomFrameworkComponent = (customToolPanel) => customToolPanel.frameworkComponent;
@@ -23,5 +23,5 @@ declare class ToolPanelPopupComponent extends React.Component<ToolPanelPopupComp
23
23
  onShowGridPropertiesChanged(event: React.FormEvent<any>): void;
24
24
  onToolPanelToolPanelsChanged(selectedValues: AdaptableToolPanels): void;
25
25
  }
26
- export declare let ToolPanelPopup: import("react-redux").ConnectedComponent<typeof ToolPanelPopupComponent, Pick<React.ClassAttributes<ToolPanelPopupComponent> & ToolPanelPopupComponentProps, never>>;
26
+ export declare let ToolPanelPopup: import("react-redux").ConnectedComponent<typeof ToolPanelPopupComponent, import("react-redux").Omit<React.ClassAttributes<ToolPanelPopupComponent> & ToolPanelPopupComponentProps, "ref" | "key" | "api" | "onSuspend" | "accessLevel" | "popupParams" | "onClearPopupParams" | "teamSharingActivated" | "onClosePopup" | "moduleInfo" | "onUnSuspend" | "modalContainer" | "ToolPanelState" | "GridState" | "onToolPanelSetModuleButtons" | "onToolPanelSetToolPanels">>;
27
27
  export {};
@@ -72,7 +72,7 @@ class ToolPanelPopupComponent extends React.Component {
72
72
  }
73
73
  return false;
74
74
  };
75
- return (React.createElement(PopupPanel_1.PopupPanel, { headerText: "ToolPanel Configuration", glyphicon: this.props.moduleInfo.Glyph },
75
+ return (React.createElement(PopupPanel_1.PopupPanel, { headerText: "ToolPanel", glyphicon: this.props.moduleInfo.Glyph, infoLink: this.props.moduleInfo.HelpPage, infoLinkDisabled: !this.props.api.internalApi.isDocumentationLinksDisplayed() },
76
76
  React.createElement(Tabs_1.Tabs, { "data-name": 'toolPanelPopup-component', className: "ab-ToolPanelPopup", value: this.state.ToolPanelConfigView, style: { height: '100%' }, onValueChange: (value) => this.setState({ ToolPanelConfigView: value }) },
77
77
  React.createElement(Tabs_1.Tabs.Tab, { value: ToolPanelConfigView.ToolPanels },
78
78
  React.createElement(Radio_1.default, { margin: 0, value: ToolPanelConfigView.ToolPanels, checked: this.state.ToolPanelConfigView == ToolPanelConfigView.ToolPanels, tabIndex: -1 }, "Tool Panels")),
@@ -11,7 +11,7 @@ const ToolPanelRedux = tslib_1.__importStar(require("../../../Redux/ActionsReduc
11
11
  const PanelToolPanel_1 = require("../Panels/PanelToolPanel");
12
12
  const PopupRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/PopupRedux"));
13
13
  const ModuleConstants_1 = require("../../../Utilities/Constants/ModuleConstants");
14
- exports.ToolPanelWrapper = (props) => {
14
+ const ToolPanelWrapper = (props) => {
15
15
  const { adaptableToolPanel, customToolPanel, visibilityMode: visibilityMode, onVisibilityModeChange: onVisibilityModeChange, } = props;
16
16
  const { api } = AdaptableContext_1.useAdaptable();
17
17
  const getToolPanelConfiguration = () => {
@@ -67,3 +67,4 @@ exports.ToolPanelWrapper = (props) => {
67
67
  }
68
68
  : null, onClose: () => api.internalApi.dispatchReduxAction(ToolPanelRedux.ToolPanelHideToolPanel(toolPanelName)) }, isMinimised ? null : toolPanelContent)))));
69
69
  };
70
+ exports.ToolPanelWrapper = ToolPanelWrapper;
@@ -16,8 +16,9 @@ const tableDOMProps = {
16
16
  margin: 'var(--ab-space-2)',
17
17
  },
18
18
  };
19
- exports.WizardSummaryPage = (props) => {
19
+ const WizardSummaryPage = (props) => {
20
20
  return (React.createElement(WizardPanel_1.default, { bodyProps: { padding: 0 }, className: "ab-WizardSummary", "data-name": 'wizard-summary' },
21
21
  React.createElement(InfiniteTable_1.DataSource, { data: props.KeyValuePairs, primaryKey: "Key" },
22
22
  React.createElement(InfiniteTable_1.InfiniteTable, { showZebraRows: true, domProps: tableDOMProps, columns: columnsMap }))));
23
23
  };
24
+ exports.WizardSummaryPage = WizardSummaryPage;
@@ -6,13 +6,14 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
7
7
  const NewScopeComponent_1 = require("../../Components/NewScopeComponent");
8
8
  const DEFAULT_PREDICATE_ID_FOR_CONDITIONAL_STYLE_1 = require("./DEFAULT_PREDICATE_ID_FOR_CONDITIONAL_STYLE");
9
- exports.renderConditionalStyleScopeSummary = (data) => {
9
+ const renderConditionalStyleScopeSummary = (data) => {
10
10
  return NewScopeComponent_1.renderScopeSummary(data.Scope, {
11
11
  scopeWholeRow: 'Matching rows will display the Conditionally Style',
12
12
  scopeColumns: 'Cells in selected columns will display the Conditionally Style',
13
13
  scopeDataTypes: 'Cells in columns of the selected data-types will display the Conditionally Style',
14
14
  });
15
15
  };
16
+ exports.renderConditionalStyleScopeSummary = renderConditionalStyleScopeSummary;
16
17
  function ConditionalStyleScopeWizardSection(props) {
17
18
  const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
18
19
  return (React.createElement(React.Fragment, null,
@@ -8,10 +8,11 @@ const CheckBox_1 = require("../../../components/CheckBox");
8
8
  const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayout"));
9
9
  const Tabs_1 = require("../../../components/Tabs");
10
10
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
11
- exports.renderConditionalStyleSettingsSummary = (data) => (React.createElement(rebass_1.Box, { padding: 2 },
11
+ const renderConditionalStyleSettingsSummary = (data) => (React.createElement(rebass_1.Box, { padding: 2 },
12
12
  React.createElement(rebass_1.Text, null, "Include grouped rows"),
13
13
  React.createElement(rebass_1.Text, { mt: 3 }, data.IncludeGroupedRows ? 'Yes' : 'No')));
14
- exports.ConditionalStyleSettingsWizardSettings = (props) => {
14
+ exports.renderConditionalStyleSettingsSummary = renderConditionalStyleSettingsSummary;
15
+ const ConditionalStyleSettingsWizardSettings = (props) => {
15
16
  const { data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
16
17
  const onIncludeGroupedRowsChanged = (checked) => {
17
18
  props.onChange(Object.assign(Object.assign({}, data), { IncludeGroupedRows: checked }));
@@ -25,3 +26,4 @@ exports.ConditionalStyleSettingsWizardSettings = (props) => {
25
26
  React.createElement(rebass_1.Flex, { alignItems: "center", marginLeft: 2 },
26
27
  React.createElement(CheckBox_1.CheckBox, { checked: data.IncludeGroupedRows, onChange: onIncludeGroupedRowsChanged, mr: 2 }))))))));
27
28
  };
29
+ exports.ConditionalStyleSettingsWizardSettings = ConditionalStyleSettingsWizardSettings;
@@ -10,9 +10,10 @@ const StyleHelper_1 = require("../../../Utilities/Helpers/StyleHelper");
10
10
  const toStyle = (style) => {
11
11
  return Object.assign(Object.assign({}, StyleHelper_1.convertAdaptableStyleToCSS(style !== null && style !== void 0 ? style : {})), { borderWidth: (style === null || style === void 0 ? void 0 : style.BorderColor) ? 2 : 0, borderStyle: 'solid' });
12
12
  };
13
- exports.renderConditionalStyleStyleSummary = (data) => {
13
+ const renderConditionalStyleStyleSummary = (data) => {
14
14
  return (React.createElement(rebass_1.Text, { padding: 2, style: toStyle(data.Style) }, "Preview result"));
15
15
  };
16
+ exports.renderConditionalStyleStyleSummary = renderConditionalStyleStyleSummary;
16
17
  function ConditionalStyleStyleWizardSection(props) {
17
18
  const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
18
19
  return (React.createElement(StyleComponent_1.StyleComponent, { headless: true, api: api, Style: data.Style, UpdateStyle: (Style) => {
@@ -19,7 +19,7 @@ const react_redux_1 = require("react-redux");
19
19
  const ConditionalStyleRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/ConditionalStyleRedux"));
20
20
  const ConditionalStyleSettingsWizardSettings_1 = require("./ConditionalStyleSettingsWizardSettings");
21
21
  const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
22
- exports.ConditionalStyleWizard = (props) => {
22
+ const ConditionalStyleWizard = (props) => {
23
23
  var _a, _b;
24
24
  const data = (_a = props.data) !== null && _a !== void 0 ? _a : (_b = props.popupParams) === null || _b === void 0 ? void 0 : _b.value;
25
25
  const [conditionalStyle, setConditionalStyle] = react_1.useState(() => {
@@ -111,3 +111,4 @@ exports.ConditionalStyleWizard = (props) => {
111
111
  },
112
112
  ] }));
113
113
  };
114
+ exports.ConditionalStyleWizard = ConditionalStyleWizard;
@@ -8,19 +8,21 @@ const Tabs_1 = require("../../../components/Tabs");
8
8
  const Tag_1 = require("../../../components/Tag");
9
9
  const ColumnSelector_1 = require("../../Components/ColumnSelector");
10
10
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
11
- exports.renderCustomSortColumn = (data) => {
11
+ const renderCustomSortColumn = (data) => {
12
12
  const { api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
13
13
  return (React.createElement(rebass_1.Text, { pr: 2, py: 2, fontSize: 2 },
14
14
  "Custom sort column: ",
15
15
  React.createElement(Tag_1.Tag, null, api.columnApi.getFriendlyNameFromColumnId(data.ColumnId))));
16
16
  };
17
- exports.isValidCustomSortColumn = (data) => {
17
+ exports.renderCustomSortColumn = renderCustomSortColumn;
18
+ const isValidCustomSortColumn = (data) => {
18
19
  if (!data.ColumnId) {
19
20
  return 'You have to select a Column for Custom Sort';
20
21
  }
21
22
  return true;
22
23
  };
23
- exports.CustomSortColumnWizardSection = (props) => {
24
+ exports.isValidCustomSortColumn = isValidCustomSortColumn;
25
+ const CustomSortColumnWizardSection = (props) => {
24
26
  const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
25
27
  const sortableCols = React.useMemo(() => {
26
28
  var _a, _b;
@@ -48,3 +50,4 @@ exports.CustomSortColumnWizardSection = (props) => {
48
50
  props.onChange(Object.assign(Object.assign({}, data), { ColumnId: ids[0] }));
49
51
  }, allowReorder: false }))));
50
52
  };
53
+ exports.CustomSortColumnWizardSection = CustomSortColumnWizardSection;
@@ -12,17 +12,19 @@ const runIfNotResolvedIn_1 = require("../../../Utilities/runIfNotResolvedIn");
12
12
  const sortWithOrder_1 = require("../../../Utilities/sortWithOrder");
13
13
  const ValueSelector_1 = require("../../Components/ValueSelector");
14
14
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
15
- exports.isValidCustomSortOrder = (data) => {
15
+ const isValidCustomSortOrder = (data) => {
16
16
  if (!data.SortedValues || !data.SortedValues.length) {
17
17
  return 'You have to specify at least one value for Custom Sort order';
18
18
  }
19
19
  return true;
20
20
  };
21
- exports.renderCustomSortValuesSummary = (data) => {
21
+ exports.isValidCustomSortOrder = isValidCustomSortOrder;
22
+ const renderCustomSortValuesSummary = (data) => {
22
23
  return data.SortedValues.length ? (React.createElement(rebass_1.Text, { fontSize: 2 },
23
24
  React.createElement(ValueSelector_1.ValueOptionsTags, { options: data.SortedValues, value: data.SortedValues, toIdentifier: (x) => `${x}`, toLabel: (x) => `${x}`, allowWrap: true, readOnly: true }))) : null;
24
25
  };
25
- exports.CustomSortValuesWizardSection = (props) => {
26
+ exports.renderCustomSortValuesSummary = renderCustomSortValuesSummary;
27
+ const CustomSortValuesWizardSection = (props) => {
26
28
  const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
27
29
  const [distinctValues, setDistinctValues] = react_1.useState([]);
28
30
  const [isDistinctValuesLoading, setIsDistinctValuesLoading] = react_1.useState(false);
@@ -71,3 +73,4 @@ exports.CustomSortValuesWizardSection = (props) => {
71
73
  props.onChange(Object.assign(Object.assign({}, data), { SortedValues }));
72
74
  } }))));
73
75
  };
76
+ exports.CustomSortValuesWizardSection = CustomSortValuesWizardSection;
@@ -13,7 +13,7 @@ const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/Obje
13
13
  const react_redux_1 = require("react-redux");
14
14
  const CustomSortRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/CustomSortRedux"));
15
15
  const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
16
- exports.CustomSortWizard = (props) => {
16
+ const CustomSortWizard = (props) => {
17
17
  var _a, _b;
18
18
  let data = props.data;
19
19
  const allCustomSorts = react_redux_1.useSelector((state) => { var _a; return (_a = state.CustomSort) === null || _a === void 0 ? void 0 : _a.CustomSorts; });
@@ -79,3 +79,4 @@ exports.CustomSortWizard = (props) => {
79
79
  },
80
80
  ] }));
81
81
  };
82
+ exports.CustomSortWizard = CustomSortWizard;
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const react_1 = require("react");
7
7
  const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
8
8
  const kebabCase_1 = tslib_1.__importDefault(require("lodash/kebabCase"));
9
- exports.CustomDashboardButton = (props) => {
9
+ const CustomDashboardButton = (props) => {
10
10
  const { button } = props;
11
11
  const [componentRevision, setComponentRevision] = react_1.useState(1);
12
12
  // TODO: variants of this mapping are present in several places (just search for api.internalApi.getStyleForButton() usages)
@@ -45,3 +45,4 @@ exports.CustomDashboardButton = (props) => {
45
45
  buttonIcon ? React.createElement("img", Object.assign({}, iconProps)) : null,
46
46
  buttonLabel));
47
47
  };
48
+ exports.CustomDashboardButton = CustomDashboardButton;
@@ -7,7 +7,7 @@ const react_1 = require("react");
7
7
  const PanelDashboard_1 = require("../Components/Panels/PanelDashboard");
8
8
  const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
9
9
  const AdaptableContext_1 = require("../AdaptableContext");
10
- exports.CustomToolbarWrapper = (props) => {
10
+ const CustomToolbarWrapper = (props) => {
11
11
  let contentsDivId = 'ab-CustomToolbar__' + props.customToolbar.name + '__contents';
12
12
  let buttonsDivId = 'ab-CustomToolbar__' + props.customToolbar.name + '__buttons';
13
13
  const [contentsHTML, setContentsHTML] = react_1.useState('');
@@ -97,3 +97,4 @@ exports.CustomToolbarWrapper = (props) => {
97
97
  buttonLabel));
98
98
  }))));
99
99
  };
100
+ exports.CustomToolbarWrapper = CustomToolbarWrapper;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import * as Redux from 'redux';
3
3
  import { ModuleViewPopupProps } from '../Components/SharedProps/ModuleViewPopupProps';
4
- import { DashboardState, AdaptableCoordinate } from '../../PredefinedConfig/DashboardState';
4
+ import { AdaptableCoordinate, DashboardState } from '../../PredefinedConfig/DashboardState';
5
5
  import { GridState } from '../../PredefinedConfig/GridState';
6
6
  import * as DashboardRedux from '../../Redux/ActionsReducers/DashboardRedux';
7
7
  import * as PopupRedux from '../../Redux/ActionsReducers/PopupRedux';
@@ -6,6 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const react_redux_1 = require("react-redux");
7
7
  const AdaptableViewFactory_1 = require("../AdaptableViewFactory");
8
8
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
9
+ const ModuleConstants_1 = require("../../Utilities/Constants/ModuleConstants");
9
10
  const DashboardRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/DashboardRedux"));
10
11
  const PopupRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PopupRedux"));
11
12
  const QuickSearchRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/QuickSearchRedux"));
@@ -19,9 +20,8 @@ const useQuickSearchDebounced_1 = require("../QuickSearch/useQuickSearchDebounce
19
20
  const UIHelper_1 = tslib_1.__importDefault(require("../UIHelper"));
20
21
  const ModuleToolbarWrapper_1 = require("./ModuleToolbarWrapper");
21
22
  const CustomToolbarWrapper_1 = require("./CustomToolbarWrapper");
22
- const ModuleConstants_1 = require("../../Utilities/Constants/ModuleConstants");
23
- const ApplicationIcon_1 = require("../../components/ApplicationIcon");
24
23
  const CustomDashboardButton_1 = require("./CustomDashboardButton");
24
+ const AdaptableIconComponent_1 = require("../../components/AdaptableIconComponent");
25
25
  const DashboardComponent = (props) => {
26
26
  const [searchText, search] = useQuickSearchDebounced_1.useQuickSearchDebounced(props);
27
27
  const dashboardAccessLevel = props.api.internalApi
@@ -106,6 +106,7 @@ const DashboardComponent = (props) => {
106
106
  let dashboardOptions = props.api.internalApi.getAdaptableOptions().dashboardOptions;
107
107
  const shouldRenderQuickSearchHeader = dashboardOptions.showQuickSearchInHeader &&
108
108
  props.api.internalApi.getModuleService().getModuleById(ModuleConstants_1.QuickSearchModuleId).isModuleAvailable();
109
+ const applicationIcon = props.api.internalApi.getAdaptableOptions().userInterfaceOptions.applicationIcon;
109
110
  return props.DashboardState.IsHidden ? (React.createElement("div", null)) : (React.createElement(Dashboard_1.Dashboard, { title: instanceName, canFloat: props.api.internalApi.getAdaptableOptions().dashboardOptions.canFloat, activeTabIndex: props.DashboardState.ActiveTabIndex, onActiveTabIndexChange: (ActiveTabIndex) => {
110
111
  props.onSetActiveTabIndex(ActiveTabIndex);
111
112
  }, collapsed: props.DashboardState.IsCollapsed, onCollapsedChange: (IsCollapsed) => {
@@ -123,7 +124,7 @@ const DashboardComponent = (props) => {
123
124
  props.onSetFloatingPosition(FloatingPositionCallback);
124
125
  }
125
126
  }, left: React.createElement(React.Fragment, null,
126
- React.createElement(ApplicationIcon_1.ApplicationIcon, { className: "ab-Dashboard__application-icon", icon: props.api.internalApi.getAdaptableOptions().userInterfaceOptions.applicationIcon }),
127
+ React.createElement(AdaptableIconComponent_1.AdaptableIconComponent, { icon: applicationIcon, iconClassName: "ab-Dashboard__application-icon" }),
127
128
  dashboardOptions.buttonsLocation === 'left' && renderModuleButtons()), right: React.createElement(React.Fragment, null,
128
129
  renderDashboardButtons(),
129
130
  dashboardOptions.buttonsLocation === 'right' && renderModuleButtons(),
@@ -70,7 +70,7 @@ class DashboardPopupComponent extends React.Component {
70
70
  }
71
71
  return false;
72
72
  };
73
- return (React.createElement(PopupPanel_1.PopupPanel, { headerText: this.props.moduleInfo.FriendlyName, glyphicon: this.props.moduleInfo.Glyph },
73
+ return (React.createElement(PopupPanel_1.PopupPanel, { headerText: this.props.moduleInfo.FriendlyName, glyphicon: this.props.moduleInfo.Glyph, infoLink: this.props.moduleInfo.HelpPage, infoLinkDisabled: !this.props.api.internalApi.isDocumentationLinksDisplayed() },
74
74
  React.createElement(rebass_1.Flex, { flex: 1, height: "100%", flexDirection: "column" },
75
75
  areDashboardSettingsVisible && (React.createElement(Panel_1.default, { header: 'Dashboard Views', style: { height: 'auto', overflow: 'visible' }, variant: "default", borderRadius: "none", marginLeft: 2, marginRight: 2 },
76
76
  React.createElement(rebass_1.Flex, null,
@@ -7,7 +7,7 @@ const PanelDashboard_1 = require("../Components/Panels/PanelDashboard");
7
7
  const PopupRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PopupRedux"));
8
8
  const DashboardRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/DashboardRedux"));
9
9
  const AdaptableContext_1 = require("../AdaptableContext");
10
- exports.ModuleToolbarWrapper = (props) => {
10
+ const ModuleToolbarWrapper = (props) => {
11
11
  const moduleName = props.moduleInfo.ModuleName;
12
12
  const moduleFriendlyName = props.moduleInfo.FriendlyName;
13
13
  const { api } = AdaptableContext_1.useAdaptable();
@@ -20,3 +20,4 @@ exports.ModuleToolbarWrapper = (props) => {
20
20
  api.internalApi.dispatchReduxAction(PopupRedux.PopupShowScreen(moduleName, props.moduleInfo.Popup, popupParams));
21
21
  }, onClose: () => api.internalApi.dispatchReduxAction(DashboardRedux.DashboardCloseToolbar(moduleName)), accessLevel: props.accessLevel }, props.children));
22
22
  };
23
+ exports.ModuleToolbarWrapper = ModuleToolbarWrapper;
@@ -1,5 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChangedInfo';
3
+ export interface DataChangeHistoryData {
4
+ primaryKey: string;
5
+ changeKey: string;
6
+ changeTriggerLabel: string;
7
+ changedColumnLabel: string;
8
+ changeInfo: CellDataChangedInfo;
9
+ }
3
10
  export interface DataChangeHistoryGridProps {
4
11
  adaptableContainerId: string;
5
12
  agGridContainerId: string;
@@ -9,7 +9,7 @@ const react_1 = require("react");
9
9
  const usePrevious_1 = tslib_1.__importDefault(require("../../components/utils/usePrevious"));
10
10
  const ModuleConstants_1 = require("../../Utilities/Constants/ModuleConstants");
11
11
  const buildActionColumnButton_1 = require("./buildActionColumnButton");
12
- exports.DataChangeHistoryGrid = (props) => {
12
+ const DataChangeHistoryGrid = (props) => {
13
13
  const { changeHistoryLog, adaptableContainerId, agGridContainerId, onUndoChange } = props;
14
14
  const mainAdaptableInstance = AdaptableContext_1.useAdaptable();
15
15
  const [_adaptableApi, setAdaptableApi] = react_1.useState(null);
@@ -72,13 +72,14 @@ exports.DataChangeHistoryGrid = (props) => {
72
72
  }, [changeHistoryLog]);
73
73
  return React.createElement(React.Fragment, null);
74
74
  };
75
+ exports.DataChangeHistoryGrid = DataChangeHistoryGrid;
75
76
  const buildAdaptableOptions = (mainAdaptableInstance, gridOptions, adaptableContainerId, agGridContainerId, undoChangeEnabled, onUndoChange) => {
76
77
  var _a, _b, _c;
77
78
  const mainAdaptableOptions = mainAdaptableInstance.adaptableOptions;
78
79
  const mainAdaptableTheme = mainAdaptableInstance.api.themeApi.getCurrentTheme();
79
80
  const undoRowNode = (rowNode) => {
80
- var _a;
81
- const changeKey = (_a = rowNode === null || rowNode === void 0 ? void 0 : rowNode.data) === null || _a === void 0 ? void 0 : _a['changeKey'];
81
+ const rowData = rowNode === null || rowNode === void 0 ? void 0 : rowNode.data;
82
+ const changeKey = rowData === null || rowData === void 0 ? void 0 : rowData['changeKey'];
82
83
  changeKey && onUndoChange(changeKey);
83
84
  };
84
85
  const actionColumnButton = buildActionColumnButton_1.buildActionColumnButton((_a = mainAdaptableInstance.adaptableOptions) === null || _a === void 0 ? void 0 : _a.dataChangeHistoryOptions, undoRowNode);
@@ -113,9 +114,7 @@ const buildAdaptableOptions = (mainAdaptableInstance, gridOptions, adaptableCont
113
114
  layoutOptions: {
114
115
  createDefaultLayout: false,
115
116
  },
116
- userInterfaceOptions: {
117
- actionOptions: actionOptions,
118
- },
117
+ actionOptions: actionOptions,
119
118
  predefinedConfig: {
120
119
  Layout: {
121
120
  Revision: Date.now(),
@@ -201,6 +200,7 @@ const buildGridOptions = (mainAdaptableInstance, changeHistoryLog) => {
201
200
  },
202
201
  autoGroupColumnDef: {
203
202
  sortable: true,
203
+ // suppressMenu: true,
204
204
  },
205
205
  columnDefs: [
206
206
  {
@@ -4,6 +4,7 @@ exports.DataChangeHistoryStatusBarContent = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const DataChangeHistoryViewPanel_1 = require("./DataChangeHistoryViewPanel");
7
- exports.DataChangeHistoryStatusBarContent = () => {
7
+ const DataChangeHistoryStatusBarContent = () => {
8
8
  return React.createElement(DataChangeHistoryViewPanel_1.DataChangeHistoryViewPanelControl, { gap: 0, buttonsPaddingY: 0 });
9
9
  };
10
+ exports.DataChangeHistoryStatusBarContent = DataChangeHistoryStatusBarContent;