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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/base.css +26 -0
  2. package/bundle.cjs.js +102 -99
  3. package/index.css +34 -0
  4. package/package.json +2 -2
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableOptions/ActionOptions.d.ts +181 -1
  8. package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
  9. package/src/AdaptableOptions/ColumnOptions.d.ts +4 -0
  10. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +17 -2
  11. package/src/AdaptableOptions/EditOptions.d.ts +7 -80
  12. package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
  13. package/src/AdaptableOptions/LayoutOptions.d.ts +11 -6
  14. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +2 -0
  15. package/src/AdaptableOptions/StateOptions.d.ts +10 -0
  16. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -112
  17. package/src/Api/ActionApi.d.ts +24 -0
  18. package/src/Api/{Events/RowFormSubmitted.js → ActionApi.js} +0 -0
  19. package/src/Api/AdaptableApi.d.ts +5 -0
  20. package/src/Api/ConfigApi.d.ts +1 -1
  21. package/src/Api/EventApi.d.ts +9 -9
  22. package/src/Api/Events/ActionRowSubmitted.d.ts +58 -0
  23. package/src/Api/Events/ActionRowSubmitted.js +2 -0
  24. package/src/Api/GridApi.d.ts +0 -14
  25. package/src/Api/Implementation/ActionApiImpl.d.ts +8 -0
  26. package/src/Api/Implementation/ActionApiImpl.js +56 -0
  27. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  28. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  29. package/src/Api/Implementation/AlertApiImpl.d.ts +2 -4
  30. package/src/Api/Implementation/AlertApiImpl.js +2 -3
  31. package/src/Api/Implementation/ApiBase.d.ts +13 -1
  32. package/src/Api/Implementation/ApiBase.js +10 -0
  33. package/src/Api/Implementation/ColumnApiImpl.js +2 -2
  34. package/src/Api/Implementation/ConditionalStyleApiImpl.d.ts +2 -4
  35. package/src/Api/Implementation/ConditionalStyleApiImpl.js +2 -3
  36. package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
  37. package/src/Api/Implementation/CustomSortApiImpl.d.ts +2 -4
  38. package/src/Api/Implementation/CustomSortApiImpl.js +2 -3
  39. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +2 -4
  40. package/src/Api/Implementation/FlashingCellApiImpl.js +2 -3
  41. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +2 -4
  42. package/src/Api/Implementation/FormatColumnApiImpl.js +2 -3
  43. package/src/Api/Implementation/GridApiImpl.d.ts +0 -3
  44. package/src/Api/Implementation/GridApiImpl.js +0 -44
  45. package/src/Api/Implementation/InternalApiImpl.d.ts +1 -1
  46. package/src/Api/Implementation/InternalApiImpl.js +5 -4
  47. package/src/Api/Implementation/LayoutApiImpl.d.ts +0 -2
  48. package/src/Api/Implementation/LayoutApiImpl.js +0 -6
  49. package/src/Api/Implementation/PlusMinusApiImpl.d.ts +2 -4
  50. package/src/Api/Implementation/PlusMinusApiImpl.js +2 -3
  51. package/src/Api/Implementation/ScheduleApiImpl.d.ts +6 -16
  52. package/src/Api/Implementation/ScheduleApiImpl.js +10 -16
  53. package/src/Api/Implementation/ShortcutApiImpl.d.ts +2 -4
  54. package/src/Api/Implementation/ShortcutApiImpl.js +2 -3
  55. package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
  56. package/src/Api/Implementation/SmartEditApiImpl.js +2 -1
  57. package/src/Api/Implementation/StatusBarApiImpl.d.ts +4 -3
  58. package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
  59. package/src/Api/Implementation/TeamSharingApiImpl.js +2 -1
  60. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -2
  61. package/src/Api/Implementation/UserInterfaceApiImpl.js +0 -4
  62. package/src/Api/InternalApi.d.ts +1 -1
  63. package/src/Api/LayoutApi.d.ts +1 -6
  64. package/src/Api/SmartEditApi.d.ts +1 -1
  65. package/src/Api/StatusBarApi.d.ts +10 -3
  66. package/src/Api/UserInterfaceApi.d.ts +1 -5
  67. package/src/PredefinedConfig/Common/AdaptableAlert.js +4 -2
  68. package/src/PredefinedConfig/Common/AdaptableColumn.js +2 -1
  69. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +1 -1
  70. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +24 -18
  71. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -4
  72. package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -36
  73. package/src/PredefinedConfig/Common/AdaptableQuery.js +2 -1
  74. package/src/PredefinedConfig/Common/Menu.d.ts +3 -3
  75. package/src/PredefinedConfig/Common/Types.d.ts +1 -1
  76. package/src/PredefinedConfig/StatusBarState.d.ts +5 -2
  77. package/src/PredefinedConfig/Uuid.js +2 -1
  78. package/src/Redux/ActionsReducers/AlertRedux.js +16 -8
  79. package/src/Redux/ActionsReducers/ApplicationRedux.js +8 -4
  80. package/src/Redux/ActionsReducers/BulkUpdateRedux.js +6 -3
  81. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +10 -5
  82. package/src/Redux/ActionsReducers/CellSummaryRedux.js +2 -1
  83. package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +14 -7
  84. package/src/Redux/ActionsReducers/CustomSortRedux.js +14 -7
  85. package/src/Redux/ActionsReducers/DashboardRedux.js +24 -12
  86. package/src/Redux/ActionsReducers/ExportRedux.js +16 -8
  87. package/src/Redux/ActionsReducers/FlashingCellRedux.js +16 -8
  88. package/src/Redux/ActionsReducers/FormatColumnRedux.js +14 -7
  89. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +14 -7
  90. package/src/Redux/ActionsReducers/GridRedux.js +38 -19
  91. package/src/Redux/ActionsReducers/LayoutRedux.js +30 -15
  92. package/src/Redux/ActionsReducers/PluginsRedux.js +4 -2
  93. package/src/Redux/ActionsReducers/PlusMinusRedux.js +16 -8
  94. package/src/Redux/ActionsReducers/PopupRedux.js +37 -19
  95. package/src/Redux/ActionsReducers/QueryRedux.js +12 -6
  96. package/src/Redux/ActionsReducers/QuickSearchRedux.js +8 -4
  97. package/src/Redux/ActionsReducers/ScheduleRedux.js +58 -29
  98. package/src/Redux/ActionsReducers/ShortcutRedux.js +14 -7
  99. package/src/Redux/ActionsReducers/SmartEditRedux.js +6 -3
  100. package/src/Redux/ActionsReducers/StatusBarRedux.js +10 -5
  101. package/src/Redux/ActionsReducers/SystemRedux.js +103 -51
  102. package/src/Redux/ActionsReducers/SystemStatusRedux.js +4 -2
  103. package/src/Redux/ActionsReducers/TeamSharingRedux.js +22 -11
  104. package/src/Redux/ActionsReducers/ThemeRedux.js +10 -5
  105. package/src/Redux/ActionsReducers/ToolPanelRedux.js +16 -8
  106. package/src/Redux/DeadRedux.js +16 -8
  107. package/src/Redux/Store/AdaptableReduxMerger.js +2 -1
  108. package/src/Redux/Store/AdaptableStore.js +7 -2
  109. package/src/Strategy/AlertModule.d.ts +2 -18
  110. package/src/Strategy/AlertModule.js +2 -1
  111. package/src/Strategy/ConditionalStyleModule.d.ts +2 -10
  112. package/src/Strategy/DashboardModule.js +3 -1
  113. package/src/Strategy/DataChangeHistoryModule.d.ts +2 -8
  114. package/src/Strategy/DataSetModule.d.ts +2 -13
  115. package/src/Strategy/ExportModule.d.ts +2 -13
  116. package/src/Strategy/ExportModule.js +1 -1
  117. package/src/Strategy/FilterModule.d.ts +2 -14
  118. package/src/Strategy/FilterModule.js +1 -1
  119. package/src/Strategy/FlashingCellModule.d.ts +2 -9
  120. package/src/Strategy/GridInfoModule.js +6 -2
  121. package/src/Strategy/Interface/IModule.d.ts +2 -1
  122. package/src/Strategy/LayoutModule.d.ts +3 -17
  123. package/src/Strategy/LayoutModule.js +57 -4
  124. package/src/Strategy/PlusMinusModule.d.ts +2 -9
  125. package/src/Strategy/QuickSearchModule.d.ts +2 -7
  126. package/src/Strategy/ScheduleModule.d.ts +2 -13
  127. package/src/Strategy/ShortcutModule.d.ts +2 -9
  128. package/src/Strategy/StatusBarModule.js +2 -2
  129. package/src/Strategy/SystemStatusModule.d.ts +2 -7
  130. package/src/Strategy/ThemeModule.d.ts +2 -8
  131. package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +2 -1
  132. package/src/Strategy/Utilities/getAlertPreviewViewItems.js +2 -1
  133. package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +2 -1
  134. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +2 -1
  135. package/src/Strategy/Utilities/getExportColumnsViewItems.js +2 -1
  136. package/src/Strategy/Utilities/getExportRowsViewItems.js +2 -1
  137. package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
  138. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +2 -1
  139. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +2 -6
  140. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +2 -1
  141. package/src/Strategy/Utilities/getFlashingTargetViewItems.js +2 -1
  142. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +2 -1
  143. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +2 -1
  144. package/src/Strategy/Utilities/getObjectTagsViewItems.js +2 -1
  145. package/src/Strategy/Utilities/getRuleViewItems.js +2 -1
  146. package/src/Strategy/Utilities/getScopeViewItems.js +2 -1
  147. package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +2 -1
  148. package/src/Strategy/Utilities/getStyleViewItems.js +2 -1
  149. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
  150. package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
  151. package/src/Utilities/Constants/GeneralConstants.js +2 -1
  152. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +21 -13
  153. package/src/Utilities/ExpressionFunctions/dateUtils.js +2 -1
  154. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +20 -10
  155. package/src/Utilities/Extensions/TypeExtensions.d.ts +30 -0
  156. package/src/Utilities/Helpers/AdaptableHelper.d.ts +1 -3
  157. package/src/Utilities/Helpers/AdaptableHelper.js +6 -16
  158. package/src/Utilities/Helpers/DateHelper.d.ts +27 -0
  159. package/src/Utilities/Helpers/DateHelper.js +43 -6
  160. package/src/Utilities/Helpers/Helper.js +2 -1
  161. package/src/Utilities/Helpers/LoggingHelper.js +2 -1
  162. package/src/Utilities/Helpers/StyleHelper.js +8 -4
  163. package/src/Utilities/MenuItem.d.ts +4 -3
  164. package/src/Utilities/MenuItem.js +9 -3
  165. package/src/Utilities/ObjectFactory.js +1 -0
  166. package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -0
  167. package/src/Utilities/Services/Interface/IRowEditService.d.ts +3 -3
  168. package/src/Utilities/Services/MetamodelService.d.ts +7 -1
  169. package/src/Utilities/Services/MetamodelService.js +82 -6
  170. package/src/Utilities/Services/ModuleService.js +3 -1
  171. package/src/Utilities/Services/RowEditService.d.ts +6 -6
  172. package/src/Utilities/Services/RowEditService.js +24 -25
  173. package/src/Utilities/isAdaptableObject.js +2 -1
  174. package/src/Utilities/isMacLike.js +2 -1
  175. package/src/Utilities/license/decode.js +1 -1
  176. package/src/Utilities/reorder.js +2 -1
  177. package/src/Utilities/runIfNotResolvedIn.js +2 -1
  178. package/src/Utilities/waitForCondition.d.ts +1 -1
  179. package/src/Utilities/waitForCondition.js +2 -1
  180. package/src/View/AdaptableContext.js +2 -1
  181. package/src/View/AdaptableView.js +2 -1
  182. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +12 -9
  183. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +2 -1
  184. package/src/View/AdaptableWizardView/Utils.js +2 -1
  185. package/src/View/AdaptableWizardView/Wizard.js +4 -2
  186. package/src/View/AdaptableWizardView/helper.js +6 -3
  187. package/src/View/Alert/ActiveAlertsPanel.js +2 -1
  188. package/src/View/Alert/AlertEmptyView.js +2 -1
  189. package/src/View/Alert/AlertStatusSubPanel.js +2 -1
  190. package/src/View/Alert/Utilities/getAlertButtonStyle.js +2 -1
  191. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +4 -2
  192. package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -1
  193. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -3
  194. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -2
  195. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -1
  196. package/src/View/Alert/Wizard/AlertWizard.js +2 -1
  197. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -1
  198. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +4 -2
  199. package/src/View/Alert/Wizard/isValidAlertRules.js +2 -1
  200. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  201. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +2 -1
  202. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +6 -3
  203. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -3
  204. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -1
  205. package/src/View/CellSummary/CellSummaryPopover.js +2 -1
  206. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +2 -1
  207. package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -1
  208. package/src/View/ColorPicker.d.ts +5 -1
  209. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  210. package/src/View/Components/AdaptableDateInput/index.js +11 -11
  211. package/src/View/Components/AdaptableInput/index.d.ts +2 -2
  212. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -2
  213. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -2
  214. package/src/View/Components/Buttons/ButtonClone.js +2 -1
  215. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  216. package/src/View/Components/Buttons/ButtonEdit.js +2 -1
  217. package/src/View/Components/Buttons/ButtonNew.js +2 -1
  218. package/src/View/Components/ColumnSelector/index.js +2 -1
  219. package/src/View/Components/EntityRulesEditor/index.js +6 -3
  220. package/src/View/Components/ExpressionWizard.js +2 -1
  221. package/src/View/Components/ExternalRenderer.js +2 -1
  222. package/src/View/Components/FilterForm/FilterForm.js +2 -1
  223. package/src/View/Components/FilterForm/ListBoxFilterForm.js +2 -1
  224. package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
  225. package/src/View/Components/FilterForm/QuickFilterForm.js +5 -3
  226. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  227. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +2 -1
  228. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -2
  229. package/src/View/Components/ListBox/DualListBoxEditor.js +2 -1
  230. package/src/View/Components/ModuleValueSelector/index.js +2 -1
  231. package/src/View/Components/NewScopeComponent.js +6 -3
  232. package/src/View/Components/Panels/PanelFooter.js +2 -1
  233. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -429
  234. package/src/View/Components/Panels/PanelWithImage.js +2 -0
  235. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
  236. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +2 -1
  237. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +2 -1
  238. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -1
  239. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +2 -1
  240. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -5
  241. package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +2 -1
  242. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
  243. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +6 -5
  244. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -1
  245. package/src/View/Components/Popups/AdaptablePopupAlert.js +4 -4
  246. package/src/View/Components/Popups/AdaptablePopupPrompt.js +2 -1
  247. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +2 -1
  248. package/src/View/Components/Popups/AdaptableToaster.js +2 -1
  249. package/src/View/Components/Popups/FormPopups/FormPopups.js +4 -2
  250. package/src/View/Components/Popups/Utilities.js +8 -4
  251. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +2 -1
  252. package/src/View/Components/Selectors/ColumnSelector.js +2 -1
  253. package/src/View/Components/TagValueSelector/index.js +4 -2
  254. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
  255. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +5 -1
  256. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -1
  257. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  258. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
  259. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +2 -1
  260. package/src/View/Components/WizardSummaryPage.js +2 -1
  261. package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -1
  262. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +4 -2
  263. package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -1
  264. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +2 -1
  265. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +6 -3
  266. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +6 -3
  267. package/src/View/CustomSort/Wizard/CustomSortWizard.js +2 -1
  268. package/src/View/Dashboard/CustomDashboardButton.js +2 -1
  269. package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
  270. package/src/View/Dashboard/Dashboard.d.ts +1 -1
  271. package/src/View/Dashboard/Dashboard.js +4 -3
  272. package/src/View/Dashboard/DashboardPopup.js +1 -1
  273. package/src/View/Dashboard/ModuleToolbarWrapper.js +2 -1
  274. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +7 -0
  275. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +6 -6
  276. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +2 -1
  277. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +2 -1
  278. package/src/View/DataChangeHistory/buildActionColumnButton.js +13 -9
  279. package/src/View/DataSet/DataSetSelector.js +2 -1
  280. package/src/View/DataSet/DataSetStatusPanelPopover.js +2 -1
  281. package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
  282. package/src/View/Export/ExportSelector.js +2 -1
  283. package/src/View/Export/ExportViewPanel.d.ts +1 -1
  284. package/src/View/Export/ReportExportDropdown.js +2 -1
  285. package/src/View/Export/Wizard/NewReportWizard.js +4 -2
  286. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +6 -3
  287. package/src/View/Export/Wizard/ReportNameWizardSection.js +6 -3
  288. package/src/View/Export/Wizard/ReportRowsWizardSection.js +6 -3
  289. package/src/View/Filter/ActiveFiltersPanel.js +2 -1
  290. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +2 -1
  291. package/src/View/Filter/FilterSummary.d.ts +1 -1
  292. package/src/View/Filter/FilterViewPanel.d.ts +1 -1
  293. package/src/View/FlashingCell/FlashingCellStyle.js +2 -1
  294. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +4 -2
  295. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +2 -1
  296. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +10 -5
  297. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +6 -3
  298. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -1
  299. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +2 -1
  300. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +8 -4
  301. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +4 -2
  302. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -2
  303. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +4 -2
  304. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +6 -3
  305. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +2 -1
  306. package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -1
  307. package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -1
  308. package/src/View/GridInfo/GridInfoPopup.js +6 -4
  309. package/src/View/KeyHint.js +2 -1
  310. package/src/View/Layout/EditCurrentLayoutButton.js +2 -1
  311. package/src/View/Layout/LayoutCloneButton.js +2 -1
  312. package/src/View/Layout/LayoutEditorStandalonePopup.js +2 -1
  313. package/src/View/Layout/LayoutPopup.d.ts +1 -1
  314. package/src/View/Layout/LayoutRadioSelector.js +2 -1
  315. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +2 -1
  316. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  317. package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.js +2 -1
  318. package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +2 -1
  319. package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +2 -1
  320. package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +2 -1
  321. package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +2 -1
  322. package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -1
  323. package/src/View/Layout/Wizard/LayoutEditor/reducer.js +4 -2
  324. package/src/View/Layout/Wizard/LayoutEditor/utils.js +2 -1
  325. package/src/View/License/LicenseWatermark.js +1 -1
  326. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +2 -1
  327. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +6 -3
  328. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +2 -1
  329. package/src/View/Query/EditCurrentQueryButton.js +2 -1
  330. package/src/View/Query/ExpandedQueryPopup.js +2 -1
  331. package/src/View/Query/QueryViewPanel.d.ts +1 -1
  332. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +6 -3
  333. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +6 -3
  334. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +2 -1
  335. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
  336. package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -1
  337. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -1
  338. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +4 -2
  339. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +2 -1
  340. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +2 -1
  341. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +2 -1
  342. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -1
  343. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +2 -1
  344. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +4 -2
  345. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +2 -1
  346. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +2 -1
  347. package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -1
  348. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +2 -1
  349. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -3
  350. package/src/View/Shortcut/Wizard/ShortcutWizard.js +2 -1
  351. package/src/View/SpecialColumnSettingsWizardStep.js +2 -1
  352. package/src/View/StateManagement/StateManagementPopup.js +2 -1
  353. package/src/View/StateManagement/StateManagementViewPanel.js +2 -1
  354. package/src/View/StateManagement/components/ClearButton.js +2 -1
  355. package/src/View/StateManagement/components/ExportDropdown.js +2 -1
  356. package/src/View/StateManagement/components/LoadButton.js +2 -1
  357. package/src/View/StateManagement/handleExportState.js +2 -1
  358. package/src/View/StatusBar/AdaptableStatusBar.js +2 -1
  359. package/src/View/StatusBar/StatusBarPanel.js +2 -1
  360. package/src/View/StatusBar/StatusBarPopup.js +5 -4
  361. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -1
  362. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  363. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +2 -1
  364. package/src/View/Theme/ThemeStatusPanelPopover.js +2 -1
  365. package/src/View/UIHelper.d.ts +2 -0
  366. package/src/View/UIHelper.js +12 -11
  367. package/src/View/Wizard/AdaptableWizard.js +2 -1
  368. package/src/View/Wizard/ObjectTagsWizardSection.js +4 -2
  369. package/src/View/Wizard/OnePageAdaptableWizard.js +10 -5
  370. package/src/View/Wizard/OnePageWizards.js +8 -4
  371. package/src/View/Wizard/useKeyboardNavigation.js +2 -1
  372. package/src/View/renderWithAdaptableContext.js +2 -1
  373. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  374. package/src/agGrid/ActionColumnRenderer.js +1 -1
  375. package/src/agGrid/Adaptable.js +31 -28
  376. package/src/agGrid/CheckboxRenderer.js +2 -1
  377. package/src/agGrid/FilterWrapper.js +2 -1
  378. package/src/agGrid/FloatingFilterWrapper.js +2 -1
  379. package/src/agGrid/PercentBarRenderer.js +2 -1
  380. package/src/agGrid/agGridHelper.js +3 -1
  381. package/src/agGrid/agGridMenuHelper.js +13 -10
  382. package/src/agGrid/createAgStatusPanelComponent.js +2 -1
  383. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +8 -5
  384. package/src/components/AdaptableIconComponent/index.d.ts +10 -0
  385. package/src/components/AdaptableIconComponent/index.js +40 -0
  386. package/src/components/CheckBox/index.js +2 -1
  387. package/src/components/CodeBlock/index.js +2 -1
  388. package/src/components/Dashboard/DashboardManager.js +1 -1
  389. package/src/components/Datepicker/DatepickerContext.js +2 -1
  390. package/src/components/Datepicker/index.d.ts +1 -1
  391. package/src/components/DragAndDropContext/ModuleManager.d.ts +1 -0
  392. package/src/components/DragAndDropContext/ModuleManager.js +5 -4
  393. package/src/components/DragAndDropContext/UnusedPanel.d.ts +3 -2
  394. package/src/components/DragAndDropContext/UnusedPanel.js +14 -12
  395. package/src/components/EllipsisContainer/index.js +4 -2
  396. package/src/components/ExpressionEditor/EditorContext.js +2 -1
  397. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +2 -1
  398. package/src/components/ExpressionEditor/NamedQueryContext.js +3 -1
  399. package/src/components/FileDroppable/index.js +2 -1
  400. package/src/components/FormLayout/index.js +2 -1
  401. package/src/components/Input/index.d.ts +1 -1
  402. package/src/components/List/ListGroupItem/index.d.ts +2 -4
  403. package/src/components/Loader/Loader.js +4 -2
  404. package/src/components/Logo/index.js +2 -1
  405. package/src/components/Modal/Backdrop.js +2 -1
  406. package/src/components/Modal/index.js +2 -1
  407. package/src/components/OverlayTrigger/Overlay.js +2 -1
  408. package/src/components/OverlayTrigger/index.js +2 -1
  409. package/src/components/OverlayTrigger/utils.js +6 -3
  410. package/src/components/PopupWithFooter.d.ts +1 -1
  411. package/src/components/ProgressIndicator/ProgressIndicator.js +2 -1
  412. package/src/components/Radio/index.js +4 -2
  413. package/src/components/ResizeObserver/getResizeObserverObject.js +2 -1
  414. package/src/components/ResizeObserver/index.js +6 -3
  415. package/src/components/SelectList.js +2 -1
  416. package/src/components/SelectableList/index.js +2 -1
  417. package/src/components/SimpleButton/index.d.ts +2 -1
  418. package/src/components/SimpleButton/index.js +19 -6
  419. package/src/components/StylePreview.js +2 -1
  420. package/src/components/Tabs/index.js +6 -3
  421. package/src/components/Textarea/index.d.ts +5 -1
  422. package/src/components/ToggleButton/index.js +2 -1
  423. package/src/components/WindowModal/WindowModal.js +2 -1
  424. package/src/components/WindowModal/useStacking.js +2 -1
  425. package/src/components/icons/DefaultIcon.js +2 -1
  426. package/src/components/icons/index.d.ts +3 -1
  427. package/src/components/icons/index.js +10 -2
  428. package/src/components/utils/useContainerScrollObserver/index.js +2 -1
  429. package/src/components/utils/useGlobalEvent.js +2 -1
  430. package/src/components/utils/useLatest.js +2 -1
  431. package/src/components/utils/useRerender.js +2 -1
  432. package/src/components/utils/uuid.js +2 -1
  433. package/src/metamodel/adaptable-metamodel-model.d.ts +1 -1
  434. package/src/metamodel/adaptable.metamodel.d.ts +219 -112
  435. package/src/metamodel/adaptable.metamodel.js +1 -12958
  436. package/src/types.d.ts +8 -5
  437. package/version.d.ts +1 -1
  438. package/version.js +1 -1
  439. package/src/Api/Events/RowFormSubmitted.d.ts +0 -34
  440. package/src/components/ApplicationIcon.d.ts +0 -6
  441. package/src/components/ApplicationIcon.js +0 -13
@@ -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,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,7 +31,8 @@ exports.renderReportColumnsSummary = (report) => {
30
31
  scopeDataTypes: 'Report will include columns with the following types',
31
32
  }))) : null));
32
33
  };
33
- exports.ReportColumnsWizardSection = (props) => {
34
+ exports.renderReportColumnsSummary = renderReportColumnsSummary;
35
+ const ReportColumnsWizardSection = (props) => {
34
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) => {
@@ -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,7 +28,8 @@ 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
+ exports.isValidReportName = isValidReportName;
32
+ const ReportNameWizardSection = (props) => {
31
33
  const { api, data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
32
34
  const validCheck = exports.isValidReportName(data, api);
33
35
  const ErrorMessage = validCheck === true ? null : validCheck;
@@ -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,7 +33,8 @@ 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
39
  const { api, data, moduleInfo } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
38
40
  const initialData = react_1.useMemo(() => api.internalApi.getQueryPreviewData(), []);
@@ -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,7 +6,7 @@ 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
11
  const { api: { flashingCellApi }, } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
12
12
  const FlashTarget = (_a = flashingAlert.FlashTarget) !== null && _a !== void 0 ? _a : flashingCellApi.getFlashingCellFlashTarget(flashingAlert);
@@ -27,7 +27,8 @@ exports.renderFlashingAlertRulesSummary = (flashingAlert) => {
27
27
  React.createElement(CodeBlock_1.CodeBlock, null, content))));
28
28
  } }));
29
29
  };
30
- exports.FlashingAlertRulesWizardSection = (props) => {
30
+ exports.renderFlashingAlertRulesSummary = renderFlashingAlertRulesSummary;
31
+ const FlashingAlertRulesWizardSection = (props) => {
31
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: {
@@ -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,7 +6,7 @@ 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) => {
9
+ const FlashingAlertScopeWizardSection = (props) => {
10
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: {
@@ -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,7 +21,8 @@ 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
27
  let { data: flashingCell } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
27
28
  flashingCell = flashingCell !== null && flashingCell !== void 0 ? flashingCell : props.flashingCell;
@@ -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,7 +9,7 @@ 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
14
  let { data: flashingAlert, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
15
15
  flashingAlert = flashingAlert !== null && flashingAlert !== void 0 ? flashingAlert : props.flashingAlert;
@@ -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;
@@ -19,7 +19,7 @@ const react_redux_1 = require("react-redux");
19
19
  const isValidFlashingCellRules_1 = require("./isValidFlashingCellRules");
20
20
  const FlashingCellRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/FlashingCellRedux"));
21
21
  const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
22
- exports.FlashingCellWizard = (props) => {
22
+ const FlashingCellWizard = (props) => {
23
23
  const { api } = AdaptableContext_1.useAdaptable();
24
24
  const [flashingCell, setFlashingCell] = react_1.useState(() => {
25
25
  let flashingCell = props.data
@@ -104,3 +104,4 @@ exports.FlashingCellWizard = (props) => {
104
104
  },
105
105
  ] }));
106
106
  };
107
+ exports.FlashingCellWizard = FlashingCellWizard;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isValidFlashingCellRules = void 0;
4
4
  const ModuleConstants_1 = require("../../../Utilities/Constants/ModuleConstants");
5
- exports.isValidFlashingCellRules = (flashingCell, api, context) => {
5
+ const isValidFlashingCellRules = (flashingCell, api, context) => {
6
6
  let valid = true;
7
7
  if (!flashingCell.Rule.Predicate && !flashingCell.Rule.BooleanExpression) {
8
8
  return 'No Rule defined for Flashing Cell';
@@ -28,3 +28,4 @@ exports.isValidFlashingCellRules = (flashingCell, api, context) => {
28
28
  }
29
29
  return true;
30
30
  };
31
+ exports.isValidFlashingCellRules = isValidFlashingCellRules;
@@ -77,7 +77,7 @@ const DateFormatPresets = [
77
77
  'yyyyMMdd',
78
78
  'HH:mm:ss',
79
79
  ];
80
- exports.getFormatColumnFormatSummaryValue = (data, formattedColumnApi) => {
80
+ const getFormatColumnFormatSummaryValue = (data, formattedColumnApi) => {
81
81
  let content = 'N/A';
82
82
  if (!data.DisplayFormat) {
83
83
  content = 'N/A';
@@ -95,6 +95,7 @@ exports.getFormatColumnFormatSummaryValue = (data, formattedColumnApi) => {
95
95
  }
96
96
  return content;
97
97
  };
98
+ exports.getFormatColumnFormatSummaryValue = getFormatColumnFormatSummaryValue;
98
99
  function splitArrayInTwo(arr) {
99
100
  const half = Math.floor(arr.length - 1 / 2);
100
101
  return [arr.slice(0, half), arr.slice(half)];
@@ -114,10 +115,11 @@ const renderCustomFormatter = (data, customFormatter, setFormatOption) => {
114
115
  setFormatOption('CustomDisplayFormats', newCustomFormats);
115
116
  } })));
116
117
  };
117
- exports.renderFormatColumnFormatSummary = (data, api) => {
118
+ const renderFormatColumnFormatSummary = (data, api) => {
118
119
  return React.createElement(Tag_1.Tag, null, exports.getFormatColumnFormatSummaryValue(data, api.formatColumnApi));
119
120
  };
120
- exports.getFormatDisplayTypeForScope = (scope, api) => {
121
+ exports.renderFormatColumnFormatSummary = renderFormatColumnFormatSummary;
122
+ const getFormatDisplayTypeForScope = (scope, api) => {
121
123
  if (scope == undefined) {
122
124
  return undefined;
123
125
  }
@@ -150,6 +152,7 @@ exports.getFormatDisplayTypeForScope = (scope, api) => {
150
152
  }
151
153
  return undefined;
152
154
  };
155
+ exports.getFormatDisplayTypeForScope = getFormatDisplayTypeForScope;
153
156
  const renderDateFormat = (data, _onChange, setFormatOption, customFormatters, formatColumnApi) => {
154
157
  if (data.DisplayFormat.Formatter !== 'DateFormatter') {
155
158
  return null;
@@ -353,7 +356,7 @@ const renderStringFormat = (data, _onChange, setFormatOption, customFormatters,
353
356
  },
354
357
  ] })))));
355
358
  };
356
- exports.FormatColumnFormatWizardSection = (props) => {
359
+ const FormatColumnFormatWizardSection = (props) => {
357
360
  var _a, _b, _c;
358
361
  const { data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
359
362
  const adaptable = AdaptableContext_1.useAdaptable();
@@ -384,3 +387,4 @@ exports.FormatColumnFormatWizardSection = (props) => {
384
387
  React.createElement("b", null, "all"),
385
388
  " the columns in Scope are Numeric, String or Date."));
386
389
  };
390
+ exports.FormatColumnFormatWizardSection = FormatColumnFormatWizardSection;
@@ -5,14 +5,15 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const NewScopeComponent_1 = require("../../Components/NewScopeComponent");
7
7
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
8
- exports.renderFormatColumnScopeSummary = (data) => {
8
+ const renderFormatColumnScopeSummary = (data) => {
9
9
  return NewScopeComponent_1.renderScopeSummary(data.Scope, {
10
10
  scopeWholeRow: 'Matching rows will be formatted',
11
11
  scopeColumns: 'Cells in selected columns will be formatted',
12
12
  scopeDataTypes: 'Cells in columns of the selected data-types will be formatted',
13
13
  });
14
14
  };
15
- exports.FormatColumnScopeWizardSection = (props) => {
15
+ exports.renderFormatColumnScopeSummary = renderFormatColumnScopeSummary;
16
+ const FormatColumnScopeWizardSection = (props) => {
16
17
  const { data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
17
18
  return (React.createElement(NewScopeComponent_1.NewScopeComponent, { descriptions: {
18
19
  rowScope: 'Apply a style to an entire row',
@@ -21,3 +22,4 @@ exports.FormatColumnScopeWizardSection = (props) => {
21
22
  props.onChange(Object.assign(Object.assign({}, data), { Scope }));
22
23
  } }));
23
24
  };
25
+ exports.FormatColumnScopeWizardSection = FormatColumnScopeWizardSection;
@@ -19,7 +19,7 @@ let alignmentOptions = [
19
19
  { value: 'Right', label: 'Right' },
20
20
  { value: 'Center', label: 'Center' },
21
21
  ];
22
- exports.renderFormatColumnSettingsSummary = (data) => {
22
+ const renderFormatColumnSettingsSummary = (data) => {
23
23
  var _a;
24
24
  return (React.createElement(rebass_1.Box, { padding: 2 },
25
25
  React.createElement(rebass_1.Text, null,
@@ -32,7 +32,8 @@ exports.renderFormatColumnSettingsSummary = (data) => {
32
32
  "Include grouped rows ",
33
33
  React.createElement(Tag_1.Tag, null, data.IncludeGroupedRows ? 'yes' : 'no'))));
34
34
  };
35
- exports.FormatColumnSettingsWizardSection = (props) => {
35
+ exports.renderFormatColumnSettingsSummary = renderFormatColumnSettingsSummary;
36
+ const FormatColumnSettingsWizardSection = (props) => {
36
37
  const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
37
38
  const onCellAlignmentSelectChanged = (CellAlignment) => {
38
39
  props.onChange(Object.assign(Object.assign({}, data), { CellAlignment }));
@@ -76,3 +77,4 @@ exports.FormatColumnSettingsWizardSection = (props) => {
76
77
  React.createElement(rebass_1.Flex, { alignItems: "center", marginLeft: 2 },
77
78
  React.createElement(CheckBox_1.CheckBox, { checked: data.IncludeGroupedRows, onChange: onIncludeGroupedRowsChanged, mr: 2 }))))))));
78
79
  };
80
+ exports.FormatColumnSettingsWizardSection = FormatColumnSettingsWizardSection;
@@ -16,7 +16,7 @@ const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayou
16
16
  const ColorPicker_1 = require("../../ColorPicker");
17
17
  const UIHelper_1 = tslib_1.__importStar(require("../../UIHelper"));
18
18
  const StyleVisualItem_1 = require("../../Components/StyleVisualItem");
19
- exports.isFormatColumnStyleValid = (data, api) => {
19
+ const isFormatColumnStyleValid = (data, api) => {
20
20
  var _a, _b, _c, _d, _e;
21
21
  if (!data.ColumnStyle &&
22
22
  data.Style &&
@@ -40,6 +40,7 @@ exports.isFormatColumnStyleValid = (data, api) => {
40
40
  }
41
41
  return true;
42
42
  };
43
+ exports.isFormatColumnStyleValid = isFormatColumnStyleValid;
43
44
  const toStyle = (style) => {
44
45
  return Object.assign(Object.assign({}, StyleHelper_1.convertAdaptableStyleToCSS(style !== null && style !== void 0 ? style : {})), { borderWidth: (style === null || style === void 0 ? void 0 : style.BorderColor) ? 2 : 0, borderStyle: 'solid' });
45
46
  };
@@ -75,7 +76,7 @@ const getColumnComparison = (columnComparison, api) => {
75
76
  ForeColor: columnComparison.Color,
76
77
  } })));
77
78
  };
78
- exports.renderFormatColumnStyleSummary = (data, api) => {
79
+ const renderFormatColumnStyleSummary = (data, api) => {
79
80
  if (data.ColumnStyle) {
80
81
  if (data.ColumnStyle.CheckBoxStyle) {
81
82
  return 'Checkbox Style';
@@ -103,6 +104,7 @@ exports.renderFormatColumnStyleSummary = (data, api) => {
103
104
  }
104
105
  return (React.createElement(rebass_1.Text, { padding: 2, style: toStyle(data.Style) }, "Preview result"));
105
106
  };
107
+ exports.renderFormatColumnStyleSummary = renderFormatColumnStyleSummary;
106
108
  function FormatColumnStyleWizardSection(props) {
107
109
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7;
108
110
  const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
@@ -23,7 +23,7 @@ const options = [
23
23
  { value: 'Date', label: 'Date' },
24
24
  { value: 'Boolean', label: 'Boolean' },
25
25
  ];
26
- exports.renderFreeTextColumnSummary = (data) => {
26
+ const renderFreeTextColumnSummary = (data) => {
27
27
  var _a;
28
28
  return (React.createElement(rebass_1.Box, { fontSize: 2 },
29
29
  React.createElement(rebass_1.Box, null,
@@ -42,7 +42,8 @@ exports.renderFreeTextColumnSummary = (data) => {
42
42
  "Editor Type: ",
43
43
  React.createElement(Tag_1.Tag, null, data.TextEditor))) : null));
44
44
  };
45
- exports.isValidFreeTextColumn = (data, api) => {
45
+ exports.renderFreeTextColumnSummary = renderFreeTextColumnSummary;
46
+ const isValidFreeTextColumn = (data, api) => {
46
47
  const columns = api.columnApi.getColumns();
47
48
  if (!data.ColumnId) {
48
49
  return 'Column Id cannot be empty';
@@ -57,7 +58,8 @@ exports.isValidFreeTextColumn = (data, api) => {
57
58
  }
58
59
  return true;
59
60
  };
60
- exports.FreeTextColumnSettingsWizardSection = (props) => {
61
+ exports.isValidFreeTextColumn = isValidFreeTextColumn;
62
+ const FreeTextColumnSettingsWizardSection = (props) => {
61
63
  const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
62
64
  const Pattern = api.internalApi.getAdaptableOptions().userInterfaceOptions.dateInputOptions.dateFormat;
63
65
  const [ColumnNameFocused, setColumnNameFocused] = react_1.useState(false);
@@ -133,3 +135,4 @@ exports.FreeTextColumnSettingsWizardSection = (props) => {
133
135
  React.createElement(rebass_1.Box, { mt: 2 },
134
136
  React.createElement(SpecialColumnSettingsWizardStep_1.SpecialColumnSettingsWizardStep, { isEditable: true, settings: data.FreeTextColumnSettings, onChange: handleSpecialColumnSettingsChange }))));
135
137
  };
138
+ exports.FreeTextColumnSettingsWizardSection = FreeTextColumnSettingsWizardSection;