@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
@@ -7,7 +7,7 @@ const react_1 = require("react");
7
7
  const PanelDashboard_1 = require("../Components/Panels/PanelDashboard");
8
8
  const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
9
9
  const AdaptableContext_1 = require("../AdaptableContext");
10
- exports.CustomToolbarWrapper = (props) => {
10
+ const CustomToolbarWrapper = (props) => {
11
11
  let contentsDivId = 'ab-CustomToolbar__' + props.customToolbar.name + '__contents';
12
12
  let buttonsDivId = 'ab-CustomToolbar__' + props.customToolbar.name + '__buttons';
13
13
  const [contentsHTML, setContentsHTML] = react_1.useState('');
@@ -97,3 +97,4 @@ exports.CustomToolbarWrapper = (props) => {
97
97
  buttonLabel));
98
98
  }))));
99
99
  };
100
+ exports.CustomToolbarWrapper = CustomToolbarWrapper;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import * as Redux from 'redux';
3
3
  import { ModuleViewPopupProps } from '../Components/SharedProps/ModuleViewPopupProps';
4
- import { DashboardState, AdaptableCoordinate } from '../../PredefinedConfig/DashboardState';
4
+ import { AdaptableCoordinate, DashboardState } from '../../PredefinedConfig/DashboardState';
5
5
  import { GridState } from '../../PredefinedConfig/GridState';
6
6
  import * as DashboardRedux from '../../Redux/ActionsReducers/DashboardRedux';
7
7
  import * as PopupRedux from '../../Redux/ActionsReducers/PopupRedux';
@@ -6,6 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const react_redux_1 = require("react-redux");
7
7
  const AdaptableViewFactory_1 = require("../AdaptableViewFactory");
8
8
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
9
+ const ModuleConstants_1 = require("../../Utilities/Constants/ModuleConstants");
9
10
  const DashboardRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/DashboardRedux"));
10
11
  const PopupRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PopupRedux"));
11
12
  const QuickSearchRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/QuickSearchRedux"));
@@ -19,9 +20,8 @@ const useQuickSearchDebounced_1 = require("../QuickSearch/useQuickSearchDebounce
19
20
  const UIHelper_1 = tslib_1.__importDefault(require("../UIHelper"));
20
21
  const ModuleToolbarWrapper_1 = require("./ModuleToolbarWrapper");
21
22
  const CustomToolbarWrapper_1 = require("./CustomToolbarWrapper");
22
- const ModuleConstants_1 = require("../../Utilities/Constants/ModuleConstants");
23
- const ApplicationIcon_1 = require("../../components/ApplicationIcon");
24
23
  const CustomDashboardButton_1 = require("./CustomDashboardButton");
24
+ const AdaptableIconComponent_1 = require("../../components/AdaptableIconComponent");
25
25
  const DashboardComponent = (props) => {
26
26
  const [searchText, search] = useQuickSearchDebounced_1.useQuickSearchDebounced(props);
27
27
  const dashboardAccessLevel = props.api.internalApi
@@ -106,6 +106,7 @@ const DashboardComponent = (props) => {
106
106
  let dashboardOptions = props.api.internalApi.getAdaptableOptions().dashboardOptions;
107
107
  const shouldRenderQuickSearchHeader = dashboardOptions.showQuickSearchInHeader &&
108
108
  props.api.internalApi.getModuleService().getModuleById(ModuleConstants_1.QuickSearchModuleId).isModuleAvailable();
109
+ const applicationIcon = props.api.internalApi.getAdaptableOptions().userInterfaceOptions.applicationIcon;
109
110
  return props.DashboardState.IsHidden ? (React.createElement("div", null)) : (React.createElement(Dashboard_1.Dashboard, { title: instanceName, canFloat: props.api.internalApi.getAdaptableOptions().dashboardOptions.canFloat, activeTabIndex: props.DashboardState.ActiveTabIndex, onActiveTabIndexChange: (ActiveTabIndex) => {
110
111
  props.onSetActiveTabIndex(ActiveTabIndex);
111
112
  }, collapsed: props.DashboardState.IsCollapsed, onCollapsedChange: (IsCollapsed) => {
@@ -123,7 +124,7 @@ const DashboardComponent = (props) => {
123
124
  props.onSetFloatingPosition(FloatingPositionCallback);
124
125
  }
125
126
  }, left: React.createElement(React.Fragment, null,
126
- React.createElement(ApplicationIcon_1.ApplicationIcon, { className: "ab-Dashboard__application-icon", icon: props.api.internalApi.getAdaptableOptions().userInterfaceOptions.applicationIcon }),
127
+ React.createElement(AdaptableIconComponent_1.AdaptableIconComponent, { icon: applicationIcon, iconClassName: "ab-Dashboard__application-icon" }),
127
128
  dashboardOptions.buttonsLocation === 'left' && renderModuleButtons()), right: React.createElement(React.Fragment, null,
128
129
  renderDashboardButtons(),
129
130
  dashboardOptions.buttonsLocation === 'right' && renderModuleButtons(),
@@ -70,7 +70,7 @@ class DashboardPopupComponent extends React.Component {
70
70
  }
71
71
  return false;
72
72
  };
73
- return (React.createElement(PopupPanel_1.PopupPanel, { headerText: this.props.moduleInfo.FriendlyName, glyphicon: this.props.moduleInfo.Glyph },
73
+ return (React.createElement(PopupPanel_1.PopupPanel, { headerText: this.props.moduleInfo.FriendlyName, glyphicon: this.props.moduleInfo.Glyph, infoLink: this.props.moduleInfo.HelpPage, infoLinkDisabled: !this.props.api.internalApi.isDocumentationLinksDisplayed() },
74
74
  React.createElement(rebass_1.Flex, { flex: 1, height: "100%", flexDirection: "column" },
75
75
  areDashboardSettingsVisible && (React.createElement(Panel_1.default, { header: 'Dashboard Views', style: { height: 'auto', overflow: 'visible' }, variant: "default", borderRadius: "none", marginLeft: 2, marginRight: 2 },
76
76
  React.createElement(rebass_1.Flex, null,
@@ -7,7 +7,7 @@ const PanelDashboard_1 = require("../Components/Panels/PanelDashboard");
7
7
  const PopupRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PopupRedux"));
8
8
  const DashboardRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/DashboardRedux"));
9
9
  const AdaptableContext_1 = require("../AdaptableContext");
10
- exports.ModuleToolbarWrapper = (props) => {
10
+ const ModuleToolbarWrapper = (props) => {
11
11
  const moduleName = props.moduleInfo.ModuleName;
12
12
  const moduleFriendlyName = props.moduleInfo.FriendlyName;
13
13
  const { api } = AdaptableContext_1.useAdaptable();
@@ -20,3 +20,4 @@ exports.ModuleToolbarWrapper = (props) => {
20
20
  api.internalApi.dispatchReduxAction(PopupRedux.PopupShowScreen(moduleName, props.moduleInfo.Popup, popupParams));
21
21
  }, onClose: () => api.internalApi.dispatchReduxAction(DashboardRedux.DashboardCloseToolbar(moduleName)), accessLevel: props.accessLevel }, props.children));
22
22
  };
23
+ exports.ModuleToolbarWrapper = ModuleToolbarWrapper;
@@ -1,5 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChangedInfo';
3
+ export interface DataChangeHistoryData {
4
+ primaryKey: string;
5
+ changeKey: string;
6
+ changeTriggerLabel: string;
7
+ changedColumnLabel: string;
8
+ changeInfo: CellDataChangedInfo;
9
+ }
3
10
  export interface DataChangeHistoryGridProps {
4
11
  adaptableContainerId: string;
5
12
  agGridContainerId: string;
@@ -9,7 +9,7 @@ const react_1 = require("react");
9
9
  const usePrevious_1 = tslib_1.__importDefault(require("../../components/utils/usePrevious"));
10
10
  const ModuleConstants_1 = require("../../Utilities/Constants/ModuleConstants");
11
11
  const buildActionColumnButton_1 = require("./buildActionColumnButton");
12
- exports.DataChangeHistoryGrid = (props) => {
12
+ const DataChangeHistoryGrid = (props) => {
13
13
  const { changeHistoryLog, adaptableContainerId, agGridContainerId, onUndoChange } = props;
14
14
  const mainAdaptableInstance = AdaptableContext_1.useAdaptable();
15
15
  const [_adaptableApi, setAdaptableApi] = react_1.useState(null);
@@ -72,13 +72,14 @@ exports.DataChangeHistoryGrid = (props) => {
72
72
  }, [changeHistoryLog]);
73
73
  return React.createElement(React.Fragment, null);
74
74
  };
75
+ exports.DataChangeHistoryGrid = DataChangeHistoryGrid;
75
76
  const buildAdaptableOptions = (mainAdaptableInstance, gridOptions, adaptableContainerId, agGridContainerId, undoChangeEnabled, onUndoChange) => {
76
77
  var _a, _b, _c;
77
78
  const mainAdaptableOptions = mainAdaptableInstance.adaptableOptions;
78
79
  const mainAdaptableTheme = mainAdaptableInstance.api.themeApi.getCurrentTheme();
79
80
  const undoRowNode = (rowNode) => {
80
- var _a;
81
- const changeKey = (_a = rowNode === null || rowNode === void 0 ? void 0 : rowNode.data) === null || _a === void 0 ? void 0 : _a['changeKey'];
81
+ const rowData = rowNode === null || rowNode === void 0 ? void 0 : rowNode.data;
82
+ const changeKey = rowData === null || rowData === void 0 ? void 0 : rowData['changeKey'];
82
83
  changeKey && onUndoChange(changeKey);
83
84
  };
84
85
  const actionColumnButton = buildActionColumnButton_1.buildActionColumnButton((_a = mainAdaptableInstance.adaptableOptions) === null || _a === void 0 ? void 0 : _a.dataChangeHistoryOptions, undoRowNode);
@@ -113,9 +114,7 @@ const buildAdaptableOptions = (mainAdaptableInstance, gridOptions, adaptableCont
113
114
  layoutOptions: {
114
115
  createDefaultLayout: false,
115
116
  },
116
- userInterfaceOptions: {
117
- actionOptions: actionOptions,
118
- },
117
+ actionOptions: actionOptions,
119
118
  predefinedConfig: {
120
119
  Layout: {
121
120
  Revision: Date.now(),
@@ -201,6 +200,7 @@ const buildGridOptions = (mainAdaptableInstance, changeHistoryLog) => {
201
200
  },
202
201
  autoGroupColumnDef: {
203
202
  sortable: true,
203
+ // suppressMenu: true,
204
204
  },
205
205
  columnDefs: [
206
206
  {
@@ -4,6 +4,7 @@ exports.DataChangeHistoryStatusBarContent = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const DataChangeHistoryViewPanel_1 = require("./DataChangeHistoryViewPanel");
7
- exports.DataChangeHistoryStatusBarContent = () => {
7
+ const DataChangeHistoryStatusBarContent = () => {
8
8
  return React.createElement(DataChangeHistoryViewPanel_1.DataChangeHistoryViewPanelControl, { gap: 0, buttonsPaddingY: 0 });
9
9
  };
10
+ exports.DataChangeHistoryStatusBarContent = DataChangeHistoryStatusBarContent;
@@ -12,7 +12,7 @@ const ButtonStop_1 = require("../Components/Buttons/ButtonStop");
12
12
  const FormatHelper_1 = require("../../Utilities/Helpers/FormatHelper");
13
13
  const Tooltip_1 = tslib_1.__importDefault(require("../../components/Tooltip"));
14
14
  const AdaptableContext_1 = require("../AdaptableContext");
15
- exports.DataChangeHistoryViewPanelControl = (props) => {
15
+ const DataChangeHistoryViewPanelControl = (props) => {
16
16
  var _a, _b;
17
17
  const adaptable = AdaptableContext_1.useAdaptable();
18
18
  const dispatch = react_redux_1.useDispatch();
@@ -46,3 +46,4 @@ exports.DataChangeHistoryViewPanelControl = (props) => {
46
46
  buttonPanel,
47
47
  statusPanel));
48
48
  };
49
+ exports.DataChangeHistoryViewPanelControl = DataChangeHistoryViewPanelControl;
@@ -1,3 +1,3 @@
1
1
  import { RowNode } from '@ag-grid-community/all-modules';
2
- import { ActionColumnButtonContext, AdaptableButton, DataChangeHistoryOptions } from '../../types';
3
- export declare const buildActionColumnButton: (options: DataChangeHistoryOptions, undoRowNode: (rowNode: RowNode) => void) => AdaptableButton<ActionColumnButtonContext>[];
2
+ import { ActionColumnContext, AdaptableButton, DataChangeHistoryOptions } from '../../types';
3
+ export declare const buildActionColumnButton: (options: DataChangeHistoryOptions, undoRowNode: (rowNode: RowNode) => void) => AdaptableButton<ActionColumnContext>[];
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.buildActionColumnButton = void 0;
4
- exports.buildActionColumnButton = (options, undoRowNode) => {
5
- let actionColumnButtonsOptions = options.actionColumnButton;
6
- if (!actionColumnButtonsOptions ||
7
- (Array.isArray(actionColumnButtonsOptions) && actionColumnButtonsOptions.length === 0)) {
4
+ const buildActionColumnButton = (options, undoRowNode) => {
5
+ let changeHistoryButtons = options.changeHistoryButton;
6
+ if (!changeHistoryButtons ||
7
+ (Array.isArray(changeHistoryButtons) && changeHistoryButtons.length === 0)) {
8
8
  return null;
9
9
  }
10
- if (!Array.isArray(actionColumnButtonsOptions)) {
11
- actionColumnButtonsOptions = [actionColumnButtonsOptions];
10
+ if (!Array.isArray(changeHistoryButtons)) {
11
+ changeHistoryButtons = [changeHistoryButtons];
12
12
  }
13
13
  const isGroupNode = (context) => context.adaptableApi.gridApi.isGroupRowNode(context.rowNode);
14
14
  const onUndo = (context) => {
@@ -25,8 +25,11 @@ exports.buildActionColumnButton = (options, undoRowNode) => {
25
25
  undoRowNode(rowNode);
26
26
  }
27
27
  };
28
- const buildContext = (context) => (Object.assign(Object.assign({}, context), { isGroupNode: isGroupNode(context), undoDataChange: () => onUndo(context) }));
29
- return actionColumnButtonsOptions.map((actionColumnOption) => ({
28
+ const buildContext = (context) => {
29
+ const dataChangedInfo = context.rowNode.data.changeInfo;
30
+ return Object.assign(Object.assign({}, context), { isGroupNode: isGroupNode(context), undoDataChange: () => onUndo(context), dataChangedInfo });
31
+ };
32
+ return changeHistoryButtons.map((actionColumnOption) => ({
30
33
  label: (button, context) => {
31
34
  if (typeof actionColumnOption.label !== 'function') {
32
35
  return actionColumnOption.label;
@@ -52,7 +55,7 @@ exports.buildActionColumnButton = (options, undoRowNode) => {
52
55
  return actionColumnOption.disabled(button, buildContext(context));
53
56
  },
54
57
  onClick: (button, context) => {
55
- if (actionColumnOption.Action === 'undo') {
58
+ if (actionColumnOption.action === 'undo') {
56
59
  onUndo(buildContext(context));
57
60
  }
58
61
  if (typeof actionColumnOption.onClick === 'function') {
@@ -68,3 +71,4 @@ exports.buildActionColumnButton = (options, undoRowNode) => {
68
71
  icon: actionColumnOption.icon,
69
72
  }));
70
73
  };
74
+ exports.buildActionColumnButton = buildActionColumnButton;
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const Radio_1 = tslib_1.__importDefault(require("../../components/Radio"));
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
- exports.DataSetSelector = ({ data }) => {
8
+ const DataSetSelector = ({ data }) => {
9
9
  const adaptable = AdaptableContext_1.useAdaptable();
10
10
  const dataSets = adaptable.api.dataSetApi.getAllDataSets();
11
11
  const selectedDataSet = adaptable.api.dataSetApi.getCurrentDataSet();
@@ -16,3 +16,4 @@ exports.DataSetSelector = ({ data }) => {
16
16
  }, [isSelected]);
17
17
  return React.createElement(Radio_1.default, { id: data.name, disabled: isDisabled, checked: isSelected, onClick: handleToggle });
18
18
  };
19
+ exports.DataSetSelector = DataSetSelector;
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const SelectList_1 = require("../../components/SelectList");
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
- exports.DataSetStatusPanelPopover = () => {
8
+ const DataSetStatusPanelPopover = () => {
9
9
  const adaptable = AdaptableContext_1.useAdaptable();
10
10
  const dataSets = adaptable.api.dataSetApi.getAllDataSets();
11
11
  const handleDataSetChange = React.useCallback((option) => {
@@ -17,3 +17,4 @@ exports.DataSetStatusPanelPopover = () => {
17
17
  }));
18
18
  return React.createElement(SelectList_1.SelectList, { options: options, onChange: handleDataSetChange });
19
19
  };
20
+ exports.DataSetStatusPanelPopover = DataSetStatusPanelPopover;
@@ -15,5 +15,5 @@ declare class DataSetViewPanelComponent extends React.Component<DataSetViewPanel
15
15
  render(): JSX.Element;
16
16
  onSelectedDataSetChanged(dataSetName: string): void;
17
17
  }
18
- export declare let DataSetViewPanelControl: import("react-redux").ConnectedComponent<typeof DataSetViewPanelComponent, Pick<React.ClassAttributes<DataSetViewPanelComponent> & DataSetViewPanelComponentProps, "ref" | "key">>;
18
+ export declare let DataSetViewPanelControl: import("react-redux").ConnectedComponent<typeof DataSetViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<DataSetViewPanelComponent> & DataSetViewPanelComponentProps, "api" | "accessLevel" | "moduleInfo" | "viewType" | "CurrentDataSetName" | "onSelectDataSet">>;
19
19
  export {};
@@ -15,7 +15,7 @@ const dropdownStyle = {
15
15
  const isCustomDestination = (destination) => {
16
16
  return !!destination.name;
17
17
  };
18
- exports.ExportSelector = () => {
18
+ const ExportSelector = () => {
19
19
  const adaptable = AdaptableContext_1.useAdaptable();
20
20
  // reports
21
21
  const handleReportChange = (report) => {
@@ -73,3 +73,4 @@ exports.ExportSelector = () => {
73
73
  React.createElement(DropdownButton_1.default, { disabled: currentReportId === constants_1.SELECT_REPORT_STRING, style: dropdownStyle, items: destinationItems, columns: ['label'], onClear: () => handleDestinationChange(null), showClearButton: !!currentDestination, variant: "outlined", marginRight: 2 }, currentDestinationId),
74
74
  React.createElement(SimpleButton_1.default, { disabled: currentDestinationId === constants_1.SELECT_DESTINATION_STRING, iconSize: 15, icon: "export", variant: "text", onClick: handleExport })));
75
75
  };
76
+ exports.ExportSelector = ExportSelector;
@@ -25,5 +25,5 @@ declare class ExportViewPanelComponent extends React.Component<ExportViewPanelCo
25
25
  private isCustomDestination;
26
26
  private onNewReportSchedule;
27
27
  }
28
- export declare let ExportViewPanelControl: import("react-redux").ConnectedComponent<typeof ExportViewPanelComponent, Pick<React.ClassAttributes<ExportViewPanelComponent> & ExportViewPanelComponentProps, "ref" | "key">>;
28
+ export declare let ExportViewPanelControl: import("react-redux").ConnectedComponent<typeof ExportViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<ExportViewPanelComponent> & ExportViewPanelComponentProps, "api" | "accessLevel" | "CurrentReport" | "moduleInfo" | "Columns" | "viewType" | "onApplyExport" | "onSelectReport" | "onSelectDestination" | "onNewReport" | "onEditReport" | "onNewReportSchedule" | "Reports" | "CurrentDestination">>;
29
29
  export {};
@@ -10,7 +10,7 @@ const Enums_1 = require("../../PredefinedConfig/Common/Enums");
10
10
  const ExportRedux_1 = require("../../Redux/ActionsReducers/ExportRedux");
11
11
  const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
12
12
  const AdaptableContext_1 = require("../AdaptableContext");
13
- exports.ReportExportDropdown = (props) => {
13
+ const ReportExportDropdown = (props) => {
14
14
  const report = props.data;
15
15
  const adaptable = AdaptableContext_1.useAdaptable();
16
16
  const dispatch = react_redux_1.useDispatch();
@@ -35,3 +35,4 @@ exports.ReportExportDropdown = (props) => {
35
35
  return (React.createElement(DropdownButton_1.default, { columns: ['label'], tooltip: "Export Report", variant: "text", items: destinationItems },
36
36
  React.createElement(icons_1.Icon, { name: "export" })));
37
37
  };
38
+ exports.ReportExportDropdown = ReportExportDropdown;
@@ -14,9 +14,10 @@ const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/Obje
14
14
  const react_redux_1 = require("react-redux");
15
15
  const ExportRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/ExportRedux"));
16
16
  const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
17
- exports.NewReportWizard = (props) => {
17
+ const NewReportWizard = (props) => {
18
18
  var _a, _b;
19
- const isEdit = ((_a = props.popupParams) === null || _a === void 0 ? void 0 : _a.action) ? props.popupParams.action === 'Edit'
19
+ const isEdit = ((_a = props.popupParams) === null || _a === void 0 ? void 0 : _a.action)
20
+ ? props.popupParams.action === 'Edit'
20
21
  : Boolean(props.data);
21
22
  const currentReport = react_redux_1.useSelector((state) => {
22
23
  if (!isEdit) {
@@ -78,3 +79,4 @@ exports.NewReportWizard = (props) => {
78
79
  },
79
80
  ] }));
80
81
  };
82
+ exports.NewReportWizard = NewReportWizard;
@@ -8,13 +8,14 @@ const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
8
8
  const Tabs_1 = require("../../../components/Tabs");
9
9
  const NewScopeComponent_1 = require("../../Components/NewScopeComponent");
10
10
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
11
- exports.isValidReportColumnsScope = (report) => {
11
+ const isValidReportColumnsScope = (report) => {
12
12
  if (report.ReportColumnScope === 'ScopeColumns') {
13
13
  return report.Scope != null ? true : 'Column scope is not defined';
14
14
  }
15
15
  return true;
16
16
  };
17
- exports.renderReportColumnsSummary = (report) => {
17
+ exports.isValidReportColumnsScope = isValidReportColumnsScope;
18
+ const renderReportColumnsSummary = (report) => {
18
19
  return (React.createElement(rebass_1.Box, { fontSize: 2 },
19
20
  report.ReportColumnScope === 'AllColumns' ? (React.createElement(React.Fragment, null,
20
21
  "Include ",
@@ -30,8 +31,9 @@ exports.renderReportColumnsSummary = (report) => {
30
31
  scopeDataTypes: 'Report will include columns with the following types',
31
32
  }))) : null));
32
33
  };
33
- exports.ReportColumnsWizardSection = (props) => {
34
- const { api, data } = OnePageAdaptableWizard_1.useOnePageWizardContext();
34
+ exports.renderReportColumnsSummary = renderReportColumnsSummary;
35
+ const ReportColumnsWizardSection = (props) => {
36
+ const { api, data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
35
37
  return (React.createElement(rebass_1.Flex, { flexDirection: "column", style: { height: '100%' }, padding: 2 },
36
38
  React.createElement(Tabs_1.Tabs, { m: 2, value: data.ReportColumnScope, onValueChange: (ReportColumnScope) => {
37
39
  const report = Object.assign(Object.assign({}, data), { ReportColumnScope });
@@ -68,3 +70,4 @@ exports.ReportColumnsWizardSection = (props) => {
68
70
  props.onChange(report);
69
71
  } }))) : null));
70
72
  };
73
+ exports.ReportColumnsWizardSection = ReportColumnsWizardSection;
@@ -9,13 +9,14 @@ const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayou
9
9
  const Input_1 = tslib_1.__importDefault(require("../../../components/Input"));
10
10
  const Tag_1 = require("../../../components/Tag");
11
11
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
12
- exports.renderReportNameSummary = (report) => {
12
+ const renderReportNameSummary = (report) => {
13
13
  return (React.createElement(rebass_1.Box, { fontSize: 2 },
14
14
  ' ',
15
15
  "Report Name: ",
16
16
  React.createElement(Tag_1.Tag, null, report.Name)));
17
17
  };
18
- exports.isValidReportName = (report, api) => {
18
+ exports.renderReportNameSummary = renderReportNameSummary;
19
+ const isValidReportName = (report, api) => {
19
20
  if (!report.Name) {
20
21
  return 'Report name cannot be empty';
21
22
  }
@@ -27,8 +28,9 @@ exports.isValidReportName = (report, api) => {
27
28
  : reportsWithSameNameCount > 0;
28
29
  return hasAlreadyExistingName ? 'A Report already exists with that name' : true;
29
30
  };
30
- exports.ReportNameWizardSection = (props) => {
31
- const { api, data } = OnePageAdaptableWizard_1.useOnePageWizardContext();
31
+ exports.isValidReportName = isValidReportName;
32
+ const ReportNameWizardSection = (props) => {
33
+ const { api, data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
32
34
  const validCheck = exports.isValidReportName(data, api);
33
35
  const ErrorMessage = validCheck === true ? null : validCheck;
34
36
  return (React.createElement(React.Fragment, null,
@@ -43,3 +45,4 @@ exports.ReportNameWizardSection = (props) => {
43
45
  React.createElement(React.Fragment, null),
44
46
  ErrorMessage ? React.createElement(ErrorBox_1.default, null, ErrorMessage) : null)))));
45
47
  };
48
+ exports.ReportNameWizardSection = ReportNameWizardSection;
@@ -10,14 +10,15 @@ const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
10
10
  const Tabs_1 = require("../../../components/Tabs");
11
11
  const Tag_1 = require("../../../components/Tag");
12
12
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
13
- exports.isValidReportRowsQuery = (report) => {
13
+ const isValidReportRowsQuery = (report) => {
14
14
  var _a;
15
15
  if (report.ReportRowScope === 'ExpressionRows' && !((_a = report.Query) === null || _a === void 0 ? void 0 : _a.BooleanExpression)) {
16
16
  return 'Rows query cannot be empty';
17
17
  }
18
18
  return true;
19
19
  };
20
- exports.renderReportRowsSummary = (report) => {
20
+ exports.isValidReportRowsQuery = isValidReportRowsQuery;
21
+ const renderReportRowsSummary = (report) => {
21
22
  var _a;
22
23
  return (React.createElement(rebass_1.Box, { fontSize: 2 },
23
24
  report.ReportRowScope === 'AllRows' ? (React.createElement(React.Fragment, null,
@@ -32,9 +33,10 @@ exports.renderReportRowsSummary = (report) => {
32
33
  "Include Rows matching the query: ",
33
34
  React.createElement(Tag_1.Tag, null, (_a = report.Query) === null || _a === void 0 ? void 0 : _a.BooleanExpression))) : null));
34
35
  };
35
- exports.ReportRowsWizardSection = (props) => {
36
+ exports.renderReportRowsSummary = renderReportRowsSummary;
37
+ const ReportRowsWizardSection = (props) => {
36
38
  var _a, _b;
37
- const { api, data, moduleInfo } = OnePageAdaptableWizard_1.useOnePageWizardContext();
39
+ const { api, data, moduleInfo } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
38
40
  const initialData = react_1.useMemo(() => api.internalApi.getQueryPreviewData(), []);
39
41
  return (React.createElement(React.Fragment, null,
40
42
  React.createElement(Tabs_1.Tabs, { m: 2, value: data.ReportRowScope, onValueChange: (ReportRowScope) => {
@@ -69,3 +71,4 @@ exports.ReportRowsWizardSection = (props) => {
69
71
  } }));
70
72
  }, initialData: initialData, columns: api.columnApi.getQueryableColumns(), namedQueries: api.queryApi.getAllNamedQuery(), api: api })))));
71
73
  };
74
+ exports.ReportRowsWizardSection = ReportRowsWizardSection;
@@ -6,9 +6,10 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const AdaptableContext_1 = require("../AdaptableContext");
7
7
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
8
8
  const AdaptableObjectCompactList_1 = require("../Components/AdaptableObjectList/AdaptableObjectCompactList");
9
- exports.ActiveFiltersPanel = () => {
9
+ const ActiveFiltersPanel = () => {
10
10
  const adaptable = AdaptableContext_1.useAdaptable();
11
11
  const filterModule = adaptable.ModuleService.getModuleById(ModuleConstants.FilterModuleId);
12
12
  const columnFilters = adaptable.api.filterApi.getColumnFilters();
13
13
  return React.createElement(AdaptableObjectCompactList_1.AdaptableObjectCompactList, { abObjects: columnFilters, module: filterModule });
14
14
  };
15
+ exports.ActiveFiltersPanel = ActiveFiltersPanel;
@@ -4,6 +4,7 @@ exports.FilterStatusBarSubPanelPopover = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const ActiveFiltersPanel_1 = require("./ActiveFiltersPanel");
7
- exports.FilterStatusBarSubPanelPopover = () => {
7
+ const FilterStatusBarSubPanelPopover = () => {
8
8
  return React.createElement(ActiveFiltersPanel_1.ActiveFiltersPanel, null);
9
9
  };
10
+ exports.FilterStatusBarSubPanelPopover = FilterStatusBarSubPanelPopover;
@@ -12,4 +12,4 @@ export declare class FilterSummaryComponent extends React.Component<FilterSummar
12
12
  render(): any;
13
13
  getDescription(columnFilter: ColumnFilter): string;
14
14
  }
15
- export declare let FilterSummary: import("react-redux").ConnectedComponent<typeof FilterSummaryComponent, Pick<React.ClassAttributes<FilterSummaryComponent> & FilterSummaryProps, "ref" | "key" | "api" | "onSuspend" | "accessLevel" | "popupParams" | "teamSharingActivated" | "moduleInfo" | "onUnSuspend" | "summarisedColumn">>;
15
+ export declare let FilterSummary: import("react-redux").ConnectedComponent<typeof FilterSummaryComponent, import("react-redux").Omit<React.ClassAttributes<FilterSummaryComponent> & FilterSummaryProps, "onClearPopupParams" | "ColumnFilters" | "onShare" | "onClearFilter">>;
@@ -18,5 +18,5 @@ declare class FilterViewPanelComponent extends React.Component<FilterViewPanelCo
18
18
  private onClearFilters;
19
19
  private onClearColumnFilter;
20
20
  }
21
- export declare const FilterViewPanelControl: import("react-redux").ConnectedComponent<typeof FilterViewPanelComponent, Pick<React.ClassAttributes<FilterViewPanelComponent> & FilterViewPanelComponentProps, "ref" | "key">>;
21
+ export declare const FilterViewPanelControl: import("react-redux").ConnectedComponent<typeof FilterViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<FilterViewPanelComponent> & FilterViewPanelComponentProps, "api" | "accessLevel" | "IsQuickFilterVisible" | "moduleInfo" | "Columns" | "ColumnFilters" | "viewType" | "onHideQuickFilterBar" | "onShowQuickFilterBar" | "Entitlements">>;
22
22
  export {};
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
6
  const rebass_1 = require("rebass");
7
7
  const StylePreview_1 = require("../../components/StylePreview");
8
- exports.FlashingCellStyle = (props) => {
8
+ const FlashingCellStyle = (props) => {
9
9
  const { data } = props, boxProps = tslib_1.__rest(props, ["data"]);
10
10
  return (react_1.default.createElement(rebass_1.Flex, Object.assign({ flexDirection: "row" }, boxProps),
11
11
  react_1.default.createElement(StylePreview_1.StylePreview, { mr: 1, flex: 1, styleObject: props.data.UpChangeStyle },
@@ -18,3 +18,4 @@ exports.FlashingCellStyle = (props) => {
18
18
  "Neutral ",
19
19
  !props.data.NeutralChangeStyle ? ' - no style' : '')));
20
20
  };
21
+ exports.FlashingCellStyle = FlashingCellStyle;
@@ -6,9 +6,9 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
7
7
  const CodeBlock_1 = require("../../../components/CodeBlock");
8
8
  const EntityRulesEditor_1 = require("../../Components/EntityRulesEditor");
9
- exports.renderFlashingAlertRulesSummary = (flashingAlert) => {
9
+ const renderFlashingAlertRulesSummary = (flashingAlert) => {
10
10
  var _a;
11
- const { api: { flashingCellApi }, } = OnePageAdaptableWizard_1.useOnePageWizardContext();
11
+ const { api: { flashingCellApi }, } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
12
12
  const FlashTarget = (_a = flashingAlert.FlashTarget) !== null && _a !== void 0 ? _a : flashingCellApi.getFlashingCellFlashTarget(flashingAlert);
13
13
  return (React.createElement(EntityRulesEditor_1.EntityRulesSummary, { data: flashingAlert, renderPredicate: (content) => {
14
14
  return (React.createElement(React.Fragment, null,
@@ -27,8 +27,9 @@ exports.renderFlashingAlertRulesSummary = (flashingAlert) => {
27
27
  React.createElement(CodeBlock_1.CodeBlock, null, content))));
28
28
  } }));
29
29
  };
30
- exports.FlashingAlertRulesWizardSection = (props) => {
31
- const { data, api, moduleInfo } = OnePageAdaptableWizard_1.useOnePageWizardContext();
30
+ exports.renderFlashingAlertRulesSummary = renderFlashingAlertRulesSummary;
31
+ const FlashingAlertRulesWizardSection = (props) => {
32
+ const { data, api, moduleInfo } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
32
33
  const predicateDefs = api.flashingCellApi.getFlashingCellPredicateDefsForScope(data.Scope);
33
34
  return (React.createElement(EntityRulesEditor_1.EntityRulesEditor, { module: moduleInfo.ModuleName, defaultPredicateId: "Any", data: data, predicateDefs: predicateDefs, onChange: props.onChange, showAggregation: false, showObservable: false, showBoolean: true, showPredicate: true, descriptions: {
34
35
  selectPredicate: 'Select an Flashing Cell Rule - to be applied when data changes',
@@ -46,3 +47,4 @@ exports.FlashingAlertRulesWizardSection = (props) => {
46
47
  " is 'Whole Row' - so any data change may be evaluated in a complex AggregatedBooleanExpression")),
47
48
  } }));
48
49
  };
50
+ exports.FlashingAlertRulesWizardSection = FlashingAlertRulesWizardSection;
@@ -6,8 +6,8 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const rebass_1 = require("rebass");
7
7
  const NewScopeComponent_1 = require("../../Components/NewScopeComponent");
8
8
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
9
- exports.FlashingAlertScopeWizardSection = (props) => {
10
- const { data, api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
9
+ const FlashingAlertScopeWizardSection = (props) => {
10
+ const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
11
11
  return (React.createElement(rebass_1.Flex, { flexDirection: "column", style: { height: '100%' }, padding: 2 },
12
12
  React.createElement(NewScopeComponent_1.NewScopeComponent, { descriptions: {
13
13
  rowScope: 'Changes anywhere in the row will trigger an Flashing Cell',
@@ -24,3 +24,4 @@ exports.FlashingAlertScopeWizardSection = (props) => {
24
24
  props.onChange(newData);
25
25
  } })));
26
26
  };
27
+ exports.FlashingAlertScopeWizardSection = FlashingAlertScopeWizardSection;
@@ -13,7 +13,7 @@ const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
13
13
  const CodeBlock_1 = require("../../../components/CodeBlock");
14
14
  const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayout"));
15
15
  const CheckBox_1 = require("../../../components/CheckBox");
16
- exports.renderFlashingAlertSettingsSummary = (flashingAlert) => {
16
+ const renderFlashingAlertSettingsSummary = (flashingAlert) => {
17
17
  return (React.createElement(React.Fragment, null,
18
18
  React.createElement(rebass_1.Text, { fontSize: 2 }, flashingAlert.FlashDuration === 'always' ? (React.createElement(React.Fragment, null, "Flashing is never removed")) : (React.createElement(React.Fragment, null,
19
19
  "Flashing is removed after ",
@@ -21,9 +21,10 @@ exports.renderFlashingAlertSettingsSummary = (flashingAlert) => {
21
21
  ' ',
22
22
  "milliseconds")))));
23
23
  };
24
- exports.FlashingAlertSettingsWizardSection = (props) => {
24
+ exports.renderFlashingAlertSettingsSummary = renderFlashingAlertSettingsSummary;
25
+ const FlashingAlertSettingsWizardSection = (props) => {
25
26
  var _a, _b, _c, _d, _e, _f, _g;
26
- let { data: flashingCell } = OnePageAdaptableWizard_1.useOnePageWizardContext();
27
+ let { data: flashingCell } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
27
28
  flashingCell = flashingCell !== null && flashingCell !== void 0 ? flashingCell : props.flashingCell;
28
29
  const setDuration = (FlashDuration) => {
29
30
  props.onChange(Object.assign(Object.assign({}, flashingCell), { FlashDuration: FlashDuration }));
@@ -75,7 +76,11 @@ exports.FlashingAlertSettingsWizardSection = (props) => {
75
76
  React.createElement(rebass_1.Text, { fontSize: 2 }, "milliseconds"))),
76
77
  duration === 'always' && (React.createElement(rebass_1.Text, { height: 43, fontSize: 3 }, "Persists the flashing style indeterminately - can be removed manually"))),
77
78
  React.createElement(FormLayout_1.FormRow, { label: "Flash Target" },
78
- React.createElement(CheckBox_1.CheckBox, { onChange: (checked) => handleTargetChange('cell', checked), mr: 3, checked: (flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.FlashTarget) === 'cell' || ((_c = (_b = flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.FlashTarget) === null || _b === void 0 ? void 0 : _b.includes) === null || _c === void 0 ? void 0 : _c.call(_b, 'cell')), tabIndex: -1 }, "Cell"),
79
- React.createElement(CheckBox_1.CheckBox, { mr: 3, onChange: (checked) => handleTargetChange('row', checked), checked: (flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.FlashTarget) === 'row' || ((_e = (_d = flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.FlashTarget) === null || _d === void 0 ? void 0 : _d.includes) === null || _e === void 0 ? void 0 : _e.call(_d, 'row')), tabIndex: -1 }, "Row"),
80
- React.createElement(CheckBox_1.CheckBox, { onChange: (checked) => handleTargetChange('aggFuncCell', checked), checked: (flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.FlashTarget) === 'aggFuncCell' || ((_g = (_f = flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.FlashTarget) === null || _f === void 0 ? void 0 : _f.includes) === null || _g === void 0 ? void 0 : _g.call(_f, 'aggFuncCell')), tabIndex: -1 }, "Aggregated Function Cell")))))));
79
+ React.createElement(CheckBox_1.CheckBox, { onChange: (checked) => handleTargetChange('cell', checked), mr: 3, checked: (flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.FlashTarget) === 'cell' ||
80
+ ((_c = (_b = flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.FlashTarget) === null || _b === void 0 ? void 0 : _b.includes) === null || _c === void 0 ? void 0 : _c.call(_b, 'cell')), tabIndex: -1 }, "Cell"),
81
+ React.createElement(CheckBox_1.CheckBox, { mr: 3, onChange: (checked) => handleTargetChange('row', checked), checked: (flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.FlashTarget) === 'row' ||
82
+ ((_e = (_d = flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.FlashTarget) === null || _d === void 0 ? void 0 : _d.includes) === null || _e === void 0 ? void 0 : _e.call(_d, 'row')), tabIndex: -1 }, "Row"),
83
+ React.createElement(CheckBox_1.CheckBox, { onChange: (checked) => handleTargetChange('aggFuncCell', checked), checked: (flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.FlashTarget) === 'aggFuncCell' ||
84
+ ((_g = (_f = flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.FlashTarget) === null || _f === void 0 ? void 0 : _f.includes) === null || _g === void 0 ? void 0 : _g.call(_f, 'aggFuncCell')), tabIndex: -1 }, "Aggregated Function Cell")))))));
81
85
  };
86
+ exports.FlashingAlertSettingsWizardSection = FlashingAlertSettingsWizardSection;
@@ -9,9 +9,9 @@ const Tabs_1 = require("../../../components/Tabs");
9
9
  const StyleComponent_1 = require("../../Components/StyleComponent");
10
10
  const StylePreview_1 = require("../../../components/StylePreview");
11
11
  const changeStyle = (React.createElement(rebass_1.Text, { fontSize: 2, style: { display: 'inline-block' } }, "Change style"));
12
- exports.FlashingAlertStyleWizardSection = (props) => {
12
+ const FlashingAlertStyleWizardSection = (props) => {
13
13
  var _a, _b, _c;
14
- let { data: flashingAlert, api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
14
+ let { data: flashingAlert, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
15
15
  flashingAlert = flashingAlert !== null && flashingAlert !== void 0 ? flashingAlert : props.flashingAlert;
16
16
  return (React.createElement(React.Fragment, null,
17
17
  React.createElement(Tabs_1.Tabs, { defaultValue: "up" },
@@ -31,7 +31,8 @@ exports.FlashingAlertStyleWizardSection = (props) => {
31
31
  React.createElement(Tabs_1.Tabs.Content, { value: "neutral" },
32
32
  React.createElement(StyleComponent_1.StyleComponent, { headless: true, api: api, Style: (_c = flashingAlert.NeutralChangeStyle) !== null && _c !== void 0 ? _c : {}, UpdateStyle: (style) => props.onStyleChange('NeutralChangeStyle', style) })))));
33
33
  };
34
- exports.FlashingCellStyle = (props) => {
34
+ exports.FlashingAlertStyleWizardSection = FlashingAlertStyleWizardSection;
35
+ const FlashingCellStyle = (props) => {
35
36
  const { data } = props, boxProps = tslib_1.__rest(props, ["data"]);
36
37
  return (React.createElement(rebass_1.Box, Object.assign({}, boxProps),
37
38
  React.createElement(StylePreview_1.StylePreview, { styleObject: props.data.UpChangeStyle },
@@ -44,6 +45,8 @@ exports.FlashingCellStyle = (props) => {
44
45
  "Neutral change style ",
45
46
  !props.data.NeutralChangeStyle ? ' - no style' : '')));
46
47
  };
47
- exports.renderFlashingAlertStyleSummary = (flashingAlert) => {
48
+ exports.FlashingCellStyle = FlashingCellStyle;
49
+ const renderFlashingAlertStyleSummary = (flashingAlert) => {
48
50
  return React.createElement(exports.FlashingCellStyle, { data: flashingAlert });
49
51
  };
52
+ exports.renderFlashingAlertStyleSummary = renderFlashingAlertStyleSummary;