@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
@@ -44,7 +44,7 @@ const PopupDialog = (props) => {
44
44
  const { style, className, onHide, children } = props, dialogProps = tslib_1.__rest(props, ["style", "className", "onHide", "children"]);
45
45
  return (React.createElement(Dialog_1.default, Object.assign({ fixed: false, style: props.style, padding: 0, height: '90vh', width: '90vw', className: className, onDismiss: onHide, isOpen: true, showCloseButton: true }, dialogProps), children));
46
46
  };
47
- exports.AdaptablePopupDialog = (props) => {
47
+ const AdaptablePopupDialog = (props) => {
48
48
  const { isActionModule, style, friendlyName, baseClassName, className, children, onHide, isWindowModal, modalContainer, } = props;
49
49
  const elementRef = React.useMemo(() => {
50
50
  if (!modalContainer) {
@@ -78,3 +78,4 @@ exports.AdaptablePopupDialog = (props) => {
78
78
  return (React.createElement(PopupDialog, { onHide: onHide, style: modalStyle, className: className }, children));
79
79
  }
80
80
  };
81
+ exports.AdaptablePopupDialog = AdaptablePopupDialog;
@@ -13,7 +13,7 @@ const PopupPanel_1 = require("./PopupPanel");
13
13
  const rebass_1 = require("rebass");
14
14
  const CheckBox_1 = require("../../../../components/CheckBox");
15
15
  const SystemRedux_1 = require("../../../../Redux/ActionsReducers/SystemRedux");
16
- exports.AdaptablePopupModuleView = (props) => {
16
+ const AdaptablePopupModuleView = (props) => {
17
17
  var _a, _b, _c, _d, _e;
18
18
  /**
19
19
  * This triggers an render for each redux change.
@@ -109,3 +109,4 @@ exports.AdaptablePopupModuleView = (props) => {
109
109
  (items === null || items === void 0 ? void 0 : items.length) ? (React.createElement(AdaptableObjectList_1.AdaptableObjectList, { module: props.module, items: items })) : (React.createElement(EmptyContent_1.default, null, emptyContent !== null && emptyContent !== void 0 ? emptyContent : `Click 'New' to create a new ${moduleInfo.FriendlyName}`)),
110
110
  isWizardOpen && EditWizard && (React.createElement(EditWizard, { abObjectType: abObjectType, moduleInfo: moduleInfo, data: null, popupParams: props.popupParams, configEntities: null, onCloseWizard: handleWizardClose, onFinishWizard: handleWizardClose }))));
111
111
  };
112
+ exports.AdaptablePopupModuleView = AdaptablePopupModuleView;
@@ -4,6 +4,7 @@ exports.CustomSettingsPanelView = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const ExternalRenderer_1 = require("../../ExternalRenderer");
7
- exports.CustomSettingsPanelView = (props) => {
7
+ const CustomSettingsPanelView = (props) => {
8
8
  return (React.createElement(ExternalRenderer_1.ExternalRenderer, { render: props.settingsPanel.render, componentName: props.settingsPanel.name, frameworkComponent: props.settingsPanel.frameworkComponent }));
9
9
  };
10
+ exports.CustomSettingsPanelView = CustomSettingsPanelView;
@@ -4,11 +4,10 @@ exports.Navigation = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const react_redux_1 = require("react-redux");
7
- const ApplicationIcon_1 = require("../../../../components/ApplicationIcon");
8
- const icons_1 = require("../../../../components/icons");
9
7
  const join_1 = tslib_1.__importDefault(require("../../../../components/utils/join"));
10
8
  const useGlobalEvent_1 = require("../../../../components/utils/useGlobalEvent");
11
- exports.Navigation = (props) => {
9
+ const AdaptableIconComponent_1 = require("../../../../components/AdaptableIconComponent");
10
+ const Navigation = (props) => {
12
11
  const dispatch = react_redux_1.useDispatch();
13
12
  const handleKeyPress = React.useCallback((event) => {
14
13
  if ((event.ctrlKey || event.metaKey) &&
@@ -48,8 +47,9 @@ exports.Navigation = (props) => {
48
47
  React.createElement("button", { type: "button", className: `${baseClassName}__Button`, onClick: () => {
49
48
  dispatch(menuItem.reduxAction);
50
49
  } },
51
- menuItem.icon && (React.createElement(icons_1.Icon, { className: `${baseClassName}__Icon`, name: menuItem.icon })),
52
- customIcon && React.createElement(ApplicationIcon_1.ApplicationIcon, { icon: customIcon }),
50
+ menuItem.icon && (React.createElement(AdaptableIconComponent_1.AdaptableIconComponent, { icon: menuItem.icon, iconClassName: `${baseClassName}__Icon` })),
51
+ customIcon && React.createElement(AdaptableIconComponent_1.AdaptableIconComponent, { icon: customIcon }),
53
52
  menuItem.label)));
54
53
  }))));
55
54
  };
55
+ exports.Navigation = Navigation;
@@ -6,7 +6,8 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const PopupContext = React.createContext({
7
7
  hidePopup: () => { },
8
8
  });
9
- exports.usePopupContext = () => {
9
+ const usePopupContext = () => {
10
10
  return React.useContext(PopupContext);
11
11
  };
12
+ exports.usePopupContext = usePopupContext;
12
13
  exports.default = PopupContext;
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const rebass_1 = require("rebass");
7
7
  const ButtonInfo_1 = require("../../Buttons/ButtonInfo");
8
8
  const Noop = () => React.createElement(React.Fragment, null);
9
- exports.PopupPanel = (props) => {
9
+ const PopupPanel = (props) => {
10
10
  const baseClassName = 'ab-Adaptable-Popup__Panel';
11
11
  return (React.createElement(rebass_1.Flex, { flexDirection: "column", flex: "1 1 0", className: baseClassName, width: "100%" },
12
12
  React.createElement("div", { className: `${baseClassName}__Header` },
@@ -20,3 +20,4 @@ exports.PopupPanel = (props) => {
20
20
  props.button),
21
21
  React.createElement(rebass_1.Box, { className: `${baseClassName}__Body`, width: "100%", height: "100%", flex: 1 }, props.children)));
22
22
  };
23
+ exports.PopupPanel = PopupPanel;
@@ -4,10 +4,10 @@ exports.TopBar = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const rebass_1 = require("rebass");
7
- const ApplicationIcon_1 = require("../../../../components/ApplicationIcon");
8
7
  const icons_1 = require("../../../../components/icons");
9
8
  const AdaptableContext_1 = require("../../../AdaptableContext");
10
- exports.TopBar = (props) => {
9
+ const AdaptableIconComponent_1 = require("../../../../components/AdaptableIconComponent");
10
+ const TopBar = (props) => {
11
11
  var _a;
12
12
  const baseClassName = 'ab-Adaptable-Popup__TopBar';
13
13
  const adaptable = AdaptableContext_1.useAdaptable();
@@ -18,13 +18,14 @@ exports.TopBar = (props) => {
18
18
  icon = React.createElement(icons_1.Icon, { className: iconClassName, name: "settings" });
19
19
  }
20
20
  else if (props.icon === 'ApplicationIcon' && applicationIcon) {
21
- icon = React.createElement(ApplicationIcon_1.ApplicationIcon, { className: iconClassName, icon: applicationIcon });
21
+ icon = React.createElement(AdaptableIconComponent_1.AdaptableIconComponent, { icon: applicationIcon, iconClassName: iconClassName });
22
22
  }
23
- else if (typeof props.icon === 'object' && props.icon.src) {
24
- icon = React.createElement(ApplicationIcon_1.ApplicationIcon, { className: iconClassName, icon: props.icon });
23
+ else if (typeof props.icon === 'object') {
24
+ icon = React.createElement(AdaptableIconComponent_1.AdaptableIconComponent, { icon: props.icon, iconClassName: iconClassName });
25
25
  }
26
26
  return (React.createElement(rebass_1.Flex, { flex: 0, className: baseClassName },
27
27
  icon,
28
28
  React.createElement(rebass_1.Text, { className: `${baseClassName}__Title` }, props.children)));
29
29
  };
30
+ exports.TopBar = TopBar;
30
31
  exports.default = exports.TopBar;
@@ -7,7 +7,7 @@ const react_redux_1 = require("react-redux");
7
7
  const DefaultSettingsPanel_1 = require("../../../../Utilities/Defaults/DefaultSettingsPanel");
8
8
  const AdaptableContext_1 = require("../../../AdaptableContext");
9
9
  const PopupRedux = tslib_1.__importStar(require("../../../../Redux/ActionsReducers/PopupRedux"));
10
- exports.useMenuItems = () => {
10
+ const useMenuItems = () => {
11
11
  const adaptable = AdaptableContext_1.useAdaptable();
12
12
  const settingsPanelOptions = adaptable.adaptableOptions.settingsPanelOptions;
13
13
  const allMenuItems = react_redux_1.useSelector((state) => { var _a; return (_a = state === null || state === void 0 ? void 0 : state.Grid) === null || _a === void 0 ? void 0 : _a.SettingPanelModuleMenuItems; });
@@ -43,3 +43,4 @@ exports.useMenuItems = () => {
43
43
  .filter(Boolean);
44
44
  }, [allMenuItems]);
45
45
  };
46
+ exports.useMenuItems = useMenuItems;
@@ -10,7 +10,8 @@ const Dialog_1 = tslib_1.__importDefault(require("../../../components/Dialog"));
10
10
  const AdaptableFormComponent_1 = require("../../../components/AdaptableFormComponent");
11
11
  const react_1 = require("react");
12
12
  const AdaptableContext_1 = require("../../AdaptableContext");
13
- exports.AdaptablePopupAlert = (props) => {
13
+ const AdaptableIconComponent_1 = require("../../../components/AdaptableIconComponent");
14
+ const AdaptablePopupAlert = (props) => {
14
15
  var _a;
15
16
  const messageType = props.adaptableAlert.alertDefinition.MessageType || 'Error';
16
17
  const msg = (_a = props.adaptableAlert.message) !== null && _a !== void 0 ? _a : '';
@@ -52,11 +53,9 @@ exports.AdaptablePopupAlert = (props) => {
52
53
  if (!icon) {
53
54
  return null;
54
55
  }
55
- let width = icon.style && icon.style.width ? icon.style.width : 'var(--ab-cmp-simple-button__width)';
56
- let height = icon.style && icon.style.height ? icon.style.height : 'var(--ab-cmp-simple-button__height)';
57
56
  return (React.createElement(rebass_1.Flex, { flexDirection: "column", alignSelf: "end", alignItems: "right" },
58
57
  ' ',
59
- React.createElement("img", { className: "alert-popup__application-icon", src: icon.src, style: { width: width, height: height } })));
58
+ React.createElement(AdaptableIconComponent_1.AdaptableIconComponent, { icon: icon, iconClassName: 'alert-popup__application-icon' })));
60
59
  };
61
60
  const content = (React.createElement(PanelWithImage_1.PanelWithImage, { header: header, headerColor: headerColor, glyphicon: glyph, bodyProps: { padding: 2 } },
62
61
  React.createElement("div", null,
@@ -86,3 +85,4 @@ exports.AdaptablePopupAlert = (props) => {
86
85
  maxWidth: '70vw',
87
86
  } }, content));
88
87
  };
88
+ exports.AdaptablePopupAlert = AdaptablePopupAlert;
@@ -9,7 +9,7 @@ const rebass_1 = require("rebass");
9
9
  const SimpleButton_1 = tslib_1.__importDefault(require("../../../components/SimpleButton"));
10
10
  const Input_1 = tslib_1.__importDefault(require("../../../components/Input"));
11
11
  const react_redux_1 = require("react-redux");
12
- exports.AdaptablePopupPrompt = (props) => {
12
+ const AdaptablePopupPrompt = (props) => {
13
13
  var _a;
14
14
  const dispatch = react_redux_1.useDispatch();
15
15
  const [promptText, setPromptText] = React.useState((_a = props.defaultValue) !== null && _a !== void 0 ? _a : '');
@@ -46,3 +46,4 @@ exports.AdaptablePopupPrompt = (props) => {
46
46
  React.createElement("div", { style: { flex: 1 } }),
47
47
  React.createElement(SimpleButton_1.default, { tone: "neutral", variant: "raised", onClick: () => onCloseForm(), "data-name": "cancel" }, "Cancel"))))));
48
48
  };
49
+ exports.AdaptablePopupPrompt = AdaptablePopupPrompt;
@@ -12,7 +12,7 @@ const React = tslib_1.__importStar(require("react"));
12
12
  const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayout"));
13
13
  const HelpBlock_1 = tslib_1.__importDefault(require("../../../components/HelpBlock"));
14
14
  const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
15
- exports.AdaptablePopupTeamSharing = (props) => {
15
+ const AdaptablePopupTeamSharing = (props) => {
16
16
  const { showPopup, onClose, onConfirm, header } = props;
17
17
  const [config, setConfig] = react_1.useState({
18
18
  description: '',
@@ -47,3 +47,4 @@ exports.AdaptablePopupTeamSharing = (props) => {
47
47
  React.createElement("div", { style: { flex: 1 } }),
48
48
  React.createElement(SimpleButton_1.default, { tone: "accent", "data-name": "ok", variant: "raised", disabled: StringExtensions_1.StringExtensions.IsNullOrEmpty(config.description), onClick: () => onConfirm(config) }, "OK")))))));
49
49
  };
50
+ exports.AdaptablePopupTeamSharing = AdaptablePopupTeamSharing;
@@ -8,7 +8,7 @@ const AdaptablePopupAlert_1 = require("./AdaptablePopupAlert");
8
8
  const react_toastify_1 = require("react-toastify");
9
9
  const apiInstances = new WeakMap();
10
10
  const weakMapKeys = new Map();
11
- exports.showToast = (props) => {
11
+ const showToast = (props) => {
12
12
  // we're doing this hack and not simply using props.api in order not to have a memory
13
13
  // leak where the api is still kept around in memory by the toaster
14
14
  const adaptableOptions = props.api.internalApi.getAdaptableOptions();
@@ -63,3 +63,4 @@ exports.showToast = (props) => {
63
63
  break;
64
64
  }
65
65
  };
66
+ exports.showToast = showToast;
@@ -10,7 +10,7 @@ const Dialog_1 = tslib_1.__importDefault(require("../../../../components/Dialog"
10
10
  const AdaptableForm_1 = require("../../../../PredefinedConfig/Common/AdaptableForm");
11
11
  const PopupRedux_1 = require("../../../../Redux/ActionsReducers/PopupRedux");
12
12
  const AdaptableContext_1 = require("../../../AdaptableContext");
13
- exports.FormDialog = ({ id, formProps, form, prepareContext, }) => {
13
+ const FormDialog = ({ id, formProps, form, prepareContext, }) => {
14
14
  const dispatch = react_redux_1.useDispatch();
15
15
  const adaptable = AdaptableContext_1.useAdaptable();
16
16
  const [data, setData] = React.useState(() => {
@@ -29,9 +29,11 @@ exports.FormDialog = ({ id, formProps, form, prepareContext, }) => {
29
29
  (_a = button.onClick) === null || _a === void 0 ? void 0 : _a.call(button, button, preparedContext);
30
30
  } }))));
31
31
  };
32
- exports.FormPopups = () => {
32
+ exports.FormDialog = FormDialog;
33
+ const FormPopups = () => {
33
34
  const forms = react_redux_1.useSelector((state) => state.Popup.FormPopup.FormList);
34
35
  return (React.createElement(React.Fragment, null, forms.map((form) => {
35
36
  return (React.createElement(exports.FormDialog, { key: form.Id, prepareContext: form.prepareContext, id: form.Id, formProps: form.FormProps, form: form.Form }));
36
37
  })));
37
38
  };
39
+ exports.FormPopups = FormPopups;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getWindowPopupSize = exports.getSettingsPanelSize = exports.getActionPanelSize = exports.getMiddlePosition = void 0;
4
4
  const Helper_1 = require("../../../Utilities/Helpers/Helper");
5
- exports.getMiddlePosition = (size) => {
5
+ const getMiddlePosition = (size) => {
6
6
  const height = window.innerHeight;
7
7
  const width = window.innerWidth;
8
8
  return {
@@ -10,7 +10,8 @@ exports.getMiddlePosition = (size) => {
10
10
  y: height / 2 - size.height / 2,
11
11
  };
12
12
  };
13
- exports.getActionPanelSize = () => {
13
+ exports.getMiddlePosition = getMiddlePosition;
14
+ const getActionPanelSize = () => {
14
15
  const height = window.innerHeight;
15
16
  const width = window.innerWidth;
16
17
  return {
@@ -18,7 +19,8 @@ exports.getActionPanelSize = () => {
18
19
  width: Helper_1.clamp(800, 0, width * 0.9),
19
20
  };
20
21
  };
21
- exports.getSettingsPanelSize = () => {
22
+ exports.getActionPanelSize = getActionPanelSize;
23
+ const getSettingsPanelSize = () => {
22
24
  const height = window.innerHeight;
23
25
  const width = window.innerWidth;
24
26
  return {
@@ -26,6 +28,8 @@ exports.getSettingsPanelSize = () => {
26
28
  width: Helper_1.clamp(width * 0.9, 0, 800),
27
29
  };
28
30
  };
29
- exports.getWindowPopupSize = () => {
31
+ exports.getSettingsPanelSize = getSettingsPanelSize;
32
+ const getWindowPopupSize = () => {
30
33
  return exports.getSettingsPanelSize();
31
34
  };
35
+ exports.getWindowPopupSize = getWindowPopupSize;
@@ -13,7 +13,7 @@ const windowFactory_1 = require("./windowFactory");
13
13
  const NoopComponent = () => {
14
14
  return React.createElement(React.Fragment, null);
15
15
  };
16
- exports.WindowPopups = () => {
16
+ const WindowPopups = () => {
17
17
  const [windowModalSettings, setWindowModalSettings] = React.useState({});
18
18
  const adaptable = AdaptableContext_1.useAdaptable();
19
19
  const dispatch = react_redux_1.useDispatch();
@@ -34,3 +34,4 @@ exports.WindowPopups = () => {
34
34
  React.createElement(Component, { api: adaptable.api, onDismiss: handleDismiss, popupProps: restPopupProps }))));
35
35
  })));
36
36
  };
37
+ exports.WindowPopups = WindowPopups;
@@ -35,7 +35,8 @@ class ColumnSelector extends React.Component {
35
35
  };
36
36
  });
37
37
  let currentColumnName = selectedColumnIds.length > 0
38
- ? (_a = this.props.ColumnList.find((c) => c.columnId == selectedColumnIds[0])) === null || _a === void 0 ? void 0 : _a.friendlyName : 'Select a column';
38
+ ? (_a = this.props.ColumnList.find((c) => c.columnId == selectedColumnIds[0])) === null || _a === void 0 ? void 0 : _a.friendlyName
39
+ : 'Select a column';
39
40
  return (React.createElement("div", { "data-name": 'column-selector' },
40
41
  React.createElement(FormLayout_1.default, { columns: [{ name: 'columnSelector', style: { display: 'flex' } }], style: this.props.style },
41
42
  React.createElement(FormLayout_1.FormRow, null,
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const ValueSelector_1 = require("../ValueSelector");
7
7
  const AdaptableContext_1 = require("../../AdaptableContext");
8
- exports.TagValueSelector = (props) => {
8
+ const TagValueSelector = (props) => {
9
9
  const { api } = AdaptableContext_1.useAdaptable();
10
10
  const getDefaultTags = () => {
11
11
  var _a;
@@ -16,8 +16,10 @@ exports.TagValueSelector = (props) => {
16
16
  onChange(selectedTagsIds.map((id) => selectedTagsMap.get(id)));
17
17
  }, selectionBoxPosition: 'top', toIdentifier: (tag) => api.internalApi.getLabelForTag(tag), toLabel: (tag) => api.internalApi.getLabelForTag(tag), noSelectionLabel: singleSelect ? 'Select a tag' : 'You have not selected any tags.', xSelectedLabel: singleSelect ? () => 'Selected tag:' : () => 'Selected tags:' }));
18
18
  };
19
- exports.TagValueOptionsTags = (props) => {
19
+ exports.TagValueSelector = TagValueSelector;
20
+ const TagValueOptionsTags = (props) => {
20
21
  const { tags = [] } = props;
21
22
  const { api } = AdaptableContext_1.useAdaptable();
22
23
  return (React.createElement(ValueSelector_1.ValueOptionsTags, { options: tags, value: tags.map((tag) => api.internalApi.getValueForTag(tag)), toIdentifier: (tag) => api.internalApi.getValueForTag(tag), toLabel: (tag) => api.internalApi.getLabelForTag(tag), allowWrap: true, readOnly: true }));
23
24
  };
25
+ exports.TagValueOptionsTags = TagValueOptionsTags;
@@ -23,7 +23,7 @@ interface AdaptableToolPanelProps {
23
23
  onExpandToolPanel: (toolPanel: AdaptableToolPanel | string) => ToolPanelRedux.ToolPanelExpandToolPanelAction;
24
24
  onCollapseToolPanel: (toolPanel: AdaptableToolPanel | string) => ToolPanelRedux.ToolPanelCollapseToolPanelAction;
25
25
  }
26
- export declare const ConnectedAdaptableToolPanel: import("react-redux").ConnectedComponent<(props: AdaptableToolPanelProps) => JSX.Element, Pick<AdaptableToolPanelProps, "api" | "teamSharingActivated">>;
26
+ export declare const ConnectedAdaptableToolPanel: import("react-redux").ConnectedComponent<(props: AdaptableToolPanelProps) => JSX.Element, import("react-redux").Omit<AdaptableToolPanelProps, "onClick" | "Columns" | "ToolPanels" | "ModuleButtons" | "MainMenuItems" | "onNewColumnListOrder" | "onShowToolPanel" | "onHideToolPanel" | "onExpandToolPanel" | "onCollapseToolPanel">>;
27
27
  export declare const getAdaptableToolPanelAgGridComponent: (adaptable?: IAdaptable) => {
28
28
  new (): {
29
29
  gui: HTMLElement;
@@ -205,6 +205,9 @@ const AdaptableToolPanelComponent = (props) => {
205
205
  const toolPanelButtons = renderToolPanelButtons();
206
206
  return (React.createElement(rebass_1.Flex, { className: "ab-ToolPanel", "data-name": "adaptable-tool-panel", flexDirection: "column", justifyContent: "center", padding: 2, style: {
207
207
  width: '100%',
208
+ // Cannot have the with of the parent, on windows, when you have scrollbars
209
+ // the inner-width is smaller
210
+ // minWidth: 'var(--ab-cmp-toolpanel__width)',
208
211
  } },
209
212
  React.createElement(rebass_1.Flex, { className: "ab-ToolPanel__header", flexDirection: "row", justifyContent: "left", padding: 1, flexWrap: "wrap", style: { width: '100%' } },
210
213
  isToolPanelModuleConfigurable && renderToolPanelDropdowns(),
@@ -233,7 +236,7 @@ function mapDispatchToProps(dispatch) {
233
236
  };
234
237
  }
235
238
  exports.ConnectedAdaptableToolPanel = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(AdaptableToolPanelComponent);
236
- exports.getAdaptableToolPanelAgGridComponent = (adaptable) => {
239
+ const getAdaptableToolPanelAgGridComponent = (adaptable) => {
237
240
  return class AdaptableToolPanelAgGridComponent {
238
241
  init(params) {
239
242
  const agGridApi = params.api;
@@ -258,4 +261,5 @@ exports.getAdaptableToolPanelAgGridComponent = (adaptable) => {
258
261
  }
259
262
  };
260
263
  };
264
+ exports.getAdaptableToolPanelAgGridComponent = getAdaptableToolPanelAgGridComponent;
261
265
  exports.AdaptableToolPanelAgGridComponent = exports.getAdaptableToolPanelAgGridComponent();
@@ -8,7 +8,7 @@ const AdaptableContext_1 = require("../../AdaptableContext");
8
8
  const uuid_1 = require("../../../components/utils/uuid");
9
9
  const SimpleButton_1 = tslib_1.__importDefault(require("../../../components/SimpleButton"));
10
10
  const kebabCase_1 = tslib_1.__importDefault(require("lodash/kebabCase"));
11
- exports.CustomToolPanelContent = (props) => {
11
+ const CustomToolPanelContent = (props) => {
12
12
  var _a;
13
13
  const { customToolPanel } = props;
14
14
  const { api } = AdaptableContext_1.useAdaptable();
@@ -73,5 +73,6 @@ exports.CustomToolPanelContent = (props) => {
73
73
  buttonLabel));
74
74
  })))));
75
75
  };
76
+ exports.CustomToolPanelContent = CustomToolPanelContent;
76
77
  const hasCustomRenderFn = (customToolPanel) => customToolPanel.render;
77
78
  const hasCustomFrameworkComponent = (customToolPanel) => customToolPanel.frameworkComponent;
@@ -23,5 +23,5 @@ declare class ToolPanelPopupComponent extends React.Component<ToolPanelPopupComp
23
23
  onShowGridPropertiesChanged(event: React.FormEvent<any>): void;
24
24
  onToolPanelToolPanelsChanged(selectedValues: AdaptableToolPanels): void;
25
25
  }
26
- export declare let ToolPanelPopup: import("react-redux").ConnectedComponent<typeof ToolPanelPopupComponent, Pick<React.ClassAttributes<ToolPanelPopupComponent> & ToolPanelPopupComponentProps, never>>;
26
+ export declare let ToolPanelPopup: import("react-redux").ConnectedComponent<typeof ToolPanelPopupComponent, import("react-redux").Omit<React.ClassAttributes<ToolPanelPopupComponent> & ToolPanelPopupComponentProps, "ref" | "key" | "api" | "onSuspend" | "accessLevel" | "popupParams" | "onClearPopupParams" | "teamSharingActivated" | "onClosePopup" | "moduleInfo" | "onUnSuspend" | "modalContainer" | "ToolPanelState" | "GridState" | "onToolPanelSetModuleButtons" | "onToolPanelSetToolPanels">>;
27
27
  export {};
@@ -72,7 +72,7 @@ class ToolPanelPopupComponent extends React.Component {
72
72
  }
73
73
  return false;
74
74
  };
75
- return (React.createElement(PopupPanel_1.PopupPanel, { headerText: "ToolPanel Configuration", glyphicon: this.props.moduleInfo.Glyph },
75
+ return (React.createElement(PopupPanel_1.PopupPanel, { headerText: "ToolPanel", glyphicon: this.props.moduleInfo.Glyph, infoLink: this.props.moduleInfo.HelpPage, infoLinkDisabled: !this.props.api.internalApi.isDocumentationLinksDisplayed() },
76
76
  React.createElement(Tabs_1.Tabs, { "data-name": 'toolPanelPopup-component', className: "ab-ToolPanelPopup", value: this.state.ToolPanelConfigView, style: { height: '100%' }, onValueChange: (value) => this.setState({ ToolPanelConfigView: value }) },
77
77
  React.createElement(Tabs_1.Tabs.Tab, { value: ToolPanelConfigView.ToolPanels },
78
78
  React.createElement(Radio_1.default, { margin: 0, value: ToolPanelConfigView.ToolPanels, checked: this.state.ToolPanelConfigView == ToolPanelConfigView.ToolPanels, tabIndex: -1 }, "Tool Panels")),
@@ -11,7 +11,7 @@ const ToolPanelRedux = tslib_1.__importStar(require("../../../Redux/ActionsReduc
11
11
  const PanelToolPanel_1 = require("../Panels/PanelToolPanel");
12
12
  const PopupRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/PopupRedux"));
13
13
  const ModuleConstants_1 = require("../../../Utilities/Constants/ModuleConstants");
14
- exports.ToolPanelWrapper = (props) => {
14
+ const ToolPanelWrapper = (props) => {
15
15
  const { adaptableToolPanel, customToolPanel, visibilityMode: visibilityMode, onVisibilityModeChange: onVisibilityModeChange, } = props;
16
16
  const { api } = AdaptableContext_1.useAdaptable();
17
17
  const getToolPanelConfiguration = () => {
@@ -67,3 +67,4 @@ exports.ToolPanelWrapper = (props) => {
67
67
  }
68
68
  : null, onClose: () => api.internalApi.dispatchReduxAction(ToolPanelRedux.ToolPanelHideToolPanel(toolPanelName)) }, isMinimised ? null : toolPanelContent)))));
69
69
  };
70
+ exports.ToolPanelWrapper = ToolPanelWrapper;
@@ -16,8 +16,9 @@ const tableDOMProps = {
16
16
  margin: 'var(--ab-space-2)',
17
17
  },
18
18
  };
19
- exports.WizardSummaryPage = (props) => {
19
+ const WizardSummaryPage = (props) => {
20
20
  return (React.createElement(WizardPanel_1.default, { bodyProps: { padding: 0 }, className: "ab-WizardSummary", "data-name": 'wizard-summary' },
21
21
  React.createElement(InfiniteTable_1.DataSource, { data: props.KeyValuePairs, primaryKey: "Key" },
22
22
  React.createElement(InfiniteTable_1.InfiniteTable, { showZebraRows: true, domProps: tableDOMProps, columns: columnsMap }))));
23
23
  };
24
+ exports.WizardSummaryPage = WizardSummaryPage;
@@ -21,7 +21,7 @@ function renderConditionalStyleRuleSummary(data) {
21
21
  }
22
22
  exports.renderConditionalStyleRuleSummary = renderConditionalStyleRuleSummary;
23
23
  function ConditionalStyleRuleWizardSection(props) {
24
- const { data, api, moduleInfo } = OnePageAdaptableWizard_1.useOnePageWizardContext();
24
+ const { data, api, moduleInfo } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
25
25
  return (React.createElement(React.Fragment, null,
26
26
  React.createElement(EntityRulesEditor_1.EntityRulesEditor, { module: moduleInfo.ModuleName, defaultPredicateId: props.defaultPredicateId, predicateDefs: api.conditionalStyleApi.getCondStylePredicateDefsForScope(data.Scope), showAggregation: false, showObservable: false, showPredicate: !api.scopeApi.scopeIsAll(data.Scope), data: data, onChange: props.onChange, descriptions: {
27
27
  selectPredicate: 'Select a Conditional Style Rule - to be applied when data changes',
@@ -6,15 +6,16 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
7
7
  const NewScopeComponent_1 = require("../../Components/NewScopeComponent");
8
8
  const DEFAULT_PREDICATE_ID_FOR_CONDITIONAL_STYLE_1 = require("./DEFAULT_PREDICATE_ID_FOR_CONDITIONAL_STYLE");
9
- exports.renderConditionalStyleScopeSummary = (data) => {
9
+ const renderConditionalStyleScopeSummary = (data) => {
10
10
  return NewScopeComponent_1.renderScopeSummary(data.Scope, {
11
11
  scopeWholeRow: 'Matching rows will display the Conditionally Style',
12
12
  scopeColumns: 'Cells in selected columns will display the Conditionally Style',
13
13
  scopeDataTypes: 'Cells in columns of the selected data-types will display the Conditionally Style',
14
14
  });
15
15
  };
16
+ exports.renderConditionalStyleScopeSummary = renderConditionalStyleScopeSummary;
16
17
  function ConditionalStyleScopeWizardSection(props) {
17
- const { data, api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
18
+ const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
18
19
  return (React.createElement(React.Fragment, null,
19
20
  React.createElement(NewScopeComponent_1.NewScopeComponent, { scope: data.Scope, descriptions: {
20
21
  rowScope: 'Matching Rows will have the Conditional Style applied',
@@ -8,11 +8,12 @@ const CheckBox_1 = require("../../../components/CheckBox");
8
8
  const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayout"));
9
9
  const Tabs_1 = require("../../../components/Tabs");
10
10
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
11
- exports.renderConditionalStyleSettingsSummary = (data) => (React.createElement(rebass_1.Box, { padding: 2 },
11
+ const renderConditionalStyleSettingsSummary = (data) => (React.createElement(rebass_1.Box, { padding: 2 },
12
12
  React.createElement(rebass_1.Text, null, "Include grouped rows"),
13
13
  React.createElement(rebass_1.Text, { mt: 3 }, data.IncludeGroupedRows ? 'Yes' : 'No')));
14
- exports.ConditionalStyleSettingsWizardSettings = (props) => {
15
- const { data } = OnePageAdaptableWizard_1.useOnePageWizardContext();
14
+ exports.renderConditionalStyleSettingsSummary = renderConditionalStyleSettingsSummary;
15
+ const ConditionalStyleSettingsWizardSettings = (props) => {
16
+ const { data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
16
17
  const onIncludeGroupedRowsChanged = (checked) => {
17
18
  props.onChange(Object.assign(Object.assign({}, data), { IncludeGroupedRows: checked }));
18
19
  };
@@ -25,3 +26,4 @@ exports.ConditionalStyleSettingsWizardSettings = (props) => {
25
26
  React.createElement(rebass_1.Flex, { alignItems: "center", marginLeft: 2 },
26
27
  React.createElement(CheckBox_1.CheckBox, { checked: data.IncludeGroupedRows, onChange: onIncludeGroupedRowsChanged, mr: 2 }))))))));
27
28
  };
29
+ exports.ConditionalStyleSettingsWizardSettings = ConditionalStyleSettingsWizardSettings;
@@ -10,11 +10,12 @@ const StyleHelper_1 = require("../../../Utilities/Helpers/StyleHelper");
10
10
  const toStyle = (style) => {
11
11
  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' });
12
12
  };
13
- exports.renderConditionalStyleStyleSummary = (data) => {
13
+ const renderConditionalStyleStyleSummary = (data) => {
14
14
  return (React.createElement(rebass_1.Text, { padding: 2, style: toStyle(data.Style) }, "Preview result"));
15
15
  };
16
+ exports.renderConditionalStyleStyleSummary = renderConditionalStyleStyleSummary;
16
17
  function ConditionalStyleStyleWizardSection(props) {
17
- const { data, api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
18
+ const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
18
19
  return (React.createElement(StyleComponent_1.StyleComponent, { headless: true, api: api, Style: data.Style, UpdateStyle: (Style) => {
19
20
  props.onChange(Object.assign(Object.assign({}, data), { Style }));
20
21
  } }));
@@ -19,7 +19,7 @@ const react_redux_1 = require("react-redux");
19
19
  const ConditionalStyleRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/ConditionalStyleRedux"));
20
20
  const ConditionalStyleSettingsWizardSettings_1 = require("./ConditionalStyleSettingsWizardSettings");
21
21
  const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
22
- exports.ConditionalStyleWizard = (props) => {
22
+ const ConditionalStyleWizard = (props) => {
23
23
  var _a, _b;
24
24
  const data = (_a = props.data) !== null && _a !== void 0 ? _a : (_b = props.popupParams) === null || _b === void 0 ? void 0 : _b.value;
25
25
  const [conditionalStyle, setConditionalStyle] = react_1.useState(() => {
@@ -111,3 +111,4 @@ exports.ConditionalStyleWizard = (props) => {
111
111
  },
112
112
  ] }));
113
113
  };
114
+ exports.ConditionalStyleWizard = ConditionalStyleWizard;
@@ -8,20 +8,22 @@ const Tabs_1 = require("../../../components/Tabs");
8
8
  const Tag_1 = require("../../../components/Tag");
9
9
  const ColumnSelector_1 = require("../../Components/ColumnSelector");
10
10
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
11
- exports.renderCustomSortColumn = (data) => {
12
- const { api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
11
+ const renderCustomSortColumn = (data) => {
12
+ const { api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
13
13
  return (React.createElement(rebass_1.Text, { pr: 2, py: 2, fontSize: 2 },
14
14
  "Custom sort column: ",
15
15
  React.createElement(Tag_1.Tag, null, api.columnApi.getFriendlyNameFromColumnId(data.ColumnId))));
16
16
  };
17
- exports.isValidCustomSortColumn = (data) => {
17
+ exports.renderCustomSortColumn = renderCustomSortColumn;
18
+ const isValidCustomSortColumn = (data) => {
18
19
  if (!data.ColumnId) {
19
20
  return 'You have to select a Column for Custom Sort';
20
21
  }
21
22
  return true;
22
23
  };
23
- exports.CustomSortColumnWizardSection = (props) => {
24
- const { data, api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
24
+ exports.isValidCustomSortColumn = isValidCustomSortColumn;
25
+ const CustomSortColumnWizardSection = (props) => {
26
+ const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
25
27
  const sortableCols = React.useMemo(() => {
26
28
  var _a, _b;
27
29
  const sortableColumns = api.columnApi.getSortableColumns();
@@ -48,3 +50,4 @@ exports.CustomSortColumnWizardSection = (props) => {
48
50
  props.onChange(Object.assign(Object.assign({}, data), { ColumnId: ids[0] }));
49
51
  }, allowReorder: false }))));
50
52
  };
53
+ exports.CustomSortColumnWizardSection = CustomSortColumnWizardSection;
@@ -12,18 +12,20 @@ const runIfNotResolvedIn_1 = require("../../../Utilities/runIfNotResolvedIn");
12
12
  const sortWithOrder_1 = require("../../../Utilities/sortWithOrder");
13
13
  const ValueSelector_1 = require("../../Components/ValueSelector");
14
14
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
15
- exports.isValidCustomSortOrder = (data) => {
15
+ const isValidCustomSortOrder = (data) => {
16
16
  if (!data.SortedValues || !data.SortedValues.length) {
17
17
  return 'You have to specify at least one value for Custom Sort order';
18
18
  }
19
19
  return true;
20
20
  };
21
- exports.renderCustomSortValuesSummary = (data) => {
21
+ exports.isValidCustomSortOrder = isValidCustomSortOrder;
22
+ const renderCustomSortValuesSummary = (data) => {
22
23
  return data.SortedValues.length ? (React.createElement(rebass_1.Text, { fontSize: 2 },
23
24
  React.createElement(ValueSelector_1.ValueOptionsTags, { options: data.SortedValues, value: data.SortedValues, toIdentifier: (x) => `${x}`, toLabel: (x) => `${x}`, allowWrap: true, readOnly: true }))) : null;
24
25
  };
25
- exports.CustomSortValuesWizardSection = (props) => {
26
- const { data, api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
26
+ exports.renderCustomSortValuesSummary = renderCustomSortValuesSummary;
27
+ const CustomSortValuesWizardSection = (props) => {
28
+ const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
27
29
  const [distinctValues, setDistinctValues] = react_1.useState([]);
28
30
  const [isDistinctValuesLoading, setIsDistinctValuesLoading] = react_1.useState(false);
29
31
  react_1.useEffect(() => {
@@ -71,3 +73,4 @@ exports.CustomSortValuesWizardSection = (props) => {
71
73
  props.onChange(Object.assign(Object.assign({}, data), { SortedValues }));
72
74
  } }))));
73
75
  };
76
+ exports.CustomSortValuesWizardSection = CustomSortValuesWizardSection;
@@ -13,7 +13,7 @@ const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/Obje
13
13
  const react_redux_1 = require("react-redux");
14
14
  const CustomSortRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/CustomSortRedux"));
15
15
  const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
16
- exports.CustomSortWizard = (props) => {
16
+ const CustomSortWizard = (props) => {
17
17
  var _a, _b;
18
18
  let data = props.data;
19
19
  const allCustomSorts = react_redux_1.useSelector((state) => { var _a; return (_a = state.CustomSort) === null || _a === void 0 ? void 0 : _a.CustomSorts; });
@@ -79,3 +79,4 @@ exports.CustomSortWizard = (props) => {
79
79
  },
80
80
  ] }));
81
81
  };
82
+ exports.CustomSortWizard = CustomSortWizard;
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const react_1 = require("react");
7
7
  const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
8
8
  const kebabCase_1 = tslib_1.__importDefault(require("lodash/kebabCase"));
9
- exports.CustomDashboardButton = (props) => {
9
+ const CustomDashboardButton = (props) => {
10
10
  const { button } = props;
11
11
  const [componentRevision, setComponentRevision] = react_1.useState(1);
12
12
  // TODO: variants of this mapping are present in several places (just search for api.internalApi.getStyleForButton() usages)
@@ -45,3 +45,4 @@ exports.CustomDashboardButton = (props) => {
45
45
  buttonIcon ? React.createElement("img", Object.assign({}, iconProps)) : null,
46
46
  buttonLabel));
47
47
  };
48
+ exports.CustomDashboardButton = CustomDashboardButton;