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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (431) hide show
  1. package/base.css +41 -14
  2. package/bundle.cjs.js +159 -142
  3. package/index.css +49 -14
  4. package/package.json +3 -3
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableOptions/ActionOptions.d.ts +181 -1
  8. package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
  9. package/src/AdaptableOptions/AlertOptions.d.ts +5 -9
  10. package/src/AdaptableOptions/ColumnOptions.d.ts +4 -0
  11. package/src/AdaptableOptions/DashboardOptions.d.ts +1 -5
  12. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +19 -4
  13. package/src/AdaptableOptions/EditOptions.d.ts +8 -62
  14. package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
  15. package/src/AdaptableOptions/GeneralOptions.d.ts +7 -0
  16. package/src/AdaptableOptions/LayoutOptions.d.ts +6 -1
  17. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +2 -0
  18. package/src/AdaptableOptions/StateOptions.d.ts +10 -0
  19. package/src/AdaptableOptions/ToolPanelOptions.d.ts +1 -5
  20. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -112
  21. package/src/Api/ActionApi.d.ts +24 -0
  22. package/src/Api/{Events/RowFormSubmitted.js → ActionApi.js} +0 -0
  23. package/src/Api/AdaptableApi.d.ts +5 -0
  24. package/src/Api/AlertApi.d.ts +3 -3
  25. package/src/Api/ConfigApi.d.ts +1 -1
  26. package/src/Api/EventApi.d.ts +9 -9
  27. package/src/Api/Events/ActionRowSubmitted.d.ts +34 -0
  28. package/src/Api/Events/ActionRowSubmitted.js +2 -0
  29. package/src/Api/GridApi.d.ts +0 -14
  30. package/src/Api/Implementation/ActionApiImpl.d.ts +8 -0
  31. package/src/Api/Implementation/ActionApiImpl.js +56 -0
  32. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  33. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  34. package/src/Api/Implementation/AlertApiImpl.d.ts +3 -3
  35. package/src/Api/Implementation/ApiBase.d.ts +2 -1
  36. package/src/Api/Implementation/ApiBase.js +3 -0
  37. package/src/Api/Implementation/ColumnApiImpl.js +2 -2
  38. package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
  39. package/src/Api/Implementation/GridApiImpl.d.ts +0 -3
  40. package/src/Api/Implementation/GridApiImpl.js +0 -44
  41. package/src/Api/Implementation/InternalApiImpl.d.ts +3 -3
  42. package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
  43. package/src/Api/Implementation/SmartEditApiImpl.js +2 -1
  44. package/src/Api/Implementation/StatusBarApiImpl.d.ts +4 -3
  45. package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
  46. package/src/Api/Implementation/TeamSharingApiImpl.js +2 -1
  47. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -2
  48. package/src/Api/Implementation/UserInterfaceApiImpl.js +0 -4
  49. package/src/Api/SmartEditApi.d.ts +1 -1
  50. package/src/Api/StatusBarApi.d.ts +10 -3
  51. package/src/Api/UserInterfaceApi.d.ts +1 -5
  52. package/src/PredefinedConfig/AlertState.d.ts +4 -4
  53. package/src/PredefinedConfig/Common/AdaptableAlert.js +4 -2
  54. package/src/PredefinedConfig/Common/AdaptableColumn.js +2 -1
  55. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +1 -1
  56. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +24 -18
  57. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -4
  58. package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -36
  59. package/src/PredefinedConfig/Common/AdaptableQuery.js +2 -1
  60. package/src/PredefinedConfig/Common/FormContext.d.ts +3 -0
  61. package/src/PredefinedConfig/Common/Menu.d.ts +3 -3
  62. package/src/PredefinedConfig/Common/Types.d.ts +1 -1
  63. package/src/PredefinedConfig/StatusBarState.d.ts +5 -2
  64. package/src/PredefinedConfig/Uuid.js +2 -1
  65. package/src/Redux/ActionsReducers/AlertRedux.js +16 -8
  66. package/src/Redux/ActionsReducers/ApplicationRedux.js +8 -4
  67. package/src/Redux/ActionsReducers/BulkUpdateRedux.js +6 -3
  68. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +10 -5
  69. package/src/Redux/ActionsReducers/CellSummaryRedux.js +2 -1
  70. package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +14 -7
  71. package/src/Redux/ActionsReducers/CustomSortRedux.js +14 -7
  72. package/src/Redux/ActionsReducers/DashboardRedux.js +24 -12
  73. package/src/Redux/ActionsReducers/ExportRedux.js +16 -8
  74. package/src/Redux/ActionsReducers/FlashingCellRedux.js +16 -8
  75. package/src/Redux/ActionsReducers/FormatColumnRedux.js +14 -7
  76. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +14 -7
  77. package/src/Redux/ActionsReducers/GridRedux.js +38 -19
  78. package/src/Redux/ActionsReducers/LayoutRedux.js +30 -15
  79. package/src/Redux/ActionsReducers/PluginsRedux.js +4 -2
  80. package/src/Redux/ActionsReducers/PlusMinusRedux.js +16 -8
  81. package/src/Redux/ActionsReducers/PopupRedux.js +37 -19
  82. package/src/Redux/ActionsReducers/QueryRedux.js +12 -6
  83. package/src/Redux/ActionsReducers/QuickSearchRedux.js +8 -4
  84. package/src/Redux/ActionsReducers/ScheduleRedux.js +58 -29
  85. package/src/Redux/ActionsReducers/ShortcutRedux.js +14 -7
  86. package/src/Redux/ActionsReducers/SmartEditRedux.js +6 -3
  87. package/src/Redux/ActionsReducers/StatusBarRedux.js +10 -5
  88. package/src/Redux/ActionsReducers/SystemRedux.js +103 -51
  89. package/src/Redux/ActionsReducers/SystemStatusRedux.js +4 -2
  90. package/src/Redux/ActionsReducers/TeamSharingRedux.js +22 -11
  91. package/src/Redux/ActionsReducers/ThemeRedux.js +10 -5
  92. package/src/Redux/ActionsReducers/ToolPanelRedux.js +16 -8
  93. package/src/Redux/DeadRedux.js +16 -8
  94. package/src/Redux/Store/AdaptableReduxMerger.js +2 -1
  95. package/src/Redux/Store/AdaptableStore.js +10 -2
  96. package/src/Strategy/AlertModule.d.ts +2 -18
  97. package/src/Strategy/AlertModule.js +2 -1
  98. package/src/Strategy/ConditionalStyleModule.d.ts +2 -10
  99. package/src/Strategy/DashboardModule.js +3 -1
  100. package/src/Strategy/DataChangeHistoryModule.d.ts +2 -8
  101. package/src/Strategy/DataSetModule.d.ts +2 -13
  102. package/src/Strategy/ExportModule.d.ts +2 -13
  103. package/src/Strategy/ExportModule.js +1 -1
  104. package/src/Strategy/FilterModule.d.ts +2 -14
  105. package/src/Strategy/FilterModule.js +1 -1
  106. package/src/Strategy/FlashingCellModule.d.ts +2 -9
  107. package/src/Strategy/GridInfoModule.js +6 -2
  108. package/src/Strategy/LayoutModule.d.ts +2 -17
  109. package/src/Strategy/LayoutModule.js +6 -3
  110. package/src/Strategy/PlusMinusModule.d.ts +2 -9
  111. package/src/Strategy/QuickSearchModule.d.ts +2 -7
  112. package/src/Strategy/ScheduleModule.d.ts +2 -13
  113. package/src/Strategy/ShortcutModule.d.ts +2 -9
  114. package/src/Strategy/StatusBarModule.js +2 -2
  115. package/src/Strategy/SystemStatusModule.d.ts +2 -7
  116. package/src/Strategy/ThemeModule.d.ts +2 -8
  117. package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +2 -1
  118. package/src/Strategy/Utilities/getAlertPreviewViewItems.js +2 -1
  119. package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +2 -1
  120. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +2 -1
  121. package/src/Strategy/Utilities/getExportColumnsViewItems.js +2 -1
  122. package/src/Strategy/Utilities/getExportRowsViewItems.js +2 -1
  123. package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
  124. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +2 -1
  125. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +2 -6
  126. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +2 -1
  127. package/src/Strategy/Utilities/getFlashingTargetViewItems.js +2 -1
  128. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +2 -1
  129. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +2 -1
  130. package/src/Strategy/Utilities/getObjectTagsViewItems.js +2 -1
  131. package/src/Strategy/Utilities/getRuleViewItems.js +2 -1
  132. package/src/Strategy/Utilities/getScopeViewItems.js +2 -1
  133. package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +2 -1
  134. package/src/Strategy/Utilities/getStyleViewItems.js +2 -1
  135. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
  136. package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
  137. package/src/Utilities/Constants/GeneralConstants.js +2 -1
  138. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +21 -13
  139. package/src/Utilities/ExpressionFunctions/dateUtils.js +2 -1
  140. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +20 -10
  141. package/src/Utilities/Extensions/TypeExtensions.d.ts +30 -0
  142. package/src/Utilities/Helpers/AdaptableHelper.d.ts +1 -3
  143. package/src/Utilities/Helpers/AdaptableHelper.js +6 -16
  144. package/src/Utilities/Helpers/DateHelper.d.ts +27 -0
  145. package/src/Utilities/Helpers/DateHelper.js +43 -6
  146. package/src/Utilities/Helpers/Helper.js +2 -1
  147. package/src/Utilities/Helpers/LoggingHelper.js +2 -1
  148. package/src/Utilities/Helpers/StyleHelper.js +8 -4
  149. package/src/Utilities/MenuItem.d.ts +4 -3
  150. package/src/Utilities/MenuItem.js +9 -3
  151. package/src/Utilities/ObjectFactory.js +1 -0
  152. package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -0
  153. package/src/Utilities/Services/Interface/IRowEditService.d.ts +3 -3
  154. package/src/Utilities/Services/MetamodelService.d.ts +7 -1
  155. package/src/Utilities/Services/MetamodelService.js +82 -6
  156. package/src/Utilities/Services/ModuleService.js +3 -1
  157. package/src/Utilities/Services/RowEditService.d.ts +6 -6
  158. package/src/Utilities/Services/RowEditService.js +24 -25
  159. package/src/Utilities/isAdaptableObject.js +2 -1
  160. package/src/Utilities/isMacLike.js +2 -1
  161. package/src/Utilities/license/decode.js +1 -1
  162. package/src/Utilities/reorder.js +2 -1
  163. package/src/Utilities/runIfNotResolvedIn.js +2 -1
  164. package/src/Utilities/waitForCondition.d.ts +1 -1
  165. package/src/Utilities/waitForCondition.js +2 -1
  166. package/src/View/AdaptableContext.js +2 -1
  167. package/src/View/AdaptableView.js +2 -1
  168. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +13 -1
  169. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +13 -10
  170. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +2 -1
  171. package/src/View/AdaptableWizardView/Utils.js +2 -1
  172. package/src/View/AdaptableWizardView/Wizard.js +4 -2
  173. package/src/View/AdaptableWizardView/helper.js +6 -3
  174. package/src/View/Alert/ActiveAlertsPanel.js +2 -1
  175. package/src/View/Alert/AlertEmptyView.js +2 -1
  176. package/src/View/Alert/AlertStatusSubPanel.js +2 -1
  177. package/src/View/Alert/Utilities/getAlertButtonStyle.js +2 -1
  178. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +4 -2
  179. package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +3 -3
  180. package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -1
  181. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -3
  182. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -2
  183. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -1
  184. package/src/View/Alert/Wizard/AlertWizard.js +2 -1
  185. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -1
  186. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +4 -2
  187. package/src/View/Alert/Wizard/isValidAlertRules.js +2 -1
  188. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  189. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +2 -1
  190. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +6 -3
  191. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -3
  192. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -1
  193. package/src/View/CellSummary/CellSummaryPopover.js +2 -1
  194. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +2 -1
  195. package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -1
  196. package/src/View/ColorPicker.d.ts +5 -1
  197. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  198. package/src/View/Components/AdaptableDateInput/index.js +11 -11
  199. package/src/View/Components/AdaptableInput/index.d.ts +2 -2
  200. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -2
  201. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -2
  202. package/src/View/Components/Buttons/ButtonClone.js +2 -1
  203. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  204. package/src/View/Components/Buttons/ButtonEdit.js +2 -1
  205. package/src/View/Components/Buttons/ButtonNew.js +2 -1
  206. package/src/View/Components/ColumnSelector/index.js +2 -1
  207. package/src/View/Components/EntityRulesEditor/index.js +6 -3
  208. package/src/View/Components/ExpressionWizard.js +2 -1
  209. package/src/View/Components/ExternalRenderer.js +2 -1
  210. package/src/View/Components/FilterForm/FilterForm.js +2 -1
  211. package/src/View/Components/FilterForm/ListBoxFilterForm.js +2 -1
  212. package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
  213. package/src/View/Components/FilterForm/QuickFilterForm.js +5 -3
  214. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  215. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +2 -1
  216. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -2
  217. package/src/View/Components/ListBox/DualListBoxEditor.js +2 -1
  218. package/src/View/Components/ModuleValueSelector/index.js +2 -1
  219. package/src/View/Components/NewScopeComponent.js +6 -3
  220. package/src/View/Components/Panels/PanelFooter.js +2 -1
  221. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -429
  222. package/src/View/Components/Panels/PanelWithImage.js +2 -0
  223. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
  224. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +2 -1
  225. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +2 -1
  226. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -1
  227. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +2 -1
  228. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -5
  229. package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +2 -1
  230. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
  231. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +6 -5
  232. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -1
  233. package/src/View/Components/Popups/AdaptablePopupAlert.js +4 -4
  234. package/src/View/Components/Popups/AdaptablePopupPrompt.js +2 -1
  235. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +2 -1
  236. package/src/View/Components/Popups/AdaptableToaster.js +2 -1
  237. package/src/View/Components/Popups/FormPopups/FormPopups.js +4 -2
  238. package/src/View/Components/Popups/Utilities.js +8 -4
  239. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +2 -1
  240. package/src/View/Components/Selectors/ColumnSelector.js +2 -1
  241. package/src/View/Components/TagValueSelector/index.js +4 -2
  242. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
  243. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +5 -1
  244. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -1
  245. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  246. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
  247. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +2 -1
  248. package/src/View/Components/WizardSummaryPage.js +2 -1
  249. package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -1
  250. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +4 -2
  251. package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -1
  252. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +2 -1
  253. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +6 -3
  254. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +6 -3
  255. package/src/View/CustomSort/Wizard/CustomSortWizard.js +2 -1
  256. package/src/View/Dashboard/CustomDashboardButton.js +2 -1
  257. package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
  258. package/src/View/Dashboard/Dashboard.d.ts +1 -1
  259. package/src/View/Dashboard/Dashboard.js +4 -3
  260. package/src/View/Dashboard/DashboardPopup.js +1 -1
  261. package/src/View/Dashboard/ModuleToolbarWrapper.js +2 -1
  262. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +7 -0
  263. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +6 -6
  264. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +2 -1
  265. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +2 -1
  266. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +2 -2
  267. package/src/View/DataChangeHistory/buildActionColumnButton.js +13 -9
  268. package/src/View/DataSet/DataSetSelector.js +2 -1
  269. package/src/View/DataSet/DataSetStatusPanelPopover.js +2 -1
  270. package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
  271. package/src/View/Export/ExportSelector.js +2 -1
  272. package/src/View/Export/ExportViewPanel.d.ts +1 -1
  273. package/src/View/Export/ReportExportDropdown.js +2 -1
  274. package/src/View/Export/Wizard/NewReportWizard.js +4 -2
  275. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +6 -3
  276. package/src/View/Export/Wizard/ReportNameWizardSection.js +6 -3
  277. package/src/View/Export/Wizard/ReportRowsWizardSection.js +6 -3
  278. package/src/View/Filter/ActiveFiltersPanel.js +2 -1
  279. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +2 -1
  280. package/src/View/Filter/FilterSummary.d.ts +1 -1
  281. package/src/View/Filter/FilterViewPanel.d.ts +1 -1
  282. package/src/View/FlashingCell/FlashingCellStyle.js +2 -1
  283. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +4 -2
  284. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +2 -1
  285. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +10 -5
  286. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +6 -3
  287. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -1
  288. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +2 -1
  289. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +8 -4
  290. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +4 -2
  291. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -2
  292. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +4 -2
  293. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +6 -3
  294. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +2 -1
  295. package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -1
  296. package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -1
  297. package/src/View/GridInfo/GridInfoPopup.js +5 -5
  298. package/src/View/KeyHint.js +2 -1
  299. package/src/View/Layout/EditCurrentLayoutButton.js +2 -1
  300. package/src/View/Layout/LayoutCloneButton.js +2 -1
  301. package/src/View/Layout/LayoutEditorStandalonePopup.js +2 -1
  302. package/src/View/Layout/LayoutPopup.d.ts +1 -1
  303. package/src/View/Layout/LayoutRadioSelector.js +2 -1
  304. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +2 -1
  305. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  306. package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.js +2 -1
  307. package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +2 -1
  308. package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +2 -1
  309. package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +2 -1
  310. package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +2 -1
  311. package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -1
  312. package/src/View/Layout/Wizard/LayoutEditor/reducer.js +4 -2
  313. package/src/View/Layout/Wizard/LayoutEditor/utils.js +2 -1
  314. package/src/View/License/LicenseWatermark.js +1 -1
  315. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +2 -1
  316. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +6 -3
  317. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +2 -1
  318. package/src/View/Query/EditCurrentQueryButton.js +2 -1
  319. package/src/View/Query/ExpandedQueryPopup.js +2 -1
  320. package/src/View/Query/QueryViewPanel.d.ts +1 -1
  321. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +6 -3
  322. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +6 -3
  323. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +2 -1
  324. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
  325. package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -1
  326. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -1
  327. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +4 -2
  328. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +2 -1
  329. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +2 -1
  330. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +2 -1
  331. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -1
  332. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +2 -1
  333. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +4 -2
  334. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +2 -1
  335. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +2 -1
  336. package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -1
  337. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +2 -1
  338. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -3
  339. package/src/View/Shortcut/Wizard/ShortcutWizard.js +2 -1
  340. package/src/View/SpecialColumnSettingsWizardStep.js +2 -1
  341. package/src/View/StateManagement/StateManagementPopup.js +2 -1
  342. package/src/View/StateManagement/StateManagementViewPanel.js +2 -1
  343. package/src/View/StateManagement/components/ClearButton.js +2 -1
  344. package/src/View/StateManagement/components/ExportDropdown.js +2 -1
  345. package/src/View/StateManagement/components/LoadButton.js +2 -1
  346. package/src/View/StateManagement/handleExportState.js +2 -1
  347. package/src/View/StatusBar/AdaptableStatusBar.js +2 -1
  348. package/src/View/StatusBar/StatusBarPanel.js +2 -1
  349. package/src/View/StatusBar/StatusBarPopup.js +5 -4
  350. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -1
  351. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  352. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +2 -1
  353. package/src/View/Theme/ThemeStatusPanelPopover.js +2 -1
  354. package/src/View/UIHelper.d.ts +2 -0
  355. package/src/View/UIHelper.js +12 -11
  356. package/src/View/Wizard/AdaptableWizard.js +2 -1
  357. package/src/View/Wizard/ObjectTagsWizardSection.js +4 -2
  358. package/src/View/Wizard/OnePageAdaptableWizard.js +10 -5
  359. package/src/View/Wizard/OnePageWizards.js +8 -4
  360. package/src/View/Wizard/useKeyboardNavigation.js +2 -1
  361. package/src/View/renderWithAdaptableContext.js +2 -1
  362. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  363. package/src/agGrid/ActionColumnRenderer.js +1 -1
  364. package/src/agGrid/Adaptable.js +31 -28
  365. package/src/agGrid/CheckboxRenderer.js +2 -1
  366. package/src/agGrid/FilterWrapper.js +2 -1
  367. package/src/agGrid/FloatingFilterWrapper.js +2 -1
  368. package/src/agGrid/PercentBarRenderer.js +2 -1
  369. package/src/agGrid/agGridHelper.js +3 -1
  370. package/src/agGrid/agGridMenuHelper.js +13 -10
  371. package/src/agGrid/createAgStatusPanelComponent.js +2 -1
  372. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +8 -5
  373. package/src/components/AdaptableIconComponent/index.d.ts +10 -0
  374. package/src/components/AdaptableIconComponent/index.js +40 -0
  375. package/src/components/CheckBox/index.js +2 -1
  376. package/src/components/CodeBlock/index.js +2 -1
  377. package/src/components/Dashboard/DashboardManager.js +1 -1
  378. package/src/components/Datepicker/Caption.js +1 -1
  379. package/src/components/Datepicker/DatepickerContext.js +2 -1
  380. package/src/components/Datepicker/index.d.ts +1 -1
  381. package/src/components/DragAndDropContext/ModuleManager.d.ts +1 -0
  382. package/src/components/DragAndDropContext/ModuleManager.js +5 -4
  383. package/src/components/DragAndDropContext/UnusedPanel.d.ts +3 -2
  384. package/src/components/DragAndDropContext/UnusedPanel.js +14 -12
  385. package/src/components/EllipsisContainer/index.js +4 -2
  386. package/src/components/ExpressionEditor/EditorContext.js +2 -1
  387. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +2 -1
  388. package/src/components/ExpressionEditor/NamedQueryContext.js +3 -1
  389. package/src/components/FileDroppable/index.js +2 -1
  390. package/src/components/FormLayout/index.js +2 -1
  391. package/src/components/Input/index.d.ts +1 -1
  392. package/src/components/List/ListGroupItem/index.d.ts +2 -4
  393. package/src/components/Loader/Loader.js +4 -2
  394. package/src/components/Logo/index.js +2 -1
  395. package/src/components/Modal/Backdrop.js +2 -1
  396. package/src/components/Modal/index.js +2 -1
  397. package/src/components/OverlayTrigger/Overlay.js +2 -1
  398. package/src/components/OverlayTrigger/index.js +2 -1
  399. package/src/components/OverlayTrigger/utils.js +6 -3
  400. package/src/components/PopupWithFooter.d.ts +1 -1
  401. package/src/components/ProgressIndicator/ProgressIndicator.js +2 -1
  402. package/src/components/Radio/index.js +4 -2
  403. package/src/components/ResizeObserver/getResizeObserverObject.js +2 -1
  404. package/src/components/ResizeObserver/index.js +6 -3
  405. package/src/components/SelectList.js +2 -1
  406. package/src/components/SelectableList/index.js +2 -1
  407. package/src/components/SimpleButton/index.d.ts +2 -1
  408. package/src/components/SimpleButton/index.js +19 -6
  409. package/src/components/StylePreview.js +2 -1
  410. package/src/components/Tabs/index.js +6 -3
  411. package/src/components/Textarea/index.d.ts +5 -1
  412. package/src/components/ToggleButton/index.js +2 -1
  413. package/src/components/WindowModal/WindowModal.js +2 -1
  414. package/src/components/WindowModal/useStacking.js +2 -1
  415. package/src/components/icons/DefaultIcon.js +2 -1
  416. package/src/components/icons/index.d.ts +3 -1
  417. package/src/components/icons/index.js +10 -2
  418. package/src/components/utils/useContainerScrollObserver/index.js +2 -1
  419. package/src/components/utils/useGlobalEvent.js +2 -1
  420. package/src/components/utils/useLatest.js +2 -1
  421. package/src/components/utils/useRerender.js +2 -1
  422. package/src/components/utils/uuid.js +2 -1
  423. package/src/metamodel/adaptable-metamodel-model.d.ts +1 -1
  424. package/src/metamodel/adaptable.metamodel.d.ts +211 -101
  425. package/src/metamodel/adaptable.metamodel.js +1 -12874
  426. package/src/types.d.ts +7 -5
  427. package/version.d.ts +1 -1
  428. package/version.js +1 -1
  429. package/src/Api/Events/RowFormSubmitted.d.ts +0 -19
  430. package/src/components/ApplicationIcon.d.ts +0 -6
  431. package/src/components/ApplicationIcon.js +0 -13
@@ -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;
@@ -12,7 +12,7 @@ const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/Obje
12
12
  const FreeTextColumnRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/FreeTextColumnRedux"));
13
13
  const react_redux_1 = require("react-redux");
14
14
  const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
15
- exports.FreeTextColumnWizard = (props) => {
15
+ const FreeTextColumnWizard = (props) => {
16
16
  var _a;
17
17
  const allFreeTextColumns = react_redux_1.useSelector((state) => state.FreeTextColumn.FreeTextColumns);
18
18
  const [freeTextColumn, setFreeTextColumn] = react_1.useState(() => {
@@ -66,3 +66,4 @@ exports.FreeTextColumnWizard = (props) => {
66
66
  },
67
67
  ] }));
68
68
  };
69
+ exports.FreeTextColumnWizard = FreeTextColumnWizard;
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
6
6
  const react_redux_1 = require("react-redux");
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
8
  const AdaptableObjectList_1 = require("../Components/AdaptableObjectList");
9
- exports.AdaptableObjectsSummary = () => {
9
+ const AdaptableObjectsSummary = () => {
10
10
  const state = react_redux_1.useSelector((state) => state);
11
11
  const adaptable = AdaptableContext_1.useAdaptable();
12
12
  const modules = adaptable.ModuleService.getModuleCollection();
@@ -24,3 +24,4 @@ exports.AdaptableObjectsSummary = () => {
24
24
  (items === null || items === void 0 ? void 0 : items.length) && React.createElement(AdaptableObjectList_1.AdaptableObjectList, { items: items, module: module })));
25
25
  })));
26
26
  };
27
+ exports.AdaptableObjectsSummary = AdaptableObjectsSummary;
@@ -11,7 +11,7 @@ const AdaptableObjectCollection_1 = require("../Components/AdaptableObjectCollec
11
11
  const AdaptableObjectRow_1 = require("../Components/AdaptableObjectRow");
12
12
  const AdaptablePopover_1 = require("../AdaptablePopover");
13
13
  const rebass_1 = require("rebass");
14
- exports.AdaptableOptionsComponent = (props) => {
14
+ const AdaptableOptionsComponent = (props) => {
15
15
  const { api } = props;
16
16
  const getAdaptableOptionsColItems = () => [
17
17
  { Content: 'Property', Size: 5 },
@@ -84,6 +84,7 @@ exports.AdaptableOptionsComponent = (props) => {
84
84
  return (React.createElement(rebass_1.Box, { className: "ab-AdaptableOptions", padding: 2, "data-name": "gridInfo-adaptableOptions-content" }, gridInfoOptions &&
85
85
  Array.from(gridInfoOptions.entries()).map(([containerName, container]) => (React.createElement(OptionContainerComponent, { key: containerName, name: containerName, label: container.containerLabel, viewMode: containerName === expandedComponentContainer ? 'expanded' : 'collapsed', onViewModeChange: (newViewMode) => setExpandedComponentContainer(newViewMode === 'expanded' ? containerName : '') }, gridInfoContainerComponents.get(containerName))))));
86
86
  };
87
+ exports.AdaptableOptionsComponent = AdaptableOptionsComponent;
87
88
  const OptionContainerComponent = (props) => {
88
89
  const { viewMode, name, label, onViewModeChange, children } = props;
89
90
  const requestViewModeChange = () => {
@@ -15,7 +15,7 @@ const version_1 = tslib_1.__importDefault(require("../../../version"));
15
15
  const ColumnInfoComponent_1 = require("./ColumnInfoComponent");
16
16
  const AdaptableOptionsComponent_1 = require("./AdaptableOptionsComponent");
17
17
  const AdaptableObjectsSummary_1 = require("./AdaptableObjectsSummary");
18
- exports.GridInfoPopup = (props) => {
18
+ const GridInfoPopup = (props) => {
19
19
  var _a, _b, _c;
20
20
  const entitlementService = props.api.internalApi.getEntitlementService();
21
21
  const showGridSummary = entitlementService.isGridInfoSectionVisible('GridSummary');
@@ -27,7 +27,8 @@ exports.GridInfoPopup = (props) => {
27
27
  */
28
28
  const showAdaptableObjects = true;
29
29
  const [state, setState] = React.useState({
30
- ActiveTab: ((_a = props.popupParams) === null || _a === void 0 ? void 0 : _a.column) ? 'ColumnInfo'
30
+ ActiveTab: ((_a = props.popupParams) === null || _a === void 0 ? void 0 : _a.column)
31
+ ? 'ColumnInfo'
31
32
  : showGridSummary
32
33
  ? 'GridSummary'
33
34
  : showAdaptableOptions
@@ -51,9 +52,7 @@ exports.GridInfoPopup = (props) => {
51
52
  const calcColumns = props.api.calculatedColumnApi
52
53
  .getAllCalculatedColumn()
53
54
  .map((c) => c.ColumnId);
54
- const actionColumns = props.api.userInterfaceApi
55
- .getAllActionColumn()
56
- .map((c) => c.columnId);
55
+ const actionColumns = props.api.actionApi.getAllActionColumn().map((c) => c.columnId);
57
56
  const freeTextColumns = props.api.freeTextColumnApi
58
57
  .getAllFreeTextColumn()
59
58
  .map((c) => c.ColumnId);
@@ -114,3 +113,4 @@ exports.GridInfoPopup = (props) => {
114
113
  React.createElement(ColumnInfoComponent_1.ColumnInfoComponent, { api: props.api, teamSharingActivated: props.teamSharingActivated, column: state.CurrentColumn }))),
115
114
  state.ActiveTab === 'AdaptableObjectsSummary' && React.createElement(AdaptableObjectsSummary_1.AdaptableObjectsSummary, null)));
116
115
  };
116
+ exports.GridInfoPopup = GridInfoPopup;
@@ -4,6 +4,7 @@ exports.KeyHint = 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
- exports.KeyHint = (props) => {
7
+ const KeyHint = (props) => {
8
8
  return React.createElement(rebass_1.Text, Object.assign({ fontSize: 1, color: "inputcolor" }, props));
9
9
  };
10
+ exports.KeyHint = KeyHint;
@@ -5,10 +5,11 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
- exports.EditCurrentLayoutButton = () => {
8
+ const EditCurrentLayoutButton = () => {
9
9
  const adaptable = AdaptableContext_1.useAdaptable();
10
10
  const handleClick = React.useCallback(() => {
11
11
  adaptable.api.layoutApi.showLayoutEditor();
12
12
  }, []);
13
13
  return React.createElement(SimpleButton_1.default, { ml: 1, variant: "text", iconSize: 15, icon: "edit", onClick: handleClick });
14
14
  };
15
+ exports.EditCurrentLayoutButton = EditCurrentLayoutButton;
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
- exports.LayoutCloneButton = ({ data, accessLevel }) => {
8
+ const LayoutCloneButton = ({ data, accessLevel }) => {
9
9
  const adaptable = AdaptableContext_1.useAdaptable();
10
10
  const isDisabled = accessLevel === 'ReadOnly';
11
11
  const handleClick = React.useCallback(() => {
@@ -13,3 +13,4 @@ exports.LayoutCloneButton = ({ data, accessLevel }) => {
13
13
  }, []);
14
14
  return React.createElement(SimpleButton_1.default, { onClick: handleClick, disabled: isDisabled, variant: "text", icon: "clone" });
15
15
  };
16
+ exports.LayoutCloneButton = LayoutCloneButton;
@@ -12,7 +12,7 @@ const PanelFooter_1 = require("../Components/Panels/PanelFooter");
12
12
  const LayoutEditorWizard_1 = require("./Wizard/LayoutEditorWizard");
13
13
  const LayoutRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/LayoutRedux"));
14
14
  const rebass_1 = require("rebass");
15
- exports.LayoutEditorStandalonePopup = (props) => {
15
+ const LayoutEditorStandalonePopup = (props) => {
16
16
  /**
17
17
  * This is here because the old code mutates the object.
18
18
  * And we need a way to trigger an update/render.
@@ -73,3 +73,4 @@ exports.LayoutEditorStandalonePopup = (props) => {
73
73
  React.createElement(LayoutEditorWizard_1.LayoutEditorWizard, { data: layoutData, api: adaptable.api, Layouts: layouts, moduleInfo: layoutModule.moduleInfo, onLayoutChange: setStateLayout, updateGoBackState: () => null }),
74
74
  React.createElement(PanelFooter_1.PanelFooter, { acceptDisabled: finishDisabled, onAccept: handleAccept, onCancel: handleCancel })));
75
75
  };
76
+ exports.LayoutEditorStandalonePopup = LayoutEditorStandalonePopup;
@@ -28,5 +28,5 @@ declare class LayoutPopupComponent extends React.Component<LayoutPopupProps, Edi
28
28
  canFinishWizard(): boolean;
29
29
  private getCurrentLayout;
30
30
  }
31
- export declare let LayoutPopup: import("react-redux").ConnectedComponent<typeof LayoutPopupComponent, Pick<React.ClassAttributes<LayoutPopupComponent> & LayoutPopupProps, never>>;
31
+ export declare let LayoutPopup: import("react-redux").ConnectedComponent<typeof LayoutPopupComponent, import("react-redux").Omit<React.ClassAttributes<LayoutPopupComponent> & LayoutPopupProps, "ref" | "key" | "api" | "onSuspend" | "accessLevel" | "popupParams" | "onClearPopupParams" | "teamSharingActivated" | "onClosePopup" | "moduleInfo" | "onUnSuspend" | "modalContainer" | "onShare" | "Layouts" | "onSelectLayout" | "onSaveLayout" | "CurrentLayoutName" | "CurrentLayoutDraft" | "onAddLayout">>;
32
32
  export {};
@@ -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.LayoutRadioSelector = ({ data }) => {
8
+ const LayoutRadioSelector = ({ data }) => {
9
9
  const adaptable = AdaptableContext_1.useAdaptable();
10
10
  const currentLayout = adaptable.api.layoutApi.getCurrentLayout();
11
11
  const layouts = adaptable.api.layoutApi.getAllLayout();
@@ -16,3 +16,4 @@ exports.LayoutRadioSelector = ({ 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.LayoutRadioSelector = LayoutRadioSelector;
@@ -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.LayoutStatusBarSubPanelPopover = () => {
8
+ const LayoutStatusBarSubPanelPopover = () => {
9
9
  const adaptable = AdaptableContext_1.useAdaptable();
10
10
  const layouts = adaptable.api.layoutApi.getAllLayout();
11
11
  const options = layouts.map((layout) => ({ label: layout.Name, value: layout.Uuid }));
@@ -14,3 +14,4 @@ exports.LayoutStatusBarSubPanelPopover = () => {
14
14
  };
15
15
  return React.createElement(SelectList_1.SelectList, { options: options, onChange: handleChange });
16
16
  };
17
+ exports.LayoutStatusBarSubPanelPopover = LayoutStatusBarSubPanelPopover;
@@ -15,5 +15,5 @@ declare class LayoutViewPanelComponent extends React.Component<LayoutViewPanelCo
15
15
  render(): any;
16
16
  private onSaveLayout;
17
17
  }
18
- export declare let LayoutViewPanelControl: import("react-redux").ConnectedComponent<typeof LayoutViewPanelComponent, Pick<React.ClassAttributes<LayoutViewPanelComponent> & LayoutViewPanelComponentProps, "ref" | "key"> & LayoutViewPanelComponentProps>;
18
+ export declare let LayoutViewPanelControl: import("react-redux").ConnectedComponent<typeof LayoutViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<LayoutViewPanelComponent> & LayoutViewPanelComponentProps, "api" | "accessLevel" | "moduleInfo" | "viewType" | "Layouts" | "onSelectLayout" | "onSaveLayout" | "CurrentDraftLayout" | "CanSave" | "CurrentLayoutName"> & LayoutViewPanelComponentProps>;
19
19
  export {};
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const rebass_1 = require("rebass");
7
7
  const AdaptableContext_1 = require("../../../AdaptableContext");
8
- exports.ColumnLabels = (props) => {
8
+ const ColumnLabels = (props) => {
9
9
  const { children, showBoth, showTitle, flexDirection = 'row', labels: labelsProp } = props, columnProperties = tslib_1.__rest(props, ["children", "showBoth", "showTitle", "flexDirection", "labels"]);
10
10
  const labelNames = [
11
11
  'Aggregatable',
@@ -54,3 +54,4 @@ exports.ColumnLabels = (props) => {
54
54
  }),
55
55
  children));
56
56
  };
57
+ exports.ColumnLabels = ColumnLabels;
@@ -12,7 +12,7 @@ const utils_1 = require("./utils");
12
12
  const rebass_1 = require("rebass");
13
13
  const AdaptableFormControlTextClear_1 = require("../../../Components/Forms/AdaptableFormControlTextClear");
14
14
  const reorder_1 = require("../../../../Utilities/reorder");
15
- exports.ColumnList = (props) => {
15
+ const ColumnList = (props) => {
16
16
  const [columns, setColumns] = react_2.useState(props.columns);
17
17
  const [search, setSearch] = react_2.useState('');
18
18
  const onDragEnd = React.useCallback((result) => {
@@ -83,3 +83,4 @@ exports.ColumnList = (props) => {
83
83
  provided.placeholder));
84
84
  }));
85
85
  };
86
+ exports.ColumnList = ColumnList;
@@ -9,7 +9,7 @@ const HelpBlock_1 = tslib_1.__importDefault(require("../../../../components/Help
9
9
  const droppableIds_1 = require("./droppableIds");
10
10
  const utils_1 = require("./utils");
11
11
  const reorder_1 = require("../../../../Utilities/reorder");
12
- exports.ColumnSortList = (props) => {
12
+ const ColumnSortList = (props) => {
13
13
  const columnSorts = props.columnSorts || [];
14
14
  const setColumnSorts = (columnSorts) => {
15
15
  props.onColumnSortsChange(columnSorts);
@@ -86,3 +86,4 @@ exports.ColumnSortList = (props) => {
86
86
  }),
87
87
  provided.placeholder))));
88
88
  };
89
+ exports.ColumnSortList = ColumnSortList;
@@ -9,7 +9,7 @@ const HelpBlock_1 = tslib_1.__importDefault(require("../../../../components/Help
9
9
  const droppableIds_1 = require("./droppableIds");
10
10
  const utils_1 = require("./utils");
11
11
  const reorder_1 = require("../../../../Utilities/reorder");
12
- exports.PivotList = (props) => {
12
+ const PivotList = (props) => {
13
13
  const pivotColumns = props.pivotColumns || [];
14
14
  const setPivotColumns = (pivotColumns) => {
15
15
  props.onPivotColumnsChange(pivotColumns);
@@ -67,3 +67,4 @@ exports.PivotList = (props) => {
67
67
  }),
68
68
  provided.placeholder))));
69
69
  };
70
+ exports.PivotList = PivotList;
@@ -9,7 +9,7 @@ const HelpBlock_1 = tslib_1.__importDefault(require("../../../../components/Help
9
9
  const droppableIds_1 = require("./droppableIds");
10
10
  const utils_1 = require("./utils");
11
11
  const reorder_1 = require("../../../../Utilities/reorder");
12
- exports.RowGroupsList = (props) => {
12
+ const RowGroupsList = (props) => {
13
13
  const rowGroups = props.rowGroups || [];
14
14
  const setRowGroups = (rowGroups) => {
15
15
  props.onRowGroupsChange(rowGroups);
@@ -67,3 +67,4 @@ exports.RowGroupsList = (props) => {
67
67
  }),
68
68
  provided.placeholder))));
69
69
  };
70
+ exports.RowGroupsList = RowGroupsList;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getItemStyle = void 0;
4
4
  const droppableIds_1 = require("./droppableIds");
5
- exports.getItemStyle = (column, layout, dragSource, snapshot, draggableStyle) => {
5
+ const getItemStyle = (column, layout, dragSource, snapshot, draggableStyle) => {
6
6
  const { isDragging, draggingOver } = snapshot;
7
7
  const result = Object.assign({ userSelect: 'none', background: isDragging ? 'var(--ab-color-secondarylight)' : '', color: isDragging ? 'var(--ab-color-text-on-secondarylight)' : '', opacity: 1 }, draggableStyle);
8
8
  if (isDragging) {
@@ -23,3 +23,4 @@ exports.getItemStyle = (column, layout, dragSource, snapshot, draggableStyle) =>
23
23
  }
24
24
  return result;
25
25
  };
26
+ exports.getItemStyle = getItemStyle;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LayoutEditorActions = exports.reducer = exports.getInitialState = void 0;
4
4
  const droppableIds_1 = require("./droppableIds");
5
- exports.getInitialState = (layout) => {
5
+ const getInitialState = (layout) => {
6
6
  return {
7
7
  dropDisabledOnColumns: false,
8
8
  dropDisabledOnSort: false,
@@ -12,7 +12,8 @@ exports.getInitialState = (layout) => {
12
12
  layout,
13
13
  };
14
14
  };
15
- exports.reducer = (state, action) => {
15
+ exports.getInitialState = getInitialState;
16
+ const reducer = (state, action) => {
16
17
  if (action.type === LayoutEditorActions.SET_DRAG_SOURCE) {
17
18
  return Object.assign(Object.assign({}, state), { dragSource: action.payload });
18
19
  }
@@ -33,6 +34,7 @@ exports.reducer = (state, action) => {
33
34
  }
34
35
  return state;
35
36
  };
37
+ exports.reducer = reducer;
36
38
  var LayoutEditorActions;
37
39
  (function (LayoutEditorActions) {
38
40
  LayoutEditorActions["SET_LAYOUT"] = "SET_LAYOUT";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getListStyle = void 0;
4
- exports.getListStyle = (droppableSnapshot) => {
4
+ const getListStyle = (droppableSnapshot) => {
5
5
  const style = {
6
6
  width: '100%',
7
7
  height: '100%',
@@ -11,3 +11,4 @@ exports.getListStyle = (droppableSnapshot) => {
11
11
  }
12
12
  return style;
13
13
  };
14
+ exports.getListStyle = getListStyle;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LicenseWatermark=void 0;const e=require("tslib"),t=e.__importStar(require("react")),r=require("../../components/Logo"),o=require("rebass"),n={border:"1px solid var(--ab-color-error)",padding:"5px",fontWeight:600,margin:"5px",fontSize:"14px",alignItems:"center",color:"var(--ab-color-text-on-defaultbackground)",background:"var(--ab-color-defaultbackground)"},i=e=>{const t=[["display","none"],["opacity","0"],["position","absolute"],["position","fixed"],["position","relative"],["visibility","hidden"]];for(const[r,o]of t)if(e.style[r]===o)return!1;return!0};exports.LicenseWatermark=e=>{const l=t.useRef(null);return t.useEffect((()=>{const e=setInterval((()=>{var e,t;(null===(e=l.current)||void 0===e?void 0:e.isConnected)||alert("It is not allowed to remove the Adaptable watermark."),i(l.current)||alert("It is not allowed to modify the Adaptable watermark."),(null===(t=null==l?void 0:l.current)||void 0===t?void 0:t.style)&&(l.current.style.border=n.border,l.current.style.padding=n.padding,l.current.style.fontWeight=`${n.fontWeight}`,l.current.style.margin=n.margin,l.current.style.fontSize=n.fontSize,l.current.style.color=n.color,l.current.style.background=n.background,l.current.style.display="flex",l.current.style.position="static",l.current.style.opacity="1",l.current.style.visibility="visible")}),5e3);return()=>clearTimeout(e)}),[]),t.createElement(o.Flex,{style:n,ref:l},t.createElement(r.Logo,{style:{marginRight:10}}),t.createElement("div",null,e.children))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LicenseWatermark=void 0;const e=require("tslib"),t=e.__importStar(require("react")),r=require("../../components/Logo"),o=require("rebass"),n={border:"1px solid var(--ab-color-error)",padding:"5px",fontWeight:600,margin:"5px",fontSize:"14px",alignItems:"center",color:"var(--ab-color-text-on-defaultbackground)",background:"var(--ab-color-defaultbackground)"},i=e=>{const t=[["display","none"],["opacity","0"],["position","absolute"],["position","fixed"],["position","relative"],["visibility","hidden"]];for(const[r,o]of t)if(e.style[r]===o)return!1;return!0},l=e=>{const l=t.useRef(null);return t.useEffect((()=>{const e=setInterval((()=>{var e,t;(null===(e=l.current)||void 0===e?void 0:e.isConnected)||alert("It is not allowed to remove the Adaptable watermark."),i(l.current)||alert("It is not allowed to modify the Adaptable watermark."),(null===(t=null==l?void 0:l.current)||void 0===t?void 0:t.style)&&(l.current.style.border=n.border,l.current.style.padding=n.padding,l.current.style.fontWeight=`${n.fontWeight}`,l.current.style.margin=n.margin,l.current.style.fontSize=n.fontSize,l.current.style.color=n.color,l.current.style.background=n.background,l.current.style.display="flex",l.current.style.position="static",l.current.style.opacity="1",l.current.style.visibility="visible")}),5e3);return()=>clearTimeout(e)}),[]),t.createElement(o.Flex,{style:n,ref:l},t.createElement(r.Logo,{style:{marginRight:10}}),t.createElement("div",null,e.children))};exports.LicenseWatermark=l;
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
7
7
  const NewScopeComponent_1 = require("../../Components/NewScopeComponent");
8
- exports.PlusMinusScopeWizardSection = (props) => {
8
+ const PlusMinusScopeWizardSection = (props) => {
9
9
  const { data, api } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
10
10
  const availableColumns = React.useMemo(() => api.columnApi.getNumericColumns(), []);
11
11
  return (React.createElement(NewScopeComponent_1.NewScopeComponent, { availableDataTypes: ['Number'], scopeColumns: availableColumns, scope: data.Scope, descriptions: {
@@ -20,3 +20,4 @@ exports.PlusMinusScopeWizardSection = (props) => {
20
20
  props.onChange(Object.assign(Object.assign({}, data), { Scope: preparedScope }));
21
21
  } }));
22
22
  };
23
+ exports.PlusMinusScopeWizardSection = PlusMinusScopeWizardSection;
@@ -13,7 +13,7 @@ const PlusMinusRuleWizardSection_1 = require("./PlusMinusRuleWizardSection");
13
13
  const EntityRulesEditor_1 = require("../../Components/EntityRulesEditor");
14
14
  const OnePageAdaptableWizard_2 = require("../../../View/Wizard/OnePageAdaptableWizard");
15
15
  const Tag_1 = require("../../../components/Tag");
16
- exports.PlusMinusSettingsSummary = (props) => {
16
+ const PlusMinusSettingsSummary = (props) => {
17
17
  var _a;
18
18
  const { data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
19
19
  return (React.createElement(React.Fragment, null,
@@ -22,7 +22,8 @@ exports.PlusMinusSettingsSummary = (props) => {
22
22
  React.createElement(Tag_1.Tag, null, (_a = data.NudgeValue) !== null && _a !== void 0 ? _a : 'Not selected')),
23
23
  props.hasCondition && React.createElement(PlusMinusRuleWizardSection_1.PlusMinusRuleSummary, null)));
24
24
  };
25
- exports.isSettingsValid = (hasCondition) => (data, api, context) => {
25
+ exports.PlusMinusSettingsSummary = PlusMinusSettingsSummary;
26
+ const isSettingsValid = (hasCondition) => (data, api, context) => {
26
27
  const ruleValidation = hasCondition ? EntityRulesEditor_1.isRuleValid(data, api, context) : true;
27
28
  if (typeof ruleValidation === 'string') {
28
29
  return ruleValidation;
@@ -35,7 +36,8 @@ exports.isSettingsValid = (hasCondition) => (data, api, context) => {
35
36
  }
36
37
  return true;
37
38
  };
38
- exports.PlusMinusSettingsWizardSection = (props) => {
39
+ exports.isSettingsValid = isSettingsValid;
40
+ const PlusMinusSettingsWizardSection = (props) => {
39
41
  var _a;
40
42
  const { data } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
41
43
  const handleNudgeValueChange = (event) => {
@@ -55,3 +57,4 @@ exports.PlusMinusSettingsWizardSection = (props) => {
55
57
  React.createElement(Radio_1.default, { marginLeft: 3, value: "Expression", checked: props.hasCondition, onChange: () => props.onConditionChange(true) }, "Create a Rule")))))),
56
58
  props.hasCondition && (React.createElement(PlusMinusRuleWizardSection_1.PlusMinusRuleWizardSection, { defaultPredicateId: "NonBlanks", onChange: props.onChange }))));
57
59
  };
60
+ exports.PlusMinusSettingsWizardSection = PlusMinusSettingsWizardSection;
@@ -12,7 +12,7 @@ const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/Obje
12
12
  const react_redux_1 = require("react-redux");
13
13
  const PlusMinusRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/PlusMinusRedux"));
14
14
  const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
15
- exports.PlusMinusWizard = (props) => {
15
+ const PlusMinusWizard = (props) => {
16
16
  const [plusMinus, setPlusMinus] = React.useState(() => {
17
17
  var _a, _b, _c, _d, _e;
18
18
  const newPlusMinus = Object.assign(Object.assign({}, (props.data ? props.data : ObjectFactory_1.default.CreateEmptyPlusMinusNudge())), { Scope: (_b = (_a = props === null || props === void 0 ? void 0 : props.data) === null || _a === void 0 ? void 0 : _a.Scope) !== null && _b !== void 0 ? _b : { All: true }, NudgeValue: (_d = (_c = props === null || props === void 0 ? void 0 : props.data) === null || _c === void 0 ? void 0 : _c.NudgeValue) !== null && _d !== void 0 ? _d : 20 });
@@ -86,3 +86,4 @@ exports.PlusMinusWizard = (props) => {
86
86
  },
87
87
  ] }));
88
88
  };
89
+ exports.PlusMinusWizard = PlusMinusWizard;
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const SimpleButton_1 = tslib_1.__importDefault(require("../../components/SimpleButton"));
7
7
  const AdaptableContext_1 = require("../AdaptableContext");
8
- exports.EditCurrentQueryButton = () => {
8
+ const EditCurrentQueryButton = () => {
9
9
  const adaptable = AdaptableContext_1.useAdaptable();
10
10
  const handleClick = React.useCallback((event) => {
11
11
  event.stopPropagation();
@@ -13,3 +13,4 @@ exports.EditCurrentQueryButton = () => {
13
13
  }, []);
14
14
  return React.createElement(SimpleButton_1.default, { variant: "text", iconSize: 15, onClick: handleClick, icon: "edit" });
15
15
  };
16
+ exports.EditCurrentQueryButton = EditCurrentQueryButton;
@@ -11,7 +11,7 @@ const QueryRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/Que
11
11
  const StringExtensions_1 = require("../../Utilities/Extensions/StringExtensions");
12
12
  const NamedQueryContext_1 = require("../../components/ExpressionEditor/NamedQueryContext");
13
13
  const ModuleConstants_1 = require("../../Utilities/Constants/ModuleConstants");
14
- exports.ExpandedQueryPopup = (props) => {
14
+ const ExpandedQueryPopup = (props) => {
15
15
  const dispatch = react_redux_1.useDispatch();
16
16
  const [namedQuery, setNamedQuery] = React.useState(null);
17
17
  const [expression, setExpression] = React.useState(props.popupProps.value);
@@ -53,3 +53,4 @@ exports.ExpandedQueryPopup = (props) => {
53
53
  props.onDismiss();
54
54
  }, disabled: !isExpressionValid || StringExtensions_1.IsNullOrEmpty(expression) || hasNamedQueryError }, "Run Query")))));
55
55
  };
56
+ exports.ExpandedQueryPopup = ExpandedQueryPopup;
@@ -26,5 +26,5 @@ declare class QueryViewPanelComponent extends React.Component<QueryViewPanelComp
26
26
  onSelectedSearchChanged(searchName: string): void;
27
27
  runQuery(expression?: string): void;
28
28
  }
29
- export declare let QueryViewPanelControl: import("react-redux").ConnectedComponent<typeof QueryViewPanelComponent, Pick<React.ClassAttributes<QueryViewPanelComponent> & QueryViewPanelComponentProps, "ref" | "key">>;
29
+ export declare let QueryViewPanelControl: import("react-redux").ConnectedComponent<typeof QueryViewPanelComponent, import("react-redux").Omit<React.ClassAttributes<QueryViewPanelComponent> & QueryViewPanelComponentProps, "api" | "accessLevel" | "CurrentQuery" | "CachedQueries" | "moduleInfo" | "NamedQueries" | "viewType" | "onAddCachedQuery" | "onRunQuery" | "onShowNamedQueries">>;
30
30
  export {};
@@ -10,7 +10,7 @@ const AdaptableContext_1 = require("../../AdaptableContext");
10
10
  const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
11
11
  const ModuleConstants_1 = require("../../../Utilities/Constants/ModuleConstants");
12
12
  const Tag_1 = require("../../../components/Tag");
13
- exports.isValidNamedQueryExpression = (data, api) => {
13
+ const isValidNamedQueryExpression = (data, api) => {
14
14
  if (!data.BooleanExpression) {
15
15
  return 'Expression is empty';
16
16
  }
@@ -20,12 +20,14 @@ exports.isValidNamedQueryExpression = (data, api) => {
20
20
  }
21
21
  return valid;
22
22
  };
23
- exports.renderNamedQueryExpressionSummary = (data) => {
23
+ exports.isValidNamedQueryExpression = isValidNamedQueryExpression;
24
+ const renderNamedQueryExpressionSummary = (data) => {
24
25
  return (React.createElement(rebass_1.Text, { fontSize: 2 },
25
26
  "Expression: ",
26
27
  React.createElement(Tag_1.Tag, null, data.BooleanExpression)));
27
28
  };
28
- exports.NamedQueryExpressionWizardSection = (props) => {
29
+ exports.renderNamedQueryExpressionSummary = renderNamedQueryExpressionSummary;
30
+ const NamedQueryExpressionWizardSection = (props) => {
29
31
  const { api } = AdaptableContext_1.useAdaptable();
30
32
  const { data, moduleInfo } = OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext();
31
33
  const initialData = react_1.useMemo(() => api.internalApi.getQueryPreviewData(), []);
@@ -33,3 +35,4 @@ exports.NamedQueryExpressionWizardSection = (props) => {
33
35
  props.onChange(Object.assign(Object.assign({}, data), { BooleanExpression }));
34
36
  }, initialData: initialData, columns: api.columnApi.getQueryableColumns(), namedQueries: api.queryApi.getAllNamedQuery(), api: api }));
35
37
  };
38
+ exports.NamedQueryExpressionWizardSection = NamedQueryExpressionWizardSection;