@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
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
- exports.EditCurrentQueryButton = () => {
8
+ const EditCurrentQueryButton = () => {
9
9
  const adaptable = AdaptableContext_1.useAdaptable();
10
10
  const handleClick = React.useCallback((event) => {
11
11
  event.stopPropagation();
@@ -13,3 +13,4 @@ exports.EditCurrentQueryButton = () => {
13
13
  }, []);
14
14
  return React.createElement(SimpleButton_1.default, { variant: "text", iconSize: 15, onClick: handleClick, icon: "edit" });
15
15
  };
16
+ exports.EditCurrentQueryButton = EditCurrentQueryButton;
@@ -11,7 +11,7 @@ const QueryRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/Que
11
11
  const StringExtensions_1 = require("../../Utilities/Extensions/StringExtensions");
12
12
  const NamedQueryContext_1 = require("../../components/ExpressionEditor/NamedQueryContext");
13
13
  const ModuleConstants_1 = require("../../Utilities/Constants/ModuleConstants");
14
- exports.ExpandedQueryPopup = (props) => {
14
+ const ExpandedQueryPopup = (props) => {
15
15
  const dispatch = react_redux_1.useDispatch();
16
16
  const [namedQuery, setNamedQuery] = React.useState(null);
17
17
  const [expression, setExpression] = React.useState(props.popupProps.value);
@@ -53,3 +53,4 @@ exports.ExpandedQueryPopup = (props) => {
53
53
  props.onDismiss();
54
54
  }, disabled: !isExpressionValid || StringExtensions_1.IsNullOrEmpty(expression) || hasNamedQueryError }, "Run Query")))));
55
55
  };
56
+ exports.ExpandedQueryPopup = ExpandedQueryPopup;
@@ -26,5 +26,5 @@ declare class QueryViewPanelComponent extends React.Component<QueryViewPanelComp
26
26
  onSelectedSearchChanged(searchName: string): void;
27
27
  runQuery(expression?: string): void;
28
28
  }
29
- export declare let QueryViewPanelControl: import("react-redux").ConnectedComponent<typeof QueryViewPanelComponent, Pick<React.ClassAttributes<QueryViewPanelComponent> & QueryViewPanelComponentProps, "ref" | "key">>;
29
+ export declare let QueryViewPanelControl: import("react-redux").ConnectedComponent<typeof QueryViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<QueryViewPanelComponent> & QueryViewPanelComponentProps, "api" | "accessLevel" | "CurrentQuery" | "CachedQueries" | "moduleInfo" | "NamedQueries" | "viewType" | "onAddCachedQuery" | "onRunQuery" | "onShowNamedQueries">>;
30
30
  export {};
@@ -10,7 +10,7 @@ const AdaptableContext_1 = require("../../AdaptableContext");
10
10
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
11
11
  const ModuleConstants_1 = require("../../../Utilities/Constants/ModuleConstants");
12
12
  const Tag_1 = require("../../../components/Tag");
13
- exports.isValidNamedQueryExpression = (data, api) => {
13
+ const isValidNamedQueryExpression = (data, api) => {
14
14
  if (!data.BooleanExpression) {
15
15
  return 'Expression is empty';
16
16
  }
@@ -20,16 +20,19 @@ exports.isValidNamedQueryExpression = (data, api) => {
20
20
  }
21
21
  return valid;
22
22
  };
23
- exports.renderNamedQueryExpressionSummary = (data) => {
23
+ exports.isValidNamedQueryExpression = isValidNamedQueryExpression;
24
+ const renderNamedQueryExpressionSummary = (data) => {
24
25
  return (React.createElement(rebass_1.Text, { fontSize: 2 },
25
26
  "Expression: ",
26
27
  React.createElement(Tag_1.Tag, null, data.BooleanExpression)));
27
28
  };
28
- exports.NamedQueryExpressionWizardSection = (props) => {
29
+ exports.renderNamedQueryExpressionSummary = renderNamedQueryExpressionSummary;
30
+ const NamedQueryExpressionWizardSection = (props) => {
29
31
  const { api } = AdaptableContext_1.useAdaptable();
30
- const { data, moduleInfo } = OnePageAdaptableWizard_1.useOnePageWizardContext();
32
+ const { data, moduleInfo } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
31
33
  const initialData = react_1.useMemo(() => api.internalApi.getQueryPreviewData(), []);
32
34
  return (React.createElement(ExpressionEditor_1.ExpressionEditor, { allowSaveNamedQuery: false, type: 'boolean', module: moduleInfo.ModuleName, value: data.BooleanExpression, onChange: (BooleanExpression) => {
33
35
  props.onChange(Object.assign(Object.assign({}, data), { BooleanExpression }));
34
36
  }, initialData: initialData, columns: api.columnApi.getQueryableColumns(), namedQueries: api.queryApi.getAllNamedQuery(), api: api }));
35
37
  };
38
+ exports.NamedQueryExpressionWizardSection = NamedQueryExpressionWizardSection;
@@ -10,7 +10,7 @@ const ErrorBox_1 = tslib_1.__importDefault(require("../../../components/ErrorBox
10
10
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
11
11
  const AdaptableInput_1 = tslib_1.__importDefault(require("../../Components/AdaptableInput"));
12
12
  const Tag_1 = require("../../../components/Tag");
13
- exports.isValidNamedQuerySettings = (data, api) => {
13
+ const isValidNamedQuerySettings = (data, api) => {
14
14
  const validationResult = api.queryApi.isValidNamedQueryName(data);
15
15
  const ErrorMessage = !validationResult.valid ? validationResult.message : null;
16
16
  if (!ErrorMessage) {
@@ -18,13 +18,15 @@ exports.isValidNamedQuerySettings = (data, api) => {
18
18
  }
19
19
  return ErrorMessage;
20
20
  };
21
- exports.renderNamedQuerySettingsSummary = (data) => {
21
+ exports.isValidNamedQuerySettings = isValidNamedQuerySettings;
22
+ const renderNamedQuerySettingsSummary = (data) => {
22
23
  return (React.createElement(rebass_1.Text, { fontSize: 2 },
23
24
  "Name: ",
24
25
  React.createElement(Tag_1.Tag, null, data.Name)));
25
26
  };
26
- exports.NamedQuerySettingsWizardSection = (props) => {
27
- const { data, api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
27
+ exports.renderNamedQuerySettingsSummary = renderNamedQuerySettingsSummary;
28
+ const NamedQuerySettingsWizardSection = (props) => {
29
+ const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
28
30
  const valid = exports.isValidNamedQuerySettings(data, api);
29
31
  const errorMessage = valid === true ? null : valid;
30
32
  const handleColumnNameChange = (event) => {
@@ -39,3 +41,4 @@ exports.NamedQuerySettingsWizardSection = (props) => {
39
41
  errorMessage ? (React.createElement(FormLayout_1.FormRow, { label: "" },
40
42
  React.createElement(ErrorBox_1.default, null, errorMessage))) : null)));
41
43
  };
44
+ exports.NamedQuerySettingsWizardSection = NamedQuerySettingsWizardSection;
@@ -7,10 +7,11 @@ const react_redux_1 = require("react-redux");
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
8
  const AdaptableFormControlTextClear_1 = require("../Components/Forms/AdaptableFormControlTextClear");
9
9
  const QuickSearchRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/QuickSearchRedux"));
10
- exports.QuickSearchStatusBarContent = () => {
10
+ const QuickSearchStatusBarContent = () => {
11
11
  const text = react_redux_1.useSelector((state) => state.QuickSearch.QuickSearchText);
12
12
  const dispatch = react_redux_1.useDispatch();
13
13
  const adaptable = AdaptableContext_1.useAdaptable();
14
14
  const handleTextChange = React.useCallback((text) => dispatch(QuickSearchRedux.QuickSearchRun(text)), []);
15
15
  return (React.createElement(AdaptableFormControlTextClear_1.AdaptableFormControlTextClear, { onClick: (event) => event.stopPropagation(), type: "text", inputStyle: { padding: '2px 3px', width: 90 }, placeholder: adaptable.api.internalApi.getAdaptableOptions().searchOptions.quickSearchPlaceholder, value: text, OnTextChange: handleTextChange }));
16
16
  };
17
+ exports.QuickSearchStatusBarContent = QuickSearchStatusBarContent;
@@ -5,4 +5,4 @@ export interface QuickSearchViewPanelComponentProps extends ViewPanelProps {
5
5
  onRunQuickSearch: (quickSearchText: string) => QuickSearchRedux.QuickSearchRunAction;
6
6
  QuickSearchText: string;
7
7
  }
8
- export declare const QuickSearchViewPanelControl: import("react-redux").ConnectedComponent<(props: QuickSearchViewPanelComponentProps) => JSX.Element, Pick<QuickSearchViewPanelComponentProps, never>>;
8
+ export declare const QuickSearchViewPanelControl: import("react-redux").ConnectedComponent<(props: QuickSearchViewPanelComponentProps) => JSX.Element, import("react-redux").Omit<QuickSearchViewPanelComponentProps, "api" | "accessLevel" | "QuickSearchText" | "moduleInfo" | "onRunQuickSearch" | "viewType">>;
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const react_1 = require("react");
6
6
  const debounce_1 = tslib_1.__importDefault(require("lodash/debounce"));
7
7
  const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
8
- exports.useQuickSearchDebounced = (props) => {
8
+ const useQuickSearchDebounced = (props) => {
9
9
  var _a;
10
10
  const [searchText, setSearchText] = react_1.useState((_a = props.QuickSearchText) !== null && _a !== void 0 ? _a : '');
11
11
  const debouncedRunQuickSearch = react_1.useMemo(() => debounce_1.default(props.onRunQuickSearch, GeneralConstants_1.QUICK_SEARCH_DEBOUNCE_TIME), [props.onRunQuickSearch]);
@@ -18,3 +18,4 @@ exports.useQuickSearchDebounced = (props) => {
18
18
  };
19
19
  return [searchText, executeSearch];
20
20
  };
21
+ exports.useQuickSearchDebounced = useQuickSearchDebounced;
@@ -6,9 +6,10 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const Tag_1 = require("../../../components/Tag");
7
7
  const UIHelper_1 = require("../../UIHelper");
8
8
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
9
- exports.ScheduleScheduleSummary = () => {
10
- const { data } = OnePageAdaptableWizard_1.useOnePageWizardContext();
9
+ const ScheduleScheduleSummary = () => {
10
+ const { data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
11
11
  return (React.createElement(OnePageAdaptableWizard_1.SummaryText, null,
12
12
  "Schedule: ",
13
13
  React.createElement(Tag_1.Tag, null, UIHelper_1.UIHelper.getScheduleDescription(data.Schedule))));
14
14
  };
15
+ exports.ScheduleScheduleSummary = ScheduleScheduleSummary;
@@ -11,7 +11,7 @@ const Tabs_1 = require("../../../components/Tabs");
11
11
  const ArrayExtensions_1 = tslib_1.__importDefault(require("../../../Utilities/Extensions/ArrayExtensions"));
12
12
  const AdaptableInput_1 = tslib_1.__importDefault(require("../../Components/AdaptableInput"));
13
13
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
14
- exports.isScheduleValid = (schedule, isOneOff) => {
14
+ const isScheduleValid = (schedule, isOneOff) => {
15
15
  var _a;
16
16
  if (!schedule.Schedule) {
17
17
  return 'Schedule is not specified';
@@ -27,6 +27,7 @@ exports.isScheduleValid = (schedule, isOneOff) => {
27
27
  }
28
28
  return true;
29
29
  };
30
+ exports.isScheduleValid = isScheduleValid;
30
31
  const daysMap = [
31
32
  {
32
33
  label: 'Monday',
@@ -57,9 +58,9 @@ const daysMap = [
57
58
  value: 'Sunday',
58
59
  },
59
60
  ];
60
- exports.ScheduleScheduleWizard = (props) => {
61
+ const ScheduleScheduleWizard = (props) => {
61
62
  var _a, _b, _c, _d, _e;
62
- const { data } = OnePageAdaptableWizard_1.useOnePageWizardContext();
63
+ const { data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
63
64
  const handleIsOneOfChange = (isOneOffNew) => {
64
65
  var _a, _b;
65
66
  props.onSetIsOneOff(isOneOffNew);
@@ -108,3 +109,4 @@ exports.ScheduleScheduleWizard = (props) => {
108
109
  React.createElement(FormLayout_1.FormRow, { label: "Time" },
109
110
  React.createElement(AdaptableInput_1.default, { width: 300, value: timeValue, type: "time", onChange: handleTimeChange })))))));
110
111
  };
112
+ exports.ScheduleScheduleWizard = ScheduleScheduleWizard;
@@ -7,7 +7,7 @@ const rebass_1 = require("rebass");
7
7
  const Tabs_1 = require("../../../../components/Tabs");
8
8
  const FormLayout_1 = tslib_1.__importStar(require("../../../../components/FormLayout"));
9
9
  const DropdownButton_1 = tslib_1.__importDefault(require("../../../../components/DropdownButton"));
10
- exports.ScheduleSettingsGlue42 = (props) => {
10
+ const ScheduleSettingsGlue42 = (props) => {
11
11
  var _a, _b;
12
12
  const reportOptions = props.allReports.map((report) => ({
13
13
  label: report.Name,
@@ -22,3 +22,4 @@ exports.ScheduleSettingsGlue42 = (props) => {
22
22
  React.createElement(FormLayout_1.FormRow, { label: "Select Report" },
23
23
  React.createElement(DropdownButton_1.default, { width: 300, disabled: props.allReports.length == 0, items: reportOptions }, ((_b = (_a = props === null || props === void 0 ? void 0 : props.glue42) === null || _a === void 0 ? void 0 : _a.Glue42Report) === null || _b === void 0 ? void 0 : _b.ReportName) || 'Select Report')))))));
24
24
  };
25
+ exports.ScheduleSettingsGlue42 = ScheduleSettingsGlue42;
@@ -9,7 +9,7 @@ const FormLayout_1 = tslib_1.__importStar(require("../../../../components/FormLa
9
9
  const Radio_1 = tslib_1.__importDefault(require("../../../../components/Radio"));
10
10
  const DropdownButton_1 = tslib_1.__importDefault(require("../../../../components/DropdownButton"));
11
11
  const OnePageAdaptableWizard_1 = require("../../../Wizard/OnePageAdaptableWizard");
12
- exports.ScheduleSettingsIPushPull = (props) => {
12
+ const ScheduleSettingsIPushPull = (props) => {
13
13
  var _a, _b, _c, _d, _e, _f;
14
14
  const reportOptions = props.allReports.map((report) => ({
15
15
  label: report.Name,
@@ -44,3 +44,4 @@ exports.ScheduleSettingsIPushPull = (props) => {
44
44
  React.createElement(FormLayout_1.FormRow, { label: "" },
45
45
  React.createElement(OnePageAdaptableWizard_1.FormDescriptionText, null, "Choose whether to send ipushpull Data as 'Snapshot' (One-off report) or 'Live Data' (updating as Grid updates)")))))));
46
46
  };
47
+ exports.ScheduleSettingsIPushPull = ScheduleSettingsIPushPull;
@@ -7,7 +7,7 @@ const rebass_1 = require("rebass");
7
7
  const Tabs_1 = require("../../../../components/Tabs");
8
8
  const FormLayout_1 = tslib_1.__importStar(require("../../../../components/FormLayout"));
9
9
  const DropdownButton_1 = tslib_1.__importDefault(require("../../../../components/DropdownButton"));
10
- exports.ScheduleSettingsOpenFin = (props) => {
10
+ const ScheduleSettingsOpenFin = (props) => {
11
11
  var _a, _b;
12
12
  const reportOptions = props.allReports.map((report) => ({
13
13
  label: report.Name,
@@ -22,3 +22,4 @@ exports.ScheduleSettingsOpenFin = (props) => {
22
22
  React.createElement(FormLayout_1.FormRow, { label: "Select Report" },
23
23
  React.createElement(DropdownButton_1.default, { columns: ['label'], style: { width: 300 }, disabled: props.allReports.length == 0, items: reportOptions }, ((_b = (_a = props === null || props === void 0 ? void 0 : props.openFin) === null || _a === void 0 ? void 0 : _a.OpenFinReport) === null || _b === void 0 ? void 0 : _b.ReportName) || 'Select Report')))))));
24
24
  };
25
+ exports.ScheduleSettingsOpenFin = ScheduleSettingsOpenFin;
@@ -10,7 +10,7 @@ const Input_1 = tslib_1.__importDefault(require("../../../../components/Input"))
10
10
  const DropdownButton_1 = tslib_1.__importDefault(require("../../../../components/DropdownButton"));
11
11
  const CheckBox_1 = require("../../../../components/CheckBox");
12
12
  const MESSAGE_TYPES = ['Success', 'Info', 'Warning', 'Error'];
13
- exports.ScheduleSettingsReminder = (props) => {
13
+ const ScheduleSettingsReminder = (props) => {
14
14
  var _a, _b, _c, _d;
15
15
  const messageTypes = MESSAGE_TYPES.map((messageType) => ({
16
16
  label: messageType,
@@ -44,3 +44,4 @@ exports.ScheduleSettingsReminder = (props) => {
44
44
  React.createElement(FormLayout_1.FormRow, { label: "" },
45
45
  React.createElement(CheckBox_1.CheckBox, { checked: (_d = props.reminderSchedule) === null || _d === void 0 ? void 0 : _d.DisplayNotification, onChange: handleDisplayNotificationChange }, "Show the Reminder as an Alert")))))));
46
46
  };
47
+ exports.ScheduleSettingsReminder = ScheduleSettingsReminder;
@@ -8,7 +8,7 @@ const Tabs_1 = require("../../../../components/Tabs");
8
8
  const FormLayout_1 = tslib_1.__importStar(require("../../../../components/FormLayout"));
9
9
  const DropdownButton_1 = tslib_1.__importDefault(require("../../../../components/DropdownButton"));
10
10
  const DESTINATIONS = ['Excel', 'CSV', 'Clipboard', 'JSON'];
11
- exports.ScheduleSettingsReport = (props) => {
11
+ const ScheduleSettingsReport = (props) => {
12
12
  var _a, _b;
13
13
  const reportOptions = props.allReports.map((report) => ({
14
14
  label: report.Name,
@@ -33,3 +33,4 @@ exports.ScheduleSettingsReport = (props) => {
33
33
  React.createElement(FormLayout_1.FormRow, { label: "Destination" },
34
34
  React.createElement(DropdownButton_1.default, { style: { width: 300 }, items: destinationOptions }, ((_b = props === null || props === void 0 ? void 0 : props.report) === null || _b === void 0 ? void 0 : _b.ExportDestination) || 'Select Destination')))))));
35
35
  };
36
+ exports.ScheduleSettingsReport = ScheduleSettingsReport;
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const Tag_1 = require("../../../../components/Tag");
7
7
  const Enums_1 = require("../../../../PredefinedConfig/Common/Enums");
8
8
  const OnePageAdaptableWizard_1 = require("../../../Wizard/OnePageAdaptableWizard");
9
- exports.getScheduleSettingsValues = (data) => {
9
+ const getScheduleSettingsValues = (data) => {
10
10
  if (data.ScheduleType === Enums_1.ScheduleType.Reminder) {
11
11
  const reminder = data;
12
12
  return [
@@ -82,10 +82,12 @@ exports.getScheduleSettingsValues = (data) => {
82
82
  }
83
83
  return [];
84
84
  };
85
- exports.ScheduleSettingsSummary = () => {
86
- const { data } = OnePageAdaptableWizard_1.useOnePageWizardContext();
85
+ exports.getScheduleSettingsValues = getScheduleSettingsValues;
86
+ const ScheduleSettingsSummary = () => {
87
+ const { data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
87
88
  return (React.createElement(React.Fragment, null, exports.getScheduleSettingsValues(data).map((description, index) => (React.createElement(OnePageAdaptableWizard_1.SummaryText, { key: index },
88
89
  description.label,
89
90
  ": ",
90
91
  React.createElement(Tag_1.Tag, null, description.value))))));
91
92
  };
93
+ exports.ScheduleSettingsSummary = ScheduleSettingsSummary;
@@ -10,8 +10,8 @@ const ScheduleSettingsReport_1 = require("./ScheduleSettingsReport");
10
10
  const ScheduleSettingsIPushPull_1 = require("./ScheduleSettingsIPushPull");
11
11
  const ScheduleSettingsOpenFin_1 = require("./ScheduleSettingsOpenFin");
12
12
  const ScheduleSettingsGlue42_1 = require("./ScheduleSettingsGlue42");
13
- exports.ScheduleSettingsWizard = (props) => {
14
- const { data, api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
13
+ const ScheduleSettingsWizard = (props) => {
14
+ const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
15
15
  const allReports = api.exportApi.getAllReports();
16
16
  if ((data === null || data === void 0 ? void 0 : data.ScheduleType) === Enums_1.ScheduleType.Reminder) {
17
17
  return (React.createElement(ScheduleSettingsReminder_1.ScheduleSettingsReminder, { reminderSchedule: data, onChange: props.onChange }));
@@ -35,3 +35,4 @@ exports.ScheduleSettingsWizard = (props) => {
35
35
  }
36
36
  return React.createElement(React.Fragment, null);
37
37
  };
38
+ exports.ScheduleSettingsWizard = ScheduleSettingsWizard;
@@ -4,7 +4,7 @@ exports.isSettingsValid = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const Enums_1 = require("../../../../PredefinedConfig/Common/Enums");
6
6
  const StringExtensions_1 = tslib_1.__importDefault(require("../../../../Utilities/Extensions/StringExtensions"));
7
- exports.isSettingsValid = (schedule) => {
7
+ const isSettingsValid = (schedule) => {
8
8
  var _a, _b, _c, _d, _e;
9
9
  if (schedule.ScheduleType === Enums_1.ScheduleType.Reminder) {
10
10
  const reminder = schedule;
@@ -53,3 +53,4 @@ exports.isSettingsValid = (schedule) => {
53
53
  }
54
54
  return true;
55
55
  };
56
+ exports.isSettingsValid = isSettingsValid;
@@ -13,7 +13,7 @@ const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/Obje
13
13
  const react_redux_1 = require("react-redux");
14
14
  const ScheduleRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/ScheduleRedux"));
15
15
  const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
16
- exports.ScheduleWizard = (props) => {
16
+ const ScheduleWizard = (props) => {
17
17
  var _a, _b, _c, _d;
18
18
  const data = (_a = props.data) !== null && _a !== void 0 ? _a : (_b = props.popupParams) === null || _b === void 0 ? void 0 : _b.value;
19
19
  const isNew = ((_c = props.popupParams) === null || _c === void 0 ? void 0 : _c.action) ? props.popupParams.action === 'New' : !props.data;
@@ -120,3 +120,4 @@ exports.ScheduleWizard = (props) => {
120
120
  },
121
121
  ] }));
122
122
  };
123
+ exports.ScheduleWizard = ScheduleWizard;
@@ -5,8 +5,8 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
7
7
  const NewScopeComponent_1 = require("../../Components/NewScopeComponent");
8
- exports.ShortcutScopeWizardSection = (props) => {
9
- const { data, api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
8
+ const ShortcutScopeWizardSection = (props) => {
9
+ const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
10
10
  const availableColumns = React.useMemo(() => api.columnApi.getNumericColumns(), []);
11
11
  return (React.createElement(NewScopeComponent_1.NewScopeComponent, { availableDataTypes: ['Number'], scopeColumns: availableColumns, scope: data.Scope, descriptions: {
12
12
  rowScope: 'Matching rows will have the shortcut applied',
@@ -20,3 +20,4 @@ exports.ShortcutScopeWizardSection = (props) => {
20
20
  props.onChange(Object.assign(Object.assign({}, data), { Scope: preparedScope }));
21
21
  } }));
22
22
  };
23
+ exports.ShortcutScopeWizardSection = ShortcutScopeWizardSection;
@@ -13,7 +13,7 @@ const Tabs_1 = require("../../../components/Tabs");
13
13
  const DropdownButton_1 = tslib_1.__importDefault(require("../../../components/DropdownButton"));
14
14
  const OnePageAdaptableWizard_2 = require("../../../View/Wizard/OnePageAdaptableWizard");
15
15
  const Tag_1 = require("../../../components/Tag");
16
- exports.isSettingsValid = (data) => {
16
+ const isSettingsValid = (data) => {
17
17
  const shortcutKey = data.ShortcutKey && typeof data.ShortcutKey === 'string' ? '' : 'Shortcut key is not selected';
18
18
  const shortcutValue = typeof data.ShortcutValue === 'number' ? '' : 'Shortcut value is not specified';
19
19
  const shortcutOperation = data.ShortcutOperation && typeof data.ShortcutOperation === 'string'
@@ -22,9 +22,10 @@ exports.isSettingsValid = (data) => {
22
22
  const result = [shortcutKey, shortcutValue, shortcutOperation].filter(Boolean);
23
23
  return result.length ? result.join(', ') : true;
24
24
  };
25
- exports.ShortcutSettingsSummary = () => {
25
+ exports.isSettingsValid = isSettingsValid;
26
+ const ShortcutSettingsSummary = () => {
26
27
  var _a, _b;
27
- const { data: shortcut } = OnePageAdaptableWizard_1.useOnePageWizardContext();
28
+ const { data: shortcut } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
28
29
  return (React.createElement(React.Fragment, null,
29
30
  React.createElement(OnePageAdaptableWizard_2.SummaryText, null,
30
31
  "Shortcut Key ",
@@ -36,9 +37,10 @@ exports.ShortcutSettingsSummary = () => {
36
37
  "Operation ",
37
38
  React.createElement(Tag_1.Tag, null, (_b = shortcut.ShortcutOperation) !== null && _b !== void 0 ? _b : 'Not Specified'))));
38
39
  };
39
- exports.ShortcutSettingsWizard = (props) => {
40
+ exports.ShortcutSettingsSummary = ShortcutSettingsSummary;
41
+ const ShortcutSettingsWizard = (props) => {
40
42
  var _a;
41
- const { data: shortcut } = OnePageAdaptableWizard_1.useOnePageWizardContext();
43
+ const { data: shortcut } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
42
44
  const handleKeyChange = React.useCallback((ShortcutKey) => {
43
45
  props.onChange(Object.assign(Object.assign({}, shortcut), { ShortcutKey }));
44
46
  }, [shortcut]);
@@ -78,3 +80,4 @@ exports.ShortcutSettingsWizard = (props) => {
78
80
  "The number that is used - together with the shortcut's mathematical 'operation' and the current cell value - in order to calculate the new total for the cell.",
79
81
  ] }))))))));
80
82
  };
83
+ exports.ShortcutSettingsWizard = ShortcutSettingsWizard;
@@ -15,7 +15,7 @@ const ShortcutRedux = tslib_1.__importStar(require("../../../Redux/ActionsReduce
15
15
  const shortcutKeys_1 = require("../shortcutKeys");
16
16
  const AdaptableContext_1 = require("../../AdaptableContext");
17
17
  const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
18
- exports.ShortcutWizard = (props) => {
18
+ const ShortcutWizard = (props) => {
19
19
  const [shortcut, setShortcut] = React.useState(() => {
20
20
  var _a;
21
21
  const shortcut = props.data ? Helper_1.cloneObject(props.data) : ObjectFactory_1.default.CreateEmptyShortcut();
@@ -90,3 +90,4 @@ exports.ShortcutWizard = (props) => {
90
90
  },
91
91
  ] }));
92
92
  };
93
+ exports.ShortcutWizard = ShortcutWizard;
@@ -9,7 +9,7 @@ const CheckBox_1 = require("../components/CheckBox");
9
9
  const FormLayout_1 = tslib_1.__importStar(require("../components/FormLayout"));
10
10
  const Tabs_1 = require("../components/Tabs");
11
11
  const AdaptableContext_1 = require("./AdaptableContext");
12
- exports.SpecialColumnSettingsWizardStep = (props) => {
12
+ const SpecialColumnSettingsWizardStep = (props) => {
13
13
  var _a, _b;
14
14
  const adaptable = AdaptableContext_1.useAdaptable();
15
15
  const possibleColumnTypes = adaptable.api.internalApi.getAdaptableOptions().columnOptions.columnTypes;
@@ -60,3 +60,4 @@ exports.SpecialColumnSettingsWizardStep = (props) => {
60
60
  second && (React.createElement(CheckBox_1.CheckBox, { onChange: (checked) => handleColumnTypeChange(second, checked), checked: (_f = (_e = (_d = props.settings) === null || _d === void 0 ? void 0 : _d.ColumnTypes) === null || _e === void 0 ? void 0 : _e.includes) === null || _f === void 0 ? void 0 : _f.call(_e, second) }, second))));
61
61
  })))))));
62
62
  };
63
+ exports.SpecialColumnSettingsWizardStep = SpecialColumnSettingsWizardStep;
@@ -10,7 +10,7 @@ const LoadButton_1 = require("./components/LoadButton");
10
10
  const ClearButton_1 = require("./components/ClearButton");
11
11
  const ExportDropdown_1 = require("./components/ExportDropdown");
12
12
  const Panel_1 = tslib_1.__importDefault(require("../../components/Panel"));
13
- exports.StateManagementPopup = (props) => {
13
+ const StateManagementPopup = (props) => {
14
14
  return (React.createElement(PopupPanel_1.PopupPanel, { headerText: props.moduleInfo.FriendlyName, glyphicon: props.moduleInfo.Glyph, infoLink: props.moduleInfo.HelpPage, infoLinkDisabled: !props.api.internalApi.isDocumentationLinksDisplayed() },
15
15
  React.createElement(rebass_1.Box, null,
16
16
  React.createElement(Panel_1.default, { header: 'User State', style: { height: 'auto' }, variant: "default", borderRadius: "none", marginTop: 3, marginRight: 2 },
@@ -30,3 +30,4 @@ exports.StateManagementPopup = (props) => {
30
30
  ' ',
31
31
  React.createElement(ExportDropdown_1.ExportDropdown, { api: props.api, type: "predefinedConfig", marginRight: 3, style: { flex: 1, maxWidth: 'none' }, columns: ['label'] }, "Select Export Destination")))));
32
32
  };
33
+ exports.StateManagementPopup = StateManagementPopup;
@@ -9,7 +9,7 @@ const LoadButton_1 = require("./components/LoadButton");
9
9
  const ClearButton_1 = require("./components/ClearButton");
10
10
  const rebass_1 = require("rebass");
11
11
  const ExportDropdown_1 = require("./components/ExportDropdown");
12
- exports.StateManagementViewPanel = (props) => {
12
+ const StateManagementViewPanel = (props) => {
13
13
  const isToolbar = props.viewType === 'Toolbar';
14
14
  const elementType = isToolbar ? 'DashboardToolbar' : 'ToolPanel';
15
15
  return (React.createElement(rebass_1.Flex, { flexDirection: isToolbar ? 'row' : 'column', className: join_1.default(props.accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__StateManagement__wrap`) },
@@ -19,3 +19,4 @@ exports.StateManagementViewPanel = (props) => {
19
19
  React.createElement(ExportDropdown_1.ExportDropdown, { api: props.api, type: "adaptableState" }, "All State"),
20
20
  React.createElement(ExportDropdown_1.ExportDropdown, { api: props.api, type: "predefinedConfig" }, "Predefined Config")));
21
21
  };
22
+ exports.StateManagementViewPanel = StateManagementViewPanel;
@@ -4,6 +4,7 @@ exports.ClearButton = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const SimpleButton_1 = tslib_1.__importDefault(require("../../../components/SimpleButton"));
7
- exports.ClearButton = (props) => {
7
+ const ClearButton = (props) => {
8
8
  return (React.createElement(SimpleButton_1.default, Object.assign({}, props, { className: "ab-StateManagement__Clear-Button", tooltip: "Clear User State" }), props.children));
9
9
  };
10
+ exports.ClearButton = ClearButton;
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const DropdownButton_1 = tslib_1.__importDefault(require("../../../components/DropdownButton"));
7
7
  const handleExportState_1 = require("../handleExportState");
8
- exports.ExportDropdown = (props) => {
8
+ const ExportDropdown = (props) => {
9
9
  const handleChange = (destination) => {
10
10
  switch (props.type) {
11
11
  case 'adaptableState':
@@ -37,3 +37,4 @@ exports.ExportDropdown = (props) => {
37
37
  ];
38
38
  return (React.createElement(DropdownButton_1.default, Object.assign({ className: "ab-StateManagement__Export-Dropdown" }, props, { items: destinationOptions, value: undefined })));
39
39
  };
40
+ exports.ExportDropdown = ExportDropdown;
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const FileDroppable_1 = require("../../../components/FileDroppable");
7
7
  const SimpleButton_1 = tslib_1.__importDefault(require("../../../components/SimpleButton"));
8
- exports.LoadButton = (props) => {
8
+ const LoadButton = (props) => {
9
9
  const onLoadPredefinedConfig = (e) => {
10
10
  const nativeEvent = e.nativeEvent;
11
11
  let files;
@@ -36,3 +36,4 @@ exports.LoadButton = (props) => {
36
36
  ' ',
37
37
  props.children));
38
38
  };
39
+ exports.LoadButton = LoadButton;
@@ -4,7 +4,7 @@ exports.handleExportState = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const Helper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/Helper"));
6
6
  const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
7
- exports.handleExportState = (type, name, state) => {
7
+ const handleExportState = (type, name, state) => {
8
8
  switch (type) {
9
9
  case 'Clipboard':
10
10
  let stringifiedState = JSON.stringify(state);
@@ -20,3 +20,4 @@ exports.handleExportState = (type, name, state) => {
20
20
  break;
21
21
  }
22
22
  };
23
+ exports.handleExportState = handleExportState;
@@ -8,7 +8,7 @@ const rebass_1 = require("rebass");
8
8
  const StatusBarRedux_1 = require("../../Redux/ActionsReducers/StatusBarRedux");
9
9
  const AdaptableContext_1 = require("../AdaptableContext");
10
10
  const StatusBarPanel_1 = require("./StatusBarPanel");
11
- exports.AdaptableStatusBar = (props) => {
11
+ const AdaptableStatusBar = (props) => {
12
12
  var _a;
13
13
  /**
14
14
  * All state is selected so the Status Bar is re-rendered for all adaptable state changes
@@ -42,3 +42,4 @@ exports.AdaptableStatusBar = (props) => {
42
42
  return (React.createElement(StatusBarPanel_1.StatusBarPanel, Object.assign({ "data-name": subPanel }, statusBarPanelProps, { tooltip: moduleInfo.FriendlyName, onAction: onAction, icon: (_f = statusBarPanelProps.icon) !== null && _f !== void 0 ? _f : moduleInfo.Glyph, key: subPanel })));
43
43
  })));
44
44
  };
45
+ exports.AdaptableStatusBar = AdaptableStatusBar;
@@ -13,7 +13,7 @@ const AdaptablePopover_1 = require("../AdaptablePopover");
13
13
  * - action
14
14
  * - icon
15
15
  */
16
- exports.StatusBarPanel = (props) => {
16
+ const StatusBarPanel = (props) => {
17
17
  var _a;
18
18
  const { icon, content, popover, popoverMinWidth, view, onAction, extraActions, triggerActionOnWrapperClick = true, tooltip } = props, flexProps = tslib_1.__rest(props, ["icon", "content", "popover", "popoverMinWidth", "view", "onAction", "extraActions", "triggerActionOnWrapperClick", "tooltip"]);
19
19
  const handleAction = () => onAction();
@@ -44,3 +44,4 @@ exports.StatusBarPanel = (props) => {
44
44
  popover ? (React.createElement(AdaptablePopover_1.AdaptablePopover, { tooltipText: tooltip, showIcon: false, bodyText: [popoverContent], MessageType: 'Info', showEvent: 'focus', hideEvent: "blur", popoverMinWidth: popoverMinWidth }, preparedContent)) : (preparedContent),
45
45
  ArrayExtensions_1.default.IsNotNullOrEmpty(extraActions) && (React.createElement(rebass_1.Box, { ml: 1 }, (_a = extraActions === null || extraActions === void 0 ? void 0 : extraActions.map) === null || _a === void 0 ? void 0 : _a.call(extraActions, (action, index) => React.createElement(action, { key: index }))))));
46
46
  };
47
+ exports.StatusBarPanel = StatusBarPanel;
@@ -10,7 +10,7 @@ const Types_1 = require("../../PredefinedConfig/Common/Types");
10
10
  const StatusBarRedux_1 = require("../../Redux/ActionsReducers/StatusBarRedux");
11
11
  const AdaptableContext_1 = require("../AdaptableContext");
12
12
  const PopupPanel_1 = require("../Components/Popups/AdaptablePopup/PopupPanel");
13
- exports.StatusBarPopup = (props) => {
13
+ const StatusBarPopup = (props) => {
14
14
  const statusPanels = react_redux_1.useSelector(StatusBarRedux_1.getStatusPanelsSelector);
15
15
  const adaptable = AdaptableContext_1.useAdaptable();
16
16
  const tabs = React.useMemo(() => statusPanels.map((statusPanel) => {
@@ -24,7 +24,7 @@ exports.StatusBarPopup = (props) => {
24
24
  const statusPanel = statusPanels.find((sp) => sp.Key === tab.Name);
25
25
  return Object.assign(Object.assign({}, statusPanel), { StatusBarPanels: tab.Items });
26
26
  });
27
- adaptable.api.statusBarApi.setStatusPanels(newStatusPanels);
27
+ adaptable.api.statusBarApi.setStatusBarPanels(newStatusPanels);
28
28
  }, [statusPanels]);
29
29
  const availableItems = Types_1.ALL_STATUS_SUB_PANELS.filter((panel) => {
30
30
  const module = adaptable.ModuleService.getModuleById(panel);
@@ -34,10 +34,11 @@ exports.StatusBarPopup = (props) => {
34
34
  return { Id: panel, Title: module.moduleInfo.FriendlyName };
35
35
  });
36
36
  const disabled = props.accessLevel === 'ReadOnly';
37
- return (React.createElement(PopupPanel_1.PopupPanel, { headerText: props.moduleInfo.FriendlyName, glyphicon: props.moduleInfo.Glyph }, statusPanels.length ? (React.createElement(ModuleManager_1.ModuleManager, { permittedActions: {
37
+ return (React.createElement(PopupPanel_1.PopupPanel, { headerText: props.moduleInfo.FriendlyName, glyphicon: props.moduleInfo.Glyph, infoLink: props.moduleInfo.HelpPage, infoLinkDisabled: !props.api.internalApi.isDocumentationLinksDisplayed() }, statusPanels.length ? (React.createElement(ModuleManager_1.ModuleManager, { permittedActions: {
38
38
  createTab: false,
39
39
  dragAndDropTab: false,
40
40
  deleteTab: false,
41
41
  editTabName: false,
42
- }, onTabsChange: handleTabChange, disabled: disabled, tabs: tabs, availableItems: availableItems, tabsTitle: 'Status Bar Panels', unusedPanelTitle: "Available Status Panels" })) : (React.createElement(EmptyContent_1.default, null, "To enable this feature add to Grid Options statusPanels the Adaptable Status Panel."))));
42
+ }, onTabsChange: handleTabChange, disabled: disabled, tabs: tabs, availableItems: availableItems, tabsTitle: 'Status Bar Panels', unusedPanelTitle: "Available Status Panels", dragItemText: "Drag into a Status Bar Panel below" })) : (React.createElement(EmptyContent_1.default, null, "To enable this feature add to Grid Options statusPanels the Adaptable Status Panel."))));
43
43
  };
44
+ exports.StatusBarPopup = StatusBarPopup;
@@ -6,10 +6,11 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const rebass_1 = require("rebass");
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
8
  const getStatusItemStyle_1 = require("./Utilities/getStatusItemStyle");
9
- exports.SystemStatusStatusBarContent = () => {
9
+ const SystemStatusStatusBarContent = () => {
10
10
  const adaptable = AdaptableContext_1.useAdaptable();
11
11
  const currentSystemStatusMessageInfo = adaptable.api.systemStatusApi.getCurrentSystemStatusMessageInfo();
12
12
  const { color, background } = getStatusItemStyle_1.getStatusItemStyle(currentSystemStatusMessageInfo);
13
13
  const message = currentSystemStatusMessageInfo === null || currentSystemStatusMessageInfo === void 0 ? void 0 : currentSystemStatusMessageInfo.statusMessage;
14
14
  return (React.createElement(rebass_1.Box, { style: { borderRadius: 'var(--ab__border-radius)' }, padding: 1, color: message && color, backgroundColor: message && background }, message || '0 Messages'));
15
15
  };
16
+ exports.SystemStatusStatusBarContent = SystemStatusStatusBarContent;
@@ -8,5 +8,5 @@ declare class SystemStatusViewPanelComponent extends React.Component<SystemStatu
8
8
  constructor(props: SystemStatusViewPanelComponentProps);
9
9
  render(): JSX.Element;
10
10
  }
11
- export declare let SystemStatusViewPanel: import("react-redux").ConnectedComponent<typeof SystemStatusViewPanelComponent, Pick<React.ClassAttributes<SystemStatusViewPanelComponent> & SystemStatusViewPanelComponentProps, "ref" | "key">>;
11
+ export declare let SystemStatusViewPanel: import("react-redux").ConnectedComponent<typeof SystemStatusViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<SystemStatusViewPanelComponent> & SystemStatusViewPanelComponentProps, "api" | "accessLevel" | "moduleInfo" | "SystemStatusMessageInfos" | "viewType">>;
12
12
  export {};
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getStatusItemStyle = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const UIHelper_1 = tslib_1.__importDefault(require("../../UIHelper"));
6
- exports.getStatusItemStyle = (systemStatusMessageInfo) => {
6
+ const getStatusItemStyle = (systemStatusMessageInfo) => {
7
7
  var _a;
8
8
  const background = UIHelper_1.default.getColorByMessageType((_a = systemStatusMessageInfo === null || systemStatusMessageInfo === void 0 ? void 0 : systemStatusMessageInfo.statusType) !== null && _a !== void 0 ? _a : 'Success');
9
9
  const color = systemStatusMessageInfo
@@ -14,3 +14,4 @@ exports.getStatusItemStyle = (systemStatusMessageInfo) => {
14
14
  color,
15
15
  };
16
16
  };
17
+ exports.getStatusItemStyle = getStatusItemStyle;