@adaptabletools/adaptable 12.0.0-canary.2 → 12.0.0-canary.5

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 (431) hide show
  1. package/base.css +41 -14
  2. package/bundle.cjs.js +159 -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/AdaptableOptions/ActionOptions.d.ts +181 -1
  8. package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
  9. package/src/AdaptableOptions/AlertOptions.d.ts +5 -9
  10. package/src/AdaptableOptions/ColumnOptions.d.ts +4 -0
  11. package/src/AdaptableOptions/DashboardOptions.d.ts +1 -5
  12. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +19 -4
  13. package/src/AdaptableOptions/EditOptions.d.ts +8 -62
  14. package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
  15. package/src/AdaptableOptions/GeneralOptions.d.ts +7 -0
  16. package/src/AdaptableOptions/LayoutOptions.d.ts +6 -1
  17. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +2 -0
  18. package/src/AdaptableOptions/StateOptions.d.ts +10 -0
  19. package/src/AdaptableOptions/ToolPanelOptions.d.ts +1 -5
  20. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -112
  21. package/src/Api/ActionApi.d.ts +24 -0
  22. package/src/Api/{Events/RowFormSubmitted.js → ActionApi.js} +0 -0
  23. package/src/Api/AdaptableApi.d.ts +5 -0
  24. package/src/Api/AlertApi.d.ts +3 -3
  25. package/src/Api/ConfigApi.d.ts +1 -1
  26. package/src/Api/EventApi.d.ts +9 -9
  27. package/src/Api/Events/ActionRowSubmitted.d.ts +34 -0
  28. package/src/Api/Events/ActionRowSubmitted.js +2 -0
  29. package/src/Api/GridApi.d.ts +0 -14
  30. package/src/Api/Implementation/ActionApiImpl.d.ts +8 -0
  31. package/src/Api/Implementation/ActionApiImpl.js +56 -0
  32. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  33. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  34. package/src/Api/Implementation/AlertApiImpl.d.ts +3 -3
  35. package/src/Api/Implementation/ApiBase.d.ts +2 -1
  36. package/src/Api/Implementation/ApiBase.js +3 -0
  37. package/src/Api/Implementation/ColumnApiImpl.js +2 -2
  38. package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
  39. package/src/Api/Implementation/GridApiImpl.d.ts +0 -3
  40. package/src/Api/Implementation/GridApiImpl.js +0 -44
  41. package/src/Api/Implementation/InternalApiImpl.d.ts +3 -3
  42. package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
  43. package/src/Api/Implementation/SmartEditApiImpl.js +2 -1
  44. package/src/Api/Implementation/StatusBarApiImpl.d.ts +4 -3
  45. package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
  46. package/src/Api/Implementation/TeamSharingApiImpl.js +2 -1
  47. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -2
  48. package/src/Api/Implementation/UserInterfaceApiImpl.js +0 -4
  49. package/src/Api/SmartEditApi.d.ts +1 -1
  50. package/src/Api/StatusBarApi.d.ts +10 -3
  51. package/src/Api/UserInterfaceApi.d.ts +1 -5
  52. package/src/PredefinedConfig/AlertState.d.ts +4 -4
  53. package/src/PredefinedConfig/Common/AdaptableAlert.js +4 -2
  54. package/src/PredefinedConfig/Common/AdaptableColumn.js +2 -1
  55. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +1 -1
  56. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +24 -18
  57. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -4
  58. package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -36
  59. package/src/PredefinedConfig/Common/AdaptableQuery.js +2 -1
  60. package/src/PredefinedConfig/Common/FormContext.d.ts +3 -0
  61. package/src/PredefinedConfig/Common/Menu.d.ts +3 -3
  62. package/src/PredefinedConfig/Common/Types.d.ts +1 -1
  63. package/src/PredefinedConfig/StatusBarState.d.ts +5 -2
  64. package/src/PredefinedConfig/Uuid.js +2 -1
  65. package/src/Redux/ActionsReducers/AlertRedux.js +16 -8
  66. package/src/Redux/ActionsReducers/ApplicationRedux.js +8 -4
  67. package/src/Redux/ActionsReducers/BulkUpdateRedux.js +6 -3
  68. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +10 -5
  69. package/src/Redux/ActionsReducers/CellSummaryRedux.js +2 -1
  70. package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +14 -7
  71. package/src/Redux/ActionsReducers/CustomSortRedux.js +14 -7
  72. package/src/Redux/ActionsReducers/DashboardRedux.js +24 -12
  73. package/src/Redux/ActionsReducers/ExportRedux.js +16 -8
  74. package/src/Redux/ActionsReducers/FlashingCellRedux.js +16 -8
  75. package/src/Redux/ActionsReducers/FormatColumnRedux.js +14 -7
  76. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +14 -7
  77. package/src/Redux/ActionsReducers/GridRedux.js +38 -19
  78. package/src/Redux/ActionsReducers/LayoutRedux.js +30 -15
  79. package/src/Redux/ActionsReducers/PluginsRedux.js +4 -2
  80. package/src/Redux/ActionsReducers/PlusMinusRedux.js +16 -8
  81. package/src/Redux/ActionsReducers/PopupRedux.js +37 -19
  82. package/src/Redux/ActionsReducers/QueryRedux.js +12 -6
  83. package/src/Redux/ActionsReducers/QuickSearchRedux.js +8 -4
  84. package/src/Redux/ActionsReducers/ScheduleRedux.js +58 -29
  85. package/src/Redux/ActionsReducers/ShortcutRedux.js +14 -7
  86. package/src/Redux/ActionsReducers/SmartEditRedux.js +6 -3
  87. package/src/Redux/ActionsReducers/StatusBarRedux.js +10 -5
  88. package/src/Redux/ActionsReducers/SystemRedux.js +103 -51
  89. package/src/Redux/ActionsReducers/SystemStatusRedux.js +4 -2
  90. package/src/Redux/ActionsReducers/TeamSharingRedux.js +22 -11
  91. package/src/Redux/ActionsReducers/ThemeRedux.js +10 -5
  92. package/src/Redux/ActionsReducers/ToolPanelRedux.js +16 -8
  93. package/src/Redux/DeadRedux.js +16 -8
  94. package/src/Redux/Store/AdaptableReduxMerger.js +2 -1
  95. package/src/Redux/Store/AdaptableStore.js +10 -2
  96. package/src/Strategy/AlertModule.d.ts +2 -18
  97. package/src/Strategy/AlertModule.js +2 -1
  98. package/src/Strategy/ConditionalStyleModule.d.ts +2 -10
  99. package/src/Strategy/DashboardModule.js +3 -1
  100. package/src/Strategy/DataChangeHistoryModule.d.ts +2 -8
  101. package/src/Strategy/DataSetModule.d.ts +2 -13
  102. package/src/Strategy/ExportModule.d.ts +2 -13
  103. package/src/Strategy/ExportModule.js +1 -1
  104. package/src/Strategy/FilterModule.d.ts +2 -14
  105. package/src/Strategy/FilterModule.js +1 -1
  106. package/src/Strategy/FlashingCellModule.d.ts +2 -9
  107. package/src/Strategy/GridInfoModule.js +6 -2
  108. package/src/Strategy/LayoutModule.d.ts +2 -17
  109. package/src/Strategy/LayoutModule.js +6 -3
  110. package/src/Strategy/PlusMinusModule.d.ts +2 -9
  111. package/src/Strategy/QuickSearchModule.d.ts +2 -7
  112. package/src/Strategy/ScheduleModule.d.ts +2 -13
  113. package/src/Strategy/ShortcutModule.d.ts +2 -9
  114. package/src/Strategy/StatusBarModule.js +2 -2
  115. package/src/Strategy/SystemStatusModule.d.ts +2 -7
  116. package/src/Strategy/ThemeModule.d.ts +2 -8
  117. package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +2 -1
  118. package/src/Strategy/Utilities/getAlertPreviewViewItems.js +2 -1
  119. package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +2 -1
  120. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +2 -1
  121. package/src/Strategy/Utilities/getExportColumnsViewItems.js +2 -1
  122. package/src/Strategy/Utilities/getExportRowsViewItems.js +2 -1
  123. package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
  124. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +2 -1
  125. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +2 -6
  126. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +2 -1
  127. package/src/Strategy/Utilities/getFlashingTargetViewItems.js +2 -1
  128. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +2 -1
  129. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +2 -1
  130. package/src/Strategy/Utilities/getObjectTagsViewItems.js +2 -1
  131. package/src/Strategy/Utilities/getRuleViewItems.js +2 -1
  132. package/src/Strategy/Utilities/getScopeViewItems.js +2 -1
  133. package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +2 -1
  134. package/src/Strategy/Utilities/getStyleViewItems.js +2 -1
  135. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
  136. package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
  137. package/src/Utilities/Constants/GeneralConstants.js +2 -1
  138. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +21 -13
  139. package/src/Utilities/ExpressionFunctions/dateUtils.js +2 -1
  140. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +20 -10
  141. package/src/Utilities/Extensions/TypeExtensions.d.ts +30 -0
  142. package/src/Utilities/Helpers/AdaptableHelper.d.ts +1 -3
  143. package/src/Utilities/Helpers/AdaptableHelper.js +6 -16
  144. package/src/Utilities/Helpers/DateHelper.d.ts +27 -0
  145. package/src/Utilities/Helpers/DateHelper.js +43 -6
  146. package/src/Utilities/Helpers/Helper.js +2 -1
  147. package/src/Utilities/Helpers/LoggingHelper.js +2 -1
  148. package/src/Utilities/Helpers/StyleHelper.js +8 -4
  149. package/src/Utilities/MenuItem.d.ts +4 -3
  150. package/src/Utilities/MenuItem.js +9 -3
  151. package/src/Utilities/ObjectFactory.js +1 -0
  152. package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -0
  153. package/src/Utilities/Services/Interface/IRowEditService.d.ts +3 -3
  154. package/src/Utilities/Services/MetamodelService.d.ts +7 -1
  155. package/src/Utilities/Services/MetamodelService.js +82 -6
  156. package/src/Utilities/Services/ModuleService.js +3 -1
  157. package/src/Utilities/Services/RowEditService.d.ts +6 -6
  158. package/src/Utilities/Services/RowEditService.js +24 -25
  159. package/src/Utilities/isAdaptableObject.js +2 -1
  160. package/src/Utilities/isMacLike.js +2 -1
  161. package/src/Utilities/license/decode.js +1 -1
  162. package/src/Utilities/reorder.js +2 -1
  163. package/src/Utilities/runIfNotResolvedIn.js +2 -1
  164. package/src/Utilities/waitForCondition.d.ts +1 -1
  165. package/src/Utilities/waitForCondition.js +2 -1
  166. package/src/View/AdaptableContext.js +2 -1
  167. package/src/View/AdaptableView.js +2 -1
  168. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +13 -1
  169. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +13 -10
  170. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +2 -1
  171. package/src/View/AdaptableWizardView/Utils.js +2 -1
  172. package/src/View/AdaptableWizardView/Wizard.js +4 -2
  173. package/src/View/AdaptableWizardView/helper.js +6 -3
  174. package/src/View/Alert/ActiveAlertsPanel.js +2 -1
  175. package/src/View/Alert/AlertEmptyView.js +2 -1
  176. package/src/View/Alert/AlertStatusSubPanel.js +2 -1
  177. package/src/View/Alert/Utilities/getAlertButtonStyle.js +2 -1
  178. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +4 -2
  179. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +3 -3
  180. package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -1
  181. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -3
  182. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -2
  183. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -1
  184. package/src/View/Alert/Wizard/AlertWizard.js +2 -1
  185. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -1
  186. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +4 -2
  187. package/src/View/Alert/Wizard/isValidAlertRules.js +2 -1
  188. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  189. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +2 -1
  190. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +6 -3
  191. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -3
  192. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -1
  193. package/src/View/CellSummary/CellSummaryPopover.js +2 -1
  194. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +2 -1
  195. package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -1
  196. package/src/View/ColorPicker.d.ts +5 -1
  197. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  198. package/src/View/Components/AdaptableDateInput/index.js +11 -11
  199. package/src/View/Components/AdaptableInput/index.d.ts +2 -2
  200. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -2
  201. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -2
  202. package/src/View/Components/Buttons/ButtonClone.js +2 -1
  203. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  204. package/src/View/Components/Buttons/ButtonEdit.js +2 -1
  205. package/src/View/Components/Buttons/ButtonNew.js +2 -1
  206. package/src/View/Components/ColumnSelector/index.js +2 -1
  207. package/src/View/Components/EntityRulesEditor/index.js +6 -3
  208. package/src/View/Components/ExpressionWizard.js +2 -1
  209. package/src/View/Components/ExternalRenderer.js +2 -1
  210. package/src/View/Components/FilterForm/FilterForm.js +2 -1
  211. package/src/View/Components/FilterForm/ListBoxFilterForm.js +2 -1
  212. package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
  213. package/src/View/Components/FilterForm/QuickFilterForm.js +5 -3
  214. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  215. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +2 -1
  216. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -2
  217. package/src/View/Components/ListBox/DualListBoxEditor.js +2 -1
  218. package/src/View/Components/ModuleValueSelector/index.js +2 -1
  219. package/src/View/Components/NewScopeComponent.js +6 -3
  220. package/src/View/Components/Panels/PanelFooter.js +2 -1
  221. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -429
  222. package/src/View/Components/Panels/PanelWithImage.js +2 -0
  223. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
  224. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +2 -1
  225. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +2 -1
  226. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -1
  227. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +2 -1
  228. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -5
  229. package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +2 -1
  230. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
  231. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +6 -5
  232. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -1
  233. package/src/View/Components/Popups/AdaptablePopupAlert.js +4 -4
  234. package/src/View/Components/Popups/AdaptablePopupPrompt.js +2 -1
  235. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +2 -1
  236. package/src/View/Components/Popups/AdaptableToaster.js +2 -1
  237. package/src/View/Components/Popups/FormPopups/FormPopups.js +4 -2
  238. package/src/View/Components/Popups/Utilities.js +8 -4
  239. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +2 -1
  240. package/src/View/Components/Selectors/ColumnSelector.js +2 -1
  241. package/src/View/Components/TagValueSelector/index.js +4 -2
  242. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
  243. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +5 -1
  244. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -1
  245. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  246. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
  247. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +2 -1
  248. package/src/View/Components/WizardSummaryPage.js +2 -1
  249. package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -1
  250. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +4 -2
  251. package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -1
  252. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +2 -1
  253. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +6 -3
  254. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +6 -3
  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 +6 -3
  276. package/src/View/Export/Wizard/ReportNameWizardSection.js +6 -3
  277. package/src/View/Export/Wizard/ReportRowsWizardSection.js +6 -3
  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 +4 -2
  284. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +2 -1
  285. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +10 -5
  286. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +6 -3
  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 +8 -4
  290. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +4 -2
  291. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -2
  292. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +4 -2
  293. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +6 -3
  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/PlusMinusScopeWizardSection.js +2 -1
  316. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +6 -3
  317. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +2 -1
  318. package/src/View/Query/EditCurrentQueryButton.js +2 -1
  319. package/src/View/Query/ExpandedQueryPopup.js +2 -1
  320. package/src/View/Query/QueryViewPanel.d.ts +1 -1
  321. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +6 -3
  322. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +6 -3
  323. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +2 -1
  324. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
  325. package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -1
  326. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -1
  327. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +4 -2
  328. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +2 -1
  329. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +2 -1
  330. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +2 -1
  331. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -1
  332. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +2 -1
  333. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +4 -2
  334. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +2 -1
  335. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +2 -1
  336. package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -1
  337. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +2 -1
  338. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -3
  339. package/src/View/Shortcut/Wizard/ShortcutWizard.js +2 -1
  340. package/src/View/SpecialColumnSettingsWizardStep.js +2 -1
  341. package/src/View/StateManagement/StateManagementPopup.js +2 -1
  342. package/src/View/StateManagement/StateManagementViewPanel.js +2 -1
  343. package/src/View/StateManagement/components/ClearButton.js +2 -1
  344. package/src/View/StateManagement/components/ExportDropdown.js +2 -1
  345. package/src/View/StateManagement/components/LoadButton.js +2 -1
  346. package/src/View/StateManagement/handleExportState.js +2 -1
  347. package/src/View/StatusBar/AdaptableStatusBar.js +2 -1
  348. package/src/View/StatusBar/StatusBarPanel.js +2 -1
  349. package/src/View/StatusBar/StatusBarPopup.js +5 -4
  350. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -1
  351. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  352. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +2 -1
  353. package/src/View/Theme/ThemeStatusPanelPopover.js +2 -1
  354. package/src/View/UIHelper.d.ts +2 -0
  355. package/src/View/UIHelper.js +12 -11
  356. package/src/View/Wizard/AdaptableWizard.js +2 -1
  357. package/src/View/Wizard/ObjectTagsWizardSection.js +4 -2
  358. package/src/View/Wizard/OnePageAdaptableWizard.js +10 -5
  359. package/src/View/Wizard/OnePageWizards.js +8 -4
  360. package/src/View/Wizard/useKeyboardNavigation.js +2 -1
  361. package/src/View/renderWithAdaptableContext.js +2 -1
  362. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  363. package/src/agGrid/ActionColumnRenderer.js +1 -1
  364. package/src/agGrid/Adaptable.js +31 -28
  365. package/src/agGrid/CheckboxRenderer.js +2 -1
  366. package/src/agGrid/FilterWrapper.js +2 -1
  367. package/src/agGrid/FloatingFilterWrapper.js +2 -1
  368. package/src/agGrid/PercentBarRenderer.js +2 -1
  369. package/src/agGrid/agGridHelper.js +3 -1
  370. package/src/agGrid/agGridMenuHelper.js +13 -10
  371. package/src/agGrid/createAgStatusPanelComponent.js +2 -1
  372. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +8 -5
  373. package/src/components/AdaptableIconComponent/index.d.ts +10 -0
  374. package/src/components/AdaptableIconComponent/index.js +40 -0
  375. package/src/components/CheckBox/index.js +2 -1
  376. package/src/components/CodeBlock/index.js +2 -1
  377. package/src/components/Dashboard/DashboardManager.js +1 -1
  378. package/src/components/Datepicker/Caption.js +1 -1
  379. package/src/components/Datepicker/DatepickerContext.js +2 -1
  380. package/src/components/Datepicker/index.d.ts +1 -1
  381. package/src/components/DragAndDropContext/ModuleManager.d.ts +1 -0
  382. package/src/components/DragAndDropContext/ModuleManager.js +5 -4
  383. package/src/components/DragAndDropContext/UnusedPanel.d.ts +3 -2
  384. package/src/components/DragAndDropContext/UnusedPanel.js +14 -12
  385. package/src/components/EllipsisContainer/index.js +4 -2
  386. package/src/components/ExpressionEditor/EditorContext.js +2 -1
  387. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +2 -1
  388. package/src/components/ExpressionEditor/NamedQueryContext.js +3 -1
  389. package/src/components/FileDroppable/index.js +2 -1
  390. package/src/components/FormLayout/index.js +2 -1
  391. package/src/components/Input/index.d.ts +1 -1
  392. package/src/components/List/ListGroupItem/index.d.ts +2 -4
  393. package/src/components/Loader/Loader.js +4 -2
  394. package/src/components/Logo/index.js +2 -1
  395. package/src/components/Modal/Backdrop.js +2 -1
  396. package/src/components/Modal/index.js +2 -1
  397. package/src/components/OverlayTrigger/Overlay.js +2 -1
  398. package/src/components/OverlayTrigger/index.js +2 -1
  399. package/src/components/OverlayTrigger/utils.js +6 -3
  400. package/src/components/PopupWithFooter.d.ts +1 -1
  401. package/src/components/ProgressIndicator/ProgressIndicator.js +2 -1
  402. package/src/components/Radio/index.js +4 -2
  403. package/src/components/ResizeObserver/getResizeObserverObject.js +2 -1
  404. package/src/components/ResizeObserver/index.js +6 -3
  405. package/src/components/SelectList.js +2 -1
  406. package/src/components/SelectableList/index.js +2 -1
  407. package/src/components/SimpleButton/index.d.ts +2 -1
  408. package/src/components/SimpleButton/index.js +19 -6
  409. package/src/components/StylePreview.js +2 -1
  410. package/src/components/Tabs/index.js +6 -3
  411. package/src/components/Textarea/index.d.ts +5 -1
  412. package/src/components/ToggleButton/index.js +2 -1
  413. package/src/components/WindowModal/WindowModal.js +2 -1
  414. package/src/components/WindowModal/useStacking.js +2 -1
  415. package/src/components/icons/DefaultIcon.js +2 -1
  416. package/src/components/icons/index.d.ts +3 -1
  417. package/src/components/icons/index.js +10 -2
  418. package/src/components/utils/useContainerScrollObserver/index.js +2 -1
  419. package/src/components/utils/useGlobalEvent.js +2 -1
  420. package/src/components/utils/useLatest.js +2 -1
  421. package/src/components/utils/useRerender.js +2 -1
  422. package/src/components/utils/uuid.js +2 -1
  423. package/src/metamodel/adaptable-metamodel-model.d.ts +1 -1
  424. package/src/metamodel/adaptable.metamodel.d.ts +211 -101
  425. package/src/metamodel/adaptable.metamodel.js +1 -12874
  426. package/src/types.d.ts +7 -5
  427. package/version.d.ts +1 -1
  428. package/version.js +1 -1
  429. package/src/Api/Events/RowFormSubmitted.d.ts +0 -19
  430. package/src/components/ApplicationIcon.d.ts +0 -6
  431. package/src/components/ApplicationIcon.js +0 -13
@@ -12,52 +12,62 @@ exports.TEAMSHARING_REMOVE_ITEM = 'TEAMSHARING_REMOVE_ITEM';
12
12
  exports.TEAMSHARING_LINK_ITEM = 'TEAMSHARING_LINK_ITEM';
13
13
  exports.TEAMSHARING_UPDATE_ITEM = 'TEAMSHARING_UPDATE_ITEM';
14
14
  exports.TEAMSHARING_CHECK_FOR_UPDATES = 'TEAMSHARING_CHECK_FOR_UPDATES';
15
- exports.TeamSharingShare = (entity, module, configuration) => ({
15
+ const TeamSharingShare = (entity, module, configuration) => ({
16
16
  type: exports.TEAMSHARING_SHARE,
17
17
  Entity: entity,
18
18
  Module: module,
19
19
  Configuration: configuration,
20
20
  });
21
- exports.TeamSharingSet = (Entities) => ({
21
+ exports.TeamSharingShare = TeamSharingShare;
22
+ const TeamSharingSet = (Entities) => ({
22
23
  type: exports.TEAMSHARING_SET,
23
24
  Entities,
24
25
  });
25
- exports.TeamSharingImportItem = (SharedEntity) => ({
26
+ exports.TeamSharingSet = TeamSharingSet;
27
+ const TeamSharingImportItem = (SharedEntity) => ({
26
28
  type: exports.TEAMSHARING_IMPORT_ITEM,
27
29
  SharedEntity,
28
30
  });
29
- exports.TeamSharingProcessImport = (ImportSteps) => ({
31
+ exports.TeamSharingImportItem = TeamSharingImportItem;
32
+ const TeamSharingProcessImport = (ImportSteps) => ({
30
33
  type: exports.TEAMSHARING_PROCESS_IMPORT,
31
34
  ImportSteps,
32
35
  });
33
- exports.TeamSharingCommitImport = () => ({
36
+ exports.TeamSharingProcessImport = TeamSharingProcessImport;
37
+ const TeamSharingCommitImport = () => ({
34
38
  type: exports.TEAMSHARING_COMMIT_IMPORT,
35
39
  });
36
- exports.TeamSharingRemoveItem = (Uuid) => ({
40
+ exports.TeamSharingCommitImport = TeamSharingCommitImport;
41
+ const TeamSharingRemoveItem = (Uuid) => ({
37
42
  type: exports.TEAMSHARING_REMOVE_ITEM,
38
43
  Uuid,
39
44
  });
40
- exports.TeamSharingGet = () => ({
45
+ exports.TeamSharingRemoveItem = TeamSharingRemoveItem;
46
+ const TeamSharingGet = () => ({
41
47
  type: exports.TEAMSHARING_GET,
42
48
  });
43
- exports.TeamSharingLinkItem = (...SharedEntities) => ({
49
+ exports.TeamSharingGet = TeamSharingGet;
50
+ const TeamSharingLinkItem = (...SharedEntities) => ({
44
51
  type: exports.TEAMSHARING_LINK_ITEM,
45
52
  SharedEntities,
46
53
  });
47
- exports.TeamSharingUpdateItem = (ChangedAdaptableObject, UserName) => ({
54
+ exports.TeamSharingLinkItem = TeamSharingLinkItem;
55
+ const TeamSharingUpdateItem = (ChangedAdaptableObject, UserName) => ({
48
56
  type: exports.TEAMSHARING_UPDATE_ITEM,
49
57
  ChangedAdaptableObject,
50
58
  UserName,
51
59
  });
52
- exports.TeamSharingCheckForUpdates = () => ({
60
+ exports.TeamSharingUpdateItem = TeamSharingUpdateItem;
61
+ const TeamSharingCheckForUpdates = () => ({
53
62
  type: exports.TEAMSHARING_CHECK_FOR_UPDATES,
54
63
  });
64
+ exports.TeamSharingCheckForUpdates = TeamSharingCheckForUpdates;
55
65
  const initialTeamSharingState = {
56
66
  SharedEntities: GeneralConstants_1.EMPTY_ARRAY,
57
67
  ActiveSharedEntityMap: {},
58
68
  importProcessInProgress: false,
59
69
  };
60
- exports.TeamSharingReducer = (state = initialTeamSharingState, action) => {
70
+ const TeamSharingReducer = (state = initialTeamSharingState, action) => {
61
71
  switch (action.type) {
62
72
  case exports.TEAMSHARING_SET: {
63
73
  const actionTyped = action;
@@ -98,3 +108,4 @@ exports.TeamSharingReducer = (state = initialTeamSharingState, action) => {
98
108
  return state;
99
109
  }
100
110
  };
111
+ exports.TeamSharingReducer = TeamSharingReducer;
@@ -18,28 +18,32 @@ exports.THEME_SELECT = 'THEME_SELECT';
18
18
  * @ReduxAction Theme Module is ready
19
19
  */
20
20
  exports.THEME_READY = 'THEME_READY';
21
- exports.ThemeSetSystemThemes = (SystemThemes) => ({
21
+ const ThemeSetSystemThemes = (SystemThemes) => ({
22
22
  type: exports.THEME_SET_SYSTEM_THEMES,
23
23
  SystemThemes,
24
24
  });
25
- exports.ThemeSetUserThemes = (UserThemes) => ({
25
+ exports.ThemeSetSystemThemes = ThemeSetSystemThemes;
26
+ const ThemeSetUserThemes = (UserThemes) => ({
26
27
  type: exports.THEME_SET_USER_THEMES,
27
28
  UserThemes,
28
29
  });
29
- exports.ThemeSelect = (Theme) => ({
30
+ exports.ThemeSetUserThemes = ThemeSetUserThemes;
31
+ const ThemeSelect = (Theme) => ({
30
32
  type: exports.THEME_SELECT,
31
33
  Theme,
32
34
  });
33
- exports.ThemeReady = (themeState) => ({
35
+ exports.ThemeSelect = ThemeSelect;
36
+ const ThemeReady = (themeState) => ({
34
37
  type: exports.THEME_READY,
35
38
  themeState,
36
39
  });
40
+ exports.ThemeReady = ThemeReady;
37
41
  const initialState = {
38
42
  CurrentTheme: GeneralConstants_1.THEME_DEFAULT_CURRENT_THEME,
39
43
  SystemThemes: GeneralConstants_1.SYSTEM_THEMES,
40
44
  UserThemes: GeneralConstants_1.EMPTY_ARRAY,
41
45
  };
42
- exports.ThemeReducer = (state = initialState, action) => {
46
+ const ThemeReducer = (state = initialState, action) => {
43
47
  switch (action.type) {
44
48
  case exports.THEME_SET_SYSTEM_THEMES:
45
49
  return Object.assign({}, state, {
@@ -57,3 +61,4 @@ exports.ThemeReducer = (state = initialState, action) => {
57
61
  return state;
58
62
  }
59
63
  };
64
+ exports.ThemeReducer = ThemeReducer;
@@ -29,40 +29,47 @@ exports.TOOLPANEL_SET_MODULE_BUTTONS = 'TOOLPANEL_SET_MODULE_BUTTONS';
29
29
  * @ReduxAction AdapTable ToolPanel Component is ready
30
30
  */
31
31
  exports.TOOLPANEL_READY = 'TOOLPANEL_READY';
32
- exports.ToolPanelSetToolPanels = (toolPanels) => ({
32
+ const ToolPanelSetToolPanels = (toolPanels) => ({
33
33
  type: exports.TOOLPANEL_SET_TOOLPANELS,
34
34
  toolPanels,
35
35
  });
36
- exports.ToolPanelShowToolPanel = (toolPanel) => ({
36
+ exports.ToolPanelSetToolPanels = ToolPanelSetToolPanels;
37
+ const ToolPanelShowToolPanel = (toolPanel) => ({
37
38
  type: exports.TOOLPANEL_SHOW_TOOLPANEL,
38
39
  toolPanel,
39
40
  });
40
- exports.ToolPanelHideToolPanel = (toolPanel) => ({
41
+ exports.ToolPanelShowToolPanel = ToolPanelShowToolPanel;
42
+ const ToolPanelHideToolPanel = (toolPanel) => ({
41
43
  type: exports.TOOLPANEL_HIDE_TOOLPANEL,
42
44
  toolPanel,
43
45
  });
44
- exports.ToolPanelExpandToolPanel = (toolPanel) => ({
46
+ exports.ToolPanelHideToolPanel = ToolPanelHideToolPanel;
47
+ const ToolPanelExpandToolPanel = (toolPanel) => ({
45
48
  type: exports.TOOLPANEL_EXPAND_TOOLPANEL,
46
49
  toolPanel,
47
50
  });
48
- exports.ToolPanelCollapseToolPanel = (toolPanel) => ({
51
+ exports.ToolPanelExpandToolPanel = ToolPanelExpandToolPanel;
52
+ const ToolPanelCollapseToolPanel = (toolPanel) => ({
49
53
  type: exports.TOOLPANEL_COLLAPSE_TOOLPANEL,
50
54
  toolPanel,
51
55
  });
52
- exports.ToolPanelSetModuleButtons = (moduleButtons) => ({
56
+ exports.ToolPanelCollapseToolPanel = ToolPanelCollapseToolPanel;
57
+ const ToolPanelSetModuleButtons = (moduleButtons) => ({
53
58
  type: exports.TOOLPANEL_SET_MODULE_BUTTONS,
54
59
  moduleButtons: moduleButtons,
55
60
  });
56
- exports.ToolPanelReady = (toolPanelState) => ({
61
+ exports.ToolPanelSetModuleButtons = ToolPanelSetModuleButtons;
62
+ const ToolPanelReady = (toolPanelState) => ({
57
63
  type: exports.TOOLPANEL_READY,
58
64
  toolPanelState,
59
65
  });
66
+ exports.ToolPanelReady = ToolPanelReady;
60
67
  const initialState = {
61
68
  // default ToolPanels are set in ToolPanelModule.updateOldConfig() because we have to evaluate the ToolPanelOptions (for CustomToolPanel)
62
69
  ToolPanels: undefined,
63
70
  ModuleButtons: ['SettingsPanel'],
64
71
  };
65
- exports.ToolPanelReducer = (state = initialState, action) => {
72
+ const ToolPanelReducer = (state = initialState, action) => {
66
73
  var _a, _b, _c, _d;
67
74
  const setToolPanels = (state, toolPanels = []) => {
68
75
  return Object.assign(Object.assign({}, state), { ToolPanels: [...toolPanels] });
@@ -108,3 +115,4 @@ exports.ToolPanelReducer = (state = initialState, action) => {
108
115
  return state;
109
116
  }
110
117
  };
118
+ exports.ToolPanelReducer = ToolPanelReducer;
@@ -3,10 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdatedRowReducer = exports.UpdatedRowClear = exports.UPDATED_ROW_CLEAR = exports.FlashingCellReducer = exports.FlashingCellClear = exports.FLASHING_CELL_CLEAR = exports.PercentBarReducer = exports.PercentBarClear = exports.PERCENT_BAR_CLEAR = exports.GradientColumnReducer = exports.GradientColumnClear = exports.GRADIENT_COLUMN_CLEAR = void 0;
4
4
  const initialGradientColumnState = {};
5
5
  exports.GRADIENT_COLUMN_CLEAR = 'GRADIENT_COLUMN_CLEAR';
6
- exports.GradientColumnClear = () => ({
6
+ const GradientColumnClear = () => ({
7
7
  type: exports.GRADIENT_COLUMN_CLEAR,
8
8
  });
9
- exports.GradientColumnReducer = (state = initialGradientColumnState, action) => {
9
+ exports.GradientColumnClear = GradientColumnClear;
10
+ const GradientColumnReducer = (state = initialGradientColumnState, action) => {
10
11
  switch (action.type) {
11
12
  case exports.GRADIENT_COLUMN_CLEAR: {
12
13
  return Object.assign({}, initialGradientColumnState);
@@ -15,12 +16,14 @@ exports.GradientColumnReducer = (state = initialGradientColumnState, action) =>
15
16
  return state;
16
17
  }
17
18
  };
19
+ exports.GradientColumnReducer = GradientColumnReducer;
18
20
  const initialPercentBarState = {};
19
21
  exports.PERCENT_BAR_CLEAR = 'PERCENT_BAR_CLEAR';
20
- exports.PercentBarClear = () => ({
22
+ const PercentBarClear = () => ({
21
23
  type: exports.PERCENT_BAR_CLEAR,
22
24
  });
23
- exports.PercentBarReducer = (state = initialPercentBarState, action) => {
25
+ exports.PercentBarClear = PercentBarClear;
26
+ const PercentBarReducer = (state = initialPercentBarState, action) => {
24
27
  switch (action.type) {
25
28
  case exports.PERCENT_BAR_CLEAR: {
26
29
  return Object.assign({}, initialPercentBarState);
@@ -29,12 +32,14 @@ exports.PercentBarReducer = (state = initialPercentBarState, action) => {
29
32
  return state;
30
33
  }
31
34
  };
35
+ exports.PercentBarReducer = PercentBarReducer;
32
36
  const initialFlashingCellState = {};
33
37
  exports.FLASHING_CELL_CLEAR = 'FLASHING_CELL_CLEAR';
34
- exports.FlashingCellClear = () => ({
38
+ const FlashingCellClear = () => ({
35
39
  type: exports.FLASHING_CELL_CLEAR,
36
40
  });
37
- exports.FlashingCellReducer = (state = initialFlashingCellState, action) => {
41
+ exports.FlashingCellClear = FlashingCellClear;
42
+ const FlashingCellReducer = (state = initialFlashingCellState, action) => {
38
43
  switch (action.type) {
39
44
  case exports.FLASHING_CELL_CLEAR: {
40
45
  return Object.assign({}, initialFlashingCellState);
@@ -43,12 +48,14 @@ exports.FlashingCellReducer = (state = initialFlashingCellState, action) => {
43
48
  return state;
44
49
  }
45
50
  };
51
+ exports.FlashingCellReducer = FlashingCellReducer;
46
52
  const initialUpdatedRowState = {};
47
53
  exports.UPDATED_ROW_CLEAR = 'UPDATED_ROW_CLEAR';
48
- exports.UpdatedRowClear = () => ({
54
+ const UpdatedRowClear = () => ({
49
55
  type: exports.UPDATED_ROW_CLEAR,
50
56
  });
51
- exports.UpdatedRowReducer = (state = initialUpdatedRowState, action) => {
57
+ exports.UpdatedRowClear = UpdatedRowClear;
58
+ const UpdatedRowReducer = (state = initialUpdatedRowState, action) => {
52
59
  switch (action.type) {
53
60
  case exports.UPDATED_ROW_CLEAR: {
54
61
  return Object.assign({}, initialUpdatedRowState);
@@ -57,3 +64,4 @@ exports.UpdatedRowReducer = (state = initialUpdatedRowState, action) => {
57
64
  return state;
58
65
  }
59
66
  };
67
+ exports.UpdatedRowReducer = UpdatedRowReducer;
@@ -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
  }