@adaptabletools/adaptable 12.0.0-canary.1 → 12.0.0-canary.4

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 (435) hide show
  1. package/base.css +41 -14
  2. package/bundle.cjs.js +156 -142
  3. package/index.css +49 -14
  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 +1 -0
  8. package/src/AdaptableOptions/ActionOptions.d.ts +181 -1
  9. package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
  10. package/src/AdaptableOptions/AlertOptions.d.ts +5 -9
  11. package/src/AdaptableOptions/DashboardOptions.d.ts +1 -5
  12. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +17 -4
  13. package/src/AdaptableOptions/EditOptions.d.ts +2 -62
  14. package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
  15. package/src/AdaptableOptions/GeneralOptions.d.ts +7 -0
  16. package/src/AdaptableOptions/ToolPanelOptions.d.ts +1 -5
  17. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -112
  18. package/src/Api/ActionApi.d.ts +24 -0
  19. package/src/Api/{Events/RowFormSubmitted.js → ActionApi.js} +0 -0
  20. package/src/Api/AdaptableApi.d.ts +5 -0
  21. package/src/Api/AlertApi.d.ts +3 -3
  22. package/src/Api/ConfigApi.d.ts +1 -1
  23. package/src/Api/EventApi.d.ts +9 -9
  24. package/src/Api/Events/ActionRowSubmitted.d.ts +34 -0
  25. package/src/Api/Events/ActionRowSubmitted.js +2 -0
  26. package/src/Api/GridApi.d.ts +0 -14
  27. package/src/Api/Implementation/ActionApiImpl.d.ts +8 -0
  28. package/src/Api/Implementation/ActionApiImpl.js +56 -0
  29. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  30. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  31. package/src/Api/Implementation/AlertApiImpl.d.ts +3 -3
  32. package/src/Api/Implementation/ApiBase.d.ts +2 -1
  33. package/src/Api/Implementation/ApiBase.js +3 -0
  34. package/src/Api/Implementation/ColumnApiImpl.js +2 -2
  35. package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
  36. package/src/Api/Implementation/FormatColumnApiImpl.js +2 -2
  37. package/src/Api/Implementation/GridApiImpl.d.ts +0 -3
  38. package/src/Api/Implementation/GridApiImpl.js +0 -44
  39. package/src/Api/Implementation/InternalApiImpl.d.ts +3 -3
  40. package/src/Api/Implementation/StatusBarApiImpl.d.ts +4 -3
  41. package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
  42. package/src/Api/Implementation/TeamSharingApiImpl.js +2 -1
  43. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -2
  44. package/src/Api/Implementation/UserInterfaceApiImpl.js +0 -4
  45. package/src/Api/StatusBarApi.d.ts +10 -3
  46. package/src/Api/UserInterfaceApi.d.ts +1 -5
  47. package/src/PredefinedConfig/AlertState.d.ts +4 -4
  48. package/src/PredefinedConfig/Common/AdaptableAlert.js +4 -2
  49. package/src/PredefinedConfig/Common/AdaptableColumn.js +2 -1
  50. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +1 -1
  51. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +24 -18
  52. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -4
  53. package/src/PredefinedConfig/Common/AdaptablePredicate.js +33 -31
  54. package/src/PredefinedConfig/Common/AdaptableQuery.js +2 -1
  55. package/src/PredefinedConfig/Common/FormContext.d.ts +3 -0
  56. package/src/PredefinedConfig/Common/Menu.d.ts +3 -3
  57. package/src/PredefinedConfig/Common/Types.d.ts +1 -1
  58. package/src/PredefinedConfig/StatusBarState.d.ts +5 -2
  59. package/src/PredefinedConfig/Uuid.js +2 -1
  60. package/src/Redux/ActionsReducers/AlertRedux.js +16 -8
  61. package/src/Redux/ActionsReducers/ApplicationRedux.js +8 -4
  62. package/src/Redux/ActionsReducers/BulkUpdateRedux.js +6 -3
  63. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +10 -5
  64. package/src/Redux/ActionsReducers/CellSummaryRedux.js +2 -1
  65. package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +14 -7
  66. package/src/Redux/ActionsReducers/CustomSortRedux.js +14 -7
  67. package/src/Redux/ActionsReducers/DashboardRedux.js +24 -12
  68. package/src/Redux/ActionsReducers/ExportRedux.js +16 -8
  69. package/src/Redux/ActionsReducers/FlashingCellRedux.js +16 -8
  70. package/src/Redux/ActionsReducers/FormatColumnRedux.js +14 -7
  71. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +14 -7
  72. package/src/Redux/ActionsReducers/GridRedux.js +38 -19
  73. package/src/Redux/ActionsReducers/LayoutRedux.js +30 -15
  74. package/src/Redux/ActionsReducers/PluginsRedux.js +4 -2
  75. package/src/Redux/ActionsReducers/PlusMinusRedux.js +16 -8
  76. package/src/Redux/ActionsReducers/PopupRedux.js +37 -19
  77. package/src/Redux/ActionsReducers/QueryRedux.js +12 -6
  78. package/src/Redux/ActionsReducers/QuickSearchRedux.js +8 -4
  79. package/src/Redux/ActionsReducers/ScheduleRedux.js +58 -29
  80. package/src/Redux/ActionsReducers/ShortcutRedux.js +14 -7
  81. package/src/Redux/ActionsReducers/SmartEditRedux.js +6 -3
  82. package/src/Redux/ActionsReducers/StatusBarRedux.js +10 -5
  83. package/src/Redux/ActionsReducers/SystemRedux.js +103 -51
  84. package/src/Redux/ActionsReducers/SystemStatusRedux.js +4 -2
  85. package/src/Redux/ActionsReducers/TeamSharingRedux.js +22 -11
  86. package/src/Redux/ActionsReducers/ThemeRedux.js +10 -5
  87. package/src/Redux/ActionsReducers/ToolPanelRedux.js +16 -8
  88. package/src/Redux/DeadRedux.js +16 -8
  89. package/src/Redux/Store/AdaptableReduxMerger.js +2 -1
  90. package/src/Redux/Store/AdaptableStore.js +10 -2
  91. package/src/Strategy/AlertModule.d.ts +2 -18
  92. package/src/Strategy/AlertModule.js +2 -1
  93. package/src/Strategy/ConditionalStyleModule.d.ts +2 -10
  94. package/src/Strategy/DashboardModule.js +3 -1
  95. package/src/Strategy/DataChangeHistoryModule.d.ts +2 -8
  96. package/src/Strategy/DataSetModule.d.ts +2 -13
  97. package/src/Strategy/ExportModule.d.ts +2 -13
  98. package/src/Strategy/ExportModule.js +1 -1
  99. package/src/Strategy/FilterModule.d.ts +2 -14
  100. package/src/Strategy/FilterModule.js +1 -1
  101. package/src/Strategy/FlashingCellModule.d.ts +2 -9
  102. package/src/Strategy/GridInfoModule.js +6 -2
  103. package/src/Strategy/LayoutModule.d.ts +2 -17
  104. package/src/Strategy/LayoutModule.js +6 -3
  105. package/src/Strategy/PlusMinusModule.d.ts +2 -9
  106. package/src/Strategy/QuickSearchModule.d.ts +2 -7
  107. package/src/Strategy/ScheduleModule.d.ts +2 -13
  108. package/src/Strategy/ShortcutModule.d.ts +2 -9
  109. package/src/Strategy/StatusBarModule.js +2 -2
  110. package/src/Strategy/SystemStatusModule.d.ts +2 -7
  111. package/src/Strategy/ThemeModule.d.ts +2 -8
  112. package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +2 -1
  113. package/src/Strategy/Utilities/getAlertPreviewViewItems.js +2 -1
  114. package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +2 -1
  115. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +2 -1
  116. package/src/Strategy/Utilities/getExportColumnsViewItems.js +2 -1
  117. package/src/Strategy/Utilities/getExportRowsViewItems.js +2 -1
  118. package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
  119. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +2 -1
  120. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +2 -6
  121. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +2 -1
  122. package/src/Strategy/Utilities/getFlashingTargetViewItems.js +2 -1
  123. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +2 -1
  124. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +2 -1
  125. package/src/Strategy/Utilities/getObjectTagsViewItems.js +2 -1
  126. package/src/Strategy/Utilities/getRuleViewItems.js +2 -1
  127. package/src/Strategy/Utilities/getScopeViewItems.js +2 -1
  128. package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +2 -1
  129. package/src/Strategy/Utilities/getStyleViewItems.js +2 -1
  130. package/src/Utilities/Constants/GeneralConstants.js +2 -1
  131. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +13 -13
  132. package/src/Utilities/ExpressionFunctions/dateUtils.js +2 -1
  133. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +20 -10
  134. package/src/Utilities/Helpers/AdaptableHelper.js +4 -3
  135. package/src/Utilities/Helpers/DateHelper.js +10 -5
  136. package/src/Utilities/Helpers/Helper.js +2 -1
  137. package/src/Utilities/Helpers/LoggingHelper.js +2 -1
  138. package/src/Utilities/Helpers/StyleHelper.js +8 -4
  139. package/src/Utilities/MenuItem.d.ts +4 -3
  140. package/src/Utilities/MenuItem.js +9 -3
  141. package/src/Utilities/ObjectFactory.js +1 -0
  142. package/src/Utilities/Services/Interface/IRowEditService.d.ts +3 -3
  143. package/src/Utilities/Services/ModuleService.js +3 -1
  144. package/src/Utilities/Services/RowEditService.d.ts +6 -6
  145. package/src/Utilities/Services/RowEditService.js +24 -25
  146. package/src/Utilities/isAdaptableObject.js +2 -1
  147. package/src/Utilities/isMacLike.js +2 -1
  148. package/src/Utilities/license/decode.js +1 -1
  149. package/src/Utilities/reorder.js +2 -1
  150. package/src/Utilities/runIfNotResolvedIn.js +2 -1
  151. package/src/Utilities/waitForCondition.d.ts +1 -1
  152. package/src/Utilities/waitForCondition.js +2 -1
  153. package/src/View/AdaptableContext.js +2 -1
  154. package/src/View/AdaptableView.js +2 -1
  155. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +8 -3
  156. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +3 -2
  157. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +9 -2
  158. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +30 -0
  159. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +88 -0
  160. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.d.ts +18 -0
  161. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +17 -0
  162. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.d.ts +2 -9
  163. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +2 -75
  164. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.d.ts +3 -1
  165. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +9 -4
  166. package/src/View/AdaptableWizardView/Utils.d.ts +1 -0
  167. package/src/View/AdaptableWizardView/Utils.js +25 -0
  168. package/src/View/AdaptableWizardView/Wizard.d.ts +54 -0
  169. package/src/View/AdaptableWizardView/Wizard.js +100 -0
  170. package/src/View/AdaptableWizardView/helper.js +6 -3
  171. package/src/View/AdaptableWizardView/index.d.ts +1 -22
  172. package/src/View/AdaptableWizardView/index.js +2 -103
  173. package/src/View/Alert/ActiveAlertsPanel.js +2 -1
  174. package/src/View/Alert/AlertEmptyView.js +2 -1
  175. package/src/View/Alert/AlertStatusSubPanel.js +2 -1
  176. package/src/View/Alert/Utilities/getAlertButtonStyle.js +2 -1
  177. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +5 -3
  178. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +3 -3
  179. package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -1
  180. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +8 -5
  181. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -2
  182. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -1
  183. package/src/View/Alert/Wizard/AlertWizard.js +2 -1
  184. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +3 -2
  185. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +6 -4
  186. package/src/View/Alert/Wizard/isValidAlertRules.js +2 -1
  187. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  188. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +2 -1
  189. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +7 -4
  190. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +7 -4
  191. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -1
  192. package/src/View/CellSummary/CellSummaryPopover.js +2 -1
  193. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +2 -1
  194. package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -1
  195. package/src/View/ColorPicker.d.ts +5 -1
  196. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  197. package/src/View/Components/AdaptableDateInput/index.js +10 -10
  198. package/src/View/Components/AdaptableInput/index.d.ts +2 -2
  199. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -2
  200. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -2
  201. package/src/View/Components/Buttons/ButtonClone.js +2 -1
  202. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  203. package/src/View/Components/Buttons/ButtonEdit.js +2 -1
  204. package/src/View/Components/Buttons/ButtonNew.js +2 -1
  205. package/src/View/Components/ColumnSelector/index.js +2 -1
  206. package/src/View/Components/EntityRulesEditor/index.js +6 -3
  207. package/src/View/Components/ExpressionWizard.js +2 -1
  208. package/src/View/Components/ExternalRenderer.js +2 -1
  209. package/src/View/Components/FilterForm/FilterForm.js +2 -1
  210. package/src/View/Components/FilterForm/ListBoxFilterForm.js +2 -1
  211. package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
  212. package/src/View/Components/FilterForm/QuickFilterForm.js +5 -3
  213. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  214. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +2 -1
  215. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -2
  216. package/src/View/Components/ListBox/DualListBoxEditor.js +2 -1
  217. package/src/View/Components/ModuleValueSelector/index.js +2 -1
  218. package/src/View/Components/NewScopeComponent.js +6 -3
  219. package/src/View/Components/Panels/PanelFooter.js +2 -1
  220. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -429
  221. package/src/View/Components/Panels/PanelWithImage.js +2 -0
  222. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
  223. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +2 -1
  224. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +2 -1
  225. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -1
  226. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +2 -1
  227. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -5
  228. package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +2 -1
  229. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
  230. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +6 -5
  231. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -1
  232. package/src/View/Components/Popups/AdaptablePopupAlert.js +4 -4
  233. package/src/View/Components/Popups/AdaptablePopupPrompt.js +2 -1
  234. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +2 -1
  235. package/src/View/Components/Popups/AdaptableToaster.js +2 -1
  236. package/src/View/Components/Popups/FormPopups/FormPopups.js +4 -2
  237. package/src/View/Components/Popups/Utilities.js +8 -4
  238. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +2 -1
  239. package/src/View/Components/Selectors/ColumnSelector.js +2 -1
  240. package/src/View/Components/TagValueSelector/index.js +4 -2
  241. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
  242. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +5 -1
  243. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -1
  244. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  245. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
  246. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +2 -1
  247. package/src/View/Components/WizardSummaryPage.js +2 -1
  248. package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +1 -1
  249. package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +3 -2
  250. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +5 -3
  251. package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +3 -2
  252. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +2 -1
  253. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +8 -5
  254. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +7 -4
  255. package/src/View/CustomSort/Wizard/CustomSortWizard.js +2 -1
  256. package/src/View/Dashboard/CustomDashboardButton.js +2 -1
  257. package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
  258. package/src/View/Dashboard/Dashboard.d.ts +1 -1
  259. package/src/View/Dashboard/Dashboard.js +4 -3
  260. package/src/View/Dashboard/DashboardPopup.js +1 -1
  261. package/src/View/Dashboard/ModuleToolbarWrapper.js +2 -1
  262. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +7 -0
  263. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +6 -6
  264. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +2 -1
  265. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +2 -1
  266. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +2 -2
  267. package/src/View/DataChangeHistory/buildActionColumnButton.js +13 -9
  268. package/src/View/DataSet/DataSetSelector.js +2 -1
  269. package/src/View/DataSet/DataSetStatusPanelPopover.js +2 -1
  270. package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
  271. package/src/View/Export/ExportSelector.js +2 -1
  272. package/src/View/Export/ExportViewPanel.d.ts +1 -1
  273. package/src/View/Export/ReportExportDropdown.js +2 -1
  274. package/src/View/Export/Wizard/NewReportWizard.js +4 -2
  275. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +7 -4
  276. package/src/View/Export/Wizard/ReportNameWizardSection.js +7 -4
  277. package/src/View/Export/Wizard/ReportRowsWizardSection.js +7 -4
  278. package/src/View/Filter/ActiveFiltersPanel.js +2 -1
  279. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +2 -1
  280. package/src/View/Filter/FilterSummary.d.ts +1 -1
  281. package/src/View/Filter/FilterViewPanel.d.ts +1 -1
  282. package/src/View/FlashingCell/FlashingCellStyle.js +2 -1
  283. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +6 -4
  284. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +3 -2
  285. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +11 -6
  286. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +7 -4
  287. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -1
  288. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +2 -1
  289. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +9 -5
  290. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +5 -3
  291. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +5 -3
  292. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +5 -3
  293. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +7 -4
  294. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +2 -1
  295. package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -1
  296. package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -1
  297. package/src/View/GridInfo/GridInfoPopup.js +5 -5
  298. package/src/View/KeyHint.js +2 -1
  299. package/src/View/Layout/EditCurrentLayoutButton.js +2 -1
  300. package/src/View/Layout/LayoutCloneButton.js +2 -1
  301. package/src/View/Layout/LayoutEditorStandalonePopup.js +2 -1
  302. package/src/View/Layout/LayoutPopup.d.ts +1 -1
  303. package/src/View/Layout/LayoutRadioSelector.js +2 -1
  304. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +2 -1
  305. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  306. package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.js +2 -1
  307. package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +2 -1
  308. package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +2 -1
  309. package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +2 -1
  310. package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +2 -1
  311. package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -1
  312. package/src/View/Layout/Wizard/LayoutEditor/reducer.js +4 -2
  313. package/src/View/Layout/Wizard/LayoutEditor/utils.js +2 -1
  314. package/src/View/License/LicenseWatermark.js +1 -1
  315. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +2 -2
  316. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +3 -2
  317. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +8 -5
  318. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +2 -1
  319. package/src/View/Query/EditCurrentQueryButton.js +2 -1
  320. package/src/View/Query/ExpandedQueryPopup.js +2 -1
  321. package/src/View/Query/QueryViewPanel.d.ts +1 -1
  322. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +7 -4
  323. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +7 -4
  324. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +2 -1
  325. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
  326. package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -1
  327. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +3 -2
  328. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +5 -3
  329. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +2 -1
  330. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +2 -1
  331. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +2 -1
  332. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -1
  333. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +2 -1
  334. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +5 -3
  335. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +3 -2
  336. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +2 -1
  337. package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -1
  338. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +3 -2
  339. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +8 -5
  340. package/src/View/Shortcut/Wizard/ShortcutWizard.js +2 -1
  341. package/src/View/SpecialColumnSettingsWizardStep.js +2 -1
  342. package/src/View/StateManagement/StateManagementPopup.js +2 -1
  343. package/src/View/StateManagement/StateManagementViewPanel.js +2 -1
  344. package/src/View/StateManagement/components/ClearButton.js +2 -1
  345. package/src/View/StateManagement/components/ExportDropdown.js +2 -1
  346. package/src/View/StateManagement/components/LoadButton.js +2 -1
  347. package/src/View/StateManagement/handleExportState.js +2 -1
  348. package/src/View/StatusBar/AdaptableStatusBar.js +2 -1
  349. package/src/View/StatusBar/StatusBarPanel.js +2 -1
  350. package/src/View/StatusBar/StatusBarPopup.js +5 -4
  351. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -1
  352. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  353. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +2 -1
  354. package/src/View/Theme/ThemeStatusPanelPopover.js +2 -1
  355. package/src/View/UIHelper.d.ts +2 -0
  356. package/src/View/UIHelper.js +12 -11
  357. package/src/View/Wizard/AdaptableWizard.js +2 -1
  358. package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +2 -2
  359. package/src/View/Wizard/ObjectTagsWizardSection.js +5 -3
  360. package/src/View/Wizard/OnePageAdaptableWizard.d.ts +5 -6
  361. package/src/View/Wizard/OnePageAdaptableWizard.js +45 -174
  362. package/src/View/Wizard/OnePageWizards.d.ts +37 -0
  363. package/src/View/Wizard/OnePageWizards.js +191 -0
  364. package/src/View/Wizard/useKeyboardNavigation.d.ts +1 -1
  365. package/src/View/Wizard/useKeyboardNavigation.js +2 -1
  366. package/src/View/renderWithAdaptableContext.js +2 -1
  367. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  368. package/src/agGrid/ActionColumnRenderer.js +1 -1
  369. package/src/agGrid/Adaptable.js +28 -26
  370. package/src/agGrid/CheckboxRenderer.js +2 -1
  371. package/src/agGrid/FilterWrapper.js +2 -1
  372. package/src/agGrid/FloatingFilterWrapper.js +2 -1
  373. package/src/agGrid/PercentBarRenderer.js +2 -1
  374. package/src/agGrid/agGridHelper.js +3 -1
  375. package/src/agGrid/agGridMenuHelper.js +13 -10
  376. package/src/agGrid/createAgStatusPanelComponent.js +2 -1
  377. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +8 -5
  378. package/src/components/AdaptableIconComponent/index.d.ts +10 -0
  379. package/src/components/AdaptableIconComponent/index.js +40 -0
  380. package/src/components/CheckBox/index.js +2 -1
  381. package/src/components/CodeBlock/index.js +2 -1
  382. package/src/components/Dashboard/DashboardManager.js +1 -1
  383. package/src/components/Datepicker/Caption.js +1 -1
  384. package/src/components/Datepicker/DatepickerContext.js +2 -1
  385. package/src/components/Datepicker/index.d.ts +1 -1
  386. package/src/components/DragAndDropContext/ModuleManager.d.ts +1 -0
  387. package/src/components/DragAndDropContext/ModuleManager.js +5 -4
  388. package/src/components/DragAndDropContext/UnusedPanel.d.ts +3 -2
  389. package/src/components/DragAndDropContext/UnusedPanel.js +14 -12
  390. package/src/components/EllipsisContainer/index.js +4 -2
  391. package/src/components/ExpressionEditor/EditorContext.js +2 -1
  392. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +2 -1
  393. package/src/components/ExpressionEditor/NamedQueryContext.js +3 -1
  394. package/src/components/FileDroppable/index.js +2 -1
  395. package/src/components/FormLayout/index.js +2 -1
  396. package/src/components/Input/index.d.ts +1 -1
  397. package/src/components/List/ListGroupItem/index.d.ts +2 -4
  398. package/src/components/Loader/Loader.js +4 -2
  399. package/src/components/Logo/index.js +2 -1
  400. package/src/components/Modal/Backdrop.js +2 -1
  401. package/src/components/Modal/index.js +2 -1
  402. package/src/components/OverlayTrigger/Overlay.js +2 -1
  403. package/src/components/OverlayTrigger/index.js +2 -1
  404. package/src/components/OverlayTrigger/utils.js +6 -3
  405. package/src/components/PopupWithFooter.d.ts +1 -1
  406. package/src/components/ProgressIndicator/ProgressIndicator.js +2 -1
  407. package/src/components/Radio/index.js +4 -2
  408. package/src/components/ResizeObserver/getResizeObserverObject.js +2 -1
  409. package/src/components/ResizeObserver/index.js +6 -3
  410. package/src/components/SelectList.js +2 -1
  411. package/src/components/SelectableList/index.js +2 -1
  412. package/src/components/SimpleButton/index.d.ts +2 -1
  413. package/src/components/SimpleButton/index.js +19 -6
  414. package/src/components/StylePreview.js +2 -1
  415. package/src/components/Tabs/index.js +6 -3
  416. package/src/components/Textarea/index.d.ts +5 -1
  417. package/src/components/ToggleButton/index.js +2 -1
  418. package/src/components/WindowModal/WindowModal.js +15 -8
  419. package/src/components/WindowModal/useStacking.js +2 -1
  420. package/src/components/icons/DefaultIcon.js +2 -1
  421. package/src/components/icons/index.d.ts +3 -1
  422. package/src/components/icons/index.js +10 -2
  423. package/src/components/utils/useContainerScrollObserver/index.js +2 -1
  424. package/src/components/utils/useGlobalEvent.js +2 -1
  425. package/src/components/utils/useLatest.js +2 -1
  426. package/src/components/utils/useRerender.js +2 -1
  427. package/src/components/utils/uuid.js +2 -1
  428. package/src/metamodel/adaptable.metamodel.d.ts +208 -90
  429. package/src/metamodel/adaptable.metamodel.js +263 -156
  430. package/src/types.d.ts +7 -5
  431. package/version.d.ts +1 -1
  432. package/version.js +1 -1
  433. package/src/Api/Events/RowFormSubmitted.d.ts +0 -19
  434. package/src/components/ApplicationIcon.d.ts +0 -6
  435. package/src/components/ApplicationIcon.js +0 -13
@@ -144,7 +144,7 @@ function MergeState(oldState, newState) {
144
144
  }
145
145
  exports.MergeState = MergeState;
146
146
  let initialState;
147
- exports.mergeReducer = (rootReducer, LOAD_STATE_TYPE) => {
147
+ const mergeReducer = (rootReducer, LOAD_STATE_TYPE) => {
148
148
  let finalReducer = rootReducer;
149
149
  finalReducer = (state, action) => {
150
150
  if (action.type === LOAD_STATE_TYPE) {
@@ -158,3 +158,4 @@ exports.mergeReducer = (rootReducer, LOAD_STATE_TYPE) => {
158
158
  };
159
159
  return finalReducer;
160
160
  };
161
+ exports.mergeReducer = mergeReducer;
@@ -56,13 +56,15 @@ const NON_PERSIST_ACTIONS = {
56
56
  [SystemRedux_1.SYSTEM_PROGRESS_INDICATOR_SHOW]: true,
57
57
  [SystemRedux_1.SYSTEM_PROGRESS_INDICATOR_HIDE]: true,
58
58
  };
59
- exports.InitState = () => ({
59
+ const InitState = () => ({
60
60
  type: exports.INIT_STATE,
61
61
  });
62
- exports.LoadState = (State) => ({
62
+ exports.InitState = InitState;
63
+ const LoadState = (State) => ({
63
64
  type: exports.LOAD_STATE,
64
65
  State,
65
66
  });
67
+ exports.LoadState = LoadState;
66
68
  class AdaptableStore {
67
69
  /**
68
70
  *
@@ -730,6 +732,12 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
730
732
  middlewareAPI.dispatch(PopupRedux_1.PopupShowForm({
731
733
  Id: 'data-set-form',
732
734
  Form: dataSet.form,
735
+ prepareContext: (context) => {
736
+ return new Promise((resolve) => {
737
+ const preparedContext = Object.assign(Object.assign({}, context), { dataSet });
738
+ resolve(preparedContext);
739
+ });
740
+ },
733
741
  }));
734
742
  }
735
743
  });
@@ -1,13 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableApi } from '../Api/AdaptableApi';
3
2
  import { AlertDefinition } from '../PredefinedConfig/AlertState';
4
3
  import { AdaptableAlert } from '../PredefinedConfig/Common/AdaptableAlert';
5
4
  import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
6
5
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
7
- import * as AlertRedux from '../Redux/ActionsReducers/AlertRedux';
8
- import * as SystemRedux from '../Redux/ActionsReducers/SystemRedux';
9
6
  import { AdaptableModuleBase } from './AdaptableModuleBase';
10
- import { AdaptableObjectView, IModule } from './Interface/IModule';
7
+ import { AdaptableModuleView, AdaptableObjectView, IModule } from './Interface/IModule';
11
8
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
12
9
  export declare class AlertModule extends AdaptableModuleBase implements IModule {
13
10
  constructor(api: AdaptableApi);
@@ -37,19 +34,6 @@ export declare class AlertModule extends AdaptableModuleBase implements IModule
37
34
  };
38
35
  toView(alert: AlertDefinition): AdaptableObjectView;
39
36
  toViewAll(): AdaptableObjectView[];
40
- getViewProperties(): {
41
- getDeleteAction: (alertDefinition: AlertDefinition) => AlertRedux.AlertDefinitionDeleteAction;
42
- getSuspendAction: (alertDefinition: AlertDefinition) => AlertRedux.AlertDefinitionSuspendAction;
43
- getUnSuspendAction: (alertDefinition: AlertDefinition) => AlertRedux.AlertDefinitionUnSuspendAction;
44
- getCompactDeleteAction: (alert: AdaptableAlert) => SystemRedux.SystemAlertDeleteAction;
45
- getDeleteAllAction: () => SystemRedux.SystemAlertDeleteAllAction;
46
- emptyView: import("react").FunctionComponent<{
47
- module: IModule;
48
- }>;
49
- getEditWizard: () => (props: import("../View/Alert/Wizard/AlertWizard").AlertWizardProps) => JSX.Element;
50
- getStatusBarPanelProps: () => {
51
- view: () => JSX.Element;
52
- };
53
- };
37
+ getViewProperties(): AdaptableModuleView;
54
38
  canBeAssociatedWithLayouts(): boolean;
55
39
  }
@@ -160,7 +160,8 @@ class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
160
160
  // the row node data is most probably stale because the reactive queries buffer the changed data
161
161
  // so we have to refresh it
162
162
  reactiveAlertInfo.dataChangeLogEntry.rowNode = this.api.gridApi.getRowNodeForPrimaryKey(reactiveAlertInfo.dataChangeLogEntry.primaryKeyValue);
163
- reactiveAlertInfo.dataChangeLogEntry.rowData = (_a = reactiveAlertInfo.dataChangeLogEntry.rowNode) === null || _a === void 0 ? void 0 : _a.data;
163
+ reactiveAlertInfo.dataChangeLogEntry.rowData =
164
+ (_a = reactiveAlertInfo.dataChangeLogEntry.rowNode) === null || _a === void 0 ? void 0 : _a.data;
164
165
  if (reactiveAlertInfo.type === 'alert') {
165
166
  this.showAlertForDefinitions(reactiveAlertInfo.dataChangeLogEntry, [
166
167
  reactiveAlertInfo.alertDefinition,
@@ -1,14 +1,12 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableApi } from '../Api/AdaptableApi';
3
2
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
4
3
  import { AdaptableMenuItem } from '../PredefinedConfig/Common/Menu';
5
4
  import { ConditionalStyle } from '../PredefinedConfig/ConditionalStyleState';
6
5
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
7
- import * as ConditionalStyleRedux from '../Redux/ActionsReducers/ConditionalStyleRedux';
8
6
  import { AdaptableModuleBase } from './AdaptableModuleBase';
9
7
  import { IConditionalStyleModule } from './Interface/IConditionalStyleModule';
10
8
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
11
- import { AdaptableObjectView } from './Interface/IModule';
9
+ import { AdaptableModuleView, AdaptableObjectView } from './Interface/IModule';
12
10
  export declare class ConditionalStyleModule extends AdaptableModuleBase implements IConditionalStyleModule {
13
11
  constructor(api: AdaptableApi);
14
12
  getModuleAdaptableObjects(config?: {
@@ -26,12 +24,6 @@ export declare class ConditionalStyleModule extends AdaptableModuleBase implemen
26
24
  private shouldRunStyle;
27
25
  toView(conditionalStyle: ConditionalStyle): AdaptableObjectView;
28
26
  toViewAll(): AdaptableObjectView[];
29
- getViewProperties(): {
30
- getDeleteAction: (conditionalStyle: ConditionalStyle) => ConditionalStyleRedux.ConditionalStyleAction;
31
- getSuspendAction: (conditionalStyle: ConditionalStyle) => ConditionalStyleRedux.ConditionalStyleSuspendAction;
32
- getUnSuspendAction: (conditionalStyle: ConditionalStyle) => ConditionalStyleRedux.ConditionalStyleUnSuspendAction;
33
- emptyView: string;
34
- getEditWizard(): import("react").FunctionComponent<import("../View/ConditionalStyle/Wizard/ConditionalStyleWizard").ConditionalStyleWizardProps>;
35
- };
27
+ getViewProperties(): AdaptableModuleView;
36
28
  canBeAssociatedWithLayouts(): boolean;
37
29
  }
@@ -63,7 +63,9 @@ class DashboardModule extends AdaptableModuleBase_1.AdaptableModuleBase {
63
63
  {
64
64
  label: this.moduleInfo.FriendlyName,
65
65
  isVisible: true,
66
- icon: 'dashboard',
66
+ icon: {
67
+ name: 'dashboard',
68
+ },
67
69
  subItems: menuItems,
68
70
  },
69
71
  ];
@@ -1,16 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
- import { IModule } from './Interface/IModule';
2
+ import { AdaptableModuleView, IModule } from './Interface/IModule';
4
3
  import { AdaptableApi } from '../Api/AdaptableApi';
5
4
  export declare class DataChangeHistoryModule extends AdaptableModuleBase implements IModule {
6
5
  constructor(api: AdaptableApi);
7
6
  getPopupMaxWidth(): number;
8
7
  hasNamedQueryReferences(): boolean;
9
8
  private shouldLogDataChange;
10
- getViewProperties(): {
11
- getStatusBarPanelProps: () => {
12
- triggerActionOnWrapperClick: boolean;
13
- content: import("react").FunctionComponent<{}>;
14
- };
15
- };
9
+ getViewProperties(): AdaptableModuleView;
16
10
  }
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
- import { AdaptableObjectView, IModule } from './Interface/IModule';
2
+ import { AdaptableModuleView, AdaptableObjectView, IModule } from './Interface/IModule';
4
3
  import { AdaptableApi } from '../Api/AdaptableApi';
5
4
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
6
5
  import { DataSet } from '../AdaptableOptions/GeneralOptions';
@@ -11,15 +10,5 @@ export declare class DataSetModule extends AdaptableModuleBase implements IModul
11
10
  hasNamedQueryReferences(): boolean;
12
11
  toView(dataSet: DataSet): AdaptableObjectView;
13
12
  toViewAll(): AdaptableObjectView[];
14
- getViewProperties(): {
15
- actions: import("react").FunctionComponent<{
16
- data: DataSet;
17
- id?: string;
18
- accessLevel: import("../types").AccessLevel;
19
- }>[];
20
- getStatusBarPanelProps: () => {
21
- content: string;
22
- popover: import("react").FunctionComponent<{}>;
23
- };
24
- };
13
+ getViewProperties(): AdaptableModuleView;
25
14
  }
@@ -1,14 +1,12 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
2
  import { IExportModule } from './Interface/IExportModule';
4
3
  import { ExportDestination } from '../PredefinedConfig/Common/Enums';
5
4
  import { Report } from '../PredefinedConfig/ExportState';
6
- import * as ExportRedux from '../Redux/ActionsReducers/ExportRedux';
7
5
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
8
6
  import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
9
7
  import { AdaptableApi } from '../Api/AdaptableApi';
10
8
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
11
- import { AdaptableObjectView } from './Interface/IModule';
9
+ import { AdaptableModuleView, AdaptableObjectView } from './Interface/IModule';
12
10
  export declare class ExportModule extends AdaptableModuleBase implements IExportModule {
13
11
  constructor(api: AdaptableApi);
14
12
  getModuleAdaptableObjects(): AdaptableObject[];
@@ -29,14 +27,5 @@ export declare class ExportModule extends AdaptableModuleBase implements IExport
29
27
  private showEmptyExportWarning;
30
28
  toView(report: Report): AdaptableObjectView;
31
29
  toViewAll(): AdaptableObjectView[];
32
- getViewProperties(): {
33
- newTooltipText: string;
34
- actions: import("./Interface/IModule").AdaptableModuleViewAction[];
35
- getDeleteAction: (report: Report) => ExportRedux.ReportDeleteAction;
36
- getEditWizard(): (props: import("../View/Export/Wizard/NewReportWizard").NewReportWizardProps) => JSX.Element;
37
- getStatusBarPanelProps: () => {
38
- content: import("react").FunctionComponent<import("../View/Export/ExportSelector").ExportSelectorProps>;
39
- triggerActionOnWrapperClick: boolean;
40
- };
41
- };
30
+ getViewProperties(): AdaptableModuleView;
42
31
  }
@@ -77,7 +77,7 @@ class ExportModule extends AdaptableModuleBase_1.AdaptableModuleBase {
77
77
  {
78
78
  label: 'Export Selected Cells',
79
79
  isVisible: true,
80
- icon: this.moduleInfo.Glyph,
80
+ icon: { name: this.moduleInfo.Glyph },
81
81
  subItems: menuItems,
82
82
  },
83
83
  ];
@@ -1,10 +1,8 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
2
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
4
3
  import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
5
- import * as LayoutRedux from '../Redux/ActionsReducers/LayoutRedux';
6
4
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
7
- import { AdaptableObjectCompactView, AdaptableObjectView, IModule } from './Interface/IModule';
5
+ import { AdaptableModuleView, AdaptableObjectCompactView, AdaptableObjectView, IModule } from './Interface/IModule';
8
6
  import { AdaptableApi } from '../Api/AdaptableApi';
9
7
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
10
8
  import { ColumnFilter } from '../types';
@@ -20,15 +18,5 @@ export declare class FilterModule extends AdaptableModuleBase implements IModule
20
18
  toViewCompact(filter: ColumnFilter): AdaptableObjectCompactView;
21
19
  toView(filter: ColumnFilter): AdaptableObjectView;
22
20
  toViewAll(): AdaptableObjectView[];
23
- getViewProperties(): {
24
- getDeleteAction: (columnFilter: ColumnFilter) => LayoutRedux.LayoutFilterClearAction;
25
- getCompactDeleteAction: (columnFilter: ColumnFilter) => LayoutRedux.LayoutFilterClearAction;
26
- getDeleteAllAction: () => LayoutRedux.LayoutFilterClearAllAction;
27
- emptyView: string;
28
- getStatusBarPanelProps(): {
29
- content: string;
30
- popover: import("react").FunctionComponent<{}>;
31
- popoverMinWidth: number;
32
- };
33
- };
21
+ getViewProperties(): AdaptableModuleView;
34
22
  }
@@ -79,7 +79,7 @@ class FilterModule extends AdaptableModuleBase_1.AdaptableModuleBase {
79
79
  return {
80
80
  ModuleEntities: this.api.filterApi.getColumnFilters(),
81
81
  AddAction: LayoutRedux.LayoutColumnFilterAdd,
82
- EditAction: LayoutRedux.LayoutColumnFilterEdit,
82
+ EditAction: LayoutRedux.LayoutColumnFilterEdit, //TODO need to change this to ColumnFilterSet
83
83
  };
84
84
  }
85
85
  toViewCompact(filter) {
@@ -1,12 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableApi } from '../Api/AdaptableApi';
3
2
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
4
3
  import { CellDataChangedInfo } from '../PredefinedConfig/Common/CellDataChangedInfo';
5
4
  import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
6
5
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
7
- import * as FlashingCellRedux from '../Redux/ActionsReducers/FlashingCellRedux';
8
6
  import { AdaptableModuleBase } from './AdaptableModuleBase';
9
- import { AdaptableObjectView, IModule } from './Interface/IModule';
7
+ import { AdaptableModuleView, AdaptableObjectView, IModule } from './Interface/IModule';
10
8
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
11
9
  import { FlashingCellDefinition } from '../PredefinedConfig/FlashingCellState';
12
10
  export declare class FlashingCellModule extends AdaptableModuleBase implements IModule {
@@ -26,11 +24,6 @@ export declare class FlashingCellModule extends AdaptableModuleBase implements I
26
24
  getTeamSharingAction(): TeamSharingImportInfo<FlashingCellDefinition>;
27
25
  toView(flashingCell: FlashingCellDefinition): AdaptableObjectView;
28
26
  toViewAll(): AdaptableObjectView[];
29
- getViewProperties(): {
30
- getSuspendAction: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellRedux.FlashingCellDefinitionEditAction;
31
- getUnSuspendAction: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellRedux.FlashingCellDefinitionEditAction;
32
- getDeleteAction: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellRedux.FlashingCellDefinitionDeleteAction;
33
- getEditWizard: () => (props: import("../View/FlashingCell/Wizard/FlashingCellWizard").FlashingCellWizardProps) => JSX.Element;
34
- };
27
+ getViewProperties(): AdaptableModuleView;
35
28
  canBeAssociatedWithLayouts(): boolean;
36
29
  }
@@ -43,7 +43,9 @@ class GridInfoModule extends AdaptableModuleBase_1.AdaptableModuleBase {
43
43
  {
44
44
  label: 'Show Info',
45
45
  isVisible: true,
46
- icon: this.moduleInfo.Glyph,
46
+ icon: {
47
+ name: this.moduleInfo.Glyph,
48
+ },
47
49
  subItems: selectMenuItems,
48
50
  },
49
51
  ];
@@ -89,7 +91,9 @@ class GridInfoModule extends AdaptableModuleBase_1.AdaptableModuleBase {
89
91
  {
90
92
  label: 'Show Info',
91
93
  isVisible: true,
92
- icon: this.moduleInfo.Glyph,
94
+ icon: {
95
+ name: this.moduleInfo.Glyph,
96
+ },
93
97
  subItems: selectMenuItems,
94
98
  },
95
99
  ];
@@ -1,12 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
2
  import { LayoutState, Layout } from '../PredefinedConfig/LayoutState';
4
3
  import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
5
- import * as LayoutRedux from '../Redux/ActionsReducers/LayoutRedux';
6
4
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
7
5
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
8
6
  import { AdaptableApi } from '../Api/AdaptableApi';
9
- import { IModule } from './Interface/IModule';
7
+ import { AdaptableModuleView, IModule } from './Interface/IModule';
10
8
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
11
9
  export declare class LayoutModule extends AdaptableModuleBase implements IModule {
12
10
  protected LayoutState: LayoutState;
@@ -32,19 +30,6 @@ export declare class LayoutModule extends AdaptableModuleBase implements IModule
32
30
  }[];
33
31
  abObject: Layout;
34
32
  };
35
- getViewProperties(): {
36
- actions: import("react").FunctionComponent<{
37
- data: Layout;
38
- accessLevel: import("../types").AccessLevel;
39
- }>[];
40
- getDeleteAction: (layout: Layout) => LayoutRedux.LayoutDeleteAction;
41
- onOpenEditPopup: (layout?: Layout) => void;
42
- getStatusBarPanelProps: () => {
43
- content: string;
44
- popover: import("react").FunctionComponent<{}>;
45
- popoverMinWidth: number;
46
- extraActions: import("react").FunctionComponent<{}>[];
47
- };
48
- };
33
+ getViewProperties(): AdaptableModuleView;
49
34
  handleLayoutChange(): void;
50
35
  }
@@ -15,7 +15,8 @@ class LayoutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
15
15
  super(ModuleConstants.LayoutModuleId, 'Layout', 'layout', 'LayoutPopup', 'Named sets of column visibility, order, groupings, aggregation, pivots etc.', api);
16
16
  this.api.eventApi.on('LayoutChanged', (layoutChangedInfo) => {
17
17
  var _a;
18
- if (layoutChangedInfo.newLayoutState.CurrentLayout !== ((_a = layoutChangedInfo.oldLayoutState) === null || _a === void 0 ? void 0 : _a.CurrentLayout)) {
18
+ if (layoutChangedInfo.newLayoutState.CurrentLayout !==
19
+ ((_a = layoutChangedInfo.oldLayoutState) === null || _a === void 0 ? void 0 : _a.CurrentLayout)) {
19
20
  // we are interested only if current layout was changed (is different from the previous one)
20
21
  this.handleLayoutChange();
21
22
  }
@@ -111,7 +112,9 @@ class LayoutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
111
112
  returnColumnMenuItems.push({
112
113
  label: 'Select',
113
114
  isVisible: true,
114
- icon: 'tab-unselected',
115
+ icon: {
116
+ name: 'tab-unselected',
117
+ },
115
118
  subItems: selectMenuItems,
116
119
  });
117
120
  }
@@ -146,7 +149,7 @@ class LayoutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
146
149
  returnColumnMenuItems.push({
147
150
  label: 'Grid',
148
151
  isVisible: true,
149
- icon: 'align-justify',
152
+ icon: { name: 'align-justify' },
150
153
  subItems: gridMenuItems,
151
154
  });
152
155
  }
@@ -1,15 +1,13 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableApi } from '../Api/AdaptableApi';
3
2
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
4
3
  import { AdaptableMenuItem } from '../PredefinedConfig/Common/Menu';
5
4
  import { PlusMinusNudge } from '../PredefinedConfig/PlusMinusState';
6
5
  import { GridCell } from '../PredefinedConfig/Selection/GridCell';
7
6
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
8
- import * as PlusMinusRedux from '../Redux/ActionsReducers/PlusMinusRedux';
9
7
  import { AdaptableModuleBase } from './AdaptableModuleBase';
10
8
  import { IPlusMinusModule } from './Interface/IPlusMinusModule';
11
9
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
12
- import { AdaptableObjectView } from './Interface/IModule';
10
+ import { AdaptableModuleView, AdaptableObjectView } from './Interface/IModule';
13
11
  export declare class PlusMinusModule extends AdaptableModuleBase implements IPlusMinusModule {
14
12
  private shouldHandleKeyDown;
15
13
  private adaptable;
@@ -30,11 +28,6 @@ export declare class PlusMinusModule extends AdaptableModuleBase implements IPlu
30
28
  getTeamSharingAction(): TeamSharingImportInfo<PlusMinusNudge>;
31
29
  toView(plusMinus: PlusMinusNudge): AdaptableObjectView;
32
30
  toViewAll(): AdaptableObjectView[];
33
- getViewProperties(): {
34
- getDeleteAction: (plusMinusNudge: PlusMinusNudge) => PlusMinusRedux.PlusMinusNudgeDeleteAction;
35
- getSuspendAction: (plusMinusNudge: PlusMinusNudge) => PlusMinusRedux.PlusMinusNudgeSuspendAction;
36
- getUnSuspendAction: (plusMinusNudge: PlusMinusNudge) => PlusMinusRedux.PlusMinusNudgeUnSuspendAction;
37
- getEditWizard(): import("react").FunctionComponent<import("../View/PlusMinus/Wizard/PlusMinusWizard").PlusMinusWizardProps>;
38
- };
31
+ getViewProperties(): AdaptableModuleView;
39
32
  canBeAssociatedWithLayouts(): boolean;
40
33
  }
@@ -1,12 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
- import { IModule } from './Interface/IModule';
2
+ import { AdaptableModuleView, IModule } from './Interface/IModule';
4
3
  import { AdaptableApi } from '../Api/AdaptableApi';
5
4
  export declare class QuickSearchModule extends AdaptableModuleBase implements IModule {
6
5
  constructor(api: AdaptableApi);
7
- getViewProperties(): {
8
- getStatusBarPanelProps(): {
9
- content: import("react").FunctionComponent<{}>;
10
- };
11
- };
6
+ getViewProperties(): AdaptableModuleView;
12
7
  }
@@ -1,9 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
- import { AdaptableObjectView } from './Interface/IModule';
2
+ import { AdaptableModuleView, AdaptableObjectView } from './Interface/IModule';
4
3
  import { AdaptableApi } from '../Api/AdaptableApi';
5
4
  import { BaseSchedule } from '../PredefinedConfig/Common/Schedule';
6
- import * as ScheduleRedux from '../Redux/ActionsReducers/ScheduleRedux';
7
5
  import { IScheduleModule } from './Interface/IScheduleModule';
8
6
  export declare class ScheduleModule extends AdaptableModuleBase implements IScheduleModule {
9
7
  private scheduleJobs;
@@ -19,15 +17,6 @@ export declare class ScheduleModule extends AdaptableModuleBase implements ISche
19
17
  }): BaseSchedule[];
20
18
  toView(schedule: BaseSchedule): AdaptableObjectView;
21
19
  toViewAll(): AdaptableObjectView[];
22
- getViewProperties(): {
23
- abObjectTypes: {
24
- name: string;
25
- accessLevel: import("../types").AccessLevel;
26
- }[];
27
- getDeleteAction: (schedule: BaseSchedule) => ScheduleRedux.Glue42ScheduleDeleteAction | ScheduleRedux.OpenFinScheduleDeleteAction | ScheduleRedux.IPushPullScheduleDeleteAction | ScheduleRedux.ReminderScheduleDeleteAction | ScheduleRedux.ReportScheduleDeleteAction;
28
- getSuspendAction: (schedule: BaseSchedule) => ScheduleRedux.Glue42ScheduleSuspendAction | ScheduleRedux.OpenFinScheduleSuspendAction | ScheduleRedux.IPushPullScheduleSuspendAction | ScheduleRedux.ReminderScheduleSuspendAction | ScheduleRedux.ReportScheduleSuspendAction;
29
- getUnSuspendAction: (schedule: BaseSchedule) => ScheduleRedux.Glue42ScheduleUnSuspendAction | ScheduleRedux.OpenFinScheduleUnSuspendAction | ScheduleRedux.IPushPullScheduleUnSuspendAction | ScheduleRedux.ReminderScheduleUnSuspendAction | ScheduleRedux.ReportScheduleUnSuspendAction;
30
- getEditWizard(): import("react").FunctionComponent<import("../View/Schedule/Wizard/ScheduleWizard").ScheduleWizardProps>;
31
- };
20
+ getViewProperties(): AdaptableModuleView;
32
21
  canBeAssociatedWithLayouts(): boolean;
33
22
  }
@@ -1,12 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
- import * as ShortcutRedux from '../Redux/ActionsReducers/ShortcutRedux';
4
2
  import { Shortcut } from '../PredefinedConfig/ShortcutState';
5
3
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
6
4
  import { IShortcutModule } from './Interface/IShortcutModule';
7
5
  import { AdaptableApi } from '../Api/AdaptableApi';
8
6
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
9
- import { AdaptableObjectView } from './Interface/IModule';
7
+ import { AdaptableModuleView, AdaptableObjectView } from './Interface/IModule';
10
8
  export declare class ShortcutModule extends AdaptableModuleBase implements IShortcutModule {
11
9
  private shouldHandleKeyDown;
12
10
  private adaptable;
@@ -22,11 +20,6 @@ export declare class ShortcutModule extends AdaptableModuleBase implements IShor
22
20
  private calculateShortcut;
23
21
  toView(shortcut: Shortcut): AdaptableObjectView;
24
22
  toViewAll(): AdaptableObjectView[];
25
- getViewProperties(): {
26
- getDeleteAction: (shortcut: Shortcut) => ShortcutRedux.ShortcutDeleteAction;
27
- getSuspendAction: (shortcut: Shortcut) => ShortcutRedux.ShortcutDeleteAction;
28
- getUnSuspendAction: (shortcut: Shortcut) => ShortcutRedux.ShortcutDeleteAction;
29
- getEditWizard(): import("react").FunctionComponent<import("../View/Shortcut/Wizard/ShortcutWizard").ShortcutWizardProps>;
30
- };
23
+ getViewProperties(): AdaptableModuleView;
31
24
  canBeAssociatedWithLayouts(): boolean;
32
25
  }
@@ -9,7 +9,7 @@ class StatusBarModule extends AdaptableModuleBase_1.AdaptableModuleBase {
9
9
  super(ModuleConstants.StatusBarModuleId, 'Status Bar', 'statusbar', 'StatusBarPopup', 'Configure AdapTable Status Bar', api);
10
10
  }
11
11
  syncStateWithOptions(agGridAdaptablePanels) {
12
- const statusPanelsState = this.api.statusBarApi.getStatusPanels();
12
+ const statusPanelsState = this.api.statusBarApi.getAdaptableStatusBars();
13
13
  /**
14
14
  * Grid config determines how many adaptable status panels are rendered.
15
15
  * This dictates the state.
@@ -27,7 +27,7 @@ class StatusBarModule extends AdaptableModuleBase_1.AdaptableModuleBase {
27
27
  }
28
28
  return statusPanelState;
29
29
  });
30
- this.api.statusBarApi.setStatusPanels(newStatusPanelsState);
30
+ this.api.statusBarApi.setStatusBarPanels(newStatusPanelsState);
31
31
  }
32
32
  isModuleAvailable() {
33
33
  return super.isModuleAvailable() && this.api.statusBarApi.getAgGridStatusPanels().length > 0;
@@ -1,16 +1,11 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
2
  import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
4
3
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
5
- import { IModule } from './Interface/IModule';
4
+ import { AdaptableModuleView, IModule } from './Interface/IModule';
6
5
  import { AdaptableApi } from '../Api/AdaptableApi';
7
6
  export declare class SystemStatusModule extends AdaptableModuleBase implements IModule {
8
7
  constructor(api: AdaptableApi);
9
8
  addColumnMenuItems(column: AdaptableColumn): AdaptableMenuItem[] | undefined;
10
9
  addContextMenuItems(menuContext: ContextMenuContext): AdaptableMenuItem[] | undefined;
11
- getViewProperties(): {
12
- getStatusBarPanelProps: () => {
13
- content: import("react").FunctionComponent<{}>;
14
- };
15
- };
10
+ getViewProperties(): AdaptableModuleView;
16
11
  }
@@ -1,16 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
- import { IModule } from './Interface/IModule';
2
+ import { AdaptableModuleView, IModule } from './Interface/IModule';
4
3
  import { AdaptableApi } from '../Api/AdaptableApi';
5
4
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
6
5
  export declare class ThemeModule extends AdaptableModuleBase implements IModule {
7
6
  constructor(api: AdaptableApi);
8
7
  getModuleAdaptableObjects(): AdaptableObject[];
9
8
  hasNamedQueryReferences(): boolean;
10
- getViewProperties(): {
11
- getStatusBarPanelProps: () => {
12
- content: string;
13
- popover: import("react").FunctionComponent<{}>;
14
- };
15
- };
9
+ getViewProperties(): AdaptableModuleView;
16
10
  }
@@ -7,9 +7,10 @@ const BehaviourView = (props) => {
7
7
  const adaptable = AdaptableContext_1.useAdaptable();
8
8
  return AlertBehaviourWizardSection_1.renderAlertBehaviourSummary(props.data, adaptable.api, true);
9
9
  };
10
- exports.getAlertBehaviourViewItems = (api) => {
10
+ const getAlertBehaviourViewItems = (api) => {
11
11
  return {
12
12
  name: api.internalApi.getCorrectEnglishVariant('Behaviour'),
13
13
  view: BehaviourView,
14
14
  };
15
15
  };
16
+ exports.getAlertBehaviourViewItems = getAlertBehaviourViewItems;
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const Tag_1 = require("../../components/Tag");
7
7
  const AlertDisplayWizardSection_1 = require("../../View/Alert/Wizard/AlertDisplayWizardSection");
8
- exports.getAlertPreviewViewItems = (alert, api) => {
8
+ const getAlertPreviewViewItems = (alert, api) => {
9
9
  return {
10
10
  name: 'Type and Display',
11
11
  view: () => {
@@ -17,3 +17,4 @@ exports.getAlertPreviewViewItems = (alert, api) => {
17
17
  },
18
18
  };
19
19
  };
20
+ exports.getAlertPreviewViewItems = getAlertPreviewViewItems;
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getCustomSortColumnViewItems = void 0;
4
- exports.getCustomSortColumnViewItems = (customSort, api) => {
4
+ const getCustomSortColumnViewItems = (customSort, api) => {
5
5
  return {
6
6
  name: 'Column',
7
7
  values: [api.columnApi.getFriendlyNameFromColumnId(customSort.ColumnId)],
8
8
  };
9
9
  };
10
+ exports.getCustomSortColumnViewItems = getCustomSortColumnViewItems;
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getCustomSortSortOrderViewItems = void 0;
4
- exports.getCustomSortSortOrderViewItems = (customSort) => {
4
+ const getCustomSortSortOrderViewItems = (customSort) => {
5
5
  return {
6
6
  name: 'Sort Order',
7
7
  values: customSort.SortedValues,
8
8
  };
9
9
  };
10
+ exports.getCustomSortSortOrderViewItems = getCustomSortSortOrderViewItems;
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getExportColumnsViewItems = void 0;
4
- exports.getExportColumnsViewItems = (report, api) => {
4
+ const getExportColumnsViewItems = (report, api) => {
5
5
  return {
6
6
  name: 'Columns',
7
7
  values: [...api.internalApi.getReportService().GetReportColumnScopeShortDescription(report)],
8
8
  };
9
9
  };
10
+ exports.getExportColumnsViewItems = getExportColumnsViewItems;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getExportRowsViewItems = void 0;
4
- exports.getExportRowsViewItems = (report, api) => {
4
+ const getExportRowsViewItems = (report, api) => {
5
5
  var _a;
6
6
  const values = [];
7
7
  switch (report.ReportRowScope) {
@@ -24,3 +24,4 @@ exports.getExportRowsViewItems = (report, api) => {
24
24
  ],
25
25
  };
26
26
  };
27
+ exports.getExportRowsViewItems = getExportRowsViewItems;